* Does emacs 22.2 support compiled as 64bit?
@ 2008-04-20 11:34 William Xu
0 siblings, 0 replies; 16+ messages in thread
From: William Xu @ 2008-04-20 11:34 UTC (permalink / raw)
To: help-gnu-emacs
I configured it with "CC='gcc -m64' ./configure --prefix=$HOME
--with-carbon --without-x", compilation failed with lots of errors.
It's Mac OS X 10.5.2 here, with i686-apple-darwin9-gcc-4.0.1.
--
William
http://williamxu.net9.org
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
[not found] <mailman.10604.1208691319.18990.help-gnu-emacs@gnu.org>
@ 2008-04-20 14:14 ` David Kastrup
2008-04-20 15:04 ` William Xu
0 siblings, 1 reply; 16+ messages in thread
From: David Kastrup @ 2008-04-20 14:14 UTC (permalink / raw)
To: help-gnu-emacs
William Xu <william.xwl@gmail.com> writes:
> I configured it with "CC='gcc -m64' ./configure --prefix=$HOME
> --with-carbon --without-x", compilation failed with lots of errors.
>
> It's Mac OS X 10.5.2 here, with i686-apple-darwin9-gcc-4.0.1.
Maybe missing quotes? --prefix="$HOME" rather? Does MacOS actually
set $HOME? What is its value?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-20 14:14 ` Does emacs 22.2 support compiled as 64bit? David Kastrup
@ 2008-04-20 15:04 ` William Xu
2008-04-20 15:33 ` Peter Dyballa
0 siblings, 1 reply; 16+ messages in thread
From: William Xu @ 2008-04-20 15:04 UTC (permalink / raw)
To: help-gnu-emacs
David Kastrup <dak@gnu.org> writes:
> Maybe missing quotes? --prefix="$HOME" rather? Does MacOS actually set
> $HOME? What is its value?
No, I can build it successfully without "CC='gcc -m64'" option. $HOME
is same as in Linux.
I also attached the error here:
gcc -m64 -I/sw/include -L/sw/lib -c -fpascal-strings -DMAC_OSX -Demacs -DHAVE_CONFIG_H -I. -I/Users/william/repo/git/emacs/src -fpascal-strings -DMAC_OSX -Dtemacs -g -O2 -Wno-pointer-sign mac.c
mac.c: In function ‘path_from_vol_dir_name’:
mac.c:2999: error: ‘CInfoPBRec’ undeclared (first use in this function)
mac.c:2999: error: (Each undeclared identifier is reported only once
mac.c:2999: error: for each function it appears in.)
mac.c:2999: error: syntax error before ‘cipb’
mac.c:3009: error: ‘cipb’ undeclared (first use in this function)
mac.c: In function ‘get_temp_dir_name’:
mac.c:3338: warning: passing argument 5 of ‘FindFolder’ from incompatible pointer type
mac.c: In function ‘mac_get_system_locale’:
mac.c:4905: error: ‘smScriptLang’ undeclared (first use in this function)
mac.c:4906: warning: ‘GetScriptManagerVariable’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:993)
mac.c: In function ‘mac_try_close_socket’:
mac.c:5050: warning: cast to pointer from integer of different size
mac.c: In function ‘sys_select’:
mac.c:5163: warning: cast to pointer from integer of different size
mac.c:5193: warning: cast to pointer from integer of different size
mac.c: In function ‘init_mac_osx_environment’:
mac.c:5282: warning: ‘GetScriptManagerVariable’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:993)
mac.c: In function ‘syms_of_mac’:
mac.c:5470: warning: passing argument 2 of ‘defvar_int’ from incompatible pointer type
mac.c:5472: warning: ‘GetScriptManagerVariable’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:993)
make[2]: *** [mac.o] Error 1
make[1]: *** [bootstrap-build] Error 2
make: *** [bootstrap] Error 2
--
William
http://williamxu.net9.org
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-20 15:04 ` William Xu
@ 2008-04-20 15:33 ` Peter Dyballa
2008-04-20 18:52 ` William Xu
0 siblings, 1 reply; 16+ messages in thread
From: Peter Dyballa @ 2008-04-20 15:33 UTC (permalink / raw)
To: William Xu; +Cc: help-gnu-emacs
Am 20.04.2008 um 17:04 schrieb William Xu:
> mac.c:2999: error: ‘CInfoPBRec’ undeclared (first use in this
> function)
No SDK installed? Should be defined in Files.h ...
Gcc can print where it searches for C header files (-v -print-search-
dirs), you can make it stop before compilation (-E -dD) and check
what the pre-compiler has done to source.
--
Greetings
Pete
A morning without coffee is like something without something else.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-20 15:33 ` Peter Dyballa
@ 2008-04-20 18:52 ` William Xu
2008-04-20 22:10 ` Peter Dyballa
0 siblings, 1 reply; 16+ messages in thread
From: William Xu @ 2008-04-20 18:52 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> No SDK installed? Should be defined in Files.h ...
Since I can build 32bit version without problem, that indicates all
dependencies are satisfied?
,----[ Files.h ]
| /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/Files.h
`----
> Gcc can print where it searches for C header files (-v -print-search-
> dirs), you can make it stop before compilation (-E -dD) and check what
> the pre-compiler has done to source.
$ gcc -m64 -I/sw/include -L/sw/lib -c -fpascal-strings -DMAC_OSX
-Demacs -DHAVE_CONFIG_H -I. -I/Users/william/repo/git/emacs/src
-fpascal-strings -DMAC_OSX -Dtemacs -g -O2 -Wno-pointer-sign mac.c -v
-print-search-dirs -E -dD
Using built-in specs.
install: /usr/lib/gcc/i686-apple-darwin9/4.0.1/
programs: =/usr/libexec/gcc/i686-apple-darwin9/4.0.1/:/usr/libexec/gcc/i686-apple-darwin9/4.0.1/:/usr/libexec/gcc/i686-apple-darwin9/:/usr/lib/gcc/i686-apple-darwin9/4.0.1/:/usr/lib/gcc/i686-apple-darwin9/:/usr/libexec/gcc/i686-apple-darwin9/4.0.1/:/usr/libexec/gcc/i686-apple-darwin9/:/usr/lib/gcc/i686-apple-darwin9/4.0.1/:/usr/lib/gcc/i686-apple-darwin9/:/usr/lib/gcc/i686-apple-darwin9/4.0.1/../../../../i686-apple-darwin9/bin/i686-apple-darwin9/4.0.1/:/usr/lib/gcc/i686-apple-darwin9/4.0.1/../../../../i686-apple-darwin9/bin/
libraries: =/lib/i686-apple-darwin9/4.0.1/:/lib/:/usr/lib/i686-apple-darwin9/4.0.1/:/usr/lib/:/usr/lib/gcc/i686-apple-darwin9/4.0.1/:/usr/lib/gcc/i686-apple-darwin9/4.0.1/:/usr/lib/gcc/i686-apple-darwin9/4.0.1/../../../../i686-apple-darwin9/lib/i686-apple-darwin9/4.0.1/:/usr/lib/gcc/i686-apple-darwin9/4.0.1/../../../../i686-apple-darwin9/lib/:/usr/lib/gcc/i686-apple-darwin9/4.0.1/../../../i686-apple-darwin9/4.0.1/:/usr/lib/gcc/i686-apple-darwin9/4.0.1/../../../
--
William
http://williamxu.net9.org
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-20 18:52 ` William Xu
@ 2008-04-20 22:10 ` Peter Dyballa
2008-04-21 2:48 ` William Xu
0 siblings, 1 reply; 16+ messages in thread
From: Peter Dyballa @ 2008-04-20 22:10 UTC (permalink / raw)
To: William Xu; +Cc: help-gnu-emacs
Am 20.04.2008 um 20:52 schrieb William Xu:
> $ gcc -m64 -I/sw/include -L/sw/lib -c -fpascal-strings -DMAC_OSX
> -Demacs -DHAVE_CONFIG_H -I. -I/Users/william/repo/git/emacs/src
> -fpascal-strings -DMAC_OSX -Dtemacs -g -O2 -Wno-pointer-sign
> mac.c -v
> -print-search-dirs -E -dD
Do you want to compile and assemble (-c) or do you want to preprocess
(-E)?
I don't see GCC telling where it will look C header files.
Did you compare output from GCC in 32 bit and in 64 bit mood?
--
Greetings
Pete
Know thyself. Need help, call GOOGLE.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-20 22:10 ` Peter Dyballa
@ 2008-04-21 2:48 ` William Xu
2008-04-21 7:53 ` Peter Dyballa
0 siblings, 1 reply; 16+ messages in thread
From: William Xu @ 2008-04-21 2:48 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 20.04.2008 um 20:52 schrieb William Xu:
>
>> $ gcc -m64 -I/sw/include -L/sw/lib -c -fpascal-strings -DMAC_OSX
>> -Demacs -DHAVE_CONFIG_H -I. -I/Users/william/repo/git/emacs/src
>> -fpascal-strings -DMAC_OSX -Dtemacs -g -O2 -Wno-pointer-sign mac.c
>> -v
>> -print-search-dirs -E -dD
>
>
> Do you want to compile and assemble (-c) or do you want to preprocess
> (-E)?
What do you mean? I should remove "-c" option? Hm, the result is the
same. Could you tell me the correct command?
> I don't see GCC telling where it will look C header files.
I didn't know -print-search-dirs. But from its doc, looks like it gives
the desired outputs.
,----[ -print-search-dirs ]
| Print the name of the configured installation directory and a
| list of program and library directories gcc will search---and
| don't do anything else.
|
| This is useful when gcc prints the error message installation
| problem, cannot exec cpp0: No such file or directory. To
| resolve this you either need to put cpp0 and the other
| compiler components where gcc expects to find them, or you
| can set the environment variable GCC_EXEC_PREFIX to the
| directory where you installed them. Don't forget the
| trailing /.
`----
> Did you compare output from GCC in 32 bit and in 64 bit mood?
Yes, they are the same.
--
William
http://williamxu.net9.org
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-21 2:48 ` William Xu
@ 2008-04-21 7:53 ` Peter Dyballa
2008-04-21 8:19 ` William Xu
0 siblings, 1 reply; 16+ messages in thread
From: Peter Dyballa @ 2008-04-21 7:53 UTC (permalink / raw)
To: William Xu; +Cc: help-gnu-emacs
Am 21.04.2008 um 04:48 schrieb William Xu:
> What do you mean? I should remove "-c" option? Hm, the result is the
> same. Could you tell me the correct command?
Yes, I meant without -c.
Now try to preprocess with -E (and -dD, that macros get defined) the
same file, once in 32-bit mood, once in 64-bit mood. With -o you can
send GCC's output to a file, or with >. Then compare the two pre-
processed files. The difference should give an explanation why in 64-
bit mode CInfoPBRec stays undefined. It might be an Apple bug ...
Emacs can compare two files or buffers.
--
Greetings
Pete
Bake pizza not war!
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-21 7:53 ` Peter Dyballa
@ 2008-04-21 8:19 ` William Xu
2008-04-21 21:24 ` Nick Roberts
0 siblings, 1 reply; 16+ messages in thread
From: William Xu @ 2008-04-21 8:19 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 542 bytes --]
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Now try to preprocess with -E (and -dD, that macros get defined) the
> same file, once in 32-bit mood, once in 64-bit mood. With -o you can
> send GCC's output to a file, or with >. Then compare the two pre-
> processed files. The difference should give an explanation why in 64-
> bit mode CInfoPBRec stays undefined. It might be an Apple bug ...
The outputs are too big... around 3M to 4M, as in attachments. And
there are too many differences.
--
William
http://williamxu.net9.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 32bit --]
[-- Type: text/plain; charset=utf-8, Size: 4283973 bytes --]
# 1 "mac.c"
# 1 "/Users/william/repo/git/emacs/src//"
# 1 "<built-in>"
#define __STDC_HOSTED__ 1
# 1 "<built-in>"
#define __GNUC__ 4
# 1 "<built-in>"
#define __GNUC_MINOR__ 0
# 1 "<built-in>"
#define __GNUC_PATCHLEVEL__ 1
# 1 "<built-in>"
#define __APPLE_CC__ 5465
# 1 "<built-in>"
#define __SIZE_TYPE__ long unsigned int
# 1 "<built-in>"
#define __PTRDIFF_TYPE__ int
# 1 "<built-in>"
#define __WCHAR_TYPE__ int
# 1 "<built-in>"
#define __WINT_TYPE__ int
# 1 "<built-in>"
#define __INTMAX_TYPE__ long long int
# 1 "<built-in>"
#define __UINTMAX_TYPE__ long long unsigned int
# 1 "<built-in>"
#define __GXX_ABI_VERSION 1002
# 1 "<built-in>"
#define __SCHAR_MAX__ 127
# 1 "<built-in>"
#define __SHRT_MAX__ 32767
# 1 "<built-in>"
#define __INT_MAX__ 2147483647
# 1 "<built-in>"
#define __LONG_MAX__ 2147483647L
# 1 "<built-in>"
#define __LONG_LONG_MAX__ 9223372036854775807LL
# 1 "<built-in>"
#define __WCHAR_MAX__ 2147483647
# 1 "<built-in>"
#define __CHAR_BIT__ 8
# 1 "<built-in>"
#define __INTMAX_MAX__ 9223372036854775807LL
# 1 "<built-in>"
#define __FLT_EVAL_METHOD__ 0
# 1 "<built-in>"
#define __FLT_RADIX__ 2
# 1 "<built-in>"
#define __FLT_MANT_DIG__ 24
# 1 "<built-in>"
#define __FLT_DIG__ 6
# 1 "<built-in>"
#define __FLT_MIN_EXP__ (-125)
# 1 "<built-in>"
#define __FLT_MIN_10_EXP__ (-37)
# 1 "<built-in>"
#define __FLT_MAX_EXP__ 128
# 1 "<built-in>"
#define __FLT_MAX_10_EXP__ 38
# 1 "<built-in>"
#define __FLT_MAX__ 3.40282347e+38F
# 1 "<built-in>"
#define __FLT_MIN__ 1.17549435e-38F
# 1 "<built-in>"
#define __FLT_EPSILON__ 1.19209290e-7F
# 1 "<built-in>"
#define __FLT_DENORM_MIN__ 1.40129846e-45F
# 1 "<built-in>"
#define __FLT_HAS_INFINITY__ 1
# 1 "<built-in>"
#define __FLT_HAS_QUIET_NAN__ 1
# 1 "<built-in>"
#define __DBL_MANT_DIG__ 53
# 1 "<built-in>"
#define __DBL_DIG__ 15
# 1 "<built-in>"
#define __DBL_MIN_EXP__ (-1021)
# 1 "<built-in>"
#define __DBL_MIN_10_EXP__ (-307)
# 1 "<built-in>"
#define __DBL_MAX_EXP__ 1024
# 1 "<built-in>"
#define __DBL_MAX_10_EXP__ 308
# 1 "<built-in>"
#define __DBL_MAX__ 1.7976931348623157e+308
# 1 "<built-in>"
#define __DBL_MIN__ 2.2250738585072014e-308
# 1 "<built-in>"
#define __DBL_EPSILON__ 2.2204460492503131e-16
# 1 "<built-in>"
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
# 1 "<built-in>"
#define __DBL_HAS_INFINITY__ 1
# 1 "<built-in>"
#define __DBL_HAS_QUIET_NAN__ 1
# 1 "<built-in>"
#define __LDBL_MANT_DIG__ 64
# 1 "<built-in>"
#define __LDBL_DIG__ 18
# 1 "<built-in>"
#define __LDBL_MIN_EXP__ (-16381)
# 1 "<built-in>"
#define __LDBL_MIN_10_EXP__ (-4931)
# 1 "<built-in>"
#define __LDBL_MAX_EXP__ 16384
# 1 "<built-in>"
#define __LDBL_MAX_10_EXP__ 4932
# 1 "<built-in>"
#define __DECIMAL_DIG__ 21
# 1 "<built-in>"
#define __LDBL_MAX__ 1.18973149535723176502e+4932L
# 1 "<built-in>"
#define __LDBL_MIN__ 3.36210314311209350626e-4932L
# 1 "<built-in>"
#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
# 1 "<built-in>"
#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
# 1 "<built-in>"
#define __LDBL_HAS_INFINITY__ 1
# 1 "<built-in>"
#define __LDBL_HAS_QUIET_NAN__ 1
# 1 "<built-in>"
#define __REGISTER_PREFIX__
# 1 "<built-in>"
#define __USER_LABEL_PREFIX__ _
# 1 "<built-in>"
#define __VERSION__ "4.0.1 (Apple Inc. build 5465)"
# 1 "<built-in>"
#define __OPTIMIZE__ 1
# 1 "<built-in>"
#define __FINITE_MATH_ONLY__ 0
# 1 "<built-in>"
#define __i386 1
# 1 "<built-in>"
#define __i386__ 1
# 1 "<built-in>"
#define i386 1
# 1 "<built-in>"
#define __MMX__ 1
# 1 "<built-in>"
#define __SSE__ 1
# 1 "<built-in>"
#define __SSE2__ 1
# 1 "<built-in>"
#define __SSE_MATH__ 1
# 1 "<built-in>"
#define __SSE2_MATH__ 1
# 1 "<built-in>"
#define __i386__ 1
# 1 "<built-in>"
#define __LITTLE_ENDIAN__ 1
# 1 "<built-in>"
#define __MACH__ 1
# 1 "<built-in>"
#define __APPLE__ 1
# 1 "<built-in>"
#define __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 1052
# 1 "<built-in>"
#define __CONSTANT_CFSTRINGS__ 1
# 1 "<built-in>"
#define __PASCAL_STRINGS__ 1
# 1 "<built-in>"
#define __strong
# 1 "<built-in>"
#define __weak
# 1 "<built-in>"
#define OBJC_NEW_PROPERTIES 1
# 1 "<built-in>"
#define __PIC__ 1
# 1 "<command line>"
#define __DYNAMIC__ 1
# 1 "<command line>"
#define MAC_OSX 1
# 1 "<command line>"
#define emacs 1
# 1 "<command line>"
#define HAVE_CONFIG_H 1
# 1 "<command line>"
#define MAC_OSX 1
# 1 "<command line>"
#define temacs 1
# 1 "mac.c"
# 24 "mac.c"
# 1 "./config.h" 1
# 30 "./config.h"
#define EMACS_CONFIG_H
#define BROKEN_MKTIME 1
# 51 "./config.h"
#define C_SWITCH_X_SITE
# 60 "./config.h"
#define EMACS_CONFIGURATION "i386-apple-darwin9.2.2"
#define EMACS_CONFIG_OPTIONS " '--prefix=/Users/william' '--with-carbon' '--without-x' 'CC=gcc -m64'"
#define GETPGRP_VOID 1
# 82 "./config.h"
#define HAVE_ALARM 1
#define HAVE_ALLOCA 1
#define HAVE_ALLOCA_H 1
#define HAVE_BCMP 1
#define HAVE_BCOPY 1
#define HAVE_BZERO 1
#define HAVE_CARBON 1
#define HAVE_CBRT 1
#define HAVE_CLOSEDIR 1
# 123 "./config.h"
#define HAVE_DECL_SYS_SIGLIST 0
#define HAVE_DECL___SYS_SIGLIST 0
# 140 "./config.h"
#define HAVE_DIFFTIME 1
#define HAVE_DUP2 1
#define HAVE_FCNTL_H 1
#define HAVE_FMOD 1
#define HAVE_FORK 1
#define HAVE_FPATHCONF 1
#define HAVE_FREXP 1
#define HAVE_FSEEKO 1
#define HAVE_FSYNC 1
#define HAVE_FTIME 1
#define HAVE_GAI_STRERROR 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETCWD 1
#define HAVE_GETDOMAINNAME 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETLOADAVG 1
#define HAVE_GETOPT_H 1
#define HAVE_GETOPT_LONG_ONLY 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPEERNAME 1
#define HAVE_GETRUSAGE 1
#define HAVE_GETSOCKNAME 1
#define HAVE_GETSOCKOPT 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GETWD 1
# 236 "./config.h"
#define HAVE_GRANTPT 1
# 260 "./config.h"
#define HAVE_H_ERRNO 1
#define HAVE_INDEX 1
#define HAVE_INET_SOCKETS 1
#define HAVE_INTTYPES_H 1
# 293 "./config.h"
#define HAVE_LANGINFO_CODESET 1
# 338 "./config.h"
#define HAVE_LIBM 1
# 365 "./config.h"
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_LOGB 1
#define HAVE_LONG_FILE_NAMES 1
#define HAVE_LRAND48 1
# 392 "./config.h"
#define HAVE_MALLOC_MALLOC_H 1
#define HAVE_MBLEN 1
#define HAVE_MBRLEN 1
#define HAVE_MBSINIT 1
#define HAVE_MBSTATE_T 1
#define HAVE_MEMCMP 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMORY_H 1
#define HAVE_MEMSET 1
#define HAVE_MENUS 1
#define HAVE_MKDIR 1
#define HAVE_MKSTEMP 1
#define HAVE_MKTIME 1
#define HAVE_MMAP 1
# 448 "./config.h"
#define HAVE_NET_IF_H 1
# 475 "./config.h"
#define HAVE_PWD_H 1
#define HAVE_RANDOM 1
#define HAVE_RECVFROM 1
#define HAVE_RENAME 1
#define HAVE_RES_INIT 1
#define HAVE_RINDEX 1
#define HAVE_RINT 1
#define HAVE_RMDIR 1
#define HAVE_SELECT 1
#define HAVE_SENDTO 1
#define HAVE_SETITIMER 1
#define HAVE_SETLOCALE 1
#define HAVE_SETPGID 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSID 1
#define HAVE_SETSOCKOPT 1
#define HAVE_SHUTDOWN 1
#define HAVE_SIZE_T 1
#define HAVE_SPEED_T 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRERROR 1
#define HAVE_STRFTIME 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRSIGNAL 1
#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
# 577 "./config.h"
#define HAVE_STRUCT_TM_TM_ZONE 1
#define HAVE_STRUCT_UTIMBUF 1
#define HAVE_SYNC 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIMEB_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UTSNAME_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_TERMCAP_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERM_H 1
#define HAVE_TIMEVAL 1
#define HAVE_TM_GMTOFF 1
#define HAVE_TM_ZONE 1
# 669 "./config.h"
#define HAVE_TZSET 1
#define HAVE_UALARM 1
#define HAVE_UNISTD_H 1
#define HAVE_UTIMES 1
#define HAVE_UTIME_H 1
#define HAVE_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_WORKING_VFORK 1
# 721 "./config.h"
#define HAVE_XIM 1
# 763 "./config.h"
#define LD_SWITCH_X_SITE
#define LD_SWITCH_X_SITE_AUX
#define MAIL_USE_POP 1
# 783 "./config.h"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define POINTER_TYPE void
#define PROTOTYPES 1
#define RETSIGTYPE void
# 820 "./config.h"
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
# 839 "./config.h"
#define UNEXEC_SRC unexmacosx.c
#define USE_TOOLKIT_SCROLL_BARS 1
#define USE_XIM 1
#define XRegisterIMInstantiateCallback_arg6 XPointer
# 866 "./config.h"
#define _GNU_SOURCE 1
# 877 "./config.h"
#define __GETOPT_PREFIX rpl_
#define __PROTOTYPES 1
#define __restrict_arr __restrict
#define config_machfile "m/intel386.h"
#define config_opsysfile "s/darwin.h"
# 926 "./config.h"
#define HAVE_WINDOW_SYSTEM
#define HAVE_MOUSE
# 939 "./config.h"
#define USER_FULL_NAME pw->pw_gecos
#define AMPERSAND_FULL_NAME
#define DO_BLOCK_INPUT
# 975 "./config.h"
#define INLINE
# 1 "./s/darwin.h" 1
# 34 "./s/darwin.h"
#define BSD4_2
#define BSD_SYSTEM
# 52 "./s/darwin.h"
#define MAC_OS
#define SYSTEM_TYPE "darwin"
# 89 "./s/darwin.h"
#define INTERRUPT_INPUT
#define FIRST_PTY_LETTER 'p'
# 107 "./s/darwin.h"
#define HAVE_TERMIOS
#define NO_TERMIO
#define HAVE_PTYS
#define MIN_PTY_KERNEL_VERSION '7'
# 135 "./s/darwin.h"
#define BSTRING
#define subprocesses
# 155 "./s/darwin.h"
#define MAIL_USE_FLOCK
#define CLASH_DETECTION
# 217 "./s/darwin.h"
#define init_process emacs_init_process
#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
#define TAB3 OXTABS
#define SYSTEM_MALLOC
#define HAVE_SOCKETS
#define NO_SOCK_SIGIO
#define SYMS_SYSTEM syms_of_mac()
#define UNEXEC unexmacosx.o
#define START_FILES pre-crt0.o
#define TEXT_START (0)
#define TEXT_END get_etext()
#define DATA_END get_edata()
#define C_SWITCH_SYSTEM -fpascal-strings -DMAC_OSX
#define LIBS_CARBON -framework Carbon -framework QuickTime
# 276 "./s/darwin.h"
#define LD_SWITCH_SYSTEM_TEMACS -prebind LIBS_CARBON -Xlinker -headerpad -Xlinker 690
#define C_SWITCH_SYSTEM_TEMACS -Dtemacs
# 291 "./s/darwin.h"
#define ORDINARY_LINK
#define LIBS_DEBUG
#define LIB_MATH
#define OTHER_FILES macosx-app
#define NO_ABORT
#define NO_MATHERR
#undef HAVE_WORKING_VFORK
#define vfork fork
#define DONT_REOPEN_PTY
#define malloc unexec_malloc
#define realloc unexec_realloc
#define free unexec_free
#define POSIX_SIGNALS
#define select sys_select
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
# 980 "./config.h" 2
# 1 "./m/intel386.h" 1
# 56 "./m/intel386.h"
#undef WORDS_BIG_ENDIAN
# 73 "./m/intel386.h"
#define INTEL386
#define NO_UNION_TYPE
#define CRT0_DUMMIES bogus_fp,
#define DOT_GLOBAL_START
# 981 "./config.h" 2
# 1013 "./config.h"
#define SIGTYPE RETSIGTYPE
#define RE_TRANSLATE_TYPE Lisp_Object
#define RE_TRANSLATE(TBL,C) CHAR_TABLE_TRANSLATE (TBL, C)
#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
#define mktime emacs_mktime
#define my_strftime nstrftime
#define BSTRING
# 1051 "./config.h"
extern char *getenv ();
#define BITS_PER_CHAR 8
#define BITS_PER_SHORT 16
#define BITS_PER_INT 32
#define BITS_PER_LONG 32
#define PROTOTYPES 1
#define __P(args) args
# 1096 "./config.h"
# 1 "/usr/include/string.h" 1 3 4
# 59 "/usr/include/string.h" 3 4
#define _STRING_H_
# 1 "/usr/include/_types.h" 1 3 4
# 25 "/usr/include/_types.h" 3 4
#define __TYPES_H_
# 1 "/usr/include/sys/_types.h" 1 3 4
# 30 "/usr/include/sys/_types.h" 3 4
#define _SYS__TYPES_H_
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 68 "/usr/include/sys/cdefs.h" 3 4
#define _CDEFS_H_
#define __BEGIN_DECLS
#define __END_DECLS
# 86 "/usr/include/sys/cdefs.h" 3 4
#define __P(protos) protos
#define __CONCAT(x,y) x ## y
#define __STRING(x) #x
#define __const const
#define __signed signed
#define __volatile volatile
# 140 "/usr/include/sys/cdefs.h" 3 4
#define __dead2 __attribute__((__noreturn__))
#define __pure2 __attribute__((__const__))
#define __unused __attribute__((__unused__))
# 158 "/usr/include/sys/cdefs.h" 3 4
#define __dead
#define __pure
# 175 "/usr/include/sys/cdefs.h" 3 4
#define __restrict
# 190 "/usr/include/sys/cdefs.h" 3 4
#define __printflike(fmtarg,firstvararg) __attribute__((__format__ (__printf__, fmtarg, firstvararg)))
#define __scanflike(fmtarg,firstvararg) __attribute__((__format__ (__scanf__, fmtarg, firstvararg)))
#define __IDSTRING(name,string) static const char name[] __unused = string
#define __COPYRIGHT(s) __IDSTRING(copyright,s)
#define __RCSID(s) __IDSTRING(rcsid,s)
#define __SCCSID(s) __IDSTRING(sccsid,s)
#define __PROJECT_VERSION(s) __IDSTRING(project_version,s)
# 284 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_UNIX03 1
# 295 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_64_BIT_INO_T 0
#define __DARWIN_NON_CANCELABLE 0
#define __DARWIN_VERS_1050 1
# 316 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_SUF_UNIX03 "$UNIX2003"
#define __DARWIN_SUF_UNIX03_SET 1
# 326 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_SUF_64_BIT_INO_T
#define __DARWIN_SUF_NON_CANCELABLE
#define __DARWIN_SUF_1050 "$1050"
# 349 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_SUF_EXTSN "$DARWIN_EXTSN"
#define __DARWIN_ALIAS(sym) __asm("_" __STRING(sym) __DARWIN_SUF_UNIX03)
#define __DARWIN_ALIAS_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_NON_CANCELABLE __DARWIN_SUF_UNIX03)
#define __DARWIN_ALIAS_I(sym) __asm("_" __STRING(sym) __DARWIN_SUF_64_BIT_INO_T __DARWIN_SUF_UNIX03)
#define __DARWIN_INODE64(sym) __asm("_" __STRING(sym) __DARWIN_SUF_64_BIT_INO_T)
#define __DARWIN_1050(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050)
#define __DARWIN_1050ALIAS(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_UNIX03)
#define __DARWIN_1050ALIAS_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_NON_CANCELABLE __DARWIN_SUF_UNIX03)
#define __DARWIN_1050ALIAS_I(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_64_BIT_INO_T __DARWIN_SUF_UNIX03)
#define __DARWIN_1050INODE64(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_64_BIT_INO_T)
#define __DARWIN_EXTSN(sym) __asm("_" __STRING(sym) __DARWIN_SUF_EXTSN)
#define __DARWIN_EXTSN_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_EXTSN __DARWIN_SUF_NON_CANCELABLE)
# 424 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_NO_LONG_LONG (defined(__STRICT_ANSI__) && (__STDC_VERSION__-0 < 199901L) && !defined(__GNUG__))
# 450 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_LDBL_COMPAT(x)
#define __DARWIN_LDBL_COMPAT2(x)
#define __DARWIN_LONG_DOUBLE_IS_DOUBLE 0
# 461 "/usr/include/sys/cdefs.h" 3 4
#define __deprecated __attribute__((deprecated))
# 483 "/usr/include/sys/cdefs.h" 3 4
#define _DARWIN_FEATURE_UNIX_CONFORMANCE 3
# 33 "/usr/include/sys/_types.h" 2 3 4
# 1 "/usr/include/machine/_types.h" 1 3 4
# 29 "/usr/include/machine/_types.h" 3 4
#define _BSD_MACHINE__TYPES_H_
# 1 "/usr/include/i386/_types.h" 1 3 4
# 29 "/usr/include/i386/_types.h" 3 4
#define _BSD_I386__TYPES_H_
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short __int16_t;
typedef unsigned short __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef long long __int64_t;
typedef unsigned long long __uint64_t;
typedef long __darwin_intptr_t;
typedef unsigned int __darwin_natural_t;
# 70 "/usr/include/i386/_types.h" 3 4
typedef int __darwin_ct_rune_t;
typedef union {
char __mbstate8[128];
long long _mbstateL;
} __mbstate_t;
typedef __mbstate_t __darwin_mbstate_t;
typedef int __darwin_ptrdiff_t;
typedef long unsigned int __darwin_size_t;
typedef __builtin_va_list __darwin_va_list;
typedef int __darwin_wchar_t;
typedef __darwin_wchar_t __darwin_rune_t;
typedef int __darwin_wint_t;
typedef unsigned long __darwin_clock_t;
typedef __uint32_t __darwin_socklen_t;
typedef long __darwin_ssize_t;
typedef long __darwin_time_t;
# 35 "/usr/include/machine/_types.h" 2 3 4
# 34 "/usr/include/sys/_types.h" 2 3 4
# 47 "/usr/include/sys/_types.h" 3 4
#define __PTHREAD_SIZE__ 596
#define __PTHREAD_ATTR_SIZE__ 36
#define __PTHREAD_MUTEXATTR_SIZE__ 8
#define __PTHREAD_MUTEX_SIZE__ 40
#define __PTHREAD_CONDATTR_SIZE__ 4
#define __PTHREAD_COND_SIZE__ 24
#define __PTHREAD_ONCE_SIZE__ 4
#define __PTHREAD_RWLOCK_SIZE__ 124
#define __PTHREAD_RWLOCKATTR_SIZE__ 12
struct __darwin_pthread_handler_rec
{
void (*__routine)(void *);
void *__arg;
struct __darwin_pthread_handler_rec *__next;
};
struct _opaque_pthread_attr_t { long __sig; char __opaque[36]; };
struct _opaque_pthread_cond_t { long __sig; char __opaque[24]; };
struct _opaque_pthread_condattr_t { long __sig; char __opaque[4]; };
struct _opaque_pthread_mutex_t { long __sig; char __opaque[40]; };
struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; };
struct _opaque_pthread_once_t { long __sig; char __opaque[4]; };
struct _opaque_pthread_rwlock_t { long __sig; char __opaque[124]; };
struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[12]; };
struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[596]; };
# 91 "/usr/include/sys/_types.h" 3 4
#define __DARWIN_NULL ((void *)0)
typedef __int64_t __darwin_blkcnt_t;
typedef __int32_t __darwin_blksize_t;
typedef __int32_t __darwin_dev_t;
typedef unsigned int __darwin_fsblkcnt_t;
typedef unsigned int __darwin_fsfilcnt_t;
typedef __uint32_t __darwin_gid_t;
typedef __uint32_t __darwin_id_t;
typedef __uint64_t __darwin_ino64_t;
typedef __uint32_t __darwin_ino_t;
typedef __darwin_natural_t __darwin_mach_port_name_t;
typedef __darwin_mach_port_name_t __darwin_mach_port_t;
typedef __uint16_t __darwin_mode_t;
typedef __int64_t __darwin_off_t;
typedef __int32_t __darwin_pid_t;
typedef struct _opaque_pthread_attr_t
__darwin_pthread_attr_t;
typedef struct _opaque_pthread_cond_t
__darwin_pthread_cond_t;
typedef struct _opaque_pthread_condattr_t
__darwin_pthread_condattr_t;
typedef unsigned long __darwin_pthread_key_t;
typedef struct _opaque_pthread_mutex_t
__darwin_pthread_mutex_t;
typedef struct _opaque_pthread_mutexattr_t
__darwin_pthread_mutexattr_t;
typedef struct _opaque_pthread_once_t
__darwin_pthread_once_t;
typedef struct _opaque_pthread_rwlock_t
__darwin_pthread_rwlock_t;
typedef struct _opaque_pthread_rwlockattr_t
__darwin_pthread_rwlockattr_t;
typedef struct _opaque_pthread_t
*__darwin_pthread_t;
typedef __uint32_t __darwin_sigset_t;
typedef __int32_t __darwin_suseconds_t;
typedef __uint32_t __darwin_uid_t;
typedef __uint32_t __darwin_useconds_t;
typedef unsigned char __darwin_uuid_t[16];
# 28 "/usr/include/_types.h" 2 3 4
typedef int __darwin_nl_item;
typedef int __darwin_wctrans_t;
typedef unsigned long __darwin_wctype_t;
#define __DARWIN_WCHAR_MAX __WCHAR_MAX__
#define __DARWIN_WCHAR_MIN (-0x7fffffff - 1)
#define __DARWIN_WEOF ((__darwin_wint_t)-1)
# 61 "/usr/include/string.h" 2 3 4
#define _SIZE_T
typedef __darwin_size_t size_t;
#define _SSIZE_T
typedef __darwin_ssize_t ssize_t;
#define NULL __DARWIN_NULL
void *memchr(const void *, int, size_t);
int memcmp(const void *, const void *, size_t);
void *memcpy(void *, const void *, size_t);
void *memmove(void *, const void *, size_t);
void *memset(void *, int, size_t);
char *stpcpy(char *, const char *);
char *strcasestr(const char *, const char *);
char *strcat(char *, const char *);
char *strchr(const char *, int);
int strcmp(const char *, const char *);
int strcoll(const char *, const char *);
char *strcpy(char *, const char *);
size_t strcspn(const char *, const char *);
char *strerror(int) __asm("_" "strerror" "$UNIX2003");
int strerror_r(int, char *, size_t);
size_t strlen(const char *);
char *strncat(char *, const char *, size_t);
int strncmp(const char *, const char *, size_t);
char *strncpy(char *, const char *, size_t);
char *strnstr(const char *, const char *, size_t);
char *strpbrk(const char *, const char *);
char *strrchr(const char *, int);
size_t strspn(const char *, const char *);
char *strstr(const char *, const char *);
char *strtok(char *, const char *);
size_t strxfrm(char *, const char *, size_t);
void *memccpy(void *, const void *, int, size_t);
char *strtok_r(char *, const char *, char **);
char *strdup(const char *);
int bcmp(const void *, const void *, size_t);
void bcopy(const void *, void *, size_t);
void bzero(void *, size_t);
int ffs(int);
int ffsl(long);
int fls(int);
int flsl(long);
char *index(const char *, int);
void memset_pattern4(void *, const void *, size_t);
void memset_pattern8(void *, const void *, size_t);
void memset_pattern16(void *, const void *, size_t);
char *rindex(const char *, int);
int strcasecmp(const char *, const char *);
size_t strlcat(char *, const char *, size_t);
size_t strlcpy(char *, const char *, size_t);
void strmode(int, char *);
int strncasecmp(const char *, const char *, size_t);
char *strsep(char **, const char *);
char *strsignal(int sig);
void swab(const void * , void * , ssize_t);
# 1097 "./config.h" 2
# 1 "/usr/include/strings.h" 1 3 4
# 1100 "./config.h" 2
# 1 "/usr/include/stdlib.h" 1 3 4
# 59 "/usr/include/stdlib.h" 3 4
#define _STDLIB_H_
# 1 "/usr/include/available.h" 1 3 4
# 66 "/usr/include/available.h" 3 4
#define _AVAILABLE_H_
#define __MAC_OS_X_VERSION_10_0 1000
#define __MAC_OS_X_VERSION_10_1 1010
#define __MAC_OS_X_VERSION_10_2 1020
#define __MAC_OS_X_VERSION_10_3 1030
#define __MAC_OS_X_VERSION_10_4 1040
#define __MAC_OS_X_VERSION_10_5 1050
# 86 "/usr/include/available.h" 3 4
#define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
# 101 "/usr/include/available.h" 3 4
#define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_OS_X_VERSION_MIN_REQUIRED
# 121 "/usr/include/available.h" 3 4
#define __DARWIN_WEAK_IMPORT_ATTRIBUTE __attribute__((weak_import))
# 132 "/usr/include/available.h" 3 4
#define __DARWIN_DEPRECATED_ATTRIBUTE __attribute__((deprecated))
# 141 "/usr/include/available.h" 3 4
#define __DARWIN_UNAVAILABLE_ATTRIBUTE __attribute__((unavailable))
# 153 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_0_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 185 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER
# 195 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
# 207 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_1 __DARWIN_DEPRECATED_ATTRIBUTE
# 218 "/usr/include/available.h" 3 4
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_1_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 239 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER
# 249 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
# 261 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 __DARWIN_DEPRECATED_ATTRIBUTE
# 273 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 __DARWIN_DEPRECATED_ATTRIBUTE
# 284 "/usr/include/available.h" 3 4
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_2_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 303 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER
# 313 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
# 325 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 __DARWIN_DEPRECATED_ATTRIBUTE
# 337 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 __DARWIN_DEPRECATED_ATTRIBUTE
# 349 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 __DARWIN_DEPRECATED_ATTRIBUTE
# 360 "/usr/include/available.h" 3 4
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_3_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 380 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER
# 390 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
# 402 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __DARWIN_DEPRECATED_ATTRIBUTE
# 414 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __DARWIN_DEPRECATED_ATTRIBUTE
# 426 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __DARWIN_DEPRECATED_ATTRIBUTE
# 438 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __DARWIN_DEPRECATED_ATTRIBUTE
# 449 "/usr/include/available.h" 3 4
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_4_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 468 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER
# 478 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
# 490 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __DARWIN_DEPRECATED_ATTRIBUTE
# 502 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __DARWIN_DEPRECATED_ATTRIBUTE
# 514 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __DARWIN_DEPRECATED_ATTRIBUTE
# 526 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __DARWIN_DEPRECATED_ATTRIBUTE
# 538 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __DARWIN_DEPRECATED_ATTRIBUTE
# 549 "/usr/include/available.h" 3 4
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 62 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/sys/wait.h" 1 3 4
# 65 "/usr/include/sys/wait.h" 3 4
#define _SYS_WAIT_H_
# 79 "/usr/include/sys/wait.h" 3 4
typedef enum {
P_ALL,
P_PID,
P_PGID
} idtype_t;
typedef __darwin_pid_t pid_t;
#define _PID_T
typedef __darwin_id_t id_t;
#define _ID_T
# 116 "/usr/include/sys/wait.h" 3 4
# 1 "/usr/include/sys/signal.h" 1 3 4
# 70 "/usr/include/sys/signal.h" 3 4
#define _SYS_SIGNAL_H_
# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
# 30 "/usr/include/sys/appleapiopts.h" 3 4
#define __SYS_APPLEAPIOPTS_H__
#define __APPLE_API_STANDARD
#define __APPLE_API_STABLE
#define __APPLE_API_EVOLVING
#define __APPLE_API_UNSTABLE
#define __APPLE_API_PRIVATE
#define __APPLE_API_OBSOLETE
# 74 "/usr/include/sys/signal.h" 2 3 4
#define __DARWIN_NSIG 32
#define NSIG __DARWIN_NSIG
# 1 "/usr/include/machine/signal.h" 1 3 4
# 29 "/usr/include/machine/signal.h" 3 4
#define _BSD_MACHINE_SIGNAL_H_
# 1 "/usr/include/i386/signal.h" 1 3 4
# 34 "/usr/include/i386/signal.h" 3 4
#define _I386_SIGNAL_H_ 1
typedef int sig_atomic_t;
# 54 "/usr/include/i386/signal.h" 3 4
#define __need_struct_sigcontext
# 1 "/usr/include/i386/_structs.h" 1 3 4
# 102 "/usr/include/i386/_structs.h" 3 4
#define I386_MCONTEXT_SIZE sizeof(struct mcontext)
# 56 "/usr/include/i386/signal.h" 2 3 4
# 35 "/usr/include/machine/signal.h" 2 3 4
# 82 "/usr/include/sys/signal.h" 2 3 4
#define SIGHUP 1
#define SIGINT 2
#define SIGQUIT 3
#define SIGILL 4
#define SIGTRAP 5
#define SIGABRT 6
#define SIGIOT SIGABRT
#define SIGEMT 7
#define SIGFPE 8
#define SIGKILL 9
#define SIGBUS 10
#define SIGSEGV 11
#define SIGSYS 12
#define SIGPIPE 13
#define SIGALRM 14
#define SIGTERM 15
#define SIGURG 16
#define SIGSTOP 17
#define SIGTSTP 18
#define SIGCONT 19
#define SIGCHLD 20
#define SIGTTIN 21
#define SIGTTOU 22
#define SIGIO 23
#define SIGXCPU 24
#define SIGXFSZ 25
#define SIGVTALRM 26
#define SIGPROF 27
#define SIGWINCH 28
#define SIGINFO 29
#define SIGUSR1 30
#define SIGUSR2 31
#define SIG_DFL (void (*)(int))0
#define SIG_IGN (void (*)(int))1
#define SIG_HOLD (void (*)(int))5
#define SIG_ERR ((void (*)(int))-1)
# 145 "/usr/include/sys/signal.h" 3 4
#define __need_mcontext_t
#define __need_stack_t
#define __need_ucontext_t
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 34 "/usr/include/sys/_structs.h" 3 4
#define __need_struct_ucontext
# 46 "/usr/include/sys/_structs.h" 3 4
#define __need_struct_mcontext
# 57 "/usr/include/sys/_structs.h" 3 4
# 1 "/usr/include/machine/_structs.h" 1 3 4
# 31 "/usr/include/machine/_structs.h" 3 4
# 1 "/usr/include/i386/_structs.h" 1 3 4
# 38 "/usr/include/i386/_structs.h" 3 4
# 1 "/usr/include/mach/i386/_structs.h" 1 3 4
# 33 "/usr/include/mach/i386/_structs.h" 3 4
#define _MACH_I386__STRUCTS_H_
# 42 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_THREAD_STATE32 struct __darwin_i386_thread_state
struct __darwin_i386_thread_state
{
unsigned int __eax;
unsigned int __ebx;
unsigned int __ecx;
unsigned int __edx;
unsigned int __edi;
unsigned int __esi;
unsigned int __ebp;
unsigned int __esp;
unsigned int __ss;
unsigned int __eflags;
unsigned int __eip;
unsigned int __cs;
unsigned int __ds;
unsigned int __es;
unsigned int __fs;
unsigned int __gs;
};
# 88 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_FP_CONTROL struct __darwin_fp_control
struct __darwin_fp_control
{
unsigned short __invalid :1,
__denorm :1,
__zdiv :1,
__ovrfl :1,
__undfl :1,
__precis :1,
:2,
__pc :2,
#define FP_PREC_24B 0
#define FP_PREC_53B 2
#define FP_PREC_64B 3
__rc :2,
#define FP_RND_NEAR 0
#define FP_RND_DOWN 1
#define FP_RND_UP 2
#define FP_CHOP 3
:1,
:3;
};
typedef struct __darwin_fp_control __darwin_fp_control_t;
# 146 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_FP_STATUS struct __darwin_fp_status
struct __darwin_fp_status
{
unsigned short __invalid :1,
__denorm :1,
__zdiv :1,
__ovrfl :1,
__undfl :1,
__precis :1,
__stkflt :1,
__errsumm :1,
__c0 :1,
__c1 :1,
__c2 :1,
__tos :3,
__c3 :1,
__busy :1;
};
typedef struct __darwin_fp_status __darwin_fp_status_t;
# 190 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_MMST_REG struct __darwin_mmst_reg
struct __darwin_mmst_reg
{
char __mmst_reg[10];
char __mmst_rsrv[6];
};
# 209 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_XMM_REG struct __darwin_xmm_reg
struct __darwin_xmm_reg
{
char __xmm_reg[16];
};
# 227 "/usr/include/mach/i386/_structs.h" 3 4
#define FP_STATE_BYTES 512
#define _STRUCT_X86_FLOAT_STATE32 struct __darwin_i386_float_state
struct __darwin_i386_float_state
{
int __fpu_reserved[2];
struct __darwin_fp_control __fpu_fcw;
struct __darwin_fp_status __fpu_fsw;
__uint8_t __fpu_ftw;
__uint8_t __fpu_rsrv1;
__uint16_t __fpu_fop;
__uint32_t __fpu_ip;
__uint16_t __fpu_cs;
__uint16_t __fpu_rsrv2;
__uint32_t __fpu_dp;
__uint16_t __fpu_ds;
__uint16_t __fpu_rsrv3;
__uint32_t __fpu_mxcsr;
__uint32_t __fpu_mxcsrmask;
struct __darwin_mmst_reg __fpu_stmm0;
struct __darwin_mmst_reg __fpu_stmm1;
struct __darwin_mmst_reg __fpu_stmm2;
struct __darwin_mmst_reg __fpu_stmm3;
struct __darwin_mmst_reg __fpu_stmm4;
struct __darwin_mmst_reg __fpu_stmm5;
struct __darwin_mmst_reg __fpu_stmm6;
struct __darwin_mmst_reg __fpu_stmm7;
struct __darwin_xmm_reg __fpu_xmm0;
struct __darwin_xmm_reg __fpu_xmm1;
struct __darwin_xmm_reg __fpu_xmm2;
struct __darwin_xmm_reg __fpu_xmm3;
struct __darwin_xmm_reg __fpu_xmm4;
struct __darwin_xmm_reg __fpu_xmm5;
struct __darwin_xmm_reg __fpu_xmm6;
struct __darwin_xmm_reg __fpu_xmm7;
char __fpu_rsrv4[14*16];
int __fpu_reserved1;
};
# 307 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_EXCEPTION_STATE32 struct __darwin_i386_exception_state
struct __darwin_i386_exception_state
{
unsigned int __trapno;
unsigned int __err;
unsigned int __faultvaddr;
};
# 325 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_DEBUG_STATE32 struct __darwin_x86_debug_state32
struct __darwin_x86_debug_state32
{
unsigned int __dr0;
unsigned int __dr1;
unsigned int __dr2;
unsigned int __dr3;
unsigned int __dr4;
unsigned int __dr5;
unsigned int __dr6;
unsigned int __dr7;
};
# 357 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_THREAD_STATE64 struct __darwin_x86_thread_state64
struct __darwin_x86_thread_state64
{
__uint64_t __rax;
__uint64_t __rbx;
__uint64_t __rcx;
__uint64_t __rdx;
__uint64_t __rdi;
__uint64_t __rsi;
__uint64_t __rbp;
__uint64_t __rsp;
__uint64_t __r8;
__uint64_t __r9;
__uint64_t __r10;
__uint64_t __r11;
__uint64_t __r12;
__uint64_t __r13;
__uint64_t __r14;
__uint64_t __r15;
__uint64_t __rip;
__uint64_t __rflags;
__uint64_t __cs;
__uint64_t __fs;
__uint64_t __gs;
};
# 412 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_FLOAT_STATE64 struct __darwin_x86_float_state64
struct __darwin_x86_float_state64
{
int __fpu_reserved[2];
struct __darwin_fp_control __fpu_fcw;
struct __darwin_fp_status __fpu_fsw;
__uint8_t __fpu_ftw;
__uint8_t __fpu_rsrv1;
__uint16_t __fpu_fop;
__uint32_t __fpu_ip;
__uint16_t __fpu_cs;
__uint16_t __fpu_rsrv2;
__uint32_t __fpu_dp;
__uint16_t __fpu_ds;
__uint16_t __fpu_rsrv3;
__uint32_t __fpu_mxcsr;
__uint32_t __fpu_mxcsrmask;
struct __darwin_mmst_reg __fpu_stmm0;
struct __darwin_mmst_reg __fpu_stmm1;
struct __darwin_mmst_reg __fpu_stmm2;
struct __darwin_mmst_reg __fpu_stmm3;
struct __darwin_mmst_reg __fpu_stmm4;
struct __darwin_mmst_reg __fpu_stmm5;
struct __darwin_mmst_reg __fpu_stmm6;
struct __darwin_mmst_reg __fpu_stmm7;
struct __darwin_xmm_reg __fpu_xmm0;
struct __darwin_xmm_reg __fpu_xmm1;
struct __darwin_xmm_reg __fpu_xmm2;
struct __darwin_xmm_reg __fpu_xmm3;
struct __darwin_xmm_reg __fpu_xmm4;
struct __darwin_xmm_reg __fpu_xmm5;
struct __darwin_xmm_reg __fpu_xmm6;
struct __darwin_xmm_reg __fpu_xmm7;
struct __darwin_xmm_reg __fpu_xmm8;
struct __darwin_xmm_reg __fpu_xmm9;
struct __darwin_xmm_reg __fpu_xmm10;
struct __darwin_xmm_reg __fpu_xmm11;
struct __darwin_xmm_reg __fpu_xmm12;
struct __darwin_xmm_reg __fpu_xmm13;
struct __darwin_xmm_reg __fpu_xmm14;
struct __darwin_xmm_reg __fpu_xmm15;
char __fpu_rsrv4[6*16];
int __fpu_reserved1;
};
# 516 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_EXCEPTION_STATE64 struct __darwin_x86_exception_state64
struct __darwin_x86_exception_state64
{
unsigned int __trapno;
unsigned int __err;
__uint64_t __faultvaddr;
};
# 534 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_DEBUG_STATE64 struct __darwin_x86_debug_state64
struct __darwin_x86_debug_state64
{
__uint64_t __dr0;
__uint64_t __dr1;
__uint64_t __dr2;
__uint64_t __dr3;
__uint64_t __dr4;
__uint64_t __dr5;
__uint64_t __dr6;
__uint64_t __dr7;
};
# 39 "/usr/include/i386/_structs.h" 2 3 4
#undef __need_struct_mcontext
#define _STRUCT_MCONTEXT32 struct __darwin_mcontext32
struct __darwin_mcontext32
{
struct __darwin_i386_exception_state __es;
struct __darwin_i386_thread_state __ss;
struct __darwin_i386_float_state __fs;
};
# 67 "/usr/include/i386/_structs.h" 3 4
#define _STRUCT_MCONTEXT64 struct __darwin_mcontext64
struct __darwin_mcontext64
{
struct __darwin_x86_exception_state64 __es;
struct __darwin_x86_thread_state64 __ss;
struct __darwin_x86_float_state64 __fs;
};
# 87 "/usr/include/i386/_structs.h" 3 4
#undef __need_mcontext_t
#define _MCONTEXT_T
typedef struct __darwin_mcontext32 *mcontext_t;
#define _STRUCT_MCONTEXT _STRUCT_MCONTEXT32
# 32 "/usr/include/machine/_structs.h" 2 3 4
# 58 "/usr/include/sys/_structs.h" 2 3 4
#define __need_struct_sigaltstack
#undef __need_struct_sigaltstack
#define _STRUCT_SIGALTSTACK struct __darwin_sigaltstack
struct __darwin_sigaltstack
{
void *ss_sp;
__darwin_size_t ss_size;
int ss_flags;
};
# 121 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_ucontext
#define _STRUCT_UCONTEXT struct __darwin_ucontext
struct __darwin_ucontext
{
int uc_onstack;
__darwin_sigset_t uc_sigmask;
struct __darwin_sigaltstack uc_stack;
struct __darwin_ucontext *uc_link;
__darwin_size_t uc_mcsize;
struct __darwin_mcontext32 *uc_mcontext;
};
# 215 "/usr/include/sys/_structs.h" 3 4
#undef __need_stack_t
#define _STACK_T
typedef struct __darwin_sigaltstack stack_t;
#undef __need_ucontext_t
#define _UCONTEXT_T
typedef struct __darwin_ucontext ucontext_t;
# 155 "/usr/include/sys/signal.h" 2 3 4
#define _PTHREAD_ATTR_T
typedef __darwin_pthread_attr_t pthread_attr_t;
#define _SIGSET_T
typedef __darwin_sigset_t sigset_t;
# 177 "/usr/include/sys/signal.h" 3 4
#define _UID_T
typedef __darwin_uid_t uid_t;
union sigval {
int sival_int;
void *sival_ptr;
};
#define SIGEV_NONE 0
#define SIGEV_SIGNAL 1
#define SIGEV_THREAD 3
struct sigevent {
int sigev_notify;
int sigev_signo;
union sigval sigev_value;
void (*sigev_notify_function)(union sigval);
pthread_attr_t *sigev_notify_attributes;
};
typedef struct __siginfo {
int si_signo;
int si_errno;
int si_code;
pid_t si_pid;
uid_t si_uid;
int si_status;
void *si_addr;
union sigval si_value;
long si_band;
unsigned long __pad[7];
} siginfo_t;
# 229 "/usr/include/sys/signal.h" 3 4
#define ILL_NOOP 0
#define ILL_ILLOPC 1
#define ILL_ILLTRP 2
#define ILL_PRVOPC 3
#define ILL_ILLOPN 4
#define ILL_ILLADR 5
#define ILL_PRVREG 6
#define ILL_COPROC 7
#define ILL_BADSTK 8
#define FPE_NOOP 0
#define FPE_FLTDIV 1
#define FPE_FLTOVF 2
#define FPE_FLTUND 3
#define FPE_FLTRES 4
#define FPE_FLTINV 5
#define FPE_FLTSUB 6
#define FPE_INTDIV 7
#define FPE_INTOVF 8
#define SEGV_NOOP 0
#define SEGV_MAPERR 1
#define SEGV_ACCERR 2
#define BUS_NOOP 0
#define BUS_ADRALN 1
#define BUS_ADRERR 2
#define BUS_OBJERR 3
#define TRAP_BRKPT 1
#define TRAP_TRACE 2
#define CLD_NOOP 0
#define CLD_EXITED 1
#define CLD_KILLED 2
#define CLD_DUMPED 3
#define CLD_TRAPPED 4
#define CLD_STOPPED 5
#define CLD_CONTINUED 6
#define POLL_IN 1
#define POLL_OUT 2
#define POLL_MSG 3
#define POLL_ERR 4
#define POLL_PRI 5
#define POLL_HUP 6
union __sigaction_u {
void (*__sa_handler)(int);
void (*__sa_sigaction)(int, struct __siginfo *,
void *);
};
struct __sigaction {
union __sigaction_u __sigaction_u;
void (*sa_tramp)(void *, int, int, siginfo_t *, void *);
sigset_t sa_mask;
int sa_flags;
};
struct sigaction {
union __sigaction_u __sigaction_u;
sigset_t sa_mask;
int sa_flags;
};
#define sa_handler __sigaction_u.__sa_handler
#define sa_sigaction __sigaction_u.__sa_sigaction
#define SA_ONSTACK 0x0001
#define SA_RESTART 0x0002
#define SA_RESETHAND 0x0004
#define SA_NOCLDSTOP 0x0008
#define SA_NODEFER 0x0010
#define SA_NOCLDWAIT 0x0020
#define SA_SIGINFO 0x0040
#define SA_USERTRAMP 0x0100
#define SA_64REGSET 0x0200
#define SA_USERSPACE_MASK (SA_ONSTACK | SA_RESTART | SA_RESETHAND | SA_NOCLDSTOP | SA_NODEFER | SA_NOCLDWAIT | SA_SIGINFO)
#define SIG_BLOCK 1
#define SIG_UNBLOCK 2
#define SIG_SETMASK 3
#define SI_USER 0x10001
#define SI_QUEUE 0x10002
#define SI_TIMER 0x10003
#define SI_ASYNCIO 0x10004
#define SI_MESGQ 0x10005
typedef void (*sig_t)(int);
#define SS_ONSTACK 0x0001
#define SS_DISABLE 0x0004
#define MINSIGSTKSZ 32768
#define SIGSTKSZ 131072
struct sigvec {
void (*sv_handler)(int);
int sv_mask;
int sv_flags;
};
#define SV_ONSTACK SA_ONSTACK
#define SV_INTERRUPT SA_RESTART
#define SV_RESETHAND SA_RESETHAND
#define SV_NODEFER SA_NODEFER
#define SV_NOCLDSTOP SA_NOCLDSTOP
#define SV_SIGINFO SA_SIGINFO
#define sv_onstack sv_flags
struct sigstack {
char *ss_sp;
int ss_onstack;
};
#define sigmask(m) (1 << ((m)-1))
#define BADSIG SIG_ERR
# 412 "/usr/include/sys/signal.h" 3 4
void (*signal(int, void (*)(int)))(int);
# 117 "/usr/include/sys/wait.h" 2 3 4
# 1 "/usr/include/sys/resource.h" 1 3 4
# 65 "/usr/include/sys/resource.h" 3 4
#define _SYS_RESOURCE_H_
# 75 "/usr/include/sys/resource.h" 3 4
#define __need_struct_timeval
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 97 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timeval
#define _STRUCT_TIMEVAL struct timeval
struct timeval
{
__darwin_time_t tv_sec;
__darwin_suseconds_t tv_usec;
};
# 77 "/usr/include/sys/resource.h" 2 3 4
# 88 "/usr/include/sys/resource.h" 3 4
typedef __uint64_t rlim_t;
# 99 "/usr/include/sys/resource.h" 3 4
#define PRIO_PROCESS 0
#define PRIO_PGRP 1
#define PRIO_USER 2
#define PRIO_DARWIN_THREAD 3
#define PRIO_MIN -20
#define PRIO_MAX 20
#define PRIO_DARWIN_BG 0x1000
# 130 "/usr/include/sys/resource.h" 3 4
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
# 142 "/usr/include/sys/resource.h" 3 4
struct rusage {
struct timeval ru_utime;
struct timeval ru_stime;
# 153 "/usr/include/sys/resource.h" 3 4
long ru_maxrss;
#define ru_first ru_ixrss
long ru_ixrss;
long ru_idrss;
long ru_isrss;
long ru_minflt;
long ru_majflt;
long ru_nswap;
long ru_inblock;
long ru_oublock;
long ru_msgsnd;
long ru_msgrcv;
long ru_nsignals;
long ru_nvcsw;
long ru_nivcsw;
#define ru_last ru_nivcsw
};
# 184 "/usr/include/sys/resource.h" 3 4
#define RLIM_INFINITY (((__uint64_t)1 << 63) - 1)
#define RLIM_SAVED_MAX RLIM_INFINITY
#define RLIM_SAVED_CUR RLIM_INFINITY
#define RLIMIT_CPU 0
#define RLIMIT_FSIZE 1
#define RLIMIT_DATA 2
#define RLIMIT_STACK 3
#define RLIMIT_CORE 4
#define RLIMIT_AS 5
#define RLIMIT_RSS RLIMIT_AS
#define RLIMIT_MEMLOCK 6
#define RLIMIT_NPROC 7
#define RLIMIT_NOFILE 8
#define RLIM_NLIMITS 9
#define _RLIMIT_POSIX_FLAG 0x1000
struct rlimit {
rlim_t rlim_cur;
rlim_t rlim_max;
};
#define IOPOL_TYPE_DISK 0
#define IOPOL_SCOPE_PROCESS 0
#define IOPOL_SCOPE_THREAD 1
#define IOPOL_DEFAULT 0
#define IOPOL_NORMAL 1
#define IOPOL_PASSIVE 2
#define IOPOL_THROTTLE 3
int getpriority(int, id_t);
int getiopolicy_np(int, int);
int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" "$UNIX2003");
int getrusage(int, struct rusage *);
int setpriority(int, id_t, int);
int setiopolicy_np(int, int, int);
int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" "$UNIX2003");
# 118 "/usr/include/sys/wait.h" 2 3 4
# 128 "/usr/include/sys/wait.h" 3 4
#define WNOHANG 0x00000001
#define WUNTRACED 0x00000002
# 138 "/usr/include/sys/wait.h" 3 4
#define _W_INT(w) (*(int *)&(w))
#define WCOREFLAG 0200
#define _WSTATUS(x) (_W_INT(x) & 0177)
#define _WSTOPPED 0177
#define WEXITSTATUS(x) ((_W_INT(x) >> 8) & 0x000000ff)
#define WSTOPSIG(x) (_W_INT(x) >> 8)
#define WIFCONTINUED(x) (_WSTATUS(x) == _WSTOPPED && WSTOPSIG(x) == 0x13)
#define WIFSTOPPED(x) (_WSTATUS(x) == _WSTOPPED && WSTOPSIG(x) != 0x13)
#define WIFEXITED(x) (_WSTATUS(x) == 0)
#define WIFSIGNALED(x) (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0)
#define WTERMSIG(x) (_WSTATUS(x))
#define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG)
#define W_EXITCODE(ret,sig) ((ret) << 8 | (sig))
#define W_STOPCODE(sig) ((sig) << 8 | _WSTOPPED)
# 175 "/usr/include/sys/wait.h" 3 4
#define WEXITED 0x00000004
#define WSTOPPED 0x00000008
#define WCONTINUED 0x00000010
#define WNOWAIT 0x00000020
# 190 "/usr/include/sys/wait.h" 3 4
#define WAIT_ANY (-1)
#define WAIT_MYPGRP 0
# 1 "/usr/include/machine/endian.h" 1 3 4
# 32 "/usr/include/machine/endian.h" 3 4
#define _BSD_MACHINE_ENDIAN_H_
# 1 "/usr/include/i386/endian.h" 1 3 4
# 67 "/usr/include/i386/endian.h" 3 4
#define _I386__ENDIAN_H_
# 78 "/usr/include/i386/endian.h" 3 4
#define _QUAD_HIGHWORD 1
#define _QUAD_LOWWORD 0
#define __DARWIN_LITTLE_ENDIAN 1234
#define __DARWIN_BIG_ENDIAN 4321
#define __DARWIN_PDP_ENDIAN 3412
#define __DARWIN_BYTE_ORDER __DARWIN_LITTLE_ENDIAN
#define LITTLE_ENDIAN __DARWIN_LITTLE_ENDIAN
#define BIG_ENDIAN __DARWIN_BIG_ENDIAN
#define PDP_ENDIAN __DARWIN_PDP_ENDIAN
#define BYTE_ORDER __DARWIN_BYTE_ORDER
# 1 "/usr/include/sys/_endian.h" 1 3 4
# 91 "/usr/include/sys/_endian.h" 3 4
#define _SYS__ENDIAN_H_
# 124 "/usr/include/sys/_endian.h" 3 4
# 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4
# 30 "/usr/include/libkern/_OSByteOrder.h" 3 4
#define _OS__OSBYTEORDER_H
# 43 "/usr/include/libkern/_OSByteOrder.h" 3 4
#define __DARWIN_OSSwapConstInt16(x) ((__uint16_t)((((__uint16_t)(x) & 0xff00) >> 8) | (((__uint16_t)(x) & 0x00ff) << 8)))
#define __DARWIN_OSSwapConstInt32(x) ((__uint32_t)((((__uint32_t)(x) & 0xff000000) >> 24) | (((__uint32_t)(x) & 0x00ff0000) >> 8) | (((__uint32_t)(x) & 0x0000ff00) << 8) | (((__uint32_t)(x) & 0x000000ff) << 24)))
#define __DARWIN_OSSwapConstInt64(x) ((__uint64_t)((((__uint64_t)(x) & 0xff00000000000000ULL) >> 56) | (((__uint64_t)(x) & 0x00ff000000000000ULL) >> 40) | (((__uint64_t)(x) & 0x0000ff0000000000ULL) >> 24) | (((__uint64_t)(x) & 0x000000ff00000000ULL) >> 8) | (((__uint64_t)(x) & 0x00000000ff000000ULL) << 8) | (((__uint64_t)(x) & 0x0000000000ff0000ULL) << 24) | (((__uint64_t)(x) & 0x000000000000ff00ULL) << 40) | (((__uint64_t)(x) & 0x00000000000000ffULL) << 56)))
# 66 "/usr/include/libkern/_OSByteOrder.h" 3 4
# 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4
# 30 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4
#define _OS__OSBYTEORDERI386_H
#define __DARWIN_OS_INLINE static __inline__
static __inline__
__uint16_t
_OSSwapInt16(
__uint16_t _data
)
{
return ((_data << 8) | (_data >> 8));
}
static __inline__
__uint32_t
_OSSwapInt32(
__uint32_t _data
)
{
__asm__ ("bswap %0" : "+r" (_data));
return _data;
}
static __inline__
__uint64_t
_OSSwapInt64(
__uint64_t _data
)
{
__asm__ ("bswap %%eax\n\t"
"bswap %%edx\n\t"
"xchgl %%eax, %%edx"
: "+A" (_data));
return _data;
}
# 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4
#define __DARWIN_OSSwapInt16(x) (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))
#define __DARWIN_OSSwapInt32(x) (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
#define __DARWIN_OSSwapInt64(x) (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
# 125 "/usr/include/sys/_endian.h" 2 3 4
#define ntohs(x) __DARWIN_OSSwapInt16(x)
#define htons(x) __DARWIN_OSSwapInt16(x)
#define ntohl(x) __DARWIN_OSSwapInt32(x)
#define htonl(x) __DARWIN_OSSwapInt32(x)
#define NTOHL(x) (x) = ntohl((__uint32_t)x)
#define NTOHS(x) (x) = ntohs((__uint16_t)x)
#define HTONL(x) (x) = htonl((__uint32_t)x)
#define HTONS(x) (x) = htons((__uint16_t)x)
# 100 "/usr/include/i386/endian.h" 2 3 4
# 38 "/usr/include/machine/endian.h" 2 3 4
# 194 "/usr/include/sys/wait.h" 2 3 4
union wait {
int w_status;
struct {
unsigned int w_Termsig:7,
w_Coredump:1,
w_Retcode:8,
w_Filler:16;
} w_T;
struct {
unsigned int w_Stopval:8,
w_Stopsig:8,
w_Filler:16;
} w_S;
};
#define w_termsig w_T.w_Termsig
#define w_coredump w_T.w_Coredump
#define w_retcode w_T.w_Retcode
#define w_stopval w_S.w_Stopval
#define w_stopsig w_S.w_Stopsig
# 254 "/usr/include/sys/wait.h" 3 4
pid_t wait(int *) __asm("_" "wait" "$UNIX2003");
pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" "$UNIX2003");
int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" "$UNIX2003");
pid_t wait3(int *, int, struct rusage *);
pid_t wait4(pid_t, int *, int, struct rusage *);
# 66 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/alloca.h" 1 3 4
# 25 "/usr/include/alloca.h" 3 4
#define _ALLOCA_H_
# 35 "/usr/include/alloca.h" 3 4
void *alloca(size_t);
#undef alloca
#undef __alloca
#define alloca(size) __alloca(size)
#define __alloca(size) __builtin_alloca(size)
# 68 "/usr/include/stdlib.h" 2 3 4
# 80 "/usr/include/stdlib.h" 3 4
#define _CT_RUNE_T
typedef __darwin_ct_rune_t ct_rune_t;
#define _RUNE_T
typedef __darwin_rune_t rune_t;
#define _WCHAR_T
typedef __darwin_wchar_t wchar_t;
typedef struct {
int quot;
int rem;
} div_t;
typedef struct {
long quot;
long rem;
} ldiv_t;
typedef struct {
long long quot;
long long rem;
} lldiv_t;
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#define RAND_MAX 0x7fffffff
# 134 "/usr/include/stdlib.h" 3 4
extern int __mb_cur_max;
#define MB_CUR_MAX __mb_cur_max
# 144 "/usr/include/stdlib.h" 3 4
void abort(void) __attribute__((__noreturn__));
int abs(int) __attribute__((__const__));
int atexit(void (*)(void));
double atof(const char *);
int atoi(const char *);
long atol(const char *);
long long
atoll(const char *);
void *bsearch(const void *, const void *, size_t,
size_t, int (*)(const void *, const void *));
void *calloc(size_t, size_t);
div_t div(int, int) __attribute__((__const__));
void exit(int) __attribute__((__noreturn__));
void unexec_free(void *);
char *getenv(const char *);
long labs(long) __attribute__((__const__));
ldiv_t ldiv(long, long) __attribute__((__const__));
long long
llabs(long long);
lldiv_t lldiv(long long, long long);
void *unexec_malloc(size_t);
int mblen(const char *, size_t);
size_t mbstowcs(wchar_t * , const char * , size_t);
int mbtowc(wchar_t * , const char * , size_t);
void qsort(void *, size_t, size_t,
int (*)(const void *, const void *));
int rand(void);
void *unexec_realloc(void *, size_t);
void srand(unsigned);
double strtod(const char *, char **) __asm("_" "strtod" "$UNIX2003");
float strtof(const char *, char **) __asm("_" "strtof" "$UNIX2003");
long strtol(const char *, char **, int);
long double
strtold(const char *, char **) ;
long long
strtoll(const char *, char **, int);
unsigned long
strtoul(const char *, char **, int);
unsigned long long
strtoull(const char *, char **, int);
int system(const char *) __asm("_" "system" "$UNIX2003");
size_t wcstombs(char * , const wchar_t * , size_t);
int wctomb(char *, wchar_t);
void _Exit(int) __attribute__((__noreturn__));
long a64l(const char *);
double drand48(void);
char *ecvt(double, int, int *, int *);
double erand48(unsigned short[3]);
char *fcvt(double, int, int *, int *);
char *gcvt(double, int, char *);
int getsubopt(char **, char * const *, char **);
int grantpt(int);
char *initstate(unsigned, char *, size_t);
long jrand48(unsigned short[3]);
char *l64a(long);
void lcong48(unsigned short[7]);
long lrand48(void);
char *mktemp(char *);
int mkstemp(char *);
long mrand48(void);
long nrand48(unsigned short[3]);
int posix_openpt(int);
char *ptsname(int);
int putenv(char *) __asm("_" "putenv" "$UNIX2003");
long random(void);
int rand_r(unsigned *);
char *realpath(const char * , char * ) __asm("_" "realpath" "$DARWIN_EXTSN");
unsigned short
*seed48(unsigned short[3]);
int setenv(const char *, const char *, int) __asm("_" "setenv" "$UNIX2003");
void setkey(const char *) __asm("_" "setkey" "$UNIX2003");
char *setstate(const char *);
void srand48(long);
void srandom(unsigned);
int unlockpt(int);
int unsetenv(const char *) __asm("_" "unsetenv" "$UNIX2003");
# 1 "/usr/include/machine/types.h" 1 3 4
# 32 "/usr/include/machine/types.h" 3 4
#define _BSD_MACHINE_TYPES_H_
# 1 "/usr/include/i386/types.h" 1 3 4
# 67 "/usr/include/i386/types.h" 3 4
#define _MACHTYPES_H_
# 77 "/usr/include/i386/types.h" 3 4
#define _INT8_T
typedef signed char int8_t;
typedef unsigned char u_int8_t;
#define _INT16_T
typedef short int16_t;
typedef unsigned short u_int16_t;
#define _INT32_T
typedef int int32_t;
typedef unsigned int u_int32_t;
#define _INT64_T
typedef long long int64_t;
typedef unsigned long long u_int64_t;
typedef int32_t register_t;
#define _INTPTR_T
typedef __darwin_intptr_t intptr_t;
#define _UINTPTR_T
typedef unsigned long int uintptr_t;
typedef u_int64_t user_addr_t;
typedef u_int64_t user_size_t;
typedef int64_t user_ssize_t;
typedef int64_t user_long_t;
typedef u_int64_t user_ulong_t;
typedef int64_t user_time_t;
#define USER_ADDR_NULL ((user_addr_t) 0)
#define CAST_USER_ADDR_T(a_ptr) ((user_addr_t)((uintptr_t)(a_ptr)))
typedef u_int64_t syscall_arg_t;
#define __offsetof(type,field) ((size_t)(&((type *)0)->field))
# 38 "/usr/include/machine/types.h" 2 3 4
# 255 "/usr/include/stdlib.h" 2 3 4
typedef __darwin_dev_t dev_t;
#define _DEV_T
typedef __darwin_mode_t mode_t;
#define _MODE_T
u_int32_t
arc4random(void);
void arc4random_addrandom(unsigned char *dat, int datlen);
void arc4random_stir(void);
char *cgetcap(char *, const char *, int);
int cgetclose(void);
int cgetent(char **, char **, const char *);
int cgetfirst(char **, char **);
int cgetmatch(const char *, const char *);
int cgetnext(char **, char **);
int cgetnum(char *, const char *, long *);
int cgetset(const char *);
int cgetstr(char *, const char *, char **);
int cgetustr(char *, const char *, char **);
int daemon(int, int) __asm("_" "daemon" "$1050") __attribute__((deprecated));
char *devname(dev_t, mode_t);
char *devname_r(dev_t, mode_t, char *buf, int len);
char *getbsize(int *, long *);
int getloadavg(double [], int);
const char
*getprogname(void);
int heapsort(void *, size_t, size_t,
int (*)(const void *, const void *));
int mergesort(void *, size_t, size_t,
int (*)(const void *, const void *));
void qsort_r(void *, size_t, size_t, void *,
int (*)(void *, const void *, const void *));
int radixsort(const unsigned char **, int, const unsigned char *,
unsigned);
void setprogname(const char *);
int sradixsort(const unsigned char **, int, const unsigned char *,
unsigned);
void sranddev(void);
void srandomdev(void);
void *reallocf(void *, size_t);
long long
strtoq(const char *, char **, int);
unsigned long long
strtouq(const char *, char **, int);
extern char *suboptarg;
void *valloc(size_t);
# 1103 "./config.h" 2
# 1137 "./config.h"
#define NO_RETURN __attribute__ ((__noreturn__))
# 1151 "./config.h"
#define GC_SETJMP_WORKS 1
#define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
# 25 "mac.c" 2
# 1 "/usr/include/stdio.h" 1 3 4
# 62 "/usr/include/stdio.h" 3 4
#define _STDIO_H_
#define _VA_LIST
typedef __darwin_va_list va_list;
#define _OFF_T
typedef __darwin_off_t off_t;
# 87 "/usr/include/stdio.h" 3 4
typedef __darwin_off_t fpos_t;
#define _FSTDIO
# 98 "/usr/include/stdio.h" 3 4
struct __sbuf {
unsigned char *_base;
int _size;
};
struct __sFILEX;
# 132 "/usr/include/stdio.h" 3 4
typedef struct __sFILE {
unsigned char *_p;
int _r;
int _w;
short _flags;
short _file;
struct __sbuf _bf;
int _lbfsize;
void *_cookie;
int (*_close)(void *);
int (*_read) (void *, char *, int);
fpos_t (*_seek) (void *, fpos_t, int);
int (*_write)(void *, const char *, int);
struct __sbuf _ub;
struct __sFILEX *_extra;
int _ur;
unsigned char _ubuf[3];
unsigned char _nbuf[1];
struct __sbuf _lb;
int _blksize;
fpos_t _offset;
} FILE;
extern FILE *__stdinp;
extern FILE *__stdoutp;
extern FILE *__stderrp;
#define __SLBF 0x0001
#define __SNBF 0x0002
#define __SRD 0x0004
#define __SWR 0x0008
#define __SRW 0x0010
#define __SEOF 0x0020
#define __SERR 0x0040
#define __SMBF 0x0080
#define __SAPP 0x0100
#define __SSTR 0x0200
#define __SOPT 0x0400
#define __SNPT 0x0800
#define __SOFF 0x1000
#define __SMOD 0x2000
#define __SALC 0x4000
#define __SIGN 0x8000
# 202 "/usr/include/stdio.h" 3 4
#define _IOFBF 0
#define _IOLBF 1
#define _IONBF 2
#define BUFSIZ 1024
#define EOF (-1)
#define FOPEN_MAX 20
#define FILENAME_MAX 1024
#define P_tmpdir "/var/tmp/"
#define L_tmpnam 1024
#define TMP_MAX 308915776
#define SEEK_SET 0
#define SEEK_CUR 1
#define SEEK_END 2
#define stdin __stdinp
#define stdout __stdoutp
#define stderr __stderrp
# 248 "/usr/include/stdio.h" 3 4
void clearerr(FILE *);
int fclose(FILE *);
int feof(FILE *);
int ferror(FILE *);
int fflush(FILE *);
int fgetc(FILE *);
int fgetpos(FILE * , fpos_t *);
char *fgets(char * , int, FILE *);
FILE *fopen(const char * , const char * );
int fprintf(FILE * , const char * , ...) ;
int fputc(int, FILE *);
int fputs(const char * , FILE * ) __asm("_" "fputs" "$UNIX2003");
size_t fread(void * , size_t, size_t, FILE * );
FILE *freopen(const char * , const char * ,
FILE * ) __asm("_" "freopen" "$UNIX2003");
int fscanf(FILE * , const char * , ...) ;
int fseek(FILE *, long, int);
int fsetpos(FILE *, const fpos_t *);
long ftell(FILE *);
size_t fwrite(const void * , size_t, size_t, FILE * ) __asm("_" "fwrite" "$UNIX2003");
int getc(FILE *);
int getchar(void);
char *gets(char *);
extern const int sys_nerr;
extern const char *const sys_errlist[];
void perror(const char *);
int printf(const char * , ...) ;
int putc(int, FILE *);
int putchar(int);
int puts(const char *);
int remove(const char *);
int rename (const char *, const char *);
void rewind(FILE *);
int scanf(const char * , ...) ;
void setbuf(FILE * , char * );
int setvbuf(FILE * , char * , int, size_t);
int sprintf(char * , const char * , ...) ;
int sscanf(const char * , const char * , ...) ;
FILE *tmpfile(void);
char *tmpnam(char *);
int ungetc(int, FILE *);
int vfprintf(FILE * , const char * , va_list) ;
int vprintf(const char * , va_list) ;
int vsprintf(char * , const char * , va_list) ;
int asprintf(char **, const char *, ...) ;
int vasprintf(char **, const char *, va_list) ;
#define L_ctermid 1024
char *ctermid(char *);
char *ctermid_r(char *);
FILE *fdopen(int, const char *);
char *fgetln(FILE *, size_t *);
int fileno(FILE *);
void flockfile(FILE *);
const char
*fmtcheck(const char *, const char *);
int fpurge(FILE *);
int fseeko(FILE *, off_t, int);
off_t ftello(FILE *);
int ftrylockfile(FILE *);
void funlockfile(FILE *);
int getc_unlocked(FILE *);
int getchar_unlocked(void);
int getw(FILE *);
int pclose(FILE *);
FILE *popen(const char *, const char *);
int putc_unlocked(int, FILE *);
int putchar_unlocked(int);
int putw(int, FILE *);
void setbuffer(FILE *, char *, int);
int setlinebuf(FILE *);
int snprintf(char * , size_t, const char * , ...) ;
char *tempnam(const char *, const char *) __asm("_" "tempnam" "$UNIX2003");
int vfscanf(FILE * , const char * , va_list) ;
int vscanf(const char * , va_list) ;
int vsnprintf(char * , size_t, const char * , va_list) ;
int vsscanf(const char * , const char * , va_list) ;
FILE *zopen(const char *, const char *, int);
FILE *funopen(const void *,
int (*)(void *, char *, int),
int (*)(void *, const char *, int),
fpos_t (*)(void *, fpos_t, int),
int (*)(void *));
#define fropen(cookie,fn) funopen(cookie, fn, 0, 0, 0)
#define fwopen(cookie,fn) funopen(cookie, 0, fn, 0, 0)
int __srget(FILE *);
int __svfscanf(FILE *, const char *, va_list) ;
int __swbuf(int, FILE *);
#define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
static __inline int __sputc(int _c, FILE *_p) {
if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n'))
return (*_p->_p++ = _c);
else
return (__swbuf(_c, _p));
}
# 403 "/usr/include/stdio.h" 3 4
#define __sfeof(p) (((p)->_flags & __SEOF) != 0)
#define __sferror(p) (((p)->_flags & __SERR) != 0)
#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
#define __sfileno(p) ((p)->_file)
#define feof_unlocked(p) __sfeof(p)
#define ferror_unlocked(p) __sferror(p)
#define clearerr_unlocked(p) __sclearerr(p)
#define fileno_unlocked(p) __sfileno(p)
#define getc_unlocked(fp) __sgetc(fp)
#define putc_unlocked(x,fp) __sputc(x, fp)
#define getchar_unlocked() getc_unlocked(stdin)
#define putchar_unlocked(x) putc_unlocked(x, stdout)
# 27 "mac.c" 2
# 1 "/usr/include/errno.h" 1 3 4
# 23 "/usr/include/errno.h" 3 4
# 1 "/usr/include/sys/errno.h" 1 3 4
# 70 "/usr/include/sys/errno.h" 3 4
#define _SYS_ERRNO_H_
extern int * __error(void);
#define errno (*__error())
#define EPERM 1
#define ENOENT 2
#define ESRCH 3
#define EINTR 4
#define EIO 5
#define ENXIO 6
#define E2BIG 7
#define ENOEXEC 8
#define EBADF 9
#define ECHILD 10
#define EDEADLK 11
#define ENOMEM 12
#define EACCES 13
#define EFAULT 14
#define ENOTBLK 15
#define EBUSY 16
#define EEXIST 17
#define EXDEV 18
#define ENODEV 19
#define ENOTDIR 20
#define EISDIR 21
#define EINVAL 22
#define ENFILE 23
#define EMFILE 24
#define ENOTTY 25
#define ETXTBSY 26
#define EFBIG 27
#define ENOSPC 28
#define ESPIPE 29
#define EROFS 30
#define EMLINK 31
#define EPIPE 32
#define EDOM 33
#define ERANGE 34
#define EAGAIN 35
#define EWOULDBLOCK EAGAIN
#define EINPROGRESS 36
#define EALREADY 37
#define ENOTSOCK 38
#define EDESTADDRREQ 39
#define EMSGSIZE 40
#define EPROTOTYPE 41
#define ENOPROTOOPT 42
#define EPROTONOSUPPORT 43
#define ESOCKTNOSUPPORT 44
#define ENOTSUP 45
# 152 "/usr/include/sys/errno.h" 3 4
#define EPFNOSUPPORT 46
#define EAFNOSUPPORT 47
#define EADDRINUSE 48
#define EADDRNOTAVAIL 49
#define ENETDOWN 50
#define ENETUNREACH 51
#define ENETRESET 52
#define ECONNABORTED 53
#define ECONNRESET 54
#define ENOBUFS 55
#define EISCONN 56
#define ENOTCONN 57
#define ESHUTDOWN 58
#define ETOOMANYREFS 59
#define ETIMEDOUT 60
#define ECONNREFUSED 61
#define ELOOP 62
#define ENAMETOOLONG 63
#define EHOSTDOWN 64
#define EHOSTUNREACH 65
#define ENOTEMPTY 66
#define EPROCLIM 67
#define EUSERS 68
#define EDQUOT 69
#define ESTALE 70
#define EREMOTE 71
#define EBADRPC 72
#define ERPCMISMATCH 73
#define EPROGUNAVAIL 74
#define EPROGMISMATCH 75
#define EPROCUNAVAIL 76
#define ENOLCK 77
#define ENOSYS 78
#define EFTYPE 79
#define EAUTH 80
#define ENEEDAUTH 81
#define EPWROFF 82
#define EDEVERR 83
#define EOVERFLOW 84
#define EBADEXEC 85
#define EBADARCH 86
#define ESHLIBVERS 87
#define EBADMACHO 88
#define ECANCELED 89
#define EIDRM 90
#define ENOMSG 91
#define EILSEQ 92
#define ENOATTR 93
#define EBADMSG 94
#define EMULTIHOP 95
#define ENODATA 96
#define ENOLINK 97
#define ENOSR 98
#define ENOSTR 99
#define EPROTO 100
#define ETIME 101
#define EOPNOTSUPP 102
#define ENOPOLICY 103
#define ELAST 103
# 24 "/usr/include/errno.h" 2 3 4
# 28 "mac.c" 2
# 1 "lisp.h" 1
# 24 "lisp.h"
#define EMACS_LISP_H
#define P_(proto) proto
# 60 "lisp.h"
#define CHECK_CONS_LIST() 0
# 74 "lisp.h"
#define EMACS_INT int
#define BITS_PER_EMACS_INT BITS_PER_INT
#define EMACS_UINT unsigned int
extern int suppress_checking;
extern void die (const char *, const char *, int) __attribute__ ((__noreturn__));
# 95 "lisp.h"
#define CHECK(check,msg) ((check),0)
# 109 "lisp.h"
#define eassert(X) (void) 0
# 122 "lisp.h"
enum Lisp_Type
{
Lisp_Int,
Lisp_Symbol,
Lisp_Misc,
Lisp_String,
Lisp_Vectorlike,
Lisp_Cons,
Lisp_Float,
Lisp_Type_Limit
};
enum Lisp_Misc_Type
{
Lisp_Misc_Free = 0x5eab,
Lisp_Misc_Marker,
Lisp_Misc_Intfwd,
Lisp_Misc_Boolfwd,
Lisp_Misc_Objfwd,
Lisp_Misc_Buffer_Objfwd,
Lisp_Misc_Buffer_Local_Value,
Lisp_Misc_Some_Buffer_Local_Value,
Lisp_Misc_Overlay,
Lisp_Misc_Kboard_Objfwd,
Lisp_Misc_Save_Value,
Lisp_Misc_Float,
Lisp_Misc_Limit
};
#define GCTYPEBITS 3
#define VALBITS (BITS_PER_EMACS_INT - GCTYPEBITS)
# 257 "lisp.h"
typedef int Lisp_Object;
#define LISP_MAKE_RVALUE(o) (0+(o))
# 267 "lisp.h"
#define ARRAY_MARK_FLAG ((EMACS_INT) ((EMACS_UINT) 1 << (VALBITS + GCTYPEBITS - 1)))
#define PSEUDOVECTOR_FLAG ((ARRAY_MARK_FLAG >> 1) & ~ARRAY_MARK_FLAG)
enum pvec_type
{
PVEC_NORMAL_VECTOR = 0,
PVEC_PROCESS = 0x200,
PVEC_FRAME = 0x400,
PVEC_COMPILED = 0x800,
PVEC_WINDOW = 0x1000,
PVEC_WINDOW_CONFIGURATION = 0x2000,
PVEC_SUBR = 0x4000,
PVEC_CHAR_TABLE = 0x8000,
PVEC_BOOL_VECTOR = 0x10000,
PVEC_BUFFER = 0x20000,
PVEC_HASH_TABLE = 0x40000,
PVEC_TYPE_MASK = 0x7fe00
};
#define PSEUDOVECTOR_SIZE_MASK 0x1ff
#define BOOL_VECTOR_BITS_PER_CHAR 8
# 337 "lisp.h"
#define DECL_ALIGN(type,var) type __attribute__ ((__aligned__ (1 << GCTYPEBITS))) var
# 349 "lisp.h"
#define USE_LSB_TAG
# 371 "lisp.h"
#define TYPEMASK ((((EMACS_INT) 1) << GCTYPEBITS) - 1)
#define XTYPE(a) ((enum Lisp_Type) (((EMACS_UINT) (a)) & TYPEMASK))
#define XINT(a) (((EMACS_INT) (a)) >> GCTYPEBITS)
#define XUINT(a) (((EMACS_UINT) (a)) >> GCTYPEBITS)
#define XSET(var,type,ptr) (eassert (XTYPE (ptr) == 0), (var) = ((EMACS_INT) (type)) | ((EMACS_INT) (ptr)))
#define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS)
#define XFASTINT(a) XINT (a)
#define XSETFASTINT(a,b) ((a) = make_number (b))
#define XPNTR(a) ((EMACS_INT) ((a) & ~TYPEMASK))
# 430 "lisp.h"
#define EQ(x,y) ((x) == (y))
# 474 "lisp.h"
#define XGCTYPE(a) XTYPE (a)
# 504 "lisp.h"
#define MOST_NEGATIVE_FIXNUM - ((EMACS_INT) 1 << (VALBITS - 1))
#define MOST_POSITIVE_FIXNUM (((EMACS_INT) 1 << (VALBITS - 1)) - 1)
#define INTMASK ((((EMACS_INT) 1) << VALBITS) - 1)
#define FIXNUM_OVERFLOW_P(i) ((EMACS_INT)(i) > MOST_POSITIVE_FIXNUM || (EMACS_INT) (i) < MOST_NEGATIVE_FIXNUM)
#define XCONS(a) (eassert (GC_CONSP(a)),(struct Lisp_Cons *) XPNTR(a))
#define XVECTOR(a) (eassert (GC_VECTORLIKEP(a)),(struct Lisp_Vector *) XPNTR(a))
#define XSTRING(a) (eassert (GC_STRINGP(a)),(struct Lisp_String *) XPNTR(a))
#define XSYMBOL(a) (eassert (GC_SYMBOLP(a)),(struct Lisp_Symbol *) XPNTR(a))
#define XFLOAT(a) (eassert (GC_FLOATP(a)),(struct Lisp_Float *) XPNTR(a))
#define XMISC(a) ((union Lisp_Misc *) XPNTR(a))
#define XMISCTYPE(a) (XMARKER (a)->type)
#define XMARKER(a) (&(XMISC(a)->u_marker))
#define XINTFWD(a) (&(XMISC(a)->u_intfwd))
#define XBOOLFWD(a) (&(XMISC(a)->u_boolfwd))
#define XOBJFWD(a) (&(XMISC(a)->u_objfwd))
#define XBUFFER_OBJFWD(a) (&(XMISC(a)->u_buffer_objfwd))
#define XBUFFER_LOCAL_VALUE(a) (&(XMISC(a)->u_buffer_local_value))
#define XOVERLAY(a) (&(XMISC(a)->u_overlay))
#define XKBOARD_OBJFWD(a) (&(XMISC(a)->u_kboard_objfwd))
#define XSAVE_VALUE(a) (&(XMISC(a)->u_save_value))
#define XPROCESS(a) (eassert (GC_PROCESSP(a)),(struct Lisp_Process *) XPNTR(a))
#define XWINDOW(a) (eassert (GC_WINDOWP(a)),(struct window *) XPNTR(a))
#define XSUBR(a) (eassert (GC_SUBRP(a)),(struct Lisp_Subr *) XPNTR(a))
#define XBUFFER(a) (eassert (GC_BUFFERP(a)),(struct buffer *) XPNTR(a))
#define XCHAR_TABLE(a) ((struct Lisp_Char_Table *) XPNTR(a))
#define XBOOL_VECTOR(a) ((struct Lisp_Bool_Vector *) XPNTR(a))
#define XSETINT(a,b) (a) = make_number (b)
#define XSETCONS(a,b) XSET (a, Lisp_Cons, b)
#define XSETVECTOR(a,b) XSET (a, Lisp_Vectorlike, b)
#define XSETSTRING(a,b) XSET (a, Lisp_String, b)
#define XSETSYMBOL(a,b) XSET (a, Lisp_Symbol, b)
#define XSETFLOAT(a,b) XSET (a, Lisp_Float, b)
#define XSETMISC(a,b) XSET (a, Lisp_Misc, b)
#define XSETMARKER(a,b) (XSETMISC (a, b), XMISCTYPE (a) = Lisp_Misc_Marker)
#define XSETPSEUDOVECTOR(a,b,code) (XSETVECTOR (a, b), XVECTOR (a)->size |= PSEUDOVECTOR_FLAG | (code))
#define XSETWINDOW_CONFIGURATION(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_WINDOW_CONFIGURATION))
#define XSETPROCESS(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_PROCESS))
#define XSETWINDOW(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_WINDOW))
#define XSETSUBR(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_SUBR))
#define XSETCOMPILED(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_COMPILED))
#define XSETBUFFER(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_BUFFER))
#define XSETCHAR_TABLE(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_CHAR_TABLE))
#define XSETBOOL_VECTOR(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_BOOL_VECTOR))
#define AREF(ARRAY,IDX) XVECTOR ((ARRAY))->contents[IDX]
#define ASET(ARRAY,IDX,VAL) (AREF ((ARRAY), (IDX)) = (VAL))
#define ASIZE(ARRAY) XVECTOR ((ARRAY))->size
#define SREF(string,index) (XSTRING (string)->data[index] + 0)
#define SSET(string,index,new) (XSTRING (string)->data[index] = (new))
#define SDATA(string) (XSTRING (string)->data + 0)
#define SCHARS(string) (XSTRING (string)->size + 0)
#define SBYTES(string) (STRING_BYTES (XSTRING (string)) + 0)
#define STRING_SET_CHARS(string,newsize) (XSTRING (string)->size = (newsize))
#define STRING_COPYIN(string,index,new,count) bcopy (new, XSTRING (string)->data + index, count)
#define CHECK_TYPE(ok,Qxxxp,x) do { if (!(ok)) wrong_type_argument (Qxxxp, (x)); } while (0)
typedef struct interval *INTERVAL;
#define CHECK_STRING_OR_BUFFER(x) CHECK_TYPE (STRINGP (x) || BUFFERP (x), Qbuffer_or_string_p, x)
struct Lisp_Cons
{
# 625 "lisp.h"
Lisp_Object car;
union
{
Lisp_Object cdr;
struct Lisp_Cons *chain;
} u;
};
# 645 "lisp.h"
#define XCAR_AS_LVALUE(c) (XCONS ((c))->car)
#define XCDR_AS_LVALUE(c) (XCONS ((c))->u.cdr)
#define XCAR(c) LISP_MAKE_RVALUE(XCAR_AS_LVALUE(c))
#define XCDR(c) LISP_MAKE_RVALUE(XCDR_AS_LVALUE(c))
#define XSETCAR(c,n) (XCAR_AS_LVALUE(c) = (n))
#define XSETCDR(c,n) (XCDR_AS_LVALUE(c) = (n))
#define XSETCARFASTINT(c,n) XSETFASTINT(XCAR_AS_LVALUE(c),(n))
#define XSETCDRFASTINT(c,n) XSETFASTINT(XCDR_AS_LVALUE(c),(n))
#define CAR(c) (CONSP ((c)) ? XCAR ((c)) : NILP ((c)) ? Qnil : wrong_type_argument (Qlistp, (c)))
#define CDR(c) (CONSP ((c)) ? XCDR ((c)) : NILP ((c)) ? Qnil : wrong_type_argument (Qlistp, (c)))
#define CAR_SAFE(c) (CONSP ((c)) ? XCAR ((c)) : Qnil)
#define CDR_SAFE(c) (CONSP ((c)) ? XCDR ((c)) : Qnil)
#define STRING_MULTIBYTE(STR) (XSTRING (STR)->size_byte >= 0)
# 699 "lisp.h"
#define STRING_BYTES(STR) ((STR)->size_byte < 0 ? (STR)->size : (STR)->size_byte)
#define STRING_SET_UNIBYTE(STR) (XSTRING (STR)->size_byte = -1)
#define STRING_INTERVALS(STR) (XSTRING (STR)->intervals + 0)
#define STRING_SET_INTERVALS(STR,INT) (XSTRING (STR)->intervals = (INT))
struct Lisp_String
{
int size;
int size_byte;
INTERVAL intervals;
unsigned char *data;
};
#define OFFSETOF(type,field) ((int)((char*)&((type*)0)->field - (char*)0))
struct Lisp_Vector
{
int size;
struct Lisp_Vector *next;
Lisp_Object contents[1];
};
#define VECSIZE(type) ((sizeof (type) - (sizeof (struct Lisp_Vector) - sizeof (Lisp_Object)) + sizeof(Lisp_Object) - 1) / sizeof (Lisp_Object))
#define PSEUDOVECSIZE(type,nonlispfield) ((OFFSETOF(type, nonlispfield) - OFFSETOF(struct Lisp_Vector, contents[0])) / sizeof (Lisp_Object))
# 767 "lisp.h"
#define CHAR_TABLE_ORDINARY_SLOTS 384
#define CHAR_TABLE_DEFAULT_SLOT_ASCII (0x9A + 128)
#define CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL (0x9E + 128)
#define CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC (0x80 + 128)
#define CHAR_TABLE_SINGLE_BYTE_SLOTS 256
#define CHAR_TABLE_STANDARD_SLOTS (CHAR_TABLE_ORDINARY_SLOTS + 4)
#define SUB_CHAR_TABLE_ORDINARY_SLOTS 128
#define SUB_CHAR_TABLE_STANDARD_SLOTS (SUB_CHAR_TABLE_ORDINARY_SLOTS + 2)
#define CHAR_TABLE_EXTRA_SLOTS(CT) (((CT)->size & PSEUDOVECTOR_SIZE_MASK) - CHAR_TABLE_STANDARD_SLOTS)
#define CHAR_TABLE_REF(CT,IDX) ((IDX) >= 0 && (IDX) < CHAR_TABLE_SINGLE_BYTE_SLOTS ? (!NILP (XCHAR_TABLE (CT)->contents[IDX]) ? XCHAR_TABLE (CT)->contents[IDX] : XCHAR_TABLE (CT)->defalt) : Faref (CT, make_number (IDX)))
# 816 "lisp.h"
#define CHAR_TABLE_TRANSLATE(CT,IDX) ((IDX) < CHAR_TABLE_SINGLE_BYTE_SLOTS ? (!NILP (XCHAR_TABLE (CT)->contents[IDX]) ? XINT (XCHAR_TABLE (CT)->contents[IDX]) : IDX) : char_table_translate (CT, IDX))
# 825 "lisp.h"
#define CHAR_TABLE_SET(CT,IDX,VAL) do { if (XFASTINT (IDX) < CHAR_TABLE_SINGLE_BYTE_SLOTS) XCHAR_TABLE (CT)->contents[XFASTINT (IDX)] = VAL; else Faset (CT, IDX, VAL); } while (0)
struct Lisp_Char_Table
{
int size;
struct Lisp_Vector *next;
Lisp_Object top;
Lisp_Object defalt;
Lisp_Object contents[384];
Lisp_Object parent;
Lisp_Object purpose;
Lisp_Object extras[1];
};
struct Lisp_Bool_Vector
{
int vector_size;
struct Lisp_Vector *next;
int size;
unsigned char data[1];
};
# 886 "lisp.h"
struct Lisp_Subr
{
int size;
Lisp_Object (*function) ();
short min_args, max_args;
char *symbol_name;
char *prompt;
char *doc;
};
# 903 "lisp.h"
enum symbol_interned
{
SYMBOL_UNINTERNED = 0,
SYMBOL_INTERNED = 1,
SYMBOL_INTERNED_IN_INITIAL_OBARRAY = 2
};
struct Lisp_Symbol
{
unsigned gcmarkbit : 1;
unsigned indirect_variable : 1;
unsigned constant : 1;
unsigned interned : 2;
Lisp_Object xname;
Lisp_Object value;
Lisp_Object function;
Lisp_Object plist;
struct Lisp_Symbol *next;
};
#define SYMBOL_NAME(sym) LISP_MAKE_RVALUE (XSYMBOL (sym)->xname)
#define SYMBOL_INTERNED_P(sym) (XSYMBOL (sym)->interned != SYMBOL_UNINTERNED)
#define SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P(sym) (XSYMBOL (sym)->interned == SYMBOL_INTERNED_IN_INITIAL_OBARRAY)
#define SYMBOL_CONSTANT_P(sym) XSYMBOL (sym)->constant
#define SYMBOL_VALUE(sym) (XSYMBOL (sym)->indirect_variable ? XSYMBOL (indirect_variable (sym))->value : XSYMBOL (sym)->value)
#define SET_SYMBOL_VALUE(sym,val) do { if (XSYMBOL (sym)->indirect_variable) XSYMBOL (indirect_variable ((sym)))->value = (val); else XSYMBOL (sym)->value = (val); } while (0)
# 996 "lisp.h"
struct Lisp_Hash_Table
{
int size;
struct Lisp_Vector *vec_next;
Lisp_Object test;
Lisp_Object weak;
Lisp_Object rehash_size;
Lisp_Object rehash_threshold;
Lisp_Object count;
Lisp_Object key_and_value;
Lisp_Object hash;
Lisp_Object next;
Lisp_Object next_free;
Lisp_Object index;
Lisp_Object next_weak;
Lisp_Object user_hash_function;
Lisp_Object user_cmp_function;
int (* cmpfn) (struct Lisp_Hash_Table *, Lisp_Object, unsigned, Lisp_Object, unsigned);
unsigned (* hashfn) (struct Lisp_Hash_Table *, Lisp_Object);
};
#define XHASH_TABLE(OBJ) ((struct Lisp_Hash_Table *) XPNTR (OBJ))
#define XSET_HASH_TABLE(VAR,PTR) (XSETPSEUDOVECTOR (VAR, PTR, PVEC_HASH_TABLE))
#define HASH_TABLE_P(OBJ) PSEUDOVECTORP (OBJ, PVEC_HASH_TABLE)
#define GC_HASH_TABLE_P(x) GC_PSEUDOVECTORP (x, PVEC_HASH_TABLE)
#define CHECK_HASH_TABLE(x) CHECK_TYPE (HASH_TABLE_P (x), Qhash_table_p, x)
#define HASH_KEY(H,IDX) AREF ((H)->key_and_value, 2 * (IDX))
#define HASH_VALUE(H,IDX) AREF ((H)->key_and_value, 2 * (IDX) + 1)
#define HASH_NEXT(H,IDX) AREF ((H)->next, (IDX))
#define HASH_HASH(H,IDX) AREF ((H)->hash, (IDX))
#define HASH_INDEX(H,IDX) AREF ((H)->index, (IDX))
#define HASH_TABLE_SIZE(H) XVECTOR ((H)->next)->size
#define DEFAULT_HASH_SIZE 65
#define DEFAULT_REHASH_THRESHOLD 0.8
#define DEFAULT_REHASH_SIZE 1.5
struct Lisp_Marker
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 14;
unsigned int insertion_type : 1;
struct buffer *buffer;
struct Lisp_Marker *next;
int charpos;
int bytepos;
};
struct Lisp_Intfwd
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
int *intvar;
};
struct Lisp_Boolfwd
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
int *boolvar;
};
struct Lisp_Objfwd
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
Lisp_Object *objvar;
};
struct Lisp_Buffer_Objfwd
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
int offset;
};
# 1212 "lisp.h"
struct Lisp_Buffer_Local_Value
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 12;
unsigned int check_frame : 1;
unsigned int found_for_buffer : 1;
unsigned int found_for_frame : 1;
Lisp_Object realvalue;
Lisp_Object buffer, frame;
# 1244 "lisp.h"
Lisp_Object cdr;
};
struct Lisp_Overlay
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
struct Lisp_Overlay *next;
Lisp_Object start, end, plist;
};
struct Lisp_Kboard_Objfwd
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
int offset;
};
struct Lisp_Save_Value
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 14;
unsigned int dogc : 1;
void *pointer;
int integer;
};
struct Lisp_Free
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
union Lisp_Misc *chain;
char padding[((((sizeof (struct Lisp_Marker) - 1) >> 3) + 1)
<< 3) - sizeof (struct Lisp_Intfwd)];
};
union Lisp_Misc
{
struct Lisp_Free u_free;
struct Lisp_Marker u_marker;
struct Lisp_Intfwd u_intfwd;
struct Lisp_Boolfwd u_boolfwd;
struct Lisp_Objfwd u_objfwd;
struct Lisp_Buffer_Objfwd u_buffer_objfwd;
struct Lisp_Buffer_Local_Value u_buffer_local_value;
struct Lisp_Overlay u_overlay;
struct Lisp_Kboard_Objfwd u_kboard_objfwd;
struct Lisp_Save_Value u_save_value;
};
struct Lisp_Float
{
union
{
double data;
struct Lisp_Float *chain;
} u;
};
#define XFLOAT_DATA(f) (XFLOAT (f)->u.data)
#define _UCHAR_T
typedef unsigned char UCHAR;
#define COMPILED_ARGLIST 0
#define COMPILED_BYTECODE 1
#define COMPILED_CONSTANTS 2
#define COMPILED_STACK_DEPTH 3
#define COMPILED_DOC_STRING 4
#define COMPILED_INTERACTIVE 5
#define CHAR_ALT (0x0400000)
#define CHAR_SUPER (0x0800000)
#define CHAR_HYPER (0x1000000)
#define CHAR_SHIFT (0x2000000)
#define CHAR_CTL (0x4000000)
#define CHAR_META (0x8000000)
#define CHAR_MODIFIER_MASK (CHAR_ALT | CHAR_SUPER | CHAR_HYPER | CHAR_SHIFT | CHAR_CTL | CHAR_META)
#define CHARACTERBITS 19
# 1379 "lisp.h"
#define KEY_DESCRIPTION_SIZE ((2 * 6) + 1 + (CHARACTERBITS / 3) + 1 + 1)
# 1422 "lisp.h"
#define GLYPH int
#define GLYPH_MASK_FACE 0x7FF80000
#define GLYPH_MASK_CHAR 0x0007FFFF
#define FAST_MAKE_GLYPH(char,face) ((char) | ((face) << CHARACTERBITS))
#define FAST_GLYPH_CHAR(glyph) ((glyph) & GLYPH_MASK_CHAR)
#define FAST_GLYPH_FACE(glyph) (((glyph) & GLYPH_MASK_FACE) >> CHARACTERBITS)
#define MAKE_GLYPH(f,char,face) (FAST_MAKE_GLYPH (char, face))
#define GLYPH_CHAR(f,g) (FAST_GLYPH_CHAR (g))
#define GLYPH_FACE(f,g) (FAST_GLYPH_FACE (g))
#define GLYPH_CHAR_VALID_P(glyph) CHAR_VALID_P (FAST_GLYPH_CHAR (glyph), 1)
#define GLYPH_MODE_LINE_FACE 1
#define NILP(x) EQ (x, Qnil)
#define GC_NILP(x) GC_EQ (x, Qnil)
#define NUMBERP(x) (INTEGERP (x) || FLOATP (x))
#define GC_NUMBERP(x) (GC_INTEGERP (x) || GC_FLOATP (x))
#define NATNUMP(x) (INTEGERP (x) && XINT (x) >= 0)
#define GC_NATNUMP(x) (GC_INTEGERP (x) && XINT (x) >= 0)
#define INTEGERP(x) (XTYPE ((x)) == Lisp_Int)
#define GC_INTEGERP(x) INTEGERP (x)
#define SYMBOLP(x) (XTYPE ((x)) == Lisp_Symbol)
#define GC_SYMBOLP(x) (XGCTYPE ((x)) == Lisp_Symbol)
#define MISCP(x) (XTYPE ((x)) == Lisp_Misc)
#define GC_MISCP(x) (XGCTYPE ((x)) == Lisp_Misc)
#define VECTORLIKEP(x) (XTYPE ((x)) == Lisp_Vectorlike)
#define GC_VECTORLIKEP(x) (XGCTYPE ((x)) == Lisp_Vectorlike)
#define STRINGP(x) (XTYPE ((x)) == Lisp_String)
#define GC_STRINGP(x) (XGCTYPE ((x)) == Lisp_String)
#define CONSP(x) (XTYPE ((x)) == Lisp_Cons)
#define GC_CONSP(x) (XGCTYPE ((x)) == Lisp_Cons)
#define FLOATP(x) (XTYPE ((x)) == Lisp_Float)
#define GC_FLOATP(x) (XGCTYPE ((x)) == Lisp_Float)
#define VECTORP(x) (VECTORLIKEP (x) && !(XVECTOR (x)->size & PSEUDOVECTOR_FLAG))
#define GC_VECTORP(x) (GC_VECTORLIKEP (x) && !(XVECTOR (x)->size & PSEUDOVECTOR_FLAG))
#define OVERLAYP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Overlay)
#define GC_OVERLAYP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Overlay)
#define MARKERP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Marker)
#define GC_MARKERP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Marker)
#define INTFWDP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Intfwd)
#define GC_INTFWDP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Intfwd)
#define BOOLFWDP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Boolfwd)
#define GC_BOOLFWDP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Boolfwd)
#define OBJFWDP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Objfwd)
#define GC_OBJFWDP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Objfwd)
#define BUFFER_OBJFWDP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Buffer_Objfwd)
#define GC_BUFFER_OBJFWDP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Buffer_Objfwd)
#define BUFFER_LOCAL_VALUEP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Buffer_Local_Value)
#define GC_BUFFER_LOCAL_VALUEP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Buffer_Local_Value)
#define SOME_BUFFER_LOCAL_VALUEP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Some_Buffer_Local_Value)
#define GC_SOME_BUFFER_LOCAL_VALUEP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Some_Buffer_Local_Value)
#define KBOARD_OBJFWDP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Kboard_Objfwd)
#define GC_KBOARD_OBJFWDP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Kboard_Objfwd)
#define PSEUDOVECTORP(x,code) (VECTORLIKEP (x) && (((XVECTOR (x)->size & (PSEUDOVECTOR_FLAG | (code)))) == (PSEUDOVECTOR_FLAG | (code))))
#define GC_PSEUDOVECTORP(x,code) (GC_VECTORLIKEP (x) && (((XVECTOR (x)->size & (PSEUDOVECTOR_FLAG | (code)))) == (PSEUDOVECTOR_FLAG | (code))))
#define WINDOW_CONFIGURATIONP(x) PSEUDOVECTORP (x, PVEC_WINDOW_CONFIGURATION)
#define GC_WINDOW_CONFIGURATIONP(x) GC_PSEUDOVECTORP (x, PVEC_WINDOW_CONFIGURATION)
#define PROCESSP(x) PSEUDOVECTORP (x, PVEC_PROCESS)
#define GC_PROCESSP(x) GC_PSEUDOVECTORP (x, PVEC_PROCESS)
#define WINDOWP(x) PSEUDOVECTORP (x, PVEC_WINDOW)
#define GC_WINDOWP(x) GC_PSEUDOVECTORP (x, PVEC_WINDOW)
#define SUBRP(x) PSEUDOVECTORP (x, PVEC_SUBR)
#define GC_SUBRP(x) GC_PSEUDOVECTORP (x, PVEC_SUBR)
#define COMPILEDP(x) PSEUDOVECTORP (x, PVEC_COMPILED)
#define GC_COMPILEDP(x) GC_PSEUDOVECTORP (x, PVEC_COMPILED)
#define BUFFERP(x) PSEUDOVECTORP (x, PVEC_BUFFER)
#define GC_BUFFERP(x) GC_PSEUDOVECTORP (x, PVEC_BUFFER)
#define CHAR_TABLE_P(x) PSEUDOVECTORP (x, PVEC_CHAR_TABLE)
#define GC_CHAR_TABLE_P(x) GC_PSEUDOVECTORP (x, PVEC_CHAR_TABLE)
#define BOOL_VECTOR_P(x) PSEUDOVECTORP (x, PVEC_BOOL_VECTOR)
#define GC_BOOL_VECTOR_P(x) GC_PSEUDOVECTORP (x, PVEC_BOOL_VECTOR)
#define FRAMEP(x) PSEUDOVECTORP (x, PVEC_FRAME)
#define GC_FRAMEP(x) GC_PSEUDOVECTORP (x, PVEC_FRAME)
#define SUB_CHAR_TABLE_P(x) (CHAR_TABLE_P (x) && NILP (XCHAR_TABLE (x)->top))
#define IMAGEP(x) (CONSP (x) && EQ (XCAR (x), Qimage))
#define ARRAYP(x) (VECTORP (x) || STRINGP (x) || CHAR_TABLE_P (x) || BOOL_VECTOR_P (x))
#define GC_EQ(x,y) EQ (x, y)
#define CHECK_LIST(x) CHECK_TYPE (CONSP (x) || NILP (x), Qlistp, x)
#define CHECK_LIST_CONS(x,y) CHECK_TYPE (CONSP (x), Qlistp, y)
#define CHECK_LIST_END(x,y) CHECK_TYPE (NILP (x), Qlistp, y)
#define CHECK_STRING(x) CHECK_TYPE (STRINGP (x), Qstringp, x)
#define CHECK_STRING_CAR(x) CHECK_TYPE (STRINGP (XCAR (x)), Qstringp, XCAR (x))
#define CHECK_CONS(x) CHECK_TYPE (CONSP (x), Qconsp, x)
#define CHECK_SYMBOL(x) CHECK_TYPE (SYMBOLP (x), Qsymbolp, x)
#define CHECK_CHAR_TABLE(x) CHECK_TYPE (CHAR_TABLE_P (x), Qchar_table_p, x)
#define CHECK_VECTOR(x) CHECK_TYPE (VECTORP (x), Qvectorp, x)
#define CHECK_VECTOR_OR_STRING(x) CHECK_TYPE (VECTORP (x) || STRINGP (x), Qarrayp, x)
#define CHECK_ARRAY(x,Qxxxp) CHECK_TYPE (ARRAYP (x), Qxxxp, x)
#define CHECK_VECTOR_OR_CHAR_TABLE(x) CHECK_TYPE (VECTORP (x) || CHAR_TABLE_P (x), Qvector_or_char_table_p, x)
#define CHECK_BUFFER(x) CHECK_TYPE (BUFFERP (x), Qbufferp, x)
#define CHECK_WINDOW(x) CHECK_TYPE (WINDOWP (x), Qwindowp, x)
#define CHECK_WINDOW_CONFIGURATION(x) CHECK_TYPE (WINDOW_CONFIGURATIONP (x), Qwindow_configuration_p, x)
# 1595 "lisp.h"
#define CHECK_LIVE_WINDOW(x) CHECK_TYPE (WINDOWP (x) && !NILP (XWINDOW (x)->buffer), Qwindow_live_p, x)
#define CHECK_PROCESS(x) CHECK_TYPE (PROCESSP (x), Qprocessp, x)
#define CHECK_SUBR(x) CHECK_TYPE (SUBRP (x), Qsubrp, x)
#define CHECK_NUMBER(x) CHECK_TYPE (INTEGERP (x), Qintegerp, x)
#define CHECK_NATNUM(x) CHECK_TYPE (NATNUMP (x), Qwholenump, x)
#define CHECK_MARKER(x) CHECK_TYPE (MARKERP (x), Qmarkerp, x)
#define CHECK_NUMBER_COERCE_MARKER(x) do { if (MARKERP ((x))) XSETFASTINT (x, marker_position (x)); else CHECK_TYPE (INTEGERP (x), Qinteger_or_marker_p, x); } while (0)
#define XFLOATINT(n) extract_float((n))
#define CHECK_FLOAT(x) CHECK_TYPE (FLOATP (x), Qfloatp, x)
#define CHECK_NUMBER_OR_FLOAT(x) CHECK_TYPE (FLOATP (x) || INTEGERP (x), Qnumberp, x)
#define CHECK_NUMBER_OR_FLOAT_COERCE_MARKER(x) do { if (MARKERP (x)) XSETFASTINT (x, marker_position (x)); else CHECK_TYPE (INTEGERP (x) || FLOATP (x), Qnumber_or_marker_p, x); } while (0)
#define CHECK_OVERLAY(x) CHECK_TYPE (OVERLAYP (x), Qoverlayp, x)
#define CHECK_NUMBER_CAR(x) do { Lisp_Object tmp = XCAR (x); CHECK_NUMBER (tmp); XSETCAR ((x), tmp); } while (0)
#define CHECK_NUMBER_CDR(x) do { Lisp_Object tmp = XCDR (x); CHECK_NUMBER (tmp); XSETCDR ((x), tmp); } while (0)
# 1650 "lisp.h"
#define PNTR_COMPARISON_TYPE EMACS_UINT
# 1689 "lisp.h"
#define DEFUN(lname,fnname,sname,minargs,maxargs,prompt,doc) Lisp_Object fnname DEFUN_ARGS_ ## maxargs ; DECL_ALIGN (struct Lisp_Subr, sname) = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), fnname, minargs, maxargs, lname, prompt, 0}; Lisp_Object fnname
# 1698 "lisp.h"
#define DEFUN_ARGS_MANY (int, Lisp_Object *)
#define DEFUN_ARGS_UNEVALLED (Lisp_Object)
#define DEFUN_ARGS_0 (void)
#define DEFUN_ARGS_1 (Lisp_Object)
#define DEFUN_ARGS_2 (Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_3 (Lisp_Object, Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_4 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_5 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_6 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_7 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_8 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
#define FUNCTIONP(OBJ) ((CONSP (OBJ) && EQ (XCAR (OBJ), Qlambda)) || (SYMBOLP (OBJ) && !NILP (Ffboundp (OBJ))) || COMPILEDP (OBJ) || SUBRP (OBJ))
extern void defsubr (struct Lisp_Subr *);
#define MANY -2
#define UNEVALLED -1
extern void defvar_lisp (char *, Lisp_Object *);
extern void defvar_lisp_nopro (char *, Lisp_Object *);
extern void defvar_bool (char *, int *);
extern void defvar_int (char *, int *);
extern void defvar_per_buffer (char *, Lisp_Object *, Lisp_Object, char *);
extern void defvar_kboard (char *, int);
#define DEFVAR_LISP(lname,vname,doc) defvar_lisp (lname, vname)
#define DEFVAR_LISP_NOPRO(lname,vname,doc) defvar_lisp_nopro (lname, vname)
#define DEFVAR_BOOL(lname,vname,doc) defvar_bool (lname, vname)
#define DEFVAR_INT(lname,vname,doc) defvar_int (lname, vname)
#define DEFVAR_PER_BUFFER(lname,vname,type,doc) defvar_per_buffer (lname, vname, type, 0)
#define DEFVAR_KBOARD(lname,vname,doc) defvar_kboard (lname, (int)((char *)(¤t_kboard->vname) - (char *)current_kboard))
# 1782 "lisp.h"
typedef Lisp_Object (*specbinding_func) (Lisp_Object);
struct specbinding
{
Lisp_Object symbol, old_value;
specbinding_func func;
Lisp_Object unused;
};
extern struct specbinding *specpdl;
extern struct specbinding *specpdl_ptr;
extern int specpdl_size;
extern int max_specpdl_size;
#define SPECPDL_INDEX() (specpdl_ptr - specpdl)
struct handler
{
Lisp_Object handler;
Lisp_Object var;
Lisp_Object chosen_clause;
struct catchtag *tag;
struct handler *next;
};
extern struct handler *handlerlist;
extern struct catchtag *catchlist;
extern struct backtrace *backtrace_list;
extern Lisp_Object memory_signal_data;
extern char *stack_bottom;
# 1866 "lisp.h"
#define QUIT do { if (!NILP (Vquit_flag) && NILP (Vinhibit_quit)) { Lisp_Object flag = Vquit_flag; Vquit_flag = Qnil; if (EQ (Vthrow_on_input, flag)) Fthrow (Vthrow_on_input, Qt); Fsignal (Qquit, Qnil); } } while (0)
# 1883 "lisp.h"
#define QUITP (!NILP (Vquit_flag) && NILP (Vinhibit_quit))
extern int case_temp1;
extern Lisp_Object case_temp2;
#define DOWNCASE_TABLE current_buffer->downcase_table
#define UPCASE_TABLE current_buffer->upcase_table
#define DOWNCASE(CH) ((case_temp1 = (CH), case_temp2 = CHAR_TABLE_REF (DOWNCASE_TABLE, case_temp1), NATNUMP (case_temp2)) ? XFASTINT (case_temp2) : case_temp1)
#define UPPERCASEP(CH) (DOWNCASE (CH) != (CH))
#define NOCASEP(CH) (UPCASE1 (CH) == (CH))
#define LOWERCASEP(CH) (!UPPERCASEP (CH) && !NOCASEP(CH))
#define UPCASE(CH) (!UPPERCASEP (CH) ? UPCASE1 (CH) : (CH))
#define UPCASE1(CH) ((case_temp1 = (CH), case_temp2 = CHAR_TABLE_REF (UPCASE_TABLE, case_temp1), NATNUMP (case_temp2)) ? XFASTINT (case_temp2) : case_temp1)
extern Lisp_Object Vascii_downcase_table, Vascii_upcase_table;
extern Lisp_Object Vascii_canon_table, Vascii_eqv_table;
extern int consing_since_gc;
extern int gc_cons_threshold;
extern int gc_relative_threshold;
extern int memory_full_cons_threshold;
# 1957 "lisp.h"
extern struct gcpro *gcprolist;
struct gcpro
{
struct gcpro *next;
volatile Lisp_Object *var;
int nvars;
};
# 1984 "lisp.h"
#define GC_USE_GCPROS_AS_BEFORE 0
#define GC_MAKE_GCPROS_NOOPS 1
#define GC_MARK_STACK_CHECK_GCPROS 2
#define GC_USE_GCPROS_CHECK_ZOMBIES 3
# 1998 "lisp.h"
#define GCPRO1(varname) ((void) gcpro1)
#define GCPRO2(varname1,varname2) (((void) gcpro2, (void) gcpro1))
#define GCPRO3(varname1,varname2,varname3) (((void) gcpro3, (void) gcpro2, (void) gcpro1))
#define GCPRO4(varname1,varname2,varname3,varname4) (((void) gcpro4, (void) gcpro3, (void) gcpro2, (void) gcpro1))
#define GCPRO5(varname1,varname2,varname3,varname4,varname5) (((void) gcpro5, (void) gcpro4, (void) gcpro3, (void) gcpro2, (void) gcpro1))
#define GCPRO6(varname1,varname2,varname3,varname4,varname5,varname6) (((void) gcpro6, (void) gcpro5, (void) gcpro4, (void) gcpro3, (void) gcpro2, (void) gcpro1))
#define UNGCPRO ((void) 0)
# 2119 "lisp.h"
#define RETURN_UNGCPRO(expr) do { Lisp_Object ret_ungc_val; ret_ungc_val = (expr); UNGCPRO; return ret_ungc_val; } while (0)
# 2131 "lisp.h"
void staticpro (Lisp_Object *);
# 2142 "lisp.h"
#define EXFUN(fnname,maxargs) extern Lisp_Object fnname DEFUN_ARGS_ ## maxargs
struct window;
struct frame;
extern Lisp_Object Qnil, Qt, Qquote, Qlambda, Qsubr, Qunbound;
extern Lisp_Object Qerror_conditions, Qerror_message, Qtop_level;
extern Lisp_Object Qerror, Qquit, Qwrong_type_argument, Qargs_out_of_range;
extern Lisp_Object Qvoid_variable, Qvoid_function;
extern Lisp_Object Qsetting_constant, Qinvalid_read_syntax;
extern Lisp_Object Qinvalid_function, Qwrong_number_of_arguments, Qno_catch;
extern Lisp_Object Qend_of_file, Qarith_error, Qmark_inactive;
extern Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only;
extern Lisp_Object Qtext_read_only;
extern Lisp_Object Qintegerp, Qnatnump, Qwholenump, Qsymbolp, Qlistp, Qconsp;
extern Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp;
extern Lisp_Object Qchar_or_string_p, Qmarkerp, Qinteger_or_marker_p, Qvectorp;
extern Lisp_Object Qbuffer_or_string_p;
extern Lisp_Object Qboundp, Qfboundp;
extern Lisp_Object Qchar_table_p, Qvector_or_char_table_p;
extern Lisp_Object Qcdr;
extern Lisp_Object Qrange_error, Qdomain_error, Qsingularity_error;
extern Lisp_Object Qoverflow_error, Qunderflow_error;
extern Lisp_Object Qfloatp;
extern Lisp_Object Qnumberp, Qnumber_or_marker_p;
extern Lisp_Object Qinteger;
extern void circular_list_error (Lisp_Object) __attribute__ ((__noreturn__));
extern Lisp_Object Finteractive_form (Lisp_Object);
extern Lisp_Object Qframep;
extern Lisp_Object Feq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnull (Lisp_Object);
extern Lisp_Object Flistp (Lisp_Object);
extern Lisp_Object Fconsp (Lisp_Object);
extern Lisp_Object Fatom (Lisp_Object);
extern Lisp_Object Fnlistp (Lisp_Object);
extern Lisp_Object Fintegerp (Lisp_Object);
extern Lisp_Object Fnatnump (Lisp_Object);
extern Lisp_Object Fsymbolp (Lisp_Object);
extern Lisp_Object Fvectorp (Lisp_Object);
extern Lisp_Object Fstringp (Lisp_Object);
extern Lisp_Object Fmultibyte_string_p (Lisp_Object);
extern Lisp_Object Farrayp (Lisp_Object);
extern Lisp_Object Fsequencep (Lisp_Object);
extern Lisp_Object Fbufferp (Lisp_Object);
extern Lisp_Object Fmarkerp (Lisp_Object);
extern Lisp_Object Fsubrp (Lisp_Object);
extern Lisp_Object Fchar_or_string_p (Lisp_Object);
extern Lisp_Object Finteger_or_marker_p (Lisp_Object);
extern Lisp_Object Ffloatp (Lisp_Object);
extern Lisp_Object Finteger_or_floatp (Lisp_Object);
extern Lisp_Object Finteger_or_float_or_marker_p (Lisp_Object);
extern Lisp_Object Fcar (Lisp_Object);
extern Lisp_Object Fcar_safe (Lisp_Object);
extern Lisp_Object Fcdr (Lisp_Object);
extern Lisp_Object Fcdr_safe (Lisp_Object);
extern Lisp_Object Fsetcar (Lisp_Object, Lisp_Object);
extern Lisp_Object Fsetcdr (Lisp_Object, Lisp_Object);
extern Lisp_Object Fboundp (Lisp_Object);
extern Lisp_Object Ffboundp (Lisp_Object);
extern Lisp_Object Fmakunbound (Lisp_Object);
extern Lisp_Object Ffmakunbound (Lisp_Object);
extern Lisp_Object Fsymbol_function (Lisp_Object);
extern Lisp_Object Fsymbol_plist (Lisp_Object);
extern Lisp_Object Fsymbol_name (Lisp_Object);
extern Lisp_Object indirect_function (Lisp_Object);
extern Lisp_Object Findirect_function (Lisp_Object, Lisp_Object);
extern Lisp_Object Ffset (Lisp_Object, Lisp_Object);
extern Lisp_Object Fsetplist (Lisp_Object, Lisp_Object);
extern Lisp_Object Fsymbol_value (Lisp_Object);
extern Lisp_Object find_symbol_value (Lisp_Object);
extern Lisp_Object Fset (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdefault_value (Lisp_Object);
extern Lisp_Object Fset_default (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdefault_boundp (Lisp_Object);
extern Lisp_Object Fmake_local_variable (Lisp_Object);
extern Lisp_Object Flocal_variable_p (Lisp_Object, Lisp_Object);
extern Lisp_Object Flocal_variable_if_set_p (Lisp_Object, Lisp_Object);
extern Lisp_Object Faref (Lisp_Object, Lisp_Object);
extern Lisp_Object Faset (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fstring_to_number (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnumber_to_string (Lisp_Object);
extern Lisp_Object Feqlsign (Lisp_Object, Lisp_Object);
extern Lisp_Object Fgtr (Lisp_Object, Lisp_Object);
extern Lisp_Object Flss (Lisp_Object, Lisp_Object);
extern Lisp_Object Fgeq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fleq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fneq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fzerop (Lisp_Object);
extern Lisp_Object Fplus (int, Lisp_Object *);
extern Lisp_Object Fminus (int, Lisp_Object *);
extern Lisp_Object Ftimes (int, Lisp_Object *);
extern Lisp_Object Fquo (int, Lisp_Object *);
extern Lisp_Object Frem (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmax (int, Lisp_Object *);
extern Lisp_Object Fmin (int, Lisp_Object *);
extern Lisp_Object Flogand (int, Lisp_Object *);
extern Lisp_Object Flogior (int, Lisp_Object *);
extern Lisp_Object Flogxor (int, Lisp_Object *);
extern Lisp_Object Flognot (Lisp_Object);
extern Lisp_Object Flsh (Lisp_Object, Lisp_Object);
extern Lisp_Object Fash (Lisp_Object, Lisp_Object);
extern Lisp_Object Fadd1 (Lisp_Object);
extern Lisp_Object Fsub1 (Lisp_Object);
extern Lisp_Object Fmake_variable_buffer_local (Lisp_Object);
extern Lisp_Object indirect_variable (Lisp_Object);
extern Lisp_Object long_to_cons (unsigned long);
extern unsigned long cons_to_long (Lisp_Object);
extern void args_out_of_range (Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void args_out_of_range_3 (Lisp_Object, Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern Lisp_Object wrong_type_argument (Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void store_symval_forwarding (Lisp_Object, Lisp_Object, Lisp_Object, struct buffer *);
extern Lisp_Object do_symval_forwarding (Lisp_Object);
extern Lisp_Object set_internal (Lisp_Object, Lisp_Object, struct buffer *, int);
extern void syms_of_data (void);
extern void init_data (void);
extern void swap_in_global_binding (Lisp_Object);
extern Lisp_Object Fend_of_line (Lisp_Object);
extern Lisp_Object Fforward_char (Lisp_Object);
extern Lisp_Object Fforward_line (Lisp_Object);
extern int internal_self_insert (int, int);
extern void syms_of_cmds (void);
extern void keys_of_cmds (void);
extern Lisp_Object Fcoding_system_p (Lisp_Object);
extern Lisp_Object Fcheck_coding_system (Lisp_Object);
extern Lisp_Object Fread_coding_system (Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_non_nil_coding_system (Lisp_Object);
extern Lisp_Object Ffind_operation_coding_system (int, Lisp_Object *);
extern Lisp_Object Fupdate_coding_systems_internal (void);
extern Lisp_Object Fencode_coding_string (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fdecode_coding_string (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object detect_coding_system (const unsigned char *, int, int, int);
extern void init_coding (void);
extern void init_coding_once (void);
extern void syms_of_coding (void);
extern Lisp_Object code_convert_string_norecord (Lisp_Object, Lisp_Object, int);
extern int nonascii_insert_offset;
extern Lisp_Object Vnonascii_translation_table;
extern Lisp_Object Fchar_bytes (Lisp_Object);
extern Lisp_Object Fchar_width (Lisp_Object);
extern Lisp_Object Fstring (int, Lisp_Object *);
extern int chars_in_text (const unsigned char *, int);
extern int multibyte_chars_in_text (const unsigned char *, int);
extern int unibyte_char_to_multibyte (int);
extern int multibyte_char_to_unibyte (int, Lisp_Object);
extern Lisp_Object Qcharset;
extern void init_charset_once (void);
extern void syms_of_charset (void);
extern Lisp_Object Fforward_word (Lisp_Object);
extern Lisp_Object Fskip_chars_forward (Lisp_Object, Lisp_Object);
extern Lisp_Object Fskip_chars_backward (Lisp_Object, Lisp_Object);
extern Lisp_Object Fsyntax_table_p (Lisp_Object);
extern Lisp_Object Fsyntax_table (void);
extern Lisp_Object Fset_syntax_table (Lisp_Object);
extern void init_syntax_once (void);
extern void syms_of_syntax (void);
extern int use_dialog_box;
extern int next_almost_prime (int);
extern Lisp_Object larger_vector (Lisp_Object, int, Lisp_Object);
extern void sweep_weak_hash_tables (void);
extern Lisp_Object Qstring_lessp;
extern Lisp_Object Foptimize_char_table (Lisp_Object);
extern Lisp_Object Vfeatures;
extern Lisp_Object QCtest, QCweakness, Qequal;
unsigned sxhash (Lisp_Object, int);
Lisp_Object make_hash_table (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
Lisp_Object copy_hash_table (struct Lisp_Hash_Table *);
int hash_lookup (struct Lisp_Hash_Table *, Lisp_Object, unsigned *);
int hash_put (struct Lisp_Hash_Table *, Lisp_Object, Lisp_Object, unsigned);
void hash_remove (struct Lisp_Hash_Table *, Lisp_Object);
void hash_clear (struct Lisp_Hash_Table *);
void remove_hash_entry (struct Lisp_Hash_Table *, int);
extern void init_fns (void);
extern Lisp_Object Fsxhash (Lisp_Object);
extern Lisp_Object Fmake_hash_table (int, Lisp_Object *);
extern Lisp_Object Fcopy_hash_table (Lisp_Object);
extern Lisp_Object Fhash_table_count (Lisp_Object);
extern Lisp_Object Fhash_table_rehash_size (Lisp_Object);
extern Lisp_Object Fhash_table_rehash_threshold (Lisp_Object);
extern Lisp_Object Fhash_table_size (Lisp_Object);
extern Lisp_Object Fhash_table_test (Lisp_Object);
extern Lisp_Object Fhash_table_weak (Lisp_Object);
extern Lisp_Object Fhash_table_p (Lisp_Object);
extern Lisp_Object Fclrhash (Lisp_Object);
extern Lisp_Object Fgethash (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fputhash (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fremhash (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmaphash (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdefine_hash_table_test (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fidentity (Lisp_Object);
extern Lisp_Object Frandom (Lisp_Object);
extern Lisp_Object Flength (Lisp_Object);
extern Lisp_Object Fsafe_length (Lisp_Object);
extern Lisp_Object Fappend (int, Lisp_Object *);
extern Lisp_Object Fconcat (int, Lisp_Object *);
extern Lisp_Object Fvconcat (int, Lisp_Object *);
extern Lisp_Object Fcopy_sequence (Lisp_Object);
extern Lisp_Object Fstring_make_multibyte (Lisp_Object);
extern Lisp_Object Fstring_make_unibyte (Lisp_Object);
extern Lisp_Object Fstring_as_multibyte (Lisp_Object);
extern Lisp_Object Fstring_as_unibyte (Lisp_Object);
extern Lisp_Object Fstring_to_multibyte (Lisp_Object);
extern Lisp_Object Fsubstring (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object substring_both (Lisp_Object, int, int, int, int);
extern Lisp_Object Fnth (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnthcdr (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmemq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fassq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fassoc (Lisp_Object, Lisp_Object);
extern Lisp_Object Felt (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmember (Lisp_Object, Lisp_Object);
extern Lisp_Object Frassq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdelq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdelete (Lisp_Object, Lisp_Object);
extern Lisp_Object Fsort (Lisp_Object, Lisp_Object);
extern Lisp_Object Freverse (Lisp_Object);
extern Lisp_Object Fnreverse (Lisp_Object);
extern Lisp_Object Fget (Lisp_Object, Lisp_Object);
extern Lisp_Object Fput (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fequal (Lisp_Object, Lisp_Object);
extern Lisp_Object Ffillarray (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnconc (int, Lisp_Object *);
extern Lisp_Object Fmapcar (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmapconcat (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fy_or_n_p (Lisp_Object);
extern Lisp_Object do_yes_or_no_p (Lisp_Object);
extern Lisp_Object Frequire (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fprovide (Lisp_Object, Lisp_Object);
extern Lisp_Object concat2 (Lisp_Object, Lisp_Object);
extern Lisp_Object concat3 (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object nconc2 (Lisp_Object, Lisp_Object);
extern Lisp_Object assq_no_quit (Lisp_Object, Lisp_Object);
extern void clear_string_char_byte_cache (void);
extern int string_char_to_byte (Lisp_Object, int);
extern int string_byte_to_char (Lisp_Object, int);
extern Lisp_Object string_make_multibyte (Lisp_Object);
extern Lisp_Object string_to_multibyte (Lisp_Object);
extern Lisp_Object string_make_unibyte (Lisp_Object);
extern Lisp_Object Fcopy_alist (Lisp_Object);
extern Lisp_Object Fplist_get (Lisp_Object, Lisp_Object);
extern Lisp_Object Fplist_put (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fplist_member (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_char_table_parent (Lisp_Object, Lisp_Object);
extern Lisp_Object Fchar_table_extra_slot (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_char_table_extra_slot (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Frassoc (Lisp_Object, Lisp_Object);
extern Lisp_Object Fstring_equal (Lisp_Object, Lisp_Object);
extern Lisp_Object Fcompare_strings (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fstring_lessp (Lisp_Object, Lisp_Object);
extern int char_table_translate (Lisp_Object, int);
extern void map_char_table (void (*) (Lisp_Object, Lisp_Object, Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, int, Lisp_Object *);
extern Lisp_Object char_table_ref_and_index (Lisp_Object, int, int *);
extern void syms_of_fns (void);
extern double extract_float (Lisp_Object);
extern Lisp_Object Ffloat (Lisp_Object);
extern Lisp_Object Ftruncate (Lisp_Object, Lisp_Object);
extern void init_floatfns (void);
extern void syms_of_floatfns (void);
extern void syms_of_fringe (void);
extern void init_fringe (void);
extern void init_fringe_once (void);
extern Lisp_Object Finit_image_library (Lisp_Object, Lisp_Object);
extern void syms_of_image (void);
extern void init_image (void);
extern Lisp_Object Qinhibit_modification_hooks;
extern void move_gap (int);
extern void move_gap_both (int, int);
extern void make_gap (int);
extern int copy_text (const unsigned char *, unsigned char *, int, int, int);
extern int count_size_as_multibyte (const unsigned char *, int);
extern int count_combining_before (const unsigned char *, int, int, int);
extern int count_combining_after (const unsigned char *, int, int, int);
extern void insert (const unsigned char *, int);
extern void insert_and_inherit (const unsigned char *, int);
extern void insert_1 (const unsigned char *, int, int, int, int);
extern void insert_1_both (const unsigned char *, int, int, int, int, int);
extern void insert_from_string (Lisp_Object, int, int, int, int, int);
extern void insert_from_buffer (struct buffer *, int, int, int);
extern void insert_char (int);
extern void insert_string (const char *);
extern void insert_before_markers (const unsigned char *, int);
extern void insert_before_markers_and_inherit (const unsigned char *, int);
extern void insert_from_string_before_markers (Lisp_Object, int, int, int, int, int);
extern void del_range (int, int);
extern Lisp_Object del_range_1 (int, int, int, int);
extern void del_range_byte (int, int, int);
extern void del_range_both (int, int, int, int, int);
extern Lisp_Object del_range_2 (int, int, int, int, int);
extern void modify_region (struct buffer *, int, int, int);
extern void prepare_to_modify_buffer (int, int, int *);
extern void signal_before_change (int, int, int *);
extern void signal_after_change (int, int, int);
extern void adjust_after_replace (int, int, Lisp_Object, int, int);
extern void adjust_after_replace_noundo (int, int, int, int, int, int);
extern void adjust_after_insert (int, int, int, int, int);
extern void replace_range (int, int, Lisp_Object, int, int, int);
extern void replace_range_2 (int, int, int, int, char *, int, int, int);
extern void syms_of_insdel (void);
extern Lisp_Object selected_frame;
extern int baud_rate;
extern Lisp_Object Fding (Lisp_Object);
extern Lisp_Object Fredraw_frame (Lisp_Object);
extern Lisp_Object Fredraw_display (void);
extern Lisp_Object Fsleep_for (Lisp_Object, Lisp_Object);
extern Lisp_Object Fredisplay (Lisp_Object);
extern Lisp_Object sit_for (Lisp_Object, int, int);
extern void init_display (void);
extern void syms_of_display (void);
extern void safe_bcopy (const char *, char *, int);
extern Lisp_Object Qinhibit_point_motion_hooks;
extern Lisp_Object Qinhibit_redisplay, Qdisplay;
extern Lisp_Object Qinhibit_eval_during_redisplay;
extern Lisp_Object Qmessage_truncate_lines;
extern Lisp_Object Qimage;
extern Lisp_Object Vmessage_log_max;
extern int message_enable_multibyte;
extern Lisp_Object echo_area_buffer[2];
extern void check_message_stack (void);
extern void setup_echo_area_for_printing (int);
extern int push_message (void);
extern Lisp_Object pop_message_unwind (Lisp_Object);
extern Lisp_Object restore_message_unwind (Lisp_Object);
extern void pop_message (void);
extern void restore_message (void);
extern Lisp_Object current_message (void);
extern void set_message (const char *s, Lisp_Object, int, int);
extern void clear_message (int, int);
extern void message ( );
extern void message_nolog ( );
extern void message1 (char *);
extern void message1_nolog (char *);
extern void message2 (const char *, int, int);
extern void message2_nolog (const char *, int, int);
extern void message3 (Lisp_Object, int, int);
extern void message3_nolog (Lisp_Object, int, int);
extern void message_dolog (const char *, int, int, int);
extern void message_with_string (char *, Lisp_Object, int);
extern void message_log_maybe_newline (void);
extern void update_echo_area (void);
extern void truncate_echo_area (int);
extern void redisplay (void);
extern int check_point_in_composition
(struct buffer *, int, struct buffer *, int);
extern void redisplay_preserve_echo_area (int);
extern void prepare_menu_bars (void);
void set_frame_cursor_types (struct frame *, Lisp_Object);
extern void syms_of_xdisp (void);
extern void init_xdisp (void);
extern Lisp_Object safe_eval (Lisp_Object);
extern int pos_visible_p (struct window *, int, int *, int *, int *, int *, int *, int *);
extern void memory_warnings (void *, void (*warnfun) ());
extern void check_pure_size (void);
extern void allocate_string_data (struct Lisp_String *, int, int);
extern void reset_malloc_hooks (void);
extern void uninterrupt_malloc (void);
extern void malloc_warning (char *);
extern void memory_full (void) __attribute__ ((__noreturn__));
extern void buffer_memory_full (void) __attribute__ ((__noreturn__));
extern int survives_gc_p (Lisp_Object);
extern void mark_object (Lisp_Object);
extern Lisp_Object Vpurify_flag;
extern Lisp_Object Vmemory_full;
extern Lisp_Object Fcons (Lisp_Object, Lisp_Object);
extern Lisp_Object list1 (Lisp_Object);
extern Lisp_Object list2 (Lisp_Object, Lisp_Object);
extern Lisp_Object list3 (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object list4 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object list5 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Flist (int, Lisp_Object *);
extern Lisp_Object Fmake_list (Lisp_Object, Lisp_Object);
extern Lisp_Object allocate_misc (void);
extern Lisp_Object Fmake_vector (Lisp_Object, Lisp_Object);
extern Lisp_Object Fvector (int, Lisp_Object *);
extern Lisp_Object Fmake_symbol (Lisp_Object);
extern Lisp_Object Fmake_marker (void);
extern Lisp_Object Fmake_string (Lisp_Object, Lisp_Object);
extern Lisp_Object build_string (const char *);
extern Lisp_Object make_string (const char *, int);
extern Lisp_Object make_unibyte_string (const char *, int);
extern Lisp_Object make_multibyte_string (const char *, int, int);
extern Lisp_Object make_event_array (int, Lisp_Object *);
extern Lisp_Object make_uninit_string (int);
extern Lisp_Object make_uninit_multibyte_string (int, int);
extern Lisp_Object make_string_from_bytes (const char *, int, int);
extern Lisp_Object make_specified_string (const char *, int, int, int);
extern Lisp_Object Fpurecopy (Lisp_Object);
extern Lisp_Object make_pure_string (char *, int, int, int);
extern Lisp_Object pure_cons (Lisp_Object, Lisp_Object);
extern Lisp_Object make_pure_vector (int);
extern Lisp_Object Fgarbage_collect (void);
extern Lisp_Object Fmake_byte_code (int, Lisp_Object *);
extern Lisp_Object Fmake_bool_vector (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmake_char_table (Lisp_Object, Lisp_Object);
extern Lisp_Object make_sub_char_table (Lisp_Object);
extern Lisp_Object Qchar_table_extra_slots;
extern struct Lisp_Vector *allocate_vector (int);
extern struct Lisp_Vector *allocate_other_vector (int);
extern struct Lisp_Hash_Table *allocate_hash_table (void);
extern struct window *allocate_window (void);
extern struct frame *allocate_frame (void);
extern struct Lisp_Process *allocate_process (void);
extern int gc_in_progress;
extern int abort_on_gc;
extern Lisp_Object make_float (double);
extern void display_malloc_warning (void);
extern int inhibit_garbage_collection (void);
extern Lisp_Object make_save_value (void *, int);
extern void free_misc (Lisp_Object);
extern void free_marker (Lisp_Object);
extern void free_cons (struct Lisp_Cons *);
extern void init_alloc_once (void);
extern void init_alloc (void);
extern void syms_of_alloc (void);
extern struct buffer * allocate_buffer (void);
extern int valid_lisp_object_p (Lisp_Object);
extern Lisp_Object Vprin1_to_string_buffer;
extern void debug_print (Lisp_Object);
extern Lisp_Object Fprin1 (Lisp_Object, Lisp_Object);
extern Lisp_Object Fprin1_to_string (Lisp_Object, Lisp_Object);
extern Lisp_Object Fprinc (Lisp_Object, Lisp_Object);
extern Lisp_Object Fterpri (Lisp_Object);
extern Lisp_Object Fprint (Lisp_Object, Lisp_Object);
extern Lisp_Object Ferror_message_string (Lisp_Object);
extern Lisp_Object Vstandard_output, Qstandard_output;
extern Lisp_Object Qexternal_debugging_output;
extern void temp_output_buffer_setup (const char *);
extern int print_level, print_escape_newlines;
extern Lisp_Object Qprint_escape_newlines;
extern void write_string (char *, int);
extern void write_string_1 (char *, int, Lisp_Object);
extern void print_error_message (Lisp_Object, Lisp_Object, char *, Lisp_Object);
extern Lisp_Object internal_with_output_to_temp_buffer
(const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object);
extern void float_to_string (unsigned char *, double);
extern void syms_of_print (void);
extern int doprnt (char *, int, char *, char *, int, char **);
extern int doprnt_lisp (char *, int, char *, char *, int, char **);
extern Lisp_Object Qvariable_documentation, Qstandard_input;
extern Lisp_Object Vobarray, initial_obarray, Vstandard_input;
extern Lisp_Object Fread (Lisp_Object);
extern Lisp_Object Fread_from_string (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fintern (Lisp_Object, Lisp_Object);
extern Lisp_Object Fintern_soft (Lisp_Object, Lisp_Object);
extern Lisp_Object Fload (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fget_load_suffixes (void);
extern Lisp_Object Fget_file_char (void);
extern Lisp_Object Fread_char (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_event (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object read_filtered_event (int, int, int, int, Lisp_Object);
extern Lisp_Object Feval_region (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object check_obarray (Lisp_Object);
extern Lisp_Object intern (const char *);
extern Lisp_Object make_symbol (char *);
extern Lisp_Object oblookup (Lisp_Object, const char *, int, int);
#define LOADHIST_ATTACH(x) if (initialized) Vcurrent_load_list = Fcons (x, Vcurrent_load_list)
extern Lisp_Object Vcurrent_load_list;
extern Lisp_Object Vload_history, Vload_suffixes, Vload_file_rep_suffixes;
extern int openp (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object *, Lisp_Object);
extern int isfloat_string (char *);
extern void map_obarray (Lisp_Object, void (*) (Lisp_Object, Lisp_Object), Lisp_Object);
extern void dir_warning (char *, Lisp_Object);
extern void close_load_descs (void);
extern void init_obarray (void);
extern void init_lread (void);
extern void syms_of_lread (void);
extern Lisp_Object Qautoload, Qexit, Qinteractive, Qcommandp, Qdefun, Qmacro;
extern Lisp_Object Vinhibit_quit, Qinhibit_quit, Vquit_flag;
extern Lisp_Object Vautoload_queue;
extern Lisp_Object Vdebug_on_error;
extern Lisp_Object Vsignaling_function;
extern int handling_signal;
extern int interactive_p (int);
# 2688 "lisp.h"
extern Lisp_Object Vrun_hooks;
extern Lisp_Object Frun_hooks (int, Lisp_Object *);
extern Lisp_Object Frun_hook_with_args (int, Lisp_Object *);
extern Lisp_Object Frun_hook_with_args_until_success (int, Lisp_Object *);
extern Lisp_Object Frun_hook_with_args_until_failure (int, Lisp_Object *);
extern Lisp_Object run_hook_list_with_args (Lisp_Object, int, Lisp_Object *);
extern void run_hook_with_args_2 (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fand (Lisp_Object);
extern Lisp_Object For (Lisp_Object);
extern Lisp_Object Fif (Lisp_Object);
extern Lisp_Object Fprogn (Lisp_Object);
extern Lisp_Object Fprog1 (Lisp_Object);
extern Lisp_Object Fprog2 (Lisp_Object);
extern Lisp_Object Fsetq (Lisp_Object);
extern Lisp_Object Fquote (Lisp_Object);
extern Lisp_Object Fuser_variable_p (Lisp_Object);
extern Lisp_Object Finteractive_p (void);
extern Lisp_Object Fdefun (Lisp_Object);
extern Lisp_Object Flet (Lisp_Object);
extern Lisp_Object FletX (Lisp_Object);
extern Lisp_Object Fwhile (Lisp_Object);
extern Lisp_Object Fcatch (Lisp_Object);
extern Lisp_Object Fthrow (Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern Lisp_Object Funwind_protect (Lisp_Object);
extern Lisp_Object Fcondition_case (Lisp_Object);
extern Lisp_Object Fsignal (Lisp_Object, Lisp_Object);
extern void xsignal (Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void xsignal0 (Lisp_Object) __attribute__ ((__noreturn__));
extern void xsignal1 (Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void xsignal2 (Lisp_Object, Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void xsignal3 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void signal_error (char *, Lisp_Object) __attribute__ ((__noreturn__));
extern Lisp_Object Fautoload (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fcommandp (Lisp_Object, Lisp_Object);
extern Lisp_Object Feval (Lisp_Object);
extern Lisp_Object Fapply (int, Lisp_Object *);
extern Lisp_Object Ffuncall (int, Lisp_Object *);
extern Lisp_Object Fbacktrace (void);
extern Lisp_Object apply1 (Lisp_Object, Lisp_Object);
extern Lisp_Object call0 (Lisp_Object);
extern Lisp_Object call1 (Lisp_Object, Lisp_Object);
extern Lisp_Object call2 (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object call3 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object call4 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object call5 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object call6 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fdo_auto_save (Lisp_Object, Lisp_Object);
extern Lisp_Object apply_lambda (Lisp_Object, Lisp_Object, int);
extern Lisp_Object internal_catch (Lisp_Object, Lisp_Object (*) (Lisp_Object), Lisp_Object);
extern Lisp_Object internal_lisp_condition_case (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object internal_condition_case (Lisp_Object (*) (void), Lisp_Object, Lisp_Object (*) (Lisp_Object));
extern Lisp_Object internal_condition_case_1 (Lisp_Object (*) (Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object (*) (Lisp_Object));
extern Lisp_Object internal_condition_case_2 (Lisp_Object (*) (int, Lisp_Object *), int, Lisp_Object *, Lisp_Object, Lisp_Object (*) (Lisp_Object));
extern void specbind (Lisp_Object, Lisp_Object);
extern void record_unwind_protect (Lisp_Object (*) (Lisp_Object), Lisp_Object);
extern Lisp_Object unbind_to (int, Lisp_Object);
extern void error ( ) __attribute__ ((__noreturn__));
extern void do_autoload (Lisp_Object, Lisp_Object);
extern Lisp_Object un_autoload (Lisp_Object);
extern Lisp_Object Ffetch_bytecode (Lisp_Object);
extern void init_eval_once (void);
extern Lisp_Object safe_call (int, Lisp_Object *);
extern Lisp_Object safe_call1 (Lisp_Object, Lisp_Object);
extern void init_eval (void);
extern void syms_of_eval (void);
extern Lisp_Object Fpropertize (int, Lisp_Object *);
extern Lisp_Object Fcurrent_message (void);
extern Lisp_Object Fgoto_char (Lisp_Object);
extern Lisp_Object Fpoint_min_marker (void);
extern Lisp_Object Fpoint_max_marker (void);
extern Lisp_Object Fpoint_min (void);
extern Lisp_Object Fpoint_max (void);
extern Lisp_Object Fpoint (void);
extern Lisp_Object Fpoint_marker (void);
extern Lisp_Object Fmark_marker (void);
extern Lisp_Object Fline_beginning_position (Lisp_Object);
extern Lisp_Object Fline_end_position (Lisp_Object);
extern Lisp_Object Ffollowing_char (void);
extern Lisp_Object Fprevious_char (void);
extern Lisp_Object Fchar_after (Lisp_Object);
extern Lisp_Object Finsert (int, Lisp_Object *);
extern Lisp_Object Finsert_and_inherit (int, Lisp_Object *);
extern Lisp_Object Finsert_before_markers (int, Lisp_Object *);
extern Lisp_Object Finsert_buffer_substring (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Finsert_char (Lisp_Object, Lisp_Object, Lisp_Object);
extern void insert1 (Lisp_Object);
extern Lisp_Object Feolp (void);
extern Lisp_Object Feobp (void);
extern Lisp_Object Fbolp (void);
extern Lisp_Object Fbobp (void);
extern Lisp_Object Fformat (int, Lisp_Object *);
extern Lisp_Object Fmessage (int, Lisp_Object *);
extern Lisp_Object format2 (char *, Lisp_Object, Lisp_Object);
extern Lisp_Object Fbuffer_substring (Lisp_Object, Lisp_Object);
extern Lisp_Object Fbuffer_string (void);
extern Lisp_Object save_excursion_save (void);
extern Lisp_Object save_restriction_save (void);
extern Lisp_Object save_excursion_restore (Lisp_Object);
extern Lisp_Object save_restriction_restore (Lisp_Object);
extern Lisp_Object Fchar_to_string (Lisp_Object);
extern Lisp_Object Fdelete_region (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnarrow_to_region (Lisp_Object, Lisp_Object);
extern Lisp_Object Fwiden (void);
extern Lisp_Object Fuser_login_name (Lisp_Object);
extern Lisp_Object Fsystem_name (void);
extern Lisp_Object Fcurrent_time (void);
extern int clip_to_bounds (int, int, int);
extern Lisp_Object make_buffer_string (int, int, int);
extern Lisp_Object make_buffer_string_both (int, int, int, int, int);
extern void init_editfns (void);
extern void syms_of_editfns (void);
extern Lisp_Object Vinhibit_field_text_motion;
extern Lisp_Object Fconstrain_to_field (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Ffield_string (Lisp_Object);
extern Lisp_Object Fdelete_field (Lisp_Object);
extern Lisp_Object Ffield_beginning (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Ffield_end (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Ffield_string_no_properties (Lisp_Object);
extern void set_time_zone_rule (char *);
extern int mouse_face_overlay_overlaps (Lisp_Object);
extern void nsberror (Lisp_Object) __attribute__ ((__noreturn__));
extern char *no_switch_window (Lisp_Object window);
extern Lisp_Object Fset_buffer_multibyte (Lisp_Object);
extern Lisp_Object Foverlay_start (Lisp_Object);
extern Lisp_Object Foverlay_end (Lisp_Object);
extern void adjust_overlays_for_insert (int, int);
extern void adjust_overlays_for_delete (int, int);
extern void fix_start_end_in_overlays (int, int);
extern void report_overlay_modification (Lisp_Object, Lisp_Object, int, Lisp_Object, Lisp_Object, Lisp_Object);
extern int overlay_touches_p (int);
extern Lisp_Object Vbuffer_alist, Vinhibit_read_only;
extern Lisp_Object Fget_buffer (Lisp_Object);
extern Lisp_Object Fget_buffer_create (Lisp_Object);
extern Lisp_Object Fset_buffer (Lisp_Object);
extern Lisp_Object set_buffer_if_live (Lisp_Object);
extern Lisp_Object Fbarf_if_buffer_read_only (void);
extern Lisp_Object Fcurrent_buffer (void);
extern Lisp_Object Fswitch_to_buffer (Lisp_Object, Lisp_Object);
extern Lisp_Object Fpop_to_buffer (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fother_buffer (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Foverlay_get (Lisp_Object, Lisp_Object);
extern Lisp_Object Fbuffer_modified_p (Lisp_Object);
extern Lisp_Object Fset_buffer_modified_p (Lisp_Object);
extern Lisp_Object Fkill_buffer (Lisp_Object);
extern Lisp_Object Fkill_all_local_variables (void);
extern Lisp_Object Fbuffer_disable_undo (Lisp_Object);
extern Lisp_Object Fbuffer_enable_undo (Lisp_Object);
extern Lisp_Object Ferase_buffer (void);
extern Lisp_Object Qoverlayp;
extern Lisp_Object Qevaporate;
extern Lisp_Object get_truename_buffer (Lisp_Object);
extern struct buffer *all_buffers;
extern Lisp_Object Fprevious_overlay_change (Lisp_Object);
extern Lisp_Object Fbuffer_file_name (Lisp_Object);
extern void init_buffer_once (void);
extern void init_buffer (void);
extern void syms_of_buffer (void);
extern void keys_of_buffer (void);
extern Lisp_Object Fmarker_position (Lisp_Object);
extern Lisp_Object Fmarker_buffer (Lisp_Object);
extern Lisp_Object Fcopy_marker (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_marker (Lisp_Object, Lisp_Object, Lisp_Object);
extern int marker_position (Lisp_Object);
extern int marker_byte_position (Lisp_Object);
extern void clear_charpos_cache (struct buffer *);
extern int charpos_to_bytepos (int);
extern int buf_charpos_to_bytepos (struct buffer *, int);
extern int buf_bytepos_to_charpos (struct buffer *, int);
extern void unchain_marker (struct Lisp_Marker *marker);
extern Lisp_Object set_marker_restricted (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object set_marker_both (Lisp_Object, Lisp_Object, int, int);
extern Lisp_Object set_marker_restricted_both (Lisp_Object, Lisp_Object, int, int);
extern void syms_of_marker (void);
extern Lisp_Object Qfile_error;
extern Lisp_Object Ffind_file_name_handler (Lisp_Object, Lisp_Object);
extern Lisp_Object Ffile_name_as_directory (Lisp_Object);
extern Lisp_Object Fmake_temp_name (Lisp_Object);
extern Lisp_Object Fexpand_file_name (Lisp_Object, Lisp_Object);
extern Lisp_Object Ffile_name_nondirectory (Lisp_Object);
extern Lisp_Object Fsubstitute_in_file_name (Lisp_Object);
extern Lisp_Object Ffile_symlink_p (Lisp_Object);
extern Lisp_Object Fverify_visited_file_modtime (Lisp_Object);
extern Lisp_Object Ffile_exists_p (Lisp_Object);
extern Lisp_Object Ffile_name_absolute_p (Lisp_Object);
extern Lisp_Object Fdirectory_file_name (Lisp_Object);
extern Lisp_Object Ffile_name_directory (Lisp_Object);
extern Lisp_Object expand_and_dir_to_file (Lisp_Object, Lisp_Object);
extern Lisp_Object Ffile_accessible_directory_p (Lisp_Object);
extern Lisp_Object Funhandled_file_name_directory (Lisp_Object);
extern Lisp_Object Ffile_directory_p (Lisp_Object);
extern Lisp_Object Fwrite_region (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Ffile_readable_p (Lisp_Object);
extern Lisp_Object Ffile_executable_p (Lisp_Object);
extern Lisp_Object Fread_file_name (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object close_file_unwind (Lisp_Object);
extern void report_file_error (const char *, Lisp_Object) __attribute__ ((__noreturn__));
extern int internal_delete_file (Lisp_Object);
extern void syms_of_fileio (void);
extern void init_fileio_once (void);
extern Lisp_Object make_temp_name (Lisp_Object, int);
extern Lisp_Object Fmake_symbolic_link (Lisp_Object, Lisp_Object, Lisp_Object);
extern void syms_of_abbrev (void);
extern void shrink_regexp_cache (void);
extern Lisp_Object Fstring_match (Lisp_Object, Lisp_Object, Lisp_Object);
extern void restore_search_regs (void);
extern Lisp_Object Fmatch_data (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_match_data (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmatch_beginning (Lisp_Object);
extern Lisp_Object Fmatch_end (Lisp_Object);
extern void record_unwind_save_match_data (void);
extern Lisp_Object Flooking_at (Lisp_Object);
extern int fast_string_match (Lisp_Object, Lisp_Object);
extern int fast_c_string_match_ignore_case (Lisp_Object, const char *);
extern int fast_string_match_ignore_case (Lisp_Object, Lisp_Object);
extern int scan_buffer (int, int, int, int, int *, int);
extern int scan_newline (int, int, int, int, int, int);
extern int find_next_newline (int, int);
extern int find_next_newline_no_quit (int, int);
extern int find_before_next_newline (int, int, int);
extern void syms_of_search (void);
extern void clear_regexp_cache (void);
extern Lisp_Object last_minibuf_string;
extern void choose_minibuf_frame (void);
extern Lisp_Object Fcompleting_read (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_from_minibuffer (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_variable (Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_buffer (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_minibuffer (Lisp_Object, Lisp_Object);
extern Lisp_Object Feval_minibuffer (Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_string (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_no_blanks_input (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object get_minibuffer (int);
extern void temp_echo_area_glyphs (Lisp_Object);
extern void init_minibuf_once (void);
extern void syms_of_minibuf (void);
extern void keys_of_minibuf (void);
extern Lisp_Object Qminus, Qplus, Vcurrent_prefix_arg;
extern Lisp_Object Vcommand_history;
extern Lisp_Object Qcall_interactively, Qmouse_leave_buffer_hook;
extern Lisp_Object Fcall_interactively (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fprefix_numeric_value (Lisp_Object);
extern void syms_of_callint (void);
extern Lisp_Object Fdowncase (Lisp_Object);
extern Lisp_Object Fupcase (Lisp_Object);
extern Lisp_Object Fcapitalize (Lisp_Object);
extern Lisp_Object Fupcase_region (Lisp_Object, Lisp_Object);
extern Lisp_Object Fupcase_initials (Lisp_Object);
extern Lisp_Object Fupcase_initials_region (Lisp_Object, Lisp_Object);
extern void syms_of_casefiddle (void);
extern void keys_of_casefiddle (void);
extern Lisp_Object Fset_case_table (Lisp_Object);
extern Lisp_Object Fset_standard_case_table (Lisp_Object);
extern void init_casetab_once (void);
extern void syms_of_casetab (void);
extern int echoing;
extern Lisp_Object echo_message_buffer;
extern struct kboard *echo_kboard;
extern void cancel_echoing (void);
extern Lisp_Object Qdisabled, QCfilter;
extern Lisp_Object Vtty_erase_char, Vhelp_form, Vtop_level;
extern Lisp_Object Vthrow_on_input;
extern int input_pending;
extern Lisp_Object Fdiscard_input (void);
extern Lisp_Object Frecursive_edit (void);
extern Lisp_Object Ftop_level (void);
extern Lisp_Object Fcommand_execute (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Finput_pending_p (void);
extern Lisp_Object menu_bar_items (Lisp_Object);
extern Lisp_Object tool_bar_items (Lisp_Object, int *);
extern Lisp_Object Qvertical_scroll_bar;
extern void discard_mouse_events (void);
extern Lisp_Object Fevent_convert_list (Lisp_Object);
extern Lisp_Object Fread_key_sequence (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_input_mode (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern int detect_input_pending (void);
extern int detect_input_pending_ignore_squeezables (void);
extern int detect_input_pending_run_timers (int);
extern void safe_run_hooks (Lisp_Object);
extern void cmd_error_internal (Lisp_Object, char *);
extern Lisp_Object command_loop_1 (void);
extern Lisp_Object recursive_edit_1 (void);
extern void record_auto_save (void);
extern void init_keyboard (void);
extern void syms_of_keyboard (void);
extern void keys_of_keyboard (void);
extern char *push_key_description (unsigned int, char *, int);
extern Lisp_Object Fvertical_motion (Lisp_Object, Lisp_Object);
extern Lisp_Object Findent_to (Lisp_Object, Lisp_Object);
extern Lisp_Object Fcurrent_column (void);
extern Lisp_Object Fmove_to_column (Lisp_Object, Lisp_Object);
extern double current_column (void);
extern void invalidate_current_column (void);
extern int indented_beyond_p (int, int, double);
extern void syms_of_indent (void);
extern Lisp_Object Vx_resource_name;
extern Lisp_Object Vx_resource_class;
extern Lisp_Object Qvisible;
extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object);
extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object);
extern Lisp_Object do_switch_frame (Lisp_Object, int, int);
extern Lisp_Object get_frame_param (struct frame *, Lisp_Object);
extern Lisp_Object frame_buffer_predicate (Lisp_Object);
extern Lisp_Object Fframep (Lisp_Object);
extern Lisp_Object Fselect_frame (Lisp_Object);
extern Lisp_Object Fselected_frame (void);
extern Lisp_Object Fwindow_frame (Lisp_Object);
extern Lisp_Object Fframe_root_window (Lisp_Object);
extern Lisp_Object Fframe_first_window (Lisp_Object);
extern Lisp_Object Fframe_selected_window (Lisp_Object);
extern Lisp_Object Fframe_list (void);
extern Lisp_Object Fnext_frame (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdelete_frame (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_mouse_position (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fmake_frame_visible (Lisp_Object);
extern Lisp_Object Fmake_frame_invisible (Lisp_Object, Lisp_Object);
extern Lisp_Object Ficonify_frame (Lisp_Object);
extern Lisp_Object Fframe_visible_p (Lisp_Object);
extern Lisp_Object Fvisible_frame_list (void);
extern Lisp_Object Fframe_parameter (Lisp_Object, Lisp_Object);
extern Lisp_Object Fframe_parameters (Lisp_Object);
extern Lisp_Object Fmodify_frame_parameters (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_frame_height (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_frame_width (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_frame_size (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_frame_position (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fraise_frame (Lisp_Object);
extern Lisp_Object Fredirect_frame_focus (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_frame_selected_window (Lisp_Object, Lisp_Object);
extern Lisp_Object frame_buffer_list (Lisp_Object);
extern void frames_discard_buffer (Lisp_Object);
extern void set_frame_buffer_list (Lisp_Object, Lisp_Object);
extern void frames_bury_buffer (Lisp_Object);
extern void syms_of_frame (void);
extern Lisp_Object decode_env_path (char *, char *);
extern Lisp_Object Vinvocation_name, Vinvocation_directory;
extern Lisp_Object Vinstallation_directory, empty_string;
extern Lisp_Object Fkill_emacs (Lisp_Object);
void fixup_locale (void);
void synchronize_system_messages_locale (void);
void synchronize_system_time_locale (void);
void shut_down_emacs (int, int, Lisp_Object);
extern int noninteractive;
extern int inhibit_window_system;
extern int running_asynch_code;
extern Lisp_Object Fget_process (Lisp_Object);
extern Lisp_Object Fget_buffer_process (Lisp_Object);
extern Lisp_Object Fprocessp (Lisp_Object);
extern Lisp_Object Fprocess_status (Lisp_Object);
extern Lisp_Object Fkill_process (Lisp_Object, Lisp_Object);
extern Lisp_Object Fprocess_send_eof (Lisp_Object);
extern Lisp_Object Fwaiting_for_user_input_p (void);
extern Lisp_Object Qprocessp;
extern void kill_buffer_processes (Lisp_Object);
extern int wait_reading_process_output (int, int, int, int, Lisp_Object, struct Lisp_Process *, int);
extern void add_keyboard_wait_descriptor (int);
extern void delete_keyboard_wait_descriptor (int);
extern void close_process_descs (void);
extern void emacs_init_process (void);
extern void syms_of_process (void);
extern void setup_process_coding_systems (Lisp_Object);
extern Lisp_Object Vexec_path, Vexec_suffixes,
Vexec_directory, Vdata_directory;
extern Lisp_Object Vdoc_directory;
extern Lisp_Object Fcall_process (int, Lisp_Object *);
extern int child_setup (int, int, int, char **, int, Lisp_Object);
extern void init_callproc_1 (void);
extern void init_callproc (void);
extern void set_process_environment (void);
extern void syms_of_callproc (void);
extern Lisp_Object Vdoc_file_name;
extern Lisp_Object Fsubstitute_command_keys (Lisp_Object);
extern Lisp_Object Fdocumentation (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdocumentation_property (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object read_doc_string (Lisp_Object);
extern Lisp_Object get_doc_string (Lisp_Object, int, int);
extern void syms_of_doc (void);
extern int read_bytecode_char (int);
extern Lisp_Object Qbytecode;
extern Lisp_Object Fbyte_code (Lisp_Object, Lisp_Object, Lisp_Object);
extern void syms_of_bytecode (void);
extern struct byte_stack *byte_stack_list;
extern void mark_byte_stack (void);
extern void unmark_byte_stack (void);
extern Lisp_Object Qexecute_kbd_macro;
extern Lisp_Object Fexecute_kbd_macro (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fcancel_kbd_macro_events (void);
extern void init_macros (void);
extern void syms_of_macros (void);
extern Lisp_Object Qinhibit_read_only;
extern Lisp_Object Fundo_boundary (void);
extern void truncate_undo_list (struct buffer *);
extern void record_marker_adjustment (Lisp_Object, int);
extern void record_insert (int, int);
extern void record_delete (int, Lisp_Object);
extern void record_first_change (void);
extern void record_change (int, int);
extern void record_property_change (int, int, Lisp_Object, Lisp_Object, Lisp_Object);
extern void syms_of_undo (void);
extern Lisp_Object Vundo_outer_limit;
extern Lisp_Object Qfont, Qmouse_face;
extern Lisp_Object Qinsert_in_front_hooks, Qinsert_behind_hooks;
extern Lisp_Object Fnext_single_property_change (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fnext_single_char_property_change (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fprevious_single_property_change (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fput_text_property (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fprevious_char_property_change (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnext_char_property_change (Lisp_Object, Lisp_Object);
extern void report_interval_modification (Lisp_Object, Lisp_Object);
extern Lisp_Object next_single_char_property_change (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fx_popup_menu (Lisp_Object, Lisp_Object);
extern Lisp_Object Fx_popup_dialog (Lisp_Object, Lisp_Object, Lisp_Object);
extern void syms_of_xmenu (void);
extern char *get_current_dir_name (void);
extern void stuff_char (char c);
extern void init_sigio (int);
extern void request_sigio (void);
extern void unrequest_sigio (void);
extern void reset_sys_modes (void);
extern void sys_subshell (void);
extern void sys_suspend (void);
extern void discard_tty_input (void);
extern void init_sys_modes (void);
extern void get_frame_size (int *, int *);
extern void wait_for_termination (int);
extern void flush_pending_output (int);
extern void child_setup_tty (int);
extern void setup_pty (int);
extern int set_window_size (int, int, int);
extern void create_process (Lisp_Object, char **, Lisp_Object);
extern int tabs_safe_p (void);
extern void init_baud_rate (void);
extern int emacs_open (const char *, int, int);
extern int emacs_close (int);
extern int emacs_read (int, char *, unsigned int);
extern int emacs_write (int, const char *, unsigned int);
extern Lisp_Object Funlock_buffer (void);
extern Lisp_Object Ffile_locked_p (Lisp_Object);
extern void unlock_all_files (void);
extern void lock_file (Lisp_Object);
extern void unlock_file (Lisp_Object);
extern void unlock_buffer (struct buffer *);
extern void syms_of_filelock (void);
extern void init_filelock (void);
extern void syms_of_sound (void);
extern void init_sound (void);
extern void init_category_once (void);
extern void syms_of_category (void);
extern void syms_of_ccl (void);
extern Lisp_Object Ffile_attributes (Lisp_Object, Lisp_Object);
extern void syms_of_dired (void);
extern void syms_of_term (void);
extern void fatal () __attribute__ ((__noreturn__));
extern void syms_of_fontset (void);
extern Lisp_Object Fset_fontset_font (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fxw_display_color_p (Lisp_Object);
extern Lisp_Object Fx_file_dialog (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fclear_face_cache (Lisp_Object);
extern void syms_of_xfaces (void);
# 3272 "lisp.h"
extern void syms_of_macfns (void);
extern void syms_of_macselect (void);
extern void syms_of_macterm (void);
extern void syms_of_macmenu (void);
extern void syms_of_mac (void);
extern void init_mac_osx_environment (void);
extern int initialized;
extern int immediate_quit;
extern void *xmalloc (size_t);
extern void *xrealloc (void *, size_t);
extern void xfree (void *);
extern char *xstrdup (const char *);
extern char *egetenv (char *);
extern void init_system_name (void);
# 3316 "lisp.h"
#define DIRECTORY_SEP '/'
#define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP)
#define IS_DEVICE_SEP(_c_) 0
#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_))
#define SWITCH_ENUM_CAST(x) (x)
# 3349 "lisp.h"
#define LIST_END_P(list,obj) (NILP (obj) ? 1 : (CONSP (obj) ? 0 : (wrong_type_argument (Qlistp, (list))), 1))
#define FOREACH(hare,list,tortoise,n) for (tortoise = hare = (list), n = 0; !LIST_END_P (list, hare); (hare = XCDR (hare), ++n, ((n & 1) != 0 ? (tortoise = XCDR (tortoise), (EQ (hare, tortoise) && (circular_list_error ((list)), 1))) : 0)))
# 3372 "lisp.h"
#define min(a,b) ((a) < (b) ? (a) : (b))
#define max(a,b) ((a) > (b) ? (a) : (b))
#define make_fixnum_or_float(val) (FIXNUM_OVERFLOW_P (val) ? make_float (val) : make_number ((EMACS_INT)(val)))
# 3397 "lisp.h"
#define CYCLE_CHECK(check,el,suspicious) (NILP (check) ? make_number (0) : (INTEGERP (check) ? (XFASTINT (check) < (suspicious) ? make_number (XFASTINT (check) + 1) : Fcons (el, Qnil)) : (!NILP (Fmemq ((el), (check))) ? Qnil : Fcons ((el), (check)))))
# 3412 "lisp.h"
#define MAX_ALLOCA 16*1024
extern Lisp_Object safe_alloca_unwind (Lisp_Object);
#define USE_SAFE_ALLOCA int sa_count = SPECPDL_INDEX (), sa_must_free = 0
#define SAFE_ALLOCA(buf,type,size) do { if ((size) < MAX_ALLOCA) buf = (type) alloca (size); else { buf = (type) xmalloc (size); sa_must_free++; record_unwind_protect (safe_alloca_unwind, make_save_value (buf, 0)); } } while (0)
# 3436 "lisp.h"
#define SAFE_FREE() do { if (sa_must_free) { sa_must_free = 0; unbind_to (sa_count, Qnil); } } while (0)
# 3447 "lisp.h"
#define SAFE_ALLOCA_LISP(buf,nelt) do { int size_ = (nelt) * sizeof (Lisp_Object); if (size_ < MAX_ALLOCA) buf = (Lisp_Object *) alloca (size_); else { Lisp_Object arg_; buf = (Lisp_Object *) xmalloc (size_); arg_ = make_save_value (buf, nelt); XSAVE_VALUE (arg_)->dogc = 1; sa_must_free++; record_unwind_protect (safe_alloca_unwind, arg_); } } while (0)
# 30 "mac.c" 2
# 1 "process.h" 1
# 23 "process.h"
# 1 "/usr/include/sys/types.h" 1 3 4
# 70 "/usr/include/sys/types.h" 3 4
#define _SYS_TYPES_H_
# 84 "/usr/include/sys/types.h" 3 4
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
#define _U_LONG
typedef unsigned short ushort;
typedef unsigned int uint;
typedef u_int64_t u_quad_t;
typedef int64_t quad_t;
typedef quad_t * qaddr_t;
typedef char * caddr_t;
typedef int32_t daddr_t;
typedef u_int32_t fixpt_t;
typedef __darwin_blkcnt_t blkcnt_t;
#define _BLKCNT_T
typedef __darwin_blksize_t blksize_t;
#define _BLKSIZE_T
typedef __darwin_gid_t gid_t;
#define _GID_T
#define _IN_ADDR_T
typedef __uint32_t in_addr_t;
#define _IN_PORT_T
typedef __uint16_t in_port_t;
typedef __darwin_ino_t ino_t;
#define _INO_T
typedef __darwin_ino64_t ino64_t;
#define _INO64_T
#define _KEY_T
typedef __int32_t key_t;
# 157 "/usr/include/sys/types.h" 3 4
typedef __uint16_t nlink_t;
#define _NLINK_T
# 176 "/usr/include/sys/types.h" 3 4
typedef int32_t segsz_t;
typedef int32_t swblk_t;
# 214 "/usr/include/sys/types.h" 3 4
#define major(x) ((int32_t)(((u_int32_t)(x) >> 24) & 0xff))
#define minor(x) ((int32_t)((x) & 0xffffff))
#define makedev(x,y) ((dev_t)(((x) << 24) | (y)))
#define _CLOCK_T
typedef __darwin_clock_t clock_t;
# 239 "/usr/include/sys/types.h" 3 4
#define _TIME_T
typedef __darwin_time_t time_t;
#define _USECONDS_T
typedef __darwin_useconds_t useconds_t;
#define _SUSECONDS_T
typedef __darwin_suseconds_t suseconds_t;
# 259 "/usr/include/sys/types.h" 3 4
#define __need_fd_set
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 165 "/usr/include/sys/_structs.h" 3 4
#undef __need_fd_set
#define _FD_SET
# 177 "/usr/include/sys/_structs.h" 3 4
#define __DARWIN_FD_SETSIZE 1024
#define __DARWIN_NBBY 8
#define __DARWIN_NFDBITS (sizeof(__int32_t) * __DARWIN_NBBY)
#define __DARWIN_howmany(x,y) (((x) + ((y) - 1)) / (y))
typedef struct fd_set {
__int32_t fds_bits[(((1024) + (((sizeof(__int32_t) * 8)) - 1)) / ((sizeof(__int32_t) * 8)))];
} fd_set;
static __inline int
__darwin_fd_isset(int _n, struct fd_set *_p)
{
return (_p->fds_bits[_n/(sizeof(__int32_t) * 8)] & (1<<(_n % (sizeof(__int32_t) * 8))));
}
#define __DARWIN_FD_SET(n,p) do { int __fd = (n); ((p)->fds_bits[__fd/__DARWIN_NFDBITS] |= (1<<(__fd % __DARWIN_NFDBITS))); } while(0)
#define __DARWIN_FD_CLR(n,p) do { int __fd = (n); ((p)->fds_bits[__fd/__DARWIN_NFDBITS] &= ~(1<<(__fd % __DARWIN_NFDBITS))); } while(0)
#define __DARWIN_FD_ISSET(n,p) __darwin_fd_isset((n), (p))
#define __DARWIN_FD_ZERO(p) __builtin_bzero(p, sizeof(*(p)))
#define __DARWIN_FD_COPY(f,t) bcopy(f, t, sizeof(*(f)))
# 261 "/usr/include/sys/types.h" 2 3 4
#define NBBY __DARWIN_NBBY
#define NFDBITS __DARWIN_NFDBITS
#define howmany(x,y) __DARWIN_howmany(x, y)
typedef __int32_t fd_mask;
# 274 "/usr/include/sys/types.h" 3 4
#define FD_SETSIZE __DARWIN_FD_SETSIZE
#define FD_SET(n,p) __DARWIN_FD_SET(n, p)
#define FD_CLR(n,p) __DARWIN_FD_CLR(n, p)
#define FD_ISSET(n,p) __DARWIN_FD_ISSET(n, p)
#define FD_ZERO(p) __DARWIN_FD_ZERO(p)
#define FD_COPY(f,t) __DARWIN_FD_COPY(f, t)
# 321 "/usr/include/sys/types.h" 3 4
#define _PTHREAD_COND_T
typedef __darwin_pthread_cond_t pthread_cond_t;
#define _PTHREAD_CONDATTR_T
typedef __darwin_pthread_condattr_t pthread_condattr_t;
#define _PTHREAD_MUTEX_T
typedef __darwin_pthread_mutex_t pthread_mutex_t;
#define _PTHREAD_MUTEXATTR_T
typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t;
#define _PTHREAD_ONCE_T
typedef __darwin_pthread_once_t pthread_once_t;
#define _PTHREAD_RWLOCK_T
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
#define _PTHREAD_RWLOCKATTR_T
typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t;
#define _PTHREAD_T
typedef __darwin_pthread_t pthread_t;
#define _PTHREAD_KEY_T
typedef __darwin_pthread_key_t pthread_key_t;
#define _FSBLKCNT_T
typedef __darwin_fsblkcnt_t fsblkcnt_t;
#define _FSFILCNT_T
typedef __darwin_fsfilcnt_t fsfilcnt_t;
# 24 "process.h" 2
# 1 "/usr/include/unistd.h" 1 3 4
# 69 "/usr/include/unistd.h" 3 4
#define _UNISTD_H_
# 1 "/usr/include/sys/unistd.h" 1 3 4
# 65 "/usr/include/sys/unistd.h" 3 4
#define _SYS_UNISTD_H_
# 79 "/usr/include/sys/unistd.h" 3 4
#define _POSIX_VERSION 200112L
#define _POSIX2_VERSION 200112L
#define _POSIX_VDISABLE ((unsigned char)'\377')
#define _POSIX_THREAD_KEYS_MAX 128
#define F_OK 0
#define X_OK (1<<0)
#define W_OK (1<<1)
#define R_OK (1<<2)
#define _READ_OK (1<<9)
#define _WRITE_OK (1<<10)
#define _EXECUTE_OK (1<<11)
#define _DELETE_OK (1<<12)
#define _APPEND_OK (1<<13)
#define _RMFILE_OK (1<<14)
#define _RATTR_OK (1<<15)
#define _WATTR_OK (1<<16)
#define _REXT_OK (1<<17)
#define _WEXT_OK (1<<18)
#define _RPERM_OK (1<<19)
#define _WPERM_OK (1<<20)
#define _CHOWN_OK (1<<21)
#define _ACCESS_EXTENDED_MASK (_READ_OK | _WRITE_OK | _EXECUTE_OK | _DELETE_OK | _APPEND_OK | _RMFILE_OK | _REXT_OK | _WEXT_OK | _RATTR_OK | _WATTR_OK | _RPERM_OK | _WPERM_OK | _CHOWN_OK)
# 132 "/usr/include/sys/unistd.h" 3 4
#define L_SET SEEK_SET
#define L_INCR SEEK_CUR
#define L_XTND SEEK_END
struct accessx_descriptor {
unsigned int ad_name_offset;
int ad_flags;
int ad_pad[2];
};
#define ACCESSX_MAX_DESCRIPTORS 100
#define ACCESSX_MAX_TABLESIZE (16 * 1024)
#define _PC_LINK_MAX 1
#define _PC_MAX_CANON 2
#define _PC_MAX_INPUT 3
#define _PC_NAME_MAX 4
#define _PC_PATH_MAX 5
#define _PC_PIPE_BUF 6
#define _PC_CHOWN_RESTRICTED 7
#define _PC_NO_TRUNC 8
#define _PC_VDISABLE 9
#define _PC_NAME_CHARS_MAX 10
#define _PC_CASE_SENSITIVE 11
#define _PC_CASE_PRESERVING 12
#define _PC_EXTENDED_SECURITY_NP 13
#define _PC_AUTH_OPAQUE_NP 14
#define _PC_2_SYMLINKS 15
#define _PC_ALLOC_SIZE_MIN 16
#define _PC_ASYNC_IO 17
#define _PC_FILESIZEBITS 18
#define _PC_PRIO_IO 19
#define _PC_REC_INCR_XFER_SIZE 20
#define _PC_REC_MAX_XFER_SIZE 21
#define _PC_REC_MIN_XFER_SIZE 22
#define _PC_REC_XFER_ALIGN 23
#define _PC_SYMLINK_MAX 24
#define _PC_SYNC_IO 25
#define _CS_PATH 1
# 73 "/usr/include/unistd.h" 2 3 4
# 132 "/usr/include/unistd.h" 3 4
#define _UUID_T
typedef __darwin_uuid_t uuid_t;
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
#define _XOPEN_VERSION 600
#define _XOPEN_XCU_VERSION 4
#define _POSIX_ADVISORY_INFO (-1)
#define _POSIX_ASYNCHRONOUS_IO (-1)
#define _POSIX_BARRIERS (-1)
#define _POSIX_CHOWN_RESTRICTED 200112L
#define _POSIX_CLOCK_SELECTION (-1)
#define _POSIX_CPUTIME (-1)
#define _POSIX_FSYNC 200112L
#define _POSIX_IPV6 200112L
#define _POSIX_JOB_CONTROL 200112L
#define _POSIX_MAPPED_FILES 200112L
#define _POSIX_MEMLOCK (-1)
#define _POSIX_MEMLOCK_RANGE (-1)
#define _POSIX_MEMORY_PROTECTION 200112L
#define _POSIX_MESSAGE_PASSING (-1)
#define _POSIX_MONOTONIC_CLOCK (-1)
#define _POSIX_NO_TRUNC 200112L
#define _POSIX_PRIORITIZED_IO (-1)
#define _POSIX_PRIORITY_SCHEDULING (-1)
#define _POSIX_RAW_SOCKETS (-1)
#define _POSIX_READER_WRITER_LOCKS 200112L
#define _POSIX_REALTIME_SIGNALS (-1)
#define _POSIX_REGEXP 200112L
#define _POSIX_SAVED_IDS 200112L
#define _POSIX_SEMAPHORES (-1)
#define _POSIX_SHARED_MEMORY_OBJECTS (-1)
#define _POSIX_SHELL 200112L
#define _POSIX_SPAWN (-1)
#define _POSIX_SPIN_LOCKS (-1)
#define _POSIX_SPORADIC_SERVER (-1)
#define _POSIX_SYNCHRONIZED_IO (-1)
#define _POSIX_THREAD_ATTR_STACKADDR 200112L
#define _POSIX_THREAD_ATTR_STACKSIZE 200112L
#define _POSIX_THREAD_CPUTIME (-1)
#define _POSIX_THREAD_PRIO_INHERIT (-1)
#define _POSIX_THREAD_PRIO_PROTECT (-1)
#define _POSIX_THREAD_PRIORITY_SCHEDULING (-1)
#define _POSIX_THREAD_PROCESS_SHARED 200112L
#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L
#define _POSIX_THREAD_SPORADIC_SERVER (-1)
#define _POSIX_THREADS 200112L
#define _POSIX_TIMEOUTS (-1)
#define _POSIX_TIMERS (-1)
#define _POSIX_TRACE (-1)
#define _POSIX_TRACE_EVENT_FILTER (-1)
#define _POSIX_TRACE_INHERIT (-1)
#define _POSIX_TRACE_LOG (-1)
#define _POSIX_TYPED_MEMORY_OBJECTS (-1)
#define _POSIX2_C_BIND 200112L
#define _POSIX2_C_DEV 200112L
#define _POSIX2_CHAR_TERM 200112L
#define _POSIX2_FORT_DEV (-1)
#define _POSIX2_FORT_RUN 200112L
#define _POSIX2_LOCALEDEF 200112L
#define _POSIX2_PBS (-1)
#define _POSIX2_PBS_ACCOUNTING (-1)
#define _POSIX2_PBS_CHECKPOINT (-1)
#define _POSIX2_PBS_LOCATE (-1)
#define _POSIX2_PBS_MESSAGE (-1)
#define _POSIX2_PBS_TRACK (-1)
#define _POSIX2_SW_DEV 200112L
#define _POSIX2_UPE 200112L
#define _V6_ILP32_OFF32 (-1)
#define _V6_ILP32_OFFBIG (1)
#define _V6_LP64_OFF64 (-1)
#define _V6_LPBIG_OFFBIG (-1)
#define _XBS5_ILP32_OFF32 _V6_ILP32_OFF32
#define _XBS5_ILP32_OFFBIG _V6_ILP32_OFFBIG
#define _XBS5_LP64_OFF64 _V6_LP64_OFF64
#define _XBS5_LPBIG_OFFBIG _V6_LPBIG_OFFBIG
#define _XOPEN_CRYPT (1)
#define _XOPEN_ENH_I18N (1)
#define _XOPEN_LEGACY (-1)
#define _XOPEN_REALTIME (-1)
#define _XOPEN_REALTIME_THREADS (-1)
#define _XOPEN_SHM (1)
#define _XOPEN_STREAMS (-1)
#define _XOPEN_UNIX (1)
#define F_ULOCK 0
#define F_LOCK 1
#define F_TLOCK 2
#define F_TEST 3
#define _SC_ARG_MAX 1
#define _SC_CHILD_MAX 2
#define _SC_CLK_TCK 3
#define _SC_NGROUPS_MAX 4
#define _SC_OPEN_MAX 5
#define _SC_JOB_CONTROL 6
#define _SC_SAVED_IDS 7
#define _SC_VERSION 8
#define _SC_BC_BASE_MAX 9
#define _SC_BC_DIM_MAX 10
#define _SC_BC_SCALE_MAX 11
#define _SC_BC_STRING_MAX 12
#define _SC_COLL_WEIGHTS_MAX 13
#define _SC_EXPR_NEST_MAX 14
#define _SC_LINE_MAX 15
#define _SC_RE_DUP_MAX 16
#define _SC_2_VERSION 17
#define _SC_2_C_BIND 18
#define _SC_2_C_DEV 19
#define _SC_2_CHAR_TERM 20
#define _SC_2_FORT_DEV 21
#define _SC_2_FORT_RUN 22
#define _SC_2_LOCALEDEF 23
#define _SC_2_SW_DEV 24
#define _SC_2_UPE 25
#define _SC_STREAM_MAX 26
#define _SC_TZNAME_MAX 27
#define _SC_ASYNCHRONOUS_IO 28
#define _SC_PAGESIZE 29
#define _SC_MEMLOCK 30
#define _SC_MEMLOCK_RANGE 31
#define _SC_MEMORY_PROTECTION 32
#define _SC_MESSAGE_PASSING 33
#define _SC_PRIORITIZED_IO 34
#define _SC_PRIORITY_SCHEDULING 35
#define _SC_REALTIME_SIGNALS 36
#define _SC_SEMAPHORES 37
#define _SC_FSYNC 38
#define _SC_SHARED_MEMORY_OBJECTS 39
#define _SC_SYNCHRONIZED_IO 40
#define _SC_TIMERS 41
#define _SC_AIO_LISTIO_MAX 42
#define _SC_AIO_MAX 43
#define _SC_AIO_PRIO_DELTA_MAX 44
#define _SC_DELAYTIMER_MAX 45
#define _SC_MQ_OPEN_MAX 46
#define _SC_MAPPED_FILES 47
#define _SC_RTSIG_MAX 48
#define _SC_SEM_NSEMS_MAX 49
#define _SC_SEM_VALUE_MAX 50
#define _SC_SIGQUEUE_MAX 51
#define _SC_TIMER_MAX 52
#define _SC_NPROCESSORS_CONF 57
#define _SC_NPROCESSORS_ONLN 58
#define _SC_2_PBS 59
#define _SC_2_PBS_ACCOUNTING 60
#define _SC_2_PBS_CHECKPOINT 61
#define _SC_2_PBS_LOCATE 62
#define _SC_2_PBS_MESSAGE 63
#define _SC_2_PBS_TRACK 64
#define _SC_ADVISORY_INFO 65
#define _SC_BARRIERS 66
#define _SC_CLOCK_SELECTION 67
#define _SC_CPUTIME 68
#define _SC_FILE_LOCKING 69
#define _SC_GETGR_R_SIZE_MAX 70
#define _SC_GETPW_R_SIZE_MAX 71
#define _SC_HOST_NAME_MAX 72
#define _SC_LOGIN_NAME_MAX 73
#define _SC_MONOTONIC_CLOCK 74
#define _SC_MQ_PRIO_MAX 75
#define _SC_READER_WRITER_LOCKS 76
#define _SC_REGEXP 77
#define _SC_SHELL 78
#define _SC_SPAWN 79
#define _SC_SPIN_LOCKS 80
#define _SC_SPORADIC_SERVER 81
#define _SC_THREAD_ATTR_STACKADDR 82
#define _SC_THREAD_ATTR_STACKSIZE 83
#define _SC_THREAD_CPUTIME 84
#define _SC_THREAD_DESTRUCTOR_ITERATIONS 85
#define _SC_THREAD_KEYS_MAX 86
#define _SC_THREAD_PRIO_INHERIT 87
#define _SC_THREAD_PRIO_PROTECT 88
#define _SC_THREAD_PRIORITY_SCHEDULING 89
#define _SC_THREAD_PROCESS_SHARED 90
#define _SC_THREAD_SAFE_FUNCTIONS 91
#define _SC_THREAD_SPORADIC_SERVER 92
#define _SC_THREAD_STACK_MIN 93
#define _SC_THREAD_THREADS_MAX 94
#define _SC_TIMEOUTS 95
#define _SC_THREADS 96
#define _SC_TRACE 97
#define _SC_TRACE_EVENT_FILTER 98
#define _SC_TRACE_INHERIT 99
#define _SC_TRACE_LOG 100
#define _SC_TTY_NAME_MAX 101
#define _SC_TYPED_MEMORY_OBJECTS 102
#define _SC_V6_ILP32_OFF32 103
#define _SC_V6_ILP32_OFFBIG 104
#define _SC_V6_LP64_OFF64 105
#define _SC_V6_LPBIG_OFFBIG 106
#define _SC_IPV6 118
#define _SC_RAW_SOCKETS 119
#define _SC_SYMLOOP_MAX 120
#define _SC_ATEXIT_MAX 107
#define _SC_IOV_MAX 56
#define _SC_PAGE_SIZE _SC_PAGESIZE
#define _SC_XOPEN_CRYPT 108
#define _SC_XOPEN_ENH_I18N 109
#define _SC_XOPEN_LEGACY 110
#define _SC_XOPEN_REALTIME 111
#define _SC_XOPEN_REALTIME_THREADS 112
#define _SC_XOPEN_SHM 113
#define _SC_XOPEN_STREAMS 114
#define _SC_XOPEN_UNIX 115
#define _SC_XOPEN_VERSION 116
#define _SC_XOPEN_XCU_VERSION 121
#define _SC_XBS5_ILP32_OFF32 122
#define _SC_XBS5_ILP32_OFFBIG 123
#define _SC_XBS5_LP64_OFF64 124
#define _SC_XBS5_LPBIG_OFFBIG 125
#define _SC_SS_REPL_MAX 126
#define _SC_TRACE_EVENT_NAME_MAX 127
#define _SC_TRACE_NAME_MAX 128
#define _SC_TRACE_SYS_MAX 129
#define _SC_TRACE_USER_EVENT_MAX 130
#define _SC_PASS_MAX 131
#define _CS_POSIX_V6_ILP32_OFF32_CFLAGS 2
#define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS 3
#define _CS_POSIX_V6_ILP32_OFF32_LIBS 4
#define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS 5
#define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS 6
#define _CS_POSIX_V6_ILP32_OFFBIG_LIBS 7
#define _CS_POSIX_V6_LP64_OFF64_CFLAGS 8
#define _CS_POSIX_V6_LP64_OFF64_LDFLAGS 9
#define _CS_POSIX_V6_LP64_OFF64_LIBS 10
#define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS 11
#define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS 12
#define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS 13
#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 14
#define _CS_XBS5_ILP32_OFF32_CFLAGS 20
#define _CS_XBS5_ILP32_OFF32_LDFLAGS 21
#define _CS_XBS5_ILP32_OFF32_LIBS 22
#define _CS_XBS5_ILP32_OFF32_LINTFLAGS 23
#define _CS_XBS5_ILP32_OFFBIG_CFLAGS 24
#define _CS_XBS5_ILP32_OFFBIG_LDFLAGS 25
#define _CS_XBS5_ILP32_OFFBIG_LIBS 26
#define _CS_XBS5_ILP32_OFFBIG_LINTFLAGS 27
#define _CS_XBS5_LP64_OFF64_CFLAGS 28
#define _CS_XBS5_LP64_OFF64_LDFLAGS 29
#define _CS_XBS5_LP64_OFF64_LIBS 30
#define _CS_XBS5_LP64_OFF64_LINTFLAGS 31
#define _CS_XBS5_LPBIG_OFFBIG_CFLAGS 32
#define _CS_XBS5_LPBIG_OFFBIG_LDFLAGS 33
#define _CS_XBS5_LPBIG_OFFBIG_LIBS 34
#define _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS 35
#define _CS_DARWIN_USER_DIR 65536
#define _CS_DARWIN_USER_TEMP_DIR 65537
#define _CS_DARWIN_USER_CACHE_DIR 65538
void _exit(int) __attribute__((__noreturn__));
int access(const char *, int);
unsigned int
alarm(unsigned int);
int chdir(const char *);
int chown(const char *, uid_t, gid_t);
int close(int) __asm("_" "close" "$UNIX2003");
size_t confstr(int, char *, size_t) __asm("_" "confstr" "$UNIX2003");
char *crypt(const char *, const char *);
char *ctermid(char *);
int dup(int);
int dup2(int, int);
void encrypt(char *, int) __asm("_" "encrypt" "$UNIX2003");
int execl(const char *, const char *, ...);
int execle(const char *, const char *, ...);
int execlp(const char *, const char *, ...);
int execv(const char *, char * const *);
int execve(const char *, char * const *, char * const *);
int execvp(const char *, char * const *);
int fchown(int, uid_t, gid_t);
int fchdir(int);
pid_t fork(void);
long fpathconf(int, int);
int fsync(int) __asm("_" "fsync" "$UNIX2003");
int ftruncate(int, off_t);
char *getcwd(char *, size_t);
gid_t getegid(void);
uid_t geteuid(void);
gid_t getgid(void);
int getgroups(int, gid_t []);
long gethostid(void);
int gethostname(char *, size_t);
char *getlogin(void);
int getlogin_r(char *, size_t);
int getopt(int, char * const [], const char *) __asm("_" "getopt" "$UNIX2003");
pid_t getpgid(pid_t);
pid_t getpgrp(void);
pid_t getpid(void);
pid_t getppid(void);
pid_t getsid(pid_t);
uid_t getuid(void);
char *getwd(char *);
int isatty(int);
int lchown(const char *, uid_t, gid_t) __asm("_" "lchown" "$UNIX2003");
int link(const char *, const char *);
int lockf(int, int, off_t) __asm("_" "lockf" "$UNIX2003");
off_t lseek(int, off_t, int);
int nice(int) __asm("_" "nice" "$UNIX2003");
long pathconf(const char *, int);
int pause(void) __asm("_" "pause" "$UNIX2003");
int pipe(int [2]);
ssize_t pread(int, void *, size_t, off_t) __asm("_" "pread" "$UNIX2003");
ssize_t pwrite(int, const void *, size_t, off_t) __asm("_" "pwrite" "$UNIX2003");
ssize_t read(int, void *, size_t) __asm("_" "read" "$UNIX2003");
ssize_t readlink(const char * , char * , size_t);
int rmdir(const char *);
int setegid(gid_t);
int seteuid(uid_t);
int setgid(gid_t);
int setpgid(pid_t, pid_t);
pid_t setpgrp(void) __asm("_" "setpgrp" "$UNIX2003");
int setregid(gid_t, gid_t) __asm("_" "setregid" "$UNIX2003");
int setreuid(uid_t, uid_t) __asm("_" "setreuid" "$UNIX2003");
pid_t setsid(void);
int setuid(uid_t);
unsigned int
sleep(unsigned int) __asm("_" "sleep" "$UNIX2003");
void swab(const void * , void * , ssize_t);
int symlink(const char *, const char *);
void sync(void);
long sysconf(int);
pid_t tcgetpgrp(int);
int tcsetpgrp(int, pid_t);
int truncate(const char *, off_t);
char *ttyname(int);
int ttyname_r(int, char *, size_t) __asm("_" "ttyname_r" "$UNIX2003");
useconds_t
ualarm(useconds_t, useconds_t);
int unlink(const char *);
int usleep(useconds_t) __asm("_" "usleep" "$UNIX2003");
pid_t fork(void);
ssize_t write(int, const void *, size_t) __asm("_" "write" "$UNIX2003");
extern char *optarg;
extern int optind, opterr, optopt;
# 1 "/usr/include/sys/select.h" 1 3 4
# 64 "/usr/include/sys/select.h" 3 4
#define _SYS_SELECT_H_
# 75 "/usr/include/sys/select.h" 3 4
#define __need_fd_set
#define __need_struct_timespec
#define __need_struct_timeval
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 85 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timespec
#define _STRUCT_TIMESPEC struct timespec
struct timespec
{
__darwin_time_t tv_sec;
long tv_nsec;
};
#undef __need_struct_timeval
# 165 "/usr/include/sys/_structs.h" 3 4
#undef __need_fd_set
# 79 "/usr/include/sys/select.h" 2 3 4
# 134 "/usr/include/sys/select.h" 3 4
int pselect(int, fd_set * , fd_set * ,
fd_set * , const struct timespec * ,
const sigset_t * )
__asm("_" "pselect" "$UNIX2003")
;
# 1 "/usr/include/sys/_select.h" 1 3 4
# 37 "/usr/include/sys/_select.h" 3 4
#define _SYS__SELECT_H_
int sys_select(int, fd_set * , fd_set * ,
fd_set * , struct timeval * )
__asm("_" "sys_select" "$UNIX2003")
;
# 153 "/usr/include/sys/select.h" 2 3 4
# 516 "/usr/include/unistd.h" 2 3 4
void _Exit(int) __attribute__((__noreturn__));
int accessx_np(const struct accessx_descriptor *, size_t, int *, uid_t);
int acct(const char *);
int add_profil(char *, size_t, unsigned long, unsigned int);
void *brk(const void *);
int chroot(const char *);
void endusershell(void);
int execvP(const char *, const char *, char * const *);
char *fflagstostr(unsigned long);
int getdtablesize(void);
int getdomainname(char *, int);
int getgrouplist(const char *, int, int *, int *);
mode_t getmode(const void *, mode_t);
int getpagesize(void) __attribute__((__const__));
char *getpass(const char *);
int getpeereid(int, uid_t *, gid_t *);
int getpgid(pid_t _pid);
int getsgroups_np(int *, uuid_t);
int getsid(pid_t _pid);
char *getusershell(void);
int getwgroups_np(int *, uuid_t);
int initgroups(const char *, int);
int iruserok(unsigned long, int, const char *, const char *);
int iruserok_sa(const void *, int, int, const char *, const char *);
int issetugid(void);
char *mkdtemp(char *);
int mknod(const char *, mode_t, dev_t);
int mkstemp(char *);
int mkstemps(char *, int);
char *mktemp(char *);
int nfssvc(int, void *);
int profil(char *, size_t, unsigned long, unsigned int);
int pthread_setugid_np(uid_t, gid_t);
int pthread_getugid_np( uid_t *, gid_t *);
int rcmd(char **, int, const char *, const char *, const char *, int *);
int rcmd_af(char **, int, const char *, const char *, const char *, int *,
int);
int reboot(int);
int revoke(const char *);
int rresvport(int *);
int rresvport_af(int *, int);
int ruserok(const char *, int, const char *, const char *);
void *sbrk(int);
int setdomainname(const char *, int);
int setgroups(int, const gid_t *);
void sethostid(long);
int sethostname(const char *, int);
void setkey(const char *) __asm("_" "setkey" "$UNIX2003");
int setlogin(const char *);
void *setmode(const char *);
int setrgid(gid_t);
int setruid(uid_t);
int setsgroups_np(int, const uuid_t);
void setusershell(void);
int setwgroups_np(int, const uuid_t);
int strtofflags(char **, unsigned long *, unsigned long *);
int swapon(const char *);
int syscall(int, ...);
int ttyslot(void);
int undelete(const char *);
int unwhiteout(const char *);
void *valloc(size_t);
extern char *suboptarg;
int getsubopt(char **, char * const *, char **);
# 597 "/usr/include/unistd.h" 3 4
int getattrlist(const char*,void*,void*,size_t,unsigned long) __asm("_" "getattrlist" "$UNIX2003");
int setattrlist(const char*,void*,void*,size_t,unsigned long) __asm("_" "setattrlist" "$UNIX2003");
int exchangedata(const char*,const char*,unsigned long);
int getdirentriesattr(int,void*,void*,size_t,unsigned long*,unsigned long*,unsigned long*,unsigned long);
int searchfs(const char*,void*,void*,unsigned long,unsigned long,void*);
int fsctl(const char *,unsigned long,void*,unsigned long);
extern int optreset;
# 27 "process.h" 2
# 35 "process.h"
struct Lisp_Process
{
int size;
struct Lisp_Vector *v_next;
Lisp_Object infd;
Lisp_Object outfd;
Lisp_Object tty_name;
Lisp_Object name;
Lisp_Object command;
Lisp_Object filter;
Lisp_Object sentinel;
Lisp_Object log;
Lisp_Object buffer;
Lisp_Object childp;
Lisp_Object plist;
Lisp_Object mark;
Lisp_Object kill_without_query;
Lisp_Object status;
Lisp_Object pty_flag;
Lisp_Object tick;
Lisp_Object update_tick;
Lisp_Object decode_coding_system;
Lisp_Object decoding_buf;
Lisp_Object decoding_carryover;
Lisp_Object encode_coding_system;
Lisp_Object encoding_buf;
Lisp_Object encoding_carryover;
Lisp_Object inherit_coding_system_flag;
Lisp_Object filter_multibyte;
Lisp_Object adaptive_read_buffering;
Lisp_Object read_output_delay;
Lisp_Object read_output_skip;
pid_t pid;
unsigned int raw_status_new : 1;
int raw_status;
};
#define ChannelMask(n) (1<<(n))
extern Lisp_Object chan_process[];
extern Lisp_Object Vprocess_alist;
extern int synch_process_alive;
extern char *synch_process_death;
extern int synch_process_termsig;
extern int synch_process_retcode;
#define NULL_DEVICE "/dev/null"
extern int inhibit_sentinels;
# 31 "mac.c" 2
#undef select
# 1 "systime.h" 1
# 23 "systime.h"
#define EMACS_SYSTIME_H
# 1 "/usr/include/sys/time.h" 1 3 4
# 65 "/usr/include/sys/time.h" 3 4
#define _SYS_TIME_H_
# 74 "/usr/include/sys/time.h" 3 4
#define __need_fd_set
#define __need_struct_timespec
#define __need_struct_timeval
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 85 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timespec
# 97 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timeval
# 165 "/usr/include/sys/_structs.h" 3 4
#undef __need_fd_set
# 78 "/usr/include/sys/time.h" 2 3 4
# 93 "/usr/include/sys/time.h" 3 4
struct itimerval {
struct timeval it_interval;
struct timeval it_value;
};
#define ITIMER_REAL 0
#define ITIMER_VIRTUAL 1
#define ITIMER_PROF 2
# 135 "/usr/include/sys/time.h" 3 4
#define TIMEVAL_TO_TIMESPEC(tv,ts) { (ts)->tv_sec = (tv)->tv_sec; (ts)->tv_nsec = (tv)->tv_usec * 1000; }
#define TIMESPEC_TO_TIMEVAL(tv,ts) { (tv)->tv_sec = (ts)->tv_sec; (tv)->tv_usec = (ts)->tv_nsec / 1000; }
struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
#define DST_NONE 0
#define DST_USA 1
#define DST_AUST 2
#define DST_WET 3
#define DST_MET 4
#define DST_EET 5
#define DST_CAN 6
#define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
#define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
#define timercmp(tvp,uvp,cmp) (((tvp)->tv_sec == (uvp)->tv_sec) ? ((tvp)->tv_usec cmp (uvp)->tv_usec) : ((tvp)->tv_sec cmp (uvp)->tv_sec))
#define timeradd(tvp,uvp,vvp) do { (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; if ((vvp)->tv_usec >= 1000000) { (vvp)->tv_sec++; (vvp)->tv_usec -= 1000000; } } while (0)
# 172 "/usr/include/sys/time.h" 3 4
#define timersub(tvp,uvp,vvp) do { (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; if ((vvp)->tv_usec < 0) { (vvp)->tv_sec--; (vvp)->tv_usec += 1000000; } } while (0)
# 182 "/usr/include/sys/time.h" 3 4
#define timevalcmp(l,r,cmp) timercmp(l, r, cmp)
struct clockinfo {
int hz;
int tick;
int tickadj;
int stathz;
int profhz;
};
# 1 "/usr/include/time.h" 1 3 4
# 64 "/usr/include/time.h" 3 4
#define _TIME_H_
#define __need_struct_timespec
# 1 "/usr/include/_structs.h" 1 3 4
# 24 "/usr/include/_structs.h" 3 4
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 85 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timespec
# 25 "/usr/include/_structs.h" 2 3 4
# 70 "/usr/include/time.h" 2 3 4
# 90 "/usr/include/time.h" 3 4
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
long tm_gmtoff;
char *tm_zone;
};
#define CLOCKS_PER_SEC 1000000
extern char *tzname[];
extern int getdate_err;
extern long timezone __asm("_" "timezone" "$UNIX2003");
extern int daylight;
char *asctime(const struct tm *);
clock_t clock(void) __asm("_" "clock" "$UNIX2003");
char *ctime(const time_t *);
double difftime(time_t, time_t);
struct tm *getdate(const char *);
struct tm *gmtime(const time_t *);
struct tm *localtime(const time_t *);
time_t emacs_mktime(struct tm *) __asm("_" "emacs_mktime" "$UNIX2003");
size_t strftime(char * , size_t, const char * , const struct tm * ) __asm("_" "strftime" "$UNIX2003");
char *strptime(const char * , const char * , struct tm * ) __asm("_" "strptime" "$UNIX2003");
time_t time(time_t *);
void tzset(void);
char *asctime_r(const struct tm * , char * );
char *ctime_r(const time_t *, char *);
struct tm *gmtime_r(const time_t * , struct tm * );
struct tm *localtime_r(const time_t * , struct tm * );
time_t posix2time(time_t);
void tzsetwall(void);
time_t time2posix(time_t);
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
int nanosleep(const struct timespec *, struct timespec *) __asm("_" "nanosleep" "$UNIX2003");
# 199 "/usr/include/sys/time.h" 2 3 4
int adjtime(const struct timeval *, struct timeval *);
int futimes(int, const struct timeval *);
int lutimes(const char *, const struct timeval *);
int settimeofday(const struct timeval *, const struct timezone *);
int getitimer(int, struct itimerval *);
int gettimeofday(struct timeval * , void * );
int setitimer(int, const struct itimerval * ,
struct itimerval * );
int utimes(const char *, const struct timeval *);
# 27 "systime.h" 2
# 92 "systime.h"
#define EMACS_HAS_USECS
#define EMACS_TIME struct timeval
#define EMACS_SECS(time) ((time).tv_sec + 0)
#define EMACS_USECS(time) ((time).tv_usec + 0)
#define EMACS_SET_SECS(time,seconds) ((time).tv_sec = (seconds))
#define EMACS_SET_USECS(time,microseconds) ((time).tv_usec = (microseconds))
#define EMACS_GET_TIME(time) gettimeofday (&(time), NULL)
#define EMACS_ADD_TIME(dest,src1,src2) do { (dest).tv_sec = (src1).tv_sec + (src2).tv_sec; (dest).tv_usec = (src1).tv_usec + (src2).tv_usec; if ((dest).tv_usec > 1000000) (dest).tv_usec -= 1000000, (dest).tv_sec++; } while (0)
#define EMACS_SUB_TIME(dest,src1,src2) do { (dest).tv_sec = (src1).tv_sec - (src2).tv_sec; (dest).tv_usec = (src1).tv_usec - (src2).tv_usec; if ((dest).tv_usec < 0) (dest).tv_usec += 1000000, (dest).tv_sec--; } while (0)
#define EMACS_TIME_NEG_P(time) ((long)(time).tv_sec < 0 || ((time).tv_sec == 0 && (long)(time).tv_usec < 0))
# 144 "systime.h"
#define EMACS_SET_SECS_USECS(time,secs,usecs) (EMACS_SET_SECS (time, secs), EMACS_SET_USECS (time, usecs))
extern int set_file_times (const char *, struct timeval, struct timeval);
extern void set_waiting_for_input (struct timeval *);
extern Lisp_Object make_time (time_t);
#define EMACS_TIME_CMP(T1,T2) (EMACS_SECS (T1) - EMACS_SECS (T2) + (EMACS_SECS (T1) == EMACS_SECS (T2) ? EMACS_USECS (T1) - EMACS_USECS (T2) : 0))
#define EMACS_TIME_EQ(T1,T2) (EMACS_TIME_CMP (T1, T2) == 0)
#define EMACS_TIME_NE(T1,T2) (EMACS_TIME_CMP (T1, T2) != 0)
#define EMACS_TIME_GT(T1,T2) (EMACS_TIME_CMP (T1, T2) > 0)
#define EMACS_TIME_GE(T1,T2) (EMACS_TIME_CMP (T1, T2) >= 0)
#define EMACS_TIME_LT(T1,T2) (EMACS_TIME_CMP (T1, T2) < 0)
#define EMACS_TIME_LE(T1,T2) (EMACS_TIME_CMP (T1, T2) <= 0)
# 35 "mac.c" 2
# 1 "sysselect.h" 1
# 24 "sysselect.h"
#undef init_process
#define init_process emacs_init_process
#define MAXDESC FD_SETSIZE
#define SELECT_TYPE fd_set
# 36 "mac.c" 2
# 1 "blockinput.h" 1
# 23 "blockinput.h"
#define EMACS_BLOCKINPUT_H
# 1 "atimer.h" 1
# 23 "atimer.h"
#define EMACS_ATIMER_H
#define P_(proto) proto
# 36 "atimer.h"
struct atimer;
enum atimer_type
{
ATIMER_ABSOLUTE,
ATIMER_RELATIVE,
ATIMER_CONTINUOUS
};
typedef void (* atimer_callback) (struct atimer *timer);
struct atimer
{
enum atimer_type type;
struct timeval expiration;
struct timeval interval;
atimer_callback fn;
void *client_data;
struct atimer *next;
};
struct atimer *start_atimer (enum atimer_type, struct timeval, atimer_callback, void *);
void cancel_atimer (struct atimer *);
void do_pending_atimers (void);
void init_atimer (void);
void turn_on_atimers (int);
void stop_other_atimers (struct atimer *);
void run_all_atimers (void);
Lisp_Object unwind_stop_other_atimers (Lisp_Object);
# 26 "blockinput.h" 2
# 52 "blockinput.h"
extern volatile int interrupt_input_blocked;
extern int interrupt_input_pending;
extern int pending_atimers;
#define BLOCK_INPUT (interrupt_input_blocked++)
# 82 "blockinput.h"
#define UNBLOCK_INPUT do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0)
# 101 "blockinput.h"
#define TOTALLY_UNBLOCK_INPUT do if (interrupt_input_blocked != 0) { interrupt_input_blocked = 1; UNBLOCK_INPUT; } while (0)
# 112 "blockinput.h"
#define UNBLOCK_INPUT_TO(LEVEL) do { interrupt_input_blocked = (LEVEL) + 1; UNBLOCK_INPUT; } while (0)
#define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT
#define INPUT_BLOCKED_P (interrupt_input_blocked > 0)
extern void reinvoke_input_signal ();
# 37 "mac.c" 2
# 1 "macterm.h" 1
# 24 "macterm.h"
# 1 "macgui.h" 1
# 25 "macgui.h"
#define EMACS_MACGUI_H
typedef struct _XDisplay Display;
typedef Lisp_Object XrmDatabase;
typedef unsigned long Time;
#undef Z
#undef mktime
#undef DEBUG
#undef free
#undef malloc
#undef realloc
#undef max
#undef min
#undef init_process
# 1 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 3
#define __CARBON__
# 1 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 3
#define __CORESERVICES__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 3
#define __AE__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 3
#define __CARBONCORE__
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 1 3
#define __COREFOUNDATION_COREFOUNDATION__ 1
#define __COREFOUNDATION__ 1
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdarg.h" 1 3 4
# 34 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdarg.h" 3 4
#define _STDARG_H
#define _ANSI_STDARG_H_
#undef __need___va_list
#define __GNUC_VA_LIST
typedef __builtin_va_list __gnuc_va_list;
#define va_start(v,l) __builtin_va_start(v,l)
#define va_end(v) __builtin_va_end(v)
#define va_arg(v,l) __builtin_va_arg(v,l)
#define va_copy(d,s) __builtin_va_copy(d,s)
#define __va_copy(d,s) __builtin_va_copy(d,s)
# 111 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdarg.h" 3 4
#define _VA_LIST_
#define _VA_LIST_DEFINED
#define _VA_LIST_T_H
#define __va_list__
# 13 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/assert.h" 1 3 4
# 52 "/usr/include/assert.h" 3 4
#undef assert
#undef __assert
# 75 "/usr/include/assert.h" 3 4
void __assert_rtn(const char *, const char *, int, const char *) __attribute__((__noreturn__));
void __eprintf(const char *, const char *, unsigned, const char *) __attribute__((__noreturn__));
#define __assert(e,file,line) __eprintf ("%s:%u: failed assertion `%s'\n", file, line, e)
#define assert(e) (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/ctype.h" 1 3 4
# 67 "/usr/include/ctype.h" 3 4
#define _CTYPE_H_
# 1 "/usr/include/runetype.h" 1 3 4
# 40 "/usr/include/runetype.h" 3 4
#define _RUNETYPE_H_
# 69 "/usr/include/runetype.h" 3 4
#define _WINT_T
typedef __darwin_wint_t wint_t;
#define _CACHED_RUNES (1 <<8 )
#define _CRMASK (~(_CACHED_RUNES - 1))
typedef struct {
__darwin_rune_t __min;
__darwin_rune_t __max;
__darwin_rune_t __map;
__uint32_t *__types;
} _RuneEntry;
typedef struct {
int __nranges;
_RuneEntry *__ranges;
} _RuneRange;
typedef struct {
char __name[14];
__uint32_t __mask;
} _RuneCharClass;
typedef struct {
char __magic[8];
char __encoding[32];
__darwin_rune_t (*__sgetrune)(const char *, __darwin_size_t, char const **);
int (*__sputrune)(__darwin_rune_t, char *, __darwin_size_t, char **);
__darwin_rune_t __invalid_rune;
__uint32_t __runetype[(1 <<8 )];
__darwin_rune_t __maplower[(1 <<8 )];
__darwin_rune_t __mapupper[(1 <<8 )];
_RuneRange __runetype_ext;
_RuneRange __maplower_ext;
_RuneRange __mapupper_ext;
void *__variable;
int __variable_len;
int __ncharclasses;
_RuneCharClass *__charclasses;
} _RuneLocale;
#define _RUNE_MAGIC_A "RuneMagA"
extern _RuneLocale _DefaultRuneLocale;
extern _RuneLocale *_CurrentRuneLocale;
# 70 "/usr/include/ctype.h" 2 3 4
#define _CTYPE_A 0x00000100L
#define _CTYPE_C 0x00000200L
#define _CTYPE_D 0x00000400L
#define _CTYPE_G 0x00000800L
#define _CTYPE_L 0x00001000L
#define _CTYPE_P 0x00002000L
#define _CTYPE_S 0x00004000L
#define _CTYPE_U 0x00008000L
#define _CTYPE_X 0x00010000L
#define _CTYPE_B 0x00020000L
#define _CTYPE_R 0x00040000L
#define _CTYPE_I 0x00080000L
#define _CTYPE_T 0x00100000L
#define _CTYPE_Q 0x00200000L
#define _CTYPE_SW0 0x20000000L
#define _CTYPE_SW1 0x40000000L
#define _CTYPE_SW2 0x80000000L
#define _CTYPE_SW3 0xc0000000L
#define _CTYPE_SWM 0xe0000000L
#define _CTYPE_SWS 30
# 124 "/usr/include/ctype.h" 3 4
#define __DARWIN_CTYPE_static_inline static __inline
# 135 "/usr/include/ctype.h" 3 4
#define __DARWIN_CTYPE_TOP_static_inline static __inline
# 145 "/usr/include/ctype.h" 3 4
unsigned long ___runetype(__darwin_ct_rune_t);
__darwin_ct_rune_t ___tolower(__darwin_ct_rune_t);
__darwin_ct_rune_t ___toupper(__darwin_ct_rune_t);
static __inline int
isascii(int _c)
{
return ((_c & ~0x7F) == 0);
}
# 164 "/usr/include/ctype.h" 3 4
int __maskrune(__darwin_ct_rune_t, unsigned long);
static __inline int
__istype(__darwin_ct_rune_t _c, unsigned long _f)
{
return (isascii(_c) ? !!(_DefaultRuneLocale.__runetype[_c] & _f)
: !!__maskrune(_c, _f));
}
static __inline __darwin_ct_rune_t
__isctype(__darwin_ct_rune_t _c, unsigned long _f)
{
return (_c < 0 || _c >= (1 <<8 )) ? 0 :
!!(_DefaultRuneLocale.__runetype[_c] & _f);
}
# 204 "/usr/include/ctype.h" 3 4
__darwin_ct_rune_t __toupper(__darwin_ct_rune_t);
__darwin_ct_rune_t __tolower(__darwin_ct_rune_t);
static __inline int
__wcwidth(__darwin_ct_rune_t _c)
{
unsigned int _x;
if (_c == 0)
return (0);
_x = (unsigned int)__maskrune(_c, 0xe0000000L|0x00040000L);
if ((_x & 0xe0000000L) != 0)
return ((_x & 0xe0000000L) >> 30);
return ((_x & 0x00040000L) != 0 ? 1 : -1);
}
#define _tolower(c) __tolower(c)
#define _toupper(c) __toupper(c)
static __inline int
isalnum(int _c)
{
return (__istype(_c, 0x00000100L|0x00000400L));
}
static __inline int
isalpha(int _c)
{
return (__istype(_c, 0x00000100L));
}
static __inline int
isblank(int _c)
{
return (__istype(_c, 0x00020000L));
}
static __inline int
iscntrl(int _c)
{
return (__istype(_c, 0x00000200L));
}
static __inline int
isdigit(int _c)
{
return (__isctype(_c, 0x00000400L));
}
static __inline int
isgraph(int _c)
{
return (__istype(_c, 0x00000800L));
}
static __inline int
islower(int _c)
{
return (__istype(_c, 0x00001000L));
}
static __inline int
isprint(int _c)
{
return (__istype(_c, 0x00040000L));
}
static __inline int
ispunct(int _c)
{
return (__istype(_c, 0x00002000L));
}
static __inline int
isspace(int _c)
{
return (__istype(_c, 0x00004000L));
}
static __inline int
isupper(int _c)
{
return (__istype(_c, 0x00008000L));
}
static __inline int
isxdigit(int _c)
{
return (__isctype(_c, 0x00010000L));
}
static __inline int
toascii(int _c)
{
return (_c & 0x7F);
}
static __inline int
tolower(int _c)
{
return (__tolower(_c));
}
static __inline int
toupper(int _c)
{
return (__toupper(_c));
}
static __inline int
digittoint(int _c)
{
return (__maskrune(_c, 0x0F));
}
static __inline int
ishexnumber(int _c)
{
return (__istype(_c, 0x00010000L));
}
static __inline int
isideogram(int _c)
{
return (__istype(_c, 0x00080000L));
}
static __inline int
isnumber(int _c)
{
return (__istype(_c, 0x00000400L));
}
static __inline int
isphonogram(int _c)
{
return (__istype(_c, 0x00200000L));
}
static __inline int
isrune(int _c)
{
return (__istype(_c, 0xFFFFFFF0L));
}
static __inline int
isspecial(int _c)
{
return (__istype(_c, 0x00100000L));
}
# 15 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/errno.h" 1 3 4
# 16 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/float.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/float.h" 3 4
#define _FLOAT_H___
#undef FLT_RADIX
#define FLT_RADIX __FLT_RADIX__
#undef FLT_MANT_DIG
#undef DBL_MANT_DIG
#undef LDBL_MANT_DIG
#define FLT_MANT_DIG __FLT_MANT_DIG__
#define DBL_MANT_DIG __DBL_MANT_DIG__
#define LDBL_MANT_DIG __LDBL_MANT_DIG__
# 53 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/float.h" 3 4
#undef FLT_DIG
#undef DBL_DIG
#undef LDBL_DIG
#define FLT_DIG __FLT_DIG__
#define DBL_DIG __DBL_DIG__
#define LDBL_DIG __LDBL_DIG__
#undef FLT_MIN_EXP
#undef DBL_MIN_EXP
#undef LDBL_MIN_EXP
#define FLT_MIN_EXP __FLT_MIN_EXP__
#define DBL_MIN_EXP __DBL_MIN_EXP__
#define LDBL_MIN_EXP __LDBL_MIN_EXP__
#undef FLT_MIN_10_EXP
#undef DBL_MIN_10_EXP
#undef LDBL_MIN_10_EXP
#define FLT_MIN_10_EXP __FLT_MIN_10_EXP__
#define DBL_MIN_10_EXP __DBL_MIN_10_EXP__
#define LDBL_MIN_10_EXP __LDBL_MIN_10_EXP__
#undef FLT_MAX_EXP
#undef DBL_MAX_EXP
#undef LDBL_MAX_EXP
#define FLT_MAX_EXP __FLT_MAX_EXP__
#define DBL_MAX_EXP __DBL_MAX_EXP__
#define LDBL_MAX_EXP __LDBL_MAX_EXP__
#undef FLT_MAX_10_EXP
#undef DBL_MAX_10_EXP
#undef LDBL_MAX_10_EXP
#define FLT_MAX_10_EXP __FLT_MAX_10_EXP__
#define DBL_MAX_10_EXP __DBL_MAX_10_EXP__
#define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__
#undef FLT_MAX
#undef DBL_MAX
#undef LDBL_MAX
#define FLT_MAX __FLT_MAX__
#define DBL_MAX __DBL_MAX__
#define LDBL_MAX __LDBL_MAX__
#undef FLT_EPSILON
#undef DBL_EPSILON
#undef LDBL_EPSILON
#define FLT_EPSILON __FLT_EPSILON__
#define DBL_EPSILON __DBL_EPSILON__
#define LDBL_EPSILON __LDBL_EPSILON__
#undef FLT_MIN
#undef DBL_MIN
#undef LDBL_MIN
#define FLT_MIN __FLT_MIN__
#define DBL_MIN __DBL_MIN__
#define LDBL_MIN __LDBL_MIN__
#undef FLT_ROUNDS
#define FLT_ROUNDS 1
# 17 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 1 3 4
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/syslimits.h" 1 3 4
#define _GCC_NEXT_LIMITS_H
# 8 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 2 3 4
# 1 "/usr/include/limits.h" 1 3 4
# 61 "/usr/include/limits.h" 3 4
#define _LIMITS_H_
# 1 "/usr/include/machine/limits.h" 1 3 4
# 1 "/usr/include/i386/limits.h" 1 3 4
# 37 "/usr/include/i386/limits.h" 3 4
#define _I386_LIMITS_H_
# 1 "/usr/include/i386/_limits.h" 1 3 4
# 23 "/usr/include/i386/_limits.h" 3 4
#define _I386__LIMITS_H_
#define __DARWIN_CLK_TCK 100
# 41 "/usr/include/i386/limits.h" 2 3 4
#define CHAR_BIT 8
#define MB_LEN_MAX 6
#define CLK_TCK __DARWIN_CLK_TCK
# 59 "/usr/include/i386/limits.h" 3 4
#define SCHAR_MAX 127
#define SCHAR_MIN (-128)
#define UCHAR_MAX 255
#define CHAR_MAX 127
#define CHAR_MIN (-128)
#define USHRT_MAX 65535
#define SHRT_MAX 32767
#define SHRT_MIN (-32768)
#define UINT_MAX 0xffffffff
#define INT_MAX 2147483647
#define INT_MIN (-2147483647-1)
#define ULONG_MAX 0xffffffffUL
#define LONG_MAX 2147483647L
#define LONG_MIN (-2147483647L-1)
#define ULLONG_MAX 0xffffffffffffffffULL
#define LLONG_MAX 0x7fffffffffffffffLL
#define LLONG_MIN (-0x7fffffffffffffffLL-1)
#define LONG_BIT 32
#define SSIZE_MAX LONG_MAX
#define WORD_BIT 32
#define SIZE_T_MAX ULONG_MAX
#define UQUAD_MAX ULLONG_MAX
#define QUAD_MAX LLONG_MAX
#define QUAD_MIN LLONG_MIN
# 9 "/usr/include/machine/limits.h" 2 3 4
# 65 "/usr/include/limits.h" 2 3 4
# 1 "/usr/include/sys/syslimits.h" 1 3 4
# 66 "/usr/include/sys/syslimits.h" 3 4
#define _SYS_SYSLIMITS_H_
# 75 "/usr/include/sys/syslimits.h" 3 4
#define ARG_MAX (256 * 1024)
#define CHILD_MAX 266
#define GID_MAX 2147483647U
#define LINK_MAX 32767
#define MAX_CANON 1024
#define MAX_INPUT 1024
#define NAME_MAX 255
#define NGROUPS_MAX 16
#define UID_MAX 2147483647U
#define OPEN_MAX 10240
#define PATH_MAX 1024
#define PIPE_BUF 512
#define BC_BASE_MAX 99
#define BC_DIM_MAX 2048
#define BC_SCALE_MAX 99
#define BC_STRING_MAX 1000
#define CHARCLASS_NAME_MAX 14
#define COLL_WEIGHTS_MAX 2
#define EQUIV_CLASS_MAX 2
#define EXPR_NEST_MAX 32
#define LINE_MAX 2048
#define RE_DUP_MAX 255
#define NZERO 20
# 66 "/usr/include/limits.h" 2 3 4
#define _POSIX_AIO_LISTIO_MAX 2
#define _POSIX_AIO_MAX 1
#define _POSIX_DELAYTIMER_MAX 32
#define _POSIX_HOST_NAME_MAX 255
#define _POSIX_LOGIN_NAME_MAX 9
#define _POSIX_MQ_OPEN_MAX 8
#define _POSIX_MQ_PRIO_MAX 32
#define _POSIX_ARG_MAX 4096
#define _POSIX_CHILD_MAX 25
#define _POSIX_LINK_MAX 8
#define _POSIX_MAX_CANON 255
#define _POSIX_MAX_INPUT 255
#define _POSIX_NAME_MAX 14
#define _POSIX_NGROUPS_MAX 8
#define _POSIX_OPEN_MAX 20
#define _POSIX_PATH_MAX 256
#define _POSIX_PIPE_BUF 512
#define _POSIX_SSIZE_MAX 32767
#define _POSIX_STREAM_MAX 8
#define _POSIX_TZNAME_MAX 6
#define _POSIX_RE_DUP_MAX 255
#define _POSIX_RTSIG_MAX 8
#define _POSIX_SEM_NSEMS_MAX 256
#define _POSIX_SEM_VALUE_MAX 32767
#define _POSIX_SIGQUEUE_MAX 32
#define _POSIX_SS_REPL_MAX 4
#define _POSIX_SYMLINK_MAX 255
#define _POSIX_SYMLOOP_MAX 8
#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
#define _POSIX_THREAD_KEYS_MAX 128
#define _POSIX_THREAD_THREADS_MAX 64
#define _POSIX_TIMER_MAX 32
#define _POSIX_TRACE_EVENT_NAME_MAX 30
#define _POSIX_TRACE_NAME_MAX 8
#define _POSIX_TRACE_SYS_MAX 8
#define _POSIX_TRACE_USER_EVENT_MAX 32
#define _POSIX_TTY_NAME_MAX 9
#define _POSIX2_BC_BASE_MAX 99
#define _POSIX2_BC_DIM_MAX 2048
#define _POSIX2_BC_SCALE_MAX 99
#define _POSIX2_BC_STRING_MAX 1000
#define _POSIX2_CHARCLASS_NAME_MAX 14
#define _POSIX2_COLL_WEIGHTS_MAX 2
#define _POSIX2_EQUIV_CLASS_MAX 2
#define _POSIX2_EXPR_NEST_MAX 32
#define _POSIX2_LINE_MAX 2048
#define _POSIX2_RE_DUP_MAX 255
#define PTHREAD_STACK_MIN 8192
#define PTHREAD_DESTRUCTOR_ITERATIONS 4
#define PTHREAD_KEYS_MAX 512
#define PASS_MAX 128
#define NL_ARGMAX 9
#define NL_LANGMAX 14
#define NL_MSGMAX 32767
#define NL_NMAX 1
#define NL_SETMAX 255
#define NL_TEXTMAX 2048
#define _XOPEN_IOV_MAX 16
#define IOV_MAX 1024
#define _XOPEN_NAME_MAX 255
#define _XOPEN_PATH_MAX 1024
# 11 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 2 3 4
#undef _GCC_NEXT_LIMITS_H
#define _LIMITS_H___
#undef CHAR_BIT
#define CHAR_BIT __CHAR_BIT__
#undef SCHAR_MIN
#define SCHAR_MIN (-SCHAR_MAX - 1)
#undef SCHAR_MAX
#define SCHAR_MAX __SCHAR_MAX__
#undef UCHAR_MAX
#define UCHAR_MAX (SCHAR_MAX * 2 + 1)
# 51 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 3 4
#undef CHAR_MIN
#define CHAR_MIN SCHAR_MIN
#undef CHAR_MAX
#define CHAR_MAX SCHAR_MAX
#undef SHRT_MIN
#define SHRT_MIN (-SHRT_MAX - 1)
#undef SHRT_MAX
#define SHRT_MAX __SHRT_MAX__
#undef USHRT_MAX
#define USHRT_MAX (SHRT_MAX * 2 + 1)
#undef INT_MIN
#define INT_MIN (-INT_MAX - 1)
#undef INT_MAX
#define INT_MAX __INT_MAX__
#undef UINT_MAX
#define UINT_MAX (INT_MAX * 2U + 1U)
#undef LONG_MIN
#define LONG_MIN (-LONG_MAX - 1L)
#undef LONG_MAX
#define LONG_MAX __LONG_MAX__
#undef ULONG_MAX
#define ULONG_MAX (LONG_MAX * 2UL + 1UL)
# 106 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 3 4
#undef LONG_LONG_MIN
#define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL)
#undef LONG_LONG_MAX
#define LONG_LONG_MAX __LONG_LONG_MAX__
#undef ULONG_LONG_MAX
#define ULONG_LONG_MAX (LONG_LONG_MAX * 2ULL + 1ULL)
# 18 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/locale.h" 1 3 4
# 38 "/usr/include/locale.h" 3 4
#define _LOCALE_H_
# 1 "/usr/include/_locale.h" 1 3 4
# 38 "/usr/include/_locale.h" 3 4
#define __LOCALE_H_
struct lconv {
char *decimal_point;
char *thousands_sep;
char *grouping;
char *int_curr_symbol;
char *currency_symbol;
char *mon_decimal_point;
char *mon_thousands_sep;
char *mon_grouping;
char *positive_sign;
char *negative_sign;
char int_frac_digits;
char frac_digits;
char p_cs_precedes;
char p_sep_by_space;
char n_cs_precedes;
char n_sep_by_space;
char p_sign_posn;
char n_sign_posn;
char int_p_cs_precedes;
char int_n_cs_precedes;
char int_p_sep_by_space;
char int_n_sep_by_space;
char int_p_sign_posn;
char int_n_sign_posn;
};
struct lconv *localeconv(void);
# 41 "/usr/include/locale.h" 2 3 4
#define LC_ALL 0
#define LC_COLLATE 1
#define LC_CTYPE 2
#define LC_MONETARY 3
#define LC_NUMERIC 4
#define LC_TIME 5
#define LC_MESSAGES 6
#define _LC_LAST 7
char *setlocale(int, const char *);
# 19 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/math.h" 1 3 4
# 23 "/usr/include/math.h" 3 4
#define __MATH_H__
# 1 "/usr/include/architecture/i386/math.h" 1 3 4
# 31 "/usr/include/architecture/i386/math.h" 3 4
#define __MATH__
# 49 "/usr/include/architecture/i386/math.h" 3 4
typedef float float_t;
typedef double double_t;
# 63 "/usr/include/architecture/i386/math.h" 3 4
#define HUGE_VAL __builtin_huge_val()
#define HUGE_VALF __builtin_huge_valf()
#define HUGE_VALL __builtin_huge_vall()
#define NAN __builtin_nanf("0x7fc00000")
#define __MATH_H_ALWAYS_INLINE__ __attribute__ ((always_inline))
# 76 "/usr/include/architecture/i386/math.h" 3 4
#define INFINITY HUGE_VALF
enum {
_FP_NAN = 1,
_FP_INFINITE = 2,
_FP_ZERO = 3,
_FP_NORMAL = 4,
_FP_SUBNORMAL = 5,
_FP_SUPERNORMAL = 6
};
#define FP_NAN _FP_NAN
#define FP_INFINITE _FP_INFINITE
#define FP_ZERO _FP_ZERO
#define FP_NORMAL _FP_NORMAL
#define FP_SUBNORMAL _FP_SUBNORMAL
#define FP_SUPERNORMAL _FP_SUPERNORMAL
#undef FP_FAST_FMA
#undef FP_FAST_FMAF
#undef FP_FAST_FMAL
#define FP_ILOGB0 (-2147483647 - 1)
#define FP_ILOGBNAN (-2147483647 - 1)
#define MATH_ERRNO 1
#define MATH_ERREXCEPT 2
#define math_errhandling (__math_errhandling())
extern unsigned int __math_errhandling ( void );
# 132 "/usr/include/architecture/i386/math.h" 3 4
#define fpclassify(x) ( sizeof (x) == sizeof(float ) ? __fpclassifyf((float)(x)) : sizeof (x) == sizeof(double) ? __fpclassifyd((double)(x)) : __fpclassify ((long double)(x)))
extern int __fpclassifyf(float );
extern int __fpclassifyd(double );
extern int __fpclassify (long double);
#define isnormal(x) ( sizeof (x) == sizeof(float ) ? __inline_isnormalf((float)(x)) : sizeof (x) == sizeof(double) ? __inline_isnormald((double)(x)) : __inline_isnormal ((long double)(x)))
#define isfinite(x) ( sizeof (x) == sizeof(float ) ? __inline_isfinitef((float)(x)) : sizeof (x) == sizeof(double) ? __inline_isfinited((double)(x)) : __inline_isfinite ((long double)(x)))
#define isinf(x) ( sizeof (x) == sizeof(float ) ? __inline_isinff((float)(x)) : sizeof (x) == sizeof(double) ? __inline_isinfd((double)(x)) : __inline_isinf ((long double)(x)))
#define isnan(x) ( sizeof (x) == sizeof(float ) ? __inline_isnanf((float)(x)) : sizeof (x) == sizeof(double) ? __inline_isnand((double)(x)) : __inline_isnan ((long double)(x)))
#define signbit(x) ( sizeof (x) == sizeof(float ) ? __inline_signbitf((float)(x)) : sizeof (x) == sizeof(double) ? __inline_signbitd((double)(x)) : __inline_signbit((long double)(x)))
static __inline__ int __inline_isfinitef (float ) __attribute__ ((always_inline));
static __inline__ int __inline_isfinited (double ) __attribute__ ((always_inline));
static __inline__ int __inline_isfinite (long double) __attribute__ ((always_inline));
static __inline__ int __inline_isinff (float ) __attribute__ ((always_inline));
static __inline__ int __inline_isinfd (double ) __attribute__ ((always_inline));
static __inline__ int __inline_isinf (long double) __attribute__ ((always_inline));
static __inline__ int __inline_isnanf (float ) __attribute__ ((always_inline));
static __inline__ int __inline_isnand (double ) __attribute__ ((always_inline));
static __inline__ int __inline_isnan (long double) __attribute__ ((always_inline));
static __inline__ int __inline_isnormalf (float ) __attribute__ ((always_inline));
static __inline__ int __inline_isnormald (double ) __attribute__ ((always_inline));
static __inline__ int __inline_isnormal (long double) __attribute__ ((always_inline));
static __inline__ int __inline_signbitf (float ) __attribute__ ((always_inline));
static __inline__ int __inline_signbitd (double ) __attribute__ ((always_inline));
static __inline__ int __inline_signbit (long double) __attribute__ ((always_inline));
static __inline__ int __inline_isinff( float __x ) { return __builtin_fabsf(__x) == __builtin_inff(); }
static __inline__ int __inline_isinfd( double __x ) { return __builtin_fabs(__x) == __builtin_inf(); }
static __inline__ int __inline_isinf( long double __x ) { return __builtin_fabsl(__x) == __builtin_infl(); }
static __inline__ int __inline_isfinitef( float __x ) { return __x == __x && __builtin_fabsf(__x) != __builtin_inff(); }
static __inline__ int __inline_isfinited( double __x ) { return __x == __x && __builtin_fabs(__x) != __builtin_inf(); }
static __inline__ int __inline_isfinite( long double __x ) { return __x == __x && __builtin_fabsl(__x) != __builtin_infl(); }
static __inline__ int __inline_isnanf( float __x ) { return __x != __x; }
static __inline__ int __inline_isnand( double __x ) { return __x != __x; }
static __inline__ int __inline_isnan( long double __x ) { return __x != __x; }
static __inline__ int __inline_signbitf( float __x ) { union{ float __f; unsigned int __u; }__u; __u.__f = __x; return (int)(__u.__u >> 31); }
static __inline__ int __inline_signbitd( double __x ) { union{ double __f; unsigned int __u[2]; }__u; __u.__f = __x; return (int)(__u.__u[1] >> 31); }
static __inline__ int __inline_signbit( long double __x ){ union{ long double __ld; struct{ unsigned int __m[2]; short __sexp; }__p; }__u; __u.__ld = __x; return (int) (((unsigned short) __u.__p.__sexp) >> 15); }
static __inline__ int __inline_isnormalf( float __x ) { float fabsf = __builtin_fabsf(__x); if( __x != __x ) return 0; return fabsf < __builtin_inff() && fabsf >= 1.17549435e-38F; }
static __inline__ int __inline_isnormald( double __x ) { double fabsf = __builtin_fabs(__x); if( __x != __x ) return 0; return fabsf < __builtin_inf() && fabsf >= 2.2250738585072014e-308; }
static __inline__ int __inline_isnormal( long double __x ) { long double fabsf = __builtin_fabsl(__x); if( __x != __x ) return 0; return fabsf < __builtin_infl() && fabsf >= 3.36210314311209350626e-4932L; }
# 262 "/usr/include/architecture/i386/math.h" 3 4
extern double acos( double );
extern float acosf( float );
extern double asin( double );
extern float asinf( float );
extern double atan( double );
extern float atanf( float );
extern double atan2( double, double );
extern float atan2f( float, float );
extern double cos( double );
extern float cosf( float );
extern double sin( double );
extern float sinf( float );
extern double tan( double );
extern float tanf( float );
extern double acosh( double );
extern float acoshf( float );
extern double asinh( double );
extern float asinhf( float );
extern double atanh( double );
extern float atanhf( float );
extern double cosh( double );
extern float coshf( float );
extern double sinh( double );
extern float sinhf( float );
extern double tanh( double );
extern float tanhf( float );
extern double exp ( double );
extern float expf ( float );
extern double exp2 ( double );
extern float exp2f ( float );
extern double expm1 ( double );
extern float expm1f ( float );
extern double log ( double );
extern float logf ( float );
extern double log10 ( double );
extern float log10f ( float );
extern double log2 ( double );
extern float log2f ( float );
extern double log1p ( double );
extern float log1pf ( float );
extern double logb ( double );
extern float logbf ( float );
extern double modf ( double, double * );
extern float modff ( float, float * );
extern double ldexp ( double, int );
extern float ldexpf ( float, int );
extern double frexp ( double, int * );
extern float frexpf ( float, int * );
extern int ilogb ( double );
extern int ilogbf ( float );
extern double scalbn ( double, int );
extern float scalbnf ( float, int );
extern double scalbln ( double, long int );
extern float scalblnf ( float, long int );
extern double fabs( double );
extern float fabsf( float );
extern double cbrt( double );
extern float cbrtf( float );
extern double hypot ( double, double );
extern float hypotf ( float, float );
extern double pow ( double, double );
extern float powf ( float, float );
extern double sqrt( double );
extern float sqrtf( float );
extern double erf( double );
extern float erff( float );
extern double erfc( double );
extern float erfcf( float );
extern double lgamma( double );
extern float lgammaf( float );
extern double tgamma( double );
extern float tgammaf( float );
extern double ceil ( double );
extern float ceilf ( float );
extern double floor ( double );
extern float floorf ( float );
extern double nearbyint ( double );
extern float nearbyintf ( float );
extern double rint ( double );
extern float rintf ( float );
extern long int lrint ( double );
extern long int lrintf ( float );
extern double round ( double );
extern float roundf ( float );
extern long int lround ( double );
extern long int lroundf ( float );
extern long long int llrint ( double );
extern long long int llrintf ( float );
extern long long int llround ( double );
extern long long int llroundf ( float );
extern double trunc ( double );
extern float truncf ( float );
extern double fmod ( double, double );
extern float fmodf ( float, float );
extern double remainder ( double, double );
extern float remainderf ( float, float );
extern double remquo ( double, double, int * );
extern float remquof ( float, float, int * );
extern double copysign ( double, double );
extern float copysignf ( float, float );
extern double nan( const char * );
extern float nanf( const char * );
extern double nextafter ( double, double );
extern float nextafterf ( float, float );
extern double fdim ( double, double );
extern float fdimf ( float, float );
extern double fmax ( double, double );
extern float fmaxf ( float, float );
extern double fmin ( double, double );
extern float fminf ( float, float );
extern double fma ( double, double, double );
extern float fmaf ( float, float, float );
extern long double acosl(long double);
extern long double asinl(long double);
extern long double atanl(long double);
extern long double atan2l(long double, long double);
extern long double cosl(long double);
extern long double sinl(long double);
extern long double tanl(long double);
extern long double acoshl(long double);
extern long double asinhl(long double);
extern long double atanhl(long double);
extern long double coshl(long double);
extern long double sinhl(long double);
extern long double tanhl(long double);
extern long double expl(long double);
extern long double exp2l(long double);
extern long double expm1l(long double);
extern long double logl(long double);
extern long double log10l(long double);
extern long double log2l(long double);
extern long double log1pl(long double);
extern long double logbl(long double);
extern long double modfl(long double, long double *);
extern long double ldexpl(long double, int);
extern long double frexpl(long double, int *);
extern int ilogbl(long double);
extern long double scalbnl(long double, int);
extern long double scalblnl(long double, long int);
extern long double fabsl(long double);
extern long double cbrtl(long double);
extern long double hypotl(long double, long double);
extern long double powl(long double, long double);
extern long double sqrtl(long double);
extern long double erfl(long double);
extern long double erfcl(long double);
extern long double lgammal(long double);
extern long double tgammal(long double);
extern long double ceill(long double);
extern long double floorl(long double);
extern long double nearbyintl(long double);
extern long double rintl(long double);
extern long int lrintl(long double);
extern long double roundl(long double);
extern long int lroundl(long double);
extern long long int llrintl(long double);
extern long long int llroundl(long double);
extern long double truncl(long double);
extern long double fmodl(long double, long double);
extern long double remainderl(long double, long double);
extern long double remquol(long double, long double, int *);
extern long double copysignl(long double, long double);
extern long double nanl(const char *);
extern long double nextafterl(long double, long double);
extern double nexttoward(double, long double);
extern float nexttowardf(float, long double);
extern long double nexttowardl(long double, long double);
extern long double fdiml(long double, long double);
extern long double fmaxl(long double, long double);
extern long double fminl(long double, long double);
extern long double fmal(long double, long double, long double);
#define isgreater(x,y) __builtin_isgreater ((x),(y))
#define isgreaterequal(x,y) __builtin_isgreaterequal ((x),(y))
#define isless(x,y) __builtin_isless ((x),(y))
#define islessequal(x,y) __builtin_islessequal ((x),(y))
#define islessgreater(x,y) __builtin_islessgreater ((x),(y))
#define isunordered(x,y) __builtin_isunordered ((x),(y))
extern double __inf( void );
extern float __inff( void );
extern long double __infl( void );
extern float __nan( void );
extern double j0 ( double );
extern double j1 ( double );
extern double jn ( int, double );
extern double y0 ( double );
extern double y1 ( double );
extern double yn ( int, double );
extern double scalb ( double, double );
#define M_E 2.71828182845904523536028747135266250
#define M_LOG2E 1.44269504088896340735992468100189214
#define M_LOG10E 0.434294481903251827651128918916605082
#define M_LN2 0.693147180559945309417232121458176568
#define M_LN10 2.30258509299404568401799145468436421
#define M_PI 3.14159265358979323846264338327950288
#define M_PI_2 1.57079632679489661923132169163975144
#define M_PI_4 0.785398163397448309615660845819875721
#define M_1_PI 0.318309886183790671537767526745028724
#define M_2_PI 0.636619772367581343075535053490057448
#define M_2_SQRTPI 1.12837916709551257389615890312154517
#define M_SQRT2 1.41421356237309504880168872420969808
#define M_SQRT1_2 0.707106781186547524400844362104849039
#define MAXFLOAT ((float)3.40282346638528860e+38)
extern int signgam;
#define __WANT_EXTENSIONS__
#define FP_SNAN FP_NAN
#define FP_QNAN FP_NAN
extern long int rinttol ( double );
extern long int roundtol ( double );
# 568 "/usr/include/architecture/i386/math.h" 3 4
struct exception {
int type;
char *name;
double arg1;
double arg2;
double retval;
};
#define HUGE MAXFLOAT
#define X_TLOSS 1.41484755040568800000e+16
#define DOMAIN 1
#define SING 2
#define OVERFLOW 3
#define UNDERFLOW 4
#define TLOSS 5
#define PLOSS 6
extern int finite ( double );
extern double gamma ( double );
extern int matherr ( struct exception * );
extern double significand ( double );
extern double drem ( double, double );
# 29 "/usr/include/math.h" 2 3 4
# 20 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/setjmp.h" 1 3 4
# 24 "/usr/include/setjmp.h" 3 4
#define _BSD_SETJMP_H
# 1 "/usr/include/machine/setjmp.h" 1 3 4
# 32 "/usr/include/machine/setjmp.h" 3 4
#define _MACHINE_SETJMP_H_
# 1 "/usr/include/i386/setjmp.h" 1 3 4
# 35 "/usr/include/i386/setjmp.h" 3 4
#define _BSD_I386_SETJMP_H
# 59 "/usr/include/i386/setjmp.h" 3 4
#define _JBLEN (18)
typedef int jmp_buf[(18)];
typedef int sigjmp_buf[(18) + 1];
int setjmp(jmp_buf);
void longjmp(jmp_buf, int);
int _setjmp(jmp_buf);
void _longjmp(jmp_buf, int);
int sigsetjmp(sigjmp_buf, int);
void siglongjmp(sigjmp_buf, int);
void longjmperror(void);
# 38 "/usr/include/machine/setjmp.h" 2 3 4
# 27 "/usr/include/setjmp.h" 2 3 4
# 21 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/signal.h" 1 3 4
# 59 "/usr/include/signal.h" 3 4
#define _USER_SIGNAL_H
# 71 "/usr/include/signal.h" 3 4
extern const char *const sys_signame[32];
extern const char *const sys_siglist[32];
int raise(int);
void (*bsd_signal(int, void (*)(int)))(int);
int kill(pid_t, int) __asm("_" "kill" "$UNIX2003");
int killpg(pid_t, int) __asm("_" "killpg" "$UNIX2003");
int pthread_kill(pthread_t, int);
int pthread_sigmask(int, const sigset_t *, sigset_t *) __asm("_" "pthread_sigmask" "$UNIX2003");
int sigaction(int, const struct sigaction * ,
struct sigaction * );
int sigaddset(sigset_t *, int);
int sigaltstack(const stack_t * , stack_t * ) __asm("_" "sigaltstack" "$UNIX2003");
int sigdelset(sigset_t *, int);
int sigemptyset(sigset_t *);
int sigfillset(sigset_t *);
int sighold(int);
int sigignore(int);
int siginterrupt(int, int);
int sigismember(const sigset_t *, int);
int sigpause(int) __asm("_" "sigpause" "$UNIX2003");
int sigpending(sigset_t *);
int sigprocmask(int, const sigset_t * , sigset_t * );
int sigrelse(int);
void (*sigset(int, void (*)(int)))(int);
int sigsuspend(const sigset_t *) __asm("_" "sigsuspend" "$UNIX2003");
int sigwait(const sigset_t * , int * ) __asm("_" "sigwait" "$UNIX2003");
void psignal(unsigned int, const char *);
int sigblock(int);
int sigsetmask(int);
int sigvec(int, struct sigvec *, struct sigvec *);
static __inline int
__sigbits(int __signo)
{
return __signo > 32 ? 0 : (1 << (__signo - 1));
}
#define sigaddset(set,signo) (*(set) |= __sigbits(signo), 0)
#define sigdelset(set,signo) (*(set) &= ~__sigbits(signo), 0)
#define sigismember(set,signo) ((*(set) & __sigbits(signo)) != 0)
#define sigemptyset(set) (*(set) = 0, 0)
#define sigfillset(set) (*(set) = ~(sigset_t)0, 0)
# 22 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 43 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#define _STDDEF_H
#define _STDDEF_H_
#define _ANSI_STDDEF_H
#define __STDDEF_H__
# 141 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#define _PTRDIFF_T
#define _T_PTRDIFF_
#define _T_PTRDIFF
#define __PTRDIFF_T
#define _PTRDIFF_T_
#define _BSD_PTRDIFF_T_
#define ___int_ptrdiff_t_h
#define _GCC_PTRDIFF_T
typedef int ptrdiff_t;
# 163 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#undef __need_ptrdiff_t
# 236 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#undef __need_size_t
# 345 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#undef __need_wchar_t
# 398 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#undef NULL
#define NULL ((void *)0)
#undef __need_NULL
#define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER)
# 23 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 38 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 1 3
#define __COREFOUNDATION_CFBASE__ 1
# 38 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 1 3 4
#define _STDINT_H_
#define __WORDSIZE 32
# 39 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define _UINT8_T
typedef unsigned char uint8_t;
#define _UINT16_T
typedef unsigned short uint16_t;
#define _UINT32_T
typedef unsigned int uint32_t;
#define _UINT64_T
typedef unsigned long long uint64_t;
typedef int8_t int_least8_t;
typedef int16_t int_least16_t;
typedef int32_t int_least32_t;
typedef int64_t int_least64_t;
typedef uint8_t uint_least8_t;
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
typedef uint64_t uint_least64_t;
typedef int8_t int_fast8_t;
typedef int16_t int_fast16_t;
typedef int32_t int_fast32_t;
typedef int64_t int_fast64_t;
typedef uint8_t uint_fast8_t;
typedef uint16_t uint_fast16_t;
typedef uint32_t uint_fast32_t;
typedef uint64_t uint_fast64_t;
# 95 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define _INTMAX_T
typedef long long int intmax_t;
#define _UINTMAX_T
typedef long long unsigned int uintmax_t;
# 128 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define INT8_MAX 127
#define INT16_MAX 32767
#define INT32_MAX 2147483647
#define INT64_MAX 9223372036854775807LL
#define INT8_MIN -128
#define INT16_MIN -32768
#define INT32_MIN (-INT32_MAX-1)
#define INT64_MIN (-INT64_MAX-1)
#define UINT8_MAX 255
#define UINT16_MAX 65535
#define UINT32_MAX 4294967295U
#define UINT64_MAX 18446744073709551615ULL
#define INT_LEAST8_MIN INT8_MIN
#define INT_LEAST16_MIN INT16_MIN
#define INT_LEAST32_MIN INT32_MIN
#define INT_LEAST64_MIN INT64_MIN
#define INT_LEAST8_MAX INT8_MAX
#define INT_LEAST16_MAX INT16_MAX
#define INT_LEAST32_MAX INT32_MAX
#define INT_LEAST64_MAX INT64_MAX
#define UINT_LEAST8_MAX UINT8_MAX
#define UINT_LEAST16_MAX UINT16_MAX
#define UINT_LEAST32_MAX UINT32_MAX
#define UINT_LEAST64_MAX UINT64_MAX
#define INT_FAST8_MIN INT8_MIN
#define INT_FAST16_MIN INT16_MIN
#define INT_FAST32_MIN INT32_MIN
#define INT_FAST64_MIN INT64_MIN
#define INT_FAST8_MAX INT8_MAX
#define INT_FAST16_MAX INT16_MAX
#define INT_FAST32_MAX INT32_MAX
#define INT_FAST64_MAX INT64_MAX
#define UINT_FAST8_MAX UINT8_MAX
#define UINT_FAST16_MAX UINT16_MAX
#define UINT_FAST32_MAX UINT32_MAX
#define UINT_FAST64_MAX UINT64_MAX
#define INTPTR_MIN INT32_MIN
#define INTPTR_MAX INT32_MAX
#define UINTPTR_MAX UINT32_MAX
#define INTMAX_MIN INT64_MIN
#define INTMAX_MAX INT64_MAX
#define UINTMAX_MAX UINT64_MAX
#define PTRDIFF_MIN INT32_MIN
#define PTRDIFF_MAX INT32_MAX
# 219 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define SIZE_MAX UINT32_MAX
#define WCHAR_MAX __WCHAR_MAX__
# 238 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define WCHAR_MIN (-WCHAR_MAX-1)
#define WINT_MIN INT32_MIN
#define WINT_MAX INT32_MAX
#define SIG_ATOMIC_MIN INT32_MIN
#define SIG_ATOMIC_MAX INT32_MAX
# 256 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define INT8_C(v) (v)
#define INT16_C(v) (v)
#define INT32_C(v) (v)
#define INT64_C(v) (v ## LL)
#define UINT8_C(v) (v ## U)
#define UINT16_C(v) (v ## U)
#define UINT32_C(v) (v ## U)
#define UINT64_C(v) (v ## ULL)
#define INTMAX_C(v) (v ## LL)
#define UINTMAX_C(v) (v ## ULL)
# 39 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h" 3 4
#define _STDBOOL_H
#define bool _Bool
#define true 1
#define false 0
# 51 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h" 3 4
#define __bool_true_false_are_defined 1
# 40 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 2 3
# 1 "/usr/include/AvailabilityMacros.h" 1 3 4
# 65 "/usr/include/AvailabilityMacros.h" 3 4
#define __AVAILABILITYMACROS__
#define MAC_OS_X_VERSION_10_0 1000
#define MAC_OS_X_VERSION_10_1 1010
#define MAC_OS_X_VERSION_10_2 1020
#define MAC_OS_X_VERSION_10_3 1030
#define MAC_OS_X_VERSION_10_4 1040
#define MAC_OS_X_VERSION_10_5 1050
# 85 "/usr/include/AvailabilityMacros.h" 3 4
#define MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
# 100 "/usr/include/AvailabilityMacros.h" 3 4
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_MIN_REQUIRED
# 120 "/usr/include/AvailabilityMacros.h" 3 4
#define WEAK_IMPORT_ATTRIBUTE __attribute__((weak_import))
# 131 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
# 140 "/usr/include/AvailabilityMacros.h" 3 4
#define UNAVAILABLE_ATTRIBUTE __attribute__((unavailable))
# 152 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_0_AND_LATER DEPRECATED_ATTRIBUTE
# 184 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER
# 194 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
# 206 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_1 DEPRECATED_ATTRIBUTE
# 217 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_1_AND_LATER DEPRECATED_ATTRIBUTE
# 238 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER
# 248 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
# 260 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 DEPRECATED_ATTRIBUTE
# 272 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 DEPRECATED_ATTRIBUTE
# 283 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_2_AND_LATER DEPRECATED_ATTRIBUTE
# 302 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER
# 312 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
# 324 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 DEPRECATED_ATTRIBUTE
# 336 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 DEPRECATED_ATTRIBUTE
# 348 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 DEPRECATED_ATTRIBUTE
# 359 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_3_AND_LATER DEPRECATED_ATTRIBUTE
# 379 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER
# 389 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
# 401 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE
# 413 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE
# 425 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE
# 437 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE
# 448 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_4_AND_LATER DEPRECATED_ATTRIBUTE
# 467 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER
# 477 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
# 489 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE
# 501 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE
# 513 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE
# 525 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE
# 537 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE
# 548 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER DEPRECATED_ATTRIBUTE
# 42 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
#define __MACTYPES__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define __CONDITIONALMACROS__
# 36 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define UNIVERSAL_INTERFACES_VERSION 0x0400
# 1 "/usr/include/TargetConditionals.h" 1 3 4
# 15 "/usr/include/TargetConditionals.h" 3 4
#define __TARGETCONDITIONALS__
# 61 "/usr/include/TargetConditionals.h" 3 4
#define TARGET_OS_MAC 1
#define TARGET_OS_WIN32 0
#define TARGET_OS_UNIX 0
#define TARGET_OS_EMBEDDED 0
# 99 "/usr/include/TargetConditionals.h" 3 4
#define TARGET_CPU_PPC 0
#define TARGET_CPU_PPC64 0
#define TARGET_CPU_68K 0
#define TARGET_CPU_X86 1
#define TARGET_CPU_X86_64 0
#define TARGET_CPU_MIPS 0
#define TARGET_CPU_SPARC 0
#define TARGET_CPU_ALPHA 0
#define TARGET_RT_MAC_CFM 0
#define TARGET_RT_MAC_MACHO 1
#define TARGET_RT_LITTLE_ENDIAN 1
#define TARGET_RT_BIG_ENDIAN 0
#define TARGET_RT_64_BIT 0
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 2 3
# 92 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define PRAGMA_IMPORT 0
#define PRAGMA_ONCE 0
#define PRAGMA_STRUCT_PACK 1
#define PRAGMA_STRUCT_PACKPUSH 1
# 106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define PRAGMA_STRUCT_ALIGN 1
#define PRAGMA_ENUM_PACK 0
#define PRAGMA_ENUM_ALWAYSINT 0
#define PRAGMA_ENUM_OPTIONS 0
#define FOUR_CHAR_CODE(x) (x)
#define TYPE_EXTENDED 0
#define TYPE_LONGDOUBLE_IS_DOUBLE 0
#define TYPE_LONGLONG 1
#define TYPE_BOOL 0
#define FUNCTION_PASCAL 0
#define FUNCTION_DECLSPEC 0
#define FUNCTION_WIN32CC 0
# 358 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define EXTERN_API(_type) extern _type
#define EXTERN_API_C(_type) extern _type
#define EXTERN_API_STDCALL(_type) extern _type
#define EXTERN_API_C_STDCALL(_type) extern _type
#define DEFINE_API(_type) _type
#define DEFINE_API_C(_type) _type
#define DEFINE_API_STDCALL(_type) _type
#define DEFINE_API_C_STDCALL(_type) _type
#define CALLBACK_API(_type,_name) _type ( * _name)
#define CALLBACK_API_C(_type,_name) _type ( * _name)
#define CALLBACK_API_STDCALL(_type,_name) _type ( * _name)
#define CALLBACK_API_C_STDCALL(_type,_name) _type ( * _name)
#undef pascal
#define pascal
# 385 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define TARGET_API_MAC_OS8 0
#define TARGET_API_MAC_CARBON 1
#define TARGET_API_MAC_OSX 1
# 431 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define TARGET_CARBON 1
# 469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define PRAGMA_ALIGN_SUPPORTED ..PRAGMA_ALIGN_SUPPORTED_is_obsolete..
#define GENERATINGPOWERPC ..GENERATINGPOWERPC_is_obsolete..
#define GENERATING68K ..GENERATING68K_is_obsolete..
#define GENERATING68881 ..GENERATING68881_is_obsolete..
#define GENERATINGCFM ..GENERATINGCFM_is_obsolete..
#define CFMSYSTEMCALLS ..CFMSYSTEMCALLS_is_obsolete..
# 494 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define OLDROUTINENAMES 0
# 526 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define ONEWORDINLINE(w1)
#define TWOWORDINLINE(w1,w2)
#define THREEWORDINLINE(w1,w2,w3)
#define FOURWORDINLINE(w1,w2,w3,w4)
#define FIVEWORDINLINE(w1,w2,w3,w4,w5)
#define SIXWORDINLINE(w1,w2,w3,w4,w5,w6)
#define SEVENWORDINLINE(w1,w2,w3,w4,w5,w6,w7)
#define EIGHTWORDINLINE(w1,w2,w3,w4,w5,w6,w7,w8)
#define NINEWORDINLINE(w1,w2,w3,w4,w5,w6,w7,w8,w9)
#define TENWORDINLINE(w1,w2,w3,w4,w5,w6,w7,w8,w9,w10)
#define ELEVENWORDINLINE(w1,w2,w3,w4,w5,w6,w7,w8,w9,w10,w11)
#define TWELVEWORDINLINE(w1,w2,w3,w4,w5,w6,w7,w8,w9,w10,w11,w12)
# 564 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define OPAQUE_TOOLBOX_STRUCTS 1
#define OPAQUE_UPP_TYPES 1
#define ACCESSOR_CALLS_ARE_FUNCTIONS 1
#define CALL_NOT_IN_CARBON 0
#define MIXEDMODE_CALLS_ARE_FUNCTIONS 1
# 21 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 2 3
# 37 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
#pragma pack(push, 2)
# 55 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
#define ALLOW_OBSOLETE_CARBON_MACMEMORY 0
#define ALLOW_OBSOLETE_CARBON_OSUTILS 0
# 69 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
#define nil NULL
# 85 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef unsigned char UInt8;
typedef signed char SInt8;
typedef unsigned short UInt16;
typedef signed short SInt16;
typedef unsigned long UInt32;
typedef signed long SInt32;
# 112 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
struct wide {
UInt32 lo;
SInt32 hi;
};
typedef struct wide wide;
struct UnsignedWide {
UInt32 lo;
UInt32 hi;
};
typedef struct UnsignedWide UnsignedWide;
# 143 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef signed long long SInt64;
typedef unsigned long long UInt64;
# 163 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef SInt32 Fixed;
typedef Fixed * FixedPtr;
typedef SInt32 Fract;
typedef Fract * FractPtr;
typedef UInt32 UnsignedFixed;
typedef UnsignedFixed * UnsignedFixedPtr;
typedef short ShortFixed;
typedef ShortFixed * ShortFixedPtr;
# 190 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef float Float32;
typedef double Float64;
struct Float80 {
SInt16 exp;
UInt16 man[4];
};
typedef struct Float80 Float80;
struct Float96 {
SInt16 exp[2];
UInt16 man[4];
};
typedef struct Float96 Float96;
struct Float32Point {
Float32 x;
Float32 y;
};
typedef struct Float32Point Float32Point;
# 218 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef char * Ptr;
typedef Ptr * Handle;
typedef long Size;
# 248 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef SInt16 OSErr;
typedef SInt32 OSStatus;
typedef void * LogicalAddress;
typedef const void * ConstLogicalAddress;
typedef void * PhysicalAddress;
typedef UInt8 * BytePtr;
typedef unsigned long ByteCount;
typedef unsigned long ByteOffset;
typedef SInt32 Duration;
typedef UnsignedWide AbsoluteTime;
typedef UInt32 OptionBits;
typedef unsigned long ItemCount;
typedef UInt32 PBVersion;
typedef SInt16 ScriptCode;
typedef SInt16 LangCode;
typedef SInt16 RegionCode;
typedef UInt32 FourCharCode;
typedef FourCharCode OSType;
typedef FourCharCode ResType;
typedef OSType * OSTypePtr;
typedef ResType * ResTypePtr;
# 279 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef unsigned char Boolean;
# 292 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef long ( * ProcPtr)();
typedef void ( * Register68kProcPtr)();
typedef ProcPtr UniversalProcPtr;
typedef ProcPtr * ProcHandle;
typedef UniversalProcPtr * UniversalProcHandle;
# 317 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef void * PRefCon;
typedef UInt32 URefCon;
typedef SInt32 SRefCon;
# 347 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
enum {
noErr = 0
};
enum {
kNilOptions = 0
};
#define kInvalidID 0
enum {
kVariableLengthArray = 1
};
enum {
kUnknownType = 0x3F3F3F3F
};
# 416 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef UInt32 UnicodeScalarValue;
typedef UInt32 UTF32Char;
typedef UInt16 UniChar;
typedef UInt16 UTF16Char;
typedef UInt8 UTF8Char;
typedef UniChar * UniCharPtr;
typedef unsigned long UniCharCount;
typedef UniCharCount * UniCharCountPtr;
typedef unsigned char Str255[256];
typedef unsigned char Str63[64];
typedef unsigned char Str32[33];
typedef unsigned char Str31[32];
typedef unsigned char Str27[28];
typedef unsigned char Str15[16];
# 438 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef unsigned char Str32Field[34];
# 448 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef Str63 StrFileName;
typedef unsigned char * StringPtr;
typedef StringPtr * StringHandle;
typedef const unsigned char * ConstStringPtr;
typedef const unsigned char * ConstStr255Param;
typedef const unsigned char * ConstStr63Param;
typedef const unsigned char * ConstStr32Param;
typedef const unsigned char * ConstStr31Param;
typedef const unsigned char * ConstStr27Param;
typedef const unsigned char * ConstStr15Param;
typedef ConstStr63Param ConstStrFileNameParam;
#define StrLength(string) (*(unsigned char *)(string))
# 475 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
struct ProcessSerialNumber {
UInt32 highLongOfPSN;
UInt32 lowLongOfPSN;
};
typedef struct ProcessSerialNumber ProcessSerialNumber;
typedef ProcessSerialNumber * ProcessSerialNumberPtr;
# 497 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
struct Point {
short v;
short h;
};
typedef struct Point Point;
typedef Point * PointPtr;
struct Rect {
short top;
short left;
short bottom;
short right;
};
typedef struct Rect Rect;
typedef Rect * RectPtr;
struct FixedPoint {
Fixed x;
Fixed y;
};
typedef struct FixedPoint FixedPoint;
struct FixedRect {
Fixed left;
Fixed top;
Fixed right;
Fixed bottom;
};
typedef struct FixedRect FixedRect;
typedef short CharParameter;
enum {
normal = 0,
bold = 1,
italic = 2,
underline = 4,
outline = 8,
shadow = 0x10,
condense = 0x20,
extend = 0x40
};
typedef unsigned char Style;
typedef short StyleParameter;
typedef Style StyleField;
# 553 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef SInt32 TimeValue;
typedef SInt32 TimeScale;
typedef wide CompTimeValue;
typedef SInt64 TimeValue64;
typedef struct TimeBaseRecord* TimeBase;
struct TimeRecord {
CompTimeValue value;
TimeScale scale;
TimeBase base;
};
typedef struct TimeRecord TimeRecord;
# 605 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
struct NumVersion {
UInt8 nonRelRev;
UInt8 stage;
UInt8 minorAndBugRev;
UInt8 majorRev;
};
typedef struct NumVersion NumVersion;
enum {
developStage = 0x20,
alphaStage = 0x40,
betaStage = 0x60,
finalStage = 0x80
};
union NumVersionVariant {
NumVersion parts;
UInt32 whole;
};
typedef union NumVersionVariant NumVersionVariant;
typedef NumVersionVariant * NumVersionVariantPtr;
typedef NumVersionVariantPtr * NumVersionVariantHandle;
struct VersRec {
NumVersion numericVersion;
short countryCode;
Str255 shortVersion;
Str255 reserved;
};
typedef struct VersRec VersRec;
typedef VersRec * VersRecPtr;
typedef VersRecPtr * VersRecHndl;
typedef UInt8 Byte;
typedef SInt8 SignedByte;
typedef wide * WidePtr;
typedef UnsignedWide * UnsignedWidePtr;
typedef Float80 extended80;
typedef Float96 extended96;
typedef SInt8 VHSelect;
# 666 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
extern void
Debugger(void) ;
# 678 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
extern void
DebugStr(ConstStr255Param debuggerMsg) ;
# 725 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
extern void
SysBreak(void) ;
# 737 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
extern void
SysBreakStr(ConstStr255Param debuggerMsg) ;
# 749 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
extern void
SysBreakFunc(ConstStr255Param debuggerMsg) ;
# 760 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
#pragma pack(pop)
# 46 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 2 3
# 90 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
#define CF_EXTERN_C_BEGIN
#define CF_EXTERN_C_END
# 108 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
#define TRUE 1
#define FALSE 0
# 129 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
#define CF_EXPORT extern
#define CF_INLINE static __inline__ __attribute__((always_inline))
# 147 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
extern double kCFCoreFoundationVersionNumber;
#define kCFCoreFoundationVersionNumber10_0 196.40
#define kCFCoreFoundationVersionNumber10_0_3 196.50
#define kCFCoreFoundationVersionNumber10_1 226.00
#define kCFCoreFoundationVersionNumber10_1_1 226.00
#define kCFCoreFoundationVersionNumber10_1_2 227.20
#define kCFCoreFoundationVersionNumber10_1_3 227.20
#define kCFCoreFoundationVersionNumber10_1_4 227.30
#define kCFCoreFoundationVersionNumber10_2 263.00
#define kCFCoreFoundationVersionNumber10_2_1 263.10
#define kCFCoreFoundationVersionNumber10_2_2 263.10
#define kCFCoreFoundationVersionNumber10_2_3 263.30
#define kCFCoreFoundationVersionNumber10_2_4 263.30
#define kCFCoreFoundationVersionNumber10_2_5 263.50
#define kCFCoreFoundationVersionNumber10_2_6 263.50
#define kCFCoreFoundationVersionNumber10_2_7 263.50
#define kCFCoreFoundationVersionNumber10_2_8 263.50
#define kCFCoreFoundationVersionNumber10_3 299.00
#define kCFCoreFoundationVersionNumber10_3_1 299.00
#define kCFCoreFoundationVersionNumber10_3_2 299.00
#define kCFCoreFoundationVersionNumber10_3_3 299.30
#define kCFCoreFoundationVersionNumber10_3_4 299.31
#define kCFCoreFoundationVersionNumber10_3_5 299.31
#define kCFCoreFoundationVersionNumber10_3_6 299.32
#define kCFCoreFoundationVersionNumber10_3_7 299.33
#define kCFCoreFoundationVersionNumber10_3_8 299.33
#define kCFCoreFoundationVersionNumber10_3_9 299.35
#define kCFCoreFoundationVersionNumber10_4 368.00
#define kCFCoreFoundationVersionNumber10_4_1 368.10
#define kCFCoreFoundationVersionNumber10_4_2 368.11
#define kCFCoreFoundationVersionNumber10_4_3 368.18
#define kCFCoreFoundationVersionNumber10_4_4_Intel 368.26
#define kCFCoreFoundationVersionNumber10_4_4_PowerPC 368.25
#define kCFCoreFoundationVersionNumber10_4_5_Intel 368.26
#define kCFCoreFoundationVersionNumber10_4_5_PowerPC 368.25
#define kCFCoreFoundationVersionNumber10_4_6_Intel 368.26
#define kCFCoreFoundationVersionNumber10_4_6_PowerPC 368.25
#define kCFCoreFoundationVersionNumber10_4_7 368.27
#define kCFCoreFoundationVersionNumber10_4_8 368.27
#define kCFCoreFoundationVersionNumber10_4_9 368.28
#define kCFCoreFoundationVersionNumber10_4_10 368.28
#define kCFCoreFoundationVersionNumber10_4_11 368.31
typedef unsigned long CFTypeID;
typedef unsigned long CFOptionFlags;
typedef unsigned long CFHashCode;
typedef signed long CFIndex;
typedef const void * CFTypeRef;
typedef const struct __CFString * CFStringRef;
typedef struct __CFString * CFMutableStringRef;
typedef CFTypeRef CFPropertyListRef;
enum {
kCFCompareLessThan = -1,
kCFCompareEqualTo = 0,
kCFCompareGreaterThan = 1
};
typedef CFIndex CFComparisonResult;
typedef CFComparisonResult (*CFComparatorFunction)(const void *val1, const void *val2, void *context);
enum {
kCFNotFound = -1
};
typedef struct {
CFIndex location;
CFIndex length;
} CFRange;
static __inline__ __attribute__((always_inline)) CFRange CFRangeMake(CFIndex loc, CFIndex len) {
CFRange range;
range.location = loc;
range.length = len;
return range;
}
extern
CFRange __CFRangeMake(CFIndex loc, CFIndex len);
typedef const struct __CFNull * CFNullRef;
extern
CFTypeID CFNullGetTypeID(void);
extern
const CFNullRef kCFNull;
# 273 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
typedef const struct __CFAllocator * CFAllocatorRef;
extern
const CFAllocatorRef kCFAllocatorDefault;
extern
const CFAllocatorRef kCFAllocatorSystemDefault;
extern
const CFAllocatorRef kCFAllocatorMalloc;
extern
const CFAllocatorRef kCFAllocatorMallocZone ;
extern
const CFAllocatorRef kCFAllocatorNull;
extern
const CFAllocatorRef kCFAllocatorUseContext;
typedef const void * (*CFAllocatorRetainCallBack)(const void *info);
typedef void (*CFAllocatorReleaseCallBack)(const void *info);
typedef CFStringRef (*CFAllocatorCopyDescriptionCallBack)(const void *info);
typedef void * (*CFAllocatorAllocateCallBack)(CFIndex allocSize, CFOptionFlags hint, void *info);
typedef void * (*CFAllocatorReallocateCallBack)(void *ptr, CFIndex newsize, CFOptionFlags hint, void *info);
typedef void (*CFAllocatorDeallocateCallBack)(void *ptr, void *info);
typedef CFIndex (*CFAllocatorPreferredSizeCallBack)(CFIndex size, CFOptionFlags hint, void *info);
typedef struct {
CFIndex version;
void * info;
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
CFAllocatorAllocateCallBack allocate;
CFAllocatorReallocateCallBack reallocate;
CFAllocatorDeallocateCallBack deallocate;
CFAllocatorPreferredSizeCallBack preferredSize;
} CFAllocatorContext;
extern
CFTypeID CFAllocatorGetTypeID(void);
# 358 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
extern
void CFAllocatorSetDefault(CFAllocatorRef allocator);
extern
CFAllocatorRef CFAllocatorGetDefault(void);
extern
CFAllocatorRef CFAllocatorCreate(CFAllocatorRef allocator, CFAllocatorContext *context);
extern
void *CFAllocatorAllocate(CFAllocatorRef allocator, CFIndex size, CFOptionFlags hint);
extern
void *CFAllocatorReallocate(CFAllocatorRef allocator, void *ptr, CFIndex newsize, CFOptionFlags hint);
extern
void CFAllocatorDeallocate(CFAllocatorRef allocator, void *ptr);
extern
CFIndex CFAllocatorGetPreferredSizeForSize(CFAllocatorRef allocator, CFIndex size, CFOptionFlags hint);
extern
void CFAllocatorGetContext(CFAllocatorRef allocator, CFAllocatorContext *context);
extern
CFTypeID CFGetTypeID(CFTypeRef cf);
extern
CFStringRef CFCopyTypeIDDescription(CFTypeID type_id);
extern
CFTypeRef CFRetain(CFTypeRef cf);
extern
void CFRelease(CFTypeRef cf);
extern
CFIndex CFGetRetainCount(CFTypeRef cf);
extern
CFTypeRef CFMakeCollectable(CFTypeRef cf) ;
extern
Boolean CFEqual(CFTypeRef cf1, CFTypeRef cf2);
extern
CFHashCode CFHash(CFTypeRef cf);
extern
CFStringRef CFCopyDescription(CFTypeRef cf);
extern
CFAllocatorRef CFGetAllocator(CFTypeRef cf);
# 39 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 1 3
# 45 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
#define __COREFOUNDATION_CFARRAY__ 1
# 73 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
typedef const void * (*CFArrayRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFArrayReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFArrayCopyDescriptionCallBack)(const void *value);
typedef Boolean (*CFArrayEqualCallBack)(const void *value1, const void *value2);
typedef struct {
CFIndex version;
CFArrayRetainCallBack retain;
CFArrayReleaseCallBack release;
CFArrayCopyDescriptionCallBack copyDescription;
CFArrayEqualCallBack equal;
} CFArrayCallBacks;
extern
const CFArrayCallBacks kCFTypeArrayCallBacks;
# 101 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
typedef void (*CFArrayApplierFunction)(const void *value, void *context);
typedef const struct __CFArray * CFArrayRef;
typedef struct __CFArray * CFMutableArrayRef;
extern
CFTypeID CFArrayGetTypeID(void);
# 172 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFArrayRef CFArrayCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFArrayCallBacks *callBacks);
# 193 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFArrayRef CFArrayCreateCopy(CFAllocatorRef allocator, CFArrayRef theArray);
# 237 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFMutableArrayRef CFArrayCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFArrayCallBacks *callBacks);
# 267 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFMutableArrayRef CFArrayCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFArrayRef theArray);
# 277 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFIndex CFArrayGetCount(CFArrayRef theArray);
# 300 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFIndex CFArrayGetCountOfValue(CFArrayRef theArray, CFRange range, const void *value);
# 323 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
Boolean CFArrayContainsValue(CFArrayRef theArray, CFRange range, const void *value);
# 337 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
const void *CFArrayGetValueAtIndex(CFArrayRef theArray, CFIndex idx);
# 358 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayGetValues(CFArrayRef theArray, CFRange range, const void **values);
# 385 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayApplyFunction(CFArrayRef theArray, CFRange range, CFArrayApplierFunction applier, void *context);
# 410 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFIndex CFArrayGetFirstIndexOfValue(CFArrayRef theArray, CFRange range, const void *value);
# 435 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFIndex CFArrayGetLastIndexOfValue(CFArrayRef theArray, CFRange range, const void *value);
# 474 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFIndex CFArrayBSearchValues(CFArrayRef theArray, CFRange range, const void *value, CFComparatorFunction comparator, void *context);
# 490 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayAppendValue(CFMutableArrayRef theArray, const void *value);
# 511 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayInsertValueAtIndex(CFMutableArrayRef theArray, CFIndex idx, const void *value);
# 532 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArraySetValueAtIndex(CFMutableArrayRef theArray, CFIndex idx, const void *value);
# 546 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayRemoveValueAtIndex(CFMutableArrayRef theArray, CFIndex idx);
# 556 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayRemoveAllValues(CFMutableArrayRef theArray);
# 590 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayReplaceValues(CFMutableArrayRef theArray, CFRange range, const void **newValues, CFIndex newCount);
# 608 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayExchangeValuesAtIndices(CFMutableArrayRef theArray, CFIndex idx1, CFIndex idx2);
# 638 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArraySortValues(CFMutableArrayRef theArray, CFRange range, CFComparatorFunction comparator, void *context);
# 665 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayAppendArray(CFMutableArrayRef theArray, CFArrayRef otherArray, CFRange otherRange);
# 40 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h" 1 3
#define __COREFOUNDATION_CFBAG__ 1
typedef const void * (*CFBagRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFBagReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFBagCopyDescriptionCallBack)(const void *value);
typedef Boolean (*CFBagEqualCallBack)(const void *value1, const void *value2);
typedef CFHashCode (*CFBagHashCallBack)(const void *value);
typedef struct {
CFIndex version;
CFBagRetainCallBack retain;
CFBagReleaseCallBack release;
CFBagCopyDescriptionCallBack copyDescription;
CFBagEqualCallBack equal;
CFBagHashCallBack hash;
} CFBagCallBacks;
extern
const CFBagCallBacks kCFTypeBagCallBacks;
extern
const CFBagCallBacks kCFCopyStringBagCallBacks;
typedef void (*CFBagApplierFunction)(const void *value, void *context);
typedef const struct __CFBag * CFBagRef;
typedef struct __CFBag * CFMutableBagRef;
extern
CFTypeID CFBagGetTypeID(void);
extern
CFBagRef CFBagCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFBagCallBacks *callBacks);
extern
CFBagRef CFBagCreateCopy(CFAllocatorRef allocator, CFBagRef theBag);
extern
CFMutableBagRef CFBagCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFBagCallBacks *callBacks);
extern
CFMutableBagRef CFBagCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFBagRef theBag);
extern
CFIndex CFBagGetCount(CFBagRef theBag);
extern
CFIndex CFBagGetCountOfValue(CFBagRef theBag, const void *value);
extern
Boolean CFBagContainsValue(CFBagRef theBag, const void *value);
extern
const void *CFBagGetValue(CFBagRef theBag, const void *value);
extern
Boolean CFBagGetValueIfPresent(CFBagRef theBag, const void *candidate, const void **value);
extern
void CFBagGetValues(CFBagRef theBag, const void **values);
extern
void CFBagApplyFunction(CFBagRef theBag, CFBagApplierFunction applier, void *context);
extern
void CFBagAddValue(CFMutableBagRef theBag, const void *value);
extern
void CFBagReplaceValue(CFMutableBagRef theBag, const void *value);
extern
void CFBagSetValue(CFMutableBagRef theBag, const void *value);
extern
void CFBagRemoveValue(CFMutableBagRef theBag, const void *value);
extern
void CFBagRemoveAllValues(CFMutableBagRef theBag);
# 41 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 1 3
# 12 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
#define __COREFOUNDATION_CFBINARYHEAP__ 1
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFBinaryHeapCompareContext;
# 49 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
typedef struct {
CFIndex version;
const void *(*retain)(CFAllocatorRef allocator, const void *ptr);
void (*release)(CFAllocatorRef allocator, const void *ptr);
CFStringRef (*copyDescription)(const void *ptr);
CFComparisonResult (*compare)(const void *ptr1, const void *ptr2, void *context);
} CFBinaryHeapCallBacks;
extern const CFBinaryHeapCallBacks kCFStringBinaryHeapCallBacks;
# 73 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
typedef void (*CFBinaryHeapApplierFunction)(const void *val, void *context);
typedef struct __CFBinaryHeap * CFBinaryHeapRef;
extern CFTypeID CFBinaryHeapGetTypeID(void);
# 129 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern CFBinaryHeapRef CFBinaryHeapCreate(CFAllocatorRef allocator, CFIndex capacity, const CFBinaryHeapCallBacks *callBacks, const CFBinaryHeapCompareContext *compareContext);
# 158 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern CFBinaryHeapRef CFBinaryHeapCreateCopy(CFAllocatorRef allocator, CFIndex capacity, CFBinaryHeapRef heap);
# 167 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern CFIndex CFBinaryHeapGetCount(CFBinaryHeapRef heap);
# 182 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern CFIndex CFBinaryHeapGetCountOfValue(CFBinaryHeapRef heap, const void *value);
# 197 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern Boolean CFBinaryHeapContainsValue(CFBinaryHeapRef heap, const void *value);
# 208 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern const void * CFBinaryHeapGetMinimum(CFBinaryHeapRef heap);
# 222 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern Boolean CFBinaryHeapGetMinimumIfPresent(CFBinaryHeapRef heap, const void **value);
# 234 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern void CFBinaryHeapGetValues(CFBinaryHeapRef heap, const void **values);
# 253 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern void CFBinaryHeapApplyFunction(CFBinaryHeapRef heap, CFBinaryHeapApplierFunction applier, void *context);
# 265 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern void CFBinaryHeapAddValue(CFBinaryHeapRef heap, const void *value);
extern void CFBinaryHeapRemoveMinimumValue(CFBinaryHeapRef heap);
# 282 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern void CFBinaryHeapRemoveAllValues(CFBinaryHeapRef heap);
# 42 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h" 1 3
#define __COREFOUNDATION_CFBITVECTOR__ 1
typedef UInt32 CFBit;
typedef const struct __CFBitVector * CFBitVectorRef;
typedef struct __CFBitVector * CFMutableBitVectorRef;
extern CFTypeID CFBitVectorGetTypeID(void);
extern CFBitVectorRef CFBitVectorCreate(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex numBits);
extern CFBitVectorRef CFBitVectorCreateCopy(CFAllocatorRef allocator, CFBitVectorRef bv);
extern CFMutableBitVectorRef CFBitVectorCreateMutable(CFAllocatorRef allocator, CFIndex capacity);
extern CFMutableBitVectorRef CFBitVectorCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFBitVectorRef bv);
extern CFIndex CFBitVectorGetCount(CFBitVectorRef bv);
extern CFIndex CFBitVectorGetCountOfBit(CFBitVectorRef bv, CFRange range, CFBit value);
extern Boolean CFBitVectorContainsBit(CFBitVectorRef bv, CFRange range, CFBit value);
extern CFBit CFBitVectorGetBitAtIndex(CFBitVectorRef bv, CFIndex idx);
extern void CFBitVectorGetBits(CFBitVectorRef bv, CFRange range, UInt8 *bytes);
extern CFIndex CFBitVectorGetFirstIndexOfBit(CFBitVectorRef bv, CFRange range, CFBit value);
extern CFIndex CFBitVectorGetLastIndexOfBit(CFBitVectorRef bv, CFRange range, CFBit value);
extern void CFBitVectorSetCount(CFMutableBitVectorRef bv, CFIndex count);
extern void CFBitVectorFlipBitAtIndex(CFMutableBitVectorRef bv, CFIndex idx);
extern void CFBitVectorFlipBits(CFMutableBitVectorRef bv, CFRange range);
extern void CFBitVectorSetBitAtIndex(CFMutableBitVectorRef bv, CFIndex idx, CFBit value);
extern void CFBitVectorSetBits(CFMutableBitVectorRef bv, CFRange range, CFBit value);
extern void CFBitVectorSetAllBits(CFMutableBitVectorRef bv, CFBit value);
# 43 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 1 3
#define __COREFOUNDATION_CFBUNDLE__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 1 3
# 60 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
#define __COREFOUNDATION_CFDICTIONARY__ 1
# 91 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
typedef const void * (*CFDictionaryRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFDictionaryReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFDictionaryCopyDescriptionCallBack)(const void *value);
typedef Boolean (*CFDictionaryEqualCallBack)(const void *value1, const void *value2);
typedef CFHashCode (*CFDictionaryHashCallBack)(const void *value);
typedef struct {
CFIndex version;
CFDictionaryRetainCallBack retain;
CFDictionaryReleaseCallBack release;
CFDictionaryCopyDescriptionCallBack copyDescription;
CFDictionaryEqualCallBack equal;
CFDictionaryHashCallBack hash;
} CFDictionaryKeyCallBacks;
extern
const CFDictionaryKeyCallBacks kCFTypeDictionaryKeyCallBacks;
# 122 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
const CFDictionaryKeyCallBacks kCFCopyStringDictionaryKeyCallBacks;
# 148 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
typedef struct {
CFIndex version;
CFDictionaryRetainCallBack retain;
CFDictionaryReleaseCallBack release;
CFDictionaryCopyDescriptionCallBack copyDescription;
CFDictionaryEqualCallBack equal;
} CFDictionaryValueCallBacks;
extern
const CFDictionaryValueCallBacks kCFTypeDictionaryValueCallBacks;
# 174 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
typedef void (*CFDictionaryApplierFunction)(const void *key, const void *value, void *context);
typedef const struct __CFDictionary * CFDictionaryRef;
typedef struct __CFDictionary * CFMutableDictionaryRef;
extern
CFTypeID CFDictionaryGetTypeID(void);
# 277 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
# 301 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFDictionaryRef CFDictionaryCreateCopy(CFAllocatorRef allocator, CFDictionaryRef theDict);
# 373 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFMutableDictionaryRef CFDictionaryCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
# 406 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFMutableDictionaryRef CFDictionaryCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFDictionaryRef theDict);
# 416 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFIndex CFDictionaryGetCount(CFDictionaryRef theDict);
# 435 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFIndex CFDictionaryGetCountOfKey(CFDictionaryRef theDict, const void *key);
# 451 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFIndex CFDictionaryGetCountOfValue(CFDictionaryRef theDict, const void *value);
# 469 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
Boolean CFDictionaryContainsKey(CFDictionaryRef theDict, const void *key);
# 485 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
Boolean CFDictionaryContainsValue(CFDictionaryRef theDict, const void *value);
# 507 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key);
# 532 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
Boolean CFDictionaryGetValueIfPresent(CFDictionaryRef theDict, const void *key, const void **value);
# 555 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryGetKeysAndValues(CFDictionaryRef theDict, const void **keys, const void **values);
# 575 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryApplyFunction(CFDictionaryRef theDict, CFDictionaryApplierFunction applier, void *context);
# 595 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryAddValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
# 618 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionarySetValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
# 637 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryReplaceValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
# 651 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryRemoveValue(CFMutableDictionaryRef theDict, const void *key);
# 661 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryRemoveAllValues(CFMutableDictionaryRef theDict);
# 11 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 1 3
# 30 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
#define __COREFOUNDATION_CFERROR__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 1 3
#define __COREFOUNDATION_CFSTRING__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h" 1 3
#define __COREFOUNDATION_CFDATA__ 1
typedef const struct __CFData * CFDataRef;
typedef struct __CFData * CFMutableDataRef;
extern
CFTypeID CFDataGetTypeID(void);
extern
CFDataRef CFDataCreate(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length);
extern
CFDataRef CFDataCreateWithBytesNoCopy(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
extern
CFDataRef CFDataCreateCopy(CFAllocatorRef allocator, CFDataRef theData);
extern
CFMutableDataRef CFDataCreateMutable(CFAllocatorRef allocator, CFIndex capacity);
extern
CFMutableDataRef CFDataCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFDataRef theData);
extern
CFIndex CFDataGetLength(CFDataRef theData);
extern
const UInt8 *CFDataGetBytePtr(CFDataRef theData);
extern
UInt8 *CFDataGetMutableBytePtr(CFMutableDataRef theData);
extern
void CFDataGetBytes(CFDataRef theData, CFRange range, UInt8 *buffer);
extern
void CFDataSetLength(CFMutableDataRef theData, CFIndex length);
extern
void CFDataIncreaseLength(CFMutableDataRef theData, CFIndex extraLength);
extern
void CFDataAppendBytes(CFMutableDataRef theData, const UInt8 *bytes, CFIndex length);
extern
void CFDataReplaceBytes(CFMutableDataRef theData, CFRange range, const UInt8 *newBytes, CFIndex newLength);
extern
void CFDataDeleteBytes(CFMutableDataRef theData, CFRange range);
# 11 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 1 3
# 32 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
#define __COREFOUNDATION_CFCHARACTERSET__ 1
typedef const struct __CFCharacterSet * CFCharacterSetRef;
typedef struct __CFCharacterSet * CFMutableCharacterSetRef;
enum {
kCFCharacterSetControl = 1,
kCFCharacterSetWhitespace,
kCFCharacterSetWhitespaceAndNewline,
kCFCharacterSetDecimalDigit,
kCFCharacterSetLetter,
kCFCharacterSetLowercaseLetter,
kCFCharacterSetUppercaseLetter,
kCFCharacterSetNonBase,
kCFCharacterSetDecomposable,
kCFCharacterSetAlphaNumeric,
kCFCharacterSetPunctuation,
kCFCharacterSetCapitalizedLetter = 13,
kCFCharacterSetSymbol = 14,
kCFCharacterSetNewline = 15,
kCFCharacterSetIllegal = 12
};
typedef CFIndex CFCharacterSetPredefinedSet;
extern
CFTypeID CFCharacterSetGetTypeID(void);
# 98 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFCharacterSetRef CFCharacterSetGetPredefined(CFCharacterSetPredefinedSet theSetIdentifier);
# 117 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFCharacterSetRef CFCharacterSetCreateWithCharactersInRange(CFAllocatorRef alloc, CFRange theRange);
# 134 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFCharacterSetRef CFCharacterSetCreateWithCharactersInString(CFAllocatorRef alloc, CFStringRef theString);
# 162 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFCharacterSetRef CFCharacterSetCreateWithBitmapRepresentation(CFAllocatorRef alloc, CFDataRef theData);
# 179 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern CFCharacterSetRef CFCharacterSetCreateInvertedSet(CFAllocatorRef alloc, CFCharacterSetRef theSet);
# 189 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern Boolean CFCharacterSetIsSupersetOfSet(CFCharacterSetRef theSet, CFCharacterSetRef theOtherset);
# 200 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern Boolean CFCharacterSetHasMemberInPlane(CFCharacterSetRef theSet, CFIndex thePlane);
# 213 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFMutableCharacterSetRef CFCharacterSetCreateMutable(CFAllocatorRef alloc);
# 230 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFCharacterSetRef CFCharacterSetCreateCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet) ;
# 247 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFMutableCharacterSetRef CFCharacterSetCreateMutableCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet);
# 261 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
Boolean CFCharacterSetIsCharacterMember(CFCharacterSetRef theSet, UniChar theChar);
# 274 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern Boolean CFCharacterSetIsLongCharacterMember(CFCharacterSetRef theSet, UTF32Char theChar);
# 293 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFDataRef CFCharacterSetCreateBitmapRepresentation(CFAllocatorRef alloc, CFCharacterSetRef theSet);
# 308 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetAddCharactersInRange(CFMutableCharacterSetRef theSet, CFRange theRange);
# 323 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetRemoveCharactersInRange(CFMutableCharacterSetRef theSet, CFRange theRange);
# 336 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetAddCharactersInString(CFMutableCharacterSetRef theSet, CFStringRef theString);
# 349 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetRemoveCharactersInString(CFMutableCharacterSetRef theSet, CFStringRef theString);
# 363 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetUnion(CFMutableCharacterSetRef theSet, CFCharacterSetRef theOtherSet);
# 377 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetIntersect(CFMutableCharacterSetRef theSet, CFCharacterSetRef theOtherSet);
# 387 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetInvert(CFMutableCharacterSetRef theSet);
# 13 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h" 1 3
#define __COREFOUNDATION_CFLOCALE__ 1
typedef const struct __CFLocale *CFLocaleRef;
extern
CFTypeID CFLocaleGetTypeID(void) ;
extern
CFLocaleRef CFLocaleGetSystem(void) ;
extern
CFLocaleRef CFLocaleCopyCurrent(void) ;
# 36 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h" 3
extern
CFArrayRef CFLocaleCopyAvailableLocaleIdentifiers(void) ;
extern
CFArrayRef CFLocaleCopyISOLanguageCodes(void) ;
extern
CFArrayRef CFLocaleCopyISOCountryCodes(void) ;
extern
CFArrayRef CFLocaleCopyISOCurrencyCodes(void) ;
extern
CFArrayRef CFLocaleCopyCommonISOCurrencyCodes(void) ;
extern
CFArrayRef CFLocaleCopyPreferredLanguages(void) ;
extern
CFStringRef CFLocaleCreateCanonicalLanguageIdentifierFromString(CFAllocatorRef allocator, CFStringRef localeIdentifier) ;
extern
CFStringRef CFLocaleCreateCanonicalLocaleIdentifierFromString(CFAllocatorRef allocator, CFStringRef localeIdentifier) ;
extern
CFStringRef CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes(CFAllocatorRef allocator, LangCode lcode, RegionCode rcode) ;
extern
CFDictionaryRef CFLocaleCreateComponentsFromLocaleIdentifier(CFAllocatorRef allocator, CFStringRef localeID) ;
# 92 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h" 3
extern
CFStringRef CFLocaleCreateLocaleIdentifierFromComponents(CFAllocatorRef allocator, CFDictionaryRef dictionary) ;
extern
CFLocaleRef CFLocaleCreate(CFAllocatorRef allocator, CFStringRef localeIdentifier) ;
extern
CFLocaleRef CFLocaleCreateCopy(CFAllocatorRef allocator, CFLocaleRef locale) ;
extern
CFStringRef CFLocaleGetIdentifier(CFLocaleRef locale) ;
extern
CFTypeRef CFLocaleGetValue(CFLocaleRef locale, CFStringRef key) ;
extern
CFStringRef CFLocaleCopyDisplayNameForPropertyValue(CFLocaleRef displayLocale, CFStringRef key, CFStringRef value) ;
extern const CFStringRef kCFLocaleCurrentLocaleDidChangeNotification ;
extern const CFStringRef kCFLocaleIdentifier ;
extern const CFStringRef kCFLocaleLanguageCode ;
extern const CFStringRef kCFLocaleCountryCode ;
extern const CFStringRef kCFLocaleScriptCode ;
extern const CFStringRef kCFLocaleVariantCode ;
extern const CFStringRef kCFLocaleExemplarCharacterSet ;
extern const CFStringRef kCFLocaleCalendarIdentifier ;
extern const CFStringRef kCFLocaleCalendar ;
extern const CFStringRef kCFLocaleCollationIdentifier ;
extern const CFStringRef kCFLocaleUsesMetricSystem ;
extern const CFStringRef kCFLocaleMeasurementSystem ;
extern const CFStringRef kCFLocaleDecimalSeparator ;
extern const CFStringRef kCFLocaleGroupingSeparator ;
extern const CFStringRef kCFLocaleCurrencySymbol ;
extern const CFStringRef kCFLocaleCurrencyCode ;
extern const CFStringRef kCFGregorianCalendar ;
extern const CFStringRef kCFBuddhistCalendar ;
extern const CFStringRef kCFChineseCalendar ;
extern const CFStringRef kCFHebrewCalendar ;
extern const CFStringRef kCFIslamicCalendar ;
extern const CFStringRef kCFIslamicCivilCalendar ;
extern const CFStringRef kCFJapaneseCalendar ;
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 2 3
# 91 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
typedef UInt32 CFStringEncoding;
#define kCFStringEncodingInvalidId (0xffffffffU)
enum {
kCFStringEncodingMacRoman = 0,
kCFStringEncodingWindowsLatin1 = 0x0500,
kCFStringEncodingISOLatin1 = 0x0201,
kCFStringEncodingNextStepLatin = 0x0B01,
kCFStringEncodingASCII = 0x0600,
kCFStringEncodingUnicode = 0x0100,
kCFStringEncodingUTF8 = 0x08000100,
kCFStringEncodingNonLossyASCII = 0x0BFF
,
kCFStringEncodingUTF16 = 0x0100,
kCFStringEncodingUTF16BE = 0x10000100,
kCFStringEncodingUTF16LE = 0x14000100,
kCFStringEncodingUTF32 = 0x0c000100,
kCFStringEncodingUTF32BE = 0x18000100,
kCFStringEncodingUTF32LE = 0x1c000100
};
typedef CFStringEncoding CFStringBuiltInEncodings;
extern
CFTypeID CFStringGetTypeID(void);
# 141 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
#define CFSTR(cStr) ((CFStringRef) __builtin___CFStringMakeConstantString ("" cStr ""))
# 152 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFStringRef CFStringCreateWithPascalString(CFAllocatorRef alloc, ConstStr255Param pStr, CFStringEncoding encoding);
extern
CFStringRef CFStringCreateWithCString(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding);
extern
CFStringRef CFStringCreateWithBytes(CFAllocatorRef alloc, const UInt8 *bytes, CFIndex numBytes, CFStringEncoding encoding, Boolean isExternalRepresentation);
extern
CFStringRef CFStringCreateWithCharacters(CFAllocatorRef alloc, const UniChar *chars, CFIndex numChars);
# 183 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFStringRef CFStringCreateWithPascalStringNoCopy(CFAllocatorRef alloc, ConstStr255Param pStr, CFStringEncoding encoding, CFAllocatorRef contentsDeallocator);
extern
CFStringRef CFStringCreateWithCStringNoCopy(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding, CFAllocatorRef contentsDeallocator);
extern
CFStringRef CFStringCreateWithBytesNoCopy(CFAllocatorRef alloc, const UInt8 *bytes, CFIndex numBytes, CFStringEncoding encoding, Boolean isExternalRepresentation, CFAllocatorRef contentsDeallocator) ;
extern
CFStringRef CFStringCreateWithCharactersNoCopy(CFAllocatorRef alloc, const UniChar *chars, CFIndex numChars, CFAllocatorRef contentsDeallocator);
extern
CFStringRef CFStringCreateWithSubstring(CFAllocatorRef alloc, CFStringRef str, CFRange range);
extern
CFStringRef CFStringCreateCopy(CFAllocatorRef alloc, CFStringRef theString);
extern
CFStringRef CFStringCreateWithFormat(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, ...);
extern
CFStringRef CFStringCreateWithFormatAndArguments(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, va_list arguments);
extern
CFMutableStringRef CFStringCreateMutable(CFAllocatorRef alloc, CFIndex maxLength);
extern
CFMutableStringRef CFStringCreateMutableCopy(CFAllocatorRef alloc, CFIndex maxLength, CFStringRef theString);
extern
CFMutableStringRef CFStringCreateMutableWithExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity, CFAllocatorRef externalCharactersAllocator);
extern
CFIndex CFStringGetLength(CFStringRef theString);
extern
UniChar CFStringGetCharacterAtIndex(CFStringRef theString, CFIndex idx);
extern
void CFStringGetCharacters(CFStringRef theString, CFRange range, UniChar *buffer);
# 261 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
Boolean CFStringGetPascalString(CFStringRef theString, StringPtr buffer, CFIndex bufferSize, CFStringEncoding encoding);
extern
Boolean CFStringGetCString(CFStringRef theString, char *buffer, CFIndex bufferSize, CFStringEncoding encoding);
extern
ConstStringPtr CFStringGetPascalStringPtr(CFStringRef theString, CFStringEncoding encoding);
extern
const char *CFStringGetCStringPtr(CFStringRef theString, CFStringEncoding encoding);
extern
const UniChar *CFStringGetCharactersPtr(CFStringRef theString);
# 293 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFIndex CFStringGetBytes(CFStringRef theString, CFRange range, CFStringEncoding encoding, UInt8 lossByte, Boolean isExternalRepresentation, UInt8 *buffer, CFIndex maxBufLen, CFIndex *usedBufLen);
extern
CFStringRef CFStringCreateFromExternalRepresentation(CFAllocatorRef alloc, CFDataRef data, CFStringEncoding encoding);
extern
CFDataRef CFStringCreateExternalRepresentation(CFAllocatorRef alloc, CFStringRef theString, CFStringEncoding encoding, UInt8 lossByte);
extern
CFStringEncoding CFStringGetSmallestEncoding(CFStringRef theString);
extern
CFStringEncoding CFStringGetFastestEncoding(CFStringRef theString);
extern
CFStringEncoding CFStringGetSystemEncoding(void);
extern
CFIndex CFStringGetMaximumSizeForEncoding(CFIndex length, CFStringEncoding encoding);
extern
Boolean CFStringGetFileSystemRepresentation(CFStringRef string, char *buffer, CFIndex maxBufLen) ;
extern
CFIndex CFStringGetMaximumSizeOfFileSystemRepresentation(CFStringRef string) ;
extern
CFStringRef CFStringCreateWithFileSystemRepresentation(CFAllocatorRef alloc, const char *buffer) ;
enum {
kCFCompareCaseInsensitive = 1,
kCFCompareBackwards = 4,
kCFCompareAnchored = 8,
kCFCompareNonliteral = 16,
kCFCompareLocalized = 32,
kCFCompareNumerically = 64
,
kCFCompareDiacriticInsensitive = 128,
kCFCompareWidthInsensitive = 256,
kCFCompareForcedOrdering = 512
};
typedef CFOptionFlags CFStringCompareFlags;
# 371 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFComparisonResult CFStringCompareWithOptionsAndLocale(CFStringRef theString1, CFStringRef theString2, CFRange rangeToCompare, CFOptionFlags compareOptions, CFLocaleRef locale) ;
extern
CFComparisonResult CFStringCompareWithOptions(CFStringRef theString1, CFStringRef theString2, CFRange rangeToCompare, CFOptionFlags compareOptions);
extern
CFComparisonResult CFStringCompare(CFStringRef theString1, CFStringRef theString2, CFOptionFlags compareOptions);
# 395 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
Boolean CFStringFindWithOptionsAndLocale(CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags searchOptions, CFLocaleRef locale, CFRange *result) ;
extern
Boolean CFStringFindWithOptions(CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags searchOptions, CFRange *result);
# 413 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFArrayRef CFStringCreateArrayWithFindResults(CFAllocatorRef alloc, CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags compareOptions);
extern
CFRange CFStringFind(CFStringRef theString, CFStringRef stringToFind, CFOptionFlags compareOptions);
extern
Boolean CFStringHasPrefix(CFStringRef theString, CFStringRef prefix);
extern
Boolean CFStringHasSuffix(CFStringRef theString, CFStringRef suffix);
# 441 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern CFRange CFStringGetRangeOfComposedCharactersAtIndex(CFStringRef theString, CFIndex theIndex);
# 472 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern Boolean CFStringFindCharacterFromSet(CFStringRef theString, CFCharacterSetRef theSet, CFRange rangeToSearch, CFOptionFlags searchOptions, CFRange *result);
# 484 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFStringGetLineBounds(CFStringRef theString, CFRange range, CFIndex *lineBeginIndex, CFIndex *lineEndIndex, CFIndex *contentsEndIndex);
extern
void CFStringGetParagraphBounds(CFStringRef string, CFRange range, CFIndex *parBeginIndex, CFIndex *parEndIndex, CFIndex *contentsEndIndex) ;
extern
CFStringRef CFStringCreateByCombiningStrings(CFAllocatorRef alloc, CFArrayRef theArray, CFStringRef separatorString);
extern
CFArrayRef CFStringCreateArrayBySeparatingStrings(CFAllocatorRef alloc, CFStringRef theString, CFStringRef separatorString);
extern
SInt32 CFStringGetIntValue(CFStringRef str);
extern
double CFStringGetDoubleValue(CFStringRef str);
# 517 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFStringAppend(CFMutableStringRef theString, CFStringRef appendedString);
extern
void CFStringAppendCharacters(CFMutableStringRef theString, const UniChar *chars, CFIndex numChars);
extern
void CFStringAppendPascalString(CFMutableStringRef theString, ConstStr255Param pStr, CFStringEncoding encoding);
extern
void CFStringAppendCString(CFMutableStringRef theString, const char *cStr, CFStringEncoding encoding);
extern
void CFStringAppendFormat(CFMutableStringRef theString, CFDictionaryRef formatOptions, CFStringRef format, ...);
extern
void CFStringAppendFormatAndArguments(CFMutableStringRef theString, CFDictionaryRef formatOptions, CFStringRef format, va_list arguments);
extern
void CFStringInsert(CFMutableStringRef str, CFIndex idx, CFStringRef insertedStr);
extern
void CFStringDelete(CFMutableStringRef theString, CFRange range);
extern
void CFStringReplace(CFMutableStringRef theString, CFRange range, CFStringRef replacement);
extern
void CFStringReplaceAll(CFMutableStringRef theString, CFStringRef replacement);
# 556 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFIndex CFStringFindAndReplace(CFMutableStringRef theString, CFStringRef stringToFind, CFStringRef replacementString, CFRange rangeToSearch, CFOptionFlags compareOptions);
# 568 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFStringSetExternalCharactersNoCopy(CFMutableStringRef theString, UniChar *chars, CFIndex length, CFIndex capacity);
# 582 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFStringPad(CFMutableStringRef theString, CFStringRef padString, CFIndex length, CFIndex indexIntoPad);
extern
void CFStringTrim(CFMutableStringRef theString, CFStringRef trimString);
extern
void CFStringTrimWhitespace(CFMutableStringRef theString);
extern
void CFStringLowercase(CFMutableStringRef theString, CFLocaleRef locale);
extern
void CFStringUppercase(CFMutableStringRef theString, CFLocaleRef locale);
extern
void CFStringCapitalize(CFMutableStringRef theString, CFLocaleRef locale);
# 618 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
enum {
kCFStringNormalizationFormD = 0,
kCFStringNormalizationFormKD,
kCFStringNormalizationFormC,
kCFStringNormalizationFormKC
};
typedef CFIndex CFStringNormalizationForm;
# 637 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern void CFStringNormalize(CFMutableStringRef theString, CFStringNormalizationForm theForm);
# 665 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFStringFold(CFMutableStringRef theString, CFOptionFlags theFlags, CFLocaleRef theLocale) ;
Boolean CFStringTransform(CFMutableStringRef string, CFRange *range, CFStringRef transform, Boolean reverse) ;
extern const CFStringRef kCFStringTransformStripCombiningMarks ;
extern const CFStringRef kCFStringTransformToLatin ;
extern const CFStringRef kCFStringTransformFullwidthHalfwidth ;
extern const CFStringRef kCFStringTransformLatinKatakana ;
extern const CFStringRef kCFStringTransformLatinHiragana ;
extern const CFStringRef kCFStringTransformHiraganaKatakana ;
extern const CFStringRef kCFStringTransformMandarinLatin ;
extern const CFStringRef kCFStringTransformLatinHangul ;
extern const CFStringRef kCFStringTransformLatinArabic ;
extern const CFStringRef kCFStringTransformLatinHebrew ;
extern const CFStringRef kCFStringTransformLatinThai ;
extern const CFStringRef kCFStringTransformLatinCyrillic ;
extern const CFStringRef kCFStringTransformLatinGreek ;
extern const CFStringRef kCFStringTransformToXMLHex ;
extern const CFStringRef kCFStringTransformToUnicodeName ;
extern const CFStringRef kCFStringTransformStripDiacritics ;
extern
Boolean CFStringIsEncodingAvailable(CFStringEncoding encoding);
extern
const CFStringEncoding *CFStringGetListOfAvailableEncodings(void);
extern
CFStringRef CFStringGetNameOfEncoding(CFStringEncoding encoding);
extern
unsigned long CFStringConvertEncodingToNSStringEncoding(CFStringEncoding encoding);
extern
CFStringEncoding CFStringConvertNSStringEncodingToEncoding(unsigned long encoding);
extern
UInt32 CFStringConvertEncodingToWindowsCodepage(CFStringEncoding encoding);
extern
CFStringEncoding CFStringConvertWindowsCodepageToEncoding(UInt32 codepage);
extern
CFStringEncoding CFStringConvertIANACharSetNameToEncoding(CFStringRef theString);
extern
CFStringRef CFStringConvertEncodingToIANACharSetName(CFStringEncoding encoding);
extern
CFStringEncoding CFStringGetMostCompatibleMacStringEncoding(CFStringEncoding encoding);
# 754 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
#define __kCFStringInlineBufferLength 64
typedef struct {
UniChar buffer[64];
CFStringRef theString;
const UniChar *directBuffer;
CFRange rangeToBuffer;
CFIndex bufferedRangeStart;
CFIndex bufferedRangeEnd;
} CFStringInlineBuffer;
static __inline__ __attribute__((always_inline)) void CFStringInitInlineBuffer(CFStringRef str, CFStringInlineBuffer *buf, CFRange range) {
buf->theString = str;
buf->rangeToBuffer = range;
buf->directBuffer = CFStringGetCharactersPtr(str);
buf->bufferedRangeStart = buf->bufferedRangeEnd = 0;
}
static __inline__ __attribute__((always_inline)) UniChar CFStringGetCharacterFromInlineBuffer(CFStringInlineBuffer *buf, CFIndex idx) {
if (buf->directBuffer) {
if (idx < 0 || idx >= buf->rangeToBuffer.length) return 0;
return buf->directBuffer[idx + buf->rangeToBuffer.location];
}
if (idx >= buf->bufferedRangeEnd || idx < buf->bufferedRangeStart) {
if (idx < 0 || idx >= buf->rangeToBuffer.length) return 0;
if ((buf->bufferedRangeStart = idx - 4) < 0) buf->bufferedRangeStart = 0;
buf->bufferedRangeEnd = buf->bufferedRangeStart + 64;
if (buf->bufferedRangeEnd > buf->rangeToBuffer.length) buf->bufferedRangeEnd = buf->rangeToBuffer.length;
CFStringGetCharacters(buf->theString, CFRangeMake(buf->rangeToBuffer.location + buf->bufferedRangeStart, buf->bufferedRangeEnd - buf->bufferedRangeStart), buf->buffer);
}
return buf->buffer[idx - buf->bufferedRangeStart];
}
# 808 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFShow(CFTypeRef obj);
extern
void CFShowStr(CFStringRef str);
extern
CFStringRef __CFStringMakeConstantString(const char *cStr);
# 34 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 2 3
typedef struct __CFError * CFErrorRef;
extern
CFTypeID CFErrorGetTypeID(void) ;
extern const CFStringRef kCFErrorDomainPOSIX ;
extern const CFStringRef kCFErrorDomainOSStatus ;
extern const CFStringRef kCFErrorDomainMach ;
extern const CFStringRef kCFErrorDomainCocoa ;
extern const CFStringRef kCFErrorLocalizedDescriptionKey ;
extern const CFStringRef kCFErrorLocalizedFailureReasonKey ;
extern const CFStringRef kCFErrorLocalizedRecoverySuggestionKey ;
extern const CFStringRef kCFErrorDescriptionKey ;
extern const CFStringRef kCFErrorUnderlyingErrorKey ;
# 81 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFErrorRef CFErrorCreate(CFAllocatorRef allocator, CFStringRef domain, CFIndex code, CFDictionaryRef userInfo) ;
# 96 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFErrorRef CFErrorCreateWithUserInfoKeysAndValues(CFAllocatorRef allocator, CFStringRef domain, CFIndex code, const void *const *userInfoKeys, const void *const *userInfoValues, CFIndex numUserInfoValues) ;
extern
CFStringRef CFErrorGetDomain(CFErrorRef err) ;
extern
CFIndex CFErrorGetCode(CFErrorRef err) ;
# 124 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFDictionaryRef CFErrorCopyUserInfo(CFErrorRef err) ;
# 138 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFStringRef CFErrorCopyDescription(CFErrorRef err) ;
# 150 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFStringRef CFErrorCopyFailureReason(CFErrorRef err) ;
# 162 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFStringRef CFErrorCopyRecoverySuggestion(CFErrorRef err) ;
# 12 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 1 3
#define __COREFOUNDATION_CFURL__ 1
enum {
kCFURLPOSIXPathStyle = 0,
kCFURLHFSPathStyle,
kCFURLWindowsPathStyle
};
typedef CFIndex CFURLPathStyle;
typedef const struct __CFURL * CFURLRef;
# 37 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFTypeID CFURLGetTypeID(void);
extern
CFURLRef CFURLCreateWithBytes(CFAllocatorRef allocator, const UInt8 *URLBytes, CFIndex length, CFStringEncoding encoding, CFURLRef baseURL);
extern
CFDataRef CFURLCreateData(CFAllocatorRef allocator, CFURLRef url, CFStringEncoding encoding, Boolean escapeWhitespace);
extern
CFURLRef CFURLCreateWithString(CFAllocatorRef allocator, CFStringRef URLString, CFURLRef baseURL);
# 69 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFURLRef CFURLCreateAbsoluteURLWithBytes(CFAllocatorRef alloc, const UInt8 *relativeURLBytes, CFIndex length, CFStringEncoding encoding, CFURLRef baseURL, Boolean useCompatibilityMode) ;
# 79 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFURLRef CFURLCreateWithFileSystemPath(CFAllocatorRef allocator, CFStringRef filePath, CFURLPathStyle pathStyle, Boolean isDirectory);
extern
CFURLRef CFURLCreateFromFileSystemRepresentation(CFAllocatorRef allocator, const UInt8 *buffer, CFIndex bufLen, Boolean isDirectory);
extern
CFURLRef CFURLCreateWithFileSystemPathRelativeToBase(CFAllocatorRef allocator, CFStringRef filePath, CFURLPathStyle pathStyle, Boolean isDirectory, CFURLRef baseURL);
extern
CFURLRef CFURLCreateFromFileSystemRepresentationRelativeToBase(CFAllocatorRef allocator, const UInt8 *buffer, CFIndex bufLen, Boolean isDirectory, CFURLRef baseURL);
# 98 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
Boolean CFURLGetFileSystemRepresentation(CFURLRef url, Boolean resolveAgainstBase, UInt8 *buffer, CFIndex maxBufLen);
extern
CFURLRef CFURLCopyAbsoluteURL(CFURLRef relativeURL);
extern
CFStringRef CFURLGetString(CFURLRef anURL);
extern
CFURLRef CFURLGetBaseURL(CFURLRef anURL);
# 173 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
Boolean CFURLCanBeDecomposed(CFURLRef anURL);
extern
CFStringRef CFURLCopyScheme(CFURLRef anURL);
extern
CFStringRef CFURLCopyNetLocation(CFURLRef anURL);
# 196 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFStringRef CFURLCopyPath(CFURLRef anURL);
extern
CFStringRef CFURLCopyStrictPath(CFURLRef anURL, Boolean *isAbsolute);
extern
CFStringRef CFURLCopyFileSystemPath(CFURLRef anURL, CFURLPathStyle pathStyle);
extern
Boolean CFURLHasDirectoryPath(CFURLRef anURL);
extern
CFStringRef CFURLCopyResourceSpecifier(CFURLRef anURL);
extern
CFStringRef CFURLCopyHostName(CFURLRef anURL);
extern
SInt32 CFURLGetPortNumber(CFURLRef anURL);
extern
CFStringRef CFURLCopyUserName(CFURLRef anURL);
extern
CFStringRef CFURLCopyPassword(CFURLRef anURL);
extern
CFStringRef CFURLCopyParameterString(CFURLRef anURL, CFStringRef charactersToLeaveEscaped);
extern
CFStringRef CFURLCopyQueryString(CFURLRef anURL, CFStringRef charactersToLeaveEscaped);
extern
CFStringRef CFURLCopyFragment(CFURLRef anURL, CFStringRef charactersToLeaveEscaped);
extern
CFStringRef CFURLCopyLastPathComponent(CFURLRef url);
extern
CFStringRef CFURLCopyPathExtension(CFURLRef url);
extern
CFURLRef CFURLCreateCopyAppendingPathComponent(CFAllocatorRef allocator, CFURLRef url, CFStringRef pathComponent, Boolean isDirectory);
extern
CFURLRef CFURLCreateCopyDeletingLastPathComponent(CFAllocatorRef allocator, CFURLRef url);
extern
CFURLRef CFURLCreateCopyAppendingPathExtension(CFAllocatorRef allocator, CFURLRef url, CFStringRef extension);
extern
CFURLRef CFURLCreateCopyDeletingPathExtension(CFAllocatorRef allocator, CFURLRef url);
# 270 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFIndex CFURLGetBytes(CFURLRef url, UInt8 *buffer, CFIndex bufferLength) ;
enum {
kCFURLComponentScheme = 1,
kCFURLComponentNetLocation = 2,
kCFURLComponentPath = 3,
kCFURLComponentResourceSpecifier = 4,
kCFURLComponentUser = 5,
kCFURLComponentPassword = 6,
kCFURLComponentUserInfo = 7,
kCFURLComponentHost = 8,
kCFURLComponentPort = 9,
kCFURLComponentParameterString = 10,
kCFURLComponentQuery = 11,
kCFURLComponentFragment = 12
};
typedef CFIndex CFURLComponentType;
# 353 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFRange CFURLGetByteRangeForComponent(CFURLRef url, CFURLComponentType component, CFRange *rangeIncludingSeparators) ;
# 364 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFStringRef CFURLCreateStringByReplacingPercentEscapes(CFAllocatorRef allocator, CFStringRef originalString, CFStringRef charactersToLeaveEscaped);
extern
CFStringRef CFURLCreateStringByReplacingPercentEscapesUsingEncoding(CFAllocatorRef allocator, CFStringRef origString, CFStringRef charsToLeaveEscaped, CFStringEncoding encoding) ;
# 386 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFStringRef CFURLCreateStringByAddingPercentEscapes(CFAllocatorRef allocator, CFStringRef originalString, CFStringRef charactersToLeaveUnescaped, CFStringRef legalURLCharactersToBeEscaped, CFStringEncoding encoding);
struct FSRef;
extern
CFURLRef CFURLCreateFromFSRef(CFAllocatorRef allocator, const struct FSRef *fsRef);
extern
Boolean CFURLGetFSRef(CFURLRef url, struct FSRef *fsRef);
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 2 3
typedef struct __CFBundle *CFBundleRef;
typedef struct __CFBundle *CFPlugInRef;
extern
const CFStringRef kCFBundleInfoDictionaryVersionKey;
extern
const CFStringRef kCFBundleExecutableKey;
extern
const CFStringRef kCFBundleIdentifierKey;
extern
const CFStringRef kCFBundleVersionKey;
extern
const CFStringRef kCFBundleDevelopmentRegionKey;
extern
const CFStringRef kCFBundleNameKey;
extern
const CFStringRef kCFBundleLocalizationsKey ;
extern
CFBundleRef CFBundleGetMainBundle(void);
extern
CFBundleRef CFBundleGetBundleWithIdentifier(CFStringRef bundleID);
extern
CFArrayRef CFBundleGetAllBundles(void);
extern
CFTypeID CFBundleGetTypeID(void);
extern
CFBundleRef CFBundleCreate(CFAllocatorRef allocator, CFURLRef bundleURL);
extern
CFArrayRef CFBundleCreateBundlesFromDirectory(CFAllocatorRef allocator, CFURLRef directoryURL, CFStringRef bundleType);
extern
CFURLRef CFBundleCopyBundleURL(CFBundleRef bundle);
extern
CFTypeRef CFBundleGetValueForInfoDictionaryKey(CFBundleRef bundle, CFStringRef key);
extern
CFDictionaryRef CFBundleGetInfoDictionary(CFBundleRef bundle);
extern
CFDictionaryRef CFBundleGetLocalInfoDictionary(CFBundleRef bundle);
extern
void CFBundleGetPackageInfo(CFBundleRef bundle, UInt32 *packageType, UInt32 *packageCreator);
extern
CFStringRef CFBundleGetIdentifier(CFBundleRef bundle);
extern
UInt32 CFBundleGetVersionNumber(CFBundleRef bundle);
extern
CFStringRef CFBundleGetDevelopmentRegion(CFBundleRef bundle);
extern
CFURLRef CFBundleCopySupportFilesDirectoryURL(CFBundleRef bundle);
extern
CFURLRef CFBundleCopyResourcesDirectoryURL(CFBundleRef bundle);
extern
CFURLRef CFBundleCopyPrivateFrameworksURL(CFBundleRef bundle);
extern
CFURLRef CFBundleCopySharedFrameworksURL(CFBundleRef bundle);
extern
CFURLRef CFBundleCopySharedSupportURL(CFBundleRef bundle);
extern
CFURLRef CFBundleCopyBuiltInPlugInsURL(CFBundleRef bundle);
extern
CFDictionaryRef CFBundleCopyInfoDictionaryInDirectory(CFURLRef bundleURL);
extern
Boolean CFBundleGetPackageInfoInDirectory(CFURLRef url, UInt32 *packageType, UInt32 *packageCreator);
extern
CFURLRef CFBundleCopyResourceURL(CFBundleRef bundle, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName);
extern
CFArrayRef CFBundleCopyResourceURLsOfType(CFBundleRef bundle, CFStringRef resourceType, CFStringRef subDirName);
extern
CFStringRef CFBundleCopyLocalizedString(CFBundleRef bundle, CFStringRef key, CFStringRef value, CFStringRef tableName);
#define CFCopyLocalizedString(key,comment) CFBundleCopyLocalizedString(CFBundleGetMainBundle(), (key), (key), NULL)
#define CFCopyLocalizedStringFromTable(key,tbl,comment) CFBundleCopyLocalizedString(CFBundleGetMainBundle(), (key), (key), (tbl))
#define CFCopyLocalizedStringFromTableInBundle(key,tbl,bundle,comment) CFBundleCopyLocalizedString((bundle), (key), (key), (tbl))
#define CFCopyLocalizedStringWithDefaultValue(key,tbl,bundle,value,comment) CFBundleCopyLocalizedString((bundle), (key), (value), (tbl))
# 163 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 3
extern
CFURLRef CFBundleCopyResourceURLInDirectory(CFURLRef bundleURL, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName);
extern
CFArrayRef CFBundleCopyResourceURLsOfTypeInDirectory(CFURLRef bundleURL, CFStringRef resourceType, CFStringRef subDirName);
extern
CFArrayRef CFBundleCopyBundleLocalizations(CFBundleRef bundle);
extern
CFArrayRef CFBundleCopyPreferredLocalizationsFromArray(CFArrayRef locArray);
extern
CFArrayRef CFBundleCopyLocalizationsForPreferences(CFArrayRef locArray, CFArrayRef prefArray) ;
# 197 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 3
extern
CFURLRef CFBundleCopyResourceURLForLocalization(CFBundleRef bundle, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName, CFStringRef localizationName);
extern
CFArrayRef CFBundleCopyResourceURLsOfTypeForLocalization(CFBundleRef bundle, CFStringRef resourceType, CFStringRef subDirName, CFStringRef localizationName);
# 211 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 3
extern
CFDictionaryRef CFBundleCopyInfoDictionaryForURL(CFURLRef url) ;
extern
CFArrayRef CFBundleCopyLocalizationsForURL(CFURLRef url) ;
extern
CFArrayRef CFBundleCopyExecutableArchitecturesForURL(CFURLRef url) ;
# 237 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 3
extern
CFURLRef CFBundleCopyExecutableURL(CFBundleRef bundle);
enum {
kCFBundleExecutableArchitectureI386 = 0x00000007,
kCFBundleExecutableArchitecturePPC = 0x00000012,
kCFBundleExecutableArchitectureX86_64 = 0x01000007,
kCFBundleExecutableArchitecturePPC64 = 0x01000012
};
extern
CFArrayRef CFBundleCopyExecutableArchitectures(CFBundleRef bundle) ;
extern
Boolean CFBundlePreflightExecutable(CFBundleRef bundle, CFErrorRef *error) ;
extern
Boolean CFBundleLoadExecutableAndReturnError(CFBundleRef bundle, CFErrorRef *error) ;
extern
Boolean CFBundleLoadExecutable(CFBundleRef bundle);
extern
Boolean CFBundleIsExecutableLoaded(CFBundleRef bundle);
extern
void CFBundleUnloadExecutable(CFBundleRef bundle);
extern
void *CFBundleGetFunctionPointerForName(CFBundleRef bundle, CFStringRef functionName);
extern
void CFBundleGetFunctionPointersForNames(CFBundleRef bundle, CFArrayRef functionNames, void *ftbl[]);
extern
void *CFBundleGetDataPointerForName(CFBundleRef bundle, CFStringRef symbolName);
extern
void CFBundleGetDataPointersForNames(CFBundleRef bundle, CFArrayRef symbolNames, void *stbl[]);
extern
CFURLRef CFBundleCopyAuxiliaryExecutableURL(CFBundleRef bundle, CFStringRef executableName);
# 304 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 3
extern
CFPlugInRef CFBundleGetPlugIn(CFBundleRef bundle);
typedef SInt16 CFBundleRefNum;
extern
CFBundleRefNum CFBundleOpenBundleResourceMap(CFBundleRef bundle);
extern
SInt32 CFBundleOpenBundleResourceFiles(CFBundleRef bundle, CFBundleRefNum *refNum, CFBundleRefNum *localizedRefNum);
extern
void CFBundleCloseBundleResourceMap(CFBundleRef bundle, CFBundleRefNum refNum);
# 44 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h" 1 3
#define __COREFOUNDATION_CFBYTEORDER__ 1
# 1 "/usr/include/libkern/OSByteOrder.h" 1 3 4
# 30 "/usr/include/libkern/OSByteOrder.h" 3 4
#define _OS_OSBYTEORDER_H
#define OSSwapConstInt16(x) __DARWIN_OSSwapConstInt16(x)
#define OSSwapConstInt32(x) __DARWIN_OSSwapConstInt32(x)
#define OSSwapConstInt64(x) __DARWIN_OSSwapConstInt64(x)
# 1 "/usr/include/libkern/i386/OSByteOrder.h" 1 3 4
# 30 "/usr/include/libkern/i386/OSByteOrder.h" 3 4
#define _OS_OSBYTEORDERI386_H
#define OS_INLINE __DARWIN_OS_INLINE
static __inline__
uint16_t
OSReadSwapInt16(
const volatile void * base,
uintptr_t byteOffset
)
{
uint16_t result;
result = *(volatile uint16_t *)((uintptr_t)base + byteOffset);
return _OSSwapInt16(result);
}
static __inline__
uint32_t
OSReadSwapInt32(
const volatile void * base,
uintptr_t byteOffset
)
{
uint32_t result;
result = *(volatile uint32_t *)((uintptr_t)base + byteOffset);
return _OSSwapInt32(result);
}
static __inline__
uint64_t
OSReadSwapInt64(
const volatile void * base,
uintptr_t byteOffset
)
{
uint64_t result;
result = *(volatile uint64_t *)((uintptr_t)base + byteOffset);
return _OSSwapInt64(result);
}
static __inline__
void
OSWriteSwapInt16(
volatile void * base,
uintptr_t byteOffset,
uint16_t data
)
{
*(volatile uint16_t *)((uintptr_t)base + byteOffset) = _OSSwapInt16(data);
}
static __inline__
void
OSWriteSwapInt32(
volatile void * base,
uintptr_t byteOffset,
uint32_t data
)
{
*(volatile uint32_t *)((uintptr_t)base + byteOffset) = _OSSwapInt32(data);
}
static __inline__
void
OSWriteSwapInt64(
volatile void * base,
uintptr_t byteOffset,
uint64_t data
)
{
*(volatile uint64_t *)((uintptr_t)base + byteOffset) = _OSSwapInt64(data);
}
# 46 "/usr/include/libkern/OSByteOrder.h" 2 3 4
# 58 "/usr/include/libkern/OSByteOrder.h" 3 4
#define OSSwapInt16(x) __DARWIN_OSSwapInt16(x)
#define OSSwapInt32(x) __DARWIN_OSSwapInt32(x)
#define OSSwapInt64(x) __DARWIN_OSSwapInt64(x)
enum {
OSUnknownByteOrder,
OSLittleEndian,
OSBigEndian
};
static __inline__
int32_t
OSHostByteOrder(void) {
return OSLittleEndian;
}
#define OSReadBigInt(x,y) OSReadBigInt32(x, y)
#define OSWriteBigInt(x,y,z) OSWriteBigInt32(x, y, z)
#define OSSwapBigToHostInt(x) OSSwapBigToHostInt32(x)
#define OSSwapHostToBigInt(x) OSSwapHostToBigInt32(x)
#define OSReadLittleInt(x,y) OSReadLittleInt32(x, y)
#define OSWriteLittleInt(x,y,z) OSWriteLittleInt32(x, y, z)
#define OSSwapHostToLittleInt(x) OSSwapHostToLittleInt32(x)
#define OSSwapLittleToHostInt(x) OSSwapLittleToHostInt32(x)
static __inline__
uint16_t
_OSReadInt16(
const volatile void * base,
uintptr_t byteOffset
)
{
return *(volatile uint16_t *)((uintptr_t)base + byteOffset);
}
static __inline__
uint32_t
_OSReadInt32(
const volatile void * base,
uintptr_t byteOffset
)
{
return *(volatile uint32_t *)((uintptr_t)base + byteOffset);
}
static __inline__
uint64_t
_OSReadInt64(
const volatile void * base,
uintptr_t byteOffset
)
{
return *(volatile uint64_t *)((uintptr_t)base + byteOffset);
}
static __inline__
void
_OSWriteInt16(
volatile void * base,
uintptr_t byteOffset,
uint16_t data
)
{
*(volatile uint16_t *)((uintptr_t)base + byteOffset) = data;
}
static __inline__
void
_OSWriteInt32(
volatile void * base,
uintptr_t byteOffset,
uint32_t data
)
{
*(volatile uint32_t *)((uintptr_t)base + byteOffset) = data;
}
static __inline__
void
_OSWriteInt64(
volatile void * base,
uintptr_t byteOffset,
uint64_t data
)
{
*(volatile uint64_t *)((uintptr_t)base + byteOffset) = data;
}
# 234 "/usr/include/libkern/OSByteOrder.h" 3 4
#define OSReadBigInt16(base,byteOffset) OSReadSwapInt16(base, byteOffset)
#define OSReadBigInt32(base,byteOffset) OSReadSwapInt32(base, byteOffset)
#define OSReadBigInt64(base,byteOffset) OSReadSwapInt64(base, byteOffset)
#define OSWriteBigInt16(base,byteOffset,data) OSWriteSwapInt16(base, byteOffset, data)
#define OSWriteBigInt32(base,byteOffset,data) OSWriteSwapInt32(base, byteOffset, data)
#define OSWriteBigInt64(base,byteOffset,data) OSWriteSwapInt64(base, byteOffset, data)
#define OSReadLittleInt16(base,byteOffset) _OSReadInt16(base, byteOffset)
#define OSReadLittleInt32(base,byteOffset) _OSReadInt32(base, byteOffset)
#define OSReadLittleInt64(base,byteOffset) _OSReadInt64(base, byteOffset)
#define OSWriteLittleInt16(base,byteOffset,data) _OSWriteInt16(base, byteOffset, data)
#define OSWriteLittleInt32(base,byteOffset,data) _OSWriteInt32(base, byteOffset, data)
#define OSWriteLittleInt64(base,byteOffset,data) _OSWriteInt64(base, byteOffset, data)
#define OSSwapHostToBigConstInt16(x) OSSwapConstInt16(x)
#define OSSwapHostToBigConstInt32(x) OSSwapConstInt32(x)
#define OSSwapHostToBigConstInt64(x) OSSwapConstInt64(x)
#define OSSwapHostToBigInt16(x) OSSwapInt16(x)
#define OSSwapHostToBigInt32(x) OSSwapInt32(x)
#define OSSwapHostToBigInt64(x) OSSwapInt64(x)
#define OSSwapHostToLittleConstInt16(x) (x)
#define OSSwapHostToLittleConstInt32(x) (x)
#define OSSwapHostToLittleConstInt64(x) (x)
#define OSSwapHostToLittleInt16(x) ((uint16_t)(x))
#define OSSwapHostToLittleInt32(x) ((uint32_t)(x))
#define OSSwapHostToLittleInt64(x) ((uint64_t)(x))
#define OSSwapBigToHostConstInt16(x) OSSwapConstInt16(x)
#define OSSwapBigToHostConstInt32(x) OSSwapConstInt32(x)
#define OSSwapBigToHostConstInt64(x) OSSwapConstInt64(x)
#define OSSwapBigToHostInt16(x) OSSwapInt16(x)
#define OSSwapBigToHostInt32(x) OSSwapInt32(x)
#define OSSwapBigToHostInt64(x) OSSwapInt64(x)
#define OSSwapLittleToHostConstInt16(x) (x)
#define OSSwapLittleToHostConstInt32(x) (x)
#define OSSwapLittleToHostConstInt64(x) (x)
#define OSSwapLittleToHostInt16(x) ((uint16_t)(x))
#define OSSwapLittleToHostInt32(x) ((uint32_t)(x))
#define OSSwapLittleToHostInt64(x) ((uint64_t)(x))
# 11 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h" 2 3
#define CF_USE_OSBYTEORDER_H 1
enum __CFByteOrder {
CFByteOrderUnknown,
CFByteOrderLittleEndian,
CFByteOrderBigEndian
};
typedef CFIndex CFByteOrder;
static __inline__ __attribute__((always_inline)) CFByteOrder CFByteOrderGetCurrent(void) {
int32_t byteOrder = OSHostByteOrder();
switch (byteOrder) {
case OSLittleEndian: return CFByteOrderLittleEndian;
case OSBigEndian: return CFByteOrderBigEndian;
default: break;
}
return CFByteOrderUnknown;
# 41 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h" 3
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16(uint16_t arg) {
return (__builtin_constant_p(arg) ? ((__uint16_t)((((__uint16_t)(arg) & 0xff00) >> 8) | (((__uint16_t)(arg) & 0x00ff) << 8))) : _OSSwapInt16(arg));
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32(uint32_t arg) {
return (__builtin_constant_p(arg) ? ((__uint32_t)((((__uint32_t)(arg) & 0xff000000) >> 24) | (((__uint32_t)(arg) & 0x00ff0000) >> 8) | (((__uint32_t)(arg) & 0x0000ff00) << 8) | (((__uint32_t)(arg) & 0x000000ff) << 24))) : _OSSwapInt32(arg));
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64(uint64_t arg) {
return (__builtin_constant_p(arg) ? ((__uint64_t)((((__uint64_t)(arg) & 0xff00000000000000ULL) >> 56) | (((__uint64_t)(arg) & 0x00ff000000000000ULL) >> 40) | (((__uint64_t)(arg) & 0x0000ff0000000000ULL) >> 24) | (((__uint64_t)(arg) & 0x000000ff00000000ULL) >> 8) | (((__uint64_t)(arg) & 0x00000000ff000000ULL) << 8) | (((__uint64_t)(arg) & 0x0000000000ff0000ULL) << 24) | (((__uint64_t)(arg) & 0x000000000000ff00ULL) << 40) | (((__uint64_t)(arg) & 0x00000000000000ffULL) << 56))) : _OSSwapInt64(arg));
# 76 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h" 3
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16BigToHost(uint16_t arg) {
return (__builtin_constant_p(arg) ? ((__uint16_t)((((__uint16_t)(arg) & 0xff00) >> 8) | (((__uint16_t)(arg) & 0x00ff) << 8))) : _OSSwapInt16(arg));
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32BigToHost(uint32_t arg) {
return (__builtin_constant_p(arg) ? ((__uint32_t)((((__uint32_t)(arg) & 0xff000000) >> 24) | (((__uint32_t)(arg) & 0x00ff0000) >> 8) | (((__uint32_t)(arg) & 0x0000ff00) << 8) | (((__uint32_t)(arg) & 0x000000ff) << 24))) : _OSSwapInt32(arg));
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64BigToHost(uint64_t arg) {
return (__builtin_constant_p(arg) ? ((__uint64_t)((((__uint64_t)(arg) & 0xff00000000000000ULL) >> 56) | (((__uint64_t)(arg) & 0x00ff000000000000ULL) >> 40) | (((__uint64_t)(arg) & 0x0000ff0000000000ULL) >> 24) | (((__uint64_t)(arg) & 0x000000ff00000000ULL) >> 8) | (((__uint64_t)(arg) & 0x00000000ff000000ULL) << 8) | (((__uint64_t)(arg) & 0x0000000000ff0000ULL) << 24) | (((__uint64_t)(arg) & 0x000000000000ff00ULL) << 40) | (((__uint64_t)(arg) & 0x00000000000000ffULL) << 56))) : _OSSwapInt64(arg));
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16HostToBig(uint16_t arg) {
return (__builtin_constant_p(arg) ? ((__uint16_t)((((__uint16_t)(arg) & 0xff00) >> 8) | (((__uint16_t)(arg) & 0x00ff) << 8))) : _OSSwapInt16(arg));
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32HostToBig(uint32_t arg) {
return (__builtin_constant_p(arg) ? ((__uint32_t)((((__uint32_t)(arg) & 0xff000000) >> 24) | (((__uint32_t)(arg) & 0x00ff0000) >> 8) | (((__uint32_t)(arg) & 0x0000ff00) << 8) | (((__uint32_t)(arg) & 0x000000ff) << 24))) : _OSSwapInt32(arg));
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64HostToBig(uint64_t arg) {
return (__builtin_constant_p(arg) ? ((__uint64_t)((((__uint64_t)(arg) & 0xff00000000000000ULL) >> 56) | (((__uint64_t)(arg) & 0x00ff000000000000ULL) >> 40) | (((__uint64_t)(arg) & 0x0000ff0000000000ULL) >> 24) | (((__uint64_t)(arg) & 0x000000ff00000000ULL) >> 8) | (((__uint64_t)(arg) & 0x00000000ff000000ULL) << 8) | (((__uint64_t)(arg) & 0x0000000000ff0000ULL) << 24) | (((__uint64_t)(arg) & 0x000000000000ff00ULL) << 40) | (((__uint64_t)(arg) & 0x00000000000000ffULL) << 56))) : _OSSwapInt64(arg));
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16LittleToHost(uint16_t arg) {
return ((uint16_t)(arg));
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32LittleToHost(uint32_t arg) {
return ((uint32_t)(arg));
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64LittleToHost(uint64_t arg) {
return ((uint64_t)(arg));
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16HostToLittle(uint16_t arg) {
return ((uint16_t)(arg));
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32HostToLittle(uint32_t arg) {
return ((uint32_t)(arg));
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64HostToLittle(uint64_t arg) {
return ((uint64_t)(arg));
}
typedef struct {uint32_t v;} CFSwappedFloat32;
typedef struct {uint64_t v;} CFSwappedFloat64;
static __inline__ __attribute__((always_inline)) CFSwappedFloat32 CFConvertFloat32HostToSwapped(Float32 arg) {
union CFSwap {
Float32 v;
CFSwappedFloat32 sv;
} result;
result.v = arg;
result.sv.v = CFSwapInt32(result.sv.v);
return result.sv;
}
static __inline__ __attribute__((always_inline)) Float32 CFConvertFloat32SwappedToHost(CFSwappedFloat32 arg) {
union CFSwap {
Float32 v;
CFSwappedFloat32 sv;
} result;
result.sv = arg;
result.sv.v = CFSwapInt32(result.sv.v);
return result.v;
}
static __inline__ __attribute__((always_inline)) CFSwappedFloat64 CFConvertFloat64HostToSwapped(Float64 arg) {
union CFSwap {
Float64 v;
CFSwappedFloat64 sv;
} result;
result.v = arg;
result.sv.v = CFSwapInt64(result.sv.v);
return result.sv;
}
static __inline__ __attribute__((always_inline)) Float64 CFConvertFloat64SwappedToHost(CFSwappedFloat64 arg) {
union CFSwap {
Float64 v;
CFSwappedFloat64 sv;
} result;
result.sv = arg;
result.sv.v = CFSwapInt64(result.sv.v);
return result.v;
}
static __inline__ __attribute__((always_inline)) CFSwappedFloat32 CFConvertFloatHostToSwapped(float arg) {
union CFSwap {
float v;
CFSwappedFloat32 sv;
} result;
result.v = arg;
result.sv.v = CFSwapInt32(result.sv.v);
return result.sv;
}
static __inline__ __attribute__((always_inline)) float CFConvertFloatSwappedToHost(CFSwappedFloat32 arg) {
union CFSwap {
float v;
CFSwappedFloat32 sv;
} result;
result.sv = arg;
result.sv.v = CFSwapInt32(result.sv.v);
return result.v;
}
static __inline__ __attribute__((always_inline)) CFSwappedFloat64 CFConvertDoubleHostToSwapped(double arg) {
union CFSwap {
double v;
CFSwappedFloat64 sv;
} result;
result.v = arg;
result.sv.v = CFSwapInt64(result.sv.v);
return result.sv;
}
static __inline__ __attribute__((always_inline)) double CFConvertDoubleSwappedToHost(CFSwappedFloat64 arg) {
union CFSwap {
double v;
CFSwappedFloat64 sv;
} result;
result.sv = arg;
result.sv.v = CFSwapInt64(result.sv.v);
return result.v;
}
# 45 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h" 1 3
#define __COREFOUNDATION_CFCALENDAR__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h" 1 3
#define __COREFOUNDATION_CFDATE__ 1
typedef double CFTimeInterval;
typedef CFTimeInterval CFAbsoluteTime;
extern
CFAbsoluteTime CFAbsoluteTimeGetCurrent(void);
extern
const CFTimeInterval kCFAbsoluteTimeIntervalSince1970;
extern
const CFTimeInterval kCFAbsoluteTimeIntervalSince1904;
typedef const struct __CFDate * CFDateRef;
extern
CFTypeID CFDateGetTypeID(void);
extern
CFDateRef CFDateCreate(CFAllocatorRef allocator, CFAbsoluteTime at);
extern
CFAbsoluteTime CFDateGetAbsoluteTime(CFDateRef theDate);
extern
CFTimeInterval CFDateGetTimeIntervalSinceDate(CFDateRef theDate, CFDateRef otherDate);
extern
CFComparisonResult CFDateCompare(CFDateRef theDate, CFDateRef otherDate, void *context);
typedef const struct __CFTimeZone * CFTimeZoneRef;
typedef struct {
SInt32 year;
SInt8 month;
SInt8 day;
SInt8 hour;
SInt8 minute;
double second;
} CFGregorianDate;
typedef struct {
SInt32 years;
SInt32 months;
SInt32 days;
SInt32 hours;
SInt32 minutes;
double seconds;
} CFGregorianUnits;
enum {
kCFGregorianUnitsYears = (1 << 0),
kCFGregorianUnitsMonths = (1 << 1),
kCFGregorianUnitsDays = (1 << 2),
kCFGregorianUnitsHours = (1 << 3),
kCFGregorianUnitsMinutes = (1 << 4),
kCFGregorianUnitsSeconds = (1 << 5),
kCFGregorianAllUnits = 0x00FFFFFF
};
typedef CFOptionFlags CFGregorianUnitFlags;
extern
Boolean CFGregorianDateIsValid(CFGregorianDate gdate, CFOptionFlags unitFlags);
extern
CFAbsoluteTime CFGregorianDateGetAbsoluteTime(CFGregorianDate gdate, CFTimeZoneRef tz);
extern
CFGregorianDate CFAbsoluteTimeGetGregorianDate(CFAbsoluteTime at, CFTimeZoneRef tz);
extern
CFAbsoluteTime CFAbsoluteTimeAddGregorianUnits(CFAbsoluteTime at, CFTimeZoneRef tz, CFGregorianUnits units);
extern
CFGregorianUnits CFAbsoluteTimeGetDifferenceAsGregorianUnits(CFAbsoluteTime at1, CFAbsoluteTime at2, CFTimeZoneRef tz, CFOptionFlags unitFlags);
extern
SInt32 CFAbsoluteTimeGetDayOfWeek(CFAbsoluteTime at, CFTimeZoneRef tz);
extern
SInt32 CFAbsoluteTimeGetDayOfYear(CFAbsoluteTime at, CFTimeZoneRef tz);
extern
SInt32 CFAbsoluteTimeGetWeekOfYear(CFAbsoluteTime at, CFTimeZoneRef tz);
# 11 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h" 1 3
#define __COREFOUNDATION_CFTIMEZONE__ 1
# 15 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h" 3
extern
CFTypeID CFTimeZoneGetTypeID(void);
extern
CFTimeZoneRef CFTimeZoneCopySystem(void);
extern
void CFTimeZoneResetSystem(void);
extern
CFTimeZoneRef CFTimeZoneCopyDefault(void);
extern
void CFTimeZoneSetDefault(CFTimeZoneRef tz);
extern
CFArrayRef CFTimeZoneCopyKnownNames(void);
extern
CFDictionaryRef CFTimeZoneCopyAbbreviationDictionary(void);
extern
void CFTimeZoneSetAbbreviationDictionary(CFDictionaryRef dict);
extern
CFTimeZoneRef CFTimeZoneCreate(CFAllocatorRef allocator, CFStringRef name, CFDataRef data);
extern
CFTimeZoneRef CFTimeZoneCreateWithTimeIntervalFromGMT(CFAllocatorRef allocator, CFTimeInterval ti);
extern
CFTimeZoneRef CFTimeZoneCreateWithName(CFAllocatorRef allocator, CFStringRef name, Boolean tryAbbrev);
extern
CFStringRef CFTimeZoneGetName(CFTimeZoneRef tz);
extern
CFDataRef CFTimeZoneGetData(CFTimeZoneRef tz);
extern
CFTimeInterval CFTimeZoneGetSecondsFromGMT(CFTimeZoneRef tz, CFAbsoluteTime at);
extern
CFStringRef CFTimeZoneCopyAbbreviation(CFTimeZoneRef tz, CFAbsoluteTime at);
extern
Boolean CFTimeZoneIsDaylightSavingTime(CFTimeZoneRef tz, CFAbsoluteTime at);
extern
CFTimeInterval CFTimeZoneGetDaylightSavingTimeOffset(CFTimeZoneRef tz, CFAbsoluteTime at) ;
extern
CFAbsoluteTime CFTimeZoneGetNextDaylightSavingTimeTransition(CFTimeZoneRef tz, CFAbsoluteTime at) ;
enum {
kCFTimeZoneNameStyleStandard,
kCFTimeZoneNameStyleShortStandard,
kCFTimeZoneNameStyleDaylightSaving,
kCFTimeZoneNameStyleShortDaylightSaving
};
typedef CFIndex CFTimeZoneNameStyle;
extern
CFStringRef CFTimeZoneCopyLocalizedName(CFTimeZoneRef tz, CFTimeZoneNameStyle style, CFLocaleRef locale) ;
extern
const CFStringRef kCFTimeZoneSystemTimeZoneDidChangeNotification ;
# 12 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h" 2 3
typedef struct __CFCalendar * CFCalendarRef;
extern
CFTypeID CFCalendarGetTypeID(void) ;
extern
CFCalendarRef CFCalendarCopyCurrent(void) ;
extern
CFCalendarRef CFCalendarCreateWithIdentifier(CFAllocatorRef allocator, CFStringRef identifier) ;
extern
CFStringRef CFCalendarGetIdentifier(CFCalendarRef calendar) ;
extern
CFLocaleRef CFCalendarCopyLocale(CFCalendarRef calendar) ;
extern
void CFCalendarSetLocale(CFCalendarRef calendar, CFLocaleRef locale) ;
extern
CFTimeZoneRef CFCalendarCopyTimeZone(CFCalendarRef calendar) ;
extern
void CFCalendarSetTimeZone(CFCalendarRef calendar, CFTimeZoneRef tz) ;
extern
CFIndex CFCalendarGetFirstWeekday(CFCalendarRef calendar) ;
extern
void CFCalendarSetFirstWeekday(CFCalendarRef calendar, CFIndex wkdy) ;
extern
CFIndex CFCalendarGetMinimumDaysInFirstWeek(CFCalendarRef calendar) ;
extern
void CFCalendarSetMinimumDaysInFirstWeek(CFCalendarRef calendar, CFIndex mwd) ;
enum {
kCFCalendarUnitEra = (1 << 1),
kCFCalendarUnitYear = (1 << 2),
kCFCalendarUnitMonth = (1 << 3),
kCFCalendarUnitDay = (1 << 4),
kCFCalendarUnitHour = (1 << 5),
kCFCalendarUnitMinute = (1 << 6),
kCFCalendarUnitSecond = (1 << 7),
kCFCalendarUnitWeek = (1 << 8),
kCFCalendarUnitWeekday = (1 << 9),
kCFCalendarUnitWeekdayOrdinal = (1 << 10)
};
typedef CFOptionFlags CFCalendarUnit;
extern
CFRange CFCalendarGetMinimumRangeOfUnit(CFCalendarRef calendar, CFCalendarUnit unit) ;
extern
CFRange CFCalendarGetMaximumRangeOfUnit(CFCalendarRef calendar, CFCalendarUnit unit) ;
extern
CFRange CFCalendarGetRangeOfUnit(CFCalendarRef calendar, CFCalendarUnit smallerUnit, CFCalendarUnit biggerUnit, CFAbsoluteTime at) ;
extern
CFIndex CFCalendarGetOrdinalityOfUnit(CFCalendarRef calendar, CFCalendarUnit smallerUnit, CFCalendarUnit biggerUnit, CFAbsoluteTime at) ;
extern
Boolean CFCalendarGetTimeRangeOfUnit(CFCalendarRef calendar, CFCalendarUnit unit, CFAbsoluteTime at, CFAbsoluteTime *startp, CFTimeInterval *tip) ;
extern
Boolean CFCalendarComposeAbsoluteTime(CFCalendarRef calendar, CFAbsoluteTime *at, const char *componentDesc, ...) ;
extern
Boolean CFCalendarDecomposeAbsoluteTime(CFCalendarRef calendar, CFAbsoluteTime at, const char *componentDesc, ...) ;
enum {
kCFCalendarComponentsWrap = (1 << 0)
};
extern
Boolean CFCalendarAddComponents(CFCalendarRef calendar, CFAbsoluteTime *at, CFOptionFlags options, const char *componentDesc, ...) ;
extern
Boolean CFCalendarGetComponentDifference(CFCalendarRef calendar, CFAbsoluteTime startingAT, CFAbsoluteTime resultAT, CFOptionFlags options, const char *componentDesc, ...) ;
# 46 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h" 1 3
#define __COREFOUNDATION_CFDATEFORMATTER__ 1
typedef struct __CFDateFormatter *CFDateFormatterRef;
extern
CFTypeID CFDateFormatterGetTypeID(void) ;
enum {
kCFDateFormatterNoStyle = 0,
kCFDateFormatterShortStyle = 1,
kCFDateFormatterMediumStyle = 2,
kCFDateFormatterLongStyle = 3,
kCFDateFormatterFullStyle = 4
};
typedef CFIndex CFDateFormatterStyle;
# 44 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h" 3
extern
CFDateFormatterRef CFDateFormatterCreate(CFAllocatorRef allocator, CFLocaleRef locale, CFDateFormatterStyle dateStyle, CFDateFormatterStyle timeStyle) ;
extern
CFLocaleRef CFDateFormatterGetLocale(CFDateFormatterRef formatter) ;
extern
CFDateFormatterStyle CFDateFormatterGetDateStyle(CFDateFormatterRef formatter) ;
extern
CFDateFormatterStyle CFDateFormatterGetTimeStyle(CFDateFormatterRef formatter) ;
extern
CFStringRef CFDateFormatterGetFormat(CFDateFormatterRef formatter) ;
extern
void CFDateFormatterSetFormat(CFDateFormatterRef formatter, CFStringRef formatString) ;
extern
CFStringRef CFDateFormatterCreateStringWithDate(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFDateRef date) ;
extern
CFStringRef CFDateFormatterCreateStringWithAbsoluteTime(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFAbsoluteTime at) ;
extern
CFDateRef CFDateFormatterCreateDateFromString(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFStringRef string, CFRange *rangep) ;
extern
Boolean CFDateFormatterGetAbsoluteTimeFromString(CFDateFormatterRef formatter, CFStringRef string, CFRange *rangep, CFAbsoluteTime *atp) ;
# 94 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h" 3
extern
void CFDateFormatterSetProperty(CFDateFormatterRef formatter, CFStringRef key, CFTypeRef value) ;
extern
CFTypeRef CFDateFormatterCopyProperty(CFDateFormatterRef formatter, CFStringRef key) ;
extern const CFStringRef kCFDateFormatterIsLenient ;
extern const CFStringRef kCFDateFormatterTimeZone ;
extern const CFStringRef kCFDateFormatterCalendarName ;
extern const CFStringRef kCFDateFormatterDefaultFormat ;
extern const CFStringRef kCFDateFormatterTwoDigitStartDate ;
extern const CFStringRef kCFDateFormatterDefaultDate ;
extern const CFStringRef kCFDateFormatterCalendar ;
extern const CFStringRef kCFDateFormatterEraSymbols ;
extern const CFStringRef kCFDateFormatterMonthSymbols ;
extern const CFStringRef kCFDateFormatterShortMonthSymbols ;
extern const CFStringRef kCFDateFormatterWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterShortWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterAMSymbol ;
extern const CFStringRef kCFDateFormatterPMSymbol ;
extern const CFStringRef kCFDateFormatterLongEraSymbols ;
extern const CFStringRef kCFDateFormatterVeryShortMonthSymbols ;
extern const CFStringRef kCFDateFormatterStandaloneMonthSymbols ;
extern const CFStringRef kCFDateFormatterShortStandaloneMonthSymbols ;
extern const CFStringRef kCFDateFormatterVeryShortStandaloneMonthSymbols ;
extern const CFStringRef kCFDateFormatterVeryShortWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterStandaloneWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterShortStandaloneWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterVeryShortStandaloneWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterQuarterSymbols ;
extern const CFStringRef kCFDateFormatterShortQuarterSymbols ;
extern const CFStringRef kCFDateFormatterStandaloneQuarterSymbols ;
extern const CFStringRef kCFDateFormatterShortStandaloneQuarterSymbols ;
extern const CFStringRef kCFDateFormatterGregorianStartDate ;
# 140 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h" 3
# 50 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h" 1 3
#define __COREFOUNDATION_CFFILEDESCRIPTOR__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h" 1 3
#define __COREFOUNDATION_CFRUNLOOP__ 1
# 1 "/usr/include/mach/port.h" 1 3 4
# 87 "/usr/include/mach/port.h" 3 4
#define _MACH_PORT_H_
# 1 "/usr/include/mach/boolean.h" 1 3 4
# 66 "/usr/include/mach/boolean.h" 3 4
#define _MACH_BOOLEAN_H_
# 1 "/usr/include/mach/machine/boolean.h" 1 3 4
# 30 "/usr/include/mach/machine/boolean.h" 3 4
#define _MACH_MACHINE_BOOLEAN_H_
# 1 "/usr/include/mach/i386/boolean.h" 1 3 4
# 66 "/usr/include/mach/i386/boolean.h" 3 4
#define _MACH_I386_BOOLEAN_H_
typedef int boolean_t;
# 36 "/usr/include/mach/machine/boolean.h" 2 3 4
# 74 "/usr/include/mach/boolean.h" 2 3 4
# 92 "/usr/include/mach/port.h" 2 3 4
# 1 "/usr/include/mach/machine/vm_types.h" 1 3 4
# 30 "/usr/include/mach/machine/vm_types.h" 3 4
#define _MACH_MACHINE_VM_TYPES_H_
# 1 "/usr/include/mach/i386/vm_types.h" 1 3 4
# 68 "/usr/include/mach/i386/vm_types.h" 3 4
#define _MACH_I386_VM_TYPES_H_
# 92 "/usr/include/mach/i386/vm_types.h" 3 4
typedef __darwin_natural_t natural_t;
typedef int integer_t;
# 102 "/usr/include/mach/i386/vm_types.h" 3 4
typedef natural_t vm_offset_t;
# 113 "/usr/include/mach/i386/vm_types.h" 3 4
typedef natural_t vm_size_t;
# 123 "/usr/include/mach/i386/vm_types.h" 3 4
typedef uint64_t mach_vm_address_t;
typedef uint64_t mach_vm_offset_t;
typedef uint64_t mach_vm_size_t;
typedef uint64_t vm_map_offset_t;
typedef uint64_t vm_map_address_t;
typedef uint64_t vm_map_size_t;
#define MACH_MSG_TYPE_INTEGER_T MACH_MSG_TYPE_INTEGER_32
# 36 "/usr/include/mach/machine/vm_types.h" 2 3 4
# 93 "/usr/include/mach/port.h" 2 3 4
# 106 "/usr/include/mach/port.h" 3 4
typedef natural_t mach_port_name_t;
typedef mach_port_name_t *mach_port_name_array_t;
# 127 "/usr/include/mach/port.h" 3 4
#define _MACH_PORT_T
typedef mach_port_name_t mach_port_t;
typedef mach_port_t *mach_port_array_t;
# 143 "/usr/include/mach/port.h" 3 4
#define MACH_PORT_NULL 0
#define MACH_PORT_DEAD ((mach_port_name_t) ~0)
#define MACH_PORT_VALID(name) (((name) != MACH_PORT_NULL) && ((name) != MACH_PORT_DEAD))
# 166 "/usr/include/mach/port.h" 3 4
#define MACH_PORT_INDEX(name) ((name) >> 8)
#define MACH_PORT_GEN(name) (((name) & 0xff) << 24)
#define MACH_PORT_MAKE(index,gen) (((index) << 8) | (gen) >> 24)
# 190 "/usr/include/mach/port.h" 3 4
typedef natural_t mach_port_right_t;
#define MACH_PORT_RIGHT_SEND ((mach_port_right_t) 0)
#define MACH_PORT_RIGHT_RECEIVE ((mach_port_right_t) 1)
#define MACH_PORT_RIGHT_SEND_ONCE ((mach_port_right_t) 2)
#define MACH_PORT_RIGHT_PORT_SET ((mach_port_right_t) 3)
#define MACH_PORT_RIGHT_DEAD_NAME ((mach_port_right_t) 4)
#define MACH_PORT_RIGHT_LABELH ((mach_port_right_t) 5)
#define MACH_PORT_RIGHT_NUMBER ((mach_port_right_t) 6)
typedef natural_t mach_port_type_t;
typedef mach_port_type_t *mach_port_type_array_t;
#define MACH_PORT_TYPE(right) ((mach_port_type_t)(((mach_port_type_t) 1) << ((right) + ((mach_port_right_t) 16))))
#define MACH_PORT_TYPE_NONE ((mach_port_type_t) 0L)
#define MACH_PORT_TYPE_SEND MACH_PORT_TYPE(MACH_PORT_RIGHT_SEND)
#define MACH_PORT_TYPE_RECEIVE MACH_PORT_TYPE(MACH_PORT_RIGHT_RECEIVE)
#define MACH_PORT_TYPE_SEND_ONCE MACH_PORT_TYPE(MACH_PORT_RIGHT_SEND_ONCE)
#define MACH_PORT_TYPE_PORT_SET MACH_PORT_TYPE(MACH_PORT_RIGHT_PORT_SET)
#define MACH_PORT_TYPE_DEAD_NAME MACH_PORT_TYPE(MACH_PORT_RIGHT_DEAD_NAME)
#define MACH_PORT_TYPE_LABELH MACH_PORT_TYPE(MACH_PORT_RIGHT_LABELH)
#define MACH_PORT_TYPE_SEND_RECEIVE (MACH_PORT_TYPE_SEND|MACH_PORT_TYPE_RECEIVE)
#define MACH_PORT_TYPE_SEND_RIGHTS (MACH_PORT_TYPE_SEND|MACH_PORT_TYPE_SEND_ONCE)
#define MACH_PORT_TYPE_PORT_RIGHTS (MACH_PORT_TYPE_SEND_RIGHTS|MACH_PORT_TYPE_RECEIVE)
#define MACH_PORT_TYPE_PORT_OR_DEAD (MACH_PORT_TYPE_PORT_RIGHTS|MACH_PORT_TYPE_DEAD_NAME)
#define MACH_PORT_TYPE_ALL_RIGHTS (MACH_PORT_TYPE_PORT_OR_DEAD|MACH_PORT_TYPE_PORT_SET)
#define MACH_PORT_TYPE_DNREQUEST 0x80000000
typedef natural_t mach_port_urefs_t;
typedef integer_t mach_port_delta_t;
typedef natural_t mach_port_seqno_t;
typedef natural_t mach_port_mscount_t;
typedef natural_t mach_port_msgcount_t;
typedef natural_t mach_port_rights_t;
#define MACH_PORT_SRIGHTS_NONE 0
#define MACH_PORT_SRIGHTS_PRESENT 1
typedef unsigned int mach_port_srights_t;
typedef struct mach_port_status {
mach_port_rights_t mps_pset;
mach_port_seqno_t mps_seqno;
mach_port_mscount_t mps_mscount;
mach_port_msgcount_t mps_qlimit;
mach_port_msgcount_t mps_msgcount;
mach_port_rights_t mps_sorights;
boolean_t mps_srights;
boolean_t mps_pdrequest;
boolean_t mps_nsrequest;
natural_t mps_flags;
} mach_port_status_t;
#define MACH_PORT_QLIMIT_ZERO ((mach_port_msgcount_t) 0)
#define MACH_PORT_QLIMIT_BASIC ((mach_port_msgcount_t) 5)
#define MACH_PORT_QLIMIT_SMALL ((mach_port_msgcount_t) 16)
#define MACH_PORT_QLIMIT_LARGE ((mach_port_msgcount_t) 1024)
#define MACH_PORT_QLIMIT_MIN MACH_PORT_QLIMIT_ZERO
#define MACH_PORT_QLIMIT_DEFAULT MACH_PORT_QLIMIT_BASIC
#define MACH_PORT_QLIMIT_MAX MACH_PORT_QLIMIT_LARGE
typedef struct mach_port_limits {
mach_port_msgcount_t mpl_qlimit;
} mach_port_limits_t;
typedef integer_t *mach_port_info_t;
typedef int mach_port_flavor_t;
#define MACH_PORT_LIMITS_INFO 1
#define MACH_PORT_RECEIVE_STATUS 2
#define MACH_PORT_DNREQUESTS_SIZE 3
#define MACH_PORT_LIMITS_INFO_COUNT ((natural_t) (sizeof(mach_port_limits_t)/sizeof(natural_t)))
#define MACH_PORT_RECEIVE_STATUS_COUNT ((natural_t) (sizeof(mach_port_status_t)/sizeof(natural_t)))
#define MACH_PORT_DNREQUESTS_SIZE_COUNT 1
typedef struct mach_port_qos {
unsigned int name:1;
unsigned int prealloc:1;
boolean_t pad1:30;
natural_t len;
} mach_port_qos_t;
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h" 2 3
typedef struct __CFRunLoop * CFRunLoopRef;
typedef struct __CFRunLoopSource * CFRunLoopSourceRef;
typedef struct __CFRunLoopObserver * CFRunLoopObserverRef;
typedef struct __CFRunLoopTimer * CFRunLoopTimerRef;
enum {
kCFRunLoopRunFinished = 1,
kCFRunLoopRunStopped = 2,
kCFRunLoopRunTimedOut = 3,
kCFRunLoopRunHandledSource = 4
};
enum {
kCFRunLoopEntry = (1 << 0),
kCFRunLoopBeforeTimers = (1 << 1),
kCFRunLoopBeforeSources = (1 << 2),
kCFRunLoopBeforeWaiting = (1 << 5),
kCFRunLoopAfterWaiting = (1 << 6),
kCFRunLoopExit = (1 << 7),
kCFRunLoopAllActivities = 0x0FFFFFFFU
};
typedef CFOptionFlags CFRunLoopActivity;
extern const CFStringRef kCFRunLoopDefaultMode;
extern const CFStringRef kCFRunLoopCommonModes;
extern CFTypeID CFRunLoopGetTypeID(void);
extern CFRunLoopRef CFRunLoopGetCurrent(void);
extern CFRunLoopRef CFRunLoopGetMain(void) ;
extern CFStringRef CFRunLoopCopyCurrentMode(CFRunLoopRef rl);
extern CFArrayRef CFRunLoopCopyAllModes(CFRunLoopRef rl);
extern void CFRunLoopAddCommonMode(CFRunLoopRef rl, CFStringRef mode);
extern CFAbsoluteTime CFRunLoopGetNextTimerFireDate(CFRunLoopRef rl, CFStringRef mode);
extern void CFRunLoopRun(void);
extern SInt32 CFRunLoopRunInMode(CFStringRef mode, CFTimeInterval seconds, Boolean returnAfterSourceHandled);
extern Boolean CFRunLoopIsWaiting(CFRunLoopRef rl);
extern void CFRunLoopWakeUp(CFRunLoopRef rl);
extern void CFRunLoopStop(CFRunLoopRef rl);
extern Boolean CFRunLoopContainsSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
extern void CFRunLoopAddSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
extern void CFRunLoopRemoveSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
extern Boolean CFRunLoopContainsObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode);
extern void CFRunLoopAddObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode);
extern void CFRunLoopRemoveObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode);
extern Boolean CFRunLoopContainsTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFStringRef mode);
extern void CFRunLoopAddTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFStringRef mode);
extern void CFRunLoopRemoveTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFStringRef mode);
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
Boolean (*equal)(const void *info1, const void *info2);
CFHashCode (*hash)(const void *info);
void (*schedule)(void *info, CFRunLoopRef rl, CFStringRef mode);
void (*cancel)(void *info, CFRunLoopRef rl, CFStringRef mode);
void (*perform)(void *info);
} CFRunLoopSourceContext;
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
Boolean (*equal)(const void *info1, const void *info2);
CFHashCode (*hash)(const void *info);
mach_port_t (*getPort)(void *info);
void * (*perform)(void *msg, CFIndex size, CFAllocatorRef allocator, void *info);
} CFRunLoopSourceContext1;
extern CFTypeID CFRunLoopSourceGetTypeID(void);
extern CFRunLoopSourceRef CFRunLoopSourceCreate(CFAllocatorRef allocator, CFIndex order, CFRunLoopSourceContext *context);
extern CFIndex CFRunLoopSourceGetOrder(CFRunLoopSourceRef source);
extern void CFRunLoopSourceInvalidate(CFRunLoopSourceRef source);
extern Boolean CFRunLoopSourceIsValid(CFRunLoopSourceRef source);
extern void CFRunLoopSourceGetContext(CFRunLoopSourceRef source, CFRunLoopSourceContext *context);
extern void CFRunLoopSourceSignal(CFRunLoopSourceRef source);
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFRunLoopObserverContext;
typedef void (*CFRunLoopObserverCallBack)(CFRunLoopObserverRef observer, CFRunLoopActivity activity, void *info);
extern CFTypeID CFRunLoopObserverGetTypeID(void);
extern CFRunLoopObserverRef CFRunLoopObserverCreate(CFAllocatorRef allocator, CFOptionFlags activities, Boolean repeats, CFIndex order, CFRunLoopObserverCallBack callout, CFRunLoopObserverContext *context);
extern CFOptionFlags CFRunLoopObserverGetActivities(CFRunLoopObserverRef observer);
extern Boolean CFRunLoopObserverDoesRepeat(CFRunLoopObserverRef observer);
extern CFIndex CFRunLoopObserverGetOrder(CFRunLoopObserverRef observer);
extern void CFRunLoopObserverInvalidate(CFRunLoopObserverRef observer);
extern Boolean CFRunLoopObserverIsValid(CFRunLoopObserverRef observer);
extern void CFRunLoopObserverGetContext(CFRunLoopObserverRef observer, CFRunLoopObserverContext *context);
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFRunLoopTimerContext;
typedef void (*CFRunLoopTimerCallBack)(CFRunLoopTimerRef timer, void *info);
extern CFTypeID CFRunLoopTimerGetTypeID(void);
extern CFRunLoopTimerRef CFRunLoopTimerCreate(CFAllocatorRef allocator, CFAbsoluteTime fireDate, CFTimeInterval interval, CFOptionFlags flags, CFIndex order, CFRunLoopTimerCallBack callout, CFRunLoopTimerContext *context);
extern CFAbsoluteTime CFRunLoopTimerGetNextFireDate(CFRunLoopTimerRef timer);
extern void CFRunLoopTimerSetNextFireDate(CFRunLoopTimerRef timer, CFAbsoluteTime fireDate);
extern CFTimeInterval CFRunLoopTimerGetInterval(CFRunLoopTimerRef timer);
extern Boolean CFRunLoopTimerDoesRepeat(CFRunLoopTimerRef timer);
extern CFIndex CFRunLoopTimerGetOrder(CFRunLoopTimerRef timer);
extern void CFRunLoopTimerInvalidate(CFRunLoopTimerRef timer);
extern Boolean CFRunLoopTimerIsValid(CFRunLoopTimerRef timer);
extern void CFRunLoopTimerGetContext(CFRunLoopTimerRef timer, CFRunLoopTimerContext *context);
# 9 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h" 2 3
typedef int CFFileDescriptorNativeDescriptor;
typedef struct __CFFileDescriptor * CFFileDescriptorRef;
enum {
kCFFileDescriptorReadCallBack = 1 << 0,
kCFFileDescriptorWriteCallBack = 1 << 1
};
typedef void (*CFFileDescriptorCallBack)(CFFileDescriptorRef f, CFOptionFlags callBackTypes, void *info);
typedef struct {
CFIndex version;
void * info;
void * (*retain)(void *info);
void (*release)(void *info);
CFStringRef (*copyDescription)(void *info);
} CFFileDescriptorContext;
extern CFTypeID CFFileDescriptorGetTypeID(void);
extern CFFileDescriptorRef CFFileDescriptorCreate(CFAllocatorRef allocator, CFFileDescriptorNativeDescriptor fd, Boolean closeOnInvalidate, CFFileDescriptorCallBack callout, const CFFileDescriptorContext *context);
extern CFFileDescriptorNativeDescriptor CFFileDescriptorGetNativeDescriptor(CFFileDescriptorRef f);
extern void CFFileDescriptorGetContext(CFFileDescriptorRef f, CFFileDescriptorContext *context);
extern void CFFileDescriptorEnableCallBacks(CFFileDescriptorRef f, CFOptionFlags callBackTypes);
extern void CFFileDescriptorDisableCallBacks(CFFileDescriptorRef f, CFOptionFlags callBackTypes);
extern void CFFileDescriptorInvalidate(CFFileDescriptorRef f);
extern Boolean CFFileDescriptorIsValid(CFFileDescriptorRef f);
extern CFRunLoopSourceRef CFFileDescriptorCreateRunLoopSource(CFAllocatorRef allocator, CFFileDescriptorRef f, CFIndex order);
# 53 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h" 1 3
#define __COREFOUNDATION_CFMACHPORT__ 1
typedef struct __CFMachPort * CFMachPortRef;
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFMachPortContext;
typedef void (*CFMachPortCallBack)(CFMachPortRef port, void *msg, CFIndex size, void *info);
typedef void (*CFMachPortInvalidationCallBack)(CFMachPortRef port, void *info);
extern CFTypeID CFMachPortGetTypeID(void);
extern CFMachPortRef CFMachPortCreate(CFAllocatorRef allocator, CFMachPortCallBack callout, CFMachPortContext *context, Boolean *shouldFreeInfo);
extern CFMachPortRef CFMachPortCreateWithPort(CFAllocatorRef allocator, mach_port_t portNum, CFMachPortCallBack callout, CFMachPortContext *context, Boolean *shouldFreeInfo);
extern mach_port_t CFMachPortGetPort(CFMachPortRef port);
extern void CFMachPortGetContext(CFMachPortRef port, CFMachPortContext *context);
extern void CFMachPortInvalidate(CFMachPortRef port);
extern Boolean CFMachPortIsValid(CFMachPortRef port);
extern CFMachPortInvalidationCallBack CFMachPortGetInvalidationCallBack(CFMachPortRef port);
extern void CFMachPortSetInvalidationCallBack(CFMachPortRef port, CFMachPortInvalidationCallBack callout);
extern CFRunLoopSourceRef CFMachPortCreateRunLoopSource(CFAllocatorRef allocator, CFMachPortRef port, CFIndex order);
# 55 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h" 1 3
#define __COREFOUNDATION_CFMESSAGEPORT__ 1
typedef struct __CFMessagePort * CFMessagePortRef;
enum {
kCFMessagePortSuccess = 0,
kCFMessagePortSendTimeout = -1,
kCFMessagePortReceiveTimeout = -2,
kCFMessagePortIsInvalid = -3,
kCFMessagePortTransportError = -4
};
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFMessagePortContext;
typedef CFDataRef (*CFMessagePortCallBack)(CFMessagePortRef local, SInt32 msgid, CFDataRef data, void *info);
typedef void (*CFMessagePortInvalidationCallBack)(CFMessagePortRef ms, void *info);
extern CFTypeID CFMessagePortGetTypeID(void);
extern CFMessagePortRef CFMessagePortCreateLocal(CFAllocatorRef allocator, CFStringRef name, CFMessagePortCallBack callout, CFMessagePortContext *context, Boolean *shouldFreeInfo);
extern CFMessagePortRef CFMessagePortCreateRemote(CFAllocatorRef allocator, CFStringRef name);
extern Boolean CFMessagePortIsRemote(CFMessagePortRef ms);
extern CFStringRef CFMessagePortGetName(CFMessagePortRef ms);
extern Boolean CFMessagePortSetName(CFMessagePortRef ms, CFStringRef newName);
extern void CFMessagePortGetContext(CFMessagePortRef ms, CFMessagePortContext *context);
extern void CFMessagePortInvalidate(CFMessagePortRef ms);
extern Boolean CFMessagePortIsValid(CFMessagePortRef ms);
extern CFMessagePortInvalidationCallBack CFMessagePortGetInvalidationCallBack(CFMessagePortRef ms);
extern void CFMessagePortSetInvalidationCallBack(CFMessagePortRef ms, CFMessagePortInvalidationCallBack callout);
extern SInt32 CFMessagePortSendRequest(CFMessagePortRef remote, SInt32 msgid, CFDataRef data, CFTimeInterval sendTimeout, CFTimeInterval rcvTimeout, CFStringRef replyMode, CFDataRef *returnData);
extern CFRunLoopSourceRef CFMessagePortCreateRunLoopSource(CFAllocatorRef allocator, CFMessagePortRef local, CFIndex order);
# 56 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h" 1 3
#define __COREFOUNDATION_CFNUMBER__ 1
typedef const struct __CFBoolean * CFBooleanRef;
extern
const CFBooleanRef kCFBooleanTrue;
extern
const CFBooleanRef kCFBooleanFalse;
extern
CFTypeID CFBooleanGetTypeID(void);
extern
Boolean CFBooleanGetValue(CFBooleanRef boolean);
enum {
kCFNumberSInt8Type = 1,
kCFNumberSInt16Type = 2,
kCFNumberSInt32Type = 3,
kCFNumberSInt64Type = 4,
kCFNumberFloat32Type = 5,
kCFNumberFloat64Type = 6,
kCFNumberCharType = 7,
kCFNumberShortType = 8,
kCFNumberIntType = 9,
kCFNumberLongType = 10,
kCFNumberLongLongType = 11,
kCFNumberFloatType = 12,
kCFNumberDoubleType = 13,
kCFNumberCFIndexType = 14,
kCFNumberNSIntegerType = 15,
kCFNumberCGFloatType = 16,
kCFNumberMaxType = 16
};
typedef CFIndex CFNumberType;
typedef const struct __CFNumber * CFNumberRef;
extern
const CFNumberRef kCFNumberPositiveInfinity;
extern
const CFNumberRef kCFNumberNegativeInfinity;
extern
const CFNumberRef kCFNumberNaN;
extern
CFTypeID CFNumberGetTypeID(void);
# 72 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h" 3
extern
CFNumberRef CFNumberCreate(CFAllocatorRef allocator, CFNumberType theType, const void *valuePtr);
extern
CFNumberType CFNumberGetType(CFNumberRef number);
extern
CFIndex CFNumberGetByteSize(CFNumberRef number);
extern
Boolean CFNumberIsFloatType(CFNumberRef number);
# 103 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h" 3
extern
Boolean CFNumberGetValue(CFNumberRef number, CFNumberType theType, void *valuePtr);
# 121 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h" 3
extern
CFComparisonResult CFNumberCompare(CFNumberRef number, CFNumberRef otherNumber, void *context);
# 57 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h" 1 3
#define __COREFOUNDATION_CFNUMBERFORMATTER__ 1
typedef struct __CFNumberFormatter *CFNumberFormatterRef;
extern
CFTypeID CFNumberFormatterGetTypeID(void) ;
enum {
kCFNumberFormatterNoStyle = 0,
kCFNumberFormatterDecimalStyle = 1,
kCFNumberFormatterCurrencyStyle = 2,
kCFNumberFormatterPercentStyle = 3,
kCFNumberFormatterScientificStyle = 4,
kCFNumberFormatterSpellOutStyle = 5
};
typedef CFIndex CFNumberFormatterStyle;
extern
CFNumberFormatterRef CFNumberFormatterCreate(CFAllocatorRef allocator, CFLocaleRef locale, CFNumberFormatterStyle style) ;
extern
CFLocaleRef CFNumberFormatterGetLocale(CFNumberFormatterRef formatter) ;
extern
CFNumberFormatterStyle CFNumberFormatterGetStyle(CFNumberFormatterRef formatter) ;
extern
CFStringRef CFNumberFormatterGetFormat(CFNumberFormatterRef formatter) ;
extern
void CFNumberFormatterSetFormat(CFNumberFormatterRef formatter, CFStringRef formatString) ;
# 59 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h" 3
extern
CFStringRef CFNumberFormatterCreateStringWithNumber(CFAllocatorRef allocator, CFNumberFormatterRef formatter, CFNumberRef number) ;
extern
CFStringRef CFNumberFormatterCreateStringWithValue(CFAllocatorRef allocator, CFNumberFormatterRef formatter, CFNumberType numberType, const void *valuePtr) ;
enum {
kCFNumberFormatterParseIntegersOnly = 1
};
typedef CFOptionFlags CFNumberFormatterOptionFlags;
extern
CFNumberRef CFNumberFormatterCreateNumberFromString(CFAllocatorRef allocator, CFNumberFormatterRef formatter, CFStringRef string, CFRange *rangep, CFOptionFlags options) ;
extern
Boolean CFNumberFormatterGetValueFromString(CFNumberFormatterRef formatter, CFStringRef string, CFRange *rangep, CFNumberType numberType, void *valuePtr) ;
# 89 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h" 3
extern
void CFNumberFormatterSetProperty(CFNumberFormatterRef formatter, CFStringRef key, CFTypeRef value) ;
extern
CFTypeRef CFNumberFormatterCopyProperty(CFNumberFormatterRef formatter, CFStringRef key) ;
extern const CFStringRef kCFNumberFormatterCurrencyCode ;
extern const CFStringRef kCFNumberFormatterDecimalSeparator ;
extern const CFStringRef kCFNumberFormatterCurrencyDecimalSeparator ;
extern const CFStringRef kCFNumberFormatterAlwaysShowDecimalSeparator ;
extern const CFStringRef kCFNumberFormatterGroupingSeparator ;
extern const CFStringRef kCFNumberFormatterUseGroupingSeparator ;
extern const CFStringRef kCFNumberFormatterPercentSymbol ;
extern const CFStringRef kCFNumberFormatterZeroSymbol ;
extern const CFStringRef kCFNumberFormatterNaNSymbol ;
extern const CFStringRef kCFNumberFormatterInfinitySymbol ;
extern const CFStringRef kCFNumberFormatterMinusSign ;
extern const CFStringRef kCFNumberFormatterPlusSign ;
extern const CFStringRef kCFNumberFormatterCurrencySymbol ;
extern const CFStringRef kCFNumberFormatterExponentSymbol ;
extern const CFStringRef kCFNumberFormatterMinIntegerDigits ;
extern const CFStringRef kCFNumberFormatterMaxIntegerDigits ;
extern const CFStringRef kCFNumberFormatterMinFractionDigits ;
extern const CFStringRef kCFNumberFormatterMaxFractionDigits ;
extern const CFStringRef kCFNumberFormatterGroupingSize ;
extern const CFStringRef kCFNumberFormatterSecondaryGroupingSize ;
extern const CFStringRef kCFNumberFormatterRoundingMode ;
extern const CFStringRef kCFNumberFormatterRoundingIncrement ;
extern const CFStringRef kCFNumberFormatterFormatWidth ;
extern const CFStringRef kCFNumberFormatterPaddingPosition ;
extern const CFStringRef kCFNumberFormatterPaddingCharacter ;
extern const CFStringRef kCFNumberFormatterDefaultFormat ;
extern const CFStringRef kCFNumberFormatterMultiplier ;
extern const CFStringRef kCFNumberFormatterPositivePrefix ;
extern const CFStringRef kCFNumberFormatterPositiveSuffix ;
extern const CFStringRef kCFNumberFormatterNegativePrefix ;
extern const CFStringRef kCFNumberFormatterNegativeSuffix ;
extern const CFStringRef kCFNumberFormatterPerMillSymbol ;
extern const CFStringRef kCFNumberFormatterInternationalCurrencySymbol ;
extern const CFStringRef kCFNumberFormatterCurrencyGroupingSeparator ;
extern const CFStringRef kCFNumberFormatterIsLenient ;
extern const CFStringRef kCFNumberFormatterUseSignificantDigits ;
extern const CFStringRef kCFNumberFormatterMinSignificantDigits ;
extern const CFStringRef kCFNumberFormatterMaxSignificantDigits ;
enum {
kCFNumberFormatterRoundCeiling = 0,
kCFNumberFormatterRoundFloor = 1,
kCFNumberFormatterRoundDown = 2,
kCFNumberFormatterRoundUp = 3,
kCFNumberFormatterRoundHalfEven = 4,
kCFNumberFormatterRoundHalfDown = 5,
kCFNumberFormatterRoundHalfUp = 6
};
typedef CFIndex CFNumberFormatterRoundingMode;
enum {
kCFNumberFormatterPadBeforePrefix = 0,
kCFNumberFormatterPadAfterPrefix = 1,
kCFNumberFormatterPadBeforeSuffix = 2,
kCFNumberFormatterPadAfterSuffix = 3
};
typedef CFIndex CFNumberFormatterPadPosition;
extern
Boolean CFNumberFormatterGetDecimalInfoForCurrencyCode(CFStringRef currencyCode, int32_t *defaultFractionDigits, double *roundingIncrement) ;
# 58 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h" 1 3
#define __COREFOUNDATION_CFPLUGIN__ 1
#define COREFOUNDATION_CFPLUGINCOM_SEPARATE 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h" 1 3
#define __COREFOUNDATION_CFUUID__ 1
typedef const struct __CFUUID * CFUUIDRef;
typedef struct {
UInt8 byte0;
UInt8 byte1;
UInt8 byte2;
UInt8 byte3;
UInt8 byte4;
UInt8 byte5;
UInt8 byte6;
UInt8 byte7;
UInt8 byte8;
UInt8 byte9;
UInt8 byte10;
UInt8 byte11;
UInt8 byte12;
UInt8 byte13;
UInt8 byte14;
UInt8 byte15;
} CFUUIDBytes;
extern
CFTypeID CFUUIDGetTypeID(void);
extern
CFUUIDRef CFUUIDCreate(CFAllocatorRef alloc);
extern
CFUUIDRef CFUUIDCreateWithBytes(CFAllocatorRef alloc, UInt8 byte0, UInt8 byte1, UInt8 byte2, UInt8 byte3, UInt8 byte4, UInt8 byte5, UInt8 byte6, UInt8 byte7, UInt8 byte8, UInt8 byte9, UInt8 byte10, UInt8 byte11, UInt8 byte12, UInt8 byte13, UInt8 byte14, UInt8 byte15);
extern
CFUUIDRef CFUUIDCreateFromString(CFAllocatorRef alloc, CFStringRef uuidStr);
extern
CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid);
extern
CFUUIDRef CFUUIDGetConstantUUIDWithBytes(CFAllocatorRef alloc, UInt8 byte0, UInt8 byte1, UInt8 byte2, UInt8 byte3, UInt8 byte4, UInt8 byte5, UInt8 byte6, UInt8 byte7, UInt8 byte8, UInt8 byte9, UInt8 byte10, UInt8 byte11, UInt8 byte12, UInt8 byte13, UInt8 byte14, UInt8 byte15);
extern
CFUUIDBytes CFUUIDGetUUIDBytes(CFUUIDRef uuid);
extern
CFUUIDRef CFUUIDCreateFromUUIDBytes(CFAllocatorRef alloc, CFUUIDBytes bytes);
# 18 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h" 2 3
extern
const CFStringRef kCFPlugInDynamicRegistrationKey;
extern
const CFStringRef kCFPlugInDynamicRegisterFunctionKey;
extern
const CFStringRef kCFPlugInUnloadFunctionKey;
extern
const CFStringRef kCFPlugInFactoriesKey;
extern
const CFStringRef kCFPlugInTypesKey;
typedef void (*CFPlugInDynamicRegisterFunction)(CFPlugInRef plugIn);
typedef void (*CFPlugInUnloadFunction)(CFPlugInRef plugIn);
typedef void *(*CFPlugInFactoryFunction)(CFAllocatorRef allocator, CFUUIDRef typeUUID);
extern
CFTypeID CFPlugInGetTypeID(void);
extern
CFPlugInRef CFPlugInCreate(CFAllocatorRef allocator, CFURLRef plugInURL);
extern
CFBundleRef CFPlugInGetBundle(CFPlugInRef plugIn);
extern
void CFPlugInSetLoadOnDemand(CFPlugInRef plugIn, Boolean flag);
extern
Boolean CFPlugInIsLoadOnDemand(CFPlugInRef plugIn);
extern
CFArrayRef CFPlugInFindFactoriesForPlugInType(CFUUIDRef typeUUID);
extern
CFArrayRef CFPlugInFindFactoriesForPlugInTypeInPlugIn(CFUUIDRef typeUUID, CFPlugInRef plugIn);
extern
void *CFPlugInInstanceCreate(CFAllocatorRef allocator, CFUUIDRef factoryUUID, CFUUIDRef typeUUID);
extern
Boolean CFPlugInRegisterFactoryFunction(CFUUIDRef factoryUUID, CFPlugInFactoryFunction func);
extern
Boolean CFPlugInRegisterFactoryFunctionByName(CFUUIDRef factoryUUID, CFPlugInRef plugIn, CFStringRef functionName);
extern
Boolean CFPlugInUnregisterFactory(CFUUIDRef factoryUUID);
extern
Boolean CFPlugInRegisterPlugInType(CFUUIDRef factoryUUID, CFUUIDRef typeUUID);
extern
Boolean CFPlugInUnregisterPlugInType(CFUUIDRef factoryUUID, CFUUIDRef typeUUID);
extern
void CFPlugInAddInstanceForFactory(CFUUIDRef factoryID);
extern
void CFPlugInRemoveInstanceForFactory(CFUUIDRef factoryID);
typedef struct __CFPlugInInstance *CFPlugInInstanceRef;
typedef Boolean (*CFPlugInInstanceGetInterfaceFunction)(CFPlugInInstanceRef instance, CFStringRef interfaceName, void **ftbl);
typedef void (*CFPlugInInstanceDeallocateInstanceDataFunction)(void *instanceData);
extern
Boolean CFPlugInInstanceGetInterfaceFunctionTable(CFPlugInInstanceRef instance, CFStringRef interfaceName, void **ftbl);
extern
CFStringRef CFPlugInInstanceGetFactoryName(CFPlugInInstanceRef instance);
extern
void *CFPlugInInstanceGetInstanceData(CFPlugInInstanceRef instance);
extern
CFTypeID CFPlugInInstanceGetTypeID(void);
extern
CFPlugInInstanceRef CFPlugInInstanceCreateWithInstanceDataSize(CFAllocatorRef allocator, CFIndex instanceDataSize, CFPlugInInstanceDeallocateInstanceDataFunction deallocateInstanceFunction, CFStringRef factoryName, CFPlugInInstanceGetInterfaceFunction getInterfaceFunction);
# 59 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h" 1 3
#define __COREFOUNDATION_CFPREFERENCES__ 1
extern
const CFStringRef kCFPreferencesAnyApplication;
extern
const CFStringRef kCFPreferencesCurrentApplication;
extern
const CFStringRef kCFPreferencesAnyHost;
extern
const CFStringRef kCFPreferencesCurrentHost;
extern
const CFStringRef kCFPreferencesAnyUser;
extern
const CFStringRef kCFPreferencesCurrentUser;
# 41 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h" 3
extern
CFPropertyListRef CFPreferencesCopyAppValue(CFStringRef key, CFStringRef applicationID);
extern
Boolean CFPreferencesGetAppBooleanValue(CFStringRef key, CFStringRef applicationID, Boolean *keyExistsAndHasValidFormat);
extern
CFIndex CFPreferencesGetAppIntegerValue(CFStringRef key, CFStringRef applicationID, Boolean *keyExistsAndHasValidFormat);
extern
void CFPreferencesSetAppValue(CFStringRef key, CFPropertyListRef value, CFStringRef applicationID);
extern
void CFPreferencesAddSuitePreferencesToApp(CFStringRef applicationID, CFStringRef suiteID);
extern
void CFPreferencesRemoveSuitePreferencesFromApp(CFStringRef applicationID, CFStringRef suiteID);
extern
Boolean CFPreferencesAppSynchronize(CFStringRef applicationID);
extern
CFPropertyListRef CFPreferencesCopyValue(CFStringRef key, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
CFDictionaryRef CFPreferencesCopyMultiple(CFArrayRef keysToFetch, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
void CFPreferencesSetValue(CFStringRef key, CFPropertyListRef value, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
void CFPreferencesSetMultiple(CFDictionaryRef keysToSet, CFArrayRef keysToRemove, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
Boolean CFPreferencesSynchronize(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
CFArrayRef CFPreferencesCopyApplicationList(CFStringRef userName, CFStringRef hostName);
extern
CFArrayRef CFPreferencesCopyKeyList(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
# 124 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h" 3
extern
Boolean CFPreferencesAppValueIsForced(CFStringRef key, CFStringRef applicationID);
# 60 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 1 3
#define __COREFOUNDATION_CFPROPERTYLIST__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 1 3
#define __COREFOUNDATION_CFSTREAM__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h" 1 3
#define __COREFOUNDATION_CFSOCKET__ 1
typedef int CFSocketNativeHandle;
typedef struct __CFSocket * CFSocketRef;
# 102 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h" 3
enum {
kCFSocketSuccess = 0,
kCFSocketError = -1,
kCFSocketTimeout = -2
};
typedef CFIndex CFSocketError;
typedef struct {
SInt32 protocolFamily;
SInt32 socketType;
SInt32 protocol;
CFDataRef address;
} CFSocketSignature;
enum {
kCFSocketNoCallBack = 0,
kCFSocketReadCallBack = 1,
kCFSocketAcceptCallBack = 2,
kCFSocketDataCallBack = 3,
kCFSocketConnectCallBack = 4
,
kCFSocketWriteCallBack = 8
};
typedef CFOptionFlags CFSocketCallBackType;
enum {
kCFSocketAutomaticallyReenableReadCallBack = 1,
kCFSocketAutomaticallyReenableAcceptCallBack = 2,
kCFSocketAutomaticallyReenableDataCallBack = 3,
kCFSocketAutomaticallyReenableWriteCallBack = 8,
kCFSocketCloseOnInvalidate = 128
};
typedef void (*CFSocketCallBack)(CFSocketRef s, CFSocketCallBackType type, CFDataRef address, const void *data, void *info);
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFSocketContext;
extern CFTypeID CFSocketGetTypeID(void);
extern CFSocketRef CFSocketCreate(CFAllocatorRef allocator, SInt32 protocolFamily, SInt32 socketType, SInt32 protocol, CFOptionFlags callBackTypes, CFSocketCallBack callout, const CFSocketContext *context);
extern CFSocketRef CFSocketCreateWithNative(CFAllocatorRef allocator, CFSocketNativeHandle sock, CFOptionFlags callBackTypes, CFSocketCallBack callout, const CFSocketContext *context);
extern CFSocketRef CFSocketCreateWithSocketSignature(CFAllocatorRef allocator, const CFSocketSignature *signature, CFOptionFlags callBackTypes, CFSocketCallBack callout, const CFSocketContext *context);
extern CFSocketRef CFSocketCreateConnectedToSocketSignature(CFAllocatorRef allocator, const CFSocketSignature *signature, CFOptionFlags callBackTypes, CFSocketCallBack callout, const CFSocketContext *context, CFTimeInterval timeout);
extern CFSocketError CFSocketSetAddress(CFSocketRef s, CFDataRef address);
extern CFSocketError CFSocketConnectToAddress(CFSocketRef s, CFDataRef address, CFTimeInterval timeout);
extern void CFSocketInvalidate(CFSocketRef s);
extern Boolean CFSocketIsValid(CFSocketRef s);
extern CFDataRef CFSocketCopyAddress(CFSocketRef s);
extern CFDataRef CFSocketCopyPeerAddress(CFSocketRef s);
extern void CFSocketGetContext(CFSocketRef s, CFSocketContext *context);
extern CFSocketNativeHandle CFSocketGetNative(CFSocketRef s);
extern CFRunLoopSourceRef CFSocketCreateRunLoopSource(CFAllocatorRef allocator, CFSocketRef s, CFIndex order);
extern CFOptionFlags CFSocketGetSocketFlags(CFSocketRef s);
extern void CFSocketSetSocketFlags(CFSocketRef s, CFOptionFlags flags);
extern void CFSocketDisableCallBacks(CFSocketRef s, CFOptionFlags callBackTypes);
extern void CFSocketEnableCallBacks(CFSocketRef s, CFOptionFlags callBackTypes);
extern CFSocketError CFSocketSendData(CFSocketRef s, CFDataRef address, CFDataRef data, CFTimeInterval timeout);
# 199 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h" 3
extern CFSocketError CFSocketRegisterValue(const CFSocketSignature *nameServerSignature, CFTimeInterval timeout, CFStringRef name, CFPropertyListRef value);
extern CFSocketError CFSocketCopyRegisteredValue(const CFSocketSignature *nameServerSignature, CFTimeInterval timeout, CFStringRef name, CFPropertyListRef *value, CFDataRef *nameServerAddress);
extern CFSocketError CFSocketRegisterSocketSignature(const CFSocketSignature *nameServerSignature, CFTimeInterval timeout, CFStringRef name, const CFSocketSignature *signature);
extern CFSocketError CFSocketCopyRegisteredSocketSignature(const CFSocketSignature *nameServerSignature, CFTimeInterval timeout, CFStringRef name, CFSocketSignature *signature, CFDataRef *nameServerAddress);
extern CFSocketError CFSocketUnregister(const CFSocketSignature *nameServerSignature, CFTimeInterval timeout, CFStringRef name);
extern void CFSocketSetDefaultNameRegistryPortNumber(UInt16 port);
extern UInt16 CFSocketGetDefaultNameRegistryPortNumber(void);
extern const CFStringRef kCFSocketCommandKey;
extern const CFStringRef kCFSocketNameKey;
extern const CFStringRef kCFSocketValueKey;
extern const CFStringRef kCFSocketResultKey;
extern const CFStringRef kCFSocketErrorKey;
extern const CFStringRef kCFSocketRegisterCommand;
extern const CFStringRef kCFSocketRetrieveCommand;
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 2 3
enum {
kCFStreamStatusNotOpen = 0,
kCFStreamStatusOpening,
kCFStreamStatusOpen,
kCFStreamStatusReading,
kCFStreamStatusWriting,
kCFStreamStatusAtEnd,
kCFStreamStatusClosed,
kCFStreamStatusError
};
typedef CFIndex CFStreamStatus;
enum {
kCFStreamEventNone = 0,
kCFStreamEventOpenCompleted = 1,
kCFStreamEventHasBytesAvailable = 2,
kCFStreamEventCanAcceptBytes = 4,
kCFStreamEventErrorOccurred = 8,
kCFStreamEventEndEncountered = 16
};
typedef CFOptionFlags CFStreamEventType;
typedef struct {
CFIndex version;
void *info;
void *(*retain)(void *info);
void (*release)(void *info);
CFStringRef (*copyDescription)(void *info);
} CFStreamClientContext;
typedef struct __CFReadStream * CFReadStreamRef;
typedef struct __CFWriteStream * CFWriteStreamRef;
typedef void (*CFReadStreamClientCallBack)(CFReadStreamRef stream, CFStreamEventType type, void *clientCallBackInfo);
typedef void (*CFWriteStreamClientCallBack)(CFWriteStreamRef stream, CFStreamEventType type, void *clientCallBackInfo);
extern
CFTypeID CFReadStreamGetTypeID(void);
extern
CFTypeID CFWriteStreamGetTypeID(void);
extern
const CFStringRef kCFStreamPropertyDataWritten;
extern
CFReadStreamRef CFReadStreamCreateWithBytesNoCopy(CFAllocatorRef alloc, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
extern
CFWriteStreamRef CFWriteStreamCreateWithBuffer(CFAllocatorRef alloc, UInt8 *buffer, CFIndex bufferCapacity);
extern
CFWriteStreamRef CFWriteStreamCreateWithAllocatedBuffers(CFAllocatorRef alloc, CFAllocatorRef bufferAllocator);
extern
CFReadStreamRef CFReadStreamCreateWithFile(CFAllocatorRef alloc, CFURLRef fileURL);
extern
CFWriteStreamRef CFWriteStreamCreateWithFile(CFAllocatorRef alloc, CFURLRef fileURL);
extern
void CFStreamCreateBoundPair(CFAllocatorRef alloc, CFReadStreamRef *readStream, CFWriteStreamRef *writeStream, CFIndex transferBufferSize);
extern
const CFStringRef kCFStreamPropertyAppendToFile;
extern const CFStringRef kCFStreamPropertyFileCurrentOffset ;
extern
const CFStringRef kCFStreamPropertySocketNativeHandle;
extern
const CFStringRef kCFStreamPropertySocketRemoteHostName;
extern
const CFStringRef kCFStreamPropertySocketRemotePortNumber;
extern
void CFStreamCreatePairWithSocket(CFAllocatorRef alloc, CFSocketNativeHandle sock, CFReadStreamRef *readStream, CFWriteStreamRef *writeStream);
extern
void CFStreamCreatePairWithSocketToHost(CFAllocatorRef alloc, CFStringRef host, UInt32 port, CFReadStreamRef *readStream, CFWriteStreamRef *writeStream);
extern
void CFStreamCreatePairWithPeerSocketSignature(CFAllocatorRef alloc, const CFSocketSignature *signature, CFReadStreamRef *readStream, CFWriteStreamRef *writeStream);
extern
CFStreamStatus CFReadStreamGetStatus(CFReadStreamRef stream);
extern
CFStreamStatus CFWriteStreamGetStatus(CFWriteStreamRef stream);
extern
CFErrorRef CFReadStreamCopyError(CFReadStreamRef stream) ;
extern
CFErrorRef CFWriteStreamCopyError(CFWriteStreamRef stream) ;
extern
Boolean CFReadStreamOpen(CFReadStreamRef stream);
extern
Boolean CFWriteStreamOpen(CFWriteStreamRef stream);
extern
void CFReadStreamClose(CFReadStreamRef stream);
extern
void CFWriteStreamClose(CFWriteStreamRef stream);
extern
Boolean CFReadStreamHasBytesAvailable(CFReadStreamRef stream);
# 164 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 3
extern
CFIndex CFReadStreamRead(CFReadStreamRef stream, UInt8 *buffer, CFIndex bufferLength);
# 176 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 3
extern
const UInt8 *CFReadStreamGetBuffer(CFReadStreamRef stream, CFIndex maxBytesToRead, CFIndex *numBytesRead);
extern
Boolean CFWriteStreamCanAcceptBytes(CFWriteStreamRef stream);
extern
CFIndex CFWriteStreamWrite(CFWriteStreamRef stream, const UInt8 *buffer, CFIndex bufferLength);
# 200 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 3
extern
CFTypeRef CFReadStreamCopyProperty(CFReadStreamRef stream, CFStringRef propertyName);
extern
CFTypeRef CFWriteStreamCopyProperty(CFWriteStreamRef stream, CFStringRef propertyName);
extern
Boolean CFReadStreamSetProperty(CFReadStreamRef stream, CFStringRef propertyName, CFTypeRef propertyValue);
extern
Boolean CFWriteStreamSetProperty(CFWriteStreamRef stream, CFStringRef propertyName, CFTypeRef propertyValue);
# 231 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 3
extern
Boolean CFReadStreamSetClient(CFReadStreamRef stream, CFOptionFlags streamEvents, CFReadStreamClientCallBack clientCB, CFStreamClientContext *clientContext);
extern
Boolean CFWriteStreamSetClient(CFWriteStreamRef stream, CFOptionFlags streamEvents, CFWriteStreamClientCallBack clientCB, CFStreamClientContext *clientContext);
extern
void CFReadStreamScheduleWithRunLoop(CFReadStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode);
extern
void CFWriteStreamScheduleWithRunLoop(CFWriteStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode);
extern
void CFReadStreamUnscheduleFromRunLoop(CFReadStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode);
extern
void CFWriteStreamUnscheduleFromRunLoop(CFWriteStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode);
enum {
kCFStreamErrorDomainCustom = -1,
kCFStreamErrorDomainPOSIX = 1,
kCFStreamErrorDomainMacOSStatus
};
typedef CFIndex CFStreamErrorDomain;
typedef struct {
CFIndex domain;
SInt32 error;
} CFStreamError;
extern
CFStreamError CFReadStreamGetError(CFReadStreamRef stream);
extern
CFStreamError CFWriteStreamGetError(CFWriteStreamRef stream);
# 12 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 2 3
enum {
kCFPropertyListImmutable = 0,
kCFPropertyListMutableContainers,
kCFPropertyListMutableContainersAndLeaves
};
typedef CFOptionFlags CFPropertyListMutabilityOptions;
# 30 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 3
extern
CFPropertyListRef CFPropertyListCreateFromXMLData(CFAllocatorRef allocator, CFDataRef xmlData, CFOptionFlags mutabilityOption, CFStringRef *errorString);
# 43 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 3
extern
CFDataRef CFPropertyListCreateXMLData(CFAllocatorRef allocator, CFPropertyListRef propertyList);
extern
CFPropertyListRef CFPropertyListCreateDeepCopy(CFAllocatorRef allocator, CFPropertyListRef propertyList, CFOptionFlags mutabilityOption);
enum {
kCFPropertyListOpenStepFormat = 1,
kCFPropertyListXMLFormat_v1_0 = 100,
kCFPropertyListBinaryFormat_v1_0 = 200
};
typedef CFIndex CFPropertyListFormat;
extern
Boolean CFPropertyListIsValid(CFPropertyListRef plist, CFPropertyListFormat format);
extern
CFIndex CFPropertyListWriteToStream(CFPropertyListRef propertyList, CFWriteStreamRef stream, CFPropertyListFormat format, CFStringRef *errorString);
# 85 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 3
extern
CFPropertyListRef CFPropertyListCreateFromStream(CFAllocatorRef allocator, CFReadStreamRef stream, CFIndex streamLength, CFOptionFlags mutabilityOption, CFPropertyListFormat *format, CFStringRef *errorString);
# 100 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 3
# 61 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 1 3
# 10 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
#define __COREFOUNDATION_CFSET__ 1
# 25 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
typedef const void * (*CFSetRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFSetReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFSetCopyDescriptionCallBack)(const void *value);
# 50 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
typedef Boolean (*CFSetEqualCallBack)(const void *value1, const void *value2);
typedef CFHashCode (*CFSetHashCallBack)(const void *value);
# 84 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
typedef struct {
CFIndex version;
CFSetRetainCallBack retain;
CFSetReleaseCallBack release;
CFSetCopyDescriptionCallBack copyDescription;
CFSetEqualCallBack equal;
CFSetHashCallBack hash;
} CFSetCallBacks;
extern
const CFSetCallBacks kCFTypeSetCallBacks;
extern
const CFSetCallBacks kCFCopyStringSetCallBacks;
# 118 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
typedef void (*CFSetApplierFunction)(const void *value, void *context);
typedef const struct __CFSet * CFSetRef;
typedef struct __CFSet * CFMutableSetRef;
extern
CFTypeID CFSetGetTypeID(void);
# 185 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFSetRef CFSetCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFSetCallBacks *callBacks);
# 206 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFSetRef CFSetCreateCopy(CFAllocatorRef allocator, CFSetRef theSet);
# 252 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFMutableSetRef CFSetCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFSetCallBacks *callBacks);
# 282 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFMutableSetRef CFSetCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFSetRef theSet);
# 292 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFIndex CFSetGetCount(CFSetRef theSet);
# 310 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFIndex CFSetGetCountOfValue(CFSetRef theSet, const void *value);
# 326 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
Boolean CFSetContainsValue(CFSetRef theSet, const void *value);
# 341 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
const void *CFSetGetValue(CFSetRef theSet, const void *value);
# 365 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
Boolean CFSetGetValueIfPresent(CFSetRef theSet, const void *candidate, const void **value);
# 379 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetGetValues(CFSetRef theSet, const void **values);
# 399 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetApplyFunction(CFSetRef theSet, CFSetApplierFunction applier, void *context);
# 414 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetAddValue(CFMutableSetRef theSet, const void *value);
# 433 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetReplaceValue(CFMutableSetRef theSet, const void *value);
# 453 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetSetValue(CFMutableSetRef theSet, const void *value);
# 468 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetRemoveValue(CFMutableSetRef theSet, const void *value);
# 478 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetRemoveAllValues(CFMutableSetRef theSet);
# 63 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h" 1 3
#define __COREFOUNDATION_CFSTRINGENCODINGEXT__ 1
enum {
kCFStringEncodingMacJapanese = 1,
kCFStringEncodingMacChineseTrad = 2,
kCFStringEncodingMacKorean = 3,
kCFStringEncodingMacArabic = 4,
kCFStringEncodingMacHebrew = 5,
kCFStringEncodingMacGreek = 6,
kCFStringEncodingMacCyrillic = 7,
kCFStringEncodingMacDevanagari = 9,
kCFStringEncodingMacGurmukhi = 10,
kCFStringEncodingMacGujarati = 11,
kCFStringEncodingMacOriya = 12,
kCFStringEncodingMacBengali = 13,
kCFStringEncodingMacTamil = 14,
kCFStringEncodingMacTelugu = 15,
kCFStringEncodingMacKannada = 16,
kCFStringEncodingMacMalayalam = 17,
kCFStringEncodingMacSinhalese = 18,
kCFStringEncodingMacBurmese = 19,
kCFStringEncodingMacKhmer = 20,
kCFStringEncodingMacThai = 21,
kCFStringEncodingMacLaotian = 22,
kCFStringEncodingMacGeorgian = 23,
kCFStringEncodingMacArmenian = 24,
kCFStringEncodingMacChineseSimp = 25,
kCFStringEncodingMacTibetan = 26,
kCFStringEncodingMacMongolian = 27,
kCFStringEncodingMacEthiopic = 28,
kCFStringEncodingMacCentralEurRoman = 29,
kCFStringEncodingMacVietnamese = 30,
kCFStringEncodingMacExtArabic = 31,
kCFStringEncodingMacSymbol = 33,
kCFStringEncodingMacDingbats = 34,
kCFStringEncodingMacTurkish = 35,
kCFStringEncodingMacCroatian = 36,
kCFStringEncodingMacIcelandic = 37,
kCFStringEncodingMacRomanian = 38,
kCFStringEncodingMacCeltic = 39,
kCFStringEncodingMacGaelic = 40,
kCFStringEncodingMacFarsi = 0x8C,
kCFStringEncodingMacUkrainian = 0x98,
kCFStringEncodingMacInuit = 0xEC,
kCFStringEncodingMacVT100 = 0xFC,
kCFStringEncodingMacHFS = 0xFF,
kCFStringEncodingISOLatin2 = 0x0202,
kCFStringEncodingISOLatin3 = 0x0203,
kCFStringEncodingISOLatin4 = 0x0204,
kCFStringEncodingISOLatinCyrillic = 0x0205,
kCFStringEncodingISOLatinArabic = 0x0206,
kCFStringEncodingISOLatinGreek = 0x0207,
kCFStringEncodingISOLatinHebrew = 0x0208,
kCFStringEncodingISOLatin5 = 0x0209,
kCFStringEncodingISOLatin6 = 0x020A,
kCFStringEncodingISOLatinThai = 0x020B,
kCFStringEncodingISOLatin7 = 0x020D,
kCFStringEncodingISOLatin8 = 0x020E,
kCFStringEncodingISOLatin9 = 0x020F,
kCFStringEncodingISOLatin10 = 0x0210,
kCFStringEncodingDOSLatinUS = 0x0400,
kCFStringEncodingDOSGreek = 0x0405,
kCFStringEncodingDOSBalticRim = 0x0406,
kCFStringEncodingDOSLatin1 = 0x0410,
kCFStringEncodingDOSGreek1 = 0x0411,
kCFStringEncodingDOSLatin2 = 0x0412,
kCFStringEncodingDOSCyrillic = 0x0413,
kCFStringEncodingDOSTurkish = 0x0414,
kCFStringEncodingDOSPortuguese = 0x0415,
kCFStringEncodingDOSIcelandic = 0x0416,
kCFStringEncodingDOSHebrew = 0x0417,
kCFStringEncodingDOSCanadianFrench = 0x0418,
kCFStringEncodingDOSArabic = 0x0419,
kCFStringEncodingDOSNordic = 0x041A,
kCFStringEncodingDOSRussian = 0x041B,
kCFStringEncodingDOSGreek2 = 0x041C,
kCFStringEncodingDOSThai = 0x041D,
kCFStringEncodingDOSJapanese = 0x0420,
kCFStringEncodingDOSChineseSimplif = 0x0421,
kCFStringEncodingDOSKorean = 0x0422,
kCFStringEncodingDOSChineseTrad = 0x0423,
kCFStringEncodingWindowsLatin2 = 0x0501,
kCFStringEncodingWindowsCyrillic = 0x0502,
kCFStringEncodingWindowsGreek = 0x0503,
kCFStringEncodingWindowsLatin5 = 0x0504,
kCFStringEncodingWindowsHebrew = 0x0505,
kCFStringEncodingWindowsArabic = 0x0506,
kCFStringEncodingWindowsBalticRim = 0x0507,
kCFStringEncodingWindowsVietnamese = 0x0508,
kCFStringEncodingWindowsKoreanJohab = 0x0510,
kCFStringEncodingANSEL = 0x0601,
kCFStringEncodingJIS_X0201_76 = 0x0620,
kCFStringEncodingJIS_X0208_83 = 0x0621,
kCFStringEncodingJIS_X0208_90 = 0x0622,
kCFStringEncodingJIS_X0212_90 = 0x0623,
kCFStringEncodingJIS_C6226_78 = 0x0624,
kCFStringEncodingShiftJIS_X0213 = 0x0628,
kCFStringEncodingShiftJIS_X0213_MenKuTen = 0x0629,
kCFStringEncodingGB_2312_80 = 0x0630,
kCFStringEncodingGBK_95 = 0x0631,
kCFStringEncodingGB_18030_2000 = 0x0632,
kCFStringEncodingKSC_5601_87 = 0x0640,
kCFStringEncodingKSC_5601_92_Johab = 0x0641,
kCFStringEncodingCNS_11643_92_P1 = 0x0651,
kCFStringEncodingCNS_11643_92_P2 = 0x0652,
kCFStringEncodingCNS_11643_92_P3 = 0x0653,
kCFStringEncodingISO_2022_JP = 0x0820,
kCFStringEncodingISO_2022_JP_2 = 0x0821,
kCFStringEncodingISO_2022_JP_1 = 0x0822,
kCFStringEncodingISO_2022_JP_3 = 0x0823,
kCFStringEncodingISO_2022_CN = 0x0830,
kCFStringEncodingISO_2022_CN_EXT = 0x0831,
kCFStringEncodingISO_2022_KR = 0x0840,
kCFStringEncodingEUC_JP = 0x0920,
kCFStringEncodingEUC_CN = 0x0930,
kCFStringEncodingEUC_TW = 0x0931,
kCFStringEncodingEUC_KR = 0x0940,
kCFStringEncodingShiftJIS = 0x0A01,
kCFStringEncodingKOI8_R = 0x0A02,
kCFStringEncodingBig5 = 0x0A03,
kCFStringEncodingMacRomanLatin1 = 0x0A04,
kCFStringEncodingHZ_GB_2312 = 0x0A05,
kCFStringEncodingBig5_HKSCS_1999 = 0x0A06,
kCFStringEncodingVISCII = 0x0A07,
kCFStringEncodingKOI8_U = 0x0A08,
kCFStringEncodingBig5_E = 0x0A09,
kCFStringEncodingNextStepJapanese = 0x0B02,
kCFStringEncodingEBCDIC_US = 0x0C01,
kCFStringEncodingEBCDIC_CP037 = 0x0C02,
kCFStringEncodingShiftJIS_X0213_00 = 0x0628
};
typedef CFIndex CFStringEncodings;
# 67 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 1 3
# 11 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
#define __COREFOUNDATION_CFTREE__ 1
# 27 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
typedef const void * (*CFTreeRetainCallBack)(const void *info);
typedef void (*CFTreeReleaseCallBack)(const void *info);
# 44 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
typedef CFStringRef (*CFTreeCopyDescriptionCallBack)(const void *info);
# 63 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
typedef struct {
CFIndex version;
void * info;
CFTreeRetainCallBack retain;
CFTreeReleaseCallBack release;
CFTreeCopyDescriptionCallBack copyDescription;
} CFTreeContext;
# 79 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
typedef void (*CFTreeApplierFunction)(const void *value, void *context);
typedef struct __CFTree * CFTreeRef;
extern
CFTypeID CFTreeGetTypeID(void);
# 111 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeCreate(CFAllocatorRef allocator, const CFTreeContext *context);
# 121 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeGetParent(CFTreeRef tree);
# 131 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeGetNextSibling(CFTreeRef tree);
# 141 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeGetFirstChild(CFTreeRef tree);
# 155 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeGetContext(CFTreeRef tree, CFTreeContext *context);
# 165 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFIndex CFTreeGetChildCount(CFTreeRef tree);
# 178 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeGetChildAtIndex(CFTreeRef tree, CFIndex idx);
# 191 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeGetChildren(CFTreeRef tree, CFTreeRef *children);
# 212 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeApplyFunctionToChildren(CFTreeRef tree, CFTreeApplierFunction applier, void *context);
# 222 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeFindRoot(CFTreeRef tree);
# 239 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeSetContext(CFTreeRef tree, const CFTreeContext *context);
# 252 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreePrependChild(CFTreeRef tree, CFTreeRef newChild);
# 265 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeAppendChild(CFTreeRef tree, CFTreeRef newChild);
# 280 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeInsertSibling(CFTreeRef tree, CFTreeRef newSibling);
extern
void CFTreeRemove(CFTreeRef tree);
extern
void CFTreeRemoveAllChildren(CFTreeRef tree);
# 318 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeSortChildren(CFTreeRef tree, CFComparatorFunction comparator, void *context);
# 69 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h" 1 3
#define __COREFOUNDATION_CFURLACCESS__ 1
# 15 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h" 3
# 39 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h" 3
extern
Boolean CFURLCreateDataAndPropertiesFromResource(CFAllocatorRef alloc, CFURLRef url, CFDataRef *resourceData, CFDictionaryRef *properties, CFArrayRef desiredProperties, SInt32 *errorCode);
# 50 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h" 3
extern
Boolean CFURLWriteDataAndPropertiesToResource(CFURLRef url, CFDataRef dataToWrite, CFDictionaryRef propertiesToWrite, SInt32 *errorCode);
extern
Boolean CFURLDestroyResource(CFURLRef url, SInt32 *errorCode);
extern
CFTypeRef CFURLCreatePropertyFromResource(CFAllocatorRef alloc, CFURLRef url, CFStringRef property, SInt32 *errorCode);
enum {
kCFURLUnknownError = -10,
kCFURLUnknownSchemeError = -11,
kCFURLResourceNotFoundError = -12,
kCFURLResourceAccessViolationError = -13,
kCFURLRemoteHostUnavailableError = -14,
kCFURLImproperArgumentsError = -15,
kCFURLUnknownPropertyKeyError = -16,
kCFURLPropertyKeyUnavailableError = -17,
kCFURLTimeoutError = -18
};
typedef CFIndex CFURLError;
extern
const CFStringRef kCFURLFileExists;
extern
const CFStringRef kCFURLFileDirectoryContents;
extern
const CFStringRef kCFURLFileLength;
extern
const CFStringRef kCFURLFileLastModificationTime;
extern
const CFStringRef kCFURLFilePOSIXMode;
extern
const CFStringRef kCFURLFileOwnerID;
extern
const CFStringRef kCFURLHTTPStatusCode;
extern
const CFStringRef kCFURLHTTPStatusLine;
# 107 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h" 3
# 71 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h" 1 3
#define __COREFOUNDATION_CFUSERNOTIFICATION__ 1
# 15 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h" 3
typedef struct __CFUserNotification * CFUserNotificationRef;
# 63 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h" 3
typedef void (*CFUserNotificationCallBack)(CFUserNotificationRef userNotification, CFOptionFlags responseFlags);
extern
CFTypeID CFUserNotificationGetTypeID(void);
extern
CFUserNotificationRef CFUserNotificationCreate(CFAllocatorRef allocator, CFTimeInterval timeout, CFOptionFlags flags, SInt32 *error, CFDictionaryRef dictionary);
extern
SInt32 CFUserNotificationReceiveResponse(CFUserNotificationRef userNotification, CFTimeInterval timeout, CFOptionFlags *responseFlags);
extern
CFStringRef CFUserNotificationGetResponseValue(CFUserNotificationRef userNotification, CFStringRef key, CFIndex idx);
extern
CFDictionaryRef CFUserNotificationGetResponseDictionary(CFUserNotificationRef userNotification);
extern
SInt32 CFUserNotificationUpdate(CFUserNotificationRef userNotification, CFTimeInterval timeout, CFOptionFlags flags, CFDictionaryRef dictionary);
extern
SInt32 CFUserNotificationCancel(CFUserNotificationRef userNotification);
extern
CFRunLoopSourceRef CFUserNotificationCreateRunLoopSource(CFAllocatorRef allocator, CFUserNotificationRef userNotification, CFUserNotificationCallBack callout, CFIndex order);
extern
SInt32 CFUserNotificationDisplayNotice(CFTimeInterval timeout, CFOptionFlags flags, CFURLRef iconURL, CFURLRef soundURL, CFURLRef localizationURL, CFStringRef alertHeader, CFStringRef alertMessage, CFStringRef defaultButtonTitle);
extern
SInt32 CFUserNotificationDisplayAlert(CFTimeInterval timeout, CFOptionFlags flags, CFURLRef iconURL, CFURLRef soundURL, CFURLRef localizationURL, CFStringRef alertHeader, CFStringRef alertMessage, CFStringRef defaultButtonTitle, CFStringRef alternateButtonTitle, CFStringRef otherButtonTitle, CFOptionFlags *responseFlags);
enum {
kCFUserNotificationStopAlertLevel = 0,
kCFUserNotificationNoteAlertLevel = 1,
kCFUserNotificationCautionAlertLevel = 2,
kCFUserNotificationPlainAlertLevel = 3
};
enum {
kCFUserNotificationDefaultResponse = 0,
kCFUserNotificationAlternateResponse = 1,
kCFUserNotificationOtherResponse = 2,
kCFUserNotificationCancelResponse = 3
};
enum {
kCFUserNotificationNoDefaultButtonFlag = (1 << 5),
kCFUserNotificationUseRadioButtonsFlag = (1 << 6)
};
static __inline__ __attribute__((always_inline)) CFOptionFlags CFUserNotificationCheckBoxChecked(CFIndex i) {return ((CFOptionFlags)(1 << (8 + i)));}
static __inline__ __attribute__((always_inline)) CFOptionFlags CFUserNotificationSecureTextField(CFIndex i) {return ((CFOptionFlags)(1 << (16 + i)));}
static __inline__ __attribute__((always_inline)) CFOptionFlags CFUserNotificationPopUpSelection(CFIndex n) {return ((CFOptionFlags)(n << 24));}
extern
const CFStringRef kCFUserNotificationIconURLKey;
extern
const CFStringRef kCFUserNotificationSoundURLKey;
extern
const CFStringRef kCFUserNotificationLocalizationURLKey;
extern
const CFStringRef kCFUserNotificationAlertHeaderKey;
extern
const CFStringRef kCFUserNotificationAlertMessageKey;
extern
const CFStringRef kCFUserNotificationDefaultButtonTitleKey;
extern
const CFStringRef kCFUserNotificationAlternateButtonTitleKey;
extern
const CFStringRef kCFUserNotificationOtherButtonTitleKey;
extern
const CFStringRef kCFUserNotificationProgressIndicatorValueKey;
extern
const CFStringRef kCFUserNotificationPopUpTitlesKey;
extern
const CFStringRef kCFUserNotificationTextFieldTitlesKey;
extern
const CFStringRef kCFUserNotificationCheckBoxTitlesKey;
extern
const CFStringRef kCFUserNotificationTextFieldValuesKey;
extern
const CFStringRef kCFUserNotificationPopUpSelectionKey ;
# 73 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h" 1 3
#define __COREFOUNDATION_CFXMLNODE__ 1
enum {
kCFXMLNodeCurrentVersion = 1
};
typedef const struct __CFXMLNode * CFXMLNodeRef;
typedef CFTreeRef CFXMLTreeRef;
# 44 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h" 3
enum {
kCFXMLNodeTypeDocument = 1,
kCFXMLNodeTypeElement = 2,
kCFXMLNodeTypeAttribute = 3,
kCFXMLNodeTypeProcessingInstruction = 4,
kCFXMLNodeTypeComment = 5,
kCFXMLNodeTypeText = 6,
kCFXMLNodeTypeCDATASection = 7,
kCFXMLNodeTypeDocumentFragment = 8,
kCFXMLNodeTypeEntity = 9,
kCFXMLNodeTypeEntityReference = 10,
kCFXMLNodeTypeDocumentType = 11,
kCFXMLNodeTypeWhitespace = 12,
kCFXMLNodeTypeNotation = 13,
kCFXMLNodeTypeElementTypeDeclaration = 14,
kCFXMLNodeTypeAttributeListDeclaration = 15
};
typedef CFIndex CFXMLNodeTypeCode;
typedef struct {
CFDictionaryRef attributes;
CFArrayRef attributeOrder;
Boolean isEmpty;
char _reserved[3];
} CFXMLElementInfo;
typedef struct {
CFStringRef dataString;
} CFXMLProcessingInstructionInfo;
typedef struct {
CFURLRef sourceURL;
CFStringEncoding encoding;
} CFXMLDocumentInfo;
typedef struct {
CFURLRef systemID;
CFStringRef publicID;
} CFXMLExternalID;
typedef struct {
CFXMLExternalID externalID;
} CFXMLDocumentTypeInfo;
typedef struct {
CFXMLExternalID externalID;
} CFXMLNotationInfo;
typedef struct {
CFStringRef contentDescription;
} CFXMLElementTypeDeclarationInfo;
typedef struct {
CFStringRef attributeName;
CFStringRef typeString;
CFStringRef defaultString;
} CFXMLAttributeDeclarationInfo;
typedef struct {
CFIndex numberOfAttributes;
CFXMLAttributeDeclarationInfo *attributes;
} CFXMLAttributeListDeclarationInfo;
enum {
kCFXMLEntityTypeParameter,
kCFXMLEntityTypeParsedInternal,
kCFXMLEntityTypeParsedExternal,
kCFXMLEntityTypeUnparsed,
kCFXMLEntityTypeCharacter
};
typedef CFIndex CFXMLEntityTypeCode;
typedef struct {
CFXMLEntityTypeCode entityType;
CFStringRef replacementText;
CFXMLExternalID entityID;
CFStringRef notationName;
} CFXMLEntityInfo;
typedef struct {
CFXMLEntityTypeCode entityType;
} CFXMLEntityReferenceInfo;
# 149 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h" 3
extern
CFTypeID CFXMLNodeGetTypeID(void);
extern
CFXMLNodeRef CFXMLNodeCreate(CFAllocatorRef alloc, CFXMLNodeTypeCode xmlType, CFStringRef dataString, const void *additionalInfoPtr, CFIndex version);
extern
CFXMLNodeRef CFXMLNodeCreateCopy(CFAllocatorRef alloc, CFXMLNodeRef origNode);
extern
CFXMLNodeTypeCode CFXMLNodeGetTypeCode(CFXMLNodeRef node);
extern
CFStringRef CFXMLNodeGetString(CFXMLNodeRef node);
extern
const void *CFXMLNodeGetInfoPtr(CFXMLNodeRef node);
extern
CFIndex CFXMLNodeGetVersion(CFXMLNodeRef node);
extern
CFXMLTreeRef CFXMLTreeCreateWithNode(CFAllocatorRef allocator, CFXMLNodeRef node);
extern
CFXMLNodeRef CFXMLTreeGetNode(CFXMLTreeRef xmlTree);
# 74 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h" 1 3
#define __COREFOUNDATION_CFXMLPARSER__ 1
# 16 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h" 3
typedef struct __CFXMLParser * CFXMLParserRef;
# 50 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h" 3
enum {
kCFXMLParserValidateDocument = (1 << 0),
kCFXMLParserSkipMetaData = (1 << 1),
kCFXMLParserReplacePhysicalEntities = (1 << 2),
kCFXMLParserSkipWhitespace = (1 << 3),
kCFXMLParserResolveExternalEntities = (1 << 4),
kCFXMLParserAddImpliedAttributes = (1 << 5),
kCFXMLParserAllOptions = 0x00FFFFFF,
kCFXMLParserNoOptions = 0
};
typedef CFOptionFlags CFXMLParserOptions;
enum {
kCFXMLStatusParseNotBegun = -2,
kCFXMLStatusParseInProgress = -1,
kCFXMLStatusParseSuccessful = 0,
kCFXMLErrorUnexpectedEOF = 1,
kCFXMLErrorUnknownEncoding,
kCFXMLErrorEncodingConversionFailure,
kCFXMLErrorMalformedProcessingInstruction,
kCFXMLErrorMalformedDTD,
kCFXMLErrorMalformedName,
kCFXMLErrorMalformedCDSect,
kCFXMLErrorMalformedCloseTag,
kCFXMLErrorMalformedStartTag,
kCFXMLErrorMalformedDocument,
kCFXMLErrorElementlessDocument,
kCFXMLErrorMalformedComment,
kCFXMLErrorMalformedCharacterReference,
kCFXMLErrorMalformedParsedCharacterData,
kCFXMLErrorNoData
};
typedef CFIndex CFXMLParserStatusCode;
# 127 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h" 3
typedef void * (*CFXMLParserCreateXMLStructureCallBack)(CFXMLParserRef parser, CFXMLNodeRef nodeDesc, void *info);
typedef void (*CFXMLParserAddChildCallBack)(CFXMLParserRef parser, void *parent, void *child, void *info);
typedef void (*CFXMLParserEndXMLStructureCallBack)(CFXMLParserRef parser, void *xmlType, void *info);
typedef CFDataRef (*CFXMLParserResolveExternalEntityCallBack)(CFXMLParserRef parser, CFXMLExternalID *extID, void *info);
typedef Boolean (*CFXMLParserHandleErrorCallBack)(CFXMLParserRef parser, CFXMLParserStatusCode error, void *info);
typedef struct {
CFIndex version;
CFXMLParserCreateXMLStructureCallBack createXMLStructure;
CFXMLParserAddChildCallBack addChild;
CFXMLParserEndXMLStructureCallBack endXMLStructure;
CFXMLParserResolveExternalEntityCallBack resolveExternalEntity;
CFXMLParserHandleErrorCallBack handleError;
} CFXMLParserCallBacks;
typedef const void * (*CFXMLParserRetainCallBack)(const void *info);
typedef void (*CFXMLParserReleaseCallBack)(const void *info);
typedef CFStringRef (*CFXMLParserCopyDescriptionCallBack)(const void *info);
typedef struct {
CFIndex version;
void * info;
CFXMLParserRetainCallBack retain;
CFXMLParserReleaseCallBack release;
CFXMLParserCopyDescriptionCallBack copyDescription;
} CFXMLParserContext;
extern
CFTypeID CFXMLParserGetTypeID(void);
# 162 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h" 3
extern
CFXMLParserRef CFXMLParserCreate(CFAllocatorRef allocator, CFDataRef xmlData, CFURLRef dataSource, CFOptionFlags parseOptions, CFIndex versionOfNodes, CFXMLParserCallBacks *callBacks, CFXMLParserContext *context);
extern
CFXMLParserRef CFXMLParserCreateWithDataFromURL(CFAllocatorRef allocator, CFURLRef dataSource, CFOptionFlags parseOptions, CFIndex versionOfNodes, CFXMLParserCallBacks *callBacks, CFXMLParserContext *context);
extern
void CFXMLParserGetContext(CFXMLParserRef parser, CFXMLParserContext *context);
extern
void CFXMLParserGetCallBacks(CFXMLParserRef parser, CFXMLParserCallBacks *callBacks);
extern
CFURLRef CFXMLParserGetSourceURL(CFXMLParserRef parser);
extern
CFIndex CFXMLParserGetLocation(CFXMLParserRef parser);
extern
CFIndex CFXMLParserGetLineNumber(CFXMLParserRef parser);
extern
void *CFXMLParserGetDocument(CFXMLParserRef parser);
extern
CFXMLParserStatusCode CFXMLParserGetStatusCode(CFXMLParserRef parser);
extern
CFStringRef CFXMLParserCopyErrorDescription(CFXMLParserRef parser);
extern
void CFXMLParserAbort(CFXMLParserRef parser, CFXMLParserStatusCode errorCode, CFStringRef errorDescription);
extern
Boolean CFXMLParserParse(CFXMLParserRef parser);
extern
CFXMLTreeRef CFXMLTreeCreateFromData(CFAllocatorRef allocator, CFDataRef xmlData, CFURLRef dataSource, CFOptionFlags parseOptions, CFIndex versionOfNodes);
extern
CFXMLTreeRef CFXMLTreeCreateFromDataWithError(CFAllocatorRef allocator, CFDataRef xmlData, CFURLRef dataSource, CFOptionFlags parseOptions, CFIndex versionOfNodes, CFDictionaryRef *errorDict) ;
extern
CFXMLTreeRef CFXMLTreeCreateWithDataFromURL(CFAllocatorRef allocator, CFURLRef dataSource, CFOptionFlags parseOptions, CFIndex versionOfNodes);
extern
CFDataRef CFXMLTreeCreateXMLData(CFAllocatorRef allocator, CFXMLTreeRef xmlTree);
extern
CFStringRef CFXMLCreateStringByEscapingEntities(CFAllocatorRef allocator, CFStringRef string, CFDictionaryRef entitiesDictionary) ;
extern
CFStringRef CFXMLCreateStringByUnescapingEntities(CFAllocatorRef allocator, CFStringRef string, CFDictionaryRef entitiesDictionary) ;
extern const CFStringRef kCFXMLTreeErrorDescription ;
extern const CFStringRef kCFXMLTreeErrorLineNumber ;
extern const CFStringRef kCFXMLTreeErrorLocation ;
extern const CFStringRef kCFXMLTreeErrorStatusCode ;
# 75 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h" 1 3
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h" 3
#define __COREFOUNDATION_CFATTRIBUTEDSTRING__ 1
typedef const struct __CFAttributedString *CFAttributedStringRef;
typedef struct __CFAttributedString *CFMutableAttributedStringRef;
extern CFTypeID CFAttributedStringGetTypeID(void) ;
# 40 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h" 3
extern CFAttributedStringRef CFAttributedStringCreate(CFAllocatorRef alloc, CFStringRef str, CFDictionaryRef attributes) ;
extern CFAttributedStringRef CFAttributedStringCreateWithSubstring(CFAllocatorRef alloc, CFAttributedStringRef aStr, CFRange range) ;
extern CFAttributedStringRef CFAttributedStringCreateCopy(CFAllocatorRef alloc, CFAttributedStringRef aStr) ;
extern CFStringRef CFAttributedStringGetString(CFAttributedStringRef aStr) ;
extern CFIndex CFAttributedStringGetLength(CFAttributedStringRef aStr) ;
extern CFDictionaryRef CFAttributedStringGetAttributes(CFAttributedStringRef aStr, CFIndex loc, CFRange *effectiveRange) ;
extern CFTypeRef CFAttributedStringGetAttribute(CFAttributedStringRef aStr, CFIndex loc, CFStringRef attrName, CFRange *effectiveRange) ;
extern CFDictionaryRef CFAttributedStringGetAttributesAndLongestEffectiveRange(CFAttributedStringRef aStr, CFIndex loc, CFRange inRange, CFRange *longestEffectiveRange) ;
extern CFTypeRef CFAttributedStringGetAttributeAndLongestEffectiveRange(CFAttributedStringRef aStr, CFIndex loc, CFStringRef attrName, CFRange inRange, CFRange *longestEffectiveRange) ;
# 91 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h" 3
extern CFMutableAttributedStringRef CFAttributedStringCreateMutableCopy(CFAllocatorRef alloc, CFIndex maxLength, CFAttributedStringRef aStr) ;
extern CFMutableAttributedStringRef CFAttributedStringCreateMutable(CFAllocatorRef alloc, CFIndex maxLength) ;
extern void CFAttributedStringReplaceString(CFMutableAttributedStringRef aStr, CFRange range, CFStringRef replacement) ;
extern CFMutableStringRef CFAttributedStringGetMutableString(CFMutableAttributedStringRef aStr) ;
extern void CFAttributedStringSetAttributes(CFMutableAttributedStringRef aStr, CFRange range, CFDictionaryRef replacement, Boolean clearOtherAttributes) ;
extern void CFAttributedStringSetAttribute(CFMutableAttributedStringRef aStr, CFRange range, CFStringRef attrName, CFTypeRef value) ;
extern void CFAttributedStringRemoveAttribute(CFMutableAttributedStringRef aStr, CFRange range, CFStringRef attrName) ;
extern void CFAttributedStringReplaceAttributedString(CFMutableAttributedStringRef aStr, CFRange range, CFAttributedStringRef replacement) ;
extern void CFAttributedStringBeginEditing(CFMutableAttributedStringRef aStr) ;
extern void CFAttributedStringEndEditing(CFMutableAttributedStringRef aStr) ;
# 78 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h" 1 3
#define __COREFOUNDATION_CFNOTIFICATIONCENTER__ 1
typedef struct __CFNotificationCenter * CFNotificationCenterRef;
typedef void (*CFNotificationCallback)(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef userInfo);
enum {
CFNotificationSuspensionBehaviorDrop = 1,
CFNotificationSuspensionBehaviorCoalesce = 2,
CFNotificationSuspensionBehaviorHold = 3,
CFNotificationSuspensionBehaviorDeliverImmediately = 4
};
typedef CFIndex CFNotificationSuspensionBehavior;
extern CFTypeID CFNotificationCenterGetTypeID(void);
extern CFNotificationCenterRef CFNotificationCenterGetLocalCenter(void) ;
extern CFNotificationCenterRef CFNotificationCenterGetDistributedCenter(void);
extern CFNotificationCenterRef CFNotificationCenterGetDarwinNotifyCenter(void) ;
# 53 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h" 3
extern void CFNotificationCenterAddObserver(CFNotificationCenterRef center, const void *observer, CFNotificationCallback callBack, CFStringRef name, const void *object, CFNotificationSuspensionBehavior suspensionBehavior);
extern void CFNotificationCenterRemoveObserver(CFNotificationCenterRef center, const void *observer, CFStringRef name, const void *object);
extern void CFNotificationCenterRemoveEveryObserver(CFNotificationCenterRef center, const void *observer);
extern void CFNotificationCenterPostNotification(CFNotificationCenterRef center, CFStringRef name, const void *object, CFDictionaryRef userInfo, Boolean deliverImmediately);
enum {
kCFNotificationDeliverImmediately = (1 << 0),
kCFNotificationPostToAllSessions = (1 << 1)
};
void CFNotificationCenterPostNotificationWithOptions(CFNotificationCenterRef center, CFStringRef name, const void *object, CFDictionaryRef userInfo, CFOptionFlags options) ;
# 79 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 1 3
# 23 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
#define __COREFOUNDATION_CFSTRINGTOKENIZER__ 1
# 51 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFStringRef CFStringTokenizerCopyBestStringLanguage(CFStringRef string, CFRange range);
typedef struct __CFStringTokenizer * CFStringTokenizerRef;
enum {
kCFStringTokenizerUnitWord = 0,
kCFStringTokenizerUnitSentence = 1,
kCFStringTokenizerUnitParagraph = 2,
kCFStringTokenizerUnitLineBreak = 3,
kCFStringTokenizerUnitWordBoundary = 4,
# 92 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
kCFStringTokenizerAttributeLatinTranscription = 1L << 16,
kCFStringTokenizerAttributeLanguage = 1L << 17
};
enum {
kCFStringTokenizerTokenNone = 0,
kCFStringTokenizerTokenNormal = 1,
kCFStringTokenizerTokenHasSubTokensMask = 1L << 1,
kCFStringTokenizerTokenHasDerivedSubTokensMask = 1L << 2,
kCFStringTokenizerTokenHasHasNumbersMask = 1L << 3,
kCFStringTokenizerTokenHasNonLettersMask = 1L << 4,
kCFStringTokenizerTokenIsCJWordMask = 1L << 5
};
typedef CFOptionFlags CFStringTokenizerTokenType;
extern
CFTypeID CFStringTokenizerGetTypeID(void);
# 156 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFStringTokenizerRef CFStringTokenizerCreate(CFAllocatorRef alloc, CFStringRef string, CFRange range, CFOptionFlags options, CFLocaleRef locale);
# 168 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
void CFStringTokenizerSetString(CFStringTokenizerRef tokenizer, CFStringRef string, CFRange range);
# 186 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFStringTokenizerTokenType CFStringTokenizerGoToTokenAtIndex(CFStringTokenizerRef tokenizer, CFIndex index);
# 210 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFStringTokenizerTokenType CFStringTokenizerAdvanceToNextToken(CFStringTokenizerRef tokenizer);
# 220 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFRange CFStringTokenizerGetCurrentTokenRange(CFStringTokenizerRef tokenizer);
# 234 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFTypeRef CFStringTokenizerCopyCurrentTokenAttribute(CFStringTokenizerRef tokenizer, CFOptionFlags attribute);
# 261 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFIndex CFStringTokenizerGetCurrentSubTokens(CFStringTokenizerRef tokenizer, CFRange *ranges, CFIndex maxRangeLength, CFMutableArrayRef derivedSubTokens);
# 80 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
#define __FINDER__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
#pragma pack(push, 2)
enum {
kClippingCreator = 'drag',
kClippingPictureType = 'clpp',
kClippingTextType = 'clpt',
kClippingSoundType = 'clps',
kClippingUnknownType = 'clpu'
};
enum {
kInternetLocationCreator = 'drag',
kInternetLocationHTTP = 'ilht',
kInternetLocationFTP = 'ilft',
kInternetLocationFile = 'ilfi',
kInternetLocationMail = 'ilma',
kInternetLocationNNTP = 'ilnw',
kInternetLocationAFP = 'ilaf',
kInternetLocationAppleTalk = 'ilat',
kInternetLocationNSL = 'ilns',
kInternetLocationGeneric = 'ilge'
};
enum {
kCustomIconResource = -16455
};
enum {
kCustomBadgeResourceType = 'badg',
kCustomBadgeResourceID = kCustomIconResource,
kCustomBadgeResourceVersion = 0
};
struct CustomBadgeResource {
SInt16 version;
SInt16 customBadgeResourceID;
OSType customBadgeType;
OSType customBadgeCreator;
OSType windowBadgeType;
OSType windowBadgeCreator;
OSType overrideType;
OSType overrideCreator;
};
typedef struct CustomBadgeResource CustomBadgeResource;
typedef CustomBadgeResource * CustomBadgeResourcePtr;
typedef CustomBadgeResourcePtr * CustomBadgeResourceHandle;
# 100 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
enum {
kRoutingResourceType = 'rout',
kRoutingResourceID = 0
};
struct RoutingResourceEntry {
OSType creator;
OSType fileType;
OSType targetFolder;
OSType destinationFolder;
OSType reservedField;
};
typedef struct RoutingResourceEntry RoutingResourceEntry;
typedef RoutingResourceEntry * RoutingResourcePtr;
typedef RoutingResourcePtr * RoutingResourceHandle;
enum {
kContainerFolderAliasType = 'fdrp',
kContainerTrashAliasType = 'trsh',
kContainerHardDiskAliasType = 'hdsk',
kContainerFloppyAliasType = 'flpy',
kContainerServerAliasType = 'srvr',
kApplicationAliasType = 'adrp',
kContainerAliasType = 'drop',
kDesktopPrinterAliasType = 'dtpa',
kContainerCDROMAliasType = 'cddr',
kApplicationCPAliasType = 'acdp',
kApplicationDAAliasType = 'addp',
kPackageAliasType = 'fpka',
kAppPackageAliasType = 'fapa'
};
enum {
kSystemFolderAliasType = 'fasy',
kAppleMenuFolderAliasType = 'faam',
kStartupFolderAliasType = 'fast',
kPrintMonitorDocsFolderAliasType = 'fapn',
kPreferencesFolderAliasType = 'fapf',
kControlPanelFolderAliasType = 'fact',
kExtensionFolderAliasType = 'faex'
};
enum {
kExportedFolderAliasType = 'faet',
kDropFolderAliasType = 'fadr',
kSharedFolderAliasType = 'fash',
kMountedFolderAliasType = 'famn'
};
enum {
kIsOnDesk = 0x0001,
kColor = 0x000E,
kIsShared = 0x0040,
kHasNoINITs = 0x0080,
kHasBeenInited = 0x0100,
kHasCustomIcon = 0x0400,
kIsStationery = 0x0800,
kNameLocked = 0x1000,
kHasBundle = 0x2000,
kIsInvisible = 0x4000,
kIsAlias = 0x8000
};
enum {
fOnDesk = kIsOnDesk,
fHasBundle = kHasBundle,
fInvisible = kIsInvisible
};
enum {
fTrash = -3,
fDesktop = -2,
fDisk = 0
};
# 205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
enum {
kExtendedFlagsAreInvalid = 0x8000,
kExtendedFlagHasCustomBadge = 0x0100,
kExtendedFlagObjectIsBusy = 0x0080,
kExtendedFlagHasRoutingInfo = 0x0004
};
# 220 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
enum {
kFirstMagicBusyFiletype = 'bzy ',
kLastMagicBusyFiletype = 'bzy?'
};
enum {
kMagicBusyCreationDate = 0x4F3AFDB0
};
# 243 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
struct FileInfo {
OSType fileType;
OSType fileCreator;
UInt16 finderFlags;
Point location;
UInt16 reservedField;
};
typedef struct FileInfo FileInfo;
struct FolderInfo {
Rect windowBounds;
UInt16 finderFlags;
Point location;
UInt16 reservedField;
};
typedef struct FolderInfo FolderInfo;
struct ExtendedFileInfo {
SInt16 reserved1[4];
UInt16 extendedFinderFlags;
SInt16 reserved2;
SInt32 putAwayFolderID;
};
typedef struct ExtendedFileInfo ExtendedFileInfo;
struct ExtendedFolderInfo {
Point scrollPosition;
SInt32 reserved1;
UInt16 extendedFinderFlags;
SInt16 reserved2;
SInt32 putAwayFolderID;
};
typedef struct ExtendedFolderInfo ExtendedFolderInfo;
# 287 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
struct FInfo {
OSType fdType;
OSType fdCreator;
UInt16 fdFlags;
Point fdLocation;
SInt16 fdFldr;
};
typedef struct FInfo FInfo;
struct FXInfo {
SInt16 fdIconID;
SInt16 fdReserved[3];
SInt8 fdScript;
SInt8 fdXFlags;
SInt16 fdComment;
SInt32 fdPutAway;
};
typedef struct FXInfo FXInfo;
struct DInfo {
Rect frRect;
UInt16 frFlags;
Point frLocation;
SInt16 frView;
};
typedef struct DInfo DInfo;
struct DXInfo {
Point frScroll;
SInt32 frOpenChain;
SInt8 frScript;
SInt8 frXFlags;
SInt16 frComment;
SInt32 frPutAway;
};
typedef struct DXInfo DXInfo;
#pragma pack(pop)
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
#define __FIXMATH__
# 36 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
#define fixed1 ((Fixed) 0x00010000L)
#define fract1 ((Fract) 0x40000000L)
#define positiveInfinity ((Fixed) 0x7FFFFFFFL)
#define negativeInfinity ((Fixed) -0x80000000L)
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
#define _IntSaturate(x) ({ int _Result = (int) (x); __asm__(" ucomisd %[LimitFloat], %[xx] \n cmovae %[LimitInt], %[_Result] " : [_Result] "+r" (_Result) : [LimitFloat] "mx" (0x1p31), [LimitInt] "mr" (0x7fffffff), [xx] "x" ((double)(x)) : "cc" ); _Result; })
# 100 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
#define FloatToFixed(a) (_IntSaturate((a) * fixed1))
#define FloatToFract(a) (_IntSaturate((a) * fract1))
#define FixedRound(a) ((short)(((Fixed)(a) + fixed1/2) >> 16))
#define FixedSquareRoot(a) (((Fixed)FractSquareRoot(a) + 64) >> 7)
#define FixedTruncate(a) ((short)((Fixed)(a) >> 16))
#define FixedToFract(a) ((Fract)(a) << 14)
#define FractToFixed(a) (((Fixed)(a) + 8192L) >> 14)
#define FixedToInt(a) ((short)(((Fixed)(a) + fixed1/2) >> 16))
#define IntToFixed(a) ((Fixed)(a) << 16)
#define FixedToFloat(a) ((float)(a) / fixed1)
#define FractToFloat(a) ((float)(a) / fract1)
#define ColorToFract(a) (((Fract) (a) << 14) + ((Fract)(a) + 2 >> 2))
#define FractToColor(a) ((gxColorValue) ((a) - ((a) >> 16) + 8191 >> 14))
# 130 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
FixRatio(
short numer,
short denom) ;
# 144 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
FixMul(
Fixed a,
Fixed b) ;
# 158 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern short
FixRound(Fixed x) ;
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
Fix2Frac(Fixed x) ;
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern SInt32
Fix2Long(Fixed x) ;
# 194 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
Long2Fix(SInt32 x) ;
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
Frac2Fix(Fract x) ;
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
FracMul(
Fract x,
Fract y) ;
# 232 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
FixDiv(
Fixed x,
Fixed y) ;
# 246 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
FracDiv(
Fract x,
Fract y) ;
# 260 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
FracSqrt(Fract x) ;
# 272 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
FracSin(Fixed x) ;
# 284 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
FracCos(Fixed x) ;
# 296 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
FixATan2(
SInt32 x,
SInt32 y) ;
# 319 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern double
Frac2X(Fract x) ;
# 331 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern double
Fix2X(Fixed x) ;
# 343 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
X2Fix(double x) ;
# 355 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
X2Frac(double x) ;
# 379 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern short
WideCompare(
const wide * target,
const wide * source) ;
# 408 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideAdd(
wide * target,
const wide * source) ;
# 437 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideSubtract(
wide * target,
const wide * source) ;
# 462 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideNegate(wide * target) ;
# 487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideShift(
wide * target,
SInt32 shift) ;
# 513 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern UInt32
WideSquareRoot(const wide * source) ;
# 541 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideMultiply(
SInt32 multiplicand,
SInt32 multiplier,
wide * target) ;
# 580 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern SInt32
WideDivide(
const wide * dividend,
SInt32 divisor,
SInt32 * remainder) ;
# 615 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideWideDivide(
wide * dividend,
SInt32 divisor,
SInt32 * remainder) ;
# 646 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideBitShift(
wide * target,
SInt32 shift) ;
# 660 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern UnsignedFixed
UnsignedFixedMulDiv(
UnsignedFixed value,
UnsignedFixed multiplier,
UnsignedFixed divisor) ;
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
#define __SCRIPT__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h" 3
#define __INTLRESOURCES__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h" 3
#pragma pack(push, 2)
enum {
itlcShowIcon = 7,
itlcDualCaret = 6,
itlcSysDirection = 15
};
enum {
itlcDisableKeyScriptSync = 3
};
enum {
itlcDisableKeyScriptSyncMask = 1 << itlcDisableKeyScriptSync
};
enum {
tokLeftQuote = 1,
tokRightQuote = 2,
tokLeadPlacer = 3,
tokLeader = 4,
tokNonLeader = 5,
tokZeroLead = 6,
tokPercent = 7,
tokPlusSign = 8,
tokMinusSign = 9,
tokThousands = 10,
tokReserved = 11,
tokSeparator = 12,
tokEscape = 13,
tokDecPoint = 14,
tokEPlus = 15,
tokEMinus = 16,
tokMaxSymbols = 31,
curNumberPartsVersion = 1
};
enum {
currSymLead = 16,
currNegSym = 32,
currTrailingZ = 64,
currLeadingZ = 128
};
enum {
mdy = 0,
dmy = 1,
ymd = 2,
myd = 3,
dym = 4,
ydm = 5
};
typedef SInt8 DateOrders;
enum {
timeCycle24 = 0,
timeCycleZero = 1,
timeCycle12 = 255,
zeroCycle = 1,
longDay = 0,
longWeek = 1,
longMonth = 2,
longYear = 3,
supDay = 1,
supWeek = 2,
supMonth = 4,
supYear = 8,
dayLdingZ = 32,
mntLdingZ = 64,
century = 128,
secLeadingZ = 32,
minLeadingZ = 64,
hrLeadingZ = 128
};
struct OffPair {
short offFirst;
short offSecond;
};
typedef struct OffPair OffPair;
typedef OffPair OffsetTable[3];
struct Intl0Rec {
char decimalPt;
char thousSep;
char listSep;
char currSym1;
char currSym2;
char currSym3;
UInt8 currFmt;
UInt8 dateOrder;
UInt8 shrtDateFmt;
char dateSep;
UInt8 timeCycle;
UInt8 timeFmt;
char mornStr[4];
char eveStr[4];
char timeSep;
char time1Suff;
char time2Suff;
char time3Suff;
char time4Suff;
char time5Suff;
char time6Suff;
char time7Suff;
char time8Suff;
UInt8 metricSys;
short intl0Vers;
};
typedef struct Intl0Rec Intl0Rec;
typedef Intl0Rec * Intl0Ptr;
typedef Intl0Ptr * Intl0Hndl;
struct Intl1Rec {
Str15 days[7];
Str15 months[12];
UInt8 suppressDay;
UInt8 lngDateFmt;
UInt8 dayLeading0;
UInt8 abbrLen;
char st0[4];
char st1[4];
char st2[4];
char st3[4];
char st4[4];
short intl1Vers;
short localRtn[1];
};
typedef struct Intl1Rec Intl1Rec;
typedef Intl1Rec * Intl1Ptr;
typedef Intl1Ptr * Intl1Hndl;
struct Itl1ExtRec {
Intl1Rec base;
short version;
short format;
short calendarCode;
SInt32 extraDaysTableOffset;
SInt32 extraDaysTableLength;
SInt32 extraMonthsTableOffset;
SInt32 extraMonthsTableLength;
SInt32 abbrevDaysTableOffset;
SInt32 abbrevDaysTableLength;
SInt32 abbrevMonthsTableOffset;
SInt32 abbrevMonthsTableLength;
SInt32 extraSepsTableOffset;
SInt32 extraSepsTableLength;
short tables[1];
};
typedef struct Itl1ExtRec Itl1ExtRec;
struct UntokenTable {
short len;
short lastToken;
short index[256];
};
typedef struct UntokenTable UntokenTable;
typedef UntokenTable * UntokenTablePtr;
typedef UntokenTablePtr * UntokenTableHandle;
#define __WIDE_CHAR_USE_STRUCT__ 1
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h" 3
union WideChar {
struct {
char lo;
char hi;
} a;
short b;
};
typedef union WideChar WideChar;
# 227 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h" 3
struct WideCharArr {
short size;
WideChar data[10];
};
typedef struct WideCharArr WideCharArr;
struct NumberParts {
short version;
WideChar data[31];
WideCharArr pePlus;
WideCharArr peMinus;
WideCharArr peMinusPlus;
WideCharArr altNumTable;
char reserved[20];
};
typedef struct NumberParts NumberParts;
typedef NumberParts * NumberPartsPtr;
struct Itl4Rec {
short flags;
SInt32 resourceType;
short resourceNum;
short version;
SInt32 resHeader1;
SInt32 resHeader2;
short numTables;
SInt32 mapOffset;
SInt32 strOffset;
SInt32 fetchOffset;
SInt32 unTokenOffset;
SInt32 defPartsOffset;
SInt32 resOffset6;
SInt32 resOffset7;
SInt32 resOffset8;
};
typedef struct Itl4Rec Itl4Rec;
typedef Itl4Rec * Itl4Ptr;
typedef Itl4Ptr * Itl4Handle;
struct NItl4Rec {
short flags;
SInt32 resourceType;
short resourceNum;
short version;
short format;
short resHeader;
SInt32 resHeader2;
short numTables;
SInt32 mapOffset;
SInt32 strOffset;
SInt32 fetchOffset;
SInt32 unTokenOffset;
SInt32 defPartsOffset;
SInt32 whtSpListOffset;
SInt32 resOffset7;
SInt32 resOffset8;
short resLength1;
short resLength2;
short resLength3;
short unTokenLength;
short defPartsLength;
short whtSpListLength;
short resLength7;
short resLength8;
};
typedef struct NItl4Rec NItl4Rec;
typedef NItl4Rec * NItl4Ptr;
typedef NItl4Ptr * NItl4Handle;
struct TableDirectoryRecord {
OSType tableSignature;
UInt32 reserved;
UInt32 tableStartOffset;
UInt32 tableSize;
};
typedef struct TableDirectoryRecord TableDirectoryRecord;
struct Itl5Record {
Fixed versionNumber;
unsigned short numberOfTables;
unsigned short reserved[3];
TableDirectoryRecord tableDirectory[1];
};
typedef struct Itl5Record Itl5Record;
struct RuleBasedTrslRecord {
short sourceType;
short targetType;
short formatNumber;
short propertyFlag;
short numberOfRules;
};
typedef struct RuleBasedTrslRecord RuleBasedTrslRecord;
struct ItlcRecord {
short itlcSystem;
short itlcReserved;
SInt8 itlcFontForce;
SInt8 itlcIntlForce;
SInt8 itlcOldKybd;
SInt8 itlcFlags;
short itlcIconOffset;
SInt8 itlcIconSide;
SInt8 itlcIconRsvd;
short itlcRegionCode;
short itlcSysFlags;
SInt8 itlcReserved4[32];
};
typedef struct ItlcRecord ItlcRecord;
struct ItlbRecord {
short itlbNumber;
short itlbDate;
short itlbSort;
short itlbFlags;
short itlbToken;
short itlbEncoding;
short itlbLang;
SInt8 itlbNumRep;
SInt8 itlbDateRep;
short itlbKeys;
short itlbIcon;
};
typedef struct ItlbRecord ItlbRecord;
struct ItlbExtRecord {
ItlbRecord base;
SInt32 itlbLocalSize;
short itlbMonoFond;
short itlbMonoSize;
short itlbPrefFond;
short itlbPrefSize;
short itlbSmallFond;
short itlbSmallSize;
short itlbSysFond;
short itlbSysSize;
short itlbAppFond;
short itlbAppSize;
short itlbHelpFond;
short itlbHelpSize;
Style itlbValidStyles;
Style itlbAliasStyle;
};
typedef struct ItlbExtRecord ItlbExtRecord;
#pragma pack(pop)
# 25 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 2 3
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
#pragma pack(push, 2)
enum {
smSystemScript = -1,
smCurrentScript = -2,
smAllScripts = -3
};
# 60 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
enum {
smRoman = 0,
smJapanese = 1,
smTradChinese = 2,
smKorean = 3,
smArabic = 4,
smHebrew = 5,
smGreek = 6,
smCyrillic = 7,
smRSymbol = 8,
smDevanagari = 9,
smGurmukhi = 10,
smGujarati = 11,
smOriya = 12,
smBengali = 13,
smTamil = 14,
smTelugu = 15,
smKannada = 16,
smMalayalam = 17,
smSinhalese = 18,
smBurmese = 19,
smKhmer = 20,
smThai = 21,
smLao = 22,
smGeorgian = 23,
smArmenian = 24,
smSimpChinese = 25,
smTibetan = 26,
smMongolian = 27,
smEthiopic = 28,
smGeez = 28,
smCentralEuroRoman = 29,
smVietnamese = 30,
smExtArabic = 31,
smUninterp = 32
};
enum {
smUnicodeScript = 0x7E
};
enum {
smChinese = 2,
smRussian = 7,
smLaotian = 22,
smAmharic = 28,
smSlavic = 29,
smEastEurRoman = 29,
smSindhi = 31,
smKlingon = 32
};
enum {
langEnglish = 0,
langFrench = 1,
langGerman = 2,
langItalian = 3,
langDutch = 4,
langSwedish = 5,
langSpanish = 6,
langDanish = 7,
langPortuguese = 8,
langNorwegian = 9,
langHebrew = 10,
langJapanese = 11,
langArabic = 12,
langFinnish = 13,
langGreek = 14,
langIcelandic = 15,
langMaltese = 16,
langTurkish = 17,
langCroatian = 18,
langTradChinese = 19,
langUrdu = 20,
langHindi = 21,
langThai = 22,
langKorean = 23
};
enum {
langLithuanian = 24,
langPolish = 25,
langHungarian = 26,
langEstonian = 27,
langLatvian = 28,
langSami = 29,
langFaroese = 30,
langFarsi = 31,
langPersian = 31,
langRussian = 32,
langSimpChinese = 33,
langFlemish = 34,
langIrishGaelic = 35,
langAlbanian = 36,
langRomanian = 37,
langCzech = 38,
langSlovak = 39,
langSlovenian = 40,
langYiddish = 41,
langSerbian = 42,
langMacedonian = 43,
langBulgarian = 44,
langUkrainian = 45,
langByelorussian = 46,
langBelorussian = 46
};
enum {
langUzbek = 47,
langKazakh = 48,
langAzerbaijani = 49,
langAzerbaijanAr = 50,
langArmenian = 51,
langGeorgian = 52,
langMoldavian = 53,
langKirghiz = 54,
langTajiki = 55,
langTurkmen = 56,
langMongolian = 57,
langMongolianCyr = 58,
langPashto = 59,
langKurdish = 60,
langKashmiri = 61,
langSindhi = 62,
langTibetan = 63,
langNepali = 64,
langSanskrit = 65,
langMarathi = 66,
langBengali = 67,
langAssamese = 68,
langGujarati = 69,
langPunjabi = 70
};
enum {
langOriya = 71,
langMalayalam = 72,
langKannada = 73,
langTamil = 74,
langTelugu = 75,
langSinhalese = 76,
langBurmese = 77,
langKhmer = 78,
langLao = 79,
langVietnamese = 80,
langIndonesian = 81,
langTagalog = 82,
langMalayRoman = 83,
langMalayArabic = 84,
langAmharic = 85,
langTigrinya = 86,
langOromo = 87,
langSomali = 88,
langSwahili = 89,
langKinyarwanda = 90,
langRuanda = 90,
langRundi = 91,
langNyanja = 92,
langChewa = 92,
langMalagasy = 93,
langEsperanto = 94
};
enum {
langWelsh = 128,
langBasque = 129,
langCatalan = 130,
langLatin = 131,
langQuechua = 132,
langGuarani = 133,
langAymara = 134,
langTatar = 135,
langUighur = 136,
langDzongkha = 137,
langJavaneseRom = 138,
langSundaneseRom = 139,
langGalician = 140,
langAfrikaans = 141
};
enum {
langBreton = 142,
langInuktitut = 143,
langScottishGaelic = 144,
langManxGaelic = 145,
langIrishGaelicScript = 146,
langTongan = 147,
langGreekAncient = 148,
langGreenlandic = 149,
langAzerbaijanRoman = 150,
langNynorsk = 151
};
enum {
langUnspecified = 32767
};
enum {
langPortugese = 8,
langMalta = 16,
langYugoslavian = 18,
langChinese = 19,
langLettish = 28,
langLapponian = 29,
langLappish = 29,
langSaamisk = 29,
langFaeroese = 30,
langIrish = 35,
langGalla = 87,
langAfricaans = 141,
langGreekPoly = 148
};
# 297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
enum {
verUS = 0,
verFrance = 1,
verBritain = 2,
verGermany = 3,
verItaly = 4,
verNetherlands = 5,
verFlemish = 6,
verSweden = 7,
verSpain = 8,
verDenmark = 9,
verPortugal = 10,
verFrCanada = 11,
verNorway = 12,
verIsrael = 13,
verJapan = 14,
verAustralia = 15,
verArabic = 16,
verFinland = 17,
verFrSwiss = 18,
verGrSwiss = 19,
verGreece = 20,
verIceland = 21,
verMalta = 22,
verCyprus = 23,
verTurkey = 24,
verYugoCroatian = 25
};
enum {
verNetherlandsComma = 26,
verFlemishPoint = 27,
verCanadaComma = 28,
verCanadaPoint = 29,
vervariantPortugal = 30,
vervariantNorway = 31,
vervariantDenmark = 32
};
enum {
verIndiaHindi = 33,
verPakistanUrdu = 34,
verTurkishModified = 35,
verItalianSwiss = 36,
verInternational = 37,
verRomania = 39,
verGreekAncient = 40,
verLithuania = 41,
verPoland = 42,
verHungary = 43,
verEstonia = 44,
verLatvia = 45,
verSami = 46,
verFaroeIsl = 47,
verIran = 48,
verRussia = 49,
verIreland = 50,
verKorea = 51,
verChina = 52,
verTaiwan = 53,
verThailand = 54,
verScriptGeneric = 55,
verCzech = 56,
verSlovak = 57,
verEastAsiaGeneric = 58,
verMagyar = 59,
verBengali = 60,
verBelarus = 61
};
enum {
verUkraine = 62,
verGreeceAlt = 64,
verSerbian = 65,
verSlovenian = 66,
verMacedonian = 67,
verCroatia = 68,
verGermanReformed = 70,
verBrazil = 71,
verBulgaria = 72,
verCatalonia = 73,
verMultilingual = 74,
verScottishGaelic = 75,
verManxGaelic = 76,
verBreton = 77,
verNunavut = 78,
verWelsh = 79,
verIrishGaelicScript = 81,
verEngCanada = 82,
verBhutan = 83,
verArmenian = 84,
verGeorgian = 85,
verSpLatinAmerica = 86,
verTonga = 88,
verFrenchUniversal = 91,
verAustria = 92,
verGujarati = 94,
verPunjabi = 95,
verIndiaUrdu = 96,
verVietnam = 97
};
enum {
verFrBelgium = 98,
verUzbek = 99,
verSingapore = 100,
verNynorsk = 101,
verAfrikaans = 102,
verEsperanto = 103,
verMarathi = 104,
verTibetan = 105,
verNepal = 106,
verGreenland = 107,
verIrelandEnglish = 108
};
# 435 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
enum {
verFrBelgiumLux = 6,
verBelgiumLux = 6,
verArabia = 16,
verYugoslavia = 25,
verBelgiumLuxPoint = 27,
verIndia = 33,
verPakistan = 34,
verRumania = 39,
verGreecePoly = 40,
verLapland = 46,
verFaeroeIsl = 47,
verGenericFE = 58,
verFarEastGeneric = 58,
verByeloRussian = 61,
verUkrania = 62,
verAlternateGr = 64,
verSerbia = 65,
verSlovenia = 66,
verMacedonia = 67,
verBrittany = 77,
verWales = 79,
verArmenia = 84,
verGeorgia = 85,
verAustriaGerman = 92,
verTibet = 105
};
enum {
minCountry = verUS,
maxCountry = verIrelandEnglish
};
enum {
calGregorian = 0,
calArabicCivil = 1,
calArabicLunar = 2,
calJapanese = 3,
calJewish = 4,
calCoptic = 5,
calPersian = 6
};
enum {
intWestern = 0,
intArabic = 1,
intRoman = 2,
intJapanese = 3,
intEuropean = 4,
intOutputMask = 0x8000
};
enum {
smSingleByte = 0,
smFirstByte = -1,
smLastByte = 1,
smMiddleByte = 2
};
enum {
smcTypeMask = 0x000F,
smcReserved = 0x00F0,
smcClassMask = 0x0F00,
smcOrientationMask = 0x1000,
smcRightMask = 0x2000,
smcUpperMask = 0x4000,
smcDoubleMask = 0x8000
};
enum {
smCharPunct = 0x0000,
smCharAscii = 0x0001,
smCharEuro = 0x0007,
smCharExtAscii = 0x0007,
smCharKatakana = 0x0002,
smCharHiragana = 0x0003,
smCharIdeographic = 0x0004,
smCharTwoByteGreek = 0x0005,
smCharTwoByteRussian = 0x0006,
smCharBidirect = 0x0008,
smCharContextualLR = 0x0009,
smCharNonContextualLR = 0x000A,
smCharHangul = 0x000C,
smCharJamo = 0x000D,
smCharBopomofo = 0x000E,
smCharGanaKana = 0x000F,
smCharFISKana = 0x0002,
smCharFISGana = 0x0003,
smCharFISIdeo = 0x0004
};
enum {
smCharFISGreek = 0x0005,
smCharFISRussian = 0x0006,
smPunctNormal = 0x0000,
smPunctNumber = 0x0100,
smPunctSymbol = 0x0200,
smPunctBlank = 0x0300,
smPunctRepeat = 0x0400,
smPunctGraphic = 0x0500,
smKanaSmall = 0x0100,
smKanaHardOK = 0x0200,
smKanaSoftOK = 0x0300,
smIdeographicLevel1 = 0x0000,
smIdeographicLevel2 = 0x0100,
smIdeographicUser = 0x0200,
smFISClassLvl1 = 0x0000,
smFISClassLvl2 = 0x0100,
smFISClassUser = 0x0200,
smJamoJaeum = 0x0000,
smJamoBogJaeum = 0x0100,
smJamoMoeum = 0x0200,
smJamoBogMoeum = 0x0300
};
enum {
smCharHorizontal = 0x0000,
smCharVertical = 0x1000,
smCharLeft = 0x0000,
smCharRight = 0x2000,
smCharLower = 0x0000,
smCharUpper = 0x4000,
smChar1byte = 0x0000,
smChar2byte = 0x8000
};
enum {
smTransAscii = 0,
smTransNative = 1,
smTransCase = 0xFE,
smTransSystem = 0xFF,
smTransAscii1 = 2,
smTransAscii2 = 3,
smTransKana1 = 4,
smTransKana2 = 5
};
enum {
smTransGana2 = 7,
smTransHangul2 = 8,
smTransJamo2 = 9,
smTransBopomofo2 = 10,
smTransLower = 0x4000,
smTransUpper = 0x8000,
smTransRuleBaseFormat = 1,
smTransHangulFormat = 2,
smTransPreDoubleByting = 1,
smTransPreLowerCasing = 2
};
enum {
smMaskAll = (long)0xFFFFFFFF,
smMaskAscii = 0x00000001,
smMaskNative = 0x00000002,
smMaskAscii1 = 0x00000004,
smMaskAscii2 = 0x00000008,
smMaskKana1 = 0x00000010,
smMaskKana2 = 0x00000020,
smMaskGana2 = 0x00000080,
smMaskHangul2 = 0x00000100,
smMaskJamo2 = 0x00000200,
smMaskBopomofo2 = 0x00000400
};
enum {
iuSystemScript = -1,
iuCurrentScript = -2
};
enum {
smKeyNextScript = -1,
smKeySysScript = -2,
smKeySwapScript = -3,
smKeyNextKybd = -4,
smKeySwapKybd = -5,
smKeyDisableKybds = -6,
smKeyEnableKybds = -7,
smKeyToggleInline = -8,
smKeyToggleDirection = -9,
smKeyNextInputMethod = -10,
smKeySwapInputMethod = -11,
smKeyDisableKybdSwitch = -12,
smKeySetDirLeftRight = -15,
smKeySetDirRightLeft = -16,
smKeyRoman = -17
};
enum {
smKeyForceKeyScriptBit = 7,
smKeyForceKeyScriptMask = 1 << smKeyForceKeyScriptBit
};
enum {
romanSysFond = 0x3FFF,
romanAppFond = 3,
romanFlags = 0x0007,
smFondStart = 0x4000,
smFondEnd = 0xC000,
smUprHalfCharSet = 0x80
};
enum {
diaeresisUprY = 0xD9,
fraction = 0xDA,
intlCurrency = 0xDB,
leftSingGuillemet = 0xDC,
rightSingGuillemet = 0xDD,
fiLigature = 0xDE,
flLigature = 0xDF,
dblDagger = 0xE0,
centeredDot = 0xE1,
baseSingQuote = 0xE2,
baseDblQuote = 0xE3,
perThousand = 0xE4,
circumflexUprA = 0xE5,
circumflexUprE = 0xE6,
acuteUprA = 0xE7,
diaeresisUprE = 0xE8,
graveUprE = 0xE9,
acuteUprI = 0xEA,
circumflexUprI = 0xEB,
diaeresisUprI = 0xEC,
graveUprI = 0xED,
acuteUprO = 0xEE,
circumflexUprO = 0xEF,
appleLogo = 0xF0,
graveUprO = 0xF1,
acuteUprU = 0xF2,
circumflexUprU = 0xF3,
graveUprU = 0xF4,
dotlessLwrI = 0xF5,
circumflex = 0xF6,
tilde = 0xF7,
macron = 0xF8,
breveMark = 0xF9,
overDot = 0xFA,
ringMark = 0xFB,
cedilla = 0xFC,
doubleAcute = 0xFD,
ogonek = 0xFE,
hachek = 0xFF
};
enum {
tokenIntl = 4,
tokenEmpty = -1
};
enum {
tokenUnknown = 0,
tokenWhite = 1,
tokenLeftLit = 2,
tokenRightLit = 3,
tokenAlpha = 4,
tokenNumeric = 5,
tokenNewLine = 6,
tokenLeftComment = 7,
tokenRightComment = 8,
tokenLiteral = 9,
tokenEscape = 10,
tokenAltNum = 11,
tokenRealNum = 12,
tokenAltReal = 13,
tokenReserve1 = 14,
tokenReserve2 = 15,
tokenLeftParen = 16,
tokenRightParen = 17,
tokenLeftBracket = 18,
tokenRightBracket = 19
};
enum {
tokenLeftCurly = 20,
tokenRightCurly = 21,
tokenLeftEnclose = 22,
tokenRightEnclose = 23,
tokenPlus = 24,
tokenMinus = 25,
tokenAsterisk = 26,
tokenDivide = 27,
tokenPlusMinus = 28,
tokenSlash = 29,
tokenBackSlash = 30,
tokenLess = 31,
tokenGreat = 32,
tokenEqual = 33,
tokenLessEqual2 = 34,
tokenLessEqual1 = 35,
tokenGreatEqual2 = 36,
tokenGreatEqual1 = 37,
token2Equal = 38,
tokenColonEqual = 39
};
enum {
tokenNotEqual = 40,
tokenLessGreat = 41,
tokenExclamEqual = 42,
tokenExclam = 43,
tokenTilde = 44,
tokenComma = 45,
tokenPeriod = 46,
tokenLeft2Quote = 47,
tokenRight2Quote = 48,
tokenLeft1Quote = 49,
tokenRight1Quote = 50,
token2Quote = 51,
token1Quote = 52,
tokenSemicolon = 53,
tokenPercent = 54,
tokenCaret = 55,
tokenUnderline = 56,
tokenAmpersand = 57,
tokenAtSign = 58,
tokenBar = 59
};
enum {
tokenQuestion = 60,
tokenPi = 61,
tokenRoot = 62,
tokenSigma = 63,
tokenIntegral = 64,
tokenMicro = 65,
tokenCapPi = 66,
tokenInfinity = 67,
tokenColon = 68,
tokenHash = 69,
tokenDollar = 70,
tokenNoBreakSpace = 71,
tokenFraction = 72,
tokenIntlCurrency = 73,
tokenLeftSingGuillemet = 74,
tokenRightSingGuillemet = 75,
tokenPerThousand = 76,
tokenEllipsis = 77,
tokenCenterDot = 78,
tokenNil = 127
};
enum {
delimPad = -2,
tokenTilda = 44,
tokenCarat = 55
};
enum {
smWordSelectTable = 0,
smWordWrapTable = 1,
smNumberPartsTable = 2,
smUnTokenTable = 3,
smWhiteSpaceList = 4,
iuWordSelectTable = 0,
iuWordWrapTable = 1,
iuNumberPartsTable = 2,
iuUnTokenTable = 3,
iuWhiteSpaceList = 4
};
enum {
tokenOK = 0,
tokenOverflow = 1,
stringOverflow = 2,
badDelim = 3,
badEnding = 4,
crash = 5
};
typedef SInt8 TokenResults;
typedef char CharByteTable[256];
typedef short ScriptTokenType;
typedef ScriptTokenType DelimType[2];
typedef ScriptTokenType CommentType[4];
struct TokenRec {
ScriptTokenType theToken;
Ptr position;
long length;
StringPtr stringPosition;
};
typedef struct TokenRec TokenRec;
typedef TokenRec * TokenRecPtr;
struct TokenBlock {
Ptr source;
long sourceLength;
Ptr tokenList;
long tokenLength;
long tokenCount;
Ptr stringList;
long stringLength;
long stringCount;
Boolean doString;
Boolean doAppend;
Boolean doAlphanumeric;
Boolean doNest;
ScriptTokenType leftDelims[2];
ScriptTokenType rightDelims[2];
ScriptTokenType leftComment[4];
ScriptTokenType rightComment[4];
ScriptTokenType escapeCode;
ScriptTokenType decimalCode;
Handle itlResource;
long reserved[8];
};
typedef struct TokenBlock TokenBlock;
typedef TokenBlock * TokenBlockPtr;
enum {
smNotInstalled = 0,
smBadVerb = -1,
smBadScript = -2
};
enum {
smfShowIcon = 31,
smfDualCaret = 30,
smfNameTagEnab = 29,
smfUseAssocFontInfo = 28,
smfDisableKeyScriptSync = 27
};
enum {
smfDisableKeyScriptSyncMask = 1L << smfDisableKeyScriptSync
};
enum {
smSysScript = 18,
smKeyScript = 22,
smKCHRCache = 38,
smRegionCode = 40
};
enum {
smVersion = 0,
smMunged = 2,
smEnabled = 4,
smBidirect = 6,
smFontForce = 8,
smIntlForce = 10,
smForced = 12,
smDefault = 14,
smPrint = 16,
smLastScript = 20,
smSysRef = 24,
smKeyCache = 26,
smKeySwap = 28,
smGenFlags = 30,
smOverride = 32,
smCharPortion = 34,
smDoubleByte = 36,
smKeyDisableState = 42
};
# 992 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern long
GetScriptManagerVariable(short selector) __attribute__((deprecated));
# 1014 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern OSErr
SetScriptManagerVariable(
short selector,
long param) __attribute__((deprecated));
enum {
smRedrawChar = 0,
smRedrawWord = 1,
smRedrawLine = -1
};
enum {
smsfIntellCP = 0,
smsfSingByte = 1,
smsfNatCase = 2,
smsfContext = 3,
smsfNoForceFont = 4,
smsfB0Digits = 5,
smsfAutoInit = 6,
smsfUnivExt = 7,
smsfSynchUnstyledTE = 8,
smsfForms = 13,
smsfLigatures = 14,
smsfReverse = 15
};
enum {
smScriptVersion = 0,
smScriptMunged = 2,
smScriptEnabled = 4,
smScriptRight = 6,
smScriptJust = 8,
smScriptRedraw = 10,
smScriptSysFond = 12,
smScriptAppFond = 14,
smScriptBundle = 16,
smScriptNumber = 16,
smScriptDate = 18,
smScriptSort = 20,
smScriptFlags = 22,
smScriptToken = 24,
smScriptEncoding = 26,
smScriptLang = 28,
smScriptNumDate = 30,
smScriptKeys = 32,
smScriptIcon = 34,
smScriptPrint = 36,
smScriptTrap = 38,
smScriptCreator = 40,
smScriptFile = 42,
smScriptName = 44,
smScriptMonoFondSize = 78,
smScriptPrefFondSize = 80,
smScriptSmallFondSize = 82,
smScriptSysFondSize = 84,
smScriptAppFondSize = 86,
smScriptHelpFondSize = 88,
smScriptValidStyles = 90,
smScriptAliasStyle = 92
};
enum {
smLayoutCache = -309,
smOldVerbSupport = -311,
smSetKashidas = -291,
smSetKashProp = -287,
smScriptSysBase = -281,
smScriptAppBase = -283,
smScriptFntBase = -285,
smScriptLigatures = -263,
smScriptNumbers = -267
};
# 1171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern long
GetScriptVariable(
short script,
short selector) __attribute__((deprecated));
# 1203 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern OSErr
SetScriptVariable(
short script,
short selector,
long param) __attribute__((deprecated));
# 1229 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern short
GetSysDirection(void) __attribute__((deprecated));
# 1247 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern void
SetSysDirection(short value) __attribute__((deprecated));
# 1272 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern short
FontScript(void) __attribute__((deprecated));
# 1297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern short
IntlScript(void) __attribute__((deprecated));
# 1321 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern short
FontToScript(short fontNumber) __attribute__((deprecated));
# 1342 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern short
CharacterByteType(
Ptr textBuf,
short textOffset,
ScriptCode script) __attribute__((deprecated));
# 1366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern short
CharacterType(
Ptr textBuf,
short textOffset,
ScriptCode script) __attribute__((deprecated));
# 1388 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern OSErr
TransliterateText(
Handle srcHandle,
Handle dstHandle,
short target,
long srcMask,
ScriptCode script) __attribute__((deprecated));
# 1414 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern Boolean
FillParseTable(
CharByteTable table,
ScriptCode script) __attribute__((deprecated));
# 1457 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern Handle
GetIntlResource(short theID) __attribute__((deprecated));
# 1475 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern void
ClearIntlResourceCache(void) __attribute__((deprecated));
# 1493 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern void
GetIntlResourceTable(
ScriptCode script,
short tableCode,
Handle * itlHandle,
long * offset,
long * length) __attribute__((deprecated));
# 1610 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern TokenResults
IntlTokenize(TokenBlockPtr tokenParam) __attribute__((deprecated));
# 1633 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
#pragma pack(pop)
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
#define __UTCUTILS__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
#define __MACERRORS__
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
paramErr = -50,
noHardwareErr = -200,
notEnoughHardwareErr = -201,
userCanceledErr = -128,
qErr = -1,
vTypErr = -2,
corErr = -3,
unimpErr = -4,
SlpTypeErr = -5,
seNoDB = -8,
controlErr = -17,
statusErr = -18,
readErr = -19,
writErr = -20,
badUnitErr = -21,
unitEmptyErr = -22,
openErr = -23,
closErr = -24,
dRemovErr = -25,
dInstErr = -26
};
enum {
abortErr = -27,
iIOAbortErr = -27,
notOpenErr = -28,
unitTblFullErr = -29,
dceExtErr = -30,
slotNumErr = -360,
gcrOnMFMErr = -400,
dirFulErr = -33,
dskFulErr = -34,
nsvErr = -35,
ioErr = -36,
bdNamErr = -37,
fnOpnErr = -38,
eofErr = -39,
posErr = -40,
mFulErr = -41,
tmfoErr = -42,
fnfErr = -43,
wPrErr = -44,
fLckdErr = -45
};
enum {
vLckdErr = -46,
fBsyErr = -47,
dupFNErr = -48,
opWrErr = -49,
rfNumErr = -51,
gfpErr = -52,
volOffLinErr = -53,
permErr = -54,
volOnLinErr = -55,
nsDrvErr = -56,
noMacDskErr = -57,
extFSErr = -58,
fsRnErr = -59,
badMDBErr = -60,
wrPermErr = -61,
dirNFErr = -120,
tmwdoErr = -121,
badMovErr = -122,
wrgVolTypErr = -123,
volGoneErr = -124
};
enum {
fidNotFound = -1300,
fidExists = -1301,
notAFileErr = -1302,
diffVolErr = -1303,
catChangedErr = -1304,
desktopDamagedErr = -1305,
sameFileErr = -1306,
badFidErr = -1307,
notARemountErr = -1308,
fileBoundsErr = -1309,
fsDataTooBigErr = -1310,
volVMBusyErr = -1311,
badFCBErr = -1327,
errFSUnknownCall = -1400,
errFSBadFSRef = -1401,
errFSBadForkName = -1402,
errFSBadBuffer = -1403,
errFSBadForkRef = -1404,
errFSBadInfoBitmap = -1405,
errFSMissingCatInfo = -1406,
errFSNotAFolder = -1407,
errFSForkNotFound = -1409,
errFSNameTooLong = -1410,
errFSMissingName = -1411,
errFSBadPosMode = -1412,
errFSBadAllocFlags = -1413,
errFSNoMoreItems = -1417,
errFSBadItemCount = -1418,
errFSBadSearchParams = -1419,
errFSRefsDifferent = -1420,
errFSForkExists = -1421,
errFSBadIteratorFlags = -1422,
errFSIteratorNotFound = -1423,
errFSIteratorNotSupported = -1424,
errFSQuotaExceeded = -1425,
errFSOperationNotSupported = -1426,
errFSAttributeNotFound = -1427,
errFSPropertyNotValid = -1428,
errFSNotEnoughSpaceForOperation = -1429,
envNotPresent = -5500,
envBadVers = -5501,
envVersTooBig = -5502,
fontDecError = -64,
fontNotDeclared = -65,
fontSubErr = -66,
fontNotOutlineErr = -32615,
firstDskErr = -84,
lastDskErr = -64,
noDriveErr = -64,
offLinErr = -65,
noNybErr = -66
};
enum {
noAdrMkErr = -67,
dataVerErr = -68,
badCksmErr = -69,
badBtSlpErr = -70,
noDtaMkErr = -71,
badDCksum = -72,
badDBtSlp = -73,
wrUnderrun = -74,
cantStepErr = -75,
tk0BadErr = -76,
initIWMErr = -77,
twoSideErr = -78,
spdAdjErr = -79,
seekErr = -80,
sectNFErr = -81,
fmt1Err = -82,
fmt2Err = -83,
verErr = -84,
clkRdErr = -85,
clkWrErr = -86,
prWrErr = -87,
prInitErr = -88,
rcvrErr = -89,
breakRecd = -90
};
enum {
noScrapErr = -100,
noTypeErr = -102
};
enum {
eLenErr = -92,
eMultiErr = -91
};
enum {
ddpSktErr = -91,
ddpLenErr = -92,
noBridgeErr = -93,
lapProtErr = -94,
excessCollsns = -95,
portNotPwr = -96,
portInUse = -97,
portNotCf = -98
};
enum {
memROZWarn = -99,
memROZError = -99,
memROZErr = -99,
memFullErr = -108,
nilHandleErr = -109,
memWZErr = -111,
memPurErr = -112,
memAdrErr = -110,
memAZErr = -113,
memPCErr = -114,
memBCErr = -115,
memSCErr = -116,
memLockedErr = -117
};
enum {
iMemFullErr = -108,
iIOAbort = -27
};
enum {
resourceInMemory = -188,
writingPastEnd = -189,
inputOutOfBounds = -190,
resNotFound = -192,
resFNotFound = -193,
addResFailed = -194,
addRefFailed = -195,
rmvResFailed = -196,
rmvRefFailed = -197,
resAttrErr = -198,
mapReadErr = -199,
CantDecompress = -186,
badExtResource = -185,
noMemForPictPlaybackErr = -145,
rgnOverflowErr = -147,
rgnTooBigError = -147,
pixMapTooDeepErr = -148,
insufficientStackErr = -149,
nsStackErr = -149
};
enum {
evtNotEnb = 1
};
enum {
cMatchErr = -150,
cTempMemErr = -151,
cNoMemErr = -152,
cRangeErr = -153,
cProtectErr = -154,
cDevErr = -155,
cResErr = -156,
cDepthErr = -157,
rgnTooBigErr = -500,
updPixMemErr = -125,
pictInfoVersionErr = -11000,
pictInfoIDErr = -11001,
pictInfoVerbErr = -11002,
cantLoadPickMethodErr = -11003,
colorsRequestedErr = -11004,
pictureDataErr = -11005
};
enum {
cmProfileError = -170,
cmMethodError = -171,
cmMethodNotFound = -175,
cmProfileNotFound = -176,
cmProfilesIdentical = -177,
cmCantConcatenateError = -178,
cmCantXYZ = -179,
cmCantDeleteProfile = -180,
cmUnsupportedDataType = -181,
cmNoCurrentProfile = -182
};
enum {
noHardware = noHardwareErr,
notEnoughHardware = notEnoughHardwareErr,
queueFull = -203,
resProblem = -204,
badChannel = -205,
badFormat = -206,
notEnoughBufferSpace = -207,
badFileFormat = -208,
channelBusy = -209,
buffersTooSmall = -210,
channelNotBusy = -211,
noMoreRealTime = -212,
siVBRCompressionNotSupported = -213,
siNoSoundInHardware = -220,
siBadSoundInDevice = -221,
siNoBufferSpecified = -222,
siInvalidCompression = -223,
siHardDriveTooSlow = -224,
siInvalidSampleRate = -225,
siInvalidSampleSize = -226,
siDeviceBusyErr = -227,
siBadDeviceName = -228,
siBadRefNum = -229,
siInputDeviceErr = -230,
siUnknownInfoType = -231,
siUnknownQuality = -232
};
enum {
noSynthFound = -240,
synthOpenFailed = -241,
synthNotReady = -242,
bufTooSmall = -243,
voiceNotFound = -244,
incompatibleVoice = -245,
badDictFormat = -246,
badInputText = -247
};
enum {
midiNoClientErr = -250,
midiNoPortErr = -251,
midiTooManyPortsErr = -252,
midiTooManyConsErr = -253,
midiVConnectErr = -254,
midiVConnectMade = -255,
midiVConnectRmvd = -256,
midiNoConErr = -257,
midiWriteErr = -258,
midiNameLenErr = -259,
midiDupIDErr = -260,
midiInvalidCmdErr = -261
};
enum {
nmTypErr = -299
};
enum {
siInitSDTblErr = 1,
siInitVBLQsErr = 2,
siInitSPTblErr = 3,
sdmJTInitErr = 10,
sdmInitErr = 11,
sdmSRTInitErr = 12,
sdmPRAMInitErr = 13,
sdmPriInitErr = 14
};
enum {
smSDMInitErr = -290,
smSRTInitErr = -291,
smPRAMInitErr = -292,
smPriInitErr = -293,
smEmptySlot = -300,
smCRCFail = -301,
smFormatErr = -302,
smRevisionErr = -303,
smNoDir = -304,
smDisabledSlot = -305,
smNosInfoArray = -306
};
enum {
smResrvErr = -307,
smUnExBusErr = -308,
smBLFieldBad = -309,
smFHBlockRdErr = -310,
smFHBlkDispErr = -311,
smDisposePErr = -312,
smNoBoardSRsrc = -313,
smGetPRErr = -314,
smNoBoardId = -315,
smInitStatVErr = -316,
smInitTblVErr = -317,
smNoJmpTbl = -318,
smReservedSlot = -318,
smBadBoardId = -319,
smBusErrTO = -320,
svTempDisable = -32768L,
svDisabled = -32640,
smBadRefId = -330,
smBadsList = -331,
smReservedErr = -332,
smCodeRevErr = -333
};
enum {
smCPUErr = -334,
smsPointerNil = -335,
smNilsBlockErr = -336,
smSlotOOBErr = -337,
smSelOOBErr = -338,
smNewPErr = -339,
smBlkMoveErr = -340,
smCkStatusErr = -341,
smGetDrvrNamErr = -342,
smDisDrvrNamErr = -343,
smNoMoresRsrcs = -344,
smsGetDrvrErr = -345,
smBadsPtrErr = -346,
smByteLanesErr = -347,
smOffsetErr = -348,
smNoGoodOpens = -349,
smSRTOvrFlErr = -350,
smRecNotFnd = -351
};
enum {
notBTree = -410,
btNoSpace = -413,
btDupRecErr = -414,
btRecNotFnd = -415,
btKeyLenErr = -416,
btKeyAttrErr = -417,
unknownInsertModeErr = -20000,
recordDataTooBigErr = -20001,
invalidIndexErr = -20002
};
enum {
fsmFFSNotFoundErr = -431,
fsmBusyFFSErr = -432,
fsmBadFFSNameErr = -433,
fsmBadFSDLenErr = -434,
fsmDuplicateFSIDErr = -435,
fsmBadFSDVersionErr = -436,
fsmNoAlternateStackErr = -437,
fsmUnknownFSMMessageErr = -438
};
enum {
editionMgrInitErr = -450,
badSectionErr = -451,
notRegisteredSectionErr = -452,
badEditionFileErr = -453,
badSubPartErr = -454,
multiplePublisherWrn = -460,
containerNotFoundWrn = -461,
containerAlreadyOpenWrn = -462,
notThePublisherWrn = -463
};
enum {
teScrapSizeErr = -501,
hwParamErr = -502,
driverHardwareGoneErr = -503
};
enum {
procNotFound = -600,
memFragErr = -601,
appModeErr = -602,
protocolErr = -603,
hardwareConfigErr = -604,
appMemFullErr = -605,
appIsDaemon = -606,
bufferIsSmall = -607,
noOutstandingHLE = -608,
connectionInvalid = -609,
noUserInteractionAllowed = -610
};
enum {
wrongApplicationPlatform = -875,
appVersionTooOld = -876,
notAppropriateForClassic = -877
};
enum {
threadTooManyReqsErr = -617,
threadNotFoundErr = -618,
threadProtocolErr = -619
};
enum {
threadBadAppContextErr = -616
};
enum {
notEnoughMemoryErr = -620,
notHeldErr = -621,
cannotMakeContiguousErr = -622,
notLockedErr = -623,
interruptsMaskedErr = -624,
cannotDeferErr = -625,
noMMUErr = -626
};
enum {
vmMorePhysicalThanVirtualErr = -628,
vmKernelMMUInitErr = -629,
vmOffErr = -630,
vmMemLckdErr = -631,
vmBadDriver = -632,
vmNoVectorErr = -633
};
enum {
vmInvalidBackingFileIDErr = -640,
vmMappingPrivilegesErr = -641,
vmBusyBackingFileErr = -642,
vmNoMoreBackingFilesErr = -643,
vmInvalidFileViewIDErr = -644,
vmFileViewAccessErr = -645,
vmNoMoreFileViewsErr = -646,
vmAddressNotInFileViewErr = -647,
vmInvalidOwningProcessErr = -648
};
enum {
rcDBNull = -800,
rcDBValue = -801,
rcDBError = -802,
rcDBBadType = -803,
rcDBBreak = -804,
rcDBExec = -805,
rcDBBadSessID = -806,
rcDBBadSessNum = -807,
rcDBBadDDEV = -808,
rcDBAsyncNotSupp = -809,
rcDBBadAsyncPB = -810,
rcDBNoHandler = -811,
rcDBWrongVersion = -812,
rcDBPackNotInited = -813
};
enum {
hmHelpDisabled = -850,
hmBalloonAborted = -853,
hmSameAsLastBalloon = -854,
hmHelpManagerNotInited = -855,
hmSkippedBalloon = -857,
hmWrongVersion = -858,
hmUnknownHelpType = -859,
hmOperationUnsupported = -861,
hmNoBalloonUp = -862,
hmCloseViewActive = -863
};
enum {
notInitErr = -900,
nameTypeErr = -902,
noPortErr = -903,
noGlobalsErr = -904,
localOnlyErr = -905,
destPortErr = -906,
sessTableErr = -907,
noSessionErr = -908,
badReqErr = -909,
portNameExistsErr = -910,
noUserNameErr = -911,
userRejectErr = -912,
noMachineNameErr = -913,
noToolboxNameErr = -914,
noResponseErr = -915,
portClosedErr = -916,
sessClosedErr = -917,
badPortNameErr = -919,
noDefaultUserErr = -922,
notLoggedInErr = -923,
noUserRefErr = -924,
networkErr = -925,
noInformErr = -926,
authFailErr = -927,
noUserRecErr = -928,
badServiceMethodErr = -930,
badLocNameErr = -931,
guestNotAllowedErr = -932
};
enum {
kFMIterationCompleted = -980L,
kFMInvalidFontFamilyErr = -981L,
kFMInvalidFontErr = -982L,
kFMIterationScopeModifiedErr = -983L,
kFMFontTableAccessErr = -984L,
kFMFontContainerAccessErr = -985L
};
enum {
noMaskFoundErr = -1000
};
enum {
nbpBuffOvr = -1024,
nbpNoConfirm = -1025,
nbpConfDiff = -1026,
nbpDuplicate = -1027,
nbpNotFound = -1028,
nbpNISErr = -1029
};
enum {
aspBadVersNum = -1066,
aspBufTooSmall = -1067,
aspNoMoreSess = -1068,
aspNoServers = -1069,
aspParamErr = -1070,
aspServerBusy = -1071,
aspSessClosed = -1072,
aspSizeErr = -1073,
aspTooMany = -1074,
aspNoAck = -1075
};
enum {
reqFailed = -1096,
tooManyReqs = -1097,
tooManySkts = -1098,
badATPSkt = -1099,
badBuffNum = -1100,
noRelErr = -1101,
cbNotFound = -1102,
noSendResp = -1103,
noDataArea = -1104,
reqAborted = -1105
};
enum {
errRefNum = -1280,
errAborted = -1279,
errState = -1278,
errOpening = -1277,
errAttention = -1276,
errFwdReset = -1275,
errDSPQueueSize = -1274,
errOpenDenied = -1273
};
enum {
errAECoercionFail = -1700,
errAEDescNotFound = -1701,
errAECorruptData = -1702,
errAEWrongDataType = -1703,
errAENotAEDesc = -1704,
errAEBadListItem = -1705,
errAENewerVersion = -1706,
errAENotAppleEvent = -1707,
errAEEventNotHandled = -1708,
errAEReplyNotValid = -1709,
errAEUnknownSendMode = -1710,
errAEWaitCanceled = -1711,
errAETimeout = -1712,
errAENoUserInteraction = -1713,
errAENotASpecialFunction = -1714,
errAEParamMissed = -1715,
errAEUnknownAddressType = -1716,
errAEHandlerNotFound = -1717,
errAEReplyNotArrived = -1718,
errAEIllegalIndex = -1719,
errAEImpossibleRange = -1720,
errAEWrongNumberArgs = -1721,
errAEAccessorNotFound = -1723,
errAENoSuchLogical = -1725,
errAEBadTestKey = -1726,
errAENotAnObjSpec = -1727,
errAENoSuchObject = -1728,
errAENegativeCount = -1729,
errAEEmptyListContainer = -1730,
errAEUnknownObjectType = -1731,
errAERecordingIsAlreadyOn = -1732,
errAEReceiveTerminate = -1733,
errAEReceiveEscapeCurrent = -1734,
errAEEventFiltered = -1735,
errAEDuplicateHandler = -1736,
errAEStreamBadNesting = -1737,
errAEStreamAlreadyConverted = -1738,
errAEDescIsNull = -1739,
errAEBuildSyntaxError = -1740,
errAEBufferTooSmall = -1741
};
enum {
errOSASystemError = -1750,
errOSAInvalidID = -1751,
errOSABadStorageType = -1752,
errOSAScriptError = -1753,
errOSABadSelector = -1754,
errOSASourceNotAvailable = -1756,
errOSANoSuchDialect = -1757,
errOSADataFormatObsolete = -1758,
errOSADataFormatTooNew = -1759,
errOSACorruptData = errAECorruptData,
errOSARecordingIsAlreadyOn = errAERecordingIsAlreadyOn,
errOSAComponentMismatch = -1761,
errOSACantOpenComponent = -1762
};
enum {
errOffsetInvalid = -1800,
errOffsetIsOutsideOfView = -1801,
errTopOfDocument = -1810,
errTopOfBody = -1811,
errEndOfDocument = -1812,
errEndOfBody = -1813
};
enum {
badDragRefErr = -1850,
badDragItemErr = -1851,
badDragFlavorErr = -1852,
duplicateFlavorErr = -1853,
cantGetFlavorErr = -1854,
duplicateHandlerErr = -1855,
handlerNotFoundErr = -1856,
dragNotAcceptedErr = -1857,
unsupportedForPlatformErr = -1858,
noSuitableDisplaysErr = -1859,
badImageRgnErr = -1860,
badImageErr = -1861,
nonDragOriginatorErr = -1862
};
enum {
couldNotResolveDataRef = -2000,
badImageDescription = -2001,
badPublicMovieAtom = -2002,
cantFindHandler = -2003,
cantOpenHandler = -2004,
badComponentType = -2005,
noMediaHandler = -2006,
noDataHandler = -2007,
invalidMedia = -2008,
invalidTrack = -2009,
invalidMovie = -2010,
invalidSampleTable = -2011,
invalidDataRef = -2012,
invalidHandler = -2013,
invalidDuration = -2014,
invalidTime = -2015,
cantPutPublicMovieAtom = -2016,
badEditList = -2017,
mediaTypesDontMatch = -2018,
progressProcAborted = -2019,
movieToolboxUninitialized = -2020,
noRecordOfApp = movieToolboxUninitialized,
wfFileNotFound = -2021,
cantCreateSingleForkFile = -2022,
invalidEditState = -2023,
nonMatchingEditState = -2024,
staleEditState = -2025,
userDataItemNotFound = -2026,
maxSizeToGrowTooSmall = -2027,
badTrackIndex = -2028,
trackIDNotFound = -2029,
trackNotInMovie = -2030,
timeNotInTrack = -2031,
timeNotInMedia = -2032,
badEditIndex = -2033,
internalQuickTimeError = -2034,
cantEnableTrack = -2035,
invalidRect = -2036,
invalidSampleNum = -2037,
invalidChunkNum = -2038,
invalidSampleDescIndex = -2039,
invalidChunkCache = -2040,
invalidSampleDescription = -2041,
dataNotOpenForRead = -2042,
dataNotOpenForWrite = -2043,
dataAlreadyOpenForWrite = -2044,
dataAlreadyClosed = -2045,
endOfDataReached = -2046,
dataNoDataRef = -2047,
noMovieFound = -2048,
invalidDataRefContainer = -2049,
badDataRefIndex = -2050,
noDefaultDataRef = -2051,
couldNotUseAnExistingSample = -2052,
featureUnsupported = -2053,
noVideoTrackInMovieErr = -2054,
noSoundTrackInMovieErr = -2055,
soundSupportNotAvailableErr = -2056,
unsupportedAuxiliaryImportData = -2057,
auxiliaryExportDataUnavailable = -2058,
samplesAlreadyInMediaErr = -2059,
noSourceTreeFoundErr = -2060,
sourceNotFoundErr = -2061,
movieTextNotFoundErr = -2062,
missingRequiredParameterErr = -2063,
invalidSpriteWorldPropertyErr = -2064,
invalidSpritePropertyErr = -2065,
gWorldsNotSameDepthAndSizeErr = -2066,
invalidSpriteIndexErr = -2067,
invalidImageIndexErr = -2068,
invalidSpriteIDErr = -2069
};
enum {
internalComponentErr = -2070,
notImplementedMusicOSErr = -2071,
cantSendToSynthesizerOSErr = -2072,
cantReceiveFromSynthesizerOSErr = -2073,
illegalVoiceAllocationOSErr = -2074,
illegalPartOSErr = -2075,
illegalChannelOSErr = -2076,
illegalKnobOSErr = -2077,
illegalKnobValueOSErr = -2078,
illegalInstrumentOSErr = -2079,
illegalControllerOSErr = -2080,
midiManagerAbsentOSErr = -2081,
synthesizerNotRespondingOSErr = -2082,
synthesizerOSErr = -2083,
illegalNoteChannelOSErr = -2084,
noteChannelNotAllocatedOSErr = -2085,
tunePlayerFullOSErr = -2086,
tuneParseOSErr = -2087,
noExportProcAvailableErr = -2089,
videoOutputInUseErr = -2090
};
enum {
componentDllLoadErr = -2091,
componentDllEntryNotFoundErr = -2092,
qtmlDllLoadErr = -2093,
qtmlDllEntryNotFoundErr = -2094,
qtmlUninitialized = -2095,
unsupportedOSErr = -2096,
unsupportedProcessorErr = -2097,
componentNotThreadSafeErr = -2098
};
enum {
cannotFindAtomErr = -2101,
notLeafAtomErr = -2102,
atomsNotOfSameTypeErr = -2103,
atomIndexInvalidErr = -2104,
duplicateAtomTypeAndIDErr = -2105,
invalidAtomErr = -2106,
invalidAtomContainerErr = -2107,
invalidAtomTypeErr = -2108,
cannotBeLeafAtomErr = -2109,
pathTooLongErr = -2110,
emptyPathErr = -2111,
noPathMappingErr = -2112,
pathNotVerifiedErr = -2113,
unknownFormatErr = -2114,
wackBadFileErr = -2115,
wackForkNotFoundErr = -2116,
wackBadMetaDataErr = -2117,
qfcbNotFoundErr = -2118,
qfcbNotCreatedErr = -2119,
AAPNotCreatedErr = -2120,
AAPNotFoundErr = -2121,
ASDBadHeaderErr = -2122,
ASDBadForkErr = -2123,
ASDEntryNotFoundErr = -2124,
fileOffsetTooBigErr = -2125,
notAllowedToSaveMovieErr = -2126,
qtNetworkAlreadyAllocatedErr = -2127,
urlDataHHTTPProtocolErr = -2129,
urlDataHHTTPNoNetDriverErr = -2130,
urlDataHHTTPURLErr = -2131,
urlDataHHTTPRedirectErr = -2132,
urlDataHFTPProtocolErr = -2133,
urlDataHFTPShutdownErr = -2134,
urlDataHFTPBadUserErr = -2135,
urlDataHFTPBadPasswordErr = -2136,
urlDataHFTPServerErr = -2137,
urlDataHFTPDataConnectionErr = -2138,
urlDataHFTPNoDirectoryErr = -2139,
urlDataHFTPQuotaErr = -2140,
urlDataHFTPPermissionsErr = -2141,
urlDataHFTPFilenameErr = -2142,
urlDataHFTPNoNetDriverErr = -2143,
urlDataHFTPBadNameListErr = -2144,
urlDataHFTPNeedPasswordErr = -2145,
urlDataHFTPNoPasswordErr = -2146,
urlDataHFTPServerDisconnectedErr = -2147,
urlDataHFTPURLErr = -2148,
notEnoughDataErr = -2149,
qtActionNotHandledErr = -2157,
qtXMLParseErr = -2158,
qtXMLApplicationErr = -2159
};
enum {
digiUnimpErr = -2201,
qtParamErr = -2202,
matrixErr = -2203,
notExactMatrixErr = -2204,
noMoreKeyColorsErr = -2205,
notExactSizeErr = -2206,
badDepthErr = -2207,
noDMAErr = -2208,
badCallOrderErr = -2209
};
enum {
kernelIncompleteErr = -2401,
kernelCanceledErr = -2402,
kernelOptionsErr = -2403,
kernelPrivilegeErr = -2404,
kernelUnsupportedErr = -2405,
kernelObjectExistsErr = -2406,
kernelWritePermissionErr = -2407,
kernelReadPermissionErr = -2408,
kernelExecutePermissionErr = -2409,
kernelDeletePermissionErr = -2410,
kernelExecutionLevelErr = -2411,
kernelAttributeErr = -2412,
kernelAsyncSendLimitErr = -2413,
kernelAsyncReceiveLimitErr = -2414,
kernelTimeoutErr = -2415,
kernelInUseErr = -2416,
kernelTerminatedErr = -2417,
kernelExceptionErr = -2418,
kernelIDErr = -2419,
kernelAlreadyFreeErr = -2421,
kernelReturnValueErr = -2422,
kernelUnrecoverableErr = -2499
};
enum {
tsmComponentNoErr = 0,
tsmUnsupScriptLanguageErr = -2500,
tsmInputMethodNotFoundErr = -2501,
tsmNotAnAppErr = -2502,
tsmAlreadyRegisteredErr = -2503,
tsmNeverRegisteredErr = -2504,
tsmInvalidDocIDErr = -2505,
tsmTSMDocBusyErr = -2506,
tsmDocNotActiveErr = -2507,
tsmNoOpenTSErr = -2508,
tsmCantOpenComponentErr = -2509,
tsmTextServiceNotFoundErr = -2510,
tsmDocumentOpenErr = -2511,
tsmUseInputWindowErr = -2512,
tsmTSHasNoMenuErr = -2513,
tsmTSNotOpenErr = -2514,
tsmComponentAlreadyOpenErr = -2515,
tsmInputMethodIsOldErr = -2516,
tsmScriptHasNoIMErr = -2517,
tsmUnsupportedTypeErr = -2518,
tsmUnknownErr = -2519,
tsmInvalidContext = -2520,
tsmNoHandler = -2521,
tsmNoMoreTokens = -2522,
tsmNoStem = -2523,
tsmDefaultIsNotInputMethodErr = -2524,
tsmDocPropertyNotFoundErr = -2528,
tsmDocPropertyBufferTooSmallErr = -2529,
tsmCantChangeForcedClassStateErr = -2530,
tsmComponentPropertyUnsupportedErr = -2531,
tsmComponentPropertyNotFoundErr = -2532,
tsmInputModeChangeFailedErr = -2533
};
enum {
mmInternalError = -2526
};
enum {
nrLockedErr = -2536,
nrNotEnoughMemoryErr = -2537,
nrInvalidNodeErr = -2538,
nrNotFoundErr = -2539,
nrNotCreatedErr = -2540,
nrNameErr = -2541,
nrNotSlotDeviceErr = -2542,
nrDataTruncatedErr = -2543,
nrPowerErr = -2544,
nrPowerSwitchAbortErr = -2545,
nrTypeMismatchErr = -2546,
nrNotModifiedErr = -2547,
nrOverrunErr = -2548,
nrResultCodeBase = -2549,
nrPathNotFound = -2550,
nrPathBufferTooSmall = -2551,
nrInvalidEntryIterationOp = -2552,
nrPropertyAlreadyExists = -2553,
nrIterationDone = -2554,
nrExitedIteratorScope = -2555,
nrTransactionAborted = -2556,
nrCallNotSupported = -2557
};
enum {
invalidIconRefErr = -2580,
noSuchIconErr = -2581,
noIconDataAvailableErr = -2582
};
# 1058 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
errOSACantCoerce = errAECoercionFail,
errOSACantAccess = errAENoSuchObject,
errOSACantAssign = -10006,
errOSAGeneralError = -2700,
errOSADivideByZero = -2701,
errOSANumericOverflow = -2702,
errOSACantLaunch = -2703,
errOSAAppNotHighLevelEventAware = -2704,
errOSACorruptTerminology = -2705,
errOSAStackOverflow = -2706,
errOSAInternalTableOverflow = -2707,
errOSADataBlockTooLarge = -2708,
errOSACantGetTerminology = -2709,
errOSACantCreate = -2710
};
# 1089 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
errOSATypeError = errAEWrongDataType,
OSAMessageNotUnderstood = errAEEventNotHandled,
OSAUndefinedHandler = errAEHandlerNotFound,
OSAIllegalAccess = errAEAccessorNotFound,
OSAIllegalIndex = errAEIllegalIndex,
OSAIllegalRange = errAEImpossibleRange,
OSAIllegalAssign = -10003,
OSASyntaxError = -2740,
OSASyntaxTypeError = -2741,
OSATokenTooLong = -2742,
OSAMissingParameter = errAEDescNotFound,
OSAParameterMismatch = errAEWrongNumberArgs,
OSADuplicateParameter = -2750,
OSADuplicateProperty = -2751,
OSADuplicateHandler = -2752,
OSAUndefinedVariable = -2753,
OSAInconsistentDeclarations = -2754,
OSAControlFlowError = -2755
};
# 1130 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
errASCantConsiderAndIgnore = -2720,
errASCantCompareMoreThan32k = -2721,
errASTerminologyNestingTooDeep = -2760,
errASIllegalFormalParameter = -2761,
errASParameterNotForEvent = -2762,
errASNoResultReturned = -2763,
errASInconsistentNames = -2780
};
enum {
cfragFirstErrCode = -2800,
cfragContextIDErr = -2800,
cfragConnectionIDErr = -2801,
cfragNoSymbolErr = -2802,
cfragNoSectionErr = -2803,
cfragNoLibraryErr = -2804,
cfragDupRegistrationErr = -2805,
cfragFragmentFormatErr = -2806,
cfragUnresolvedErr = -2807,
cfragNoPositionErr = -2808,
cfragNoPrivateMemErr = -2809,
cfragNoClientMemErr = -2810,
cfragNoIDsErr = -2811,
cfragInitOrderErr = -2812,
cfragImportTooOldErr = -2813,
cfragImportTooNewErr = -2814,
cfragInitLoopErr = -2815,
cfragInitAtBootErr = -2816,
cfragLibConnErr = -2817,
cfragCFMStartupErr = -2818,
cfragCFMInternalErr = -2819,
cfragFragmentCorruptErr = -2820,
cfragInitFunctionErr = -2821,
cfragNoApplicationErr = -2822,
cfragArchitectureErr = -2823,
cfragFragmentUsageErr = -2824,
cfragFileSizeErr = -2825,
cfragNotClosureErr = -2826,
cfragNoRegistrationErr = -2827,
cfragContainerIDErr = -2828,
cfragClosureIDErr = -2829,
cfragAbortClosureErr = -2830,
cfragOutputLengthErr = -2831,
cfragMapFileErr = -2851,
cfragExecFileRefErr = -2854,
cfragStdFolderErr = -2855,
cfragRsrcForkErr = -2856,
cfragCFragRsrcErr = -2857,
cfragLastErrCode = -2899
};
enum {
cfragFirstReservedCode = -2897,
cfragReservedCode_3 = -2897,
cfragReservedCode_2 = -2898,
cfragReservedCode_1 = -2899
};
# 1225 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
invalidComponentID = -3000,
validInstancesExist = -3001,
componentNotCaptured = -3002,
componentDontRegister = -3003,
unresolvedComponentDLLErr = -3004,
retryComponentRegistrationErr = -3005
};
enum {
invalidTranslationPathErr = -3025,
couldNotParseSourceFileErr = -3026,
noTranslationPathErr = -3030,
badTranslationSpecErr = -3031,
noPrefAppErr = -3032
};
enum {
buf2SmallErr = -3101,
noMPPErr = -3102,
ckSumErr = -3103,
extractErr = -3104,
readQErr = -3105,
atpLenErr = -3106,
atpBadRsp = -3107,
recNotFnd = -3108,
sktClosedErr = -3109
};
enum {
kOTNoError = 0,
kOTOutOfMemoryErr = -3211,
kOTNotFoundErr = -3201,
kOTDuplicateFoundErr = -3216,
kOTBadAddressErr = -3150,
kOTBadOptionErr = -3151,
kOTAccessErr = -3152,
kOTBadReferenceErr = -3153,
kOTNoAddressErr = -3154,
kOTOutStateErr = -3155,
kOTBadSequenceErr = -3156,
kOTSysErrorErr = -3157,
kOTLookErr = -3158,
kOTBadDataErr = -3159,
kOTBufferOverflowErr = -3160,
kOTFlowErr = -3161,
kOTNoDataErr = -3162,
kOTNoDisconnectErr = -3163,
kOTNoUDErrErr = -3164,
kOTBadFlagErr = -3165,
kOTNoReleaseErr = -3166,
kOTNotSupportedErr = -3167,
kOTStateChangeErr = -3168,
kOTNoStructureTypeErr = -3169,
kOTBadNameErr = -3170,
kOTBadQLenErr = -3171,
kOTAddressBusyErr = -3172,
kOTIndOutErr = -3173,
kOTProviderMismatchErr = -3174,
kOTResQLenErr = -3175,
kOTResAddressErr = -3176,
kOTQFullErr = -3177,
kOTProtocolErr = -3178,
kOTBadSyncErr = -3179,
kOTCanceledErr = -3180,
kEPERMErr = -3200,
kENOENTErr = -3201,
kENORSRCErr = -3202,
kEINTRErr = -3203,
kEIOErr = -3204,
kENXIOErr = -3205,
kEBADFErr = -3208,
kEAGAINErr = -3210,
kENOMEMErr = -3211,
kEACCESErr = -3212,
kEFAULTErr = -3213,
kEBUSYErr = -3215,
kEEXISTErr = -3216,
kENODEVErr = -3218,
kEINVALErr = -3221,
kENOTTYErr = -3224,
kEPIPEErr = -3231,
kERANGEErr = -3233,
kEWOULDBLOCKErr = -3234,
kEDEADLKErr = -3234,
kEALREADYErr = -3236,
kENOTSOCKErr = -3237,
kEDESTADDRREQErr = -3238,
kEMSGSIZEErr = -3239,
kEPROTOTYPEErr = -3240,
kENOPROTOOPTErr = -3241,
kEPROTONOSUPPORTErr = -3242,
kESOCKTNOSUPPORTErr = -3243,
kEOPNOTSUPPErr = -3244,
kEADDRINUSEErr = -3247,
kEADDRNOTAVAILErr = -3248,
kENETDOWNErr = -3249,
kENETUNREACHErr = -3250,
kENETRESETErr = -3251,
kECONNABORTEDErr = -3252,
kECONNRESETErr = -3253,
kENOBUFSErr = -3254,
kEISCONNErr = -3255,
kENOTCONNErr = -3256,
kESHUTDOWNErr = -3257,
kETOOMANYREFSErr = -3258,
kETIMEDOUTErr = -3259,
kECONNREFUSEDErr = -3260,
kEHOSTDOWNErr = -3263,
kEHOSTUNREACHErr = -3264,
kEPROTOErr = -3269,
kETIMEErr = -3270,
kENOSRErr = -3271,
kEBADMSGErr = -3272,
kECANCELErr = -3273,
kENOSTRErr = -3274,
kENODATAErr = -3275,
kEINPROGRESSErr = -3276,
kESRCHErr = -3277,
kENOMSGErr = -3278,
kOTClientNotInittedErr = -3279,
kOTPortHasDiedErr = -3280,
kOTPortWasEjectedErr = -3281,
kOTBadConfigurationErr = -3282,
kOTConfigurationChangedErr = -3283,
kOTUserRequestedErr = -3284,
kOTPortLostConnection = -3285
};
enum {
kQDNoPalette = -3950,
kQDNoColorHWCursorSupport = -3951,
kQDCursorAlreadyRegistered = -3952,
kQDCursorNotRegistered = -3953,
kQDCorruptPICTDataErr = -3954
};
enum {
firstPickerError = -4000,
invalidPickerType = firstPickerError,
requiredFlagsDontMatch = -4001,
pickerResourceError = -4002,
cantLoadPicker = -4003,
cantCreatePickerWindow = -4004,
cantLoadPackage = -4005,
pickerCantLive = -4006,
colorSyncNotInstalled = -4007,
badProfileError = -4008,
noHelpForItem = -4009
};
enum {
kNSL68kContextNotSupported = -4170,
kNSLSchedulerError = -4171,
kNSLBadURLSyntax = -4172,
kNSLNoCarbonLib = -4173,
kNSLUILibraryNotAvailable = -4174,
kNSLNotImplementedYet = -4175,
kNSLErrNullPtrError = -4176,
kNSLSomePluginsFailedToLoad = -4177,
kNSLNullNeighborhoodPtr = -4178,
kNSLNoPluginsForSearch = -4179,
kNSLSearchAlreadyInProgress = -4180,
kNSLNoPluginsFound = -4181,
kNSLPluginLoadFailed = -4182,
kNSLBadProtocolTypeErr = -4183,
kNSLNullListPtr = -4184,
kNSLBadClientInfoPtr = -4185,
kNSLCannotContinueLookup = -4186,
kNSLBufferTooSmallForData = -4187,
kNSLNoContextAvailable = -4188,
kNSLRequestBufferAlreadyInList = -4189,
kNSLInvalidPluginSpec = -4190,
kNSLNoSupportForService = -4191,
kNSLBadNetConnection = -4192,
kNSLBadDataTypeErr = -4193,
kNSLBadServiceTypeErr = -4194,
kNSLBadReferenceErr = -4195,
kNSLNoElementsInList = -4196,
kNSLInsufficientOTVer = -4197,
kNSLInsufficientSysVer = -4198,
kNSLNotInitialized = -4199,
kNSLInitializationFailed = -4200
};
enum {
kDTPHoldJobErr = -4200,
kDTPStopQueueErr = -4201,
kDTPTryAgainErr = -4202,
kDTPAbortJobErr = 128
};
enum {
cmElementTagNotFound = -4200,
cmIndexRangeErr = -4201,
cmCantDeleteElement = -4202,
cmFatalProfileErr = -4203,
cmInvalidProfile = -4204,
cmInvalidProfileLocation = -4205,
cmCantCopyModifiedV1Profile = -4215,
cmInvalidSearch = -4206,
cmSearchError = -4207,
cmErrIncompatibleProfile = -4208,
cmInvalidColorSpace = -4209,
cmInvalidSrcMap = -4210,
cmInvalidDstMap = -4211,
cmNoGDevicesError = -4212,
cmInvalidProfileComment = -4213,
cmRangeOverFlow = -4214,
cmNamedColorNotFound = -4216,
cmCantGamutCheckError = -4217
};
enum {
badFolderDescErr = -4270,
duplicateFolderDescErr = -4271,
noMoreFolderDescErr = -4272,
invalidFolderTypeErr = -4273,
duplicateRoutingErr = -4274,
routingNotFoundErr = -4275,
badRoutingSizeErr = -4276
};
enum {
coreFoundationUnknownErr = -4960
};
enum {
errCoreEndianDataTooShortForFormat = -4940,
errCoreEndianDataTooLongForFormat = -4941,
errCoreEndianDataDoesNotMatchFormat = -4942
};
enum {
internalScrapErr = -4988,
duplicateScrapFlavorErr = -4989,
badScrapRefErr = -4990,
processStateIncorrectErr = -4991,
scrapPromiseNotKeptErr = -4992,
noScrapPromiseKeeperErr = -4993,
nilScrapFlavorDataErr = -4994,
scrapFlavorFlagsMismatchErr = -4995,
scrapFlavorSizeMismatchErr = -4996,
illegalScrapFlavorFlagsErr = -4997,
illegalScrapFlavorTypeErr = -4998,
illegalScrapFlavorSizeErr = -4999,
scrapFlavorNotFoundErr = -102,
needClearScrapErr = -100
};
enum {
afpAccessDenied = -5000,
afpAuthContinue = -5001,
afpBadUAM = -5002,
afpBadVersNum = -5003,
afpBitmapErr = -5004,
afpCantMove = -5005,
afpDenyConflict = -5006,
afpDirNotEmpty = -5007,
afpDiskFull = -5008,
afpEofError = -5009,
afpFileBusy = -5010,
afpFlatVol = -5011,
afpItemNotFound = -5012,
afpLockErr = -5013,
afpMiscErr = -5014,
afpNoMoreLocks = -5015,
afpNoServer = -5016,
afpObjectExists = -5017,
afpObjectNotFound = -5018,
afpParmErr = -5019,
afpRangeNotLocked = -5020,
afpRangeOverlap = -5021,
afpSessClosed = -5022,
afpUserNotAuth = -5023,
afpCallNotSupported = -5024,
afpObjectTypeErr = -5025,
afpTooManyFilesOpen = -5026,
afpServerGoingDown = -5027,
afpCantRename = -5028,
afpDirNotFound = -5029,
afpIconTypeError = -5030,
afpVolLocked = -5031,
afpObjectLocked = -5032,
afpContainsSharedErr = -5033,
afpIDNotFound = -5034,
afpIDExists = -5035,
afpDiffVolErr = -5036,
afpCatalogChanged = -5037,
afpSameObjectErr = -5038,
afpBadIDErr = -5039,
afpPwdSameErr = -5040,
afpPwdTooShortErr = -5041,
afpPwdExpiredErr = -5042,
afpInsideSharedErr = -5043,
afpInsideTrashErr = -5044,
afpPwdNeedsChangeErr = -5045,
afpPwdPolicyErr = -5046,
afpAlreadyLoggedInErr = -5047,
afpCallNotAllowed = -5048
};
enum {
afpBadDirIDType = -5060,
afpCantMountMoreSrvre = -5061,
afpAlreadyMounted = -5062,
afpSameNodeErr = -5063
};
enum {
numberFormattingNotANumberErr = -5200,
numberFormattingOverflowInDestinationErr = -5201,
numberFormattingBadNumberFormattingObjectErr = -5202,
numberFormattingSpuriousCharErr = -5203,
numberFormattingLiteralMissingErr = -5204,
numberFormattingDelimiterMissingErr = -5205,
numberFormattingEmptyFormatErr = -5206,
numberFormattingBadFormatErr = -5207,
numberFormattingBadOptionsErr = -5208,
numberFormattingBadTokenErr = -5209,
numberFormattingUnOrderedCurrencyRangeErr = -5210,
numberFormattingBadCurrencyPositionErr = -5211,
numberFormattingNotADigitErr = -5212,
numberFormattingUnOrdredCurrencyRangeErr = -5210,
numberFortmattingNotADigitErr = -5212
};
enum {
textParserBadParamErr = -5220,
textParserObjectNotFoundErr = -5221,
textParserBadTokenValueErr = -5222,
textParserBadParserObjectErr = -5223,
textParserParamErr = -5224,
textParserNoMoreTextErr = -5225,
textParserBadTextLanguageErr = -5226,
textParserBadTextEncodingErr = -5227,
textParserNoSuchTokenFoundErr = -5228,
textParserNoMoreTokensErr = -5229
};
enum {
errUnknownAttributeTag = -5240,
errMarginWilllNotFit = -5241,
errNotInImagingMode = -5242,
errAlreadyInImagingMode = -5243,
errEngineNotFound = -5244,
errIteratorReachedEnd = -5245,
errInvalidRange = -5246,
errOffsetNotOnElementBounday = -5247,
errNoHiliteText = -5248,
errEmptyScrap = -5249,
errReadOnlyText = -5250,
errUnknownElement = -5251,
errNonContiuousAttribute = -5252,
errCannotUndo = -5253
};
enum {
hrHTMLRenderingLibNotInstalledErr = -5360,
hrMiscellaneousExceptionErr = -5361,
hrUnableToResizeHandleErr = -5362,
hrURLNotHandledErr = -5363
};
enum {
errIANoErr = 0,
errIAUnknownErr = -5380,
errIAAllocationErr = -5381,
errIAParamErr = -5382,
errIANoMoreItems = -5383,
errIABufferTooSmall = -5384,
errIACanceled = -5385,
errIAInvalidDocument = -5386,
errIATextExtractionErr = -5387,
errIAEndOfTextRun = -5388
};
enum {
qtsBadSelectorErr = -5400,
qtsBadStateErr = -5401,
qtsBadDataErr = -5402,
qtsUnsupportedDataTypeErr = -5403,
qtsUnsupportedRateErr = -5404,
qtsUnsupportedFeatureErr = -5405,
qtsTooMuchDataErr = -5406,
qtsUnknownValueErr = -5407,
qtsTimeoutErr = -5408,
qtsConnectionFailedErr = -5420,
qtsAddressBusyErr = -5421
};
enum {
gestaltUnknownErr = -5550,
gestaltUndefSelectorErr = -5551,
gestaltDupSelectorErr = -5552,
gestaltLocationErr = -5553
};
enum {
menuPropertyInvalidErr = -5603,
menuPropertyInvalid = menuPropertyInvalidErr,
menuPropertyNotFoundErr = -5604,
menuNotFoundErr = -5620,
menuUsesSystemDefErr = -5621,
menuItemNotFoundErr = -5622,
menuInvalidErr = -5623
};
enum {
errInvalidWindowPtr = -5600,
errInvalidWindowRef = -5600,
errUnsupportedWindowAttributesForClass = -5601,
errWindowDoesNotHaveProxy = -5602,
errInvalidWindowProperty = -5603,
errWindowPropertyNotFound = -5604,
errUnrecognizedWindowClass = -5605,
errCorruptWindowDescription = -5606,
errUserWantsToDragWindow = -5607,
errWindowsAlreadyInitialized = -5608,
errFloatingWindowsNotInitialized = -5609,
errWindowNotFound = -5610,
errWindowDoesNotFitOnscreen = -5611,
windowAttributeImmutableErr = -5612,
windowAttributesConflictErr = -5613,
windowManagerInternalErr = -5614,
windowWrongStateErr = -5615,
windowGroupInvalidErr = -5616,
windowAppModalStateAlreadyExistsErr = -5617,
windowNoAppModalStateErr = -5618,
errWindowDoesntSupportFocus = -30583,
errWindowRegionCodeInvalid = -30593
};
enum {
dialogNoTimeoutErr = -5640
};
enum {
kNavWrongDialogStateErr = -5694,
kNavWrongDialogClassErr = -5695,
kNavInvalidSystemConfigErr = -5696,
kNavCustomControlMessageFailedErr = -5697,
kNavInvalidCustomControlMessageErr = -5698,
kNavMissingKindStringErr = -5699
};
enum {
collectionItemLockedErr = -5750,
collectionItemNotFoundErr = -5751,
collectionIndexRangeErr = -5752,
collectionVersionErr = -5753
};
enum {
kQTSSUnknownErr = -6150
};
enum {
kDMGenErr = -6220,
kDMMirroringOnAlready = -6221,
kDMWrongNumberOfDisplays = -6222,
kDMMirroringBlocked = -6223,
kDMCantBlock = -6224,
kDMMirroringNotOn = -6225,
kSysSWTooOld = -6226,
kDMSWNotInitializedErr = -6227,
kDMDriverNotDisplayMgrAwareErr = -6228,
kDMDisplayNotFoundErr = -6229,
kDMNotFoundErr = -6229,
kDMDisplayAlreadyInstalledErr = -6230,
kDMMainDisplayCannotMoveErr = -6231,
kDMNoDeviceTableclothErr = -6231,
kDMFoundErr = -6232
};
enum {
laTooSmallBufferErr = -6984,
laEnvironmentBusyErr = -6985,
laEnvironmentNotFoundErr = -6986,
laEnvironmentExistErr = -6987,
laInvalidPathErr = -6988,
laNoMoreMorphemeErr = -6989,
laFailAnalysisErr = -6990,
laTextOverFlowErr = -6991,
laDictionaryNotOpenedErr = -6992,
laDictionaryUnknownErr = -6993,
laDictionaryTooManyErr = -6994,
laPropertyValueErr = -6995,
laPropertyUnknownErr = -6996,
laPropertyIsReadOnlyErr = -6997,
laPropertyNotFoundErr = -6998,
laPropertyErr = -6999,
laEngineNotFoundErr = -7000
};
enum {
kUSBNoErr = 0,
kUSBNoTran = 0,
kUSBNoDelay = 0,
kUSBPending = 1
};
# 1804 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
kUSBNotSent2Err = -6901,
kUSBNotSent1Err = -6902,
kUSBBufUnderRunErr = -6903,
kUSBBufOvrRunErr = -6904,
kUSBRes2Err = -6905,
kUSBRes1Err = -6906,
kUSBUnderRunErr = -6907,
kUSBOverRunErr = -6908,
kUSBWrongPIDErr = -6909,
kUSBPIDCheckErr = -6910,
kUSBNotRespondingErr = -6911,
kUSBEndpointStallErr = -6912,
kUSBDataToggleErr = -6913,
kUSBBitstufErr = -6914,
kUSBCRCErr = -6915,
kUSBLinkErr = -6916
};
enum {
kUSBQueueFull = -6948,
kUSBNotHandled = -6987,
kUSBUnknownNotification = -6949,
kUSBBadDispatchTable = -6950
};
enum {
kUSBInternalReserved10 = -6951,
kUSBInternalReserved9 = -6952,
kUSBInternalReserved8 = -6953,
kUSBInternalReserved7 = -6954,
kUSBInternalReserved6 = -6955,
kUSBInternalReserved5 = -6956,
kUSBInternalReserved4 = -6957,
kUSBInternalReserved3 = -6958,
kUSBInternalReserved2 = -6959,
kUSBInternalReserved1 = -6960
};
enum {
kUSBPortDisabled = -6969,
kUSBQueueAborted = -6970,
kUSBTimedOut = -6971,
kUSBDeviceDisconnected = -6972,
kUSBDeviceNotSuspended = -6973,
kUSBDeviceSuspended = -6974,
kUSBInvalidBuffer = -6975,
kUSBDevicePowerProblem = -6976,
kUSBDeviceBusy = -6977,
kUSBUnknownInterfaceErr = -6978,
kUSBPipeStalledError = -6979,
kUSBPipeIdleError = -6980,
kUSBNoBandwidthError = -6981,
kUSBAbortedError = -6982,
kUSBFlagsError = -6983,
kUSBCompletionError = -6984,
kUSBPBLengthError = -6985,
kUSBPBVersionError = -6986,
kUSBNotFound = -6987,
kUSBOutOfMemoryErr = -6988,
kUSBDeviceErr = -6989,
kUSBNoDeviceErr = -6990,
kUSBAlreadyOpenErr = -6991,
kUSBTooManyTransactionsErr = -6992,
kUSBUnknownRequestErr = -6993,
kUSBRqErr = -6994,
kUSBIncorrectTypeErr = -6995,
kUSBTooManyPipesErr = -6996,
kUSBUnknownPipeErr = -6997,
kUSBUnknownDeviceErr = -6998,
kUSBInternalErr = -6999
};
enum {
dcmParamErr = -7100,
dcmNotDictionaryErr = -7101,
dcmBadDictionaryErr = -7102,
dcmPermissionErr = -7103,
dcmDictionaryNotOpenErr = -7104,
dcmDictionaryBusyErr = -7105,
dcmBlockFullErr = -7107,
dcmNoRecordErr = -7108,
dcmDupRecordErr = -7109,
dcmNecessaryFieldErr = -7110,
dcmBadFieldInfoErr = -7111,
dcmBadFieldTypeErr = -7112,
dcmNoFieldErr = -7113,
dcmBadKeyErr = -7115,
dcmTooManyKeyErr = -7116,
dcmBadDataSizeErr = -7117,
dcmBadFindMethodErr = -7118,
dcmBadPropertyErr = -7119,
dcmProtectedErr = -7121,
dcmNoAccessMethodErr = -7122,
dcmBadFeatureErr = -7124,
dcmIterationCompleteErr = -7126,
dcmBufferOverflowErr = -7127
};
enum {
kRAInvalidParameter = -7100,
kRAInvalidPort = -7101,
kRAStartupFailed = -7102,
kRAPortSetupFailed = -7103,
kRAOutOfMemory = -7104,
kRANotSupported = -7105,
kRAMissingResources = -7106,
kRAIncompatiblePrefs = -7107,
kRANotConnected = -7108,
kRAConnectionCanceled = -7109,
kRAUnknownUser = -7110,
kRAInvalidPassword = -7111,
kRAInternalError = -7112,
kRAInstallationDamaged = -7113,
kRAPortBusy = -7114,
kRAUnknownPortState = -7115,
kRAInvalidPortState = -7116,
kRAInvalidSerialProtocol = -7117,
kRAUserLoginDisabled = -7118,
kRAUserPwdChangeRequired = -7119,
kRAUserPwdEntryRequired = -7120,
kRAUserInteractionRequired = -7121,
kRAInitOpenTransportFailed = -7122,
kRARemoteAccessNotReady = -7123,
kRATCPIPInactive = -7124,
kRATCPIPNotConfigured = -7125,
kRANotPrimaryInterface = -7126,
kRAConfigurationDBInitErr = -7127,
kRAPPPProtocolRejected = -7128,
kRAPPPAuthenticationFailed = -7129,
kRAPPPNegotiationFailed = -7130,
kRAPPPUserDisconnected = -7131,
kRAPPPPeerDisconnected = -7132,
kRAPeerNotResponding = -7133,
kRAATalkInactive = -7134,
kRAExtAuthenticationFailed = -7135,
kRANCPRejectedbyPeer = -7136,
kRADuplicateIPAddr = -7137,
kRACallBackFailed = -7138,
kRANotEnabled = -7139
};
# 1972 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
kATSUInvalidTextLayoutErr = -8790,
kATSUInvalidStyleErr = -8791,
kATSUInvalidTextRangeErr = -8792,
kATSUFontsMatched = -8793,
kATSUFontsNotMatched = -8794,
kATSUNoCorrespondingFontErr = -8795,
kATSUInvalidFontErr = -8796,
kATSUInvalidAttributeValueErr = -8797,
kATSUInvalidAttributeSizeErr = -8798,
kATSUInvalidAttributeTagErr = -8799,
kATSUInvalidCacheErr = -8800,
kATSUNotSetErr = -8801,
kATSUNoStyleRunsAssignedErr = -8802,
kATSUQuickDrawTextErr = -8803,
kATSULowLevelErr = -8804,
kATSUNoFontCmapAvailableErr = -8805,
kATSUNoFontScalerAvailableErr = -8806,
kATSUCoordinateOverflowErr = -8807,
kATSULineBreakInWord = -8808,
kATSUBusyObjectErr = -8809
};
# 2037 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
kTextUnsupportedEncodingErr = -8738,
kTextMalformedInputErr = -8739,
kTextUndefinedElementErr = -8740,
kTECMissingTableErr = -8745,
kTECTableChecksumErr = -8746,
kTECTableFormatErr = -8747,
kTECCorruptConverterErr = -8748,
kTECNoConversionPathErr = -8749,
kTECBufferBelowMinimumSizeErr = -8750,
kTECArrayFullErr = -8751,
kTECBadTextRunErr = -8752,
kTECPartialCharErr = -8753,
kTECUnmappableElementErr = -8754,
kTECIncompleteElementErr = -8755,
kTECDirectionErr = -8756,
kTECGlobalsUnavailableErr = -8770,
kTECItemUnavailableErr = -8771,
kTECUsedFallbacksStatus = -8783,
kTECNeedFlushStatus = -8784,
kTECOutputBufferFullStatus = -8785,
unicodeChecksumErr = -8769,
unicodeNoTableErr = -8768,
unicodeVariantErr = -8767,
unicodeFallbacksErr = -8766,
unicodePartConvertErr = -8765,
unicodeBufErr = -8764,
unicodeCharErr = -8763,
unicodeElementErr = -8762,
unicodeNotFoundErr = -8761,
unicodeTableFormatErr = -8760,
unicodeDirectionErr = -8759,
unicodeContextualErr = -8758,
unicodeTextEncodingDataErr = -8757
};
enum {
kUTCUnderflowErr = -8850,
kUTCOverflowErr = -8851,
kIllegalClockValueErr = -8852
};
enum {
kATSUInvalidFontFallbacksErr = -8900,
kATSUUnsupportedStreamFormatErr = -8901,
kATSUBadStreamErr = -8902,
kATSUOutputBufferTooSmallErr = -8903,
kATSUInvalidCallInsideCallbackErr = -8904,
kATSUNoFontNameErr = -8905,
kATSULastErr = -8959
};
enum {
codecErr = -8960,
noCodecErr = -8961,
codecUnimpErr = -8962,
codecSizeErr = -8963,
codecScreenBufErr = -8964,
codecImageBufErr = -8965,
codecSpoolErr = -8966,
codecAbortErr = -8967,
codecWouldOffscreenErr = -8968,
codecBadDataErr = -8969,
codecDataVersErr = -8970,
codecExtensionNotFoundErr = -8971,
scTypeNotFoundErr = codecExtensionNotFoundErr,
codecConditionErr = -8972,
codecOpenErr = -8973,
codecCantWhenErr = -8974,
codecCantQueueErr = -8975,
codecNothingToBlitErr = -8976,
codecNoMemoryPleaseWaitErr = -8977,
codecDisabledErr = -8978,
codecNeedToFlushChainErr = -8979,
lockPortBitsBadSurfaceErr = -8980,
lockPortBitsWindowMovedErr = -8981,
lockPortBitsWindowResizedErr = -8982,
lockPortBitsWindowClippedErr = -8983,
lockPortBitsBadPortErr = -8984,
lockPortBitsSurfaceLostErr = -8985,
codecParameterDialogConfirm = -8986,
codecNeedAccessKeyErr = -8987,
codecOffscreenFailedErr = -8988,
codecDroppedFrameErr = -8989,
directXObjectAlreadyExists = -8990,
lockPortBitsWrongGDeviceErr = -8991,
codecOffscreenFailedPleaseRetryErr = -8992,
badCodecCharacterizationErr = -8993,
noThumbnailFoundErr = -8994
};
enum {
kBadAdapterErr = -9050,
kBadAttributeErr = -9051,
kBadBaseErr = -9052,
kBadEDCErr = -9053,
kBadIRQErr = -9054,
kBadOffsetErr = -9055,
kBadPageErr = -9056,
kBadSizeErr = -9057,
kBadSocketErr = -9058,
kBadTypeErr = -9059,
kBadVccErr = -9060,
kBadVppErr = -9061,
kBadWindowErr = -9062,
kBadArgLengthErr = -9063,
kBadArgsErr = -9064,
kBadHandleErr = -9065,
kBadCISErr = -9066,
kBadSpeedErr = -9067,
kReadFailureErr = -9068,
kWriteFailureErr = -9069,
kGeneralFailureErr = -9070,
kNoCardErr = -9071,
kUnsupportedFunctionErr = -9072,
kUnsupportedModeErr = -9073,
kBusyErr = -9074,
kWriteProtectedErr = -9075,
kConfigurationLockedErr = -9076,
kInUseErr = -9077,
kNoMoreItemsErr = -9078,
kOutOfResourceErr = -9079,
kNoCardSevicesSocketsErr = -9080,
kInvalidRegEntryErr = -9081,
kBadLinkErr = -9082,
kBadDeviceErr = -9083,
k16BitCardErr = -9084,
kCardBusCardErr = -9085,
kPassCallToChainErr = -9086,
kCantConfigureCardErr = -9087,
kPostCardEventErr = -9088,
kInvalidDeviceNumber = -9089,
kUnsupportedVsErr = -9090,
kInvalidCSClientErr = -9091,
kBadTupleDataErr = -9092,
kBadCustomIFIDErr = -9093,
kNoIOWindowRequestedErr = -9094,
kNoMoreTimerClientsErr = -9095,
kNoMoreInterruptSlotsErr = -9096,
kNoClientTableErr = -9097,
kUnsupportedCardErr = -9098,
kNoCardEnablersFoundErr = -9099,
kNoEnablerForCardErr = -9100,
kNoCompatibleNameErr = -9101,
kClientRequestDenied = -9102,
kNotReadyErr = -9103,
kTooManyIOWindowsErr = -9104,
kAlreadySavedStateErr = -9105,
kAttemptDupCardEntryErr = -9106,
kCardPowerOffErr = -9107,
kNotZVCapableErr = -9108,
kNoCardBusCISErr = -9109
};
enum {
noDeviceForChannel = -9400,
grabTimeComplete = -9401,
cantDoThatInCurrentMode = -9402,
notEnoughMemoryToGrab = -9403,
notEnoughDiskSpaceToGrab = -9404,
couldntGetRequiredComponent = -9405,
badSGChannel = -9406,
seqGrabInfoNotAvailable = -9407,
deviceCantMeetRequest = -9408,
badControllerHeight = -9994,
editingNotAllowed = -9995,
controllerBoundsNotExact = -9996,
cannotSetWidthOfAttachedController = -9997,
controllerHasFixedHeight = -9998,
cannotMoveAttachedController = -9999
};
enum {
errAEBadKeyForm = -10002,
errAECantHandleClass = -10010,
errAECantSupplyType = -10009,
errAECantUndo = -10015,
errAEEventFailed = -10000,
errAEIndexTooLarge = -10007,
errAEInTransaction = -10011,
errAELocalOnly = -10016,
errAENoSuchTransaction = -10012,
errAENotAnElement = -10008,
errAENotASingleObject = -10014,
errAENotModifiable = -10003,
errAENoUserSelection = -10013,
errAEPrivilegeError = -10004,
errAEReadDenied = -10005,
errAETypeError = -10001,
errAEWriteDenied = -10006,
errAENotAnEnumMember = -10023,
errAECantPutThatThere = -10024,
errAEPropertiesClash = -10025
};
enum {
telGenericError = -1,
telNoErr = 0,
telNoTools = 8,
telBadTermErr = -10001,
telBadDNErr = -10002,
telBadCAErr = -10003,
telBadHandErr = -10004,
telBadProcErr = -10005,
telCAUnavail = -10006,
telNoMemErr = -10007,
telNoOpenErr = -10008,
telBadHTypeErr = -10010,
telHTypeNotSupp = -10011,
telBadLevelErr = -10012,
telBadVTypeErr = -10013,
telVTypeNotSupp = -10014,
telBadAPattErr = -10015,
telAPattNotSupp = -10016,
telBadIndex = -10017,
telIndexNotSupp = -10018,
telBadStateErr = -10019,
telStateNotSupp = -10020,
telBadIntExt = -10021,
telIntExtNotSupp = -10022,
telBadDNDType = -10023,
telDNDTypeNotSupp = -10024,
telFeatNotSub = -10030,
telFeatNotAvail = -10031,
telFeatActive = -10032,
telFeatNotSupp = -10033,
telConfLimitErr = -10040,
telConfNoLimit = -10041,
telConfErr = -10042,
telConfRej = -10043,
telTransferErr = -10044,
telTransferRej = -10045,
telCBErr = -10046,
telConfLimitExceeded = -10047,
telBadDNType = -10050,
telBadPageID = -10051,
telBadIntercomID = -10052,
telBadFeatureID = -10053,
telBadFwdType = -10054,
telBadPickupGroupID = -10055,
telBadParkID = -10056,
telBadSelect = -10057,
telBadBearerType = -10058,
telBadRate = -10059,
telDNTypeNotSupp = -10060,
telFwdTypeNotSupp = -10061,
telBadDisplayMode = -10062,
telDisplayModeNotSupp = -10063,
telNoCallbackRef = -10064,
telAlreadyOpen = -10070,
telStillNeeded = -10071,
telTermNotOpen = -10072,
telCANotAcceptable = -10080,
telCANotRejectable = -10081,
telCANotDeflectable = -10082,
telPBErr = -10090,
telBadFunction = -10091,
telNoSuchTool = -10102,
telUnknownErr = -10103,
telNoCommFolder = -10106,
telInitFailed = -10107,
telBadCodeResource = -10108,
telDeviceNotFound = -10109,
telBadProcID = -10110,
telValidateFailed = -10111,
telAutoAnsNotOn = -10112,
telDetAlreadyOn = -10113,
telBadSWErr = -10114,
telBadSampleRate = -10115,
telNotEnoughdspBW = -10116
};
enum {
errTaskNotFound = -10780
};
enum {
pmBusyErr = -13000,
pmReplyTOErr = -13001,
pmSendStartErr = -13002,
pmSendEndErr = -13003,
pmRecvStartErr = -13004,
pmRecvEndErr = -13005
};
enum {
kPowerHandlerExistsForDeviceErr = -13006,
kPowerHandlerNotFoundForDeviceErr = -13007,
kPowerHandlerNotFoundForProcErr = -13008,
kPowerMgtMessageNotHandled = -13009,
kPowerMgtRequestDenied = -13010,
kCantReportProcessorTemperatureErr = -13013,
kProcessorTempRoutineRequiresMPLib2 = -13014,
kNoSuchPowerSource = -13020,
kBridgeSoftwareRunningCantSleep = -13038
};
enum {
debuggingExecutionContextErr = -13880,
debuggingDuplicateSignatureErr = -13881,
debuggingDuplicateOptionErr = -13882,
debuggingInvalidSignatureErr = -13883,
debuggingInvalidOptionErr = -13884,
debuggingInvalidNameErr = -13885,
debuggingNoCallbackErr = -13886,
debuggingNoMatchErr = -13887
};
enum {
kHIDVersionIncompatibleErr = -13909,
kHIDDeviceNotReady = -13910
};
enum {
kHIDSuccess = 0,
kHIDInvalidRangePageErr = -13923,
kHIDReportIDZeroErr = -13924,
kHIDReportCountZeroErr = -13925,
kHIDReportSizeZeroErr = -13926,
kHIDUnmatchedDesignatorRangeErr = -13927,
kHIDUnmatchedStringRangeErr = -13928,
kHIDInvertedUsageRangeErr = -13929,
kHIDUnmatchedUsageRangeErr = -13930,
kHIDInvertedPhysicalRangeErr = -13931,
kHIDInvertedLogicalRangeErr = -13932,
kHIDBadLogicalMaximumErr = -13933,
kHIDBadLogicalMinimumErr = -13934,
kHIDUsagePageZeroErr = -13935,
kHIDEndOfDescriptorErr = -13936,
kHIDNotEnoughMemoryErr = -13937,
kHIDBadParameterErr = -13938,
kHIDNullPointerErr = -13939,
kHIDInvalidReportLengthErr = -13940,
kHIDInvalidReportTypeErr = -13941,
kHIDBadLogPhysValuesErr = -13942,
kHIDIncompatibleReportErr = -13943,
kHIDInvalidPreparsedDataErr = -13944,
kHIDNotValueArrayErr = -13945,
kHIDUsageNotFoundErr = -13946,
kHIDValueOutOfRangeErr = -13947,
kHIDBufferTooSmallErr = -13948,
kHIDNullStateErr = -13949,
kHIDBaseError = -13950
};
enum {
kModemOutOfMemory = -14000,
kModemPreferencesMissing = -14001,
kModemScriptMissing = -14002
};
enum {
kTXNEndIterationErr = -22000,
kTXNCannotAddFrameErr = -22001,
kTXNInvalidFrameIDErr = -22002,
kTXNIllegalToCrossDataBoundariesErr = -22003,
kTXNUserCanceledOperationErr = -22004,
kTXNBadDefaultFileTypeWarning = -22005,
kTXNCannotSetAutoIndentErr = -22006,
kTXNRunIndexOutofBoundsErr = -22007,
kTXNNoMatchErr = -22008,
kTXNAttributeTagInvalidForRunErr = -22009,
kTXNSomeOrAllTagsInvalidForRunErr = -22010,
kTXNInvalidRunIndex = -22011,
kTXNAlreadyInitializedErr = -22012,
kTXNCannotTurnTSMOffWhenUsingUnicodeErr = -22013,
kTXNCopyNotAllowedInEchoModeErr = -22014,
kTXNDataTypeNotAllowedErr = -22015,
kTXNATSUIIsNotInstalledErr = -22016,
kTXNOutsideOfLineErr = -22017,
kTXNOutsideOfFrameErr = -22018
};
enum {
printerStatusOpCodeNotSupportedErr = -25280
};
enum {
errKCNotAvailable = -25291,
errKCReadOnly = -25292,
errKCAuthFailed = -25293,
errKCNoSuchKeychain = -25294,
errKCInvalidKeychain = -25295,
errKCDuplicateKeychain = -25296,
errKCDuplicateCallback = -25297,
errKCInvalidCallback = -25298,
errKCDuplicateItem = -25299,
errKCItemNotFound = -25300,
errKCBufferTooSmall = -25301,
errKCDataTooLarge = -25302,
errKCNoSuchAttr = -25303,
errKCInvalidItemRef = -25304,
errKCInvalidSearchRef = -25305,
errKCNoSuchClass = -25306,
errKCNoDefaultKeychain = -25307,
errKCInteractionNotAllowed = -25308,
errKCReadOnlyAttr = -25309,
errKCWrongKCVersion = -25310,
errKCKeySizeNotAllowed = -25311,
errKCNoStorageModule = -25312,
errKCNoCertificateModule = -25313,
errKCNoPolicyModule = -25314,
errKCInteractionRequired = -25315,
errKCDataNotAvailable = -25316,
errKCDataNotModifiable = -25317,
errKCCreateChainFailed = -25318
};
enum {
kUCOutputBufferTooSmall = -25340,
kUCTextBreakLocatorMissingType = -25341
};
enum {
kUCTSNoKeysAddedToObjectErr = -25342,
kUCTSSearchListErr = -25343
};
enum {
kUCTokenizerIterationFinished = -25344,
kUCTokenizerUnknownLang = -25345,
kUCTokenNotFound = -25346
};
enum {
kMPIterationEndErr = -29275,
kMPPrivilegedErr = -29276,
kMPProcessCreatedErr = -29288,
kMPProcessTerminatedErr = -29289,
kMPTaskCreatedErr = -29290,
kMPTaskBlockedErr = -29291,
kMPTaskStoppedErr = -29292,
kMPBlueBlockingErr = -29293,
kMPDeletedErr = -29295,
kMPTimeoutErr = -29296,
kMPTaskAbortedErr = -29297,
kMPInsufficientResourcesErr = -29298,
kMPInvalidIDErr = -29299
};
enum {
kMPNanokernelNeedsMemoryErr = -29294
};
enum {
kCollateAttributesNotFoundErr = -29500,
kCollateInvalidOptions = -29501,
kCollateMissingUnicodeTableErr = -29502,
kCollateUnicodeConvertFailedErr = -29503,
kCollatePatternNotFoundErr = -29504,
kCollateInvalidChar = -29505,
kCollateBufferTooSmall = -29506,
kCollateInvalidCollationRef = -29507
};
enum {
kFNSInvalidReferenceErr = -29580,
kFNSBadReferenceVersionErr = -29581,
kFNSInvalidProfileErr = -29582,
kFNSBadProfileVersionErr = -29583,
kFNSDuplicateReferenceErr = -29584,
kFNSMismatchErr = -29585,
kFNSInsufficientDataErr = -29586,
kFNSBadFlattenedSizeErr = -29587,
kFNSNameNotFoundErr = -29589
};
enum {
kLocalesBufferTooSmallErr = -30001,
kLocalesTableFormatErr = -30002,
kLocalesDefaultDisplayStatus = -30029
};
enum {
kALMInternalErr = -30049,
kALMGroupNotFoundErr = -30048,
kALMNoSuchModuleErr = -30047,
kALMModuleCommunicationErr = -30046,
kALMDuplicateModuleErr = -30045,
kALMInstallationErr = -30044,
kALMDeferSwitchErr = -30043,
kALMRebootFlagsLevelErr = -30042
};
enum {
kALMLocationNotFoundErr = kALMGroupNotFoundErr
};
enum {
kSSpInternalErr = -30340,
kSSpVersionErr = -30341,
kSSpCantInstallErr = -30342,
kSSpParallelUpVectorErr = -30343,
kSSpScaleToZeroErr = -30344
};
enum {
kNSpInitializationFailedErr = -30360,
kNSpAlreadyInitializedErr = -30361,
kNSpTopologyNotSupportedErr = -30362,
kNSpPipeFullErr = -30364,
kNSpHostFailedErr = -30365,
kNSpProtocolNotAvailableErr = -30366,
kNSpInvalidGameRefErr = -30367,
kNSpInvalidParameterErr = -30369,
kNSpOTNotPresentErr = -30370,
kNSpOTVersionTooOldErr = -30371,
kNSpMemAllocationErr = -30373,
kNSpAlreadyAdvertisingErr = -30374,
kNSpNotAdvertisingErr = -30376,
kNSpInvalidAddressErr = -30377,
kNSpFreeQExhaustedErr = -30378,
kNSpRemovePlayerFailedErr = -30379,
kNSpAddressInUseErr = -30380,
kNSpFeatureNotImplementedErr = -30381,
kNSpNameRequiredErr = -30382,
kNSpInvalidPlayerIDErr = -30383,
kNSpInvalidGroupIDErr = -30384,
kNSpNoPlayersErr = -30385,
kNSpNoGroupsErr = -30386,
kNSpNoHostVolunteersErr = -30387,
kNSpCreateGroupFailedErr = -30388,
kNSpAddPlayerFailedErr = -30389,
kNSpInvalidDefinitionErr = -30390,
kNSpInvalidProtocolRefErr = -30391,
kNSpInvalidProtocolListErr = -30392,
kNSpTimeoutErr = -30393,
kNSpGameTerminatedErr = -30394,
kNSpConnectFailedErr = -30395,
kNSpSendFailedErr = -30396,
kNSpMessageTooBigErr = -30397,
kNSpCantBlockErr = -30398,
kNSpJoinFailedErr = -30399
};
enum {
kISpInternalErr = -30420,
kISpSystemListErr = -30421,
kISpBufferToSmallErr = -30422,
kISpElementInListErr = -30423,
kISpElementNotInListErr = -30424,
kISpSystemInactiveErr = -30425,
kISpDeviceInactiveErr = -30426,
kISpSystemActiveErr = -30427,
kISpDeviceActiveErr = -30428,
kISpListBusyErr = -30429
};
enum {
kDSpNotInitializedErr = -30440L,
kDSpSystemSWTooOldErr = -30441L,
kDSpInvalidContextErr = -30442L,
kDSpInvalidAttributesErr = -30443L,
kDSpContextAlreadyReservedErr = -30444L,
kDSpContextNotReservedErr = -30445L,
kDSpContextNotFoundErr = -30446L,
kDSpFrameRateNotReadyErr = -30447L,
kDSpConfirmSwitchWarning = -30448L,
kDSpInternalErr = -30449L,
kDSpStereoContextErr = -30450L
};
enum {
kFBCvTwinExceptionErr = -30500,
kFBCnoIndexesFound = -30501,
kFBCallocFailed = -30502,
kFBCbadParam = -30503,
kFBCfileNotIndexed = -30504,
kFBCbadIndexFile = -30505,
kFBCcompactionFailed = -30506,
kFBCvalidationFailed = -30507,
kFBCindexingFailed = -30508,
kFBCcommitFailed = -30509,
kFBCdeletionFailed = -30510,
kFBCmoveFailed = -30511,
kFBCtokenizationFailed = -30512,
kFBCmergingFailed = -30513,
kFBCindexCreationFailed = -30514,
kFBCaccessorStoreFailed = -30515,
kFBCaddDocFailed = -30516,
kFBCflushFailed = -30517,
kFBCindexNotFound = -30518,
kFBCnoSearchSession = -30519,
kFBCindexingCanceled = -30520,
kFBCaccessCanceled = -30521,
kFBCindexFileDestroyed = -30522,
kFBCindexNotAvailable = -30523,
kFBCsearchFailed = -30524,
kFBCsomeFilesNotIndexed = -30525,
kFBCillegalSessionChange = -30526,
kFBCanalysisNotAvailable = -30527,
kFBCbadIndexFileVersion = -30528,
kFBCsummarizationCanceled = -30529,
kFBCindexDiskIOFailed = -30530,
kFBCbadSearchSession = -30531,
kFBCnoSuchHit = -30532
};
enum {
notAQTVRMovieErr = -30540,
constraintReachedErr = -30541,
callNotSupportedByNodeErr = -30542,
selectorNotSupportedByNodeErr = -30543,
invalidNodeIDErr = -30544,
invalidViewStateErr = -30545,
timeNotInViewErr = -30546,
propertyNotSupportedByNodeErr = -30547,
settingNotSupportedByNodeErr = -30548,
limitReachedErr = -30549,
invalidNodeFormatErr = -30550,
invalidHotSpotIDErr = -30551,
noMemoryNodeFailedInitialize = -30552,
streamingNodeNotReadyErr = -30553,
qtvrLibraryLoadErr = -30554,
qtvrUninitialized = -30555
};
enum {
themeInvalidBrushErr = -30560,
themeProcessRegisteredErr = -30561,
themeProcessNotRegisteredErr = -30562,
themeBadTextColorErr = -30563,
themeHasNoAccentsErr = -30564,
themeBadCursorIndexErr = -30565,
themeScriptFontNotFoundErr = -30566,
themeMonitorDepthNotSupportedErr = -30567,
themeNoAppropriateBrushErr = -30568
};
enum {
errMessageNotSupported = -30580,
errDataNotSupported = -30581,
errControlDoesntSupportFocus = -30582,
errUnknownControl = -30584,
# 2788 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
errCouldntSetFocus = -30585,
# 2797 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
errNoRootControl = -30586,
errRootAlreadyExists = -30587,
errInvalidPartCode = -30588,
# 2820 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
errControlsAlreadyExist = -30589,
errControlIsNotEmbedder = -30590,
errDataSizeMismatch = -30591,
errControlHiddenOrDisabled = -30592,
errCantEmbedIntoSelf = -30594,
errCantEmbedRoot = -30595,
errItemNotControl = -30596,
controlInvalidDataVersionErr = -30597,
controlPropertyInvalid = -5603,
controlPropertyNotFoundErr = -5604,
controlHandleInvalidErr = -30599
};
enum {
kURLInvalidURLReferenceError = -30770,
kURLProgressAlreadyDisplayedError = -30771,
kURLDestinationExistsError = -30772,
kURLInvalidURLError = -30773,
kURLUnsupportedSchemeError = -30774,
kURLServerBusyError = -30775,
kURLAuthenticationError = -30776,
kURLPropertyNotYetKnownError = -30777,
kURLUnknownPropertyError = -30778,
kURLPropertyBufferTooSmallError = -30779,
kURLUnsettablePropertyError = -30780,
kURLInvalidCallError = -30781,
kURLFileEmptyError = -30783,
kURLExtensionFailureError = -30785,
kURLInvalidConfigurationError = -30786,
kURLAccessNotAvailableError = -30787,
kURL68kNotSupportedError = -30788
};
# 2922 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
errCppGeneral = -32000,
errCppbad_alloc = -32001,
errCppbad_cast = -32002,
errCppbad_exception = -32003,
errCppbad_typeid = -32004,
errCpplogic_error = -32005,
errCppdomain_error = -32006,
errCppinvalid_argument = -32007,
errCpplength_error = -32008,
errCppout_of_range = -32009,
errCppruntime_error = -32010,
errCppoverflow_error = -32011,
errCpprange_error = -32012,
errCppunderflow_error = -32013,
errCppios_base_failure = -32014,
errCppLastSystemDefinedError = -32020,
errCppLastUserDefinedError = -32049
};
enum {
badComponentInstance = (long)0x80008001,
badComponentSelector = (long)0x80008002
};
enum {
dsBusError = 1,
dsAddressErr = 2,
dsIllInstErr = 3,
dsZeroDivErr = 4,
dsChkErr = 5,
dsOvflowErr = 6,
dsPrivErr = 7,
dsTraceErr = 8,
dsLineAErr = 9,
dsLineFErr = 10,
dsMiscErr = 11,
dsCoreErr = 12,
dsIrqErr = 13,
dsIOCoreErr = 14,
dsLoadErr = 15,
dsFPErr = 16,
dsNoPackErr = 17,
dsNoPk1 = 18,
dsNoPk2 = 19
};
enum {
dsNoPk3 = 20,
dsNoPk4 = 21,
dsNoPk5 = 22,
dsNoPk6 = 23,
dsNoPk7 = 24,
dsMemFullErr = 25,
dsBadLaunch = 26,
dsFSErr = 27,
dsStknHeap = 28,
negZcbFreeErr = 33,
dsFinderErr = 41,
dsBadSlotInt = 51,
dsBadSANEOpcode = 81,
dsBadPatchHeader = 83,
menuPrgErr = 84,
dsMBarNFnd = 85,
dsHMenuFindErr = 86,
dsWDEFNotFound = 87,
dsCDEFNotFound = 88,
dsMDEFNotFound = 89
};
enum {
dsNoFPU = 90,
dsNoPatch = 98,
dsBadPatch = 99,
dsParityErr = 101,
dsOldSystem = 102,
ds32BitMode = 103,
dsNeedToWriteBootBlocks = 104,
dsNotEnoughRAMToBoot = 105,
dsBufPtrTooLow = 106,
dsVMDeferredFuncTableFull = 112,
dsVMBadBackingStore = 113,
dsCantHoldSystemHeap = 114,
dsSystemRequiresPowerPC = 116,
dsGibblyMovedToDisabledFolder = 117,
dsUnBootableSystem = 118,
dsMustUseFCBAccessors = 119,
dsMacOSROMVersionTooOld = 120,
dsLostConnectionToNetworkDisk = 121,
dsRAMDiskTooBig = 122,
dsWriteToSupervisorStackGuardPage = 128,
dsReinsert = 30,
shutDownAlert = 42,
dsShutDownOrRestart = 20000,
dsSwitchOffOrRestart = 20001,
dsForcedQuit = 20002,
dsRemoveDisk = 20003,
dsDirtyDisk = 20004,
dsShutDownOrResume = 20109,
dsSCSIWarn = 20010,
dsMBSysError = 29200,
dsMBFlpySysError = 29201,
dsMBATASysError = 29202,
dsMBATAPISysError = 29203,
dsMBExternFlpySysError = 29204,
dsPCCardATASysError = 29205
};
enum {
dsNoExtsMacsBug = -1,
dsNoExtsDisassembler = -2,
dsMacsBugInstalled = -10,
dsDisassemblerInstalled = -11,
dsExtensionsDisabled = -13,
dsGreeting = 40,
dsSysErr = 32767,
WDEFNFnd = dsWDEFNotFound
};
enum {
CDEFNFnd = dsCDEFNotFound,
dsNotThe1 = 31,
dsBadStartupDisk = 42,
dsSystemFileErr = 43,
dsHD20Installed = -12,
mBarNFnd = -126,
fsDSIntErr = -127,
hMenuFindErr = -127,
userBreak = -490,
strUserBreak = -491,
exUserBreak = -492
};
enum {
dsBadLibrary = 1010,
dsMixedModeFailure = 1011
};
# 3078 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
kPOSIXErrorBase = 100000L,
kPOSIXErrorEPERM = 100001L,
kPOSIXErrorENOENT = 100002L,
kPOSIXErrorESRCH = 100003L,
kPOSIXErrorEINTR = 100004L,
kPOSIXErrorEIO = 100005L,
kPOSIXErrorENXIO = 100006L,
kPOSIXErrorE2BIG = 100007L,
kPOSIXErrorENOEXEC = 100008L,
kPOSIXErrorEBADF = 100009L,
kPOSIXErrorECHILD = 100010L,
kPOSIXErrorEDEADLK = 100011L,
kPOSIXErrorENOMEM = 100012L,
kPOSIXErrorEACCES = 100013L,
kPOSIXErrorEFAULT = 100014L,
kPOSIXErrorENOTBLK = 100015L,
kPOSIXErrorEBUSY = 100016L,
kPOSIXErrorEEXIST = 100017L,
kPOSIXErrorEXDEV = 100018L,
kPOSIXErrorENODEV = 100019L,
kPOSIXErrorENOTDIR = 100020L,
kPOSIXErrorEISDIR = 100021L,
kPOSIXErrorEINVAL = 100022L,
kPOSIXErrorENFILE = 100023L,
kPOSIXErrorEMFILE = 100024L,
kPOSIXErrorENOTTY = 100025L,
kPOSIXErrorETXTBSY = 100026L,
kPOSIXErrorEFBIG = 100027L,
kPOSIXErrorENOSPC = 100028L,
kPOSIXErrorESPIPE = 100029L,
kPOSIXErrorEROFS = 100030L,
kPOSIXErrorEMLINK = 100031L,
kPOSIXErrorEPIPE = 100032L,
kPOSIXErrorEDOM = 100033L,
kPOSIXErrorERANGE = 100034L,
kPOSIXErrorEAGAIN = 100035L,
kPOSIXErrorEINPROGRESS = 100036L,
kPOSIXErrorEALREADY = 100037L,
kPOSIXErrorENOTSOCK = 100038L,
kPOSIXErrorEDESTADDRREQ = 100039L,
kPOSIXErrorEMSGSIZE = 100040L,
kPOSIXErrorEPROTOTYPE = 100041L,
kPOSIXErrorENOPROTOOPT = 100042L,
kPOSIXErrorEPROTONOSUPPORT = 100043L,
kPOSIXErrorESOCKTNOSUPPORT = 100044L,
kPOSIXErrorENOTSUP = 100045L,
kPOSIXErrorEPFNOSUPPORT = 100046L,
kPOSIXErrorEAFNOSUPPORT = 100047L,
kPOSIXErrorEADDRINUSE = 100048L,
kPOSIXErrorEADDRNOTAVAIL = 100049L,
kPOSIXErrorENETDOWN = 100050L,
kPOSIXErrorENETUNREACH = 100051L,
kPOSIXErrorENETRESET = 100052L,
kPOSIXErrorECONNABORTED = 100053L,
kPOSIXErrorECONNRESET = 100054L,
kPOSIXErrorENOBUFS = 100055L,
kPOSIXErrorEISCONN = 100056L,
kPOSIXErrorENOTCONN = 100057L,
kPOSIXErrorESHUTDOWN = 100058L,
kPOSIXErrorETOOMANYREFS = 100059L,
kPOSIXErrorETIMEDOUT = 100060L,
kPOSIXErrorECONNREFUSED = 100061L,
kPOSIXErrorELOOP = 100062L,
kPOSIXErrorENAMETOOLONG = 100063L,
kPOSIXErrorEHOSTDOWN = 100064L,
kPOSIXErrorEHOSTUNREACH = 100065L,
kPOSIXErrorENOTEMPTY = 100066L,
kPOSIXErrorEPROCLIM = 100067L,
kPOSIXErrorEUSERS = 100068L,
kPOSIXErrorEDQUOT = 100069L,
kPOSIXErrorESTALE = 100070L,
kPOSIXErrorEREMOTE = 100071L,
kPOSIXErrorEBADRPC = 100072L,
kPOSIXErrorERPCMISMATCH = 100073L,
kPOSIXErrorEPROGUNAVAIL = 100074L,
kPOSIXErrorEPROGMISMATCH = 100075L,
kPOSIXErrorEPROCUNAVAIL = 100076L,
kPOSIXErrorENOLCK = 100077L,
kPOSIXErrorENOSYS = 100078L,
kPOSIXErrorEFTYPE = 100079L,
kPOSIXErrorEAUTH = 100080L,
kPOSIXErrorENEEDAUTH = 100081L,
kPOSIXErrorEPWROFF = 100082L,
kPOSIXErrorEDEVERR = 100083L,
kPOSIXErrorEOVERFLOW = 100084L,
kPOSIXErrorEBADEXEC = 100085L,
kPOSIXErrorEBADARCH = 100086L,
kPOSIXErrorESHLIBVERS = 100087L,
kPOSIXErrorEBADMACHO = 100088L,
kPOSIXErrorECANCELED = 100089L,
kPOSIXErrorEIDRM = 100090L,
kPOSIXErrorENOMSG = 100091L,
kPOSIXErrorEILSEQ = 100092L,
kPOSIXErrorENOATTR = 100093L,
kPOSIXErrorEBADMSG = 100094L,
kPOSIXErrorEMULTIHOP = 100095L,
kPOSIXErrorENODATA = 100096L,
kPOSIXErrorENOLINK = 100097L,
kPOSIXErrorENOSR = 100098L,
kPOSIXErrorENOSTR = 100099L,
kPOSIXErrorEPROTO = 100100L,
kPOSIXErrorETIME = 100101L,
kPOSIXErrorEOPNOTSUPP = 100102L
};
# 3193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
extern void
SysError(short errorCode) ;
# 25 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 2 3
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
#pragma pack(push, 2)
enum {
kUTCDefaultOptions = 0
};
struct UTCDateTime {
UInt16 highSeconds;
UInt32 lowSeconds;
UInt16 fraction;
};
typedef struct UTCDateTime UTCDateTime;
typedef UTCDateTime * UTCDateTimePtr;
typedef UTCDateTimePtr * UTCDateTimeHandle;
struct LocalDateTime {
UInt16 highSeconds;
UInt32 lowSeconds;
UInt16 fraction;
};
typedef struct LocalDateTime LocalDateTime;
typedef LocalDateTime * LocalDateTimePtr;
typedef LocalDateTimePtr * LocalDateTimeHandle;
# 83 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
extern OSStatus
ConvertLocalTimeToUTC(
UInt32 localSeconds,
UInt32 * utcSeconds) __attribute__((deprecated));
# 107 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
extern OSStatus
ConvertUTCToLocalTime(
UInt32 utcSeconds,
UInt32 * localSeconds) __attribute__((deprecated));
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
extern OSStatus
ConvertUTCToLocalDateTime(
const UTCDateTime * utcDateTime,
LocalDateTime * localDateTime) __attribute__((deprecated));
# 156 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
extern OSStatus
ConvertLocalToUTCDateTime(
const LocalDateTime * localDateTime,
UTCDateTime * utcDateTime) __attribute__((deprecated));
# 178 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
extern OSStatus
GetUTCDateTime(
UTCDateTime * utcDateTime,
OptionBits options) __attribute__((deprecated));
# 199 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
extern OSStatus
SetUTCDateTime(
const UTCDateTime * utcDateTime,
OptionBits options) __attribute__((deprecated));
# 220 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
extern OSStatus
GetLocalDateTime(
LocalDateTime * localDateTime,
OptionBits options) __attribute__((deprecated));
# 240 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
extern OSStatus
SetLocalDateTime(
const LocalDateTime * localDateTime,
OptionBits options) __attribute__((deprecated));
#pragma pack(pop)
# 46 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
#define __TEXTCOMMON__
# 35 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
#pragma pack(push, 2)
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
enum {
kTextFlushDefault = 0,
kTextCenter = 1,
kTextFlushRight = -1,
kTextFlushLeft = -2
};
typedef UInt32 TextEncodingBase;
enum {
kTextEncodingMacRoman = 0L,
kTextEncodingMacJapanese = 1,
kTextEncodingMacChineseTrad = 2,
kTextEncodingMacKorean = 3,
kTextEncodingMacArabic = 4,
kTextEncodingMacHebrew = 5,
kTextEncodingMacGreek = 6,
kTextEncodingMacCyrillic = 7,
kTextEncodingMacDevanagari = 9,
kTextEncodingMacGurmukhi = 10,
kTextEncodingMacGujarati = 11,
kTextEncodingMacOriya = 12,
kTextEncodingMacBengali = 13,
kTextEncodingMacTamil = 14,
kTextEncodingMacTelugu = 15,
kTextEncodingMacKannada = 16,
kTextEncodingMacMalayalam = 17,
kTextEncodingMacSinhalese = 18,
kTextEncodingMacBurmese = 19,
kTextEncodingMacKhmer = 20,
kTextEncodingMacThai = 21,
kTextEncodingMacLaotian = 22,
kTextEncodingMacGeorgian = 23,
kTextEncodingMacArmenian = 24,
kTextEncodingMacChineseSimp = 25,
kTextEncodingMacTibetan = 26,
kTextEncodingMacMongolian = 27,
kTextEncodingMacEthiopic = 28,
kTextEncodingMacCentralEurRoman = 29,
kTextEncodingMacVietnamese = 30,
kTextEncodingMacExtArabic = 31,
kTextEncodingMacSymbol = 33,
kTextEncodingMacDingbats = 34,
kTextEncodingMacTurkish = 35,
kTextEncodingMacCroatian = 36,
kTextEncodingMacIcelandic = 37,
kTextEncodingMacRomanian = 38,
kTextEncodingMacCeltic = 39,
kTextEncodingMacGaelic = 40,
kTextEncodingMacKeyboardGlyphs = 41
};
enum {
kTextEncodingMacTradChinese = kTextEncodingMacChineseTrad,
kTextEncodingMacRSymbol = 8,
kTextEncodingMacSimpChinese = kTextEncodingMacChineseSimp,
kTextEncodingMacGeez = kTextEncodingMacEthiopic,
kTextEncodingMacEastEurRoman = kTextEncodingMacCentralEurRoman,
kTextEncodingMacUninterp = 32
};
# 140 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
enum {
kTextEncodingMacUnicode = 0x7E
};
enum {
kTextEncodingMacFarsi = 0x8C,
kTextEncodingMacUkrainian = 0x98,
kTextEncodingMacInuit = 0xEC,
kTextEncodingMacVT100 = 0xFC
};
enum {
kTextEncodingMacHFS = 0xFF
};
enum {
kTextEncodingUnicodeDefault = 0x0100,
kTextEncodingUnicodeV1_1 = 0x0101,
kTextEncodingISO10646_1993 = 0x0101,
kTextEncodingUnicodeV2_0 = 0x0103,
kTextEncodingUnicodeV2_1 = 0x0103,
kTextEncodingUnicodeV3_0 = 0x0104,
kTextEncodingUnicodeV3_1 = 0x0105,
kTextEncodingUnicodeV3_2 = 0x0106,
kTextEncodingUnicodeV4_0 = 0x0108,
kTextEncodingUnicodeV5_0 = 0x010A
};
enum {
kTextEncodingISOLatin1 = 0x0201,
kTextEncodingISOLatin2 = 0x0202,
kTextEncodingISOLatin3 = 0x0203,
kTextEncodingISOLatin4 = 0x0204,
kTextEncodingISOLatinCyrillic = 0x0205,
kTextEncodingISOLatinArabic = 0x0206,
kTextEncodingISOLatinGreek = 0x0207,
kTextEncodingISOLatinHebrew = 0x0208,
kTextEncodingISOLatin5 = 0x0209,
kTextEncodingISOLatin6 = 0x020A,
kTextEncodingISOLatin7 = 0x020D,
kTextEncodingISOLatin8 = 0x020E,
kTextEncodingISOLatin9 = 0x020F,
kTextEncodingISOLatin10 = 0x0210
};
enum {
kTextEncodingDOSLatinUS = 0x0400,
kTextEncodingDOSGreek = 0x0405,
kTextEncodingDOSBalticRim = 0x0406,
kTextEncodingDOSLatin1 = 0x0410,
kTextEncodingDOSGreek1 = 0x0411,
kTextEncodingDOSLatin2 = 0x0412,
kTextEncodingDOSCyrillic = 0x0413,
kTextEncodingDOSTurkish = 0x0414,
kTextEncodingDOSPortuguese = 0x0415,
kTextEncodingDOSIcelandic = 0x0416,
kTextEncodingDOSHebrew = 0x0417,
kTextEncodingDOSCanadianFrench = 0x0418,
kTextEncodingDOSArabic = 0x0419,
kTextEncodingDOSNordic = 0x041A,
kTextEncodingDOSRussian = 0x041B,
kTextEncodingDOSGreek2 = 0x041C,
kTextEncodingDOSThai = 0x041D,
kTextEncodingDOSJapanese = 0x0420,
kTextEncodingDOSChineseSimplif = 0x0421,
kTextEncodingDOSKorean = 0x0422,
kTextEncodingDOSChineseTrad = 0x0423,
kTextEncodingWindowsLatin1 = 0x0500,
kTextEncodingWindowsANSI = 0x0500,
kTextEncodingWindowsLatin2 = 0x0501,
kTextEncodingWindowsCyrillic = 0x0502,
kTextEncodingWindowsGreek = 0x0503,
kTextEncodingWindowsLatin5 = 0x0504,
kTextEncodingWindowsHebrew = 0x0505,
kTextEncodingWindowsArabic = 0x0506,
kTextEncodingWindowsBalticRim = 0x0507,
kTextEncodingWindowsVietnamese = 0x0508,
kTextEncodingWindowsKoreanJohab = 0x0510
};
enum {
kTextEncodingUS_ASCII = 0x0600,
kTextEncodingANSEL = 0x0601,
kTextEncodingJIS_X0201_76 = 0x0620,
kTextEncodingJIS_X0208_83 = 0x0621,
kTextEncodingJIS_X0208_90 = 0x0622,
kTextEncodingJIS_X0212_90 = 0x0623,
kTextEncodingJIS_C6226_78 = 0x0624,
kTextEncodingShiftJIS_X0213 = 0x0628,
kTextEncodingJIS_X0213_MenKuTen = 0x0629,
kTextEncodingGB_2312_80 = 0x0630,
kTextEncodingGBK_95 = 0x0631,
kTextEncodingGB_18030_2000 = 0x0632,
kTextEncodingKSC_5601_87 = 0x0640,
kTextEncodingKSC_5601_92_Johab = 0x0641,
kTextEncodingCNS_11643_92_P1 = 0x0651,
kTextEncodingCNS_11643_92_P2 = 0x0652,
kTextEncodingCNS_11643_92_P3 = 0x0653
};
enum {
kTextEncodingISO_2022_JP = 0x0820,
kTextEncodingISO_2022_JP_2 = 0x0821,
kTextEncodingISO_2022_JP_1 = 0x0822,
kTextEncodingISO_2022_JP_3 = 0x0823,
kTextEncodingISO_2022_CN = 0x0830,
kTextEncodingISO_2022_CN_EXT = 0x0831,
kTextEncodingISO_2022_KR = 0x0840
};
enum {
kTextEncodingEUC_JP = 0x0920,
kTextEncodingEUC_CN = 0x0930,
kTextEncodingEUC_TW = 0x0931,
kTextEncodingEUC_KR = 0x0940
};
enum {
kTextEncodingShiftJIS = 0x0A01,
kTextEncodingKOI8_R = 0x0A02,
kTextEncodingBig5 = 0x0A03,
kTextEncodingMacRomanLatin1 = 0x0A04,
kTextEncodingHZ_GB_2312 = 0x0A05,
kTextEncodingBig5_HKSCS_1999 = 0x0A06,
kTextEncodingVISCII = 0x0A07,
kTextEncodingKOI8_U = 0x0A08,
kTextEncodingBig5_E = 0x0A09
};
enum {
kTextEncodingNextStepLatin = 0x0B01,
kTextEncodingNextStepJapanese = 0x0B02
};
enum {
kTextEncodingEBCDIC_US = 0x0C01,
kTextEncodingEBCDIC_CP037 = 0x0C02
};
enum {
kTextEncodingMultiRun = 0x0FFF,
kTextEncodingUnknown = 0xFFFF
};
typedef UInt32 TextEncodingVariant;
enum {
kTextEncodingDefaultVariant = 0
};
enum {
kMacRomanDefaultVariant = 0,
kMacRomanCurrencySignVariant = 1,
kMacRomanEuroSignVariant = 2
};
enum {
kMacCyrillicDefaultVariant = 0,
kMacCyrillicCurrSignStdVariant = 1,
kMacCyrillicCurrSignUkrVariant = 2,
kMacCyrillicEuroSignVariant = 3
};
enum {
kMacIcelandicStdDefaultVariant = 0,
kMacIcelandicTTDefaultVariant = 1,
kMacIcelandicStdCurrSignVariant = 2,
kMacIcelandicTTCurrSignVariant = 3,
kMacIcelandicStdEuroSignVariant = 4,
kMacIcelandicTTEuroSignVariant = 5
};
enum {
kMacCroatianDefaultVariant = 0,
kMacCroatianCurrencySignVariant = 1,
kMacCroatianEuroSignVariant = 2
};
enum {
kMacRomanianDefaultVariant = 0,
kMacRomanianCurrencySignVariant = 1,
kMacRomanianEuroSignVariant = 2
};
enum {
kMacJapaneseStandardVariant = 0,
kMacJapaneseStdNoVerticalsVariant = 1,
kMacJapaneseBasicVariant = 2,
kMacJapanesePostScriptScrnVariant = 3,
kMacJapanesePostScriptPrintVariant = 4,
kMacJapaneseVertAtKuPlusTenVariant = 5
};
enum {
kMacArabicStandardVariant = 0,
kMacArabicTrueTypeVariant = 1,
kMacArabicThuluthVariant = 2,
kMacArabicAlBayanVariant = 3
};
enum {
kMacFarsiStandardVariant = 0,
kMacFarsiTrueTypeVariant = 1
};
enum {
kMacHebrewStandardVariant = 0,
kMacHebrewFigureSpaceVariant = 1
};
enum {
kMacGreekDefaultVariant = 0,
kMacGreekNoEuroSignVariant = 1,
kMacGreekEuroSignVariant = 2
};
enum {
kMacVT100DefaultVariant = 0,
kMacVT100CurrencySignVariant = 1,
kMacVT100EuroSignVariant = 2
};
enum {
kUnicodeNoSubset = 0,
kUnicodeNormalizationFormD = 5,
kUnicodeNormalizationFormC = 3,
kUnicodeHFSPlusDecompVariant = 8,
kUnicodeHFSPlusCompVariant = 9
};
enum {
kISOLatin1StandardVariant = 0,
kISOLatin1MusicCDVariant = 1
};
# 428 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
enum {
kISOLatinArabicImplicitOrderVariant = 0,
kISOLatinArabicVisualOrderVariant = 1,
kISOLatinArabicExplicitOrderVariant = 2
};
enum {
kISOLatinHebrewImplicitOrderVariant = 0,
kISOLatinHebrewVisualOrderVariant = 1,
kISOLatinHebrewExplicitOrderVariant = 2
};
enum {
kWindowsLatin1StandardVariant = 0,
kWindowsLatin1PalmVariant = 1
};
enum {
kDOSJapaneseStandardVariant = 0,
kDOSJapanesePalmVariant = 1
};
enum {
kEUC_CN_BasicVariant = 0,
kEUC_CN_DOSVariant = 1
};
enum {
kEUC_KR_BasicVariant = 0,
kEUC_KR_DOSVariant = 1
};
enum {
kShiftJIS_BasicVariant = 0,
kShiftJIS_DOSVariant = 1,
kShiftJIS_MusicCDVariant = 2
};
enum {
kBig5_BasicVariant = 0,
kBig5_StandardVariant = 1,
kBig5_ETenVariant = 2,
kBig5_DOSVariant = 3
};
enum {
kMacRomanLatin1DefaultVariant = 0,
kMacRomanLatin1StandardVariant = 2,
kMacRomanLatin1TurkishVariant = 6,
kMacRomanLatin1CroatianVariant = 8,
kMacRomanLatin1IcelandicVariant = 11,
kMacRomanLatin1RomanianVariant = 14
};
enum {
kUnicodeNoCompatibilityVariant = 1,
kUnicodeNoCorporateVariant = 4
};
enum {
kMacRomanStandardVariant = 0,
kMacIcelandicStandardVariant = 0,
kMacIcelandicTrueTypeVariant = 1,
kJapaneseStandardVariant = 0,
kJapaneseStdNoVerticalsVariant = 1,
kJapaneseBasicVariant = 2,
kJapanesePostScriptScrnVariant = 3,
kJapanesePostScriptPrintVariant = 4,
kJapaneseVertAtKuPlusTenVariant = 5,
kTextEncodingShiftJIS_X0213_00 = 0x0628,
kHebrewStandardVariant = 0,
kHebrewFigureSpaceVariant = 1,
kUnicodeCanonicalDecompVariant = 2,
kUnicodeMaxDecomposedVariant = 2,
kUnicodeCanonicalCompVariant = 3,
kUnicodeNoComposedVariant = 3
};
typedef UInt32 TextEncodingFormat;
enum {
kTextEncodingDefaultFormat = 0,
kUnicodeUTF16Format = 0,
kUnicodeUTF7Format = 1,
kUnicodeUTF8Format = 2,
kUnicodeUTF32Format = 3,
kUnicodeUTF16BEFormat = 4,
kUnicodeUTF16LEFormat = 5,
kUnicodeUTF32BEFormat = 6,
kUnicodeUTF32LEFormat = 7,
kUnicodeSCSUFormat = 8,
# 562 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
kUnicode16BitFormat = 0,
kUnicode32BitFormat = 3
};
typedef UInt32 TextEncoding;
typedef UInt32 TextEncodingNameSelector;
enum {
kTextEncodingFullName = 0,
kTextEncodingBaseName = 1,
kTextEncodingVariantName = 2,
kTextEncodingFormatName = 3
};
struct TextEncodingRun {
ByteOffset offset;
TextEncoding textEncoding;
};
typedef struct TextEncodingRun TextEncodingRun;
typedef TextEncodingRun * TextEncodingRunPtr;
typedef const TextEncodingRun * ConstTextEncodingRunPtr;
struct ScriptCodeRun {
ByteOffset offset;
ScriptCode script;
};
typedef struct ScriptCodeRun ScriptCodeRun;
typedef ScriptCodeRun * ScriptCodeRunPtr;
typedef const ScriptCodeRun * ConstScriptCodeRunPtr;
typedef UInt8 * TextPtr;
typedef const UInt8 * ConstTextPtr;
typedef UniChar * UniCharArrayPtr;
typedef const UniChar * ConstUniCharArrayPtr;
typedef UniCharArrayPtr * UniCharArrayHandle;
typedef unsigned long UniCharArrayOffset;
enum {
kTextScriptDontCare = -128,
kTextLanguageDontCare = -128,
kTextRegionDontCare = -128
};
struct TECInfo {
UInt16 format;
UInt16 tecVersion;
UInt32 tecTextConverterFeatures;
UInt32 tecUnicodeConverterFeatures;
UInt32 tecTextCommonFeatures;
Str31 tecTextEncodingsFolderName;
Str31 tecExtensionFileName;
UInt16 tecLowestTEFileVersion;
UInt16 tecHighestTEFileVersion;
};
typedef struct TECInfo TECInfo;
typedef TECInfo * TECInfoPtr;
typedef TECInfoPtr * TECInfoHandle;
enum {
kTECInfoCurrentFormat = 2
};
# 678 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
enum {
kTECKeepInfoFixBit = 0,
kTECFallbackTextLengthFixBit = 1,
kTECTextRunBitClearFixBit = 2,
kTECTextToUnicodeScanFixBit = 3,
kTECAddForceASCIIChangesBit = 4,
kTECPreferredEncodingFixBit = 5,
kTECAddTextRunHeuristicsBit = 6,
kTECAddFallbackInterruptBit = 7
};
enum {
kTECKeepInfoFixMask = 1L << kTECKeepInfoFixBit,
kTECFallbackTextLengthFixMask = 1L << kTECFallbackTextLengthFixBit,
kTECTextRunBitClearFixMask = 1L << kTECTextRunBitClearFixBit,
kTECTextToUnicodeScanFixMask = 1L << kTECTextToUnicodeScanFixBit,
kTECAddForceASCIIChangesMask = 1L << kTECAddForceASCIIChangesBit,
kTECPreferredEncodingFixMask = 1L << kTECPreferredEncodingFixBit,
kTECAddTextRunHeuristicsMask = 1L << kTECAddTextRunHeuristicsBit,
kTECAddFallbackInterruptMask = 1L << kTECAddFallbackInterruptBit
};
enum {
kUnicodeByteOrderMark = 0xFEFF,
kUnicodeObjectReplacement = 0xFFFC,
kUnicodeReplacementChar = 0xFFFD,
kUnicodeSwappedByteOrderMark = 0xFFFE,
kUnicodeNotAChar = 0xFFFF
};
# 721 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
typedef SInt32 UCCharPropertyType;
enum {
kUCCharPropTypeGenlCategory = 1,
kUCCharPropTypeCombiningClass = 2,
kUCCharPropTypeBidiCategory = 3,
kUCCharPropTypeDecimalDigitValue = 4
};
typedef UInt32 UCCharPropertyValue;
enum {
kUCGenlCatOtherNotAssigned = 0,
kUCGenlCatOtherControl = 1,
kUCGenlCatOtherFormat = 2,
kUCGenlCatOtherSurrogate = 3,
kUCGenlCatOtherPrivateUse = 4,
kUCGenlCatMarkNonSpacing = 5,
kUCGenlCatMarkSpacingCombining = 6,
kUCGenlCatMarkEnclosing = 7,
kUCGenlCatNumberDecimalDigit = 8,
kUCGenlCatNumberLetter = 9,
kUCGenlCatNumberOther = 10,
kUCGenlCatSeparatorSpace = 11,
kUCGenlCatSeparatorLine = 12,
kUCGenlCatSeparatorParagraph = 13,
kUCGenlCatLetterUppercase = 14,
kUCGenlCatLetterLowercase = 15,
kUCGenlCatLetterTitlecase = 16,
kUCGenlCatLetterModifier = 17,
kUCGenlCatLetterOther = 18,
kUCGenlCatPunctConnector = 20,
kUCGenlCatPunctDash = 21,
kUCGenlCatPunctOpen = 22,
kUCGenlCatPunctClose = 23,
kUCGenlCatPunctInitialQuote = 24,
kUCGenlCatPunctFinalQuote = 25,
kUCGenlCatPunctOther = 26,
kUCGenlCatSymbolMath = 28,
kUCGenlCatSymbolCurrency = 29,
kUCGenlCatSymbolModifier = 30,
kUCGenlCatSymbolOther = 31
};
enum {
kUCBidiCatNotApplicable = 0,
kUCBidiCatLeftRight = 1,
kUCBidiCatRightLeft = 2,
kUCBidiCatEuroNumber = 3,
kUCBidiCatEuroNumberSeparator = 4,
kUCBidiCatEuroNumberTerminator = 5,
kUCBidiCatArabicNumber = 6,
kUCBidiCatCommonNumberSeparator = 7,
kUCBidiCatBlockSeparator = 8,
kUCBidiCatSegmentSeparator = 9,
kUCBidiCatWhitespace = 10,
kUCBidiCatOtherNeutral = 11,
kUCBidiCatRightLeftArabic = 12,
kUCBidiCatLeftRightEmbedding = 13,
kUCBidiCatRightLeftEmbedding = 14,
kUCBidiCatLeftRightOverride = 15,
kUCBidiCatRightLeftOverride = 16,
kUCBidiCatPopDirectionalFormat = 17,
kUCBidiCatNonSpacingMark = 18,
kUCBidiCatBoundaryNeutral = 19
};
# 811 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern TextEncoding
CreateTextEncoding(
TextEncodingBase encodingBase,
TextEncodingVariant encodingVariant,
TextEncodingFormat encodingFormat) ;
# 826 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern TextEncodingBase
GetTextEncodingBase(TextEncoding encoding) ;
# 838 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern TextEncodingVariant
GetTextEncodingVariant(TextEncoding encoding) ;
# 850 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern TextEncodingFormat
GetTextEncodingFormat(TextEncoding encoding) ;
# 862 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern TextEncoding
ResolveDefaultTextEncoding(TextEncoding encoding) ;
# 874 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
GetTextEncodingName(
TextEncoding iEncoding,
TextEncodingNameSelector iNamePartSelector,
RegionCode iPreferredRegion,
TextEncoding iPreferredEncoding,
ByteCount iOutputBufLen,
ByteCount * oNameLength,
RegionCode * oActualRegion,
TextEncoding * oActualEncoding,
TextPtr oEncodingName) ;
# 895 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
TECGetInfo(TECInfoHandle * tecInfo) ;
# 908 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
UpgradeScriptInfoToTextEncoding(
ScriptCode iTextScriptID,
LangCode iTextLanguageID,
RegionCode iRegionID,
ConstStr255Param iTextFontname,
TextEncoding * oEncoding) ;
# 925 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
RevertTextEncodingToScriptInfo(
TextEncoding iEncoding,
ScriptCode * oTextScriptID,
LangCode * oTextLanguageID,
Str255 oTextFontname) ;
# 978 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
GetTextEncodingFromScriptInfo(
ScriptCode iTextScriptID,
LangCode iTextLanguageID,
RegionCode iTextRegionID,
TextEncoding * oEncoding) ;
# 1027 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
GetScriptInfoFromTextEncoding(
TextEncoding iEncoding,
ScriptCode * oTextScriptID,
LangCode * oTextLanguageID) ;
# 1043 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
NearestMacTextEncodings(
TextEncoding generalEncoding,
TextEncoding * bestMacEncoding,
TextEncoding * alternateMacEncoding) ;
# 1058 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
UCGetCharProperty(
const UniChar * charPtr,
UniCharCount textLength,
UCCharPropertyType propType,
UCCharPropertyValue * propValue) ;
# 1077 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
#define UC_INLINE static __inline__
enum {
kUCHighSurrogateRangeStart = 0xD800,
kUCHighSurrogateRangeEnd = 0xDBFF,
kUCLowSurrogateRangeStart = 0xDC00,
kUCLowSurrogateRangeEnd = 0xDFFF
};
# 1098 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
static __inline__ Boolean UCIsSurrogateHighCharacter( UniChar character ) {
return ( ( character & 0xFC00 ) == kUCHighSurrogateRangeStart );
}
static __inline__ Boolean UCIsSurrogateLowCharacter( UniChar character ) {
return ( ( character & 0xFC00 ) == kUCLowSurrogateRangeStart );
}
# 1123 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
static __inline__ UnicodeScalarValue UCGetUnicodeScalarValueForSurrogatePair( UniChar surrogateHigh, UniChar surrogateLow ) {
return ( ( surrogateHigh - kUCHighSurrogateRangeStart ) << 10 ) + ( surrogateLow - kUCLowSurrogateRangeStart ) + 0x0010000;
}
#pragma pack(pop)
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
#define __COLLECTIONS__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define __MIXEDMODE__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#pragma pack(push, 2)
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
enum {
kRoutineDescriptorVersion = 7
};
enum {
_MixedModeMagic = 0xAAFE
};
enum {
kCurrentMixedModeStateRecord = 1
};
typedef unsigned short CallingConventionType;
enum {
kPascalStackBased = 0,
kCStackBased = 1,
kRegisterBased = 2,
kD0DispatchedPascalStackBased = 8,
kD1DispatchedPascalStackBased = 12,
kD0DispatchedCStackBased = 9,
kStackDispatchedPascalStackBased = 14,
kThinkCStackBased = 5
};
typedef SInt8 ISAType;
enum {
kM68kISA = 0,
kPowerPCISA = 1
};
enum {
kX86ISA = 2
};
typedef SInt8 RTAType;
enum {
kOld68kRTA = 0 << 4,
kPowerPCRTA = 0 << 4,
kCFM68kRTA = 1 << 4
};
enum {
kX86RTA = 2 << 4
};
# 104 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define GetCurrentISA() ((ISAType) kX86ISA)
#define GetCurrentRTA() ((RTAType) kX86RTA)
#define GetCurrentArchitecture() (GetCurrentISA() | GetCurrentRTA())
enum {
kRegisterD0 = 0,
kRegisterD1 = 1,
kRegisterD2 = 2,
kRegisterD3 = 3,
kRegisterD4 = 8,
kRegisterD5 = 9,
kRegisterD6 = 10,
kRegisterD7 = 11,
kRegisterA0 = 4,
kRegisterA1 = 5,
kRegisterA2 = 6,
kRegisterA3 = 7,
kRegisterA4 = 12,
kRegisterA5 = 13,
kRegisterA6 = 14,
kCCRegisterCBit = 16,
kCCRegisterVBit = 17,
kCCRegisterZBit = 18,
kCCRegisterNBit = 19,
kCCRegisterXBit = 20
};
typedef unsigned short registerSelectorType;
enum {
kNoByteCode = 0,
kOneByteCode = 1,
kTwoByteCode = 2,
kFourByteCode = 3
};
typedef unsigned long ProcInfoType;
typedef unsigned short RoutineFlagsType;
enum {
kProcDescriptorIsAbsolute = 0x00,
kProcDescriptorIsRelative = 0x01
};
enum {
kFragmentIsPrepared = 0x00,
kFragmentNeedsPreparing = 0x02
};
enum {
kUseCurrentISA = 0x00,
kUseNativeISA = 0x04
};
enum {
kPassSelector = 0x00,
kDontPassSelector = 0x08
};
enum {
kRoutineIsNotDispatchedDefaultRoutine = 0x00,
kRoutineIsDispatchedDefaultRoutine = 0x10
};
enum {
kProcDescriptorIsProcPtr = 0x00,
kProcDescriptorIsIndex = 0x20
};
struct RoutineRecord {
ProcInfoType procInfo;
SInt8 reserved1;
ISAType ISA;
RoutineFlagsType routineFlags;
ProcPtr procDescriptor;
UInt32 reserved2;
UInt32 selector;
};
typedef struct RoutineRecord RoutineRecord;
typedef RoutineRecord * RoutineRecordPtr;
typedef RoutineRecordPtr * RoutineRecordHandle;
typedef UInt8 RDFlagsType;
enum {
kSelectorsAreNotIndexable = 0x00,
kSelectorsAreIndexable = 0x01
};
struct RoutineDescriptor {
UInt16 goMixedModeTrap;
SInt8 version;
RDFlagsType routineDescriptorFlags;
UInt32 reserved1;
UInt8 reserved2;
UInt8 selectorInfo;
UInt16 routineCount;
RoutineRecord routineRecords[1];
};
typedef struct RoutineDescriptor RoutineDescriptor;
typedef RoutineDescriptor * RoutineDescriptorPtr;
typedef RoutineDescriptorPtr * RoutineDescriptorHandle;
struct MixedModeStateRecord {
UInt32 state1;
UInt32 state2;
UInt32 state3;
UInt32 state4;
};
typedef struct MixedModeStateRecord MixedModeStateRecord;
# 258 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define NewRoutineDescriptor(theProc,procInfo,isa) ((UniversalProcPtr) theProc)
#define DisposeRoutineDescriptor(upp)
enum {
kCallingConventionWidth = 4,
kCallingConventionPhase = 0,
kCallingConventionMask = 0x0F,
kResultSizeWidth = 2,
kResultSizePhase = kCallingConventionWidth,
kResultSizeMask = 0x30,
kStackParameterWidth = 2,
kStackParameterPhase = (kCallingConventionWidth + kResultSizeWidth),
kStackParameterMask = (long)0xFFFFFFC0,
kRegisterResultLocationWidth = 5,
kRegisterResultLocationPhase = (kCallingConventionWidth + kResultSizeWidth),
kRegisterParameterWidth = 5,
kRegisterParameterPhase = (kCallingConventionWidth + kResultSizeWidth + kRegisterResultLocationWidth),
kRegisterParameterMask = 0x7FFFF800,
kRegisterParameterSizePhase = 0,
kRegisterParameterSizeWidth = 2,
kRegisterParameterWhichPhase = kRegisterParameterSizeWidth,
kRegisterParameterWhichWidth = 3,
kDispatchedSelectorSizeWidth = 2,
kDispatchedSelectorSizePhase = (kCallingConventionWidth + kResultSizeWidth),
kDispatchedParameterPhase = (kCallingConventionWidth + kResultSizeWidth + kDispatchedSelectorSizeWidth),
kSpecialCaseSelectorWidth = 6,
kSpecialCaseSelectorPhase = kCallingConventionWidth,
kSpecialCaseSelectorMask = 0x03F0
};
enum {
kSpecialCase = 0x000F
};
enum {
kSpecialCaseHighHook = 0,
kSpecialCaseCaretHook = 0,
kSpecialCaseEOLHook = 1,
kSpecialCaseWidthHook = 2,
kSpecialCaseTextWidthHook = 2,
kSpecialCaseNWidthHook = 3,
kSpecialCaseDrawHook = 4,
kSpecialCaseHitTestHook = 5,
kSpecialCaseTEFindWord = 6,
kSpecialCaseProtocolHandler = 7,
kSpecialCaseSocketListener = 8,
kSpecialCaseTERecalc = 9,
kSpecialCaseTEDoText = 10,
kSpecialCaseGNEFilterProc = 11,
kSpecialCaseMBarHook = 12
};
# 347 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define SIZE_CODE(size) (((size) == 4) ? kFourByteCode : (((size) == 2) ? kTwoByteCode : (((size) == 1) ? kOneByteCode : 0)))
# 356 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define RESULT_SIZE(sizeCode) ((ProcInfoType)(sizeCode) << kResultSizePhase)
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define STACK_ROUTINE_PARAMETER(whichParam,sizeCode) ((ProcInfoType)(sizeCode) << (kStackParameterPhase + (((whichParam) - 1) * kStackParameterWidth)))
# 378 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define DISPATCHED_STACK_ROUTINE_PARAMETER(whichParam,sizeCode) ((ProcInfoType)(sizeCode) << (kDispatchedParameterPhase + (((whichParam) - 1) * kStackParameterWidth)))
# 389 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define DISPATCHED_STACK_ROUTINE_SELECTOR_SIZE(sizeCode) ((ProcInfoType)(sizeCode) << kDispatchedSelectorSizePhase)
# 398 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define REGISTER_RESULT_LOCATION(whichReg) ((ProcInfoType)(whichReg) << kRegisterResultLocationPhase)
#define REGISTER_ROUTINE_PARAMETER(whichParam,whichReg,sizeCode) ((((ProcInfoType)(sizeCode) << kRegisterParameterSizePhase) | ((ProcInfoType)(whichReg) << kRegisterParameterWhichPhase)) << (kRegisterParameterPhase + (((whichParam) - 1) * kRegisterParameterWidth)))
# 447 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define SPECIAL_CASE_PROCINFO(specialCaseCode) (kSpecialCase | ((ProcInfoType)(specialCaseCode) << 4))
# 475 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define STACK_UPP_TYPE(name) name
#define REGISTER_UPP_TYPE(name) name
#define TVECTOR_UPP_TYPE(name) name
# 511 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define CALL_ZERO_PARAMETER_UPP(upp,procInfo) (*(upp))()
#define CALL_ONE_PARAMETER_UPP(upp,procInfo,p1) (*(upp))((p1))
#define CALL_TWO_PARAMETER_UPP(upp,procInfo,p1,p2) (*(upp))((p1), (p2))
#define CALL_THREE_PARAMETER_UPP(upp,procInfo,p1,p2,p3) (*(upp))((p1), (p2), (p3))
#define CALL_FOUR_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4) (*(upp))((p1), (p2), (p3), (p4))
#define CALL_FIVE_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5) (*(upp))((p1), (p2), (p3), (p4), (p5))
#define CALL_SIX_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6))
#define CALL_SEVEN_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7))
#define CALL_EIGHT_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8))
#define CALL_NINE_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8,p9) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9))
#define CALL_TEN_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9), (p10))
#define CALL_ELEVEN_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9), (p10), (p11))
#define CALL_TWELVE_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9), (p10), (p11), (p12))
#define CALL_THIRTEEN_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9), (p10), (p11), (p12), (p13))
#pragma pack(pop)
# 25 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 2 3
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
enum {
kCollectionDontWantTag = 0L,
kCollectionDontWantId = 0L,
kCollectionDontWantSize = 0L,
kCollectionDontWantAttributes = 0L,
kCollectionDontWantIndex = 0L,
kCollectionDontWantData = 0L
};
enum {
kCollectionNoAttributes = 0x00000000,
kCollectionAllAttributes = (long)0xFFFFFFFF,
kCollectionUserAttributes = 0x0000FFFF,
kCollectionDefaultAttributes = 0x40000000
};
enum {
kCollectionUser0Bit = 0,
kCollectionUser1Bit = 1,
kCollectionUser2Bit = 2,
kCollectionUser3Bit = 3,
kCollectionUser4Bit = 4,
kCollectionUser5Bit = 5,
kCollectionUser6Bit = 6,
kCollectionUser7Bit = 7,
kCollectionUser8Bit = 8,
kCollectionUser9Bit = 9,
kCollectionUser10Bit = 10,
kCollectionUser11Bit = 11,
kCollectionUser12Bit = 12,
kCollectionUser13Bit = 13,
kCollectionUser14Bit = 14,
kCollectionUser15Bit = 15,
kCollectionReserved0Bit = 16,
kCollectionReserved1Bit = 17,
kCollectionReserved2Bit = 18,
kCollectionReserved3Bit = 19,
kCollectionReserved4Bit = 20,
kCollectionReserved5Bit = 21,
kCollectionReserved6Bit = 22,
kCollectionReserved7Bit = 23,
kCollectionReserved8Bit = 24,
kCollectionReserved9Bit = 25,
kCollectionReserved10Bit = 26,
kCollectionReserved11Bit = 27,
kCollectionReserved12Bit = 28,
kCollectionReserved13Bit = 29,
kCollectionPersistenceBit = 30,
kCollectionLockBit = 31
};
enum {
kCollectionUser0Mask = 1L << kCollectionUser0Bit,
kCollectionUser1Mask = 1L << kCollectionUser1Bit,
kCollectionUser2Mask = 1L << kCollectionUser2Bit,
kCollectionUser3Mask = 1L << kCollectionUser3Bit,
kCollectionUser4Mask = 1L << kCollectionUser4Bit,
kCollectionUser5Mask = 1L << kCollectionUser5Bit,
kCollectionUser6Mask = 1L << kCollectionUser6Bit,
kCollectionUser7Mask = 1L << kCollectionUser7Bit,
kCollectionUser8Mask = 1L << kCollectionUser8Bit,
kCollectionUser9Mask = 1L << kCollectionUser9Bit,
kCollectionUser10Mask = 1L << kCollectionUser10Bit,
kCollectionUser11Mask = 1L << kCollectionUser11Bit,
kCollectionUser12Mask = 1L << kCollectionUser12Bit,
kCollectionUser13Mask = 1L << kCollectionUser13Bit,
kCollectionUser14Mask = 1L << kCollectionUser14Bit,
kCollectionUser15Mask = 1L << kCollectionUser15Bit,
kCollectionReserved0Mask = 1L << kCollectionReserved0Bit,
kCollectionReserved1Mask = 1L << kCollectionReserved1Bit,
kCollectionReserved2Mask = 1L << kCollectionReserved2Bit,
kCollectionReserved3Mask = 1L << kCollectionReserved3Bit,
kCollectionReserved4Mask = 1L << kCollectionReserved4Bit,
kCollectionReserved5Mask = 1L << kCollectionReserved5Bit,
kCollectionReserved6Mask = 1L << kCollectionReserved6Bit,
kCollectionReserved7Mask = 1L << kCollectionReserved7Bit,
kCollectionReserved8Mask = 1L << kCollectionReserved8Bit,
kCollectionReserved9Mask = 1L << kCollectionReserved9Bit,
kCollectionReserved10Mask = 1L << kCollectionReserved10Bit,
kCollectionReserved11Mask = 1L << kCollectionReserved11Bit,
kCollectionReserved12Mask = 1L << kCollectionReserved12Bit,
kCollectionReserved13Mask = 1L << kCollectionReserved13Bit,
kCollectionPersistenceMask = 1L << kCollectionPersistenceBit,
kCollectionLockMask = 1L << kCollectionLockBit
};
typedef struct OpaqueCollection* Collection;
typedef FourCharCode CollectionTag;
typedef OSErr ( * CollectionFlattenProcPtr)(SInt32 size, void *data, void *refCon);
typedef OSErr ( * CollectionExceptionProcPtr)(Collection c, OSErr status);
typedef CollectionFlattenProcPtr CollectionFlattenUPP;
typedef CollectionExceptionProcPtr CollectionExceptionUPP;
# 159 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern CollectionFlattenUPP
NewCollectionFlattenUPP(CollectionFlattenProcPtr userRoutine) ;
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern CollectionExceptionUPP
NewCollectionExceptionUPP(CollectionExceptionProcPtr userRoutine) ;
# 181 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
DisposeCollectionFlattenUPP(CollectionFlattenUPP userUPP) ;
# 192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
DisposeCollectionExceptionUPP(CollectionExceptionUPP userUPP) ;
# 203 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
InvokeCollectionFlattenUPP(
SInt32 size,
void * data,
void * refCon,
CollectionFlattenUPP userUPP) ;
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
InvokeCollectionExceptionUPP(
Collection c,
OSErr status,
CollectionExceptionUPP userUPP) ;
# 233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
#define NewCollectionFlattenUPP(userRoutine) ((CollectionFlattenUPP)userRoutine)
#define NewCollectionExceptionUPP(userRoutine) ((CollectionExceptionUPP)userRoutine)
#define DisposeCollectionFlattenUPP(userUPP)
#define DisposeCollectionExceptionUPP(userUPP)
#define InvokeCollectionFlattenUPP(size,data,refCon,userUPP) (*userUPP)(size, data, refCon)
#define InvokeCollectionExceptionUPP(c,status,userUPP) (*userUPP)(c, status)
# 253 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern Collection
NewCollection(void) ;
# 266 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
DisposeCollection(Collection c) ;
# 279 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern Collection
CloneCollection(Collection c) ;
# 292 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern SInt32
CountCollectionOwners(Collection c) ;
# 305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSStatus
RetainCollection(Collection c) ;
# 318 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSStatus
ReleaseCollection(Collection c) ;
# 331 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern ItemCount
GetCollectionRetainCount(Collection c) ;
# 344 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern Collection
CopyCollection(
Collection srcCollection,
Collection dstCollection) ;
# 359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern SInt32
GetCollectionDefaultAttributes(Collection c) ;
# 372 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
SetCollectionDefaultAttributes(
Collection c,
SInt32 whichAttributes,
SInt32 newAttributes) ;
# 388 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern SInt32
CountCollectionItems(Collection c) ;
# 401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
AddCollectionItem(
Collection c,
CollectionTag tag,
SInt32 id,
SInt32 itemSize,
const void * itemData) ;
# 419 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetCollectionItem(
Collection c,
CollectionTag tag,
SInt32 id,
SInt32 * itemSize,
void * itemData) ;
# 437 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
RemoveCollectionItem(
Collection c,
CollectionTag tag,
SInt32 id) ;
# 453 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
SetCollectionItemInfo(
Collection c,
CollectionTag tag,
SInt32 id,
SInt32 whichAttributes,
SInt32 newAttributes) ;
# 471 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetCollectionItemInfo(
Collection c,
CollectionTag tag,
SInt32 id,
SInt32 * itemIndex,
SInt32 * itemSize,
SInt32 * attributes) ;
# 490 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
ReplaceIndexedCollectionItem(
Collection c,
SInt32 itemIndex,
SInt32 itemSize,
const void * itemData) ;
# 507 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetIndexedCollectionItem(
Collection c,
SInt32 itemIndex,
SInt32 * itemSize,
void * itemData) ;
# 524 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
RemoveIndexedCollectionItem(
Collection c,
SInt32 itemIndex) ;
# 539 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
SetIndexedCollectionItemInfo(
Collection c,
SInt32 itemIndex,
SInt32 whichAttributes,
SInt32 newAttributes) ;
# 556 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetIndexedCollectionItemInfo(
Collection c,
SInt32 itemIndex,
CollectionTag * tag,
SInt32 * id,
SInt32 * itemSize,
SInt32 * attributes) ;
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern Boolean
CollectionTagExists(
Collection c,
CollectionTag tag) ;
# 590 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern SInt32
CountCollectionTags(Collection c) ;
# 603 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetIndexedCollectionTag(
Collection c,
SInt32 tagIndex,
CollectionTag * tag) ;
# 619 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern SInt32
CountTaggedCollectionItems(
Collection c,
CollectionTag tag) ;
# 634 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetTaggedCollectionItem(
Collection c,
CollectionTag tag,
SInt32 whichItem,
SInt32 * itemSize,
void * itemData) ;
# 652 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetTaggedCollectionItemInfo(
Collection c,
CollectionTag tag,
SInt32 whichItem,
SInt32 * id,
SInt32 * itemIndex,
SInt32 * itemSize,
SInt32 * attributes) ;
# 672 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
PurgeCollection(
Collection c,
SInt32 whichAttributes,
SInt32 matchingAttributes) ;
# 688 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
PurgeCollectionTag(
Collection c,
CollectionTag tag) ;
# 703 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
EmptyCollection(Collection c) ;
# 715 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
FlattenCollection(
Collection c,
CollectionFlattenUPP flattenProc,
void * refCon) ;
# 731 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
FlattenPartialCollection(
Collection c,
CollectionFlattenUPP flattenProc,
void * refCon,
SInt32 whichAttributes,
SInt32 matchingAttributes) ;
# 749 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
UnflattenCollection(
Collection c,
CollectionFlattenUPP flattenProc,
void * refCon) ;
# 765 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern CollectionExceptionUPP
GetCollectionExceptionProc(Collection c) ;
# 778 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
SetCollectionExceptionProc(
Collection c,
CollectionExceptionUPP exceptionProc) ;
# 793 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern Collection
GetNewCollection(SInt16 collectionID) ;
# 809 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
AddCollectionItemHdl(
Collection aCollection,
CollectionTag tag,
SInt32 id,
Handle itemData) ;
# 826 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetCollectionItemHdl(
Collection aCollection,
CollectionTag tag,
SInt32 id,
Handle itemData) ;
# 843 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
ReplaceIndexedCollectionItemHdl(
Collection aCollection,
SInt32 itemIndex,
Handle itemData) ;
# 859 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetIndexedCollectionItemHdl(
Collection aCollection,
SInt32 itemIndex,
Handle itemData) ;
# 875 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
FlattenCollectionToHdl(
Collection aCollection,
Handle flattened) ;
# 890 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
UnflattenCollectionFromHdl(
Collection aCollection,
Handle flattened) ;
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
#define __ENDIAN__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
#pragma pack(push, 2)
# 95 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
#define Endian16_Swap(value) (UInt16) (__builtin_constant_p(value) ? OSSwapConstInt16(value) : OSSwapInt16(value))
#define Endian32_Swap(value) (UInt32) (__builtin_constant_p(value) ? OSSwapConstInt32(value) : OSSwapInt32(value))
#define Endian64_Swap(value) (UInt64) (__builtin_constant_p(value) ? OSSwapConstInt64(value) : OSSwapInt64(value))
# 176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
#define EndianS16_LtoN(value) (value)
#define EndianS16_NtoL(value) (value)
#define EndianU16_LtoN(value) (value)
#define EndianU16_NtoL(value) (value)
#define EndianS32_LtoN(value) (value)
#define EndianS32_NtoL(value) (value)
#define EndianU32_LtoN(value) (value)
#define EndianU32_NtoL(value) (value)
#define EndianS64_LtoN(value) (value)
#define EndianS64_NtoL(value) (value)
#define EndianU64_LtoN(value) (value)
#define EndianU64_NtoL(value) (value)
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
#define EndianS16_BtoN(value) EndianS16_BtoL(value)
#define EndianS16_NtoB(value) EndianS16_LtoB(value)
#define EndianU16_BtoN(value) EndianU16_BtoL(value)
#define EndianU16_NtoB(value) EndianU16_LtoB(value)
#define EndianS32_BtoN(value) EndianS32_BtoL(value)
#define EndianS32_NtoB(value) EndianS32_LtoB(value)
#define EndianU32_BtoN(value) EndianU32_BtoL(value)
#define EndianU32_NtoB(value) EndianU32_LtoB(value)
#define EndianS64_BtoN(value) EndianS64_BtoL(value)
#define EndianS64_NtoB(value) EndianS64_LtoB(value)
#define EndianU64_BtoN(value) EndianU64_BtoL(value)
#define EndianU64_NtoB(value) EndianU64_LtoB(value)
#define EndianS16_LtoB(value) ((SInt16)Endian16_Swap(value))
#define EndianS16_BtoL(value) ((SInt16)Endian16_Swap(value))
#define EndianU16_LtoB(value) ((UInt16)Endian16_Swap(value))
#define EndianU16_BtoL(value) ((UInt16)Endian16_Swap(value))
#define EndianS32_LtoB(value) ((SInt32)Endian32_Swap(value))
#define EndianS32_BtoL(value) ((SInt32)Endian32_Swap(value))
#define EndianU32_LtoB(value) ((UInt32)Endian32_Swap(value))
#define EndianU32_BtoL(value) ((UInt32)Endian32_Swap(value))
#define EndianS64_LtoB(value) ((SInt64)Endian64_Swap((UInt64)value))
#define EndianS64_BtoL(value) ((SInt64)Endian64_Swap((UInt64)value))
#define EndianU64_LtoB(value) ((UInt64)Endian64_Swap(value))
#define EndianU64_BtoL(value) ((UInt64)Endian64_Swap(value))
# 251 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
struct BigEndianLong {
long bigEndianValue;
};
typedef struct BigEndianLong BigEndianLong;
struct BigEndianUnsignedLong {
unsigned long bigEndianValue;
};
typedef struct BigEndianUnsignedLong BigEndianUnsignedLong;
struct BigEndianShort {
short bigEndianValue;
};
typedef struct BigEndianShort BigEndianShort;
struct BigEndianUnsignedShort {
unsigned short bigEndianValue;
};
typedef struct BigEndianUnsignedShort BigEndianUnsignedShort;
struct BigEndianFixed {
Fixed bigEndianValue;
};
typedef struct BigEndianFixed BigEndianFixed;
struct BigEndianUnsignedFixed {
UnsignedFixed bigEndianValue;
};
typedef struct BigEndianUnsignedFixed BigEndianUnsignedFixed;
struct BigEndianOSType {
OSType bigEndianValue;
};
typedef struct BigEndianOSType BigEndianOSType;
# 307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
enum {
kCoreEndianResourceManagerDomain = 'rsrc',
kCoreEndianAppleEventManagerDomain = 'aevt'
};
# 351 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
typedef OSStatus ( * CoreEndianFlipProc)(OSType dataDomain, OSType dataType, SInt16 id, void *dataPtr, ByteCount dataSize, Boolean currentlyNative, void *refcon);
# 388 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
extern OSStatus
CoreEndianInstallFlipper(
OSType dataDomain,
OSType dataType,
CoreEndianFlipProc proc,
void * refcon) ;
# 428 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
extern OSStatus
CoreEndianGetFlipper(
OSType dataDomain,
OSType dataType,
CoreEndianFlipProc * proc,
void ** refcon) ;
# 476 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
extern OSStatus
CoreEndianFlipData(
OSType dataDomain,
OSType dataType,
SInt16 id,
void * data,
ByteCount dataLen,
Boolean currentlyNative) ;
#pragma pack(pop)
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
#define __GESTALT__
# 41 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
typedef OSErr ( * SelectorFunctionProcPtr)(OSType selector, SInt32 *response);
typedef SelectorFunctionProcPtr SelectorFunctionUPP;
# 128 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
Gestalt(
OSType selector,
SInt32 * response) ;
# 174 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
ReplaceGestalt(
OSType selector,
SelectorFunctionUPP gestaltFunction,
SelectorFunctionUPP * oldGestaltFunction) __attribute__((deprecated));
# 232 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
NewGestalt(
OSType selector,
SelectorFunctionUPP gestaltFunction) __attribute__((deprecated));
# 279 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
NewGestaltValue(
OSType selector,
SInt32 newValue) ;
# 319 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
ReplaceGestaltValue(
OSType selector,
SInt32 replacementValue) ;
# 358 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
SetGestaltValue(
OSType selector,
SInt32 newValue) ;
# 393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
DeleteGestaltValue(OSType selector) ;
# 406 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern SelectorFunctionUPP
NewSelectorFunctionUPP(SelectorFunctionProcPtr userRoutine) ;
# 417 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern void
DisposeSelectorFunctionUPP(SelectorFunctionUPP userUPP) ;
# 428 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
InvokeSelectorFunctionUPP(
OSType selector,
SInt32 * response,
SelectorFunctionUPP userUPP) ;
#define NewSelectorFunctionUPP(userRoutine) ((SelectorFunctionUPP)userRoutine)
#define DisposeSelectorFunctionUPP(userUPP)
#define InvokeSelectorFunctionUPP(selector,response,userUPP) (*userUPP)(selector, response)
enum {
gestaltAddressingModeAttr = 'addr',
gestalt32BitAddressing = 0,
gestalt32BitSysZone = 1,
gestalt32BitCapable = 2
};
enum {
gestaltAFPClient = 'afps',
gestaltAFPClientVersionMask = 0x0000FFFF,
gestaltAFPClient3_5 = 0x0001,
gestaltAFPClient3_6 = 0x0002,
gestaltAFPClient3_6_1 = 0x0003,
gestaltAFPClient3_6_2 = 0x0004,
gestaltAFPClient3_6_3 = 0x0005,
gestaltAFPClient3_7 = 0x0006,
gestaltAFPClient3_7_2 = 0x0007,
gestaltAFPClient3_8 = 0x0008,
gestaltAFPClient3_8_1 = 0x0009,
gestaltAFPClient3_8_3 = 0x000A,
gestaltAFPClient3_8_4 = 0x000B,
gestaltAFPClientAttributeMask = (long)0xFFFF0000,
gestaltAFPClientCfgRsrc = 16,
gestaltAFPClientSupportsIP = 29,
gestaltAFPClientVMUI = 30,
gestaltAFPClientMultiReq = 31
};
enum {
gestaltAliasMgrAttr = 'alis',
gestaltAliasMgrPresent = 0,
gestaltAliasMgrSupportsRemoteAppletalk = 1,
gestaltAliasMgrSupportsAOCEKeychain = 2,
gestaltAliasMgrResolveAliasFileWithMountOptions = 3,
gestaltAliasMgrFollowsAliasesWhenResolving = 4,
gestaltAliasMgrSupportsExtendedCalls = 5,
gestaltAliasMgrSupportsFSCalls = 6,
gestaltAliasMgrPrefersPath = 7,
gestaltAliasMgrRequiresAccessors = 8
};
enum {
gestaltAppearanceAttr = 'appr',
gestaltAppearanceExists = 0,
gestaltAppearanceCompatMode = 1
};
enum {
gestaltAppearanceVersion = 'apvr'
};
enum {
gestaltArbitorAttr = 'arb ',
gestaltSerialArbitrationExists = 0
};
enum {
gestaltAppleScriptVersion = 'ascv'
};
enum {
gestaltAppleScriptAttr = 'ascr',
gestaltAppleScriptPresent = 0,
gestaltAppleScriptPowerPCSupport = 1
};
enum {
gestaltATAAttr = 'ata ',
gestaltATAPresent = 0
};
enum {
gestaltATalkVersion = 'atkv'
};
enum {
gestaltAppleTalkVersion = 'atlk'
};
# 559 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltAUXVersion = 'a/ux'
};
enum {
gestaltMacOSCompatibilityBoxAttr = 'bbox',
gestaltMacOSCompatibilityBoxPresent = 0,
gestaltMacOSCompatibilityBoxHasSerial = 1,
gestaltMacOSCompatibilityBoxless = 2
};
enum {
gestaltBusClkSpeed = 'bclk'
};
enum {
gestaltBusClkSpeedMHz = 'bclm'
};
enum {
gestaltCloseViewAttr = 'BSDa',
gestaltCloseViewEnabled = 0,
gestaltCloseViewDisplayMgrFriendly = 1
};
enum {
gestaltCarbonVersion = 'cbon'
};
enum {
gestaltCFMAttr = 'cfrg',
gestaltCFMPresent = 0,
gestaltCFMPresentMask = 0x0001,
gestaltCFM99Present = 2,
gestaltCFM99PresentMask = 0x0004
};
enum {
gestaltProcessorCacheLineSize = 'csiz'
};
enum {
gestaltCollectionMgrVersion = 'cltn'
};
enum {
gestaltColorMatchingAttr = 'cmta',
gestaltHighLevelMatching = 0,
gestaltColorMatchingLibLoaded = 1
};
enum {
gestaltColorMatchingVersion = 'cmtc',
gestaltColorSync10 = 0x0100,
gestaltColorSync11 = 0x0110,
gestaltColorSync104 = 0x0104,
gestaltColorSync105 = 0x0105,
gestaltColorSync20 = 0x0200,
gestaltColorSync21 = 0x0210,
gestaltColorSync211 = 0x0211,
gestaltColorSync212 = 0x0212,
gestaltColorSync213 = 0x0213,
gestaltColorSync25 = 0x0250,
gestaltColorSync26 = 0x0260,
gestaltColorSync261 = 0x0261,
gestaltColorSync30 = 0x0300
};
enum {
gestaltControlMgrVersion = 'cmvr'
};
enum {
gestaltControlMgrAttr = 'cntl',
gestaltControlMgrPresent = (1L << 0),
gestaltControlMgrPresentBit = 0,
gestaltControlMsgPresentMask = (1L << gestaltControlMgrPresentBit)
};
enum {
gestaltConnMgrAttr = 'conn',
gestaltConnMgrPresent = 0,
gestaltConnMgrCMSearchFix = 1,
gestaltConnMgrErrorString = 2,
gestaltConnMgrMultiAsyncIO = 3
};
enum {
gestaltColorPickerVersion = 'cpkr',
gestaltColorPicker = 'cpkr'
};
enum {
gestaltComponentMgr = 'cpnt',
gestaltComponentPlatform = 'copl'
};
# 686 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltNativeCPUtype = 'cput',
gestaltNativeCPUfamily = 'cpuf',
gestaltCPU68000 = 0,
gestaltCPU68010 = 1,
gestaltCPU68020 = 2,
gestaltCPU68030 = 3,
gestaltCPU68040 = 4,
gestaltCPU601 = 0x0101,
gestaltCPU603 = 0x0103,
gestaltCPU604 = 0x0104,
gestaltCPU603e = 0x0106,
gestaltCPU603ev = 0x0107,
gestaltCPU750 = 0x0108,
gestaltCPU604e = 0x0109,
gestaltCPU604ev = 0x010A,
gestaltCPUG4 = 0x010C,
gestaltCPUG47450 = 0x0110
};
enum {
gestaltCPUApollo = 0x0111,
gestaltCPUG47447 = 0x0112,
gestaltCPU750FX = 0x0120,
gestaltCPU970 = 0x0139,
gestaltCPU970FX = 0x013C,
gestaltCPU970MP = 0x0144
};
enum {
gestaltCPU486 = 'i486',
gestaltCPUPentium = 'i586',
gestaltCPUPentiumPro = 'i5pr',
gestaltCPUPentiumII = 'i5ii',
gestaltCPUX86 = 'ixxx',
gestaltCPUPentium4 = 'i5iv'
};
enum {
gestaltCRMAttr = 'crm ',
gestaltCRMPresent = 0,
gestaltCRMPersistentFix = 1,
gestaltCRMToolRsrcCalls = 2
};
enum {
gestaltControlStripVersion = 'csvr'
};
enum {
gestaltCountOfCPUs = 'cpus'
};
enum {
gestaltCTBVersion = 'ctbv'
};
enum {
gestaltDBAccessMgrAttr = 'dbac',
gestaltDBAccessMgrPresent = 0
};
enum {
gestaltDiskCacheSize = 'dcsz'
};
enum {
gestaltSDPFindVersion = 'dfnd'
};
enum {
gestaltDictionaryMgrAttr = 'dict',
gestaltDictionaryMgrPresent = 0
};
enum {
gestaltDITLExtAttr = 'ditl',
gestaltDITLExtPresent = 0,
gestaltDITLExtSupportsIctb = 1
};
enum {
gestaltDialogMgrAttr = 'dlog',
gestaltDialogMgrPresent = (1L << 0),
gestaltDialogMgrPresentBit = 0,
gestaltDialogMgrHasAquaAlertBit = 2,
gestaltDialogMgrPresentMask = (1L << gestaltDialogMgrPresentBit),
gestaltDialogMgrHasAquaAlertMask = (1L << gestaltDialogMgrHasAquaAlertBit),
gestaltDialogMsgPresentMask = gestaltDialogMgrPresentMask
};
enum {
gestaltDesktopPicturesAttr = 'dkpx',
gestaltDesktopPicturesInstalled = 0,
gestaltDesktopPicturesDisplayed = 1
};
enum {
gestaltDisplayMgrVers = 'dplv'
};
enum {
gestaltDisplayMgrAttr = 'dply',
gestaltDisplayMgrPresent = 0,
gestaltDisplayMgrCanSwitchMirrored = 2,
gestaltDisplayMgrSetDepthNotifies = 3,
gestaltDisplayMgrCanConfirm = 4,
gestaltDisplayMgrColorSyncAware = 5,
gestaltDisplayMgrGeneratesProfiles = 6,
gestaltDisplayMgrSleepNotifies = 7
};
enum {
gestaltDragMgrAttr = 'drag',
gestaltDragMgrPresent = 0,
gestaltDragMgrFloatingWind = 1,
gestaltPPCDragLibPresent = 2,
gestaltDragMgrHasImageSupport = 3,
gestaltCanStartDragInFloatWindow = 4,
gestaltSetDragImageUpdates = 5
};
enum {
gestaltDrawSprocketVersion = 'dspv'
};
enum {
gestaltDigitalSignatureVersion = 'dsig'
};
enum {
gestaltDTPFeatures = 'dtpf',
kDTPThirdPartySupported = 0x00000004
};
enum {
gestaltDTPInfo = 'dtpx'
};
enum {
gestaltEasyAccessAttr = 'easy',
gestaltEasyAccessOff = 0,
gestaltEasyAccessOn = 1,
gestaltEasyAccessSticky = 2,
gestaltEasyAccessLocked = 3
};
enum {
gestaltEditionMgrAttr = 'edtn',
gestaltEditionMgrPresent = 0,
gestaltEditionMgrTranslationAware = 1
};
enum {
gestaltAppleEventsAttr = 'evnt',
gestaltAppleEventsPresent = 0,
gestaltScriptingSupport = 1,
gestaltOSLInSystem = 2,
gestaltSupportsApplicationURL = 4
};
enum {
gestaltExtensionTableVersion = 'etbl'
};
enum {
gestaltFBCIndexingState = 'fbci',
gestaltFBCindexingSafe = 0,
gestaltFBCindexingCritical = 1
};
enum {
gestaltFBCVersion = 'fbcv',
gestaltFBCCurrentVersion = 0x0011,
gestaltOSXFBCCurrentVersion = 0x0100
};
enum {
gestaltFileMappingAttr = 'flmp',
gestaltFileMappingPresent = 0,
gestaltFileMappingMultipleFilesFix = 1
};
enum {
gestaltFloppyAttr = 'flpy',
gestaltFloppyIsMFMOnly = 0,
gestaltFloppyIsManualEject = 1,
gestaltFloppyUsesDiskInPlace = 2
};
enum {
gestaltFinderAttr = 'fndr',
gestaltFinderDropEvent = 0,
gestaltFinderMagicPlacement = 1,
gestaltFinderCallsAEProcess = 2,
gestaltOSLCompliantFinder = 3,
gestaltFinderSupports4GBVolumes = 4,
gestaltFinderHasClippings = 6,
gestaltFinderFullDragManagerSupport = 7,
gestaltFinderFloppyRootComments = 8,
gestaltFinderLargeAndNotSavedFlavorsOK = 9,
gestaltFinderUsesExtensibleFolderManager = 10,
gestaltFinderUnderstandsRedirectedDesktopFolder = 11
};
enum {
gestaltFindFolderAttr = 'fold',
gestaltFindFolderPresent = 0,
gestaltFolderDescSupport = 1,
gestaltFolderMgrFollowsAliasesWhenResolving = 2,
gestaltFolderMgrSupportsExtendedCalls = 3,
gestaltFolderMgrSupportsDomains = 4,
gestaltFolderMgrSupportsFSCalls = 5
};
enum {
gestaltFindFolderRedirectionAttr = 'fole'
};
enum {
gestaltFontMgrAttr = 'font',
gestaltOutlineFonts = 0
};
enum {
gestaltFPUType = 'fpu ',
gestaltNoFPU = 0,
gestalt68881 = 1,
gestalt68882 = 2,
gestalt68040FPU = 3
};
enum {
gestaltFSAttr = 'fs ',
gestaltFullExtFSDispatching = 0,
gestaltHasFSSpecCalls = 1,
gestaltHasFileSystemManager = 2,
gestaltFSMDoesDynamicLoad = 3,
gestaltFSSupports4GBVols = 4,
gestaltFSSupports2TBVols = 5,
gestaltHasExtendedDiskInit = 6,
gestaltDTMgrSupportsFSM = 7,
gestaltFSNoMFSVols = 8,
gestaltFSSupportsHFSPlusVols = 9,
gestaltFSIncompatibleDFA82 = 10
};
enum {
gestaltFSSupportsDirectIO = 11
};
enum {
gestaltHasHFSPlusAPIs = 12,
gestaltMustUseFCBAccessors = 13,
gestaltFSUsesPOSIXPathsForConversion = 14,
gestaltFSSupportsExclusiveLocks = 15,
gestaltFSSupportsHardLinkDetection = 16,
gestaltFSAllowsConcurrentAsyncIO = 17
};
enum {
gestaltAdminFeaturesFlagsAttr = 'fred',
gestaltFinderUsesSpecialOpenFoldersFile = 0
};
enum {
gestaltFSMVersion = 'fsm '
};
enum {
gestaltFXfrMgrAttr = 'fxfr',
gestaltFXfrMgrPresent = 0,
gestaltFXfrMgrMultiFile = 1,
gestaltFXfrMgrErrorString = 2,
gestaltFXfrMgrAsync = 3
};
enum {
gestaltGraphicsAttr = 'gfxa',
gestaltGraphicsIsDebugging = 0x00000001,
gestaltGraphicsIsLoaded = 0x00000002,
gestaltGraphicsIsPowerPC = 0x00000004
};
enum {
gestaltGraphicsVersion = 'grfx',
gestaltCurrentGraphicsVersion = 0x00010200
};
enum {
gestaltHardwareAttr = 'hdwr',
gestaltHasVIA1 = 0,
gestaltHasVIA2 = 1,
gestaltHasASC = 3,
gestaltHasSCC = 4,
gestaltHasSCSI = 7,
gestaltHasSoftPowerOff = 19,
gestaltHasSCSI961 = 21,
gestaltHasSCSI962 = 22,
gestaltHasUniversalROM = 24,
gestaltHasEnhancedLtalk = 30
};
enum {
gestaltHelpMgrAttr = 'help',
gestaltHelpMgrPresent = 0,
gestaltHelpMgrExtensions = 1,
gestaltAppleGuideIsDebug = 30,
gestaltAppleGuidePresent = 31
};
enum {
gestaltHardwareVendorCode = 'hrad',
gestaltHardwareVendorApple = 'Appl'
};
enum {
gestaltCompressionMgr = 'icmp'
};
enum {
gestaltIconUtilitiesAttr = 'icon',
gestaltIconUtilitiesPresent = 0,
gestaltIconUtilitiesHas48PixelIcons = 1,
gestaltIconUtilitiesHas32BitIcons = 2,
gestaltIconUtilitiesHas8BitDeepMasks = 3,
gestaltIconUtilitiesHasIconServices = 4
};
enum {
gestaltInternalDisplay = 'idsp'
};
enum {
gestaltKeyboardType = 'kbd ',
gestaltMacKbd = 1,
gestaltMacAndPad = 2,
gestaltMacPlusKbd = 3,
gestaltUnknownThirdPartyKbd = 3,
gestaltExtADBKbd = 4,
gestaltStdADBKbd = 5,
gestaltPrtblADBKbd = 6,
gestaltPrtblISOKbd = 7,
gestaltStdISOADBKbd = 8,
gestaltExtISOADBKbd = 9,
gestaltADBKbdII = 10,
gestaltADBISOKbdII = 11,
gestaltPwrBookADBKbd = 12,
gestaltPwrBookISOADBKbd = 13,
gestaltAppleAdjustKeypad = 14,
gestaltAppleAdjustADBKbd = 15,
gestaltAppleAdjustISOKbd = 16,
gestaltJapanAdjustADBKbd = 17,
gestaltPwrBkExtISOKbd = 20,
gestaltPwrBkExtJISKbd = 21,
gestaltPwrBkExtADBKbd = 24,
gestaltPS2Keyboard = 27,
gestaltPwrBkSubDomKbd = 28,
gestaltPwrBkSubISOKbd = 29,
gestaltPwrBkSubJISKbd = 30,
gestaltPortableUSBANSIKbd = 37,
gestaltPortableUSBISOKbd = 38,
gestaltPortableUSBJISKbd = 39,
gestaltThirdPartyANSIKbd = 40,
gestaltThirdPartyISOKbd = 41,
gestaltThirdPartyJISKbd = 42,
gestaltPwrBkEKDomKbd = 195,
gestaltPwrBkEKISOKbd = 196,
gestaltPwrBkEKJISKbd = 197,
gestaltUSBCosmoANSIKbd = 198,
gestaltUSBCosmoISOKbd = 199,
gestaltUSBCosmoJISKbd = 200,
gestaltPwrBk99JISKbd = 201,
gestaltUSBAndyANSIKbd = 204,
gestaltUSBAndyISOKbd = 205,
gestaltUSBAndyJISKbd = 206
};
enum {
gestaltPortable2001ANSIKbd = 202,
gestaltPortable2001ISOKbd = 203,
gestaltPortable2001JISKbd = 207
};
enum {
gestaltUSBProF16ANSIKbd = 34,
gestaltUSBProF16ISOKbd = 35,
gestaltUSBProF16JISKbd = 36,
gestaltProF16ANSIKbd = 31,
gestaltProF16ISOKbd = 32,
gestaltProF16JISKbd = 33
};
enum {
gestaltUDFSupport = 'kudf'
};
enum {
gestaltLowMemorySize = 'lmem'
};
enum {
gestaltLogicalRAMSize = 'lram'
};
# 1212 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltMachineType = 'mach',
gestaltClassic = 1,
gestaltMacXL = 2,
gestaltMac512KE = 3,
gestaltMacPlus = 4,
gestaltMacSE = 5,
gestaltMacII = 6,
gestaltMacIIx = 7,
gestaltMacIIcx = 8,
gestaltMacSE030 = 9,
gestaltPortable = 10,
gestaltMacIIci = 11,
gestaltPowerMac8100_120 = 12,
gestaltMacIIfx = 13,
gestaltMacClassic = 17,
gestaltMacIIsi = 18,
gestaltMacLC = 19,
gestaltMacQuadra900 = 20,
gestaltPowerBook170 = 21,
gestaltMacQuadra700 = 22,
gestaltClassicII = 23,
gestaltPowerBook100 = 24,
gestaltPowerBook140 = 25,
gestaltMacQuadra950 = 26,
gestaltMacLCIII = 27,
gestaltPerforma450 = gestaltMacLCIII,
gestaltPowerBookDuo210 = 29,
gestaltMacCentris650 = 30,
gestaltPowerBookDuo230 = 32,
gestaltPowerBook180 = 33,
gestaltPowerBook160 = 34,
gestaltMacQuadra800 = 35,
gestaltMacQuadra650 = 36,
gestaltMacLCII = 37,
gestaltPowerBookDuo250 = 38,
gestaltAWS9150_80 = 39,
gestaltPowerMac8100_110 = 40,
gestaltAWS8150_110 = gestaltPowerMac8100_110,
gestaltPowerMac5200 = 41,
gestaltPowerMac5260 = gestaltPowerMac5200,
gestaltPerforma5300 = gestaltPowerMac5200,
gestaltPowerMac6200 = 42,
gestaltPerforma6300 = gestaltPowerMac6200,
gestaltMacIIvi = 44,
gestaltMacIIvm = 45,
gestaltPerforma600 = gestaltMacIIvm,
gestaltPowerMac7100_80 = 47,
gestaltMacIIvx = 48,
gestaltMacColorClassic = 49,
gestaltPerforma250 = gestaltMacColorClassic,
gestaltPowerBook165c = 50,
gestaltMacCentris610 = 52,
gestaltMacQuadra610 = 53,
gestaltPowerBook145 = 54,
gestaltPowerMac8100_100 = 55,
gestaltMacLC520 = 56,
gestaltAWS9150_120 = 57,
gestaltPowerMac6400 = 58,
gestaltPerforma6400 = gestaltPowerMac6400,
gestaltPerforma6360 = gestaltPerforma6400,
gestaltMacCentris660AV = 60,
gestaltMacQuadra660AV = gestaltMacCentris660AV,
gestaltPerforma46x = 62,
gestaltPowerMac8100_80 = 65,
gestaltAWS8150_80 = gestaltPowerMac8100_80,
gestaltPowerMac9500 = 67,
gestaltPowerMac9600 = gestaltPowerMac9500,
gestaltPowerMac7500 = 68,
gestaltPowerMac7600 = gestaltPowerMac7500,
gestaltPowerMac8500 = 69,
gestaltPowerMac8600 = gestaltPowerMac8500,
gestaltAWS8550 = gestaltPowerMac7500,
gestaltPowerBook180c = 71,
gestaltPowerBook520 = 72,
gestaltPowerBook520c = gestaltPowerBook520,
gestaltPowerBook540 = gestaltPowerBook520,
gestaltPowerBook540c = gestaltPowerBook520,
gestaltPowerMac5400 = 74,
gestaltPowerMac6100_60 = 75,
gestaltAWS6150_60 = gestaltPowerMac6100_60,
gestaltPowerBookDuo270c = 77,
gestaltMacQuadra840AV = 78,
gestaltPerforma550 = 80,
gestaltPowerBook165 = 84,
gestaltPowerBook190 = 85,
gestaltMacTV = 88,
gestaltMacLC475 = 89,
gestaltPerforma47x = gestaltMacLC475,
gestaltMacLC575 = 92,
gestaltMacQuadra605 = 94,
gestaltMacQuadra630 = 98,
gestaltMacLC580 = 99,
gestaltPerforma580 = gestaltMacLC580,
gestaltPowerMac6100_66 = 100,
gestaltAWS6150_66 = gestaltPowerMac6100_66,
gestaltPowerBookDuo280 = 102,
gestaltPowerBookDuo280c = 103,
gestaltPowerMacLC475 = 104,
gestaltPowerMacPerforma47x = gestaltPowerMacLC475,
gestaltPowerMacLC575 = 105,
gestaltPowerMacPerforma57x = gestaltPowerMacLC575,
gestaltPowerMacQuadra630 = 106,
gestaltPowerMacLC630 = gestaltPowerMacQuadra630,
gestaltPowerMacPerforma63x = gestaltPowerMacQuadra630,
gestaltPowerMac7200 = 108,
gestaltPowerMac7300 = 109,
gestaltPowerMac7100_66 = 112,
gestaltPowerBook150 = 115,
gestaltPowerMacQuadra700 = 116,
gestaltPowerMacQuadra900 = 117,
gestaltPowerMacQuadra950 = 118,
gestaltPowerMacCentris610 = 119,
gestaltPowerMacCentris650 = 120,
gestaltPowerMacQuadra610 = 121,
gestaltPowerMacQuadra650 = 122,
gestaltPowerMacQuadra800 = 123,
gestaltPowerBookDuo2300 = 124,
gestaltPowerBook500PPCUpgrade = 126,
gestaltPowerBook5300 = 128,
gestaltPowerBook1400 = 310,
gestaltPowerBook3400 = 306,
gestaltPowerBook2400 = 307,
gestaltPowerBookG3Series = 312,
gestaltPowerBookG3 = 313,
gestaltPowerBookG3Series2 = 314,
gestaltPowerMacNewWorld = 406,
gestaltPowerMacG3 = 510,
gestaltPowerMac5500 = 512,
gestalt20thAnniversary = gestaltPowerMac5500,
gestaltPowerMac6500 = 513,
gestaltPowerMac4400_160 = 514,
gestaltPowerMac4400 = 515,
gestaltMacOSCompatibility = 1206
};
enum {
gestaltQuadra605 = gestaltMacQuadra605,
gestaltQuadra610 = gestaltMacQuadra610,
gestaltQuadra630 = gestaltMacQuadra630,
gestaltQuadra650 = gestaltMacQuadra650,
gestaltQuadra660AV = gestaltMacQuadra660AV,
gestaltQuadra700 = gestaltMacQuadra700,
gestaltQuadra800 = gestaltMacQuadra800,
gestaltQuadra840AV = gestaltMacQuadra840AV,
gestaltQuadra900 = gestaltMacQuadra900,
gestaltQuadra950 = gestaltMacQuadra950
};
enum {
kMachineNameStrID = -16395
};
enum {
gestaltSMPMailerVersion = 'malr'
};
enum {
gestaltMediaBay = 'mbeh',
gestaltMBLegacy = 0,
gestaltMBSingleBay = 1,
gestaltMBMultipleBays = 2
};
enum {
gestaltMessageMgrVersion = 'mess'
};
enum {
gestaltMenuMgrAttr = 'menu',
gestaltMenuMgrPresent = (1L << 0),
gestaltMenuMgrPresentBit = 0,
gestaltMenuMgrAquaLayoutBit = 1,
gestaltMenuMgrMultipleItemsWithCommandIDBit = 2,
gestaltMenuMgrRetainsIconRefBit = 3,
gestaltMenuMgrSendsMenuBoundsToDefProcBit = 4,
gestaltMenuMgrMoreThanFiveMenusDeepBit = 5,
gestaltMenuMgrCGImageMenuTitleBit = 6,
gestaltMenuMgrPresentMask = (1L << gestaltMenuMgrPresentBit),
gestaltMenuMgrAquaLayoutMask = (1L << gestaltMenuMgrAquaLayoutBit),
gestaltMenuMgrMultipleItemsWithCommandIDMask = (1L << gestaltMenuMgrMultipleItemsWithCommandIDBit),
gestaltMenuMgrRetainsIconRefMask = (1L << gestaltMenuMgrRetainsIconRefBit),
gestaltMenuMgrSendsMenuBoundsToDefProcMask = (1L << gestaltMenuMgrSendsMenuBoundsToDefProcBit),
gestaltMenuMgrMoreThanFiveMenusDeepMask = (1L << gestaltMenuMgrMoreThanFiveMenusDeepBit),
gestaltMenuMgrCGImageMenuTitleMask = (1L << gestaltMenuMgrCGImageMenuTitleBit)
};
enum {
gestaltMultipleUsersState = 'mfdr'
};
enum {
gestaltMachineIcon = 'micn'
};
enum {
gestaltMiscAttr = 'misc',
gestaltScrollingThrottle = 0,
gestaltSquareMenuBar = 2
};
# 1436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltMixedModeVersion = 'mixd'
};
enum {
gestaltMixedModeAttr = 'mixd',
gestaltMixedModePowerPC = 0,
gestaltPowerPCAware = 0,
gestaltMixedModeCFM68K = 1,
gestaltMixedModeCFM68KHasTrap = 2,
gestaltMixedModeCFM68KHasState = 3
};
enum {
gestaltQuickTimeConferencing = 'mtlk'
};
enum {
gestaltMemoryMapAttr = 'mmap',
gestaltMemoryMapSparse = 0
};
enum {
gestaltMMUType = 'mmu ',
gestaltNoMMU = 0,
gestaltAMU = 1,
gestalt68851 = 2,
gestalt68030MMU = 3,
gestalt68040MMU = 4,
gestaltEMMU1 = 5
};
enum {
gestaltUserVisibleMachineName = 'mnam'
};
enum {
gestaltMPCallableAPIsAttr = 'mpsc',
gestaltMPFileManager = 0,
gestaltMPDeviceManager = 1,
gestaltMPTrapCalls = 2
};
enum {
gestaltStdNBPAttr = 'nlup',
gestaltStdNBPPresent = 0,
gestaltStdNBPSupportsAutoPosition = 1
};
enum {
gestaltNotificationMgrAttr = 'nmgr',
gestaltNotificationPresent = 0
};
enum {
gestaltNameRegistryVersion = 'nreg'
};
enum {
gestaltNuBusSlotCount = 'nubs'
};
enum {
gestaltOCEToolboxVersion = 'ocet',
gestaltOCETB = 0x0102,
gestaltSFServer = 0x0100
};
enum {
gestaltOCEToolboxAttr = 'oceu',
gestaltOCETBPresent = 0x01,
gestaltOCETBAvailable = 0x02,
gestaltOCESFServerAvailable = 0x04,
gestaltOCETBNativeGlueAvailable = 0x10
};
enum {
gestaltOpenFirmwareInfo = 'opfw'
};
enum {
gestaltOSAttr = 'os ',
gestaltSysZoneGrowable = 0,
gestaltLaunchCanReturn = 1,
gestaltLaunchFullFileSpec = 2,
gestaltLaunchControl = 3,
gestaltTempMemSupport = 4,
gestaltRealTempMemory = 5,
gestaltTempMemTracked = 6,
gestaltIPCSupport = 7,
gestaltSysDebuggerSupport = 8,
gestaltNativeProcessMgrBit = 19,
gestaltAltivecRegistersSwappedCorrectlyBit = 20
};
enum {
gestaltOSTable = 'ostt'
};
# 1545 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltOpenTptNetworkSetup = 'otcf',
gestaltOpenTptNetworkSetupLegacyImport = 0,
gestaltOpenTptNetworkSetupLegacyExport = 1,
gestaltOpenTptNetworkSetupSupportsMultihoming = 2
};
enum {
gestaltOpenTptNetworkSetupVersion = 'otcv'
};
enum {
gestaltOpenTptRemoteAccess = 'otra',
gestaltOpenTptRemoteAccessPresent = 0,
gestaltOpenTptRemoteAccessLoaded = 1,
gestaltOpenTptRemoteAccessClientOnly = 2,
gestaltOpenTptRemoteAccessPServer = 3,
gestaltOpenTptRemoteAccessMPServer = 4,
gestaltOpenTptPPPPresent = 5,
gestaltOpenTptARAPPresent = 6
};
enum {
gestaltOpenTptRemoteAccessVersion = 'otrv'
};
enum {
gestaltOpenTptVersions = 'otvr'
};
enum {
gestaltOpenTpt = 'otan',
gestaltOpenTptPresentMask = 0x00000001,
gestaltOpenTptLoadedMask = 0x00000002,
gestaltOpenTptAppleTalkPresentMask = 0x00000004,
gestaltOpenTptAppleTalkLoadedMask = 0x00000008,
gestaltOpenTptTCPPresentMask = 0x00000010,
gestaltOpenTptTCPLoadedMask = 0x00000020,
gestaltOpenTptIPXSPXPresentMask = 0x00000040,
gestaltOpenTptIPXSPXLoadedMask = 0x00000080,
gestaltOpenTptPresentBit = 0,
gestaltOpenTptLoadedBit = 1,
gestaltOpenTptAppleTalkPresentBit = 2,
gestaltOpenTptAppleTalkLoadedBit = 3,
gestaltOpenTptTCPPresentBit = 4,
gestaltOpenTptTCPLoadedBit = 5,
gestaltOpenTptIPXSPXPresentBit = 6,
gestaltOpenTptIPXSPXLoadedBit = 7
};
enum {
gestaltPCCard = 'pccd',
gestaltCardServicesPresent = 0,
gestaltPCCardFamilyPresent = 1,
gestaltPCCardHasPowerControl = 2,
gestaltPCCardSupportsCardBus = 3
};
enum {
gestaltProcClkSpeed = 'pclk'
};
enum {
gestaltProcClkSpeedMHz = 'mclk'
};
enum {
gestaltPCXAttr = 'pcxg',
gestaltPCXHas8and16BitFAT = 0,
gestaltPCXHasProDOS = 1,
gestaltPCXNewUI = 2,
gestaltPCXUseICMapping = 3
};
enum {
gestaltLogicalPageSize = 'pgsz'
};
# 1644 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltScreenCaptureMain = 'pic1',
gestaltScreenCaptureDir = 'pic2'
};
enum {
gestaltGXPrintingMgrVersion = 'pmgr'
};
enum {
gestaltPopupAttr = 'pop!',
gestaltPopupPresent = 0
};
enum {
gestaltPowerMgrAttr = 'powr',
gestaltPMgrExists = 0,
gestaltPMgrCPUIdle = 1,
gestaltPMgrSCC = 2,
gestaltPMgrSound = 3,
gestaltPMgrDispatchExists = 4,
gestaltPMgrSupportsAVPowerStateAtSleepWake = 5
};
enum {
gestaltPowerMgrVers = 'pwrv'
};
enum {
gestaltPPCToolboxAttr = 'ppc ',
gestaltPPCToolboxPresent = 0x0000,
gestaltPPCSupportsRealTime = 0x1000,
gestaltPPCSupportsIncoming = 0x0001,
gestaltPPCSupportsOutGoing = 0x0002,
gestaltPPCSupportsTCP_IP = 0x0004,
gestaltPPCSupportsIncomingAppleTalk = 0x0010,
gestaltPPCSupportsIncomingTCP_IP = 0x0020,
gestaltPPCSupportsOutgoingAppleTalk = 0x0100,
gestaltPPCSupportsOutgoingTCP_IP = 0x0200
};
enum {
gestaltPowerPCProcessorFeatures = 'ppcf',
gestaltPowerPCHasGraphicsInstructions = 0,
gestaltPowerPCHasSTFIWXInstruction = 1,
gestaltPowerPCHasSquareRootInstructions = 2,
gestaltPowerPCHasDCBAInstruction = 3,
gestaltPowerPCHasVectorInstructions = 4,
gestaltPowerPCHasDataStreams = 5,
gestaltPowerPCHas64BitSupport = 6,
gestaltPowerPCHasDCBTStreams = 7,
gestaltPowerPCASArchitecture = 8,
gestaltPowerPCIgnoresDCBST = 9
};
enum {
gestaltProcessorType = 'proc',
gestalt68000 = 1,
gestalt68010 = 2,
gestalt68020 = 3,
gestalt68030 = 4,
gestalt68040 = 5
};
enum {
gestaltSDPPromptVersion = 'prpv'
};
enum {
gestaltParityAttr = 'prty',
gestaltHasParityCapability = 0,
gestaltParityEnabled = 1
};
enum {
gestaltQD3DVersion = 'q3v '
};
enum {
gestaltQD3DViewer = 'q3vc',
gestaltQD3DViewerPresent = 0
};
# 1746 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltQuickdrawVersion = 'qd ',
gestaltOriginalQD = 0x0000,
gestalt8BitQD = 0x0100,
gestalt32BitQD = 0x0200,
gestalt32BitQD11 = 0x0201,
gestalt32BitQD12 = 0x0220,
gestalt32BitQD13 = 0x0230,
gestaltAllegroQD = 0x0250,
gestaltMacOSXQD = 0x0300
};
enum {
gestaltQD3D = 'qd3d',
gestaltQD3DPresent = 0
};
# 1771 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltGXVersion = 'qdgx'
};
enum {
gestaltQuickdrawFeatures = 'qdrw',
gestaltHasColor = 0,
gestaltHasDeepGWorlds = 1,
gestaltHasDirectPixMaps = 2,
gestaltHasGrayishTextOr = 3,
gestaltSupportsMirroring = 4,
gestaltQDHasLongRowBytes = 5
};
enum {
gestaltQDTextVersion = 'qdtx',
gestaltOriginalQDText = 0x0000,
gestaltAllegroQDText = 0x0100,
gestaltMacOSXQDText = 0x0200
};
enum {
gestaltQDTextFeatures = 'qdtf',
gestaltWSIISupport = 0,
gestaltSbitFontSupport = 1,
gestaltAntiAliasedTextAvailable = 2,
gestaltOFA2available = 3,
gestaltCreatesAliasFontRsrc = 4,
gestaltNativeType1FontSupport = 5,
gestaltCanUseCGTextRendering = 6
};
enum {
gestaltQuickTimeConferencingInfo = 'qtci'
};
enum {
gestaltQuickTimeVersion = 'qtim',
gestaltQuickTime = 'qtim'
};
enum {
gestaltQuickTimeFeatures = 'qtrs',
gestaltPPCQuickTimeLibPresent = 0
};
enum {
gestaltQuickTimeStreamingFeatures = 'qtsf'
};
enum {
gestaltQuickTimeStreamingVersion = 'qtst'
};
enum {
gestaltQuickTimeThreadSafeFeaturesAttr = 'qtth',
gestaltQuickTimeThreadSafeICM = 0,
gestaltQuickTimeThreadSafeMovieToolbox = 1,
gestaltQuickTimeThreadSafeMovieImport = 2,
gestaltQuickTimeThreadSafeMovieExport = 3,
gestaltQuickTimeThreadSafeGraphicsImport = 4,
gestaltQuickTimeThreadSafeGraphicsExport = 5,
gestaltQuickTimeThreadSafeMoviePlayback = 6
};
enum {
gestaltQTVRMgrAttr = 'qtvr',
gestaltQTVRMgrPresent = 0,
gestaltQTVRObjMoviesPresent = 1,
gestaltQTVRCylinderPanosPresent = 2,
gestaltQTVRCubicPanosPresent = 3
};
enum {
gestaltQTVRMgrVers = 'qtvv'
};
# 1861 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltPhysicalRAMSize = 'ram '
};
enum {
gestaltPhysicalRAMSizeInMegabytes = 'ramm'
};
enum {
gestaltRBVAddr = 'rbv '
};
enum {
gestaltROMSize = 'rom '
};
enum {
gestaltROMVersion = 'romv'
};
enum {
gestaltResourceMgrAttr = 'rsrc',
gestaltPartialRsrcs = 0,
gestaltHasResourceOverrides = 1
};
enum {
gestaltResourceMgrBugFixesAttrs = 'rmbg',
gestaltRMForceSysHeapRolledIn = 0,
gestaltRMFakeAppleMenuItemsRolledIn = 1,
gestaltSanityCheckResourceFiles = 2,
gestaltSupportsFSpResourceFileAlreadyOpenBit = 3,
gestaltRMSupportsFSCalls = 4,
gestaltRMTypeIndexOrderingReverse = 8
};
enum {
gestaltRealtimeMgrAttr = 'rtmr',
gestaltRealtimeMgrPresent = 0
};
enum {
gestaltSafeOFAttr = 'safe',
gestaltVMZerosPagesBit = 0,
gestaltInitHeapZerosOutHeapsBit = 1,
gestaltNewHandleReturnsZeroedMemoryBit = 2,
gestaltNewPtrReturnsZeroedMemoryBit = 3,
gestaltFileAllocationZeroedBlocksBit = 4
};
enum {
gestaltSCCReadAddr = 'sccr'
};
enum {
gestaltSCCWriteAddr = 'sccw'
};
enum {
gestaltScrapMgrAttr = 'scra',
gestaltScrapMgrTranslationAware = 0
};
enum {
gestaltScriptMgrVersion = 'scri'
};
enum {
gestaltScriptCount = 'scr#'
};
enum {
gestaltSCSI = 'scsi',
gestaltAsyncSCSI = 0,
gestaltAsyncSCSIINROM = 1,
gestaltSCSISlotBoot = 2,
gestaltSCSIPollSIH = 3
};
enum {
gestaltControlStripAttr = 'sdev',
gestaltControlStripExists = 0,
gestaltControlStripVersionFixed = 1,
gestaltControlStripUserFont = 2,
gestaltControlStripUserHotKey = 3
};
enum {
gestaltSDPStandardDirectoryVersion = 'sdvr'
};
enum {
gestaltSerialAttr = 'ser ',
gestaltHasGPIaToDCDa = 0,
gestaltHasGPIaToRTxCa = 1,
gestaltHasGPIbToDCDb = 2,
gestaltHidePortA = 3,
gestaltHidePortB = 4,
gestaltPortADisabled = 5,
gestaltPortBDisabled = 6
};
enum {
gestaltShutdownAttributes = 'shut',
gestaltShutdownHassdOnBootVolUnmount = 0
};
enum {
gestaltNuBusConnectors = 'sltc'
};
enum {
gestaltSlotAttr = 'slot',
gestaltSlotMgrExists = 0,
gestaltNuBusPresent = 1,
gestaltSESlotPresent = 2,
gestaltSE30SlotPresent = 3,
gestaltPortableSlotPresent = 4
};
enum {
gestaltFirstSlotNumber = 'slt1'
};
enum {
gestaltSoundAttr = 'snd ',
gestaltStereoCapability = 0,
gestaltStereoMixing = 1,
gestaltSoundIOMgrPresent = 3,
gestaltBuiltInSoundInput = 4,
gestaltHasSoundInputDevice = 5,
gestaltPlayAndRecord = 6,
gestalt16BitSoundIO = 7,
gestaltStereoInput = 8,
gestaltLineLevelInput = 9,
gestaltSndPlayDoubleBuffer = 10,
gestaltMultiChannels = 11,
gestalt16BitAudioSupport = 12
};
enum {
gestaltSplitOSAttr = 'spos',
gestaltSplitOSBootDriveIsNetworkVolume = 0,
gestaltSplitOSAware = 1,
gestaltSplitOSEnablerVolumeIsDifferentFromBootVolume = 2,
gestaltSplitOSMachineNameSetToNetworkNameTemp = 3,
gestaltSplitOSMachineNameStartupDiskIsNonPersistent = 5
};
enum {
gestaltSMPSPSendLetterVersion = 'spsl'
};
enum {
gestaltSpeechRecognitionAttr = 'srta',
gestaltDesktopSpeechRecognition = 1,
gestaltTelephoneSpeechRecognition = 2
};
enum {
gestaltSpeechRecognitionVersion = 'srtb'
};
enum {
gestaltSoftwareVendorCode = 'srad',
gestaltSoftwareVendorApple = 'Appl',
gestaltSoftwareVendorLicensee = 'Lcns'
};
enum {
gestaltStandardFileAttr = 'stdf',
gestaltStandardFile58 = 0,
gestaltStandardFileTranslationAware = 1,
gestaltStandardFileHasColorIcons = 2,
gestaltStandardFileUseGenericIcons = 3,
gestaltStandardFileHasDynamicVolumeAllocation = 4
};
enum {
gestaltSysArchitecture = 'sysa',
gestalt68k = 1,
gestaltPowerPC = 2,
gestaltIntel = 10
};
enum {
gestaltSystemUpdateVersion = 'sysu'
};
# 2080 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltSystemVersion = 'sysv',
gestaltSystemVersionMajor = 'sys1',
gestaltSystemVersionMinor = 'sys2',
gestaltSystemVersionBugFix = 'sys3'
};
enum {
gestaltToolboxTable = 'tbtt'
};
enum {
gestaltTextEditVersion = 'te ',
gestaltTE1 = 1,
gestaltTE2 = 2,
gestaltTE3 = 3,
gestaltTE4 = 4,
gestaltTE5 = 5
};
enum {
gestaltTE6 = 6
};
enum {
gestaltTEAttr = 'teat',
gestaltTEHasGetHiliteRgn = 0,
gestaltTESupportsInlineInput = 1,
gestaltTESupportsTextObjects = 2,
gestaltTEHasWhiteBackground = 3
};
enum {
gestaltTeleMgrAttr = 'tele',
gestaltTeleMgrPresent = 0,
gestaltTeleMgrPowerPCSupport = 1,
gestaltTeleMgrSoundStreams = 2,
gestaltTeleMgrAutoAnswer = 3,
gestaltTeleMgrIndHandset = 4,
gestaltTeleMgrSilenceDetect = 5,
gestaltTeleMgrNewTELNewSupport = 6
};
enum {
gestaltTermMgrAttr = 'term',
gestaltTermMgrPresent = 0,
gestaltTermMgrErrorString = 2
};
enum {
gestaltThreadMgrAttr = 'thds',
gestaltThreadMgrPresent = 0,
gestaltSpecificMatchSupport = 1,
gestaltThreadsLibraryPresent = 2
};
enum {
gestaltTimeMgrVersion = 'tmgr',
gestaltStandardTimeMgr = 1,
gestaltRevisedTimeMgr = 2,
gestaltExtendedTimeMgr = 3,
gestaltNativeTimeMgr = 4
};
enum {
gestaltTSMTEVersion = 'tmTV',
gestaltTSMTE1 = 0x0100,
gestaltTSMTE15 = 0x0150,
gestaltTSMTE152 = 0x0152
};
enum {
gestaltTSMTEAttr = 'tmTE',
gestaltTSMTEPresent = 0,
gestaltTSMTE = 0
};
enum {
gestaltAVLTreeAttr = 'tree',
gestaltAVLTreePresentBit = 0,
gestaltAVLTreeSupportsHandleBasedTreeBit = 1,
gestaltAVLTreeSupportsTreeLockingBit = 2
};
enum {
gestaltALMAttr = 'trip',
gestaltALMPresent = 0,
gestaltALMHasSFGroup = 1,
gestaltALMHasCFMSupport = 2,
gestaltALMHasRescanNotifiers = 3
};
enum {
gestaltALMHasSFLocation = gestaltALMHasSFGroup
};
enum {
gestaltTSMgrVersion = 'tsmv',
gestaltTSMgr15 = 0x0150,
gestaltTSMgr20 = 0x0200,
gestaltTSMgr22 = 0x0220,
gestaltTSMgr23 = 0x0230
};
enum {
gestaltTSMgrAttr = 'tsma',
gestaltTSMDisplayMgrAwareBit = 0,
gestaltTSMdoesTSMTEBit = 1
};
enum {
gestaltSpeechAttr = 'ttsc',
gestaltSpeechMgrPresent = 0,
gestaltSpeechHasPPCGlue = 1
};
enum {
gestaltTVAttr = 'tv ',
gestaltHasTVTuner = 0,
gestaltHasSoundFader = 1,
gestaltHasHWClosedCaptioning = 2,
gestaltHasIRRemote = 3,
gestaltHasVidDecoderScaler = 4,
gestaltHasStereoDecoder = 5,
gestaltHasSerialFader = 6,
gestaltHasFMTuner = 7,
gestaltHasSystemIRFunction = 8,
gestaltIRDisabled = 9,
gestaltINeedIRPowerOffConfirm = 10,
gestaltHasZoomedVideo = 11
};
enum {
gestaltATSUVersion = 'uisv',
gestaltOriginalATSUVersion = (1 << 16),
gestaltATSUUpdate1 = (2 << 16),
gestaltATSUUpdate2 = (3 << 16),
gestaltATSUUpdate3 = (4 << 16),
gestaltATSUUpdate4 = (5 << 16),
gestaltATSUUpdate5 = (6 << 16),
gestaltATSUUpdate6 = (7 << 16),
gestaltATSUUpdate7 = (8 << 16)
};
enum {
gestaltATSUFeatures = 'uisf',
gestaltATSUTrackingFeature = 0x00000001,
gestaltATSUMemoryFeature = 0x00000001,
gestaltATSUFallbacksFeature = 0x00000001,
gestaltATSUGlyphBoundsFeature = 0x00000001,
gestaltATSULineControlFeature = 0x00000001,
gestaltATSULayoutCreateAndCopyFeature = 0x00000001,
gestaltATSULayoutCacheClearFeature = 0x00000001,
gestaltATSUTextLocatorUsageFeature = 0x00000002,
gestaltATSULowLevelOrigFeatures = 0x00000004,
gestaltATSUFallbacksObjFeatures = 0x00000008,
gestaltATSUIgnoreLeadingFeature = 0x00000008,
gestaltATSUByCharacterClusterFeature = 0x00000010,
gestaltATSUAscentDescentControlsFeature = 0x00000010,
gestaltATSUHighlightInactiveTextFeature = 0x00000010,
gestaltATSUPositionToCursorFeature = 0x00000010,
gestaltATSUBatchBreakLinesFeature = 0x00000010,
gestaltATSUTabSupportFeature = 0x00000010,
gestaltATSUDirectAccess = 0x00000010,
gestaltATSUDecimalTabFeature = 0x00000020,
gestaltATSUBiDiCursorPositionFeature = 0x00000020,
gestaltATSUNearestCharLineBreakFeature = 0x00000020,
gestaltATSUHighlightColorControlFeature = 0x00000020,
gestaltATSUUnderlineOptionsStyleFeature = 0x00000020,
gestaltATSUStrikeThroughStyleFeature = 0x00000020,
gestaltATSUDropShadowStyleFeature = 0x00000020
};
enum {
gestaltUSBAttr = 'usb ',
gestaltUSBPresent = 0,
gestaltUSBHasIsoch = 1
};
enum {
gestaltUSBVersion = 'usbv'
};
enum {
gestaltVersion = 'vers',
gestaltValueImplementedVers = 5
};
enum {
gestaltVIA1Addr = 'via1'
};
enum {
gestaltVIA2Addr = 'via2'
};
enum {
gestaltVMAttr = 'vm ',
gestaltVMPresent = 0,
gestaltVMHasLockMemoryForOutput = 1,
gestaltVMFilemappingOn = 3,
gestaltVMHasPagingControl = 4
};
enum {
gestaltVMInfoType = 'vmin',
gestaltVMInfoSizeStorageType = 0,
gestaltVMInfoSizeType = 1,
gestaltVMInfoSimpleType = 2,
gestaltVMInfoNoneType = 3
};
enum {
gestaltVMBackingStoreFileRefNum = 'vmbs'
};
enum {
gestaltALMVers = 'walk'
};
enum {
gestaltWindowMgrAttr = 'wind',
gestaltWindowMgrPresent = (1L << 0),
gestaltWindowMgrPresentBit = 0,
gestaltExtendedWindowAttributes = 1,
gestaltExtendedWindowAttributesBit = 1,
gestaltHasFloatingWindows = 2,
gestaltHasFloatingWindowsBit = 2,
gestaltHasWindowBuffering = 3,
gestaltHasWindowBufferingBit = 3,
gestaltWindowLiveResizeBit = 4,
gestaltWindowMinimizeToDockBit = 5,
gestaltHasWindowShadowsBit = 6,
gestaltSheetsAreWindowModalBit = 7,
gestaltFrontWindowMayBeHiddenBit = 8,
gestaltWindowMgrPresentMask = (1L << gestaltWindowMgrPresentBit),
gestaltExtendedWindowAttributesMask = (1L << gestaltExtendedWindowAttributesBit),
gestaltHasFloatingWindowsMask = (1L << gestaltHasFloatingWindowsBit),
gestaltHasWindowBufferingMask = (1L << gestaltHasWindowBufferingBit),
gestaltWindowLiveResizeMask = (1L << gestaltWindowLiveResizeBit),
gestaltWindowMinimizeToDockMask = (1L << gestaltWindowMinimizeToDockBit),
gestaltHasWindowShadowsMask = (1L << gestaltHasWindowShadowsBit),
gestaltSheetsAreWindowModalMask = (1L << gestaltSheetsAreWindowModalBit),
gestaltFrontWindowMayBeHiddenMask = (1L << gestaltFrontWindowMayBeHiddenBit)
};
enum {
gestaltHasSingleWindowModeBit = 8,
gestaltHasSingleWindowModeMask = (1L << gestaltHasSingleWindowModeBit)
};
enum {
gestaltX86Features = 'x86f',
gestaltX86HasFPU = 0,
gestaltX86HasVME = 1,
gestaltX86HasDE = 2,
gestaltX86HasPSE = 3,
gestaltX86HasTSC = 4,
gestaltX86HasMSR = 5,
gestaltX86HasPAE = 6,
gestaltX86HasMCE = 7,
gestaltX86HasCX8 = 8,
gestaltX86HasAPIC = 9,
gestaltX86HasSEP = 11,
gestaltX86HasMTRR = 12,
gestaltX86HasPGE = 13,
gestaltX86HasMCA = 14,
gestaltX86HasCMOV = 15,
gestaltX86HasPAT = 16,
gestaltX86HasPSE36 = 17,
gestaltX86HasPSN = 18,
gestaltX86HasCLFSH = 19,
gestaltX86Serviced20 = 20,
gestaltX86HasDS = 21,
gestaltX86ResACPI = 22,
gestaltX86HasMMX = 23,
gestaltX86HasFXSR = 24,
gestaltX86HasSSE = 25,
gestaltX86HasSSE2 = 26,
gestaltX86HasSS = 27,
gestaltX86HasHTT = 28,
gestaltX86HasTM = 29
};
enum {
gestaltX86AdditionalFeatures = 'x86a',
gestaltX86HasSSE3 = 0,
gestaltX86HasMONITOR = 3,
gestaltX86HasDSCPL = 4,
gestaltX86HasVMX = 5,
gestaltX86HasSMX = 6,
gestaltX86HasEST = 7,
gestaltX86HasTM2 = 8,
gestaltX86HasSupplementalSSE3 = 9,
gestaltX86HasCID = 10,
gestaltX86HasCX16 = 13,
gestaltX86HasxTPR = 14
};
enum {
gestaltTranslationAttr = 'xlat',
gestaltTranslationMgrExists = 0,
gestaltTranslationMgrHintOrder = 1,
gestaltTranslationPPCAvail = 2,
gestaltTranslationGetPathAPIAvail = 3
};
enum {
gestaltExtToolboxTable = 'xttt'
};
enum {
gestaltUSBPrinterSharingVersion = 'zak ',
gestaltUSBPrinterSharingVersionMask = 0x0000FFFF,
gestaltUSBPrinterSharingAttr = 'zak ',
gestaltUSBPrinterSharingAttrMask = (long)0xFFFF0000,
gestaltUSBPrinterSharingAttrRunning = (long)0x80000000,
gestaltUSBPrinterSharingAttrBooted = 0x40000000
};
enum {
gestaltWorldScriptIIVersion = 'doub',
gestaltWorldScriptIIAttr = 'wsat',
gestaltWSIICanPrintWithoutPrGeneralBit = 0
};
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
#define __MACMEMORY__
# 40 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
#pragma pack(push, 2)
enum {
maxSize = 0x7FFFFFF0
};
#define __MAC_OS_X_MEMORY_MANAGER_CLEAN__ 0
enum {
defaultPhysicalEntryCount = 8
};
enum {
kPageInMemory = 0,
kPageOnDisk = 1,
kNotPaged = 2
};
enum {
k32BitHeap = 1,
kNewStyleHeap = 2,
kNewDebugHeap = 4
};
enum {
kHandleIsResourceBit = 5,
kHandlePurgeableBit = 6,
kHandleLockedBit = 7
};
enum {
kHandleIsResourceMask = 0x20,
kHandlePurgeableMask = 0x40,
kHandleLockedMask = 0x80
};
typedef long ( * GrowZoneProcPtr)(Size cbNeeded);
typedef void ( * PurgeProcPtr)(Handle blockToPurge);
typedef void ( * UserFnProcPtr)(void * parameter);
typedef GrowZoneProcPtr GrowZoneUPP;
typedef PurgeProcPtr PurgeUPP;
typedef UserFnProcPtr UserFnUPP;
struct Zone {
Ptr bkLim;
Ptr purgePtr;
Ptr hFstFree;
long zcbFree;
GrowZoneUPP gzProc;
short moreMast;
short flags;
short cntRel;
short maxRel;
short cntNRel;
SInt8 heapType;
SInt8 unused;
short cntEmpty;
short cntHandles;
long minCBFree;
PurgeUPP purgeProc;
Ptr sparePtr;
Ptr allocPtr;
short heapData;
};
typedef struct Zone Zone;
typedef Zone * THz;
typedef THz * THzPtr;
struct MemoryBlock {
void * address;
unsigned long count;
};
typedef struct MemoryBlock MemoryBlock;
struct LogicalToPhysicalTable {
MemoryBlock logical;
MemoryBlock physical[8];
};
typedef struct LogicalToPhysicalTable LogicalToPhysicalTable;
typedef short PageState;
typedef short StatusRegisterContents;
enum {
kVolumeVirtualMemoryInfoVersion1 = 1
};
struct VolumeVirtualMemoryInfo {
PBVersion version;
SInt16 volumeRefNum;
Boolean inUse;
UInt8 _fill;
UInt32 vmOptions;
};
typedef struct VolumeVirtualMemoryInfo VolumeVirtualMemoryInfo;
typedef VolumeVirtualMemoryInfo * VolumeVirtualMemoryInfoPtr;
# 160 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern GrowZoneUPP
NewGrowZoneUPP(GrowZoneProcPtr userRoutine) __attribute__((deprecated));
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern PurgeUPP
NewPurgeUPP(PurgeProcPtr userRoutine) __attribute__((deprecated));
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern UserFnUPP
NewUserFnUPP(UserFnProcPtr userRoutine) __attribute__((deprecated));
# 193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
DisposeGrowZoneUPP(GrowZoneUPP userUPP) __attribute__((deprecated));
# 204 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
DisposePurgeUPP(PurgeUPP userUPP) __attribute__((deprecated));
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
DisposeUserFnUPP(UserFnUPP userUPP) __attribute__((deprecated));
# 226 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern long
InvokeGrowZoneUPP(
Size cbNeeded,
GrowZoneUPP userUPP) __attribute__((deprecated));
# 239 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
InvokePurgeUPP(
Handle blockToPurge,
PurgeUPP userUPP) __attribute__((deprecated));
# 252 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
InvokeUserFnUPP(
void * parameter,
UserFnUPP userUPP) __attribute__((deprecated));
# 269 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
#define NewGrowZoneUPP(userRoutine) ((GrowZoneUPP)userRoutine)
#define NewPurgeUPP(userRoutine) ((PurgeUPP)userRoutine)
#define NewUserFnUPP(userRoutine) ((UserFnUPP)userRoutine)
#define DisposeGrowZoneUPP(userUPP)
#define DisposePurgeUPP(userUPP)
#define DisposeUserFnUPP(userUPP)
#define InvokeGrowZoneUPP(cbNeeded,userUPP) (*userUPP)(cbNeeded)
#define InvokePurgeUPP(blockToPurge,userUPP) (*userUPP)(blockToPurge)
#define InvokeUserFnUPP(parameter,userUPP) (*userUPP)(parameter)
# 326 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
MemError(void) ;
# 377 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern SInt16
LMGetMemErr(void) ;
# 404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
LMSetMemErr(SInt16 value) ;
# 447 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
NewHandle(Size byteCount) ;
# 489 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
NewHandleClear(Size byteCount) ;
# 528 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
RecoverHandle(Ptr p) ;
# 564 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Ptr
NewPtr(Size byteCount) ;
# 601 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Ptr
NewPtrClear(Size byteCount) ;
# 627 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern long
MaxBlock(void) __attribute__((deprecated));
# 645 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern long
StackSpace(void) __attribute__((deprecated));
# 672 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
NewEmptyHandle(void) ;
# 721 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HLock(Handle h) ;
# 754 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HLockHi(Handle h) ;
# 787 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HUnlock(Handle h) ;
# 829 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HPurge(Handle h) __attribute__((deprecated));
# 858 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HNoPurge(Handle h) __attribute__((deprecated));
# 911 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
TempNewHandle(
Size logicalSize,
OSErr * resultCode) ;
# 943 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Size
TempMaxMem(Size * grow) __attribute__((deprecated));
# 968 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern long
TempFreeMem(void) __attribute__((deprecated));
# 992 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Size
CompactMem(Size cbNeeded) __attribute__((deprecated));
# 1016 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
PurgeMem(Size cbNeeded) __attribute__((deprecated));
# 1040 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern long
FreeMem(void) __attribute__((deprecated));
# 1069 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Size
MaxMem(Size * grow) __attribute__((deprecated));
# 1096 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
SetGrowZone(GrowZoneUPP growZone) __attribute__((deprecated));
# 1118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern GrowZoneUPP
GetGrowZone(void) __attribute__((deprecated));
# 1149 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
MoveHHi(Handle h) __attribute__((deprecated));
# 1184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
DisposePtr(Ptr p) ;
# 1217 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Size
GetPtrSize(Ptr p) ;
# 1232 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
SetPtrSize(
Ptr p,
Size newSize) ;
# 1274 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
DisposeHandle(Handle h) ;
# 1317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
SetHandleSize(
Handle h,
Size newSize) ;
# 1352 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Size
GetHandleSize(Handle h) ;
# 1394 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
ReallocateHandle(
Handle h,
Size byteCount) ;
# 1442 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
EmptyHandle(Handle h) ;
# 1460 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HSetRBit(Handle h) ;
# 1478 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HClrRBit(Handle h) ;
# 1534 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern SInt8
HGetState(Handle h) ;
# 1565 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HSetState(
Handle h,
SInt8 flags) ;
# 1594 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void BlockMove(const void *srcPtr,void *destPtr,Size byteCount);
# 1604 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void BlockMoveData(const void *srcPtr,void *destPtr,Size byteCount);
# 1614 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void BlockMoveUncached(const void *srcPtr,void *destPtr,Size byteCount);
# 1624 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void BlockMoveDataUncached(const void *srcPtr,void *destPtr,Size byteCount);
# 1634 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void BlockZero(void *destPtr,Size byteCount);
# 1644 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void BlockZeroUncached(void *destPtr,Size byteCount);
# 1690 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
HandToHand(Handle * theHndl) ;
# 1725 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
PtrToXHand(
const void * srcPtr,
Handle dstHndl,
long size) ;
# 1768 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
PtrToHand(
const void * srcPtr,
Handle * dstHndl,
long size) ;
# 1823 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
HandAndHand(
Handle hand1,
Handle hand2) ;
# 1865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
PtrAndHand(
const void * ptr1,
Handle hand2,
long size) ;
# 1888 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
MoreMasters(void) __attribute__((deprecated));
# 1912 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
MoreMasterPointers(UInt32 inCount) __attribute__((deprecated));
# 1932 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
TempHLock(
Handle h,
OSErr * resultCode) __attribute__((deprecated));
# 1953 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
TempHUnlock(
Handle h,
OSErr * resultCode) __attribute__((deprecated));
# 1974 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
TempDisposeHandle(
Handle h,
OSErr * resultCode) __attribute__((deprecated));
# 1995 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Ptr
TempTopMem(void) __attribute__((deprecated));
# 2020 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
HoldMemory(
void * address,
unsigned long count) __attribute__((deprecated));
# 2041 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
UnholdMemory(
void * address,
unsigned long count) __attribute__((deprecated));
# 2070 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
MakeMemoryResident(
void * address,
unsigned long count) __attribute__((deprecated));
# 2099 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
ReleaseMemoryData(
void * address,
unsigned long count) __attribute__((deprecated));
# 2128 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
MakeMemoryNonResident(
void * address,
unsigned long count) __attribute__((deprecated));
# 2157 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
FlushMemory(
void * address,
unsigned long count) __attribute__((deprecated));
# 2178 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
GZSaveHnd(void) __attribute__((deprecated));
# 2196 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Ptr
TopMem(void) __attribute__((deprecated));
# 2214 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
ReserveMem(Size cbNeeded) __attribute__((deprecated));
# 2242 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
PurgeSpace(
long * total,
long * contig) __attribute__((deprecated));
# 2267 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern long
PurgeSpaceTotal(void) __attribute__((deprecated));
# 2290 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern long
PurgeSpaceContiguous(void) __attribute__((deprecated));
# 2312 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Boolean
CheckAllHeaps(void) __attribute__((deprecated));
# 2332 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Boolean
IsHeapValid(void) ;
# 2348 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Boolean
IsHandleValid(Handle h) ;
# 2364 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Boolean
IsPointerValid(Ptr p) ;
# 2401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern THz
LMGetSysZone(void) __attribute__((deprecated));
# 2419 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
LMSetSysZone(THz value) __attribute__((deprecated));
# 2437 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern THz
LMGetApplZone(void) __attribute__((deprecated));
# 2455 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
LMSetApplZone(THz value) __attribute__((deprecated));
# 2524 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
#pragma pack(pop)
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
#define __MATH64__
# 51 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Max(void);
#define S64Max() (9223372036854775807LL)
# 73 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Min(void);
#define S64Min() (-S64Max() - 1)
# 98 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Add(
SInt64 left,
SInt64 right);
#define S64Add(left,right) ((SInt64)(left) + (SInt64)(right))
# 125 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Subtract(
SInt64 left,
SInt64 right);
#define S64Subtract(left,right) ((SInt64)(left) - (SInt64)(right))
# 152 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Negate(SInt64 value);
#define S64Negate(value) (-(SInt64)(value))
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Multiply(
SInt64 left,
SInt64 right);
#define S64Multiply(left,right) ((SInt64)(left) * (SInt64)(right))
# 232 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Mod(
SInt64 dividend,
SInt64 divisor);
#define S64Mod(dividend,divisor) ((SInt64)(dividend) % (SInt64)(divisor))
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Divide(
SInt64 dividend,
SInt64 divisor,
SInt64 * remainder);
#define S64Divide(dividend,divisor,remainder) (( (void)((remainder) && (*((SInt64*)(remainder)) = ((SInt64)(dividend) % (SInt64)(divisor)))), ((SInt64)(dividend) / (SInt64)(divisor)) ))
# 289 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Div(
SInt64 dividend,
SInt64 divisor);
#define S64Div(dividend,divisor) (S64Divide((dividend), (divisor), NULL))
# 316 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Set(SInt32 value);
#define S64Set(value) ((SInt64)(value))
# 339 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64SetU(UInt32 value);
#define S64SetU(value) ((SInt64)(value))
# 362 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt32
S32Set(SInt64 value);
#define S32Set(value) ((SInt32)(value))
# 385 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
S64And(
SInt64 left,
SInt64 right);
#define S64And(left,right) ((SInt64)(left) && (SInt64)(right))
# 410 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
S64Or(
SInt64 left,
SInt64 right);
#define S64Or(left,right) ((SInt64)(left) || (SInt64)(right))
# 435 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
S64Eor(
SInt64 left,
SInt64 right);
#define S64Eor(left,right) ((Boolean)(((SInt64)(left) ? 1 : 0) ^ ((SInt64)(right) ? 1 : 0)))
# 460 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
S64Not(SInt64 value);
#define S64Not(value) (!((SInt64)(value)))
# 492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt32
S64Compare(
SInt64 left,
SInt64 right) ;
# 510 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64BitwiseAnd(
SInt64 left,
SInt64 right);
#define S64BitwiseAnd(left,right) ((SInt64)(left) & (SInt64)(right))
# 535 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64BitwiseOr(
SInt64 left,
SInt64 right);
#define S64BitwiseOr(left,right) ((SInt64)(left) | (SInt64)(right))
# 560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64BitwiseEor(
SInt64 left,
SInt64 right);
#define S64BitwiseEor(left,right) ((SInt64)(left) ^ (SInt64)(right))
# 585 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64BitwiseNot(SInt64 value);
#define S64BitwiseNot(value) (~((SInt64)(value)))
# 608 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64ShiftRight(
SInt64 value,
UInt32 shift);
#define S64ShiftRight(value,shift) ((SInt64)(value) >> ((shift) & 0x7F))
# 633 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64ShiftLeft(
SInt64 value,
UInt32 shift);
#define S64ShiftLeft(value,shift) ((SInt64)(value) << ((shift) & 0x7F))
# 664 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern long double
SInt64ToLongDouble(SInt64 value);
#define SInt64ToLongDouble(value) ((long double)(value))
# 691 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
LongDoubleToSInt64(long double value);
#define LongDoubleToSInt64(value) ((SInt64)(value))
# 716 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Max(void);
#define U64Max() (0xffffffffffffffffULL)
# 740 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Add(
UInt64 left,
UInt64 right);
#define U64Add(left,right) ((UInt64)(left) + (UInt64)(right))
# 766 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Subtract(
UInt64 left,
UInt64 right);
#define U64Subtract(left,right) ((UInt64)(left) - (UInt64)(right))
# 794 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Multiply(
UInt64 left,
UInt64 right);
#define U64Multiply(left,right) ((UInt64)(left) * (UInt64)(right))
# 820 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Mod(
UInt64 dividend,
UInt64 divisor);
#define U64Mod(dividend,divisor) ((UInt64)(dividend) % (UInt64)(divisor))
# 852 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Divide(
UInt64 dividend,
UInt64 divisor,
UInt64 * remainder);
#define U64Divide(dividend,divisor,remainder) (( (void)((remainder) && (*((UInt64*)(remainder)) = ((UInt64)(dividend) % (UInt64)(divisor)))), ((UInt64)(dividend) / (UInt64)(divisor)) ))
# 878 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Div(
UInt64 dividend,
UInt64 divisor);
#define U64Div(dividend,divisor) (U64Divide((dividend), (divisor), NULL))
# 905 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Set(SInt32 value);
#define U64Set(value) ((UInt64)(value))
# 928 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64SetU(UInt32 value);
#define U64SetU(value) ((UInt64)(value))
# 951 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt32
U32SetU(UInt64 value);
#define U32SetU(value) ((UInt32)(value))
# 974 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
U64And(
UInt64 left,
UInt64 right);
#define U64And(left,right) ((UInt64)(left) && (UInt64)(right))
# 999 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
U64Or(
UInt64 left,
UInt64 right);
#define U64Or(left,right) ((UInt64)(left) || (UInt64)(right))
# 1024 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
U64Eor(
UInt64 left,
UInt64 right);
#define U64Eor(left,right) ((Boolean)(((UInt64)(left) ? 1 : 0) ^ ((UInt64)(right) ? 1 : 0)))
# 1049 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
U64Not(UInt64 value);
#define U64Not(value) (!((UInt64)(value)))
# 1081 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt32
U64Compare(
UInt64 left,
UInt64 right) ;
# 1098 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64BitwiseAnd(
UInt64 left,
UInt64 right);
#define U64BitwiseAnd(left,right) ((UInt64)(left) & (UInt64)(right))
# 1123 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64BitwiseOr(
UInt64 left,
UInt64 right);
#define U64BitwiseOr(left,right) ((UInt64)(left) | (UInt64)(right))
# 1148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64BitwiseEor(
UInt64 left,
UInt64 right);
#define U64BitwiseEor(left,right) ((UInt64)(left) ^ (UInt64)(right))
# 1173 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64BitwiseNot(UInt64 value);
#define U64BitwiseNot(value) (~((UInt64)(value)))
# 1196 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64ShiftRight(
UInt64 value,
UInt32 shift);
#define U64ShiftRight(value,shift) ((UInt64)(value) >> ((shift) & 0x7F))
# 1221 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64ShiftLeft(
UInt64 value,
UInt32 shift);
#define U64ShiftLeft(value,shift) ((UInt64)(value) << ((shift) & 0x7F))
# 1248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern long double
UInt64ToLongDouble(UInt64 value);
#define UInt64ToLongDouble(value) ((long double)(value))
# 1271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
LongDoubleToUInt64(long double value);
#define LongDoubleToUInt64(value) ((UInt64)(value))
# 1296 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
UInt64ToSInt64(UInt64 value);
#define UInt64ToSInt64(value) ((SInt64)(value))
# 1319 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
SInt64ToUInt64(SInt64 value);
#define SInt64ToUInt64(value) ((UInt64)(value))
# 1371 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
static __inline wide SInt64ToWide ( SInt64 s ) { wide result; result.hi = ( s >> 32 ); result.lo = ( s & 0xffffffffUL ); return result; }
static __inline SInt64 WideToSInt64 ( wide w ) { SInt64 result = w.hi; result = ( result << 32 ) | ( w.lo ); return result; }
static __inline UnsignedWide UInt64ToUnsignedWide ( UInt64 u ) { UnsignedWide result; result.hi = ( u >> 32 ); result.lo = ( u & 0xffffffffUL ); return result; }
static __inline UInt64 UnsignedWideToUInt64 ( UnsignedWide uw ) { UInt64 result = uw.hi ; result = ( result << 32 ) | ( uw.lo ); return result; }
# 70 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 81 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/BackupCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/BackupCore.h" 3
#define __BACKUPCORE__
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/BackupCore.h" 3
extern OSStatus
CSBackupSetItemExcluded(
CFURLRef item,
Boolean exclude,
Boolean excludeByPath) ;
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/BackupCore.h" 3
extern Boolean
CSBackupIsItemExcluded(
CFURLRef item,
Boolean * excludeByPath) ;
# 82 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
#define __COMPONENTS__
# 32 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
#define __FILES__
# 28 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
#define __OSUTILS__
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
#define __DATETIMEUTILS__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
#pragma pack(push, 2)
# 79 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
typedef SInt16 ToggleResults;
enum {
toggleUndefined = 0,
toggleOK = 1,
toggleBadField = 2,
toggleBadDelta = 3,
toggleBadChar = 4,
toggleUnknown = 5,
toggleBadNum = 6,
toggleOutOfRange = 7,
toggleErr3 = 7,
toggleErr4 = 8,
toggleErr5 = 9
};
enum {
smallDateBit = 31,
togChar12HourBit = 30,
togCharZCycleBit = 29,
togDelta12HourBit = 28,
genCdevRangeBit = 27,
validDateFields = -1,
maxDateField = 10
};
enum {
eraMask = 0x0001,
yearMask = 0x0002,
monthMask = 0x0004,
dayMask = 0x0008,
hourMask = 0x0010,
minuteMask = 0x0020,
secondMask = 0x0040,
dayOfWeekMask = 0x0080,
dayOfYearMask = 0x0100,
weekOfYearMask = 0x0200,
pmMask = 0x0400,
dateStdMask = 0x007F
};
typedef SInt8 LongDateField;
enum {
eraField = 0,
yearField = 1,
monthField = 2,
dayField = 3,
hourField = 4,
minuteField = 5,
secondField = 6,
dayOfWeekField = 7,
dayOfYearField = 8,
weekOfYearField = 9,
pmField = 10,
res1Field = 11,
res2Field = 12,
res3Field = 13
};
typedef SInt8 DateForm;
enum {
shortDate = 0,
longDate = 1,
abbrevDate = 2
};
enum {
fatalDateTime = 0x8000,
longDateFound = 1,
leftOverChars = 2,
sepNotIntlSep = 4,
fieldOrderNotIntl = 8,
extraneousStrings = 16,
tooManySeps = 32,
sepNotConsistent = 64,
tokenErr = 0x8100,
cantReadUtilities = 0x8200,
dateTimeNotFound = 0x8400,
dateTimeInvalid = 0x8800
};
typedef short StringToDateStatus;
typedef StringToDateStatus String2DateStatus;
struct DateCacheRecord {
short hidden[256];
};
typedef struct DateCacheRecord DateCacheRecord;
typedef DateCacheRecord * DateCachePtr;
struct DateTimeRec {
short year;
short month;
short day;
short hour;
short minute;
short second;
short dayOfWeek;
};
typedef struct DateTimeRec DateTimeRec;
typedef SInt64 LongDateTime;
# 191 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
union LongDateCvt {
SInt64 c;
struct {
UInt32 lLow;
UInt32 lHigh;
} hl;
};
typedef union LongDateCvt LongDateCvt;
union LongDateRec {
struct {
short era;
short year;
short month;
short day;
short hour;
short minute;
short second;
short dayOfWeek;
short dayOfYear;
short weekOfYear;
short pm;
short res1;
short res2;
short res3;
} ld;
short list[14];
struct {
short eraAlt;
DateTimeRec oldDate;
} od;
};
typedef union LongDateRec LongDateRec;
typedef SInt8 DateDelta;
struct TogglePB {
long togFlags;
ResType amChars;
ResType pmChars;
long reserved[4];
};
typedef struct TogglePB TogglePB;
# 264 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertUTCDateTimeToCFAbsoluteTime(
const UTCDateTime * iUTCDate,
CFAbsoluteTime * oCFTime) ;
# 297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertSecondsToCFAbsoluteTime(
UInt32 iSeconds,
CFAbsoluteTime * oCFTime) ;
# 330 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertLongDateTimeToCFAbsoluteTime(
LongDateTime iLongTime,
CFAbsoluteTime * oCFTime) ;
# 363 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertCFAbsoluteTimeToUTCDateTime(
CFAbsoluteTime iCFTime,
UTCDateTime * oUTCDate) ;
# 396 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertCFAbsoluteTimeToSeconds(
CFAbsoluteTime iCFTime,
UInt32 * oSeconds) ;
# 429 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertCFAbsoluteTimeToLongDateTime(
CFAbsoluteTime iCFTime,
LongDateTime * oLongDate) ;
# 455 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
DateString(
SInt32 dateTime,
DateForm longFlag,
Str255 result,
Handle intlHandle) __attribute__((deprecated));
# 478 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
TimeString(
SInt32 dateTime,
Boolean wantSeconds,
Str255 result,
Handle intlHandle) __attribute__((deprecated));
# 501 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
LongDateString(
const LongDateTime * dateTime,
DateForm longFlag,
Str255 result,
Handle intlHandle) __attribute__((deprecated));
# 524 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
LongTimeString(
const LongDateTime * dateTime,
Boolean wantSeconds,
Str255 result,
Handle intlHandle) __attribute__((deprecated));
# 550 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSErr
InitDateCache(DateCachePtr theCache) __attribute__((deprecated));
# 569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern StringToDateStatus
StringToDate(
Ptr textPtr,
SInt32 textLen,
DateCachePtr theCache,
SInt32 * lengthUsed,
LongDateRec * dateTime) __attribute__((deprecated));
# 593 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern StringToDateStatus
StringToTime(
Ptr textPtr,
SInt32 textLen,
DateCachePtr theCache,
SInt32 * lengthUsed,
LongDateRec * dateTime) __attribute__((deprecated));
# 617 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
LongDateToSeconds(
const LongDateRec * lDate,
LongDateTime * lSecs) __attribute__((deprecated));
# 638 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
LongSecondsToDate(
const LongDateTime * lSecs,
LongDateRec * lDate) __attribute__((deprecated));
# 659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern ToggleResults
ToggleDate(
LongDateTime * lSecs,
LongDateField field,
DateDelta delta,
short ch,
const TogglePB * params) __attribute__((deprecated));
# 683 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern short
ValidDate(
const LongDateRec * vDate,
long flags,
LongDateTime * newSecs) __attribute__((deprecated));
# 705 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSErr
ReadDateTime(unsigned long * datetime) __attribute__((deprecated));
# 724 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
GetDateTime(unsigned long * secs) __attribute__((deprecated));
# 743 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSErr
SetDateTime(unsigned long datetime) __attribute__((deprecated));
# 762 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
SetTime(const DateTimeRec * d) __attribute__((deprecated));
# 781 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
GetTime(DateTimeRec * d) __attribute__((deprecated));
# 803 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
DateToSeconds(
const DateTimeRec * d,
unsigned long * secs) __attribute__((deprecated));
# 827 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern void
SecondsToDate(
unsigned long secs,
DateTimeRec * d) __attribute__((deprecated));
# 987 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
#pragma pack(pop)
# 35 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 2 3
# 52 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
#pragma pack(push, 2)
enum {
sortsBefore = -1,
sortsEqual = 0,
sortsAfter = 1
};
enum {
dummyType = 0,
vType = 1,
ioQType = 2,
drvQType = 3,
evType = 4,
fsQType = 5,
sIQType = 6,
dtQType = 7,
nmType = 8
};
typedef SignedByte QTypes;
struct QElem {
struct QElem * qLink;
short qType;
short qData[1];
};
typedef struct QElem QElem;
typedef QElem * QElemPtr;
struct QHdr {
volatile short qFlags;
volatile QElemPtr qHead;
volatile QElemPtr qTail;
};
typedef struct QHdr QHdr;
typedef QHdr * QHdrPtr;
# 117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
struct MachineLocation {
Fract latitude;
Fract longitude;
union {
long gmtDelta;
struct {
SInt8 pad[3];
SInt8 Delta;
} dls;
} u;
};
typedef struct MachineLocation MachineLocation;
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern Boolean
IsMetric(void) ;
# 198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
Delay(
unsigned long numTicks,
unsigned long * finalTicks) ;
# 233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
Enqueue(
QElemPtr qElement,
QHdrPtr qHeader) ;
# 267 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern OSErr
Dequeue(
QElemPtr qElement,
QHdrPtr qHeader) ;
# 306 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
MakeDataExecutable(
void * baseAddress,
unsigned long length) ;
# 359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
ReadLocation(MachineLocation * loc) ;
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern UInt32
TickCount(void) ;
# 423 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern CFStringRef
CSCopyUserName(Boolean useShortName) ;
# 446 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern CFStringRef
CSCopyMachineName(void) ;
enum {
useFree = 0,
useATalk = 1,
useAsync = 2,
useExtClk = 3,
useMIDI = 4
};
enum {
false32b = 0,
true32b = 1
};
# 480 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
typedef void * SysPPtr;
#define GetMMUMode() ((SInt8)true32b)
#define SwapMMUMode(x) (*(SInt8*)(x) = true32b)
# 499 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern SysPPtr
GetSysPPtr(void) __attribute__((deprecated));
# 512 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
typedef void ( * DeferredTaskProcPtr)(long dtParam);
typedef DeferredTaskProcPtr DeferredTaskUPP;
# 522 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern DeferredTaskUPP
NewDeferredTaskUPP(DeferredTaskProcPtr userRoutine) ;
# 533 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
DisposeDeferredTaskUPP(DeferredTaskUPP userUPP) ;
# 544 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
InvokeDeferredTaskUPP(
long dtParam,
DeferredTaskUPP userUPP) ;
#define NewDeferredTaskUPP(userRoutine) ((DeferredTaskUPP)userRoutine)
#define DisposeDeferredTaskUPP(userUPP)
#define InvokeDeferredTaskUPP(dtParam,userUPP) (*userUPP)(dtParam)
struct DeferredTask {
volatile QElemPtr qLink;
short qType;
volatile short dtFlags;
DeferredTaskUPP dtAddr;
long dtParam;
long dtReserved;
};
typedef struct DeferredTask DeferredTask;
typedef DeferredTask * DeferredTaskPtr;
# 591 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern OSErr
DTInstall(DeferredTaskPtr dtTaskPtr) __attribute__((deprecated));
# 614 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern OSErr
DTUninstall(DeferredTaskPtr dtTaskPtr) __attribute__((deprecated));
# 632 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern long
SetCurrentA5(void) __attribute__((deprecated));
# 650 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern long
SetA5(long newA5) __attribute__((deprecated));
# 669 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern OSErr
InitUtil(void) __attribute__((deprecated));
# 688 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern OSErr
WriteParam(void) __attribute__((deprecated));
# 708 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
WriteLocation(const MachineLocation * loc) __attribute__((deprecated));
# 785 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
#pragma pack(pop)
# 29 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 2 3
# 60 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
# 1 "/usr/include/sys/fcntl.h" 1 3 4
# 71 "/usr/include/sys/fcntl.h" 3 4
#define _SYS_FCNTL_H_
# 110 "/usr/include/sys/fcntl.h" 3 4
#define O_RDONLY 0x0000
#define O_WRONLY 0x0001
#define O_RDWR 0x0002
#define O_ACCMODE 0x0003
# 124 "/usr/include/sys/fcntl.h" 3 4
#define FREAD 0x0001
#define FWRITE 0x0002
#define O_NONBLOCK 0x0004
#define O_APPEND 0x0008
#define O_SYNC 0x0080
#define O_SHLOCK 0x0010
#define O_EXLOCK 0x0020
#define O_ASYNC 0x0040
#define O_FSYNC O_SYNC
#define O_NOFOLLOW 0x0100
#define O_CREAT 0x0200
#define O_TRUNC 0x0400
#define O_EXCL 0x0800
#define O_EVTONLY 0x8000
#define O_NOCTTY 0x20000
#define O_DIRECTORY 0x100000
#define O_SYMLINK 0x200000
# 162 "/usr/include/sys/fcntl.h" 3 4
#define FAPPEND O_APPEND
#define FASYNC O_ASYNC
#define FFSYNC O_FSYNC
#define FNONBLOCK O_NONBLOCK
#define FNDELAY O_NONBLOCK
#define O_NDELAY O_NONBLOCK
#define CPF_OVERWRITE 1
#define CPF_IGNORE_MODE 2
#define CPF_MASK (CPF_OVERWRITE|CPF_IGNORE_MODE)
#define F_DUPFD 0
#define F_GETFD 1
#define F_SETFD 2
#define F_GETFL 3
#define F_SETFL 4
#define F_GETOWN 5
#define F_SETOWN 6
#define F_GETLK 7
#define F_SETLK 8
#define F_SETLKW 9
#define F_CHKCLEAN 41
#define F_PREALLOCATE 42
#define F_SETSIZE 43
#define F_RDADVISE 44
#define F_RDAHEAD 45
#define F_READBOOTSTRAP 46
#define F_WRITEBOOTSTRAP 47
#define F_NOCACHE 48
#define F_LOG2PHYS 49
#define F_GETPATH 50
#define F_FULLFSYNC 51
#define F_PATHPKG_CHECK 52
#define F_FREEZE_FS 53
#define F_THAW_FS 54
#define F_GLOBAL_NOCACHE 55
#define F_ADDSIGS 59
#define F_MARKDEPENDENCY 60
#define FCNTL_FS_SPECIFIC_BASE 0x00010000
#define FD_CLOEXEC 1
#define F_RDLCK 1
#define F_UNLCK 2
#define F_WRLCK 3
# 246 "/usr/include/sys/fcntl.h" 3 4
#define S_IFMT 0170000
#define S_IFIFO 0010000
#define S_IFCHR 0020000
#define S_IFDIR 0040000
#define S_IFBLK 0060000
#define S_IFREG 0100000
#define S_IFLNK 0120000
#define S_IFSOCK 0140000
#define S_IFWHT 0160000
#define S_IFXATTR 0200000
#define S_IRWXU 0000700
#define S_IRUSR 0000400
#define S_IWUSR 0000200
#define S_IXUSR 0000100
#define S_IRWXG 0000070
#define S_IRGRP 0000040
#define S_IWGRP 0000020
#define S_IXGRP 0000010
#define S_IRWXO 0000007
#define S_IROTH 0000004
#define S_IWOTH 0000002
#define S_IXOTH 0000001
#define S_ISUID 0004000
#define S_ISGID 0002000
#define S_ISVTX 0001000
#define S_ISTXT S_ISVTX
#define S_IREAD S_IRUSR
#define S_IWRITE S_IWUSR
#define S_IEXEC S_IXUSR
#define F_ALLOCATECONTIG 0x00000002
#define F_ALLOCATEALL 0x00000004
#define F_PEOFPOSMODE 3
#define F_VOLPOSMODE 4
struct flock {
off_t l_start;
off_t l_len;
pid_t l_pid;
short l_type;
short l_whence;
};
struct radvisory {
off_t ra_offset;
int ra_count;
};
typedef struct fsignatures {
off_t fs_file_start;
void *fs_blob_start;
size_t fs_blob_size;
} fsignatures_t;
#define LOCK_SH 0x01
#define LOCK_EX 0x02
#define LOCK_NB 0x04
#define LOCK_UN 0x08
typedef struct fstore {
unsigned int fst_flags;
int fst_posmode;
off_t fst_offset;
off_t fst_length;
off_t fst_bytesalloc;
} fstore_t;
typedef struct fbootstraptransfer {
off_t fbt_offset;
size_t fbt_length;
void *fbt_buffer;
} fbootstraptransfer_t;
# 377 "/usr/include/sys/fcntl.h" 3 4
#pragma pack(4)
struct log2phys {
unsigned int l2p_flags;
off_t l2p_contigbytes;
off_t l2p_devoffset;
};
#pragma pack()
#define O_POPUP 0x80000000
#define O_ALERT 0x20000000
struct _filesec;
typedef struct _filesec *filesec_t;
#define _FILESEC_T
typedef enum {
FILESEC_OWNER = 1,
FILESEC_GROUP = 2,
FILESEC_UUID = 3,
FILESEC_MODE = 4,
FILESEC_ACL = 5,
FILESEC_GRPUUID = 6,
FILESEC_ACL_RAW = 100,
FILESEC_ACL_ALLOCSIZE = 101
} filesec_property_t;
#define FILESEC_GUID FILESEC_UUID
int open(const char *, int, ...) __asm("_" "open" "$UNIX2003");
int creat(const char *, mode_t) __asm("_" "creat" "$UNIX2003");
int fcntl(int, int, ...) __asm("_" "fcntl" "$UNIX2003");
int openx_np(const char *, int, filesec_t);
int flock(int, int);
filesec_t filesec_init(void);
filesec_t filesec_dup(filesec_t);
void filesec_free(filesec_t);
int filesec_get_property(filesec_t, filesec_property_t, void *);
int filesec_set_property(filesec_t, filesec_property_t, const void *);
int filesec_query_property(filesec_t, filesec_property_t, int *);
#define _FILESEC_UNSET_PROPERTY ((void *)0)
#define _FILESEC_REMOVE_ACL ((void *)1)
# 61 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 2 3
# 1 "/usr/include/sys/acl.h" 1 3 4
# 24 "/usr/include/sys/acl.h" 3 4
#define _SYS_ACL_H
# 1 "/usr/include/sys/kauth.h" 1 3 4
# 36 "/usr/include/sys/kauth.h" 3 4
#define _SYS_KAUTH_H
# 48 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_UID_NONE (~(uid_t)0 - 100)
#define KAUTH_GID_NONE (~(gid_t)0 - 100)
#define _KAUTH_GUID
typedef struct {
#define KAUTH_GUID_SIZE 16
unsigned char g_guid[16];
} guid_t;
#define _GUID_T
#pragma pack(1)
typedef struct {
u_int8_t sid_kind;
u_int8_t sid_authcount;
u_int8_t sid_authority[6];
#define KAUTH_NTSID_MAX_AUTHORITIES 16
u_int32_t sid_authorities[16];
} ntsid_t;
#pragma pack()
#define _NTSID_T
#define KAUTH_NTSID_HDRSIZE (8)
#define KAUTH_NTSID_SIZE(_s) (KAUTH_NTSID_HDRSIZE + ((_s)->sid_authcount * sizeof(u_int32_t)))
# 84 "/usr/include/sys/kauth.h" 3 4
struct kauth_identity_extlookup {
u_int32_t el_seqno;
u_int32_t el_result;
#define KAUTH_EXTLOOKUP_SUCCESS 0
#define KAUTH_EXTLOOKUP_BADRQ 1
#define KAUTH_EXTLOOKUP_FAILURE 2
#define KAUTH_EXTLOOKUP_FATAL 3
#define KAUTH_EXTLOOKUP_INPROG 100
u_int32_t el_flags;
#define KAUTH_EXTLOOKUP_VALID_UID (1<<0)
#define KAUTH_EXTLOOKUP_VALID_UGUID (1<<1)
#define KAUTH_EXTLOOKUP_VALID_USID (1<<2)
#define KAUTH_EXTLOOKUP_VALID_GID (1<<3)
#define KAUTH_EXTLOOKUP_VALID_GGUID (1<<4)
#define KAUTH_EXTLOOKUP_VALID_GSID (1<<5)
#define KAUTH_EXTLOOKUP_WANT_UID (1<<6)
#define KAUTH_EXTLOOKUP_WANT_UGUID (1<<7)
#define KAUTH_EXTLOOKUP_WANT_USID (1<<8)
#define KAUTH_EXTLOOKUP_WANT_GID (1<<9)
#define KAUTH_EXTLOOKUP_WANT_GGUID (1<<10)
#define KAUTH_EXTLOOKUP_WANT_GSID (1<<11)
#define KAUTH_EXTLOOKUP_WANT_MEMBERSHIP (1<<12)
#define KAUTH_EXTLOOKUP_VALID_MEMBERSHIP (1<<13)
#define KAUTH_EXTLOOKUP_ISMEMBER (1<<14)
uid_t el_uid;
guid_t el_uguid;
u_int32_t el_uguid_valid;
ntsid_t el_usid;
u_int32_t el_usid_valid;
gid_t el_gid;
guid_t el_gguid;
u_int32_t el_gguid_valid;
ntsid_t el_gsid;
u_int32_t el_gsid_valid;
u_int32_t el_member_valid;
};
#define KAUTH_EXTLOOKUP_REGISTER (0)
#define KAUTH_EXTLOOKUP_RESULT (1<<0)
#define KAUTH_EXTLOOKUP_WORKER (1<<1)
# 132 "/usr/include/sys/kauth.h" 3 4
typedef u_int32_t kauth_ace_rights_t;
struct kauth_ace {
guid_t ace_applicable;
u_int32_t ace_flags;
#define KAUTH_ACE_KINDMASK 0xf
#define KAUTH_ACE_PERMIT 1
#define KAUTH_ACE_DENY 2
#define KAUTH_ACE_AUDIT 3
#define KAUTH_ACE_ALARM 4
#define KAUTH_ACE_INHERITED (1<<4)
#define KAUTH_ACE_FILE_INHERIT (1<<5)
#define KAUTH_ACE_DIRECTORY_INHERIT (1<<6)
#define KAUTH_ACE_LIMIT_INHERIT (1<<7)
#define KAUTH_ACE_ONLY_INHERIT (1<<8)
#define KAUTH_ACE_SUCCESS (1<<9)
#define KAUTH_ACE_FAILURE (1<<10)
#define KAUTH_ACE_INHERIT_CONTROL_FLAGS (KAUTH_ACE_FILE_INHERIT | KAUTH_ACE_DIRECTORY_INHERIT | KAUTH_ACE_LIMIT_INHERIT | KAUTH_ACE_ONLY_INHERIT)
kauth_ace_rights_t ace_rights;
#define KAUTH_ACE_GENERIC_ALL (1<<21)
#define KAUTH_ACE_GENERIC_EXECUTE (1<<22)
#define KAUTH_ACE_GENERIC_WRITE (1<<23)
#define KAUTH_ACE_GENERIC_READ (1<<24)
};
#define _KAUTH_ACE
typedef struct kauth_ace *kauth_ace_t;
struct kauth_acl {
u_int32_t acl_entrycount;
u_int32_t acl_flags;
struct kauth_ace acl_ace[];
};
#define KAUTH_ACL_MAX_ENTRIES 128
#define KAUTH_ACL_FLAGS_PRIVATE (0xffff)
#define KAUTH_ACL_DEFER_INHERIT (1<<16)
#define KAUTH_ACL_NO_INHERIT (1<<17)
#define KAUTH_FILESEC_NOACL ((u_int32_t)(-1))
# 211 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_ACL_SIZE(c) (sizeof(struct kauth_acl) + ((u_int32_t)(c) != KAUTH_FILESEC_NOACL ? ((c) * sizeof(struct kauth_ace)) : 0))
#define KAUTH_ACL_COPYSIZE(p) KAUTH_ACL_SIZE((p)->acl_entrycount)
#define _KAUTH_ACL
typedef struct kauth_acl *kauth_acl_t;
# 227 "/usr/include/sys/kauth.h" 3 4
struct kauth_filesec {
u_int32_t fsec_magic;
#define KAUTH_FILESEC_MAGIC 0x012cc16d
guid_t fsec_owner;
guid_t fsec_group;
struct kauth_acl fsec_acl;
};
#define fsec_entrycount fsec_acl.acl_entrycount
#define fsec_flags fsec_acl.acl_flags
#define fsec_ace fsec_acl.acl_ace
#define KAUTH_FILESEC_FLAGS_PRIVATE KAUTH_ACL_FLAGS_PRIVATE
#define KAUTH_FILESEC_DEFER_INHERIT KAUTH_ACL_DEFER_INHERIT
#define KAUTH_FILESEC_NO_INHERIT KAUTH_ACL_NO_INHERIT
#define KAUTH_FILESEC_NONE ((kauth_filesec_t)0)
#define KAUTH_FILESEC_WANTED ((kauth_filesec_t)1)
#define _KAUTH_FILESEC
typedef struct kauth_filesec *kauth_filesec_t;
#define KAUTH_FILESEC_SIZE(c) (sizeof(struct kauth_filesec) + (c) * sizeof(struct kauth_ace))
#define KAUTH_FILESEC_COPYSIZE(p) KAUTH_FILESEC_SIZE(((p)->fsec_entrycount == KAUTH_FILESEC_NOACL) ? 0 : (p)->fsec_entrycount)
#define KAUTH_FILESEC_COUNT(s) ((s - sizeof(struct kauth_filesec)) / sizeof(struct kauth_ace))
#define KAUTH_FILESEC_VALID(s) ((s) >= sizeof(struct kauth_filesec) && (((s) - sizeof(struct kauth_filesec)) % sizeof(struct kauth_ace)) == 0)
#define KAUTH_FILESEC_XATTR "com.apple.system.Security"
#define KAUTH_ENDIAN_HOST 0x00000001
#define KAUTH_ENDIAN_DISK 0x00000002
# 269 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_VNODE_READ_DATA (1<<1)
#define KAUTH_VNODE_LIST_DIRECTORY KAUTH_VNODE_READ_DATA
#define KAUTH_VNODE_WRITE_DATA (1<<2)
#define KAUTH_VNODE_ADD_FILE KAUTH_VNODE_WRITE_DATA
#define KAUTH_VNODE_EXECUTE (1<<3)
#define KAUTH_VNODE_SEARCH KAUTH_VNODE_EXECUTE
#define KAUTH_VNODE_DELETE (1<<4)
#define KAUTH_VNODE_APPEND_DATA (1<<5)
#define KAUTH_VNODE_ADD_SUBDIRECTORY KAUTH_VNODE_APPEND_DATA
#define KAUTH_VNODE_DELETE_CHILD (1<<6)
#define KAUTH_VNODE_READ_ATTRIBUTES (1<<7)
#define KAUTH_VNODE_WRITE_ATTRIBUTES (1<<8)
#define KAUTH_VNODE_READ_EXTATTRIBUTES (1<<9)
#define KAUTH_VNODE_WRITE_EXTATTRIBUTES (1<<10)
#define KAUTH_VNODE_READ_SECURITY (1<<11)
#define KAUTH_VNODE_WRITE_SECURITY (1<<12)
#define KAUTH_VNODE_TAKE_OWNERSHIP (1<<13)
#define KAUTH_VNODE_CHANGE_OWNER KAUTH_VNODE_TAKE_OWNERSHIP
#define KAUTH_VNODE_SYNCHRONIZE (1<<20)
#define KAUTH_VNODE_LINKTARGET (1<<25)
#define KAUTH_VNODE_CHECKIMMUTABLE (1<<26)
# 316 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_VNODE_ACCESS (1<<31)
# 326 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_VNODE_NOIMMUTABLE (1<<30)
# 337 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_VNODE_SEARCHBYANYONE (1<<29)
#define KAUTH_INVALIDATE_CACHED_RIGHTS ((kauth_action_t)~0)
#define KAUTH_VNODE_GENERIC_READ_BITS (KAUTH_VNODE_READ_DATA | KAUTH_VNODE_READ_ATTRIBUTES | KAUTH_VNODE_READ_EXTATTRIBUTES | KAUTH_VNODE_READ_SECURITY)
#define KAUTH_VNODE_GENERIC_WRITE_BITS (KAUTH_VNODE_WRITE_DATA | KAUTH_VNODE_APPEND_DATA | KAUTH_VNODE_DELETE | KAUTH_VNODE_DELETE_CHILD | KAUTH_VNODE_WRITE_ATTRIBUTES | KAUTH_VNODE_WRITE_EXTATTRIBUTES | KAUTH_VNODE_WRITE_SECURITY)
#define KAUTH_VNODE_GENERIC_EXECUTE_BITS (KAUTH_VNODE_EXECUTE)
#define KAUTH_VNODE_GENERIC_ALL_BITS (KAUTH_VNODE_GENERIC_READ_BITS | KAUTH_VNODE_GENERIC_WRITE_BITS | KAUTH_VNODE_GENERIC_EXECUTE_BITS)
#define KAUTH_VNODE_WRITE_RIGHTS (KAUTH_VNODE_ADD_FILE | KAUTH_VNODE_ADD_SUBDIRECTORY | KAUTH_VNODE_DELETE_CHILD | KAUTH_VNODE_WRITE_DATA | KAUTH_VNODE_APPEND_DATA | KAUTH_VNODE_DELETE | KAUTH_VNODE_WRITE_ATTRIBUTES | KAUTH_VNODE_WRITE_EXTATTRIBUTES | KAUTH_VNODE_WRITE_SECURITY | KAUTH_VNODE_TAKE_OWNERSHIP | KAUTH_VNODE_LINKTARGET | KAUTH_VNODE_CHECKIMMUTABLE)
# 27 "/usr/include/sys/acl.h" 2 3 4
# 35 "/usr/include/sys/acl.h" 3 4
#define ACL_MAX_ENTRIES 128
typedef enum {
ACL_READ_DATA = (1<<1),
ACL_LIST_DIRECTORY = (1<<1),
ACL_WRITE_DATA = (1<<2),
ACL_ADD_FILE = (1<<2),
ACL_EXECUTE = (1<<3),
ACL_SEARCH = (1<<3),
ACL_DELETE = (1<<4),
ACL_APPEND_DATA = (1<<5),
ACL_ADD_SUBDIRECTORY = (1<<5),
ACL_DELETE_CHILD = (1<<6),
ACL_READ_ATTRIBUTES = (1<<7),
ACL_WRITE_ATTRIBUTES = (1<<8),
ACL_READ_EXTATTRIBUTES = (1<<9),
ACL_WRITE_EXTATTRIBUTES = (1<<10),
ACL_READ_SECURITY = (1<<11),
ACL_WRITE_SECURITY = (1<<12),
ACL_CHANGE_OWNER = (1<<13)
} acl_perm_t;
typedef enum {
ACL_UNDEFINED_TAG = 0,
ACL_EXTENDED_ALLOW = 1,
ACL_EXTENDED_DENY = 2
} acl_tag_t;
typedef enum {
ACL_TYPE_EXTENDED = 0x00000100,
ACL_TYPE_ACCESS = 0x00000000,
ACL_TYPE_DEFAULT = 0x00000001,
ACL_TYPE_AFS = 0x00000002,
ACL_TYPE_CODA = 0x00000003,
ACL_TYPE_NTFS = 0x00000004,
ACL_TYPE_NWFS = 0x00000005
} acl_type_t;
#define ACL_UNDEFINED_ID NULL
typedef enum {
ACL_FIRST_ENTRY = 0,
ACL_NEXT_ENTRY = -1,
ACL_LAST_ENTRY = -2
} acl_entry_id_t;
typedef enum {
ACL_FLAG_DEFER_INHERIT = (1 << 0),
ACL_ENTRY_INHERITED = (1<<4),
ACL_ENTRY_FILE_INHERIT = (1<<5),
ACL_ENTRY_DIRECTORY_INHERIT = (1<<6),
ACL_ENTRY_LIMIT_INHERIT = (1<<7),
ACL_ENTRY_ONLY_INHERIT = (1<<8)
} acl_flag_t;
struct _acl;
struct _acl_entry;
struct _acl_permset;
struct _acl_flagset;
typedef struct _acl *acl_t;
typedef struct _acl_entry *acl_entry_t;
typedef struct _acl_permset *acl_permset_t;
typedef struct _acl_flagset *acl_flagset_t;
extern acl_t acl_dup(acl_t acl);
extern int acl_free(void *obj_p);
extern acl_t acl_init(int count);
extern int acl_copy_entry(acl_entry_t dest_d, acl_entry_t src_d);
extern int acl_create_entry(acl_t *acl_p, acl_entry_t *entry_p);
extern int acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int entry_index);
extern int acl_delete_entry(acl_t acl, acl_entry_t entry_d);
extern int acl_get_entry(acl_t acl, int entry_id, acl_entry_t *entry_p);
extern int acl_valid(acl_t acl);
extern int acl_valid_fd_np(int fd, acl_type_t type, acl_t acl);
extern int acl_valid_file_np(const char *path, acl_type_t type, acl_t acl);
extern int acl_valid_link_np(const char *path, acl_type_t type, acl_t acl);
extern int acl_add_perm(acl_permset_t permset_d, acl_perm_t perm);
extern int acl_calc_mask(acl_t *acl_p);
extern int acl_clear_perms(acl_permset_t permset_d);
extern int acl_delete_perm(acl_permset_t permset_d, acl_perm_t perm);
extern int acl_get_perm_np(acl_permset_t permset_d, acl_perm_t perm);
extern int acl_get_permset(acl_entry_t entry_d, acl_permset_t *permset_p);
extern int acl_set_permset(acl_entry_t entry_d, acl_permset_t permset_d);
extern int acl_add_flag_np(acl_flagset_t flagset_d, acl_flag_t flag);
extern int acl_clear_flags_np(acl_flagset_t flagset_d);
extern int acl_delete_flag_np(acl_flagset_t flagset_d, acl_flag_t flag);
extern int acl_get_flag_np(acl_flagset_t flagset_d, acl_flag_t flag);
extern int acl_get_flagset_np(void *obj_p, acl_flagset_t *flagset_p);
extern int acl_set_flagset_np(void *obj_p, acl_flagset_t flagset_d);
extern void *acl_get_qualifier(acl_entry_t entry_d);
extern int acl_get_tag_type(acl_entry_t entry_d, acl_tag_t *tag_type_p);
extern int acl_set_qualifier(acl_entry_t entry_d, const void *tag_qualifier_p);
extern int acl_set_tag_type(acl_entry_t entry_d, acl_tag_t tag_type);
extern int acl_delete_def_file(const char *path_p);
extern acl_t acl_get_fd(int fd);
extern acl_t acl_get_fd_np(int fd, acl_type_t type);
extern acl_t acl_get_file(const char *path_p, acl_type_t type);
extern acl_t acl_get_link_np(const char *path_p, acl_type_t type);
extern int acl_set_fd(int fd, acl_t acl);
extern int acl_set_fd_np(int fd, acl_t acl, acl_type_t acl_type);
extern int acl_set_file(const char *path_p, acl_type_t type, acl_t acl);
extern int acl_set_link_np(const char *path_p, acl_type_t type, acl_t acl);
extern ssize_t acl_copy_ext(void *buf_p, acl_t acl, ssize_t size);
extern ssize_t acl_copy_ext_native(void *buf_p, acl_t acl, ssize_t size);
extern acl_t acl_copy_int(const void *buf_p);
extern acl_t acl_copy_int_native(const void *buf_p);
extern acl_t acl_from_text(const char *buf_p);
extern ssize_t acl_size(acl_t acl);
extern char *acl_to_text(acl_t acl, ssize_t *len_p);
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 2 3
# 1 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 1 3
# 25 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
#define __DISKARBITRATION_DADISK__
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 1 3
# 32 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
#define _IOKIT_IOKITLIB_H
# 41 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
# 1 "/usr/include/mach/mach_types.h" 1 3 4
# 74 "/usr/include/mach/mach_types.h" 3 4
#define _MACH_MACH_TYPES_H_
# 1 "/usr/include/mach/host_info.h" 1 3 4
# 66 "/usr/include/mach/host_info.h" 3 4
#define _MACH_HOST_INFO_H_
# 1 "/usr/include/mach/message.h" 1 3 4
# 72 "/usr/include/mach/message.h" 3 4
#define _MACH_MESSAGE_H_
# 1 "/usr/include/mach/kern_return.h" 1 3 4
# 68 "/usr/include/mach/kern_return.h" 3 4
#define _MACH_KERN_RETURN_H_
# 1 "/usr/include/mach/machine/kern_return.h" 1 3 4
# 30 "/usr/include/mach/machine/kern_return.h" 3 4
#define _MACH_MACHINE_KERN_RETURN_H_
# 1 "/usr/include/mach/i386/kern_return.h" 1 3 4
# 68 "/usr/include/mach/i386/kern_return.h" 3 4
#define _MACH_I386_KERN_RETURN_H_
typedef int kern_return_t;
# 36 "/usr/include/mach/machine/kern_return.h" 2 3 4
# 71 "/usr/include/mach/kern_return.h" 2 3 4
#define KERN_SUCCESS 0
#define KERN_INVALID_ADDRESS 1
#define KERN_PROTECTION_FAILURE 2
#define KERN_NO_SPACE 3
#define KERN_INVALID_ARGUMENT 4
#define KERN_FAILURE 5
#define KERN_RESOURCE_SHORTAGE 6
#define KERN_NOT_RECEIVER 7
#define KERN_NO_ACCESS 8
#define KERN_MEMORY_FAILURE 9
#define KERN_MEMORY_ERROR 10
#define KERN_ALREADY_IN_SET 11
#define KERN_NOT_IN_SET 12
#define KERN_NAME_EXISTS 13
#define KERN_ABORTED 14
#define KERN_INVALID_NAME 15
#define KERN_INVALID_TASK 16
#define KERN_INVALID_RIGHT 17
#define KERN_INVALID_VALUE 18
#define KERN_UREFS_OVERFLOW 19
#define KERN_INVALID_CAPABILITY 20
#define KERN_RIGHT_EXISTS 21
#define KERN_INVALID_HOST 22
#define KERN_MEMORY_PRESENT 23
#define KERN_MEMORY_DATA_MOVED 24
# 198 "/usr/include/mach/kern_return.h" 3 4
#define KERN_MEMORY_RESTART_COPY 25
#define KERN_INVALID_PROCESSOR_SET 26
#define KERN_POLICY_LIMIT 27
#define KERN_INVALID_POLICY 28
#define KERN_INVALID_OBJECT 29
#define KERN_ALREADY_WAITING 30
#define KERN_DEFAULT_SET 31
#define KERN_EXCEPTION_PROTECTED 32
#define KERN_INVALID_LEDGER 33
#define KERN_INVALID_MEMORY_CONTROL 34
#define KERN_INVALID_SECURITY 35
#define KERN_NOT_DEPRESSED 36
#define KERN_TERMINATED 37
#define KERN_LOCK_SET_DESTROYED 38
#define KERN_LOCK_UNSTABLE 39
#define KERN_LOCK_OWNED 40
#define KERN_LOCK_OWNED_SELF 41
#define KERN_SEMAPHORE_DESTROYED 42
#define KERN_RPC_SERVER_TERMINATED 43
#define KERN_RPC_TERMINATE_ORPHAN 44
#define KERN_RPC_CONTINUE_ORPHAN 45
#define KERN_NOT_SUPPORTED 46
#define KERN_NODE_DOWN 47
#define KERN_NOT_WAITING 48
#define KERN_OPERATION_TIMED_OUT 49
#define KERN_RETURN_MAX 0x100
# 78 "/usr/include/mach/message.h" 2 3 4
# 89 "/usr/include/mach/message.h" 3 4
typedef natural_t mach_msg_timeout_t;
#define MACH_MSG_TIMEOUT_NONE ((mach_msg_timeout_t) 0)
# 123 "/usr/include/mach/message.h" 3 4
#define MACH_MSGH_BITS_ZERO 0x00000000
#define MACH_MSGH_BITS_REMOTE_MASK 0x000000ff
#define MACH_MSGH_BITS_LOCAL_MASK 0x0000ff00
#define MACH_MSGH_BITS_COMPLEX 0x80000000U
#define MACH_MSGH_BITS_USER 0x8000ffffU
#define MACH_MSGH_BITS_CIRCULAR 0x40000000
#define MACH_MSGH_BITS_USED 0xc000ffffU
#define MACH_MSGH_BITS_PORTS_MASK (MACH_MSGH_BITS_REMOTE_MASK|MACH_MSGH_BITS_LOCAL_MASK)
#define MACH_MSGH_BITS(remote,local) ((remote) | ((local) << 8))
#define MACH_MSGH_BITS_REMOTE(bits) ((bits) & MACH_MSGH_BITS_REMOTE_MASK)
#define MACH_MSGH_BITS_LOCAL(bits) (((bits) & MACH_MSGH_BITS_LOCAL_MASK) >> 8)
#define MACH_MSGH_BITS_PORTS(bits) ((bits) & MACH_MSGH_BITS_PORTS_MASK)
#define MACH_MSGH_BITS_OTHER(bits) ((bits) &~ MACH_MSGH_BITS_PORTS_MASK)
# 172 "/usr/include/mach/message.h" 3 4
typedef unsigned int mach_msg_bits_t;
typedef natural_t mach_msg_size_t;
typedef integer_t mach_msg_id_t;
#define MACH_MSG_SIZE_NULL (mach_msg_size_t *) 0
typedef unsigned int mach_msg_type_name_t;
#define MACH_MSG_TYPE_MOVE_RECEIVE 16
#define MACH_MSG_TYPE_MOVE_SEND 17
#define MACH_MSG_TYPE_MOVE_SEND_ONCE 18
#define MACH_MSG_TYPE_COPY_SEND 19
#define MACH_MSG_TYPE_MAKE_SEND 20
#define MACH_MSG_TYPE_MAKE_SEND_ONCE 21
#define MACH_MSG_TYPE_COPY_RECEIVE 22
typedef unsigned int mach_msg_copy_options_t;
#define MACH_MSG_PHYSICAL_COPY 0
#define MACH_MSG_VIRTUAL_COPY 1
#define MACH_MSG_ALLOCATE 2
#define MACH_MSG_OVERWRITE 3
typedef unsigned int mach_msg_descriptor_type_t;
#define MACH_MSG_PORT_DESCRIPTOR 0
#define MACH_MSG_OOL_DESCRIPTOR 1
#define MACH_MSG_OOL_PORTS_DESCRIPTOR 2
#define MACH_MSG_OOL_VOLATILE_DESCRIPTOR 3
#pragma pack(4)
typedef struct
{
natural_t pad1;
mach_msg_size_t pad2;
unsigned int pad3 : 24;
mach_msg_descriptor_type_t type : 8;
} mach_msg_type_descriptor_t;
typedef struct
{
mach_port_t name;
mach_msg_size_t pad1;
unsigned int pad2 : 16;
mach_msg_type_name_t disposition : 8;
mach_msg_descriptor_type_t type : 8;
} mach_msg_port_descriptor_t;
typedef struct
{
uint32_t address;
mach_msg_size_t size;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
unsigned int pad1: 8;
mach_msg_descriptor_type_t type: 8;
} mach_msg_ool_descriptor32_t;
typedef struct
{
uint64_t address;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
unsigned int pad1: 8;
mach_msg_descriptor_type_t type: 8;
mach_msg_size_t size;
} mach_msg_ool_descriptor64_t;
typedef struct
{
void* address;
mach_msg_size_t size;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
unsigned int pad1: 8;
mach_msg_descriptor_type_t type: 8;
} mach_msg_ool_descriptor_t;
typedef struct
{
uint32_t address;
mach_msg_size_t count;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
mach_msg_type_name_t disposition : 8;
mach_msg_descriptor_type_t type : 8;
} mach_msg_ool_ports_descriptor32_t;
typedef struct
{
uint64_t address;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
mach_msg_type_name_t disposition : 8;
mach_msg_descriptor_type_t type : 8;
mach_msg_size_t count;
} mach_msg_ool_ports_descriptor64_t;
typedef struct
{
void* address;
mach_msg_size_t count;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
mach_msg_type_name_t disposition : 8;
mach_msg_descriptor_type_t type : 8;
} mach_msg_ool_ports_descriptor_t;
typedef union
{
mach_msg_port_descriptor_t port;
mach_msg_ool_descriptor_t out_of_line;
mach_msg_ool_ports_descriptor_t ool_ports;
mach_msg_type_descriptor_t type;
} mach_msg_descriptor_t;
typedef struct
{
mach_msg_size_t msgh_descriptor_count;
} mach_msg_body_t;
#define MACH_MSG_BODY_NULL (mach_msg_body_t *) 0
#define MACH_MSG_DESCRIPTOR_NULL (mach_msg_descriptor_t *) 0
typedef struct
{
mach_msg_bits_t msgh_bits;
mach_msg_size_t msgh_size;
mach_port_t msgh_remote_port;
mach_port_t msgh_local_port;
mach_msg_size_t msgh_reserved;
mach_msg_id_t msgh_id;
} mach_msg_header_t;
#define MACH_MSG_NULL (mach_msg_header_t *) 0
typedef struct
{
mach_msg_header_t header;
mach_msg_body_t body;
} mach_msg_base_t;
typedef unsigned int mach_msg_trailer_type_t;
#define MACH_MSG_TRAILER_FORMAT_0 0
typedef unsigned int mach_msg_trailer_size_t;
typedef struct
{
mach_msg_trailer_type_t msgh_trailer_type;
mach_msg_trailer_size_t msgh_trailer_size;
} mach_msg_trailer_t;
typedef struct
{
mach_msg_trailer_type_t msgh_trailer_type;
mach_msg_trailer_size_t msgh_trailer_size;
mach_port_seqno_t msgh_seqno;
} mach_msg_seqno_trailer_t;
typedef struct
{
unsigned int val[2];
} security_token_t;
typedef struct
{
mach_msg_trailer_type_t msgh_trailer_type;
mach_msg_trailer_size_t msgh_trailer_size;
mach_port_seqno_t msgh_seqno;
security_token_t msgh_sender;
} mach_msg_security_trailer_t;
# 375 "/usr/include/mach/message.h" 3 4
typedef struct
{
unsigned int val[8];
} audit_token_t;
typedef struct
{
mach_msg_trailer_type_t msgh_trailer_type;
mach_msg_trailer_size_t msgh_trailer_size;
mach_port_seqno_t msgh_seqno;
security_token_t msgh_sender;
audit_token_t msgh_audit;
} mach_msg_audit_trailer_t;
typedef struct
{
mach_port_name_t sender;
} msg_labels_t;
typedef struct
{
mach_msg_trailer_type_t msgh_trailer_type;
mach_msg_trailer_size_t msgh_trailer_size;
mach_port_seqno_t msgh_seqno;
security_token_t msgh_sender;
audit_token_t msgh_audit;
msg_labels_t msgh_labels;
int msgh_ad;
} mach_msg_mac_trailer_t;
#define MACH_MSG_TRAILER_MINIMUM_SIZE sizeof(mach_msg_trailer_t)
# 421 "/usr/include/mach/message.h" 3 4
typedef mach_msg_mac_trailer_t mach_msg_max_trailer_t;
#define MAX_TRAILER_SIZE sizeof(mach_msg_max_trailer_t)
# 431 "/usr/include/mach/message.h" 3 4
typedef mach_msg_security_trailer_t mach_msg_format_0_trailer_t;
#define MACH_MSG_TRAILER_FORMAT_0_SIZE sizeof(mach_msg_format_0_trailer_t)
#define KERNEL_SECURITY_TOKEN_VALUE { {0, 1} }
extern security_token_t KERNEL_SECURITY_TOKEN;
#define KERNEL_AUDIT_TOKEN_VALUE { {0, 0, 0, 0, 0, 0, 0, 0} }
extern audit_token_t KERNEL_AUDIT_TOKEN;
typedef integer_t mach_msg_options_t;
typedef struct
{
mach_msg_header_t header;
} mach_msg_empty_send_t;
typedef struct
{
mach_msg_header_t header;
mach_msg_trailer_t trailer;
} mach_msg_empty_rcv_t;
typedef union
{
mach_msg_empty_send_t send;
mach_msg_empty_rcv_t rcv;
} mach_msg_empty_t;
#pragma pack()
#define round_msg(x) (((mach_msg_size_t)(x) + sizeof (natural_t) - 1) & ~(sizeof (natural_t) - 1))
#define MACH_MSG_SIZE_MAX ((mach_msg_size_t) ~0)
#define MACH_MSGH_KIND_NORMAL 0x00000000
#define MACH_MSGH_KIND_NOTIFICATION 0x00000001
#define msgh_kind msgh_seqno
#define mach_msg_kind_t mach_port_seqno_t
# 509 "/usr/include/mach/message.h" 3 4
typedef natural_t mach_msg_type_size_t;
typedef natural_t mach_msg_type_number_t;
# 521 "/usr/include/mach/message.h" 3 4
#define MACH_MSG_TYPE_PORT_NONE 0
#define MACH_MSG_TYPE_PORT_NAME 15
#define MACH_MSG_TYPE_PORT_RECEIVE MACH_MSG_TYPE_MOVE_RECEIVE
#define MACH_MSG_TYPE_PORT_SEND MACH_MSG_TYPE_MOVE_SEND
#define MACH_MSG_TYPE_PORT_SEND_ONCE MACH_MSG_TYPE_MOVE_SEND_ONCE
#define MACH_MSG_TYPE_LAST 22
#define MACH_MSG_TYPE_POLYMORPHIC ((mach_msg_type_name_t) -1)
#define MACH_MSG_TYPE_PORT_ANY(x) (((x) >= MACH_MSG_TYPE_MOVE_RECEIVE) && ((x) <= MACH_MSG_TYPE_MAKE_SEND_ONCE))
#define MACH_MSG_TYPE_PORT_ANY_SEND(x) (((x) >= MACH_MSG_TYPE_MOVE_SEND) && ((x) <= MACH_MSG_TYPE_MAKE_SEND_ONCE))
#define MACH_MSG_TYPE_PORT_ANY_RIGHT(x) (((x) >= MACH_MSG_TYPE_MOVE_RECEIVE) && ((x) <= MACH_MSG_TYPE_MOVE_SEND_ONCE))
typedef integer_t mach_msg_option_t;
#define MACH_MSG_OPTION_NONE 0x00000000
#define MACH_SEND_MSG 0x00000001
#define MACH_RCV_MSG 0x00000002
#define MACH_RCV_LARGE 0x00000004
#define MACH_SEND_TIMEOUT 0x00000010
#define MACH_SEND_INTERRUPT 0x00000040
#define MACH_SEND_CANCEL 0x00000080
#define MACH_SEND_ALWAYS 0x00010000
#define MACH_SEND_TRAILER 0x00020000
#define MACH_RCV_TIMEOUT 0x00000100
#define MACH_RCV_NOTIFY 0x00000200
#define MACH_RCV_INTERRUPT 0x00000400
#define MACH_RCV_OVERWRITE 0x00001000
# 582 "/usr/include/mach/message.h" 3 4
#define MACH_RCV_TRAILER_NULL 0
#define MACH_RCV_TRAILER_SEQNO 1
#define MACH_RCV_TRAILER_SENDER 2
#define MACH_RCV_TRAILER_AUDIT 3
#define MACH_RCV_TRAILER_LABELS 4
#define MACH_RCV_TRAILER_AV 8
#define MACH_RCV_TRAILER_TYPE(x) (((x) & 0xf) << 28)
#define MACH_RCV_TRAILER_ELEMENTS(x) (((x) & 0xf) << 24)
#define MACH_RCV_TRAILER_MASK ((0xff << 24))
#define GET_RCV_ELEMENTS(y) (((y) >> 24) & 0xf)
# 603 "/usr/include/mach/message.h" 3 4
#define REQUESTED_TRAILER_SIZE(y) ((mach_msg_trailer_size_t) ((GET_RCV_ELEMENTS(y) == MACH_RCV_TRAILER_NULL) ? sizeof(mach_msg_trailer_t) : ((GET_RCV_ELEMENTS(y) == MACH_RCV_TRAILER_SEQNO) ? sizeof(mach_msg_seqno_trailer_t) : ((GET_RCV_ELEMENTS(y) == MACH_RCV_TRAILER_SENDER) ? sizeof(mach_msg_security_trailer_t) : ((GET_RCV_ELEMENTS(y) == MACH_RCV_TRAILER_AUDIT) ? sizeof(mach_msg_audit_trailer_t) : sizeof(mach_msg_max_trailer_t))))))
# 626 "/usr/include/mach/message.h" 3 4
typedef kern_return_t mach_msg_return_t;
#define MACH_MSG_SUCCESS 0x00000000
#define MACH_MSG_MASK 0x00003e00
#define MACH_MSG_IPC_SPACE 0x00002000
#define MACH_MSG_VM_SPACE 0x00001000
#define MACH_MSG_IPC_KERNEL 0x00000800
#define MACH_MSG_VM_KERNEL 0x00000400
#define MACH_SEND_IN_PROGRESS 0x10000001
#define MACH_SEND_INVALID_DATA 0x10000002
#define MACH_SEND_INVALID_DEST 0x10000003
#define MACH_SEND_TIMED_OUT 0x10000004
#define MACH_SEND_INTERRUPTED 0x10000007
#define MACH_SEND_MSG_TOO_SMALL 0x10000008
#define MACH_SEND_INVALID_REPLY 0x10000009
#define MACH_SEND_INVALID_RIGHT 0x1000000a
#define MACH_SEND_INVALID_NOTIFY 0x1000000b
#define MACH_SEND_INVALID_MEMORY 0x1000000c
#define MACH_SEND_NO_BUFFER 0x1000000d
#define MACH_SEND_TOO_LARGE 0x1000000e
#define MACH_SEND_INVALID_TYPE 0x1000000f
#define MACH_SEND_INVALID_HEADER 0x10000010
#define MACH_SEND_INVALID_TRAILER 0x10000011
#define MACH_SEND_INVALID_RT_OOL_SIZE 0x10000015
#define MACH_RCV_IN_PROGRESS 0x10004001
#define MACH_RCV_INVALID_NAME 0x10004002
#define MACH_RCV_TIMED_OUT 0x10004003
#define MACH_RCV_TOO_LARGE 0x10004004
#define MACH_RCV_INTERRUPTED 0x10004005
#define MACH_RCV_PORT_CHANGED 0x10004006
#define MACH_RCV_INVALID_NOTIFY 0x10004007
#define MACH_RCV_INVALID_DATA 0x10004008
#define MACH_RCV_PORT_DIED 0x10004009
#define MACH_RCV_IN_SET 0x1000400a
#define MACH_RCV_HEADER_ERROR 0x1000400b
#define MACH_RCV_BODY_ERROR 0x1000400c
#define MACH_RCV_INVALID_TYPE 0x1000400d
#define MACH_RCV_SCATTER_SMALL 0x1000400e
#define MACH_RCV_INVALID_TRAILER 0x1000400f
#define MACH_RCV_IN_PROGRESS_TIMED 0x10004011
# 728 "/usr/include/mach/message.h" 3 4
extern mach_msg_return_t mach_msg_overwrite(
mach_msg_header_t *msg,
mach_msg_option_t option,
mach_msg_size_t send_size,
mach_msg_size_t rcv_size,
mach_port_name_t rcv_name,
mach_msg_timeout_t timeout,
mach_port_name_t notify,
mach_msg_header_t *rcv_msg,
mach_msg_size_t rcv_limit);
# 748 "/usr/include/mach/message.h" 3 4
extern mach_msg_return_t mach_msg(
mach_msg_header_t *msg,
mach_msg_option_t option,
mach_msg_size_t send_size,
mach_msg_size_t rcv_size,
mach_port_name_t rcv_name,
mach_msg_timeout_t timeout,
mach_port_name_t notify);
# 69 "/usr/include/mach/host_info.h" 2 3 4
# 1 "/usr/include/mach/vm_statistics.h" 1 3 4
# 67 "/usr/include/mach/vm_statistics.h" 3 4
#define _MACH_VM_STATISTICS_H_
struct vm_statistics {
natural_t free_count;
natural_t active_count;
natural_t inactive_count;
natural_t wire_count;
natural_t zero_fill_count;
natural_t reactivations;
natural_t pageins;
natural_t pageouts;
natural_t faults;
natural_t cow_faults;
natural_t lookups;
natural_t hits;
natural_t purgeable_count;
natural_t purges;
# 96 "/usr/include/mach/vm_statistics.h" 3 4
natural_t speculative_count;
};
typedef struct vm_statistics *vm_statistics_t;
typedef struct vm_statistics vm_statistics_data_t;
#define VM_PAGE_QUERY_PAGE_PRESENT 0x1
#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x2
#define VM_PAGE_QUERY_PAGE_REF 0x4
#define VM_PAGE_QUERY_PAGE_DIRTY 0x8
#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x10
#define VM_PAGE_QUERY_PAGE_COPIED 0x20
#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x40
# 142 "/usr/include/mach/vm_statistics.h" 3 4
#define VM_FLAGS_FIXED 0x0000
#define VM_FLAGS_ANYWHERE 0x0001
#define VM_FLAGS_PURGABLE 0x0002
#define VM_FLAGS_NO_CACHE 0x0010
#define VM_FLAGS_GUARD_BEFORE 0x0010
#define VM_FLAGS_GUARD_AFTER 0x0020
#define VM_FLAGS_ALIAS_MASK 0xFF000000
#define VM_GET_FLAGS_ALIAS(flags,alias) (alias) = ((flags) & VM_FLAGS_ALIAS_MASK) >> 24
#define VM_SET_FLAGS_ALIAS(flags,alias) (flags) = (((flags) & ~VM_FLAGS_ALIAS_MASK) | (((alias) & ~VM_FLAGS_ALIAS_MASK) << 24))
#define VM_FLAGS_USER_ALLOCATE (VM_FLAGS_FIXED | VM_FLAGS_ANYWHERE | VM_FLAGS_PURGABLE | VM_FLAGS_NO_CACHE | VM_FLAGS_ALIAS_MASK)
#define VM_FLAGS_USER_MAP VM_FLAGS_USER_ALLOCATE
#define VM_MEMORY_MALLOC 1
#define VM_MEMORY_MALLOC_SMALL 2
#define VM_MEMORY_MALLOC_LARGE 3
#define VM_MEMORY_MALLOC_HUGE 4
#define VM_MEMORY_SBRK 5
#define VM_MEMORY_REALLOC 6
#define VM_MEMORY_MALLOC_TINY 7
#define VM_MEMORY_ANALYSIS_TOOL 10
#define VM_MEMORY_MACH_MSG 20
#define VM_MEMORY_IOKIT 21
#define VM_MEMORY_STACK 30
#define VM_MEMORY_GUARD 31
#define VM_MEMORY_SHARED_PMAP 32
#define VM_MEMORY_DYLIB 33
#define VM_MEMORY_APPKIT 40
#define VM_MEMORY_FOUNDATION 41
#define VM_MEMORY_COREGRAPHICS 42
#define VM_MEMORY_CARBON 43
#define VM_MEMORY_JAVA 44
#define VM_MEMORY_ATS 50
#define VM_MEMORY_LAYERKIT 51
#define VM_MEMORY_CGIMAGE 52
#define VM_MEMORY_TCMALLOC 53
#define VM_MEMORY_COREGRAPHICS_DATA 54
#define VM_MEMORY_COREGRAPHICS_SHARED 55
#define VM_MEMORY_COREGRAPHICS_FRAMEBUFFERS 56
#define VM_MEMORY_COREGRAPHICS_BACKINGSTORES 57
#define VM_MEMORY_COREGRAPHICS_MISC VM_MEMORY_COREGRAPHICS
#define VM_MEMORY_DYLD 60
#define VM_MEMORY_DYLD_MALLOC 61
#define VM_MEMORY_APPLICATION_SPECIFIC_1 240
#define VM_MEMORY_APPLICATION_SPECIFIC_16 255
#define VM_MAKE_TAG(tag) ((tag) << 24)
# 70 "/usr/include/mach/host_info.h" 2 3 4
# 1 "/usr/include/mach/machine.h" 1 3 4
# 61 "/usr/include/mach/machine.h" 3 4
#define _MACH_MACHINE_H_
typedef integer_t cpu_type_t;
typedef integer_t cpu_subtype_t;
typedef integer_t cpu_threadtype_t;
#define CPU_STATE_MAX 4
#define CPU_STATE_USER 0
#define CPU_STATE_SYSTEM 1
#define CPU_STATE_IDLE 2
#define CPU_STATE_NICE 3
#define CPU_ARCH_MASK 0xff000000
#define CPU_ARCH_ABI64 0x01000000
#define CPU_TYPE_ANY ((cpu_type_t) -1)
#define CPU_TYPE_VAX ((cpu_type_t) 1)
#define CPU_TYPE_MC680x0 ((cpu_type_t) 6)
#define CPU_TYPE_X86 ((cpu_type_t) 7)
#define CPU_TYPE_I386 CPU_TYPE_X86
#define CPU_TYPE_X86_64 (CPU_TYPE_X86 | CPU_ARCH_ABI64)
#define CPU_TYPE_MC98000 ((cpu_type_t) 10)
#define CPU_TYPE_HPPA ((cpu_type_t) 11)
#define CPU_TYPE_ARM ((cpu_type_t) 12)
#define CPU_TYPE_MC88000 ((cpu_type_t) 13)
#define CPU_TYPE_SPARC ((cpu_type_t) 14)
#define CPU_TYPE_I860 ((cpu_type_t) 15)
#define CPU_TYPE_POWERPC ((cpu_type_t) 18)
#define CPU_TYPE_POWERPC64 (CPU_TYPE_POWERPC | CPU_ARCH_ABI64)
# 124 "/usr/include/mach/machine.h" 3 4
#define CPU_SUBTYPE_MASK 0xff000000
#define CPU_SUBTYPE_LIB64 0x80000000
# 139 "/usr/include/mach/machine.h" 3 4
#define CPU_SUBTYPE_MULTIPLE ((cpu_subtype_t) -1)
#define CPU_SUBTYPE_LITTLE_ENDIAN ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_BIG_ENDIAN ((cpu_subtype_t) 1)
#define CPU_THREADTYPE_NONE ((cpu_threadtype_t) 0)
#define CPU_SUBTYPE_VAX_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_VAX780 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_VAX785 ((cpu_subtype_t) 2)
#define CPU_SUBTYPE_VAX750 ((cpu_subtype_t) 3)
#define CPU_SUBTYPE_VAX730 ((cpu_subtype_t) 4)
#define CPU_SUBTYPE_UVAXI ((cpu_subtype_t) 5)
#define CPU_SUBTYPE_UVAXII ((cpu_subtype_t) 6)
#define CPU_SUBTYPE_VAX8200 ((cpu_subtype_t) 7)
#define CPU_SUBTYPE_VAX8500 ((cpu_subtype_t) 8)
#define CPU_SUBTYPE_VAX8600 ((cpu_subtype_t) 9)
#define CPU_SUBTYPE_VAX8650 ((cpu_subtype_t) 10)
#define CPU_SUBTYPE_VAX8800 ((cpu_subtype_t) 11)
#define CPU_SUBTYPE_UVAXIII ((cpu_subtype_t) 12)
# 185 "/usr/include/mach/machine.h" 3 4
#define CPU_SUBTYPE_MC680x0_ALL ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_MC68030 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_MC68040 ((cpu_subtype_t) 2)
#define CPU_SUBTYPE_MC68030_ONLY ((cpu_subtype_t) 3)
#define CPU_SUBTYPE_INTEL(f,m) ((cpu_subtype_t) (f) + ((m) << 4))
#define CPU_SUBTYPE_I386_ALL CPU_SUBTYPE_INTEL(3, 0)
#define CPU_SUBTYPE_386 CPU_SUBTYPE_INTEL(3, 0)
#define CPU_SUBTYPE_486 CPU_SUBTYPE_INTEL(4, 0)
#define CPU_SUBTYPE_486SX CPU_SUBTYPE_INTEL(4, 8)
#define CPU_SUBTYPE_586 CPU_SUBTYPE_INTEL(5, 0)
#define CPU_SUBTYPE_PENT CPU_SUBTYPE_INTEL(5, 0)
#define CPU_SUBTYPE_PENTPRO CPU_SUBTYPE_INTEL(6, 1)
#define CPU_SUBTYPE_PENTII_M3 CPU_SUBTYPE_INTEL(6, 3)
#define CPU_SUBTYPE_PENTII_M5 CPU_SUBTYPE_INTEL(6, 5)
#define CPU_SUBTYPE_CELERON CPU_SUBTYPE_INTEL(7, 6)
#define CPU_SUBTYPE_CELERON_MOBILE CPU_SUBTYPE_INTEL(7, 7)
#define CPU_SUBTYPE_PENTIUM_3 CPU_SUBTYPE_INTEL(8, 0)
#define CPU_SUBTYPE_PENTIUM_3_M CPU_SUBTYPE_INTEL(8, 1)
#define CPU_SUBTYPE_PENTIUM_3_XEON CPU_SUBTYPE_INTEL(8, 2)
#define CPU_SUBTYPE_PENTIUM_M CPU_SUBTYPE_INTEL(9, 0)
#define CPU_SUBTYPE_PENTIUM_4 CPU_SUBTYPE_INTEL(10, 0)
#define CPU_SUBTYPE_PENTIUM_4_M CPU_SUBTYPE_INTEL(10, 1)
#define CPU_SUBTYPE_ITANIUM CPU_SUBTYPE_INTEL(11, 0)
#define CPU_SUBTYPE_ITANIUM_2 CPU_SUBTYPE_INTEL(11, 1)
#define CPU_SUBTYPE_XEON CPU_SUBTYPE_INTEL(12, 0)
#define CPU_SUBTYPE_XEON_MP CPU_SUBTYPE_INTEL(12, 1)
#define CPU_SUBTYPE_INTEL_FAMILY(x) ((x) & 15)
#define CPU_SUBTYPE_INTEL_FAMILY_MAX 15
#define CPU_SUBTYPE_INTEL_MODEL(x) ((x) >> 4)
#define CPU_SUBTYPE_INTEL_MODEL_ALL 0
#define CPU_SUBTYPE_X86_ALL ((cpu_subtype_t)3)
#define CPU_SUBTYPE_X86_64_ALL ((cpu_subtype_t)3)
#define CPU_SUBTYPE_X86_ARCH1 ((cpu_subtype_t)4)
#define CPU_THREADTYPE_INTEL_HTT ((cpu_threadtype_t) 1)
#define CPU_SUBTYPE_MIPS_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_MIPS_R2300 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_MIPS_R2600 ((cpu_subtype_t) 2)
#define CPU_SUBTYPE_MIPS_R2800 ((cpu_subtype_t) 3)
#define CPU_SUBTYPE_MIPS_R2000a ((cpu_subtype_t) 4)
#define CPU_SUBTYPE_MIPS_R2000 ((cpu_subtype_t) 5)
#define CPU_SUBTYPE_MIPS_R3000a ((cpu_subtype_t) 6)
#define CPU_SUBTYPE_MIPS_R3000 ((cpu_subtype_t) 7)
#define CPU_SUBTYPE_MC98000_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_MC98601 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_HPPA_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_HPPA_7100 ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_HPPA_7100LC ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_MC88000_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_MC88100 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_MC88110 ((cpu_subtype_t) 2)
#define CPU_SUBTYPE_SPARC_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_I860_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_I860_860 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_POWERPC_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_POWERPC_601 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_POWERPC_602 ((cpu_subtype_t) 2)
#define CPU_SUBTYPE_POWERPC_603 ((cpu_subtype_t) 3)
#define CPU_SUBTYPE_POWERPC_603e ((cpu_subtype_t) 4)
#define CPU_SUBTYPE_POWERPC_603ev ((cpu_subtype_t) 5)
#define CPU_SUBTYPE_POWERPC_604 ((cpu_subtype_t) 6)
#define CPU_SUBTYPE_POWERPC_604e ((cpu_subtype_t) 7)
#define CPU_SUBTYPE_POWERPC_620 ((cpu_subtype_t) 8)
#define CPU_SUBTYPE_POWERPC_750 ((cpu_subtype_t) 9)
#define CPU_SUBTYPE_POWERPC_7400 ((cpu_subtype_t) 10)
#define CPU_SUBTYPE_POWERPC_7450 ((cpu_subtype_t) 11)
#define CPU_SUBTYPE_POWERPC_970 ((cpu_subtype_t) 100)
#define CPU_SUBTYPE_ARM_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_ARM_V4T ((cpu_subtype_t) 5)
#define CPU_SUBTYPE_ARM_V6 ((cpu_subtype_t) 6)
# 316 "/usr/include/mach/machine.h" 3 4
#define CPUFAMILY_UNKNOWN 0
#define CPUFAMILY_POWERPC_G3 0xcee41549
#define CPUFAMILY_POWERPC_G4 0x77c184ae
#define CPUFAMILY_POWERPC_G5 0xed76d8aa
#define CPUFAMILY_INTEL_6_13 0xaa33392b
#define CPUFAMILY_INTEL_6_14 0x73d67300
#define CPUFAMILY_INTEL_6_15 0x426f69ef
#define CPUFAMILY_INTEL_6_23 0x78ea4fbc
#define CPUFAMILY_INTEL_6_26 0x6b5a4cd2
#define CPUFAMILY_ARM_9 0xe73283ae
#define CPUFAMILY_ARM_11 0x8ff620d8
#define CPUFAMILY_INTEL_YONAH CPUFAMILY_INTEL_6_14
#define CPUFAMILY_INTEL_MEROM CPUFAMILY_INTEL_6_15
#define CPUFAMILY_INTEL_PENRYN CPUFAMILY_INTEL_6_23
#define CPUFAMILY_INTEL_NEHALEM CPUFAMILY_INTEL_6_26
#define CPUFAMILY_INTEL_CORE CPUFAMILY_INTEL_6_14
#define CPUFAMILY_INTEL_CORE2 CPUFAMILY_INTEL_6_15
# 71 "/usr/include/mach/host_info.h" 2 3 4
# 1 "/usr/include/mach/time_value.h" 1 3 4
# 58 "/usr/include/mach/time_value.h" 3 4
#define _MACH_TIME_VALUE_H_
struct time_value {
integer_t seconds;
integer_t microseconds;
};
typedef struct time_value time_value_t;
#define TIME_MICROS_MAX (1000000)
#define time_value_add_usec(val,micros) { if (((val)->microseconds += (micros)) >= TIME_MICROS_MAX) { (val)->microseconds -= TIME_MICROS_MAX; (val)->seconds++; } }
#define time_value_add(result,addend) { (result)->microseconds += (addend)->microseconds; (result)->seconds += (addend)->seconds; if ((result)->microseconds >= TIME_MICROS_MAX) { (result)->microseconds -= TIME_MICROS_MAX; (result)->seconds++; } }
# 73 "/usr/include/mach/host_info.h" 2 3 4
typedef integer_t *host_info_t;
#define HOST_INFO_MAX (1024)
typedef integer_t host_info_data_t[(1024)];
#define KERNEL_VERSION_MAX (512)
typedef char kernel_version_t[(512)];
#define KERNEL_BOOT_INFO_MAX (4096)
typedef char kernel_boot_info_t[(4096)];
typedef integer_t host_flavor_t;
#define HOST_BASIC_INFO 1
#define HOST_SCHED_INFO 3
#define HOST_RESOURCE_SIZES 4
#define HOST_PRIORITY_INFO 5
#define HOST_SEMAPHORE_TRAPS 7
#define HOST_MACH_MSG_TRAP 8
#pragma pack(4)
struct host_basic_info {
integer_t max_cpus;
integer_t avail_cpus;
natural_t memory_size;
cpu_type_t cpu_type;
cpu_subtype_t cpu_subtype;
cpu_threadtype_t cpu_threadtype;
integer_t physical_cpu;
integer_t physical_cpu_max;
integer_t logical_cpu;
integer_t logical_cpu_max;
uint64_t max_mem;
};
#pragma pack()
typedef struct host_basic_info host_basic_info_data_t;
typedef struct host_basic_info *host_basic_info_t;
#define HOST_BASIC_INFO_COUNT ((mach_msg_type_number_t) (sizeof(host_basic_info_data_t)/sizeof(integer_t)))
struct host_sched_info {
integer_t min_timeout;
integer_t min_quantum;
};
typedef struct host_sched_info host_sched_info_data_t;
typedef struct host_sched_info *host_sched_info_t;
#define HOST_SCHED_INFO_COUNT ((mach_msg_type_number_t) (sizeof(host_sched_info_data_t)/sizeof(integer_t)))
struct kernel_resource_sizes {
natural_t task;
natural_t thread;
natural_t port;
natural_t memory_region;
natural_t memory_object;
};
typedef struct kernel_resource_sizes kernel_resource_sizes_data_t;
typedef struct kernel_resource_sizes *kernel_resource_sizes_t;
#define HOST_RESOURCE_SIZES_COUNT ((mach_msg_type_number_t) (sizeof(kernel_resource_sizes_data_t)/sizeof(integer_t)))
struct host_priority_info {
integer_t kernel_priority;
integer_t system_priority;
integer_t server_priority;
integer_t user_priority;
integer_t depress_priority;
integer_t idle_priority;
integer_t minimum_priority;
integer_t maximum_priority;
};
typedef struct host_priority_info host_priority_info_data_t;
typedef struct host_priority_info *host_priority_info_t;
#define HOST_PRIORITY_INFO_COUNT ((mach_msg_type_number_t) (sizeof(host_priority_info_data_t)/sizeof(integer_t)))
#define HOST_LOAD_INFO 1
#define HOST_VM_INFO 2
#define HOST_CPU_LOAD_INFO 3
struct host_load_info {
integer_t avenrun[3];
integer_t mach_factor[3];
};
typedef struct host_load_info host_load_info_data_t;
typedef struct host_load_info *host_load_info_t;
#define HOST_LOAD_INFO_COUNT ((mach_msg_type_number_t) (sizeof(host_load_info_data_t)/sizeof(integer_t)))
#define HOST_VM_INFO_COUNT ((mach_msg_type_number_t) (sizeof(vm_statistics_data_t)/sizeof(integer_t)))
#define HOST_VM_INFO_LATEST_COUNT HOST_VM_INFO_COUNT
#define HOST_VM_INFO_REV2_COUNT HOST_VM_INFO_LATEST_COUNT
#define HOST_VM_INFO_REV1_COUNT ((mach_msg_type_number_t) (HOST_VM_INFO_REV2_COUNT - 1))
#define HOST_VM_INFO_REV0_COUNT ((mach_msg_type_number_t) (HOST_VM_INFO_REV1_COUNT - 2))
struct host_cpu_load_info {
natural_t cpu_ticks[4];
};
typedef struct host_cpu_load_info host_cpu_load_info_data_t;
typedef struct host_cpu_load_info *host_cpu_load_info_t;
#define HOST_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) (sizeof (host_cpu_load_info_data_t) / sizeof (integer_t)))
# 81 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/host_notify.h" 1 3 4
# 30 "/usr/include/mach/host_notify.h" 3 4
#define _MACH_HOST_NOTIFY_H_
#define HOST_NOTIFY_CALENDAR_CHANGE 0
#define HOST_NOTIFY_TYPE_MAX 0
#define HOST_CALENDAR_CHANGED_REPLYID 950
# 82 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/host_special_ports.h" 1 3 4
# 65 "/usr/include/mach/host_special_ports.h" 3 4
#define _MACH_HOST_SPECIAL_PORTS_H_
#define HOST_SECURITY_PORT 0
#define HOST_PORT 1
#define HOST_PRIV_PORT 2
#define HOST_IO_MASTER_PORT 3
#define HOST_MAX_SPECIAL_KERNEL_PORT 7
#define HOST_DYNAMIC_PAGER_PORT (1 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_AUDIT_CONTROL_PORT (2 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_USER_NOTIFICATION_PORT (3 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_LOCKD_PORT (5 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_SEATBELT_PORT (7 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_MAX_SPECIAL_PORT (8 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_LOCAL_NODE -1
# 103 "/usr/include/mach/host_special_ports.h" 3 4
#define host_get_host_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_PORT, (port)))
#define host_set_host_port(host,port) (KERN_INVALID_ARGUMENT)
#define host_get_host_priv_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_PRIV_PORT, (port)))
#define host_set_host_priv_port(host,port) (KERN_INVALID_ARGUMENT)
#define host_get_io_master_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_IO_MASTER_PORT, (port)))
#define host_set_io_master_port(host,port) (KERN_INVALID_ARGUMENT)
#define host_get_dynamic_pager_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_DYNAMIC_PAGER_PORT, (port)))
#define host_set_dynamic_pager_port(host,port) (host_set_special_port((host), HOST_DYNAMIC_PAGER_PORT, (port)))
#define host_get_audit_control_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_AUDIT_CONTROL_PORT, (port)))
#define host_set_audit_control_port(host,port) (host_set_special_port((host), HOST_AUDIT_CONTROL_PORT, (port)))
#define host_get_user_notification_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_USER_NOTIFICATION_PORT, (port)))
#define host_set_user_notification_port(host,port) (host_set_special_port((host), HOST_USER_NOTIFICATION_PORT, (port)))
#define host_get_lockd_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_LOCKD_PORT, (port)))
#define host_set_lockd_port(host,port) (host_set_special_port((host), HOST_LOCKD_PORT, (port)))
# 83 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/memory_object_types.h" 1 3 4
# 66 "/usr/include/mach/memory_object_types.h" 3 4
#define _MACH_MEMORY_OBJECT_TYPES_H_
# 75 "/usr/include/mach/memory_object_types.h" 3 4
# 1 "/usr/include/mach/vm_prot.h" 1 3 4
# 67 "/usr/include/mach/vm_prot.h" 3 4
#define _MACH_VM_PROT_H_
typedef int vm_prot_t;
#define VM_PROT_NONE ((vm_prot_t) 0x00)
#define VM_PROT_READ ((vm_prot_t) 0x01)
#define VM_PROT_WRITE ((vm_prot_t) 0x02)
#define VM_PROT_EXECUTE ((vm_prot_t) 0x04)
#define VM_PROT_DEFAULT (VM_PROT_READ|VM_PROT_WRITE)
#define VM_PROT_ALL (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE)
# 106 "/usr/include/mach/vm_prot.h" 3 4
#define VM_PROT_NO_CHANGE ((vm_prot_t) 0x08)
# 116 "/usr/include/mach/vm_prot.h" 3 4
#define VM_PROT_COPY ((vm_prot_t) 0x10)
# 130 "/usr/include/mach/vm_prot.h" 3 4
#define VM_PROT_WANTS_COPY ((vm_prot_t) 0x10)
# 76 "/usr/include/mach/memory_object_types.h" 2 3 4
# 1 "/usr/include/mach/vm_sync.h" 1 3 4
# 64 "/usr/include/mach/vm_sync.h" 3 4
#define _MACH_VM_SYNC_H_
typedef unsigned vm_sync_t;
#define VM_SYNC_ASYNCHRONOUS ((vm_sync_t) 0x01)
#define VM_SYNC_SYNCHRONOUS ((vm_sync_t) 0x02)
#define VM_SYNC_INVALIDATE ((vm_sync_t) 0x04)
#define VM_SYNC_KILLPAGES ((vm_sync_t) 0x08)
#define VM_SYNC_DEACTIVATE ((vm_sync_t) 0x10)
#define VM_SYNC_CONTIGUOUS ((vm_sync_t) 0x20)
# 77 "/usr/include/mach/memory_object_types.h" 2 3 4
# 1 "/usr/include/mach/vm_types.h" 1 3 4
# 33 "/usr/include/mach/vm_types.h" 3 4
#define _MACH_VM_TYPES_H_
typedef vm_offset_t pointer_t;
typedef vm_offset_t vm_address_t;
typedef uint64_t addr64_t;
# 61 "/usr/include/mach/vm_types.h" 3 4
typedef uint32_t reg64_t;
typedef uint32_t ppnum_t;
#define PPNUM_MAX UINT32_MAX
typedef mach_port_t vm_map_t;
#define VM_MAP_NULL ((vm_map_t) 0)
typedef uint64_t vm_object_offset_t;
typedef uint64_t vm_object_size_t;
typedef mach_port_t upl_t;
typedef mach_port_t vm_named_entry_t;
#define UPL_NULL ((upl_t) 0)
#define VM_NAMED_ENTRY_NULL ((vm_named_entry_t) 0)
# 78 "/usr/include/mach/memory_object_types.h" 2 3 4
#define VM_64_BIT_DATA_OBJECTS
typedef unsigned long long memory_object_offset_t;
typedef unsigned long long memory_object_size_t;
typedef natural_t memory_object_cluster_size_t;
typedef natural_t * memory_object_fault_info_t;
typedef mach_port_t memory_object_t;
typedef mach_port_t memory_object_control_t;
typedef memory_object_t *memory_object_array_t;
typedef mach_port_t memory_object_name_t;
typedef mach_port_t memory_object_default_t;
#define MEMORY_OBJECT_NULL ((memory_object_t) 0)
#define MEMORY_OBJECT_CONTROL_NULL ((memory_object_control_t) 0)
#define MEMORY_OBJECT_NAME_NULL ((memory_object_name_t) 0)
#define MEMORY_OBJECT_DEFAULT_NULL ((memory_object_default_t) 0)
typedef int memory_object_copy_strategy_t;
#define MEMORY_OBJECT_COPY_NONE 0
#define MEMORY_OBJECT_COPY_CALL 1
#define MEMORY_OBJECT_COPY_DELAY 2
#define MEMORY_OBJECT_COPY_TEMPORARY 3
#define MEMORY_OBJECT_COPY_SYMMETRIC 4
# 144 "/usr/include/mach/memory_object_types.h" 3 4
#define MEMORY_OBJECT_COPY_INVALID 5
# 154 "/usr/include/mach/memory_object_types.h" 3 4
typedef int memory_object_return_t;
#define MEMORY_OBJECT_RETURN_NONE 0
#define MEMORY_OBJECT_RETURN_DIRTY 1
#define MEMORY_OBJECT_RETURN_ALL 2
#define MEMORY_OBJECT_RETURN_ANYTHING 3
#define MEMORY_OBJECT_DATA_FLUSH 0x1
#define MEMORY_OBJECT_DATA_NO_CHANGE 0x2
#define MEMORY_OBJECT_DATA_PURGE 0x4
#define MEMORY_OBJECT_COPY_SYNC 0x8
#define MEMORY_OBJECT_DATA_SYNC 0x10
#define MEMORY_OBJECT_IO_SYNC 0x20
#define MEMORY_OBJECT_INFO_MAX (1024)
typedef int *memory_object_info_t;
typedef int memory_object_flavor_t;
typedef int memory_object_info_data_t[(1024)];
#define MEMORY_OBJECT_PERFORMANCE_INFO 11
#define MEMORY_OBJECT_ATTRIBUTE_INFO 14
#define MEMORY_OBJECT_BEHAVIOR_INFO 15
struct memory_object_perf_info {
memory_object_cluster_size_t cluster_size;
boolean_t may_cache;
};
struct memory_object_attr_info {
memory_object_copy_strategy_t copy_strategy;
memory_object_cluster_size_t cluster_size;
boolean_t may_cache_object;
boolean_t temporary;
};
struct memory_object_behave_info {
memory_object_copy_strategy_t copy_strategy;
boolean_t temporary;
boolean_t invalidate;
boolean_t silent_overwrite;
boolean_t advisory_pageout;
};
typedef struct memory_object_behave_info *memory_object_behave_info_t;
typedef struct memory_object_behave_info memory_object_behave_info_data_t;
typedef struct memory_object_perf_info *memory_object_perf_info_t;
typedef struct memory_object_perf_info memory_object_perf_info_data_t;
typedef struct memory_object_attr_info *memory_object_attr_info_t;
typedef struct memory_object_attr_info memory_object_attr_info_data_t;
#define MEMORY_OBJECT_BEHAVE_INFO_COUNT ((mach_msg_type_number_t) (sizeof(memory_object_behave_info_data_t)/sizeof(int)))
#define MEMORY_OBJECT_PERF_INFO_COUNT ((mach_msg_type_number_t) (sizeof(memory_object_perf_info_data_t)/sizeof(int)))
#define MEMORY_OBJECT_ATTR_INFO_COUNT ((mach_msg_type_number_t) (sizeof(memory_object_attr_info_data_t)/sizeof(int)))
#define invalid_memory_object_flavor(f) (f != MEMORY_OBJECT_ATTRIBUTE_INFO && f != MEMORY_OBJECT_PERFORMANCE_INFO && f != OLD_MEMORY_OBJECT_BEHAVIOR_INFO && f != MEMORY_OBJECT_BEHAVIOR_INFO && f != OLD_MEMORY_OBJECT_ATTRIBUTE_INFO)
# 240 "/usr/include/mach/memory_object_types.h" 3 4
#define MEMORY_OBJECT_TERMINATE_IDLE 0x1
#define MEMORY_OBJECT_RESPECT_CACHE 0x2
#define MEMORY_OBJECT_RELEASE_NO_OP 0x4
#define MAP_MEM_NOOP 0
#define MAP_MEM_COPYBACK 1
#define MAP_MEM_IO 2
#define MAP_MEM_WTHRU 3
#define MAP_MEM_WCOMB 4
#define GET_MAP_MEM(flags) ((((unsigned int)(flags)) >> 24) & 0xFF)
#define SET_MAP_MEM(caching,flags) ((flags) = ((((unsigned int)(caching)) << 24) & 0xFF000000) | ((flags) & 0xFFFFFF));
#define MAP_MEM_ONLY 0x10000
#define MAP_MEM_NAMED_CREATE 0x20000
#define MAP_MEM_PURGABLE 0x40000
#define MAP_MEM_NAMED_REUSE 0x80000
# 86 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/exception_types.h" 1 3 4
# 60 "/usr/include/mach/exception_types.h" 3 4
#define _MACH_EXCEPTION_TYPES_H_
# 1 "/usr/include/mach/machine/exception.h" 1 3 4
# 30 "/usr/include/mach/machine/exception.h" 3 4
#define _MACH_MACHINE_EXCEPTION_H_
# 1 "/usr/include/mach/i386/exception.h" 1 3 4
# 60 "/usr/include/mach/i386/exception.h" 3 4
#define _MACH_I386_EXCEPTION_H_
#define EXC_TYPES_COUNT 11
#define EXCEPTION_CODE_MAX 2
#define EXC_I386_INVOP 1
#define EXC_I386_DIV 1
#define EXC_I386_INTO 2
#define EXC_I386_NOEXT 3
#define EXC_I386_EXTOVR 4
#define EXC_I386_EXTERR 5
#define EXC_I386_EMERR 6
#define EXC_I386_BOUND 7
#define EXC_I386_SSEEXTERR 8
# 106 "/usr/include/mach/i386/exception.h" 3 4
#define EXC_I386_SGL 1
#define EXC_I386_BPT 2
#define EXC_I386_DIVERR 0
#define EXC_I386_SGLSTP 1
#define EXC_I386_NMIFLT 2
#define EXC_I386_BPTFLT 3
#define EXC_I386_INTOFLT 4
#define EXC_I386_BOUNDFLT 5
#define EXC_I386_INVOPFLT 6
#define EXC_I386_NOEXTFLT 7
#define EXC_I386_DBLFLT 8
#define EXC_I386_EXTOVRFLT 9
#define EXC_I386_INVTSSFLT 10
#define EXC_I386_SEGNPFLT 11
#define EXC_I386_STKFLT 12
#define EXC_I386_GPFLT 13
#define EXC_I386_PGFLT 14
#define EXC_I386_EXTERRFLT 16
#define EXC_I386_ALIGNFLT 17
#define EXC_I386_ENDPERR 33
#define EXC_I386_ENOEXTFLT 32
#define EXC_MASK_MACHINE 0
# 36 "/usr/include/mach/machine/exception.h" 2 3 4
# 63 "/usr/include/mach/exception_types.h" 2 3 4
#define EXC_BAD_ACCESS 1
#define EXC_BAD_INSTRUCTION 2
#define EXC_ARITHMETIC 3
#define EXC_EMULATION 4
#define EXC_SOFTWARE 5
#define EXC_BREAKPOINT 6
#define EXC_SYSCALL 7
#define EXC_MACH_SYSCALL 8
#define EXC_RPC_ALERT 9
#define EXC_CRASH 10
#define EXCEPTION_DEFAULT 1
#define EXCEPTION_STATE 2
#define EXCEPTION_STATE_IDENTITY 3
#define MACH_EXCEPTION_CODES 0x80000000
#define EXC_MASK_BAD_ACCESS (1 << EXC_BAD_ACCESS)
#define EXC_MASK_BAD_INSTRUCTION (1 << EXC_BAD_INSTRUCTION)
#define EXC_MASK_ARITHMETIC (1 << EXC_ARITHMETIC)
#define EXC_MASK_EMULATION (1 << EXC_EMULATION)
#define EXC_MASK_SOFTWARE (1 << EXC_SOFTWARE)
#define EXC_MASK_BREAKPOINT (1 << EXC_BREAKPOINT)
#define EXC_MASK_SYSCALL (1 << EXC_SYSCALL)
#define EXC_MASK_MACH_SYSCALL (1 << EXC_MACH_SYSCALL)
#define EXC_MASK_RPC_ALERT (1 << EXC_RPC_ALERT)
#define EXC_MASK_CRASH (1 << EXC_CRASH)
#define EXC_MASK_ALL (EXC_MASK_BAD_ACCESS | EXC_MASK_BAD_INSTRUCTION | EXC_MASK_ARITHMETIC | EXC_MASK_EMULATION | EXC_MASK_SOFTWARE | EXC_MASK_BREAKPOINT | EXC_MASK_SYSCALL | EXC_MASK_MACH_SYSCALL | EXC_MASK_RPC_ALERT | EXC_MASK_CRASH | EXC_MASK_MACHINE)
# 148 "/usr/include/mach/exception_types.h" 3 4
#define FIRST_EXCEPTION 1
#define EXC_SOFT_SIGNAL 0x10003
# 1 "/usr/include/mach/thread_status.h" 1 3 4
# 69 "/usr/include/mach/thread_status.h" 3 4
#define _MACH_THREAD_STATUS_H_
# 1 "/usr/include/mach/machine/thread_status.h" 1 3 4
# 30 "/usr/include/mach/machine/thread_status.h" 3 4
#define _MACH_MACHINE_THREAD_STATUS_H_
# 1 "/usr/include/mach/i386/thread_status.h" 1 3 4
# 68 "/usr/include/mach/i386/thread_status.h" 3 4
#define _MACH_I386_THREAD_STATUS_H_
# 1 "/usr/include/mach/i386/fp_reg.h" 1 3 4
# 60 "/usr/include/mach/i386/fp_reg.h" 3 4
#define _I386_FP_SAVE_H_
struct x86_fx_save {
unsigned short fx_control;
unsigned short fx_status;
unsigned char fx_tag;
unsigned char fx_bbz1;
unsigned short fx_opcode;
unsigned int fx_eip;
unsigned short fx_cs;
unsigned short fx_bbz2;
unsigned int fx_dp;
unsigned short fx_ds;
unsigned short fx_bbz3;
unsigned int fx_MXCSR;
unsigned int fx_MXCSR_MASK;
unsigned short fx_reg_word[8][8];
unsigned short fx_XMM_reg[8][16];
unsigned char fx_reserved[16*6];
};
#define FPC_IE 0x0001
#define FPC_IM FPC_IE
#define FPC_DE 0x0002
#define FPC_DM FPC_DE
#define FPC_ZE 0x0004
#define FPC_ZM FPC_ZE
#define FPC_OE 0x0008
#define FPC_OM FPC_OE
#define FPC_UE 0x0010
#define FPC_PE 0x0020
#define FPC_PC 0x0300
#define FPC_PC_24 0x0000
#define FPC_PC_53 0x0200
#define FPC_PC_64 0x0300
#define FPC_RC 0x0c00
#define FPC_RC_RN 0x0000
#define FPC_RC_RD 0x0400
#define FPC_RC_RU 0x0800
#define FPC_RC_CHOP 0x0c00
#define FPC_IC 0x1000
#define FPC_IC_PROJ 0x0000
#define FPC_IC_AFF 0x1000
#define FPS_IE 0x0001
#define FPS_DE 0x0002
#define FPS_ZE 0x0004
#define FPS_OE 0x0008
#define FPS_UE 0x0010
#define FPS_PE 0x0020
#define FPS_SF 0x0040
#define FPS_ES 0x0080
#define FPS_C0 0x0100
#define FPS_C1 0x0200
#define FPS_C2 0x0400
#define FPS_TOS 0x3800
#define FPS_TOS_SHIFT 11
#define FPS_C3 0x4000
#define FPS_BUSY 0x8000
#define FP_NO 0
#define FP_SOFT 1
#define FP_287 2
#define FP_387 3
#define FP_FXSR 4
# 73 "/usr/include/mach/i386/thread_status.h" 2 3 4
# 1 "/usr/include/mach/i386/thread_state.h" 1 3 4
# 33 "/usr/include/mach/i386/thread_state.h" 3 4
#define _MACH_I386_THREAD_STATE_H_
#define I386_THREAD_STATE_MAX (144)
#define THREAD_STATE_MAX I386_THREAD_STATE_MAX
# 74 "/usr/include/mach/i386/thread_status.h" 2 3 4
# 1 "/usr/include/i386/eflags.h" 1 3 4
# 60 "/usr/include/i386/eflags.h" 3 4
#define _I386_EFLAGS_H_
#define EFL_CF 0x00000001
#define EFL_PF 0x00000004
#define EFL_AF 0x00000010
#define EFL_ZF 0x00000040
#define EFL_SF 0x00000080
#define EFL_TF 0x00000100
#define EFL_IF 0x00000200
#define EFL_DF 0x00000400
#define EFL_OF 0x00000800
#define EFL_IOPL 0x00003000
#define EFL_IOPL_KERNEL 0x00000000
#define EFL_IOPL_USER 0x00003000
#define EFL_NT 0x00004000
#define EFL_RF 0x00010000
#define EFL_VM 0x00020000
#define EFL_AC 0x00040000
#define EFL_VIF 0x00080000
#define EFL_VIP 0x00100000
#define EFL_ID 0x00200000
#define EFL_CLR 0xfff88028
#define EFL_SET 0x00000002
#define EFL_USER_SET (EFL_IF)
#define EFL_USER_CLEAR (EFL_IOPL|EFL_NT|EFL_RF)
# 75 "/usr/include/mach/i386/thread_status.h" 2 3 4
# 92 "/usr/include/mach/i386/thread_status.h" 3 4
#define i386_THREAD_STATE 1
#define i386_FLOAT_STATE 2
#define i386_EXCEPTION_STATE 3
#define x86_THREAD_STATE32 1
#define x86_FLOAT_STATE32 2
#define x86_EXCEPTION_STATE32 3
#define x86_THREAD_STATE64 4
#define x86_FLOAT_STATE64 5
#define x86_EXCEPTION_STATE64 6
#define x86_THREAD_STATE 7
#define x86_FLOAT_STATE 8
#define x86_EXCEPTION_STATE 9
#define x86_DEBUG_STATE32 10
#define x86_DEBUG_STATE64 11
#define x86_DEBUG_STATE 12
#define THREAD_STATE_NONE 13
#define THREAD_MACHINE_STATE_MAX THREAD_STATE_MAX
#define VALID_THREAD_STATE_FLAVOR(x) ((x == x86_THREAD_STATE32) || (x == x86_FLOAT_STATE32) || (x == x86_EXCEPTION_STATE32) || (x == x86_DEBUG_STATE32) || (x == x86_THREAD_STATE64) || (x == x86_FLOAT_STATE64) || (x == x86_EXCEPTION_STATE64) || (x == x86_DEBUG_STATE64) || (x == x86_THREAD_STATE) || (x == x86_FLOAT_STATE) || (x == x86_EXCEPTION_STATE) || (x == x86_DEBUG_STATE) || (x == THREAD_STATE_NONE))
# 141 "/usr/include/mach/i386/thread_status.h" 3 4
struct x86_state_hdr {
int flavor;
int count;
};
typedef struct x86_state_hdr x86_state_hdr_t;
#define USER_CODE_SELECTOR 0x0017
#define USER_DATA_SELECTOR 0x001f
#define KERN_CODE_SELECTOR 0x0008
#define KERN_DATA_SELECTOR 0x0010
typedef struct __darwin_i386_thread_state i386_thread_state_t;
#define i386_THREAD_STATE_COUNT ((mach_msg_type_number_t) ( sizeof (i386_thread_state_t) / sizeof (int) ))
typedef struct __darwin_i386_thread_state x86_thread_state32_t;
#define x86_THREAD_STATE32_COUNT ((mach_msg_type_number_t) ( sizeof (x86_thread_state32_t) / sizeof (int) ))
typedef struct __darwin_i386_float_state i386_float_state_t;
#define i386_FLOAT_STATE_COUNT ((mach_msg_type_number_t) (sizeof(i386_float_state_t)/sizeof(unsigned int)))
typedef struct __darwin_i386_float_state x86_float_state32_t;
#define x86_FLOAT_STATE32_COUNT ((mach_msg_type_number_t) (sizeof(x86_float_state32_t)/sizeof(unsigned int)))
typedef struct __darwin_i386_exception_state i386_exception_state_t;
#define i386_EXCEPTION_STATE_COUNT ((mach_msg_type_number_t) ( sizeof (i386_exception_state_t) / sizeof (int) ))
typedef struct __darwin_i386_exception_state x86_exception_state32_t;
#define x86_EXCEPTION_STATE32_COUNT ((mach_msg_type_number_t) ( sizeof (x86_exception_state32_t) / sizeof (int) ))
#define I386_EXCEPTION_STATE_COUNT i386_EXCEPTION_STATE_COUNT
typedef struct __darwin_x86_debug_state32 x86_debug_state32_t;
#define x86_DEBUG_STATE32_COUNT ((mach_msg_type_number_t) ( sizeof (x86_debug_state32_t) / sizeof (int) ))
#define X86_DEBUG_STATE32_COUNT x86_DEBUG_STATE32_COUNT
typedef struct __darwin_x86_thread_state64 x86_thread_state64_t;
#define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) ( sizeof (x86_thread_state64_t) / sizeof (int) ))
typedef struct __darwin_x86_float_state64 x86_float_state64_t;
#define x86_FLOAT_STATE64_COUNT ((mach_msg_type_number_t) (sizeof(x86_float_state64_t)/sizeof(unsigned int)))
typedef struct __darwin_x86_exception_state64 x86_exception_state64_t;
#define x86_EXCEPTION_STATE64_COUNT ((mach_msg_type_number_t) ( sizeof (x86_exception_state64_t) / sizeof (int) ))
#define X86_EXCEPTION_STATE64_COUNT x86_EXCEPTION_STATE64_COUNT
typedef struct __darwin_x86_debug_state64 x86_debug_state64_t;
#define x86_DEBUG_STATE64_COUNT ((mach_msg_type_number_t) ( sizeof (x86_debug_state64_t) / sizeof (int) ))
#define X86_DEBUG_STATE64_COUNT x86_DEBUG_STATE64_COUNT
struct x86_thread_state {
x86_state_hdr_t tsh;
union {
x86_thread_state32_t ts32;
x86_thread_state64_t ts64;
} uts;
};
struct x86_float_state {
x86_state_hdr_t fsh;
union {
x86_float_state32_t fs32;
x86_float_state64_t fs64;
} ufs;
};
struct x86_exception_state {
x86_state_hdr_t esh;
union {
x86_exception_state32_t es32;
x86_exception_state64_t es64;
} ues;
};
struct x86_debug_state {
x86_state_hdr_t dsh;
union {
x86_debug_state32_t ds32;
x86_debug_state64_t ds64;
} uds;
};
typedef struct x86_thread_state x86_thread_state_t;
#define x86_THREAD_STATE_COUNT ((mach_msg_type_number_t) ( sizeof (x86_thread_state_t) / sizeof (int) ))
typedef struct x86_float_state x86_float_state_t;
#define x86_FLOAT_STATE_COUNT ((mach_msg_type_number_t) (sizeof(x86_float_state_t)/sizeof(unsigned int)))
typedef struct x86_exception_state x86_exception_state_t;
#define x86_EXCEPTION_STATE_COUNT ((mach_msg_type_number_t) (sizeof(x86_exception_state_t)/sizeof(unsigned int)))
typedef struct x86_debug_state x86_debug_state_t;
#define x86_DEBUG_STATE_COUNT ((mach_msg_type_number_t) (sizeof(x86_debug_state_t)/sizeof(unsigned int)))
#define MACHINE_THREAD_STATE x86_THREAD_STATE
#define MACHINE_THREAD_STATE_COUNT x86_THREAD_STATE_COUNT
# 288 "/usr/include/mach/i386/thread_status.h" 3 4
struct x86_seg_load_fault32 {
unsigned int trapno;
unsigned int err;
unsigned int eip;
unsigned int cs;
unsigned int efl;
};
# 36 "/usr/include/mach/machine/thread_status.h" 2 3 4
# 77 "/usr/include/mach/thread_status.h" 2 3 4
# 1 "/usr/include/mach/machine/thread_state.h" 1 3 4
# 30 "/usr/include/mach/machine/thread_state.h" 3 4
#define _MACH_MACHINE_THREAD_STATE_H_
# 78 "/usr/include/mach/thread_status.h" 2 3 4
typedef natural_t *thread_state_t;
typedef natural_t thread_state_data_t[(144)];
#define THREAD_STATE_FLAVOR_LIST 0
#define THREAD_STATE_FLAVOR_LIST_NEW 128
typedef int thread_state_flavor_t;
typedef thread_state_flavor_t *thread_state_flavor_array_t;
# 161 "/usr/include/mach/exception_types.h" 2 3 4
typedef int exception_type_t;
typedef integer_t exception_data_type_t;
typedef int64_t mach_exception_data_type_t;
typedef int exception_behavior_t;
typedef exception_data_type_t *exception_data_t;
typedef mach_exception_data_type_t *mach_exception_data_t;
typedef unsigned int exception_mask_t;
typedef exception_mask_t *exception_mask_array_t;
typedef exception_behavior_t *exception_behavior_array_t;
typedef thread_state_flavor_t *exception_flavor_array_t;
typedef mach_port_t *exception_port_array_t;
typedef mach_exception_data_type_t mach_exception_code_t;
typedef mach_exception_data_type_t mach_exception_subcode_t;
# 88 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/processor_info.h" 1 3 4
# 68 "/usr/include/mach/processor_info.h" 3 4
#define _MACH_PROCESSOR_INFO_H_
# 1 "/usr/include/mach/machine/processor_info.h" 1 3 4
# 30 "/usr/include/mach/machine/processor_info.h" 3 4
#define _MACH_MACHINE_PROCESSOR_INFO_H_
# 1 "/usr/include/mach/i386/processor_info.h" 1 3 4
# 35 "/usr/include/mach/i386/processor_info.h" 3 4
#define _MACH_I386_PROCESSOR_INFO_H_
# 36 "/usr/include/mach/machine/processor_info.h" 2 3 4
# 73 "/usr/include/mach/processor_info.h" 2 3 4
typedef integer_t *processor_info_t;
typedef integer_t *processor_info_array_t;
#define PROCESSOR_INFO_MAX (1024)
typedef integer_t processor_info_data_t[(1024)];
typedef integer_t *processor_set_info_t;
#define PROCESSOR_SET_INFO_MAX (1024)
typedef integer_t processor_set_info_data_t[(1024)];
typedef int processor_flavor_t;
#define PROCESSOR_BASIC_INFO 1
#define PROCESSOR_CPU_LOAD_INFO 2
#define PROCESSOR_PM_REGS_INFO 0x10000001
#define PROCESSOR_TEMPERATURE 0x10000002
struct processor_basic_info {
cpu_type_t cpu_type;
cpu_subtype_t cpu_subtype;
boolean_t running;
int slot_num;
boolean_t is_master;
};
typedef struct processor_basic_info processor_basic_info_data_t;
typedef struct processor_basic_info *processor_basic_info_t;
#define PROCESSOR_BASIC_INFO_COUNT ((mach_msg_type_number_t) (sizeof(processor_basic_info_data_t)/sizeof(natural_t)))
struct processor_cpu_load_info {
unsigned int cpu_ticks[4];
};
typedef struct processor_cpu_load_info processor_cpu_load_info_data_t;
typedef struct processor_cpu_load_info *processor_cpu_load_info_t;
#define PROCESSOR_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) (sizeof(processor_cpu_load_info_data_t)/sizeof(natural_t)))
#define LOAD_SCALE 1000
typedef int processor_set_flavor_t;
#define PROCESSOR_SET_BASIC_INFO 5
struct processor_set_basic_info {
int processor_count;
int default_policy;
};
typedef struct processor_set_basic_info processor_set_basic_info_data_t;
typedef struct processor_set_basic_info *processor_set_basic_info_t;
#define PROCESSOR_SET_BASIC_INFO_COUNT ((mach_msg_type_number_t) (sizeof(processor_set_basic_info_data_t)/sizeof(natural_t)))
#define PROCESSOR_SET_LOAD_INFO 4
struct processor_set_load_info {
int task_count;
int thread_count;
integer_t load_average;
integer_t mach_factor;
};
typedef struct processor_set_load_info processor_set_load_info_data_t;
typedef struct processor_set_load_info *processor_set_load_info_t;
#define PROCESSOR_SET_LOAD_INFO_COUNT ((mach_msg_type_number_t) (sizeof(processor_set_load_info_data_t)/sizeof(natural_t)))
# 90 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/task_info.h" 1 3 4
# 66 "/usr/include/mach/task_info.h" 3 4
#define _MACH_TASK_INFO_H_
# 1 "/usr/include/mach/policy.h" 1 3 4
# 60 "/usr/include/mach/policy.h" 3 4
#define _MACH_POLICY_H_
# 79 "/usr/include/mach/policy.h" 3 4
typedef int policy_t;
typedef integer_t *policy_info_t;
typedef integer_t *policy_base_t;
typedef integer_t *policy_limit_t;
#define POLICY_NULL 0
#define POLICY_TIMESHARE 1
#define POLICY_RR 2
#define POLICY_FIFO 4
#define __NEW_SCHEDULING_FRAMEWORK__
#define POLICYCLASS_FIXEDPRI (POLICY_RR | POLICY_FIFO)
#define invalid_policy(policy) ((policy) != POLICY_TIMESHARE && (policy) != POLICY_RR && (policy) != POLICY_FIFO)
# 113 "/usr/include/mach/policy.h" 3 4
struct policy_timeshare_base {
integer_t base_priority;
};
struct policy_timeshare_limit {
integer_t max_priority;
};
struct policy_timeshare_info {
integer_t max_priority;
integer_t base_priority;
integer_t cur_priority;
boolean_t depressed;
integer_t depress_priority;
};
typedef struct policy_timeshare_base *policy_timeshare_base_t;
typedef struct policy_timeshare_limit *policy_timeshare_limit_t;
typedef struct policy_timeshare_info *policy_timeshare_info_t;
typedef struct policy_timeshare_base policy_timeshare_base_data_t;
typedef struct policy_timeshare_limit policy_timeshare_limit_data_t;
typedef struct policy_timeshare_info policy_timeshare_info_data_t;
#define POLICY_TIMESHARE_BASE_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_timeshare_base)/sizeof(integer_t)))
#define POLICY_TIMESHARE_LIMIT_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_timeshare_limit)/sizeof(integer_t)))
#define POLICY_TIMESHARE_INFO_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_timeshare_info)/sizeof(integer_t)))
struct policy_rr_base {
integer_t base_priority;
integer_t quantum;
};
struct policy_rr_limit {
integer_t max_priority;
};
struct policy_rr_info {
integer_t max_priority;
integer_t base_priority;
integer_t quantum;
boolean_t depressed;
integer_t depress_priority;
};
typedef struct policy_rr_base *policy_rr_base_t;
typedef struct policy_rr_limit *policy_rr_limit_t;
typedef struct policy_rr_info *policy_rr_info_t;
typedef struct policy_rr_base policy_rr_base_data_t;
typedef struct policy_rr_limit policy_rr_limit_data_t;
typedef struct policy_rr_info policy_rr_info_data_t;
#define POLICY_RR_BASE_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_rr_base)/sizeof(integer_t)))
#define POLICY_RR_LIMIT_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_rr_limit)/sizeof(integer_t)))
#define POLICY_RR_INFO_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_rr_info)/sizeof(integer_t)))
struct policy_fifo_base {
integer_t base_priority;
};
struct policy_fifo_limit {
integer_t max_priority;
};
struct policy_fifo_info {
integer_t max_priority;
integer_t base_priority;
boolean_t depressed;
integer_t depress_priority;
};
typedef struct policy_fifo_base *policy_fifo_base_t;
typedef struct policy_fifo_limit *policy_fifo_limit_t;
typedef struct policy_fifo_info *policy_fifo_info_t;
typedef struct policy_fifo_base policy_fifo_base_data_t;
typedef struct policy_fifo_limit policy_fifo_limit_data_t;
typedef struct policy_fifo_info policy_fifo_info_data_t;
#define POLICY_FIFO_BASE_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_fifo_base)/sizeof(integer_t)))
#define POLICY_FIFO_LIMIT_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_fifo_limit)/sizeof(integer_t)))
#define POLICY_FIFO_INFO_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_fifo_info)/sizeof(integer_t)))
struct policy_bases {
policy_timeshare_base_data_t ts;
policy_rr_base_data_t rr;
policy_fifo_base_data_t fifo;
};
struct policy_limits {
policy_timeshare_limit_data_t ts;
policy_rr_limit_data_t rr;
policy_fifo_limit_data_t fifo;
};
struct policy_infos {
policy_timeshare_info_data_t ts;
policy_rr_info_data_t rr;
policy_fifo_info_data_t fifo;
};
typedef struct policy_bases policy_base_data_t;
typedef struct policy_limits policy_limit_data_t;
typedef struct policy_infos policy_info_data_t;
# 72 "/usr/include/mach/task_info.h" 2 3 4
typedef natural_t task_flavor_t;
typedef integer_t *task_info_t;
#define TASK_INFO_MAX (1024)
typedef integer_t task_info_data_t[(1024)];
#pragma pack(4)
#define TASK_BASIC_INFO_32 4
#define TASK_BASIC2_INFO_32 6
struct task_basic_info_32 {
integer_t suspend_count;
natural_t virtual_size;
natural_t resident_size;
time_value_t user_time;
time_value_t system_time;
policy_t policy;
};
typedef struct task_basic_info_32 task_basic_info_32_data_t;
typedef struct task_basic_info_32 *task_basic_info_32_t;
#define TASK_BASIC_INFO_32_COUNT (sizeof(task_basic_info_32_data_t) / sizeof(natural_t))
#define TASK_BASIC_INFO_64 5
struct task_basic_info_64 {
integer_t suspend_count;
mach_vm_size_t virtual_size;
mach_vm_size_t resident_size;
time_value_t user_time;
time_value_t system_time;
policy_t policy;
};
typedef struct task_basic_info_64 task_basic_info_64_data_t;
typedef struct task_basic_info_64 *task_basic_info_64_t;
#define TASK_BASIC_INFO_64_COUNT (sizeof(task_basic_info_64_data_t) / sizeof(natural_t))
struct task_basic_info {
integer_t suspend_count;
vm_size_t virtual_size;
vm_size_t resident_size;
time_value_t user_time;
time_value_t system_time;
policy_t policy;
};
typedef struct task_basic_info task_basic_info_data_t;
typedef struct task_basic_info *task_basic_info_t;
#define TASK_BASIC_INFO_COUNT (sizeof(task_basic_info_data_t) / sizeof(natural_t))
#define TASK_BASIC_INFO TASK_BASIC_INFO_32
#define TASK_EVENTS_INFO 2
struct task_events_info {
integer_t faults;
integer_t pageins;
integer_t cow_faults;
integer_t messages_sent;
integer_t messages_received;
integer_t syscalls_mach;
integer_t syscalls_unix;
integer_t csw;
};
typedef struct task_events_info task_events_info_data_t;
typedef struct task_events_info *task_events_info_t;
#define TASK_EVENTS_INFO_COUNT ((mach_msg_type_number_t) (sizeof(task_events_info_data_t) / sizeof(natural_t)))
#define TASK_THREAD_TIMES_INFO 3
struct task_thread_times_info {
time_value_t user_time;
time_value_t system_time;
};
typedef struct task_thread_times_info task_thread_times_info_data_t;
typedef struct task_thread_times_info *task_thread_times_info_t;
#define TASK_THREAD_TIMES_INFO_COUNT ((mach_msg_type_number_t) (sizeof(task_thread_times_info_data_t) / sizeof(natural_t)))
#define TASK_ABSOLUTETIME_INFO 1
struct task_absolutetime_info {
uint64_t total_user;
uint64_t total_system;
uint64_t threads_user;
uint64_t threads_system;
};
typedef struct task_absolutetime_info task_absolutetime_info_data_t;
typedef struct task_absolutetime_info *task_absolutetime_info_t;
#define TASK_ABSOLUTETIME_INFO_COUNT ((mach_msg_type_number_t) (sizeof (task_absolutetime_info_data_t) / sizeof (natural_t)))
#define TASK_SECURITY_TOKEN 13
#define TASK_SECURITY_TOKEN_COUNT ((mach_msg_type_number_t) (sizeof(security_token_t) / sizeof(natural_t)))
#define TASK_AUDIT_TOKEN 15
#define TASK_AUDIT_TOKEN_COUNT (sizeof(audit_token_t) / sizeof(natural_t))
#define TASK_AFFINITY_TAG_INFO 16
struct task_affinity_tag_info {
integer_t set_count;
integer_t min;
integer_t max;
integer_t task_count;
};
typedef struct task_affinity_tag_info task_affinity_tag_info_data_t;
typedef struct task_affinity_tag_info *task_affinity_tag_info_t;
#define TASK_AFFINITY_TAG_INFO_COUNT (sizeof(task_affinity_tag_info_data_t) / sizeof(natural_t))
#pragma pack()
#define TASK_SCHED_TIMESHARE_INFO 10
#define TASK_SCHED_RR_INFO 11
#define TASK_SCHED_FIFO_INFO 12
#define TASK_SCHED_INFO 14
# 91 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/task_policy.h" 1 3 4
# 30 "/usr/include/mach/task_policy.h" 3 4
#define _MACH_TASK_POLICY_H_
# 1 "/usr/include/mach/mach_types.h" 1 3 4
# 33 "/usr/include/mach/task_policy.h" 2 3 4
# 51 "/usr/include/mach/task_policy.h" 3 4
typedef natural_t task_policy_flavor_t;
typedef integer_t *task_policy_t;
# 104 "/usr/include/mach/task_policy.h" 3 4
#define TASK_CATEGORY_POLICY 1
enum task_role {
TASK_RENICED = -1,
TASK_UNSPECIFIED = 0,
TASK_FOREGROUND_APPLICATION,
TASK_BACKGROUND_APPLICATION,
TASK_CONTROL_APPLICATION,
TASK_GRAPHICS_SERVER
};
typedef enum task_role task_role_t;
struct task_category_policy {
task_role_t role;
};
typedef struct task_category_policy task_category_policy_data_t;
typedef struct task_category_policy *task_category_policy_t;
#define TASK_CATEGORY_POLICY_COUNT ((mach_msg_type_number_t) (sizeof (task_category_policy_data_t) / sizeof (integer_t)))
# 92 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/task_special_ports.h" 1 3 4
# 68 "/usr/include/mach/task_special_ports.h" 3 4
#define _MACH_TASK_SPECIAL_PORTS_H_
typedef int task_special_port_t;
#define TASK_KERNEL_PORT 1
#define TASK_HOST_PORT 2
#define TASK_NAME_PORT 3
#define TASK_BOOTSTRAP_PORT 4
#define TASK_WIRED_LEDGER_PORT 5
#define TASK_PAGED_LEDGER_PORT 6
#define TASK_SEATBELT_PORT 7
#define TASK_GSSD_PORT 8
#define TASK_ACCESS_PORT 9
#define TASK_AUTOMOUNTD_PORT 10
#define task_get_wired_ledger_port(task,port) (task_get_special_port((task), TASK_WIRED_LEDGER_PORT, (port)))
#define task_set_wired_ledger_port(task,port) (task_set_special_port((task), TASK_WIRED_LEDGER_PORT, (port)))
#define task_get_paged_ledger_port(task,port) (task_get_special_port((task), TASK_PAGED_LEDGER_PORT, (port)))
#define task_set_paged_ledger_port(task,port) (task_set_special_port((task), TASK_PAGED_LEDGER_PORT, (port)))
#define task_get_kernel_port(task,port) (task_get_special_port((task), TASK_KERNEL_PORT, (port)))
#define task_set_kernel_port(task,port) (task_set_special_port((task), TASK_KERNEL_PORT, (port)))
#define task_get_host_port(task,port) (task_get_special_port((task), TASK_HOST_PORT, (port)))
#define task_set_host_port(task,port) (task_set_special_port((task), TASK_HOST_PORT, (port)))
#define task_get_bootstrap_port(task,port) (task_get_special_port((task), TASK_BOOTSTRAP_PORT, (port)))
#define task_set_bootstrap_port(task,port) (task_set_special_port((task), TASK_BOOTSTRAP_PORT, (port)))
#define task_get_gssd_port(task,port) (task_get_special_port((task), TASK_GSSD_PORT, (port)))
#define task_set_gssd_port(task,port) (task_set_special_port((task), TASK_GSSD_PORT, (port)))
#define task_get_task_access_port(task,port) (task_get_special_port((task), TASK_ACCESS_PORT, (port)))
#define task_set_task_access_port(task,port) (task_set_special_port((task), TASK_ACCESS_PORT, (port)))
#define task_get_automountd_port(task,port) (task_get_special_port((task), TASK_AUTOMOUNTD_PORT, (port)))
#define task_set_automountd_port(task,port) (task_set_special_port((task), TASK_AUTOMOUNTD_PORT, (port)))
# 93 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/thread_info.h" 1 3 4
# 70 "/usr/include/mach/thread_info.h" 3 4
#define _MACH_THREAD_INFO_H_
# 81 "/usr/include/mach/thread_info.h" 3 4
typedef natural_t thread_flavor_t;
typedef integer_t *thread_info_t;
#define THREAD_INFO_MAX (1024)
typedef integer_t thread_info_data_t[(1024)];
#define THREAD_BASIC_INFO 3
struct thread_basic_info {
time_value_t user_time;
time_value_t system_time;
integer_t cpu_usage;
policy_t policy;
integer_t run_state;
integer_t flags;
integer_t suspend_count;
integer_t sleep_time;
};
typedef struct thread_basic_info thread_basic_info_data_t;
typedef struct thread_basic_info *thread_basic_info_t;
#define THREAD_BASIC_INFO_COUNT ((mach_msg_type_number_t) (sizeof(thread_basic_info_data_t) / sizeof(natural_t)))
#define TH_USAGE_SCALE 1000
#define TH_STATE_RUNNING 1
#define TH_STATE_STOPPED 2
#define TH_STATE_WAITING 3
#define TH_STATE_UNINTERRUPTIBLE 4
#define TH_STATE_HALTED 5
#define TH_FLAGS_SWAPPED 0x1
#define TH_FLAGS_IDLE 0x2
#define THREAD_SCHED_TIMESHARE_INFO 10
#define THREAD_SCHED_RR_INFO 11
#define THREAD_SCHED_FIFO_INFO 12
# 94 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/thread_policy.h" 1 3 4
# 30 "/usr/include/mach/thread_policy.h" 3 4
#define _MACH_THREAD_POLICY_H_
# 51 "/usr/include/mach/thread_policy.h" 3 4
typedef natural_t thread_policy_flavor_t;
typedef integer_t *thread_policy_t;
# 84 "/usr/include/mach/thread_policy.h" 3 4
#define THREAD_STANDARD_POLICY 1
struct thread_standard_policy {
natural_t no_data;
};
typedef struct thread_standard_policy thread_standard_policy_data_t;
typedef struct thread_standard_policy *thread_standard_policy_t;
#define THREAD_STANDARD_POLICY_COUNT 0
# 107 "/usr/include/mach/thread_policy.h" 3 4
#define THREAD_EXTENDED_POLICY 1
struct thread_extended_policy {
boolean_t timeshare;
};
typedef struct thread_extended_policy thread_extended_policy_data_t;
typedef struct thread_extended_policy *thread_extended_policy_t;
#define THREAD_EXTENDED_POLICY_COUNT ((mach_msg_type_number_t) (sizeof (thread_extended_policy_data_t) / sizeof (integer_t)))
# 146 "/usr/include/mach/thread_policy.h" 3 4
#define THREAD_TIME_CONSTRAINT_POLICY 2
struct thread_time_constraint_policy {
uint32_t period;
uint32_t computation;
uint32_t constraint;
boolean_t preemptible;
};
typedef struct thread_time_constraint_policy thread_time_constraint_policy_data_t;
typedef struct thread_time_constraint_policy *thread_time_constraint_policy_t;
#define THREAD_TIME_CONSTRAINT_POLICY_COUNT ((mach_msg_type_number_t) (sizeof (thread_time_constraint_policy_data_t) / sizeof (integer_t)))
# 174 "/usr/include/mach/thread_policy.h" 3 4
#define THREAD_PRECEDENCE_POLICY 3
struct thread_precedence_policy {
integer_t importance;
};
typedef struct thread_precedence_policy thread_precedence_policy_data_t;
typedef struct thread_precedence_policy *thread_precedence_policy_t;
#define THREAD_PRECEDENCE_POLICY_COUNT ((mach_msg_type_number_t) (sizeof (thread_precedence_policy_data_t) / sizeof (integer_t)))
# 204 "/usr/include/mach/thread_policy.h" 3 4
#define THREAD_AFFINITY_POLICY 4
struct thread_affinity_policy {
integer_t affinity_tag;
};
#define THREAD_AFFINITY_TAG_NULL 0
typedef struct thread_affinity_policy thread_affinity_policy_data_t;
typedef struct thread_affinity_policy *thread_affinity_policy_t;
#define THREAD_AFFINITY_POLICY_COUNT ((mach_msg_type_number_t) (sizeof (thread_affinity_policy_data_t) / sizeof (integer_t)))
# 95 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/thread_special_ports.h" 1 3 4
# 68 "/usr/include/mach/thread_special_ports.h" 3 4
#define _MACH_THREAD_SPECIAL_PORTS_H_
#define THREAD_KERNEL_PORT 1
#define thread_get_kernel_port(thread,port) (thread_get_special_port((thread), THREAD_KERNEL_PORT, (port)))
#define thread_set_kernel_port(thread,port) (thread_set_special_port((thread), THREAD_KERNEL_PORT, (port)))
# 96 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/clock_types.h" 1 3 4
# 43 "/usr/include/mach/clock_types.h" 3 4
#define _MACH_CLOCK_TYPES_H_
typedef int alarm_type_t;
typedef int sleep_type_t;
typedef int clock_id_t;
typedef int clock_flavor_t;
typedef int *clock_attr_t;
typedef int clock_res_t;
struct mach_timespec {
unsigned int tv_sec;
clock_res_t tv_nsec;
};
typedef struct mach_timespec mach_timespec_t;
#define SYSTEM_CLOCK 0
#define CALENDAR_CLOCK 1
#define REALTIME_CLOCK 0
#define CLOCK_GET_TIME_RES 1
#define CLOCK_ALARM_CURRES 3
#define CLOCK_ALARM_MINRES 4
#define CLOCK_ALARM_MAXRES 5
#define NSEC_PER_USEC 1000
#define USEC_PER_SEC 1000000
#define NSEC_PER_SEC 1000000000
#define BAD_MACH_TIMESPEC(t) ((t)->tv_nsec < 0 || (t)->tv_nsec >= NSEC_PER_SEC)
#define CMP_MACH_TIMESPEC(t1,t2) ((t1)->tv_sec > (t2)->tv_sec ? +NSEC_PER_SEC : ((t1)->tv_sec < (t2)->tv_sec ? -NSEC_PER_SEC : (t1)->tv_nsec - (t2)->tv_nsec))
#define ADD_MACH_TIMESPEC(t1,t2) do { if (((t1)->tv_nsec += (t2)->tv_nsec) >= NSEC_PER_SEC) { (t1)->tv_nsec -= NSEC_PER_SEC; (t1)->tv_sec += 1; } (t1)->tv_sec += (t2)->tv_sec; } while (0)
# 108 "/usr/include/mach/clock_types.h" 3 4
#define SUB_MACH_TIMESPEC(t1,t2) do { if (((t1)->tv_nsec -= (t2)->tv_nsec) < 0) { (t1)->tv_nsec += NSEC_PER_SEC; (t1)->tv_sec -= 1; } (t1)->tv_sec -= (t2)->tv_sec; } while (0)
# 120 "/usr/include/mach/clock_types.h" 3 4
#define ALRMTYPE 0xff
#define TIME_ABSOLUTE 0x00
#define TIME_RELATIVE 0x01
#define BAD_ALRMTYPE(t) (((t) &~ TIME_RELATIVE) != 0)
# 99 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/vm_attributes.h" 1 3 4
# 71 "/usr/include/mach/vm_attributes.h" 3 4
#define _MACH_VM_ATTRIBUTES_H_
typedef unsigned int vm_machine_attribute_t;
#define MATTR_CACHE 1
#define MATTR_MIGRATE 2
#define MATTR_REPLICATE 4
typedef int vm_machine_attribute_val_t;
#define MATTR_VAL_OFF 0
#define MATTR_VAL_ON 1
#define MATTR_VAL_GET 2
#define MATTR_VAL_CACHE_FLUSH 6
#define MATTR_VAL_DCACHE_FLUSH 7
#define MATTR_VAL_ICACHE_FLUSH 8
#define MATTR_VAL_CACHE_SYNC 9
#define MATTR_VAL_CACHE_SYNC 9
#define MATTR_VAL_GET_INFO 10
# 100 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/vm_inherit.h" 1 3 4
# 67 "/usr/include/mach/vm_inherit.h" 3 4
#define _MACH_VM_INHERIT_H_
typedef unsigned int vm_inherit_t;
#define VM_INHERIT_SHARE ((vm_inherit_t) 0)
#define VM_INHERIT_COPY ((vm_inherit_t) 1)
#define VM_INHERIT_NONE ((vm_inherit_t) 2)
#define VM_INHERIT_DONATE_COPY ((vm_inherit_t) 3)
#define VM_INHERIT_DEFAULT VM_INHERIT_COPY
#define VM_INHERIT_LAST_VALID VM_INHERIT_NONE
# 101 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/vm_purgable.h" 1 3 4
# 45 "/usr/include/mach/vm_purgable.h" 3 4
#define _MACH_VM_PURGABLE_H_
typedef int vm_purgable_t;
#define VM_PURGABLE_SET_STATE ((vm_purgable_t) 0)
#define VM_PURGABLE_GET_STATE ((vm_purgable_t) 1)
#define VM_VOLATILE_GROUP_SHIFT 8
#define VM_VOLATILE_GROUP_MASK (7 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_DEFAULT VM_VOLATILE_GROUP_7
#define VM_VOLATILE_GROUP_0 (0 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_1 (1 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_2 (2 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_3 (3 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_4 (4 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_5 (5 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_6 (6 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_7 (7 << VM_VOLATILE_GROUP_SHIFT)
#define VM_PURGABLE_BEHAVIOR_SHIFT 6
#define VM_PURGABLE_BEHAVIOR_MASK (1 << VM_PURGABLE_BEHAVIOR_SHIFT)
#define VM_PURGABLE_BEHAVIOR_FIFO (0 << VM_PURGABLE_BEHAVIOR_SHIFT)
#define VM_PURGABLE_BEHAVIOR_LIFO (1 << VM_PURGABLE_BEHAVIOR_SHIFT)
#define VM_PURGABLE_ORDERING_SHIFT 5
#define VM_PURGABLE_ORDERING_MASK (1 << VM_PURGABLE_ORDERING_SHIFT)
#define VM_PURGABLE_ORDERING_OBSOLETE (1 << VM_PURGABLE_ORDERING_SHIFT)
#define VM_PURGABLE_ORDERING_NORMAL (0 << VM_PURGABLE_ORDERING_SHIFT)
#define VM_VOLATILE_ORDER_SHIFT 4
#define VM_VOLATILE_ORDER_MASK (1 << VM_VOLATILE_ORDER_SHIFT)
#define VM_VOLATILE_MAKE_FIRST_IN_GROUP (1 << VM_VOLATILE_ORDER_SHIFT)
#define VM_VOLATILE_MAKE_LAST_IN_GROUP (0 << VM_VOLATILE_ORDER_SHIFT)
#define VM_PURGABLE_STATE_MIN 0
#define VM_PURGABLE_STATE_MAX 3
#define VM_PURGABLE_STATE_MASK 3
#define VM_PURGABLE_NONVOLATILE 0
#define VM_PURGABLE_VOLATILE 1
#define VM_PURGABLE_EMPTY 2
#define VM_PURGABLE_DENY 3
# 102 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/vm_behavior.h" 1 3 4
# 39 "/usr/include/mach/vm_behavior.h" 3 4
#define _MACH_VM_BEHAVIOR_H_
typedef int vm_behavior_t;
# 57 "/usr/include/mach/vm_behavior.h" 3 4
#define VM_BEHAVIOR_DEFAULT ((vm_behavior_t) 0)
#define VM_BEHAVIOR_RANDOM ((vm_behavior_t) 1)
#define VM_BEHAVIOR_SEQUENTIAL ((vm_behavior_t) 2)
#define VM_BEHAVIOR_RSEQNTL ((vm_behavior_t) 3)
#define VM_BEHAVIOR_WILLNEED ((vm_behavior_t) 4)
#define VM_BEHAVIOR_DONTNEED ((vm_behavior_t) 5)
# 103 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/vm_region.h" 1 3 4
# 39 "/usr/include/mach/vm_region.h" 3 4
#define _MACH_VM_REGION_H_
# 1 "/usr/include/mach/machine/vm_param.h" 1 3 4
# 30 "/usr/include/mach/machine/vm_param.h" 3 4
#define _MACH_MACHINE_VM_PARAM_H_
# 1 "/usr/include/mach/i386/vm_param.h" 1 3 4
# 91 "/usr/include/mach/i386/vm_param.h" 3 4
#define _MACH_I386_VM_PARAM_H_
#define BYTE_SIZE 8
#define I386_PGBYTES 4096
#define I386_PGSHIFT 12
#define PAGE_SIZE I386_PGBYTES
#define PAGE_SHIFT I386_PGSHIFT
#define PAGE_MASK (PAGE_SIZE - 1)
#define i386_btop(x) (((pmap_paddr_t)(x)) >> I386_PGSHIFT)
#define machine_btop(x) i386_btop(x)
#define i386_ptob(x) (((pmap_paddr_t)(x)) << I386_PGSHIFT)
#define i386_round_page(x) ((((pmap_paddr_t)(x)) + I386_PGBYTES - 1) & ~(I386_PGBYTES-1))
#define i386_trunc_page(x) (((pmap_paddr_t)(x)) & ~(I386_PGBYTES-1))
#define VM_MIN_ADDRESS64 ((user_addr_t) 0x0000000000000000ULL)
#define VM_USRSTACK64 ((user_addr_t) 0x00007FFF5FC00000ULL)
#define VM_DYLD64 ((user_addr_t) 0x00007FFF5FC00000ULL)
#define VM_LIB64_SHR_DATA ((user_addr_t) 0x00007FFF60000000ULL)
#define VM_LIB64_SHR_TEXT ((user_addr_t) 0x00007FFF80000000ULL)
#define VM_MAX_PAGE_ADDRESS ((user_addr_t) 0x00007FFFFFE00000ULL)
#define VM_MAX_USER_PAGE_ADDRESS ((user_addr_t)0x00007FFFFFFFF000ULL)
#define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t) 0)
#define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) VM_MAX_PAGE_ADDRESS)
#define VM_MIN_ADDRESS ((vm_offset_t) 0)
#define VM_USRSTACK32 ((vm_offset_t) 0xC0000000)
#define VM_MAX_ADDRESS ((vm_offset_t) 0xFFE00000)
# 36 "/usr/include/mach/machine/vm_param.h" 2 3 4
# 48 "/usr/include/mach/vm_region.h" 2 3 4
#pragma pack(4)
#define VM_REGION_INFO_MAX (1024)
typedef int *vm_region_info_t;
typedef int *vm_region_info_64_t;
typedef int *vm_region_recurse_info_t;
typedef int *vm_region_recurse_info_64_t;
typedef int vm_region_flavor_t;
typedef int vm_region_info_data_t[(1024)];
#define VM_REGION_BASIC_INFO_64 9
struct vm_region_basic_info_64 {
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
boolean_t shared;
boolean_t reserved;
memory_object_offset_t offset;
vm_behavior_t behavior;
unsigned short user_wired_count;
};
typedef struct vm_region_basic_info_64 *vm_region_basic_info_64_t;
typedef struct vm_region_basic_info_64 vm_region_basic_info_data_64_t;
#define VM_REGION_BASIC_INFO_COUNT_64 ((mach_msg_type_number_t) (sizeof(vm_region_basic_info_data_64_t)/sizeof(int)))
#define VM_REGION_BASIC_INFO 10
struct vm_region_basic_info {
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
boolean_t shared;
boolean_t reserved;
uint32_t offset;
vm_behavior_t behavior;
unsigned short user_wired_count;
};
typedef struct vm_region_basic_info *vm_region_basic_info_t;
typedef struct vm_region_basic_info vm_region_basic_info_data_t;
#define VM_REGION_BASIC_INFO_COUNT ((mach_msg_type_number_t) (sizeof(vm_region_basic_info_data_t)/sizeof(int)))
#define VM_REGION_EXTENDED_INFO 11
#define SM_COW 1
#define SM_PRIVATE 2
#define SM_EMPTY 3
#define SM_SHARED 4
#define SM_TRUESHARED 5
#define SM_PRIVATE_ALIASED 6
#define SM_SHARED_ALIASED 7
# 133 "/usr/include/mach/vm_region.h" 3 4
struct vm_region_extended_info {
vm_prot_t protection;
unsigned int user_tag;
unsigned int pages_resident;
unsigned int pages_shared_now_private;
unsigned int pages_swapped_out;
unsigned int pages_dirtied;
unsigned int ref_count;
unsigned short shadow_depth;
unsigned char external_pager;
unsigned char share_mode;
};
typedef struct vm_region_extended_info *vm_region_extended_info_t;
typedef struct vm_region_extended_info vm_region_extended_info_data_t;
#define VM_REGION_EXTENDED_INFO_COUNT ((mach_msg_type_number_t) (sizeof(vm_region_extended_info_data_t)/sizeof(int)))
#define VM_REGION_TOP_INFO 12
struct vm_region_top_info {
unsigned int obj_id;
unsigned int ref_count;
unsigned int private_pages_resident;
unsigned int shared_pages_resident;
unsigned char share_mode;
};
typedef struct vm_region_top_info *vm_region_top_info_t;
typedef struct vm_region_top_info vm_region_top_info_data_t;
#define VM_REGION_TOP_INFO_COUNT ((mach_msg_type_number_t) (sizeof(vm_region_top_info_data_t)/sizeof(int)))
# 191 "/usr/include/mach/vm_region.h" 3 4
struct vm_region_submap_info {
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
uint32_t offset;
unsigned int user_tag;
unsigned int pages_resident;
unsigned int pages_shared_now_private;
unsigned int pages_swapped_out;
unsigned int pages_dirtied;
unsigned int ref_count;
unsigned short shadow_depth;
unsigned char external_pager;
unsigned char share_mode;
boolean_t is_submap;
vm_behavior_t behavior;
vm_offset_t object_id;
unsigned short user_wired_count;
};
typedef struct vm_region_submap_info *vm_region_submap_info_t;
typedef struct vm_region_submap_info vm_region_submap_info_data_t;
#define VM_REGION_SUBMAP_INFO_COUNT ((mach_msg_type_number_t) (sizeof(vm_region_submap_info_data_t)/sizeof(int)))
struct vm_region_submap_info_64 {
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
memory_object_offset_t offset;
unsigned int user_tag;
unsigned int pages_resident;
unsigned int pages_shared_now_private;
unsigned int pages_swapped_out;
unsigned int pages_dirtied;
unsigned int ref_count;
unsigned short shadow_depth;
unsigned char external_pager;
unsigned char share_mode;
boolean_t is_submap;
vm_behavior_t behavior;
vm_offset_t object_id;
unsigned short user_wired_count;
};
typedef struct vm_region_submap_info_64 *vm_region_submap_info_64_t;
typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t;
#define VM_REGION_SUBMAP_INFO_COUNT_64 ((mach_msg_type_number_t) (sizeof(vm_region_submap_info_data_64_t)/sizeof(int)))
struct vm_region_submap_short_info_64 {
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
memory_object_offset_t offset;
unsigned int user_tag;
unsigned int ref_count;
unsigned short shadow_depth;
unsigned char external_pager;
unsigned char share_mode;
boolean_t is_submap;
vm_behavior_t behavior;
vm_offset_t object_id;
unsigned short user_wired_count;
};
typedef struct vm_region_submap_short_info_64 *vm_region_submap_short_info_64_t;
typedef struct vm_region_submap_short_info_64 vm_region_submap_short_info_data_64_t;
#define VM_REGION_SUBMAP_SHORT_INFO_COUNT_64 ((mach_msg_type_number_t) (sizeof(vm_region_submap_short_info_data_64_t)/sizeof(int)))
struct mach_vm_read_entry {
mach_vm_address_t address;
mach_vm_size_t size;
};
struct vm_read_entry {
vm_address_t address;
vm_size_t size;
};
#define VM_MAP_ENTRY_MAX (256)
typedef struct mach_vm_read_entry mach_vm_read_entry_t[(256)];
typedef struct vm_read_entry vm_read_entry_t[(256)];
#pragma pack()
# 108 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/kmod.h" 1 3 4
# 36 "/usr/include/mach/kmod.h" 3 4
#define _MACH_KMOD_H_
# 48 "/usr/include/mach/kmod.h" 3 4
#define KMOD_CNTL_START 1
#define KMOD_CNTL_STOP 2
#define KMOD_CNTL_RETAIN 3
#define KMOD_CNTL_RELEASE 4
#define KMOD_CNTL_GET_CMD 5
#define KMOD_CNTL_GET_KERNEL_SYMBOLS 6
#define KMOD_CNTL_FREE_LINKEDIT_DATA 7
#define KMOD_CNTL_GET_KERNEL_UUID 8
#define KMOD_CNTL_GET_UUID 8
#define KMOD_CNTL_DISABLE_LOAD 9
#define KMOD_PACK_IDS(from,to) (((unsigned long)from << 16) | (unsigned long)to)
#define KMOD_UNPACK_FROM_ID(i) ((unsigned long)i >> 16)
#define KMOD_UNPACK_TO_ID(i) ((unsigned long)i & 0xffff)
typedef int kmod_t;
typedef int kmod_control_flavor_t;
typedef void* kmod_args_t;
#define KMOD_MAX_NAME 64
#pragma pack(4)
typedef struct kmod_reference {
struct kmod_reference *next;
struct kmod_info *info;
} kmod_reference_t;
#pragma pack()
#define KMOD_RETURN_SUCCESS KERN_SUCCESS
#define KMOD_RETURN_FAILURE KERN_FAILURE
typedef kern_return_t kmod_start_func_t(struct kmod_info *ki, void *data);
typedef kern_return_t kmod_stop_func_t(struct kmod_info *ki, void *data);
#pragma pack(4)
typedef struct kmod_info {
struct kmod_info *next;
int info_version;
int id;
char name[64];
char version[64];
int reference_count;
kmod_reference_t *reference_list;
vm_address_t address;
vm_size_t size;
vm_size_t hdr_size;
kmod_start_func_t *start;
kmod_stop_func_t *stop;
} kmod_info_t;
#pragma pack()
typedef kmod_info_t *kmod_info_array_t;
#define KMOD_INFO_NAME kmod_info
#define KMOD_INFO_VERSION 1
#define KMOD_DECL(name,version) static kmod_start_func_t name ## _module_start; static kmod_stop_func_t name ## _module_stop; kmod_info_t KMOD_INFO_NAME = { 0, KMOD_INFO_VERSION, -1, { #name }, { version }, -1, 0, 0, 0, 0, name ## _module_start, name ## _module_stop };
#define KMOD_EXPLICIT_DECL(name,version,start,stop) kmod_info_t KMOD_INFO_NAME = { 0, KMOD_INFO_VERSION, -1, { #name }, { version }, -1, 0, 0, 0, 0, start, stop };
#define KMOD_LIB_DECL(name,version) kmod_info_t KMOD_INFO_NAME = { 0, KMOD_INFO_VERSION, -1, { #name }, { version }, -1, 0, 0, 0, 0, kmod_default_start, kmod_default_stop };
# 141 "/usr/include/mach/kmod.h" 3 4
#define KMOD_LOAD_EXTENSION_PACKET 1
#define KMOD_LOAD_WITH_DEPENDENCIES_PACKET 2
#define KMOD_IOKIT_START_RANGE_PACKET 0x1000
#define KMOD_IOKIT_END_RANGE_PACKET 0x1fff
typedef struct kmod_load_extension_cmd {
int type;
char name[64];
} kmod_load_extension_cmd_t;
typedef struct kmod_load_with_dependencies_cmd {
int type;
char name[64];
char dependencies[1][64];
} kmod_load_with_dependencies_cmd_t;
typedef struct kmod_generic_cmd {
int type;
char data[1];
} kmod_generic_cmd_t;
# 109 "/usr/include/mach/mach_types.h" 2 3 4
typedef mach_port_t task_t;
typedef mach_port_t task_name_t;
typedef mach_port_t thread_t;
typedef mach_port_t thread_act_t;
typedef mach_port_t ipc_space_t;
typedef mach_port_t host_t;
typedef mach_port_t host_priv_t;
typedef mach_port_t host_security_t;
typedef mach_port_t processor_t;
typedef mach_port_t processor_set_t;
typedef mach_port_t processor_set_control_t;
typedef mach_port_t semaphore_t;
typedef mach_port_t lock_set_t;
typedef mach_port_t ledger_t;
typedef mach_port_t alarm_t;
typedef mach_port_t clock_serv_t;
typedef mach_port_t clock_ctrl_t;
typedef processor_set_t processor_set_name_t;
typedef mach_port_t clock_reply_t;
typedef mach_port_t bootstrap_t;
typedef mach_port_t mem_entry_name_port_t;
typedef mach_port_t exception_handler_t;
typedef exception_handler_t *exception_handler_array_t;
typedef mach_port_t vm_task_entry_t;
typedef mach_port_t io_master_t;
typedef mach_port_t UNDServerRef;
# 160 "/usr/include/mach/mach_types.h" 3 4
typedef task_t *task_array_t;
typedef thread_t *thread_array_t;
typedef processor_set_t *processor_set_array_t;
typedef processor_set_t *processor_set_name_array_t;
typedef processor_t *processor_array_t;
typedef thread_act_t *thread_act_array_t;
typedef ledger_t *ledger_array_t;
typedef task_t task_port_t;
typedef task_array_t task_port_array_t;
typedef thread_t thread_port_t;
typedef thread_array_t thread_port_array_t;
typedef ipc_space_t ipc_space_port_t;
typedef host_t host_name_t;
typedef host_t host_name_port_t;
typedef processor_set_t processor_set_port_t;
typedef processor_set_t processor_set_name_port_t;
typedef processor_set_array_t processor_set_name_port_array_t;
typedef processor_set_t processor_set_control_port_t;
typedef processor_t processor_port_t;
typedef processor_array_t processor_port_array_t;
typedef thread_act_t thread_act_port_t;
typedef thread_act_array_t thread_act_port_array_t;
typedef semaphore_t semaphore_port_t;
typedef lock_set_t lock_set_port_t;
typedef ledger_t ledger_port_t;
typedef ledger_array_t ledger_port_array_t;
typedef alarm_t alarm_port_t;
typedef clock_serv_t clock_serv_port_t;
typedef clock_ctrl_t clock_ctrl_port_t;
typedef exception_handler_t exception_port_t;
typedef exception_handler_array_t exception_port_arrary_t;
#define TASK_NULL ((task_t) 0)
#define TASK_NAME_NULL ((task_name_t) 0)
#define THREAD_NULL ((thread_t) 0)
#define THR_ACT_NULL ((thread_act_t) 0)
#define IPC_SPACE_NULL ((ipc_space_t) 0)
#define HOST_NULL ((host_t) 0)
#define HOST_PRIV_NULL ((host_priv_t)0)
#define HOST_SECURITY_NULL ((host_security_t)0)
#define PROCESSOR_SET_NULL ((processor_set_t) 0)
#define PROCESSOR_NULL ((processor_t) 0)
#define SEMAPHORE_NULL ((semaphore_t) 0)
#define LOCK_SET_NULL ((lock_set_t) 0)
#define LEDGER_NULL ((ledger_t) 0)
#define ALARM_NULL ((alarm_t) 0)
#define CLOCK_NULL ((clock_t) 0)
#define UND_SERVER_NULL ((UNDServerRef) 0)
typedef natural_t ledger_item_t;
#define LEDGER_ITEM_INFINITY ((ledger_item_t) (~0))
typedef mach_vm_offset_t *emulation_vector_t;
typedef char *user_subsystem_t;
typedef char *labelstr_t;
# 1 "/usr/include/mach/std_types.h" 1 3 4
# 64 "/usr/include/mach/std_types.h" 3 4
#define _MACH_STD_TYPES_H_
# 229 "/usr/include/mach/mach_types.h" 2 3 4
# 42 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 2 3
# 1 "/usr/include/mach/mach_init.h" 1 3 4
# 59 "/usr/include/mach/mach_init.h" 3 4
#define _MACH_INIT_ 1
# 70 "/usr/include/mach/mach_init.h" 3 4
extern mach_port_t mach_task_self(void);
extern mach_port_t mach_host_self(void);
extern mach_port_t mach_thread_self(void);
extern kern_return_t host_page_size(host_t, vm_size_t *);
extern mach_port_t mach_task_self_;
#define mach_task_self() mach_task_self_
#define current_task() mach_task_self()
# 1 "/usr/include/mach/mach_traps.h" 1 3 4
# 67 "/usr/include/mach/mach_traps.h" 3 4
#define _MACH_MACH_TRAPS_H_
# 82 "/usr/include/mach/mach_traps.h" 3 4
extern boolean_t swtch_pri(int pri);
extern boolean_t swtch(void);
extern kern_return_t thread_switch(
mach_port_name_t thread_name,
int option,
mach_msg_timeout_t option_time);
extern mach_port_name_t task_self_trap(void);
extern kern_return_t task_for_pid(
mach_port_name_t target_tport,
int pid,
mach_port_name_t *t);
extern kern_return_t task_name_for_pid(
mach_port_name_t target_tport,
int pid,
mach_port_name_t *tn);
extern kern_return_t pid_for_task(
mach_port_name_t t,
int *x);
extern kern_return_t map_fd(
int fd,
vm_offset_t offset,
vm_offset_t *va,
boolean_t findspace,
vm_size_t size);
# 82 "/usr/include/mach/mach_init.h" 2 3 4
extern mach_port_t bootstrap_port;
extern mach_port_t name_server_port;
extern mach_port_t environment_port;
extern mach_port_t service_port;
#define NAME_SERVER_SLOT 0
#define ENVIRONMENT_SLOT 1
#define SERVICE_SLOT 2
#define MACH_PORTS_SLOTS_USED 3
extern vm_size_t vm_page_size;
extern vm_size_t vm_page_mask;
extern int vm_page_shift;
#define trunc_page(x) ((x) & (~(vm_page_size - 1)))
#define round_page(x) trunc_page((x) + (vm_page_size - 1))
extern int (*vprintf_stderr_func)(const char *format, va_list ap);
# 43 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 1 3
# 29 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
#define __IOKIT_IOTYPES_H
#define IOKIT 1
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/IOReturn.h" 1 3
# 37 "/System/Library/Frameworks/IOKit.framework/Headers/IOReturn.h" 3
#define __IOKIT_IORETURN_H
# 1 "/usr/include/mach/error.h" 1 3 4
# 66 "/usr/include/mach/error.h" 3 4
#define _MACH_ERROR_H_
# 78 "/usr/include/mach/error.h" 3 4
#define err_none (mach_error_t)0
#define ERR_SUCCESS (mach_error_t)0
#define ERR_ROUTINE_NIL (mach_error_fn_t)0
#define err_system(x) (((x)&0x3f)<<26)
#define err_sub(x) (((x)&0xfff)<<14)
#define err_get_system(err) (((err)>>26)&0x3f)
#define err_get_sub(err) (((err)>>14)&0xfff)
#define err_get_code(err) ((err)&0x3fff)
#define system_emask (err_system(0x3f))
#define sub_emask (err_sub(0xfff))
#define code_emask (0x3fff)
#define err_kern err_system(0x0)
#define err_us err_system(0x1)
#define err_server err_system(0x2)
#define err_ipc err_system(0x3)
#define err_mach_ipc err_system(0x4)
#define err_dipc err_system(0x7)
#define err_local err_system(0x3e)
#define err_ipc_compat err_system(0x3f)
#define err_max_system 0x3f
#define unix_err(errno) (err_kern|err_sub(3)|errno)
typedef kern_return_t mach_error_t;
typedef mach_error_t (* mach_error_fn_t)( void );
# 44 "/System/Library/Frameworks/IOKit.framework/Headers/IOReturn.h" 2 3
typedef kern_return_t IOReturn;
#define sys_iokit err_system(0x38)
#define sub_iokit_common err_sub(0)
#define sub_iokit_usb err_sub(1)
#define sub_iokit_firewire err_sub(2)
#define sub_iokit_block_storage err_sub(4)
#define sub_iokit_graphics err_sub(5)
#define sub_iokit_networking err_sub(6)
#define sub_iokit_bluetooth err_sub(8)
#define sub_iokit_pmu err_sub(9)
#define sub_iokit_acpi err_sub(10)
#define sub_iokit_smbus err_sub(11)
#define sub_iokit_ahci err_sub(12)
#define sub_iokit_powermanagement err_sub(13)
#define sub_iokit_vendor_specific err_sub(-2)
#define sub_iokit_reserved err_sub(-1)
#define iokit_common_err(return) (sys_iokit|sub_iokit_common|return)
#define iokit_family_err(sub,return) (sys_iokit|sub|return)
#define iokit_vendor_specific_err(return) (sys_iokit|sub_iokit_vendor_specific|return)
#define kIOReturnSuccess KERN_SUCCESS
#define kIOReturnError iokit_common_err(0x2bc)
#define kIOReturnNoMemory iokit_common_err(0x2bd)
#define kIOReturnNoResources iokit_common_err(0x2be)
#define kIOReturnIPCError iokit_common_err(0x2bf)
#define kIOReturnNoDevice iokit_common_err(0x2c0)
#define kIOReturnNotPrivileged iokit_common_err(0x2c1)
#define kIOReturnBadArgument iokit_common_err(0x2c2)
#define kIOReturnLockedRead iokit_common_err(0x2c3)
#define kIOReturnLockedWrite iokit_common_err(0x2c4)
#define kIOReturnExclusiveAccess iokit_common_err(0x2c5)
#define kIOReturnBadMessageID iokit_common_err(0x2c6)
#define kIOReturnUnsupported iokit_common_err(0x2c7)
#define kIOReturnVMError iokit_common_err(0x2c8)
#define kIOReturnInternalError iokit_common_err(0x2c9)
#define kIOReturnIOError iokit_common_err(0x2ca)
#define kIOReturnCannotLock iokit_common_err(0x2cc)
#define kIOReturnNotOpen iokit_common_err(0x2cd)
#define kIOReturnNotReadable iokit_common_err(0x2ce)
#define kIOReturnNotWritable iokit_common_err(0x2cf)
#define kIOReturnNotAligned iokit_common_err(0x2d0)
#define kIOReturnBadMedia iokit_common_err(0x2d1)
#define kIOReturnStillOpen iokit_common_err(0x2d2)
#define kIOReturnRLDError iokit_common_err(0x2d3)
#define kIOReturnDMAError iokit_common_err(0x2d4)
#define kIOReturnBusy iokit_common_err(0x2d5)
#define kIOReturnTimeout iokit_common_err(0x2d6)
#define kIOReturnOffline iokit_common_err(0x2d7)
#define kIOReturnNotReady iokit_common_err(0x2d8)
#define kIOReturnNotAttached iokit_common_err(0x2d9)
#define kIOReturnNoChannels iokit_common_err(0x2da)
#define kIOReturnNoSpace iokit_common_err(0x2db)
#define kIOReturnPortExists iokit_common_err(0x2dd)
#define kIOReturnCannotWire iokit_common_err(0x2de)
#define kIOReturnNoInterrupt iokit_common_err(0x2df)
#define kIOReturnNoFrames iokit_common_err(0x2e0)
#define kIOReturnMessageTooLarge iokit_common_err(0x2e1)
#define kIOReturnNotPermitted iokit_common_err(0x2e2)
#define kIOReturnNoPower iokit_common_err(0x2e3)
#define kIOReturnNoMedia iokit_common_err(0x2e4)
#define kIOReturnUnformattedMedia iokit_common_err(0x2e5)
#define kIOReturnUnsupportedMode iokit_common_err(0x2e6)
#define kIOReturnUnderrun iokit_common_err(0x2e7)
#define kIOReturnOverrun iokit_common_err(0x2e8)
#define kIOReturnDeviceError iokit_common_err(0x2e9)
#define kIOReturnNoCompletion iokit_common_err(0x2ea)
#define kIOReturnAborted iokit_common_err(0x2eb)
#define kIOReturnNoBandwidth iokit_common_err(0x2ec)
#define kIOReturnNotResponding iokit_common_err(0x2ed)
#define kIOReturnIsoTooOld iokit_common_err(0x2ee)
#define kIOReturnIsoTooNew iokit_common_err(0x2ef)
#define kIOReturnNotFound iokit_common_err(0x2f0)
#define kIOReturnInvalid iokit_common_err(0x1)
# 39 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 2 3
# 65 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
typedef UInt32 IOOptionBits;
typedef SInt32 IOFixed;
typedef UInt32 IOVersion;
typedef UInt32 IOItemCount;
typedef UInt32 IOCacheMode;
typedef UInt32 IOByteCount;
typedef vm_address_t IOVirtualAddress;
typedef IOVirtualAddress IOLogicalAddress;
# 86 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
typedef UInt32 IOPhysicalAddress;
typedef UInt32 IOPhysicalLength;
#define IOPhysical32(hi,lo) (lo)
#define IOPhysSize 32
# 106 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
typedef struct
{
IOVirtualAddress address;
IOByteCount length;
} IOVirtualRange;
typedef struct
{
mach_vm_address_t address;
mach_vm_size_t length;
} IOAddressRange;
typedef struct {
int value;
const char *name;
} IONamedValue;
typedef unsigned int IOAlignment;
#define IO_NULL_VM_TASK ((vm_task_t)0)
# 145 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
#define __IOKIT_PORTS_DEFINED__
typedef mach_port_t io_object_t;
# 1 "/usr/include/device/device_types.h" 1 3 4
# 64 "/usr/include/device/device_types.h" 3 4
#define DEVICE_TYPES_H
# 77 "/usr/include/device/device_types.h" 3 4
typedef char * io_buf_ptr_t;
# 86 "/usr/include/device/device_types.h" 3 4
typedef char io_name_t[128];
typedef char io_string_t[512];
typedef char io_struct_inband_t[4096];
# 98 "/usr/include/device/device_types.h" 3 4
typedef int io_user_scalar_t;
typedef natural_t io_user_reference_t;
typedef io_user_scalar_t io_scalar_inband_t[16];
typedef io_user_reference_t io_async_ref_t[8];
typedef uint64_t io_scalar_inband64_t[16];
typedef uint64_t io_async_ref64_t[8];
# 150 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 2 3
typedef io_object_t io_connect_t;
typedef io_object_t io_enumerator_t;
typedef io_object_t io_iterator_t;
typedef io_object_t io_registry_entry_t;
typedef io_object_t io_service_t;
#define IO_OBJECT_NULL ((io_object_t) 0)
enum {
kIODefaultMemoryType = 0
};
enum {
kIODefaultCache = 0,
kIOInhibitCache = 1,
kIOWriteThruCache = 2,
kIOCopybackCache = 3,
kIOWriteCombineCache = 4
};
enum {
kIOMapAnywhere = 0x00000001,
kIOMapCacheMask = 0x00000700,
kIOMapCacheShift = 8,
kIOMapDefaultCache = kIODefaultCache << kIOMapCacheShift,
kIOMapInhibitCache = kIOInhibitCache << kIOMapCacheShift,
kIOMapWriteThruCache = kIOWriteThruCache << kIOMapCacheShift,
kIOMapCopybackCache = kIOCopybackCache << kIOMapCacheShift,
kIOMapWriteCombineCache = kIOWriteCombineCache << kIOMapCacheShift,
kIOMapUserOptionsMask = 0x00000fff,
kIOMapReadOnly = 0x00001000,
kIOMapStatic = 0x01000000,
kIOMapReference = 0x02000000,
kIOMapUnique = 0x04000000,
kIOMap64Bit = 0x08000000
};
# 204 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
enum {
kNanosecondScale = 1,
kMicrosecondScale = 1000,
kMillisecondScale = 1000 * 1000,
kSecondScale = 1000 * 1000 * 1000,
kTickScale = (kSecondScale / 100)
};
typedef enum {
IO_CacheOff,
IO_WriteThrough,
IO_CopyBack
} IOCache;
typedef unsigned int IODeviceNumber;
typedef unsigned int IOObjectNumber;
# 49 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitKeys.h" 1 3
# 39 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitKeys.h" 3
#define _IOKIT_IOKITKEYS_H
#define kIOKitBuildVersionKey "IOKitBuildVersion"
#define kIOKitDiagnosticsKey "IOKitDiagnostics"
#define kIORegistryPlanesKey "IORegistryPlanes"
#define kIOCatalogueKey "IOCatalogue"
#define kIOServicePlane "IOService"
#define kIOPowerPlane "IOPower"
#define kIODeviceTreePlane "IODeviceTree"
#define kIOAudioPlane "IOAudio"
#define kIOFireWirePlane "IOFireWire"
#define kIOUSBPlane "IOUSB"
#define kIOServiceClass "IOService"
#define kIOResourcesClass "IOResources"
#define kIOClassKey "IOClass"
#define kIOProbeScoreKey "IOProbeScore"
#define kIOKitDebugKey "IOKitDebug"
#define kIOProviderClassKey "IOProviderClass"
#define kIONameMatchKey "IONameMatch"
#define kIOPropertyMatchKey "IOPropertyMatch"
#define kIOPathMatchKey "IOPathMatch"
#define kIOLocationMatchKey "IOLocationMatch"
#define kIOParentMatchKey "IOParentMatch"
#define kIOResourceMatchKey "IOResourceMatch"
#define kIOMatchedServiceCountKey "IOMatchedServiceCountMatch"
#define kIONameMatchedKey "IONameMatched"
#define kIOMatchCategoryKey "IOMatchCategory"
#define kIODefaultMatchCategoryKey "IODefaultMatchCategory"
#define kIOUserClientClassKey "IOUserClientClass"
#define kIOUserClientCrossEndianKey "IOUserClientCrossEndian"
#define kIOUserClientCrossEndianCompatibleKey "IOUserClientCrossEndianCompatible"
#define kIOUserClientSharedInstanceKey "IOUserClientSharedInstance"
#define kIOPublishNotification "IOServicePublish"
#define kIOFirstPublishNotification "IOServiceFirstPublish"
#define kIOMatchedNotification "IOServiceMatched"
#define kIOFirstMatchNotification "IOServiceFirstMatch"
#define kIOTerminatedNotification "IOServiceTerminate"
#define kIOGeneralInterest "IOGeneralInterest"
#define kIOBusyInterest "IOBusyInterest"
#define kIOAppPowerStateInterest "IOAppPowerStateInterest"
#define kIOPriorityPowerStateInterest "IOPriorityPowerStateInterest"
#define kIOPlatformDeviceMessageKey "IOPlatformDeviceMessage"
#define kIOCFPlugInTypesKey "IOCFPlugInTypes"
#define kIOCommandPoolSizeKey "IOCommandPoolSize"
#define kIOMaximumBlockCountReadKey "IOMaximumBlockCountRead"
#define kIOMaximumBlockCountWriteKey "IOMaximumBlockCountWrite"
#define kIOMaximumByteCountReadKey "IOMaximumByteCountRead"
#define kIOMaximumByteCountWriteKey "IOMaximumByteCountWrite"
#define kIOMaximumSegmentCountReadKey "IOMaximumSegmentCountRead"
#define kIOMaximumSegmentCountWriteKey "IOMaximumSegmentCountWrite"
#define kIOMaximumSegmentByteCountReadKey "IOMaximumSegmentByteCountRead"
#define kIOMaximumSegmentByteCountWriteKey "IOMaximumSegmentByteCountWrite"
#define kIOMinimumSegmentAlignmentByteCountKey "IOMinimumSegmentAlignmentByteCount"
#define kIOMaximumSegmentAddressableBitCountKey "IOMaximumSegmentAddressableBitCount"
# 132 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitKeys.h" 3
#define kIOIconKey "IOIcon"
#define kIOBundleResourceFileKey "IOBundleResourceFile"
#define kIOBusBadgeKey "IOBusBadge"
#define kIODeviceIconKey "IODeviceIcon"
#define kIOPlatformSerialNumberKey "IOPlatformSerialNumber"
#define kIOPlatformUUIDKey "IOPlatformUUID"
#define kIONVRAMDeletePropertyKey "IONVRAM-DELETE-PROPERTY"
#define kIODTNVRAMPanicInfoKey "aapl,panic-info"
#define kIOBootDeviceKey "IOBootDevice"
#define kIOBootDevicePathKey "IOBootDevicePath"
#define kIOBootDeviceSizeKey "IOBootDeviceSize"
#define kOSBuildVersionKey "OS Build Version"
# 50 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h" 1 3
# 36 "/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h" 3
#define __OS_OSMESSAGENOTIFICATION_H
# 46 "/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h" 3
enum {
kFirstIOKitNotificationType = 100,
kIOServicePublishNotificationType = 100,
kIOServiceMatchedNotificationType = 101,
kIOServiceTerminatedNotificationType = 102,
kIOAsyncCompletionNotificationType = 150,
kIOServiceMessageNotificationType = 160,
kLastIOKitNotificationType = 199
};
enum {
kOSNotificationMessageID = 53,
kOSAsyncCompleteMessageID = 57,
kMaxAsyncArgs = 16
};
enum {
kIOAsyncReservedIndex = 0,
kIOAsyncReservedCount,
kIOAsyncCalloutFuncIndex = kIOAsyncReservedCount,
kIOAsyncCalloutRefconIndex,
kIOAsyncCalloutCount,
kIOMatchingCalloutFuncIndex = kIOAsyncReservedCount,
kIOMatchingCalloutRefconIndex,
kIOMatchingCalloutCount,
kIOInterestCalloutFuncIndex = kIOAsyncReservedCount,
kIOInterestCalloutRefconIndex,
kIOInterestCalloutServiceIndex,
kIOInterestCalloutCount
};
enum {
kOSAsyncRef64Count = 8,
kOSAsyncRef64Size = kOSAsyncRef64Count * sizeof(io_user_reference_t)
};
typedef io_user_reference_t OSAsyncReference64[kOSAsyncRef64Count];
struct OSNotificationHeader64 {
mach_msg_size_t size;
natural_t type;
OSAsyncReference64 reference;
unsigned char content[0];
};
struct IOServiceInterestContent64 {
natural_t messageType;
io_user_reference_t messageArgument[1];
};
enum {
kOSAsyncRefCount = 8,
kOSAsyncRefSize = 32
};
typedef natural_t OSAsyncReference[kOSAsyncRefCount];
struct OSNotificationHeader {
mach_msg_size_t size;
natural_t type;
OSAsyncReference reference;
unsigned char content[0];
};
#pragma pack(4)
struct IOServiceInterestContent {
natural_t messageType;
void * messageArgument[1];
};
#pragma pack()
struct IOAsyncCompletionContent {
IOReturn result;
void * args[0];
};
typedef struct OSNotificationHeader OSNotificationHeader;
typedef struct IOServiceInterestContent IOServiceInterestContent;
typedef struct IOAsyncCompletionContent IOAsyncCompletionContent;
# 52 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 2 3
# 64 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef struct IONotificationPort * IONotificationPortRef;
typedef void
(*IOServiceMatchingCallback)(
void * refcon,
io_iterator_t iterator );
# 85 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef void
(*IOServiceInterestCallback)(
void * refcon,
io_service_t service,
uint32_t messageType,
void * messageArgument );
# 99 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
extern
const mach_port_t kIOMasterPortDefault;
# 109 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOMasterPort( mach_port_t bootstrapPort,
mach_port_t * masterPort );
# 120 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
IONotificationPortRef
IONotificationPortCreate(
mach_port_t masterPort );
void
IONotificationPortDestroy(
IONotificationPortRef notify );
CFRunLoopSourceRef
IONotificationPortGetRunLoopSource(
IONotificationPortRef notify );
mach_port_t
IONotificationPortGetMachPort(
IONotificationPortRef notify );
# 159 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
void
IODispatchCalloutFromMessage(
void *unused,
mach_msg_header_t *msg,
void *reference );
# 176 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOCreateReceivePort( uint32_t msgType, mach_port_t * recvPort );
# 191 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOObjectRelease(
io_object_t object );
kern_return_t
IOObjectRetain(
io_object_t object );
# 212 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOObjectGetClass(
io_object_t object,
io_name_t className );
CFStringRef
IOObjectCopyClass(io_object_t object)
;
CFStringRef
IOObjectCopySuperclassForClass(CFStringRef classname)
;
CFStringRef
IOObjectCopyBundleIdentifierForClass(CFStringRef classname)
;
# 254 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
boolean_t
IOObjectConformsTo(
io_object_t object,
const io_name_t className );
# 266 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
boolean_t
IOObjectIsEqualTo(
io_object_t object,
io_object_t anObject );
uint32_t
IOObjectGetRetainCount(
io_object_t object );
# 293 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
io_object_t
IOIteratorNext(
io_iterator_t iterator );
void
IOIteratorReset(
io_iterator_t iterator );
boolean_t
IOIteratorIsValid(
io_iterator_t iterator );
# 331 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
io_service_t
IOServiceGetMatchingService(
mach_port_t masterPort,
CFDictionaryRef matching );
# 344 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceGetMatchingServices(
mach_port_t masterPort,
CFDictionaryRef matching,
io_iterator_t * existing );
kern_return_t
IOServiceAddNotification(
mach_port_t masterPort,
const io_name_t notificationType,
CFDictionaryRef matching,
mach_port_t wakePort,
uintptr_t reference,
io_iterator_t * notification ) __attribute__((deprecated));
# 376 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceAddMatchingNotification(
IONotificationPortRef notifyPort,
const io_name_t notificationType,
CFDictionaryRef matching,
IOServiceMatchingCallback callback,
void * refCon,
io_iterator_t * notification );
# 397 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceAddInterestNotification(
IONotificationPortRef notifyPort,
io_service_t service,
const io_name_t interestType,
IOServiceInterestCallback callback,
void * refCon,
io_object_t * notification );
# 414 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceMatchPropertyTable(
io_service_t service,
CFDictionaryRef matching,
boolean_t * matches );
# 427 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceGetBusyState(
io_service_t service,
uint32_t * busyState );
# 439 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceWaitQuiet(
io_service_t service,
mach_timespec_t * waitTime );
# 451 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOKitGetBusyState(
mach_port_t masterPort,
uint32_t * busyState );
# 463 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOKitWaitQuiet(
mach_port_t masterPort,
mach_timespec_t * waitTime );
# 477 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceOpen(
io_service_t service,
task_port_t owningTask,
uint32_t type,
io_connect_t * connect );
# 491 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceRequestProbe(
io_service_t service,
uint32_t options );
# 508 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceClose(
io_connect_t connect );
kern_return_t
IOConnectAddRef(
io_connect_t connect );
kern_return_t
IOConnectRelease(
io_connect_t connect );
# 539 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectGetService(
io_connect_t connect,
io_service_t * service );
# 553 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectSetNotificationPort(
io_connect_t connect,
uint32_t type,
mach_port_t port,
uintptr_t reference );
# 571 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectMapMemory(
io_connect_t connect,
uint32_t memoryType,
task_port_t intoTask,
vm_address_t *atAddress,
vm_size_t *ofSize,
IOOptionBits options );
kern_return_t IOConnectMapMemory64
(io_connect_t connect,
uint32_t memoryType,
task_port_t intoTask,
mach_vm_address_t *atAddress,
mach_vm_size_t *ofSize,
IOOptionBits options );
# 601 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectUnmapMemory(
io_connect_t connect,
uint32_t memoryType,
task_port_t fromTask,
vm_address_t atAddress );
kern_return_t IOConnectUnmapMemory64
(io_connect_t connect,
uint32_t memoryType,
task_port_t fromTask,
mach_vm_address_t atAddress );
# 624 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectSetCFProperties(
io_connect_t connect,
CFTypeRef properties );
# 637 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectSetCFProperty(
io_connect_t connect,
CFStringRef propertyName,
CFTypeRef property );
kern_return_t
IOConnectCallMethod(
mach_port_t connection,
uint32_t selector,
const uint64_t *input,
uint32_t inputCnt,
const void *inputStruct,
size_t inputStructCnt,
uint64_t *output,
uint32_t *outputCnt,
void *outputStruct,
size_t *outputStructCnt)
;
kern_return_t
IOConnectCallAsyncMethod(
mach_port_t connection,
uint32_t selector,
mach_port_t wake_port,
uint64_t *reference,
uint32_t referenceCnt,
const uint64_t *input,
uint32_t inputCnt,
const void *inputStruct,
size_t inputStructCnt,
uint64_t *output,
uint32_t *outputCnt,
void *outputStruct,
size_t *outputStructCnt)
;
kern_return_t
IOConnectCallStructMethod(
mach_port_t connection,
uint32_t selector,
const void *inputStruct,
size_t inputStructCnt,
void *outputStruct,
size_t *outputStructCnt)
;
kern_return_t
IOConnectCallAsyncStructMethod(
mach_port_t connection,
uint32_t selector,
mach_port_t wake_port,
uint64_t *reference,
uint32_t referenceCnt,
const void *inputStruct,
size_t inputStructCnt,
void *outputStruct,
size_t *outputStructCnt)
;
kern_return_t
IOConnectCallScalarMethod(
mach_port_t connection,
uint32_t selector,
const uint64_t *input,
uint32_t inputCnt,
uint64_t *output,
uint32_t *outputCnt)
;
kern_return_t
IOConnectCallAsyncScalarMethod(
mach_port_t connection,
uint32_t selector,
mach_port_t wake_port,
uint64_t *reference,
uint32_t referenceCnt,
const uint64_t *input,
uint32_t inputCnt,
uint64_t *output,
uint32_t *outputCnt)
;
kern_return_t
IOConnectTrap0(io_connect_t connect,
uint32_t index );
kern_return_t
IOConnectTrap1(io_connect_t connect,
uint32_t index,
uintptr_t p1 );
kern_return_t
IOConnectTrap2(io_connect_t connect,
uint32_t index,
uintptr_t p1,
uintptr_t p2);
kern_return_t
IOConnectTrap3(io_connect_t connect,
uint32_t index,
uintptr_t p1,
uintptr_t p2,
uintptr_t p3);
kern_return_t
IOConnectTrap4(io_connect_t connect,
uint32_t index,
uintptr_t p1,
uintptr_t p2,
uintptr_t p3,
uintptr_t p4);
kern_return_t
IOConnectTrap5(io_connect_t connect,
uint32_t index,
uintptr_t p1,
uintptr_t p2,
uintptr_t p3,
uintptr_t p4,
uintptr_t p5);
kern_return_t
IOConnectTrap6(io_connect_t connect,
uint32_t index,
uintptr_t p1,
uintptr_t p2,
uintptr_t p3,
uintptr_t p4,
uintptr_t p5,
uintptr_t p6);
# 784 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectAddClient(
io_connect_t connect,
io_connect_t client );
# 801 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
io_registry_entry_t
IORegistryGetRootEntry(
mach_port_t masterPort );
# 812 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
io_registry_entry_t
IORegistryEntryFromPath(
mach_port_t masterPort,
const io_string_t path );
enum {
kIORegistryIterateRecursively = 0x00000001,
kIORegistryIterateParents = 0x00000002
};
# 832 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryCreateIterator(
mach_port_t masterPort,
const io_name_t plane,
IOOptionBits options,
io_iterator_t * iterator );
# 848 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryCreateIterator(
io_registry_entry_t entry,
const io_name_t plane,
IOOptionBits options,
io_iterator_t * iterator );
# 866 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryIteratorEnterEntry(
io_iterator_t iterator );
kern_return_t
IORegistryIteratorExitEntry(
io_iterator_t iterator );
# 892 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetName(
io_registry_entry_t entry,
io_name_t name );
# 905 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetNameInPlane(
io_registry_entry_t entry,
const io_name_t plane,
io_name_t name );
# 919 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetLocationInPlane(
io_registry_entry_t entry,
const io_name_t plane,
io_name_t location );
# 933 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetPath(
io_registry_entry_t entry,
const io_name_t plane,
io_string_t path );
# 948 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryCreateCFProperties(
io_registry_entry_t entry,
CFMutableDictionaryRef * properties,
CFAllocatorRef allocator,
IOOptionBits options );
# 964 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
CFTypeRef
IORegistryEntryCreateCFProperty(
io_registry_entry_t entry,
CFStringRef key,
CFAllocatorRef allocator,
IOOptionBits options );
# 982 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
CFTypeRef
IORegistryEntrySearchCFProperty(
io_registry_entry_t entry,
const io_name_t plane,
CFStringRef key,
CFAllocatorRef allocator,
IOOptionBits options );
kern_return_t
IORegistryEntryGetProperty(
io_registry_entry_t entry,
const io_name_t propertyName,
io_struct_inband_t buffer,
uint32_t * size );
# 1007 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntrySetCFProperties(
io_registry_entry_t entry,
CFTypeRef properties );
# 1020 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntrySetCFProperty(
io_registry_entry_t entry,
CFStringRef propertyName,
CFTypeRef property );
# 1034 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetChildIterator(
io_registry_entry_t entry,
const io_name_t plane,
io_iterator_t * iterator );
# 1048 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetChildEntry(
io_registry_entry_t entry,
const io_name_t plane,
io_registry_entry_t * child );
# 1062 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetParentIterator(
io_registry_entry_t entry,
const io_name_t plane,
io_iterator_t * iterator );
# 1076 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetParentEntry(
io_registry_entry_t entry,
const io_name_t plane,
io_registry_entry_t * parent );
# 1089 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
boolean_t
IORegistryEntryInPlane(
io_registry_entry_t entry,
const io_name_t plane );
# 1106 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
CFMutableDictionaryRef
IOServiceMatching(
const char * name );
CFMutableDictionaryRef
IOServiceNameMatching(
const char * name );
# 1128 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
CFMutableDictionaryRef
IOBSDNameMatching(
mach_port_t masterPort,
uint32_t options,
const char * bsdName );
# 1142 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
CFMutableDictionaryRef
IOOpenFirmwarePathMatching(
mach_port_t masterPort,
uint32_t options,
const char * path );
# 1158 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceOFPathToBSDName(mach_port_t masterPort,
const io_name_t openFirmwarePath,
io_name_t bsdName);
# 1171 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef void (*IOAsyncCallback0)(void *refcon, IOReturn result);
# 1181 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef void (*IOAsyncCallback1)(void *refcon, IOReturn result, void *arg0);
# 1191 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef void (*IOAsyncCallback2)(void *refcon, IOReturn result, void *arg0, void *arg1);
# 1201 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef void (*IOAsyncCallback)(void *refcon, IOReturn result, void **args,
uint32_t numArgs);
kern_return_t
OSGetNotificationFromMessage(
mach_msg_header_t * msg,
uint32_t index,
uint32_t * type,
uintptr_t * reference,
void ** content,
vm_size_t * size );
kern_return_t
IOCatalogueSendData(
mach_port_t masterPort,
uint32_t flag,
const char *buffer,
uint32_t size );
kern_return_t
IOCatalogueTerminate(
mach_port_t masterPort,
uint32_t flag,
io_name_t description );
kern_return_t
IOCatalogueGetData(
mach_port_t masterPort,
uint32_t flag,
char **buffer,
uint32_t *size );
kern_return_t
IOCatalogueModuleLoaded(
mach_port_t masterPort,
io_name_t name );
kern_return_t
IOCatalogueReset(
mach_port_t masterPort,
uint32_t flag );
# 1258 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef struct IOObject IOObject;
kern_return_t
IORegistryDisposeEnumerator(
io_enumerator_t enumerator ) __attribute__((deprecated));
kern_return_t
IOMapMemory(
io_connect_t connect,
uint32_t memoryType,
task_port_t intoTask,
vm_address_t * atAddress,
vm_size_t * ofSize,
uint32_t flags ) __attribute__((deprecated));
kern_return_t
IOCompatibiltyNumber(
mach_port_t connect,
uint32_t * objectNumber ) __attribute__((deprecated));
kern_return_t
IOConnectMethodScalarIScalarO(
io_connect_t connect,
uint32_t index,
IOItemCount scalarInputCount,
IOItemCount scalarOutputCount,
... ) __attribute__((deprecated));
kern_return_t
IOConnectMethodScalarIStructureO(
io_connect_t connect,
uint32_t index,
IOItemCount scalarInputCount,
IOByteCount * structureSize,
... ) __attribute__((deprecated));
kern_return_t
IOConnectMethodScalarIStructureI(
io_connect_t connect,
uint32_t index,
IOItemCount scalarInputCount,
IOByteCount structureSize,
... ) __attribute__((deprecated));
kern_return_t
IOConnectMethodStructureIStructureO(
io_connect_t connect,
uint32_t index,
IOItemCount structureInputSize,
IOByteCount * structureOutputSize,
void * inputStructure,
void * ouputStructure ) __attribute__((deprecated));
# 1422 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
# 29 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 2 3
# 1 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 1 3
# 25 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
#define __DISKARBITRATION_DASESSION__
# 40 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
typedef struct __DASession * DASessionRef;
extern CFTypeID DASessionGetTypeID( void );
# 58 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern DASessionRef DASessionCreate( CFAllocatorRef allocator );
# 68 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern void DASessionScheduleWithRunLoop( DASessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
# 78 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern void DASessionUnscheduleFromRunLoop( DASessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
typedef struct __DAApprovalSession * DAApprovalSessionRef;
extern CFTypeID DAApprovalSessionGetTypeID( void );
# 103 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern DAApprovalSessionRef DAApprovalSessionCreate( CFAllocatorRef allocator );
# 113 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern void DAApprovalSessionScheduleWithRunLoop( DAApprovalSessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
# 123 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern void DAApprovalSessionUnscheduleFromRunLoop( DAApprovalSessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
# 31 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 2 3
extern const CFStringRef kDADiskDescriptionVolumeKindKey;
extern const CFStringRef kDADiskDescriptionVolumeMountableKey;
extern const CFStringRef kDADiskDescriptionVolumeNameKey;
extern const CFStringRef kDADiskDescriptionVolumeNetworkKey;
extern const CFStringRef kDADiskDescriptionVolumePathKey;
extern const CFStringRef kDADiskDescriptionVolumeUUIDKey;
extern const CFStringRef kDADiskDescriptionMediaBlockSizeKey;
extern const CFStringRef kDADiskDescriptionMediaBSDMajorKey;
extern const CFStringRef kDADiskDescriptionMediaBSDMinorKey;
extern const CFStringRef kDADiskDescriptionMediaBSDNameKey;
extern const CFStringRef kDADiskDescriptionMediaBSDUnitKey;
extern const CFStringRef kDADiskDescriptionMediaContentKey;
extern const CFStringRef kDADiskDescriptionMediaEjectableKey;
extern const CFStringRef kDADiskDescriptionMediaIconKey;
extern const CFStringRef kDADiskDescriptionMediaKindKey;
extern const CFStringRef kDADiskDescriptionMediaLeafKey;
extern const CFStringRef kDADiskDescriptionMediaNameKey;
extern const CFStringRef kDADiskDescriptionMediaPathKey;
extern const CFStringRef kDADiskDescriptionMediaRemovableKey;
extern const CFStringRef kDADiskDescriptionMediaSizeKey;
extern const CFStringRef kDADiskDescriptionMediaTypeKey;
extern const CFStringRef kDADiskDescriptionMediaUUIDKey;
extern const CFStringRef kDADiskDescriptionMediaWholeKey;
extern const CFStringRef kDADiskDescriptionMediaWritableKey;
extern const CFStringRef kDADiskDescriptionDeviceGUIDKey;
extern const CFStringRef kDADiskDescriptionDeviceInternalKey;
extern const CFStringRef kDADiskDescriptionDeviceModelKey;
extern const CFStringRef kDADiskDescriptionDevicePathKey;
extern const CFStringRef kDADiskDescriptionDeviceProtocolKey;
extern const CFStringRef kDADiskDescriptionDeviceRevisionKey;
extern const CFStringRef kDADiskDescriptionDeviceUnitKey;
extern const CFStringRef kDADiskDescriptionDeviceVendorKey;
extern const CFStringRef kDADiskDescriptionBusNameKey;
extern const CFStringRef kDADiskDescriptionBusPathKey;
# 81 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
typedef struct __DADisk * DADiskRef;
extern CFTypeID DADiskGetTypeID( void );
# 103 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern DADiskRef DADiskCreateFromBSDName( CFAllocatorRef allocator, DASessionRef session, const char * name );
# 118 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern DADiskRef DADiskCreateFromIOMedia( CFAllocatorRef allocator, DASessionRef session, io_service_t media );
# 129 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern const char * DADiskGetBSDName( DADiskRef disk );
# 142 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern io_service_t DADiskCopyIOMedia( DADiskRef disk );
# 160 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern CFDictionaryRef DADiskCopyDescription( DADiskRef disk );
# 173 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern DADiskRef DADiskCopyWholeDisk( DADiskRef disk );
# 63 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 2 3
# 74 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
#pragma pack(push, 2)
#define _HFSUNISTR255_DEFINED_
struct HFSUniStr255 {
UInt16 length;
UniChar unicode[255];
};
typedef struct HFSUniStr255 HFSUniStr255;
typedef const HFSUniStr255 * ConstHFSUniStr255Param;
#define kFSFileSecurityRemoveACL (acl_t) _FILESEC_REMOVE_ACL
# 97 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
fsCurPerm = 0x00,
fsRdPerm = 0x01,
fsWrPerm = 0x02,
fsRdWrPerm = 0x03,
fsRdWrShPerm = 0x04
};
# 115 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
fsRdAccessPerm = 0x01,
fsWrAccessPerm = 0x02,
fsRdDenyPerm = 0x10,
fsWrDenyPerm = 0x20
};
enum {
fsRtParID = 1,
fsRtDirID = 2
};
enum {
fsAtMark = 0,
fsFromStart = 1,
fsFromLEOF = 2,
fsFromMark = 3
};
enum {
kFSAllowConcurrentAsyncIOBit = 3,
kFSAllowConcurrentAsyncIOMask = 0x0008,
kFSPleaseCacheBit = 4,
kFSPleaseCacheMask = 0x0010,
kFSNoCacheBit = 5,
kFSNoCacheMask = 0x0020,
kFSRdVerifyBit = 6,
kFSRdVerifyMask = 0x0040,
kFSForceReadBit = 6,
kFSForceReadMask = 0x0040,
kFSNewLineBit = 7,
kFSNewLineMask = 0x0080,
kFSNewLineCharMask = 0xFF00
};
enum {
fsSBPartialName = 0x01,
fsSBFullName = 0x02,
fsSBFlAttrib = 0x04,
fsSBFlFndrInfo = 0x08,
fsSBFlLgLen = 0x20,
fsSBFlPyLen = 0x40,
fsSBFlRLgLen = 0x80,
fsSBFlRPyLen = 0x0100,
fsSBFlCrDat = 0x0200,
fsSBFlMdDat = 0x0400,
fsSBFlBkDat = 0x0800,
fsSBFlXFndrInfo = 0x1000,
fsSBFlParID = 0x2000,
fsSBNegate = 0x4000,
fsSBDrUsrWds = 0x08,
fsSBDrNmFls = 0x10,
fsSBDrCrDat = 0x0200,
fsSBDrMdDat = 0x0400,
fsSBDrBkDat = 0x0800,
fsSBDrFndrInfo = 0x1000,
fsSBDrParID = 0x2000,
fsSBNodeID = 0x8000,
fsSBAttributeModDate = 0x00010000,
fsSBAccessDate = 0x00020000,
fsSBPermissions = 0x00040000,
fsSBSkipPackageContents = 0x00080000,
fsSBSkipHiddenItems = 0x00100000,
fsSBUserID = 0x00200000,
fsSBGroupID = 0x00400000
};
enum {
fsSBPartialNameBit = 0,
fsSBFullNameBit = 1,
fsSBFlAttribBit = 2,
fsSBFlFndrInfoBit = 3,
fsSBFlLgLenBit = 5,
fsSBFlPyLenBit = 6,
fsSBFlRLgLenBit = 7,
fsSBFlRPyLenBit = 8,
fsSBFlCrDatBit = 9,
fsSBFlMdDatBit = 10,
fsSBFlBkDatBit = 11,
fsSBFlXFndrInfoBit = 12,
fsSBFlParIDBit = 13,
fsSBNegateBit = 14,
fsSBDrUsrWdsBit = 3,
fsSBDrNmFlsBit = 4,
fsSBDrCrDatBit = 9,
fsSBDrMdDatBit = 10,
fsSBDrBkDatBit = 11,
fsSBDrFndrInfoBit = 12,
fsSBDrParIDBit = 13,
fsSBNodeIDBit = 15,
fsSBAttributeModDateBit = 16,
fsSBAccessDateBit = 17,
fsSBPermissionsBit = 18,
fsSBSkipPackageContentsBit = 19,
fsSBSkipHiddenItemsBit = 20,
fsSBUserIDBit = 21,
fsSBGroupIDBit = 22
};
enum {
bLimitFCBs = 31,
bLocalWList = 30,
bNoMiniFndr = 29,
bNoVNEdit = 28,
bNoLclSync = 27,
bTrshOffLine = 26,
bNoSwitchTo = 25,
bNoDeskItems = 20,
bNoBootBlks = 19,
bAccessCntl = 18,
bNoSysDir = 17,
bHasExtFSVol = 16,
bHasOpenDeny = 15,
bHasCopyFile = 14,
bHasMoveRename = 13,
bHasDesktopMgr = 12,
bHasShortName = 11,
bHasFolderLock = 10,
bHasPersonalAccessPrivileges = 9,
bHasUserGroupList = 8,
bHasCatSearch = 7,
bHasFileIDs = 6,
bHasBTreeMgr = 5,
bHasBlankAccessPrivileges = 4,
bSupportsAsyncRequests = 3,
bSupportsTrashVolumeCache = 2
};
enum {
bHasDirectIO = 1
};
enum {
bIsEjectable = 0,
bSupportsHFSPlusAPIs = 1,
bSupportsFSCatalogSearch = 2,
bSupportsFSExchangeObjects = 3,
bSupports2TBFiles = 4,
bSupportsLongNames = 5,
bSupportsMultiScriptNames = 6,
bSupportsNamedForks = 7,
bSupportsSubtreeIterators = 8,
bL2PCanMapFileBlocks = 9,
bParentModDateChanges = 10,
bAncestorModDateChanges = 11,
bSupportsSymbolicLinks = 13,
bIsAutoMounted = 14,
bAllowCDiDataHandler = 17,
bSupportsExclusiveLocks = 18,
bSupportsJournaling = 19,
bNoVolumeSizes = 20,
bIsOnInternalBus = 21,
bIsCaseSensitive = 22,
bIsCasePreserving = 23,
bDoNotDisplay = 24,
bIsRemovable = 25,
bNoRootTimes = 26,
bIsOnExternalBus = 27,
bSupportsExtendedFileSecurity = 28
};
enum {
kWidePosOffsetBit = 8,
kUseWidePositioning = (1 << kWidePosOffsetBit),
kMaximumBlocksIn4GB = 0x007FFFFF
};
enum {
fsUnixPriv = 1
};
enum {
kNoUserAuthentication = 1,
kPassword = 2,
kEncryptPassword = 3,
kTwoWayEncryptPassword = 6
};
enum {
knoUser = 0,
kadministratorUser = 1
};
enum {
knoGroup = 0
};
typedef SInt16 FSVolumeRefNum;
typedef SInt16 FSIORefNum;
enum {
kFSInvalidVolumeRefNum = 0
};
struct FSRef {
UInt8 hidden[80];
};
typedef struct FSRef FSRef;
typedef FSRef * FSRefPtr;
typedef struct __FSFileSecurity* FSFileSecurityRef;
struct CatPositionRec {
SInt32 initialize;
SInt16 priv[6];
};
typedef struct CatPositionRec CatPositionRec;
struct FSSpec {
FSVolumeRefNum vRefNum;
SInt32 parID;
StrFileName name;
};
typedef struct FSSpec FSSpec;
typedef FSSpec * FSSpecPtr;
typedef FSSpecPtr * FSSpecHandle;
typedef FSSpecPtr FSSpecArrayPtr;
typedef const FSSpec * ConstFSSpecPtr;
typedef union ParamBlockRec ParamBlockRec;
typedef ParamBlockRec * ParmBlkPtr;
typedef void ( * IOCompletionProcPtr)(ParmBlkPtr paramBlock);
typedef IOCompletionProcPtr IOCompletionUPP;
struct IOParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioRefNum;
SInt8 ioVersNum;
SInt8 ioPermssn;
Ptr ioMisc;
Ptr ioBuffer;
SInt32 ioReqCount;
SInt32 ioActCount;
SInt16 ioPosMode;
SInt32 ioPosOffset;
};
typedef struct IOParam IOParam;
typedef IOParam * IOParamPtr;
struct FileParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioFRefNum;
SInt8 ioFVersNum;
SInt8 filler1;
SInt16 ioFDirIndex;
SInt8 ioFlAttrib;
SInt8 ioFlVersNum;
FInfo ioFlFndrInfo;
UInt32 ioFlNum;
UInt16 ioFlStBlk;
SInt32 ioFlLgLen;
SInt32 ioFlPyLen;
UInt16 ioFlRStBlk;
SInt32 ioFlRLgLen;
SInt32 ioFlRPyLen;
UInt32 ioFlCrDat;
UInt32 ioFlMdDat;
};
typedef struct FileParam FileParam;
typedef FileParam * FileParamPtr;
struct VolumeParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
UInt32 filler2;
SInt16 ioVolIndex;
UInt32 ioVCrDate;
UInt32 ioVLsBkUp;
UInt16 ioVAtrb;
UInt16 ioVNmFls;
UInt16 ioVDirSt;
SInt16 ioVBlLn;
UInt16 ioVNmAlBlks;
UInt32 ioVAlBlkSiz;
UInt32 ioVClpSiz;
UInt16 ioAlBlSt;
UInt32 ioVNxtFNum;
UInt16 ioVFrBlk;
};
typedef struct VolumeParam VolumeParam;
typedef VolumeParam * VolumeParamPtr;
struct CntrlParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioCRefNum;
SInt16 csCode;
SInt16 csParam[11];
};
typedef struct CntrlParam CntrlParam;
typedef CntrlParam * CntrlParamPtr;
struct SlotDevParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioSRefNum;
SInt8 ioSVersNum;
SInt8 ioSPermssn;
Ptr ioSMix;
SInt16 ioSFlags;
SInt8 ioSlot;
SInt8 ioID;
};
typedef struct SlotDevParam SlotDevParam;
typedef SlotDevParam * SlotDevParamPtr;
struct MultiDevParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioMRefNum;
SInt8 ioMVersNum;
SInt8 ioMPermssn;
Ptr ioMMix;
SInt16 ioMFlags;
Ptr ioSEBlkPtr;
};
typedef struct MultiDevParam MultiDevParam;
typedef MultiDevParam * MultiDevParamPtr;
union ParamBlockRec {
IOParam ioParam;
FileParam fileParam;
VolumeParam volumeParam;
CntrlParam cntrlParam;
SlotDevParam slotDevParam;
MultiDevParam multiDevParam;
};
struct HFileInfo {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioFRefNum;
SInt8 ioFVersNum;
SInt8 filler1;
SInt16 ioFDirIndex;
SInt8 ioFlAttrib;
SInt8 ioACUser;
FInfo ioFlFndrInfo;
SInt32 ioDirID;
UInt16 ioFlStBlk;
SInt32 ioFlLgLen;
SInt32 ioFlPyLen;
UInt16 ioFlRStBlk;
SInt32 ioFlRLgLen;
SInt32 ioFlRPyLen;
UInt32 ioFlCrDat;
UInt32 ioFlMdDat;
UInt32 ioFlBkDat;
FXInfo ioFlXFndrInfo;
SInt32 ioFlParID;
SInt32 ioFlClpSiz;
};
typedef struct HFileInfo HFileInfo;
struct DirInfo {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioFRefNum;
SInt8 ioFVersNum;
SInt8 filler1;
SInt16 ioFDirIndex;
SInt8 ioFlAttrib;
SInt8 ioACUser;
DInfo ioDrUsrWds;
SInt32 ioDrDirID;
UInt16 ioDrNmFls;
SInt16 filler3[9];
UInt32 ioDrCrDat;
UInt32 ioDrMdDat;
UInt32 ioDrBkDat;
DXInfo ioDrFndrInfo;
SInt32 ioDrParID;
};
typedef struct DirInfo DirInfo;
union CInfoPBRec {
HFileInfo hFileInfo;
DirInfo dirInfo;
};
typedef union CInfoPBRec CInfoPBRec;
typedef CInfoPBRec * CInfoPBPtr;
struct XCInfoPBRec {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
ProcPtr ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
SInt32 filler1;
StringPtr ioShortNamePtr;
SInt16 filler2;
SInt16 ioPDType;
SInt32 ioPDAuxType;
SInt32 filler3[2];
SInt32 ioDirID;
};
typedef struct XCInfoPBRec XCInfoPBRec;
typedef XCInfoPBRec * XCInfoPBPtr;
struct DTPBRec {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioDTRefNum;
SInt16 ioIndex;
SInt32 ioTagInfo;
Ptr ioDTBuffer;
SInt32 ioDTReqCount;
SInt32 ioDTActCount;
SInt8 ioFiller1;
UInt8 ioIconType;
SInt16 ioFiller2;
SInt32 ioDirID;
OSType ioFileCreator;
OSType ioFileType;
SInt32 ioFiller3;
SInt32 ioDTLgLen;
SInt32 ioDTPyLen;
SInt16 ioFiller4[14];
SInt32 ioAPPLParID;
};
typedef struct DTPBRec DTPBRec;
typedef DTPBRec * DTPBPtr;
struct HIOParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioRefNum;
SInt8 ioVersNum;
SInt8 ioPermssn;
Ptr ioMisc;
Ptr ioBuffer;
SInt32 ioReqCount;
SInt32 ioActCount;
SInt16 ioPosMode;
SInt32 ioPosOffset;
};
typedef struct HIOParam HIOParam;
typedef HIOParam * HIOParamPtr;
struct HFileParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioFRefNum;
SInt8 ioFVersNum;
SInt8 filler1;
SInt16 ioFDirIndex;
SInt8 ioFlAttrib;
SInt8 ioFlVersNum;
FInfo ioFlFndrInfo;
SInt32 ioDirID;
UInt16 ioFlStBlk;
SInt32 ioFlLgLen;
SInt32 ioFlPyLen;
UInt16 ioFlRStBlk;
SInt32 ioFlRLgLen;
SInt32 ioFlRPyLen;
UInt32 ioFlCrDat;
UInt32 ioFlMdDat;
};
typedef struct HFileParam HFileParam;
typedef HFileParam * HFileParamPtr;
struct HVolumeParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
SInt32 filler2;
SInt16 ioVolIndex;
UInt32 ioVCrDate;
UInt32 ioVLsMod;
SInt16 ioVAtrb;
UInt16 ioVNmFls;
UInt16 ioVBitMap;
UInt16 ioAllocPtr;
UInt16 ioVNmAlBlks;
UInt32 ioVAlBlkSiz;
UInt32 ioVClpSiz;
UInt16 ioAlBlSt;
UInt32 ioVNxtCNID;
UInt16 ioVFrBlk;
UInt16 ioVSigWord;
SInt16 ioVDrvInfo;
FSIORefNum ioVDRefNum;
SInt16 ioVFSID;
UInt32 ioVBkUp;
SInt16 ioVSeqNum;
UInt32 ioVWrCnt;
UInt32 ioVFilCnt;
UInt32 ioVDirCnt;
SInt32 ioVFndrInfo[8];
};
typedef struct HVolumeParam HVolumeParam;
typedef HVolumeParam * HVolumeParamPtr;
struct XIOParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioRefNum;
SInt8 ioVersNum;
SInt8 ioPermssn;
Ptr ioMisc;
Ptr ioBuffer;
SInt32 ioReqCount;
SInt32 ioActCount;
SInt16 ioPosMode;
wide ioWPosOffset;
};
typedef struct XIOParam XIOParam;
typedef XIOParam * XIOParamPtr;
struct XVolumeParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
UInt32 ioXVersion;
SInt16 ioVolIndex;
UInt32 ioVCrDate;
UInt32 ioVLsMod;
SInt16 ioVAtrb;
UInt16 ioVNmFls;
UInt16 ioVBitMap;
UInt16 ioAllocPtr;
UInt16 ioVNmAlBlks;
UInt32 ioVAlBlkSiz;
UInt32 ioVClpSiz;
UInt16 ioAlBlSt;
UInt32 ioVNxtCNID;
UInt16 ioVFrBlk;
UInt16 ioVSigWord;
SInt16 ioVDrvInfo;
SInt16 ioVDRefNum;
SInt16 ioVFSID;
UInt32 ioVBkUp;
SInt16 ioVSeqNum;
UInt32 ioVWrCnt;
UInt32 ioVFilCnt;
UInt32 ioVDirCnt;
SInt32 ioVFndrInfo[8];
UInt64 ioVTotalBytes;
UInt64 ioVFreeBytes;
};
typedef struct XVolumeParam XVolumeParam;
typedef XVolumeParam * XVolumeParamPtr;
struct AccessParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioRefNum;
SInt16 ioDenyModes;
SInt16 filler4;
SInt8 filler5;
SInt8 ioACUser;
SInt32 filler6;
SInt32 ioACOwnerID;
SInt32 ioACGroupID;
SInt32 ioACAccess;
SInt32 ioDirID;
};
typedef struct AccessParam AccessParam;
typedef AccessParam * AccessParamPtr;
struct ObjParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
SInt16 filler7;
SInt16 ioObjType;
StringPtr ioObjNamePtr;
SInt32 ioObjID;
};
typedef struct ObjParam ObjParam;
typedef ObjParam * ObjParamPtr;
struct CopyParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSVolumeRefNum ioDstVRefNum;
SInt16 filler8;
StringPtr ioNewName;
StringPtr ioCopyName;
SInt32 ioNewDirID;
SInt32 filler14;
SInt32 filler15;
SInt32 ioDirID;
};
typedef struct CopyParam CopyParam;
typedef CopyParam * CopyParamPtr;
struct WDParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
SInt16 ioWDCreated;
SInt16 ioWDIndex;
SInt32 ioWDProcID;
FSVolumeRefNum ioWDVRefNum;
SInt16 filler10;
SInt32 filler11;
SInt32 filler12;
SInt32 filler13;
SInt32 ioWDDirID;
};
typedef struct WDParam WDParam;
typedef WDParam * WDParamPtr;
struct FIDParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
SInt32 filler14;
StringPtr ioDestNamePtr;
SInt32 filler15;
SInt32 ioDestDirID;
SInt32 filler16;
SInt32 filler17;
SInt32 ioSrcDirID;
SInt16 filler18;
SInt32 ioFileID;
};
typedef struct FIDParam FIDParam;
typedef FIDParam * FIDParamPtr;
struct ForeignPrivParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
SInt32 ioFiller21;
SInt32 ioFiller22;
Ptr ioForeignPrivBuffer;
SInt32 ioForeignPrivActCount;
SInt32 ioForeignPrivReqCount;
SInt32 ioFiller23;
SInt32 ioForeignPrivDirID;
SInt32 ioForeignPrivInfo1;
SInt32 ioForeignPrivInfo2;
SInt32 ioForeignPrivInfo3;
SInt32 ioForeignPrivInfo4;
};
typedef struct ForeignPrivParam ForeignPrivParam;
typedef ForeignPrivParam * ForeignPrivParamPtr;
struct CSParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSSpecPtr ioMatchPtr;
SInt32 ioReqMatchCount;
SInt32 ioActMatchCount;
SInt32 ioSearchBits;
CInfoPBPtr ioSearchInfo1;
CInfoPBPtr ioSearchInfo2;
SInt32 ioSearchTime;
CatPositionRec ioCatPosition;
Ptr ioOptBuffer;
SInt32 ioOptBufSize;
};
typedef struct CSParam CSParam;
typedef CSParam * CSParamPtr;
union HParamBlockRec {
HIOParam ioParam;
HFileParam fileParam;
HVolumeParam volumeParam;
AccessParam accessParam;
ObjParam objParam;
CopyParam copyParam;
WDParam wdParam;
FIDParam fidParam;
CSParam csParam;
ForeignPrivParam foreignPrivParam;
};
typedef union HParamBlockRec HParamBlockRec;
typedef HParamBlockRec * HParmBlkPtr;
struct CMovePBRec {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
SInt32 filler1;
StringPtr ioNewName;
SInt32 filler2;
SInt32 ioNewDirID;
SInt32 filler3[2];
SInt32 ioDirID;
};
typedef struct CMovePBRec CMovePBRec;
typedef CMovePBRec * CMovePBPtr;
struct WDPBRec {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
SInt16 filler1;
SInt16 ioWDIndex;
SInt32 ioWDProcID;
FSVolumeRefNum ioWDVRefNum;
SInt16 filler2[7];
SInt32 ioWDDirID;
};
typedef struct WDPBRec WDPBRec;
typedef WDPBRec * WDPBPtr;
struct FCBPBRec {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
FSIORefNum ioRefNum;
SInt16 filler;
SInt16 ioFCBIndx;
SInt16 filler1;
SInt32 ioFCBFlNm;
SInt16 ioFCBFlags;
UInt16 ioFCBStBlk;
SInt32 ioFCBEOF;
SInt32 ioFCBPLen;
SInt32 ioFCBCrPs;
FSVolumeRefNum ioFCBVRefNum;
SInt32 ioFCBClpSiz;
SInt32 ioFCBParID;
};
typedef struct FCBPBRec FCBPBRec;
typedef FCBPBRec * FCBPBPtr;
struct VCB {
QElemPtr qLink;
SInt16 qType;
SInt16 vcbFlags;
UInt16 vcbSigWord;
UInt32 vcbCrDate;
UInt32 vcbLsMod;
SInt16 vcbAtrb;
UInt16 vcbNmFls;
SInt16 vcbVBMSt;
SInt16 vcbAllocPtr;
UInt16 vcbNmAlBlks;
SInt32 vcbAlBlkSiz;
SInt32 vcbClpSiz;
SInt16 vcbAlBlSt;
SInt32 vcbNxtCNID;
UInt16 vcbFreeBks;
Str27 vcbVN;
SInt16 vcbDrvNum;
FSIORefNum vcbDRefNum;
SInt16 vcbFSID;
FSVolumeRefNum vcbVRefNum;
Ptr vcbMAdr;
Ptr vcbBufAdr;
SInt16 vcbMLen;
SInt16 vcbDirIndex;
SInt16 vcbDirBlk;
UInt32 vcbVolBkUp;
UInt16 vcbVSeqNum;
SInt32 vcbWrCnt;
SInt32 vcbXTClpSiz;
SInt32 vcbCTClpSiz;
UInt16 vcbNmRtDirs;
SInt32 vcbFilCnt;
SInt32 vcbDirCnt;
SInt32 vcbFndrInfo[8];
UInt16 vcbVCSize;
UInt16 vcbVBMCSiz;
UInt16 vcbCtlCSiz;
UInt16 vcbXTAlBlks;
UInt16 vcbCTAlBlks;
SInt16 vcbXTRef;
SInt16 vcbCTRef;
Ptr vcbCtlBuf;
SInt32 vcbDirIDM;
SInt16 vcbOffsM;
};
typedef struct VCB VCB;
typedef VCB * VCBPtr;
struct DrvQEl {
QElemPtr qLink;
SInt16 qType;
SInt16 dQDrive;
SInt16 dQRefNum;
SInt16 dQFSID;
UInt16 dQDrvSz;
UInt16 dQDrvSz2;
};
typedef struct DrvQEl DrvQEl;
typedef DrvQEl * DrvQElPtr;
# 1067 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
struct FSPermissionInfo {
UInt32 userID;
UInt32 groupID;
UInt8 reserved1;
UInt8 userAccess;
UInt16 mode;
FSFileSecurityRef fileSec;
};
typedef struct FSPermissionInfo FSPermissionInfo;
typedef UInt32 FSCatalogInfoBitmap;
enum {
kFSCatInfoNone = 0x00000000,
kFSCatInfoTextEncoding = 0x00000001,
kFSCatInfoNodeFlags = 0x00000002,
kFSCatInfoVolume = 0x00000004,
kFSCatInfoParentDirID = 0x00000008,
kFSCatInfoNodeID = 0x00000010,
kFSCatInfoCreateDate = 0x00000020,
kFSCatInfoContentMod = 0x00000040,
kFSCatInfoAttrMod = 0x00000080,
kFSCatInfoAccessDate = 0x00000100,
kFSCatInfoBackupDate = 0x00000200,
kFSCatInfoPermissions = 0x00000400,
kFSCatInfoFinderInfo = 0x00000800,
kFSCatInfoFinderXInfo = 0x00001000,
kFSCatInfoValence = 0x00002000,
kFSCatInfoDataSizes = 0x00004000,
kFSCatInfoRsrcSizes = 0x00008000,
kFSCatInfoSharingFlags = 0x00010000,
kFSCatInfoUserPrivs = 0x00020000,
kFSCatInfoUserAccess = 0x00080000,
kFSCatInfoSetOwnership = 0x00100000,
kFSCatInfoFSFileSecurityRef = 0x00400000,
kFSCatInfoAllDates = 0x000003E0,
kFSCatInfoGettableInfo = 0x0003FFFF,
kFSCatInfoSettableInfo = 0x00001FE3,
kFSCatInfoReserved = (long)0xFFFC0000
};
enum {
kFSNodeLockedBit = 0,
kFSNodeLockedMask = 0x0001,
kFSNodeResOpenBit = 2,
kFSNodeResOpenMask = 0x0004,
kFSNodeDataOpenBit = 3,
kFSNodeDataOpenMask = 0x0008,
kFSNodeIsDirectoryBit = 4,
kFSNodeIsDirectoryMask = 0x0010,
kFSNodeCopyProtectBit = 6,
kFSNodeCopyProtectMask = 0x0040,
kFSNodeForkOpenBit = 7,
kFSNodeForkOpenMask = 0x0080,
kFSNodeHardLinkBit = 8,
kFSNodeHardLinkMask = 0x00000100
};
enum {
kFSNodeInSharedBit = 2,
kFSNodeInSharedMask = 0x0004,
kFSNodeIsMountedBit = 3,
kFSNodeIsMountedMask = 0x0008,
kFSNodeIsSharePointBit = 5,
kFSNodeIsSharePointMask = 0x0020
};
# 1271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
struct FSCatalogInfo {
UInt16 nodeFlags;
FSVolumeRefNum volume;
UInt32 parentDirID;
UInt32 nodeID;
UInt8 sharingFlags;
UInt8 userPrivileges;
UInt8 reserved1;
UInt8 reserved2;
UTCDateTime createDate;
UTCDateTime contentModDate;
UTCDateTime attributeModDate;
UTCDateTime accessDate;
UTCDateTime backupDate;
UInt32 permissions[4];
UInt8 finderInfo[16];
UInt8 extFinderInfo[16];
UInt64 dataLogicalSize;
UInt64 dataPhysicalSize;
UInt64 rsrcLogicalSize;
UInt64 rsrcPhysicalSize;
UInt32 valence;
TextEncoding textEncodingHint;
};
typedef struct FSCatalogInfo FSCatalogInfo;
typedef FSCatalogInfo * FSCatalogInfoPtr;
struct FSRefParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
ConstStringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
SInt16 reserved1;
UInt8 reserved2;
UInt8 reserved3;
const FSRef * ref;
FSCatalogInfoBitmap whichInfo;
FSCatalogInfo * catInfo;
UniCharCount nameLength;
const UniChar * name;
UInt32 ioDirID;
FSSpecPtr spec;
FSRef * parentRef;
FSRef * newRef;
TextEncoding textEncodingHint;
HFSUniStr255 * outName;
};
typedef struct FSRefParam FSRefParam;
typedef FSRefParam * FSRefParamPtr;
struct FSRefForkIOParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
const FSRef * parentRef;
UniCharCount nameLength;
const UniChar * name;
FSCatalogInfoBitmap whichInfo;
const FSCatalogInfo * catInfo;
UniCharCount forkNameLength;
const UniChar * forkName;
SInt8 permissions;
UInt8 reserved1;
FSIORefNum forkRefNum;
FSRef * newRef;
};
typedef struct FSRefForkIOParam FSRefForkIOParam;
typedef FSRefForkIOParam * FSRefForkIOParamPtr;
typedef struct OpaqueFSIterator* FSIterator;
enum {
kFSIterateFlat = 0,
kFSIterateSubtree = 1,
kFSIterateDelete = 2,
kFSIterateReserved = (long)0xFFFFFFFC
};
typedef OptionBits FSIteratorFlags;
struct FSSearchParams {
Duration searchTime;
OptionBits searchBits;
UniCharCount searchNameLength;
const UniChar * searchName;
FSCatalogInfo * searchInfo1;
FSCatalogInfo * searchInfo2;
};
typedef struct FSSearchParams FSSearchParams;
typedef FSSearchParams * FSSearchParamsPtr;
struct FSCatalogBulkParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
Boolean containerChanged;
UInt8 reserved;
FSIteratorFlags iteratorFlags;
FSIterator iterator;
const FSRef * container;
ItemCount maximumItems;
ItemCount actualItems;
FSCatalogInfoBitmap whichInfo;
FSCatalogInfo * catalogInfo;
FSRef * refs;
FSSpecPtr specs;
HFSUniStr255 * names;
const FSSearchParams * searchParams;
};
typedef struct FSCatalogBulkParam FSCatalogBulkParam;
typedef FSCatalogBulkParam * FSCatalogBulkParamPtr;
typedef UInt16 FSAllocationFlags;
enum {
kFSAllocDefaultFlags = 0x0000,
kFSAllocAllOrNothingMask = 0x0001,
kFSAllocContiguousMask = 0x0002,
kFSAllocNoRoundUpMask = 0x0004,
kFSAllocReservedMask = 0xFFF8
};
struct FSForkIOParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
void * reserved1;
SInt16 reserved2;
FSIORefNum forkRefNum;
UInt8 reserved3;
SInt8 permissions;
const FSRef * ref;
Ptr buffer;
UInt32 requestCount;
UInt32 actualCount;
UInt16 positionMode;
SInt64 positionOffset;
FSAllocationFlags allocationFlags;
UInt64 allocationAmount;
UniCharCount forkNameLength;
const UniChar * forkName;
CatPositionRec forkIterator;
HFSUniStr255 * outForkName;
};
typedef struct FSForkIOParam FSForkIOParam;
typedef FSForkIOParam * FSForkIOParamPtr;
struct FSForkInfo {
SInt8 flags;
SInt8 permissions;
FSVolumeRefNum volume;
UInt32 reserved2;
UInt32 nodeID;
UInt32 forkID;
UInt64 currentPosition;
UInt64 logicalEOF;
UInt64 physicalEOF;
UInt64 process;
};
typedef struct FSForkInfo FSForkInfo;
typedef FSForkInfo * FSForkInfoPtr;
struct FSForkCBInfoParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
FSIORefNum desiredRefNum;
FSVolumeRefNum volumeRefNum;
FSIORefNum iterator;
FSVolumeRefNum actualRefNum;
FSRef * ref;
FSForkInfo * forkInfo;
HFSUniStr255 * forkName;
};
typedef struct FSForkCBInfoParam FSForkCBInfoParam;
typedef FSForkCBInfoParam * FSForkCBInfoParamPtr;
struct FSRangeLockParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
FSIORefNum forkRefNum;
UInt64 requestCount;
UInt16 positionMode;
SInt64 positionOffset;
UInt64 rangeStart;
};
typedef struct FSRangeLockParam FSRangeLockParam;
typedef FSRangeLockParam * FSRangeLockParamPtr;
typedef UInt32 FSVolumeInfoBitmap;
enum {
kFSVolInfoNone = 0x0000,
kFSVolInfoCreateDate = 0x0001,
kFSVolInfoModDate = 0x0002,
kFSVolInfoBackupDate = 0x0004,
kFSVolInfoCheckedDate = 0x0008,
kFSVolInfoFileCount = 0x0010,
kFSVolInfoDirCount = 0x0020,
kFSVolInfoSizes = 0x0040,
kFSVolInfoBlocks = 0x0080,
kFSVolInfoNextAlloc = 0x0100,
kFSVolInfoRsrcClump = 0x0200,
kFSVolInfoDataClump = 0x0400,
kFSVolInfoNextID = 0x0800,
kFSVolInfoFinderInfo = 0x1000,
kFSVolInfoFlags = 0x2000,
kFSVolInfoFSInfo = 0x4000,
kFSVolInfoDriveInfo = 0x8000,
kFSVolInfoGettableInfo = 0xFFFF,
kFSVolInfoSettableInfo = 0x3004
};
enum {
kFSVolFlagDefaultVolumeBit = 5,
kFSVolFlagDefaultVolumeMask = 0x0020,
kFSVolFlagFilesOpenBit = 6,
kFSVolFlagFilesOpenMask = 0x0040,
kFSVolFlagHardwareLockedBit = 7,
kFSVolFlagHardwareLockedMask = 0x0080,
kFSVolFlagJournalingActiveBit = 14,
kFSVolFlagJournalingActiveMask = 0x4000,
kFSVolFlagSoftwareLockedBit = 15,
kFSVolFlagSoftwareLockedMask = 0x8000
};
struct FSVolumeInfo {
UTCDateTime createDate;
UTCDateTime modifyDate;
UTCDateTime backupDate;
UTCDateTime checkedDate;
UInt32 fileCount;
UInt32 folderCount;
UInt64 totalBytes;
UInt64 freeBytes;
UInt32 blockSize;
UInt32 totalBlocks;
UInt32 freeBlocks;
UInt32 nextAllocation;
UInt32 rsrcClumpSize;
UInt32 dataClumpSize;
UInt32 nextCatalogID;
UInt8 finderInfo[32];
UInt16 flags;
UInt16 filesystemID;
UInt16 signature;
UInt16 driveNumber;
FSIORefNum driverRefNum;
};
typedef struct FSVolumeInfo FSVolumeInfo;
typedef FSVolumeInfo * FSVolumeInfoPtr;
struct FSVolumeInfoParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
UInt32 volumeIndex;
FSVolumeInfoBitmap whichInfo;
FSVolumeInfo * volumeInfo;
HFSUniStr255 * volumeName;
FSRef * ref;
};
typedef struct FSVolumeInfoParam FSVolumeInfoParam;
typedef FSVolumeInfoParam * FSVolumeInfoParamPtr;
struct GetVolParmsInfoBuffer {
SInt16 vMVersion;
SInt32 vMAttrib;
Handle vMLocalHand;
SInt32 vMServerAdr;
SInt32 vMVolumeGrade;
SInt16 vMForeignPrivID;
SInt32 vMExtendedAttributes;
void * vMDeviceID;
UniCharCount vMMaxNameLength;
};
typedef struct GetVolParmsInfoBuffer GetVolParmsInfoBuffer;
typedef OSType VolumeType;
enum {
AppleShareMediaType = 'afpm'
};
struct VolMountInfoHeader {
SInt16 length;
VolumeType media;
};
typedef struct VolMountInfoHeader VolMountInfoHeader;
typedef VolMountInfoHeader * VolMountInfoPtr;
struct VolumeMountInfoHeader {
SInt16 length;
VolumeType media;
SInt16 flags;
};
typedef struct VolumeMountInfoHeader VolumeMountInfoHeader;
typedef VolumeMountInfoHeader * VolumeMountInfoHeaderPtr;
enum {
volMountNoLoginMsgFlagBit = 0,
volMountNoLoginMsgFlagMask = 0x0001,
volMountExtendedFlagsBit = 7,
volMountExtendedFlagsMask = 0x0080,
volMountInteractBit = 15,
volMountInteractMask = 0x8000,
volMountChangedBit = 14,
volMountChangedMask = 0x4000,
volMountFSReservedMask = 0x00FF,
volMountSysReservedMask = 0xFF00
};
struct AFPVolMountInfo {
SInt16 length;
VolumeType media;
SInt16 flags;
SInt8 nbpInterval;
SInt8 nbpCount;
SInt16 uamType;
SInt16 zoneNameOffset;
SInt16 serverNameOffset;
SInt16 volNameOffset;
SInt16 userNameOffset;
SInt16 userPasswordOffset;
SInt16 volPasswordOffset;
char AFPData[144];
};
typedef struct AFPVolMountInfo AFPVolMountInfo;
typedef AFPVolMountInfo * AFPVolMountInfoPtr;
struct AFPXVolMountInfo {
SInt16 length;
VolumeType media;
SInt16 flags;
SInt8 nbpInterval;
SInt8 nbpCount;
SInt16 uamType;
SInt16 zoneNameOffset;
SInt16 serverNameOffset;
SInt16 volNameOffset;
SInt16 userNameOffset;
SInt16 userPasswordOffset;
SInt16 volPasswordOffset;
SInt16 extendedFlags;
SInt16 uamNameOffset;
SInt16 alternateAddressOffset;
char AFPData[176];
};
typedef struct AFPXVolMountInfo AFPXVolMountInfo;
typedef AFPXVolMountInfo * AFPXVolMountInfoPtr;
enum {
kAFPExtendedFlagsAlternateAddressMask = 1
};
enum {
kAFPTagTypeIP = 0x01,
kAFPTagTypeIPPort = 0x02,
kAFPTagTypeDDP = 0x03,
kAFPTagTypeDNS = 0x04
};
enum {
kAFPTagLengthIP = 0x06,
kAFPTagLengthIPPort = 0x08,
kAFPTagLengthDDP = 0x06
};
struct AFPTagData {
UInt8 fLength;
UInt8 fType;
UInt8 fData[1];
};
typedef struct AFPTagData AFPTagData;
struct AFPAlternateAddress {
UInt8 fVersion;
UInt8 fAddressCount;
UInt8 fAddressList[1];
};
typedef struct AFPAlternateAddress AFPAlternateAddress;
enum {
kLargeIconSize = 256,
kLarge4BitIconSize = 512,
kLarge8BitIconSize = 1024,
kSmallIconSize = 64,
kSmall4BitIconSize = 128,
kSmall8BitIconSize = 256
};
# 1730 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern IOCompletionUPP
NewIOCompletionUPP(IOCompletionProcPtr userRoutine) ;
# 1741 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
DisposeIOCompletionUPP(IOCompletionUPP userUPP) ;
# 1752 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
InvokeIOCompletionUPP(
ParmBlkPtr paramBlock,
IOCompletionUPP userUPP) ;
#define NewIOCompletionUPP(userRoutine) ((IOCompletionUPP)userRoutine)
#define DisposeIOCompletionUPP(userUPP)
#define InvokeIOCompletionUPP(paramBlock,userUPP) (*userUPP)(paramBlock)
# 1793 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSMakeFSRefUnicode(const FSRef *parentRef, UniCharCount nameLength, const UniChar *name, TextEncoding textEncodingHint, FSRef *newRef) ;
# 1807 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBMakeFSRefUnicodeSync(FSRefParam * paramBlock) ;
# 1821 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBMakeFSRefUnicodeAsync(FSRefParam * paramBlock) ;
# 1846 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCompareFSRefs(const FSRef *ref1, const FSRef *ref2) ;
# 1860 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCompareFSRefsSync(FSRefParam * paramBlock) ;
# 1874 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCompareFSRefsAsync(FSRefParam * paramBlock) ;
# 1903 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCreateFileUnicode(const FSRef *parentRef, UniCharCount nameLength, const UniChar *name, FSCatalogInfoBitmap whichInfo, const FSCatalogInfo *catalogInfo, FSRef *newRef, FSSpecPtr newSpec) ;
# 1917 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCreateFileUnicodeSync(FSRefParam * paramBlock) ;
# 1931 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCreateFileUnicodeAsync(FSRefParam * paramBlock) ;
# 1961 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCreateDirectoryUnicode(const FSRef *parentRef, UniCharCount nameLength, const UniChar *name, FSCatalogInfoBitmap whichInfo, const FSCatalogInfo *catalogInfo, FSRef *newRef, FSSpecPtr newSpec, UInt32 *newDirID) ;
# 1975 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCreateDirectoryUnicodeSync(FSRefParam * paramBlock) ;
# 1989 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCreateDirectoryUnicodeAsync(FSRefParam * paramBlock) ;
# 2011 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSDeleteObject(const FSRef * ref) ;
# 2025 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDeleteObjectSync(FSRefParam * paramBlock) ;
# 2039 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBDeleteObjectAsync(FSRefParam * paramBlock) ;
# 2062 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSUnlinkObject(const FSRef * ref) ;
# 2076 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBUnlinkObjectSync(FSRefParam * paramBlock) ;
# 2090 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBUnlinkObjectAsync(FSRefParam * paramBlock) ;
# 2119 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSMoveObject(const FSRef *ref, const FSRef *destDirectory, FSRef *newRef) ;
# 2133 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBMoveObjectSync(FSRefParam * paramBlock) ;
# 2147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBMoveObjectAsync(FSRefParam * paramBlock) ;
# 2170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSExchangeObjects(const FSRef *ref, const FSRef *destRef) ;
# 2184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBExchangeObjectsSync(FSRefParam * paramBlock) ;
# 2198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBExchangeObjectsAsync(FSRefParam * paramBlock) ;
# 2316 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSReplaceObjectDefaultOptions = 0,
kFSReplaceObjectReplaceMetadata = 0x01,
kFSReplaceObjectSaveOriginalAsABackup = 0x02,
kFSReplaceObjectReplacePermissionInfo = 0x04,
kFSReplaceObjectPreservePermissionInfo = 0x08,
# 2359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
kFSReplaceObjectDoNotCheckObjectWriteAccess = 0x10
};
# 2409 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSReplaceObject(const FSRef *originalObject, const FSRef *replacementObject, CFStringRef newName, CFStringRef temporaryName, const FSRef *temporaryDirectory, OptionBits flags, FSRef *resultObject) ;
# 2457 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathReplaceObject(const char *originalObjectPath, const char *replacementObjectPath, CFStringRef newName, CFStringRef temporaryName, const char *temporaryDirectoryPath, OptionBits flags) ;
# 2489 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetTemporaryDirectoryForReplaceObject(const FSRef *originalObject, FSRef *temporaryDirectory, OptionBits flags) ;
# 2525 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathGetTemporaryDirectoryForReplaceObject(const char *originalObjectPath, char *temporaryDirectoryPath, UInt32 maxPathSize, OptionBits flags) ;
# 2556 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSRenameUnicode(const FSRef *ref, UniCharCount nameLength, const UniChar *name, TextEncoding textEncodingHint, FSRef *newRef) ;
# 2570 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBRenameUnicodeSync(FSRefParam * paramBlock) ;
# 2584 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBRenameUnicodeAsync(FSRefParam * paramBlock) ;
# 2613 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetCatalogInfo(const FSRef *ref, FSCatalogInfoBitmap whichInfo, FSCatalogInfo *catalogInfo, HFSUniStr255 *outName, FSSpecPtr fsSpec, FSRef *parentRef) ;
# 2627 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetCatalogInfoSync(FSRefParam * paramBlock) ;
# 2641 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetCatalogInfoAsync(FSRefParam * paramBlock) ;
# 2683 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSSetCatalogInfo(const FSRef *ref, FSCatalogInfoBitmap whichInfo, const FSCatalogInfo *catalogInfo) ;
# 2705 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetCatalogInfoSync(FSRefParam * paramBlock) ;
# 2727 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBSetCatalogInfoAsync(FSRefParam * paramBlock) ;
# 2754 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSOpenIterator(const FSRef *container, FSIteratorFlags iteratorFlags, FSIterator *iterator) ;
# 2768 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBOpenIteratorSync(FSCatalogBulkParam * paramBlock) ;
# 2782 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBOpenIteratorAsync(FSCatalogBulkParam * paramBlock) ;
# 2804 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCloseIterator(FSIterator iterator) ;
# 2818 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCloseIteratorSync(FSCatalogBulkParam * paramBlock) ;
# 2832 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCloseIteratorAsync(FSCatalogBulkParam * paramBlock) ;
# 2865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetCatalogInfoBulk(FSIterator iterator, ItemCount maximumObjects, ItemCount *actualObjects, Boolean *containerChanged, FSCatalogInfoBitmap whichInfo, FSCatalogInfo *catalogInfos, FSRef *refs, FSSpecPtr specs, HFSUniStr255 *names) ;
# 2879 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetCatalogInfoBulkSync(FSCatalogBulkParam * paramBlock) ;
# 2893 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetCatalogInfoBulkAsync(FSCatalogBulkParam * paramBlock) ;
# 2929 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCatalogSearch(FSIterator iterator, const FSSearchParams *searchCriteria, ItemCount maximumObjects, ItemCount *actualObjects, Boolean *containerChanged, FSCatalogInfoBitmap whichInfo, FSCatalogInfo *catalogInfos, FSRef *refs, FSSpecPtr specs, HFSUniStr255 *names) ;
# 2943 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCatalogSearchSync(FSCatalogBulkParam * paramBlock) ;
# 2957 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCatalogSearchAsync(FSCatalogBulkParam * paramBlock) ;
# 2989 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCreateFileAndOpenForkUnicode(const FSRef *parentRef, UniCharCount nameLength, const UniChar *name, FSCatalogInfoBitmap whichInfo, const FSCatalogInfo *catalogInfo, UniCharCount forkNameLength, const UniChar *forkName, SInt8 permissions, FSIORefNum *forkRefNum, FSRef *newRef) ;
# 3003 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBCreateFileAndOpenForkUnicodeSync(FSRefForkIOParamPtr paramBlock) ;
# 3017 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCreateFileAndOpenForkUnicodeAsync(FSRefForkIOParamPtr paramBlock) ;
# 3040 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCreateFork(const FSRef *ref, UniCharCount forkNameLength, const UniChar *forkName) ;
# 3054 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCreateForkSync(FSForkIOParam * paramBlock) ;
# 3068 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCreateForkAsync(FSForkIOParam * paramBlock) ;
# 3092 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSDeleteFork(const FSRef *ref, UniCharCount forkNameLength, const UniChar *forkName) ;
# 3106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDeleteForkSync(FSForkIOParam * paramBlock) ;
# 3120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBDeleteForkAsync(FSForkIOParam * paramBlock) ;
# 3148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSIterateForks(const FSRef *ref, CatPositionRec *forkIterator, HFSUniStr255 *forkName, SInt64 *forkSize, UInt64 *forkPhysicalSize) ;
# 3162 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBIterateForksSync(FSForkIOParam * paramBlock) ;
# 3176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBIterateForksAsync(FSForkIOParam * paramBlock) ;
# 3205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSOpenFork(const FSRef *ref, UniCharCount forkNameLength, const UniChar *forkName, SInt8 permissions, FSIORefNum *forkRefNum) ;
# 3219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBOpenForkSync(FSForkIOParam * paramBlock) ;
# 3233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBOpenForkAsync(FSForkIOParam * paramBlock) ;
# 3261 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSReadFork(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset, ByteCount requestCount, void *buffer, ByteCount *actualCount) ;
# 3275 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBReadForkSync(FSForkIOParam * paramBlock) ;
# 3289 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBReadForkAsync(FSForkIOParam * paramBlock) ;
# 3317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSWriteFork(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset, ByteCount requestCount, const void *buffer, ByteCount *actualCount) ;
# 3331 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBWriteForkSync(FSForkIOParam * paramBlock) ;
# 3345 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBWriteForkAsync(FSForkIOParam * paramBlock) ;
# 3369 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetForkPosition(FSIORefNum forkRefNum, SInt64 *position) ;
# 3383 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetForkPositionSync(FSForkIOParam * paramBlock) ;
# 3397 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetForkPositionAsync(FSForkIOParam * paramBlock) ;
# 3422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSSetForkPosition(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset) ;
# 3436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetForkPositionSync(FSForkIOParam * paramBlock) ;
# 3450 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBSetForkPositionAsync(FSForkIOParam * paramBlock) ;
# 3473 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetForkSize(FSIORefNum forkRefNum, SInt64 *forkSize) ;
# 3487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetForkSizeSync(FSForkIOParam * paramBlock) ;
# 3501 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetForkSizeAsync(FSForkIOParam * paramBlock) ;
# 3526 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSSetForkSize(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset) ;
# 3540 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetForkSizeSync(FSForkIOParam * paramBlock) ;
# 3554 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBSetForkSizeAsync(FSForkIOParam * paramBlock) ;
# 3594 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSAllocateFork(FSIORefNum forkRefNum, FSAllocationFlags flags, UInt16 positionMode, SInt64 positionOffset, UInt64 requestCount, UInt64 *actualCount) ;
# 3608 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBAllocateForkSync(FSForkIOParam * paramBlock) ;
# 3622 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBAllocateForkAsync(FSForkIOParam * paramBlock) ;
# 3645 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSFlushFork(FSIORefNum forkRefNum) ;
# 3659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBFlushForkSync(FSForkIOParam * paramBlock) ;
# 3673 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBFlushForkAsync(FSForkIOParam * paramBlock) ;
# 3696 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCloseFork(FSIORefNum forkRefNum) ;
# 3710 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCloseForkSync(FSForkIOParam * paramBlock) ;
# 3724 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCloseForkAsync(FSForkIOParam * paramBlock) ;
# 3762 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetForkCBInfo(FSIORefNum desiredRefNum, FSVolumeRefNum volume, short *iterator, FSIORefNum *actualRefNum, FSForkInfo *forkInfo, FSRef *ref, HFSUniStr255 *outForkName) ;
# 3776 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetForkCBInfoSync(FSForkCBInfoParam * paramBlock) ;
# 3790 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetForkCBInfoAsync(FSForkCBInfoParam * paramBlock) ;
# 3816 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSLockRange(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset, UInt64 requestCount, UInt64 *rangeStart) ;
# 3830 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBXLockRangeSync(FSRangeLockParamPtr paramBlock) ;
# 3844 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBXLockRangeAsync(FSRangeLockParamPtr paramBlock) ;
# 3870 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSUnlockRange(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset, UInt64 requestCount, UInt64 *rangeStart) ;
# 3884 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBXUnlockRangeSync(FSRangeLockParamPtr paramBlock) ;
# 3898 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBXUnlockRangeAsync(FSRangeLockParamPtr paramBlock) ;
# 3929 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetVolumeInfo(FSVolumeRefNum volume, ItemCount volumeIndex, FSVolumeRefNum *actualVolume, FSVolumeInfoBitmap whichInfo, FSVolumeInfo *info, HFSUniStr255 *volumeName, FSRef *rootDirectory) ;
# 3943 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetVolumeInfoSync(FSVolumeInfoParam * paramBlock) ;
# 3957 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetVolumeInfoAsync(FSVolumeInfoParam * paramBlock) ;
# 3984 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSSetVolumeInfo(FSVolumeRefNum volume, FSVolumeInfoBitmap whichInfo, const FSVolumeInfo *info) ;
# 3998 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetVolumeInfoSync(FSVolumeInfoParam * paramBlock) ;
# 4012 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBSetVolumeInfoAsync(FSVolumeInfoParam * paramBlock) ;
# 4030 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetDataForkName(HFSUniStr255 * dataForkName) ;
# 4049 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetResourceForkName(HFSUniStr255 * resourceForkName) ;
# 4079 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSRefMakePath(const FSRef *ref, UInt8 *path, UInt32 pathBufferSize) ;
# 4108 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMakeRef(const UInt8 *path, FSRef *ref, Boolean *isDirectory) ;
# 4118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSPathMakeRefDefaultOptions = 0,
kFSPathMakeRefDoNotFollowLeafSymlink = 0x01
};
# 4153 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMakeRefWithOptions(const UInt8 *path, OptionBits options, FSRef *ref, Boolean *isDirectory) ;
# 4177 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern Boolean FSIsFSRefValid(const FSRef * ref) ;
# 4190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef UInt32 FNMessage;
enum {
kFNDirectoryModifiedMessage = 1
};
# 4231 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNNotify(const FSRef *ref, FNMessage message, OptionBits flags) ;
# 4260 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNNotifyByPath(const UInt8 *path, FNMessage message, OptionBits flags) ;
# 4288 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNNotifyAll(FNMessage message, OptionBits flags) ;
# 4303 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef struct OpaqueFNSubscriptionRef* FNSubscriptionRef;
enum {
kFNNoImplicitAllSubscription = (1 << 0),
kFNNotifyInBackground = (1 << 1)
};
# 4350 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef void ( * FNSubscriptionProcPtr)(FNMessage message, OptionBits flags, void *refcon, FNSubscriptionRef subscription);
typedef FNSubscriptionProcPtr FNSubscriptionUPP;
# 4360 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FNSubscriptionUPP
NewFNSubscriptionUPP(FNSubscriptionProcPtr userRoutine) ;
# 4371 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
DisposeFNSubscriptionUPP(FNSubscriptionUPP userUPP) ;
# 4382 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
InvokeFNSubscriptionUPP(
FNMessage message,
OptionBits flags,
void * refcon,
FNSubscriptionRef subscription,
FNSubscriptionUPP userUPP) ;
#define NewFNSubscriptionUPP(userRoutine) ((FNSubscriptionUPP)userRoutine)
#define DisposeFNSubscriptionUPP(userUPP)
#define InvokeFNSubscriptionUPP(message,flags,refcon,subscription,userUPP) (*userUPP)(message, flags, refcon, subscription)
# 4434 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNSubscribe(const FSRef *directoryRef, FNSubscriptionUPP callback, void *refcon, OptionBits flags, FNSubscriptionRef *subscription) ;
# 4469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNSubscribeByPath(const UInt8 *directoryPath, FNSubscriptionUPP callback, void *refcon, OptionBits flags, FNSubscriptionRef *subscription) ;
# 4492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNUnsubscribe(FNSubscriptionRef subscription) ;
# 4522 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNGetDirectoryForSubscription(FNSubscriptionRef subscription, FSRef *ref) ;
enum {
kAsyncMountInProgress = 1,
kAsyncMountComplete = 2,
kAsyncUnmountInProgress = 3,
kAsyncUnmountComplete = 4,
kAsyncEjectInProgress = 5,
kAsyncEjectComplete = 6
};
typedef UInt32 FSMountStatus;
typedef UInt32 FSEjectStatus;
typedef UInt32 FSUnmountStatus;
typedef struct OpaqueFSVolumeOperation* FSVolumeOperation;
typedef void ( * FSVolumeMountProcPtr)(FSVolumeOperation volumeOp, void *clientData, OSStatus err, FSVolumeRefNum mountedVolumeRefNum);
typedef void ( * FSVolumeUnmountProcPtr)(FSVolumeOperation volumeOp, void *clientData, OSStatus err, FSVolumeRefNum volumeRefNum, pid_t dissenter);
typedef void ( * FSVolumeEjectProcPtr)(FSVolumeOperation volumeOp, void *clientData, OSStatus err, FSVolumeRefNum volumeRefNum, pid_t dissenter);
typedef FSVolumeMountProcPtr FSVolumeMountUPP;
typedef FSVolumeUnmountProcPtr FSVolumeUnmountUPP;
typedef FSVolumeEjectProcPtr FSVolumeEjectUPP;
# 4555 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSVolumeMountUPP
NewFSVolumeMountUPP(FSVolumeMountProcPtr userRoutine) ;
# 4566 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSVolumeUnmountUPP
NewFSVolumeUnmountUPP(FSVolumeUnmountProcPtr userRoutine) ;
# 4577 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSVolumeEjectUPP
NewFSVolumeEjectUPP(FSVolumeEjectProcPtr userRoutine) ;
# 4588 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
DisposeFSVolumeMountUPP(FSVolumeMountUPP userUPP) ;
# 4599 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
DisposeFSVolumeUnmountUPP(FSVolumeUnmountUPP userUPP) ;
# 4610 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
DisposeFSVolumeEjectUPP(FSVolumeEjectUPP userUPP) ;
# 4621 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
InvokeFSVolumeMountUPP(
FSVolumeOperation volumeOp,
void * clientData,
OSStatus err,
FSVolumeRefNum mountedVolumeRefNum,
FSVolumeMountUPP userUPP) ;
# 4637 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
InvokeFSVolumeUnmountUPP(
FSVolumeOperation volumeOp,
void * clientData,
OSStatus err,
FSVolumeRefNum volumeRefNum,
pid_t dissenter,
FSVolumeUnmountUPP userUPP) ;
# 4654 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
InvokeFSVolumeEjectUPP(
FSVolumeOperation volumeOp,
void * clientData,
OSStatus err,
FSVolumeRefNum volumeRefNum,
pid_t dissenter,
FSVolumeEjectUPP userUPP) ;
# 4675 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
#define NewFSVolumeMountUPP(userRoutine) ((FSVolumeMountUPP)userRoutine)
#define NewFSVolumeUnmountUPP(userRoutine) ((FSVolumeUnmountUPP)userRoutine)
#define NewFSVolumeEjectUPP(userRoutine) ((FSVolumeEjectUPP)userRoutine)
#define DisposeFSVolumeMountUPP(userUPP)
#define DisposeFSVolumeUnmountUPP(userUPP)
#define DisposeFSVolumeEjectUPP(userUPP)
#define InvokeFSVolumeMountUPP(volumeOp,clientData,err,mountedVolumeRefNum,userUPP) (*userUPP)(volumeOp, clientData, err, mountedVolumeRefNum)
#define InvokeFSVolumeUnmountUPP(volumeOp,clientData,err,volumeRefNum,dissenter,userUPP) (*userUPP)(volumeOp, clientData, err, volumeRefNum, dissenter)
#define InvokeFSVolumeEjectUPP(volumeOp,clientData,err,volumeRefNum,dissenter,userUPP) (*userUPP)(volumeOp, clientData, err, volumeRefNum, dissenter)
# 4693 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSMountServerMarkDoNotDisplay = (1 << 0),
kFSMountServerMountOnMountDir = (1 << 2)
};
# 4715 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSMountServerMountWithoutNotification = (1 << 1)
};
enum {
# 4740 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
kFSEjectVolumeForceEject = (1 << 0)
};
enum {
# 4758 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
kFSUnmountVolumeForceUnmount = (1 << 0)
};
# 4783 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCreateVolumeOperation(FSVolumeOperation * volumeOp) ;
# 4806 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSDisposeVolumeOperation(FSVolumeOperation volumeOp) ;
# 4839 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMountLocalVolumeSync(CFStringRef diskID, CFURLRef mountDir, FSVolumeRefNum *mountedVolumeRefNum, OptionBits flags) ;
# 4887 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMountLocalVolumeAsync(CFStringRef diskID, CFURLRef mountDir, FSVolumeOperation volumeOp, void *clientData, OptionBits flags, FSVolumeMountUPP callback, CFRunLoopRef runloop, CFStringRef runloopMode) ;
# 4929 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMountServerVolumeSync(CFURLRef url, CFURLRef mountDir, CFStringRef user, CFStringRef password, FSVolumeRefNum *mountedVolumeRefNum, OptionBits flags) ;
# 4986 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMountServerVolumeAsync(CFURLRef url, CFURLRef mountDir, CFStringRef user, CFStringRef password, FSVolumeOperation volumeOp, void *clientData, OptionBits flags, FSVolumeMountUPP callback, CFRunLoopRef runloop, CFStringRef runloopMode) ;
# 5029 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetAsyncMountStatus(FSVolumeOperation volumeOp, FSMountStatus *status, OSStatus *volumeOpStatus, FSVolumeRefNum *mountedVolumeRefNum, void **clientData) ;
# 5062 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSUnmountVolumeSync(FSVolumeRefNum vRefNum, OptionBits flags, pid_t *dissenter) ;
# 5106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSUnmountVolumeAsync(FSVolumeRefNum vRefNum, OptionBits flags, FSVolumeOperation volumeOp, void *clientData, FSVolumeUnmountUPP callback, CFRunLoopRef runloop, CFStringRef runloopMode) ;
# 5148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetAsyncUnmountStatus(FSVolumeOperation volumeOp, FSUnmountStatus *status, OSStatus *volumeOpStatus, FSVolumeRefNum *volumeRefNum, pid_t *dissenter, void **clientData) ;
# 5172 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCancelVolumeOperation(FSVolumeOperation volumeOp) ;
# 5205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSEjectVolumeSync(FSVolumeRefNum vRefNum, OptionBits flags, pid_t *dissenter) ;
# 5249 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSEjectVolumeAsync(FSVolumeRefNum vRefNum, OptionBits flags, FSVolumeOperation volumeOp, void *clientData, FSVolumeEjectUPP callback, CFRunLoopRef runloop, CFStringRef runloopMode) ;
# 5291 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetAsyncEjectStatus(FSVolumeOperation volumeOp, FSEjectStatus *status, OSStatus *volumeOpStatus, FSVolumeRefNum *volumeRefNum, pid_t *dissenter, void **clientData) ;
# 5318 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCopyDiskIDForVolume(FSVolumeRefNum vRefNum, CFStringRef *diskID) ;
# 5344 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCopyURLForVolume(FSVolumeRefNum vRefNum, CFURLRef *url) ;
# 5369 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetVolumeForDiskID(CFStringRef diskID, FSVolumeRefNum *vRefNum) ;
# 5396 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCopyDADiskForVolume(FSVolumeRefNum vRefNum, DADiskRef *disk) ;
# 5422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetVolumeForDADisk(DADiskRef disk, FSVolumeRefNum *vRefNum) ;
typedef struct __FSFileOperation* FSFileOperationRef;
typedef UInt32 FSFileOperationStage;
# 5437 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
struct FSFileOperationClientContext {
CFIndex version;
void * info;
# 5459 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
};
typedef struct FSFileOperationClientContext FSFileOperationClientContext;
# 5512 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef void ( * FSFileOperationStatusProcPtr)(FSFileOperationRef fileOp, const FSRef *currentItem, FSFileOperationStage stage, OSStatus error, CFDictionaryRef statusDictionary, void *info);
# 5551 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef void ( * FSPathFileOperationStatusProcPtr)(FSFileOperationRef fileOp, const char *currentItem, FSFileOperationStage stage, OSStatus error, CFDictionaryRef statusDictionary, void *info);
# 5560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSFileOperationDefaultOptions = 0,
kFSFileOperationOverwrite = 0x01,
kFSFileOperationSkipSourcePermissionErrors = 0x02,
kFSFileOperationDoNotMoveAcrossVolumes = 0x04,
kFSFileOperationSkipPreflight = 0x08
};
# 5603 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSOperationStageUndefined = 0,
kFSOperationStagePreflighting = 1,
kFSOperationStageRunning = 2,
kFSOperationStageComplete = 3
};
# 5643 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationTotalBytesKey ;
# 5659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationBytesCompleteKey ;
# 5675 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationBytesRemainingKey ;
# 5691 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationTotalObjectsKey ;
# 5707 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationObjectsCompleteKey ;
# 5723 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationObjectsRemainingKey ;
# 5741 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationTotalUserVisibleObjectsKey ;
# 5759 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationUserVisibleObjectsCompleteKey ;
# 5777 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationUserVisibleObjectsRemainingKey ;
# 5791 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationThroughputKey ;
# 5827 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCopyObjectSync(const FSRef *source, const FSRef *destDir, CFStringRef destName, FSRef *target, OptionBits options) ;
# 5870 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMoveObjectSync(const FSRef *source, const FSRef *destDir, CFStringRef destName, FSRef *target, OptionBits options) ;
# 5904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMoveObjectToTrashSync(const FSRef *source, FSRef *target, OptionBits options) ;
# 5943 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathCopyObjectSync(const char *sourcePath, const char *destDirPath, CFStringRef destName, char **targetPath, OptionBits options) ;
# 5987 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMoveObjectSync(const char *sourcePath, const char *destDirPath, CFStringRef destName, char **targetPath, OptionBits options) ;
# 6022 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMoveObjectToTrashSync(const char *sourcePath, char **targetPath, OptionBits options) ;
# 6042 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern CFTypeID FSFileOperationGetTypeID(void) ;
# 6069 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSFileOperationRef FSFileOperationCreate(CFAllocatorRef alloc) ;
# 6101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileOperationScheduleWithRunLoop(FSFileOperationRef fileOp, CFRunLoopRef runLoop, CFStringRef runLoopMode) ;
# 6132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileOperationUnscheduleFromRunLoop(FSFileOperationRef fileOp, CFRunLoopRef runLoop, CFStringRef runLoopMode) ;
# 6185 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCopyObjectAsync(FSFileOperationRef fileOp, const FSRef *source, const FSRef *destDir, CFStringRef destName, OptionBits flags, FSFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6241 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMoveObjectAsync(FSFileOperationRef fileOp, const FSRef *source, const FSRef *destDir, CFStringRef destName, OptionBits flags, FSFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6290 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMoveObjectToTrashAsync(FSFileOperationRef fileOp, const FSRef *source, OptionBits flags, FSFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6343 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathCopyObjectAsync(FSFileOperationRef fileOp, const char *sourcePath, const char *destDirPath, CFStringRef destName, OptionBits flags, FSPathFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6399 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMoveObjectAsync(FSFileOperationRef fileOp, const char *sourcePath, const char *destDirPath, CFStringRef destName, OptionBits flags, FSPathFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6449 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMoveObjectToTrashAsync(FSFileOperationRef fileOp, const char *sourcePath, OptionBits flags, FSPathFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6472 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileOperationCancel(FSFileOperationRef fileOp) ;
# 6516 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileOperationCopyStatus(FSFileOperationRef fileOp, FSRef *currentItem, FSFileOperationStage *stage, OSStatus *error, CFDictionaryRef *statusDictionary, void **info) ;
# 6561 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathFileOperationCopyStatus(FSFileOperationRef fileOp, char **currentItem, FSFileOperationStage *stage, OSStatus *error, CFDictionaryRef *statusDictionary, void **info) ;
# 6590 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern CFStringRef FSCreateStringFromHFSUniStr(CFAllocatorRef alloc, const HFSUniStr255 *uniStr) ;
# 6616 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetHFSUniStrFromString(CFStringRef theString, HFSUniStr255 *uniStr) ;
# 6638 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern CFTypeID FSFileSecurityGetTypeID(void) ;
# 6665 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSFileSecurityRef FSFileSecurityCreate(CFAllocatorRef alloc) ;
# 6679 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSFileSecurityRef FSFileSecurityCreateWithFSPermissionInfo(CFAllocatorRef alloc, const FSPermissionInfo *permissions) ;
# 6693 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSFileSecurityRef FSFileSecurityRefCreateCopy(CFAllocatorRef alloc, FSFileSecurityRef fileSec) ;
# 6724 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityGetOwnerUUID(FSFileSecurityRef fileSec, CFUUIDBytes *owner) ;
# 6751 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetOwnerUUID(FSFileSecurityRef fileSec, const CFUUIDBytes *owner) ;
# 6780 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityGetGroupUUID(FSFileSecurityRef fileSec, CFUUIDBytes *group) ;
# 6807 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetGroupUUID(FSFileSecurityRef fileSec, const CFUUIDBytes *group) ;
# 6838 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityCopyAccessControlList(FSFileSecurityRef fileSec, acl_t *accessControlList) ;
# 6868 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetAccessControlList(FSFileSecurityRef fileSec, acl_t accessControlList) ;
# 6897 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityGetOwner(FSFileSecurityRef fileSec, UInt32 *owner) ;
# 6923 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetOwner(FSFileSecurityRef fileSec, UInt32 owner) ;
# 6951 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityGetGroup(FSFileSecurityRef fileSec, UInt32 *group) ;
# 6977 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetGroup(FSFileSecurityRef fileSec, UInt32 group) ;
# 7005 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityGetMode(FSFileSecurityRef fileSec, UInt16 *mode) ;
# 7031 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetMode(FSFileSecurityRef fileSec, UInt16 mode) ;
enum {
pleaseCacheBit = 4,
pleaseCacheMask = 0x0010,
noCacheBit = 5,
noCacheMask = 0x0020,
rdVerifyBit = 6,
rdVerifyMask = 0x0040,
rdVerify = 64,
forceReadBit = 6,
forceReadMask = 0x0040,
newLineBit = 7,
newLineMask = 0x0080,
newLineCharMask = 0xFF00
};
enum {
kOwnerID2Name = 1,
kGroupID2Name = 2,
kOwnerName2ID = 3,
kGroupName2ID = 4,
kReturnNextUser = 1,
kReturnNextGroup = 2,
kReturnNextUG = 3
};
enum {
kVCBFlagsIdleFlushBit = 3,
kVCBFlagsIdleFlushMask = 0x0008,
kVCBFlagsHFSPlusAPIsBit = 4,
kVCBFlagsHFSPlusAPIsMask = 0x0010,
kVCBFlagsHardwareGoneBit = 5,
kVCBFlagsHardwareGoneMask = 0x0020,
kVCBFlagsVolumeDirtyBit = 15,
kVCBFlagsVolumeDirtyMask = 0x8000
};
enum {
kioVAtrbDefaultVolumeBit = 5,
kioVAtrbDefaultVolumeMask = 0x0020,
kioVAtrbFilesOpenBit = 6,
kioVAtrbFilesOpenMask = 0x0040,
kioVAtrbHardwareLockedBit = 7,
kioVAtrbHardwareLockedMask = 0x0080,
kioVAtrbSoftwareLockedBit = 15,
kioVAtrbSoftwareLockedMask = 0x8000
};
enum {
kioFlAttribLockedBit = 0,
kioFlAttribLockedMask = 0x01,
kioFlAttribResOpenBit = 2,
kioFlAttribResOpenMask = 0x04,
kioFlAttribDataOpenBit = 3,
kioFlAttribDataOpenMask = 0x08,
kioFlAttribDirBit = 4,
kioFlAttribDirMask = 0x10,
ioDirFlg = 4,
ioDirMask = 0x10,
kioFlAttribCopyProtBit = 6,
kioFlAttribCopyProtMask = 0x40,
kioFlAttribFileOpenBit = 7,
kioFlAttribFileOpenMask = 0x80,
kioFlAttribInSharedBit = 2,
kioFlAttribInSharedMask = 0x04,
kioFlAttribMountedBit = 3,
kioFlAttribMountedMask = 0x08,
kioFlAttribSharePointBit = 5,
kioFlAttribSharePointMask = 0x20
};
enum {
kioFCBWriteBit = 8,
kioFCBWriteMask = 0x0100,
kioFCBResourceBit = 9,
kioFCBResourceMask = 0x0200,
kioFCBWriteLockedBit = 10,
kioFCBWriteLockedMask = 0x0400,
kioFCBLargeFileBit = 11,
kioFCBLargeFileMask = 0x0800,
kioFCBSharedWriteBit = 12,
kioFCBSharedWriteMask = 0x1000,
kioFCBFileLockedBit = 13,
kioFCBFileLockedMask = 0x2000,
kioFCBOwnClumpBit = 14,
kioFCBOwnClumpMask = 0x4000,
kioFCBModifiedBit = 15,
kioFCBModifiedMask = 0x8000
};
enum {
kioACUserNoSeeFolderBit = 0,
kioACUserNoSeeFolderMask = 0x01,
kioACUserNoSeeFilesBit = 1,
kioACUserNoSeeFilesMask = 0x02,
kioACUserNoMakeChangesBit = 2,
kioACUserNoMakeChangesMask = 0x04,
kioACUserNotOwnerBit = 7,
kioACUserNotOwnerMask = 0x80
};
enum {
kioACAccessOwnerBit = 31,
kioACAccessOwnerMask = (long)0x80000000,
kioACAccessBlankAccessBit = 28,
kioACAccessBlankAccessMask = 0x10000000,
kioACAccessUserWriteBit = 26,
kioACAccessUserWriteMask = 0x04000000,
kioACAccessUserReadBit = 25,
kioACAccessUserReadMask = 0x02000000,
kioACAccessUserSearchBit = 24,
kioACAccessUserSearchMask = 0x01000000,
kioACAccessEveryoneWriteBit = 18,
kioACAccessEveryoneWriteMask = 0x00040000,
kioACAccessEveryoneReadBit = 17,
kioACAccessEveryoneReadMask = 0x00020000,
kioACAccessEveryoneSearchBit = 16,
kioACAccessEveryoneSearchMask = 0x00010000,
kioACAccessGroupWriteBit = 10,
kioACAccessGroupWriteMask = 0x00000400,
kioACAccessGroupReadBit = 9,
kioACAccessGroupReadMask = 0x00000200,
kioACAccessGroupSearchBit = 8,
kioACAccessGroupSearchMask = 0x00000100,
kioACAccessOwnerWriteBit = 2,
kioACAccessOwnerWriteMask = 0x00000004,
kioACAccessOwnerReadBit = 1,
kioACAccessOwnerReadMask = 0x00000002,
kioACAccessOwnerSearchBit = 0,
kioACAccessOwnerSearchMask = 0x00000001,
kfullPrivileges = 0x00070007,
kownerPrivileges = 0x00000007
};
# 7212 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetVolumeParms(FSVolumeRefNum volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) ;
# 7239 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetVolumeMountInfoSize(FSVolumeRefNum volume, ByteCount *size) ;
# 7273 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetVolumeMountInfo(FSVolumeRefNum volume, BytePtr buffer, ByteCount bufferSize, ByteCount *actualSize) ;
# 7299 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSVolumeMount(BytePtr buffer, FSVolumeRefNum *mountedVolume) ;
# 7314 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFlushVolume(FSVolumeRefNum vRefNum) ;
# 7328 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFlushVolumeSync(FSRefParamPtr paramBlock) ;
# 7342 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFlushVolumeAsync(FSRefParamPtr paramBlock) ;
# 7369 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFSCopyFileSync(FSRefParamPtr paramBlock) ;
# 7383 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFSCopyFileAsync(FSRefParamPtr paramBlock) ;
# 7413 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSResolveNodeID(FSVolumeRefNum volume, UInt32 nodeID, FSRefPtr newRef) ;
# 7434 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFSResolveNodeIDSync(FSRefParamPtr paramBlock) ;
# 7448 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFSResolveNodeIDAsync(FSRefParamPtr paramBlock) ;
# 7477 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSpMakeFSRef(const FSSpec *source, FSRef *newRef) __attribute__((deprecated));
# 7492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBMakeFSRefSync(FSRefParam * paramBlock) __attribute__((deprecated));
# 7507 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBMakeFSRefAsync(FSRefParam * paramBlock) __attribute__((deprecated));
# 7519 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCloseSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCloseAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7543 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBReadSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7555 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBReadAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7567 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBWriteSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7579 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBWriteAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7591 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBWaitIOComplete(ParmBlkPtr paramBlock, Duration timeout) __attribute__((deprecated));
# 7607 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetVolParmsSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7622 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetVolParmsAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7638 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetVolMountInfoSize(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7653 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetVolMountInfo(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7665 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBVolumeMount(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7681 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FlushVol(ConstStr63Param volName, FSVolumeRefNum vRefNum) __attribute__((deprecated));
# 7696 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBFlushVolSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7711 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBFlushVolAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 7726 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHOpenDenySync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7741 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHOpenDenyAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7756 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHOpenRFDenySync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7771 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHOpenRFDenyAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7786 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetDirAccessSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7801 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetDirAccessAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7816 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHSetDirAccessSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7831 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHSetDirAccessAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7846 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHMapIDSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7861 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHMapIDAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7876 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHMapNameSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7891 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHMapNameAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7906 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHCopyFileSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7921 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHCopyFileAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7936 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCreateFileIDRefSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7951 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCreateFileIDRefAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7966 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBResolveFileIDRefSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7981 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBResolveFileIDRefAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 7996 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDeleteFileIDRefSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8011 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDeleteFileIDRefAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8026 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBXGetVolInfoSync(XVolumeParamPtr paramBlock) __attribute__((deprecated));
# 8041 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBXGetVolInfoAsync(XVolumeParamPtr paramBlock) __attribute__((deprecated));
# 8056 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBAllocateSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8071 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBAllocateAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8086 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetEOFSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetEOFAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8116 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetEOFSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8131 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetEOFAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetFPosSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetFPosAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetFPosSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8191 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetFPosAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBFlushFileSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8221 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBFlushFileAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8236 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBUnmountVol(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8251 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCatSearchSync(CSParamPtr paramBlock) __attribute__((deprecated));
# 8266 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCatSearchAsync(CSParamPtr paramBlock) __attribute__((deprecated));
# 8281 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
UnmountVol(
ConstStr63Param volName,
FSVolumeRefNum vRefNum) __attribute__((deprecated));
# 8299 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HSetVol(
ConstStr63Param volName,
FSVolumeRefNum vRefNum,
SInt32 dirID) __attribute__((deprecated));
# 8320 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSClose(FSIORefNum refNum) __attribute__((deprecated));
# 8336 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSRead(
FSIORefNum refNum,
SInt32 * count,
void * buffPtr) __attribute__((deprecated));
# 8355 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSWrite(
FSIORefNum refNum,
SInt32 * count,
const void * buffPtr) __attribute__((deprecated));
# 8374 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
Allocate(
FSIORefNum refNum,
SInt32 * count) __attribute__((deprecated));
# 8392 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
GetEOF(
FSIORefNum refNum,
SInt32 * logEOF) __attribute__((deprecated));
# 8410 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
SetEOF(
FSIORefNum refNum,
SInt32 logEOF) __attribute__((deprecated));
# 8428 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
GetFPos(
FSIORefNum refNum,
SInt32 * filePos) __attribute__((deprecated));
# 8446 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
SetFPos(
FSIORefNum refNum,
SInt16 posMode,
SInt32 posOff) __attribute__((deprecated));
# 8465 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
GetVRefNum(
FSIORefNum fileRefNum,
FSVolumeRefNum * vRefNum) __attribute__((deprecated));
# 8483 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
PBLockRangeSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8499 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
PBLockRangeAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8515 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
PBUnlockRangeSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
PBUnlockRangeAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8547 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHSetVolSync(WDPBPtr paramBlock) __attribute__((deprecated));
# 8562 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHSetVolAsync(WDPBPtr paramBlock) __attribute__((deprecated));
# 8577 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetVolSync(WDPBPtr paramBlock) __attribute__((deprecated));
# 8592 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetVolAsync(WDPBPtr paramBlock) __attribute__((deprecated));
# 8607 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCatMoveSync(CMovePBPtr paramBlock) __attribute__((deprecated));
# 8622 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCatMoveAsync(CMovePBPtr paramBlock) __attribute__((deprecated));
# 8637 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDirCreateSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8652 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDirCreateAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8667 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetFCBInfoSync(FCBPBPtr paramBlock) __attribute__((deprecated));
# 8682 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetFCBInfoAsync(FCBPBPtr paramBlock) __attribute__((deprecated));
# 8697 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetCatInfoSync(CInfoPBPtr paramBlock) __attribute__((deprecated));
# 8712 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetCatInfoAsync(CInfoPBPtr paramBlock) __attribute__((deprecated));
# 8727 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetCatInfoSync(CInfoPBPtr paramBlock) __attribute__((deprecated));
# 8742 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetCatInfoAsync(CInfoPBPtr paramBlock) __attribute__((deprecated));
# 8757 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBAllocContigSync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8772 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBAllocContigAsync(ParmBlkPtr paramBlock) __attribute__((deprecated));
# 8787 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetVInfoSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8802 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetVInfoAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8817 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetVInfoSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8832 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetVInfoAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8847 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHOpenSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8862 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHOpenAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8877 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHOpenRFSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8892 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHOpenRFAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8907 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHOpenDFSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8922 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHOpenDFAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8937 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHCreateSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8952 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHCreateAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8967 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHDeleteSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8982 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHDeleteAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 8997 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHRenameSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9012 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHRenameAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9027 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHRstFLockSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9042 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHRstFLockAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9057 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHSetFLockSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9072 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHSetFLockAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9087 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetFInfoSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetFInfoAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHSetFInfoSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHSetFInfoAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBMakeFSSpecSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9162 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBMakeFSSpecAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9177 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HGetVol(
StringPtr volName,
FSVolumeRefNum * vRefNum,
SInt32 * dirID) __attribute__((deprecated));
# 9196 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HOpen(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param fileName,
SInt8 permission,
FSIORefNum * refNum) __attribute__((deprecated));
# 9217 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HOpenDF(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param fileName,
SInt8 permission,
FSIORefNum * refNum) __attribute__((deprecated));
# 9238 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HOpenRF(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param fileName,
SInt8 permission,
FSIORefNum * refNum) __attribute__((deprecated));
# 9259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
AllocContig(
FSVolumeRefNum refNum,
SInt32 * count) __attribute__((deprecated));
# 9277 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HCreate(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param fileName,
OSType creator,
OSType fileType) __attribute__((deprecated));
# 9298 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
DirCreate(
FSVolumeRefNum vRefNum,
SInt32 parentDirID,
ConstStr255Param directoryName,
SInt32 * createdDirID) __attribute__((deprecated));
# 9318 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HDelete(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param fileName) __attribute__((deprecated));
# 9337 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HGetFInfo(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param fileName,
FInfo * fndrInfo) __attribute__((deprecated));
# 9357 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HSetFInfo(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param fileName,
const FInfo * fndrInfo) __attribute__((deprecated));
# 9377 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HSetFLock(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param fileName) __attribute__((deprecated));
# 9396 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HRstFLock(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param fileName) __attribute__((deprecated));
# 9415 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
HRename(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param oldName,
ConstStr255Param newName) __attribute__((deprecated));
# 9435 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
CatMove(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param oldName,
SInt32 newDirID,
ConstStr255Param newName) __attribute__((deprecated));
# 9456 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetLogInInfoSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9471 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHGetLogInInfoAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9489 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHMoveRenameSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9507 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBHMoveRenameAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9522 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetXCatInfoSync(XCInfoPBPtr paramBlock) __attribute__((deprecated));
# 9537 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetXCatInfoAsync(XCInfoPBPtr paramBlock) __attribute__((deprecated));
# 9552 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBExchangeFilesSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9567 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBExchangeFilesAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9582 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetForeignPrivsSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9597 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetForeignPrivsAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9612 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetForeignPrivsSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 9627 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetForeignPrivsAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
enum {
kLargeIcon = 1,
kLarge4BitIcon = 2,
kLarge8BitIcon = 3,
kSmallIcon = 4,
kSmall4BitIcon = 5,
kSmall8BitIcon = 6,
kicnsIconFamily = 239
};
# 9659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetPath(DTPBPtr paramBlock) __attribute__((deprecated));
# 9673 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTCloseDown(DTPBPtr paramBlock) __attribute__((deprecated));
# 9687 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTAddIconSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9701 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTAddIconAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9715 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetIconSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9729 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetIconAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9743 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetIconInfoSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9757 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetIconInfoAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9771 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTAddAPPLSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9785 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTAddAPPLAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9799 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTRemoveAPPLSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9813 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTRemoveAPPLAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9827 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetAPPLSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9841 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetAPPLAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9855 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTSetCommentSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9869 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTSetCommentAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9883 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTRemoveCommentSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9897 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTRemoveCommentAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9911 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetCommentSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9925 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetCommentAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9939 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTFlushSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9953 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTFlushAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9967 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTResetSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9981 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTResetAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 9995 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetInfoSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 10009 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTGetInfoAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 10023 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTOpenInform(DTPBPtr paramBlock) __attribute__((deprecated));
# 10037 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTDeleteSync(DTPBPtr paramBlock) __attribute__((deprecated));
# 10051 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDTDeleteAsync(DTPBPtr paramBlock) __attribute__((deprecated));
# 10067 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSMakeFSSpec(
FSVolumeRefNum vRefNum,
SInt32 dirID,
ConstStr255Param fileName,
FSSpec * spec) __attribute__((deprecated));
# 10087 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpOpenDF(
const FSSpec * spec,
SInt8 permission,
FSIORefNum * refNum) __attribute__((deprecated));
# 10106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpOpenRF(
const FSSpec * spec,
SInt8 permission,
FSIORefNum * refNum) __attribute__((deprecated));
# 10125 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpCreate(
const FSSpec * spec,
OSType creator,
OSType fileType,
ScriptCode scriptTag) __attribute__((deprecated));
# 10145 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpDirCreate(
const FSSpec * spec,
ScriptCode scriptTag,
SInt32 * createdDirID) __attribute__((deprecated));
# 10164 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpDelete(const FSSpec * spec) __attribute__((deprecated));
# 10180 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpGetFInfo(
const FSSpec * spec,
FInfo * fndrInfo) __attribute__((deprecated));
# 10198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpSetFInfo(
const FSSpec * spec,
const FInfo * fndrInfo) __attribute__((deprecated));
# 10216 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpSetFLock(const FSSpec * spec) __attribute__((deprecated));
# 10232 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpRstFLock(const FSSpec * spec) __attribute__((deprecated));
# 10248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpRename(
const FSSpec * spec,
ConstStr255Param newName) __attribute__((deprecated));
# 10266 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpCatMove(
const FSSpec * source,
const FSSpec * dest) __attribute__((deprecated));
# 10284 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr
FSpExchangeFiles(
const FSSpec * source,
const FSSpec * dest) __attribute__((deprecated));
# 10303 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBShareSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 10318 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBShareAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 10333 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBUnshareSync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 10348 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBUnshareAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 10363 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetUGEntrySync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 10378 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetUGEntryAsync(HParmBlkPtr paramBlock) __attribute__((deprecated));
# 10389 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
#define PBGetVInfo(pb,async) ((async) ? PBGetVInfoAsync(pb) : PBGetVInfoSync(pb))
#define PBXGetVolInfo(pb,async) ((async) ? PBXGetVolInfoAsync(pb) : PBXGetVolInfoSync(pb))
#define PBGetVol(pb,async) ((async) ? PBGetVolAsync(pb) : PBGetVolSync(pb))
#define PBSetVol(pb,async) ((async) ? PBSetVolAsync(pb) : PBSetVolSync(pb))
#define PBFlushVol(pb,async) ((async) ? PBFlushVolAsync(pb) : PBFlushVolSync(pb))
#define PBCreate(pb,async) ((async) ? PBCreateAsync(pb) : PBCreateSync(pb))
#define PBDelete(pb,async) ((async) ? PBDeleteAsync(pb) : PBDeleteSync(pb))
#define PBOpenDF(pb,async) ((async) ? PBOpenDFAsync(pb) : PBOpenDFSync(pb))
#define PBOpenRF(pb,async) ((async) ? PBOpenRFAsync(pb) : PBOpenRFSync(pb))
#define PBRename(pb,async) ((async) ? PBRenameAsync(pb) : PBRenameSync(pb))
#define PBGetFInfo(pb,async) ((async) ? PBGetFInfoAsync(pb) : PBGetFInfoSync(pb))
#define PBSetFInfo(pb,async) ((async) ? PBSetFInfoAsync(pb) : PBSetFInfoSync(pb))
#define PBSetFLock(pb,async) ((async) ? PBSetFLockAsync(pb) : PBSetFLockSync(pb))
#define PBRstFLock(pb,async) ((async) ? PBRstFLockAsync(pb) : PBRstFLockSync(pb))
#define PBSetFVers(pb,async) ((async) ? PBSetFVersAsync(pb) : PBSetFVersSync(pb))
#define PBAllocate(pb,async) ((async) ? PBAllocateAsync(pb) : PBAllocateSync(pb))
#define PBGetEOF(pb,async) ((async) ? PBGetEOFAsync(pb) : PBGetEOFSync(pb))
#define PBSetEOF(pb,async) ((async) ? PBSetEOFAsync(pb) : PBSetEOFSync(pb))
#define PBGetFPos(pb,async) ((async) ? PBGetFPosAsync(pb) : PBGetFPosSync(pb))
#define PBSetFPos(pb,async) ((async) ? PBSetFPosAsync(pb) : PBSetFPosSync(pb))
#define PBFlushFile(pb,async) ((async) ? PBFlushFileAsync(pb) : PBFlushFileSync(pb))
#define PBCatSearch(pb,async) ((async) ? PBCatSearchAsync(pb) : PBCatSearchSync(pb))
#define PBOpenWD(pb,async) ((async) ? PBOpenWDAsync(pb) : PBOpenWDSync(pb))
#define PBCloseWD(pb,async) ((async) ? PBCloseWDAsync(pb) : PBCloseWDSync(pb))
#define PBHSetVol(pb,async) ((async) ? PBHSetVolAsync(pb) : PBHSetVolSync(pb))
#define PBHGetVol(pb,async) ((async) ? PBHGetVolAsync(pb) : PBHGetVolSync(pb))
#define PBCatMove(pb,async) ((async) ? PBCatMoveAsync(pb) : PBCatMoveSync(pb))
#define PBDirCreate(pb,async) ((async) ? PBDirCreateAsync(pb) : PBDirCreateSync(pb))
#define PBGetWDInfo(pb,async) ((async) ? PBGetWDInfoAsync(pb) : PBGetWDInfoSync(pb))
#define PBGetFCBInfo(pb,async) ((async) ? PBGetFCBInfoAsync(pb) : PBGetFCBInfoSync(pb))
#define PBGetCatInfo(pb,async) ((async) ? PBGetCatInfoAsync(pb) : PBGetCatInfoSync(pb))
#define PBSetCatInfo(pb,async) ((async) ? PBSetCatInfoAsync(pb) : PBSetCatInfoSync(pb))
#define PBAllocContig(pb,async) ((async) ? PBAllocContigAsync(pb) : PBAllocContigSync(pb))
#define PBLockRange(pb,async) ((async) ? PBLockRangeAsync(pb) : PBLockRangeSync(pb))
#define PBUnlockRange(pb,async) ((async) ? PBUnlockRangeAsync(pb) : PBUnlockRangeSync(pb))
#define PBSetVInfo(pb,async) ((async) ? PBSetVInfoAsync(pb) : PBSetVInfoSync(pb))
#define PBHGetVInfo(pb,async) ((async) ? PBHGetVInfoAsync(pb) : PBHGetVInfoSync(pb))
#define PBHOpen(pb,async) ((async) ? PBHOpenAsync(pb) : PBHOpenSync(pb))
#define PBHOpenRF(pb,async) ((async) ? PBHOpenRFAsync(pb) : PBHOpenRFSync(pb))
#define PBHOpenDF(pb,async) ((async) ? PBHOpenDFAsync(pb) : PBHOpenDFSync(pb))
#define PBHCreate(pb,async) ((async) ? PBHCreateAsync(pb) : PBHCreateSync(pb))
#define PBHDelete(pb,async) ((async) ? PBHDeleteAsync(pb) : PBHDeleteSync(pb))
#define PBHRename(pb,async) ((async) ? PBHRenameAsync(pb) : PBHRenameSync(pb))
#define PBHRstFLock(pb,async) ((async) ? PBHRstFLockAsync(pb) : PBHRstFLockSync(pb))
#define PBHSetFLock(pb,async) ((async) ? PBHSetFLockAsync(pb) : PBHSetFLockSync(pb))
#define PBHGetFInfo(pb,async) ((async) ? PBHGetFInfoAsync(pb) : PBHGetFInfoSync(pb))
#define PBHSetFInfo(pb,async) ((async) ? PBHSetFInfoAsync(pb) : PBHSetFInfoSync(pb))
#define PBMakeFSSpec(pb,async) ((async) ? PBMakeFSSpecAsync(pb) : PBMakeFSSpecSync(pb))
#define PBHGetVolParms(pb,async) ((async) ? PBHGetVolParmsAsync(pb) : PBHGetVolParmsSync(pb))
#define PBHGetLogInInfo(pb,async) ((async) ? PBHGetLogInInfoAsync(pb) : PBHGetLogInInfoSync(pb))
#define PBHGetDirAccess(pb,async) ((async) ? PBHGetDirAccessAsync(pb) : PBHGetDirAccessSync(pb))
#define PBHSetDirAccess(pb,async) ((async) ? PBHSetDirAccessAsync(pb) : PBHSetDirAccessSync(pb))
#define PBHMapID(pb,async) ((async) ? PBHMapIDAsync(pb) : PBHMapIDSync(pb))
#define PBHMapName(pb,async) ((async) ? PBHMapNameAsync(pb) : PBHMapNameSync(pb))
#define PBHCopyFile(pb,async) ((async) ? PBHCopyFileAsync(pb) : PBHCopyFileSync(pb))
#define PBHMoveRename(pb,async) ((async) ? PBHMoveRenameAsync(pb) : PBHMoveRenameSync(pb))
#define PBHOpenDeny(pb,async) ((async) ? PBHOpenDenyAsync(pb) : PBHOpenDenySync(pb))
#define PBHOpenRFDeny(pb,async) ((async) ? PBHOpenRFDenyAsync(pb) : PBHOpenRFDenySync(pb))
#define PBExchangeFiles(pb,async) ((async) ? PBExchangeFilesAsync(pb) : PBExchangeFilesSync(pb))
#define PBCreateFileIDRef(pb,async) ((async) ? PBCreateFileIDRefAsync(pb) : PBCreateFileIDRefSync(pb))
#define PBResolveFileIDRef(pb,async) ((async) ? PBResolveFileIDRefAsync(pb) : PBResolveFileIDRefSync(pb))
#define PBDeleteFileIDRef(pb,async) ((async) ? PBDeleteFileIDRefAsync(pb) : PBDeleteFileIDRefSync(pb))
#define PBGetForeignPrivs(pb,async) ((async) ? PBGetForeignPrivsAsync(pb) : PBGetForeignPrivsSync(pb))
#define PBSetForeignPrivs(pb,async) ((async) ? PBSetForeignPrivsAsync(pb) : PBSetForeignPrivsSync(pb))
#define PBDTAddIcon(pb,async) ((async) ? PBDTAddIconAsync(pb) : PBDTAddIconSync(pb))
#define PBDTGetIcon(pb,async) ((async) ? PBDTGetIconAsync(pb) : PBDTGetIconSync(pb))
#define PBDTGetIconInfo(pb,async) ((async) ? PBDTGetIconInfoAsync(pb) : PBDTGetIconInfoSync(pb))
#define PBDTAddAPPL(pb,async) ((async) ? PBDTAddAPPLAsync(pb) : PBDTAddAPPLSync(pb))
#define PBDTRemoveAPPL(pb,async) ((async) ? PBDTRemoveAPPLAsync(pb) : PBDTRemoveAPPLSync(pb))
#define PBDTGetAPPL(pb,async) ((async) ? PBDTGetAPPLAsync(pb) : PBDTGetAPPLSync(pb))
#define PBDTSetComment(pb,async) ((async) ? PBDTSetCommentAsync(pb) : PBDTSetCommentSync(pb))
#define PBDTRemoveComment(pb,async) ((async) ? PBDTRemoveCommentAsync(pb) : PBDTRemoveCommentSync(pb))
#define PBDTGetComment(pb,async) ((async) ? PBDTGetCommentAsync(pb) : PBDTGetCommentSync(pb))
#define PBDTFlush(pb,async) ((async) ? PBDTFlushAsync(pb) : PBDTFlushSync(pb))
#define PBDTReset(pb,async) ((async) ? PBDTResetAsync(pb) : PBDTResetSync(pb))
#define PBDTGetInfo(pb,async) ((async) ? PBDTGetInfoAsync(pb) : PBDTGetInfoSync(pb))
#define PBDTDelete(pb,async) ((async) ? PBDTDeleteAsync(pb) : PBDTDeleteSync(pb))
#pragma pack(pop)
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
#define __RESOURCES__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
typedef SInt16 ResID;
typedef SInt16 ResAttributes;
typedef SInt16 ResFileAttributes;
typedef SInt16 ResourceCount;
typedef SInt16 ResourceIndex;
typedef FSIORefNum ResFileRefNum;
enum {
resSysRefBit = 7,
resSysHeapBit = 6,
resPurgeableBit = 5,
resLockedBit = 4,
resProtectedBit = 3,
resPreloadBit = 2,
resChangedBit = 1
};
enum {
resSysHeap = 64,
resPurgeable = 32,
resLocked = 16,
resProtected = 8,
resPreload = 4,
resChanged = 2
};
enum {
mapReadOnlyBit = 7,
mapCompactBit = 6,
mapChangedBit = 5
};
enum {
mapReadOnly = 128,
mapCompact = 64,
mapChanged = 32
};
enum {
kResFileNotOpened = -1,
kSystemResFile = 0
};
typedef void ( * ResErrProcPtr)(OSErr thErr);
typedef ResErrProcPtr ResErrUPP;
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResErrUPP
NewResErrUPP(ResErrProcPtr userRoutine) ;
# 112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
DisposeResErrUPP(ResErrUPP userUPP) ;
# 123 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
InvokeResErrUPP(
OSErr thErr,
ResErrUPP userUPP) ;
#define NewResErrUPP(userRoutine) ((ResErrUPP)userRoutine)
#define DisposeResErrUPP(userUPP)
#define InvokeResErrUPP(thErr,userUPP) (*userUPP)(thErr)
typedef OSErr ( * ResourceEndianFilterPtr)(Handle theResource, Boolean currentlyNativeEndian);
# 153 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
CloseResFile(ResFileRefNum refNum) ;
# 168 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
ResError(void) ;
# 183 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileRefNum
CurResFile(void) ;
# 198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileRefNum
HomeResFile(Handle theResource) ;
# 213 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
UseResFile(ResFileRefNum refNum) ;
# 228 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResourceCount
CountTypes(void) ;
# 243 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResourceCount
Count1Types(void) ;
# 258 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
GetIndType(
ResType * theType,
ResourceIndex itemIndex) ;
# 275 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
Get1IndType(
ResType * theType,
ResourceIndex itemIndex) ;
# 292 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResLoad(Boolean load) ;
# 307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResourceCount
CountResources(ResType theType) ;
# 322 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResourceCount
Count1Resources(ResType theType) ;
# 337 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
GetIndResource(
ResType theType,
ResourceIndex itemIndex) ;
# 354 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
Get1IndResource(
ResType theType,
ResourceIndex itemIndex) ;
# 371 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
GetResource(
ResType theType,
ResID theID) ;
# 388 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
Get1Resource(
ResType theType,
ResID theID) ;
# 405 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
GetNamedResource(
ResType theType,
ConstStr255Param name) ;
# 422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
Get1NamedResource(
ResType theType,
ConstStr255Param name) ;
# 440 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
#define MacLoadResource LoadResource
extern void
LoadResource(Handle theResource) ;
# 457 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
ReleaseResource(Handle theResource) ;
# 472 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
DetachResource(Handle theResource) ;
# 487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResID
UniqueID(ResType theType) ;
# 502 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResID
Unique1ID(ResType theType) ;
# 517 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResAttributes
GetResAttrs(Handle theResource) ;
# 532 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
GetResInfo(
Handle theResource,
ResID * theID,
ResType * theType,
Str255 name) ;
# 551 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResInfo(
Handle theResource,
ResID theID,
ConstStr255Param name) ;
# 569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
AddResource(
Handle theData,
ResType theType,
ResID theID,
ConstStr255Param name) ;
# 588 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern long
GetResourceSizeOnDisk(Handle theResource) ;
# 603 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern long
GetMaxResourceSize(Handle theResource) ;
# 618 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResAttrs(
Handle theResource,
ResAttributes attrs) ;
# 635 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
ChangedResource(Handle theResource) ;
# 650 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
RemoveResource(Handle theResource) ;
# 665 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
UpdateResFile(ResFileRefNum refNum) ;
# 680 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
WriteResource(Handle theResource) ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResPurge(Boolean install) ;
# 710 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileAttributes
GetResFileAttrs(ResFileRefNum refNum) ;
# 725 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResFileAttrs(
ResFileRefNum refNum,
ResFileAttributes attrs) ;
# 742 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
ReadPartialResource(
Handle theResource,
long offset,
void * buffer,
long count) ;
# 761 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
WritePartialResource(
Handle theResource,
long offset,
const void * buffer,
long count) ;
# 780 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResourceSize(
Handle theResource,
long newSize) ;
# 797 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
GetNextFOND(Handle fondHandle) ;
# 820 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
typedef SInt16 RsrcChainLocation;
enum {
kRsrcChainBelowSystemMap = 0,
kRsrcChainBelowApplicationMap = 1,
kRsrcChainAboveApplicationMap = 2,
kRsrcChainAboveAllMaps = 4
};
# 844 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
InsertResourceFile(
ResFileRefNum refNum,
RsrcChainLocation where) ;
# 865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
DetachResourceFile(ResFileRefNum refNum) ;
# 884 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
GetTopResourceFile(ResFileRefNum * refNum) ;
# 905 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
GetNextResourceFile(
ResFileRefNum curRefNum,
ResFileRefNum * nextRefNum) ;
# 922 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileRefNum
FSOpenResFile(
const FSRef * ref,
SInt8 permission) ;
# 939 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
FSCreateResFile(
const FSRef * parentRef,
UniCharCount nameLength,
const UniChar * name,
FSCatalogInfoBitmap whichInfo,
const FSCatalogInfo * catalogInfo,
FSRef * newRef,
FSSpecPtr newSpec) ;
# 968 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Boolean
FSResourceFileAlreadyOpen(
const FSRef * resourceFileRef,
Boolean * inChain,
ResFileRefNum * refNum) ;
# 996 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
FSOpenOrphanResFile(
const FSRef * ref,
SignedByte permission,
ResFileRefNum * refNum) ;
# 1054 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
FSCreateResourceFile(
const FSRef * parentRef,
UniCharCount nameLength,
const UniChar * name,
FSCatalogInfoBitmap whichInfo,
const FSCatalogInfo * catalogInfo,
UniCharCount forkNameLength,
const UniChar * forkName,
FSRef * newRef,
FSSpecPtr newSpec) ;
# 1103 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
FSCreateResourceFork(
const FSRef * ref,
UniCharCount forkNameLength,
const UniChar * forkName,
UInt32 flags) ;
# 1147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
FSOpenResourceFile(
const FSRef * ref,
UniCharCount forkNameLength,
const UniChar * forkName,
SInt8 permissions,
ResFileRefNum * refNum) ;
# 1172 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileRefNum
OpenRFPerm(
ConstStr255Param fileName,
FSVolumeRefNum vRefNum,
SInt8 permission) __attribute__((deprecated));
# 1191 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileRefNum
HOpenResFile(
FSVolumeRefNum vRefNum,
long dirID,
ConstStr255Param fileName,
SInt8 permission) __attribute__((deprecated));
# 1211 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
HCreateResFile(
FSVolumeRefNum vRefNum,
long dirID,
ConstStr255Param fileName) __attribute__((deprecated));
# 1230 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileRefNum
FSpOpenResFile(
const FSSpec * spec,
SignedByte permission) __attribute__((deprecated));
# 1248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
FSpCreateResFile(
const FSSpec * spec,
OSType creator,
OSType fileType,
ScriptCode scriptTag) __attribute__((deprecated));
# 1268 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Boolean
FSpResourceFileAlreadyOpen(
const FSSpec * resourceFile,
Boolean * inChain,
ResFileRefNum * refNum) __attribute__((deprecated));
# 1287 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
FSpOpenOrphanResFile(
const FSSpec * spec,
SignedByte permission,
ResFileRefNum * refNum) __attribute__((deprecated));
# 37 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 2 3
# 51 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
#pragma pack(push, 2)
enum {
kAppleManufacturer = 'appl',
kComponentResourceType = 'thng',
kComponentAliasResourceType = 'thga'
};
enum {
kAnyComponentType = 0,
kAnyComponentSubType = 0,
kAnyComponentManufacturer = 0,
kAnyComponentFlagsMask = 0
};
enum {
cmpThreadSafe = 1L << 28,
cmpIsMissing = 1L << 29,
cmpWantsRegisterMessage = 1L << 31
};
enum {
kComponentOpenSelect = -1,
kComponentCloseSelect = -2,
kComponentCanDoSelect = -3,
kComponentVersionSelect = -4,
kComponentRegisterSelect = -5,
kComponentTargetSelect = -6,
kComponentUnregisterSelect = -7,
kComponentGetMPWorkFunctionSelect = -8,
kComponentExecuteWiredActionSelect = -9,
kComponentGetPublicResourceSelect = -10
};
enum {
componentDoAutoVersion = (1 << 0),
componentWantsUnregister = (1 << 1),
componentAutoVersionIncludeFlags = (1 << 2),
componentHasMultiplePlatforms = (1 << 3),
componentLoadResident = (1 << 4)
};
enum {
defaultComponentIdentical = 0,
defaultComponentAnyFlags = 1,
defaultComponentAnyManufacturer = 2,
defaultComponentAnySubType = 4,
defaultComponentAnyFlagsAnyManufacturer = (defaultComponentAnyFlags + defaultComponentAnyManufacturer),
defaultComponentAnyFlagsAnyManufacturerAnySubType = (defaultComponentAnyFlags + defaultComponentAnyManufacturer + defaultComponentAnySubType)
};
enum {
registerComponentGlobal = 1,
registerComponentNoDuplicates = 2,
registerComponentAfterExisting = 4,
registerComponentAliasesOnly = 8
};
struct ComponentDescription {
OSType componentType;
OSType componentSubType;
OSType componentManufacturer;
UInt32 componentFlags;
UInt32 componentFlagsMask;
};
typedef struct ComponentDescription ComponentDescription;
struct ResourceSpec {
OSType resType;
SInt16 resID;
};
typedef struct ResourceSpec ResourceSpec;
struct ComponentResource {
ComponentDescription cd;
ResourceSpec component;
ResourceSpec componentName;
ResourceSpec componentInfo;
ResourceSpec componentIcon;
};
typedef struct ComponentResource ComponentResource;
typedef ComponentResource * ComponentResourcePtr;
typedef ComponentResourcePtr * ComponentResourceHandle;
struct ComponentPlatformInfo {
SInt32 componentFlags;
ResourceSpec component;
SInt16 platformType;
};
typedef struct ComponentPlatformInfo ComponentPlatformInfo;
struct ComponentResourceExtension {
SInt32 componentVersion;
SInt32 componentRegisterFlags;
SInt16 componentIconFamily;
};
typedef struct ComponentResourceExtension ComponentResourceExtension;
struct ComponentPlatformInfoArray {
SInt32 count;
ComponentPlatformInfo platformArray[1];
};
typedef struct ComponentPlatformInfoArray ComponentPlatformInfoArray;
struct ExtComponentResource {
ComponentDescription cd;
ResourceSpec component;
ResourceSpec componentName;
ResourceSpec componentInfo;
ResourceSpec componentIcon;
SInt32 componentVersion;
SInt32 componentRegisterFlags;
SInt16 componentIconFamily;
SInt32 count;
ComponentPlatformInfo platformArray[1];
};
typedef struct ExtComponentResource ExtComponentResource;
typedef ExtComponentResource * ExtComponentResourcePtr;
typedef ExtComponentResourcePtr * ExtComponentResourceHandle;
struct ComponentAliasResource {
ComponentResource cr;
ComponentDescription aliasCD;
};
typedef struct ComponentAliasResource ComponentAliasResource;
struct ComponentParameters {
UInt8 flags;
UInt8 paramSize;
SInt16 what;
long params[1];
};
typedef struct ComponentParameters ComponentParameters;
struct ComponentRecord {
long data[1];
};
typedef struct ComponentRecord ComponentRecord;
typedef ComponentRecord * Component;
struct ComponentInstanceRecord {
long data[1];
};
typedef struct ComponentInstanceRecord ComponentInstanceRecord;
typedef ComponentInstanceRecord * ComponentInstance;
struct RegisteredComponentRecord {
long data[1];
};
typedef struct RegisteredComponentRecord RegisteredComponentRecord;
typedef RegisteredComponentRecord * RegisteredComponentRecordPtr;
struct RegisteredComponentInstanceRecord {
long data[1];
};
typedef struct RegisteredComponentInstanceRecord RegisteredComponentInstanceRecord;
typedef RegisteredComponentInstanceRecord * RegisteredComponentInstanceRecordPtr;
typedef SInt32 ComponentResult;
enum {
platform68k = 1,
platformPowerPC = 2,
platformInterpreted = 3,
platformWin32 = 4,
platformPowerPCNativeEntryPoint = 5,
platformIA32NativeEntryPoint = 6,
platformPowerPC64NativeEntryPoint = 7,
platformX86_64NativeEntryPoint = 8
};
enum {
platformIRIXmips = 1000,
platformSunOSsparc = 1100,
platformSunOSintel = 1101,
platformLinuxppc = 1200,
platformLinuxintel = 1201,
platformAIXppc = 1300,
platformNeXTIntel = 1400,
platformNeXTppc = 1401,
platformNeXTsparc = 1402,
platformNeXT68k = 1403,
platformMacOSx86 = 1500
};
enum {
mpWorkFlagDoWork = (1 << 0),
mpWorkFlagDoCompletion = (1 << 1),
mpWorkFlagCopyWorkBlock = (1 << 2),
mpWorkFlagDontBlock = (1 << 3),
mpWorkFlagGetProcessorCount = (1 << 4),
mpWorkFlagGetIsRunning = (1 << 6)
};
enum {
cmpAliasNoFlags = 0,
cmpAliasOnlyThisFile = 1
};
typedef UInt32 CSComponentsThreadMode;
enum {
kCSAcceptAllComponentsMode = 0,
kCSAcceptThreadSafeComponentsOnlyMode = 1
};
# 287 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
CSSetComponentsThreadMode(CSComponentsThreadMode mode) ;
# 310 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern CSComponentsThreadMode
CSGetComponentsThreadMode(void) ;
struct ComponentMPWorkFunctionHeaderRecord {
UInt32 headerSize;
UInt32 recordSize;
UInt32 workFlags;
UInt16 processorCount;
UInt8 unused;
UInt8 isRunning;
};
typedef struct ComponentMPWorkFunctionHeaderRecord ComponentMPWorkFunctionHeaderRecord;
typedef ComponentMPWorkFunctionHeaderRecord * ComponentMPWorkFunctionHeaderRecordPtr;
typedef ComponentResult ( * ComponentMPWorkFunctionProcPtr)(void *globalRefCon, ComponentMPWorkFunctionHeaderRecordPtr header);
typedef ComponentResult ( * ComponentRoutineProcPtr)(ComponentParameters *cp, Handle componentStorage);
typedef OSErr ( * GetMissingComponentResourceProcPtr)(Component c, OSType resType, SInt16 resID, void *refCon, Handle *resource);
typedef ComponentMPWorkFunctionProcPtr ComponentMPWorkFunctionUPP;
typedef ComponentRoutineProcPtr ComponentRoutineUPP;
typedef GetMissingComponentResourceProcPtr GetMissingComponentResourceUPP;
typedef UniversalProcPtr ComponentFunctionUPP;
# 352 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentFunctionUPP
NewComponentFunctionUPP(
ProcPtr userRoutine,
ProcInfoType procInfo) ;
# 374 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
DisposeComponentFunctionUPP(ComponentFunctionUPP userUPP) ;
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
#define ComponentCallNow(callNumber,paramSize) FIVEWORDINLINE( 0x2F3C,paramSize,callNumber,0x7000,0xA82A )
# 418 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Component
RegisterComponent(
ComponentDescription * cd,
ComponentRoutineUPP componentEntryPoint,
SInt16 global,
Handle componentName,
Handle componentInfo,
Handle componentIcon) ;
# 440 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Component
RegisterComponentResource(
ComponentResourceHandle cr,
SInt16 global) ;
# 458 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
UnregisterComponent(Component aComponent) ;
# 474 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Component
FindNextComponent(
Component aComponent,
ComponentDescription * looking) ;
# 492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern long
CountComponents(ComponentDescription * looking) ;
# 508 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentInfo(
Component aComponent,
ComponentDescription * cd,
Handle componentName,
Handle componentInfo,
Handle componentIcon) ;
# 529 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern SInt32
GetComponentListModSeed(void) ;
# 545 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern SInt32
GetComponentTypeModSeed(OSType componentType) ;
# 564 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
OpenAComponent(
Component aComponent,
ComponentInstance * ci) ;
# 582 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentInstance
OpenComponent(Component aComponent) ;
# 598 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
CloseComponent(ComponentInstance aComponentInstance) ;
# 614 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentInstanceError(ComponentInstance aComponentInstance) ;
# 633 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Component
ResolveComponentAlias(Component aComponent) ;
# 652 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentPublicResource(
Component aComponent,
OSType resourceType,
SInt16 resourceID,
Handle * theResource) ;
# 671 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentPublicResourceList(
OSType resourceType,
SInt16 resourceID,
SInt32 flags,
ComponentDescription * cd,
GetMissingComponentResourceUPP missingProc,
void * refCon,
void * atomContainerPtr) ;
# 693 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentPublicIndString(
Component aComponent,
Str255 theString,
SInt16 strListID,
SInt16 index) ;
# 721 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
SetComponentInstanceError(
ComponentInstance aComponentInstance,
OSErr theError) ;
# 739 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern long
GetComponentRefcon(Component aComponent) ;
# 755 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
SetComponentRefcon(
Component aComponent,
long theRefcon) ;
# 773 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ResFileRefNum
OpenComponentResFile(Component aComponent) ;
# 789 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
OpenAComponentResFile(
Component aComponent,
ResFileRefNum * resRef) ;
# 807 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
CloseComponentResFile(ResFileRefNum refnum) ;
# 824 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentResource(
Component aComponent,
OSType resType,
SInt16 resID,
Handle * theResource) ;
# 844 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentIndString(
Component aComponent,
Str255 theString,
SInt16 strListID,
SInt16 index) ;
# 867 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Handle
GetComponentInstanceStorage(ComponentInstance aComponentInstance) ;
# 883 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
SetComponentInstanceStorage(
ComponentInstance aComponentInstance,
Handle theStorage) ;
# 901 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern long
CountComponentInstances(Component aComponent) ;
# 917 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentFunction(
ComponentParameters * params,
ComponentFunctionUPP func) ;
# 935 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentFunctionWithStorage(
Handle storage,
ComponentParameters * params,
ComponentFunctionUPP func) ;
# 953 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentFunctionWithStorageProcInfo(
Handle storage,
ComponentParameters * params,
ProcPtr func,
ProcInfoType funcProcInfo) ;
# 973 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
DelegateComponentCall(
ComponentParameters * originalParams,
ComponentInstance ci) ;
# 991 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
SetDefaultComponent(
Component aComponent,
SInt16 flags) ;
# 1009 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentInstance
OpenDefaultComponent(
OSType componentType,
OSType componentSubType) ;
# 1027 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
OpenADefaultComponent(
OSType componentType,
OSType componentSubType,
ComponentInstance * ci) ;
# 1046 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Component
CaptureComponent(
Component capturedComponent,
Component capturingComponent) ;
# 1064 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
UncaptureComponent(Component aComponent) ;
# 1080 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern SInt32
RegisterComponentResourceFile(
SInt16 resRefNum,
SInt16 global) ;
# 1100 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentIconSuite(
Component aComponent,
Handle * iconSuite) ;
# 1130 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
RegisterComponentFile(
const FSSpec * spec,
short global) __attribute__((deprecated));
# 1147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
RegisterComponentFileEntries(
const FSSpec * spec,
short global,
const ComponentDescription * toRegister,
UInt32 registerCount) __attribute__((deprecated));
# 1168 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
RegisterComponentFileRef(
const FSRef * ref,
SInt16 global) ;
# 1185 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
RegisterComponentFileRefEntries(
const FSRef * ref,
SInt16 global,
const ComponentDescription * toRegister,
UInt32 registerCount) ;
# 1213 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
ComponentFunctionImplemented(
ComponentInstance ci,
SInt16 ftnNumber) __attribute__((deprecated));
# 1231 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
GetComponentVersion(ComponentInstance ci) __attribute__((deprecated));
# 1247 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
ComponentSetTarget(
ComponentInstance ci,
ComponentInstance target) __attribute__((deprecated));
# 1269 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentOpen(
ComponentInstance ci,
ComponentInstance self) ;
# 1287 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentClose(
ComponentInstance ci,
ComponentInstance self) ;
# 1305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentCanDo(
ComponentInstance ci,
SInt16 ftnNumber) ;
# 1323 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentVersion(ComponentInstance ci) ;
# 1339 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentRegister(ComponentInstance ci) ;
# 1355 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentTarget(
ComponentInstance ci,
ComponentInstance target) ;
# 1373 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentUnregister(ComponentInstance ci) ;
# 1389 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentGetMPWorkFunction(
ComponentInstance ci,
ComponentMPWorkFunctionUPP * workFunction,
void ** refCon) ;
# 1407 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentGetPublicResource(
ComponentInstance ci,
OSType resourceType,
SInt16 resourceID,
Handle * resource) ;
# 1431 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentDispatch(ComponentParameters * cp) ;
# 1445 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentMPWorkFunctionUPP
NewComponentMPWorkFunctionUPP(ComponentMPWorkFunctionProcPtr userRoutine) ;
# 1456 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentRoutineUPP
NewComponentRoutineUPP(ComponentRoutineProcPtr userRoutine) ;
# 1467 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern GetMissingComponentResourceUPP
NewGetMissingComponentResourceUPP(GetMissingComponentResourceProcPtr userRoutine) ;
# 1478 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
DisposeComponentMPWorkFunctionUPP(ComponentMPWorkFunctionUPP userUPP) ;
# 1489 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
DisposeComponentRoutineUPP(ComponentRoutineUPP userUPP) ;
# 1500 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
DisposeGetMissingComponentResourceUPP(GetMissingComponentResourceUPP userUPP) ;
# 1511 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
InvokeComponentMPWorkFunctionUPP(
void * globalRefCon,
ComponentMPWorkFunctionHeaderRecordPtr header,
ComponentMPWorkFunctionUPP userUPP) ;
# 1525 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
InvokeComponentRoutineUPP(
ComponentParameters * cp,
Handle componentStorage,
ComponentRoutineUPP userUPP) ;
# 1539 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
InvokeGetMissingComponentResourceUPP(
Component c,
OSType resType,
SInt16 resID,
void * refCon,
Handle * resource,
GetMissingComponentResourceUPP userUPP) ;
# 1560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
#define NewComponentMPWorkFunctionUPP(userRoutine) ((ComponentMPWorkFunctionUPP)userRoutine)
#define NewComponentRoutineUPP(userRoutine) ((ComponentRoutineUPP)userRoutine)
#define NewGetMissingComponentResourceUPP(userRoutine) ((GetMissingComponentResourceUPP)userRoutine)
#define DisposeComponentMPWorkFunctionUPP(userUPP)
#define DisposeComponentRoutineUPP(userUPP)
#define DisposeGetMissingComponentResourceUPP(userUPP)
#define InvokeComponentMPWorkFunctionUPP(globalRefCon,header,userUPP) (*userUPP)(globalRefCon, header)
#define InvokeComponentRoutineUPP(cp,componentStorage,userUPP) (*userUPP)(cp, componentStorage)
#define InvokeGetMissingComponentResourceUPP(c,resType,resID,refCon,resource,userUPP) (*userUPP)(c, resType, resID, refCon, resource)
enum {
uppComponentFunctionImplementedProcInfo = 0x000002F0,
uppGetComponentVersionProcInfo = 0x000000F0,
uppComponentSetTargetProcInfo = 0x000003F0,
uppCallComponentOpenProcInfo = 0x000003F0,
uppCallComponentCloseProcInfo = 0x000003F0,
uppCallComponentCanDoProcInfo = 0x000002F0,
uppCallComponentVersionProcInfo = 0x000000F0,
uppCallComponentRegisterProcInfo = 0x000000F0,
uppCallComponentTargetProcInfo = 0x000003F0,
uppCallComponentUnregisterProcInfo = 0x000000F0,
uppCallComponentGetMPWorkFunctionProcInfo = 0x00000FF0,
uppCallComponentGetPublicResourceProcInfo = 0x00003BF0
};
#pragma pack(pop)
# 86 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 1 3
# 25 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
#define __CODEFRAGMENTS__
# 41 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 1 3
# 27 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
#define __MULTIPROCESSING__
# 45 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
#pragma options align=power
# 187 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
#define MPCopyrightNotice "Copyright © 1995-2000 Apple Computer, Inc.\n"
#define MPLibraryName "MPLibrary"
#define MPLibraryCName MPLibraryName
#define MPLibraryPName "\p" MPLibraryName
#define MP_API_Version "2.3"
enum {
MPLibrary_MajorVersion = 2,
MPLibrary_MinorVersion = 3,
MPLibrary_Release = 1,
MPLibrary_DevelopmentRevision = 1
};
typedef struct OpaqueMPProcessID* MPProcessID;
typedef struct OpaqueMPTaskID* MPTaskID;
typedef struct OpaqueMPQueueID* MPQueueID;
typedef struct OpaqueMPSemaphoreID* MPSemaphoreID;
typedef struct OpaqueMPCriticalRegionID* MPCriticalRegionID;
typedef struct OpaqueMPTimerID* MPTimerID;
typedef struct OpaqueMPEventID* MPEventID;
typedef struct OpaqueMPAddressSpaceID* MPAddressSpaceID;
typedef struct OpaqueMPNotificationID* MPNotificationID;
typedef struct OpaqueMPCoherenceID* MPCoherenceID;
typedef struct OpaqueMPCpuID* MPCpuID;
typedef struct OpaqueMPAreaID* MPAreaID;
typedef struct OpaqueMPConsoleID* MPConsoleID;
typedef struct OpaqueMPOpaqueID* MPOpaqueID;
enum {
kOpaqueAnyID = 0,
kOpaqueProcessID = 1,
kOpaqueTaskID = 2,
kOpaqueTimerID = 3,
kOpaqueQueueID = 4,
kOpaqueSemaphoreID = 5,
kOpaqueCriticalRegionID = 6,
kOpaqueCpuID = 7,
kOpaqueAddressSpaceID = 8,
kOpaqueEventID = 9,
kOpaqueCoherenceID = 10,
kOpaqueAreaID = 11,
kOpaqueNotificationID = 12,
kOpaqueConsoleID = 13
};
typedef UInt32 MPOpaqueIDClass;
enum {
kMPNoID = 0
};
typedef OptionBits MPTaskOptions;
typedef ItemCount TaskStorageIndex;
typedef LogicalAddress TaskStorageValue;
typedef ItemCount MPSemaphoreCount;
typedef UInt32 MPTaskWeight;
typedef UInt32 MPEventFlags;
typedef UInt32 MPExceptionKind;
typedef UInt32 MPTaskStateKind;
typedef UInt32 MPPageSizeClass;
enum {
kDurationImmediate = 0L,
kDurationForever = 0x7FFFFFFF,
kDurationMillisecond = 1,
kDurationMicrosecond = -1
};
# 280 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern ItemCount
MPProcessors(void) ;
# 297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern ItemCount
MPProcessorsScheduled(void) ;
# 312 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
enum {
kMPCreateTaskSuspendedMask = 1L << 0,
kMPCreateTaskTakesAllExceptionsMask = 1L << 1,
kMPCreateTaskNotDebuggableMask = 1L << 2,
kMPCreateTaskValidOptionsMask = kMPCreateTaskSuspendedMask | kMPCreateTaskTakesAllExceptionsMask | kMPCreateTaskNotDebuggableMask
};
typedef OSStatus ( * TaskProc)(void * parameter);
# 339 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateTask(
TaskProc entryPoint,
void * parameter,
ByteCount stackSize,
MPQueueID notifyQueue,
void * terminationParameter1,
void * terminationParameter2,
MPTaskOptions options,
MPTaskID * task) ;
# 364 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPTerminateTask(
MPTaskID task,
OSStatus terminationStatus) ;
# 383 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetTaskWeight(
MPTaskID task,
MPTaskWeight weight) ;
# 402 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern Boolean
MPTaskIsPreemptive(MPTaskID taskID) ;
# 419 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPExit(OSStatus status) ;
# 436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPYield(void) ;
# 453 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern MPTaskID
MPCurrentTaskID(void) ;
# 470 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetTaskType(
MPTaskID task,
OSType taskType) ;
# 498 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPAllocateTaskStorageIndex(TaskStorageIndex * taskIndex) ;
# 515 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeallocateTaskStorageIndex(TaskStorageIndex taskIndex) ;
# 532 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetTaskStorageValue(
TaskStorageIndex taskIndex,
TaskStorageValue value) ;
# 551 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern TaskStorageValue
MPGetTaskStorageValue(TaskStorageIndex taskIndex) ;
# 576 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateQueue(MPQueueID * queue) ;
# 593 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteQueue(MPQueueID queue) ;
# 610 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPNotifyQueue(
MPQueueID queue,
void * param1,
void * param2,
void * param3) ;
# 631 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPWaitOnQueue(
MPQueueID queue,
void ** param1,
void ** param2,
void ** param3,
Duration timeout) ;
# 653 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetQueueReserve(
MPQueueID queue,
ItemCount count) ;
# 675 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateSemaphore(
MPSemaphoreCount maximumValue,
MPSemaphoreCount initialValue,
MPSemaphoreID * semaphore) ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteSemaphore(MPSemaphoreID semaphore) ;
# 712 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSignalSemaphore(MPSemaphoreID semaphore) ;
# 729 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPWaitOnSemaphore(
MPSemaphoreID semaphore,
Duration timeout) ;
#define MPCreateBinarySemaphore(semaphore) MPCreateSemaphore ( 1, 1, (semaphore) )
# 754 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateCriticalRegion(MPCriticalRegionID * criticalRegion) ;
# 771 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteCriticalRegion(MPCriticalRegionID criticalRegion) ;
# 788 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPEnterCriticalRegion(
MPCriticalRegionID criticalRegion,
Duration timeout) ;
# 807 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPExitCriticalRegion(MPCriticalRegionID criticalRegion) ;
# 826 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateEvent(MPEventID * event) ;
# 842 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteEvent(MPEventID event) ;
# 859 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetEvent(
MPEventID event,
MPEventFlags flags) ;
# 877 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPWaitForEvent(
MPEventID event,
MPEventFlags * flags,
Duration timeout) ;
# 904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateNotification(MPNotificationID * notificationID) ;
# 921 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteNotification(MPNotificationID notificationID) ;
# 938 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPModifyNotification(
MPNotificationID notificationID,
MPOpaqueID anID,
void * notifyParam1,
void * notifyParam2,
void * notifyParam3) ;
# 960 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPModifyNotificationParameters(
MPNotificationID notificationID,
MPOpaqueIDClass kind,
void * notifyParam1,
void * notifyParam2,
void * notifyParam3) ;
# 982 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCauseNotification(MPNotificationID notificationID) ;
# 1002 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
enum {
kMPPreserveTimerIDMask = 1L << 0,
kMPTimeIsDeltaMask = 1L << 1,
kMPTimeIsDurationMask = 1L << 2
};
# 1022 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDelayUntil(AbsoluteTime * expirationTime) ;
# 1051 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateTimer(MPTimerID * timerID) ;
# 1068 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteTimer(MPTimerID timerID) ;
# 1085 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetTimerNotify(
MPTimerID timerID,
MPOpaqueID anID,
void * notifyParam1,
void * notifyParam2,
void * notifyParam3) ;
# 1107 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPArmTimer(
MPTimerID timerID,
AbsoluteTime * expirationTime,
OptionBits options) ;
# 1127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCancelTimer(
MPTimerID timerID,
AbsoluteTime * timeRemaining) ;
# 1142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
enum {
kMPMaxAllocSize = 1024L * 1024 * 1024
};
enum {
kMPAllocateDefaultAligned = 0,
kMPAllocate8ByteAligned = 3,
kMPAllocate16ByteAligned = 4,
kMPAllocate32ByteAligned = 5,
kMPAllocate1024ByteAligned = 10,
kMPAllocate4096ByteAligned = 12,
kMPAllocateMaxAlignment = 16,
kMPAllocateAltiVecAligned = kMPAllocate16ByteAligned,
kMPAllocateVMXAligned = kMPAllocateAltiVecAligned,
kMPAllocateVMPageAligned = 254,
kMPAllocateInterlockAligned = 255
};
enum {
kMPAllocateClearMask = 0x0001,
kMPAllocateGloballyMask = 0x0002,
kMPAllocateResidentMask = 0x0004,
kMPAllocateNoGrowthMask = 0x0010,
kMPAllocateNoCreateMask = 0x0020
};
# 1189 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern LogicalAddress
MPAllocateAligned(
ByteCount size,
UInt8 alignment,
OptionBits options) ;
# 1209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern LogicalAddress
MPAllocate(ByteCount size) ;
# 1226 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPFree(LogicalAddress object) ;
# 1243 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern ByteCount
MPGetAllocatedBlockSize(LogicalAddress object) ;
# 1263 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPBlockCopy(
LogicalAddress source,
LogicalAddress destination,
ByteCount size) ;
# 1283 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPBlockClear(
LogicalAddress address,
ByteCount size) ;
# 1303 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPDataToCode(
LogicalAddress address,
ByteCount size) ;
# 1359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
enum {
kMPTaskStateRegisters = 0,
kMPTaskStateFPU = 1,
kMPTaskStateVectors = 2,
kMPTaskStateMachine = 3,
kMPTaskState32BitMemoryException = 4,
kMPTaskStateTaskInfo = 5
};
enum {
kMPTaskPropagate = 0,
kMPTaskResumeStep = 1,
kMPTaskResumeBranch = 2,
kMPTaskResumeMask = 0x0000,
kMPTaskPropagateMask = 1 << kMPTaskPropagate,
kMPTaskResumeStepMask = 1 << kMPTaskResumeStep,
kMPTaskResumeBranchMask = 1 << kMPTaskResumeBranch
};
enum {
kMPTaskBlocked = 0,
kMPTaskReady = 1,
kMPTaskRunning = 2
};
enum {
kMPTaskInfoVersion = 3
};
struct MPTaskInfoVersion2 {
PBVersion version;
OSType name;
OSType queueName;
UInt16 runState;
UInt16 lastCPU;
UInt32 weight;
MPProcessID processID;
AbsoluteTime cpuTime;
AbsoluteTime schedTime;
AbsoluteTime creationTime;
ItemCount codePageFaults;
ItemCount dataPageFaults;
ItemCount preemptions;
MPCpuID cpuID;
};
typedef struct MPTaskInfoVersion2 MPTaskInfoVersion2;
struct MPTaskInfo {
PBVersion version;
OSType name;
OSType queueName;
UInt16 runState;
UInt16 lastCPU;
UInt32 weight;
MPProcessID processID;
AbsoluteTime cpuTime;
AbsoluteTime schedTime;
AbsoluteTime creationTime;
ItemCount codePageFaults;
ItemCount dataPageFaults;
ItemCount preemptions;
MPCpuID cpuID;
MPOpaqueID blockedObject;
MPAddressSpaceID spaceID;
LogicalAddress stackBase;
LogicalAddress stackLimit;
LogicalAddress stackCurr;
};
typedef struct MPTaskInfo MPTaskInfo;
# 1472 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetExceptionHandler(
MPTaskID task,
MPQueueID exceptionQ) ;
# 1491 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDisposeTaskException(
MPTaskID task,
OptionBits action) ;
# 1510 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPExtractTaskState(
MPTaskID task,
MPTaskStateKind kind,
void * info) ;
# 1530 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetTaskState(
MPTaskID task,
MPTaskStateKind kind,
void * info) ;
# 1550 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPThrowException(
MPTaskID task,
MPExceptionKind kind) ;
typedef UInt32 MPDebuggerLevel;
enum {
kMPLowLevelDebugger = 0x00000000,
kMPMidLevelDebugger = 0x10000000,
kMPHighLevelDebugger = 0x20000000
};
# 1580 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPRegisterDebugger(
MPQueueID queue,
MPDebuggerLevel level) ;
# 1599 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPUnregisterDebugger(MPQueueID queue) ;
# 1613 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
typedef void * ( * MPRemoteProcedure)(void * parameter);
typedef UInt8 MPRemoteContext;
enum {
kMPAnyRemoteContext = 0,
kMPOwningProcessRemoteContext = 1,
kMPInterruptRemoteContext = 2,
kMPAsyncInterruptRemoteContext = 3
};
# 1683 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void *
MPRemoteCall(
MPRemoteProcedure remoteProc,
void * parameter,
MPRemoteContext context) ;
# 1743 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void *
MPRemoteCallCFM(
MPRemoteProcedure remoteProc,
void * parameter,
MPRemoteContext context) ;
# 1825 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern Boolean
_MPIsFullyInitialized(void) ;
typedef Boolean ( * MPIsFullyInitializedProc)(void);
#define kMPUnresolvedCFragSymbolAddress 0
#define MPLibraryIsLoaded() ( ( (UInt32)_MPIsFullyInitialized != (UInt32)kMPUnresolvedCFragSymbolAddress ) && ( _MPIsFullyInitialized () ) )
# 1850 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
_MPLibraryVersion(
const char ** versionCString,
UInt32 * major,
UInt32 * minor,
UInt32 * release,
UInt32 * revision) ;
# 1920 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern Boolean
_MPLibraryIsCompatible(
const char * versionCString,
UInt32 major,
UInt32 minor,
UInt32 release,
UInt32 revision) ;
#define MPRPC _MPRPC
#define MPTaskIsToolboxSafe _MPTaskIsToolboxSafe
# 2007 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
#pragma options align=reset
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 2 3
# 57 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
#pragma pack(push, 2)
# 67 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
enum {
kCFragResourceType = 'cfrg',
kCFragResourceID = 0,
kCFragLibraryFileType = 'shlb',
kCFragAllFileTypes = (long)0xFFFFFFFF
};
typedef OSType CFragArchitecture;
enum {
kPowerPCCFragArch = 'pwpc',
kMotorola68KCFragArch = 'm68k',
kAnyCFragArch = 0x3F3F3F3F
};
# 92 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
enum {
kCompiledCFragArch = 'none'
};
typedef UInt32 CFragVersionNumber;
enum {
kNullCFragVersion = 0,
kWildcardCFragVersion = (long)0xFFFFFFFF
};
typedef UInt8 CFragUsage;
enum {
kImportLibraryCFrag = 0,
kApplicationCFrag = 1,
kDropInAdditionCFrag = 2,
kStubLibraryCFrag = 3,
kWeakStubLibraryCFrag = 4
};
enum {
kIsCompleteCFrag = 0,
kFirstCFragUpdate = 1
};
enum {
kCFragGoesToEOF = 0
};
typedef UInt8 CFragLocatorKind;
enum {
kMemoryCFragLocator = 0,
kDataForkCFragLocator = 1,
kResourceCFragLocator = 2,
kNamedFragmentCFragLocator = 4,
kCFBundleCFragLocator = 5,
kCFBundlePreCFragLocator = 6
};
# 153 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
union CFragUsage1Union {
UInt32 appStackSize;
};
typedef union CFragUsage1Union CFragUsage1Union;
union CFragUsage2Union {
SInt16 appSubdirID;
UInt16 libFlags;
};
typedef union CFragUsage2Union CFragUsage2Union;
enum {
kCFragLibUsageMapPrivatelyMask = 0x0001
};
union CFragWhere1Union {
UInt32 spaceID;
};
typedef union CFragWhere1Union CFragWhere1Union;
union CFragWhere2Union {
UInt16 reserved;
};
typedef union CFragWhere2Union CFragWhere2Union;
enum {
kDefaultCFragNameLen = 16
};
struct CFragResourceMember {
CFragArchitecture architecture;
UInt16 reservedA;
UInt8 reservedB;
UInt8 updateLevel;
CFragVersionNumber currentVersion;
CFragVersionNumber oldDefVersion;
CFragUsage1Union uUsage1;
CFragUsage2Union uUsage2;
CFragUsage usage;
CFragLocatorKind where;
UInt32 offset;
UInt32 length;
CFragWhere1Union uWhere1;
CFragWhere2Union uWhere2;
UInt16 extensionCount;
UInt16 memberSize;
unsigned char name[16];
};
typedef struct CFragResourceMember CFragResourceMember;
typedef CFragResourceMember * CFragResourceMemberPtr;
struct CFragResourceExtensionHeader {
UInt16 extensionKind;
UInt16 extensionSize;
};
typedef struct CFragResourceExtensionHeader CFragResourceExtensionHeader;
typedef CFragResourceExtensionHeader * CFragResourceExtensionHeaderPtr;
struct CFragResourceSearchExtension {
CFragResourceExtensionHeader header;
OSType libKind;
unsigned char qualifiers[1];
};
typedef struct CFragResourceSearchExtension CFragResourceSearchExtension;
typedef CFragResourceSearchExtension * CFragResourceSearchExtensionPtr;
enum {
kCFragResourceSearchExtensionKind = 0x30EE
};
struct CFragResource {
UInt32 reservedA;
UInt32 reservedB;
UInt16 reservedC;
UInt16 version;
UInt32 reservedD;
UInt32 reservedE;
UInt32 reservedF;
UInt32 reservedG;
UInt16 reservedH;
UInt16 memberCount;
CFragResourceMember firstMember;
};
typedef struct CFragResource CFragResource;
typedef CFragResource * CFragResourcePtr;
typedef CFragResourcePtr * CFragResourceHandle;
enum {
kCurrCFragResourceVersion = 1
};
#define AlignToFour(aValue) (((aValue) + 3) & ~3)
#define CFMOffsetOf(structure,field) ((UInt32)&((structure *) 0)->field)
#define kBaseCFragResourceMemberSize (CFMOffsetOf ( CFragResourceMember, name ) )
#define kBaseCFragResourceSize (CFMOffsetOf ( CFragResource, firstMember.name ) )
#define NextCFragResourceMemberPtr(aMemberPtr) ((CFragResourceMemberPtr) ((BytePtr)aMemberPtr + aMemberPtr->memberSize))
#define FirstCFragResourceExtensionPtr(aMemberPtr) ((CFragResourceExtensionHeaderPtr) ((BytePtr)aMemberPtr + AlignToFour ( kBaseCFragResourceMemberSize + aMemberPtr->name[0] + 1 ) ))
#define NextCFragResourceExtensionPtr(anExtensionPtr) ((CFragResourceExtensionHeaderPtr) ((BytePtr)anExtensionPtr + ((CFragResourceExtensionHeaderPtr)anExtensionPtr)->extensionSize ))
#define FirstCFragResourceSearchQualifier(searchExtensionPtr) ((StringPtr) ((BytePtr)searchExtensionPtr + CFMOffsetOf ( CFragResourceSearchExtension, qualifiers ) ))
#define NextCFragResourceSearchQualifier(searchQualifierPtr) ((StringPtr) ((BytePtr)searchQualifierPtr + searchQualifierPtr[0] + 1))
typedef MPProcessID CFragContextID;
typedef struct OpaqueCFragConnectionID* CFragConnectionID;
typedef struct OpaqueCFragClosureID* CFragClosureID;
typedef struct OpaqueCFragContainerID* CFragContainerID;
typedef OptionBits CFragLoadOptions;
enum {
kReferenceCFrag = 0x0001,
kFindCFrag = 0x0002,
kPrivateCFragCopy = 0x0005
};
enum {
kUnresolvedCFragSymbolAddress = 0
};
typedef UInt8 CFragSymbolClass;
enum {
kCodeCFragSymbol = 0,
kDataCFragSymbol = 1,
kTVectorCFragSymbol = 2,
kTOCCFragSymbol = 3,
kGlueCFragSymbol = 4
};
# 296 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
#define CFragHasFileLocation(where) ( ((where) == kDataForkCFragLocator) || ((where) == kResourceCFragLocator) )
# 315 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
extern OSErr
GetSharedLibrary(
ConstStr63Param libName,
CFragArchitecture archType,
CFragLoadOptions options,
CFragConnectionID * connID,
Ptr * mainAddr,
Str255 errMessage) __attribute__((deprecated));
# 336 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
extern OSErr
GetDiskFragment(
const FSSpec * fileSpec,
UInt32 offset,
UInt32 length,
ConstStr63Param fragName,
CFragLoadOptions options,
CFragConnectionID * connID,
Ptr * mainAddr,
Str255 errMessage) __attribute__((deprecated));
# 359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
extern OSErr
GetMemFragment(
void * memAddr,
UInt32 length,
ConstStr63Param fragName,
CFragLoadOptions options,
CFragConnectionID * connID,
Ptr * mainAddr,
Str255 errMessage) __attribute__((deprecated));
# 381 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
extern OSErr
CloseConnection(CFragConnectionID * connID) __attribute__((deprecated));
# 396 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
extern OSErr
FindSymbol(
CFragConnectionID connID,
ConstStr255Param symName,
Ptr * symAddr,
CFragSymbolClass * symClass) __attribute__((deprecated));
# 415 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
extern OSErr
CountSymbols(
CFragConnectionID connID,
long * symCount) __attribute__((deprecated));
# 432 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
extern OSErr
GetIndSymbol(
CFragConnectionID connID,
long symIndex,
Str255 symName,
Ptr * symAddr,
CFragSymbolClass * symClass) __attribute__((deprecated));
# 482 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
struct CFragSystem7MemoryLocator {
LogicalAddress address;
UInt32 length;
Boolean inPlace;
UInt8 reservedA;
UInt16 reservedB;
};
typedef struct CFragSystem7MemoryLocator CFragSystem7MemoryLocator;
struct CFragSystem7DiskFlatLocator {
FSSpec * fileSpec;
UInt32 offset;
UInt32 length;
};
typedef struct CFragSystem7DiskFlatLocator CFragSystem7DiskFlatLocator;
struct CFragSystem7SegmentedLocator {
FSSpec * fileSpec;
OSType rsrcType;
SInt16 rsrcID;
UInt16 reservedA;
};
typedef struct CFragSystem7SegmentedLocator CFragSystem7SegmentedLocator;
struct CFragCFBundleLocator {
CFBundleRef fragmentBundle;
UInt32 offset;
UInt32 length;
};
typedef struct CFragCFBundleLocator CFragCFBundleLocator;
struct CFragSystem7Locator {
SInt32 where;
union {
CFragSystem7DiskFlatLocator onDisk;
CFragSystem7MemoryLocator inMem;
CFragSystem7SegmentedLocator inSegs;
CFragCFBundleLocator inBundle;
} u;
};
typedef struct CFragSystem7Locator CFragSystem7Locator;
typedef CFragSystem7Locator * CFragSystem7LocatorPtr;
struct CFragSystem7InitBlock {
CFragContextID contextID;
CFragClosureID closureID;
CFragConnectionID connectionID;
CFragSystem7Locator fragLocator;
StringPtr libName;
UInt32 reservedA;
};
typedef struct CFragSystem7InitBlock CFragSystem7InitBlock;
typedef CFragSystem7InitBlock * CFragSystem7InitBlockPtr;
typedef CFragSystem7InitBlock CFragInitBlock;
typedef CFragSystem7InitBlockPtr CFragInitBlockPtr;
typedef OSErr ( * CFragInitFunction)(const CFragInitBlock * initBlock);
typedef void ( * CFragTermProcedure)(void);
# 550 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
extern OSErr
ConvertBundlePreLocator(CFragSystem7LocatorPtr initBlockLocator) __attribute__((deprecated));
# 573 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
enum {
kLoadCFrag = kReferenceCFrag
};
# 640 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
#pragma pack(pop)
# 102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
#define __ALIASES__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
#pragma pack(push, 2)
typedef UInt32 FSAliasInfoBitmap;
enum {
kFSAliasInfoNone = 0x00000000,
kFSAliasInfoVolumeCreateDate = 0x00000001,
kFSAliasInfoTargetCreateDate = 0x00000002,
kFSAliasInfoFinderInfo = 0x00000004,
kFSAliasInfoIsDirectory = 0x00000008,
kFSAliasInfoIDs = 0x00000010,
kFSAliasInfoFSInfo = 0x00000020,
kFSAliasInfoVolumeFlags = 0x00000040
};
enum {
rAliasType = 'alis'
};
enum {
kARMMountVol = 0x00000001,
kARMNoUI = 0x00000002,
kARMMultVols = 0x00000008,
kARMSearch = 0x00000100,
kARMSearchMore = 0x00000200,
kARMSearchRelFirst = 0x00000400,
kARMTryFileIDFirst = 0x00000800
};
enum {
asiZoneName = -3,
asiServerName = -2,
asiVolumeName = -1,
asiAliasName = 0,
asiParentName = 1
};
enum {
kResolveAliasFileNoUI = 0x00000001,
kResolveAliasTryFileIDFirst = 0x00000002
};
#define __AL_USE_OPAQUE_RECORD__ 1
struct AliasRecord {
UInt8 hidden[6];
};
typedef struct AliasRecord AliasRecord;
# 102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
typedef AliasRecord * AliasPtr;
typedef AliasPtr * AliasHandle;
struct FSAliasInfo {
UTCDateTime volumeCreateDate;
UTCDateTime targetCreateDate;
OSType fileType;
OSType fileCreator;
UInt32 parentDirID;
UInt32 nodeID;
UInt16 filesystemID;
UInt16 signature;
Boolean volumeIsBootVolume;
Boolean volumeIsAutomounted;
Boolean volumeIsEjectable;
Boolean volumeHasPersistentFileIDs;
Boolean isDirectory;
};
typedef struct FSAliasInfo FSAliasInfo;
typedef FSAliasInfo * FSAliasInfoPtr;
typedef short AliasInfoType;
typedef Boolean ( * AliasFilterProcPtr)(CInfoPBPtr cpbPtr, Boolean *quitFlag, Ptr myDataPtr);
typedef AliasFilterProcPtr AliasFilterUPP;
# 135 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern AliasFilterUPP
NewAliasFilterUPP(AliasFilterProcPtr userRoutine) ;
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern void
DisposeAliasFilterUPP(AliasFilterUPP userUPP) ;
# 157 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern Boolean
InvokeAliasFilterUPP(
CInfoPBPtr cpbPtr,
Boolean * quitFlag,
Ptr myDataPtr,
AliasFilterUPP userUPP) ;
#define NewAliasFilterUPP(userRoutine) ((AliasFilterUPP)userRoutine)
#define DisposeAliasFilterUPP(userUPP)
#define InvokeAliasFilterUPP(cpbPtr,quitFlag,myDataPtr,userUPP) (*userUPP)(cpbPtr, quitFlag, myDataPtr)
typedef Boolean ( * FSAliasFilterProcPtr)(const FSRef *ref, Boolean *quitFlag, Ptr myDataPtr);
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSNewAlias(
const FSRef * fromFile,
const FSRef * target,
AliasHandle * inAlias) ;
# 208 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSNewAliasMinimal(
const FSRef * target,
AliasHandle * inAlias) ;
# 225 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSIsAliasFile(
const FSRef * fileRef,
Boolean * aliasFileFlag,
Boolean * folderFlag) ;
# 244 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSResolveAliasWithMountFlags(
const FSRef * fromFile,
AliasHandle inAlias,
FSRef * target,
Boolean * wasChanged,
unsigned long mountFlags) ;
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSResolveAlias(
const FSRef * fromFile,
AliasHandle alias,
FSRef * target,
Boolean * wasChanged) ;
# 285 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSResolveAliasFileWithMountFlags(
FSRef * theRef,
Boolean resolveAliasChains,
Boolean * targetIsFolder,
Boolean * wasAliased,
unsigned long mountFlags) ;
# 306 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSResolveAliasFile(
FSRef * theRef,
Boolean resolveAliasChains,
Boolean * targetIsFolder,
Boolean * wasAliased) ;
# 326 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSFollowFinderAlias(
FSRef * fromFile,
AliasHandle alias,
Boolean logon,
FSRef * target,
Boolean * wasChanged) ;
# 346 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSUpdateAlias(
const FSRef * fromFile,
const FSRef * target,
AliasHandle alias,
Boolean * wasChanged) ;
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSNewAliasUnicode(
const FSRef * fromFile,
const FSRef * targetParentRef,
UniCharCount targetNameLength,
const UniChar * targetName,
AliasHandle * inAlias,
Boolean * isDirectory) ;
# 441 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSNewAliasMinimalUnicode(
const FSRef * targetParentRef,
UniCharCount targetNameLength,
const UniChar * targetName,
AliasHandle * inAlias,
Boolean * isDirectory) ;
# 487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSStatus
FSNewAliasFromPath(
const char * fromFilePath,
const char * targetPath,
OptionBits flags,
AliasHandle * inAlias,
Boolean * isDirectory) ;
# 511 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSStatus
FSMatchAliasBulk(
const FSRef * fromFile,
unsigned long rulesMask,
AliasHandle inAlias,
short * aliasCount,
FSRef * aliasList,
Boolean * needsUpdate,
FSAliasFilterProcPtr aliasFilter,
void * yourDataPtr) ;
# 563 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSStatus
FSCopyAliasInfo(
AliasHandle inAlias,
HFSUniStr255 * targetName,
HFSUniStr255 * volumeName,
CFStringRef * pathString,
FSAliasInfoBitmap * whichInfo,
FSAliasInfo * info) ;
# 598 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern Size
GetAliasSize(AliasHandle alias) ;
# 625 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSType
GetAliasUserType(AliasHandle alias) ;
# 652 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern void
SetAliasUserType(
AliasHandle alias,
OSType userType) ;
# 681 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern Size
GetAliasSizeFromPtr(const AliasRecord * alias) ;
# 708 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSType
GetAliasUserTypeFromPtr(const AliasRecord * alias) ;
# 735 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern void
SetAliasUserTypeWithPtr(
AliasPtr alias,
OSType userType) ;
# 762 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSMatchAlias(
const FSRef * fromFile,
unsigned long rulesMask,
AliasHandle inAlias,
short * aliasCount,
FSRef * aliasList,
Boolean * needsUpdate,
AliasFilterUPP aliasFilter,
void * yourDataPtr) __attribute__((deprecated));
# 791 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSMatchAliasNoUI(
const FSRef * fromFile,
unsigned long rulesMask,
AliasHandle inAlias,
short * aliasCount,
FSRef * aliasList,
Boolean * needsUpdate,
AliasFilterUPP aliasFilter,
void * yourDataPtr) __attribute__((deprecated));
# 828 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
NewAlias(
const FSSpec * fromFile,
const FSSpec * target,
AliasHandle * alias) __attribute__((deprecated));
# 861 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
NewAliasMinimal(
const FSSpec * target,
AliasHandle * alias) __attribute__((deprecated));
# 893 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
NewAliasMinimalFromFullPath(
short fullPathLength,
const void * fullPath,
ConstStr32Param zoneName,
ConstStr31Param serverName,
AliasHandle * alias) __attribute__((deprecated));
# 920 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
ResolveAlias(
const FSSpec * fromFile,
AliasHandle alias,
FSSpec * target,
Boolean * wasChanged) __attribute__((deprecated));
# 949 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
GetAliasInfo(
AliasHandle alias,
AliasInfoType itemIndex,
Str63 theString) __attribute__((deprecated));
# 974 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
IsAliasFile(
const FSSpec * fileFSSpec,
Boolean * aliasFileFlag,
Boolean * folderFlag) __attribute__((deprecated));
# 1001 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
ResolveAliasWithMountFlags(
const FSSpec * fromFile,
AliasHandle alias,
FSSpec * target,
Boolean * wasChanged,
unsigned long mountFlags) __attribute__((deprecated));
# 1030 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
ResolveAliasFile(
FSSpec * theSpec,
Boolean resolveAliasChains,
Boolean * targetIsFolder,
Boolean * wasAliased) __attribute__((deprecated));
# 1050 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
ResolveAliasFileWithMountFlags(
FSSpec * theSpec,
Boolean resolveAliasChains,
Boolean * targetIsFolder,
Boolean * wasAliased,
unsigned long mountFlags) __attribute__((deprecated));
# 1071 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FollowFinderAlias(
const FSSpec * fromFile,
AliasHandle alias,
Boolean logon,
FSSpec * target,
Boolean * wasChanged) __attribute__((deprecated));
# 1102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
UpdateAlias(
const FSSpec * fromFile,
const FSSpec * target,
AliasHandle alias,
Boolean * wasChanged) __attribute__((deprecated));
# 1129 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
MatchAlias(
const FSSpec * fromFile,
unsigned long rulesMask,
AliasHandle alias,
short * aliasCount,
FSSpecArrayPtr aliasList,
Boolean * needsUpdate,
AliasFilterUPP aliasFilter,
void * yourDataPtr) __attribute__((deprecated));
# 1162 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
ResolveAliasFileWithMountFlagsNoUI(
FSSpec * theSpec,
Boolean resolveAliasChains,
Boolean * targetIsFolder,
Boolean * wasAliased,
unsigned long mountFlags) __attribute__((deprecated));
# 1188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
MatchAliasNoUI(
const FSSpec * fromFile,
unsigned long rulesMask,
AliasHandle alias,
short * aliasCount,
FSSpecArrayPtr aliasList,
Boolean * needsUpdate,
AliasFilterUPP aliasFilter,
void * yourDataPtr) __attribute__((deprecated));
#pragma pack(pop)
# 106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
#define __MACLOCALES__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
#pragma pack(push, 2)
# 48 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
typedef struct OpaqueLocaleRef* LocaleRef;
typedef UInt32 LocalePartMask;
enum {
kLocaleLanguageMask = 1L << 0,
kLocaleLanguageVariantMask = 1L << 1,
kLocaleScriptMask = 1L << 2,
kLocaleScriptVariantMask = 1L << 3,
kLocaleRegionMask = 1L << 4,
kLocaleRegionVariantMask = 1L << 5,
kLocaleAllPartsMask = 0x0000003F
};
typedef FourCharCode LocaleOperationClass;
typedef FourCharCode LocaleOperationVariant;
struct LocaleAndVariant {
LocaleRef locale;
LocaleOperationVariant opVariant;
};
typedef struct LocaleAndVariant LocaleAndVariant;
typedef UInt32 LocaleNameMask;
enum {
kLocaleNameMask = 1L << 0,
kLocaleOperationVariantNameMask = 1L << 1,
kLocaleAndVariantNameMask = 0x00000003
};
# 94 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleRefFromLangOrRegionCode(
LangCode lang,
RegionCode region,
LocaleRef * locale) ;
# 109 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleRefFromLocaleString(
const char localeString[],
LocaleRef * locale) ;
# 123 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleRefGetPartString(
LocaleRef locale,
LocalePartMask partMask,
ByteCount maxStringLen,
char partString[]) ;
# 140 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleStringToLangAndRegionCodes(
const char localeString[],
LangCode * lang,
RegionCode * region) ;
# 158 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleOperationCountLocales(
LocaleOperationClass opClass,
ItemCount * localeCount) ;
# 172 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleOperationGetLocales(
LocaleOperationClass opClass,
ItemCount maxLocaleCount,
ItemCount * actualLocaleCount,
LocaleAndVariant localeVariantList[]) ;
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleGetName(
LocaleRef locale,
LocaleOperationVariant opVariant,
LocaleNameMask nameMask,
LocaleRef displayLocale,
UniCharCount maxNameLen,
UniCharCount * actualNameLen,
UniChar displayName[]) ;
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleCountNames(
LocaleRef locale,
LocaleOperationVariant opVariant,
LocaleNameMask nameMask,
ItemCount * nameCount) ;
# 225 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleGetIndName(
LocaleRef locale,
LocaleOperationVariant opVariant,
LocaleNameMask nameMask,
ItemCount nameIndex,
UniCharCount maxNameLen,
UniCharCount * actualNameLen,
UniChar displayName[],
LocaleRef * displayLocale) ;
# 256 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleGetRegionLanguageName(
RegionCode region,
Str255 languageName) __attribute__((deprecated));
# 275 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleOperationGetName(
LocaleOperationClass opClass,
LocaleRef displayLocale,
UniCharCount maxNameLen,
UniCharCount * actualNameLen,
UniChar displayName[]) ;
# 292 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleOperationCountNames(
LocaleOperationClass opClass,
ItemCount * nameCount) ;
# 306 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleOperationGetIndName(
LocaleOperationClass opClass,
ItemCount nameIndex,
UniCharCount maxNameLen,
UniCharCount * actualNameLen,
UniChar displayName[],
LocaleRef * displayLocale) ;
#pragma pack(pop)
# 110 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define __DEBUGGING__
# 92 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define kComponentSignatureString "Third Party Client"
#define COMPONENT_SIGNATURE '?*?*'
#define QuoteExceptionString(x) #x
#define DEBUG_LEVEL_PRODUCTION 0
#define DEBUG_LEVEL_BREAK_ONLY 1
#define DEBUG_LEVEL_EXTERNAL 3
#define DEBUG_LEVEL_INTERNAL 4
#define DEBUGFULL DEBUG_LEVEL_INTERNAL
# 129 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define DEBUGLEVEL DEBUG_LEVEL_PRODUCTION
#define DEBUG_NO_OPTIONS 0
# 185 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define DEBUGASSERTMSG(componentSignature,options,assertionString,exceptionLabelString,errorString,fileName,lineNumber,value)
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define DEBUG_ASSERT_COMPONENT_NAME_STRING kComponentSignatureString
#define DEBUG_ASSERT_PRODUCTION_CODE (DEBUGLEVEL==0)
#define DEBUG_ASSERT_MESSAGE(componentNameString,assertionString,exceptionLabelString,errorString,fileName,lineNumber,value) DEBUGASSERTMSG(COMPONENT_SIGNATURE, DEBUG_NO_OPTIONS, componentNameString ": " assertionString, exceptionLabelString, errorString, fileName, lineNumber, value)
# 1 "/usr/include/AssertMacros.h" 1 3 4
# 21 "/usr/include/AssertMacros.h" 3 4
#define __ASSERTMACROS__
# 197 "/usr/include/AssertMacros.h" 3 4
#define debug_string(message)
# 229 "/usr/include/AssertMacros.h" 3 4
#define check(assertion)
# 248 "/usr/include/AssertMacros.h" 3 4
#define ncheck(assertion) check(!(assertion))
# 270 "/usr/include/AssertMacros.h" 3 4
#define check_string(assertion,message)
# 289 "/usr/include/AssertMacros.h" 3 4
#define ncheck_string(assertion,message) check_string(!(assertion), message)
# 308 "/usr/include/AssertMacros.h" 3 4
#define check_noerr(errorCode)
# 348 "/usr/include/AssertMacros.h" 3 4
#define check_noerr_string(errorCode,message)
# 385 "/usr/include/AssertMacros.h" 3 4
#define verify(assertion) do { if ( !(assertion) ) { } } while ( 0 )
# 410 "/usr/include/AssertMacros.h" 3 4
#define nverify(assertion) verify(!(assertion))
# 433 "/usr/include/AssertMacros.h" 3 4
#define verify_string(assertion,message) do { if ( !(assertion) ) { } } while ( 0 )
# 458 "/usr/include/AssertMacros.h" 3 4
#define nverify_string(assertion,message) verify_string(!(assertion), message)
# 478 "/usr/include/AssertMacros.h" 3 4
#define verify_noerr(errorCode) do { if ( 0 != (errorCode) ) { } } while ( 0 )
# 524 "/usr/include/AssertMacros.h" 3 4
#define verify_noerr_string(errorCode,message) do { if ( 0 != (errorCode) ) { } } while ( 0 )
# 571 "/usr/include/AssertMacros.h" 3 4
#define verify_action(assertion,action) do { if ( __builtin_expect(!(assertion), 0) ) { action; } } while ( 0 )
# 618 "/usr/include/AssertMacros.h" 3 4
#define require(assertion,exceptionLabel) do { if ( __builtin_expect(!(assertion), 0) ) { goto exceptionLabel; } } while ( 0 )
# 645 "/usr/include/AssertMacros.h" 3 4
#define nrequire(assertion,exceptionLabel) require(!(assertion), exceptionLabel)
# 673 "/usr/include/AssertMacros.h" 3 4
#define require_action(assertion,exceptionLabel,action) do { if ( __builtin_expect(!(assertion), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 706 "/usr/include/AssertMacros.h" 3 4
#define nrequire_action(assertion,exceptionLabel,action) require_action(!(assertion), exceptionLabel, action)
# 724 "/usr/include/AssertMacros.h" 3 4
#define require_quiet(assertion,exceptionLabel) do { if ( __builtin_expect(!(assertion), 0) ) { goto exceptionLabel; } } while ( 0 )
# 733 "/usr/include/AssertMacros.h" 3 4
#define nrequire_quiet(assertion,exceptionLabel) require_quiet(!(assertion), exceptionLabel)
# 755 "/usr/include/AssertMacros.h" 3 4
#define require_action_quiet(assertion,exceptionLabel,action) do { if ( __builtin_expect(!(assertion), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 767 "/usr/include/AssertMacros.h" 3 4
#define nrequire_action_quiet(assertion,exceptionLabel,action) require_action_quiet(!(assertion), exceptionLabel, action)
# 793 "/usr/include/AssertMacros.h" 3 4
#define require_string(assertion,exceptionLabel,message) do { if ( __builtin_expect(!(assertion), 0) ) { goto exceptionLabel; } } while ( 0 )
# 820 "/usr/include/AssertMacros.h" 3 4
#define nrequire_string(assertion,exceptionLabel,string) require_string(!(assertion), exceptionLabel, string)
# 851 "/usr/include/AssertMacros.h" 3 4
#define require_action_string(assertion,exceptionLabel,action,message) do { if ( __builtin_expect(!(assertion), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 884 "/usr/include/AssertMacros.h" 3 4
#define nrequire_action_string(assertion,exceptionLabel,action,message) require_action_string(!(assertion), exceptionLabel, action, message)
# 907 "/usr/include/AssertMacros.h" 3 4
#define require_noerr(errorCode,exceptionLabel) do { if ( __builtin_expect(0 != (errorCode), 0) ) { goto exceptionLabel; } } while ( 0 )
# 959 "/usr/include/AssertMacros.h" 3 4
#define require_noerr_action(errorCode,exceptionLabel,action) do { if ( __builtin_expect(0 != (errorCode), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 1009 "/usr/include/AssertMacros.h" 3 4
#define require_noerr_quiet(errorCode,exceptionLabel) do { if ( __builtin_expect(0 != (errorCode), 0) ) { goto exceptionLabel; } } while ( 0 )
# 1038 "/usr/include/AssertMacros.h" 3 4
#define require_noerr_action_quiet(errorCode,exceptionLabel,action) do { if ( __builtin_expect(0 != (errorCode), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 1073 "/usr/include/AssertMacros.h" 3 4
#define require_noerr_string(errorCode,exceptionLabel,message) do { if ( __builtin_expect(0 != (errorCode), 0) ) { goto exceptionLabel; } } while ( 0 )
# 1129 "/usr/include/AssertMacros.h" 3 4
#define require_noerr_action_string(errorCode,exceptionLabel,action,message) do { if ( __builtin_expect(0 != (errorCode), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 220 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 2 3
#define ATTASKLEVEL0() (TaskLevel() == 0)
#define check_tasklevel0() check(ATTASKLEVEL0())
#define check_tasklevel0_string(cstring) check_string(ATTASKLEVEL0(), cstring)
#define verify_tasklevel0() verify(ATTASKLEVEL0())
#define verify_tasklevel0_string(cstring) verify_string(ATTASKLEVEL0(), cstring)
#define require_tasklevel0(exceptionLabel) require(ATTASKLEVEL0(), exceptionLabel)
#define require_tasklevel0_action(exceptionLabel,action) require_action(ATTASKLEVEL0(), exceptionLabel, action)
#define require_tasklevel0_quiet(exceptionLabel) require_quiet(ATTASKLEVEL0(), exceptionLabel)
#define require_tasklevel0_action_quiet(exceptionLabel,action) require_action_quiet(ATTASKLEVEL0(), exceptionLabel, action)
#define require_tasklevel0_string(exceptionLabel,cstring) require_string(ATTASKLEVEL0(), exceptionLabel, cstring)
#define require_tasklevel0_action_string(exceptionLabel,action,cstring) require_action_string(ATTASKLEVEL0(), exceptionLabel, action, cstring)
# 286 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define DPRINTF(x) { }
# 301 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
enum {
kBlessedBusErrorBait = 0x68F168F1
};
# 353 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
DebugAssert(
OSType componentSignature,
UInt32 options,
const char * assertionString,
const char * exceptionLabelString,
const char * errorString,
const char * fileName,
long lineNumber,
void * value) ;
enum {
k68kInterruptLevelMask = 0x00000007,
kInVBLTaskMask = 0x00000010,
kInDeferredTaskMask = 0x00000020,
kInSecondaryIntHandlerMask = 0x00000040,
kInNestedInterruptMask = 0x00000080
};
# 397 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern UInt32
TaskLevel(void) ;
enum {
kComponentDebugOption = 0
};
enum {
kGetDebugOption = 1,
kSetDebugOption = 2
};
# 438 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
typedef void ( * DebugComponentCallbackProcPtr)(SInt32 optionSelectorNum, UInt32 command, Boolean *optionSetting);
typedef DebugComponentCallbackProcPtr DebugComponentCallbackUPP;
# 470 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
NewDebugComponent(
OSType componentSignature,
ConstStr255Param componentName,
DebugComponentCallbackUPP componentCallback) ;
# 508 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
NewDebugOption(
OSType componentSignature,
SInt32 optionSelectorNum,
ConstStr255Param optionName) ;
# 539 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
DisposeDebugComponent(OSType componentSignature) ;
# 574 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
GetDebugComponentInfo(
UInt32 itemIndex,
OSType * componentSignature,
Str255 componentName) ;
# 621 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
GetDebugOptionInfo(
UInt32 itemIndex,
OSType componentSignature,
SInt32 * optionSelectorNum,
Str255 optionName,
Boolean * optionSetting) ;
# 659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
SetDebugOptionValue(
OSType componentSignature,
SInt32 optionSelectorNum,
Boolean newOptionSetting) ;
# 708 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
typedef void ( * DebugAssertOutputHandlerProcPtr)(OSType componentSignature, UInt32 options, const char *assertionString, const char *exceptionLabelString, const char *errorString, const char *fileName, long lineNumber, void *value, ConstStr255Param outputMsg);
typedef DebugAssertOutputHandlerProcPtr DebugAssertOutputHandlerUPP;
# 729 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
InstallDebugAssertOutputHandler(DebugAssertOutputHandlerUPP handler) ;
# 813 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern const char *
GetMacOSStatusErrorString(OSStatus err) ;
# 854 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern const char *
GetMacOSStatusCommentString(OSStatus err) ;
# 871 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern DebugComponentCallbackUPP
NewDebugComponentCallbackUPP(DebugComponentCallbackProcPtr userRoutine) ;
# 882 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern DebugAssertOutputHandlerUPP
NewDebugAssertOutputHandlerUPP(DebugAssertOutputHandlerProcPtr userRoutine) ;
# 893 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
DisposeDebugComponentCallbackUPP(DebugComponentCallbackUPP userUPP) ;
# 904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
DisposeDebugAssertOutputHandlerUPP(DebugAssertOutputHandlerUPP userUPP) ;
# 915 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
InvokeDebugComponentCallbackUPP(
SInt32 optionSelectorNum,
UInt32 command,
Boolean * optionSetting,
DebugComponentCallbackUPP userUPP) ;
# 930 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
InvokeDebugAssertOutputHandlerUPP(
OSType componentSignature,
UInt32 options,
const char * assertionString,
const char * exceptionLabelString,
const char * errorString,
const char * fileName,
long lineNumber,
void * value,
ConstStr255Param outputMsg,
DebugAssertOutputHandlerUPP userUPP) ;
# 952 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define NewDebugComponentCallbackUPP(userRoutine) ((DebugComponentCallbackUPP)userRoutine)
#define NewDebugAssertOutputHandlerUPP(userRoutine) ((DebugAssertOutputHandlerUPP)userRoutine)
#define DisposeDebugComponentCallbackUPP(userUPP)
#define DisposeDebugAssertOutputHandlerUPP(userUPP)
#define InvokeDebugComponentCallbackUPP(optionSelectorNum,command,optionSetting,userUPP) (*userUPP)(optionSelectorNum, command, optionSetting)
#define InvokeDebugAssertOutputHandlerUPP(componentSignature,options,assertionString,exceptionLabelString,errorString,fileName,lineNumber,value,outputMsg,userUPP) (*userUPP)(componentSignature, options, assertionString, exceptionLabelString, errorString, fileName, lineNumber, value, outputMsg)
# 114 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
#define __PLSTRINGFUNCS__
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern short
PLstrcmp(
ConstStr255Param str1,
ConstStr255Param str2) __attribute__((deprecated));
# 127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern short
PLstrncmp(
ConstStr255Param str1,
ConstStr255Param str2,
short num) __attribute__((deprecated));
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern StringPtr
PLstrcpy(
StringPtr dest,
ConstStr255Param source) __attribute__((deprecated));
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern StringPtr
PLstrncpy(
StringPtr dest,
ConstStr255Param source,
short num) __attribute__((deprecated));
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern StringPtr
PLstrcat(
StringPtr str,
ConstStr255Param append) __attribute__((deprecated));
# 315 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern StringPtr
PLstrncat(
StringPtr str1,
ConstStr255Param append,
short num) __attribute__((deprecated));
# 358 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern Ptr
PLstrchr(
ConstStr255Param str1,
short ch1) __attribute__((deprecated));
# 400 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern Ptr
PLstrrchr(
ConstStr255Param str1,
short ch1) __attribute__((deprecated));
# 444 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern Ptr
PLstrpbrk(
ConstStr255Param str1,
ConstStr255Param charSet) __attribute__((deprecated));
# 490 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern short
PLstrspn(
ConstStr255Param str1,
ConstStr255Param charSet) __attribute__((deprecated));
# 534 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern Ptr
PLstrstr(
ConstStr255Param str1,
ConstStr255Param searchStr) __attribute__((deprecated));
# 571 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern short
PLstrlen(ConstStr255Param str) __attribute__((deprecated));
# 614 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern short
PLpos(
ConstStr255Param str1,
ConstStr255Param searchStr) __attribute__((deprecated));
# 118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
#define __DRIVERSYNCHRONIZATION__
# 77 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern Boolean
CompareAndSwap(
UInt32 oldValue,
UInt32 newValue,
UInt32 * address) ;
# 127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern Boolean
TestAndClear(
UInt32 bit,
UInt8 * address) ;
# 166 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern Boolean
TestAndSet(
UInt32 bit,
UInt8 * address) ;
# 201 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt8
IncrementAtomic8(SInt8 * address) ;
# 234 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt8
DecrementAtomic8(SInt8 * address) ;
# 270 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt8
AddAtomic8(
SInt32 amount,
SInt8 * address) ;
# 309 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt8
BitAndAtomic8(
UInt32 mask,
UInt8 * address) ;
# 348 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt8
BitOrAtomic8(
UInt32 mask,
UInt8 * address) ;
# 387 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt8
BitXorAtomic8(
UInt32 mask,
UInt8 * address) ;
# 422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt16
IncrementAtomic16(SInt16 * address) ;
# 455 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt16
DecrementAtomic16(SInt16 * address) ;
# 491 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt16
AddAtomic16(
SInt32 amount,
SInt16 * address) ;
# 530 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt16
BitAndAtomic16(
UInt32 mask,
UInt16 * address) ;
# 569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt16
BitOrAtomic16(
UInt32 mask,
UInt16 * address) ;
# 608 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt16
BitXorAtomic16(
UInt32 mask,
UInt16 * address) ;
# 643 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt32
IncrementAtomic(SInt32 * address) ;
# 676 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt32
DecrementAtomic(SInt32 * address) ;
# 712 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt32
AddAtomic(
SInt32 amount,
SInt32 * address) ;
# 751 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt32
BitAndAtomic(
UInt32 mask,
UInt32 * address) ;
# 790 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt32
BitOrAtomic(
UInt32 mask,
UInt32 * address) ;
# 829 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt32
BitXorAtomic(
UInt32 mask,
UInt32 * address) ;
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
#define __DRIVERSERVICES__
# 32 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
#define __MACHINEEXCEPTIONS__
# 29 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _XMMINTRIN_H_INCLUDED
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mmintrin.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mmintrin.h" 3 4
#define _MMINTRIN_H_INCLUDED
typedef long long __m64 __attribute__ ((__vector_size__ (8)));
typedef int __v2si __attribute__ ((__vector_size__ (8)));
typedef short __v4hi __attribute__ ((__vector_size__ (8)));
typedef char __v8qi __attribute__ ((__vector_size__ (8)));
#define __always_inline__ __always_inline__, __nodebug__
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_empty (void)
{
__builtin_ia32_emms ();
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_m_empty (void)
{
_mm_empty ();
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi32_si64 (int __i)
{
return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_from_int (int __i)
{
return _mm_cvtsi32_si64 (__i);
}
# 108 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mmintrin.h" 3 4
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64_si32 (__m64 __i)
{
return __builtin_ia32_vec_ext_v2si ((__v2si)__i, 0);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_m_to_int (__m64 __i)
{
return _mm_cvtsi64_si32 (__i);
}
# 147 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mmintrin.h" 3 4
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_packs_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_packsswb ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_packsswb (__m64 __m1, __m64 __m2)
{
return _mm_packs_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_packs_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_packssdw ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_packssdw (__m64 __m1, __m64 __m2)
{
return _mm_packs_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_packs_pu16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_packuswb ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_packuswb (__m64 __m1, __m64 __m2)
{
return _mm_packs_pu16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpckhbw ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpckhbw (__m64 __m1, __m64 __m2)
{
return _mm_unpackhi_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpckhwd ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpckhwd (__m64 __m1, __m64 __m2)
{
return _mm_unpackhi_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpckhdq ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpckhdq (__m64 __m1, __m64 __m2)
{
return _mm_unpackhi_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpcklbw ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpcklbw (__m64 __m1, __m64 __m2)
{
return _mm_unpacklo_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpcklwd ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpcklwd (__m64 __m1, __m64 __m2)
{
return _mm_unpacklo_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpckldq ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpckldq (__m64 __m1, __m64 __m2)
{
return _mm_unpacklo_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_add_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddb (__m64 __m1, __m64 __m2)
{
return _mm_add_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_add_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddw (__m64 __m1, __m64 __m2)
{
return _mm_add_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_add_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddd ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddd (__m64 __m1, __m64 __m2)
{
return _mm_add_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_add_si64 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddq (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_adds_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddsb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddsb (__m64 __m1, __m64 __m2)
{
return _mm_adds_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_adds_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddsw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddsw (__m64 __m1, __m64 __m2)
{
return _mm_adds_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_adds_pu8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddusb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddusb (__m64 __m1, __m64 __m2)
{
return _mm_adds_pu8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_adds_pu16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddusw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddusw (__m64 __m1, __m64 __m2)
{
return _mm_adds_pu16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sub_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubb (__m64 __m1, __m64 __m2)
{
return _mm_sub_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sub_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubw (__m64 __m1, __m64 __m2)
{
return _mm_sub_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sub_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubd ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubd (__m64 __m1, __m64 __m2)
{
return _mm_sub_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sub_si64 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubq (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_subs_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubsb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubsb (__m64 __m1, __m64 __m2)
{
return _mm_subs_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_subs_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubsw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubsw (__m64 __m1, __m64 __m2)
{
return _mm_subs_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_subs_pu8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubusb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubusb (__m64 __m1, __m64 __m2)
{
return _mm_subs_pu8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_subs_pu16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubusw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubusw (__m64 __m1, __m64 __m2)
{
return _mm_subs_pu16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_madd_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pmaddwd ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmaddwd (__m64 __m1, __m64 __m2)
{
return _mm_madd_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_mulhi_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pmulhw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmulhw (__m64 __m1, __m64 __m2)
{
return _mm_mulhi_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_mullo_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pmullw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmullw (__m64 __m1, __m64 __m2)
{
return _mm_mullo_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sll_pi16 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psllw ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psllw (__m64 __m, __m64 __count)
{
return _mm_sll_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_slli_pi16 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psllwi ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psllwi (__m64 __m, int __count)
{
return _mm_slli_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sll_pi32 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_pslld ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pslld (__m64 __m, __m64 __count)
{
return _mm_sll_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_slli_pi32 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_pslldi ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pslldi (__m64 __m, int __count)
{
return _mm_slli_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sll_si64 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psllq (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psllq (__m64 __m, __m64 __count)
{
return _mm_sll_si64 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_slli_si64 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psllqi (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psllqi (__m64 __m, int __count)
{
return _mm_slli_si64 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sra_pi16 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psraw ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psraw (__m64 __m, __m64 __count)
{
return _mm_sra_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srai_pi16 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psrawi ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrawi (__m64 __m, int __count)
{
return _mm_srai_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sra_pi32 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psrad ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrad (__m64 __m, __m64 __count)
{
return _mm_sra_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srai_pi32 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psradi ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psradi (__m64 __m, int __count)
{
return _mm_srai_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srl_pi16 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psrlw ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrlw (__m64 __m, __m64 __count)
{
return _mm_srl_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srli_pi16 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psrlwi ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrlwi (__m64 __m, int __count)
{
return _mm_srli_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srl_pi32 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psrld ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrld (__m64 __m, __m64 __count)
{
return _mm_srl_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srli_pi32 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psrldi ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrldi (__m64 __m, int __count)
{
return _mm_srli_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srl_si64 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psrlq (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrlq (__m64 __m, __m64 __count)
{
return _mm_srl_si64 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srli_si64 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psrlqi (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrlqi (__m64 __m, int __count)
{
return _mm_srli_si64 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_and_si64 (__m64 __m1, __m64 __m2)
{
return __builtin_ia32_pand (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pand (__m64 __m1, __m64 __m2)
{
return _mm_and_si64 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_andnot_si64 (__m64 __m1, __m64 __m2)
{
return __builtin_ia32_pandn (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pandn (__m64 __m1, __m64 __m2)
{
return _mm_andnot_si64 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_or_si64 (__m64 __m1, __m64 __m2)
{
return __builtin_ia32_por (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_por (__m64 __m1, __m64 __m2)
{
return _mm_or_si64 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_xor_si64 (__m64 __m1, __m64 __m2)
{
return __builtin_ia32_pxor (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pxor (__m64 __m1, __m64 __m2)
{
return _mm_xor_si64 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpeqb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpeqb (__m64 __m1, __m64 __m2)
{
return _mm_cmpeq_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpgtb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpgtb (__m64 __m1, __m64 __m2)
{
return _mm_cmpgt_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpeqw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpeqw (__m64 __m1, __m64 __m2)
{
return _mm_cmpeq_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpgtw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpgtw (__m64 __m1, __m64 __m2)
{
return _mm_cmpgt_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpeqd ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpeqd (__m64 __m1, __m64 __m2)
{
return _mm_cmpeq_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpgtd ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpgtd (__m64 __m1, __m64 __m2)
{
return _mm_cmpgt_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_setzero_si64 (void)
{
return (__m64)0LL;
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set_pi32 (int __i1, int __i0)
{
return (__m64) __builtin_ia32_vec_init_v2si (__i0, __i1);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set_pi16 (short __w3, short __w2, short __w1, short __w0)
{
return (__m64) __builtin_ia32_vec_init_v4hi (__w0, __w1, __w2, __w3);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set_pi8 (char __b7, char __b6, char __b5, char __b4,
char __b3, char __b2, char __b1, char __b0)
{
return (__m64) __builtin_ia32_vec_init_v8qi (__b0, __b1, __b2, __b3,
__b4, __b5, __b6, __b7);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_setr_pi32 (int __i0, int __i1)
{
return _mm_set_pi32 (__i1, __i0);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_setr_pi16 (short __w0, short __w1, short __w2, short __w3)
{
return _mm_set_pi16 (__w3, __w2, __w1, __w0);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_setr_pi8 (char __b0, char __b1, char __b2, char __b3,
char __b4, char __b5, char __b6, char __b7)
{
return _mm_set_pi8 (__b7, __b6, __b5, __b4, __b3, __b2, __b1, __b0);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set1_pi32 (int __i)
{
return _mm_set_pi32 (__i, __i);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set1_pi16 (short __w)
{
return _mm_set_pi16 (__w, __w, __w, __w);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set1_pi8 (char __b)
{
return _mm_set_pi8 (__b, __b, __b, __b, __b, __b, __b, __b);
}
#undef __always_inline__
# 40 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 2 3 4
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mm_malloc.h" 1 3 4
# 28 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mm_malloc.h" 3 4
#define _MM_MALLOC_H_INCLUDED
# 1 "/usr/include/errno.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mm_malloc.h" 2 3 4
static __inline__ void*
_mm_malloc (size_t size, size_t align)
{
void * malloc_ptr;
void * aligned_ptr;
if (align & (align - 1))
{
(*__error()) = 22;
return ((void*) 0);
}
if (size == 0)
return ((void *) 0);
if (align < 2 * sizeof (void *))
align = 2 * sizeof (void *);
malloc_ptr = malloc (size + align);
if (!malloc_ptr)
return ((void *) 0);
aligned_ptr = (void *) (((size_t) malloc_ptr + align)
& ~((size_t) (align) - 1));
((void **) aligned_ptr) [-1] = malloc_ptr;
return aligned_ptr;
}
static __inline__ void
_mm_free (void * aligned_ptr)
{
if (aligned_ptr)
free (((void **) aligned_ptr) [-1]);
}
# 43 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 2 3 4
typedef float __m128 __attribute__ ((__vector_size__ (16)));
typedef float __v4sf __attribute__ ((__vector_size__ (16)));
#define _MM_SHUFFLE(fp3,fp2,fp1,fp0) (((fp3) << 6) | ((fp2) << 4) | ((fp1) << 2) | (fp0))
enum _mm_hint
{
_MM_HINT_T0 = 3,
_MM_HINT_T1 = 2,
_MM_HINT_T2 = 1,
_MM_HINT_NTA = 0
};
#define _MM_EXCEPT_MASK 0x003f
#define _MM_EXCEPT_INVALID 0x0001
#define _MM_EXCEPT_DENORM 0x0002
#define _MM_EXCEPT_DIV_ZERO 0x0004
#define _MM_EXCEPT_OVERFLOW 0x0008
#define _MM_EXCEPT_UNDERFLOW 0x0010
#define _MM_EXCEPT_INEXACT 0x0020
#define _MM_MASK_MASK 0x1f80
#define _MM_MASK_INVALID 0x0080
#define _MM_MASK_DENORM 0x0100
#define _MM_MASK_DIV_ZERO 0x0200
#define _MM_MASK_OVERFLOW 0x0400
#define _MM_MASK_UNDERFLOW 0x0800
#define _MM_MASK_INEXACT 0x1000
#define _MM_ROUND_MASK 0x6000
#define _MM_ROUND_NEAREST 0x0000
#define _MM_ROUND_DOWN 0x2000
#define _MM_ROUND_UP 0x4000
#define _MM_ROUND_TOWARD_ZERO 0x6000
#define _MM_FLUSH_ZERO_MASK 0x8000
#define _MM_FLUSH_ZERO_ON 0x8000
#define _MM_FLUSH_ZERO_OFF 0x0000
#define __always_inline__ __always_inline__, __nodebug__
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_setzero_ps (void)
{
return __extension__ (__m128){ 0.0f, 0.0f, 0.0f, 0.0f };
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_add_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_addss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_sub_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_subss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_mul_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_mulss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_div_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_divss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_sqrt_ss (__m128 __A)
{
return (__m128) __builtin_ia32_sqrtss ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_rcp_ss (__m128 __A)
{
return (__m128) __builtin_ia32_rcpss ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_rsqrt_ss (__m128 __A)
{
return (__m128) __builtin_ia32_rsqrtss ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_min_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_minss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_max_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_maxss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_add_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_addps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_sub_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_subps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_mul_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_mulps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_div_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_divps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_sqrt_ps (__m128 __A)
{
return (__m128) __builtin_ia32_sqrtps ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_rcp_ps (__m128 __A)
{
return (__m128) __builtin_ia32_rcpps ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_rsqrt_ps (__m128 __A)
{
return (__m128) __builtin_ia32_rsqrtps ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_min_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_minps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_max_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_maxps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_and_ps (__m128 __A, __m128 __B)
{
return __builtin_ia32_andps (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_andnot_ps (__m128 __A, __m128 __B)
{
return __builtin_ia32_andnps (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_or_ps (__m128 __A, __m128 __B)
{
return __builtin_ia32_orps (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_xor_ps (__m128 __A, __m128 __B)
{
return __builtin_ia32_xorps (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpeqss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpltss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmple_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpless ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movss ((__v4sf) __A,
(__v4sf)
__builtin_ia32_cmpltss ((__v4sf) __B,
(__v4sf)
__A));
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpge_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movss ((__v4sf) __A,
(__v4sf)
__builtin_ia32_cmpless ((__v4sf) __B,
(__v4sf)
__A));
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpneq_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpneqss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnlt_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpnltss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnle_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpnless ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpngt_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movss ((__v4sf) __A,
(__v4sf)
__builtin_ia32_cmpnltss ((__v4sf) __B,
(__v4sf)
__A));
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnge_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movss ((__v4sf) __A,
(__v4sf)
__builtin_ia32_cmpnless ((__v4sf) __B,
(__v4sf)
__A));
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpord_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpordss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpunord_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpunordss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpeqps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpltps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmple_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpleps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpgtps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpge_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpgeps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpneq_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpneqps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnlt_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpnltps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnle_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpnleps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpngt_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpngtps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnge_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpngeps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpord_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpordps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpunord_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpunordps ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comieq_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comieq ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comilt_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comilt ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comile_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comile ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comigt_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comigt ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comige_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comige ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comineq_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comineq ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomieq_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomieq ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomilt_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomilt ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomile_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomile ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomigt_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomigt ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomige_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomige ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomineq_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomineq ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvtss_si32 (__m128 __A)
{
return __builtin_ia32_cvtss2si ((__v4sf) __A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvt_ss2si (__m128 __A)
{
return _mm_cvtss_si32 (__A);
}
# 519 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtps_pi32 (__m128 __A)
{
return (__m64) __builtin_ia32_cvtps2pi ((__v4sf) __A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvt_ps2pi (__m128 __A)
{
return _mm_cvtps_pi32 (__A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvttss_si32 (__m128 __A)
{
return __builtin_ia32_cvttss2si ((__v4sf) __A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvtt_ss2si (__m128 __A)
{
return _mm_cvttss_si32 (__A);
}
# 564 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvttps_pi32 (__m128 __A)
{
return (__m64) __builtin_ia32_cvttps2pi ((__v4sf) __A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtt_ps2pi (__m128 __A)
{
return _mm_cvttps_pi32 (__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi32_ss (__m128 __A, int __B)
{
return (__m128) __builtin_ia32_cvtsi2ss ((__v4sf) __A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvt_si2ss (__m128 __A, int __B)
{
return _mm_cvtsi32_ss (__A, __B);
}
# 609 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpi32_ps (__m128 __A, __m64 __B)
{
return (__m128) __builtin_ia32_cvtpi2ps ((__v4sf) __A, (__v2si)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvt_pi2ps (__m128 __A, __m64 __B)
{
return _mm_cvtpi32_ps (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpi16_ps (__m64 __A)
{
__v4hi __sign;
__v2si __hisi, __losi;
__v4sf __r;
__sign = __builtin_ia32_pcmpgtw ((__v4hi)0LL, (__v4hi)__A);
__hisi = (__v2si) __builtin_ia32_punpckhwd ((__v4hi)__A, __sign);
__losi = (__v2si) __builtin_ia32_punpcklwd ((__v4hi)__A, __sign);
__r = (__v4sf) _mm_setzero_ps ();
__r = __builtin_ia32_cvtpi2ps (__r, __hisi);
__r = __builtin_ia32_movlhps (__r, __r);
__r = __builtin_ia32_cvtpi2ps (__r, __losi);
return (__m128) __r;
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpu16_ps (__m64 __A)
{
__v2si __hisi, __losi;
__v4sf __r;
__hisi = (__v2si) __builtin_ia32_punpckhwd ((__v4hi)__A, (__v4hi)0LL);
__losi = (__v2si) __builtin_ia32_punpcklwd ((__v4hi)__A, (__v4hi)0LL);
__r = (__v4sf) _mm_setzero_ps ();
__r = __builtin_ia32_cvtpi2ps (__r, __hisi);
__r = __builtin_ia32_movlhps (__r, __r);
__r = __builtin_ia32_cvtpi2ps (__r, __losi);
return (__m128) __r;
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpi8_ps (__m64 __A)
{
__v8qi __sign;
__sign = __builtin_ia32_pcmpgtb ((__v8qi)0LL, (__v8qi)__A);
__A = (__m64) __builtin_ia32_punpcklbw ((__v8qi)__A, __sign);
return _mm_cvtpi16_ps(__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpu8_ps(__m64 __A)
{
__A = (__m64) __builtin_ia32_punpcklbw ((__v8qi)__A, (__v8qi)0LL);
return _mm_cvtpu16_ps(__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpi32x2_ps(__m64 __A, __m64 __B)
{
__v4sf __zero = (__v4sf) _mm_setzero_ps ();
__v4sf __sfa = __builtin_ia32_cvtpi2ps (__zero, (__v2si)__A);
__v4sf __sfb = __builtin_ia32_cvtpi2ps (__zero, (__v2si)__B);
return (__m128) __builtin_ia32_movlhps (__sfa, __sfb);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtps_pi16(__m128 __A)
{
__v4sf __hisf = (__v4sf)__A;
__v4sf __losf = __builtin_ia32_movhlps (__hisf, __hisf);
__v2si __hisi = __builtin_ia32_cvtps2pi (__hisf);
__v2si __losi = __builtin_ia32_cvtps2pi (__losf);
return (__m64) __builtin_ia32_packssdw (__hisi, __losi);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtps_pi8(__m128 __A)
{
__v4hi __tmp = (__v4hi) _mm_cvtps_pi16 (__A);
return (__m64) __builtin_ia32_packsswb (__tmp, (__v4hi)0LL);
}
# 729 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _mm_shuffle_ps(A,B,MASK) ((__m128) __builtin_ia32_shufps ((__v4sf)(A), (__v4sf)(B), (MASK)))
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_unpckhps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_unpcklps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_loadh_pi (__m128 __A, __m64 const *__P)
{
return (__m128) __builtin_ia32_loadhps ((__v4sf)__A, (__v2si *)__P);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storeh_pi (__m64 *__P, __m128 __A)
{
__builtin_ia32_storehps ((__v2si *)__P, (__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_movehl_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movhlps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_movelh_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movlhps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_loadl_pi (__m128 __A, __m64 const *__P)
{
return (__m128) __builtin_ia32_loadlps ((__v4sf)__A, (__v2si *)__P);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storel_pi (__m64 *__P, __m128 __A)
{
__builtin_ia32_storelps ((__v2si *)__P, (__v4sf)__A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_movemask_ps (__m128 __A)
{
return __builtin_ia32_movmskps ((__v4sf)__A);
}
static __inline unsigned int __attribute__((__always_inline__, __nodebug__))
_mm_getcsr (void)
{
return __builtin_ia32_stmxcsr ();
}
static __inline unsigned int __attribute__((__always_inline__, __nodebug__))
_MM_GET_EXCEPTION_STATE (void)
{
return _mm_getcsr() & 0x003f;
}
static __inline unsigned int __attribute__((__always_inline__, __nodebug__))
_MM_GET_EXCEPTION_MASK (void)
{
return _mm_getcsr() & 0x1f80;
}
static __inline unsigned int __attribute__((__always_inline__, __nodebug__))
_MM_GET_ROUNDING_MODE (void)
{
return _mm_getcsr() & 0x6000;
}
static __inline unsigned int __attribute__((__always_inline__, __nodebug__))
_MM_GET_FLUSH_ZERO_MODE (void)
{
return _mm_getcsr() & 0x8000;
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_setcsr (unsigned int __I)
{
__builtin_ia32_ldmxcsr (__I);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_MM_SET_EXCEPTION_STATE(unsigned int __mask)
{
_mm_setcsr((_mm_getcsr() & ~0x003f) | __mask);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_MM_SET_EXCEPTION_MASK (unsigned int __mask)
{
_mm_setcsr((_mm_getcsr() & ~0x1f80) | __mask);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_MM_SET_ROUNDING_MODE (unsigned int __mode)
{
_mm_setcsr((_mm_getcsr() & ~0x6000) | __mode);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_MM_SET_FLUSH_ZERO_MODE (unsigned int __mode)
{
_mm_setcsr((_mm_getcsr() & ~0x8000) | __mode);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_set_ss (float __F)
{
return __extension__ (__m128)(__v4sf){ __F, 0, 0, 0 };
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_set1_ps (float __F)
{
return __extension__ (__m128)(__v4sf){ __F, __F, __F, __F };
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_set_ps1 (float __F)
{
return _mm_set1_ps (__F);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_load_ss (float const *__P)
{
return _mm_set_ss (*__P);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_load1_ps (float const *__P)
{
return _mm_set1_ps (*__P);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_load_ps1 (float const *__P)
{
return _mm_load1_ps (__P);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_load_ps (float const *__P)
{
return (__m128) *(__v4sf *)__P;
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_loadu_ps (float const *__P)
{
return (__m128) __builtin_ia32_loadups (__P);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_loadr_ps (float const *__P)
{
__v4sf __tmp = *(__v4sf *)__P;
return (__m128) __builtin_ia32_shufps (__tmp, __tmp, (((0) << 6) | ((1) << 4) | ((2) << 2) | (3)));
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_set_ps (const float __Z, const float __Y, const float __X, const float __W)
{
return __extension__ (__m128)(__v4sf){ __W, __X, __Y, __Z };
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_setr_ps (float __Z, float __Y, float __X, float __W)
{
return __extension__ (__m128)(__v4sf){ __Z, __Y, __X, __W };
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_ss (float *__P, __m128 __A)
{
*__P = __builtin_ia32_vec_ext_v4sf ((__v4sf)__A, 0);
}
static __inline float __attribute__((__always_inline__, __nodebug__))
_mm_cvtss_f32 (__m128 __A)
{
return __builtin_ia32_vec_ext_v4sf ((__v4sf)__A, 0);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_ps (float *__P, __m128 __A)
{
*(__v4sf *)__P = (__v4sf)__A;
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storeu_ps (float *__P, __m128 __A)
{
__builtin_ia32_storeups (__P, (__v4sf)__A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store1_ps (float *__P, __m128 __A)
{
__v4sf __va = (__v4sf)__A;
__v4sf __tmp = __builtin_ia32_shufps (__va, __va, (((0) << 6) | ((0) << 4) | ((0) << 2) | (0)));
_mm_storeu_ps (__P, __tmp);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_ps1 (float *__P, __m128 __A)
{
_mm_store1_ps (__P, __A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storer_ps (float *__P, __m128 __A)
{
__v4sf __va = (__v4sf)__A;
__v4sf __tmp = __builtin_ia32_shufps (__va, __va, (((0) << 6) | ((1) << 4) | ((2) << 2) | (3)));
_mm_store_ps (__P, __tmp);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_move_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movss ((__v4sf)__A, (__v4sf)__B);
}
# 1011 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _mm_extract_pi16(A,N) __builtin_ia32_vec_ext_v4hi ((__v4hi)(A), (N))
#define _m_pextrw(A,N) _mm_extract_pi16((A), (N))
# 1030 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _mm_insert_pi16(A,D,N) ((__m64) __builtin_ia32_vec_set_v4hi ((__v4hi)(A), (D), (N)))
#define _m_pinsrw(A,D,N) _mm_insert_pi16((A), (D), (N))
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_max_pi16 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pmaxsw ((__v4hi)__A, (__v4hi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmaxsw (__m64 __A, __m64 __B)
{
return _mm_max_pi16 (__A, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_max_pu8 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pmaxub ((__v8qi)__A, (__v8qi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmaxub (__m64 __A, __m64 __B)
{
return _mm_max_pu8 (__A, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_min_pi16 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pminsw ((__v4hi)__A, (__v4hi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pminsw (__m64 __A, __m64 __B)
{
return _mm_min_pi16 (__A, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_min_pu8 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pminub ((__v8qi)__A, (__v8qi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pminub (__m64 __A, __m64 __B)
{
return _mm_min_pu8 (__A, __B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_movemask_pi8 (__m64 __A)
{
return __builtin_ia32_pmovmskb ((__v8qi)__A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_m_pmovmskb (__m64 __A)
{
return _mm_movemask_pi8 (__A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_mulhi_pu16 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pmulhuw ((__v4hi)__A, (__v4hi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmulhuw (__m64 __A, __m64 __B)
{
return _mm_mulhi_pu16 (__A, __B);
}
# 1129 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _mm_shuffle_pi16(A,N) ((__m64) __builtin_ia32_pshufw ((__v4hi)(A), (N)))
#define _m_pshufw(A,N) _mm_shuffle_pi16 ((A), (N))
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_maskmove_si64 (__m64 __A, __m64 __N, char *__P)
{
__builtin_ia32_maskmovq ((__v8qi)__A, (__v8qi)__N, __P);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_m_maskmovq (__m64 __A, __m64 __N, char *__P)
{
_mm_maskmove_si64 (__A, __N, __P);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_avg_pu8 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pavgb ((__v8qi)__A, (__v8qi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pavgb (__m64 __A, __m64 __B)
{
return _mm_avg_pu8 (__A, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_avg_pu16 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pavgw ((__v4hi)__A, (__v4hi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pavgw (__m64 __A, __m64 __B)
{
return _mm_avg_pu16 (__A, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sad_pu8 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_psadbw ((__v8qi)__A, (__v8qi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psadbw (__m64 __A, __m64 __B)
{
return _mm_sad_pu8 (__A, __B);
}
# 1199 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _mm_prefetch(P,I) __builtin_prefetch ((P), 0, (I))
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_stream_pi (__m64 *__P, __m64 __A)
{
__builtin_ia32_movntq (__P, __A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_stream_ps (float *__P, __m128 __A)
{
__builtin_ia32_movntps (__P, (__v4sf)__A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_sfence (void)
{
__builtin_ia32_sfence ();
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_pause (void)
{
__asm__ __volatile__ ("rep; nop" : : );
}
#define _MM_TRANSPOSE4_PS(row0,row1,row2,row3) do { __v4sf __r0 = (row0), __r1 = (row1), __r2 = (row2), __r3 = (row3); __v4sf __t0 = __builtin_ia32_unpcklps (__r0, __r1); __v4sf __t1 = __builtin_ia32_unpcklps (__r2, __r3); __v4sf __t2 = __builtin_ia32_unpckhps (__r0, __r1); __v4sf __t3 = __builtin_ia32_unpckhps (__r2, __r3); (row0) = __builtin_ia32_movlhps (__t0, __t1); (row1) = __builtin_ia32_movhlps (__t1, __t0); (row2) = __builtin_ia32_movlhps (__t2, __t3); (row3) = __builtin_ia32_movhlps (__t3, __t2); } while (0)
# 1253 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#undef __always_inline__
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
#define _EMMINTRIN_H_INCLUDED
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 1 3 4
# 36 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 2 3 4
typedef double __v2df __attribute__ ((__vector_size__ (16)));
typedef long long __v2di __attribute__ ((__vector_size__ (16)));
typedef int __v4si __attribute__ ((__vector_size__ (16)));
typedef short __v8hi __attribute__ ((__vector_size__ (16)));
typedef char __v16qi __attribute__ ((__vector_size__ (16)));
typedef __v2di __m128i;
typedef __v2df __m128d;
#define _MM_SHUFFLE2(fp1,fp0) (((fp1) << 1) | (fp0))
#define __always_inline__ __always_inline__, __nodebug__
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_set_sd (double __F)
{
return __extension__ (__m128d){ __F, 0 };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_set1_pd (double __F)
{
return __extension__ (__m128d){ __F, __F };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_set_pd1 (double __F)
{
return _mm_set1_pd (__F);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_set_pd (double __W, double __X)
{
return __extension__ (__m128d){ __X, __W };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_setr_pd (double __W, double __X)
{
return __extension__ (__m128d){ __W, __X };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_setzero_pd (void)
{
return __extension__ (__m128d){ 0.0, 0.0 };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_move_sd (__m128d __A, __m128d __B)
{
return (__m128d) __builtin_ia32_movsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_load_pd (double const *__P)
{
return *(__m128d *)__P;
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_loadu_pd (double const *__P)
{
return __builtin_ia32_loadupd (__P);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_load1_pd (double const *__P)
{
return _mm_set1_pd (*__P);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_load_sd (double const *__P)
{
return _mm_set_sd (*__P);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_load_pd1 (double const *__P)
{
return _mm_load1_pd (__P);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_loadr_pd (double const *__P)
{
__m128d __tmp = _mm_load_pd (__P);
return __builtin_ia32_shufpd (__tmp, __tmp, (((0) << 1) | (1)));
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_pd (double *__P, __m128d __A)
{
*(__m128d *)__P = __A;
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storeu_pd (double *__P, __m128d __A)
{
__builtin_ia32_storeupd (__P, __A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_sd (double *__P, __m128d __A)
{
*__P = __builtin_ia32_vec_ext_v2df (__A, 0);
}
static __inline double __attribute__((__always_inline__, __nodebug__))
_mm_cvtsd_f64 (__m128d __A)
{
return __builtin_ia32_vec_ext_v2df (__A, 0);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storel_pd (double *__P, __m128d __A)
{
_mm_store_sd (__P, __A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storeh_pd (double *__P, __m128d __A)
{
*__P = __builtin_ia32_vec_ext_v2df (__A, 1);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store1_pd (double *__P, __m128d __A)
{
_mm_store_pd (__P, __builtin_ia32_shufpd (__A, __A, (((0) << 1) | (0))));
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_pd1 (double *__P, __m128d __A)
{
_mm_store1_pd (__P, __A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storer_pd (double *__P, __m128d __A)
{
_mm_store_pd (__P, __builtin_ia32_shufpd (__A, __A, (((0) << 1) | (1))));
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi128_si32 (__m128i __A)
{
return __builtin_ia32_vec_ext_v4si ((__v4si)__A, 0);
}
# 229 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_add_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_addpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_add_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_addsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_sub_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_subpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_sub_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_subsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_mul_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_mulpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_mul_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_mulsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_div_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_divpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_div_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_divsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_sqrt_pd (__m128d __A)
{
return (__m128d)__builtin_ia32_sqrtpd ((__v2df)__A);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_sqrt_sd (__m128d __A, __m128d __B)
{
__v2df __tmp = __builtin_ia32_movsd ((__v2df)__A, (__v2df)__B);
return (__m128d)__builtin_ia32_sqrtsd ((__v2df)__tmp);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_min_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_minpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_min_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_minsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_max_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_maxpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_max_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_maxsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_and_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_andpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_andnot_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_andnpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_or_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_orpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_xor_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_xorpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpeqpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpltpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmple_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmplepd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpgtpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpge_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpgepd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpneq_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpneqpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnlt_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpnltpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnle_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpnlepd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpngt_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpngtpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnge_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpngepd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpord_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpordpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpunord_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpunordpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpeqsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpltsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmple_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmplesd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_sd (__m128d __A, __m128d __B)
{
return (__m128d) __builtin_ia32_movsd ((__v2df) __A,
(__v2df)
__builtin_ia32_cmpltsd ((__v2df) __B,
(__v2df)
__A));
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpge_sd (__m128d __A, __m128d __B)
{
return (__m128d) __builtin_ia32_movsd ((__v2df) __A,
(__v2df)
__builtin_ia32_cmplesd ((__v2df) __B,
(__v2df)
__A));
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpneq_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpneqsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnlt_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpnltsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnle_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpnlesd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpngt_sd (__m128d __A, __m128d __B)
{
return (__m128d) __builtin_ia32_movsd ((__v2df) __A,
(__v2df)
__builtin_ia32_cmpnltsd ((__v2df) __B,
(__v2df)
__A));
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnge_sd (__m128d __A, __m128d __B)
{
return (__m128d) __builtin_ia32_movsd ((__v2df) __A,
(__v2df)
__builtin_ia32_cmpnlesd ((__v2df) __B,
(__v2df)
__A));
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpord_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpordsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpunord_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpunordsd ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comieq_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdeq ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comilt_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdlt ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comile_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdle ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comigt_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdgt ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comige_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdge ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comineq_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdneq ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomieq_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdeq ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomilt_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdlt ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomile_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdle ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomigt_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdgt ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomige_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdge ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomineq_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdneq ((__v2df)__A, (__v2df)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set_epi64x (long long __q1, long long __q0)
{
return __extension__ (__m128i)(__v2di){ __q0, __q1 };
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set_epi64 (__m64 __q1, __m64 __q0)
{
return _mm_set_epi64x ((long long)__q1, (long long)__q0);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set_epi32 (int __q3, int __q2, int __q1, int __q0)
{
return __extension__ (__m128i)(__v4si){ __q0, __q1, __q2, __q3 };
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set_epi16 (short __q7, short __q6, short __q5, short __q4,
short __q3, short __q2, short __q1, short __q0)
{
return __extension__ (__m128i)(__v8hi){
__q0, __q1, __q2, __q3, __q4, __q5, __q6, __q7 };
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set_epi8 (char __q15, char __q14, char __q13, char __q12,
char __q11, char __q10, char __q09, char __q08,
char __q07, char __q06, char __q05, char __q04,
char __q03, char __q02, char __q01, char __q00)
{
return __extension__ (__m128i)(__v16qi){
__q00, __q01, __q02, __q03, __q04, __q05, __q06, __q07,
__q08, __q09, __q10, __q11, __q12, __q13, __q14, __q15
};
}
# 618 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_setr_epi64 (__m64 __q0, __m64 __q1)
{
return _mm_set_epi64 (__q1, __q0);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_setr_epi32 (int __q0, int __q1, int __q2, int __q3)
{
return _mm_set_epi32 (__q3, __q2, __q1, __q0);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_setr_epi16 (short __q0, short __q1, short __q2, short __q3,
short __q4, short __q5, short __q6, short __q7)
{
return _mm_set_epi16 (__q7, __q6, __q5, __q4, __q3, __q2, __q1, __q0);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_setr_epi8 (char __q00, char __q01, char __q02, char __q03,
char __q04, char __q05, char __q06, char __q07,
char __q08, char __q09, char __q10, char __q11,
char __q12, char __q13, char __q14, char __q15)
{
return _mm_set_epi8 (__q15, __q14, __q13, __q12, __q11, __q10, __q09, __q08,
__q07, __q06, __q05, __q04, __q03, __q02, __q01, __q00);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_load_si128 (__m128i const *__P)
{
return *__P;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_loadu_si128 (__m128i const *__P)
{
return (__m128i) __builtin_ia32_loaddqu ((char const *)__P);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_loadl_epi64 (__m128i const *__P)
{
return (__m128i)__builtin_ia32_loadlv4si ((__v2si *)__P);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_si128 (__m128i *__P, __m128i __B)
{
*__P = __B;
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storeu_si128 (__m128i *__P, __m128i __B)
{
__builtin_ia32_storedqu ((char *)__P, (__v16qi)__B);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storel_epi64 (__m128i *__P, __m128i __B)
{
__builtin_ia32_storelv4si ((__v2si *)__P, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_movepi64_pi64 (__m128i __B)
{
return (__m64) __builtin_ia32_vec_ext_v2di ((__v2di)__B, 0);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_movpi64_epi64 (__m64 __A)
{
return _mm_set_epi64 ((__m64)0LL, __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_move_epi64 (__m128i __A)
{
return (__m128i)__builtin_ia32_movqv4si ((__v4si)__A) ;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_setzero_si128 (void)
{
return __extension__ (__m128i)(__v4si){ 0, 0, 0, 0 };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtepi32_pd (__m128i __A)
{
return (__m128d)__builtin_ia32_cvtdq2pd ((__v4si) __A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtepi32_ps (__m128i __A)
{
return (__m128)__builtin_ia32_cvtdq2ps ((__v4si) __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvtpd_epi32 (__m128d __A)
{
return (__m128i)__builtin_ia32_cvtpd2dq ((__v2df) __A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpd_pi32 (__m128d __A)
{
return (__m64)__builtin_ia32_cvtpd2pi ((__v2df) __A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpd_ps (__m128d __A)
{
return (__m128)__builtin_ia32_cvtpd2ps ((__v2df) __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvttpd_epi32 (__m128d __A)
{
return (__m128i)__builtin_ia32_cvttpd2dq ((__v2df) __A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvttpd_pi32 (__m128d __A)
{
return (__m64)__builtin_ia32_cvttpd2pi ((__v2df) __A);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtpi32_pd (__m64 __A)
{
return (__m128d)__builtin_ia32_cvtpi2pd ((__v2si) __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvtps_epi32 (__m128 __A)
{
return (__m128i)__builtin_ia32_cvtps2dq ((__v4sf) __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvttps_epi32 (__m128 __A)
{
return (__m128i)__builtin_ia32_cvttps2dq ((__v4sf) __A);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtps_pd (__m128 __A)
{
return (__m128d)__builtin_ia32_cvtps2pd ((__v4sf) __A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvtsd_si32 (__m128d __A)
{
return __builtin_ia32_cvtsd2si ((__v2df) __A);
}
# 804 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvttsd_si32 (__m128d __A)
{
return __builtin_ia32_cvttsd2si ((__v2df) __A);
}
# 826 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtsd_ss (__m128 __A, __m128d __B)
{
return (__m128)__builtin_ia32_cvtsd2ss ((__v4sf) __A, (__v2df) __B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi32_sd (__m128d __A, int __B)
{
return (__m128d)__builtin_ia32_cvtsi2sd ((__v2df) __A, __B);
}
# 854 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtss_sd (__m128d __A, __m128 __B)
{
return (__m128d)__builtin_ia32_cvtss2sd ((__v2df) __A, (__v4sf)__B);
}
#define _mm_shuffle_pd(__A,__B,__C) ((__m128d)__builtin_ia32_shufpd ((__v2df)__A, (__v2df)__B, (__C)))
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_unpckhpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_unpcklpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_loadh_pd (__m128d __A, double const *__B)
{
return (__m128d)__builtin_ia32_loadhpd ((__v2df)__A, __B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_loadl_pd (__m128d __A, double const *__B)
{
return (__m128d)__builtin_ia32_loadlpd ((__v2df)__A, __B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_movemask_pd (__m128d __A)
{
return __builtin_ia32_movmskpd ((__v2df)__A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_packs_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_packsswb128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_packs_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_packssdw128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_packus_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_packuswb128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpckhbw128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpckhwd128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpckhdq128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_epi64 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpckhqdq128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpcklbw128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpcklwd128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpckldq128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_epi64 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpcklqdq128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_add_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_add_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_add_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddd128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_add_epi64 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddq128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_adds_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddsb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_adds_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddsw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_adds_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddusb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_adds_epu16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddusw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sub_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sub_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sub_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubd128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sub_epi64 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubq128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_subs_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubsb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_subs_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubsw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_subs_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubusb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_subs_epu16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubusw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_madd_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmaddwd128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_mulhi_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmulhw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_mullo_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmullw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_mul_su32 (__m64 __A, __m64 __B)
{
return (__m64)__builtin_ia32_pmuludq ((__v2si)__A, (__v2si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_mul_epu32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmuludq128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_slli_epi16 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psllwi128 ((__v8hi)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_slli_epi32 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_pslldi128 ((__v4si)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_slli_epi64 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psllqi128 ((__v2di)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srai_epi16 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psrawi128 ((__v8hi)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srai_epi32 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psradi128 ((__v4si)__A, __B);
}
# 1127 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
#define _mm_srli_si128(__A,__B) ((__m128i)__builtin_ia32_psrldqi128 (__A, (__B) * 8))
#define _mm_slli_si128(__A,__B) ((__m128i)__builtin_ia32_pslldqi128 (__A, (__B) * 8))
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srli_epi16 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psrlwi128 ((__v8hi)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srli_epi32 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psrldi128 ((__v4si)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srli_epi64 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psrlqi128 ((__v2di)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sll_epi16 (__m128i __A, __m128i __B)
{
return _mm_slli_epi16 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sll_epi32 (__m128i __A, __m128i __B)
{
return _mm_slli_epi32 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sll_epi64 (__m128i __A, __m128i __B)
{
return _mm_slli_epi64 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sra_epi16 (__m128i __A, __m128i __B)
{
return _mm_srai_epi16 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sra_epi32 (__m128i __A, __m128i __B)
{
return _mm_srai_epi32 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srl_epi16 (__m128i __A, __m128i __B)
{
return _mm_srli_epi16 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srl_epi32 (__m128i __A, __m128i __B)
{
return _mm_srli_epi32 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srl_epi64 (__m128i __A, __m128i __B)
{
return _mm_srli_epi64 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_and_si128 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pand128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_andnot_si128 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pandn128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_or_si128 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_por128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_xor_si128 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pxor128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpeqb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpeqw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpeqd128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtb128 ((__v16qi)__B, (__v16qi)__A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtw128 ((__v8hi)__B, (__v8hi)__A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtd128 ((__v4si)__B, (__v4si)__A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtd128 ((__v4si)__A, (__v4si)__B);
}
# 1290 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
#define _mm_extract_epi16(A,N) ((int) __builtin_ia32_vec_ext_v8hi ((__v8hi)(A), (N)))
#define _mm_insert_epi16(A,D,N) ((__m128i) __builtin_ia32_vec_set_v8hi ((__v8hi)(A), (D), (N)))
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_max_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmaxsw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_max_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmaxub128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_min_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pminsw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_min_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pminub128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_movemask_epi8 (__m128i __A)
{
return __builtin_ia32_pmovmskb128 ((__v16qi)__A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_mulhi_epu16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmulhuw128 ((__v8hi)__A, (__v8hi)__B);
}
#define _mm_shufflehi_epi16(__A,__B) ((__m128i)__builtin_ia32_pshufhw ((__v8hi)__A, __B))
#define _mm_shufflelo_epi16(__A,__B) ((__m128i)__builtin_ia32_pshuflw ((__v8hi)__A, __B))
#define _mm_shuffle_epi32(__A,__B) ((__m128i)__builtin_ia32_pshufd ((__v4si)__A, __B))
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_maskmoveu_si128 (__m128i __A, __m128i __B, char *__C)
{
__builtin_ia32_maskmovdqu ((__v16qi)__A, (__v16qi)__B, __C);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_avg_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pavgb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_avg_epu16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pavgw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sad_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psadbw128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_stream_si32 (int *__A, int __B)
{
__builtin_ia32_movnti (__A, __B);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_stream_si128 (__m128i *__A, __m128i __B)
{
__builtin_ia32_movntdq ((__v2di *)__A, (__v2di)__B);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_stream_pd (double *__A, __m128d __B)
{
__builtin_ia32_movntpd (__A, (__v2df)__B);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_clflush (void const *__A)
{
__builtin_ia32_clflush (__A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_lfence (void)
{
__builtin_ia32_lfence ();
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_mfence (void)
{
__builtin_ia32_mfence ();
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi32_si128 (int __A)
{
return _mm_set_epi32 (0, 0, 0, __A);
}
# 1420 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_castpd_ps(__m128d __A)
{
return (__m128) __A;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_castpd_si128(__m128d __A)
{
return (__m128i) __A;
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_castps_pd(__m128 __A)
{
return (__m128d) __A;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_castps_si128(__m128 __A)
{
return (__m128i) __A;
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_castsi128_ps(__m128i __A)
{
return (__m128) __A;
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_castsi128_pd(__m128i __A)
{
return (__m128d) __A;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set1_epi64x (long long __A)
{
return _mm_set_epi64x (__A, __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set1_epi64 (__m64 __A)
{
return _mm_set_epi64 (__A, __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set1_epi32 (int __A)
{
return _mm_set_epi32 (__A, __A, __A, __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set1_epi16 (short __A)
{
__m128i temp, temp2, temp3;
temp = _mm_cvtsi32_si128((int)__A);
temp2 = _mm_unpacklo_epi16(temp, temp);
temp3 = ((__m128i)__builtin_ia32_pshufd ((__v4si)temp2, 0));
return temp3;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set1_epi8 (char __A)
{
__m128i temp, temp2, temp3, temp4;
temp = _mm_cvtsi32_si128 ((int)__A);
temp2 = _mm_unpacklo_epi8 (temp, temp);
temp3 = _mm_unpacklo_epi8 (temp2, temp2);
temp4 = ((__m128i)__builtin_ia32_pshufd ((__v4si)temp3, 0));
return temp4;
}
#undef __always_inline__
# 1258 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 2 3 4
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 2 3
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
#pragma options align=power
typedef struct OpaqueAreaID* AreaID;
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
struct MachineInformationPowerPC {
UnsignedWide CTR;
UnsignedWide LR;
UnsignedWide PC;
unsigned long CRRegister;
unsigned long XER;
unsigned long MSR;
unsigned long MQ;
unsigned long ExceptKind;
unsigned long DSISR;
UnsignedWide DAR;
UnsignedWide Reserved;
};
typedef struct MachineInformationPowerPC MachineInformationPowerPC;
struct RegisterInformationPowerPC {
UnsignedWide R0;
UnsignedWide R1;
UnsignedWide R2;
UnsignedWide R3;
UnsignedWide R4;
UnsignedWide R5;
UnsignedWide R6;
UnsignedWide R7;
UnsignedWide R8;
UnsignedWide R9;
UnsignedWide R10;
UnsignedWide R11;
UnsignedWide R12;
UnsignedWide R13;
UnsignedWide R14;
UnsignedWide R15;
UnsignedWide R16;
UnsignedWide R17;
UnsignedWide R18;
UnsignedWide R19;
UnsignedWide R20;
UnsignedWide R21;
UnsignedWide R22;
UnsignedWide R23;
UnsignedWide R24;
UnsignedWide R25;
UnsignedWide R26;
UnsignedWide R27;
UnsignedWide R28;
UnsignedWide R29;
UnsignedWide R30;
UnsignedWide R31;
};
typedef struct RegisterInformationPowerPC RegisterInformationPowerPC;
struct FPUInformationPowerPC {
UnsignedWide Registers[32];
unsigned long FPSCR;
unsigned long Reserved;
};
typedef struct FPUInformationPowerPC FPUInformationPowerPC;
union Vector128 {
unsigned long l[4];
unsigned short s[8];
unsigned char c[16];
};
typedef union Vector128 Vector128;
struct VectorInformationPowerPC {
Vector128 Registers[32];
Vector128 VSCR;
UInt32 VRsave;
};
typedef struct VectorInformationPowerPC VectorInformationPowerPC;
enum {
kWriteReference = 0,
kReadReference = 1,
kFetchReference = 2,
writeReference = kWriteReference,
readReference = kReadReference,
fetchReference = kFetchReference
};
typedef unsigned long MemoryReferenceKind;
struct MemoryExceptionInformation {
AreaID theArea;
LogicalAddress theAddress;
OSStatus theError;
MemoryReferenceKind theReference;
};
typedef struct MemoryExceptionInformation MemoryExceptionInformation;
enum {
kUnknownException = 0,
kIllegalInstructionException = 1,
kTrapException = 2,
kAccessException = 3,
kUnmappedMemoryException = 4,
kExcludedMemoryException = 5,
kReadOnlyMemoryException = 6,
kUnresolvablePageFaultException = 7,
kPrivilegeViolationException = 8,
kTraceException = 9,
kInstructionBreakpointException = 10,
kDataBreakpointException = 11,
kIntegerException = 12,
kFloatingPointException = 13,
kStackOverflowException = 14,
kTaskTerminationException = 15,
kTaskCreationException = 16,
kDataAlignmentException = 17
};
# 192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
typedef unsigned long ExceptionKind;
union ExceptionInfo {
MemoryExceptionInformation * memoryInfo;
};
typedef union ExceptionInfo ExceptionInfo;
struct ExceptionInformationPowerPC {
ExceptionKind theKind;
MachineInformationPowerPC * machineState;
RegisterInformationPowerPC * registerImage;
FPUInformationPowerPC * FPUImage;
ExceptionInfo info;
VectorInformationPowerPC * vectorImage;
};
typedef struct ExceptionInformationPowerPC ExceptionInformationPowerPC;
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
union Vector128Intel {
__m128 s;
__m128i si;
__m128d sd;
unsigned char c[16];
};
typedef union Vector128Intel Vector128Intel;
struct MachineInformationIntel {
unsigned long CS;
unsigned long DS;
unsigned long SS;
unsigned long ES;
unsigned long FS;
unsigned long GS;
unsigned long EFLAGS;
unsigned long EIP;
unsigned long ExceptTrap;
unsigned long ExceptErr;
unsigned long ExceptAddr;
};
typedef struct MachineInformationIntel MachineInformationIntel;
struct RegisterInformationIntel {
unsigned long EAX;
unsigned long EBX;
unsigned long ECX;
unsigned long EDX;
unsigned long ESI;
unsigned long EDI;
unsigned long EBP;
unsigned long ESP;
};
typedef struct RegisterInformationIntel RegisterInformationIntel;
typedef unsigned char FPRegIntel[10];
struct FPUInformationIntel {
FPRegIntel Registers[8];
unsigned short Control;
unsigned short Status;
unsigned short Tag;
unsigned short Opcode;
unsigned int EIP;
unsigned int DP;
unsigned int DS;
};
typedef struct FPUInformationIntel FPUInformationIntel;
struct VectorInformationIntel {
Vector128Intel Registers[8];
};
typedef struct VectorInformationIntel VectorInformationIntel;
typedef MachineInformationIntel MachineInformation;
typedef RegisterInformationIntel RegisterInformation;
typedef FPUInformationIntel FPUInformation;
typedef VectorInformationIntel VectorInformation;
# 330 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
struct ExceptionInformation {
ExceptionKind theKind;
MachineInformation * machineState;
RegisterInformation * registerImage;
FPUInformation * FPUImage;
ExceptionInfo info;
VectorInformation * vectorImage;
};
typedef struct ExceptionInformation ExceptionInformation;
# 347 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
typedef OSStatus ( * ExceptionHandlerProcPtr)(ExceptionInformation * theException);
typedef ExceptionHandlerProcPtr ExceptionHandlerUPP;
# 357 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
extern ExceptionHandlerUPP
NewExceptionHandlerUPP(ExceptionHandlerProcPtr userRoutine) ;
# 368 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
extern void
DisposeExceptionHandlerUPP(ExceptionHandlerUPP userUPP) ;
# 379 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
extern OSStatus
InvokeExceptionHandlerUPP(
ExceptionInformation * theException,
ExceptionHandlerUPP userUPP) ;
#define NewExceptionHandlerUPP(userRoutine) ((ExceptionHandlerUPP)userRoutine)
#define DisposeExceptionHandlerUPP(userUPP)
#define InvokeExceptionHandlerUPP(theException,userUPP) (*userUPP)(theException)
# 404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
typedef ExceptionHandlerUPP ExceptionHandlerTPP;
typedef ExceptionHandlerTPP ExceptionHandler;
# 415 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
extern ExceptionHandlerTPP InstallExceptionHandler(ExceptionHandlerTPP theHandler) ;
#pragma options align=reset
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 2 3
# 51 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
#pragma options align=power
enum {
durationMicrosecond = -1L,
durationMillisecond = 1L,
durationSecond = 1000L,
durationMinute = 60000L,
durationHour = 3600000L,
durationDay = 86400000L,
durationNoWait = 0L,
durationForever = 0x7FFFFFFF
};
typedef UnsignedWide Nanoseconds;
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
UpTime(void) ;
# 98 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Nanoseconds
AbsoluteToNanoseconds(AbsoluteTime absoluteTime) ;
# 110 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Duration
AbsoluteToDuration(AbsoluteTime absoluteTime) ;
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
NanosecondsToAbsolute(Nanoseconds nanoseconds) ;
# 134 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
DurationToAbsolute(Duration duration) ;
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
AddAbsoluteToAbsolute(
AbsoluteTime absoluteTime1,
AbsoluteTime absoluteTime2) ;
# 160 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
SubAbsoluteFromAbsolute(
AbsoluteTime leftAbsoluteTime,
AbsoluteTime rightAbsoluteTime) ;
# 174 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
AddNanosecondsToAbsolute(
Nanoseconds nanoseconds,
AbsoluteTime absoluteTime) ;
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
AddDurationToAbsolute(
Duration duration,
AbsoluteTime absoluteTime) ;
# 202 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
SubNanosecondsFromAbsolute(
Nanoseconds nanoseconds,
AbsoluteTime absoluteTime) ;
# 216 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
SubDurationFromAbsolute(
Duration duration,
AbsoluteTime absoluteTime) ;
# 230 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Nanoseconds
AbsoluteDeltaToNanoseconds(
AbsoluteTime leftAbsoluteTime,
AbsoluteTime rightAbsoluteTime) ;
# 244 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Duration
AbsoluteDeltaToDuration(
AbsoluteTime leftAbsoluteTime,
AbsoluteTime rightAbsoluteTime) ;
# 258 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Nanoseconds
DurationToNanoseconds(Duration theDuration) ;
# 270 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Duration
NanosecondsToDuration(Nanoseconds theNanoseconds) ;
#pragma options align=reset
# 126 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
#define __NUMBERFORMATTING__
# 44 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
#pragma pack(push, 2)
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
struct NumFormatString {
UInt8 fLength;
UInt8 fVersion;
char data[254];
};
typedef struct NumFormatString NumFormatString;
typedef NumFormatString NumFormatStringRec;
typedef short FormatStatus;
enum {
fVNumber = 0
};
typedef SInt8 FormatClass;
enum {
fPositive = 0,
fNegative = 1,
fZero = 2
};
typedef SInt8 FormatResultType;
enum {
fFormatOK = 0,
fBestGuess = 1,
fOutOfSynch = 2,
fSpuriousChars = 3,
fMissingDelimiter = 4,
fExtraDecimal = 5,
fMissingLiteral = 6,
fExtraExp = 7,
fFormatOverflow = 8,
fFormStrIsNAN = 9,
fBadPartsTable = 10,
fExtraPercent = 11,
fExtraSeparator = 12,
fEmptyFormatString = 13
};
struct FVector {
short start;
short length;
};
typedef struct FVector FVector;
typedef FVector TripleInt[3];
# 124 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
extern void
numtostring(
long theNum,
char * theString) ;
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
extern void
StringToNum(
ConstStr255Param theString,
long * theNum) __attribute__((deprecated));
# 167 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
extern void
NumToString(
long theNum,
Str255 theString) __attribute__((deprecated));
# 191 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
extern FormatStatus
ExtendedToString(
const extended80 * x,
const NumFormatString * myCanonical,
const NumberParts * partsTable,
Str255 outString) __attribute__((deprecated));
# 214 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
extern FormatStatus
StringToExtended(
ConstStr255Param source,
const NumFormatString * myCanonical,
const NumberParts * partsTable,
extended80 * x) __attribute__((deprecated));
# 237 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
extern FormatStatus
StringToFormatRec(
ConstStr255Param inString,
const NumberParts * partsTable,
NumFormatString * outString) __attribute__((deprecated));
# 259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
extern FormatStatus
FormatRecToString(
const NumFormatString * myCanonical,
const NumberParts * partsTable,
Str255 outString,
TripleInt positions) __attribute__((deprecated));
# 282 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
#pragma pack(pop)
# 134 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
#define __STRINGCOMPARE__
# 77 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
enum {
systemCurLang = -2,
systemDefLang = -3,
currentCurLang = -4,
currentDefLang = -5,
scriptCurLang = -6,
scriptDefLang = -7
};
enum {
iuSystemCurLang = systemCurLang,
iuSystemDefLang = systemDefLang,
iuCurrentCurLang = currentCurLang,
iuCurrentDefLang = currentDefLang,
iuScriptCurLang = scriptCurLang,
iuScriptDefLang = scriptDefLang
};
# 118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
#define MacReplaceText ReplaceText
extern short
ReplaceText(
Handle baseText,
Handle substitutionText,
Str15 key) __attribute__((deprecated));
# 142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
extern short
ScriptOrder(
ScriptCode script1,
ScriptCode script2) __attribute__((deprecated));
# 164 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
#define MacCompareString CompareString
extern short
CompareString(
ConstStr255Param aStr,
ConstStr255Param bStr,
Handle itl2Handle) __attribute__((deprecated));
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
extern short
IdenticalString(
ConstStr255Param aStr,
ConstStr255Param bStr,
Handle itl2Handle) __attribute__((deprecated));
# 210 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
extern short
StringOrder(
ConstStr255Param aStr,
ConstStr255Param bStr,
ScriptCode aScript,
ScriptCode bScript,
LangCode aLang,
LangCode bLang) __attribute__((deprecated));
# 235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
extern short
CompareText(
const void * aPtr,
const void * bPtr,
short aLen,
short bLen,
Handle itl2Handle) __attribute__((deprecated));
# 259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
extern short
IdenticalText(
const void * aPtr,
const void * bPtr,
short aLen,
short bLen,
Handle itl2Handle) __attribute__((deprecated));
# 283 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
extern short
TextOrder(
const void * aPtr,
const void * bPtr,
short aLen,
short bLen,
ScriptCode aScript,
ScriptCode bScript,
LangCode aLang,
LangCode bLang) __attribute__((deprecated));
# 310 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
extern short
LanguageOrder(
LangCode language1,
LangCode language2) __attribute__((deprecated));
# 529 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
extern short
RelString(
ConstStr255Param str1,
ConstStr255Param str2,
Boolean caseSensitive,
Boolean diacSensitive) __attribute__((deprecated));
# 552 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
extern Boolean
EqualString(
ConstStr255Param str1,
ConstStr255Param str2,
Boolean caseSensitive,
Boolean diacSensitive) __attribute__((deprecated));
# 578 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
extern short
relstring(
const char * str1,
const char * str2,
Boolean caseSensitive,
Boolean diacSensitive) __attribute__((deprecated));
# 142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
#define __TEXTUTILS__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
#pragma pack(push, 2)
# 79 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
struct ScriptRunStatus {
SInt8 script;
SInt8 runVariant;
};
typedef struct ScriptRunStatus ScriptRunStatus;
struct BreakTable {
char charTypes[256];
short tripleLength;
short triples[1];
};
typedef struct BreakTable BreakTable;
typedef BreakTable * BreakTablePtr;
struct NBreakTable {
SInt8 flags1;
SInt8 flags2;
short version;
short classTableOff;
short auxCTableOff;
short backwdTableOff;
short forwdTableOff;
short doBackup;
short length;
char charTypes[256];
short tables[1];
};
typedef struct NBreakTable NBreakTable;
typedef NBreakTable * NBreakTablePtr;
# 118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern long
Munger(
Handle h,
long offset,
const void * ptr1,
long len1,
const void * ptr2,
long len2) ;
# 144 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern StringHandle
NewString(ConstStr255Param theString) __attribute__((deprecated));
# 163 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
SetString(
StringHandle theString,
ConstStr255Param strNew) __attribute__((deprecated));
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern StringHandle
GetString(short stringID) __attribute__((deprecated));
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
GetIndString(
Str255 theString,
short strListID,
short itemIndex) __attribute__((deprecated));
# 271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
FindWordBreaks(
Ptr textPtr,
short textLength,
short offset,
Boolean leadingEdge,
BreakTablePtr breaks,
OffsetTable offsets,
ScriptCode script) __attribute__((deprecated));
# 297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
LowercaseText(
Ptr textPtr,
short len,
ScriptCode script) __attribute__((deprecated));
# 319 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
UppercaseText(
Ptr textPtr,
short len,
ScriptCode script) __attribute__((deprecated));
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
StripDiacritics(
Ptr textPtr,
short len,
ScriptCode script) __attribute__((deprecated));
# 363 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
UppercaseStripDiacritics(
Ptr textPtr,
short len,
ScriptCode script) __attribute__((deprecated));
# 384 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern ScriptRunStatus
FindScriptRun(
Ptr textPtr,
long textLen,
long * lenUsed) __attribute__((deprecated));
# 493 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
UpperString(
Str255 theString,
Boolean diacSensitive) __attribute__((deprecated));
# 517 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
upperstring(
char * theString,
Boolean diacSensitive) __attribute__((deprecated));
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
c2pstrcpy(
Str255 dst,
const char * src) __attribute__((deprecated));
# 596 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
p2cstrcpy(
char * dst,
ConstStr255Param src) __attribute__((deprecated));
# 617 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
CopyPascalStringToC(
ConstStr255Param src,
char * dst) __attribute__((deprecated));
# 638 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern void
CopyCStringToPascal(
const char * src,
Str255 dst) __attribute__((deprecated));
# 655 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern StringPtr
c2pstr(char * aStr) __attribute__((deprecated));
# 667 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern StringPtr
C2PStr(Ptr cString) __attribute__((deprecated));
# 679 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern char *
p2cstr(StringPtr aStr) __attribute__((deprecated));
# 691 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern Ptr
P2CStr(StringPtr pString) __attribute__((deprecated));
# 717 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
#pragma pack(pop)
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
#define __TOOLUTILS__
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
#pragma pack(push, 2)
# 78 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern Boolean
BitTst(
const void * bytePtr,
long bitNum) ;
# 92 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern void
BitSet(
void * bytePtr,
long bitNum) ;
# 106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern void
BitClr(
void * bytePtr,
long bitNum) ;
# 120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern long
BitAnd(
long value1,
long value2) ;
# 134 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern long
BitOr(
long value1,
long value2) ;
# 148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern long
BitXor(
long value1,
long value2) ;
# 162 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern long
BitNot(long value) ;
# 174 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern long
BitShift(
long value,
short count) ;
#define HiWord(x) ((short)((long)(x) >> 16))
#define LoWord(x) ((short)(x))
#pragma pack(pop)
# 150 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
#define __UNICODEUTILITIES__
# 52 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
#pragma pack(push, 2)
# 79 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
typedef UInt16 UCKeyOutput;
typedef UInt16 UCKeyCharSeq;
enum {
kUCKeyOutputStateIndexMask = 0x4000,
kUCKeyOutputSequenceIndexMask = 0x8000,
kUCKeyOutputTestForIndexMask = 0xC000,
kUCKeyOutputGetIndexMask = 0x3FFF
};
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
struct UCKeyStateRecord {
UCKeyCharSeq stateZeroCharData;
UInt16 stateZeroNextState;
UInt16 stateEntryCount;
UInt16 stateEntryFormat;
UInt32 stateEntryData[1];
};
typedef struct UCKeyStateRecord UCKeyStateRecord;
enum {
kUCKeyStateEntryTerminalFormat = 0x0001,
kUCKeyStateEntryRangeFormat = 0x0002
};
struct UCKeyStateEntryTerminal {
UInt16 curState;
UCKeyCharSeq charData;
};
typedef struct UCKeyStateEntryTerminal UCKeyStateEntryTerminal;
struct UCKeyStateEntryRange {
UInt16 curStateStart;
UInt8 curStateRange;
UInt8 deltaMultiplier;
UCKeyCharSeq charData;
UInt16 nextState;
};
typedef struct UCKeyStateEntryRange UCKeyStateEntryRange;
# 157 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
struct UCKeyboardTypeHeader {
UInt32 keyboardTypeFirst;
UInt32 keyboardTypeLast;
UInt32 keyModifiersToTableNumOffset;
UInt32 keyToCharTableIndexOffset;
UInt32 keyStateRecordsIndexOffset;
UInt32 keyStateTerminatorsOffset;
UInt32 keySequenceDataIndexOffset;
};
typedef struct UCKeyboardTypeHeader UCKeyboardTypeHeader;
struct UCKeyboardLayout {
UInt16 keyLayoutHeaderFormat;
UInt16 keyLayoutDataVersion;
UInt32 keyLayoutFeatureInfoOffset;
UInt32 keyboardTypeCount;
UCKeyboardTypeHeader keyboardTypeList[1];
};
typedef struct UCKeyboardLayout UCKeyboardLayout;
struct UCKeyLayoutFeatureInfo {
UInt16 keyLayoutFeatureInfoFormat;
UInt16 reserved;
UInt32 maxOutputStringLength;
};
typedef struct UCKeyLayoutFeatureInfo UCKeyLayoutFeatureInfo;
struct UCKeyModifiersToTableNum {
UInt16 keyModifiersToTableNumFormat;
UInt16 defaultTableNum;
UInt32 modifiersCount;
UInt8 tableNum[1];
};
typedef struct UCKeyModifiersToTableNum UCKeyModifiersToTableNum;
struct UCKeyToCharTableIndex {
UInt16 keyToCharTableIndexFormat;
UInt16 keyToCharTableSize;
UInt32 keyToCharTableCount;
UInt32 keyToCharTableOffsets[1];
};
typedef struct UCKeyToCharTableIndex UCKeyToCharTableIndex;
struct UCKeyStateRecordsIndex {
UInt16 keyStateRecordsIndexFormat;
UInt16 keyStateRecordCount;
UInt32 keyStateRecordOffsets[1];
};
typedef struct UCKeyStateRecordsIndex UCKeyStateRecordsIndex;
struct UCKeyStateTerminators {
UInt16 keyStateTerminatorsFormat;
UInt16 keyStateTerminatorCount;
UCKeyCharSeq keyStateTerminators[1];
};
typedef struct UCKeyStateTerminators UCKeyStateTerminators;
struct UCKeySequenceDataIndex {
UInt16 keySequenceDataIndexFormat;
UInt16 charSequenceCount;
UInt16 charSequenceOffsets[1];
};
typedef struct UCKeySequenceDataIndex UCKeySequenceDataIndex;
enum {
kUCKeyLayoutHeaderFormat = 0x1002,
kUCKeyLayoutFeatureInfoFormat = 0x2001,
kUCKeyModifiersToTableNumFormat = 0x3001,
kUCKeyToCharTableIndexFormat = 0x4001,
kUCKeyStateRecordsIndexFormat = 0x5001,
kUCKeyStateTerminatorsFormat = 0x6001,
kUCKeySequenceDataIndexFormat = 0x7001
};
# 260 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
enum {
kUCKeyActionDown = 0,
kUCKeyActionUp = 1,
kUCKeyActionAutoKey = 2,
kUCKeyActionDisplay = 3
};
enum {
kUCKeyTranslateNoDeadKeysBit = 0
};
enum {
kUCKeyTranslateNoDeadKeysMask = 1L << kUCKeyTranslateNoDeadKeysBit
};
# 288 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
enum {
kUnicodeCollationClass = 'ucol'
};
typedef struct OpaqueCollatorRef* CollatorRef;
typedef UInt32 UCCollateOptions;
enum {
kUCCollateComposeInsensitiveMask = 1L << 1,
kUCCollateWidthInsensitiveMask = 1L << 2,
kUCCollateCaseInsensitiveMask = 1L << 3,
kUCCollateDiacritInsensitiveMask = 1L << 4,
kUCCollatePunctuationSignificantMask = 1L << 15,
kUCCollateDigitsOverrideMask = 1L << 16,
kUCCollateDigitsAsNumberMask = 1L << 17
};
enum {
kUCCollateStandardOptions = kUCCollateComposeInsensitiveMask | kUCCollateWidthInsensitiveMask
};
enum {
kUCCollateTypeHFSExtended = 1
};
enum {
kUCCollateTypeSourceMask = 0x000000FF,
kUCCollateTypeShiftBits = 24
};
enum {
kUCCollateTypeMask = kUCCollateTypeSourceMask << kUCCollateTypeShiftBits
};
typedef UInt32 UCCollationValue;
# 340 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
typedef struct OpaqueUCTypeSelectRef* UCTypeSelectRef;
typedef SInt32 UCTypeSelectCompareResult;
typedef UInt16 UCTSWalkDirection;
enum {
kUCTSDirectionNext = 0,
kUCTSDirectionPrevious = 1
};
# 372 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
typedef UInt16 UCTypeSelectOptions;
enum {
kUCTSOptionsNoneMask = 0,
kUCTSOptionsReleaseStringMask = 1,
kUCTSOptionsDataIsOrderedMask = 2
};
typedef Boolean ( * IndexToUCStringProcPtr)(UInt32 index, void *listDataPtr, void *refcon, CFStringRef *outString, UCTypeSelectOptions *tsOptions);
typedef IndexToUCStringProcPtr IndexToUCStringUPP;
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern IndexToUCStringUPP
NewIndexToUCStringUPP(IndexToUCStringProcPtr userRoutine) ;
# 406 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern void
DisposeIndexToUCStringUPP(IndexToUCStringUPP userUPP) ;
# 417 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern Boolean
InvokeIndexToUCStringUPP(
UInt32 index,
void * listDataPtr,
void * refcon,
CFStringRef * outString,
UCTypeSelectOptions * tsOptions,
IndexToUCStringUPP userUPP) ;
#define NewIndexToUCStringUPP(userRoutine) ((IndexToUCStringUPP)userRoutine)
#define DisposeIndexToUCStringUPP(userUPP)
#define InvokeIndexToUCStringUPP(index,listDataPtr,refcon,outString,tsOptions,userUPP) (*userUPP)(index, listDataPtr, refcon, outString, tsOptions)
enum {
kUCTypeSelectMaxListSize = (UInt32)0xFFFFFFFF
};
# 454 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
enum {
kUnicodeTextBreakClass = 'ubrk'
};
typedef struct OpaqueTextBreakLocatorRef* TextBreakLocatorRef;
typedef UInt32 UCTextBreakType;
enum {
kUCTextBreakCharMask = 1L << 0,
# 485 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
kUCTextBreakClusterMask = 1L << 2,
kUCTextBreakWordMask = 1L << 4,
kUCTextBreakLineMask = 1L << 6,
kUCTextBreakParagraphMask = 1L << 8
};
typedef UInt32 UCTextBreakOptions;
enum {
kUCTextBreakLeadingEdgeMask = 1L << 0,
kUCTextBreakGoBackwardsMask = 1L << 1,
kUCTextBreakIterateMask = 1L << 2
};
# 525 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCKeyTranslate(
const UCKeyboardLayout * keyLayoutPtr,
UInt16 virtualKeyCode,
UInt16 keyAction,
UInt32 modifierKeyState,
UInt32 keyboardType,
OptionBits keyTranslateOptions,
UInt32 * deadKeyState,
UniCharCount maxStringLength,
UniCharCount * actualStringLength,
UniChar unicodeString[]) ;
# 549 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCreateCollator(
LocaleRef locale,
LocaleOperationVariant opVariant,
UCCollateOptions options,
CollatorRef * collatorRef) ;
# 565 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCGetCollationKey(
CollatorRef collatorRef,
const UniChar * textPtr,
UniCharCount textLength,
ItemCount maxKeySize,
ItemCount * actualKeySize,
UCCollationValue collationKey[]) ;
# 583 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCompareCollationKeys(
const UCCollationValue * key1Ptr,
ItemCount key1Length,
const UCCollationValue * key2Ptr,
ItemCount key2Length,
Boolean * equivalent,
SInt32 * order) ;
# 601 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCompareText(
CollatorRef collatorRef,
const UniChar * text1Ptr,
UniCharCount text1Length,
const UniChar * text2Ptr,
UniCharCount text2Length,
Boolean * equivalent,
SInt32 * order) ;
# 620 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCDisposeCollator(CollatorRef * collatorRef) ;
# 634 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCompareTextDefault(
UCCollateOptions options,
const UniChar * text1Ptr,
UniCharCount text1Length,
const UniChar * text2Ptr,
UniCharCount text2Length,
Boolean * equivalent,
SInt32 * order) ;
# 656 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCompareTextNoLocale(
UCCollateOptions options,
const UniChar * text1Ptr,
UniCharCount text1Length,
const UniChar * text2Ptr,
UniCharCount text2Length,
Boolean * equivalent,
SInt32 * order) ;
# 678 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCreateTextBreakLocator(
LocaleRef locale,
LocaleOperationVariant opVariant,
UCTextBreakType breakTypes,
TextBreakLocatorRef * breakRef) ;
# 694 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCFindTextBreak(
TextBreakLocatorRef breakRef,
UCTextBreakType breakType,
UCTextBreakOptions options,
const UniChar * textPtr,
UniCharCount textLength,
UniCharArrayOffset startOffset,
UniCharArrayOffset * breakOffset) ;
# 713 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCDisposeTextBreakLocator(TextBreakLocatorRef * breakRef) ;
# 758 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectCreateSelector(
LocaleRef locale,
LocaleOperationVariant opVariant,
UCCollateOptions options,
UCTypeSelectRef * newSelector) ;
# 787 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectFlushSelectorData(UCTypeSelectRef ref) ;
# 814 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectReleaseSelector(UCTypeSelectRef * ref) ;
# 852 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern Boolean
UCTypeSelectWouldResetBuffer(
UCTypeSelectRef inRef,
CFStringRef inText,
double inEventTime) ;
# 904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectAddKeyToSelector(
UCTypeSelectRef inRef,
CFStringRef inText,
double inEventTime,
Boolean * updateFlag) ;
# 952 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectCompare(
UCTypeSelectRef ref,
CFStringRef inText,
UCTypeSelectCompareResult * result) ;
# 1018 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectFindItem(
UCTypeSelectRef ref,
UInt32 listSize,
void * listDataPtr,
void * refcon,
IndexToUCStringUPP userUPP,
UInt32 * closestItem) ;
# 1113 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectWalkList(
UCTypeSelectRef ref,
CFStringRef currSelect,
UCTSWalkDirection direction,
UInt32 listSize,
void * listDataPtr,
void * refcon,
IndexToUCStringUPP userUPP,
UInt32 * closestItem) ;
#pragma pack(pop)
# 154 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
#define __FP__
# 55 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
#pragma pack(push, 2)
# 1198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern const double_t pi ;
# 1227 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern double compound(double rate, double periods) ;
# 1238 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern double annuity(double rate, double periods) ;
# 1259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern double_t randomx(double_t * x) ;
# 1268 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
typedef short relop;
enum {
GREATERTHAN = 0,
LESSTHAN = 1,
EQUALTO = 2,
UNORDERED = 3
};
# 1285 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern relop relation(double_t x, double_t y) ;
# 1318 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
#define SIGDIGLEN 36
#define DECSTROUTLEN 80
#define FLOATDECIMAL ((char)(0))
#define FIXEDDECIMAL ((char)(1))
struct decimal {
char sgn;
char unused;
short exp;
struct {
unsigned char length;
unsigned char text[36];
unsigned char unused;
} sig;
};
typedef struct decimal decimal;
struct decform {
char style;
char unused;
short digits;
};
typedef struct decform decform;
# 1349 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void num2dec(const decform *f, double_t x, decimal *d) ;
# 1360 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern double_t dec2num(const decimal * d) ;
# 1371 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void dec2str(const decform *f, const decimal *d, char *s) ;
# 1382 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void str2dec(const char *s, short *ix, decimal *d, short *vp) ;
# 1393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern float dec2f(const decimal * d) ;
# 1404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern short dec2s(const decimal * d) ;
# 1415 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern long dec2l(const decimal * d) ;
# 2381 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern double x80tod(const extended80 * x80) ;
# 2392 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void dtox80(const double *x, extended80 *x80) ;
# 2411 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void x80told(const extended80 *x80, long double *x);
# 2430 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void ldtox80(const long double *x, extended80 *x80);
# 2443 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
#pragma pack(pop)
# 158 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/usr/include/fenv.h" 1 3 4
# 23 "/usr/include/fenv.h" 3 4
#define __FENV_H__
#pragma GCC fenv
# 1 "/usr/include/architecture/i386/fenv.h" 1 3 4
# 32 "/usr/include/architecture/i386/fenv.h" 3 4
#define __FENV__
#pragma GCC fenv
# 87 "/usr/include/architecture/i386/fenv.h" 3 4
typedef struct {
unsigned short __control;
unsigned short __status;
unsigned int __mxcsr;
char __reserved[8];
} fenv_t;
typedef unsigned short fexcept_t;
enum {
_FE_INEXACT = 0x0020,
_FE_DIVBYZERO = 0x0004,
_FE_UNDERFLOW = 0x0010,
_FE_OVERFLOW = 0x0008,
_FE_INVALID = 0x0001,
_FE_ALL_EXCEPT = 0x003D
};
#define FE_INEXACT _FE_INEXACT
#define FE_DIVBYZERO _FE_DIVBYZERO
#define FE_UNDERFLOW _FE_UNDERFLOW
#define FE_OVERFLOW _FE_OVERFLOW
#define FE_INVALID _FE_INVALID
#define FE_ALL_EXCEPT _FE_ALL_EXCEPT
enum {
_FE_TONEAREST = 0x0000,
_FE_TOWARDZERO = 0x0C00,
_FE_UPWARD = 0x0800,
_FE_DOWNWARD = 0x0400
};
#define FE_TONEAREST _FE_TONEAREST
#define FE_TOWARDZERO _FE_TOWARDZERO
#define FE_UPWARD _FE_UPWARD
#define FE_DOWNWARD _FE_DOWNWARD
extern const fenv_t _FE_DFL_ENV;
#define FE_DFL_ENV &_FE_DFL_ENV
# 144 "/usr/include/architecture/i386/fenv.h" 3 4
extern const fenv_t _FE_DFL_DISABLE_SSE_DENORMS_ENV;
#define FE_DFL_DISABLE_SSE_DENORMS_ENV &_FE_DFL_DISABLE_SSE_DENORMS_ENV
# 158 "/usr/include/architecture/i386/fenv.h" 3 4
extern int feclearexcept(int );
# 168 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fegetexceptflag(fexcept_t * , int );
# 177 "/usr/include/architecture/i386/fenv.h" 3 4
extern int feraiseexcept(int );
# 190 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fesetexceptflag(const fexcept_t * , int );
# 205 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fetestexcept(int );
# 219 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fegetround(void);
# 230 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fesetround(int );
# 242 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fegetenv(fenv_t * );
# 252 "/usr/include/architecture/i386/fenv.h" 3 4
extern int feholdexcept(fenv_t * );
# 277 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fesetenv(const fenv_t * );
# 290 "/usr/include/architecture/i386/fenv.h" 3 4
extern int feupdateenv(const fenv_t * );
# 33 "/usr/include/fenv.h" 2 3 4
# 161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
#define __TEXTENCODINGCONVERTER__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
#pragma pack(push, 2)
typedef OSType TECPluginSignature;
typedef UInt32 TECPluginVersion;
enum {
kTECSignature = 'encv',
kTECUnicodePluginSignature = 'puni',
kTECJapanesePluginSignature = 'pjpn',
kTECChinesePluginSignature = 'pzho',
kTECKoreanPluginSignature = 'pkor'
};
typedef struct OpaqueTECObjectRef* TECObjectRef;
typedef struct OpaqueTECSnifferObjectRef* TECSnifferObjectRef;
typedef OSType TECPluginSig;
struct TECConversionInfo {
TextEncoding sourceEncoding;
TextEncoding destinationEncoding;
UInt16 reserved1;
UInt16 reserved2;
};
typedef struct TECConversionInfo TECConversionInfo;
# 76 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
typedef UInt32 TECInternetNameUsageMask;
enum {
kTECInternetNameDefaultUsageMask = 0,
kTECInternetNameStrictUsageMask = 1,
# 99 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
kTECInternetNameTolerantUsageMask = 2
};
enum {
kTEC_MIBEnumDontCare = -1
};
# 117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountAvailableTextEncodings(ItemCount * numberEncodings) ;
# 130 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetAvailableTextEncodings(
TextEncoding availableEncodings[],
ItemCount maxAvailableEncodings,
ItemCount * actualAvailableEncodings) ;
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountDirectTextEncodingConversions(ItemCount * numberOfEncodings) ;
# 159 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetDirectTextEncodingConversions(
TECConversionInfo availableConversions[],
ItemCount maxAvailableConversions,
ItemCount * actualAvailableConversions) ;
# 175 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountDestinationTextEncodings(
TextEncoding inputEncoding,
ItemCount * numberOfEncodings) ;
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetDestinationTextEncodings(
TextEncoding inputEncoding,
TextEncoding destinationEncodings[],
ItemCount maxDestinationEncodings,
ItemCount * actualDestinationEncodings) ;
# 207 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetTextEncodingInternetName(
TextEncoding textEncoding,
Str255 encodingName) ;
# 221 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetTextEncodingFromInternetName(
TextEncoding * textEncoding,
ConstStr255Param encodingName) ;
# 236 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCreateConverter(
TECObjectRef * newEncodingConverter,
TextEncoding inputEncoding,
TextEncoding outputEncoding) ;
# 251 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCreateConverterFromPath(
TECObjectRef * newEncodingConverter,
const TextEncoding inPath[],
ItemCount inEncodings) ;
# 266 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECDisposeConverter(TECObjectRef newEncodingConverter) ;
# 279 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECClearConverterContextInfo(TECObjectRef encodingConverter) ;
# 291 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECConvertText(
TECObjectRef encodingConverter,
ConstTextPtr inputBuffer,
ByteCount inputBufferLength,
ByteCount * actualInputLength,
TextPtr outputBuffer,
ByteCount outputBufferLength,
ByteCount * actualOutputLength) ;
# 310 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECFlushText(
TECObjectRef encodingConverter,
TextPtr outputBuffer,
ByteCount outputBufferLength,
ByteCount * actualOutputLength) ;
# 327 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountSubTextEncodings(
TextEncoding inputEncoding,
ItemCount * numberOfEncodings) ;
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetSubTextEncodings(
TextEncoding inputEncoding,
TextEncoding subEncodings[],
ItemCount maxSubEncodings,
ItemCount * actualSubEncodings) ;
# 370 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetEncodingList(
TECObjectRef encodingConverter,
ItemCount * numEncodings,
Handle * encodingList) ;
# 385 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCreateOneToManyConverter(
TECObjectRef * newEncodingConverter,
TextEncoding inputEncoding,
ItemCount numOutputEncodings,
const TextEncoding outputEncodings[]) ;
# 401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECConvertTextToMultipleEncodings(
TECObjectRef encodingConverter,
ConstTextPtr inputBuffer,
ByteCount inputBufferLength,
ByteCount * actualInputLength,
TextPtr outputBuffer,
ByteCount outputBufferLength,
ByteCount * actualOutputLength,
TextEncodingRun outEncodingsBuffer[],
ItemCount maxOutEncodingRuns,
ItemCount * actualOutEncodingRuns) ;
# 423 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECFlushMultipleEncodings(
TECObjectRef encodingConverter,
TextPtr outputBuffer,
ByteCount outputBufferLength,
ByteCount * actualOutputLength,
TextEncodingRun outEncodingsBuffer[],
ItemCount maxOutEncodingRuns,
ItemCount * actualOutEncodingRuns) ;
# 443 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountWebTextEncodings(
RegionCode locale,
ItemCount * numberEncodings) ;
# 457 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetWebTextEncodings(
RegionCode locale,
TextEncoding availableEncodings[],
ItemCount maxAvailableEncodings,
ItemCount * actualAvailableEncodings) ;
# 473 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountMailTextEncodings(
RegionCode locale,
ItemCount * numberEncodings) ;
# 487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetMailTextEncodings(
RegionCode locale,
TextEncoding availableEncodings[],
ItemCount maxAvailableEncodings,
ItemCount * actualAvailableEncodings) ;
# 504 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountAvailableSniffers(ItemCount * numberOfEncodings) ;
# 516 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetAvailableSniffers(
TextEncoding availableSniffers[],
ItemCount maxAvailableSniffers,
ItemCount * actualAvailableSniffers) ;
# 531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCreateSniffer(
TECSnifferObjectRef * encodingSniffer,
TextEncoding testEncodings[],
ItemCount numTextEncodings) ;
# 546 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECSniffTextEncoding(
TECSnifferObjectRef encodingSniffer,
ConstTextPtr inputBuffer,
ByteCount inputBufferLength,
TextEncoding testEncodings[],
ItemCount numTextEncodings,
ItemCount numErrsArray[],
ItemCount maxErrs,
ItemCount numFeaturesArray[],
ItemCount maxFeatures) ;
# 567 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECDisposeSniffer(TECSnifferObjectRef encodingSniffer) ;
# 579 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECClearSnifferContextInfo(TECSnifferObjectRef encodingSniffer) ;
# 591 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECSetBasicOptions(
TECObjectRef encodingConverter,
OptionBits controlFlags) ;
# 642 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCopyTextEncodingInternetNameAndMIB(
TextEncoding textEncoding,
TECInternetNameUsageMask usage,
CFStringRef * encodingNamePtr,
SInt32 * mibEnumPtr) ;
# 676 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetTextEncodingFromInternetNameOrMIB(
TextEncoding * textEncodingPtr,
TECInternetNameUsageMask usage,
CFStringRef encodingName,
SInt32 mibEnum) ;
#pragma pack(pop)
# 163 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
#define __UNICODECONVERTER__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
#pragma pack(push, 2)
typedef struct OpaqueTextToUnicodeInfo* TextToUnicodeInfo;
typedef struct OpaqueUnicodeToTextInfo* UnicodeToTextInfo;
typedef struct OpaqueUnicodeToTextRunInfo* UnicodeToTextRunInfo;
typedef const TextToUnicodeInfo ConstTextToUnicodeInfo;
typedef const UnicodeToTextInfo ConstUnicodeToTextInfo;
typedef SInt32 UnicodeMapVersion;
enum {
kUnicodeUseLatestMapping = -1,
kUnicodeUseHFSPlusMapping = 4
};
struct UnicodeMapping {
TextEncoding unicodeEncoding;
TextEncoding otherEncoding;
UnicodeMapVersion mappingVersion;
};
typedef struct UnicodeMapping UnicodeMapping;
typedef UnicodeMapping * UnicodeMappingPtr;
typedef const UnicodeMapping * ConstUnicodeMappingPtr;
enum {
kUnicodeUseFallbacksBit = 0,
kUnicodeKeepInfoBit = 1,
kUnicodeDirectionalityBits = 2,
kUnicodeVerticalFormBit = 4,
kUnicodeLooseMappingsBit = 5,
kUnicodeStringUnterminatedBit = 6,
kUnicodeTextRunBit = 7,
kUnicodeKeepSameEncodingBit = 8,
kUnicodeForceASCIIRangeBit = 9,
kUnicodeNoHalfwidthCharsBit = 10,
kUnicodeTextRunHeuristicsBit = 11,
kUnicodeMapLineFeedToReturnBit = 12,
kUnicodeUseExternalEncodingFormBit = 13
};
enum {
kUnicodeUseFallbacksMask = 1L << kUnicodeUseFallbacksBit,
kUnicodeKeepInfoMask = 1L << kUnicodeKeepInfoBit,
kUnicodeDirectionalityMask = 3L << kUnicodeDirectionalityBits,
kUnicodeVerticalFormMask = 1L << kUnicodeVerticalFormBit,
kUnicodeLooseMappingsMask = 1L << kUnicodeLooseMappingsBit,
kUnicodeStringUnterminatedMask = 1L << kUnicodeStringUnterminatedBit,
kUnicodeTextRunMask = 1L << kUnicodeTextRunBit,
kUnicodeKeepSameEncodingMask = 1L << kUnicodeKeepSameEncodingBit,
kUnicodeForceASCIIRangeMask = 1L << kUnicodeForceASCIIRangeBit,
kUnicodeNoHalfwidthCharsMask = 1L << kUnicodeNoHalfwidthCharsBit,
kUnicodeTextRunHeuristicsMask = 1L << kUnicodeTextRunHeuristicsBit,
kUnicodeMapLineFeedToReturnMask = 1L << kUnicodeMapLineFeedToReturnBit,
kUnicodeUseExternalEncodingFormMask = 1L << kUnicodeUseExternalEncodingFormBit
};
enum {
kUnicodeDefaultDirection = 0,
kUnicodeLeftToRight = 1,
kUnicodeRightToLeft = 2
};
enum {
kUnicodeDefaultDirectionMask = kUnicodeDefaultDirection << kUnicodeDirectionalityBits,
kUnicodeLeftToRightMask = kUnicodeLeftToRight << kUnicodeDirectionalityBits,
kUnicodeRightToLeftMask = kUnicodeRightToLeft << kUnicodeDirectionalityBits
};
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
enum {
kUnicodeMatchUnicodeBaseBit = 0,
kUnicodeMatchUnicodeVariantBit = 1,
kUnicodeMatchUnicodeFormatBit = 2,
kUnicodeMatchOtherBaseBit = 3,
kUnicodeMatchOtherVariantBit = 4,
kUnicodeMatchOtherFormatBit = 5
};
enum {
kUnicodeMatchUnicodeBaseMask = 1L << kUnicodeMatchUnicodeBaseBit,
kUnicodeMatchUnicodeVariantMask = 1L << kUnicodeMatchUnicodeVariantBit,
kUnicodeMatchUnicodeFormatMask = 1L << kUnicodeMatchUnicodeFormatBit,
kUnicodeMatchOtherBaseMask = 1L << kUnicodeMatchOtherBaseBit,
kUnicodeMatchOtherVariantMask = 1L << kUnicodeMatchOtherVariantBit,
kUnicodeMatchOtherFormatMask = 1L << kUnicodeMatchOtherFormatBit
};
enum {
kUnicodeFallbackSequencingBits = 0
};
enum {
kUnicodeFallbackSequencingMask = 3L << kUnicodeFallbackSequencingBits,
kUnicodeFallbackInterruptSafeMask = 1L << 2
};
enum {
kUnicodeFallbackDefaultOnly = 0L,
kUnicodeFallbackCustomOnly = 1L,
kUnicodeFallbackDefaultFirst = 2L,
kUnicodeFallbackCustomFirst = 3L
};
typedef OSStatus ( * UnicodeToTextFallbackProcPtr)(UniChar *iSrcUniStr, ByteCount iSrcUniStrLen, ByteCount *oSrcConvLen, TextPtr oDestStr, ByteCount iDestStrLen, ByteCount *oDestConvLen, LogicalAddress iInfoPtr, ConstUnicodeMappingPtr iUnicodeMappingPtr);
typedef UnicodeToTextFallbackProcPtr UnicodeToTextFallbackUPP;
# 194 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern UnicodeToTextFallbackUPP
NewUnicodeToTextFallbackUPP(UnicodeToTextFallbackProcPtr userRoutine) ;
# 205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern void
DisposeUnicodeToTextFallbackUPP(UnicodeToTextFallbackUPP userUPP) ;
# 216 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
InvokeUnicodeToTextFallbackUPP(
UniChar * iSrcUniStr,
ByteCount iSrcUniStrLen,
ByteCount * oSrcConvLen,
TextPtr oDestStr,
ByteCount iDestStrLen,
ByteCount * oDestConvLen,
LogicalAddress iInfoPtr,
ConstUnicodeMappingPtr iUnicodeMappingPtr,
UnicodeToTextFallbackUPP userUPP) ;
#define NewUnicodeToTextFallbackUPP(userRoutine) ((UnicodeToTextFallbackUPP)userRoutine)
#define DisposeUnicodeToTextFallbackUPP(userUPP)
#define InvokeUnicodeToTextFallbackUPP(iSrcUniStr,iSrcUniStrLen,oSrcConvLen,oDestStr,iDestStrLen,oDestConvLen,iInfoPtr,iUnicodeMappingPtr,userUPP) (*userUPP)(iSrcUniStr, iSrcUniStrLen, oSrcConvLen, oDestStr, iDestStrLen, oDestConvLen, iInfoPtr, iUnicodeMappingPtr)
# 249 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateTextToUnicodeInfo(
ConstUnicodeMappingPtr iUnicodeMapping,
TextToUnicodeInfo * oTextToUnicodeInfo) ;
# 263 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateTextToUnicodeInfoByEncoding(
TextEncoding iEncoding,
TextToUnicodeInfo * oTextToUnicodeInfo) ;
# 277 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateUnicodeToTextInfo(
ConstUnicodeMappingPtr iUnicodeMapping,
UnicodeToTextInfo * oUnicodeToTextInfo) ;
# 291 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateUnicodeToTextInfoByEncoding(
TextEncoding iEncoding,
UnicodeToTextInfo * oUnicodeToTextInfo) ;
# 305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateUnicodeToTextRunInfo(
ItemCount iNumberOfMappings,
const UnicodeMapping iUnicodeMappings[],
UnicodeToTextRunInfo * oUnicodeToTextInfo) ;
# 320 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateUnicodeToTextRunInfoByEncoding(
ItemCount iNumberOfEncodings,
const TextEncoding iEncodings[],
UnicodeToTextRunInfo * oUnicodeToTextInfo) ;
# 335 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateUnicodeToTextRunInfoByScriptCode(
ItemCount iNumberOfScriptCodes,
const ScriptCode iScripts[],
UnicodeToTextRunInfo * oUnicodeToTextInfo) ;
# 351 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ChangeTextToUnicodeInfo(
TextToUnicodeInfo ioTextToUnicodeInfo,
ConstUnicodeMappingPtr iUnicodeMapping) ;
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ChangeUnicodeToTextInfo(
UnicodeToTextInfo ioUnicodeToTextInfo,
ConstUnicodeMappingPtr iUnicodeMapping) ;
# 381 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
DisposeTextToUnicodeInfo(TextToUnicodeInfo * ioTextToUnicodeInfo) ;
# 393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
DisposeUnicodeToTextInfo(UnicodeToTextInfo * ioUnicodeToTextInfo) ;
# 405 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
DisposeUnicodeToTextRunInfo(UnicodeToTextRunInfo * ioUnicodeToTextRunInfo) ;
# 417 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromTextToUnicode(
TextToUnicodeInfo iTextToUnicodeInfo,
ByteCount iSourceLen,
ConstLogicalAddress iSourceStr,
OptionBits iControlFlags,
ItemCount iOffsetCount,
const ByteOffset iOffsetArray[],
ItemCount * oOffsetCount,
ByteOffset oOffsetArray[],
ByteCount iOutputBufLen,
ByteCount * oSourceRead,
ByteCount * oUnicodeLen,
UniChar oUnicodeStr[]) ;
# 441 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromUnicodeToText(
UnicodeToTextInfo iUnicodeToTextInfo,
ByteCount iUnicodeLen,
const UniChar iUnicodeStr[],
OptionBits iControlFlags,
ItemCount iOffsetCount,
const ByteOffset iOffsetArray[],
ItemCount * oOffsetCount,
ByteOffset oOffsetArray[],
ByteCount iOutputBufLen,
ByteCount * oInputRead,
ByteCount * oOutputLen,
LogicalAddress oOutputStr) ;
# 465 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromUnicodeToTextRun(
UnicodeToTextRunInfo iUnicodeToTextInfo,
ByteCount iUnicodeLen,
const UniChar iUnicodeStr[],
OptionBits iControlFlags,
ItemCount iOffsetCount,
const ByteOffset iOffsetArray[],
ItemCount * oOffsetCount,
ByteOffset oOffsetArray[],
ByteCount iOutputBufLen,
ByteCount * oInputRead,
ByteCount * oOutputLen,
LogicalAddress oOutputStr,
ItemCount iEncodingRunBufLen,
ItemCount * oEncodingRunOutLen,
TextEncodingRun oEncodingRuns[]) ;
# 492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromUnicodeToScriptCodeRun(
UnicodeToTextRunInfo iUnicodeToTextInfo,
ByteCount iUnicodeLen,
const UniChar iUnicodeStr[],
OptionBits iControlFlags,
ItemCount iOffsetCount,
const ByteOffset iOffsetArray[],
ItemCount * oOffsetCount,
ByteOffset oOffsetArray[],
ByteCount iOutputBufLen,
ByteCount * oInputRead,
ByteCount * oOutputLen,
LogicalAddress oOutputStr,
ItemCount iScriptRunBufLen,
ItemCount * oScriptRunOutLen,
ScriptCodeRun oScriptCodeRuns[]) ;
# 520 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
TruncateForTextToUnicode(
ConstTextToUnicodeInfo iTextToUnicodeInfo,
ByteCount iSourceLen,
ConstLogicalAddress iSourceStr,
ByteCount iMaxLen,
ByteCount * oTruncatedLen) ;
# 538 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
TruncateForUnicodeToText(
ConstUnicodeToTextInfo iUnicodeToTextInfo,
ByteCount iSourceLen,
const UniChar iSourceStr[],
OptionBits iControlFlags,
ByteCount iMaxLen,
ByteCount * oTruncatedLen) ;
# 557 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromPStringToUnicode(
TextToUnicodeInfo iTextToUnicodeInfo,
ConstStr255Param iPascalStr,
ByteCount iOutputBufLen,
ByteCount * oUnicodeLen,
UniChar oUnicodeStr[]) ;
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromUnicodeToPString(
UnicodeToTextInfo iUnicodeToTextInfo,
ByteCount iUnicodeLen,
const UniChar iUnicodeStr[],
Str255 oPascalStr) ;
# 592 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CountUnicodeMappings(
OptionBits iFilter,
ConstUnicodeMappingPtr iFindMapping,
ItemCount * oActualCount) ;
# 608 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
QueryUnicodeMappings(
OptionBits iFilter,
ConstUnicodeMappingPtr iFindMapping,
ItemCount iMaxCount,
ItemCount * oActualCount,
UnicodeMapping oReturnedMappings[]) ;
# 626 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
SetFallbackUnicodeToText(
UnicodeToTextInfo iUnicodeToTextInfo,
UnicodeToTextFallbackUPP iFallback,
OptionBits iControlFlags,
LogicalAddress iInfoPtr) ;
# 643 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
SetFallbackUnicodeToTextRun(
UnicodeToTextRunInfo iUnicodeToTextRunInfo,
UnicodeToTextFallbackUPP iFallback,
OptionBits iControlFlags,
LogicalAddress iInfoPtr) ;
# 660 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ResetTextToUnicodeInfo(TextToUnicodeInfo ioTextToUnicodeInfo) ;
# 673 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ResetUnicodeToTextInfo(UnicodeToTextInfo ioUnicodeToTextInfo) ;
# 686 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ResetUnicodeToTextRunInfo(UnicodeToTextRunInfo ioUnicodeToTextRunInfo) ;
#pragma pack(pop)
# 167 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
#define __THREADS__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
#pragma pack(push, 2)
typedef UInt16 ThreadState;
enum {
kReadyThreadState = 0,
kStoppedThreadState = 1,
kRunningThreadState = 2
};
typedef void * ThreadTaskRef;
typedef UInt32 ThreadStyle;
enum {
kCooperativeThread = 1L << 0,
kPreemptiveThread = 1L << 1
};
typedef unsigned long ThreadID;
enum {
kNoThreadID = 0,
kCurrentThreadID = 1,
kApplicationThreadID = 2
};
typedef UInt32 ThreadOptions;
enum {
kNewSuspend = (1 << 0),
kUsePremadeThread = (1 << 1),
kCreateIfNeeded = (1 << 2),
kFPUNotNeeded = (1 << 3),
kExactMatchThread = (1 << 4)
};
struct SchedulerInfoRec {
UInt32 InfoRecSize;
ThreadID CurrentThreadID;
ThreadID SuggestedThreadID;
ThreadID InterruptedCoopThreadID;
};
typedef struct SchedulerInfoRec SchedulerInfoRec;
typedef SchedulerInfoRec * SchedulerInfoRecPtr;
typedef void * voidPtr;
typedef voidPtr ( * ThreadEntryProcPtr)(void * threadParam);
typedef ThreadID ( * ThreadSchedulerProcPtr)(SchedulerInfoRecPtr schedulerInfo);
typedef void ( * ThreadSwitchProcPtr)(ThreadID threadBeingSwitched, void *switchProcParam);
typedef void ( * ThreadTerminationProcPtr)(ThreadID threadTerminated, void *terminationProcParam);
typedef void ( * DebuggerNewThreadProcPtr)(ThreadID threadCreated);
typedef void ( * DebuggerDisposeThreadProcPtr)(ThreadID threadDeleted);
typedef ThreadID ( * DebuggerThreadSchedulerProcPtr)(SchedulerInfoRecPtr schedulerInfo);
typedef ThreadEntryProcPtr ThreadEntryUPP;
typedef ThreadSchedulerProcPtr ThreadSchedulerUPP;
typedef ThreadSwitchProcPtr ThreadSwitchUPP;
typedef ThreadTerminationProcPtr ThreadTerminationUPP;
typedef DebuggerNewThreadProcPtr DebuggerNewThreadUPP;
typedef DebuggerDisposeThreadProcPtr DebuggerDisposeThreadUPP;
typedef DebuggerThreadSchedulerProcPtr DebuggerThreadSchedulerUPP;
# 127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadEntryUPP
NewThreadEntryUPP(ThreadEntryProcPtr userRoutine) ;
# 138 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadSchedulerUPP
NewThreadSchedulerUPP(ThreadSchedulerProcPtr userRoutine) ;
# 149 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadSwitchUPP
NewThreadSwitchUPP(ThreadSwitchProcPtr userRoutine) ;
# 160 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadTerminationUPP
NewThreadTerminationUPP(ThreadTerminationProcPtr userRoutine) ;
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern DebuggerNewThreadUPP
NewDebuggerNewThreadUPP(DebuggerNewThreadProcPtr userRoutine) ;
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern DebuggerDisposeThreadUPP
NewDebuggerDisposeThreadUPP(DebuggerDisposeThreadProcPtr userRoutine) ;
# 193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern DebuggerThreadSchedulerUPP
NewDebuggerThreadSchedulerUPP(DebuggerThreadSchedulerProcPtr userRoutine) ;
# 204 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeThreadEntryUPP(ThreadEntryUPP userUPP) ;
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeThreadSchedulerUPP(ThreadSchedulerUPP userUPP) ;
# 226 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeThreadSwitchUPP(ThreadSwitchUPP userUPP) ;
# 237 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeThreadTerminationUPP(ThreadTerminationUPP userUPP) ;
# 248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeDebuggerNewThreadUPP(DebuggerNewThreadUPP userUPP) ;
# 259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeDebuggerDisposeThreadUPP(DebuggerDisposeThreadUPP userUPP) ;
# 270 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeDebuggerThreadSchedulerUPP(DebuggerThreadSchedulerUPP userUPP) ;
# 281 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern voidPtr
InvokeThreadEntryUPP(
void * threadParam,
ThreadEntryUPP userUPP) ;
# 294 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadID
InvokeThreadSchedulerUPP(
SchedulerInfoRecPtr schedulerInfo,
ThreadSchedulerUPP userUPP) ;
# 307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
InvokeThreadSwitchUPP(
ThreadID threadBeingSwitched,
void * switchProcParam,
ThreadSwitchUPP userUPP) ;
# 321 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
InvokeThreadTerminationUPP(
ThreadID threadTerminated,
void * terminationProcParam,
ThreadTerminationUPP userUPP) ;
# 335 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
InvokeDebuggerNewThreadUPP(
ThreadID threadCreated,
DebuggerNewThreadUPP userUPP) ;
# 348 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
InvokeDebuggerDisposeThreadUPP(
ThreadID threadDeleted,
DebuggerDisposeThreadUPP userUPP) ;
# 361 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadID
InvokeDebuggerThreadSchedulerUPP(
SchedulerInfoRecPtr schedulerInfo,
DebuggerThreadSchedulerUPP userUPP) ;
# 390 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
#define NewThreadEntryUPP(userRoutine) ((ThreadEntryUPP)userRoutine)
#define NewThreadSchedulerUPP(userRoutine) ((ThreadSchedulerUPP)userRoutine)
#define NewThreadSwitchUPP(userRoutine) ((ThreadSwitchUPP)userRoutine)
#define NewThreadTerminationUPP(userRoutine) ((ThreadTerminationUPP)userRoutine)
#define NewDebuggerNewThreadUPP(userRoutine) ((DebuggerNewThreadUPP)userRoutine)
#define NewDebuggerDisposeThreadUPP(userRoutine) ((DebuggerDisposeThreadUPP)userRoutine)
#define NewDebuggerThreadSchedulerUPP(userRoutine) ((DebuggerThreadSchedulerUPP)userRoutine)
#define DisposeThreadEntryUPP(userUPP)
#define DisposeThreadSchedulerUPP(userUPP)
#define DisposeThreadSwitchUPP(userUPP)
#define DisposeThreadTerminationUPP(userUPP)
#define DisposeDebuggerNewThreadUPP(userUPP)
#define DisposeDebuggerDisposeThreadUPP(userUPP)
#define DisposeDebuggerThreadSchedulerUPP(userUPP)
#define InvokeThreadEntryUPP(threadParam,userUPP) (*userUPP)(threadParam)
#define InvokeThreadSchedulerUPP(schedulerInfo,userUPP) (*userUPP)(schedulerInfo)
#define InvokeThreadSwitchUPP(threadBeingSwitched,switchProcParam,userUPP) (*userUPP)(threadBeingSwitched, switchProcParam)
#define InvokeThreadTerminationUPP(threadTerminated,terminationProcParam,userUPP) (*userUPP)(threadTerminated, terminationProcParam)
#define InvokeDebuggerNewThreadUPP(threadCreated,userUPP) (*userUPP)(threadCreated)
#define InvokeDebuggerDisposeThreadUPP(threadDeleted,userUPP) (*userUPP)(threadDeleted)
#define InvokeDebuggerThreadSchedulerUPP(schedulerInfo,userUPP) (*userUPP)(schedulerInfo)
# 424 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
typedef ThreadEntryUPP ThreadEntryTPP;
typedef ThreadSchedulerUPP ThreadSchedulerTPP;
typedef ThreadSwitchUPP ThreadSwitchTPP;
typedef ThreadTerminationUPP ThreadTerminationTPP;
typedef DebuggerNewThreadUPP DebuggerNewThreadTPP;
typedef DebuggerDisposeThreadUPP DebuggerDisposeThreadTPP;
typedef DebuggerThreadSchedulerUPP DebuggerThreadSchedulerTPP;
# 439 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
NewThread(
ThreadStyle threadStyle,
ThreadEntryTPP threadEntry,
void * threadParam,
Size stackSize,
ThreadOptions options,
void ** threadResult,
ThreadID * threadMade) ;
# 458 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadScheduler(ThreadSchedulerTPP threadScheduler) ;
# 470 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadSwitcher(
ThreadID thread,
ThreadSwitchTPP threadSwitcher,
void * switchProcParam,
Boolean inOrOut) ;
# 486 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadTerminator(
ThreadID thread,
ThreadTerminationTPP threadTerminator,
void * terminationProcParam) ;
# 501 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetDebuggerNotificationProcs(
DebuggerNewThreadTPP notifyNewThread,
DebuggerDisposeThreadTPP notifyDisposeThread,
DebuggerThreadSchedulerTPP notifyThreadScheduler) ;
# 516 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
CreateThreadPool(
ThreadStyle threadStyle,
SInt16 numToCreate,
Size stackSize) ;
# 531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
GetDefaultThreadStackSize(
ThreadStyle threadStyle,
Size * stackSize) ;
# 545 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
ThreadCurrentStackSpace(
ThreadID thread,
ByteCount * freeStack) ;
# 559 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
DisposeThread(
ThreadID threadToDump,
void * threadResult,
Boolean recycleThread) ;
# 574 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
YieldToThread(ThreadID suggestedThread) ;
# 586 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
YieldToAnyThread(void) ;
# 599 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
#define MacGetCurrentThread GetCurrentThread
extern OSErr
GetCurrentThread(ThreadID * currentThreadID) ;
# 613 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
GetThreadState(
ThreadID threadToGet,
ThreadState * threadState) ;
# 627 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadState(
ThreadID threadToSet,
ThreadState newState,
ThreadID suggestedThread) ;
# 642 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadStateEndCritical(
ThreadID threadToSet,
ThreadState newState,
ThreadID suggestedThread) ;
# 657 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
ThreadBeginCritical(void) ;
# 669 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
ThreadEndCritical(void) ;
# 681 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
GetThreadCurrentTaskRef(ThreadTaskRef * threadTRef) ;
# 693 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
GetThreadStateGivenTaskRef(
ThreadTaskRef threadTRef,
ThreadID threadToGet,
ThreadState * threadState) ;
# 708 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadReadyGivenTaskRef(
ThreadTaskRef threadTRef,
ThreadID threadToSet) ;
# 724 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
GetFreeThreadCount(
ThreadStyle threadStyle,
SInt16 * freeCount) __attribute__((deprecated));
# 739 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
GetSpecificFreeThreadCount(
ThreadStyle threadStyle,
Size stackSize,
SInt16 * freeCount) __attribute__((deprecated));
#pragma pack(pop)
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
#define __FOLDERS__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
#pragma pack(push, 2)
# 69 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
enum {
kOnSystemDisk = -32768L,
kOnAppropriateDisk = -32767,
kSystemDomain = -32766,
kLocalDomain = -32765,
kNetworkDomain = -32764,
kUserDomain = -32763,
kClassicDomain = -32762,
kFolderManagerLastDomain = -32760
};
enum {
kLastDomainConstant = -32760
};
enum {
kCreateFolder = 1,
kDontCreateFolder = 0
};
# 177 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FindFolder(
FSVolumeRefNum vRefNum,
OSType folderType,
Boolean createFolder,
FSVolumeRefNum * foundVRefNum,
SInt32 * foundDirID) ;
# 219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
ReleaseFolder(
FSVolumeRefNum vRefNum,
OSType folderType) __attribute__((deprecated));
# 291 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FSFindFolder(
FSVolumeRefNum vRefNum,
OSType folderType,
Boolean createFolder,
FSRef * foundRef) ;
# 305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
enum {
kDesktopFolderType = 'desk',
kTrashFolderType = 'trsh',
kWhereToEmptyTrashFolderType = 'empt',
kFontsFolderType = 'font',
kPreferencesFolderType = 'pref',
kSystemPreferencesFolderType = 'sprf',
kTemporaryFolderType = 'temp',
# 329 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
kChewableItemsFolderType = 'flnt',
kTemporaryItemsInCacheDataFolderType = 'vtmp',
kApplicationsFolderType = 'apps',
kVolumeRootFolderType = 'root',
kDomainTopLevelFolderType = 'dtop',
kDomainLibraryFolderType = 'dlib',
kUsersFolderType = 'usrs',
kCurrentUserFolderType = 'cusr',
kSharedUserDataFolderType = 'sdat'
};
enum {
kDocumentsFolderType = 'docs',
kPictureDocumentsFolderType = 'pdoc',
kMovieDocumentsFolderType = 'mdoc',
kMusicDocumentsFolderType = 0xB5646F63 ,
kInternetSitesFolderType = 'site',
kPublicFolderType = 'pubb'
};
enum {
kSharedLibrariesFolderType = 0xC46C6962 ,
kVoicesFolderType = 'fvoc',
kUtilitiesFolderType = 0x757469C4 ,
kThemesFolderType = 'thme',
kFavoritesFolderType = 'favs',
kInternetSearchSitesFolderType = 'issf',
kInstallerLogsFolderType = 'ilgf',
kScriptsFolderType = 0x736372C4 ,
kFolderActionsFolderType = 'fasf',
kSpeakableItemsFolderType = 'spki',
kKeychainFolderType = 'kchn'
};
enum {
kColorSyncFolderType = 'sync',
kColorSyncCMMFolderType = 'ccmm',
kColorSyncScriptingFolderType = 'cscr',
kPrintersFolderType = 'impr',
kSpeechFolderType = 'spch',
kCarbonLibraryFolderType = 'carb',
kDocumentationFolderType = 'info',
kISSDownloadsFolderType = 'issd',
kUserSpecificTmpFolderType = 'utmp',
kCachedDataFolderType = 'cach',
kFrameworksFolderType = 'fram',
kPrivateFrameworksFolderType = 'pfrm',
kClassicDesktopFolderType = 'sdsk',
kSystemSoundsFolderType = 'ssnd',
kComponentsFolderType = 'cmpd',
kQuickTimeComponentsFolderType = 'wcmp',
kCoreServicesFolderType = 'csrv',
kAudioSupportFolderType = 'adio',
kAudioPresetsFolderType = 'apst',
kAudioSoundsFolderType = 'asnd',
kAudioSoundBanksFolderType = 'bank',
kAudioAlertSoundsFolderType = 'alrt',
kAudioPlugInsFolderType = 'aplg',
kAudioComponentsFolderType = 'acmp',
kKernelExtensionsFolderType = 'kext',
kDirectoryServicesFolderType = 'dsrv',
kDirectoryServicesPlugInsFolderType = 'dplg',
kInstallerReceiptsFolderType = 'rcpt',
kFileSystemSupportFolderType = 'fsys',
kAppleShareSupportFolderType = 'shar',
kAppleShareAuthenticationFolderType = 'auth',
kMIDIDriversFolderType = 'midi',
kKeyboardLayoutsFolderType = 'klay',
kIndexFilesFolderType = 'indx',
kFindByContentIndexesFolderType = 'fbcx',
kManagedItemsFolderType = 'mang',
kBootTimeStartupItemsFolderType = 'empz',
kAutomatorWorkflowsFolderType = 'flow',
kAutosaveInformationFolderType = 'asav',
kSpotlightSavedSearchesFolderType = 'spot',
kSpotlightImportersFolderType = 'simp',
kSpotlightMetadataCacheFolderType = 'scch',
kInputManagersFolderType = 'inpt',
kInputMethodsFolderType = 'inpf',
kLibraryAssistantsFolderType = 'astl',
kAudioDigidesignFolderType = 'adig',
kAudioVSTFolderType = 'avst',
kColorPickersFolderType = 'cpkr',
kCompositionsFolderType = 'cmps',
kFontCollectionsFolderType = 'fncl',
kiMovieFolderType = 'imov',
kiMoviePlugInsFolderType = 'impi',
kiMovieSoundEffectsFolderType = 'imse',
kDownloadsFolderType = 'down'
};
enum {
kColorSyncProfilesFolderType = 'prof',
kApplicationSupportFolderType = 'asup',
kTextEncodingsFolderType = 0xC4746578 ,
kPrinterDescriptionFolderType = 'ppdf',
kPrinterDriverFolderType = 0xC4707264 ,
kScriptingAdditionsFolderType = 0xC4736372
};
enum {
kClassicPreferencesFolderType = 'cprf'
};
enum {
kSystemFolderType = 'macs',
kSystemDesktopFolderType = 'sdsk',
kSystemTrashFolderType = 'strs',
kPrintMonitorDocsFolderType = 'prnt',
kALMModulesFolderType = 'walk',
kALMPreferencesFolderType = 'trip',
kALMLocationsFolderType = 'fall',
kAppleExtrasFolderType = 0x616578C4 ,
kContextualMenuItemsFolderType = 'cmnu',
kMacOSReadMesFolderType = 0x6D6F72C4 ,
kStartupFolderType = 'strt',
kShutdownFolderType = 'shdf',
kAppleMenuFolderType = 'amnu',
kControlPanelFolderType = 'ctrl',
kSystemControlPanelFolderType = 'sctl',
kExtensionFolderType = 'extn',
kExtensionDisabledFolderType = 'extD',
kControlPanelDisabledFolderType = 'ctrD',
kSystemExtensionDisabledFolderType = 'macD',
kStartupItemsDisabledFolderType = 'strD',
kShutdownItemsDisabledFolderType = 'shdD',
kAssistantsFolderType = 0x617374C4 ,
kStationeryFolderType = 'odst',
kOpenDocFolderType = 'odod',
kOpenDocShellPlugInsFolderType = 'odsp',
kEditorsFolderType = 'oded',
kOpenDocEditorsFolderType = 0xC46F6466 ,
kOpenDocLibrariesFolderType = 'odlb',
kGenEditorsFolderType = 0xC4656469 ,
kHelpFolderType = 0xC4686C70 ,
kInternetPlugInFolderType = 0xC46E6574 ,
kModemScriptsFolderType = 0xC46D6F64 ,
kControlStripModulesFolderType = 'sdev',
kInternetFolderType = 0x696E74C4 ,
kAppearanceFolderType = 'appr',
kSoundSetsFolderType = 'snds',
kDesktopPicturesFolderType = 0x647470C4 ,
kFindSupportFolderType = 'fnds',
kRecentApplicationsFolderType = 'rapp',
kRecentDocumentsFolderType = 'rdoc',
kRecentServersFolderType = 'rsvr',
kLauncherItemsFolderType = 'laun',
kQuickTimeExtensionsFolderType = 'qtex',
kDisplayExtensionsFolderType = 'dspl',
kMultiprocessingFolderType = 'mpxf',
kPrintingPlugInsFolderType = 'pplg',
kAppleshareAutomountServerAliasesFolderType = 0x737276C4 ,
kVolumeSettingsFolderType = 'vsfd',
kPreMacOS91ApplicationsFolderType = 0x8C707073 ,
kPreMacOS91InstallerLogsFolderType = 0x946C6766 ,
kPreMacOS91AssistantsFolderType = 0x8C7374C4 ,
kPreMacOS91UtilitiesFolderType = 0x9F7469C4 ,
kPreMacOS91AppleExtrasFolderType = 0x8C6578C4 ,
kPreMacOS91MacOSReadMesFolderType = 0xB56F72C4 ,
kPreMacOS91InternetFolderType = 0x946E74C4 ,
kPreMacOS91AutomountedServersFolderType = 0xA77276C4 ,
kPreMacOS91StationeryFolderType = 0xBF647374 ,
kLocalesFolderType = 0xC46C6F63 ,
kFindByContentPluginsFolderType = 'fbcp',
kFindByContentFolderType = 'fbcf'
};
enum {
kMagicTemporaryItemsFolderType = 'mtmp',
kTemporaryItemsInUserDomainFolderType = 'temq',
kCurrentUserRemoteFolderLocation = 'rusf',
kCurrentUserRemoteFolderType = 'rusr'
};
enum {
kDeveloperDocsFolderType = 'ddoc',
kDeveloperHelpFolderType = 'devh',
kDeveloperFolderType = 'devf',
kDeveloperApplicationsFolderType = 'dapp'
};
enum {
kCreateFolderAtBoot = 0x00000002,
kCreateFolderAtBootBit = 1,
kFolderCreatedInvisible = 0x00000004,
kFolderCreatedInvisibleBit = 2,
kFolderCreatedNameLocked = 0x00000008,
kFolderCreatedNameLockedBit = 3,
kFolderCreatedAdminPrivs = 0x00000010,
kFolderCreatedAdminPrivsBit = 4
};
enum {
kFolderInUserFolder = 0x00000020,
kFolderInUserFolderBit = 5,
kFolderTrackedByAlias = 0x00000040,
kFolderTrackedByAliasBit = 6,
kFolderInRemoteUserFolderIfAvailable = 0x00000080,
kFolderInRemoteUserFolderIfAvailableBit = 7,
kFolderNeverMatchedInIdentifyFolder = 0x00000100,
kFolderNeverMatchedInIdentifyFolderBit = 8,
kFolderMustStayOnSameVolume = 0x00000200,
kFolderMustStayOnSameVolumeBit = 9,
kFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledMask = 0x00000400,
kFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledBit = 10,
kFolderInLocalOrRemoteUserFolder = kFolderInUserFolder | kFolderInRemoteUserFolderIfAvailable,
kFolderManagerNotCreatedOnRemoteVolumesBit = 11,
kFolderManagerNotCreatedOnRemoteVolumesMask = (1 << kFolderManagerNotCreatedOnRemoteVolumesBit),
kFolderManagerNewlyCreatedFolderIsLocalizedBit = 12,
kFolderManagerNewlyCreatedFolderShouldHaveDotLocalizedCreatedWithinMask = (1 << kFolderManagerNewlyCreatedFolderIsLocalizedBit)
};
typedef UInt32 FolderDescFlags;
enum {
kRelativeFolder = 'relf',
kRedirectedRelativeFolder = 'rrel',
kSpecialFolder = 'spcf'
};
typedef OSType FolderClass;
enum {
kBlessedFolder = 'blsf',
kRootFolder = 'rotf'
};
enum {
kCurrentUserFolderLocation = 'cusf'
};
enum {
kDictionariesFolderType = 'dict',
kLogsFolderType = 'logs',
kPreferencePanesFolderType = 'ppan'
};
enum {
kWidgetsFolderType = 'wdgt',
kScreenSaversFolderType = 'scrn'
};
typedef OSType FolderType;
typedef OSType FolderLocation;
struct FolderDesc {
Size descSize;
FolderType foldType;
FolderDescFlags flags;
FolderClass foldClass;
FolderType foldLocation;
OSType badgeSignature;
OSType badgeType;
UInt32 reserved;
StrFileName name;
};
typedef struct FolderDesc FolderDesc;
typedef FolderDesc * FolderDescPtr;
typedef UInt32 RoutingFlags;
struct FolderRouting {
Size descSize;
OSType fileType;
FolderType routeFromFolder;
FolderType routeToFolder;
RoutingFlags flags;
};
typedef struct FolderRouting FolderRouting;
typedef FolderRouting * FolderRoutingPtr;
# 685 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
AddFolderDescriptor(
FolderType foldType,
FolderDescFlags flags,
FolderClass foldClass,
FolderLocation foldLocation,
OSType badgeSignature,
OSType badgeType,
ConstStrFileNameParam name,
Boolean replaceFlag) ;
# 737 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
GetFolderTypes(
UInt32 requestedTypeCount,
UInt32 * totalTypeCount,
FolderType * theTypes) ;
# 765 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
RemoveFolderDescriptor(FolderType foldType) ;
# 811 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSStatus
GetFolderNameUnicode(
FSVolumeRefNum vRefNum,
OSType foldType,
FSVolumeRefNum * foundVRefNum,
HFSUniStr255 * name) ;
# 858 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
InvalidateFolderDescriptorCache(
FSVolumeRefNum vRefNum,
SInt32 dirID) ;
# 903 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
IdentifyFolder(
FSVolumeRefNum vRefNum,
SInt32 dirID,
FolderType * foldType) ;
# 959 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FSDetermineIfRefIsEnclosedByFolder(
FSVolumeRefNum domainOrVRefNum,
OSType folderType,
const FSRef * inRef,
Boolean * outResult) ;
# 1021 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
DetermineIfPathIsEnclosedByFolder(
FSVolumeRefNum domainOrVRefNum,
OSType folderType,
const UInt8 * utf8Path,
Boolean pathIsRealPath,
Boolean * outResult) ;
# 1113 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FindFolderExtended(
FSVolumeRefNum vRefNum,
OSType folderType,
Boolean createFolder,
UInt32 flags,
void * data,
FSVolumeRefNum * foundVRefNum,
SInt32 * foundDirID) __attribute__((deprecated));
# 1196 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FSFindFolderExtended(
FSVolumeRefNum vRefNum,
OSType folderType,
Boolean createFolder,
UInt32 flags,
void * data,
FSRef * foundRef) __attribute__((deprecated));
# 1242 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
GetFolderDescriptor(
FolderType foldType,
Size descSize,
FolderDesc * foldDesc) __attribute__((deprecated));
# 1293 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
GetFolderName(
FSVolumeRefNum vRefNum,
OSType foldType,
FSVolumeRefNum * foundVRefNum,
StrFileName name) __attribute__((deprecated));
# 1349 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
AddFolderRouting(
OSType fileType,
FolderType routeFromFolder,
FolderType routeToFolder,
RoutingFlags flags,
Boolean replaceFlag) __attribute__((deprecated));
# 1392 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
RemoveFolderRouting(
OSType fileType,
FolderType routeFromFolder) __attribute__((deprecated));
# 1444 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FindFolderRouting(
OSType fileType,
FolderType routeFromFolder,
FolderType * routeToFolder,
RoutingFlags * flags) __attribute__((deprecated));
# 1498 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
GetFolderRoutings(
UInt32 requestedRoutingCount,
UInt32 * totalRoutingCount,
Size routingSize,
FolderRouting * theRoutings) __attribute__((deprecated));
# 1557 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FSpDetermineIfSpecIsEnclosedByFolder(
FSVolumeRefNum domainOrVRefNum,
OSType folderType,
const FSSpec * inSpec,
Boolean * outResult) __attribute__((deprecated));
typedef OSStatus ( * FolderManagerNotificationProcPtr)(OSType message, void *arg, void *userRefCon);
typedef FolderManagerNotificationProcPtr FolderManagerNotificationUPP;
# 1577 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern FolderManagerNotificationUPP
NewFolderManagerNotificationUPP(FolderManagerNotificationProcPtr userRoutine) ;
# 1588 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern void
DisposeFolderManagerNotificationUPP(FolderManagerNotificationUPP userUPP) ;
# 1599 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSStatus
InvokeFolderManagerNotificationUPP(
OSType message,
void * arg,
void * userRefCon,
FolderManagerNotificationUPP userUPP) ;
#define NewFolderManagerNotificationUPP(userRoutine) ((FolderManagerNotificationUPP)userRoutine)
#define DisposeFolderManagerNotificationUPP(userUPP)
#define InvokeFolderManagerNotificationUPP(message,arg,userRefCon,userUPP) (*userUPP)(message, arg, userRefCon)
# 1644 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FolderManagerRegisterNotificationProc(
FolderManagerNotificationUPP notificationProc,
void * refCon,
UInt32 options) __attribute__((deprecated));
# 1674 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FolderManagerUnregisterNotificationProc(
FolderManagerNotificationUPP notificationProc,
void * refCon) __attribute__((deprecated));
# 1705 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSStatus
FolderManagerRegisterCallNotificationProcs(
OSType message,
void * arg,
UInt32 options) __attribute__((deprecated));
# 1720 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
#pragma pack(pop)
# 175 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
#define __TIMER__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
#pragma pack(push, 2)
# 74 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
Microseconds(UnsignedWide * microTickCount) ;
# 112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
enum {
kTMTaskActive = (1L << 15)
};
typedef struct TMTask TMTask;
typedef TMTask * TMTaskPtr;
typedef void ( * TimerProcPtr)(TMTaskPtr tmTaskPtr);
typedef TimerProcPtr TimerUPP;
struct TMTask {
QElemPtr qLink;
short qType;
TimerUPP tmAddr;
long tmCount;
long tmWakeUp;
long tmReserved;
};
# 141 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
InsTime(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 156 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
InsXTime(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
PrimeTime(
QElemPtr tmTaskPtr,
long count) __attribute__((deprecated));
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
RmvTime(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 228 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern OSErr
InstallTimeTask(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 278 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern OSErr
InstallXTimeTask(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern OSErr
PrimeTimeTask(
QElemPtr tmTaskPtr,
long count) __attribute__((deprecated));
# 391 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern OSErr
RemoveTimeTask(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern TimerUPP
NewTimerUPP(TimerProcPtr userRoutine) ;
# 415 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
DisposeTimerUPP(TimerUPP userUPP) ;
# 426 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
InvokeTimerUPP(
TMTaskPtr tmTaskPtr,
TimerUPP userUPP) ;
#define NewTimerUPP(userRoutine) ((TimerUPP)userRoutine)
#define DisposeTimerUPP(userUPP)
#define InvokeTimerUPP(tmTaskPtr,userUPP) (*userUPP)(tmTaskPtr)
#pragma pack(pop)
# 179 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 1 3
# 26 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
#define __MULTIPROCESSINGINFO__
# 48 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
#pragma options align=power
# 148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
extern OSStatus
MPGetNextCpuID(
MPCoherenceID owningCoherenceID,
MPCpuID * cpuID) ;
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
extern OSStatus
MPGetNextTaskID(
MPProcessID owningProcessID,
MPTaskID * taskID) ;
# 299 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
enum {
kMPQueueInfoVersion = 1L | (kOpaqueQueueID << 16),
kMPSemaphoreInfoVersion = 1L | (kOpaqueSemaphoreID << 16),
kMPEventInfoVersion = 1L | (kOpaqueEventID << 16),
kMPCriticalRegionInfoVersion = 1L | (kOpaqueCriticalRegionID << 16),
kMPNotificationInfoVersion = 1L | (kOpaqueNotificationID << 16),
kMPAddressSpaceInfoVersion = 1L | (kOpaqueAddressSpaceID << 16)
};
struct MPQueueInfo {
PBVersion version;
MPProcessID processID;
OSType queueName;
ItemCount nWaiting;
MPTaskID waitingTaskID;
ItemCount nMessages;
ItemCount nReserved;
void * p1;
void * p2;
void * p3;
};
typedef struct MPQueueInfo MPQueueInfo;
struct MPSemaphoreInfo {
PBVersion version;
MPProcessID processID;
OSType semaphoreName;
ItemCount nWaiting;
MPTaskID waitingTaskID;
ItemCount maximum;
ItemCount count;
};
typedef struct MPSemaphoreInfo MPSemaphoreInfo;
struct MPEventInfo {
PBVersion version;
MPProcessID processID;
OSType eventName;
ItemCount nWaiting;
MPTaskID waitingTaskID;
MPEventFlags events;
};
typedef struct MPEventInfo MPEventInfo;
struct MPCriticalRegionInfo {
PBVersion version;
MPProcessID processID;
OSType regionName;
ItemCount nWaiting;
MPTaskID waitingTaskID;
MPTaskID owningTask;
ItemCount count;
};
typedef struct MPCriticalRegionInfo MPCriticalRegionInfo;
struct MPNotificationInfo {
PBVersion version;
MPProcessID processID;
OSType notificationName;
MPQueueID queueID;
void * p1;
void * p2;
void * p3;
MPEventID eventID;
MPEventFlags events;
MPSemaphoreID semaphoreID;
};
typedef struct MPNotificationInfo MPNotificationInfo;
struct MPAddressSpaceInfo {
PBVersion version;
MPProcessID processID;
MPCoherenceID groupID;
ItemCount nTasks;
UInt32 vsid[16];
};
typedef struct MPAddressSpaceInfo MPAddressSpaceInfo;
# 460 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
#pragma options align=reset
# 183 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 194 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
#define __LOWMEM__
# 52 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
#pragma pack(push, 2)
# 124 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetMemTop(void) __attribute__((deprecated));
# 135 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetMemTop(Ptr value) __attribute__((deprecated));
# 147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetBufPtr(void) __attribute__((deprecated));
# 158 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetBufPtr(Ptr value) __attribute__((deprecated));
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetHeapEnd(void) __attribute__((deprecated));
# 181 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetHeapEnd(Ptr value) __attribute__((deprecated));
# 192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UInt8 LMGetCPUFlag(void) __attribute__((deprecated));
# 203 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetCPUFlag(UInt8 value) __attribute__((deprecated));
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt32 LMGetRndSeed(void) __attribute__((deprecated));
# 226 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetRndSeed(SInt32 value) __attribute__((deprecated));
# 238 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UInt8 LMGetSEvtEnb(void) __attribute__((deprecated));
# 249 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSEvtEnb(UInt8 value) __attribute__((deprecated));
# 262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetBootDrive(void) ;
# 273 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetBootDrive(SInt16 value) ;
# 286 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UInt8 LMGetSdVolume(void) __attribute__((deprecated));
# 297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSdVolume(UInt8 value) __attribute__((deprecated));
# 309 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetSoundPtr(void) __attribute__((deprecated));
# 320 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSoundPtr(Ptr value) __attribute__((deprecated));
# 332 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetSoundBase(void) __attribute__((deprecated));
# 343 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSoundBase(Ptr value) __attribute__((deprecated));
# 355 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UInt8 LMGetSoundLevel(void) __attribute__((deprecated));
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSoundLevel(UInt8 value) __attribute__((deprecated));
# 378 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetCurPitch(void) __attribute__((deprecated));
# 389 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetCurPitch(SInt16 value) __attribute__((deprecated));
# 587 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UInt8 LMGetScrDmpEnb(void) __attribute__((deprecated));
# 598 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetScrDmpEnb(UInt8 value) __attribute__((deprecated));
# 610 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt32 LMGetBufTgFNum(void) __attribute__((deprecated));
# 621 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetBufTgFNum(SInt32 value) __attribute__((deprecated));
# 633 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetBufTgFFlg(void) __attribute__((deprecated));
# 644 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetBufTgFFlg(SInt16 value) __attribute__((deprecated));
# 656 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetBufTgFBkNum(void) __attribute__((deprecated));
# 667 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetBufTgFBkNum(SInt16 value) __attribute__((deprecated));
# 679 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt32 LMGetBufTgDate(void) __attribute__((deprecated));
# 690 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetBufTgDate(SInt32 value) __attribute__((deprecated));
# 701 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt32 LMGetMinStack(void) __attribute__((deprecated));
# 712 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetMinStack(SInt32 value) __attribute__((deprecated));
# 724 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt32 LMGetDefltStack(void) __attribute__((deprecated));
# 735 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetDefltStack(SInt32 value) __attribute__((deprecated));
# 746 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Handle LMGetGZRootHnd(void) __attribute__((deprecated));
# 757 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetGZRootHnd(Handle value) __attribute__((deprecated));
# 769 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Handle LMGetGZMoveHnd(void) __attribute__((deprecated));
# 780 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetGZMoveHnd(Handle value) __attribute__((deprecated));
# 791 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UniversalProcPtr LMGetToExtFS(void) __attribute__((deprecated));
# 802 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetToExtFS(UniversalProcPtr value) __attribute__((deprecated));
# 813 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UniversalProcPtr LMGetJStash(void) __attribute__((deprecated));
# 824 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetJStash(UniversalProcPtr value) __attribute__((deprecated));
# 835 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern FSIORefNum LMGetCurApRefNum(void) __attribute__((deprecated));
# 846 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetCurApRefNum(FSIORefNum value) __attribute__((deprecated));
# 862 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetCurStackBase(void) __attribute__((deprecated));
# 876 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetCurStackBase(Ptr value) __attribute__((deprecated));
# 887 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetCurPageOption(void) __attribute__((deprecated));
# 898 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetCurPageOption(SInt16 value) __attribute__((deprecated));
# 911 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetPrintErr(void) __attribute__((deprecated));
# 922 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetPrintErr(SInt16 value) __attribute__((deprecated));
# 939 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetApFontID(void) __attribute__((deprecated));
# 954 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetApFontID(SInt16 value) __attribute__((deprecated));
# 966 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt32 LMGetOneOne(void) __attribute__((deprecated));
# 977 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetOneOne(SInt32 value) __attribute__((deprecated));
# 988 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt32 LMGetMinusOne(void) __attribute__((deprecated));
# 999 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetMinusOne(SInt32 value) __attribute__((deprecated));
# 1012 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetSysMap(void) ;
# 1023 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSysMap(SInt16 value) ;
# 1034 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UInt8 LMGetResLoad(void) ;
# 1045 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetResLoad(UInt8 value) ;
# 1056 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetResErr(void) ;
# 1067 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetResErr(SInt16 value) ;
# 1078 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UInt8 LMGetTmpResLoad(void) ;
# 1089 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetTmpResLoad(UInt8 value) ;
# 1101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetIntlSpec(void) ;
# 1112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetIntlSpec(Ptr value) ;
# 1129 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetSysFontFam(void) __attribute__((deprecated));
# 1146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSysFontFam(SInt16 value) __attribute__((deprecated));
# 1161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetSysFontSize(void) __attribute__((deprecated));
# 1176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSysFontSize(SInt16 value) ;
# 1193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern StringPtr LMGetCurApName(void) __attribute__((deprecated));
# 1204 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetCurApName(ConstStr31Param curApNameValue) __attribute__((deprecated));
# 1219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern StringPtr LMGetSysResName(void) __attribute__((deprecated));
# 1234 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSysResName(ConstStr15Param sysResNameValue) __attribute__((deprecated));
# 1251 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern StringPtr LMGetFinderName(void) __attribute__((deprecated));
# 1266 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetFinderName(ConstStr15Param finderNameValue) __attribute__((deprecated));
# 1283 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetToolScratch(void) __attribute__((deprecated));
# 1300 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetToolScratch(const void * toolScratchValue) __attribute__((deprecated));
# 1317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UniversalProcPtr LMGetLvl2DT(short vectorNumber) __attribute__((deprecated));
# 1328 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetLvl2DT(UniversalProcPtr Lvl2DTValue, short vectorNumber) __attribute__((deprecated));
# 1352 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetHighHeapMark(void) __attribute__((deprecated));
# 1363 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetHighHeapMark(Ptr value) __attribute__((deprecated));
# 1375 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetStackLowPoint(void) __attribute__((deprecated));
# 1386 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetStackLowPoint(Ptr value) __attribute__((deprecated));
# 1398 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetDiskFormatingHFSDefaults(void) __attribute__((deprecated));
# 1409 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetDiskFormatingHFSDefaults(Ptr value) __attribute__((deprecated));
#pragma pack(pop)
# 195 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
#define __AVLTREE__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
#pragma pack(push, 2)
# 48 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef UInt16 AVLVisitStage;
enum {
kAVLPreOrder = 0,
kAVLInOrder = 1,
kAVLPostOrder = 2
};
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef UInt16 AVLOrder;
enum {
kLeftToRight = 0,
kRightToLeft = 1
};
# 96 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef UInt16 AVLNodeType;
enum {
kAVLIsTree = 0,
kAVLIsLeftBranch = 1,
kAVLIsRightBranch = 2,
kAVLIsLeaf = 3,
kAVLNullNode = 4
};
enum {
errItemAlreadyInTree = -960,
errNotValidTree = -961,
errItemNotFoundInTree = -962,
errCanNotInsertWhileWalkProcInProgress = -963,
errTreeIsLocked = -964
};
# 124 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
struct AVLTreeStruct {
OSType signature;
unsigned long privateStuff[8];
};
typedef struct AVLTreeStruct AVLTreeStruct;
typedef AVLTreeStruct * AVLTreePtr;
# 166 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef SInt32 ( * AVLCompareItemsProcPtr)(AVLTreePtr tree, const void *i1, const void *i2, AVLNodeType nd_typ);
# 192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef ByteCount ( * AVLItemSizeProcPtr)(AVLTreePtr tree, const void *itemPtr);
# 216 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef void ( * AVLDisposeItemProcPtr)(AVLTreePtr tree, const void *dataP);
# 269 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef OSErr ( * AVLWalkProcPtr)(AVLTreePtr tree, const void *dataPtr, AVLVisitStage visitStage, AVLNodeType node, UInt32 level, SInt32 balance, void *refCon);
typedef AVLCompareItemsProcPtr AVLCompareItemsUPP;
typedef AVLItemSizeProcPtr AVLItemSizeUPP;
typedef AVLDisposeItemProcPtr AVLDisposeItemUPP;
typedef AVLWalkProcPtr AVLWalkUPP;
# 282 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern AVLCompareItemsUPP
NewAVLCompareItemsUPP(AVLCompareItemsProcPtr userRoutine) __attribute__((deprecated));
# 293 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern AVLItemSizeUPP
NewAVLItemSizeUPP(AVLItemSizeProcPtr userRoutine) __attribute__((deprecated));
# 304 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern AVLDisposeItemUPP
NewAVLDisposeItemUPP(AVLDisposeItemProcPtr userRoutine) __attribute__((deprecated));
# 315 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern AVLWalkUPP
NewAVLWalkUPP(AVLWalkProcPtr userRoutine) __attribute__((deprecated));
# 326 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern void
DisposeAVLCompareItemsUPP(AVLCompareItemsUPP userUPP) __attribute__((deprecated));
# 337 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern void
DisposeAVLItemSizeUPP(AVLItemSizeUPP userUPP) __attribute__((deprecated));
# 348 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern void
DisposeAVLDisposeItemUPP(AVLDisposeItemUPP userUPP) __attribute__((deprecated));
# 359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern void
DisposeAVLWalkUPP(AVLWalkUPP userUPP) __attribute__((deprecated));
# 370 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern SInt32
InvokeAVLCompareItemsUPP(
AVLTreePtr tree,
const void * i1,
const void * i2,
AVLNodeType nd_typ,
AVLCompareItemsUPP userUPP) __attribute__((deprecated));
# 386 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern ByteCount
InvokeAVLItemSizeUPP(
AVLTreePtr tree,
const void * itemPtr,
AVLItemSizeUPP userUPP) __attribute__((deprecated));
# 400 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern void
InvokeAVLDisposeItemUPP(
AVLTreePtr tree,
const void * dataP,
AVLDisposeItemUPP userUPP) __attribute__((deprecated));
# 414 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
InvokeAVLWalkUPP(
AVLTreePtr tree,
const void * dataPtr,
AVLVisitStage visitStage,
AVLNodeType node,
UInt32 level,
SInt32 balance,
void * refCon,
AVLWalkUPP userUPP) __attribute__((deprecated));
# 440 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
#define NewAVLCompareItemsUPP(userRoutine) ((AVLCompareItemsUPP)userRoutine)
#define NewAVLItemSizeUPP(userRoutine) ((AVLItemSizeUPP)userRoutine)
#define NewAVLDisposeItemUPP(userRoutine) ((AVLDisposeItemUPP)userRoutine)
#define NewAVLWalkUPP(userRoutine) ((AVLWalkUPP)userRoutine)
#define DisposeAVLCompareItemsUPP(userUPP)
#define DisposeAVLItemSizeUPP(userUPP)
#define DisposeAVLDisposeItemUPP(userUPP)
#define DisposeAVLWalkUPP(userUPP)
#define InvokeAVLCompareItemsUPP(tree,i1,i2,nd_typ,userUPP) (*userUPP)(tree, i1, i2, nd_typ)
#define InvokeAVLItemSizeUPP(tree,itemPtr,userUPP) (*userUPP)(tree, itemPtr)
#define InvokeAVLDisposeItemUPP(tree,dataP,userUPP) (*userUPP)(tree, dataP)
#define InvokeAVLWalkUPP(tree,dataPtr,visitStage,node,level,balance,refCon,userUPP) (*userUPP)(tree, dataPtr, visitStage, node, level, balance, refCon)
# 511 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
AVLInit(
UInt32 flags,
AVLCompareItemsUPP compareItemsProc,
AVLItemSizeUPP sizeItemProc,
AVLDisposeItemUPP disposeItemProc,
void * refCon,
AVLTreePtr * tree) __attribute__((deprecated));
# 551 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
AVLDispose(
AVLTreePtr * tree,
AVLOrder order) __attribute__((deprecated));
# 619 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
AVLWalk(
AVLTreePtr tree,
AVLWalkUPP walkProc,
AVLOrder order,
void * walkRefCon) __attribute__((deprecated));
# 655 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
AVLCount(
AVLTreePtr tree,
UInt32 * count) __attribute__((deprecated));
# 705 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
AVLGetIndItem(
AVLTreePtr tree,
UInt32 index,
void * dataPtr,
ByteCount * itemSize) __attribute__((deprecated));
# 747 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
AVLInsert(
AVLTreePtr tree,
const void * data) __attribute__((deprecated));
# 799 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
AVLRemove(
AVLTreePtr tree,
const void * key,
void * dataPtr,
ByteCount * itemSize) __attribute__((deprecated));
# 851 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
AVLFind(
AVLTreePtr tree,
const void * key,
void * dataPtr,
ByteCount * itemSize) __attribute__((deprecated));
# 887 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
AVLGetRefcon(
AVLTreePtr tree,
void ** refCon) __attribute__((deprecated));
#pragma pack(pop)
# 199 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 1 3
# 19 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#define __PEFBINARYFORMAT__
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#pragma pack(push, 2)
# 102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFContainerHeader {
OSType tag1;
OSType tag2;
OSType architecture;
UInt32 formatVersion;
UInt32 dateTimeStamp;
UInt32 oldDefVersion;
UInt32 oldImpVersion;
UInt32 currentVersion;
UInt16 sectionCount;
UInt16 instSectionCount;
UInt32 reservedA;
};
typedef struct PEFContainerHeader PEFContainerHeader;
enum {
kPEFTag1 = 'Joy!',
kPEFTag2 = 'peff',
kPEFVersion = 0x00000001
};
enum {
kPEFFirstSectionHeaderOffset = sizeof(PEFContainerHeader)
};
#define PEFFirstSectionNameOffset(container) ( kPEFFirstSectionHeaderOffset + ((container)->sectionCount * sizeof ( PEFSectionHeader )) )
# 138 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFSectionHeader {
SInt32 nameOffset;
UInt32 defaultAddress;
UInt32 totalLength;
UInt32 unpackedLength;
UInt32 containerLength;
UInt32 containerOffset;
UInt8 sectionKind;
UInt8 shareKind;
UInt8 alignment;
UInt8 reservedA;
};
typedef struct PEFSectionHeader PEFSectionHeader;
enum {
kPEFCodeSection = 0,
kPEFUnpackedDataSection = 1,
kPEFPackedDataSection = 2,
kPEFConstantSection = 3,
kPEFExecDataSection = 6,
kPEFLoaderSection = 4,
kPEFDebugSection = 5,
kPEFExceptionSection = 7,
kPEFTracebackSection = 8
};
enum {
kPEFProcessShare = 1,
kPEFGlobalShare = 4,
kPEFProtectedShare = 5
};
# 197 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFPkDataZero = 0,
kPEFPkDataBlock = 1,
kPEFPkDataRepeat = 2,
kPEFPkDataRepeatBlock = 3,
kPEFPkDataRepeatZero = 4
};
enum {
kPEFPkDataOpcodeShift = 5,
kPEFPkDataCount5Mask = 0x1F,
kPEFPkDataMaxCount5 = 31,
kPEFPkDataVCountShift = 7,
kPEFPkDataVCountMask = 0x7F,
kPEFPkDataVCountEndMask = 0x80
};
#define PEFPkDataOpcode(byte) ( ((UInt8)(byte)) >> kPEFPkDataOpcodeShift )
#define PEFPkDataCount5(byte) ( ((UInt8)(byte)) & kPEFPkDataCount5Mask )
#define PEFPkDataComposeInstr(opcode,count5) ( (((UInt8)(opcode)) << kPEFPkDataOpcodeShift) | ((UInt8)(count5)) )
# 313 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFLoaderInfoHeader {
SInt32 mainSection;
UInt32 mainOffset;
SInt32 initSection;
UInt32 initOffset;
SInt32 termSection;
UInt32 termOffset;
UInt32 importedLibraryCount;
UInt32 totalImportedSymbolCount;
UInt32 relocSectionCount;
UInt32 relocInstrOffset;
UInt32 loaderStringsOffset;
UInt32 exportHashOffset;
UInt32 exportHashTablePower;
UInt32 exportedSymbolCount;
};
typedef struct PEFLoaderInfoHeader PEFLoaderInfoHeader;
struct PEFImportedLibrary {
UInt32 nameOffset;
UInt32 oldImpVersion;
UInt32 currentVersion;
UInt32 importedSymbolCount;
UInt32 firstImportedSymbol;
UInt8 options;
UInt8 reservedA;
UInt16 reservedB;
};
typedef struct PEFImportedLibrary PEFImportedLibrary;
enum {
kPEFWeakImportLibMask = 0x40,
kPEFInitLibBeforeMask = 0x80
};
# 375 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFImportedSymbol {
UInt32 classAndName;
};
typedef struct PEFImportedSymbol PEFImportedSymbol;
enum {
kPEFImpSymClassShift = 24,
kPEFImpSymNameOffsetMask = 0x00FFFFFF,
kPEFImpSymMaxNameOffset = 0x00FFFFFF
};
#define PEFImportedSymbolClass(classAndName) ((UInt8) ((classAndName) >> kPEFImpSymClassShift))
#define PEFImportedSymbolNameOffset(classAndName) ((classAndName) & kPEFImpSymNameOffsetMask)
#define PEFComposeImportedSymbol(class,nameOffset) ( ( ((UInt32)(class)) << kPEFImpSymClassShift ) | ( (UInt32)(nameOffset) ) )
enum {
kPEFCodeSymbol = 0x00,
kPEFDataSymbol = 0x01,
kPEFTVectorSymbol = 0x02,
kPEFTOCSymbol = 0x03,
kPEFGlueSymbol = 0x04,
kPEFUndefinedSymbol = 0x0F,
kPEFWeakImportSymMask = 0x80
};
# 469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFExportedSymbolHashSlot {
UInt32 countAndStart;
};
typedef struct PEFExportedSymbolHashSlot PEFExportedSymbolHashSlot;
enum {
kPEFHashSlotSymCountShift = 18,
kPEFHashSlotFirstKeyMask = 0x0003FFFF,
kPEFHashSlotMaxSymbolCount = 0x00003FFF,
kPEFHashSlotMaxKeyIndex = 0x0003FFFF
};
#define PEFHashTableIndex(fullHashWord,hashTablePower) ( ( (fullHashWord) ^ ((fullHashWord) >> (hashTablePower)) ) & ((1 << (hashTablePower)) - 1) )
#define PEFHashSlotSymbolCount(countAndStart) ((UInt32) ((countAndStart) >> kPEFHashSlotSymCountShift))
#define PEFHashSlotFirstKey(countAndStart) ((countAndStart) & kPEFHashSlotFirstKeyMask)
#define PEFComposeExportedSymbolHashSlot(symbolCount,firstKey) ( ( ((UInt32)(symbolCount)) << kPEFHashSlotSymCountShift ) | ( (UInt32)(firstKey) ) )
# 497 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFSplitHashWord {
UInt16 nameLength;
UInt16 hashValue;
};
typedef struct PEFSplitHashWord PEFSplitHashWord;
struct PEFExportedSymbolKey {
union {
UInt32 fullHashWord;
PEFSplitHashWord splitHashWord;
} u;
};
typedef struct PEFExportedSymbolKey PEFExportedSymbolKey;
enum {
kPEFHashLengthShift = 16,
kPEFHashValueMask = 0x0000FFFF,
kPEFHashMaxLength = 0x0000FFFF
};
#define PEFHashNameLength(fullHashWord) ((UInt32) ((fullHashWord) >> kPEFHashLengthShift))
#define PEFHashValue(fullHashWord) ((fullHashWord) & kPEFHashValueMask)
#define PEFComposeFullHashWord(nameLength,hashValue) ( ( ((UInt32)(nameLength)) << kPEFHashLengthShift ) | ( (UInt32)(hashValue) ) )
# 560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFExportedSymbol {
UInt32 classAndName;
UInt32 symbolValue;
SInt16 sectionIndex;
};
typedef struct PEFExportedSymbol PEFExportedSymbol;
# 578 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFExpSymClassShift = 24,
kPEFExpSymNameOffsetMask = 0x00FFFFFF,
kPEFExpSymMaxNameOffset = 0x00FFFFFF
};
#define PEFExportedSymbolClass(classAndName) ((UInt8) ((classAndName) >> kPEFExpSymClassShift))
#define PEFExportedSymbolNameOffset(classAndName) ((classAndName) & kPEFExpSymNameOffsetMask)
#define PEFComposeExportedSymbol(class,nameOffset) ( ( ((UInt32)(class)) << kPEFExpSymClassShift ) | ( (UInt32)(nameOffset) ) )
enum {
kPEFAbsoluteExport = -2,
kPEFReexportedImport = -3
};
# 618 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
typedef UInt16 PEFRelocChunk;
struct PEFLoaderRelocationHeader {
UInt16 sectionIndex;
UInt16 reservedA;
UInt32 relocCount;
UInt32 firstRelocOffset;
};
typedef struct PEFLoaderRelocationHeader PEFLoaderRelocationHeader;
# 639 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#define PEFRFShift(offset,length) (16 - ((offset) + (length)))
#define PEFRFMask(length) ((1 << (length)) - 1)
#define PEFRelocField(chunk,offset,length) ( ( (chunk) >> (16 - ((offset) + (length))) ) & ((1 << (length)) - 1) )
# 662 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocBasicOpcodeRange = 128
};
#define PEFRelocBasicOpcode(firstChunk) (kPEFRelocBasicOpcodes[(firstChunk)>>9])
# 675 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocBySectDWithSkip = 0x00,
kPEFRelocBySectC = 0x20,
kPEFRelocBySectD = 0x21,
kPEFRelocTVector12 = 0x22,
kPEFRelocTVector8 = 0x23,
kPEFRelocVTable8 = 0x24,
kPEFRelocImportRun = 0x25,
kPEFRelocSmByImport = 0x30,
kPEFRelocSmSetSectC = 0x31,
kPEFRelocSmSetSectD = 0x32,
kPEFRelocSmBySection = 0x33,
kPEFRelocIncrPosition = 0x40,
kPEFRelocSmRepeat = 0x48,
kPEFRelocSetPosition = 0x50,
kPEFRelocLgByImport = 0x52,
kPEFRelocLgRepeat = 0x58,
kPEFRelocLgSetOrBySection = 0x5A,
kPEFRelocUndefinedOpcode = 0xFF
};
# 704 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocLgBySectionSubopcode = 0x00,
kPEFRelocLgSetSectCSubopcode = 0x01,
kPEFRelocLgSetSectDSubopcode = 0x02
};
#define PEFRelocLgSetOrBySubopcode(chunk) (((chunk) >> 6) & 0x0F)
# 720 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#define PEFMaskedBasicOpcodes kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectC, kPEFRelocBySectD, kPEFRelocTVector12, kPEFRelocTVector8, kPEFRelocVTable8, kPEFRelocImportRun, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocSmByImport, kPEFRelocSmSetSectC, kPEFRelocSmSetSectD, kPEFRelocSmBySection, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSetPosition, kPEFRelocSetPosition, kPEFRelocLgByImport, kPEFRelocLgByImport, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocLgRepeat, kPEFRelocLgRepeat, kPEFRelocLgSetOrBySection, kPEFRelocLgSetOrBySection, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode
# 788 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocWithSkipMaxSkipCount = 255,
kPEFRelocWithSkipMaxRelocCount = 63
};
#define PEFRelocWithSkipSkipCount(chunk) PEFRelocField ( (chunk), 2, 8 )
#define PEFRelocWithSkipRelocCount(chunk) PEFRelocField ( (chunk), 10, 6 )
#define PEFRelocComposeWithSkip(skipCount,relocCount) ( 0x0000 | (((UInt16)(skipCount)) << 6) | ((UInt16)(relocCount)) )
# 822 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocRunMaxRunLength = 512
};
#define PEFRelocRunSubopcode(chunk) PEFRelocField ( (chunk), 3, 4 )
#define PEFRelocRunRunLength(chunk) (PEFRelocField ( (chunk), 7, 9 ) + 1)
#define PEFRelocComposeRun(subopcode,runLength) ( 0x4000 | (((UInt16)(subopcode)) << 9) | ((UInt16)((runLength)-1)) )
#define PEFRelocComposeBySectC(runLength) PEFRelocComposeRun ( 0, (runLength) )
#define PEFRelocComposeBySectD(runLength) PEFRelocComposeRun ( 1, (runLength) )
#define PEFRelocComposeTVector12(runLength) PEFRelocComposeRun ( 2, (runLength) )
#define PEFRelocComposeTVector8(runLength) PEFRelocComposeRun ( 3, (runLength) )
#define PEFRelocComposeVTable8(runLength) PEFRelocComposeRun ( 4, (runLength) )
#define PEFRelocComposeImportRun(runLength) PEFRelocComposeRun ( 5, (runLength) )
# 861 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocSmIndexMaxIndex = 511
};
#define PEFRelocSmIndexSubopcode(chunk) PEFRelocField ( (chunk), 3, 4 )
#define PEFRelocSmIndexIndex(chunk) PEFRelocField ( (chunk), 7, 9 )
#define PEFRelocComposeSmIndex(subopcode,index) ( 0x6000 | (((UInt16)(subopcode)) << 9) | ((UInt16)(index)) )
#define PEFRelocComposeSmByImport(index) PEFRelocComposeSmIndex ( 0, (index) )
#define PEFRelocComposeSmSetSectC(index) PEFRelocComposeSmIndex ( 1, (index) )
#define PEFRelocComposeSmSetSectD(index) PEFRelocComposeSmIndex ( 2, (index) )
#define PEFRelocComposeSmBySection(index) PEFRelocComposeSmIndex ( 3, (index) )
# 897 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocIncrPositionMaxOffset = 4096
};
#define PEFRelocIncrPositionOffset(chunk) (PEFRelocField ( (chunk), 4, 12 ) + 1)
#define PEFRelocComposeIncrPosition(offset) ( 0x8000 | ((UInt16)((offset)-1)) )
# 927 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocSmRepeatMaxChunkCount = 16,
kPEFRelocSmRepeatMaxRepeatCount = 256
};
#define PEFRelocSmRepeatChunkCount(chunk) (PEFRelocField ( (chunk), 4, 4 ) + 1)
#define PEFRelocSmRepeatRepeatCount(chunk) (PEFRelocField ( (chunk), 8, 8 ) + 1)
#define PEFRelocComposeSmRepeat(chunkCount,repeatCount) ( 0x9000 | ((((UInt16)(chunkCount))-1) << 8) | (((UInt16)(repeatCount))-1) )
# 958 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocSetPosMaxOffset = 0x03FFFFFF
};
#define PEFRelocSetPosOffsetHigh(chunk) PEFRelocField ( (chunk), 6, 10 )
#define PEFRelocSetPosFullOffset(firstChunk,secondChunk) ( ((((UInt32)(firstChunk)) & 0x03FF) << 16) | ((UInt32)(secondChunk)) )
#define PEFRelocComposeSetPosition_1st(fullOffset) ( 0xA000 | ((UInt16) (((UInt32)(fullOffset)) >> 16) ) )
#define PEFRelocComposeSetPosition_2nd(fullOffset) ( (UInt16) ((UInt32)(fullOffset) & 0xFFFF) )
# 992 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocLgByImportMaxIndex = 0x03FFFFFF
};
#define PEFRelocLgByImportIndexHigh(chunk) PEFRelocField ( (chunk), 6, 10 )
#define PEFRelocLgByImportFullIndex(firstChunk,secondChunk) ( ((((UInt32)(firstChunk)) & 0x03FF) << 16) | ((UInt32)(secondChunk)) )
#define PEFRelocComposeLgByImport_1st(fullIndex) ( 0xA400 | ((UInt16) (((UInt32)(fullIndex)) >> 16) ) )
#define PEFRelocComposeLgByImport_2nd(fullIndex) ( (UInt16) ((UInt32)(fullIndex) & 0xFFFF) )
# 1027 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocLgRepeatMaxChunkCount = 16,
kPEFRelocLgRepeatMaxRepeatCount = 0x003FFFFF
};
#define PEFRelocLgRepeatChunkCount(chunk) (PEFRelocField ( (chunk), 6, 4 ) + 1)
#define PEFRelocLgRepeatRepeatCountHigh(chunk) PEFRelocField ( (chunk), 10, 6 )
#define PEFRelocLgRepeatFullRepeatCount(firstChunk,secondChunk) ( ((((UInt32)(firstChunk)) & 0x003F) << 16) | ((UInt32)(secondChunk)) )
#define PEFRelocComposeLgRepeat_1st(chunkCount,fullRepeatCount) ( 0xB000 | ((((UInt16)(chunkCount))-1) << 6) | ((UInt16) (((UInt32)(fullRepeatCount)) >>16 ) ) )
#define PEFRelocComposeLgRepeat_2nd(chunkCount,fullRepeatCount) ( (UInt16) ((UInt32)(fullRepeatCount) & 0xFFFF) )
# 1065 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocLgSetOrBySectionMaxIndex = 0x003FFFFF
};
#define PEFRelocLgSetOrBySectionSubopcode(chunk) PEFRelocField ( (chunk), 6, 4 )
#define PEFRelocLgSetOrBySectionIndexHigh(chunk) PEFRelocField ( (chunk), 10, 6 )
#define PEFRelocLgSetOrBySectionFullIndex(firstChunk,secondChunk) ( ((((UInt32)(firstChunk)) & 0x003F) << 16) | ((UInt32)(secondChunk)) )
#define PEFRelocComposeLgSetOrBySection_1st(subopcode,fullIndex) ( 0xB400 | (((UInt16)(subopcode)) << 6) | ((UInt16) (((UInt32)(fullIndex)) >> 16) ) )
#define PEFRelocComposeLgSetOrBySection_2nd(subopcode,fullIndex) ( (UInt16) ((UInt32)(fullIndex) & 0xFFFF) )
#define PEFRelocComposeLgBySection(fullIndex) PEFRelocComposeLgSetOrBySection ( 0x00, (fullIndex) )
#define PEFRelocComposeLgSetSectC(fullIndex) PEFRelocComposeLgSetOrBySection ( 0x01, (fullIndex) )
#define PEFRelocComposeLgSetSectD(fullIndex) PEFRelocComposeLgSetOrBySection ( 0x02, (fullIndex) )
# 1147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct XLibContainerHeader {
OSType tag1;
OSType tag2;
UInt32 currentFormat;
UInt32 containerStringsOffset;
UInt32 exportHashOffset;
UInt32 exportKeyOffset;
UInt32 exportSymbolOffset;
UInt32 exportNamesOffset;
UInt32 exportHashTablePower;
UInt32 exportedSymbolCount;
UInt32 fragNameOffset;
UInt32 fragNameLength;
UInt32 dylibPathOffset;
UInt32 dylibPathLength;
OSType cpuFamily;
OSType cpuModel;
UInt32 dateTimeStamp;
UInt32 currentVersion;
UInt32 oldDefVersion;
UInt32 oldImpVersion;
};
typedef struct XLibContainerHeader XLibContainerHeader;
enum {
kXLibTag1 = (long)0xF04D6163 ,
kVLibTag2 = 'VLib',
kBLibTag2 = 'BLib',
kXLibVersion = 0x00000001
};
typedef PEFExportedSymbolHashSlot XLibExportedSymbolHashSlot;
typedef PEFExportedSymbolKey XLibExportedSymbolKey;
struct XLibExportedSymbol {
UInt32 classAndName;
UInt32 bpOffset;
};
typedef struct XLibExportedSymbol XLibExportedSymbol;
# 1203 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#define IncludePEF2Declarations 0
# 1579 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#pragma pack(pop)
# 203 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h" 3
#define __HFSVOLUMES__
# 32 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h" 3
# 1 "/usr/include/hfs/hfs_format.h" 1 3 4
# 29 "/usr/include/hfs/hfs_format.h" 3 4
#define __HFS_FORMAT__
# 51 "/usr/include/hfs/hfs_format.h" 3 4
enum {
kHFSSigWord = 0x4244,
kHFSPlusSigWord = 0x482B,
kHFSXSigWord = 0x4858,
kHFSPlusVersion = 0x0004,
kHFSXVersion = 0x0005,
kHFSPlusMountVersion = 0x31302E30,
kHFSJMountVersion = 0x4846534a,
kFSKMountVersion = 0x46534b21
};
# 73 "/usr/include/hfs/hfs_format.h" 3 4
#define HFSPLUSMETADATAFOLDER "\xE2\x90\x80\xE2\x90\x80\xE2\x90\x80\xE2\x90\x80HFS+ Private Data"
#define HFSPLUS_DIR_METADATA_FOLDER ".HFS+ Private Directory Data\xd"
# 85 "/usr/include/hfs/hfs_format.h" 3 4
#define HFS_INODE_PREFIX "iNode"
#define HFS_DELETE_PREFIX "temp"
#define HFS_DIRINODE_PREFIX "dir_"
# 105 "/usr/include/hfs/hfs_format.h" 3 4
#define FIRST_LINK_XATTR_NAME "com.apple.system.hfs.firstlink"
#define FIRST_LINK_XATTR_REC_SIZE (sizeof(HFSPlusAttrData) - 2 + 12)
enum {
kHardLinkFileType = 0x686C6E6B,
kHFSPlusCreator = 0x6866732B
};
enum {
kSymLinkFileType = 0x736C6E6B,
kSymLinkCreator = 0x72686170
};
# 139 "/usr/include/hfs/hfs_format.h" 3 4
enum {
kHFSMaxVolumeNameChars = 27,
kHFSMaxFileNameChars = 31,
kHFSPlusMaxFileNameChars = 255
};
struct HFSExtentKey {
u_int8_t keyLength;
u_int8_t forkType;
u_int32_t fileID;
u_int16_t startBlock;
} __attribute__((aligned(2), packed));
typedef struct HFSExtentKey HFSExtentKey;
struct HFSPlusExtentKey {
u_int16_t keyLength;
u_int8_t forkType;
u_int8_t pad;
u_int32_t fileID;
u_int32_t startBlock;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusExtentKey HFSPlusExtentKey;
enum {
kHFSExtentDensity = 3,
kHFSPlusExtentDensity = 8
};
struct HFSExtentDescriptor {
u_int16_t startBlock;
u_int16_t blockCount;
} __attribute__((aligned(2), packed));
typedef struct HFSExtentDescriptor HFSExtentDescriptor;
struct HFSPlusExtentDescriptor {
u_int32_t startBlock;
u_int32_t blockCount;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusExtentDescriptor HFSPlusExtentDescriptor;
typedef HFSExtentDescriptor HFSExtentRecord[3];
typedef HFSPlusExtentDescriptor HFSPlusExtentRecord[8];
struct FndrFileInfo {
u_int32_t fdType;
u_int32_t fdCreator;
u_int16_t fdFlags;
struct {
int16_t v;
int16_t h;
} fdLocation;
int16_t opaque;
} __attribute__((aligned(2), packed));
typedef struct FndrFileInfo FndrFileInfo;
struct FndrDirInfo {
struct {
int16_t top;
int16_t left;
int16_t bottom;
int16_t right;
} frRect;
unsigned short frFlags;
struct {
u_int16_t v;
u_int16_t h;
} frLocation;
int16_t opaque;
} __attribute__((aligned(2), packed));
typedef struct FndrDirInfo FndrDirInfo;
struct FndrOpaqueInfo {
int8_t opaque[16];
} __attribute__((aligned(2), packed));
typedef struct FndrOpaqueInfo FndrOpaqueInfo;
struct HFSPlusForkData {
u_int64_t logicalSize;
u_int32_t clumpSize;
u_int32_t totalBlocks;
HFSPlusExtentRecord extents;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusForkData HFSPlusForkData;
struct HFSPlusBSDInfo {
u_int32_t ownerID;
u_int32_t groupID;
u_int8_t adminFlags;
u_int8_t ownerFlags;
u_int16_t fileMode;
union {
u_int32_t iNodeNum;
u_int32_t linkCount;
u_int32_t rawDevice;
} special;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusBSDInfo HFSPlusBSDInfo;
# 269 "/usr/include/hfs/hfs_format.h" 3 4
#define hl_firstLinkID reserved1
#define hl_prevLinkID bsdInfo.ownerID
#define hl_nextLinkID bsdInfo.groupID
#define hl_linkReference bsdInfo.special.iNodeNum
#define hl_linkCount bsdInfo.special.linkCount
enum {
kHFSRootParentID = 1,
kHFSRootFolderID = 2,
kHFSExtentsFileID = 3,
kHFSCatalogFileID = 4,
kHFSBadBlockFileID = 5,
kHFSAllocationFileID = 6,
kHFSStartupFileID = 7,
kHFSAttributesFileID = 8,
kHFSAttributeDataFileID = 13,
kHFSRepairCatalogFileID = 14,
kHFSBogusExtentFileID = 15,
kHFSFirstUserCatalogNodeID = 16
};
struct HFSCatalogKey {
u_int8_t keyLength;
u_int8_t reserved;
u_int32_t parentID;
u_int8_t nodeName[kHFSMaxFileNameChars + 1];
} __attribute__((aligned(2), packed));
typedef struct HFSCatalogKey HFSCatalogKey;
struct HFSPlusCatalogKey {
u_int16_t keyLength;
u_int32_t parentID;
HFSUniStr255 nodeName;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusCatalogKey HFSPlusCatalogKey;
enum {
kHFSFolderRecord = 0x0100,
kHFSFileRecord = 0x0200,
kHFSFolderThreadRecord = 0x0300,
kHFSFileThreadRecord = 0x0400,
kHFSPlusFolderRecord = 1,
kHFSPlusFileRecord = 2,
kHFSPlusFolderThreadRecord = 3,
kHFSPlusFileThreadRecord = 4
};
enum {
kHFSFileLockedBit = 0x0000,
kHFSFileLockedMask = 0x0001,
kHFSThreadExistsBit = 0x0001,
kHFSThreadExistsMask = 0x0002,
kHFSHasAttributesBit = 0x0002,
kHFSHasAttributesMask = 0x0004,
kHFSHasSecurityBit = 0x0003,
kHFSHasSecurityMask = 0x0008,
kHFSHasFolderCountBit = 0x0004,
kHFSHasFolderCountMask = 0x0010,
kHFSHasLinkChainBit = 0x0005,
kHFSHasLinkChainMask = 0x0020,
kHFSHasChildLinkBit = 0x0006,
kHFSHasChildLinkMask = 0x0040
};
struct HFSCatalogFolder {
int16_t recordType;
u_int16_t flags;
u_int16_t valence;
u_int32_t folderID;
u_int32_t createDate;
u_int32_t modifyDate;
u_int32_t backupDate;
FndrDirInfo userInfo;
FndrOpaqueInfo finderInfo;
u_int32_t reserved[4];
} __attribute__((aligned(2), packed));
typedef struct HFSCatalogFolder HFSCatalogFolder;
struct HFSPlusCatalogFolder {
int16_t recordType;
u_int16_t flags;
u_int32_t valence;
u_int32_t folderID;
u_int32_t createDate;
u_int32_t contentModDate;
u_int32_t attributeModDate;
u_int32_t accessDate;
u_int32_t backupDate;
HFSPlusBSDInfo bsdInfo;
FndrDirInfo userInfo;
FndrOpaqueInfo finderInfo;
u_int32_t textEncoding;
u_int32_t folderCount;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusCatalogFolder HFSPlusCatalogFolder;
struct HFSCatalogFile {
int16_t recordType;
u_int8_t flags;
int8_t fileType;
FndrFileInfo userInfo;
u_int32_t fileID;
u_int16_t dataStartBlock;
int32_t dataLogicalSize;
int32_t dataPhysicalSize;
u_int16_t rsrcStartBlock;
int32_t rsrcLogicalSize;
int32_t rsrcPhysicalSize;
u_int32_t createDate;
u_int32_t modifyDate;
u_int32_t backupDate;
FndrOpaqueInfo finderInfo;
u_int16_t clumpSize;
HFSExtentRecord dataExtents;
HFSExtentRecord rsrcExtents;
u_int32_t reserved;
} __attribute__((aligned(2), packed));
typedef struct HFSCatalogFile HFSCatalogFile;
struct HFSPlusCatalogFile {
int16_t recordType;
u_int16_t flags;
u_int32_t reserved1;
u_int32_t fileID;
u_int32_t createDate;
u_int32_t contentModDate;
u_int32_t attributeModDate;
u_int32_t accessDate;
u_int32_t backupDate;
HFSPlusBSDInfo bsdInfo;
FndrFileInfo userInfo;
FndrOpaqueInfo finderInfo;
u_int32_t textEncoding;
u_int32_t reserved2;
HFSPlusForkData dataFork;
HFSPlusForkData resourceFork;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusCatalogFile HFSPlusCatalogFile;
struct HFSCatalogThread {
int16_t recordType;
int32_t reserved[2];
u_int32_t parentID;
u_int8_t nodeName[kHFSMaxFileNameChars + 1];
} __attribute__((aligned(2), packed));
typedef struct HFSCatalogThread HFSCatalogThread;
struct HFSPlusCatalogThread {
int16_t recordType;
int16_t reserved;
u_int32_t parentID;
HFSUniStr255 nodeName;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusCatalogThread HFSPlusCatalogThread;
enum {
kHFSPlusAttrInlineData = 0x10,
kHFSPlusAttrForkData = 0x20,
kHFSPlusAttrExtents = 0x30
};
# 471 "/usr/include/hfs/hfs_format.h" 3 4
struct HFSPlusAttrForkData {
u_int32_t recordType;
u_int32_t reserved;
HFSPlusForkData theFork;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusAttrForkData HFSPlusAttrForkData;
struct HFSPlusAttrExtents {
u_int32_t recordType;
u_int32_t reserved;
HFSPlusExtentRecord extents;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusAttrExtents HFSPlusAttrExtents;
struct HFSPlusAttrData {
u_int32_t recordType;
u_int32_t reserved[2];
u_int32_t attrSize;
u_int8_t attrData[2];
} __attribute__((aligned(2), packed));
typedef struct HFSPlusAttrData HFSPlusAttrData;
struct HFSPlusAttrInlineData {
u_int32_t recordType;
u_int32_t reserved;
u_int32_t logicalSize;
u_int8_t userData[2];
} __attribute__((aligned(2), packed));
typedef struct HFSPlusAttrInlineData HFSPlusAttrInlineData;
union HFSPlusAttrRecord {
u_int32_t recordType;
HFSPlusAttrInlineData inlineData;
HFSPlusAttrData attrData;
HFSPlusAttrForkData forkData;
HFSPlusAttrExtents overflowExtents;
};
typedef union HFSPlusAttrRecord HFSPlusAttrRecord;
enum { kHFSMaxAttrNameLen = 127 };
struct HFSPlusAttrKey {
u_int16_t keyLength;
u_int16_t pad;
u_int32_t fileID;
u_int32_t startBlock;
u_int16_t attrNameLen;
u_int16_t attrName[kHFSMaxAttrNameLen];
} __attribute__((aligned(2), packed));
typedef struct HFSPlusAttrKey HFSPlusAttrKey;
#define kHFSPlusAttrKeyMaximumLength (sizeof(HFSPlusAttrKey) - sizeof(u_int16_t))
#define kHFSPlusAttrKeyMinimumLength (kHFSPlusAttrKeyMaximumLength - kHFSMaxAttrNameLen*sizeof(u_int16_t))
enum {
kHFSPlusExtentKeyMaximumLength = sizeof(HFSPlusExtentKey) - sizeof(u_int16_t),
kHFSExtentKeyMaximumLength = sizeof(HFSExtentKey) - sizeof(u_int8_t),
kHFSPlusCatalogKeyMaximumLength = sizeof(HFSPlusCatalogKey) - sizeof(u_int16_t),
kHFSPlusCatalogKeyMinimumLength = kHFSPlusCatalogKeyMaximumLength - sizeof(HFSUniStr255) + sizeof(u_int16_t),
kHFSCatalogKeyMaximumLength = sizeof(HFSCatalogKey) - sizeof(u_int8_t),
kHFSCatalogKeyMinimumLength = kHFSCatalogKeyMaximumLength - (kHFSMaxFileNameChars + 1) + sizeof(u_int8_t),
kHFSPlusCatalogMinNodeSize = 4096,
kHFSPlusExtentMinNodeSize = 512,
kHFSPlusAttrMinNodeSize = 4096
};
enum {
kHFSVolumeHardwareLockBit = 7,
kHFSVolumeUnmountedBit = 8,
kHFSVolumeSparedBlocksBit = 9,
kHFSVolumeNoCacheRequiredBit = 10,
kHFSBootVolumeInconsistentBit = 11,
kHFSCatalogNodeIDsReusedBit = 12,
kHFSVolumeJournaledBit = 13,
kHFSVolumeInconsistentBit = 14,
kHFSVolumeSoftwareLockBit = 15,
kHFSVolumeHardwareLockMask = 1 << kHFSVolumeHardwareLockBit,
kHFSVolumeUnmountedMask = 1 << kHFSVolumeUnmountedBit,
kHFSVolumeSparedBlocksMask = 1 << kHFSVolumeSparedBlocksBit,
kHFSVolumeNoCacheRequiredMask = 1 << kHFSVolumeNoCacheRequiredBit,
kHFSBootVolumeInconsistentMask = 1 << kHFSBootVolumeInconsistentBit,
kHFSCatalogNodeIDsReusedMask = 1 << kHFSCatalogNodeIDsReusedBit,
kHFSVolumeJournaledMask = 1 << kHFSVolumeJournaledBit,
kHFSVolumeInconsistentMask = 1 << kHFSVolumeInconsistentBit,
kHFSVolumeSoftwareLockMask = 1 << kHFSVolumeSoftwareLockBit,
kHFSMDBAttributesMask = 0x8380
};
struct HFSMasterDirectoryBlock {
u_int16_t drSigWord;
u_int32_t drCrDate;
u_int32_t drLsMod;
u_int16_t drAtrb;
u_int16_t drNmFls;
u_int16_t drVBMSt;
u_int16_t drAllocPtr;
u_int16_t drNmAlBlks;
u_int32_t drAlBlkSiz;
u_int32_t drClpSiz;
u_int16_t drAlBlSt;
u_int32_t drNxtCNID;
u_int16_t drFreeBks;
u_int8_t drVN[kHFSMaxVolumeNameChars + 1];
u_int32_t drVolBkUp;
u_int16_t drVSeqNum;
u_int32_t drWrCnt;
u_int32_t drXTClpSiz;
u_int32_t drCTClpSiz;
u_int16_t drNmRtDirs;
u_int32_t drFilCnt;
u_int32_t drDirCnt;
u_int32_t drFndrInfo[8];
u_int16_t drEmbedSigWord;
HFSExtentDescriptor drEmbedExtent;
u_int32_t drXTFlSize;
HFSExtentRecord drXTExtRec;
u_int32_t drCTFlSize;
HFSExtentRecord drCTExtRec;
} __attribute__((aligned(2), packed));
typedef struct HFSMasterDirectoryBlock HFSMasterDirectoryBlock;
#define SET_HFS_TEXT_ENCODING(hint) (0x656e6300 | ((hint) & 0xff))
#define GET_HFS_TEXT_ENCODING(hint) (((hint) & 0xffffff00) == 0x656e6300 ? (hint) & 0x000000ff : 0xffffffffU)
struct HFSPlusVolumeHeader {
u_int16_t signature;
u_int16_t version;
u_int32_t attributes;
u_int32_t lastMountedVersion;
u_int32_t journalInfoBlock;
u_int32_t createDate;
u_int32_t modifyDate;
u_int32_t backupDate;
u_int32_t checkedDate;
u_int32_t fileCount;
u_int32_t folderCount;
u_int32_t blockSize;
u_int32_t totalBlocks;
u_int32_t freeBlocks;
u_int32_t nextAllocation;
u_int32_t rsrcClumpSize;
u_int32_t dataClumpSize;
u_int32_t nextCatalogID;
u_int32_t writeCount;
u_int64_t encodingsBitmap;
u_int8_t finderInfo[32];
HFSPlusForkData allocationFile;
HFSPlusForkData extentsFile;
HFSPlusForkData catalogFile;
HFSPlusForkData attributesFile;
HFSPlusForkData startupFile;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusVolumeHeader HFSPlusVolumeHeader;
enum BTreeKeyLimits{
kMaxKeyLength = 520
};
union BTreeKey{
u_int8_t length8;
u_int16_t length16;
u_int8_t rawData [kMaxKeyLength+2];
};
typedef union BTreeKey BTreeKey;
struct BTNodeDescriptor {
u_int32_t fLink;
u_int32_t bLink;
int8_t kind;
u_int8_t height;
u_int16_t numRecords;
u_int16_t reserved;
} __attribute__((aligned(2), packed));
typedef struct BTNodeDescriptor BTNodeDescriptor;
enum {
kBTLeafNode = -1,
kBTIndexNode = 0,
kBTHeaderNode = 1,
kBTMapNode = 2
};
struct BTHeaderRec {
u_int16_t treeDepth;
u_int32_t rootNode;
u_int32_t leafRecords;
u_int32_t firstLeafNode;
u_int32_t lastLeafNode;
u_int16_t nodeSize;
u_int16_t maxKeyLength;
u_int32_t totalNodes;
u_int32_t freeNodes;
u_int16_t reserved1;
u_int32_t clumpSize;
u_int8_t btreeType;
u_int8_t keyCompareType;
u_int32_t attributes;
u_int32_t reserved3[16];
} __attribute__((aligned(2), packed));
typedef struct BTHeaderRec BTHeaderRec;
enum {
kBTBadCloseMask = 0x00000001,
kBTBigKeysMask = 0x00000002,
kBTVariableIndexKeysMask = 0x00000004
};
enum {
kHFSCaseFolding = 0xCF,
kHFSBinaryCompare = 0xBC
};
struct JournalInfoBlock {
u_int32_t flags;
u_int32_t device_signature[8];
u_int64_t offset;
u_int64_t size;
u_int32_t reserved[32];
} __attribute__((aligned(2), packed));
typedef struct JournalInfoBlock JournalInfoBlock;
enum {
kJIJournalInFSMask = 0x00000001,
kJIJournalOnOtherDeviceMask = 0x00000002,
kJIJournalNeedInitMask = 0x00000004
};
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h" 2 3
# 41 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h" 3
typedef UInt32 HFSCatalogNodeID;
# 207 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AIFF.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AIFF.h" 3
#define __AIFF__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AIFF.h" 3
#pragma pack(push, 2)
enum {
AIFFID = 'AIFF',
AIFCID = 'AIFC',
FormatVersionID = 'FVER',
CommonID = 'COMM',
FORMID = 'FORM',
SoundDataID = 'SSND',
MarkerID = 'MARK',
InstrumentID = 'INST',
MIDIDataID = 'MIDI',
AudioRecordingID = 'AESD',
ApplicationSpecificID = 'APPL',
CommentID = 'COMT',
NameID = 'NAME',
AuthorID = 'AUTH',
CopyrightID = '(c) ',
AnnotationID = 'ANNO'
};
enum {
NoLooping = 0,
ForwardLooping = 1,
ForwardBackwardLooping = 2
};
enum {
AIFCVersion1 = (uint32_t)0xA2805140
};
#define NoneName "\pnot compressed"
#define ACE2to1Name "\pACE 2-to-1"
#define ACE8to3Name "\pACE 8-to-3"
#define MACE3to1Name "\pMACE 3-to-1"
#define MACE6to1Name "\pMACE 6-to-1"
enum {
NoneType = 'NONE',
ACE2Type = 'ACE2',
ACE8Type = 'ACE8',
MACE3Type = 'MAC3',
MACE6Type = 'MAC6'
};
typedef UInt32 ID;
typedef SInt16 MarkerIdType;
struct ChunkHeader {
ID ckID;
SInt32 ckSize;
};
typedef struct ChunkHeader ChunkHeader;
struct ContainerChunk {
ID ckID;
SInt32 ckSize;
ID formType;
};
typedef struct ContainerChunk ContainerChunk;
struct FormatVersionChunk {
ID ckID;
SInt32 ckSize;
UInt32 timestamp;
};
typedef struct FormatVersionChunk FormatVersionChunk;
typedef FormatVersionChunk * FormatVersionChunkPtr;
struct CommonChunk {
ID ckID;
SInt32 ckSize;
SInt16 numChannels;
UInt32 numSampleFrames;
SInt16 sampleSize;
extended80 sampleRate;
};
typedef struct CommonChunk CommonChunk;
typedef CommonChunk * CommonChunkPtr;
struct ExtCommonChunk {
ID ckID;
SInt32 ckSize;
SInt16 numChannels;
UInt32 numSampleFrames;
SInt16 sampleSize;
extended80 sampleRate;
ID compressionType;
char compressionName[1];
};
typedef struct ExtCommonChunk ExtCommonChunk;
typedef ExtCommonChunk * ExtCommonChunkPtr;
struct SoundDataChunk {
ID ckID;
SInt32 ckSize;
UInt32 offset;
UInt32 blockSize;
};
typedef struct SoundDataChunk SoundDataChunk;
typedef SoundDataChunk * SoundDataChunkPtr;
struct Marker {
MarkerIdType id;
UInt32 position;
Str255 markerName;
};
typedef struct Marker Marker;
struct MarkerChunk {
ID ckID;
SInt32 ckSize;
UInt16 numMarkers;
Marker Markers[1];
};
typedef struct MarkerChunk MarkerChunk;
typedef MarkerChunk * MarkerChunkPtr;
struct AIFFLoop {
SInt16 playMode;
MarkerIdType beginLoop;
MarkerIdType endLoop;
};
typedef struct AIFFLoop AIFFLoop;
struct InstrumentChunk {
ID ckID;
SInt32 ckSize;
UInt8 baseFrequency;
UInt8 detune;
UInt8 lowFrequency;
UInt8 highFrequency;
UInt8 lowVelocity;
UInt8 highVelocity;
SInt16 gain;
AIFFLoop sustainLoop;
AIFFLoop releaseLoop;
};
typedef struct InstrumentChunk InstrumentChunk;
typedef InstrumentChunk * InstrumentChunkPtr;
struct MIDIDataChunk {
ID ckID;
SInt32 ckSize;
UInt8 MIDIdata[1];
};
typedef struct MIDIDataChunk MIDIDataChunk;
typedef MIDIDataChunk * MIDIDataChunkPtr;
struct AudioRecordingChunk {
ID ckID;
SInt32 ckSize;
UInt8 AESChannelStatus[24];
};
typedef struct AudioRecordingChunk AudioRecordingChunk;
typedef AudioRecordingChunk * AudioRecordingChunkPtr;
struct ApplicationSpecificChunk {
ID ckID;
SInt32 ckSize;
OSType applicationSignature;
UInt8 data[1];
};
typedef struct ApplicationSpecificChunk ApplicationSpecificChunk;
typedef ApplicationSpecificChunk * ApplicationSpecificChunkPtr;
struct Comment {
UInt32 timeStamp;
MarkerIdType marker;
UInt16 count;
char text[1];
};
typedef struct Comment Comment;
struct CommentsChunk {
ID ckID;
SInt32 ckSize;
UInt16 numComments;
Comment comments[1];
};
typedef struct CommentsChunk CommentsChunk;
typedef CommentsChunk * CommentsChunkPtr;
struct TextChunk {
ID ckID;
SInt32 ckSize;
char text[1];
};
typedef struct TextChunk TextChunk;
typedef TextChunk * TextChunkPtr;
#pragma pack(pop)
# 211 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 3
#define __TEXTENCODINGPLUGIN__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 3
#pragma pack(push, 2)
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 3
#define kTECMacOSXDispatchTableNameString "ConverterPluginGetPluginDispatchTable"
enum {
kTECAvailableEncodingsResType = 'cven',
kTECAvailableSniffersResType = 'cvsf',
kTECSubTextEncodingsResType = 'cvsb',
kTECConversionInfoResType = 'cvif',
kTECMailEncodingsResType = 'cvml',
kTECWebEncodingsResType = 'cvwb',
kTECInternetNamesResType = 'cvmm'
};
enum {
kTECPluginType = 'ecpg',
kTECPluginCreator = 'encv',
kTECPluginOneToOne = 'otoo',
kTECPluginOneToMany = 'otom',
kTECPluginManyToOne = 'mtoo',
kTECPluginSniffObj = 'snif'
};
enum {
verUnspecified = 32767,
kTECResourceID = 128
};
# 84 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 3
struct TextEncodingRec {
UInt32 base;
UInt32 variant;
UInt32 format;
};
typedef struct TextEncodingRec TextEncodingRec;
struct TECEncodingsListRec {
UInt32 count;
TextEncodingRec encodings;
};
typedef struct TECEncodingsListRec TECEncodingsListRec;
typedef TECEncodingsListRec * TECEncodingsListPtr;
typedef TECEncodingsListPtr * TECEncodingsListHandle;
struct TECSubTextEncodingRec {
UInt32 offset;
TextEncodingRec searchEncoding;
UInt32 count;
TextEncodingRec subEncodings;
};
typedef struct TECSubTextEncodingRec TECSubTextEncodingRec;
struct TECSubTextEncodingsRec {
UInt32 count;
TECSubTextEncodingRec subTextEncodingRec;
};
typedef struct TECSubTextEncodingsRec TECSubTextEncodingsRec;
typedef TECSubTextEncodingsRec * TECSubTextEncodingsPtr;
typedef TECSubTextEncodingsPtr * TECSubTextEncodingsHandle;
struct TECEncodingPairRec {
TextEncodingRec source;
TextEncodingRec dest;
};
typedef struct TECEncodingPairRec TECEncodingPairRec;
struct TECEncodingPairs {
TECEncodingPairRec encodingPair;
UInt32 flags;
UInt32 speed;
};
typedef struct TECEncodingPairs TECEncodingPairs;
struct TECEncodingPairsRec {
UInt32 count;
TECEncodingPairs encodingPairs;
};
typedef struct TECEncodingPairsRec TECEncodingPairsRec;
typedef TECEncodingPairsRec * TECEncodingPairsPtr;
typedef TECEncodingPairsPtr * TECEncodingPairsHandle;
struct TECLocaleListToEncodingListRec {
UInt32 offset;
UInt32 count;
RegionCode locales;
};
typedef struct TECLocaleListToEncodingListRec TECLocaleListToEncodingListRec;
typedef TECLocaleListToEncodingListRec * TECLocaleListToEncodingListPtr;
struct TECLocaleToEncodingsListRec {
UInt32 count;
TECLocaleListToEncodingListRec localeListToEncodingList;
};
typedef struct TECLocaleToEncodingsListRec TECLocaleToEncodingsListRec;
typedef TECLocaleToEncodingsListRec * TECLocaleToEncodingsListPtr;
typedef TECLocaleToEncodingsListPtr * TECLocaleToEncodingsListHandle;
struct TECInternetNameRec {
UInt32 offset;
TextEncodingRec searchEncoding;
UInt8 encodingNameLength;
UInt8 encodingName[1];
};
typedef struct TECInternetNameRec TECInternetNameRec;
struct TECInternetNamesRec {
UInt32 count;
TECInternetNameRec InternetNames;
};
typedef struct TECInternetNamesRec TECInternetNamesRec;
typedef TECInternetNamesRec * TECInternetNamesPtr;
typedef TECInternetNamesPtr * TECInternetNamesHandle;
struct TECBufferContextRec {
ConstTextPtr textInputBuffer;
ConstTextPtr textInputBufferEnd;
TextPtr textOutputBuffer;
TextPtr textOutputBufferEnd;
ConstTextEncodingRunPtr encodingInputBuffer;
ConstTextEncodingRunPtr encodingInputBufferEnd;
TextEncodingRunPtr encodingOutputBuffer;
TextEncodingRunPtr encodingOutputBufferEnd;
};
typedef struct TECBufferContextRec TECBufferContextRec;
struct TECPluginStateRec {
UInt8 state1;
UInt8 state2;
UInt8 state3;
UInt8 state4;
UInt32 longState1;
UInt32 longState2;
UInt32 longState3;
UInt32 longState4;
};
typedef struct TECPluginStateRec TECPluginStateRec;
struct TECConverterContextRec {
Ptr pluginRec;
TextEncoding sourceEncoding;
TextEncoding destEncoding;
UInt32 reserved1;
UInt32 reserved2;
TECBufferContextRec bufferContext;
URefCon contextRefCon;
ProcPtr conversionProc;
ProcPtr flushProc;
ProcPtr clearContextInfoProc;
UInt32 options1;
UInt32 options2;
TECPluginStateRec pluginState;
};
typedef struct TECConverterContextRec TECConverterContextRec;
struct TECSnifferContextRec {
Ptr pluginRec;
TextEncoding encoding;
ItemCount maxErrors;
ItemCount maxFeatures;
ConstTextPtr textInputBuffer;
ConstTextPtr textInputBufferEnd;
ItemCount numFeatures;
ItemCount numErrors;
URefCon contextRefCon;
ProcPtr sniffProc;
ProcPtr clearContextInfoProc;
TECPluginStateRec pluginState;
};
typedef struct TECSnifferContextRec TECSnifferContextRec;
typedef OSStatus ( * TECPluginNewEncodingConverterPtr)(TECObjectRef *newEncodingConverter, TECConverterContextRec *plugContext, TextEncoding inputEncoding, TextEncoding outputEncoding);
typedef OSStatus ( * TECPluginClearContextInfoPtr)(TECObjectRef encodingConverter, TECConverterContextRec *plugContext);
typedef OSStatus ( * TECPluginConvertTextEncodingPtr)(TECObjectRef encodingConverter, TECConverterContextRec *plugContext);
typedef OSStatus ( * TECPluginFlushConversionPtr)(TECObjectRef encodingConverter, TECConverterContextRec *plugContext);
typedef OSStatus ( * TECPluginDisposeEncodingConverterPtr)(TECObjectRef newEncodingConverter, TECConverterContextRec *plugContext);
typedef OSStatus ( * TECPluginNewEncodingSnifferPtr)(TECSnifferObjectRef *encodingSniffer, TECSnifferContextRec *snifContext, TextEncoding inputEncoding);
typedef OSStatus ( * TECPluginClearSnifferContextInfoPtr)(TECSnifferObjectRef encodingSniffer, TECSnifferContextRec *snifContext);
typedef OSStatus ( * TECPluginSniffTextEncodingPtr)(TECSnifferObjectRef encodingSniffer, TECSnifferContextRec *snifContext);
typedef OSStatus ( * TECPluginDisposeEncodingSnifferPtr)(TECSnifferObjectRef encodingSniffer, TECSnifferContextRec *snifContext);
typedef OSStatus ( * TECPluginGetCountAvailableTextEncodingsPtr)(TextEncoding *availableEncodings, ItemCount maxAvailableEncodings, ItemCount *actualAvailableEncodings);
typedef OSStatus ( * TECPluginGetCountAvailableTextEncodingPairsPtr)(TECConversionInfo *availableEncodings, ItemCount maxAvailableEncodings, ItemCount *actualAvailableEncodings);
typedef OSStatus ( * TECPluginGetCountDestinationTextEncodingsPtr)(TextEncoding inputEncoding, TextEncoding *destinationEncodings, ItemCount maxDestinationEncodings, ItemCount *actualDestinationEncodings);
typedef OSStatus ( * TECPluginGetCountSubTextEncodingsPtr)(TextEncoding inputEncoding, TextEncoding subEncodings[], ItemCount maxSubEncodings, ItemCount *actualSubEncodings);
typedef OSStatus ( * TECPluginGetCountAvailableSniffersPtr)(TextEncoding *availableEncodings, ItemCount maxAvailableEncodings, ItemCount *actualAvailableEncodings);
typedef OSStatus ( * TECPluginGetTextEncodingInternetNamePtr)(TextEncoding textEncoding, Str255 encodingName);
typedef OSStatus ( * TECPluginGetTextEncodingFromInternetNamePtr)(TextEncoding *textEncoding, ConstStr255Param encodingName);
typedef OSStatus ( * TECPluginGetCountWebEncodingsPtr)(TextEncoding *availableEncodings, ItemCount maxAvailableEncodings, ItemCount *actualAvailableEncodings);
typedef OSStatus ( * TECPluginGetCountMailEncodingsPtr)(TextEncoding *availableEncodings, ItemCount maxAvailableEncodings, ItemCount *actualAvailableEncodings);
enum {
kTECPluginDispatchTableVersion1 = 0x00010000,
kTECPluginDispatchTableVersion1_1 = 0x00010001,
kTECPluginDispatchTableVersion1_2 = 0x00010002,
kTECPluginDispatchTableCurrentVersion = kTECPluginDispatchTableVersion1_2
};
struct TECPluginDispatchTable {
TECPluginVersion version;
TECPluginVersion compatibleVersion;
TECPluginSignature PluginID;
TECPluginNewEncodingConverterPtr PluginNewEncodingConverter;
TECPluginClearContextInfoPtr PluginClearContextInfo;
TECPluginConvertTextEncodingPtr PluginConvertTextEncoding;
TECPluginFlushConversionPtr PluginFlushConversion;
TECPluginDisposeEncodingConverterPtr PluginDisposeEncodingConverter;
TECPluginNewEncodingSnifferPtr PluginNewEncodingSniffer;
TECPluginClearSnifferContextInfoPtr PluginClearSnifferContextInfo;
TECPluginSniffTextEncodingPtr PluginSniffTextEncoding;
TECPluginDisposeEncodingSnifferPtr PluginDisposeEncodingSniffer;
TECPluginGetCountAvailableTextEncodingsPtr PluginGetCountAvailableTextEncodings;
TECPluginGetCountAvailableTextEncodingPairsPtr PluginGetCountAvailableTextEncodingPairs;
TECPluginGetCountDestinationTextEncodingsPtr PluginGetCountDestinationTextEncodings;
TECPluginGetCountSubTextEncodingsPtr PluginGetCountSubTextEncodings;
TECPluginGetCountAvailableSniffersPtr PluginGetCountAvailableSniffers;
TECPluginGetCountWebEncodingsPtr PluginGetCountWebTextEncodings;
TECPluginGetCountMailEncodingsPtr PluginGetCountMailTextEncodings;
TECPluginGetTextEncodingInternetNamePtr PluginGetTextEncodingInternetName;
TECPluginGetTextEncodingFromInternetNamePtr PluginGetTextEncodingFromInternetName;
};
typedef struct TECPluginDispatchTable TECPluginDispatchTable;
# 301 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 3
typedef TECPluginDispatchTable * ( * TECPluginGetPluginDispatchTablePtr)(void);
#pragma pack(pop)
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
#define __FSEVENTS__
# 41 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
#pragma pack(push, 2)
# 194 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
typedef UInt32 FSEventStreamCreateFlags;
# 203 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
enum {
kFSEventStreamCreateFlagNone = 0x00000000,
kFSEventStreamCreateFlagUseCFTypes = 0x00000001,
# 235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamCreateFlagNoDefer = 0x00000002,
# 252 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamCreateFlagWatchRoot = 0x00000004
};
# 262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
typedef UInt32 FSEventStreamEventFlags;
enum {
kFSEventStreamEventFlagNone = 0x00000000,
# 291 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagMustScanSubDirs = 0x00000001,
# 306 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagUserDropped = 0x00000002,
kFSEventStreamEventFlagKernelDropped = 0x00000004,
kFSEventStreamEventFlagEventIdsWrapped = 0x00000008,
# 328 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagHistoryDone = 0x00000010,
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagRootChanged = 0x00000020,
# 355 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagMount = 0x00000040,
# 367 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagUnmount = 0x00000080
};
# 380 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
typedef UInt64 FSEventStreamEventId;
enum {
kFSEventStreamEventIdSinceNow = 0xFFFFFFFFFFFFFFFFULL
};
# 393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
typedef struct __FSEventStream* FSEventStreamRef;
typedef const struct __FSEventStream* ConstFSEventStreamRef;
# 410 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
struct FSEventStreamContext {
CFIndex version;
# 426 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
void * info;
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
};
typedef struct FSEventStreamContext FSEventStreamContext;
# 510 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
typedef void ( * FSEventStreamCallback)(ConstFSEventStreamRef streamRef, void *clientCallBackInfo, size_t numEvents, void *eventPaths, const FSEventStreamEventFlags eventFlags[], const FSEventStreamEventId eventIds[]);
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamRef
FSEventStreamCreate(
CFAllocatorRef allocator,
FSEventStreamCallback callback,
FSEventStreamContext * context,
CFArrayRef pathsToWatch,
FSEventStreamEventId sinceWhen,
CFTimeInterval latency,
FSEventStreamCreateFlags flags) ;
# 658 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamRef
FSEventStreamCreateRelativeToDevice(
CFAllocatorRef allocator,
FSEventStreamCallback callback,
FSEventStreamContext * context,
dev_t deviceToWatch,
CFArrayRef pathsToWatchRelativeToDevice,
FSEventStreamEventId sinceWhen,
CFTimeInterval latency,
FSEventStreamCreateFlags flags) ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamEventId
FSEventStreamGetLatestEventId(ConstFSEventStreamRef streamRef) ;
# 719 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern dev_t
FSEventStreamGetDeviceBeingWatched(ConstFSEventStreamRef streamRef) ;
# 744 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern CFArrayRef
FSEventStreamCopyPathsBeingWatched(ConstFSEventStreamRef streamRef) ;
# 764 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamEventId
FSEventsGetCurrentEventId(void) ;
# 800 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern CFUUIDRef
FSEventsCopyUUIDForDevice(dev_t dev) ;
# 836 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamEventId
FSEventsGetLastEventIdForDeviceBeforeTime(
dev_t dev,
CFAbsoluteTime time) ;
# 865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern Boolean
FSEventsPurgeEventsForDeviceUpToEventId(
dev_t dev,
FSEventStreamEventId eventId) ;
# 891 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamRetain(FSEventStreamRef streamRef) ;
# 913 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamRelease(FSEventStreamRef streamRef) ;
# 949 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamScheduleWithRunLoop(
FSEventStreamRef streamRef,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 979 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamUnscheduleFromRunLoop(
FSEventStreamRef streamRef,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1006 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamInvalidate(FSEventStreamRef streamRef) ;
# 1039 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern Boolean
FSEventStreamStart(FSEventStreamRef streamRef) ;
# 1069 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamEventId
FSEventStreamFlushAsync(FSEventStreamRef streamRef) ;
# 1096 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamFlushSync(FSEventStreamRef streamRef) ;
# 1121 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamStop(FSEventStreamRef streamRef) ;
# 1145 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamShow(ConstFSEventStreamRef streamRef) ;
# 1165 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern CFStringRef
FSEventStreamCopyDescription(ConstFSEventStreamRef streamRef) ;
#pragma pack(pop)
# 219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
#define __AEDATAMODEL__
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
#pragma pack(push, 2)
enum {
typeBoolean = 'bool',
typeChar = 'TEXT'
};
enum {
typeStyledUnicodeText = 'sutx',
typeEncodedString = 'encs',
typeUnicodeText = 'utxt',
typeCString = 'cstr',
typePString = 'pstr'
};
enum {
typeUTF16ExternalRepresentation = 'ut16',
typeUTF8Text = 'utf8'
};
enum {
typeSInt16 = 'shor',
typeUInt16 = 'ushr',
typeSInt32 = 'long',
typeUInt32 = 'magn',
typeSInt64 = 'comp',
typeUInt64 = 'ucom',
typeIEEE32BitFloatingPoint = 'sing',
typeIEEE64BitFloatingPoint = 'doub',
type128BitFloatingPoint = 'ldbl',
typeDecimalStruct = 'decm'
};
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
enum {
typeSMInt = typeSInt16,
typeShortInteger = typeSInt16,
typeInteger = typeSInt32,
typeLongInteger = typeSInt32,
typeMagnitude = typeUInt32,
typeComp = typeSInt64,
typeSMFloat = typeIEEE32BitFloatingPoint,
typeShortFloat = typeIEEE32BitFloatingPoint,
typeFloat = typeIEEE64BitFloatingPoint,
typeLongFloat = typeIEEE64BitFloatingPoint,
typeExtended = 'exte'
};
enum {
typeAEList = 'list',
typeAERecord = 'reco',
typeAppleEvent = 'aevt',
typeEventRecord = 'evrc',
typeTrue = 'true',
typeFalse = 'fals',
typeAlias = 'alis',
typeEnumerated = 'enum',
typeType = 'type',
typeAppParameters = 'appa',
typeProperty = 'prop',
typeFSRef = 'fsrf',
typeFileURL = 'furl',
typeKeyword = 'keyw',
typeSectionH = 'sect',
typeWildCard = '****',
typeApplSignature = 'sign',
typeQDRectangle = 'qdrt',
typeFixed = 'fixd',
typeProcessSerialNumber = 'psn ',
typeApplicationURL = 'aprl',
typeNull = 'null'
};
enum {
typeFSS = 'fss '
};
enum {
typeCFAttributedStringRef = 'cfas',
typeCFMutableAttributedStringRef = 'cfaa',
typeCFStringRef = 'cfst',
typeCFMutableStringRef = 'cfms',
typeCFArrayRef = 'cfar',
typeCFMutableArrayRef = 'cfma',
typeCFDictionaryRef = 'cfdc',
typeCFMutableDictionaryRef = 'cfmd',
typeCFNumberRef = 'cfnb',
typeCFBooleanRef = 'cftf',
typeCFTypeRef = 'cfty'
};
enum {
typeKernelProcessID = 'kpid',
typeMachPort = 'port'
};
enum {
typeApplicationBundleID = 'bund'
};
enum {
keyTransactionIDAttr = 'tran',
keyReturnIDAttr = 'rtid',
keyEventClassAttr = 'evcl',
keyEventIDAttr = 'evid',
keyAddressAttr = 'addr',
keyOptionalKeywordAttr = 'optk',
keyTimeoutAttr = 'timo',
keyInteractLevelAttr = 'inte',
keyEventSourceAttr = 'esrc',
keyMissedKeywordAttr = 'miss',
keyOriginalAddressAttr = 'from',
keyAcceptTimeoutAttr = 'actm',
keyReplyRequestedAttr = 'repq'
};
enum {
kAEDebugPOSTHeader = (1 << 0),
kAEDebugReplyHeader = (1 << 1),
kAEDebugXMLRequest = (1 << 2),
kAEDebugXMLResponse = (1 << 3),
kAEDebugXMLDebugAll = (long)0xFFFFFFFF
};
enum {
kSOAP1999Schema = 'ss99',
kSOAP2001Schema = 'ss01'
};
enum {
keyUserNameAttr = 'unam',
keyUserPasswordAttr = 'pass',
keyDisableAuthenticationAttr = 'auth',
keyXMLDebuggingAttr = 'xdbg',
kAERPCClass = 'rpc ',
kAEXMLRPCScheme = 'RPC2',
kAESOAPScheme = 'SOAP',
kAESharedScriptHandler = 'wscp',
keyRPCMethodName = 'meth',
keyRPCMethodParam = 'parm',
keyRPCMethodParamOrder = '/ord',
keyAEPOSTHeaderData = 'phed',
keyAEReplyHeaderData = 'rhed',
keyAEXMLRequestData = 'xreq',
keyAEXMLReplyData = 'xrep',
keyAdditionalHTTPHeaders = 'ahed',
keySOAPAction = 'sact',
keySOAPMethodNameSpace = 'mspc',
keySOAPMethodNameSpaceURI = 'mspu',
keySOAPSchemaVersion = 'ssch'
};
# 260 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
enum {
keySOAPStructureMetaData = '/smd',
keySOAPSMDNamespace = 'ssns',
keySOAPSMDNamespaceURI = 'ssnu',
keySOAPSMDType = 'sstp'
};
enum {
kAEUseHTTPProxyAttr = 'xupr',
kAEHTTPProxyPortAttr = 'xhtp',
kAEHTTPProxyHostAttr = 'xhth'
};
enum {
kAESocks4Protocol = 4,
kAESocks5Protocol = 5
};
enum {
kAEUseSocksAttr = 'xscs',
kAESocksProxyAttr = 'xsok',
kAESocksHostAttr = 'xshs',
kAESocksPortAttr = 'xshp',
kAESocksUserAttr = 'xshu',
kAESocksPasswordAttr = 'xshw'
};
enum {
kAEDescListFactorNone = 0,
kAEDescListFactorType = 4,
kAEDescListFactorTypeAndSize = 8
};
enum {
kAutoGenerateReturnID = -1,
kAnyTransactionID = 0
};
typedef ResType DescType;
typedef FourCharCode AEKeyword;
typedef struct OpaqueAEDataStorageType* AEDataStorageType;
typedef AEDataStorageType * AEDataStorage;
struct AEDesc {
DescType descriptorType;
AEDataStorage dataHandle;
};
typedef struct AEDesc AEDesc;
typedef AEDesc * AEDescPtr;
struct AEKeyDesc {
AEKeyword descKey;
AEDesc descContent;
};
typedef struct AEKeyDesc AEKeyDesc;
typedef AEDesc AEDescList;
typedef AEDescList AERecord;
typedef AEDesc AEAddressDesc;
typedef AERecord AppleEvent;
typedef AppleEvent * AppleEventPtr;
typedef SInt16 AEReturnID;
typedef SInt32 AETransactionID;
typedef FourCharCode AEEventClass;
typedef FourCharCode AEEventID;
typedef SInt8 AEArrayType;
enum {
kAEDataArray = 0,
kAEPackedArray = 1,
kAEDescArray = 3,
kAEKeyDescArray = 4
};
enum {
kAEHandleArray = 2
};
union AEArrayData {
SInt16 kAEDataArray[1];
char kAEPackedArray[1];
Handle kAEHandleArray[1];
AEDesc kAEDescArray[1];
AEKeyDesc kAEKeyDescArray[1];
};
typedef union AEArrayData AEArrayData;
typedef AEArrayData * AEArrayDataPointer;
typedef SInt16 AESendPriority;
enum {
kAENormalPriority = 0x00000000,
kAEHighPriority = 0x00000001
};
typedef SInt32 AESendMode;
enum {
kAENoReply = 0x00000001,
kAEQueueReply = 0x00000002,
kAEWaitReply = 0x00000003,
kAEDontReconnect = 0x00000080,
kAEWantReceipt = 0x00000200,
kAENeverInteract = 0x00000010,
kAECanInteract = 0x00000020,
kAEAlwaysInteract = 0x00000030,
kAECanSwitchLayer = 0x00000040,
kAEDontRecord = 0x00001000,
kAEDontExecute = 0x00002000,
kAEProcessNonReplyEvents = 0x00008000
};
enum {
kAEDefaultTimeout = -1,
kNoTimeOut = -2
};
typedef OSErr ( * AECoerceDescProcPtr)(const AEDesc *fromDesc, DescType toType, SRefCon handlerRefcon, AEDesc *toDesc);
typedef OSErr ( * AECoercePtrProcPtr)(DescType typeCode, const void *dataPtr, Size dataSize, DescType toType, SRefCon handlerRefcon, AEDesc *result);
typedef AECoerceDescProcPtr AECoerceDescUPP;
typedef AECoercePtrProcPtr AECoercePtrUPP;
# 425 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern AECoerceDescUPP
NewAECoerceDescUPP(AECoerceDescProcPtr userRoutine) ;
# 436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern AECoercePtrUPP
NewAECoercePtrUPP(AECoercePtrProcPtr userRoutine) ;
# 447 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
DisposeAECoerceDescUPP(AECoerceDescUPP userUPP) ;
# 458 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
DisposeAECoercePtrUPP(AECoercePtrUPP userUPP) ;
# 469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
InvokeAECoerceDescUPP(
const AEDesc * fromDesc,
DescType toType,
SRefCon handlerRefcon,
AEDesc * toDesc,
AECoerceDescUPP userUPP) ;
# 485 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
InvokeAECoercePtrUPP(
DescType typeCode,
const void * dataPtr,
Size dataSize,
DescType toType,
SRefCon handlerRefcon,
AEDesc * result,
AECoercePtrUPP userUPP) ;
# 504 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
#define NewAECoerceDescUPP(userRoutine) ((AECoerceDescUPP)userRoutine)
#define NewAECoercePtrUPP(userRoutine) ((AECoercePtrUPP)userRoutine)
#define DisposeAECoerceDescUPP(userUPP)
#define DisposeAECoercePtrUPP(userUPP)
#define InvokeAECoerceDescUPP(fromDesc,toType,handlerRefcon,toDesc,userUPP) (*userUPP)(fromDesc, toType, handlerRefcon, toDesc)
#define InvokeAECoercePtrUPP(typeCode,dataPtr,dataSize,toType,handlerRefcon,result,userUPP) (*userUPP)(typeCode, dataPtr, dataSize, toType, handlerRefcon, result)
typedef AECoerceDescUPP AECoercionHandlerUPP;
# 583 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEInstallCoercionHandler(
DescType fromType,
DescType toType,
AECoercionHandlerUPP handler,
SRefCon handlerRefcon,
Boolean fromTypeIsDesc,
Boolean isSysHandler) ;
# 629 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AERemoveCoercionHandler(
DescType fromType,
DescType toType,
AECoercionHandlerUPP handler,
Boolean isSysHandler) ;
# 684 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetCoercionHandler(
DescType fromType,
DescType toType,
AECoercionHandlerUPP * handler,
SRefCon * handlerRefcon,
Boolean * fromTypeIsDesc,
Boolean isSysHandler) ;
# 734 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECoercePtr(
DescType typeCode,
const void * dataPtr,
Size dataSize,
DescType toType,
AEDesc * result) ;
# 774 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECoerceDesc(
const AEDesc * theAEDesc,
DescType toType,
AEDesc * result) ;
# 810 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
AEInitializeDesc(AEDesc * desc) ;
#define AEInitializeDescInline(__d) do { AEDesc* d = __d; d->descriptorType = typeNull; d->dataHandle = NULL; } while (0)
# 865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECreateDesc(
DescType typeCode,
const void * dataPtr,
Size dataSize,
AEDesc * result) ;
# 907 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEDisposeDesc(AEDesc * theAEDesc) ;
# 951 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEDuplicateDesc(
const AEDesc * theAEDesc,
AEDesc * result) ;
typedef void ( * AEDisposeExternalProcPtr)(const void *dataPtr, Size dataLength, SRefCon refcon);
typedef AEDisposeExternalProcPtr AEDisposeExternalUPP;
# 1032 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSStatus
AECreateDescFromExternalPtr(
OSType descriptorType,
const void * dataPtr,
Size dataLength,
AEDisposeExternalUPP disposeCallback,
SRefCon disposeRefcon,
AEDesc * theDesc) ;
# 1088 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECreateList(
const void * factoringPtr,
Size factoredSize,
Boolean isRecord,
AEDescList * resultList) ;
# 1120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECountItems(
const AEDescList * theAEDescList,
long * theCount) ;
# 1165 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutPtr(
AEDescList * theAEDescList,
long index,
DescType typeCode,
const void * dataPtr,
Size dataSize) ;
# 1207 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutDesc(
AEDescList * theAEDescList,
long index,
const AEDesc * theAEDesc) ;
# 1266 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetNthPtr(
const AEDescList * theAEDescList,
long index,
DescType desiredType,
AEKeyword * theAEKeyword,
DescType * typeCode,
void * dataPtr,
Size maximumSize,
Size * actualSize) ;
# 1317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetNthDesc(
const AEDescList * theAEDescList,
long index,
DescType desiredType,
AEKeyword * theAEKeyword,
AEDesc * result) ;
# 1352 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AESizeOfNthItem(
const AEDescList * theAEDescList,
long index,
DescType * typeCode,
Size * dataSize) ;
# 1401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetArray(
const AEDescList * theAEDescList,
AEArrayType arrayType,
AEArrayDataPointer arrayPtr,
Size maximumSize,
DescType * itemType,
Size * itemSize,
long * itemCount) ;
# 1449 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutArray(
AEDescList * theAEDescList,
AEArrayType arrayType,
const AEArrayData * arrayPtr,
DescType itemType,
Size itemSize,
long itemCount) ;
# 1481 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEDeleteItem(
AEDescList * theAEDescList,
long index) ;
# 1508 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern Boolean
AECheckIsRecord(const AEDesc * theDesc) ;
# 1523 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
#define AEPutKeyPtr(theAERecord,theAEKeyword,typeCode,dataPtr,dataSize) AEPutParamPtr((theAERecord), (theAEKeyword), (typeCode), (dataPtr), (dataSize))
#define AEPutKeyDesc(theAERecord,theAEKeyword,theAEDesc) AEPutParamDesc((theAERecord), (theAEKeyword), (theAEDesc))
#define AEGetKeyPtr(theAERecord,theAEKeyword,desiredType,typeCode,dataPtr,maxSize,actualSize) AEGetParamPtr((theAERecord), (theAEKeyword), (desiredType), (typeCode), (dataPtr), (maxSize), (actualSize))
#define AEGetKeyDesc(theAERecord,theAEKeyword,desiredType,result) AEGetParamDesc((theAERecord), (theAEKeyword), (desiredType), (result))
#define AESizeOfKeyDesc(theAERecord,theAEKeyword,typeCode,dataSize) AESizeOfParam((theAERecord), (theAEKeyword), (typeCode), (dataSize))
#define AEDeleteKeyDesc(theAERecord,theAEKeyword) AEDeleteParam((theAERecord), (theAEKeyword))
# 1608 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECreateAppleEvent(
AEEventClass theAEEventClass,
AEEventID theAEEventID,
const AEAddressDesc * target,
AEReturnID returnID,
AETransactionID transactionID,
AppleEvent * result) ;
# 1660 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutParamPtr(
AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType typeCode,
const void * dataPtr,
Size dataSize) ;
# 1698 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutParamDesc(
AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
const AEDesc * theAEDesc) ;
# 1793 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetParamPtr(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType desiredType,
DescType * actualType,
void * dataPtr,
Size maximumSize,
Size * actualSize) ;
# 1858 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetParamDesc(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType desiredType,
AEDesc * result) ;
# 1898 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AESizeOfParam(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType * typeCode,
Size * dataSize) ;
# 1930 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEDeleteParam(
AppleEvent * theAppleEvent,
AEKeyword theAEKeyword) ;
# 2020 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetAttributePtr(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType desiredType,
DescType * typeCode,
void * dataPtr,
Size maximumSize,
Size * actualSize) ;
# 2081 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetAttributeDesc(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType desiredType,
AEDesc * result) ;
# 2120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AESizeOfAttribute(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType * typeCode,
Size * dataSize) ;
# 2164 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutAttributePtr(
AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType typeCode,
const void * dataPtr,
Size dataSize) ;
# 2213 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutAttributeDesc(
AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
const AEDesc * theAEDesc) ;
# 2253 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern Size
AESizeOfFlattenedDesc(const AEDesc * theAEDesc) ;
# 2300 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSStatus
AEFlattenDesc(
const AEDesc * theAEDesc,
Ptr buffer,
Size bufferSize,
Size * actualSize) ;
# 2337 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSStatus
AEUnflattenDesc(
const void * buffer,
AEDesc * result) ;
# 2382 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetDescData(
const AEDesc * theAEDesc,
void * dataPtr,
Size maximumSize) ;
# 2409 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern Size
AEGetDescDataSize(const AEDesc * theAEDesc) ;
# 2443 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEReplaceDescData(
DescType typeCode,
const void * dataPtr,
Size dataSize,
AEDesc * theAEDesc) ;
# 2488 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSStatus
AEGetDescDataRange(
const AEDesc * dataDesc,
void * buffer,
Size offset,
Size length) ;
typedef OSErr ( * AEEventHandlerProcPtr)(const AppleEvent *theAppleEvent, AppleEvent *reply, SRefCon handlerRefcon);
typedef AEEventHandlerProcPtr AEEventHandlerUPP;
# 2509 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern AEDisposeExternalUPP
NewAEDisposeExternalUPP(AEDisposeExternalProcPtr userRoutine) ;
# 2520 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern AEEventHandlerUPP
NewAEEventHandlerUPP(AEEventHandlerProcPtr userRoutine) ;
# 2531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
DisposeAEDisposeExternalUPP(AEDisposeExternalUPP userUPP) ;
# 2542 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
DisposeAEEventHandlerUPP(AEEventHandlerUPP userUPP) ;
# 2553 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
InvokeAEDisposeExternalUPP(
const void * dataPtr,
Size dataLength,
SRefCon refcon,
AEDisposeExternalUPP userUPP) ;
# 2568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
InvokeAEEventHandlerUPP(
const AppleEvent * theAppleEvent,
AppleEvent * reply,
SRefCon handlerRefcon,
AEEventHandlerUPP userUPP) ;
# 2584 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
#define NewAEDisposeExternalUPP(userRoutine) ((AEDisposeExternalUPP)userRoutine)
#define NewAEEventHandlerUPP(userRoutine) ((AEEventHandlerUPP)userRoutine)
#define DisposeAEDisposeExternalUPP(userUPP)
#define DisposeAEEventHandlerUPP(userUPP)
#define InvokeAEDisposeExternalUPP(dataPtr,dataLength,refcon,userUPP) (*userUPP)(dataPtr, dataLength, refcon)
#define InvokeAEEventHandlerUPP(theAppleEvent,reply,handlerRefcon,userUPP) (*userUPP)(theAppleEvent, reply, handlerRefcon)
#pragma pack(pop)
# 26 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
#define __APPLEEVENTS__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
#pragma pack(push, 2)
enum {
keyDirectObject = '----',
keyErrorNumber = 'errn',
keyErrorString = 'errs',
keyProcessSerialNumber = 'psn ',
keyPreDispatch = 'phac',
keySelectProc = 'selh',
keyAERecorderCount = 'recr',
keyAEVersion = 'vers'
};
enum {
kCoreEventClass = 'aevt'
};
enum {
kAEOpenApplication = 'oapp',
kAEOpenDocuments = 'odoc',
kAEPrintDocuments = 'pdoc',
kAEOpenContents = 'ocon',
kAEQuitApplication = 'quit',
kAEAnswer = 'ansr',
kAEApplicationDied = 'obit',
kAEShowPreferences = 'pref'
};
enum {
kAEStartRecording = 'reca',
kAEStopRecording = 'recc',
kAENotifyStartRecording = 'rec1',
kAENotifyStopRecording = 'rec0',
kAENotifyRecording = 'recr'
};
# 99 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
typedef SInt8 AEEventSource;
enum {
kAEUnknownSource = 0,
kAEDirectCall = 1,
kAESameProcess = 2,
kAELocalProcess = 3,
kAERemoteProcess = 4
};
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AEInstallEventHandler(
AEEventClass theAEEventClass,
AEEventID theAEEventID,
AEEventHandlerUPP handler,
SRefCon handlerRefcon,
Boolean isSysHandler) ;
# 142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AERemoveEventHandler(
AEEventClass theAEEventClass,
AEEventID theAEEventID,
AEEventHandlerUPP handler,
Boolean isSysHandler) ;
# 161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AEGetEventHandler(
AEEventClass theAEEventClass,
AEEventID theAEEventID,
AEEventHandlerUPP * handler,
SRefCon * handlerRefcon,
Boolean isSysHandler) ;
# 187 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AEInstallSpecialHandler(
AEKeyword functionClass,
AEEventHandlerUPP handler,
Boolean isSysHandler) ;
# 205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AERemoveSpecialHandler(
AEKeyword functionClass,
AEEventHandlerUPP handler,
Boolean isSysHandler) ;
# 223 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AEGetSpecialHandler(
AEKeyword functionClass,
AEEventHandlerUPP * handler,
Boolean isSysHandler) ;
# 248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AEManagerInfo(
AEKeyword keyWord,
long * result) ;
# 288 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern const CFStringRef kAERemoteProcessURLKey ;
# 301 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern const CFStringRef kAERemoteProcessNameKey ;
# 314 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern const CFStringRef kAERemoteProcessUserIDKey ;
# 327 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern const CFStringRef kAERemoteProcessProcessIDKey ;
# 337 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
struct AERemoteProcessResolverContext {
CFIndex version;
void * info;
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
};
typedef struct AERemoteProcessResolverContext AERemoteProcessResolverContext;
# 376 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
typedef struct AERemoteProcessResolver* AERemoteProcessResolverRef;
# 409 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern AERemoteProcessResolverRef
AECreateRemoteProcessResolver(
CFAllocatorRef allocator,
CFURLRef url) ;
# 436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern void
AEDisposeRemoteProcessResolver(AERemoteProcessResolverRef ref) ;
# 477 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern CFArrayRef
AERemoteProcessResolverGetProcesses(
AERemoteProcessResolverRef ref,
CFStreamError * outError) ;
# 492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
typedef void ( * AERemoteProcessResolverCallback)(AERemoteProcessResolverRef ref, void *info);
# 532 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern void
AERemoteProcessResolverScheduleWithRunLoop(
AERemoteProcessResolverRef ref,
CFRunLoopRef runLoop,
CFStringRef runLoopMode,
AERemoteProcessResolverCallback callback,
const AERemoteProcessResolverContext * ctx) ;
#pragma pack(pop)
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
#define __AEPACKOBJECT__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
extern OSErr
CreateOffsetDescriptor(
long theOffset,
AEDesc * theDescriptor) ;
# 64 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
extern OSErr
CreateCompDescriptor(
DescType comparisonOperator,
AEDesc * operand1,
AEDesc * operand2,
Boolean disposeInputs,
AEDesc * theDescriptor) ;
# 84 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
extern OSErr
CreateLogicalDescriptor(
AEDescList * theLogicalTerms,
DescType theLogicOperator,
Boolean disposeInputs,
AEDesc * theDescriptor) ;
# 104 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
extern OSErr
CreateObjSpecifier(
DescType desiredClass,
AEDesc * theContainer,
DescType keyForm,
AEDesc * keyData,
Boolean disposeInputs,
AEDesc * objSpecifier) ;
# 125 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
extern OSErr
CreateRangeDescriptor(
AEDesc * rangeStart,
AEDesc * rangeStop,
Boolean disposeInputs,
AEDesc * theDescriptor) ;
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
#define __AEOBJECTS__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
#pragma pack(push, 2)
enum {
kAEAND = 'AND ',
kAEOR = 'OR ',
kAENOT = 'NOT ',
kAEFirst = 'firs',
kAELast = 'last',
kAEMiddle = 'midd',
kAEAny = 'any ',
kAEAll = 'all ',
kAENext = 'next',
kAEPrevious = 'prev',
keyAECompOperator = 'relo',
keyAELogicalTerms = 'term',
keyAELogicalOperator = 'logc',
keyAEObject1 = 'obj1',
keyAEObject2 = 'obj2',
keyAEDesiredClass = 'want',
keyAEContainer = 'from',
keyAEKeyForm = 'form',
keyAEKeyData = 'seld'
};
enum {
keyAERangeStart = 'star',
keyAERangeStop = 'stop',
keyDisposeTokenProc = 'xtok',
keyAECompareProc = 'cmpr',
keyAECountProc = 'cont',
keyAEMarkTokenProc = 'mkid',
keyAEMarkProc = 'mark',
keyAEAdjustMarksProc = 'adjm',
keyAEGetErrDescProc = 'indc'
};
enum {
formAbsolutePosition = 'indx',
formRelativePosition = 'rele',
formTest = 'test',
formRange = 'rang',
formPropertyID = 'prop',
formName = 'name',
formUniqueID = 'ID ',
typeObjectSpecifier = 'obj ',
typeObjectBeingExamined = 'exmn',
typeCurrentContainer = 'ccnt',
typeToken = 'toke',
typeRelativeDescriptor = 'rel ',
typeAbsoluteOrdinal = 'abso',
typeIndexDescriptor = 'inde',
typeRangeDescriptor = 'rang',
typeLogicalDescriptor = 'logi',
typeCompDescriptor = 'cmpd',
typeOSLTokenList = 'ostl'
};
enum {
kAEIDoMinimum = 0x0000,
kAEIDoWhose = 0x0001,
kAEIDoMarking = 0x0004,
kAEPassSubDescs = 0x0008,
kAEResolveNestedLists = 0x0010,
kAEHandleSimpleRanges = 0x0020,
kAEUseRelativeIterators = 0x0040
};
enum {
typeWhoseDescriptor = 'whos',
formWhose = 'whos',
typeWhoseRange = 'wrng',
keyAEWhoseRangeStart = 'wstr',
keyAEWhoseRangeStop = 'wstp',
keyAEIndex = 'kidx',
keyAETest = 'ktst'
};
struct ccntTokenRecord {
DescType tokenClass;
AEDesc token;
};
typedef struct ccntTokenRecord ccntTokenRecord;
typedef ccntTokenRecord * ccntTokenRecPtr;
typedef ccntTokenRecPtr * ccntTokenRecHandle;
typedef OSErr ( * OSLAccessorProcPtr)(DescType desiredClass, const AEDesc *container, DescType containerClass, DescType form, const AEDesc *selectionData, AEDesc *value, SRefCon accessorRefcon);
typedef OSErr ( * OSLCompareProcPtr)(DescType oper, const AEDesc *obj1, const AEDesc *obj2, Boolean *result);
typedef OSErr ( * OSLCountProcPtr)(DescType desiredType, DescType containerClass, const AEDesc *container, long *result);
typedef OSErr ( * OSLDisposeTokenProcPtr)(AEDesc * unneededToken);
typedef OSErr ( * OSLGetMarkTokenProcPtr)(const AEDesc *dContainerToken, DescType containerClass, AEDesc *result);
typedef OSErr ( * OSLGetErrDescProcPtr)(AEDesc ** appDescPtr);
typedef OSErr ( * OSLMarkProcPtr)(const AEDesc *dToken, const AEDesc *markToken, long index);
typedef OSErr ( * OSLAdjustMarksProcPtr)(long newStart, long newStop, const AEDesc *markToken);
typedef OSLAccessorProcPtr OSLAccessorUPP;
typedef OSLCompareProcPtr OSLCompareUPP;
typedef OSLCountProcPtr OSLCountUPP;
typedef OSLDisposeTokenProcPtr OSLDisposeTokenUPP;
typedef OSLGetMarkTokenProcPtr OSLGetMarkTokenUPP;
typedef OSLGetErrDescProcPtr OSLGetErrDescUPP;
typedef OSLMarkProcPtr OSLMarkUPP;
typedef OSLAdjustMarksProcPtr OSLAdjustMarksUPP;
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLAccessorUPP
NewOSLAccessorUPP(OSLAccessorProcPtr userRoutine) ;
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLCompareUPP
NewOSLCompareUPP(OSLCompareProcPtr userRoutine) ;
# 193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLCountUPP
NewOSLCountUPP(OSLCountProcPtr userRoutine) ;
# 204 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLDisposeTokenUPP
NewOSLDisposeTokenUPP(OSLDisposeTokenProcPtr userRoutine) ;
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLGetMarkTokenUPP
NewOSLGetMarkTokenUPP(OSLGetMarkTokenProcPtr userRoutine) ;
# 226 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLGetErrDescUPP
NewOSLGetErrDescUPP(OSLGetErrDescProcPtr userRoutine) ;
# 237 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLMarkUPP
NewOSLMarkUPP(OSLMarkProcPtr userRoutine) ;
# 248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLAdjustMarksUPP
NewOSLAdjustMarksUPP(OSLAdjustMarksProcPtr userRoutine) ;
# 259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLAccessorUPP(OSLAccessorUPP userUPP) ;
# 270 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLCompareUPP(OSLCompareUPP userUPP) ;
# 281 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLCountUPP(OSLCountUPP userUPP) ;
# 292 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLDisposeTokenUPP(OSLDisposeTokenUPP userUPP) ;
# 303 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLGetMarkTokenUPP(OSLGetMarkTokenUPP userUPP) ;
# 314 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLGetErrDescUPP(OSLGetErrDescUPP userUPP) ;
# 325 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLMarkUPP(OSLMarkUPP userUPP) ;
# 336 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLAdjustMarksUPP(OSLAdjustMarksUPP userUPP) ;
# 347 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLAccessorUPP(
DescType desiredClass,
const AEDesc * container,
DescType containerClass,
DescType form,
const AEDesc * selectionData,
AEDesc * value,
SRefCon accessorRefcon,
OSLAccessorUPP userUPP) ;
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLCompareUPP(
DescType oper,
const AEDesc * obj1,
const AEDesc * obj2,
Boolean * result,
OSLCompareUPP userUPP) ;
# 382 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLCountUPP(
DescType desiredType,
DescType containerClass,
const AEDesc * container,
long * result,
OSLCountUPP userUPP) ;
# 398 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLDisposeTokenUPP(
AEDesc * unneededToken,
OSLDisposeTokenUPP userUPP) ;
# 411 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLGetMarkTokenUPP(
const AEDesc * dContainerToken,
DescType containerClass,
AEDesc * result,
OSLGetMarkTokenUPP userUPP) ;
# 426 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLGetErrDescUPP(
AEDesc ** appDescPtr,
OSLGetErrDescUPP userUPP) ;
# 439 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLMarkUPP(
const AEDesc * dToken,
const AEDesc * markToken,
long index,
OSLMarkUPP userUPP) ;
# 454 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLAdjustMarksUPP(
long newStart,
long newStop,
const AEDesc * markToken,
OSLAdjustMarksUPP userUPP) ;
# 488 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
#define NewOSLAccessorUPP(userRoutine) ((OSLAccessorUPP)userRoutine)
#define NewOSLCompareUPP(userRoutine) ((OSLCompareUPP)userRoutine)
#define NewOSLCountUPP(userRoutine) ((OSLCountUPP)userRoutine)
#define NewOSLDisposeTokenUPP(userRoutine) ((OSLDisposeTokenUPP)userRoutine)
#define NewOSLGetMarkTokenUPP(userRoutine) ((OSLGetMarkTokenUPP)userRoutine)
#define NewOSLGetErrDescUPP(userRoutine) ((OSLGetErrDescUPP)userRoutine)
#define NewOSLMarkUPP(userRoutine) ((OSLMarkUPP)userRoutine)
#define NewOSLAdjustMarksUPP(userRoutine) ((OSLAdjustMarksUPP)userRoutine)
#define DisposeOSLAccessorUPP(userUPP)
#define DisposeOSLCompareUPP(userUPP)
#define DisposeOSLCountUPP(userUPP)
#define DisposeOSLDisposeTokenUPP(userUPP)
#define DisposeOSLGetMarkTokenUPP(userUPP)
#define DisposeOSLGetErrDescUPP(userUPP)
#define DisposeOSLMarkUPP(userUPP)
#define DisposeOSLAdjustMarksUPP(userUPP)
#define InvokeOSLAccessorUPP(desiredClass,container,containerClass,form,selectionData,value,accessorRefcon,userUPP) (*userUPP)(desiredClass, container, containerClass, form, selectionData, value, accessorRefcon)
#define InvokeOSLCompareUPP(oper,obj1,obj2,result,userUPP) (*userUPP)(oper, obj1, obj2, result)
#define InvokeOSLCountUPP(desiredType,containerClass,container,result,userUPP) (*userUPP)(desiredType, containerClass, container, result)
#define InvokeOSLDisposeTokenUPP(unneededToken,userUPP) (*userUPP)(unneededToken)
#define InvokeOSLGetMarkTokenUPP(dContainerToken,containerClass,result,userUPP) (*userUPP)(dContainerToken, containerClass, result)
#define InvokeOSLGetErrDescUPP(appDescPtr,userUPP) (*userUPP)(appDescPtr)
#define InvokeOSLMarkUPP(dToken,markToken,index,userUPP) (*userUPP)(dToken, markToken, index)
#define InvokeOSLAdjustMarksUPP(newStart,newStop,markToken,userUPP) (*userUPP)(newStart, newStop, markToken)
# 529 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AEObjectInit(void) ;
# 546 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AESetObjectCallbacks(
OSLCompareUPP myCompareProc,
OSLCountUPP myCountProc,
OSLDisposeTokenUPP myDisposeTokenProc,
OSLGetMarkTokenUPP myGetMarkTokenProc,
OSLMarkUPP myMarkProc,
OSLAdjustMarksUPP myAdjustMarksProc,
OSLGetErrDescUPP myGetErrDescProcPtr) ;
# 568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AEResolve(
const AEDesc * objectSpecifier,
short callbackFlags,
AEDesc * theToken) ;
# 586 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AEInstallObjectAccessor(
DescType desiredClass,
DescType containerType,
OSLAccessorUPP theAccessor,
SRefCon accessorRefcon,
Boolean isSysHandler) ;
# 606 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AERemoveObjectAccessor(
DescType desiredClass,
DescType containerType,
OSLAccessorUPP theAccessor,
Boolean isSysHandler) ;
# 625 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AEGetObjectAccessor(
DescType desiredClass,
DescType containerType,
OSLAccessorUPP * accessor,
SRefCon * accessorRefcon,
Boolean isSysHandler) ;
# 645 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AEDisposeToken(AEDesc * theToken) ;
# 660 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AECallObjectAccessor(
DescType desiredClass,
const AEDesc * containerToken,
DescType containerClass,
DescType keyForm,
const AEDesc * keyData,
AEDesc * token) ;
#pragma pack(pop)
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h" 3
#define __AEREGISTRY__
# 35 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h" 3
#pragma pack(push, 2)
enum {
cAEList = 'list',
cApplication = 'capp',
cArc = 'carc',
cBoolean = 'bool',
cCell = 'ccel',
cChar = 'cha ',
cColorTable = 'clrt',
cColumn = 'ccol',
cDocument = 'docu',
cDrawingArea = 'cdrw',
cEnumeration = 'enum',
cFile = 'file',
cFixed = 'fixd',
cFixedPoint = 'fpnt',
cFixedRectangle = 'frct',
cGraphicLine = 'glin',
cGraphicObject = 'cgob',
cGraphicShape = 'cgsh',
cGraphicText = 'cgtx',
cGroupedGraphic = 'cpic'
};
enum {
cInsertionLoc = 'insl',
cInsertionPoint = 'cins',
cIntlText = 'itxt',
cIntlWritingCode = 'intl',
cItem = 'citm',
cLine = 'clin',
cLongDateTime = 'ldt ',
cLongFixed = 'lfxd',
cLongFixedPoint = 'lfpt',
cLongFixedRectangle = 'lfrc',
cLongInteger = 'long',
cLongPoint = 'lpnt',
cLongRectangle = 'lrct',
cMachineLoc = 'mLoc',
cMenu = 'cmnu',
cMenuItem = 'cmen',
cObject = 'cobj',
cObjectSpecifier = 'obj ',
cOpenableObject = 'coob',
cOval = 'covl'
};
enum {
cParagraph = 'cpar',
cPICT = 'PICT',
cPixel = 'cpxl',
cPixelMap = 'cpix',
cPolygon = 'cpgn',
cProperty = 'prop',
cQDPoint = 'QDpt',
cQDRectangle = 'qdrt',
cRectangle = 'crec',
cRGBColor = 'cRGB',
cRotation = 'trot',
cRoundedRectangle = 'crrc',
cRow = 'crow',
cSelection = 'csel',
cShortInteger = 'shor',
cTable = 'ctbl',
cText = 'ctxt',
cTextFlow = 'cflo',
cTextStyles = 'tsty',
cType = 'type'
};
enum {
cVersion = 'vers',
cWindow = 'cwin',
cWord = 'cwor',
enumArrows = 'arro',
enumJustification = 'just',
enumKeyForm = 'kfrm',
enumPosition = 'posi',
enumProtection = 'prtn',
enumQuality = 'qual',
enumSaveOptions = 'savo',
enumStyle = 'styl',
enumTransferMode = 'tran',
kAEAbout = 'abou',
kAEAfter = 'afte',
kAEAliasSelection = 'sali',
kAEAllCaps = 'alcp',
kAEArrowAtEnd = 'aren',
kAEArrowAtStart = 'arst',
kAEArrowBothEnds = 'arbo'
};
enum {
kAEAsk = 'ask ',
kAEBefore = 'befo',
kAEBeginning = 'bgng',
kAEBeginsWith = 'bgwt',
kAEBeginTransaction = 'begi',
kAEBold = 'bold',
kAECaseSensEquals = 'cseq',
kAECentered = 'cent',
kAEChangeView = 'view',
kAEClone = 'clon',
kAEClose = 'clos',
kAECondensed = 'cond',
kAEContains = 'cont',
kAECopy = 'copy',
kAECoreSuite = 'core',
kAECountElements = 'cnte',
kAECreateElement = 'crel',
kAECreatePublisher = 'cpub',
kAECut = 'cut ',
kAEDelete = 'delo'
};
enum {
kAEDoObjectsExist = 'doex',
kAEDoScript = 'dosc',
kAEDrag = 'drag',
kAEDuplicateSelection = 'sdup',
kAEEditGraphic = 'edit',
kAEEmptyTrash = 'empt',
kAEEnd = 'end ',
kAEEndsWith = 'ends',
kAEEndTransaction = 'endt',
kAEEquals = '= ',
kAEExpanded = 'pexp',
kAEFast = 'fast',
kAEFinderEvents = 'FNDR',
kAEFormulaProtect = 'fpro',
kAEFullyJustified = 'full',
kAEGetClassInfo = 'qobj',
kAEGetData = 'getd',
kAEGetDataSize = 'dsiz',
kAEGetEventInfo = 'gtei',
kAEGetInfoSelection = 'sinf'
};
enum {
kAEGetPrivilegeSelection = 'sprv',
kAEGetSuiteInfo = 'gtsi',
kAEGreaterThan = '> ',
kAEGreaterThanEquals = '>= ',
kAEGrow = 'grow',
kAEHidden = 'hidn',
kAEHiQuality = 'hiqu',
kAEImageGraphic = 'imgr',
kAEIsUniform = 'isun',
kAEItalic = 'ital',
kAELeftJustified = 'left',
kAELessThan = '< ',
kAELessThanEquals = '<= ',
kAELowercase = 'lowc',
kAEMakeObjectsVisible = 'mvis',
kAEMiscStandards = 'misc',
kAEModifiable = 'modf',
kAEMove = 'move',
kAENo = 'no ',
kAENoArrow = 'arno'
};
enum {
kAENonmodifiable = 'nmod',
kAEOpen = 'odoc',
kAEOpenSelection = 'sope',
kAEOutline = 'outl',
kAEPageSetup = 'pgsu',
kAEPaste = 'past',
kAEPlain = 'plan',
kAEPrint = 'pdoc',
kAEPrintSelection = 'spri',
kAEPrintWindow = 'pwin',
kAEPutAwaySelection = 'sput',
kAEQDAddOver = 'addo',
kAEQDAddPin = 'addp',
kAEQDAdMax = 'admx',
kAEQDAdMin = 'admn',
kAEQDBic = 'bic ',
kAEQDBlend = 'blnd',
kAEQDCopy = 'cpy ',
kAEQDNotBic = 'nbic',
kAEQDNotCopy = 'ncpy'
};
enum {
kAEQDNotOr = 'ntor',
kAEQDNotXor = 'nxor',
kAEQDOr = 'or ',
kAEQDSubOver = 'subo',
kAEQDSubPin = 'subp',
kAEQDSupplementalSuite = 'qdsp',
kAEQDXor = 'xor ',
kAEQuickdrawSuite = 'qdrw',
kAEQuitAll = 'quia',
kAERedo = 'redo',
kAERegular = 'regl',
kAEReopenApplication = 'rapp',
kAEReplace = 'rplc',
kAERequiredSuite = 'reqd',
kAERestart = 'rest',
kAERevealSelection = 'srev',
kAERevert = 'rvrt',
kAERightJustified = 'rght',
kAESave = 'save',
kAESelect = 'slct',
kAESetData = 'setd'
};
enum {
kAESetPosition = 'posn',
kAEShadow = 'shad',
kAEShowClipboard = 'shcl',
kAEShutDown = 'shut',
kAESleep = 'slep',
kAESmallCaps = 'smcp',
kAESpecialClassProperties = 'c@#!',
kAEStrikethrough = 'strk',
kAESubscript = 'sbsc',
kAESuperscript = 'spsc',
kAETableSuite = 'tbls',
kAETextSuite = 'TEXT',
kAETransactionTerminated = 'ttrm',
kAEUnderline = 'undl',
kAEUndo = 'undo',
kAEWholeWordEquals = 'wweq',
kAEYes = 'yes ',
kAEZoom = 'zoom'
};
enum {
kAELogOut = 'logo',
kAEReallyLogOut = 'rlgo',
kAEShowRestartDialog = 'rrst',
kAEShowShutdownDialog = 'rsdn'
};
enum {
kAEMouseClass = 'mous',
kAEDown = 'down',
kAEUp = 'up ',
kAEMoved = 'move',
kAEStoppedMoving = 'stop',
kAEWindowClass = 'wind',
kAEUpdate = 'updt',
kAEActivate = 'actv',
kAEDeactivate = 'dact',
kAECommandClass = 'cmnd',
kAEKeyClass = 'keyc',
kAERawKey = 'rkey',
kAEVirtualKey = 'keyc',
kAENavigationKey = 'nave',
kAEAutoDown = 'auto',
kAEApplicationClass = 'appl',
kAESuspend = 'susp',
kAEResume = 'rsme',
kAEDiskEvent = 'disk',
kAENullEvent = 'null',
kAEWakeUpEvent = 'wake',
kAEScrapEvent = 'scrp',
kAEHighLevel = 'high'
};
enum {
keyAEAngle = 'kang',
keyAEArcAngle = 'parc'
};
enum {
keyAEBaseAddr = 'badd',
keyAEBestType = 'pbst',
keyAEBgndColor = 'kbcl',
keyAEBgndPattern = 'kbpt',
keyAEBounds = 'pbnd',
keyAECellList = 'kclt',
keyAEClassID = 'clID',
keyAEColor = 'colr',
keyAEColorTable = 'cltb',
keyAECurveHeight = 'kchd',
keyAECurveWidth = 'kcwd',
keyAEDashStyle = 'pdst',
keyAEData = 'data',
keyAEDefaultType = 'deft',
keyAEDefinitionRect = 'pdrt',
keyAEDescType = 'dstp',
keyAEDestination = 'dest',
keyAEDoAntiAlias = 'anta',
keyAEDoDithered = 'gdit',
keyAEDoRotate = 'kdrt'
};
enum {
keyAEDoScale = 'ksca',
keyAEDoTranslate = 'ktra',
keyAEEditionFileLoc = 'eloc',
keyAEElements = 'elms',
keyAEEndPoint = 'pend',
keyAEEventClass = 'evcl',
keyAEEventID = 'evti',
keyAEFile = 'kfil',
keyAEFileType = 'fltp',
keyAEFillColor = 'flcl',
keyAEFillPattern = 'flpt',
keyAEFlipHorizontal = 'kfho',
keyAEFlipVertical = 'kfvt',
keyAEFont = 'font',
keyAEFormula = 'pfor',
keyAEGraphicObjects = 'gobs',
keyAEID = 'ID ',
keyAEImageQuality = 'gqua',
keyAEInsertHere = 'insh',
keyAEKeyForms = 'keyf'
};
enum {
keyAEKeyword = 'kywd',
keyAELevel = 'levl',
keyAELineArrow = 'arro',
keyAEName = 'pnam',
keyAENewElementLoc = 'pnel',
keyAEObject = 'kobj',
keyAEObjectClass = 'kocl',
keyAEOffStyles = 'ofst',
keyAEOnStyles = 'onst',
keyAEParameters = 'prms',
keyAEParamFlags = 'pmfg',
keyAEPenColor = 'ppcl',
keyAEPenPattern = 'pppa',
keyAEPenWidth = 'ppwd',
keyAEPixelDepth = 'pdpt',
keyAEPixMapMinus = 'kpmm',
keyAEPMTable = 'kpmt',
keyAEPointList = 'ptlt',
keyAEPointSize = 'ptsz',
keyAEPosition = 'kpos'
};
enum {
keyAEPropData = 'prdt',
keyAEProperties = 'qpro',
keyAEProperty = 'kprp',
keyAEPropFlags = 'prfg',
keyAEPropID = 'prop',
keyAEProtection = 'ppro',
keyAERenderAs = 'kren',
keyAERequestedType = 'rtyp',
keyAEResult = '----',
keyAEResultInfo = 'rsin',
keyAERotation = 'prot',
keyAERotPoint = 'krtp',
keyAERowList = 'krls',
keyAESaveOptions = 'savo',
keyAEScale = 'pscl',
keyAEScriptTag = 'psct',
keyAESearchText = 'stxt',
keyAEShowWhere = 'show',
keyAEStartAngle = 'pang',
keyAEStartPoint = 'pstp',
keyAEStyles = 'ksty'
};
enum {
keyAESuiteID = 'suit',
keyAEText = 'ktxt',
keyAETextColor = 'ptxc',
keyAETextFont = 'ptxf',
keyAETextPointSize = 'ptps',
keyAETextStyles = 'txst',
keyAETextLineHeight = 'ktlh',
keyAETextLineAscent = 'ktas',
keyAETheText = 'thtx',
keyAETransferMode = 'pptm',
keyAETranslation = 'ptrs',
keyAETryAsStructGraf = 'toog',
keyAEUniformStyles = 'ustl',
keyAEUpdateOn = 'pupd',
keyAEUserTerm = 'utrm',
keyAEWindow = 'wndw',
keyAEWritingCode = 'wrcd'
};
enum {
keyMiscellaneous = 'fmsc',
keySelection = 'fsel',
keyWindow = 'kwnd',
keyWhen = 'when',
keyWhere = 'wher',
keyModifiers = 'mods',
keyKey = 'key ',
keyKeyCode = 'code',
keyKeyboard = 'keyb',
keyDriveNumber = 'drv#',
keyErrorCode = 'err#',
keyHighLevelClass = 'hcls',
keyHighLevelID = 'hid '
};
enum {
pArcAngle = 'parc',
pBackgroundColor = 'pbcl',
pBackgroundPattern = 'pbpt',
pBestType = 'pbst',
pBounds = 'pbnd',
pClass = 'pcls',
pClipboard = 'pcli',
pColor = 'colr',
pColorTable = 'cltb',
pContents = 'pcnt',
pCornerCurveHeight = 'pchd',
pCornerCurveWidth = 'pcwd',
pDashStyle = 'pdst',
pDefaultType = 'deft',
pDefinitionRect = 'pdrt',
pEnabled = 'enbl',
pEndPoint = 'pend',
pFillColor = 'flcl',
pFillPattern = 'flpt',
pFont = 'font'
};
enum {
pFormula = 'pfor',
pGraphicObjects = 'gobs',
pHasCloseBox = 'hclb',
pHasTitleBar = 'ptit',
pID = 'ID ',
pIndex = 'pidx',
pInsertionLoc = 'pins',
pIsFloating = 'isfl',
pIsFrontProcess = 'pisf',
pIsModal = 'pmod',
pIsModified = 'imod',
pIsResizable = 'prsz',
pIsStationeryPad = 'pspd',
pIsZoomable = 'iszm',
pIsZoomed = 'pzum',
pItemNumber = 'itmn',
pJustification = 'pjst',
pLineArrow = 'arro',
pMenuID = 'mnid',
pName = 'pnam'
};
enum {
pNewElementLoc = 'pnel',
pPenColor = 'ppcl',
pPenPattern = 'pppa',
pPenWidth = 'ppwd',
pPixelDepth = 'pdpt',
pPointList = 'ptlt',
pPointSize = 'ptsz',
pProtection = 'ppro',
pRotation = 'prot',
pScale = 'pscl',
pScript = 'scpt',
pScriptTag = 'psct',
pSelected = 'selc',
pSelection = 'sele',
pStartAngle = 'pang',
pStartPoint = 'pstp',
pTextColor = 'ptxc',
pTextFont = 'ptxf',
pTextItemDelimiters = 'txdl',
pTextPointSize = 'ptps'
};
enum {
pTextStyles = 'txst',
pTransferMode = 'pptm',
pTranslation = 'ptrs',
pUniformStyles = 'ustl',
pUpdateOn = 'pupd',
pUserSelection = 'pusl',
pVersion = 'vers',
pVisible = 'pvis'
};
enum {
typeAEText = 'tTXT',
typeArc = 'carc',
typeBest = 'best',
typeCell = 'ccel',
typeClassInfo = 'gcli',
typeColorTable = 'clrt',
typeColumn = 'ccol',
typeDashStyle = 'tdas',
typeData = 'tdta',
typeDrawingArea = 'cdrw',
typeElemInfo = 'elin',
typeEnumeration = 'enum',
typeEPS = 'EPS ',
typeEventInfo = 'evin'
};
enum {
typeFinderWindow = 'fwin',
typeFixedPoint = 'fpnt',
typeFixedRectangle = 'frct',
typeGraphicLine = 'glin',
typeGraphicText = 'cgtx',
typeGroupedGraphic = 'cpic',
typeInsertionLoc = 'insl',
typeIntlText = 'itxt',
typeIntlWritingCode = 'intl',
typeLongDateTime = 'ldt ',
typeCFAbsoluteTime = 'cfat',
typeISO8601DateTime = 'isot',
typeLongFixed = 'lfxd',
typeLongFixedPoint = 'lfpt',
typeLongFixedRectangle = 'lfrc',
typeLongPoint = 'lpnt',
typeLongRectangle = 'lrct',
typeMachineLoc = 'mLoc',
typeOval = 'covl',
typeParamInfo = 'pmin',
typePict = 'PICT'
};
enum {
typePixelMap = 'cpix',
typePixMapMinus = 'tpmm',
typePolygon = 'cpgn',
typePropInfo = 'pinf',
typePtr = 'ptr ',
typeQDPoint = 'QDpt',
typeQDRegion = 'Qrgn',
typeRectangle = 'crec',
typeRGB16 = 'tr16',
typeRGB96 = 'tr96',
typeRGBColor = 'cRGB',
typeRotation = 'trot',
typeRoundedRectangle = 'crrc',
typeRow = 'crow',
typeScrapStyles = 'styl',
typeScript = 'scpt',
typeStyledText = 'STXT',
typeSuiteInfo = 'suin',
typeTable = 'ctbl',
typeTextStyles = 'tsty'
};
enum {
typeTIFF = 'TIFF',
typeJPEG = 'JPEG',
typeGIF = 'GIFf',
typeVersion = 'vers'
};
enum {
kAEMenuClass = 'menu',
kAEMenuSelect = 'mhit',
kAEMouseDown = 'mdwn',
kAEMouseDownInBack = 'mdbk',
kAEKeyDown = 'kdwn',
kAEResized = 'rsiz',
kAEPromise = 'prom'
};
enum {
keyMenuID = 'mid ',
keyMenuItem = 'mitm',
keyCloseAllWindows = 'caw ',
keyOriginalBounds = 'obnd',
keyNewBounds = 'nbnd',
keyLocalWhere = 'lwhr'
};
enum {
typeHIMenu = 'mobj',
typeHIWindow = 'wobj'
};
enum {
kBySmallIcon = 0,
kByIconView = 1,
kByNameView = 2,
kByDateView = 3,
kBySizeView = 4,
kByKindView = 5,
kByCommentView = 6,
kByLabelView = 7,
kByVersionView = 8
};
enum {
kAEInfo = 11,
kAEMain = 0,
kAESharing = 13
};
enum {
kAEZoomIn = 7,
kAEZoomOut = 8
};
enum {
kTextServiceClass = 'tsvc',
kUpdateActiveInputArea = 'updt',
kShowHideInputWindow = 'shiw',
kPos2Offset = 'p2st',
kOffset2Pos = 'st2p',
kUnicodeNotFromInputMethod = 'unim',
kGetSelectedText = 'gtxt',
keyAETSMDocumentRefcon = 'refc',
keyAEServerInstance = 'srvi',
keyAETheData = 'kdat',
keyAEFixLength = 'fixl',
keyAEUpdateRange = 'udng',
keyAECurrentPoint = 'cpos',
keyAEBufferSize = 'buff',
keyAEMoveView = 'mvvw',
keyAENextBody = 'nxbd',
keyAETSMScriptTag = 'sclg',
keyAETSMTextFont = 'ktxf',
keyAETSMTextFMFont = 'ktxm',
keyAETSMTextPointSize = 'ktps',
keyAETSMEventRecord = 'tevt',
keyAETSMEventRef = 'tevr',
keyAETextServiceEncoding = 'tsen',
keyAETextServiceMacEncoding = 'tmen',
keyAETSMGlyphInfoArray = 'tgia',
typeTextRange = 'txrn',
typeComponentInstance = 'cmpi',
typeOffsetArray = 'ofay',
typeTextRangeArray = 'tray',
typeLowLevelEventRecord = 'evtr',
typeGlyphInfoArray = 'glia',
typeEventRef = 'evrf',
typeText = typeChar
};
enum {
kTSMOutsideOfBody = 1,
kTSMInsideOfBody = 2,
kTSMInsideOfActiveInputArea = 3
};
enum {
kNextBody = 1,
kPreviousBody = 2
};
struct TextRange {
SInt32 fStart;
SInt32 fEnd;
SInt16 fHiliteStyle;
};
typedef struct TextRange TextRange;
typedef TextRange * TextRangePtr;
typedef TextRangePtr * TextRangeHandle;
struct TextRangeArray {
SInt16 fNumOfRanges;
TextRange fRange[1];
};
typedef struct TextRangeArray TextRangeArray;
typedef TextRangeArray * TextRangeArrayPtr;
typedef TextRangeArrayPtr * TextRangeArrayHandle;
struct OffsetArray {
SInt16 fNumOfOffsets;
SInt32 fOffset[1];
};
typedef struct OffsetArray OffsetArray;
typedef OffsetArray * OffsetArrayPtr;
typedef OffsetArrayPtr * OffsetArrayHandle;
struct WritingCode {
ScriptCode theScriptCode;
LangCode theLangCode;
};
typedef struct WritingCode WritingCode;
struct IntlText {
ScriptCode theScriptCode;
LangCode theLangCode;
char theText[1];
};
typedef struct IntlText IntlText;
enum {
kTSMHiliteCaretPosition = 1,
kTSMHiliteRawText = 2,
kTSMHiliteSelectedRawText = 3,
kTSMHiliteConvertedText = 4,
kTSMHiliteSelectedConvertedText = 5,
kTSMHiliteBlockFillText = 6,
kTSMHiliteOutlineText = 7,
kTSMHiliteSelectedText = 8,
kTSMHiliteNoHilite = 9
};
# 744 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h" 3
enum {
keyAEHiliteRange = 'hrng',
keyAEPinRange = 'pnrg',
keyAEClauseOffsets = 'clau',
keyAEOffset = 'ofst',
keyAEPoint = 'gpos',
keyAELeftSide = 'klef',
keyAERegionClass = 'rgnc',
keyAEDragging = 'bool'
};
# 763 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h" 3
enum {
typeMeters = 'metr',
typeInches = 'inch',
typeFeet = 'feet',
typeYards = 'yard',
typeMiles = 'mile',
typeKilometers = 'kmtr',
typeCentimeters = 'cmtr',
typeSquareMeters = 'sqrm',
typeSquareFeet = 'sqft',
typeSquareYards = 'sqyd',
typeSquareMiles = 'sqmi',
typeSquareKilometers = 'sqkm',
typeLiters = 'litr',
typeQuarts = 'qrts',
typeGallons = 'galn',
typeCubicMeters = 'cmet',
typeCubicFeet = 'cfet',
typeCubicInches = 'cuin',
typeCubicCentimeter = 'ccmt',
typeCubicYards = 'cyrd',
typeKilograms = 'kgrm',
typeGrams = 'gram',
typeOunces = 'ozs ',
typePounds = 'lbs ',
typeDegreesC = 'degc',
typeDegreesF = 'degf',
typeDegreesK = 'degk'
};
enum {
kFAServerApp = 'ssrv',
kDoFolderActionEvent = 'fola',
kFolderActionCode = 'actn',
kFolderOpenedEvent = 'fopn',
kFolderClosedEvent = 'fclo',
kFolderWindowMovedEvent = 'fsiz',
kFolderItemsAddedEvent = 'fget',
kFolderItemsRemovedEvent = 'flos',
kItemList = 'flst',
kNewSizeParameter = 'fnsz',
kFASuiteCode = 'faco',
kFAAttachCommand = 'atfa',
kFARemoveCommand = 'rmfa',
kFAEditCommand = 'edfa',
kFAFileParam = 'faal',
kFAIndexParam = 'indx'
};
enum {
kAEInternetSuite = 'gurl',
kAEISWebStarSuite = 0x575757BD
};
enum {
kAEISGetURL = 'gurl',
KAEISHandleCGI = 'sdoc'
};
enum {
cURL = 'url ',
cInternetAddress = 'IPAD',
cHTML = 'html',
cFTPItem = 'ftp '
};
enum {
kAEISHTTPSearchArgs = 'kfor',
kAEISPostArgs = 'post',
kAEISMethod = 'meth',
kAEISClientAddress = 'addr',
kAEISUserName = 'user',
kAEISPassword = 'pass',
kAEISFromUser = 'frmu',
kAEISServerName = 'svnm',
kAEISServerPort = 'svpt',
kAEISScriptName = 'scnm',
kAEISContentType = 'ctyp',
kAEISReferrer = 'refr',
kAEISUserAgent = 'Agnt',
kAEISAction = 'Kact',
kAEISActionPath = 'Kapt',
kAEISClientIP = 'Kcip',
kAEISFullRequest = 'Kfrq'
};
enum {
pScheme = 'pusc',
pHost = 'HOST',
pPath = 'FTPc',
pUserName = 'RAun',
pUserPassword = 'RApw',
pDNSForm = 'pDNS',
pURL = 'pURL',
pTextEncoding = 'ptxe',
pFTPKind = 'kind'
};
enum {
eScheme = 'esch',
eurlHTTP = 'http',
eurlHTTPS = 'htps',
eurlFTP = 'ftp ',
eurlMail = 'mail',
eurlFile = 'file',
eurlGopher = 'gphr',
eurlTelnet = 'tlnt',
eurlNews = 'news',
eurlSNews = 'snws',
eurlNNTP = 'nntp',
eurlMessage = 'mess',
eurlMailbox = 'mbox',
eurlMulti = 'mult',
eurlLaunch = 'laun',
eurlAFP = 'afp ',
eurlAT = 'at ',
eurlEPPC = 'eppc',
eurlRTSP = 'rtsp',
eurlIMAP = 'imap',
eurlNFS = 'unfs',
eurlPOP = 'upop',
eurlLDAP = 'uldp',
eurlUnknown = 'url?'
};
enum {
kConnSuite = 'macc',
cDevSpec = 'cdev',
cAddressSpec = 'cadr',
cADBAddress = 'cadb',
cAppleTalkAddress = 'cat ',
cBusAddress = 'cbus',
cEthernetAddress = 'cen ',
cFireWireAddress = 'cfw ',
cIPAddress = 'cip ',
cLocalTalkAddress = 'clt ',
cSCSIAddress = 'cscs',
cTokenRingAddress = 'ctok',
cUSBAddress = 'cusb',
pDeviceType = 'pdvt',
pDeviceAddress = 'pdva',
pConduit = 'pcon',
pProtocol = 'pprt',
pATMachine = 'patm',
pATZone = 'patz',
pATType = 'patt',
pDottedDecimal = 'pipd',
pDNS = 'pdns',
pPort = 'ppor',
pNetwork = 'pnet',
pNode = 'pnod',
pSocket = 'psoc',
pSCSIBus = 'pscb',
pSCSILUN = 'pslu',
eDeviceType = 'edvt',
eAddressSpec = 'eads',
eConduit = 'econ',
eProtocol = 'epro',
eADB = 'eadb',
eAnalogAudio = 'epau',
eAppleTalk = 'epat',
eAudioLineIn = 'ecai',
eAudioLineOut = 'ecal',
eAudioOut = 'ecao',
eBus = 'ebus',
eCDROM = 'ecd ',
eCommSlot = 'eccm',
eDigitalAudio = 'epda',
eDisplay = 'edds',
eDVD = 'edvd',
eEthernet = 'ecen',
eFireWire = 'ecfw',
eFloppy = 'efd ',
eHD = 'ehd ',
eInfrared = 'ecir',
eIP = 'epip',
eIrDA = 'epir',
eIRTalk = 'epit',
eKeyboard = 'ekbd',
eLCD = 'edlc',
eLocalTalk = 'eclt',
eMacIP = 'epmi',
eMacVideo = 'epmv',
eMicrophone = 'ecmi',
eModemPort = 'ecmp',
eModemPrinterPort = 'empp',
eModem = 'edmm',
eMonitorOut = 'ecmn',
eMouse = 'emou',
eNuBusCard = 'ednb',
eNuBus = 'enub',
ePCcard = 'ecpc',
ePCIbus = 'ecpi',
ePCIcard = 'edpi',
ePDSslot = 'ecpd',
ePDScard = 'epds',
ePointingDevice = 'edpd',
ePostScript = 'epps',
ePPP = 'eppp',
ePrinterPort = 'ecpp',
ePrinter = 'edpr',
eSvideo = 'epsv',
eSCSI = 'ecsc',
eSerial = 'epsr',
eSpeakers = 'edsp',
eStorageDevice = 'edst',
eSVGA = 'epsg',
eTokenRing = 'etok',
eTrackball = 'etrk',
eTrackpad = 'edtp',
eUSB = 'ecus',
eVideoIn = 'ecvi',
eVideoMonitor = 'edvm',
eVideoOut = 'ecvo'
};
enum {
cKeystroke = 'kprs',
pKeystrokeKey = 'kMsg',
pModifiers = 'kMod',
pKeyKind = 'kknd',
eModifiers = 'eMds',
eOptionDown = 'Kopt',
eCommandDown = 'Kcmd',
eControlDown = 'Kctl',
eShiftDown = 'Ksft',
eCapsLockDown = 'Kclk',
eKeyKind = 'ekst',
eEscapeKey = 0x6B733500,
eDeleteKey = 0x6B733300,
eTabKey = 0x6B733000,
eReturnKey = 0x6B732400,
eClearKey = 0x6B734700,
eEnterKey = 0x6B734C00,
eUpArrowKey = 0x6B737E00,
eDownArrowKey = 0x6B737D00,
eLeftArrowKey = 0x6B737B00,
eRightArrowKey = 0x6B737C00,
eHelpKey = 0x6B737200,
eHomeKey = 0x6B737300,
ePageUpKey = 0x6B737400,
ePageDownKey = 0x6B737900,
eForwardDelKey = 0x6B737500,
eEndKey = 0x6B737700,
eF1Key = 0x6B737A00,
eF2Key = 0x6B737800,
eF3Key = 0x6B736300,
eF4Key = 0x6B737600,
eF5Key = 0x6B736000,
eF6Key = 0x6B736100,
eF7Key = 0x6B736200,
eF8Key = 0x6B736400,
eF9Key = 0x6B736500,
eF10Key = 0x6B736D00,
eF11Key = 0x6B736700,
eF12Key = 0x6B736F00,
eF13Key = 0x6B736900,
eF14Key = 0x6B736B00,
eF15Key = 0x6B737100
};
enum {
keyAELaunchedAsLogInItem = 'lgit',
keyAELaunchedAsServiceItem = 'svit'
};
#pragma pack(pop)
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEUserTermTypes.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEUserTermTypes.h" 3
#define __AEUSERTERMTYPES__
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEUserTermTypes.h" 3
#pragma pack(push, 2)
enum {
kAEUserTerminology = 'aeut',
kAETerminologyExtension = 'aete',
kAEScriptingSizeResource = 'scsz',
kAEOSAXSizeResource = 'osiz'
};
enum {
kAEUTHasReturningParam = 31,
kAEUTOptional = 15,
kAEUTlistOfItems = 14,
kAEUTEnumerated = 13,
kAEUTReadWrite = 12,
kAEUTChangesState = 12,
kAEUTTightBindingFunction = 12,
kAEUTEnumsAreTypes = 11,
kAEUTEnumListIsExclusive = 10,
kAEUTReplyIsReference = 9,
kAEUTDirectParamIsReference = 9,
kAEUTParamIsReference = 9,
kAEUTPropertyIsReference = 9,
kAEUTNotDirectParamIsTarget = 8,
kAEUTParamIsTarget = 8,
kAEUTApostrophe = 3,
kAEUTFeminine = 2,
kAEUTMasculine = 1,
kAEUTPlural = 0
};
struct TScriptingSizeResource {
SInt16 scriptingSizeFlags;
UInt32 minStackSize;
UInt32 preferredStackSize;
UInt32 maxStackSize;
UInt32 minHeapSize;
UInt32 preferredHeapSize;
UInt32 maxHeapSize;
};
typedef struct TScriptingSizeResource TScriptingSizeResource;
enum {
kLaunchToGetTerminology = (1 << 15),
kDontFindAppBySignature = (1 << 14),
kAlwaysSendSubject = (1 << 13)
};
enum {
kReadExtensionTermsMask = (1 << 15)
};
enum {
kOSIZDontOpenResourceFile = 15,
kOSIZdontAcceptRemoteEvents = 14,
kOSIZOpenWithReadPermission = 13,
kOSIZCodeInSharedLibraries = 11
};
#pragma pack(pop)
# 46 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 1 3
# 20 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
#define __AEHELPERS__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
#pragma pack(push, 2)
# 63 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
typedef UInt32 AEBuildErrorCode;
enum {
aeBuildSyntaxNoErr = 0,
aeBuildSyntaxBadToken = 1,
aeBuildSyntaxBadEOF = 2,
aeBuildSyntaxNoEOF = 3,
aeBuildSyntaxBadNegative = 4,
aeBuildSyntaxMissingQuote = 5,
aeBuildSyntaxBadHex = 6,
aeBuildSyntaxOddHex = 7,
aeBuildSyntaxNoCloseHex = 8,
aeBuildSyntaxUncoercedHex = 9,
aeBuildSyntaxNoCloseString = 10,
aeBuildSyntaxBadDesc = 11,
aeBuildSyntaxBadData = 12,
aeBuildSyntaxNoCloseParen = 13,
aeBuildSyntaxNoCloseBracket = 14,
aeBuildSyntaxNoCloseBrace = 15,
aeBuildSyntaxNoKey = 16,
aeBuildSyntaxNoColon = 17,
aeBuildSyntaxCoercedList = 18,
aeBuildSyntaxUncoercedDoubleAt = 19
};
struct AEBuildError {
AEBuildErrorCode fError;
UInt32 fErrorPos;
};
typedef struct AEBuildError AEBuildError;
# 109 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEBuildDesc(
AEDesc * dst,
AEBuildError * error,
const char * src,
...) ;
# 129 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
vAEBuildDesc(
AEDesc * dst,
AEBuildError * error,
const char * src,
va_list args) ;
# 150 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEBuildParameters(
AppleEvent * event,
AEBuildError * error,
const char * format,
...) ;
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
vAEBuildParameters(
AppleEvent * event,
AEBuildError * error,
const char * format,
va_list args) ;
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEBuildAppleEvent(
AEEventClass theClass,
AEEventID theID,
DescType addressType,
const void * addressData,
Size addressLength,
SInt16 returnID,
SInt32 transactionID,
AppleEvent * result,
AEBuildError * error,
const char * paramsFmt,
...) ;
# 217 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
vAEBuildAppleEvent(
AEEventClass theClass,
AEEventID theID,
DescType addressType,
const void * addressData,
Size addressLength,
SInt16 returnID,
SInt32 transactionID,
AppleEvent * resultEvt,
AEBuildError * error,
const char * paramsFmt,
va_list args) ;
# 252 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEPrintDescToHandle(
const AEDesc * desc,
Handle * result) ;
# 268 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
typedef struct OpaqueAEStreamRef* AEStreamRef;
# 284 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern AEStreamRef
AEStreamOpen(void) ;
# 304 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamClose(
AEStreamRef ref,
AEDesc * desc) ;
# 325 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamOpenDesc(
AEStreamRef ref,
DescType newType) ;
# 343 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamWriteData(
AEStreamRef ref,
const void * data,
Size length) ;
# 365 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamCloseDesc(AEStreamRef ref) ;
# 381 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamWriteDesc(
AEStreamRef ref,
DescType newType,
const void * data,
Size length) ;
# 401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamWriteAEDesc(
AEStreamRef ref,
const AEDesc * desc) ;
# 422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamOpenList(AEStreamRef ref) ;
# 438 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamCloseList(AEStreamRef ref) ;
# 457 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamOpenRecord(
AEStreamRef ref,
DescType newType) ;
# 475 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamSetRecordType(
AEStreamRef ref,
DescType newType) ;
# 493 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamCloseRecord(AEStreamRef ref) ;
# 512 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamWriteKeyDesc(
AEStreamRef ref,
AEKeyword key,
DescType newType,
const void * data,
Size length) ;
# 536 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamOpenKeyDesc(
AEStreamRef ref,
AEKeyword key,
DescType newType) ;
# 555 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamWriteKey(
AEStreamRef ref,
AEKeyword key) ;
# 577 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern AEStreamRef
AEStreamCreateEvent(
AEEventClass clazz,
AEEventID id,
DescType targetType,
const void * targetData,
Size targetLength,
SInt16 returnID,
SInt32 transactionID) ;
# 607 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern AEStreamRef
AEStreamOpenEvent(AppleEvent * event) ;
# 623 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamOptionalParam(
AEStreamRef ref,
AEKeyword key) ;
#pragma pack(pop)
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
#define __AEMACH__
# 83 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
enum {
keyReplyPortAttr = 'repp'
};
enum {
typeReplyPortAttr = keyReplyPortAttr
};
# 112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
extern mach_port_t
AEGetRegisteredMachPort(void) ;
# 151 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
extern OSStatus
AEDecodeMessage(
mach_msg_header_t * header,
AppleEvent * event,
AppleEvent * reply) ;
# 179 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
extern OSStatus
AEProcessMessage(mach_msg_header_t * header) ;
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
extern OSStatus
AESendMessage(
const AppleEvent * event,
AppleEvent * reply,
AESendMode sendMode,
long timeOutInTicks) ;
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 22 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 3
#define __OSSERVICES__
# 29 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/AppleDiskPartitions.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/AppleDiskPartitions.h" 3
#define __APPLEDISKPARTITIONS__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/AppleDiskPartitions.h" 3
#pragma pack(push, 2)
enum {
sbSIGWord = 0x4552,
sbMac = 1
};
enum {
pMapSIG = 0x504D,
pdSigWord = 0x5453,
oldPMSigWord = pdSigWord,
newPMSigWord = pMapSIG
};
struct Block0 {
UInt16 sbSig;
UInt16 sbBlkSize;
UInt32 sbBlkCount;
UInt16 sbDevType;
UInt16 sbDevId;
UInt32 sbData;
UInt16 sbDrvrCount;
UInt32 ddBlock;
UInt16 ddSize;
UInt16 ddType;
UInt16 ddPad[243];
};
typedef struct Block0 Block0;
struct DDMap {
UInt32 ddBlock;
UInt16 ddSize;
UInt16 ddType;
};
typedef struct DDMap DDMap;
enum {
kDriverTypeMacSCSI = 0x0001,
kDriverTypeMacATA = 0x0701,
kDriverTypeMacSCSIChained = 0xFFFF,
kDriverTypeMacATAChained = 0xF8FF
};
struct Partition {
UInt16 pmSig;
UInt16 pmSigPad;
UInt32 pmMapBlkCnt;
UInt32 pmPyPartStart;
UInt32 pmPartBlkCnt;
UInt8 pmPartName[32];
UInt8 pmParType[32];
UInt32 pmLgDataStart;
UInt32 pmDataCnt;
UInt32 pmPartStatus;
UInt32 pmLgBootStart;
UInt32 pmBootSize;
UInt32 pmBootAddr;
UInt32 pmBootAddr2;
UInt32 pmBootEntry;
UInt32 pmBootEntry2;
UInt32 pmBootCksum;
UInt8 pmProcessor[16];
UInt16 pmPad[188];
};
typedef struct Partition Partition;
enum {
kPartitionAUXIsValid = 0x00000001,
kPartitionAUXIsAllocated = 0x00000002,
kPartitionAUXIsInUse = 0x00000004,
kPartitionAUXIsBootValid = 0x00000008,
kPartitionAUXIsReadable = 0x00000010,
kPartitionAUXIsWriteable = 0x00000020,
kPartitionAUXIsBootCodePositionIndependent = 0x00000040,
kPartitionIsWriteable = 0x00000020,
kPartitionIsMountedAtStartup = 0x40000000,
kPartitionIsStartup = (long)0x80000000,
kPartitionIsChainCompatible = 0x00000100,
kPartitionIsRealDeviceDriver = 0x00000200,
kPartitionCanChainToNext = 0x00000400
};
enum {
kPatchDriverSignature = 'ptDR',
kSCSIDriverSignature = 0x00010600,
kATADriverSignature = 'wiki',
kSCSICDDriverSignature = 'CDvr',
kATAPIDriverSignature = 'ATPI',
kDriveSetupHFSSignature = 'DSU1'
};
#pragma pack(pop)
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
#define __CSIDENTITYAUTHORITY__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
typedef struct __CSIdentityAuthority* CSIdentityAuthorityRef;
# 61 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
extern CFTypeID
CSIdentityAuthorityGetTypeID(void) ;
# 89 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
extern CSIdentityAuthorityRef
CSGetDefaultIdentityAuthority(void) ;
# 112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
extern CSIdentityAuthorityRef
CSGetLocalIdentityAuthority(void) ;
# 140 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
extern CSIdentityAuthorityRef
CSGetManagedIdentityAuthority(void) ;
# 167 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
extern CFStringRef
CSIdentityAuthorityCopyLocalizedName(CSIdentityAuthorityRef authority) ;
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
#define __CSIDENTITY__
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
#define _SECURITY_SECBASE_H_
# 39 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
#define __SEC_TYPES__
typedef struct OpaqueSecKeychainRef *SecKeychainRef;
typedef struct OpaqueSecKeychainItemRef *SecKeychainItemRef;
typedef struct OpaqueSecKeychainSearchRef *SecKeychainSearchRef;
typedef OSType SecKeychainAttrType;
# 72 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
struct SecKeychainAttribute
{
SecKeychainAttrType tag;
UInt32 length;
void *data;
};
typedef struct SecKeychainAttribute SecKeychainAttribute;
typedef SecKeychainAttribute *SecKeychainAttributePtr;
struct SecKeychainAttributeList
{
UInt32 count;
SecKeychainAttribute *attr;
};
typedef struct SecKeychainAttributeList SecKeychainAttributeList;
typedef UInt32 SecKeychainStatus;
typedef struct OpaqueSecTrustedApplicationRef *SecTrustedApplicationRef;
typedef struct OpaqueSecPolicyRef *SecPolicyRef;
typedef struct OpaqueSecCertificateRef *SecCertificateRef;
typedef struct OpaqueSecAccessRef *SecAccessRef;
typedef struct OpaqueSecIdentityRef *SecIdentityRef;
typedef struct OpaqueSecKeyRef *SecKeyRef;
typedef struct OpaqueSecTrustRef *SecACLRef;
typedef struct OpaqueSecPasswordRef *SecPasswordRef;
# 162 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
struct SecKeychainAttributeInfo
{
UInt32 count;
UInt32 *tag;
UInt32 *format;
};
typedef struct SecKeychainAttributeInfo SecKeychainAttributeInfo;
# 177 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
CFStringRef SecCopyErrorMessageString(OSStatus status, void *reserved);
# 236 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
enum
{
errSecNotAvailable = -25291,
errSecReadOnly = -25292,
errSecAuthFailed = -25293,
errSecNoSuchKeychain = -25294,
errSecInvalidKeychain = -25295,
errSecDuplicateKeychain = -25296,
errSecDuplicateCallback = -25297,
errSecInvalidCallback = -25298,
errSecDuplicateItem = -25299,
errSecItemNotFound = -25300,
errSecBufferTooSmall = -25301,
errSecDataTooLarge = -25302,
errSecNoSuchAttr = -25303,
errSecInvalidItemRef = -25304,
errSecInvalidSearchRef = -25305,
errSecNoSuchClass = -25306,
errSecNoDefaultKeychain = -25307,
errSecInteractionNotAllowed = -25308,
errSecReadOnlyAttr = -25309,
errSecWrongSecVersion = -25310,
errSecKeySizeNotAllowed = -25311,
errSecNoStorageModule = -25312,
errSecNoCertificateModule = -25313,
errSecNoPolicyModule = -25314,
errSecInteractionRequired = -25315,
errSecDataNotAvailable = -25316,
errSecDataNotModifiable = -25317,
errSecCreateChainFailed = -25318,
errSecInvalidPrefsDomain = -25319,
errSecACLNotSimple = -25240,
errSecPolicyNotFound = -25241,
errSecInvalidTrustSetting = -25242,
errSecNoAccessForItem = -25243,
errSecInvalidOwnerEdit = -25244,
errSecTrustNotAvailable = -25245,
errSecUnsupportedFormat = -25256,
errSecUnknownFormat = -25257,
errSecKeyIsSensitive = -25258,
errSecMultiplePrivKeys = -25259,
errSecPassphraseRequired = -25260,
errSecInvalidPasswordRef = -25261,
errSecInvalidTrustSettings = -25262,
errSecNoTrustSettings = -25263,
errSecPkcs12VerifyFailure = -25264,
};
# 25 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 1 3
# 31 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
#define _SECURITY_AUTHORIZATION_H_
# 63 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
#define kAuthorizationEmptyEnvironment NULL
# 78 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
enum {
errAuthorizationSuccess = 0,
errAuthorizationInvalidSet = -60001,
errAuthorizationInvalidRef = -60002,
errAuthorizationInvalidTag = -60003,
errAuthorizationInvalidPointer = -60004,
errAuthorizationDenied = -60005,
errAuthorizationCanceled = -60006,
errAuthorizationInteractionNotAllowed = -60007,
errAuthorizationInternal = -60008,
errAuthorizationExternalizeNotAllowed = -60009,
errAuthorizationInternalizeNotAllowed = -60010,
errAuthorizationInvalidFlags = -60011,
errAuthorizationToolExecuteFailure = -60031,
errAuthorizationToolEnvironmentError = -60032,
errAuthorizationBadAddress = -60033,
};
enum {
kAuthorizationFlagDefaults = 0,
kAuthorizationFlagInteractionAllowed = (1 << 0),
kAuthorizationFlagExtendRights = (1 << 1),
kAuthorizationFlagPartialRights = (1 << 2),
kAuthorizationFlagDestroyRights = (1 << 3),
kAuthorizationFlagPreAuthorize = (1 << 4),
kAuthorizationFlagNoData = (1 << 20)
};
typedef UInt32 AuthorizationFlags;
enum {
kAuthorizationFlagCanNotPreAuthorize = (1 << 0)
};
typedef const struct AuthorizationOpaqueRef *AuthorizationRef;
typedef const char *AuthorizationString;
# 156 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
typedef struct {
AuthorizationString name;
size_t valueLength;
void *value;
UInt32 flags;
} AuthorizationItem;
# 171 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
typedef struct {
UInt32 count;
AuthorizationItem *items;
} AuthorizationItemSet;
# 189 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
enum {
kAuthorizationExternalFormLength = 32
};
typedef struct {
char bytes[kAuthorizationExternalFormLength];
} AuthorizationExternalForm;
# 204 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
typedef AuthorizationItemSet AuthorizationRights;
typedef AuthorizationItemSet AuthorizationEnvironment;
# 245 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationCreate(const AuthorizationRights *rights,
const AuthorizationEnvironment *environment,
AuthorizationFlags flags,
AuthorizationRef *authorization);
# 267 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationFree(AuthorizationRef authorization, AuthorizationFlags flags);
# 303 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationCopyRights(AuthorizationRef authorization,
const AuthorizationRights *rights,
const AuthorizationEnvironment *environment,
AuthorizationFlags flags,
AuthorizationRights **authorizedRights);
# 327 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationCopyInfo(AuthorizationRef authorization,
AuthorizationString tag,
AuthorizationItemSet **info);
# 351 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationMakeExternalForm(AuthorizationRef authorization,
AuthorizationExternalForm *extForm);
# 368 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationCreateFromExternalForm(const AuthorizationExternalForm *extForm,
AuthorizationRef *authorization);
# 383 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationFreeItemSet(AuthorizationItemSet *set);
# 403 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationExecuteWithPrivileges(AuthorizationRef authorization,
const char *pathToTool,
AuthorizationFlags options,
char * const *arguments,
FILE **communicationsPipe);
# 418 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationCopyPrivilegedReference(AuthorizationRef *authorization,
AuthorizationFlags flags);
# 29 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 2 3
# 48 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
#pragma pack(push, 2)
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern const CFStringRef kCSIdentityErrorDomain ;
enum {
kCSIdentityUnknownAuthorityErr = -1,
kCSIdentityAuthorityNotAccessibleErr = -2,
kCSIdentityPermissionErr = -3,
kCSIdentityDeletedErr = -4,
kCSIdentityInvalidFullNameErr = -5,
kCSIdentityDuplicateFullNameErr = -6,
kCSIdentityInvalidPosixNameErr = -7,
kCSIdentityDuplicatePosixNameErr = -8
};
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
typedef struct __CSIdentity* CSIdentityRef;
# 155 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
typedef struct __CSIdentityQuery* CSIdentityQueryRef;
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern const CFStringRef kCSIdentityGeneratePosixName ;
# 179 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
enum {
kCSIdentityClassUser = 1,
kCSIdentityClassGroup = 2
};
typedef CFIndex CSIdentityClass;
enum {
kCSIdentityFlagNone = 0,
# 214 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
kCSIdentityFlagHidden = 1
};
typedef CFOptionFlags CSIdentityFlags;
# 235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFTypeID
CSIdentityGetTypeID(void) ;
# 297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CSIdentityRef
CSIdentityCreate(
CFAllocatorRef allocator,
CSIdentityClass identityClass,
CFStringRef fullName,
CFStringRef posixName,
CSIdentityFlags flags,
CSIdentityAuthorityRef authority) ;
# 334 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CSIdentityRef
CSIdentityCreateCopy(
CFAllocatorRef allocator,
CSIdentityRef identity) ;
# 368 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CSIdentityClass
CSIdentityGetClass(CSIdentityRef identity) ;
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CSIdentityAuthorityRef
CSIdentityGetAuthority(CSIdentityRef identity) ;
# 423 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFUUIDRef
CSIdentityGetUUID(CSIdentityRef identity) ;
# 455 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFStringRef
CSIdentityGetFullName(CSIdentityRef identity) ;
# 482 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern id_t
CSIdentityGetPosixID(CSIdentityRef identity) ;
# 515 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFStringRef
CSIdentityGetPosixName(CSIdentityRef identity) ;
# 544 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFStringRef
CSIdentityGetEmailAddress(CSIdentityRef identity) ;
# 574 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFURLRef
CSIdentityGetImageURL(CSIdentityRef identity) ;
# 603 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFDataRef
CSIdentityGetImageData(CSIdentityRef identity) ;
# 632 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFStringRef
CSIdentityGetImageDataType(CSIdentityRef identity) ;
# 667 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFArrayRef
CSIdentityGetAliases(CSIdentityRef identity) ;
# 698 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityIsMemberOfGroup(
CSIdentityRef identity,
CSIdentityRef group) ;
# 727 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityIsHidden(CSIdentityRef identity) ;
# 770 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFDataRef
CSIdentityCreatePersistentReference(
CFAllocatorRef allocator,
CSIdentityRef identity) ;
# 811 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityIsEnabled(CSIdentityRef user) ;
# 841 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityAuthenticateUsingPassword(
CSIdentityRef user,
CFStringRef password) ;
# 876 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern SecCertificateRef
CSIdentityGetCertificate(CSIdentityRef user) ;
# 917 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CSIdentityQueryRef
CSIdentityCreateGroupMembershipQuery(
CFAllocatorRef allocator,
CSIdentityRef group) ;
# 955 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetFullName(
CSIdentityRef identity,
CFStringRef fullName) ;
# 988 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetEmailAddress(
CSIdentityRef identity,
CFStringRef emailAddress) ;
# 1021 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetImageURL(
CSIdentityRef identity,
CFURLRef url) ;
# 1057 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetImageData(
CSIdentityRef identity,
CFDataRef imageData,
CFStringRef imageDataType) ;
# 1090 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityAddAlias(
CSIdentityRef identity,
CFStringRef alias) ;
# 1122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityRemoveAlias(
CSIdentityRef identity,
CFStringRef alias) ;
# 1161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityAddMember(
CSIdentityRef group,
CSIdentityRef member) ;
# 1193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityRemoveMember(
CSIdentityRef group,
CSIdentityRef member) ;
# 1235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetIsEnabled(
CSIdentityRef user,
Boolean isEnabled) ;
# 1271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetPassword(
CSIdentityRef user,
CFStringRef password) ;
# 1307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetCertificate(
CSIdentityRef user,
SecCertificateRef certificate) ;
# 1341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityDelete(CSIdentityRef identity) ;
# 1388 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityCommit(
CSIdentityRef identity,
AuthorizationRef authorization,
CFErrorRef * error) ;
# 1401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
enum {
kCSIdentityCommitCompleted = 1
};
typedef void ( * CSIdentityStatusUpdatedCallback)(CSIdentityRef identity, CFIndex status, CFErrorRef error, void *info);
# 1419 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
struct CSIdentityClientContext {
CFIndex version;
void * info;
# 1440 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
CSIdentityStatusUpdatedCallback statusUpdated;
};
typedef struct CSIdentityClientContext CSIdentityClientContext;
# 1506 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityCommitAsynchronously(
CSIdentityRef identity,
const CSIdentityClientContext * clientContext,
CFRunLoopRef runLoop,
CFStringRef runLoopMode,
AuthorizationRef authorization) ;
# 1538 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityIsCommitting(CSIdentityRef identity) ;
# 1569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityRemoveClient(CSIdentityRef identity) ;
#pragma pack(pop)
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
#define __CSIDENTITYQUERY__
# 36 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
#pragma pack(push, 2)
# 53 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CFTypeID
CSIdentityQueryGetTypeID(void) ;
# 68 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
enum {
kCSIdentityQueryGenerateUpdateEvents = 0x0001,
kCSIdentityQueryIncludeHiddenIdentities = 0x0002
};
typedef CFOptionFlags CSIdentityQueryFlags;
# 95 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
enum {
kCSIdentityQueryStringEquals = 1,
kCSIdentityQueryStringBeginsWith = 2
};
typedef CFIndex CSIdentityQueryStringComparisonMethod;
# 142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreate(
CFAllocatorRef allocator,
CSIdentityClass identityClass,
CSIdentityAuthorityRef authority) ;
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreateForName(
CFAllocatorRef allocator,
CFStringRef name,
CSIdentityQueryStringComparisonMethod comparisonMethod,
CSIdentityClass identityClass,
CSIdentityAuthorityRef authority) ;
# 229 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreateForUUID(
CFAllocatorRef allocator,
CFUUIDRef uuid,
CSIdentityAuthorityRef authority) ;
# 271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreateForPosixID(
CFAllocatorRef allocator,
id_t posixID,
CSIdentityClass identityClass,
CSIdentityAuthorityRef authority) ;
# 310 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreateForPersistentReference(
CFAllocatorRef allocator,
CFDataRef referenceData) ;
# 339 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreateForCurrentUser(CFAllocatorRef allocator) ;
# 370 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CFArrayRef
CSIdentityQueryCopyResults(CSIdentityQueryRef query) ;
# 405 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern Boolean
CSIdentityQueryExecute(
CSIdentityQueryRef query,
CSIdentityQueryFlags flags,
CFErrorRef * error) ;
# 423 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
enum {
kCSIdentityQueryEventSearchPhaseFinished = 1,
kCSIdentityQueryEventResultsAdded = 2,
kCSIdentityQueryEventResultsChanged = 3,
kCSIdentityQueryEventResultsRemoved = 4,
kCSIdentityQueryEventErrorOccurred = 5
};
typedef CFIndex CSIdentityQueryEvent;
# 481 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
typedef void ( * CSIdentityQueryReceiveEventCallback)(CSIdentityQueryRef query, CSIdentityQueryEvent event, CFArrayRef identities, CFErrorRef error, void *info);
struct CSIdentityQueryClientContext {
CFIndex version;
void * info;
CFAllocatorRetainCallBack retainInfo;
CFAllocatorReleaseCallBack releaseInfo;
CFAllocatorCopyDescriptionCallBack copyInfoDescription;
CSIdentityQueryReceiveEventCallback receiveEvent;
};
typedef struct CSIdentityQueryClientContext CSIdentityQueryClientContext;
# 533 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern Boolean
CSIdentityQueryExecuteAsynchronously(
CSIdentityQueryRef query,
CSIdentityQueryFlags flags,
const CSIdentityQueryClientContext * clientContext,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern void
CSIdentityQueryStop(CSIdentityQueryRef query) ;
#pragma pack(pop)
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/IconStorage.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/IconStorage.h" 3
#define __ICONSTORAGE__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/IconStorage.h" 3
#pragma pack(push, 2)
enum {
kIconServices16PixelDataARGB = 'ic04',
kIconServices32PixelDataARGB = 'ic05',
kIconServices48PixelDataARGB = 'ic06',
kIconServices128PixelDataARGB = 'ic07'
};
enum {
kIconServices256PixelDataARGB = 'ic08',
kIconServices512PixelDataARGB = 'ic09',
kThumbnail32BitData = 'it32',
kThumbnail8BitMask = 't8mk'
};
enum {
kHuge1BitMask = 'ich#',
kHuge4BitData = 'ich4',
kHuge8BitData = 'ich8',
kHuge32BitData = 'ih32',
kHuge8BitMask = 'h8mk'
};
enum {
kLarge1BitMask = 'ICN#',
kLarge4BitData = 'icl4',
kLarge8BitData = 'icl8',
kLarge32BitData = 'il32',
kLarge8BitMask = 'l8mk',
kSmall1BitMask = 'ics#',
kSmall4BitData = 'ics4',
kSmall8BitData = 'ics8',
kSmall32BitData = 'is32',
kSmall8BitMask = 's8mk',
kMini1BitMask = 'icm#',
kMini4BitData = 'icm4',
kMini8BitData = 'icm8'
};
enum {
large1BitMask = kLarge1BitMask,
large4BitData = kLarge4BitData,
large8BitData = kLarge8BitData,
small1BitMask = kSmall1BitMask,
small4BitData = kSmall4BitData,
small8BitData = kSmall8BitData,
mini1BitMask = kMini1BitMask,
mini4BitData = kMini4BitData,
mini8BitData = kMini8BitData
};
# 106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/IconStorage.h" 3
enum {
kIconFamilyType = 'icns'
};
struct IconFamilyElement {
OSType elementType;
SInt32 elementSize;
unsigned char elementData[1];
};
typedef struct IconFamilyElement IconFamilyElement;
struct IconFamilyResource {
OSType resourceType;
SInt32 resourceSize;
IconFamilyElement elements[1];
};
typedef struct IconFamilyResource IconFamilyResource;
typedef IconFamilyResource * IconFamilyPtr;
typedef IconFamilyPtr * IconFamilyHandle;
enum {
kTileIconVariant = 'tile',
kRolloverIconVariant = 'over',
kDropIconVariant = 'drop',
kOpenIconVariant = 'open',
kOpenDropIconVariant = 'odrp'
};
#pragma pack(pop)
# 46 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
#define __SYSTEMSOUND__
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
enum {
kSystemSoundNoError = 0,
kSystemSoundUnspecifiedError = -1500,
kSystemSoundClientTimedOutError = -1501
};
typedef UInt32 SystemSoundActionID;
typedef OSStatus ( * SystemSoundCompletionProcPtr)(SystemSoundActionID actionID, void *userData);
typedef SystemSoundCompletionProcPtr SystemSoundCompletionUPP;
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern SystemSoundCompletionUPP
NewSystemSoundCompletionUPP(SystemSoundCompletionProcPtr userRoutine) __attribute__((deprecated));
# 73 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern void
DisposeSystemSoundCompletionUPP(SystemSoundCompletionUPP userUPP) __attribute__((deprecated));
# 84 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern OSStatus
InvokeSystemSoundCompletionUPP(
SystemSoundActionID actionID,
void * userData,
SystemSoundCompletionUPP userUPP) __attribute__((deprecated));
#define NewSystemSoundCompletionUPP(userRoutine) ((SystemSoundCompletionUPP)userRoutine)
#define DisposeSystemSoundCompletionUPP(userUPP)
#define InvokeSystemSoundCompletionUPP(actionID,userData,userUPP) (*userUPP)(actionID, userData)
# 124 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern void
AlertSoundPlay(void) __attribute__((deprecated));
# 153 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern void
AlertSoundPlayCustomSound(SystemSoundActionID inAction) __attribute__((deprecated));
# 183 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern void
SystemSoundPlay(SystemSoundActionID inAction) __attribute__((deprecated));
# 223 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern OSStatus
SystemSoundGetActionID(
const FSRef * userFile,
SystemSoundActionID * outAction) __attribute__((deprecated));
# 256 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern OSStatus
SystemSoundRemoveActionID(SystemSoundActionID inAction) __attribute__((deprecated));
# 304 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern OSStatus
SystemSoundSetCompletionRoutine(
SystemSoundActionID inAction,
CFRunLoopRef inRunLoop,
CFStringRef inRunLoopMode,
SystemSoundCompletionUPP inCompletionRoutine,
void * inUserData) __attribute__((deprecated));
# 340 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern void
SystemSoundRemoveCompletionRoutine(SystemSoundActionID inAction) __attribute__((deprecated));
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
#define __WSTYPES__
# 45 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
#pragma pack(push, 2)
enum {
errWSInternalError = -65793L,
errWSTransportError = -65794L,
errWSParseError = -65795L,
errWSTimeoutError = -65796L
};
# 70 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
enum WSTypeID {
eWSUnknownType = 0,
eWSNullType = 1,
eWSBooleanType = 2,
eWSIntegerType = 3,
eWSDoubleType = 4,
eWSStringType = 5,
eWSDateType = 6,
eWSDataType = 7,
eWSArrayType = 8,
eWSDictionaryType = 9
};
typedef enum WSTypeID WSTypeID;
typedef void * ( * WSClientContextRetainCallBackProcPtr)(void * info);
typedef void ( * WSClientContextReleaseCallBackProcPtr)(void * info);
typedef CFStringRef ( * WSClientContextCopyDescriptionCallBackProcPtr)(void * info);
# 137 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
struct WSClientContext {
CFIndex version;
void * info;
WSClientContextRetainCallBackProcPtr retain;
WSClientContextReleaseCallBackProcPtr release;
WSClientContextCopyDescriptionCallBackProcPtr copyDescription;
};
typedef struct WSClientContext WSClientContext;
# 176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
extern CFStringRef kWSXMLRPCProtocol;
extern CFStringRef kWSSOAP1999Protocol;
extern CFStringRef kWSSOAP2001Protocol;
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
extern WSTypeID
WSGetWSTypeIDFromCFType(CFTypeRef ref);
# 234 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
extern CFTypeID
WSGetCFTypeIDFromWSTypeID(WSTypeID typeID);
#pragma pack(pop)
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
#define __WSMETHODINVOCATION__
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFStringRef kWSMethodInvocationResult;
extern CFStringRef kWSFaultString;
extern CFStringRef kWSFaultCode;
extern CFStringRef kWSFaultExtra;
# 70 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFStringRef kWSNetworkStreamFaultString;
extern CFStringRef kWSStreamErrorMessage;
extern CFStringRef kWSStreamErrorDomain;
extern CFStringRef kWSStreamErrorError;
# 90 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFStringRef kWSHTTPMessage;
extern CFStringRef kWSHTTPResponseMessage;
extern CFStringRef kWSHTTPVersion;
extern CFStringRef kWSHTTPExtraHeaders;
extern CFStringRef kWSHTTPProxy;
extern CFStringRef kWSHTTPFollowsRedirects;
# 114 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFStringRef kWSDebugOutgoingHeaders;
extern CFStringRef kWSDebugOutgoingBody;
extern CFStringRef kWSDebugIncomingHeaders;
extern CFStringRef kWSDebugIncomingBody;
extern CFStringRef kWSSOAPMethodNamespaceURI;
extern CFStringRef kWSSOAPBodyEncodingStyle;
extern CFStringRef kWSSOAPStyleDoc;
extern CFStringRef kWSSOAPStyleRPC;
extern CFStringRef kWSSOAPMessageHeaders;
extern CFStringRef kWSRecordParameterOrder;
extern CFStringRef kWSRecordNamespaceURI;
extern CFStringRef kWSRecordType;
extern CFStringRef kWSMethodInvocationResultParameterName;
extern CFStringRef kWSMethodInvocationTimeoutValue;
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
typedef struct OpaqueWSMethodInvocationRef* WSMethodInvocationRef;
# 196 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFTypeID
WSMethodInvocationGetTypeID(void);
# 233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern WSMethodInvocationRef
WSMethodInvocationCreate(
CFURLRef url,
CFStringRef methodName,
CFStringRef protocol);
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern WSMethodInvocationRef
WSMethodInvocationCreateFromSerialization(CFDataRef contract);
# 293 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFDataRef
WSMethodInvocationCopySerialization(WSMethodInvocationRef invocation);
# 329 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationSetParameters(
WSMethodInvocationRef invocation,
CFDictionaryRef parameters,
CFArrayRef parameterOrder);
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFDictionaryRef
WSMethodInvocationCopyParameters(
WSMethodInvocationRef invocation,
CFArrayRef * parameterOrder);
# 406 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationSetProperty(
WSMethodInvocationRef invocation,
CFStringRef propertyName,
CFTypeRef propertyValue);
# 442 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFTypeRef
WSMethodInvocationCopyProperty(
WSMethodInvocationRef invocation,
CFStringRef propertyName);
# 476 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFDictionaryRef
WSMethodInvocationInvoke(WSMethodInvocationRef invocation);
# 526 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
typedef void ( * WSMethodInvocationCallBackProcPtr)(WSMethodInvocationRef invocation, void *info, CFDictionaryRef outRef);
# 554 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationSetCallBack(
WSMethodInvocationRef invocation,
WSMethodInvocationCallBackProcPtr clientCB,
WSClientContext * context);
# 587 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationScheduleWithRunLoop(
WSMethodInvocationRef invocation,
CFRunLoopRef runLoop,
CFStringRef runLoopMode);
# 623 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationUnscheduleFromRunLoop(
WSMethodInvocationRef invocation,
CFRunLoopRef runLoop,
CFStringRef runLoopMode);
# 662 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern Boolean
WSMethodResultIsFault(CFDictionaryRef methodResult);
# 701 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
typedef CFStringRef ( * WSMethodInvocationSerializationProcPtr)(WSMethodInvocationRef invocation, CFTypeRef obj, void *info);
# 734 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationAddSerializationOverride(
WSMethodInvocationRef invocation,
CFTypeID objType,
WSMethodInvocationSerializationProcPtr serializationProc,
WSClientContext * context);
# 773 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
typedef CFTypeRef ( * WSMethodInvocationDeserializationProcPtr)(WSMethodInvocationRef invocation, CFXMLTreeRef msgRoot, CFXMLTreeRef deserializeRoot, void *info);
# 810 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationAddDeserializationOverride(
WSMethodInvocationRef invocation,
CFStringRef typeNamespace,
CFStringRef typeName,
WSMethodInvocationDeserializationProcPtr deserializationProc,
WSClientContext * context);
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
#define __WSPROTOCOLHANDLER__
# 63 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
typedef struct OpaqueWSProtocolHandlerRef* WSProtocolHandlerRef;
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFTypeID
WSProtocolHandlerGetTypeID(void);
# 107 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern WSProtocolHandlerRef
WSProtocolHandlerCreate(
CFAllocatorRef allocator,
CFStringRef protocol);
# 149 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFDictionaryRef
WSProtocolHandlerCopyRequestDictionary(
WSProtocolHandlerRef ref,
CFDataRef data);
# 189 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFDictionaryRef
WSProtocolHandlerCopyReplyDictionary(
WSProtocolHandlerRef ref,
CFStringRef methodName,
CFDataRef data);
# 227 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFDataRef
WSProtocolHandlerCopyReplyDocument(
WSProtocolHandlerRef ref,
CFDictionaryRef methodContext,
CFTypeRef resultValue);
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFDataRef
WSProtocolHandlerCopyFaultDocument(
WSProtocolHandlerRef ref,
CFDictionaryRef methodContext,
CFDictionaryRef faultDict);
# 309 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFDataRef
WSProtocolHandlerCopyRequestDocument(
WSProtocolHandlerRef ref,
CFStringRef methodName,
CFDictionaryRef methodParams,
CFArrayRef methodParamOrder,
CFDictionaryRef methodExtras);
# 347 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFTypeRef
WSProtocolHandlerCopyProperty(
WSProtocolHandlerRef ref,
CFStringRef propertyName);
# 378 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern void
WSProtocolHandlerSetProperty(
WSProtocolHandlerRef ref,
CFStringRef propertyName,
CFTypeRef propertyValue);
# 421 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
typedef CFStringRef ( * WSProtocolHandlerSerializationProcPtr)(WSProtocolHandlerRef protocol, CFTypeRef obj, void *info);
# 454 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern void
WSProtocolHandlerSetSerializationOverride(
WSProtocolHandlerRef protocol,
CFTypeID objType,
WSProtocolHandlerSerializationProcPtr serializationProc,
WSClientContext * context);
# 494 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
typedef CFTypeRef ( * WSProtocolHandlerDeserializationProcPtr)(WSProtocolHandlerRef protocol, CFXMLTreeRef msgRoot, CFXMLTreeRef deserializeRoot, void *info);
# 531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern void
WSProtocolHandlerSetDeserializationOverride(
WSProtocolHandlerRef protocol,
CFStringRef typeNamespace,
CFStringRef typeName,
WSProtocolHandlerDeserializationProcPtr deserializationProc,
WSClientContext * context);
#define kWSMethodName CFSTR("/WSMethodName")
#define kWSMethodParameters CFSTR("/WSMethodParameters")
#define kWSMethodParameterOrder CFSTR("/WSMethodParameterOrder")
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
#define __POWER__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
#pragma pack(push, 2)
enum {
kSleepRequest = 1,
kSleepDemand = 2,
kSleepWakeUp = 3,
kSleepRevoke = 4,
kSleepUnlock = 4,
kSleepDeny = 5,
kSleepNow = 6,
kDozeDemand = 7,
kDozeWakeUp = 8,
kDozeRequest = 9,
kEnterStandby = 10,
kEnterRun = 11,
kSuspendRequest = 12,
kSuspendDemand = 13,
kSuspendRevoke = 14,
kSuspendWakeUp = 15,
kGetPowerLevel = 16,
kSetPowerLevel = 17,
kDeviceInitiatedWake = 18,
kWakeToDoze = 19,
kDozeToFullWakeUp = 20,
kGetPowerInfo = 21,
kGetWakeOnNetInfo = 22,
kSuspendWakeToDoze = 23,
kEnterIdle = 24,
kStillIdle = 25,
kExitIdle = 26
};
enum {
noCalls = 1,
noRequest = 2,
slpQType = 16,
sleepQType = 16
};
# 95 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
enum {
OverallAct = 0,
UsrActivity = 1,
NetActivity = 2,
HDActivity = 3,
IdleActivity = 4
};
typedef struct SleepQRec SleepQRec;
typedef SleepQRec * SleepQRecPtr;
typedef long ( * SleepQProcPtr)(long message, SleepQRecPtr qRecPtr);
typedef SleepQProcPtr SleepQUPP;
# 115 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern SleepQUPP
NewSleepQUPP(SleepQProcPtr userRoutine) ;
# 126 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
DisposeSleepQUPP(SleepQUPP userUPP) ;
# 137 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern long
InvokeSleepQUPP(
long message,
SleepQRecPtr qRecPtr,
SleepQUPP userUPP) ;
#define NewSleepQUPP(userRoutine) ((SleepQUPP)userRoutine)
#define DisposeSleepQUPP(userUPP)
#define InvokeSleepQUPP(message,qRecPtr,userUPP) (*userUPP)(message, qRecPtr)
struct SleepQRec {
SleepQRecPtr sleepQLink;
short sleepQType;
SleepQUPP sleepQProc;
short sleepQFlags;
};
# 177 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern long
GetCPUSpeed(void) ;
# 197 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SleepQInstall(SleepQRecPtr qRecPtr) ;
# 217 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SleepQRemove(SleepQRecPtr qRecPtr) ;
# 236 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern short
MaximumProcessorSpeed(void) ;
# 256 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern short
MinimumProcessorSpeed(void) ;
# 278 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern short
CurrentProcessorSpeed(void) ;
# 296 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern short
BatteryCount(void) ;
# 343 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
UpdateSystemActivity(UInt8 activity) ;
# 356 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
enum {
kMediaModeOn = 0,
kMediaModeStandBy = 1,
kMediaModeSuspend = 2,
kMediaModeOff = 3
};
enum {
kMediaPowerCSCode = 70
};
enum {
kHDQueuePostBit = 0,
kHDQueuePostMask = (1 << kHDQueuePostBit)
};
struct ActivityInfo {
short ActivityType;
unsigned long ActivityTime;
};
typedef struct ActivityInfo ActivityInfo;
struct BatteryInfo {
UInt8 flags;
UInt8 warningLevel;
UInt8 reserved;
UInt8 batteryLevel;
};
typedef struct BatteryInfo BatteryInfo;
typedef SInt8 ModemByte;
typedef SInt8 BatteryByte;
typedef SInt8 SoundMixerByte;
typedef long PMResultCode;
enum {
sleepRequest = kSleepRequest,
sleepDemand = kSleepDemand,
sleepWakeUp = kSleepWakeUp,
sleepRevoke = kSleepRevoke,
sleepUnlock = kSleepUnlock,
sleepDeny = kSleepDeny,
sleepNow = kSleepNow,
dozeDemand = kDozeDemand,
dozeWakeUp = kDozeWakeUp,
dozeRequest = kDozeRequest,
enterStandby = kEnterStandby,
enterRun = kEnterRun,
suspendRequestMsg = kSuspendRequest,
suspendDemandMsg = kSuspendDemand,
suspendRevokeMsg = kSuspendRevoke,
suspendWakeUpMsg = kSuspendWakeUp,
getPowerLevel = kGetPowerLevel,
setPowerLevel = kSetPowerLevel
};
typedef UInt32 PowerLevel;
enum {
kPMDevicePowerLevel_On = 0,
kPMDevicePowerLevel_D1 = 1,
kPMDevicePowerLevel_D2 = 2,
kPMDevicePowerLevel_Off = 3
};
typedef unsigned long RegEntryID;
typedef OSStatus ( * PowerHandlerProcPtr)(UInt32 message, void *param, UInt32 refCon, RegEntryID *regEntryID);
typedef PowerHandlerProcPtr PowerHandlerUPP;
# 457 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
enum {
modemOnBit = 0,
ringWakeUpBit = 2,
modemInstalledBit = 3,
ringDetectBit = 4,
modemOnHookBit = 5
};
enum {
modemOnMask = 0x01,
ringWakeUpMask = 0x04,
modemInstalledMask = 0x08,
ringDetectMask = 0x10,
modemOnHookMask = 0x20
};
enum {
chargerConnBit = 0,
hiChargeBit = 1,
chargeOverFlowBit = 2,
batteryDeadBit = 3,
batteryLowBit = 4,
connChangedBit = 5
};
enum {
chargerConnMask = 0x01,
hiChargeMask = 0x02,
chargeOverFlowMask = 0x04,
batteryDeadMask = 0x08,
batteryLowMask = 0x10,
connChangedMask = 0x20
};
enum {
MediaBaySndEnBit = 0,
PCISndEnBit = 1,
ZVSndEnBit = 2,
PCCardSndEnBit = 3
};
enum {
MediaBaySndEnMask = 0x01,
PCISndEnMask = 0x02,
ZVSndEnMask = 0x04,
PCCardSndEnMask = 0x08
};
enum {
kAEMacPowerMgtEvt = 'pmgt',
kAEMacToWake = 'wake',
kAEMacLowPowerSaveData = 'pmsd',
kAEMacEmergencySleep = 'emsl',
kAEMacEmergencyShutdown = 'emsd'
};
enum {
kDeviceDidNotWakeMachine = 0,
kDeviceRequestsFullWake = 1,
kDeviceRequestsWakeToDoze = 2
};
enum {
hasWakeupTimer = 0,
hasSharedModemPort = 1,
hasProcessorCycling = 2,
mustProcessorCycle = 3,
hasReducedSpeed = 4,
dynamicSpeedChange = 5,
hasSCSIDiskMode = 6,
canGetBatteryTime = 7,
canWakeupOnRing = 8,
hasDimmingSupport = 9,
hasStartupTimer = 10,
hasChargeNotification = 11,
hasDimSuspendSupport = 12,
hasWakeOnNetActivity = 13,
hasWakeOnLid = 14,
canPowerOffPCIBus = 15,
hasDeepSleep = 16,
hasSleep = 17,
supportsServerModeAPIs = 18,
supportsUPSIntegration = 19,
hasAggressiveIdling = 20,
supportsIdleQueue = 21
};
enum {
hasInternalModem = 0,
intModemRingDetect = 1,
intModemOffHook = 2,
intModemRingWakeEnb = 3,
extModemSelected = 4,
modemSetBit = 15
};
enum {
batteryInstalled = 7,
batteryCharging = 6,
chargerConnected = 5,
upsConnected = 4,
upsIsPowerSource = 3
};
enum {
HDPwrQType = 0x4844,
PMgrStateQType = 0x504D
};
enum {
pmSleepTimeoutChanged = 0,
pmSleepEnableChanged = 1,
pmHardDiskTimeoutChanged = 2,
pmHardDiskSpindownChanged = 3,
pmDimmingTimeoutChanged = 4,
pmDimmingEnableChanged = 5,
pmDiskModeAddressChanged = 6,
pmProcessorCyclingChanged = 7,
pmProcessorSpeedChanged = 8,
pmWakeupTimerChanged = 9,
pmStartupTimerChanged = 10,
pmHardDiskPowerRemovedbyUser = 11,
pmChargeStatusChanged = 12,
pmPowerLevelChanged = 13,
pmWakeOnNetActivityChanged = 14
};
enum {
pmSleepTimeoutChangedMask = (1 << pmSleepTimeoutChanged),
pmSleepEnableChangedMask = (1 << pmSleepEnableChanged),
pmHardDiskTimeoutChangedMask = (1 << pmHardDiskTimeoutChanged),
pmHardDiskSpindownChangedMask = (1 << pmHardDiskSpindownChanged),
pmDimmingTimeoutChangedMask = (1 << pmDimmingTimeoutChanged),
pmDimmingEnableChangedMask = (1 << pmDimmingEnableChanged),
pmDiskModeAddressChangedMask = (1 << pmDiskModeAddressChanged),
pmProcessorCyclingChangedMask = (1 << pmProcessorCyclingChanged),
pmProcessorSpeedChangedMask = (1 << pmProcessorSpeedChanged),
pmWakeupTimerChangedMask = (1 << pmWakeupTimerChanged),
pmStartupTimerChangedMask = (1 << pmStartupTimerChanged),
pmHardDiskPowerRemovedbyUserMask = (1 << pmHardDiskPowerRemovedbyUser),
pmChargeStatusChangedMask = (1 << pmChargeStatusChanged),
pmPowerLevelChangedMask = (1 << pmPowerLevelChanged),
pmWakeOnNetActivityChangedMask = (1 << pmWakeOnNetActivityChanged)
};
#define kIdleQueueDeviceType "idle-queue"
enum {
kUseDefaultMinimumWakeTime = 0,
kPowerSummaryVersion = 1,
kDevicePowerInfoVersion = 1
};
enum {
kPCIPowerOffAllowed = (1L << 0)
};
enum {
kDevicePCIPowerOffAllowed = (1L << 0),
kDeviceSupportsPMIS = (1L << 1),
kDeviceCanAssertPMEDuringSleep = (1L << 2),
kDeviceUsesCommonLogicPower = (1L << 3),
kDeviceDriverPresent = (1L << 4),
kDeviceDriverSupportsPowerMgt = (1L << 5)
};
struct DevicePowerInfo {
UInt32 version;
RegEntryID regID;
OptionBits flags;
UInt32 minimumWakeTime;
UInt32 sleepPowerNeeded;
};
typedef struct DevicePowerInfo DevicePowerInfo;
struct PowerSummary {
UInt32 version;
OptionBits flags;
UInt32 sleepPowerAvailable;
UInt32 sleepPowerNeeded;
UInt32 minimumWakeTime;
ItemCount deviceCount;
DevicePowerInfo devices[1];
};
typedef struct PowerSummary PowerSummary;
typedef struct HDQueueElement HDQueueElement;
typedef struct PMgrQueueElement PMgrQueueElement;
typedef void ( * HDSpindownProcPtr)(HDQueueElement * theElement);
typedef void ( * PMgrStateChangeProcPtr)(PMgrQueueElement *theElement, long stateBits);
typedef HDSpindownProcPtr HDSpindownUPP;
typedef PMgrStateChangeProcPtr PMgrStateChangeUPP;
struct HDQueueElement {
struct HDQueueElement * hdQLink;
short hdQType;
short hdFlags;
HDSpindownUPP hdProc;
long hdUser;
};
struct PMgrQueueElement {
struct PMgrQueueElement * pmQLink;
short pmQType;
short pmFlags;
long pmNotifyBits;
PMgrStateChangeUPP pmProc;
long pmUser;
};
struct BatteryTimeRec {
unsigned long expectedBatteryTime;
unsigned long minimumBatteryTime;
unsigned long maximumBatteryTime;
unsigned long timeUntilCharged;
};
typedef struct BatteryTimeRec BatteryTimeRec;
struct WakeupTime {
unsigned long wakeTime;
Boolean wakeEnabled;
SInt8 filler;
};
typedef struct WakeupTime WakeupTime;
struct StartupTime {
unsigned long startTime;
Boolean startEnabled;
SInt8 filler;
};
typedef struct StartupTime StartupTime;
# 720 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SetSpindownDisable(Boolean setDisable) __attribute__((deprecated));
# 732 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern short
PMSelectorCount(void) __attribute__((deprecated));
# 744 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern UInt32
PMFeatures(void) __attribute__((deprecated));
# 756 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern Boolean
SetProcessorSpeed(Boolean fullSpeed) __attribute__((deprecated));
# 768 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern Boolean
FullProcessorSpeed(void) __attribute__((deprecated));
# 781 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
DisableWUTime(void) __attribute__((deprecated));
# 793 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
SetWUTime(long wuTime) __attribute__((deprecated));
# 808 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
GetWUTime(
long * wuTime,
Byte * wuFlag) __attribute__((deprecated));
# 822 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
BatteryStatus(
Byte * status,
Byte * power) __attribute__((deprecated));
# 836 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
ModemStatus(Byte * status) __attribute__((deprecated));
# 856 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern long
IdleUpdate(void) __attribute__((deprecated));
# 873 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
EnableIdle(void) __attribute__((deprecated));
# 890 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
DisableIdle(void) __attribute__((deprecated));
# 907 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
AOn(void) __attribute__((deprecated));
# 924 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
AOnIgnoreModem(void) __attribute__((deprecated));
# 941 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
BOn(void) __attribute__((deprecated));
# 958 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
AOff(void) __attribute__((deprecated));
# 975 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
BOff(void) __attribute__((deprecated));
# 989 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern UInt8
GetSleepTimeout(void) __attribute__((deprecated));
# 1001 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SetSleepTimeout(UInt8 timeout) __attribute__((deprecated));
# 1013 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern UInt8
GetHardDiskTimeout(void) __attribute__((deprecated));
# 1025 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SetHardDiskTimeout(UInt8 timeout) __attribute__((deprecated));
# 1037 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern Boolean
HardDiskPowered(void) __attribute__((deprecated));
# 1049 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SpinDownHardDisk(void) __attribute__((deprecated));
# 1061 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern Boolean
IsSpindownDisabled(void) __attribute__((deprecated));
# 1073 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
HardDiskQInstall(HDQueueElement * theElement) __attribute__((deprecated));
# 1085 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
HardDiskQRemove(HDQueueElement * theElement) __attribute__((deprecated));
# 1097 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
GetScaledBatteryInfo(
short whichBattery,
BatteryInfo * theInfo) __attribute__((deprecated));
# 1111 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
AutoSleepControl(Boolean enableSleep) __attribute__((deprecated));
# 1123 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern UInt32
GetIntModemInfo(void) __attribute__((deprecated));
# 1135 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SetIntModemState(short theState) __attribute__((deprecated));
# 1147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern short
GetSCSIDiskModeAddress(void) __attribute__((deprecated));
# 1159 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SetSCSIDiskModeAddress(short scsiAddress) __attribute__((deprecated));
# 1171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
GetWakeupTimer(WakeupTime * theTime) __attribute__((deprecated));
# 1183 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SetWakeupTimer(WakeupTime * theTime) __attribute__((deprecated));
# 1195 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern Boolean
IsProcessorCyclingEnabled(void) __attribute__((deprecated));
# 1207 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
EnableProcessorCycling(Boolean enable) __attribute__((deprecated));
# 1219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern Fixed
GetBatteryVoltage(short whichBattery) __attribute__((deprecated));
# 1231 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
GetBatteryTimes(
short whichBattery,
BatteryTimeRec * theTimes) __attribute__((deprecated));
# 1245 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern UInt8
GetDimmingTimeout(void) __attribute__((deprecated));
# 1257 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SetDimmingTimeout(UInt8 timeout) __attribute__((deprecated));
# 1269 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
DimmingControl(Boolean enableSleep) __attribute__((deprecated));
# 1281 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern Boolean
IsDimmingControlDisabled(void) __attribute__((deprecated));
# 1293 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern Boolean
IsAutoSlpControlDisabled(void) __attribute__((deprecated));
# 1305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
PMgrStateQInstall(PMgrQueueElement * theElement) __attribute__((deprecated));
# 1317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
PMgrStateQRemove(PMgrQueueElement * theElement) __attribute__((deprecated));
# 1329 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
DelaySystemIdle(void) __attribute__((deprecated));
# 1341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
GetStartupTimer(StartupTime * theTime) __attribute__((deprecated));
# 1353 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
SetStartupTimer(StartupTime * theTime) __attribute__((deprecated));
# 1365 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
GetLastActivity(ActivityInfo * theActivity) __attribute__((deprecated));
# 1377 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
GetSoundMixerState(SoundMixerByte * theSoundMixerByte) __attribute__((deprecated));
# 1389 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern OSErr
SetSoundMixerState(SoundMixerByte * theSoundMixerByte) __attribute__((deprecated));
# 1401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern Boolean
GetDimSuspendState(void) __attribute__((deprecated));
# 1413 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
SetDimSuspendState(Boolean dimSuspendState) __attribute__((deprecated));
# 1428 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern HDSpindownUPP
NewHDSpindownUPP(HDSpindownProcPtr userRoutine) ;
# 1439 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern PMgrStateChangeUPP
NewPMgrStateChangeUPP(PMgrStateChangeProcPtr userRoutine) ;
# 1450 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
DisposeHDSpindownUPP(HDSpindownUPP userUPP) ;
# 1461 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
DisposePMgrStateChangeUPP(PMgrStateChangeUPP userUPP) ;
# 1472 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
InvokeHDSpindownUPP(
HDQueueElement * theElement,
HDSpindownUPP userUPP) ;
# 1485 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
extern void
InvokePMgrStateChangeUPP(
PMgrQueueElement * theElement,
long stateBits,
PMgrStateChangeUPP userUPP) ;
# 1500 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h" 3
#define NewHDSpindownUPP(userRoutine) ((HDSpindownUPP)userRoutine)
#define NewPMgrStateChangeUPP(userRoutine) ((PMgrStateChangeUPP)userRoutine)
#define DisposeHDSpindownUPP(userUPP)
#define DisposePMgrStateChangeUPP(userUPP)
#define InvokeHDSpindownUPP(theElement,userUPP) (*userUPP)(theElement)
#define InvokePMgrStateChangeUPP(theElement,stateBits,userUPP) (*userUPP)(theElement, stateBits)
#pragma pack(pop)
# 68 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
#define __SCSI__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
#pragma pack(push, 2)
enum {
scInc = 1,
scNoInc = 2,
scAdd = 3,
scMove = 4,
scLoop = 5,
scNop = 6,
scStop = 7,
scComp = 8
};
struct SCSIInstr {
unsigned short scOpcode;
long scParam1;
long scParam2;
};
typedef struct SCSIInstr SCSIInstr;
# 192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
enum {
scsiVERSION = 43
};
typedef void ( * SCSICallbackProcPtr)(void * scsiPB);
typedef SCSICallbackProcPtr SCSICallbackUPP;
# 210 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
extern SCSICallbackUPP
NewSCSICallbackUPP(SCSICallbackProcPtr userRoutine) __attribute__((deprecated));
# 221 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
extern void
DisposeSCSICallbackUPP(SCSICallbackUPP userUPP) __attribute__((deprecated));
# 232 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
extern void
InvokeSCSICallbackUPP(
void * scsiPB,
SCSICallbackUPP userUPP) __attribute__((deprecated));
#define NewSCSICallbackUPP(userRoutine) ((SCSICallbackUPP)userRoutine)
#define DisposeSCSICallbackUPP(userUPP)
#define InvokeSCSICallbackUPP(scsiPB,userUPP) (*userUPP)(scsiPB)
# 254 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
enum {
SCSINop = 0x00,
SCSIExecIO = 0x01,
SCSIBusInquiry = 0x03,
SCSIReleaseQ = 0x04,
SCSIAbortCommand = 0x10,
SCSIResetBus = 0x11,
SCSIResetDevice = 0x12,
SCSITerminateIO = 0x13
};
enum {
vendorUnique = 0xC0
};
enum {
handshakeDataLength = 8,
maxCDBLength = 16,
vendorIDLength = 16
};
struct DeviceIdent {
UInt8 diReserved;
UInt8 bus;
UInt8 targetID;
UInt8 LUN;
};
typedef struct DeviceIdent DeviceIdent;
enum {
kBusTypeSCSI = 0,
kBusTypeATA = 1,
kBusTypePCMCIA = 2,
kBusTypeMediaBay = 3
};
struct DeviceIdentATA {
UInt8 diReserved;
UInt8 busNum;
UInt8 devNum;
UInt8 diReserved2;
};
typedef struct DeviceIdentATA DeviceIdentATA;
union CDB {
BytePtr cdbPtr;
UInt8 cdbBytes[16];
};
typedef union CDB CDB;
typedef CDB * CDBPtr;
struct SGRecord {
Ptr SGAddr;
UInt32 SGCount;
};
typedef struct SGRecord SGRecord;
#define SCSIPBHdr struct SCSIHdr* qLink; short scsiReserved1; UInt16 scsiPBLength; UInt8 scsiFunctionCode; UInt8 scsiReserved2; volatile OSErr scsiResult; DeviceIdent scsiDevice; SCSICallbackUPP scsiCompletion; UInt32 scsiFlags; UInt8 * scsiDriverStorage; Ptr scsiXPTprivate; long scsiReserved3;
# 338 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
struct SCSIHdr {
struct SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
BytePtr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
};
typedef struct SCSIHdr SCSIHdr;
struct SCSI_PB {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
BytePtr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
};
typedef struct SCSI_PB SCSI_PB;
struct SCSI_IO {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
BytePtr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
UInt16 scsiResultFlags;
UInt16 scsiReserved3pt5;
BytePtr scsiDataPtr;
UInt32 scsiDataLength;
BytePtr scsiSensePtr;
UInt8 scsiSenseLength;
UInt8 scsiCDBLength;
UInt16 scsiSGListCount;
UInt32 scsiReserved4;
UInt8 scsiSCSIstatus;
SInt8 scsiSenseResidual;
UInt16 scsiReserved5;
long scsiDataResidual;
CDB scsiCDB;
long scsiTimeout;
BytePtr scsiReserved5pt5;
UInt16 scsiReserved5pt6;
UInt16 scsiIOFlags;
UInt8 scsiTagAction;
UInt8 scsiReserved6;
UInt16 scsiReserved7;
UInt16 scsiSelectTimeout;
UInt8 scsiDataType;
UInt8 scsiTransferType;
UInt32 scsiReserved8;
UInt32 scsiReserved9;
UInt16 scsiHandshake[8];
UInt32 scsiReserved10;
UInt32 scsiReserved11;
struct SCSI_IO * scsiCommandLink;
UInt8 scsiSIMpublics[8];
UInt8 scsiAppleReserved6[8];
UInt16 scsiCurrentPhase;
short scsiSelector;
OSErr scsiOldCallResult;
UInt8 scsiSCSImessage;
UInt8 XPTprivateFlags;
UInt8 XPTextras[12];
};
typedef struct SCSI_IO SCSI_IO;
typedef SCSI_IO SCSIExecIOPB;
struct SCSIBusInquiryPB {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
BytePtr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
UInt16 scsiEngineCount;
UInt16 scsiMaxTransferType;
UInt32 scsiDataTypes;
UInt16 scsiIOpbSize;
UInt16 scsiMaxIOpbSize;
UInt32 scsiFeatureFlags;
UInt8 scsiVersionNumber;
UInt8 scsiHBAInquiry;
UInt8 scsiTargetModeFlags;
UInt8 scsiScanFlags;
UInt32 scsiSIMPrivatesPtr;
UInt32 scsiSIMPrivatesSize;
UInt32 scsiAsyncFlags;
UInt8 scsiHiBusID;
UInt8 scsiInitiatorID;
UInt16 scsiBIReserved0;
UInt32 scsiBIReserved1;
UInt32 scsiFlagsSupported;
UInt16 scsiIOFlagsSupported;
UInt16 scsiWeirdStuff;
UInt16 scsiMaxTarget;
UInt16 scsiMaxLUN;
char scsiSIMVendor[16];
char scsiHBAVendor[16];
char scsiControllerFamily[16];
char scsiControllerType[16];
char scsiXPTversion[4];
char scsiSIMversion[4];
char scsiHBAversion[4];
UInt8 scsiHBAslotType;
UInt8 scsiHBAslotNumber;
UInt16 scsiSIMsRsrcID;
UInt16 scsiBIReserved3;
UInt16 scsiAdditionalLength;
};
typedef struct SCSIBusInquiryPB SCSIBusInquiryPB;
struct SCSIAbortCommandPB {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
BytePtr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
SCSI_IO * scsiIOptr;
};
typedef struct SCSIAbortCommandPB SCSIAbortCommandPB;
struct SCSITerminateIOPB {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
BytePtr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
SCSI_IO * scsiIOptr;
};
typedef struct SCSITerminateIOPB SCSITerminateIOPB;
struct SCSIResetBusPB {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
BytePtr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
};
typedef struct SCSIResetBusPB SCSIResetBusPB;
struct SCSIResetDevicePB {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
BytePtr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
};
typedef struct SCSIResetDevicePB SCSIResetDevicePB;
struct SCSIReleaseQPB {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
BytePtr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
};
typedef struct SCSIReleaseQPB SCSIReleaseQPB;
struct SCSIGetVirtualIDInfoPB {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
Ptr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
UInt16 scsiOldCallID;
Boolean scsiExists;
SInt8 filler;
};
typedef struct SCSIGetVirtualIDInfoPB SCSIGetVirtualIDInfoPB;
struct SCSIDriverPB {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
Ptr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
short scsiDriver;
UInt16 scsiDriverFlags;
DeviceIdent scsiNextDevice;
};
typedef struct SCSIDriverPB SCSIDriverPB;
struct SCSILoadDriverPB {
SCSIHdr * qLink;
short scsiReserved1;
UInt16 scsiPBLength;
UInt8 scsiFunctionCode;
UInt8 scsiReserved2;
volatile OSErr scsiResult;
DeviceIdent scsiDevice;
SCSICallbackUPP scsiCompletion;
UInt32 scsiFlags;
Ptr scsiDriverStorage;
Ptr scsiXPTprivate;
long scsiReserved3;
short scsiLoadedRefNum;
Boolean scsiDiskLoadFailed;
SInt8 filler;
};
typedef struct SCSILoadDriverPB SCSILoadDriverPB;
enum {
scsiTransferBlind = 0,
scsiTransferPolled = 1
};
enum {
scsiErrorBase = -7936
};
enum {
scsiRequestInProgress = 1,
scsiRequestAborted = scsiErrorBase + 2,
scsiUnableToAbort = scsiErrorBase + 3,
scsiNonZeroStatus = scsiErrorBase + 4,
scsiUnused05 = scsiErrorBase + 5,
scsiUnused06 = scsiErrorBase + 6,
scsiUnused07 = scsiErrorBase + 7,
scsiUnused08 = scsiErrorBase + 8,
scsiUnableToTerminate = scsiErrorBase + 9,
scsiSelectTimeout = scsiErrorBase + 10,
scsiCommandTimeout = scsiErrorBase + 11,
scsiIdentifyMessageRejected = scsiErrorBase + 12,
scsiMessageRejectReceived = scsiErrorBase + 13,
scsiSCSIBusReset = scsiErrorBase + 14,
scsiParityError = scsiErrorBase + 15,
scsiAutosenseFailed = scsiErrorBase + 16,
scsiUnused11 = scsiErrorBase + 17,
scsiDataRunError = scsiErrorBase + 18,
scsiUnexpectedBusFree = scsiErrorBase + 19,
scsiSequenceFailed = scsiErrorBase + 20,
scsiWrongDirection = scsiErrorBase + 21,
scsiUnused16 = scsiErrorBase + 22,
scsiBDRsent = scsiErrorBase + 23,
scsiTerminated = scsiErrorBase + 24,
scsiNoNexus = scsiErrorBase + 25,
scsiCDBReceived = scsiErrorBase + 26,
scsiTooManyBuses = scsiErrorBase + 48,
scsiBusy = scsiErrorBase + 49,
scsiProvideFail = scsiErrorBase + 50,
scsiDeviceNotThere = scsiErrorBase + 51,
scsiNoHBA = scsiErrorBase + 52,
scsiDeviceConflict = scsiErrorBase + 53,
scsiNoSuchXref = scsiErrorBase + 54,
scsiQLinkInvalid = scsiErrorBase + 55,
scsiPBLengthError = scsiErrorBase + 64,
scsiFunctionNotAvailable = scsiErrorBase + 65,
scsiRequestInvalid = scsiErrorBase + 66,
scsiBusInvalid = scsiErrorBase + 67,
scsiTIDInvalid = scsiErrorBase + 68,
scsiLUNInvalid = scsiErrorBase + 69,
scsiIDInvalid = scsiErrorBase + 70,
scsiDataTypeInvalid = scsiErrorBase + 71,
scsiTransferTypeInvalid = scsiErrorBase + 72,
scsiCDBLengthInvalid = scsiErrorBase + 73
};
enum {
scsiUnused74 = scsiErrorBase + 74,
scsiUnused75 = scsiErrorBase + 75,
scsiBadDataLength = scsiErrorBase + 76,
scsiPartialPrepared = scsiErrorBase + 77,
scsiInvalidMsgType = scsiErrorBase + 78,
scsiUnused79 = scsiErrorBase + 79,
scsiBadConnID = scsiErrorBase + 80,
scsiUnused81 = scsiErrorBase + 81,
scsiIOInProgress = scsiErrorBase + 82,
scsiTargetReserved = scsiErrorBase + 83,
scsiUnused84 = scsiErrorBase + 84,
scsiUnused85 = scsiErrorBase + 85,
scsiBadConnType = scsiErrorBase + 86,
scsiCannotLoadPlugin = scsiErrorBase + 87
};
# 724 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
enum {
scsiFamilyInternalError = scsiErrorBase + 87,
scsiPluginInternalError = scsiErrorBase + 88,
scsiVendorSpecificErrorBase = scsiErrorBase + 128,
scsiVendorSpecificErrorCount = 16
};
enum {
scsiExecutionErrors = scsiErrorBase,
scsiNotExecutedErrors = scsiTooManyBuses,
scsiParameterErrors = scsiPBLengthError
};
enum {
scsiSIMQFrozen = 0x0001,
scsiAutosenseValid = 0x0002,
scsiBusNotFree = 0x0004
};
enum {
kbSCSIDisableAutosense = 29,
kbSCSIFlagReservedA = 28,
kbSCSIFlagReserved0 = 27,
kbSCSICDBLinked = 26,
kbSCSIQEnable = 25,
kbSCSICDBIsPointer = 24,
kbSCSIFlagReserved1 = 23,
kbSCSIInitiateSyncData = 22,
kbSCSIDisableSyncData = 21,
kbSCSISIMQHead = 20,
kbSCSISIMQFreeze = 19,
kbSCSISIMQNoFreeze = 18,
kbSCSIDoDisconnect = 17,
kbSCSIDontDisconnect = 16,
kbSCSIDataReadyForDMA = 15,
kbSCSIFlagReserved3 = 14,
kbSCSIDataPhysical = 13,
kbSCSISensePhysical = 12,
kbSCSIFlagReserved5 = 11,
kbSCSIFlagReserved6 = 10,
kbSCSIFlagReserved7 = 9,
kbSCSIFlagReserved8 = 8,
kbSCSIDataBufferValid = 7,
kbSCSIStatusBufferValid = 6,
kbSCSIMessageBufferValid = 5,
kbSCSIFlagReserved9 = 4
};
enum {
scsiDirectionMask = (long)0xC0000000,
scsiDirectionNone = (long)0xC0000000,
scsiDirectionReserved = 0x00000000,
scsiDirectionOut = (long)0x80000000,
scsiDirectionIn = 0x40000000,
scsiDisableAutosense = 0x20000000,
scsiFlagReservedA = 0x10000000,
scsiFlagReserved0 = 0x08000000,
scsiCDBLinked = 0x04000000,
scsiQEnable = 0x02000000,
scsiCDBIsPointer = 0x01000000,
scsiFlagReserved1 = 0x00800000,
scsiInitiateSyncData = 0x00400000,
scsiDisableSyncData = 0x00200000,
scsiSIMQHead = 0x00100000,
scsiSIMQFreeze = 0x00080000,
scsiSIMQNoFreeze = 0x00040000,
scsiDoDisconnect = 0x00020000,
scsiDontDisconnect = 0x00010000,
scsiDataReadyForDMA = 0x00008000,
scsiFlagReserved3 = 0x00004000,
scsiDataPhysical = 0x00002000,
scsiSensePhysical = 0x00001000,
scsiFlagReserved5 = 0x00000800,
scsiFlagReserved6 = 0x00000400,
scsiFlagReserved7 = 0x00000200,
scsiFlagReserved8 = 0x00000100
};
enum {
scsiNoParityCheck = 0x0002,
scsiDisableSelectWAtn = 0x0004,
scsiSavePtrOnDisconnect = 0x0008,
scsiNoBucketIn = 0x0010,
scsiNoBucketOut = 0x0020,
scsiDisableWide = 0x0040,
scsiInitiateWide = 0x0080,
scsiRenegotiateSense = 0x0100,
scsiDisableDiscipline = 0x0200,
scsiIOFlagReserved0080 = 0x0080,
scsiIOFlagReserved8000 = 0x8000
};
enum {
scsiBusMDP = 0x80,
scsiBusWide32 = 0x40,
scsiBusWide16 = 0x20,
scsiBusSDTR = 0x10,
scsiBusLinkedCDB = 0x08,
scsiBusTagQ = 0x02,
scsiBusSoftReset = 0x01
};
enum {
scsiDataBuffer = 0,
scsiDataTIB = 1,
scsiDataSG = 2,
scsiDataIOTable = 3
};
enum {
scsiBusDataTIB = (1 << scsiDataTIB),
scsiBusDataBuffer = (1 << scsiDataBuffer),
scsiBusDataSG = (1 << scsiDataSG),
scsiBusDataIOTable = (1 << scsiDataIOTable),
scsiBusDataReserved = (long)0x80000000
};
enum {
scsiBusScansDevices = 0x80,
scsiBusScansOnInit = 0x40,
scsiBusLoadsROMDrivers = 0x20
};
enum {
scsiBusLVD = 0x00000400,
scsiBusUltra3SCSI = 0x00000200,
scsiBusUltra2SCSI = 0x00000100,
scsiBusInternalExternalMask = 0x000000C0,
scsiBusInternalExternalUnknown = 0x00000000,
scsiBusInternalExternal = 0x000000C0,
scsiBusInternal = 0x00000080,
scsiBusExternal = 0x00000040,
scsiBusCacheCoherentDMA = 0x00000020,
scsiBusOldCallCapable = 0x00000010,
scsiBusUltraSCSI = 0x00000008,
scsiBusDifferential = 0x00000004,
scsiBusFastSCSI = 0x00000002,
scsiBusDMAavailable = 0x00000001
};
enum {
scsiOddDisconnectUnsafeRead1 = 0x0001,
scsiOddDisconnectUnsafeWrite1 = 0x0002,
scsiBusErrorsUnsafe = 0x0004,
scsiRequiresHandshake = 0x0008,
scsiTargetDrivenSDTRSafe = 0x0010,
scsiOddCountForPhysicalUnsafe = 0x0020,
scsiAbortCmdFixed = 0x0040,
scsiMeshACKTimingFixed = 0x0080
};
enum {
scsiMotherboardBus = 0x00,
scsiNuBus = 0x01,
scsiPDSBus = 0x03,
scsiPCIBus = 0x04,
scsiPCMCIABus = 0x05,
scsiFireWireBridgeBus = 0x06,
scsiUSBBus = 0x07
};
enum {
scsiDeviceSensitive = 0x0001,
scsiDeviceNoOldCallAccess = 0x0002
};
enum {
scsiStatGood = 0x00,
scsiStatCheckCondition = 0x02,
scsiStatConditionMet = 0x04,
scsiStatBusy = 0x08,
scsiStatIntermediate = 0x10,
scsiStatIntermedMet = 0x14,
scsiStatResvConflict = 0x18,
scsiStatTerminated = 0x22,
scsiStatQFull = 0x28
};
enum {
kCmdCompleteMsg = 0,
kExtendedMsg = 1,
kSaveDataPointerMsg = 2,
kRestorePointersMsg = 3,
kDisconnectMsg = 4,
kInitiatorDetectedErrorMsg = 5,
kAbortMsg = 6,
kMsgRejectMsg = 7,
kNoOperationMsg = 8,
kMsgParityErrorMsg = 9,
kLinkedCmdCompleteMsg = 10,
kLinkedCmdCompleteWithFlagMsg = 11,
kBusDeviceResetMsg = 12,
kAbortTagMsg = 13,
kClearQueueMsg = 14,
kInitiateRecoveryMsg = 15,
kReleaseRecoveryMsg = 16,
kTerminateIOProcessMsg = 17,
kSimpleQueueTag = 0x20,
kHeadOfQueueTagMsg = 0x21,
kOrderedQueueTagMsg = 0x22,
kIgnoreWideResidueMsg = 0x23
};
# 965 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
extern OSErr
SCSIAction(SCSI_PB * parameterBlock) __attribute__((deprecated));
# 1014 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SCSI.h" 3
#pragma pack(pop)
# 72 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 80 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
#define __NSLCORE__
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
#pragma pack(push, 2)
enum {
kNSLMinSystemVersion = 0x0900,
kNSLMinOTVersion = 0x0130
};
enum {
kNSLDefaultListSize = 256
};
enum {
kNSLURLDelimiter = ','
};
#define kNSLErrorNoErr {noErr, kNSLNoContext}
enum {
kNSLNoContext = 0
};
struct NSLError {
OSStatus theErr;
UInt32 theContext;
};
typedef struct NSLError NSLError;
typedef NSLError * NSLErrorPtr;
enum {
kNSLDuplicateSearchInProgress = 100,
kNSLUserCanceled = userCanceledErr,
kNSLInvalidEnumeratorRef = 0
};
typedef UInt16 NSLSearchState;
enum {
kNSLSearchStateBufferFull = 1,
kNSLSearchStateOnGoing = 2,
kNSLSearchStateComplete = 3,
kNSLSearchStateStalled = 4,
kNSLWaitingForContinue = 5
};
typedef UInt32 NSLEventCode;
enum {
kNSLServicesLookupDataEvent = 6,
kNSLNeighborhoodLookupDataEvent = 7,
kNSLNewDataEvent = 8,
kNSLContinueLookupEvent = 9
};
typedef UInt32 NSLClientRef;
typedef UInt32 NSLRequestRef;
typedef UInt32 NSLOneBasedIndex;
typedef char * NSLPath;
typedef char * NSLServiceType;
typedef Handle NSLServicesList;
typedef unsigned char * NSLNeighborhood;
struct NSLClientAsyncInfo {
void * clientContextPtr;
void * mgrContextPtr;
char * resultBuffer;
long bufferLen;
long maxBufferSize;
UInt32 startTime;
UInt32 intStartTime;
UInt32 maxSearchTime;
UInt32 alertInterval;
UInt32 totalItems;
UInt32 alertThreshold;
NSLSearchState searchState;
NSLError searchResult;
NSLEventCode searchDataType;
};
typedef struct NSLClientAsyncInfo NSLClientAsyncInfo;
typedef NSLClientAsyncInfo * NSLClientAsyncInfoPtr;
struct NSLPluginAsyncInfo {
void * mgrContextPtr;
void * pluginContextPtr;
void * pluginPtr;
char * resultBuffer;
long bufferLen;
long maxBufferSize;
UInt32 maxSearchTime;
UInt32 reserved1;
UInt32 reserved2;
UInt32 reserved3;
NSLClientRef clientRef;
NSLRequestRef requestRef;
NSLSearchState searchState;
OSStatus searchResult;
};
typedef struct NSLPluginAsyncInfo NSLPluginAsyncInfo;
typedef NSLPluginAsyncInfo * NSLPluginAsyncInfoPtr;
typedef void ( * NSLMgrNotifyProcPtr)(NSLPluginAsyncInfo * thePluginAsyncInfo);
typedef void ( * NSLClientNotifyProcPtr)(NSLClientAsyncInfo * theClientAsyncInfo);
typedef NSLMgrNotifyProcPtr NSLMgrNotifyUPP;
typedef NSLClientNotifyProcPtr NSLClientNotifyUPP;
# 162 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLMgrNotifyUPP
NewNSLMgrNotifyUPP(NSLMgrNotifyProcPtr userRoutine) __attribute__((deprecated));
# 173 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLClientNotifyUPP
NewNSLClientNotifyUPP(NSLClientNotifyProcPtr userRoutine) __attribute__((deprecated));
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
DisposeNSLMgrNotifyUPP(NSLMgrNotifyUPP userUPP) __attribute__((deprecated));
# 195 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
DisposeNSLClientNotifyUPP(NSLClientNotifyUPP userUPP) __attribute__((deprecated));
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
InvokeNSLMgrNotifyUPP(
NSLPluginAsyncInfo * thePluginAsyncInfo,
NSLMgrNotifyUPP userUPP) __attribute__((deprecated));
# 219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
InvokeNSLClientNotifyUPP(
NSLClientAsyncInfo * theClientAsyncInfo,
NSLClientNotifyUPP userUPP) __attribute__((deprecated));
# 233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
#define NewNSLMgrNotifyUPP(userRoutine) ((NSLMgrNotifyUPP)userRoutine)
#define NewNSLClientNotifyUPP(userRoutine) ((NSLClientNotifyUPP)userRoutine)
#define DisposeNSLMgrNotifyUPP(userUPP)
#define DisposeNSLClientNotifyUPP(userUPP)
#define InvokeNSLMgrNotifyUPP(thePluginAsyncInfo,userUPP) (*userUPP)(thePluginAsyncInfo)
#define InvokeNSLClientNotifyUPP(theClientAsyncInfo,userUPP) (*userUPP)(theClientAsyncInfo)
# 247 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
struct NSLTypedData {
unsigned long dataType;
unsigned long lengthOfData;
};
typedef struct NSLTypedData NSLTypedData;
typedef NSLTypedData * NSLTypedDataPtr;
#define kNSLDataType 'NSL_'
struct NSLServicesListHeader {
unsigned long numServices;
unsigned long logicalLen;
};
typedef struct NSLServicesListHeader NSLServicesListHeader;
typedef NSLServicesListHeader * NSLServicesListHeaderPtr;
#define kSLPProtocolType "SLP"
#define kDNSProtocolType "DNS"
#define kLDAPProtocolType "LDAP"
#define kNBPProtocolType "NBP"
#define kNSLDirectoryServiceProtocolType "DirService"
struct NSLPluginData {
long reserved1;
long reserved2;
long reserved3;
Boolean supportsRegistration;
Boolean isPurgeable;
UInt16 totalLen;
UInt16 dataTypeOffset;
UInt16 serviceListOffset;
UInt16 protocolListOffset;
UInt16 commentStringOffset;
};
typedef struct NSLPluginData NSLPluginData;
typedef NSLPluginData * NSLPluginDataPtr;
# 317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern UInt32
NSLLibraryVersion(void) __attribute__((deprecated));
#define NSLLibraryPresent() true
# 351 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLError
NSLStandardRegisterURL(
NSLPath urlToRegister,
NSLNeighborhood neighborhoodToRegisterIn) __attribute__((deprecated));
# 370 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLError
NSLStandardDeregisterURL(
NSLPath urlToDeregister,
NSLNeighborhood neighborhoodToDeregisterIn) __attribute__((deprecated));
# 387 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSStatus
NSLHexEncodeText(
const char * rawText,
UInt16 rawTextLen,
char * newTextBuffer,
UInt16 * newTextBufferLen,
Boolean * textChanged) __attribute__((deprecated));
# 404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSStatus
NSLHexDecodeText(
const char * encodedText,
UInt16 encodedTextLen,
char * decodedTextBuffer,
UInt16 * decodedTextBufferLen,
Boolean * textChanged) __attribute__((deprecated));
# 427 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLServicesList
NSLMakeNewServicesList(const char * initialServiceList) __attribute__((deprecated));
# 439 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLError
NSLAddServiceToServicesList(
NSLServicesList serviceList,
NSLServiceType serviceType) __attribute__((deprecated));
# 453 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
NSLDisposeServicesList(NSLServicesList theList) __attribute__((deprecated));
# 471 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLNeighborhood
NSLMakeNewNeighborhood(
const char * name,
const char * protocolList) __attribute__((deprecated));
# 486 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLNeighborhood
NSLCopyNeighborhood(NSLNeighborhood neighborhood) __attribute__((deprecated));
# 498 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLNeighborhood
NSLFreeNeighborhood(NSLNeighborhood neighborhood) __attribute__((deprecated));
# 510 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
NSLGetNameFromNeighborhood(
NSLNeighborhood neighborhood,
char ** name,
long * length) __attribute__((deprecated));
# 529 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSStatus
NSLMakeServicesRequestPB(
NSLServicesList serviceList,
NSLTypedDataPtr * newDataPtr) __attribute__((deprecated));
# 544 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLTypedDataPtr
NSLFreeTypedDataPtr(NSLTypedDataPtr nslTypeData) __attribute__((deprecated));
# 560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern Boolean
NSLGetNextUrl(
NSLClientAsyncInfoPtr infoPtr,
char ** urlPtr,
long * urlLength) __attribute__((deprecated));
# 579 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern Boolean
NSLGetNextNeighborhood(
NSLClientAsyncInfoPtr infoPtr,
NSLNeighborhood * neighborhood,
long * neighborhoodLength) __attribute__((deprecated));
# 603 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSStatus
NSLErrorToString(
NSLError theErr,
char * errorString,
char * solutionString) __attribute__((deprecated));
# 625 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSStatus
NSLOpenNavigationAPI(NSLClientRef * newRef) __attribute__((deprecated));
# 637 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
NSLCloseNavigationAPI(NSLClientRef theClient) __attribute__((deprecated));
# 665 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLError
NSLPrepareRequest(
NSLClientNotifyUPP notifier,
void * contextPtr,
NSLClientRef theClient,
NSLRequestRef * ref,
char * bufPtr,
unsigned long bufLen,
NSLClientAsyncInfoPtr * infoPtr) __attribute__((deprecated));
# 691 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLError
NSLStartNeighborhoodLookup(
NSLRequestRef ref,
NSLNeighborhood neighborhood,
NSLClientAsyncInfo * asyncInfo) __attribute__((deprecated));
# 711 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLError
NSLStartServicesLookup(
NSLRequestRef ref,
NSLNeighborhood neighborhood,
NSLTypedDataPtr requestData,
NSLClientAsyncInfo * asyncInfo) __attribute__((deprecated));
# 730 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLError
NSLContinueLookup(NSLClientAsyncInfo * asyncInfo) __attribute__((deprecated));
# 745 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLError
NSLCancelRequest(NSLRequestRef ref) __attribute__((deprecated));
# 762 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLError
NSLDeleteRequest(NSLRequestRef ref) __attribute__((deprecated));
# 786 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSStatus
NSLParseServicesRequestPB(
NSLTypedDataPtr newDataPtr,
char ** serviceListPtr,
UInt16 * serviceListLen) __attribute__((deprecated));
# 809 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSStatus
NSLParseServiceRegistrationPB(
NSLTypedDataPtr newDataPtr,
NSLNeighborhood * neighborhoodPtr,
UInt16 * neighborhoodLen,
char ** urlPtr,
UInt16 * urlLen) __attribute__((deprecated));
# 836 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSStatus
NSLGetErrorStringsFromResource(
OSStatus theErr,
const FSSpec * fileSpecPtr,
SInt16 errorResID,
char * errorString,
char * solutionString) __attribute__((deprecated));
# 856 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern Boolean
NSLServiceIsInServiceList(
NSLServicesList serviceList,
NSLServiceType svcToFind) __attribute__((deprecated));
# 873 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSStatus
NSLGetServiceFromURL(
char * theURL,
char ** svcString,
UInt16 * svcLen) __attribute__((deprecated));
# 890 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern long
NSLGetNeighborhoodLength(NSLNeighborhood neighborhood) __attribute__((deprecated));
# 910 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSErr
NSLNewThread(
ThreadStyle threadStyle,
ThreadEntryProcPtr threadEntry,
void * threadParam,
Size stackSize,
ThreadOptions options,
void ** threadResult,
ThreadID * threadMade) __attribute__((deprecated));
# 931 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern OSErr
NSLDisposeThread(
ThreadID threadToDump,
void * threadResult,
Boolean recycleThread) __attribute__((deprecated));
# 954 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
#pragma pack(pop)
# 81 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SecurityCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SecurityCore.h" 3
#define __SECURITYCORE__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
#define __KEYCHAINCORE__
# 51 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
#pragma pack(push, 2)
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
typedef SecKeychainRef KCRef;
typedef SecKeychainItemRef KCItemRef;
typedef SecKeychainSearchRef KCSearchRef;
typedef SecKeychainAttribute KCAttribute;
typedef SecKeychainAttributeList KCAttributeList;
typedef SecKeychainAttrType KCAttrType;
typedef SecKeychainStatus KCStatus;
typedef UInt16 KCEvent;
enum {
kIdleKCEvent = 0,
kLockKCEvent = 1,
kUnlockKCEvent = 2,
kAddKCEvent = 3,
kDeleteKCEvent = 4,
kUpdateKCEvent = 5,
kPasswordChangedKCEvent = 6,
kSystemKCEvent = 8,
kDefaultChangedKCEvent = 9,
kDataAccessKCEvent = 10,
kKeychainListChangedKCEvent = 11
};
typedef UInt16 KCEventMask;
enum {
kIdleKCEventMask = 1 << kIdleKCEvent,
kLockKCEventMask = 1 << kLockKCEvent,
kUnlockKCEventMask = 1 << kUnlockKCEvent,
kAddKCEventMask = 1 << kAddKCEvent,
kDeleteKCEventMask = 1 << kDeleteKCEvent,
kUpdateKCEventMask = 1 << kUpdateKCEvent,
kPasswordChangedKCEventMask = 1 << kPasswordChangedKCEvent,
kSystemEventKCEventMask = 1 << kSystemKCEvent,
kDefaultChangedKCEventMask = 1 << kDefaultChangedKCEvent,
kDataAccessKCEventMask = 1 << kDataAccessKCEvent,
kEveryKCEventMask = 0xFFFF
};
typedef UInt8 AFPServerSignature[16];
typedef UInt8 KCPublicKeyHash[20];
struct KCCallbackInfo {
UInt32 version;
KCItemRef item;
SInt32 processID[2];
SInt32 event[4];
KCRef keychain;
};
typedef struct KCCallbackInfo KCCallbackInfo;
enum {
kUnlockStateKCStatus = 1,
kRdPermKCStatus = 2,
kWrPermKCStatus = 4
};
enum {
kCertificateKCItemClass = 'cert',
kAppleSharePasswordKCItemClass = 'ashp',
kInternetPasswordKCItemClass = 'inet',
kGenericPasswordKCItemClass = 'genp'
};
typedef FourCharCode KCItemClass;
enum {
kClassKCItemAttr = 'clas',
kCreationDateKCItemAttr = 'cdat',
kModDateKCItemAttr = 'mdat',
kDescriptionKCItemAttr = 'desc',
kCommentKCItemAttr = 'icmt',
kCreatorKCItemAttr = 'crtr',
kTypeKCItemAttr = 'type',
kScriptCodeKCItemAttr = 'scrp',
kLabelKCItemAttr = 'labl',
kInvisibleKCItemAttr = 'invi',
kNegativeKCItemAttr = 'nega',
kCustomIconKCItemAttr = 'cusi',
kAccountKCItemAttr = 'acct',
kServiceKCItemAttr = 'svce',
kGenericKCItemAttr = 'gena',
kSecurityDomainKCItemAttr = 'sdmn',
kServerKCItemAttr = 'srvr',
kAuthTypeKCItemAttr = 'atyp',
kPortKCItemAttr = 'port',
kPathKCItemAttr = 'path',
kVolumeKCItemAttr = 'vlme',
kAddressKCItemAttr = 'addr',
kSignatureKCItemAttr = 'ssig',
kProtocolKCItemAttr = 'ptcl',
kSubjectKCItemAttr = 'subj',
kCommonNameKCItemAttr = 'cn ',
kIssuerKCItemAttr = 'issu',
kSerialNumberKCItemAttr = 'snbr',
kEMailKCItemAttr = 'mail',
kPublicKeyHashKCItemAttr = 'hpky',
kIssuerURLKCItemAttr = 'iurl',
kEncryptKCItemAttr = 'encr',
kDecryptKCItemAttr = 'decr',
kSignKCItemAttr = 'sign',
kVerifyKCItemAttr = 'veri',
kWrapKCItemAttr = 'wrap',
kUnwrapKCItemAttr = 'unwr',
kStartDateKCItemAttr = 'sdat',
kEndDateKCItemAttr = 'edat'
};
typedef FourCharCode KCItemAttr;
enum {
kKCAuthTypeNTLM = 'ntlm',
kKCAuthTypeMSN = 'msna',
kKCAuthTypeDPA = 'dpaa',
kKCAuthTypeRPA = 'rpaa',
kKCAuthTypeHTTPDigest = 'httd',
kKCAuthTypeDefault = 'dflt'
};
typedef FourCharCode KCAuthType;
enum {
kKCProtocolTypeFTP = 'ftp ',
kKCProtocolTypeFTPAccount = 'ftpa',
kKCProtocolTypeHTTP = 'http',
kKCProtocolTypeIRC = 'irc ',
kKCProtocolTypeNNTP = 'nntp',
kKCProtocolTypePOP3 = 'pop3',
kKCProtocolTypeSMTP = 'smtp',
kKCProtocolTypeSOCKS = 'sox ',
kKCProtocolTypeIMAP = 'imap',
kKCProtocolTypeLDAP = 'ldap',
kKCProtocolTypeAppleTalk = 'atlk',
kKCProtocolTypeAFP = 'afp ',
kKCProtocolTypeTelnet = 'teln'
};
typedef FourCharCode KCProtocolType;
typedef UInt32 KCCertAddOptions;
enum {
kSecOptionReserved = 0x000000FF,
kCertUsageShift = 8,
kCertUsageSigningAdd = 1 << (kCertUsageShift + 0),
kCertUsageSigningAskAndAdd = 1 << (kCertUsageShift + 1),
kCertUsageVerifyAdd = 1 << (kCertUsageShift + 2),
kCertUsageVerifyAskAndAdd = 1 << (kCertUsageShift + 3),
kCertUsageEncryptAdd = 1 << (kCertUsageShift + 4),
kCertUsageEncryptAskAndAdd = 1 << (kCertUsageShift + 5),
kCertUsageDecryptAdd = 1 << (kCertUsageShift + 6),
kCertUsageDecryptAskAndAdd = 1 << (kCertUsageShift + 7),
kCertUsageKeyExchAdd = 1 << (kCertUsageShift + 8),
kCertUsageKeyExchAskAndAdd = 1 << (kCertUsageShift + 9),
kCertUsageRootAdd = 1 << (kCertUsageShift + 10),
kCertUsageRootAskAndAdd = 1 << (kCertUsageShift + 11),
kCertUsageSSLAdd = 1 << (kCertUsageShift + 12),
kCertUsageSSLAskAndAdd = 1 << (kCertUsageShift + 13),
kCertUsageAllAdd = 0x7FFFFF00
};
typedef UInt16 KCVerifyStopOn;
enum {
kPolicyKCStopOn = 0,
kNoneKCStopOn = 1,
kFirstPassKCStopOn = 2,
kFirstFailKCStopOn = 3
};
typedef UInt32 KCCertSearchOptions;
enum {
kCertSearchShift = 0,
kCertSearchSigningIgnored = 0,
kCertSearchSigningAllowed = 1 << (kCertSearchShift + 0),
kCertSearchSigningDisallowed = 1 << (kCertSearchShift + 1),
kCertSearchSigningMask = ((kCertSearchSigningAllowed) | (kCertSearchSigningDisallowed)),
kCertSearchVerifyIgnored = 0,
kCertSearchVerifyAllowed = 1 << (kCertSearchShift + 2),
kCertSearchVerifyDisallowed = 1 << (kCertSearchShift + 3),
kCertSearchVerifyMask = ((kCertSearchVerifyAllowed) | (kCertSearchVerifyDisallowed)),
kCertSearchEncryptIgnored = 0,
kCertSearchEncryptAllowed = 1 << (kCertSearchShift + 4),
kCertSearchEncryptDisallowed = 1 << (kCertSearchShift + 5),
kCertSearchEncryptMask = ((kCertSearchEncryptAllowed) | (kCertSearchEncryptDisallowed)),
kCertSearchDecryptIgnored = 0,
kCertSearchDecryptAllowed = 1 << (kCertSearchShift + 6),
kCertSearchDecryptDisallowed = 1 << (kCertSearchShift + 7),
kCertSearchDecryptMask = ((kCertSearchDecryptAllowed) | (kCertSearchDecryptDisallowed)),
kCertSearchWrapIgnored = 0,
kCertSearchWrapAllowed = 1 << (kCertSearchShift + 8),
kCertSearchWrapDisallowed = 1 << (kCertSearchShift + 9),
kCertSearchWrapMask = ((kCertSearchWrapAllowed) | (kCertSearchWrapDisallowed)),
kCertSearchUnwrapIgnored = 0,
kCertSearchUnwrapAllowed = 1 << (kCertSearchShift + 10),
kCertSearchUnwrapDisallowed = 1 << (kCertSearchShift + 11),
kCertSearchUnwrapMask = ((kCertSearchUnwrapAllowed) | (kCertSearchUnwrapDisallowed)),
kCertSearchPrivKeyRequired = 1 << (kCertSearchShift + 12),
kCertSearchAny = 0
};
enum {
kAnyPort = 0
};
enum {
kAnyProtocol = 0,
kAnyAuthType = 0
};
# 294 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetKeychainManagerVersion(UInt32 * returnVers);
# 309 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
#define KeychainManagerAvailable() (true)
# 322 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCSetInteractionAllowed(Boolean state) ;
# 334 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern Boolean
KCIsInteractionAllowed(void) ;
# 349 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCMakeKCRefFromFSSpec(
FSSpec * keychainFSSpec,
KCRef * keychain) __attribute__((deprecated));
# 365 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCMakeKCRefFromFSRef(
FSRef * keychainFSRef,
KCRef * keychain) ;
# 379 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCMakeKCRefFromAlias(
AliasHandle keychainAlias,
KCRef * keychain) ;
# 393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCMakeAliasFromKCRef(
KCRef keychain,
AliasHandle * keychainAlias) ;
# 407 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCReleaseKeychain(KCRef * keychain) ;
# 420 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetDefaultKeychain(KCRef * keychain) ;
# 432 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCSetDefaultKeychain(KCRef keychain) ;
# 445 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetStatus(
KCRef keychain,
UInt32 * keychainStatus) ;
# 459 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetKeychain(
KCItemRef item,
KCRef * keychain) ;
# 473 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetKeychainName(
KCRef keychain,
StringPtr keychainName) ;
# 488 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern UInt16
KCCountKeychains(void) ;
# 500 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetIndKeychain(
UInt16 index,
KCRef * keychain) ;
typedef OSStatus ( * KCCallbackProcPtr)(KCEvent keychainEvent, KCCallbackInfo *info, void *userContext);
typedef KCCallbackProcPtr KCCallbackUPP;
# 516 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern KCCallbackUPP
NewKCCallbackUPP(KCCallbackProcPtr userRoutine) ;
# 527 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern void
DisposeKCCallbackUPP(KCCallbackUPP userUPP) ;
# 538 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
InvokeKCCallbackUPP(
KCEvent keychainEvent,
KCCallbackInfo * info,
void * userContext,
KCCallbackUPP userUPP) ;
#define NewKCCallbackUPP(userRoutine) ((KCCallbackUPP)userRoutine)
#define DisposeKCCallbackUPP(userUPP)
#define InvokeKCCallbackUPP(keychainEvent,info,userContext,userUPP) (*userUPP)(keychainEvent, info, userContext)
# 566 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindAppleSharePassword(
AFPServerSignature * serverSignature,
ConstStringPtr serverAddress,
ConstStringPtr serverName,
ConstStringPtr volumeName,
ConstStringPtr accountName,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 587 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindInternetPassword(
ConstStringPtr serverName,
ConstStringPtr securityDomain,
ConstStringPtr accountName,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 609 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindInternetPasswordWithPath(
ConstStringPtr serverName,
ConstStringPtr securityDomain,
ConstStringPtr accountName,
ConstStringPtr path,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 632 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindGenericPassword(
ConstStringPtr serviceName,
ConstStringPtr accountName,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 651 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCAddCallback(
KCCallbackUPP callbackProc,
KCEventMask eventMask,
void * userContext) ;
# 666 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCRemoveCallback(KCCallbackUPP callbackProc) ;
# 679 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCNewItem(
KCItemClass itemClass,
OSType itemCreator,
UInt32 length,
const void * data,
KCItemRef * item) ;
# 696 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCSetAttribute(
KCItemRef item,
KCAttribute * attr) ;
# 710 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetAttribute(
KCItemRef item,
KCAttribute * attr,
UInt32 * actualLength) ;
# 725 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCSetData(
KCItemRef item,
UInt32 length,
const void * data) ;
# 741 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCUpdateItem(KCItemRef item) ;
# 753 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCReleaseItem(KCItemRef * item) ;
# 765 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCCopyItem(
KCItemRef item,
KCRef destKeychain,
KCItemRef * copy) ;
# 781 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindFirstItem(
KCRef keychain,
const KCAttributeList * attrList,
KCSearchRef * search,
KCItemRef * item) ;
# 797 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindNextItem(
KCSearchRef search,
KCItemRef * item) ;
# 811 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCReleaseSearch(KCSearchRef * search) ;
# 824 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCDeleteItem(KCItemRef item) ;
# 836 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetData(
KCItemRef item,
UInt32 maxLength,
void * data,
UInt32 * actualLength) ;
# 853 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCLock(KCRef keychain) ;
# 866 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
kcgetkeychainname(
KCRef keychain,
char * keychainName) ;
# 880 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
kcfindapplesharepassword(
AFPServerSignature * serverSignature,
const char * serverAddress,
const char * serverName,
const char * volumeName,
const char * accountName,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 901 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
kcfindinternetpassword(
const char * serverName,
const char * securityDomain,
const char * accountName,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 923 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
kcfindinternetpasswordwithpath(
const char * serverName,
const char * securityDomain,
const char * accountName,
const char * path,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 946 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
kcfindgenericpassword(
const char * serviceName,
const char * accountName,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
#pragma pack(pop)
# 26 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SecurityCore.h" 2 3
# 82 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 30 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 3
#define __CFNETWORK__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 18 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 3
#define __CFNETWORK_DEFS_H_
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 3
#define APPLE_WIN_API extern
# 26 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
#define __CFNETWORKERRORS__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 2 3
# 55 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFErrorDomainCFNetwork ;
# 69 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFErrorDomainWinSock ;
# 79 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
enum CFNetworkErrors {
kCFHostErrorHostNotFound = 1,
kCFHostErrorUnknown = 2,
kCFSOCKSErrorUnknownClientVersion = 100,
kCFSOCKSErrorUnsupportedServerVersion = 101,
kCFSOCKS4ErrorRequestFailed = 110,
kCFSOCKS4ErrorIdentdFailed = 111,
kCFSOCKS4ErrorIdConflict = 112,
kCFSOCKS4ErrorUnknownStatusCode = 113,
kCFSOCKS5ErrorBadState = 120,
kCFSOCKS5ErrorBadResponseAddr = 121,
kCFSOCKS5ErrorBadCredentials = 122,
kCFSOCKS5ErrorUnsupportedNegotiationMethod = 123,
kCFSOCKS5ErrorNoAcceptableMethod = 124,
kCFNetServiceErrorUnknown = -72000L,
kCFNetServiceErrorCollision = -72001L,
kCFNetServiceErrorNotFound = -72002L,
kCFNetServiceErrorInProgress = -72003L,
kCFNetServiceErrorBadArgument = -72004L,
kCFNetServiceErrorCancel = -72005L,
kCFNetServiceErrorInvalid = -72006L,
kCFNetServiceErrorTimeout = -72007L,
kCFNetServiceErrorDNSServiceFailure = -73000L,
kCFFTPErrorUnexpectedStatusCode = 200,
kCFErrorHTTPAuthenticationTypeUnsupported = 300,
kCFErrorHTTPBadCredentials = 301,
kCFErrorHTTPConnectionLost = 302,
kCFErrorHTTPParseFailure = 303,
kCFErrorHTTPRedirectionLoopDetected = 304,
kCFErrorHTTPBadURL = 305,
kCFErrorHTTPProxyConnectionFailure = 306,
kCFErrorHTTPBadProxyCredentials = 307
};
typedef enum CFNetworkErrors CFNetworkErrors;
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFGetAddrInfoFailureKey ;
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFSOCKSStatusCodeKey ;
# 161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFSOCKSVersionKey ;
# 176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFSOCKSNegotiationMethodKey ;
# 191 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFDNSServiceFailureKey ;
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFFTPStatusCodeKey ;
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
#define __CFSOCKETSTREAM__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
#define __CFHOST__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 2 3
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
#pragma pack(push, 2)
# 56 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
typedef struct __CFHost* CFHostRef;
# 69 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern const SInt32 kCFStreamErrorDomainNetDB ;
# 83 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern const SInt32 kCFStreamErrorDomainSystemConfiguration ;
# 93 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
enum CFHostInfoType {
kCFHostAddresses = 0,
kCFHostNames = 1,
kCFHostReachability = 2
};
typedef enum CFHostInfoType CFHostInfoType;
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
struct CFHostClientContext {
CFIndex version;
void * info;
# 144 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
};
typedef struct CFHostClientContext CFHostClientContext;
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
typedef void ( * CFHostClientCallBack)(CFHostRef theHost, CFHostInfoType typeInfo, const CFStreamError *error, void *info);
# 201 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFTypeID
CFHostGetTypeID(void) ;
# 235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFHostRef
CFHostCreateWithName(
CFAllocatorRef allocator,
CFStringRef hostname) ;
# 271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFHostRef
CFHostCreateWithAddress(
CFAllocatorRef allocator,
CFDataRef addr) ;
# 308 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFHostRef
CFHostCreateCopy(
CFAllocatorRef alloc,
CFHostRef host) ;
# 352 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern Boolean
CFHostStartInfoResolution(
CFHostRef theHost,
CFHostInfoType info,
CFStreamError * error) ;
# 392 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFArrayRef
CFHostGetAddressing(
CFHostRef theHost,
Boolean * hasBeenResolved) ;
# 430 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFArrayRef
CFHostGetNames(
CFHostRef theHost,
Boolean * hasBeenResolved) ;
# 472 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFDataRef
CFHostGetReachability(
CFHostRef theHost,
Boolean * hasBeenResolved) ;
# 503 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern void
CFHostCancelInfoResolution(
CFHostRef theHost,
CFHostInfoType info) ;
# 547 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern Boolean
CFHostSetClient(
CFHostRef theHost,
CFHostClientCallBack clientCB,
CFHostClientContext * clientContext) ;
# 586 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern void
CFHostScheduleWithRunLoop(
CFHostRef theHost,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 625 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern void
CFHostUnscheduleFromRunLoop(
CFHostRef theHost,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
#pragma pack(pop)
# 29 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
#define __CFNETSERVICES__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 2 3
# 44 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
#pragma pack(push, 2)
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef struct __CFNetService* CFNetServiceRef;
# 67 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef struct __CFNetServiceMonitor* CFNetServiceMonitorRef;
# 76 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef struct __CFNetServiceBrowser* CFNetServiceBrowserRef;
# 89 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern const SInt32 kCFStreamErrorDomainMach ;
# 106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern const SInt32 kCFStreamErrorDomainNetServices ;
# 116 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
enum CFNetServicesError {
kCFNetServicesErrorUnknown = -72000L,
kCFNetServicesErrorCollision = -72001L,
kCFNetServicesErrorNotFound = -72002L,
kCFNetServicesErrorInProgress = -72003L,
kCFNetServicesErrorBadArgument = -72004L,
kCFNetServicesErrorCancel = -72005L,
kCFNetServicesErrorInvalid = -72006L,
kCFNetServicesErrorTimeout = -72007L
};
typedef enum CFNetServicesError CFNetServicesError;
# 174 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
enum CFNetServiceMonitorType {
kCFNetServiceMonitorTXT = 1
};
typedef enum CFNetServiceMonitorType CFNetServiceMonitorType;
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
enum {
kCFNetServiceFlagNoAutoRename = 1
};
# 201 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
enum {
kCFNetServiceFlagMoreComing = 1,
kCFNetServiceFlagIsDomain = 2,
kCFNetServiceFlagIsDefault = 4,
kCFNetServiceFlagIsRegistrationDomain = 4,
kCFNetServiceFlagRemove = 8
};
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
struct CFNetServiceClientContext {
CFIndex version;
void * info;
# 241 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
};
typedef struct CFNetServiceClientContext CFNetServiceClientContext;
# 280 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef void ( * CFNetServiceClientCallBack)(CFNetServiceRef theService, CFStreamError *error, void *info);
# 309 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef void ( * CFNetServiceMonitorClientCallBack)(CFNetServiceMonitorRef theMonitor, CFNetServiceRef theService, CFNetServiceMonitorType typeInfo, CFDataRef rdata, CFStreamError *error, void *info);
# 339 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef void ( * CFNetServiceBrowserClientCallBack)(CFNetServiceBrowserRef browser, CFOptionFlags flags, CFTypeRef domainOrService, CFStreamError *error, void *info);
# 354 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFTypeID
CFNetServiceGetTypeID(void) ;
# 372 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFTypeID
CFNetServiceMonitorGetTypeID(void) ;
# 390 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFTypeID
CFNetServiceBrowserGetTypeID(void) ;
# 444 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFNetServiceRef
CFNetServiceCreate(
CFAllocatorRef alloc,
CFStringRef domain,
CFStringRef serviceType,
CFStringRef name,
SInt32 port) ;
# 485 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFNetServiceRef
CFNetServiceCreateCopy(
CFAllocatorRef alloc,
CFNetServiceRef service) ;
# 518 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFStringRef
CFNetServiceGetDomain(CFNetServiceRef theService) ;
# 549 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFStringRef
CFNetServiceGetType(CFNetServiceRef theService) ;
# 580 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFStringRef
CFNetServiceGetName(CFNetServiceRef theService) ;
# 627 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceRegisterWithOptions(
CFNetServiceRef theService,
CFOptionFlags options,
CFStreamError * error) ;
# 676 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceResolveWithTimeout(
CFNetServiceRef theService,
CFTimeInterval timeout,
CFStreamError * error) ;
# 703 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceCancel(CFNetServiceRef theService) ;
# 736 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFStringRef
CFNetServiceGetTargetHost(CFNetServiceRef theService) ;
# 766 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern SInt32
CFNetServiceGetPortNumber(CFNetServiceRef theService) ;
# 800 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFArrayRef
CFNetServiceGetAddressing(CFNetServiceRef theService) ;
# 834 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFDataRef
CFNetServiceGetTXTData(CFNetServiceRef theService) ;
# 865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceSetTXTData(
CFNetServiceRef theService,
CFDataRef txtRecord) ;
# 904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFDictionaryRef
CFNetServiceCreateDictionaryWithTXTData(
CFAllocatorRef alloc,
CFDataRef txtRecord) ;
# 951 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFDataRef
CFNetServiceCreateTXTDataWithDictionary(
CFAllocatorRef alloc,
CFDictionaryRef keyValuePairs) ;
# 1001 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceSetClient(
CFNetServiceRef theService,
CFNetServiceClientCallBack clientCB,
CFNetServiceClientContext * clientContext) ;
# 1036 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceScheduleWithRunLoop(
CFNetServiceRef theService,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1072 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceUnscheduleFromRunLoop(
CFNetServiceRef theService,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFNetServiceMonitorRef
CFNetServiceMonitorCreate(
CFAllocatorRef alloc,
CFNetServiceRef theService,
CFNetServiceMonitorClientCallBack clientCB,
CFNetServiceClientContext * clientContext) ;
# 1147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceMonitorInvalidate(CFNetServiceMonitorRef monitor) ;
# 1190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceMonitorStart(
CFNetServiceMonitorRef monitor,
CFNetServiceMonitorType recordType,
CFStreamError * error) ;
# 1225 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceMonitorStop(
CFNetServiceMonitorRef monitor,
CFStreamError * error) ;
# 1262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceMonitorScheduleWithRunLoop(
CFNetServiceMonitorRef monitor,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceMonitorUnscheduleFromRunLoop(
CFNetServiceMonitorRef monitor,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1338 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFNetServiceBrowserRef
CFNetServiceBrowserCreate(
CFAllocatorRef alloc,
CFNetServiceBrowserClientCallBack clientCB,
CFNetServiceClientContext * clientContext) ;
# 1364 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceBrowserInvalidate(CFNetServiceBrowserRef browser) ;
# 1409 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceBrowserSearchForDomains(
CFNetServiceBrowserRef browser,
Boolean registrationDomains,
CFStreamError * error) ;
# 1459 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceBrowserSearchForServices(
CFNetServiceBrowserRef browser,
CFStringRef domain,
CFStringRef serviceType,
CFStreamError * error) ;
# 1497 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceBrowserStopSearch(
CFNetServiceBrowserRef browser,
CFStreamError * error) ;
# 1534 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceBrowserScheduleWithRunLoop(
CFNetServiceBrowserRef browser,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceBrowserUnscheduleFromRunLoop(
CFNetServiceBrowserRef browser,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1620 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceRegister(
CFNetServiceRef theService,
CFStreamError * error) __attribute__((deprecated));
# 1672 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceResolve(
CFNetServiceRef theService,
CFStreamError * error) __attribute__((deprecated));
# 1715 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFStringRef
CFNetServiceGetProtocolSpecificInformation(CFNetServiceRef theService) __attribute__((deprecated));
# 1748 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceSetProtocolSpecificInformation(
CFNetServiceRef theService,
CFStringRef theInfo) __attribute__((deprecated));
# 1761 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
#pragma pack(pop)
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 2 3
# 74 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySSLPeerCertificates ;
# 89 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySSLSettings ;
# 104 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLLevel ;
# 120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLAllowsExpiredCertificates ;
# 136 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLAllowsExpiredRoots ;
# 152 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLAllowsAnyRoot ;
# 168 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLValidatesCertificateChain ;
# 185 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLPeerName ;
# 201 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLCertificates ;
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLIsServer ;
# 233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFIndex kCFStreamErrorDomainWinSock ;
# 245 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const int kCFStreamErrorDomainSOCKS;
static __inline__ __attribute__((always_inline))
SInt32 CFSocketStreamSOCKSGetErrorSubdomain(CFStreamError* error) {
return ((error->error >> 16) & 0x0000FFFF);
}
static __inline__ __attribute__((always_inline))
SInt32 CFSocketStreamSOCKSGetError(CFStreamError* error) {
return (error->error & 0x0000FFFF);
}
enum {
kCFStreamErrorSOCKSSubDomainNone = 0,
kCFStreamErrorSOCKSSubDomainVersionCode = 1,
kCFStreamErrorSOCKS4SubDomainResponse = 2,
kCFStreamErrorSOCKS5SubDomainUserPass = 3,
kCFStreamErrorSOCKS5SubDomainMethod = 4,
kCFStreamErrorSOCKS5SubDomainResponse = 5
};
enum {
kCFStreamErrorSOCKS5BadResponseAddr = 1,
kCFStreamErrorSOCKS5BadState = 2,
kCFStreamErrorSOCKSUnknownClientVersion = 3
};
enum {
kCFStreamErrorSOCKS4RequestFailed = 91,
kCFStreamErrorSOCKS4IdentdFailed = 92,
kCFStreamErrorSOCKS4IdConflict = 93
};
enum {
kSOCKS5NoAcceptableMethod = 0xFF
};
# 308 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSProxy;
# 324 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSProxyHost;
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSProxyPort;
# 358 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSVersion;
# 372 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSOCKSVersion4;
# 386 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSOCKSVersion5;
# 404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSUser;
# 422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSPassword;
# 435 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const int kCFStreamErrorDomainSSL;
# 453 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySocketSecurityLevel;
# 467 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSecurityLevelNone;
# 481 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSecurityLevelSSLv2;
# 495 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSecurityLevelSSLv3;
# 509 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSecurityLevelTLSv1;
# 524 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSecurityLevelNegotiatedSSL;
# 545 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertyShouldCloseNativeSocket;
# 560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySocketRemoteHost ;
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySocketRemoteNetService ;
# 616 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern void
CFStreamCreatePairWithSocketToCFHost(
CFAllocatorRef alloc,
CFHostRef host,
SInt32 port,
CFReadStreamRef * readStream,
CFWriteStreamRef * writeStream) ;
# 661 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern void
CFStreamCreatePairWithSocketToNetService(
CFAllocatorRef alloc,
CFNetServiceRef service,
CFReadStreamRef * readStream,
CFWriteStreamRef * writeStream) ;
# 680 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
enum CFStreamSocketSecurityProtocol {
kCFStreamSocketSecurityNone = 0,
kCFStreamSocketSecuritySSLv2 = 1,
kCFStreamSocketSecuritySSLv3 = 2,
kCFStreamSocketSecuritySSLv23 = 3,
kCFStreamSocketSecurityTLSv1 = 4
};
typedef enum CFStreamSocketSecurityProtocol CFStreamSocketSecurityProtocol;
# 744 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern Boolean
CFSocketStreamPairSetSecurityProtocol(
CFReadStreamRef socketReadStream,
CFWriteStreamRef socketWriteStream,
CFStreamSocketSecurityProtocol securityProtocol) __attribute__((deprecated));
# 767 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertyProxyLocalBypass ;
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
#define __CFFTPSTREAM__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 2 3
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const SInt32 kCFStreamErrorDomainFTP ;
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPUserName ;
# 91 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPPassword ;
# 107 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPUsePassiveMode ;
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPResourceSize ;
# 140 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPFetchResourceInfo ;
# 155 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPFileTransferOffset ;
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPAttemptPersistentConnection ;
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPProxy ;
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPProxyHost ;
# 224 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPProxyPort ;
# 234 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPProxyUser ;
# 243 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPProxyPassword ;
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceMode ;
# 280 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceName ;
# 295 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceOwner ;
# 310 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceGroup ;
# 326 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceLink ;
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceSize ;
# 356 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceType ;
# 371 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceModDate ;
# 410 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern CFReadStreamRef
CFReadStreamCreateWithFTPURL(
CFAllocatorRef alloc,
CFURLRef ftpURL) ;
# 458 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern CFIndex
CFFTPCreateParsedResourceListing(
CFAllocatorRef alloc,
const UInt8 * buffer,
CFIndex bufferLength,
CFDictionaryRef * parsed) ;
# 502 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern CFWriteStreamRef
CFWriteStreamCreateWithFTPURL(
CFAllocatorRef alloc,
CFURLRef ftpURL) ;
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
#define __CFHTTPMESSAGE__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 2 3
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPVersion1_0 ;
# 68 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPVersion1_1 ;
# 82 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPAuthenticationSchemeBasic ;
# 96 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPAuthenticationSchemeDigest ;
# 109 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPAuthenticationSchemeNTLM ;
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPAuthenticationSchemeNegotiate ;
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
typedef struct __CFHTTPMessage* CFHTTPMessageRef;
# 151 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFTypeID
CFHTTPMessageGetTypeID(void) ;
# 194 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFHTTPMessageRef
CFHTTPMessageCreateRequest(
CFAllocatorRef alloc,
CFStringRef requestMethod,
CFURLRef url,
CFStringRef httpVersion) ;
# 241 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFHTTPMessageRef
CFHTTPMessageCreateResponse(
CFAllocatorRef alloc,
CFIndex statusCode,
CFStringRef statusDescription,
CFStringRef httpVersion) ;
# 281 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFHTTPMessageRef
CFHTTPMessageCreateEmpty(
CFAllocatorRef alloc,
Boolean isRequest) ;
# 318 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFHTTPMessageRef
CFHTTPMessageCreateCopy(
CFAllocatorRef alloc,
CFHTTPMessageRef message) ;
# 349 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern Boolean
CFHTTPMessageIsRequest(CFHTTPMessageRef message) ;
# 377 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFStringRef
CFHTTPMessageCopyVersion(CFHTTPMessageRef message) ;
# 405 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFDataRef
CFHTTPMessageCopyBody(CFHTTPMessageRef message) ;
# 433 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern void
CFHTTPMessageSetBody(
CFHTTPMessageRef message,
CFDataRef bodyData) ;
# 467 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFStringRef
CFHTTPMessageCopyHeaderFieldValue(
CFHTTPMessageRef message,
CFStringRef headerField) ;
# 497 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFDictionaryRef
CFHTTPMessageCopyAllHeaderFields(CFHTTPMessageRef message) ;
# 529 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern void
CFHTTPMessageSetHeaderFieldValue(
CFHTTPMessageRef message,
CFStringRef headerField,
CFStringRef value) ;
# 568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern Boolean
CFHTTPMessageAppendBytes(
CFHTTPMessageRef message,
const UInt8 * newBytes,
CFIndex numBytes) ;
# 599 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern Boolean
CFHTTPMessageIsHeaderComplete(CFHTTPMessageRef message) ;
# 628 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFDataRef
CFHTTPMessageCopySerializedMessage(CFHTTPMessageRef request) ;
# 659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFURLRef
CFHTTPMessageCopyRequestURL(CFHTTPMessageRef request) ;
# 686 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFStringRef
CFHTTPMessageCopyRequestMethod(CFHTTPMessageRef request) ;
# 735 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern Boolean
CFHTTPMessageAddAuthentication(
CFHTTPMessageRef request,
CFHTTPMessageRef authenticationFailureResponse,
CFStringRef username,
CFStringRef password,
CFStringRef authenticationScheme,
Boolean forProxy) ;
# 772 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFIndex
CFHTTPMessageGetResponseStatusCode(CFHTTPMessageRef response) ;
# 801 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFStringRef
CFHTTPMessageCopyResponseStatusLine(CFHTTPMessageRef response) ;
# 46 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
#define __CFHTTPSTREAM__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 2 3
# 60 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const SInt32 kCFStreamErrorDomainHTTP ;
enum CFStreamErrorHTTP {
kCFStreamErrorHTTPParseFailure = -1,
kCFStreamErrorHTTPRedirectionLoop = -2,
kCFStreamErrorHTTPBadURL = -3
};
typedef enum CFStreamErrorHTTP CFStreamErrorHTTP;
# 99 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPResponseHeader ;
# 116 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPFinalURL ;
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPFinalRequest ;
# 152 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPProxy ;
# 167 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPProxyHost ;
# 181 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPProxyPort ;
# 196 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPSProxyHost ;
# 211 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPSProxyPort ;
# 227 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPShouldAutoredirect ;
# 245 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPAttemptPersistentConnection ;
# 262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPRequestBytesWrittenCount ;
# 304 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern CFReadStreamRef
CFReadStreamCreateForHTTPRequest(
CFAllocatorRef alloc,
CFHTTPMessageRef request) ;
# 354 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern CFReadStreamRef
CFReadStreamCreateForStreamedHTTPRequest(
CFAllocatorRef alloc,
CFHTTPMessageRef requestHeaders,
CFReadStreamRef requestBody) ;
# 384 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern void
CFHTTPReadStreamSetRedirectsAutomatically(
CFReadStreamRef httpStream,
Boolean shouldAutoRedirect) __attribute__((deprecated));
# 415 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern void
CFHTTPReadStreamSetProxy(
CFReadStreamRef httpStream,
CFStringRef proxyHost,
CFIndex proxyPort) __attribute__((deprecated));
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
#define __CFHTTPAUTHENTICATION__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 2 3
# 56 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
typedef struct _CFHTTPAuthentication* CFHTTPAuthenticationRef;
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
enum CFStreamErrorHTTPAuthentication {
kCFStreamErrorHTTPAuthenticationTypeUnsupported = -1000,
kCFStreamErrorHTTPAuthenticationBadUserName = -1001,
kCFStreamErrorHTTPAuthenticationBadPassword = -1002
};
typedef enum CFStreamErrorHTTPAuthentication CFStreamErrorHTTPAuthentication;
# 102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern const CFStringRef kCFHTTPAuthenticationUsername ;
# 117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern const CFStringRef kCFHTTPAuthenticationPassword ;
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern const CFStringRef kCFHTTPAuthenticationAccountDomain ;
# 148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern CFTypeID
CFHTTPAuthenticationGetTypeID(void) ;
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern CFHTTPAuthenticationRef
CFHTTPAuthenticationCreateFromResponse(
CFAllocatorRef alloc,
CFHTTPMessageRef response) ;
# 230 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPAuthenticationIsValid(
CFHTTPAuthenticationRef auth,
CFStreamError * error) ;
# 267 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPAuthenticationAppliesToRequest(
CFHTTPAuthenticationRef auth,
CFHTTPMessageRef request) ;
# 302 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPAuthenticationRequiresOrderedRequests(CFHTTPAuthenticationRef auth) ;
# 351 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPMessageApplyCredentials(
CFHTTPMessageRef request,
CFHTTPAuthenticationRef auth,
CFStringRef username,
CFStringRef password,
CFStreamError * error) ;
# 403 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPMessageApplyCredentialDictionary(
CFHTTPMessageRef request,
CFHTTPAuthenticationRef auth,
CFDictionaryRef dict,
CFStreamError * error) ;
# 442 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern CFStringRef
CFHTTPAuthenticationCopyRealm(CFHTTPAuthenticationRef auth) ;
# 477 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern CFArrayRef
CFHTTPAuthenticationCopyDomains(CFHTTPAuthenticationRef auth) ;
# 510 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern CFStringRef
CFHTTPAuthenticationCopyMethod(CFHTTPAuthenticationRef auth) ;
# 542 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPAuthenticationRequiresUserNameAndPassword(CFHTTPAuthenticationRef auth) ;
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPAuthenticationRequiresAccountDomain(CFHTTPAuthenticationRef auth) ;
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 1 3
# 18 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
#define __CFNETDIAGNOSTICS__
# 49 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
typedef struct __CFNetDiagnostic* CFNetDiagnosticRef;
enum CFNetDiagnosticStatusValues {
kCFNetDiagnosticNoErr = 0,
kCFNetDiagnosticErr = -66560L,
kCFNetDiagnosticConnectionUp = -66559L,
kCFNetDiagnosticConnectionIndeterminate = -66558L,
kCFNetDiagnosticConnectionDown = -66557L
};
typedef enum CFNetDiagnosticStatusValues CFNetDiagnosticStatusValues;
# 89 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
typedef CFIndex CFNetDiagnosticStatus;
# 118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
extern CFNetDiagnosticRef
CFNetDiagnosticCreateWithStreams(
CFAllocatorRef alloc,
CFReadStreamRef readStream,
CFWriteStreamRef writeStream) ;
# 148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
extern CFNetDiagnosticRef
CFNetDiagnosticCreateWithURL(
CFAllocatorRef alloc,
CFURLRef url) ;
# 179 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
extern void
CFNetDiagnosticSetName(
CFNetDiagnosticRef details,
CFStringRef name) ;
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
extern CFNetDiagnosticStatus
CFNetDiagnosticDiagnoseProblemInteractively(CFNetDiagnosticRef details) ;
# 243 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
extern CFNetDiagnosticStatus
CFNetDiagnosticCopyNetworkStatusPassively(
CFNetDiagnosticRef details,
CFStringRef * description) ;
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
#define __CFPROXYSUPPORT__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 2 3
# 102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern CFArrayRef
CFNetworkCopyProxiesForURL(
CFURLRef url,
CFDictionaryRef proxySettings) ;
# 136 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
typedef void ( * CFProxyAutoConfigurationResultCallback)(void *client, CFArrayRef proxyList, CFErrorRef error);
# 167 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern CFArrayRef
CFNetworkCopyProxiesForAutoConfigurationScript(
CFStringRef proxyAutoConfigurationScript,
CFURLRef targetURL) ;
# 187 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern CFRunLoopSourceRef
CFNetworkExecuteProxyAutoConfigurationURL(
CFURLRef proxyAutoConfigURL,
CFURLRef targetURL,
CFProxyAutoConfigurationResultCallback cb,
CFStreamClientContext * clientContext) ;
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeKey ;
# 223 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyHostNameKey ;
# 237 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyPortNumberKey ;
# 253 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyAutoConfigurationURLKey ;
# 269 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyUsernameKey ;
# 285 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyPasswordKey ;
# 304 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeNone ;
# 313 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeHTTP ;
# 322 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeHTTPS ;
# 331 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeSOCKS ;
# 340 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeFTP ;
# 349 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeAutoConfigurationURL ;
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 38 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 1 3
# 18 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 3
#define __LAUNCHSERVICES__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
#define __ICONSCORE__
# 40 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
enum {
kGenericDocumentIconResource = -4000,
kGenericStationeryIconResource = -3985,
kGenericEditionFileIconResource = -3989,
kGenericApplicationIconResource = -3996,
kGenericDeskAccessoryIconResource = -3991,
kGenericFolderIconResource = -3999,
kPrivateFolderIconResource = -3994,
kFloppyIconResource = -3998,
kTrashIconResource = -3993,
kGenericRAMDiskIconResource = -3988,
kGenericCDROMIconResource = -3987
};
enum {
kDesktopIconResource = -3992,
kOpenFolderIconResource = -3997,
kGenericHardDiskIconResource = -3995,
kGenericFileServerIconResource = -3972,
kGenericSuitcaseIconResource = -3970,
kGenericMoverObjectIconResource = -3969
};
enum {
kGenericPreferencesIconResource = -3971,
kGenericQueryDocumentIconResource = -16506,
kGenericExtensionIconResource = -16415,
kSystemFolderIconResource = -3983,
kHelpIconResource = -20271,
kAppleMenuFolderIconResource = -3982
};
enum {
genericDocumentIconResource = kGenericDocumentIconResource,
genericStationeryIconResource = kGenericStationeryIconResource,
genericEditionFileIconResource = kGenericEditionFileIconResource,
genericApplicationIconResource = kGenericApplicationIconResource,
genericDeskAccessoryIconResource = kGenericDeskAccessoryIconResource,
genericFolderIconResource = kGenericFolderIconResource,
privateFolderIconResource = kPrivateFolderIconResource,
floppyIconResource = kFloppyIconResource,
trashIconResource = kTrashIconResource,
genericRAMDiskIconResource = kGenericRAMDiskIconResource,
genericCDROMIconResource = kGenericCDROMIconResource,
desktopIconResource = kDesktopIconResource,
openFolderIconResource = kOpenFolderIconResource,
genericHardDiskIconResource = kGenericHardDiskIconResource,
genericFileServerIconResource = kGenericFileServerIconResource,
genericSuitcaseIconResource = kGenericSuitcaseIconResource,
genericMoverObjectIconResource = kGenericMoverObjectIconResource,
genericPreferencesIconResource = kGenericPreferencesIconResource,
genericQueryDocumentIconResource = kGenericQueryDocumentIconResource,
genericExtensionIconResource = kGenericExtensionIconResource,
systemFolderIconResource = kSystemFolderIconResource,
appleMenuFolderIconResource = kAppleMenuFolderIconResource
};
enum {
kStartupFolderIconResource = -3981,
kOwnedFolderIconResource = -3980,
kDropFolderIconResource = -3979,
kSharedFolderIconResource = -3978,
kMountedFolderIconResource = -3977,
kControlPanelFolderIconResource = -3976,
kPrintMonitorFolderIconResource = -3975,
kPreferencesFolderIconResource = -3974,
kExtensionsFolderIconResource = -3973,
kFontsFolderIconResource = -3968,
kFullTrashIconResource = -3984
};
enum {
startupFolderIconResource = kStartupFolderIconResource,
ownedFolderIconResource = kOwnedFolderIconResource,
dropFolderIconResource = kDropFolderIconResource,
sharedFolderIconResource = kSharedFolderIconResource,
mountedFolderIconResource = kMountedFolderIconResource,
controlPanelFolderIconResource = kControlPanelFolderIconResource,
printMonitorFolderIconResource = kPrintMonitorFolderIconResource,
preferencesFolderIconResource = kPreferencesFolderIconResource,
extensionsFolderIconResource = kExtensionsFolderIconResource,
fontsFolderIconResource = kFontsFolderIconResource,
fullTrashIconResource = kFullTrashIconResource
};
typedef struct OpaqueIconRef* IconRef;
# 152 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
enum {
kSystemIconsCreator = 'macs'
};
# 164 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
enum {
kClipboardIcon = 'CLIP',
kClippingUnknownTypeIcon = 'clpu',
kClippingPictureTypeIcon = 'clpp',
kClippingTextTypeIcon = 'clpt',
kClippingSoundTypeIcon = 'clps',
kDesktopIcon = 'desk',
kFinderIcon = 'FNDR',
kComputerIcon = 'root',
kFontSuitcaseIcon = 'FFIL',
kFullTrashIcon = 'ftrh',
kGenericApplicationIcon = 'APPL',
kGenericCDROMIcon = 'cddr',
kGenericControlPanelIcon = 'APPC',
kGenericControlStripModuleIcon = 'sdev',
kGenericComponentIcon = 'thng',
kGenericDeskAccessoryIcon = 'APPD',
kGenericDocumentIcon = 'docu',
kGenericEditionFileIcon = 'edtf',
kGenericExtensionIcon = 'INIT',
kGenericFileServerIcon = 'srvr',
kGenericFontIcon = 'ffil',
kGenericFontScalerIcon = 'sclr',
kGenericFloppyIcon = 'flpy',
kGenericHardDiskIcon = 'hdsk',
kGenericIDiskIcon = 'idsk',
kGenericRemovableMediaIcon = 'rmov',
kGenericMoverObjectIcon = 'movr',
kGenericPCCardIcon = 'pcmc',
kGenericPreferencesIcon = 'pref',
kGenericQueryDocumentIcon = 'qery',
kGenericRAMDiskIcon = 'ramd',
kGenericSharedLibaryIcon = 'shlb',
kGenericStationeryIcon = 'sdoc',
kGenericSuitcaseIcon = 'suit',
kGenericURLIcon = 'gurl',
kGenericWORMIcon = 'worm',
kInternationalResourcesIcon = 'ifil',
kKeyboardLayoutIcon = 'kfil',
kSoundFileIcon = 'sfil',
kSystemSuitcaseIcon = 'zsys',
kTrashIcon = 'trsh',
kTrueTypeFontIcon = 'tfil',
kTrueTypeFlatFontIcon = 'sfnt',
kTrueTypeMultiFlatFontIcon = 'ttcf',
kUserIDiskIcon = 'udsk',
kUnknownFSObjectIcon = 'unfs',
kInternationResourcesIcon = kInternationalResourcesIcon
};
enum {
kInternetLocationHTTPIcon = 'ilht',
kInternetLocationFTPIcon = 'ilft',
kInternetLocationAppleShareIcon = 'ilaf',
kInternetLocationAppleTalkZoneIcon = 'ilat',
kInternetLocationFileIcon = 'ilfi',
kInternetLocationMailIcon = 'ilma',
kInternetLocationNewsIcon = 'ilnw',
kInternetLocationNSLNeighborhoodIcon = 'ilns',
kInternetLocationGenericIcon = 'ilge'
};
enum {
kGenericFolderIcon = 'fldr',
kDropFolderIcon = 'dbox',
kMountedFolderIcon = 'mntd',
kOpenFolderIcon = 'ofld',
kOwnedFolderIcon = 'ownd',
kPrivateFolderIcon = 'prvf',
kSharedFolderIcon = 'shfl'
};
enum {
kSharingPrivsNotApplicableIcon = 'shna',
kSharingPrivsReadOnlyIcon = 'shro',
kSharingPrivsReadWriteIcon = 'shrw',
kSharingPrivsUnknownIcon = 'shuk',
kSharingPrivsWritableIcon = 'writ'
};
enum {
kUserFolderIcon = 'ufld',
kWorkgroupFolderIcon = 'wfld',
kGuestUserIcon = 'gusr',
kUserIcon = 'user',
kOwnerIcon = 'susr',
kGroupIcon = 'grup'
};
enum {
kAppearanceFolderIcon = 'appr',
kAppleExtrasFolderIcon = 0x616578C4 ,
kAppleMenuFolderIcon = 'amnu',
kApplicationsFolderIcon = 'apps',
kApplicationSupportFolderIcon = 'asup',
kAssistantsFolderIcon = 0x617374C4 ,
kColorSyncFolderIcon = 'prof',
kContextualMenuItemsFolderIcon = 'cmnu',
kControlPanelDisabledFolderIcon = 'ctrD',
kControlPanelFolderIcon = 'ctrl',
kControlStripModulesFolderIcon = 0x736476C4 ,
kDocumentsFolderIcon = 'docs',
kExtensionsDisabledFolderIcon = 'extD',
kExtensionsFolderIcon = 'extn',
kFavoritesFolderIcon = 'favs',
kFontsFolderIcon = 'font',
kHelpFolderIcon = (long)0xC4686C70 ,
kInternetFolderIcon = 0x696E74C4 ,
kInternetPlugInFolderIcon = (long)0xC46E6574 ,
kInternetSearchSitesFolderIcon = 'issf',
kLocalesFolderIcon = (long)0xC46C6F63 ,
kMacOSReadMeFolderIcon = 0x6D6F72C4 ,
kPublicFolderIcon = 'pubf',
kPreferencesFolderIcon = 0x707266C4 ,
kPrinterDescriptionFolderIcon = 'ppdf',
kPrinterDriverFolderIcon = (long)0xC4707264 ,
kPrintMonitorFolderIcon = 'prnt',
kRecentApplicationsFolderIcon = 'rapp',
kRecentDocumentsFolderIcon = 'rdoc',
kRecentServersFolderIcon = 'rsrv',
kScriptingAdditionsFolderIcon = (long)0xC4736372 ,
kSharedLibrariesFolderIcon = (long)0xC46C6962 ,
kScriptsFolderIcon = 0x736372C4 ,
kShutdownItemsDisabledFolderIcon = 'shdD',
kShutdownItemsFolderIcon = 'shdf',
kSpeakableItemsFolder = 'spki',
kStartupItemsDisabledFolderIcon = 'strD',
kStartupItemsFolderIcon = 'strt',
kSystemExtensionDisabledFolderIcon = 'macD',
kSystemFolderIcon = 'macs',
kTextEncodingsFolderIcon = (long)0xC4746578 ,
kUsersFolderIcon = 0x757372C4 ,
kUtilitiesFolderIcon = 0x757469C4 ,
kVoicesFolderIcon = 'fvoc'
};
enum {
kAppleScriptBadgeIcon = 'scrp',
kLockedBadgeIcon = 'lbdg',
kMountedBadgeIcon = 'mbdg',
kSharedBadgeIcon = 'sbdg',
kAliasBadgeIcon = 'abdg',
kAlertCautionBadgeIcon = 'cbdg'
};
enum {
kAlertNoteIcon = 'note',
kAlertCautionIcon = 'caut',
kAlertStopIcon = 'stop'
};
enum {
kAppleTalkIcon = 'atlk',
kAppleTalkZoneIcon = 'atzn',
kAFPServerIcon = 'afps',
kFTPServerIcon = 'ftps',
kHTTPServerIcon = 'htps',
kGenericNetworkIcon = 'gnet',
kIPFileServerIcon = 'isrv'
};
enum {
kToolbarCustomizeIcon = 'tcus',
kToolbarDeleteIcon = 'tdel',
kToolbarFavoritesIcon = 'tfav',
kToolbarHomeIcon = 'thom'
};
enum {
kAppleLogoIcon = 'capl',
kAppleMenuIcon = 'sapl',
kBackwardArrowIcon = 'baro',
kFavoriteItemsIcon = 'favr',
kForwardArrowIcon = 'faro',
kGridIcon = 'grid',
kHelpIcon = 'help',
kKeepArrangedIcon = 'arng',
kLockedIcon = 'lock',
kNoFilesIcon = 'nfil',
kNoFolderIcon = 'nfld',
kNoWriteIcon = 'nwrt',
kProtectedApplicationFolderIcon = 'papp',
kProtectedSystemFolderIcon = 'psys',
kRecentItemsIcon = 'rcnt',
kShortcutIcon = 'shrt',
kSortAscendingIcon = 'asnd',
kSortDescendingIcon = 'dsnd',
kUnlockedIcon = 'ulck',
kConnectToIcon = 'cnct',
kGenericWindowIcon = 'gwin',
kQuestionMarkIcon = 'ques',
kDeleteAliasIcon = 'dali',
kEjectMediaIcon = 'ejec',
kBurningIcon = 'burn',
kRightContainerArrowIcon = 'rcar'
};
typedef UInt32 IconServicesUsageFlags;
enum {
kIconServicesNormalUsageFlag = 0x00000000,
kIconServicesNoBadgeFlag = 0x00000001,
kIconServicesUpdateIfNeededFlag = 0x00000002
};
# 389 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
enum {
kIconServicesCatalogInfoMask = (kFSCatInfoNodeID | kFSCatInfoParentDirID | kFSCatInfoVolume | kFSCatInfoNodeFlags | kFSCatInfoFinderInfo | kFSCatInfoFinderXInfo | kFSCatInfoUserAccess | kFSCatInfoPermissions | kFSCatInfoContentMod)
};
# 420 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetIconRefOwners(
IconRef theIconRef,
UInt16 * owners) ;
# 443 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
AcquireIconRef(IconRef theIconRef) ;
# 469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
ReleaseIconRef(IconRef theIconRef) ;
# 511 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetIconRefFromFile(
const FSSpec * theFile,
IconRef * theIconRef,
SInt16 * theLabel) __attribute__((deprecated));
# 546 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetIconRef(
SInt16 vRefNum,
OSType creator,
OSType iconType,
IconRef * theIconRef) ;
# 579 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetIconRefFromFolder(
SInt16 vRefNum,
SInt32 parentFolderID,
SInt32 folderID,
SInt8 attributes,
SInt8 accessPrivileges,
IconRef * theIconRef) ;
# 639 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSStatus
GetIconRefFromFileInfo(
const FSRef * inRef,
UniCharCount inFileNameLength,
const UniChar * inFileName,
FSCatalogInfoBitmap inWhichInfo,
const FSCatalogInfo * inCatalogInfo,
IconServicesUsageFlags inUsageFlags,
IconRef * outIconRef,
SInt16 * outLabel) ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetIconRefFromTypeInfo(
OSType inCreator,
OSType inType,
CFStringRef inExtension,
CFStringRef inMIMEType,
IconServicesUsageFlags inUsageFlags,
IconRef * outIconRef) ;
# 735 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSStatus
GetIconRefFromIconFamilyPtr(
const IconFamilyResource * inIconFamilyPtr,
Size inSize,
IconRef * outIconRef) ;
# 770 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSStatus
GetIconRefFromComponent(
Component inComponent,
IconRef * outIconRef) ;
# 806 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
RegisterIconRefFromIconFamily(
OSType creator,
OSType iconType,
IconFamilyHandle iconFamily,
IconRef * theIconRef) ;
# 838 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
RegisterIconRefFromResource(
OSType creator,
OSType iconType,
const FSSpec * resourceFile,
SInt16 resourceID,
IconRef * theIconRef) __attribute__((deprecated));
# 879 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSStatus
RegisterIconRefFromFSRef(
OSType creator,
OSType iconType,
const FSRef * iconFile,
IconRef * theIconRef) ;
# 906 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
UnregisterIconRef(
OSType creator,
OSType iconType) ;
# 937 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
UpdateIconRef(IconRef theIconRef) ;
# 962 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
OverrideIconRefFromResource(
IconRef theIconRef,
const FSSpec * resourceFile,
SInt16 resourceID) __attribute__((deprecated));
# 991 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
OverrideIconRef(
IconRef oldIconRef,
IconRef newIconRef) ;
# 1015 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
RemoveIconRefOverride(IconRef theIconRef) ;
# 1045 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
CompositeIconRef(
IconRef backgroundIconRef,
IconRef foregroundIconRef,
IconRef * compositeIconRef) ;
# 1070 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
IsIconRefComposite(
IconRef compositeIconRef,
IconRef * backgroundIconRef,
IconRef * foregroundIconRef) ;
# 1101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern Boolean
IsValidIconRef(IconRef theIconRef) ;
# 1133 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern Boolean
IsDataAvailableInIconRef(
OSType inIconKind,
IconRef inIconRef) ;
# 1166 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
FlushIconRefs(
OSType creator,
OSType iconType) __attribute__((deprecated));
# 1192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
FlushIconRefsByVolume(SInt16 vRefNum) __attribute__((deprecated));
# 1224 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
SetCustomIconsEnabled(
SInt16 vRefNum,
Boolean enableCustomIcons) ;
# 1248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetCustomIconsEnabled(
SInt16 vRefNum,
Boolean * customIconsEnabled) ;
# 1286 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
RegisterIconRefFromIconFile(
OSType creator,
OSType iconType,
const FSSpec * iconFile,
IconRef * theIconRef) __attribute__((deprecated));
# 1312 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
ReadIconFile(
const FSSpec * iconFile,
IconFamilyHandle * iconFamily) __attribute__((deprecated));
# 1335 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
WriteIconFile(
IconFamilyHandle iconFamily,
const FSSpec * iconFile) __attribute__((deprecated));
# 1367 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSStatus
ReadIconFromFSRef(
const FSRef * ref,
IconFamilyHandle * iconFamily) ;
# 22 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
#define __LSINFO__
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
#pragma pack(push, 2)
enum {
kLSAppInTrashErr = -10660,
kLSExecutableIncorrectFormat = -10661,
kLSAttributeNotFoundErr = -10662,
kLSAttributeNotSettableErr = -10663,
kLSUnknownErr = -10810,
kLSNotAnApplicationErr = -10811,
kLSNotInitializedErr = -10812,
kLSDataUnavailableErr = -10813,
kLSApplicationNotFoundErr = -10814,
kLSUnknownTypeErr = -10815,
kLSDataTooOldErr = -10816,
kLSDataErr = -10817,
kLSLaunchInProgressErr = -10818,
kLSNotRegisteredErr = -10819,
kLSAppDoesNotClaimTypeErr = -10820,
kLSAppDoesNotSupportSchemeWarning = -10821,
kLSServerCommunicationErr = -10822,
kLSCannotSetInfoErr = -10823,
kLSNoRegistrationInfoErr = -10824,
kLSIncompatibleSystemVersionErr = -10825,
kLSNoLaunchPermissionErr = -10826,
kLSNoExecutableErr = -10827,
kLSNoClassicEnvironmentErr = -10828,
kLSMultipleSessionsNotSupportedErr = -10829
};
typedef OptionBits LSInitializeFlags;
enum {
kLSInitializeDefaults = 0x00000001
};
enum {
kLSMinCatInfoBitmap = (kFSCatInfoNodeFlags | kFSCatInfoParentDirID | kFSCatInfoFinderInfo | kFSCatInfoFinderXInfo)
};
#define kLSInvalidExtensionIndex ULONG_MAX
typedef OptionBits LSRequestedInfo;
enum {
kLSRequestExtension = 0x00000001,
kLSRequestTypeCreator = 0x00000002,
kLSRequestBasicFlagsOnly = 0x00000004,
kLSRequestAppTypeFlags = 0x00000008,
kLSRequestAllFlags = 0x00000010,
kLSRequestIconAndKind = 0x00000020,
kLSRequestExtensionFlagsOnly = 0x00000040,
kLSRequestAllInfo = (UInt32)0xFFFFFFFF
};
typedef OptionBits LSItemInfoFlags;
enum {
kLSItemInfoIsPlainFile = 0x00000001,
kLSItemInfoIsPackage = 0x00000002,
kLSItemInfoIsApplication = 0x00000004,
kLSItemInfoIsContainer = 0x00000008,
kLSItemInfoIsAliasFile = 0x00000010,
kLSItemInfoIsSymlink = 0x00000020,
kLSItemInfoIsInvisible = 0x00000040,
kLSItemInfoIsNativeApp = 0x00000080,
kLSItemInfoIsClassicApp = 0x00000100,
kLSItemInfoAppPrefersNative = 0x00000200,
kLSItemInfoAppPrefersClassic = 0x00000400,
kLSItemInfoAppIsScriptable = 0x00000800,
kLSItemInfoIsVolume = 0x00001000,
kLSItemInfoExtensionIsHidden = 0x00100000
};
typedef OptionBits LSRolesMask;
enum {
kLSRolesNone = 0x00000001,
kLSRolesViewer = 0x00000002,
kLSRolesEditor = 0x00000004,
kLSRolesShell = 0x00000008,
kLSRolesAll = (UInt32)0xFFFFFFFF
};
typedef UInt32 LSKindID;
enum {
kLSUnknownKindID = 0
};
enum {
kLSUnknownType = 0,
kLSUnknownCreator = 0
};
struct LSItemInfoRecord {
LSItemInfoFlags flags;
OSType filetype;
OSType creator;
CFStringRef extension;
CFStringRef iconFileName;
LSKindID kindID;
};
typedef struct LSItemInfoRecord LSItemInfoRecord;
typedef OptionBits LSAcceptanceFlags;
enum {
kLSAcceptDefault = 0x00000001,
kLSAcceptAllowLoginUI = 0x00000002
};
# 168 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSInit(LSInitializeFlags inFlags) __attribute__((deprecated));
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSTerm(void) __attribute__((deprecated));
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyItemInfoForRef(
const FSRef * inItemRef,
LSRequestedInfo inWhichInfo,
LSItemInfoRecord * outItemInfo) ;
# 254 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyItemInfoForURL(
CFURLRef inURL,
LSRequestedInfo inWhichInfo,
LSItemInfoRecord * outItemInfo) ;
# 293 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSGetExtensionInfo(
UniCharCount inNameLen,
const UniChar inNameBuffer[],
UniCharCount * outExtStartIndex) ;
# 328 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyDisplayNameForRef(
const FSRef * inRef,
CFStringRef * outDisplayName) ;
# 362 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyDisplayNameForURL(
CFURLRef inURL,
CFStringRef * outDisplayName) ;
# 397 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetExtensionHiddenForRef(
const FSRef * inRef,
Boolean inHide) ;
# 432 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetExtensionHiddenForURL(
CFURLRef inURL,
Boolean inHide) ;
# 466 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyKindStringForRef(
const FSRef * inFSRef,
CFStringRef * outKindString) ;
# 500 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyKindStringForURL(
CFURLRef inURL,
CFStringRef * outKindString) ;
# 551 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyKindStringForTypeInfo(
OSType inType,
OSType inCreator,
CFStringRef inExtension,
CFStringRef * outKindString) ;
# 587 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyKindStringForMIMEType(
CFStringRef inMIMEType,
CFStringRef * outKindString) ;
# 633 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSGetApplicationForItem(
const FSRef * inItemRef,
LSRolesMask inRoleMask,
FSRef * outAppRef,
CFURLRef * outAppURL) ;
# 690 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSGetApplicationForInfo(
OSType inType,
OSType inCreator,
CFStringRef inExtension,
LSRolesMask inRoleMask,
FSRef * outAppRef,
CFURLRef * outAppURL) ;
# 736 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyApplicationForMIMEType(
CFStringRef inMIMEType,
LSRolesMask inRoleMask,
CFURLRef * outAppURL) ;
# 784 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSGetApplicationForURL(
CFURLRef inURL,
LSRolesMask inRoleMask,
FSRef * outAppRef,
CFURLRef * outAppURL) ;
# 835 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSFindApplicationForInfo(
OSType inCreator,
CFStringRef inBundleID,
CFStringRef inName,
FSRef * outAppRef,
CFURLRef * outAppURL) ;
# 883 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCanRefAcceptItem(
const FSRef * inItemFSRef,
const FSRef * inTargetRef,
LSRolesMask inRoleMask,
LSAcceptanceFlags inFlags,
Boolean * outAcceptsItem) ;
# 931 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCanURLAcceptURL(
CFURLRef inItemURL,
CFURLRef inTargetURL,
LSRolesMask inRoleMask,
LSAcceptanceFlags inFlags,
Boolean * outAcceptsItem) ;
# 974 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSRegisterURL(
CFURLRef inURL,
Boolean inUpdate) ;
# 1013 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSRegisterFSRef(
const FSRef * inRef,
Boolean inUpdate) ;
# 1056 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern CFArrayRef
LSCopyApplicationURLsForURL(
CFURLRef inURL,
LSRolesMask inRoleMask) ;
# 1141 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemContentType ;
# 1150 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemFileType ;
# 1159 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemFileCreator ;
# 1168 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemExtension ;
# 1177 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemDisplayName ;
# 1186 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemDisplayKind ;
# 1195 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemRoleHandlerDisplayName ;
# 1204 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemIsInvisible ;
# 1213 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemExtensionIsHidden ;
# 1222 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemQuarantineProperties ;
# 1259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyItemAttribute(
const FSRef * inItem,
LSRolesMask inRoles,
CFStringRef inAttributeName,
CFTypeRef * outValue) ;
# 1307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyItemAttributes(
const FSRef * inItem,
LSRolesMask inRoles,
CFArrayRef inAttributeNames,
CFDictionaryRef * outValues) ;
# 1351 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetItemAttribute(
const FSRef * inItem,
LSRolesMask inRoles,
CFStringRef inAttributeName,
CFTypeRef inValue) ;
# 1383 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern CFStringRef
LSCopyDefaultRoleHandlerForContentType(
CFStringRef inContentType,
LSRolesMask inRole) ;
# 1411 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern CFArrayRef
LSCopyAllRoleHandlersForContentType(
CFStringRef inContentType,
LSRolesMask inRole) ;
# 1437 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetDefaultRoleHandlerForContentType(
CFStringRef inContentType,
LSRolesMask inRole,
CFStringRef inHandlerBundleID) ;
# 1456 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
typedef OptionBits LSHandlerOptions;
enum {
kLSHandlerOptionsDefault = 0,
kLSHandlerOptionsIgnoreCreator = 1
};
# 1479 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern LSHandlerOptions
LSGetHandlerOptionsForContentType(CFStringRef inContentType) ;
# 1500 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetHandlerOptionsForContentType(
CFStringRef inContentType,
LSHandlerOptions inOptions) ;
# 1525 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern CFStringRef
LSCopyDefaultHandlerForURLScheme(CFStringRef inURLScheme) ;
# 1550 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern CFArrayRef
LSCopyAllHandlersForURLScheme(CFStringRef inURLScheme) ;
# 1573 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetDefaultHandlerForURLScheme(
CFStringRef inURLScheme,
CFStringRef inHandlerBundleID) ;
#pragma pack(pop)
# 26 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
#define __LSOPEN__
# 48 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
#pragma pack(push, 2)
typedef OptionBits LSLaunchFlags;
enum {
kLSLaunchDefaults = 0x00000001,
kLSLaunchAndPrint = 0x00000002,
kLSLaunchReserved2 = 0x00000004,
kLSLaunchReserved3 = 0x00000008,
kLSLaunchReserved4 = 0x00000010,
kLSLaunchReserved5 = 0x00000020,
kLSLaunchAndDisplayErrors = 0x00000040,
kLSLaunchInhibitBGOnly = 0x00000080,
kLSLaunchDontAddToRecents = 0x00000100,
kLSLaunchDontSwitch = 0x00000200,
kLSLaunchNoParams = 0x00000800,
kLSLaunchAsync = 0x00010000,
kLSLaunchStartClassic = 0x00020000,
kLSLaunchInClassic = 0x00040000,
kLSLaunchNewInstance = 0x00080000,
kLSLaunchAndHide = 0x00100000,
kLSLaunchAndHideOthers = 0x00200000,
kLSLaunchHasUntrustedContents = 0x00400000
};
struct LSLaunchFSRefSpec {
const FSRef * appRef;
ItemCount numDocs;
const FSRef * itemRefs;
const AEDesc * passThruParams;
LSLaunchFlags launchFlags;
void * asyncRefCon;
};
typedef struct LSLaunchFSRefSpec LSLaunchFSRefSpec;
struct LSLaunchURLSpec {
CFURLRef appURL;
CFArrayRef itemURLs;
const AEDesc * passThruParams;
LSLaunchFlags launchFlags;
void * asyncRefCon;
};
typedef struct LSLaunchURLSpec LSLaunchURLSpec;
# 131 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenFSRef(
const FSRef * inRef,
FSRef * outLaunchedRef) ;
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenCFURLRef(
CFURLRef inURL,
CFURLRef * outLaunchedURL) ;
# 205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenFromRefSpec(
const LSLaunchFSRefSpec * inLaunchSpec,
FSRef * outLaunchedRef) ;
# 241 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenFromURLSpec(
const LSLaunchURLSpec * inLaunchSpec,
CFURLRef * outLaunchedURL) ;
# 262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
struct LSApplicationParameters {
CFIndex version;
LSLaunchFlags flags;
const FSRef * application;
void * asyncLaunchRefCon;
CFDictionaryRef environment;
CFArrayRef argv;
AppleEvent * initialEvent;
};
typedef struct LSApplicationParameters LSApplicationParameters;
# 301 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenApplication(
const LSApplicationParameters * appParams,
ProcessSerialNumber * outPSN) ;
# 346 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenItemsWithRole(
const FSRef * inItems,
CFIndex inItemCount,
LSRolesMask inRole,
const AEKeyDesc * inAEParam,
const LSApplicationParameters * inAppParams,
ProcessSerialNumber * outPSNs,
CFIndex inMaxPSNCount) ;
# 399 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenURLsWithRole(
CFArrayRef inURLs,
LSRolesMask inRole,
const AEKeyDesc * inAEParam,
const LSApplicationParameters * inAppParams,
ProcessSerialNumber * outPSNs,
CFIndex inMaxPSNCount) ;
#pragma pack(pop)
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
#define __LSQUARANTINE__
# 100 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineAgentNameKey ;
# 109 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineAgentBundleIdentifierKey ;
# 118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTimeStampKey ;
# 127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeKey ;
# 136 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeWebDownload ;
# 145 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeOtherDownload ;
# 154 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeEmailAttachment ;
# 163 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeInstantMessageAttachment ;
# 172 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeCalendarEventAttachment ;
# 181 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeOtherAttachment ;
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineOriginURLKey ;
# 199 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineDataURLKey ;
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
#define __LSSHAREDFILELIST__
# 32 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 1 3
# 24 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h" 3
#define _CSSMCONFIG_H_ 1
# 1 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h" 2 3
# 44 "/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h" 3
typedef int64_t sint64;
#define _SINT64
typedef uint64_t uint64;
#define _UINT64
typedef int32_t sint32;
#define _SINT32
typedef int16_t sint16;
#define _SINT16
typedef int8_t sint8;
#define _SINT8
typedef uint32_t uint32;
#define _UINT32
typedef uint16_t uint16;
#define _UINT16
typedef uint8_t uint8;
#define _UINT8
typedef intptr_t CSSM_INTPTR;
typedef size_t CSSM_SIZE;
#define CSSMACI
#define CSSMAPI
#define CSSMCLI
#define CSSMCSPI
#define CSSMDLI
#define CSSMKRI
#define CSSMSPI
#define CSSMTPI
# 25 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
#define _CSSMAPPLE_H_ 1
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmerr.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmerr.h" 3
#define _CSSMERR_H_ 1
# 43 "/System/Library/Frameworks/Security.framework/Headers/cssmerr.h" 3
enum {
CSSM_BASE_ERROR = -0x7FFF0000
};
enum {
CSSM_ERRORCODE_MODULE_EXTENT = 0x00000800,
CSSM_ERRORCODE_CUSTOM_OFFSET = 0x00000400,
CSSM_ERRORCODE_COMMON_EXTENT = 0x100
};
#define CSSM_ERRCODE(CODE) (((CODE) - CSSM_BASE_ERROR) & (CSSM_ERRORCODE_MODULE_EXTENT - 1))
#define CSSM_ERRBASE(CODE) ((((CODE) - CSSM_BASE_ERROR) & ~(CSSM_ERRORCODE_MODULE_EXTENT - 1)) + CSSM_BASE_ERROR)
#define CSSM_ERR_IS_CONVERTIBLE(CODE) (CSSM_ERRCODE(CODE) < CSSM_ERRORCODE_COMMON_EXTENT)
#define CSSM_ERR_TAG(CODE,BASE) (CSSM_ERRCODE(CODE) + (BASE))
enum {
CSSM_CSSM_BASE_ERROR = CSSM_BASE_ERROR,
CSSM_CSSM_PRIVATE_ERROR = CSSM_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET,
CSSM_CSP_BASE_ERROR = CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_CSP_PRIVATE_ERROR = CSSM_CSP_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET,
CSSM_DL_BASE_ERROR = CSSM_CSP_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_DL_PRIVATE_ERROR = CSSM_DL_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET,
CSSM_CL_BASE_ERROR = CSSM_DL_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_CL_PRIVATE_ERROR = CSSM_CL_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET,
CSSM_TP_BASE_ERROR = CSSM_CL_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_TP_PRIVATE_ERROR = CSSM_TP_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET ,
CSSM_KR_BASE_ERROR = CSSM_TP_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_KR_PRIVATE_ERROR = CSSM_KR_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET,
CSSM_AC_BASE_ERROR = CSSM_KR_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_AC_PRIVATE_ERROR = CSSM_AC_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET
};
enum {
CSSM_MDS_BASE_ERROR = CSSM_CSP_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_MDS_PRIVATE_ERROR = CSSM_MDS_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET
};
enum {
CSSMERR_CSSM_INVALID_ADDIN_HANDLE =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 1,
CSSMERR_CSSM_NOT_INITIALIZED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 2,
CSSMERR_CSSM_INVALID_HANDLE_USAGE =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 3,
CSSMERR_CSSM_PVC_REFERENT_NOT_FOUND =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 4,
CSSMERR_CSSM_FUNCTION_INTEGRITY_FAIL =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 5
};
enum {
CSSM_ERRCODE_INTERNAL_ERROR = 0x0001,
CSSM_ERRCODE_MEMORY_ERROR = 0x0002,
CSSM_ERRCODE_MDS_ERROR = 0x0003,
CSSM_ERRCODE_INVALID_POINTER = 0x0004,
CSSM_ERRCODE_INVALID_INPUT_POINTER = 0x0005,
CSSM_ERRCODE_INVALID_OUTPUT_POINTER = 0x0006,
CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED = 0x0007,
CSSM_ERRCODE_SELF_CHECK_FAILED = 0x0008,
CSSM_ERRCODE_OS_ACCESS_DENIED = 0x0009,
CSSM_ERRCODE_FUNCTION_FAILED = 0x000A,
CSSM_ERRCODE_MODULE_MANIFEST_VERIFY_FAILED = 0x000B,
CSSM_ERRCODE_INVALID_GUID = 0x000C
};
enum {
CSSM_ERRCODE_OPERATION_AUTH_DENIED = 0x0020,
CSSM_ERRCODE_OBJECT_USE_AUTH_DENIED = 0x0021,
CSSM_ERRCODE_OBJECT_MANIP_AUTH_DENIED = 0x0022,
CSSM_ERRCODE_OBJECT_ACL_NOT_SUPPORTED = 0x0023,
CSSM_ERRCODE_OBJECT_ACL_REQUIRED = 0x0024,
CSSM_ERRCODE_INVALID_ACCESS_CREDENTIALS = 0x0025,
CSSM_ERRCODE_INVALID_ACL_BASE_CERTS = 0x0026,
CSSM_ERRCODE_ACL_BASE_CERTS_NOT_SUPPORTED = 0x0027,
CSSM_ERRCODE_INVALID_SAMPLE_VALUE = 0x0028,
CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED = 0x0029,
CSSM_ERRCODE_INVALID_ACL_SUBJECT_VALUE = 0x002A,
CSSM_ERRCODE_ACL_SUBJECT_TYPE_NOT_SUPPORTED = 0x002B,
CSSM_ERRCODE_INVALID_ACL_CHALLENGE_CALLBACK = 0x002C,
CSSM_ERRCODE_ACL_CHALLENGE_CALLBACK_FAILED = 0x002D,
CSSM_ERRCODE_INVALID_ACL_ENTRY_TAG = 0x002E,
CSSM_ERRCODE_ACL_ENTRY_TAG_NOT_FOUND = 0x002F,
CSSM_ERRCODE_INVALID_ACL_EDIT_MODE = 0x0030,
CSSM_ERRCODE_ACL_CHANGE_FAILED = 0x0031,
CSSM_ERRCODE_INVALID_NEW_ACL_ENTRY = 0x0032,
CSSM_ERRCODE_INVALID_NEW_ACL_OWNER = 0x0033,
CSSM_ERRCODE_ACL_DELETE_FAILED = 0x0034,
CSSM_ERRCODE_ACL_REPLACE_FAILED = 0x0035,
CSSM_ERRCODE_ACL_ADD_FAILED = 0x0036
};
enum {
CSSM_ERRCODE_INVALID_CONTEXT_HANDLE = 0x0040,
CSSM_ERRCODE_INCOMPATIBLE_VERSION = 0x0041,
CSSM_ERRCODE_INVALID_CERTGROUP_POINTER = 0x0042,
CSSM_ERRCODE_INVALID_CERT_POINTER = 0x0043,
CSSM_ERRCODE_INVALID_CRL_POINTER = 0x0044,
CSSM_ERRCODE_INVALID_FIELD_POINTER = 0x0045,
CSSM_ERRCODE_INVALID_DATA = 0x0046,
CSSM_ERRCODE_CRL_ALREADY_SIGNED = 0x0047,
CSSM_ERRCODE_INVALID_NUMBER_OF_FIELDS = 0x0048,
CSSM_ERRCODE_VERIFICATION_FAILURE = 0x0049,
CSSM_ERRCODE_INVALID_DB_HANDLE = 0x004A,
CSSM_ERRCODE_PRIVILEGE_NOT_GRANTED = 0x004B,
CSSM_ERRCODE_INVALID_DB_LIST = 0x004C,
CSSM_ERRCODE_INVALID_DB_LIST_POINTER = 0x004D,
CSSM_ERRCODE_UNKNOWN_FORMAT = 0x004E,
CSSM_ERRCODE_UNKNOWN_TAG = 0x004F,
CSSM_ERRCODE_INVALID_CSP_HANDLE = 0x0050,
CSSM_ERRCODE_INVALID_DL_HANDLE = 0x0051,
CSSM_ERRCODE_INVALID_CL_HANDLE = 0x0052,
CSSM_ERRCODE_INVALID_TP_HANDLE = 0x0053,
CSSM_ERRCODE_INVALID_KR_HANDLE = 0x0054,
CSSM_ERRCODE_INVALID_AC_HANDLE = 0x0055,
CSSM_ERRCODE_INVALID_PASSTHROUGH_ID = 0x0056,
CSSM_ERRCODE_INVALID_NETWORK_ADDR = 0x0057,
CSSM_ERRCODE_INVALID_CRYPTO_DATA = 0x0058
};
enum {
CSSMERR_CSSM_INTERNAL_ERROR =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_CSSM_MEMORY_ERROR =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_CSSM_MDS_ERROR =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_CSSM_INVALID_POINTER =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_CSSM_INVALID_INPUT_POINTER =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_CSSM_INVALID_OUTPUT_POINTER =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_CSSM_FUNCTION_NOT_IMPLEMENTED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_CSSM_SELF_CHECK_FAILED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_CSSM_OS_ACCESS_DENIED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_CSSM_FUNCTION_FAILED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED,
CSSMERR_CSSM_MODULE_MANIFEST_VERIFY_FAILED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_MODULE_MANIFEST_VERIFY_FAILED,
CSSMERR_CSSM_INVALID_GUID =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INVALID_GUID
};
enum {
CSSMERR_CSSM_INVALID_CONTEXT_HANDLE =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INVALID_CONTEXT_HANDLE,
CSSMERR_CSSM_INCOMPATIBLE_VERSION =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INCOMPATIBLE_VERSION,
CSSMERR_CSSM_PRIVILEGE_NOT_GRANTED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_PRIVILEGE_NOT_GRANTED
};
enum {
CSSM_CSSM_BASE_CSSM_ERROR =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 0x10,
CSSMERR_CSSM_SCOPE_NOT_SUPPORTED = CSSM_CSSM_BASE_CSSM_ERROR + 1,
CSSMERR_CSSM_PVC_ALREADY_CONFIGURED = CSSM_CSSM_BASE_CSSM_ERROR + 2,
CSSMERR_CSSM_INVALID_PVC = CSSM_CSSM_BASE_CSSM_ERROR + 3,
CSSMERR_CSSM_EMM_LOAD_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 4,
CSSMERR_CSSM_EMM_UNLOAD_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 5,
CSSMERR_CSSM_ADDIN_LOAD_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 6,
CSSMERR_CSSM_INVALID_KEY_HIERARCHY = CSSM_CSSM_BASE_CSSM_ERROR + 7,
CSSMERR_CSSM_ADDIN_UNLOAD_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 8,
CSSMERR_CSSM_LIB_REF_NOT_FOUND = CSSM_CSSM_BASE_CSSM_ERROR + 9,
CSSMERR_CSSM_INVALID_ADDIN_FUNCTION_TABLE = CSSM_CSSM_BASE_CSSM_ERROR + 10,
CSSMERR_CSSM_EMM_AUTHENTICATE_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 11,
CSSMERR_CSSM_ADDIN_AUTHENTICATE_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 12,
CSSMERR_CSSM_INVALID_SERVICE_MASK = CSSM_CSSM_BASE_CSSM_ERROR + 13,
CSSMERR_CSSM_MODULE_NOT_LOADED = CSSM_CSSM_BASE_CSSM_ERROR + 14,
CSSMERR_CSSM_INVALID_SUBSERVICEID = CSSM_CSSM_BASE_CSSM_ERROR + 15,
CSSMERR_CSSM_BUFFER_TOO_SMALL = CSSM_CSSM_BASE_CSSM_ERROR + 16,
CSSMERR_CSSM_INVALID_ATTRIBUTE = CSSM_CSSM_BASE_CSSM_ERROR + 17,
CSSMERR_CSSM_ATTRIBUTE_NOT_IN_CONTEXT = CSSM_CSSM_BASE_CSSM_ERROR + 18,
CSSMERR_CSSM_MODULE_MANAGER_INITIALIZE_FAIL = CSSM_CSSM_BASE_CSSM_ERROR + 19,
CSSMERR_CSSM_MODULE_MANAGER_NOT_FOUND = CSSM_CSSM_BASE_CSSM_ERROR + 20,
CSSMERR_CSSM_EVENT_NOTIFICATION_CALLBACK_NOT_FOUND = CSSM_CSSM_BASE_CSSM_ERROR + 21
};
enum {
CSSMERR_CSP_INTERNAL_ERROR =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_CSP_MEMORY_ERROR =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_CSP_MDS_ERROR =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_CSP_INVALID_POINTER =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_CSP_INVALID_INPUT_POINTER =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_CSP_INVALID_OUTPUT_POINTER =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_CSP_FUNCTION_NOT_IMPLEMENTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_CSP_SELF_CHECK_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_CSP_OS_ACCESS_DENIED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_CSP_FUNCTION_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED
};
enum {
CSSMERR_CSP_OPERATION_AUTH_DENIED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OPERATION_AUTH_DENIED,
CSSMERR_CSP_OBJECT_USE_AUTH_DENIED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OBJECT_USE_AUTH_DENIED,
CSSMERR_CSP_OBJECT_MANIP_AUTH_DENIED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OBJECT_MANIP_AUTH_DENIED,
CSSMERR_CSP_OBJECT_ACL_NOT_SUPPORTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OBJECT_ACL_NOT_SUPPORTED,
CSSMERR_CSP_OBJECT_ACL_REQUIRED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OBJECT_ACL_REQUIRED,
CSSMERR_CSP_INVALID_ACCESS_CREDENTIALS =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACCESS_CREDENTIALS,
CSSMERR_CSP_INVALID_ACL_BASE_CERTS =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_BASE_CERTS,
CSSMERR_CSP_ACL_BASE_CERTS_NOT_SUPPORTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_BASE_CERTS_NOT_SUPPORTED,
CSSMERR_CSP_INVALID_SAMPLE_VALUE =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_SAMPLE_VALUE,
CSSMERR_CSP_SAMPLE_VALUE_NOT_SUPPORTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED,
CSSMERR_CSP_INVALID_ACL_SUBJECT_VALUE =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_SUBJECT_VALUE,
CSSMERR_CSP_ACL_SUBJECT_TYPE_NOT_SUPPORTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_SUBJECT_TYPE_NOT_SUPPORTED,
CSSMERR_CSP_INVALID_ACL_CHALLENGE_CALLBACK =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_CHALLENGE_CALLBACK,
CSSMERR_CSP_ACL_CHALLENGE_CALLBACK_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_CHALLENGE_CALLBACK_FAILED,
CSSMERR_CSP_INVALID_ACL_ENTRY_TAG =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_ENTRY_TAG,
CSSMERR_CSP_ACL_ENTRY_TAG_NOT_FOUND =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_ENTRY_TAG_NOT_FOUND,
CSSMERR_CSP_INVALID_ACL_EDIT_MODE =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_EDIT_MODE,
CSSMERR_CSP_ACL_CHANGE_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_CHANGE_FAILED,
CSSMERR_CSP_INVALID_NEW_ACL_ENTRY =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_NEW_ACL_ENTRY,
CSSMERR_CSP_INVALID_NEW_ACL_OWNER =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_NEW_ACL_OWNER,
CSSMERR_CSP_ACL_DELETE_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_DELETE_FAILED,
CSSMERR_CSP_ACL_REPLACE_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_REPLACE_FAILED,
CSSMERR_CSP_ACL_ADD_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_ADD_FAILED
};
enum {
CSSMERR_CSP_INVALID_CONTEXT_HANDLE =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_CONTEXT_HANDLE,
CSSMERR_CSP_PRIVILEGE_NOT_GRANTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_PRIVILEGE_NOT_GRANTED,
CSSMERR_CSP_INVALID_DATA =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_DATA,
CSSMERR_CSP_INVALID_PASSTHROUGH_ID =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_PASSTHROUGH_ID,
CSSMERR_CSP_INVALID_CRYPTO_DATA =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_CRYPTO_DATA
};
enum {
CSSM_CSP_BASE_CSP_ERROR =
CSSM_CSP_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT,
CSSMERR_CSP_INPUT_LENGTH_ERROR = CSSM_CSP_BASE_CSP_ERROR + 1,
CSSMERR_CSP_OUTPUT_LENGTH_ERROR = CSSM_CSP_BASE_CSP_ERROR + 2,
CSSMERR_CSP_PRIVILEGE_NOT_SUPPORTED = CSSM_CSP_BASE_CSP_ERROR + 3,
CSSMERR_CSP_DEVICE_ERROR = CSSM_CSP_BASE_CSP_ERROR + 4,
CSSMERR_CSP_DEVICE_MEMORY_ERROR = CSSM_CSP_BASE_CSP_ERROR + 5,
CSSMERR_CSP_ATTACH_HANDLE_BUSY = CSSM_CSP_BASE_CSP_ERROR + 6,
CSSMERR_CSP_NOT_LOGGED_IN = CSSM_CSP_BASE_CSP_ERROR + 7,
CSSMERR_CSP_INVALID_KEY = CSSM_CSP_BASE_CSP_ERROR + 16,
CSSMERR_CSP_INVALID_KEY_REFERENCE = CSSM_CSP_BASE_CSP_ERROR + 17,
CSSMERR_CSP_INVALID_KEY_CLASS = CSSM_CSP_BASE_CSP_ERROR + 18,
CSSMERR_CSP_ALGID_MISMATCH = CSSM_CSP_BASE_CSP_ERROR + 19,
CSSMERR_CSP_KEY_USAGE_INCORRECT = CSSM_CSP_BASE_CSP_ERROR + 20,
CSSMERR_CSP_KEY_BLOB_TYPE_INCORRECT = CSSM_CSP_BASE_CSP_ERROR + 21,
CSSMERR_CSP_KEY_HEADER_INCONSISTENT = CSSM_CSP_BASE_CSP_ERROR + 22,
CSSMERR_CSP_UNSUPPORTED_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 23,
CSSMERR_CSP_UNSUPPORTED_KEY_SIZE = CSSM_CSP_BASE_CSP_ERROR + 24,
CSSMERR_CSP_INVALID_KEY_POINTER = CSSM_CSP_BASE_CSP_ERROR + 25,
CSSMERR_CSP_INVALID_KEYUSAGE_MASK = CSSM_CSP_BASE_CSP_ERROR + 26,
CSSMERR_CSP_UNSUPPORTED_KEYUSAGE_MASK = CSSM_CSP_BASE_CSP_ERROR + 27,
CSSMERR_CSP_INVALID_KEYATTR_MASK = CSSM_CSP_BASE_CSP_ERROR + 28,
CSSMERR_CSP_UNSUPPORTED_KEYATTR_MASK = CSSM_CSP_BASE_CSP_ERROR + 29,
CSSMERR_CSP_INVALID_KEY_LABEL = CSSM_CSP_BASE_CSP_ERROR + 30,
CSSMERR_CSP_UNSUPPORTED_KEY_LABEL = CSSM_CSP_BASE_CSP_ERROR + 31,
CSSMERR_CSP_INVALID_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 32,
CSSMERR_CSP_INVALID_DATA_COUNT = CSSM_CSP_BASE_CSP_ERROR + 40,
CSSMERR_CSP_VECTOR_OF_BUFS_UNSUPPORTED = CSSM_CSP_BASE_CSP_ERROR + 41,
CSSMERR_CSP_INVALID_INPUT_VECTOR = CSSM_CSP_BASE_CSP_ERROR + 42,
CSSMERR_CSP_INVALID_OUTPUT_VECTOR = CSSM_CSP_BASE_CSP_ERROR + 43,
CSSMERR_CSP_INVALID_CONTEXT = CSSM_CSP_BASE_CSP_ERROR + 48,
CSSMERR_CSP_INVALID_ALGORITHM = CSSM_CSP_BASE_CSP_ERROR + 49,
CSSMERR_CSP_INVALID_ATTR_KEY = CSSM_CSP_BASE_CSP_ERROR + 54,
CSSMERR_CSP_MISSING_ATTR_KEY = CSSM_CSP_BASE_CSP_ERROR + 55,
CSSMERR_CSP_INVALID_ATTR_INIT_VECTOR = CSSM_CSP_BASE_CSP_ERROR + 56,
CSSMERR_CSP_MISSING_ATTR_INIT_VECTOR = CSSM_CSP_BASE_CSP_ERROR + 57,
CSSMERR_CSP_INVALID_ATTR_SALT = CSSM_CSP_BASE_CSP_ERROR + 58,
CSSMERR_CSP_MISSING_ATTR_SALT = CSSM_CSP_BASE_CSP_ERROR + 59,
CSSMERR_CSP_INVALID_ATTR_PADDING = CSSM_CSP_BASE_CSP_ERROR + 60,
CSSMERR_CSP_MISSING_ATTR_PADDING = CSSM_CSP_BASE_CSP_ERROR + 61,
CSSMERR_CSP_INVALID_ATTR_RANDOM = CSSM_CSP_BASE_CSP_ERROR + 62,
CSSMERR_CSP_MISSING_ATTR_RANDOM = CSSM_CSP_BASE_CSP_ERROR + 63,
CSSMERR_CSP_INVALID_ATTR_SEED = CSSM_CSP_BASE_CSP_ERROR + 64,
CSSMERR_CSP_MISSING_ATTR_SEED = CSSM_CSP_BASE_CSP_ERROR + 65,
CSSMERR_CSP_INVALID_ATTR_PASSPHRASE = CSSM_CSP_BASE_CSP_ERROR + 66,
CSSMERR_CSP_MISSING_ATTR_PASSPHRASE = CSSM_CSP_BASE_CSP_ERROR + 67,
CSSMERR_CSP_INVALID_ATTR_KEY_LENGTH = CSSM_CSP_BASE_CSP_ERROR + 68,
CSSMERR_CSP_MISSING_ATTR_KEY_LENGTH = CSSM_CSP_BASE_CSP_ERROR + 69,
CSSMERR_CSP_INVALID_ATTR_BLOCK_SIZE = CSSM_CSP_BASE_CSP_ERROR + 70,
CSSMERR_CSP_MISSING_ATTR_BLOCK_SIZE = CSSM_CSP_BASE_CSP_ERROR + 71,
CSSMERR_CSP_INVALID_ATTR_OUTPUT_SIZE = CSSM_CSP_BASE_CSP_ERROR + 100,
CSSMERR_CSP_MISSING_ATTR_OUTPUT_SIZE = CSSM_CSP_BASE_CSP_ERROR + 101,
CSSMERR_CSP_INVALID_ATTR_ROUNDS = CSSM_CSP_BASE_CSP_ERROR + 102,
CSSMERR_CSP_MISSING_ATTR_ROUNDS = CSSM_CSP_BASE_CSP_ERROR + 103,
CSSMERR_CSP_INVALID_ATTR_ALG_PARAMS = CSSM_CSP_BASE_CSP_ERROR + 104,
CSSMERR_CSP_MISSING_ATTR_ALG_PARAMS = CSSM_CSP_BASE_CSP_ERROR + 105,
CSSMERR_CSP_INVALID_ATTR_LABEL = CSSM_CSP_BASE_CSP_ERROR + 106,
CSSMERR_CSP_MISSING_ATTR_LABEL = CSSM_CSP_BASE_CSP_ERROR + 107,
CSSMERR_CSP_INVALID_ATTR_KEY_TYPE = CSSM_CSP_BASE_CSP_ERROR + 108,
CSSMERR_CSP_MISSING_ATTR_KEY_TYPE = CSSM_CSP_BASE_CSP_ERROR + 109,
CSSMERR_CSP_INVALID_ATTR_MODE = CSSM_CSP_BASE_CSP_ERROR + 110,
CSSMERR_CSP_MISSING_ATTR_MODE = CSSM_CSP_BASE_CSP_ERROR + 111,
CSSMERR_CSP_INVALID_ATTR_EFFECTIVE_BITS = CSSM_CSP_BASE_CSP_ERROR + 112,
CSSMERR_CSP_MISSING_ATTR_EFFECTIVE_BITS = CSSM_CSP_BASE_CSP_ERROR + 113,
CSSMERR_CSP_INVALID_ATTR_START_DATE = CSSM_CSP_BASE_CSP_ERROR + 114,
CSSMERR_CSP_MISSING_ATTR_START_DATE = CSSM_CSP_BASE_CSP_ERROR + 115,
CSSMERR_CSP_INVALID_ATTR_END_DATE = CSSM_CSP_BASE_CSP_ERROR + 116,
CSSMERR_CSP_MISSING_ATTR_END_DATE = CSSM_CSP_BASE_CSP_ERROR + 117,
CSSMERR_CSP_INVALID_ATTR_VERSION = CSSM_CSP_BASE_CSP_ERROR + 118,
CSSMERR_CSP_MISSING_ATTR_VERSION = CSSM_CSP_BASE_CSP_ERROR + 119,
CSSMERR_CSP_INVALID_ATTR_PRIME = CSSM_CSP_BASE_CSP_ERROR + 120,
CSSMERR_CSP_MISSING_ATTR_PRIME = CSSM_CSP_BASE_CSP_ERROR + 121,
CSSMERR_CSP_INVALID_ATTR_BASE = CSSM_CSP_BASE_CSP_ERROR + 122,
CSSMERR_CSP_MISSING_ATTR_BASE = CSSM_CSP_BASE_CSP_ERROR + 123,
CSSMERR_CSP_INVALID_ATTR_SUBPRIME = CSSM_CSP_BASE_CSP_ERROR + 124,
CSSMERR_CSP_MISSING_ATTR_SUBPRIME = CSSM_CSP_BASE_CSP_ERROR + 125,
CSSMERR_CSP_INVALID_ATTR_ITERATION_COUNT = CSSM_CSP_BASE_CSP_ERROR + 126,
CSSMERR_CSP_MISSING_ATTR_ITERATION_COUNT = CSSM_CSP_BASE_CSP_ERROR + 127,
CSSMERR_CSP_INVALID_ATTR_DL_DB_HANDLE = CSSM_CSP_BASE_CSP_ERROR + 128,
CSSMERR_CSP_MISSING_ATTR_DL_DB_HANDLE = CSSM_CSP_BASE_CSP_ERROR + 129,
CSSMERR_CSP_INVALID_ATTR_ACCESS_CREDENTIALS = CSSM_CSP_BASE_CSP_ERROR + 130,
CSSMERR_CSP_MISSING_ATTR_ACCESS_CREDENTIALS = CSSM_CSP_BASE_CSP_ERROR + 131,
CSSMERR_CSP_INVALID_ATTR_PUBLIC_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 132,
CSSMERR_CSP_MISSING_ATTR_PUBLIC_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 133,
CSSMERR_CSP_INVALID_ATTR_PRIVATE_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 134,
CSSMERR_CSP_MISSING_ATTR_PRIVATE_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 135,
CSSMERR_CSP_INVALID_ATTR_SYMMETRIC_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 136,
CSSMERR_CSP_MISSING_ATTR_SYMMETRIC_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 137,
CSSMERR_CSP_INVALID_ATTR_WRAPPED_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 138,
CSSMERR_CSP_MISSING_ATTR_WRAPPED_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 139,
CSSMERR_CSP_STAGED_OPERATION_IN_PROGRESS = CSSM_CSP_BASE_CSP_ERROR + 72,
CSSMERR_CSP_STAGED_OPERATION_NOT_STARTED = CSSM_CSP_BASE_CSP_ERROR + 73,
CSSMERR_CSP_VERIFY_FAILED = CSSM_CSP_BASE_CSP_ERROR + 74,
CSSMERR_CSP_INVALID_SIGNATURE = CSSM_CSP_BASE_CSP_ERROR + 75,
CSSMERR_CSP_QUERY_SIZE_UNKNOWN = CSSM_CSP_BASE_CSP_ERROR + 76,
CSSMERR_CSP_BLOCK_SIZE_MISMATCH = CSSM_CSP_BASE_CSP_ERROR + 77,
CSSMERR_CSP_PRIVATE_KEY_NOT_FOUND = CSSM_CSP_BASE_CSP_ERROR + 78,
CSSMERR_CSP_PUBLIC_KEY_INCONSISTENT = CSSM_CSP_BASE_CSP_ERROR + 79,
CSSMERR_CSP_DEVICE_VERIFY_FAILED = CSSM_CSP_BASE_CSP_ERROR + 80,
CSSMERR_CSP_INVALID_LOGIN_NAME = CSSM_CSP_BASE_CSP_ERROR + 81,
CSSMERR_CSP_ALREADY_LOGGED_IN = CSSM_CSP_BASE_CSP_ERROR + 82,
CSSMERR_CSP_PRIVATE_KEY_ALREADY_EXISTS = CSSM_CSP_BASE_CSP_ERROR + 83,
CSSMERR_CSP_KEY_LABEL_ALREADY_EXISTS = CSSM_CSP_BASE_CSP_ERROR + 84,
CSSMERR_CSP_INVALID_DIGEST_ALGORITHM = CSSM_CSP_BASE_CSP_ERROR + 85,
CSSMERR_CSP_CRYPTO_DATA_CALLBACK_FAILED = CSSM_CSP_BASE_CSP_ERROR + 86
};
enum {
CSSMERR_TP_INTERNAL_ERROR =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_TP_MEMORY_ERROR =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_TP_MDS_ERROR =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_TP_INVALID_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_TP_INVALID_INPUT_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_TP_INVALID_OUTPUT_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_TP_FUNCTION_NOT_IMPLEMENTED =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_TP_SELF_CHECK_FAILED =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_TP_OS_ACCESS_DENIED =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_TP_FUNCTION_FAILED =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED,
CSSMERR_TP_INVALID_CONTEXT_HANDLE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CONTEXT_HANDLE,
CSSMERR_TP_INVALID_DATA =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_DATA,
CSSMERR_TP_INVALID_DB_LIST =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_LIST,
CSSMERR_TP_INVALID_CERTGROUP_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CERTGROUP_POINTER,
CSSMERR_TP_INVALID_CERT_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CERT_POINTER,
CSSMERR_TP_INVALID_CRL_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CRL_POINTER,
CSSMERR_TP_INVALID_FIELD_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_FIELD_POINTER,
CSSMERR_TP_INVALID_NETWORK_ADDR =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_NETWORK_ADDR,
CSSMERR_TP_CRL_ALREADY_SIGNED =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_CRL_ALREADY_SIGNED,
CSSMERR_TP_INVALID_NUMBER_OF_FIELDS =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_NUMBER_OF_FIELDS,
CSSMERR_TP_VERIFICATION_FAILURE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_VERIFICATION_FAILURE,
CSSMERR_TP_INVALID_DB_HANDLE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_HANDLE,
CSSMERR_TP_UNKNOWN_FORMAT =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_UNKNOWN_FORMAT,
CSSMERR_TP_UNKNOWN_TAG =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_UNKNOWN_TAG,
CSSMERR_TP_INVALID_PASSTHROUGH_ID =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_PASSTHROUGH_ID,
CSSMERR_TP_INVALID_CSP_HANDLE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CSP_HANDLE,
CSSMERR_TP_INVALID_DL_HANDLE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_DL_HANDLE,
CSSMERR_TP_INVALID_CL_HANDLE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CL_HANDLE,
CSSMERR_TP_INVALID_DB_LIST_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_LIST_POINTER
};
enum {
CSSM_TP_BASE_TP_ERROR =
CSSM_TP_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT,
CSSMERR_TP_INVALID_CALLERAUTH_CONTEXT_POINTER = CSSM_TP_BASE_TP_ERROR + 1,
CSSMERR_TP_INVALID_IDENTIFIER_POINTER = CSSM_TP_BASE_TP_ERROR + 2,
CSSMERR_TP_INVALID_KEYCACHE_HANDLE = CSSM_TP_BASE_TP_ERROR + 3,
CSSMERR_TP_INVALID_CERTGROUP = CSSM_TP_BASE_TP_ERROR + 4,
CSSMERR_TP_INVALID_CRLGROUP = CSSM_TP_BASE_TP_ERROR + 5,
CSSMERR_TP_INVALID_CRLGROUP_POINTER = CSSM_TP_BASE_TP_ERROR + 6,
CSSMERR_TP_AUTHENTICATION_FAILED = CSSM_TP_BASE_TP_ERROR + 7,
CSSMERR_TP_CERTGROUP_INCOMPLETE = CSSM_TP_BASE_TP_ERROR + 8,
CSSMERR_TP_CERTIFICATE_CANT_OPERATE = CSSM_TP_BASE_TP_ERROR + 9,
CSSMERR_TP_CERT_EXPIRED = CSSM_TP_BASE_TP_ERROR + 10,
CSSMERR_TP_CERT_NOT_VALID_YET = CSSM_TP_BASE_TP_ERROR + 11,
CSSMERR_TP_CERT_REVOKED = CSSM_TP_BASE_TP_ERROR + 12,
CSSMERR_TP_CERT_SUSPENDED = CSSM_TP_BASE_TP_ERROR + 13,
CSSMERR_TP_INSUFFICIENT_CREDENTIALS = CSSM_TP_BASE_TP_ERROR + 14,
CSSMERR_TP_INVALID_ACTION = CSSM_TP_BASE_TP_ERROR + 15,
CSSMERR_TP_INVALID_ACTION_DATA = CSSM_TP_BASE_TP_ERROR + 16,
CSSMERR_TP_INVALID_ANCHOR_CERT = CSSM_TP_BASE_TP_ERROR + 18,
CSSMERR_TP_INVALID_AUTHORITY = CSSM_TP_BASE_TP_ERROR + 19,
CSSMERR_TP_VERIFY_ACTION_FAILED = CSSM_TP_BASE_TP_ERROR + 20,
CSSMERR_TP_INVALID_CERTIFICATE = CSSM_TP_BASE_TP_ERROR + 21,
CSSMERR_TP_INVALID_CERT_AUTHORITY = CSSM_TP_BASE_TP_ERROR + 22,
CSSMERR_TP_INVALID_CRL_AUTHORITY = CSSM_TP_BASE_TP_ERROR + 23,
CSSMERR_TP_INVALID_CRL_ENCODING = CSSM_TP_BASE_TP_ERROR + 24,
CSSMERR_TP_INVALID_CRL_TYPE = CSSM_TP_BASE_TP_ERROR + 25,
CSSMERR_TP_INVALID_CRL = CSSM_TP_BASE_TP_ERROR + 26,
CSSMERR_TP_INVALID_FORM_TYPE = CSSM_TP_BASE_TP_ERROR + 27,
CSSMERR_TP_INVALID_ID = CSSM_TP_BASE_TP_ERROR + 28,
CSSMERR_TP_INVALID_IDENTIFIER = CSSM_TP_BASE_TP_ERROR + 29,
CSSMERR_TP_INVALID_INDEX = CSSM_TP_BASE_TP_ERROR + 30,
CSSMERR_TP_INVALID_NAME = CSSM_TP_BASE_TP_ERROR + 31,
CSSMERR_TP_INVALID_POLICY_IDENTIFIERS = CSSM_TP_BASE_TP_ERROR + 32,
CSSMERR_TP_INVALID_TIMESTRING = CSSM_TP_BASE_TP_ERROR + 33,
CSSMERR_TP_INVALID_REASON = CSSM_TP_BASE_TP_ERROR + 34,
CSSMERR_TP_INVALID_REQUEST_INPUTS = CSSM_TP_BASE_TP_ERROR + 35,
CSSMERR_TP_INVALID_RESPONSE_VECTOR = CSSM_TP_BASE_TP_ERROR + 36,
CSSMERR_TP_INVALID_SIGNATURE = CSSM_TP_BASE_TP_ERROR + 37,
CSSMERR_TP_INVALID_STOP_ON_POLICY = CSSM_TP_BASE_TP_ERROR + 38,
CSSMERR_TP_INVALID_CALLBACK = CSSM_TP_BASE_TP_ERROR + 39,
CSSMERR_TP_INVALID_TUPLE = CSSM_TP_BASE_TP_ERROR + 40,
CSSMERR_TP_NOT_SIGNER = CSSM_TP_BASE_TP_ERROR + 41,
CSSMERR_TP_NOT_TRUSTED = CSSM_TP_BASE_TP_ERROR + 42,
CSSMERR_TP_NO_DEFAULT_AUTHORITY = CSSM_TP_BASE_TP_ERROR + 43,
CSSMERR_TP_REJECTED_FORM = CSSM_TP_BASE_TP_ERROR + 44,
CSSMERR_TP_REQUEST_LOST = CSSM_TP_BASE_TP_ERROR + 45,
CSSMERR_TP_REQUEST_REJECTED = CSSM_TP_BASE_TP_ERROR + 46,
CSSMERR_TP_UNSUPPORTED_ADDR_TYPE = CSSM_TP_BASE_TP_ERROR + 47,
CSSMERR_TP_UNSUPPORTED_SERVICE = CSSM_TP_BASE_TP_ERROR + 48,
CSSMERR_TP_INVALID_TUPLEGROUP_POINTER = CSSM_TP_BASE_TP_ERROR + 49,
CSSMERR_TP_INVALID_TUPLEGROUP = CSSM_TP_BASE_TP_ERROR + 50
};
enum {
CSSMERR_AC_INTERNAL_ERROR =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_AC_MEMORY_ERROR =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_AC_MDS_ERROR =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_AC_INVALID_POINTER =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_AC_INVALID_INPUT_POINTER =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_AC_INVALID_OUTPUT_POINTER =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_AC_FUNCTION_NOT_IMPLEMENTED =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_AC_SELF_CHECK_FAILED =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_AC_OS_ACCESS_DENIED =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_AC_FUNCTION_FAILED =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED,
CSSMERR_AC_INVALID_CONTEXT_HANDLE =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_CONTEXT_HANDLE,
CSSMERR_AC_INVALID_DATA =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_DATA,
CSSMERR_AC_INVALID_DB_LIST =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_LIST,
CSSMERR_AC_INVALID_PASSTHROUGH_ID =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_PASSTHROUGH_ID,
CSSMERR_AC_INVALID_DL_HANDLE =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_DL_HANDLE,
CSSMERR_AC_INVALID_CL_HANDLE =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_CL_HANDLE,
CSSMERR_AC_INVALID_TP_HANDLE =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_TP_HANDLE,
CSSMERR_AC_INVALID_DB_HANDLE =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_HANDLE,
CSSMERR_AC_INVALID_DB_LIST_POINTER =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_LIST_POINTER
};
enum {
CSSM_AC_BASE_AC_ERROR =
CSSM_AC_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT,
CSSMERR_AC_INVALID_BASE_ACLS = CSSM_AC_BASE_AC_ERROR + 1,
CSSMERR_AC_INVALID_TUPLE_CREDENTIALS = CSSM_AC_BASE_AC_ERROR + 2,
CSSMERR_AC_INVALID_ENCODING = CSSM_AC_BASE_AC_ERROR + 3,
CSSMERR_AC_INVALID_VALIDITY_PERIOD = CSSM_AC_BASE_AC_ERROR + 4,
CSSMERR_AC_INVALID_REQUESTOR = CSSM_AC_BASE_AC_ERROR + 5,
CSSMERR_AC_INVALID_REQUEST_DESCRIPTOR = CSSM_AC_BASE_AC_ERROR + 6
};
enum {
CSSMERR_CL_INTERNAL_ERROR =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_CL_MEMORY_ERROR =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_CL_MDS_ERROR =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_CL_INVALID_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_CL_INVALID_INPUT_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_CL_INVALID_OUTPUT_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_CL_FUNCTION_NOT_IMPLEMENTED =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_CL_SELF_CHECK_FAILED =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_CL_OS_ACCESS_DENIED =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_CL_FUNCTION_FAILED =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED,
CSSMERR_CL_INVALID_CONTEXT_HANDLE =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_CONTEXT_HANDLE,
CSSMERR_CL_INVALID_CERTGROUP_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_CERTGROUP_POINTER,
CSSMERR_CL_INVALID_CERT_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_CERT_POINTER,
CSSMERR_CL_INVALID_CRL_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_CRL_POINTER,
CSSMERR_CL_INVALID_FIELD_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_FIELD_POINTER,
CSSMERR_CL_INVALID_DATA =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_DATA,
CSSMERR_CL_CRL_ALREADY_SIGNED =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_CRL_ALREADY_SIGNED,
CSSMERR_CL_INVALID_NUMBER_OF_FIELDS =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_NUMBER_OF_FIELDS,
CSSMERR_CL_VERIFICATION_FAILURE =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_VERIFICATION_FAILURE,
CSSMERR_CL_UNKNOWN_FORMAT =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_UNKNOWN_FORMAT,
CSSMERR_CL_UNKNOWN_TAG =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_UNKNOWN_TAG,
CSSMERR_CL_INVALID_PASSTHROUGH_ID =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_PASSTHROUGH_ID
};
enum {
CSSM_CL_BASE_CL_ERROR =
CSSM_CL_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT,
CSSMERR_CL_INVALID_BUNDLE_POINTER = CSSM_CL_BASE_CL_ERROR + 1,
CSSMERR_CL_INVALID_CACHE_HANDLE = CSSM_CL_BASE_CL_ERROR + 2,
CSSMERR_CL_INVALID_RESULTS_HANDLE = CSSM_CL_BASE_CL_ERROR + 3,
CSSMERR_CL_INVALID_BUNDLE_INFO = CSSM_CL_BASE_CL_ERROR + 4,
CSSMERR_CL_INVALID_CRL_INDEX = CSSM_CL_BASE_CL_ERROR + 5,
CSSMERR_CL_INVALID_SCOPE = CSSM_CL_BASE_CL_ERROR + 6,
CSSMERR_CL_NO_FIELD_VALUES = CSSM_CL_BASE_CL_ERROR + 7,
CSSMERR_CL_SCOPE_NOT_SUPPORTED = CSSM_CL_BASE_CL_ERROR + 8
};
enum {
CSSMERR_DL_INTERNAL_ERROR =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_DL_MEMORY_ERROR =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_DL_MDS_ERROR =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_DL_INVALID_POINTER =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_DL_INVALID_INPUT_POINTER =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_DL_INVALID_OUTPUT_POINTER =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_DL_FUNCTION_NOT_IMPLEMENTED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_DL_SELF_CHECK_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_DL_OS_ACCESS_DENIED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_DL_FUNCTION_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED,
CSSMERR_DL_INVALID_CSP_HANDLE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_CSP_HANDLE,
CSSMERR_DL_INVALID_DL_HANDLE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_DL_HANDLE,
CSSMERR_DL_INVALID_CL_HANDLE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_CL_HANDLE,
CSSMERR_DL_INVALID_DB_LIST_POINTER =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_LIST_POINTER
};
enum {
CSSMERR_DL_OPERATION_AUTH_DENIED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OPERATION_AUTH_DENIED,
CSSMERR_DL_OBJECT_USE_AUTH_DENIED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OBJECT_USE_AUTH_DENIED,
CSSMERR_DL_OBJECT_MANIP_AUTH_DENIED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OBJECT_MANIP_AUTH_DENIED,
CSSMERR_DL_OBJECT_ACL_NOT_SUPPORTED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OBJECT_ACL_NOT_SUPPORTED,
CSSMERR_DL_OBJECT_ACL_REQUIRED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OBJECT_ACL_REQUIRED,
CSSMERR_DL_INVALID_ACCESS_CREDENTIALS =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACCESS_CREDENTIALS,
CSSMERR_DL_INVALID_ACL_BASE_CERTS =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_BASE_CERTS,
CSSMERR_DL_ACL_BASE_CERTS_NOT_SUPPORTED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_BASE_CERTS_NOT_SUPPORTED,
CSSMERR_DL_INVALID_SAMPLE_VALUE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_SAMPLE_VALUE,
CSSMERR_DL_SAMPLE_VALUE_NOT_SUPPORTED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED,
CSSMERR_DL_INVALID_ACL_SUBJECT_VALUE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_SUBJECT_VALUE,
CSSMERR_DL_ACL_SUBJECT_TYPE_NOT_SUPPORTED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_SUBJECT_TYPE_NOT_SUPPORTED,
CSSMERR_DL_INVALID_ACL_CHALLENGE_CALLBACK =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_CHALLENGE_CALLBACK,
CSSMERR_DL_ACL_CHALLENGE_CALLBACK_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_CHALLENGE_CALLBACK_FAILED,
CSSMERR_DL_INVALID_ACL_ENTRY_TAG =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_ENTRY_TAG,
CSSMERR_DL_ACL_ENTRY_TAG_NOT_FOUND =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_ENTRY_TAG_NOT_FOUND,
CSSMERR_DL_INVALID_ACL_EDIT_MODE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_EDIT_MODE,
CSSMERR_DL_ACL_CHANGE_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_CHANGE_FAILED,
CSSMERR_DL_INVALID_NEW_ACL_ENTRY =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_NEW_ACL_ENTRY,
CSSMERR_DL_INVALID_NEW_ACL_OWNER =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_NEW_ACL_OWNER,
CSSMERR_DL_ACL_DELETE_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_DELETE_FAILED,
CSSMERR_DL_ACL_REPLACE_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_REPLACE_FAILED,
CSSMERR_DL_ACL_ADD_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_ADD_FAILED
};
enum {
CSSMERR_DL_INVALID_DB_HANDLE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_HANDLE,
CSSMERR_DL_INVALID_PASSTHROUGH_ID =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_PASSTHROUGH_ID,
CSSMERR_DL_INVALID_NETWORK_ADDR =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_NETWORK_ADDR
};
enum {
CSSM_DL_BASE_DL_ERROR =
CSSM_DL_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT,
CSSMERR_DL_DATABASE_CORRUPT = CSSM_DL_BASE_DL_ERROR + 1,
CSSMERR_DL_INVALID_RECORD_INDEX = CSSM_DL_BASE_DL_ERROR + 8,
CSSMERR_DL_INVALID_RECORDTYPE = CSSM_DL_BASE_DL_ERROR + 9,
CSSMERR_DL_INVALID_FIELD_NAME = CSSM_DL_BASE_DL_ERROR + 10,
CSSMERR_DL_UNSUPPORTED_FIELD_FORMAT = CSSM_DL_BASE_DL_ERROR + 11,
CSSMERR_DL_UNSUPPORTED_INDEX_INFO = CSSM_DL_BASE_DL_ERROR + 12,
CSSMERR_DL_UNSUPPORTED_LOCALITY = CSSM_DL_BASE_DL_ERROR + 13,
CSSMERR_DL_UNSUPPORTED_NUM_ATTRIBUTES = CSSM_DL_BASE_DL_ERROR + 14,
CSSMERR_DL_UNSUPPORTED_NUM_INDEXES = CSSM_DL_BASE_DL_ERROR + 15,
CSSMERR_DL_UNSUPPORTED_NUM_RECORDTYPES = CSSM_DL_BASE_DL_ERROR + 16,
CSSMERR_DL_UNSUPPORTED_RECORDTYPE = CSSM_DL_BASE_DL_ERROR + 17,
CSSMERR_DL_FIELD_SPECIFIED_MULTIPLE = CSSM_DL_BASE_DL_ERROR + 18,
CSSMERR_DL_INCOMPATIBLE_FIELD_FORMAT = CSSM_DL_BASE_DL_ERROR + 19,
CSSMERR_DL_INVALID_PARSING_MODULE = CSSM_DL_BASE_DL_ERROR + 20,
CSSMERR_DL_INVALID_DB_NAME = CSSM_DL_BASE_DL_ERROR + 22,
CSSMERR_DL_DATASTORE_DOESNOT_EXIST = CSSM_DL_BASE_DL_ERROR + 23,
CSSMERR_DL_DATASTORE_ALREADY_EXISTS = CSSM_DL_BASE_DL_ERROR + 24,
CSSMERR_DL_DB_LOCKED = CSSM_DL_BASE_DL_ERROR + 25,
CSSMERR_DL_DATASTORE_IS_OPEN = CSSM_DL_BASE_DL_ERROR + 26,
CSSMERR_DL_RECORD_NOT_FOUND = CSSM_DL_BASE_DL_ERROR + 27,
CSSMERR_DL_MISSING_VALUE = CSSM_DL_BASE_DL_ERROR + 28,
CSSMERR_DL_UNSUPPORTED_QUERY = CSSM_DL_BASE_DL_ERROR + 29,
CSSMERR_DL_UNSUPPORTED_QUERY_LIMITS = CSSM_DL_BASE_DL_ERROR + 30,
CSSMERR_DL_UNSUPPORTED_NUM_SELECTION_PREDS = CSSM_DL_BASE_DL_ERROR + 31,
CSSMERR_DL_UNSUPPORTED_OPERATOR = CSSM_DL_BASE_DL_ERROR + 33,
CSSMERR_DL_INVALID_RESULTS_HANDLE = CSSM_DL_BASE_DL_ERROR + 34,
CSSMERR_DL_INVALID_DB_LOCATION = CSSM_DL_BASE_DL_ERROR + 35,
CSSMERR_DL_INVALID_ACCESS_REQUEST = CSSM_DL_BASE_DL_ERROR + 36,
CSSMERR_DL_INVALID_INDEX_INFO = CSSM_DL_BASE_DL_ERROR + 37,
CSSMERR_DL_INVALID_SELECTION_TAG = CSSM_DL_BASE_DL_ERROR + 38,
CSSMERR_DL_INVALID_NEW_OWNER = CSSM_DL_BASE_DL_ERROR + 39,
CSSMERR_DL_INVALID_RECORD_UID = CSSM_DL_BASE_DL_ERROR + 40,
CSSMERR_DL_INVALID_UNIQUE_INDEX_DATA = CSSM_DL_BASE_DL_ERROR + 41,
CSSMERR_DL_INVALID_MODIFY_MODE = CSSM_DL_BASE_DL_ERROR + 42,
CSSMERR_DL_INVALID_OPEN_PARAMETERS = CSSM_DL_BASE_DL_ERROR + 43,
CSSMERR_DL_RECORD_MODIFIED = CSSM_DL_BASE_DL_ERROR + 44,
CSSMERR_DL_ENDOFDATA = CSSM_DL_BASE_DL_ERROR + 45,
CSSMERR_DL_INVALID_QUERY = CSSM_DL_BASE_DL_ERROR + 46,
CSSMERR_DL_INVALID_VALUE = CSSM_DL_BASE_DL_ERROR + 47,
CSSMERR_DL_MULTIPLE_VALUES_UNSUPPORTED = CSSM_DL_BASE_DL_ERROR + 48,
CSSMERR_DL_STALE_UNIQUE_RECORD = CSSM_DL_BASE_DL_ERROR + 49
};
# 30 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmtype.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmtype.h" 3
#define _CSSMTYPE_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/cssmtype.h" 3
typedef CSSM_INTPTR CSSM_HANDLE, *CSSM_HANDLE_PTR;
typedef uint64 CSSM_LONG_HANDLE, *CSSM_LONG_HANDLE_PTR;
typedef CSSM_HANDLE CSSM_MODULE_HANDLE, *CSSM_MODULE_HANDLE_PTR;
typedef CSSM_LONG_HANDLE CSSM_CC_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_CSP_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_TP_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_AC_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_CL_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_DL_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_DB_HANDLE;
enum {
CSSM_INVALID_HANDLE = 0
};
typedef sint32 CSSM_BOOL;
enum {
CSSM_FALSE = 0,
CSSM_TRUE = !CSSM_FALSE
};
typedef sint32 CSSM_RETURN;
enum {
CSSM_OK = 0
};
enum {
CSSM_MODULE_STRING_SIZE = 64
};
typedef char CSSM_STRING [CSSM_MODULE_STRING_SIZE + 4];
typedef struct cssm_data {
CSSM_SIZE Length;
uint8 *Data;
} CSSM_DATA, *CSSM_DATA_PTR;
typedef struct cssm_guid {
uint32 Data1;
uint16 Data2;
uint16 Data3;
uint8 Data4[8];
} CSSM_GUID, *CSSM_GUID_PTR;
typedef uint32 CSSM_BITMASK;
typedef CSSM_BITMASK CSSM_KEY_HIERARCHY;
enum {
CSSM_KEY_HIERARCHY_NONE = 0,
CSSM_KEY_HIERARCHY_INTEG = 1,
CSSM_KEY_HIERARCHY_EXPORT = 2
};
typedef CSSM_BITMASK CSSM_PVC_MODE;
enum {
CSSM_PVC_NONE = 0,
CSSM_PVC_APP = 1,
CSSM_PVC_SP = 2
};
typedef uint32 CSSM_PRIVILEGE_SCOPE;
enum {
CSSM_PRIVILEGE_SCOPE_NONE = 0,
CSSM_PRIVILEGE_SCOPE_PROCESS = 1,
CSSM_PRIVILEGE_SCOPE_THREAD = 2
};
typedef struct cssm_version {
uint32 Major;
uint32 Minor;
} CSSM_VERSION, *CSSM_VERSION_PTR;
typedef uint32 CSSM_SERVICE_MASK;
enum {
CSSM_SERVICE_CSSM = 0x1,
CSSM_SERVICE_CSP = 0x2,
CSSM_SERVICE_DL = 0x4,
CSSM_SERVICE_CL = 0x8,
CSSM_SERVICE_TP = 0x10,
CSSM_SERVICE_AC = 0x20,
CSSM_SERVICE_KR = 0x40
};
typedef CSSM_SERVICE_MASK CSSM_SERVICE_TYPE;
typedef struct cssm_subservice_uid {
CSSM_GUID Guid;
CSSM_VERSION Version;
uint32 SubserviceId;
CSSM_SERVICE_TYPE SubserviceType;
} CSSM_SUBSERVICE_UID, *CSSM_SUBSERVICE_UID_PTR;
typedef uint32 CSSM_MODULE_EVENT, *CSSM_MODULE_EVENT_PTR;
enum {
CSSM_NOTIFY_INSERT = 1,
CSSM_NOTIFY_REMOVE = 2,
CSSM_NOTIFY_FAULT = 3
};
typedef CSSM_RETURN ( *CSSM_API_ModuleEventHandler)
(const CSSM_GUID *ModuleGuid,
void* AppNotifyCallbackCtx,
uint32 SubserviceId,
CSSM_SERVICE_TYPE ServiceType,
CSSM_MODULE_EVENT EventType);
typedef uint32 CSSM_ATTACH_FLAGS;
enum {
CSSM_ATTACH_READ_ONLY = 0x00000001
};
typedef uint64 CSSM_PRIVILEGE;
typedef CSSM_PRIVILEGE CSSM_USEE_TAG;
enum {
CSSM_USEE_LAST = 0xFF,
CSSM_USEE_NONE = 0,
CSSM_USEE_DOMESTIC = 1,
CSSM_USEE_FINANCIAL = 2,
CSSM_USEE_KRLE = 3,
CSSM_USEE_KRENT = 4,
CSSM_USEE_SSL = 5,
CSSM_USEE_AUTHENTICATION = 6,
CSSM_USEE_KEYEXCH = 7,
CSSM_USEE_MEDICAL = 8,
CSSM_USEE_INSURANCE = 9,
CSSM_USEE_WEAK = 10
};
typedef uint32 CSSM_NET_ADDRESS_TYPE;
enum {
CSSM_ADDR_NONE = 0,
CSSM_ADDR_CUSTOM = 1,
CSSM_ADDR_URL = 2,
CSSM_ADDR_SOCKADDR = 3,
CSSM_ADDR_NAME = 4
};
typedef struct cssm_net_address {
CSSM_NET_ADDRESS_TYPE AddressType;
CSSM_DATA Address;
} CSSM_NET_ADDRESS, *CSSM_NET_ADDRESS_PTR;
typedef uint32 CSSM_NET_PROTOCOL;
enum {
CSSM_NET_PROTO_NONE = 0,
CSSM_NET_PROTO_CUSTOM = 1,
CSSM_NET_PROTO_UNSPECIFIED = 2,
CSSM_NET_PROTO_LDAP = 3,
CSSM_NET_PROTO_LDAPS = 4,
CSSM_NET_PROTO_LDAPNS = 5,
CSSM_NET_PROTO_X500DAP = 6,
CSSM_NET_PROTO_FTP = 7,
CSSM_NET_PROTO_FTPS = 8,
CSSM_NET_PROTO_OCSP = 9,
CSSM_NET_PROTO_CMP = 10,
CSSM_NET_PROTO_CMPS = 11
};
typedef CSSM_RETURN ( *CSSM_CALLBACK)
(CSSM_DATA_PTR OutData, void *CallerCtx);
typedef struct cssm_crypto_data {
CSSM_DATA Param;
CSSM_CALLBACK Callback;
void *CallerCtx;
} CSSM_CRYPTO_DATA, *CSSM_CRYPTO_DATA_PTR;
typedef sint32 CSSM_WORDID_TYPE;
enum {
CSSM_WORDID__UNK_ = -1,
CSSM_WORDID__NLU_ = 0,
CSSM_WORDID__STAR_ = 1,
CSSM_WORDID_A = 2,
CSSM_WORDID_ACL = 3,
CSSM_WORDID_ALPHA = 4,
CSSM_WORDID_B = 5,
CSSM_WORDID_BER = 6,
CSSM_WORDID_BINARY = 7,
CSSM_WORDID_BIOMETRIC = 8,
CSSM_WORDID_C = 9,
CSSM_WORDID_CANCELED = 10,
CSSM_WORDID_CERT = 11,
CSSM_WORDID_COMMENT = 12,
CSSM_WORDID_CRL = 13,
CSSM_WORDID_CUSTOM = 14,
CSSM_WORDID_D = 15,
CSSM_WORDID_DATE = 16,
CSSM_WORDID_DB_DELETE = 17,
CSSM_WORDID_DB_EXEC_STORED_QUERY = 18,
CSSM_WORDID_DB_INSERT = 19,
CSSM_WORDID_DB_MODIFY = 20,
CSSM_WORDID_DB_READ = 21,
CSSM_WORDID_DBS_CREATE = 22,
CSSM_WORDID_DBS_DELETE = 23,
CSSM_WORDID_DECRYPT = 24,
CSSM_WORDID_DELETE = 25,
CSSM_WORDID_DELTA_CRL = 26,
CSSM_WORDID_DER = 27,
CSSM_WORDID_DERIVE = 28,
CSSM_WORDID_DISPLAY = 29,
CSSM_WORDID_DO = 30,
CSSM_WORDID_DSA = 31,
CSSM_WORDID_DSA_SHA1 = 32,
CSSM_WORDID_E = 33,
CSSM_WORDID_ELGAMAL = 34,
CSSM_WORDID_ENCRYPT = 35,
CSSM_WORDID_ENTRY = 36,
CSSM_WORDID_EXPORT_CLEAR = 37,
CSSM_WORDID_EXPORT_WRAPPED = 38,
CSSM_WORDID_G = 39,
CSSM_WORDID_GE = 40,
CSSM_WORDID_GENKEY = 41,
CSSM_WORDID_HASH = 42,
CSSM_WORDID_HASHED_PASSWORD = 43,
CSSM_WORDID_HASHED_SUBJECT = 44,
CSSM_WORDID_HAVAL = 45,
CSSM_WORDID_IBCHASH = 46,
CSSM_WORDID_IMPORT_CLEAR = 47,
CSSM_WORDID_IMPORT_WRAPPED = 48,
CSSM_WORDID_INTEL = 49,
CSSM_WORDID_ISSUER = 50,
CSSM_WORDID_ISSUER_INFO = 51,
CSSM_WORDID_K_OF_N = 52,
CSSM_WORDID_KEA = 53,
CSSM_WORDID_KEYHOLDER = 54,
CSSM_WORDID_L = 55,
CSSM_WORDID_LE = 56,
CSSM_WORDID_LOGIN = 57,
CSSM_WORDID_LOGIN_NAME = 58,
CSSM_WORDID_MAC = 59,
CSSM_WORDID_MD2 = 60,
CSSM_WORDID_MD2WITHRSA = 61,
CSSM_WORDID_MD4 = 62,
CSSM_WORDID_MD5 = 63,
CSSM_WORDID_MD5WITHRSA = 64,
CSSM_WORDID_N = 65,
CSSM_WORDID_NAME = 66,
CSSM_WORDID_NDR = 67,
CSSM_WORDID_NHASH = 68,
CSSM_WORDID_NOT_AFTER = 69,
CSSM_WORDID_NOT_BEFORE = 70,
CSSM_WORDID_NULL = 71,
CSSM_WORDID_NUMERIC = 72,
CSSM_WORDID_OBJECT_HASH = 73,
CSSM_WORDID_ONE_TIME = 74,
CSSM_WORDID_ONLINE = 75,
CSSM_WORDID_OWNER = 76,
CSSM_WORDID_P = 77,
CSSM_WORDID_PAM_NAME = 78,
CSSM_WORDID_PASSWORD = 79,
CSSM_WORDID_PGP = 80,
CSSM_WORDID_PREFIX = 81,
CSSM_WORDID_PRIVATE_KEY = 82,
CSSM_WORDID_PROMPTED_BIOMETRIC = 83,
CSSM_WORDID_PROMPTED_PASSWORD = 84,
CSSM_WORDID_PROPAGATE = 85,
CSSM_WORDID_PROTECTED_BIOMETRIC = 86,
CSSM_WORDID_PROTECTED_PASSWORD = 87,
CSSM_WORDID_PROTECTED_PIN = 88,
CSSM_WORDID_PUBLIC_KEY = 89,
CSSM_WORDID_PUBLIC_KEY_FROM_CERT = 90,
CSSM_WORDID_Q = 91,
CSSM_WORDID_RANGE = 92,
CSSM_WORDID_REVAL = 93,
CSSM_WORDID_RIPEMAC = 94,
CSSM_WORDID_RIPEMD = 95,
CSSM_WORDID_RIPEMD160 = 96,
CSSM_WORDID_RSA = 97,
CSSM_WORDID_RSA_ISO9796 = 98,
CSSM_WORDID_RSA_PKCS = 99,
CSSM_WORDID_RSA_PKCS_MD5 = 100,
CSSM_WORDID_RSA_PKCS_SHA1 = 101,
CSSM_WORDID_RSA_PKCS1 = 102,
CSSM_WORDID_RSA_PKCS1_MD5 = 103,
CSSM_WORDID_RSA_PKCS1_SHA1 = 104,
CSSM_WORDID_RSA_PKCS1_SIG = 105,
CSSM_WORDID_RSA_RAW = 106,
CSSM_WORDID_SDSIV1 = 107,
CSSM_WORDID_SEQUENCE = 108,
CSSM_WORDID_SET = 109,
CSSM_WORDID_SEXPR = 110,
CSSM_WORDID_SHA1 = 111,
CSSM_WORDID_SHA1WITHDSA = 112,
CSSM_WORDID_SHA1WITHECDSA = 113,
CSSM_WORDID_SHA1WITHRSA = 114,
CSSM_WORDID_SIGN = 115,
CSSM_WORDID_SIGNATURE = 116,
CSSM_WORDID_SIGNED_NONCE = 117,
CSSM_WORDID_SIGNED_SECRET = 118,
CSSM_WORDID_SPKI = 119,
CSSM_WORDID_SUBJECT = 120,
CSSM_WORDID_SUBJECT_INFO = 121,
CSSM_WORDID_TAG = 122,
CSSM_WORDID_THRESHOLD = 123,
CSSM_WORDID_TIME = 124,
CSSM_WORDID_URI = 125,
CSSM_WORDID_VERSION = 126,
CSSM_WORDID_X509_ATTRIBUTE = 127,
CSSM_WORDID_X509V1 = 128,
CSSM_WORDID_X509V2 = 129,
CSSM_WORDID_X509V3 = 130,
CSSM_WORDID_X9_ATTRIBUTE = 131,
CSSM_WORDID_VENDOR_START = 0x00010000,
CSSM_WORDID_VENDOR_END = 0x7FFF0000
};
typedef uint32 CSSM_LIST_ELEMENT_TYPE, *CSSM_LIST_ELEMENT_TYPE_PTR;
enum {
CSSM_LIST_ELEMENT_DATUM = 0x00,
CSSM_LIST_ELEMENT_SUBLIST = 0x01,
CSSM_LIST_ELEMENT_WORDID = 0x02
};
typedef uint32 CSSM_LIST_TYPE, *CSSM_LIST_TYPE_PTR;
enum {
CSSM_LIST_TYPE_UNKNOWN = 0,
CSSM_LIST_TYPE_CUSTOM = 1,
CSSM_LIST_TYPE_SEXPR = 2
};
typedef struct cssm_list_element *CSSM_LIST_ELEMENT_PTR;
typedef struct cssm_list {
CSSM_LIST_TYPE ListType;
CSSM_LIST_ELEMENT_PTR Head;
CSSM_LIST_ELEMENT_PTR Tail;
} CSSM_LIST, *CSSM_LIST_PTR;
typedef struct cssm_list_element {
struct cssm_list_element *NextElement;
CSSM_WORDID_TYPE WordID;
CSSM_LIST_ELEMENT_TYPE ElementType;
union {
CSSM_LIST Sublist;
CSSM_DATA Word;
} Element;
} CSSM_LIST_ELEMENT;
typedef struct {
CSSM_LIST Issuer;
CSSM_LIST Subject;
CSSM_BOOL Delegate;
CSSM_LIST AuthorizationTag;
CSSM_LIST ValidityPeriod;
} CSSM_TUPLE, *CSSM_TUPLE_PTR;
typedef struct cssm_tuplegroup {
uint32 NumberOfTuples;
CSSM_TUPLE_PTR Tuples;
} CSSM_TUPLEGROUP, *CSSM_TUPLEGROUP_PTR;
typedef CSSM_WORDID_TYPE CSSM_SAMPLE_TYPE;
enum {
CSSM_SAMPLE_TYPE_PASSWORD = CSSM_WORDID_PASSWORD,
CSSM_SAMPLE_TYPE_HASHED_PASSWORD = CSSM_WORDID_HASHED_PASSWORD,
CSSM_SAMPLE_TYPE_PROTECTED_PASSWORD = CSSM_WORDID_PROTECTED_PASSWORD,
CSSM_SAMPLE_TYPE_PROMPTED_PASSWORD = CSSM_WORDID_PROMPTED_PASSWORD,
CSSM_SAMPLE_TYPE_SIGNED_NONCE = CSSM_WORDID_SIGNED_NONCE,
CSSM_SAMPLE_TYPE_SIGNED_SECRET = CSSM_WORDID_SIGNED_SECRET,
CSSM_SAMPLE_TYPE_BIOMETRIC = CSSM_WORDID_BIOMETRIC,
CSSM_SAMPLE_TYPE_PROTECTED_BIOMETRIC = CSSM_WORDID_PROTECTED_BIOMETRIC,
CSSM_SAMPLE_TYPE_PROMPTED_BIOMETRIC = CSSM_WORDID_PROMPTED_BIOMETRIC,
CSSM_SAMPLE_TYPE_THRESHOLD = CSSM_WORDID_THRESHOLD
};
typedef struct cssm_sample {
CSSM_LIST TypedSample;
const CSSM_SUBSERVICE_UID *Verifier;
} CSSM_SAMPLE, *CSSM_SAMPLE_PTR;
typedef struct cssm_samplegroup {
uint32 NumberOfSamples;
const CSSM_SAMPLE *Samples;
} CSSM_SAMPLEGROUP, *CSSM_SAMPLEGROUP_PTR;
typedef void *( *CSSM_MALLOC)
(CSSM_SIZE size,
void *allocref);
typedef void ( *CSSM_FREE)
(void *memblock,
void *allocref);
typedef void *( *CSSM_REALLOC)
(void *memblock,
CSSM_SIZE size,
void *allocref);
typedef void *( *CSSM_CALLOC)
(uint32 num,
CSSM_SIZE size,
void *allocref);
typedef struct cssm_memory_funcs {
CSSM_MALLOC malloc_func;
CSSM_FREE free_func;
CSSM_REALLOC realloc_func;
CSSM_CALLOC calloc_func;
void *AllocRef;
} CSSM_MEMORY_FUNCS, *CSSM_MEMORY_FUNCS_PTR;
typedef CSSM_MEMORY_FUNCS CSSM_API_MEMORY_FUNCS;
typedef CSSM_API_MEMORY_FUNCS *CSSM_API_MEMORY_FUNCS_PTR;
typedef CSSM_RETURN ( * CSSM_CHALLENGE_CALLBACK)
(const CSSM_LIST *Challenge,
CSSM_SAMPLEGROUP_PTR Response,
void *CallerCtx,
const CSSM_MEMORY_FUNCS *MemFuncs);
typedef uint32 CSSM_CERT_TYPE, *CSSM_CERT_TYPE_PTR;
enum {
CSSM_CERT_UNKNOWN = 0x00,
CSSM_CERT_X_509v1 = 0x01,
CSSM_CERT_X_509v2 = 0x02,
CSSM_CERT_X_509v3 = 0x03,
CSSM_CERT_PGP = 0x04,
CSSM_CERT_SPKI = 0x05,
CSSM_CERT_SDSIv1 = 0x06,
CSSM_CERT_Intel = 0x08,
CSSM_CERT_X_509_ATTRIBUTE = 0x09,
CSSM_CERT_X9_ATTRIBUTE = 0x0A,
CSSM_CERT_TUPLE = 0x0B,
CSSM_CERT_ACL_ENTRY = 0x0C,
CSSM_CERT_MULTIPLE = 0x7FFE,
CSSM_CERT_LAST = 0x7FFF,
CSSM_CL_CUSTOM_CERT_TYPE = 0x08000
};
typedef uint32 CSSM_CERT_ENCODING, *CSSM_CERT_ENCODING_PTR;
enum {
CSSM_CERT_ENCODING_UNKNOWN = 0x00,
CSSM_CERT_ENCODING_CUSTOM = 0x01,
CSSM_CERT_ENCODING_BER = 0x02,
CSSM_CERT_ENCODING_DER = 0x03,
CSSM_CERT_ENCODING_NDR = 0x04,
CSSM_CERT_ENCODING_SEXPR = 0x05,
CSSM_CERT_ENCODING_PGP = 0x06,
CSSM_CERT_ENCODING_MULTIPLE = 0x7FFE,
CSSM_CERT_ENCODING_LAST = 0x7FFF,
CSSM_CL_CUSTOM_CERT_ENCODING = 0x8000
};
typedef struct cssm_encoded_cert {
CSSM_CERT_TYPE CertType;
CSSM_CERT_ENCODING CertEncoding;
CSSM_DATA CertBlob;
} CSSM_ENCODED_CERT, *CSSM_ENCODED_CERT_PTR;
typedef uint32 CSSM_CERT_PARSE_FORMAT, *CSSM_CERT_PARSE_FORMAT_PTR;
enum {
CSSM_CERT_PARSE_FORMAT_NONE = 0x00,
CSSM_CERT_PARSE_FORMAT_CUSTOM = 0x01,
CSSM_CERT_PARSE_FORMAT_SEXPR = 0x02,
CSSM_CERT_PARSE_FORMAT_COMPLEX = 0x03,
CSSM_CERT_PARSE_FORMAT_OID_NAMED = 0x04,
CSSM_CERT_PARSE_FORMAT_TUPLE = 0x05,
CSSM_CERT_PARSE_FORMAT_MULTIPLE = 0x7FFE,
CSSM_CERT_PARSE_FORMAT_LAST = 0x7FFF,
CSSM_CL_CUSTOM_CERT_PARSE_FORMAT = 0x8000
};
typedef struct cssm_parsed_cert {
CSSM_CERT_TYPE CertType;
CSSM_CERT_PARSE_FORMAT ParsedCertFormat;
void *ParsedCert;
} CSSM_PARSED_CERT, *CSSM_PARSED_CERT_PTR;
typedef struct cssm_cert_pair {
CSSM_ENCODED_CERT EncodedCert;
CSSM_PARSED_CERT ParsedCert;
} CSSM_CERT_PAIR, *CSSM_CERT_PAIR_PTR;
typedef uint32 CSSM_CERTGROUP_TYPE, *CSSM_CERTGROUP_TYPE_PTR;
enum {
CSSM_CERTGROUP_DATA = 0x00,
CSSM_CERTGROUP_ENCODED_CERT = 0x01,
CSSM_CERTGROUP_PARSED_CERT = 0x02,
CSSM_CERTGROUP_CERT_PAIR = 0x03
};
typedef struct cssm_certgroup {
CSSM_CERT_TYPE CertType;
CSSM_CERT_ENCODING CertEncoding;
uint32 NumCerts;
union {
CSSM_DATA_PTR CertList;
CSSM_ENCODED_CERT_PTR EncodedCertList;
CSSM_PARSED_CERT_PTR ParsedCertList;
CSSM_CERT_PAIR_PTR PairCertList;
} GroupList;
CSSM_CERTGROUP_TYPE CertGroupType;
void *Reserved;
} CSSM_CERTGROUP, *CSSM_CERTGROUP_PTR;
typedef struct cssm_base_certs {
CSSM_TP_HANDLE TPHandle;
CSSM_CL_HANDLE CLHandle;
CSSM_CERTGROUP Certs;
} CSSM_BASE_CERTS, *CSSM_BASE_CERTS_PTR;
typedef struct cssm_access_credentials {
CSSM_STRING EntryTag;
CSSM_BASE_CERTS BaseCerts;
CSSM_SAMPLEGROUP Samples;
CSSM_CHALLENGE_CALLBACK Callback;
void *CallerCtx;
} CSSM_ACCESS_CREDENTIALS, *CSSM_ACCESS_CREDENTIALS_PTR;
typedef sint32 CSSM_ACL_SUBJECT_TYPE;
enum {
CSSM_ACL_SUBJECT_TYPE_ANY = CSSM_WORDID__STAR_,
CSSM_ACL_SUBJECT_TYPE_THRESHOLD = CSSM_WORDID_THRESHOLD,
CSSM_ACL_SUBJECT_TYPE_PASSWORD = CSSM_WORDID_PASSWORD,
CSSM_ACL_SUBJECT_TYPE_PROTECTED_PASSWORD = CSSM_WORDID_PROTECTED_PASSWORD,
CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD = CSSM_WORDID_PROMPTED_PASSWORD,
CSSM_ACL_SUBJECT_TYPE_PUBLIC_KEY = CSSM_WORDID_PUBLIC_KEY,
CSSM_ACL_SUBJECT_TYPE_HASHED_SUBJECT = CSSM_WORDID_HASHED_SUBJECT,
CSSM_ACL_SUBJECT_TYPE_BIOMETRIC = CSSM_WORDID_BIOMETRIC,
CSSM_ACL_SUBJECT_TYPE_PROTECTED_BIOMETRIC = CSSM_WORDID_PROTECTED_BIOMETRIC,
CSSM_ACL_SUBJECT_TYPE_PROMPTED_BIOMETRIC = CSSM_WORDID_PROMPTED_BIOMETRIC,
CSSM_ACL_SUBJECT_TYPE_LOGIN_NAME = CSSM_WORDID_LOGIN_NAME,
CSSM_ACL_SUBJECT_TYPE_EXT_PAM_NAME = CSSM_WORDID_PAM_NAME
};
typedef sint32 CSSM_ACL_AUTHORIZATION_TAG;
enum {
CSSM_ACL_AUTHORIZATION_TAG_VENDOR_DEFINED_START = 0x00010000,
CSSM_ACL_AUTHORIZATION_ANY = CSSM_WORDID__STAR_,
CSSM_ACL_AUTHORIZATION_LOGIN = CSSM_WORDID_LOGIN,
CSSM_ACL_AUTHORIZATION_GENKEY = CSSM_WORDID_GENKEY,
CSSM_ACL_AUTHORIZATION_DELETE = CSSM_WORDID_DELETE,
CSSM_ACL_AUTHORIZATION_EXPORT_WRAPPED = CSSM_WORDID_EXPORT_WRAPPED,
CSSM_ACL_AUTHORIZATION_EXPORT_CLEAR = CSSM_WORDID_EXPORT_CLEAR,
CSSM_ACL_AUTHORIZATION_IMPORT_WRAPPED = CSSM_WORDID_IMPORT_WRAPPED,
CSSM_ACL_AUTHORIZATION_IMPORT_CLEAR = CSSM_WORDID_IMPORT_CLEAR,
CSSM_ACL_AUTHORIZATION_SIGN = CSSM_WORDID_SIGN,
CSSM_ACL_AUTHORIZATION_ENCRYPT = CSSM_WORDID_ENCRYPT,
CSSM_ACL_AUTHORIZATION_DECRYPT = CSSM_WORDID_DECRYPT,
CSSM_ACL_AUTHORIZATION_MAC = CSSM_WORDID_MAC,
CSSM_ACL_AUTHORIZATION_DERIVE = CSSM_WORDID_DERIVE,
CSSM_ACL_AUTHORIZATION_DBS_CREATE = CSSM_WORDID_DBS_CREATE,
CSSM_ACL_AUTHORIZATION_DBS_DELETE = CSSM_WORDID_DBS_DELETE,
CSSM_ACL_AUTHORIZATION_DB_READ = CSSM_WORDID_DB_READ,
CSSM_ACL_AUTHORIZATION_DB_INSERT = CSSM_WORDID_DB_INSERT,
CSSM_ACL_AUTHORIZATION_DB_MODIFY = CSSM_WORDID_DB_MODIFY,
CSSM_ACL_AUTHORIZATION_DB_DELETE = CSSM_WORDID_DB_DELETE
};
typedef struct cssm_authorizationgroup {
uint32 NumberOfAuthTags;
CSSM_ACL_AUTHORIZATION_TAG *AuthTags;
} CSSM_AUTHORIZATIONGROUP, *CSSM_AUTHORIZATIONGROUP_PTR;
typedef struct cssm_acl_validity_period {
CSSM_DATA StartDate;
CSSM_DATA EndDate;
} CSSM_ACL_VALIDITY_PERIOD, *CSSM_ACL_VALIDITY_PERIOD_PTR;
typedef struct cssm_acl_entry_prototype {
CSSM_LIST TypedSubject;
CSSM_BOOL Delegate;
CSSM_AUTHORIZATIONGROUP Authorization;
CSSM_ACL_VALIDITY_PERIOD TimeRange;
CSSM_STRING EntryTag;
} CSSM_ACL_ENTRY_PROTOTYPE, *CSSM_ACL_ENTRY_PROTOTYPE_PTR;
typedef struct cssm_acl_owner_prototype {
CSSM_LIST TypedSubject;
CSSM_BOOL Delegate;
} CSSM_ACL_OWNER_PROTOTYPE, *CSSM_ACL_OWNER_PROTOTYPE_PTR;
typedef CSSM_RETURN ( * CSSM_ACL_SUBJECT_CALLBACK)
(const CSSM_LIST *SubjectRequest,
CSSM_LIST_PTR SubjectResponse,
void *CallerContext,
const CSSM_MEMORY_FUNCS *MemFuncs);
typedef struct cssm_acl_entry_input {
CSSM_ACL_ENTRY_PROTOTYPE Prototype;
CSSM_ACL_SUBJECT_CALLBACK Callback;
void *CallerContext;
} CSSM_ACL_ENTRY_INPUT, *CSSM_ACL_ENTRY_INPUT_PTR;
typedef struct cssm_resource_control_context {
CSSM_ACCESS_CREDENTIALS_PTR AccessCred;
CSSM_ACL_ENTRY_INPUT InitialAclEntry;
} CSSM_RESOURCE_CONTROL_CONTEXT, *CSSM_RESOURCE_CONTROL_CONTEXT_PTR;
typedef CSSM_HANDLE CSSM_ACL_HANDLE;
typedef struct cssm_acl_entry_info {
CSSM_ACL_ENTRY_PROTOTYPE EntryPublicInfo;
CSSM_ACL_HANDLE EntryHandle;
} CSSM_ACL_ENTRY_INFO, *CSSM_ACL_ENTRY_INFO_PTR;
typedef uint32 CSSM_ACL_EDIT_MODE;
enum {
CSSM_ACL_EDIT_MODE_ADD = 1,
CSSM_ACL_EDIT_MODE_DELETE = 2,
CSSM_ACL_EDIT_MODE_REPLACE = 3
};
typedef struct cssm_acl_edit {
CSSM_ACL_EDIT_MODE EditMode;
CSSM_ACL_HANDLE OldEntryHandle;
const CSSM_ACL_ENTRY_INPUT *NewEntry;
} CSSM_ACL_EDIT, *CSSM_ACL_EDIT_PTR;
typedef void ( *CSSM_PROC_ADDR) ();
typedef CSSM_PROC_ADDR *CSSM_PROC_ADDR_PTR;
typedef struct cssm_func_name_addr {
CSSM_STRING Name;
CSSM_PROC_ADDR Address;
} CSSM_FUNC_NAME_ADDR, *CSSM_FUNC_NAME_ADDR_PTR;
typedef struct cssm_date {
uint8 Year[4];
uint8 Month[2];
uint8 Day[2];
} CSSM_DATE, *CSSM_DATE_PTR;
typedef struct cssm_range {
uint32 Min;
uint32 Max;
} CSSM_RANGE, *CSSM_RANGE_PTR;
typedef struct cssm_query_size_data {
uint32 SizeInputBlock;
uint32 SizeOutputBlock;
} CSSM_QUERY_SIZE_DATA, *CSSM_QUERY_SIZE_DATA_PTR;
typedef uint32 CSSM_HEADERVERSION;
enum {
CSSM_KEYHEADER_VERSION = 2
};
typedef struct cssm_key_size {
uint32 LogicalKeySizeInBits;
uint32 EffectiveKeySizeInBits;
} CSSM_KEY_SIZE, *CSSM_KEY_SIZE_PTR;
typedef uint32 CSSM_KEYBLOB_TYPE;
enum {
CSSM_KEYBLOB_RAW = 0,
CSSM_KEYBLOB_REFERENCE = 2,
CSSM_KEYBLOB_WRAPPED = 3,
CSSM_KEYBLOB_OTHER = 0xFFFFFFFF
};
typedef uint32 CSSM_KEYBLOB_FORMAT;
enum {
CSSM_KEYBLOB_RAW_FORMAT_NONE = 0,
CSSM_KEYBLOB_RAW_FORMAT_PKCS1 = 1,
CSSM_KEYBLOB_RAW_FORMAT_PKCS3 = 2,
CSSM_KEYBLOB_RAW_FORMAT_MSCAPI = 3,
CSSM_KEYBLOB_RAW_FORMAT_PGP = 4,
CSSM_KEYBLOB_RAW_FORMAT_FIPS186 = 5,
CSSM_KEYBLOB_RAW_FORMAT_BSAFE = 6,
CSSM_KEYBLOB_RAW_FORMAT_CCA = 9,
CSSM_KEYBLOB_RAW_FORMAT_PKCS8 = 10,
CSSM_KEYBLOB_RAW_FORMAT_SPKI = 11,
CSSM_KEYBLOB_RAW_FORMAT_OCTET_STRING = 12,
CSSM_KEYBLOB_RAW_FORMAT_OTHER = 0xFFFFFFFF
};
enum {
CSSM_KEYBLOB_WRAPPED_FORMAT_NONE = 0,
CSSM_KEYBLOB_WRAPPED_FORMAT_PKCS8 = 1,
CSSM_KEYBLOB_WRAPPED_FORMAT_PKCS7 = 2,
CSSM_KEYBLOB_WRAPPED_FORMAT_MSCAPI = 3,
CSSM_KEYBLOB_WRAPPED_FORMAT_OTHER = 0xFFFFFFFF
};
enum {
CSSM_KEYBLOB_REF_FORMAT_INTEGER = 0,
CSSM_KEYBLOB_REF_FORMAT_STRING = 1,
CSSM_KEYBLOB_REF_FORMAT_SPKI = 2,
CSSM_KEYBLOB_REF_FORMAT_OTHER = 0xFFFFFFFF
};
typedef uint32 CSSM_KEYCLASS;
enum {
CSSM_KEYCLASS_PUBLIC_KEY = 0,
CSSM_KEYCLASS_PRIVATE_KEY = 1,
CSSM_KEYCLASS_SESSION_KEY = 2,
CSSM_KEYCLASS_SECRET_PART = 3,
CSSM_KEYCLASS_OTHER = 0xFFFFFFFF
};
typedef uint32 CSSM_KEYATTR_FLAGS;
enum {
CSSM_KEYATTR_RETURN_DEFAULT = 0x00000000,
CSSM_KEYATTR_RETURN_DATA = 0x10000000,
CSSM_KEYATTR_RETURN_REF = 0x20000000,
CSSM_KEYATTR_RETURN_NONE = 0x40000000,
CSSM_KEYATTR_PERMANENT = 0x00000001,
CSSM_KEYATTR_PRIVATE = 0x00000002,
CSSM_KEYATTR_MODIFIABLE = 0x00000004,
CSSM_KEYATTR_SENSITIVE = 0x00000008,
CSSM_KEYATTR_EXTRACTABLE = 0x00000020,
CSSM_KEYATTR_ALWAYS_SENSITIVE = 0x00000010,
CSSM_KEYATTR_NEVER_EXTRACTABLE = 0x00000040
};
typedef uint32 CSSM_KEYUSE;
enum {
CSSM_KEYUSE_ANY = 0x80000000,
CSSM_KEYUSE_ENCRYPT = 0x00000001,
CSSM_KEYUSE_DECRYPT = 0x00000002,
CSSM_KEYUSE_SIGN = 0x00000004,
CSSM_KEYUSE_VERIFY = 0x00000008,
CSSM_KEYUSE_SIGN_RECOVER = 0x00000010,
CSSM_KEYUSE_VERIFY_RECOVER = 0x00000020,
CSSM_KEYUSE_WRAP = 0x00000040,
CSSM_KEYUSE_UNWRAP = 0x00000080,
CSSM_KEYUSE_DERIVE = 0x00000100
};
typedef uint32 CSSM_ALGORITHMS;
enum {
CSSM_ALGID_NONE = 0,
CSSM_ALGID_CUSTOM = CSSM_ALGID_NONE + 1,
CSSM_ALGID_DH = CSSM_ALGID_NONE + 2,
CSSM_ALGID_PH = CSSM_ALGID_NONE + 3,
CSSM_ALGID_KEA = CSSM_ALGID_NONE + 4,
CSSM_ALGID_MD2 = CSSM_ALGID_NONE + 5,
CSSM_ALGID_MD4 = CSSM_ALGID_NONE + 6,
CSSM_ALGID_MD5 = CSSM_ALGID_NONE + 7,
CSSM_ALGID_SHA1 = CSSM_ALGID_NONE + 8,
CSSM_ALGID_NHASH = CSSM_ALGID_NONE + 9,
CSSM_ALGID_HAVAL = CSSM_ALGID_NONE + 10,
CSSM_ALGID_RIPEMD = CSSM_ALGID_NONE + 11,
CSSM_ALGID_IBCHASH = CSSM_ALGID_NONE + 12,
CSSM_ALGID_RIPEMAC = CSSM_ALGID_NONE + 13,
CSSM_ALGID_DES = CSSM_ALGID_NONE + 14,
CSSM_ALGID_DESX = CSSM_ALGID_NONE + 15,
CSSM_ALGID_RDES = CSSM_ALGID_NONE + 16,
CSSM_ALGID_3DES_3KEY_EDE = CSSM_ALGID_NONE + 17,
CSSM_ALGID_3DES_2KEY_EDE = CSSM_ALGID_NONE + 18,
CSSM_ALGID_3DES_1KEY_EEE = CSSM_ALGID_NONE + 19,
CSSM_ALGID_3DES_3KEY = CSSM_ALGID_3DES_3KEY_EDE,
CSSM_ALGID_3DES_3KEY_EEE = CSSM_ALGID_NONE + 20,
CSSM_ALGID_3DES_2KEY = CSSM_ALGID_3DES_2KEY_EDE,
CSSM_ALGID_3DES_2KEY_EEE = CSSM_ALGID_NONE + 21,
CSSM_ALGID_3DES_1KEY = CSSM_ALGID_3DES_3KEY_EEE,
CSSM_ALGID_IDEA = CSSM_ALGID_NONE + 22,
CSSM_ALGID_RC2 = CSSM_ALGID_NONE + 23,
CSSM_ALGID_RC5 = CSSM_ALGID_NONE + 24,
CSSM_ALGID_RC4 = CSSM_ALGID_NONE + 25,
CSSM_ALGID_SEAL = CSSM_ALGID_NONE + 26,
CSSM_ALGID_CAST = CSSM_ALGID_NONE + 27,
CSSM_ALGID_BLOWFISH = CSSM_ALGID_NONE + 28,
CSSM_ALGID_SKIPJACK = CSSM_ALGID_NONE + 29,
CSSM_ALGID_LUCIFER = CSSM_ALGID_NONE + 30,
CSSM_ALGID_MADRYGA = CSSM_ALGID_NONE + 31,
CSSM_ALGID_FEAL = CSSM_ALGID_NONE + 32,
CSSM_ALGID_REDOC = CSSM_ALGID_NONE + 33,
CSSM_ALGID_REDOC3 = CSSM_ALGID_NONE + 34,
CSSM_ALGID_LOKI = CSSM_ALGID_NONE + 35,
CSSM_ALGID_KHUFU = CSSM_ALGID_NONE + 36,
CSSM_ALGID_KHAFRE = CSSM_ALGID_NONE + 37,
CSSM_ALGID_MMB = CSSM_ALGID_NONE + 38,
CSSM_ALGID_GOST = CSSM_ALGID_NONE + 39,
CSSM_ALGID_SAFER = CSSM_ALGID_NONE + 40,
CSSM_ALGID_CRAB = CSSM_ALGID_NONE + 41,
CSSM_ALGID_RSA = CSSM_ALGID_NONE + 42,
CSSM_ALGID_DSA = CSSM_ALGID_NONE + 43,
CSSM_ALGID_MD5WithRSA = CSSM_ALGID_NONE + 44,
CSSM_ALGID_MD2WithRSA = CSSM_ALGID_NONE + 45,
CSSM_ALGID_ElGamal = CSSM_ALGID_NONE + 46,
CSSM_ALGID_MD2Random = CSSM_ALGID_NONE + 47,
CSSM_ALGID_MD5Random = CSSM_ALGID_NONE + 48,
CSSM_ALGID_SHARandom = CSSM_ALGID_NONE + 49,
CSSM_ALGID_DESRandom = CSSM_ALGID_NONE + 50,
CSSM_ALGID_SHA1WithRSA = CSSM_ALGID_NONE + 51,
CSSM_ALGID_CDMF = CSSM_ALGID_NONE + 52,
CSSM_ALGID_CAST3 = CSSM_ALGID_NONE + 53,
CSSM_ALGID_CAST5 = CSSM_ALGID_NONE + 54,
CSSM_ALGID_GenericSecret = CSSM_ALGID_NONE + 55,
CSSM_ALGID_ConcatBaseAndKey = CSSM_ALGID_NONE + 56,
CSSM_ALGID_ConcatKeyAndBase = CSSM_ALGID_NONE + 57,
CSSM_ALGID_ConcatBaseAndData = CSSM_ALGID_NONE + 58,
CSSM_ALGID_ConcatDataAndBase = CSSM_ALGID_NONE + 59,
CSSM_ALGID_XORBaseAndData = CSSM_ALGID_NONE + 60,
CSSM_ALGID_ExtractFromKey = CSSM_ALGID_NONE + 61,
CSSM_ALGID_SSL3PreMasterGen = CSSM_ALGID_NONE + 62,
CSSM_ALGID_SSL3MasterDerive = CSSM_ALGID_NONE + 63,
CSSM_ALGID_SSL3KeyAndMacDerive = CSSM_ALGID_NONE + 64,
CSSM_ALGID_SSL3MD5_MAC = CSSM_ALGID_NONE + 65,
CSSM_ALGID_SSL3SHA1_MAC = CSSM_ALGID_NONE + 66,
CSSM_ALGID_PKCS5_PBKDF1_MD5 = CSSM_ALGID_NONE + 67,
CSSM_ALGID_PKCS5_PBKDF1_MD2 = CSSM_ALGID_NONE + 68,
CSSM_ALGID_PKCS5_PBKDF1_SHA1 = CSSM_ALGID_NONE + 69,
CSSM_ALGID_WrapLynks = CSSM_ALGID_NONE + 70,
CSSM_ALGID_WrapSET_OAEP = CSSM_ALGID_NONE + 71,
CSSM_ALGID_BATON = CSSM_ALGID_NONE + 72,
CSSM_ALGID_ECDSA = CSSM_ALGID_NONE + 73,
CSSM_ALGID_MAYFLY = CSSM_ALGID_NONE + 74,
CSSM_ALGID_JUNIPER = CSSM_ALGID_NONE + 75,
CSSM_ALGID_FASTHASH = CSSM_ALGID_NONE + 76,
CSSM_ALGID_3DES = CSSM_ALGID_NONE + 77,
CSSM_ALGID_SSL3MD5 = CSSM_ALGID_NONE + 78,
CSSM_ALGID_SSL3SHA1 = CSSM_ALGID_NONE + 79,
CSSM_ALGID_FortezzaTimestamp = CSSM_ALGID_NONE + 80,
CSSM_ALGID_SHA1WithDSA = CSSM_ALGID_NONE + 81,
CSSM_ALGID_SHA1WithECDSA = CSSM_ALGID_NONE + 82,
CSSM_ALGID_DSA_BSAFE = CSSM_ALGID_NONE + 83,
CSSM_ALGID_ECDH = CSSM_ALGID_NONE + 84,
CSSM_ALGID_ECMQV = CSSM_ALGID_NONE + 85,
CSSM_ALGID_PKCS12_SHA1_PBE = CSSM_ALGID_NONE + 86,
CSSM_ALGID_ECNRA = CSSM_ALGID_NONE + 87,
CSSM_ALGID_SHA1WithECNRA = CSSM_ALGID_NONE + 88,
CSSM_ALGID_ECES = CSSM_ALGID_NONE + 89,
CSSM_ALGID_ECAES = CSSM_ALGID_NONE + 90,
CSSM_ALGID_SHA1HMAC = CSSM_ALGID_NONE + 91,
CSSM_ALGID_FIPS186Random = CSSM_ALGID_NONE + 92,
CSSM_ALGID_ECC = CSSM_ALGID_NONE + 93,
CSSM_ALGID_MQV = CSSM_ALGID_NONE + 94,
CSSM_ALGID_NRA = CSSM_ALGID_NONE + 95,
CSSM_ALGID_IntelPlatformRandom = CSSM_ALGID_NONE + 96,
CSSM_ALGID_UTC = CSSM_ALGID_NONE + 97,
CSSM_ALGID_HAVAL3 = CSSM_ALGID_NONE + 98,
CSSM_ALGID_HAVAL4 = CSSM_ALGID_NONE + 99,
CSSM_ALGID_HAVAL5 = CSSM_ALGID_NONE + 100,
CSSM_ALGID_TIGER = CSSM_ALGID_NONE + 101,
CSSM_ALGID_MD5HMAC = CSSM_ALGID_NONE + 102,
CSSM_ALGID_PKCS5_PBKDF2 = CSSM_ALGID_NONE + 103,
CSSM_ALGID_RUNNING_COUNTER = CSSM_ALGID_NONE + 104,
CSSM_ALGID_LAST = CSSM_ALGID_NONE + 0x7FFFFFFF,
CSSM_ALGID_VENDOR_DEFINED = CSSM_ALGID_NONE + 0x80000000
};
typedef uint32 CSSM_ENCRYPT_MODE;
enum {
CSSM_ALGMODE_NONE = 0,
CSSM_ALGMODE_CUSTOM = CSSM_ALGMODE_NONE + 1,
CSSM_ALGMODE_ECB = CSSM_ALGMODE_NONE + 2,
CSSM_ALGMODE_ECBPad = CSSM_ALGMODE_NONE + 3,
CSSM_ALGMODE_CBC = CSSM_ALGMODE_NONE + 4,
CSSM_ALGMODE_CBC_IV8 = CSSM_ALGMODE_NONE + 5,
CSSM_ALGMODE_CBCPadIV8 = CSSM_ALGMODE_NONE + 6,
CSSM_ALGMODE_CFB = CSSM_ALGMODE_NONE + 7,
CSSM_ALGMODE_CFB_IV8 = CSSM_ALGMODE_NONE + 8,
CSSM_ALGMODE_CFBPadIV8 = CSSM_ALGMODE_NONE + 9,
CSSM_ALGMODE_OFB = CSSM_ALGMODE_NONE + 10,
CSSM_ALGMODE_OFB_IV8 = CSSM_ALGMODE_NONE + 11,
CSSM_ALGMODE_OFBPadIV8 = CSSM_ALGMODE_NONE + 12,
CSSM_ALGMODE_COUNTER = CSSM_ALGMODE_NONE + 13,
CSSM_ALGMODE_BC = CSSM_ALGMODE_NONE + 14,
CSSM_ALGMODE_PCBC = CSSM_ALGMODE_NONE + 15,
CSSM_ALGMODE_CBCC = CSSM_ALGMODE_NONE + 16,
CSSM_ALGMODE_OFBNLF = CSSM_ALGMODE_NONE + 17,
CSSM_ALGMODE_PBC = CSSM_ALGMODE_NONE + 18,
CSSM_ALGMODE_PFB = CSSM_ALGMODE_NONE + 19,
CSSM_ALGMODE_CBCPD = CSSM_ALGMODE_NONE + 20,
CSSM_ALGMODE_PUBLIC_KEY = CSSM_ALGMODE_NONE + 21,
CSSM_ALGMODE_PRIVATE_KEY = CSSM_ALGMODE_NONE + 22,
CSSM_ALGMODE_SHUFFLE = CSSM_ALGMODE_NONE + 23,
CSSM_ALGMODE_ECB64 = CSSM_ALGMODE_NONE + 24,
CSSM_ALGMODE_CBC64 = CSSM_ALGMODE_NONE + 25,
CSSM_ALGMODE_OFB64 = CSSM_ALGMODE_NONE + 26,
CSSM_ALGMODE_CFB32 = CSSM_ALGMODE_NONE + 28,
CSSM_ALGMODE_CFB16 = CSSM_ALGMODE_NONE + 29,
CSSM_ALGMODE_CFB8 = CSSM_ALGMODE_NONE + 30,
CSSM_ALGMODE_WRAP = CSSM_ALGMODE_NONE + 31,
CSSM_ALGMODE_PRIVATE_WRAP = CSSM_ALGMODE_NONE + 32,
CSSM_ALGMODE_RELAYX = CSSM_ALGMODE_NONE + 33,
CSSM_ALGMODE_ECB128 = CSSM_ALGMODE_NONE + 34,
CSSM_ALGMODE_ECB96 = CSSM_ALGMODE_NONE + 35,
CSSM_ALGMODE_CBC128 = CSSM_ALGMODE_NONE + 36,
CSSM_ALGMODE_OAEP_HASH = CSSM_ALGMODE_NONE + 37,
CSSM_ALGMODE_PKCS1_EME_V15 = CSSM_ALGMODE_NONE + 38,
CSSM_ALGMODE_PKCS1_EME_OAEP = CSSM_ALGMODE_NONE + 39,
CSSM_ALGMODE_PKCS1_EMSA_V15 = CSSM_ALGMODE_NONE + 40,
CSSM_ALGMODE_ISO_9796 = CSSM_ALGMODE_NONE + 41,
CSSM_ALGMODE_X9_31 = CSSM_ALGMODE_NONE + 42,
CSSM_ALGMODE_LAST = CSSM_ALGMODE_NONE + 0x7FFFFFFF,
CSSM_ALGMODE_VENDOR_DEFINED = CSSM_ALGMODE_NONE + 0x80000000
};
typedef struct cssm_keyheader {
CSSM_HEADERVERSION HeaderVersion;
CSSM_GUID CspId;
CSSM_KEYBLOB_TYPE BlobType;
CSSM_KEYBLOB_FORMAT Format;
CSSM_ALGORITHMS AlgorithmId;
CSSM_KEYCLASS KeyClass;
uint32 LogicalKeySizeInBits;
CSSM_KEYATTR_FLAGS KeyAttr;
CSSM_KEYUSE KeyUsage;
CSSM_DATE StartDate;
CSSM_DATE EndDate;
CSSM_ALGORITHMS WrapAlgorithmId;
CSSM_ENCRYPT_MODE WrapMode;
uint32 Reserved;
} CSSM_KEYHEADER, *CSSM_KEYHEADER_PTR;
typedef struct cssm_key {
CSSM_KEYHEADER KeyHeader;
CSSM_DATA KeyData;
} CSSM_KEY, *CSSM_KEY_PTR;
typedef CSSM_KEY CSSM_WRAP_KEY, *CSSM_WRAP_KEY_PTR;
typedef uint32 CSSM_CSPTYPE;
enum {
CSSM_CSP_SOFTWARE = 1,
CSSM_CSP_HARDWARE = CSSM_CSP_SOFTWARE + 1,
CSSM_CSP_HYBRID = CSSM_CSP_SOFTWARE + 2
};
typedef struct cssm_dl_db_handle {
CSSM_DL_HANDLE DLHandle;
CSSM_DB_HANDLE DBHandle;
} CSSM_DL_DB_HANDLE, *CSSM_DL_DB_HANDLE_PTR;
typedef uint32 CSSM_CONTEXT_TYPE;
enum {
CSSM_ALGCLASS_NONE = 0,
CSSM_ALGCLASS_CUSTOM = CSSM_ALGCLASS_NONE + 1,
CSSM_ALGCLASS_SIGNATURE = CSSM_ALGCLASS_NONE + 2,
CSSM_ALGCLASS_SYMMETRIC = CSSM_ALGCLASS_NONE + 3,
CSSM_ALGCLASS_DIGEST = CSSM_ALGCLASS_NONE + 4,
CSSM_ALGCLASS_RANDOMGEN = CSSM_ALGCLASS_NONE + 5,
CSSM_ALGCLASS_UNIQUEGEN = CSSM_ALGCLASS_NONE + 6,
CSSM_ALGCLASS_MAC = CSSM_ALGCLASS_NONE + 7,
CSSM_ALGCLASS_ASYMMETRIC = CSSM_ALGCLASS_NONE + 8,
CSSM_ALGCLASS_KEYGEN = CSSM_ALGCLASS_NONE + 9,
CSSM_ALGCLASS_DERIVEKEY = CSSM_ALGCLASS_NONE + 10
};
enum {
CSSM_ATTRIBUTE_DATA_NONE = 0x00000000,
CSSM_ATTRIBUTE_DATA_UINT32 = 0x10000000,
CSSM_ATTRIBUTE_DATA_CSSM_DATA = 0x20000000,
CSSM_ATTRIBUTE_DATA_CRYPTO_DATA = 0x30000000,
CSSM_ATTRIBUTE_DATA_KEY = 0x40000000,
CSSM_ATTRIBUTE_DATA_STRING = 0x50000000,
CSSM_ATTRIBUTE_DATA_DATE = 0x60000000,
CSSM_ATTRIBUTE_DATA_RANGE = 0x70000000,
CSSM_ATTRIBUTE_DATA_ACCESS_CREDENTIALS = 0x80000000,
CSSM_ATTRIBUTE_DATA_VERSION = 0x01000000,
CSSM_ATTRIBUTE_DATA_DL_DB_HANDLE = 0x02000000,
CSSM_ATTRIBUTE_DATA_KR_PROFILE = 0x03000000,
CSSM_ATTRIBUTE_TYPE_MASK = 0xFF000000
};
typedef uint32 CSSM_ATTRIBUTE_TYPE;
enum {
CSSM_ATTRIBUTE_NONE = 0,
CSSM_ATTRIBUTE_CUSTOM = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 1,
CSSM_ATTRIBUTE_DESCRIPTION = CSSM_ATTRIBUTE_DATA_STRING | 2,
CSSM_ATTRIBUTE_KEY = CSSM_ATTRIBUTE_DATA_KEY | 3,
CSSM_ATTRIBUTE_INIT_VECTOR = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 4,
CSSM_ATTRIBUTE_SALT = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 5,
CSSM_ATTRIBUTE_PADDING = CSSM_ATTRIBUTE_DATA_UINT32 | 6,
CSSM_ATTRIBUTE_RANDOM = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 7,
CSSM_ATTRIBUTE_SEED = CSSM_ATTRIBUTE_DATA_CRYPTO_DATA | 8,
CSSM_ATTRIBUTE_PASSPHRASE = CSSM_ATTRIBUTE_DATA_CRYPTO_DATA | 9,
CSSM_ATTRIBUTE_KEY_LENGTH = CSSM_ATTRIBUTE_DATA_UINT32 | 10,
CSSM_ATTRIBUTE_KEY_LENGTH_RANGE = CSSM_ATTRIBUTE_DATA_RANGE | 11,
CSSM_ATTRIBUTE_BLOCK_SIZE = CSSM_ATTRIBUTE_DATA_UINT32 | 12,
CSSM_ATTRIBUTE_OUTPUT_SIZE = CSSM_ATTRIBUTE_DATA_UINT32 | 13,
CSSM_ATTRIBUTE_ROUNDS = CSSM_ATTRIBUTE_DATA_UINT32 | 14,
CSSM_ATTRIBUTE_IV_SIZE = CSSM_ATTRIBUTE_DATA_UINT32 | 15,
CSSM_ATTRIBUTE_ALG_PARAMS = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 16,
CSSM_ATTRIBUTE_LABEL = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 17,
CSSM_ATTRIBUTE_KEY_TYPE = CSSM_ATTRIBUTE_DATA_UINT32 | 18,
CSSM_ATTRIBUTE_MODE = CSSM_ATTRIBUTE_DATA_UINT32 | 19,
CSSM_ATTRIBUTE_EFFECTIVE_BITS = CSSM_ATTRIBUTE_DATA_UINT32 | 20,
CSSM_ATTRIBUTE_START_DATE = CSSM_ATTRIBUTE_DATA_DATE | 21,
CSSM_ATTRIBUTE_END_DATE = CSSM_ATTRIBUTE_DATA_DATE | 22,
CSSM_ATTRIBUTE_KEYUSAGE = CSSM_ATTRIBUTE_DATA_UINT32 | 23,
CSSM_ATTRIBUTE_KEYATTR = CSSM_ATTRIBUTE_DATA_UINT32 | 24,
CSSM_ATTRIBUTE_VERSION = CSSM_ATTRIBUTE_DATA_VERSION | 25,
CSSM_ATTRIBUTE_PRIME = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 26,
CSSM_ATTRIBUTE_BASE = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 27,
CSSM_ATTRIBUTE_SUBPRIME = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 28,
CSSM_ATTRIBUTE_ALG_ID = CSSM_ATTRIBUTE_DATA_UINT32 | 29,
CSSM_ATTRIBUTE_ITERATION_COUNT = CSSM_ATTRIBUTE_DATA_UINT32 | 30,
CSSM_ATTRIBUTE_ROUNDS_RANGE = CSSM_ATTRIBUTE_DATA_RANGE | 31,
CSSM_ATTRIBUTE_KRPROFILE_LOCAL = CSSM_ATTRIBUTE_DATA_KR_PROFILE | 32,
CSSM_ATTRIBUTE_KRPROFILE_REMOTE = CSSM_ATTRIBUTE_DATA_KR_PROFILE | 33,
CSSM_ATTRIBUTE_CSP_HANDLE = CSSM_ATTRIBUTE_DATA_UINT32 | 34,
CSSM_ATTRIBUTE_DL_DB_HANDLE = CSSM_ATTRIBUTE_DATA_DL_DB_HANDLE | 35,
CSSM_ATTRIBUTE_ACCESS_CREDENTIALS = CSSM_ATTRIBUTE_DATA_ACCESS_CREDENTIALS | 36,
CSSM_ATTRIBUTE_PUBLIC_KEY_FORMAT = CSSM_ATTRIBUTE_DATA_UINT32 | 37,
CSSM_ATTRIBUTE_PRIVATE_KEY_FORMAT = CSSM_ATTRIBUTE_DATA_UINT32 | 38,
CSSM_ATTRIBUTE_SYMMETRIC_KEY_FORMAT=CSSM_ATTRIBUTE_DATA_UINT32 | 39,
CSSM_ATTRIBUTE_WRAPPED_KEY_FORMAT = CSSM_ATTRIBUTE_DATA_UINT32 | 40
};
typedef uint32 CSSM_PADDING;
enum {
CSSM_PADDING_NONE = 0,
CSSM_PADDING_CUSTOM = CSSM_PADDING_NONE + 1,
CSSM_PADDING_ZERO = CSSM_PADDING_NONE + 2,
CSSM_PADDING_ONE = CSSM_PADDING_NONE + 3,
CSSM_PADDING_ALTERNATE = CSSM_PADDING_NONE + 4,
CSSM_PADDING_FF = CSSM_PADDING_NONE + 5,
CSSM_PADDING_PKCS5 = CSSM_PADDING_NONE + 6,
CSSM_PADDING_PKCS7 = CSSM_PADDING_NONE + 7,
CSSM_PADDING_CIPHERSTEALING = CSSM_PADDING_NONE + 8,
CSSM_PADDING_RANDOM = CSSM_PADDING_NONE + 9,
CSSM_PADDING_PKCS1 = CSSM_PADDING_NONE + 10,
CSSM_PADDING_VENDOR_DEFINED = CSSM_PADDING_NONE + 0x80000000
};
typedef CSSM_ALGORITHMS CSSM_KEY_TYPE;
typedef struct cssm_context_attribute {
CSSM_ATTRIBUTE_TYPE AttributeType;
uint32 AttributeLength;
union cssm_context_attribute_value {
char *String;
uint32 Uint32;
CSSM_ACCESS_CREDENTIALS_PTR AccessCredentials;
CSSM_KEY_PTR Key;
CSSM_DATA_PTR Data;
CSSM_PADDING Padding;
CSSM_DATE_PTR Date;
CSSM_RANGE_PTR Range;
CSSM_CRYPTO_DATA_PTR CryptoData;
CSSM_VERSION_PTR Version;
CSSM_DL_DB_HANDLE_PTR DLDBHandle;
struct cssm_kr_profile *KRProfile;
} Attribute;
} CSSM_CONTEXT_ATTRIBUTE, *CSSM_CONTEXT_ATTRIBUTE_PTR;
typedef struct cssm_context {
CSSM_CONTEXT_TYPE ContextType;
CSSM_ALGORITHMS AlgorithmType;
uint32 NumberOfAttributes;
CSSM_CONTEXT_ATTRIBUTE_PTR ContextAttributes;
CSSM_CSP_HANDLE CSPHandle;
CSSM_BOOL Privileged;
uint32 EncryptionProhibited;
uint32 WorkFactor;
uint32 Reserved;
} CSSM_CONTEXT, *CSSM_CONTEXT_PTR;
typedef uint32 CSSM_SC_FLAGS;
enum {
CSSM_CSP_TOK_RNG = 0x00000001,
CSSM_CSP_TOK_CLOCK_EXISTS = 0x00000040
};
typedef uint32 CSSM_CSP_READER_FLAGS;
enum {
CSSM_CSP_RDR_TOKENPRESENT = 0x00000001,
CSSM_CSP_RDR_EXISTS = 0x00000002,
CSSM_CSP_RDR_HW = 0x00000004
};
typedef uint32 CSSM_CSP_FLAGS;
enum {
CSSM_CSP_TOK_WRITE_PROTECTED = 0x00000002,
CSSM_CSP_TOK_LOGIN_REQUIRED = 0x00000004,
CSSM_CSP_TOK_USER_PIN_INITIALIZED = 0x00000008,
CSSM_CSP_TOK_PROT_AUTHENTICATION = 0x00000100,
CSSM_CSP_TOK_USER_PIN_EXPIRED = 0x00100000,
CSSM_CSP_TOK_SESSION_KEY_PASSWORD = 0x00200000,
CSSM_CSP_TOK_PRIVATE_KEY_PASSWORD = 0x00400000,
CSSM_CSP_STORES_PRIVATE_KEYS = 0x01000000,
CSSM_CSP_STORES_PUBLIC_KEYS = 0x02000000,
CSSM_CSP_STORES_SESSION_KEYS = 0x04000000,
CSSM_CSP_STORES_CERTIFICATES = 0x08000000,
CSSM_CSP_STORES_GENERIC = 0x10000000
};
typedef uint32 CSSM_PKCS_OAEP_MGF;
enum {
CSSM_PKCS_OAEP_MGF_NONE = 0,
CSSM_PKCS_OAEP_MGF1_SHA1 = CSSM_PKCS_OAEP_MGF_NONE + 1,
CSSM_PKCS_OAEP_MGF1_MD5 = CSSM_PKCS_OAEP_MGF_NONE + 2
};
typedef uint32 CSSM_PKCS_OAEP_PSOURCE;
enum {
CSSM_PKCS_OAEP_PSOURCE_NONE = 0,
CSSM_PKCS_OAEP_PSOURCE_Pspecified = CSSM_PKCS_OAEP_PSOURCE_NONE + 1
};
typedef struct cssm_pkcs1_oaep_params {
uint32 HashAlgorithm;
CSSM_DATA HashParams;
CSSM_PKCS_OAEP_MGF MGF;
CSSM_DATA MGFParams;
CSSM_PKCS_OAEP_PSOURCE PSource;
CSSM_DATA PSourceParams;
} CSSM_PKCS1_OAEP_PARAMS, *CSSM_PKCS1_OAEP_PARAMS_PTR;
typedef struct cssm_csp_operational_statistics {
CSSM_BOOL UserAuthenticated;
CSSM_CSP_FLAGS DeviceFlags;
uint32 TokenMaxSessionCount;
uint32 TokenOpenedSessionCount;
uint32 TokenMaxRWSessionCount;
uint32 TokenOpenedRWSessionCount;
uint32 TokenTotalPublicMem;
uint32 TokenFreePublicMem;
uint32 TokenTotalPrivateMem;
uint32 TokenFreePrivateMem;
} CSSM_CSP_OPERATIONAL_STATISTICS, *CSSM_CSP_OPERATIONAL_STATISTICS_PTR;
enum {
CSSM_VALUE_NOT_AVAILABLE = (uint32)(~0)
};
typedef struct cssm_pkcs5_pbkdf1_params {
CSSM_DATA Passphrase;
CSSM_DATA InitVector;
} CSSM_PKCS5_PBKDF1_PARAMS, *CSSM_PKCS5_PBKDF1_PARAMS_PTR;
typedef uint32 CSSM_PKCS5_PBKDF2_PRF;
enum {
CSSM_PKCS5_PBKDF2_PRF_HMAC_SHA1 = 0
};
typedef struct cssm_pkcs5_pbkdf2_params {
CSSM_DATA Passphrase;
CSSM_PKCS5_PBKDF2_PRF PseudoRandomFunction;
} CSSM_PKCS5_PBKDF2_PARAMS, *CSSM_PKCS5_PBKDF2_PARAMS_PTR;
typedef struct cssm_kea_derive_params {
CSSM_DATA Rb;
CSSM_DATA Yb;
} CSSM_KEA_DERIVE_PARAMS, *CSSM_KEA_DERIVE_PARAMS_PTR;
typedef struct cssm_tp_authority_id {
CSSM_DATA *AuthorityCert;
CSSM_NET_ADDRESS_PTR AuthorityLocation;
} CSSM_TP_AUTHORITY_ID, *CSSM_TP_AUTHORITY_ID_PTR;
typedef uint32 CSSM_TP_AUTHORITY_REQUEST_TYPE, *CSSM_TP_AUTHORITY_REQUEST_TYPE_PTR;
enum {
CSSM_TP_AUTHORITY_REQUEST_CERTISSUE = 0x01,
CSSM_TP_AUTHORITY_REQUEST_CERTREVOKE = 0x02,
CSSM_TP_AUTHORITY_REQUEST_CERTSUSPEND = 0x03,
CSSM_TP_AUTHORITY_REQUEST_CERTRESUME = 0x04,
CSSM_TP_AUTHORITY_REQUEST_CERTVERIFY = 0x05,
CSSM_TP_AUTHORITY_REQUEST_CERTNOTARIZE = 0x06,
CSSM_TP_AUTHORITY_REQUEST_CERTUSERECOVER = 0x07,
CSSM_TP_AUTHORITY_REQUEST_CRLISSUE = 0x100
};
typedef CSSM_RETURN ( * CSSM_TP_VERIFICATION_RESULTS_CALLBACK)
(CSSM_MODULE_HANDLE ModuleHandle,
void *CallerCtx,
CSSM_DATA_PTR VerifiedCert);
typedef CSSM_DATA CSSM_OID, *CSSM_OID_PTR;
typedef struct cssm_field {
CSSM_OID FieldOid;
CSSM_DATA FieldValue;
} CSSM_FIELD, *CSSM_FIELD_PTR;
typedef struct cssm_tp_policyinfo {
uint32 NumberOfPolicyIds;
CSSM_FIELD_PTR PolicyIds;
void *PolicyControl;
} CSSM_TP_POLICYINFO, *CSSM_TP_POLICYINFO_PTR;
typedef uint32 CSSM_TP_SERVICES;
enum {
CSSM_TP_KEY_ARCHIVE = 0x0001,
CSSM_TP_CERT_PUBLISH = 0x0002,
CSSM_TP_CERT_NOTIFY_RENEW = 0x0004,
CSSM_TP_CERT_DIR_UPDATE = 0x0008,
CSSM_TP_CRL_DISTRIBUTE = 0x0010
};
typedef uint32 CSSM_TP_ACTION;
enum {
CSSM_TP_ACTION_DEFAULT = 0
};
typedef uint32 CSSM_TP_STOP_ON;
enum {
CSSM_TP_STOP_ON_POLICY = 0,
CSSM_TP_STOP_ON_NONE = 1,
CSSM_TP_STOP_ON_FIRST_PASS = 2,
CSSM_TP_STOP_ON_FIRST_FAIL = 3
};
typedef char *CSSM_TIMESTRING;
typedef struct cssm_dl_db_list {
uint32 NumHandles;
CSSM_DL_DB_HANDLE_PTR DLDBHandle;
} CSSM_DL_DB_LIST, *CSSM_DL_DB_LIST_PTR;
typedef struct cssm_tp_callerauth_context {
CSSM_TP_POLICYINFO Policy;
CSSM_TIMESTRING VerifyTime;
CSSM_TP_STOP_ON VerificationAbortOn;
CSSM_TP_VERIFICATION_RESULTS_CALLBACK CallbackWithVerifiedCert;
uint32 NumberOfAnchorCerts;
CSSM_DATA_PTR AnchorCerts;
CSSM_DL_DB_LIST_PTR DBList;
CSSM_ACCESS_CREDENTIALS_PTR CallerCredentials;
} CSSM_TP_CALLERAUTH_CONTEXT, *CSSM_TP_CALLERAUTH_CONTEXT_PTR;
typedef uint32 CSSM_CRL_PARSE_FORMAT, * CSSM_CRL_PARSE_FORMAT_PTR;
enum {
CSSM_CRL_PARSE_FORMAT_NONE = 0x00,
CSSM_CRL_PARSE_FORMAT_CUSTOM = 0x01,
CSSM_CRL_PARSE_FORMAT_SEXPR = 0x02,
CSSM_CRL_PARSE_FORMAT_COMPLEX = 0x03,
CSSM_CRL_PARSE_FORMAT_OID_NAMED = 0x04,
CSSM_CRL_PARSE_FORMAT_TUPLE = 0x05,
CSSM_CRL_PARSE_FORMAT_MULTIPLE = 0x7FFE,
CSSM_CRL_PARSE_FORMAT_LAST = 0x7FFF,
CSSM_CL_CUSTOM_CRL_PARSE_FORMAT = 0x8000
};
typedef uint32 CSSM_CRL_TYPE, *CSSM_CRL_TYPE_PTR;
enum {
CSSM_CRL_TYPE_UNKNOWN = 0x00,
CSSM_CRL_TYPE_X_509v1 = 0x01,
CSSM_CRL_TYPE_X_509v2 = 0x02,
CSSM_CRL_TYPE_SPKI = 0x03,
CSSM_CRL_TYPE_MULTIPLE = 0x7FFE
};
typedef uint32 CSSM_CRL_ENCODING, *CSSM_CRL_ENCODING_PTR;
enum {
CSSM_CRL_ENCODING_UNKNOWN = 0x00,
CSSM_CRL_ENCODING_CUSTOM = 0x01,
CSSM_CRL_ENCODING_BER = 0x02,
CSSM_CRL_ENCODING_DER = 0x03,
CSSM_CRL_ENCODING_BLOOM = 0x04,
CSSM_CRL_ENCODING_SEXPR = 0x05,
CSSM_CRL_ENCODING_MULTIPLE = 0x7FFE
};
typedef struct cssm_encoded_crl {
CSSM_CRL_TYPE CrlType;
CSSM_CRL_ENCODING CrlEncoding;
CSSM_DATA CrlBlob;
} CSSM_ENCODED_CRL, *CSSM_ENCODED_CRL_PTR;
typedef struct cssm_parsed_crl {
CSSM_CRL_TYPE CrlType;
CSSM_CRL_PARSE_FORMAT ParsedCrlFormat;
void *ParsedCrl;
} CSSM_PARSED_CRL, *CSSM_PARSED_CRL_PTR;
typedef struct cssm_crl_pair {
CSSM_ENCODED_CRL EncodedCrl;
CSSM_PARSED_CRL ParsedCrl;
} CSSM_CRL_PAIR, *CSSM_CRL_PAIR_PTR;
typedef uint32 CSSM_CRLGROUP_TYPE, * CSSM_CRLGROUP_TYPE_PTR;
enum {
CSSM_CRLGROUP_DATA = 0x00,
CSSM_CRLGROUP_ENCODED_CRL = 0x01,
CSSM_CRLGROUP_PARSED_CRL = 0x02,
CSSM_CRLGROUP_CRL_PAIR = 0x03
};
typedef struct cssm_crlgroup {
CSSM_CRL_TYPE CrlType;
CSSM_CRL_ENCODING CrlEncoding;
uint32 NumberOfCrls;
union {
CSSM_DATA_PTR CrlList;
CSSM_ENCODED_CRL_PTR EncodedCrlList;
CSSM_PARSED_CRL_PTR ParsedCrlList;
CSSM_CRL_PAIR_PTR PairCrlList;
} GroupCrlList;
CSSM_CRLGROUP_TYPE CrlGroupType;
} CSSM_CRLGROUP, *CSSM_CRLGROUP_PTR;
typedef struct cssm_fieldgroup {
int NumberOfFields;
CSSM_FIELD_PTR Fields;
} CSSM_FIELDGROUP, *CSSM_FIELDGROUP_PTR;
typedef uint32 CSSM_EVIDENCE_FORM;
enum {
CSSM_EVIDENCE_FORM_UNSPECIFIC = 0x0,
CSSM_EVIDENCE_FORM_CERT = 0x1,
CSSM_EVIDENCE_FORM_CRL = 0x2,
CSSM_EVIDENCE_FORM_CERT_ID = 0x3,
CSSM_EVIDENCE_FORM_CRL_ID = 0x4,
CSSM_EVIDENCE_FORM_VERIFIER_TIME = 0x5,
CSSM_EVIDENCE_FORM_CRL_THISTIME = 0x6,
CSSM_EVIDENCE_FORM_CRL_NEXTTIME = 0x7,
CSSM_EVIDENCE_FORM_POLICYINFO = 0x8,
CSSM_EVIDENCE_FORM_TUPLEGROUP = 0x9
};
typedef struct cssm_evidence {
CSSM_EVIDENCE_FORM EvidenceForm;
void *Evidence;
} CSSM_EVIDENCE, *CSSM_EVIDENCE_PTR;
typedef struct cssm_tp_verify_context {
CSSM_TP_ACTION Action;
CSSM_DATA ActionData;
CSSM_CRLGROUP Crls;
CSSM_TP_CALLERAUTH_CONTEXT_PTR Cred;
} CSSM_TP_VERIFY_CONTEXT, *CSSM_TP_VERIFY_CONTEXT_PTR;
typedef struct cssm_tp_verify_context_result {
uint32 NumberOfEvidences;
CSSM_EVIDENCE_PTR Evidence;
} CSSM_TP_VERIFY_CONTEXT_RESULT, *CSSM_TP_VERIFY_CONTEXT_RESULT_PTR;
typedef struct cssm_tp_request_set {
uint32 NumberOfRequests;
void *Requests;
} CSSM_TP_REQUEST_SET, *CSSM_TP_REQUEST_SET_PTR;
typedef struct cssm_tp_result_set {
uint32 NumberOfResults;
void *Results;
} CSSM_TP_RESULT_SET, *CSSM_TP_RESULT_SET_PTR;
typedef uint32 CSSM_TP_CONFIRM_STATUS, *CSSM_TP_CONFIRM_STATUS_PTR;
enum {
CSSM_TP_CONFIRM_STATUS_UNKNOWN = 0x0,
CSSM_TP_CONFIRM_ACCEPT = 0x1,
CSSM_TP_CONFIRM_REJECT = 0x2
};
typedef struct cssm_tp_confirm_response {
uint32 NumberOfResponses;
CSSM_TP_CONFIRM_STATUS_PTR Responses;
} CSSM_TP_CONFIRM_RESPONSE, *CSSM_TP_CONFIRM_RESPONSE_PTR;
enum {
CSSM_ESTIMATED_TIME_UNKNOWN = -1
};
enum {
CSSM_ELAPSED_TIME_UNKNOWN = -1,
CSSM_ELAPSED_TIME_COMPLETE = -2
};
typedef struct cssm_tp_certissue_input {
CSSM_SUBSERVICE_UID CSPSubserviceUid;
CSSM_CL_HANDLE CLHandle;
uint32 NumberOfTemplateFields;
CSSM_FIELD_PTR SubjectCertFields;
CSSM_TP_SERVICES MoreServiceRequests;
uint32 NumberOfServiceControls;
CSSM_FIELD_PTR ServiceControls;
CSSM_ACCESS_CREDENTIALS_PTR UserCredentials;
} CSSM_TP_CERTISSUE_INPUT, *CSSM_TP_CERTISSUE_INPUT_PTR;
typedef uint32 CSSM_TP_CERTISSUE_STATUS;
enum {
CSSM_TP_CERTISSUE_STATUS_UNKNOWN = 0x0,
CSSM_TP_CERTISSUE_OK = 0x1,
CSSM_TP_CERTISSUE_OKWITHCERTMODS = 0x2,
CSSM_TP_CERTISSUE_OKWITHSERVICEMODS = 0x3,
CSSM_TP_CERTISSUE_REJECTED = 0x4,
CSSM_TP_CERTISSUE_NOT_AUTHORIZED = 0x5,
CSSM_TP_CERTISSUE_WILL_BE_REVOKED = 0x6
};
typedef struct cssm_tp_certissue_output {
CSSM_TP_CERTISSUE_STATUS IssueStatus;
CSSM_CERTGROUP_PTR CertGroup;
CSSM_TP_SERVICES PerformedServiceRequests;
} CSSM_TP_CERTISSUE_OUTPUT, *CSSM_TP_CERTISSUE_OUTPUT_PTR;
typedef uint32 CSSM_TP_CERTCHANGE_ACTION;
enum {
CSSM_TP_CERTCHANGE_NONE = 0x0,
CSSM_TP_CERTCHANGE_REVOKE = 0x1,
CSSM_TP_CERTCHANGE_HOLD = 0x2,
# 1532 "/System/Library/Frameworks/Security.framework/Headers/cssmtype.h" 3
CSSM_TP_CERTCHANGE_RELEASE = 0x3
};
typedef uint32 CSSM_TP_CERTCHANGE_REASON;
enum {
CSSM_TP_CERTCHANGE_REASON_UNKNOWN = 0x0,
CSSM_TP_CERTCHANGE_REASON_KEYCOMPROMISE = 0x1,
CSSM_TP_CERTCHANGE_REASON_CACOMPROMISE = 0x2,
CSSM_TP_CERTCHANGE_REASON_CEASEOPERATION = 0x3,
CSSM_TP_CERTCHANGE_REASON_AFFILIATIONCHANGE = 0x4,
CSSM_TP_CERTCHANGE_REASON_SUPERCEDED = 0x5,
CSSM_TP_CERTCHANGE_REASON_SUSPECTEDCOMPROMISE = 0x6,
CSSM_TP_CERTCHANGE_REASON_HOLDRELEASE = 0x7
};
typedef struct cssm_tp_certchange_input {
CSSM_TP_CERTCHANGE_ACTION Action;
CSSM_TP_CERTCHANGE_REASON Reason;
CSSM_CL_HANDLE CLHandle;
CSSM_DATA_PTR Cert;
CSSM_FIELD_PTR ChangeInfo;
CSSM_TIMESTRING StartTime;
CSSM_ACCESS_CREDENTIALS_PTR CallerCredentials;
} CSSM_TP_CERTCHANGE_INPUT, *CSSM_TP_CERTCHANGE_INPUT_PTR;
typedef uint32 CSSM_TP_CERTCHANGE_STATUS;
enum {
CSSM_TP_CERTCHANGE_STATUS_UNKNOWN = 0x0,
CSSM_TP_CERTCHANGE_OK = 0x1,
CSSM_TP_CERTCHANGE_OKWITHNEWTIME = 0x2,
CSSM_TP_CERTCHANGE_WRONGCA = 0x3,
CSSM_TP_CERTCHANGE_REJECTED = 0x4,
CSSM_TP_CERTCHANGE_NOT_AUTHORIZED = 0x5
};
typedef struct cssm_tp_certchange_output {
CSSM_TP_CERTCHANGE_STATUS ActionStatus;
CSSM_FIELD RevokeInfo;
} CSSM_TP_CERTCHANGE_OUTPUT, *CSSM_TP_CERTCHANGE_OUTPUT_PTR;
typedef struct cssm_tp_certverify_input {
CSSM_CL_HANDLE CLHandle;
CSSM_DATA_PTR Cert;
CSSM_TP_VERIFY_CONTEXT_PTR VerifyContext;
} CSSM_TP_CERTVERIFY_INPUT, *CSSM_TP_CERTVERIFY_INPUT_PTR;
typedef uint32 CSSM_TP_CERTVERIFY_STATUS;
enum {
CSSM_TP_CERTVERIFY_UNKNOWN = 0x0,
CSSM_TP_CERTVERIFY_VALID = 0x1,
CSSM_TP_CERTVERIFY_INVALID = 0x2,
CSSM_TP_CERTVERIFY_REVOKED = 0x3,
CSSM_TP_CERTVERIFY_SUSPENDED = 0x4,
CSSM_TP_CERTVERIFY_EXPIRED = 0x5,
CSSM_TP_CERTVERIFY_NOT_VALID_YET = 0x6,
CSSM_TP_CERTVERIFY_INVALID_AUTHORITY = 0x7,
CSSM_TP_CERTVERIFY_INVALID_SIGNATURE = 0x8,
CSSM_TP_CERTVERIFY_INVALID_CERT_VALUE = 0x9,
CSSM_TP_CERTVERIFY_INVALID_CERTGROUP = 0xA,
CSSM_TP_CERTVERIFY_INVALID_POLICY = 0xB,
CSSM_TP_CERTVERIFY_INVALID_POLICY_IDS = 0xC,
CSSM_TP_CERTVERIFY_INVALID_BASIC_CONSTRAINTS = 0xD,
CSSM_TP_CERTVERIFY_INVALID_CRL_DIST_PT = 0xE,
CSSM_TP_CERTVERIFY_INVALID_NAME_TREE = 0xF,
CSSM_TP_CERTVERIFY_UNKNOWN_CRITICAL_EXT = 0x10
};
typedef struct cssm_tp_certverify_output {
CSSM_TP_CERTVERIFY_STATUS VerifyStatus;
uint32 NumberOfEvidence;
CSSM_EVIDENCE_PTR Evidence;
} CSSM_TP_CERTVERIFY_OUTPUT, *CSSM_TP_CERTVERIFY_OUTPUT_PTR;
typedef struct cssm_tp_certnotarize_input {
CSSM_CL_HANDLE CLHandle;
uint32 NumberOfFields;
CSSM_FIELD_PTR MoreFields;
CSSM_FIELD_PTR SignScope;
uint32 ScopeSize;
CSSM_TP_SERVICES MoreServiceRequests;
uint32 NumberOfServiceControls;
CSSM_FIELD_PTR ServiceControls;
CSSM_ACCESS_CREDENTIALS_PTR UserCredentials;
} CSSM_TP_CERTNOTARIZE_INPUT, *CSSM_TP_CERTNOTARIZE_INPUT_PTR;
typedef uint32 CSSM_TP_CERTNOTARIZE_STATUS;
enum {
CSSM_TP_CERTNOTARIZE_STATUS_UNKNOWN = 0x0,
CSSM_TP_CERTNOTARIZE_OK = 0x1,
CSSM_TP_CERTNOTARIZE_OKWITHOUTFIELDS = 0x2,
CSSM_TP_CERTNOTARIZE_OKWITHSERVICEMODS = 0x3,
CSSM_TP_CERTNOTARIZE_REJECTED = 0x4,
CSSM_TP_CERTNOTARIZE_NOT_AUTHORIZED = 0x5
};
typedef struct cssm_tp_certnotarize_output {
CSSM_TP_CERTNOTARIZE_STATUS NotarizeStatus;
CSSM_CERTGROUP_PTR NotarizedCertGroup;
CSSM_TP_SERVICES PerformedServiceRequests;
} CSSM_TP_CERTNOTARIZE_OUTPUT, *CSSM_TP_CERTNOTARIZE_OUTPUT_PTR;
typedef struct cssm_tp_certreclaim_input {
CSSM_CL_HANDLE CLHandle;
uint32 NumberOfSelectionFields;
CSSM_FIELD_PTR SelectionFields;
CSSM_ACCESS_CREDENTIALS_PTR UserCredentials;
} CSSM_TP_CERTRECLAIM_INPUT, *CSSM_TP_CERTRECLAIM_INPUT_PTR;
typedef uint32 CSSM_TP_CERTRECLAIM_STATUS;
enum {
CSSM_TP_CERTRECLAIM_STATUS_UNKNOWN = 0x0,
CSSM_TP_CERTRECLAIM_OK = 0x1,
CSSM_TP_CERTRECLAIM_NOMATCH = 0x2,
CSSM_TP_CERTRECLAIM_REJECTED = 0x3,
CSSM_TP_CERTRECLAIM_NOT_AUTHORIZED = 0x4
};
typedef struct cssm_tp_certreclaim_output {
CSSM_TP_CERTRECLAIM_STATUS ReclaimStatus;
CSSM_CERTGROUP_PTR ReclaimedCertGroup;
CSSM_LONG_HANDLE KeyCacheHandle;
} CSSM_TP_CERTRECLAIM_OUTPUT, *CSSM_TP_CERTRECLAIM_OUTPUT_PTR;
typedef struct cssm_tp_crlissue_input {
CSSM_CL_HANDLE CLHandle;
uint32 CrlIdentifier;
CSSM_TIMESTRING CrlThisTime;
CSSM_FIELD_PTR PolicyIdentifier;
CSSM_ACCESS_CREDENTIALS_PTR CallerCredentials;
} CSSM_TP_CRLISSUE_INPUT, *CSSM_TP_CRLISSUE_INPUT_PTR;
typedef uint32 CSSM_TP_CRLISSUE_STATUS;
enum {
CSSM_TP_CRLISSUE_STATUS_UNKNOWN = 0x0,
CSSM_TP_CRLISSUE_OK = 0x1,
CSSM_TP_CRLISSUE_NOT_CURRENT = 0x2,
CSSM_TP_CRLISSUE_INVALID_DOMAIN = 0x3,
CSSM_TP_CRLISSUE_UNKNOWN_IDENTIFIER = 0x4,
CSSM_TP_CRLISSUE_REJECTED = 0x5,
CSSM_TP_CRLISSUE_NOT_AUTHORIZED = 0x6
};
typedef struct cssm_tp_crlissue_output {
CSSM_TP_CRLISSUE_STATUS IssueStatus;
CSSM_ENCODED_CRL_PTR Crl;
CSSM_TIMESTRING CrlNextTime;
} CSSM_TP_CRLISSUE_OUTPUT, *CSSM_TP_CRLISSUE_OUTPUT_PTR;
typedef uint32 CSSM_TP_FORM_TYPE;
enum {
CSSM_TP_FORM_TYPE_GENERIC = 0x0,
CSSM_TP_FORM_TYPE_REGISTRATION = 0x1
};
typedef uint32 CSSM_CL_TEMPLATE_TYPE;
enum {
CSSM_CL_TEMPLATE_INTERMEDIATE_CERT = 1,
CSSM_CL_TEMPLATE_PKIX_CERTTEMPLATE = 2
};
typedef uint32 CSSM_CERT_BUNDLE_TYPE;
enum {
CSSM_CERT_BUNDLE_UNKNOWN = 0x00,
CSSM_CERT_BUNDLE_CUSTOM = 0x01,
CSSM_CERT_BUNDLE_PKCS7_SIGNED_DATA = 0x02,
CSSM_CERT_BUNDLE_PKCS7_SIGNED_ENVELOPED_DATA = 0x03,
CSSM_CERT_BUNDLE_PKCS12 = 0x04,
CSSM_CERT_BUNDLE_PFX = 0x05,
CSSM_CERT_BUNDLE_SPKI_SEQUENCE = 0x06,
CSSM_CERT_BUNDLE_PGP_KEYRING = 0x07,
CSSM_CERT_BUNDLE_LAST = 0x7FFF,
CSSM_CL_CUSTOM_CERT_BUNDLE_TYPE = 0x8000
};
typedef uint32 CSSM_CERT_BUNDLE_ENCODING;
enum {
CSSM_CERT_BUNDLE_ENCODING_UNKNOWN = 0x00,
CSSM_CERT_BUNDLE_ENCODING_CUSTOM = 0x01,
CSSM_CERT_BUNDLE_ENCODING_BER = 0x02,
CSSM_CERT_BUNDLE_ENCODING_DER = 0x03,
CSSM_CERT_BUNDLE_ENCODING_SEXPR = 0x04,
CSSM_CERT_BUNDLE_ENCODING_PGP = 0x05
};
typedef struct cssm_cert_bundle_header {
CSSM_CERT_BUNDLE_TYPE BundleType;
CSSM_CERT_BUNDLE_ENCODING BundleEncoding;
} CSSM_CERT_BUNDLE_HEADER, *CSSM_CERT_BUNDLE_HEADER_PTR;
typedef struct cssm_cert_bundle {
CSSM_CERT_BUNDLE_HEADER BundleHeader;
CSSM_DATA Bundle;
} CSSM_CERT_BUNDLE, *CSSM_CERT_BUNDLE_PTR;
enum {
CSSM_FIELDVALUE_COMPLEX_DATA_TYPE = 0xFFFFFFFF
};
typedef uint32 CSSM_DB_ATTRIBUTE_NAME_FORMAT, *CSSM_DB_ATTRIBUTE_NAME_FORMAT_PTR;
enum {
CSSM_DB_ATTRIBUTE_NAME_AS_STRING = 0,
CSSM_DB_ATTRIBUTE_NAME_AS_OID = 1,
CSSM_DB_ATTRIBUTE_NAME_AS_INTEGER = 2
};
typedef uint32 CSSM_DB_ATTRIBUTE_FORMAT, *CSSM_DB_ATTRIBUTE_FORMAT_PTR;
enum {
CSSM_DB_ATTRIBUTE_FORMAT_STRING = 0,
CSSM_DB_ATTRIBUTE_FORMAT_SINT32 = 1,
CSSM_DB_ATTRIBUTE_FORMAT_UINT32 = 2,
CSSM_DB_ATTRIBUTE_FORMAT_BIG_NUM = 3,
CSSM_DB_ATTRIBUTE_FORMAT_REAL = 4,
CSSM_DB_ATTRIBUTE_FORMAT_TIME_DATE = 5,
CSSM_DB_ATTRIBUTE_FORMAT_BLOB = 6,
CSSM_DB_ATTRIBUTE_FORMAT_MULTI_UINT32 = 7,
CSSM_DB_ATTRIBUTE_FORMAT_COMPLEX = 8
};
typedef struct cssm_db_attribute_info {
CSSM_DB_ATTRIBUTE_NAME_FORMAT AttributeNameFormat;
union cssm_db_attribute_label {
char *AttributeName;
CSSM_OID AttributeOID;
uint32 AttributeID;
} Label;
CSSM_DB_ATTRIBUTE_FORMAT AttributeFormat;
} CSSM_DB_ATTRIBUTE_INFO, *CSSM_DB_ATTRIBUTE_INFO_PTR;
typedef struct cssm_db_attribute_data {
CSSM_DB_ATTRIBUTE_INFO Info;
uint32 NumberOfValues;
CSSM_DATA_PTR Value;
} CSSM_DB_ATTRIBUTE_DATA, *CSSM_DB_ATTRIBUTE_DATA_PTR;
typedef uint32 CSSM_DB_RECORDTYPE;
enum {
CSSM_DB_RECORDTYPE_SCHEMA_START = 0x00000000,
CSSM_DB_RECORDTYPE_SCHEMA_END = CSSM_DB_RECORDTYPE_SCHEMA_START + 4,
CSSM_DB_RECORDTYPE_OPEN_GROUP_START = 0x0000000A,
CSSM_DB_RECORDTYPE_OPEN_GROUP_END = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 8,
CSSM_DB_RECORDTYPE_APP_DEFINED_START = 0x80000000,
CSSM_DB_RECORDTYPE_APP_DEFINED_END = 0xffffffff,
CSSM_DL_DB_SCHEMA_INFO = CSSM_DB_RECORDTYPE_SCHEMA_START + 0,
CSSM_DL_DB_SCHEMA_INDEXES = CSSM_DB_RECORDTYPE_SCHEMA_START + 1,
CSSM_DL_DB_SCHEMA_ATTRIBUTES = CSSM_DB_RECORDTYPE_SCHEMA_START + 2,
CSSM_DL_DB_SCHEMA_PARSING_MODULE = CSSM_DB_RECORDTYPE_SCHEMA_START + 3,
CSSM_DL_DB_RECORD_ANY = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 0,
CSSM_DL_DB_RECORD_CERT = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 1,
CSSM_DL_DB_RECORD_CRL = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 2,
CSSM_DL_DB_RECORD_POLICY = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 3,
CSSM_DL_DB_RECORD_GENERIC = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 4,
CSSM_DL_DB_RECORD_PUBLIC_KEY = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 5,
CSSM_DL_DB_RECORD_PRIVATE_KEY = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 6,
CSSM_DL_DB_RECORD_SYMMETRIC_KEY = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 7,
CSSM_DL_DB_RECORD_ALL_KEYS = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 8
};
enum {
CSSM_DB_CERT_USE_TRUSTED = 0x00000001,
CSSM_DB_CERT_USE_SYSTEM = 0x00000002,
CSSM_DB_CERT_USE_OWNER = 0x00000004,
CSSM_DB_CERT_USE_REVOKED = 0x00000008,
CSSM_DB_CERT_USE_SIGNING = 0x00000010,
CSSM_DB_CERT_USE_PRIVACY = 0x00000020
};
typedef struct cssm_db_record_attribute_info {
CSSM_DB_RECORDTYPE DataRecordType;
uint32 NumberOfAttributes;
CSSM_DB_ATTRIBUTE_INFO_PTR AttributeInfo;
} CSSM_DB_RECORD_ATTRIBUTE_INFO, *CSSM_DB_RECORD_ATTRIBUTE_INFO_PTR;
typedef struct cssm_db_record_attribute_data {
CSSM_DB_RECORDTYPE DataRecordType;
uint32 SemanticInformation;
uint32 NumberOfAttributes;
CSSM_DB_ATTRIBUTE_DATA_PTR AttributeData;
} CSSM_DB_RECORD_ATTRIBUTE_DATA, *CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR;
typedef struct cssm_db_parsing_module_info {
CSSM_DB_RECORDTYPE RecordType;
CSSM_SUBSERVICE_UID ModuleSubserviceUid;
} CSSM_DB_PARSING_MODULE_INFO, *CSSM_DB_PARSING_MODULE_INFO_PTR;
typedef uint32 CSSM_DB_INDEX_TYPE;
enum {
CSSM_DB_INDEX_UNIQUE = 0,
CSSM_DB_INDEX_NONUNIQUE = 1
};
typedef uint32 CSSM_DB_INDEXED_DATA_LOCATION;
enum {
CSSM_DB_INDEX_ON_UNKNOWN = 0,
CSSM_DB_INDEX_ON_ATTRIBUTE = 1,
CSSM_DB_INDEX_ON_RECORD = 2
};
typedef struct cssm_db_index_info {
CSSM_DB_INDEX_TYPE IndexType;
CSSM_DB_INDEXED_DATA_LOCATION IndexedDataLocation;
CSSM_DB_ATTRIBUTE_INFO Info;
} CSSM_DB_INDEX_INFO, *CSSM_DB_INDEX_INFO_PTR;
typedef struct cssm_db_unique_record {
CSSM_DB_INDEX_INFO RecordLocator;
CSSM_DATA RecordIdentifier;
} CSSM_DB_UNIQUE_RECORD, *CSSM_DB_UNIQUE_RECORD_PTR;
typedef struct cssm_db_record_index_info {
CSSM_DB_RECORDTYPE DataRecordType;
uint32 NumberOfIndexes;
CSSM_DB_INDEX_INFO_PTR IndexInfo;
} CSSM_DB_RECORD_INDEX_INFO, *CSSM_DB_RECORD_INDEX_INFO_PTR;
typedef uint32 CSSM_DB_ACCESS_TYPE, *CSSM_DB_ACCESS_TYPE_PTR;
enum {
CSSM_DB_ACCESS_READ = 0x00001,
CSSM_DB_ACCESS_WRITE = 0x00002,
CSSM_DB_ACCESS_PRIVILEGED = 0x00004
};
typedef uint32 CSSM_DB_MODIFY_MODE;
enum {
CSSM_DB_MODIFY_ATTRIBUTE_NONE = 0,
CSSM_DB_MODIFY_ATTRIBUTE_ADD = CSSM_DB_MODIFY_ATTRIBUTE_NONE + 1,
CSSM_DB_MODIFY_ATTRIBUTE_DELETE = CSSM_DB_MODIFY_ATTRIBUTE_NONE + 2,
CSSM_DB_MODIFY_ATTRIBUTE_REPLACE = CSSM_DB_MODIFY_ATTRIBUTE_NONE + 3
};
typedef struct cssm_dbinfo {
uint32 NumberOfRecordTypes;
CSSM_DB_PARSING_MODULE_INFO_PTR DefaultParsingModules;
CSSM_DB_RECORD_ATTRIBUTE_INFO_PTR RecordAttributeNames;
CSSM_DB_RECORD_INDEX_INFO_PTR RecordIndexes;
CSSM_BOOL IsLocal;
char *AccessPath;
void *Reserved;
} CSSM_DBINFO, *CSSM_DBINFO_PTR;
typedef uint32 CSSM_DB_OPERATOR, *CSSM_DB_OPERATOR_PTR;
enum {
CSSM_DB_EQUAL = 0,
CSSM_DB_NOT_EQUAL = 1,
CSSM_DB_LESS_THAN = 2,
CSSM_DB_GREATER_THAN = 3,
CSSM_DB_CONTAINS = 4,
CSSM_DB_CONTAINS_INITIAL_SUBSTRING = 5,
CSSM_DB_CONTAINS_FINAL_SUBSTRING = 6
};
typedef uint32 CSSM_DB_CONJUNCTIVE, *CSSM_DB_CONJUNCTIVE_PTR;
enum {
CSSM_DB_NONE = 0,
CSSM_DB_AND = 1,
CSSM_DB_OR = 2
};
typedef struct cssm_selection_predicate {
CSSM_DB_OPERATOR DbOperator;
CSSM_DB_ATTRIBUTE_DATA Attribute;
} CSSM_SELECTION_PREDICATE, *CSSM_SELECTION_PREDICATE_PTR;
enum {
CSSM_QUERY_TIMELIMIT_NONE = 0
};
enum {
CSSM_QUERY_SIZELIMIT_NONE = 0
};
typedef struct cssm_query_limits {
uint32 TimeLimit;
uint32 SizeLimit;
} CSSM_QUERY_LIMITS, *CSSM_QUERY_LIMITS_PTR;
typedef uint32 CSSM_QUERY_FLAGS;
enum {
CSSM_QUERY_RETURN_DATA = 0x01
};
typedef struct cssm_query {
CSSM_DB_RECORDTYPE RecordType;
CSSM_DB_CONJUNCTIVE Conjunctive;
uint32 NumSelectionPredicates;
CSSM_SELECTION_PREDICATE_PTR SelectionPredicate;
CSSM_QUERY_LIMITS QueryLimits;
CSSM_QUERY_FLAGS QueryFlags;
} CSSM_QUERY, *CSSM_QUERY_PTR;
typedef uint32 CSSM_DLTYPE, *CSSM_DLTYPE_PTR;
enum {
CSSM_DL_UNKNOWN = 0,
CSSM_DL_CUSTOM = 1,
CSSM_DL_LDAP = 2,
CSSM_DL_ODBC = 3,
CSSM_DL_PKCS11 = 4,
CSSM_DL_FFS = 5,
CSSM_DL_MEMORY = 6,
CSSM_DL_REMOTEDIR = 7
};
typedef void *CSSM_DL_CUSTOM_ATTRIBUTES;
typedef void *CSSM_DL_LDAP_ATTRIBUTES;
typedef void *CSSM_DL_ODBC_ATTRIBUTES;
typedef void *CSSM_DL_FFS_ATTRIBUTES;
typedef struct cssm_dl_pkcs11_attributes {
uint32 DeviceAccessFlags;
} *CSSM_DL_PKCS11_ATTRIBUTE, *CSSM_DL_PKCS11_ATTRIBUTE_PTR;
enum {
CSSM_DB_DATASTORES_UNKNOWN = 0xFFFFFFFF
};
typedef struct cssm_name_list {
uint32 NumStrings;
char **String;
} CSSM_NAME_LIST, *CSSM_NAME_LIST_PTR;
typedef uint32 CSSM_DB_RETRIEVAL_MODES;
enum {
CSSM_DB_TRANSACTIONAL_MODE = 0,
CSSM_DB_FILESYSTEMSCAN_MODE = 1
};
typedef struct cssm_db_schema_attribute_info {
uint32 AttributeId;
char *AttributeName;
CSSM_OID AttributeNameID;
CSSM_DB_ATTRIBUTE_FORMAT DataType;
} CSSM_DB_SCHEMA_ATTRIBUTE_INFO, *CSSM_DB_SCHEMA_ATTRIBUTE_INFO_PTR;
typedef struct cssm_db_schema_index_info {
uint32 AttributeId;
uint32 IndexId;
CSSM_DB_INDEX_TYPE IndexType;
CSSM_DB_INDEXED_DATA_LOCATION IndexedDataLocation;
} CSSM_DB_SCHEMA_INDEX_INFO, *CSSM_DB_SCHEMA_INDEX_INFO_PTR;
# 31 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/x509defs.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/x509defs.h" 3
#define _X509DEFS_H_ 1
typedef uint8 CSSM_BER_TAG;
#define BER_TAG_UNKNOWN 0
#define BER_TAG_BOOLEAN 1
#define BER_TAG_INTEGER 2
#define BER_TAG_BIT_STRING 3
#define BER_TAG_OCTET_STRING 4
#define BER_TAG_NULL 5
#define BER_TAG_OID 6
#define BER_TAG_OBJECT_DESCRIPTOR 7
#define BER_TAG_EXTERNAL 8
#define BER_TAG_REAL 9
#define BER_TAG_ENUMERATED 10
#define BER_TAG_PKIX_UTF8_STRING 12
#define BER_TAG_SEQUENCE 16
#define BER_TAG_SET 17
#define BER_TAG_NUMERIC_STRING 18
#define BER_TAG_PRINTABLE_STRING 19
#define BER_TAG_T61_STRING 20
#define BER_TAG_TELETEX_STRING BER_TAG_T61_STRING
#define BER_TAG_VIDEOTEX_STRING 21
#define BER_TAG_IA5_STRING 22
#define BER_TAG_UTC_TIME 23
#define BER_TAG_GENERALIZED_TIME 24
#define BER_TAG_GRAPHIC_STRING 25
#define BER_TAG_ISO646_STRING 26
#define BER_TAG_GENERAL_STRING 27
#define BER_TAG_VISIBLE_STRING BER_TAG_ISO646_STRING
#define BER_TAG_PKIX_UNIVERSAL_STRING 28
#define BER_TAG_PKIX_BMP_STRING 30
typedef struct cssm_x509_algorithm_identifier {
CSSM_OID algorithm;
CSSM_DATA parameters;
} CSSM_X509_ALGORITHM_IDENTIFIER, *CSSM_X509_ALGORITHM_IDENTIFIER_PTR;
typedef struct cssm_x509_type_value_pair {
CSSM_OID type;
CSSM_BER_TAG valueType;
CSSM_DATA value;
} CSSM_X509_TYPE_VALUE_PAIR, *CSSM_X509_TYPE_VALUE_PAIR_PTR;
typedef struct cssm_x509_rdn {
uint32 numberOfPairs;
CSSM_X509_TYPE_VALUE_PAIR_PTR AttributeTypeAndValue;
} CSSM_X509_RDN, *CSSM_X509_RDN_PTR;
typedef struct cssm_x509_name {
uint32 numberOfRDNs;
CSSM_X509_RDN_PTR RelativeDistinguishedName;
} CSSM_X509_NAME, *CSSM_X509_NAME_PTR;
typedef struct cssm_x509_subject_public_key_info {
CSSM_X509_ALGORITHM_IDENTIFIER algorithm;
CSSM_DATA subjectPublicKey;
} CSSM_X509_SUBJECT_PUBLIC_KEY_INFO, *CSSM_X509_SUBJECT_PUBLIC_KEY_INFO_PTR;
typedef struct cssm_x509_time {
CSSM_BER_TAG timeType;
CSSM_DATA time;
} CSSM_X509_TIME, *CSSM_X509_TIME_PTR;
typedef struct x509_validity {
CSSM_X509_TIME notBefore;
CSSM_X509_TIME notAfter;
} CSSM_X509_VALIDITY, *CSSM_X509_VALIDITY_PTR;
#define CSSM_X509_OPTION_PRESENT CSSM_TRUE
#define CSSM_X509_OPTION_NOT_PRESENT CSSM_FALSE
typedef CSSM_BOOL CSSM_X509_OPTION;
typedef struct cssm_x509ext_basicConstraints {
CSSM_BOOL cA;
CSSM_X509_OPTION pathLenConstraintPresent;
uint32 pathLenConstraint;
} CSSM_X509EXT_BASICCONSTRAINTS, *CSSM_X509EXT_BASICCONSTRAINTS_PTR;
typedef enum extension_data_format {
CSSM_X509_DATAFORMAT_ENCODED = 0,
CSSM_X509_DATAFORMAT_PARSED,
CSSM_X509_DATAFORMAT_PAIR
} CSSM_X509EXT_DATA_FORMAT;
typedef struct cssm_x509_extensionTagAndValue {
CSSM_BER_TAG type;
CSSM_DATA value;
} CSSM_X509EXT_TAGandVALUE, *CSSM_X509EXT_TAGandVALUE_PTR;
typedef struct cssm_x509ext_pair {
CSSM_X509EXT_TAGandVALUE tagAndValue;
void *parsedValue;
} CSSM_X509EXT_PAIR, *CSSM_X509EXT_PAIR_PTR;
typedef struct cssm_x509_extension {
CSSM_OID extnId;
CSSM_BOOL critical;
CSSM_X509EXT_DATA_FORMAT format;
union cssm_x509ext_value {
CSSM_X509EXT_TAGandVALUE *tagAndValue;
void *parsedValue;
CSSM_X509EXT_PAIR *valuePair;
} value;
CSSM_DATA BERvalue;
} CSSM_X509_EXTENSION, *CSSM_X509_EXTENSION_PTR;
typedef struct cssm_x509_extensions {
uint32 numberOfExtensions;
CSSM_X509_EXTENSION_PTR extensions;
} CSSM_X509_EXTENSIONS, *CSSM_X509_EXTENSIONS_PTR;
typedef struct cssm_x509_tbs_certificate {
CSSM_DATA version;
CSSM_DATA serialNumber;
CSSM_X509_ALGORITHM_IDENTIFIER signature;
CSSM_X509_NAME issuer;
CSSM_X509_VALIDITY validity;
CSSM_X509_NAME subject;
CSSM_X509_SUBJECT_PUBLIC_KEY_INFO subjectPublicKeyInfo;
CSSM_DATA issuerUniqueIdentifier;
CSSM_DATA subjectUniqueIdentifier;
CSSM_X509_EXTENSIONS extensions;
} CSSM_X509_TBS_CERTIFICATE, *CSSM_X509_TBS_CERTIFICATE_PTR;
typedef struct cssm_x509_signature {
CSSM_X509_ALGORITHM_IDENTIFIER algorithmIdentifier;
CSSM_DATA encrypted;
} CSSM_X509_SIGNATURE, *CSSM_X509_SIGNATURE_PTR;
typedef struct cssm_x509_signed_certificate {
CSSM_X509_TBS_CERTIFICATE certificate;
CSSM_X509_SIGNATURE signature;
} CSSM_X509_SIGNED_CERTIFICATE, *CSSM_X509_SIGNED_CERTIFICATE_PTR;
typedef struct cssm_x509ext_policyQualifierInfo {
CSSM_OID policyQualifierId;
CSSM_DATA value;
} CSSM_X509EXT_POLICYQUALIFIERINFO, *CSSM_X509EXT_POLICYQUALIFIERINFO_PTR;
typedef struct cssm_x509ext_policyQualifiers {
uint32 numberOfPolicyQualifiers;
CSSM_X509EXT_POLICYQUALIFIERINFO *policyQualifier;
} CSSM_X509EXT_POLICYQUALIFIERS, *CSSM_X509EXT_POLICYQUALIFIERS_PTR;
typedef struct cssm_x509ext_policyInfo {
CSSM_OID policyIdentifier;
CSSM_X509EXT_POLICYQUALIFIERS policyQualifiers;
} CSSM_X509EXT_POLICYINFO, *CSSM_X509EXT_POLICYINFO_PTR;
typedef struct cssm_x509_revoked_cert_entry {
CSSM_DATA certificateSerialNumber;
CSSM_X509_TIME revocationDate;
CSSM_X509_EXTENSIONS extensions;
} CSSM_X509_REVOKED_CERT_ENTRY, *CSSM_X509_REVOKED_CERT_ENTRY_PTR;
typedef struct cssm_x509_revoked_cert_list {
uint32 numberOfRevokedCertEntries;
CSSM_X509_REVOKED_CERT_ENTRY_PTR revokedCertEntry;
} CSSM_X509_REVOKED_CERT_LIST, *CSSM_X509_REVOKED_CERT_LIST_PTR;
typedef struct cssm_x509_tbs_certlist {
CSSM_DATA version;
CSSM_X509_ALGORITHM_IDENTIFIER signature;
CSSM_X509_NAME issuer;
CSSM_X509_TIME thisUpdate;
CSSM_X509_TIME nextUpdate;
CSSM_X509_REVOKED_CERT_LIST_PTR revokedCertificates;
CSSM_X509_EXTENSIONS extensions;
} CSSM_X509_TBS_CERTLIST, *CSSM_X509_TBS_CERTLIST_PTR;
typedef struct cssm_x509_signed_crl {
CSSM_X509_TBS_CERTLIST tbsCertList;
CSSM_X509_SIGNATURE signature;
} CSSM_X509_SIGNED_CRL, *CSSM_X509_SIGNED_CRL_PTR;
# 32 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
#define _CERT_EXTENSIONS_H_
# 80 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef enum {
GNT_OtherName = 0,
GNT_RFC822Name,
GNT_DNSName,
GNT_X400Address,
GNT_DirectoryName,
GNT_EdiPartyName,
GNT_URI,
GNT_IPAddress,
GNT_RegisteredID
} CE_GeneralNameType;
typedef struct {
CSSM_OID typeId;
CSSM_DATA value;
} CE_OtherName;
typedef struct {
CE_GeneralNameType nameType;
CSSM_BOOL berEncoded;
CSSM_DATA name;
} CE_GeneralName;
typedef struct {
uint32 numNames;
CE_GeneralName *generalName;
} CE_GeneralNames;
# 120 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CSSM_BOOL keyIdentifierPresent;
CSSM_DATA keyIdentifier;
CSSM_BOOL generalNamesPresent;
CE_GeneralNames *generalNames;
CSSM_BOOL serialNumberPresent;
CSSM_DATA serialNumber;
} CE_AuthorityKeyID;
typedef CSSM_DATA CE_SubjectKeyID;
# 154 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef uint16 CE_KeyUsage;
#define CE_KU_DigitalSignature 0x8000
#define CE_KU_NonRepudiation 0x4000
#define CE_KU_KeyEncipherment 0x2000
#define CE_KU_DataEncipherment 0x1000
#define CE_KU_KeyAgreement 0x0800
#define CE_KU_KeyCertSign 0x0400
#define CE_KU_CRLSign 0x0200
#define CE_KU_EncipherOnly 0x0100
#define CE_KU_DecipherOnly 0x0080
# 184 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef uint32 CE_CrlReason;
#define CE_CR_Unspecified 0
#define CE_CR_KeyCompromise 1
#define CE_CR_CACompromise 2
#define CE_CR_AffiliationChanged 3
#define CE_CR_Superseded 4
#define CE_CR_CessationOfOperation 5
#define CE_CR_CertificateHold 6
#define CE_CR_RemoveFromCRL 8
# 214 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
uint32 numPurposes;
CSSM_OID_PTR purposes;
} CE_ExtendedKeyUsage;
# 228 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CSSM_BOOL cA;
CSSM_BOOL pathLenConstraintPresent;
uint32 pathLenConstraint;
} CE_BasicConstraints;
# 285 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CSSM_OID policyQualifierId;
CSSM_DATA qualifier;
} CE_PolicyQualifierInfo;
typedef struct {
CSSM_OID certPolicyId;
uint32 numPolicyQualifiers;
CE_PolicyQualifierInfo *policyQualifiers;
} CE_PolicyInformation;
typedef struct {
uint32 numPolicies;
CE_PolicyInformation *policies;
} CE_CertPolicies;
# 309 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef uint16 CE_NetscapeCertType;
# 351 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef uint8 CE_CrlDistReasonFlags;
#define CE_CD_Unspecified 0x80
#define CE_CD_KeyCompromise 0x40
#define CE_CD_CACompromise 0x20
#define CE_CD_AffiliationChanged 0x10
#define CE_CD_Superseded 0x08
#define CE_CD_CessationOfOperation 0x04
#define CE_CD_CertificateHold 0x02
typedef enum {
CE_CDNT_FullName,
CE_CDNT_NameRelativeToCrlIssuer
} CE_CrlDistributionPointNameType;
typedef struct {
CE_CrlDistributionPointNameType nameType;
union {
CE_GeneralNames *fullName;
CSSM_X509_RDN_PTR rdn;
} dpn;
} CE_DistributionPointName;
typedef struct {
CE_DistributionPointName *distPointName;
CSSM_BOOL reasonsPresent;
CE_CrlDistReasonFlags reasons;
CE_GeneralNames *crlIssuer;
} CE_CRLDistributionPoint;
typedef struct {
uint32 numDistPoints;
CE_CRLDistributionPoint *distPoints;
} CE_CRLDistPointsSyntax;
# 403 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CSSM_OID accessMethod;
CE_GeneralName accessLocation;
} CE_AccessDescription;
typedef struct {
uint32 numAccessDescriptions;
CE_AccessDescription *accessDescriptions;
} CE_AuthorityInfoAccess;
# 420 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef CE_GeneralNames CE_NameRegistrationAuthorities;
typedef struct {
CSSM_OID *semanticsIdentifier;
CE_NameRegistrationAuthorities *nameRegistrationAuthorities;
} CE_SemanticsInformation;
# 441 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CSSM_OID statementId;
CE_SemanticsInformation *semanticsInfo;
CSSM_DATA *otherInfo;
} CE_QC_Statement;
typedef struct {
uint32 numQCStatements;
CE_QC_Statement *qcStatements;
} CE_QC_Statements;
# 462 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef uint32 CE_CrlNumber;
typedef uint32 CE_DeltaCrl;
# 485 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CE_DistributionPointName *distPointName;
CSSM_BOOL onlyUserCertsPresent;
CSSM_BOOL onlyUserCerts;
CSSM_BOOL onlyCACertsPresent;
CSSM_BOOL onlyCACerts;
CSSM_BOOL onlySomeReasonsPresent;
CE_CrlDistReasonFlags onlySomeReasons;
CSSM_BOOL indirectCrlPresent;
CSSM_BOOL indirectCrl;
} CE_IssuingDistributionPoint;
typedef enum {
DT_AuthorityKeyID,
DT_SubjectKeyID,
DT_KeyUsage,
DT_SubjectAltName,
DT_IssuerAltName,
DT_ExtendedKeyUsage,
DT_BasicConstraints,
DT_CertPolicies,
DT_NetscapeCertType,
DT_CrlNumber,
DT_DeltaCrl,
DT_CrlReason,
DT_CrlDistributionPoints,
DT_IssuingDistributionPoint,
DT_AuthorityInfoAccess,
DT_Other,
DT_QC_Statements
} CE_DataType;
typedef union {
CE_AuthorityKeyID authorityKeyID;
CE_SubjectKeyID subjectKeyID;
CE_KeyUsage keyUsage;
CE_GeneralNames subjectAltName;
CE_GeneralNames issuerAltName;
CE_ExtendedKeyUsage extendedKeyUsage;
CE_BasicConstraints basicConstraints;
CE_CertPolicies certPolicies;
CE_NetscapeCertType netscapeCertType;
CE_CrlNumber crlNumber;
CE_DeltaCrl deltaCrl;
CE_CrlReason crlReason;
CE_CRLDistPointsSyntax crlDistPoints;
CE_IssuingDistributionPoint issuingDistPoint;
CE_AuthorityInfoAccess authorityInfoAccess;
CE_QC_Statements qualifiedCertStatements;
CSSM_DATA rawData;
} CE_Data;
typedef struct {
CE_DataType type;
CE_Data extension;
CSSM_BOOL critical;
} CE_DataAndType;
# 33 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 2 3
# 43 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
extern const CSSM_GUID gGuidCssm;
extern const CSSM_GUID gGuidAppleFileDL;
extern const CSSM_GUID gGuidAppleCSP;
extern const CSSM_GUID gGuidAppleCSPDL;
extern const CSSM_GUID gGuidAppleX509CL;
extern const CSSM_GUID gGuidAppleX509TP;
extern const CSSM_GUID gGuidAppleLDAPDL;
extern const CSSM_GUID gGuidAppleDotMacTP;
extern const CSSM_GUID gGuidAppleSdCSPDL;
extern const CSSM_GUID gGuidAppleDotMacDL;
enum
{
CSSM_WORDID_KEYCHAIN_PROMPT = CSSM_WORDID_VENDOR_START,
CSSM_WORDID_KEYCHAIN_LOCK,
CSSM_WORDID_KEYCHAIN_CHANGE_LOCK,
CSSM_WORDID_PROCESS,
CSSM_WORDID__RESERVED_1,
CSSM_WORDID_SYMMETRIC_KEY,
CSSM_WORDID_SYSTEM,
CSSM_WORDID_KEY,
CSSM_WORDID_PIN,
CSSM_WORDID_PREAUTH,
CSSM_WORDID_PREAUTH_SOURCE,
CSSM_WORDID_ASYMMETRIC_KEY,
CSSM_WORDID__FIRST_UNUSED
};
enum
{
CSSM_ACL_SUBJECT_TYPE_KEYCHAIN_PROMPT = CSSM_WORDID_KEYCHAIN_PROMPT,
CSSM_ACL_SUBJECT_TYPE_PROCESS = CSSM_WORDID_PROCESS,
CSSM_ACL_SUBJECT_TYPE_CODE_SIGNATURE = CSSM_WORDID_SIGNATURE,
CSSM_ACL_SUBJECT_TYPE_COMMENT = CSSM_WORDID_COMMENT,
CSSM_ACL_SUBJECT_TYPE_SYMMETRIC_KEY = CSSM_WORDID_SYMMETRIC_KEY,
CSSM_ACL_SUBJECT_TYPE_PREAUTH = CSSM_WORDID_PREAUTH,
CSSM_ACL_SUBJECT_TYPE_PREAUTH_SOURCE = CSSM_WORDID_PREAUTH_SOURCE,
CSSM_ACL_SUBJECT_TYPE_ASYMMETRIC_KEY = CSSM_WORDID_ASYMMETRIC_KEY
};
enum
{
CSSM_SAMPLE_TYPE_KEYCHAIN_PROMPT = CSSM_WORDID_KEYCHAIN_PROMPT,
CSSM_SAMPLE_TYPE_KEYCHAIN_LOCK = CSSM_WORDID_KEYCHAIN_LOCK,
CSSM_SAMPLE_TYPE_KEYCHAIN_CHANGE_LOCK = CSSM_WORDID_KEYCHAIN_CHANGE_LOCK,
CSSM_SAMPLE_TYPE_PROCESS = CSSM_WORDID_PROCESS,
CSSM_SAMPLE_TYPE_COMMENT = CSSM_WORDID_COMMENT,
CSSM_SAMPLE_TYPE_RETRY_ID = CSSM_WORDID_PROPAGATE,
CSSM_SAMPLE_TYPE_SYMMETRIC_KEY = CSSM_WORDID_SYMMETRIC_KEY,
CSSM_SAMPLE_TYPE_PREAUTH = CSSM_WORDID_PREAUTH,
CSSM_SAMPLE_TYPE_ASYMMETRIC_KEY = CSSM_WORDID_ASYMMETRIC_KEY
};
enum {
CSSM_ACL_AUTHORIZATION_CHANGE_ACL = CSSM_ACL_AUTHORIZATION_TAG_VENDOR_DEFINED_START,
CSSM_ACL_AUTHORIZATION_CHANGE_OWNER,
CSSM_ACL_AUTHORIZATION_PREAUTH_BASE =
CSSM_ACL_AUTHORIZATION_TAG_VENDOR_DEFINED_START + 0x1000000,
CSSM_ACL_AUTHORIZATION_PREAUTH_END = CSSM_ACL_AUTHORIZATION_PREAUTH_BASE + 0x10000
};
#define CSSM_ACL_AUTHORIZATION_PREAUTH(slot) (CSSM_ACL_AUTHORIZATION_PREAUTH_BASE + (slot))
#define CSSM_ACL_AUTHORIZATION_PREAUTH_SLOT(auth) ((auth) - CSSM_ACL_AUTHORIZATION_PREAUTH_BASE)
#define CSSM_ACL_AUTHORIZATION_IS_PREAUTH(auth) ((auth) >= CSSM_ACL_AUTHORIZATION_PREAUTH_BASE && (auth) < CSSM_ACL_AUTHORIZATION_PREAUTH_END)
enum {
CSSM_ACL_CODE_SIGNATURE_INVALID = 0,
CSSM_ACL_CODE_SIGNATURE_OSX = 1
};
enum {
CSSM_ACL_MATCH_UID = 0x01,
CSSM_ACL_MATCH_GID = 0x02,
CSSM_ACL_MATCH_HONOR_ROOT = 0x100,
CSSM_ACL_MATCH_BITS = CSSM_ACL_MATCH_UID | CSSM_ACL_MATCH_GID
};
enum {
CSSM_ACL_PROCESS_SELECTOR_CURRENT_VERSION = 0x101
};
typedef struct cssm_acl_process_subject_selector {
uint16 version;
uint16 mask;
uint32 uid;
uint32 gid;
} CSSM_ACL_PROCESS_SUBJECT_SELECTOR;
enum {
CSSM_ACL_KEYCHAIN_PROMPT_CURRENT_VERSION = 0x101
};
enum {
CSSM_ACL_KEYCHAIN_PROMPT_REQUIRE_PASSPHRASE = 0x0001,
CSSM_ACL_KEYCHAIN_PROMPT_UNSIGNED = 0x0010,
CSSM_ACL_KEYCHAIN_PROMPT_UNSIGNED_ACT = 0x0020,
CSSM_ACL_KEYCHAIN_PROMPT_INVALID = 0x0040,
CSSM_ACL_KEYCHAIN_PROMPT_INVALID_ACT = 0x0080,
};
typedef struct cssm_acl_keychain_prompt_selector {
uint16 version;
uint16 flags;
} CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR;
typedef uint32 CSSM_ACL_PREAUTH_TRACKING_STATE;
enum {
CSSM_ACL_PREAUTH_TRACKING_COUNT_MASK = 0xff,
CSSM_ACL_PREAUTH_TRACKING_BLOCKED = 0,
CSSM_ACL_PREAUTH_TRACKING_UNKNOWN = 0x40000000,
CSSM_ACL_PREAUTH_TRACKING_AUTHORIZED = 0x80000000
};
enum {
CSSM_DB_ACCESS_RESET = 0x10000
};
enum
{
CSSM_ALGID_APPLE_YARROW = CSSM_ALGID_VENDOR_DEFINED,
CSSM_ALGID_AES,
CSSM_ALGID_FEE,
CSSM_ALGID_FEE_MD5,
CSSM_ALGID_FEE_SHA1,
CSSM_ALGID_FEED,
CSSM_ALGID_FEEDEXP,
CSSM_ALGID_ASC,
CSSM_ALGID_SHA1HMAC_LEGACY,
CSSM_ALGID_KEYCHAIN_KEY,
CSSM_ALGID_PKCS12_PBE_ENCR,
CSSM_ALGID_PKCS12_PBE_MAC,
CSSM_ALGID_SECURE_PASSPHRASE,
CSSM_ALGID_PBE_OPENSSL_MD5,
CSSM_ALGID_SHA256,
CSSM_ALGID_SHA384,
CSSM_ALGID_SHA512,
CSSM_ALGID_ENTROPY_DEFAULT,
CSSM_ALGID_SHA224,
CSSM_ALGID_SHA224WithRSA,
CSSM_ALGID_SHA256WithRSA,
CSSM_ALGID_SHA384WithRSA,
CSSM_ALGID_SHA512WithRSA,
CSSM_ALGID_OPENSSH1,
CSSM_ALGID__FIRST_UNUSED
};
enum
{
CSSM_PADDING_APPLE_SSLv2 = CSSM_PADDING_VENDOR_DEFINED
};
enum {
CSSM_KEYBLOB_RAW_FORMAT_VENDOR_DEFINED = 0x80000000
};
enum {
CSSM_KEYBLOB_RAW_FORMAT_X509 = CSSM_KEYBLOB_RAW_FORMAT_VENDOR_DEFINED,
CSSM_KEYBLOB_RAW_FORMAT_OPENSSH,
CSSM_KEYBLOB_RAW_FORMAT_OPENSSL,
CSSM_KEYBLOB_RAW_FORMAT_OPENSSH2
};
enum
{
CSSM_CUSTOM_COMMON_ERROR_EXTENT = 0x00e0,
CSSM_ERRCODE_NO_USER_INTERACTION = 0x00e0,
CSSM_ERRCODE_USER_CANCELED = 0x00e1,
CSSM_ERRCODE_SERVICE_NOT_AVAILABLE = 0x00e2,
CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION = 0x00e3,
CSSM_ERRCODE_DEVICE_RESET = 0x00e4,
CSSM_ERRCODE_DEVICE_FAILED = 0x00e5
};
enum {
CSSMERR_CSSM_NO_USER_INTERACTION = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_AC_NO_USER_INTERACTION = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_CSP_NO_USER_INTERACTION = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_CL_NO_USER_INTERACTION = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_DL_NO_USER_INTERACTION = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_TP_NO_USER_INTERACTION = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_CSSM_USER_CANCELED = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_AC_USER_CANCELED = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_CSP_USER_CANCELED = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_CL_USER_CANCELED = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_DL_USER_CANCELED = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_TP_USER_CANCELED = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_CSSM_SERVICE_NOT_AVAILABLE = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_AC_SERVICE_NOT_AVAILABLE = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_CSP_SERVICE_NOT_AVAILABLE = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_CL_SERVICE_NOT_AVAILABLE = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_DL_SERVICE_NOT_AVAILABLE = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_TP_SERVICE_NOT_AVAILABLE = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_CSSM_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_AC_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_CSP_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_CL_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_DL_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_TP_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_CSSM_DEVICE_RESET = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_AC_DEVICE_RESET = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_CSP_DEVICE_RESET = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_CL_DEVICE_RESET = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_DL_DEVICE_RESET = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_TP_DEVICE_RESET = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_CSSM_DEVICE_FAILED = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED,
CSSMERR_AC_DEVICE_FAILED = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED,
CSSMERR_CSP_DEVICE_FAILED = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED,
CSSMERR_CL_DEVICE_FAILED = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED,
CSSMERR_DL_DEVICE_FAILED = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED,
CSSMERR_TP_DEVICE_FAILED = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED
};
enum {
CSSMERR_CSP_APPLE_ADD_APPLICATION_ACL_SUBJECT = CSSM_CSP_PRIVATE_ERROR + 0,
CSSMERR_CSP_APPLE_PUBLIC_KEY_INCOMPLETE = CSSM_CSP_PRIVATE_ERROR + 1,
CSSMERR_CSP_APPLE_SIGNATURE_MISMATCH = CSSM_CSP_PRIVATE_ERROR + 2,
CSSMERR_CSP_APPLE_INVALID_KEY_START_DATE = CSSM_CSP_PRIVATE_ERROR + 3,
CSSMERR_CSP_APPLE_INVALID_KEY_END_DATE = CSSM_CSP_PRIVATE_ERROR + 4,
CSSMERR_CSPDL_APPLE_DL_CONVERSION_ERROR = CSSM_CSP_PRIVATE_ERROR + 5,
CSSMERR_CSP_APPLE_SSLv2_ROLLBACK = CSSM_CSP_PRIVATE_ERROR + 6
};
enum
{
CSSM_DL_DB_RECORD_GENERIC_PASSWORD = CSSM_DB_RECORDTYPE_APP_DEFINED_START + 0,
CSSM_DL_DB_RECORD_INTERNET_PASSWORD = CSSM_DB_RECORDTYPE_APP_DEFINED_START + 1,
CSSM_DL_DB_RECORD_APPLESHARE_PASSWORD = CSSM_DB_RECORDTYPE_APP_DEFINED_START + 2,
CSSM_DL_DB_RECORD_X509_CERTIFICATE = CSSM_DB_RECORDTYPE_APP_DEFINED_START + 0x1000,
CSSM_DL_DB_RECORD_USER_TRUST,
CSSM_DL_DB_RECORD_X509_CRL,
CSSM_DL_DB_RECORD_UNLOCK_REFERRAL,
CSSM_DL_DB_RECORD_EXTENDED_ATTRIBUTE,
CSSM_DL_DB_RECORD_METADATA = CSSM_DB_RECORDTYPE_APP_DEFINED_START + 0x8000
};
enum {
CSSM_APPLEFILEDL_TOGGLE_AUTOCOMMIT,
CSSM_APPLEFILEDL_COMMIT,
CSSM_APPLEFILEDL_ROLLBACK
};
enum {
CSSM_APPLE_UNLOCK_TYPE_KEY_DIRECT = 1,
CSSM_APPLE_UNLOCK_TYPE_WRAPPED_PRIVATE = 2
};
enum
{
CSSMERR_APPLEDL_INVALID_OPEN_PARAMETERS = CSSM_DL_PRIVATE_ERROR + 0,
CSSMERR_APPLEDL_DISK_FULL = CSSM_DL_PRIVATE_ERROR + 1,
CSSMERR_APPLEDL_QUOTA_EXCEEDED = CSSM_DL_PRIVATE_ERROR + 2,
CSSMERR_APPLEDL_FILE_TOO_BIG = CSSM_DL_PRIVATE_ERROR + 3,
CSSMERR_APPLEDL_INVALID_DATABASE_BLOB = CSSM_DL_PRIVATE_ERROR + 4,
CSSMERR_APPLEDL_INVALID_KEY_BLOB = CSSM_DL_PRIVATE_ERROR + 5,
CSSMERR_APPLEDL_INCOMPATIBLE_DATABASE_BLOB = CSSM_DL_PRIVATE_ERROR + 6,
CSSMERR_APPLEDL_INCOMPATIBLE_KEY_BLOB = CSSM_DL_PRIVATE_ERROR + 7,
};
enum
{
CSSMERR_APPLETP_HOSTNAME_MISMATCH = CSSM_TP_PRIVATE_ERROR + 0,
CSSMERR_APPLETP_UNKNOWN_CRITICAL_EXTEN = CSSM_TP_PRIVATE_ERROR + 1,
CSSMERR_APPLETP_NO_BASIC_CONSTRAINTS = CSSM_TP_PRIVATE_ERROR + 2,
CSSMERR_APPLETP_INVALID_CA = CSSM_TP_PRIVATE_ERROR + 3,
CSSMERR_APPLETP_INVALID_AUTHORITY_ID = CSSM_TP_PRIVATE_ERROR + 4,
CSSMERR_APPLETP_INVALID_SUBJECT_ID = CSSM_TP_PRIVATE_ERROR + 5,
CSSMERR_APPLETP_INVALID_KEY_USAGE = CSSM_TP_PRIVATE_ERROR + 6,
CSSMERR_APPLETP_INVALID_EXTENDED_KEY_USAGE = CSSM_TP_PRIVATE_ERROR + 7,
CSSMERR_APPLETP_INVALID_ID_LINKAGE = CSSM_TP_PRIVATE_ERROR + 8,
CSSMERR_APPLETP_PATH_LEN_CONSTRAINT = CSSM_TP_PRIVATE_ERROR + 9,
CSSMERR_APPLETP_INVALID_ROOT = CSSM_TP_PRIVATE_ERROR + 10,
CSSMERR_APPLETP_CRL_EXPIRED = CSSM_TP_PRIVATE_ERROR + 11,
CSSMERR_APPLETP_CRL_NOT_VALID_YET = CSSM_TP_PRIVATE_ERROR + 12,
CSSMERR_APPLETP_CRL_NOT_FOUND = CSSM_TP_PRIVATE_ERROR + 13,
CSSMERR_APPLETP_CRL_SERVER_DOWN = CSSM_TP_PRIVATE_ERROR + 14,
CSSMERR_APPLETP_CRL_BAD_URI = CSSM_TP_PRIVATE_ERROR + 15,
CSSMERR_APPLETP_UNKNOWN_CERT_EXTEN = CSSM_TP_PRIVATE_ERROR + 16,
CSSMERR_APPLETP_UNKNOWN_CRL_EXTEN = CSSM_TP_PRIVATE_ERROR + 17,
CSSMERR_APPLETP_CRL_NOT_TRUSTED = CSSM_TP_PRIVATE_ERROR + 18,
CSSMERR_APPLETP_CRL_INVALID_ANCHOR_CERT = CSSM_TP_PRIVATE_ERROR + 19,
CSSMERR_APPLETP_CRL_POLICY_FAIL = CSSM_TP_PRIVATE_ERROR + 20,
CSSMERR_APPLETP_IDP_FAIL = CSSM_TP_PRIVATE_ERROR + 21,
CSSMERR_APPLETP_CERT_NOT_FOUND_FROM_ISSUER = CSSM_TP_PRIVATE_ERROR + 22,
CSSMERR_APPLETP_BAD_CERT_FROM_ISSUER = CSSM_TP_PRIVATE_ERROR + 23,
CSSMERR_APPLETP_SMIME_EMAIL_ADDRS_NOT_FOUND = CSSM_TP_PRIVATE_ERROR + 24,
CSSMERR_APPLETP_SMIME_BAD_EXT_KEY_USE = CSSM_TP_PRIVATE_ERROR + 25,
CSSMERR_APPLETP_SMIME_BAD_KEY_USE = CSSM_TP_PRIVATE_ERROR + 26,
CSSMERR_APPLETP_SMIME_KEYUSAGE_NOT_CRITICAL = CSSM_TP_PRIVATE_ERROR + 27,
CSSMERR_APPLETP_SMIME_NO_EMAIL_ADDRS = CSSM_TP_PRIVATE_ERROR + 28,
CSSMERR_APPLETP_SMIME_SUBJ_ALT_NAME_NOT_CRIT = CSSM_TP_PRIVATE_ERROR + 29,
CSSMERR_APPLETP_SSL_BAD_EXT_KEY_USE = CSSM_TP_PRIVATE_ERROR + 30,
CSSMERR_APPLETP_OCSP_BAD_RESPONSE = CSSM_TP_PRIVATE_ERROR + 31,
CSSMERR_APPLETP_OCSP_BAD_REQUEST = CSSM_TP_PRIVATE_ERROR + 32,
CSSMERR_APPLETP_OCSP_UNAVAILABLE = CSSM_TP_PRIVATE_ERROR + 33,
CSSMERR_APPLETP_OCSP_STATUS_UNRECOGNIZED = CSSM_TP_PRIVATE_ERROR + 34,
CSSMERR_APPLETP_INCOMPLETE_REVOCATION_CHECK = CSSM_TP_PRIVATE_ERROR + 35,
CSSMERR_APPLETP_NETWORK_FAILURE = CSSM_TP_PRIVATE_ERROR + 36,
CSSMERR_APPLETP_OCSP_NOT_TRUSTED = CSSM_TP_PRIVATE_ERROR + 37,
CSSMERR_APPLETP_OCSP_INVALID_ANCHOR_CERT = CSSM_TP_PRIVATE_ERROR + 38,
CSSMERR_APPLETP_OCSP_SIG_ERROR = CSSM_TP_PRIVATE_ERROR + 39,
CSSMERR_APPLETP_OCSP_NO_SIGNER = CSSM_TP_PRIVATE_ERROR + 40,
CSSMERR_APPLETP_OCSP_RESP_MALFORMED_REQ = CSSM_TP_PRIVATE_ERROR + 41,
CSSMERR_APPLETP_OCSP_RESP_INTERNAL_ERR = CSSM_TP_PRIVATE_ERROR + 42,
CSSMERR_APPLETP_OCSP_RESP_TRY_LATER = CSSM_TP_PRIVATE_ERROR + 43,
CSSMERR_APPLETP_OCSP_RESP_SIG_REQUIRED = CSSM_TP_PRIVATE_ERROR + 44,
CSSMERR_APPLETP_OCSP_RESP_UNAUTHORIZED = CSSM_TP_PRIVATE_ERROR + 45,
CSSMERR_APPLETP_OCSP_NONCE_MISMATCH = CSSM_TP_PRIVATE_ERROR + 46,
CSSMERR_APPLETP_CS_BAD_CERT_CHAIN_LENGTH = CSSM_TP_PRIVATE_ERROR + 47,
CSSMERR_APPLETP_CS_NO_BASIC_CONSTRAINTS = CSSM_TP_PRIVATE_ERROR + 48,
CSSMERR_APPLETP_CS_BAD_PATH_LENGTH = CSSM_TP_PRIVATE_ERROR + 49,
CSSMERR_APPLETP_CS_NO_EXTENDED_KEY_USAGE = CSSM_TP_PRIVATE_ERROR + 50,
CSSMERR_APPLETP_CODE_SIGN_DEVELOPMENT = CSSM_TP_PRIVATE_ERROR + 51,
CSSMERR_APPLETP_RS_BAD_CERT_CHAIN_LENGTH = CSSM_TP_PRIVATE_ERROR + 52,
CSSMERR_APPLETP_RS_BAD_EXTENDED_KEY_USAGE = CSSM_TP_PRIVATE_ERROR + 53,
CSSMERR_APPLETP_TRUST_SETTING_DENY = CSSM_TP_PRIVATE_ERROR + 54,
CSSMERR_APPLETP_INVALID_EMPTY_SUBJECT = CSSM_TP_PRIVATE_ERROR + 55,
CSSMERR_APPLETP_UNKNOWN_QUAL_CERT_STATEMENT = CSSM_TP_PRIVATE_ERROR + 56
};
enum
{
CSSMERR_APPLE_DOTMAC_REQ_QUEUED = CSSM_TP_PRIVATE_ERROR + 100,
CSSMERR_APPLE_DOTMAC_REQ_REDIRECT = CSSM_TP_PRIVATE_ERROR + 101,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_ERR = CSSM_TP_PRIVATE_ERROR + 102,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_PARAM = CSSM_TP_PRIVATE_ERROR + 103,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_AUTH = CSSM_TP_PRIVATE_ERROR + 104,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_UNIMPL = CSSM_TP_PRIVATE_ERROR + 105,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_NOT_AVAIL = CSSM_TP_PRIVATE_ERROR + 106,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_ALREADY_EXIST = CSSM_TP_PRIVATE_ERROR + 107,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_SERVICE_ERROR = CSSM_TP_PRIVATE_ERROR + 108,
CSSMERR_APPLE_DOTMAC_REQ_IS_PENDING = CSSM_TP_PRIVATE_ERROR + 109,
CSSMERR_APPLE_DOTMAC_NO_REQ_PENDING = CSSM_TP_PRIVATE_ERROR + 110,
CSSMERR_APPLE_DOTMAC_CSR_VERIFY_FAIL = CSSM_TP_PRIVATE_ERROR + 111,
CSSMERR_APPLE_DOTMAC_FAILED_CONSISTENCY_CHECK = CSSM_TP_PRIVATE_ERROR + 112
};
enum
{
CSSM_APPLEDL_OPEN_PARAMETERS_VERSION = 1
};
enum cssm_appledl_open_parameters_mask
{
kCSSM_APPLEDL_MASK_MODE = (1 << 0)
};
typedef struct cssm_appledl_open_parameters
{
uint32 length;
uint32 version;
# 577 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
CSSM_BOOL autoCommit;
uint32 mask;
mode_t mode;
} CSSM_APPLEDL_OPEN_PARAMETERS, *CSSM_APPLEDL_OPEN_PARAMETERS_PTR;
enum
{
CSSM_APPLECSPDL_DB_LOCK = 0,
CSSM_APPLECSPDL_DB_UNLOCK = 1,
# 612 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
CSSM_APPLECSPDL_DB_GET_SETTINGS = 2,
CSSM_APPLECSPDL_DB_SET_SETTINGS = 3,
# 631 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
CSSM_APPLECSPDL_DB_IS_LOCKED = 4,
# 647 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
CSSM_APPLECSPDL_DB_CHANGE_PASSWORD =5,
CSSM_APPLECSPDL_DB_GET_HANDLE = 6,
CSSM_APPLESCPDL_CSP_GET_KEYHANDLE = 7,
CSSM_APPLE_PRIVATE_CSPDL_CODE_8 = 8,
CSSM_APPLE_PRIVATE_CSPDL_CODE_9 = 9,
CSSM_APPLE_PRIVATE_CSPDL_CODE_10 = 10,
CSSM_APPLE_PRIVATE_CSPDL_CODE_11 = 11,
CSSM_APPLE_PRIVATE_CSPDL_CODE_12 = 12,
CSSM_APPLE_PRIVATE_CSPDL_CODE_13 = 13,
CSSM_APPLE_PRIVATE_CSPDL_CODE_14 = 14,
CSSM_APPLE_PRIVATE_CSPDL_CODE_15 = 15,
CSSM_APPLECSP_KEYDIGEST = 0x100
};
typedef struct cssm_applecspdl_db_settings_parameters
{
uint32 idleTimeout;
uint8 lockOnSleep;
} CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS, *CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS_PTR;
typedef struct cssm_applecspdl_db_is_locked_parameters
{
uint8 isLocked;
} CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS, *CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS_PTR;
typedef struct cssm_applecspdl_db_change_password_parameters
{
CSSM_ACCESS_CREDENTIALS *accessCredentials;
} CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS, *CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS_PTR;
enum {
CSSM_KEYBLOB_WRAPPED_FORMAT_APPLE_CUSTOM = 100,
CSSM_KEYBLOB_WRAPPED_FORMAT_OPENSSL,
CSSM_KEYBLOB_WRAPPED_FORMAT_OPENSSH1
};
enum {
CSSM_ATTRIBUTE_VENDOR_DEFINED = 0x800000
};
enum {
CSSM_ATTRIBUTE_PUBLIC_KEY =
(CSSM_ATTRIBUTE_DATA_KEY | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 0)),
CSSM_ATTRIBUTE_FEE_PRIME_TYPE =
(CSSM_ATTRIBUTE_DATA_UINT32 | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 1)),
CSSM_ATTRIBUTE_FEE_CURVE_TYPE =
(CSSM_ATTRIBUTE_DATA_UINT32 | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 2)),
CSSM_ATTRIBUTE_ASC_OPTIMIZATION =
(CSSM_ATTRIBUTE_DATA_UINT32 | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 3)),
CSSM_ATTRIBUTE_RSA_BLINDING =
(CSSM_ATTRIBUTE_DATA_UINT32 | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 4)),
CSSM_ATTRIBUTE_PARAM_KEY =
(CSSM_ATTRIBUTE_DATA_KEY | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 5)),
CSSM_ATTRIBUTE_PROMPT =
(CSSM_ATTRIBUTE_DATA_CSSM_DATA | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 6)),
CSSM_ATTRIBUTE_ALERT_TITLE =
(CSSM_ATTRIBUTE_DATA_CSSM_DATA | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 7)),
CSSM_ATTRIBUTE_VERIFY_PASSPHRASE =
(CSSM_ATTRIBUTE_DATA_UINT32 | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 8))
};
enum {
CSSM_FEE_PRIME_TYPE_DEFAULT = 0,
CSSM_FEE_PRIME_TYPE_MERSENNE,
CSSM_FEE_PRIME_TYPE_FEE,
CSSM_FEE_PRIME_TYPE_GENERAL
};
enum {
CSSM_FEE_CURVE_TYPE_DEFAULT = 0,
CSSM_FEE_CURVE_TYPE_MONTGOMERY,
CSSM_FEE_CURVE_TYPE_WEIERSTRASS
};
enum {
CSSM_ASC_OPTIMIZE_DEFAULT = 0,
CSSM_ASC_OPTIMIZE_SIZE,
CSSM_ASC_OPTIMIZE_SECURITY,
CSSM_ASC_OPTIMIZE_TIME,
CSSM_ASC_OPTIMIZE_TIME_SIZE,
CSSM_ASC_OPTIMIZE_ASCII,
};
enum {
CSSM_KEYATTR_PARTIAL = 0x00010000,
CSSM_KEYATTR_PUBLIC_KEY_ENCRYPT = 0x00020000
};
typedef struct {
const char *string;
const CSSM_OID *oid;
} CSSM_APPLE_TP_NAME_OID;
typedef struct {
CSSM_CSP_HANDLE cspHand;
CSSM_CL_HANDLE clHand;
uint32 serialNumber;
uint32 numSubjectNames;
CSSM_APPLE_TP_NAME_OID *subjectNames;
uint32 numIssuerNames;
CSSM_APPLE_TP_NAME_OID *issuerNames;
CSSM_X509_NAME_PTR issuerNameX509;
const CSSM_KEY *certPublicKey;
const CSSM_KEY *issuerPrivateKey;
CSSM_ALGORITHMS signatureAlg;
CSSM_OID signatureOid;
uint32 notBefore;
uint32 notAfter;
uint32 numExtensions;
CE_DataAndType *extensions;
const char *challengeString;
} CSSM_APPLE_TP_CERT_REQUEST;
#define CSSM_APPLE_TP_SSL_OPTS_VERSION 1
#define CSSM_APPLE_TP_SSL_CLIENT 0x00000001
typedef struct {
uint32 Version;
uint32 ServerNameLen;
const char *ServerName;
uint32 Flags;
} CSSM_APPLE_TP_SSL_OPTIONS;
#define CSSM_APPLE_TP_CRL_OPTS_VERSION 0
typedef uint32 CSSM_APPLE_TP_CRL_OPT_FLAGS;
enum {
CSSM_TP_ACTION_REQUIRE_CRL_PER_CERT = 0x00000001,
CSSM_TP_ACTION_FETCH_CRL_FROM_NET = 0x00000002,
CSSM_TP_ACTION_CRL_SUFFICIENT = 0x00000004,
CSSM_TP_ACTION_REQUIRE_CRL_IF_PRESENT = 0x00000008
};
typedef struct {
uint32 Version;
CSSM_APPLE_TP_CRL_OPT_FLAGS CrlFlags;
CSSM_DL_DB_HANDLE_PTR crlStore;
} CSSM_APPLE_TP_CRL_OPTIONS;
#define CSSM_APPLE_TP_SMIME_OPTS_VERSION 0
typedef struct {
uint32 Version;
CE_KeyUsage IntendedUsage;
# 953 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
uint32 SenderEmailLen;
const char *SenderEmail;
} CSSM_APPLE_TP_SMIME_OPTIONS;
typedef uint32 CSSM_APPLE_TP_ACTION_FLAGS;
enum {
CSSM_TP_ACTION_ALLOW_EXPIRED = 0x00000001,
CSSM_TP_ACTION_LEAF_IS_CA = 0x00000002,
CSSM_TP_ACTION_FETCH_CERT_FROM_NET = 0x00000004,
CSSM_TP_ACTION_ALLOW_EXPIRED_ROOT = 0x00000008,
CSSM_TP_ACTION_REQUIRE_REV_PER_CERT = 0x00000010,
CSSM_TP_ACTION_TRUST_SETTINGS = 0x00000020,
CSSM_TP_ACTION_IMPLICIT_ANCHORS = 0x00000040
};
#define CSSM_APPLE_TP_ACTION_VERSION 0
typedef struct {
uint32 Version;
CSSM_APPLE_TP_ACTION_FLAGS ActionFlags;
} CSSM_APPLE_TP_ACTION_DATA;
# 990 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
typedef uint32 CSSM_TP_APPLE_CERT_STATUS;
enum
{
CSSM_CERT_STATUS_EXPIRED = 0x00000001,
CSSM_CERT_STATUS_NOT_VALID_YET = 0x00000002,
CSSM_CERT_STATUS_IS_IN_INPUT_CERTS = 0x00000004,
CSSM_CERT_STATUS_IS_IN_ANCHORS = 0x00000008,
CSSM_CERT_STATUS_IS_ROOT = 0x00000010,
CSSM_CERT_STATUS_IS_FROM_NET = 0x00000020,
CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_USER = 0x00000040,
CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_ADMIN = 0x00000080,
CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_SYSTEM = 0x00000100,
CSSM_CERT_STATUS_TRUST_SETTINGS_TRUST = 0x00000200,
CSSM_CERT_STATUS_TRUST_SETTINGS_DENY = 0x00000400,
CSSM_CERT_STATUS_TRUST_SETTINGS_IGNORED_ERROR = 0x00000800
};
typedef struct {
CSSM_TP_APPLE_CERT_STATUS StatusBits;
uint32 NumStatusCodes;
CSSM_RETURN *StatusCodes;
uint32 Index;
CSSM_DL_DB_HANDLE DlDbHandle;
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecord;
} CSSM_TP_APPLE_EVIDENCE_INFO;
#define CSSM_TP_APPLE_EVIDENCE_VERSION 0
typedef struct
{
uint32 Version;
} CSSM_TP_APPLE_EVIDENCE_HEADER;
# 1050 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
#define CSSM_EVIDENCE_FORM_APPLE_CUSTOM 0x80000000
enum
{
CSSM_EVIDENCE_FORM_APPLE_HEADER = 0x80000000 + 0,
CSSM_EVIDENCE_FORM_APPLE_CERTGROUP = 0x80000000 + 1,
CSSM_EVIDENCE_FORM_APPLE_CERT_INFO = 0x80000000 + 2
};
enum {
CSSM_APPLEX509CL_OBTAIN_CSR,
CSSM_APPLEX509CL_VERIFY_CSR
};
typedef struct {
CSSM_X509_NAME_PTR subjectNameX509;
CSSM_ALGORITHMS signatureAlg;
CSSM_OID signatureOid;
CSSM_CSP_HANDLE cspHand;
const CSSM_KEY *subjectPublicKey;
const CSSM_KEY *subjectPrivateKey;
const char *challengeString;
} CSSM_APPLE_CL_CSR_REQUEST;
#define CSSM_APPLE_CRL_END_OF_TIME "99991231235959"
#define kKeychainSuffix ".keychain"
#define kSystemKeychainName "System.keychain"
#define kSystemKeychainDir "/Library/Keychains/"
#define kSystemUnlockFile "/var/db/SystemKey"
void cssmPerror(const char *how, CSSM_RETURN error);
_Bool cssmOidToAlg(const CSSM_OID *oid, CSSM_ALGORITHMS *alg);
const CSSM_OID *cssmAlgToOid(CSSM_ALGORITHMS algId);
#define errSecErrnoBase 100000
#define errSecErrnoLimit 100255
# 26 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssm.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssm.h" 3
#define _CSSM_H_ 1
# 1 "/System/Library/Frameworks/Security.framework/Headers/emmtype.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/emmtype.h" 3
#define _EMMTYPE_H_ 1
#define CSSM_HINT_CALLBACK (1)
typedef uint32 CSSM_MANAGER_EVENT_TYPES;
#define CSSM_MANAGER_SERVICE_REQUEST 1
#define CSSM_MANAGER_REPLY 2
typedef struct cssm_manager_event_notification {
CSSM_SERVICE_MASK DestinationModuleManagerType;
CSSM_SERVICE_MASK SourceModuleManagerType;
CSSM_MANAGER_EVENT_TYPES Event;
uint32 EventId;
CSSM_DATA EventData;
} CSSM_MANAGER_EVENT_NOTIFICATION, *CSSM_MANAGER_EVENT_NOTIFICATION_PTR;
# 31 "/System/Library/Frameworks/Security.framework/Headers/cssm.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmapi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmapi.h" 3
#define _CSSMAPI_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/cssmapi.h" 3
CSSM_RETURN
CSSM_Init (const CSSM_VERSION *Version,
CSSM_PRIVILEGE_SCOPE Scope,
const CSSM_GUID *CallerGuid,
CSSM_KEY_HIERARCHY KeyHierarchy,
CSSM_PVC_MODE *PvcPolicy,
const void *Reserved);
CSSM_RETURN
CSSM_Terminate (void);
CSSM_RETURN
CSSM_ModuleLoad (const CSSM_GUID *ModuleGuid,
CSSM_KEY_HIERARCHY KeyHierarchy,
CSSM_API_ModuleEventHandler AppNotifyCallback,
void *AppNotifyCallbackCtx);
CSSM_RETURN
CSSM_ModuleUnload (const CSSM_GUID *ModuleGuid,
CSSM_API_ModuleEventHandler AppNotifyCallback,
void *AppNotifyCallbackCtx);
CSSM_RETURN
CSSM_Introduce (const CSSM_GUID *ModuleID,
CSSM_KEY_HIERARCHY KeyHierarchy);
CSSM_RETURN
CSSM_Unintroduce (const CSSM_GUID *ModuleID);
CSSM_RETURN
CSSM_ModuleAttach (const CSSM_GUID *ModuleGuid,
const CSSM_VERSION *Version,
const CSSM_API_MEMORY_FUNCS *MemoryFuncs,
uint32 SubserviceID,
CSSM_SERVICE_TYPE SubServiceType,
CSSM_ATTACH_FLAGS AttachFlags,
CSSM_KEY_HIERARCHY KeyHierarchy,
CSSM_FUNC_NAME_ADDR *FunctionTable,
uint32 NumFunctionTable,
const void *Reserved,
CSSM_MODULE_HANDLE_PTR NewModuleHandle);
CSSM_RETURN
CSSM_ModuleDetach (CSSM_MODULE_HANDLE ModuleHandle);
CSSM_RETURN
CSSM_SetPrivilege (CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_GetPrivilege (CSSM_PRIVILEGE *Privilege);
CSSM_RETURN
CSSM_GetModuleGUIDFromHandle (CSSM_MODULE_HANDLE ModuleHandle,
CSSM_GUID_PTR ModuleGUID);
CSSM_RETURN
CSSM_GetSubserviceUIDFromHandle (CSSM_MODULE_HANDLE ModuleHandle,
CSSM_SUBSERVICE_UID_PTR SubserviceUID);
CSSM_RETURN
CSSM_ListAttachedModuleManagers (uint32 *NumberOfModuleManagers,
CSSM_GUID_PTR ModuleManagerGuids);
CSSM_RETURN
CSSM_GetAPIMemoryFunctions (CSSM_MODULE_HANDLE AddInHandle,
CSSM_API_MEMORY_FUNCS_PTR AppMemoryFuncs);
CSSM_RETURN
CSSM_CSP_CreateSignatureContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateSymmetricContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
CSSM_ENCRYPT_MODE Mode,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_DATA *InitVector,
CSSM_PADDING Padding,
void *Reserved,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateDigestContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateMacContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
const CSSM_KEY *Key,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateRandomGenContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
const CSSM_CRYPTO_DATA *Seed,
CSSM_SIZE Length,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateAsymmetricContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
CSSM_PADDING Padding,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateDeriveKeyContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
CSSM_KEY_TYPE DeriveKeyType,
uint32 DeriveKeyLengthInBits,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *BaseKey,
uint32 IterationCount,
const CSSM_DATA *Salt,
const CSSM_CRYPTO_DATA *Seed,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateKeyGenContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
uint32 KeySizeInBits,
const CSSM_CRYPTO_DATA *Seed,
const CSSM_DATA *Salt,
const CSSM_DATE *StartDate,
const CSSM_DATE *EndDate,
const CSSM_DATA *Params,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreatePassThroughContext (CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *Key,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_GetContext (CSSM_CC_HANDLE CCHandle,
CSSM_CONTEXT_PTR *Context);
CSSM_RETURN
CSSM_FreeContext (CSSM_CONTEXT_PTR Context);
CSSM_RETURN
CSSM_SetContext (CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN
CSSM_DeleteContext (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_GetContextAttribute (const CSSM_CONTEXT *Context,
uint32 AttributeType,
CSSM_CONTEXT_ATTRIBUTE_PTR *ContextAttribute);
CSSM_RETURN
CSSM_UpdateContextAttributes (CSSM_CC_HANDLE CCHandle,
uint32 NumberOfAttributes,
const CSSM_CONTEXT_ATTRIBUTE *ContextAttributes);
CSSM_RETURN
CSSM_DeleteContextAttributes (CSSM_CC_HANDLE CCHandle,
uint32 NumberOfAttributes,
const CSSM_CONTEXT_ATTRIBUTE *ContextAttributes);
CSSM_RETURN
CSSM_CSP_Login (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_DATA *LoginName,
const void *Reserved);
CSSM_RETURN
CSSM_CSP_Logout (CSSM_CSP_HANDLE CSPHandle);
CSSM_RETURN
CSSM_CSP_GetLoginAcl (CSSM_CSP_HANDLE CSPHandle,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN
CSSM_CSP_ChangeLoginAcl (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit);
CSSM_RETURN
CSSM_GetKeyAcl (CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *Key,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN
CSSM_ChangeKeyAcl (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit,
const CSSM_KEY *Key);
CSSM_RETURN
CSSM_GetKeyOwner (CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *Key,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN
CSSM_ChangeKeyOwner (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
CSSM_RETURN
CSSM_CSP_GetLoginOwner (CSSM_CSP_HANDLE CSPHandle,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN
CSSM_CSP_ChangeLoginOwner (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
CSSM_RETURN
CSSM_SignData (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_ALGORITHMS DigestAlgorithm,
CSSM_DATA_PTR Signature);
CSSM_RETURN
CSSM_SignDataInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_SignDataUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN
CSSM_SignDataFinal (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Signature);
CSSM_RETURN
CSSM_VerifyData (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_ALGORITHMS DigestAlgorithm,
const CSSM_DATA *Signature);
CSSM_RETURN
CSSM_VerifyDataInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_VerifyDataUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN
CSSM_VerifyDataFinal (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Signature);
CSSM_RETURN
CSSM_DigestData (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_DATA_PTR Digest);
CSSM_RETURN
CSSM_DigestDataInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_DigestDataUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN
CSSM_DigestDataClone (CSSM_CC_HANDLE CCHandle,
CSSM_CC_HANDLE *ClonednewCCHandle);
CSSM_RETURN
CSSM_DigestDataFinal (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Digest);
CSSM_RETURN
CSSM_GenerateMac (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_DATA_PTR Mac);
CSSM_RETURN
CSSM_GenerateMacInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_GenerateMacUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN
CSSM_GenerateMacFinal (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Mac);
CSSM_RETURN
CSSM_VerifyMac (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
const CSSM_DATA *Mac);
CSSM_RETURN
CSSM_VerifyMacInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_VerifyMacUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN
CSSM_VerifyMacFinal (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Mac);
CSSM_RETURN
CSSM_QuerySize (CSSM_CC_HANDLE CCHandle,
CSSM_BOOL Encrypt,
uint32 QuerySizeCount,
CSSM_QUERY_SIZE_DATA_PTR DataBlockSizes);
CSSM_RETURN
CSSM_EncryptData (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *ClearBufs,
uint32 ClearBufCount,
CSSM_DATA_PTR CipherBufs,
uint32 CipherBufCount,
CSSM_SIZE *bytesEncrypted,
CSSM_DATA_PTR RemData);
CSSM_RETURN
CSSM_EncryptDataP (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *ClearBufs,
uint32 ClearBufCount,
CSSM_DATA_PTR CipherBufs,
uint32 CipherBufCount,
CSSM_SIZE *bytesEncrypted,
CSSM_DATA_PTR RemData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_EncryptDataInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_EncryptDataInitP (CSSM_CC_HANDLE CCHandle,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_EncryptDataUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *ClearBufs,
uint32 ClearBufCount,
CSSM_DATA_PTR CipherBufs,
uint32 CipherBufCount,
CSSM_SIZE *bytesEncrypted);
CSSM_RETURN
CSSM_EncryptDataFinal (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR RemData);
CSSM_RETURN
CSSM_DecryptData (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CipherBufs,
uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs,
uint32 ClearBufCount,
CSSM_SIZE *bytesDecrypted,
CSSM_DATA_PTR RemData);
CSSM_RETURN
CSSM_DecryptDataP (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CipherBufs,
uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs,
uint32 ClearBufCount,
CSSM_SIZE *bytesDecrypted,
CSSM_DATA_PTR RemData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_DecryptDataInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_DecryptDataInitP (CSSM_CC_HANDLE CCHandle,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_DecryptDataUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CipherBufs,
uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs,
uint32 ClearBufCount,
CSSM_SIZE *bytesDecrypted);
CSSM_RETURN
CSSM_DecryptDataFinal (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR RemData);
CSSM_RETURN
CSSM_QueryKeySizeInBits (CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_KEY *Key,
CSSM_KEY_SIZE_PTR KeySize);
CSSM_RETURN
CSSM_GenerateKey (CSSM_CC_HANDLE CCHandle,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR Key);
CSSM_RETURN
CSSM_GenerateKeyP (CSSM_CC_HANDLE CCHandle,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR Key,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_GenerateKeyPair (CSSM_CC_HANDLE CCHandle,
uint32 PublicKeyUsage,
uint32 PublicKeyAttr,
const CSSM_DATA *PublicKeyLabel,
CSSM_KEY_PTR PublicKey,
uint32 PrivateKeyUsage,
uint32 PrivateKeyAttr,
const CSSM_DATA *PrivateKeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR PrivateKey);
CSSM_RETURN
CSSM_GenerateKeyPairP (CSSM_CC_HANDLE CCHandle,
uint32 PublicKeyUsage,
uint32 PublicKeyAttr,
const CSSM_DATA *PublicKeyLabel,
CSSM_KEY_PTR PublicKey,
uint32 PrivateKeyUsage,
uint32 PrivateKeyAttr,
const CSSM_DATA *PrivateKeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR PrivateKey,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_GenerateRandom (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR RandomNumber);
CSSM_RETURN
CSSM_CSP_ObtainPrivateKeyFromPublicKey (CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *PublicKey,
CSSM_KEY_PTR PrivateKey);
CSSM_RETURN
CSSM_WrapKey (CSSM_CC_HANDLE CCHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_DATA *DescriptiveData,
CSSM_WRAP_KEY_PTR WrappedKey);
CSSM_RETURN
CSSM_UnwrapKey (CSSM_CC_HANDLE CCHandle,
const CSSM_KEY *PublicKey,
const CSSM_WRAP_KEY *WrappedKey,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR UnwrappedKey,
CSSM_DATA_PTR DescriptiveData);
CSSM_RETURN
CSSM_WrapKeyP (CSSM_CC_HANDLE CCHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_DATA *DescriptiveData,
CSSM_WRAP_KEY_PTR WrappedKey,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_UnwrapKeyP (CSSM_CC_HANDLE CCHandle,
const CSSM_KEY *PublicKey,
const CSSM_WRAP_KEY *WrappedKey,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR UnwrappedKey,
CSSM_DATA_PTR DescriptiveData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_DeriveKey (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Param,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR DerivedKey);
CSSM_RETURN
CSSM_FreeKey (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
CSSM_KEY_PTR KeyPtr,
CSSM_BOOL Delete);
CSSM_RETURN
CSSM_GenerateAlgorithmParams (CSSM_CC_HANDLE CCHandle,
uint32 ParamBits,
CSSM_DATA_PTR Param);
CSSM_RETURN
CSSM_CSP_GetOperationalStatistics (CSSM_CSP_HANDLE CSPHandle,
CSSM_CSP_OPERATIONAL_STATISTICS *Statistics);
CSSM_RETURN
CSSM_GetTimeValue (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS TimeAlgorithm,
CSSM_DATA *TimeData);
CSSM_RETURN
CSSM_RetrieveUniqueId (CSSM_CSP_HANDLE CSPHandle,
CSSM_DATA_PTR UniqueID);
CSSM_RETURN
CSSM_RetrieveCounter (CSSM_CSP_HANDLE CSPHandle,
CSSM_DATA_PTR Counter);
CSSM_RETURN
CSSM_VerifyDevice (CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *DeviceCert);
CSSM_RETURN
CSSM_CSP_PassThrough (CSSM_CC_HANDLE CCHandle,
uint32 PassThroughId,
const void *InData,
void **OutData);
CSSM_RETURN
CSSM_TP_SubmitCredRequest (CSSM_TP_HANDLE TPHandle,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority,
CSSM_TP_AUTHORITY_REQUEST_TYPE RequestType,
const CSSM_TP_REQUEST_SET *RequestInput,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthContext,
sint32 *EstimatedTime,
CSSM_DATA_PTR ReferenceIdentifier);
CSSM_RETURN
CSSM_TP_RetrieveCredResult (CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthCredentials,
sint32 *EstimatedTime,
CSSM_BOOL *ConfirmationRequired,
CSSM_TP_RESULT_SET_PTR *RetrieveOutput);
CSSM_RETURN
CSSM_TP_ConfirmCredResult (CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthCredentials,
const CSSM_TP_CONFIRM_RESPONSE *Responses,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority);
CSSM_RETURN
CSSM_TP_ReceiveConfirmation (CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
CSSM_TP_CONFIRM_RESPONSE_PTR *Responses,
sint32 *ElapsedTime);
CSSM_RETURN
CSSM_TP_CertReclaimKey (CSSM_TP_HANDLE TPHandle,
const CSSM_CERTGROUP *CertGroup,
uint32 CertIndex,
CSSM_LONG_HANDLE KeyCacheHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry);
CSSM_RETURN
CSSM_TP_CertReclaimAbort (CSSM_TP_HANDLE TPHandle,
CSSM_LONG_HANDLE KeyCacheHandle);
CSSM_RETURN
CSSM_TP_FormRequest (CSSM_TP_HANDLE TPHandle,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority,
CSSM_TP_FORM_TYPE FormType,
CSSM_DATA_PTR BlankForm);
CSSM_RETURN
CSSM_TP_FormSubmit (CSSM_TP_HANDLE TPHandle,
CSSM_TP_FORM_TYPE FormType,
const CSSM_DATA *Form,
const CSSM_TP_AUTHORITY_ID *ClearanceAuthority,
const CSSM_TP_AUTHORITY_ID *RepresentedAuthority,
CSSM_ACCESS_CREDENTIALS_PTR Credentials);
CSSM_RETURN
CSSM_TP_CertGroupVerify (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_CERTGROUP *CertGroupToBeVerified,
const CSSM_TP_VERIFY_CONTEXT *VerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR VerifyContextResult);
CSSM_RETURN
CSSM_TP_CertCreateTemplate (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CertFields,
CSSM_DATA_PTR CertTemplate);
CSSM_RETURN
CSSM_TP_CertGetAllTemplateFields (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *CertTemplate,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN
CSSM_TP_CertSign (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertTemplateToBeSigned,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *SignerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR SignerVerifyResult,
CSSM_DATA_PTR SignedCert);
CSSM_RETURN
CSSM_TP_CrlVerify (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_ENCODED_CRL *CrlToBeVerified,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *VerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult);
CSSM_RETURN
CSSM_TP_CrlCreateTemplate (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlFields,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN
CSSM_TP_CertRevoke (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *OldCrlTemplate,
const CSSM_CERTGROUP *CertGroupToBeRevoked,
const CSSM_CERTGROUP *RevokerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *RevokerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult,
CSSM_TP_CERTCHANGE_REASON Reason,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN
CSSM_TP_CertRemoveFromCrlTemplate (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *OldCrlTemplate,
const CSSM_CERTGROUP *CertGroupToBeRemoved,
const CSSM_CERTGROUP *RevokerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *RevokerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN
CSSM_TP_CrlSign (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_ENCODED_CRL *CrlToBeSigned,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *SignerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR SignerVerifyResult,
CSSM_DATA_PTR SignedCrl);
CSSM_RETURN
CSSM_TP_ApplyCrlToDb (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_ENCODED_CRL *CrlToBeApplied,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *ApplyCrlVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR ApplyCrlVerifyResult);
CSSM_RETURN
CSSM_TP_CertGroupConstruct (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DL_DB_LIST *DBList,
const void *ConstructParams,
const CSSM_CERTGROUP *CertGroupFrag,
CSSM_CERTGROUP_PTR *CertGroup);
CSSM_RETURN
CSSM_TP_CertGroupPrune (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_DL_DB_LIST *DBList,
const CSSM_CERTGROUP *OrderedCertGroup,
CSSM_CERTGROUP_PTR *PrunedCertGroup);
CSSM_RETURN
CSSM_TP_CertGroupToTupleGroup (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_CERTGROUP *CertGroup,
CSSM_TUPLEGROUP_PTR *TupleGroup);
CSSM_RETURN
CSSM_TP_TupleGroupToCertGroup (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_TUPLEGROUP *TupleGroup,
CSSM_CERTGROUP_PTR *CertTemplates);
CSSM_RETURN
CSSM_TP_PassThrough (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DL_DB_LIST *DBList,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
CSSM_RETURN
CSSM_AC_AuthCompute (CSSM_AC_HANDLE ACHandle,
const CSSM_TUPLEGROUP *BaseAuthorizations,
const CSSM_TUPLEGROUP *Credentials,
uint32 NumberOfRequestors,
const CSSM_LIST *Requestors,
const CSSM_LIST *RequestedAuthorizationPeriod,
const CSSM_LIST *RequestedAuthorization,
CSSM_TUPLEGROUP_PTR AuthorizationResult);
CSSM_RETURN
CSSM_AC_PassThrough (CSSM_AC_HANDLE ACHandle,
CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DL_DB_LIST *DBList,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
CSSM_RETURN
CSSM_CL_CertCreateTemplate (CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CertFields,
CSSM_DATA_PTR CertTemplate);
CSSM_RETURN
CSSM_CL_CertGetAllTemplateFields (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *CertTemplate,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN
CSSM_CL_CertSign (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertTemplate,
const CSSM_FIELD *SignScope,
uint32 ScopeSize,
CSSM_DATA_PTR SignedCert);
CSSM_RETURN
CSSM_CL_CertVerify (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertToBeVerified,
const CSSM_DATA *SignerCert,
const CSSM_FIELD *VerifyScope,
uint32 ScopeSize);
CSSM_RETURN
CSSM_CL_CertVerifyWithKey (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertToBeVerified);
CSSM_RETURN
CSSM_CL_CertGetFirstFieldValue (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_OID *CertField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CertGetNextFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CertAbortQuery (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN
CSSM_CL_CertGetKeyInfo (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_KEY_PTR *Key);
CSSM_RETURN
CSSM_CL_CertGetAllFields (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN
CSSM_CL_FreeFields (CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
CSSM_FIELD_PTR *Fields);
CSSM_RETURN
CSSM_CL_FreeFieldValue (CSSM_CL_HANDLE CLHandle,
const CSSM_OID *CertOrCrlOid,
CSSM_DATA_PTR Value);
CSSM_RETURN
CSSM_CL_CertCache (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_HANDLE_PTR CertHandle);
CSSM_RETURN
CSSM_CL_CertGetFirstCachedFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CertHandle,
const CSSM_OID *CertField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CertGetNextCachedFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CertAbortCache (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CertHandle);
CSSM_RETURN
CSSM_CL_CertGroupToSignedBundle (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CERTGROUP *CertGroupToBundle,
const CSSM_CERT_BUNDLE_HEADER *BundleInfo,
CSSM_DATA_PTR SignedBundle);
CSSM_RETURN
CSSM_CL_CertGroupFromVerifiedBundle (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CERT_BUNDLE *CertBundle,
const CSSM_DATA *SignerCert,
CSSM_CERTGROUP_PTR *CertGroup);
CSSM_RETURN
CSSM_CL_CertDescribeFormat (CSSM_CL_HANDLE CLHandle,
uint32 *NumberOfFields,
CSSM_OID_PTR *OidList);
CSSM_RETURN
CSSM_CL_CrlCreateTemplate (CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlTemplate,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN
CSSM_CL_CrlSetFields (CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlTemplate,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR ModifiedCrl);
CSSM_RETURN
CSSM_CL_CrlAddCert (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Cert,
uint32 NumberOfFields,
const CSSM_FIELD *CrlEntryFields,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN
CSSM_CL_CrlRemoveCert (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN
CSSM_CL_CrlSign (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *UnsignedCrl,
const CSSM_FIELD *SignScope,
uint32 ScopeSize,
CSSM_DATA_PTR SignedCrl);
CSSM_RETURN
CSSM_CL_CrlVerify (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CrlToBeVerified,
const CSSM_DATA *SignerCert,
const CSSM_FIELD *VerifyScope,
uint32 ScopeSize);
CSSM_RETURN
CSSM_CL_CrlVerifyWithKey (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CrlToBeVerified);
CSSM_RETURN
CSSM_CL_IsCertInCrl (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_DATA *Crl,
CSSM_BOOL *CertFound);
CSSM_RETURN
CSSM_CL_CrlGetFirstFieldValue (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
const CSSM_OID *CrlField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CrlGetNextFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CrlAbortQuery (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN
CSSM_CL_CrlGetAllFields (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
uint32 *NumberOfCrlFields,
CSSM_FIELD_PTR *CrlFields);
CSSM_RETURN
CSSM_CL_CrlCache (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
CSSM_HANDLE_PTR CrlHandle);
CSSM_RETURN
CSSM_CL_IsCertInCachedCrl (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_HANDLE CrlHandle,
CSSM_BOOL *CertFound,
CSSM_DATA_PTR CrlRecordIndex);
CSSM_RETURN
CSSM_CL_CrlGetFirstCachedFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle,
const CSSM_DATA *CrlRecordIndex,
const CSSM_OID *CrlField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CrlGetNextCachedFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CrlGetAllCachedRecordFields (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle,
const CSSM_DATA *CrlRecordIndex,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CrlFields);
CSSM_RETURN
CSSM_CL_CrlAbortCache (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle);
CSSM_RETURN
CSSM_CL_CrlDescribeFormat (CSSM_CL_HANDLE CLHandle,
uint32 *NumberOfFields,
CSSM_OID_PTR *OidList);
CSSM_RETURN
CSSM_CL_PassThrough (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
CSSM_RETURN
CSSM_DL_DbOpen (CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const void *OpenParameters,
CSSM_DB_HANDLE *DbHandle);
CSSM_RETURN
CSSM_DL_DbClose (CSSM_DL_DB_HANDLE DLDBHandle);
CSSM_RETURN
CSSM_DL_DbCreate (CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
const CSSM_DBINFO *DBInfo,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
const void *OpenParameters,
CSSM_DB_HANDLE *DbHandle);
CSSM_RETURN
CSSM_DL_DbDelete (CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
const CSSM_ACCESS_CREDENTIALS *AccessCred);
CSSM_RETURN
CSSM_DL_CreateRelation (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RelationID,
const char *RelationName,
uint32 NumberOfAttributes,
const CSSM_DB_SCHEMA_ATTRIBUTE_INFO *pAttributeInfo,
uint32 NumberOfIndexes,
const CSSM_DB_SCHEMA_INDEX_INFO *pIndexInfo);
CSSM_RETURN
CSSM_DL_DestroyRelation (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RelationID);
CSSM_RETURN
CSSM_DL_Authenticate (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_ACCESS_CREDENTIALS *AccessCred);
CSSM_RETURN
CSSM_DL_GetDbAcl (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN
CSSM_DL_ChangeDbAcl (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit);
CSSM_RETURN
CSSM_DL_GetDbOwner (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN
CSSM_DL_ChangeDbOwner (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
CSSM_RETURN
CSSM_DL_GetDbNames (CSSM_DL_HANDLE DLHandle,
CSSM_NAME_LIST_PTR *NameList);
CSSM_RETURN
CSSM_DL_GetDbNameFromHandle (CSSM_DL_DB_HANDLE DLDBHandle,
char **DbName);
CSSM_RETURN
CSSM_DL_FreeNameList (CSSM_DL_HANDLE DLHandle,
CSSM_NAME_LIST_PTR NameList);
CSSM_RETURN
CSSM_DL_DataInsert (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RecordType,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *Attributes,
const CSSM_DATA *Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN
CSSM_DL_DataDelete (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecordIdentifier);
CSSM_RETURN
CSSM_DL_DataModify (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RecordType,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecordIdentifier,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *AttributesToBeModified,
const CSSM_DATA *DataToBeModified,
CSSM_DB_MODIFY_MODE ModifyMode);
CSSM_RETURN
CSSM_DL_DataGetFirst (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_QUERY *Query,
CSSM_HANDLE_PTR ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN
CSSM_DL_DataGetNext (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN
CSSM_DL_DataAbortQuery (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN
CSSM_DL_DataGetFromUniqueRecordId (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecord,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data);
CSSM_RETURN
CSSM_DL_FreeUniqueRecord (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecord);
CSSM_RETURN
CSSM_DL_PassThrough (CSSM_DL_DB_HANDLE DLDBHandle,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
# 32 "/System/Library/Frameworks/Security.framework/Headers/cssm.h" 2 3
# 28 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmaci.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmaci.h" 3
#define _CSSMACI_H_ 1
typedef struct cssm_spi_ac_funcs {
CSSM_RETURN ( *AuthCompute)
(CSSM_AC_HANDLE ACHandle,
const CSSM_TUPLEGROUP *BaseAuthorizations,
const CSSM_TUPLEGROUP *Credentials,
uint32 NumberOfRequestors,
const CSSM_LIST *Requestors,
const CSSM_LIST *RequestedAuthorizationPeriod,
const CSSM_LIST *RequestedAuthorization,
CSSM_TUPLEGROUP_PTR AuthorizationResult);
CSSM_RETURN ( *PassThrough)
(CSSM_AC_HANDLE ACHandle,
CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DL_DB_LIST *DBList,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
} CSSM_SPI_AC_FUNCS, *CSSM_SPI_AC_FUNCS_PTR;
# 29 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmcli.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmcli.h" 3
#define _CSSMCLI_H_ 1
typedef struct cssm_spi_cl_funcs {
CSSM_RETURN ( *CertCreateTemplate)
(CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CertFields,
CSSM_DATA_PTR CertTemplate);
CSSM_RETURN ( *CertGetAllTemplateFields)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *CertTemplate,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN ( *CertSign)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertTemplate,
const CSSM_FIELD *SignScope,
uint32 ScopeSize,
CSSM_DATA_PTR SignedCert);
CSSM_RETURN ( *CertVerify)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertToBeVerified,
const CSSM_DATA *SignerCert,
const CSSM_FIELD *VerifyScope,
uint32 ScopeSize);
CSSM_RETURN ( *CertVerifyWithKey)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertToBeVerified);
CSSM_RETURN ( *CertGetFirstFieldValue)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_OID *CertField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CertGetNextFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CertAbortQuery)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN ( *CertGetKeyInfo)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_KEY_PTR *Key);
CSSM_RETURN ( *CertGetAllFields)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN ( *FreeFields)
(CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
CSSM_FIELD_PTR *FieldArray);
CSSM_RETURN ( *FreeFieldValue)
(CSSM_CL_HANDLE CLHandle,
const CSSM_OID *CertOrCrlOid,
CSSM_DATA_PTR Value);
CSSM_RETURN ( *CertCache)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_HANDLE_PTR CertHandle);
CSSM_RETURN ( *CertGetFirstCachedFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CertHandle,
const CSSM_OID *CertField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CertGetNextCachedFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CertAbortCache)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CertHandle);
CSSM_RETURN ( *CertGroupToSignedBundle)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CERTGROUP *CertGroupToBundle,
const CSSM_CERT_BUNDLE_HEADER *BundleInfo,
CSSM_DATA_PTR SignedBundle);
CSSM_RETURN ( *CertGroupFromVerifiedBundle)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CERT_BUNDLE *CertBundle,
const CSSM_DATA *SignerCert,
CSSM_CERTGROUP_PTR *CertGroup);
CSSM_RETURN ( *CertDescribeFormat)
(CSSM_CL_HANDLE CLHandle,
uint32 *NumberOfFields,
CSSM_OID_PTR *OidList);
CSSM_RETURN ( *CrlCreateTemplate)
(CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlTemplate,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN ( *CrlSetFields)
(CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlTemplate,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR ModifiedCrl);
CSSM_RETURN ( *CrlAddCert)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Cert,
uint32 NumberOfFields,
const CSSM_FIELD *CrlEntryFields,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN ( *CrlRemoveCert)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN ( *CrlSign)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *UnsignedCrl,
const CSSM_FIELD *SignScope,
uint32 ScopeSize,
CSSM_DATA_PTR SignedCrl);
CSSM_RETURN ( *CrlVerify)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CrlToBeVerified,
const CSSM_DATA *SignerCert,
const CSSM_FIELD *VerifyScope,
uint32 ScopeSize);
CSSM_RETURN ( *CrlVerifyWithKey)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CrlToBeVerified);
CSSM_RETURN ( *IsCertInCrl)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_DATA *Crl,
CSSM_BOOL *CertFound);
CSSM_RETURN ( *CrlGetFirstFieldValue)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
const CSSM_OID *CrlField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CrlGetNextFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CrlAbortQuery)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN ( *CrlGetAllFields)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
uint32 *NumberOfCrlFields,
CSSM_FIELD_PTR *CrlFields);
CSSM_RETURN ( *CrlCache)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
CSSM_HANDLE_PTR CrlHandle);
CSSM_RETURN ( *IsCertInCachedCrl)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_HANDLE CrlHandle,
CSSM_BOOL *CertFound,
CSSM_DATA_PTR CrlRecordIndex);
CSSM_RETURN ( *CrlGetFirstCachedFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle,
const CSSM_DATA *CrlRecordIndex,
const CSSM_OID *CrlField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CrlGetNextCachedFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CrlGetAllCachedRecordFields)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle,
const CSSM_DATA *CrlRecordIndex,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CrlFields);
CSSM_RETURN ( *CrlAbortCache)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle);
CSSM_RETURN ( *CrlDescribeFormat)
(CSSM_CL_HANDLE CLHandle,
uint32 *NumberOfFields,
CSSM_OID_PTR *OidList);
CSSM_RETURN ( *PassThrough)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
} CSSM_SPI_CL_FUNCS, *CSSM_SPI_CL_FUNCS_PTR;
# 31 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmcspi.h" 1 3
# 28 "/System/Library/Frameworks/Security.framework/Headers/cssmcspi.h" 3
#define _CSSMCSPI_H_ 1
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmspi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmspi.h" 3
#define _CSSMSPI_H_ 1
typedef CSSM_RETURN ( *CSSM_SPI_ModuleEventHandler)
(const CSSM_GUID *ModuleGuid,
void *CssmNotifyCallbackCtx,
uint32 SubserviceId,
CSSM_SERVICE_TYPE ServiceType,
CSSM_MODULE_EVENT EventType);
typedef uint32 CSSM_CONTEXT_EVENT;
enum {
CSSM_CONTEXT_EVENT_CREATE = 1,
CSSM_CONTEXT_EVENT_DELETE = 2,
CSSM_CONTEXT_EVENT_UPDATE = 3
};
typedef struct cssm_module_funcs {
CSSM_SERVICE_TYPE ServiceType;
uint32 NumberOfServiceFuncs;
const CSSM_PROC_ADDR *ServiceFuncs;
} CSSM_MODULE_FUNCS, *CSSM_MODULE_FUNCS_PTR;
typedef void *( *CSSM_UPCALLS_MALLOC)
(CSSM_HANDLE AddInHandle,
uint32 size);
typedef void ( *CSSM_UPCALLS_FREE)
(CSSM_HANDLE AddInHandle,
void *memblock);
typedef void *( *CSSM_UPCALLS_REALLOC)
(CSSM_HANDLE AddInHandle,
void *memblock,
uint32 size);
typedef void *( *CSSM_UPCALLS_CALLOC)
(CSSM_HANDLE AddInHandle,
uint32 num,
uint32 size);
typedef struct cssm_upcalls {
CSSM_UPCALLS_MALLOC malloc_func;
CSSM_UPCALLS_FREE free_func;
CSSM_UPCALLS_REALLOC realloc_func;
CSSM_UPCALLS_CALLOC calloc_func;
CSSM_RETURN ( *CcToHandle_func)
(CSSM_CC_HANDLE Cc,
CSSM_MODULE_HANDLE_PTR ModuleHandle);
CSSM_RETURN ( *GetModuleInfo_func)
(CSSM_MODULE_HANDLE Module,
CSSM_GUID_PTR Guid,
CSSM_VERSION_PTR Version,
uint32 *SubServiceId,
CSSM_SERVICE_TYPE *SubServiceType,
CSSM_ATTACH_FLAGS *AttachFlags,
CSSM_KEY_HIERARCHY *KeyHierarchy,
CSSM_API_MEMORY_FUNCS_PTR AttachedMemFuncs,
CSSM_FUNC_NAME_ADDR_PTR FunctionTable,
uint32 NumFunctions);
} CSSM_UPCALLS, *CSSM_UPCALLS_PTR;
CSSM_RETURN
CSSM_SPI_ModuleLoad (const CSSM_GUID *CssmGuid,
const CSSM_GUID *ModuleGuid,
CSSM_SPI_ModuleEventHandler CssmNotifyCallback,
void *CssmNotifyCallbackCtx);
CSSM_RETURN
CSSM_SPI_ModuleUnload (const CSSM_GUID *CssmGuid,
const CSSM_GUID *ModuleGuid,
CSSM_SPI_ModuleEventHandler CssmNotifyCallback,
void *CssmNotifyCallbackCtx);
CSSM_RETURN
CSSM_SPI_ModuleAttach (const CSSM_GUID *ModuleGuid,
const CSSM_VERSION *Version,
uint32 SubserviceID,
CSSM_SERVICE_TYPE SubServiceType,
CSSM_ATTACH_FLAGS AttachFlags,
CSSM_MODULE_HANDLE ModuleHandle,
CSSM_KEY_HIERARCHY KeyHierarchy,
const CSSM_GUID *CssmGuid,
const CSSM_GUID *ModuleManagerGuid,
const CSSM_GUID *CallerGuid,
const CSSM_UPCALLS *Upcalls,
CSSM_MODULE_FUNCS_PTR *FuncTbl);
CSSM_RETURN
CSSM_SPI_ModuleDetach (CSSM_MODULE_HANDLE ModuleHandle);
# 31 "/System/Library/Frameworks/Security.framework/Headers/cssmcspi.h" 2 3
typedef struct cssm_spi_csp_funcs {
CSSM_RETURN ( *EventNotify)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CONTEXT_EVENT Event,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *QuerySize)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
CSSM_BOOL Encrypt,
uint32 QuerySizeCount,
CSSM_QUERY_SIZE_DATA_PTR DataBlock);
CSSM_RETURN ( *SignData)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_ALGORITHMS DigestAlgorithm,
CSSM_DATA_PTR Signature);
CSSM_RETURN ( *SignDataInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *SignDataUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN ( *SignDataFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Signature);
CSSM_RETURN ( *VerifyData)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_ALGORITHMS DigestAlgorithm,
const CSSM_DATA *Signature);
CSSM_RETURN ( *VerifyDataInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *VerifyDataUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN ( *VerifyDataFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Signature);
CSSM_RETURN ( *DigestData)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_DATA_PTR Digest);
CSSM_RETURN ( *DigestDataInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *DigestDataUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN ( *DigestDataClone)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_CC_HANDLE ClonedCCHandle);
CSSM_RETURN ( *DigestDataFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Digest);
CSSM_RETURN ( *GenerateMac)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_DATA_PTR Mac);
CSSM_RETURN ( *GenerateMacInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *GenerateMacUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN ( *GenerateMacFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Mac);
CSSM_RETURN ( *VerifyMac)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
const CSSM_DATA *Mac);
CSSM_RETURN ( *VerifyMacInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *VerifyMacUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN ( *VerifyMacFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Mac);
CSSM_RETURN ( *EncryptData)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *ClearBufs,
uint32 ClearBufCount,
CSSM_DATA_PTR CipherBufs,
uint32 CipherBufCount,
CSSM_SIZE *bytesEncrypted,
CSSM_DATA_PTR RemData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *EncryptDataInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *EncryptDataUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *ClearBufs,
uint32 ClearBufCount,
CSSM_DATA_PTR CipherBufs,
uint32 CipherBufCount,
CSSM_SIZE *bytesEncrypted);
CSSM_RETURN ( *EncryptDataFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR RemData);
CSSM_RETURN ( *DecryptData)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *CipherBufs,
uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs,
uint32 ClearBufCount,
CSSM_SIZE *bytesDecrypted,
CSSM_DATA_PTR RemData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *DecryptDataInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *DecryptDataUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CipherBufs,
uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs,
uint32 ClearBufCount,
CSSM_SIZE *bytesDecrypted);
CSSM_RETURN ( *DecryptDataFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR RemData);
CSSM_RETURN ( *QueryKeySizeInBits)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_KEY *Key,
CSSM_KEY_SIZE_PTR KeySize);
CSSM_RETURN ( *GenerateKey)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR Key,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *GenerateKeyPair)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
uint32 PublicKeyUsage,
uint32 PublicKeyAttr,
const CSSM_DATA *PublicKeyLabel,
CSSM_KEY_PTR PublicKey,
uint32 PrivateKeyUsage,
uint32 PrivateKeyAttr,
const CSSM_DATA *PrivateKeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR PrivateKey,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *GenerateRandom)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
CSSM_DATA_PTR RandomNumber);
CSSM_RETURN ( *GenerateAlgorithmParams)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
uint32 ParamBits,
CSSM_DATA_PTR Param,
uint32 *NumberOfUpdatedAttibutes,
CSSM_CONTEXT_ATTRIBUTE_PTR *UpdatedAttributes);
CSSM_RETURN ( *WrapKey)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_DATA *DescriptiveData,
CSSM_WRAP_KEY_PTR WrappedKey,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *UnwrapKey)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_KEY *PublicKey,
const CSSM_WRAP_KEY *WrappedKey,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR UnwrappedKey,
CSSM_DATA_PTR DescriptiveData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *DeriveKey)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
CSSM_DATA_PTR Param,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR DerivedKey);
CSSM_RETURN ( *FreeKey)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
CSSM_KEY_PTR KeyPtr,
CSSM_BOOL Delete);
CSSM_RETURN ( *PassThrough)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
uint32 PassThroughId,
const void *InData,
void **OutData);
CSSM_RETURN ( *Login)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_DATA *LoginName,
const void *Reserved);
CSSM_RETURN ( *Logout)
(CSSM_CSP_HANDLE CSPHandle);
CSSM_RETURN ( *ChangeLoginAcl)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit);
CSSM_RETURN ( *ObtainPrivateKeyFromPublicKey)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *PublicKey,
CSSM_KEY_PTR PrivateKey);
CSSM_RETURN ( *RetrieveUniqueId)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_DATA_PTR UniqueID);
CSSM_RETURN ( *RetrieveCounter)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_DATA_PTR Counter);
CSSM_RETURN ( *VerifyDevice)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *DeviceCert);
CSSM_RETURN ( *GetTimeValue)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS TimeAlgorithm,
CSSM_DATA *TimeData);
CSSM_RETURN ( *GetOperationalStatistics)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CSP_OPERATIONAL_STATISTICS *Statistics);
CSSM_RETURN ( *GetLoginAcl)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN ( *GetKeyAcl)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *Key,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN ( *ChangeKeyAcl)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit,
const CSSM_KEY *Key);
CSSM_RETURN ( *GetKeyOwner)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *Key,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN ( *ChangeKeyOwner)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
CSSM_RETURN ( *GetLoginOwner)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN ( *ChangeLoginOwner)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
} CSSM_SPI_CSP_FUNCS, *CSSM_SPI_CSP_FUNCS_PTR;
# 32 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmdli.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmdli.h" 3
#define _CSSMDLI_H_ 1
typedef struct cssm_spi_dl_funcs {
CSSM_RETURN ( *DbOpen)
(CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const void *OpenParameters,
CSSM_DB_HANDLE *DbHandle);
CSSM_RETURN ( *DbClose)
(CSSM_DL_DB_HANDLE DLDBHandle);
CSSM_RETURN ( *DbCreate)
(CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
const CSSM_DBINFO *DBInfo,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
const void *OpenParameters,
CSSM_DB_HANDLE *DbHandle);
CSSM_RETURN ( *DbDelete)
(CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
const CSSM_ACCESS_CREDENTIALS *AccessCred);
CSSM_RETURN ( *CreateRelation)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RelationID,
const char *RelationName,
uint32 NumberOfAttributes,
const CSSM_DB_SCHEMA_ATTRIBUTE_INFO *pAttributeInfo,
uint32 NumberOfIndexes,
const CSSM_DB_SCHEMA_INDEX_INFO *pIndexInfo);
CSSM_RETURN ( *DestroyRelation)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RelationID);
CSSM_RETURN ( *Authenticate)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_ACCESS_CREDENTIALS *AccessCred);
CSSM_RETURN ( *GetDbAcl)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN ( *ChangeDbAcl)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit);
CSSM_RETURN ( *GetDbOwner)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN ( *ChangeDbOwner)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
CSSM_RETURN ( *GetDbNames)
(CSSM_DL_HANDLE DLHandle,
CSSM_NAME_LIST_PTR *NameList);
CSSM_RETURN ( *GetDbNameFromHandle)
(CSSM_DL_DB_HANDLE DLDBHandle,
char **DbName);
CSSM_RETURN ( *FreeNameList)
(CSSM_DL_HANDLE DLHandle,
CSSM_NAME_LIST_PTR NameList);
CSSM_RETURN ( *DataInsert)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RecordType,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *Attributes,
const CSSM_DATA *Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataDelete)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecordIdentifier);
CSSM_RETURN ( *DataModify)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RecordType,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecordIdentifier,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *AttributesToBeModified,
const CSSM_DATA *DataToBeModified,
CSSM_DB_MODIFY_MODE ModifyMode);
CSSM_RETURN ( *DataGetFirst)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_QUERY *Query,
CSSM_HANDLE_PTR ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataGetNext)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataAbortQuery)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN ( *DataGetFromUniqueRecordId)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecord,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data);
CSSM_RETURN ( *FreeUniqueRecord)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecord);
CSSM_RETURN ( *PassThrough)
(CSSM_DL_DB_HANDLE DLDBHandle,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
} CSSM_SPI_DL_FUNCS, *CSSM_SPI_DL_FUNCS_PTR;
# 33 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmkrapi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmkrapi.h" 3
#define _CSSMKRAPI_H_ 1
typedef uint32 CSSM_KRSP_HANDLE;
typedef struct cssm_kr_name {
uint8 Type;
uint8 Length;
char *Name;
} CSSM_KR_NAME;
typedef struct cssm_kr_profile {
CSSM_KR_NAME UserName;
CSSM_CERTGROUP_PTR UserCertificate;
CSSM_CERTGROUP_PTR KRSCertChain;
uint8 LE_KRANum;
CSSM_CERTGROUP_PTR LE_KRACertChainList;
uint8 ENT_KRANum;
CSSM_CERTGROUP_PTR ENT_KRACertChainList;
uint8 INDIV_KRANum;
CSSM_CERTGROUP_PTR INDIV_KRACertChainList;
CSSM_DATA_PTR INDIV_AuthenticationInfo;
uint32 KRSPFlags;
CSSM_DATA_PTR KRSPExtensions;
} CSSM_KR_PROFILE, *CSSM_KR_PROFILE_PTR;
typedef struct cssm_kr_wrappedproductinfo {
CSSM_VERSION StandardVersion;
CSSM_STRING StandardDescription;
CSSM_VERSION ProductVersion;
CSSM_STRING ProductDescription;
CSSM_STRING ProductVendor;
uint32 ProductFlags;
} CSSM_KR_WRAPPEDPRODUCT_INFO, *CSSM_KR_WRAPPEDPRODUCT_INFO_PTR;
typedef struct cssm_krsubservice {
uint32 SubServiceId;
char *Description;
CSSM_KR_WRAPPEDPRODUCT_INFO WrappedProduct;
} CSSM_KRSUBSERVICE, *CSSM_KRSUBSERVICE_PTR;
typedef uint32 CSSM_KR_POLICY_TYPE;
#define CSSM_KR_INDIV_POLICY (0x00000001)
#define CSSM_KR_ENT_POLICY (0x00000002)
#define CSSM_KR_LE_MAN_POLICY (0x00000003)
#define CSSM_KR_LE_USE_POLICY (0x00000004)
typedef uint32 CSSM_KR_POLICY_FLAGS;
#define CSSM_KR_INDIV (0x00000001)
#define CSSM_KR_ENT (0x00000002)
#define CSSM_KR_LE_MAN (0x00000004)
#define CSSM_KR_LE_USE (0x00000008)
#define CSSM_KR_LE (CSSM_KR_LE_MAN | CSSM_KR_LE_USE)
#define CSSM_KR_OPTIMIZE (0x00000010)
#define CSSM_KR_DROP_WORKFACTOR (0x00000020)
typedef struct cssm_kr_policy_list_item {
struct kr_policy_list_item *next;
CSSM_ALGORITHMS AlgorithmId;
CSSM_ENCRYPT_MODE Mode;
uint32 MaxKeyLength;
uint32 MaxRounds;
uint8 WorkFactor;
CSSM_KR_POLICY_FLAGS PolicyFlags;
CSSM_CONTEXT_TYPE AlgClass;
} CSSM_KR_POLICY_LIST_ITEM, *CSSM_KR_POLICY_LIST_ITEM_PTR;
typedef struct cssm_kr_policy_info {
CSSM_BOOL krbNotAllowed;
uint32 numberOfEntries;
CSSM_KR_POLICY_LIST_ITEM *policyEntry;
} CSSM_KR_POLICY_INFO, *CSSM_KR_POLICY_INFO_PTR;
CSSM_RETURN
CSSM_KR_SetEnterpriseRecoveryPolicy (const CSSM_DATA *RecoveryPolicyFileName,
const CSSM_ACCESS_CREDENTIALS *OldPassPhrase,
const CSSM_ACCESS_CREDENTIALS *NewPassPhrase);
CSSM_RETURN
CSSM_KR_CreateRecoveryRegistrationContext (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE *NewContext);
CSSM_RETURN
CSSM_KR_CreateRecoveryEnablementContext (CSSM_KRSP_HANDLE KRSPHandle,
const CSSM_KR_PROFILE *LocalProfile,
const CSSM_KR_PROFILE *RemoteProfile,
CSSM_CC_HANDLE *NewContext);
CSSM_RETURN
CSSM_KR_CreateRecoveryRequestContext (CSSM_KRSP_HANDLE KRSPHandle,
const CSSM_KR_PROFILE *LocalProfile,
CSSM_CC_HANDLE *NewContext);
CSSM_RETURN
CSSM_KR_GetPolicyInfo (CSSM_CC_HANDLE CCHandle,
CSSM_KR_POLICY_FLAGS *EncryptionProhibited,
uint32 *WorkFactor);
CSSM_RETURN
CSSM_KR_RegistrationRequest (CSSM_CC_HANDLE RecoveryRegistrationContext,
const CSSM_DATA *KRInData,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
CSSM_KR_POLICY_FLAGS KRFlags,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR ReferenceHandle);
CSSM_RETURN
CSSM_KR_RegistrationRetrieve (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE ReferenceHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
sint32 *EstimatedTime,
CSSM_KR_PROFILE_PTR KRProfile);
CSSM_RETURN
CSSM_KR_GenerateRecoveryFields (CSSM_CC_HANDLE KeyRecoveryContext,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *KRSPOptions,
CSSM_KR_POLICY_FLAGS KRFlags,
CSSM_DATA_PTR KRFields,
CSSM_CC_HANDLE *NewCCHandle);
CSSM_RETURN
CSSM_KR_ProcessRecoveryFields (CSSM_CC_HANDLE KeyRecoveryContext,
CSSM_CC_HANDLE CryptoContext,
const CSSM_DATA *KRSPOptions,
CSSM_KR_POLICY_FLAGS KRFlags,
const CSSM_DATA *KRFields,
CSSM_CC_HANDLE *NewCryptoContext);
CSSM_RETURN
CSSM_KR_RecoveryRequest (CSSM_CC_HANDLE RecoveryRequestContext,
const CSSM_DATA *KRInData,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR ReferenceHandle);
CSSM_RETURN
CSSM_KR_RecoveryRetrieve (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE ReferenceHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR CacheHandle,
uint32 *NumberOfRecoveredKeys);
CSSM_RETURN
CSSM_KR_GetRecoveredObject (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE CacheHandle,
uint32 IndexInResults,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
uint32 Flags,
CSSM_KEY_PTR RecoveredKey,
CSSM_DATA_PTR OtherInfo);
CSSM_RETURN
CSSM_KR_RecoveryRequestAbort (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE CacheHandle);
CSSM_RETURN
CSSM_KR_QueryPolicyInfo (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_ALGORITHMS AlgorithmID,
CSSM_ENCRYPT_MODE Mode,
CSSM_CONTEXT_TYPE Class,
CSSM_KR_POLICY_INFO_PTR *PolicyInfoData);
CSSM_RETURN
CSSM_KR_PassThrough (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KeyRecoveryContext,
CSSM_CC_HANDLE CryptoContext,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
# 35 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmkrspi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmkrspi.h" 3
#define _CSSMKRSPI_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/cssmkrspi.h" 3
typedef struct cssm_spi_kr_funcs {
CSSM_RETURN ( *RegistrationRequest)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KRRegistrationContextHandle,
const CSSM_CONTEXT *KRRegistrationContext,
const CSSM_DATA *KRInData,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
CSSM_KR_POLICY_FLAGS KRFlags,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR ReferenceHandle);
CSSM_RETURN ( *RegistrationRetrieve)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE ReferenceHandle,
sint32 *EstimatedTime,
CSSM_KR_PROFILE_PTR KRProfile);
CSSM_RETURN ( *GenerateRecoveryFields)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KREnablementContextHandle,
const CSSM_CONTEXT *KREnablementContext,
CSSM_CC_HANDLE CryptoContextHandle,
const CSSM_CONTEXT *CryptoContext,
const CSSM_DATA *KRSPOptions,
CSSM_KR_POLICY_FLAGS KRFlags,
CSSM_DATA_PTR KRFields);
CSSM_RETURN ( *ProcessRecoveryFields)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KREnablementContextHandle,
const CSSM_CONTEXT *KREnablementContext,
CSSM_CC_HANDLE CryptoContextHandle,
const CSSM_CONTEXT *CryptoContext,
const CSSM_DATA *KRSPOptions,
CSSM_KR_POLICY_FLAGS KRFlags,
const CSSM_DATA *KRFields);
CSSM_RETURN ( *RecoveryRequest)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KRRequestContextHandle,
const CSSM_CONTEXT *KRRequestContext,
const CSSM_DATA *KRInData,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR ReferenceHandle);
CSSM_RETURN ( *RecoveryRetrieve)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE ReferenceHandle,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR CacheHandle,
uint32 *NumberOfRecoveredKeys);
CSSM_RETURN ( *GetRecoveredObject)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE CacheHandle,
uint32 IndexInResults,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
uint32 Flags,
CSSM_KEY_PTR RecoveredKey,
CSSM_DATA_PTR OtherInfo);
CSSM_RETURN ( *RecoveryRequestAbort)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN ( *PassThrough)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KeyRecoveryContextHandle,
const CSSM_CONTEXT *KeyRecoveryContext,
CSSM_CC_HANDLE CryptoContextHandle,
const CSSM_CONTEXT *CryptoContext,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
} CSSM_SPI_KR_FUNCS, *CSSM_SPI_KR_FUNCS_PTR;
# 36 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmtpi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmtpi.h" 3
#define _CSSMTPI_H_ 1
typedef struct cssm_spi_tp_funcs {
CSSM_RETURN ( *SubmitCredRequest)
(CSSM_TP_HANDLE TPHandle,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority,
CSSM_TP_AUTHORITY_REQUEST_TYPE RequestType,
const CSSM_TP_REQUEST_SET *RequestInput,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthContext,
sint32 *EstimatedTime,
CSSM_DATA_PTR ReferenceIdentifier);
CSSM_RETURN ( *RetrieveCredResult)
(CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthCredentials,
sint32 *EstimatedTime,
CSSM_BOOL *ConfirmationRequired,
CSSM_TP_RESULT_SET_PTR *RetrieveOutput);
CSSM_RETURN ( *ConfirmCredResult)
(CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthCredentials,
const CSSM_TP_CONFIRM_RESPONSE *Responses,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority);
CSSM_RETURN ( *ReceiveConfirmation)
(CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
CSSM_TP_CONFIRM_RESPONSE_PTR *Responses,
sint32 *ElapsedTime);
CSSM_RETURN ( *CertReclaimKey)
(CSSM_TP_HANDLE TPHandle,
const CSSM_CERTGROUP *CertGroup,
uint32 CertIndex,
CSSM_LONG_HANDLE KeyCacheHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry);
CSSM_RETURN ( *CertReclaimAbort)
(CSSM_TP_HANDLE TPHandle,
CSSM_LONG_HANDLE KeyCacheHandle);
CSSM_RETURN ( *FormRequest)
(CSSM_TP_HANDLE TPHandle,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority,
CSSM_TP_FORM_TYPE FormType,
CSSM_DATA_PTR BlankForm);
CSSM_RETURN ( *FormSubmit)
(CSSM_TP_HANDLE TPHandle,
CSSM_TP_FORM_TYPE FormType,
const CSSM_DATA *Form,
const CSSM_TP_AUTHORITY_ID *ClearanceAuthority,
const CSSM_TP_AUTHORITY_ID *RepresentedAuthority,
CSSM_ACCESS_CREDENTIALS_PTR Credentials);
CSSM_RETURN ( *CertGroupVerify)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_CERTGROUP *CertGroupToBeVerified,
const CSSM_TP_VERIFY_CONTEXT *VerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR VerifyContextResult);
CSSM_RETURN ( *CertCreateTemplate)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CertFields,
CSSM_DATA_PTR CertTemplate);
CSSM_RETURN ( *CertGetAllTemplateFields)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *CertTemplate,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN ( *CertSign)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertTemplateToBeSigned,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *SignerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR SignerVerifyResult,
CSSM_DATA_PTR SignedCert);
CSSM_RETURN ( *CrlVerify)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_ENCODED_CRL *CrlToBeVerified,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *VerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult);
CSSM_RETURN ( *CrlCreateTemplate)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlFields,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN ( *CertRevoke)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *OldCrlTemplate,
const CSSM_CERTGROUP *CertGroupToBeRevoked,
const CSSM_CERTGROUP *RevokerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *RevokerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult,
CSSM_TP_CERTCHANGE_REASON Reason,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN ( *CertRemoveFromCrlTemplate)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *OldCrlTemplate,
const CSSM_CERTGROUP *CertGroupToBeRemoved,
const CSSM_CERTGROUP *RevokerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *RevokerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN ( *CrlSign)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_ENCODED_CRL *CrlToBeSigned,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *SignerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR SignerVerifyResult,
CSSM_DATA_PTR SignedCrl);
CSSM_RETURN ( *ApplyCrlToDb)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_ENCODED_CRL *CrlToBeApplied,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *ApplyCrlVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR ApplyCrlVerifyResult);
CSSM_RETURN ( *CertGroupConstruct)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DL_DB_LIST *DBList,
const void *ConstructParams,
const CSSM_CERTGROUP *CertGroupFrag,
CSSM_CERTGROUP_PTR *CertGroup);
CSSM_RETURN ( *CertGroupPrune)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_DL_DB_LIST *DBList,
const CSSM_CERTGROUP *OrderedCertGroup,
CSSM_CERTGROUP_PTR *PrunedCertGroup);
CSSM_RETURN ( *CertGroupToTupleGroup)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_CERTGROUP *CertGroup,
CSSM_TUPLEGROUP_PTR *TupleGroup);
CSSM_RETURN ( *TupleGroupToCertGroup)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_TUPLEGROUP *TupleGroup,
CSSM_CERTGROUP_PTR *CertTemplates);
CSSM_RETURN ( *PassThrough)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DL_DB_LIST *DBList,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
} CSSM_SPI_TP_FUNCS, *CSSM_SPI_TP_FUNCS_PTR;
# 38 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/emmspi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/emmspi.h" 3
#define _EMMSPI_H_ 1
typedef struct cssm_state_funcs {
CSSM_RETURN ( *cssm_GetAttachFunctions)
(CSSM_MODULE_HANDLE hAddIn,
CSSM_SERVICE_MASK AddinType,
void **SPFunctions,
CSSM_GUID_PTR Guid,
CSSM_BOOL *Serialized);
CSSM_RETURN ( *cssm_ReleaseAttachFunctions)
(CSSM_MODULE_HANDLE hAddIn);
CSSM_RETURN ( *cssm_GetAppMemoryFunctions)
(CSSM_MODULE_HANDLE hAddIn,
CSSM_UPCALLS_PTR UpcallTable);
CSSM_RETURN ( *cssm_IsFuncCallValid)
(CSSM_MODULE_HANDLE hAddin,
CSSM_PROC_ADDR SrcAddress,
CSSM_PROC_ADDR DestAddress,
CSSM_PRIVILEGE InPriv,
CSSM_PRIVILEGE *OutPriv,
CSSM_BITMASK Hints,
CSSM_BOOL *IsOK);
CSSM_RETURN ( *cssm_DeregisterManagerServices)
(const CSSM_GUID *GUID);
CSSM_RETURN ( *cssm_DeliverModuleManagerEvent)
(const CSSM_MANAGER_EVENT_NOTIFICATION *EventDescription);
} CSSM_STATE_FUNCS, *CSSM_STATE_FUNCS_PTR;
typedef struct cssm_manager_registration_info {
CSSM_RETURN ( *Initialize)
(uint32 VerMajor,
uint32 VerMinor);
CSSM_RETURN ( *Terminate) (void);
CSSM_RETURN ( *RegisterDispatchTable)
(CSSM_STATE_FUNCS_PTR CssmStateCallTable);
CSSM_RETURN ( *DeregisterDispatchTable) (void);
CSSM_RETURN ( *EventNotifyManager)
(const CSSM_MANAGER_EVENT_NOTIFICATION *EventDescription);
CSSM_RETURN ( *RefreshFunctionTable)
(CSSM_FUNC_NAME_ADDR_PTR FuncNameAddrPtr,
uint32 NumOfFuncNameAddr);
} CSSM_MANAGER_REGISTRATION_INFO, *CSSM_MANAGER_REGISTRATION_INFO_PTR;
enum {
CSSM_HINT_NONE = 0,
CSSM_HINT_ADDRESS_APP = 1 << 0,
CSSM_HINT_ADDRESS_SP = 1 << 1
};
CSSM_RETURN
ModuleManagerAuthenticate (CSSM_KEY_HIERARCHY KeyHierarchy,
const CSSM_GUID *CssmGuid,
const CSSM_GUID *AppGuid,
CSSM_MANAGER_REGISTRATION_INFO_PTR FunctionTable);
# 40 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/mds.h" 1 3
# 28 "/System/Library/Frameworks/Security.framework/Headers/mds.h" 3
#define _MDS_H_ 1
typedef CSSM_DL_HANDLE MDS_HANDLE;
typedef CSSM_DL_DB_HANDLE MDS_DB_HANDLE;
typedef struct mds_funcs {
CSSM_RETURN ( *DbOpen)
(MDS_HANDLE MdsHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const void *OpenParameters,
CSSM_DB_HANDLE *hMds);
CSSM_RETURN ( *DbClose)
(MDS_DB_HANDLE MdsDbHandle);
CSSM_RETURN ( *GetDbNames)
(MDS_HANDLE MdsHandle,
CSSM_NAME_LIST_PTR *NameList);
CSSM_RETURN ( *GetDbNameFromHandle)
(MDS_DB_HANDLE MdsDbHandle,
char **DbName);
CSSM_RETURN ( *FreeNameList)
(MDS_HANDLE MdsHandle,
CSSM_NAME_LIST_PTR NameList);
CSSM_RETURN ( *DataInsert)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_DB_RECORDTYPE RecordType,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *Attributes,
const CSSM_DATA *Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataDelete)
(MDS_DB_HANDLE MdsDbHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecordIdentifier);
CSSM_RETURN ( *DataModify)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_DB_RECORDTYPE RecordType,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecordIdentifier,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *AttributesToBeModified,
const CSSM_DATA *DataToBeModified,
CSSM_DB_MODIFY_MODE ModifyMode);
CSSM_RETURN ( *DataGetFirst)
(MDS_DB_HANDLE MdsDbHandle,
const CSSM_QUERY *Query,
CSSM_HANDLE_PTR ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataGetNext)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataAbortQuery)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN ( *DataGetFromUniqueRecordId)
(MDS_DB_HANDLE MdsDbHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecord,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data);
CSSM_RETURN ( *FreeUniqueRecord)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecord);
CSSM_RETURN ( *CreateRelation)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_DB_RECORDTYPE RelationID,
const char *RelationName,
uint32 NumberOfAttributes,
const CSSM_DB_SCHEMA_ATTRIBUTE_INFO *pAttributeInfo,
uint32 NumberOfIndexes,
const CSSM_DB_SCHEMA_INDEX_INFO *pIndexInfo);
CSSM_RETURN ( *DestroyRelation)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_DB_RECORDTYPE RelationID);
} MDS_FUNCS, *MDS_FUNCS_PTR;
CSSM_RETURN
MDS_Initialize (const CSSM_GUID *pCallerGuid,
const CSSM_MEMORY_FUNCS *pMemoryFunctions,
MDS_FUNCS_PTR pDlFunctions,
MDS_HANDLE *hMds);
CSSM_RETURN
MDS_Terminate (MDS_HANDLE MdsHandle);
CSSM_RETURN
MDS_Install (MDS_HANDLE MdsHandle);
CSSM_RETURN
MDS_Uninstall (MDS_HANDLE MdsHandle);
# 42 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/mds_schema.h" 1 3
# 28 "/System/Library/Frameworks/Security.framework/Headers/mds_schema.h" 3
#define _MDS_SCHEMA_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/mds_schema.h" 3
#define MDS_OBJECT_DIRECTORY_NAME "MDS Object Directory"
#define MDS_CDSA_DIRECTORY_NAME "MDS CDSA Directory"
#define CSSM_DB_RELATIONID_MDS_START (0x40000000)
#define CSSM_DB_RELATIONID_MDS_END (0x40004000)
#define MDS_OBJECT_RECORDTYPE (CSSM_DB_RELATIONID_MDS_START)
#define MDS_CDSA_SCHEMA_START (MDS_OBJECT_RECORDTYPE)
#define MDS_CDSADIR_CSSM_RECORDTYPE (MDS_CDSA_SCHEMA_START + 1)
#define MDS_CDSADIR_KRMM_RECORDTYPE (MDS_CDSA_SCHEMA_START + 2)
#define MDS_CDSADIR_EMM_RECORDTYPE (MDS_CDSA_SCHEMA_START + 3)
#define MDS_CDSADIR_COMMON_RECORDTYPE (MDS_CDSA_SCHEMA_START + 4)
#define MDS_CDSADIR_CSP_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 5)
#define MDS_CDSADIR_CSP_CAPABILITY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 6)
#define MDS_CDSADIR_CSP_ENCAPSULATED_PRODUCT_RECORDTYPE (MDS_CDSA_SCHEMA_START + 7)
#define MDS_CDSADIR_CSP_SC_INFO_RECORDTYPE (MDS_CDSA_SCHEMA_START + 8)
#define MDS_CDSADIR_DL_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 9)
#define MDS_CDSADIR_DL_ENCAPSULATED_PRODUCT_RECORDTYPE (MDS_CDSA_SCHEMA_START + 10)
#define MDS_CDSADIR_CL_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 11)
#define MDS_CDSADIR_CL_ENCAPSULATED_PRODUCT_RECORDTYPE (MDS_CDSA_SCHEMA_START + 12)
#define MDS_CDSADIR_TP_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 13)
#define MDS_CDSADIR_TP_OIDS_RECORDTYPE (MDS_CDSA_SCHEMA_START + 14)
#define MDS_CDSADIR_TP_ENCAPSULATED_PRODUCT_RECORDTYPE (MDS_CDSA_SCHEMA_START + 15)
#define MDS_CDSADIR_EMM_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 16)
#define MDS_CDSADIR_AC_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 17)
#define MDS_CDSADIR_KR_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 18)
#define MDS_CDSADIR_MDS_SCHEMA_RELATIONS (MDS_CDSA_SCHEMA_START + 19)
#define MDS_CDSADIR_MDS_SCHEMA_ATTRIBUTES (MDS_CDSA_SCHEMA_START + 20)
#define MDS_CDSADIR_MDS_SCHEMA_INDEXES (MDS_CDSA_SCHEMA_START + 21)
#define CSSM_DB_ATTRIBUTE_MDS_START (0x40000000)
#define CSSM_DB_ATTRIBUTE_MDS_END (0x40004000)
#define MDS_CDSAATTR_MODULE_ID (CSSM_DB_ATTRIBUTE_MDS_START + 1)
#define MDS_CDSAATTR_MANIFEST (CSSM_DB_ATTRIBUTE_MDS_START + 2)
#define MDS_CDSAATTR_MODULE_NAME (CSSM_DB_ATTRIBUTE_MDS_START + 3)
#define MDS_CDSAATTR_PATH (CSSM_DB_ATTRIBUTE_MDS_START + 4)
#define MDS_CDSAATTR_CDSAVERSION (CSSM_DB_ATTRIBUTE_MDS_START + 5)
#define MDS_CDSAATTR_VENDOR (CSSM_DB_ATTRIBUTE_MDS_START + 6)
#define MDS_CDSAATTR_DESC (CSSM_DB_ATTRIBUTE_MDS_START + 8)
#define MDS_CDSAATTR_INTERFACE_GUID (CSSM_DB_ATTRIBUTE_MDS_START + 9)
#define MDS_CDSAATTR_POLICY_STMT (CSSM_DB_ATTRIBUTE_MDS_START + 10)
#define MDS_CDSAATTR_EMMSPECVERSION (CSSM_DB_ATTRIBUTE_MDS_START + 11)
#define MDS_CDSAATTR_EMM_VERSION (CSSM_DB_ATTRIBUTE_MDS_START + 12)
#define MDS_CDSAATTR_EMM_VENDOR (CSSM_DB_ATTRIBUTE_MDS_START + 13)
#define MDS_CDSAATTR_EMM_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 14)
#define MDS_CDSAATTR_SSID (CSSM_DB_ATTRIBUTE_MDS_START + 15)
#define MDS_CDSAATTR_SERVICE_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 16)
#define MDS_CDSAATTR_NATIVE_SERVICES (CSSM_DB_ATTRIBUTE_MDS_START + 17)
#define MDS_CDSAATTR_DYNAMIC_FLAG (CSSM_DB_ATTRIBUTE_MDS_START + 18)
#define MDS_CDSAATTR_MULTITHREAD_FLAG (CSSM_DB_ATTRIBUTE_MDS_START + 19)
#define MDS_CDSAATTR_SERVICE_MASK (CSSM_DB_ATTRIBUTE_MDS_START + 20)
#define MDS_CDSAATTR_CSP_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 21)
#define MDS_CDSAATTR_CSP_FLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 22)
#define MDS_CDSAATTR_CSP_CUSTOMFLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 23)
#define MDS_CDSAATTR_USEE_TAGS (CSSM_DB_ATTRIBUTE_MDS_START + 24)
#define MDS_CDSAATTR_CONTEXT_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 25)
#define MDS_CDSAATTR_ALG_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 26)
#define MDS_CDSAATTR_GROUP_ID (CSSM_DB_ATTRIBUTE_MDS_START + 27)
#define MDS_CDSAATTR_ATTRIBUTE_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 28)
#define MDS_CDSAATTR_ATTRIBUTE_VALUE (CSSM_DB_ATTRIBUTE_MDS_START + 29)
#define MDS_CDSAATTR_PRODUCT_DESC (CSSM_DB_ATTRIBUTE_MDS_START + 30)
#define MDS_CDSAATTR_PRODUCT_VENDOR (CSSM_DB_ATTRIBUTE_MDS_START + 31)
#define MDS_CDSAATTR_PRODUCT_VERSION (CSSM_DB_ATTRIBUTE_MDS_START + 32)
#define MDS_CDSAATTR_PRODUCT_FLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 33)
#define MDS_CDSAATTR_PRODUCT_CUSTOMFLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 34)
#define MDS_CDSAATTR_STANDARD_DESC (CSSM_DB_ATTRIBUTE_MDS_START + 35)
#define MDS_CDSAATTR_STANDARD_VERSION (CSSM_DB_ATTRIBUTE_MDS_START + 36)
#define MDS_CDSAATTR_READER_DESC (CSSM_DB_ATTRIBUTE_MDS_START + 37)
#define MDS_CDSAATTR_READER_VENDOR (CSSM_DB_ATTRIBUTE_MDS_START + 38)
#define MDS_CDSAATTR_READER_VERSION (CSSM_DB_ATTRIBUTE_MDS_START + 39)
#define MDS_CDSAATTR_READER_FWVERSION (CSSM_DB_ATTRIBUTE_MDS_START + 40)
#define MDS_CDSAATTR_READER_FLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 41)
#define MDS_CDSAATTR_READER_CUSTOMFLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 42)
#define MDS_CDSAATTR_READER_SERIALNUMBER (CSSM_DB_ATTRIBUTE_MDS_START + 43)
#define MDS_CDSAATTR_SC_DESC (CSSM_DB_ATTRIBUTE_MDS_START + 44)
#define MDS_CDSAATTR_SC_VENDOR (CSSM_DB_ATTRIBUTE_MDS_START + 45)
#define MDS_CDSAATTR_SC_VERSION (CSSM_DB_ATTRIBUTE_MDS_START + 46)
#define MDS_CDSAATTR_SC_FWVERSION (CSSM_DB_ATTRIBUTE_MDS_START + 47)
#define MDS_CDSAATTR_SC_FLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 48)
#define MDS_CDSAATTR_SC_CUSTOMFLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 49)
#define MDS_CDSAATTR_SC_SERIALNUMBER (CSSM_DB_ATTRIBUTE_MDS_START + 50)
#define MDS_CDSAATTR_DL_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 51)
#define MDS_CDSAATTR_QUERY_LIMITS (CSSM_DB_ATTRIBUTE_MDS_START + 52)
#define MDS_CDSAATTR_CONJUNCTIVE_OPS (CSSM_DB_ATTRIBUTE_MDS_START + 53)
#define MDS_CDSAATTR_RELATIONAL_OPS (CSSM_DB_ATTRIBUTE_MDS_START + 54)
#define MDS_CDSAATTR_PROTOCOL (CSSM_DB_ATTRIBUTE_MDS_START + 55)
#define MDS_CDSAATTR_CERT_TYPEFORMAT (CSSM_DB_ATTRIBUTE_MDS_START + 56)
#define MDS_CDSAATTR_CRL_TYPEFORMAT (CSSM_DB_ATTRIBUTE_MDS_START + 57)
#define MDS_CDSAATTR_CERT_FIELDNAMES (CSSM_DB_ATTRIBUTE_MDS_START + 58)
#define MDS_CDSAATTR_BUNDLE_TYPEFORMAT (CSSM_DB_ATTRIBUTE_MDS_START + 59)
#define MDS_CDSAATTR_CERT_CLASSNAME (CSSM_DB_ATTRIBUTE_MDS_START + 60)
#define MDS_CDSAATTR_ROOTCERT (CSSM_DB_ATTRIBUTE_MDS_START + 61)
#define MDS_CDSAATTR_ROOTCERT_TYPEFORMAT (CSSM_DB_ATTRIBUTE_MDS_START + 62)
#define MDS_CDSAATTR_VALUE (CSSM_DB_ATTRIBUTE_MDS_START + 63)
#define MDS_CDSAATTR_REQCREDENTIALS (CSSM_DB_ATTRIBUTE_MDS_START + 64)
#define MDS_CDSAATTR_SAMPLETYPES (CSSM_DB_ATTRIBUTE_MDS_START + 65)
#define MDS_CDSAATTR_ACLSUBJECTTYPES (CSSM_DB_ATTRIBUTE_MDS_START + 66)
#define MDS_CDSAATTR_AUTHTAGS (CSSM_DB_ATTRIBUTE_MDS_START + 67)
#define MDS_CDSAATTR_USEETAG (CSSM_DB_ATTRIBUTE_MDS_START + 68)
#define MDS_CDSAATTR_RETRIEVALMODE (CSSM_DB_ATTRIBUTE_MDS_START + 69)
#define MDS_CDSAATTR_OID (CSSM_DB_ATTRIBUTE_MDS_START + 70)
#define MDS_CDSAATTR_XLATIONTYPEFORMAT (CSSM_DB_ATTRIBUTE_MDS_START + 71)
#define MDS_CDSAATTR_DEFAULT_TEMPLATE_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 72)
#define MDS_CDSAATTR_TEMPLATE_FIELD_NAMES (CSSM_DB_ATTRIBUTE_MDS_START + 73)
#define MDS_CDSAATTR_AUTHORITY_REQUEST_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 74)
#define MDS_OBJECT_NUM_RELATIONS (1)
#define MDS_OBJECT_NUM_ATTRIBUTES (4)
#define MDS_CDSADIR_NUM_RELATIONS (19)
#define MDS_CDSADIR_CSSM_NUM_ATTRIBUTES (4)
#define MDS_CDSADIR_EMM_NUM_ATTRIBUTES (11)
#define MDS_CDSADIR_COMMON_NUM_ATTRIBUTES (9)
#define MDS_CDSADIR_CSP_PRIMARY_NUM_ATTRIBUTES (13)
#define MDS_CDSADIR_CSP_CAPABILITY_NUM_ATTRIBUTES (9)
#define MDS_CDSADIR_CSP_ENCAPSULATED_PRODUCT_NUM_ATTRIBUTES (16)
#define MDS_CDSADIR_CSP_SC_INFO_NUM_ATTRIBUTES (9)
#define MDS_CDSADIR_DL_PRIMARY_NUM_ATTRIBUTES (13)
#define MDS_CDSADIR_DL_ENCAPSULATED_PRODUCT_NUM_ATTRIBUTES (10)
#define MDS_CDSADIR_CL_PRIMARY_NUM_ATTRIBUTES (13)
#define MDS_CDSADIR_CL_ENCAPSULATED_PRODUCT_NUM_ATTRIBUTES (8)
#define MDS_CDSADIR_TP_PRIMARY_NUM_ATTRIBUTES (10)
#define MDS_CDSADIR_TP_OIDS_NUM_ATTRIBUTES (4)
#define MDS_CDSADIR_TP_ENCAPSULATED_PRODUCT_NUM_ATTRIBUTES (14)
#define MDS_CDSADIR_EMM_PRIMARY_NUM_ATTRIBUTES (9)
#define MDS_CDSADIR_AC_PRIMARY_NUM_ATTRIBUTES (6)
#define MDS_CDSADIR_SCHEMA_RELATONS_NUM_ATTRIBUTES (2)
#define MDS_CDSADIR_SCHEMA_ATTRIBUTES_NUM_ATTRIBUTES (6)
#define MDS_CDSADIR_SCHEMA_INDEXES_NUM_ATTRIBUTES (5)
# 43 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/oidsalg.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/oidsalg.h" 3
#define _OIDS_ALG_H_
extern const CSSM_OID
CSSMOID_MD2,
CSSMOID_MD4,
CSSMOID_MD5,
CSSMOID_RSA,
CSSMOID_MD2WithRSA,
CSSMOID_MD4WithRSA,
CSSMOID_MD5WithRSA,
CSSMOID_SHA1WithRSA,
CSSMOID_SHA224WithRSA,
CSSMOID_SHA256WithRSA,
CSSMOID_SHA384WithRSA,
CSSMOID_SHA512WithRSA,
CSSMOID_SHA1WithRSA_OIW,
CSSMOID_RSAWithOAEP,
CSSMOID_OAEP_MGF1,
CSSMOID_OAEP_ID_PSPECIFIED,
CSSMOID_DES_CBC,
CSSMOID_ANSI_DH_PUB_NUMBER,
CSSMOID_ANSI_DH_STATIC,
CSSMOID_ANSI_DH_ONE_FLOW,
CSSMOID_ANSI_DH_EPHEM,
CSSMOID_ANSI_DH_HYBRID1,
CSSMOID_ANSI_DH_HYBRID2,
CSSMOID_ANSI_DH_HYBRID_ONEFLOW,
CSSMOID_ANSI_MQV1,
CSSMOID_ANSI_MQV2,
CSSMOID_ANSI_DH_STATIC_SHA1,
CSSMOID_ANSI_DH_ONE_FLOW_SHA1,
CSSMOID_ANSI_DH_EPHEM_SHA1,
CSSMOID_ANSI_DH_HYBRID1_SHA1,
CSSMOID_ANSI_DH_HYBRID2_SHA1,
CSSMOID_ANSI_MQV1_SHA1,
CSSMOID_ANSI_MQV2_SHA1,
CSSMOID_PKCS3,
CSSMOID_DH,
CSSMOID_DSA,
CSSMOID_DSA_CMS,
CSSMOID_DSA_JDK,
CSSMOID_SHA1WithDSA,
CSSMOID_SHA1WithDSA_CMS,
CSSMOID_SHA1WithDSA_JDK,
CSSMOID_SHA1,
CSSMOID_SHA224,
CSSMOID_SHA256,
CSSMOID_SHA384,
CSSMOID_SHA512,
CSSMOID_APPLE_ISIGN,
CSSMOID_APPLE_X509_BASIC,
CSSMOID_APPLE_TP_SSL,
CSSMOID_APPLE_TP_LOCAL_CERT_GEN,
CSSMOID_APPLE_TP_CSR_GEN,
CSSMOID_APPLE_TP_REVOCATION_CRL,
CSSMOID_APPLE_TP_REVOCATION_OCSP,
CSSMOID_APPLE_TP_SMIME,
CSSMOID_APPLE_TP_EAP,
CSSMOID_APPLE_TP_CODE_SIGN,
CSSMOID_APPLE_TP_SW_UPDATE_SIGNING,
CSSMOID_APPLE_TP_IP_SEC,
CSSMOID_APPLE_TP_ICHAT,
CSSMOID_APPLE_TP_RESOURCE_SIGN,
CSSMOID_APPLE_TP_PKINIT_CLIENT,
CSSMOID_APPLE_TP_PKINIT_SERVER,
CSSMOID_APPLE_TP_CODE_SIGNING,
CSSMOID_APPLE_TP_PACKAGE_SIGNING,
CSSMOID_APPLE_FEE,
CSSMOID_APPLE_ASC,
CSSMOID_APPLE_FEE_MD5,
CSSMOID_APPLE_FEE_SHA1,
CSSMOID_APPLE_FEED,
CSSMOID_APPLE_FEEDEXP,
CSSMOID_APPLE_ECDSA,
CSSMOID_DOTMAC_CERT,
CSSMOID_DOTMAC_CERT_REQ,
CSSMOID_DOTMAC_CERT_REQ_IDENTITY,
CSSMOID_DOTMAC_CERT_REQ_EMAIL_SIGN,
CSSMOID_DOTMAC_CERT_REQ_EMAIL_ENCRYPT,
CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_LIST,
CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_STORE,
CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_FETCH,
CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_REMOVE,
CSSMOID_DOTMAC_CERT_REQ_SHARED_SERVICES,
CSSMOID_DOTMAC_CERT_REQ_VALUE_USERNAME,
CSSMOID_DOTMAC_CERT_REQ_VALUE_PASSWORD,
CSSMOID_DOTMAC_CERT_REQ_VALUE_HOSTNAME,
CSSMOID_DOTMAC_CERT_REQ_VALUE_RENEW,
CSSMOID_DOTMAC_CERT_REQ_VALUE_ASYNC,
CSSMOID_DOTMAC_CERT_REQ_VALUE_IS_PENDING,
CSSMOID_PKCS5_DIGEST_ALG,
CSSMOID_PKCS5_ENCRYPT_ALG,
CSSMOID_PKCS5_HMAC_SHA1,
CSSMOID_PKCS5_pbeWithMD2AndDES,
CSSMOID_PKCS5_pbeWithMD2AndRC2,
CSSMOID_PKCS5_pbeWithMD5AndDES,
CSSMOID_PKCS5_pbeWithMD5AndRC2,
CSSMOID_PKCS5_pbeWithSHA1AndDES,
CSSMOID_PKCS5_pbeWithSHA1AndRC2,
CSSMOID_PKCS5_PBKDF2,
CSSMOID_PKCS5_PBES2,
CSSMOID_PKCS5_PBMAC1,
CSSMOID_PKCS5_RC2_CBC,
CSSMOID_PKCS5_DES_EDE3_CBC,
CSSMOID_PKCS5_RC5_CBC,
CSSMOID_PKCS12_pbeWithSHAAnd128BitRC4,
CSSMOID_PKCS12_pbeWithSHAAnd40BitRC4,
CSSMOID_PKCS12_pbeWithSHAAnd3Key3DESCBC,
CSSMOID_PKCS12_pbeWithSHAAnd2Key3DESCBC,
CSSMOID_PKCS12_pbeWithSHAAnd128BitRC2CBC,
CSSMOID_PKCS12_pbewithSHAAnd40BitRC2CBC;
# 44 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/oidsattr.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/oidsattr.h" 3
#define _CDSA_OIDSATTR_H_
# 1 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define _OIDSBASE_H_ 1
#define INTEL 96, 134, 72, 1, 134, 248, 77
#define INTEL_LENGTH 7
#define INTEL_CDSASECURITY INTEL, 2
#define INTEL_CDSASECURITY_LENGTH (INTEL_LENGTH + 1)
#define INTEL_SEC_FORMATS INTEL_CDSASECURITY, 1
#define INTEL_SEC_FORMATS_LENGTH (INTEL_CDSASECURITY_LENGTH + 1)
#define INTEL_SEC_ALGS INTEL_CDSASECURITY, 2, 5
#define INTEL_SEC_ALGS_LENGTH (INTEL_CDSASECURITY_LENGTH + 2)
#define INTEL_SEC_OBJECT_BUNDLE INTEL_SEC_FORMATS, 4
#define INTEL_SEC_OBJECT_BUNDLE_LENGTH (INTEL_SEC_FORMATS_LENGTH + 1)
#define INTEL_CERT_AND_PRIVATE_KEY_2_0 INTEL_SEC_OBJECT_BUNDLE, 1
#define INTEL_CERT_AND_PRIVATE_KEY_2_0_LENGTH (INTEL_SEC_OBJECT_BUNDLE_LENGTH + 1)
#define INTEL_X509_C_DATATYPE 1
#define INTEL_X509_LDAPSTRING_DATATYPE 2
#define OID_ISO_CCITT_DIR_SERVICE 85
#define OID_DS OID_ISO_CCITT_DIR_SERVICE
#define OID_DS_LENGTH 1
#define OID_ATTR_TYPE OID_DS, 4
#define OID_ATTR_TYPE_LENGTH OID_DS_LENGTH + 1
#define OID_EXTENSION OID_DS, 29
#define OID_EXTENSION_LENGTH OID_DS_LENGTH + 1
#define OID_ISO_STANDARD 40
#define OID_ISO_MEMBER 42
#define OID_US OID_ISO_MEMBER, 134, 72
#define OID_ISO_IDENTIFIED_ORG 43
#define OID_OSINET OID_ISO_IDENTIFIED_ORG, 4
#define OID_GOSIP OID_ISO_IDENTIFIED_ORG, 5
#define OID_DOD OID_ISO_IDENTIFIED_ORG, 6
#define OID_OIW OID_ISO_IDENTIFIED_ORG, 14
#define OID_ISO_MEMBER_LENGTH 1
#define OID_US_LENGTH OID_ISO_MEMBER_LENGTH + 2
#define OID_RSA OID_US, 134, 247, 13
#define OID_RSA_LENGTH OID_US_LENGTH + 3
#define OID_RSA_HASH OID_RSA, 2
#define OID_RSA_HASH_LENGTH OID_RSA_LENGTH + 1
#define OID_RSA_ENCRYPT OID_RSA, 3
#define OID_RSA_ENCRYPT_LENGTH OID_RSA_LENGTH + 1
#define OID_PKCS OID_RSA, 1
#define OID_PKCS_LENGTH OID_RSA_LENGTH +1
#define OID_PKCS_1 OID_PKCS, 1
#define OID_PKCS_1_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_2 OID_PKCS, 2
#define OID_PKCS_3 OID_PKCS, 3
#define OID_PKCS_3_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_4 OID_PKCS, 4
#define OID_PKCS_5 OID_PKCS, 5
#define OID_PKCS_5_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_6 OID_PKCS, 6
#define OID_PKCS_7 OID_PKCS, 7
#define OID_PKCS_7_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_8 OID_PKCS, 8
#define OID_PKCS_9 OID_PKCS, 9
#define OID_PKCS_9_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_10 OID_PKCS, 10
#define OID_PKCS_11 OID_PKCS, 11
#define OID_PKCS_11_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_12 OID_PKCS, 12
#define OID_PKCS_12_LENGTH OID_PKCS_LENGTH +1
#define OID_ANSI_X9_42 OID_US, 206, 62, 2
#define OID_ANSI_X9_42_LEN OID_US_LENGTH + 3
#define OID_ANSI_X9_42_SCHEME OID_ANSI_X9_42, 3
#define OID_ANSI_X9_42_SCHEME_LEN OID_ANSI_X9_42_LEN + 1
#define OID_ANSI_X9_42_NAMED_SCHEME OID_ANSI_X9_42, 4
#define OID_ANSI_X9_42_NAMED_SCHEME_LEN OID_ANSI_X9_42_LEN + 1
#define OID_PKIX OID_DOD, 1, 5, 5, 7
#define OID_PKIX_LENGTH 6
#define OID_PE OID_PKIX, 1
#define OID_PE_LENGTH OID_PKIX_LENGTH + 1
#define OID_QT OID_PKIX, 2
#define OID_QT_LENGTH OID_PKIX_LENGTH + 1
#define OID_KP OID_PKIX, 3
#define OID_KP_LENGTH OID_PKIX_LENGTH + 1
#define OID_OTHER_NAME OID_PKIX, 8
#define OID_OTHER_NAME_LENGTH OID_PKIX_LENGTH + 1
#define OID_PDA OID_PKIX, 9
#define OID_PDA_LENGTH OID_PKIX_LENGTH + 1
#define OID_QCS OID_PKIX, 11
#define OID_QCS_LENGTH OID_PKIX_LENGTH + 1
#define OID_AD OID_PKIX, 48
#define OID_AD_LENGTH OID_PKIX_LENGTH + 1
#define OID_AD_OCSP OID_AD, 1
#define OID_AD_OCSP_LENGTH OID_AD_LENGTH + 1
#define OID_ETSI 0x04, 0x00
#define OID_ETSI_LENGTH 2
#define OID_ETSI_QCS 0x04, 0x00, 0x8E, 0x46, 0x01
#define OID_ETSI_QCS_LENGTH 5
#define OID_OIW_SECSIG OID_OIW, 3
#define OID_OIW_LENGTH 2
#define OID_OIW_SECSIG_LENGTH OID_OIW_LENGTH +1
#define OID_OIW_ALGORITHM OID_OIW_SECSIG, 2
#define OID_OIW_ALGORITHM_LENGTH OID_OIW_SECSIG_LENGTH +1
#define OID_NIST_HASHALG 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02
#define OID_NIST_HASHALG_LENGTH 8
#define OID_KERBv5 0x2b, 6, 1, 5, 2
#define OID_KERBv5_LEN 5
#define OID_KERBv5_PKINIT OID_KERBv5, 3
#define OID_KERBv5_PKINIT_LEN OID_KERBv5_LEN + 1
# 168 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_OID OID_US, 0x86, 0xf7, 0x63
#define APPLE_OID_LENGTH OID_US_LENGTH + 3
#define APPLE_ADS_OID APPLE_OID, 0x64
#define APPLE_ADS_OID_LENGTH APPLE_OID_LENGTH + 1
# 187 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_TP_OID APPLE_ADS_OID, 1
#define APPLE_TP_OID_LENGTH APPLE_ADS_OID_LENGTH + 1
# 197 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_ALG_OID APPLE_ADS_OID, 2
#define APPLE_ALG_OID_LENGTH APPLE_ADS_OID_LENGTH + 1
#define APPLE_DOTMAC_CERT_OID APPLE_ADS_OID, 3
#define APPLE_DOTMAC_CERT_OID_LENGTH APPLE_ADS_OID_LENGTH + 1
# 215 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_DOTMAC_CERT_REQ_OID APPLE_DOTMAC_CERT_OID, 1
#define APPLE_DOTMAC_CERT_REQ_OID_LENGTH APPLE_DOTMAC_CERT_OID_LENGTH + 1
# 225 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_DOTMAC_CERT_EXTEN_OID APPLE_DOTMAC_CERT_OID, 2
#define APPLE_DOTMAC_CERT_EXTEN_OID_LENGTH APPLE_DOTMAC_CERT_OID_LENGTH + 1
# 235 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_DOTMAC_CERT_REQ_VALUE_OID APPLE_DOTMAC_CERT_OID, 3
#define APPLE_DOTMAC_CERT_REQ_VALUE_OID_LENGTH APPLE_DOTMAC_CERT_OID_LENGTH + 1
# 245 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_EKU_OID APPLE_ADS_OID, 4
#define APPLE_EKU_OID_LENGTH APPLE_ADS_OID_LENGTH + 1
#define APPLE_EKU_CODE_SIGNING APPLE_EKU_OID, 1
#define APPLE_EKU_CODE_SIGNING_LENGTH APPLE_EKU_OID_LENGTH + 1
#define APPLE_CERT_POLICIES APPLE_ADS_OID, 5
#define APPLE_CERT_POLICIES_LENGTH APPLE_ADS_OID_LENGTH + 1
#define NETSCAPE_BASE_OID 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42
#define NETSCAPE_BASE_OID_LEN 7
# 280 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define NETSCAPE_CERT_EXTEN NETSCAPE_BASE_OID, 0x01
#define NETSCAPE_CERT_EXTEN_LENGTH NETSCAPE_BASE_OID_LEN + 1
#define NETSCAPE_CERT_POLICY NETSCAPE_BASE_OID, 0x04
#define NETSCAPE_CERT_POLICY_LENGTH NETSCAPE_BASE_OID_LEN + 1
# 31 "/System/Library/Frameworks/Security.framework/Headers/oidsattr.h" 2 3
extern const CSSM_OID
CSSMOID_ObjectClass,
CSSMOID_AliasedEntryName,
CSSMOID_KnowledgeInformation,
CSSMOID_CommonName,
CSSMOID_Surname,
CSSMOID_SerialNumber,
CSSMOID_CountryName,
CSSMOID_LocalityName,
CSSMOID_StateProvinceName,
CSSMOID_CollectiveStateProvinceName,
CSSMOID_StreetAddress,
CSSMOID_CollectiveStreetAddress,
CSSMOID_OrganizationName,
CSSMOID_CollectiveOrganizationName,
CSSMOID_OrganizationalUnitName,
CSSMOID_CollectiveOrganizationalUnitName,
CSSMOID_Title,
CSSMOID_Description,
CSSMOID_SearchGuide,
CSSMOID_BusinessCategory,
CSSMOID_PostalAddress,
CSSMOID_CollectivePostalAddress,
CSSMOID_PostalCode,
CSSMOID_CollectivePostalCode,
CSSMOID_PostOfficeBox,
CSSMOID_CollectivePostOfficeBox,
CSSMOID_PhysicalDeliveryOfficeName,
CSSMOID_CollectivePhysicalDeliveryOfficeName,
CSSMOID_TelephoneNumber,
CSSMOID_CollectiveTelephoneNumber,
CSSMOID_TelexNumber,
CSSMOID_CollectiveTelexNumber,
CSSMOID_TelexTerminalIdentifier,
CSSMOID_CollectiveTelexTerminalIdentifier,
CSSMOID_FacsimileTelephoneNumber,
CSSMOID_CollectiveFacsimileTelephoneNumber,
CSSMOID_X_121Address,
CSSMOID_InternationalISDNNumber,
CSSMOID_CollectiveInternationalISDNNumber,
CSSMOID_RegisteredAddress,
CSSMOID_DestinationIndicator,
CSSMOID_PreferredDeliveryMethod,
CSSMOID_PresentationAddress,
CSSMOID_SupportedApplicationContext,
CSSMOID_Member,
CSSMOID_Owner,
CSSMOID_RoleOccupant,
CSSMOID_SeeAlso,
CSSMOID_UserPassword,
CSSMOID_UserCertificate,
CSSMOID_CACertificate,
CSSMOID_AuthorityRevocationList,
CSSMOID_CertificateRevocationList,
CSSMOID_CrossCertificatePair,
CSSMOID_Name,
CSSMOID_GivenName,
CSSMOID_Initials,
CSSMOID_GenerationQualifier,
CSSMOID_UniqueIdentifier,
CSSMOID_DNQualifier,
CSSMOID_EnhancedSearchGuide,
CSSMOID_ProtocolInformation,
CSSMOID_DistinguishedName,
CSSMOID_UniqueMember,
CSSMOID_HouseIdentifier;
extern const CSSM_OID
CSSMOID_EmailAddress,
CSSMOID_UnstructuredName,
CSSMOID_ContentType,
CSSMOID_MessageDigest,
CSSMOID_SigningTime,
CSSMOID_CounterSignature,
CSSMOID_ChallengePassword,
CSSMOID_UnstructuredAddress,
CSSMOID_ExtendedCertificateAttributes;
extern const CSSM_OID
CSSMOID_QT_CPS,
CSSMOID_QT_UNOTICE,
CSSMOID_AD_OCSP,
CSSMOID_AD_CA_ISSUERS,
CSSMOID_AD_TIME_STAMPING,
CSSMOID_AD_CA_REPOSITORY,
CSSMOID_PDA_DATE_OF_BIRTH,
CSSMOID_PDA_PLACE_OF_BIRTH,
CSSMOID_PDA_GENDER,
CSSMOID_PDA_COUNTRY_CITIZEN,
CSSMOID_PDA_COUNTRY_RESIDENCE,
CSSMOID_OID_QCS_SYNTAX_V1,
CSSMOID_OID_QCS_SYNTAX_V2;
extern const CSSM_OID
CSSMOID_ETSI_QCS_QC_COMPLIANCE,
CSSMOID_ETSI_QCS_QC_LIMIT_VALUE,
CSSMOID_ETSI_QCS_QC_RETENTION,
CSSMOID_ETSI_QCS_QC_SSCD;
extern const CSSM_OID
CSSMOID_PKCS7_Data,
CSSMOID_PKCS7_SignedData,
CSSMOID_PKCS7_EnvelopedData,
CSSMOID_PKCS7_SignedAndEnvelopedData,
CSSMOID_PKCS7_DigestedData,
CSSMOID_PKCS7_EncryptedData,
CSSMOID_PKCS7_DataWithAttributes,
CSSMOID_PKCS7_EncryptedPrivateKeyInfo,
CSSMOID_PKCS9_FriendlyName,
CSSMOID_PKCS9_LocalKeyId,
CSSMOID_PKCS9_CertTypes,
CSSMOID_PKCS9_CrlTypes,
CSSMOID_PKCS9_X509Certificate,
CSSMOID_PKCS9_SdsiCertificate,
CSSMOID_PKCS9_X509Crl,
CSSMOID_PKCS12_keyBag,
CSSMOID_PKCS12_shroudedKeyBag,
CSSMOID_PKCS12_certBag,
CSSMOID_PKCS12_crlBag,
CSSMOID_PKCS12_secretBag,
CSSMOID_PKCS12_safeContentsBag,
CSSMOID_KERBv5_PKINIT_AUTH_DATA,
CSSMOID_KERBv5_PKINIT_DH_KEY_DATA,
CSSMOID_KERBv5_PKINIT_RKEY_DATA;
# 45 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/oidscert.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/oidscert.h" 3
#define _OIDSCERT_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/oidscert.h" 3
#define INTEL_X509V3_CERT_R08 INTEL_SEC_FORMATS, 1, 1
#define INTEL_X509V3_CERT_R08_LENGTH INTEL_SEC_FORMATS_LENGTH + 2
#define INTEL_X509V3_CERT_PRIVATE_EXTENSIONS INTEL_X509V3_CERT_R08, 50
#define INTEL_X509V3_CERT_PRIVATE_EXTENSIONS_LENGTH INTEL_X509V3_CERT_R08_LENGTH + 1
#define INTEL_X509V3_SIGN_R08 INTEL_SEC_FORMATS, 3, 2
#define INTEL_X509V3_SIGN_R08_LENGTH INTEL_SEC_FORMATS_LENGTH + 2
#define INTEL_X509_C_DATATYPE 1
#define INTEL_X509_LDAPSTRING_DATATYPE 2
extern const CSSM_OID
CSSMOID_X509V3SignedCertificate,
CSSMOID_X509V3SignedCertificateCStruct,
CSSMOID_X509V3Certificate,
CSSMOID_X509V3CertificateCStruct,
CSSMOID_X509V1Version,
CSSMOID_X509V1SerialNumber,
CSSMOID_X509V1IssuerName,
CSSMOID_X509V1IssuerNameStd,
CSSMOID_X509V1IssuerNameCStruct,
CSSMOID_X509V1IssuerNameLDAP,
CSSMOID_X509V1ValidityNotBefore,
CSSMOID_X509V1ValidityNotAfter,
CSSMOID_X509V1SubjectName,
CSSMOID_X509V1SubjectNameStd,
CSSMOID_X509V1SubjectNameCStruct,
CSSMOID_X509V1SubjectNameLDAP,
CSSMOID_CSSMKeyStruct,
CSSMOID_X509V1SubjectPublicKeyCStruct,
CSSMOID_X509V1SubjectPublicKeyAlgorithm,
CSSMOID_X509V1SubjectPublicKeyAlgorithmParameters,
CSSMOID_X509V1SubjectPublicKey,
CSSMOID_X509V1CertificateIssuerUniqueId,
CSSMOID_X509V1CertificateSubjectUniqueId,
CSSMOID_X509V3CertificateExtensionsStruct,
CSSMOID_X509V3CertificateExtensionsCStruct,
CSSMOID_X509V3CertificateNumberOfExtensions,
CSSMOID_X509V3CertificateExtensionStruct,
CSSMOID_X509V3CertificateExtensionCStruct,
CSSMOID_X509V3CertificateExtensionId,
CSSMOID_X509V3CertificateExtensionCritical,
CSSMOID_X509V3CertificateExtensionType,
CSSMOID_X509V3CertificateExtensionValue,
CSSMOID_X509V1SignatureStruct,
CSSMOID_X509V1SignatureCStruct,
CSSMOID_X509V1SignatureAlgorithm,
CSSMOID_X509V1SignatureAlgorithmTBS,
CSSMOID_X509V1SignatureAlgorithmParameters,
CSSMOID_X509V1Signature,
CSSMOID_SubjectSignatureBitmap,
CSSMOID_SubjectPicture,
CSSMOID_SubjectEmailAddress,
CSSMOID_UseExemptions;
# 111 "/System/Library/Frameworks/Security.framework/Headers/oidscert.h" 3
extern const CSSM_OID
CSSMOID_SubjectDirectoryAttributes,
CSSMOID_SubjectKeyIdentifier,
CSSMOID_KeyUsage,
CSSMOID_PrivateKeyUsagePeriod,
CSSMOID_SubjectAltName,
CSSMOID_IssuerAltName,
CSSMOID_BasicConstraints,
CSSMOID_CrlNumber,
CSSMOID_CrlReason,
CSSMOID_HoldInstructionCode,
CSSMOID_InvalidityDate,
CSSMOID_DeltaCrlIndicator,
CSSMOID_IssuingDistributionPoint,
CSSMOID_IssuingDistributionPoints,
CSSMOID_CertIssuer,
CSSMOID_NameConstraints,
CSSMOID_CrlDistributionPoints,
CSSMOID_CertificatePolicies,
CSSMOID_PolicyMappings,
CSSMOID_PolicyConstraints,
CSSMOID_AuthorityKeyIdentifier,
CSSMOID_ExtendedKeyUsage,
CSSMOID_AuthorityInfoAccess,
CSSMOID_BiometricInfo,
CSSMOID_QC_Statements,
CSSMOID_SubjectInfoAccess,
CSSMOID_ExtendedKeyUsageAny,
CSSMOID_ServerAuth,
CSSMOID_ClientAuth,
CSSMOID_ExtendedUseCodeSigning,
CSSMOID_EmailProtection,
CSSMOID_TimeStamping,
CSSMOID_OCSPSigning,
CSSMOID_KERBv5_PKINIT_KP_CLIENT_AUTH,
CSSMOID_KERBv5_PKINIT_KP_KDC,
CSSMOID_EKU_IPSec,
CSSMOID_DOTMAC_CERT_EXTENSION,
CSSMOID_DOTMAC_CERT_IDENTITY,
CSSMOID_DOTMAC_CERT_EMAIL_SIGN,
CSSMOID_DOTMAC_CERT_EMAIL_ENCRYPT,
CSSMOID_APPLE_CERT_POLICY,
CSSMOID_DOTMAC_CERT_POLICY,
CSSMOID_APPLE_EKU_CODE_SIGNING,
CSSMOID_APPLE_EKU_CODE_SIGNING_DEV,
CSSMOID_APPLE_EKU_RESOURCE_SIGNING,
CSSMOID_APPLE_EKU_ICHAT_SIGNING,
CSSMOID_APPLE_EKU_ICHAT_ENCRYPTION,
CSSMOID_APPLE_EKU_SYSTEM_IDENTITY
;
extern const CSSM_OID
CSSMOID_NetscapeCertType,
CSSMOID_NetscapeCertSequence,
CSSMOID_NetscapeSGC;
extern const CSSM_OID CSSMOID_MicrosoftSGC;
#define CE_NCT_SSL_Client 0x8000
#define CE_NCT_SSL_Server 0x4000
#define CE_NCT_SMIME 0x2000
#define CE_NCT_ObjSign 0x1000
#define CE_NCT_Reserved 0x0800
#define CE_NCT_SSL_CA 0x0400
#define CE_NCT_SMIME_CA 0x0200
#define CE_NCT_ObjSignCA 0x0100
# 47 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/oidscrl.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/oidscrl.h" 3
#define _OIDSCRL_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/oidscrl.h" 3
#define INTEL_X509V2_CRL_R08 INTEL_SEC_FORMATS, 2, 1
#define INTEL_X509V2_CRL_R08_LENGTH INTEL_SEC_FORMATS_LENGTH+2
extern const CSSM_OID
CSSMOID_X509V2CRLSignedCrlStruct,
CSSMOID_X509V2CRLSignedCrlCStruct,
CSSMOID_X509V2CRLTbsCertListStruct,
CSSMOID_X509V2CRLTbsCertListCStruct,
CSSMOID_X509V2CRLVersion,
CSSMOID_X509V1CRLIssuerStruct,
CSSMOID_X509V1CRLIssuerNameCStruct,
CSSMOID_X509V1CRLIssuerNameLDAP,
CSSMOID_X509V1CRLThisUpdate,
CSSMOID_X509V1CRLNextUpdate,
CSSMOID_X509V1CRLRevokedCertificatesStruct,
CSSMOID_X509V1CRLRevokedCertificatesCStruct,
CSSMOID_X509V1CRLNumberOfRevokedCertEntries,
CSSMOID_X509V1CRLRevokedEntryStruct,
CSSMOID_X509V1CRLRevokedEntryCStruct,
CSSMOID_X509V1CRLRevokedEntrySerialNumber,
CSSMOID_X509V1CRLRevokedEntryRevocationDate,
CSSMOID_X509V2CRLRevokedEntryAllExtensionsStruct,
CSSMOID_X509V2CRLRevokedEntryAllExtensionsCStruct,
CSSMOID_X509V2CRLRevokedEntryNumberOfExtensions,
CSSMOID_X509V2CRLRevokedEntrySingleExtensionStruct,
CSSMOID_X509V2CRLRevokedEntrySingleExtensionCStruct,
CSSMOID_X509V2CRLRevokedEntryExtensionId,
CSSMOID_X509V2CRLRevokedEntryExtensionCritical,
CSSMOID_X509V2CRLRevokedEntryExtensionType,
CSSMOID_X509V2CRLRevokedEntryExtensionValue,
CSSMOID_X509V2CRLAllExtensionsStruct,
CSSMOID_X509V2CRLAllExtensionsCStruct,
CSSMOID_X509V2CRLNumberOfExtensions,
CSSMOID_X509V2CRLSingleExtensionStruct,
CSSMOID_X509V2CRLSingleExtensionCStruct,
CSSMOID_X509V2CRLExtensionId,
CSSMOID_X509V2CRLExtensionCritical,
CSSMOID_X509V2CRLExtensionType,
CSSMOID_PKIX_OCSP,
CSSMOID_PKIX_OCSP_BASIC,
CSSMOID_PKIX_OCSP_NONCE,
CSSMOID_PKIX_OCSP_CRL,
CSSMOID_PKIX_OCSP_RESPONSE,
CSSMOID_PKIX_OCSP_NOCHECK,
CSSMOID_PKIX_OCSP_ARCHIVE_CUTOFF,
CSSMOID_PKIX_OCSP_SERVICE_LOCATOR;
# 48 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 1 3
# 31 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
#define _SECURITY_SECACCESS_H_
# 47 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
CFTypeID SecAccessGetTypeID(void);
# 62 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
OSStatus SecAccessCreate(CFStringRef descriptor, CFArrayRef trustedlist, SecAccessRef *accessRef);
# 73 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
OSStatus SecAccessCreateFromOwnerAndACL(const CSSM_ACL_OWNER_PROTOTYPE *owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls, SecAccessRef *accessRef);
# 84 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
OSStatus SecAccessGetOwnerAndACL(SecAccessRef accessRef, CSSM_ACL_OWNER_PROTOTYPE_PTR *owner, uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls);
# 93 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
OSStatus SecAccessCopyACLList(SecAccessRef accessRef, CFArrayRef *aclList);
# 103 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
OSStatus SecAccessCopySelectedACLList(SecAccessRef accessRef, CSSM_ACL_AUTHORIZATION_TAG action, CFArrayRef *aclList);
# 52 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
#define _SECURITY_SECACL_H_
# 47 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
CFTypeID SecACLGetTypeID(void);
# 59 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
OSStatus SecACLCreateFromSimpleContents(SecAccessRef access,
CFArrayRef applicationList,
CFStringRef description, const CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR *promptSelector,
SecACLRef *newAcl);
OSStatus SecACLRemove(SecACLRef aclRef);
# 81 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
OSStatus SecACLCopySimpleContents(SecACLRef acl,
CFArrayRef *applicationList,
CFStringRef *description, CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR *promptSelector);
# 94 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
OSStatus SecACLSetSimpleContents(SecACLRef acl,
CFArrayRef applicationList,
CFStringRef description, const CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR *promptSelector);
# 106 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
OSStatus SecACLGetAuthorizations(SecACLRef acl,
CSSM_ACL_AUTHORIZATION_TAG *tags, uint32 *tagCount);
# 117 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
OSStatus SecACLSetAuthorizations(SecACLRef acl,
CSSM_ACL_AUTHORIZATION_TAG *tags, uint32 tagCount);
# 53 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 1 3
# 32 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
#define _SECURITY_SECCERTIFICATE_H_
# 58 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
enum
{
kSecSubjectItemAttr = 'subj',
kSecIssuerItemAttr = 'issu',
kSecSerialNumberItemAttr = 'snbr',
kSecPublicKeyHashItemAttr = 'hpky',
kSecSubjectKeyIdentifierItemAttr = 'skid',
kSecCertTypeItemAttr = 'ctyp',
kSecCertEncodingItemAttr = 'cenc'
};
CFTypeID SecCertificateGetTypeID(void);
#pragma mark ---- Certificate Operations ----
# 87 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateCreateFromData(const CSSM_DATA *data, CSSM_CERT_TYPE type, CSSM_CERT_ENCODING encoding, SecCertificateRef *certificate);
# 97 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateAddToKeychain(SecCertificateRef certificate, SecKeychainRef keychain);
# 106 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetData(SecCertificateRef certificate, CSSM_DATA_PTR data);
# 115 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetType(SecCertificateRef certificate, CSSM_CERT_TYPE *certificateType);
# 131 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetSubject(SecCertificateRef certificate, const CSSM_X509_NAME **subject);
# 147 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetIssuer(SecCertificateRef certificate, const CSSM_X509_NAME **issuer);
# 156 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetCLHandle(SecCertificateRef certificate, CSSM_CL_HANDLE *clHandle);
# 165 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetAlgorithmID(SecCertificateRef certificate, const CSSM_X509_ALGORITHM_IDENTIFIER **algid);
# 174 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateCopyPublicKey(SecCertificateRef certificate, SecKeyRef *key);
# 183 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateCopyCommonName(SecCertificateRef certificate, CFStringRef *commonName);
# 192 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateCopyEmailAddresses(SecCertificateRef certificate, CFArrayRef *emailAddresses);
# 203 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateCopyPreference(CFStringRef name, CSSM_KEYUSE keyUsage, SecCertificateRef *certificate);
# 215 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateSetPreference(SecCertificateRef certificate, CFStringRef name, CSSM_KEYUSE keyUsage, CFDateRef date);
# 54 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
#define _SECURITY_SECIDENTITY_H_
# 47 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
CFTypeID SecIdentityGetTypeID(void);
# 57 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentityCreateWithCertificate(
CFTypeRef keychainOrArray,
SecCertificateRef certificateRef,
SecIdentityRef *identityRef);
# 69 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentityCopyCertificate(
SecIdentityRef identityRef,
SecCertificateRef *certificateRef);
# 80 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentityCopyPrivateKey(
SecIdentityRef identityRef,
SecKeyRef *privateKeyRef);
# 94 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentityCopyPreference(CFStringRef name, CSSM_KEYUSE keyUsage, CFArrayRef validIssuers, SecIdentityRef *identity);
# 104 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentitySetPreference(SecIdentityRef identity, CFStringRef name, CSSM_KEYUSE keyUsage);
# 124 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentityCopySystemIdentity(
CFStringRef domain,
SecIdentityRef *idRef,
CFStringRef *actualDomain);
# 142 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentitySetSystemIdentity(
CFStringRef domain,
SecIdentityRef idRef);
# 154 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
extern const CFStringRef kSecIdentityDomainDefault;
extern const CFStringRef kSecIdentityDomainKerberosKDC;
# 55 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecIdentitySearch.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecIdentitySearch.h" 3
#define _SECURITY_SECIDENTITYSEARCH_H_
# 48 "/System/Library/Frameworks/Security.framework/Headers/SecIdentitySearch.h" 3
typedef struct OpaqueSecIdentitySearchRef *SecIdentitySearchRef;
CFTypeID SecIdentitySearchGetTypeID(void);
# 66 "/System/Library/Frameworks/Security.framework/Headers/SecIdentitySearch.h" 3
OSStatus SecIdentitySearchCreate(CFTypeRef keychainOrArray, CSSM_KEYUSE keyUsage, SecIdentitySearchRef *searchRef);
# 75 "/System/Library/Frameworks/Security.framework/Headers/SecIdentitySearch.h" 3
OSStatus SecIdentitySearchCopyNext(SecIdentitySearchRef searchRef, SecIdentityRef *identity);
# 56 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 1 3
# 32 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
#define _SECURITY_SECKEY_H_
# 110 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
enum
{
kSecKeyKeyClass = 0,
kSecKeyPrintName = 1,
kSecKeyAlias = 2,
kSecKeyPermanent = 3,
kSecKeyPrivate = 4,
kSecKeyModifiable = 5,
kSecKeyLabel = 6,
kSecKeyApplicationTag = 7,
kSecKeyKeyCreator = 8,
kSecKeyKeyType = 9,
kSecKeyKeySizeInBits = 10,
kSecKeyEffectiveKeySize = 11,
kSecKeyStartDate = 12,
kSecKeyEndDate = 13,
kSecKeySensitive = 14,
kSecKeyAlwaysSensitive = 15,
kSecKeyExtractable = 16,
kSecKeyNeverExtractable = 17,
kSecKeyEncrypt = 18,
kSecKeyDecrypt = 19,
kSecKeyDerive = 20,
kSecKeySign = 21,
kSecKeyVerify = 22,
kSecKeySignRecover = 23,
kSecKeyVerifyRecover = 24,
kSecKeyWrap = 25,
kSecKeyUnwrap = 26
};
typedef uint32 SecCredentialType;
# 154 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
enum
{
kSecCredentialTypeDefault = 0,
kSecCredentialTypeWithUI,
kSecCredentialTypeNoUI
};
CFTypeID SecKeyGetTypeID(void);
# 185 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
OSStatus SecKeyCreatePair(
SecKeychainRef keychainRef,
CSSM_ALGORITHMS algorithm,
uint32 keySizeInBits,
CSSM_CC_HANDLE contextHandle,
CSSM_KEYUSE publicKeyUsage,
uint32 publicKeyAttr,
CSSM_KEYUSE privateKeyUsage,
uint32 privateKeyAttr,
SecAccessRef initialAccess,
SecKeyRef* publicKey,
SecKeyRef* privateKey);
# 211 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
OSStatus SecKeyGenerate(
SecKeychainRef keychainRef,
CSSM_ALGORITHMS algorithm,
uint32 keySizeInBits,
CSSM_CC_HANDLE contextHandle,
CSSM_KEYUSE keyUsage,
uint32 keyAttr,
SecAccessRef initialAccess,
SecKeyRef* keyRef);
# 229 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
OSStatus SecKeyGetCSSMKey(SecKeyRef key, const CSSM_KEY **cssmKey);
# 238 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
OSStatus SecKeyGetCSPHandle(SecKeyRef keyRef, CSSM_CSP_HANDLE *cspHandle);
# 249 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
OSStatus SecKeyGetCredentials(
SecKeyRef keyRef,
CSSM_ACL_AUTHORIZATION_TAG operation,
SecCredentialType credentialType,
const CSSM_ACCESS_CREDENTIALS **outCredentials);
# 57 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
#define _SECURITY_SECKEYCHAIN_H_
# 47 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
enum
{
kSecUnlockStateStatus = 1,
kSecReadPermStatus = 2,
kSecWritePermStatus = 4
};
#define SEC_KEYCHAIN_SETTINGS_VERS1 1
# 65 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
struct SecKeychainSettings
{
UInt32 version;
Boolean lockOnSleep;
Boolean useLockInterval;
UInt32 lockInterval;
};
typedef struct SecKeychainSettings SecKeychainSettings;
typedef FourCharCode SecAuthenticationType;
# 94 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
#define AUTH_TYPE_FIX_(x) ((x >> 24) | ((x >> 8) & 0xff00) | ((x << 8) & 0xff0000) | (x & 0xff) << 24)
enum
{
kSecAuthenticationTypeNTLM = (('ntlm' >> 24) | (('ntlm' >> 8) & 0xff00) | (('ntlm' << 8) & 0xff0000) | ('ntlm' & 0xff) << 24),
kSecAuthenticationTypeMSN = (('msna' >> 24) | (('msna' >> 8) & 0xff00) | (('msna' << 8) & 0xff0000) | ('msna' & 0xff) << 24),
kSecAuthenticationTypeDPA = (('dpaa' >> 24) | (('dpaa' >> 8) & 0xff00) | (('dpaa' << 8) & 0xff0000) | ('dpaa' & 0xff) << 24),
kSecAuthenticationTypeRPA = (('rpaa' >> 24) | (('rpaa' >> 8) & 0xff00) | (('rpaa' << 8) & 0xff0000) | ('rpaa' & 0xff) << 24),
kSecAuthenticationTypeHTTPBasic = (('http' >> 24) | (('http' >> 8) & 0xff00) | (('http' << 8) & 0xff0000) | ('http' & 0xff) << 24),
kSecAuthenticationTypeHTTPDigest = (('httd' >> 24) | (('httd' >> 8) & 0xff00) | (('httd' << 8) & 0xff0000) | ('httd' & 0xff) << 24),
kSecAuthenticationTypeHTMLForm = (('form' >> 24) | (('form' >> 8) & 0xff00) | (('form' << 8) & 0xff0000) | ('form' & 0xff) << 24),
kSecAuthenticationTypeDefault = (('dflt' >> 24) | (('dflt' >> 8) & 0xff00) | (('dflt' << 8) & 0xff0000) | ('dflt' & 0xff) << 24),
kSecAuthenticationTypeAny = ((0 >> 24) | ((0 >> 8) & 0xff00) | ((0 << 8) & 0xff0000) | (0 & 0xff) << 24)
};
typedef FourCharCode SecProtocolType;
# 157 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
enum
{
kSecProtocolTypeFTP = 'ftp ',
kSecProtocolTypeFTPAccount = 'ftpa',
kSecProtocolTypeHTTP = 'http',
kSecProtocolTypeIRC = 'irc ',
kSecProtocolTypeNNTP = 'nntp',
kSecProtocolTypePOP3 = 'pop3',
kSecProtocolTypeSMTP = 'smtp',
kSecProtocolTypeSOCKS = 'sox ',
kSecProtocolTypeIMAP = 'imap',
kSecProtocolTypeLDAP = 'ldap',
kSecProtocolTypeAppleTalk = 'atlk',
kSecProtocolTypeAFP = 'afp ',
kSecProtocolTypeTelnet = 'teln',
kSecProtocolTypeSSH = 'ssh ',
kSecProtocolTypeFTPS = 'ftps',
kSecProtocolTypeHTTPS = 'htps',
kSecProtocolTypeHTTPProxy = 'htpx',
kSecProtocolTypeHTTPSProxy = 'htsx',
kSecProtocolTypeFTPProxy = 'ftpx',
kSecProtocolTypeCIFS = 'cifs',
kSecProtocolTypeSMB = 'smb ',
kSecProtocolTypeRTSP = 'rtsp',
kSecProtocolTypeRTSPProxy = 'rtsx',
kSecProtocolTypeDAAP = 'daap',
kSecProtocolTypeEPPC = 'eppc',
kSecProtocolTypeIPP = 'ipp ',
kSecProtocolTypeNNTPS = 'ntps',
kSecProtocolTypeLDAPS = 'ldps',
kSecProtocolTypeTelnetS = 'tels',
kSecProtocolTypeIMAPS = 'imps',
kSecProtocolTypeIRCS = 'ircs',
kSecProtocolTypePOP3S = 'pops',
kSecProtocolTypeCVSpserver = 'cvsp',
kSecProtocolTypeSVN = 'svn ',
kSecProtocolTypeAny = 0
};
typedef UInt32 SecKeychainEvent;
# 216 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
enum
{
kSecLockEvent = 1,
kSecUnlockEvent = 2,
kSecAddEvent = 3,
kSecDeleteEvent = 4,
kSecUpdateEvent = 5,
kSecPasswordChangedEvent = 6,
kSecDefaultChangedEvent = 9,
kSecDataAccessEvent = 10,
kSecKeychainListChangedEvent = 11,
kSecTrustSettingsChangedEvent = 12
};
typedef UInt32 SecKeychainEventMask;
# 250 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
enum
{
kSecLockEventMask = 1 << kSecLockEvent,
kSecUnlockEventMask = 1 << kSecUnlockEvent,
kSecAddEventMask = 1 << kSecAddEvent,
kSecDeleteEventMask = 1 << kSecDeleteEvent,
kSecUpdateEventMask = 1 << kSecUpdateEvent,
kSecPasswordChangedEventMask = 1 << kSecPasswordChangedEvent,
kSecDefaultChangedEventMask = 1 << kSecDefaultChangedEvent,
kSecDataAccessEventMask = 1 << kSecDataAccessEvent,
kSecKeychainListChangedMask = 1 << kSecKeychainListChangedEvent,
kSecTrustSettingsChangedEventMask = 1 << kSecTrustSettingsChangedEvent,
kSecEveryEventMask = 0xffffffff
};
# 274 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
struct SecKeychainCallbackInfo
{
UInt32 version;
SecKeychainItemRef item;
SecKeychainRef keychain;
pid_t pid;
};
typedef struct SecKeychainCallbackInfo SecKeychainCallbackInfo;
CFTypeID SecKeychainGetTypeID(void);
OSStatus SecKeychainGetVersion(UInt32 *returnVers);
#pragma mark ---- Keychain Management ----
# 308 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainOpen(const char *pathName, SecKeychainRef *keychain);
# 321 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainCreate(const char *pathName, UInt32 passwordLength, const void *password, Boolean promptUser, SecAccessRef initialAccess, SecKeychainRef *keychain);
OSStatus SecKeychainDelete(SecKeychainRef keychainOrArray);
# 338 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainSetSettings(SecKeychainRef keychain, const SecKeychainSettings *newSettings);
# 347 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainCopySettings(SecKeychainRef keychain, SecKeychainSettings *outSettings);
# 359 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainUnlock(SecKeychainRef keychain, UInt32 passwordLength, const void *password, Boolean usePassword);
OSStatus SecKeychainLock(SecKeychainRef keychain);
OSStatus SecKeychainLockAll(void);
OSStatus SecKeychainCopyDefault(SecKeychainRef *keychain);
OSStatus SecKeychainSetDefault(SecKeychainRef keychain);
OSStatus SecKeychainCopySearchList(CFArrayRef *searchList);
OSStatus SecKeychainSetSearchList(CFArrayRef searchList);
typedef enum {
kSecPreferencesDomainUser,
kSecPreferencesDomainSystem,
kSecPreferencesDomainCommon,
kSecPreferencesDomainDynamic
} SecPreferencesDomain;
OSStatus SecKeychainCopyDomainDefault(SecPreferencesDomain domain, SecKeychainRef *keychain);
OSStatus SecKeychainSetDomainDefault(SecPreferencesDomain domain, SecKeychainRef keychain);
OSStatus SecKeychainCopyDomainSearchList(SecPreferencesDomain domain, CFArrayRef *searchList);
OSStatus SecKeychainSetDomainSearchList(SecPreferencesDomain domain, CFArrayRef searchList);
OSStatus SecKeychainSetPreferenceDomain(SecPreferencesDomain domain);
OSStatus SecKeychainGetPreferenceDomain(SecPreferencesDomain *domain);
# 435 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainGetStatus(SecKeychainRef keychain, SecKeychainStatus *keychainStatus);
# 445 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainGetPath(SecKeychainRef keychain, UInt32 *ioPathLength, char *pathName);
#pragma mark ---- Keychain Item Attribute Information ----
# 457 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainAttributeInfoForItemID(SecKeychainRef keychain, UInt32 itemID, SecKeychainAttributeInfo **info);
OSStatus SecKeychainFreeAttributeInfo(SecKeychainAttributeInfo *info);
#pragma mark ---- Keychain Manager Callbacks ----
# 484 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
typedef OSStatus (*SecKeychainCallback)(SecKeychainEvent keychainEvent, SecKeychainCallbackInfo *info, void *context);
# 494 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainAddCallback(SecKeychainCallback callbackFunction, SecKeychainEventMask eventMask, void* userContext);
OSStatus SecKeychainRemoveCallback(SecKeychainCallback callbackFunction);
#pragma mark ---- High Level Keychain Manager Calls ----
# 526 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainAddInternetPassword(SecKeychainRef keychain, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef);
# 549 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainFindInternetPassword(CFTypeRef keychainOrArray, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef);
# 565 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainAddGenericPassword(SecKeychainRef keychain, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef);
# 581 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainFindGenericPassword(CFTypeRef keychainOrArray, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef);
#pragma mark ---- Managing User Interaction ----
OSStatus SecKeychainSetUserInteractionAllowed(Boolean state);
OSStatus SecKeychainGetUserInteractionAllowed(Boolean *state);
#pragma mark ---- CSSM Bridge Functions ----
OSStatus SecKeychainGetCSPHandle(SecKeychainRef keychain, CSSM_CSP_HANDLE *cspHandle);
# 617 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainGetDLDBHandle(SecKeychainRef keychain, CSSM_DL_DB_HANDLE *dldbHandle);
#pragma mark ---- Keychain Access Management ----
OSStatus SecKeychainCopyAccess(SecKeychainRef keychain, SecAccessRef *access);
# 636 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainSetAccess(SecKeychainRef keychain, SecAccessRef access);
# 58 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 1 3
# 32 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
#define _SECURITY_SECKEYCHAINITEM_H_
# 45 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
typedef FourCharCode SecItemClass;
# 59 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
enum
{
kSecInternetPasswordItemClass = 'inet',
kSecGenericPasswordItemClass = 'genp',
kSecAppleSharePasswordItemClass = 'ashp',
kSecCertificateItemClass = CSSM_DL_DB_RECORD_X509_CERTIFICATE,
kSecPublicKeyItemClass = CSSM_DL_DB_RECORD_PUBLIC_KEY,
kSecPrivateKeyItemClass = CSSM_DL_DB_RECORD_PRIVATE_KEY,
kSecSymmetricKeyItemClass = CSSM_DL_DB_RECORD_SYMMETRIC_KEY
};
typedef FourCharCode SecItemAttr;
# 110 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
enum
{
kSecCreationDateItemAttr = 'cdat',
kSecModDateItemAttr = 'mdat',
kSecDescriptionItemAttr = 'desc',
kSecCommentItemAttr = 'icmt',
kSecCreatorItemAttr = 'crtr',
kSecTypeItemAttr = 'type',
kSecScriptCodeItemAttr = 'scrp',
kSecLabelItemAttr = 'labl',
kSecInvisibleItemAttr = 'invi',
kSecNegativeItemAttr = 'nega',
kSecCustomIconItemAttr = 'cusi',
kSecAccountItemAttr = 'acct',
kSecServiceItemAttr = 'svce',
kSecGenericItemAttr = 'gena',
kSecSecurityDomainItemAttr = 'sdmn',
kSecServerItemAttr = 'srvr',
kSecAuthenticationTypeItemAttr = 'atyp',
kSecPortItemAttr = 'port',
kSecPathItemAttr = 'path',
kSecVolumeItemAttr = 'vlme',
kSecAddressItemAttr = 'addr',
kSecSignatureItemAttr = 'ssig',
kSecProtocolItemAttr = 'ptcl',
kSecCertificateType = 'ctyp',
kSecCertificateEncoding = 'cenc',
kSecCrlType = 'crtp',
kSecCrlEncoding = 'crnc',
kSecAlias = 'alis'
};
typedef UInt8 SecAFPServerSignature[16];
typedef UInt8 SecPublicKeyHash[20];
#pragma mark ---- Keychain Item Management ----
CFTypeID SecKeychainItemGetTypeID(void);
# 172 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemModifyAttributesAndData(SecKeychainItemRef itemRef, const SecKeychainAttributeList *attrList, UInt32 length, const void *data);
# 186 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemCreateFromContent(SecItemClass itemClass, SecKeychainAttributeList *attrList,
UInt32 length, const void *data, SecKeychainRef keychainRef,
SecAccessRef initialAccess, SecKeychainItemRef *itemRef);
# 199 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemModifyContent(SecKeychainItemRef itemRef, const SecKeychainAttributeList *attrList, UInt32 length, const void *data);
# 211 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemCopyContent(SecKeychainItemRef itemRef, SecItemClass *itemClass, SecKeychainAttributeList *attrList, UInt32 *length, void **outData);
OSStatus SecKeychainItemFreeContent(SecKeychainAttributeList *attrList, void *data);
# 232 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemCopyAttributesAndData(SecKeychainItemRef itemRef, SecKeychainAttributeInfo *info, SecItemClass *itemClass, SecKeychainAttributeList **attrList, UInt32 *length, void **outData);
# 241 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemFreeAttributesAndData(SecKeychainAttributeList *attrList, void *data);
# 250 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemDelete(SecKeychainItemRef itemRef);
# 259 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemCopyKeychain(SecKeychainItemRef itemRef, SecKeychainRef *keychainRef);
# 270 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemCreateCopy(SecKeychainItemRef itemRef, SecKeychainRef destKeychainRef,
SecAccessRef initialAccess, SecKeychainItemRef *itemCopy);
#pragma mark ---- CSSM Bridge Functions ----
OSStatus SecKeychainItemGetDLDBHandle(SecKeychainItemRef keyItemRef, CSSM_DL_DB_HANDLE *dldbHandle);
# 291 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemGetUniqueRecordID(SecKeychainItemRef itemRef, const CSSM_DB_UNIQUE_RECORD **uniqueRecordID);
#pragma mark ---- Keychain Item Access Management ----
OSStatus SecKeychainItemCopyAccess(SecKeychainItemRef itemRef, SecAccessRef *access);
# 310 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemSetAccess(SecKeychainItemRef itemRef, SecAccessRef access);
# 59 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h" 3
#define _SECURITY_SECKEYCHAINSEARCH_H_
# 44 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h" 3
CFTypeID SecKeychainSearchGetTypeID(void);
# 55 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h" 3
OSStatus SecKeychainSearchCreateFromAttributes(CFTypeRef keychainOrArray, SecItemClass itemClass, const SecKeychainAttributeList *attrList, SecKeychainSearchRef *searchRef);
# 64 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h" 3
OSStatus SecKeychainSearchCopyNext(SecKeychainSearchRef searchRef, SecKeychainItemRef *itemRef);
# 60 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
#define _SECURITY_SECPOLICY_H_
# 45 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
CFTypeID SecPolicyGetTypeID(void);
# 54 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
OSStatus SecPolicyGetOID(SecPolicyRef policyRef, CSSM_OID *oid);
# 63 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
OSStatus SecPolicyGetValue(SecPolicyRef policyRef, CSSM_DATA *value);
# 72 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
OSStatus SecPolicySetValue(SecPolicyRef policyRef, const CSSM_DATA *value);
# 81 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
OSStatus SecPolicyGetTPHandle(SecPolicyRef policyRef, CSSM_TP_HANDLE *tpHandle);
# 61 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecPolicySearch.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecPolicySearch.h" 3
#define _SECURITY_SECPOLICYSEARCH_H_
# 44 "/System/Library/Frameworks/Security.framework/Headers/SecPolicySearch.h" 3
typedef struct OpaquePolicySearchRef *SecPolicySearchRef;
CFTypeID SecPolicySearchGetTypeID(void);
# 62 "/System/Library/Frameworks/Security.framework/Headers/SecPolicySearch.h" 3
OSStatus SecPolicySearchCreate(CSSM_CERT_TYPE certType, const CSSM_OID *policyOID, const CSSM_DATA *value, SecPolicySearchRef *searchRef);
# 71 "/System/Library/Frameworks/Security.framework/Headers/SecPolicySearch.h" 3
OSStatus SecPolicySearchCopyNext(SecPolicySearchRef searchRef, SecPolicyRef *policyRef);
# 62 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
#define _SECURITY_SECTRUST_H_
# 55 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
typedef enum {
kSecTrustResultInvalid,
kSecTrustResultProceed,
kSecTrustResultConfirm,
kSecTrustResultDeny,
kSecTrustResultUnspecified,
kSecTrustResultRecoverableTrustFailure,
kSecTrustResultFatalTrustFailure,
kSecTrustResultOtherError
} SecTrustResultType;
typedef SecTrustResultType SecTrustUserSetting;
typedef struct OpaqueSecTrustRef *SecTrustRef;
CFTypeID SecTrustGetTypeID(void);
# 93 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustCreateWithCertificates(CFArrayRef certificates, CFTypeRef policies, SecTrustRef *trustRef);
# 102 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetPolicies(SecTrustRef trust, CFTypeRef policies);
# 112 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetParameters(SecTrustRef trustRef, CSSM_TP_ACTION action, CFDataRef actionData);
# 121 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetAnchorCertificates(SecTrustRef trust, CFArrayRef anchorCertificates);
# 130 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetKeychains(SecTrustRef trust, CFTypeRef keychainOrArray);
# 139 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetVerifyDate(SecTrustRef trust, CFDateRef verifyDate);
# 148 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustEvaluate(SecTrustRef trust, SecTrustResultType *result);
# 159 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetResult(SecTrustRef trustRef, SecTrustResultType *result, CFArrayRef *certChain, CSSM_TP_APPLE_EVIDENCE_INFO **statusChain);
# 168 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetCssmResult(SecTrustRef trust, CSSM_TP_VERIFY_CONTEXT_RESULT_PTR *result);
# 177 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetCssmResultCode(SecTrustRef trust, OSStatus *resultCode);
# 186 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetTPHandle(SecTrustRef trust, CSSM_TP_HANDLE *handle);
# 195 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustCopyPolicies(SecTrustRef trust, CFArrayRef *policies);
# 205 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustCopyCustomAnchorCertificates(SecTrustRef trust, CFArrayRef *anchors);
OSStatus SecTrustCopyAnchorCertificates(CFArrayRef *anchors);
# 223 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetCSSMAnchorCertificates(const CSSM_DATA **cssmAnchors, uint32 *cssmAnchorCount)
__attribute__((deprecated));
# 235 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetUserTrust(SecCertificateRef certificate, SecPolicyRef policy, SecTrustUserSetting *trustSetting)
__attribute__((deprecated));
# 249 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetUserTrust(SecCertificateRef certificate, SecPolicyRef policy, SecTrustUserSetting trustSetting)
__attribute__((deprecated));
# 63 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 1 3
# 31 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 3
#define _SECURITY_SECTRUSTEDAPPLICATION_H_
# 46 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 3
CFTypeID SecTrustedApplicationGetTypeID(void);
# 57 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 3
OSStatus SecTrustedApplicationCreateFromPath(const char *path, SecTrustedApplicationRef *app);
# 66 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 3
OSStatus SecTrustedApplicationCopyData(SecTrustedApplicationRef appRef, CFDataRef *data);
# 75 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 3
OSStatus SecTrustedApplicationSetData(SecTrustedApplicationRef appRef, CFDataRef data);
# 64 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 3
#define _SECURITY_SEC_TRUST_SETTINGS_H_
# 171 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 3
#define kSecTrustSettingsPolicy CFSTR("kSecTrustSettingsPolicy")
#define kSecTrustSettingsApplication CFSTR("kSecTrustSettingsApplication")
#define kSecTrustSettingsPolicyString CFSTR("kSecTrustSettingsPolicyString")
#define kSecTrustSettingsKeyUsage CFSTR("kSecTrustSettingsKeyUsage")
#define kSecTrustSettingsAllowedError CFSTR("kSecTrustSettingsAllowedError")
#define kSecTrustSettingsResult CFSTR("kSecTrustSettingsResult")
enum {
kSecTrustSettingsKeyUseSignature = 0x00000001,
kSecTrustSettingsKeyUseEnDecryptData = 0x00000002,
kSecTrustSettingsKeyUseEnDecryptKey = 0x00000004,
kSecTrustSettingsKeyUseSignCert = 0x00000008,
kSecTrustSettingsKeyUseSignRevocation = 0x00000010,
kSecTrustSettingsKeyUseKeyExchange = 0x00000020,
kSecTrustSettingsKeyUseAny = 0xffffffff
};
typedef uint32 SecTrustSettingsKeyUsage;
enum {
kSecTrustSettingsResultInvalid = 0,
kSecTrustSettingsResultTrustRoot,
kSecTrustSettingsResultTrustAsRoot,
kSecTrustSettingsResultDeny,
kSecTrustSettingsResultUnspecified
};
typedef uint32 SecTrustSettingsResult;
enum {
kSecTrustSettingsDomainUser = 0,
kSecTrustSettingsDomainAdmin,
kSecTrustSettingsDomainSystem
};
typedef uint32 SecTrustSettingsDomain;
# 242 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 3
#define kSecTrustSettingsDefaultRootCertSetting ((SecCertificateRef)-1)
OSStatus SecTrustSettingsCopyTrustSettings(
SecCertificateRef certRef,
SecTrustSettingsDomain domain,
CFArrayRef *trustSettings);
# 262 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 3
OSStatus SecTrustSettingsSetTrustSettings(
SecCertificateRef certRef,
SecTrustSettingsDomain domain,
CFTypeRef trustSettingsDictOrArray);
OSStatus SecTrustSettingsRemoveTrustSettings(
SecCertificateRef certRef,
SecTrustSettingsDomain domain);
# 283 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 3
OSStatus SecTrustSettingsCopyCertificates(
SecTrustSettingsDomain domain,
CFArrayRef *certArray);
OSStatus SecTrustSettingsCopyModificationDate(
SecCertificateRef certRef,
SecTrustSettingsDomain domain,
CFDateRef *modificationDate);
OSStatus SecTrustSettingsCreateExternalRepresentation(
SecTrustSettingsDomain domain,
CFDataRef *trustSettings);
OSStatus SecTrustSettingsImportExternalRepresentation(
SecTrustSettingsDomain domain,
CFDataRef trustSettings);
# 65 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 3
#define _SECURITY_SEC_IMPORT_EXPORT_H_
# 45 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 3
enum
{
kSecFormatUnknown = 0,
kSecFormatOpenSSL,
kSecFormatSSH,
kSecFormatBSAFE,
kSecFormatRawKey,
kSecFormatWrappedPKCS8,
kSecFormatWrappedOpenSSL,
kSecFormatWrappedSSH,
kSecFormatWrappedLSH,
kSecFormatX509Cert,
kSecFormatPEMSequence,
kSecFormatPKCS7,
kSecFormatPKCS12,
kSecFormatNetscapeCertSequence,
kSecFormatSSHv2
};
typedef uint32_t SecExternalFormat;
enum {
kSecItemTypeUnknown,
kSecItemTypePrivateKey,
kSecItemTypePublicKey,
kSecItemTypeSessionKey,
kSecItemTypeCertificate,
kSecItemTypeAggregate
};
typedef uint32_t SecExternalItemType;
enum
{
kSecItemPemArmour = 0x00000001,
};
typedef uint32_t SecItemImportExportFlags;
enum
{
kSecKeyImportOnlyOne = 0x00000001,
# 127 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 3
kSecKeySecurePassphrase = 0x00000002,
kSecKeyNoAccessControl = 0x00000004
};
typedef uint32_t SecKeyImportExportFlags;
#define SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION 0
typedef struct
{
uint32_t version;
SecKeyImportExportFlags flags;
CFTypeRef passphrase;
CFStringRef alertTitle;
CFStringRef alertPrompt;
SecAccessRef accessRef;
CSSM_KEYUSE keyUsage;
CSSM_KEYATTR_FLAGS keyAttributes;
} SecKeyImportExportParameters;
# 215 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 3
OSStatus SecKeychainItemExport(
CFTypeRef keychainItemOrArray,
SecExternalFormat outputFormat,
SecItemImportExportFlags flags,
const SecKeyImportExportParameters *keyParams,
CFDataRef *exportedData);
# 370 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 3
OSStatus SecKeychainItemImport(
CFDataRef importedData,
CFStringRef fileNameOrExtension,
SecExternalFormat *inputFormat,
SecExternalItemType *itemType,
SecItemImportExportFlags flags,
const SecKeyImportExportParameters *keyParams,
SecKeychainRef importKeychain,
CFArrayRef *outItems);
# 66 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationTags.h" 1 3
# 31 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationTags.h" 3
#define _SECURITY_AUTHORIZATIONTAGS_H_
# 45 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationTags.h" 3
#define kAuthorizationEnvironmentUsername "username"
#define kAuthorizationEnvironmentPassword "password"
#define kAuthorizationEnvironmentShared "shared"
#define kAuthorizationRightExecute "system.privilege.admin"
#define kAuthorizationEnvironmentPrompt "prompt"
#define kAuthorizationEnvironmentIcon "icon"
# 69 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 3
#define _SECURITY_AUTHORIZATIONDB_H_
# 61 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 3
#define kAuthorizationRightRule "rule"
#define kAuthorizationRuleIsAdmin "is-admin"
#define kAuthorizationRuleAuthenticateAsSessionUser "authenticate-session-owner"
#define kAuthorizationRuleAuthenticateAsAdmin "authenticate-admin"
#define kAuthorizationRuleClassAllow "allow"
#define kAuthorizationRuleClassDeny "deny"
#define kAuthorizationComment "comment"
# 109 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 3
OSStatus AuthorizationRightGet(const char *rightName,
CFDictionaryRef *rightDefinition);
# 133 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 3
OSStatus AuthorizationRightSet(AuthorizationRef authRef,
const char *rightName,
CFTypeRef rightDefinition,
CFStringRef descriptionKey,
CFBundleRef bundle,
CFStringRef localeTableName);
# 151 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 3
OSStatus AuthorizationRightRemove(AuthorizationRef authRef,
const char *rightName);
# 70 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h" 1 3
# 28 "/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h" 3
#define _SECURITY_CIPHERSUITE_H_
# 37 "/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h" 3
typedef UInt32 SSLCipherSuite;
enum
{ SSL_NULL_WITH_NULL_NULL = 0x0000,
SSL_RSA_WITH_NULL_MD5 = 0x0001,
SSL_RSA_WITH_NULL_SHA = 0x0002,
SSL_RSA_EXPORT_WITH_RC4_40_MD5 = 0x0003,
SSL_RSA_WITH_RC4_128_MD5 = 0x0004,
SSL_RSA_WITH_RC4_128_SHA = 0x0005,
SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5 = 0x0006,
SSL_RSA_WITH_IDEA_CBC_SHA = 0x0007,
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA = 0x0008,
SSL_RSA_WITH_DES_CBC_SHA = 0x0009,
SSL_RSA_WITH_3DES_EDE_CBC_SHA = 0x000A,
SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA = 0x000B,
SSL_DH_DSS_WITH_DES_CBC_SHA = 0x000C,
SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA = 0x000D,
SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA = 0x000E,
SSL_DH_RSA_WITH_DES_CBC_SHA = 0x000F,
SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA = 0x0010,
SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA = 0x0011,
SSL_DHE_DSS_WITH_DES_CBC_SHA = 0x0012,
SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA = 0x0013,
SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA = 0x0014,
SSL_DHE_RSA_WITH_DES_CBC_SHA = 0x0015,
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA = 0x0016,
SSL_DH_anon_EXPORT_WITH_RC4_40_MD5 = 0x0017,
SSL_DH_anon_WITH_RC4_128_MD5 = 0x0018,
SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA = 0x0019,
SSL_DH_anon_WITH_DES_CBC_SHA = 0x001A,
SSL_DH_anon_WITH_3DES_EDE_CBC_SHA = 0x001B,
SSL_FORTEZZA_DMS_WITH_NULL_SHA = 0x001C,
SSL_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA = 0x001D,
TLS_RSA_WITH_AES_128_CBC_SHA = 0x002F,
TLS_DH_DSS_WITH_AES_128_CBC_SHA = 0x0030,
TLS_DH_RSA_WITH_AES_128_CBC_SHA = 0x0031,
TLS_DHE_DSS_WITH_AES_128_CBC_SHA = 0x0032,
TLS_DHE_RSA_WITH_AES_128_CBC_SHA = 0x0033,
TLS_DH_anon_WITH_AES_128_CBC_SHA = 0x0034,
TLS_RSA_WITH_AES_256_CBC_SHA = 0x0035,
TLS_DH_DSS_WITH_AES_256_CBC_SHA = 0x0036,
TLS_DH_RSA_WITH_AES_256_CBC_SHA = 0x0037,
TLS_DHE_DSS_WITH_AES_256_CBC_SHA = 0x0038,
TLS_DHE_RSA_WITH_AES_256_CBC_SHA = 0x0039,
TLS_DH_anon_WITH_AES_256_CBC_SHA = 0x003A,
SSL_RSA_WITH_RC2_CBC_MD5 = 0xFF80,
SSL_RSA_WITH_IDEA_CBC_MD5 = 0xFF81,
SSL_RSA_WITH_DES_CBC_MD5 = 0xFF82,
SSL_RSA_WITH_3DES_EDE_CBC_MD5 = 0xFF83,
SSL_NO_SUCH_CIPHERSUITE = 0xFFFF
};
# 72 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 1 3
# 29 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
#define _SECURITY_SECURETRANSPORT_H_
# 74 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
struct SSLContext;
typedef struct SSLContext *SSLContextRef;
typedef const void * SSLConnectionRef;
typedef enum {
kSSLProtocolUnknown,
kSSLProtocol2,
kSSLProtocol3,
kSSLProtocol3Only,
kTLSProtocol1,
kTLSProtocol1Only,
kSSLProtocolAll
} SSLProtocol;
typedef enum {
kSSLIdle,
kSSLHandshake,
kSSLConnected,
kSSLClosed,
kSSLAborted
} SSLSessionState;
typedef enum {
kSSLClientCertNone,
kSSLClientCertRequested,
kSSLClientCertSent,
kSSLClientCertRejected
} SSLClientCertificateState;
# 141 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
typedef OSStatus
(*SSLReadFunc) (SSLConnectionRef connection,
void *data,
size_t *dataLength);
typedef OSStatus
(*SSLWriteFunc) (SSLConnectionRef connection,
const void *data,
size_t *dataLength);
# 164 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
enum {
errSSLProtocol = -9800,
errSSLNegotiation = -9801,
errSSLFatalAlert = -9802,
errSSLWouldBlock = -9803,
errSSLSessionNotFound = -9804,
errSSLClosedGraceful = -9805,
errSSLClosedAbort = -9806,
errSSLXCertChainInvalid = -9807,
errSSLBadCert = -9808,
errSSLCrypto = -9809,
errSSLInternal = -9810,
errSSLModuleAttach = -9811,
errSSLUnknownRootCert = -9812,
errSSLNoRootCert = -9813,
errSSLCertExpired = -9814,
errSSLCertNotYetValid = -9815,
errSSLClosedNoNotify = -9816,
errSSLBufferOverflow = -9817,
errSSLBadCipherSuite = -9818,
errSSLPeerUnexpectedMsg = -9819,
errSSLPeerBadRecordMac = -9820,
errSSLPeerDecryptionFail = -9821,
errSSLPeerRecordOverflow = -9822,
errSSLPeerDecompressFail = -9823,
errSSLPeerHandshakeFail = -9824,
errSSLPeerBadCert = -9825,
errSSLPeerUnsupportedCert = -9826,
errSSLPeerCertRevoked = -9827,
errSSLPeerCertExpired = -9828,
errSSLPeerCertUnknown = -9829,
errSSLIllegalParam = -9830,
errSSLPeerUnknownCA = -9831,
errSSLPeerAccessDenied = -9832,
errSSLPeerDecodeError = -9833,
errSSLPeerDecryptError = -9834,
errSSLPeerExportRestriction = -9835,
errSSLPeerProtocolVersion = -9836,
errSSLPeerInsufficientSecurity = -9837,
errSSLPeerInternalError = -9838,
errSSLPeerUserCancelled = -9839,
errSSLPeerNoRenegotiation = -9840,
errSSLHostNameMismatch = -9843,
errSSLConnectionRefused = -9844,
errSSLDecryptionFail = -9845,
errSSLBadRecordMac = -9846,
errSSLRecordOverflow = -9847,
errSSLBadConfiguration = -9848,
errSSLLast = -9849
};
# 227 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLNewContext (Boolean isServer,
SSLContextRef *contextPtr);
OSStatus
SSLDisposeContext (SSLContextRef context);
OSStatus
SSLGetSessionState (SSLContextRef context,
SSLSessionState *state);
# 254 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetIOFuncs (SSLContextRef context,
SSLReadFunc read,
SSLWriteFunc write);
# 272 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetProtocolVersionEnabled (SSLContextRef context,
SSLProtocol protocol,
Boolean enable);
OSStatus
SSLGetProtocolVersionEnabled(SSLContextRef context,
SSLProtocol protocol,
Boolean *enable);
# 294 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetProtocolVersion (SSLContextRef context,
SSLProtocol version);
# 306 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLGetProtocolVersion (SSLContextRef context,
SSLProtocol *protocol);
# 334 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetCertificate (SSLContextRef context,
CFArrayRef certRefs);
# 348 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetConnection (SSLContextRef context,
SSLConnectionRef connection);
OSStatus
SSLGetConnection (SSLContextRef context,
SSLConnectionRef *connection);
# 363 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetPeerDomainName (SSLContextRef context,
const char *peerName,
size_t peerNameLen);
OSStatus
SSLGetPeerDomainNameLength (SSLContextRef context,
size_t *peerNameLen);
OSStatus
SSLGetPeerDomainName (SSLContextRef context,
char *peerName,
size_t *peerNameLen);
OSStatus
SSLGetNegotiatedProtocolVersion (SSLContextRef context,
SSLProtocol *protocol);
OSStatus
SSLGetNumberSupportedCiphers (SSLContextRef context,
size_t *numCiphers);
OSStatus
SSLGetSupportedCiphers (SSLContextRef context,
SSLCipherSuite *ciphers,
size_t *numCiphers);
OSStatus
SSLSetEnabledCiphers (SSLContextRef context,
const SSLCipherSuite *ciphers,
size_t numCiphers);
OSStatus
SSLGetNumberEnabledCiphers (SSLContextRef context,
size_t *numCiphers);
OSStatus
SSLGetEnabledCiphers (SSLContextRef context,
SSLCipherSuite *ciphers,
size_t *numCiphers);
# 441 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetEnableCertVerify (SSLContextRef context,
Boolean enableVerify);
OSStatus
SSLGetEnableCertVerify (SSLContextRef context,
Boolean *enableVerify);
# 456 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetAllowsExpiredCerts (SSLContextRef context,
Boolean allowsExpired);
OSStatus
SSLGetAllowsExpiredCerts (SSLContextRef context,
Boolean *allowsExpired);
OSStatus
SSLSetAllowsExpiredRoots (SSLContextRef context,
Boolean allowsExpired);
OSStatus
SSLGetAllowsExpiredRoots (SSLContextRef context,
Boolean *allowsExpired);
# 496 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetAllowsAnyRoot (SSLContextRef context,
Boolean anyRoot);
OSStatus
SSLGetAllowsAnyRoot (SSLContextRef context,
Boolean *anyRoot);
# 519 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetTrustedRoots (SSLContextRef context,
CFArrayRef trustedRoots,
Boolean replaceExisting);
# 533 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLGetTrustedRoots (SSLContextRef context,
CFArrayRef *trustedRoots)
__attribute__((deprecated));
# 545 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLCopyTrustedRoots (SSLContextRef context,
CFArrayRef *trustedRoots);
# 563 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLGetPeerCertificates (SSLContextRef context,
CFArrayRef *certs)
__attribute__((deprecated));
# 579 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLCopyPeerCertificates (SSLContextRef context,
CFArrayRef *certs);
# 597 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetPeerID (SSLContextRef context,
const void *peerID,
size_t peerIDLen);
OSStatus
SSLGetPeerID (SSLContextRef context,
const void **peerID,
size_t *peerIDLen);
OSStatus
SSLGetNegotiatedCipher (SSLContextRef context,
SSLCipherSuite *cipherSuite);
# 656 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetEncryptionCertificate (SSLContextRef context,
CFArrayRef certRefs);
typedef enum {
kNeverAuthenticate,
kAlwaysAuthenticate,
kTryAuthenticate
} SSLAuthenticate;
OSStatus
SSLSetClientSideAuthenticate (SSLContextRef context,
SSLAuthenticate auth);
OSStatus
SSLAddDistinguishedName (SSLContextRef context,
const void *derDN,
size_t derDNLen);
# 699 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetCertificateAuthorities(SSLContextRef context,
CFTypeRef certificateOrArray,
Boolean replaceExisting);
OSStatus
SSLCopyCertificateAuthorities(SSLContextRef context,
CFArrayRef *certificates);
# 727 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLCopyDistinguishedNames (SSLContextRef context,
CFArrayRef *names);
# 738 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLGetClientCertificateState (SSLContextRef context,
SSLClientCertificateState *clientState);
OSStatus SSLSetDiffieHellmanParams (SSLContextRef context,
const void *dhParams,
size_t dhParamsLen);
OSStatus SSLGetDiffieHellmanParams (SSLContextRef context,
const void **dhParams,
size_t *dhParamsLen);
OSStatus SSLSetRsaBlinding (SSLContextRef context,
Boolean blinding);
OSStatus SSLGetRsaBlinding (SSLContextRef context,
Boolean *blinding);
# 809 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLHandshake (SSLContextRef context);
OSStatus
SSLWrite (SSLContextRef context,
const void * data,
size_t dataLength,
size_t *processed);
OSStatus
SSLRead (SSLContextRef context,
void * data,
size_t dataLength,
size_t *processed);
OSStatus
SSLGetBufferedReadSize (SSLContextRef context,
size_t *bufSize);
OSStatus
SSLClose (SSLContextRef context);
# 72 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 2 3
# 53 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
typedef struct OpaqueLSSharedFileListRef* LSSharedFileListRef;
typedef struct OpaqueLSSharedFileListItemRef* LSSharedFileListItemRef;
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListFavoriteVolumes ;
# 77 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListFavoriteItems ;
# 88 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListRecentApplicationItems ;
# 99 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListRecentDocumentItems ;
# 110 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListRecentServerItems ;
# 121 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListSessionLoginItems ;
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListGlobalLoginItems ;
# 150 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListRecentItemsMaxAmount ;
# 164 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListVolumesComputerVisible ;
# 178 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListVolumesIDiskVisible ;
# 192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListVolumesNetworkVisible ;
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern LSSharedFileListItemRef kLSSharedFileListItemBeforeFirst ;
# 223 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern LSSharedFileListItemRef kLSSharedFileListItemLast ;
# 240 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListItemHidden ;
enum {
kLSSharedFileListNoUserInteraction = 1 << 0,
kLSSharedFileListDoNotMountVolumes = 1 << 1
};
# 257 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
typedef void ( * LSSharedFileListChangedProcPtr)(LSSharedFileListRef inList, void *context);
# 277 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFTypeID
LSSharedFileListGetTypeID(void) ;
# 299 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFTypeID
LSSharedFileListItemGetTypeID(void) ;
# 340 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern LSSharedFileListRef
LSSharedFileListCreate(
CFAllocatorRef inAllocator,
CFStringRef inListType,
CFTypeRef listOptions) ;
# 376 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListSetAuthorization(
LSSharedFileListRef inList,
AuthorizationRef inAuthorization) ;
# 418 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern void
LSSharedFileListAddObserver(
LSSharedFileListRef inList,
CFRunLoopRef inRunloop,
CFStringRef inRunloopMode,
LSSharedFileListChangedProcPtr callback,
void * context) ;
# 461 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern void
LSSharedFileListRemoveObserver(
LSSharedFileListRef inList,
CFRunLoopRef inRunloop,
CFStringRef inRunloopMode,
LSSharedFileListChangedProcPtr callback,
void * context) ;
# 492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern UInt32
LSSharedFileListGetSeedValue(LSSharedFileListRef inList) ;
# 526 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFTypeRef
LSSharedFileListCopyProperty(
LSSharedFileListRef inList,
CFStringRef inPropertyName) ;
# 560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListSetProperty(
LSSharedFileListRef inList,
CFStringRef inPropertyName,
CFTypeRef inPropertyData) ;
# 597 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFArrayRef
LSSharedFileListCopySnapshot(
LSSharedFileListRef inList,
UInt32 * outSnapshotSeed) ;
# 654 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern LSSharedFileListItemRef
LSSharedFileListInsertItemURL(
LSSharedFileListRef inList,
LSSharedFileListItemRef insertAfterThisItem,
CFStringRef inDisplayName,
IconRef inIconRef,
CFURLRef inURL,
CFDictionaryRef inPropertiesToSet,
CFArrayRef inPropertiesToClear) ;
# 716 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern LSSharedFileListItemRef
LSSharedFileListInsertItemFSRef(
LSSharedFileListRef inList,
LSSharedFileListItemRef insertAfterThisItem,
CFStringRef inDisplayName,
IconRef inIconRef,
const FSRef * inFSRef,
CFDictionaryRef inPropertiesToSet,
CFArrayRef inPropertiesToClear) ;
# 757 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListItemMove(
LSSharedFileListRef inList,
LSSharedFileListItemRef inItem,
LSSharedFileListItemRef inMoveAfterItem) ;
# 789 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListItemRemove(
LSSharedFileListRef inList,
LSSharedFileListItemRef inItem) ;
# 817 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListRemoveAllItems(LSSharedFileListRef inList) ;
# 838 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern UInt32
LSSharedFileListItemGetID(LSSharedFileListItemRef inItem) ;
# 863 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern IconRef
LSSharedFileListItemCopyIconRef(LSSharedFileListItemRef inItem) ;
# 885 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef
LSSharedFileListItemCopyDisplayName(LSSharedFileListItemRef inItem) ;
# 921 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListItemResolve(
LSSharedFileListItemRef inItem,
UInt32 inFlags,
CFURLRef * outURL,
FSRef * outRef) ;
# 947 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFTypeRef
LSSharedFileListItemCopyProperty(
LSSharedFileListItemRef inItem,
CFStringRef inPropertyName) ;
# 970 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListItemSetProperty(
LSSharedFileListItemRef inItem,
CFStringRef inPropertyName,
CFTypeRef inPropertyData) ;
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
#define __UTCORETYPES__
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeItem ;
# 110 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeContent ;
# 119 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeCompositeContent ;
# 128 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeApplication ;
# 137 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMessage ;
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeContact ;
# 155 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeArchive ;
# 164 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeDiskImage ;
# 251 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeData ;
# 260 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeDirectory ;
# 269 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeResolvable ;
# 278 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeSymLink ;
# 287 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMountPoint ;
# 296 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAliasFile ;
# 305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAliasRecord ;
# 314 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeURL ;
# 323 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeFileURL ;
# 469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeText ;
# 478 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypePlainText ;
# 487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeUTF8PlainText ;
# 496 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeUTF16ExternalPlainText ;
# 505 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeUTF16PlainText ;
# 514 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeRTF ;
# 523 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeHTML ;
# 532 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeXML ;
# 541 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeSourceCode ;
# 550 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeCSource ;
# 559 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeObjectiveCSource ;
# 568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeCPlusPlusSource ;
# 577 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeObjectiveCPlusPlusSource ;
# 586 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeCHeader ;
# 595 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeCPlusPlusHeader ;
# 604 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeJavaSource ;
# 659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypePDF ;
# 668 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeRTFD ;
# 677 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeFlatRTFD ;
# 686 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeTXNTextAndMultimediaData ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeWebArchive ;
# 796 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeImage ;
# 805 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeJPEG ;
# 814 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeJPEG2000 ;
# 823 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeTIFF ;
# 832 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypePICT ;
# 841 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeGIF ;
# 850 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypePNG ;
# 859 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeQuickTimeImage ;
# 868 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAppleICNS ;
# 877 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeBMP ;
# 886 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeICO ;
# 982 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAudiovisualContent ;
# 991 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMovie ;
# 1000 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeVideo ;
# 1009 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAudio ;
# 1018 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeQuickTimeMovie ;
# 1027 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMPEG ;
# 1036 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMPEG4 ;
# 1045 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMP3 ;
# 1054 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMPEG4Audio ;
# 1063 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAppleProtectedMPEG4Audio ;
# 1115 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeFolder ;
# 1124 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeVolume ;
# 1133 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypePackage ;
# 1142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeBundle ;
# 1151 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeFramework ;
# 1179 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeApplicationBundle ;
# 1188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeApplicationFile ;
# 1208 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeVCard ;
# 1228 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeInkText ;
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
#define __UTTYPE__
# 217 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTExportedTypeDeclarationsKey ;
# 226 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTImportedTypeDeclarationsKey ;
# 235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeIdentifierKey ;
# 244 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeTagSpecificationKey ;
# 253 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeConformsToKey ;
# 262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeDescriptionKey ;
# 271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeIconFileKey ;
# 280 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeReferenceURLKey ;
# 289 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeVersionKey ;
# 307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTagClassFilenameExtension ;
# 316 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTagClassMIMEType ;
# 325 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTagClassNSPboardType ;
# 334 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTagClassOSType ;
# 385 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFStringRef
UTTypeCreatePreferredIdentifierForTag(
CFStringRef inTagClass,
CFStringRef inTag,
CFStringRef inConformingToUTI) ;
# 436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFArrayRef
UTTypeCreateAllIdentifiersForTag(
CFStringRef inTagClass,
CFStringRef inTag,
CFStringRef inConformingToUTI) ;
# 474 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFStringRef
UTTypeCopyPreferredTagWithClass(
CFStringRef inUTI,
CFStringRef inTagClass) ;
# 508 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern Boolean
UTTypeEqual(
CFStringRef inUTI1,
CFStringRef inUTI2) ;
# 539 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern Boolean
UTTypeConformsTo(
CFStringRef inUTI,
CFStringRef inConformsToUTI) ;
# 568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFStringRef
UTTypeCopyDescription(CFStringRef inUTI) ;
# 598 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFDictionaryRef
UTTypeCopyDeclaration(CFStringRef inUTI) ;
# 626 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFURLRef
UTTypeCopyDeclaringBundleURL(CFStringRef inUTI) ;
# 655 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFStringRef
UTCreateStringForOSType(OSType inOSType) ;
# 684 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern OSType
UTGetOSTypeFromString(CFStringRef inString) ;
# 46 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 42 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 1 3
# 22 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 3
#define __SEARCHKIT__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
#define __SKDOCUMENT__
# 51 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
typedef CFTypeRef SKDocumentRef;
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern CFTypeID
SKDocumentGetTypeID(void) ;
# 97 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern SKDocumentRef
SKDocumentCreateWithURL(CFURLRef inURL) ;
# 115 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern CFURLRef
SKDocumentCopyURL(SKDocumentRef inDocument) ;
# 156 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern SKDocumentRef
SKDocumentCreate(
CFStringRef inScheme,
SKDocumentRef inParent,
CFStringRef inName) ;
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern CFStringRef
SKDocumentGetSchemeName(SKDocumentRef inDocument) ;
# 205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern CFStringRef
SKDocumentGetName(SKDocumentRef inDocument) ;
# 229 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern SKDocumentRef
SKDocumentGetParent(SKDocumentRef inDocument) ;
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
#define __SKANALYSIS__
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKLanguageTypes ;
# 77 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKMinTermLength ;
# 94 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKSubstitutions ;
# 111 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKStopWords ;
# 130 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKProximityIndexing ;
# 150 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKMaximumTerms ;
# 169 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKTermChars ;
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKStartTermChars ;
# 207 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKEndTermChars ;
# 35 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
#define __SKINDEX__
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
typedef struct __SKIndex* SKIndexRef;
# 74 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFTypeID
SKIndexGetTypeID(void) ;
# 86 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
typedef struct __SKIndexDocumentIterator* SKIndexDocumentIteratorRef;
# 98 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFTypeID
SKIndexDocumentIteratorGetTypeID(void) ;
# 112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
enum SKIndexType {
kSKIndexUnknown = 0,
kSKIndexInverted = 1,
kSKIndexVector = 2,
kSKIndexInvertedVector = 3
};
typedef enum SKIndexType SKIndexType;
# 144 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
enum SKDocumentIndexState {
kSKDocumentStateNotIndexed = 0,
kSKDocumentStateIndexed = 1,
kSKDocumentStateAddPending = 2,
kSKDocumentStateDeletePending = 3
};
typedef enum SKDocumentIndexState SKDocumentIndexState;
# 213 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexRef
SKIndexCreateWithURL(
CFURLRef inURL,
CFStringRef inIndexName,
SKIndexType inIndexType,
CFDictionaryRef inAnalysisProperties) ;
# 254 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexRef
SKIndexOpenWithURL(
CFURLRef inURL,
CFStringRef inIndexName,
Boolean inWriteAccess) ;
# 293 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexRef
SKIndexCreateWithMutableData(
CFMutableDataRef inData,
CFStringRef inIndexName,
SKIndexType inIndexType,
CFDictionaryRef inAnalysisProperties) ;
# 330 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexRef
SKIndexOpenWithData(
CFDataRef inData,
CFStringRef inIndexName) ;
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexRef
SKIndexOpenWithMutableData(
CFMutableDataRef inData,
CFStringRef inIndexName) ;
# 393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexFlush(SKIndexRef inIndex) ;
# 408 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern void
SKIndexSetMaximumBytesBeforeFlush(
SKIndexRef inIndex,
CFIndex inBytesForUpdate) ;
# 429 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetMaximumBytesBeforeFlush(SKIndexRef inIndex) ;
# 455 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexCompact(SKIndexRef inIndex) ;
# 478 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexType
SKIndexGetIndexType(SKIndexRef inIndex) ;
# 497 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFDictionaryRef
SKIndexGetAnalysisProperties(SKIndexRef inIndex) ;
# 521 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetDocumentCount(SKIndexRef inIndex) ;
# 536 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern void
SKIndexClose(SKIndexRef inIndex) ;
typedef CFIndex SKDocumentID;
# 574 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexAddDocumentWithText(
SKIndexRef inIndex,
SKDocumentRef inDocument,
CFStringRef inDocumentText,
Boolean inCanReplace) ;
# 623 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexAddDocument(
SKIndexRef inIndex,
SKDocumentRef inDocument,
CFStringRef inMIMETypeHint,
Boolean inCanReplace) ;
# 655 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexRemoveDocument(
SKIndexRef inIndex,
SKDocumentRef inDocument) ;
# 676 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFDictionaryRef
SKIndexCopyDocumentProperties(
SKIndexRef inIndex,
SKDocumentRef inDocument) ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern void
SKIndexSetDocumentProperties(
SKIndexRef inIndex,
SKDocumentRef inDocument,
CFDictionaryRef inProperties) ;
# 720 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKDocumentIndexState
SKIndexGetDocumentState(
SKIndexRef inIndex,
SKDocumentRef inDocument) ;
# 741 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKDocumentID
SKIndexGetDocumentID(
SKIndexRef inIndex,
SKDocumentRef inDocument) ;
# 758 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKDocumentRef
SKIndexCopyDocumentForDocumentID(
SKIndexRef inIndex,
SKDocumentID inDocumentID) ;
# 775 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexRenameDocument(
SKIndexRef inIndex,
SKDocumentRef inDocument,
CFStringRef inNewName) ;
# 793 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexMoveDocument(
SKIndexRef inIndex,
SKDocumentRef inDocument,
SKDocumentRef inNewParent) ;
# 812 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexDocumentIteratorRef
SKIndexDocumentIteratorCreate(
SKIndexRef inIndex,
SKDocumentRef inParentDocument) ;
# 834 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKDocumentRef
SKIndexDocumentIteratorCopyNext(SKIndexDocumentIteratorRef inIterator) ;
# 852 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKDocumentID
SKIndexGetMaximumDocumentID(SKIndexRef inIndex) ;
# 867 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetDocumentTermCount(
SKIndexRef inIndex,
SKDocumentID inDocumentID) ;
# 887 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFArrayRef
SKIndexCopyTermIDArrayForDocumentID(
SKIndexRef inIndex,
SKDocumentID inDocumentID) ;
# 904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetDocumentTermFrequency(
SKIndexRef inIndex,
SKDocumentID inDocumentID,
CFIndex inTermID) ;
# 927 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetMaximumTermID(SKIndexRef inIndex) ;
# 942 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetTermDocumentCount(
SKIndexRef inIndex,
CFIndex inTermID) ;
# 962 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFArrayRef
SKIndexCopyDocumentIDArrayForTermID(
SKIndexRef inIndex,
CFIndex inTermID) ;
# 979 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFStringRef
SKIndexCopyTermStringForTermID(
SKIndexRef inIndex,
CFIndex inTermID) ;
# 999 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetTermIDForTermString(
SKIndexRef inIndex,
CFStringRef inTermString) ;
# 1025 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern void
SKLoadDefaultExtractorPlugIns(void) ;
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
#define __SKSEARCH__
# 69 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
typedef struct __SKSearchGroup* SKSearchGroupRef;
# 81 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFTypeID
SKSearchGroupGetTypeID(void) ;
# 92 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
typedef struct __SKSearchResults* SKSearchResultsRef;
# 104 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFTypeID
SKSearchResultsGetTypeID(void) ;
# 120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
enum SKSearchType {
kSKSearchRanked = 0,
kSKSearchBooleanRanked = 1,
kSKSearchRequiredRanked = 2,
kSKSearchPrefixRanked = 3
};
typedef enum SKSearchType SKSearchType;
# 157 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
typedef Boolean ( * SKSearchResultsFilterCallBack)(SKIndexRef inIndex, SKDocumentRef inDocument, void *inContext);
# 180 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern SKSearchGroupRef
SKSearchGroupCreate(CFArrayRef inArrayOfInIndexes) __attribute__((deprecated));
# 198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFArrayRef
SKSearchGroupCopyIndexes(SKSearchGroupRef inSearchGroup) __attribute__((deprecated));
# 244 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern SKSearchResultsRef
SKSearchResultsCreateWithQuery(
SKSearchGroupRef inSearchGroup,
CFStringRef inQuery,
SKSearchType inSearchType,
CFIndex inMaxFoundDocuments,
void * inContext,
SKSearchResultsFilterCallBack inFilterCallBack) __attribute__((deprecated));
# 294 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern SKSearchResultsRef
SKSearchResultsCreateWithDocuments(
SKSearchGroupRef inSearchGroup,
CFArrayRef inExampleDocuments,
CFIndex inMaxFoundDocuments,
void * inContext,
SKSearchResultsFilterCallBack inFilterCallBack) __attribute__((deprecated));
# 314 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFIndex
SKSearchResultsGetCount(SKSearchResultsRef inSearchResults) __attribute__((deprecated));
# 363 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFIndex
SKSearchResultsGetInfoInRange(
SKSearchResultsRef inSearchResults,
CFRange inRange,
SKDocumentRef * outDocumentsArray,
SKIndexRef * outIndexesArray,
float * outScoresArray) __attribute__((deprecated));
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFArrayRef
SKSearchResultsCopyMatchingTerms(
SKSearchResultsRef inSearchResults,
CFIndex inItem) __attribute__((deprecated));
# 411 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
typedef struct __SKSearch* SKSearchRef;
# 423 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFTypeID
SKSearchGetTypeID(void) ;
# 435 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
typedef UInt32 SKSearchOptions;
enum {
kSKSearchOptionDefault = 0,
kSKSearchOptionNoRelevanceScores = 1L << 0,
kSKSearchOptionSpaceMeansOR = 1L << 1,
kSKSearchOptionFindSimilar = 1L << 2
};
# 473 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern SKSearchRef
SKSearchCreate(
SKIndexRef inIndex,
CFStringRef inQuery,
SKSearchOptions inSearchOptions) ;
# 491 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern void
SKSearchCancel(SKSearchRef inSearch) ;
# 539 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern Boolean
SKSearchFindMatches(
SKSearchRef inSearch,
CFIndex inMaximumCount,
SKDocumentID * outDocumentIDsArray,
float * outScoresArray,
CFTimeInterval maximumTime,
CFIndex * outFoundCount) ;
# 580 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern void
SKIndexCopyInfoForDocumentIDs(
SKIndexRef inIndex,
CFIndex inCount,
SKDocumentID * inDocumentIDsArray,
CFStringRef * outNamesArray,
SKDocumentID * outParentIDsArray) ;
# 614 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern void
SKIndexCopyDocumentRefsForDocumentIDs(
SKIndexRef inIndex,
CFIndex inCount,
SKDocumentID * inDocumentIDsArray,
SKDocumentRef * outDocumentRefsArray) ;
# 647 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern void
SKIndexCopyDocumentURLsForDocumentIDs(
SKIndexRef inIndex,
CFIndex inCount,
SKDocumentID * inDocumentIDsArray,
CFURLRef * outDocumentURLsArray) ;
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
#define __SKSUMMARY__
# 53 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
typedef struct __SKSummary* SKSummaryRef;
# 68 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFTypeID
SKSummaryGetTypeID(void) ;
# 96 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern SKSummaryRef
SKSummaryCreateWithString(CFStringRef inString) ;
# 116 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFIndex
SKSummaryGetSentenceCount(SKSummaryRef summary) ;
# 136 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFIndex
SKSummaryGetParagraphCount(SKSummaryRef summary) ;
# 159 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFStringRef
SKSummaryCopySentenceAtIndex(
SKSummaryRef summary,
CFIndex i) ;
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFStringRef
SKSummaryCopyParagraphAtIndex(
SKSummaryRef summary,
CFIndex i) ;
# 210 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFStringRef
SKSummaryCopySentenceSummaryString(
SKSummaryRef summary,
CFIndex numSentences) ;
# 236 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFStringRef
SKSummaryCopyParagraphSummaryString(
SKSummaryRef summary,
CFIndex numParagraphs) ;
# 277 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFIndex
SKSummaryGetSentenceSummaryInfo(
SKSummaryRef summary,
CFIndex numSentencesInSummary,
CFIndex * outRankOrderOfSentences,
CFIndex * outSentenceIndexOfSentences,
CFIndex * outParagraphIndexOfSentences) ;
# 317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFIndex
SKSummaryGetParagraphSummaryInfo(
SKSummaryRef summary,
CFIndex numParagraphsInSummary,
CFIndex * outRankOrderOfParagraphs,
CFIndex * outParagraphIndexOfParagraphs) ;
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 2 3
# 46 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h" 1 3
#define __METADATA_METADATA__ 1
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 1 3
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
#define __MDITEM__ 1
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
#define MD_EXPORT extern
#define MD_AVAIL AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER
#define MD_AVAIL_LEOPARD AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER
#define MD_BEGIN_C_DECLS
#define MD_END_C_DECLS
#define MD_DEPRECATED __attribute__ ((deprecated))
typedef struct __MDItem *MDItemRef;
extern CFTypeID MDItemGetTypeID(void) ;
# 88 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern MDItemRef MDItemCreate(CFAllocatorRef allocator, CFStringRef path) ;
# 98 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern CFTypeRef MDItemCopyAttribute(MDItemRef item, CFStringRef name) ;
# 111 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern CFDictionaryRef MDItemCopyAttributes(MDItemRef item, CFArrayRef names) ;
# 125 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern CFDictionaryRef MDItemCopyAttributeList(MDItemRef item, ... ) ;
# 134 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern CFArrayRef MDItemCopyAttributeNames(MDItemRef item) ;
# 400 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemAttributeChangeDate ;
extern const CFStringRef kMDItemContentType ;
extern const CFStringRef kMDItemContentTypeTree ;
extern const CFStringRef kMDItemKeywords ;
extern const CFStringRef kMDItemTitle ;
extern const CFStringRef kMDItemAuthors ;
extern const CFStringRef kMDItemEditors ;
extern const CFStringRef kMDItemProjects ;
extern const CFStringRef kMDItemWhereFroms ;
extern const CFStringRef kMDItemComment ;
extern const CFStringRef kMDItemCopyright ;
extern const CFStringRef kMDItemLastUsedDate ;
extern const CFStringRef kMDItemContentCreationDate ;
extern const CFStringRef kMDItemContentModificationDate ;
extern const CFStringRef kMDItemDurationSeconds ;
extern const CFStringRef kMDItemContactKeywords ;
extern const CFStringRef kMDItemVersion ;
extern const CFStringRef kMDItemPixelHeight ;
extern const CFStringRef kMDItemPixelWidth ;
extern const CFStringRef kMDItemColorSpace ;
extern const CFStringRef kMDItemBitsPerSample ;
extern const CFStringRef kMDItemFlashOnOff ;
extern const CFStringRef kMDItemFocalLength ;
extern const CFStringRef kMDItemAcquisitionMake ;
extern const CFStringRef kMDItemAcquisitionModel ;
extern const CFStringRef kMDItemISOSpeed ;
extern const CFStringRef kMDItemOrientation ;
extern const CFStringRef kMDItemLayerNames ;
extern const CFStringRef kMDItemWhiteBalance ;
extern const CFStringRef kMDItemAperture ;
extern const CFStringRef kMDItemProfileName ;
extern const CFStringRef kMDItemResolutionWidthDPI ;
extern const CFStringRef kMDItemResolutionHeightDPI ;
extern const CFStringRef kMDItemExposureMode ;
extern const CFStringRef kMDItemExposureTimeSeconds ;
extern const CFStringRef kMDItemEXIFVersion ;
extern const CFStringRef kMDItemEXIFGPSVersion ;
extern const CFStringRef kMDItemAltitude ;
extern const CFStringRef kMDItemLatitude ;
extern const CFStringRef kMDItemLongitude ;
extern const CFStringRef kMDItemSpeed ;
extern const CFStringRef kMDItemTimestamp ;
extern const CFStringRef kMDItemGPSTrack ;
extern const CFStringRef kMDItemImageDirection ;
extern const CFStringRef kMDItemCodecs ;
extern const CFStringRef kMDItemMediaTypes ;
extern const CFStringRef kMDItemStreamable ;
extern const CFStringRef kMDItemTotalBitRate ;
extern const CFStringRef kMDItemVideoBitRate ;
extern const CFStringRef kMDItemAudioBitRate ;
extern const CFStringRef kMDItemDeliveryType ;
extern const CFStringRef kMDItemAlbum ;
extern const CFStringRef kMDItemHasAlphaChannel ;
extern const CFStringRef kMDItemRedEyeOnOff ;
extern const CFStringRef kMDItemMeteringMode ;
extern const CFStringRef kMDItemMaxAperture ;
extern const CFStringRef kMDItemFNumber ;
extern const CFStringRef kMDItemExposureProgram ;
extern const CFStringRef kMDItemExposureTimeString ;
extern const CFStringRef kMDItemHeadline ;
extern const CFStringRef kMDItemInstructions ;
extern const CFStringRef kMDItemCity ;
extern const CFStringRef kMDItemStateOrProvince ;
extern const CFStringRef kMDItemCountry ;
# 531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemFSName ;
extern const CFStringRef kMDItemDisplayName ;
extern const CFStringRef kMDItemPath ;
extern const CFStringRef kMDItemFSSize ;
extern const CFStringRef kMDItemFSCreationDate ;
extern const CFStringRef kMDItemFSContentChangeDate ;
extern const CFStringRef kMDItemFSOwnerUserID ;
extern const CFStringRef kMDItemFSOwnerGroupID ;
extern const CFStringRef kMDItemFSExists __attribute__((deprecated));
extern const CFStringRef kMDItemFSIsReadable __attribute__((deprecated));
extern const CFStringRef kMDItemFSIsWriteable __attribute__((deprecated));
extern const CFStringRef kMDItemFSHasCustomIcon ;
extern const CFStringRef kMDItemFSIsExtensionHidden ;
extern const CFStringRef kMDItemFSIsStationery ;
extern const CFStringRef kMDItemFSInvisible ;
extern const CFStringRef kMDItemFSLabel ;
extern const CFStringRef kMDItemFSNodeCount ;
extern const CFStringRef kMDItemTextContent ;
# 611 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemAudioSampleRate ;
extern const CFStringRef kMDItemAudioChannelCount ;
extern const CFStringRef kMDItemTempo ;
extern const CFStringRef kMDItemKeySignature ;
extern const CFStringRef kMDItemTimeSignature ;
extern const CFStringRef kMDItemAudioEncodingApplication ;
extern const CFStringRef kMDItemComposer ;
extern const CFStringRef kMDItemLyricist ;
extern const CFStringRef kMDItemAudioTrackNumber ;
extern const CFStringRef kMDItemRecordingDate ;
extern const CFStringRef kMDItemMusicalGenre ;
extern const CFStringRef kMDItemIsGeneralMIDISequence ;
extern const CFStringRef kMDItemRecordingYear ;
# 694 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemOrganizations ;
extern const CFStringRef kMDItemLanguages ;
extern const CFStringRef kMDItemRights ;
extern const CFStringRef kMDItemPublishers ;
extern const CFStringRef kMDItemContributors ;
extern const CFStringRef kMDItemCoverage ;
extern const CFStringRef kMDItemSubject ;
extern const CFStringRef kMDItemTheme ;
extern const CFStringRef kMDItemDescription ;
extern const CFStringRef kMDItemIdentifier ;
extern const CFStringRef kMDItemAudiences ;
# 763 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemNumberOfPages ;
extern const CFStringRef kMDItemPageWidth ;
extern const CFStringRef kMDItemPageHeight ;
extern const CFStringRef kMDItemSecurityMethod ;
extern const CFStringRef kMDItemCreator ;
extern const CFStringRef kMDItemEncodingApplications ;
extern const CFStringRef kMDItemDueDate ;
extern const CFStringRef kMDItemStarRating ;
extern const CFStringRef kMDItemPhoneNumbers ;
extern const CFStringRef kMDItemEmailAddresses ;
extern const CFStringRef kMDItemInstantMessageAddresses ;
extern const CFStringRef kMDItemKind ;
extern const CFStringRef kMDItemRecipients ;
extern const CFStringRef kMDItemFinderComment ;
extern const CFStringRef kMDItemFonts ;
# 836 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemAppleLoopsRootKey ;
extern const CFStringRef kMDItemAppleLoopsKeyFilterType ;
extern const CFStringRef kMDItemAppleLoopsLoopMode ;
extern const CFStringRef kMDItemAppleLoopDescriptors ;
extern const CFStringRef kMDItemMusicalInstrumentCategory ;
extern const CFStringRef kMDItemMusicalInstrumentName ;
extern const CFStringRef kMDItemCFBundleIdentifier ;
extern const CFStringRef kMDItemSupportFileType ;
# 880 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemInformation ;
extern const CFStringRef kMDItemDirector ;
extern const CFStringRef kMDItemProducer ;
extern const CFStringRef kMDItemGenre ;
extern const CFStringRef kMDItemPerformers ;
extern const CFStringRef kMDItemOriginalFormat ;
extern const CFStringRef kMDItemOriginalSource ;
extern const CFStringRef kMDItemAuthorEmailAddresses ;
extern const CFStringRef kMDItemRecipientEmailAddresses ;
extern const CFStringRef kMDItemURL ;
#define MDItemCopyAttributeList(item,...) __MDItemCopyAttributesEllipsis1(item, __VA_ARGS__, NULL)
extern CFDictionaryRef __MDItemCopyAttributesEllipsis1(MDItemRef item, ...) ;
# 11 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 1 3
# 64 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
#define __MDQUERY__ 1
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 1 3
# 73 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 2 3
typedef struct __MDQuery *MDQueryRef;
typedef enum {
kMDQuerySynchronous = 1,
kMDQueryWantsUpdates = 4
} MDQueryOptionFlags;
# 117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFTypeID MDQueryGetTypeID(void) ;
# 153 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern MDQueryRef MDQueryCreate(CFAllocatorRef allocator, CFStringRef queryString, CFArrayRef valueListAttrs, CFArrayRef sortingAttrs) ;
# 193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern MDQueryRef MDQueryCreateSubset(CFAllocatorRef allocator, MDQueryRef query, CFStringRef queryString, CFArrayRef valueListAttrs, CFArrayRef sortingAttrs) ;
extern CFStringRef MDQueryCopyQueryString(MDQueryRef query) ;
# 210 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFArrayRef MDQueryCopyValueListAttributes(MDQueryRef query) ;
# 219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFArrayRef MDQueryCopySortingAttributes(MDQueryRef query) ;
# 264 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
typedef struct {
size_t first_max_num;
size_t first_max_ms;
size_t progress_max_num;
size_t progress_max_ms;
size_t update_max_num;
size_t update_max_ms;
} MDQueryBatchingParams;
# 281 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern MDQueryBatchingParams MDQueryGetBatchingParameters(MDQueryRef query) ;
extern void MDQuerySetBatchingParameters(MDQueryRef query, MDQueryBatchingParams params) ;
# 320 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
typedef const void *(*MDQueryCreateResultFunction)(MDQueryRef query, MDItemRef item, void *context);
# 387 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQuerySetCreateResultFunction(MDQueryRef query, MDQueryCreateResultFunction func, void *context, const CFArrayCallBacks *cb) ;
# 411 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
typedef const void *(*MDQueryCreateValueFunction)(MDQueryRef query, CFStringRef attrName, CFTypeRef attrValue, void *context);
# 476 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQuerySetCreateValueFunction(MDQueryRef query, MDQueryCreateValueFunction func, void *context, const CFArrayCallBacks *cb) ;
# 512 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern Boolean MDQueryExecute(MDQueryRef query, CFOptionFlags optionFlags) ;
# 537 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQueryStop(MDQueryRef query) ;
# 548 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQueryDisableUpdates(MDQueryRef query) ;
# 559 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQueryEnableUpdates(MDQueryRef query) ;
# 569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern Boolean MDQueryIsGatheringComplete(MDQueryRef query) ;
# 579 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFIndex MDQueryGetResultCount(MDQueryRef query) ;
# 600 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const void *MDQueryGetResultAtIndex(MDQueryRef query, CFIndex idx) ;
# 622 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFIndex MDQueryGetIndexOfResult(MDQueryRef query, const void *result) ;
# 639 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void *MDQueryGetAttributeValueOfResultAtIndex(MDQueryRef query, CFStringRef name, CFIndex idx) ;
# 655 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFArrayRef MDQueryCopyValuesOfAttribute(MDQueryRef query, CFStringRef name) ;
# 674 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFIndex MDQueryGetCountOfResultsWithAttributeValue(MDQueryRef query, CFStringRef name, CFTypeRef value) ;
# 705 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
typedef CFComparisonResult (*MDQuerySortComparatorFunction)(const CFTypeRef attrs1[], const CFTypeRef attrs2[], void *context);
# 736 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQuerySetSortComparator(MDQueryRef query, MDQuerySortComparatorFunction comparator, void *context) ;
# 755 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryProgressNotification ;
# 768 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryDidFinishNotification ;
# 783 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryDidUpdateNotification ;
# 794 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryUpdateAddedItems ;
# 811 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryUpdateChangedItems ;
# 826 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryUpdateRemovedItems ;
# 854 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryResultContentRelevance ;
# 874 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQuerySetSearchScope(MDQueryRef query, CFArrayRef scopeDirectories, OptionBits scopeOptions) ;
extern const CFStringRef kMDQueryScopeHome ;
extern const CFStringRef kMDQueryScopeComputer ;
extern const CFStringRef kMDQueryScopeNetwork ;
# 906 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQuerySetMaxCount(MDQueryRef query, CFIndex size) ;
# 12 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 1 3
# 14 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 3
#define __MDSCHEMA__ 1
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 1 3
# 20 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 2 3
# 32 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 3
extern CFDictionaryRef MDSchemaCopyAttributesForContentType(CFStringRef contentTypeUTI) ;
extern CFDictionaryRef MDSchemaCopyMetaAttributesForAttribute(CFStringRef name) ;
extern CFArrayRef MDSchemaCopyAllAttributes(void) ;
# 56 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 3
extern CFStringRef MDSchemaCopyDisplayNameForAttribute(CFStringRef name) ;
# 65 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 3
extern CFStringRef MDSchemaCopyDisplayDescriptionForAttribute(CFStringRef name) ;
extern const CFStringRef kMDAttributeDisplayValues ;
extern const CFStringRef kMDAttributeAllValues ;
extern const CFStringRef kMDAttributeReadOnlyValues ;
extern const CFStringRef kMDExporterAvaliable ;
extern const CFStringRef kMDAttributeName ;
extern const CFStringRef kMDAttributeType ;
extern const CFStringRef kMDAttributeMultiValued ;
# 13 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDImporter.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDImporter.h" 3
#define __MDIMPORTER__ 1
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 1 3
# 23 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDImporter.h" 2 3
# 40 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDImporter.h" 3
#define kMDImporterTypeID CFUUIDGetConstantUUIDWithBytes(kCFAllocatorDefault,0x8B,0x08,0xC4,0xBF,0x41,0x5B,0x11,0xD8,0xB3,0xF9,0x00,0x03,0x93,0x67,0x26,0xFC)
#define kMDImporterInterfaceID CFUUIDGetConstantUUIDWithBytes(kCFAllocatorDefault,0x6E,0xBC,0x27,0xC4,0x89,0x9C,0x11,0xD8,0x84,0xAE,0x00,0x03,0x93,0x67,0x26,0xFC)
#define kMDExporterInterfaceID CFUUIDGetConstantUUIDWithBytes(kCFAllocatorDefault,0xB4,0x1C,0x60,0x74,0x7D,0xFB,0x40,0x57,0x96,0x9D,0x31,0xC8,0xE8,0x61,0xA8,0xD4)
# 14 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h" 2 3
# 49 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h" 1 3
# 9 "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h" 3
#define __DICTIONARYSERVICES__
# 23 "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h" 3
typedef const struct __DCSDictionary* DCSDictionaryRef;
# 40 "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h" 3
extern CFRange DCSGetTermRangeInString( DCSDictionaryRef dictionary, CFStringRef textString, CFIndex offset );
# 53 "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h" 3
extern CFStringRef DCSCopyTextDefinition( DCSDictionaryRef dictionary, CFStringRef textString, CFRange range );
# 50 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 21 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 3
#define __APPLICATIONSERVICES__
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h" 3
#define __ATS__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
#define __ATSLAYOUTTYPES__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 3
#define __SFNTLAYOUTTYPES__
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 3
#pragma pack(push, 2)
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 3
enum {
kAllTypographicFeaturesType = 0,
kLigaturesType = 1,
kCursiveConnectionType = 2,
kLetterCaseType = 3,
kVerticalSubstitutionType = 4,
kLinguisticRearrangementType = 5,
kNumberSpacingType = 6,
kSmartSwashType = 8,
kDiacriticsType = 9,
kVerticalPositionType = 10,
kFractionsType = 11,
kOverlappingCharactersType = 13,
kTypographicExtrasType = 14,
kMathematicalExtrasType = 15,
kOrnamentSetsType = 16,
kCharacterAlternativesType = 17,
kDesignComplexityType = 18,
kStyleOptionsType = 19,
kCharacterShapeType = 20,
kNumberCaseType = 21,
kTextSpacingType = 22,
kTransliterationType = 23,
kAnnotationType = 24,
kKanaSpacingType = 25,
kIdeographicSpacingType = 26,
kUnicodeDecompositionType = 27,
kRubyKanaType = 28,
kCJKSymbolAlternativesType = 29,
kIdeographicAlternativesType = 30,
kCJKVerticalRomanPlacementType = 31,
kItalicCJKRomanType = 32,
kCJKRomanSpacingType = 103,
kLastFeatureType = -1
};
enum {
kAllTypeFeaturesOnSelector = 0,
kAllTypeFeaturesOffSelector = 1
};
enum {
kRequiredLigaturesOnSelector = 0,
kRequiredLigaturesOffSelector = 1,
kCommonLigaturesOnSelector = 2,
kCommonLigaturesOffSelector = 3,
kRareLigaturesOnSelector = 4,
kRareLigaturesOffSelector = 5,
kLogosOnSelector = 6,
kLogosOffSelector = 7,
kRebusPicturesOnSelector = 8,
kRebusPicturesOffSelector = 9,
kDiphthongLigaturesOnSelector = 10,
kDiphthongLigaturesOffSelector = 11,
kSquaredLigaturesOnSelector = 12,
kSquaredLigaturesOffSelector = 13,
kAbbrevSquaredLigaturesOnSelector = 14,
kAbbrevSquaredLigaturesOffSelector = 15,
kSymbolLigaturesOnSelector = 16,
kSymbolLigaturesOffSelector = 17
};
enum {
kUnconnectedSelector = 0,
kPartiallyConnectedSelector = 1,
kCursiveSelector = 2
};
enum {
kUpperAndLowerCaseSelector = 0,
kAllCapsSelector = 1,
kAllLowerCaseSelector = 2,
kSmallCapsSelector = 3,
kInitialCapsSelector = 4,
kInitialCapsAndSmallCapsSelector = 5
};
enum {
kSubstituteVerticalFormsOnSelector = 0,
kSubstituteVerticalFormsOffSelector = 1
};
enum {
kLinguisticRearrangementOnSelector = 0,
kLinguisticRearrangementOffSelector = 1
};
enum {
kMonospacedNumbersSelector = 0,
kProportionalNumbersSelector = 1,
kThirdWidthNumbersSelector = 2,
kQuarterWidthNumbersSelector = 3
};
enum {
kWordInitialSwashesOnSelector = 0,
kWordInitialSwashesOffSelector = 1,
kWordFinalSwashesOnSelector = 2,
kWordFinalSwashesOffSelector = 3,
kLineInitialSwashesOnSelector = 4,
kLineInitialSwashesOffSelector = 5,
kLineFinalSwashesOnSelector = 6,
kLineFinalSwashesOffSelector = 7,
kNonFinalSwashesOnSelector = 8,
kNonFinalSwashesOffSelector = 9
};
enum {
kShowDiacriticsSelector = 0,
kHideDiacriticsSelector = 1,
kDecomposeDiacriticsSelector = 2
};
enum {
kNormalPositionSelector = 0,
kSuperiorsSelector = 1,
kInferiorsSelector = 2,
kOrdinalsSelector = 3
};
enum {
kNoFractionsSelector = 0,
kVerticalFractionsSelector = 1,
kDiagonalFractionsSelector = 2
};
enum {
kPreventOverlapOnSelector = 0,
kPreventOverlapOffSelector = 1
};
enum {
kHyphensToEmDashOnSelector = 0,
kHyphensToEmDashOffSelector = 1,
kHyphenToEnDashOnSelector = 2,
kHyphenToEnDashOffSelector = 3,
kSlashedZeroOnSelector = 4,
kSlashedZeroOffSelector = 5,
kFormInterrobangOnSelector = 6,
kFormInterrobangOffSelector = 7,
kSmartQuotesOnSelector = 8,
kSmartQuotesOffSelector = 9,
kPeriodsToEllipsisOnSelector = 10,
kPeriodsToEllipsisOffSelector = 11
};
enum {
kHyphenToMinusOnSelector = 0,
kHyphenToMinusOffSelector = 1,
kAsteriskToMultiplyOnSelector = 2,
kAsteriskToMultiplyOffSelector = 3,
kSlashToDivideOnSelector = 4,
kSlashToDivideOffSelector = 5,
kInequalityLigaturesOnSelector = 6,
kInequalityLigaturesOffSelector = 7,
kExponentsOnSelector = 8,
kExponentsOffSelector = 9
};
enum {
kNoOrnamentsSelector = 0,
kDingbatsSelector = 1,
kPiCharactersSelector = 2,
kFleuronsSelector = 3,
kDecorativeBordersSelector = 4,
kInternationalSymbolsSelector = 5,
kMathSymbolsSelector = 6
};
enum {
kNoAlternatesSelector = 0
};
enum {
kDesignLevel1Selector = 0,
kDesignLevel2Selector = 1,
kDesignLevel3Selector = 2,
kDesignLevel4Selector = 3,
kDesignLevel5Selector = 4
};
enum {
kNoStyleOptionsSelector = 0,
kDisplayTextSelector = 1,
kEngravedTextSelector = 2,
kIlluminatedCapsSelector = 3,
kTitlingCapsSelector = 4,
kTallCapsSelector = 5
};
enum {
kTraditionalCharactersSelector = 0,
kSimplifiedCharactersSelector = 1,
kJIS1978CharactersSelector = 2,
kJIS1983CharactersSelector = 3,
kJIS1990CharactersSelector = 4,
kTraditionalAltOneSelector = 5,
kTraditionalAltTwoSelector = 6,
kTraditionalAltThreeSelector = 7,
kTraditionalAltFourSelector = 8,
kTraditionalAltFiveSelector = 9,
kExpertCharactersSelector = 10
};
enum {
kLowerCaseNumbersSelector = 0,
kUpperCaseNumbersSelector = 1
};
enum {
kProportionalTextSelector = 0,
kMonospacedTextSelector = 1,
kHalfWidthTextSelector = 2
};
enum {
kNoTransliterationSelector = 0,
kHanjaToHangulSelector = 1,
kHiraganaToKatakanaSelector = 2,
kKatakanaToHiraganaSelector = 3,
kKanaToRomanizationSelector = 4,
kRomanizationToHiraganaSelector = 5,
kRomanizationToKatakanaSelector = 6,
kHanjaToHangulAltOneSelector = 7,
kHanjaToHangulAltTwoSelector = 8,
kHanjaToHangulAltThreeSelector = 9
};
enum {
kNoAnnotationSelector = 0,
kBoxAnnotationSelector = 1,
kRoundedBoxAnnotationSelector = 2,
kCircleAnnotationSelector = 3,
kInvertedCircleAnnotationSelector = 4,
kParenthesisAnnotationSelector = 5,
kPeriodAnnotationSelector = 6,
kRomanNumeralAnnotationSelector = 7,
kDiamondAnnotationSelector = 8,
kInvertedBoxAnnotationSelector = 9,
kInvertedRoundedBoxAnnotationSelector = 10
};
enum {
kFullWidthKanaSelector = 0,
kProportionalKanaSelector = 1
};
enum {
kFullWidthIdeographsSelector = 0,
kProportionalIdeographsSelector = 1,
kHalfWidthIdeographsSelector = 2
};
enum {
kCanonicalCompositionOnSelector = 0,
kCanonicalCompositionOffSelector = 1,
kCompatibilityCompositionOnSelector = 2,
kCompatibilityCompositionOffSelector = 3,
kTranscodingCompositionOnSelector = 4,
kTranscodingCompositionOffSelector = 5
};
enum {
kNoRubyKanaSelector = 0,
kRubyKanaSelector = 1,
kRubyKanaOnSelector = 2,
kRubyKanaOffSelector = 3
};
enum {
kNoCJKSymbolAlternativesSelector = 0,
kCJKSymbolAltOneSelector = 1,
kCJKSymbolAltTwoSelector = 2,
kCJKSymbolAltThreeSelector = 3,
kCJKSymbolAltFourSelector = 4,
kCJKSymbolAltFiveSelector = 5
};
enum {
kNoIdeographicAlternativesSelector = 0,
kIdeographicAltOneSelector = 1,
kIdeographicAltTwoSelector = 2,
kIdeographicAltThreeSelector = 3,
kIdeographicAltFourSelector = 4,
kIdeographicAltFiveSelector = 5
};
enum {
kCJKVerticalRomanCenteredSelector = 0,
kCJKVerticalRomanHBaselineSelector = 1
};
enum {
kNoCJKItalicRomanSelector = 0,
kCJKItalicRomanSelector = 1,
kCJKItalicRomanOnSelector = 2,
kCJKItalicRomanOffSelector = 3
};
enum {
kHalfWidthCJKRomanSelector = 0,
kProportionalCJKRomanSelector = 1,
kDefaultCJKRomanSelector = 2,
kFullWidthCJKRomanSelector = 3
};
enum {
kSFNTLookupSimpleArray = 0,
kSFNTLookupSegmentSingle = 2,
kSFNTLookupSegmentArray = 4,
kSFNTLookupSingleTable = 6,
kSFNTLookupTrimmedArray = 8
};
typedef UInt16 SFNTLookupTableFormat;
typedef UInt16 SFNTLookupValue;
typedef UInt16 SFNTLookupOffset;
typedef UInt32 SFNTLookupKind;
struct SFNTLookupBinarySearchHeader {
UInt16 unitSize;
UInt16 nUnits;
UInt16 searchRange;
UInt16 entrySelector;
UInt16 rangeShift;
};
typedef struct SFNTLookupBinarySearchHeader SFNTLookupBinarySearchHeader;
struct SFNTLookupArrayHeader {
SFNTLookupValue lookupValues[1];
};
typedef struct SFNTLookupArrayHeader SFNTLookupArrayHeader;
struct SFNTLookupTrimmedArrayHeader {
UInt16 firstGlyph;
UInt16 count;
SFNTLookupValue valueArray[1];
};
typedef struct SFNTLookupTrimmedArrayHeader SFNTLookupTrimmedArrayHeader;
struct SFNTLookupSegment {
UInt16 lastGlyph;
UInt16 firstGlyph;
UInt16 value[1];
};
typedef struct SFNTLookupSegment SFNTLookupSegment;
struct SFNTLookupSegmentHeader {
SFNTLookupBinarySearchHeader binSearch;
SFNTLookupSegment segments[1];
};
typedef struct SFNTLookupSegmentHeader SFNTLookupSegmentHeader;
struct SFNTLookupSingle {
UInt16 glyph;
UInt16 value[1];
};
typedef struct SFNTLookupSingle SFNTLookupSingle;
struct SFNTLookupSingleHeader {
SFNTLookupBinarySearchHeader binSearch;
SFNTLookupSingle entries[1];
};
typedef struct SFNTLookupSingleHeader SFNTLookupSingleHeader;
union SFNTLookupFormatSpecificHeader {
SFNTLookupArrayHeader theArray;
SFNTLookupSegmentHeader segment;
SFNTLookupSingleHeader single;
SFNTLookupTrimmedArrayHeader trimmedArray;
};
typedef union SFNTLookupFormatSpecificHeader SFNTLookupFormatSpecificHeader;
struct SFNTLookupTable {
SFNTLookupTableFormat format;
SFNTLookupFormatSpecificHeader fsHeader;
};
typedef struct SFNTLookupTable SFNTLookupTable;
typedef SFNTLookupTable * SFNTLookupTablePtr;
typedef SFNTLookupTablePtr * SFNTLookupTableHandle;
enum {
kSTClassEndOfText = 0,
kSTClassOutOfBounds = 1,
kSTClassDeletedGlyph = 2,
kSTClassEndOfLine = 3,
kSTSetMark = 0x8000,
kSTNoAdvance = 0x4000,
kSTMarkEnd = 0x2000,
kSTLigActionMask = 0x3FFF,
kSTRearrVerbMask = 0x000F
};
typedef UInt8 STClass;
typedef UInt8 STEntryIndex;
struct STHeader {
UInt8 filler;
STClass nClasses;
UInt16 classTableOffset;
UInt16 stateArrayOffset;
UInt16 entryTableOffset;
};
typedef struct STHeader STHeader;
struct STClassTable {
UInt16 firstGlyph;
UInt16 nGlyphs;
STClass classes[1];
};
typedef struct STClassTable STClassTable;
struct STEntryZero {
UInt16 newState;
UInt16 flags;
};
typedef struct STEntryZero STEntryZero;
struct STEntryOne {
UInt16 newState;
UInt16 flags;
UInt16 offset1;
};
typedef struct STEntryOne STEntryOne;
struct STEntryTwo {
UInt16 newState;
UInt16 flags;
UInt16 offset1;
UInt16 offset2;
};
typedef struct STEntryTwo STEntryTwo;
enum {
kSTXHasLigAction = 0x2000
};
typedef UInt16 STXClass;
typedef UInt16 STXStateIndex;
typedef UInt16 STXEntryIndex;
struct STXHeader {
UInt32 nClasses;
UInt32 classTableOffset;
UInt32 stateArrayOffset;
UInt32 entryTableOffset;
};
typedef struct STXHeader STXHeader;
typedef SFNTLookupTable STXClassTable;
struct STXEntryZero {
STXStateIndex newState;
UInt16 flags;
};
typedef struct STXEntryZero STXEntryZero;
struct STXEntryOne {
STXStateIndex newState;
UInt16 flags;
UInt16 index1;
};
typedef struct STXEntryOne STXEntryOne;
struct STXEntryTwo {
STXStateIndex newState;
UInt16 flags;
UInt16 index1;
UInt16 index2;
};
typedef struct STXEntryTwo STXEntryTwo;
enum {
kLCARTag = 0x6C636172,
kLCARCurrentVersion = 0x00010000,
kLCARLinearFormat = 0,
kLCARCtlPointFormat = 1
};
struct LcarCaretClassEntry {
UInt16 count;
UInt16 partials[1];
};
typedef struct LcarCaretClassEntry LcarCaretClassEntry;
struct LcarCaretTable {
Fixed version;
UInt16 format;
SFNTLookupTable lookup;
};
typedef struct LcarCaretTable LcarCaretTable;
typedef LcarCaretTable * LcarCaretTablePtr;
enum {
kJUSTTag = 0x6A757374,
kJUSTCurrentVersion = 0x00010000,
kJUSTStandardFormat = 0,
kJUSTnoGlyphcode = 0xFFFF,
kJUSTpcDecompositionAction = 0,
kJUSTpcUnconditionalAddAction = 1,
kJUSTpcConditionalAddAction = 2,
kJUSTpcGlyphStretchAction = 3,
kJUSTpcDuctilityAction = 4,
kJUSTpcGlyphRepeatAddAction = 5
};
enum {
kJUSTKashidaPriority = 0,
kJUSTSpacePriority = 1,
kJUSTLetterPriority = 2,
kJUSTNullPriority = 3,
kJUSTPriorityCount = 4
};
enum {
kJUSTOverridePriority = 0x8000,
kJUSTOverrideLimits = 0x4000,
kJUSTOverrideUnlimited = 0x2000,
kJUSTUnlimited = 0x1000,
kJUSTPriorityMask = 0x0003
};
typedef UInt16 JustPCActionType;
typedef UInt16 JustificationFlags;
struct JustPCDecompositionAction {
Fixed lowerLimit;
Fixed upperLimit;
UInt16 order;
UInt16 count;
UInt16 glyphs[1];
};
typedef struct JustPCDecompositionAction JustPCDecompositionAction;
typedef UInt16 JustPCUnconditionalAddAction;
struct JustPCConditionalAddAction {
Fixed substThreshhold;
UInt16 addGlyph;
UInt16 substGlyph;
};
typedef struct JustPCConditionalAddAction JustPCConditionalAddAction;
struct JustPCDuctilityAction {
UInt32 ductilityAxis;
Fixed minimumLimit;
Fixed noStretchValue;
Fixed maximumLimit;
};
typedef struct JustPCDuctilityAction JustPCDuctilityAction;
struct JustPCGlyphRepeatAddAction {
UInt16 flags;
UInt16 glyph;
};
typedef struct JustPCGlyphRepeatAddAction JustPCGlyphRepeatAddAction;
struct JustPCActionSubrecord {
UInt16 theClass;
JustPCActionType theType;
UInt32 length;
UInt32 data;
};
typedef struct JustPCActionSubrecord JustPCActionSubrecord;
struct JustPCAction {
UInt32 actionCount;
JustPCActionSubrecord actions[1];
};
typedef struct JustPCAction JustPCAction;
struct JustWidthDeltaEntry {
UInt32 justClass;
Fixed beforeGrowLimit;
Fixed beforeShrinkLimit;
Fixed afterGrowLimit;
Fixed afterShrinkLimit;
JustificationFlags growFlags;
JustificationFlags shrinkFlags;
};
typedef struct JustWidthDeltaEntry JustWidthDeltaEntry;
struct JustWidthDeltaGroup {
UInt32 count;
JustWidthDeltaEntry entries[1];
};
typedef struct JustWidthDeltaGroup JustWidthDeltaGroup;
struct JustPostcompTable {
SFNTLookupTable lookupTable;
};
typedef struct JustPostcompTable JustPostcompTable;
struct JustDirectionTable {
UInt16 justClass;
UInt16 widthDeltaClusters;
UInt16 postcomp;
SFNTLookupTable lookup;
};
typedef struct JustDirectionTable JustDirectionTable;
struct JustTable {
Fixed version;
UInt16 format;
UInt16 horizHeaderOffset;
UInt16 vertHeaderOffset;
};
typedef struct JustTable JustTable;
enum {
kOPBDTag = 0x6F706264,
kOPBDCurrentVersion = 0x00010000,
kOPBDDistanceFormat = 0,
kOPBDControlPointFormat = 1
};
typedef UInt16 OpbdTableFormat;
struct OpbdSideValues {
SInt16 leftSideShift;
SInt16 topSideShift;
SInt16 rightSideShift;
SInt16 bottomSideShift;
};
typedef struct OpbdSideValues OpbdSideValues;
struct OpbdTable {
Fixed version;
OpbdTableFormat format;
SFNTLookupTable lookupTable;
};
typedef struct OpbdTable OpbdTable;
enum {
kMORTTag = 0x6D6F7274,
kMORTCurrentVersion = 0x00010000,
kMORTCoverVertical = 0x8000,
kMORTCoverDescending = 0x4000,
kMORTCoverIgnoreVertical = 0x2000,
kMORTCoverTypeMask = 0x000F,
kMORTRearrangementType = 0,
kMORTContextualType = 1,
kMORTLigatureType = 2,
kMORTSwashType = 4,
kMORTInsertionType = 5,
kMORTLigLastAction = (long)0x80000000,
kMORTLigStoreLigature = 0x40000000,
kMORTLigFormOffsetMask = 0x3FFFFFFF,
kMORTLigFormOffsetShift = 2,
kMORTraNoAction = 0,
kMORTraxA = 1,
kMORTraDx = 2,
kMORTraDxA = 3,
kMORTraxAB = 4,
kMORTraxBA = 5,
kMORTraCDx = 6,
kMORTraDCx = 7,
kMORTraCDxA = 8,
kMORTraDCxA = 9,
kMORTraDxAB = 10,
kMORTraDxBA = 11,
kMORTraCDxAB = 12,
kMORTraCDxBA = 13,
kMORTraDCxAB = 14,
kMORTraDCxBA = 15,
kMORTDoInsertionsBefore = 0x80,
kMORTIsSplitVowelPiece = 0x40,
kMORTInsertionsCountMask = 0x3F,
kMORTCurrInsertKashidaLike = 0x2000,
kMORTMarkInsertKashidaLike = 0x1000,
kMORTCurrInsertBefore = 0x0800,
kMORTMarkInsertBefore = 0x0400,
kMORTMarkJustTableCountMask = 0x3F80,
kMORTMarkJustTableCountShift = 7,
kMORTCurrJustTableCountMask = 0x007F,
kMORTCurrJustTableCountShift = 0,
kMORTCurrInsertCountMask = 0x03E0,
kMORTCurrInsertCountShift = 5,
kMORTMarkInsertCountMask = 0x001F,
kMORTMarkInsertCountShift = 0
};
typedef UInt32 MortSubtableMaskFlags;
typedef UInt32 MortLigatureActionEntry;
struct MortRearrangementSubtable {
STHeader header;
};
typedef struct MortRearrangementSubtable MortRearrangementSubtable;
struct MortContextualSubtable {
STHeader header;
UInt16 substitutionTableOffset;
};
typedef struct MortContextualSubtable MortContextualSubtable;
struct MortLigatureSubtable {
STHeader header;
UInt16 ligatureActionTableOffset;
UInt16 componentTableOffset;
UInt16 ligatureTableOffset;
};
typedef struct MortLigatureSubtable MortLigatureSubtable;
struct MortSwashSubtable {
SFNTLookupTable lookup;
};
typedef struct MortSwashSubtable MortSwashSubtable;
struct MortInsertionSubtable {
STHeader header;
};
typedef struct MortInsertionSubtable MortInsertionSubtable;
union MortSpecificSubtable {
MortRearrangementSubtable rearrangement;
MortContextualSubtable contextual;
MortLigatureSubtable ligature;
MortSwashSubtable swash;
MortInsertionSubtable insertion;
};
typedef union MortSpecificSubtable MortSpecificSubtable;
struct MortSubtable {
UInt16 length;
UInt16 coverage;
MortSubtableMaskFlags flags;
MortSpecificSubtable u;
};
typedef struct MortSubtable MortSubtable;
struct MortFeatureEntry {
UInt16 featureType;
UInt16 featureSelector;
MortSubtableMaskFlags enableFlags;
MortSubtableMaskFlags disableFlags;
};
typedef struct MortFeatureEntry MortFeatureEntry;
struct MortChain {
MortSubtableMaskFlags defaultFlags;
UInt32 length;
UInt16 nFeatures;
UInt16 nSubtables;
MortFeatureEntry featureEntries[1];
};
typedef struct MortChain MortChain;
struct MortTable {
Fixed version;
UInt32 nChains;
MortChain chains[1];
};
typedef struct MortTable MortTable;
enum {
kMORXTag = 0x6D6F7278,
kMORXCurrentVersion = 0x00020000,
kMORXCoverVertical = (long)0x80000000,
kMORXCoverDescending = 0x40000000,
kMORXCoverIgnoreVertical = 0x20000000,
kMORXCoverTypeMask = 0x000000FF
};
struct MorxRearrangementSubtable {
STXHeader header;
};
typedef struct MorxRearrangementSubtable MorxRearrangementSubtable;
struct MorxContextualSubtable {
STXHeader header;
UInt32 substitutionTableOffset;
};
typedef struct MorxContextualSubtable MorxContextualSubtable;
struct MorxLigatureSubtable {
STXHeader header;
UInt32 ligatureActionTableOffset;
UInt32 componentTableOffset;
UInt32 ligatureTableOffset;
};
typedef struct MorxLigatureSubtable MorxLigatureSubtable;
struct MorxInsertionSubtable {
STXHeader header;
UInt32 insertionGlyphTableOffset;
};
typedef struct MorxInsertionSubtable MorxInsertionSubtable;
union MorxSpecificSubtable {
MorxRearrangementSubtable rearrangement;
MorxContextualSubtable contextual;
MorxLigatureSubtable ligature;
MortSwashSubtable swash;
MorxInsertionSubtable insertion;
};
typedef union MorxSpecificSubtable MorxSpecificSubtable;
struct MorxSubtable {
UInt32 length;
UInt32 coverage;
MortSubtableMaskFlags flags;
MorxSpecificSubtable u;
};
typedef struct MorxSubtable MorxSubtable;
struct MorxChain {
MortSubtableMaskFlags defaultFlags;
UInt32 length;
UInt32 nFeatures;
UInt32 nSubtables;
MortFeatureEntry featureEntries[1];
};
typedef struct MorxChain MorxChain;
struct MorxTable {
Fixed version;
UInt32 nChains;
MorxChain chains[1];
};
typedef struct MorxTable MorxTable;
enum {
kPROPTag = 0x70726F70,
kPROPCurrentVersion = 0x00030000,
kPROPPairOffsetShift = 8,
kPROPPairOffsetSign = 7,
kPROPIsFloaterMask = 0x8000,
kPROPCanHangLTMask = 0x4000,
kPROPCanHangRBMask = 0x2000,
kPROPUseRLPairMask = 0x1000,
kPROPPairOffsetMask = 0x0F00,
kPROPRightConnectMask = 0x0080,
kPROPZeroReserved = 0x0060,
kPROPDirectionMask = 0x001F
};
enum {
kPROPLDirectionClass = 0,
kPROPRDirectionClass = 1,
kPROPALDirectionClass = 2,
kPROPENDirectionClass = 3,
kPROPESDirectionClass = 4,
kPROPETDirectionClass = 5,
kPROPANDirectionClass = 6,
kPROPCSDirectionClass = 7,
kPROPPSDirectionClass = 8,
kPROPSDirectionClass = 9,
kPROPWSDirectionClass = 10,
kPROPONDirectionClass = 11,
kPROPSENDirectionClass = 12,
kPROPLREDirectionClass = 13,
kPROPLRODirectionClass = 14,
kPROPRLEDirectionClass = 15,
kPROPRLODirectionClass = 16,
kPROPPDFDirectionClass = 17,
kPROPNSMDirectionClass = 18,
kPROPBNDirectionClass = 19,
kPROPNumDirectionClasses = 20
};
typedef UInt16 PropCharProperties;
struct PropTable {
Fixed version;
UInt16 format;
PropCharProperties defaultProps;
SFNTLookupTable lookup;
};
typedef struct PropTable PropTable;
struct PropLookupSegment {
UInt16 lastGlyph;
UInt16 firstGlyph;
UInt16 value;
};
typedef struct PropLookupSegment PropLookupSegment;
struct PropLookupSingle {
UInt16 glyph;
PropCharProperties props;
};
typedef struct PropLookupSingle PropLookupSingle;
enum {
kTRAKTag = 0x7472616B,
kTRAKCurrentVersion = 0x00010000,
kTRAKUniformFormat = 0
};
typedef SInt16 TrakValue;
struct TrakTableEntry {
Fixed track;
UInt16 nameTableIndex;
UInt16 sizesOffset;
};
typedef struct TrakTableEntry TrakTableEntry;
struct TrakTableData {
UInt16 nTracks;
UInt16 nSizes;
UInt32 sizeTableOffset;
TrakTableEntry trakTable[1];
};
typedef struct TrakTableData TrakTableData;
struct TrakTable {
Fixed version;
UInt16 format;
UInt16 horizOffset;
UInt16 vertOffset;
};
typedef struct TrakTable TrakTable;
enum {
kKERNTag = 0x6B65726E,
kKERNCurrentVersion = 0x00010000,
kKERNVertical = 0x8000,
kKERNResetCrossStream = 0x8000,
kKERNCrossStream = 0x4000,
kKERNVariation = 0x2000,
kKERNUnusedBits = 0x1F00,
kKERNFormatMask = 0x00FF
};
enum {
kKERNOrderedList = 0,
kKERNStateTable = 1,
kKERNSimpleArray = 2,
kKERNIndexArray = 3
};
enum {
kKERNLineStart = 0x00000001,
kKERNLineEndKerning = 0x00000002,
kKERNNoCrossKerning = 0x00000004,
kKERNNotesRequested = 0x00000008,
kKERNNoStakeNote = 1,
kKERNCrossStreamResetNote = 2,
kKERNNotApplied = 0x00000001
};
typedef UInt8 KernTableFormat;
typedef UInt16 KernSubtableInfo;
typedef SInt16 KernKerningValue;
typedef UInt16 KernArrayOffset;
struct KernVersion0Header {
UInt16 version;
UInt16 nTables;
UInt16 firstSubtable[1];
};
typedef struct KernVersion0Header KernVersion0Header;
struct KernTableHeader {
Fixed version;
SInt32 nTables;
UInt16 firstSubtable[1];
};
typedef struct KernTableHeader KernTableHeader;
typedef KernTableHeader * KernTableHeaderPtr;
typedef KernTableHeaderPtr * KernTableHeaderHandle;
# 1213 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 3
struct KernKerningPair {
UInt16 left;
UInt16 right;
};
typedef struct KernKerningPair KernKerningPair;
struct KernOrderedListEntry {
KernKerningPair pair;
KernKerningValue value;
};
typedef struct KernOrderedListEntry KernOrderedListEntry;
typedef KernOrderedListEntry * KernOrderedListEntryPtr;
struct KernOrderedListHeader {
UInt16 nPairs;
UInt16 searchRange;
UInt16 entrySelector;
UInt16 rangeShift;
UInt16 table[1];
};
typedef struct KernOrderedListHeader KernOrderedListHeader;
struct KernStateHeader {
STHeader header;
UInt16 valueTable;
UInt8 firstTable[1];
};
typedef struct KernStateHeader KernStateHeader;
struct KernStateEntry {
UInt16 newState;
UInt16 flags;
};
typedef struct KernStateEntry KernStateEntry;
struct KernOffsetTable {
UInt16 firstGlyph;
UInt16 nGlyphs;
KernArrayOffset offsetTable[1];
};
typedef struct KernOffsetTable KernOffsetTable;
typedef KernOffsetTable * KernOffsetTablePtr;
# 1278 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 3
struct KernSimpleArrayHeader {
UInt16 rowWidth;
UInt16 leftOffsetTable;
UInt16 rightOffsetTable;
KernArrayOffset theArray;
UInt16 firstTable[1];
};
typedef struct KernSimpleArrayHeader KernSimpleArrayHeader;
struct KernIndexArrayHeader {
UInt16 glyphCount;
UInt8 kernValueCount;
UInt8 leftClassCount;
UInt8 rightClassCount;
UInt8 flags;
SInt16 kernValue[1];
UInt8 leftClass[1];
UInt8 rightClass[1];
UInt8 kernIndex[1];
};
typedef struct KernIndexArrayHeader KernIndexArrayHeader;
union KernFormatSpecificHeader {
KernOrderedListHeader orderedList;
KernStateHeader stateTable;
KernSimpleArrayHeader simpleArray;
KernIndexArrayHeader indexArray;
};
typedef union KernFormatSpecificHeader KernFormatSpecificHeader;
struct KernVersion0SubtableHeader {
UInt16 version;
UInt16 length;
KernSubtableInfo stInfo;
KernFormatSpecificHeader fsHeader;
};
typedef struct KernVersion0SubtableHeader KernVersion0SubtableHeader;
struct KernSubtableHeader {
SInt32 length;
KernSubtableInfo stInfo;
SInt16 tupleIndex;
KernFormatSpecificHeader fsHeader;
};
typedef struct KernSubtableHeader KernSubtableHeader;
typedef KernSubtableHeader * KernSubtableHeaderPtr;
enum {
kBSLNTag = 0x62736C6E,
kBSLNCurrentVersion = 0x00010000,
kBSLNDistanceFormatNoMap = 0,
kBSLNDistanceFormatWithMap = 1,
kBSLNControlPointFormatNoMap = 2,
kBSLNControlPointFormatWithMap = 3
};
enum {
kBSLNRomanBaseline = 0,
kBSLNIdeographicCenterBaseline = 1,
kBSLNIdeographicLowBaseline = 2,
kBSLNHangingBaseline = 3,
kBSLNMathBaseline = 4,
kBSLNLastBaseline = 31,
kBSLNNumBaselineClasses = kBSLNLastBaseline + 1,
kBSLNNoBaselineOverride = 255
};
typedef UInt32 BslnBaselineClass;
typedef Fixed BslnBaselineRecord[32];
struct BslnFormat0Part {
SInt16 deltas[32];
};
typedef struct BslnFormat0Part BslnFormat0Part;
struct BslnFormat1Part {
SInt16 deltas[32];
SFNTLookupTable mappingData;
};
typedef struct BslnFormat1Part BslnFormat1Part;
struct BslnFormat2Part {
UInt16 stdGlyph;
SInt16 ctlPoints[32];
};
typedef struct BslnFormat2Part BslnFormat2Part;
struct BslnFormat3Part {
UInt16 stdGlyph;
SInt16 ctlPoints[32];
SFNTLookupTable mappingData;
};
typedef struct BslnFormat3Part BslnFormat3Part;
union BslnFormatUnion {
BslnFormat0Part fmt0Part;
BslnFormat1Part fmt1Part;
BslnFormat2Part fmt2Part;
BslnFormat3Part fmt3Part;
};
typedef union BslnFormatUnion BslnFormatUnion;
typedef UInt16 BslnTableFormat;
struct BslnTable {
Fixed version;
BslnTableFormat format;
UInt16 defaultBaseline;
BslnFormatUnion parts;
};
typedef struct BslnTable BslnTable;
typedef BslnTable * BslnTablePtr;
#pragma pack(pop)
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
#define __ATSTYPES__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
#define CGGEOMETRY_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
#define CGBASE_H_
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 2 3
#define CG_EXTERN_C_BEGIN
#define CG_EXTERN_C_END
#define CG_EXTERN extern
#define CG_PRIVATE_EXTERN __private_extern__
#define CG_LOCAL CG_PRIVATE_EXTERN
#define CG_OBSOLETE __attribute__((deprecated))
# 60 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 3
#define CG_INLINE static __inline__
# 76 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 3
typedef float CGFloat;
#define CGFLOAT_MIN FLT_MIN
#define CGFLOAT_MAX FLT_MAX
#define CGFLOAT_IS_DOUBLE 0
#define CGFLOAT_DEFINED 1
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 2 3
struct CGPoint {
CGFloat x;
CGFloat y;
};
typedef struct CGPoint CGPoint;
struct CGSize {
CGFloat width;
CGFloat height;
};
typedef struct CGSize CGSize;
struct CGRect {
CGPoint origin;
CGSize size;
};
typedef struct CGRect CGRect;
enum CGRectEdge {
CGRectMinXEdge, CGRectMinYEdge, CGRectMaxXEdge, CGRectMaxYEdge
};
typedef enum CGRectEdge CGRectEdge;
extern const CGPoint CGPointZero;
extern const CGSize CGSizeZero;
extern const CGRect CGRectZero;
extern const CGRect CGRectNull;
extern const CGRect CGRectInfinite
;
static __inline__ CGPoint CGPointMake(CGFloat x, CGFloat y);
static __inline__ CGSize CGSizeMake(CGFloat width, CGFloat height);
static __inline__ CGRect CGRectMake(CGFloat x, CGFloat y, CGFloat width,
CGFloat height);
extern CGFloat CGRectGetMinX(CGRect rect);
extern CGFloat CGRectGetMidX(CGRect rect);
extern CGFloat CGRectGetMaxX(CGRect rect);
extern CGFloat CGRectGetMinY(CGRect rect);
extern CGFloat CGRectGetMidY(CGRect rect);
extern CGFloat CGRectGetMaxY(CGRect rect);
extern CGFloat CGRectGetWidth(CGRect rect);
extern CGFloat CGRectGetHeight(CGRect rect);
extern _Bool CGPointEqualToPoint(CGPoint point1, CGPoint point2);
extern _Bool CGSizeEqualToSize(CGSize size1, CGSize size2);
extern _Bool CGRectEqualToRect(CGRect rect1, CGRect rect2);
extern CGRect CGRectStandardize(CGRect rect);
extern _Bool CGRectIsEmpty(CGRect rect);
extern _Bool CGRectIsNull(CGRect rect);
extern _Bool CGRectIsInfinite(CGRect rect) ;
extern CGRect CGRectInset(CGRect rect, CGFloat dx, CGFloat dy);
extern CGRect CGRectIntegral(CGRect rect);
extern CGRect CGRectUnion(CGRect r1, CGRect r2);
extern CGRect CGRectIntersection(CGRect r1, CGRect r2);
extern CGRect CGRectOffset(CGRect rect, CGFloat dx, CGFloat dy);
extern void CGRectDivide(CGRect rect, CGRect *slice, CGRect *remainder,
CGFloat amount, CGRectEdge edge);
extern _Bool CGRectContainsPoint(CGRect rect, CGPoint point);
extern _Bool CGRectContainsRect(CGRect rect1, CGRect rect2);
extern _Bool CGRectIntersectsRect(CGRect rect1, CGRect rect2);
extern CFDictionaryRef CGPointCreateDictionaryRepresentation(CGPoint point)
;
extern _Bool CGPointMakeWithDictionaryRepresentation(CFDictionaryRef dict,
CGPoint *point) ;
extern CFDictionaryRef CGSizeCreateDictionaryRepresentation(CGSize size)
;
extern _Bool CGSizeMakeWithDictionaryRepresentation(CFDictionaryRef dict,
CGSize *size) ;
extern CFDictionaryRef CGRectCreateDictionaryRepresentation(CGRect)
;
extern _Bool CGRectMakeWithDictionaryRepresentation(CFDictionaryRef dict,
CGRect *rect) ;
static __inline__ CGPoint
CGPointMake(CGFloat x, CGFloat y)
{
CGPoint p; p.x = x; p.y = y; return p;
}
static __inline__ CGSize
CGSizeMake(CGFloat width, CGFloat height)
{
CGSize size; size.width = width; size.height = height; return size;
}
static __inline__ CGRect
CGRectMake(CGFloat x, CGFloat y, CGFloat width, CGFloat height)
{
CGRect rect;
rect.origin.x = x; rect.origin.y = y;
rect.size.width = width; rect.size.height = height;
return rect;
}
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 2 3
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
#pragma pack(push, 2)
# 63 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
typedef Float32Point ATSPoint;
# 78 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
typedef FSSpec ATSFSSpec;
typedef UInt32 FMGeneration;
typedef SInt16 FMFontFamily;
typedef SInt16 FMFontStyle;
typedef SInt16 FMFontSize;
typedef UInt32 FMFont;
struct FMFontFamilyInstance {
FMFontFamily fontFamily;
FMFontStyle fontStyle;
};
typedef struct FMFontFamilyInstance FMFontFamilyInstance;
struct FMFontFamilyIterator {
UInt32 reserved[16];
};
typedef struct FMFontFamilyIterator FMFontFamilyIterator;
struct FMFontIterator {
UInt32 reserved[16];
};
typedef struct FMFontIterator FMFontIterator;
struct FMFontFamilyInstanceIterator {
UInt32 reserved[16];
};
typedef struct FMFontFamilyInstanceIterator FMFontFamilyInstanceIterator;
enum {
kInvalidGeneration = 0L,
kInvalidFontFamily = -1,
kInvalidFont = 0L
};
enum {
kFMCurrentFilterFormat = 0L
};
typedef UInt32 FMFilterSelector;
enum {
kFMFontTechnologyFilterSelector = 1L,
kFMFontContainerFilterSelector = 2L,
kFMGenerationFilterSelector = 3L,
kFMFontFamilyCallbackFilterSelector = 4L,
kFMFontCallbackFilterSelector = 5L,
kFMFontDirectoryFilterSelector = 6L,
kFMFontFileRefFilterSelector = 10L
};
enum {
kFMTrueTypeFontTechnology = 'true',
kFMPostScriptFontTechnology = 'typ1'
};
typedef OSStatus ( * FMFontFamilyCallbackFilterProcPtr)(FMFontFamily iFontFamily, void *iRefCon);
typedef OSStatus ( * FMFontCallbackFilterProcPtr)(FMFont iFont, void *iRefCon);
typedef FMFontFamilyCallbackFilterProcPtr FMFontFamilyCallbackFilterUPP;
typedef FMFontCallbackFilterProcPtr FMFontCallbackFilterUPP;
# 156 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern FMFontFamilyCallbackFilterUPP
NewFMFontFamilyCallbackFilterUPP(FMFontFamilyCallbackFilterProcPtr userRoutine) ;
# 167 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern FMFontCallbackFilterUPP
NewFMFontCallbackFilterUPP(FMFontCallbackFilterProcPtr userRoutine) ;
# 178 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern void
DisposeFMFontFamilyCallbackFilterUPP(FMFontFamilyCallbackFilterUPP userUPP) ;
# 189 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern void
DisposeFMFontCallbackFilterUPP(FMFontCallbackFilterUPP userUPP) ;
# 200 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern OSStatus
InvokeFMFontFamilyCallbackFilterUPP(
FMFontFamily iFontFamily,
void * iRefCon,
FMFontFamilyCallbackFilterUPP userUPP) ;
# 214 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern OSStatus
InvokeFMFontCallbackFilterUPP(
FMFont iFont,
void * iRefCon,
FMFontCallbackFilterUPP userUPP) ;
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
#define NewFMFontFamilyCallbackFilterUPP(userRoutine) ((FMFontFamilyCallbackFilterUPP)userRoutine)
#define NewFMFontCallbackFilterUPP(userRoutine) ((FMFontCallbackFilterUPP)userRoutine)
#define DisposeFMFontFamilyCallbackFilterUPP(userUPP)
#define DisposeFMFontCallbackFilterUPP(userUPP)
#define InvokeFMFontFamilyCallbackFilterUPP(iFontFamily,iRefCon,userUPP) (*userUPP)(iFontFamily, iRefCon)
#define InvokeFMFontCallbackFilterUPP(iFont,iRefCon,userUPP) (*userUPP)(iFont, iRefCon)
struct FMFontDirectoryFilter {
SInt16 fontFolderDomain;
UInt32 reserved[2];
};
typedef struct FMFontDirectoryFilter FMFontDirectoryFilter;
struct FMFilter {
UInt32 format;
FMFilterSelector selector;
union {
FourCharCode fontTechnologyFilter;
ATSFSSpec fontContainerFilter;
FMGeneration generationFilter;
FMFontFamilyCallbackFilterUPP fontFamilyCallbackFilter;
FMFontCallbackFilterUPP fontCallbackFilter;
FMFontDirectoryFilter fontDirectoryFilter;
const FSRef * fontFileRefFilter;
} filter;
};
typedef struct FMFilter FMFilter;
typedef OptionBits ATSOptionFlags;
typedef UInt32 ATSGeneration;
typedef UInt32 ATSFontContainerRef;
typedef UInt32 ATSFontFamilyRef;
typedef UInt32 ATSFontRef;
typedef UInt16 ATSGlyphRef;
typedef CGFloat ATSFontSize;
typedef UInt32 ATSFontFormat;
enum {
kATSFontFormatUnspecified = 0
};
enum {
kATSGenerationUnspecified = 0L,
kATSFontContainerRefUnspecified = 0L,
kATSFontFamilyRefUnspecified = 0L,
kATSFontRefUnspecified = 0L
};
struct ATSFontMetrics {
UInt32 version;
CGFloat ascent;
CGFloat descent;
CGFloat leading;
CGFloat avgAdvanceWidth;
CGFloat maxAdvanceWidth;
CGFloat minLeftSideBearing;
CGFloat minRightSideBearing;
CGFloat stemWidth;
CGFloat stemHeight;
CGFloat capHeight;
CGFloat xHeight;
CGFloat italicAngle;
CGFloat underlinePosition;
CGFloat underlineThickness;
};
typedef struct ATSFontMetrics ATSFontMetrics;
enum {
kATSItalicQDSkew = (1 << 16) / 4,
kATSBoldQDStretch = (1 << 16) * 3 / 2,
kATSRadiansFactor = 1144
};
typedef UInt16 ATSCurveType;
enum {
kATSCubicCurveType = 0x0001,
kATSQuadCurveType = 0x0002,
kATSOtherCurveType = 0x0003
};
enum {
kATSDeletedGlyphcode = 0xFFFF
};
struct ATSUCurvePath {
UInt32 vectors;
UInt32 controlBits[1];
ATSPoint vector[1];
};
typedef struct ATSUCurvePath ATSUCurvePath;
struct ATSUCurvePaths {
UInt32 contours;
ATSUCurvePath contour[1];
};
typedef struct ATSUCurvePaths ATSUCurvePaths;
struct ATSGlyphIdealMetrics {
ATSPoint advance;
ATSPoint sideBearing;
ATSPoint otherSideBearing;
};
typedef struct ATSGlyphIdealMetrics ATSGlyphIdealMetrics;
struct ATSGlyphScreenMetrics {
ATSPoint deviceAdvance;
ATSPoint topLeft;
UInt32 height;
UInt32 width;
ATSPoint sideBearing;
ATSPoint otherSideBearing;
};
typedef struct ATSGlyphScreenMetrics ATSGlyphScreenMetrics;
typedef ATSGlyphRef GlyphID;
#pragma pack(pop)
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 2 3
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
#pragma pack(push, 2)
enum {
kATSUseGlyphAdvance = 0x7FFFFFFF,
kATSUseLineHeight = 0x7FFFFFFF,
kATSNoTracking = (long)0x80000000
};
# 65 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
enum {
kATSUseCaretOrigins = 0,
kATSUseDeviceOrigins = 1,
# 89 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
kATSUseFractionalOrigins = 2,
kATSUseOriginFlags = 3
};
# 102 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef UInt32 ATSULayoutOperationSelector;
enum {
kATSULayoutOperationNone = 0x00000000,
kATSULayoutOperationJustification = 0x00000001,
kATSULayoutOperationMorph = 0x00000002,
kATSULayoutOperationKerningAdjustment = 0x00000004,
kATSULayoutOperationBaselineAdjustment = 0x00000008,
kATSULayoutOperationTrackingAdjustment = 0x00000010,
kATSULayoutOperationPostLayoutAdjustment = 0x00000020,
kATSULayoutOperationAppleReserved = (UInt32)0xFFFFFFC0
};
# 153 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef UInt32 ATSULayoutOperationCallbackStatus;
enum {
kATSULayoutOperationCallbackStatusHandled = 0x00000000,
kATSULayoutOperationCallbackStatusContinue = 0x00000001
};
# 181 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef UInt32 ATSLineLayoutOptions;
enum {
kATSLineNoLayoutOptions = 0x00000000,
kATSLineIsDisplayOnly = 0x00000001,
kATSLineHasNoHangers = 0x00000002,
kATSLineHasNoOpticalAlignment = 0x00000004,
kATSLineKeepSpacesOutOfMargin = 0x00000008,
kATSLineNoSpecialJustification = 0x00000010,
kATSLineLastNoJustification = 0x00000020,
kATSLineFractDisable = 0x00000040,
kATSLineImposeNoAngleForEnds = 0x00000080,
kATSLineFillOutToWidth = 0x00000100,
kATSLineTabAdjustEnabled = 0x00000200,
kATSLineIgnoreFontLeading = 0x00000400,
kATSLineApplyAntiAliasing = 0x00000800,
kATSLineNoAntiAliasing = 0x00001000,
kATSLineDisableNegativeJustification = 0x00002000,
kATSLineDisableAutoAdjustDisplayPos = 0x00004000,
kATSLineUseQDRendering = 0x00008000,
kATSLineDisableAllJustification = 0x00010000,
kATSLineDisableAllGlyphMorphing = 0x00020000,
kATSLineDisableAllKerningAdjustments = 0x00040000,
kATSLineDisableAllBaselineAdjustments = 0x00080000,
kATSLineDisableAllTrackingAdjustments = 0x00100000,
kATSLineDisableAllLayoutOperations = kATSLineDisableAllJustification | kATSLineDisableAllGlyphMorphing | kATSLineDisableAllKerningAdjustments | kATSLineDisableAllBaselineAdjustments | kATSLineDisableAllTrackingAdjustments,
kATSLineUseDeviceMetrics = 0x01000000,
kATSLineBreakToNearestCharacter = 0x02000000,
kATSLineAppleReserved = (UInt32)0xFCE00000
};
# 343 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef UInt32 ATSStyleRenderingOptions;
enum {
kATSStyleNoOptions = 0x00000000,
kATSStyleNoHinting = 0x00000001,
kATSStyleApplyAntiAliasing = 0x00000002,
kATSStyleNoAntiAliasing = 0x00000004,
kATSStyleAppleReserved = (UInt32)0xFFFFFFF8,
kATSStyleApplyHints = kATSStyleNoOptions
};
# 398 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef UInt32 ATSGlyphInfoFlags;
enum {
kATSGlyphInfoAppleReserved = 0x1FFBFFE8,
kATSGlyphInfoIsAttachment = (UInt32)0x80000000,
kATSGlyphInfoIsLTHanger = 0x40000000,
kATSGlyphInfoIsRBHanger = 0x20000000,
kATSGlyphInfoTerminatorGlyph = 0x00080000,
kATSGlyphInfoIsWhiteSpace = 0x00040000,
kATSGlyphInfoHasImposedWidth = 0x00000010,
kATSGlyphInfoByteSizeMask = 0x00000007
};
# 460 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
struct ATSLayoutRecord {
ATSGlyphRef glyphID;
ATSGlyphInfoFlags flags;
ByteCount originalOffset;
Fixed realPos;
};
typedef struct ATSLayoutRecord ATSLayoutRecord;
# 492 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
struct ATSTrapezoid {
FixedPoint upperLeft;
FixedPoint upperRight;
FixedPoint lowerRight;
FixedPoint lowerLeft;
};
typedef struct ATSTrapezoid ATSTrapezoid;
# 512 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
struct ATSJustWidthDeltaEntryOverride {
Fixed beforeGrowLimit;
Fixed beforeShrinkLimit;
Fixed afterGrowLimit;
Fixed afterShrinkLimit;
JustificationFlags growFlags;
JustificationFlags shrinkFlags;
};
typedef struct ATSJustWidthDeltaEntryOverride ATSJustWidthDeltaEntryOverride;
typedef ATSJustWidthDeltaEntryOverride ATSJustPriorityWidthDeltaOverrides[4];
# 559 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef struct ATSGlyphVector* ATSULineRef;
# 598 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef OSStatus ( * ATSUDirectLayoutOperationOverrideProcPtr)(ATSULayoutOperationSelector iCurrentOperation, ATSULineRef iLineRef, URefCon iRefCon, void *iOperationCallbackParameterPtr, ATSULayoutOperationCallbackStatus *oCallbackStatus);
typedef ATSUDirectLayoutOperationOverrideProcPtr ATSUDirectLayoutOperationOverrideUPP;
# 608 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
extern ATSUDirectLayoutOperationOverrideUPP
NewATSUDirectLayoutOperationOverrideUPP(ATSUDirectLayoutOperationOverrideProcPtr userRoutine) ;
# 619 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
extern void
DisposeATSUDirectLayoutOperationOverrideUPP(ATSUDirectLayoutOperationOverrideUPP userUPP) ;
# 630 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
extern OSStatus
InvokeATSUDirectLayoutOperationOverrideUPP(
ATSULayoutOperationSelector iCurrentOperation,
ATSULineRef iLineRef,
URefCon iRefCon,
void * iOperationCallbackParameterPtr,
ATSULayoutOperationCallbackStatus * oCallbackStatus,
ATSUDirectLayoutOperationOverrideUPP userUPP) ;
#define NewATSUDirectLayoutOperationOverrideUPP(userRoutine) ((ATSUDirectLayoutOperationOverrideUPP)userRoutine)
#define DisposeATSUDirectLayoutOperationOverrideUPP(userUPP)
#define InvokeATSUDirectLayoutOperationOverrideUPP(iCurrentOperation,iLineRef,iRefCon,iOperationCallbackParameterPtr,oCallbackStatus,userUPP) (*userUPP)(iCurrentOperation, iLineRef, iRefCon, iOperationCallbackParameterPtr, oCallbackStatus)
# 662 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
struct ATSULayoutOperationOverrideSpecifier {
ATSULayoutOperationSelector operationSelector;
ATSUDirectLayoutOperationOverrideUPP overrideUPP;
};
typedef struct ATSULayoutOperationOverrideSpecifier ATSULayoutOperationOverrideSpecifier;
#pragma pack(pop)
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define __ATSFONT__
# 32 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTTypes.h" 3
#define __SFNTTYPES__
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTTypes.h" 3
#pragma pack(push, 2)
struct sfntDirectoryEntry {
FourCharCode tableTag;
UInt32 checkSum;
UInt32 offset;
UInt32 length;
};
typedef struct sfntDirectoryEntry sfntDirectoryEntry;
struct sfntDirectory {
FourCharCode format;
UInt16 numOffsets;
UInt16 searchRange;
UInt16 entrySelector;
UInt16 rangeShift;
sfntDirectoryEntry table[1];
};
typedef struct sfntDirectory sfntDirectory;
enum {
sizeof_sfntDirectory = 12
};
enum {
cmapFontTableTag = 'cmap'
};
enum {
kFontUnicodePlatform = 0,
kFontMacintoshPlatform = 1,
kFontReservedPlatform = 2,
kFontMicrosoftPlatform = 3,
kFontCustomPlatform = 4
};
enum {
kFontUnicodeDefaultSemantics = 0,
kFontUnicodeV1_1Semantics = 1,
kFontISO10646_1993Semantics = 2
};
enum {
kFontRomanScript = 0,
kFontJapaneseScript = 1,
kFontTraditionalChineseScript = 2,
kFontChineseScript = kFontTraditionalChineseScript,
kFontKoreanScript = 3,
kFontArabicScript = 4,
kFontHebrewScript = 5,
kFontGreekScript = 6,
kFontCyrillicScript = 7,
kFontRussian = kFontCyrillicScript,
kFontRSymbolScript = 8,
kFontDevanagariScript = 9,
kFontGurmukhiScript = 10,
kFontGujaratiScript = 11,
kFontOriyaScript = 12,
kFontBengaliScript = 13,
kFontTamilScript = 14,
kFontTeluguScript = 15,
kFontKannadaScript = 16,
kFontMalayalamScript = 17,
kFontSinhaleseScript = 18,
kFontBurmeseScript = 19,
kFontKhmerScript = 20,
kFontThaiScript = 21,
kFontLaotianScript = 22,
kFontGeorgianScript = 23,
kFontArmenianScript = 24,
kFontSimpleChineseScript = 25,
kFontTibetanScript = 26,
kFontMongolianScript = 27,
kFontGeezScript = 28,
kFontEthiopicScript = kFontGeezScript,
kFontAmharicScript = kFontGeezScript,
kFontSlavicScript = 29,
kFontEastEuropeanRomanScript = kFontSlavicScript,
kFontVietnameseScript = 30,
kFontExtendedArabicScript = 31,
kFontSindhiScript = kFontExtendedArabicScript,
kFontUninterpretedScript = 32
};
enum {
kFontMicrosoftSymbolScript = 0,
kFontMicrosoftStandardScript = 1,
kFontMicrosoftUCS4Script = 10
};
enum {
kFontCustom8BitScript = 0,
kFontCustom816BitScript = 1,
kFontCustom16BitScript = 2
};
enum {
kFontEnglishLanguage = 0,
kFontFrenchLanguage = 1,
kFontGermanLanguage = 2,
kFontItalianLanguage = 3,
kFontDutchLanguage = 4,
kFontSwedishLanguage = 5,
kFontSpanishLanguage = 6,
kFontDanishLanguage = 7,
kFontPortugueseLanguage = 8,
kFontNorwegianLanguage = 9,
kFontHebrewLanguage = 10,
kFontJapaneseLanguage = 11,
kFontArabicLanguage = 12,
kFontFinnishLanguage = 13,
kFontGreekLanguage = 14,
kFontIcelandicLanguage = 15,
kFontMalteseLanguage = 16,
kFontTurkishLanguage = 17,
kFontCroatianLanguage = 18,
kFontTradChineseLanguage = 19,
kFontUrduLanguage = 20,
kFontHindiLanguage = 21,
kFontThaiLanguage = 22,
kFontKoreanLanguage = 23,
kFontLithuanianLanguage = 24,
kFontPolishLanguage = 25,
kFontHungarianLanguage = 26,
kFontEstonianLanguage = 27,
kFontLettishLanguage = 28,
kFontLatvianLanguage = kFontLettishLanguage,
kFontSaamiskLanguage = 29,
kFontLappishLanguage = kFontSaamiskLanguage,
kFontFaeroeseLanguage = 30,
kFontFarsiLanguage = 31,
kFontPersianLanguage = kFontFarsiLanguage,
kFontRussianLanguage = 32,
kFontSimpChineseLanguage = 33,
kFontFlemishLanguage = 34,
kFontIrishLanguage = 35,
kFontAlbanianLanguage = 36,
kFontRomanianLanguage = 37,
kFontCzechLanguage = 38,
kFontSlovakLanguage = 39,
kFontSlovenianLanguage = 40,
kFontYiddishLanguage = 41,
kFontSerbianLanguage = 42,
kFontMacedonianLanguage = 43,
kFontBulgarianLanguage = 44,
kFontUkrainianLanguage = 45,
kFontByelorussianLanguage = 46,
kFontUzbekLanguage = 47,
kFontKazakhLanguage = 48,
kFontAzerbaijaniLanguage = 49,
kFontAzerbaijanArLanguage = 50,
kFontArmenianLanguage = 51,
kFontGeorgianLanguage = 52,
kFontMoldavianLanguage = 53,
kFontKirghizLanguage = 54,
kFontTajikiLanguage = 55,
kFontTurkmenLanguage = 56,
kFontMongolianLanguage = 57,
kFontMongolianCyrLanguage = 58,
kFontPashtoLanguage = 59,
kFontKurdishLanguage = 60,
kFontKashmiriLanguage = 61,
kFontSindhiLanguage = 62,
kFontTibetanLanguage = 63,
kFontNepaliLanguage = 64,
kFontSanskritLanguage = 65,
kFontMarathiLanguage = 66,
kFontBengaliLanguage = 67,
kFontAssameseLanguage = 68,
kFontGujaratiLanguage = 69,
kFontPunjabiLanguage = 70,
kFontOriyaLanguage = 71,
kFontMalayalamLanguage = 72,
kFontKannadaLanguage = 73,
kFontTamilLanguage = 74,
kFontTeluguLanguage = 75,
kFontSinhaleseLanguage = 76,
kFontBurmeseLanguage = 77,
kFontKhmerLanguage = 78,
kFontLaoLanguage = 79,
kFontVietnameseLanguage = 80,
kFontIndonesianLanguage = 81,
kFontTagalogLanguage = 82,
kFontMalayRomanLanguage = 83,
kFontMalayArabicLanguage = 84,
kFontAmharicLanguage = 85,
kFontTigrinyaLanguage = 86,
kFontGallaLanguage = 87,
kFontOromoLanguage = kFontGallaLanguage,
kFontSomaliLanguage = 88,
kFontSwahiliLanguage = 89,
kFontRuandaLanguage = 90,
kFontRundiLanguage = 91,
kFontChewaLanguage = 92,
kFontMalagasyLanguage = 93,
kFontEsperantoLanguage = 94,
kFontWelshLanguage = 128,
kFontBasqueLanguage = 129,
kFontCatalanLanguage = 130,
kFontLatinLanguage = 131,
kFontQuechuaLanguage = 132,
kFontGuaraniLanguage = 133,
kFontAymaraLanguage = 134,
kFontTatarLanguage = 135,
kFontUighurLanguage = 136,
kFontDzongkhaLanguage = 137,
kFontJavaneseRomLanguage = 138,
kFontSundaneseRomLanguage = 139
};
enum {
kFontNoPlatformCode = (unsigned int)(~0),
kFontNoScriptCode = (unsigned int)(~0),
kFontNoLanguageCode = (unsigned int)(~0)
};
struct sfntCMapSubHeader {
UInt16 format;
UInt16 length;
UInt16 languageID;
};
typedef struct sfntCMapSubHeader sfntCMapSubHeader;
enum {
sizeof_sfntCMapSubHeader = 6
};
struct sfntCMapExtendedSubHeader {
UInt16 format;
UInt16 reserved;
UInt32 length;
UInt32 language;
};
typedef struct sfntCMapExtendedSubHeader sfntCMapExtendedSubHeader;
enum {
sizeof_sfntCMapExtendedSubHeader = 12
};
struct sfntCMapEncoding {
UInt16 platformID;
UInt16 scriptID;
UInt32 offset;
};
typedef struct sfntCMapEncoding sfntCMapEncoding;
enum {
sizeof_sfntCMapEncoding = 8
};
struct sfntCMapHeader {
UInt16 version;
UInt16 numTables;
sfntCMapEncoding encoding[1];
};
typedef struct sfntCMapHeader sfntCMapHeader;
enum {
sizeof_sfntCMapHeader = 4
};
enum {
nameFontTableTag = 'name'
};
enum {
kFontCopyrightName = 0,
kFontFamilyName = 1,
kFontStyleName = 2,
kFontUniqueName = 3,
kFontFullName = 4,
kFontVersionName = 5,
kFontPostscriptName = 6,
kFontTrademarkName = 7,
kFontManufacturerName = 8,
kFontDesignerName = 9,
kFontDescriptionName = 10,
kFontVendorURLName = 11,
kFontDesignerURLName = 12,
kFontLicenseDescriptionName = 13,
kFontLicenseInfoURLName = 14,
kFontPreferredFamilyName = 16,
kFontPreferredSubfamilyName = 17,
kFontMacCompatibleFullName = 18,
kFontSampleTextName = 19,
kFontPostScriptCIDName = 20,
kFontLastReservedName = 255
};
enum {
kFontNoNameCode = (unsigned int)(~0)
};
struct sfntNameRecord {
UInt16 platformID;
UInt16 scriptID;
UInt16 languageID;
UInt16 nameID;
UInt16 length;
UInt16 offset;
};
typedef struct sfntNameRecord sfntNameRecord;
enum {
sizeof_sfntNameRecord = 12
};
struct sfntNameHeader {
UInt16 format;
UInt16 count;
UInt16 stringOffset;
sfntNameRecord rec[1];
};
typedef struct sfntNameHeader sfntNameHeader;
enum {
sizeof_sfntNameHeader = 6
};
enum {
variationFontTableTag = 'fvar'
};
struct sfntVariationAxis {
FourCharCode axisTag;
Fixed minValue;
Fixed defaultValue;
Fixed maxValue;
SInt16 flags;
SInt16 nameID;
};
typedef struct sfntVariationAxis sfntVariationAxis;
enum {
sizeof_sfntVariationAxis = 20
};
struct sfntInstance {
SInt16 nameID;
SInt16 flags;
Fixed coord[1];
};
typedef struct sfntInstance sfntInstance;
enum {
sizeof_sfntInstance = 4
};
struct sfntVariationHeader {
Fixed version;
UInt16 offsetToData;
UInt16 countSizePairs;
UInt16 axisCount;
UInt16 axisSize;
UInt16 instanceCount;
UInt16 instanceSize;
sfntVariationAxis axis[1];
sfntInstance instance[1];
};
typedef struct sfntVariationHeader sfntVariationHeader;
enum {
sizeof_sfntVariationHeader = 16
};
enum {
descriptorFontTableTag = 'fdsc'
};
struct sfntFontDescriptor {
FourCharCode name;
Fixed value;
};
typedef struct sfntFontDescriptor sfntFontDescriptor;
struct sfntDescriptorHeader {
Fixed version;
SInt32 descriptorCount;
sfntFontDescriptor descriptor[1];
};
typedef struct sfntDescriptorHeader sfntDescriptorHeader;
enum {
sizeof_sfntDescriptorHeader = 8
};
enum {
featureFontTableTag = 'feat'
};
struct sfntFeatureName {
UInt16 featureType;
UInt16 settingCount;
SInt32 offsetToSettings;
UInt16 featureFlags;
UInt16 nameID;
};
typedef struct sfntFeatureName sfntFeatureName;
struct sfntFontFeatureSetting {
UInt16 setting;
UInt16 nameID;
};
typedef struct sfntFontFeatureSetting sfntFontFeatureSetting;
struct sfntFontRunFeature {
UInt16 featureType;
UInt16 setting;
};
typedef struct sfntFontRunFeature sfntFontRunFeature;
struct sfntFeatureHeader {
SInt32 version;
UInt16 featureNameCount;
UInt16 featureSetCount;
SInt32 reserved;
sfntFeatureName names[1];
sfntFontFeatureSetting settings[1];
sfntFontRunFeature runs[1];
};
typedef struct sfntFeatureHeader sfntFeatureHeader;
enum {
os2FontTableTag = 'OS/2'
};
enum {
nonGlyphID = 65535L
};
enum {
kFontNoPlatform = (unsigned int)(~0),
kFontNoScript = (unsigned int)(~0),
kFontNoLanguage = (unsigned int)(~0),
kFontNoName = (unsigned int)(~0)
};
typedef UInt32 FontNameCode;
typedef UInt32 FontPlatformCode;
typedef UInt32 FontScriptCode;
typedef UInt32 FontLanguageCode;
struct FontVariation {
FourCharCode name;
Fixed value;
};
typedef struct FontVariation FontVariation;
#pragma pack(pop)
# 33 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 2 3
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#pragma pack(push, 2)
enum {
kATSOptionFlagsDefault = kNilOptions,
kATSOptionFlagsComposeFontPostScriptName = 1 << 0,
kATSOptionFlagsUseDataForkAsResourceFork = 1 << 8,
kATSOptionFlagsUseResourceFork = 2 << 8,
kATSOptionFlagsUseDataFork = 3 << 8
};
enum {
kATSIterationCompleted = -980L,
kATSInvalidFontFamilyAccess = -981L,
kATSInvalidFontAccess = -982L,
kATSIterationScopeModified = -983L,
kATSInvalidFontTableAccess = -984L,
kATSInvalidFontContainerAccess = -985L,
kATSInvalidGlyphAccess = -986L
};
typedef UInt32 ATSFontContext;
enum {
kATSFontContextUnspecified = 0,
kATSFontContextGlobal = 1,
kATSFontContextLocal = 2
};
enum {
kATSOptionFlagsActivateDisabled = 0x00000001 << 5,
kATSOptionFlagsProcessSubdirectories = 0x00000001 << 6,
kATSOptionFlagsDoNotNotify = 0x00000001 << 7,
kATSOptionFlagsRecordPersistently = 0x00000001 << 18
};
enum {
kATSOptionFlagsIterateByPrecedenceMask = 0x00000001 << 5,
kATSOptionFlagsIncludeDisabledMask = 0x00000001 << 7,
kATSOptionFlagsIterationScopeMask = 0x00000007 << 12,
kATSOptionFlagsDefaultScope = 0x00000000 << 12,
kATSOptionFlagsUnRestrictedScope = 0x00000001 << 12,
kATSOptionFlagsRestrictedScope = 0x00000002 << 12
};
typedef OSStatus ( * ATSFontFamilyApplierFunction)(ATSFontFamilyRef iFamily, void *iRefCon);
typedef OSStatus ( * ATSFontApplierFunction)(ATSFontRef iFont, void *iRefCon);
typedef struct ATSFontFamilyIterator_* ATSFontFamilyIterator;
typedef struct ATSFontIterator_* ATSFontIterator;
enum {
kATSFontFilterCurrentVersion = 0
};
enum ATSFontFilterSelector {
kATSFontFilterSelectorUnspecified = 0,
kATSFontFilterSelectorGeneration = 3,
kATSFontFilterSelectorFontFamily = 7,
kATSFontFilterSelectorFontFamilyApplierFunction = 8,
kATSFontFilterSelectorFontApplierFunction = 9,
kATSFileReferenceFilterSelector = 10
};
typedef enum ATSFontFilterSelector ATSFontFilterSelector;
struct ATSFontFilter {
UInt32 version;
ATSFontFilterSelector filterSelector;
union {
ATSGeneration generationFilter;
ATSFontFamilyRef fontFamilyFilter;
ATSFontFamilyApplierFunction fontFamilyApplierFunctionFilter;
ATSFontApplierFunction fontApplierFunctionFilter;
const FSRef * fontFileRefFilter;
} filter;
};
typedef struct ATSFontFilter ATSFontFilter;
typedef struct ATSFontNotificationRef_* ATSFontNotificationRef;
typedef struct ATSFontNotificationInfoRef_* ATSFontNotificationInfoRef;
# 138 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
enum ATSFontNotifyOption {
kATSFontNotifyOptionDefault = 0,
# 153 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
kATSFontNotifyOptionReceiveWhileSuspended = 1L << 0
};
typedef enum ATSFontNotifyOption ATSFontNotifyOption;
# 168 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
enum ATSFontNotifyAction {
# 177 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
kATSFontNotifyActionFontsChanged = 1,
# 187 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
kATSFontNotifyActionDirectoriesChanged = 2
};
typedef enum ATSFontNotifyAction ATSFontNotifyAction;
# 208 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
typedef void ( * ATSNotificationCallback)(ATSFontNotificationInfoRef info, void *refCon);
# 223 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSGeneration
ATSGetGeneration(void) ;
# 276 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontActivateFromFileSpecification(
const FSSpec * iFile,
ATSFontContext iContext,
ATSFontFormat iFormat,
void * iReserved,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) __attribute__((deprecated));
# 333 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontActivateFromFileReference(
const FSRef * iFile,
ATSFontContext iContext,
ATSFontFormat iFormat,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ;
# 354 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontActivateFromMemory(
LogicalAddress iData,
ByteCount iLength,
ATSFontContext iContext,
ATSFontFormat iFormat,
void * iReserved,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ;
# 376 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontDeactivate(
ATSFontContainerRef iContainer,
void * iRefCon,
ATSOptionFlags iOptions) ;
# 427 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetContainerFromFileReference(
const FSRef * iFile,
ATSFontContext iContext,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ;
# 466 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetContainer(
ATSFontRef iFont,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ;
# 504 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontSetEnabled(
ATSFontRef iFont,
ATSOptionFlags iOptions,
Boolean iEnabled) ;
# 533 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern Boolean
ATSFontIsEnabled(ATSFontRef iFont) ;
# 551 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyApplyFunction(
ATSFontFamilyApplierFunction iFunction,
void * iRefCon) ;
# 568 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyIteratorCreate(
ATSFontContext iContext,
const ATSFontFilter * iFilter,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontFamilyIterator * ioIterator) ;
# 588 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyIteratorRelease(ATSFontFamilyIterator * ioIterator) ;
# 603 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyIteratorReset(
ATSFontContext iContext,
const ATSFontFilter * iFilter,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontFamilyIterator * ioIterator) ;
# 623 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyIteratorNext(
ATSFontFamilyIterator iIterator,
ATSFontFamilyRef * oFamily) ;
# 640 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontFamilyRef
ATSFontFamilyFindFromName(
CFStringRef iName,
ATSOptionFlags iOptions) ;
# 657 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSGeneration
ATSFontFamilyGetGeneration(ATSFontFamilyRef iFamily) ;
# 672 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyGetName(
ATSFontFamilyRef iFamily,
ATSOptionFlags iOptions,
CFStringRef * oName) ;
# 690 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern TextEncoding
ATSFontFamilyGetEncoding(ATSFontFamilyRef iFamily) ;
# 708 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontApplyFunction(
ATSFontApplierFunction iFunction,
void * iRefCon) ;
# 725 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontIteratorCreate(
ATSFontContext iContext,
const ATSFontFilter * iFilter,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontIterator * ioIterator) ;
# 745 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontIteratorRelease(ATSFontIterator * ioIterator) ;
# 760 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontIteratorReset(
ATSFontContext iContext,
const ATSFontFilter * iFilter,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontIterator * ioIterator) ;
# 780 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontIteratorNext(
ATSFontIterator iIterator,
ATSFontRef * oFont) ;
# 797 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontRef
ATSFontFindFromName(
CFStringRef iName,
ATSOptionFlags iOptions) ;
# 814 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontRef
ATSFontFindFromPostScriptName(
CFStringRef iName,
ATSOptionFlags iOptions) ;
# 831 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFindFromContainer(
ATSFontContainerRef iContainer,
ATSOptionFlags iOptions,
ItemCount iCount,
ATSFontRef ioArray[],
ItemCount * oCount) ;
# 851 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSGeneration
ATSFontGetGeneration(ATSFontRef iFont) ;
# 866 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetName(
ATSFontRef iFont,
ATSOptionFlags iOptions,
CFStringRef * oName) ;
# 884 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetPostScriptName(
ATSFontRef iFont,
ATSOptionFlags iOptions,
CFStringRef * oName) ;
# 902 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetTableDirectory(
ATSFontRef iFont,
ByteCount iBufferSize,
void * ioBuffer,
ByteCount * oSize) ;
# 921 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetTable(
ATSFontRef iFont,
FourCharCode iTag,
ByteOffset iOffset,
ByteCount iBufferSize,
void * ioBuffer,
ByteCount * oSize) ;
# 942 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetHorizontalMetrics(
ATSFontRef iFont,
ATSOptionFlags iOptions,
ATSFontMetrics * oMetrics) ;
# 960 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetVerticalMetrics(
ATSFontRef iFont,
ATSOptionFlags iOptions,
ATSFontMetrics * oMetrics) ;
# 981 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontFamilyRef
ATSFontFamilyFindFromQuickDrawName(ConstStr255Param iName) ;
# 996 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyGetQuickDrawName(
ATSFontFamilyRef iFamily,
Str255 oName) ;
# 1034 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetFileSpecification(
ATSFontRef iFont,
ATSFSSpec * oFile) __attribute__((deprecated));
# 1070 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetFileReference(
ATSFontRef iFont,
FSRef * oFile) ;
# 1088 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetFontFamilyResource(
ATSFontRef iFont,
ByteCount iBufferSize,
void * ioBuffer,
ByteCount * oSize) ;
# 1128 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontNotify(
ATSFontNotifyAction action,
void * info) ;
# 1173 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontNotificationSubscribe(
ATSNotificationCallback callback,
ATSFontNotifyOption options,
void * iRefcon,
ATSFontNotificationRef * oNotificationRef) ;
# 1209 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontNotificationUnsubscribe(ATSFontNotificationRef notificationRef) ;
# 1225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
struct ATSFontQuerySourceContext {
UInt32 version;
void * refCon;
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
};
typedef struct ATSFontQuerySourceContext ATSFontQuerySourceContext;
enum ATSFontQueryMessageID {
kATSQueryActivateFontMessage = 'atsa'
};
typedef enum ATSFontQueryMessageID ATSFontQueryMessageID;
# 1293 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
typedef CFPropertyListRef ( * ATSFontQueryCallback)(ATSFontQueryMessageID msgid, CFPropertyListRef data, void *refCon);
# 1333 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern CFRunLoopSourceRef
ATSCreateFontQueryRunLoopSource(
CFIndex queryOrder,
CFIndex sourceOrder,
ATSFontQueryCallback callout,
const ATSFontQuerySourceContext * context) ;
# 1354 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSQueryClientPID CFSTR("ATS client pid")
# 1364 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSQueryQDFamilyName CFSTR("font family name")
# 1374 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSQueryFontName CFSTR("font name")
# 1386 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSQueryFontPostScriptName CFSTR("font PS name")
# 1397 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSQueryFontNameTableEntries CFSTR("font name table entries")
# 1407 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSFontNameTableCode CFSTR("font name code")
# 1416 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSFontNameTablePlatform CFSTR("font platform code")
# 1425 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSFontNameTableScript CFSTR("font script code")
# 1434 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSFontNameTableLanguage CFSTR("font language code")
# 1443 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSFontNameTableBytes CFSTR("font name table bytes")
# 1454 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
enum {
kATSFontAutoActivationDefault = 0,
kATSFontAutoActivationDisabled = 1,
kATSFontAutoActivationEnabled = 2,
kATSFontAutoActivationAsk = 4
};
typedef UInt32 ATSFontAutoActivationSetting;
# 1498 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontSetGlobalAutoActivationSetting(ATSFontAutoActivationSetting iSetting) ;
# 1520 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontAutoActivationSetting
ATSFontGetGlobalAutoActivationSetting(void) ;
# 1561 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontSetAutoActivationSettingForApplication(
ATSFontAutoActivationSetting iSetting,
CFURLRef iApplicationFileURL) ;
# 1598 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontAutoActivationSetting
ATSFontGetAutoActivationSettingForApplication(CFURLRef iApplicationFileURL) ;
#pragma pack(pop)
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ScalerStreamTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ScalerStreamTypes.h" 3
#define __SCALERSTREAMTYPES__
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ScalerStreamTypes.h" 3
#pragma pack(push, 2)
enum {
cexec68K = 0x00000001,
truetypeStreamType = 0x00000001,
type1StreamType = 0x00000002,
type3StreamType = 0x00000004,
type42StreamType = 0x00000008,
type42GXStreamType = 0x00000010,
portableStreamType = 0x00000020,
flattenedStreamType = 0x00000040,
cidType2StreamType = 0x00000080,
cidType0StreamType = 0x00000100,
type1CFFStreamType = 0x00000200,
evenOddModifierStreamType = 0x00008000,
eexecBinaryModifierStreamType = 0x00010000,
unicodeMappingModifierStreamType = 0x00020000,
scalerSpecifcModifierMask = 0x0000F000,
streamTypeModifierMask = (long)0xFFFFF000
};
typedef UInt32 scalerStreamTypeFlag;
enum {
downloadStreamAction = 0,
asciiDownloadStreamAction = 1,
fontSizeQueryStreamAction = 2,
encodingOnlyStreamAction = 3,
prerequisiteQueryStreamAction = 4,
prerequisiteItemStreamAction = 5,
variationQueryStreamAction = 6,
variationPSOperatorStreamAction = 7
};
typedef SInt32 scalerStreamAction;
enum {
selectAllVariations = -1
};
struct scalerPrerequisiteItem {
SInt32 enumeration;
SInt32 size;
unsigned char name[1];
};
typedef struct scalerPrerequisiteItem scalerPrerequisiteItem;
struct scalerStream {
const void * streamRefCon;
const char * targetVersion;
scalerStreamTypeFlag types;
scalerStreamAction action;
UInt32 memorySize;
SInt32 variationCount;
const void * variations;
union {
struct {
const unsigned short * encoding;
SInt32 * glyphBits;
char * name;
} font;
struct {
SInt32 size;
void * list;
} prerequisiteQuery;
SInt32 prerequisiteItem;
SInt32 variationQueryResult;
} info;
};
typedef struct scalerStream scalerStream;
struct scalerStreamData {
SInt32 hexFlag;
SInt32 byteCount;
const void * data;
};
typedef struct scalerStreamData scalerStreamData;
#pragma pack(pop)
# 38 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h" 2 3
# 27 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 3
#define __QD__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 1 3
#define COREGRAPHICS_H_
#define __COREGRAPHICS__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 1 3
#define CGAFFINETRANSFORM_H_
typedef struct CGAffineTransform CGAffineTransform;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 2 3
struct CGAffineTransform {
CGFloat a, b, c, d;
CGFloat tx, ty;
};
extern const CGAffineTransform CGAffineTransformIdentity;
extern CGAffineTransform CGAffineTransformMake(CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty);
extern CGAffineTransform CGAffineTransformMakeTranslation(CGFloat tx, CGFloat ty);
extern CGAffineTransform CGAffineTransformMakeScale(CGFloat sx, CGFloat sy);
extern CGAffineTransform CGAffineTransformMakeRotation(CGFloat angle);
extern _Bool CGAffineTransformIsIdentity(CGAffineTransform t) ;
extern CGAffineTransform CGAffineTransformTranslate(CGAffineTransform t, CGFloat tx, CGFloat ty);
extern CGAffineTransform CGAffineTransformScale(CGAffineTransform t, CGFloat sx, CGFloat sy);
extern CGAffineTransform CGAffineTransformRotate(CGAffineTransform t, CGFloat angle);
extern CGAffineTransform CGAffineTransformInvert(CGAffineTransform t);
extern CGAffineTransform CGAffineTransformConcat(CGAffineTransform t1, CGAffineTransform t2);
extern _Bool CGAffineTransformEqualToTransform(CGAffineTransform t1, CGAffineTransform t2) ;
extern CGPoint CGPointApplyAffineTransform(CGPoint point, CGAffineTransform t);
extern CGSize CGSizeApplyAffineTransform(CGSize size, CGAffineTransform t);
# 96 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 3
extern CGRect CGRectApplyAffineTransform(CGRect rect, CGAffineTransform t) ;
static __inline__ CGAffineTransform
__CGAffineTransformMake(CGFloat a, CGFloat b, CGFloat c, CGFloat d,
CGFloat tx, CGFloat ty)
{
CGAffineTransform t;
t.a = a; t.b = b; t.c = c; t.d = d; t.tx = tx; t.ty = ty;
return t;
}
#define CGAffineTransformMake __CGAffineTransformMake
static __inline__ CGPoint
__CGPointApplyAffineTransform(CGPoint point, CGAffineTransform t)
{
CGPoint p;
p.x = (CGFloat)((double)t.a * point.x + (double)t.c * point.y + t.tx);
p.y = (CGFloat)((double)t.b * point.x + (double)t.d * point.y + t.ty);
return p;
}
#define CGPointApplyAffineTransform __CGPointApplyAffineTransform
static __inline__ CGSize
__CGSizeApplyAffineTransform(CGSize size, CGAffineTransform t)
{
CGSize s;
s.width = (CGFloat)((double)t.a * size.width + (double)t.c * size.height);
s.height = (CGFloat)((double)t.b * size.width + (double)t.d * size.height);
return s;
}
#define CGSizeApplyAffineTransform __CGSizeApplyAffineTransform
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h" 1 3
#define CGBITMAPCONTEXT_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
#define CGCONTEXT_H_
typedef struct CGContext *CGContextRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 1 3
#define CGCOLOR_H_
typedef struct CGColor *CGColorRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
#define CGCOLORSPACE_H_
typedef struct CGColorSpace *CGColorSpaceRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
#define CGDATAPROVIDER_H_
typedef struct CGDataProvider *CGDataProviderRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 2 3
typedef size_t (*CGDataProviderGetBytesCallback)(void *info, void *buffer, size_t count);
typedef off_t (*CGDataProviderSkipForwardCallback)(void *info, off_t count);
typedef void (*CGDataProviderRewindCallback)(void *info);
typedef void (*CGDataProviderReleaseInfoCallback)(void *info);
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 3
struct CGDataProviderSequentialCallbacks {
unsigned int version;
CGDataProviderGetBytesCallback getBytes;
CGDataProviderSkipForwardCallback skipForward;
CGDataProviderRewindCallback rewind;
CGDataProviderReleaseInfoCallback releaseInfo;
};
typedef struct CGDataProviderSequentialCallbacks CGDataProviderSequentialCallbacks;
typedef const void *(*CGDataProviderGetBytePointerCallback)(void *info);
typedef void (*CGDataProviderReleaseBytePointerCallback)(void *info, const void *pointer);
typedef size_t (*CGDataProviderGetBytesAtPositionCallback)(void *info, void *buffer, off_t position, size_t count);
# 89 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 3
struct CGDataProviderDirectCallbacks {
unsigned int version;
CGDataProviderGetBytePointerCallback getBytePointer;
CGDataProviderReleaseBytePointerCallback releaseBytePointer;
CGDataProviderGetBytesAtPositionCallback getBytesAtPosition;
CGDataProviderReleaseInfoCallback releaseInfo;
};
typedef struct CGDataProviderDirectCallbacks CGDataProviderDirectCallbacks;
extern CFTypeID CGDataProviderGetTypeID(void) ;
extern CGDataProviderRef CGDataProviderCreateSequential(void *info, const CGDataProviderSequentialCallbacks *callbacks) ;
extern CGDataProviderRef CGDataProviderCreateDirect(void *info, off_t size, const CGDataProviderDirectCallbacks *callbacks) ;
typedef void (*CGDataProviderReleaseDataCallback)(void *info, const void *data, size_t size);
extern CGDataProviderRef CGDataProviderCreateWithData(void *info, const void *data, size_t size, CGDataProviderReleaseDataCallback releaseData);
extern CGDataProviderRef CGDataProviderCreateWithCFData(CFDataRef data) ;
extern CGDataProviderRef CGDataProviderCreateWithURL(CFURLRef url);
extern CGDataProviderRef CGDataProviderCreateWithFilename(const char *filename);
extern CGDataProviderRef CGDataProviderRetain(CGDataProviderRef provider);
extern void CGDataProviderRelease(CGDataProviderRef provider);
extern CFDataRef CGDataProviderCopyData(CGDataProviderRef provider);
typedef void (*CGDataProviderSkipBytesCallback)(void *info, size_t count);
# 168 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 3
struct CGDataProviderCallbacks {
CGDataProviderGetBytesCallback getBytes;
CGDataProviderSkipBytesCallback skipBytes;
CGDataProviderRewindCallback rewind;
CGDataProviderReleaseInfoCallback releaseProvider;
};
typedef struct CGDataProviderCallbacks CGDataProviderCallbacks;
typedef size_t (*CGDataProviderGetBytesAtOffsetCallback)(void *info, void *buffer, size_t offset, size_t count);
# 193 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 3
struct CGDataProviderDirectAccessCallbacks {
CGDataProviderGetBytePointerCallback getBytePointer;
CGDataProviderReleaseBytePointerCallback releaseBytePointer;
CGDataProviderGetBytesAtOffsetCallback getBytes;
CGDataProviderReleaseInfoCallback releaseProvider;
};
typedef struct CGDataProviderDirectAccessCallbacks CGDataProviderDirectAccessCallbacks;
extern CGDataProviderRef CGDataProviderCreate(void *info, const CGDataProviderCallbacks *callbacks) __attribute__((deprecated));
extern CGDataProviderRef CGDataProviderCreateDirectAccess(void *info, size_t size, const CGDataProviderDirectAccessCallbacks *callbacks) __attribute__((deprecated));
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 2 3
enum CGColorRenderingIntent {
kCGRenderingIntentDefault,
kCGRenderingIntentAbsoluteColorimetric,
kCGRenderingIntentRelativeColorimetric,
kCGRenderingIntentPerceptual,
kCGRenderingIntentSaturation
};
typedef enum CGColorRenderingIntent CGColorRenderingIntent;
enum CGColorSpaceModel {
kCGColorSpaceModelUnknown = -1,
kCGColorSpaceModelMonochrome,
kCGColorSpaceModelRGB,
kCGColorSpaceModelCMYK,
kCGColorSpaceModelLab,
kCGColorSpaceModelDeviceN,
kCGColorSpaceModelIndexed,
kCGColorSpaceModelPattern
};
typedef enum CGColorSpaceModel CGColorSpaceModel;
extern const CFStringRef kCGColorSpaceGenericGray ;
extern const CFStringRef kCGColorSpaceGenericRGB ;
extern const CFStringRef kCGColorSpaceGenericCMYK ;
extern const CFStringRef kCGColorSpaceGenericRGBLinear ;
extern const CFStringRef kCGColorSpaceAdobeRGB1998 ;
extern const CFStringRef kCGColorSpaceSRGB ;
extern CGColorSpaceRef CGColorSpaceCreateDeviceGray(void);
extern CGColorSpaceRef CGColorSpaceCreateDeviceRGB(void);
extern CGColorSpaceRef CGColorSpaceCreateDeviceCMYK(void);
extern CGColorSpaceRef CGColorSpaceCreateCalibratedGray(const CGFloat whitePoint[3], const CGFloat blackPoint[3], CGFloat gamma);
# 102 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 3
extern CGColorSpaceRef CGColorSpaceCreateCalibratedRGB(const CGFloat whitePoint[3], const CGFloat blackPoint[3], const CGFloat gamma[3], const CGFloat matrix[9]);
# 111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 3
extern CGColorSpaceRef CGColorSpaceCreateLab(const CGFloat whitePoint[3], const CGFloat blackPoint[3], const CGFloat range[4]);
# 127 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 3
extern CGColorSpaceRef CGColorSpaceCreateICCBased(size_t nComponents, const CGFloat *range, CGDataProviderRef profile, CGColorSpaceRef alternate);
# 139 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 3
extern CGColorSpaceRef CGColorSpaceCreateIndexed(CGColorSpaceRef baseSpace, size_t lastIndex, const unsigned char *colorTable);
extern CGColorSpaceRef CGColorSpaceCreatePattern(CGColorSpaceRef baseSpace);
extern CGColorSpaceRef CGColorSpaceCreateWithPlatformColorSpace(void *ref);
extern CGColorSpaceRef CGColorSpaceCreateWithName(CFStringRef name) ;
extern CGColorSpaceRef CGColorSpaceRetain(CGColorSpaceRef space);
extern void CGColorSpaceRelease(CGColorSpaceRef space);
extern CFTypeID CGColorSpaceGetTypeID(void) ;
extern size_t CGColorSpaceGetNumberOfComponents(CGColorSpaceRef space);
extern CGColorSpaceModel CGColorSpaceGetModel(CGColorSpaceRef space) ;
extern CGColorSpaceRef CGColorSpaceGetBaseColorSpace(CGColorSpaceRef space) ;
extern size_t CGColorSpaceGetColorTableCount(CGColorSpaceRef space) ;
# 200 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 3
extern void CGColorSpaceGetColorTable(CGColorSpaceRef space, unsigned char *table) ;
extern CFDataRef CGColorSpaceCopyICCProfile(CGColorSpaceRef space) ;
#define kCGColorSpaceUserGray CFSTR("kCGColorSpaceUserGray")
#define kCGColorSpaceUserRGB CFSTR("kCGColorSpaceUserRGB")
#define kCGColorSpaceUserCMYK CFSTR("kCGColorSpaceUserCMYK")
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 1 3
#define CGPATTERN_H_
typedef struct CGPattern *CGPatternRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 2 3
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 3
enum CGPatternTiling {
kCGPatternTilingNoDistortion,
kCGPatternTilingConstantSpacingMinimalDistortion,
kCGPatternTilingConstantSpacing
};
typedef enum CGPatternTiling CGPatternTiling;
# 49 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 3
typedef void (*CGPatternDrawPatternCallback)(void *info, CGContextRef c);
typedef void (*CGPatternReleaseInfoCallback)(void *info);
struct CGPatternCallbacks {
unsigned int version;
CGPatternDrawPatternCallback drawPattern;
CGPatternReleaseInfoCallback releaseInfo;
};
typedef struct CGPatternCallbacks CGPatternCallbacks;
extern CFTypeID CGPatternGetTypeID(void) ;
extern CGPatternRef CGPatternCreate(void *info, CGRect bounds, CGAffineTransform matrix, CGFloat xStep, CGFloat yStep, CGPatternTiling tiling, _Bool isColored, const CGPatternCallbacks *callbacks);
extern CGPatternRef CGPatternRetain(CGPatternRef pattern);
extern void CGPatternRelease(CGPatternRef pattern);
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 2 3
extern CGColorRef CGColorCreate(CGColorSpaceRef space, const CGFloat components[]) ;
extern CGColorRef CGColorCreateGenericGray(CGFloat gray, CGFloat alpha) ;
extern CGColorRef CGColorCreateGenericRGB(CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha) ;
extern CGColorRef CGColorCreateGenericCMYK(CGFloat cyan, CGFloat magenta, CGFloat yellow, CGFloat black, CGFloat alpha) ;
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 3
extern CGColorRef CGColorGetConstantColor(CFStringRef colorName) ;
extern CGColorRef CGColorCreateWithPattern(CGColorSpaceRef space, CGPatternRef pattern, const CGFloat components[]) ;
extern CGColorRef CGColorCreateCopy(CGColorRef color) ;
extern CGColorRef CGColorCreateCopyWithAlpha(CGColorRef color, CGFloat alpha) ;
extern CGColorRef CGColorRetain(CGColorRef color) ;
extern void CGColorRelease(CGColorRef color) ;
extern _Bool CGColorEqualToColor(CGColorRef color1, CGColorRef color2) ;
extern size_t CGColorGetNumberOfComponents(CGColorRef color) ;
extern const CGFloat *CGColorGetComponents(CGColorRef color) ;
extern CGFloat CGColorGetAlpha(CGColorRef color) ;
extern CGColorSpaceRef CGColorGetColorSpace(CGColorRef color) ;
extern CGPatternRef CGColorGetPattern(CGColorRef color) ;
extern CFTypeID CGColorGetTypeID(void) ;
extern const CFStringRef kCGColorWhite ;
extern const CFStringRef kCGColorBlack ;
extern const CFStringRef kCGColorClear ;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 1 3
#define CGFONT_H_
typedef struct CGFont *CGFontRef;
typedef unsigned short CGFontIndex;
typedef CGFontIndex CGGlyph;
enum CGFontPostScriptFormat {
kCGFontPostScriptFormatType1 = 1,
kCGFontPostScriptFormatType3 = 3,
kCGFontPostScriptFormatType42 = 42
};
typedef enum CGFontPostScriptFormat CGFontPostScriptFormat;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 36 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 2 3
enum {
kCGFontIndexMax = ((1 << 16) - 2),
kCGFontIndexInvalid = ((1 << 16) - 1),
kCGGlyphMax = kCGFontIndexMax
};
extern CFTypeID CGFontGetTypeID(void) ;
extern CGFontRef CGFontCreateWithPlatformFont(void *platformFontReference);
extern CGFontRef CGFontCreateWithDataProvider(CGDataProviderRef provider) ;
extern CGFontRef CGFontCreateWithFontName(CFStringRef name) ;
# 82 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 3
extern CGFontRef CGFontCreateCopyWithVariations(CGFontRef font, CFDictionaryRef variations) ;
extern CGFontRef CGFontRetain(CGFontRef font);
extern void CGFontRelease(CGFontRef font);
extern size_t CGFontGetNumberOfGlyphs(CGFontRef font);
extern int CGFontGetUnitsPerEm(CGFontRef font);
extern CFStringRef CGFontCopyPostScriptName(CGFontRef font) ;
extern CFStringRef CGFontCopyFullName(CGFontRef font) ;
extern int CGFontGetAscent(CGFontRef font) ;
extern int CGFontGetDescent(CGFontRef font) ;
extern int CGFontGetLeading(CGFontRef font) ;
extern int CGFontGetCapHeight(CGFontRef font) ;
extern int CGFontGetXHeight(CGFontRef font) ;
extern CGRect CGFontGetFontBBox(CGFontRef font) ;
extern CGFloat CGFontGetItalicAngle(CGFontRef font) ;
extern CGFloat CGFontGetStemV(CGFontRef font) ;
extern CFArrayRef CGFontCopyVariationAxes(CGFontRef font) ;
# 171 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 3
extern CFDictionaryRef CGFontCopyVariations(CGFontRef font) ;
extern _Bool CGFontGetGlyphAdvances(CGFontRef font, const CGGlyph glyphs[], size_t count, int advances[]);
extern _Bool CGFontGetGlyphBBoxes(CGFontRef font, const CGGlyph glyphs[], size_t count, CGRect bboxes[]) ;
extern CGGlyph CGFontGetGlyphWithGlyphName(CGFontRef font, CFStringRef name) ;
extern CFStringRef CGFontCopyGlyphNameForGlyph(CGFontRef font, CGGlyph glyph) ;
extern _Bool CGFontCanCreatePostScriptSubset(CGFontRef font, CGFontPostScriptFormat format) ;
extern CFDataRef CGFontCreatePostScriptSubset(CGFontRef font, CFStringRef subsetName, CGFontPostScriptFormat format, const CGGlyph glyphs[], size_t count, const CGGlyph encoding[256]) ;
extern CFDataRef CGFontCreatePostScriptEncoding(CGFontRef font, const CGGlyph encoding[256]) ;
extern CFArrayRef CGFontCopyTableTags(CGFontRef font) ;
extern CFDataRef CGFontCopyTableForTag(CGFontRef font, uint32_t tag) ;
extern const CFStringRef kCGFontVariationAxisName ;
extern const CFStringRef kCGFontVariationAxisMinValue ;
extern const CFStringRef kCGFontVariationAxisMaxValue ;
extern const CFStringRef kCGFontVariationAxisDefaultValue ;
enum {
CGGlyphMin = 0,
CGGlyphMax = kCGGlyphMax
};
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 1 3
#define CGGRADIENT_H_
typedef struct CGGradient *CGGradientRef;
enum {
kCGGradientDrawsBeforeStartLocation = (1 << 0),
kCGGradientDrawsAfterEndLocation = (1 << 1)
};
typedef uint32_t CGGradientDrawingOptions;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 2 3
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 3
extern CFTypeID CGGradientGetTypeID(void) ;
# 50 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 3
extern CGGradientRef CGGradientCreateWithColorComponents(CGColorSpaceRef space, const CGFloat components[], const CGFloat locations[], size_t count) ;
# 68 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 3
extern CGGradientRef CGGradientCreateWithColors(CGColorSpaceRef space, CFArrayRef colors, const CGFloat locations[]) ;
extern CGGradientRef CGGradientRetain(CGGradientRef gradient) ;
extern void CGGradientRelease(CGGradientRef gradient) ;
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 1 3
#define CGIMAGE_H_
typedef struct CGImage *CGImageRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 2 3
enum CGImageAlphaInfo {
kCGImageAlphaNone,
kCGImageAlphaPremultipliedLast,
kCGImageAlphaPremultipliedFirst,
kCGImageAlphaLast,
kCGImageAlphaFirst,
kCGImageAlphaNoneSkipLast,
kCGImageAlphaNoneSkipFirst,
kCGImageAlphaOnly
};
typedef enum CGImageAlphaInfo CGImageAlphaInfo;
enum {
kCGBitmapAlphaInfoMask = 0x1F,
kCGBitmapFloatComponents = (1 << 8),
kCGBitmapByteOrderMask = 0x7000,
kCGBitmapByteOrderDefault = (0 << 12),
kCGBitmapByteOrder16Little = (1 << 12),
kCGBitmapByteOrder32Little = (2 << 12),
kCGBitmapByteOrder16Big = (3 << 12),
kCGBitmapByteOrder32Big = (4 << 12)
};
typedef uint32_t CGBitmapInfo;
#define kCGBitmapByteOrder16Host kCGBitmapByteOrder16Little
#define kCGBitmapByteOrder32Host kCGBitmapByteOrder32Little
extern CFTypeID CGImageGetTypeID(void) ;
extern CGImageRef CGImageCreate(size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGColorSpaceRef colorspace, CGBitmapInfo bitmapInfo, CGDataProviderRef provider, const CGFloat decode[], _Bool shouldInterpolate, CGColorRenderingIntent intent);
extern CGImageRef CGImageMaskCreate(size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGDataProviderRef provider, const CGFloat decode[], _Bool shouldInterpolate);
extern CGImageRef CGImageCreateCopy(CGImageRef image) ;
extern CGImageRef CGImageCreateWithJPEGDataProvider(CGDataProviderRef source, const CGFloat decode[], _Bool shouldInterpolate, CGColorRenderingIntent intent) ;
extern CGImageRef CGImageCreateWithPNGDataProvider(CGDataProviderRef source, const CGFloat decode[], _Bool shouldInterpolate, CGColorRenderingIntent intent) ;
# 96 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 3
extern CGImageRef CGImageCreateWithImageInRect(CGImageRef image, CGRect rect) ;
# 124 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 3
extern CGImageRef CGImageCreateWithMask(CGImageRef image, CGImageRef mask) ;
# 142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 3
extern CGImageRef CGImageCreateWithMaskingColors(CGImageRef image, const CGFloat components[]) ;
extern CGImageRef CGImageCreateCopyWithColorSpace(CGImageRef image, CGColorSpaceRef colorspace) ;
extern CGImageRef CGImageRetain(CGImageRef image);
extern void CGImageRelease(CGImageRef image);
extern _Bool CGImageIsMask(CGImageRef image);
extern size_t CGImageGetWidth(CGImageRef image);
extern size_t CGImageGetHeight(CGImageRef image);
extern size_t CGImageGetBitsPerComponent(CGImageRef image);
extern size_t CGImageGetBitsPerPixel(CGImageRef image);
extern size_t CGImageGetBytesPerRow(CGImageRef image);
extern CGColorSpaceRef CGImageGetColorSpace(CGImageRef image);
extern CGImageAlphaInfo CGImageGetAlphaInfo(CGImageRef image);
extern CGDataProviderRef CGImageGetDataProvider(CGImageRef image);
extern const CGFloat *CGImageGetDecode(CGImageRef image);
extern _Bool CGImageGetShouldInterpolate(CGImageRef image);
extern CGColorRenderingIntent CGImageGetRenderingIntent(CGImageRef image);
extern CGBitmapInfo CGImageGetBitmapInfo(CGImageRef image) ;
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 1 3
#define CGPATH_H_
typedef struct CGPath *CGMutablePathRef;
typedef const struct CGPath *CGPathRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 2 3
extern CFTypeID CGPathGetTypeID(void) ;
extern CGMutablePathRef CGPathCreateMutable(void) ;
extern CGPathRef CGPathCreateCopy(CGPathRef path) ;
extern CGMutablePathRef CGPathCreateMutableCopy(CGPathRef path) ;
extern CGPathRef CGPathRetain(CGPathRef path) ;
extern void CGPathRelease(CGPathRef path) ;
extern _Bool CGPathEqualToPath(CGPathRef path1, CGPathRef path2) ;
extern void CGPathMoveToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x, CGFloat y) ;
extern void CGPathAddLineToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x, CGFloat y) ;
extern void CGPathAddQuadCurveToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat cpx, CGFloat cpy, CGFloat x, CGFloat y) ;
extern void CGPathAddCurveToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat cp1x, CGFloat cp1y, CGFloat cp2x, CGFloat cp2y, CGFloat x, CGFloat y) ;
extern void CGPathCloseSubpath(CGMutablePathRef path) ;
extern void CGPathAddRect(CGMutablePathRef path, const CGAffineTransform *m, CGRect rect) ;
extern void CGPathAddRects(CGMutablePathRef path, const CGAffineTransform *m, const CGRect rects[], size_t count) ;
extern void CGPathAddLines(CGMutablePathRef path, const CGAffineTransform *m, const CGPoint points[], size_t count) ;
# 109 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 3
extern void CGPathAddEllipseInRect(CGMutablePathRef path, const CGAffineTransform *m, CGRect rect) ;
# 121 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 3
extern void CGPathAddArc(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x, CGFloat y, CGFloat radius, CGFloat startAngle, CGFloat endAngle, _Bool clockwise) ;
# 131 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 3
extern void CGPathAddArcToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat radius) ;
extern void CGPathAddPath(CGMutablePathRef path1, const CGAffineTransform *m, CGPathRef path2) ;
extern _Bool CGPathIsEmpty(CGPathRef path) ;
extern _Bool CGPathIsRect(CGPathRef path, CGRect *rect) ;
extern CGPoint CGPathGetCurrentPoint(CGPathRef path) ;
extern CGRect CGPathGetBoundingBox(CGPathRef path) ;
# 167 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 3
extern _Bool CGPathContainsPoint(CGPathRef path, const CGAffineTransform *m, CGPoint point, _Bool eoFill) ;
enum CGPathElementType {
kCGPathElementMoveToPoint,
kCGPathElementAddLineToPoint,
kCGPathElementAddQuadCurveToPoint,
kCGPathElementAddCurveToPoint,
kCGPathElementCloseSubpath
};
typedef enum CGPathElementType CGPathElementType;
struct CGPathElement {
CGPathElementType type;
CGPoint *points;
};
typedef struct CGPathElement CGPathElement;
typedef void (*CGPathApplierFunction)(void *info, const CGPathElement *element);
extern void CGPathApply(CGPathRef path, void *info, CGPathApplierFunction function) ;
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 1 3
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 1 3
#define CGPDFDOCUMENT_H_
typedef struct CGPDFDocument *CGPDFDocumentRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 1 3
#define CGPDFPAGE_H_
typedef struct CGPDFPage *CGPDFPageRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 1 3
#define CGPDFDICTIONARY_H_
typedef struct CGPDFDictionary *CGPDFDictionaryRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 1 3
#define CGPDFARRAY_H_
typedef struct CGPDFArray *CGPDFArrayRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h" 1 3
#define CGPDFOBJECT_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h" 2 3
typedef unsigned char CGPDFBoolean;
typedef long int CGPDFInteger;
typedef CGFloat CGPDFReal;
typedef union CGPDFObject *CGPDFObjectRef;
enum CGPDFObjectType {
kCGPDFObjectTypeNull = 1,
kCGPDFObjectTypeBoolean,
kCGPDFObjectTypeInteger,
kCGPDFObjectTypeReal,
kCGPDFObjectTypeName,
kCGPDFObjectTypeString,
kCGPDFObjectTypeArray,
kCGPDFObjectTypeDictionary,
kCGPDFObjectTypeStream
};
typedef enum CGPDFObjectType CGPDFObjectType;
extern CGPDFObjectType CGPDFObjectGetType(CGPDFObjectRef object) ;
# 55 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h" 3
extern _Bool CGPDFObjectGetValue(CGPDFObjectRef object, CGPDFObjectType type, void *value) ;
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 1 3
#define CGPDFSTREAM_H_
typedef struct CGPDFStream *CGPDFStreamRef;
enum CGPDFDataFormat {
CGPDFDataFormatRaw, CGPDFDataFormatJPEGEncoded, CGPDFDataFormatJPEG2000
};
typedef enum CGPDFDataFormat CGPDFDataFormat;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 2 3
extern CGPDFDictionaryRef CGPDFStreamGetDictionary(CGPDFStreamRef stream) ;
extern CFDataRef CGPDFStreamCopyData(CGPDFStreamRef stream, CGPDFDataFormat *format) ;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h" 1 3
#define CGPDFSTRING_H_
typedef struct CGPDFString *CGPDFStringRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h" 2 3
extern size_t CGPDFStringGetLength(CGPDFStringRef string) ;
extern const unsigned char *CGPDFStringGetBytePtr(CGPDFStringRef string) ;
extern CFStringRef CGPDFStringCopyTextString(CGPDFStringRef string) ;
extern CFDateRef CGPDFStringCopyDate(CGPDFStringRef string) ;
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 2 3
extern size_t CGPDFArrayGetCount(CGPDFArrayRef array) ;
extern _Bool CGPDFArrayGetObject(CGPDFArrayRef array, size_t index, CGPDFObjectRef *value) ;
extern _Bool CGPDFArrayGetNull(CGPDFArrayRef array, size_t index) ;
extern _Bool CGPDFArrayGetBoolean(CGPDFArrayRef array, size_t index, CGPDFBoolean *value) ;
extern _Bool CGPDFArrayGetInteger(CGPDFArrayRef array, size_t index, CGPDFInteger *value) ;
extern _Bool CGPDFArrayGetNumber(CGPDFArrayRef array, size_t index, CGPDFReal *value) ;
extern _Bool CGPDFArrayGetName(CGPDFArrayRef array, size_t index, const char **value) ;
extern _Bool CGPDFArrayGetString(CGPDFArrayRef array, size_t index, CGPDFStringRef *value) ;
extern _Bool CGPDFArrayGetArray(CGPDFArrayRef array, size_t index, CGPDFArrayRef *value) ;
extern _Bool CGPDFArrayGetDictionary(CGPDFArrayRef array, size_t index, CGPDFDictionaryRef *value) ;
extern _Bool CGPDFArrayGetStream(CGPDFArrayRef array, size_t index, CGPDFStreamRef *value) ;
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 2 3
extern size_t CGPDFDictionaryGetCount(CGPDFDictionaryRef dict) ;
extern _Bool CGPDFDictionaryGetObject(CGPDFDictionaryRef dict, const char *key, CGPDFObjectRef *value) ;
extern _Bool CGPDFDictionaryGetBoolean(CGPDFDictionaryRef dict, const char *key, CGPDFBoolean *value) ;
extern _Bool CGPDFDictionaryGetInteger(CGPDFDictionaryRef dict, const char *key, CGPDFInteger *value) ;
extern _Bool CGPDFDictionaryGetNumber(CGPDFDictionaryRef dict, const char *key, CGPDFReal *value) ;
extern _Bool CGPDFDictionaryGetName(CGPDFDictionaryRef dict, const char *key, const char **value) ;
extern _Bool CGPDFDictionaryGetString(CGPDFDictionaryRef dict, const char *key, CGPDFStringRef *value) ;
extern _Bool CGPDFDictionaryGetArray(CGPDFDictionaryRef dict, const char *key, CGPDFArrayRef *value) ;
extern _Bool CGPDFDictionaryGetDictionary(CGPDFDictionaryRef dict, const char *key, CGPDFDictionaryRef *value) ;
extern _Bool CGPDFDictionaryGetStream(CGPDFDictionaryRef dict, const char *key, CGPDFStreamRef *value) ;
typedef void (*CGPDFDictionaryApplierFunction)(const char *key, CGPDFObjectRef value, void *info);
extern void CGPDFDictionaryApplyFunction(CGPDFDictionaryRef dict, CGPDFDictionaryApplierFunction function, void *info) ;
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 2 3
enum CGPDFBox {
kCGPDFMediaBox = 0,
kCGPDFCropBox = 1,
kCGPDFBleedBox = 2,
kCGPDFTrimBox = 3,
kCGPDFArtBox = 4
};
typedef enum CGPDFBox CGPDFBox;
extern CGPDFPageRef CGPDFPageRetain(CGPDFPageRef page) ;
extern void CGPDFPageRelease(CGPDFPageRef page) ;
extern CGPDFDocumentRef CGPDFPageGetDocument(CGPDFPageRef page) ;
extern size_t CGPDFPageGetPageNumber(CGPDFPageRef page) ;
extern CGRect CGPDFPageGetBoxRect(CGPDFPageRef page, CGPDFBox box) ;
extern int CGPDFPageGetRotationAngle(CGPDFPageRef page) ;
# 68 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 3
extern CGAffineTransform CGPDFPageGetDrawingTransform(CGPDFPageRef page, CGPDFBox box, CGRect rect, int rotate, _Bool preserveAspectRatio) ;
extern CGPDFDictionaryRef CGPDFPageGetDictionary(CGPDFPageRef page) ;
extern CFTypeID CGPDFPageGetTypeID(void) ;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 2 3
extern CGPDFDocumentRef CGPDFDocumentCreateWithProvider(CGDataProviderRef provider);
extern CGPDFDocumentRef CGPDFDocumentCreateWithURL(CFURLRef url);
extern CGPDFDocumentRef CGPDFDocumentRetain(CGPDFDocumentRef document);
extern void CGPDFDocumentRelease(CGPDFDocumentRef document);
extern void CGPDFDocumentGetVersion(CGPDFDocumentRef document, int *majorVersion, int *minorVersion) ;
extern _Bool CGPDFDocumentIsEncrypted(CGPDFDocumentRef document) ;
extern _Bool CGPDFDocumentUnlockWithPassword(CGPDFDocumentRef document, const char *password) ;
extern _Bool CGPDFDocumentIsUnlocked(CGPDFDocumentRef document) ;
extern _Bool CGPDFDocumentAllowsPrinting(CGPDFDocumentRef document) ;
extern _Bool CGPDFDocumentAllowsCopying(CGPDFDocumentRef document) ;
extern size_t CGPDFDocumentGetNumberOfPages(CGPDFDocumentRef document);
extern CGPDFPageRef CGPDFDocumentGetPage(CGPDFDocumentRef document, size_t pageNumber) ;
extern CGPDFDictionaryRef CGPDFDocumentGetCatalog(CGPDFDocumentRef document) ;
extern CGPDFDictionaryRef CGPDFDocumentGetInfo(CGPDFDocumentRef document) ;
extern CGPDFArrayRef CGPDFDocumentGetID(CGPDFDocumentRef document) ;
extern CFTypeID CGPDFDocumentGetTypeID(void) ;
extern CGRect CGPDFDocumentGetMediaBox(CGPDFDocumentRef document, int page) __attribute__((deprecated));
extern CGRect CGPDFDocumentGetCropBox(CGPDFDocumentRef document, int page) __attribute__((deprecated));
extern CGRect CGPDFDocumentGetBleedBox(CGPDFDocumentRef document, int page) __attribute__((deprecated));
extern CGRect CGPDFDocumentGetTrimBox(CGPDFDocumentRef document, int page) __attribute__((deprecated));
extern CGRect CGPDFDocumentGetArtBox(CGPDFDocumentRef document, int page) __attribute__((deprecated));
extern int CGPDFDocumentGetRotationAngle(CGPDFDocumentRef document, int page) __attribute__((deprecated));
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 1 3
#define CGSHADING_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFunction.h" 1 3
#define CGFUNCTION_H_
typedef struct CGFunction *CGFunctionRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFunction.h" 2 3
typedef void (*CGFunctionEvaluateCallback)(void *info, const CGFloat *in, CGFloat *out);
typedef void (*CGFunctionReleaseInfoCallback)(void *info);
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFunction.h" 3
struct CGFunctionCallbacks {
unsigned int version;
CGFunctionEvaluateCallback evaluate;
CGFunctionReleaseInfoCallback releaseInfo;
};
typedef struct CGFunctionCallbacks CGFunctionCallbacks;
extern CFTypeID CGFunctionGetTypeID(void) ;
# 79 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFunction.h" 3
extern CGFunctionRef CGFunctionCreate(void *info, size_t domainDimension, const CGFloat *domain, size_t rangeDimension, const CGFloat *range, const CGFunctionCallbacks *callbacks) ;
extern CGFunctionRef CGFunctionRetain(CGFunctionRef function) ;
extern void CGFunctionRelease(CGFunctionRef function) ;
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 2 3
typedef struct CGShading *CGShadingRef;
extern CFTypeID CGShadingGetTypeID(void) ;
# 52 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 3
extern CGShadingRef CGShadingCreateAxial(CGColorSpaceRef colorspace, CGPoint start, CGPoint end, CGFunctionRef function, _Bool extendStart, _Bool extendEnd) ;
# 87 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 3
extern CGShadingRef CGShadingCreateRadial(CGColorSpaceRef colorspace, CGPoint start, CGFloat startRadius, CGPoint end, CGFloat endRadius, CGFunctionRef function, _Bool extendStart, _Bool extendEnd) ;
extern CGShadingRef CGShadingRetain(CGShadingRef shading) ;
extern void CGShadingRelease(CGShadingRef shading) ;
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
enum CGLineJoin {
kCGLineJoinMiter,
kCGLineJoinRound,
kCGLineJoinBevel
};
typedef enum CGLineJoin CGLineJoin;
enum CGLineCap {
kCGLineCapButt,
kCGLineCapRound,
kCGLineCapSquare
};
typedef enum CGLineCap CGLineCap;
enum CGPathDrawingMode {
kCGPathFill,
kCGPathEOFill,
kCGPathStroke,
kCGPathFillStroke,
kCGPathEOFillStroke
};
typedef enum CGPathDrawingMode CGPathDrawingMode;
enum CGTextDrawingMode {
kCGTextFill,
kCGTextStroke,
kCGTextFillStroke,
kCGTextInvisible,
kCGTextFillClip,
kCGTextStrokeClip,
kCGTextFillStrokeClip,
kCGTextClip
};
typedef enum CGTextDrawingMode CGTextDrawingMode;
enum CGTextEncoding {
kCGEncodingFontSpecific,
kCGEncodingMacRoman
};
typedef enum CGTextEncoding CGTextEncoding;
enum CGInterpolationQuality {
kCGInterpolationDefault,
kCGInterpolationNone,
kCGInterpolationLow,
kCGInterpolationHigh
};
typedef enum CGInterpolationQuality CGInterpolationQuality;
# 97 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
enum CGBlendMode {
kCGBlendModeNormal,
kCGBlendModeMultiply,
kCGBlendModeScreen,
kCGBlendModeOverlay,
kCGBlendModeDarken,
kCGBlendModeLighten,
kCGBlendModeColorDodge,
kCGBlendModeColorBurn,
kCGBlendModeSoftLight,
kCGBlendModeHardLight,
kCGBlendModeDifference,
kCGBlendModeExclusion,
kCGBlendModeHue,
kCGBlendModeSaturation,
kCGBlendModeColor,
kCGBlendModeLuminosity,
# 127 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
kCGBlendModeClear,
kCGBlendModeCopy,
kCGBlendModeSourceIn,
kCGBlendModeSourceOut,
kCGBlendModeSourceAtop,
kCGBlendModeDestinationOver,
kCGBlendModeDestinationIn,
kCGBlendModeDestinationOut,
kCGBlendModeDestinationAtop,
kCGBlendModeXOR,
kCGBlendModePlusDarker,
kCGBlendModePlusLighter
};
typedef enum CGBlendMode CGBlendMode;
extern CFTypeID CGContextGetTypeID(void) ;
extern void CGContextSaveGState(CGContextRef c);
extern void CGContextRestoreGState(CGContextRef c);
extern void CGContextScaleCTM(CGContextRef c, CGFloat sx, CGFloat sy);
extern void CGContextTranslateCTM(CGContextRef c, CGFloat tx, CGFloat ty);
extern void CGContextRotateCTM(CGContextRef c, CGFloat angle);
extern void CGContextConcatCTM(CGContextRef c, CGAffineTransform transform);
extern CGAffineTransform CGContextGetCTM(CGContextRef c);
extern void CGContextSetLineWidth(CGContextRef c, CGFloat width);
extern void CGContextSetLineCap(CGContextRef c, CGLineCap cap);
extern void CGContextSetLineJoin(CGContextRef c, CGLineJoin join);
extern void CGContextSetMiterLimit(CGContextRef c, CGFloat limit);
extern void CGContextSetLineDash(CGContextRef c, CGFloat phase, const CGFloat lengths[], size_t count);
extern void CGContextSetFlatness(CGContextRef c, CGFloat flatness);
extern void CGContextSetAlpha(CGContextRef c, CGFloat alpha);
extern void CGContextSetBlendMode(CGContextRef context, CGBlendMode mode) ;
# 230 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextBeginPath(CGContextRef c);
extern void CGContextMoveToPoint(CGContextRef c, CGFloat x, CGFloat y);
extern void CGContextAddLineToPoint(CGContextRef c, CGFloat x, CGFloat y);
extern void CGContextAddCurveToPoint(CGContextRef c, CGFloat cp1x, CGFloat cp1y, CGFloat cp2x, CGFloat cp2y, CGFloat x, CGFloat y);
extern void CGContextAddQuadCurveToPoint(CGContextRef c, CGFloat cpx, CGFloat cpy, CGFloat x, CGFloat y);
extern void CGContextClosePath(CGContextRef c);
extern void CGContextAddRect(CGContextRef c, CGRect rect);
extern void CGContextAddRects(CGContextRef c, const CGRect rects[], size_t count);
extern void CGContextAddLines(CGContextRef c, const CGPoint points[], size_t count);
extern void CGContextAddEllipseInRect(CGContextRef context, CGRect rect) ;
# 281 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextAddArc(CGContextRef c, CGFloat x, CGFloat y, CGFloat radius, CGFloat startAngle, CGFloat endAngle, int clockwise);
extern void CGContextAddArcToPoint(CGContextRef c, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat radius);
extern void CGContextAddPath(CGContextRef context, CGPathRef path) ;
# 305 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextReplacePathWithStrokedPath(CGContextRef c) ;
extern _Bool CGContextIsPathEmpty(CGContextRef c);
extern CGPoint CGContextGetPathCurrentPoint(CGContextRef c);
extern CGRect CGContextGetPathBoundingBox(CGContextRef c);
extern _Bool CGContextPathContainsPoint(CGContextRef context, CGPoint point, CGPathDrawingMode mode) ;
extern void CGContextDrawPath(CGContextRef c, CGPathDrawingMode mode);
extern void CGContextFillPath(CGContextRef c);
extern void CGContextEOFillPath(CGContextRef c);
extern void CGContextStrokePath(CGContextRef c);
extern void CGContextFillRect(CGContextRef c, CGRect rect);
extern void CGContextFillRects(CGContextRef c, const CGRect rects[], size_t count);
extern void CGContextStrokeRect(CGContextRef c, CGRect rect);
extern void CGContextStrokeRectWithWidth(CGContextRef c, CGRect rect, CGFloat width);
extern void CGContextClearRect(CGContextRef c, CGRect rect);
extern void CGContextFillEllipseInRect(CGContextRef context, CGRect rect) ;
extern void CGContextStrokeEllipseInRect(CGContextRef context, CGRect rect) ;
# 394 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextStrokeLineSegments(CGContextRef c, const CGPoint points[], size_t count) ;
extern void CGContextClip(CGContextRef c);
extern void CGContextEOClip(CGContextRef c);
# 437 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextClipToMask(CGContextRef c, CGRect rect, CGImageRef mask) ;
extern CGRect CGContextGetClipBoundingBox(CGContextRef c) ;
extern void CGContextClipToRect(CGContextRef c, CGRect rect);
extern void CGContextClipToRects(CGContextRef c, const CGRect rects[], size_t count);
extern void CGContextSetFillColorWithColor(CGContextRef c, CGColorRef color) ;
extern void CGContextSetStrokeColorWithColor(CGContextRef c, CGColorRef color) ;
extern void CGContextSetFillColorSpace(CGContextRef c, CGColorSpaceRef colorspace);
extern void CGContextSetStrokeColorSpace(CGContextRef c, CGColorSpaceRef colorspace);
# 490 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextSetFillColor(CGContextRef c, const CGFloat components[]);
extern void CGContextSetStrokeColor(CGContextRef c, const CGFloat components[]);
# 509 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextSetFillPattern(CGContextRef c, CGPatternRef pattern, const CGFloat components[]);
# 518 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextSetStrokePattern(CGContextRef c, CGPatternRef pattern, const CGFloat components[]);
extern void CGContextSetPatternPhase(CGContextRef c, CGSize phase);
extern void CGContextSetGrayFillColor(CGContextRef c, CGFloat gray, CGFloat alpha);
extern void CGContextSetGrayStrokeColor(CGContextRef c, CGFloat gray, CGFloat alpha);
extern void CGContextSetRGBFillColor(CGContextRef c, CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha);
extern void CGContextSetRGBStrokeColor(CGContextRef c, CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha);
extern void CGContextSetCMYKFillColor(CGContextRef c, CGFloat cyan, CGFloat magenta, CGFloat yellow, CGFloat black, CGFloat alpha);
extern void CGContextSetCMYKStrokeColor(CGContextRef c, CGFloat cyan, CGFloat magenta, CGFloat yellow, CGFloat black, CGFloat alpha);
extern void CGContextSetRenderingIntent(CGContextRef c, CGColorRenderingIntent intent);
extern void CGContextDrawImage(CGContextRef c, CGRect rect, CGImageRef image);
# 582 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextDrawTiledImage(CGContextRef c, CGRect rect, CGImageRef image) ;
extern CGInterpolationQuality CGContextGetInterpolationQuality(CGContextRef c);
extern void CGContextSetInterpolationQuality(CGContextRef c, CGInterpolationQuality quality);
# 608 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextSetShadowWithColor(CGContextRef context, CGSize offset, CGFloat blur, CGColorRef color) ;
extern void CGContextSetShadow(CGContextRef context, CGSize offset, CGFloat blur) ;
# 627 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextDrawLinearGradient(CGContextRef context, CGGradientRef gradient, CGPoint startPoint, CGPoint endPoint, CGGradientDrawingOptions options) ;
# 638 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextDrawRadialGradient(CGContextRef context, CGGradientRef gradient, CGPoint startCenter, CGFloat startRadius, CGPoint endCenter, CGFloat endRadius, CGGradientDrawingOptions options) ;
extern void CGContextDrawShading(CGContextRef context, CGShadingRef shading) ;
extern void CGContextSetCharacterSpacing(CGContextRef c, CGFloat spacing);
extern void CGContextSetTextPosition(CGContextRef c, CGFloat x, CGFloat y);
extern CGPoint CGContextGetTextPosition(CGContextRef c);
extern void CGContextSetTextMatrix(CGContextRef c, CGAffineTransform t);
extern CGAffineTransform CGContextGetTextMatrix(CGContextRef c);
extern void CGContextSetTextDrawingMode(CGContextRef c, CGTextDrawingMode mode);
extern void CGContextSetFont(CGContextRef c, CGFontRef font);
extern void CGContextSetFontSize(CGContextRef c, CGFloat size);
extern void CGContextSelectFont(CGContextRef c, const char *name, CGFloat size, CGTextEncoding textEncoding);
extern void CGContextShowGlyphsAtPositions(CGContextRef context, const CGGlyph glyphs[], const CGPoint positions[], size_t count) ;
# 705 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextShowText(CGContextRef c, const char *string, size_t length);
extern void CGContextShowTextAtPoint(CGContextRef c, CGFloat x, CGFloat y, const char *string, size_t length);
extern void CGContextShowGlyphs(CGContextRef c, const CGGlyph g[], size_t count);
extern void CGContextShowGlyphsAtPoint(CGContextRef c, CGFloat x, CGFloat y, const CGGlyph glyphs[], size_t count);
extern void CGContextShowGlyphsWithAdvances(CGContextRef c, const CGGlyph glyphs[], const CGSize advances[], size_t count) ;
extern void CGContextDrawPDFPage(CGContextRef c, CGPDFPageRef page) ;
extern void CGContextDrawPDFDocument(CGContextRef c, CGRect rect, CGPDFDocumentRef document, int page);
extern void CGContextBeginPage(CGContextRef c, const CGRect *mediaBox);
extern void CGContextEndPage(CGContextRef c);
extern CGContextRef CGContextRetain(CGContextRef c);
extern void CGContextRelease(CGContextRef c);
extern void CGContextFlush(CGContextRef c);
extern void CGContextSynchronize(CGContextRef c);
extern void CGContextSetShouldAntialias(CGContextRef c, _Bool shouldAntialias);
extern void CGContextSetAllowsAntialiasing(CGContextRef context, _Bool allowsAntialiasing) ;
# 795 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextSetShouldSmoothFonts(CGContextRef c, _Bool shouldSmoothFonts) ;
# 815 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextBeginTransparencyLayer(CGContextRef context, CFDictionaryRef auxiliaryInfo) ;
extern void CGContextBeginTransparencyLayerWithRect(CGContextRef context, CGRect rect, CFDictionaryRef auxiliaryInfo) ;
extern void CGContextEndTransparencyLayer(CGContextRef context) ;
extern CGAffineTransform CGContextGetUserSpaceToDeviceSpaceTransform(CGContextRef c) ;
extern CGPoint CGContextConvertPointToDeviceSpace(CGContextRef c, CGPoint point) ;
extern CGPoint CGContextConvertPointToUserSpace(CGContextRef c, CGPoint point) ;
extern CGSize CGContextConvertSizeToDeviceSpace(CGContextRef c, CGSize size) ;
extern CGSize CGContextConvertSizeToUserSpace(CGContextRef c, CGSize size) ;
extern CGRect CGContextConvertRectToDeviceSpace(CGContextRef c, CGRect rect) ;
extern CGRect CGContextConvertRectToUserSpace(CGContextRef c, CGRect rect) ;
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h" 2 3
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h" 3
extern CGContextRef CGBitmapContextCreate(void *data, size_t width, size_t height, size_t bitsPerComponent, size_t bytesPerRow, CGColorSpaceRef colorspace, CGBitmapInfo bitmapInfo);
extern void *CGBitmapContextGetData(CGContextRef c) ;
extern size_t CGBitmapContextGetWidth(CGContextRef c) ;
extern size_t CGBitmapContextGetHeight(CGContextRef c) ;
extern size_t CGBitmapContextGetBitsPerComponent(CGContextRef c) ;
extern size_t CGBitmapContextGetBitsPerPixel(CGContextRef c) ;
extern size_t CGBitmapContextGetBytesPerRow(CGContextRef c) ;
extern CGColorSpaceRef CGBitmapContextGetColorSpace(CGContextRef c) ;
extern CGImageAlphaInfo CGBitmapContextGetAlphaInfo(CGContextRef c) ;
extern CGBitmapInfo CGBitmapContextGetBitmapInfo(CGContextRef c) ;
# 88 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h" 3
extern CGImageRef CGBitmapContextCreateImage(CGContextRef c) ;
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 1 3
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h" 1 3
#define CGDATACONSUMER_H_
typedef struct CGDataConsumer *CGDataConsumerRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h" 2 3
typedef size_t (*CGDataConsumerPutBytesCallback)(void *info, const void *buffer, size_t count);
typedef void (*CGDataConsumerReleaseInfoCallback)(void *info);
struct CGDataConsumerCallbacks {
CGDataConsumerPutBytesCallback putBytes;
CGDataConsumerReleaseInfoCallback releaseConsumer;
};
typedef struct CGDataConsumerCallbacks CGDataConsumerCallbacks;
extern CFTypeID CGDataConsumerGetTypeID(void) ;
extern CGDataConsumerRef CGDataConsumerCreate(void *info, const CGDataConsumerCallbacks *callbacks);
extern CGDataConsumerRef CGDataConsumerCreateWithURL(CFURLRef url);
extern CGDataConsumerRef CGDataConsumerCreateWithCFData(CFMutableDataRef data) ;
extern CGDataConsumerRef CGDataConsumerRetain(CGDataConsumerRef consumer);
extern void CGDataConsumerRelease(CGDataConsumerRef consumer);
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
#define __CGDIRECT_DISPLAY_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 3
#define __CGERROR_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 2 3
enum _CGError {
kCGErrorSuccess = 0,
kCGErrorFirst = 1000,
kCGErrorFailure = kCGErrorFirst,
kCGErrorIllegalArgument = 1001,
kCGErrorInvalidConnection = 1002,
kCGErrorInvalidContext = 1003,
kCGErrorCannotComplete = 1004,
kCGErrorNameTooLong = 1005,
kCGErrorNotImplemented = 1006,
kCGErrorRangeCheck = 1007,
kCGErrorTypeCheck = 1008,
kCGErrorNoCurrentPoint = 1009,
kCGErrorInvalidOperation = 1010,
kCGErrorNoneAvailable = 1011,
kCGErrorApplicationRequiresNewerSystem = 1015,
kCGErrorApplicationNotPermittedToExecute = 1016,
kCGErrorApplicationIncorrectExecutableFormatFound = 1023,
kCGErrorApplicationIsLaunching = 1024,
kCGErrorApplicationAlreadyRunning = 1025,
kCGErrorApplicationCanOnlyBeRunInOneSessionAtATime = 1026,
kCGErrorClassicApplicationsMustBeLaunchedByClassic = 1027,
kCGErrorForkFailed = 1028,
kCGErrorRetryRegistration = 1029,
kCGErrorLast = kCGErrorRetryRegistration
};
typedef int32_t CGError;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 2 3
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
typedef uint32_t CGDirectDisplayID;
typedef struct _CGDirectPaletteRef * CGDirectPaletteRef;
typedef uint32_t CGDisplayCount;
typedef uint32_t CGTableCount;
typedef int32_t CGDisplayCoord;
typedef uint8_t CGByteValue;
typedef uint32_t CGOpenGLDisplayMask;
typedef uint32_t CGBeamPosition;
typedef int32_t CGMouseDelta;
typedef double CGRefreshRate;
typedef uint32_t CGCaptureOptions;
typedef CGError CGDisplayErr;
#define CGDisplayNoErr kCGErrorSuccess
#define kCGNullDirectDisplay ((CGDirectDisplayID)0)
extern CGDirectDisplayID CGMainDisplayID(void) ;
#define kCGDirectMainDisplay CGMainDisplayID()
# 63 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGGetDisplaysWithPoint(CGPoint point,
CGDisplayCount maxDisplays,
CGDirectDisplayID * dspys,
CGDisplayCount * dspyCnt) ;
extern CGDisplayErr CGGetDisplaysWithRect(CGRect rect,
CGDisplayCount maxDisplays,
CGDirectDisplayID * dspys,
CGDisplayCount * dspyCnt) ;
extern CGDisplayErr CGGetDisplaysWithOpenGLDisplayMask(CGOpenGLDisplayMask mask,
CGDisplayCount maxDisplays,
CGDirectDisplayID * dspys,
CGDisplayCount * dspyCnt) ;
# 89 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGGetActiveDisplayList(CGDisplayCount maxDisplays,
CGDirectDisplayID * activeDspys,
CGDisplayCount * dspyCnt) ;
# 100 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGGetOnlineDisplayList(CGDisplayCount maxDisplays,
CGDirectDisplayID * onlineDspys,
CGDisplayCount * dspyCnt) ;
extern CGOpenGLDisplayMask CGDisplayIDToOpenGLDisplayMask(CGDirectDisplayID display) ;
extern CGDirectDisplayID CGOpenGLDisplayMaskToDisplayID(CGOpenGLDisplayMask mask) ;
extern CGRect CGDisplayBounds(CGDirectDisplayID display) ;
extern size_t CGDisplayPixelsWide(CGDirectDisplayID display) ;
extern size_t CGDisplayPixelsHigh(CGDirectDisplayID display) ;
# 142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
#define kCGDisplayWidth CFSTR("Width")
#define kCGDisplayHeight CFSTR("Height")
#define kCGDisplayMode CFSTR("Mode")
#define kCGDisplayBitsPerPixel CFSTR("BitsPerPixel")
#define kCGDisplayBitsPerSample CFSTR("BitsPerSample")
#define kCGDisplaySamplesPerPixel CFSTR("SamplesPerPixel")
#define kCGDisplayRefreshRate CFSTR("RefreshRate")
#define kCGDisplayModeUsableForDesktopGUI CFSTR("UsableForDesktopGUI")
#define kCGDisplayIOFlags CFSTR("IOFlags")
#define kCGDisplayBytesPerRow CFSTR("kCGDisplayBytesPerRow")
#define kCGIODisplayModeID CFSTR("IODisplayModeID")
# 166 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
#define kCGDisplayModeIsSafeForHardware CFSTR("kCGDisplayModeIsSafeForHardware")
#define kCGDisplayModeIsInterlaced CFSTR("kCGDisplayModeIsInterlaced")
#define kCGDisplayModeIsStretched CFSTR("kCGDisplayModeIsStretched")
#define kCGDisplayModeIsTelevisionOutput CFSTR("kCGDisplayModeIsTelevisionOutput" )
extern CFArrayRef CGDisplayAvailableModes(CGDirectDisplayID display) ;
# 197 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CFDictionaryRef CGDisplayBestModeForParameters(CGDirectDisplayID display, size_t bitsPerPixel, size_t width, size_t height, boolean_t * exactMatch) ;
extern CFDictionaryRef CGDisplayBestModeForParametersAndRefreshRate(CGDirectDisplayID display, size_t bitsPerPixel, size_t width, size_t height, CGRefreshRate refresh, boolean_t * exactMatch) ;
extern CFDictionaryRef CGDisplayBestModeForParametersAndRefreshRateWithProperty(CGDirectDisplayID display, size_t bitsPerPixel, size_t width, size_t height, CGRefreshRate refresh, CFStringRef property, boolean_t * exactMatch) ;
extern CFDictionaryRef CGDisplayCurrentMode(CGDirectDisplayID display) ;
# 223 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGDisplaySwitchToMode(CGDirectDisplayID display, CFDictionaryRef mode) ;
extern size_t CGDisplayBitsPerPixel(CGDirectDisplayID display) ;
extern size_t CGDisplayBitsPerSample(CGDirectDisplayID display) ;
extern size_t CGDisplaySamplesPerPixel(CGDirectDisplayID display) ;
extern size_t CGDisplayBytesPerRow(CGDirectDisplayID display) ;
# 246 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
typedef float CGGammaValue;
extern CGDisplayErr CGSetDisplayTransferByFormula(CGDirectDisplayID display,
CGGammaValue redMin,
CGGammaValue redMax,
CGGammaValue redGamma,
CGGammaValue greenMin,
CGGammaValue greenMax,
CGGammaValue greenGamma,
CGGammaValue blueMin,
CGGammaValue blueMax,
CGGammaValue blueGamma) ;
extern CGDisplayErr CGGetDisplayTransferByFormula(CGDirectDisplayID display,
CGGammaValue *redMin,
CGGammaValue *redMax,
CGGammaValue *redGamma,
CGGammaValue *greenMin,
CGGammaValue *greenMax,
CGGammaValue *greenGamma,
CGGammaValue *blueMin,
CGGammaValue *blueMax,
CGGammaValue *blueGamma) ;
extern CGTableCount CGDisplayGammaTableCapacity(CGDirectDisplayID display) ;
# 283 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGSetDisplayTransferByTable(CGDirectDisplayID display,
CGTableCount tableSize,
const CGGammaValue *redTable,
const CGGammaValue *greenTable,
const CGGammaValue *blueTable) ;
extern CGDisplayErr CGGetDisplayTransferByTable(CGDirectDisplayID display,
CGTableCount capacity,
CGGammaValue *redTable,
CGGammaValue *greenTable,
CGGammaValue *blueTable,
CGTableCount *sampleCount) ;
extern CGDisplayErr CGSetDisplayTransferByByteTable(CGDirectDisplayID display,
CGTableCount tableSize,
const CGByteValue *redTable,
const CGByteValue *greenTable,
const CGByteValue *blueTable) ;
extern void CGDisplayRestoreColorSyncSettings(void) ;
enum {
kCGCaptureNoOptions = 0,
kCGCaptureNoFill = (1 << 0)
};
extern boolean_t CGDisplayIsCaptured(CGDirectDisplayID display) ;
extern CGDisplayErr CGDisplayCapture(CGDirectDisplayID display) ;
extern CGDisplayErr CGDisplayCaptureWithOptions(CGDirectDisplayID display, CGCaptureOptions options) ;
extern CGDisplayErr CGDisplayRelease(CGDirectDisplayID display) ;
extern CGDisplayErr CGCaptureAllDisplays(void) ;
extern CGDisplayErr CGCaptureAllDisplaysWithOptions(CGCaptureOptions options) ;
extern CGDisplayErr CGReleaseAllDisplays(void) ;
extern uint32_t CGShieldingWindowID(CGDirectDisplayID display) ;
extern int32_t CGShieldingWindowLevel(void) ;
extern void * CGDisplayBaseAddress(CGDirectDisplayID display) ;
extern void * CGDisplayAddressForPosition(CGDirectDisplayID display, CGDisplayCoord x, CGDisplayCoord y) ;
extern CGDisplayErr CGDisplayHideCursor(CGDirectDisplayID display) ;
extern CGDisplayErr CGDisplayShowCursor(CGDirectDisplayID display) ;
extern CGDisplayErr CGDisplayMoveCursorToPoint(CGDirectDisplayID display, CGPoint point) ;
extern void CGGetLastMouseDelta( CGMouseDelta * deltaX, CGMouseDelta * deltaY ) ;
# 395 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern boolean_t CGDisplayCanSetPalette(CGDirectDisplayID display) ;
# 404 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGDisplaySetPalette(CGDirectDisplayID display, const CGDirectPaletteRef palette) ;
# 436 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGDisplayWaitForBeamPositionOutsideLines( CGDirectDisplayID display,
CGBeamPosition upperScanLine,
CGBeamPosition lowerScanLine ) ;
extern CGBeamPosition CGDisplayBeamPosition( CGDirectDisplayID display ) ;
# 466 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGContextRef CGDisplayGetDrawingContext(CGDirectDisplayID display) ;
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectPalette.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectPalette.h" 3
#define __CGDIRECT_PALETTE_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectPalette.h" 2 3
typedef float CGPaletteBlendFraction;
struct _CGDeviceColor
{
float red;
float green;
float blue;
};
typedef struct _CGDeviceColor CGDeviceColor;
struct _CGDeviceByteColor
{
CGByteValue red;
CGByteValue green;
CGByteValue blue;
};
typedef struct _CGDeviceByteColor CGDeviceByteColor;
extern CGDirectPaletteRef CGPaletteCreateDefaultColorPalette(void) ;
extern CGDirectPaletteRef CGPaletteCreateWithDisplay(CGDirectDisplayID display) ;
extern CGDirectPaletteRef CGPaletteCreateWithCapacity( CGTableCount capacity ) ;
extern CGDirectPaletteRef CGPaletteCreateWithSamples(CGDeviceColor * sampleTable, CGTableCount sampleCount) ;
extern CGDirectPaletteRef CGPaletteCreateWithByteSamples(CGDeviceByteColor * sampleTable, CGTableCount sampleCount) ;
extern void CGPaletteRelease( CGDirectPaletteRef palette ) ;
extern CGDeviceColor CGPaletteGetColorAtIndex(CGDirectPaletteRef palette, CGTableCount index) ;
extern CGTableCount CGPaletteGetIndexForColor(CGDirectPaletteRef palette, CGDeviceColor color) ;
extern CGTableCount CGPaletteGetNumberOfSamples(CGDirectPaletteRef palette) ;
extern void CGPaletteSetColorAtIndex(CGDirectPaletteRef palette, CGDeviceColor color, CGTableCount index) ;
extern CGDirectPaletteRef CGPaletteCreateCopy(CGDirectPaletteRef palette) ;
extern Boolean CGPaletteIsEqualToPalette(CGDirectPaletteRef palette1, CGDirectPaletteRef palette2) ;
extern CGDirectPaletteRef CGPaletteCreateFromPaletteBlendedWithColor(
CGDirectPaletteRef palette,
CGPaletteBlendFraction fraction,
CGDeviceColor color) ;
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
#define __CGDISPLAY_CONFIGURATION_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 2 3
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
typedef struct _CGDisplayConfigRef * CGDisplayConfigRef;
extern CGError CGBeginDisplayConfiguration(CGDisplayConfigRef *pConfigRef) ;
# 45 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGError CGConfigureDisplayOrigin(CGDisplayConfigRef configRef,
CGDirectDisplayID display,
CGDisplayCoord x,
CGDisplayCoord y) ;
# 60 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGError CGConfigureDisplayMode(CGDisplayConfigRef configRef,
CGDirectDisplayID display,
CFDictionaryRef mode) ;
# 89 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGError CGConfigureDisplayStereoOperation(CGDisplayConfigRef configRef, CGDirectDisplayID display, boolean_t stereo, boolean_t forceBlueLine);
# 113 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGError CGConfigureDisplayMirrorOfDisplay(CGDisplayConfigRef configRef,
CGDirectDisplayID display,
CGDirectDisplayID masterDisplay) ;
extern CGError CGCancelDisplayConfiguration(CGDisplayConfigRef configRef) ;
# 142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
enum {
kCGConfigureForAppOnly = 0,
kCGConfigureForSession = 1,
kCGConfigurePermanently = 2
};
typedef u_int32_t CGConfigureOption;
extern CGError CGCompleteDisplayConfiguration( CGDisplayConfigRef configRef, CGConfigureOption option ) ;
extern void CGRestorePermanentDisplayConfiguration(void) ;
# 185 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
enum {
kCGDisplayBeginConfigurationFlag = (1 << 0),
kCGDisplayMovedFlag = (1 << 1),
kCGDisplaySetMainFlag = (1 << 2),
kCGDisplaySetModeFlag = (1 << 3),
kCGDisplayAddFlag = (1 << 4),
kCGDisplayRemoveFlag = (1 << 5),
kCGDisplayEnabledFlag = (1 << 8),
kCGDisplayDisabledFlag = (1 << 9),
kCGDisplayMirrorFlag = (1 << 10),
kCGDisplayUnMirrorFlag = (1 << 11),
kCGDisplayDesktopShapeChangedFlag = (1 << 12)
};
typedef u_int32_t CGDisplayChangeSummaryFlags;
typedef void(*CGDisplayReconfigurationCallBack)(CGDirectDisplayID display,
CGDisplayChangeSummaryFlags flags,
void *userInfo);
extern CGError CGDisplayRegisterReconfigurationCallback(CGDisplayReconfigurationCallBack proc, void *userInfo) ;
extern CGError CGDisplayRemoveReconfigurationCallback(CGDisplayReconfigurationCallBack proc, void *userInfo) ;
# 257 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGError CGDisplaySetStereoOperation(CGDirectDisplayID display, boolean_t stereo, boolean_t forceBlueLine, CGConfigureOption option);
# 277 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern boolean_t CGDisplayIsActive(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsAsleep(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsOnline(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsMain(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsBuiltin(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsInMirrorSet(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsAlwaysInMirrorSet(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsInHWMirrorSet(CGDirectDisplayID display) ;
extern CGDirectDisplayID CGDisplayMirrorsDisplay(CGDirectDisplayID display) ;
extern boolean_t CGDisplayUsesOpenGLAcceleration(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsStereo(CGDirectDisplayID display);
extern CGDirectDisplayID CGDisplayPrimaryDisplay(CGDirectDisplayID display) ;
extern uint32_t CGDisplayUnitNumber(CGDirectDisplayID display) ;
extern uint32_t CGDisplayVendorNumber(CGDirectDisplayID display) ;
extern uint32_t CGDisplayModelNumber(CGDirectDisplayID display) ;
extern uint32_t CGDisplaySerialNumber(CGDirectDisplayID display) ;
extern io_service_t CGDisplayIOServicePort(CGDirectDisplayID display) ;
# 339 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGSize CGDisplayScreenSize(CGDirectDisplayID display) ;
# 352 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern double CGDisplayRotation(CGDirectDisplayID display) ;
extern CGColorSpaceRef CGDisplayCopyColorSpace(CGDirectDisplayID display) ;
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 3
#define __CGDISPLAY_FADE_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 1 3
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 2 3
typedef uint32_t CGDisplayFadeReservationToken;
#define kCGDisplayFadeReservationInvalidToken (0)
typedef float CGDisplayBlendFraction;
#define kCGDisplayBlendNormal (0.0)
#define kCGDisplayBlendSolidColor (1.0)
typedef float CGDisplayFadeInterval;
# 59 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 3
extern CGError CGConfigureDisplayFadeEffect(CGDisplayConfigRef configRef,
CGDisplayFadeInterval fadeOutSeconds,
CGDisplayFadeInterval fadeInSeconds,
float fadeRed,
float fadeGreen,
float fadeBlue) ;
typedef float CGDisplayReservationInterval;
#define kCGMaxDisplayReservationInterval (15.0)
# 88 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 3
extern CGError CGAcquireDisplayFadeReservation(CGDisplayReservationInterval seconds,
CGDisplayFadeReservationToken * pNewToken) ;
# 103 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 3
extern CGError CGReleaseDisplayFadeReservation(CGDisplayFadeReservationToken myToken) ;
# 154 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 3
extern CGError CGDisplayFade(CGDisplayFadeReservationToken myToken,
CGDisplayFadeInterval seconds,
CGDisplayBlendFraction startBlend,
CGDisplayBlendFraction endBlend,
float redBlend, float greenBlend, float blueBlend,
boolean_t synchronous ) ;
extern boolean_t CGDisplayFadeOperationInProgress(void) ;
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 1 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
#define __CGEVENT_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
#define __CGREMOTE_OPERATION_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 2 3
typedef CGError CGEventErr;
#define CGEventNoErr kCGErrorSuccess
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
typedef u_int32_t CGRectCount;
typedef void (*CGScreenRefreshCallback)(CGRectCount count, const CGRect * rectArray, void * userParameter);
# 56 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGRegisterScreenRefreshCallback( CGScreenRefreshCallback function, void * userParameter ) ;
extern void CGUnregisterScreenRefreshCallback( CGScreenRefreshCallback function, void * userParameter ) ;
# 75 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGWaitForScreenRefreshRects( CGRect ** pRectArray, CGRectCount * pCount ) ;
# 84 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
enum _CGScreenUpdateOperation
{
kCGScreenUpdateOperationRefresh = 0,
kCGScreenUpdateOperationMove = (1 << 0),
kCGScreenUpdateOperationReducedDirtyRectangleCount = (1 << 31)
};
typedef uint32_t CGScreenUpdateOperation;
# 102 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
struct _CGScreenUpdateMoveDelta {
int32_t dX, dY;
};
typedef struct _CGScreenUpdateMoveDelta CGScreenUpdateMoveDelta;
# 133 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
typedef void (*CGScreenUpdateMoveCallback)(CGScreenUpdateMoveDelta delta,
size_t count,
const CGRect * rectArray,
void * userParameter);
extern CGError CGScreenRegisterMoveCallback( CGScreenUpdateMoveCallback function, void * userParameter ) ;
extern void CGScreenUnregisterMoveCallback( CGScreenUpdateMoveCallback function, void * userParameter ) ;
# 172 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGWaitForScreenUpdateRects( CGScreenUpdateOperation requestedOperations,
CGScreenUpdateOperation * currentOperation,
CGRect ** pRectArray,
size_t * pCount,
CGScreenUpdateMoveDelta *pDelta ) ;
extern void CGReleaseScreenRefreshRects( CGRect * rectArray ) ;
# 190 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern boolean_t CGCursorIsVisible(void) ;
extern boolean_t CGCursorIsDrawnInFramebuffer(void) ;
# 219 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
typedef u_int32_t CGButtonCount;
extern CGError CGPostMouseEvent( CGPoint mouseCursorPosition,
boolean_t updateMouseCursorPosition,
CGButtonCount buttonCount,
boolean_t mouseButtonDown, ... ) ;
# 239 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
typedef u_int32_t CGWheelCount;
extern CGError CGPostScrollWheelEvent( CGWheelCount wheelCount,
int32_t wheel1, ... ) ;
# 258 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
typedef u_int16_t CGCharCode;
typedef u_int16_t CGKeyCode;
extern CGError CGPostKeyboardEvent( CGCharCode keyChar,
CGKeyCode virtualKey,
boolean_t keyDown ) ;
extern CGError CGWarpMouseCursorPosition( CGPoint newCursorPosition ) ;
# 283 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGInhibitLocalEvents( boolean_t doInhibit) ;
extern CGError CGSetLocalEventsSuppressionInterval(CFTimeInterval seconds) ;
# 307 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGEnableEventStateCombining(boolean_t doCombineState) ;
# 323 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
enum
{
kCGEventFilterMaskPermitLocalMouseEvents = 0x00000001,
kCGEventFilterMaskPermitLocalKeyboardEvents = 0x00000002,
kCGEventFilterMaskPermitSystemDefinedEvents = 0x00000004
};
typedef uint32_t CGEventFilterMask;
enum
{
kCGEventSuppressionStateSuppressionInterval = 0,
kCGEventSuppressionStateRemoteMouseDrag,
kCGNumberOfEventSuppressionStates
};
typedef uint32_t CGEventSuppressionState;
#define kCGEventFilterMaskPermitAllEvents (kCGEventFilterMaskPermitLocalMouseEvents | kCGEventFilterMaskPermitLocalKeyboardEvents | kCGEventFilterMaskPermitSystemDefinedEvents)
extern CGError CGSetLocalEventsFilterDuringSuppressionState(CGEventFilterMask filter,
CGEventSuppressionState state) ;
# 355 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
#define kCGMouseDownEventMaskingDeadSwitchTimeout (60.0)
# 376 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGAssociateMouseAndMouseCursorPosition(boolean_t connected) ;
# 416 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CFMachPortRef CGWindowServerCFMachPort(void) ;
#define kCGEventSupressionStateSupressionInterval kCGEventSuppressionStateSuppressionInterval
#define kCGEventSupressionStateRemoteMouseDrag kCGEventSuppressionStateRemoteMouseDrag
#define kCGNumberOfEventSupressionStates kCGNumberOfEventSuppressionStates
#define CGEventSupressionState CGEventSuppressionState
#define CGSetLocalEventsFilterDuringSupressionState(filter,state) CGSetLocalEventsFilterDuringSuppressionState(filter, state)
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
#define __CGEVENTSOURCE_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
#define __CGEVENTTYPES_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 1 3
# 46 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define _DEV_EVENT_H
# 1 "/usr/include/libkern/OSTypes.h" 1 3 4
# 36 "/usr/include/libkern/OSTypes.h" 3 4
#define _OS_OSTYPES_H
typedef unsigned int UInt;
typedef signed int SInt;
# 49 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 1 3
# 36 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 3
#define _DEV_EV_TYPES_H
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/IOSharedLock.h" 1 3
# 54 "/System/Library/Frameworks/IOKit.framework/Headers/IOSharedLock.h" 3
#define _IOKIT_IOSHAREDLOCK_H
typedef volatile int IOSharedLockData;
typedef IOSharedLockData * IOSharedLock;
#define IOSpinLockInit(l) (*(l) = (IOSharedLockData)0)
extern void IOSpinLock(IOSharedLock l);
extern void IOSpinUnlock(IOSharedLock l);
extern boolean_t IOTrySpinLock(IOSharedLock l);
typedef IOSharedLockData ev_lock_data_t;
typedef ev_lock_data_t * ev_lock_t;
#define ev_init_lock(l) (*(l) = (ev_lock_data_t)0)
extern void ev_lock(ev_lock_t l);
extern void ev_unlock(ev_lock_t l);
extern boolean_t ev_try_lock(ev_lock_t l);
# 40 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 1 3
# 24 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
#define _IOKIT_IOGRAPHICSTYPES_H
# 34 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
#define IOGRAPHICSTYPES_REV 13
typedef SInt32 IOIndex;
typedef UInt32 IOSelect;
typedef UInt32 IOFixed1616;
typedef UInt32 IODisplayVendorID;
typedef UInt32 IODisplayProductID;
typedef SInt32 IODisplayModeID;
enum {
kIODisplayModeIDBootProgrammable = (long)0xFFFFFFFB,
kIODisplayModeIDReservedBase = (long)0x80000000
};
enum {
kIOMaxPixelBits = 64
};
typedef char IOPixelEncoding[ kIOMaxPixelBits ];
#define IO1BitIndexedPixels "P"
#define IO2BitIndexedPixels "PP"
#define IO4BitIndexedPixels "PPPP"
#define IO8BitIndexedPixels "PPPPPPPP"
#define IO16BitDirectPixels "-RRRRRGGGGGBBBBB"
#define IO32BitDirectPixels "--------RRRRRRRRGGGGGGGGBBBBBBBB"
#define kIO30BitDirectPixels "--RRRRRRRRRRGGGGGGGGGGBBBBBBBBBB"
#define kIO64BitDirectPixels "-16R16G16B16"
#define kIO16BitFloatPixels "-16FR16FG16FB16"
#define kIO32BitFloatPixels "-32FR32FG32FB32"
#define IOYUV422Pixels "Y4U2V2"
#define IO8BitOverlayPixels "O8"
#define IOPagedPixels "Page1"
#define IO_SampleTypeAlpha 'A'
#define IO_SampleTypeSkip '-'
enum {
kIOCLUTPixels = 0,
kIOFixedCLUTPixels = 1,
kIORGBDirectPixels = 2,
kIOMonoDirectPixels = 3,
kIOMonoInverseDirectPixels = 4,
kIORGBSignedDirectPixels = 5,
kIORGBSignedFloatingPointPixels = 6
};
# 109 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IOPixelInformation {
IOByteCount bytesPerRow;
IOByteCount bytesPerPlane;
UInt32 bitsPerPixel;
UInt32 pixelType;
UInt32 componentCount;
UInt32 bitsPerComponent;
UInt32 componentMasks[ 8 * 2 ];
IOPixelEncoding pixelFormat;
UInt32 flags;
UInt32 activeWidth;
UInt32 activeHeight;
UInt32 reserved[ 2 ];
};
typedef struct IOPixelInformation IOPixelInformation;
typedef UInt32 IOAppleTimingID;
# 144 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IODisplayModeInformation {
UInt32 nominalWidth;
UInt32 nominalHeight;
IOFixed1616 refreshRate;
IOIndex maxDepthIndex;
UInt32 flags;
UInt32 reserved[ 4 ];
};
typedef struct IODisplayModeInformation IODisplayModeInformation;
enum {
kDisplayModeSafetyFlags = 0x00000007,
kDisplayModeAlwaysShowFlag = 0x00000008,
kDisplayModeNeverShowFlag = 0x00000080,
kDisplayModeNotResizeFlag = 0x00000010,
kDisplayModeRequiresPanFlag = 0x00000020,
kDisplayModeInterlacedFlag = 0x00000040,
kDisplayModeSimulscanFlag = 0x00000100,
kDisplayModeBuiltInFlag = 0x00000400,
kDisplayModeNotPresetFlag = 0x00000200,
kDisplayModeStretchedFlag = 0x00000800,
kDisplayModeNotGraphicsQualityFlag = 0x00001000,
kDisplayModeValidateAgainstDisplay = 0x00002000,
kDisplayModeTelevisionFlag = 0x00100000,
kDisplayModeValidForMirroringFlag = 0x00200000
};
enum {
kDisplayModeValidFlag = 0x00000001,
kDisplayModeSafeFlag = 0x00000002,
kDisplayModeDefaultFlag = 0x00000004
};
struct IOFramebufferInformation {
IOPhysicalAddress baseAddress;
UInt32 activeWidth;
UInt32 activeHeight;
IOByteCount bytesPerRow;
IOByteCount bytesPerPlane;
UInt32 bitsPerPixel;
UInt32 pixelType;
UInt32 flags;
UInt32 reserved[ 4 ];
};
typedef struct IOFramebufferInformation IOFramebufferInformation;
enum {
kFramebufferSupportsCopybackCache = 0x00010000,
kFramebufferSupportsWritethruCache = 0x00020000,
kFramebufferSupportsGammaCorrection = 0x00040000,
kFramebufferDisableAltivecAccess = 0x00080000
};
typedef IOIndex IOPixelAperture;
enum {
kIOFBSystemAperture = 0
};
typedef UInt16 IOColorComponent;
# 223 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IOColorEntry {
UInt16 index;
IOColorComponent red;
IOColorComponent green;
IOColorComponent blue;
};
typedef struct IOColorEntry IOColorEntry;
enum {
kSetCLUTByValue = 0x00000001,
kSetCLUTImmediately = 0x00000002,
kSetCLUTWithLuminance = 0x00000004
};
enum {
kIOPowerAttribute = 'powr',
kIOHardwareCursorAttribute = 'crsr',
kIOMirrorAttribute = 'mirr',
kIOMirrorDefaultAttribute = 'mrdf',
kIOCapturedAttribute = 'capd',
kIOCursorControlAttribute = 'crsc',
kIOSystemPowerAttribute = 'spwr',
kIOVRAMSaveAttribute = 'vrsv',
kIODeferCLUTSetAttribute = 'vclt',
kIOClamshellStateAttribute = 'clam'
};
enum {
kIOMirrorIsPrimary = 0x80000000,
kIOMirrorHWClipped = 0x40000000
};
enum {
kIOMirrorDefault = 0x00000001,
kIOMirrorForced = 0x00000002
};
struct IODetailedTimingInformationV1 {
UInt32 pixelClock;
UInt32 horizontalActive;
UInt32 horizontalBlanking;
UInt32 horizontalBorder;
UInt32 horizontalSyncOffset;
UInt32 horizontalSyncWidth;
UInt32 verticalActive;
UInt32 verticalBlanking;
UInt32 verticalBorder;
UInt32 verticalSyncOffset;
UInt32 verticalSyncWidth;
};
typedef struct IODetailedTimingInformationV1 IODetailedTimingInformationV1;
# 335 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IODetailedTimingInformationV2 {
UInt32 __reservedA[3];
UInt32 horizontalScaledInset;
UInt32 verticalScaledInset;
UInt32 scalerFlags;
UInt32 horizontalScaled;
UInt32 verticalScaled;
UInt32 signalConfig;
UInt32 signalLevels;
UInt64 pixelClock;
UInt64 minPixelClock;
UInt64 maxPixelClock;
UInt32 horizontalActive;
UInt32 horizontalBlanking;
UInt32 horizontalSyncOffset;
UInt32 horizontalSyncPulseWidth;
UInt32 verticalActive;
UInt32 verticalBlanking;
UInt32 verticalSyncOffset;
UInt32 verticalSyncPulseWidth;
UInt32 horizontalBorderLeft;
UInt32 horizontalBorderRight;
UInt32 verticalBorderTop;
UInt32 verticalBorderBottom;
UInt32 horizontalSyncConfig;
UInt32 horizontalSyncLevel;
UInt32 verticalSyncConfig;
UInt32 verticalSyncLevel;
UInt32 numLinks;
UInt32 __reservedB[7];
};
typedef struct IODetailedTimingInformationV2 IODetailedTimingInformationV2;
typedef struct IODetailedTimingInformationV2 IODetailedTimingInformation;
struct IOTimingInformation {
IOAppleTimingID appleTimingID;
UInt32 flags;
union {
IODetailedTimingInformationV1 v1;
IODetailedTimingInformationV2 v2;
} detailedInfo;
};
typedef struct IOTimingInformation IOTimingInformation;
enum {
kIODetailedTimingValid = 0x80000000,
kIOScalingInfoValid = 0x40000000
};
enum {
kIOScaleStretchToFit = 0x00000001,
kIOScaleRotateFlags = 0x000000f0,
kIOScaleSwapAxes = 0x00000010,
kIOScaleInvertX = 0x00000020,
kIOScaleInvertY = 0x00000040,
kIOScaleRotate0 = 0x00000000,
kIOScaleRotate90 = kIOScaleSwapAxes | kIOScaleInvertX,
kIOScaleRotate180 = kIOScaleInvertX | kIOScaleInvertY,
kIOScaleRotate270 = kIOScaleSwapAxes | kIOScaleInvertY
};
struct IOFBDisplayModeDescription {
IODisplayModeInformation info;
IOTimingInformation timingInfo;
};
typedef struct IOFBDisplayModeDescription IOFBDisplayModeDescription;
# 499 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IODisplayTimingRange
{
UInt32 __reservedA[2];
UInt32 version;
UInt32 __reservedB[5];
UInt64 minPixelClock;
UInt64 maxPixelClock;
UInt32 maxPixelError;
UInt32 supportedSyncFlags;
UInt32 supportedSignalLevels;
UInt32 supportedSignalConfigs;
UInt32 minFrameRate;
UInt32 maxFrameRate;
UInt32 minLineRate;
UInt32 maxLineRate;
UInt32 maxHorizontalTotal;
UInt32 maxVerticalTotal;
UInt32 __reservedD[2];
UInt8 charSizeHorizontalActive;
UInt8 charSizeHorizontalBlanking;
UInt8 charSizeHorizontalSyncOffset;
UInt8 charSizeHorizontalSyncPulse;
UInt8 charSizeVerticalActive;
UInt8 charSizeVerticalBlanking;
UInt8 charSizeVerticalSyncOffset;
UInt8 charSizeVerticalSyncPulse;
UInt8 charSizeHorizontalBorderLeft;
UInt8 charSizeHorizontalBorderRight;
UInt8 charSizeVerticalBorderTop;
UInt8 charSizeVerticalBorderBottom;
UInt8 charSizeHorizontalTotal;
UInt8 charSizeVerticalTotal;
UInt16 __reservedE;
UInt32 minHorizontalActiveClocks;
UInt32 maxHorizontalActiveClocks;
UInt32 minHorizontalBlankingClocks;
UInt32 maxHorizontalBlankingClocks;
UInt32 minHorizontalSyncOffsetClocks;
UInt32 maxHorizontalSyncOffsetClocks;
UInt32 minHorizontalPulseWidthClocks;
UInt32 maxHorizontalPulseWidthClocks;
UInt32 minVerticalActiveClocks;
UInt32 maxVerticalActiveClocks;
UInt32 minVerticalBlankingClocks;
UInt32 maxVerticalBlankingClocks;
UInt32 minVerticalSyncOffsetClocks;
UInt32 maxVerticalSyncOffsetClocks;
UInt32 minVerticalPulseWidthClocks;
UInt32 maxVerticalPulseWidthClocks;
UInt32 minHorizontalBorderLeft;
UInt32 maxHorizontalBorderLeft;
UInt32 minHorizontalBorderRight;
UInt32 maxHorizontalBorderRight;
UInt32 minVerticalBorderTop;
UInt32 maxVerticalBorderTop;
UInt32 minVerticalBorderBottom;
UInt32 maxVerticalBorderBottom;
UInt32 maxNumLinks;
UInt32 minLink0PixelClock;
UInt32 maxLink0PixelClock;
UInt32 minLink1PixelClock;
UInt32 maxLink1PixelClock;
UInt32 __reservedF[3];
};
typedef struct IODisplayTimingRange IODisplayTimingRange;
enum {
kIORangeSupportsSignal_0700_0300 = 0x00000001,
kIORangeSupportsSignal_0714_0286 = 0x00000002,
kIORangeSupportsSignal_1000_0400 = 0x00000004,
kIORangeSupportsSignal_0700_0000 = 0x00000008
};
enum {
kIORangeSupportsSeparateSyncs = 0x00000001,
kIORangeSupportsSyncOnGreen = 0x00000002,
kIORangeSupportsCompositeSync = 0x00000004,
kIORangeSupportsVSyncSerration = 0x00000008
};
enum {
kIORangeSupportsInterlacedCEATiming = 0x00000004,
kIORangeSupportsInterlacedCEATimingWithConfirm = 0x00000008
};
enum {
kIODigitalSignal = 0x00000001,
kIOAnalogSetupExpected = 0x00000002,
kIOInterlacedCEATiming = 0x00000004,
kIONTSCTiming = 0x00000008,
kIOPALTiming = 0x00000010
};
enum {
kIOAnalogSignalLevel_0700_0300 = 0,
kIOAnalogSignalLevel_0714_0286 = 1,
kIOAnalogSignalLevel_1000_0400 = 2,
kIOAnalogSignalLevel_0700_0000 = 3
};
enum {
kIOSyncPositivePolarity = 0x00000001
};
# 642 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IODisplayScalerInformation {
UInt32 __reservedA[1];
UInt32 version;
UInt32 __reservedB[2];
IOOptionBits scalerFeatures;
UInt32 maxHorizontalPixels;
UInt32 maxVerticalPixels;
UInt32 __reservedC[5];
};
typedef struct IODisplayScalerInformation IODisplayScalerInformation;
enum {
kIOScaleStretchOnly = 0x00000001,
kIOScaleCanUpSamplePixels = 0x00000002,
kIOScaleCanDownSamplePixels = 0x00000004,
kIOScaleCanScaleInterlaced = 0x00000008,
kIOScaleCanSupportInset = 0x00000010,
kIOScaleCanRotate = 0x00000020,
kIOScaleCanBorderInsetOnly = 0x00000040
};
enum {
kOrConnections = 0xffffffe,
kAndConnections = 0xffffffd
};
enum {
kConnectionFlags = 'flgs',
kConnectionSyncEnable = 'sync',
kConnectionSyncFlags = 'sycf',
kConnectionSupportsAppleSense = 'asns',
kConnectionSupportsLLDDCSense = 'lddc',
kConnectionSupportsHLDDCSense = 'hddc',
kConnectionEnable = 'enab',
kConnectionProbe = 'prob',
kConnectionChanged = 'chng',
kConnectionPower = 'powr',
kConnectionPostWake = 'pwak',
kConnectionDisplayParameterCount = 'pcnt',
kConnectionDisplayParameters = 'parm',
kConnectionOverscan = 'oscn',
kConnectionVideoBest = 'vbst'
};
enum {
kIOConnectionBuiltIn = 0x00000800,
kIOConnectionStereoSync = 0x00008000
};
enum {
kIOHSyncDisable = 0x00000001,
kIOVSyncDisable = 0x00000002,
kIOCSyncDisable = 0x00000004,
kIONoSeparateSyncControl = 0x00000040,
kIOTriStateSyncs = 0x00000080,
kIOSyncOnBlue = 0x00000008,
kIOSyncOnGreen = 0x00000010,
kIOSyncOnRed = 0x00000020
};
#define IO_DISPLAY_CAN_FILL 0x00000040
#define IO_DISPLAY_CAN_BLIT 0x00000020
#define IO_24BPP_TRANSFER_TABLE_SIZE 256
#define IO_15BPP_TRANSFER_TABLE_SIZE 256
#define IO_8BPP_TRANSFER_TABLE_SIZE 256
#define IO_12BPP_TRANSFER_TABLE_SIZE 256
#define IO_2BPP_TRANSFER_TABLE_SIZE 256
#define STDFB_BM256_TO_BM38_MAP_SIZE 256
#define STDFB_BM38_TO_BM256_MAP_SIZE 256
#define STDFB_BM38_TO_256_WITH_LOGICAL_SIZE (STDFB_BM38_TO_BM256_MAP_SIZE + (256/sizeof(int)))
#define STDFB_4BPS_TO_5BPS_MAP_SIZE 16
#define STDFB_5BPS_TO_4BPS_MAP_SIZE 32
enum {
kIOFBServerConnectType = 0,
kIOFBSharedConnectType = 1
};
enum {
kIOFBUserRequestProbe = 0x00000001
};
struct IOGPoint {
SInt16 x;
SInt16 y;
};
typedef struct IOGPoint IOGPoint;
struct IOGSize {
SInt16 width;
SInt16 height;
};
typedef struct IOGSize IOGSize;
struct IOGBounds {
SInt16 minx;
SInt16 maxx;
SInt16 miny;
SInt16 maxy;
};
typedef struct IOGBounds IOGBounds;
# 773 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
enum {
kTransparentEncoding = 0,
kInvertingEncoding
};
enum {
kTransparentEncodingShift = (kTransparentEncoding << 1),
kTransparentEncodedPixel = (0x01 << kTransparentEncodingShift),
kInvertingEncodingShift = (kInvertingEncoding << 1),
kInvertingEncodedPixel = (0x01 << kInvertingEncodingShift)
};
enum {
kHardwareCursorDescriptorMajorVersion = 0x0001,
kHardwareCursorDescriptorMinorVersion = 0x0000
};
# 808 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IOHardwareCursorDescriptor {
UInt16 majorVersion;
UInt16 minorVersion;
UInt32 height;
UInt32 width;
UInt32 bitDepth;
UInt32 maskBitDepth;
UInt32 numColors;
UInt32 * colorEncodings;
UInt32 flags;
UInt32 supportedSpecialEncodings;
UInt32 specialEncodings[16];
};
typedef struct IOHardwareCursorDescriptor IOHardwareCursorDescriptor;
enum {
kIOFBVBLInterruptType = 'vbl ',
kIOFBHBLInterruptType = 'hbl ',
kIOFBFrameInterruptType = 'fram',
kIOFBConnectInterruptType = 'dci ',
kIOFBChangedInterruptType = 'chng',
kIOFBOfflineInterruptType = 'remv',
kIOFBOnlineInterruptType = 'add '
};
enum {
kIOTimingIDInvalid = 0,
kIOTimingIDApple_FixedRateLCD = 42,
kIOTimingIDApple_512x384_60hz = 130,
kIOTimingIDApple_560x384_60hz = 135,
kIOTimingIDApple_640x480_67hz = 140,
kIOTimingIDApple_640x400_67hz = 145,
kIOTimingIDVESA_640x480_60hz = 150,
kIOTimingIDVESA_640x480_72hz = 152,
kIOTimingIDVESA_640x480_75hz = 154,
kIOTimingIDVESA_640x480_85hz = 158,
kIOTimingIDGTF_640x480_120hz = 159,
kIOTimingIDApple_640x870_75hz = 160,
kIOTimingIDApple_640x818_75hz = 165,
kIOTimingIDApple_832x624_75hz = 170,
kIOTimingIDVESA_800x600_56hz = 180,
kIOTimingIDVESA_800x600_60hz = 182,
kIOTimingIDVESA_800x600_72hz = 184,
kIOTimingIDVESA_800x600_75hz = 186,
kIOTimingIDVESA_800x600_85hz = 188,
kIOTimingIDVESA_1024x768_60hz = 190,
kIOTimingIDVESA_1024x768_70hz = 200,
kIOTimingIDVESA_1024x768_75hz = 204,
kIOTimingIDVESA_1024x768_85hz = 208,
kIOTimingIDApple_1024x768_75hz = 210,
kIOTimingIDApple_1152x870_75hz = 220,
kIOTimingIDAppleNTSC_ST = 230,
kIOTimingIDAppleNTSC_FF = 232,
kIOTimingIDAppleNTSC_STconv = 234,
kIOTimingIDAppleNTSC_FFconv = 236,
kIOTimingIDApplePAL_ST = 238,
kIOTimingIDApplePAL_FF = 240,
kIOTimingIDApplePAL_STconv = 242,
kIOTimingIDApplePAL_FFconv = 244,
kIOTimingIDVESA_1280x960_75hz = 250,
kIOTimingIDVESA_1280x960_60hz = 252,
kIOTimingIDVESA_1280x960_85hz = 254,
kIOTimingIDVESA_1280x1024_60hz = 260,
kIOTimingIDVESA_1280x1024_75hz = 262,
kIOTimingIDVESA_1280x1024_85hz = 268,
kIOTimingIDVESA_1600x1200_60hz = 280,
kIOTimingIDVESA_1600x1200_65hz = 282,
kIOTimingIDVESA_1600x1200_70hz = 284,
kIOTimingIDVESA_1600x1200_75hz = 286,
kIOTimingIDVESA_1600x1200_80hz = 288,
kIOTimingIDVESA_1600x1200_85hz = 289,
kIOTimingIDVESA_1792x1344_60hz = 296,
kIOTimingIDVESA_1792x1344_75hz = 298,
kIOTimingIDVESA_1856x1392_60hz = 300,
kIOTimingIDVESA_1856x1392_75hz = 302,
kIOTimingIDVESA_1920x1440_60hz = 304,
kIOTimingIDVESA_1920x1440_75hz = 306,
kIOTimingIDSMPTE240M_60hz = 400,
kIOTimingIDFilmRate_48hz = 410,
kIOTimingIDSony_1600x1024_76hz = 500,
kIOTimingIDSony_1920x1080_60hz = 510,
kIOTimingIDSony_1920x1080_72hz = 520,
kIOTimingIDSony_1920x1200_76hz = 540,
kIOTimingIDApple_0x0_0hz_Offline = 550,
kIOTimingIDVESA_848x480_60hz = 570,
kIOTimingIDVESA_1360x768_60hz = 590
};
#define kIOFramebufferInfoKey "IOFramebufferInformation"
#define kIOFBWidthKey "IOFBWidth"
#define kIOFBHeightKey "IOFBHeight"
#define kIOFBRefreshRateKey "IOFBRefreshRate"
#define kIOFBFlagsKey "IOFBFlags"
#define kIOFBBytesPerRowKey "IOFBBytesPerRow"
#define kIOFBBytesPerPlaneKey "IOFBBytesPerPlane"
#define kIOFBBitsPerPixelKey "IOFBBitsPerPixel"
#define kIOFBComponentCountKey "IOFBComponentCount"
#define kIOFBBitsPerComponentKey "IOFBBitsPerComponent"
#define kIOFBDetailedTimingsKey "IOFBDetailedTimings"
#define kIOFBTimingRangeKey "IOFBTimingRange"
#define kIOFBScalerInfoKey "IOFBScalerInfo"
#define kIOFBCursorInfoKey "IOFBCursorInfo"
#define kIOFBHostAccessFlagsKey "IOFBHostAccessFlags"
#define kIOFBMemorySizeKey "IOFBMemorySize"
#define kIOFBProbeOptionsKey "IOFBProbeOptions"
#define kIOFBGammaWidthKey "IOFBGammaWidth"
#define kIOFBGammaCountKey "IOFBGammaCount"
#define kIOFBCLUTDeferKey "IOFBCLUTDefer"
#define kIOHibernatePreviewActiveKey "IOHibernatePreviewActive"
enum {
kIOHibernatePreviewActive = 0x00000001,
kIOHibernatePreviewUpdates = 0x00000002
};
#define kIOFBConfigKey "IOFBConfig"
#define kIOFBModesKey "IOFBModes"
#define kIOFBModeIDKey "ID"
#define kIOFBModeDMKey "DM"
#define kIOFBModeTMKey "TM"
#define kIOFBModeAIDKey "AID"
#define kIOFBModeDFKey "DF"
#define kIODisplayEDIDKey "IODisplayEDID"
#define kIODisplayLocationKey "IODisplayLocation"
#define kIODisplayConnectFlagsKey "IODisplayConnectFlags"
#define kIODisplayHasBacklightKey "IODisplayHasBacklight"
#define kIODisplayIsDigitalKey "IODisplayIsDigital"
#define kDisplayBundleKey "DisplayBundle"
#define kAppleDisplayTypeKey "AppleDisplayType"
#define kAppleSenseKey "AppleSense"
enum {
kDisplayVendorIDUnknown = 'unkn',
kDisplayProductIDGeneric = 0x717
};
#define kDisplayVendorID "DisplayVendorID"
#define kDisplayProductID "DisplayProductID"
#define kDisplaySerialNumber "DisplaySerialNumber"
#define kDisplaySerialString "DisplaySerialString"
#define kDisplayWeekOfManufacture "DisplayWeekManufacture"
#define kDisplayYearOfManufacture "DisplayYearManufacture"
#define kDisplayProductName "DisplayProductName"
#define kDisplayWhitePointX "DisplayWhitePointX"
#define kDisplayWhitePointY "DisplayWhitePointY"
#define kDisplayRedPointX "DisplayRedPointX"
#define kDisplayRedPointY "DisplayRedPointY"
#define kDisplayGreenPointX "DisplayGreenPointX"
#define kDisplayGreenPointY "DisplayGreenPointY"
#define kDisplayBluePointX "DisplayBluePointX"
#define kDisplayBluePointY "DisplayBluePointY"
#define kDisplayWhiteGamma "DisplayWhiteGamma"
#define kDisplayRedGamma "DisplayRedGamma"
#define kDisplayGreenGamma "DisplayGreenGamma"
#define kDisplayBlueGamma "DisplayBlueGamma"
#define kDisplayGammaChannels "DisplayGammaChannels"
#define kDisplayGammaEntryCount "DisplayGammaEntryCount"
#define kDisplayGammaEntrySize "DisplayGammaEntrySize"
#define kDisplayGammaTable "DisplayGammaTable"
#define kDisplayBrightnessAffectsGamma "DisplayBrightnessAffectsGamma"
#define kDisplayViewAngleAffectsGamma "DisplayViewAngleAffectsGamma"
#define kDisplayCSProfile "DisplayCSProfile"
#define kDisplayHorizontalImageSize "DisplayHorizontalImageSize"
#define kDisplayVerticalImageSize "DisplayVerticalImageSize"
#define kDisplayFixedPixelFormat "DisplayFixedPixelFormat"
enum {
kDisplaySubPixelLayoutUndefined = 0x00000000,
kDisplaySubPixelLayoutRGB = 0x00000001,
kDisplaySubPixelLayoutBGR = 0x00000002,
kDisplaySubPixelLayoutQuadGBL = 0x00000003,
kDisplaySubPixelLayoutQuadGBR = 0x00000004,
kDisplaySubPixelConfigurationUndefined = 0x00000000,
kDisplaySubPixelConfigurationDelta = 0x00000001,
kDisplaySubPixelConfigurationStripe = 0x00000002,
kDisplaySubPixelConfigurationStripeOffset = 0x00000003,
kDisplaySubPixelConfigurationQuad = 0x00000004,
kDisplaySubPixelShapeUndefined = 0x00000000,
kDisplaySubPixelShapeRound = 0x00000001,
kDisplaySubPixelShapeSquare = 0x00000002,
kDisplaySubPixelShapeRectangular = 0x00000003,
kDisplaySubPixelShapeOval = 0x00000004,
kDisplaySubPixelShapeElliptical = 0x00000005
};
#define kDisplaySubPixelLayout "DisplaySubPixelLayout"
#define kDisplaySubPixelConfiguration "DisplaySubPixelConfiguration"
#define kDisplaySubPixelShape "DisplaySubPixelShape"
#define kIODisplayOverrideMatchingKey "IODisplayOverrideMatching"
#define kIODisplayParametersKey "IODisplayParameters"
#define kIODisplayGUIDKey "IODisplayGUID"
#define kIODisplayValueKey "value"
#define kIODisplayMinValueKey "min"
#define kIODisplayMaxValueKey "max"
#define kIODisplayBrightnessKey "brightness"
#define kIODisplayContrastKey "contrast"
#define kIODisplayHorizontalPositionKey "horizontal-position"
#define kIODisplayHorizontalSizeKey "horizontal-size"
#define kIODisplayVerticalPositionKey "vertical-position"
#define kIODisplayVerticalSizeKey "vertical-size"
#define kIODisplayTrapezoidKey "trapezoid"
#define kIODisplayPincushionKey "pincushion"
#define kIODisplayParallelogramKey "parallelogram"
#define kIODisplayRotationKey "rotation"
#define kIODisplayTheatreModeKey "theatre-mode"
#define kIODisplayTheatreModeWindowKey "theatre-mode-window"
#define kIODisplayOverscanKey "oscn"
#define kIODisplayVideoBestKey "vbst"
#define kIODisplayParametersCommitKey "commit"
#define kIODisplayParametersDefaultKey "defaults"
# 41 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 2 3
#define EVENT_SYSTEM_VERSION 2
#define NX_MAXMOUSESCALINGS 20
typedef struct evsioKeymapping
{
int size;
char *mapping;
} NXKeyMapping;
typedef struct evsioMouseScaling
{
int numScaleLevels;
short scaleThresholds[20];
short scaleFactors[20];
} NXMouseScaling;
typedef enum {
NX_OneButton,
NX_LeftButton,
NX_RightButton
} NXMouseButton;
# 83 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 3
typedef int *NXEventSystemInfoType;
#define NX_EVS_INFO_MAX (1024)
typedef int NXEventSystemInfoData[(1024)];
#define NX_EVS_DEVICE_MAX 16
#define NX_EVS_DEVICE_INTERFACE_OTHER 0
#define NX_EVS_DEVICE_INTERFACE_NeXT 1
#define NX_EVS_DEVICE_INTERFACE_ADB 2
#define NX_EVS_DEVICE_INTERFACE_ACE 3
#define NX_EVS_DEVICE_INTERFACE_SERIAL_ACE 4
#define NX_EVS_DEVICE_INTERFACE_BUS_ACE 5
#define NX_EVS_DEVICE_INTERFACE_HIL 6
#define NX_EVS_DEVICE_INTERFACE_TYPE5 7
# 108 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 3
#define NUM_SUPPORTED_INTERFACES (NX_EVS_DEVICE_INTERFACE_TYPE5 + 1)
#define NX_EVS_DEVICE_TYPE_OTHER 0
#define NX_EVS_DEVICE_TYPE_KEYBOARD 1
#define NX_EVS_DEVICE_TYPE_MOUSE 2
#define NX_EVS_DEVICE_TYPE_TABLET 3
typedef struct {
int interface;
int interface_addr;
int dev_type;
int id;
} NXEventSystemDevice;
typedef struct {
NXEventSystemDevice dev[16];
} NXEventSystemDeviceList;
#define __OLD_NX_EVS_DEVICE_INFO 1
#define NX_EVS_DEVICE_INFO "Evs_EventDeviceInfo"
#define NX_EVS_DEVICE_INFO_COUNT (sizeof (NXEventSystemDeviceList) / sizeof (int))
typedef enum {EVNOP, EVHIDE, EVSHOW, EVMOVE, EVLEVEL} EvCmd;
#define EV_SCREEN_MIN_BRIGHTNESS 0
#define EV_SCREEN_MAX_BRIGHTNESS 64
#define EV_SCALE_BRIGHTNESS(scale,datum) ((((UInt32)(datum))*((UInt32)scale)) >> 6)
# 151 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 3
#define EV_TICK_TIME 16
#define EV_TICKS_PER_SEC (1000/EV_TICK_TIME)
#define EV_RB (0x01)
#define EV_LB (0x04)
#define EV_MOUSEBUTTONMASK (EV_LB | EV_RB)
#define EV_MINPRESSURE 0
#define EV_MAXPRESSURE 255
#define EV_CURSOR_WIDTH 16
#define EV_CURSOR_HEIGHT 16
#define kAppleOnboardGUID 0x0610000000000000ULL
# 50 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 2 3
#define EVENT_H
#define _NXSIZE_ 1
typedef float NXCoord;
typedef struct _NXPoint {
NXCoord x, y;
} NXPoint;
typedef struct _NXSize {
NXCoord width, height;
} NXSize;
#define _NXSize_ NXSize
#define NX_NULLEVENT 0
#define NX_LMOUSEDOWN 1
#define NX_LMOUSEUP 2
#define NX_RMOUSEDOWN 3
#define NX_RMOUSEUP 4
#define NX_MOUSEMOVED 5
#define NX_LMOUSEDRAGGED 6
#define NX_RMOUSEDRAGGED 7
#define NX_MOUSEENTERED 8
#define NX_MOUSEEXITED 9
#define NX_OMOUSEDOWN 25
#define NX_OMOUSEUP 26
#define NX_OMOUSEDRAGGED 27
#define NX_KEYDOWN 10
#define NX_KEYUP 11
#define NX_FLAGSCHANGED 12
#define NX_KITDEFINED 13
#define NX_SYSDEFINED 14
#define NX_APPDEFINED 15
#define NX_SCROLLWHEELMOVED 22
#define NX_ZOOM 28
#define NX_TABLETPOINTER 23
#define NX_TABLETPROXIMITY 24
#define NX_FIRSTEVENT 0
#define NX_LASTEVENT 28
#define NX_NUMPROCS (NX_LASTEVENT-NX_FIRSTEVENT+1)
#define NX_NULLEVENTMASK (1 << NX_NULLEVENT)
#define NX_LMOUSEDOWNMASK (1 << NX_LMOUSEDOWN)
#define NX_LMOUSEUPMASK (1 << NX_LMOUSEUP)
#define NX_RMOUSEDOWNMASK (1 << NX_RMOUSEDOWN)
#define NX_RMOUSEUPMASK (1 << NX_RMOUSEUP)
#define NX_OMOUSEDOWNMASK (1 << NX_OMOUSEDOWN)
#define NX_OMOUSEUPMASK (1 << NX_OMOUSEUP)
#define NX_MOUSEMOVEDMASK (1 << NX_MOUSEMOVED)
#define NX_LMOUSEDRAGGEDMASK (1 << NX_LMOUSEDRAGGED)
#define NX_RMOUSEDRAGGEDMASK (1 << NX_RMOUSEDRAGGED)
#define NX_OMOUSEDRAGGEDMASK (1 << NX_OMOUSEDRAGGED)
#define NX_MOUSEENTEREDMASK (1 << NX_MOUSEENTERED)
#define NX_MOUSEEXITEDMASK (1 << NX_MOUSEEXITED)
#define NX_KEYDOWNMASK (1 << NX_KEYDOWN)
#define NX_KEYUPMASK (1 << NX_KEYUP)
#define NX_FLAGSCHANGEDMASK (1 << NX_FLAGSCHANGED)
#define NX_KITDEFINEDMASK (1 << NX_KITDEFINED)
#define NX_SYSDEFINEDMASK (1 << NX_SYSDEFINED)
#define NX_APPDEFINEDMASK (1 << NX_APPDEFINED)
#define NX_SCROLLWHEELMOVEDMASK (1 << NX_SCROLLWHEELMOVED)
#define NX_ZOOMMASK (1 << NX_ZOOM)
#define NX_TABLETPOINTERMASK (1 << NX_TABLETPOINTER)
#define NX_TABLETPROXIMITYMASK (1 << NX_TABLETPROXIMITY)
#define EventCodeMask(type) (1 << (type))
#define NX_ALLEVENTS -1
#define NX_SUBTYPE_DEFAULT 0
#define NX_SUBTYPE_TABLET_POINT 1
#define NX_SUBTYPE_TABLET_PROXIMITY 2
#define NX_SUBTYPE_POWER_KEY 1
#define NX_SUBTYPE_AUX_MOUSE_BUTTONS 7
# 184 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define NX_SUBTYPE_AUX_CONTROL_BUTTONS 8
#define NX_SUBTYPE_EJECT_KEY 10
#define NX_SUBTYPE_SLEEP_EVENT 11
#define NX_SUBTYPE_RESTART_EVENT 12
#define NX_SUBTYPE_SHUTDOWN_EVENT 13
#define NX_SUBTYPE_STICKYKEYS_ON 100
#define NX_SUBTYPE_STICKYKEYS_OFF 101
#define NX_SUBTYPE_STICKYKEYS_SHIFT 102
#define NX_SUBTYPE_STICKYKEYS_CONTROL 103
#define NX_SUBTYPE_STICKYKEYS_ALTERNATE 104
#define NX_SUBTYPE_STICKYKEYS_COMMAND 105
#define NX_SUBTYPE_STICKYKEYS_RELEASE 106
#define NX_SUBTYPE_STICKYKEYS_TOGGLEMOUSEDRIVING 107
#define NX_SUBTYPE_STICKYKEYS_SHIFT_DOWN 110
#define NX_SUBTYPE_STICKYKEYS_CONTROL_DOWN 111
#define NX_SUBTYPE_STICKYKEYS_ALTERNATE_DOWN 112
#define NX_SUBTYPE_STICKYKEYS_COMMAND_DOWN 113
#define NX_SUBTYPE_STICKYKEYS_FN_DOWN 114
#define NX_SUBTYPE_STICKYKEYS_SHIFT_LOCK 120
#define NX_SUBTYPE_STICKYKEYS_CONTROL_LOCK 121
#define NX_SUBTYPE_STICKYKEYS_ALTERNATE_LOCK 122
#define NX_SUBTYPE_STICKYKEYS_COMMAND_LOCK 123
#define NX_SUBTYPE_STICKYKEYS_FN_LOCK 124
#define NX_SUBTYPE_STICKYKEYS_SHIFT_UP 130
#define NX_SUBTYPE_STICKYKEYS_CONTROL_UP 131
#define NX_SUBTYPE_STICKYKEYS_ALTERNATE_UP 132
#define NX_SUBTYPE_STICKYKEYS_COMMAND_UP 133
#define NX_SUBTYPE_STICKYKEYS_FN_UP 134
#define NX_SUBTYPE_SLOWKEYS_START 200
#define NX_SUBTYPE_SLOWKEYS_ABORT 201
#define NX_SUBTYPE_SLOWKEYS_END 202
#define NX_SUBTYPE_HIDPARAMETER_MODIFIED 210
#define NX_ALPHASHIFTMASK 0x00010000
#define NX_SHIFTMASK 0x00020000
#define NX_CONTROLMASK 0x00040000
#define NX_ALTERNATEMASK 0x00080000
#define NX_COMMANDMASK 0x00100000
#define NX_NUMERICPADMASK 0x00200000
#define NX_HELPMASK 0x00400000
#define NX_SECONDARYFNMASK 0x00800000
#define NX_DEVICELCTLKEYMASK 0x00000001
#define NX_DEVICELSHIFTKEYMASK 0x00000002
#define NX_DEVICERSHIFTKEYMASK 0x00000004
#define NX_DEVICELCMDKEYMASK 0x00000008
#define NX_DEVICERCMDKEYMASK 0x00000010
#define NX_DEVICELALTKEYMASK 0x00000020
#define NX_DEVICERALTKEYMASK 0x00000040
#define NX_DEVICERCTLKEYMASK 0x00002000
#define NX_STYLUSPROXIMITYMASK 0x00000080
#define NX_NONCOALSESCEDMASK 0x00000100
# 277 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define NX_ASCIISET 0
#define NX_SYMBOLSET 1
#define NX_DINGBATSSET 2
# 297 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define NX_TABLET_BUTTON_PENTIPMASK 0x0001
#define NX_TABLET_BUTTON_PENLOWERSIDEMASK 0x0002
#define NX_TABLET_BUTTON_PENUPPERSIDEMASK 0x0004
# 308 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define NX_TABLET_CAPABILITY_DEVICEIDMASK 0x0001
#define NX_TABLET_CAPABILITY_ABSXMASK 0x0002
#define NX_TABLET_CAPABILITY_ABSYMASK 0x0004
#define NX_TABLET_CAPABILITY_VENDOR1MASK 0x0008
#define NX_TABLET_CAPABILITY_VENDOR2MASK 0x0010
#define NX_TABLET_CAPABILITY_VENDOR3MASK 0x0020
#define NX_TABLET_CAPABILITY_BUTTONSMASK 0x0040
#define NX_TABLET_CAPABILITY_TILTXMASK 0x0080
#define NX_TABLET_CAPABILITY_TILTYMASK 0x0100
#define NX_TABLET_CAPABILITY_ABSZMASK 0x0200
#define NX_TABLET_CAPABILITY_PRESSUREMASK 0x0400
#define NX_TABLET_CAPABILITY_TANGENTIALPRESSUREMASK 0x0800
#define NX_TABLET_CAPABILITY_ORIENTINFOMASK 0x1000
#define NX_TABLET_CAPABILITY_ROTATIONMASK 0x2000
#define NX_TABLET_POINTER_UNKNOWN 0
#define NX_TABLET_POINTER_PEN 1
#define NX_TABLET_POINTER_CURSOR 2
#define NX_TABLET_POINTER_ERASER 3
typedef struct _NXTabletPointData {
SInt32 x;
SInt32 y;
SInt32 z;
UInt16 buttons;
UInt16 pressure;
struct {
SInt16 x;
SInt16 y;
} tilt;
UInt16 rotation;
SInt16 tangentialPressure;
UInt16 deviceID;
SInt16 vendor1;
SInt16 vendor2;
SInt16 vendor3;
} NXTabletPointData, *NXTabletPointDataPtr;
typedef struct _NXTabletProximityData {
UInt16 vendorID;
UInt16 tabletID;
UInt16 pointerID;
UInt16 deviceID;
UInt16 systemTabletID;
UInt16 vendorPointerType;
UInt32 pointerSerialNumber;
UInt64 uniqueID;
UInt32 capabilityMask;
UInt8 pointerType;
UInt8 enterProximity;
SInt16 reserved1;
} NXTabletProximityData, *NXTabletProximityDataPtr;
typedef union {
struct {
UInt8 subx;
UInt8 suby;
SInt16 eventNum;
SInt32 click;
UInt8 pressure;
UInt8 buttonNumber;
UInt8 subType;
UInt8 reserved2;
SInt32 reserved3;
union {
NXTabletPointData point;
NXTabletProximityData proximity;
} tablet;
} mouse;
struct {
SInt32 dx;
SInt32 dy;
UInt8 subx;
UInt8 suby;
UInt8 subType;
UInt8 reserved1;
SInt32 reserved2;
union {
NXTabletPointData point;
NXTabletProximityData proximity;
} tablet;
} mouseMove;
struct {
UInt16 origCharSet;
SInt16 repeat;
UInt16 charSet;
UInt16 charCode;
UInt16 keyCode;
UInt16 origCharCode;
SInt32 reserved1;
UInt32 keyboardType;
SInt32 reserved2;
SInt32 reserved3;
SInt32 reserved4;
SInt32 reserved5[4];
} key;
struct {
SInt16 reserved;
SInt16 eventNum;
SInt32 trackingNum;
SInt32 userData;
SInt32 reserved1;
SInt32 reserved2;
SInt32 reserved3;
SInt32 reserved4;
SInt32 reserved5;
SInt32 reserved6[4];
} tracking;
struct {
SInt16 deltaAxis1;
SInt16 deltaAxis2;
SInt16 deltaAxis3;
SInt16 reserved1;
SInt32 fixedDeltaAxis1;
SInt32 fixedDeltaAxis2;
SInt32 fixedDeltaAxis3;
SInt32 pointDeltaAxis1;
SInt32 pointDeltaAxis2;
SInt32 pointDeltaAxis3;
SInt32 reserved8[4];
} scrollWheel, zoom;
struct {
SInt16 reserved;
SInt16 subType;
union {
float F[11];
SInt32 L[11];
SInt16 S[22];
char C[44];
} misc;
} compound;
struct {
SInt32 x;
SInt32 y;
SInt32 z;
UInt16 buttons;
UInt16 pressure;
struct {
SInt16 x;
SInt16 y;
} tilt;
UInt16 rotation;
SInt16 tangentialPressure;
UInt16 deviceID;
SInt16 vendor1;
SInt16 vendor2;
SInt16 vendor3;
SInt32 reserved[4];
} tablet;
struct {
UInt16 vendorID;
UInt16 tabletID;
UInt16 pointerID;
UInt16 deviceID;
UInt16 systemTabletID;
UInt16 vendorPointerType;
UInt32 pointerSerialNumber;
UInt64 uniqueID;
UInt32 capabilityMask;
UInt8 pointerType;
UInt8 enterProximity;
SInt16 reserved1;
SInt32 reserved2[4];
} proximity;
} NXEventData;
#define kNXEventDataVersion 2
typedef struct _NXEvent {
SInt32 type;
struct {
SInt32 x, y;
} location;
UInt64 time;
SInt32 flags;
UInt32 window;
UInt64 service_id;
SInt32 ext_pid;
NXEventData data;
} NXEvent, *NXEventPtr;
# 526 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define kNXEventVersion 2
#define NX_NOWINDOW -1
#define NX_BYTYPE 0
#define NX_BROADCAST 1
#define NX_TOPWINDOW 2
#define NX_FIRSTWINDOW 3
#define NX_MOUSEWINDOW 4
#define NX_NEXTWINDOW 5
#define NX_LASTLEFT 6
#define NX_LASTRIGHT 7
#define NX_LASTKEY 8
#define NX_EXPLICIT 9
#define NX_TRANSMIT 10
#define NX_BYPSCONTEXT 11
#define NX_UNDIMMASK (NX_KEYDOWNMASK | NX_KEYUPMASK | NX_LMOUSEDOWNMASK | NX_LMOUSEUPMASK | NX_RMOUSEDOWNMASK | NX_RMOUSEUPMASK | NX_MOUSEMOVEDMASK | NX_FLAGSCHANGEDMASK | NX_MOUSEENTEREDMASK | NX_MOUSEEXITEDMASK | NX_LMOUSEDRAGGEDMASK | NX_RMOUSEDRAGGEDMASK | NX_SCROLLWHEELMOVEDMASK | NX_TABLETPOINTERMASK | NX_TABLETPROXIMITYMASK | NX_NULLEVENTMASK)
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 2 3
typedef struct __CGEvent *CGEventRef;
enum _CGMouseButton
{
kCGMouseButtonLeft = 0,
kCGMouseButtonRight = 1,
kCGMouseButtonCenter = 2
};
typedef uint32_t CGMouseButton;
enum {
kCGScrollEventUnitPixel = 0,
kCGScrollEventUnitLine = 1,
};
typedef uint32_t CGScrollEventUnit;
enum _CGEventFlags
{
kCGEventFlagMaskAlphaShift = 0x00010000,
kCGEventFlagMaskShift = 0x00020000,
kCGEventFlagMaskControl = 0x00040000,
kCGEventFlagMaskAlternate = 0x00080000,
kCGEventFlagMaskCommand = 0x00100000,
kCGEventFlagMaskHelp = 0x00400000,
kCGEventFlagMaskSecondaryFn = 0x00800000,
kCGEventFlagMaskNumericPad = 0x00200000,
kCGEventFlagMaskNonCoalesced = 0x00000100
};
typedef uint64_t CGEventFlags;
# 85 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
enum _CGEventType {
kCGEventNull = 0,
kCGEventLeftMouseDown = 1,
kCGEventLeftMouseUp = 2,
kCGEventRightMouseDown = 3,
kCGEventRightMouseUp = 4,
kCGEventMouseMoved = 5,
kCGEventLeftMouseDragged = 6,
kCGEventRightMouseDragged = 7,
kCGEventKeyDown = 10,
kCGEventKeyUp = 11,
kCGEventFlagsChanged = 12,
kCGEventScrollWheel = 22,
kCGEventTabletPointer = 23,
kCGEventTabletProximity = 24,
kCGEventOtherMouseDown = 25,
kCGEventOtherMouseUp = 26,
kCGEventOtherMouseDragged = 27,
kCGEventTapDisabledByTimeout = 0xFFFFFFFE,
kCGEventTapDisabledByUserInput = 0xFFFFFFFF
};
typedef uint32_t CGEventType;
typedef uint64_t CGEventTimestamp;
enum _CGEventField {
kCGMouseEventNumber = 0,
kCGMouseEventClickState = 1,
kCGMouseEventPressure = 2,
kCGMouseEventButtonNumber = 3,
kCGMouseEventDeltaX = 4,
kCGMouseEventDeltaY = 5,
kCGMouseEventInstantMouser = 6,
kCGMouseEventSubtype = 7,
# 161 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
kCGKeyboardEventAutorepeat = 8,
kCGKeyboardEventKeycode = 9,
kCGKeyboardEventKeyboardType = 10,
kCGScrollWheelEventDeltaAxis1 = 11,
kCGScrollWheelEventDeltaAxis2 = 12,
kCGScrollWheelEventDeltaAxis3 = 13,
kCGScrollWheelEventFixedPtDeltaAxis1 = 93,
kCGScrollWheelEventFixedPtDeltaAxis2 = 94,
kCGScrollWheelEventFixedPtDeltaAxis3 = 95,
kCGScrollWheelEventPointDeltaAxis1 = 96,
kCGScrollWheelEventPointDeltaAxis2 = 97,
kCGScrollWheelEventPointDeltaAxis3 = 98,
kCGScrollWheelEventInstantMouser = 14,
# 197 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
kCGTabletEventPointX = 15,
kCGTabletEventPointY = 16,
kCGTabletEventPointZ = 17,
kCGTabletEventPointButtons = 18,
kCGTabletEventPointPressure = 19,
kCGTabletEventTiltX = 20,
kCGTabletEventTiltY = 21,
kCGTabletEventRotation = 22,
kCGTabletEventTangentialPressure = 23,
kCGTabletEventDeviceID = 24,
kCGTabletEventVendor1 = 25,
kCGTabletEventVendor2 = 26,
kCGTabletEventVendor3 = 27,
# 232 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
kCGTabletProximityEventVendorID = 28,
kCGTabletProximityEventTabletID = 29,
kCGTabletProximityEventPointerID = 30,
kCGTabletProximityEventDeviceID = 31,
kCGTabletProximityEventSystemTabletID = 32,
kCGTabletProximityEventVendorPointerType = 33,
kCGTabletProximityEventVendorPointerSerialNumber = 34,
kCGTabletProximityEventVendorUniqueID = 35,
kCGTabletProximityEventCapabilityMask = 36,
kCGTabletProximityEventPointerType = 37,
kCGTabletProximityEventEnterProximity = 38,
kCGEventTargetProcessSerialNumber = 39,
kCGEventTargetUnixProcessID = 40,
kCGEventSourceUnixProcessID = 41,
kCGEventSourceUserData = 42,
kCGEventSourceUserID = 43,
kCGEventSourceGroupID = 44,
kCGEventSourceStateID = 45,
kCGScrollWheelEventIsContinuous = 88
};
typedef uint32_t CGEventField;
enum _CGEventMouseSubtype {
kCGEventMouseSubtypeDefault = 0,
kCGEventMouseSubtypeTabletPoint = 1,
kCGEventMouseSubtypeTabletProximity = 2
};
typedef uint32_t CGEventMouseSubtype;
# 338 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
enum _CGEventTapLocation {
kCGHIDEventTap = 0,
kCGSessionEventTap,
kCGAnnotatedSessionEventTap
};
typedef uint32_t CGEventTapLocation;
enum _CGEventTapPlacement {
kCGHeadInsertEventTap = 0,
kCGTailAppendEventTap
};
typedef uint32_t CGEventTapPlacement;
# 365 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
enum _CGEventTapOptions {
kCGEventTapOptionDefault = 0x00000000,
kCGEventTapOptionListenOnly = 0x00000001
};
typedef uint32_t CGEventTapOptions;
typedef uint64_t CGEventMask;
#define CGEventMaskBit(eventType) ((CGEventMask)1 << (eventType))
#define kCGEventMaskForAllEvents (~(CGEventMask)0)
typedef struct __CGEventTapProxy * CGEventTapProxy;
# 391 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
typedef CGEventRef (*CGEventTapCallBack)(CGEventTapProxy proxy, CGEventType type, CGEventRef event, void *refcon);
#define kCGNotifyEventTapAdded "com.apple.coregraphics.eventTapAdded"
#define kCGNotifyEventTapRemoved "com.apple.coregraphics.eventTapRemoved"
typedef struct CGEventTapInformation
{
uint32_t eventTapID;
CGEventTapLocation tapPoint;
CGEventTapOptions options;
CGEventMask eventsOfInterest;
pid_t tappingProcess;
pid_t processBeingTapped;
_Bool enabled;
float minUsecLatency;
float avgUsecLatency;
float maxUsecLatency;
} CGEventTapInformation;
# 426 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
typedef struct __CGEventSource * CGEventSourceRef;
typedef uint32_t CGEventSourceStateID;
enum {
kCGEventSourceStatePrivate = -1,
kCGEventSourceStateCombinedSessionState = 0,
kCGEventSourceStateHIDSystemState = 1
};
typedef uint32_t CGEventSourceKeyboardType;
#define kCGAnyInputEventType ((CGEventType)(~0))
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 2 3
extern CFTypeID CGEventSourceGetTypeID(void) ;
# 75 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern CGEventSourceRef CGEventSourceCreate(CGEventSourceStateID sourceState) ;
extern CGEventSourceKeyboardType CGEventSourceGetKeyboardType(CGEventSourceRef source) ;
extern void CGEventSourceSetKeyboardType(CGEventSourceRef source, CGEventSourceKeyboardType keyboardType) ;
# 92 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern void CGEventSourceSetPixelsPerLine( CGEventSourceRef source, double pixelsPerLine );
extern double CGEventSourceGetPixelsPerLine( CGEventSourceRef source );
# 112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern CGEventSourceStateID CGEventSourceGetSourceStateID(CGEventSourceRef source) ;
extern _Bool CGEventSourceButtonState( CGEventSourceStateID sourceState, CGMouseButton button ) ;
extern _Bool CGEventSourceKeyState( CGEventSourceStateID sourceState, CGKeyCode key ) ;
extern CGEventFlags CGEventSourceFlagsState( CGEventSourceStateID sourceState ) ;
# 136 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern CFTimeInterval CGEventSourceSecondsSinceLastEventType( CGEventSourceStateID source, CGEventType eventType ) ;
# 163 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern uint32_t CGEventSourceCounterForEventType(CGEventSourceStateID source, CGEventType evType) ;
# 172 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern void CGEventSourceSetUserData(CGEventSourceRef source, int64_t userData) ;
extern int64_t CGEventSourceGetUserData(CGEventSourceRef source) ;
# 215 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern void CGEventSourceSetLocalEventsFilterDuringSuppressionState(CGEventSourceRef source,
CGEventFilterMask filter,
CGEventSuppressionState state);
extern CGEventFilterMask CGEventSourceGetLocalEventsFilterDuringSuppressionState(CGEventSourceRef source,
CGEventSuppressionState state);
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern void CGEventSourceSetLocalEventsSuppressionInterval(CGEventSourceRef source, CFTimeInterval seconds);
extern CFTimeInterval CGEventSourceGetLocalEventsSuppressionInterval(CGEventSourceRef source);
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 1 3
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
extern CFTypeID CGEventGetTypeID(void) ;
extern CGEventRef CGEventCreate(CGEventSourceRef source) ;
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGEventRef CGEventCreateFromData(CFAllocatorRef allocator, CFDataRef eventData) ;
extern CFDataRef CGEventCreateData(CFAllocatorRef allocator, CGEventRef event) ;
# 63 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGEventRef CGEventCreateMouseEvent( CGEventSourceRef source,
CGEventType mouseType,
CGPoint mouseCursorPosition,
CGMouseButton mouseButton) ;
# 85 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGEventRef CGEventCreateKeyboardEvent( CGEventSourceRef source,
CGKeyCode virtualKey,
_Bool keyDown ) ;
# 106 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGEventRef CGEventCreateScrollWheelEvent (CGEventSourceRef source,
CGScrollEventUnit units,
CGWheelCount wheelCount,
int32_t wheel1,
... ) ;
extern CGEventRef CGEventCreateCopy(CGEventRef event) ;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGEventSourceRef CGEventCreateSourceFromEvent(CGEventRef event) ;
extern void CGEventSetSource(CGEventRef event, CGEventSourceRef source) ;
extern CGEventType CGEventGetType(CGEventRef event) ;
extern void CGEventSetType(CGEventRef event, CGEventType type) ;
extern CGEventTimestamp CGEventGetTimestamp(CGEventRef event) ;
extern void CGEventSetTimestamp(CGEventRef event, CGEventTimestamp timestamp) ;
extern CGPoint CGEventGetLocation(CGEventRef event) ;
extern CGPoint CGEventGetUnflippedLocation(CGEventRef event) ;
extern void CGEventSetLocation(CGEventRef event, CGPoint location) ;
extern CGEventFlags CGEventGetFlags(CGEventRef event) ;
extern void CGEventSetFlags(CGEventRef event, CGEventFlags flags) ;
# 159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern void CGEventKeyboardGetUnicodeString(CGEventRef event,
UniCharCount maxStringLength,
UniCharCount * actualStringLength,
UniChar unicodeString[]) ;
extern void CGEventKeyboardSetUnicodeString(CGEventRef event,
UniCharCount stringLength,
const UniChar unicodeString[]) ;
# 189 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern int64_t CGEventGetIntegerValueField(CGEventRef event, CGEventField field) ;
extern double CGEventGetDoubleValueField(CGEventRef event, CGEventField field) ;
# 205 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern void CGEventSetIntegerValueField(CGEventRef event, CGEventField field, int64_t value) ;
extern void CGEventSetDoubleValueField(CGEventRef event, CGEventField field, double value) ;
# 259 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CFMachPortRef CGEventTapCreate(CGEventTapLocation tap,
CGEventTapPlacement place,
CGEventTapOptions options,
CGEventMask eventsOfInterest,
CGEventTapCallBack callback,
void * refcon ) ;
# 273 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CFMachPortRef CGEventTapCreateForPSN(void *processSerialNumber,
CGEventTapPlacement place,
CGEventTapOptions options,
CGEventMask eventsOfInterest,
CGEventTapCallBack callback,
void * refcon ) ;
# 290 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern void CGEventTapEnable(CFMachPortRef myTap, _Bool enable) ;
extern _Bool CGEventTapIsEnabled(CFMachPortRef myTap) ;
# 308 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern void CGEventTapPostEvent( CGEventTapProxy proxy,
CGEventRef event ) ;
# 325 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern void CGEventPost( CGEventTapLocation tap,
CGEventRef event ) ;
extern void CGEventPostToPSN( void *processSerialNumber,
CGEventRef event ) ;
# 346 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGError CGGetEventTapList( CGTableCount maxNumberOfTaps,
CGEventTapInformation tapList[],
CGTableCount *eventTapCount ) ;
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 1 3
# 27 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 1 3
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 1 3
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFunction.h" 1 3
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 31 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGLContext.h" 1 3
#define CGGLCONTEXT_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGLContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGLContext.h" 2 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGLContext.h" 3
extern CGContextRef CGGLContextCreate(void *glContext, CGSize size, CGColorSpaceRef colorspace) ;
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGLContext.h" 3
extern void CGGLContextUpdateViewportSize(CGContextRef c, CGSize size) ;
# 32 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 1 3
# 33 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 1 3
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGLayer.h" 1 3
#define CGLAYER_H_
typedef struct CGLayer *CGLayerRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGLayer.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGLayer.h" 2 3
extern CGLayerRef CGLayerCreateWithContext(CGContextRef context, CGSize size, CFDictionaryRef auxiliaryInfo) ;
extern CGLayerRef CGLayerRetain(CGLayerRef layer) ;
extern void CGLayerRelease(CGLayerRef layer) ;
extern CGSize CGLayerGetSize(CGLayerRef layer) ;
extern CGContextRef CGLayerGetContext(CGLayerRef layer) ;
extern void CGContextDrawLayerInRect(CGContextRef context, CGRect rect, CGLayerRef layer) ;
extern void CGContextDrawLayerAtPoint(CGContextRef context, CGPoint point, CGLayerRef layer) ;
extern CFTypeID CGLayerGetTypeID(void) ;
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 1 3
# 36 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h" 1 3
#define CGPDFCONTENTSTREAM_H_
typedef struct CGPDFContentStream *CGPDFContentStreamRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h" 2 3
extern CGPDFContentStreamRef CGPDFContentStreamCreateWithPage(CGPDFPageRef page) ;
extern CGPDFContentStreamRef CGPDFContentStreamCreateWithStream(CGPDFStreamRef stream, CGPDFDictionaryRef streamResources, CGPDFContentStreamRef parent) ;
extern CGPDFContentStreamRef CGPDFContentStreamRetain(CGPDFContentStreamRef cs) ;
extern void CGPDFContentStreamRelease(CGPDFContentStreamRef cs) ;
extern CFArrayRef CGPDFContentStreamGetStreams(CGPDFContentStreamRef cs) ;
extern CGPDFObjectRef CGPDFContentStreamGetResource(CGPDFContentStreamRef cs, const char *category, const char *name) ;
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 1 3
#define CGPDFCONTEXT_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 2 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern CGContextRef CGPDFContextCreate(CGDataConsumerRef consumer, const CGRect *mediaBox, CFDictionaryRef auxiliaryInfo);
extern CGContextRef CGPDFContextCreateWithURL(CFURLRef url, const CGRect *mediaBox, CFDictionaryRef auxiliaryInfo);
extern void CGPDFContextClose(CGContextRef context) ;
extern void CGPDFContextBeginPage(CGContextRef context, CFDictionaryRef pageInfo) ;
extern void CGPDFContextEndPage(CGContextRef context) ;
extern void CGPDFContextSetURLForRect(CGContextRef context, CFURLRef url, CGRect rect) ;
extern void CGPDFContextAddDestinationAtPoint(CGContextRef context, CFStringRef name, CGPoint point) ;
extern void CGPDFContextSetDestinationForRect(CGContextRef context, CFStringRef name, CGRect rect) ;
extern const CFStringRef kCGPDFContextMediaBox ;
extern const CFStringRef kCGPDFContextCropBox ;
extern const CFStringRef kCGPDFContextBleedBox ;
extern const CFStringRef kCGPDFContextTrimBox ;
extern const CFStringRef kCGPDFContextArtBox ;
extern const CFStringRef kCGPDFContextTitle ;
extern const CFStringRef kCGPDFContextAuthor ;
extern const CFStringRef kCGPDFContextSubject ;
# 121 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextKeywords ;
extern const CFStringRef kCGPDFContextCreator ;
# 139 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextOwnerPassword ;
# 150 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextUserPassword ;
# 159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextEncryptionKeyLength ;
extern const CFStringRef kCGPDFContextAllowsPrinting ;
extern const CFStringRef kCGPDFContextAllowsCopying ;
# 180 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextOutputIntent ;
extern const CFStringRef kCGPDFXOutputIntentSubtype ;
extern const CFStringRef kCGPDFXOutputConditionIdentifier ;
extern const CFStringRef kCGPDFXOutputCondition ;
extern const CFStringRef kCGPDFXRegistryName ;
# 220 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFXInfo ;
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFXDestinationOutputProfile ;
# 241 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextOutputIntents ;
# 38 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 1 3
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 1 3
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h" 1 3
# 41 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h" 1 3
#define CGPDFOPERATORTABLE_H_
typedef struct CGPDFOperatorTable *CGPDFOperatorTableRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h" 1 3
#define CGPDFSCANNER_H_
typedef struct CGPDFScanner *CGPDFScannerRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h" 2 3
extern CGPDFScannerRef CGPDFScannerCreate(CGPDFContentStreamRef cs, CGPDFOperatorTableRef table, void *info) ;
extern CGPDFScannerRef CGPDFScannerRetain(CGPDFScannerRef scanner) ;
extern void CGPDFScannerRelease(CGPDFScannerRef scanner) ;
extern _Bool CGPDFScannerScan(CGPDFScannerRef scanner) ;
extern CGPDFContentStreamRef CGPDFScannerGetContentStream(CGPDFScannerRef scanner) ;
extern _Bool CGPDFScannerPopObject(CGPDFScannerRef scanner, CGPDFObjectRef *value) ;
extern _Bool CGPDFScannerPopBoolean(CGPDFScannerRef scanner, CGPDFBoolean *value) ;
extern _Bool CGPDFScannerPopInteger(CGPDFScannerRef scanner, CGPDFInteger *value) ;
extern _Bool CGPDFScannerPopNumber(CGPDFScannerRef scanner, CGPDFReal *value) ;
extern _Bool CGPDFScannerPopName(CGPDFScannerRef scanner, const char **value) ;
extern _Bool CGPDFScannerPopString(CGPDFScannerRef scanner, CGPDFStringRef *value) ;
extern _Bool CGPDFScannerPopArray(CGPDFScannerRef scanner, CGPDFArrayRef *value) ;
extern _Bool CGPDFScannerPopDictionary(CGPDFScannerRef scanner, CGPDFDictionaryRef *value) ;
extern _Bool CGPDFScannerPopStream(CGPDFScannerRef scanner, CGPDFStreamRef *value) ;
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h" 2 3
typedef void (*CGPDFOperatorCallback)(CGPDFScannerRef scanner, void *info);
extern CGPDFOperatorTableRef CGPDFOperatorTableCreate(void) ;
extern CGPDFOperatorTableRef CGPDFOperatorTableRetain(CGPDFOperatorTableRef table) ;
extern void CGPDFOperatorTableRelease(CGPDFOperatorTableRef table) ;
extern void CGPDFOperatorTableSetCallback(CGPDFOperatorTableRef table, const char *name, CGPDFOperatorCallback callback) ;
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 1 3
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h" 1 3
# 44 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 1 3
# 45 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h" 1 3
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPSConverter.h" 1 3
#define CGPSCONVERTER_H_
typedef struct CGPSConverter *CGPSConverterRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPSConverter.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPSConverter.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPSConverter.h" 2 3
# 44 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPSConverter.h" 3
typedef void (*CGPSConverterBeginDocumentCallback)(void *info);
typedef void (*CGPSConverterEndDocumentCallback)(void *info, _Bool success);
typedef void (*CGPSConverterBeginPageCallback)(void *info, size_t pageNumber,
CFDictionaryRef pageInfo);
typedef void (*CGPSConverterEndPageCallback)(void *info, size_t pageNumber,
CFDictionaryRef pageInfo);
typedef void (*CGPSConverterProgressCallback)(void *info);
typedef void (*CGPSConverterMessageCallback)(void *info, CFStringRef message);
typedef void (*CGPSConverterReleaseInfoCallback)(void *info);
struct CGPSConverterCallbacks {
unsigned int version;
CGPSConverterBeginDocumentCallback beginDocument;
CGPSConverterEndDocumentCallback endDocument;
CGPSConverterBeginPageCallback beginPage;
CGPSConverterEndPageCallback endPage;
CGPSConverterProgressCallback noteProgress;
CGPSConverterMessageCallback noteMessage;
CGPSConverterReleaseInfoCallback releaseInfo;
};
typedef struct CGPSConverterCallbacks CGPSConverterCallbacks;
extern CGPSConverterRef CGPSConverterCreate(void *info,
const CGPSConverterCallbacks *callbacks, CFDictionaryRef options)
;
extern _Bool CGPSConverterConvert(CGPSConverterRef converter,
CGDataProviderRef provider, CGDataConsumerRef consumer,
CFDictionaryRef options) ;
extern _Bool CGPSConverterAbort(CGPSConverterRef converter)
;
extern _Bool CGPSConverterIsConverting(CGPSConverterRef converter)
;
extern CFTypeID CGPSConverterGetTypeID(void)
;
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 1 3
# 48 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 1 3
# 49 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 1 3
# 50 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGSession.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGSession.h" 3
#define __CGSESSION_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGSession.h" 2 3
extern CFDictionaryRef CGSessionCopyCurrentDictionary(void) ;
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGSession.h" 3
#define kCGSessionUserIDKey CFSTR("kCGSSessionUserIDKey")
#define kCGSessionUserNameKey CFSTR("kCGSSessionUserNameKey")
#define kCGSessionConsoleSetKey CFSTR("kCGSSessionConsoleSetKey")
#define kCGSessionOnConsoleKey CFSTR("kCGSSessionOnConsoleKey")
#define kCGSessionLoginDoneKey CFSTR("kCGSessionLoginDoneKey")
#define kCGNotifyGUIConsoleSessionChanged "com.apple.coregraphics.GUIConsoleSessionChanged"
#define kCGNotifyGUISessionUserChanged "com.apple.coregraphics.GUISessionUserChanged"
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 1 3
# 52 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindowLevel.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindowLevel.h" 3
#define __CGWINDOWLEVEL_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindowLevel.h" 2 3
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindowLevel.h" 3
typedef int32_t CGWindowLevel;
typedef int32_t CGWindowLevelKey;
enum _CGCommonWindowLevelKey {
kCGBaseWindowLevelKey = 0,
kCGMinimumWindowLevelKey,
kCGDesktopWindowLevelKey,
kCGBackstopMenuLevelKey,
kCGNormalWindowLevelKey,
kCGFloatingWindowLevelKey,
kCGTornOffMenuWindowLevelKey,
kCGDockWindowLevelKey,
kCGMainMenuWindowLevelKey,
kCGStatusWindowLevelKey,
kCGModalPanelWindowLevelKey,
kCGPopUpMenuWindowLevelKey,
kCGDraggingWindowLevelKey,
kCGScreenSaverWindowLevelKey,
kCGMaximumWindowLevelKey,
kCGOverlayWindowLevelKey,
kCGHelpWindowLevelKey,
kCGUtilityWindowLevelKey,
kCGDesktopIconWindowLevelKey,
kCGCursorWindowLevelKey,
kCGAssistiveTechHighWindowLevelKey,
kCGNumberOfWindowLevelKeys
};
extern CGWindowLevel CGWindowLevelForKey( CGWindowLevelKey key ) ;
#define kCGNumReservedWindowLevels (16)
#define kCGBaseWindowLevel CGWindowLevelForKey(kCGBaseWindowLevelKey)
#define kCGMinimumWindowLevel CGWindowLevelForKey(kCGMinimumWindowLevelKey)
#define kCGDesktopWindowLevel CGWindowLevelForKey(kCGDesktopWindowLevelKey)
#define kCGDesktopIconWindowLevel CGWindowLevelForKey(kCGDesktopIconWindowLevelKey)
#define kCGBackstopMenuLevel CGWindowLevelForKey(kCGBackstopMenuLevelKey)
#define kCGNormalWindowLevel CGWindowLevelForKey(kCGNormalWindowLevelKey)
#define kCGFloatingWindowLevel CGWindowLevelForKey(kCGFloatingWindowLevelKey)
#define kCGTornOffMenuWindowLevel CGWindowLevelForKey(kCGTornOffMenuWindowLevelKey)
#define kCGDockWindowLevel CGWindowLevelForKey(kCGDockWindowLevelKey)
#define kCGMainMenuWindowLevel CGWindowLevelForKey(kCGMainMenuWindowLevelKey)
#define kCGStatusWindowLevel CGWindowLevelForKey(kCGStatusWindowLevelKey)
#define kCGModalPanelWindowLevel CGWindowLevelForKey(kCGModalPanelWindowLevelKey)
#define kCGPopUpMenuWindowLevel CGWindowLevelForKey(kCGPopUpMenuWindowLevelKey)
#define kCGDraggingWindowLevel CGWindowLevelForKey(kCGDraggingWindowLevelKey)
#define kCGScreenSaverWindowLevel CGWindowLevelForKey(kCGScreenSaverWindowLevelKey)
#define kCGCursorWindowLevel CGWindowLevelForKey(kCGCursorWindowLevelKey)
#define kCGOverlayWindowLevel CGWindowLevelForKey(kCGOverlayWindowLevelKey)
#define kCGHelpWindowLevel CGWindowLevelForKey(kCGHelpWindowLevelKey)
#define kCGUtilityWindowLevel CGWindowLevelForKey(kCGUtilityWindowLevelKey)
#define kCGAssistiveTechHighWindowLevel CGWindowLevelForKey(kCGAssistiveTechHighWindowLevelKey)
#define kCGMaximumWindowLevel CGWindowLevelForKey(kCGMaximumWindowLevelKey)
# 53 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 1 3
#define CGWINDOW_H_
typedef uint32_t CGWindowID;
typedef uint32_t CGWindowListOption;
typedef uint32_t CGWindowImageOption;
typedef uint32_t CGWindowSharingType;
typedef uint32_t CGWindowBackingType;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 1 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 2 3
#define kCGWindowIDCFNumberType kCFNumberSInt32Type
#define kCGNullWindowID ((CGWindowID)0)
enum {
kCGWindowSharingNone = 0,
kCGWindowSharingReadOnly = 1,
kCGWindowSharingReadWrite = 2
};
#define kCGWindowSharingCFNumberType kCFNumberSInt32Type
enum {
kCGBackingStoreRetained = 0,
kCGBackingStoreNonretained = 1,
kCGBackingStoreBuffered = 2
};
#define kCGWindowBackingCFNumberType kCFNumberSInt32Type
extern const CFStringRef kCGWindowNumber ;
extern const CFStringRef kCGWindowStoreType ;
extern const CFStringRef kCGWindowLayer ;
extern const CFStringRef kCGWindowBounds ;
extern const CFStringRef kCGWindowSharingState ;
extern const CFStringRef kCGWindowAlpha ;
extern const CFStringRef kCGWindowOwnerPID ;
extern const CFStringRef kCGWindowMemoryUsage ;
extern const CFStringRef kCGWindowWorkspace ;
extern const CFStringRef kCGWindowOwnerName ;
extern const CFStringRef kCGWindowName ;
extern const CFStringRef kCGWindowIsOnscreen ;
extern const CFStringRef kCGWindowBackingLocationVideoMemory ;
enum
{
kCGWindowListOptionAll = 0,
kCGWindowListOptionOnScreenOnly = (1 << 0),
kCGWindowListOptionOnScreenAboveWindow = (1 << 1),
kCGWindowListOptionOnScreenBelowWindow = (1 << 2),
kCGWindowListOptionIncludingWindow = (1 << 3),
kCGWindowListExcludeDesktopElements = (1 << 4)
};
extern CFArrayRef CGWindowListCopyWindowInfo( CGWindowListOption option, CGWindowID relativeToWindow ) ;
extern CFArrayRef CGWindowListCreate( CGWindowListOption option, CGWindowID relativeToWindow ) ;
# 171 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 3
extern CFArrayRef CGWindowListCreateDescriptionFromArray(CFArrayRef windowArray) ;
# 223 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 3
enum {
kCGWindowImageDefault = 0,
kCGWindowImageBoundsIgnoreFraming = (1 << 0),
kCGWindowImageShouldBeOpaque = (1 << 1),
kCGWindowImageOnlyShadows = (1 << 2)
};
extern CGImageRef CGWindowListCreateImage( CGRect screenBounds,
CGWindowListOption windowOption, CGWindowID windowID,
CGWindowImageOption imageOption ) ;
# 269 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 3
extern CGImageRef CGWindowListCreateImageFromArray( CGRect screenBounds,
CFArrayRef windowArray,
CGWindowImageOption imageOption ) ;
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 3
#define __COLORSYNC__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
#define __CMTYPES__
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 3
#define __CMBASE__
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 3
#define CSEXTERN __attribute__((visibility("default"))) extern
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 3
#define CSEXPORT __attribute__((visibility("default")))
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 2 3
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
typedef OSStatus CMError;
typedef struct OpaqueCMProfileRef* CMProfileRef;
typedef struct OpaqueCMProfileSearchRef* CMProfileSearchRef;
typedef struct OpaqueCMMatchRef* CMMatchRef;
typedef struct OpaqueCMWorldRef* CMWorldRef;
typedef UInt32 CMDisplayIDType;
typedef UInt32 CMChromaticAdaptation;
enum {
cmUseDefaultChromaticAdaptation = 0,
cmLinearChromaticAdaptation = 1,
cmVonKriesChromaticAdaptation = 2,
cmBradfordChromaticAdaptation = 3
};
typedef OSErr ( * CMFlattenProcPtr)(SInt32 command, long *size, void *data, void *refCon);
typedef CMFlattenProcPtr CMFlattenUPP;
# 87 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
static __inline__ __attribute__((always_inline)) CMFlattenUPP NewCMFlattenUPP(CMFlattenProcPtr userRoutine)
{ return (CMFlattenUPP)userRoutine; }
static __inline__ __attribute__((always_inline)) OSErr InvokeCMFlattenUPP(SInt32 command, long * size, void * data, void * refCon, CMFlattenUPP userUPP)
{ return (*((CMFlattenProcPtr)userUPP))(command, size, data, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMFlattenUPP(CMFlattenUPP userUPP)
{
#pragma unused (userUPP)
}
typedef Boolean ( * CMBitmapCallBackProcPtr)(SInt32 progress, void *refCon);
typedef CMBitmapCallBackProcPtr CMBitmapCallBackUPP;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
static __inline__ __attribute__((always_inline)) CMBitmapCallBackUPP NewCMBitmapCallBackUPP(CMBitmapCallBackProcPtr userRoutine)
{ return (CMBitmapCallBackUPP)userRoutine; }
static __inline__ __attribute__((always_inline)) Boolean InvokeCMBitmapCallBackUPP(SInt32 progress, void * refCon, CMBitmapCallBackUPP userUPP)
{ return (*((CMBitmapCallBackProcPtr)userUPP))(progress, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMBitmapCallBackUPP(CMBitmapCallBackUPP userUPP)
{
#pragma unused (userUPP)
}
typedef Boolean ( * CMConcatCallBackProcPtr)(SInt32 progress, void *refCon);
typedef CMConcatCallBackProcPtr CMConcatCallBackUPP;
# 163 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
static __inline__ __attribute__((always_inline)) CMConcatCallBackUPP NewCMConcatCallBackUPP(CMConcatCallBackProcPtr userRoutine)
{ return (CMConcatCallBackUPP)userRoutine; }
static __inline__ __attribute__((always_inline))
Boolean InvokeCMConcatCallBackUPP(SInt32 progress, void * refCon, CMConcatCallBackUPP userUPP)
{ return (*((CMConcatCallBackProcPtr)userUPP))(progress, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMConcatCallBackUPP(CMConcatCallBackUPP userUPP)
{
#pragma unused (userUPP)
}
typedef Boolean ( * CMProfileFilterProcPtr)(CMProfileRef prof, void *refCon);
typedef CMProfileFilterProcPtr CMProfileFilterUPP;
# 203 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
static __inline__ __attribute__((always_inline)) CMProfileFilterUPP NewCMProfileFilterUPP(CMProfileFilterProcPtr userRoutine)
{ return (CMProfileFilterUPP)userRoutine; }
static __inline__ __attribute__((always_inline)) Boolean InvokeCMProfileFilterUPP(CMProfileRef prof, void * refCon, CMProfileFilterUPP userUPP)
{ return (*((CMProfileFilterProcPtr)userUPP))(prof, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMProfileFilterUPP(CMProfileFilterUPP userUPP)
{
#pragma unused (userUPP)
}
typedef OSErr ( * CMProfileAccessProcPtr)(SInt32 command, SInt32 offset, SInt32 *size, void *data, void *refCon);
typedef CMProfileAccessProcPtr CMProfileAccessUPP;
# 243 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
static __inline__ __attribute__((always_inline)) CMProfileAccessUPP NewCMProfileAccessUPP(CMProfileAccessProcPtr userRoutine)
{ return (CMProfileAccessUPP)userRoutine; }
static __inline__ __attribute__((always_inline)) OSErr InvokeCMProfileAccessUPP(SInt32 command, SInt32 offset, SInt32 * size, void * data, void * refCon, CMProfileAccessUPP userUPP)
{ return (*((CMProfileAccessProcPtr)userUPP))(command, offset, size, data, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMProfileAccessUPP(CMProfileAccessUPP userUPP)
{
#pragma unused (userUPP)
}
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
#define __CMAPPLICATION__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
#define __CMICCPROFILE__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 2 3
#pragma pack(push, 2)
enum {
cmICCProfileVersion4 = 0x04000000,
cmICCProfileVersion2 = 0x02000000,
cmICCProfileVersion21 = 0x02100000,
cmCS2ProfileVersion = cmICCProfileVersion2,
cmCS1ProfileVersion = 0x00000100
};
enum {
cmProfileMajorVersionMask = (int)0xFF000000,
cmCurrentProfileMajorVersion = 0x02000000
};
enum {
cmMagicNumber = 'acsp'
};
enum {
cmICCReservedFlagsMask = 0x0000FFFF,
cmEmbeddedMask = 0x00000001,
cmEmbeddedUseMask = 0x00000002,
cmBlackPointCompensationMask = 0x00000004,
cmCMSReservedFlagsMask = (int)0xFFFF0000,
cmQualityMask = 0x00030000,
cmInterpolationMask = 0x00040000,
cmGamutCheckingMask = 0x00080000
};
enum {
cmEmbeddedProfile = 0,
cmEmbeddedUse = 1
};
enum {
cmNormalMode = 0,
cmDraftMode = 1,
cmBestMode = 2
};
enum {
cmBlackPointCompensation = 1
};
enum {
cmReflectiveTransparentMask = 0x00000001,
cmGlossyMatteMask = 0x00000002
};
enum {
cmReflective = 0,
cmGlossy = 1
};
enum {
cmPerceptual = 0,
cmRelativeColorimetric = 1,
cmSaturation = 2,
cmAbsoluteColorimetric = 3
};
enum {
cmAsciiData = 0,
cmBinaryData = 1
};
enum {
cmPrtrDefaultScreens = 0,
cmLinesPer = 1
};
enum {
cmNumHeaderElements = 10
};
enum {
cmAToB0Tag = 'A2B0',
cmAToB1Tag = 'A2B1',
cmAToB2Tag = 'A2B2',
cmBlueColorantTag = 'bXYZ',
cmBlueTRCTag = 'bTRC',
cmBToA0Tag = 'B2A0',
cmBToA1Tag = 'B2A1',
cmBToA2Tag = 'B2A2',
cmCalibrationDateTimeTag = 'calt',
cmChromaticAdaptationTag = 'chad',
cmCharTargetTag = 'targ',
cmCopyrightTag = 'cprt',
cmDeviceMfgDescTag = 'dmnd',
cmDeviceModelDescTag = 'dmdd',
cmGamutTag = 'gamt',
cmGrayTRCTag = 'kTRC',
cmGreenColorantTag = 'gXYZ',
cmGreenTRCTag = 'gTRC',
cmLuminanceTag = 'lumi',
cmMeasurementTag = 'meas',
cmMediaBlackPointTag = 'bkpt',
cmMediaWhitePointTag = 'wtpt',
cmNamedColorTag = 'ncol',
cmNamedColor2Tag = 'ncl2',
cmPreview0Tag = 'pre0',
cmPreview1Tag = 'pre1',
cmPreview2Tag = 'pre2',
cmProfileDescriptionTag = 'desc',
cmProfileSequenceDescTag = 'pseq',
cmPS2CRD0Tag = 'psd0',
cmPS2CRD1Tag = 'psd1',
cmPS2CRD2Tag = 'psd2',
cmPS2CRD3Tag = 'psd3',
cmPS2CSATag = 'ps2s',
cmPS2RenderingIntentTag = 'ps2i',
cmRedColorantTag = 'rXYZ',
cmRedTRCTag = 'rTRC',
cmScreeningDescTag = 'scrd',
cmScreeningTag = 'scrn',
cmTechnologyTag = 'tech',
cmUcrBgTag = 'bfd ',
cmViewingConditionsDescTag = 'vued',
cmViewingConditionsTag = 'view'
};
enum {
cmPS2CRDVMSizeTag = 'psvm',
cmVideoCardGammaTag = 'vcgt',
cmMakeAndModelTag = 'mmod',
cmProfileDescriptionMLTag = 'dscm',
cmNativeDisplayInfoTag = 'ndin'
};
enum {
cmSigCrdInfoType = 'crdi',
cmSigCurveType = 'curv',
cmSigDataType = 'data',
cmSigDateTimeType = 'dtim',
cmSigLut16Type = 'mft2',
cmSigLut8Type = 'mft1',
cmSigMeasurementType = 'meas',
cmSigMultiFunctA2BType = 'mAB ',
cmSigMultiFunctB2AType = 'mBA ',
cmSigNamedColorType = 'ncol',
cmSigNamedColor2Type = 'ncl2',
cmSigParametricCurveType = 'para',
cmSigProfileDescriptionType = 'desc',
cmSigProfileSequenceDescType = 'pseq',
cmSigScreeningType = 'scrn',
cmSigS15Fixed16Type = 'sf32',
cmSigSignatureType = 'sig ',
cmSigTextType = 'text',
cmSigU16Fixed16Type = 'uf32',
cmSigU1Fixed15Type = 'uf16',
cmSigUInt8Type = 'ui08',
cmSigUInt16Type = 'ui16',
cmSigUInt32Type = 'ui32',
cmSigUInt64Type = 'ui64',
cmSigUcrBgType = 'bfd ',
cmSigUnicodeTextType = 'utxt',
cmSigViewingConditionsType = 'view',
cmSigXYZType = 'XYZ '
};
enum {
cmSigPS2CRDVMSizeType = 'psvm',
cmSigVideoCardGammaType = 'vcgt',
cmSigMakeAndModelType = 'mmod',
cmSigNativeDisplayInfoType = 'ndin',
cmSigMultiLocalizedUniCodeType = 'mluc'
};
enum {
cmTechnologyDigitalCamera = 'dcam',
cmTechnologyFilmScanner = 'fscn',
cmTechnologyReflectiveScanner = 'rscn',
cmTechnologyInkJetPrinter = 'ijet',
cmTechnologyThermalWaxPrinter = 'twax',
cmTechnologyElectrophotographicPrinter = 'epho',
cmTechnologyElectrostaticPrinter = 'esta',
cmTechnologyDyeSublimationPrinter = 'dsub',
cmTechnologyPhotographicPaperPrinter = 'rpho',
cmTechnologyFilmWriter = 'fprn',
cmTechnologyVideoMonitor = 'vidm',
cmTechnologyVideoCamera = 'vidc',
cmTechnologyProjectionTelevision = 'pjtv',
cmTechnologyCRTDisplay = 'CRT ',
cmTechnologyPMDisplay = 'PMD ',
cmTechnologyAMDisplay = 'AMD ',
cmTechnologyPhotoCD = 'KPCD',
cmTechnologyPhotoImageSetter = 'imgs',
cmTechnologyGravure = 'grav',
cmTechnologyOffsetLithography = 'offs',
cmTechnologySilkscreen = 'silk',
cmTechnologyFlexography = 'flex'
};
enum {
cmFlare0 = 0x00000000,
cmFlare100 = 0x00000001
};
enum {
cmGeometryUnknown = 0x00000000,
cmGeometry045or450 = 0x00000001,
cmGeometry0dord0 = 0x00000002
};
enum {
cmStdobsUnknown = 0x00000000,
cmStdobs1931TwoDegrees = 0x00000001,
cmStdobs1964TenDegrees = 0x00000002
};
enum {
cmIlluminantUnknown = 0x00000000,
cmIlluminantD50 = 0x00000001,
cmIlluminantD65 = 0x00000002,
cmIlluminantD93 = 0x00000003,
cmIlluminantF2 = 0x00000004,
cmIlluminantD55 = 0x00000005,
cmIlluminantA = 0x00000006,
cmIlluminantEquiPower = 0x00000007,
cmIlluminantF8 = 0x00000008
};
enum {
cmSpotFunctionUnknown = 0,
cmSpotFunctionDefault = 1,
cmSpotFunctionRound = 2,
cmSpotFunctionDiamond = 3,
cmSpotFunctionEllipse = 4,
cmSpotFunctionLine = 5,
cmSpotFunctionSquare = 6,
cmSpotFunctionCross = 7
};
enum {
cmXYZData = 'XYZ ',
cmLabData = 'Lab ',
cmLuvData = 'Luv ',
cmYCbCrData = 'YCbr',
cmYxyData = 'Yxy ',
cmRGBData = 'RGB ',
cmSRGBData = 'sRGB',
cmGrayData = 'GRAY',
cmHSVData = 'HSV ',
cmHLSData = 'HLS ',
cmCMYKData = 'CMYK',
cmCMYData = 'CMY ',
cmMCH5Data = 'MCH5',
cmMCH6Data = 'MCH6',
cmMCH7Data = 'MCH7',
cmMCH8Data = 'MCH8',
cm3CLRData = '3CLR',
cm4CLRData = '4CLR',
cm5CLRData = '5CLR',
cm6CLRData = '6CLR',
cm7CLRData = '7CLR',
cm8CLRData = '8CLR',
cm9CLRData = '9CLR',
cm10CLRData = 'ACLR',
cm11CLRData = 'BCLR',
cm12CLRData = 'CCLR',
cm13CLRData = 'DCLR',
cm14CLRData = 'ECLR',
cm15CLRData = 'FCLR',
cmNamedData = 'NAME'
};
enum {
cmInputClass = 'scnr',
cmDisplayClass = 'mntr',
cmOutputClass = 'prtr',
cmLinkClass = 'link',
cmAbstractClass = 'abst',
cmColorSpaceClass = 'spac',
cmNamedColorClass = 'nmcl'
};
enum {
cmMacintosh = 'APPL',
cmMicrosoft = 'MSFT',
cmSolaris = 'SUNW',
cmSiliconGraphics = 'SGI ',
cmTaligent = 'TGNT'
};
enum {
cmParametricType0 = 0,
cmParametricType1 = 1,
cmParametricType2 = 2,
cmParametricType3 = 3,
cmParametricType4 = 4
};
enum {
cmCS1ChromTag = 'chrm',
cmCS1TRCTag = 'trc ',
cmCS1NameTag = 'name',
cmCS1CustTag = 'cust'
};
typedef struct CMDateTime {
UInt16 year;
UInt16 month;
UInt16 dayOfTheMonth;
UInt16 hours;
UInt16 minutes;
UInt16 seconds;
} CMDateTime;
typedef struct CMFixedXYColor {
Fixed x;
Fixed y;
} CMFixedXYColor;
typedef struct CMFixedXYZColor {
Fixed X;
Fixed Y;
Fixed Z;
} CMFixedXYZColor;
typedef UInt16 CMXYZComponent;
typedef struct CMXYZColor {
CMXYZComponent X;
CMXYZComponent Y;
CMXYZComponent Z;
} CMXYZColor;
typedef unsigned char CMProfileMD5[16];
typedef CMProfileMD5 * CMProfileMD5Ptr;
# 416 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
#define CMProfileMD5AreEqual(a,b) ( ((UInt32*)a)[0]==((UInt32*)b)[0] && ((UInt32*)a)[1]==((UInt32*)b)[1] && ((UInt32*)a)[2]==((UInt32*)b)[2] && ((UInt32*)a)[3]==((UInt32*)b)[3])
typedef struct CM2Header {
UInt32 size;
OSType CMMType;
UInt32 profileVersion;
OSType profileClass;
OSType dataColorSpace;
OSType profileConnectionSpace;
CMDateTime dateTime;
OSType CS2profileSignature;
OSType platform;
UInt32 flags;
OSType deviceManufacturer;
UInt32 deviceModel;
UInt32 deviceAttributes[2];
UInt32 renderingIntent;
CMFixedXYZColor white;
OSType creator;
char reserved[44];
} CM2Header;
typedef struct CM4Header {
UInt32 size;
OSType CMMType;
UInt32 profileVersion;
OSType profileClass;
OSType dataColorSpace;
OSType profileConnectionSpace;
CMDateTime dateTime;
OSType CS2profileSignature;
OSType platform;
UInt32 flags;
OSType deviceManufacturer;
UInt32 deviceModel;
UInt32 deviceAttributes[2];
UInt32 renderingIntent;
CMFixedXYZColor white;
OSType creator;
CMProfileMD5 digest;
char reserved[28];
} CM4Header;
typedef struct CMTagRecord {
OSType tag;
UInt32 elementOffset;
UInt32 elementSize;
} CMTagRecord;
typedef struct CMTagElemTable {
UInt32 count;
CMTagRecord tagList[1];
} CMTagElemTable;
typedef struct CM2Profile {
CM2Header header;
CMTagElemTable tagTable;
char elemData[1];
} CM2Profile, *CM2ProfilePtr, **CM2ProfileHandle;
typedef struct CMAdaptationMatrixType {
OSType typeDescriptor;
UInt32 reserved;
Fixed adaptationMatrix[9];
} CMAdaptationMatrixType;
typedef struct CMCurveType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 countValue;
UInt16 data[1];
} CMCurveType;
typedef struct CMDataType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 dataFlag;
char data[1];
} CMDataType;
typedef struct CMDateTimeType {
OSType typeDescriptor;
UInt32 reserved;
CMDateTime dateTime;
} CMDateTimeType;
typedef struct CMLut16Type {
OSType typeDescriptor;
UInt32 reserved;
UInt8 inputChannels;
UInt8 outputChannels;
UInt8 gridPoints;
UInt8 reserved2;
Fixed matrix[3][3];
UInt16 inputTableEntries;
UInt16 outputTableEntries;
UInt16 inputTable[1];
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
} CMLut16Type;
typedef struct CMLut8Type {
OSType typeDescriptor;
UInt32 reserved;
UInt8 inputChannels;
UInt8 outputChannels;
UInt8 gridPoints;
UInt8 reserved2;
Fixed matrix[3][3];
UInt8 inputTable[1];
# 544 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
} CMLut8Type;
typedef struct CMMultiFunctLutType {
OSType typeDescriptor;
UInt32 reserved;
UInt8 inputChannels;
UInt8 outputChannels;
UInt16 reserved2;
UInt32 offsetBcurves;
UInt32 offsetMatrix;
UInt32 offsetMcurves;
UInt32 offsetCLUT;
UInt32 offsetAcurves;
UInt8 data[1];
} CMMultiFunctLutType, CMMultiFunctLutA2BType, CMMultiFunctLutB2AType;
typedef struct CMMultiFunctCLUTType {
UInt8 gridPoints[16];
UInt8 entrySize;
UInt8 reserved[3];
UInt8 data[2];
} CMMultiFunctCLUTType;
typedef struct CMMeasurementType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 standardObserver;
CMFixedXYZColor backingXYZ;
UInt32 geometry;
UInt32 flare;
UInt32 illuminant;
} CMMeasurementType;
typedef struct CMNamedColorType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 vendorFlag;
UInt32 count;
UInt8 prefixName[1];
# 594 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
} CMNamedColorType;
typedef struct CMNamedColor2EntryType {
UInt8 rootName[32];
UInt16 PCSColorCoords[3];
UInt16 DeviceColorCoords[1];
} CMNamedColor2EntryType;
typedef struct CMNamedColor2Type {
OSType typeDescriptor;
UInt32 reserved;
UInt32 vendorFlag;
UInt32 count;
UInt32 deviceChannelCount;
UInt8 prefixName[32];
UInt8 suffixName[32];
char data[1];
} CMNamedColor2Type;
typedef struct CMNativeDisplayInfo {
UInt32 dataSize;
CMFixedXYColor redPhosphor;
CMFixedXYColor greenPhosphor;
CMFixedXYColor bluePhosphor;
CMFixedXYColor whitePoint;
Fixed redGammaValue;
Fixed greenGammaValue;
Fixed blueGammaValue;
UInt16 gammaChannels;
UInt16 gammaEntryCount;
UInt16 gammaEntrySize;
char gammaData[1];
} CMNativeDisplayInfo;
typedef struct CMNativeDisplayInfoType {
OSType typeDescriptor;
UInt32 reserved;
CMNativeDisplayInfo nativeDisplayInfo;
} CMNativeDisplayInfoType;
typedef struct CMParametricCurveType {
OSType typeDescriptor;
UInt32 reserved;
UInt16 functionType;
UInt16 reserved2;
Fixed value[1];
} CMParametricCurveType;
typedef struct CMTextDescriptionType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 ASCIICount;
UInt8 ASCIIName[2];
# 662 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
} CMTextDescriptionType;
typedef struct CMTextType {
OSType typeDescriptor;
UInt32 reserved;
UInt8 text[1];
} CMTextType;
typedef struct CMUnicodeTextType {
OSType typeDescriptor;
UInt32 reserved;
UniChar text[1];
} CMUnicodeTextType;
typedef struct CMScreeningChannelRec {
Fixed frequency;
Fixed angle;
UInt32 spotFunction;
} CMScreeningChannelRec;
typedef struct CMScreeningType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 screeningFlag;
UInt32 channelCount;
CMScreeningChannelRec channelInfo[1];
} CMScreeningType;
typedef struct CMSignatureType {
OSType typeDescriptor;
UInt32 reserved;
OSType signature;
} CMSignatureType;
typedef struct CMS15Fixed16ArrayType {
OSType typeDescriptor;
UInt32 reserved;
Fixed value[1];
} CMS15Fixed16ArrayType;
typedef struct CMU16Fixed16ArrayType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 value[1];
} CMU16Fixed16ArrayType;
typedef struct CMUInt8ArrayType {
OSType typeDescriptor;
UInt32 reserved;
UInt8 value[1];
} CMUInt8ArrayType;
typedef struct CMUInt16ArrayType {
OSType typeDescriptor;
UInt32 reserved;
UInt16 value[1];
} CMUInt16ArrayType;
typedef struct CMUInt32ArrayType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 value[1];
} CMUInt32ArrayType;
typedef struct CMUInt64ArrayType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 value[1];
} CMUInt64ArrayType;
typedef struct CMViewingConditionsType {
OSType typeDescriptor;
UInt32 reserved;
CMFixedXYZColor illuminant;
CMFixedXYZColor surround;
UInt32 stdIlluminant;
} CMViewingConditionsType;
typedef struct CMXYZType {
OSType typeDescriptor;
UInt32 reserved;
CMFixedXYZColor XYZ[1];
} CMXYZType;
typedef struct CMProfileSequenceDescType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 count;
char data[1];
} CMProfileSequenceDescType;
typedef struct CMUcrBgType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 ucrCount;
UInt16 ucrValues[1];
# 767 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
} CMUcrBgType;
typedef struct CMIntentCRDVMSize {
UInt32 renderingIntent;
UInt32 VMSize;
} CMIntentCRDVMSize;
typedef struct CMPS2CRDVMSizeType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 count;
CMIntentCRDVMSize intentCRD[1];
} CMPS2CRDVMSizeType;
enum {
cmVideoCardGammaTableType = 0,
cmVideoCardGammaFormulaType = 1
};
typedef struct CMVideoCardGammaTable {
UInt16 channels;
UInt16 entryCount;
UInt16 entrySize;
char data[1];
} CMVideoCardGammaTable;
typedef struct CMVideoCardGammaFormula {
Fixed redGamma;
Fixed redMin;
Fixed redMax;
Fixed greenGamma;
Fixed greenMin;
Fixed greenMax;
Fixed blueGamma;
Fixed blueMin;
Fixed blueMax;
} CMVideoCardGammaFormula;
typedef struct CMVideoCardGamma {
UInt32 tagType;
union {
CMVideoCardGammaTable table;
CMVideoCardGammaFormula formula;
} u;
} CMVideoCardGamma;
typedef struct CMVideoCardGammaType {
OSType typeDescriptor;
UInt32 reserved;
CMVideoCardGamma gamma;
} CMVideoCardGammaType;
typedef struct CMMakeAndModel {
OSType manufacturer;
UInt32 model;
UInt32 serialNumber;
UInt32 manufactureDate;
UInt32 reserved1;
UInt32 reserved2;
UInt32 reserved3;
UInt32 reserved4;
} CMMakeAndModel;
typedef struct CMMakeAndModelType {
OSType typeDescriptor;
UInt32 reserved;
CMMakeAndModel makeAndModel;
} CMMakeAndModelType;
typedef struct CMMultiLocalizedUniCodeEntryRec {
char languageCode[2];
char regionCode[2];
UInt32 textLength;
UInt32 textOffset;
} CMMultiLocalizedUniCodeEntryRec;
typedef struct CMMultiLocalizedUniCodeType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 entryCount;
UInt32 entrySize;
} CMMultiLocalizedUniCodeType;
enum {
cmGrayResponse = 0,
cmRedResponse = 1,
cmGreenResponse = 2,
cmBlueResponse = 3,
cmCyanResponse = 4,
cmMagentaResponse = 5,
cmYellowResponse = 6,
cmUcrResponse = 7,
cmBgResponse = 8,
cmOnePlusLastResponse = 9
};
enum {
cmMonitorDevice = 'mntr',
cmScannerDevice = 'scnr',
cmPrinterDevice = 'prtr'
};
typedef struct CMIString {
ScriptCode theScript;
Str63 theString;
} CMIString;
enum {
cmPerceptualMatch = 0x0000,
cmColorimetricMatch = 0x0001,
cmSaturationMatch = 0x0002
};
enum {
cmNativeMatchingPreferred = 0x00000001,
cmTurnOffCache = 0x00000002
};
typedef UInt32 CMMatchOption;
typedef UInt32 CMMatchFlag;
typedef struct CMHeader {
UInt32 size;
OSType CMMType;
UInt32 applProfileVersion;
OSType dataType;
OSType deviceType;
OSType deviceManufacturer;
UInt32 deviceModel;
UInt32 deviceAttributes[2];
UInt32 profileNameOffset;
UInt32 customDataOffset;
CMMatchFlag flags;
CMMatchOption options;
CMXYZColor white;
CMXYZColor black;
} CMHeader;
typedef struct CMProfileChromaticities {
CMXYZColor red;
CMXYZColor green;
CMXYZColor blue;
CMXYZColor cyan;
CMXYZColor magenta;
CMXYZColor yellow;
} CMProfileChromaticities;
typedef struct CMProfileResponse {
UInt16 counts[9];
UInt16 data[1];
} CMProfileResponse;
typedef struct CMProfile {
CMHeader header;
CMProfileChromaticities profile;
CMProfileResponse response;
CMIString profileName;
char customData[1];
} CMProfile, *CMProfilePtr, **CMProfileHandle;
#pragma pack(pop)
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 27 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 2 3
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
#pragma options align=mac68k
enum {
kDefaultCMMSignature = 'appl'
};
enum {
cmBeginProfile = 220,
cmEndProfile = 221,
cmEnableMatching = 222,
cmDisableMatching = 223,
cmComment = 224
};
enum {
cmBeginProfileSel = 0,
cmContinueProfileSel = 1,
cmEndProfileSel = 2,
cmProfileIdentifierSel = 3
};
enum {
cmMatchCMMType = 0x00000001,
cmMatchApplProfileVersion = 0x00000002,
cmMatchDataType = 0x00000004,
cmMatchDeviceType = 0x00000008,
cmMatchDeviceManufacturer = 0x00000010,
cmMatchDeviceModel = 0x00000020,
cmMatchDeviceAttributes = 0x00000040,
cmMatchFlags = 0x00000080,
cmMatchOptions = 0x00000100,
cmMatchWhite = 0x00000200,
cmMatchBlack = 0x00000400
};
enum {
cmMatchAnyProfile = 0x00000000,
cmMatchProfileCMMType = 0x00000001,
cmMatchProfileClass = 0x00000002,
cmMatchDataColorSpace = 0x00000004,
cmMatchProfileConnectionSpace = 0x00000008,
cmMatchManufacturer = 0x00000010,
cmMatchModel = 0x00000020,
cmMatchAttributes = 0x00000040,
cmMatchProfileFlags = 0x00000080
};
enum {
cmPS7bit = 1,
cmPS8bit = 2
};
enum {
cmEmbedWholeProfile = 0x00000000,
cmEmbedProfileIdentifier = 0x00000001
};
enum {
cmOpenReadSpool = 1,
cmOpenWriteSpool = 2,
cmReadSpool = 3,
cmWriteSpool = 4,
cmCloseSpool = 5
};
enum {
cmOpenReadAccess = 1,
cmOpenWriteAccess = 2,
cmReadAccess = 3,
cmWriteAccess = 4,
cmCloseAccess = 5,
cmCreateNewAccess = 6,
cmAbortWriteAccess = 7,
cmBeginAccess = 8,
cmEndAccess = 9
};
enum {
cmInputUse = 'inpt',
cmOutputUse = 'outp',
cmDisplayUse = 'dply',
cmProofUse = 'pruf'
};
union CMAppleProfileHeader {
CMHeader cm1;
CM2Header cm2;
CM4Header cm4;
};
typedef union CMAppleProfileHeader CMAppleProfileHeader;
typedef struct CMConcatProfileSet {
UInt16 keyIndex;
UInt16 count;
CMProfileRef profileSet[1];
} CMConcatProfileSet;
typedef struct NCMConcatProfileSpec {
UInt32 renderingIntent;
UInt32 transformTag;
CMProfileRef profile;
} NCMConcatProfileSpec;
typedef struct NCMConcatProfileSet {
OSType cmm;
UInt32 flags;
UInt32 flagsMask;
UInt32 profileCount;
NCMConcatProfileSpec profileSpecs[1];
} NCMConcatProfileSet;
enum {
kNoTransform = 0,
kUseAtoB = 1,
kUseBtoA = 2,
kUseBtoB = 3,
kDeviceToPCS = kUseAtoB,
kPCSToDevice = kUseBtoA,
kPCSToPCS = kUseBtoB,
kUseProfileIntent = (int)0xFFFFFFFF
};
typedef struct CMRGBColor {
UInt16 red;
UInt16 green;
UInt16 blue;
} CMRGBColor;
typedef struct CMCMYKColor {
UInt16 cyan;
UInt16 magenta;
UInt16 yellow;
UInt16 black;
} CMCMYKColor;
typedef struct CMCMYColor {
UInt16 cyan;
UInt16 magenta;
UInt16 yellow;
} CMCMYColor;
typedef struct CMHLSColor {
UInt16 hue;
UInt16 lightness;
UInt16 saturation;
} CMHLSColor;
typedef struct CMHSVColor {
UInt16 hue;
UInt16 saturation;
UInt16 value;
} CMHSVColor;
typedef struct CMLabColor {
UInt16 L;
UInt16 a;
UInt16 b;
} CMLabColor;
typedef struct CMLuvColor {
UInt16 L;
UInt16 u;
UInt16 v;
} CMLuvColor;
typedef struct CMYxyColor {
UInt16 capY;
UInt16 x;
UInt16 y;
} CMYxyColor;
typedef struct CMGrayColor {
UInt16 gray;
} CMGrayColor;
typedef struct CMMultichannel5Color {
UInt8 components[5];
} CMMultichannel5Color;
typedef struct CMMultichannel6Color {
UInt8 components[6];
} CMMultichannel6Color;
typedef struct CMMultichannel7Color {
UInt8 components[7];
} CMMultichannel7Color;
typedef struct CMMultichannel8Color {
UInt8 components[8];
} CMMultichannel8Color;
typedef struct CMNamedColor {
UInt32 namedColorIndex;
} CMNamedColor;
typedef union CMColor {
CMRGBColor rgb;
CMHSVColor hsv;
CMHLSColor hls;
CMXYZColor XYZ;
CMLabColor Lab;
CMLuvColor Luv;
CMYxyColor Yxy;
CMCMYKColor cmyk;
CMCMYColor cmy;
CMGrayColor gray;
CMMultichannel5Color mc5;
CMMultichannel6Color mc6;
CMMultichannel7Color mc7;
CMMultichannel8Color mc8;
CMNamedColor namedColor;
} CMColor;
typedef struct CMProfileSearchRecord {
CMHeader header;
UInt32 fieldMask;
UInt32 reserved[2];
} CMProfileSearchRecord, *CMProfileSearchRecordPtr, **CMProfileSearchRecordHandle;
typedef struct CMSearchRecord {
OSType CMMType;
OSType profileClass;
OSType dataColorSpace;
OSType profileConnectionSpace;
UInt32 deviceManufacturer;
UInt32 deviceModel;
UInt32 deviceAttributes[2];
UInt32 profileFlags;
UInt32 searchMask;
CMProfileFilterUPP filter;
} CMSearchRecord;
typedef struct CMMInfo {
size_t dataSize;
OSType CMMType;
OSType CMMMfr;
UInt32 CMMVersion;
unsigned char ASCIIName[32];
unsigned char ASCIIDesc[256];
UniCharCount UniCodeNameCount;
UniChar UniCodeName[32];
UniCharCount UniCodeDescCount;
UniChar UniCodeDesc[256];
} CMMInfo;
typedef struct CMMInfoRecord {
OSType CMMType;
long CMMVersion;
} CMMInfoRecord;
typedef struct CMCWInfoRecord {
UInt32 cmmCount;
CMMInfoRecord cmmInfo[2];
} CMCWInfoRecord;
typedef struct CMProfileIdentifier {
CM2Header profileHeader;
CMDateTime calibrationDate;
UInt32 ASCIIProfileDescriptionLen;
char ASCIIProfileDescription[1];
} CMProfileIdentifier, *CMProfileIdentifierPtr;
enum {
cmColorSpaceSpaceMask = 0x0000003F,
cmColorSpacePremulAlphaMask = 0x00000040,
cmColorSpaceAlphaMask = 0x00000080,
cmColorSpaceSpaceAndAlphaMask = 0x000000FF,
cmColorSpacePackingMask = 0x0000FF00,
cmColorSpaceEncodingMask = 0x000F0000,
cmColorSpaceReservedMask = (int)0xFFF00000
};
enum {
cmNoColorPacking = 0x0000,
cmWord5ColorPacking = 0x0500,
cmWord565ColorPacking = 0x0600,
cmLong8ColorPacking = 0x0800,
cmLong10ColorPacking = 0x0A00,
cmAlphaFirstPacking = 0x1000,
cmOneBitDirectPacking = 0x0B00,
cmAlphaLastPacking = 0x0000,
cm8_8ColorPacking = 0x2800,
cm16_8ColorPacking = 0x2000,
cm24_8ColorPacking = 0x2100,
cm32_8ColorPacking = cmLong8ColorPacking,
cm40_8ColorPacking = 0x2200,
cm48_8ColorPacking = 0x2300,
cm56_8ColorPacking = 0x2400,
cm64_8ColorPacking = 0x2500,
cm32_16ColorPacking = 0x2600,
cm48_16ColorPacking = 0x2900,
cm64_16ColorPacking = 0x2A00,
cm32_32ColorPacking = 0x2700,
cmLittleEndianPacking = 0x4000,
cmReverseChannelPacking = 0x8000
};
enum {
cmSRGB16ChannelEncoding = 0x00010000
};
enum {
cmNoSpace = 0x0000,
cmRGBSpace = 0x0001,
cmCMYKSpace = 0x0002,
cmHSVSpace = 0x0003,
cmHLSSpace = 0x0004,
cmYXYSpace = 0x0005,
cmXYZSpace = 0x0006,
cmLUVSpace = 0x0007,
cmLABSpace = 0x0008,
cmReservedSpace1 = 0x0009,
cmGraySpace = 0x000A,
cmReservedSpace2 = 0x000B,
cmGamutResultSpace = 0x000C,
cmNamedIndexedSpace = 0x0010,
cmMCFiveSpace = 0x0011,
cmMCSixSpace = 0x0012,
cmMCSevenSpace = 0x0013,
cmMCEightSpace = 0x0014,
cmAlphaPmulSpace = 0x0040,
cmAlphaSpace = 0x0080,
cmRGBASpace = cmRGBSpace + cmAlphaSpace,
cmGrayASpace = cmGraySpace + cmAlphaSpace,
cmRGBAPmulSpace = cmRGBASpace + cmAlphaPmulSpace,
cmGrayAPmulSpace = cmGrayASpace + cmAlphaPmulSpace
};
enum {
cmGray8Space = cmGraySpace + cm8_8ColorPacking,
cmGray16Space = cmGraySpace,
cmGray16LSpace = cmGraySpace + cmLittleEndianPacking,
cmGrayA16Space = cmGrayASpace + cm16_8ColorPacking,
cmGrayA32Space = cmGrayASpace,
cmGrayA32LSpace = cmGrayASpace + cmLittleEndianPacking,
cmGrayA16PmulSpace = cmGrayAPmulSpace + cm16_8ColorPacking,
cmGrayA32PmulSpace = cmGrayAPmulSpace,
cmGrayA32LPmulSpace = cmGrayAPmulSpace + cmLittleEndianPacking,
cmRGB16Space = cmRGBSpace + cmWord5ColorPacking,
cmRGB16LSpace = cmRGBSpace + cmWord5ColorPacking + cmLittleEndianPacking,
cmRGB565Space = cmRGBSpace + cmWord565ColorPacking,
cmRGB565LSpace = cmRGBSpace + cmWord565ColorPacking + cmLittleEndianPacking,
cmRGB24Space = cmRGBSpace + cm24_8ColorPacking,
cmRGB32Space = cmRGBSpace + cm32_8ColorPacking,
cmRGB48Space = cmRGBSpace + cm48_16ColorPacking,
cmRGB48LSpace = cmRGBSpace + cm48_16ColorPacking + cmLittleEndianPacking,
cmARGB32Space = cmRGBASpace + cm32_8ColorPacking + cmAlphaFirstPacking,
cmARGB64Space = cmRGBASpace + cm64_16ColorPacking + cmAlphaFirstPacking,
cmARGB64LSpace = cmRGBASpace + cm64_16ColorPacking + cmAlphaFirstPacking + cmLittleEndianPacking,
cmRGBA32Space = cmRGBASpace + cm32_8ColorPacking + cmAlphaLastPacking,
cmRGBA64Space = cmRGBASpace + cm64_16ColorPacking + cmAlphaLastPacking,
cmRGBA64LSpace = cmRGBASpace + cm64_16ColorPacking + cmAlphaLastPacking + cmLittleEndianPacking,
cmARGB32PmulSpace = cmRGBAPmulSpace + cm32_8ColorPacking + cmAlphaFirstPacking,
cmARGB64PmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaFirstPacking,
cmARGB64LPmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaFirstPacking + cmLittleEndianPacking,
cmRGBA32PmulSpace = cmRGBAPmulSpace + cm32_8ColorPacking + cmAlphaLastPacking,
cmRGBA64PmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaLastPacking,
cmRGBA64LPmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaLastPacking + cmLittleEndianPacking,
cmCMYK32Space = cmCMYKSpace + cm32_8ColorPacking,
cmCMYK64Space = cmCMYKSpace + cm64_16ColorPacking,
cmCMYK64LSpace = cmCMYKSpace + cm64_16ColorPacking + cmLittleEndianPacking,
cmHSV32Space = cmHSVSpace + cmLong10ColorPacking,
cmHLS32Space = cmHLSSpace + cmLong10ColorPacking,
cmYXY32Space = cmYXYSpace + cmLong10ColorPacking,
cmXYZ24Space = cmXYZSpace + cm24_8ColorPacking,
cmXYZ32Space = cmXYZSpace + cmLong10ColorPacking,
cmXYZ48Space = cmXYZSpace + cm48_16ColorPacking,
cmXYZ48LSpace = cmXYZSpace + cm48_16ColorPacking + cmLittleEndianPacking,
cmLUV32Space = cmLUVSpace + cmLong10ColorPacking,
cmLAB24Space = cmLABSpace + cm24_8ColorPacking,
cmLAB32Space = cmLABSpace + cmLong10ColorPacking,
cmLAB48Space = cmLABSpace + cm48_16ColorPacking,
cmLAB48LSpace = cmLABSpace + cm48_16ColorPacking + cmLittleEndianPacking,
cmGamutResult1Space = cmOneBitDirectPacking + cmGamutResultSpace,
cmNamedIndexed32Space = cm32_32ColorPacking + cmNamedIndexedSpace,
cmNamedIndexed32LSpace = cm32_32ColorPacking + cmNamedIndexedSpace + cmLittleEndianPacking,
cmMCFive8Space = cm40_8ColorPacking + cmMCFiveSpace,
cmMCSix8Space = cm48_8ColorPacking + cmMCSixSpace,
cmMCSeven8Space = cm56_8ColorPacking + cmMCSevenSpace,
cmMCEight8Space = cm64_8ColorPacking + cmMCEightSpace
};
typedef UInt32 CMBitmapColorSpace;
typedef struct CMBitmap {
char * image;
size_t width;
size_t height;
size_t rowBytes;
size_t pixelSize;
CMBitmapColorSpace space;
UInt32 user1;
UInt32 user2;
} CMBitmap;
enum {
CS_MAX_PATH = 256
};
enum {
cmNoProfileBase = 0,
cmFileBasedProfile = 1,
cmHandleBasedProfile = 2,
cmPtrBasedProfile = 3,
cmProcedureBasedProfile = 4,
cmPathBasedProfile = 5,
cmBufferBasedProfile = 6
};
typedef struct CMFileLocation {
FSSpec spec;
} CMFileLocation;
typedef struct CMHandleLocation {
Handle h;
} CMHandleLocation;
typedef struct CMPtrLocation {
Ptr p;
} CMPtrLocation;
typedef struct CMProcedureLocation {
CMProfileAccessUPP proc;
void * refCon;
} CMProcedureLocation;
typedef struct CMPathLocation {
char path[CS_MAX_PATH];
} CMPathLocation;
typedef struct CMBufferLocation {
void * buffer;
UInt32 size;
} CMBufferLocation;
typedef union CMProfLoc {
CMFileLocation fileLoc;
CMHandleLocation handleLoc;
CMPtrLocation ptrLoc;
CMProcedureLocation procLoc;
CMPathLocation pathLoc;
CMBufferLocation bufferLoc;
} CMProfLoc;
typedef struct CMProfileLocation {
short locType;
CMProfLoc u;
} CMProfileLocation;
enum {
cmOriginalProfileLocationSize = 72,
cmCurrentProfileLocationSize = sizeof(CMProfileLocation)
};
enum {
cmProfileIterateDataVersion1 = 0x00010000,
cmProfileIterateDataVersion2 = 0x00020000,
cmProfileIterateDataVersion3 = 0x00030000
};
typedef struct CMProfileIterateData {
UInt32 dataVersion;
CM2Header header;
ScriptCode code;
Str255 name;
CMProfileLocation location;
UniCharCount uniCodeNameCount;
UniChar * uniCodeName;
unsigned char * asciiName;
CMMakeAndModel * makeAndModel;
CMProfileMD5 * digest;
} CMProfileIterateData;
typedef OSErr ( * CMProfileIterateProcPtr)(CMProfileIterateData *iterateData, void *refCon);
typedef CMProfileIterateProcPtr CMProfileIterateUPP;
# 611 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
static __inline__ __attribute__((always_inline)) CMProfileIterateUPP NewCMProfileIterateUPP(CMProfileIterateProcPtr userRoutine)
{ return (CMProfileIterateUPP)userRoutine; }
static __inline__ __attribute__((always_inline)) OSErr InvokeCMProfileIterateUPP(CMProfileIterateData * iterateData, void * refCon, CMProfileIterateUPP userUPP)
{ return (*((CMProfileIterateProcPtr)userUPP))(iterateData, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMProfileIterateUPP(CMProfileIterateUPP userUPP) {}
typedef OSErr ( * CMMIterateProcPtr)(CMMInfo *iterateData, void *refCon);
typedef CMMIterateProcPtr CMMIterateUPP;
# 644 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
static __inline__ __attribute__((always_inline)) CMMIterateUPP NewCMMIterateUPP(CMMIterateProcPtr userRoutine)
{ return (CMMIterateUPP)userRoutine; }
static __inline__ __attribute__((always_inline)) OSErr InvokeCMMIterateUPP(CMMInfo * iterateData, void * refCon, CMMIterateUPP userUPP)
{ return (*((CMMIterateProcPtr)userUPP))(iterateData, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMMIterateUPP(CMMIterateUPP userUPP) {}
typedef void ( * CMLabToLabProcPtr)(float *L, float *a, float *b, void *refcon);
__attribute__((visibility("default"))) extern CMError
CMNewProfile(
CMProfileRef * prof,
const CMProfileLocation * theProfile) ;
__attribute__((visibility("default"))) extern CMError
CWNewLinkProfile(
CMProfileRef * prof,
const CMProfileLocation * targetLocation,
CMConcatProfileSet * profileSet) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
NCWNewLinkProfile(
CMProfileRef * prof,
const CMProfileLocation * targetLocation,
NCMConcatProfileSet * profileSet,
CMConcatCallBackUPP proc,
void * refCon) ;
# 749 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMMakeProfile(
CMProfileRef prof,
CFDictionaryRef spec) ;
__attribute__((visibility("default"))) extern CMError
CMOpenProfile(
CMProfileRef * prof,
const CMProfileLocation * theProfile) ;
__attribute__((visibility("default"))) extern CMError
CMCloseProfile(CMProfileRef prof) ;
__attribute__((visibility("default"))) extern CMError
CMUpdateProfile(CMProfileRef prof) ;
__attribute__((visibility("default"))) extern CMError
CMCopyProfile(
CMProfileRef * targetProf,
const CMProfileLocation * targetLocation,
CMProfileRef srcProf) ;
__attribute__((visibility("default"))) extern CMError
CMValidateProfile(
CMProfileRef prof,
Boolean * valid,
Boolean * preferredCMMnotfound) ;
__attribute__((visibility("default"))) extern CMError
CMGetProfileLocation(
CMProfileRef prof,
CMProfileLocation * location) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
NCMGetProfileLocation(
CMProfileRef prof,
CMProfileLocation * theProfile,
UInt32 * locationSize) ;
# 807 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CFDataRef
CMProfileCopyICCData(
CFAllocatorRef allocator,
CMProfileRef prof) ;
__attribute__((visibility("default"))) extern CMError
CMFlattenProfile(
CMProfileRef prof,
UInt32 flags,
CMFlattenUPP proc,
void * refCon,
Boolean * preferredCMMnotfound) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
NCMUnflattenProfile(
CMProfileLocation * targetLocation,
CMFlattenUPP proc,
void * refCon,
Boolean * preferredCMMnotfound) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMGetProfileHeader(
CMProfileRef prof,
CMAppleProfileHeader * header) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileHeader(
CMProfileRef prof,
const CMAppleProfileHeader * header) ;
__attribute__((visibility("default"))) extern CMError
CMCloneProfileRef(CMProfileRef prof) ;
__attribute__((visibility("default"))) extern CMError
CMGetProfileRefCount(
CMProfileRef prof,
long * count) ;
__attribute__((visibility("default"))) extern CMError
CMProfileModified(
CMProfileRef prof,
Boolean * modified) ;
__attribute__((visibility("default"))) extern CMError
CMGetProfileMD5(
CMProfileRef prof,
CMProfileMD5 digest) ;
__attribute__((visibility("default"))) extern CMError
CMCountProfileElements(
CMProfileRef prof,
UInt32 * elementCount) ;
__attribute__((visibility("default"))) extern CMError
CMProfileElementExists(
CMProfileRef prof,
OSType tag,
Boolean * found) ;
__attribute__((visibility("default"))) extern CMError
CMGetProfileElement(
CMProfileRef prof,
OSType tag,
UInt32 * elementSize,
void * elementData) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileElement(
CMProfileRef prof,
OSType tag,
UInt32 elementSize,
const void * elementData) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileElementSize(
CMProfileRef prof,
OSType tag,
UInt32 elementSize) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileElementReference(
CMProfileRef prof,
OSType elementTag,
OSType referenceTag) ;
__attribute__((visibility("default"))) extern CMError
CMGetPartialProfileElement(
CMProfileRef prof,
OSType tag,
UInt32 offset,
UInt32 * byteCount,
void * elementData) ;
__attribute__((visibility("default"))) extern CMError
CMSetPartialProfileElement(
CMProfileRef prof,
OSType tag,
UInt32 offset,
UInt32 byteCount,
const void * elementData) ;
__attribute__((visibility("default"))) extern CMError
CMGetIndProfileElementInfo(
CMProfileRef prof,
UInt32 index,
OSType * tag,
UInt32 * elementSize,
Boolean * refs) ;
__attribute__((visibility("default"))) extern CMError
CMGetIndProfileElement(
CMProfileRef prof,
UInt32 index,
UInt32 * elementSize,
void * elementData) ;
__attribute__((visibility("default"))) extern CMError
CMRemoveProfileElement(
CMProfileRef prof,
OSType tag) ;
__attribute__((visibility("default"))) extern CMError
CMGetScriptProfileDescription(
CMProfileRef prof,
Str255 name,
ScriptCode * code) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMGetProfileDescriptions(
CMProfileRef prof,
char * aName,
UInt32 * aCount,
Str255 mName,
ScriptCode * mCode,
UniChar * uName,
UniCharCount * uCount) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileDescriptions(
CMProfileRef prof,
const char * aName,
UInt32 aCount,
ConstStr255Param mName,
ScriptCode mCode,
const UniChar * uName,
UniCharCount uCount) ;
__attribute__((visibility("default"))) extern CMError
CMCopyProfileLocalizedStringDictionary(
CMProfileRef prof,
OSType tag,
CFDictionaryRef * theDict) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileLocalizedStringDictionary(
CMProfileRef prof,
OSType tag,
CFDictionaryRef theDict) ;
__attribute__((visibility("default"))) extern CMError
CMCopyProfileLocalizedString(
CMProfileRef prof,
OSType tag,
CFStringRef reqLocale,
CFStringRef * locale,
CFStringRef * str) ;
# 1020 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMCopyProfileDescriptionString(
CMProfileRef prof,
CFStringRef * str) ;
__attribute__((visibility("default"))) extern CMError
CMGetNamedColorInfo(
CMProfileRef prof,
UInt32 * deviceChannels,
OSType * deviceColorSpace,
OSType * PCSColorSpace,
UInt32 * count,
StringPtr prefix,
StringPtr suffix) ;
__attribute__((visibility("default"))) extern CMError
CMGetNamedColorValue(
CMProfileRef prof,
StringPtr name,
CMColor * deviceColor,
CMColor * PCSColor) ;
__attribute__((visibility("default"))) extern CMError
CMGetIndNamedColorValue(
CMProfileRef prof,
UInt32 index,
CMColor * deviceColor,
CMColor * PCSColor) ;
__attribute__((visibility("default"))) extern CMError
CMGetNamedColorIndex(
CMProfileRef prof,
StringPtr name,
UInt32 * index) ;
__attribute__((visibility("default"))) extern CMError
CMGetNamedColorName(
CMProfileRef prof,
UInt32 index,
StringPtr name) ;
__attribute__((visibility("default"))) extern CMError
NCWNewColorWorld(
CMWorldRef * cw,
CMProfileRef src,
CMProfileRef dst) ;
__attribute__((visibility("default"))) extern CMError
CWConcatColorWorld(
CMWorldRef * cw,
CMConcatProfileSet * profileSet) ;
__attribute__((visibility("default"))) extern CMError
NCWConcatColorWorld(
CMWorldRef * cw,
NCMConcatProfileSet * profileSet,
CMConcatCallBackUPP proc,
void * refCon) ;
__attribute__((visibility("default"))) extern CMError
CMGetCWInfo(
CMWorldRef cw,
CMCWInfoRecord * info) __attribute__((deprecated));
__attribute__((visibility("default"))) extern void
CWDisposeColorWorld(CMWorldRef cw) ;
__attribute__((visibility("default"))) extern CMError
CWMatchColors(
CMWorldRef cw,
CMColor * myColors,
size_t count) ;
__attribute__((visibility("default"))) extern CMError
CWCheckColors(
CMWorldRef cw,
CMColor * myColors,
size_t count,
UInt8 * result) ;
__attribute__((visibility("default"))) extern CMError
CWMatchBitmap(
CMWorldRef cw,
CMBitmap * bitmap,
CMBitmapCallBackUPP progressProc,
void * refCon,
CMBitmap * matchedBitmap) ;
__attribute__((visibility("default"))) extern CMError
CWCheckBitmap(
CMWorldRef cw,
const CMBitmap * bitmap,
CMBitmapCallBackUPP progressProc,
void * refCon,
CMBitmap * resultBitmap) ;
__attribute__((visibility("default"))) extern UInt32
CWGetCMMSignature(
CMWorldRef cw) ;
enum {
cmTextureRGBtoRGBX8 = 0,
cmTextureRGBtoRGBX16 = 1,
cmTextureRGBtoRGBXFloat32 = 2
};
# 1161 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CWFillLookupTexture(
CMWorldRef cw,
UInt32 gridPoints,
UInt32 format,
UInt32 dataSize,
void * data) ;
__attribute__((visibility("default"))) extern CMError
CMGetSystemProfile(CMProfileRef * prof) ;
__attribute__((visibility("default"))) extern CMError
CMSetSystemProfile(const FSSpec * profileFileSpec) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
NCMSetSystemProfile(const CMProfileLocation * profLoc) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMGetDefaultProfileBySpace(
OSType dataColorSpace,
CMProfileRef * prof) ;
__attribute__((visibility("default"))) extern CMError
CMSetDefaultProfileBySpace(
OSType dataColorSpace,
CMProfileRef prof) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMGetDefaultProfileByUse(
OSType use,
CMProfileRef * prof) ;
__attribute__((visibility("default"))) extern CMError
CMSetDefaultProfileByUse(
OSType use,
CMProfileRef prof) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMGetProfileByAVID(
CMDisplayIDType theID,
CMProfileRef * prof) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileByAVID(
CMDisplayIDType theID,
CMProfileRef prof) ;
__attribute__((visibility("default"))) extern CMError
CMGetGammaByAVID(
CMDisplayIDType theID,
CMVideoCardGamma * gamma,
UInt32 * size) ;
__attribute__((visibility("default"))) extern CMError
CMSetGammaByAVID(
CMDisplayIDType theID,
CMVideoCardGamma * gamma) ;
__attribute__((visibility("default"))) extern CMError
CMIterateColorSyncFolder(
CMProfileIterateUPP proc,
UInt32 * seed,
UInt32 * count,
void * refCon) ;
__attribute__((visibility("default"))) extern CMError
CMGetColorSyncFolderSpec(
short vRefNum,
Boolean createFolder,
short * foundVRefNum,
long * foundDirID) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMNewProfileSearch(
CMSearchRecord * searchSpec,
void * refCon,
UInt32 * count,
CMProfileSearchRef * searchResult) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMUpdateProfileSearch(
CMProfileSearchRef search,
void * refCon,
UInt32 * count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern void
CMDisposeProfileSearch(
CMProfileSearchRef search) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMSearchGetIndProfile(
CMProfileSearchRef search,
UInt32 index,
CMProfileRef * prof) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMSearchGetIndProfileFileSpec(
CMProfileSearchRef search,
UInt32 index,
FSSpec * spec) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMCreateProfileIdentifier(
CMProfileRef prof,
CMProfileIdentifierPtr ident,
UInt32 * size) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMProfileIdentifierFolderSearch(
CMProfileIdentifierPtr ident,
UInt32 * matchedCount,
CMProfileSearchRef * searchResult) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMProfileIdentifierListSearch(
CMProfileIdentifierPtr ident,
CMProfileRef * profileList,
UInt32 listSize,
UInt32 * matchedCount,
CMProfileRef * matchedList) __attribute__((deprecated));
# 1337 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetPreferredCMM(
OSType * cmmType,
Boolean * prefCMMnotfound) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMSetPreferredCMM(
OSType cmmType) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMIterateCMMInfo(
CMMIterateUPP proc,
UInt32 * count,
void * refCon) ;
__attribute__((visibility("default"))) extern CMError
CMGetColorSyncVersion(UInt32 * version) ;
__attribute__((visibility("default"))) extern CMError
CMLaunchControlPanel(UInt32 flags) ;
__attribute__((visibility("default"))) extern CMError
CMConvertXYZToLab(
const CMColor * src,
const CMXYZColor * white,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertLabToXYZ(
const CMColor * src,
const CMXYZColor * white,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertXYZToLuv(
const CMColor * src,
const CMXYZColor * white,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertLuvToXYZ(
const CMColor * src,
const CMXYZColor * white,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertXYZToYxy(
const CMColor * src,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertYxyToXYZ(
const CMColor * src,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertRGBToHLS(
const CMColor * src,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertHLSToRGB(
const CMColor * src,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertRGBToHSV(
const CMColor * src,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertHSVToRGB(
const CMColor * src,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertRGBToGray(
const CMColor * src,
CMColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertXYZToFixedXYZ(
const CMXYZColor * src,
CMFixedXYZColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertFixedXYZToXYZ(
const CMFixedXYZColor * src,
CMXYZColor * dst,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMConvertXYZToXYZ(
const CMColor * src,
const CMXYZColor * srcIlluminant,
CMColor * dst,
const CMXYZColor * dstIlluminant,
CMChromaticAdaptation method,
size_t count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMGetPS2ColorSpace(
CMProfileRef srcProf,
UInt32 flags,
CMFlattenUPP proc,
void * refCon,
Boolean * preferredCMMnotfound) ;
__attribute__((visibility("default"))) extern CMError
CMGetPS2ColorRenderingIntent(
CMProfileRef srcProf,
UInt32 flags,
CMFlattenUPP proc,
void * refCon,
Boolean * preferredCMMnotfound) ;
__attribute__((visibility("default"))) extern CMError
CMGetPS2ColorRendering(
CMProfileRef srcProf,
CMProfileRef dstProf,
UInt32 flags,
CMFlattenUPP proc,
void * refCon,
Boolean * preferredCMMnotfound) ;
__attribute__((visibility("default"))) extern CMError
CMGetPS2ColorRenderingVMSize(
CMProfileRef srcProf,
CMProfileRef dstProf,
UInt32 * vmSize,
Boolean * preferredCMMnotfound) ;
# 1539 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
#define kCMPrefsChangedNotification CFSTR("AppleColorSyncPreferencesChangedNotification")
#pragma options align=reset
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
#define __CMFLOATBITMAP__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 2 3
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
enum CMFloatBitmapFlags {
kCMFloatBitmapFlagsNone = 0,
kCMFloatBitmapFlagsAlpha = 1,
kCMFloatBitmapFlagsAlphaPremul = 2,
kCMFloatBitmapFlagsRangeClipped = 4
};
typedef enum CMFloatBitmapFlags CMFloatBitmapFlags;
# 106 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
typedef struct CMFloatBitmap {
unsigned long version;
float * buffers[16];
size_t height;
size_t width;
ptrdiff_t rowStride;
ptrdiff_t colStride;
OSType space;
CMFloatBitmapFlags flags;
} CMFloatBitmap;
__attribute__((visibility("default"))) extern const float kCMIlluminantD50[3] ;
__attribute__((visibility("default"))) extern const float kCMIlluminantD65[3] ;
# 138 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
__attribute__((visibility("default"))) extern CMFloatBitmap
CMFloatBitmapMakeChunky(
float * buffer,
size_t height,
size_t width,
OSType space) ;
# 157 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
__attribute__((visibility("default"))) extern CMError
CMConvertXYZFloatBitmap(
const CMFloatBitmap * src,
const float srcIlluminantXYZ[3],
CMFloatBitmap * dst,
const float dstIlluminantXYZ[3],
CMChromaticAdaptation method) ;
# 174 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
__attribute__((visibility("default"))) extern CMError
CMConvertRGBFloatBitmap(
const CMFloatBitmap * src,
CMFloatBitmap * dst) ;
# 190 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
__attribute__((visibility("default"))) extern CMError
CMMatchFloatBitmap(
CMWorldRef cw,
const CMFloatBitmap * src,
CMFloatBitmap * dst) ;
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
#define __CMDEVICEINTEGRATION__
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 27 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 2 3
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
#pragma options align=mac68k
enum {
cmDeviceInfoVersion1 = 0x00010000,
cmDeviceProfileInfoVersion1 = 0x00010000,
cmDeviceProfileInfoVersion2 = 0x00020000
};
enum {
cmCurrentDeviceInfoVersion = cmDeviceInfoVersion1,
cmCurrentProfileInfoVersion = cmDeviceProfileInfoVersion1
};
enum {
cmDefaultDeviceID = 0,
cmDefaultProfileID = 0
};
enum {
cmDeviceStateDefault = 0x00000000,
cmDeviceStateOffline = 0x00000001,
cmDeviceStateBusy = 0x00000002,
cmDeviceStateForceNotify = (int)0x80000000,
cmDeviceStateDeviceRsvdBits = 0x00FF0000,
cmDeviceStateAppleRsvdBits = (int)0xFF00FFFF
};
# 111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
enum {
cmIterateFactoryDeviceProfiles = 0x00000001,
cmIterateCustomDeviceProfiles = 0x00000002,
cmIterateCurrentDeviceProfiles = 0x00000003,
cmIterateAllDeviceProfiles = 0x00000004,
cmIterateDeviceProfilesMask = 0x0000000F
};
enum {
cmDeviceDBNotFoundErr = -4227,
cmDeviceAlreadyRegistered = -4228,
cmDeviceNotRegistered = -4229,
cmDeviceProfilesNotFound = -4230,
cmInternalCFErr = -4231
};
# 145 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
#define kCMDeviceRegisteredNotification CFSTR("CMDeviceRegisteredNotification")
#define kCMDeviceUnregisteredNotification CFSTR("CMDeviceUnregisteredNotification")
#define kCMDeviceOnlineNotification CFSTR("CMDeviceOnlineNotification")
#define kCMDeviceOfflineNotification CFSTR("CMDeviceOfflineNotification")
#define kCMDeviceStateNotification CFSTR("CMDeviceStateNotification")
#define kCMDefaultDeviceNotification CFSTR("CMDefaultDeviceNotification")
#define kCMDeviceProfilesNotification CFSTR("CMDeviceProfilesNotification")
#define kCMDefaultDeviceProfileNotification CFSTR("CMDefaultDeviceProfileNotification")
#define kCMDisplayDeviceProfilesNotification CFSTR("CMDisplayDeviceProfilesNotification")
typedef UInt32 CMDeviceState;
typedef UInt32 CMDeviceID;
typedef UInt32 CMDeviceProfileID;
enum {
cmScannerDeviceClass = 'scnr',
cmCameraDeviceClass = 'cmra',
cmDisplayDeviceClass = 'mntr',
cmPrinterDeviceClass = 'prtr',
cmProofDeviceClass = 'pruf'
};
typedef OSType CMDeviceClass;
typedef struct CMDeviceScope {
CFStringRef deviceUser;
CFStringRef deviceHost;
} CMDeviceScope, CMDeviceProfileScope;
typedef struct CMDeviceInfo {
UInt32 dataVersion;
CMDeviceClass deviceClass;
CMDeviceID deviceID;
CMDeviceScope deviceScope;
CMDeviceState deviceState;
CMDeviceProfileID defaultProfileID;
CFDictionaryRef * deviceName;
UInt32 profileCount;
UInt32 reserved;
} CMDeviceInfo, *CMDeviceInfoPtr;
typedef struct CMDeviceProfileInfo {
UInt32 dataVersion;
CMDeviceProfileID profileID;
CMProfileLocation profileLoc;
CFDictionaryRef profileName;
UInt32 reserved;
} CMDeviceProfileInfo;
typedef struct NCMDeviceProfileInfo {
UInt32 dataVersion;
CMDeviceProfileID profileID;
CMProfileLocation profileLoc;
CFDictionaryRef profileName;
CMDeviceProfileScope profileScope;
UInt32 reserved;
} NCMDeviceProfileInfo;
typedef struct CMDeviceProfileArray {
UInt32 profileCount;
CMDeviceProfileInfo profiles[1];
} CMDeviceProfileArray, *CMDeviceProfileArrayPtr;
typedef OSErr ( * CMIterateDeviceInfoProcPtr)(const CMDeviceInfo *deviceInfo, void *refCon);
typedef OSErr ( * CMIterateDeviceProfileProcPtr)(const CMDeviceInfo *deviceInfo, const NCMDeviceProfileInfo *profileInfo, void *refCon);
# 266 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMRegisterColorDevice(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CFDictionaryRef deviceName,
const CMDeviceScope * deviceScope) ;
# 285 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMUnregisterColorDevice(
CMDeviceClass deviceClass,
CMDeviceID deviceID) ;
# 301 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDefaultDevice(
CMDeviceClass deviceClass,
CMDeviceID deviceID) ;
# 313 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDefaultDevice(
CMDeviceClass deviceClass,
CMDeviceID * deviceID) ;
# 334 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDeviceFactoryProfiles(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceProfileID defaultProfID,
const CMDeviceProfileArray * deviceProfiles) ;
# 354 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceFactoryProfiles(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceProfileID * defaultProfID,
UInt32 * arraySize,
CMDeviceProfileArray * deviceProfiles) ;
# 376 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDeviceProfiles(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
const CMDeviceProfileScope * profileScope,
const CMDeviceProfileArray * deviceProfiles) __attribute__((deprecated));
# 395 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceProfiles(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
UInt32 * arraySize,
CMDeviceProfileArray * deviceProfiles) __attribute__((deprecated));
# 413 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDeviceDefaultProfileID(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceProfileID defaultProfID) ;
# 427 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceDefaultProfileID(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceProfileID * defaultProfID) ;
# 447 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDeviceProfile(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
const CMDeviceProfileScope * profileScope,
CMDeviceProfileID profileID,
const CMProfileLocation * profileLoc) ;
# 465 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceProfile(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceProfileID profileID,
CMProfileLocation * profileLoc) ;
# 488 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDeviceState(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceState deviceState) ;
# 502 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceState(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceState * deviceState) ;
# 522 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceInfo(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceInfo * deviceInfo) ;
# 547 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMIterateColorDevices(
CMIterateDeviceInfoProcPtr proc,
UInt32 * seed,
UInt32 * count,
void * refCon) ;
# 574 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMIterateDeviceProfiles(
CMIterateDeviceProfileProcPtr proc,
UInt32 * seed,
UInt32 * count,
UInt32 flags,
void * refCon) ;
#pragma options align=reset
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMMComponent.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMMComponent.h" 3
#define __CMMCOMPONENT__
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMMComponent.h" 3
__attribute__((visibility("default"))) extern void
CWColorWorldSetProperty(
CMWorldRef cw,
CFStringRef key,
CFTypeRef value) ;
__attribute__((visibility("default"))) extern const void*
CWColorWorldGetProperty(
CMWorldRef cw,
CFStringRef key) ;
extern CMError
CMM_ConcatColorWorld(
CMWorldRef cw,
NCMConcatProfileSet * profileSet,
CMConcatCallBackUPP proc,
void * refCon);
extern CMError
CMM_MatchColors(
CMWorldRef cw,
CMColor * colors,
UInt32 count);
extern CMError
CMM_CheckColors(
CMWorldRef cw,
CMColor * colors,
UInt32 count,
UInt8 * result);
extern CMError
CMM_ValidateProfile(
CMProfileRef prof,
Boolean * valid);
extern CMError
CMM_MatchBitmap(
CMWorldRef cw,
CMBitmap * bitmap,
CMBitmapCallBackUPP progressProc,
void * refCon,
CMBitmap * matchedBitmap);
extern CMError
CMM_CheckBitmap(
CMWorldRef cw,
const CMBitmap * bitmap,
CMBitmapCallBackUPP progressProc,
void * refCon,
CMBitmap * resultBitmap);
extern CMError
CMM_MatchFloatBitmap(
CMWorldRef cw,
const CMFloatBitmap * bitmap,
CMFloatBitmap * resultBitmap);
extern CMError
CMM_CreateLinkProfile(
CMProfileRef prof,
NCMConcatProfileSet * profileSet,
CMConcatCallBackUPP proc,
void * refCon);
extern CFTypeRef
CMM_GetProperty(
CMWorldRef cw,
CFStringRef requestedKey);
# 41 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMScriptingPlugin.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMScriptingPlugin.h" 3
#define __CMSCRIPTINGPLUGIN__
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMScriptingPlugin.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMScriptingPlugin.h" 2 3
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMScriptingPlugin.h" 3
enum {
cmspInvalidImageFile = -4220,
cmspInvalidImageSpace = -4221,
cmspInvalidProfileEmbed = -4222,
cmspInvalidProfileSource = -4223,
cmspInvalidProfileDest = -4224,
cmspInvalidProfileProof = -4225,
cmspInvalidProfileLink = -4226
};
enum {
cmspFavorEmbeddedMask = 0x00000001
};
__attribute__((visibility("default"))) extern CMError
CMValidImage(const FSSpec * spec) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMGetImageSpace(
const FSSpec * spec,
OSType * space) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMEmbedImage(
const FSSpec * specFrom,
const FSSpec * specInto,
Boolean repl,
CMProfileRef embProf) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMUnembedImage(
const FSSpec * specFrom,
const FSSpec * specInto,
Boolean repl) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMMatchImage(
const FSSpec * specFrom,
const FSSpec * specInto,
Boolean repl,
UInt32 qual,
CMProfileRef srcProf,
UInt32 srcIntent,
CMProfileRef dstProf) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMProofImage(
const FSSpec * specFrom,
const FSSpec * specInto,
Boolean repl,
UInt32 qual,
CMProfileRef srcProf,
UInt32 srcIntent,
CMProfileRef dstProf,
CMProfileRef prfProf) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMLinkImage(
const FSSpec * specFrom,
const FSSpec * specInto,
Boolean repl,
UInt32 qual,
CMProfileRef lnkProf,
UInt32 lnkIntent) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMCountImageProfiles(
const FSSpec * spec,
UInt32 * count) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMGetIndImageProfile(
const FSSpec * spec,
UInt32 index,
CMProfileRef * prof) __attribute__((deprecated));
__attribute__((visibility("default"))) extern CMError
CMSetIndImageProfile(
const FSSpec * specFrom,
const FSSpec * specInto,
Boolean repl,
UInt32 index,
CMProfileRef prof) __attribute__((deprecated));
# 45 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
#define __QUICKDRAWTYPES__
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
#define __QUICKDRAWTEXT__
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
#pragma pack(push, 2)
# 52 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
enum {
leftCaret = 0,
rightCaret = -1,
kHilite = 1
};
enum {
smLeftCaret = 0,
smRightCaret = -1,
smHilite = 1
};
enum {
onlyStyleRun = 0,
leftStyleRun = 1,
rightStyleRun = 2,
middleStyleRun = 3,
smOnlyStyleRun = 0,
smLeftStyleRun = 1,
smRightStyleRun = 2,
smMiddleStyleRun = 3
};
typedef short JustStyleCode;
typedef short TruncCode;
enum {
truncEnd = 0,
truncMiddle = 0x4000,
smTruncEnd = 0,
smTruncMiddle = 0x4000
};
enum {
notTruncated = 0,
truncated = 1,
truncErr = -1,
smNotTruncated = 0,
smTruncated = 1,
smTruncErr = -1
};
typedef SInt8 StyledLineBreakCode;
enum {
smBreakWord = 0,
smBreakChar = 1,
smBreakOverflow = 2
};
enum {
tfAntiAlias = 1 << 0,
tfUnicode = 1 << 1
};
struct FontInfo {
short ascent;
short descent;
short widMax;
short leading;
};
typedef struct FontInfo FontInfo;
typedef short FormatOrder[1];
typedef FormatOrder * FormatOrderPtr;
# 138 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern OSStatus
StandardGlyphs(
void * dataStream,
ByteCount size) __attribute__((deprecated));
typedef Boolean ( * StyleRunDirectionProcPtr)(short styleRunIndex, void *dirParam);
typedef StyleRunDirectionProcPtr StyleRunDirectionUPP;
# 156 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern StyleRunDirectionUPP
NewStyleRunDirectionUPP(StyleRunDirectionProcPtr userRoutine) __attribute__((deprecated));
# 167 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
DisposeStyleRunDirectionUPP(StyleRunDirectionUPP userUPP) __attribute__((deprecated));
# 178 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern Boolean
InvokeStyleRunDirectionUPP(
short styleRunIndex,
void * dirParam,
StyleRunDirectionUPP userUPP) __attribute__((deprecated));
#define NewStyleRunDirectionUPP(userRoutine) ((StyleRunDirectionUPP)userRoutine)
#define DisposeStyleRunDirectionUPP(userUPP)
#define InvokeStyleRunDirectionUPP(styleRunIndex,dirParam,userUPP) (*userUPP)(styleRunIndex, dirParam)
# 225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern short
PixelToChar(
Ptr textBuf,
long textLength,
Fixed slop,
Fixed pixelWidth,
Boolean * leadingEdge,
Fixed * widthRemaining,
JustStyleCode styleRunPosition,
Point numer,
Point denom) __attribute__((deprecated));
# 246 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern short
CharToPixel(
Ptr textBuf,
long textLength,
Fixed slop,
long offset,
short direction,
JustStyleCode styleRunPosition,
Point numer,
Point denom) __attribute__((deprecated));
# 266 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
DrawJustified(
Ptr textPtr,
long textLength,
Fixed slop,
JustStyleCode styleRunPosition,
Point numer,
Point denom) __attribute__((deprecated));
# 284 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
MeasureJustified(
Ptr textPtr,
long textLength,
Fixed slop,
Ptr charLocs,
JustStyleCode styleRunPosition,
Point numer,
Point denom) __attribute__((deprecated));
# 303 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern Fixed
PortionLine(
Ptr textPtr,
long textLen,
JustStyleCode styleRunPosition,
Point numer,
Point denom) __attribute__((deprecated));
# 320 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
HiliteText(
Ptr textPtr,
short textLength,
short firstOffset,
short secondOffset,
OffsetTable offsets) __attribute__((deprecated));
# 367 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern long
VisibleLength(
Ptr textPtr,
long textLength) __attribute__((deprecated));
# 381 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
GetFormatOrder(
FormatOrderPtr ordering,
short firstFormat,
short lastFormat,
Boolean lineRight,
StyleRunDirectionUPP rlDirProc,
Ptr dirParam) __attribute__((deprecated));
# 399 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
TextFont(short font) __attribute__((deprecated));
# 411 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
TextFace(StyleParameter face) __attribute__((deprecated));
# 423 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
TextMode(short mode) __attribute__((deprecated));
# 435 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
TextSize(short size) __attribute__((deprecated));
# 447 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
SpaceExtra(Fixed extra) __attribute__((deprecated));
# 459 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
DrawChar(CharParameter ch) __attribute__((deprecated));
# 471 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
DrawString(ConstStr255Param s) __attribute__((deprecated));
# 484 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
#define MacDrawText DrawText
extern void
DrawText(
const void * textBuf,
short firstByte,
short byteCount) __attribute__((deprecated));
# 501 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern short
CharWidth(CharParameter ch) __attribute__((deprecated));
# 513 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern short
StringWidth(ConstStr255Param s) __attribute__((deprecated));
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern short
TextWidth(
const void * textBuf,
short firstByte,
short byteCount) __attribute__((deprecated));
# 540 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
MeasureText(
short count,
const void * textAddr,
void * charLocs) __attribute__((deprecated));
# 555 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
GetFontInfo(FontInfo * info) __attribute__((deprecated));
# 567 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
CharExtra(Fixed extra) __attribute__((deprecated));
# 579 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
StdText(
short count,
const void * textAddr,
Point numer,
Point denom) __attribute__((deprecated));
# 595 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern short
StdTxMeas(
short byteCount,
const void * textAddr,
Point * numer,
Point * denom,
FontInfo * info) __attribute__((deprecated));
# 612 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern StyledLineBreakCode
StyledLineBreak(
Ptr textPtr,
SInt32 textLen,
SInt32 textStart,
SInt32 textEnd,
SInt32 flags,
Fixed * textWidth,
SInt32 * textOffset) __attribute__((deprecated));
# 631 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern short
TruncString(
short width,
Str255 theString,
TruncCode truncWhere) __attribute__((deprecated));
# 646 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern short
TruncText(
short width,
Ptr textPtr,
short * length,
TruncCode truncWhere) __attribute__((deprecated));
# 686 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
stdtext(
short count,
const void * textAddr,
const Point * numer,
const Point * denom) __attribute__((deprecated));
# 708 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern UInt32
SwapQDTextFlags(UInt32 newFlags) __attribute__((deprecated));
# 728 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
#pragma pack(pop)
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 2 3
# 48 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
#pragma pack(push, 2)
enum {
invalColReq = -1
};
enum {
srcCopy = 0,
srcOr = 1,
srcXor = 2,
srcBic = 3,
notSrcCopy = 4,
notSrcOr = 5,
notSrcXor = 6,
notSrcBic = 7,
patCopy = 8,
patOr = 9,
patXor = 10,
patBic = 11,
notPatCopy = 12,
notPatOr = 13,
notPatXor = 14,
notPatBic = 15,
grayishTextOr = 49,
hilitetransfermode = 50,
hilite = 50,
blend = 32,
addPin = 33,
addOver = 34,
subPin = 35,
addMax = 37,
adMax = 37,
subOver = 38,
adMin = 39,
ditherCopy = 64,
transparent = 36
};
enum {
italicBit = 1,
ulineBit = 2,
outlineBit = 3,
shadowBit = 4,
condenseBit = 5,
extendBit = 6
};
enum {
normalBit = 0,
inverseBit = 1,
redBit = 4,
greenBit = 3,
blueBit = 2,
cyanBit = 8,
magentaBit = 7,
yellowBit = 6,
blackBit = 5
};
enum {
blackColor = 33,
whiteColor = 30,
redColor = 205,
greenColor = 341,
blueColor = 409,
cyanColor = 273,
magentaColor = 137,
yellowColor = 69
};
enum {
picLParen = 0,
picRParen = 1
};
enum {
clutType = 0,
fixedType = 1,
directType = 2
};
enum {
gdDevType = 0,
interlacedDevice = 2,
hwMirroredDevice = 4,
roundedDevice = 5,
hasAuxMenuBar = 6,
burstDevice = 7,
ext32Device = 8,
ramInit = 10,
mainScreen = 11,
allInit = 12,
screenDevice = 13,
noDriver = 14,
screenActive = 15
};
enum {
hiliteBit = 7,
pHiliteBit = 0
};
enum {
defQDColors = 127,
RGBDirect = 16,
baseAddr32 = 4
};
enum {
sysPatListID = 0,
iBeamCursor = 1,
crossCursor = 2,
plusCursor = 3,
watchCursor = 4
};
enum {
kQDGrafVerbFrame = 0,
kQDGrafVerbPaint = 1,
kQDGrafVerbErase = 2,
kQDGrafVerbInvert = 3,
kQDGrafVerbFill = 4
};
# 188 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
typedef SInt8 GrafVerb;
enum {
chunky = 0,
chunkyPlanar = 1,
planar = 2
};
typedef SInt8 PixelType;
typedef short Bits16[16];
# 208 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
struct Pattern {
UInt8 pat[8];
};
typedef struct Pattern Pattern;
typedef const Pattern * ConstPatternParam;
typedef Pattern * PatPtr;
typedef PatPtr * PatHandle;
typedef SignedByte QDByte;
typedef QDByte * QDPtr;
typedef QDPtr * QDHandle;
typedef short QDErr;
enum {
singleDevicesBit = 0,
dontMatchSeedsBit = 1,
allDevicesBit = 2
};
enum {
singleDevices = 1 << singleDevicesBit,
dontMatchSeeds = 1 << dontMatchSeedsBit,
allDevices = 1 << allDevicesBit
};
typedef unsigned long DeviceLoopFlags;
typedef SInt32 PrinterStatusOpcode;
enum {
kPrinterFontStatus = 0,
kPrinterScalingStatus = 1
};
struct PrinterFontStatus {
SInt32 oResult;
SInt16 iFondID;
Style iStyle;
};
typedef struct PrinterFontStatus PrinterFontStatus;
struct PrinterScalingStatus {
Point oScalingFactors;
};
typedef struct PrinterScalingStatus PrinterScalingStatus;
struct BitMap {
Ptr baseAddr;
short rowBytes;
Rect bounds;
};
typedef struct BitMap BitMap;
typedef BitMap * BitMapPtr;
typedef BitMapPtr * BitMapHandle;
struct Cursor {
Bits16 data;
Bits16 mask;
Point hotSpot;
};
typedef struct Cursor Cursor;
typedef Cursor * CursPtr;
typedef CursPtr * CursHandle;
struct PenState {
Point pnLoc;
Point pnSize;
short pnMode;
Pattern pnPat;
};
typedef struct PenState PenState;
# 293 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
typedef struct OpaqueRgnHandle* RgnHandle;
struct Picture {
short picSize;
Rect picFrame;
};
typedef struct Picture Picture;
typedef Picture * PicPtr;
typedef PicPtr * PicHandle;
struct MacPolygon {
short polySize;
Rect polyBBox;
Point polyPoints[1];
};
typedef struct MacPolygon MacPolygon;
typedef MacPolygon Polygon;
typedef MacPolygon * PolyPtr;
typedef PolyPtr * PolyHandle;
typedef void ( * QDTextProcPtr)(short byteCount, const void *textBuf, Point numer, Point denom);
typedef void ( * QDLineProcPtr)(Point newPt);
typedef void ( * QDRectProcPtr)(GrafVerb verb, const Rect *r);
typedef void ( * QDRRectProcPtr)(GrafVerb verb, const Rect *r, short ovalWidth, short ovalHeight);
typedef void ( * QDOvalProcPtr)(GrafVerb verb, const Rect *r);
typedef void ( * QDArcProcPtr)(GrafVerb verb, const Rect *r, short startAngle, short arcAngle);
typedef void ( * QDPolyProcPtr)(GrafVerb verb, PolyHandle poly);
typedef void ( * QDRgnProcPtr)(GrafVerb verb, RgnHandle rgn);
typedef void ( * QDBitsProcPtr)(const BitMap *srcBits, const Rect *srcRect, const Rect *dstRect, short mode, RgnHandle maskRgn);
typedef void ( * QDCommentProcPtr)(short kind, short dataSize, Handle dataHandle);
typedef short ( * QDTxMeasProcPtr)(short byteCount, const void *textAddr, Point *numer, Point *denom, FontInfo *info);
typedef void ( * QDGetPicProcPtr)(void *dataPtr, short byteCount);
typedef void ( * QDPutPicProcPtr)(const void *dataPtr, short byteCount);
typedef void ( * QDOpcodeProcPtr)(const Rect *fromRect, const Rect *toRect, UInt16 opcode, SInt16 version);
typedef OSStatus ( * QDStdGlyphsProcPtr)(void *dataStream, ByteCount size);
typedef void ( * QDJShieldCursorProcPtr)(short left, short top, short right, short bottom);
typedef QDTextProcPtr QDTextUPP;
typedef QDLineProcPtr QDLineUPP;
typedef QDRectProcPtr QDRectUPP;
typedef QDRRectProcPtr QDRRectUPP;
typedef QDOvalProcPtr QDOvalUPP;
typedef QDArcProcPtr QDArcUPP;
typedef QDPolyProcPtr QDPolyUPP;
typedef QDRgnProcPtr QDRgnUPP;
typedef QDBitsProcPtr QDBitsUPP;
typedef QDCommentProcPtr QDCommentUPP;
typedef QDTxMeasProcPtr QDTxMeasUPP;
typedef QDGetPicProcPtr QDGetPicUPP;
typedef QDPutPicProcPtr QDPutPicUPP;
typedef QDOpcodeProcPtr QDOpcodeUPP;
typedef QDStdGlyphsProcPtr QDStdGlyphsUPP;
typedef QDJShieldCursorProcPtr QDJShieldCursorUPP;
struct QDProcs {
QDTextUPP textProc;
QDLineUPP lineProc;
QDRectUPP rectProc;
QDRRectUPP rRectProc;
QDOvalUPP ovalProc;
QDArcUPP arcProc;
QDPolyUPP polyProc;
QDRgnUPP rgnProc;
QDBitsUPP bitsProc;
QDCommentUPP commentProc;
QDTxMeasUPP txMeasProc;
QDGetPicUPP getPicProc;
QDPutPicUPP putPicProc;
};
typedef struct QDProcs QDProcs;
typedef QDProcs * QDProcsPtr;
# 374 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDTextUPP
NewQDTextUPP(QDTextProcPtr userRoutine) __attribute__((deprecated));
# 385 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDLineUPP
NewQDLineUPP(QDLineProcPtr userRoutine) __attribute__((deprecated));
# 396 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDRectUPP
NewQDRectUPP(QDRectProcPtr userRoutine) __attribute__((deprecated));
# 407 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDRRectUPP
NewQDRRectUPP(QDRRectProcPtr userRoutine) __attribute__((deprecated));
# 418 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDOvalUPP
NewQDOvalUPP(QDOvalProcPtr userRoutine) __attribute__((deprecated));
# 429 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDArcUPP
NewQDArcUPP(QDArcProcPtr userRoutine) __attribute__((deprecated));
# 440 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDPolyUPP
NewQDPolyUPP(QDPolyProcPtr userRoutine) __attribute__((deprecated));
# 451 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDRgnUPP
NewQDRgnUPP(QDRgnProcPtr userRoutine) __attribute__((deprecated));
# 462 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDBitsUPP
NewQDBitsUPP(QDBitsProcPtr userRoutine) __attribute__((deprecated));
# 473 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDCommentUPP
NewQDCommentUPP(QDCommentProcPtr userRoutine) __attribute__((deprecated));
# 484 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDTxMeasUPP
NewQDTxMeasUPP(QDTxMeasProcPtr userRoutine) __attribute__((deprecated));
# 495 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDGetPicUPP
NewQDGetPicUPP(QDGetPicProcPtr userRoutine) __attribute__((deprecated));
# 506 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDPutPicUPP
NewQDPutPicUPP(QDPutPicProcPtr userRoutine) __attribute__((deprecated));
# 517 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDOpcodeUPP
NewQDOpcodeUPP(QDOpcodeProcPtr userRoutine) __attribute__((deprecated));
# 528 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDStdGlyphsUPP
NewQDStdGlyphsUPP(QDStdGlyphsProcPtr userRoutine) __attribute__((deprecated));
# 539 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDJShieldCursorUPP
NewQDJShieldCursorUPP(QDJShieldCursorProcPtr userRoutine) __attribute__((deprecated));
# 550 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDTextUPP(QDTextUPP userUPP) __attribute__((deprecated));
# 561 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDLineUPP(QDLineUPP userUPP) __attribute__((deprecated));
# 572 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDRectUPP(QDRectUPP userUPP) __attribute__((deprecated));
# 583 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDRRectUPP(QDRRectUPP userUPP) __attribute__((deprecated));
# 594 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDOvalUPP(QDOvalUPP userUPP) __attribute__((deprecated));
# 605 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDArcUPP(QDArcUPP userUPP) __attribute__((deprecated));
# 616 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDPolyUPP(QDPolyUPP userUPP) __attribute__((deprecated));
# 627 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDRgnUPP(QDRgnUPP userUPP) __attribute__((deprecated));
# 638 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDBitsUPP(QDBitsUPP userUPP) __attribute__((deprecated));
# 649 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDCommentUPP(QDCommentUPP userUPP) __attribute__((deprecated));
# 660 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDTxMeasUPP(QDTxMeasUPP userUPP) __attribute__((deprecated));
# 671 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDGetPicUPP(QDGetPicUPP userUPP) __attribute__((deprecated));
# 682 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDPutPicUPP(QDPutPicUPP userUPP) __attribute__((deprecated));
# 693 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDOpcodeUPP(QDOpcodeUPP userUPP) __attribute__((deprecated));
# 704 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDStdGlyphsUPP(QDStdGlyphsUPP userUPP) __attribute__((deprecated));
# 715 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDJShieldCursorUPP(QDJShieldCursorUPP userUPP) __attribute__((deprecated));
# 726 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDTextUPP(
short byteCount,
const void * textBuf,
Point numer,
Point denom,
QDTextUPP userUPP) __attribute__((deprecated));
# 742 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDLineUPP(
Point newPt,
QDLineUPP userUPP) __attribute__((deprecated));
# 755 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDRectUPP(
GrafVerb verb,
const Rect * r,
QDRectUPP userUPP) __attribute__((deprecated));
# 769 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDRRectUPP(
GrafVerb verb,
const Rect * r,
short ovalWidth,
short ovalHeight,
QDRRectUPP userUPP) __attribute__((deprecated));
# 785 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDOvalUPP(
GrafVerb verb,
const Rect * r,
QDOvalUPP userUPP) __attribute__((deprecated));
# 799 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDArcUPP(
GrafVerb verb,
const Rect * r,
short startAngle,
short arcAngle,
QDArcUPP userUPP) __attribute__((deprecated));
# 815 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDPolyUPP(
GrafVerb verb,
PolyHandle poly,
QDPolyUPP userUPP) __attribute__((deprecated));
# 829 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDRgnUPP(
GrafVerb verb,
RgnHandle rgn,
QDRgnUPP userUPP) __attribute__((deprecated));
# 843 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDBitsUPP(
const BitMap * srcBits,
const Rect * srcRect,
const Rect * dstRect,
short mode,
RgnHandle maskRgn,
QDBitsUPP userUPP) __attribute__((deprecated));
# 860 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDCommentUPP(
short kind,
short dataSize,
Handle dataHandle,
QDCommentUPP userUPP) __attribute__((deprecated));
# 875 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern short
InvokeQDTxMeasUPP(
short byteCount,
const void * textAddr,
Point * numer,
Point * denom,
FontInfo * info,
QDTxMeasUPP userUPP) __attribute__((deprecated));
# 892 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDGetPicUPP(
void * dataPtr,
short byteCount,
QDGetPicUPP userUPP) __attribute__((deprecated));
# 906 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDPutPicUPP(
const void * dataPtr,
short byteCount,
QDPutPicUPP userUPP) __attribute__((deprecated));
# 920 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDOpcodeUPP(
const Rect * fromRect,
const Rect * toRect,
UInt16 opcode,
SInt16 version,
QDOpcodeUPP userUPP) __attribute__((deprecated));
# 936 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern OSStatus
InvokeQDStdGlyphsUPP(
void * dataStream,
ByteCount size,
QDStdGlyphsUPP userUPP) __attribute__((deprecated));
# 950 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDJShieldCursorUPP(
short left,
short top,
short right,
short bottom,
QDJShieldCursorUPP userUPP) __attribute__((deprecated));
# 1009 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
#define NewQDTextUPP(userRoutine) ((QDTextUPP)userRoutine)
#define NewQDLineUPP(userRoutine) ((QDLineUPP)userRoutine)
#define NewQDRectUPP(userRoutine) ((QDRectUPP)userRoutine)
#define NewQDRRectUPP(userRoutine) ((QDRRectUPP)userRoutine)
#define NewQDOvalUPP(userRoutine) ((QDOvalUPP)userRoutine)
#define NewQDArcUPP(userRoutine) ((QDArcUPP)userRoutine)
#define NewQDPolyUPP(userRoutine) ((QDPolyUPP)userRoutine)
#define NewQDRgnUPP(userRoutine) ((QDRgnUPP)userRoutine)
#define NewQDBitsUPP(userRoutine) ((QDBitsUPP)userRoutine)
#define NewQDCommentUPP(userRoutine) ((QDCommentUPP)userRoutine)
#define NewQDTxMeasUPP(userRoutine) ((QDTxMeasUPP)userRoutine)
#define NewQDGetPicUPP(userRoutine) ((QDGetPicUPP)userRoutine)
#define NewQDPutPicUPP(userRoutine) ((QDPutPicUPP)userRoutine)
#define NewQDOpcodeUPP(userRoutine) ((QDOpcodeUPP)userRoutine)
#define NewQDStdGlyphsUPP(userRoutine) ((QDStdGlyphsUPP)userRoutine)
#define NewQDJShieldCursorUPP(userRoutine) ((QDJShieldCursorUPP)userRoutine)
#define DisposeQDTextUPP(userUPP)
#define DisposeQDLineUPP(userUPP)
#define DisposeQDRectUPP(userUPP)
#define DisposeQDRRectUPP(userUPP)
#define DisposeQDOvalUPP(userUPP)
#define DisposeQDArcUPP(userUPP)
#define DisposeQDPolyUPP(userUPP)
#define DisposeQDRgnUPP(userUPP)
#define DisposeQDBitsUPP(userUPP)
#define DisposeQDCommentUPP(userUPP)
#define DisposeQDTxMeasUPP(userUPP)
#define DisposeQDGetPicUPP(userUPP)
#define DisposeQDPutPicUPP(userUPP)
#define DisposeQDOpcodeUPP(userUPP)
#define DisposeQDStdGlyphsUPP(userUPP)
#define DisposeQDJShieldCursorUPP(userUPP)
#define InvokeQDTextUPP(byteCount,textBuf,numer,denom,userUPP) (*userUPP)(byteCount, textBuf, numer, denom)
#define InvokeQDLineUPP(newPt,userUPP) (*userUPP)(newPt)
#define InvokeQDRectUPP(verb,r,userUPP) (*userUPP)(verb, r)
#define InvokeQDRRectUPP(verb,r,ovalWidth,ovalHeight,userUPP) (*userUPP)(verb, r, ovalWidth, ovalHeight)
#define InvokeQDOvalUPP(verb,r,userUPP) (*userUPP)(verb, r)
#define InvokeQDArcUPP(verb,r,startAngle,arcAngle,userUPP) (*userUPP)(verb, r, startAngle, arcAngle)
#define InvokeQDPolyUPP(verb,poly,userUPP) (*userUPP)(verb, poly)
#define InvokeQDRgnUPP(verb,rgn,userUPP) (*userUPP)(verb, rgn)
#define InvokeQDBitsUPP(srcBits,srcRect,dstRect,mode,maskRgn,userUPP) (*userUPP)(srcBits, srcRect, dstRect, mode, maskRgn)
#define InvokeQDCommentUPP(kind,dataSize,dataHandle,userUPP) (*userUPP)(kind, dataSize, dataHandle)
#define InvokeQDTxMeasUPP(byteCount,textAddr,numer,denom,info,userUPP) (*userUPP)(byteCount, textAddr, numer, denom, info)
#define InvokeQDGetPicUPP(dataPtr,byteCount,userUPP) (*userUPP)(dataPtr, byteCount)
#define InvokeQDPutPicUPP(dataPtr,byteCount,userUPP) (*userUPP)(dataPtr, byteCount)
#define InvokeQDOpcodeUPP(fromRect,toRect,opcode,version,userUPP) (*userUPP)(fromRect, toRect, opcode, version)
#define InvokeQDStdGlyphsUPP(dataStream,size,userUPP) (*userUPP)(dataStream, size)
#define InvokeQDJShieldCursorUPP(left,top,right,bottom,userUPP) (*userUPP)(left, top, right, bottom)
# 1100 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
typedef struct OpaqueWindowPtr* WindowPtr;
typedef struct OpaqueDialogPtr* DialogPtr;
typedef struct OpaqueGrafPtr* GrafPtr;
typedef WindowPtr WindowRef;
typedef UInt16 DragConstraint;
enum {
kNoConstraint = 0,
kVerticalConstraint = 1,
kHorizontalConstraint = 2
};
typedef void ( * DragGrayRgnProcPtr)(void);
struct RGBColor {
unsigned short red;
unsigned short green;
unsigned short blue;
};
typedef struct RGBColor RGBColor;
typedef RGBColor * RGBColorPtr;
typedef RGBColorPtr * RGBColorHdl;
typedef Boolean ( * ColorSearchProcPtr)(RGBColor *rgb, long *position);
typedef Boolean ( * ColorComplementProcPtr)(RGBColor * rgb);
typedef DragGrayRgnProcPtr DragGrayRgnUPP;
typedef ColorSearchProcPtr ColorSearchUPP;
typedef ColorComplementProcPtr ColorComplementUPP;
# 1142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern DragGrayRgnUPP
NewDragGrayRgnUPP(DragGrayRgnProcPtr userRoutine) __attribute__((deprecated));
# 1153 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern ColorSearchUPP
NewColorSearchUPP(ColorSearchProcPtr userRoutine) __attribute__((deprecated));
# 1164 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern ColorComplementUPP
NewColorComplementUPP(ColorComplementProcPtr userRoutine) __attribute__((deprecated));
# 1175 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeDragGrayRgnUPP(DragGrayRgnUPP userUPP) __attribute__((deprecated));
# 1186 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeColorSearchUPP(ColorSearchUPP userUPP) __attribute__((deprecated));
# 1197 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeColorComplementUPP(ColorComplementUPP userUPP) __attribute__((deprecated));
# 1208 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeDragGrayRgnUPP(DragGrayRgnUPP userUPP) __attribute__((deprecated));
# 1219 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern Boolean
InvokeColorSearchUPP(
RGBColor * rgb,
long * position,
ColorSearchUPP userUPP) __attribute__((deprecated));
# 1233 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern Boolean
InvokeColorComplementUPP(
RGBColor * rgb,
ColorComplementUPP userUPP) __attribute__((deprecated));
# 1250 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
#define NewDragGrayRgnUPP(userRoutine) ((DragGrayRgnUPP)userRoutine)
#define NewColorSearchUPP(userRoutine) ((ColorSearchUPP)userRoutine)
#define NewColorComplementUPP(userRoutine) ((ColorComplementUPP)userRoutine)
#define DisposeDragGrayRgnUPP(userUPP)
#define DisposeColorSearchUPP(userUPP)
#define DisposeColorComplementUPP(userUPP)
#define InvokeDragGrayRgnUPP(userUPP) (*userUPP)()
#define InvokeColorSearchUPP(rgb,position,userUPP) (*userUPP)(rgb, position)
#define InvokeColorComplementUPP(rgb,userUPP) (*userUPP)(rgb)
struct ColorSpec {
short value;
RGBColor rgb;
};
typedef struct ColorSpec ColorSpec;
typedef ColorSpec * ColorSpecPtr;
typedef ColorSpec CSpecArray[1];
struct ColorTable {
SInt32 ctSeed;
short ctFlags;
short ctSize;
CSpecArray ctTable;
};
typedef struct ColorTable ColorTable;
typedef ColorTable * CTabPtr;
typedef CTabPtr * CTabHandle;
struct xColorSpec {
short value;
RGBColor rgb;
short xalpha;
};
typedef struct xColorSpec xColorSpec;
typedef xColorSpec * xColorSpecPtr;
typedef xColorSpec xCSpecArray[1];
struct MatchRec {
unsigned short red;
unsigned short green;
unsigned short blue;
long matchData;
};
typedef struct MatchRec MatchRec;
#define OLDPIXMAPSTRUCT 0
#define NON_MAC_PIXEL_FORMATS 1
#define GETPIXMAPPIXELFORMAT(pm) ( ((pm)->pixelFormat != 0) ? (UInt32)(pm)->pixelFormat : (UInt32)(pm)->pixelSize )
# 1310 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
enum {
k1MonochromePixelFormat = 0x00000001,
k2IndexedPixelFormat = 0x00000002,
k4IndexedPixelFormat = 0x00000004,
k8IndexedPixelFormat = 0x00000008,
k16BE555PixelFormat = 0x00000010,
k24RGBPixelFormat = 0x00000018,
k32ARGBPixelFormat = 0x00000020,
k1IndexedGrayPixelFormat = 0x00000021,
k2IndexedGrayPixelFormat = 0x00000022,
k4IndexedGrayPixelFormat = 0x00000024,
k8IndexedGrayPixelFormat = 0x00000028,
k16LE555PixelFormat = 'L555',
k16LE5551PixelFormat = '5551',
k16BE565PixelFormat = 'B565',
k16LE565PixelFormat = 'L565',
k24BGRPixelFormat = '24BG',
k32BGRAPixelFormat = 'BGRA',
k32ABGRPixelFormat = 'ABGR',
k32RGBAPixelFormat = 'RGBA',
kYUVSPixelFormat = 'yuvs',
kYUVUPixelFormat = 'yuvu',
kYVU9PixelFormat = 'YVU9',
kYUV411PixelFormat = 'Y411',
kYVYU422PixelFormat = 'YVYU',
kUYVY422PixelFormat = 'UYVY',
kYUV211PixelFormat = 'Y211',
k2vuyPixelFormat = '2vuy'
};
struct PixMap {
Ptr baseAddr;
short rowBytes;
Rect bounds;
short pmVersion;
short packType;
SInt32 packSize;
Fixed hRes;
Fixed vRes;
short pixelType;
short pixelSize;
short cmpCount;
short cmpSize;
OSType pixelFormat;
CTabHandle pmTable;
void * pmExt;
};
typedef struct PixMap PixMap;
typedef PixMap * PixMapPtr;
typedef PixMapPtr * PixMapHandle;
struct PixPat {
short patType;
PixMapHandle patMap;
Handle patData;
Handle patXData;
short patXValid;
Handle patXMap;
Pattern pat1Data;
};
typedef struct PixPat PixPat;
typedef PixPat * PixPatPtr;
typedef PixPatPtr * PixPatHandle;
struct CCrsr {
short crsrType;
PixMapHandle crsrMap;
Handle crsrData;
Handle crsrXData;
short crsrXValid;
Handle crsrXHandle;
Bits16 crsr1Data;
Bits16 crsrMask;
Point crsrHotSpot;
SInt32 crsrXTable;
SInt32 crsrID;
};
typedef struct CCrsr CCrsr;
typedef CCrsr * CCrsrPtr;
typedef CCrsrPtr * CCrsrHandle;
struct GammaTbl {
short gVersion;
short gType;
short gFormulaSize;
short gChanCnt;
short gDataCnt;
short gDataWidth;
short gFormulaData[1];
};
typedef struct GammaTbl GammaTbl;
typedef GammaTbl * GammaTblPtr;
typedef GammaTblPtr * GammaTblHandle;
struct ITab {
SInt32 iTabSeed;
short iTabRes;
Byte iTTable[1];
};
typedef struct ITab ITab;
typedef ITab * ITabPtr;
typedef ITabPtr * ITabHandle;
struct SProcRec {
Handle nxtSrch;
ColorSearchUPP srchProc;
};
typedef struct SProcRec SProcRec;
typedef SProcRec * SProcPtr;
typedef SProcPtr * SProcHndl;
struct CProcRec {
Handle nxtComp;
ColorComplementUPP compProc;
};
typedef struct CProcRec CProcRec;
typedef CProcRec * CProcPtr;
typedef CProcPtr * CProcHndl;
#define OLDGDEVICESTRUCT 0
typedef struct GDevice GDevice;
typedef GDevice * GDPtr;
typedef GDPtr * GDHandle;
struct GDevice {
short gdRefNum;
short gdID;
short gdType;
ITabHandle gdITable;
short gdResPref;
SProcHndl gdSearchProc;
CProcHndl gdCompProc;
short gdFlags;
PixMapHandle gdPMap;
SInt32 gdRefCon;
GDHandle gdNextGD;
Rect gdRect;
SInt32 gdMode;
short gdCCBytes;
short gdCCDepth;
Handle gdCCXData;
Handle gdCCXMask;
Handle gdExt;
};
struct GrafVars {
RGBColor rgbOpColor;
RGBColor rgbHiliteColor;
Handle pmFgColor;
short pmFgIndex;
Handle pmBkColor;
short pmBkIndex;
short pmFlags;
};
typedef struct GrafVars GrafVars;
typedef GrafVars * GVarPtr;
typedef GVarPtr * GVarHandle;
typedef GrafPtr CGrafPtr;
typedef OSStatus ( * QDPrinterStatusProcPtr)(PrinterStatusOpcode opcode, CGrafPtr currentPort, void *printerStatus);
typedef QDPrinterStatusProcPtr QDPrinterStatusUPP;
struct CQDProcs {
QDTextUPP textProc;
QDLineUPP lineProc;
QDRectUPP rectProc;
QDRRectUPP rRectProc;
QDOvalUPP ovalProc;
QDArcUPP arcProc;
QDPolyUPP polyProc;
QDRgnUPP rgnProc;
QDBitsUPP bitsProc;
QDCommentUPP commentProc;
QDTxMeasUPP txMeasProc;
QDGetPicUPP getPicProc;
QDPutPicUPP putPicProc;
QDOpcodeUPP opcodeProc;
UniversalProcPtr newProc1;
QDStdGlyphsUPP glyphsProc;
QDPrinterStatusUPP printerStatusProc;
UniversalProcPtr newProc4;
UniversalProcPtr newProc5;
UniversalProcPtr newProc6;
};
typedef struct CQDProcs CQDProcs;
typedef CQDProcs * CQDProcsPtr;
# 1537 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
typedef WindowPtr CWindowPtr;
struct ReqListRec {
short reqLSize;
short reqLData[1];
};
typedef struct ReqListRec ReqListRec;
struct OpenCPicParams {
Rect srcRect;
Fixed hRes;
Fixed vRes;
short version;
short reserved1;
SInt32 reserved2;
};
typedef struct OpenCPicParams OpenCPicParams;
typedef void ( * DeviceLoopDrawingProcPtr)(short depth, short deviceFlags, GDHandle targetDevice, SRefCon userData);
typedef DeviceLoopDrawingProcPtr DeviceLoopDrawingUPP;
# 1575 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern DeviceLoopDrawingUPP
NewDeviceLoopDrawingUPP(DeviceLoopDrawingProcPtr userRoutine) __attribute__((deprecated));
# 1595 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeDeviceLoopDrawingUPP(DeviceLoopDrawingUPP userUPP) __attribute__((deprecated));
# 1615 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeDeviceLoopDrawingUPP(
short depth,
short deviceFlags,
GDHandle targetDevice,
SRefCon userData,
DeviceLoopDrawingUPP userUPP) __attribute__((deprecated));
#define NewDeviceLoopDrawingUPP(userRoutine) ((DeviceLoopDrawingUPP)userRoutine)
#define DisposeDeviceLoopDrawingUPP(userUPP)
#define InvokeDeviceLoopDrawingUPP(depth,deviceFlags,targetDevice,userData,userUPP) (*userUPP)(depth, deviceFlags, targetDevice, userData)
# 1667 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
#pragma pack(pop)
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define __QUICKDRAWAPI__
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#pragma pack(push, 2)
# 70 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
enum {
kQDRegionToRectsMsgInit = 1,
kQDRegionToRectsMsgParse = 2,
kQDRegionToRectsMsgTerminate = 3
};
enum {
kQDParseRegionFromTop = (1 << 0),
kQDParseRegionFromBottom = (1 << 1),
kQDParseRegionFromLeft = (1 << 2),
kQDParseRegionFromRight = (1 << 3),
kQDParseRegionFromTopLeft = kQDParseRegionFromTop | kQDParseRegionFromLeft,
kQDParseRegionFromBottomRight = kQDParseRegionFromBottom | kQDParseRegionFromRight
};
typedef SInt32 QDRegionParseDirection;
typedef OSStatus ( * RegionToRectsProcPtr)(UInt16 message, RgnHandle rgn, const Rect *rect, void *refCon);
typedef RegionToRectsProcPtr RegionToRectsUPP;
# 96 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RegionToRectsUPP
NewRegionToRectsUPP(RegionToRectsProcPtr userRoutine) __attribute__((deprecated));
# 107 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DisposeRegionToRectsUPP(RegionToRectsUPP userUPP) __attribute__((deprecated));
# 118 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
InvokeRegionToRectsUPP(
UInt16 message,
RgnHandle rgn,
const Rect * rect,
void * refCon,
RegionToRectsUPP userUPP) __attribute__((deprecated));
#define NewRegionToRectsUPP(userRoutine) ((RegionToRectsUPP)userRoutine)
#define DisposeRegionToRectsUPP(userUPP)
#define InvokeRegionToRectsUPP(message,rgn,rect,refCon,userUPP) (*userUPP)(message, rgn, rect, refCon)
# 149 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDRegionToRects(
RgnHandle rgn,
QDRegionParseDirection dir,
RegionToRectsUPP proc,
void * userData) ;
# 170 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSErr
LockPortBits(GrafPtr port) __attribute__((deprecated));
# 185 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSErr
UnlockPortBits(GrafPtr port) __attribute__((deprecated));
# 289 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacSetPort SetPort
extern void
SetPort(GrafPtr port) __attribute__((deprecated));
# 306 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GetPort(GrafPtr * port) __attribute__((deprecated));
# 345 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
QDSwapPort(
CGrafPtr inNewPort,
CGrafPtr * outOldPort) __attribute__((deprecated));
# 362 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GrafDevice(short device) __attribute__((deprecated));
# 377 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortBits(const BitMap * bm) __attribute__((deprecated));
# 392 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PortSize(
short width,
short height) __attribute__((deprecated));
# 409 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
MovePortTo(
short leftGlobal,
short topGlobal) __attribute__((deprecated));
# 426 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetOrigin(
short h,
short v) __attribute__((deprecated));
# 443 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetClip(RgnHandle rgn) __attribute__((deprecated));
# 458 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GetClip(RgnHandle rgn) __attribute__((deprecated));
# 473 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ClipRect(const Rect * r) __attribute__((deprecated));
# 488 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
BackPat(const Pattern * pat) __attribute__((deprecated));
# 503 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
InitCursor(void) ;
# 523 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacSetCursor SetCursor
extern void
SetCursor(const Cursor * crsr) __attribute__((deprecated));
# 540 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
HideCursor(void) ;
# 556 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacShowCursor ShowCursor
extern void
ShowCursor(void) ;
# 573 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ObscureCursor(void) ;
# 588 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
HidePen(void) __attribute__((deprecated));
# 603 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ShowPen(void) __attribute__((deprecated));
# 618 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GetPen(Point * pt) __attribute__((deprecated));
# 633 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GetPenState(PenState * pnState) __attribute__((deprecated));
# 648 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPenState(const PenState * pnState) __attribute__((deprecated));
# 663 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PenSize(
short width,
short height) __attribute__((deprecated));
# 680 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PenMode(short mode) __attribute__((deprecated));
# 695 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PenPat(const Pattern * pat) __attribute__((deprecated));
# 710 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PenNormal(void) __attribute__((deprecated));
# 725 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
MoveTo(
short h,
short v) __attribute__((deprecated));
# 742 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
Move(
short dh,
short dv) __attribute__((deprecated));
# 760 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacLineTo LineTo
extern void
LineTo(
short h,
short v) __attribute__((deprecated));
# 779 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
Line(
short dh,
short dv) __attribute__((deprecated));
# 796 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ForeColor(long color) __attribute__((deprecated));
# 811 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
BackColor(long color) __attribute__((deprecated));
# 826 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ColorBit(short whichBit) __attribute__((deprecated));
# 844 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacSetRect SetRect
extern void
SetRect(
Rect * r,
short left,
short top,
short right,
short bottom) ;
# 867 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacOffsetRect OffsetRect
extern void
OffsetRect(
Rect * r,
short dh,
short dv) ;
# 888 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacInsetRect InsetRect
extern void
InsetRect(
Rect * r,
short dh,
short dv) ;
# 908 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
SectRect(
const Rect * src1,
const Rect * src2,
Rect * dstRect) ;
# 927 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacUnionRect UnionRect
extern void
UnionRect(
const Rect * src1,
const Rect * src2,
Rect * dstRect) ;
# 948 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacEqualRect EqualRect
extern Boolean
EqualRect(
const Rect * rect1,
const Rect * rect2) ;
# 967 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
EmptyRect(const Rect * r) ;
# 984 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacFrameRect FrameRect
extern void
FrameRect(const Rect * r) __attribute__((deprecated));
# 1001 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PaintRect(const Rect * r) __attribute__((deprecated));
# 1016 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
EraseRect(const Rect * r) __attribute__((deprecated));
# 1032 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacInvertRect InvertRect
extern void
InvertRect(const Rect * r) __attribute__((deprecated));
# 1050 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacFillRect FillRect
extern void
FillRect(
const Rect * r,
const Pattern * pat) __attribute__((deprecated));
# 1069 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FrameOval(const Rect * r) __attribute__((deprecated));
# 1084 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PaintOval(const Rect * r) __attribute__((deprecated));
# 1099 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
EraseOval(const Rect * r) __attribute__((deprecated));
# 1114 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
InvertOval(const Rect * r) __attribute__((deprecated));
# 1129 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FillOval(
const Rect * r,
const Pattern * pat) __attribute__((deprecated));
# 1146 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FrameRoundRect(
const Rect * r,
short ovalWidth,
short ovalHeight) __attribute__((deprecated));
# 1164 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PaintRoundRect(
const Rect * r,
short ovalWidth,
short ovalHeight) __attribute__((deprecated));
# 1182 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
EraseRoundRect(
const Rect * r,
short ovalWidth,
short ovalHeight) __attribute__((deprecated));
# 1200 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
InvertRoundRect(
const Rect * r,
short ovalWidth,
short ovalHeight) __attribute__((deprecated));
# 1218 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FillRoundRect(
const Rect * r,
short ovalWidth,
short ovalHeight,
const Pattern * pat) __attribute__((deprecated));
# 1237 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FrameArc(
const Rect * r,
short startAngle,
short arcAngle) __attribute__((deprecated));
# 1255 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PaintArc(
const Rect * r,
short startAngle,
short arcAngle) __attribute__((deprecated));
# 1273 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
EraseArc(
const Rect * r,
short startAngle,
short arcAngle) __attribute__((deprecated));
# 1291 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
InvertArc(
const Rect * r,
short startAngle,
short arcAngle) __attribute__((deprecated));
# 1309 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FillArc(
const Rect * r,
short startAngle,
short arcAngle,
const Pattern * pat) __attribute__((deprecated));
# 1328 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RgnHandle
NewRgn(void) ;
# 1343 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
OpenRgn(void) __attribute__((deprecated));
# 1358 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
CloseRgn(RgnHandle dstRgn) __attribute__((deprecated));
# 1373 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSErr
BitMapToRegion(
RgnHandle region,
const BitMap * bMap) __attribute__((deprecated));
# 1414 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
RgnToHandle(
RgnHandle region,
Handle flattenedRgnDataHdl) ;
# 1431 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
HandleToRgn(
Handle oldRegion,
RgnHandle region) ;
# 1448 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DisposeRgn(RgnHandle rgn) ;
# 1464 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacCopyRgn CopyRgn
extern void
CopyRgn(
RgnHandle srcRgn,
RgnHandle dstRgn) ;
# 1483 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetEmptyRgn(RgnHandle rgn) ;
# 1499 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacSetRectRgn SetRectRgn
extern void
SetRectRgn(
RgnHandle rgn,
short left,
short top,
short right,
short bottom) ;
# 1521 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
RectRgn(
RgnHandle rgn,
const Rect * r) ;
# 1539 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacOffsetRgn OffsetRgn
extern void
OffsetRgn(
RgnHandle rgn,
short dh,
short dv) ;
# 1559 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
InsetRgn(
RgnHandle rgn,
short dh,
short dv) ;
# 1577 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SectRgn(
RgnHandle srcRgnA,
RgnHandle srcRgnB,
RgnHandle dstRgn) ;
# 1596 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacUnionRgn UnionRgn
extern void
UnionRgn(
RgnHandle srcRgnA,
RgnHandle srcRgnB,
RgnHandle dstRgn) ;
# 1616 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DiffRgn(
RgnHandle srcRgnA,
RgnHandle srcRgnB,
RgnHandle dstRgn) ;
# 1635 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacXorRgn XorRgn
extern void
XorRgn(
RgnHandle srcRgnA,
RgnHandle srcRgnB,
RgnHandle dstRgn) ;
# 1655 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
RectInRgn(
const Rect * r,
RgnHandle rgn) ;
# 1673 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacEqualRgn EqualRgn
extern Boolean
EqualRgn(
RgnHandle rgnA,
RgnHandle rgnB) ;
# 1692 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
EmptyRgn(RgnHandle rgn) ;
# 1708 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacFrameRgn FrameRgn
extern void
FrameRgn(RgnHandle rgn) __attribute__((deprecated));
# 1726 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacPaintRgn PaintRgn
extern void
PaintRgn(RgnHandle rgn) __attribute__((deprecated));
# 1743 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
EraseRgn(RgnHandle rgn) __attribute__((deprecated));
# 1759 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacInvertRgn InvertRgn
extern void
InvertRgn(RgnHandle rgn) __attribute__((deprecated));
# 1777 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacFillRgn FillRgn
extern void
FillRgn(
RgnHandle rgn,
const Pattern * pat) __attribute__((deprecated));
# 1796 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ScrollRect(
const Rect * r,
short dh,
short dv,
RgnHandle updateRgn) __attribute__((deprecated));
# 1815 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
CopyBits(
const BitMap * srcBits,
const BitMap * dstBits,
const Rect * srcRect,
const Rect * dstRect,
short mode,
RgnHandle maskRgn) __attribute__((deprecated));
# 1839 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SeedFill(
const void * srcPtr,
void * dstPtr,
short srcRow,
short dstRow,
short height,
short words,
short seedH,
short seedV) __attribute__((deprecated));
# 1862 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
CalcMask(
const void * srcPtr,
void * dstPtr,
short srcRow,
short dstRow,
short height,
short words) __attribute__((deprecated));
# 1883 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
CopyMask(
const BitMap * srcBits,
const BitMap * maskBits,
const BitMap * dstBits,
const Rect * srcRect,
const Rect * maskRect,
const Rect * dstRect) __attribute__((deprecated));
# 1907 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PicHandle
OpenPicture(const Rect * picFrame) __attribute__((deprecated));
# 1922 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PicComment(
short kind,
short dataSize,
Handle dataHandle) __attribute__((deprecated));
# 1940 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ClosePicture(void) __attribute__((deprecated));
# 1955 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Rect *
QDGetPictureBounds(
PicHandle picH,
Rect * outRect) __attribute__((deprecated));
# 1972 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DrawPicture(
PicHandle myPicture,
const Rect * dstRect) __attribute__((deprecated));
# 1989 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
KillPicture(PicHandle myPicture) __attribute__((deprecated));
# 2004 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PolyHandle
OpenPoly(void) __attribute__((deprecated));
# 2019 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ClosePoly(void) __attribute__((deprecated));
# 2034 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
KillPoly(PolyHandle poly) __attribute__((deprecated));
# 2049 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
OffsetPoly(
PolyHandle poly,
short dh,
short dv) __attribute__((deprecated));
# 2067 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FramePoly(PolyHandle poly) __attribute__((deprecated));
# 2082 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PaintPoly(PolyHandle poly) __attribute__((deprecated));
# 2097 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ErasePoly(PolyHandle poly) __attribute__((deprecated));
# 2112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
InvertPoly(PolyHandle poly) __attribute__((deprecated));
# 2127 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FillPoly(
PolyHandle poly,
const Pattern * pat) __attribute__((deprecated));
# 2146 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPt(
Point * pt,
short h,
short v) ;
# 2165 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LocalToGlobal(Point * pt) __attribute__((deprecated));
# 2180 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GlobalToLocal(Point * pt) __attribute__((deprecated));
# 2195 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern short
Random(void) __attribute__((deprecated));
# 2210 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StuffHex(
void * thingPtr,
ConstStr255Param s) __attribute__((deprecated));
# 2228 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacGetPixel GetPixel
extern Boolean
GetPixel(
short h,
short v) __attribute__((deprecated));
# 2249 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ScalePt(
Point * pt,
const Rect * srcRect,
const Rect * dstRect) ;
# 2267 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
MapPt(
Point * pt,
const Rect * srcRect,
const Rect * dstRect) ;
# 2285 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
MapRect(
Rect * r,
const Rect * srcRect,
const Rect * dstRect) ;
# 2304 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
MapRgn(
RgnHandle rgn,
const Rect * srcRect,
const Rect * dstRect) ;
# 2322 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
MapPoly(
PolyHandle poly,
const Rect * srcRect,
const Rect * dstRect) __attribute__((deprecated));
# 2340 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetStdProcs(QDProcs * procs) __attribute__((deprecated));
# 2355 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdRect(
GrafVerb verb,
const Rect * r) __attribute__((deprecated));
# 2372 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdRRect(
GrafVerb verb,
const Rect * r,
short ovalWidth,
short ovalHeight) __attribute__((deprecated));
# 2391 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdOval(
GrafVerb verb,
const Rect * r) __attribute__((deprecated));
# 2408 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdArc(
GrafVerb verb,
const Rect * r,
short startAngle,
short arcAngle) __attribute__((deprecated));
# 2427 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdPoly(
GrafVerb verb,
PolyHandle poly) __attribute__((deprecated));
# 2444 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdRgn(
GrafVerb verb,
RgnHandle rgn) __attribute__((deprecated));
# 2461 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdBits(
const BitMap * srcBits,
const Rect * srcRect,
const Rect * dstRect,
short mode,
RgnHandle maskRgn) __attribute__((deprecated));
# 2481 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdComment(
short kind,
short dataSize,
Handle dataHandle) __attribute__((deprecated));
# 2499 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdGetPic(
void * dataPtr,
short byteCount) __attribute__((deprecated));
# 2516 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdPutPic(
const void * dataPtr,
short byteCount) __attribute__((deprecated));
# 2533 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdOpcode(
const Rect * fromRect,
const Rect * toRect,
UInt16 opcode,
SInt16 version) __attribute__((deprecated));
# 2554 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
AddPt(
Point src,
Point * dst) ;
# 2571 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
EqualPt(
Point pt1,
Point pt2) ;
# 2589 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacPtInRect PtInRect
extern Boolean
PtInRect(
Point pt,
const Rect * r) ;
# 2608 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
Pt2Rect(
Point pt1,
Point pt2,
Rect * dstRect) ;
# 2626 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PtToAngle(
const Rect * r,
Point pt,
short * angle) ;
# 2644 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SubPt(
Point src,
Point * dst) ;
# 2662 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
PtInRgn(
Point pt,
RgnHandle rgn) ;
# 2679 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
StdLine(Point newPt) __attribute__((deprecated));
# 2694 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PixMapHandle
NewPixMap(void) __attribute__((deprecated));
# 2709 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DisposePixMap(PixMapHandle pm) __attribute__((deprecated));
# 2724 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
CopyPixMap(
PixMapHandle srcPM,
PixMapHandle dstPM) __attribute__((deprecated));
# 2741 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PixPatHandle
NewPixPat(void) __attribute__((deprecated));
# 2756 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DisposePixPat(PixPatHandle pp) __attribute__((deprecated));
# 2771 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
CopyPixPat(
PixPatHandle srcPP,
PixPatHandle dstPP) __attribute__((deprecated));
# 2788 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PenPixPat(PixPatHandle pp) __attribute__((deprecated));
# 2803 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
BackPixPat(PixPatHandle pp) __attribute__((deprecated));
# 2818 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PixPatHandle
GetPixPat(short patID) __attribute__((deprecated));
# 2833 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
MakeRGBPat(
PixPatHandle pp,
const RGBColor * myColor) __attribute__((deprecated));
# 2850 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FillCRect(
const Rect * r,
PixPatHandle pp) __attribute__((deprecated));
# 2867 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FillCOval(
const Rect * r,
PixPatHandle pp) __attribute__((deprecated));
# 2884 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FillCRoundRect(
const Rect * r,
short ovalWidth,
short ovalHeight,
PixPatHandle pp) __attribute__((deprecated));
# 2903 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FillCArc(
const Rect * r,
short startAngle,
short arcAngle,
PixPatHandle pp) __attribute__((deprecated));
# 2922 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FillCRgn(
RgnHandle rgn,
PixPatHandle pp) __attribute__((deprecated));
# 2939 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
FillCPoly(
PolyHandle poly,
PixPatHandle pp) __attribute__((deprecated));
# 2956 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
RGBForeColor(const RGBColor * color) __attribute__((deprecated));
# 2971 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
RGBBackColor(const RGBColor * color) __attribute__((deprecated));
# 2986 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetCPixel(
short h,
short v,
const RGBColor * cPix) __attribute__((deprecated));
# 3004 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortPix(PixMapHandle pm) __attribute__((deprecated));
# 3019 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GetCPixel(
short h,
short v,
RGBColor * cPix) __attribute__((deprecated));
# 3037 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GetForeColor(RGBColor * color) __attribute__((deprecated));
# 3052 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GetBackColor(RGBColor * color) __attribute__((deprecated));
# 3067 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SeedCFill(
const BitMap * srcBits,
const BitMap * dstBits,
const Rect * srcRect,
const Rect * dstRect,
short seedH,
short seedV,
ColorSearchUPP matchProc,
long matchData) __attribute__((deprecated));
# 3090 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
CalcCMask(
const BitMap * srcBits,
const BitMap * dstBits,
const Rect * srcRect,
const Rect * dstRect,
const RGBColor * seedRGB,
ColorSearchUPP matchProc,
long matchData) __attribute__((deprecated));
# 3112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PicHandle
OpenCPicture(const OpenCPicParams * newHeader) __attribute__((deprecated));
# 3127 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
OpColor(const RGBColor * color) __attribute__((deprecated));
# 3142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
HiliteColor(const RGBColor * color) __attribute__((deprecated));
# 3157 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DisposeCTable(CTabHandle cTable) __attribute__((deprecated));
# 3172 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CTabHandle
GetCTable(short ctID) __attribute__((deprecated));
# 3187 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CCrsrHandle
GetCCursor(short crsrID) __attribute__((deprecated));
# 3202 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetCCursor(CCrsrHandle cCrsr) __attribute__((deprecated));
# 3217 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
AllocCursor(void) __attribute__((deprecated));
# 3232 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DisposeCCursor(CCrsrHandle cCrsr) __attribute__((deprecated));
# 3249 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetStdCProcs(CQDProcs * procs) __attribute__((deprecated));
# 3264 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern GDHandle
GetMaxDevice(const Rect * globalRect) __attribute__((deprecated));
# 3279 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern long
GetCTSeed(void) __attribute__((deprecated));
# 3298 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern GDHandle
GetDeviceList(void) __attribute__((deprecated));
# 3313 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern GDHandle
GetMainDevice(void) __attribute__((deprecated));
# 3328 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern GDHandle
GetNextDevice(GDHandle curDevice) __attribute__((deprecated));
# 3343 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
TestDeviceAttribute(
GDHandle gdh,
short attribute) __attribute__((deprecated));
# 3360 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetDeviceAttribute(
GDHandle gdh,
short attribute,
Boolean value) __attribute__((deprecated));
# 3378 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
InitGDevice(
short qdRefNum,
long mode,
GDHandle gdh) __attribute__((deprecated));
# 3396 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern GDHandle
NewGDevice(
short refNum,
long mode) __attribute__((deprecated));
# 3413 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DisposeGDevice(GDHandle gdh) __attribute__((deprecated));
# 3428 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetGDevice(GDHandle gd) __attribute__((deprecated));
# 3443 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern GDHandle
GetGDevice(void) __attribute__((deprecated));
# 3458 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern long
Color2Index(const RGBColor * myColor) __attribute__((deprecated));
# 3473 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
Index2Color(
long index,
RGBColor * aColor) __attribute__((deprecated));
# 3490 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
InvertColor(RGBColor * myColor) __attribute__((deprecated));
# 3505 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
RealColor(const RGBColor * color) __attribute__((deprecated));
# 3520 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GetSubTable(
CTabHandle myColors,
short iTabRes,
CTabHandle targetTbl) __attribute__((deprecated));
# 3538 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
MakeITable(
CTabHandle cTabH,
ITabHandle iTabH,
short res) __attribute__((deprecated));
# 3556 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
AddSearch(ColorSearchUPP searchProc) __attribute__((deprecated));
# 3571 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
AddComp(ColorComplementUPP compProc) __attribute__((deprecated));
# 3586 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DelSearch(ColorSearchUPP searchProc) __attribute__((deprecated));
# 3601 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DelComp(ColorComplementUPP compProc) __attribute__((deprecated));
# 3616 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetClientID(short id) __attribute__((deprecated));
# 3631 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ProtectEntry(
short index,
Boolean protect) __attribute__((deprecated));
# 3648 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ReserveEntry(
short index,
Boolean reserve) __attribute__((deprecated));
# 3665 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetEntries(
short start,
short count,
CSpecArray aTable) __attribute__((deprecated));
# 3683 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SaveEntries(
CTabHandle srcTable,
CTabHandle resultTable,
ReqListRec * selection) __attribute__((deprecated));
# 3701 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
RestoreEntries(
CTabHandle srcTable,
CTabHandle dstTable,
ReqListRec * selection) __attribute__((deprecated));
# 3719 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern short
QDError(void) __attribute__((deprecated));
# 3734 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
CopyDeepMask(
const BitMap * srcBits,
const BitMap * maskBits,
const BitMap * dstBits,
const Rect * srcRect,
const Rect * maskRect,
const Rect * dstRect,
short mode,
RgnHandle maskRgn) __attribute__((deprecated));
# 3760 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DeviceLoop(
RgnHandle drawingRgn,
DeviceLoopDrawingUPP drawingProc,
long userData,
DeviceLoopFlags flags) __attribute__((deprecated));
# 3781 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Ptr
GetMaskTable(void) __attribute__((deprecated));
# 3797 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PatHandle
GetPattern(short patternID) __attribute__((deprecated));
# 3813 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacGetCursor GetCursor
extern CursHandle
GetCursor(short cursorID) __attribute__((deprecated));
# 3830 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PicHandle
GetPicture(short pictureID) __attribute__((deprecated));
# 3845 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern long
DeltaPoint(
Point ptA,
Point ptB) __attribute__((deprecated));
# 3862 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ShieldCursor(
const Rect * shieldRect,
Point offsetPt) ;
# 3879 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ScreenRes(
short * scrnHRes,
short * scrnVRes) __attribute__((deprecated));
# 3896 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
GetIndPattern(
Pattern * thePat,
short patternListID,
short index) __attribute__((deprecated));
# 3917 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern long
deltapoint(
Point * ptA,
Point * ptB) __attribute__((deprecated));
# 3948 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PackBits(
Ptr * srcPtr,
Ptr * dstPtr,
short srcBytes) __attribute__((deprecated));
# 3966 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
UnpackBits(
Ptr * srcPtr,
Ptr * dstPtr,
short dstBytes) __attribute__((deprecated));
# 3984 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Fixed
SlopeFromAngle(short angle) ;
# 3999 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern short
AngleFromSlope(Fixed slope) ;
enum {
colorXorXFer = 52,
noiseXFer = 53,
customXFer = 54
};
enum {
kXFer1PixelAtATime = 0x00000001,
kXFerConvertPixelToRGB32 = 0x00000002
};
struct CustomXFerRec {
UInt32 version;
void * srcPixels;
void * destPixels;
void * resultPixels;
UInt32 refCon;
UInt32 pixelSize;
UInt32 pixelCount;
Point firstPixelHV;
Rect destBounds;
};
typedef struct CustomXFerRec CustomXFerRec;
typedef CustomXFerRec * CustomXFerRecPtr;
typedef void ( * CustomXFerProcPtr)(CustomXFerRecPtr info);
# 4044 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSErr
GetPortCustomXFerProc(
CGrafPtr port,
CustomXFerProcPtr * proc,
UInt32 * flags,
UInt32 * refCon) __attribute__((deprecated));
# 4063 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSErr
SetPortCustomXFerProc(
CGrafPtr port,
CustomXFerProcPtr proc,
UInt32 flags,
UInt32 refCon) __attribute__((deprecated));
enum {
kCursorComponentsVersion = 0x00010001
};
enum {
kCursorComponentType = 'curs'
};
enum {
cursorDoesAnimate = 1L << 0,
cursorDoesHardware = 1L << 1,
cursorDoesUnreadableScreenBits = 1L << 2
};
enum {
kRenderCursorInHardware = 1L << 0,
kRenderCursorInSoftware = 1L << 1
};
struct CursorInfo {
long version;
long capabilities;
long animateDuration;
Rect bounds;
Point hotspot;
long reserved;
};
typedef struct CursorInfo CursorInfo;
enum {
kCursorComponentInit = 0x0001,
kCursorComponentGetInfo = 0x0002,
kCursorComponentSetOutputMode = 0x0003,
kCursorComponentSetData = 0x0004,
kCursorComponentReconfigure = 0x0005,
kCursorComponentDraw = 0x0006,
kCursorComponentErase = 0x0007,
kCursorComponentMove = 0x0008,
kCursorComponentAnimate = 0x0009,
kCursorComponentLastReserved = 0x0050
};
# 4132 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSErr
OpenCursorComponent(
Component c,
ComponentInstance * ci) __attribute__((deprecated));
# 4149 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSErr
CloseCursorComponent(ComponentInstance ci) __attribute__((deprecated));
# 4164 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSErr
SetCursorComponent(ComponentInstance ci) __attribute__((deprecated));
# 4179 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSErr
CursorComponentChanged(ComponentInstance ci) __attribute__((deprecated));
# 4194 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSErr
CursorComponentSetData(
ComponentInstance ci,
long data) __attribute__((deprecated));
# 4215 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CMError
CWMatchPixMap(
CMWorldRef cw,
PixMap * myPixMap,
CMBitmapCallBackUPP progressProc,
void * refCon) __attribute__((deprecated));
# 4234 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CMError
CWCheckPixMap(
CMWorldRef cw,
PixMap * myPixMap,
CMBitmapCallBackUPP progressProc,
void * refCon,
BitMap * resultBitMap) __attribute__((deprecated));
# 4254 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CMError
NCMBeginMatching(
CMProfileRef src,
CMProfileRef dst,
CMMatchRef * myRef) __attribute__((deprecated));
# 4272 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
CMEndMatching(CMMatchRef myRef) __attribute__((deprecated));
# 4287 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
NCMDrawMatchedPicture(
PicHandle myPicture,
CMProfileRef dst,
Rect * myRect) __attribute__((deprecated));
# 4305 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
CMEnableMatchingComment(Boolean enableIt) __attribute__((deprecated));
# 4320 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CMError
NCMUseProfileComment(
CMProfileRef prof,
UInt32 flags) __attribute__((deprecated));
# 4361 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
IsValidPort(CGrafPtr port) __attribute__((deprecated));
# 4393 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
IsValidRgnHandle(RgnHandle rgn) ;
# 4413 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PixMapHandle
GetPortPixMap(CGrafPtr port) __attribute__((deprecated));
# 4439 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern const BitMap *
GetPortBitMapForCopyBits(CGrafPtr port) __attribute__((deprecated));
# 4454 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Rect *
GetPortBounds(
CGrafPtr port,
Rect * rect) __attribute__((deprecated));
# 4471 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RGBColor *
GetPortForeColor(
CGrafPtr port,
RGBColor * foreColor) __attribute__((deprecated));
# 4488 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RGBColor *
GetPortBackColor(
CGrafPtr port,
RGBColor * backColor) __attribute__((deprecated));
# 4505 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RGBColor *
GetPortOpColor(
CGrafPtr port,
RGBColor * opColor) __attribute__((deprecated));
# 4522 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RGBColor *
GetPortHiliteColor(
CGrafPtr port,
RGBColor * hiliteColor) __attribute__((deprecated));
# 4539 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CQDProcsPtr
GetPortGrafProcs(CGrafPtr port) __attribute__((deprecated));
# 4554 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern short
GetPortTextFont(CGrafPtr port) __attribute__((deprecated));
# 4569 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Style
GetPortTextFace(CGrafPtr port) __attribute__((deprecated));
# 4584 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern short
GetPortTextMode(CGrafPtr port) __attribute__((deprecated));
# 4599 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern short
GetPortTextSize(CGrafPtr port) __attribute__((deprecated));
# 4614 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern short
GetPortChExtra(CGrafPtr port) __attribute__((deprecated));
# 4629 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern short
GetPortFracHPenLocation(CGrafPtr port) __attribute__((deprecated));
# 4644 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Fixed
GetPortSpExtra(CGrafPtr port) __attribute__((deprecated));
# 4659 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern short
GetPortPenVisibility(CGrafPtr port) __attribute__((deprecated));
# 4674 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RgnHandle
GetPortVisibleRegion(
CGrafPtr port,
RgnHandle visRgn) __attribute__((deprecated));
# 4691 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RgnHandle
GetPortClipRegion(
CGrafPtr port,
RgnHandle clipRgn) __attribute__((deprecated));
# 4708 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PixPatHandle
GetPortBackPixPat(
CGrafPtr port,
PixPatHandle backPattern) __attribute__((deprecated));
# 4725 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PixPatHandle
GetPortPenPixPat(
CGrafPtr port,
PixPatHandle penPattern) __attribute__((deprecated));
# 4742 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern PixPatHandle
GetPortFillPixPat(
CGrafPtr port,
PixPatHandle fillPattern) __attribute__((deprecated));
# 4759 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Point *
GetPortPenSize(
CGrafPtr port,
Point * penSize) __attribute__((deprecated));
# 4776 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern SInt32
GetPortPenMode(CGrafPtr port) __attribute__((deprecated));
# 4791 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Point *
GetPortPenLocation(
CGrafPtr port,
Point * penLocation) __attribute__((deprecated));
# 4808 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
IsPortRegionBeingDefined(CGrafPtr port) __attribute__((deprecated));
# 4823 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
IsPortPictureBeingDefined(CGrafPtr port) __attribute__((deprecated));
# 4838 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
IsPortPolyBeingDefined(CGrafPtr port) __attribute__((deprecated));
# 4853 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
IsPortOffscreen(CGrafPtr port) __attribute__((deprecated));
# 4868 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
IsPortColor(CGrafPtr port) __attribute__((deprecated));
# 4883 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
IsPortVisibleRegionEmpty(CGrafPtr port) __attribute__((deprecated));
# 4898 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
IsPortClipRegionEmpty(CGrafPtr port) __attribute__((deprecated));
# 4913 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SectRegionWithPortClipRegion(
CGrafPtr port,
RgnHandle ioRegion) __attribute__((deprecated));
# 4930 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SectRegionWithPortVisibleRegion(
CGrafPtr port,
RgnHandle ioRegion) __attribute__((deprecated));
# 4970 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Handle
SwapPortPicSaveHandle(
CGrafPtr port,
Handle inPicSaveHdl) __attribute__((deprecated));
# 4988 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Handle
SwapPortPolySaveHandle(
CGrafPtr port,
Handle inPolySaveHdl) __attribute__((deprecated));
# 5005 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Handle
SwapPortRegionSaveHandle(
CGrafPtr port,
Handle inRegionSaveHdl) __attribute__((deprecated));
# 5024 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortBounds(
CGrafPtr port,
const Rect * rect) __attribute__((deprecated));
# 5041 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortOpColor(
CGrafPtr port,
const RGBColor * opColor) __attribute__((deprecated));
# 5058 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortGrafProcs(
CGrafPtr port,
CQDProcsPtr procs) __attribute__((deprecated));
# 5075 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortTextFont(
CGrafPtr port,
short txFont) __attribute__((deprecated));
# 5092 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortTextSize(
CGrafPtr port,
short txSize) __attribute__((deprecated));
# 5109 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortTextFace(
CGrafPtr port,
StyleParameter face) __attribute__((deprecated));
# 5126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortTextMode(
CGrafPtr port,
short mode) __attribute__((deprecated));
# 5143 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortVisibleRegion(
CGrafPtr port,
RgnHandle visRgn) __attribute__((deprecated));
# 5160 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortClipRegion(
CGrafPtr port,
RgnHandle clipRgn) __attribute__((deprecated));
# 5177 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortPenPixPat(
CGrafPtr port,
PixPatHandle penPattern) __attribute__((deprecated));
# 5194 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortFillPixPat(
CGrafPtr port,
PixPatHandle penPattern) __attribute__((deprecated));
# 5211 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortBackPixPat(
CGrafPtr port,
PixPatHandle backPattern) __attribute__((deprecated));
# 5228 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortPenSize(
CGrafPtr port,
Point penSize) __attribute__((deprecated));
# 5245 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortPenMode(
CGrafPtr port,
SInt32 penMode) __attribute__((deprecated));
# 5262 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPortFracHPenLocation(
CGrafPtr port,
short pnLocHFrac) __attribute__((deprecated));
# 5280 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Rect *
GetPixBounds(
PixMapHandle pixMap,
Rect * bounds) __attribute__((deprecated));
# 5297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern short
GetPixDepth(PixMapHandle pixMap) __attribute__((deprecated));
# 5314 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern long
GetQDGlobalsRandomSeed(void) __attribute__((deprecated));
# 5329 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern BitMap *
GetQDGlobalsScreenBits(BitMap * screenBits) __attribute__((deprecated));
# 5344 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Cursor *
GetQDGlobalsArrow(Cursor * arrow) __attribute__((deprecated));
# 5359 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Pattern *
GetQDGlobalsDarkGray(Pattern * dkGray) __attribute__((deprecated));
# 5374 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Pattern *
GetQDGlobalsLightGray(Pattern * ltGray) __attribute__((deprecated));
# 5389 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Pattern *
GetQDGlobalsGray(Pattern * gray) __attribute__((deprecated));
# 5404 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Pattern *
GetQDGlobalsBlack(Pattern * black) __attribute__((deprecated));
# 5419 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Pattern *
GetQDGlobalsWhite(Pattern * white) __attribute__((deprecated));
# 5434 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CGrafPtr
GetQDGlobalsThePort(void) __attribute__((deprecated));
# 5450 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetQDGlobalsRandomSeed(long randomSeed) __attribute__((deprecated));
# 5465 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetQDGlobalsArrow(const Cursor * arrow) __attribute__((deprecated));
# 5481 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Rect *
GetRegionBounds(
RgnHandle region,
Rect * bounds) ;
# 5498 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
IsRegionRectangular(RgnHandle region) ;
# 5517 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CGrafPtr
CreateNewPort(void) __attribute__((deprecated));
# 5532 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DisposePort(CGrafPtr port) __attribute__((deprecated));
# 5548 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetQDError(OSErr err) __attribute__((deprecated));
# 5568 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Point *
QDLocalToGlobalPoint(
CGrafPtr port,
Point * point) __attribute__((deprecated));
# 5585 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Point *
QDGlobalToLocalPoint(
CGrafPtr port,
Point * point) __attribute__((deprecated));
# 5602 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Rect *
QDLocalToGlobalRect(
CGrafPtr port,
Rect * bounds) __attribute__((deprecated));
# 5619 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Rect *
QDGlobalToLocalRect(
CGrafPtr port,
Rect * bounds) __attribute__((deprecated));
# 5636 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RgnHandle
QDLocalToGlobalRegion(
CGrafPtr port,
RgnHandle region) __attribute__((deprecated));
# 5653 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RgnHandle
QDGlobalToLocalRegion(
CGrafPtr port,
RgnHandle region) __attribute__((deprecated));
# 5676 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
QDIsPortBuffered(CGrafPtr port) __attribute__((deprecated));
# 5691 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
QDIsPortBufferDirty(CGrafPtr port) __attribute__((deprecated));
# 5706 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
QDFlushPortBuffer(
CGrafPtr port,
RgnHandle region) __attribute__((deprecated));
# 5723 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDGetDirtyRegion(
CGrafPtr port,
RgnHandle rgn) __attribute__((deprecated));
# 5740 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDSetDirtyRegion(
CGrafPtr port,
RgnHandle rgn) __attribute__((deprecated));
# 5757 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDAddRectToDirtyRegion(
CGrafPtr inPort,
const Rect * inBounds) __attribute__((deprecated));
# 5774 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDAddRegionToDirtyRegion(
CGrafPtr inPort,
RgnHandle inRegion) __attribute__((deprecated));
# 5792 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
CreateCGContextForPort(
CGrafPtr inPort,
CGContextRef * outContext) __attribute__((deprecated));
# 5838 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
ClipCGContextToRegion(
CGContextRef gc,
const Rect * portRect,
RgnHandle region) __attribute__((deprecated));
# 5856 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
SyncCGContextOriginWithPort(
CGContextRef inContext,
CGrafPtr port) __attribute__((deprecated));
# 5899 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDBeginCGContext(
CGrafPtr inPort,
CGContextRef * outContext) ;
# 5916 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDEndCGContext(
CGrafPtr inPort,
CGContextRef * inoutContext) ;
# 5930 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
typedef struct OpaqueQDRegionBitsRef* QDRegionBitsRef;
# 5960 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern QDRegionBitsRef
QDSaveRegionBits(RgnHandle region) __attribute__((deprecated));
# 5997 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDRestoreRegionBits(
RgnHandle region,
QDRegionBitsRef regionBits) __attribute__((deprecated));
# 6034 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDDisposeRegionBits(QDRegionBitsRef regionBits) __attribute__((deprecated));
# 6057 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CGrafPtr
CreateNewPortForCGDisplayID(UInt32 inCGDisplayID) __attribute__((deprecated));
# 6078 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
QDDisplayWaitCursor(Boolean forceWaitCursor) __attribute__((deprecated));
# 6119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
QDSetPatternOrigin(Point origin) __attribute__((deprecated));
# 6142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
QDGetPatternOrigin(Point * origin) __attribute__((deprecated));
# 6173 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
QDIsNamedPixMapCursorRegistered(const char name[128]) __attribute__((deprecated));
# 6231 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDRegisterNamedPixMapCursor(
PixMapHandle crsrData,
PixMapHandle crsrMask,
Point hotSpot,
const char name[128]) __attribute__((deprecated));
# 6250 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDUnregisterNamedPixMapCursur(const char name[128]) __attribute__((deprecated));
# 6265 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDUnregisterNamedPixMapCursor(const char name[128]) __attribute__((deprecated));
# 6280 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDSetNamedPixMapCursor(const char name[128]) __attribute__((deprecated));
enum {
kQDXArrowCursor = 0,
kQDXIBeamCursor = 1,
kQDXIBeamXORCursor = 2,
kQDXAliasCursor = 3,
kQDXCopyCursor = 4,
kQDXMoveCursor = 5,
kQDXNumberOfSystemCursors = 6
};
typedef UInt32 QDXSystemCursorID;
# 6322 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern const char *
QDGetCursorNameForSystemCursor(QDXSystemCursorID cursorID) __attribute__((deprecated));
# 6352 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDSetCursorScale(float scale) __attribute__((deprecated));
# 6367 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDGetCursorScale(float * outScale) __attribute__((deprecated));
# 6410 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDGetCursorData(
Boolean contextCursor,
PixMapHandle * crsrData,
Point * hotSpot) __attribute__((deprecated));
enum {
kQDUseDefaultTextRendering = 0,
kQDUseTrueTypeScalerGlyphs = (1 << 0),
kQDUseCGTextRendering = (1 << 1),
kQDUseCGTextMetrics = (1 << 2),
kQDSupportedFlags = kQDUseTrueTypeScalerGlyphs | kQDUseCGTextRendering | kQDUseCGTextMetrics,
kQDDontChangeFlags = (long)0xFFFFFFFF
};
# 6461 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern UInt32
QDSwapTextFlags(UInt32 newFlags) __attribute__((deprecated));
# 6488 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern UInt32
QDSwapPortTextFlags(
CGrafPtr port,
UInt32 newFlags) __attribute__((deprecated));
# 6519 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern CGDirectDisplayID
QDGetCGDirectDisplayID(GDHandle inGDevice) ;
# 6537 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern SInt16
LMGetScrVRes(void) __attribute__((deprecated));
# 6552 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetScrVRes(SInt16 value) __attribute__((deprecated));
# 6567 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern SInt16
LMGetScrHRes(void) __attribute__((deprecated));
# 6582 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetScrHRes(SInt16 value) __attribute__((deprecated));
# 6597 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern GDHandle
LMGetMainDevice(void) __attribute__((deprecated));
# 6612 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetMainDevice(GDHandle value) __attribute__((deprecated));
# 6627 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern GDHandle
LMGetDeviceList(void) __attribute__((deprecated));
# 6642 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetDeviceList(GDHandle value) __attribute__((deprecated));
# 6657 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Handle
LMGetQDColors(void) __attribute__((deprecated));
# 6672 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetQDColors(Handle value) __attribute__((deprecated));
# 6687 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Handle
LMGetWidthListHand(void) __attribute__((deprecated));
# 6702 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetWidthListHand(Handle value) __attribute__((deprecated));
# 6717 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern UInt8
LMGetHiliteMode(void) __attribute__((deprecated));
# 6732 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetHiliteMode(UInt8 value) __attribute__((deprecated));
# 6747 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Ptr
LMGetWidthPtr(void) __attribute__((deprecated));
# 6762 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetWidthPtr(Ptr value) __attribute__((deprecated));
# 6777 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Handle
LMGetWidthTabHandle(void) __attribute__((deprecated));
# 6792 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetWidthTabHandle(Handle value) __attribute__((deprecated));
# 6807 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern SInt32
LMGetLastSPExtra(void) __attribute__((deprecated));
# 6822 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetLastSPExtra(SInt32 value) __attribute__((deprecated));
# 6837 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Handle
LMGetLastFOND(void) __attribute__((deprecated));
# 6852 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetLastFOND(Handle value) __attribute__((deprecated));
# 6867 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern UInt8
LMGetFractEnable(void) __attribute__((deprecated));
# 6882 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetFractEnable(UInt8 value) __attribute__((deprecated));
# 6897 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern GDHandle
LMGetTheGDevice(void) __attribute__((deprecated));
# 6912 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetTheGDevice(GDHandle value) __attribute__((deprecated));
# 6931 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMGetHiliteRGB(RGBColor * hiliteRGBValue) __attribute__((deprecated));
# 6946 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetHiliteRGB(const RGBColor * hiliteRGBValue) __attribute__((deprecated));
# 6964 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
LMGetCursorNew(void) __attribute__((deprecated));
# 6979 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
LMSetCursorNew(Boolean value) __attribute__((deprecated));
#pragma pack(pop)
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h" 3
#define __QUICKDRAW__
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
#define __QDOFFSCREEN__
# 44 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
enum {
pixPurgeBit = 0,
noNewDeviceBit = 1,
useTempMemBit = 2,
keepLocalBit = 3,
useDistantHdwrMemBit = 4,
useLocalHdwrMemBit = 5,
pixelsPurgeableBit = 6,
pixelsLockedBit = 7,
nativeEndianPixMapBit = 8,
mapPixBit = 16,
newDepthBit = 17,
alignPixBit = 18,
newRowBytesBit = 19,
reallocPixBit = 20,
clipPixBit = 28,
stretchPixBit = 29,
ditherPixBit = 30,
gwFlagErrBit = 31
};
enum {
pixPurge = 1L << pixPurgeBit,
noNewDevice = 1L << noNewDeviceBit,
useTempMem = 1L << useTempMemBit,
keepLocal = 1L << keepLocalBit,
useDistantHdwrMem = 1L << useDistantHdwrMemBit,
useLocalHdwrMem = 1L << useLocalHdwrMemBit,
pixelsPurgeable = 1L << pixelsPurgeableBit,
pixelsLocked = 1L << pixelsLockedBit,
kNativeEndianPixMap = 1L << nativeEndianPixMapBit,
kAllocDirectDrawSurface = 1L << 14,
mapPix = 1L << mapPixBit,
newDepth = 1L << newDepthBit,
alignPix = 1L << alignPixBit,
newRowBytes = 1L << newRowBytesBit,
reallocPix = 1L << reallocPixBit,
clipPix = 1L << clipPixBit,
stretchPix = 1L << stretchPixBit,
ditherPix = 1L << ditherPixBit,
gwFlagErr = 1L << gwFlagErrBit
};
typedef unsigned long GWorldFlags;
typedef CGrafPtr GWorldPtr;
# 99 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern QDErr
NewGWorld(
GWorldPtr * offscreenGWorld,
short PixelDepth,
const Rect * boundsRect,
CTabHandle cTable,
GDHandle aGDevice,
GWorldFlags flags) __attribute__((deprecated));
enum {
deviceIsIndirect = (1L << 0),
deviceNeedsLock = (1L << 1),
deviceIsStatic = (1L << 2),
deviceIsExternalBuffer = (1L << 3),
deviceIsDDSurface = (1L << 4),
deviceIsDCISurface = (1L << 5),
deviceIsGDISurface = (1L << 6),
deviceIsAScreen = (1L << 7),
deviceIsOverlaySurface = (1L << 8)
};
# 167 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern QDErr
NewGWorldFromPtr(
GWorldPtr * offscreenGWorld,
UInt32 PixelFormat,
const Rect * boundsRect,
CTabHandle cTable,
GDHandle aGDevice,
GWorldFlags flags,
Ptr newBuffer,
SInt32 rowBytes) __attribute__((deprecated));
# 187 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern Boolean
LockPixels(PixMapHandle pm) __attribute__((deprecated));
# 199 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
UnlockPixels(PixMapHandle pm) __attribute__((deprecated));
# 211 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern GWorldFlags
UpdateGWorld(
GWorldPtr * offscreenGWorld,
short pixelDepth,
const Rect * boundsRect,
CTabHandle cTable,
GDHandle aGDevice,
GWorldFlags flags) __attribute__((deprecated));
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
DisposeGWorld(GWorldPtr offscreenGWorld) __attribute__((deprecated));
# 241 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
GetGWorld(
CGrafPtr * port,
GDHandle * gdh) __attribute__((deprecated));
# 255 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
SetGWorld(
CGrafPtr port,
GDHandle gdh) __attribute__((deprecated));
# 269 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
CTabChanged(CTabHandle ctab) __attribute__((deprecated));
# 281 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
PixPatChanged(PixPatHandle ppat) __attribute__((deprecated));
# 293 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
PortChanged(GrafPtr port) __attribute__((deprecated));
# 305 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
GDeviceChanged(GDHandle gdh) __attribute__((deprecated));
# 317 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
AllowPurgePixels(PixMapHandle pm) __attribute__((deprecated));
# 329 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
NoPurgePixels(PixMapHandle pm) __attribute__((deprecated));
# 341 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern GWorldFlags
GetPixelsState(PixMapHandle pm) __attribute__((deprecated));
# 353 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
SetPixelsState(
PixMapHandle pm,
GWorldFlags state) __attribute__((deprecated));
# 367 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern Ptr
GetPixBaseAddr(PixMapHandle pm) ;
# 379 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern SInt32
GetPixRowBytes(PixMapHandle pm) __attribute__((deprecated));
# 391 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern QDErr
NewScreenBuffer(
const Rect * globalRect,
Boolean purgeable,
GDHandle * gdh,
PixMapHandle * offscreenPixMap) __attribute__((deprecated));
# 407 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern void
DisposeScreenBuffer(PixMapHandle offscreenPixMap) __attribute__((deprecated));
# 419 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern GDHandle
GetGWorldDevice(GWorldPtr offscreenGWorld) __attribute__((deprecated));
# 431 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern Boolean
QDDone(GrafPtr port) __attribute__((deprecated));
# 443 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern SInt32
OffscreenVersion(void) __attribute__((deprecated));
# 455 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern QDErr
NewTempScreenBuffer(
const Rect * globalRect,
Boolean purgeable,
GDHandle * gdh,
PixMapHandle * offscreenPixMap) __attribute__((deprecated));
# 471 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern Boolean
PixMap32Bit(PixMapHandle pmHandle) __attribute__((deprecated));
# 483 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
extern PixMapHandle
GetGWorldPixMap(GWorldPtr offscreenGWorld) __attribute__((deprecated));
# 55 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
#define __QDPICTTOCGCONTEXT__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 2 3
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
typedef struct QDPict* QDPictRef;
# 61 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
extern QDPictRef
QDPictCreateWithProvider(CGDataProviderRef provider) ;
# 79 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
extern QDPictRef
QDPictCreateWithURL(CFURLRef url) ;
# 93 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
extern QDPictRef
QDPictRetain(QDPictRef pictRef) ;
# 107 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
extern void
QDPictRelease(QDPictRef pictRef) ;
# 122 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
extern CGRect
QDPictGetBounds(QDPictRef pictRef) ;
# 139 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
extern void
QDPictGetResolution(
QDPictRef pictRef,
float * xRes,
float * yRes) ;
# 159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
extern OSStatus
QDPictDrawToCGContext(
CGContextRef ctx,
CGRect rect,
QDPictRef pictRef) ;
# 59 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
#define __FONTS__
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
#pragma pack(push, 2)
# 67 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern ATSFontRef
FMGetATSFontRefFromFont(FMFont iFont) ;
# 92 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern FMFont
FMGetFontFromATSFontRef(ATSFontRef iFont) ;
# 131 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMFontGetCGFontRefFromFontFamilyInstance(
FMFontFamily iFontFamily,
FMFontStyle iStyle,
CGFontRef * oFont,
FMFontStyle * oStyle) ;
# 158 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
enum {
systemFont = 0,
applFont = 1
};
enum {
kFMDefaultOptions = kNilOptions
};
enum {
kFMDefaultActivationContext = kFMDefaultOptions,
kFMGlobalActivationContext = 0x00000001,
kFMLocalActivationContext = kFMDefaultActivationContext
};
enum {
kFMDefaultIterationScope = kFMDefaultOptions,
kFMGlobalIterationScope = 0x00000001,
kFMLocalIterationScope = kFMDefaultIterationScope
};
enum {
kPlatformDefaultGuiFontID = applFont
};
enum {
commandMark = 17,
checkMark = 18,
diamondMark = 19,
appleMark = 20
};
enum {
propFont = 36864L,
prpFntH = 36865L,
prpFntW = 36866L,
prpFntHW = 36867L,
fixedFont = 45056L,
fxdFntH = 45057L,
fxdFntW = 45058L,
fxdFntHW = 45059L,
fontWid = 44208L
};
struct FMInput {
short family;
short size;
Style face;
Boolean needBits;
short device;
Point numer;
Point denom;
};
typedef struct FMInput FMInput;
struct FMOutput {
short errNum;
Handle fontHandle;
UInt8 boldPixels;
UInt8 italicPixels;
UInt8 ulOffset;
UInt8 ulShadow;
UInt8 ulThick;
UInt8 shadowPixels;
SInt8 extra;
UInt8 ascent;
UInt8 descent;
UInt8 widMax;
SInt8 leading;
SInt8 curStyle;
Point numer;
Point denom;
};
typedef struct FMOutput FMOutput;
typedef FMOutput * FMOutputPtr;
typedef FMOutputPtr FMOutPtr;
struct FMetricRec {
Fixed ascent;
Fixed descent;
Fixed leading;
Fixed widMax;
Handle wTabHandle;
};
typedef struct FMetricRec FMetricRec;
typedef FMetricRec * FMetricRecPtr;
typedef FMetricRecPtr * FMetricRecHandle;
# 265 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern void
GetFontName(
short familyID,
Str255 name) __attribute__((deprecated));
# 279 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern void
GetFNum(
ConstStr255Param name,
short * familyID) __attribute__((deprecated));
# 293 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern Boolean
RealFont(
short fontNum,
short size) __attribute__((deprecated));
# 317 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern FMOutPtr
FMSwapFont(const FMInput * inRec) __attribute__((deprecated));
# 329 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern void
SetFScaleDisable(Boolean fscaleDisable) __attribute__((deprecated));
# 341 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern void
FontMetrics(FMetricRecPtr theMetrics) __attribute__((deprecated));
# 353 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern void
SetFractEnable(Boolean fractEnable) __attribute__((deprecated));
# 365 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern short
GetDefFontSize(void) __attribute__((deprecated));
# 377 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern Boolean
IsOutline(
Point numer,
Point denom) __attribute__((deprecated));
# 391 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern void
SetOutlinePreferred(Boolean outlinePreferred) __attribute__((deprecated));
# 403 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern Boolean
GetOutlinePreferred(void) __attribute__((deprecated));
# 415 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSErr
OutlineMetrics(
short byteCount,
const void * textPtr,
Point numer,
Point denom,
short * yMax,
short * yMin,
FixedPtr awArray,
FixedPtr lsbArray,
RectPtr boundsArray) __attribute__((deprecated));
# 436 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern void
SetPreserveGlyph(Boolean preserveGlyph) __attribute__((deprecated));
# 448 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern Boolean
GetPreserveGlyph(void) __attribute__((deprecated));
# 496 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern short
GetSysFont(void) __attribute__((deprecated));
# 508 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern short
GetAppFont(void) __attribute__((deprecated));
# 521 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
SetAntiAliasedTextEnabled(
Boolean iEnable,
SInt16 iMinFontSize) __attribute__((deprecated));
# 535 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern Boolean
IsAntiAliasedTextEnabled(SInt16 * oMinFontSize) __attribute__((deprecated));
# 547 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern void
QDTextBounds(
short byteCount,
const void * textAddr,
Rect * bounds) __attribute__((deprecated));
# 562 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSErr
FetchFontInfo(
SInt16 fontID,
SInt16 fontSize,
SInt16 fontStyle,
FontInfo * info) __attribute__((deprecated));
# 584 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMCreateFontFamilyIterator(
const FMFilter * iFilter,
void * iRefCon,
OptionBits iOptions,
FMFontFamilyIterator * ioIterator) __attribute__((deprecated));
# 605 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMDisposeFontFamilyIterator(FMFontFamilyIterator * ioIterator) __attribute__((deprecated));
# 622 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMResetFontFamilyIterator(
const FMFilter * iFilter,
void * iRefCon,
OptionBits iOptions,
FMFontFamilyIterator * ioIterator) __attribute__((deprecated));
# 643 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetNextFontFamily(
FMFontFamilyIterator * ioIterator,
FMFontFamily * oFontFamily) __attribute__((deprecated));
# 662 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMCreateFontIterator(
const FMFilter * iFilter,
void * iRefCon,
OptionBits iOptions,
FMFontIterator * ioIterator) __attribute__((deprecated));
# 683 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMDisposeFontIterator(FMFontIterator * ioIterator) __attribute__((deprecated));
# 700 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMResetFontIterator(
const FMFilter * iFilter,
void * iRefCon,
OptionBits iOptions,
FMFontIterator * ioIterator) __attribute__((deprecated));
# 721 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetNextFont(
FMFontIterator * ioIterator,
FMFont * oFont) __attribute__((deprecated));
# 739 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMCreateFontFamilyInstanceIterator(
FMFontFamily iFontFamily,
FMFontFamilyInstanceIterator * ioIterator) __attribute__((deprecated));
# 757 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMDisposeFontFamilyInstanceIterator(FMFontFamilyInstanceIterator * ioIterator) __attribute__((deprecated));
# 773 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMResetFontFamilyInstanceIterator(
FMFontFamily iFontFamily,
FMFontFamilyInstanceIterator * ioIterator) __attribute__((deprecated));
# 791 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetNextFontFamilyInstance(
FMFontFamilyInstanceIterator * ioIterator,
FMFont * oFont,
FMFontStyle * oStyle,
FMFontSize * oSize) __attribute__((deprecated));
# 812 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern FMFontFamily
FMGetFontFamilyFromName(ConstStr255Param iName) __attribute__((deprecated));
# 829 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontFamilyName(
FMFontFamily iFontFamily,
Str255 oName) __attribute__((deprecated));
# 848 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontFamilyTextEncoding(
FMFontFamily iFontFamily,
TextEncoding * oTextEncoding) __attribute__((deprecated));
# 867 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontFamilyGeneration(
FMFontFamily iFontFamily,
FMGeneration * oGeneration) __attribute__((deprecated));
# 885 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontFormat(
FMFont iFont,
FourCharCode * oFormat) __attribute__((deprecated));
# 899 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontTableDirectory(
FMFont iFont,
ByteCount iLength,
void * iBuffer,
ByteCount * oActualLength) __attribute__((deprecated));
# 921 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontTable(
FMFont iFont,
FourCharCode iTag,
ByteOffset iOffset,
ByteCount iLength,
void * iBuffer,
ByteCount * oActualLength) __attribute__((deprecated));
# 944 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontGeneration(
FMFont iFont,
FMGeneration * oGeneration) __attribute__((deprecated));
# 963 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontContainer(
FMFont iFont,
FSSpec * oFontContainer) __attribute__((deprecated));
# 983 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontFromFontFamilyInstance(
FMFontFamily iFontFamily,
FMFontStyle iStyle,
FMFont * oFont,
FMFontStyle * oIntrinsicStyle) __attribute__((deprecated));
# 1003 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontFamilyInstanceFromFont(
FMFont iFont,
FMFontFamily * oFontFamily,
FMFontStyle * oStyle) __attribute__((deprecated));
# 1022 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern ATSFontFamilyRef
FMGetATSFontFamilyRefFromFontFamily(FMFontFamily iFamily) __attribute__((deprecated));
# 1038 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern FMFontFamily
FMGetFontFamilyFromATSFontFamilyRef(ATSFontFamilyRef iFamily) __attribute__((deprecated));
# 1055 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMActivateFonts(
const FSSpec * iFontContainer,
const FMFilter * iFilter,
void * iRefCon,
OptionBits iOptions) __attribute__((deprecated));
# 1076 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMDeactivateFonts(
const FSSpec * iFontContainer,
const FMFilter * iFilter,
void * iRefCon,
OptionBits iOptions) __attribute__((deprecated));
# 1098 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern FMGeneration
FMGetGeneration(void) __attribute__((deprecated));
# 1115 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontContainerFromFontFamilyInstance(
FMFontFamily iFontFamily,
FMFontStyle iStyle,
FMFontSize iFontSize,
FSSpec * oFontContainer) __attribute__((deprecated));
# 1136 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
extern OSStatus
FMGetFontFamilyResource(
FMFontFamily iFontFamily,
FMFontStyle iFontStyle,
FMFontSize iFontSize,
ByteCount iBufferSize,
void * ioBuffer,
ByteCount * oSize) __attribute__((deprecated));
typedef FMFontFamily FontFamilyID;
typedef FMFontSize FontPointSize;
enum {
kFMUseGlobalScopeOption = 0x00000001
};
enum {
kFontIDNewYork = 2,
kFontIDGeneva = 3,
kFontIDMonaco = 4,
kFontIDVenice = 5,
kFontIDLondon = 6,
kFontIDAthens = 7,
kFontIDSanFrancisco = 8,
kFontIDToronto = 9,
kFontIDCairo = 11,
kFontIDLosAngeles = 12,
kFontIDTimes = 20,
kFontIDHelvetica = 21,
kFontIDCourier = 22,
kFontIDSymbol = 23,
kFontIDMobile = 24
};
# 1185 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
struct WidEntry {
SInt16 widStyle;
};
typedef struct WidEntry WidEntry;
struct WidTable {
SInt16 numWidths;
};
typedef struct WidTable WidTable;
struct AsscEntry {
SInt16 fontSize;
SInt16 fontStyle;
SInt16 fontID;
};
typedef struct AsscEntry AsscEntry;
struct FontAssoc {
SInt16 numAssoc;
};
typedef struct FontAssoc FontAssoc;
struct StyleTable {
SInt16 fontClass;
SInt32 offset;
SInt32 reserved;
char indexes[48];
};
typedef struct StyleTable StyleTable;
struct NameTable {
SInt16 stringCount;
Str255 baseFontName;
};
typedef struct NameTable NameTable;
struct KernPair {
char kernFirst;
char kernSecond;
SInt16 kernWidth;
};
typedef struct KernPair KernPair;
struct KernEntry {
SInt16 kernStyle;
SInt16 kernLength;
};
typedef struct KernEntry KernEntry;
struct KernTable {
SInt16 numKerns;
};
typedef struct KernTable KernTable;
struct WidthTable {
Fixed tabData[256];
Handle tabFont;
long sExtra;
long style;
short fID;
short fSize;
short face;
short device;
Point inNumer;
Point inDenom;
short aFID;
Handle fHand;
Boolean usedFam;
UInt8 aFace;
short vOutput;
short hOutput;
short vFactor;
short hFactor;
short aSize;
short tabSize;
};
typedef struct WidthTable WidthTable;
typedef WidthTable * WidthTablePtr;
typedef WidthTablePtr * WidthTableHdl;
struct FamRec {
SInt16 ffFlags;
SInt16 ffFamID;
SInt16 ffFirstChar;
SInt16 ffLastChar;
SInt16 ffAscent;
SInt16 ffDescent;
SInt16 ffLeading;
SInt16 ffWidMax;
SInt32 ffWTabOff;
SInt32 ffKernOff;
SInt32 ffStylOff;
SInt16 ffProperty[9];
SInt16 ffIntl[2];
SInt16 ffVersion;
};
typedef struct FamRec FamRec;
struct FontRec {
SInt16 fontType;
SInt16 firstChar;
SInt16 lastChar;
SInt16 widMax;
SInt16 kernMax;
SInt16 nDescent;
SInt16 fRectWidth;
SInt16 fRectHeight;
UInt16 owTLoc;
SInt16 ascent;
SInt16 descent;
SInt16 leading;
SInt16 rowWords;
};
typedef struct FontRec FontRec;
typedef FontRec * FontRecPtr;
typedef FontRecPtr * FontRecHdl;
# 1312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
#pragma pack(pop)
# 67 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
#define __PALETTES__
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
#pragma pack(push, 2)
enum {
pmCourteous = 0,
pmDithered = 0x0001,
pmTolerant = 0x0002,
pmAnimated = 0x0004,
pmExplicit = 0x0008,
pmWhite = 0x0010,
pmBlack = 0x0020,
pmInhibitG2 = 0x0100,
pmInhibitC2 = 0x0200,
pmInhibitG4 = 0x0400,
pmInhibitC4 = 0x0800,
pmInhibitG8 = 0x1000,
pmInhibitC8 = 0x2000,
pmNoUpdates = 0x8000,
pmBkUpdates = 0xA000,
pmFgUpdates = 0xC000,
pmAllUpdates = 0xE000
};
struct ColorInfo {
RGBColor ciRGB;
short ciUsage;
short ciTolerance;
short ciDataFields[3];
};
typedef struct ColorInfo ColorInfo;
typedef ColorInfo * ColorInfoPtr;
typedef ColorInfoPtr * ColorInfoHandle;
struct Palette {
short pmEntries;
short pmDataFields[7];
ColorInfo pmInfo[1];
};
typedef struct Palette Palette;
typedef Palette * PalettePtr;
typedef PalettePtr * PaletteHandle;
# 83 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
InitPalettes(void) __attribute__((deprecated));
# 95 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern PaletteHandle
NewPalette(
short entries,
CTabHandle srcColors,
short srcUsage,
short srcTolerance) __attribute__((deprecated));
# 111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern PaletteHandle
GetNewPalette(short PaletteID) __attribute__((deprecated));
# 123 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
DisposePalette(PaletteHandle srcPalette) __attribute__((deprecated));
# 135 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
ActivatePalette(WindowRef srcWindow) __attribute__((deprecated));
# 147 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
SetPalette(
WindowRef dstWindow,
PaletteHandle srcPalette,
Boolean cUpdates) __attribute__((deprecated));
# 162 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
NSetPalette(
WindowRef dstWindow,
PaletteHandle srcPalette,
short nCUpdates) __attribute__((deprecated));
# 177 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern PaletteHandle
GetPalette(WindowRef srcWindow) __attribute__((deprecated));
# 189 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
CopyPalette(
PaletteHandle srcPalette,
PaletteHandle dstPalette,
short srcEntry,
short dstEntry,
short dstLength) __attribute__((deprecated));
# 206 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
PmForeColor(short dstEntry) __attribute__((deprecated));
# 218 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
PmBackColor(short dstEntry) __attribute__((deprecated));
# 230 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
AnimateEntry(
WindowRef dstWindow,
short dstEntry,
const RGBColor * srcRGB) __attribute__((deprecated));
# 246 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
#define MacAnimatePalette AnimatePalette
extern void
AnimatePalette(
WindowRef dstWindow,
CTabHandle srcCTab,
short srcIndex,
short dstEntry,
short dstLength) __attribute__((deprecated));
# 265 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
GetEntryColor(
PaletteHandle srcPalette,
short srcEntry,
RGBColor * dstRGB) __attribute__((deprecated));
# 280 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
SetEntryColor(
PaletteHandle dstPalette,
short dstEntry,
const RGBColor * srcRGB) __attribute__((deprecated));
# 295 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
GetEntryUsage(
PaletteHandle srcPalette,
short srcEntry,
short * dstUsage,
short * dstTolerance) __attribute__((deprecated));
# 311 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
SetEntryUsage(
PaletteHandle dstPalette,
short dstEntry,
short srcUsage,
short srcTolerance) __attribute__((deprecated));
# 327 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
CTab2Palette(
CTabHandle srcCTab,
PaletteHandle dstPalette,
short srcUsage,
short srcTolerance) __attribute__((deprecated));
# 343 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
Palette2CTab(
PaletteHandle srcPalette,
CTabHandle dstCTab) __attribute__((deprecated));
# 357 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern SInt32
Entry2Index(short entry) __attribute__((deprecated));
# 369 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
RestoreDeviceClut(GDHandle gd) __attribute__((deprecated));
# 382 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
#define MacResizePalette ResizePalette
extern void
ResizePalette(
PaletteHandle p,
short size) __attribute__((deprecated));
# 398 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
SaveFore(ColorSpec * c) __attribute__((deprecated));
# 410 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
SaveBack(ColorSpec * c) __attribute__((deprecated));
# 422 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
RestoreFore(const ColorSpec * c) __attribute__((deprecated));
# 434 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
RestoreBack(const ColorSpec * c) __attribute__((deprecated));
# 446 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern OSErr
SetDepth(
GDHandle gd,
short depth,
short whichFlags,
short flags) __attribute__((deprecated));
# 462 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern short
HasDepth(
GDHandle gd,
short depth,
short whichFlags,
short flags) __attribute__((deprecated));
# 478 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern short
PMgrVersion(void) __attribute__((deprecated));
# 490 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern void
SetPaletteUpdates(
PaletteHandle p,
short updates) __attribute__((deprecated));
# 504 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern short
GetPaletteUpdates(PaletteHandle p) __attribute__((deprecated));
# 516 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
extern Boolean
GetGray(
GDHandle device,
const RGBColor * backGround,
RGBColor * foreGround) __attribute__((deprecated));
#pragma pack(pop)
# 71 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
#define __PICTUTILS__
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
#pragma pack(push, 2)
enum {
returnColorTable = 0x0001,
returnPalette = 0x0002,
recordComments = 0x0004,
recordFontInfo = 0x0008,
suppressBlackAndWhite = 0x0010
};
enum {
systemMethod = 0,
popularMethod = 1,
medianMethod = 2
};
enum {
ColorBankIsCustom = -1,
ColorBankIsExactAnd555 = 0,
ColorBankIs555 = 1
};
typedef long PictInfoID;
struct CommentSpec {
short count;
short ID;
};
typedef struct CommentSpec CommentSpec;
typedef CommentSpec * CommentSpecPtr;
typedef CommentSpecPtr * CommentSpecHandle;
struct FontSpec {
short pictFontID;
short sysFontID;
long size[4];
short style;
long nameOffset;
};
typedef struct FontSpec FontSpec;
typedef FontSpec * FontSpecPtr;
typedef FontSpecPtr * FontSpecHandle;
struct PictInfo {
short version;
long uniqueColors;
PaletteHandle thePalette;
CTabHandle theColorTable;
Fixed hRes;
Fixed vRes;
short depth;
Rect sourceRect;
long textCount;
long lineCount;
long rectCount;
long rRectCount;
long ovalCount;
long arcCount;
long polyCount;
long regionCount;
long bitMapCount;
long pixMapCount;
long commentCount;
long uniqueComments;
CommentSpecHandle commentHandle;
long uniqueFonts;
FontSpecHandle fontHandle;
Handle fontNamesHandle;
long reserved1;
long reserved2;
};
typedef struct PictInfo PictInfo;
typedef PictInfo * PictInfoPtr;
typedef PictInfoPtr * PictInfoHandle;
typedef OSErr ( * InitPickMethodProcPtr)(SInt16 colorsRequested, UInt32 *dataRef, SInt16 *colorBankType);
typedef OSErr ( * RecordColorsProcPtr)(UInt32 dataRef, RGBColor *colorsArray, SInt32 colorCount, SInt32 *uniqueColors);
typedef OSErr ( * CalcColorTableProcPtr)(UInt32 dataRef, SInt16 colorsRequested, void *colorBankPtr, CSpecArray resultPtr);
typedef OSErr ( * DisposeColorPickMethodProcPtr)(UInt32 dataRef);
typedef InitPickMethodProcPtr InitPickMethodUPP;
typedef RecordColorsProcPtr RecordColorsUPP;
typedef CalcColorTableProcPtr CalcColorTableUPP;
typedef DisposeColorPickMethodProcPtr DisposeColorPickMethodUPP;
# 129 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern InitPickMethodUPP
NewInitPickMethodUPP(InitPickMethodProcPtr userRoutine) __attribute__((deprecated));
# 140 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern RecordColorsUPP
NewRecordColorsUPP(RecordColorsProcPtr userRoutine) __attribute__((deprecated));
# 151 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern CalcColorTableUPP
NewCalcColorTableUPP(CalcColorTableProcPtr userRoutine) __attribute__((deprecated));
# 162 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern DisposeColorPickMethodUPP
NewDisposeColorPickMethodUPP(DisposeColorPickMethodProcPtr userRoutine) __attribute__((deprecated));
# 173 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern void
DisposeInitPickMethodUPP(InitPickMethodUPP userUPP) __attribute__((deprecated));
# 184 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern void
DisposeRecordColorsUPP(RecordColorsUPP userUPP) __attribute__((deprecated));
# 195 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern void
DisposeCalcColorTableUPP(CalcColorTableUPP userUPP) __attribute__((deprecated));
# 206 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern void
DisposeDisposeColorPickMethodUPP(DisposeColorPickMethodUPP userUPP) __attribute__((deprecated));
# 217 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
InvokeInitPickMethodUPP(
SInt16 colorsRequested,
UInt32 * dataRef,
SInt16 * colorBankType,
InitPickMethodUPP userUPP) __attribute__((deprecated));
# 232 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
InvokeRecordColorsUPP(
UInt32 dataRef,
RGBColor * colorsArray,
SInt32 colorCount,
SInt32 * uniqueColors,
RecordColorsUPP userUPP) __attribute__((deprecated));
# 248 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
InvokeCalcColorTableUPP(
UInt32 dataRef,
SInt16 colorsRequested,
void * colorBankPtr,
CSpecArray resultPtr,
CalcColorTableUPP userUPP) __attribute__((deprecated));
# 264 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
InvokeDisposeColorPickMethodUPP(
UInt32 dataRef,
DisposeColorPickMethodUPP userUPP) __attribute__((deprecated));
# 284 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
#define NewInitPickMethodUPP(userRoutine) ((InitPickMethodUPP)userRoutine)
#define NewRecordColorsUPP(userRoutine) ((RecordColorsUPP)userRoutine)
#define NewCalcColorTableUPP(userRoutine) ((CalcColorTableUPP)userRoutine)
#define NewDisposeColorPickMethodUPP(userRoutine) ((DisposeColorPickMethodUPP)userRoutine)
#define DisposeInitPickMethodUPP(userUPP)
#define DisposeRecordColorsUPP(userUPP)
#define DisposeCalcColorTableUPP(userUPP)
#define DisposeDisposeColorPickMethodUPP(userUPP)
#define InvokeInitPickMethodUPP(colorsRequested,dataRef,colorBankType,userUPP) (*userUPP)(colorsRequested, dataRef, colorBankType)
#define InvokeRecordColorsUPP(dataRef,colorsArray,colorCount,uniqueColors,userUPP) (*userUPP)(dataRef, colorsArray, colorCount, uniqueColors)
#define InvokeCalcColorTableUPP(dataRef,colorsRequested,colorBankPtr,resultPtr,userUPP) (*userUPP)(dataRef, colorsRequested, colorBankPtr, resultPtr)
#define InvokeDisposeColorPickMethodUPP(dataRef,userUPP) (*userUPP)(dataRef)
# 308 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
GetPictInfo(
PicHandle thePictHandle,
PictInfo * thePictInfo,
short verb,
short colorsRequested,
short colorPickMethod,
short version) __attribute__((deprecated));
# 326 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
GetPixMapInfo(
PixMapHandle thePixMapHandle,
PictInfo * thePictInfo,
short verb,
short colorsRequested,
short colorPickMethod,
short version) __attribute__((deprecated));
# 344 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
NewPictInfo(
PictInfoID * thePictInfoID,
short verb,
short colorsRequested,
short colorPickMethod,
short version) __attribute__((deprecated));
# 361 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
RecordPictInfo(
PictInfoID thePictInfoID,
PicHandle thePictHandle) __attribute__((deprecated));
# 375 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
RecordPixMapInfo(
PictInfoID thePictInfoID,
PixMapHandle thePixMapHandle) __attribute__((deprecated));
# 389 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
RetrievePictInfo(
PictInfoID thePictInfoID,
PictInfo * thePictInfo,
short colorsRequested) __attribute__((deprecated));
# 404 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
DisposePictInfo(PictInfoID thePictInfoID) __attribute__((deprecated));
# 418 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
#pragma pack(pop)
# 75 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
#define __VIDEO__
# 31 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
#pragma pack(push, 2)
# 45 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
enum {
mBaseOffset = 1,
mRowBytes = 2,
mBounds = 3,
mVersion = 4,
mHRes = 5,
mVRes = 6,
mPixelType = 7,
mPixelSize = 8,
mCmpCount = 9,
mCmpSize = 10,
mPlaneBytes = 11,
mVertRefRate = 14,
mVidParams = 1,
mTable = 2,
mPageCnt = 3,
mDevType = 4,
oneBitMode = 128,
twoBitMode = 129,
fourBitMode = 130,
eightBitMode = 131
};
enum {
sixteenBitMode = 132,
thirtyTwoBitMode = 133,
firstVidMode = 128,
secondVidMode = 129,
thirdVidMode = 130,
fourthVidMode = 131,
fifthVidMode = 132,
sixthVidMode = 133,
spGammaDir = 64,
spVidNamesDir = 65
};
enum {
kDeclROMtables = 'decl',
kDetailedTimingFormat = 'arba'
};
enum {
kDDCBlockSize = 128
};
enum {
kDDCBlockTypeEDID = 0
};
enum {
kDDCForceReadBit = 0,
kDDCForceReadMask = (1 << kDDCForceReadBit)
};
# 114 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
enum {
timingInvalid = 0,
timingInvalid_SM_T24 = 8,
timingApple_FixedRateLCD = 42,
timingApple_512x384_60hz = 130,
timingApple_560x384_60hz = 135,
timingApple_640x480_67hz = 140,
timingApple_640x400_67hz = 145,
timingVESA_640x480_60hz = 150,
timingVESA_640x480_72hz = 152,
timingVESA_640x480_75hz = 154,
timingVESA_640x480_85hz = 158,
timingGTF_640x480_120hz = 159,
timingApple_640x870_75hz = 160,
timingApple_640x818_75hz = 165,
timingApple_832x624_75hz = 170,
timingVESA_800x600_56hz = 180,
timingVESA_800x600_60hz = 182,
timingVESA_800x600_72hz = 184,
timingVESA_800x600_75hz = 186,
timingVESA_800x600_85hz = 188,
timingVESA_1024x768_60hz = 190,
timingVESA_1024x768_70hz = 200,
timingVESA_1024x768_75hz = 204,
timingVESA_1024x768_85hz = 208,
timingApple_1024x768_75hz = 210,
timingApple_1152x870_75hz = 220,
timingAppleNTSC_ST = 230,
timingAppleNTSC_FF = 232,
timingAppleNTSC_STconv = 234,
timingAppleNTSC_FFconv = 236,
timingApplePAL_ST = 238,
timingApplePAL_FF = 240,
timingApplePAL_STconv = 242,
timingApplePAL_FFconv = 244,
timingVESA_1280x960_75hz = 250,
timingVESA_1280x960_60hz = 252,
timingVESA_1280x960_85hz = 254,
timingVESA_1280x1024_60hz = 260,
timingVESA_1280x1024_75hz = 262,
timingVESA_1280x1024_85hz = 268,
timingVESA_1600x1200_60hz = 280,
timingVESA_1600x1200_65hz = 282,
timingVESA_1600x1200_70hz = 284,
timingVESA_1600x1200_75hz = 286,
timingVESA_1600x1200_80hz = 288,
timingVESA_1600x1200_85hz = 289,
timingVESA_1792x1344_60hz = 296,
timingVESA_1792x1344_75hz = 298,
timingVESA_1856x1392_60hz = 300,
timingVESA_1856x1392_75hz = 302,
timingVESA_1920x1440_60hz = 304,
timingVESA_1920x1440_75hz = 306,
timingSMPTE240M_60hz = 400,
timingFilmRate_48hz = 410,
timingSony_1600x1024_76hz = 500,
timingSony_1920x1080_60hz = 510,
timingSony_1920x1080_72hz = 520,
timingSony_1920x1200_76hz = 540,
timingApple_0x0_0hz_Offline = 550
};
enum {
timingApple12 = timingApple_512x384_60hz,
timingApple12x = timingApple_560x384_60hz,
timingApple13 = timingApple_640x480_67hz,
timingApple13x = timingApple_640x400_67hz,
timingAppleVGA = timingVESA_640x480_60hz,
timingApple15 = timingApple_640x870_75hz,
timingApple15x = timingApple_640x818_75hz,
timingApple16 = timingApple_832x624_75hz,
timingAppleSVGA = timingVESA_800x600_56hz,
timingApple1Ka = timingVESA_1024x768_60hz,
timingApple1Kb = timingVESA_1024x768_70hz,
timingApple19 = timingApple_1024x768_75hz,
timingApple21 = timingApple_1152x870_75hz,
timingSony_1900x1200_74hz = 530,
timingSony_1900x1200_76hz = timingSony_1920x1200_76hz
};
enum {
kAllModesValid = 0,
kAllModesSafe = 1,
kReportsTagging = 2,
kHasDirectConnection = 3,
kIsMonoDev = 4,
kUncertainConnection = 5,
kTaggingInfoNonStandard = 6,
kReportsDDCConnection = 7,
kHasDDCConnection = 8,
kConnectionInactive = 9,
kDependentConnection = 10,
kBuiltInConnection = 11,
kOverrideConnection = 12,
kFastCheckForDDC = 13,
kReportsHotPlugging = 14
};
enum {
kUnknownConnect = 1,
kPanelConnect = 2,
kPanelTFTConnect = 2,
kFixedModeCRTConnect = 3,
kMultiModeCRT1Connect = 4,
kMultiModeCRT2Connect = 5,
kMultiModeCRT3Connect = 6,
kMultiModeCRT4Connect = 7,
kModelessConnect = 8,
kFullPageConnect = 9,
kVGAConnect = 10,
kNTSCConnect = 11,
kPALConnect = 12,
kHRConnect = 13,
kPanelFSTNConnect = 14,
kMonoTwoPageConnect = 15,
kColorTwoPageConnect = 16,
kColor16Connect = 17,
kColor19Connect = 18,
kGenericCRT = 19,
kGenericLCD = 20,
kDDCConnect = 21,
kNoConnect = 22
};
enum {
kModeValid = 0,
kModeSafe = 1,
kModeDefault = 2,
kModeShowNow = 3,
kModeNotResize = 4,
kModeRequiresPan = 5,
kModeInterlaced = 6,
kModeShowNever = 7,
kModeSimulscan = 8,
kModeNotPreset = 9,
kModeBuiltIn = 10,
kModeStretched = 11
};
enum {
kDepthDependent = 0
};
enum {
kResolutionHasMultipleDepthSizes = 0
};
enum {
kAVPowerOff = 0,
kAVPowerStandby = 1,
kAVPowerSuspend = 2,
kAVPowerOn = 3,
kHardwareSleep = 128,
kHardwareWake = 129,
kHardwareWakeFromSuspend = 130,
kHardwareWakeToDoze = 131,
kHardwareWakeToDozeFromSuspend = 132
};
enum {
kPowerStateNeedsRefresh = 0,
kPowerStateSleepAwareBit = 1,
kPowerStateSleepForbiddenBit = 2,
kPowerStateSleepCanPowerOffBit = 3,
kPowerStateSleepNoDPMSBit = 4,
kPowerStateSleepWaketoDozeBit = 5,
kPowerStateNeedsRefreshMask = (1L << kPowerStateNeedsRefresh),
kPowerStateSleepAwareMask = (1L << kPowerStateSleepAwareBit),
kPowerStateSleepForbiddenMask = (1L << kPowerStateSleepForbiddenBit),
kPowerStateSleepCanPowerOffMask = (1L << kPowerStateSleepCanPowerOffBit),
kPowerStateSleepNoDPMSMask = (1L << kPowerStateSleepNoDPMSBit),
kPowerStateSleepWaketoDozeMask = (1L << kPowerStateSleepWaketoDozeBit)
};
enum {
cscReset = 0,
cscKillIO = 1,
cscSetMode = 2,
cscSetEntries = 3,
cscSetGamma = 4,
cscGrayPage = 5,
cscGrayScreen = 5,
cscSetGray = 6,
cscSetInterrupt = 7,
cscDirectSetEntries = 8,
cscSetDefaultMode = 9,
cscSwitchMode = 10,
cscSetSync = 11,
cscSavePreferredConfiguration = 16,
cscSetHardwareCursor = 22,
cscDrawHardwareCursor = 23,
cscSetConvolution = 24,
cscSetPowerState = 25,
cscPrivateControlCall = 26,
cscSetMultiConnect = 28,
cscSetClutBehavior = 29,
cscSetDetailedTiming = 31,
cscDoCommunication = 33,
cscProbeConnection = 34,
cscUnusedCall = 127
};
enum {
cscGetMode = 2,
cscGetEntries = 3,
cscGetPageCnt = 4,
cscGetPages = 4,
cscGetPageBase = 5,
cscGetBaseAddr = 5,
cscGetGray = 6,
cscGetInterrupt = 7,
cscGetGamma = 8,
cscGetDefaultMode = 9,
cscGetCurMode = 10,
cscGetSync = 11,
cscGetConnection = 12,
cscGetModeTiming = 13,
cscGetModeBaseAddress = 14,
cscGetScanProc = 15,
cscGetPreferredConfiguration = 16,
cscGetNextResolution = 17,
cscGetVideoParameters = 18,
cscGetGammaInfoList = 20,
cscRetrieveGammaTable = 21,
cscSupportsHardwareCursor = 22,
cscGetHardwareCursorDrawState = 23,
cscGetConvolution = 24,
cscGetPowerState = 25,
cscPrivateStatusCall = 26,
cscGetDDCBlock = 27,
cscGetMultiConnect = 28,
cscGetClutBehavior = 29,
cscGetTimingRanges = 30,
cscGetDetailedTiming = 31,
cscGetCommunicationInfo = 32
};
enum {
kDisableHorizontalSyncBit = 0,
kDisableVerticalSyncBit = 1,
kDisableCompositeSyncBit = 2,
kEnableSyncOnBlue = 3,
kEnableSyncOnGreen = 4,
kEnableSyncOnRed = 5,
kNoSeparateSyncControlBit = 6,
kTriStateSyncBit = 7,
kHorizontalSyncMask = 0x01,
kVerticalSyncMask = 0x02,
kCompositeSyncMask = 0x04,
kDPMSSyncMask = 0x07,
kTriStateSyncMask = 0x80,
kSyncOnBlueMask = 0x08,
kSyncOnGreenMask = 0x10,
kSyncOnRedMask = 0x20,
kSyncOnMask = 0x38
};
enum {
kDPMSSyncOn = 0,
kDPMSSyncStandby = 1,
kDPMSSyncSuspend = 2,
kDPMSSyncOff = 7
};
enum {
kConvolved = 0,
kLiveVideoPassThru = 1,
kConvolvedMask = 0x01,
kLiveVideoPassThruMask = 0x02
};
struct VPBlock {
long vpBaseOffset;
short vpRowBytes;
Rect vpBounds;
short vpVersion;
short vpPackType;
long vpPackSize;
long vpHRes;
long vpVRes;
short vpPixelType;
short vpPixelSize;
short vpCmpCount;
short vpCmpSize;
long vpPlaneBytes;
};
typedef struct VPBlock VPBlock;
typedef VPBlock * VPBlockPtr;
struct VDEntryRecord {
Ptr csTable;
};
typedef struct VDEntryRecord VDEntryRecord;
typedef VDEntryRecord * VDEntRecPtr;
struct VDGrayRecord {
Boolean csMode;
SInt8 filler;
};
typedef struct VDGrayRecord VDGrayRecord;
typedef VDGrayRecord * VDGrayPtr;
struct VDFlagRecord {
SInt8 csMode;
SInt8 filler;
};
typedef struct VDFlagRecord VDFlagRecord;
typedef VDFlagRecord * VDFlagRecPtr;
struct VDSetEntryRecord {
ColorSpec * csTable;
short csStart;
short csCount;
};
typedef struct VDSetEntryRecord VDSetEntryRecord;
typedef VDSetEntryRecord * VDSetEntryPtr;
struct VDGammaRecord {
Ptr csGTable;
};
typedef struct VDGammaRecord VDGammaRecord;
typedef VDGammaRecord * VDGamRecPtr;
struct VDBaseAddressInfoRec {
long csDevData;
long csDevBase;
short csModeReserved;
long csModeBase;
};
typedef struct VDBaseAddressInfoRec VDBaseAddressInfoRec;
typedef VDBaseAddressInfoRec * VDBaseAddressInfoPtr;
struct VDSwitchInfoRec {
unsigned short csMode;
unsigned long csData;
unsigned short csPage;
Ptr csBaseAddr;
unsigned long csReserved;
};
typedef struct VDSwitchInfoRec VDSwitchInfoRec;
typedef VDSwitchInfoRec * VDSwitchInfoPtr;
struct VDTimingInfoRec {
unsigned long csTimingMode;
unsigned long csTimingReserved;
unsigned long csTimingFormat;
unsigned long csTimingData;
unsigned long csTimingFlags;
};
typedef struct VDTimingInfoRec VDTimingInfoRec;
typedef VDTimingInfoRec * VDTimingInfoPtr;
struct VDDisplayConnectInfoRec {
unsigned short csDisplayType;
unsigned char csConnectTaggedType;
unsigned char csConnectTaggedData;
unsigned long csConnectFlags;
unsigned long csDisplayComponent;
unsigned long csConnectReserved;
};
typedef struct VDDisplayConnectInfoRec VDDisplayConnectInfoRec;
typedef VDDisplayConnectInfoRec * VDDisplayConnectInfoPtr;
struct VDMultiConnectInfoRec {
unsigned long csDisplayCountOrNumber;
VDDisplayConnectInfoRec csConnectInfo;
};
typedef struct VDMultiConnectInfoRec VDMultiConnectInfoRec;
typedef VDMultiConnectInfoRec * VDMultiConnectInfoPtr;
# 508 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
typedef unsigned char RawSenseCode;
enum {
kRSCZero = 0,
kRSCOne = 1,
kRSCTwo = 2,
kRSCThree = 3,
kRSCFour = 4,
kRSCFive = 5,
kRSCSix = 6,
kRSCSeven = 7
};
# 539 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
typedef unsigned char ExtendedSenseCode;
enum {
kESCZero21Inch = 0x00,
kESCOnePortraitMono = 0x14,
kESCTwo12Inch = 0x21,
kESCThree21InchRadius = 0x31,
kESCThree21InchMonoRadius = 0x34,
kESCThree21InchMono = 0x35,
kESCFourNTSC = 0x0A,
kESCFivePortrait = 0x1E,
kESCSixMSB1 = 0x03,
kESCSixMSB2 = 0x0B,
kESCSixMSB3 = 0x23,
kESCSixStandard = 0x2B,
kESCSevenPAL = 0x00,
kESCSevenNTSC = 0x14,
kESCSevenVGA = 0x17,
kESCSeven16Inch = 0x2D,
kESCSevenPALAlternate = 0x30,
kESCSeven19Inch = 0x3A,
kESCSevenDDC = 0x3E,
kESCSevenNoDisplay = 0x3F
};
# 575 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
typedef unsigned short DepthMode;
enum {
kDepthMode1 = 128,
kDepthMode2 = 129,
kDepthMode3 = 130,
kDepthMode4 = 131,
kDepthMode5 = 132,
kDepthMode6 = 133
};
enum {
kFirstDepthMode = 128,
kSecondDepthMode = 129,
kThirdDepthMode = 130,
kFourthDepthMode = 131,
kFifthDepthMode = 132,
kSixthDepthMode = 133
};
struct VDPageInfo {
short csMode;
long csData;
short csPage;
Ptr csBaseAddr;
};
typedef struct VDPageInfo VDPageInfo;
typedef VDPageInfo * VDPgInfoPtr;
struct VDSizeInfo {
short csHSize;
short csHPos;
short csVSize;
short csVPos;
};
typedef struct VDSizeInfo VDSizeInfo;
typedef VDSizeInfo * VDSzInfoPtr;
struct VDSettings {
short csParamCnt;
short csBrightMax;
short csBrightDef;
short csBrightVal;
short csCntrstMax;
short csCntrstDef;
short csCntrstVal;
short csTintMax;
short csTintDef;
short csTintVal;
short csHueMax;
short csHueDef;
short csHueVal;
short csHorizDef;
short csHorizVal;
short csHorizMax;
short csVertDef;
short csVertVal;
short csVertMax;
};
typedef struct VDSettings VDSettings;
typedef VDSettings * VDSettingsPtr;
struct VDDefMode {
UInt8 csID;
SInt8 filler;
};
typedef struct VDDefMode VDDefMode;
typedef VDDefMode * VDDefModePtr;
struct VDSyncInfoRec {
UInt8 csMode;
UInt8 csFlags;
};
typedef struct VDSyncInfoRec VDSyncInfoRec;
typedef VDSyncInfoRec * VDSyncInfoPtr;
typedef UInt32 AVIDType;
typedef AVIDType DisplayIDType;
typedef UInt32 DisplayModeID;
typedef UInt32 VideoDeviceType;
typedef UInt32 GammaTableID;
enum {
kDisplayModeIDCurrent = 0x00,
kDisplayModeIDInvalid = (long)0xFFFFFFFF,
kDisplayModeIDFindFirstResolution = (long)0xFFFFFFFE,
kDisplayModeIDNoMoreResolutions = (long)0xFFFFFFFD,
kDisplayModeIDFindFirstProgrammable = (long)0xFFFFFFFC,
kDisplayModeIDBootProgrammable = (long)0xFFFFFFFB,
kDisplayModeIDReservedBase = (long)0x80000000
};
enum {
kGammaTableIDFindFirst = (long)0xFFFFFFFE,
kGammaTableIDNoMoreTables = (long)0xFFFFFFFD,
kGammaTableIDSpecific = 0x00
};
enum {
kGetConnectionCount = (long)0xFFFFFFFF,
kActivateConnection = (0 << kConnectionInactive),
kDeactivateConnection = (1 << kConnectionInactive)
};
enum {
kVideoDefaultBus = 0
};
enum {
kVideoBusTypeInvalid = 0,
kVideoBusTypeI2C = 1
};
enum {
kVideoNoTransactionType = 0,
kVideoSimpleI2CType = 1,
kVideoDDCciReplyType = 2
};
enum {
kVideoReplyMicroSecDelayMask = (1 << 0)
};
struct VDResolutionInfoRec {
DisplayModeID csPreviousDisplayModeID;
DisplayModeID csDisplayModeID;
unsigned long csHorizontalPixels;
unsigned long csVerticalLines;
Fixed csRefreshRate;
DepthMode csMaxDepthMode;
unsigned long csResolutionFlags;
unsigned long csReserved;
};
typedef struct VDResolutionInfoRec VDResolutionInfoRec;
typedef VDResolutionInfoRec * VDResolutionInfoPtr;
struct VDVideoParametersInfoRec {
DisplayModeID csDisplayModeID;
DepthMode csDepthMode;
VPBlockPtr csVPBlockPtr;
unsigned long csPageCount;
VideoDeviceType csDeviceType;
UInt32 csDepthFlags;
};
typedef struct VDVideoParametersInfoRec VDVideoParametersInfoRec;
typedef VDVideoParametersInfoRec * VDVideoParametersInfoPtr;
struct VDGammaInfoRec {
GammaTableID csLastGammaID;
GammaTableID csNextGammaID;
Ptr csGammaPtr;
unsigned long csReserved;
};
typedef struct VDGammaInfoRec VDGammaInfoRec;
typedef VDGammaInfoRec * VDGammaInfoPtr;
struct VDGetGammaListRec {
GammaTableID csPreviousGammaTableID;
GammaTableID csGammaTableID;
unsigned long csGammaTableSize;
char * csGammaTableName;
};
typedef struct VDGetGammaListRec VDGetGammaListRec;
typedef VDGetGammaListRec * VDGetGammaListPtr;
struct VDRetrieveGammaRec {
GammaTableID csGammaTableID;
GammaTbl * csGammaTablePtr;
};
typedef struct VDRetrieveGammaRec VDRetrieveGammaRec;
typedef VDRetrieveGammaRec * VDRetrieveGammaPtr;
struct VDSetHardwareCursorRec {
void * csCursorRef;
UInt32 csReserved1;
UInt32 csReserved2;
};
typedef struct VDSetHardwareCursorRec VDSetHardwareCursorRec;
typedef VDSetHardwareCursorRec * VDSetHardwareCursorPtr;
struct VDDrawHardwareCursorRec {
SInt32 csCursorX;
SInt32 csCursorY;
UInt32 csCursorVisible;
UInt32 csReserved1;
UInt32 csReserved2;
};
typedef struct VDDrawHardwareCursorRec VDDrawHardwareCursorRec;
typedef VDDrawHardwareCursorRec * VDDrawHardwareCursorPtr;
struct VDSupportsHardwareCursorRec {
UInt32 csSupportsHardwareCursor;
UInt32 csReserved1;
UInt32 csReserved2;
};
typedef struct VDSupportsHardwareCursorRec VDSupportsHardwareCursorRec;
typedef VDSupportsHardwareCursorRec * VDSupportsHardwareCursorPtr;
struct VDHardwareCursorDrawStateRec {
SInt32 csCursorX;
SInt32 csCursorY;
UInt32 csCursorVisible;
UInt32 csCursorSet;
UInt32 csReserved1;
UInt32 csReserved2;
};
typedef struct VDHardwareCursorDrawStateRec VDHardwareCursorDrawStateRec;
typedef VDHardwareCursorDrawStateRec * VDHardwareCursorDrawStatePtr;
struct VDConvolutionInfoRec {
DisplayModeID csDisplayModeID;
DepthMode csDepthMode;
unsigned long csPage;
UInt32 csFlags;
UInt32 csReserved;
};
typedef struct VDConvolutionInfoRec VDConvolutionInfoRec;
typedef VDConvolutionInfoRec * VDConvolutionInfoPtr;
struct VDPowerStateRec {
unsigned long powerState;
unsigned long powerFlags;
unsigned long powerReserved1;
unsigned long powerReserved2;
};
typedef struct VDPowerStateRec VDPowerStateRec;
typedef VDPowerStateRec * VDPowerStatePtr;
# 813 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
struct VDPrivateSelectorDataRec {
LogicalAddress privateParameters;
ByteCount privateParametersSize;
LogicalAddress privateResults;
ByteCount privateResultsSize;
};
typedef struct VDPrivateSelectorDataRec VDPrivateSelectorDataRec;
struct VDPrivateSelectorRec {
UInt32 reserved;
VDPrivateSelectorDataRec data[1];
};
typedef struct VDPrivateSelectorRec VDPrivateSelectorRec;
struct VDDDCBlockRec {
UInt32 ddcBlockNumber;
ResType ddcBlockType;
UInt32 ddcFlags;
UInt32 ddcReserved;
Byte ddcBlockData[128];
};
typedef struct VDDDCBlockRec VDDDCBlockRec;
typedef VDDDCBlockRec * VDDDCBlockPtr;
enum {
kSyncInterlaceMask = (1 << 7),
kSyncAnalogCompositeMask = 0,
kSyncAnalogCompositeSerrateMask = (1 << 2),
kSyncAnalogCompositeRGBSyncMask = (1 << 1),
kSyncAnalogBipolarMask = (1 << 3),
kSyncAnalogBipolarSerrateMask = (1 << 2),
kSyncAnalogBipolarSRGBSyncMask = (1 << 1),
kSyncDigitalCompositeMask = (1 << 4),
kSyncDigitalCompositeSerrateMask = (1 << 2),
kSyncDigitalCompositeMatchHSyncMask = (1 << 2),
kSyncDigitalSeperateMask = (1 << 4) + (1 << 3),
kSyncDigitalVSyncPositiveMask = (1 << 2),
kSyncDigitalHSyncPositiveMask = (1 << 1)
};
struct VDDisplayTimingRangeRec {
UInt32 csRangeSize;
UInt32 csRangeType;
UInt32 csRangeVersion;
UInt32 csRangeReserved;
UInt32 csRangeBlockIndex;
UInt32 csRangeGroup;
UInt32 csRangeBlockCount;
UInt32 csRangeFlags;
UInt64 csMinPixelClock;
UInt64 csMaxPixelClock;
UInt32 csMaxPixelError;
UInt32 csTimingRangeSyncFlags;
UInt32 csTimingRangeSignalLevels;
UInt32 csReserved0;
UInt32 csMinFrameRate;
UInt32 csMaxFrameRate;
UInt32 csMinLineRate;
UInt32 csMaxLineRate;
UInt32 csMaxHorizontalTotal;
UInt32 csMaxVerticalTotal;
UInt32 csMaxTotalReserved1;
UInt32 csMaxTotalReserved2;
# 893 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
UInt8 csCharSizeHorizontalActive;
UInt8 csCharSizeHorizontalBlanking;
UInt8 csCharSizeHorizontalSyncOffset;
UInt8 csCharSizeHorizontalSyncPulse;
UInt8 csCharSizeVerticalActive;
UInt8 csCharSizeVerticalBlanking;
UInt8 csCharSizeVerticalSyncOffset;
UInt8 csCharSizeVerticalSyncPulse;
UInt8 csCharSizeHorizontalBorderLeft;
UInt8 csCharSizeHorizontalBorderRight;
UInt8 csCharSizeVerticalBorderTop;
UInt8 csCharSizeVerticalBorderBottom;
UInt8 csCharSizeHorizontalTotal;
UInt8 csCharSizeVerticalTotal;
UInt16 csCharSizeReserved1;
UInt32 csMinHorizontalActiveClocks;
UInt32 csMaxHorizontalActiveClocks;
UInt32 csMinHorizontalBlankingClocks;
UInt32 csMaxHorizontalBlankingClocks;
UInt32 csMinHorizontalSyncOffsetClocks;
UInt32 csMaxHorizontalSyncOffsetClocks;
UInt32 csMinHorizontalPulseWidthClocks;
UInt32 csMaxHorizontalPulseWidthClocks;
UInt32 csMinVerticalActiveClocks;
UInt32 csMaxVerticalActiveClocks;
UInt32 csMinVerticalBlankingClocks;
UInt32 csMaxVerticalBlankingClocks;
UInt32 csMinVerticalSyncOffsetClocks;
UInt32 csMaxVerticalSyncOffsetClocks;
UInt32 csMinVerticalPulseWidthClocks;
UInt32 csMaxVerticalPulseWidthClocks;
UInt32 csMinHorizontalBorderLeft;
UInt32 csMaxHorizontalBorderLeft;
UInt32 csMinHorizontalBorderRight;
UInt32 csMaxHorizontalBorderRight;
UInt32 csMinVerticalBorderTop;
UInt32 csMaxVerticalBorderTop;
UInt32 csMinVerticalBorderBottom;
UInt32 csMaxVerticalBorderBottom;
UInt32 csReserved1;
UInt32 csReserved2;
UInt32 csReserved3;
UInt32 csReserved4;
UInt32 csReserved5;
UInt32 csReserved6;
UInt32 csReserved7;
UInt32 csReserved8;
};
typedef struct VDDisplayTimingRangeRec VDDisplayTimingRangeRec;
typedef VDDisplayTimingRangeRec * VDDisplayTimingRangePtr;
enum {
kDMSModeReady = 0,
kDMSModeNotReady = 1,
kDMSModeFree = 2
};
enum {
kTimingChangeRestrictedErr = -10930,
kVideoI2CReplyPendingErr = -10931,
kVideoI2CTransactionErr = -10932,
kVideoI2CBusyErr = -10933,
kVideoI2CTransactionTypeErr = -10934,
kVideoBufferSizeErr = -10935
};
enum {
kRangeSupportsSignal_0700_0300_Bit = 0,
kRangeSupportsSignal_0714_0286_Bit = 1,
kRangeSupportsSignal_1000_0400_Bit = 2,
kRangeSupportsSignal_0700_0000_Bit = 3,
kRangeSupportsSignal_0700_0300_Mask = (1 << kRangeSupportsSignal_0700_0300_Bit),
kRangeSupportsSignal_0714_0286_Mask = (1 << kRangeSupportsSignal_0714_0286_Bit),
kRangeSupportsSignal_1000_0400_Mask = (1 << kRangeSupportsSignal_1000_0400_Bit),
kRangeSupportsSignal_0700_0000_Mask = (1 << kRangeSupportsSignal_0700_0000_Bit)
};
enum {
kDigitalSignalBit = 0,
kAnalogSetupExpectedBit = 1,
kDigitalSignalMask = (1 << kDigitalSignalBit),
kAnalogSetupExpectedMask = (1 << kAnalogSetupExpectedBit)
};
enum {
kAnalogSignalLevel_0700_0300 = 0,
kAnalogSignalLevel_0714_0286 = 1,
kAnalogSignalLevel_1000_0400 = 2,
kAnalogSignalLevel_0700_0000 = 3
};
enum {
kRangeSupportsSeperateSyncsBit = 0,
kRangeSupportsSyncOnGreenBit = 1,
kRangeSupportsCompositeSyncBit = 2,
kRangeSupportsVSyncSerrationBit = 3,
kRangeSupportsSeperateSyncsMask = (1 << kRangeSupportsSeperateSyncsBit),
kRangeSupportsSyncOnGreenMask = (1 << kRangeSupportsSyncOnGreenBit),
kRangeSupportsCompositeSyncMask = (1 << kRangeSupportsCompositeSyncBit),
kRangeSupportsVSyncSerrationMask = (1 << kRangeSupportsVSyncSerrationBit)
};
enum {
kSyncPositivePolarityBit = 0,
kSyncPositivePolarityMask = (1 << kSyncPositivePolarityBit)
};
struct VDDetailedTimingRec {
UInt32 csTimingSize;
UInt32 csTimingType;
UInt32 csTimingVersion;
UInt32 csTimingReserved;
DisplayModeID csDisplayModeID;
UInt32 csDisplayModeSeed;
UInt32 csDisplayModeState;
UInt32 csDisplayModeAlias;
UInt32 csSignalConfig;
UInt32 csSignalLevels;
UInt64 csPixelClock;
UInt64 csMinPixelClock;
UInt64 csMaxPixelClock;
UInt32 csHorizontalActive;
UInt32 csHorizontalBlanking;
UInt32 csHorizontalSyncOffset;
UInt32 csHorizontalSyncPulseWidth;
UInt32 csVerticalActive;
UInt32 csVerticalBlanking;
UInt32 csVerticalSyncOffset;
UInt32 csVerticalSyncPulseWidth;
UInt32 csHorizontalBorderLeft;
UInt32 csHorizontalBorderRight;
UInt32 csVerticalBorderTop;
UInt32 csVerticalBorderBottom;
UInt32 csHorizontalSyncConfig;
UInt32 csHorizontalSyncLevel;
UInt32 csVerticalSyncConfig;
UInt32 csVerticalSyncLevel;
UInt32 csReserved1;
UInt32 csReserved2;
UInt32 csReserved3;
UInt32 csReserved4;
UInt32 csReserved5;
UInt32 csReserved6;
UInt32 csReserved7;
UInt32 csReserved8;
};
typedef struct VDDetailedTimingRec VDDetailedTimingRec;
typedef VDDetailedTimingRec * VDDetailedTimingPtr;
typedef UInt32 VDClutBehavior;
typedef VDClutBehavior * VDClutBehaviorPtr;
enum {
kSetClutAtSetEntries = 0,
kSetClutAtVBL = 1
};
struct VDCommunicationRec {
SInt32 csBusID;
UInt32 csCommFlags;
UInt32 csMinReplyDelay;
UInt32 csReserved2;
UInt32 csSendAddress;
UInt32 csSendType;
LogicalAddress csSendBuffer;
ByteCount csSendSize;
UInt32 csReplyAddress;
UInt32 csReplyType;
LogicalAddress csReplyBuffer;
ByteCount csReplySize;
UInt32 csReserved3;
UInt32 csReserved4;
UInt32 csReserved5;
UInt32 csReserved6;
};
typedef struct VDCommunicationRec VDCommunicationRec;
typedef VDCommunicationRec * VDCommunicationPtr;
struct VDCommunicationInfoRec {
SInt32 csBusID;
UInt32 csBusType;
SInt32 csMinBus;
SInt32 csMaxBus;
UInt32 csSupportedTypes;
UInt32 csSupportedCommFlags;
UInt32 csReserved2;
UInt32 csReserved3;
UInt32 csReserved4;
UInt32 csReserved5;
UInt32 csReserved6;
UInt32 csReserved7;
};
typedef struct VDCommunicationInfoRec VDCommunicationInfoRec;
typedef VDCommunicationInfoRec * VDCommunicationInfoPtr;
#pragma pack(pop)
# 79 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
#define __DISPLAYS__
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
#pragma pack(push, 2)
# 57 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
typedef void * DMProcessInfoPtr;
typedef void * DMModalFilterUPP;
enum {
kAESystemConfigNotice = 'cnfg',
kAEDisplayNotice = 'dspl',
kAEDisplaySummary = 'dsum',
keyDMConfigVersion = 'dmcv',
keyDMConfigFlags = 'dmcf',
keyDMConfigReserved = 'dmcr',
keyDisplayID = 'dmid',
keyDisplayComponent = 'dmdc',
keyDisplayDevice = 'dmdd',
keyDisplayFlags = 'dmdf',
keyDisplayMode = 'dmdm',
keyDisplayModeReserved = 'dmmr',
keyDisplayReserved = 'dmdr',
keyDisplayMirroredId = 'dmmi',
keyDeviceFlags = 'dddf',
keyDeviceDepthMode = 'dddm',
keyDeviceRect = 'dddr',
keyPixMapRect = 'dpdr',
keyPixMapHResolution = 'dphr',
keyPixMapVResolution = 'dpvr',
keyPixMapPixelType = 'dppt',
keyPixMapPixelSize = 'dpps',
keyPixMapCmpCount = 'dpcc',
keyPixMapCmpSize = 'dpcs',
keyPixMapAlignment = 'dppa',
keyPixMapResReserved = 'dprr',
keyPixMapReserved = 'dppr',
keyPixMapColorTableSeed = 'dpct',
keySummaryMenubar = 'dsmb',
keySummaryChanges = 'dsch',
keyDisplayOldConfig = 'dold',
keyDisplayNewConfig = 'dnew'
};
enum {
dmOnlyActiveDisplays = 1,
dmAllDisplays = 0
};
enum {
kDependentNotifyClassShowCursor = 'shcr',
kDependentNotifyClassDriverOverride = 'ndrv',
kDependentNotifyClassDisplayMgrOverride = 'dmgr',
kDependentNotifyClassProfileChanged = 'prof'
};
enum {
kNoSwitchConfirmBit = 0,
kDepthNotAvailableBit = 1,
kShowModeBit = 3,
kModeNotResizeBit = 4,
kNeverShowModeBit = 5
};
enum {
kBeginEndConfigureBit = 0,
kMovedDisplayBit = 1,
kSetMainDisplayBit = 2,
kSetDisplayModeBit = 3,
kAddDisplayBit = 4,
kRemoveDisplayBit = 5,
kNewDisplayBit = 6,
kDisposeDisplayBit = 7,
kEnabledDisplayBit = 8,
kDisabledDisplayBit = 9,
kMirrorDisplayBit = 10,
kUnMirrorDisplayBit = 11
};
enum {
kDMNotifyRequestConnectionProbe = 0,
kDMNotifyInstalled = 1,
kDMNotifyEvent = 2,
kDMNotifyRemoved = 3,
kDMNotifyPrep = 4,
kDMNotifyExtendEvent = 5,
kDMNotifyDependents = 6,
kDMNotifySuspendConfigure = 7,
kDMNotifyResumeConfigure = 8,
kDMNotifyRequestDisplayProbe = 9,
kDMNotifyDisplayWillSleep = 10,
kDMNotifyDisplayDidWake = 11,
kExtendedNotificationProc = (1L << 16)
};
enum {
kFullNotify = 0,
kFullDependencyNotify = 1
};
enum {
kDummyDeviceID = 0x00FF,
kInvalidDisplayID = 0x0000,
kFirstDisplayID = 0x0100
};
enum {
kAllowDuplicatesBit = 0
};
enum {
kSuppressNumberBit = 0,
kSuppressNumberMask = 1,
kForceNumberBit = 1,
kForceNumberMask = 2,
kSuppressNameBit = 2,
kSuppressNameMask = 4
};
enum {
kDMSupressNumbersMask = (1 << 0),
kDMForceNumbersMask = (1 << 1),
kDMSupressNameMask = (1 << 2)
};
enum {
kNoFidelity = 0,
kMinimumFidelity = 1,
kDefaultFidelity = 500,
kDefaultManufacturerFidelity = 1000
};
enum {
kAnyPanelType = 0,
kAnyEngineType = 0,
kAnyDeviceType = 0,
kAnyPortType = 0
};
enum {
kPLIncludeOfflineDevicesBit = 0
};
enum {
kForceConfirmBit = 0,
kForceConfirmMask = (1 << kForceConfirmBit)
};
enum {
kDisplayModeListNotPreferredBit = 0,
kDisplayModeListNotPreferredMask = (1 << kDisplayModeListNotPreferredBit)
};
enum {
kComponentListNotPreferredBit = 0,
kComponentListNotPreferredMask = (1 << kComponentListNotPreferredBit)
};
enum {
kDisplayTimingInfoVersionZero = 1,
kDisplayTimingInfoReservedCountVersionZero = 16,
kDisplayModeEntryVersionZero = 0,
kDisplayModeEntryVersionOne = 1
};
enum {
kMakeAndModelReservedCount = 4
};
enum {
kDisplayGestaltDisplayCommunicationAttr = 'comm',
kDisplayGestaltForbidI2CMask = (1 << 0),
kDisplayGestaltUseI2CPowerMask = (1 << 1),
kDisplayGestaltCalibratorAttr = 'cali',
kDisplayGestaltBrightnessAffectsGammaMask = (1 << 0),
kDisplayGestaltViewAngleAffectsGammaMask = (1 << 1)
};
typedef UInt32 DMFidelityType;
typedef void * DMListType;
typedef UInt32 DMListIndexType;
typedef VDPowerStateRec AVPowerStateRec;
typedef VDPowerStateRec * AVPowerStatePtr;
struct DMDisplayTimingInfoRec {
UInt32 timingInfoVersion;
UInt32 timingInfoAttributes;
SInt32 timingInfoRelativeQuality;
SInt32 timingInfoRelativeDefault;
UInt32 timingInfoReserved[16];
};
typedef struct DMDisplayTimingInfoRec DMDisplayTimingInfoRec;
typedef DMDisplayTimingInfoRec * DMDisplayTimingInfoPtr;
struct DMComponentListEntryRec {
DisplayIDType itemID;
Component itemComponent;
ComponentDescription itemDescription;
ResType itemClass;
DMFidelityType itemFidelity;
ResType itemSubClass;
Point itemSort;
UInt32 itemFlags;
ResType itemReserved;
UInt32 itemFuture1;
UInt32 itemFuture2;
UInt32 itemFuture3;
UInt32 itemFuture4;
};
typedef struct DMComponentListEntryRec DMComponentListEntryRec;
typedef DMComponentListEntryRec * DMComponentListEntryPtr;
struct AVLocationRec {
UInt32 locationConstant;
};
typedef struct AVLocationRec AVLocationRec;
typedef AVLocationRec * AVLocationPtr;
struct DMDepthInfoRec {
VDSwitchInfoPtr depthSwitchInfo;
VPBlockPtr depthVPBlock;
UInt32 depthFlags;
UInt32 depthReserved1;
UInt32 depthReserved2;
};
typedef struct DMDepthInfoRec DMDepthInfoRec;
typedef DMDepthInfoRec * DMDepthInfoPtr;
struct DMDepthInfoBlockRec {
UInt32 depthBlockCount;
DMDepthInfoPtr depthVPBlock;
UInt32 depthBlockFlags;
UInt32 depthBlockReserved1;
UInt32 depthBlockReserved2;
};
typedef struct DMDepthInfoBlockRec DMDepthInfoBlockRec;
typedef DMDepthInfoBlockRec * DMDepthInfoBlockPtr;
struct DMDisplayModeListEntryRec {
UInt32 displayModeFlags;
VDSwitchInfoPtr displayModeSwitchInfo;
VDResolutionInfoPtr displayModeResolutionInfo;
VDTimingInfoPtr displayModeTimingInfo;
DMDepthInfoBlockPtr displayModeDepthBlockInfo;
UInt32 displayModeVersion;
StringPtr displayModeName;
DMDisplayTimingInfoPtr displayModeDisplayInfo;
};
typedef struct DMDisplayModeListEntryRec DMDisplayModeListEntryRec;
typedef DMDisplayModeListEntryRec * DMDisplayModeListEntryPtr;
struct DependentNotifyRec {
ResType notifyType;
ResType notifyClass;
DisplayIDType notifyPortID;
ComponentInstance notifyComponent;
UInt32 notifyVersion;
UInt32 notifyFlags;
UInt32 notifyReserved;
UInt32 notifyFuture;
};
typedef struct DependentNotifyRec DependentNotifyRec;
typedef DependentNotifyRec * DependentNotifyPtr;
struct DMMakeAndModelRec {
ResType manufacturer;
UInt32 model;
UInt32 serialNumber;
UInt32 manufactureDate;
UInt32 makeReserved[4];
};
typedef struct DMMakeAndModelRec DMMakeAndModelRec;
typedef DMMakeAndModelRec * DMMakeAndModelPtr;
enum {
kIncludeOnlineActiveDisplaysMask = (1 << 0),
kIncludeOnlineDisabledDisplaysMask = (1 << 1),
kIncludeOfflineDisplaysMask = (1 << 2),
kIncludeOfflineDummyDisplaysMask = (1 << 3),
kIncludeHardwareMirroredDisplaysMask = (1 << 4)
};
enum {
kDMModeListIncludeAllModesMask = (1 << 0),
kDMModeListIncludeOfflineModesMask = (1 << 1),
kDMModeListExcludeDriverModesMask = (1 << 2),
kDMModeListExcludeDisplayModesMask = (1 << 3),
kDMModeListExcludeCustomModesMask = (1 << 4),
kDMModeListPreferStretchedModesMask = (1 << 5),
kDMModeListPreferSafeModesMask = (1 << 6)
};
struct DisplayListEntryRec {
GDHandle displayListEntryGDevice;
DisplayIDType displayListEntryDisplayID;
UInt32 displayListEntryIncludeFlags;
UInt32 displayListEntryReserved1;
UInt32 displayListEntryReserved2;
UInt32 displayListEntryReserved3;
UInt32 displayListEntryReserved4;
UInt32 displayListEntryReserved5;
};
typedef struct DisplayListEntryRec DisplayListEntryRec;
typedef DisplayListEntryRec * DisplayListEntryPtr;
struct DMProfileListEntryRec {
CMProfileRef profileRef;
Ptr profileReserved1;
Ptr profileReserved2;
Ptr profileReserved3;
};
typedef struct DMProfileListEntryRec DMProfileListEntryRec;
typedef DMProfileListEntryRec * DMProfileListEntryPtr;
typedef void ( * DMNotificationProcPtr)(AppleEvent * theEvent);
typedef void ( * DMExtendedNotificationProcPtr)(void *userData, short theMessage, void *notifyData);
typedef void ( * DMComponentListIteratorProcPtr)(void *userData, DMListIndexType itemIndex, DMComponentListEntryPtr componentInfo);
typedef void ( * DMDisplayModeListIteratorProcPtr)(void *userData, DMListIndexType itemIndex, DMDisplayModeListEntryPtr displaymodeInfo);
typedef void ( * DMProfileListIteratorProcPtr)(void *userData, DMListIndexType itemIndex, DMProfileListEntryPtr profileInfo);
typedef void ( * DMDisplayListIteratorProcPtr)(void *userData, DMListIndexType itemIndex, DisplayListEntryPtr displaymodeInfo);
typedef DMNotificationProcPtr DMNotificationUPP;
typedef DMExtendedNotificationProcPtr DMExtendedNotificationUPP;
typedef DMComponentListIteratorProcPtr DMComponentListIteratorUPP;
typedef DMDisplayModeListIteratorProcPtr DMDisplayModeListIteratorUPP;
typedef DMProfileListIteratorProcPtr DMProfileListIteratorUPP;
typedef DMDisplayListIteratorProcPtr DMDisplayListIteratorUPP;
# 426 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMNotificationUPP
NewDMNotificationUPP(DMNotificationProcPtr userRoutine) __attribute__((deprecated));
# 437 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMExtendedNotificationUPP
NewDMExtendedNotificationUPP(DMExtendedNotificationProcPtr userRoutine) __attribute__((deprecated));
# 448 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMComponentListIteratorUPP
NewDMComponentListIteratorUPP(DMComponentListIteratorProcPtr userRoutine) __attribute__((deprecated));
# 459 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMDisplayModeListIteratorUPP
NewDMDisplayModeListIteratorUPP(DMDisplayModeListIteratorProcPtr userRoutine) __attribute__((deprecated));
# 470 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMProfileListIteratorUPP
NewDMProfileListIteratorUPP(DMProfileListIteratorProcPtr userRoutine) __attribute__((deprecated));
# 481 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMDisplayListIteratorUPP
NewDMDisplayListIteratorUPP(DMDisplayListIteratorProcPtr userRoutine) __attribute__((deprecated));
# 492 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMNotificationUPP(DMNotificationUPP userUPP) __attribute__((deprecated));
# 503 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMExtendedNotificationUPP(DMExtendedNotificationUPP userUPP) __attribute__((deprecated));
# 514 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMComponentListIteratorUPP(DMComponentListIteratorUPP userUPP) __attribute__((deprecated));
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMDisplayModeListIteratorUPP(DMDisplayModeListIteratorUPP userUPP) __attribute__((deprecated));
# 536 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMProfileListIteratorUPP(DMProfileListIteratorUPP userUPP) __attribute__((deprecated));
# 547 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMDisplayListIteratorUPP(DMDisplayListIteratorUPP userUPP) __attribute__((deprecated));
# 558 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMNotificationUPP(
AppleEvent * theEvent,
DMNotificationUPP userUPP) __attribute__((deprecated));
# 571 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMExtendedNotificationUPP(
void * userData,
short theMessage,
void * notifyData,
DMExtendedNotificationUPP userUPP) __attribute__((deprecated));
# 586 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMComponentListIteratorUPP(
void * userData,
DMListIndexType itemIndex,
DMComponentListEntryPtr componentInfo,
DMComponentListIteratorUPP userUPP) __attribute__((deprecated));
# 601 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMDisplayModeListIteratorUPP(
void * userData,
DMListIndexType itemIndex,
DMDisplayModeListEntryPtr displaymodeInfo,
DMDisplayModeListIteratorUPP userUPP) __attribute__((deprecated));
# 616 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMProfileListIteratorUPP(
void * userData,
DMListIndexType itemIndex,
DMProfileListEntryPtr profileInfo,
DMProfileListIteratorUPP userUPP) __attribute__((deprecated));
# 631 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMDisplayListIteratorUPP(
void * userData,
DMListIndexType itemIndex,
DisplayListEntryPtr displaymodeInfo,
DMDisplayListIteratorUPP userUPP) __attribute__((deprecated));
# 659 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
#define NewDMNotificationUPP(userRoutine) ((DMNotificationUPP)userRoutine)
#define NewDMExtendedNotificationUPP(userRoutine) ((DMExtendedNotificationUPP)userRoutine)
#define NewDMComponentListIteratorUPP(userRoutine) ((DMComponentListIteratorUPP)userRoutine)
#define NewDMDisplayModeListIteratorUPP(userRoutine) ((DMDisplayModeListIteratorUPP)userRoutine)
#define NewDMProfileListIteratorUPP(userRoutine) ((DMProfileListIteratorUPP)userRoutine)
#define NewDMDisplayListIteratorUPP(userRoutine) ((DMDisplayListIteratorUPP)userRoutine)
#define DisposeDMNotificationUPP(userUPP)
#define DisposeDMExtendedNotificationUPP(userUPP)
#define DisposeDMComponentListIteratorUPP(userUPP)
#define DisposeDMDisplayModeListIteratorUPP(userUPP)
#define DisposeDMProfileListIteratorUPP(userUPP)
#define DisposeDMDisplayListIteratorUPP(userUPP)
#define InvokeDMNotificationUPP(theEvent,userUPP) (*userUPP)(theEvent)
#define InvokeDMExtendedNotificationUPP(userData,theMessage,notifyData,userUPP) (*userUPP)(userData, theMessage, notifyData)
#define InvokeDMComponentListIteratorUPP(userData,itemIndex,componentInfo,userUPP) (*userUPP)(userData, itemIndex, componentInfo)
#define InvokeDMDisplayModeListIteratorUPP(userData,itemIndex,displaymodeInfo,userUPP) (*userUPP)(userData, itemIndex, displaymodeInfo)
#define InvokeDMProfileListIteratorUPP(userData,itemIndex,profileInfo,userUPP) (*userUPP)(userData, itemIndex, profileInfo)
#define InvokeDMDisplayListIteratorUPP(userData,itemIndex,displaymodeInfo,userUPP) (*userUPP)(userData, itemIndex, displaymodeInfo)
# 800 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern GDHandle
DMGetFirstScreenDevice(Boolean activeOnly) __attribute__((deprecated));
# 812 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern GDHandle
DMGetNextScreenDevice(
GDHandle theDevice,
Boolean activeOnly) __attribute__((deprecated));
# 826 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DMDrawDesktopRect(Rect * globalRect) __attribute__((deprecated));
# 838 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DMDrawDesktopRegion(RgnHandle globalRgn) __attribute__((deprecated));
# 852 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMBeginConfigureDisplays(Handle * displayState) __attribute__((deprecated));
# 864 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMEndConfigureDisplays(Handle displayState) __attribute__((deprecated));
# 876 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMAddDisplay(
GDHandle newDevice,
short driver,
UInt32 mode,
UInt32 reserved,
UInt32 displayID,
Component displayComponent,
Handle displayState) __attribute__((deprecated));
# 895 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMMoveDisplay(
GDHandle moveDevice,
short x,
short y,
Handle displayState) __attribute__((deprecated));
# 911 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMDisableDisplay(
GDHandle disableDevice,
Handle displayState) __attribute__((deprecated));
# 925 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMEnableDisplay(
GDHandle enableDevice,
Handle displayState) __attribute__((deprecated));
# 939 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMRemoveDisplay(
GDHandle removeDevice,
Handle displayState) __attribute__((deprecated));
# 956 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMSetMainDisplay(
GDHandle newMainDevice,
Handle displayState) __attribute__((deprecated));
# 970 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMSetDisplayMode(
GDHandle theDevice,
UInt32 mode,
UInt32 * depthMode,
long reserved,
Handle displayState) __attribute__((deprecated));
# 987 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMCheckDisplayMode(
GDHandle theDevice,
UInt32 mode,
UInt32 depthMode,
UInt32 * switchFlags,
UInt32 reserved,
Boolean * modeOk) __attribute__((deprecated));
# 1005 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetDeskRegion(RgnHandle * desktopRegion) __attribute__((deprecated));
# 1017 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMRegisterNotifyProc(
DMNotificationUPP notificationProc,
DMProcessInfoPtr whichPSN) __attribute__((deprecated));
# 1031 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMRemoveNotifyProc(
DMNotificationUPP notificationProc,
DMProcessInfoPtr whichPSN) __attribute__((deprecated));
# 1045 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMQDIsMirroringCapable(Boolean * qdIsMirroringCapable) __attribute__((deprecated));
# 1057 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMCanMirrorNow(Boolean * canMirrorNow) __attribute__((deprecated));
# 1069 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMIsMirroringOn(Boolean * isMirroringOn) __attribute__((deprecated));
# 1081 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMMirrorDevices(
GDHandle gD1,
GDHandle gD2,
Handle displayState) __attribute__((deprecated));
# 1096 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMUnmirrorDevice(
GDHandle gDevice,
Handle displayState) __attribute__((deprecated));
# 1110 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetNextMirroredDevice(
GDHandle gDevice,
GDHandle * mirroredDevice) __attribute__((deprecated));
# 1124 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMBlockMirroring(void) __attribute__((deprecated));
# 1136 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMUnblockMirroring(void) __attribute__((deprecated));
# 1158 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetDisplayIDByGDevice(
GDHandle displayDevice,
DisplayIDType * displayID,
Boolean failToMain) __attribute__((deprecated));
# 1173 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetGDeviceByDisplayID(
DisplayIDType displayID,
GDHandle * displayDevice,
Boolean failToMain) __attribute__((deprecated));
# 1188 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMSetDisplayComponent(
GDHandle theDevice,
Component displayComponent) __attribute__((deprecated));
# 1202 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetDisplayComponent(
GDHandle theDevice,
Component * displayComponent) __attribute__((deprecated));
# 1216 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMNewDisplay(
GDHandle * newDevice,
short driverRefNum,
UInt32 mode,
UInt32 reserved,
DisplayIDType displayID,
Component displayComponent,
Handle displayState) __attribute__((deprecated));
# 1235 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMDisposeDisplay(
GDHandle disposeDevice,
Handle displayState) __attribute__((deprecated));
# 1249 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMResolveDisplayComponents(void) __attribute__((deprecated));
# 1261 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMRegisterExtendedNotifyProc(
DMExtendedNotificationUPP notifyProc,
void * notifyUserData,
unsigned short nofifyOnFlags,
DMProcessInfoPtr whichPSN) __attribute__((deprecated));
# 1277 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMRemoveExtendedNotifyProc(
DMExtendedNotificationUPP notifyProc,
void * notifyUserData,
DMProcessInfoPtr whichPSN,
unsigned short removeFlags) __attribute__((deprecated));
# 1293 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMNewAVPanelList(
DisplayIDType displayID,
ResType panelType,
DMFidelityType minimumFidelity,
UInt32 panelListFlags,
UInt32 reserved,
DMListIndexType * thePanelCount,
DMListType * thePanelList) __attribute__((deprecated));
# 1312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMNewAVEngineList(
DisplayIDType displayID,
ResType engineType,
DMFidelityType minimumFidelity,
UInt32 engineListFlags,
UInt32 reserved,
DMListIndexType * engineCount,
DMListType * engineList) __attribute__((deprecated));
# 1331 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMNewAVDeviceList(
ResType deviceType,
UInt32 deviceListFlags,
UInt32 reserved,
DMListIndexType * deviceCount,
DMListType * deviceList) __attribute__((deprecated));
# 1348 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMNewAVPortListByPortType(
ResType subType,
UInt32 portListFlags,
UInt32 reserved,
DMListIndexType * devicePortCount,
DMListType * theDevicePortList) __attribute__((deprecated));
# 1365 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetIndexedComponentFromList(
DMListType panelList,
DMListIndexType itemIndex,
UInt32 reserved,
DMComponentListIteratorUPP listIterator,
void * userData) __attribute__((deprecated));
# 1382 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMDisposeList(DMListType panelList) __attribute__((deprecated));
# 1394 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetNameByAVID(
AVIDType theID,
UInt32 nameFlags,
Str255 name) __attribute__((deprecated));
# 1409 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMNewAVIDByPortComponent(
Component thePortComponent,
ResType portKind,
UInt32 reserved,
AVIDType * newID) __attribute__((deprecated));
# 1425 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetPortComponentByAVID(
DisplayIDType thePortID,
Component * thePortComponent,
ComponentDescription * theDesciption,
ResType * thePortKind) __attribute__((deprecated));
# 1441 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMSendDependentNotification(
ResType notifyType,
ResType notifyClass,
AVIDType displayID,
ComponentInstance notifyComponent) __attribute__((deprecated));
# 1457 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMDisposeAVComponent(Component theAVComponent) __attribute__((deprecated));
# 1469 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMSaveScreenPrefs(
UInt32 reserved1,
UInt32 saveFlags,
UInt32 reserved2) __attribute__((deprecated));
# 1484 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMNewAVIDByDeviceComponent(
Component theDeviceComponent,
ResType portKind,
UInt32 reserved,
DisplayIDType * newID) __attribute__((deprecated));
# 1500 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMNewAVPortListByDeviceAVID(
AVIDType theID,
DMFidelityType minimumFidelity,
UInt32 portListFlags,
UInt32 reserved,
DMListIndexType * devicePortCount,
DMListType * theDevicePortList) __attribute__((deprecated));
# 1518 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetDeviceComponentByAVID(
AVIDType theDeviceID,
Component * theDeviceComponent,
ComponentDescription * theDesciption,
ResType * theDeviceKind) __attribute__((deprecated));
# 1534 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMNewDisplayModeList(
DisplayIDType displayID,
UInt32 modeListFlags,
UInt32 reserved,
DMListIndexType * thePanelCount,
DMListType * thePanelList) __attribute__((deprecated));
# 1551 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetIndexedDisplayModeFromList(
DMListType panelList,
DMListIndexType itemIndex,
UInt32 reserved,
DMDisplayModeListIteratorUPP listIterator,
void * userData) __attribute__((deprecated));
# 1568 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetGraphicInfoByAVID(
AVIDType theID,
PicHandle * theAVPcit,
Handle * theAVIconSuite,
AVLocationRec * theAVLocation) __attribute__((deprecated));
# 1584 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetAVPowerState(
AVIDType theID,
AVPowerStatePtr getPowerState,
UInt32 reserved1) __attribute__((deprecated));
# 1599 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMSetAVPowerState(
AVIDType theID,
AVPowerStatePtr setPowerState,
UInt32 powerFlags,
Handle displayState) __attribute__((deprecated));
# 1615 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetDeviceAVIDByPortAVID(
AVIDType portAVID,
AVIDType * deviceAVID) __attribute__((deprecated));
# 1629 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetEnableByAVID(
AVIDType theAVID,
Boolean * isAVIDEnabledNow,
Boolean * canChangeEnableNow) __attribute__((deprecated));
# 1644 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMSetEnableByAVID(
AVIDType theAVID,
Boolean doEnable,
Handle displayState) __attribute__((deprecated));
# 1659 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMGetDisplayMode(
GDHandle theDevice,
VDSwitchInfoPtr switchInfo) __attribute__((deprecated));
# 1673 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern OSErr
DMConfirmConfiguration(
DMModalFilterUPP filterProc,
UInt32 confirmFlags,
UInt32 reserved,
Handle displayState) __attribute__((deprecated));
#pragma pack(pop)
# 83 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
#define __FONTSYNC__
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
#pragma options align=power
typedef UInt32 FNSMatchOptions;
enum {
kFNSMatchNames = 0x00000001,
kFNSMatchTechnology = 0x00000002,
kFNSMatchGlyphs = 0x00000004,
kFNSMatchEncodings = 0x00000008,
kFNSMatchQDMetrics = 0x00000010,
kFNSMatchATSUMetrics = 0x00000020,
kFNSMatchKerning = 0x00000040,
kFNSMatchWSLayout = 0x00000080,
kFNSMatchAATLayout = 0x00000100,
kFNSMatchPrintEncoding = 0x00000200,
kFNSMissingDataNoMatch = (UInt32)0x80000000,
kFNSMatchAll = (UInt32)0xFFFFFFFF,
kFNSMatchDefaults = 0
};
# 73 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern FNSMatchOptions
FNSMatchDefaultsGet(void) ;
typedef UInt32 FNSObjectVersion;
enum {
kFNSVersionDontCare = 0,
kFNSCurSysInfoVersion = 1
};
typedef UInt32 FNSFeatureFlags;
struct FNSSysInfo {
FNSObjectVersion iSysInfoVersion;
FNSFeatureFlags oFeatures;
FNSObjectVersion oCurRefVersion;
FNSObjectVersion oMinRefVersion;
FNSObjectVersion oCurProfileVersion;
FNSObjectVersion oMinProfileVersion;
UInt16 oFontSyncVersion;
};
typedef struct FNSSysInfo FNSSysInfo;
# 112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern void
FNSSysInfoGet(FNSSysInfo * ioInfo) ;
typedef struct OpaqueFNSFontReference* FNSFontReference;
# 130 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceGetVersion(
FNSFontReference iReference,
FNSObjectVersion * oVersion) ;
# 144 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceDispose(FNSFontReference iReference) ;
# 156 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceMatch(
FNSFontReference iReference1,
FNSFontReference iReference2,
FNSMatchOptions iOptions,
FNSMatchOptions * oFailedMatchOptions) ;
# 172 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceFlattenedSize(
FNSFontReference iReference,
ByteCount * oFlattenedSize) ;
# 186 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceFlatten(
FNSFontReference iReference,
void * oFlatReference,
ByteCount * oFlattenedSize) ;
# 201 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceUnflatten(
const void * iFlatReference,
ByteCount iFlattenedSize,
FNSFontReference * oReference) ;
enum {
kFNSCreatorDefault = 0,
kFNSProfileFileType = 'fnsp'
};
typedef struct OpaqueFNSFontProfile* FNSFontProfile;
# 227 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileCreate(
const FSSpec * iFile,
FourCharCode iCreator,
ItemCount iEstNumRefs,
FNSObjectVersion iDesiredVersion,
FNSFontProfile * oProfile) ;
# 244 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileOpen(
const FSSpec * iFile,
Boolean iOpenForWrite,
FNSFontProfile * oProfile) ;
# 260 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileCreateWithFSRef(
const FSRef * iParentDirectory,
UniCharCount iNameLength,
const UniChar * iName,
FourCharCode iCreator,
ItemCount iEstNumRefs,
FNSObjectVersion iDesiredVersion,
FNSFontProfile * oProfile) ;
# 279 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileOpenWithFSRef(
const FSRef * iFile,
Boolean iOpenForWrite,
FNSFontProfile * oProfile) ;
# 294 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileGetVersion(
FNSFontProfile iProfile,
FNSObjectVersion * oVersion) ;
# 308 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileCompact(FNSFontProfile iProfile) ;
# 320 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileClose(FNSFontProfile iProfile) ;
# 332 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileAddReference(
FNSFontProfile iProfile,
FNSFontReference iReference) ;
# 346 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileRemoveReference(
FNSFontProfile iProfile,
FNSFontReference iReference) ;
# 360 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileRemoveIndReference(
FNSFontProfile iProfile,
UInt32 iIndex) ;
# 374 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileClear(FNSFontProfile iProfile) ;
# 386 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileCountReferences(
FNSFontProfile iProfile,
ItemCount * oCount) ;
# 400 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileGetIndReference(
FNSFontProfile iProfile,
UInt32 iWhichReference,
FNSFontReference * oReference) ;
# 415 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSProfileMatchReference(
FNSFontProfile iProfile,
FNSFontReference iReference,
FNSMatchOptions iMatchOptions,
ItemCount iOutputSize,
UInt32 oIndices[],
ItemCount * oNumMatches) ;
# 435 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceCreate(
FMFont iFont,
FNSObjectVersion iDesiredVersion,
FNSFontReference * oReference) ;
# 450 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceMatchFonts(
FNSFontReference iReference,
FNSMatchOptions iMatchOptions,
ItemCount iOutputSize,
FMFont oFonts[],
ItemCount * oNumMatches) ;
# 469 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceCreateFromFamily(
FMFontFamily iFamily,
FMFontStyle iStyle,
FNSObjectVersion iDesiredVersion,
FNSFontReference * oReference,
FMFontStyle * oActualStyle) ;
# 486 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceMatchFamilies(
FNSFontReference iReference,
FNSMatchOptions iMatchOptions,
ItemCount iOutputSize,
FMFontFamilyInstance oFonts[],
ItemCount * oNumMatches) ;
# 505 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceGetFamilyInfo(
FNSFontReference iReference,
Str255 oFamilyName,
ScriptCode * oFamilyNameScript,
FMFontStyle * oActualStyle) ;
# 521 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceCountNames(
FNSFontReference iReference,
ItemCount * oNameCount) ;
# 535 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceGetIndName(
FNSFontReference iReference,
ItemCount iFontNameIndex,
ByteCount iMaximumNameLength,
Ptr oName,
ByteCount * oActualNameLength,
FontNameCode * oFontNameCode,
FontPlatformCode * oFontNamePlatform,
FontScriptCode * oFontNameScript,
FontLanguageCode * oFontNameLanguage) ;
# 556 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern OSStatus
FNSReferenceFindName(
FNSFontReference iReference,
FontNameCode iFontNameCode,
FontPlatformCode iFontNamePlatform,
FontScriptCode iFontNameScript,
FontLanguageCode iFontNameLanguage,
ByteCount iMaximumNameLength,
Ptr oName,
ByteCount * oActualNameLength,
ItemCount * oFontNameIndex) ;
# 578 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
extern Boolean
FNSEnabled(void) ;
#pragma options align=reset
# 87 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 3
#define __ATSUNICODE__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
#define __ATSUNICODETYPES__
# 59 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
#pragma pack(push, 2)
# 76 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef struct OpaqueATSUTextLayout* ATSUTextLayout;
# 91 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef struct OpaqueATSUStyle* ATSUStyle;
# 102 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef struct OpaqueATSUFontFallbacks* ATSUFontFallbacks;
# 114 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef Fixed ATSUTextMeasurement;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef FMFont ATSUFontID;
# 136 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUFontFeatureType;
# 146 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUFontFeatureSelector;
# 156 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef FourCharCode ATSUFontVariationAxis;
# 166 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef Fixed ATSUFontVariationValue;
# 183 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt32 ATSUAttributeTag;
enum {
kATSULineWidthTag = 1L,
kATSULineRotationTag = 2L,
kATSULineDirectionTag = 3L,
kATSULineJustificationFactorTag = 4L,
kATSULineFlushFactorTag = 5L,
kATSULineBaselineValuesTag = 6L,
kATSULineLayoutOptionsTag = 7L,
# 239 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSULineAscentTag = 8L,
# 248 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSULineDescentTag = 9L,
kATSULineLangRegionTag = 10L,
kATSULineTextLocatorTag = 11L,
kATSULineTruncationTag = 12L,
# 282 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSULineFontFallbacksTag = 13L,
kATSULineDecimalTabCharacterTag = 14L,
kATSULayoutOperationOverrideTag = 15L,
kATSULineHighlightCGColorTag = 17L,
kATSUMaxLineTag = 18L,
kATSULineLanguageTag = 10L,
# 325 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSUCGContextTag = 32767L,
kATSUQDBoldfaceTag = 256L,
kATSUQDItalicTag = 257L,
kATSUQDUnderlineTag = 258L,
kATSUQDCondensedTag = 259L,
kATSUQDExtendedTag = 260L,
kATSUFontTag = 261L,
kATSUSizeTag = 262L,
kATSUColorTag = 263L,
kATSULangRegionTag = 264L,
kATSUVerticalCharacterTag = 265L,
kATSUImposeWidthTag = 266L,
kATSUBeforeWithStreamShiftTag = 267L,
kATSUAfterWithStreamShiftTag = 268L,
kATSUCrossStreamShiftTag = 269L,
kATSUTrackingTag = 270L,
kATSUHangingInhibitFactorTag = 271L,
kATSUKerningInhibitFactorTag = 272L,
kATSUDecompositionFactorTag = 273L,
kATSUBaselineClassTag = 274L,
kATSUPriorityJustOverrideTag = 275L,
kATSUNoLigatureSplitTag = 276L,
kATSUNoCaretAngleTag = 277L,
kATSUSuppressCrossKerningTag = 278L,
kATSUNoOpticalAlignmentTag = 279L,
kATSUForceHangingTag = 280L,
kATSUNoSpecialJustificationTag = 281L,
kATSUStyleTextLocatorTag = 282L,
kATSUStyleRenderingOptionsTag = 283L,
# 516 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSUAscentTag = 284L,
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSUDescentTag = 285L,
# 534 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSULeadingTag = 286L,
kATSUGlyphSelectorTag = 287L,
kATSURGBAlphaColorTag = 288L,
kATSUFontMatrixTag = 289L,
kATSUStyleUnderlineCountOptionTag = 290L,
kATSUStyleUnderlineColorOptionTag = 291L,
kATSUStyleStrikeThroughTag = 292L,
kATSUStyleStrikeThroughCountOptionTag = 293L,
kATSUStyleStrikeThroughColorOptionTag = 294L,
kATSUStyleDropShadowTag = 295L,
kATSUStyleDropShadowBlurOptionTag = 296L,
kATSUStyleDropShadowOffsetOptionTag = 297L,
kATSUStyleDropShadowColorOptionTag = 298L,
kATSUMaxStyleTag = 299L,
kATSULanguageTag = 264L,
kATSUMaxATSUITagValue = 65535L
};
# 641 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef void * ATSUAttributeValuePtr;
typedef const void * ConstATSUAttributeValuePtr;
# 660 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUAttributeInfo {
ATSUAttributeTag fTag;
ByteCount fValueSize;
};
typedef struct ATSUAttributeInfo ATSUAttributeInfo;
# 679 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUCaret {
Fixed fX;
Fixed fY;
Fixed fDeltaX;
Fixed fDeltaY;
};
typedef struct ATSUCaret ATSUCaret;
# 696 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUCursorMovementType;
enum {
kATSUByCharacter = 0,
kATSUByTypographicCluster = 1,
kATSUByWord = 2,
kATSUByCharacterCluster = 3,
kATSUByCluster = 1
};
# 747 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt32 ATSULineTruncation;
enum {
kATSUTruncateNone = 0,
kATSUTruncateStart = 1,
kATSUTruncateEnd = 2,
kATSUTruncateMiddle = 3,
kATSUTruncateSpecificationMask = 0x00000007,
kATSUTruncFeatNoSquishing = 0x00000008
};
# 766 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUStyleLineCountType;
enum {
kATSUStyleSingleLineCount = 1,
kATSUStyleDoubleLineCount = 2
};
# 782 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUVerticalCharacterType;
enum {
kATSUStronglyHorizontal = 0,
kATSUStronglyVertical = 1
};
# 799 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUStyleComparison;
enum {
kATSUStyleUnequal = 0,
kATSUStyleContains = 1,
kATSUStyleEquals = 2,
kATSUStyleContainedBy = 3
};
# 818 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUFontFallbackMethod;
enum {
kATSUDefaultFontFallbacks = 0,
kATSULastResortOnlyFallback = 1,
# 840 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSUSequentialFallbacksPreferred = 2,
# 850 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSUSequentialFallbacksExclusive = 3
};
# 871 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUTabType;
enum {
kATSULeftTab = 0,
kATSUCenterTab = 1,
kATSURightTab = 2,
kATSUDecimalTab = 3,
kATSUNumberTabTypes = 4
};
# 889 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUTab {
ATSUTextMeasurement tabPosition;
ATSUTabType tabType;
};
typedef struct ATSUTab ATSUTab;
# 903 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSURGBAlphaColor {
float red;
float green;
float blue;
float alpha;
};
typedef struct ATSURGBAlphaColor ATSURGBAlphaColor;
# 922 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 GlyphCollection;
enum {
kGlyphCollectionGID = 0,
kGlyphCollectionAdobeCNS1 = 1,
kGlyphCollectionAdobeGB1 = 2,
kGlyphCollectionAdobeJapan1 = 3,
kGlyphCollectionAdobeJapan2 = 4,
kGlyphCollectionAdobeKorea1 = 5,
kGlyphCollectionUnspecified = 0xFF
};
# 944 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUGlyphSelector {
GlyphCollection collection;
GlyphID glyphID;
};
typedef struct ATSUGlyphSelector ATSUGlyphSelector;
# 974 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUGlyphInfo {
GlyphID glyphID;
UInt16 reserved;
UInt32 layoutFlags;
UniCharArrayOffset charIndex;
ATSUStyle style;
Float32 deltaY;
Float32 idealX;
SInt16 screenX;
SInt16 caretX;
};
typedef struct ATSUGlyphInfo ATSUGlyphInfo;
# 1002 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUGlyphInfoArray {
ATSUTextLayout layout;
ItemCount numGlyphs;
ATSUGlyphInfo glyphs[1];
};
typedef struct ATSUGlyphInfoArray ATSUGlyphInfoArray;
# 1029 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt32 ATSUHighlightMethod;
enum {
kInvertHighlighting = 0,
kRedrawHighlighting = 1
};
# 1046 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt32 ATSUBackgroundDataType;
enum {
kATSUBackgroundColor = 0,
kATSUBackgroundCallback = 1
};
# 1063 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef ATSURGBAlphaColor ATSUBackgroundColor;
# 1110 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef Boolean ( * RedrawBackgroundProcPtr)(ATSUTextLayout iLayout, UniCharArrayOffset iTextOffset, UniCharCount iTextLength, ATSTrapezoid iUnhighlightArea[], ItemCount iTrapezoidCount);
typedef RedrawBackgroundProcPtr RedrawBackgroundUPP;
# 1120 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
extern RedrawBackgroundUPP
NewRedrawBackgroundUPP(RedrawBackgroundProcPtr userRoutine) ;
# 1131 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
extern void
DisposeRedrawBackgroundUPP(RedrawBackgroundUPP userUPP) ;
# 1142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
extern Boolean
InvokeRedrawBackgroundUPP(
ATSUTextLayout iLayout,
UniCharArrayOffset iTextOffset,
UniCharCount iTextLength,
ATSTrapezoid iUnhighlightArea[],
ItemCount iTrapezoidCount,
RedrawBackgroundUPP userUPP) ;
#define NewRedrawBackgroundUPP(userRoutine) ((RedrawBackgroundUPP)userRoutine)
#define DisposeRedrawBackgroundUPP(userUPP)
#define InvokeRedrawBackgroundUPP(iLayout,iTextOffset,iTextLength,iUnhighlightArea,iTrapezoidCount,userUPP) (*userUPP)(iLayout, iTextOffset, iTextLength, iUnhighlightArea, iTrapezoidCount)
# 1180 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
union ATSUBackgroundData {
ATSUBackgroundColor backgroundColor;
RedrawBackgroundUPP backgroundUPP;
};
typedef union ATSUBackgroundData ATSUBackgroundData;
# 1217 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUUnhighlightData {
ATSUBackgroundDataType dataType;
ATSUBackgroundData unhighlightData;
};
typedef struct ATSUUnhighlightData ATSUUnhighlightData;
# 1247 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
enum {
kATSULeftToRightBaseDirection = 0,
kATSURightToLeftBaseDirection = 1
};
#define kATSUStartAlignment ((Fract) 0x00000000L)
#define kATSUEndAlignment ((Fract) 0x40000000L)
#define kATSUCenterAlignment ((Fract) 0x20000000L)
#define kATSUNoJustification ((Fract) 0x00000000L)
#define kATSUFullJustification ((Fract) 0x40000000L)
enum {
kATSUInvalidFontID = 0
};
# 1284 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
enum {
kATSUUseLineControlWidth = 0x7FFFFFFF
};
# 1295 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
enum {
kATSUNoSelector = 0x0000FFFF
};
# 1310 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
enum {
kATSUFromTextBeginning = (UInt32)0xFFFFFFFF,
kATSUToTextEnd = (UInt32)0xFFFFFFFF,
kATSUFromPreviousLayout = (UInt32)0xFFFFFFFE,
kATSUFromFollowingLayout = (UInt32)0xFFFFFFFD
};
enum {
kATSUUseGrafPortPenLoc = (UInt32)0xFFFFFFFF,
kATSUClearAll = (UInt32)0xFFFFFFFF
};
#pragma pack(pop)
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
#define __ATSUNICODEOBJECTS__
# 74 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCreateStyle(ATSUStyle * oStyle) ;
# 112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCreateAndCopyStyle(
ATSUStyle iStyle,
ATSUStyle * oStyle) ;
# 153 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUDisposeStyle(ATSUStyle iStyle) ;
# 191 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetStyleRefCon(
ATSUStyle iStyle,
URefCon iRefCon) ;
# 228 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetStyleRefCon(
ATSUStyle iStyle,
URefCon * oRefCon) ;
# 276 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCompareStyles(
ATSUStyle iFirstStyle,
ATSUStyle iSecondStyle,
ATSUStyleComparison * oComparison) ;
# 316 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCopyAttributes(
ATSUStyle iSourceStyle,
ATSUStyle iDestinationStyle) ;
# 368 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUOverwriteAttributes(
ATSUStyle iSourceStyle,
ATSUStyle iDestinationStyle) ;
# 421 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUUnderwriteAttributes(
ATSUStyle iSourceStyle,
ATSUStyle iDestinationStyle) ;
# 459 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUClearStyle(ATSUStyle iStyle) ;
# 497 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUStyleIsEmpty(
ATSUStyle iStyle,
Boolean * oIsClear) ;
# 563 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCalculateBaselineDeltas(
ATSUStyle iStyle,
BslnBaselineClass iBaselineClass,
BslnBaselineRecord oBaselineDeltas) ;
# 630 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetAttributes(
ATSUStyle iStyle,
ItemCount iAttributeCount,
const ATSUAttributeTag iTag[],
const ByteCount iValueSize[],
const ATSUAttributeValuePtr iValue[]) ;
# 687 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetAttribute(
ATSUStyle iStyle,
ATSUAttributeTag iTag,
ByteCount iExpectedValueSize,
ATSUAttributeValuePtr oValue,
ByteCount * oActualValueSize) ;
# 753 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetAllAttributes(
ATSUStyle iStyle,
ATSUAttributeInfo oAttributeInfoArray[],
ItemCount iTagValuePairArraySize,
ItemCount * oTagValuePairCount) ;
# 803 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUClearAttributes(
ATSUStyle iStyle,
ItemCount iTagCount,
const ATSUAttributeTag iTag[]) ;
# 853 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCreateTextLayout(ATSUTextLayout * oTextLayout) ;
# 891 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCreateAndCopyTextLayout(
ATSUTextLayout iTextLayout,
ATSUTextLayout * oTextLayout) ;
# 1000 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCreateTextLayoutWithTextPtr(
ConstUniCharArrayPtr iText,
UniCharArrayOffset iTextOffset,
UniCharCount iTextLength,
UniCharCount iTextTotalLength,
ItemCount iNumberOfRuns,
const UniCharCount iRunLengths[],
ATSUStyle iStyles[],
ATSUTextLayout * oTextLayout) ;
# 1066 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUClearLayoutCache(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineStart) ;
# 1107 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUDisposeTextLayout(ATSUTextLayout iTextLayout) ;
# 1147 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetTextLayoutRefCon(
ATSUTextLayout iTextLayout,
URefCon iRefCon) ;
# 1183 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetTextLayoutRefCon(
ATSUTextLayout iTextLayout,
URefCon * oRefCon) ;
# 1274 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetTextPointerLocation(
ATSUTextLayout iTextLayout,
ConstUniCharArrayPtr iText,
UniCharArrayOffset iTextOffset,
UniCharCount iTextLength,
UniCharCount iTextTotalLength) ;
# 1339 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetTextLocation(
ATSUTextLayout iTextLayout,
void ** oText,
Boolean * oTextIsStoredInHandle,
UniCharArrayOffset * oOffset,
UniCharCount * oTextLength,
UniCharCount * oTextTotalLength) ;
# 1404 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUTextDeleted(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iDeletedRangeStart,
UniCharCount iDeletedRangeLength) ;
# 1455 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUTextInserted(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iInsertionLocation,
UniCharCount iInsertionLength) ;
# 1494 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUTextMoved(
ATSUTextLayout iTextLayout,
ConstUniCharArrayPtr iNewLocation) ;
# 1540 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCopyLayoutControls(
ATSUTextLayout iSourceTextLayout,
ATSUTextLayout iDestTextLayout) ;
# 1608 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetLayoutControls(
ATSUTextLayout iTextLayout,
ItemCount iAttributeCount,
const ATSUAttributeTag iTag[],
const ByteCount iValueSize[],
const ATSUAttributeValuePtr iValue[]) ;
# 1679 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetLayoutControl(
ATSUTextLayout iTextLayout,
ATSUAttributeTag iTag,
ByteCount iExpectedValueSize,
ATSUAttributeValuePtr oValue,
ByteCount * oActualValueSize) ;
# 1749 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetAllLayoutControls(
ATSUTextLayout iTextLayout,
ATSUAttributeInfo oAttributeInfoArray[],
ItemCount iTagValuePairArraySize,
ItemCount * oTagValuePairCount) ;
# 1799 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUClearLayoutControls(
ATSUTextLayout iTextLayout,
ItemCount iTagCount,
const ATSUAttributeTag iTag[]) ;
# 1856 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCopyLineControls(
ATSUTextLayout iSourceTextLayout,
UniCharArrayOffset iSourceLineStart,
ATSUTextLayout iDestTextLayout,
UniCharArrayOffset iDestLineStart) ;
# 1934 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetLineControls(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineStart,
ItemCount iAttributeCount,
const ATSUAttributeTag iTag[],
const ByteCount iValueSize[],
const ATSUAttributeValuePtr iValue[]) ;
# 2003 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetLineControl(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineStart,
ATSUAttributeTag iTag,
ByteCount iExpectedValueSize,
ATSUAttributeValuePtr oValue,
ByteCount * oActualValueSize) ;
# 2078 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetAllLineControls(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineStart,
ATSUAttributeInfo oAttributeInfoArray[],
ItemCount iTagValuePairArraySize,
ItemCount * oTagValuePairCount) ;
# 2131 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUClearLineControls(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineStart,
ItemCount iTagCount,
const ATSUAttributeTag iTag[]) ;
# 2204 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetRunStyle(
ATSUTextLayout iTextLayout,
ATSUStyle iStyle,
UniCharArrayOffset iRunStart,
UniCharCount iRunLength) ;
# 2271 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetRunStyle(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iOffset,
ATSUStyle * oStyle,
UniCharArrayOffset * oRunStart,
UniCharCount * oRunLength) ;
# 2324 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetContinuousAttributes(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iOffset,
UniCharCount iLength,
ATSUStyle oStyle) ;
# 2371 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetTabArray(
ATSUTextLayout iTextLayout,
const ATSUTab iTabs[],
ItemCount iTabCount) ;
# 2426 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetTabArray(
ATSUTextLayout iTextLayout,
ItemCount iMaxTabCount,
ATSUTab oTabs[],
ItemCount * oTabCount) ;
# 2469 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCreateFontFallbacks(ATSUFontFallbacks * oFontFallback) ;
# 2499 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUDisposeFontFallbacks(ATSUFontFallbacks iFontFallbacks) ;
# 2554 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetObjFontFallbacks(
ATSUFontFallbacks iFontFallbacks,
ItemCount iFontFallbacksCount,
const ATSUFontID iFonts[],
ATSUFontFallbackMethod iFontFallbackMethod) ;
# 2609 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetObjFontFallbacks(
ATSUFontFallbacks iFontFallbacks,
ItemCount iMaxFontFallbacksCount,
ATSUFontID oFonts[],
ATSUFontFallbackMethod * oFontFallbackMethod,
ItemCount * oActualFallbacksCount) ;
# 2708 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUMatchFontsToText(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iTextStart,
UniCharCount iTextLength,
ATSUFontID * oFontID,
UniCharArrayOffset * oChangedOffset,
UniCharCount * oChangedLength) ;
# 2751 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetTransientFontMatching(
ATSUTextLayout iTextLayout,
Boolean iTransientFontMatching) ;
# 2792 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetTransientFontMatching(
ATSUTextLayout iTextLayout,
Boolean * oTransientFontMatching) ;
# 2829 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetFontFallbacks(
ItemCount iFontFallbacksCount,
const ATSUFontID iFontIDs[],
ATSUFontFallbackMethod iFontFallbackMethod) __attribute__((deprecated));
# 2862 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUGetFontFallbacks(
ItemCount iMaxFontFallbacksCount,
ATSUFontID oFontIDs[],
ATSUFontFallbackMethod * oFontFallbackMethod,
ItemCount * oActualFallbacksCount) __attribute__((deprecated));
# 2888 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCreateTextLayoutWithTextHandle(
UniCharArrayHandle iText,
UniCharArrayOffset iTextOffset,
UniCharCount iTextLength,
UniCharCount iTextTotalLength,
ItemCount iNumberOfRuns,
const UniCharCount iRunLengths[],
ATSUStyle iStyles[],
ATSUTextLayout * oTextLayout) __attribute__((deprecated));
# 2915 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetTextHandleLocation(
ATSUTextLayout iTextLayout,
UniCharArrayHandle iText,
UniCharArrayOffset iTextOffset,
UniCharCount iTextLength,
UniCharCount iTextTotalLength) __attribute__((deprecated));
# 2946 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUIdle(ATSUTextLayout iTextLayout) __attribute__((deprecated));
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
#define __ATSUNICODEDRAWING__
# 121 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUDrawText(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineOffset,
UniCharCount iLineLength,
ATSUTextMeasurement iLocationX,
ATSUTextMeasurement iLocationY) ;
# 211 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUGetUnjustifiedBounds(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineStart,
UniCharCount iLineLength,
ATSUTextMeasurement * oTextBefore,
ATSUTextMeasurement * oTextAfter,
ATSUTextMeasurement * oAscent,
ATSUTextMeasurement * oDescent) ;
# 297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUMeasureTextImage(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineOffset,
UniCharCount iLineLength,
ATSUTextMeasurement iLocationX,
ATSUTextMeasurement iLocationY,
Rect * oTextImageRect) ;
# 431 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUGetGlyphBounds(
ATSUTextLayout iTextLayout,
ATSUTextMeasurement iTextBasePointX,
ATSUTextMeasurement iTextBasePointY,
UniCharArrayOffset iBoundsCharStart,
UniCharCount iBoundsCharLength,
UInt16 iTypeOfBounds,
ItemCount iMaxNumberOfBounds,
ATSTrapezoid oGlyphBounds[],
ItemCount * oActualNumberOfBounds) ;
# 496 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUBatchBreakLines(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iRangeStart,
UniCharCount iRangeLength,
ATSUTextMeasurement iLineWidth,
ItemCount * oBreakCount) ;
# 574 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUBreakLine(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineStart,
ATSUTextMeasurement iLineWidth,
Boolean iUseAsSoftLineBreak,
UniCharArrayOffset * oLineBreak) ;
# 617 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUSetSoftLineBreak(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineBreak) ;
# 688 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUGetSoftLineBreaks(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iRangeStart,
UniCharCount iRangeLength,
ItemCount iMaximumBreaks,
UniCharArrayOffset oBreaks[],
ItemCount * oBreakCount) ;
# 736 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUClearSoftLineBreaks(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iRangeStart,
UniCharCount iRangeLength) ;
# 822 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUSetHighlightingMethod(
ATSUTextLayout iTextLayout,
ATSUHighlightMethod iMethod,
const ATSUUnhighlightData * iUnhighlightData) ;
# 896 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUHighlightText(
ATSUTextLayout iTextLayout,
ATSUTextMeasurement iTextBasePointX,
ATSUTextMeasurement iTextBasePointY,
UniCharArrayOffset iHighlightStart,
UniCharCount iHighlightLength) ;
# 971 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUUnhighlightText(
ATSUTextLayout iTextLayout,
ATSUTextMeasurement iTextBasePointX,
ATSUTextMeasurement iTextBasePointY,
UniCharArrayOffset iHighlightStart,
UniCharCount iHighlightLength) ;
# 1044 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUGetTextHighlight(
ATSUTextLayout iTextLayout,
ATSUTextMeasurement iTextBasePointX,
ATSUTextMeasurement iTextBasePointY,
UniCharArrayOffset iHighlightStart,
UniCharCount iHighlightLength,
RgnHandle oHighlightRegion) ;
# 1111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUHighlightInactiveText(
ATSUTextLayout iTextLayout,
ATSUTextMeasurement iTextBasePointX,
ATSUTextMeasurement iTextBasePointY,
UniCharArrayOffset iHighlightStart,
UniCharCount iHighlightLength) ;
# 1236 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUPositionToOffset(
ATSUTextLayout iTextLayout,
ATSUTextMeasurement iLocationX,
ATSUTextMeasurement iLocationY,
UniCharArrayOffset * ioPrimaryOffset,
Boolean * oIsLeading,
UniCharArrayOffset * oSecondaryOffset) ;
# 1332 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUOffsetToPosition(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iOffset,
Boolean iIsLeading,
ATSUCaret * oMainCaret,
ATSUCaret * oSecondCaret,
Boolean * oCaretIsSplit) ;
# 1419 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUPositionToCursorOffset(
ATSUTextLayout iTextLayout,
ATSUTextMeasurement iLocationX,
ATSUTextMeasurement iLocationY,
ATSUCursorMovementType iMovementType,
UniCharArrayOffset * ioPrimaryOffset,
Boolean * oIsLeading,
UniCharArrayOffset * oSecondaryOffset) ;
# 1499 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUOffsetToCursorPosition(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iOffset,
Boolean iIsLeading,
ATSUCursorMovementType iMovementType,
ATSUCaret * oMainCaret,
ATSUCaret * oSecondCaret,
Boolean * oCaretIsSplit) ;
# 1554 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUNextCursorPosition(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iOldOffset,
ATSUCursorMovementType iMovementType,
UniCharArrayOffset * oNewOffset) ;
# 1603 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUPreviousCursorPosition(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iOldOffset,
ATSUCursorMovementType iMovementType,
UniCharArrayOffset * oNewOffset) ;
# 1659 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSURightwardCursorPosition(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iOldOffset,
ATSUCursorMovementType iMovementType,
UniCharArrayOffset * oNewOffset) ;
# 1715 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSULeftwardCursorPosition(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iOldOffset,
ATSUCursorMovementType iMovementType,
UniCharArrayOffset * oNewOffset) ;
# 1740 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUMeasureText(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineStart,
UniCharCount iLineLength,
ATSUTextMeasurement * oTextBefore,
ATSUTextMeasurement * oTextAfter,
ATSUTextMeasurement * oAscent,
ATSUTextMeasurement * oDescent) __attribute__((deprecated));
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
#define __ATSUNICODEFONTS__
# 90 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUSetFontFeatures(
ATSUStyle iStyle,
ItemCount iFeatureCount,
const ATSUFontFeatureType iType[],
const ATSUFontFeatureSelector iSelector[]) ;
# 151 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetFontFeature(
ATSUStyle iStyle,
ItemCount iFeatureIndex,
ATSUFontFeatureType * oFeatureType,
ATSUFontFeatureSelector * oFeatureSelector) ;
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetAllFontFeatures(
ATSUStyle iStyle,
ItemCount iMaximumFeatureCount,
ATSUFontFeatureType oFeatureType[],
ATSUFontFeatureSelector oFeatureSelector[],
ItemCount * oActualFeatureCount) ;
# 297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUClearFontFeatures(
ATSUStyle iStyle,
ItemCount iFeatureCount,
const ATSUFontFeatureType iType[],
const ATSUFontFeatureSelector iSelector[]) ;
# 362 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUSetVariations(
ATSUStyle iStyle,
ItemCount iVariationCount,
const ATSUFontVariationAxis iAxes[],
const ATSUFontVariationValue iValue[]) ;
# 415 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetFontVariationValue(
ATSUStyle iStyle,
ATSUFontVariationAxis iFontVariationAxis,
ATSUFontVariationValue * oFontVariationValue) ;
# 488 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetAllFontVariations(
ATSUStyle iStyle,
ItemCount iVariationCount,
ATSUFontVariationAxis oVariationAxes[],
ATSUFontVariationValue oFontVariationValues[],
ItemCount * oActualVariationCount) ;
# 546 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUClearFontVariations(
ATSUStyle iStyle,
ItemCount iAxisCount,
const ATSUFontVariationAxis iAxis[]) ;
# 599 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUFontCount(ItemCount * oFontCount) ;
# 643 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetFontIDs(
ATSUFontID oFontIDs[],
ItemCount iArraySize,
ItemCount * oFontCount) ;
# 670 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUFONDtoFontID(
short iFONDNumber,
Style iFONDStyle,
ATSUFontID * oFontID) ;
# 697 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUFontIDtoFOND(
ATSUFontID iFontID,
short * oFONDNumber,
Style * oFONDStyle) ;
# 743 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUCountFontNames(
ATSUFontID iFontID,
ItemCount * oFontNameCount) ;
# 834 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetIndFontName(
ATSUFontID iFontID,
ItemCount iFontNameIndex,
ByteCount iMaximumNameLength,
Ptr oName,
ByteCount * oActualNameLength,
FontNameCode * oFontNameCode,
FontPlatformCode * oFontNamePlatform,
FontScriptCode * oFontNameScript,
FontLanguageCode * oFontNameLanguage) ;
# 939 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUFindFontName(
ATSUFontID iFontID,
FontNameCode iFontNameCode,
FontPlatformCode iFontNamePlatform,
FontScriptCode iFontNameScript,
FontLanguageCode iFontNameLanguage,
ByteCount iMaximumNameLength,
Ptr oName,
ByteCount * oActualNameLength,
ItemCount * oFontNameIndex) ;
# 1015 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUFindFontFromName(
const void * iName,
ByteCount iNameLength,
FontNameCode iFontNameCode,
FontPlatformCode iFontNamePlatform,
FontScriptCode iFontNameScript,
FontLanguageCode iFontNameLanguage,
ATSUFontID * oFontID) ;
# 1060 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUCountFontFeatureTypes(
ATSUFontID iFontID,
ItemCount * oTypeCount) ;
# 1103 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUCountFontFeatureSelectors(
ATSUFontID iFontID,
ATSUFontFeatureType iType,
ItemCount * oSelectorCount) ;
# 1165 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetFontFeatureTypes(
ATSUFontID iFontID,
ItemCount iMaximumTypes,
ATSUFontFeatureType oTypes[],
ItemCount * oActualTypeCount) ;
# 1255 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetFontFeatureSelectors(
ATSUFontID iFontID,
ATSUFontFeatureType iType,
ItemCount iMaximumSelectors,
ATSUFontFeatureSelector oSelectors[],
Boolean oSelectorIsOnByDefault[],
ItemCount * oActualSelectorCount,
Boolean * oIsMutuallyExclusive) ;
# 1318 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetFontFeatureNameCode(
ATSUFontID iFontID,
ATSUFontFeatureType iType,
ATSUFontFeatureSelector iSelector,
FontNameCode * oNameCode) ;
# 1366 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUCountFontTracking(
ATSUFontID iFontID,
ATSUVerticalCharacterType iCharacterOrientation,
ItemCount * oTrackingCount) ;
# 1423 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetIndFontTracking(
ATSUFontID iFontID,
ATSUVerticalCharacterType iCharacterOrientation,
ItemCount iTrackIndex,
Fixed * oFontTrackingValue,
FontNameCode * oNameCode) ;
# 1465 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUCountFontVariations(
ATSUFontID iFontID,
ItemCount * oVariationCount) ;
# 1521 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetIndFontVariation(
ATSUFontID iFontID,
ItemCount iVariationIndex,
ATSUFontVariationAxis * oATSUFontVariationAxis,
ATSUFontVariationValue * oMinimumValue,
ATSUFontVariationValue * oMaximumValue,
ATSUFontVariationValue * oDefaultValue) ;
# 1570 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetFontVariationNameCode(
ATSUFontID iFontID,
ATSUFontVariationAxis iAxis,
FontNameCode * oNameCode) ;
# 1610 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUCountFontInstances(
ATSUFontID iFontID,
ItemCount * oInstances) ;
# 1690 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetFontInstance(
ATSUFontID iFontID,
ItemCount iFontInstanceIndex,
ItemCount iMaximumVariations,
ATSUFontVariationAxis oAxes[],
ATSUFontVariationValue oValues[],
ItemCount * oActualVariationCount) ;
# 1742 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUGetFontInstanceNameCode(
ATSUFontID iFontID,
ItemCount iInstanceIndex,
FontNameCode * oNameCode) ;
# 33 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
#define __ATSUNICODEGLYPHS__
# 98 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
ATSUGlyphGetIdealMetrics(
ATSUStyle iATSUStyle,
ItemCount iNumOfGlyphs,
GlyphID iGlyphIDs[],
ByteOffset iInputOffset,
ATSGlyphIdealMetrics oIdealMetrics[]) ;
# 166 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
ATSUGlyphGetScreenMetrics(
ATSUStyle iATSUStyle,
ItemCount iNumOfGlyphs,
GlyphID iGlyphIDs[],
ByteOffset iInputOffset,
Boolean iForcingAntiAlias,
Boolean iAntiAliasSwitch,
ATSGlyphScreenMetrics oScreenMetrics[]) ;
# 216 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
ATSUGetNativeCurveType(
ATSUStyle iATSUStyle,
ATSCurveType * oCurveType) ;
# 246 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSQuadraticNewPathProcPtr)(void * callBackDataPtr);
typedef ATSQuadraticNewPathProcPtr ATSQuadraticNewPathUPP;
# 256 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSQuadraticNewPathUPP
NewATSQuadraticNewPathUPP(ATSQuadraticNewPathProcPtr userRoutine) ;
# 267 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSQuadraticNewPathUPP(ATSQuadraticNewPathUPP userUPP) ;
# 278 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSQuadraticNewPathUPP(
void * callBackDataPtr,
ATSQuadraticNewPathUPP userUPP) ;
#define NewATSQuadraticNewPathUPP(userRoutine) ((ATSQuadraticNewPathUPP)userRoutine)
#define DisposeATSQuadraticNewPathUPP(userUPP)
#define InvokeATSQuadraticNewPathUPP(callBackDataPtr,userUPP) (*userUPP)(callBackDataPtr)
# 323 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSQuadraticLineProcPtr)(const Float32Point *pt1, const Float32Point *pt2, void *callBackDataPtr);
typedef ATSQuadraticLineProcPtr ATSQuadraticLineUPP;
# 333 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSQuadraticLineUPP
NewATSQuadraticLineUPP(ATSQuadraticLineProcPtr userRoutine) ;
# 344 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSQuadraticLineUPP(ATSQuadraticLineUPP userUPP) ;
# 355 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSQuadraticLineUPP(
const Float32Point * pt1,
const Float32Point * pt2,
void * callBackDataPtr,
ATSQuadraticLineUPP userUPP) ;
#define NewATSQuadraticLineUPP(userRoutine) ((ATSQuadraticLineUPP)userRoutine)
#define DisposeATSQuadraticLineUPP(userUPP)
#define InvokeATSQuadraticLineUPP(pt1,pt2,callBackDataPtr,userUPP) (*userUPP)(pt1, pt2, callBackDataPtr)
# 407 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSQuadraticCurveProcPtr)(const Float32Point *pt1, const Float32Point *controlPt, const Float32Point *pt2, void *callBackDataPtr);
typedef ATSQuadraticCurveProcPtr ATSQuadraticCurveUPP;
# 417 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSQuadraticCurveUPP
NewATSQuadraticCurveUPP(ATSQuadraticCurveProcPtr userRoutine) ;
# 428 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSQuadraticCurveUPP(ATSQuadraticCurveUPP userUPP) ;
# 439 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSQuadraticCurveUPP(
const Float32Point * pt1,
const Float32Point * controlPt,
const Float32Point * pt2,
void * callBackDataPtr,
ATSQuadraticCurveUPP userUPP) ;
#define NewATSQuadraticCurveUPP(userRoutine) ((ATSQuadraticCurveUPP)userRoutine)
#define DisposeATSQuadraticCurveUPP(userUPP)
#define InvokeATSQuadraticCurveUPP(pt1,controlPt,pt2,callBackDataPtr,userUPP) (*userUPP)(pt1, controlPt, pt2, callBackDataPtr)
# 481 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSQuadraticClosePathProcPtr)(void * callBackDataPtr);
typedef ATSQuadraticClosePathProcPtr ATSQuadraticClosePathUPP;
# 491 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSQuadraticClosePathUPP
NewATSQuadraticClosePathUPP(ATSQuadraticClosePathProcPtr userRoutine) ;
# 502 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSQuadraticClosePathUPP(ATSQuadraticClosePathUPP userUPP) ;
# 513 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSQuadraticClosePathUPP(
void * callBackDataPtr,
ATSQuadraticClosePathUPP userUPP) ;
#define NewATSQuadraticClosePathUPP(userRoutine) ((ATSQuadraticClosePathUPP)userRoutine)
#define DisposeATSQuadraticClosePathUPP(userUPP)
#define InvokeATSQuadraticClosePathUPP(callBackDataPtr,userUPP) (*userUPP)(callBackDataPtr)
# 605 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
ATSUGlyphGetQuadraticPaths(
ATSUStyle iATSUStyle,
GlyphID iGlyphID,
ATSQuadraticNewPathUPP iNewPathProc,
ATSQuadraticLineUPP iLineProc,
ATSQuadraticCurveUPP iCurveProc,
ATSQuadraticClosePathUPP iClosePathProc,
void * iCallbackDataPtr,
OSStatus * oCallbackResult) ;
# 644 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSCubicMoveToProcPtr)(const Float32Point *pt, void *callBackDataPtr);
typedef ATSCubicMoveToProcPtr ATSCubicMoveToUPP;
# 654 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSCubicMoveToUPP
NewATSCubicMoveToUPP(ATSCubicMoveToProcPtr userRoutine) ;
# 665 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSCubicMoveToUPP(ATSCubicMoveToUPP userUPP) ;
# 676 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSCubicMoveToUPP(
const Float32Point * pt,
void * callBackDataPtr,
ATSCubicMoveToUPP userUPP) ;
#define NewATSCubicMoveToUPP(userRoutine) ((ATSCubicMoveToUPP)userRoutine)
#define DisposeATSCubicMoveToUPP(userUPP)
#define InvokeATSCubicMoveToUPP(pt,callBackDataPtr,userUPP) (*userUPP)(pt, callBackDataPtr)
# 720 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSCubicLineToProcPtr)(const Float32Point *pt, void *callBackDataPtr);
typedef ATSCubicLineToProcPtr ATSCubicLineToUPP;
# 730 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSCubicLineToUPP
NewATSCubicLineToUPP(ATSCubicLineToProcPtr userRoutine) ;
# 741 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSCubicLineToUPP(ATSCubicLineToUPP userUPP) ;
# 752 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSCubicLineToUPP(
const Float32Point * pt,
void * callBackDataPtr,
ATSCubicLineToUPP userUPP) ;
#define NewATSCubicLineToUPP(userRoutine) ((ATSCubicLineToUPP)userRoutine)
#define DisposeATSCubicLineToUPP(userUPP)
#define InvokeATSCubicLineToUPP(pt,callBackDataPtr,userUPP) (*userUPP)(pt, callBackDataPtr)
# 803 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSCubicCurveToProcPtr)(const Float32Point *pt1, const Float32Point *pt2, const Float32Point *pt3, void *callBackDataPtr);
typedef ATSCubicCurveToProcPtr ATSCubicCurveToUPP;
# 813 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSCubicCurveToUPP
NewATSCubicCurveToUPP(ATSCubicCurveToProcPtr userRoutine) ;
# 824 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSCubicCurveToUPP(ATSCubicCurveToUPP userUPP) ;
# 835 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSCubicCurveToUPP(
const Float32Point * pt1,
const Float32Point * pt2,
const Float32Point * pt3,
void * callBackDataPtr,
ATSCubicCurveToUPP userUPP) ;
#define NewATSCubicCurveToUPP(userRoutine) ((ATSCubicCurveToUPP)userRoutine)
#define DisposeATSCubicCurveToUPP(userUPP)
#define InvokeATSCubicCurveToUPP(pt1,pt2,pt3,callBackDataPtr,userUPP) (*userUPP)(pt1, pt2, pt3, callBackDataPtr)
# 877 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSCubicClosePathProcPtr)(void * callBackDataPtr);
typedef ATSCubicClosePathProcPtr ATSCubicClosePathUPP;
# 887 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSCubicClosePathUPP
NewATSCubicClosePathUPP(ATSCubicClosePathProcPtr userRoutine) ;
# 898 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSCubicClosePathUPP(ATSCubicClosePathUPP userUPP) ;
# 909 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSCubicClosePathUPP(
void * callBackDataPtr,
ATSCubicClosePathUPP userUPP) ;
#define NewATSCubicClosePathUPP(userRoutine) ((ATSCubicClosePathUPP)userRoutine)
#define DisposeATSCubicClosePathUPP(userUPP)
#define InvokeATSCubicClosePathUPP(callBackDataPtr,userUPP) (*userUPP)(callBackDataPtr)
# 1001 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
ATSUGlyphGetCubicPaths(
ATSUStyle iATSUStyle,
GlyphID iGlyphID,
ATSCubicMoveToUPP iMoveToProc,
ATSCubicLineToUPP iLineToProc,
ATSCubicCurveToUPP iCurveToProc,
ATSCubicClosePathUPP iClosePathProc,
void * iCallbackDataPtr,
OSStatus * oCallbackResult) ;
# 1067 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
ATSUGlyphGetCurvePaths(
ATSUStyle iATSUStyle,
GlyphID iGlyphID,
ByteCount * ioBufferSize,
ATSUCurvePaths * oPaths) ;
# 1098 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
ATSUGetGlyphInfo(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineStart,
UniCharCount iLineLength,
ByteCount * ioBufferSize,
ATSUGlyphInfoArray * oGlyphInfoPtr) __attribute__((deprecated));
# 1125 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
ATSUDrawGlyphInfo(
ATSUGlyphInfoArray * iGlyphInfoArray,
Float32Point iLocation) __attribute__((deprecated));
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
#define __ATSUNICODEFLATTENING__
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
#pragma pack(push, 2)
typedef UInt32 ATSUFlattenedDataStreamFormat;
enum {
kATSUDataStreamUnicodeStyledText = 'ustl'
};
typedef UInt32 ATSUFlattenStyleRunOptions;
enum {
kATSUFlattenOptionNoOptionsMask = 0x00000000
};
typedef UInt32 ATSUUnFlattenStyleRunOptions;
enum {
kATSUUnFlattenOptionNoOptionsMask = 0x00000000
};
# 82 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSUStyleRunInfo {
UniCharCount runLength;
ItemCount styleObjectIndex;
};
typedef struct ATSUStyleRunInfo ATSUStyleRunInfo;
# 106 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
enum {
kATSFlatDataUstlVersion0 = 0,
kATSFlatDataUstlVersion1 = 1,
kATSFlatDataUstlVersion2 = 2,
kATSFlatDataUstlCurrentVersion = kATSFlatDataUstlVersion2
};
# 121 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSFlatDataMainHeaderBlock {
UInt32 version;
ByteCount sizeOfDataBlock;
ByteCount offsetToTextLayouts;
ByteCount offsetToStyleRuns;
ByteCount offsetToStyleList;
};
typedef struct ATSFlatDataMainHeaderBlock ATSFlatDataMainHeaderBlock;
# 159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSFlatDataTextLayoutDataHeader {
ByteCount sizeOfLayoutData;
ByteCount textLayoutLength;
ByteCount offsetToLayoutControls;
ByteCount offsetToLineInfo;
};
typedef struct ATSFlatDataTextLayoutDataHeader ATSFlatDataTextLayoutDataHeader;
struct ATSFlatDataTextLayoutHeader {
ItemCount numFlattenedTextLayouts;
ATSFlatDataTextLayoutDataHeader flattenedTextLayouts[1];
};
typedef struct ATSFlatDataTextLayoutHeader ATSFlatDataTextLayoutHeader;
struct ATSFlatDataLayoutControlsDataHeader {
ItemCount numberOfLayoutControls;
# 222 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
ATSUAttributeInfo controlArray[1];
};
typedef struct ATSFlatDataLayoutControlsDataHeader ATSFlatDataLayoutControlsDataHeader;
struct ATSFlatDataLineInfoData {
UniCharCount lineLength;
ItemCount numberOfLineControls;
};
typedef struct ATSFlatDataLineInfoData ATSFlatDataLineInfoData;
struct ATSFlatDataLineInfoHeader {
ItemCount numberOfLines;
ATSFlatDataLineInfoData lineInfoArray[1];
};
typedef struct ATSFlatDataLineInfoHeader ATSFlatDataLineInfoHeader;
# 273 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSFlatDataStyleRunDataHeader {
ItemCount numberOfStyleRuns;
ATSUStyleRunInfo styleRunArray[1];
};
typedef struct ATSFlatDataStyleRunDataHeader ATSFlatDataStyleRunDataHeader;
# 297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSFlatDataStyleListStyleDataHeader {
ByteCount sizeOfStyleInfo;
ItemCount numberOfSetAttributes;
ItemCount numberOfSetFeatures;
ItemCount numberOfSetVariations;
# 338 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
};
typedef struct ATSFlatDataStyleListStyleDataHeader ATSFlatDataStyleListStyleDataHeader;
struct ATSFlatDataStyleListHeader {
ItemCount numberOfStyles;
ATSFlatDataStyleListStyleDataHeader styleDataArray[1];
};
typedef struct ATSFlatDataStyleListHeader ATSFlatDataStyleListHeader;
struct ATSFlatDataStyleListFeatureData {
ATSUFontFeatureType theFeatureType;
ATSUFontFeatureSelector theFeatureSelector;
};
typedef struct ATSFlatDataStyleListFeatureData ATSFlatDataStyleListFeatureData;
struct ATSFlatDataStyleListVariationData {
ATSUFontVariationAxis theVariationAxis;
ATSUFontVariationValue theVariationValue;
};
typedef struct ATSFlatDataStyleListVariationData ATSFlatDataStyleListVariationData;
# 401 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
typedef UInt32 ATSFlatDataFontSpeciferType;
enum {
kATSFlattenedFontSpecifierRawNameData = 'namd'
};
struct ATSFlatDataFontNameDataHeader {
ATSFlatDataFontSpeciferType nameSpecifierType;
ByteCount nameSpecifierSize;
};
typedef struct ATSFlatDataFontNameDataHeader ATSFlatDataFontNameDataHeader;
struct ATSFlatDataFontSpecRawNameData {
FontNameCode fontNameType;
FontPlatformCode fontNamePlatform;
FontScriptCode fontNameScript;
FontLanguageCode fontNameLanguage;
ByteCount fontNameLength;
};
typedef struct ATSFlatDataFontSpecRawNameData ATSFlatDataFontSpecRawNameData;
# 481 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSFlatDataFontSpecRawNameDataHeader {
ItemCount numberOfFlattenedNames;
ATSFlatDataFontSpecRawNameData nameDataArray[1];
};
typedef struct ATSFlatDataFontSpecRawNameDataHeader ATSFlatDataFontSpecRawNameDataHeader;
# 592 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
extern OSStatus
ATSUFlattenStyleRunsToStream(
ATSUFlattenedDataStreamFormat iStreamFormat,
ATSUFlattenStyleRunOptions iFlattenOptions,
ItemCount iNumberOfRunInfo,
const ATSUStyleRunInfo iRunInfoArray[],
ItemCount iNumberOfStyleObjects,
const ATSUStyle iStyleArray[],
ByteCount iStreamBufferSize,
void * oStreamBuffer,
ByteCount * oActualStreamBufferSize) ;
# 709 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
extern OSStatus
ATSUUnflattenStyleRunsFromStream(
ATSUFlattenedDataStreamFormat iStreamFormat,
ATSUUnFlattenStyleRunOptions iUnflattenOptions,
ByteCount iStreamBufferSize,
const void * iStreamBuffer,
ItemCount iNumberOfRunInfo,
ItemCount iNumberOfStyleObjects,
ATSUStyleRunInfo oRunInfoArray[],
ATSUStyle oStyleArray[],
ItemCount * oActualNumberOfRunInfo,
ItemCount * oActualNumberOfStyleObjects) ;
# 740 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
extern OSStatus
ATSUCopyToHandle(
ATSUStyle iStyle,
Handle oStyleHandle) __attribute__((deprecated));
# 761 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
extern OSStatus
ATSUPasteFromHandle(
ATSUStyle iStyle,
Handle iStyleHandle) __attribute__((deprecated));
#pragma pack(pop)
# 41 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
#define __ATSUNICODEDIRECTACCESS__
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
typedef UInt32 ATSUDirectDataSelector;
enum {
# 59 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataAdvanceDeltaFixedArray = 0L,
# 70 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataBaselineDeltaFixedArray = 1L,
# 85 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataDeviceDeltaSInt16Array = 2L,
# 100 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataStyleIndexUInt16Array = 3L,
# 109 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataStyleSettingATSUStyleSettingRefArray = 4L,
# 125 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataLayoutRecordATSLayoutRecordVersion1 = 100L,
# 138 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataLayoutRecordATSLayoutRecordCurrent = kATSUDirectDataLayoutRecordATSLayoutRecordVersion1
};
# 152 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
typedef struct LLCStyleInfo* ATSUStyleSettingRef;
# 225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
extern OSStatus
ATSUDirectGetLayoutDataArrayPtrFromLineRef(
ATSULineRef iLineRef,
ATSUDirectDataSelector iDataSelector,
Boolean iCreate,
void * oLayoutDataArrayPtr[],
ItemCount * oLayoutDataCount) ;
# 307 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
extern OSStatus
ATSUDirectGetLayoutDataArrayPtrFromTextLayout(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineOffset,
ATSUDirectDataSelector iDataSelector,
void * oLayoutDataArrayPtr[],
ItemCount * oLayoutDataCount) ;
# 353 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
extern OSStatus
ATSUDirectReleaseLayoutDataArrayPtr(
ATSULineRef iLineRef,
ATSUDirectDataSelector iDataSelector,
void * iLayoutDataArrayPtr[]) ;
# 405 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
extern OSStatus
ATSUDirectAddStyleSettingRef(
ATSULineRef iLineRef,
ATSUStyleSettingRef iStyleSettingRef,
UInt16 * oStyleIndex) ;
# 45 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 91 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 31 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 3
#define __HISERVICES__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
#define __HISHAPE__
# 68 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
typedef const struct __HIShape* HIShapeRef;
typedef struct __HIShape* HIMutableShapeRef;
enum {
kHIShapeEnumerateInit = 1,
kHIShapeEnumerateRect = 2,
kHIShapeEnumerateTerminate = 3
};
enum {
kHIShapeParseFromTop = 0,
kHIShapeParseFromBottom = (1 << 0),
kHIShapeParseFromLeft = 0,
kHIShapeParseFromRight = (1 << 1),
kHIShapeParseFromTopLeft = kHIShapeParseFromTop | kHIShapeParseFromLeft,
kHIShapeParseFromBottomRight = kHIShapeParseFromBottom | kHIShapeParseFromRight
};
# 170 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
typedef OSStatus ( * HIShapeEnumerateProcPtr)(int inMessage, HIShapeRef inShape, const CGRect *inRect, void *inRefcon);
# 193 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern CFTypeID
HIShapeGetTypeID(void) ;
# 224 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateEmpty(void) ;
# 255 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateWithQDRgn(RgnHandle inRgn) ;
# 286 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateWithRect(const CGRect * inRect) ;
# 317 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateCopy(HIShapeRef inShape) ;
# 351 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateIntersection(
HIShapeRef inShape1,
HIShapeRef inShape2) ;
# 387 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateDifference(
HIShapeRef inShape1,
HIShapeRef inShape2) ;
# 423 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateUnion(
HIShapeRef inShape1,
HIShapeRef inShape2) ;
# 459 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateXor(
HIShapeRef inShape1,
HIShapeRef inShape2) ;
# 492 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern Boolean
HIShapeIsEmpty(HIShapeRef inShape) ;
# 522 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern Boolean
HIShapeIsRectangular(HIShapeRef inShape) ;
# 556 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern Boolean
HIShapeContainsPoint(
HIShapeRef inShape,
const CGPoint * inPoint) ;
# 592 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern Boolean
HIShapeIntersectsRect(
HIShapeRef inShape,
const CGRect * inRect) ;
# 627 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern CGRect *
HIShapeGetBounds(
HIShapeRef inShape,
CGRect * outRect) ;
# 665 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeGetAsQDRgn(
HIShapeRef inShape,
RgnHandle outRgn) ;
# 703 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeReplacePathInCGContext(
HIShapeRef inShape,
CGContextRef inContext) ;
# 740 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeSetQDClip(
HIShapeRef inShape,
CGrafPtr inPort) ;
# 786 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeEnumerate(
HIShapeRef inShape,
OptionBits inOptions,
HIShapeEnumerateProcPtr inProc,
void * inRefcon) ;
# 819 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIMutableShapeRef
HIShapeCreateMutable(void) ;
# 850 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIMutableShapeRef
HIShapeCreateMutableCopy(HIShapeRef inOrig) ;
# 877 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIMutableShapeRef
HIShapeCreateMutableWithRect(const CGRect * inRect) ;
# 907 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeSetEmpty(HIMutableShapeRef inShape) ;
# 942 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeSetWithShape(
HIMutableShapeRef inDestShape,
HIShapeRef inSrcShape) ;
# 982 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeIntersect(
HIShapeRef inShape1,
HIShapeRef inShape2,
HIMutableShapeRef outResult) ;
# 1023 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeDifference(
HIShapeRef inShape1,
HIShapeRef inShape2,
HIMutableShapeRef outResult) ;
# 1071 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeUnion(
HIShapeRef inShape1,
HIShapeRef inShape2,
HIMutableShapeRef outResult) ;
# 1112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeXor(
HIShapeRef inShape1,
HIShapeRef inShape2,
HIMutableShapeRef outResult) ;
# 1151 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeOffset(
HIMutableShapeRef inShape,
CGFloat inDX,
CGFloat inDY) ;
# 1192 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeInset(
HIMutableShapeRef inShape,
CGFloat inDX,
CGFloat inDY) ;
# 1225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeUnionWithRect(
HIMutableShapeRef inShape,
const CGRect * inRect) ;
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
#define __ICONS__
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 2 3
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
#pragma pack(push, 2)
enum {
kAlignNone = 0x00,
kAlignVerticalCenter = 0x01,
kAlignTop = 0x02,
kAlignBottom = 0x03,
kAlignHorizontalCenter = 0x04,
kAlignAbsoluteCenter = kAlignVerticalCenter | kAlignHorizontalCenter,
kAlignCenterTop = kAlignTop | kAlignHorizontalCenter,
kAlignCenterBottom = kAlignBottom | kAlignHorizontalCenter,
kAlignLeft = 0x08,
kAlignCenterLeft = kAlignVerticalCenter | kAlignLeft,
kAlignTopLeft = kAlignTop | kAlignLeft,
kAlignBottomLeft = kAlignBottom | kAlignLeft,
kAlignRight = 0x0C,
kAlignCenterRight = kAlignVerticalCenter | kAlignRight,
kAlignTopRight = kAlignTop | kAlignRight,
kAlignBottomRight = kAlignBottom | kAlignRight
};
enum {
atNone = kAlignNone,
atVerticalCenter = kAlignVerticalCenter,
atTop = kAlignTop,
atBottom = kAlignBottom,
atHorizontalCenter = kAlignHorizontalCenter,
atAbsoluteCenter = kAlignAbsoluteCenter,
atCenterTop = kAlignCenterTop,
atCenterBottom = kAlignCenterBottom,
atLeft = kAlignLeft,
atCenterLeft = kAlignCenterLeft,
atTopLeft = kAlignTopLeft,
atBottomLeft = kAlignBottomLeft,
atRight = kAlignRight,
atCenterRight = kAlignCenterRight,
atTopRight = kAlignTopRight,
atBottomRight = kAlignBottomRight
};
typedef SInt16 IconAlignmentType;
enum {
kTransformNone = 0x00,
kTransformDisabled = 0x01,
kTransformOffline = 0x02,
kTransformOpen = 0x03,
kTransformLabel1 = 0x0100,
kTransformLabel2 = 0x0200,
kTransformLabel3 = 0x0300,
kTransformLabel4 = 0x0400,
kTransformLabel5 = 0x0500,
kTransformLabel6 = 0x0600,
kTransformLabel7 = 0x0700,
kTransformSelected = 0x4000,
kTransformSelectedDisabled = kTransformSelected | kTransformDisabled,
kTransformSelectedOffline = kTransformSelected | kTransformOffline,
kTransformSelectedOpen = kTransformSelected | kTransformOpen
};
enum {
ttNone = kTransformNone,
ttDisabled = kTransformDisabled,
ttOffline = kTransformOffline,
ttOpen = kTransformOpen,
ttLabel1 = kTransformLabel1,
ttLabel2 = kTransformLabel2,
ttLabel3 = kTransformLabel3,
ttLabel4 = kTransformLabel4,
ttLabel5 = kTransformLabel5,
ttLabel6 = kTransformLabel6,
ttLabel7 = kTransformLabel7,
ttSelected = kTransformSelected,
ttSelectedDisabled = kTransformSelectedDisabled,
ttSelectedOffline = kTransformSelectedOffline,
ttSelectedOpen = kTransformSelectedOpen
};
typedef SInt16 IconTransformType;
enum {
kSelectorLarge1Bit = 0x00000001,
kSelectorLarge4Bit = 0x00000002,
kSelectorLarge8Bit = 0x00000004,
kSelectorLarge32Bit = 0x00000008,
kSelectorLarge8BitMask = 0x00000010,
kSelectorSmall1Bit = 0x00000100,
kSelectorSmall4Bit = 0x00000200,
kSelectorSmall8Bit = 0x00000400,
kSelectorSmall32Bit = 0x00000800,
kSelectorSmall8BitMask = 0x00001000,
kSelectorMini1Bit = 0x00010000,
kSelectorMini4Bit = 0x00020000,
kSelectorMini8Bit = 0x00040000,
kSelectorHuge1Bit = 0x01000000,
kSelectorHuge4Bit = 0x02000000,
kSelectorHuge8Bit = 0x04000000,
kSelectorHuge32Bit = 0x08000000,
kSelectorHuge8BitMask = 0x10000000,
kSelectorAllLargeData = 0x000000FF,
kSelectorAllSmallData = 0x0000FF00,
kSelectorAllMiniData = 0x00FF0000,
kSelectorAllHugeData = (UInt32)0xFF000000,
kSelectorAll1BitData = kSelectorLarge1Bit | kSelectorSmall1Bit | kSelectorMini1Bit | kSelectorHuge1Bit,
kSelectorAll4BitData = kSelectorLarge4Bit | kSelectorSmall4Bit | kSelectorMini4Bit | kSelectorHuge4Bit,
kSelectorAll8BitData = kSelectorLarge8Bit | kSelectorSmall8Bit | kSelectorMini8Bit | kSelectorHuge8Bit,
kSelectorAll32BitData = kSelectorLarge32Bit | kSelectorSmall32Bit | kSelectorHuge32Bit,
kSelectorAllAvailableData = (UInt32)0xFFFFFFFF
};
typedef UInt32 IconSelectorValue;
enum {
svLarge1Bit = kSelectorLarge1Bit,
svLarge4Bit = kSelectorLarge4Bit,
svLarge8Bit = kSelectorLarge8Bit,
svSmall1Bit = kSelectorSmall1Bit,
svSmall4Bit = kSelectorSmall4Bit,
svSmall8Bit = kSelectorSmall8Bit,
svMini1Bit = kSelectorMini1Bit,
svMini4Bit = kSelectorMini4Bit,
svMini8Bit = kSelectorMini8Bit,
svAllLargeData = kSelectorAllLargeData,
svAllSmallData = kSelectorAllSmallData,
svAllMiniData = kSelectorAllMiniData,
svAll1BitData = kSelectorAll1BitData,
svAll4BitData = kSelectorAll4BitData,
svAll8BitData = kSelectorAll8BitData,
svAllAvailableData = kSelectorAllAvailableData
};
typedef OSErr ( * IconActionProcPtr)(ResType theType, Handle *theIcon, void *yourDataPtr);
typedef Handle ( * IconGetterProcPtr)(ResType theType, void *yourDataPtr);
typedef IconActionProcPtr IconActionUPP;
typedef IconGetterProcPtr IconGetterUPP;
# 192 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern IconActionUPP
NewIconActionUPP(IconActionProcPtr userRoutine) ;
# 203 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern IconGetterUPP
NewIconGetterUPP(IconGetterProcPtr userRoutine) ;
# 214 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern void
DisposeIconActionUPP(IconActionUPP userUPP) ;
# 225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern void
DisposeIconGetterUPP(IconGetterUPP userUPP) ;
# 236 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
InvokeIconActionUPP(
ResType theType,
Handle * theIcon,
void * yourDataPtr,
IconActionUPP userUPP) ;
# 251 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Handle
InvokeIconGetterUPP(
ResType theType,
void * yourDataPtr,
IconGetterUPP userUPP) ;
# 266 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
#define NewIconActionUPP(userRoutine) ((IconActionUPP)userRoutine)
#define NewIconGetterUPP(userRoutine) ((IconGetterUPP)userRoutine)
#define DisposeIconActionUPP(userUPP)
#define DisposeIconGetterUPP(userUPP)
#define InvokeIconActionUPP(theType,theIcon,yourDataPtr,userUPP) (*userUPP)(theType, theIcon, yourDataPtr)
#define InvokeIconGetterUPP(theType,yourDataPtr,userUPP) (*userUPP)(theType, yourDataPtr)
typedef IconGetterProcPtr IconGetter;
typedef IconActionProcPtr IconAction;
struct CIcon {
PixMap iconPMap;
BitMap iconMask;
BitMap iconBMap;
Handle iconData;
SInt16 iconMaskData[1];
};
typedef struct CIcon CIcon;
typedef CIcon * CIconPtr;
typedef CIconPtr * CIconHandle;
typedef Handle IconSuiteRef;
typedef Handle IconCacheRef;
# 307 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern CIconHandle
GetCIcon(SInt16 iconID) __attribute__((deprecated));
# 322 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern void
PlotCIcon(
const Rect * theRect,
CIconHandle theIcon) __attribute__((deprecated));
# 339 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern void
DisposeCIcon(CIconHandle theIcon) __attribute__((deprecated));
# 354 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Handle
GetIcon(SInt16 iconID) __attribute__((deprecated));
# 369 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern void
PlotIcon(
const Rect * theRect,
Handle theIcon) __attribute__((deprecated));
# 386 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
PlotIconID(
const Rect * theRect,
IconAlignmentType align,
IconTransformType transform,
SInt16 theResID) __attribute__((deprecated));
# 405 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
NewIconSuite(IconSuiteRef * theIconSuite) __attribute__((deprecated));
# 420 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
AddIconToSuite(
Handle theIconData,
IconSuiteRef theSuite,
ResType theType) __attribute__((deprecated));
# 438 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
GetIconFromSuite(
Handle * theIconData,
IconSuiteRef theSuite,
ResType theType) __attribute__((deprecated));
# 456 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
ForEachIconDo(
IconSuiteRef theSuite,
IconSelectorValue selector,
IconActionUPP action,
void * yourDataPtr) __attribute__((deprecated));
# 475 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
GetIconSuite(
IconSuiteRef * theIconSuite,
SInt16 theResID,
IconSelectorValue selector) __attribute__((deprecated));
# 493 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
DisposeIconSuite(
IconSuiteRef theIconSuite,
Boolean disposeData) __attribute__((deprecated));
# 510 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
PlotIconSuite(
const Rect * theRect,
IconAlignmentType align,
IconTransformType transform,
IconSuiteRef theIconSuite) __attribute__((deprecated));
# 529 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
MakeIconCache(
IconCacheRef * theCache,
IconGetterUPP makeIcon,
void * yourDataPtr) __attribute__((deprecated));
# 547 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
LoadIconCache(
const Rect * theRect,
IconAlignmentType align,
IconTransformType transform,
IconCacheRef theIconCache) __attribute__((deprecated));
# 566 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
PlotIconMethod(
const Rect * theRect,
IconAlignmentType align,
IconTransformType transform,
IconGetterUPP theMethod,
void * yourDataPtr) __attribute__((deprecated));
# 586 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
GetLabel(
SInt16 labelNumber,
RGBColor * labelColor,
Str255 labelString) __attribute__((deprecated));
# 604 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
PtInIconID(
Point testPt,
const Rect * iconRect,
IconAlignmentType align,
SInt16 iconID) __attribute__((deprecated));
# 623 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
PtInIconSuite(
Point testPt,
const Rect * iconRect,
IconAlignmentType align,
IconSuiteRef theIconSuite) __attribute__((deprecated));
# 642 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
PtInIconMethod(
Point testPt,
const Rect * iconRect,
IconAlignmentType align,
IconGetterUPP theMethod,
void * yourDataPtr) __attribute__((deprecated));
# 662 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
RectInIconID(
const Rect * testRect,
const Rect * iconRect,
IconAlignmentType align,
SInt16 iconID) __attribute__((deprecated));
# 681 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
RectInIconSuite(
const Rect * testRect,
const Rect * iconRect,
IconAlignmentType align,
IconSuiteRef theIconSuite) __attribute__((deprecated));
# 700 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
RectInIconMethod(
const Rect * testRect,
const Rect * iconRect,
IconAlignmentType align,
IconGetterUPP theMethod,
void * yourDataPtr) __attribute__((deprecated));
# 720 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
IconIDToRgn(
RgnHandle theRgn,
const Rect * iconRect,
IconAlignmentType align,
SInt16 iconID) __attribute__((deprecated));
# 739 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
IconSuiteToRgn(
RgnHandle theRgn,
const Rect * iconRect,
IconAlignmentType align,
IconSuiteRef theIconSuite) __attribute__((deprecated));
# 758 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
IconMethodToRgn(
RgnHandle theRgn,
const Rect * iconRect,
IconAlignmentType align,
IconGetterUPP theMethod,
void * yourDataPtr) __attribute__((deprecated));
# 778 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
SetSuiteLabel(
IconSuiteRef theSuite,
SInt16 theLabel) __attribute__((deprecated));
# 795 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern SInt16
GetSuiteLabel(IconSuiteRef theSuite) __attribute__((deprecated));
# 810 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
GetIconCacheData(
IconCacheRef theCache,
void ** theData) __attribute__((deprecated));
# 827 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
SetIconCacheData(
IconCacheRef theCache,
void * theData) __attribute__((deprecated));
# 844 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
GetIconCacheProc(
IconCacheRef theCache,
IconGetterUPP * theProc) __attribute__((deprecated));
# 861 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
SetIconCacheProc(
IconCacheRef theCache,
IconGetterUPP theProc) __attribute__((deprecated));
# 878 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
PlotIconHandle(
const Rect * theRect,
IconAlignmentType align,
IconTransformType transform,
Handle theIcon) __attribute__((deprecated));
# 897 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
PlotSICNHandle(
const Rect * theRect,
IconAlignmentType align,
IconTransformType transform,
Handle theSICN) __attribute__((deprecated));
# 916 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
PlotCIconHandle(
const Rect * theRect,
IconAlignmentType align,
IconTransformType transform,
CIconHandle theCIcon) __attribute__((deprecated));
# 933 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
typedef UInt32 PlotIconRefFlags;
enum {
kPlotIconRefNormalFlags = 0L,
kPlotIconRefNoImage = (1 << 1),
kPlotIconRefNoMask = (1 << 2)
};
# 978 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
IconRefToIconFamily(
IconRef theIconRef,
IconSelectorValue whichIcons,
IconFamilyHandle * iconFamily) ;
# 1003 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
IconFamilyToIconSuite(
IconFamilyHandle iconFamily,
IconSelectorValue whichIcons,
IconSuiteRef * iconSuite) __attribute__((deprecated));
# 1027 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
IconSuiteToIconFamily(
IconSuiteRef iconSuite,
IconSelectorValue whichIcons,
IconFamilyHandle * iconFamily) __attribute__((deprecated));
# 1055 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
SetIconFamilyData(
IconFamilyHandle iconFamily,
OSType iconType,
Handle h) ;
# 1083 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
GetIconFamilyData(
IconFamilyHandle iconFamily,
OSType iconType,
Handle h) ;
# 1111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
PlotIconRef(
const Rect * theRect,
IconAlignmentType align,
IconTransformType transform,
IconServicesUsageFlags theIconServicesUsageFlags,
IconRef theIconRef) __attribute__((deprecated));
# 1161 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSStatus
PlotIconRefInContext(
CGContextRef inContext,
const CGRect * inRect,
IconAlignmentType inAlign,
IconTransformType inTransform,
const RGBColor * inLabelColor,
PlotIconRefFlags inFlags,
IconRef inIconRef) ;
# 1195 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
PtInIconRef(
const Point * testPt,
const Rect * iconRect,
IconAlignmentType align,
IconServicesUsageFlags theIconServicesUsageFlags,
IconRef theIconRef) __attribute__((deprecated));
# 1226 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
RectInIconRef(
const Rect * testRect,
const Rect * iconRect,
IconAlignmentType align,
IconServicesUsageFlags iconServicesUsageFlags,
IconRef theIconRef) __attribute__((deprecated));
# 1256 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
IconRefToRgn(
RgnHandle theRgn,
const Rect * iconRect,
IconAlignmentType align,
IconServicesUsageFlags iconServicesUsageFlags,
IconRef theIconRef) __attribute__((deprecated));
# 1305 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
IconRefContainsCGPoint(
const CGPoint * testPt,
const CGRect * iconRect,
IconAlignmentType align,
IconServicesUsageFlags iconServicesUsageFlags,
IconRef theIconRef) ;
# 1352 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
IconRefIntersectsCGRect(
const CGRect * testRect,
const CGRect * iconRect,
IconAlignmentType align,
IconServicesUsageFlags iconServicesUsageFlags,
IconRef theIconRef) ;
# 1393 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern HIShapeRef
IconRefToHIShape(
const CGRect * iconRect,
IconAlignmentType align,
IconServicesUsageFlags iconServicesUsageFlags,
IconRef theIconRef) ;
# 1433 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
GetIconSizesFromIconRef(
IconSelectorValue iconSelectorInput,
IconSelectorValue * iconSelectorOutputPtr,
IconServicesUsageFlags iconServicesUsageFlags,
IconRef theIconRef) __attribute__((deprecated));
# 1460 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
IsIconRefMaskEmpty(IconRef iconRef) ;
# 1487 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern IconRef
GetIconRefVariant(
IconRef inIconRef,
OSType inVariant,
IconTransformType * outTransform) ;
# 1507 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
#pragma pack(pop)
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 1 3
# 36 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
#define __INTERNETCONFIG__
# 57 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
#pragma pack(push, 2)
enum {
icPrefNotFoundErr = -666,
icPermErr = -667,
icPrefDataErr = -668,
icInternalErr = -669,
icTruncatedErr = -670,
icNoMoreWritersErr = -671,
icNothingToOverrideErr = -672,
icNoURLErr = -673,
icConfigNotFoundErr = -674,
icConfigInappropriateErr = -675,
icProfileNotFoundErr = -676,
icTooManyProfilesErr = -677
};
enum {
kICComponentInterfaceVersion0 = 0x00000000,
kICComponentInterfaceVersion1 = 0x00010000,
kICComponentInterfaceVersion2 = 0x00020000,
kICComponentInterfaceVersion3 = 0x00030000,
kICComponentInterfaceVersion4 = 0x00040000,
kICComponentInterfaceVersion = kICComponentInterfaceVersion4
};
typedef struct OpaqueICInstance* ICInstance;
struct ICDirSpec {
short vRefNum;
long dirID;
};
typedef struct ICDirSpec ICDirSpec;
typedef ICDirSpec ICDirSpecArray[4];
typedef ICDirSpecArray * ICDirSpecArrayPtr;
typedef UInt32 ICAttr;
enum {
kICAttrLockedBit = 0,
kICAttrVolatileBit = 1
};
enum {
kICAttrNoChange = (UInt32)0xFFFFFFFF,
kICAttrLockedMask = 0x00000001,
kICAttrVolatileMask = 0x00000002
};
typedef UInt8 ICPerm;
enum {
icNoPerm = 0,
icReadOnlyPerm = 1,
icReadWritePerm = 2
};
typedef SInt32 ICProfileID;
typedef ICProfileID * ICProfileIDPtr;
enum {
kICNilProfileID = 0
};
enum {
kICNoUserInteractionBit = 0
};
enum {
kICNoUserInteractionMask = 0x00000001
};
enum {
kICFileType = 'ICAp',
kICCreator = 'ICAp'
};
enum {
kInternetEventClass = 'GURL',
kAEGetURL = 'GURL',
kAEFetchURL = 'FURL',
keyAEAttaching = 'Atch'
};
enum {
kICEditPreferenceEventClass = 'ICAp',
kICEditPreferenceEvent = 'ICAp',
keyICEditPreferenceDestination = 'dest'
};
enum {
kICComponentVersion = 0,
kICNumVersion = 1
};
struct ICFontRecord {
SInt16 size;
Style face;
char pad;
Str255 font;
};
typedef struct ICFontRecord ICFontRecord;
typedef ICFontRecord * ICFontRecordPtr;
typedef ICFontRecordPtr * ICFontRecordHandle;
struct ICCharTable {
unsigned char netToMac[256];
unsigned char macToNet[256];
};
typedef struct ICCharTable ICCharTable;
typedef ICCharTable * ICCharTablePtr;
typedef ICCharTablePtr * ICCharTableHandle;
struct ICAppSpec {
OSType fCreator;
Str63 name;
};
typedef struct ICAppSpec ICAppSpec;
typedef ICAppSpec * ICAppSpecPtr;
typedef ICAppSpecPtr * ICAppSpecHandle;
struct ICAppSpecList {
SInt16 numberOfItems;
ICAppSpec appSpecs[1];
};
typedef struct ICAppSpecList ICAppSpecList;
typedef ICAppSpecList * ICAppSpecListPtr;
typedef ICAppSpecListPtr * ICAppSpecListHandle;
struct ICFileSpec {
Str31 volName;
SInt32 volCreationDate;
FSSpec fss;
AliasRecord alias;
};
typedef struct ICFileSpec ICFileSpec;
typedef ICFileSpec * ICFileSpecPtr;
typedef ICFileSpecPtr * ICFileSpecHandle;
enum {
kICFileSpecHeaderSize = sizeof(ICFileSpec) - sizeof(AliasRecord)
};
typedef SInt32 ICMapEntryFlags;
typedef SInt16 ICFixedLength;
struct ICMapEntry {
SInt16 totalLength;
ICFixedLength fixedLength;
SInt16 version;
OSType fileType;
OSType fileCreator;
OSType postCreator;
ICMapEntryFlags flags;
Str255 extension;
Str255 creatorAppName;
Str255 postAppName;
Str255 MIMEType;
Str255 entryName;
};
typedef struct ICMapEntry ICMapEntry;
typedef ICMapEntry * ICMapEntryPtr;
typedef ICMapEntryPtr * ICMapEntryHandle;
enum {
kICMapFixedLength = 22
};
enum {
kICMapBinaryBit = 0,
kICMapResourceForkBit = 1,
kICMapDataForkBit = 2,
kICMapPostBit = 3,
kICMapNotIncomingBit = 4,
kICMapNotOutgoingBit = 5
};
enum {
kICMapBinaryMask = 0x00000001,
kICMapResourceForkMask = 0x00000002,
kICMapDataForkMask = 0x00000004,
kICMapPostMask = 0x00000008,
kICMapNotIncomingMask = 0x00000010,
kICMapNotOutgoingMask = 0x00000020
};
typedef SInt16 ICServiceEntryFlags;
struct ICServiceEntry {
Str255 name;
SInt16 port;
ICServiceEntryFlags flags;
};
typedef struct ICServiceEntry ICServiceEntry;
typedef ICServiceEntry * ICServiceEntryPtr;
typedef ICServiceEntryPtr * ICServiceEntryHandle;
enum {
kICServicesTCPBit = 0,
kICServicesUDPBit = 1
};
enum {
kICServicesTCPMask = 0x00000001,
kICServicesUDPMask = 0x00000002
};
struct ICServices {
SInt16 count;
ICServiceEntry services[1];
};
typedef struct ICServices ICServices;
typedef ICServices * ICServicesPtr;
typedef ICServicesPtr * ICServicesHandle;
#define kICReservedKey "\pkICReservedKey"
#define kICArchieAll "\pArchieAll"
#define kICArchiePreferred "\pArchiePreferred"
#define kICCharacterSet "\pCharacterSet"
#define kICDocumentFont "\pDocumentFont"
#define kICDownloadFolder "\pDownloadFolder"
#define kICEmail "\pEmail"
#define kICFTPHost "\pFTPHost"
#define kICFTPProxyAccount "\pFTPProxyAccount"
#define kICFTPProxyHost "\pFTPProxyHost"
#define kICFTPProxyPassword "\pFTPProxyPassword"
#define kICFTPProxyUser "\pFTPProxyUser"
#define kICFingerHost "\pFingerHost"
#define kICGopherHost "\pGopherHost"
#define kICGopherProxy "\pGopherProxy"
#define kICHTTPProxyHost "\pHTTPProxyHost"
#define kICHelper "\pHelper¥"
#define kICHelperDesc "\pHelperDesc¥"
#define kICHelperList "\pHelperList¥"
#define kICIRCHost "\pIRCHost"
#define kICInfoMacAll "\pInfoMacAll"
#define kICInfoMacPreferred "\pInfoMacPreferred"
#define kICLDAPSearchbase "\pLDAPSearchbase"
#define kICLDAPServer "\pLDAPServer"
#define kICListFont "\pListFont"
#define kICMacSearchHost "\pMacSearchHost"
#define kICMailAccount "\pMailAccount"
#define kICMailHeaders "\pMailHeaders"
#define kICMailPassword "\pMailPassword"
#define kICMapping "\pMapping"
#define kICNNTPHost "\pNNTPHost"
#define kICNTPHost "\pNTPHost"
#define kICNewMailDialog "\pNewMailDialog"
#define kICNewMailFlashIcon "\pNewMailFlashIcon"
#define kICNewMailPlaySound "\pNewMailPlaySound"
#define kICNewMailSoundName "\pNewMailSoundName"
#define kICNewsAuthPassword "\pNewsAuthPassword"
#define kICNewsAuthUsername "\pNewsAuthUsername"
#define kICNewsHeaders "\pNewsHeaders"
#define kICNoProxyDomains "\pNoProxyDomains"
#define kICOrganization "\pOrganization"
#define kICPhHost "\pPhHost"
#define kICPlan "\pPlan"
#define kICPrinterFont "\pPrinterFont"
#define kICQuotingString "\pQuotingString"
#define kICRealName "\pRealName"
#define kICRTSPProxyHost "\pRTSPProxyHost"
#define kICSMTPHost "\pSMTPHost"
#define kICScreenFont "\pScreenFont"
#define kICServices "\pServices"
#define kICSignature "\pSignature"
#define kICSnailMailAddress "\pSnailMailAddress"
#define kICSocksHost "\pSocksHost"
#define kICTelnetHost "\pTelnetHost"
#define kICUMichAll "\pUMichAll"
#define kICUMichPreferred "\pUMichPreferred"
#define kICUseFTPProxy "\pUseFTPProxy"
#define kICUseGopherProxy "\pUseGopherProxy"
#define kICUseHTTPProxy "\pUseHTTPProxy"
#define kICUsePassiveFTP "\pUsePassiveFTP"
#define kICUseRTSPProxy "\pUseRTSPProxy"
#define kICUseSocks "\pUseSocks"
#define kICWAISGateway "\pWAISGateway"
#define kICWWWHomePage "\pWWWHomePage"
#define kICWebBackgroundColour "\pWebBackgroundColour"
#define kICWebReadColor "\p646F6777¥WebReadColor"
#define kICWebSearchPagePrefs "\pWebSearchPagePrefs"
#define kICWebTextColor "\pWebTextColor"
#define kICWebUnderlineLinks "\p646F6777¥WebUnderlineLinks"
#define kICWebUnreadColor "\p646F6777¥WebUnreadColor"
#define kICWhoisHost "\pWhoisHost"
# 660 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICStart(
ICInstance * inst,
OSType signature) ;
# 681 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICStop(ICInstance inst) ;
# 700 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetVersion(
ICInstance inst,
long whichVersion,
UInt32 * version) ;
# 723 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetConfigName(
ICInstance inst,
Boolean longname,
Str255 name) ;
# 751 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetSeed(
ICInstance inst,
long * seed) ;
# 773 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetPerm(
ICInstance inst,
ICPerm * perm) ;
# 796 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICBegin(
ICInstance inst,
ICPerm perm) ;
# 822 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetPref(
ICInstance inst,
ConstStr255Param key,
ICAttr * attr,
void * buf,
long * size) ;
# 857 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSetPref(
ICInstance inst,
ConstStr255Param key,
ICAttr attr,
const void * buf,
long size) ;
# 890 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICFindPrefHandle(
ICInstance inst,
ConstStr255Param key,
ICAttr * attr,
Handle prefh) ;
# 918 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetPrefHandle(
ICInstance inst,
ConstStr255Param key,
ICAttr * attr,
Handle * prefh) ;
# 949 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSetPrefHandle(
ICInstance inst,
ConstStr255Param key,
ICAttr attr,
Handle prefh) ;
# 980 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICCountPref(
ICInstance inst,
long * count) ;
# 1001 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetIndPref(
ICInstance inst,
long index,
Str255 key) ;
# 1025 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICDeletePref(
ICInstance inst,
ConstStr255Param key) ;
# 1047 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICEnd(ICInstance inst) ;
# 1066 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetDefaultPref(
ICInstance inst,
ConstStr255Param key,
Handle prefH) ;
# 1089 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICEditPreferences(
ICInstance inst,
ConstStr255Param key) ;
# 1119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICLaunchURL(
ICInstance inst,
ConstStr255Param hint,
const void * data,
long len,
long * selStart,
long * selEnd) ;
# 1157 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICParseURL(
ICInstance inst,
ConstStr255Param hint,
const void * data,
long len,
long * selStart,
long * selEnd,
Handle url) ;
# 1196 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICCreateGURLEvent(
ICInstance inst,
OSType helperCreator,
Handle urlH,
AppleEvent * theEvent) ;
# 1219 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSendGURLEvent(
ICInstance inst,
AppleEvent * theEvent) ;
# 1245 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICMapFilename(
ICInstance inst,
ConstStr255Param filename,
ICMapEntry * entry) ;
# 1269 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICMapTypeCreator(
ICInstance inst,
OSType fType,
OSType fCreator,
ConstStr255Param filename,
ICMapEntry * entry) ;
# 1297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICMapEntriesFilename(
ICInstance inst,
Handle entries,
ConstStr255Param filename,
ICMapEntry * entry) ;
# 1323 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICMapEntriesTypeCreator(
ICInstance inst,
Handle entries,
OSType fType,
OSType fCreator,
ConstStr255Param filename,
ICMapEntry * entry) ;
# 1353 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICCountMapEntries(
ICInstance inst,
Handle entries,
long * count) ;
# 1376 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetIndMapEntry(
ICInstance inst,
Handle entries,
long index,
long * pos,
ICMapEntry * entry) ;
# 1405 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetMapEntry(
ICInstance inst,
Handle entries,
long pos,
ICMapEntry * entry) ;
# 1431 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSetMapEntry(
ICInstance inst,
Handle entries,
long pos,
const ICMapEntry * entry) ;
# 1459 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICDeleteMapEntry(
ICInstance inst,
Handle entries,
long pos) ;
# 1484 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICAddMapEntry(
ICInstance inst,
Handle entries,
const ICMapEntry * entry) ;
# 1509 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetCurrentProfile(
ICInstance inst,
ICProfileID * currentID) ;
# 1529 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSetCurrentProfile(
ICInstance inst,
ICProfileID newID) ;
# 1549 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICCountProfiles(
ICInstance inst,
long * count) ;
# 1569 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetIndProfile(
ICInstance inst,
long index,
ICProfileID * thisID) ;
# 1592 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetProfileName(
ICInstance inst,
ICProfileID thisID,
Str255 name) ;
# 1615 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSetProfileName(
ICInstance inst,
ICProfileID thisID,
ConstStr255Param name) ;
# 1637 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICAddProfile(
ICInstance inst,
ICProfileID prototypeID,
ICProfileID * newID) ;
# 1663 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICDeleteProfile(
ICInstance inst,
ICProfileID thisID) ;
# 1675 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
#pragma pack(pop)
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
#define __PROCESSES__
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
#pragma pack(push, 2)
enum {
kNoProcess = 0,
kSystemProcess = 1,
kCurrentProcess = 2
};
typedef UInt16 LaunchFlags;
enum {
launchContinue = 0x4000,
launchNoFileFlags = 0x0800,
launchUseMinimum = 0x0400,
launchDontSwitch = 0x0200,
launchAllow24Bit = 0x0100,
launchInhibitDaemon = 0x0080
};
struct AppParameters {
struct {
UInt16 what;
UInt32 message;
UInt32 when;
Point where;
UInt16 modifiers;
} theMsgEvent;
UInt32 eventRefCon;
UInt32 messageLength;
};
typedef struct AppParameters AppParameters;
typedef AppParameters * AppParametersPtr;
# 89 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
struct LaunchParamBlockRec {
UInt32 reserved1;
UInt16 reserved2;
UInt16 launchBlockID;
UInt32 launchEPBLength;
UInt16 launchFileFlags;
LaunchFlags launchControlFlags;
FSSpecPtr launchAppSpec;
ProcessSerialNumber launchProcessSN;
UInt32 launchPreferredSize;
UInt32 launchMinimumSize;
UInt32 launchAvailableSize;
AppParametersPtr launchAppParameters;
};
typedef struct LaunchParamBlockRec LaunchParamBlockRec;
typedef LaunchParamBlockRec * LaunchPBPtr;
enum {
extendedBlock = 0x4C43,
extendedBlockLen = sizeof(LaunchParamBlockRec) - 12
};
enum {
modeReserved = 0x01000000,
modeControlPanel = 0x00080000,
modeLaunchDontSwitch = 0x00040000,
modeDeskAccessory = 0x00020000,
modeMultiLaunch = 0x00010000,
modeNeedSuspendResume = 0x00004000,
modeCanBackground = 0x00001000,
modeDoesActivateOnFGSwitch = 0x00000800,
modeOnlyBackground = 0x00000400,
modeGetFrontClicks = 0x00000200,
modeGetAppDiedMsg = 0x00000100,
mode32BitCompatible = 0x00000080,
modeHighLevelEventAware = 0x00000040,
modeLocalAndRemoteHLEvents = 0x00000020,
modeStationeryAware = 0x00000010,
modeUseTextEditServices = 0x00000008,
modeDisplayManagerAware = 0x00000004
};
typedef UInt32 ProcessApplicationTransformState;
enum {
kProcessTransformToForegroundApplication = 1L
};
# 180 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
struct ProcessInfoRec {
UInt32 processInfoLength;
StringPtr processName;
ProcessSerialNumber processNumber;
UInt32 processType;
OSType processSignature;
UInt32 processMode;
Ptr processLocation;
UInt32 processSize;
UInt32 processFreeMem;
ProcessSerialNumber processLauncher;
UInt32 processLaunchDate;
UInt32 processActiveTime;
FSSpecPtr processAppSpec;
};
typedef struct ProcessInfoRec ProcessInfoRec;
typedef ProcessInfoRec * ProcessInfoRecPtr;
# 241 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
struct ProcessInfoExtendedRec {
UInt32 processInfoLength;
StringPtr processName;
ProcessSerialNumber processNumber;
UInt32 processType;
OSType processSignature;
UInt32 processMode;
Ptr processLocation;
UInt32 processSize;
UInt32 processFreeMem;
ProcessSerialNumber processLauncher;
UInt32 processLaunchDate;
UInt32 processActiveTime;
FSSpecPtr processAppSpec;
UInt32 processTempMemTotal;
UInt32 processPurgeableTempMemTotal;
};
typedef struct ProcessInfoExtendedRec ProcessInfoExtendedRec;
typedef ProcessInfoExtendedRec * ProcessInfoExtendedRecPtr;
struct SizeResourceRec {
UInt16 flags;
UInt32 preferredHeapSize;
UInt32 minimumHeapSize;
};
typedef struct SizeResourceRec SizeResourceRec;
typedef SizeResourceRec * SizeResourceRecPtr;
typedef SizeResourceRecPtr * SizeResourceRecHandle;
enum {
kProcessDictionaryIncludeAllInformationMask = (long)0xFFFFFFFF
};
# 292 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
enum {
kQuitBeforeNormalTimeMask = 1,
kQuitAtNormalTimeMask = 2,
kQuitBeforeFBAsQuitMask = 4,
kQuitBeforeShellQuitsMask = 8,
kQuitBeforeTerminatorAppQuitsMask = 16,
kQuitNeverMask = 32,
kQuitOptionsMask = 0x7F,
kQuitNotQuitDuringInstallMask = 0x0100,
kQuitNotQuitDuringLogoutMask = 0x0200
};
# 316 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
LaunchApplication(LaunchPBPtr LaunchParams) ;
# 404 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
#define MacGetCurrentProcess GetCurrentProcess
extern OSErr
GetCurrentProcess(ProcessSerialNumber * PSN) ;
# 421 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
GetFrontProcess(ProcessSerialNumber * PSN) ;
# 436 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
GetNextProcess(ProcessSerialNumber * PSN) ;
# 487 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
GetProcessInformation(
const ProcessSerialNumber * PSN,
ProcessInfoRec * info) ;
# 550 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern CFDictionaryRef
ProcessInformationCopyDictionary(
const ProcessSerialNumber * PSN,
UInt32 infoToReturn) ;
# 567 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
SetFrontProcess(const ProcessSerialNumber * PSN) ;
enum {
kSetFrontProcessFrontWindowOnly = (1 << 0)
};
# 618 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
SetFrontProcessWithOptions(
const ProcessSerialNumber * inProcess,
OptionBits inOptions) ;
# 635 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
WakeUpProcess(const ProcessSerialNumber * PSN) ;
# 650 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
SameProcess(
const ProcessSerialNumber * PSN1,
const ProcessSerialNumber * PSN2,
Boolean * result) ;
# 677 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
void ExitToShell() __attribute__ (( __noreturn__ ));
# 710 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
KillProcess(const ProcessSerialNumber * inProcess) ;
# 760 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
GetProcessBundleLocation(
const ProcessSerialNumber * psn,
FSRef * location) ;
# 798 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
CopyProcessName(
const ProcessSerialNumber * psn,
CFStringRef * name) ;
# 832 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
GetProcessPID(
const ProcessSerialNumber * psn,
pid_t * pid) ;
# 866 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
GetProcessForPID(
pid_t pid,
ProcessSerialNumber * psn) ;
# 898 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern Boolean
IsProcessVisible(const ProcessSerialNumber * psn) ;
# 930 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
ShowHideProcess(
const ProcessSerialNumber * psn,
Boolean visible) ;
# 970 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
TransformProcessType(
const ProcessSerialNumber * psn,
ProcessApplicationTransformState transformState) ;
enum {
initDev = 0,
hitDev = 1,
closeDev = 2,
nulDev = 3,
updateDev = 4,
activDev = 5,
deactivDev = 6,
keyEvtDev = 7,
macDev = 8,
undoDev = 9,
cutDev = 10,
copyDev = 11,
pasteDev = 12,
clearDev = 13,
cursorDev = 14
};
enum {
cdevGenErr = -1,
cdevMemErr = 0,
cdevResErr = 1,
cdevUnset = 3
};
#pragma pack(pop)
# 38 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
#define __PASTEBOARD__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 2 3
# 100 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
typedef struct OpaquePasteboardRef* PasteboardRef;
typedef void * PasteboardItemID;
enum {
badPasteboardSyncErr = -25130,
badPasteboardIndexErr = -25131,
badPasteboardItemErr = -25132,
badPasteboardFlavorErr = -25133,
duplicatePasteboardFlavorErr = -25134,
notPasteboardOwnerErr = -25135,
noPasteboardPromiseKeeperErr = -25136
};
# 122 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
typedef OptionBits PasteboardSyncFlags;
enum {
# 134 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
kPasteboardModified = (1 << 0),
kPasteboardClientIsOwner = (1 << 1)
};
# 184 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
#define kPasteboardTypeFileURLPromise CFSTR("com.apple.pasteboard.promised-file-url")
# 193 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
#define kPasteboardTypeFilePromiseContent CFSTR("com.apple.pasteboard.promised-file-content-type")
# 207 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
typedef OptionBits PasteboardFlavorFlags;
enum {
kPasteboardFlavorNoFlags = 0,
kPasteboardFlavorSenderOnly = (1 << 0),
kPasteboardFlavorSenderTranslated = (1 << 1),
kPasteboardFlavorNotSaved = (1 << 2),
# 248 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
kPasteboardFlavorRequestOnly = (1 << 3),
# 257 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
kPasteboardFlavorSystemTranslated = (1 << 8),
# 267 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
kPasteboardFlavorPromised = (1 << 9)
};
# 280 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
typedef OSType PasteboardStandardLocation;
enum {
kPasteboardStandardLocationTrash = 'trsh',
kPasteboardStandardLocationUnknown = 'unkn'
};
# 314 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern CFTypeID
PasteboardGetTypeID(void) ;
#define kPasteboardClipboard CFSTR("com.apple.pasteboard.clipboard")
#define kPasteboardFind CFSTR("com.apple.pasteboard.find")
#define kPasteboardUniqueName (CFStringRef)NULL
# 365 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardCreate(
CFStringRef inName,
PasteboardRef * outPasteboard) ;
# 398 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern PasteboardSyncFlags
PasteboardSynchronize(PasteboardRef inPasteboard) ;
# 429 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardClear(PasteboardRef inPasteboard) ;
# 461 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardCopyName(
PasteboardRef inPasteboard,
CFStringRef * outName) ;
# 493 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardGetItemCount(
PasteboardRef inPasteboard,
ItemCount * outItemCount) ;
# 528 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardGetItemIdentifier(
PasteboardRef inPasteboard,
CFIndex inIndex,
PasteboardItemID * outItem) ;
# 566 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardCopyItemFlavors(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFArrayRef * outFlavorTypes) ;
# 607 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardGetItemFlavorFlags(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFStringRef inFlavorType,
PasteboardFlavorFlags * outFlags) ;
# 648 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardCopyItemFlavorData(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFStringRef inFlavorType,
CFDataRef * outData) ;
#define kPasteboardPromisedData (CFDataRef)NULL
# 708 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardPutItemFlavor(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFStringRef inFlavorType,
CFDataRef inData,
PasteboardFlavorFlags inFlags) ;
# 744 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardCopyPasteLocation(
PasteboardRef inPasteboard,
CFURLRef * outPasteLocation) ;
# 779 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardSetPasteLocation(
PasteboardRef inPasteboard,
CFURLRef inPasteLocation) ;
# 810 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
typedef OSStatus ( * PasteboardPromiseKeeperProcPtr)(PasteboardRef pasteboard, PasteboardItemID item, CFStringRef flavorType, void *context);
# 842 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardSetPromiseKeeper(
PasteboardRef inPasteboard,
PasteboardPromiseKeeperProcPtr inPromiseKeeper,
void * inContext) ;
#define kPasteboardResolveAllPromises (PasteboardRef)NULL
# 878 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardResolvePromises(PasteboardRef inPasteboard) ;
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
#define __TRANSLATIONSERVICES__
# 119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
typedef struct OpaqueTranslationRef* TranslationRef;
enum {
badTranslationRefErr = -3031
};
# 142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
typedef OptionBits TranslationFlags;
enum {
kTranslationDataTranslation = (1 << 0),
kTranslationFileTranslation = (1 << 1)
};
# 175 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern CFTypeID
TranslationGetTypeID(void) ;
# 217 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationCreate(
CFStringRef inSourceType,
CFStringRef inDestinationType,
TranslationFlags inTranslationFlags,
TranslationRef * outTranslation) ;
# 271 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationCreateWithSourceArray(
CFArrayRef inSourceTypes,
TranslationFlags inTranslationFlags,
CFArrayRef * outDestinationTypes,
CFDictionaryRef * outTranslations) ;
# 312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationPerformForData(
TranslationRef inTranslation,
CFDataRef inSourceData,
CFDataRef * outDestinationData) ;
# 370 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationPerformForFile(
TranslationRef inTranslation,
const FSRef * inSourceFile,
const FSRef * inDestinationDirectory,
CFStringRef inDestinationName,
FSRef * outTranslatedFile) ;
# 429 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationPerformForURL(
TranslationRef inTranslation,
CFURLRef inSourceURL,
CFURLRef inDestinationURL,
CFURLRef * outTranslatedURL) ;
# 462 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationCopySourceType(
TranslationRef inTranslation,
CFStringRef * outSourceType) ;
# 494 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationCopyDestinationType(
TranslationRef inTranslation,
CFStringRef * outDestinationType) ;
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationGetTranslationFlags(
TranslationRef inTranslation,
TranslationFlags * outTranslationFlags) ;
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 3
#define __ACCESSIBILITY__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXError.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXError.h" 3
#define __AXERROR__
enum {
kAXErrorSuccess = 0,
kAXErrorFailure = -25200,
kAXErrorIllegalArgument = -25201,
kAXErrorInvalidUIElement = -25202,
kAXErrorInvalidUIElementObserver = -25203,
kAXErrorCannotComplete = -25204,
kAXErrorAttributeUnsupported = -25205,
kAXErrorActionUnsupported = -25206,
kAXErrorNotificationUnsupported = -25207,
kAXErrorNotImplemented = -25208,
kAXErrorNotificationAlreadyRegistered = -25209,
kAXErrorNotificationNotRegistered = -25210,
kAXErrorAPIDisabled = -25211,
kAXErrorNoValue = -25212,
kAXErrorParameterizedAttributeUnsupported = -25213,
kAXErrorNotEnoughPrecision = -25214
};
typedef SInt32 AXError;
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 3
#define __AXCONSTANTS__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXRoleConstants.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXRoleConstants.h" 3
#define __AXROLECONSTANTS__
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXRoleConstants.h" 3
#define kAXApplicationRole CFSTR("AXApplication")
#define kAXSystemWideRole CFSTR("AXSystemWide")
#define kAXWindowRole CFSTR("AXWindow")
#define kAXSheetRole CFSTR("AXSheet")
#define kAXDrawerRole CFSTR("AXDrawer")
#define kAXGrowAreaRole CFSTR("AXGrowArea")
#define kAXImageRole CFSTR("AXImage")
#define kAXUnknownRole CFSTR("AXUnknown")
#define kAXButtonRole CFSTR("AXButton")
#define kAXRadioButtonRole CFSTR("AXRadioButton")
#define kAXCheckBoxRole CFSTR("AXCheckBox")
#define kAXPopUpButtonRole CFSTR("AXPopUpButton")
#define kAXMenuButtonRole CFSTR("AXMenuButton")
#define kAXTabGroupRole CFSTR("AXTabGroup")
#define kAXTableRole CFSTR("AXTable")
#define kAXColumnRole CFSTR("AXColumn")
#define kAXRowRole CFSTR("AXRow")
# 119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXRoleConstants.h" 3
#define kAXOutlineRole CFSTR("AXOutline")
# 162 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXRoleConstants.h" 3
#define kAXBrowserRole CFSTR("AXBrowser")
#define kAXScrollAreaRole CFSTR("AXScrollArea")
#define kAXScrollBarRole CFSTR("AXScrollBar")
#define kAXRadioGroupRole CFSTR("AXRadioGroup")
#define kAXListRole CFSTR("AXList")
#define kAXGroupRole CFSTR("AXGroup")
#define kAXValueIndicatorRole CFSTR("AXValueIndicator")
#define kAXComboBoxRole CFSTR("AXComboBox")
#define kAXSliderRole CFSTR("AXSlider")
#define kAXIncrementorRole CFSTR("AXIncrementor")
#define kAXBusyIndicatorRole CFSTR("AXBusyIndicator")
#define kAXProgressIndicatorRole CFSTR("AXProgressIndicator")
#define kAXRelevanceIndicatorRole CFSTR("AXRelevanceIndicator")
#define kAXToolbarRole CFSTR("AXToolbar")
#define kAXDisclosureTriangleRole CFSTR("AXDisclosureTriangle")
#define kAXTextFieldRole CFSTR("AXTextField")
#define kAXTextAreaRole CFSTR("AXTextArea")
#define kAXStaticTextRole CFSTR("AXStaticText")
#define kAXMenuBarRole CFSTR("AXMenuBar")
#define kAXMenuBarItemRole CFSTR("AXMenuBarItem")
#define kAXMenuRole CFSTR("AXMenu")
#define kAXMenuItemRole CFSTR("AXMenuItem")
#define kAXSplitGroupRole CFSTR("AXSplitGroup")
#define kAXSplitterRole CFSTR("AXSplitter")
#define kAXColorWellRole CFSTR("AXColorWell")
#define kAXTimeFieldRole CFSTR("AXTimeField")
#define kAXDateFieldRole CFSTR("AXDateField")
#define kAXHelpTagRole CFSTR("AXHelpTag")
#define kAXMatteRole CFSTR("AXMatteRole")
#define kAXDockItemRole CFSTR("AXDockItem")
#define kAXRulerRole CFSTR("AXRuler")
#define kAXRulerMarkerRole CFSTR("AXRulerMarker")
#define kAXGridRole CFSTR("AXGrid")
#define kAXCloseButtonSubrole CFSTR("AXCloseButton")
#define kAXMinimizeButtonSubrole CFSTR("AXMinimizeButton")
#define kAXZoomButtonSubrole CFSTR("AXZoomButton")
#define kAXToolbarButtonSubrole CFSTR("AXToolbarButton")
#define kAXSecureTextFieldSubrole CFSTR("AXSecureTextField")
#define kAXTableRowSubrole CFSTR("AXTableRow")
#define kAXOutlineRowSubrole CFSTR("AXOutlineRow")
#define kAXUnknownSubrole CFSTR("AXUnknown")
#define kAXStandardWindowSubrole CFSTR("AXStandardWindow")
#define kAXDialogSubrole CFSTR("AXDialog")
#define kAXSystemDialogSubrole CFSTR("AXSystemDialog")
#define kAXFloatingWindowSubrole CFSTR("AXFloatingWindow")
#define kAXSystemFloatingWindowSubrole CFSTR("AXSystemFloatingWindow")
#define kAXIncrementArrowSubrole CFSTR("AXIncrementArrow")
#define kAXDecrementArrowSubrole CFSTR("AXDecrementArrow")
#define kAXIncrementPageSubrole CFSTR("AXIncrementPage")
#define kAXDecrementPageSubrole CFSTR("AXDecrementPage")
#define kAXSortButtonSubrole CFSTR("AXSortButton")
#define kAXSearchFieldSubrole CFSTR("AXSearchField")
#define kAXTimelineSubrole CFSTR("AXTimeline")
#define kAXApplicationDockItemSubrole CFSTR("AXApplicationDockItem")
#define kAXDocumentDockItemSubrole CFSTR("AXDocumentDockItem")
#define kAXFolderDockItemSubrole CFSTR("AXFolderDockItem")
#define kAXMinimizedWindowDockItemSubrole CFSTR("AXMinimizedWindowDockItem")
#define kAXURLDockItemSubrole CFSTR("AXURLDockItem")
#define kAXDockExtraDockItemSubrole CFSTR("AXDockExtraDockItem")
#define kAXTrashDockItemSubrole CFSTR("AXTrashDockItem")
#define kAXProcessSwitcherListSubrole CFSTR("AXProcessSwitcherList")
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define __AXATTRIBUTECONSTANTS__
# 175 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXRoleAttribute CFSTR("AXRole")
# 203 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSubroleAttribute CFSTR("AXSubrole")
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXRoleDescriptionAttribute CFSTR("AXRoleDescription")
# 244 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXHelpAttribute CFSTR("AXHelp")
# 260 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXTitleAttribute CFSTR("AXTitle")
# 286 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXValueAttribute CFSTR("AXValue")
# 307 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXValueDescriptionAttribute CFSTR("AXValueDescription")
# 325 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMinValueAttribute CFSTR("AXMinValue")
# 343 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMaxValueAttribute CFSTR("AXMaxValue")
# 360 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXValueIncrementAttribute CFSTR("AXValueIncrement")
# 377 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXAllowedValuesAttribute CFSTR("AXAllowedValues")
# 392 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXEnabledAttribute CFSTR("AXEnabled")
# 411 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXFocusedAttribute CFSTR("AXFocused")
# 429 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXParentAttribute CFSTR("AXParent")
# 450 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXChildrenAttribute CFSTR("AXChildren")
# 470 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSelectedChildrenAttribute CFSTR("AXSelectedChildren")
# 487 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXVisibleChildrenAttribute CFSTR("AXVisibleChildren")
# 505 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXWindowAttribute CFSTR("AXWindow")
# 523 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXTopLevelUIElementAttribute CFSTR("AXTopLevelUIElement")
# 543 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXPositionAttribute CFSTR("AXPosition")
# 559 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSizeAttribute CFSTR("AXSize")
# 577 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXOrientationAttribute CFSTR("AXOrientation")
# 597 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXDescriptionAttribute CFSTR("AXDescription")
#define kAXDescription CFSTR("AXDescription")
# 612 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSelectedTextAttribute CFSTR("AXSelectedText")
# 627 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSelectedTextRangeAttribute CFSTR("AXSelectedTextRange")
# 641 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSelectedTextRangesAttribute CFSTR("AXSelectedTextRanges")
# 658 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXVisibleCharacterRangeAttribute CFSTR("AXVisibleCharacterRange")
# 672 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXNumberOfCharactersAttribute CFSTR("AXNumberOfCharacters")
# 684 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSharedTextUIElementsAttribute CFSTR("AXSharedTextUIElements")
# 696 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSharedCharacterRangeAttribute CFSTR("AXSharedCharacterRange")
#define kAXInsertionPointLineNumberAttribute CFSTR("AXInsertionPointLineNumber")
# 714 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMainAttribute CFSTR("AXMain")
# 728 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMinimizedAttribute CFSTR("AXMinimized")
# 743 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXCloseButtonAttribute CFSTR("AXCloseButton")
# 758 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXZoomButtonAttribute CFSTR("AXZoomButton")
# 773 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMinimizeButtonAttribute CFSTR("AXMinimizeButton")
# 788 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXToolbarButtonAttribute CFSTR("AXToolbarButton")
# 803 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXProxyAttribute CFSTR("AXProxy")
# 818 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXGrowAreaAttribute CFSTR("AXGrowArea")
# 832 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXModalAttribute CFSTR("AXModal")
# 847 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXDefaultButtonAttribute CFSTR("AXDefaultButton")
# 862 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXCancelButtonAttribute CFSTR("AXCancelButton")
#define kAXMenuItemCmdCharAttribute CFSTR("AXMenuItemCmdChar")
#define kAXMenuItemCmdVirtualKeyAttribute CFSTR("AXMenuItemCmdVirtualKey")
#define kAXMenuItemCmdGlyphAttribute CFSTR("AXMenuItemCmdGlyph")
#define kAXMenuItemCmdModifiersAttribute CFSTR("AXMenuItemCmdModifiers")
#define kAXMenuItemMarkCharAttribute CFSTR("AXMenuItemMarkChar")
#define kAXMenuItemPrimaryUIElementAttribute CFSTR("AXMenuItemPrimaryUIElement")
#define kAXMenuBarAttribute CFSTR("AXMenuBar")
#define kAXWindowsAttribute CFSTR("AXWindows")
#define kAXFrontmostAttribute CFSTR("AXFrontmost")
#define kAXHiddenAttribute CFSTR("AXHidden")
#define kAXMainWindowAttribute CFSTR("AXMainWindow")
#define kAXFocusedWindowAttribute CFSTR("AXFocusedWindow")
#define kAXFocusedUIElementAttribute CFSTR("AXFocusedUIElement")
# 897 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXHeaderAttribute CFSTR("AXHeader")
#define kAXEditedAttribute CFSTR("AXEdited")
#define kAXValueWrapsAttribute CFSTR("AXValueWraps")
#define kAXTabsAttribute CFSTR("AXTabs")
#define kAXTitleUIElementAttribute CFSTR("AXTitleUIElement")
#define kAXHorizontalScrollBarAttribute CFSTR("AXHorizontalScrollBar")
#define kAXVerticalScrollBarAttribute CFSTR("AXVerticalScrollBar")
#define kAXOverflowButtonAttribute CFSTR("AXOverflowButton")
#define kAXFilenameAttribute CFSTR("AXFilename")
#define kAXExpandedAttribute CFSTR("AXExpanded")
#define kAXSelectedAttribute CFSTR("AXSelected")
#define kAXSplittersAttribute CFSTR("AXSplitters")
#define kAXNextContentsAttribute CFSTR("AXNextContents")
#define kAXDocumentAttribute CFSTR("AXDocument")
#define kAXDecrementButtonAttribute CFSTR("AXDecrementButton")
#define kAXIncrementButtonAttribute CFSTR("AXIncrementButton")
#define kAXPreviousContentsAttribute CFSTR("AXPreviousContents")
# 932 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXContentsAttribute CFSTR("AXContents")
# 947 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXIncrementorAttribute CFSTR("AXIncrementor")
# 962 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXHourFieldAttribute CFSTR("AXHourField")
# 977 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMinuteFieldAttribute CFSTR("AXMinuteField")
# 992 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSecondFieldAttribute CFSTR("AXSecondField")
# 1007 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXAMPMFieldAttribute CFSTR("AXAMPMField")
# 1022 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXDayFieldAttribute CFSTR("AXDayField")
# 1037 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMonthFieldAttribute CFSTR("AXMonthField")
# 1052 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXYearFieldAttribute CFSTR("AXYearField")
#define kAXColumnTitleAttribute CFSTR("AXColumnTitles")
# 1070 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXURLAttribute CFSTR("AXURL")
#define kAXLabelUIElementsAttribute CFSTR("AXLabelUIElements")
#define kAXLabelValueAttribute CFSTR("AXLabelValue")
#define kAXShownMenuUIElementAttribute CFSTR("AXShownMenuUIElement")
#define kAXServesAsTitleForUIElementsAttribute CFSTR("AXServesAsTitleForUIElements")
#define kAXLinkedUIElementsAttribute CFSTR("AXLinkedUIElements")
#define kAXRowsAttribute CFSTR("AXRows")
#define kAXVisibleRowsAttribute CFSTR("AXVisibleRows")
#define kAXSelectedRowsAttribute CFSTR("AXSelectedRows")
#define kAXColumnsAttribute CFSTR("AXColumns")
# 1100 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXVisibleColumnsAttribute CFSTR("AXVisibleColumns")
#define kAXSelectedColumnsAttribute CFSTR("AXSelectedColumns")
#define kAXSortDirectionAttribute CFSTR("AXSortDirection")
#define kAXColumnHeaderUIElementsAttribute CFSTR("AXColumnHeaderUIElements")
#define kAXIndexAttribute CFSTR("AXIndex")
#define kAXDisclosingAttribute CFSTR("AXDisclosing")
#define kAXDisclosedRowsAttribute CFSTR("AXDisclosedRows")
#define kAXDisclosedByRowAttribute CFSTR("AXDisclosedByRow")
#define kAXDisclosureLevelAttribute CFSTR("AXDisclosureLevel")
#define kAXMatteHoleAttribute CFSTR("AXMatteHole")
#define kAXMatteContentUIElementAttribute CFSTR("AXMatteContentUIElement")
#define kAXMarkerUIElementsAttribute CFSTR("AXMarkerUIElements")
#define kAXUnitsAttribute CFSTR("AXUnits")
#define kAXUnitDescriptionAttribute CFSTR("AXUnitDescription")
#define kAXMarkerTypeAttribute CFSTR("AXMarkerType")
#define kAXMarkerTypeDescriptionAttribute CFSTR("AXMarkerTypeDescription")
#define kAXIsApplicationRunningAttribute CFSTR("AXIsApplicationRunning")
#define kAXSearchButtonAttribute CFSTR("AXSearchButton")
#define kAXClearButtonAttribute CFSTR("AXClearButton")
#define kAXFocusedApplicationAttribute CFSTR("AXFocusedApplication")
#define kAXRowCountAttribute CFSTR("AXRowCount")
#define kAXColumnCountAttribute CFSTR("AXColumnCount")
#define kAXOrderedByRowAttribute CFSTR("AXOrderedByRow")
#define kAXTextAttribute CFSTR("AXText")
#define kAXVisibleTextAttribute CFSTR("AXVisibleText")
#define kAXIsEditableAttribute CFSTR("AXIsEditable")
#define kAXColumnTitlesAttribute CFSTR("AXColumnTitles")
#define kAXLineForIndexParameterizedAttribute CFSTR("AXLineForIndex")
#define kAXRangeForLineParameterizedAttribute CFSTR("AXRangeForLine")
#define kAXStringForRangeParameterizedAttribute CFSTR("AXStringForRange")
#define kAXRangeForPositionParameterizedAttribute CFSTR("AXRangeForPosition")
#define kAXRangeForIndexParameterizedAttribute CFSTR("AXRangeForIndex")
#define kAXBoundsForRangeParameterizedAttribute CFSTR("AXBoundsForRange")
#define kAXRTFForRangeParameterizedAttribute CFSTR("AXRTFForRange")
#define kAXAttributedStringForRangeParameterizedAttribute CFSTR("AXAttributedStringForRange")
#define kAXStyleRangeForIndexParameterizedAttribute CFSTR("AXStyleRangeForIndex")
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXActionConstants.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXActionConstants.h" 3
#define __AXACTIONCONSTANTS__
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXActionConstants.h" 3
#define kAXPressAction CFSTR("AXPress")
#define kAXIncrementAction CFSTR("AXIncrement")
#define kAXDecrementAction CFSTR("AXDecrement")
#define kAXConfirmAction CFSTR("AXConfirm")
#define kAXCancelAction CFSTR("AXCancel")
#define kAXRaiseAction CFSTR("AXRaise")
#define kAXShowMenuAction CFSTR("AXShowMenu")
#define kAXPickAction CFSTR("AXPick")
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXNotificationConstants.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXNotificationConstants.h" 3
#define __AXNOTIFICATIONCONSTANTS__
#define kAXMainWindowChangedNotification CFSTR("AXMainWindowChanged")
#define kAXFocusedWindowChangedNotification CFSTR("AXFocusedWindowChanged")
#define kAXFocusedUIElementChangedNotification CFSTR("AXFocusedUIElementChanged")
#define kAXApplicationActivatedNotification CFSTR("AXApplicationActivated")
#define kAXApplicationDeactivatedNotification CFSTR("AXApplicationDeactivated")
#define kAXApplicationHiddenNotification CFSTR("AXApplicationHidden")
#define kAXApplicationShownNotification CFSTR("AXApplicationShown")
#define kAXWindowCreatedNotification CFSTR("AXWindowCreated")
#define kAXWindowMovedNotification CFSTR("AXWindowMoved")
#define kAXWindowResizedNotification CFSTR("AXWindowResized")
#define kAXWindowMiniaturizedNotification CFSTR("AXWindowMiniaturized")
#define kAXWindowDeminiaturizedNotification CFSTR("AXWindowDeminiaturized")
#define kAXDrawerCreatedNotification CFSTR("AXDrawerCreated")
#define kAXSheetCreatedNotification CFSTR("AXSheetCreated")
#define kAXHelpTagCreatedNotification CFSTR("AXHelpTagCreated")
#define kAXValueChangedNotification CFSTR("AXValueChanged")
#define kAXUIElementDestroyedNotification CFSTR("AXUIElementDestroyed")
#define kAXMenuOpenedNotification CFSTR("AXMenuOpened")
#define kAXMenuClosedNotification CFSTR("AXMenuClosed")
#define kAXMenuItemSelectedNotification CFSTR("AXMenuItemSelected")
#define kAXRowCountChangedNotification CFSTR("AXRowCountChanged")
#define kAXSelectedChildrenChangedNotification CFSTR("AXSelectedChildrenChanged")
#define kAXResizedNotification CFSTR("AXResized")
#define kAXMovedNotification CFSTR("AXMoved")
#define kAXCreatedNotification CFSTR("AXCreated")
#define kAXSelectedRowsChangedNotification CFSTR("AXSelectedRowsChanged")
#define kAXSelectedColumnsChangedNotification CFSTR("AXSelectedColumnsChanged")
#define kAXSelectedTextChangedNotification CFSTR("AXSelectedTextChanged")
#define kAXTitleChangedNotification CFSTR("AXTitleChangedNotification")
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValueConstants.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValueConstants.h" 3
#define __AXVALUECONSTANTS__
#define kAXHorizontalOrientationValue CFSTR("AXHorizontalOrientation")
#define kAXVerticalOrientationValue CFSTR("AXVerticalOrientation")
#define kAXUnknownOrientationValue CFSTR("AXUnknownOrientation")
#define kAXAscendingSortDirectionValue CFSTR("AXAscendingSortDirection")
#define kAXDescendingSortDirectionValue CFSTR("AXDescendingSortDirection")
#define kAXUnknownSortDirectionValue CFSTR("AXUnknownSortDirection")
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 2 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h" 3
#define __AXUIELEMENT__
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 1 3
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h" 2 3
extern Boolean AXAPIEnabled ();
extern Boolean AXIsProcessTrusted () ;
extern AXError AXMakeProcessTrusted (CFStringRef executablePath) ;
typedef const struct __AXUIElement *AXUIElementRef;
enum {
kAXCopyMultipleAttributeOptionStopOnError = 0x1
};
typedef UInt32 AXCopyMultipleAttributeOptions;
extern CFTypeID AXUIElementGetTypeID (void);
extern AXError AXUIElementCopyAttributeNames (AXUIElementRef element, CFArrayRef *names);
extern AXError AXUIElementCopyAttributeValue (AXUIElementRef element, CFStringRef attribute, CFTypeRef *value);
extern AXError AXUIElementGetAttributeValueCount (AXUIElementRef element, CFStringRef attribute, CFIndex *count);
extern AXError AXUIElementCopyAttributeValues (AXUIElementRef element, CFStringRef attribute, CFIndex index, CFIndex maxValues, CFArrayRef *values);
extern AXError AXUIElementIsAttributeSettable (AXUIElementRef element, CFStringRef attribute, Boolean *settable);
extern AXError AXUIElementSetAttributeValue (AXUIElementRef element, CFStringRef attribute, CFTypeRef value);
extern AXError AXUIElementCopyMultipleAttributeValues (AXUIElementRef element, CFArrayRef attributes, AXCopyMultipleAttributeOptions options, CFArrayRef *values) ;
extern AXError AXUIElementCopyParameterizedAttributeNames (AXUIElementRef element, CFArrayRef *names) ;
extern AXError AXUIElementCopyParameterizedAttributeValue (AXUIElementRef element, CFStringRef parameterizedAttribute, CFTypeRef parameter, CFTypeRef *result) ;
extern AXError AXUIElementCopyActionNames (AXUIElementRef element, CFArrayRef *names);
extern AXError AXUIElementCopyActionDescription (AXUIElementRef element, CFStringRef action, CFStringRef *description);
extern AXError AXUIElementPerformAction (AXUIElementRef element, CFStringRef action);
extern AXError AXUIElementCopyElementAtPosition (AXUIElementRef application, float x,float y, AXUIElementRef *element);
extern AXUIElementRef AXUIElementCreateApplication (pid_t pid);
extern AXUIElementRef AXUIElementCreateSystemWide (void);
extern AXError AXUIElementGetPid (AXUIElementRef element, pid_t *pid);
extern AXError AXUIElementSetMessagingTimeout (AXUIElementRef element, float timeoutInSeconds) ;
extern AXError AXUIElementPostKeyboardEvent (AXUIElementRef application, CGCharCode keyChar, CGKeyCode virtualKey, Boolean keyDown);
typedef struct __AXObserver *AXObserverRef;
typedef void (*AXObserverCallback)(AXObserverRef observer, AXUIElementRef element, CFStringRef notification, void *refcon);
CFTypeID AXObserverGetTypeID (void);
extern AXError AXObserverCreate (pid_t application, AXObserverCallback callback, AXObserverRef *outObserver);
extern AXError AXObserverAddNotification (AXObserverRef observer, AXUIElementRef element, CFStringRef notification, void *refcon);
extern AXError AXObserverRemoveNotification (AXObserverRef observer, AXUIElementRef element, CFStringRef notification);
extern CFRunLoopSourceRef AXObserverGetRunLoopSource (AXObserverRef observer);
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValue.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValue.h" 3
#define __AXVALUE__
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValue.h" 3
typedef enum {
kAXValueCGPointType = 1,
kAXValueCGSizeType = 2,
kAXValueCGRectType = 3,
kAXValueCFRangeType = 4,
kAXValueAXErrorType = 5,
kAXValueIllegalType = 0
} AXValueType;
typedef const struct __AXValue *AXValueRef;
extern CFTypeID AXValueGetTypeID() ;
extern AXValueRef AXValueCreate (AXValueType theType, const void *valuePtr);
extern AXValueType AXValueGetType(AXValueRef value);
extern Boolean AXValueGetValue(AXValueRef value, AXValueType theType, void *valuePtr);
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXTextAttributedString.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXTextAttributedString.h" 3
#define AXTEXTATTRIBUTEDSTRING_H
extern CFStringRef kAXFontTextAttribute;
extern CFStringRef kAXForegroundColorTextAttribute;
extern CFStringRef kAXBackgroundColorTextAttribute;
extern CFStringRef kAXUnderlineColorTextAttribute;
extern CFStringRef kAXStrikethroughColorTextAttribute;
extern CFStringRef kAXUnderlineTextAttribute;
extern CFStringRef kAXSuperscriptTextAttribute;
extern CFStringRef kAXStrikethroughTextAttribute;
extern CFStringRef kAXShadowTextAttribute;
extern CFStringRef kAXAttachmentTextAttribute;
extern CFStringRef kAXLinkTextAttribute;
extern CFStringRef kAXNaturalLanguageTextAttribute;
extern CFStringRef kAXReplacementStringTextAttribute;
extern CFStringRef kAXMisspelledTextAttribute;
extern CFStringRef kAXFontNameKey;
extern CFStringRef kAXFontFamilyKey;
extern CFStringRef kAXVisibleNameKey;
extern CFStringRef kAXFontSizeKey;
enum {
kAXUnderlineStyleNone = 0x0,
kAXUnderlineStyleSingle = 0x1,
kAXUnderlineStyleThick = 0x2,
kAXUnderlineStyleDouble = 0x9
};
typedef UInt32 AXUnderlineStyle;
extern CFStringRef kAXForegoundColorTextAttribute;
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 2 3
# 50 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h" 3
#define __UNIVERSALACCESS__
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h" 3
typedef UInt32 UAZoomChangeFocusType;
enum {
kUAZoomFocusTypeOther = 0,
kUAZoomFocusTypeInsertionPoint = 1
};
# 90 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h" 3
extern Boolean
UAZoomEnabled(void) ;
# 132 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h" 3
extern OSStatus
UAZoomChangeFocus(
const CGRect * inRect,
const CGRect * inHighlightRect,
UAZoomChangeFocusType inType) ;
# 53 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 3
#define __PRINTCORE__
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitions.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitions.h" 3
#define __PMDEFINITIONS__
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitions.h" 3
#pragma options align=mac68k
typedef const void * PMObject;
typedef struct OpaquePMPrintSettings* PMPrintSettings;
typedef struct OpaquePMPageFormat* PMPageFormat;
typedef struct OpaquePMPrintSession* PMPrintSession;
typedef struct OpaquePMPrinter* PMPrinter;
typedef struct OpaquePMServer* PMServer;
typedef struct OpaquePMPreset* PMPreset;
typedef struct OpaquePMPaper* PMPaper;
enum {
kPMCancel = 0x0080
};
#define kPMNoData NULL
#define kPMDontWantSize NULL
#define kPMDontWantData NULL
#define kPMDontWantBoolean NULL
#define kPMNoReference NULL
#define kPMDuplexDefault kPMDuplexNone
#define kPMNoPrintSettings ((PMPrintSettings)NULL)
#define kPMNoPageFormat ((PMPageFormat)NULL)
#define kPMServerLocal ((PMServer)NULL)
typedef UInt16 PMDestinationType;
enum {
kPMDestinationInvalid = 0,
kPMDestinationPrinter = 1,
kPMDestinationFile = 2,
kPMDestinationFax = 3,
kPMDestinationPreview = 4,
kPMDestinationProcessPDF = 5
};
#define kPMDestinationTypeDefault kPMDestinationPrinter
typedef UInt16 PMOrientation;
enum {
kPMPortrait = 1,
kPMLandscape = 2,
kPMReversePortrait = 3,
kPMReverseLandscape = 4
};
typedef UInt16 PMPrinterState;
enum {
kPMPrinterIdle = 3,
kPMPrinterProcessing = 4,
kPMPrinterStopped = 5
};
typedef UInt32 PMColorSpaceModel;
enum {
kPMUnknownColorSpaceModel = 0,
kPMGrayColorSpaceModel = 1,
kPMRGBColorSpaceModel = 2,
kPMCMYKColorSpaceModel = 3,
kPMDevNColorSpaceModel = 4
};
#define kPMColorSpaceModelCount 4
typedef UInt32 PMQualityMode;
enum {
kPMQualityLowest = 0x0000,
kPMQualityInkSaver = 0x0001,
kPMQualityDraft = 0x0004,
kPMQualityNormal = 0x0008,
kPMQualityPhoto = 0x000B,
kPMQualityBest = 0x000D,
kPMQualityHighest = 0x000F
};
typedef UInt32 PMPaperType;
enum {
kPMPaperTypeUnknown = 0x0000,
kPMPaperTypePlain = 0x0001,
kPMPaperTypeCoated = 0x0002,
kPMPaperTypePremium = 0x0003,
kPMPaperTypeGlossy = 0x0004,
kPMPaperTypeTransparency = 0x0005,
kPMPaperTypeTShirt = 0x0006
};
typedef UInt16 PMScalingAlignment;
enum {
kPMScalingPinTopLeft = 1,
kPMScalingPinTopRight = 2,
kPMScalingPinBottomLeft = 3,
kPMScalingPinBottomRight = 4,
kPMScalingCenterOnPaper = 5,
kPMScalingCenterOnImgArea = 6
};
typedef UInt32 PMDuplexMode;
enum {
kPMDuplexNone = 0x0001,
kPMDuplexNoTumble = 0x0002,
kPMDuplexTumble = 0x0003,
kPMSimplexTumble = 0x0004
};
typedef UInt16 PMLayoutDirection;
enum {
kPMLayoutLeftRightTopBottom = 1,
kPMLayoutLeftRightBottomTop = 2,
kPMLayoutRightLeftTopBottom = 3,
kPMLayoutRightLeftBottomTop = 4,
kPMLayoutTopBottomLeftRight = 5,
kPMLayoutTopBottomRightLeft = 6,
kPMLayoutBottomTopLeftRight = 7,
kPMLayoutBottomTopRightLeft = 8
};
typedef UInt16 PMBorderType;
enum {
kPMBorderSingleHairline = 1,
kPMBorderDoubleHairline = 2,
kPMBorderSingleThickline = 3,
kPMBorderDoubleThickline = 4
};
typedef UInt16 PMPPDDomain;
enum {
kAllPPDDomains = 1,
kSystemPPDDomain = 2,
kLocalPPDDomain = 3,
kNetworkPPDDomain = 4,
kUserPPDDomain = 5,
kCUPSPPDDomain = 6
};
#define kPMPPDDescriptionType CFSTR("PMPPDDescriptionType")
#define kPMDocumentFormatDefault CFSTR("com.apple.documentformat.default")
#define kPMDocumentFormatPDF CFSTR("application/pdf")
#define kPMDocumentFormatPostScript CFSTR("application/postscript")
#define kPMGraphicsContextDefault CFSTR("com.apple.graphicscontext.default")
#define kPMGraphicsContextCoreGraphics CFSTR("com.apple.graphicscontext.coregraphics")
#define kPDFWorkFlowItemURLKey CFSTR("itemURL")
#define kPDFWorkflowFolderURLKey CFSTR("folderURL")
#define kPDFWorkflowDisplayNameKey CFSTR("displayName")
#define kPDFWorkflowItemsKey CFSTR("items")
enum {
kPMNoError = noErr,
kPMGeneralError = -30870,
kPMOutOfScope = -30871,
kPMInvalidParameter = paramErr,
kPMNoDefaultPrinter = -30872,
kPMNotImplemented = -30873,
kPMNoSuchEntry = -30874,
kPMInvalidPrintSettings = -30875,
kPMInvalidPageFormat = -30876,
kPMValueOutOfRange = -30877,
kPMLockIgnored = -30878
};
enum {
kPMInvalidPrintSession = -30879,
kPMInvalidPrinter = -30880,
kPMObjectInUse = -30881,
kPMInvalidPreset = -30899
};
enum {
kPMPrintAllPages = -1
};
enum {
kPMUnlocked = 0
};
struct PMRect {
double top;
double left;
double bottom;
double right;
};
typedef struct PMRect PMRect;
struct PMResolution {
double hRes;
double vRes;
};
typedef struct PMResolution PMResolution;
struct PMLanguageInfo {
Str32 level;
Str32 version;
Str32 release;
};
typedef struct PMLanguageInfo PMLanguageInfo;
typedef PMRect PMPaperMargins;
# 263 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitions.h" 3
enum PMDataFormat {
kPMDataFormatXMLDefault = 0,
kPMDataFormatXMLMinimal = 1,
kPMDataFormatXMLCompressed = 2
};
typedef enum PMDataFormat PMDataFormat;
#pragma options align=reset
# 31 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
#define __PMCORE__
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
#define PM_USE_SESSION_APIS 1
#pragma mark
#pragma mark Retain/Release
#pragma mark
# 73 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMRetain(PMObject object) ;
# 106 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMRelease(PMObject object) ;
#pragma mark
#pragma mark Session
#pragma mark
# 128 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCreateSession(PMPrintSession * printSession) ;
# 140 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionError(PMPrintSession printSession) ;
# 152 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionSetError(
PMPrintSession printSession,
OSStatus printError) ;
#pragma mark
#pragma mark Session: Printing Loop
#pragma mark
# 182 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionBeginCGDocumentNoDialog(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat pageFormat) ;
# 197 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionEndDocumentNoDialog(PMPrintSession printSession) ;
# 216 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionBeginPageNoDialog(
PMPrintSession printSession,
PMPageFormat pageFormat,
const PMRect * pageFrame) ;
# 238 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionEndPageNoDialog(PMPrintSession printSession) ;
# 272 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionGetCGGraphicsContext(
PMPrintSession printSession,
CGContextRef * context) ;
#pragma mark
#pragma mark Session: Other routines
#pragma mark -
# 324 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionGetDestinationType(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMDestinationType * destTypeP) ;
# 364 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionCopyDestinationFormat(
PMPrintSession printSession,
PMPrintSettings printSettings,
CFStringRef * destFormatP) ;
# 411 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionCopyDestinationLocation(
PMPrintSession printSession,
PMPrintSettings printSettings,
CFURLRef * destLocationP) ;
# 477 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionSetDestination(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMDestinationType destType,
CFStringRef destFormat,
CFURLRef destLocation) ;
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionCopyOutputFormatList(
PMPrintSession printSession,
PMDestinationType destType,
CFArrayRef * documentFormatP) ;
# 574 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionCreatePageFormatList(
PMPrintSession printSession,
PMPrinter printer,
CFArrayRef * pageFormatList) ;
# 591 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionCreatePrinterList(
PMPrintSession printSession,
CFArrayRef * printerList,
CFIndex * currentIndex,
PMPrinter * currentPrinter) ;
# 609 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionGetCurrentPrinter(
PMPrintSession printSession,
PMPrinter * currentPrinter) ;
# 625 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionSetCurrentPMPrinter(
PMPrintSession session,
PMPrinter printer) ;
# 638 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionGetDataFromSession(
PMPrintSession printSession,
CFStringRef key,
CFTypeRef * data) ;
# 652 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionSetDataInSession(
PMPrintSession printSession,
CFStringRef key,
CFTypeRef data) ;
#pragma mark -
#pragma mark PageFormat
#pragma mark
# 677 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCreatePageFormat(PMPageFormat * pageFormat) ;
# 688 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionDefaultPageFormat(
PMPrintSession printSession,
PMPageFormat pageFormat) ;
# 701 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionValidatePageFormat(
PMPrintSession printSession,
PMPageFormat pageFormat,
Boolean * result) ;
# 717 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCopyPageFormat(
PMPageFormat formatSrc,
PMPageFormat formatDest) ;
# 742 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCreatePageFormatWithPMPaper(
PMPageFormat * pageFormat,
PMPaper paper) ;
# 767 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPageFormatCreateDataRepresentation(
PMPageFormat pageFormat,
CFDataRef * data,
PMDataFormat format) ;
# 787 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPageFormatCreateWithDataRepresentation(
CFDataRef data,
PMPageFormat * pageFormat) ;
#pragma mark -
# 803 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetAdjustedPageRect(
PMPageFormat pageFormat,
PMRect * pageRect) ;
# 817 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetAdjustedPaperRect(
PMPageFormat pageFormat,
PMRect * paperRect) ;
# 831 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetOrientation(
PMPageFormat pageFormat,
PMOrientation * orientation) ;
# 845 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetPageFormatExtendedData(
PMPageFormat pageFormat,
OSType dataID,
UInt32 * size,
void * extendedData) ;
# 875 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPageFormatGetPrinterID(
PMPageFormat pageFormat,
CFStringRef* printerID ) ;
# 896 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetScale(
PMPageFormat pageFormat,
double * scale) ;
# 919 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetUnadjustedPageRect(
PMPageFormat pageFormat,
PMRect * pageRect) ;
# 942 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetUnadjustedPaperRect(
PMPageFormat pageFormat,
PMRect * paperRect) ;
#pragma mark -
# 972 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetOrientation(
PMPageFormat pageFormat,
PMOrientation orientation,
Boolean lock) ;
# 987 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetPageFormatExtendedData(
PMPageFormat pageFormat,
OSType dataID,
UInt32 size,
void * extendedData) ;
# 1003 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetScale(
PMPageFormat pageFormat,
double scale) ;
#pragma mark -
#pragma mark PrintSettings
#pragma mark
# 1029 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCreatePrintSettings(PMPrintSettings * printSettings) ;
# 1040 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionDefaultPrintSettings(
PMPrintSession printSession,
PMPrintSettings printSettings) ;
# 1053 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionValidatePrintSettings(
PMPrintSession printSession,
PMPrintSettings printSettings,
Boolean * result) ;
# 1069 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCopyPrintSettings(
PMPrintSettings settingSrc,
PMPrintSettings settingDest) ;
# 1096 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsCreateDataRepresentation(
PMPrintSettings printSettings,
CFDataRef * data,
PMDataFormat format) ;
# 1117 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsCreateWithDataRepresentation(
CFDataRef data,
PMPrintSettings *printSettings) ;
#pragma mark -
# 1133 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetCollate(
PMPrintSettings printSettings,
Boolean * collate) ;
# 1147 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetCopies(
PMPrintSettings printSettings,
UInt32 * copies) ;
# 1161 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetDuplex(
PMPrintSettings printSettings,
PMDuplexMode * duplexSetting) ;
# 1175 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetFirstPage(
PMPrintSettings printSettings,
UInt32 * first) ;
# 1189 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetLastPage(
PMPrintSettings printSettings,
UInt32 * last) ;
# 1212 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetPageRange(
PMPrintSettings printSettings,
UInt32 * minPage,
UInt32 * maxPage) ;
# 1227 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetPrintSettingsExtendedData(
PMPrintSettings printSettings,
OSType dataID,
UInt32 * size,
void * extendedData) ;
# 1242 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsGetJobName(
PMPrintSettings printSettings,
CFStringRef * name) ;
# 1267 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsGetValue(
PMPrintSettings printSettings,
CFStringRef key,
CFTypeRef * value) ;
#pragma mark -
# 1283 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetCollate(
PMPrintSettings printSettings,
Boolean collate) ;
# 1297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetCopies(
PMPrintSettings printSettings,
UInt32 copies,
Boolean lock) ;
# 1312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetDuplex(
PMPrintSettings printSettings,
PMDuplexMode duplexSetting) ;
# 1326 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetFirstPage(
PMPrintSettings printSettings,
UInt32 first,
Boolean lock) ;
# 1341 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetLastPage(
PMPrintSettings printSettings,
UInt32 last,
Boolean lock) ;
# 1364 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetPageRange(
PMPrintSettings printSettings,
UInt32 minPage,
UInt32 maxPage) ;
# 1378 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetPrintSettingsExtendedData(
PMPrintSettings printSettings,
OSType dataID,
UInt32 size,
void * extendedData) ;
# 1394 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsSetJobName(
PMPrintSettings printSettings,
CFStringRef name) ;
# 1424 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsSetValue(
PMPrintSettings printSettings,
CFStringRef key,
CFTypeRef value,
Boolean locked) ;
# 1451 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsCopyAsDictionary(
PMPrintSettings printSettings,
CFDictionaryRef *settingsDictionary) ;
# 1476 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsCopyKeys(
PMPrintSettings printSettings,
CFArrayRef *settingsKeys) ;
#pragma mark -
#pragma mark Printer
#pragma mark
# 1503 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCreateGenericPrinter( PMPrinter* printer ) ;
# 1528 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMServerCreatePrinterList(
PMServer server,
CFArrayRef * printerList) ;
# 1560 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMServerLaunchPrinterBrowser(
PMServer server,
CFDictionaryRef options) ;
# 1588 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern PMPrinter
PMPrinterCreateFromPrinterID(CFStringRef printerID) ;
# 1620 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterCopyDescriptionURL(
PMPrinter printer,
CFStringRef descriptionType,
CFURLRef * fileURL) ;
# 1649 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterCopyDeviceURI(
PMPrinter printer,
CFURLRef * deviceURI) ;
# 1666 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterCopyHostName(
PMPrinter printer,
CFStringRef * hostNameP) ;
# 1703 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterCopyPresets(
PMPrinter printer,
CFArrayRef * presetList) ;
# 1748 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetCommInfo(
PMPrinter printer,
Boolean * supportsControlCharRangeP,
Boolean * supportsEightBitP) ;
# 1763 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern CFStringRef
PMPrinterGetID(PMPrinter printer) ;
# 1775 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern CFStringRef
PMPrinterGetLocation(PMPrinter printer) ;
# 1787 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetDriverCreator(
PMPrinter printer,
OSType * creator) ;
# 1801 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetDriverReleaseInfo(
PMPrinter printer,
VersRec * release) ;
# 1827 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetPrinterResolutionCount(
PMPrinter printer,
UInt32 * countP) ;
# 1856 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetIndexedPrinterResolution(
PMPrinter printer,
UInt32 index,
PMResolution * resolutionP) ;
# 1903 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
OSStatus PMPrinterGetOutputResolution(
PMPrinter printer,
PMPrintSettings printSettings,
PMResolution *resolutionP) ;
# 1942 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
OSStatus PMPrinterSetOutputResolution(
PMPrinter printer,
PMPrintSettings printSettings,
const PMResolution *resolutionP) ;
# 1956 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetLanguageInfo(
PMPrinter printer,
PMLanguageInfo * info) ;
# 1970 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetMakeAndModelName(
PMPrinter printer,
CFStringRef * makeAndModel) ;
# 2006 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetMimeTypes(
PMPrinter printer,
PMPrintSettings settings,
CFArrayRef * mimeTypes) ;
# 2021 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern CFStringRef
PMPrinterGetName(PMPrinter printer) ;
# 2046 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetPaperList(
PMPrinter printer,
CFArrayRef * paperList) ;
# 2060 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetState(
PMPrinter printer,
PMPrinterState * state) ;
# 2074 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern Boolean
PMPrinterIsDefault(PMPrinter printer) ;
# 2089 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern Boolean
PMPrinterIsFavorite(PMPrinter printer) ;
# 2101 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern Boolean
PMPrinterIsPostScriptCapable(PMPrinter printer) ;
# 2115 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterIsPostScriptPrinter(PMPrinter printer, Boolean *isPSPrinter) ;
# 2141 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterIsRemote(
PMPrinter printer,
Boolean * isRemoteP) ;
# 2168 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus PMPrinterSetDefault(PMPrinter printer) ;
#pragma mark
#pragma mark Preset
#pragma mark
# 2195 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPresetCopyName(
PMPreset preset,
CFStringRef * name) ;
# 2227 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPresetCreatePrintSettings(
PMPreset preset,
PMPrintSession session,
PMPrintSettings * printSettings) ;
# 2263 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPresetGetAttributes(
PMPreset preset,
CFDictionaryRef * attributes) ;
#pragma mark
#pragma mark Paper
#pragma mark
# 2293 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetPageFormatPaper(
PMPageFormat format,
PMPaper * paper) ;
# 2341 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperCreateCustom(
PMPrinter printer,
CFStringRef id,
CFStringRef name,
double width,
double height,
const PMPaperMargins * margins,
PMPaper * paperP) ;
# 2371 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetWidth(
PMPaper paper,
double * paperWidth) ;
# 2396 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetHeight(
PMPaper paper,
double * paperHeight) ;
# 2421 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetMargins(
PMPaper paper,
PMPaperMargins * paperMargins) ;
# 2447 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetID(
PMPaper paper,
CFStringRef * paperID) ;
# 2473 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetName(
PMPaper paper,
CFStringRef * paperName) ;
# 2504 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetPPDPaperName(
PMPaper paper,
CFStringRef * paperName) ;
# 2537 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperCreateLocalizedName(
PMPaper paper,
PMPrinter printer,
CFStringRef * paperName) ;
# 2564 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetPrinterID(
PMPaper paper,
CFStringRef * printerID) ;
# 2585 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern Boolean
PMPaperIsCustom(
PMPaper paper ) ;
#pragma mark
#pragma mark PDF Workflow
#pragma mark
# 2622 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMWorkflowCopyItems(CFArrayRef * workflowItems) ;
# 2669 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMWorkflowSubmitPDFWithOptions(
CFURLRef workflowItem,
CFStringRef title,
const char * options,
CFURLRef pdfFile) ;
# 2715 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMWorkflowSubmitPDFWithSettings(
CFURLRef workflowItem,
PMPrintSettings settings,
CFURLRef pdfFile) ;
#pragma mark
#pragma mark Job Submission
#pragma mark
# 2759 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterPrintWithProvider(
PMPrinter printer,
PMPrintSettings settings,
PMPageFormat format,
CFStringRef mimeType,
CGDataProviderRef provider) ;
# 2807 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterPrintWithFile(
PMPrinter printer,
PMPrintSettings settings,
PMPageFormat format,
CFStringRef mimeType,
CFURLRef fileURL) ;
# 2858 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterWritePostScriptToURL(
PMPrinter printer,
PMPrintSettings settings,
PMPageFormat format,
CFStringRef mimeType,
CFURLRef sourceFileURL,
CFURLRef destinationFileURL) ;
# 2892 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsToOptions(
PMPrintSettings settings,
char ** options) ;
# 2928 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsToOptionsWithPrinterAndPageFormat(
PMPrintSettings settings,
PMPrinter printer,
PMPageFormat pageFormat,
char ** options) ;
#pragma mark
#pragma mark PPD related
#pragma mark
# 2962 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCopyAvailablePPDs(
PMPPDDomain domain,
CFArrayRef * ppds) ;
# 2991 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCopyLocalizedPPD(
CFURLRef ppd,
CFURLRef * localizedPPD) ;
# 3021 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCopyPPDData(
CFURLRef ppd,
CFDataRef * data) ;
#pragma mark
#pragma mark EPS related
#pragma mark
# 3089 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern CGImageRef
PMCGImageCreateWithEPSDataProvider(
CGDataProviderRef epsDataProvider,
CGImageRef epsPreview) ;
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitionsDeprecated.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitionsDeprecated.h" 3
#define __PMDEFINITIONS_DEPRECATED__
# 31 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitionsDeprecated.h" 3
#pragma options align=mac68k
typedef struct OpaquePMPrintContext* PMPrintContext;
typedef struct OpaquePMDialog* PMDialog;
enum {
kSizeOfTPrint = 120
};
enum {
kPMLocked = 1
};
typedef UInt16 PMColorMode;
enum {
kPMBlackAndWhite = 1,
kPMGray = 2,
kPMColor = 3,
kPMColorModeDuotone = 4,
kPMColorModeSpecialColor = 5
};
typedef UInt32 PMColorSyncIntent;
enum {
kPMColorIntentUndefined = 0x0000,
kPMColorIntentAutomatic = 0x0001,
kPMColorIntentPhoto = 0x0002,
kPMColorIntentBusiness = 0x0004,
kPMColorIntentRelColor = 0x0008,
kPMColorIntentAbsColor = 0x0010,
kPMColorIntentUnused = 0xFFE0
};
typedef UInt16 PMDuplexBinding;
enum {
kPMDuplexBindingLeftRight = 1,
kPMDuplexBindingTopDown = 2
};
typedef UInt32 PMTag;
enum {
kPMCurrentValue = 'curr',
kPMDefaultValue = 'dflt',
kPMMinimumValue = 'minv',
kPMMaximumValue = 'maxv',
kPMSourceProfile = 'srcp',
kPMMinRange = 'mnrg',
kPMMaxRange = 'mxrg',
kPMMinSquareResolution = 'mins',
kPMMaxSquareResolution = 'maxs',
kPMDefaultResolution = 'dftr'
};
enum {
kPSPageInjectAllPages = -1,
kPSInjectionMaxDictSize = 5
};
typedef UInt16 PSInjectionPlacement;
enum {
kPSInjectionBeforeSubsection = 1,
kPSInjectionAfterSubsection = 2,
kPSInjectionReplaceSubsection = 3
};
typedef SInt32 PSInjectionSection;
enum {
kInjectionSectJob = 1,
kInjectionSectCoverPage = 2
};
typedef SInt32 PSInjectionSubsection;
enum {
kInjectionSubPSAdobe = 1,
kInjectionSubPSAdobeEPS = 2,
kInjectionSubBoundingBox = 3,
kInjectionSubEndComments = 4,
kInjectionSubOrientation = 5,
kInjectionSubPages = 6,
kInjectionSubPageOrder = 7,
kInjectionSubBeginProlog = 8,
kInjectionSubEndProlog = 9,
kInjectionSubBeginSetup = 10,
kInjectionSubEndSetup = 11,
kInjectionSubBeginDefaults = 12,
kInjectionSubEndDefaults = 13,
kInjectionSubDocFonts = 14,
kInjectionSubDocNeededFonts = 15,
kInjectionSubDocSuppliedFonts = 16,
kInjectionSubDocNeededRes = 17,
kInjectionSubDocSuppliedRes = 18,
kInjectionSubDocCustomColors = 19,
kInjectionSubDocProcessColors = 20,
kInjectionSubPlateColor = 21,
kInjectionSubPageTrailer = 22,
kInjectionSubTrailer = 23,
kInjectionSubEOF = 24,
kInjectionSubBeginFont = 25,
kInjectionSubEndFont = 26,
kInjectionSubBeginResource = 27,
kInjectionSubEndResource = 28,
kInjectionSubPage = 29,
kInjectionSubBeginPageSetup = 30,
kInjectionSubEndPageSetup = 31
};
#define kPMDocumentFormatPICT CFSTR("application/vnd.apple.printing-pict")
#define kPMDocumentFormatPICTPS CFSTR("application/vnd.apple.printing-pict-ps")
#define kPMDocumentFormatPICTPSwPSNormalizer CFSTR("application/vnd.apple.printing-pict-ps-viapsnormalizer")
#define kPMDataFormatPDF kPMDocumentFormatPDF
#define kPMDataFormatPS kPMDocumentFormatPostScript
#define kPMDataFormatPICT kPMDocumentFormatPICT
#define kPMDataFormatPICTwPS kPMDocumentFormatPICTPS
#define kPMGraphicsContextQuickdraw CFSTR("com.apple.graphicscontext.quickdraw")
#define kPSInjectionSectionKey CFSTR("section")
#define kPSInjectionSubSectionKey CFSTR("subsection")
#define kPSInjectionPageKey CFSTR("page")
#define kPSInjectionPlacementKey CFSTR("place")
#define kPSInjectionPostScriptKey CFSTR("psdata")
#define kPDFWorkflowForlderURLKey CFSTR("folderURL")
#pragma options align=reset
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
#define __PMCORE_DEPRECATED__
# 61 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMFlattenPageFormatToCFData(
PMPageFormat pageFormat,
CFDataRef * flatFormat) __attribute__((deprecated));
# 81 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMFlattenPageFormatToURL(
PMPageFormat pageFormat,
CFURLRef flattenFileURL) __attribute__((deprecated));
# 111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMUnflattenPageFormatWithCFData(
CFDataRef flattenCFData,
PMPageFormat * pageFormat) __attribute__((deprecated));
# 142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMUnflattenPageFormatWithURL(
CFURLRef flattenFileURL,
PMPageFormat * pageFormat) __attribute__((deprecated));
# 161 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMFlattenPrintSettingsToCFData(
PMPrintSettings printSettings,
CFDataRef * flatSetting) __attribute__((deprecated));
# 181 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMFlattenPrintSettingsToURL(
PMPrintSettings printSettings,
CFURLRef flattenFileURL) __attribute__((deprecated));
# 212 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMUnflattenPrintSettingsWithCFData(
CFDataRef flattenCFData,
PMPrintSettings * printSettings) __attribute__((deprecated));
# 243 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMUnflattenPrintSettingsWithURL(
CFURLRef flattenFileURL,
PMPrintSettings * printSettings) __attribute__((deprecated));
# 275 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSetProfile(
PMPrintSettings printSettings,
PMTag tag,
const CMProfileLocation * profile) __attribute__((deprecated));
typedef void ( * PMIdleProcPtr)(void);
typedef PMIdleProcPtr PMIdleUPP;
#define NewPMIdleUPP(userRoutine) ((PMIdleUPP)userRoutine)
#define DisposePMIdleUPP(userUPP)
#define InvokePMIdleUPP(userUPP) (*userUPP)()
# 345 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionBeginDocumentNoDialog(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat pageFormat) __attribute__((deprecated));
# 374 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionGetGraphicsContext(
PMPrintSession printSession,
CFStringRef graphicsContextType,
void ** graphicsContext) __attribute__((deprecated));
# 392 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionEnableColorSync(PMPrintSession printSession) __attribute__((deprecated));
# 408 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionDisableColorSync(PMPrintSession printSession) __attribute__((deprecated));
# 420 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionSetIdleProc(
PMPrintSession printSession,
PMIdleUPP idleProc) __attribute__((deprecated));
# 437 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionGeneral(
PMPrintSession printSession,
Ptr pData) __attribute__((deprecated));
# 451 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionConvertOldPrintRecord(
PMPrintSession printSession,
Handle printRecordHandle,
PMPrintSettings * printSettings,
PMPageFormat * pageFormat) __attribute__((deprecated));
# 467 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionMakeOldPrintRecord(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat pageFormat,
Handle * printRecordHandle) __attribute__((deprecated));
# 487 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionSetCurrentPrinter(
PMPrintSession session,
CFStringRef printerName) __attribute__((deprecated));
# 507 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionPostScriptBegin(PMPrintSession printSession) __attribute__((deprecated));
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionPostScriptEnd(PMPrintSession printSession) __attribute__((deprecated));
# 543 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionPostScriptHandle(
PMPrintSession printSession,
Handle psHandle) __attribute__((deprecated));
# 563 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionPostScriptData(
PMPrintSession printSession,
Ptr psPtr,
Size len) __attribute__((deprecated));
# 584 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionPostScriptFile(
PMPrintSession printSession,
FSSpec * psFile) __attribute__((deprecated));
# 604 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionSetPSInjectionData(
PMPrintSession printSession,
PMPrintSettings printSettings,
CFArrayRef injectionDictArray) __attribute__((deprecated));
# 625 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionGetDocumentFormatSupported(
PMPrintSession printSession,
CFArrayRef * docFormats,
UInt32 limit) __attribute__((deprecated));
# 646 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionGetDocumentFormatGeneration(
PMPrintSession printSession,
CFArrayRef * docFormats) __attribute__((deprecated));
# 668 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionSetDocumentFormatGeneration(
PMPrintSession printSession,
CFStringRef docFormat,
CFArrayRef graphicsContextTypes,
CFTypeRef options) __attribute__((deprecated));
# 690 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSessionIsDocumentFormatSupported(
PMPrintSession printSession,
CFStringRef docFormat,
Boolean * supported) __attribute__((deprecated));
# 1200 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMGetJobName(
PMPrintSettings printSettings,
StringPtr name) __attribute__((deprecated));
# 1216 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSetJobName(
PMPrintSettings printSettings,
StringPtr name) __attribute__((deprecated));
# 1233 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMGetPhysicalPaperSize(
PMPageFormat pageFormat,
PMRect * paperSize) __attribute__((deprecated));
# 1251 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSetAdjustedPageRect(
PMPageFormat pageFormat,
const PMRect * pageRect) __attribute__((deprecated));
# 1268 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSetPhysicalPaperSize(
PMPageFormat pageFormat,
const PMRect * paperSize) __attribute__((deprecated));
# 1285 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSetUnadjustedPaperRect(
PMPageFormat pageFormat,
const PMRect * paperRect) __attribute__((deprecated));
# 1301 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMGetPhysicalPageSize(
PMPageFormat pageFormat,
PMRect * pageSize) __attribute__((deprecated));
# 1315 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMGetColorMode(
PMPrintSettings printSettings,
PMColorMode * colorMode) __attribute__((deprecated));
# 1329 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSetColorMode(
PMPrintSettings printSettings,
PMColorMode colorMode) __attribute__((deprecated));
# 1345 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMGetDestination(
PMPrintSettings printSettings,
PMDestinationType * destType,
CFURLRef * fileURL) __attribute__((deprecated));
# 1364 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMPrinterGetDescriptionURL(
PMPrinter printer,
CFStringRef descriptionType,
CFURLRef * fileURL) __attribute__((deprecated));
# 1384 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMPrinterGetDeviceURI(
PMPrinter printer,
CFURLRef * deviceURI) __attribute__((deprecated));
# 1411 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMGetResolution(
PMPageFormat pageFormat,
PMResolution * res) __attribute__((deprecated));
# 1432 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSetResolution(
PMPageFormat pageFormat,
const PMResolution * res) __attribute__((deprecated));
# 1473 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMFlattenPageFormat(
PMPageFormat pageFormat,
Handle * flatFormat) __attribute__((deprecated));
# 1490 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMUnflattenPageFormat(
Handle flatFormat,
PMPageFormat * pageFormat) __attribute__((deprecated));
# 1532 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMFlattenPrintSettings(
PMPrintSettings printSettings,
Handle * flatSettings) __attribute__((deprecated));
# 1549 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMUnflattenPrintSettings(
Handle flatSettings,
PMPrintSettings * printSettings) __attribute__((deprecated));
# 1569 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMGetJobNameCFString(
PMPrintSettings printSettings,
CFStringRef * name) __attribute__((deprecated));
# 1586 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMSetJobNameCFString(
PMPrintSettings printSettings,
CFStringRef name) __attribute__((deprecated));
# 1603 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMPrinterGetPrinterResolution(
PMPrinter printer,
PMTag tag,
PMResolution * res) __attribute__((deprecated));
# 1621 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMPaperCreate(
PMPrinter printer,
CFStringRef id,
CFStringRef name,
double width,
double height,
const PMPaperMargins * margins,
PMPaper * paperP) __attribute__((deprecated));
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintAETypes.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintAETypes.h" 3
#define __PMPrintAETypes__
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintAETypes.h" 3
#define kPMPrintSettingsAEType 'pset'
#define kPMShowPrintDialogAEType 'pdlg'
#define kPMPrinterAEType 'trpr'
#define kPMCopiesAEProp "copies"
#define kPMCopiesAEKey 'lwcp'
#define kPMCopieAEType typeSInt32
#define kPMCollateAEProp "collating"
#define kPMCollateAEKey 'lwcl'
#define kPMCollateAEType typeBoolean
#define kPMFirstPageAEProp "starting page"
#define kPMFirstPageAEKey 'lwfp'
#define kPMFirstPageAEType typeSInt32
#define kPMLastPageAEProp "ending page"
#define kPMLastPageAEKey 'lwlp'
#define kPMLastPageAEType typeSInt32
#define kPMLayoutAcrossAEProp "pages across"
#define kPMLayoutAcrossAEKey 'lwla'
#define kPMLayoutAcrossAEType typeSInt32
#define kPMLayoutDownAEProp "pages down"
#define kPMLayoutDownAEKey 'lwld'
#define kPMLayoutDownAEType typeSInt32
#define kPMErrorHandlingAEProp "error handling"
#define kPMErrorHandlingAEKey 'lweh'
#define kPMErrorHandlingAEType typeEnumerated
#define kPMPrintTimeAEProp "requested print time"
#define kPMPrintTimeAEKey 'lwqt'
#define kPMPrintTimeAEType cLongDateTime
#define kPMFeatureAEProp "printer features"
#define kPMFeatureAEKey 'lwpf'
#define kPMFeatureAEType typeAEList
#define kPMFaxNumberAEProp "fax number"
#define kPMFaxNumberAEKey 'faxn'
#define kPMFaxNumberAEType typeChar
#define kPMTargetPrinterAEProp "target printer"
#define kPMTargetPrinterAEKey 'trpr'
#define kPMTargetPrinterAEType typeChar
#define kPMErrorHandlingStandardEnum 'lwst'
#define kPMErrorHandlingDetailedEnum 'lwdt'
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 2 3
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LangAnalysis.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LangAnalysis.h" 3
#define __LANGANALYSIS__
# 31 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LangAnalysis.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
#define __LANGUAGEANALYSIS__
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
#define __DICTIONARY__
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
#pragma options align=power
# 50 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
enum {
kDictionaryFileType = 'dict',
kDCMDictionaryHeaderSignature = 'dict',
kDCMDictionaryHeaderVersion = 2
};
enum {
kDCMAnyFieldTag = typeWildCard,
kDCMAnyFieldType = typeWildCard
};
enum {
keyDCMFieldTag = 'ftag',
keyDCMFieldType = 'ftyp',
keyDCMMaxRecordSize = 'mrsz',
keyDCMFieldAttributes = 'fatr',
keyDCMFieldDefaultData = 'fdef',
keyDCMFieldName = 'fnam',
keyDCMFieldFindMethods = 'ffnd'
};
enum {
typeDCMFieldAttributes = 'fatr',
typeDCMFindMethod = 'fmth'
};
enum {
kDCMIndexedFieldMask = 0x00000001,
kDCMRequiredFieldMask = 0x00000002,
kDCMIdentifyFieldMask = 0x00000004,
kDCMFixedSizeFieldMask = 0x00000008,
kDCMHiddenFieldMask = (long)0x80000000
};
typedef OptionBits DCMFieldAttributes;
enum {
pDCMAccessMethod = 'amtd',
pDCMPermission = 'perm',
pDCMListing = 'list',
pDCMMaintenance = 'mtnc',
pDCMLocale = 'locl',
pDCMClass = pClass,
pDCMCopyright = 'info'
};
enum {
kDCMReadOnlyDictionary = 0,
kDCMReadWriteDictionary = 1
};
enum {
kDCMAllowListing = 0,
kDCMProhibitListing = 1
};
enum {
kDCMUserDictionaryClass = 0,
kDCMSpecificDictionaryClass = 1,
kDCMBasicDictionaryClass = 2
};
enum {
kDCMFindMethodExactMatch = kAEEquals,
kDCMFindMethodBeginningMatch = kAEBeginsWith,
kDCMFindMethodContainsMatch = kAEContains,
kDCMFindMethodEndingMatch = kAEEndsWith,
kDCMFindMethodForwardTrie = 'ftri',
kDCMFindMethodBackwardTrie = 'btri'
};
typedef OSType DCMFindMethod;
enum {
kDCMCanUseFileDictionaryMask = 0x00000001,
kDCMCanUseMemoryDictionaryMask = 0x00000002,
kDCMCanStreamDictionaryMask = 0x00000004,
kDCMCanHaveMultipleIndexMask = 0x00000008,
kDCMCanModifyDictionaryMask = 0x00000010,
kDCMCanCreateDictionaryMask = 0x00000020,
kDCMCanAddDictionaryFieldMask = 0x00000040,
kDCMCanUseTransactionMask = 0x00000080
};
typedef OptionBits DCMAccessMethodFeature;
typedef UInt32 DCMUniqueID;
typedef struct OpaqueDCMObjectID* DCMObjectID;
typedef DCMObjectID DCMAccessMethodID;
typedef DCMObjectID DCMDictionaryID;
#define kDCMInvalidObjectID ((DCMObjectID) kInvalidID)
typedef struct OpaqueDCMObjectRef* DCMObjectRef;
typedef DCMObjectRef DCMDictionaryRef;
typedef DCMObjectRef DCMDictionaryStreamRef;
#define kDCMInvalidObjectRef ((DCMObjectRef) kInvalidID)
typedef struct OpaqueDCMObjectIterator* DCMObjectIterator;
typedef DCMObjectIterator DCMAccessMethodIterator;
typedef DCMObjectIterator DCMDictionaryIterator;
typedef struct OpaqueDCMFoundRecordIterator* DCMFoundRecordIterator;
typedef DescType DCMFieldTag;
typedef DescType DCMFieldType;
struct DCMDictionaryHeader {
FourCharCode headerSignature;
UInt32 headerVersion;
ByteCount headerSize;
Str63 accessMethod;
};
typedef struct DCMDictionaryHeader DCMDictionaryHeader;
typedef Boolean ( * DCMProgressFilterProcPtr)(Boolean determinateProcess, UInt16 percentageComplete, UInt32 callbackUD);
typedef DCMProgressFilterProcPtr DCMProgressFilterUPP;
# 236 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern UInt32
DCMLibraryVersion(void) __attribute__((deprecated));
# 254 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMNewDictionary(
DCMAccessMethodID accessMethodID,
const FSSpec * newDictionaryFile,
ScriptCode scriptTag,
const AEDesc * listOfFieldInfoRecords,
Boolean invisible,
ItemCount recordCapacity,
DCMDictionaryID * newDictionary) __attribute__((deprecated));
# 276 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMDeriveNewDictionary(
DCMDictionaryID srcDictionary,
const FSSpec * newDictionaryFile,
ScriptCode scriptTag,
Boolean invisible,
ItemCount recordCapacity,
DCMDictionaryID * newDictionary) __attribute__((deprecated));
# 297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMDeleteDictionary(DCMDictionaryID dictionaryID) __attribute__((deprecated));
# 315 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMRegisterDictionaryFile(
const FSSpec * dictionaryFile,
DCMDictionaryID * dictionaryID) __attribute__((deprecated));
# 332 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMUnregisterDictionary(DCMDictionaryID dictionaryID) __attribute__((deprecated));
# 350 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMOpenDictionary(
DCMDictionaryID dictionaryID,
ByteCount protectKeySize,
ConstLogicalAddress protectKey,
DCMDictionaryRef * dictionaryRef) __attribute__((deprecated));
# 369 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMCloseDictionary(DCMDictionaryRef dictionaryRef) __attribute__((deprecated));
# 387 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetDictionaryWriteAccess(
DCMDictionaryRef dictionaryRef,
Duration timeOutDuration) __attribute__((deprecated));
# 404 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMReleaseDictionaryWriteAccess(
DCMDictionaryRef dictionaryRef,
Boolean commitTransaction) __attribute__((deprecated));
# 424 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMFindRecords(
DCMDictionaryRef dictionaryRef,
DCMFieldTag keyFieldTag,
ByteCount keySize,
ConstLogicalAddress keyData,
DCMFindMethod findMethod,
ItemCount preFetchedDataNum,
DCMFieldTag preFetchedData[],
ItemCount skipCount,
ItemCount maxRecordCount,
DCMFoundRecordIterator * recordIterator) __attribute__((deprecated));
# 449 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern ItemCount
DCMCountRecordIterator(DCMFoundRecordIterator recordIterator) __attribute__((deprecated));
# 464 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMIterateFoundRecord(
DCMFoundRecordIterator recordIterator,
ByteCount maxKeySize,
ByteCount * actualKeySize,
LogicalAddress keyData,
DCMUniqueID * uniqueID,
AEDesc * dataList) __attribute__((deprecated));
# 485 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMDisposeRecordIterator(DCMFoundRecordIterator recordIterator) __attribute__((deprecated));
# 503 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMCountRecord(
DCMDictionaryID dictionaryID,
ItemCount * count) __attribute__((deprecated));
# 520 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetRecordSequenceNumber(
DCMDictionaryRef dictionaryRef,
DCMFieldTag keyFieldTag,
ByteCount keySize,
ConstLogicalAddress keyData,
DCMUniqueID uniqueID,
ItemCount * sequenceNum) __attribute__((deprecated));
# 541 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetNthRecord(
DCMDictionaryRef dictionaryRef,
DCMFieldTag keyFieldTag,
ItemCount serialNum,
ByteCount maxKeySize,
ByteCount * keySize,
LogicalAddress keyData,
DCMUniqueID * uniqueID) __attribute__((deprecated));
# 563 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetNextRecord(
DCMDictionaryRef dictionaryRef,
DCMFieldTag keyFieldTag,
ByteCount keySize,
ConstLogicalAddress keyData,
DCMUniqueID uniqueID,
ByteCount maxKeySize,
ByteCount * nextKeySize,
LogicalAddress nextKeyData,
DCMUniqueID * nextUniqueID) __attribute__((deprecated));
# 587 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetPrevRecord(
DCMDictionaryRef dictionaryRef,
DCMFieldTag keyFieldTag,
ByteCount keySize,
ConstLogicalAddress keyData,
DCMUniqueID uniqueID,
ByteCount maxKeySize,
ByteCount * prevKeySize,
LogicalAddress prevKeyData,
DCMUniqueID * prevUniqueID) __attribute__((deprecated));
# 614 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetFieldData(
DCMDictionaryRef dictionaryRef,
DCMFieldTag keyFieldTag,
ByteCount keySize,
ConstLogicalAddress keyData,
DCMUniqueID uniqueID,
ItemCount numOfData,
const DCMFieldTag dataTag[],
AEDesc * dataList) __attribute__((deprecated));
# 637 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMSetFieldData(
DCMDictionaryRef dictionaryRef,
DCMFieldTag keyFieldTag,
ByteCount keySize,
ConstLogicalAddress keyData,
DCMUniqueID uniqueID,
const AEDesc * dataList) __attribute__((deprecated));
# 661 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMAddRecord(
DCMDictionaryRef dictionaryRef,
DCMFieldTag keyFieldTag,
ByteCount keySize,
ConstLogicalAddress keyData,
Boolean checkOnly,
const AEDesc * dataList,
DCMUniqueID * newUniqueID) __attribute__((deprecated));
# 683 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMDeleteRecord(
DCMDictionaryRef dictionaryRef,
DCMFieldTag keyFieldTag,
ByteCount keySize,
ConstLogicalAddress keyData,
DCMUniqueID uniqueID) __attribute__((deprecated));
# 706 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMReorganizeDictionary(
DCMDictionaryID dictionaryID,
ItemCount extraCapacity,
DCMProgressFilterUPP progressProc,
UInt32 userData) __attribute__((deprecated));
# 725 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMCompactDictionary(
DCMDictionaryID dictionaryID,
DCMProgressFilterUPP progressProc,
UInt32 userData) __attribute__((deprecated));
# 746 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetFileFromDictionaryID(
DCMDictionaryID dictionaryID,
FSSpec * fileRef) __attribute__((deprecated));
# 763 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetDictionaryIDFromFile(
const FSSpec * fileRef,
DCMDictionaryID * dictionaryID) __attribute__((deprecated));
# 780 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern DCMDictionaryID
DCMGetDictionaryIDFromRef(DCMDictionaryRef dictionaryRef) __attribute__((deprecated));
# 798 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetDictionaryFieldInfo(
DCMDictionaryID dictionaryID,
DCMFieldTag fieldTag,
AEDesc * fieldInfoRecord) __attribute__((deprecated));
# 819 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetDictionaryProperty(
DCMDictionaryID dictionaryID,
DCMFieldTag propertyTag,
ByteCount maxPropertySize,
ByteCount * actualSize,
LogicalAddress propertyValue) __attribute__((deprecated));
# 839 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMSetDictionaryProperty(
DCMDictionaryID dictionaryID,
DCMFieldTag propertyTag,
ByteCount propertySize,
ConstLogicalAddress propertyValue) __attribute__((deprecated));
# 858 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetDictionaryPropertyList(
DCMDictionaryID dictionaryID,
ItemCount maxPropertyNum,
ItemCount * numProperties,
DCMFieldTag propertyTag[]) __attribute__((deprecated));
# 880 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMCreateDictionaryIterator(DCMDictionaryIterator * dictionaryIterator) __attribute__((deprecated));
# 898 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMCreateAccessMethodIterator(DCMAccessMethodIterator * accessMethodIterator) __attribute__((deprecated));
# 916 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern ItemCount
DCMCountObjectIterator(DCMObjectIterator iterator) __attribute__((deprecated));
# 931 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMIterateObject(
DCMObjectIterator iterator,
DCMObjectID * objectID) __attribute__((deprecated));
# 948 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMResetObjectIterator(DCMObjectIterator iterator) __attribute__((deprecated));
# 963 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMDisposeObjectIterator(DCMObjectIterator iterator) __attribute__((deprecated));
# 981 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetAccessMethodIDFromName(
ConstStr63Param accessMethodName,
DCMAccessMethodID * accessMethodID) __attribute__((deprecated));
# 1001 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMCreateFieldInfoRecord(
DescType fieldTag,
DescType fieldType,
ByteCount maxRecordSize,
DCMFieldAttributes fieldAttributes,
AEDesc * fieldDefaultData,
ItemCount numberOfFindMethods,
DCMFindMethod findMethods[],
AEDesc * fieldInfoRecord) __attribute__((deprecated));
# 1024 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetFieldTagAndType(
const AEDesc * fieldInfoRecord,
DCMFieldTag * fieldTag,
DCMFieldType * fieldType) __attribute__((deprecated));
# 1042 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetFieldMaxRecordSize(
const AEDesc * fieldInfoRecord,
ByteCount * maxRecordSize) __attribute__((deprecated));
# 1059 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetFieldAttributes(
const AEDesc * fieldInfoRecord,
DCMFieldAttributes * attributes) __attribute__((deprecated));
# 1076 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetFieldDefaultData(
const AEDesc * fieldInfoRecord,
DescType desiredType,
AEDesc * fieldDefaultData) __attribute__((deprecated));
# 1094 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
extern OSStatus
DCMGetFieldFindMethods(
const AEDesc * fieldInfoRecord,
ItemCount findMethodsArrayMaxSize,
DCMFindMethod findMethods[],
ItemCount * actualNumberOfFindMethods) __attribute__((deprecated));
# 1118 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
#define DCMDictionaryManagerAvailable() (true)
# 1130 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
#define kAppleJapaneseDefaultAccessMethodName "\pDAM:Apple Backward Trie Access Method"
enum {
kMaxYomiLengthInAppleJapaneseDictionary = 40,
kMaxKanjiLengthInAppleJapaneseDictionary = 64
};
enum {
kDCMJapaneseYomiTag = 'yomi',
kDCMJapaneseHyokiTag = 'hyok',
kDCMJapaneseHinshiTag = 'hins',
kDCMJapaneseWeightTag = 'hind',
kDCMJapanesePhoneticTag = 'hton',
kDCMJapaneseAccentTag = 'acnt',
kDCMJapaneseOnKunReadingTag = 'OnKn',
kDCMJapaneseFukugouInfoTag = 'fuku'
};
enum {
kDCMJapaneseYomiType = typeUnicodeText,
kDCMJapaneseHyokiType = typeUnicodeText,
kDCMJapaneseHinshiType = 'hins',
kDCMJapaneseWeightType = typeSInt16,
kDCMJapanesePhoneticType = typeUnicodeText,
kDCMJapaneseAccentType = 'byte',
kDCMJapaneseOnKunReadingType = typeUnicodeText,
kDCMJapaneseFukugouInfoType = 'fuku'
};
# 1172 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
#pragma options align=reset
#pragma options align=mac68k
enum {
kInsert = 0,
kReplace = 1,
kInsertOrReplace = 2
};
typedef short DictionaryDataInsertMode;
enum {
kIsCaseSensitive = 0x10,
kIsNotDiacriticalSensitive = 0x20
};
enum {
kNoun = -1,
kVerb = -2,
kAdjective = -3,
kAdverb = -4
};
typedef SInt8 DictionaryEntryAttribute;
struct DictionaryInformation {
FSSpec dictionaryFSSpec;
SInt32 numberOfRecords;
SInt32 currentGarbageSize;
ScriptCode script;
SInt16 maximumKeyLength;
SInt8 keyAttributes;
};
typedef struct DictionaryInformation DictionaryInformation;
struct DictionaryAttributeTable {
UInt8 datSize;
DictionaryEntryAttribute datTable[1];
};
typedef struct DictionaryAttributeTable DictionaryAttributeTable;
typedef DictionaryAttributeTable * DictionaryAttributeTablePtr;
# 1312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/Dictionary.h" 3
#pragma options align=reset
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 2 3
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
#pragma options align=power
typedef struct OpaqueLAEnvironmentRef* LAEnvironmentRef;
typedef struct OpaqueLAContextRef* LAContextRef;
typedef AEKeyword LAPropertyKey;
typedef DescType LAPropertyType;
struct LAMorphemeRec {
ByteCount sourceTextLength;
LogicalAddress sourceTextPtr;
ByteCount morphemeTextLength;
LogicalAddress morphemeTextPtr;
UInt32 partOfSpeech;
};
typedef struct LAMorphemeRec LAMorphemeRec;
struct LAMorphemesArray {
ItemCount morphemesCount;
ByteCount processedTextLength;
ByteCount morphemesTextLength;
LAMorphemeRec morphemes[1];
};
typedef struct LAMorphemesArray LAMorphemesArray;
typedef LAMorphemesArray * LAMorphemesArrayPtr;
enum {
kLAMorphemesArrayVersion = 0
};
typedef AERecord LAMorphemeBundle;
typedef AERecord LAMorphemePath;
typedef AERecord LAMorpheme;
typedef AERecord LAHomograph;
enum {
keyAELAMorphemeBundle = 'lmfb',
keyAELAMorphemePath = 'lmfp',
keyAELAMorpheme = 'lmfn',
keyAELAHomograph = 'lmfh'
};
enum {
typeLAMorphemeBundle = typeAERecord,
typeLAMorphemePath = typeAERecord,
typeLAMorpheme = typeAEList,
typeLAHomograph = typeAEList
};
enum {
keyAEMorphemePartOfSpeechCode = 'lamc',
keyAEMorphemeTextRange = 'lamt'
};
enum {
typeAEMorphemePartOfSpeechCode = 'lamc',
typeAEMorphemeTextRange = 'lamt'
};
typedef UInt32 MorphemePartOfSpeech;
struct MorphemeTextRange {
UInt32 sourceOffset;
UInt32 length;
};
typedef struct MorphemeTextRange MorphemeTextRange;
enum {
kLAEndOfSourceTextMask = 0x00000001
};
enum {
kLADefaultEdge = 0,
kLAFreeEdge = 1,
kLAIncompleteEdge = 2
};
enum {
kLAAllMorphemes = 0
};
# 153 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern UInt32
LALibraryVersion(void) __attribute__((deprecated));
# 172 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LATextToMorphemes(
LAContextRef context,
TextEncoding preferedEncoding,
ByteCount textLength,
ConstLogicalAddress sourceText,
ByteCount bufferSize,
OptionBits convertFlags,
UInt32 structureVersion,
ByteCount * acceptedLength,
LAMorphemesArrayPtr resultBuffer) __attribute__((deprecated));
# 200 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAOpenAnalysisContext(
LAEnvironmentRef environ,
LAContextRef * context) __attribute__((deprecated));
# 218 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LACloseAnalysisContext(LAContextRef context) __attribute__((deprecated));
# 237 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAGetEnvironmentList(
UInt32 maxCount,
UInt32 * actualCount,
LAEnvironmentRef environmentList[]) __attribute__((deprecated));
# 256 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAGetEnvironmentName(
LAEnvironmentRef environment,
Str63 environmentName) __attribute__((deprecated));
# 274 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAGetEnvironmentRef(
ConstStr63Param targetEnvironmentName,
LAEnvironmentRef * environment) __attribute__((deprecated));
# 292 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LACreateCustomEnvironment(
LAEnvironmentRef baseEnvironment,
ConstStr63Param newEnvironmentName,
Boolean persistent,
LAEnvironmentRef * newEnvironment) __attribute__((deprecated));
# 312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LADeleteCustomEnvironment(LAEnvironmentRef environment) __attribute__((deprecated));
# 331 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAOpenDictionary(
LAEnvironmentRef environ,
const FSSpec * dictionary) __attribute__((deprecated));
# 349 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LACloseDictionary(
LAEnvironmentRef environ,
const FSSpec * dictionary) __attribute__((deprecated));
# 367 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAListAvailableDictionaries(
LAEnvironmentRef environ,
ItemCount maxCount,
ItemCount * actualCount,
FSSpec dictionaryList[],
Boolean opened[]) __attribute__((deprecated));
# 388 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAAddNewWord(
LAEnvironmentRef environ,
const FSSpec * dictionary,
const AEDesc * dataList) __attribute__((deprecated));
# 410 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAMorphemeAnalysis(
LAContextRef context,
ConstUniCharArrayPtr text,
UniCharCount textLength,
LAMorphemePath * leadingPath,
LAMorphemePath * trailingPath,
ItemCount pathCount,
LAMorphemeBundle * result) __attribute__((deprecated));
# 433 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAContinuousMorphemeAnalysis(
LAContextRef context,
ConstUniCharArrayPtr text,
UniCharCount textLength,
Boolean incrementalText,
LAMorphemePath * leadingPath,
LAMorphemePath * trailingPath,
Boolean * modified) __attribute__((deprecated));
# 456 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAGetMorphemes(
LAContextRef context,
LAMorphemePath * result) __attribute__((deprecated));
# 474 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAShiftMorphemes(
LAContextRef context,
ItemCount morphemeCount,
LAMorphemePath * path,
UniCharCount * shiftedLength) __attribute__((deprecated));
# 494 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
extern OSStatus
LAResetAnalysis(LAContextRef context) __attribute__((deprecated));
# 514 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
#define LALanguageAnalysisAvailable() (true)
# 526 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
#define kLAJapaneseKanaKanjiEnvironment "\pKanaKanjiConversion"
#define kLAJapaneseMorphemeAnalysisEnvironment "\pJapaneseMorphemeAnalysis"
#define kLAJapaneseTTSEnvironment "\pJapaneseTextToSpeech"
enum {
kAppleJapaneseDictionarySignature = 'jlan'
};
enum {
kMaxInputLengthOfAppleJapaneseEngine = 200
};
typedef MorphemePartOfSpeech JapanesePartOfSpeech;
typedef UInt16 HomographWeight;
typedef UInt8 HomographAccent;
enum {
keyAEHomographDicInfo = 'lahd',
keyAEHomographWeight = 'lahw',
keyAEHomographAccent = 'laha'
};
enum {
typeAEHomographDicInfo = 'lahd',
typeAEHomographWeight = typeSInt16,
typeAEHomographAccent = 'laha'
};
struct HomographDicInfoRec {
DCMDictionaryID dictionaryID;
DCMUniqueID uniqueID;
};
typedef struct HomographDicInfoRec HomographDicInfoRec;
# 581 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LanguageAnalysis.h" 3
enum {
kLASpeechRoughClassMask = 0x0000F000,
kLASpeechMediumClassMask = 0x0000FF00,
kLASpeechStrictClassMask = 0x0000FFF0,
kLASpeechKatsuyouMask = 0x0000000F
};
enum {
kLASpeechMeishi = 0x00000000,
kLASpeechFutsuuMeishi = 0x00000000,
kLASpeechJinmei = 0x00000100,
kLASpeechJinmeiSei = 0x00000110,
kLASpeechJinmeiMei = 0x00000120,
kLASpeechChimei = 0x00000200,
kLASpeechSetsubiChimei = 0x00000210,
kLASpeechSoshikimei = 0x00000300,
kLASpeechKoyuuMeishi = 0x00000400,
kLASpeechSahenMeishi = 0x00000500,
kLASpeechKeidouMeishi = 0x00000600,
kLASpeechRentaishi = 0x00001000,
kLASpeechFukushi = 0x00002000,
kLASpeechSetsuzokushi = 0x00003000,
kLASpeechKandoushi = 0x00004000,
kLASpeechDoushi = 0x00005000,
kLASpeechGodanDoushi = 0x00005000,
kLASpeechKagyouGodan = 0x00005000,
kLASpeechSagyouGodan = 0x00005010,
kLASpeechTagyouGodan = 0x00005020,
kLASpeechNagyouGodan = 0x00005030,
kLASpeechMagyouGodan = 0x00005040,
kLASpeechRagyouGodan = 0x00005050,
kLASpeechWagyouGodan = 0x00005060,
kLASpeechGagyouGodan = 0x00005070,
kLASpeechBagyouGodan = 0x00005080,
kLASpeechIchidanDoushi = 0x00005100,
kLASpeechKahenDoushi = 0x00005200,
kLASpeechSahenDoushi = 0x00005300,
kLASpeechZahenDoushi = 0x00005400,
kLASpeechKeiyoushi = 0x00006000,
kLASpeechKeiyoudoushi = 0x00007000,
kLASpeechSettougo = 0x00008000,
kLASpeechSuujiSettougo = 0x00008100,
kLASpeechSetsubigo = 0x00009000,
kLASpeechJinmeiSetsubigo = 0x00009100,
kLASpeechChimeiSetsubigo = 0x00009200,
kLASpeechSoshikimeiSetsubigo = 0x00009300,
kLASpeechSuujiSetsubigo = 0x00009400,
kLASpeechMuhinshi = 0x0000A000,
kLASpeechTankanji = 0x0000A000,
kLASpeechKigou = 0x0000A100,
kLASpeechKuten = 0x0000A110,
kLASpeechTouten = 0x0000A120,
kLASpeechSuushi = 0x0000A200,
kLASpeechDokuritsugo = 0x0000A300,
kLASpeechSeiku = 0x0000A400,
kLASpeechJodoushi = 0x0000B000,
kLASpeechJoshi = 0x0000C000
};
enum {
kLASpeechKatsuyouGokan = 0x00000001,
kLASpeechKatsuyouMizen = 0x00000002,
kLASpeechKatsuyouRenyou = 0x00000003,
kLASpeechKatsuyouSyuushi = 0x00000004,
kLASpeechKatsuyouRentai = 0x00000005,
kLASpeechKatsuyouKatei = 0x00000006,
kLASpeechKatsuyouMeirei = 0x00000007
};
#pragma options align=reset
# 32 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LangAnalysis.h" 2 3
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
#define __SPEECHSYNTHESIS__
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
#pragma pack(push, 2)
enum {
kTextToSpeechSynthType = 'ttsc',
kTextToSpeechVoiceType = 'ttvd',
kTextToSpeechVoiceFileType = 'ttvf',
kTextToSpeechVoiceBundleType = 'ttvb'
};
enum {
kNoEndingProsody = 1,
kNoSpeechInterrupt = 2,
kPreflightThenPause = 4
};
enum {
kImmediate = 0,
kEndOfWord = 1,
kEndOfSentence = 2
};
enum {
soStatus = 'stat',
soErrors = 'erro',
soInputMode = 'inpt',
soCharacterMode = 'char',
soNumberMode = 'nmbr',
soRate = 'rate',
soPitchBase = 'pbas',
soPitchMod = 'pmod',
soVolume = 'volm',
soSynthType = 'vers',
soRecentSync = 'sync',
soPhonemeSymbols = 'phsy',
soCurrentVoice = 'cvox',
soCommandDelimiter = 'dlim',
soReset = 'rset',
soCurrentA5 = 'myA5',
soRefCon = 'refc',
soTextDoneCallBack = 'tdcb',
soSpeechDoneCallBack = 'sdcb',
soSyncCallBack = 'sycb',
soErrorCallBack = 'ercb',
soPhonemeCallBack = 'phcb',
soWordCallBack = 'wdcb',
soSynthExtension = 'xtnd',
soSoundOutput = 'sndo',
soOutputToFileWithCFURL = 'opaf'
};
enum {
kSpeechImmediateBoundary = 0,
kSpeechWordBoundary = 1,
kSpeechSentenceBoundary = 2
};
typedef UInt32 SpeechBoundary;
enum {
modeText = 'TEXT',
modePhonemes = 'PHON',
modeNormal = 'NORM',
modeLiteral = 'LTRL'
};
enum {
soVoiceDescription = 'info',
soVoiceFile = 'fref'
};
enum {
kAudioUnitSubType_SpeechSynthesis = 'ttsp',
kAudioUnitProperty_Voice = 3330,
kAudioUnitProperty_SpeechChannel = 3331
};
struct SpeechChannelRecord {
long data[1];
};
typedef struct SpeechChannelRecord SpeechChannelRecord;
typedef SpeechChannelRecord * SpeechChannel;
struct VoiceSpec {
OSType creator;
OSType id;
};
typedef struct VoiceSpec VoiceSpec;
typedef VoiceSpec * VoiceSpecPtr;
enum {
kNeuter = 0,
kMale = 1,
kFemale = 2
};
struct VoiceDescription {
SInt32 length;
VoiceSpec voice;
SInt32 version;
Str63 name;
Str255 comment;
SInt16 gender;
SInt16 age;
SInt16 script;
SInt16 language;
SInt16 region;
SInt32 reserved[4];
};
typedef struct VoiceDescription VoiceDescription;
struct VoiceFileInfo {
FSSpec fileSpec;
SInt16 resID;
};
typedef struct VoiceFileInfo VoiceFileInfo;
struct SpeechStatusInfo {
Boolean outputBusy;
Boolean outputPaused;
long inputBytesLeft;
SInt16 phonemeCode;
};
typedef struct SpeechStatusInfo SpeechStatusInfo;
struct SpeechErrorInfo {
SInt16 count;
OSErr oldest;
long oldPos;
OSErr newest;
long newPos;
};
typedef struct SpeechErrorInfo SpeechErrorInfo;
struct SpeechVersionInfo {
OSType synthType;
OSType synthSubType;
OSType synthManufacturer;
SInt32 synthFlags;
NumVersion synthVersion;
};
typedef struct SpeechVersionInfo SpeechVersionInfo;
struct PhonemeInfo {
SInt16 opcode;
Str15 phStr;
Str31 exampleStr;
SInt16 hiliteStart;
SInt16 hiliteEnd;
};
typedef struct PhonemeInfo PhonemeInfo;
struct PhonemeDescriptor {
SInt16 phonemeCount;
PhonemeInfo thePhonemes[1];
};
typedef struct PhonemeDescriptor PhonemeDescriptor;
struct SpeechXtndData {
OSType synthCreator;
Byte synthData[2];
};
typedef struct SpeechXtndData SpeechXtndData;
struct DelimiterInfo {
Byte startDelimiter[2];
Byte endDelimiter[2];
};
typedef struct DelimiterInfo DelimiterInfo;
# 238 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechStatusProperty ;
# 247 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorsProperty ;
# 256 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechInputModeProperty ;
# 265 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechCharacterModeProperty ;
# 274 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechNumberModeProperty ;
# 283 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechRateProperty ;
# 292 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPitchBaseProperty ;
# 301 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPitchModProperty ;
# 310 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechVolumeProperty ;
# 319 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSynthesizerInfoProperty ;
# 328 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechRecentSyncProperty ;
# 337 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeSymbolsProperty ;
# 346 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechCurrentVoiceProperty ;
# 355 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechCommandDelimiterProperty ;
# 364 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechResetProperty ;
# 373 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechOutputToFileURLProperty ;
# 382 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechRefConProperty ;
# 391 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechTextDoneCallBack ;
# 400 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSpeechDoneCallBack ;
# 409 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSyncCallBack ;
# 418 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeCallBack ;
# 427 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorCFCallBack ;
# 436 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechWordCFCallBack ;
# 446 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechModeText ;
# 455 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechModePhoneme ;
# 464 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechModeNormal ;
# 473 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechModeLiteral ;
# 483 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechNoEndingProsody ;
# 492 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechNoSpeechInterrupt ;
# 501 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPreflightThenPause ;
# 511 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechStatusOutputBusy ;
# 520 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechStatusOutputPaused ;
# 529 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechStatusNumberOfCharactersLeft ;
# 538 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechStatusPhonemeCode ;
# 548 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorCount ;
# 557 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorOldest ;
# 566 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorOldestCharacterOffset ;
# 575 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorNewest ;
# 584 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorNewestCharacterOffset ;
# 594 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSynthesizerInfoIdentifier ;
# 603 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSynthesizerInfoManufacturer ;
# 612 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSynthesizerInfoVersion ;
# 622 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeInfoOpcode ;
# 631 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeInfoSymbol ;
# 640 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeInfoExample ;
# 649 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeInfoHiliteStart ;
# 658 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeInfoHiliteEnd ;
# 668 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechVoiceCreator ;
# 677 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechVoiceID ;
# 687 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechCommandPrefix ;
# 696 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechCommandSuffix ;
# 706 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryLocaleIdentifier ;
# 715 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryModificationDate ;
# 724 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryPronunciations ;
# 733 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryAbbreviations ;
# 742 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryEntrySpelling ;
# 751 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryEntryPhonemes ;
# 761 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorCallbackSpokenString ;
# 770 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorCallbackCharacterOffset ;
typedef void ( * SpeechTextDoneProcPtr)(SpeechChannel chan, SRefCon refCon, const void **nextBuf, unsigned long *byteLen, SInt32 *controlFlags);
typedef void ( * SpeechDoneProcPtr)(SpeechChannel chan, SRefCon refCon);
typedef void ( * SpeechSyncProcPtr)(SpeechChannel chan, SRefCon refCon, OSType syncMessage);
typedef void ( * SpeechErrorProcPtr)(SpeechChannel chan, SRefCon refCon, OSErr theError, long bytePos);
typedef void ( * SpeechPhonemeProcPtr)(SpeechChannel chan, SRefCon refCon, SInt16 phonemeOpcode);
typedef void ( * SpeechWordProcPtr)(SpeechChannel chan, SRefCon refCon, unsigned long wordPos, UInt16 wordLen);
typedef SpeechTextDoneProcPtr SpeechTextDoneUPP;
typedef SpeechDoneProcPtr SpeechDoneUPP;
typedef SpeechSyncProcPtr SpeechSyncUPP;
typedef SpeechErrorProcPtr SpeechErrorUPP;
typedef SpeechPhonemeProcPtr SpeechPhonemeUPP;
typedef SpeechWordProcPtr SpeechWordUPP;
# 792 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechTextDoneUPP
NewSpeechTextDoneUPP(SpeechTextDoneProcPtr userRoutine) ;
# 803 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechDoneUPP
NewSpeechDoneUPP(SpeechDoneProcPtr userRoutine) ;
# 814 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechSyncUPP
NewSpeechSyncUPP(SpeechSyncProcPtr userRoutine) ;
# 825 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechErrorUPP
NewSpeechErrorUPP(SpeechErrorProcPtr userRoutine) ;
# 836 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechPhonemeUPP
NewSpeechPhonemeUPP(SpeechPhonemeProcPtr userRoutine) ;
# 847 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechWordUPP
NewSpeechWordUPP(SpeechWordProcPtr userRoutine) ;
# 858 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechTextDoneUPP(SpeechTextDoneUPP userUPP) ;
# 869 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechDoneUPP(SpeechDoneUPP userUPP) ;
# 880 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechSyncUPP(SpeechSyncUPP userUPP) ;
# 891 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechErrorUPP(SpeechErrorUPP userUPP) ;
# 902 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechPhonemeUPP(SpeechPhonemeUPP userUPP) ;
# 913 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechWordUPP(SpeechWordUPP userUPP) ;
# 924 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechTextDoneUPP(
SpeechChannel chan,
SRefCon refCon,
const void ** nextBuf,
unsigned long * byteLen,
SInt32 * controlFlags,
SpeechTextDoneUPP userUPP) ;
# 941 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechDoneUPP(
SpeechChannel chan,
SRefCon refCon,
SpeechDoneUPP userUPP) ;
# 955 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechSyncUPP(
SpeechChannel chan,
SRefCon refCon,
OSType syncMessage,
SpeechSyncUPP userUPP) ;
# 970 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechErrorUPP(
SpeechChannel chan,
SRefCon refCon,
OSErr theError,
long bytePos,
SpeechErrorUPP userUPP) ;
# 986 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechPhonemeUPP(
SpeechChannel chan,
SRefCon refCon,
SInt16 phonemeOpcode,
SpeechPhonemeUPP userUPP) ;
# 1001 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechWordUPP(
SpeechChannel chan,
SRefCon refCon,
unsigned long wordPos,
UInt16 wordLen,
SpeechWordUPP userUPP) ;
# 1030 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
#define NewSpeechTextDoneUPP(userRoutine) ((SpeechTextDoneUPP)userRoutine)
#define NewSpeechDoneUPP(userRoutine) ((SpeechDoneUPP)userRoutine)
#define NewSpeechSyncUPP(userRoutine) ((SpeechSyncUPP)userRoutine)
#define NewSpeechErrorUPP(userRoutine) ((SpeechErrorUPP)userRoutine)
#define NewSpeechPhonemeUPP(userRoutine) ((SpeechPhonemeUPP)userRoutine)
#define NewSpeechWordUPP(userRoutine) ((SpeechWordUPP)userRoutine)
#define DisposeSpeechTextDoneUPP(userUPP)
#define DisposeSpeechDoneUPP(userUPP)
#define DisposeSpeechSyncUPP(userUPP)
#define DisposeSpeechErrorUPP(userUPP)
#define DisposeSpeechPhonemeUPP(userUPP)
#define DisposeSpeechWordUPP(userUPP)
#define InvokeSpeechTextDoneUPP(chan,refCon,nextBuf,byteLen,controlFlags,userUPP) (*userUPP)(chan, refCon, nextBuf, byteLen, controlFlags)
#define InvokeSpeechDoneUPP(chan,refCon,userUPP) (*userUPP)(chan, refCon)
#define InvokeSpeechSyncUPP(chan,refCon,syncMessage,userUPP) (*userUPP)(chan, refCon, syncMessage)
#define InvokeSpeechErrorUPP(chan,refCon,theError,bytePos,userUPP) (*userUPP)(chan, refCon, theError, bytePos)
#define InvokeSpeechPhonemeUPP(chan,refCon,phonemeOpcode,userUPP) (*userUPP)(chan, refCon, phonemeOpcode)
#define InvokeSpeechWordUPP(chan,refCon,wordPos,wordLen,userUPP) (*userUPP)(chan, refCon, wordPos, wordLen)
typedef void ( * SpeechErrorCFProcPtr)(SpeechChannel chan, SRefCon refCon, CFErrorRef theError);
typedef void ( * SpeechWordCFProcPtr)(SpeechChannel chan, SRefCon refCon, CFStringRef aString, CFRange wordRange);
# 1062 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern NumVersion
SpeechManagerVersion(void) ;
# 1074 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
MakeVoiceSpec(
OSType creator,
OSType id,
VoiceSpec * voice) ;
# 1089 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
CountVoices(SInt16 * numVoices) ;
# 1101 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetIndVoice(
SInt16 index,
VoiceSpec * voice) ;
# 1115 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetVoiceDescription(
const VoiceSpec * voice,
VoiceDescription * info,
long infoLength) ;
# 1130 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetVoiceInfo(
const VoiceSpec * voice,
OSType selector,
void * voiceInfo) ;
# 1145 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
NewSpeechChannel(
VoiceSpec * voice,
SpeechChannel * chan) ;
# 1159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
DisposeSpeechChannel(SpeechChannel chan) ;
# 1171 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SpeakString(ConstStr255Param textToBeSpoken) ;
# 1183 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SpeakText(
SpeechChannel chan,
const void * textBuf,
unsigned long textBytes) ;
# 1198 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SpeakBuffer(
SpeechChannel chan,
const void * textBuf,
unsigned long textBytes,
SInt32 controlFlags) ;
# 1214 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
StopSpeech(SpeechChannel chan) ;
# 1226 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
StopSpeechAt(
SpeechChannel chan,
SInt32 whereToStop) ;
# 1240 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
PauseSpeechAt(
SpeechChannel chan,
SInt32 whereToPause) ;
# 1254 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
ContinueSpeech(SpeechChannel chan) ;
# 1266 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SInt16
SpeechBusy(void) ;
# 1278 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SInt16
SpeechBusySystemWide(void) ;
# 1290 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SetSpeechRate(
SpeechChannel chan,
Fixed rate) ;
# 1304 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetSpeechRate(
SpeechChannel chan,
Fixed * rate) ;
# 1318 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SetSpeechPitch(
SpeechChannel chan,
Fixed pitch) ;
# 1332 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetSpeechPitch(
SpeechChannel chan,
Fixed * pitch) ;
# 1346 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SetSpeechInfo(
SpeechChannel chan,
OSType selector,
const void * speechInfo) ;
# 1361 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetSpeechInfo(
SpeechChannel chan,
OSType selector,
void * speechInfo) ;
# 1376 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
TextToPhonemes(
SpeechChannel chan,
const void * textBuf,
unsigned long textBytes,
Handle phonemeBuf,
long * phonemeBytes) ;
# 1393 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
UseDictionary(
SpeechChannel chan,
Handle dictionary) ;
# 1408 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SpeakCFString(
SpeechChannel chan,
CFStringRef aString,
CFDictionaryRef options) ;
# 1424 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
UseSpeechDictionary(
SpeechChannel chan,
CFDictionaryRef speechDictionary) ;
# 1439 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
CopyPhonemesFromText(
SpeechChannel chan,
CFStringRef text,
CFStringRef * phonemes) ;
# 1455 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
CopySpeechProperty(
SpeechChannel chan,
CFStringRef property,
CFTypeRef * object) ;
# 1471 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SetSpeechProperty(
SpeechChannel chan,
CFStringRef property,
CFTypeRef object) ;
#pragma pack(pop)
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 3
#define __CORETEXT__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
#define __CTFONT__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
#define __CTFONTDESCRIPTOR__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
#define __CTFONTTRAITS__
# 32 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
extern const CFStringRef kCTFontSymbolicTrait ;
# 41 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
extern const CFStringRef kCTFontWeightTrait ;
# 52 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
extern const CFStringRef kCTFontWidthTrait ;
# 62 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
extern const CFStringRef kCTFontSlantTrait ;
enum {
kCTFontClassMaskShift = 28
};
# 86 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
enum {
kCTFontItalicTrait = (1 << 0),
kCTFontBoldTrait = (1 << 1),
kCTFontExpandedTrait = (1 << 5),
kCTFontCondensedTrait = (1 << 6),
kCTFontMonoSpaceTrait = (1 << 10),
kCTFontVerticalTrait = (1 << 11),
kCTFontUIOptimizedTrait = (1 << 12),
kCTFontClassMaskTrait = (15 << kCTFontClassMaskShift)
};
typedef uint32_t CTFontSymbolicTraits;
# 108 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
enum {
kCTFontUnknownClass = (0 << kCTFontClassMaskShift),
kCTFontOldStyleSerifsClass = (1 << kCTFontClassMaskShift),
kCTFontTransitionalSerifsClass = (2 << kCTFontClassMaskShift),
kCTFontModernSerifsClass = (3 << kCTFontClassMaskShift),
kCTFontClarendonSerifsClass = (4 << kCTFontClassMaskShift),
kCTFontSlabSerifsClass = (5 << kCTFontClassMaskShift),
kCTFontFreeformSerifsClass = (7 << kCTFontClassMaskShift),
kCTFontSansSerifClass = (8 << kCTFontClassMaskShift),
kCTFontOrnamentalsClass = (9 << kCTFontClassMaskShift),
kCTFontScriptsClass = (10 << kCTFontClassMaskShift),
kCTFontSymbolicClass = (12 << kCTFontClassMaskShift)
};
typedef uint32_t CTFontStylisticClass;
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 1 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 2 3
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
typedef const struct __CTFontDescriptor * CTFontDescriptorRef;
# 52 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontNameAttribute ;
# 61 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontDisplayNameAttribute ;
extern const CFStringRef kCTFontFamilyNameAttribute ;
# 78 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontStyleNameAttribute ;
extern const CFStringRef kCTFontTraitsAttribute ;
# 95 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontVariationAttribute ;
extern const CFStringRef kCTFontSizeAttribute ;
extern const CFStringRef kCTFontMatrixAttribute ;
# 120 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontCascadeListAttribute ;
# 130 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontCharacterSetAttribute ;
# 141 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontLanguagesAttribute ;
# 151 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontBaselineAdjustAttribute ;
# 160 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontMacintoshEncodingsAttribute ;
# 170 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontFeaturesAttribute ;
# 184 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontFeatureSettingsAttribute ;
# 193 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontFixedAdvanceAttribute ;
# 203 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontOrientationAttribute ;
enum {
kCTFontDefaultOrientation = 0,
kCTFontHorizontalOrientation = 1,
kCTFontVerticalOrientation = 2
};
typedef uint32_t CTFontOrientation;
# 237 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateWithNameAndSize(
CFStringRef name,
CGFloat size ) ;
# 255 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateWithAttributes(
CFDictionaryRef attributes ) ;
# 274 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateCopyWithAttributes(
CTFontDescriptorRef original,
CFDictionaryRef attributes ) ;
# 297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateCopyWithVariation(
CTFontDescriptorRef original,
CFNumberRef variationIdentifier,
CGFloat variationValue ) ;
# 319 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateCopyWithFeature(
CTFontDescriptorRef original,
CFNumberRef featureTypeIdentifier,
CFNumberRef featureSelectorIdentifier ) ;
# 341 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CFArrayRef CTFontDescriptorCreateMatchingFontDescriptors(
CTFontDescriptorRef descriptor,
CFSetRef mandatoryAttributes ) ;
# 362 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateMatchingFontDescriptor(
CTFontDescriptorRef descriptor,
CFSetRef mandatoryAttributes ) ;
# 382 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CFDictionaryRef CTFontDescriptorCopyAttributes(
CTFontDescriptorRef descriptor ) ;
# 400 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CFTypeRef CTFontDescriptorCopyAttribute(
CTFontDescriptorRef descriptor,
CFStringRef attribute ) ;
# 426 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CFTypeRef CTFontDescriptorCopyLocalizedAttribute(
CTFontDescriptorRef descriptor,
CFStringRef attribute,
CFStringRef *language) ;
# 441 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CFTypeID CTFontDescriptorGetTypeID( void ) ;
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 1 3
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 1 3
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 1 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 2 3
# 38 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
typedef const struct __CTFont * CTFontRef;
# 49 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontCopyrightNameKey ;
extern const CFStringRef kCTFontFamilyNameKey ;
extern const CFStringRef kCTFontSubFamilyNameKey ;
extern const CFStringRef kCTFontStyleNameKey ;
extern const CFStringRef kCTFontUniqueNameKey ;
extern const CFStringRef kCTFontFullNameKey ;
extern const CFStringRef kCTFontVersionNameKey ;
extern const CFStringRef kCTFontPostScriptNameKey ;
extern const CFStringRef kCTFontTrademarkNameKey ;
extern const CFStringRef kCTFontManufacturerNameKey ;
extern const CFStringRef kCTFontDesignerNameKey ;
extern const CFStringRef kCTFontDescriptionNameKey ;
extern const CFStringRef kCTFontVendorURLNameKey ;
extern const CFStringRef kCTFontDesignerURLNameKey ;
extern const CFStringRef kCTFontLicenseNameKey ;
extern const CFStringRef kCTFontLicenseURLNameKey ;
extern const CFStringRef kCTFontSampleTextNameKey ;
extern const CFStringRef kCTFontPostScriptCIDNameKey ;
# 165 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateWithName(
CFStringRef name,
CGFloat size,
const CGAffineTransform *matrix ) ;
# 194 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateWithFontDescriptor(
CTFontDescriptorRef descriptor,
CGFloat size,
const CGAffineTransform *matrix ) ;
# 207 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
enum {
kCTFontNoFontType = (uint32_t)-1,
kCTFontUserFontType = 0,
kCTFontUserFixedPitchFontType = 1,
kCTFontSystemFontType = 2,
kCTFontEmphasizedSystemFontType = 3,
kCTFontSmallSystemFontType = 4,
kCTFontSmallEmphasizedSystemFontType = 5,
kCTFontMiniSystemFontType = 6,
kCTFontMiniEmphasizedSystemFontType = 7,
kCTFontViewsFontType = 8,
kCTFontApplicationFontType = 9,
kCTFontLabelFontType = 10,
kCTFontMenuTitleFontType = 11,
kCTFontMenuItemFontType = 12,
kCTFontMenuItemMarkFontType = 13,
kCTFontMenuItemCmdKeyFontType = 14,
kCTFontWindowTitleFontType = 15,
kCTFontPushButtonFontType = 16,
kCTFontUtilityWindowTitleFontType = 17,
kCTFontAlertHeaderFontType = 18,
kCTFontSystemDetailFontType = 19,
kCTFontEmphasizedSystemDetailFontType = 20,
kCTFontToolbarFontType = 21,
kCTFontSmallToolbarFontType = 22,
kCTFontMessageFontType = 23,
kCTFontPaletteFontType = 24,
kCTFontToolTipFontType = 25,
kCTFontControlContentFontType = 26
};
typedef uint32_t CTFontUIFontType;
# 260 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateUIFontForLanguage(
CTFontUIFontType uiType,
CGFloat size,
CFStringRef language ) ;
# 291 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateCopyWithAttributes(
CTFontRef font,
CGFloat size,
const CGAffineTransform *matrix,
CTFontDescriptorRef attributes ) ;
# 325 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateCopyWithSymbolicTraits(
CTFontRef font,
CGFloat size,
const CGAffineTransform *matrix,
CTFontSymbolicTraits symTraitValue,
CTFontSymbolicTraits symTraitMask ) ;
# 354 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateCopyWithFamily(
CTFontRef font,
CGFloat size,
const CGAffineTransform *matrix,
CFStringRef family ) ;
# 385 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateForString(
CTFontRef currentFont,
CFStringRef string,
CFRange range ) ;
# 406 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontDescriptorRef CTFontCopyFontDescriptor(
CTFontRef font ) ;
# 424 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFTypeRef CTFontCopyAttribute(
CTFontRef font,
CFStringRef attribute ) ;
# 438 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetSize( CTFontRef font ) ;
# 451 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGAffineTransform CTFontGetMatrix( CTFontRef font ) ;
# 464 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontSymbolicTraits CTFontGetSymbolicTraits( CTFontRef font ) ;
# 478 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFDictionaryRef CTFontCopyTraits( CTFontRef font ) ;
# 494 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyPostScriptName( CTFontRef font ) ;
# 506 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyFamilyName( CTFontRef font ) ;
# 518 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyFullName( CTFontRef font ) ;
# 530 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyDisplayName( CTFontRef font ) ;
# 547 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyName(
CTFontRef font,
CFStringRef nameKey ) ;
# 572 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyLocalizedName(
CTFontRef font,
CFStringRef nameKey,
CFStringRef *language ) ;
# 592 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFCharacterSetRef CTFontCopyCharacterSet( CTFontRef font ) ;
# 603 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringEncoding CTFontGetStringEncoding( CTFontRef font ) ;
# 617 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFArrayRef CTFontCopySupportedLanguages( CTFontRef font ) ;
# 645 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
Boolean CTFontGetGlyphsForCharacters(
CTFontRef font,
const UniChar characters[],
CGGlyph glyphs[],
CFIndex count ) ;
# 665 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetAscent( CTFontRef font ) ;
# 677 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetDescent( CTFontRef font ) ;
# 689 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetLeading( CTFontRef font ) ;
# 700 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
unsigned CTFontGetUnitsPerEm( CTFontRef font ) ;
# 711 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFIndex CTFontGetGlyphCount( CTFontRef font ) ;
# 724 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGRect CTFontGetBoundingBox( CTFontRef font ) ;
# 736 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetUnderlinePosition( CTFontRef font ) ;
# 748 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetUnderlineThickness( CTFontRef font ) ;
# 761 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetSlantAngle( CTFontRef font ) ;
# 773 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetCapHeight( CTFontRef font ) ;
# 785 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetXHeight( CTFontRef font ) ;
# 806 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGGlyph CTFontGetGlyphWithName(
CTFontRef font,
CFStringRef glyphName ) ;
# 839 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGRect CTFontGetBoundingRectsForGlyphs(
CTFontRef font,
CTFontOrientation orientation,
const CGGlyph glyphs[],
CGRect boundingRects[],
CFIndex count ) ;
# 874 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
double CTFontGetAdvancesForGlyphs(
CTFontRef font,
CTFontOrientation orientation,
const CGGlyph glyphs[],
CGSize advances[],
CFIndex count ) ;
# 899 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
void CTFontGetVerticalTranslationsForGlyphs(
CTFontRef font,
const CGGlyph glyphs[],
CGSize translations[],
CFIndex count ) ;
# 928 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGPathRef CTFontCreatePathForGlyph(
CTFontRef font,
CGGlyph glyph,
const CGAffineTransform * transform ) ;
# 942 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontVariationAxisIdentifierKey ;
extern const CFStringRef kCTFontVariationAxisMinimumValueKey ;
extern const CFStringRef kCTFontVariationAxisMaximumValueKey ;
extern const CFStringRef kCTFontVariationAxisDefaultValueKey ;
extern const CFStringRef kCTFontVariationAxisNameKey ;
# 983 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFArrayRef CTFontCopyVariationAxes( CTFontRef font ) ;
# 997 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFDictionaryRef CTFontCopyVariation( CTFontRef font ) ;
# 1008 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontFeatureTypeIdentifierKey ;
extern const CFStringRef kCTFontFeatureTypeNameKey ;
# 1024 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontFeatureTypeExclusiveKey ;
# 1033 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontFeatureTypeSelectorsKey ;
extern const CFStringRef kCTFontFeatureSelectorIdentifierKey ;
extern const CFStringRef kCTFontFeatureSelectorNameKey ;
# 1057 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontFeatureSelectorDefaultKey ;
# 1066 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontFeatureSelectorSettingKey ;
# 1078 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFArrayRef CTFontCopyFeatures( CTFontRef font ) ;
# 1097 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFArrayRef CTFontCopyFeatureSettings( CTFontRef font ) ;
# 1120 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFontRef CTFontCopyGraphicsFont(
CTFontRef font,
CTFontDescriptorRef *attributes ) ;
# 1147 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateWithGraphicsFont(
CGFontRef graphicsFont,
CGFloat size,
const CGAffineTransform *matrix,
CTFontDescriptorRef attributes ) ;
# 1169 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
ATSFontRef CTFontGetPlatformFont(
CTFontRef font,
CTFontDescriptorRef *attributes ) ;
# 1195 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateWithPlatformFont(
ATSFontRef platformFont,
CGFloat size,
const CGAffineTransform *matrix,
CTFontDescriptorRef attributes ) ;
# 1225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateWithQuickdrawInstance(
ConstStr255Param name,
int16_t identifier,
uint8_t style,
CGFloat size ) ;
enum {
kCTFontTableBASE = 'BASE',
kCTFontTableCFF = 'CFF ',
kCTFontTableDSIG = 'DSIG',
kCTFontTableEBDT = 'EBDT',
kCTFontTableEBLC = 'EBLC',
kCTFontTableEBSC = 'EBSC',
kCTFontTableGDEF = 'GDEF',
kCTFontTableGPOS = 'GPOS',
kCTFontTableGSUB = 'GSUB',
kCTFontTableJSTF = 'JSTF',
kCTFontTableLTSH = 'LTSH',
kCTFontTableOS2 = 'OS/2',
kCTFontTablePCLT = 'PCLT',
kCTFontTableVDMX = 'VDMX',
kCTFontTableVORG = 'VORG',
kCTFontTableZapf = 'Zapf',
kCTFontTableAcnt = 'acnt',
kCTFontTableAvar = 'avar',
kCTFontTableBdat = 'bdat',
kCTFontTableBhed = 'bhed',
kCTFontTableBloc = 'bloc',
kCTFontTableBsln = 'bsln',
kCTFontTableCmap = 'cmap',
kCTFontTableCvar = 'cvar',
kCTFontTableCvt = 'cvt ',
kCTFontTableFdsc = 'fdsc',
kCTFontTableFeat = 'feat',
kCTFontTableFmtx = 'fmtx',
kCTFontTableFpgm = 'fpgm',
kCTFontTableFvar = 'fvar',
kCTFontTableGasp = 'gasp',
kCTFontTableGlyf = 'glyf',
kCTFontTableGvar = 'gvar',
kCTFontTableHdmx = 'hdmx',
kCTFontTableHead = 'head',
kCTFontTableHhea = 'hhea',
kCTFontTableHmtx = 'hmtx',
kCTFontTableHsty = 'hsty',
kCTFontTableJust = 'just',
kCTFontTableKern = 'kern',
kCTFontTableLcar = 'lcar',
kCTFontTableLoca = 'loca',
kCTFontTableMaxp = 'maxp',
kCTFontTableMort = 'mort',
kCTFontTableMorx = 'morx',
kCTFontTableName = 'name',
kCTFontTableOpbd = 'opbd',
kCTFontTablePost = 'post',
kCTFontTablePrep = 'prep',
kCTFontTableProp = 'prop',
kCTFontTableTrak = 'trak',
kCTFontTableVhea = 'vhea',
kCTFontTableVmtx = 'vmtx'
};
typedef uint32_t CTFontTableTag;
enum {
kCTFontTableOptionNoOptions = 0,
kCTFontTableOptionExcludeSynthetic = (1 << 0)
};
typedef uint32_t CTFontTableOptions;
# 1312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFArrayRef CTFontCopyAvailableTables(
CTFontRef font,
CTFontTableOptions options ) ;
# 1332 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFDataRef CTFontCopyTable(
CTFontRef font,
CTFontTableTag table,
CTFontTableOptions options ) ;
# 1346 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFTypeID CTFontGetTypeID( void ) ;
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
#define __CTFONTCOLLECTION__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 2 3
# 32 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
typedef const struct __CTFontCollection * CTFontCollectionRef;
# 41 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
typedef CFComparisonResult (*CTFontCollectionSortDescriptorsCallback)(CTFontDescriptorRef first, CTFontDescriptorRef second, void *refCon);
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
extern const CFStringRef kCTFontCollectionRemoveDuplicatesOption ;
# 70 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CTFontCollectionRef CTFontCollectionCreateFromAvailableFonts( CFDictionaryRef options ) ;
# 87 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CTFontCollectionRef CTFontCollectionCreateWithFontDescriptors(
CFArrayRef descriptors,
CFDictionaryRef options ) ;
# 111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CTFontCollectionRef CTFontCollectionCreateCopyWithFontDescriptors(
CTFontCollectionRef original,
CFArrayRef descriptors,
CFDictionaryRef options ) ;
# 130 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CFArrayRef CTFontCollectionCreateMatchingFontDescriptors( CTFontCollectionRef collection ) ;
# 150 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CFArrayRef CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(
CTFontCollectionRef collection,
CTFontCollectionSortDescriptorsCallback sortCallback,
void *refCon) ;
# 165 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CFTypeID CTFontCollectionGetTypeID( void ) ;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 1 3
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
#define __CTFRAME__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 2 3
# 27 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
typedef const struct __CTFrame * CTFrameRef;
CFTypeID CTFrameGetTypeID( void ) ;
# 59 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
enum
{
kCTFrameProgressionTopToBottom = 0,
kCTFrameProgressionRightToLeft = 1
};
typedef uint32_t CTFrameProgression;
# 77 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
extern const CFStringRef kCTFrameProgressionAttributeName ;
# 98 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
CFRange CTFrameGetStringRange(
CTFrameRef frame ) ;
# 121 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
CFRange CTFrameGetVisibleStringRange(
CTFrameRef frame ) ;
# 133 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
CGPathRef CTFrameGetPath(
CTFrameRef frame ) ;
# 155 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
CFDictionaryRef CTFrameGetFrameAttributes(
CTFrameRef frame ) ;
# 177 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
CFArrayRef CTFrameGetLines(
CTFrameRef frame ) ;
# 212 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
void CTFrameGetLineOrigins(
CTFrameRef frame,
CFRange range,
CGPoint origins[] ) ;
# 236 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
void CTFrameDraw(
CTFrameRef frame,
CGContextRef context ) ;
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 3
#define __CTFRAMESETTER__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
#define __CTTYPESETTER__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
#define __CTLINE__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 2 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
typedef const struct __CTLine * CTLineRef;
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
enum
{
kCTLineTruncationStart = 0,
kCTLineTruncationEnd = 1,
kCTLineTruncationMiddle = 2
};
typedef uint32_t CTLineTruncationType;
CFTypeID CTLineGetTypeID( void ) ;
# 86 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CTLineRef CTLineCreateWithAttributedString(
CFAttributedStringRef string ) ;
# 119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CTLineRef CTLineCreateTruncatedLine(
CTLineRef line,
double width,
CTLineTruncationType truncationType,
CTLineRef truncationToken ) ;
# 150 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CTLineRef CTLineCreateJustifiedLine(
CTLineRef line,
CGFloat justificationFactor,
double justificationWidth ) ;
# 173 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CFIndex CTLineGetGlyphCount(
CTLineRef line ) ;
# 187 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CFArrayRef CTLineGetGlyphRuns(
CTLineRef line ) ;
# 204 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CFRange CTLineGetStringRange(
CTLineRef line ) ;
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
double CTLineGetPenOffsetForFlush(
CTLineRef line,
CGFloat flushFactor,
double flushWidth ) ;
# 252 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
void CTLineDraw(
CTLineRef line,
CGContextRef context ) ;
# 278 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CGRect CTLineGetImageBounds(
CTLineRef line,
CGContextRef context ) ;
# 306 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
double CTLineGetTypographicBounds(
CTLineRef line,
CGFloat* ascent,
CGFloat* descent,
CGFloat* leading ) ;
# 329 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
double CTLineGetTrailingWhitespaceWidth(
CTLineRef line ) ;
# 360 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CFIndex CTLineGetStringIndexForPosition(
CTLineRef line,
CGPoint position ) ;
# 397 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CGFloat CTLineGetOffsetForStringIndex(
CTLineRef line,
CFIndex charIndex,
CGFloat* secondaryOffset ) ;
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 2 3
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
typedef const struct __CTTypesetter * CTTypesetterRef;
CFTypeID CTTypesetterGetTypeID( void ) ;
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
extern const CFStringRef kCTTypesetterOptionDisableBidiProcessing;
# 71 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
CTTypesetterRef CTTypesetterCreateWithAttributedString(
CFAttributedStringRef string ) ;
# 95 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
CTTypesetterRef CTTypesetterCreateWithAttributedStringAndOptions(
CFAttributedStringRef string,
CFDictionaryRef options ) ;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
CTLineRef CTTypesetterCreateLine(
CTTypesetterRef typesetter,
CFRange stringRange ) ;
# 159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
CFIndex CTTypesetterSuggestLineBreak(
CTTypesetterRef typesetter,
CFIndex startIndex,
double width ) ;
# 194 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
CFIndex CTTypesetterSuggestClusterBreak(
CTTypesetterRef typesetter,
CFIndex startIndex,
double width ) ;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 2 3
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 3
typedef const struct __CTFramesetter * CTFramesetterRef;
CFTypeID CTFramesetterGetTypeID( void ) ;
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 3
CTFramesetterRef CTFramesetterCreateWithAttributedString(
CFAttributedStringRef string ) ;
# 93 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 3
CTFrameRef CTFramesetterCreateFrame(
CTFramesetterRef framesetter,
CFRange stringRange,
CGPathRef path,
CFDictionaryRef frameAttributes ) ;
# 119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 3
CTTypesetterRef CTFramesetterGetTypesetter(
CTFramesetterRef framesetter ) ;
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
#define __CTGLYPHINFO__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 2 3
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
typedef const struct __CTGlyphInfo * CTGlyphInfoRef;
CFTypeID CTGlyphInfoGetTypeID( void ) ;
# 60 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
enum
{
kCTIdentityMappingCharacterCollection = 0,
kCTAdobeCNS1CharacterCollection = 1,
kCTAdobeGB1CharacterCollection = 2,
kCTAdobeJapan1CharacterCollection = 3,
kCTAdobeJapan2CharacterCollection = 4,
kCTAdobeKorea1CharacterCollection = 5
};
typedef uint16_t CTCharacterCollection;
# 98 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CTGlyphInfoRef CTGlyphInfoCreateWithGlyphName(
CFStringRef glyphName,
CTFontRef font,
CFStringRef baseString ) ;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CTGlyphInfoRef CTGlyphInfoCreateWithGlyph(
CGGlyph glyph,
CTFontRef font,
CFStringRef baseString ) ;
# 154 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CTGlyphInfoRef CTGlyphInfoCreateWithCharacterIdentifier(
CGFontIndex cid,
CTCharacterCollection collection,
CFStringRef baseString ) ;
# 178 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CFStringRef CTGlyphInfoGetGlyphName(
CTGlyphInfoRef glyphInfo ) ;
# 196 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CGFontIndex CTGlyphInfoGetCharacterIdentifier(
CTGlyphInfoRef glyphInfo ) ;
# 217 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CTCharacterCollection CTGlyphInfoGetCharacterCollection(
CTGlyphInfoRef glyphInfo ) ;
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 1 3
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
#define __CTPARAGRAPHSTYLE__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 2 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
typedef const struct __CTParagraphStyle * CTParagraphStyleRef;
CFTypeID CTParagraphStyleGetTypeID( void ) ;
# 60 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
enum
{
kCTLeftTextAlignment = 0,
kCTRightTextAlignment = 1,
kCTCenterTextAlignment = 2,
kCTJustifiedTextAlignment = 3,
kCTNaturalTextAlignment = 4
};
typedef uint8_t CTTextAlignment;
# 101 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
enum
{
kCTLineBreakByWordWrapping = 0,
kCTLineBreakByCharWrapping = 1,
kCTLineBreakByClipping = 2,
kCTLineBreakByTruncatingHead = 3,
kCTLineBreakByTruncatingTail = 4,
kCTLineBreakByTruncatingMiddle = 5
};
typedef uint8_t CTLineBreakMode;
# 127 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
enum
{
kCTWritingDirectionNatural = -1,
kCTWritingDirectionLeftToRight = 0,
kCTWritingDirectionRightToLeft = 1
};
typedef int8_t CTWritingDirection;
# 289 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
enum
{
kCTParagraphStyleSpecifierAlignment = 0,
kCTParagraphStyleSpecifierFirstLineHeadIndent = 1,
kCTParagraphStyleSpecifierHeadIndent = 2,
kCTParagraphStyleSpecifierTailIndent = 3,
kCTParagraphStyleSpecifierTabStops = 4,
kCTParagraphStyleSpecifierDefaultTabInterval = 5,
kCTParagraphStyleSpecifierLineBreakMode = 6,
kCTParagraphStyleSpecifierLineHeightMultiple = 7,
kCTParagraphStyleSpecifierMaximumLineHeight = 8,
kCTParagraphStyleSpecifierMinimumLineHeight = 9,
kCTParagraphStyleSpecifierLineSpacing = 10,
kCTParagraphStyleSpecifierParagraphSpacing = 11,
kCTParagraphStyleSpecifierParagraphSpacingBefore = 12,
kCTParagraphStyleSpecifierBaseWritingDirection = 13,
kCTParagraphStyleSpecifierCount = 14
};
typedef uint32_t CTParagraphStyleSpecifier;
# 328 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
typedef struct CTParagraphStyleSetting
{
CTParagraphStyleSpecifier spec;
size_t valueSize;
const void* value;
} CTParagraphStyleSetting;
# 370 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
CTParagraphStyleRef CTParagraphStyleCreate(
const CTParagraphStyleSetting* settings,
CFIndex settingCount ) ;
# 389 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
CTParagraphStyleRef CTParagraphStyleCreateCopy(
CTParagraphStyleRef paragraphStyle ) ;
# 434 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
_Bool CTParagraphStyleGetValueForSpecifier(
CTParagraphStyleRef paragraphStyle,
CTParagraphStyleSpecifier spec,
size_t valueBufferSize,
void* valueBuffer ) ;
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
#define __CTRUN__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 2 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
typedef const struct __CTRun * CTRunRef;
# 49 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
enum
{
kCTRunStatusNoStatus = 0,
kCTRunStatusRightToLeft = (1 << 0),
kCTRunStatusNonMonotonic = (1 << 1),
kCTRunStatusHasNonIdentityMatrix = (1 << 2)
};
typedef uint32_t CTRunStatus;
CFTypeID CTRunGetTypeID( void ) ;
# 83 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CFIndex CTRunGetGlyphCount(
CTRunRef run ) ;
# 104 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CFDictionaryRef CTRunGetAttributes(
CTRunRef run ) ;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CTRunStatus CTRunGetStatus(
CTRunRef run ) ;
# 147 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
const CGGlyph* CTRunGetGlyphsPtr(
CTRunRef run ) ;
# 168 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
void CTRunGetGlyphs(
CTRunRef run,
CFRange range,
CGGlyph buffer[] ) ;
# 193 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
const CGPoint* CTRunGetPositionsPtr(
CTRunRef run ) ;
# 218 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
void CTRunGetPositions(
CTRunRef run,
CFRange range,
CGPoint buffer[] ) ;
# 244 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
const CFIndex* CTRunGetStringIndicesPtr(
CTRunRef run ) ;
# 270 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
void CTRunGetStringIndices(
CTRunRef run,
CFRange range,
CFIndex buffer[] ) ;
# 288 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CFRange CTRunGetStringRange(
CTRunRef run ) ;
# 320 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
double CTRunGetTypographicBounds(
CTRunRef run,
CFRange range,
CGFloat* ascent,
CGFloat* descent,
CGFloat* leading ) ;
# 352 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CGRect CTRunGetImageBounds(
CTRunRef run,
CGContextRef context,
CFRange range ) ;
# 372 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CGAffineTransform CTRunGetTextMatrix(
CTRunRef run ) ;
# 400 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
void CTRunDraw(
CTRunRef run,
CGContextRef context,
CFRange range ) ;
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
#define __CTSTRINGATTRIBUTES__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 2 3
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTFontAttributeName ;
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTKernAttributeName ;
# 75 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTLigatureAttributeName ;
# 85 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTForegroundColorAttributeName ;
# 98 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTParagraphStyleAttributeName ;
# 113 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTUnderlineStyleAttributeName ;
# 125 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTVerticalFormsAttributeName ;
# 139 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTGlyphInfoAttributeName ;
# 151 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
enum
{
kCTUnderlineStyleNone = 0x00,
kCTUnderlineStyleSingle = 0x01,
kCTUnderlineStyleThick = 0x02,
kCTUnderlineStyleDouble = 0x09
};
typedef int32_t CTUnderlineStyle;
# 170 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
enum
{
kCTUnderlinePatternSolid = 0x0000,
kCTUnderlinePatternDot = 0x0100,
kCTUnderlinePatternDash = 0x0200,
kCTUnderlinePatternDashDot = 0x0300,
kCTUnderlinePatternDashDotDot = 0x0400
};
typedef int32_t CTUnderlineStyleModifiers;
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
#define __CTTEXTTAB__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 2 3
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
typedef const struct __CTTextTab * CTTextTabRef;
CFTypeID CTTextTabGetTypeID( void ) ;
# 64 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
extern const CFStringRef kCTTabColumnTerminatorsAttributeName ;
# 92 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
CTTextTabRef CTTextTabCreate(
CTTextAlignment alignment,
double location,
CFDictionaryRef options ) ;
# 112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
CTTextAlignment CTTextTabGetAlignment(
CTTextTabRef tab ) ;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
double CTTextTabGetLocation(
CTTextTabRef tab ) ;
# 141 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
CFDictionaryRef CTTextTabGetOptions(
CTTextTabRef tab ) ;
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 1 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 50 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 3
uint32_t CTGetCoreTextVersion( void ) ;
#define kCTVersionNumber10_5 0x00020000
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 1 3
# 55 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/ImageIO.h" 1 3
#define __IMAGEIO__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 1 3
#define CGIMAGESOURCE_H_
typedef struct CGImageSource *CGImageSourceRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 2 3
enum CGImageSourceStatus {
kCGImageStatusUnexpectedEOF = -5,
kCGImageStatusInvalidData = -4,
kCGImageStatusUnknownType = -3,
kCGImageStatusReadingHeader = -2,
kCGImageStatusIncomplete = -1,
kCGImageStatusComplete = 0
};
typedef enum CGImageSourceStatus CGImageSourceStatus;
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 3
extern const CFStringRef kCGImageSourceTypeIdentifierHint ;
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 3
extern const CFStringRef kCGImageSourceShouldCache ;
extern const CFStringRef kCGImageSourceShouldAllowFloat ;
# 65 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 3
extern const CFStringRef kCGImageSourceCreateThumbnailFromImageIfAbsent ;
# 75 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 3
extern const CFStringRef kCGImageSourceCreateThumbnailFromImageAlways ;
extern const CFStringRef kCGImageSourceThumbnailMaxPixelSize ;
extern const CFStringRef kCGImageSourceCreateThumbnailWithTransform ;
extern CFTypeID CGImageSourceGetTypeID (void) ;
extern CFArrayRef CGImageSourceCopyTypeIdentifiers(void) ;
extern CGImageSourceRef CGImageSourceCreateWithDataProvider(CGDataProviderRef provider, CFDictionaryRef options) ;
extern CGImageSourceRef CGImageSourceCreateWithData(CFDataRef data, CFDictionaryRef options) ;
extern CGImageSourceRef CGImageSourceCreateWithURL(CFURLRef url, CFDictionaryRef options) ;
extern CFStringRef CGImageSourceGetType(CGImageSourceRef isrc) ;
extern size_t CGImageSourceGetCount(CGImageSourceRef isrc) ;
extern CFDictionaryRef CGImageSourceCopyProperties(CGImageSourceRef isrc, CFDictionaryRef options) ;
extern CFDictionaryRef CGImageSourceCopyPropertiesAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options) ;
extern CGImageRef CGImageSourceCreateImageAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options) ;
extern CGImageRef CGImageSourceCreateThumbnailAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options) ;
extern CGImageSourceRef CGImageSourceCreateIncremental(CFDictionaryRef options) ;
extern void CGImageSourceUpdateData(CGImageSourceRef isrc, CFDataRef data, _Bool final) ;
extern void CGImageSourceUpdateDataProvider(CGImageSourceRef isrc, CGDataProviderRef provider, _Bool final) ;
extern CGImageSourceStatus CGImageSourceGetStatus(CGImageSourceRef isrc) ;
extern CGImageSourceStatus CGImageSourceGetStatusAtIndex(CGImageSourceRef isrc, size_t index) ;
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/ImageIO.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 1 3
#define CGIMAGEDESTINATION_H_
typedef struct CGImageDestination *CGImageDestinationRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 2 3
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 3
extern const CFStringRef kCGImageDestinationLossyCompressionQuality ;
# 38 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 3
extern const CFStringRef kCGImageDestinationBackgroundColor ;
extern CFTypeID CGImageDestinationGetTypeID(void) ;
extern CFArrayRef CGImageDestinationCopyTypeIdentifiers(void) ;
# 57 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 3
extern CGImageDestinationRef CGImageDestinationCreateWithDataConsumer(CGDataConsumerRef consumer, CFStringRef type, size_t count, CFDictionaryRef options) ;
extern CGImageDestinationRef CGImageDestinationCreateWithData(CFMutableDataRef data, CFStringRef type, size_t count, CFDictionaryRef options) ;
# 74 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 3
extern CGImageDestinationRef CGImageDestinationCreateWithURL(CFURLRef url, CFStringRef type, size_t count, CFDictionaryRef options) ;
extern void CGImageDestinationSetProperties(CGImageDestinationRef idst, CFDictionaryRef properties) ;
extern void CGImageDestinationAddImage(CGImageDestinationRef idst, CGImageRef image, CFDictionaryRef properties) ;
# 95 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 3
extern void CGImageDestinationAddImageFromSource(CGImageDestinationRef idst, CGImageSourceRef isrc, size_t index, CFDictionaryRef properties) ;
extern _Bool CGImageDestinationFinalize(CGImageDestinationRef idst) ;
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/ImageIO.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageProperties.h" 1 3
#define __CGIMAGEPROPERTIES__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageProperties.h" 2 3
extern const CFStringRef kCGImagePropertyTIFFDictionary ;
extern const CFStringRef kCGImagePropertyGIFDictionary ;
extern const CFStringRef kCGImagePropertyJFIFDictionary ;
extern const CFStringRef kCGImagePropertyExifDictionary ;
extern const CFStringRef kCGImagePropertyPNGDictionary ;
extern const CFStringRef kCGImagePropertyIPTCDictionary ;
extern const CFStringRef kCGImagePropertyGPSDictionary ;
extern const CFStringRef kCGImagePropertyRawDictionary ;
extern const CFStringRef kCGImagePropertyCIFFDictionary ;
extern const CFStringRef kCGImagePropertyMakerCanonDictionary;
extern const CFStringRef kCGImagePropertyMakerNikonDictionary;
extern const CFStringRef kCGImagePropertyMakerMinoltaDictionary ;
extern const CFStringRef kCGImagePropertyMakerFujiDictionary ;
extern const CFStringRef kCGImagePropertyMakerOlympusDictionary ;
extern const CFStringRef kCGImagePropertyMakerPentaxDictionary ;
extern const CFStringRef kCGImageProperty8BIMDictionary ;
extern const CFStringRef kCGImagePropertyDNGDictionary;
extern const CFStringRef kCGImagePropertyExifAuxDictionary ;
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageProperties.h" 3
extern const CFStringRef kCGImagePropertyFileSize ;
# 55 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageProperties.h" 3
extern const CFStringRef kCGImagePropertyPixelHeight ;
extern const CFStringRef kCGImagePropertyPixelWidth ;
extern const CFStringRef kCGImagePropertyDPIHeight ;
extern const CFStringRef kCGImagePropertyDPIWidth ;
extern const CFStringRef kCGImagePropertyDepth ;
# 82 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageProperties.h" 3
extern const CFStringRef kCGImagePropertyOrientation ;
extern const CFStringRef kCGImagePropertyIsFloat ;
extern const CFStringRef kCGImagePropertyIsIndexed ;
extern const CFStringRef kCGImagePropertyHasAlpha ;
extern const CFStringRef kCGImagePropertyColorModel ;
extern const CFStringRef kCGImagePropertyProfileName ;
extern const CFStringRef kCGImagePropertyColorModelRGB ;
extern const CFStringRef kCGImagePropertyColorModelGray ;
extern const CFStringRef kCGImagePropertyColorModelCMYK ;
extern const CFStringRef kCGImagePropertyColorModelLab ;
extern const CFStringRef kCGImagePropertyTIFFCompression ;
extern const CFStringRef kCGImagePropertyTIFFPhotometricInterpretation ;
extern const CFStringRef kCGImagePropertyTIFFDocumentName ;
extern const CFStringRef kCGImagePropertyTIFFImageDescription ;
extern const CFStringRef kCGImagePropertyTIFFMake ;
extern const CFStringRef kCGImagePropertyTIFFModel ;
extern const CFStringRef kCGImagePropertyTIFFOrientation ;
extern const CFStringRef kCGImagePropertyTIFFXResolution ;
extern const CFStringRef kCGImagePropertyTIFFYResolution ;
extern const CFStringRef kCGImagePropertyTIFFResolutionUnit ;
extern const CFStringRef kCGImagePropertyTIFFSoftware ;
extern const CFStringRef kCGImagePropertyTIFFTransferFunction ;
extern const CFStringRef kCGImagePropertyTIFFDateTime ;
extern const CFStringRef kCGImagePropertyTIFFArtist ;
extern const CFStringRef kCGImagePropertyTIFFHostComputer ;
extern const CFStringRef kCGImagePropertyTIFFCopyright ;
extern const CFStringRef kCGImagePropertyTIFFWhitePoint ;
extern const CFStringRef kCGImagePropertyTIFFPrimaryChromaticities ;
extern const CFStringRef kCGImagePropertyJFIFVersion ;
extern const CFStringRef kCGImagePropertyJFIFXDensity ;
extern const CFStringRef kCGImagePropertyJFIFYDensity ;
extern const CFStringRef kCGImagePropertyJFIFDensityUnit ;
extern const CFStringRef kCGImagePropertyJFIFIsProgressive ;
extern const CFStringRef kCGImagePropertyExifExposureTime ;
extern const CFStringRef kCGImagePropertyExifFNumber ;
extern const CFStringRef kCGImagePropertyExifExposureProgram ;
extern const CFStringRef kCGImagePropertyExifSpectralSensitivity ;
extern const CFStringRef kCGImagePropertyExifISOSpeedRatings ;
extern const CFStringRef kCGImagePropertyExifOECF ;
extern const CFStringRef kCGImagePropertyExifVersion ;
extern const CFStringRef kCGImagePropertyExifDateTimeOriginal ;
extern const CFStringRef kCGImagePropertyExifDateTimeDigitized ;
extern const CFStringRef kCGImagePropertyExifComponentsConfiguration ;
extern const CFStringRef kCGImagePropertyExifCompressedBitsPerPixel ;
extern const CFStringRef kCGImagePropertyExifShutterSpeedValue ;
extern const CFStringRef kCGImagePropertyExifApertureValue ;
extern const CFStringRef kCGImagePropertyExifBrightnessValue ;
extern const CFStringRef kCGImagePropertyExifExposureBiasValue ;
extern const CFStringRef kCGImagePropertyExifMaxApertureValue ;
extern const CFStringRef kCGImagePropertyExifSubjectDistance ;
extern const CFStringRef kCGImagePropertyExifMeteringMode ;
extern const CFStringRef kCGImagePropertyExifLightSource ;
extern const CFStringRef kCGImagePropertyExifFlash ;
extern const CFStringRef kCGImagePropertyExifFocalLength ;
extern const CFStringRef kCGImagePropertyExifSubjectArea ;
extern const CFStringRef kCGImagePropertyExifMakerNote ;
extern const CFStringRef kCGImagePropertyExifUserComment ;
extern const CFStringRef kCGImagePropertyExifSubsecTime ;
extern const CFStringRef kCGImagePropertyExifSubsecTimeOrginal ;
extern const CFStringRef kCGImagePropertyExifSubsecTimeDigitized ;
extern const CFStringRef kCGImagePropertyExifFlashPixVersion ;
extern const CFStringRef kCGImagePropertyExifColorSpace ;
extern const CFStringRef kCGImagePropertyExifPixelXDimension ;
extern const CFStringRef kCGImagePropertyExifPixelYDimension ;
extern const CFStringRef kCGImagePropertyExifRelatedSoundFile ;
extern const CFStringRef kCGImagePropertyExifFlashEnergy ;
extern const CFStringRef kCGImagePropertyExifSpatialFrequencyResponse ;
extern const CFStringRef kCGImagePropertyExifFocalPlaneXResolution ;
extern const CFStringRef kCGImagePropertyExifFocalPlaneYResolution ;
extern const CFStringRef kCGImagePropertyExifFocalPlaneResolutionUnit ;
extern const CFStringRef kCGImagePropertyExifSubjectLocation ;
extern const CFStringRef kCGImagePropertyExifExposureIndex ;
extern const CFStringRef kCGImagePropertyExifSensingMethod ;
extern const CFStringRef kCGImagePropertyExifFileSource ;
extern const CFStringRef kCGImagePropertyExifSceneType ;
extern const CFStringRef kCGImagePropertyExifCFAPattern ;
extern const CFStringRef kCGImagePropertyExifCustomRendered ;
extern const CFStringRef kCGImagePropertyExifExposureMode ;
extern const CFStringRef kCGImagePropertyExifWhiteBalance ;
extern const CFStringRef kCGImagePropertyExifDigitalZoomRatio ;
extern const CFStringRef kCGImagePropertyExifFocalLenIn35mmFilm ;
extern const CFStringRef kCGImagePropertyExifSceneCaptureType ;
extern const CFStringRef kCGImagePropertyExifGainControl ;
extern const CFStringRef kCGImagePropertyExifContrast ;
extern const CFStringRef kCGImagePropertyExifSaturation ;
extern const CFStringRef kCGImagePropertyExifSharpness ;
extern const CFStringRef kCGImagePropertyExifDeviceSettingDescription ;
extern const CFStringRef kCGImagePropertyExifSubjectDistRange ;
extern const CFStringRef kCGImagePropertyExifImageUniqueID ;
extern const CFStringRef kCGImagePropertyExifGamma ;
extern const CFStringRef kCGImagePropertyExifAuxLensInfo ;
extern const CFStringRef kCGImagePropertyExifAuxLensModel ;
extern const CFStringRef kCGImagePropertyExifAuxSerialNumber ;
extern const CFStringRef kCGImagePropertyExifAuxLensID ;
extern const CFStringRef kCGImagePropertyExifAuxLensSerialNumber ;
extern const CFStringRef kCGImagePropertyExifAuxImageNumber ;
extern const CFStringRef kCGImagePropertyExifAuxFlashCompensation ;
extern const CFStringRef kCGImagePropertyExifAuxOwnerName ;
extern const CFStringRef kCGImagePropertyExifAuxFirmware ;
extern const CFStringRef kCGImagePropertyGIFLoopCount ;
extern const CFStringRef kCGImagePropertyGIFDelayTime ;
extern const CFStringRef kCGImagePropertyGIFImageColorMap ;
extern const CFStringRef kCGImagePropertyGIFHasGlobalColorMap ;
extern const CFStringRef kCGImagePropertyPNGGamma ;
extern const CFStringRef kCGImagePropertyPNGInterlaceType ;
extern const CFStringRef kCGImagePropertyPNGXPixelsPerMeter ;
extern const CFStringRef kCGImagePropertyPNGYPixelsPerMeter ;
extern const CFStringRef kCGImagePropertyPNGsRGBIntent ;
extern const CFStringRef kCGImagePropertyPNGChromaticities ;
extern const CFStringRef kCGImagePropertyGPSVersion ;
extern const CFStringRef kCGImagePropertyGPSLatitudeRef ;
extern const CFStringRef kCGImagePropertyGPSLatitude ;
extern const CFStringRef kCGImagePropertyGPSLongitudeRef ;
extern const CFStringRef kCGImagePropertyGPSLongitude ;
extern const CFStringRef kCGImagePropertyGPSAltitudeRef ;
extern const CFStringRef kCGImagePropertyGPSAltitude ;
extern const CFStringRef kCGImagePropertyGPSTimeStamp ;
extern const CFStringRef kCGImagePropertyGPSSatellites ;
extern const CFStringRef kCGImagePropertyGPSStatus ;
extern const CFStringRef kCGImagePropertyGPSMeasureMode ;
extern const CFStringRef kCGImagePropertyGPSDOP ;
extern const CFStringRef kCGImagePropertyGPSSpeedRef ;
extern const CFStringRef kCGImagePropertyGPSSpeed ;
extern const CFStringRef kCGImagePropertyGPSTrackRef ;
extern const CFStringRef kCGImagePropertyGPSTrack ;
extern const CFStringRef kCGImagePropertyGPSImgDirectionRef ;
extern const CFStringRef kCGImagePropertyGPSImgDirection ;
extern const CFStringRef kCGImagePropertyGPSMapDatum ;
extern const CFStringRef kCGImagePropertyGPSDestLatitudeRef ;
extern const CFStringRef kCGImagePropertyGPSDestLatitude ;
extern const CFStringRef kCGImagePropertyGPSDestLongitudeRef ;
extern const CFStringRef kCGImagePropertyGPSDestLongitude ;
extern const CFStringRef kCGImagePropertyGPSDestBearingRef ;
extern const CFStringRef kCGImagePropertyGPSDestBearing ;
extern const CFStringRef kCGImagePropertyGPSDestDistanceRef ;
extern const CFStringRef kCGImagePropertyGPSDestDistance ;
extern const CFStringRef kCGImagePropertyGPSProcessingMethod ;
extern const CFStringRef kCGImagePropertyGPSAreaInformation ;
extern const CFStringRef kCGImagePropertyGPSDateStamp ;
extern const CFStringRef kCGImagePropertyGPSDifferental ;
extern const CFStringRef kCGImagePropertyIPTCObjectTypeReference ;
extern const CFStringRef kCGImagePropertyIPTCObjectAttributeReference ;
extern const CFStringRef kCGImagePropertyIPTCObjectName ;
extern const CFStringRef kCGImagePropertyIPTCEditStatus ;
extern const CFStringRef kCGImagePropertyIPTCEditorialUpdate ;
extern const CFStringRef kCGImagePropertyIPTCUrgency ;
extern const CFStringRef kCGImagePropertyIPTCSubjectReference ;
extern const CFStringRef kCGImagePropertyIPTCCategory ;
extern const CFStringRef kCGImagePropertyIPTCSupplementalCategory ;
extern const CFStringRef kCGImagePropertyIPTCFixtureIdentifier ;
extern const CFStringRef kCGImagePropertyIPTCKeywords ;
extern const CFStringRef kCGImagePropertyIPTCContentLocationCode ;
extern const CFStringRef kCGImagePropertyIPTCContentLocationName ;
extern const CFStringRef kCGImagePropertyIPTCReleaseDate ;
extern const CFStringRef kCGImagePropertyIPTCReleaseTime ;
extern const CFStringRef kCGImagePropertyIPTCExpirationDate ;
extern const CFStringRef kCGImagePropertyIPTCExpirationTime ;
extern const CFStringRef kCGImagePropertyIPTCSpecialInstructions ;
extern const CFStringRef kCGImagePropertyIPTCActionAdvised ;
extern const CFStringRef kCGImagePropertyIPTCReferenceService ;
extern const CFStringRef kCGImagePropertyIPTCReferenceDate ;
extern const CFStringRef kCGImagePropertyIPTCReferenceNumber ;
extern const CFStringRef kCGImagePropertyIPTCDateCreated ;
extern const CFStringRef kCGImagePropertyIPTCTimeCreated ;
extern const CFStringRef kCGImagePropertyIPTCDigitalCreationDate ;
extern const CFStringRef kCGImagePropertyIPTCDigitalCreationTime ;
extern const CFStringRef kCGImagePropertyIPTCOriginatingProgram ;
extern const CFStringRef kCGImagePropertyIPTCProgramVersion ;
extern const CFStringRef kCGImagePropertyIPTCObjectCycle ;
extern const CFStringRef kCGImagePropertyIPTCByline ;
extern const CFStringRef kCGImagePropertyIPTCBylineTitle ;
extern const CFStringRef kCGImagePropertyIPTCCity ;
extern const CFStringRef kCGImagePropertyIPTCSubLocation ;
extern const CFStringRef kCGImagePropertyIPTCProvinceState ;
extern const CFStringRef kCGImagePropertyIPTCCountryPrimaryLocationCode ;
extern const CFStringRef kCGImagePropertyIPTCCountryPrimaryLocationName ;
extern const CFStringRef kCGImagePropertyIPTCOriginalTransmissionReference ;
extern const CFStringRef kCGImagePropertyIPTCHeadline ;
extern const CFStringRef kCGImagePropertyIPTCCredit ;
extern const CFStringRef kCGImagePropertyIPTCSource ;
extern const CFStringRef kCGImagePropertyIPTCCopyrightNotice ;
extern const CFStringRef kCGImagePropertyIPTCContact ;
extern const CFStringRef kCGImagePropertyIPTCCaptionAbstract ;
extern const CFStringRef kCGImagePropertyIPTCWriterEditor ;
extern const CFStringRef kCGImagePropertyIPTCImageType ;
extern const CFStringRef kCGImagePropertyIPTCImageOrientation ;
extern const CFStringRef kCGImagePropertyIPTCLanguageIdentifier ;
extern const CFStringRef kCGImagePropertyIPTCStarRating ;
extern const CFStringRef kCGImageProperty8BIMLayerNames;
extern const CFStringRef kCGImagePropertyDNGVersion;
extern const CFStringRef kCGImagePropertyDNGBackwardVersion;
extern const CFStringRef kCGImagePropertyDNGUniqueCameraModel;
extern const CFStringRef kCGImagePropertyDNGLocalizedCameraModel;
extern const CFStringRef kCGImagePropertyDNGCameraSerialNumber;
extern const CFStringRef kCGImagePropertyDNGLensInfo;
extern const CFStringRef kCGImagePropertyCIFFDescription;
extern const CFStringRef kCGImagePropertyCIFFFirmware;
extern const CFStringRef kCGImagePropertyCIFFOwnerName;
extern const CFStringRef kCGImagePropertyCIFFImageName;
extern const CFStringRef kCGImagePropertyCIFFImageFileName;
extern const CFStringRef kCGImagePropertyCIFFReleaseMethod;
extern const CFStringRef kCGImagePropertyCIFFReleaseTiming;
extern const CFStringRef kCGImagePropertyCIFFRecordID;
extern const CFStringRef kCGImagePropertyCIFFSelfTimingTime;
extern const CFStringRef kCGImagePropertyCIFFCameraSerialNumber;
extern const CFStringRef kCGImagePropertyCIFFImageSerialNumber;
extern const CFStringRef kCGImagePropertyCIFFContinuousDrive;
extern const CFStringRef kCGImagePropertyCIFFFocusMode;
extern const CFStringRef kCGImagePropertyCIFFMeteringMode;
extern const CFStringRef kCGImagePropertyCIFFShootingMode;
extern const CFStringRef kCGImagePropertyCIFFLensModel;
extern const CFStringRef kCGImagePropertyCIFFLensMaxMM;
extern const CFStringRef kCGImagePropertyCIFFLensMinMM;
extern const CFStringRef kCGImagePropertyCIFFWhiteBalanceIndex;
extern const CFStringRef kCGImagePropertyCIFFFlashExposureComp;
extern const CFStringRef kCGImagePropertyCIFFMeasuredEV;
extern const CFStringRef kCGImagePropertyMakerNikonISOSetting;
extern const CFStringRef kCGImagePropertyMakerNikonColorMode;
extern const CFStringRef kCGImagePropertyMakerNikonQuality;
extern const CFStringRef kCGImagePropertyMakerNikonWhiteBalanceMode;
extern const CFStringRef kCGImagePropertyMakerNikonSharpenMode;
extern const CFStringRef kCGImagePropertyMakerNikonFocusMode;
extern const CFStringRef kCGImagePropertyMakerNikonFlashSetting;
extern const CFStringRef kCGImagePropertyMakerNikonISOSelection;
extern const CFStringRef kCGImagePropertyMakerNikonFlashExposureComp;
extern const CFStringRef kCGImagePropertyMakerNikonImageAdjustment;
extern const CFStringRef kCGImagePropertyMakerNikonLensAdapter;
extern const CFStringRef kCGImagePropertyMakerNikonLensType;
extern const CFStringRef kCGImagePropertyMakerNikonLensInfo;
extern const CFStringRef kCGImagePropertyMakerNikonFocusDistance;
extern const CFStringRef kCGImagePropertyMakerNikonDigitalZoom;
extern const CFStringRef kCGImagePropertyMakerNikonShootingMode;
extern const CFStringRef kCGImagePropertyMakerNikonCameraSerialNumber;
extern const CFStringRef kCGImagePropertyMakerNikonShutterCount;
extern const CFStringRef kCGImagePropertyMakerCanonOwnerName;
extern const CFStringRef kCGImagePropertyMakerCanonCameraSerialNumber;
extern const CFStringRef kCGImagePropertyMakerCanonImageSerialNumber;
extern const CFStringRef kCGImagePropertyMakerCanonFlashExposureComp;
extern const CFStringRef kCGImagePropertyMakerCanonContinuousDrive;
extern const CFStringRef kCGImagePropertyMakerCanonLensModel;
extern const CFStringRef kCGImagePropertyMakerCanonFirmware ;
extern const CFStringRef kCGImagePropertyMakerCanonAspectRatioInfo ;
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/ImageIO.h" 2 3
# 56 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 25 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 3
#define __HITOOLBOX__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
#define __HIOBJECT__
# 28 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
#define __CARBONEVENTSCORE__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
#define __HIGEOMETRY__
# 35 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
#pragma pack(push, 2)
# 53 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
typedef CGPoint HIPoint;
# 62 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
typedef CGSize HISize;
# 74 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
typedef CGRect HIRect;
# 93 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
extern CGFloat
HIGetScaleFactor(void) ;
# 108 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
typedef UInt32 HICoordinateSpace;
enum {
# 118 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
kHICoordSpace72DPIGlobal = 1,
kHICoordSpaceScreenPixel = 2,
kHICoordSpaceWindow = 3,
# 142 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
kHICoordSpaceView = 4
};
# 192 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
extern void
HIPointConvert(
HIPoint * ioPoint,
HICoordinateSpace inSourceSpace,
void * inSourceObject,
HICoordinateSpace inDestinationSpace,
void * inDestinationObject) ;
# 248 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
extern void
HIRectConvert(
HIRect * ioRect,
HICoordinateSpace inSourceSpace,
void * inSourceObject,
HICoordinateSpace inDestinationSpace,
void * inDestinationObject) ;
# 304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
extern void
HISizeConvert(
HISize * ioSize,
HICoordinateSpace inSourceSpace,
void * inSourceObject,
HICoordinateSpace inDestinationSpace,
void * inDestinationObject) ;
#pragma pack(pop)
# 25 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 2 3
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
#pragma pack(push, 2)
typedef struct OpaqueEventRef* EventRef;
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
enum {
eventAlreadyPostedErr = -9860,
eventTargetBusyErr = -9861,
eventClassInvalidErr = -9862,
eventClassIncorrectErr = -9864,
# 92 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
eventDeferAccessibilityEventErr = -9865,
eventHandlerAlreadyInstalledErr = -9866,
eventInternalErr = -9868,
eventKindIncorrectErr = -9869,
eventParameterNotFoundErr = -9870,
# 125 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
eventNotHandledErr = -9874,
eventLoopTimedOutErr = -9875,
eventLoopQuitErr = -9876,
eventNotInQueueErr = -9877,
# 154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
eventHotKeyExistsErr = -9878,
eventHotKeyInvalidErr = -9879,
# 170 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
eventPassToNextTargetErr = -9880
};
enum {
kEventParamDirectObject = '----',
kEventParamDragRef = 'drag'
};
# 222 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
enum {
typeDragRef = 'drag',
typeCTFontRef = 'ctfr',
typeCTGlyphInfoRef = 'ctgi'
};
# 244 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef SInt16 EventPriority;
enum {
kEventPriorityLow = 0,
kEventPriorityStandard = 1,
kEventPriorityHigh = 2
};
enum {
kEventLeaveInQueue = 0,
kEventRemoveFromQueue = 1
};
typedef double EventTime;
typedef EventTime EventTimeout;
typedef EventTime EventTimerInterval;
#define kEventDurationSecond ((EventTime)1.0)
#define kEventDurationMillisecond ((EventTime)(kEventDurationSecond/1000))
#define kEventDurationMicrosecond ((EventTime)(kEventDurationSecond/1000000))
#define kEventDurationNanosecond ((EventTime)(kEventDurationSecond/1000000000))
#define kEventDurationMinute ((EventTime)(kEventDurationSecond*60))
#define kEventDurationHour ((EventTime)(kEventDurationMinute*60))
#define kEventDurationDay ((EventTime)(kEventDurationHour*24))
#define kEventDurationNoWait ((EventTime)0.0)
#define kEventDurationForever ((EventTime)(-1.0))
#define TicksToEventTime(t) ((EventTime)( (t) / 60.0 ))
#define EventTimeToTicks(t) ((UInt32)( ((t) * 60) + 0.5 ))
# 313 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
struct EventTypeSpec {
OSType eventClass;
UInt32 eventKind;
};
typedef struct EventTypeSpec EventTypeSpec;
#define GetEventTypeCount(t) (sizeof( (t) ) / sizeof( EventTypeSpec ))
typedef OSType EventParamName;
typedef OSType EventParamType;
# 343 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef struct OpaqueEventLoopRef* EventLoopRef;
# 363 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventLoopRef
GetCurrentEventLoop(void) ;
# 384 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventLoopRef
GetMainEventLoop(void) ;
# 413 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RunCurrentEventLoop(EventTimeout inTimeout) ;
# 449 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
QuitEventLoop(EventLoopRef inEventLoop) ;
# 482 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern CFTypeRef
GetCFRunLoopFromEventLoop(EventLoopRef inEventLoop) ;
# 533 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
ReceiveNextEvent(
ItemCount inNumTypes,
const EventTypeSpec * inList,
EventTimeout inTimeout,
Boolean inPullEvent,
EventRef * outEvent) ;
# 552 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef UInt32 EventAttributes;
enum {
kEventAttributeNone = 0,
kEventAttributeUserEvent = 1 << 0,
# 574 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
kEventAttributeMonitored = 1 << 3
};
# 615 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
#define MacCreateEvent CreateEvent
extern OSStatus
CreateEvent(
CFAllocatorRef inAllocator,
OSType inClassID,
UInt32 inKind,
EventTime inWhen,
EventAttributes inAttributes,
EventRef * outEvent) ;
# 651 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
CopyEvent(EventRef inOther) ;
# 695 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
CopyEventAs(
CFAllocatorRef inAllocator,
EventRef inOther,
OSType inEventClass,
UInt32 inEventKind) ;
# 729 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
RetainEvent(EventRef inEvent) ;
# 760 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern ItemCount
GetEventRetainCount(EventRef inEvent) ;
# 789 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
ReleaseEvent(EventRef inEvent) ;
# 834 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
SetEventParameter(
EventRef inEvent,
EventParamName inName,
EventParamType inType,
ByteCount inSize,
const void * inDataPtr) ;
# 894 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
GetEventParameter(
EventRef inEvent,
EventParamName inName,
EventParamType inDesiredType,
EventParamType * outActualType,
ByteCount inBufferSize,
ByteCount * outActualSize,
void * outData) ;
# 931 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveEventParameter(
EventRef inEvent,
EventParamName inName) ;
# 964 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSType
GetEventClass(EventRef inEvent) ;
# 993 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern UInt32
GetEventKind(EventRef inEvent) ;
# 1021 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventTime
GetEventTime(EventRef inEvent) ;
# 1056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
SetEventTime(
EventRef inEvent,
EventTime inTime) ;
# 1106 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
CreateEventWithCGEvent(
CFAllocatorRef inAllocator,
CGEventRef inEvent,
EventAttributes inAttributes,
EventRef * outEvent) ;
# 1149 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern CGEventRef
CopyEventCGEvent(EventRef inEvent) ;
typedef struct OpaqueEventQueueRef* EventQueueRef;
# 1177 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventQueueRef
GetCurrentEventQueue(void) ;
# 1204 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventQueueRef
GetMainEventQueue(void) ;
# 1227 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef Boolean ( * EventComparatorProcPtr)(EventRef inEvent, void *inCompareData);
typedef EventComparatorProcPtr EventComparatorUPP;
# 1237 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventComparatorUPP
NewEventComparatorUPP(EventComparatorProcPtr userRoutine) ;
# 1248 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
DisposeEventComparatorUPP(EventComparatorUPP userUPP) ;
# 1259 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern Boolean
InvokeEventComparatorUPP(
EventRef inEvent,
void * inCompareData,
EventComparatorUPP userUPP) ;
#define NewEventComparatorUPP(userRoutine) ((EventComparatorUPP)userRoutine)
#define DisposeEventComparatorUPP(userUPP)
#define InvokeEventComparatorUPP(inEvent,inCompareData,userUPP) (*userUPP)(inEvent, inCompareData)
# 1334 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
PostEventToQueue(
EventQueueRef inQueue,
EventRef inEvent,
EventPriority inPriority) ;
# 1376 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
FlushEventsMatchingListFromQueue(
EventQueueRef inQueue,
ItemCount inNumTypes,
const EventTypeSpec * inList) ;
# 1417 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
FlushSpecificEventsFromQueue(
EventQueueRef inQueue,
EventComparatorUPP inComparator,
void * inCompareData) ;
# 1452 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
FlushEventQueue(EventQueueRef inQueue) ;
# 1488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
FindSpecificEventInQueue(
EventQueueRef inQueue,
EventComparatorUPP inComparator,
void * inCompareData) ;
# 1517 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern ItemCount
GetNumEventsInQueue(EventQueueRef inQueue) ;
# 1550 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveEventFromQueue(
EventQueueRef inQueue,
EventRef inEvent) ;
# 1581 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern Boolean
IsEventInQueue(
EventQueueRef inQueue,
EventRef inEvent) ;
enum {
kEventQueueOptionsNone = 0
};
# 1644 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
AcquireFirstMatchingEventInQueue(
EventQueueRef inQueue,
ItemCount inNumTypes,
const EventTypeSpec * inList,
OptionBits inOptions) ;
# 1685 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
GetCurrentEvent(void) ;
# 1767 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern UInt32
GetCurrentEventButtonState(void) ;
# 1848 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern UInt32
GetCurrentEventKeyModifiers(void) ;
# 1891 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern HIPoint *
HIGetMousePosition(
HICoordinateSpace inSpace,
void * inObject,
HIPoint * outPoint) ;
# 1918 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
GetGlobalMouse(Point * globalMouse) ;
# 1962 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern UInt32
GetCurrentButtonState(void) ;
# 2004 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern UInt32
GetCurrentKeyModifiers(void) ;
# 2030 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventTime
GetCurrentEventTime(void) ;
# 2069 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef struct __EventLoopTimer* EventLoopTimerRef;
# 2085 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef void ( * EventLoopTimerProcPtr)(EventLoopTimerRef inTimer, void *inUserData);
enum {
kEventLoopIdleTimerStarted = 1,
# 2108 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
kEventLoopIdleTimerIdling = 2,
kEventLoopIdleTimerStopped = 3
};
typedef UInt16 EventLoopIdleTimerMessage;
# 2136 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef void ( * EventLoopIdleTimerProcPtr)(EventLoopTimerRef inTimer, EventLoopIdleTimerMessage inState, void *inUserData);
typedef EventLoopTimerProcPtr EventLoopTimerUPP;
typedef EventLoopIdleTimerProcPtr EventLoopIdleTimerUPP;
# 2147 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventLoopTimerUPP
NewEventLoopTimerUPP(EventLoopTimerProcPtr userRoutine) ;
# 2158 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventLoopIdleTimerUPP
NewEventLoopIdleTimerUPP(EventLoopIdleTimerProcPtr userRoutine) ;
# 2169 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
DisposeEventLoopTimerUPP(EventLoopTimerUPP userUPP) ;
# 2180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
DisposeEventLoopIdleTimerUPP(EventLoopIdleTimerUPP userUPP) ;
# 2191 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
InvokeEventLoopTimerUPP(
EventLoopTimerRef inTimer,
void * inUserData,
EventLoopTimerUPP userUPP) ;
# 2205 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
InvokeEventLoopIdleTimerUPP(
EventLoopTimerRef inTimer,
EventLoopIdleTimerMessage inState,
void * inUserData,
EventLoopIdleTimerUPP userUPP) ;
# 2221 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
#define NewEventLoopTimerUPP(userRoutine) ((EventLoopTimerUPP)userRoutine)
#define NewEventLoopIdleTimerUPP(userRoutine) ((EventLoopIdleTimerUPP)userRoutine)
#define DisposeEventLoopTimerUPP(userUPP)
#define DisposeEventLoopIdleTimerUPP(userUPP)
#define InvokeEventLoopTimerUPP(inTimer,inUserData,userUPP) (*userUPP)(inTimer, inUserData)
#define InvokeEventLoopIdleTimerUPP(inTimer,inState,inUserData,userUPP) (*userUPP)(inTimer, inState, inUserData)
# 2280 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
InstallEventLoopTimer(
EventLoopRef inEventLoop,
EventTimerInterval inFireDelay,
EventTimerInterval inInterval,
EventLoopTimerUPP inTimerProc,
void * inTimerData,
EventLoopTimerRef * outTimer) ;
# 2348 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
InstallEventLoopIdleTimer(
EventLoopRef inEventLoop,
EventTimerInterval inDelay,
EventTimerInterval inInterval,
EventLoopIdleTimerUPP inTimerProc,
void * inTimerData,
EventLoopTimerRef * outTimer) ;
# 2384 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveEventLoopTimer(EventLoopTimerRef inTimer) ;
# 2422 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
SetEventLoopTimerNextFireTime(
EventLoopTimerRef inTimer,
EventTimerInterval inNextFire) ;
# 2434 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef struct OpaqueEventHandlerRef* EventHandlerRef;
typedef struct OpaqueEventHandlerCallRef* EventHandlerCallRef;
# 2475 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef OSStatus ( * EventHandlerProcPtr)(EventHandlerCallRef inHandlerCallRef, EventRef inEvent, void *inUserData);
typedef EventHandlerProcPtr EventHandlerUPP;
# 2485 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventHandlerUPP
NewEventHandlerUPP(EventHandlerProcPtr userRoutine) ;
# 2496 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
DisposeEventHandlerUPP(EventHandlerUPP userUPP) ;
# 2507 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
InvokeEventHandlerUPP(
EventHandlerCallRef inHandlerCallRef,
EventRef inEvent,
void * inUserData,
EventHandlerUPP userUPP) ;
#define NewEventHandlerUPP(userRoutine) ((EventHandlerUPP)userRoutine)
#define DisposeEventHandlerUPP(userUPP)
#define InvokeEventHandlerUPP(inHandlerCallRef,inEvent,inUserData,userUPP) (*userUPP)(inHandlerCallRef, inEvent, inUserData)
typedef struct OpaqueEventTargetRef* EventTargetRef;
# 2593 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
InstallEventHandler(
EventTargetRef inTarget,
EventHandlerUPP inHandler,
ItemCount inNumTypes,
const EventTypeSpec * inList,
void * inUserData,
EventHandlerRef * outRef) ;
# 2632 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveEventHandler(EventHandlerRef inHandlerRef) ;
# 2678 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
InstallStandardEventHandler(EventTargetRef inTarget) ;
# 2709 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveStandardEventHandler(EventTargetRef inTarget) ;
# 2760 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
AddEventTypesToHandler(
EventHandlerRef inHandlerRef,
ItemCount inNumTypes,
const EventTypeSpec * inList) ;
# 2796 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveEventTypesFromHandler(
EventHandlerRef inHandlerRef,
ItemCount inNumTypes,
const EventTypeSpec * inList) ;
# 2843 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
CallNextEventHandler(
EventHandlerCallRef inCallRef,
EventRef inEvent) ;
# 2858 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
enum {
# 2867 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
kEventTargetDontPropagate = (1 << 0),
# 2879 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
kEventTargetSendToAllHandlers = (1 << 1)
};
# 2915 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
SendEventToEventTarget(
EventRef inEvent,
EventTargetRef inTarget) ;
# 2961 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
SendEventToEventTargetWithOptions(
EventRef inEvent,
EventTargetRef inTarget,
OptionBits inOptions) ;
# 3005 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
EnableSecureEventInput(void) ;
# 3041 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
DisableSecureEventInput(void) ;
# 3065 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern Boolean
IsSecureEventInputEnabled(void) ;
#pragma pack(pop)
# 29 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 2 3
# 140 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
typedef struct OpaqueHIObjectClassRef* HIObjectClassRef;
typedef struct OpaqueHIObjectRef* HIObjectRef;
# 150 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
hiObjectClassExistsErr = -22080,
hiObjectClassHasInstancesErr = -22081,
hiObjectClassHasSubclassesErr = -22082,
hiObjectClassIsAbstractErr = -22083,
hiObjectCannotSubclassSingletonErr = -22084,
hiObjectDelegateAlreadyExistsErr = -22090,
hiObjectDelegateNotFoundErr = -22091
};
enum {
# 204 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kHIClassOptionSingleton = 1 << 0
};
enum {
kEventClassHIObject = 'hiob'
};
enum {
kEventParamHIObjectInstance = 'hioi',
# 240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kEventParamHIArchive = 'hiac',
# 249 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kEventParamBeforeDelegates = 'bdel',
# 258 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kEventParamAfterDelegates = 'adel',
# 267 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kEventParamDecodingForEditor = 'defe',
kEventParamInitParameters = 'para',
typeHIObjectRef = 'hiob'
};
# 302 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectInitParamUserName ;
# 318 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectInitParamDescription ;
# 335 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectInitParamEventName ;
# 352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectInitParamEventType ;
# 409 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectConstruct = 1
};
# 463 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectInitialize = 2
};
# 493 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectDestruct = 3
};
# 527 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectIsEqual = 4
};
# 549 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectPrintDebugInfo = 5
};
# 581 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectEncode = 6
};
# 634 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectCreatedFromArchive = 7
};
# 677 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectGetInitParameters = 8
};
enum {
kEventClassDelegate = 'dele',
kEventParamDelegateTarget = 'delt',
kEventParamDelegateTargetClasses = 'trgc',
kEventParamDelegateGroupClasses = 'grpc',
# 720 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kEventParamDelegateGroupParameters = 'grpp'
};
# 763 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventDelegateInstalled = 1
};
# 795 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventDelegateRemoved = 2
};
# 830 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventDelegateGetTargetClasses = 3
};
# 861 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventDelegateIsGroup = 4
};
# 889 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventDelegateGetGroupClasses = 5
};
# 964 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectRegisterSubclass(
CFStringRef inClassID,
CFStringRef inBaseClassID,
OptionBits inOptions,
EventHandlerUPP inConstructProc,
ItemCount inNumEvents,
const EventTypeSpec * inEventList,
void * inConstructData,
HIObjectClassRef * outClassRef) ;
# 998 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectUnregisterClass(HIObjectClassRef inClassRef) ;
# 1039 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectCreate(
CFStringRef inClassID,
EventRef inConstructData,
HIObjectRef * outObject) ;
# 1068 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern EventTargetRef
HIObjectGetEventTarget(HIObjectRef inObject) ;
# 1092 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern void
HIObjectPrintDebugInfo(HIObjectRef inObject) ;
# 1122 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern CFStringRef
HIObjectCopyClassID(HIObjectRef inObject) ;
# 1154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern Boolean
HIObjectIsOfClass(
HIObjectRef inObject,
CFStringRef inObjectClassID) ;
# 1194 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern void *
HIObjectDynamicCast(
HIObjectRef inObject,
CFStringRef inClassID) ;
# 1232 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectCreateFromBundle(
CFBundleRef inBundle,
HIObjectRef * outObject) ;
# 1261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern HIObjectRef
HIObjectFromEventTarget(EventTargetRef inTarget) ;
# 1294 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern Boolean
HIObjectIsArchivingIgnored(HIObjectRef inObject) ;
# 1335 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectSetArchivingIgnored(
HIObjectRef inObject,
Boolean inIgnored) ;
# 1361 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataParameterNamesKey ;
# 1373 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataParameterTypesKey ;
# 1385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataParameterValuesKey ;
# 1401 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataClassIDKey ;
# 1413 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataSuperClassIDKey ;
# 1431 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataCDEFProcIDKey ;
# 1450 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataDelegateGroupParametersKey ;
# 1483 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectCopyCustomArchiveData(
HIObjectRef inObject,
CFDictionaryRef * outCustomData) ;
# 1522 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectSetCustomArchiveData(
HIObjectRef inObject,
CFDictionaryRef inCustomData) ;
# 1564 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
typedef UInt32 HIDelegatePosition;
enum {
kHIDelegateAll = 0,
kHIDelegateBefore = 1,
# 1592 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kHIDelegateAfter = 2
};
# 1610 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIDelegateBeforeKey ;
# 1626 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIDelegateAfterKey ;
# 1664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectAddDelegate(
HIObjectRef inObject,
HIObjectRef inDelegate,
HIDelegatePosition inPosition) ;
# 1707 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectRemoveDelegate(
HIObjectRef inObject,
HIObjectRef inDelegate,
HIDelegatePosition inPosition) ;
# 1751 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectCopyDelegates(
HIObjectRef inObject,
CFDictionaryRef * outDelegates) ;
# 1802 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern HIObjectRef
HIObjectGetEventHandlerObject(EventHandlerCallRef inRef) ;
# 1813 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
typedef struct OpaqueControlRef* ControlRef;
typedef ControlRef ControlHandle;
typedef ControlRef HIViewRef;
# 26 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
#define __HIARCHIVE__
# 132 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
typedef struct OpaqueHIArchiveRef* HIArchiveRef;
enum {
hiArchiveTypeMismatchErr = -6780,
hiArchiveKeyNotAvailableErr = -6781,
hiArchiveEncodingCompleteErr = -6782,
hiArchiveHIObjectIgnoresArchivingErr = -6783
};
enum {
# 187 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
kHIArchiveDecodeSuperclassForUnregisteredObjects = (1 << 0),
# 196 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
kHIArchiveDecodingForEditor = (1 << 1)
};
# 217 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
extern CFTypeID
HIArchiveGetTypeID(void) ;
# 248 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
extern OSStatus
HIArchiveCreateForEncoding(HIArchiveRef * outEncoder) ;
# 281 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
extern OSStatus
HIArchiveEncodeBoolean(
HIArchiveRef inEncoder,
CFStringRef inKey,
Boolean inBoolean) ;
# 321 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
extern OSStatus
HIArchiveEncodeNumber(
HIArchiveRef inEncoder,
CFStringRef inKey,
CFNumberType inNumberType,
const void * inNumberValue) ;
# 365 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
extern OSStatus
HIArchiveEncodeCFType(
HIArchiveRef inEncoder,
CFStringRef inKey,
CFTypeRef inCFType) ;
# 404 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
extern OSStatus
HIArchiveCopyEncodedData(
HIArchiveRef inEncoder,
CFDataRef * outData) ;
# 446 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
extern OSStatus
HIArchiveCreateForDecoding(
CFDataRef inData,
OptionBits inOptions,
HIArchiveRef * outDecoder) ;
# 481 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
extern OSStatus
HIArchiveDecodeBoolean(
HIArchiveRef inDecoder,
CFStringRef inKey,
Boolean * outBoolean) ;
# 520 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
extern OSStatus
HIArchiveDecodeNumber(
HIArchiveRef inDecoder,
CFStringRef inKey,
CFNumberType inNumberType,
void * outNumberValue) ;
# 563 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
extern OSStatus
HIArchiveCopyDecodedCFType(
HIArchiveRef inDecoder,
CFStringRef inKey,
CFTypeRef * outCFType) ;
# 30 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
#define __HITOOLBAR__
# 28 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define __MENUS__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
#define __APPEARANCE__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
#pragma pack(push, 2)
enum {
kAppearanceEventClass = 'appr',
kAEAppearanceChanged = 'thme',
kAESystemFontChanged = 'sysf',
kAESmallSystemFontChanged = 'ssfn',
kAEViewsFontChanged = 'vfnt'
};
enum {
kThemeDataFileType = 'thme',
kThemePlatinumFileType = 'pltn',
kThemeCustomThemesFileType = 'scen',
kThemeSoundTrackFileType = 'tsnd'
};
#define kThemeAppearancePlatinum CFSTR( "com.apple.theme.appearance.platinum" )
#define kThemeAppearanceAqua CFSTR( "com.apple.theme.appearance.aqua" )
#define kThemeAppearanceAquaBlue CFSTR( "com.apple.theme.appearance.aqua.blue" )
#define kThemeAppearanceAquaGraphite CFSTR( "com.apple.theme.appearance.aqua.graphite" )
# 86 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
typedef SInt16 AppearancePartCode;
enum {
kAppearancePartMetaNone = 0,
kAppearancePartMetaDisabled = 254,
kAppearancePartMetaInactive = 255,
kAppearancePartIndicator = 129,
kAppearancePartUpButton = 20,
kAppearancePartDownButton = 21,
kAppearancePartLeftButton = kAppearancePartUpButton,
kAppearancePartRightButton = kAppearancePartDownButton,
kAppearancePartPageUpArea = 22,
kAppearancePartPageDownArea = 23,
kAppearancePartPageLeftArea = kAppearancePartPageUpArea,
kAppearancePartPageRightArea = kAppearancePartPageDownArea
};
# 173 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
typedef UInt16 AppearanceRegionCode;
enum {
kAppearanceRegionTitleBar = 0,
kAppearanceRegionTitleText = 1,
kAppearanceRegionCloseBox = 2,
kAppearanceRegionZoomBox = 3,
kAppearanceRegionDrag = 5,
kAppearanceRegionGrow = 6,
kAppearanceRegionCollapseBox = 7,
kAppearanceRegionTitleProxyIcon = 8,
kAppearanceRegionStructure = 32,
kAppearanceRegionContent = 33,
kAppearanceRegionToolbarButton = 41
};
enum {
kThemeBrushDialogBackgroundActive = 1,
kThemeBrushDialogBackgroundInactive = 2,
kThemeBrushAlertBackgroundActive = 3,
kThemeBrushAlertBackgroundInactive = 4,
kThemeBrushModelessDialogBackgroundActive = 5,
kThemeBrushModelessDialogBackgroundInactive = 6,
kThemeBrushUtilityWindowBackgroundActive = 7,
kThemeBrushUtilityWindowBackgroundInactive = 8,
kThemeBrushListViewSortColumnBackground = 9,
kThemeBrushListViewBackground = 10,
kThemeBrushIconLabelBackground = 11,
kThemeBrushListViewSeparator = 12,
kThemeBrushChasingArrows = 13,
kThemeBrushDragHilite = 14,
kThemeBrushDocumentWindowBackground = 15,
kThemeBrushFinderWindowBackground = 16
};
enum {
kThemeBrushScrollBarDelimiterActive = 17,
kThemeBrushScrollBarDelimiterInactive = 18,
kThemeBrushFocusHighlight = 19,
kThemeBrushPopupArrowActive = 20,
kThemeBrushPopupArrowPressed = 21,
kThemeBrushPopupArrowInactive = 22,
kThemeBrushAppleGuideCoachmark = 23,
kThemeBrushIconLabelBackgroundSelected = 24,
kThemeBrushStaticAreaFill = 25,
kThemeBrushActiveAreaFill = 26,
kThemeBrushButtonFrameActive = 27,
kThemeBrushButtonFrameInactive = 28,
kThemeBrushButtonFaceActive = 29,
kThemeBrushButtonFaceInactive = 30,
kThemeBrushButtonFacePressed = 31,
kThemeBrushButtonActiveDarkShadow = 32,
kThemeBrushButtonActiveDarkHighlight = 33,
kThemeBrushButtonActiveLightShadow = 34,
kThemeBrushButtonActiveLightHighlight = 35,
kThemeBrushButtonInactiveDarkShadow = 36,
kThemeBrushButtonInactiveDarkHighlight = 37,
kThemeBrushButtonInactiveLightShadow = 38,
kThemeBrushButtonInactiveLightHighlight = 39,
kThemeBrushButtonPressedDarkShadow = 40,
kThemeBrushButtonPressedDarkHighlight = 41,
kThemeBrushButtonPressedLightShadow = 42,
kThemeBrushButtonPressedLightHighlight = 43,
kThemeBrushBevelActiveLight = 44,
kThemeBrushBevelActiveDark = 45,
kThemeBrushBevelInactiveLight = 46,
kThemeBrushBevelInactiveDark = 47
};
enum {
kThemeBrushNotificationWindowBackground = 48
};
enum {
kThemeBrushMovableModalBackground = 49,
kThemeBrushSheetBackgroundOpaque = 50,
kThemeBrushDrawerBackground = 51
};
enum {
kThemeBrushToolbarBackground = 52
};
enum {
kThemeBrushSheetBackgroundTransparent = 53,
kThemeBrushMenuBackground = 54,
kThemeBrushMenuBackgroundSelected = 55
};
enum {
kThemeBrushListViewOddRowBackground = 56,
kThemeBrushListViewEvenRowBackground = 57,
kThemeBrushListViewColumnDivider = 58
};
enum {
kThemeBrushSheetBackground = kThemeBrushSheetBackgroundOpaque
};
enum {
kThemeBrushBlack = -1,
kThemeBrushWhite = -2,
kThemeBrushPrimaryHighlightColor = -3,
kThemeBrushSecondaryHighlightColor = -4,
kThemeBrushAlternatePrimaryHighlightColor = -5
};
typedef SInt16 ThemeBrush;
enum {
kThemeTextColorDialogActive = 1,
kThemeTextColorDialogInactive = 2,
kThemeTextColorAlertActive = 3,
kThemeTextColorAlertInactive = 4,
kThemeTextColorModelessDialogActive = 5,
kThemeTextColorModelessDialogInactive = 6,
kThemeTextColorWindowHeaderActive = 7,
kThemeTextColorWindowHeaderInactive = 8,
kThemeTextColorPlacardActive = 9,
kThemeTextColorPlacardInactive = 10,
kThemeTextColorPlacardPressed = 11,
kThemeTextColorPushButtonActive = 12,
kThemeTextColorPushButtonInactive = 13,
kThemeTextColorPushButtonPressed = 14,
kThemeTextColorBevelButtonActive = 15,
kThemeTextColorBevelButtonInactive = 16,
kThemeTextColorBevelButtonPressed = 17,
kThemeTextColorPopupButtonActive = 18,
kThemeTextColorPopupButtonInactive = 19,
kThemeTextColorPopupButtonPressed = 20,
kThemeTextColorIconLabel = 21,
kThemeTextColorListView = 22
};
enum {
kThemeTextColorDocumentWindowTitleActive = 23,
kThemeTextColorDocumentWindowTitleInactive = 24,
kThemeTextColorMovableModalWindowTitleActive = 25,
kThemeTextColorMovableModalWindowTitleInactive = 26,
kThemeTextColorUtilityWindowTitleActive = 27,
kThemeTextColorUtilityWindowTitleInactive = 28,
kThemeTextColorPopupWindowTitleActive = 29,
kThemeTextColorPopupWindowTitleInactive = 30,
kThemeTextColorRootMenuActive = 31,
kThemeTextColorRootMenuSelected = 32,
kThemeTextColorRootMenuDisabled = 33,
kThemeTextColorMenuItemActive = 34,
kThemeTextColorMenuItemSelected = 35,
kThemeTextColorMenuItemDisabled = 36,
kThemeTextColorPopupLabelActive = 37,
kThemeTextColorPopupLabelInactive = 38
};
enum {
kThemeTextColorTabFrontActive = 39,
kThemeTextColorTabNonFrontActive = 40,
kThemeTextColorTabNonFrontPressed = 41,
kThemeTextColorTabFrontInactive = 42,
kThemeTextColorTabNonFrontInactive = 43,
kThemeTextColorIconLabelSelected = 44,
kThemeTextColorBevelButtonStickyActive = 45,
kThemeTextColorBevelButtonStickyInactive = 46
};
enum {
kThemeTextColorNotification = 47
};
enum {
kThemeTextColorSystemDetail = 48
};
enum {
kThemeTextColorBlack = -1,
kThemeTextColorWhite = -2
};
typedef SInt16 ThemeTextColor;
enum {
kThemeStateInactive = 0,
kThemeStateActive = 1,
kThemeStatePressed = 2,
kThemeStateRollover = 6,
kThemeStateUnavailable = 7,
kThemeStateUnavailableInactive = 8
};
enum {
kThemeStateDisabled = 0
};
enum {
kThemeStatePressedUp = 2,
kThemeStatePressedDown = 3
};
typedef UInt32 ThemeDrawState;
enum {
kThemeArrowCursor = 0,
kThemeCopyArrowCursor = 1,
kThemeAliasArrowCursor = 2,
kThemeContextualMenuArrowCursor = 3,
kThemeIBeamCursor = 4,
kThemeCrossCursor = 5,
kThemePlusCursor = 6,
kThemeWatchCursor = 7,
kThemeClosedHandCursor = 8,
kThemeOpenHandCursor = 9,
kThemePointingHandCursor = 10,
kThemeCountingUpHandCursor = 11,
kThemeCountingDownHandCursor = 12,
kThemeCountingUpAndDownHandCursor = 13,
kThemeSpinningCursor = 14,
kThemeResizeLeftCursor = 15,
kThemeResizeRightCursor = 16,
kThemeResizeLeftRightCursor = 17,
kThemeNotAllowedCursor = 18,
kThemeResizeUpCursor = 19,
kThemeResizeDownCursor = 20,
kThemeResizeUpDownCursor = 21,
# 586 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePoofCursor = 22
};
typedef UInt32 ThemeCursor;
enum {
kThemeMenuBarNormal = 0,
kThemeMenuBarSelected = 1
};
typedef UInt16 ThemeMenuBarState;
enum {
kThemeMenuSquareMenuBar = (1 << 0)
};
enum {
kThemeMenuActive = 0,
kThemeMenuSelected = 1,
kThemeMenuDisabled = 3
};
typedef UInt16 ThemeMenuState;
enum {
kThemeMenuTypePullDown = 0,
kThemeMenuTypePopUp = 1,
kThemeMenuTypeHierarchical = 2,
kThemeMenuTypeInactive = 0x0100
};
typedef UInt16 ThemeMenuType;
enum {
kThemeMenuItemPlain = 0,
kThemeMenuItemHierarchical = 1,
kThemeMenuItemScrollUpArrow = 2,
kThemeMenuItemScrollDownArrow = 3,
kThemeMenuItemAtTop = 0x0100,
kThemeMenuItemAtBottom = 0x0200,
kThemeMenuItemHierBackground = 0x0400,
kThemeMenuItemPopUpBackground = 0x0800,
kThemeMenuItemHasIcon = 0x8000,
kThemeMenuItemNoBackground = 0x4000
};
typedef UInt16 ThemeMenuItemType;
enum {
kThemeBackgroundTabPane = 1,
kThemeBackgroundPlacard = 2,
kThemeBackgroundWindowHeader = 3,
kThemeBackgroundListViewWindowHeader = 4,
kThemeBackgroundSecondaryGroupBox = 5,
kThemeBackgroundMetal = 6
};
typedef UInt32 ThemeBackgroundKind;
# 694 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeNameTag = 'name',
kThemeVariantNameTag = 'varn',
kThemeVariantBaseTintTag = 'tint',
kThemeHighlightColorTag = 'hcol',
kThemeScrollBarArrowStyleTag = 'sbar',
kThemeScrollBarThumbStyleTag = 'sbth',
kThemeSoundsEnabledTag = 'snds',
kThemeDblClickCollapseTag = 'coll'
};
enum {
kThemeAppearanceFileNameTag = 'thme',
kThemeSystemFontTag = 'lgsf',
kThemeSmallSystemFontTag = 'smsf',
kThemeViewsFontTag = 'vfnt',
kThemeViewsFontSizeTag = 'vfsz',
kThemeDesktopPatternNameTag = 'patn',
kThemeDesktopPatternTag = 'patt',
kThemeDesktopPictureNameTag = 'dpnm',
kThemeDesktopPictureAliasTag = 'dpal',
kThemeDesktopPictureAlignmentTag = 'dpan',
kThemeHighlightColorNameTag = 'hcnm',
kThemeExamplePictureIDTag = 'epic',
kThemeSoundTrackNameTag = 'sndt',
kThemeSoundMaskTag = 'smsk',
kThemeUserDefinedTag = 'user',
kThemeSmoothFontEnabledTag = 'smoo',
kThemeSmoothFontMinSizeTag = 'smos'
};
enum {
kTiledOnScreen = 1,
kCenterOnScreen = 2,
kFitToScreen = 3,
kFillScreen = 4,
kUseBestGuess = 5
};
enum {
kThemeCheckBoxClassicX = 0,
kThemeCheckBoxCheckMark = 1
};
typedef UInt16 ThemeCheckBoxStyle;
enum {
kThemeScrollBarArrowsSingle = 0,
kThemeScrollBarArrowsLowerRight = 1
};
typedef UInt16 ThemeScrollBarArrowStyle;
enum {
kThemeScrollBarThumbNormal = 0,
kThemeScrollBarThumbProportional = 1
};
typedef UInt16 ThemeScrollBarThumbStyle;
# 771 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
# 780 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemeSystemFont = 0,
kThemeSmallSystemFont = 1,
kThemeSmallEmphasizedSystemFont = 2,
kThemeViewsFont = 3,
kThemeEmphasizedSystemFont = 4,
kThemeApplicationFont = 5,
kThemeLabelFont = 6,
kThemeSystemFontDetail = 7,
kThemeSystemFontDetailEmphasized = 8,
kThemeMenuTitleFont = 100,
kThemeMenuItemFont = 101,
kThemeMenuItemMarkFont = 102,
kThemeMenuItemCmdKeyFont = 103,
kThemeWindowTitleFont = 104,
kThemePushButtonFont = 105,
kThemeUtilityWindowTitleFont = 106,
kThemeAlertHeaderFont = 107,
kThemeToolbarFont = 108,
kThemeMiniSystemFont = 109,
# 910 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemeCurrentPortFont = 200,
# 921 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemeSpecifiedFont = 201
};
enum {
kPublicThemeFontCount = 21
};
typedef UInt16 ThemeFontID;
enum {
kThemeTabNonFront = 0,
kThemeTabNonFrontPressed = 1,
kThemeTabNonFrontInactive = 2,
kThemeTabFront = 3,
kThemeTabFrontInactive = 4,
kThemeTabNonFrontUnavailable = 5,
kThemeTabFrontUnavailable = 6
};
typedef UInt16 ThemeTabStyle;
enum {
kThemeTabNorth = 0,
kThemeTabSouth = 1,
kThemeTabEast = 2,
kThemeTabWest = 3
};
typedef UInt16 ThemeTabDirection;
# 962 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeSmallTabHeight = 16,
kThemeLargeTabHeight = 21,
kThemeTabPaneOverlap = 3,
kThemeSmallTabHeightMax = 19,
kThemeLargeTabHeightMax = 24
};
enum {
kThemeScrollBarMedium = 0,
kThemeScrollBarSmall = 1,
kThemeSliderMedium = 2,
kThemeProgressBarMedium = 3,
kThemeIndeterminateBarMedium = 4,
kThemeRelevanceBar = 5,
kThemeSliderSmall = 6,
kThemeProgressBarLarge = 7,
kThemeIndeterminateBarLarge = 8
};
enum {
kThemeScrollBarMini = 9,
kThemeSliderMini = 10,
kThemeProgressBarMini = 11,
kThemeIndeterminateBarMini = 12
};
enum {
kThemeMediumScrollBar = kThemeScrollBarMedium,
kThemeSmallScrollBar = kThemeScrollBarSmall,
kThemeMediumSlider = kThemeSliderMedium,
kThemeMediumProgressBar = kThemeProgressBarMedium,
kThemeMediumIndeterminateBar = kThemeIndeterminateBarMedium,
kThemeSmallSlider = kThemeSliderSmall,
kThemeLargeProgressBar = kThemeProgressBarLarge,
kThemeLargeIndeterminateBar = kThemeIndeterminateBarLarge,
kThemeMiniScrollBar = kThemeScrollBarMini,
kThemeMiniSlider = kThemeSliderMini,
kThemeMiniProgressBar = kThemeProgressBarMini,
kThemeMiniIndeterminateBar = kThemeIndeterminateBarMini
};
typedef UInt16 ThemeTrackKind;
enum {
kThemeTrackActive = 0,
kThemeTrackDisabled = 1,
kThemeTrackNothingToScroll = 2,
kThemeTrackInactive = 3
};
typedef UInt8 ThemeTrackEnableState;
enum {
kThemeLeftOutsideArrowPressed = 0x01,
kThemeLeftInsideArrowPressed = 0x02,
kThemeLeftTrackPressed = 0x04,
kThemeThumbPressed = 0x08,
kThemeRightTrackPressed = 0x10,
kThemeRightInsideArrowPressed = 0x20,
kThemeRightOutsideArrowPressed = 0x40,
kThemeTopOutsideArrowPressed = kThemeLeftOutsideArrowPressed,
kThemeTopInsideArrowPressed = kThemeLeftInsideArrowPressed,
kThemeTopTrackPressed = kThemeLeftTrackPressed,
kThemeBottomTrackPressed = kThemeRightTrackPressed,
kThemeBottomInsideArrowPressed = kThemeRightInsideArrowPressed,
kThemeBottomOutsideArrowPressed = kThemeRightOutsideArrowPressed
};
typedef UInt8 ThemeTrackPressState;
enum {
kThemeThumbPlain = 0,
kThemeThumbUpward = 1,
kThemeThumbDownward = 2
};
typedef UInt8 ThemeThumbDirection;
# 1159 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeTrackHorizontal = (1 << 0),
kThemeTrackRightToLeft = (1 << 1),
kThemeTrackShowThumb = (1 << 2),
kThemeTrackThumbRgnIsNotGhost = (1 << 3),
kThemeTrackNoScrollBarArrows = (1 << 4),
kThemeTrackHasFocus = (1 << 5),
kThemeTrackHideTrack = (1 << 6)
};
typedef UInt16 ThemeTrackAttributes;
# 1213 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
struct ScrollBarTrackInfo {
SInt32 viewsize;
ThemeTrackPressState pressState;
};
typedef struct ScrollBarTrackInfo ScrollBarTrackInfo;
# 1237 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
struct SliderTrackInfo {
ThemeThumbDirection thumbDir;
ThemeTrackPressState pressState;
};
typedef struct SliderTrackInfo SliderTrackInfo;
# 1261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
struct ProgressTrackInfo {
UInt8 phase;
};
typedef struct ProgressTrackInfo ProgressTrackInfo;
# 1280 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
struct ThemeTrackDrawInfo {
ThemeTrackKind kind;
Rect bounds;
SInt32 min;
SInt32 max;
SInt32 value;
UInt32 reserved;
ThemeTrackAttributes attributes;
ThemeTrackEnableState enableState;
UInt8 filler1;
union {
ScrollBarTrackInfo scrollbar;
SliderTrackInfo slider;
ProgressTrackInfo progress;
} trackInfo;
};
typedef struct ThemeTrackDrawInfo ThemeTrackDrawInfo;
# 1346 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeWindowHasGrow = (1 << 0),
kThemeWindowHasHorizontalZoom = (1 << 3),
kThemeWindowHasVerticalZoom = (1 << 4),
kThemeWindowHasFullZoom = kThemeWindowHasHorizontalZoom + kThemeWindowHasVerticalZoom,
kThemeWindowHasCloseBox = (1 << 5),
kThemeWindowHasCollapseBox = (1 << 6),
kThemeWindowHasTitleText = (1 << 7),
kThemeWindowIsCollapsed = (1 << 8),
kThemeWindowHasDirty = (1 << 9),
kThemeWindowHasToolbarButton = (1 << 11)
};
typedef UInt32 ThemeWindowAttributes;
# 1418 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeDocumentWindow = 0,
kThemeDialogWindow = 1,
kThemeMovableDialogWindow = 2,
kThemeAlertWindow = 3,
kThemeMovableAlertWindow = 4,
kThemePlainDialogWindow = 5,
kThemeShadowDialogWindow = 6,
kThemePopupWindow = 7,
kThemeUtilityWindow = 8,
kThemeUtilitySideWindow = 9,
kThemeSheetWindow = 10,
kThemeDrawerWindow = 11
};
typedef UInt16 ThemeWindowType;
# 1442 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeWidgetCloseBox = 0,
kThemeWidgetZoomBox = 1,
kThemeWidgetCollapseBox = 2,
kThemeWidgetDirtyCloseBox = 6
};
enum {
kThemeWidgetABox = 3,
kThemeWidgetBBox = 4,
kThemeWidgetBOffBox = 5
};
typedef UInt16 ThemeTitleBarWidget;
# 1465 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeArrowLeft = 0,
kThemeArrowDown = 1,
kThemeArrowRight = 2,
kThemeArrowUp = 3
};
typedef UInt16 ThemeArrowOrientation;
# 1481 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeArrow3pt = 0,
kThemeArrow5pt = 1,
kThemeArrow7pt = 2,
kThemeArrow9pt = 3
};
typedef UInt16 ThemePopupArrowSize;
# 1497 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeGrowLeft = (1 << 0),
kThemeGrowRight = (1 << 1),
kThemeGrowUp = (1 << 2),
kThemeGrowDown = (1 << 3)
};
typedef UInt16 ThemeGrowDirection;
enum {
# 1520 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePushButton = 0,
kThemeCheckBox = 1,
kThemeRadioButton = 2,
kThemeBevelButton = 3,
kThemeArrowButton = 4,
# 1545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePopupButton = 5,
kThemeDisclosureTriangle = 6,
kThemeIncDecButton = 7,
kThemeBevelButtonSmall = 8,
kThemeBevelButtonMedium = 3,
kThemeBevelButtonLarge = 9,
kThemeListHeaderButton = 10,
kThemeRoundButton = 11,
kThemeRoundButtonLarge = 12,
kThemeCheckBoxSmall = 13,
kThemeRadioButtonSmall = 14,
kThemeRoundedBevelButton = 15,
kThemeComboBox = 16,
kThemeComboBoxSmall = 17
};
enum {
kThemeComboBoxMini = 18,
kThemeCheckBoxMini = 19,
kThemeRadioButtonMini = 20,
kThemeIncDecButtonSmall = 21,
kThemeIncDecButtonMini = 22,
kThemeArrowButtonSmall = 23,
kThemeArrowButtonMini = 24,
# 1681 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePushButtonNormal = 25,
# 1690 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePushButtonSmall = 26,
# 1702 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePushButtonMini = 27,
# 1711 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePopupButtonNormal = 28,
# 1720 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePopupButtonSmall = 29,
# 1732 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePopupButtonMini = 30
};
enum {
kThemeBevelButtonInset = 31,
kThemePushButtonInset = 32,
kThemePushButtonInsetSmall = 33,
kThemeRoundButtonHelp = 34
};
# 1774 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeNormalCheckBox = kThemeCheckBox,
kThemeNormalRadioButton = kThemeRadioButton,
kThemeLargeBevelButton = kThemeBevelButtonLarge,
kThemeMediumBevelButton = kThemeBevelButtonMedium,
kThemeMiniCheckBox = kThemeCheckBoxMini,
kThemeMiniRadioButton = kThemeRadioButtonMini,
kThemeSmallBevelButton = kThemeBevelButtonSmall,
kThemeSmallCheckBox = kThemeCheckBoxSmall,
kThemeSmallRadioButton = kThemeRadioButtonSmall,
kThemeLargeRoundButton = kThemeRoundButtonLarge,
kThemeDisclosureButton = kThemeDisclosureTriangle
};
typedef UInt16 ThemeButtonKind;
# 1797 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeButtonOff = 0,
kThemeButtonOn = 1,
kThemeButtonMixed = 2,
kThemeDisclosureRight = 0,
kThemeDisclosureDown = 1,
kThemeDisclosureLeft = 2
};
typedef UInt16 ThemeButtonValue;
# 1818 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeAdornmentNone = 0,
kThemeAdornmentDefault = (1 << 0),
kThemeAdornmentFocus = (1 << 2),
kThemeAdornmentRightToLeft = (1 << 4),
kThemeAdornmentDrawIndicatorOnly = (1 << 5),
kThemeAdornmentHeaderButtonLeftNeighborSelected = (1 << 6),
kThemeAdornmentHeaderButtonRightNeighborSelected = (1 << 7),
kThemeAdornmentHeaderButtonSortUp = (1 << 8),
kThemeAdornmentHeaderMenuButton = (1 << 9),
kThemeAdornmentHeaderButtonNoShadow = (1 << 10),
kThemeAdornmentHeaderButtonShadowOnly = (1 << 11),
kThemeAdornmentHeaderButtonNoSortArrow = (1 << 12),
kThemeAdornmentArrowLeftArrow = (1 << 6),
kThemeAdornmentArrowDownArrow = (1 << 7),
kThemeAdornmentArrowDoubleArrow = (1 << 8),
kThemeAdornmentArrowUpArrow = (1 << 9),
kThemeAdornmentArrowRightArrow = (1 << 10)
};
enum {
kThemeAdornmentNoShadow = kThemeAdornmentHeaderButtonNoShadow,
kThemeAdornmentShadowOnly = kThemeAdornmentHeaderButtonShadowOnly
};
typedef UInt16 ThemeButtonAdornment;
# 1938 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
struct ThemeButtonDrawInfo {
ThemeDrawState state;
ThemeButtonValue value;
ThemeButtonAdornment adornment;
};
typedef struct ThemeButtonDrawInfo ThemeButtonDrawInfo;
typedef ThemeButtonDrawInfo * ThemeButtonDrawInfoPtr;
# 1969 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeNoSounds = 0,
kThemeWindowSoundsMask = (1 << 0),
kThemeMenuSoundsMask = (1 << 1),
kThemeControlSoundsMask = (1 << 2),
kThemeFinderSoundsMask = (1 << 3)
};
# 1990 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeDragSoundNone = 0,
kThemeDragSoundMoveWindow = 'wmov',
kThemeDragSoundGrowWindow = 'wgro',
kThemeDragSoundMoveUtilWindow = 'umov',
kThemeDragSoundGrowUtilWindow = 'ugro',
kThemeDragSoundMoveDialog = 'dmov',
kThemeDragSoundMoveAlert = 'amov',
kThemeDragSoundMoveIcon = 'imov',
kThemeDragSoundSliderThumb = 'slth',
kThemeDragSoundSliderGhost = 'slgh',
kThemeDragSoundScrollBarThumb = 'sbth',
kThemeDragSoundScrollBarGhost = 'sbgh',
kThemeDragSoundScrollBarArrowDecreasing = 'sbad',
kThemeDragSoundScrollBarArrowIncreasing = 'sbai',
kThemeDragSoundDragging = 'drag'
};
typedef OSType ThemeDragSoundKind;
# 2017 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeSoundNone = 0,
kThemeSoundMenuOpen = 'mnuo',
kThemeSoundMenuClose = 'mnuc',
kThemeSoundMenuItemHilite = 'mnui',
kThemeSoundMenuItemRelease = 'mnus',
kThemeSoundWindowClosePress = 'wclp',
kThemeSoundWindowCloseEnter = 'wcle',
kThemeSoundWindowCloseExit = 'wclx',
kThemeSoundWindowCloseRelease = 'wclr',
kThemeSoundWindowZoomPress = 'wzmp',
kThemeSoundWindowZoomEnter = 'wzme',
kThemeSoundWindowZoomExit = 'wzmx',
kThemeSoundWindowZoomRelease = 'wzmr',
kThemeSoundWindowCollapsePress = 'wcop',
kThemeSoundWindowCollapseEnter = 'wcoe',
kThemeSoundWindowCollapseExit = 'wcox',
kThemeSoundWindowCollapseRelease = 'wcor',
kThemeSoundWindowDragBoundary = 'wdbd',
kThemeSoundUtilWinClosePress = 'uclp',
kThemeSoundUtilWinCloseEnter = 'ucle',
kThemeSoundUtilWinCloseExit = 'uclx',
kThemeSoundUtilWinCloseRelease = 'uclr',
kThemeSoundUtilWinZoomPress = 'uzmp',
kThemeSoundUtilWinZoomEnter = 'uzme',
kThemeSoundUtilWinZoomExit = 'uzmx',
kThemeSoundUtilWinZoomRelease = 'uzmr',
kThemeSoundUtilWinCollapsePress = 'ucop',
kThemeSoundUtilWinCollapseEnter = 'ucoe',
kThemeSoundUtilWinCollapseExit = 'ucox',
kThemeSoundUtilWinCollapseRelease = 'ucor',
kThemeSoundUtilWinDragBoundary = 'udbd',
kThemeSoundWindowOpen = 'wopn',
kThemeSoundWindowClose = 'wcls',
kThemeSoundWindowZoomIn = 'wzmi',
kThemeSoundWindowZoomOut = 'wzmo',
kThemeSoundWindowCollapseUp = 'wcol',
kThemeSoundWindowCollapseDown = 'wexp',
kThemeSoundWindowActivate = 'wact',
kThemeSoundUtilWindowOpen = 'uopn',
kThemeSoundUtilWindowClose = 'ucls',
kThemeSoundUtilWindowZoomIn = 'uzmi',
kThemeSoundUtilWindowZoomOut = 'uzmo',
kThemeSoundUtilWindowCollapseUp = 'ucol',
kThemeSoundUtilWindowCollapseDown = 'uexp',
kThemeSoundUtilWindowActivate = 'uact',
kThemeSoundDialogOpen = 'dopn',
kThemeSoundDialogClose = 'dlgc',
kThemeSoundAlertOpen = 'aopn',
kThemeSoundAlertClose = 'altc',
kThemeSoundPopupWindowOpen = 'pwop',
kThemeSoundPopupWindowClose = 'pwcl',
kThemeSoundButtonPress = 'btnp',
kThemeSoundButtonEnter = 'btne',
kThemeSoundButtonExit = 'btnx',
kThemeSoundButtonRelease = 'btnr',
kThemeSoundDefaultButtonPress = 'dbtp',
kThemeSoundDefaultButtonEnter = 'dbte',
kThemeSoundDefaultButtonExit = 'dbtx',
kThemeSoundDefaultButtonRelease = 'dbtr',
kThemeSoundCancelButtonPress = 'cbtp',
kThemeSoundCancelButtonEnter = 'cbte',
kThemeSoundCancelButtonExit = 'cbtx',
kThemeSoundCancelButtonRelease = 'cbtr',
kThemeSoundCheckboxPress = 'chkp',
kThemeSoundCheckboxEnter = 'chke',
kThemeSoundCheckboxExit = 'chkx',
kThemeSoundCheckboxRelease = 'chkr',
kThemeSoundRadioPress = 'radp',
kThemeSoundRadioEnter = 'rade',
kThemeSoundRadioExit = 'radx',
kThemeSoundRadioRelease = 'radr',
kThemeSoundScrollArrowPress = 'sbap',
kThemeSoundScrollArrowEnter = 'sbae',
kThemeSoundScrollArrowExit = 'sbax',
kThemeSoundScrollArrowRelease = 'sbar',
kThemeSoundScrollEndOfTrack = 'sbte',
kThemeSoundScrollTrackPress = 'sbtp',
kThemeSoundSliderEndOfTrack = 'slte',
kThemeSoundSliderTrackPress = 'sltp',
kThemeSoundBalloonOpen = 'blno',
kThemeSoundBalloonClose = 'blnc',
kThemeSoundBevelPress = 'bevp',
kThemeSoundBevelEnter = 'beve',
kThemeSoundBevelExit = 'bevx',
kThemeSoundBevelRelease = 'bevr',
kThemeSoundLittleArrowUpPress = 'laup',
kThemeSoundLittleArrowDnPress = 'ladp',
kThemeSoundLittleArrowEnter = 'lare',
kThemeSoundLittleArrowExit = 'larx',
kThemeSoundLittleArrowUpRelease = 'laur',
kThemeSoundLittleArrowDnRelease = 'ladr',
kThemeSoundPopupPress = 'popp',
kThemeSoundPopupEnter = 'pope',
kThemeSoundPopupExit = 'popx',
kThemeSoundPopupRelease = 'popr',
kThemeSoundDisclosurePress = 'dscp',
kThemeSoundDisclosureEnter = 'dsce',
kThemeSoundDisclosureExit = 'dscx',
kThemeSoundDisclosureRelease = 'dscr',
kThemeSoundTabPressed = 'tabp',
kThemeSoundTabEnter = 'tabe',
kThemeSoundTabExit = 'tabx',
kThemeSoundTabRelease = 'tabr',
kThemeSoundDragTargetHilite = 'dthi',
kThemeSoundDragTargetUnhilite = 'dtuh',
kThemeSoundDragTargetDrop = 'dtdr',
kThemeSoundEmptyTrash = 'ftrs',
kThemeSoundSelectItem = 'fsel',
kThemeSoundNewItem = 'fnew',
kThemeSoundReceiveDrop = 'fdrp',
kThemeSoundCopyDone = 'fcpd',
kThemeSoundResolveAlias = 'fral',
kThemeSoundLaunchApp = 'flap',
kThemeSoundDiskInsert = 'dski',
kThemeSoundDiskEject = 'dske',
kThemeSoundFinderDragOnIcon = 'fdon',
kThemeSoundFinderDragOffIcon = 'fdof'
};
typedef OSType ThemeSoundKind;
# 2161 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemePopupTabNormalPosition = 0,
kThemePopupTabCenterOnWindow = 1,
kThemePopupTabCenterOnOffset = 2
};
struct ThemeWindowMetrics {
UInt16 metricSize;
SInt16 titleHeight;
SInt16 titleWidth;
SInt16 popupTabOffset;
SInt16 popupTabWidth;
UInt16 popupTabPosition;
};
typedef struct ThemeWindowMetrics ThemeWindowMetrics;
typedef ThemeWindowMetrics * ThemeWindowMetricsPtr;
# 2186 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeMetricScrollBarWidth = 0,
kThemeMetricSmallScrollBarWidth = 1,
kThemeMetricCheckBoxHeight = 2,
kThemeMetricRadioButtonHeight = 3,
# 2215 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemeMetricEditTextWhitespace = 4,
kThemeMetricEditTextFrameOutset = 5,
kThemeMetricListBoxFrameOutset = 6,
kThemeMetricFocusRectOutset = 7,
kThemeMetricImageWellThickness = 8,
kThemeMetricScrollBarOverlap = 9,
kThemeMetricLargeTabHeight = 10,
kThemeMetricLargeTabCapsWidth = 11,
kThemeMetricTabFrameOverlap = 12,
# 2277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemeMetricTabIndentOrStyle = 13,
kThemeMetricTabOverlap = 14,
kThemeMetricSmallTabHeight = 15,
kThemeMetricSmallTabCapsWidth = 16,
kThemeMetricPushButtonHeight = 19,
kThemeMetricListHeaderHeight = 20,
kThemeMetricDisclosureTriangleHeight = 25,
kThemeMetricDisclosureTriangleWidth = 26,
kThemeMetricLittleArrowsHeight = 27,
kThemeMetricLittleArrowsWidth = 28,
kThemeMetricPopupButtonHeight = 30,
kThemeMetricSmallPopupButtonHeight = 31,
kThemeMetricLargeProgressBarThickness = 32,
kThemeMetricPullDownHeight = 33,
kThemeMetricSmallPullDownHeight = 34,
kThemeMetricResizeControlHeight = 38,
kThemeMetricSmallResizeControlHeight = 39,
kThemeMetricHSliderHeight = 41,
kThemeMetricHSliderTickHeight = 42,
kThemeMetricVSliderWidth = 45,
kThemeMetricVSliderTickWidth = 46,
kThemeMetricTitleBarControlsHeight = 49,
kThemeMetricCheckBoxWidth = 50,
kThemeMetricRadioButtonWidth = 52,
kThemeMetricNormalProgressBarThickness = 58,
kThemeMetricProgressBarShadowOutset = 59,
kThemeMetricSmallProgressBarShadowOutset = 60,
kThemeMetricPrimaryGroupBoxContentInset = 61,
kThemeMetricSecondaryGroupBoxContentInset = 62,
kThemeMetricMenuMarkColumnWidth = 63,
kThemeMetricMenuExcludedMarkColumnWidth = 64,
kThemeMetricMenuMarkIndent = 65,
kThemeMetricMenuTextLeadingEdgeMargin = 66,
kThemeMetricMenuTextTrailingEdgeMargin = 67,
kThemeMetricMenuIndentWidth = 68,
kThemeMetricMenuIconTrailingEdgeMargin = 69
};
enum {
kThemeMetricDisclosureButtonHeight = 17,
kThemeMetricRoundButtonSize = 18,
kThemeMetricSmallCheckBoxHeight = 21,
kThemeMetricDisclosureButtonWidth = 22,
kThemeMetricSmallDisclosureButtonHeight = 23,
kThemeMetricSmallDisclosureButtonWidth = 24,
kThemeMetricPaneSplitterHeight = 29,
kThemeMetricSmallPushButtonHeight = 35,
kThemeMetricSmallRadioButtonHeight = 36,
kThemeMetricRelevanceIndicatorHeight = 37,
kThemeMetricLargeRoundButtonSize = 40,
kThemeMetricSmallHSliderHeight = 43,
kThemeMetricSmallHSliderTickHeight = 44,
kThemeMetricSmallVSliderWidth = 47,
kThemeMetricSmallVSliderTickWidth = 48,
kThemeMetricSmallCheckBoxWidth = 51,
kThemeMetricSmallRadioButtonWidth = 53,
kThemeMetricSmallHSliderMinThumbWidth = 54,
kThemeMetricSmallVSliderMinThumbHeight = 55,
kThemeMetricSmallHSliderTickOffset = 56,
kThemeMetricSmallVSliderTickOffset = 57
};
enum {
kThemeMetricComboBoxLargeBottomShadowOffset = 70,
kThemeMetricComboBoxLargeRightShadowOffset = 71,
kThemeMetricComboBoxSmallBottomShadowOffset = 72,
kThemeMetricComboBoxSmallRightShadowOffset = 73,
kThemeMetricComboBoxLargeDisclosureWidth = 74,
kThemeMetricComboBoxSmallDisclosureWidth = 75,
kThemeMetricRoundTextFieldContentInsetLeft = 76,
kThemeMetricRoundTextFieldContentInsetRight = 77,
kThemeMetricRoundTextFieldContentInsetBottom = 78,
kThemeMetricRoundTextFieldContentInsetTop = 79,
kThemeMetricRoundTextFieldContentHeight = 80,
kThemeMetricComboBoxMiniBottomShadowOffset = 81,
kThemeMetricComboBoxMiniDisclosureWidth = 82,
kThemeMetricComboBoxMiniRightShadowOffset = 83,
kThemeMetricLittleArrowsMiniHeight = 84,
kThemeMetricLittleArrowsMiniWidth = 85,
kThemeMetricLittleArrowsSmallHeight = 86,
kThemeMetricLittleArrowsSmallWidth = 87,
kThemeMetricMiniCheckBoxHeight = 88,
kThemeMetricMiniCheckBoxWidth = 89,
kThemeMetricMiniDisclosureButtonHeight = 90,
kThemeMetricMiniDisclosureButtonWidth = 91,
kThemeMetricMiniHSliderHeight = 92,
kThemeMetricMiniHSliderMinThumbWidth = 93,
kThemeMetricMiniHSliderTickHeight = 94,
kThemeMetricMiniHSliderTickOffset = 95,
kThemeMetricMiniPopupButtonHeight = 96,
kThemeMetricMiniPullDownHeight = 97,
kThemeMetricMiniPushButtonHeight = 98,
kThemeMetricMiniRadioButtonHeight = 99,
kThemeMetricMiniRadioButtonWidth = 100,
kThemeMetricMiniTabCapsWidth = 101,
kThemeMetricMiniTabFrameOverlap = 102,
kThemeMetricMiniTabHeight = 103,
kThemeMetricMiniTabOverlap = 104,
kThemeMetricMiniVSliderMinThumbHeight = 105,
kThemeMetricMiniVSliderTickOffset = 106,
kThemeMetricMiniVSliderTickWidth = 107,
kThemeMetricMiniVSliderWidth = 108,
kThemeMetricRoundTextFieldContentInsetWithIconLeft = 109,
kThemeMetricRoundTextFieldContentInsetWithIconRight = 110,
kThemeMetricRoundTextFieldMiniContentHeight = 111,
kThemeMetricRoundTextFieldMiniContentInsetBottom = 112,
kThemeMetricRoundTextFieldMiniContentInsetLeft = 113,
kThemeMetricRoundTextFieldMiniContentInsetRight = 114,
kThemeMetricRoundTextFieldMiniContentInsetTop = 115,
kThemeMetricRoundTextFieldMiniContentInsetWithIconLeft = 116,
kThemeMetricRoundTextFieldMiniContentInsetWithIconRight = 117,
kThemeMetricRoundTextFieldSmallContentHeight = 118,
kThemeMetricRoundTextFieldSmallContentInsetBottom = 119,
kThemeMetricRoundTextFieldSmallContentInsetLeft = 120,
kThemeMetricRoundTextFieldSmallContentInsetRight = 121,
kThemeMetricRoundTextFieldSmallContentInsetTop = 122,
kThemeMetricRoundTextFieldSmallContentInsetWithIconLeft = 123,
kThemeMetricRoundTextFieldSmallContentInsetWithIconRight = 124,
kThemeMetricSmallTabFrameOverlap = 125,
kThemeMetricSmallTabOverlap = 126,
kThemeMetricSmallPaneSplitterHeight = 127
};
enum {
kThemeMetricHSliderTickOffset = 128,
kThemeMetricVSliderTickOffset = 129,
kThemeMetricSliderMinThumbHeight = 130,
kThemeMetricSliderMinThumbWidth = 131,
kThemeMetricScrollBarMinThumbHeight = 132,
kThemeMetricScrollBarMinThumbWidth = 133,
kThemeMetricSmallScrollBarMinThumbHeight = 134,
kThemeMetricSmallScrollBarMinThumbWidth = 135,
kThemeMetricButtonRoundedHeight = 136,
kThemeMetricButtonRoundedRecessedHeight = 137
};
enum {
kThemeMetricSeparatorSize = 138,
kThemeMetricTexturedPushButtonHeight = 139,
kThemeMetricTexturedSmallPushButtonHeight = 140
};
typedef UInt32 ThemeMetric;
typedef struct OpaqueThemeDrawingState* ThemeDrawingState;
# 2758 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
typedef void ( * ThemeTabTitleDrawProcPtr)(const Rect *bounds, ThemeTabStyle style, ThemeTabDirection direction, SInt16 depth, Boolean isColorDev, URefCon userData);
# 2767 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
typedef void ( * ThemeEraseProcPtr)(const Rect *bounds, URefCon eraseData, SInt16 depth, Boolean isColorDev);
typedef void ( * ThemeButtonDrawProcPtr)(const Rect *bounds, ThemeButtonKind kind, const ThemeButtonDrawInfo *info, URefCon userData, SInt16 depth, Boolean isColorDev);
typedef void ( * WindowTitleDrawingProcPtr)(const Rect *bounds, SInt16 depth, Boolean colorDevice, URefCon userData);
typedef Boolean ( * ThemeIteratorProcPtr)(ConstStr255Param inFileName, SInt16 resID, Collection inThemeSettings, PRefCon inUserData);
typedef ThemeTabTitleDrawProcPtr ThemeTabTitleDrawUPP;
typedef ThemeEraseProcPtr ThemeEraseUPP;
typedef ThemeButtonDrawProcPtr ThemeButtonDrawUPP;
typedef WindowTitleDrawingProcPtr WindowTitleDrawingUPP;
typedef ThemeIteratorProcPtr ThemeIteratorUPP;
# 2805 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern ThemeTabTitleDrawUPP
NewThemeTabTitleDrawUPP(ThemeTabTitleDrawProcPtr userRoutine) __attribute__((deprecated));
# 2816 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern ThemeEraseUPP
NewThemeEraseUPP(ThemeEraseProcPtr userRoutine) __attribute__((deprecated));
# 2827 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern ThemeButtonDrawUPP
NewThemeButtonDrawUPP(ThemeButtonDrawProcPtr userRoutine) __attribute__((deprecated));
# 2838 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern WindowTitleDrawingUPP
NewWindowTitleDrawingUPP(WindowTitleDrawingProcPtr userRoutine) __attribute__((deprecated));
# 2849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern ThemeIteratorUPP
NewThemeIteratorUPP(ThemeIteratorProcPtr userRoutine) __attribute__((deprecated));
# 2860 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeThemeTabTitleDrawUPP(ThemeTabTitleDrawUPP userUPP) __attribute__((deprecated));
# 2871 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeThemeEraseUPP(ThemeEraseUPP userUPP) __attribute__((deprecated));
# 2882 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeThemeButtonDrawUPP(ThemeButtonDrawUPP userUPP) __attribute__((deprecated));
# 2893 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeWindowTitleDrawingUPP(WindowTitleDrawingUPP userUPP) __attribute__((deprecated));
# 2904 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeThemeIteratorUPP(ThemeIteratorUPP userUPP) __attribute__((deprecated));
# 2915 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeThemeTabTitleDrawUPP(
const Rect * bounds,
ThemeTabStyle style,
ThemeTabDirection direction,
SInt16 depth,
Boolean isColorDev,
URefCon userData,
ThemeTabTitleDrawUPP userUPP) __attribute__((deprecated));
# 2933 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeThemeEraseUPP(
const Rect * bounds,
URefCon eraseData,
SInt16 depth,
Boolean isColorDev,
ThemeEraseUPP userUPP) __attribute__((deprecated));
# 2949 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeThemeButtonDrawUPP(
const Rect * bounds,
ThemeButtonKind kind,
const ThemeButtonDrawInfo * info,
URefCon userData,
SInt16 depth,
Boolean isColorDev,
ThemeButtonDrawUPP userUPP) __attribute__((deprecated));
# 2967 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeWindowTitleDrawingUPP(
const Rect * bounds,
SInt16 depth,
Boolean colorDevice,
URefCon userData,
WindowTitleDrawingUPP userUPP) __attribute__((deprecated));
# 2983 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern Boolean
InvokeThemeIteratorUPP(
ConstStr255Param inFileName,
SInt16 resID,
Collection inThemeSettings,
PRefCon inUserData,
ThemeIteratorUPP userUPP) __attribute__((deprecated));
# 3009 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
#define NewThemeTabTitleDrawUPP(userRoutine) ((ThemeTabTitleDrawUPP)userRoutine)
#define NewThemeEraseUPP(userRoutine) ((ThemeEraseUPP)userRoutine)
#define NewThemeButtonDrawUPP(userRoutine) ((ThemeButtonDrawUPP)userRoutine)
#define NewWindowTitleDrawingUPP(userRoutine) ((WindowTitleDrawingUPP)userRoutine)
#define NewThemeIteratorUPP(userRoutine) ((ThemeIteratorUPP)userRoutine)
#define DisposeThemeTabTitleDrawUPP(userUPP)
#define DisposeThemeEraseUPP(userUPP)
#define DisposeThemeButtonDrawUPP(userUPP)
#define DisposeWindowTitleDrawingUPP(userUPP)
#define DisposeThemeIteratorUPP(userUPP)
#define InvokeThemeTabTitleDrawUPP(bounds,style,direction,depth,isColorDev,userData,userUPP) (*userUPP)(bounds, style, direction, depth, isColorDev, userData)
#define InvokeThemeEraseUPP(bounds,eraseData,depth,isColorDev,userUPP) (*userUPP)(bounds, eraseData, depth, isColorDev)
#define InvokeThemeButtonDrawUPP(bounds,kind,info,userData,depth,isColorDev,userUPP) (*userUPP)(bounds, kind, info, userData, depth, isColorDev)
#define InvokeWindowTitleDrawingUPP(bounds,depth,colorDevice,userData,userUPP) (*userUPP)(bounds, depth, colorDevice, userData)
#define InvokeThemeIteratorUPP(inFileName,resID,inThemeSettings,inUserData,userUPP) (*userUPP)(inFileName, resID, inThemeSettings, inUserData)
# 3037 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
typedef void ( * MenuTitleDrawingProcPtr)(const Rect *inBounds, SInt16 inDepth, Boolean inIsColorDevice, SRefCon inUserData);
typedef void ( * MenuItemDrawingProcPtr)(const Rect *inBounds, SInt16 inDepth, Boolean inIsColorDevice, SRefCon inUserData);
typedef MenuTitleDrawingProcPtr MenuTitleDrawingUPP;
typedef MenuItemDrawingProcPtr MenuItemDrawingUPP;
# 3056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern MenuTitleDrawingUPP
NewMenuTitleDrawingUPP(MenuTitleDrawingProcPtr userRoutine) __attribute__((deprecated));
# 3067 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern MenuItemDrawingUPP
NewMenuItemDrawingUPP(MenuItemDrawingProcPtr userRoutine) __attribute__((deprecated));
# 3078 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeMenuTitleDrawingUPP(MenuTitleDrawingUPP userUPP) __attribute__((deprecated));
# 3089 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeMenuItemDrawingUPP(MenuItemDrawingUPP userUPP) __attribute__((deprecated));
# 3100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeMenuTitleDrawingUPP(
const Rect * inBounds,
SInt16 inDepth,
Boolean inIsColorDevice,
SRefCon inUserData,
MenuTitleDrawingUPP userUPP) __attribute__((deprecated));
# 3116 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeMenuItemDrawingUPP(
const Rect * inBounds,
SInt16 inDepth,
Boolean inIsColorDevice,
SRefCon inUserData,
MenuItemDrawingUPP userUPP) __attribute__((deprecated));
# 3133 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
#define NewMenuTitleDrawingUPP(userRoutine) ((MenuTitleDrawingUPP)userRoutine)
#define NewMenuItemDrawingUPP(userRoutine) ((MenuItemDrawingUPP)userRoutine)
#define DisposeMenuTitleDrawingUPP(userUPP)
#define DisposeMenuItemDrawingUPP(userUPP)
#define InvokeMenuTitleDrawingUPP(inBounds,inDepth,inIsColorDevice,inUserData,userUPP) (*userUPP)(inBounds, inDepth, inIsColorDevice, inUserData)
#define InvokeMenuItemDrawingUPP(inBounds,inDepth,inIsColorDevice,inUserData,userUPP) (*userUPP)(inBounds, inDepth, inIsColorDevice, inUserData)
# 3164 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
RegisterAppearanceClient(void) __attribute__((deprecated));
# 3185 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
UnregisterAppearanceClient(void) __attribute__((deprecated));
# 3207 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern Boolean
IsAppearanceClient(const ProcessSerialNumber * process) __attribute__((deprecated));
# 3242 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
SetThemePen(
ThemeBrush inBrush,
SInt16 inDepth,
Boolean inIsColorDevice) __attribute__((deprecated));
# 3268 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
SetThemeBackground(
ThemeBrush inBrush,
SInt16 inDepth,
Boolean inIsColorDevice) __attribute__((deprecated));
# 3294 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
SetThemeTextColor(
ThemeTextColor inColor,
SInt16 inDepth,
Boolean inIsColorDevice) __attribute__((deprecated));
# 3319 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeWindowHeader(
const Rect * inRect,
ThemeDrawState inState) __attribute__((deprecated));
# 3343 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeWindowListViewHeader(
const Rect * inRect,
ThemeDrawState inState) __attribute__((deprecated));
# 3366 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemePlacard(
const Rect * inRect,
ThemeDrawState inState) __attribute__((deprecated));
# 3390 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeEditTextFrame(
const Rect * inRect,
ThemeDrawState inState) __attribute__((deprecated));
# 3413 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeListBoxFrame(
const Rect * inRect,
ThemeDrawState inState) __attribute__((deprecated));
# 3441 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeFocusRect(
const Rect * inRect,
Boolean inHasFocus) __attribute__((deprecated));
# 3465 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemePrimaryGroup(
const Rect * inRect,
ThemeDrawState inState) __attribute__((deprecated));
# 3488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeSecondaryGroup(
const Rect * inRect,
ThemeDrawState inState) __attribute__((deprecated));
# 3511 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeSeparator(
const Rect * inRect,
ThemeDrawState inState) __attribute__((deprecated));
# 3536 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeModelessDialogFrame(
const Rect * inRect,
ThemeDrawState inState) __attribute__((deprecated));
# 3559 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeGenericWell(
const Rect * inRect,
ThemeDrawState inState,
Boolean inFillCenter) __attribute__((deprecated));
# 3587 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeFocusRegion(
RgnHandle inRegion,
Boolean inHasFocus) __attribute__((deprecated));
# 3612 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern Boolean
IsThemeInColor(
SInt16 inDepth,
Boolean inIsColorDevice) __attribute__((deprecated));
# 3641 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeAccentColors(CTabHandle * outColors) __attribute__((deprecated));
# 3662 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeMenuBarBackground(
const Rect * inBounds,
ThemeMenuBarState inState,
UInt32 inAttributes) __attribute__((deprecated));
# 3686 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeMenuTitle(
const Rect * inMenuBarRect,
const Rect * inTitleRect,
ThemeMenuState inState,
UInt32 inAttributes,
MenuTitleDrawingUPP inTitleProc,
URefCon inTitleData) __attribute__((deprecated));
# 3716 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeMenuBarHeight(SInt16 * outHeight) ;
# 3737 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeMenuBackground(
const Rect * inMenuRect,
ThemeMenuType inMenuType) __attribute__((deprecated));
# 3760 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeMenuBackgroundRegion(
const Rect * inMenuRect,
ThemeMenuType menuType,
RgnHandle region) __attribute__((deprecated));
# 3784 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeMenuItem(
const Rect * inMenuRect,
const Rect * inItemRect,
SInt16 inVirtualMenuTop,
SInt16 inVirtualMenuBottom,
ThemeMenuState inState,
ThemeMenuItemType inItemType,
MenuItemDrawingUPP inDrawProc,
URefCon inUserData) __attribute__((deprecated));
# 3813 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeMenuSeparator(const Rect * inItemRect) __attribute__((deprecated));
# 3839 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeMenuSeparatorHeight(SInt16 * outHeight) ;
# 3869 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeMenuItemExtra(
ThemeMenuItemType inItemType,
SInt16 * outHeight,
SInt16 * outWidth) ;
# 3899 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeMenuTitleExtra(
SInt16 * outWidth,
Boolean inIsSquished) ;
# 3934 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetTheme(Collection ioCollection) ;
# 3955 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
SetTheme(Collection ioCollection) __attribute__((deprecated));
# 3977 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
IterateThemes(
ThemeIteratorUPP inProc,
PRefCon inUserData) __attribute__((deprecated));
# 4001 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeTabPane(
const Rect * inRect,
ThemeDrawState inState) __attribute__((deprecated));
# 4024 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeTab(
const Rect * inRect,
ThemeTabStyle inStyle,
ThemeTabDirection inDirection,
ThemeTabTitleDrawUPP labelProc,
URefCon userData) __attribute__((deprecated));
# 4050 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeTabRegion(
const Rect * inRect,
ThemeTabStyle inStyle,
ThemeTabDirection inDirection,
RgnHandle ioRgn) __attribute__((deprecated));
# 4078 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
SetThemeCursor(ThemeCursor inCursor) ;
# 4108 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
SetAnimatedThemeCursor(
ThemeCursor inCursor,
UInt32 inAnimationStep) ;
# 4135 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeScrollBarThumbStyle(ThemeScrollBarThumbStyle * outStyle) ;
# 4160 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeScrollBarArrowStyle(ThemeScrollBarArrowStyle * outStyle) ;
# 4184 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeCheckBoxStyle(ThemeCheckBoxStyle * outStyle) ;
# 4207 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
UseThemeFont(
ThemeFontID inFontID,
ScriptCode inScript) __attribute__((deprecated));
# 4232 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeFont(
ThemeFontID inFontID,
ScriptCode inScript,
Str255 outFontName,
SInt16 * outFontSize,
Style * outStyle) __attribute__((deprecated));
# 4326 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeTextBox(
CFStringRef inString,
ThemeFontID inFontID,
ThemeDrawState inState,
Boolean inWrapToWidth,
const Rect * inBoundingBox,
SInt16 inJust,
CGContextRef inContext) __attribute__((deprecated));
# 4397 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
TruncateThemeText(
CFMutableStringRef inString,
ThemeFontID inFontID,
ThemeDrawState inState,
SInt16 inPixelWidthLimit,
TruncCode inTruncWhere,
Boolean * outTruncated) __attribute__((deprecated));
# 4470 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeTextDimensions(
CFStringRef inString,
ThemeFontID inFontID,
ThemeDrawState inState,
Boolean inWrapToWidth,
Point * ioBounds,
SInt16 * outBaseline) __attribute__((deprecated));
# 4524 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeTextShadowOutset(
ThemeFontID inFontID,
ThemeDrawState inState,
Rect * outOutset) ;
# 4549 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeTrack(
const ThemeTrackDrawInfo * drawInfo,
RgnHandle rgnGhost,
ThemeEraseUPP eraseProc,
URefCon eraseData) __attribute__((deprecated));
# 4574 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern Boolean
HitTestThemeTrack(
const ThemeTrackDrawInfo * drawInfo,
Point mousePoint,
AppearancePartCode * partHit) __attribute__((deprecated));
# 4598 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeTrackBounds(
const ThemeTrackDrawInfo * drawInfo,
Rect * bounds) __attribute__((deprecated));
# 4621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeTrackThumbRgn(
const ThemeTrackDrawInfo * drawInfo,
RgnHandle thumbRgn) __attribute__((deprecated));
# 4644 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeTrackDragRect(
const ThemeTrackDrawInfo * drawInfo,
Rect * dragRect) __attribute__((deprecated));
# 4667 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeTrackTickMarks(
const ThemeTrackDrawInfo * drawInfo,
ItemCount numTicks,
ThemeEraseUPP eraseProc,
URefCon eraseData) __attribute__((deprecated));
# 4694 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeTrackThumbPositionFromOffset(
const ThemeTrackDrawInfo * drawInfo,
Point thumbOffset,
SInt32 * relativePosition) __attribute__((deprecated));
# 4720 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeTrackThumbPositionFromRegion(
const ThemeTrackDrawInfo * drawInfo,
RgnHandle thumbRgn,
SInt32 * relativePosition) __attribute__((deprecated));
# 4745 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeTrackLiveValue(
const ThemeTrackDrawInfo * drawInfo,
SInt32 relativePosition,
SInt32 * value) __attribute__((deprecated));
# 4772 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeScrollBarArrows(
const Rect * bounds,
ThemeTrackEnableState enableState,
ThemeTrackPressState pressState,
Boolean isHoriz,
Rect * trackBounds) __attribute__((deprecated));
# 4798 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeScrollBarTrackRect(
const Rect * bounds,
ThemeTrackEnableState enableState,
ThemeTrackPressState pressState,
Boolean isHoriz,
Rect * trackBounds) __attribute__((deprecated));
# 4824 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern Boolean
HitTestThemeScrollBarArrows(
const Rect * scrollBarBounds,
ThemeTrackEnableState enableState,
ThemeTrackPressState pressState,
Boolean isHoriz,
Point ptHit,
Rect * trackBounds,
AppearancePartCode * partcode) __attribute__((deprecated));
# 4853 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeWindowRegion(
ThemeWindowType flavor,
const Rect * contRect,
ThemeDrawState state,
const ThemeWindowMetrics * metrics,
ThemeWindowAttributes attributes,
AppearanceRegionCode winRegion,
RgnHandle rgn) __attribute__((deprecated));
# 4881 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeWindowFrame(
ThemeWindowType flavor,
const Rect * contRect,
ThemeDrawState state,
const ThemeWindowMetrics * metrics,
ThemeWindowAttributes attributes,
WindowTitleDrawingUPP titleProc,
URefCon titleData) __attribute__((deprecated));
# 4950 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeTitleBarWidget(
ThemeWindowType flavor,
const Rect * contRect,
ThemeDrawState state,
const ThemeWindowMetrics * metrics,
ThemeWindowAttributes attributes,
ThemeTitleBarWidget widget) __attribute__((deprecated));
# 4977 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern Boolean
GetThemeWindowRegionHit(
ThemeWindowType flavor,
const Rect * inContRect,
ThemeDrawState state,
const ThemeWindowMetrics * metrics,
ThemeWindowAttributes inAttributes,
Point inPoint,
AppearanceRegionCode * outRegionHit) __attribute__((deprecated));
# 5005 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeScrollBarDelimiters(
ThemeWindowType flavor,
const Rect * inContRect,
ThemeDrawState state,
ThemeWindowAttributes attributes) __attribute__((deprecated));
# 5032 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeButton(
const Rect * inBounds,
ThemeButtonKind inKind,
const ThemeButtonDrawInfo * inNewInfo,
const ThemeButtonDrawInfo * inPrevInfo,
ThemeEraseUPP inEraseProc,
ThemeButtonDrawUPP inLabelProc,
URefCon inUserData) __attribute__((deprecated));
# 5060 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeButtonRegion(
const Rect * inBounds,
ThemeButtonKind inKind,
const ThemeButtonDrawInfo * inNewInfo,
RgnHandle outRegion) __attribute__((deprecated));
# 5085 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeButtonContentBounds(
const Rect * inBounds,
ThemeButtonKind inKind,
const ThemeButtonDrawInfo * inDrawInfo,
Rect * outBounds) __attribute__((deprecated));
# 5110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeButtonBackgroundBounds(
const Rect * inBounds,
ThemeButtonKind inKind,
const ThemeButtonDrawInfo * inDrawInfo,
Rect * outBounds) __attribute__((deprecated));
# 5142 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
PlayThemeSound(ThemeSoundKind kind) ;
# 5170 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
BeginThemeDragSound(ThemeDragSoundKind kind) ;
# 5193 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
EndThemeDragSound(void) ;
# 5215 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeTickMark(
const Rect * bounds,
ThemeDrawState state) __attribute__((deprecated));
# 5238 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeChasingArrows(
const Rect * bounds,
UInt32 index,
ThemeDrawState state,
ThemeEraseUPP eraseProc,
URefCon eraseData) __attribute__((deprecated));
# 5264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemePopupArrow(
const Rect * bounds,
ThemeArrowOrientation orientation,
ThemePopupArrowSize size,
ThemeDrawState state,
ThemeEraseUPP eraseProc,
URefCon eraseData) __attribute__((deprecated));
# 5292 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeStandaloneGrowBox(
Point origin,
ThemeGrowDirection growDirection,
Boolean isSmall,
ThemeDrawState state) __attribute__((deprecated));
# 5318 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DrawThemeStandaloneNoGrowBox(
Point origin,
ThemeGrowDirection growDirection,
Boolean isSmall,
ThemeDrawState state) __attribute__((deprecated));
# 5343 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeStandaloneGrowBoxBounds(
Point origin,
ThemeGrowDirection growDirection,
Boolean isSmall,
Rect * bounds) __attribute__((deprecated));
# 5388 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
NormalizeThemeDrawingState(void) ;
# 5413 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeDrawingState(ThemeDrawingState * outState) ;
# 5439 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
SetThemeDrawingState(
ThemeDrawingState inState,
Boolean inDisposeNow) ;
# 5464 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
DisposeThemeDrawingState(ThemeDrawingState inState) ;
# 5524 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
ApplyThemeBackground(
ThemeBackgroundKind inKind,
const Rect * bounds,
ThemeDrawState inState,
SInt16 inDepth,
Boolean inColorDev) __attribute__((deprecated));
# 5550 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern Boolean
IsValidAppearanceFileType(OSType fileType) __attribute__((deprecated));
# 5592 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeBrushAsColor(
ThemeBrush inBrush,
SInt16 inDepth,
Boolean inColorDev,
RGBColor * outColor) ;
# 5632 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeTextColor(
ThemeTextColor inColor,
SInt16 inDepth,
Boolean inColorDev,
RGBColor * outColor) ;
# 5666 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeMetric(
ThemeMetric inMetric,
SInt32 * outMetric) ;
# 5693 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
CopyThemeIdentifier(CFStringRef * outIdentifier) ;
enum {
appearanceBadBrushIndexErr = themeInvalidBrushErr,
appearanceProcessRegisteredErr = themeProcessRegisteredErr,
appearanceProcessNotRegisteredErr = themeProcessNotRegisteredErr,
appearanceBadTextColorIndexErr = themeBadTextColorErr,
appearanceThemeHasNoAccents = themeHasNoAccentsErr,
appearanceBadCursorIndexErr = themeBadCursorIndexErr
};
enum {
kThemeActiveDialogBackgroundBrush = kThemeBrushDialogBackgroundActive,
kThemeInactiveDialogBackgroundBrush = kThemeBrushDialogBackgroundInactive,
kThemeActiveAlertBackgroundBrush = kThemeBrushAlertBackgroundActive,
kThemeInactiveAlertBackgroundBrush = kThemeBrushAlertBackgroundInactive,
kThemeActiveModelessDialogBackgroundBrush = kThemeBrushModelessDialogBackgroundActive,
kThemeInactiveModelessDialogBackgroundBrush = kThemeBrushModelessDialogBackgroundInactive,
kThemeActiveUtilityWindowBackgroundBrush = kThemeBrushUtilityWindowBackgroundActive,
kThemeInactiveUtilityWindowBackgroundBrush = kThemeBrushUtilityWindowBackgroundInactive,
kThemeListViewSortColumnBackgroundBrush = kThemeBrushListViewSortColumnBackground,
kThemeListViewBackgroundBrush = kThemeBrushListViewBackground,
kThemeIconLabelBackgroundBrush = kThemeBrushIconLabelBackground,
kThemeListViewSeparatorBrush = kThemeBrushListViewSeparator,
kThemeChasingArrowsBrush = kThemeBrushChasingArrows,
kThemeDragHiliteBrush = kThemeBrushDragHilite,
kThemeDocumentWindowBackgroundBrush = kThemeBrushDocumentWindowBackground,
kThemeFinderWindowBackgroundBrush = kThemeBrushFinderWindowBackground
};
enum {
kThemeActiveScrollBarDelimiterBrush = kThemeBrushScrollBarDelimiterActive,
kThemeInactiveScrollBarDelimiterBrush = kThemeBrushScrollBarDelimiterInactive,
kThemeFocusHighlightBrush = kThemeBrushFocusHighlight,
kThemeActivePopupArrowBrush = kThemeBrushPopupArrowActive,
kThemePressedPopupArrowBrush = kThemeBrushPopupArrowPressed,
kThemeInactivePopupArrowBrush = kThemeBrushPopupArrowInactive,
kThemeAppleGuideCoachmarkBrush = kThemeBrushAppleGuideCoachmark
};
enum {
kThemeActiveDialogTextColor = kThemeTextColorDialogActive,
kThemeInactiveDialogTextColor = kThemeTextColorDialogInactive,
kThemeActiveAlertTextColor = kThemeTextColorAlertActive,
kThemeInactiveAlertTextColor = kThemeTextColorAlertInactive,
kThemeActiveModelessDialogTextColor = kThemeTextColorModelessDialogActive,
kThemeInactiveModelessDialogTextColor = kThemeTextColorModelessDialogInactive,
kThemeActiveWindowHeaderTextColor = kThemeTextColorWindowHeaderActive,
kThemeInactiveWindowHeaderTextColor = kThemeTextColorWindowHeaderInactive,
kThemeActivePlacardTextColor = kThemeTextColorPlacardActive,
kThemeInactivePlacardTextColor = kThemeTextColorPlacardInactive,
kThemePressedPlacardTextColor = kThemeTextColorPlacardPressed,
kThemeActivePushButtonTextColor = kThemeTextColorPushButtonActive,
kThemeInactivePushButtonTextColor = kThemeTextColorPushButtonInactive,
kThemePressedPushButtonTextColor = kThemeTextColorPushButtonPressed,
kThemeActiveBevelButtonTextColor = kThemeTextColorBevelButtonActive,
kThemeInactiveBevelButtonTextColor = kThemeTextColorBevelButtonInactive,
kThemePressedBevelButtonTextColor = kThemeTextColorBevelButtonPressed,
kThemeActivePopupButtonTextColor = kThemeTextColorPopupButtonActive,
kThemeInactivePopupButtonTextColor = kThemeTextColorPopupButtonInactive,
kThemePressedPopupButtonTextColor = kThemeTextColorPopupButtonPressed,
kThemeIconLabelTextColor = kThemeTextColorIconLabel,
kThemeListViewTextColor = kThemeTextColorListView
};
enum {
kThemeActiveDocumentWindowTitleTextColor = kThemeTextColorDocumentWindowTitleActive,
kThemeInactiveDocumentWindowTitleTextColor = kThemeTextColorDocumentWindowTitleInactive,
kThemeActiveMovableModalWindowTitleTextColor = kThemeTextColorMovableModalWindowTitleActive,
kThemeInactiveMovableModalWindowTitleTextColor = kThemeTextColorMovableModalWindowTitleInactive,
kThemeActiveUtilityWindowTitleTextColor = kThemeTextColorUtilityWindowTitleActive,
kThemeInactiveUtilityWindowTitleTextColor = kThemeTextColorUtilityWindowTitleInactive,
kThemeActivePopupWindowTitleColor = kThemeTextColorPopupWindowTitleActive,
kThemeInactivePopupWindowTitleColor = kThemeTextColorPopupWindowTitleInactive,
kThemeActiveRootMenuTextColor = kThemeTextColorRootMenuActive,
kThemeSelectedRootMenuTextColor = kThemeTextColorRootMenuSelected,
kThemeDisabledRootMenuTextColor = kThemeTextColorRootMenuDisabled,
kThemeActiveMenuItemTextColor = kThemeTextColorMenuItemActive,
kThemeSelectedMenuItemTextColor = kThemeTextColorMenuItemSelected,
kThemeDisabledMenuItemTextColor = kThemeTextColorMenuItemDisabled,
kThemeActivePopupLabelTextColor = kThemeTextColorPopupLabelActive,
kThemeInactivePopupLabelTextColor = kThemeTextColorPopupLabelInactive
};
enum {
kAEThemeSwitch = kAEAppearanceChanged
};
enum {
kThemeNoAdornment = kThemeAdornmentNone,
kThemeDefaultAdornment = kThemeAdornmentDefault,
kThemeFocusAdornment = kThemeAdornmentFocus,
kThemeRightToLeftAdornment = kThemeAdornmentRightToLeft,
kThemeDrawIndicatorOnly = kThemeAdornmentDrawIndicatorOnly
};
enum {
kThemeBrushPassiveAreaFill = kThemeBrushStaticAreaFill
};
enum {
kThemeMetricCheckBoxGlyphHeight = kThemeMetricCheckBoxHeight,
kThemeMetricRadioButtonGlyphHeight = kThemeMetricRadioButtonHeight,
kThemeMetricDisclosureButtonSize = kThemeMetricDisclosureButtonHeight,
kThemeMetricBestListHeaderHeight = kThemeMetricListHeaderHeight,
kThemeMetricSmallProgressBarThickness = kThemeMetricNormalProgressBarThickness,
kThemeMetricProgressBarThickness = kThemeMetricLargeProgressBarThickness
};
enum {
kThemeScrollBar = kThemeMediumScrollBar,
kThemeSlider = kThemeMediumSlider,
kThemeProgressBar = kThemeMediumProgressBar,
kThemeIndeterminateBar = kThemeMediumIndeterminateBar
};
#pragma pack(pop)
# 25 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 2 3
# 36 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
#define __EVENTS__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
#pragma pack(push, 2)
typedef UInt16 EventKind;
typedef UInt16 EventMask;
enum {
nullEvent = 0,
mouseDown = 1,
mouseUp = 2,
keyDown = 3,
keyUp = 4,
autoKey = 5,
updateEvt = 6,
diskEvt = 7,
activateEvt = 8,
osEvt = 15,
kHighLevelEvent = 23
};
enum {
mDownMask = 1 << mouseDown,
mUpMask = 1 << mouseUp,
keyDownMask = 1 << keyDown,
keyUpMask = 1 << keyUp,
autoKeyMask = 1 << autoKey,
updateMask = 1 << updateEvt,
diskMask = 1 << diskEvt,
activMask = 1 << activateEvt,
highLevelEventMask = 0x0400,
osMask = 1 << osEvt,
everyEvent = 0xFFFF
};
enum {
charCodeMask = 0x000000FF,
keyCodeMask = 0x0000FF00,
adbAddrMask = 0x00FF0000,
osEvtMessageMask = (UInt32)0xFF000000
};
enum {
mouseMovedMessage = 0x00FA,
suspendResumeMessage = 0x0001
};
enum {
resumeFlag = 1
};
# 107 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
typedef UInt16 EventModifiers;
enum {
activeFlagBit = 0,
btnStateBit = 7,
cmdKeyBit = 8,
shiftKeyBit = 9,
alphaLockBit = 10,
optionKeyBit = 11,
controlKeyBit = 12,
rightShiftKeyBit = 13,
rightOptionKeyBit = 14,
rightControlKeyBit = 15
};
enum {
activeFlag = 1 << activeFlagBit,
btnState = 1 << btnStateBit,
cmdKey = 1 << cmdKeyBit,
shiftKey = 1 << shiftKeyBit,
alphaLock = 1 << alphaLockBit,
optionKey = 1 << optionKeyBit,
controlKey = 1 << controlKeyBit,
rightShiftKey = 1 << rightShiftKeyBit,
rightOptionKey = 1 << rightOptionKeyBit,
rightControlKey = 1 << rightControlKeyBit
};
enum {
kNullCharCode = 0,
kHomeCharCode = 1,
kEnterCharCode = 3,
kEndCharCode = 4,
kHelpCharCode = 5,
kBellCharCode = 7,
kBackspaceCharCode = 8,
kTabCharCode = 9,
kLineFeedCharCode = 10,
kVerticalTabCharCode = 11,
kPageUpCharCode = 11,
kFormFeedCharCode = 12,
kPageDownCharCode = 12,
kReturnCharCode = 13,
kFunctionKeyCharCode = 16,
kCommandCharCode = 17,
kCheckCharCode = 18,
kDiamondCharCode = 19,
kAppleLogoCharCode = 20,
kEscapeCharCode = 27,
kClearCharCode = 27,
kLeftArrowCharCode = 28,
kRightArrowCharCode = 29,
kUpArrowCharCode = 30,
kDownArrowCharCode = 31,
kSpaceCharCode = 32,
kDeleteCharCode = 127,
kBulletCharCode = 165,
kNonBreakingSpaceCharCode = 202
};
enum {
kShiftUnicode = 0x21E7,
kControlUnicode = 0x2303,
kOptionUnicode = 0x2325,
kCommandUnicode = 0x2318,
kPencilUnicode = 0x270E,
kPencilLeftUnicode = 0xF802,
kCheckUnicode = 0x2713,
kDiamondUnicode = 0x25C6,
kBulletUnicode = 0x2022,
kAppleLogoUnicode = 0xF8FF
};
# 198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
enum {
kVK_ANSI_A = 0x00,
kVK_ANSI_S = 0x01,
kVK_ANSI_D = 0x02,
kVK_ANSI_F = 0x03,
kVK_ANSI_H = 0x04,
kVK_ANSI_G = 0x05,
kVK_ANSI_Z = 0x06,
kVK_ANSI_X = 0x07,
kVK_ANSI_C = 0x08,
kVK_ANSI_V = 0x09,
kVK_ANSI_B = 0x0B,
kVK_ANSI_Q = 0x0C,
kVK_ANSI_W = 0x0D,
kVK_ANSI_E = 0x0E,
kVK_ANSI_R = 0x0F,
kVK_ANSI_Y = 0x10,
kVK_ANSI_T = 0x11,
kVK_ANSI_1 = 0x12,
kVK_ANSI_2 = 0x13,
kVK_ANSI_3 = 0x14,
kVK_ANSI_4 = 0x15,
kVK_ANSI_6 = 0x16,
kVK_ANSI_5 = 0x17,
kVK_ANSI_Equal = 0x18,
kVK_ANSI_9 = 0x19,
kVK_ANSI_7 = 0x1A,
kVK_ANSI_Minus = 0x1B,
kVK_ANSI_8 = 0x1C,
kVK_ANSI_0 = 0x1D,
kVK_ANSI_RightBracket = 0x1E,
kVK_ANSI_O = 0x1F,
kVK_ANSI_U = 0x20,
kVK_ANSI_LeftBracket = 0x21,
kVK_ANSI_I = 0x22,
kVK_ANSI_P = 0x23,
kVK_ANSI_L = 0x25,
kVK_ANSI_J = 0x26,
kVK_ANSI_Quote = 0x27,
kVK_ANSI_K = 0x28,
kVK_ANSI_Semicolon = 0x29,
kVK_ANSI_Backslash = 0x2A,
kVK_ANSI_Comma = 0x2B,
kVK_ANSI_Slash = 0x2C,
kVK_ANSI_N = 0x2D,
kVK_ANSI_M = 0x2E,
kVK_ANSI_Period = 0x2F,
kVK_ANSI_Grave = 0x32,
kVK_ANSI_KeypadDecimal = 0x41,
kVK_ANSI_KeypadMultiply = 0x43,
kVK_ANSI_KeypadPlus = 0x45,
kVK_ANSI_KeypadClear = 0x47,
kVK_ANSI_KeypadDivide = 0x4B,
kVK_ANSI_KeypadEnter = 0x4C,
kVK_ANSI_KeypadMinus = 0x4E,
kVK_ANSI_KeypadEquals = 0x51,
kVK_ANSI_Keypad0 = 0x52,
kVK_ANSI_Keypad1 = 0x53,
kVK_ANSI_Keypad2 = 0x54,
kVK_ANSI_Keypad3 = 0x55,
kVK_ANSI_Keypad4 = 0x56,
kVK_ANSI_Keypad5 = 0x57,
kVK_ANSI_Keypad6 = 0x58,
kVK_ANSI_Keypad7 = 0x59,
kVK_ANSI_Keypad8 = 0x5B,
kVK_ANSI_Keypad9 = 0x5C
};
enum {
kVK_Return = 0x24,
kVK_Tab = 0x30,
kVK_Space = 0x31,
kVK_Delete = 0x33,
kVK_Escape = 0x35,
kVK_Command = 0x37,
kVK_Shift = 0x38,
kVK_CapsLock = 0x39,
kVK_Option = 0x3A,
kVK_Control = 0x3B,
kVK_RightShift = 0x3C,
kVK_RightOption = 0x3D,
kVK_RightControl = 0x3E,
kVK_Function = 0x3F,
kVK_F17 = 0x40,
kVK_VolumeUp = 0x48,
kVK_VolumeDown = 0x49,
kVK_Mute = 0x4A,
kVK_F18 = 0x4F,
kVK_F19 = 0x50,
kVK_F20 = 0x5A,
kVK_F5 = 0x60,
kVK_F6 = 0x61,
kVK_F7 = 0x62,
kVK_F3 = 0x63,
kVK_F8 = 0x64,
kVK_F9 = 0x65,
kVK_F11 = 0x67,
kVK_F13 = 0x69,
kVK_F16 = 0x6A,
kVK_F14 = 0x6B,
kVK_F10 = 0x6D,
kVK_F12 = 0x6F,
kVK_F15 = 0x71,
kVK_Help = 0x72,
kVK_Home = 0x73,
kVK_PageUp = 0x74,
kVK_ForwardDelete = 0x75,
kVK_F4 = 0x76,
kVK_End = 0x77,
kVK_F2 = 0x78,
kVK_PageDown = 0x79,
kVK_F1 = 0x7A,
kVK_LeftArrow = 0x7B,
kVK_RightArrow = 0x7C,
kVK_DownArrow = 0x7D,
kVK_UpArrow = 0x7E
};
enum {
kVK_ISO_Section = 0x0A
};
enum {
kVK_JIS_Yen = 0x5D,
kVK_JIS_Underscore = 0x5E,
kVK_JIS_KeypadComma = 0x5F,
kVK_JIS_Eisu = 0x66,
kVK_JIS_Kana = 0x68
};
struct EventRecord {
EventKind what;
unsigned long message;
UInt32 when;
Point where;
EventModifiers modifiers;
};
typedef struct EventRecord EventRecord;
typedef void ( * FKEYProcPtr)(void);
typedef FKEYProcPtr FKEYUPP;
# 383 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
GetMouse(Point * mouseLoc) __attribute__((deprecated));
# 400 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern Boolean
Button(void) ;
# 416 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern Boolean
StillDown(void) ;
# 431 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern Boolean
WaitMouseUp(void) ;
# 446 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern UInt32
KeyTranslate(
const void * transData,
UInt16 keycode,
UInt32 * state) ;
# 464 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern UInt32
GetCaretTime(void) ;
# 481 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
typedef BigEndianLong KeyMap[4];
typedef UInt8 KeyMapByteArray[16];
# 496 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
GetKeys(KeyMap theKeys) ;
enum {
networkEvt = 10,
driverEvt = 11,
app1Evt = 12,
app2Evt = 13,
app3Evt = 14,
app4Evt = 15,
networkMask = 0x0400,
driverMask = 0x0800,
app1Mask = 0x1000,
app2Mask = 0x2000,
app3Mask = 0x4000,
app4Mask = 0x8000
};
struct EvQEl {
QElemPtr qLink;
SInt16 qType;
EventKind evtQWhat;
unsigned long evtQMessage;
UInt32 evtQWhen;
Point evtQWhere;
EventModifiers evtQModifiers;
};
typedef struct EvQEl EvQEl;
typedef EvQEl * EvQElPtr;
typedef void ( * GetNextEventFilterProcPtr)(EventRecord *theEvent, Boolean *result);
typedef GetNextEventFilterProcPtr GetNextEventFilterUPP;
# 556 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
typedef GetNextEventFilterUPP GNEFilterUPP;
# 569 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern UInt32
GetDblTime(void) ;
# 584 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
SetEventMask(EventMask value) ;
# 599 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern Boolean
GetNextEvent(
EventMask eventMask,
EventRecord * theEvent) ;
# 616 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern Boolean
WaitNextEvent(
EventMask eventMask,
EventRecord * theEvent,
UInt32 sleep,
RgnHandle mouseRgn) ;
# 635 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern Boolean
EventAvail(
EventMask eventMask,
EventRecord * theEvent) ;
# 652 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern OSErr
PostEvent(
EventKind eventNum,
UInt32 eventMsg) ;
# 671 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
FlushEvents(
EventMask whichMask,
EventMask stopMask) ;
# 702 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
KeyScript(short code) __attribute__((deprecated));
# 719 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern Boolean
IsCmdChar(
const EventRecord * event,
short test) ;
# 740 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern SInt16
LMGetKeyThresh(void) ;
# 756 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
LMSetKeyThresh(SInt16 value) ;
# 774 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern SInt16
LMGetKeyRepThresh(void) ;
# 790 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
LMSetKeyRepThresh(SInt16 value) ;
# 807 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern UInt8
LMGetKbdLast(void) ;
# 823 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
LMSetKbdLast(UInt8 value) ;
# 841 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern UInt8
LMGetKbdType(void) ;
# 857 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
LMSetKbdType(UInt8 value) ;
#pragma pack(pop)
# 37 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 2 3
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#pragma pack(push, 2)
# 67 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
textMenuProc = 0,
kHIMenuAppendItem = 0x0000FFFF
};
enum {
noMark = 0
};
enum {
kMenuStdMenuProc = 63,
kMenuStdMenuBarProc = 63
};
enum {
kMenuNoModifiers = 0,
kMenuShiftModifier = (1 << 0),
kMenuOptionModifier = (1 << 1),
kMenuControlModifier = (1 << 2),
kMenuNoCommandModifier = (1 << 3)
};
enum {
kMenuNoIcon = 0,
kMenuIconType = 1,
kMenuShrinkIconType = 2,
kMenuSmallIconType = 3,
kMenuColorIconType = 4,
kMenuIconSuiteType = 5,
kMenuIconRefType = 6,
kMenuCGImageRefType = 7,
kMenuSystemIconSelectorType = 8,
kMenuIconResourceType = 9
};
enum {
kMenuNullGlyph = 0x00,
kMenuTabRightGlyph = 0x02,
kMenuTabLeftGlyph = 0x03,
kMenuEnterGlyph = 0x04,
kMenuShiftGlyph = 0x05,
kMenuControlGlyph = 0x06,
kMenuOptionGlyph = 0x07,
kMenuSpaceGlyph = 0x09,
kMenuDeleteRightGlyph = 0x0A,
kMenuReturnGlyph = 0x0B,
kMenuReturnR2LGlyph = 0x0C,
kMenuNonmarkingReturnGlyph = 0x0D,
kMenuPencilGlyph = 0x0F,
kMenuDownwardArrowDashedGlyph = 0x10,
kMenuCommandGlyph = 0x11,
kMenuCheckmarkGlyph = 0x12,
kMenuDiamondGlyph = 0x13,
kMenuAppleLogoFilledGlyph = 0x14,
kMenuParagraphKoreanGlyph = 0x15,
kMenuDeleteLeftGlyph = 0x17,
kMenuLeftArrowDashedGlyph = 0x18,
kMenuUpArrowDashedGlyph = 0x19,
kMenuRightArrowDashedGlyph = 0x1A,
kMenuEscapeGlyph = 0x1B,
kMenuClearGlyph = 0x1C,
kMenuLeftDoubleQuotesJapaneseGlyph = 0x1D,
kMenuRightDoubleQuotesJapaneseGlyph = 0x1E,
kMenuTrademarkJapaneseGlyph = 0x1F,
kMenuBlankGlyph = 0x61,
kMenuPageUpGlyph = 0x62,
kMenuCapsLockGlyph = 0x63,
kMenuLeftArrowGlyph = 0x64,
kMenuRightArrowGlyph = 0x65,
kMenuNorthwestArrowGlyph = 0x66,
kMenuHelpGlyph = 0x67,
kMenuUpArrowGlyph = 0x68,
kMenuSoutheastArrowGlyph = 0x69,
kMenuDownArrowGlyph = 0x6A,
kMenuPageDownGlyph = 0x6B,
kMenuAppleLogoOutlineGlyph = 0x6C,
kMenuContextualMenuGlyph = 0x6D,
kMenuPowerGlyph = 0x6E,
kMenuF1Glyph = 0x6F,
kMenuF2Glyph = 0x70,
kMenuF3Glyph = 0x71,
kMenuF4Glyph = 0x72,
kMenuF5Glyph = 0x73,
kMenuF6Glyph = 0x74,
kMenuF7Glyph = 0x75,
kMenuF8Glyph = 0x76,
kMenuF9Glyph = 0x77,
kMenuF10Glyph = 0x78,
kMenuF11Glyph = 0x79,
kMenuF12Glyph = 0x7A,
kMenuF13Glyph = 0x87,
kMenuF14Glyph = 0x88,
kMenuF15Glyph = 0x89,
kMenuControlISOGlyph = 0x8A,
kMenuEjectGlyph = 0x8C,
kMenuEisuGlyph = 0x8D,
kMenuKanaGlyph = 0x8E
};
# 190 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef UInt32 MenuAttributes;
enum {
kMenuAttrExcludesMarkColumn = (1 << 0),
kMenuAttrAutoDisable = (1 << 2),
kMenuAttrUsePencilGlyph = (1 << 3),
# 221 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuAttrHidden = (1 << 4),
# 231 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuAttrCondenseSeparators = (1 << 5),
# 242 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuAttrDoNotCacheImage = (1 << 6),
# 257 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuAttrDoNotUseUserCommandKeys = (1 << 7)
};
# 269 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef UInt32 MenuItemAttributes;
enum {
kMenuItemAttrDisabled = (1 << 0),
kMenuItemAttrIconDisabled = (1 << 1),
kMenuItemAttrSubmenuParentChoosable = (1 << 2),
kMenuItemAttrDynamic = (1 << 3),
kMenuItemAttrNotPreviousAlternate = (1 << 4),
kMenuItemAttrHidden = (1 << 5),
kMenuItemAttrSeparator = (1 << 6),
kMenuItemAttrSectionHeader = (1 << 7),
kMenuItemAttrIgnoreMeta = (1 << 8),
kMenuItemAttrAutoRepeat = (1 << 9),
kMenuItemAttrUseVirtualKey = (1 << 10),
kMenuItemAttrCustomDraw = (1 << 11),
# 353 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemAttrIncludeInCmdKeyMatching = (1 << 12),
# 370 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemAttrAutoDisable = (1 << 13),
# 389 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemAttrUpdateSingleItem = (1 << 14)
};
# 402 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef UInt32 MenuTrackingMode;
enum {
kMenuTrackingModeMouse = 1,
kMenuTrackingModeKeyboard = 2
};
# 425 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef UInt32 MenuEventOptions;
enum {
kMenuEventIncludeDisabledItems = 0x0001,
kMenuEventQueryOnly = 0x0002,
kMenuEventDontCheckSubmenus = 0x0004
};
typedef SInt16 MenuID;
typedef UInt16 MenuItemIndex;
typedef OSType MenuCommand;
# 463 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef struct OpaqueMenuRef* MenuRef;
typedef MenuRef MenuHandle;
# 474 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef Handle MenuBarHandle;
# 492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MenuBarHeader {
UInt16 lastMenu;
SInt16 lastRight;
SInt16 mbResID;
};
typedef struct MenuBarHeader MenuBarHeader;
# 528 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct HMenuBarHeader {
UInt16 lastHMenu;
PixMapHandle menuTitleBits;
};
typedef struct HMenuBarHeader HMenuBarHeader;
# 551 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MenuBarMenu {
MenuRef menu;
SInt16 menuLeft;
};
typedef struct MenuBarMenu MenuBarMenu;
# 574 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct HMenuBarMenu {
MenuRef menu;
SInt16 reserved;
};
typedef struct HMenuBarMenu HMenuBarMenu;
# 618 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MenuTrackingData {
MenuRef menu;
MenuItemIndex itemSelected;
MenuItemIndex itemUnderMouse;
Rect itemRect;
SInt32 virtualMenuTop;
SInt32 virtualMenuBottom;
};
typedef struct MenuTrackingData MenuTrackingData;
typedef MenuTrackingData * MenuTrackingDataPtr;
# 638 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
# 653 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataText = (1 << 0),
kMenuItemDataMark = (1 << 1),
kMenuItemDataCmdKey = (1 << 2),
kMenuItemDataCmdKeyGlyph = (1 << 3),
kMenuItemDataCmdKeyModifiers = (1 << 4),
kMenuItemDataStyle = (1 << 5),
kMenuItemDataEnabled = (1 << 6),
kMenuItemDataIconEnabled = (1 << 7),
kMenuItemDataIconID = (1 << 8),
# 721 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataIconHandle = (1 << 9),
kMenuItemDataCommandID = (1 << 10),
# 736 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataTextEncoding = (1 << 11),
kMenuItemDataSubmenuID = (1 << 12),
kMenuItemDataSubmenuHandle = (1 << 13),
kMenuItemDataFontID = (1 << 14),
kMenuItemDataRefcon = (1 << 15),
# 773 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataAttributes = (1 << 16),
# 791 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataCFString = (1 << 17),
# 806 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataProperties = (1 << 18),
kMenuItemDataIndent = (1 << 19),
# 821 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataCmdVirtualKey = (1 << 20),
# 834 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataAttributedText = (1 << 21),
# 846 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataFont = (1 << 22),
kMenuItemDataAllDataVersionOne = 0x000FFFFF,
kMenuItemDataAllDataVersionTwo = kMenuItemDataAllDataVersionOne | kMenuItemDataCmdVirtualKey,
kMenuItemDataAllDataVersionThree = kMenuItemDataAllDataVersionTwo | kMenuItemDataAttributedText | kMenuItemDataFont
};
typedef UInt64 MenuItemDataFlags;
# 874 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MenuItemDataRec {
MenuItemDataFlags whichData;
StringPtr text;
UniChar mark;
UniChar cmdKey;
UInt32 cmdKeyGlyph;
UInt32 cmdKeyModifiers;
Style style;
Boolean enabled;
Boolean iconEnabled;
UInt8 filler1;
SInt32 iconID;
UInt32 iconType;
Handle iconHandle;
MenuCommand cmdID;
TextEncoding encoding;
MenuID submenuID;
MenuRef submenuHandle;
SInt32 fontID;
URefCon refcon;
OptionBits attr;
CFStringRef cfText;
Collection properties;
UInt32 indent;
UInt16 cmdVirtualKey;
CFAttributedStringRef attributedText;
CTFontRef font;
};
typedef struct MenuItemDataRec MenuItemDataRec;
typedef MenuItemDataRec * MenuItemDataPtr;
typedef UInt32 MenuItemID;
enum {
kMenuDefProcPtr = 0,
kMenuDefClassID = 1
};
typedef UInt32 MenuDefType;
# 939 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef void ( * MenuDefProcPtr)(short message, MenuRef theMenu, Rect *menuRect, Point hitPt, short *whichItem);
typedef MenuDefProcPtr MenuDefUPP;
# 949 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern MenuDefUPP
NewMenuDefUPP(MenuDefProcPtr userRoutine) __attribute__((deprecated));
# 960 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
DisposeMenuDefUPP(MenuDefUPP userUPP) __attribute__((deprecated));
# 971 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
InvokeMenuDefUPP(
short message,
MenuRef theMenu,
Rect * menuRect,
Point hitPt,
short * whichItem,
MenuDefUPP userUPP) __attribute__((deprecated));
#define NewMenuDefUPP(userRoutine) ((MenuDefUPP)userRoutine)
#define DisposeMenuDefUPP(userUPP)
#define InvokeMenuDefUPP(message,theMenu,menuRect,hitPt,whichItem,userUPP) (*userUPP)(message, theMenu, menuRect, hitPt, whichItem)
# 1001 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MenuDefSpec {
MenuDefType defType;
union {
MenuDefUPP defProc;
struct {
CFStringRef classID;
EventRef initEvent;
} view;
} u;
};
typedef struct MenuDefSpec MenuDefSpec;
typedef MenuDefSpec * MenuDefSpecPtr;
# 1057 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define MacGetMenu GetMenu
extern MenuRef
GetMenu(short resourceID) ;
# 1074 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
DisposeMenu(MenuRef theMenu) ;
# 1089 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern MenuID
GetMenuID(MenuRef menu) ;
# 1104 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern SInt16
GetMenuWidth(MenuRef menu) ;
# 1119 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern SInt16
GetMenuHeight(MenuRef menu) ;
# 1134 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuDefinition(
MenuRef menu,
MenuDefSpecPtr outDefSpec) ;
# 1151 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetMenuID(
MenuRef menu,
MenuID menuID) ;
# 1168 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetMenuWidth(
MenuRef menu,
SInt16 width) ;
# 1185 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetMenuHeight(
MenuRef menu,
SInt16 height) ;
# 1202 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuDefinition(
MenuRef menu,
const MenuDefSpec * defSpec) ;
# 1219 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
CalcMenuSize(MenuRef theMenu) ;
# 1234 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern UInt16
CountMenuItems(MenuRef theMenu) ;
# 1272 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuFont(
MenuRef menu,
SInt16 * outFontID,
UInt16 * outFontSize) ;
# 1311 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuFont(
MenuRef menu,
SInt16 inFontID,
UInt16 inFontSize) ;
# 1347 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
GetMenuExcludesMarkColumn(MenuRef menu) ;
# 1380 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuExcludesMarkColumn(
MenuRef menu,
Boolean excludesMark) ;
# 1423 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
RegisterMenuDefinition(
SInt16 inResID,
MenuDefSpecPtr inDefSpec) ;
# 1461 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
CreateNewMenu(
MenuID inMenuID,
MenuAttributes inMenuAttributes,
MenuRef * outMenuRef) ;
# 1503 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
CreateCustomMenu(
const MenuDefSpec * inDefSpec,
MenuID inMenuID,
MenuAttributes inMenuAttributes,
MenuRef * outMenuRef) ;
# 1533 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsValidMenu(MenuRef inMenu) ;
# 1565 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
DuplicateMenu(
MenuRef inSourceMenu,
MenuRef * outMenu) ;
# 1594 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
CopyMenuTitleAsCFString(
MenuRef inMenu,
CFStringRef * outString) ;
# 1631 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuTitleWithCFString(
MenuRef inMenu,
CFStringRef inString) ;
# 1679 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuTitleIcon(
MenuRef inMenu,
UInt32 inType,
void * inIcon) ;
# 1719 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuTitleIcon(
MenuRef inMenu,
UInt32 * outType,
void ** outIcon) ;
# 1753 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
InvalidateMenuSize(MenuRef inMenu) ;
# 1783 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsMenuSizeInvalid(MenuRef inMenu) ;
# 1826 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuGetContentView(
MenuRef inMenu,
ThemeMenuType inMenuType,
HIViewRef * outView) ;
# 1872 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuSetFont(
MenuRef inMenu,
MenuItemIndex inItem,
CTFontRef inFont) ;
# 1909 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuCopyFont(
MenuRef inMenu,
MenuItemIndex inItem,
CTFontRef * outFont) ;
# 1930 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
DeleteMenuItem(
MenuRef theMenu,
MenuItemIndex item) ;
# 1970 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
CopyMenuItems(
MenuRef inSourceMenu,
MenuItemIndex inFirstItem,
ItemCount inNumItems,
MenuRef inDestMenu,
MenuItemIndex inInsertAfter) ;
# 2008 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
DeleteMenuItems(
MenuRef inMenu,
MenuItemIndex inFirstItem,
ItemCount inNumItems) ;
# 2056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
AppendMenuItemTextWithCFString(
MenuRef inMenu,
CFStringRef inString,
MenuItemAttributes inAttributes,
MenuCommand inCommandID,
MenuItemIndex * outNewItem) ;
# 2108 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
InsertMenuItemTextWithCFString(
MenuRef inMenu,
CFStringRef inString,
MenuItemIndex inAfterItem,
MenuItemAttributes inAttributes,
MenuCommand inCommandID) ;
# 2161 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuSetSelection(
MenuRef inMenu,
ThemeMenuType inMenuType,
MenuItemIndex inItem) ;
# 2179 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern SInt32
MenuSelect(Point startPt) ;
# 2227 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern SInt32
PopUpMenuSelect(
MenuRef menu,
short top,
short left,
MenuItemIndex popUpItem) ;
# 2246 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern SInt32
MenuChoice(void) ;
# 2281 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern UInt32
MenuEvent(const EventRecord * inEvent) ;
# 2324 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsMenuKeyEvent(
MenuRef inStartMenu,
EventRef inEvent,
MenuEventOptions inOptions,
MenuRef * outMenu,
MenuItemIndex * outMenuItem) ;
# 2369 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
InvalidateMenuEnabling(MenuRef inMenu) ;
# 2380 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
kHIMenuDismissedBySelection = 1,
kHIMenuDismissedByUserCancel = 2,
kHIMenuDismissedByMouseDown = 3,
kHIMenuDismissedByMouseUp = 4,
kHIMenuDismissedByKeyEvent = 5,
kHIMenuDismissedByAppSwitch = 6,
kHIMenuDismissedByTimeout = 7,
kHIMenuDismissedByCancelMenuTracking = 8,
kHIMenuDismissedByActivationChange = 9,
kHIMenuDismissedByFocusChange = 10
};
# 2469 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
CancelMenuTracking(
MenuRef inRootMenu,
Boolean inImmediate,
UInt32 inDismissalReason) ;
# 2491 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern short
GetMBarHeight(void) ;
# 2507 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define MacDrawMenuBar DrawMenuBar
extern void
DrawMenuBar(void) ;
# 2524 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
InvalMenuBar(void) ;
# 2548 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsMenuBarInvalid(MenuRef rootMenu) ;
# 2563 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
HiliteMenu(MenuID menuID) ;
# 2598 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern MenuBarHandle
GetNewMBar(short menuBarID) ;
# 2613 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern MenuBarHandle
GetMenuBar(void) ;
# 2628 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetMenuBar(MenuBarHandle mbar) ;
# 2662 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
DuplicateMenuBar(
MenuBarHandle inMbar,
MenuBarHandle * outMbar) ;
# 2694 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
DisposeMenuBar(MenuBarHandle inMbar) ;
# 2709 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern MenuRef
GetMenuHandle(MenuID menuID) ;
#define GetMenuRef GetMenuHandle
# 2726 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define MacInsertMenu InsertMenu
extern void
InsertMenu(
MenuRef theMenu,
MenuID beforeID) ;
# 2746 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define MacDeleteMenu DeleteMenu
extern void
DeleteMenu(MenuID menuID) ;
# 2763 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
ClearMenuBar(void) ;
# 2778 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
FlashMenuBar(MenuID menuID) ;
# 2793 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsMenuBarVisible(void) ;
# 2808 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
ShowMenuBar(void) ;
# 2823 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
HideMenuBar(void) ;
# 2846 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern MenuRef
AcquireRootMenu(void) ;
# 2887 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetRootMenu(MenuRef inMenu) ;
# 2906 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define MacCheckMenuItem CheckMenuItem
extern void
CheckMenuItem(
MenuRef theMenu,
MenuItemIndex item,
Boolean checked) ;
# 2926 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetItemMark(
MenuRef theMenu,
MenuItemIndex item,
CharParameter markChar) ;
# 2944 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
GetItemMark(
MenuRef theMenu,
MenuItemIndex item,
CharParameter * markChar) ;
# 2982 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetItemCmd(
MenuRef theMenu,
MenuItemIndex item,
CharParameter cmdChar) ;
# 3020 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
GetItemCmd(
MenuRef theMenu,
MenuItemIndex item,
CharParameter * cmdChar) ;
# 3038 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetItemStyle(
MenuRef theMenu,
MenuItemIndex item,
StyleParameter chStyle) ;
# 3056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
GetItemStyle(
MenuRef theMenu,
MenuItemIndex item,
Style * chStyle) ;
# 3074 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
SetMenuItemCommandID(
MenuRef inMenu,
MenuItemIndex inItem,
MenuCommand inCommandID) ;
# 3092 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
GetMenuItemCommandID(
MenuRef inMenu,
MenuItemIndex inItem,
MenuCommand * outCommandID) ;
# 3110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
SetMenuItemModifiers(
MenuRef inMenu,
MenuItemIndex inItem,
UInt8 inModifiers) ;
# 3128 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
GetMenuItemModifiers(
MenuRef inMenu,
MenuItemIndex inItem,
UInt8 * outModifiers) ;
# 3146 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
SetMenuItemIconHandle(
MenuRef inMenu,
MenuItemIndex inItem,
UInt8 inIconType,
Handle inIconHandle) ;
# 3165 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
GetMenuItemIconHandle(
MenuRef inMenu,
MenuItemIndex inItem,
UInt8 * outIconType,
Handle * outIconHandle) ;
# 3206 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
SetMenuItemFontID(
MenuRef inMenu,
MenuItemIndex inItem,
SInt16 inFontID) ;
# 3243 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
GetMenuItemFontID(
MenuRef inMenu,
MenuItemIndex inItem,
SInt16 * outFontID) ;
# 3261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
SetMenuItemRefCon(
MenuRef inMenu,
MenuItemIndex inItem,
URefCon inRefCon) ;
# 3279 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
GetMenuItemRefCon(
MenuRef inMenu,
MenuItemIndex inItem,
URefCon * outRefCon) ;
# 3327 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
SetMenuItemKeyGlyph(
MenuRef inMenu,
MenuItemIndex inItem,
SInt16 inGlyph) ;
# 3345 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
GetMenuItemKeyGlyph(
MenuRef inMenu,
MenuItemIndex inItem,
SInt16 * outGlyph) ;
# 3366 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define MacEnableMenuItem EnableMenuItem
extern void
EnableMenuItem(
MenuRef theMenu,
MenuItemIndex item) ;
# 3385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
DisableMenuItem(
MenuRef theMenu,
MenuItemIndex item) ;
# 3402 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsMenuItemEnabled(
MenuRef menu,
MenuItemIndex item) ;
# 3419 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
EnableMenuItemIcon(
MenuRef theMenu,
MenuItemIndex item) ;
# 3436 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
DisableMenuItemIcon(
MenuRef theMenu,
MenuItemIndex item) ;
# 3453 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsMenuItemIconEnabled(
MenuRef menu,
MenuItemIndex item) ;
# 3496 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuItemHierarchicalMenu(
MenuRef inMenu,
MenuItemIndex inItem,
MenuRef inHierMenu) ;
# 3538 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuItemHierarchicalMenu(
MenuRef inMenu,
MenuItemIndex inItem,
MenuRef * outHierMenu) ;
# 3579 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuCopyParents(
MenuRef inMenu,
CFArrayRef * outParents) ;
# 3611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
CopyMenuItemTextAsCFString(
MenuRef inMenu,
MenuItemIndex inItem,
CFStringRef * outString) ;
# 3652 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuItemTextWithCFString(
MenuRef inMenu,
MenuItemIndex inItem,
CFStringRef inString) ;
# 3696 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuSetAttributedItemText(
MenuRef inMenu,
MenuItemIndex inItem,
CFAttributedStringRef inText) ;
# 3729 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuCopyAttributedItemText(
MenuRef inMenu,
MenuItemIndex inItem,
CFAttributedStringRef * outText) ;
# 3768 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuItemIndent(
MenuRef inMenu,
MenuItemIndex inItem,
UInt32 * outIndent) ;
# 3807 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuItemIndent(
MenuRef inMenu,
MenuItemIndex inItem,
UInt32 inIndent) ;
# 3857 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuItemCommandKey(
MenuRef inMenu,
MenuItemIndex inItem,
Boolean inGetVirtualKey,
UInt16 * outKey) ;
# 3951 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuItemCommandKey(
MenuRef inMenu,
MenuItemIndex inItem,
Boolean inSetVirtualKey,
UInt16 inKey) ;
# 4022 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuSetItemViewClass(
MenuRef inMenu,
MenuItemIndex inItem,
CFStringRef inClassID,
EventRef inInitEvent) ;
# 4061 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuCopyItemViewClass(
MenuRef inMenu,
MenuItemIndex inItem,
CFStringRef * outClassID,
EventRef * outInitEvent) ;
# 4110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuGetItemView(
MenuRef inMenu,
MenuItemIndex inItem,
ThemeMenuType inMenuType,
HIViewRef * outView) ;
# 4170 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
HIMenuItemViewGetEnclosingMenuItem(
HIViewRef inItemView,
MenuRef * outMenu,
MenuItemIndex * outItem) ;
# 4212 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
HIMenuItemViewCancelMenuTracking(
HIViewRef inItemView,
Boolean inImmediate,
UInt32 inDismissalReason) ;
# 4228 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
kMenuPropertyPersistent = 0x00000001
};
# 4244 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuItemProperty(
MenuRef menu,
MenuItemIndex item,
OSType propertyCreator,
OSType propertyTag,
ByteCount bufferSize,
ByteCount * actualSize,
void * propertyBuffer) ;
# 4266 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuItemPropertySize(
MenuRef menu,
MenuItemIndex item,
OSType propertyCreator,
OSType propertyTag,
ByteCount * size) ;
# 4286 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuItemProperty(
MenuRef menu,
MenuItemIndex item,
OSType propertyCreator,
OSType propertyTag,
ByteCount propertySize,
const void * propertyData) ;
# 4307 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
RemoveMenuItemProperty(
MenuRef menu,
MenuItemIndex item,
OSType propertyCreator,
OSType propertyTag) ;
# 4346 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuItemPropertyAttributes(
MenuRef menu,
MenuItemIndex item,
OSType propertyCreator,
OSType propertyTag,
OptionBits * attributes) ;
# 4389 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
ChangeMenuItemPropertyAttributes(
MenuRef menu,
MenuItemIndex item,
OSType propertyCreator,
OSType propertyTag,
OptionBits attributesToSet,
OptionBits attributesToClear) ;
# 4426 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuAttributes(
MenuRef menu,
MenuAttributes * outAttributes) ;
# 4457 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
ChangeMenuAttributes(
MenuRef menu,
MenuAttributes setTheseAttributes,
MenuAttributes clearTheseAttributes) ;
# 4489 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuItemAttributes(
MenuRef menu,
MenuItemIndex item,
MenuItemAttributes * outAttributes) ;
# 4524 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
ChangeMenuItemAttributes(
MenuRef menu,
MenuItemIndex item,
MenuItemAttributes setTheseAttributes,
MenuItemAttributes clearTheseAttributes) ;
# 4562 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
DisableAllMenuItems(MenuRef theMenu) ;
# 4591 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
EnableAllMenuItems(MenuRef theMenu) ;
# 4621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
MenuHasEnabledItems(MenuRef theMenu) ;
# 4666 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuTrackingData(
MenuRef theMenu,
MenuTrackingData * outData) ;
# 4706 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuType(
MenuRef theMenu,
UInt16 * outType) ;
# 4756 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern ItemCount
CountMenuItemsWithCommandID(
MenuRef inMenu,
MenuCommand inCommandID) ;
# 4815 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetIndMenuItemWithCommandID(
MenuRef inMenu,
MenuCommand inCommandID,
UInt32 inItemIndex,
MenuRef * outMenu,
MenuItemIndex * outIndex) ;
# 4849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
EnableMenuCommand(
MenuRef inMenu,
MenuCommand inCommandID) ;
# 4880 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
DisableMenuCommand(
MenuRef inMenu,
MenuCommand inCommandID) ;
# 4912 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsMenuCommandEnabled(
MenuRef inMenu,
MenuCommand inCommandID) ;
# 4950 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuCommandMark(
MenuRef inMenu,
MenuCommand inCommandID,
UniChar inMark) ;
# 4986 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuCommandMark(
MenuRef inMenu,
MenuCommand inCommandID,
UniChar * outMark) ;
# 5036 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuCommandProperty(
MenuRef inMenu,
MenuCommand inCommandID,
OSType inPropertyCreator,
OSType inPropertyTag,
ByteCount inBufferSize,
ByteCount * outActualSize,
void * inPropertyBuffer) ;
# 5083 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuCommandPropertySize(
MenuRef inMenu,
MenuCommand inCommandID,
OSType inPropertyCreator,
OSType inPropertyTag,
ByteCount * outSize) ;
# 5130 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuCommandProperty(
MenuRef inMenu,
MenuCommand inCommandID,
OSType inPropertyCreator,
OSType inPropertyTag,
ByteCount inPropertySize,
const void * inPropertyData) ;
# 5172 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
RemoveMenuCommandProperty(
MenuRef inMenu,
MenuCommand inCommandID,
OSType inPropertyCreator,
OSType inPropertyTag) ;
# 5232 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
CopyMenuItemData(
MenuRef inMenu,
MenuItemID inItem,
Boolean inIsCommandID,
MenuItemDataPtr ioData) ;
# 5282 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuItemData(
MenuRef inMenu,
MenuItemID inItem,
Boolean inIsCommandID,
const MenuItemDataRec * inData) ;
# 5381 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsMenuItemInvalid(
MenuRef inMenu,
MenuItemIndex inItem) ;
# 5419 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
InvalidateMenuItems(
MenuRef inMenu,
MenuItemIndex inFirstItem,
ItemCount inNumItems) ;
# 5454 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
UpdateInvalidMenuItems(MenuRef inMenu) ;
# 5466 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
kHierarchicalFontMenuOption = 0x00000001
};
# 5482 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
CreateStandardFontMenu(
MenuRef menu,
MenuItemIndex afterItem,
MenuID firstHierMenuID,
OptionBits options,
ItemCount * outHierMenuCount) ;
# 5502 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
UpdateStandardFontMenu(
MenuRef menu,
ItemCount * outHierMenuCount) ;
# 5519 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetFontFamilyFromMenuSelection(
MenuRef menu,
MenuItemIndex item,
FMFontFamily * outFontFamily,
FMFontStyle * outStyle) ;
# 5536 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
gestaltContextualMenuAttr = 'cmnu',
gestaltContextualMenuUnusedBit = 0,
gestaltContextualMenuTrapAvailable = 1,
gestaltContextualMenuHasAttributeAndModifierKeys = 2,
gestaltContextualMenuHasUnicodeSupport = 3
};
enum {
kCMHelpItemNoHelp = 0,
kCMHelpItemAppleGuide = 1,
# 5572 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kCMHelpItemOtherHelp = 2,
# 5581 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kCMHelpItemRemoveHelp = 3
};
enum {
kCMNothingSelected = 0,
kCMMenuItemSelected = 1,
kCMShowHelpSelected = 3
};
# 5621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
# 5635 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
keyContextualMenuName = 'pnam',
keyContextualMenuCommandID = 'cmcd',
keyContextualMenuSubmenu = 'cmsb',
keyContextualMenuAttributes = 'cmat',
# 5666 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
keyContextualMenuModifiers = 'cmmd'
};
# 5709 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsShowContextualMenuClick(const EventRecord * inEvent) ;
# 5755 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
IsShowContextualMenuEvent(EventRef inEvent) ;
# 5867 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
ContextualMenuSelect(
MenuRef inMenu,
Point inGlobalLocation,
Boolean inReserved,
UInt32 inHelpType,
ConstStr255Param inHelpItemString,
const AEDesc * inSelection,
UInt32 * outUserSelectionType,
MenuID * outMenuID,
MenuItemIndex * outMenuItem) ;
# 5897 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define kContextualMenuTypeID ( CFUUIDGetConstantUUIDWithBytes( NULL, 0x2F, 0x65, 0x22, 0xE9, 0x3E, 0x66, 0x11, 0xD5, 0x80, 0xA7, 0x00, 0x30, 0x65, 0xB3, 0x00, 0xBC ) )
#define kContextualMenuInterfaceID ( CFUUIDGetConstantUUIDWithBytes( NULL, 0x32, 0x99, 0x7B, 0x62, 0x3E, 0x66, 0x11, 0xD5, 0xBE, 0xAB, 0x00, 0x30, 0x65, 0xB3, 0x00, 0xBC ) )
#define CM_IUNKNOWN_C_GUTS void *_reserved; SInt32 (*QueryInterface)(void *thisPointer, CFUUIDBytes iid, void ** ppv); UInt32 (*AddRef)(void *thisPointer); UInt32 (*Release)(void *thisPointer)
struct ContextualMenuInterfaceStruct
{
void *_reserved; SInt32 (*QueryInterface)(void *thisPointer, CFUUIDBytes iid, void ** ppv); UInt32 (*AddRef)(void *thisPointer); UInt32 (*Release)(void *thisPointer);
OSStatus ( *ExamineContext )(
void* thisInstance,
const AEDesc* inContext,
AEDescList* outCommandPairs );
OSStatus ( *HandleSelection )(
void* thisInstance,
AEDesc* inContext,
SInt32 inCommandID );
void ( *PostMenuCleanup )(
void* thisInstance );
};
typedef struct ContextualMenuInterfaceStruct ContextualMenuInterfaceStruct;
extern OSStatus
CMPluginExamineContext(
void * thisInstance,
const AEDesc * inContext,
AEDescList * outCommandPairs);
# 5950 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
CMPluginHandleSelection(
void * thisInstance,
AEDesc * inContext,
SInt32 inCommandID);
# 5963 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
CMPluginPostMenuCleanup(void * thisInstance);
# 5981 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern MenuID
LMGetTheMenu(void) ;
# 6284 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
kMenuDrawMsg = 0,
kMenuSizeMsg = 2,
kMenuPopUpMsg = 3,
kMenuCalcItemMsg = 5,
kMenuThemeSavvyMsg = 7,
kMenuInitMsg = 8,
kMenuDisposeMsg = 9,
kMenuFindItemMsg = 10,
kMenuHiliteItemMsg = 11,
kMenuDrawItemsMsg = 12,
mDrawMsg = kMenuDrawMsg,
mSizeMsg = kMenuSizeMsg,
mPopUpMsg = kMenuPopUpMsg,
mCalcItemMsg = kMenuCalcItemMsg
};
# 6316 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
kThemeSavvyMenuResponse = 0x7473
};
# 6331 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MDEFHiliteItemData {
MenuItemIndex previousItem;
MenuItemIndex newItem;
void * context;
};
typedef struct MDEFHiliteItemData MDEFHiliteItemData;
typedef MDEFHiliteItemData * MDEFHiliteItemDataPtr;
typedef MDEFHiliteItemData HiliteMenuItemData;
typedef MDEFHiliteItemDataPtr HiliteMenuItemDataPtr;
# 6365 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MDEFDrawData {
MenuTrackingData trackingData;
void * context;
};
typedef struct MDEFDrawData MDEFDrawData;
typedef MDEFDrawData * MDEFDrawDataPtr;
# 6393 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MDEFFindItemData {
MenuTrackingData trackingData;
void * context;
};
typedef struct MDEFFindItemData MDEFFindItemData;
typedef MDEFFindItemData * MDEFFindItemDataPtr;
# 6421 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MDEFDrawItemsData {
MenuItemIndex firstItem;
MenuItemIndex lastItem;
MenuTrackingData * trackingData;
void * context;
};
typedef struct MDEFDrawItemsData MDEFDrawItemsData;
typedef MDEFDrawItemsData * MDEFDrawItemsDataPtr;
enum {
mctAllItems = -98,
mctLastIDIndic = -99
};
struct MCEntry {
MenuID mctID;
short mctItem;
RGBColor mctRGB1;
RGBColor mctRGB2;
RGBColor mctRGB3;
RGBColor mctRGB4;
short mctReserved;
};
typedef struct MCEntry MCEntry;
typedef MCEntry * MCEntryPtr;
typedef MCEntry MCTable[1];
typedef MCEntry * MCTablePtr;
typedef MCTablePtr * MCTableHandle;
struct MenuCRsrc {
short numEntries;
MCTable mcEntryRecs;
};
typedef struct MenuCRsrc MenuCRsrc;
typedef MenuCRsrc * MenuCRsrcPtr;
typedef MenuCRsrcPtr * MenuCRsrcHandle;
enum {
hMenuCmd = 27,
# 6495 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kInsertHierarchicalMenu = -1,
hierMenu = -1
};
# 6522 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern MenuRef
NewMenu(
MenuID menuID,
ConstStr255Param menuTitle) __attribute__((deprecated));
# 6545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern StringPtr
GetMenuTitle(
MenuRef menu,
Str255 title) __attribute__((deprecated));
# 6568 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
SetMenuTitle(
MenuRef menu,
ConstStr255Param title) __attribute__((deprecated));
# 6595 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define MacAppendMenu AppendMenu
extern void
AppendMenu(
MenuRef menu,
ConstStr255Param data) __attribute__((deprecated));
# 6640 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define MacInsertMenuItem InsertMenuItem
extern void
InsertMenuItem(
MenuRef theMenu,
ConstStr255Param itemString,
MenuItemIndex afterItem) __attribute__((deprecated));
# 6667 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
AppendMenuItemText(
MenuRef menu,
ConstStr255Param inString) __attribute__((deprecated));
# 6708 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
InsertMenuItemText(
MenuRef menu,
ConstStr255Param inString,
MenuItemIndex afterItem) __attribute__((deprecated));
# 6732 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetMenuItemText(
MenuRef theMenu,
MenuItemIndex item,
ConstStr255Param itemString) __attribute__((deprecated));
# 6756 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
GetMenuItemText(
MenuRef theMenu,
MenuItemIndex item,
Str255 itemString) __attribute__((deprecated));
# 6782 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
SetMenuItemTextEncoding(
MenuRef inMenu,
MenuItemIndex inItem,
TextEncoding inScriptID) __attribute__((deprecated));
# 6808 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
GetMenuItemTextEncoding(
MenuRef inMenu,
MenuItemIndex inItem,
TextEncoding * outScriptID) __attribute__((deprecated));
# 6833 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetItemIcon(
MenuRef theMenu,
MenuItemIndex item,
short iconIndex) __attribute__((deprecated));
# 6858 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
GetItemIcon(
MenuRef theMenu,
MenuItemIndex item,
short * iconIndex) __attribute__((deprecated));
# 6883 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
SetMenuItemHierarchicalID(
MenuRef inMenu,
MenuItemIndex inItem,
MenuID inHierID) __attribute__((deprecated));
# 6908 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSErr
GetMenuItemHierarchicalID(
MenuRef inMenu,
MenuItemIndex inItem,
MenuID * outHierID) __attribute__((deprecated));
# 6938 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern ItemCount
GetMenuRetainCount(MenuRef inMenu) __attribute__((deprecated));
# 6964 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
RetainMenu(MenuRef inMenu) __attribute__((deprecated));
# 6991 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
ReleaseMenu(MenuRef inMenu) __attribute__((deprecated));
# 7016 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
InsertResMenu(
MenuRef theMenu,
ResType theType,
MenuItemIndex afterItem) __attribute__((deprecated));
# 7044 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
AppendResMenu(
MenuRef theMenu,
ResType theType) __attribute__((deprecated));
# 7068 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
InsertFontResMenu(
MenuRef theMenu,
MenuItemIndex afterItem,
short scriptFilter) __attribute__((deprecated));
# 7096 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
InsertIntlResMenu(
MenuRef theMenu,
ResType theType,
MenuItemIndex afterItem,
short scriptFilter) __attribute__((deprecated));
# 7122 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern SInt32
MenuKey(CharParameter ch) __attribute__((deprecated));
# 7143 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetMenuFlashCount(short count) __attribute__((deprecated));
# 7174 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
InitContextualMenus(void) __attribute__((deprecated));
# 7212 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern Boolean
ProcessIsContextualMenuClient(ProcessSerialNumber * inPSN) __attribute__((deprecated));
# 7240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
DeleteMCEntries(
MenuID menuID,
short menuItem) __attribute__((deprecated));
# 7264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern MCTableHandle
GetMCInfo(void) __attribute__((deprecated));
# 7286 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetMCInfo(MCTableHandle menuCTbl) __attribute__((deprecated));
# 7308 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
DisposeMCInfo(MCTableHandle menuCTbl) __attribute__((deprecated));
# 7330 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern MCEntryPtr
GetMCEntry(
MenuID menuID,
short menuItem) __attribute__((deprecated));
# 7354 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
SetMCEntries(
short numEntries,
MCTablePtr menuCEntries) __attribute__((deprecated));
# 7402 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
EraseMenuBackground(
MenuRef inMenu,
const Rect * inEraseRect,
CGContextRef inContext) __attribute__((deprecated));
# 7453 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
ScrollMenuImage(
MenuRef inMenu,
const Rect * inScrollRect,
int inHScroll,
int inVScroll,
CGContextRef inContext) __attribute__((deprecated));
typedef long ( * MenuBarDefProcPtr)(short selector, short message, short parameter1, long parameter2);
typedef void ( * MenuHookProcPtr)(void);
typedef short ( * MBarHookProcPtr)(Rect * menuRect);
typedef MenuBarDefProcPtr MenuBarDefUPP;
typedef MenuHookProcPtr MenuHookUPP;
typedef MBarHookProcPtr MBarHookUPP;
# 7572 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#pragma pack(pop)
# 29 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 2 3
# 43 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
typedef HIObjectRef HIToolbarRef;
typedef HIObjectRef HIToolbarItemRef;
#define kHIToolbarIdentifierKey CFSTR("identifier")
#define kHIToolbarDataKey CFSTR("data")
#define kHIToolbarSeparatorIdentifier CFSTR("com.apple.hitoolbox.toolbar.separator")
#define kHIToolbarSpaceIdentifier CFSTR("com.apple.hitoolbox.toolbar.space")
#define kHIToolbarFlexibleSpaceIdentifier CFSTR("com.apple.hitoolbox.toolbar.flexiblespace")
#define kHIToolbarCustomizeIdentifier CFSTR("com.apple.hitoolbox.toolbar.customize")
#define kHIToolbarPrintItemIdentifier CFSTR("com.apple.hitoolbox.toolbar.print")
#define kHIToolbarFontsItemIdentifier CFSTR("com.apple.hitoolbox.toolbar.fonts")
enum {
kHIToolbarDisplayModeDefault = 0,
kHIToolbarDisplayModeIconAndLabel = 1,
kHIToolbarDisplayModeIconOnly = 2,
kHIToolbarDisplayModeLabelOnly = 3
};
typedef UInt32 HIToolbarDisplayMode;
enum {
kHIToolbarDisplaySizeDefault = 0,
kHIToolbarDisplaySizeNormal = 1,
kHIToolbarDisplaySizeSmall = 2
};
typedef UInt32 HIToolbarDisplaySize;
enum {
kHIToolbarNoAttributes = 0,
# 138 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarAutoSavesConfig = (1 << 0),
kHIToolbarIsConfigurable = (1 << 1),
kHIToolbarValidAttrs = kHIToolbarAutoSavesConfig | kHIToolbarIsConfigurable
};
enum {
kHICommandCustomizeToolbar = 'tcfg',
kHICommandShowToolbar = 'tbsh',
kHICommandHideToolbar = 'tbhd',
# 189 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHICommandToggleToolbar = 'tbtg',
# 198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHICommandToggleAllToolbars = 'tbta',
# 209 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHICommandCycleToolbarModeSmaller = 'tbms',
# 220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHICommandCycleToolbarModeLarger = 'tbml',
# 230 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarCommandPressAction = 'tbpr'
};
# 251 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventParamToolbar = 'tbar',
kEventParamToolbarItem = 'tbit',
kEventParamToolbarItemIdentifier = 'tbii',
kEventParamToolbarItemConfigData = 'tbid',
typeHIToolbarRef = 'tbar',
typeHIToolbarItemRef = 'tbit'
};
# 282 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarGetDefaultIdentifiers = 1
};
# 310 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarGetAllowedIdentifiers = 2
};
# 349 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarGetSelectableIdentifiers = 10
};
# 383 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarCreateItemWithIdentifier = 3
};
# 414 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarCreateItemFromDrag = 4
};
# 441 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemAdded = 5
};
# 466 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemRemoved = 6
};
# 486 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarDisplayModeChanged = 7
};
# 506 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarDisplaySizeChanged = 8
};
# 528 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarLayoutChanged = 9
};
# 553 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarBeginMultiChange = 12
};
# 574 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarEndMultiChange = 13
};
# 608 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemImageChanged = 1
};
# 627 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemLabelChanged = 2
};
# 646 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemHelpTextChanged = 3
};
# 665 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemCommandIDChanged = 4
};
# 692 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemGetPersistentData = 5
};
# 717 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemCreateCustomView = 6
};
# 745 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemEnabledStateChanged = 7
};
# 773 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemSelectedStateChanged = 12
};
# 793 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemPerformAction = 8
};
# 828 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemWouldAcceptDrop = 10
};
# 852 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemAcceptDrop = 11
};
# 864 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventParamToolbarDisplayMode = 'tbdm',
kEventParamToolbarDisplaySize = 'tbds',
typeHIToolbarDisplayMode = 'tbdm',
typeHIToolbarDisplaySize = 'tbds'
};
# 898 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemViewConfigForMode = 3
};
# 928 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemViewConfigForSize = 4
};
# 952 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemViewEnterConfigMode = 5
};
# 975 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemViewExitConfigMode = 6
};
enum {
kHIToolbarItemNoAttributes = 0,
# 998 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarItemAllowDuplicates = (1 << 0),
kHIToolbarItemCantBeRemoved = (1 << 1),
# 1015 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarItemAnchoredLeft = (1 << 2),
# 1024 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarItemIsSeparator = (1 << 3),
kHIToolbarItemSendCmdToUserFocus = (1 << 4),
# 1048 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarItemLabelDisabled = (1 << 5),
kHIToolbarItemDisabled = (1 << 6),
kHIToolbarItemSelected = (1 << 7),
kHIToolbarItemValidAttrs = kHIToolbarItemAllowDuplicates | kHIToolbarItemIsSeparator | kHIToolbarItemCantBeRemoved | kHIToolbarItemAnchoredLeft | kHIToolbarItemSendCmdToUserFocus | kHIToolbarItemLabelDisabled | kHIToolbarItemDisabled | kHIToolbarItemSelected,
kHIToolbarItemMutableAttrs = kHIToolbarItemCantBeRemoved | kHIToolbarItemAnchoredLeft | kHIToolbarItemLabelDisabled | kHIToolbarItemDisabled | kHIToolbarItemSelected
};
# 1119 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarCreate(
CFStringRef inIdentifier,
OptionBits inAttributes,
HIToolbarRef * outToolbar) ;
# 1151 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarGetAttributes(
HIToolbarRef inToolbar,
OptionBits * outAttributes) ;
# 1185 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarChangeAttributes(
HIToolbarRef inToolbar,
OptionBits inAttrsToSet,
OptionBits inAttrsToClear) ;
# 1217 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarGetDisplayMode(
HIToolbarRef inToolbar,
HIToolbarDisplayMode * outDisplayMode) ;
# 1248 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarSetDisplayMode(
HIToolbarRef inToolbar,
HIToolbarDisplayMode inDisplayMode) ;
# 1279 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarGetDisplaySize(
HIToolbarRef inToolbar,
HIToolbarDisplaySize * outSize) ;
# 1310 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarSetDisplaySize(
HIToolbarRef inToolbar,
HIToolbarDisplaySize inSize) ;
# 1342 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarCopyIdentifier(
HIToolbarRef inToolbar,
CFStringRef * outIdentifier) ;
# 1385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarSetItemsWithIdentifiers(
HIToolbarRef inToolbar,
CFArrayRef inArray) ;
# 1417 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarCopyItems(
HIToolbarRef inToolbar,
CFArrayRef * outItems) ;
# 1462 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarCreateItemWithIdentifier(
HIToolbarRef inToolbar,
CFStringRef inIdentifier,
CFTypeRef inConfigData,
HIToolbarItemRef * outItem) ;
# 1503 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarInsertItemAtIndex(
HIToolbarRef inToolbar,
HIToolbarItemRef inItem,
CFIndex inIndex) ;
# 1540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarAppendItem(
HIToolbarRef inToolbar,
HIToolbarItemRef inItem) ;
# 1571 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarRemoveItemAtIndex(
HIToolbarRef inToolbar,
CFIndex inIndex) ;
# 1606 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarSetDelegate(
HIToolbarRef inToolbar,
HIObjectRef inDelegate) ;
# 1634 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern HIObjectRef
HIToolbarGetDelegate(HIToolbarRef inToolbar) ;
# 1645 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
#define kHIToolbarItemClassID CFSTR("com.apple.hitoolbaritem")
# 1689 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemCreate(
CFStringRef inIdentifier,
OptionBits inOptions,
HIToolbarItemRef * outItem) ;
#define _HIToolbarItemCopyIdentifier HIToolbarItemCopyIdentifier
# 1725 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemCopyIdentifier(
HIToolbarItemRef inItem,
CFStringRef * outIdentifier) ;
# 1756 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemGetAttributes(
HIToolbarItemRef inItem,
OptionBits * outAttributes) ;
# 1794 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemChangeAttributes(
HIToolbarItemRef inItem,
OptionBits inAttrsToSet,
OptionBits inAttrsToClear) ;
# 1849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemGetAttributesInWindow(
HIToolbarItemRef inItem,
WindowRef inWindow,
OptionBits * outOverriddenAttributes,
OptionBits * outCombinedAttributes) ;
# 1941 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemChangeAttributesInWindow(
HIToolbarItemRef inItem,
WindowRef inWindow,
OptionBits inAttrsToSet,
OptionBits inAttrsToClear,
OptionBits inAttrsToNoLongerOverride) ;
# 1983 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarGetSelectedItemInWindow(
HIToolbarRef inToolbar,
WindowRef inWindow,
HIToolbarItemRef * outItem) ;
# 2017 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemSetLabel(
HIToolbarItemRef inItem,
CFStringRef inLabel) ;
# 2049 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemCopyLabel(
HIToolbarItemRef inItem,
CFStringRef * outLabel) ;
# 2088 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemSetHelpText(
HIToolbarItemRef inItem,
CFStringRef inShortText,
CFStringRef inLongText) ;
# 2131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemCopyHelpText(
HIToolbarItemRef inItem,
CFStringRef * outShortText,
CFStringRef * outLongText) ;
# 2167 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemSetCommandID(
HIToolbarItemRef inItem,
MenuCommand inCommandID) ;
# 2198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemGetCommandID(
HIToolbarItemRef inItem,
MenuCommand * outCommandID) ;
# 2231 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemSetIconRef(
HIToolbarItemRef inItem,
IconRef inIcon) ;
# 2264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemCopyIconRef(
HIToolbarItemRef inItem,
IconRef * outIcon) ;
# 2299 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemSetImage(
HIToolbarItemRef inItem,
CGImageRef inImage) ;
# 2332 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemCopyImage(
HIToolbarItemRef inItem,
CGImageRef * outImage) ;
# 2373 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemSetMenu(
HIToolbarItemRef inItem,
MenuRef inMenu) ;
# 2405 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemCopyMenu(
HIToolbarItemRef inItem,
MenuRef * outMenu) ;
# 2441 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern HIToolbarRef
HIToolbarItemGetToolbar(HIToolbarItemRef inItem) ;
# 2467 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern Boolean
HIToolbarItemIsEnabled(HIToolbarItemRef inItem) ;
# 2496 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemSetEnabled(
HIToolbarItemRef inItem,
Boolean inEnabled) ;
# 2529 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
extern OSStatus
HIToolbarItemConfigDataChanged(HIToolbarItemRef inItem) ;
# 38 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
#define __HIVIEW__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
#define __CONTROLS__
# 40 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 1 3
# 25 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
#define __TEXTEDIT__
# 42 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
#pragma pack(push, 2)
typedef struct TERec TERec;
typedef TERec * TEPtr;
typedef TEPtr * TEHandle;
typedef void ( * HighHookProcPtr)(const Rect *r, TEPtr pTE);
typedef Boolean ( * EOLHookProcPtr)(char theChar, TEPtr pTE, TEHandle hTE);
typedef void ( * CaretHookProcPtr)(const Rect *r, TEPtr pTE);
typedef unsigned short ( * WidthHookProcPtr)(unsigned short textLen, unsigned short textOffset, void *textBufferPtr, TEPtr pTE, TEHandle hTE);
typedef unsigned short ( * TextWidthHookProcPtr)(unsigned short textLen, unsigned short textOffset, void *textBufferPtr, TEPtr pTE, TEHandle hTE);
typedef unsigned short ( * NWidthHookProcPtr)(unsigned short styleRunLen, unsigned short styleRunOffset, short slop, short direction, void *textBufferPtr, short *lineStart, TEPtr pTE, TEHandle hTE);
typedef void ( * DrawHookProcPtr)(unsigned short textOffset, unsigned short drawLen, void *textBufferPtr, TEPtr pTE, TEHandle hTE);
typedef Boolean ( * HitTestHookProcPtr)(unsigned short styleRunLen, unsigned short styleRunOffset, unsigned short slop, void *textBufferPtr, TEPtr pTE, TEHandle hTE, unsigned short *pixelWidth, unsigned short *charOffset, Boolean *pixelInChar);
typedef void ( * TEFindWordProcPtr)(unsigned short currentPos, short caller, TEPtr pTE, TEHandle hTE, unsigned short *wordStart, unsigned short *wordEnd);
typedef void ( * TERecalcProcPtr)(TEPtr pTE, unsigned short changeLength, unsigned short *lineStart, unsigned short *firstChar, unsigned short *lastChar);
typedef void ( * TEDoTextProcPtr)(TEPtr pTE, unsigned short firstChar, unsigned short lastChar, short selector, GrafPtr *currentGrafPort, short *charPosition);
typedef Boolean ( * TEClickLoopProcPtr)(TEPtr pTE);
typedef Boolean ( * WordBreakProcPtr)(Ptr text, short charPos);
# 206 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
typedef HighHookProcPtr HighHookUPP;
typedef EOLHookProcPtr EOLHookUPP;
typedef CaretHookProcPtr CaretHookUPP;
typedef WidthHookProcPtr WidthHookUPP;
typedef TextWidthHookProcPtr TextWidthHookUPP;
typedef NWidthHookProcPtr NWidthHookUPP;
typedef DrawHookProcPtr DrawHookUPP;
typedef HitTestHookProcPtr HitTestHookUPP;
typedef TEFindWordProcPtr TEFindWordUPP;
typedef TERecalcProcPtr TERecalcUPP;
typedef TEDoTextProcPtr TEDoTextUPP;
typedef TEClickLoopProcPtr TEClickLoopUPP;
typedef WordBreakProcPtr WordBreakUPP;
struct TERec {
Rect destRect;
Rect viewRect;
Rect selRect;
short lineHeight;
short fontAscent;
Point selPoint;
short selStart;
short selEnd;
short active;
WordBreakUPP wordBreak;
TEClickLoopUPP clickLoop;
long clickTime;
short clickLoc;
long caretTime;
short caretState;
short just;
short teLength;
Handle hText;
long hDispatchRec;
short clikStuff;
short crOnly;
short txFont;
StyleField txFace;
short txMode;
short txSize;
GrafPtr inPort;
HighHookUPP highHook;
CaretHookUPP caretHook;
short nLines;
short lineStarts[16001];
};
enum {
teJustLeft = 0,
teJustCenter = 1,
teJustRight = -1,
teForceLeft = -2,
teFlushDefault = 0,
teCenter = 1,
teFlushRight = -1,
teFlushLeft = -2
};
enum {
fontBit = 0,
faceBit = 1,
sizeBit = 2,
clrBit = 3,
addSizeBit = 4,
toggleBit = 5
};
enum {
doFont = 1,
doFace = 2,
doSize = 4,
doColor = 8,
doAll = 15,
addSize = 16,
doToggle = 32
};
enum {
EOLHook = 0,
DRAWHook = 4,
WIDTHHook = 8,
HITTESTHook = 12,
nWIDTHHook = 24,
TextWidthHook = 28
};
enum {
intEOLHook = 0,
intDrawHook = 1,
intWidthHook = 2,
intHitTestHook = 3,
intNWidthHook = 6,
intTextWidthHook = 7,
intInlineInputTSMTEPreUpdateHook = 8,
intInlineInputTSMTEPostUpdateHook = 9
};
enum {
teFAutoScroll = 0,
teFTextBuffering = 1,
teFOutlineHilite = 2,
teFInlineInput = 3,
teFUseWhiteBackground = 4,
teFUseInlineInput = 5,
teFInlineInputAutoScroll = 6
};
enum {
teFIdleWithEventLoopTimer = 7
};
enum {
teBitClear = 0,
teBitSet = 1,
teBitTest = -1
};
enum {
teWordSelect = 4,
teWordDrag = 8,
teFromFind = 12,
teFromRecal = 16
};
enum {
teFind = 0,
teHighlight = 1,
teDraw = -1,
teCaret = -2
};
typedef char Chars[32001];
typedef char * CharsPtr;
typedef CharsPtr * CharsHandle;
struct StyleRun {
short startChar;
short styleIndex;
};
typedef struct StyleRun StyleRun;
struct STElement {
short stCount;
short stHeight;
short stAscent;
short stFont;
StyleField stFace;
short stSize;
RGBColor stColor;
};
typedef struct STElement STElement;
typedef STElement TEStyleTable[1777];
typedef STElement * STPtr;
typedef STPtr * STHandle;
struct LHElement {
short lhHeight;
short lhAscent;
};
typedef struct LHElement LHElement;
typedef LHElement LHTable[8001];
typedef LHElement * LHPtr;
typedef LHPtr * LHHandle;
struct ScrpSTElement {
SInt32 scrpStartChar;
SInt16 scrpHeight;
SInt16 scrpAscent;
SInt16 scrpFont;
StyleField scrpFace;
SInt16 scrpSize;
RGBColor scrpColor;
};
typedef struct ScrpSTElement ScrpSTElement;
typedef ScrpSTElement ScrpSTTable[1601];
struct StScrpRec {
short scrpNStyles;
ScrpSTTable scrpStyleTab;
};
typedef struct StScrpRec StScrpRec;
typedef StScrpRec * StScrpPtr;
typedef StScrpPtr * StScrpHandle;
struct NullStRec {
long teReserved;
StScrpHandle nullScrap;
};
typedef struct NullStRec NullStRec;
typedef NullStRec * NullStPtr;
typedef NullStPtr * NullStHandle;
struct TEStyleRec {
short nRuns;
short nStyles;
STHandle styleTab;
LHHandle lhTab;
long teRefCon;
NullStHandle nullStyle;
StyleRun runs[8001];
};
typedef struct TEStyleRec TEStyleRec;
typedef TEStyleRec * TEStylePtr;
typedef TEStylePtr * TEStyleHandle;
struct TextStyle {
short tsFont;
StyleField tsFace;
short tsSize;
RGBColor tsColor;
};
typedef struct TextStyle TextStyle;
typedef TextStyle * TextStylePtr;
typedef TextStylePtr * TextStyleHandle;
typedef short TEIntHook;
# 437 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern HighHookUPP
NewHighHookUPP(HighHookProcPtr userRoutine) __attribute__((deprecated));
# 448 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern EOLHookUPP
NewEOLHookUPP(EOLHookProcPtr userRoutine) __attribute__((deprecated));
# 459 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern CaretHookUPP
NewCaretHookUPP(CaretHookProcPtr userRoutine) __attribute__((deprecated));
# 470 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern WidthHookUPP
NewWidthHookUPP(WidthHookProcPtr userRoutine) __attribute__((deprecated));
# 481 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TextWidthHookUPP
NewTextWidthHookUPP(TextWidthHookProcPtr userRoutine) __attribute__((deprecated));
# 492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern NWidthHookUPP
NewNWidthHookUPP(NWidthHookProcPtr userRoutine) __attribute__((deprecated));
# 503 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern DrawHookUPP
NewDrawHookUPP(DrawHookProcPtr userRoutine) __attribute__((deprecated));
# 514 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern HitTestHookUPP
NewHitTestHookUPP(HitTestHookProcPtr userRoutine) __attribute__((deprecated));
# 525 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEFindWordUPP
NewTEFindWordUPP(TEFindWordProcPtr userRoutine) __attribute__((deprecated));
# 536 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TERecalcUPP
NewTERecalcUPP(TERecalcProcPtr userRoutine) __attribute__((deprecated));
# 547 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEDoTextUPP
NewTEDoTextUPP(TEDoTextProcPtr userRoutine) __attribute__((deprecated));
# 558 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEClickLoopUPP
NewTEClickLoopUPP(TEClickLoopProcPtr userRoutine) __attribute__((deprecated));
# 578 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeHighHookUPP(HighHookUPP userUPP) __attribute__((deprecated));
# 589 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeEOLHookUPP(EOLHookUPP userUPP) __attribute__((deprecated));
# 600 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeCaretHookUPP(CaretHookUPP userUPP) __attribute__((deprecated));
# 611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeWidthHookUPP(WidthHookUPP userUPP) __attribute__((deprecated));
# 622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeTextWidthHookUPP(TextWidthHookUPP userUPP) __attribute__((deprecated));
# 633 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeNWidthHookUPP(NWidthHookUPP userUPP) __attribute__((deprecated));
# 644 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeDrawHookUPP(DrawHookUPP userUPP) __attribute__((deprecated));
# 655 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeHitTestHookUPP(HitTestHookUPP userUPP) __attribute__((deprecated));
# 666 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeTEFindWordUPP(TEFindWordUPP userUPP) __attribute__((deprecated));
# 677 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeTERecalcUPP(TERecalcUPP userUPP) __attribute__((deprecated));
# 688 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeTEDoTextUPP(TEDoTextUPP userUPP) __attribute__((deprecated));
# 699 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeTEClickLoopUPP(TEClickLoopUPP userUPP) __attribute__((deprecated));
# 719 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeHighHookUPP(
const Rect * r,
TEPtr pTE,
HighHookUPP userUPP) __attribute__((deprecated));
# 733 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern Boolean
InvokeEOLHookUPP(
char theChar,
TEPtr pTE,
TEHandle hTE,
EOLHookUPP userUPP) __attribute__((deprecated));
# 748 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeCaretHookUPP(
const Rect * r,
TEPtr pTE,
CaretHookUPP userUPP) __attribute__((deprecated));
# 762 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern unsigned short
InvokeWidthHookUPP(
unsigned short textLen,
unsigned short textOffset,
void * textBufferPtr,
TEPtr pTE,
TEHandle hTE,
WidthHookUPP userUPP) __attribute__((deprecated));
# 779 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern unsigned short
InvokeTextWidthHookUPP(
unsigned short textLen,
unsigned short textOffset,
void * textBufferPtr,
TEPtr pTE,
TEHandle hTE,
TextWidthHookUPP userUPP) __attribute__((deprecated));
# 796 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern unsigned short
InvokeNWidthHookUPP(
unsigned short styleRunLen,
unsigned short styleRunOffset,
short slop,
short direction,
void * textBufferPtr,
short * lineStart,
TEPtr pTE,
TEHandle hTE,
NWidthHookUPP userUPP) __attribute__((deprecated));
# 816 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeDrawHookUPP(
unsigned short textOffset,
unsigned short drawLen,
void * textBufferPtr,
TEPtr pTE,
TEHandle hTE,
DrawHookUPP userUPP) __attribute__((deprecated));
# 833 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern Boolean
InvokeHitTestHookUPP(
unsigned short styleRunLen,
unsigned short styleRunOffset,
unsigned short slop,
void * textBufferPtr,
TEPtr pTE,
TEHandle hTE,
unsigned short * pixelWidth,
unsigned short * charOffset,
Boolean * pixelInChar,
HitTestHookUPP userUPP) __attribute__((deprecated));
# 854 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeTEFindWordUPP(
unsigned short currentPos,
short caller,
TEPtr pTE,
TEHandle hTE,
unsigned short * wordStart,
unsigned short * wordEnd,
TEFindWordUPP userUPP) __attribute__((deprecated));
# 872 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeTERecalcUPP(
TEPtr pTE,
unsigned short changeLength,
unsigned short * lineStart,
unsigned short * firstChar,
unsigned short * lastChar,
TERecalcUPP userUPP) __attribute__((deprecated));
# 889 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeTEDoTextUPP(
TEPtr pTE,
unsigned short firstChar,
unsigned short lastChar,
short selector,
GrafPtr * currentGrafPort,
short * charPosition,
TEDoTextUPP userUPP) __attribute__((deprecated));
# 907 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern Boolean
InvokeTEClickLoopUPP(
TEPtr pTE,
TEClickLoopUPP userUPP) __attribute__((deprecated));
# 960 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
#define NewHighHookUPP(userRoutine) ((HighHookUPP)userRoutine)
#define NewEOLHookUPP(userRoutine) ((EOLHookUPP)userRoutine)
#define NewCaretHookUPP(userRoutine) ((CaretHookUPP)userRoutine)
#define NewWidthHookUPP(userRoutine) ((WidthHookUPP)userRoutine)
#define NewTextWidthHookUPP(userRoutine) ((TextWidthHookUPP)userRoutine)
#define NewNWidthHookUPP(userRoutine) ((NWidthHookUPP)userRoutine)
#define NewDrawHookUPP(userRoutine) ((DrawHookUPP)userRoutine)
#define NewHitTestHookUPP(userRoutine) ((HitTestHookUPP)userRoutine)
#define NewTEFindWordUPP(userRoutine) ((TEFindWordUPP)userRoutine)
#define NewTERecalcUPP(userRoutine) ((TERecalcUPP)userRoutine)
#define NewTEDoTextUPP(userRoutine) ((TEDoTextUPP)userRoutine)
#define NewTEClickLoopUPP(userRoutine) ((TEClickLoopUPP)userRoutine)
#define DisposeHighHookUPP(userUPP)
#define DisposeEOLHookUPP(userUPP)
#define DisposeCaretHookUPP(userUPP)
#define DisposeWidthHookUPP(userUPP)
#define DisposeTextWidthHookUPP(userUPP)
#define DisposeNWidthHookUPP(userUPP)
#define DisposeDrawHookUPP(userUPP)
#define DisposeHitTestHookUPP(userUPP)
#define DisposeTEFindWordUPP(userUPP)
#define DisposeTERecalcUPP(userUPP)
#define DisposeTEDoTextUPP(userUPP)
#define DisposeTEClickLoopUPP(userUPP)
#define InvokeHighHookUPP(r,pTE,userUPP) (*userUPP)(r, pTE)
#define InvokeEOLHookUPP(theChar,pTE,hTE,userUPP) (*userUPP)(theChar, pTE, hTE)
#define InvokeCaretHookUPP(r,pTE,userUPP) (*userUPP)(r, pTE)
#define InvokeWidthHookUPP(textLen,textOffset,textBufferPtr,pTE,hTE,userUPP) (*userUPP)(textLen, textOffset, textBufferPtr, pTE, hTE)
#define InvokeTextWidthHookUPP(textLen,textOffset,textBufferPtr,pTE,hTE,userUPP) (*userUPP)(textLen, textOffset, textBufferPtr, pTE, hTE)
#define InvokeNWidthHookUPP(styleRunLen,styleRunOffset,slop,direction,textBufferPtr,lineStart,pTE,hTE,userUPP) (*userUPP)(styleRunLen, styleRunOffset, slop, direction, textBufferPtr, lineStart, pTE, hTE)
#define InvokeDrawHookUPP(textOffset,drawLen,textBufferPtr,pTE,hTE,userUPP) (*userUPP)(textOffset, drawLen, textBufferPtr, pTE, hTE)
#define InvokeHitTestHookUPP(styleRunLen,styleRunOffset,slop,textBufferPtr,pTE,hTE,pixelWidth,charOffset,pixelInChar,userUPP) (*userUPP)(styleRunLen, styleRunOffset, slop, textBufferPtr, pTE, hTE, pixelWidth, charOffset, pixelInChar)
#define InvokeTEFindWordUPP(currentPos,caller,pTE,hTE,wordStart,wordEnd,userUPP) (*userUPP)(currentPos, caller, pTE, hTE, wordStart, wordEnd)
#define InvokeTERecalcUPP(pTE,changeLength,lineStart,firstChar,lastChar,userUPP) (*userUPP)(pTE, changeLength, lineStart, firstChar, lastChar)
#define InvokeTEDoTextUPP(pTE,firstChar,lastChar,selector,currentGrafPort,charPosition,userUPP) (*userUPP)(pTE, firstChar, lastChar, selector, currentGrafPort, charPosition)
#define InvokeTEClickLoopUPP(pTE,userUPP) (*userUPP)(pTE)
enum {
teFUseTextServices = 4
};
# 1026 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern Handle
TEScrapHandle(void) __attribute__((deprecated));
# 1042 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern long
TEGetScrapLength(void) __attribute__((deprecated));
# 1060 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEHandle
TENew(
const Rect * destRect,
const Rect * viewRect) __attribute__((deprecated));
# 1077 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEDispose(TEHandle hTE) __attribute__((deprecated));
# 1092 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetText(
const void * text,
long length,
TEHandle hTE) __attribute__((deprecated));
# 1110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern CharsHandle
TEGetText(TEHandle hTE) __attribute__((deprecated));
# 1125 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEIdle(TEHandle hTE) __attribute__((deprecated));
# 1140 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetSelect(
long selStart,
long selEnd,
TEHandle hTE) __attribute__((deprecated));
# 1158 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEActivate(TEHandle hTE) __attribute__((deprecated));
# 1173 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEDeactivate(TEHandle hTE) __attribute__((deprecated));
# 1188 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEKey(
CharParameter key,
TEHandle hTE) __attribute__((deprecated));
# 1205 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TECut(TEHandle hTE) __attribute__((deprecated));
# 1220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TECopy(TEHandle hTE) __attribute__((deprecated));
# 1235 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEPaste(TEHandle hTE) __attribute__((deprecated));
# 1250 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEDelete(TEHandle hTE) __attribute__((deprecated));
# 1265 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEInsert(
const void * text,
long length,
TEHandle hTE) __attribute__((deprecated));
# 1283 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetAlignment(
short just,
TEHandle hTE) __attribute__((deprecated));
# 1300 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEUpdate(
const Rect * rUpdate,
TEHandle hTE) __attribute__((deprecated));
# 1317 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TETextBox(
const void * text,
long length,
const Rect * box,
short just) __attribute__((deprecated));
# 1336 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEScroll(
short dh,
short dv,
TEHandle hTE) __attribute__((deprecated));
# 1354 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESelView(TEHandle hTE) __attribute__((deprecated));
# 1369 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEPinScroll(
short dh,
short dv,
TEHandle hTE) __attribute__((deprecated));
# 1387 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEAutoView(
Boolean fAuto,
TEHandle hTE) __attribute__((deprecated));
# 1404 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TECalText(TEHandle hTE) __attribute__((deprecated));
# 1419 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern short
TEGetOffset(
Point pt,
TEHandle hTE) __attribute__((deprecated));
# 1436 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern Point
TEGetPoint(
short offset,
TEHandle hTE) __attribute__((deprecated));
# 1453 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEClick(
Point pt,
Boolean fExtend,
TEHandle h) __attribute__((deprecated));
# 1471 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEHandle
TEStyleNew(
const Rect * destRect,
const Rect * viewRect) __attribute__((deprecated));
# 1488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetStyleHandle(
TEStyleHandle theHandle,
TEHandle hTE) __attribute__((deprecated));
# 1505 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEStyleHandle
TEGetStyleHandle(TEHandle hTE) __attribute__((deprecated));
# 1520 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEGetStyle(
short offset,
TextStyle * theStyle,
short * lineHeight,
short * fontAscent,
TEHandle hTE) __attribute__((deprecated));
# 1540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEStylePaste(TEHandle hTE) __attribute__((deprecated));
# 1555 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetStyle(
short mode,
const TextStyle * newStyle,
Boolean fRedraw,
TEHandle hTE) __attribute__((deprecated));
# 1574 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEReplaceStyle(
short mode,
const TextStyle * oldStyle,
const TextStyle * newStyle,
Boolean fRedraw,
TEHandle hTE) __attribute__((deprecated));
# 1594 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern StScrpHandle
TEGetStyleScrapHandle(TEHandle hTE) __attribute__((deprecated));
# 1609 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEStyleInsert(
const void * text,
long length,
StScrpHandle hST,
TEHandle hTE) __attribute__((deprecated));
# 1628 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern long
TEGetHeight(
long endLine,
long startLine,
TEHandle hTE) __attribute__((deprecated));
# 1646 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern Boolean
TEContinuousStyle(
short * mode,
TextStyle * aStyle,
TEHandle hTE) __attribute__((deprecated));
# 1664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TEUseStyleScrap(
long rangeStart,
long rangeEnd,
StScrpHandle newStyles,
Boolean fRedraw,
TEHandle hTE) __attribute__((deprecated));
# 1684 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TECustomHook(
TEIntHook which,
UniversalProcPtr * addr,
TEHandle hTE) __attribute__((deprecated));
# 1702 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern long
TENumStyles(
long rangeStart,
long rangeEnd,
TEHandle hTE) __attribute__((deprecated));
# 1720 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern short
TEFeatureFlag(
short feature,
short action,
TEHandle hTE) __attribute__((deprecated));
# 1738 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern OSErr
TEGetHiliteRgn(
RgnHandle region,
TEHandle hTE) __attribute__((deprecated));
# 1755 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetScrapLength(long length) __attribute__((deprecated));
# 1770 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern OSErr
TEFromScrap(void) __attribute__((deprecated));
# 1785 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern OSErr
TEToScrap(void) __attribute__((deprecated));
# 1800 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetClickLoop(
TEClickLoopUPP clikProc,
TEHandle hTE) __attribute__((deprecated));
# 1824 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEDoTextUPP
TEGetDoTextHook(void) __attribute__((deprecated));
# 1839 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetDoTextHook(TEDoTextUPP value) __attribute__((deprecated));
# 1854 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TERecalcUPP
TEGetRecalcHook(void) __attribute__((deprecated));
# 1869 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetRecalcHook(TERecalcUPP value) __attribute__((deprecated));
# 1884 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEFindWordUPP
TEGetFindWordHook(void) __attribute__((deprecated));
# 1899 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetFindWordHook(TEFindWordUPP value) __attribute__((deprecated));
# 1914 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern Handle
TEGetScrapHandle(void) __attribute__((deprecated));
# 1929 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
TESetScrapHandle(Handle value) __attribute__((deprecated));
# 1950 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern UInt8
LMGetWordRedraw(void) __attribute__((deprecated));
# 1965 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
LMSetWordRedraw(UInt8 value) __attribute__((deprecated));
# 1996 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
#pragma pack(pop)
# 41 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
#define __DRAG__
# 51 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
#pragma pack(push, 2)
typedef struct OpaqueDragRef* DragRef;
typedef URefCon DragItemRef;
typedef OSType FlavorType;
typedef OptionBits DragAttributes;
enum {
kDragHasLeftSenderWindow = (1L << 0),
kDragInsideSenderApplication = (1L << 1),
kDragInsideSenderWindow = (1L << 2)
};
# 82 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef OptionBits DragBehaviors;
enum {
kDragBehaviorNone = 0,
kDragBehaviorZoomBackAnimation = (1L << 0)
};
# 102 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef OptionBits DragImageFlags;
enum {
kDragRegionAndImage = 1 << 4,
# 120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
kDragDoNotScaleImage = 1 << 5
};
# 130 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
enum {
kDragStandardTranslucency = 0L,
kDragDarkTranslucency = 1L,
kDragDarkerTranslucency = 2L,
kDragOpaqueTranslucency = 3L
};
# 144 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef UInt32 FlavorFlags;
enum {
flavorSenderOnly = (1 << 0),
flavorSenderTranslated = (1 << 1),
flavorNotSaved = (1 << 2),
flavorSystemTranslated = (1 << 8),
flavorDataPromised = (1 << 9)
};
# 160 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
enum {
kFlavorTypeClippingName = 'clnm',
kFlavorTypeClippingFilename = 'clfn',
kFlavorTypeUnicodeClippingName = 'ucln',
kFlavorTypeUnicodeClippingFilename = 'uclf',
kFlavorTypeDragToTrashOnly = 'fdtt',
kFlavorTypeFinderNoTrackingBehavior = 'fntb'
};
# 176 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef OptionBits DragActions;
# 191 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
enum {
kDragActionNothing = 0L,
kDragActionCopy = 1L,
kDragActionAlias = (1L << 1),
kDragActionGeneric = (1L << 2),
kDragActionPrivate = (1L << 3),
kDragActionMove = (1L << 4),
kDragActionDelete = (1L << 5),
kDragActionAll = (UInt32)0xFFFFFFFF
};
# 245 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef OSErr ( * DragInputProcPtr)(Point *mouse, SInt16 *modifiers, void *dragInputRefCon, DragRef theDrag);
typedef DragInputProcPtr DragInputUPP;
# 255 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern DragInputUPP
NewDragInputUPP(DragInputProcPtr userRoutine) ;
# 266 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern void
DisposeDragInputUPP(DragInputUPP userUPP) ;
# 277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InvokeDragInputUPP(
Point * mouse,
SInt16 * modifiers,
void * dragInputRefCon,
DragRef theDrag,
DragInputUPP userUPP) ;
#define NewDragInputUPP(userRoutine) ((DragInputUPP)userRoutine)
#define DisposeDragInputUPP(userUPP)
#define InvokeDragInputUPP(mouse,modifiers,dragInputRefCon,theDrag,userUPP) (*userUPP)(mouse, modifiers, dragInputRefCon, theDrag)
# 309 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
SetDragInputProc(
DragRef theDrag,
DragInputUPP inputProc,
void * dragInputRefCon) ;
# 334 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
NewDrag(DragRef * theDrag) ;
# 349 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
DisposeDrag(DragRef theDrag) ;
# 395 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSStatus
NewDragWithPasteboard(
PasteboardRef inPasteboard,
DragRef * outDrag) ;
# 430 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSStatus
GetDragPasteboard(
DragRef inDrag,
PasteboardRef * outPasteboard) ;
# 491 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSStatus
SetDragImageWithCGImage(
DragRef inDrag,
CGImageRef inCGImage,
const HIPoint * inImageOffsetPt,
DragImageFlags inImageFlags) ;
# 517 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
ChangeDragBehaviors(
DragRef theDrag,
DragBehaviors inBehaviorsToSet,
DragBehaviors inBehaviorsToClear) ;
# 566 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
TrackDrag(
DragRef theDrag,
const EventRecord * theEvent,
RgnHandle theRegion) ;
# 591 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetDragAttributes(
DragRef theDrag,
DragAttributes * flags) ;
# 608 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetDragMouse(
DragRef theDrag,
Point * mouse,
Point * globalPinnedMouse) ;
# 626 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
SetDragMouse(
DragRef theDrag,
Point globalPinnedMouse) ;
# 643 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetDragOrigin(
DragRef theDrag,
Point * globalInitialMouse) ;
# 660 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetDragModifiers(
DragRef theDrag,
SInt16 * modifiers,
SInt16 * mouseDownModifiers,
SInt16 * mouseUpModifiers) ;
# 679 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetDragItemBounds(
DragRef theDrag,
DragItemRef theItemRef,
Rect * itemBounds) ;
# 697 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
SetDragItemBounds(
DragRef theDrag,
DragItemRef theItemRef,
const Rect * itemBounds) ;
# 741 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSStatus
GetDragAllowableActions(
DragRef theDrag,
DragActions * outActions) ;
# 781 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSStatus
SetDragAllowableActions(
DragRef theDrag,
DragActions inActions,
Boolean isLocal) ;
# 815 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSStatus
GetDragDropAction(
DragRef theDrag,
DragActions * outAction) ;
# 847 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSStatus
SetDragDropAction(
DragRef theDrag,
DragActions inAction) ;
# 871 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern Boolean
WaitMouseMoved(Point initialGlobalMouse) ;
#pragma mark -
# 890 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
enum {
kDragFlavorTypeHFS = 'hfs ',
kDragFlavorTypePromiseHFS = 'phfs',
flavorTypeHFS = kDragFlavorTypeHFS,
flavorTypePromiseHFS = kDragFlavorTypePromiseHFS
};
enum {
kDragPromisedFlavorFindFile = 'rWm1',
kDragPromisedFlavor = 'fssP'
};
enum {
kDragPseudoCreatorVolumeOrDirectory = 'MACS',
kDragPseudoFileTypeVolume = 'disk',
kDragPseudoFileTypeDirectory = 'fold'
};
struct HFSFlavor {
OSType fileType;
OSType fileCreator;
UInt16 fdFlags;
FSSpec fileSpec;
};
typedef struct HFSFlavor HFSFlavor;
struct PromiseHFSFlavor {
OSType fileType;
OSType fileCreator;
UInt16 fdFlags;
FlavorType promisedFlavor;
};
typedef struct PromiseHFSFlavor PromiseHFSFlavor;
typedef SInt16 DragTrackingMessage;
enum {
kDragTrackingEnterHandler = 1,
kDragTrackingEnterWindow = 2,
kDragTrackingInWindow = 3,
kDragTrackingLeaveWindow = 4,
kDragTrackingLeaveHandler = 5
};
typedef SInt16 DragRegionMessage;
enum {
kDragRegionBegin = 1,
kDragRegionDraw = 2,
kDragRegionHide = 3,
kDragRegionIdle = 4,
kDragRegionEnd = 5
};
typedef SInt16 ZoomAcceleration;
enum {
kZoomNoAcceleration = 0,
kZoomAccelerate = 1,
kZoomDecelerate = 2
};
# 962 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
enum {
kDragStandardDropLocationTrash = 'trsh',
kDragStandardDropLocationUnknown = 'unkn'
};
typedef OSType StandardDropLocation;
typedef OSErr ( * DragSendDataProcPtr)(FlavorType theType, void *dragSendRefCon, DragItemRef theItemRef, DragRef theDrag);
typedef OSErr ( * DragTrackingHandlerProcPtr)(DragTrackingMessage message, WindowRef theWindow, void *handlerRefCon, DragRef theDrag);
typedef OSErr ( * DragReceiveHandlerProcPtr)(WindowRef theWindow, void *handlerRefCon, DragRef theDrag);
typedef OSErr ( * DragDrawingProcPtr)(DragRegionMessage message, RgnHandle showRegion, Point showOrigin, RgnHandle hideRegion, Point hideOrigin, void *dragDrawingRefCon, DragRef theDrag);
typedef DragSendDataProcPtr DragSendDataUPP;
typedef DragTrackingHandlerProcPtr DragTrackingHandlerUPP;
typedef DragReceiveHandlerProcPtr DragReceiveHandlerUPP;
typedef DragDrawingProcPtr DragDrawingUPP;
# 996 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern DragSendDataUPP
NewDragSendDataUPP(DragSendDataProcPtr userRoutine) __attribute__((deprecated));
# 1007 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern DragTrackingHandlerUPP
NewDragTrackingHandlerUPP(DragTrackingHandlerProcPtr userRoutine) __attribute__((deprecated));
# 1018 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern DragReceiveHandlerUPP
NewDragReceiveHandlerUPP(DragReceiveHandlerProcPtr userRoutine) __attribute__((deprecated));
# 1029 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern DragDrawingUPP
NewDragDrawingUPP(DragDrawingProcPtr userRoutine) __attribute__((deprecated));
# 1040 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern void
DisposeDragSendDataUPP(DragSendDataUPP userUPP) __attribute__((deprecated));
# 1051 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern void
DisposeDragTrackingHandlerUPP(DragTrackingHandlerUPP userUPP) __attribute__((deprecated));
# 1062 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern void
DisposeDragReceiveHandlerUPP(DragReceiveHandlerUPP userUPP) __attribute__((deprecated));
# 1073 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern void
DisposeDragDrawingUPP(DragDrawingUPP userUPP) __attribute__((deprecated));
# 1084 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InvokeDragSendDataUPP(
FlavorType theType,
void * dragSendRefCon,
DragItemRef theItemRef,
DragRef theDrag,
DragSendDataUPP userUPP) __attribute__((deprecated));
# 1100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InvokeDragTrackingHandlerUPP(
DragTrackingMessage message,
WindowRef theWindow,
void * handlerRefCon,
DragRef theDrag,
DragTrackingHandlerUPP userUPP) __attribute__((deprecated));
# 1116 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InvokeDragReceiveHandlerUPP(
WindowRef theWindow,
void * handlerRefCon,
DragRef theDrag,
DragReceiveHandlerUPP userUPP) __attribute__((deprecated));
# 1131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InvokeDragDrawingUPP(
DragRegionMessage message,
RgnHandle showRegion,
Point showOrigin,
RgnHandle hideRegion,
Point hideOrigin,
void * dragDrawingRefCon,
DragRef theDrag,
DragDrawingUPP userUPP) __attribute__((deprecated));
# 1157 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
#define NewDragSendDataUPP(userRoutine) ((DragSendDataUPP)userRoutine)
#define NewDragTrackingHandlerUPP(userRoutine) ((DragTrackingHandlerUPP)userRoutine)
#define NewDragReceiveHandlerUPP(userRoutine) ((DragReceiveHandlerUPP)userRoutine)
#define NewDragDrawingUPP(userRoutine) ((DragDrawingUPP)userRoutine)
#define DisposeDragSendDataUPP(userUPP)
#define DisposeDragTrackingHandlerUPP(userUPP)
#define DisposeDragReceiveHandlerUPP(userUPP)
#define DisposeDragDrawingUPP(userUPP)
#define InvokeDragSendDataUPP(theType,dragSendRefCon,theItemRef,theDrag,userUPP) (*userUPP)(theType, dragSendRefCon, theItemRef, theDrag)
#define InvokeDragTrackingHandlerUPP(message,theWindow,handlerRefCon,theDrag,userUPP) (*userUPP)(message, theWindow, handlerRefCon, theDrag)
#define InvokeDragReceiveHandlerUPP(theWindow,handlerRefCon,theDrag,userUPP) (*userUPP)(theWindow, handlerRefCon, theDrag)
#define InvokeDragDrawingUPP(message,showRegion,showOrigin,hideRegion,hideOrigin,dragDrawingRefCon,theDrag,userUPP) (*userUPP)(message, showRegion, showOrigin, hideRegion, hideOrigin, dragDrawingRefCon, theDrag)
# 1204 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSStatus
GetStandardDropLocation(
DragRef theDrag,
StandardDropLocation * outDropLocation) __attribute__((deprecated));
# 1241 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSStatus
SetStandardDropLocation(
DragRef theDrag,
StandardDropLocation dropLocation) __attribute__((deprecated));
# 1262 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
ZoomRects(
const Rect * fromRect,
const Rect * toRect,
SInt16 zoomSteps,
ZoomAcceleration acceleration) __attribute__((deprecated));
# 1285 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
ZoomRegion(
RgnHandle region,
Point zoomDistance,
SInt16 zoomSteps,
ZoomAcceleration acceleration) __attribute__((deprecated));
# 1343 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
SetDragImage(
DragRef inDrag,
PixMapHandle inImagePixMap,
RgnHandle inImageRgn,
Point inImageOffsetPt,
DragImageFlags inImageFlags) __attribute__((deprecated));
# 1375 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
AddDragItemFlavor(
DragRef theDrag,
DragItemRef theItemRef,
FlavorType theType,
const void * dataPtr,
Size dataSize,
FlavorFlags theFlags) __attribute__((deprecated));
# 1400 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
SetDragItemFlavorData(
DragRef theDrag,
DragItemRef theItemRef,
FlavorType theType,
const void * dataPtr,
Size dataSize,
UInt32 dataOffset) __attribute__((deprecated));
# 1425 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InstallTrackingHandler(
DragTrackingHandlerUPP trackingHandler,
WindowRef theWindow,
void * handlerRefCon) __attribute__((deprecated));
# 1447 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InstallReceiveHandler(
DragReceiveHandlerUPP receiveHandler,
WindowRef theWindow,
void * handlerRefCon) __attribute__((deprecated));
# 1469 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
RemoveTrackingHandler(
DragTrackingHandlerUPP trackingHandler,
WindowRef theWindow) __attribute__((deprecated));
# 1490 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
RemoveReceiveHandler(
DragReceiveHandlerUPP receiveHandler,
WindowRef theWindow) __attribute__((deprecated));
# 1511 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
SetDragSendProc(
DragRef theDrag,
DragSendDataUPP sendProc,
void * dragSendRefCon) __attribute__((deprecated));
# 1532 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
SetDragDrawingProc(
DragRef theDrag,
DragDrawingUPP drawingProc,
void * dragDrawingRefCon) __attribute__((deprecated));
# 1554 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
CountDragItems(
DragRef theDrag,
UInt16 * numItems) __attribute__((deprecated));
# 1575 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetDragItemReferenceNumber(
DragRef theDrag,
UInt16 index,
DragItemRef * theItemRef) __attribute__((deprecated));
# 1597 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
CountDragItemFlavors(
DragRef theDrag,
DragItemRef theItemRef,
UInt16 * numFlavors) __attribute__((deprecated));
# 1619 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetFlavorType(
DragRef theDrag,
DragItemRef theItemRef,
UInt16 index,
FlavorType * theType) __attribute__((deprecated));
# 1642 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetFlavorFlags(
DragRef theDrag,
DragItemRef theItemRef,
FlavorType theType,
FlavorFlags * theFlags) __attribute__((deprecated));
# 1665 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetFlavorDataSize(
DragRef theDrag,
DragItemRef theItemRef,
FlavorType theType,
Size * dataSize) __attribute__((deprecated));
# 1688 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetFlavorData(
DragRef theDrag,
DragItemRef theItemRef,
FlavorType theType,
void * dataPtr,
Size * dataSize,
UInt32 dataOffset) __attribute__((deprecated));
# 1712 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetDropLocation(
DragRef theDrag,
AEDesc * dropLocation) __attribute__((deprecated));
# 1732 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
SetDropLocation(
DragRef theDrag,
const AEDesc * dropLocation) __attribute__((deprecated));
# 1754 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
ShowDragHilite(
DragRef theDrag,
RgnHandle hiliteFrame,
Boolean inside) __attribute__((deprecated));
# 1777 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
HideDragHilite(DragRef theDrag) __attribute__((deprecated));
# 1796 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
DragPreScroll(
DragRef theDrag,
SInt16 dH,
SInt16 dV) __attribute__((deprecated));
# 1818 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
DragPostScroll(DragRef theDrag) __attribute__((deprecated));
# 1838 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
UpdateDragHilite(
DragRef theDrag,
RgnHandle updateRgn) __attribute__((deprecated));
# 1860 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
GetDragHiliteColor(
WindowRef window,
RGBColor * color) __attribute__((deprecated));
# 1876 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef DragRef DragReference;
typedef DragItemRef ItemReference;
# 1917 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
#pragma pack(pop)
# 45 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 2 3
# 60 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
#pragma pack(push, 2)
enum {
kControlDefProcType = 'CDEF',
kControlTemplateResourceType = 'CNTL',
kControlColorTableResourceType = 'cctb',
kControlDefProcResourceType = 'CDEF'
};
struct ControlTemplate {
Rect controlRect;
SInt16 controlValue;
Boolean controlVisible;
UInt8 fill;
SInt16 controlMaximum;
SInt16 controlMinimum;
SInt16 controlDefProcID;
SInt32 controlReference;
Str255 controlTitle;
};
typedef struct ControlTemplate ControlTemplate;
typedef ControlTemplate * ControlTemplatePtr;
typedef ControlTemplatePtr * ControlTemplateHandle;
typedef SInt16 ControlPartCode;
typedef void ( * ControlActionProcPtr)(ControlRef theControl, ControlPartCode partCode);
typedef ControlActionProcPtr ControlActionUPP;
# 130 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlActionUPP
NewControlActionUPP(ControlActionProcPtr userRoutine) ;
# 141 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DisposeControlActionUPP(ControlActionUPP userUPP) ;
# 152 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
InvokeControlActionUPP(
ControlRef theControl,
ControlPartCode partCode,
ControlActionUPP userUPP) ;
#define NewControlActionUPP(userRoutine) ((ControlActionUPP)userRoutine)
#define DisposeControlActionUPP(userUPP)
#define InvokeControlActionUPP(theControl,partCode,userUPP) (*userUPP)(theControl, partCode)
enum {
cFrameColor = 0,
cBodyColor = 1,
cTextColor = 2,
cThumbColor = 3,
kNumberCtlCTabEntries = 4
};
struct CtlCTab {
SInt32 ccSeed;
SInt16 ccRider;
SInt16 ctSize;
ColorSpec ctTable[4];
};
typedef struct CtlCTab CtlCTab;
typedef CtlCTab * CCTabPtr;
typedef CCTabPtr * CCTabHandle;
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
typedef SInt16 ControlVariant;
enum {
kControlNoVariant = 0,
kControlUsesOwningWindowsFontVariant = 1 << 3
};
enum {
kControlNoPart = kAppearancePartMetaNone,
kControlIndicatorPart = kAppearancePartIndicator,
kControlDisabledPart = kAppearancePartMetaDisabled,
kControlInactivePart = kAppearancePartMetaInactive
};
enum {
kControlEntireControl = kControlNoPart
};
# 251 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
# 268 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlStructureMetaPart = -1,
# 278 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlContentMetaPart = -2,
# 293 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlOpaqueMetaPart = -3,
# 313 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlClickableMetaPart = -4
};
enum {
kControlFocusNoPart = kControlNoPart,
kControlFocusNextPart = -1,
kControlFocusPrevPart = -2
};
typedef ControlPartCode ControlFocusPart;
# 342 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlCollectionTagBounds = 'boun',
kControlCollectionTagValue = 'valu',
kControlCollectionTagMinimum = 'min ',
kControlCollectionTagMaximum = 'max ',
kControlCollectionTagViewSize = 'view',
kControlCollectionTagVisibility = 'visi',
kControlCollectionTagRefCon = 'refc',
kControlCollectionTagTitle = 'titl',
kControlCollectionTagUnicodeTitle = 'uttl',
kControlCollectionTagIDSignature = 'idsi',
kControlCollectionTagIDID = 'idid',
kControlCollectionTagCommand = 'cmd ',
kControlCollectionTagVarCode = 'varc'
};
# 422 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlContentTextOnly = 0,
kControlNoContent = 0,
kControlContentIconSuiteRes = 1,
kControlContentCIconRes = 2,
kControlContentPictRes = 3,
kControlContentICONRes = 4,
# 471 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlContentAlertIconRes = 5,
kControlContentIconSuiteHandle = 129,
kControlContentCIconHandle = 130,
kControlContentPictHandle = 131,
kControlContentIconRef = 132,
kControlContentICON = 133,
kControlContentCGImageRef = 134
};
typedef SInt16 ControlContentType;
struct ControlImageContentInfo {
ControlContentType contentType;
union {
SInt16 resID;
IconRef iconRef;
CGImageRef imageRef;
CIconHandle cIconHandle;
Handle iconSuite;
PicHandle picture;
Handle ICONHandle;
} u;
};
typedef struct ControlImageContentInfo ControlImageContentInfo;
typedef ControlImageContentInfo * ControlImageContentInfoPtr;
typedef ControlImageContentInfo ControlButtonContentInfo;
typedef ControlButtonContentInfo * ControlButtonContentInfoPtr;
enum {
kControlKeyScriptBehaviorAllowAnyScript = 'any ',
kControlKeyScriptBehaviorPrefersRoman = 'prmn',
kControlKeyScriptBehaviorRequiresRoman = 'rrmn'
};
typedef UInt32 ControlKeyScriptBehavior;
# 560 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlFontBigSystemFont = -1,
kControlFontSmallSystemFont = -2,
kControlFontSmallBoldSystemFont = -3,
kControlFontViewSystemFont = -4,
kControlFontMiniSystemFont = -5
};
enum {
kControlUseFontMask = 0x0001,
kControlUseFaceMask = 0x0002,
kControlUseSizeMask = 0x0004,
kControlUseForeColorMask = 0x0008,
kControlUseBackColorMask = 0x0010,
kControlUseModeMask = 0x0020,
kControlUseJustMask = 0x0040,
kControlUseAllMask = 0x00FF,
kControlAddFontSizeMask = 0x0100
};
enum {
kControlAddToMetaFontMask = 0x0200
};
enum {
kControlUseThemeFontIDMask = 0x0080
};
struct ControlFontStyleRec {
SInt16 flags;
SInt16 font;
SInt16 size;
SInt16 style;
SInt16 mode;
SInt16 just;
RGBColor foreColor;
RGBColor backColor;
};
typedef struct ControlFontStyleRec ControlFontStyleRec;
typedef ControlFontStyleRec * ControlFontStylePtr;
# 622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kDoNotActivateAndIgnoreClick = 0,
kDoNotActivateAndHandleClick = 1,
kActivateAndIgnoreClick = 2,
kActivateAndHandleClick = 3
};
typedef UInt32 ClickActivationResult;
# 638 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlFontStyleTag = 'font',
kControlKeyFilterTag = 'fltr',
kControlKindTag = 'kind',
# 686 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlSizeTag = 'size',
# 703 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlContentTag = 'cont',
# 712 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlThemeTextFontTag = 'thft',
kControlThemeTextHorizontalFlushTag = 'thhf',
kControlThemeTextVerticalFlushTag = 'thvf',
kControlThemeTextTruncationTag = 'thtt',
# 740 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlThemeTextInfoTag = 'thti'
};
# 751 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlSupportsGhosting = 1 << 0,
kControlSupportsEmbedding = 1 << 1,
kControlSupportsFocus = 1 << 2,
kControlWantsIdle = 1 << 3,
kControlWantsActivate = 1 << 4,
kControlHandlesTracking = 1 << 5,
kControlSupportsDataAccess = 1 << 6,
kControlHasSpecialBackground = 1 << 7,
kControlGetsFocusOnClick = 1 << 8,
kControlSupportsCalcBestRect = 1 << 9,
kControlSupportsLiveFeedback = 1 << 10,
kControlHasRadioBehavior = 1 << 11,
kControlSupportsDragAndDrop = 1 << 12,
kControlAutoToggles = 1 << 14,
kControlSupportsGetRegion = 1 << 17,
kControlSupportsFlattening = 1 << 19,
kControlSupportsSetCursor = 1 << 20,
kControlSupportsContextualMenus = 1 << 21,
kControlSupportsClickActivation = 1 << 22,
kControlIdlesWithTimer = 1 << 23,
# 782 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlInvertsUpDownValueMeaning = 1 << 24
};
enum {
drawCntl = 0,
testCntl = 1,
calcCRgns = 2,
initCntl = 3,
dispCntl = 4,
posCntl = 5,
thumbCntl = 6,
dragCntl = 7,
autoTrack = 8,
calcCntlRgn = 10,
calcThumbRgn = 11,
drawThumbOutline = 12,
kControlMsgDrawGhost = 13,
kControlMsgCalcBestRect = 14,
kControlMsgHandleTracking = 15,
kControlMsgFocus = 16,
kControlMsgKeyDown = 17,
kControlMsgIdle = 18,
kControlMsgGetFeatures = 19,
kControlMsgSetData = 20,
kControlMsgGetData = 21,
kControlMsgActivate = 22,
kControlMsgSetUpBackground = 23,
kControlMsgCalcValueFromPos = 26,
kControlMsgTestNewMsgSupport = 27,
kControlMsgSubValueChanged = 25,
kControlMsgSubControlAdded = 28,
kControlMsgSubControlRemoved = 29,
kControlMsgApplyTextColor = 30,
kControlMsgGetRegion = 31,
kControlMsgFlatten = 32,
kControlMsgSetCursor = 33,
kControlMsgDragEnter = 38,
kControlMsgDragLeave = 39,
kControlMsgDragWithin = 40,
kControlMsgDragReceive = 41,
kControlMsgDisplayDebugInfo = 46,
kControlMsgContextualMenuClick = 47,
kControlMsgGetClickActivation = 48
};
typedef SInt16 ControlDefProcMessage;
# 843 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlSizeNormal = 0,
# 858 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlSizeSmall = 1,
kControlSizeLarge = 2,
# 874 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlSizeMini = 3,
# 884 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlSizeAuto = 0xFFFF
};
typedef UInt16 ControlSize;
enum {
kDrawControlEntireControl = 0,
kDrawControlIndicatorOnly = 129
};
enum {
kDragControlEntireControl = 0,
kDragControlIndicator = 1
};
struct IndicatorDragConstraint {
Rect limitRect;
Rect slopRect;
DragConstraint axis;
};
typedef struct IndicatorDragConstraint IndicatorDragConstraint;
typedef IndicatorDragConstraint * IndicatorDragConstraintPtr;
enum {
kControlSupportsNewMessages = ' ok '
};
struct ControlTrackingRec {
Point startPt;
EventModifiers modifiers;
ControlActionUPP action;
};
typedef struct ControlTrackingRec ControlTrackingRec;
typedef ControlTrackingRec * ControlTrackingPtr;
struct ControlKeyDownRec {
EventModifiers modifiers;
SInt16 keyCode;
SInt16 charCode;
};
typedef struct ControlKeyDownRec ControlKeyDownRec;
typedef ControlKeyDownRec * ControlKeyDownPtr;
struct ControlDataAccessRec {
ResType tag;
ResType part;
Size size;
Ptr dataPtr;
};
typedef struct ControlDataAccessRec ControlDataAccessRec;
typedef ControlDataAccessRec * ControlDataAccessPtr;
struct ControlCalcSizeRec {
SInt16 height;
SInt16 width;
SInt16 baseLine;
};
typedef struct ControlCalcSizeRec ControlCalcSizeRec;
typedef ControlCalcSizeRec * ControlCalcSizePtr;
struct ControlBackgroundRec {
SInt16 depth;
Boolean colorDevice;
};
typedef struct ControlBackgroundRec ControlBackgroundRec;
typedef ControlBackgroundRec * ControlBackgroundPtr;
struct ControlApplyTextColorRec {
SInt16 depth;
Boolean colorDevice;
Boolean active;
};
typedef struct ControlApplyTextColorRec ControlApplyTextColorRec;
typedef ControlApplyTextColorRec * ControlApplyTextColorPtr;
struct ControlGetRegionRec {
RgnHandle region;
ControlPartCode part;
};
typedef struct ControlGetRegionRec ControlGetRegionRec;
typedef ControlGetRegionRec * ControlGetRegionPtr;
struct ControlSetCursorRec {
Point localPoint;
EventModifiers modifiers;
Boolean cursorWasSet;
};
typedef struct ControlSetCursorRec ControlSetCursorRec;
typedef ControlSetCursorRec * ControlSetCursorPtr;
struct ControlContextualMenuClickRec {
Point localPoint;
Boolean menuDisplayed;
};
typedef struct ControlContextualMenuClickRec ControlContextualMenuClickRec;
typedef ControlContextualMenuClickRec * ControlContextualMenuClickPtr;
struct ControlClickActivationRec {
Point localPoint;
EventModifiers modifiers;
ClickActivationResult result;
};
typedef struct ControlClickActivationRec ControlClickActivationRec;
typedef ControlClickActivationRec * ControlClickActivationPtr;
# 1043 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
typedef SInt32 ( * ControlDefProcPtr)(SInt16 varCode, ControlRef theControl, ControlDefProcMessage message, SInt32 param);
typedef ControlDefProcPtr ControlDefUPP;
# 1053 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlDefUPP
NewControlDefUPP(ControlDefProcPtr userRoutine) __attribute__((deprecated));
# 1064 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DisposeControlDefUPP(ControlDefUPP userUPP) __attribute__((deprecated));
# 1075 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern SInt32
InvokeControlDefUPP(
SInt16 varCode,
ControlRef theControl,
ControlDefProcMessage message,
SInt32 param,
ControlDefUPP userUPP) __attribute__((deprecated));
#define NewControlDefUPP(userRoutine) ((ControlDefUPP)userRoutine)
#define DisposeControlDefUPP(userUPP)
#define InvokeControlDefUPP(varCode,theControl,message,param,userUPP) (*userUPP)(varCode, theControl, message, param)
# 1117 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlKeyFilterBlockKey = 0,
kControlKeyFilterPassKey = 1
};
typedef SInt16 ControlKeyFilterResult;
typedef ControlKeyFilterResult ( * ControlKeyFilterProcPtr)(ControlRef theControl, SInt16 *keyCode, SInt16 *charCode, EventModifiers *modifiers);
typedef ControlKeyFilterProcPtr ControlKeyFilterUPP;
# 1133 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlKeyFilterUPP
NewControlKeyFilterUPP(ControlKeyFilterProcPtr userRoutine) ;
# 1144 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DisposeControlKeyFilterUPP(ControlKeyFilterUPP userUPP) ;
# 1155 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlKeyFilterResult
InvokeControlKeyFilterUPP(
ControlRef theControl,
SInt16 * keyCode,
SInt16 * charCode,
EventModifiers * modifiers,
ControlKeyFilterUPP userUPP) ;
#define NewControlKeyFilterUPP(userRoutine) ((ControlKeyFilterUPP)userRoutine)
#define DisposeControlKeyFilterUPP(userUPP)
#define InvokeControlKeyFilterUPP(theControl,keyCode,charCode,modifiers,userUPP) (*userUPP)(theControl, keyCode, charCode, modifiers)
# 1181 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
noConstraint = kNoConstraint,
hAxisOnly = 1,
vAxisOnly = 2
};
enum {
kControlDefProcPtr = 0,
kControlDefObjectClass = 1
};
typedef UInt32 ControlDefType;
struct ControlDefSpec {
ControlDefType defType;
union {
ControlDefUPP defProc;
void * classRef;
} u;
};
typedef struct ControlDefSpec ControlDefSpec;
# 1228 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
CreateCustomControl(
WindowRef owningWindow,
const Rect * contBounds,
const ControlDefSpec * def,
Collection initData,
ControlRef * outControl) __attribute__((deprecated));
# 1328 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlRef
NewControl(
WindowRef owningWindow,
const Rect * boundsRect,
ConstStr255Param controlTitle,
Boolean initiallyVisible,
SInt16 initialValue,
SInt16 minimumValue,
SInt16 maximumValue,
SInt16 procID,
SRefCon controlReference) __attribute__((deprecated));
# 1352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlRef
GetNewControl(
SInt16 resourceID,
WindowRef owningWindow) ;
# 1369 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DisposeControl(ControlRef theControl) ;
# 1384 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
KillControls(WindowRef theWindow) ;
# 1394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
typedef OSStatus ( * ControlCNTLToCollectionProcPtr)(const Rect *bounds, SInt16 value, Boolean visible, SInt16 max, SInt16 min, SInt16 procID, SRefCon refCon, ConstStr255Param title, Collection collection);
typedef ControlCNTLToCollectionProcPtr ControlCNTLToCollectionUPP;
# 1404 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlCNTLToCollectionUPP
NewControlCNTLToCollectionUPP(ControlCNTLToCollectionProcPtr userRoutine) ;
# 1415 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DisposeControlCNTLToCollectionUPP(ControlCNTLToCollectionUPP userUPP) ;
# 1426 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
InvokeControlCNTLToCollectionUPP(
const Rect * bounds,
SInt16 value,
Boolean visible,
SInt16 max,
SInt16 min,
SInt16 procID,
SRefCon refCon,
ConstStr255Param title,
Collection collection,
ControlCNTLToCollectionUPP userUPP) ;
#define NewControlCNTLToCollectionUPP(userRoutine) ((ControlCNTLToCollectionUPP)userRoutine)
#define DisposeControlCNTLToCollectionUPP(userUPP)
#define InvokeControlCNTLToCollectionUPP(bounds,value,visible,max,min,procID,refCon,title,collection,userUPP) (*userUPP)(bounds, value, visible, max, min, procID, refCon, title, collection)
# 1507 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
RegisterControlDefinition(
SInt16 inCDEFResID,
const ControlDefSpec * inControlDef,
ControlCNTLToCollectionUPP inConversionProc) ;
# 1530 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
HiliteControl(
ControlRef theControl,
ControlPartCode hiliteState) ;
# 1547 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
ShowControl(ControlRef theControl) ;
# 1562 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
HideControl(ControlRef theControl) ;
# 1579 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern Boolean
IsControlActive(ControlRef inControl) ;
# 1615 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern Boolean
IsControlVisible(ControlRef inControl) ;
# 1630 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
ActivateControl(ControlRef inControl) ;
# 1645 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
DeactivateControl(ControlRef inControl) ;
# 1660 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
SetControlVisibility(
ControlRef inControl,
Boolean inIsVisible,
Boolean inDoDraw) ;
# 1679 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern Boolean
IsControlEnabled(ControlRef inControl) ;
# 1694 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
EnableControl(ControlRef inControl) ;
# 1709 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
DisableControl(ControlRef inControl) ;
# 1728 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DrawControls(WindowRef theWindow) ;
# 1743 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
Draw1Control(ControlRef theControl) ;
#define DrawOneControl(theControl) Draw1Control(theControl)
# 1775 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
UpdateControls(
WindowRef inWindow,
RgnHandle inUpdateRegion) ;
# 1794 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
GetBestControlRect(
ControlRef inControl,
Rect * outRect,
SInt16 * outBaseLineOffset) ;
# 1812 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
SetControlFontStyle(
ControlRef inControl,
const ControlFontStyleRec * inStyle) ;
# 1829 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DrawControlInCurrentPort(ControlRef inControl) ;
# 1885 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
SetUpControlBackground(
ControlRef inControl,
SInt16 inDepth,
Boolean inIsColorDevice) ;
# 1943 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
SetUpControlTextColor(
ControlRef inControl,
SInt16 inDepth,
Boolean inIsColorDevice) ;
# 2006 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
typedef OSStatus ( * ControlColorProcPtr)(ControlRef inControl, SInt16 inMessage, SInt16 inDrawDepth, Boolean inDrawInColor);
typedef ControlColorProcPtr ControlColorUPP;
# 2016 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlColorUPP
NewControlColorUPP(ControlColorProcPtr userRoutine) ;
# 2027 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DisposeControlColorUPP(ControlColorUPP userUPP) ;
# 2038 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
InvokeControlColorUPP(
ControlRef inControl,
SInt16 inMessage,
SInt16 inDrawDepth,
Boolean inDrawInColor,
ControlColorUPP userUPP) ;
#define NewControlColorUPP(userRoutine) ((ControlColorUPP)userRoutine)
#define DisposeControlColorUPP(userUPP)
#define InvokeControlColorUPP(inControl,inMessage,inDrawDepth,inDrawInColor,userUPP) (*userUPP)(inControl, inMessage, inDrawDepth, inDrawInColor)
# 2110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
SetControlColorProc(
ControlRef inControl,
ControlColorUPP inProc) ;
# 2142 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlPartCode
TrackControl(
ControlRef theControl,
Point startPoint,
ControlActionUPP actionProc) ;
# 2160 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DragControl(
ControlRef theControl,
Point startPoint,
const Rect * limitRect,
const Rect * slopRect,
DragConstraint axis) ;
# 2196 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlPartCode
TestControl(
ControlRef theControl,
Point testPoint) ;
# 2242 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlPartCode
FindControl(
Point testPoint,
WindowRef theWindow,
ControlRef * theControl) ;
# 2297 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlRef
FindControlUnderMouse(
Point inWhere,
WindowRef inWindow,
ControlPartCode * outPart) ;
# 2315 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlPartCode
HandleControlClick(
ControlRef inControl,
Point inWhere,
EventModifiers inModifiers,
ControlActionUPP inAction) ;
# 2339 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
HandleControlContextualMenuClick(
ControlRef inControl,
Point inWhere,
Boolean * menuDisplayed) ;
# 2363 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
GetControlClickActivation(
ControlRef inControl,
Point inWhere,
EventModifiers inModifiers,
ClickActivationResult * outResult) ;
# 2417 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlPartCode
HandleControlKey(
ControlRef inControl,
SInt16 inKeyCode,
SInt16 inCharCode,
EventModifiers inModifiers) __attribute__((deprecated));
# 2445 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
HandleControlSetCursor(
ControlRef control,
Point localPoint,
EventModifiers modifiers,
Boolean * cursorWasSet) ;
# 2467 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
MoveControl(
ControlRef theControl,
SInt16 h,
SInt16 v) ;
# 2485 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SizeControl(
ControlRef theControl,
SInt16 w,
SInt16 h) ;
# 2513 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlTitle(
ControlRef theControl,
ConstStr255Param title) __attribute__((deprecated));
# 2537 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
GetControlTitle(
ControlRef theControl,
Str255 title) __attribute__((deprecated));
# 2582 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
SetControlTitleWithCFString(
ControlRef inControl,
CFStringRef inString) ;
# 2619 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
CopyControlTitleAsCFString(
ControlRef inControl,
CFStringRef * outString) ;
# 2639 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern SInt16
GetControlValue(ControlRef theControl) ;
# 2654 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlValue(
ControlRef theControl,
SInt16 newValue) ;
# 2671 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern SInt16
GetControlMinimum(ControlRef theControl) ;
# 2686 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlMinimum(
ControlRef theControl,
SInt16 newMinimum) ;
# 2703 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern SInt16
GetControlMaximum(ControlRef theControl) ;
# 2718 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlMaximum(
ControlRef theControl,
SInt16 newMaximum) ;
# 2738 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern SInt32
GetControlViewSize(ControlRef theControl) ;
# 2753 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlViewSize(
ControlRef theControl,
SInt32 newViewSize) ;
# 2770 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern SInt32
GetControl32BitValue(ControlRef theControl) ;
# 2785 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControl32BitValue(
ControlRef theControl,
SInt32 newValue) ;
# 2802 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern SInt32
GetControl32BitMaximum(ControlRef theControl) ;
# 2817 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControl32BitMaximum(
ControlRef theControl,
SInt32 newMaximum) ;
# 2834 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern SInt32
GetControl32BitMinimum(ControlRef theControl) ;
# 2849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControl32BitMinimum(
ControlRef theControl,
SInt32 newMinimum) ;
# 2871 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern Boolean
IsValidControlHandle(ControlRef theControl) ;
# 2888 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
struct ControlID {
OSType signature;
SInt32 id;
};
typedef struct ControlID ControlID;
# 2918 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
SetControlID(
ControlRef inControl,
const ControlID * inID) ;
# 2935 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
GetControlID(
ControlRef inControl,
ControlID * outID) ;
# 2972 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
GetControlByID(
WindowRef inWindow,
const ControlID * inID,
ControlRef * outControl) ;
# 2994 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
SetControlCommandID(
ControlRef inControl,
UInt32 inCommandID) ;
# 3011 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
GetControlCommandID(
ControlRef inControl,
UInt32 * outCommandID) ;
# 3023 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
struct ControlKind {
OSType signature;
OSType kind;
};
typedef struct ControlKind ControlKind;
enum {
kControlKindSignatureApple = 'appl'
};
# 3077 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
GetControlKind(
ControlRef inControl,
ControlKind * outControlKind) ;
# 3089 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlPropertyPersistent = 0x00000001
};
# 3148 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
GetControlProperty(
ControlRef control,
OSType propertyCreator,
OSType propertyTag,
ByteCount bufferSize,
ByteCount * actualSize,
void * propertyBuffer) ;
# 3169 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
GetControlPropertySize(
ControlRef control,
OSType propertyCreator,
OSType propertyTag,
ByteCount * size) ;
# 3227 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
SetControlProperty(
ControlRef control,
OSType propertyCreator,
OSType propertyTag,
ByteCount propertySize,
const void * propertyData) ;
# 3247 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
RemoveControlProperty(
ControlRef control,
OSType propertyCreator,
OSType propertyTag) ;
# 3265 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
GetControlPropertyAttributes(
ControlRef control,
OSType propertyCreator,
OSType propertyTag,
OptionBits * attributes) ;
# 3284 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
ChangeControlPropertyAttributes(
ControlRef control,
OSType propertyCreator,
OSType propertyTag,
OptionBits attributesToSet,
OptionBits attributesToClear) ;
# 3309 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
GetControlRegion(
ControlRef inControl,
ControlPartCode inPart,
RgnHandle outRegion) ;
# 3332 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlVariant
GetControlVariant(ControlRef theControl) ;
# 3350 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlAction(
ControlRef theControl,
ControlActionUPP actionProc) ;
# 3367 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlActionUPP
GetControlAction(ControlRef theControl) ;
# 3405 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlReference(
ControlRef theControl,
SRefCon data) ;
# 3442 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern SRefCon
GetControlReference(ControlRef theControl) ;
# 3460 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern SInt32
SendControlMessage(
ControlRef inControl,
SInt16 inMessage,
void * inParam) ;
# 3503 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
CreateRootControl(
WindowRef inWindow,
ControlRef * outControl) ;
# 3547 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
GetRootControl(
WindowRef inWindow,
ControlRef * outControl) ;
# 3585 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
EmbedControl(
ControlRef inControl,
ControlRef inContainer) ;
# 3624 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
AutoEmbedControl(
ControlRef inControl,
WindowRef inWindow) ;
# 3659 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
GetSuperControl(
ControlRef inControl,
ControlRef * outParent) ;
# 3696 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
CountSubControls(
ControlRef inControl,
UInt16 * outNumChildren) ;
# 3737 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
GetIndexedSubControl(
ControlRef inControl,
UInt16 inIndex,
ControlRef * outSubControl) ;
# 3776 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
SetControlSupervisor(
ControlRef inControl,
ControlRef inBoss) ;
# 3814 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
GetKeyboardFocus(
WindowRef inWindow,
ControlRef * outControl) ;
# 3856 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
SetKeyboardFocus(
WindowRef inWindow,
ControlRef inControl,
ControlFocusPart inPart) ;
# 3896 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
AdvanceKeyboardFocus(WindowRef inWindow) ;
# 3933 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
ReverseKeyboardFocus(WindowRef inWindow) ;
# 3961 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
ClearKeyboardFocus(WindowRef inWindow) ;
# 3999 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
GetControlFeatures(
ControlRef inControl,
UInt32 * outFeatures) ;
# 4016 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
SetControlData(
ControlRef inControl,
ControlPartCode inPart,
ResType inTagName,
Size inSize,
const void * inData) ;
# 4036 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
GetControlData(
ControlRef inControl,
ControlPartCode inPart,
ResType inTagName,
Size inBufferSize,
void * inBuffer,
Size * outActualSize) ;
# 4057 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSErr
GetControlDataSize(
ControlRef inControl,
ControlPartCode inPart,
ResType inTagName,
Size * outMaxSize) ;
# 4079 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kDragTrackingEnterControl = 2,
kDragTrackingInControl = 3,
kDragTrackingLeaveControl = 4
};
# 4159 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
HandleControlDragTracking(
ControlRef inControl,
DragTrackingMessage inMessage,
DragReference inDrag,
Boolean * outLikesDrag) ;
# 4208 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
HandleControlDragReceive(
ControlRef inControl,
DragReference inDrag) ;
# 4253 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
SetControlDragTrackingEnabled(
ControlRef inControl,
Boolean inTracks) ;
# 4294 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
IsControlDragTrackingEnabled(
ControlRef inControl,
Boolean * outTracks) ;
# 4351 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
SetAutomaticControlDragTrackingEnabledForWindow(
WindowRef inWindow,
Boolean inTracks) ;
# 4392 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern OSStatus
IsAutomaticControlDragTrackingEnabledForWindow(
WindowRef inWindow,
Boolean * outTracks) ;
# 4471 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern Rect *
GetControlBounds(
ControlRef control,
Rect * bounds) ;
# 4488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern Boolean
IsControlHilited(ControlRef control) ;
# 4503 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern UInt16
GetControlHilite(ControlRef control) ;
# 4534 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern WindowRef
GetControlOwner(ControlRef control) ;
# 4549 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern Handle
GetControlDataHandle(ControlRef control) ;
# 4564 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern MenuRef
GetControlPopupMenuHandle(ControlRef control) ;
#define GetControlPopupMenuRef GetControlPopupMenuHandle
# 4580 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern short
GetControlPopupMenuID(ControlRef control) ;
# 4596 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlDataHandle(
ControlRef control,
Handle dataHandle) ;
# 4631 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlBounds(
ControlRef control,
const Rect * bounds) ;
# 4648 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlPopupMenuHandle(
ControlRef control,
MenuRef popupMenu) ;
#define SetControlPopupMenuRef SetControlPopupMenuHandle
# 4666 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
SetControlPopupMenuID(
ControlRef control,
short menuID) ;
# 4718 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
IdleControls(WindowRef inWindow) __attribute__((deprecated));
# 4728 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
#pragma pack(pop)
# 21 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define __CARBONEVENTS__
# 40 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define __MACWINDOWS__
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#pragma pack(push, 2)
# 64 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef WindowRef HIWindowRef;
typedef OSType PropertyCreator;
typedef OSType PropertyTag;
# 87 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowClass;
enum {
# 105 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kAlertWindowClass = 1,
# 122 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kMovableAlertWindowClass = 2,
# 139 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kModalWindowClass = 3,
# 159 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kMovableModalWindowClass = 4,
# 177 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kFloatingWindowClass = 5,
# 192 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kDocumentWindowClass = 6,
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kUtilityWindowClass = 8,
# 225 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHelpWindowClass = 10,
# 248 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kSheetWindowClass = 11,
# 267 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kToolbarWindowClass = 12,
# 284 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kPlainWindowClass = 13,
# 327 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kOverlayWindowClass = 14,
# 351 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kSheetAlertWindowClass = 15,
# 370 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kAltPlainWindowClass = 16,
# 386 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kSimpleWindowClass = 18,
# 403 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kDrawerWindowClass = 20,
# 412 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kAllWindowClasses = (UInt32)0xFFFFFFFF
};
# 424 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowBitCloseBox = 1,
# 443 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitZoomBox = 2,
# 453 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitCollapseBox = 4,
kHIWindowBitResizable = 5,
kHIWindowBitSideTitlebar = 6,
kHIWindowBitToolbarButton = 7,
# 488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitUnifiedTitleAndToolbar = 8,
# 498 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitTextured = 9,
kHIWindowBitNoTitleBar = 10,
# 519 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitTexturedSquareCorners = 11,
kHIWindowBitNoTexturedContentSeparator = 12,
# 540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitRoundBottomBarCorners = 13,
kHIWindowBitDoesNotCycle = 16,
kHIWindowBitNoUpdates = 17,
kHIWindowBitNoActivates = 18,
kHIWindowBitOpaqueForEvents = 19,
# 577 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitCompositing = 20,
# 590 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitFrameworkScaled = 21,
kHIWindowBitNoShadow = 22,
# 609 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitCanBeVisibleWithoutLogin = 23,
# 621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitAsyncDrag = 24,
kHIWindowBitHideOnSuspend = 25,
kHIWindowBitStandardHandler = 26,
kHIWindowBitHideOnFullScreen = 27,
kHIWindowBitInWindowMenu = 28,
kHIWindowBitLiveResize = 29,
kHIWindowBitIgnoreClicks = 30,
kHIWindowBitNoConstrain = 32,
kHIWindowBitDoesNotHide = 33,
# 689 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitAutoViewDragTracking = 34
};
# 704 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowNoAttributes = 0L,
kWindowCloseBoxAttribute = (1L << (kHIWindowBitCloseBox - 1)),
kWindowHorizontalZoomAttribute = (1L << (kHIWindowBitZoomBox - 1)),
kWindowVerticalZoomAttribute = (1L << kHIWindowBitZoomBox),
kWindowFullZoomAttribute = (kWindowVerticalZoomAttribute | kWindowHorizontalZoomAttribute),
kWindowCollapseBoxAttribute = (1L << (kHIWindowBitCollapseBox - 1)),
kWindowResizableAttribute = (1L << (kHIWindowBitResizable - 1)),
kWindowSideTitlebarAttribute = (1L << (kHIWindowBitSideTitlebar - 1)),
kWindowToolbarButtonAttribute = (1L << (kHIWindowBitToolbarButton - 1)),
kWindowUnifiedTitleAndToolbarAttribute = (1L << (kHIWindowBitUnifiedTitleAndToolbar - 1)),
kWindowMetalAttribute = (1L << (kHIWindowBitTextured - 1)),
kWindowNoTitleBarAttribute = (1L << (kHIWindowBitNoTitleBar - 1)),
kWindowTexturedSquareCornersAttribute = (1L << (kHIWindowBitTexturedSquareCorners - 1)),
kWindowMetalNoContentSeparatorAttribute = (1L << (kHIWindowBitNoTexturedContentSeparator - 1)),
kWindowHasRoundBottomBarCornersAttribute = (1L << (kHIWindowBitRoundBottomBarCorners - 1)),
kWindowDoesNotCycleAttribute = (1L << (kHIWindowBitDoesNotCycle - 1)),
kWindowNoUpdatesAttribute = (1L << (kHIWindowBitNoUpdates - 1)),
kWindowNoActivatesAttribute = (1L << (kHIWindowBitNoActivates - 1)),
kWindowOpaqueForEventsAttribute = (1L << (kHIWindowBitOpaqueForEvents - 1)),
kWindowCompositingAttribute = (1L << (kHIWindowBitCompositing - 1)),
kWindowNoShadowAttribute = (1L << (kHIWindowBitNoShadow - 1)),
kWindowCanBeVisibleWithoutLoginAttribute = (1L << (kHIWindowBitCanBeVisibleWithoutLogin - 1)),
kWindowHideOnSuspendAttribute = (1L << (kHIWindowBitHideOnSuspend - 1)),
kWindowAsyncDragAttribute = (1L << (kHIWindowBitAsyncDrag - 1)),
kWindowStandardHandlerAttribute = (1L << (kHIWindowBitStandardHandler - 1)),
kWindowHideOnFullScreenAttribute = (1L << (kHIWindowBitHideOnFullScreen - 1)),
kWindowInWindowMenuAttribute = (1L << (kHIWindowBitInWindowMenu - 1)),
kWindowLiveResizeAttribute = (1L << (kHIWindowBitLiveResize - 1)),
kWindowIgnoreClicksAttribute = (1L << (kHIWindowBitIgnoreClicks - 1)),
kWindowFrameworkScaledAttribute = (1L << (kHIWindowBitFrameworkScaled - 1)),
kWindowStandardDocumentAttributes = (kWindowCloseBoxAttribute | kWindowFullZoomAttribute | kWindowCollapseBoxAttribute | kWindowResizableAttribute),
kWindowStandardFloatingAttributes = (kWindowCloseBoxAttribute | kWindowCollapseBoxAttribute)
};
enum
{
kWindowNoConstrainAttribute = 0x80000000
};
typedef OptionBits WindowAttributes;
enum {
kWindowDefProcType = 'WDEF'
};
enum {
kStandardWindowDefinition = 0,
kRoundWindowDefinition = 1,
kFloatingWindowDefinition = 124
};
enum {
kDocumentWindowVariantCode = 0,
kModalDialogVariantCode = 1,
kPlainDialogVariantCode = 2,
kShadowDialogVariantCode = 3,
kMovableModalDialogVariantCode = 5,
kAlertVariantCode = 7,
kMovableAlertVariantCode = 9,
kSideFloaterVariantCode = 8
};
enum {
documentProc = 0,
dBoxProc = 1,
plainDBox = 2,
altDBoxProc = 3,
noGrowDocProc = 4,
movableDBoxProc = 5,
zoomDocProc = 8,
zoomNoGrow = 12,
floatProc = 1985,
floatGrowProc = 1987,
floatZoomProc = 1989,
floatZoomGrowProc = 1991,
floatSideProc = 1993,
floatSideGrowProc = 1995,
floatSideZoomProc = 1997,
floatSideZoomGrowProc = 1999
};
enum {
kWindowDocumentDefProcResID = 64,
kWindowDialogDefProcResID = 65,
kWindowUtilityDefProcResID = 66,
kWindowUtilitySideTitleDefProcResID = 67,
kWindowSheetDefProcResID = 68,
kWindowSimpleDefProcResID = 69,
kWindowSheetAlertDefProcResID = 70
};
enum {
kWindowDocumentProc = 1024,
kWindowGrowDocumentProc = 1025,
kWindowVertZoomDocumentProc = 1026,
kWindowVertZoomGrowDocumentProc = 1027,
kWindowHorizZoomDocumentProc = 1028,
kWindowHorizZoomGrowDocumentProc = 1029,
kWindowFullZoomDocumentProc = 1030,
kWindowFullZoomGrowDocumentProc = 1031
};
enum {
kWindowPlainDialogProc = 1040,
kWindowShadowDialogProc = 1041,
kWindowModalDialogProc = 1042,
kWindowMovableModalDialogProc = 1043,
kWindowAlertProc = 1044,
kWindowMovableAlertProc = 1045
};
enum {
kWindowMovableModalGrowProc = 1046
};
enum {
kWindowFloatProc = 1057,
kWindowFloatGrowProc = 1059,
kWindowFloatVertZoomProc = 1061,
kWindowFloatVertZoomGrowProc = 1063,
kWindowFloatHorizZoomProc = 1065,
kWindowFloatHorizZoomGrowProc = 1067,
kWindowFloatFullZoomProc = 1069,
kWindowFloatFullZoomGrowProc = 1071
};
enum {
kWindowFloatSideProc = 1073,
kWindowFloatSideGrowProc = 1075,
kWindowFloatSideVertZoomProc = 1077,
kWindowFloatSideVertZoomGrowProc = 1079,
kWindowFloatSideHorizZoomProc = 1081,
kWindowFloatSideHorizZoomGrowProc = 1083,
kWindowFloatSideFullZoomProc = 1085,
kWindowFloatSideFullZoomGrowProc = 1087
};
enum {
kWindowSheetProc = 1088,
kWindowSheetAlertProc = 1120
};
enum {
kWindowSimpleProc = 1104,
kWindowSimpleFrameProc = 1105
};
enum {
kWindowOverlayProc = 1136
};
# 1045 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowNoPosition = 0x0000,
kWindowDefaultPosition = 0x0000,
kWindowCenterMainScreen = 0x280A,
kWindowAlertPositionMainScreen = 0x300A,
kWindowStaggerMainScreen = 0x380A,
kWindowCenterParentWindow = 0xA80A,
kWindowAlertPositionParentWindow = 0xB00A,
kWindowStaggerParentWindow = 0xB80A,
kWindowCenterParentWindowScreen = 0x680A,
kWindowAlertPositionParentWindowScreen = 0x700A,
kWindowStaggerParentWindowScreen = 0x780A
};
# 1077 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowPositionMethod;
enum {
kWindowCenterOnMainScreen = 1,
kWindowCenterOnParentWindow = 2,
# 1098 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowCenterOnParentWindowScreen = 3,
kWindowCascadeOnMainScreen = 4,
kWindowCascadeOnParentWindow = 5,
# 1118 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowCascadeOnParentWindowScreen = 6,
# 1127 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowCascadeStartAtParentWindowScreen = 10,
kWindowAlertPositionOnMainScreen = 7,
kWindowAlertPositionOnParentWindow = 8,
# 1147 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowAlertPositionOnParentWindowScreen = 9
};
typedef UInt16 WindowRegionCode;
enum {
kWindowTitleBarRgn = 0,
kWindowTitleTextRgn = 1,
kWindowCloseBoxRgn = 2,
kWindowZoomBoxRgn = 3,
kWindowDragRgn = 5,
kWindowGrowRgn = 6,
kWindowCollapseBoxRgn = 7,
kWindowTitleProxyIconRgn = 8,
kWindowStructureRgn = 32,
kWindowContentRgn = 33,
kWindowUpdateRgn = 34,
kWindowOpaqueRgn = 35,
kWindowGlobalPortRgn = 40,
kWindowToolbarButtonRgn = 41
};
enum {
dialogKind = 2,
userKind = 8,
kDialogWindowKind = 2,
kApplicationWindowKind = 8
};
typedef SInt16 WindowPartCode;
enum {
inDesk = 0,
inNoWindow = 0,
inMenuBar = 1,
inSysWindow = 2,
inContent = 3,
inDrag = 4,
inGrow = 5,
inGoAway = 6,
inZoomIn = 7,
inZoomOut = 8,
inCollapseBox = 11,
inProxyIcon = 12,
inToolbarButton = 13,
inStructure = 15
};
typedef SInt16 WindowDefPartCode;
enum {
wNoHit = 0,
wInContent = 1,
wInDrag = 2,
wInGrow = 3,
wInGoAway = 4,
wInZoomIn = 5,
wInZoomOut = 6,
wInCollapseBox = 9,
wInProxyIcon = 10,
wInToolbarButton = 11,
wInStructure = 13
};
# 1240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowCanGrow = (1 << 0),
kWindowCanZoom = (1 << 1),
kWindowCanCollapse = (1 << 2),
kWindowIsModal = (1 << 3),
# 1276 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowCanGetWindowRegion = (1 << 4),
kWindowIsAlert = (1 << 5),
kWindowHasTitleBar = (1 << 6),
kWindowSupportsDragHilite = (1 << 7),
kWindowSupportsModifiedBit = (1 << 8),
kWindowCanDrawInCurrentPort = (1 << 9),
kWindowCanSetupProxyDragImage = (1 << 10),
kWindowCanMeasureTitle = (1 << 11),
kWindowWantsDisposeAtProcessDeath = (1 << 12),
kWindowSupportsGetGrowImageRegion = (1 << 13),
# 1347 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowIsOpaque = (1 << 14),
kWindowDefSupportsColorGrafPort = 0x40000002
};
enum {
kMouseUpOutOfSlop = (long)0x80008000
};
#define kFirstWindowOfClass ((WindowRef)(-1))
#define kLastWindowOfClass ((WindowRef)0)
struct WStateData {
Rect userState;
Rect stdState;
};
typedef struct WStateData WStateData;
typedef WStateData * WStateDataPtr;
typedef WStateDataPtr * WStateDataHandle;
# 1396 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef long ( * WindowDefProcPtr)(short varCode, WindowRef window, short message, long param);
typedef WindowDefProcPtr WindowDefUPP;
# 1406 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowDefUPP
NewWindowDefUPP(WindowDefProcPtr userRoutine) __attribute__((deprecated));
# 1417 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
DisposeWindowDefUPP(WindowDefUPP userUPP) __attribute__((deprecated));
# 1428 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern long
InvokeWindowDefUPP(
short varCode,
WindowRef window,
short message,
long param,
WindowDefUPP userUPP) __attribute__((deprecated));
#define NewWindowDefUPP(userRoutine) ((WindowDefUPP)userRoutine)
#define DisposeWindowDefUPP(userUPP)
#define InvokeWindowDefUPP(varCode,window,message,param,userUPP) (*userUPP)(varCode, window, message, param)
# 1453 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowDefProcPtr = 0,
kWindowDefObjectClass = 1,
kWindowDefProcID = 2,
kWindowDefHIView = 3
};
typedef UInt32 WindowDefType;
struct WindowDefSpec {
WindowDefType defType;
union {
WindowDefUPP defProc;
void * classRef;
short procID;
void * rootView;
} u;
};
typedef struct WindowDefSpec WindowDefSpec;
typedef WindowDefSpec * WindowDefSpecPtr;
# 1540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowCreate(
WindowClass inClass,
const int * inAttributes,
const WindowDefSpec * inDefSpec,
HICoordinateSpace inSpace,
const HIRect * inBounds,
WindowRef * outWindow) ;
# 1566 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CreateNewWindow(
WindowClass windowClass,
WindowAttributes attributes,
const Rect * contentBounds,
WindowRef * outWindow) ;
# 1585 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
DisposeWindow(WindowRef window) ;
# 1605 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CreateCustomWindow(
const WindowDefSpec * def,
WindowClass windowClass,
WindowAttributes attributes,
const Rect * contentBounds,
WindowRef * outWindow) ;
# 1625 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ReshapeCustomWindow(WindowRef window) ;
# 1673 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
RegisterWindowDefinition(
SInt16 inResID,
const WindowDefSpec * inDefSpec) ;
# 1693 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowWidgetHilite(
WindowRef inWindow,
WindowDefPartCode * outHilite) ;
# 1722 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsValidWindowClass(WindowClass inClass) ;
# 1758 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
HIWindowTestAttribute(
WindowRef inWindow,
int inAttr) ;
# 1812 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowChangeAttributes(
WindowRef inWindow,
const int * inAttrToSet,
const int * inAttrToClear) ;
# 1858 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
HIWindowIsAttributeAvailable(
WindowClass inClass,
int inAttr) ;
# 1903 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowAttributes
GetAvailableWindowAttributes(WindowClass inClass) ;
# 1929 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowClass(
WindowRef window,
WindowClass * outClass) ;
# 1963 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowAttributes(
WindowRef window,
WindowAttributes * outAttributes) ;
# 2000 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ChangeWindowAttributes(
WindowRef window,
WindowAttributes setTheseAttributes,
WindowAttributes clearTheseAttributes) ;
# 2046 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowChangeClass(
WindowRef inWindow,
WindowClass inWindowClass) ;
# 2084 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern CGWindowID
HIWindowGetCGWindowID(WindowRef inWindow) ;
# 2115 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
HIWindowFromCGWindowID(CGWindowID inWindowID) ;
# 2147 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowFlush(WindowRef inWindow) ;
# 2162 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowBackingLocationDefault = 0,
kHIWindowBackingLocationVideoMemory = 1,
kHIWindowBackingLocationMainMemory = 2
};
typedef UInt32 HIWindowBackingLocation;
# 2243 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowSetBackingLocation(
WindowRef inWindow,
HIWindowBackingLocation inLocation) ;
# 2304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern HIWindowBackingLocation
HIWindowGetBackingLocation(
WindowRef inWindow,
HIWindowBackingLocation * outPreferredLocation) ;
# 2321 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowSharingNone = 0,
kHIWindowSharingReadOnly = 1,
kHIWindowSharingReadWrite = 2
};
typedef UInt32 HIWindowSharingType;
# 2375 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowSetSharingType(
WindowRef inWindow,
HIWindowSharingType inType) ;
# 2404 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern HIWindowSharingType
HIWindowGetSharingType(WindowRef inWindow) ;
# 2418 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowModality;
enum {
kWindowModalityNone = 0,
kWindowModalitySystemModal = 1,
kWindowModalityAppModal = 2,
kWindowModalityWindowModal = 3
};
# 2480 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowModality(
WindowRef inWindow,
WindowModality inModalKind,
WindowRef inUnavailableWindow) ;
# 2513 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowModality(
WindowRef inWindow,
WindowModality * outModalKind,
WindowRef * outUnavailableWindow) ;
# 2550 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
HIWindowIsDocumentModalTarget(
WindowRef inWindow,
WindowRef * outOwner) ;
# 2576 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ShowFloatingWindows(void) ;
# 2591 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HideFloatingWindows(void) ;
# 2606 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
AreFloatingWindowsVisible(void) ;
# 2625 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef struct OpaqueWindowGroupRef* WindowGroupRef;
#define kFirstWindowOfGroup ((WindowRef)(-1))
#define kLastWindowOfGroup ((WindowRef)NULL)
#define kFirstWindowGroup ((WindowGroupRef)(-1))
#define kLastWindowGroup ((WindowGroupRef)NULL)
typedef UInt32 WindowGroupAttributes;
enum {
kWindowGroupAttrSelectAsLayer = 1 << 0,
kWindowGroupAttrMoveTogether = 1 << 1,
# 2664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowGroupAttrLayerTogether = 1 << 2,
kWindowGroupAttrSharedActivation = 1 << 3,
# 2681 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowGroupAttrHideOnCollapse = 1 << 4,
kWindowGroupAttrFixedLevel = 1 << 5
};
# 2701 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowActivationScope;
enum {
# 2712 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowActivationScopeNone = 0,
kWindowActivationScopeIndependent = 1,
kWindowActivationScopeAll = 2
};
enum {
kNextWindowGroup = 1,
kPreviousWindowGroup = 0
};
# 2761 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowGroupContentOptions;
enum {
kWindowGroupContentsReturnWindows = 1 << 0,
kWindowGroupContentsRecurse = 1 << 1,
kWindowGroupContentsVisible = 1 << 2
};
# 2814 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CreateWindowGroup(
WindowGroupAttributes inAttributes,
WindowGroupRef * outGroup) ;
# 2839 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
RetainWindowGroup(WindowGroupRef inGroup) ;
# 2864 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ReleaseWindowGroup(WindowGroupRef inGroup) ;
# 2887 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern ItemCount
GetWindowGroupRetainCount(WindowGroupRef inGroup) ;
# 2921 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowGroupRef
GetWindowGroupOfClass(WindowClass windowClass) ;
# 2957 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowGroupName(
WindowGroupRef inGroup,
CFStringRef inName) ;
# 2986 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CopyWindowGroupName(
WindowGroupRef inGroup,
CFStringRef * outName) ;
# 3014 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowGroupAttributes(
WindowGroupRef inGroup,
WindowGroupAttributes * outAttributes) ;
# 3045 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ChangeWindowGroupAttributes(
WindowGroupRef inGroup,
WindowGroupAttributes setTheseAttributes,
WindowGroupAttributes clearTheseAttributes) ;
# 3104 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowGroupLevel(
WindowGroupRef inGroup,
SInt32 inLevel) ;
# 3137 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowGroupLevel(
WindowGroupRef inGroup,
SInt32 * outLevel) ;
# 3151 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
# 3162 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowGroupLevelActive = 1,
kWindowGroupLevelInactive = 2,
# 3183 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowGroupLevelPromoted = 3
};
# 3238 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowGroupLevelOfType(
WindowGroupRef inGroup,
UInt32 inLevelType,
CGWindowLevel inLevel) ;
# 3285 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowGroupLevelOfType(
WindowGroupRef inGroup,
UInt32 inLevelType,
CGWindowLevel * outLevel) ;
# 3323 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SendWindowGroupBehind(
WindowGroupRef inGroup,
WindowGroupRef behindGroup) ;
# 3356 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowGroupRef
GetWindowGroup(WindowRef inWindow) ;
# 3391 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowGroup(
WindowRef inWindow,
WindowGroupRef inNewGroup) ;
# 3420 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowContainedInGroup(
WindowRef inWindow,
WindowGroupRef inGroup) ;
# 3450 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowGroupRef
GetWindowGroupParent(WindowGroupRef inGroup) ;
# 3480 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowGroupParent(
WindowGroupRef inGroup,
WindowGroupRef inNewGroup) ;
# 3509 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowGroupRef
GetWindowGroupSibling(
WindowGroupRef inGroup,
Boolean inNextGroup) ;
# 3540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
GetWindowGroupOwner(WindowGroupRef inGroup) ;
# 3571 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowGroupOwner(
WindowGroupRef inGroup,
WindowRef inWindow) ;
# 3604 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern ItemCount
CountWindowGroupContents(
WindowGroupRef inGroup,
WindowGroupContentOptions inOptions) ;
# 3647 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowGroupContents(
WindowGroupRef inGroup,
WindowGroupContentOptions inOptions,
ItemCount inAllowedItems,
ItemCount * outNumItems,
void ** outItems) ;
# 3696 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetIndexedWindow(
WindowGroupRef inGroup,
ItemCount inIndex,
WindowGroupContentOptions inOptions,
WindowRef * outWindow) ;
# 3742 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowIndex(
WindowRef inWindow,
WindowGroupRef inStartGroup,
WindowGroupContentOptions inOptions,
ItemCount * outIndex) ;
# 3782 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
ActiveNonFloatingWindow(void) ;
# 3821 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowActive(WindowRef inWindow) ;
# 3856 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ActivateWindow(
WindowRef inWindow,
Boolean inActivate) ;
# 3884 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowActivationScope(
WindowRef inWindow,
WindowActivationScope * outScope) ;
# 3912 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowActivationScope(
WindowRef inWindow,
WindowActivationScope inScope) ;
# 3940 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define kUserFocusAuto ((WindowRef)(-1))
# 3969 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetUserFocusWindow(WindowRef inWindow) ;
# 3990 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
GetUserFocusWindow(void) ;
# 4021 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
HIWindowShowsFocus(WindowRef inWindow) ;
# 4049 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowDefaultButton(
WindowRef inWindow,
ControlRef inControl) ;
# 4066 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowCancelButton(
WindowRef inWindow,
ControlRef inControl) ;
# 4083 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowDefaultButton(
WindowRef inWindow,
ControlRef * outControl) ;
# 4100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowCancelButton(
WindowRef inWindow,
ControlRef * outControl) ;
# 4121 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetThemeWindowBackground(
WindowRef inWindow,
ThemeBrush inBrush,
Boolean inUpdate) ;
# 4158 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowGetThemeBackground(
WindowRef inWindow,
ThemeBrush * outThemeBrush) ;
# 4208 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetThemeTextColorForWindow(
WindowRef inWindow,
Boolean inActive,
SInt16 inDepth,
Boolean inColorDev) ;
# 4234 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowContentColor(
WindowRef window,
const RGBColor * color) ;
# 4251 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowContentColor(
WindowRef window,
RGBColor * color) ;
# 4269 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowContentPattern(
WindowRef window,
PixPatHandle outPixPat) ;
# 4286 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowContentPattern(
WindowRef window,
PixPatHandle pixPat) ;
typedef UInt32 ScrollWindowOptions;
enum {
kScrollWindowNoOptions = 0,
kScrollWindowInvalidate = (1L << 0),
kScrollWindowEraseToPortBackground = (1L << 1)
};
# 4328 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ScrollWindowRect(
WindowRef inWindow,
const Rect * inScrollRect,
SInt16 inHPixels,
SInt16 inVPixels,
ScrollWindowOptions inOptions,
RgnHandle outExposedRgn) ;
# 4358 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ScrollWindowRegion(
WindowRef inWindow,
RgnHandle inScrollRgn,
SInt16 inHPixels,
SInt16 inVPixels,
ScrollWindowOptions inOptions,
RgnHandle outExposedRgn) ;
# 4378 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowIgnoreObscuringWindows = 1 << 0
};
# 4439 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowFindAtLocation(
const HIPoint * inLocation,
HICoordinateSpace inSpace,
WindowRef inStartWindow,
OptionBits inOptions,
WindowRef * outWindow,
WindowPartCode * outWindowPart,
HIPoint * outWindowLocation) ;
# 4462 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define MacFindWindow FindWindow
extern WindowPartCode
FindWindow(
Point thePoint,
WindowRef * window) ;
# 4481 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
BringToFront(WindowRef window) ;
# 4496 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
SendBehind(
WindowRef window,
WindowRef behindWindow) ;
# 4513 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
SelectWindow(WindowRef window) ;
# 4533 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
FrontNonFloatingWindow(void) ;
# 4550 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
GetNextWindowOfClass(
WindowRef inWindow,
WindowClass inWindowClass,
Boolean mustBeVisible) ;
# 4568 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
GetFrontWindowOfClass(
WindowClass inWindowClass,
Boolean mustBeVisible) ;
# 4585 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
FindWindowOfClass(
const Point * where,
WindowClass inWindowClass,
WindowRef * outWindow,
WindowPartCode * outWindowPart) ;
# 4600 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowMenuIncludeRotate = 1 << 0
};
# 4616 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowMenuCreator = 'wind',
# 4631 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowMenuWindowTag = 'wind'
};
# 4696 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CreateStandardWindowMenu(
OptionBits inOptions,
MenuRef * outMenu) ;
# 4733 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowAlternateTitle(
WindowRef inWindow,
CFStringRef inTitle) ;
# 4766 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CopyWindowAlternateTitle(
WindowRef inWindow,
CFStringRef * outTitle) ;
# 4790 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsValidWindowPtr(WindowRef possibleWindow) ;
#define IsValidWindowRef IsValidWindowPtr
# 4835 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
HiliteWindow(
WindowRef window,
Boolean fHilite) ;
# 4852 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
SetWRefCon(
WindowRef window,
SRefCon data) ;
# 4869 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern SRefCon
GetWRefCon(WindowRef window) ;
# 4885 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowFeatures(
WindowRef window,
UInt32 * outFeatures) ;
# 4928 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowCopyShape(
WindowRef inWindow,
WindowRegionCode inRegion,
HICoordinateSpace inSpace,
HIShapeRef * outShape) ;
# 4950 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowRegion(
WindowRef window,
WindowRegionCode inRegionCode,
RgnHandle ioWinRgn) __attribute__((deprecated));
# 4990 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowStructureWidths(
WindowRef inWindow,
Rect * outRect) ;
# 5027 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowChangeFeatures(
WindowRef inWindow,
UInt64 inSetThese,
UInt64 inClearThese) ;
# 5068 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
BeginUpdate(WindowRef window) ;
# 5100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
EndUpdate(WindowRef window) ;
# 5136 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
InvalWindowRgn(
WindowRef window,
RgnHandle region) ;
# 5169 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
InvalWindowRect(
WindowRef window,
const Rect * bounds) ;
# 5202 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ValidWindowRgn(
WindowRef window,
RgnHandle region) ;
# 5235 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ValidWindowRect(
WindowRef window,
const Rect * bounds) ;
# 5256 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowTitleWithCFString(
WindowRef inWindow,
CFStringRef inString) ;
# 5273 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CopyWindowTitleAsCFString(
WindowRef inWindow,
CFStringRef * outString) ;
# 5307 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowSetProxyFSRef(
WindowRef window,
const FSRef * inRef) ;
# 5349 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowGetProxyFSRef(
WindowRef window,
FSRef * outRef) ;
# 5382 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowProxyAlias(
WindowRef inWindow,
AliasHandle inAlias) ;
# 5424 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowProxyAlias(
WindowRef window,
AliasHandle * alias) ;
# 5465 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowProxyCreatorAndType(
WindowRef window,
OSType fileCreator,
OSType fileType,
SInt16 vRefNum) ;
# 5495 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowProxyIcon(
WindowRef window,
IconRef * outIcon) ;
# 5524 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowProxyIcon(
WindowRef window,
IconRef icon) ;
# 5554 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
RemoveWindowProxy(WindowRef window) ;
# 5600 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
BeginWindowProxyDrag(
WindowRef window,
DragRef * outNewDrag,
RgnHandle outDragOutlineRgn) ;
# 5629 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
EndWindowProxyDrag(
WindowRef window,
DragRef theDrag) ;
# 5720 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowTrackProxyDrag(
WindowRef inWindow,
EventRef inEvent,
DragRef inDrag) ;
# 5800 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
TrackWindowProxyFromExistingDrag(
WindowRef window,
Point startPt,
DragRef drag,
RgnHandle inDragOutlineRgn) ;
# 5862 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
TrackWindowProxyDrag(
WindowRef window,
Point startPt) ;
# 5896 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowModified(WindowRef window) ;
# 5928 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowModified(
WindowRef window,
Boolean modified) ;
# 5974 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowPathSelectEvent(
WindowRef window,
EventRef inEvent) ;
# 6021 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
WindowPathSelect(
WindowRef window,
MenuRef menu,
SInt32 * outMenuResult) ;
# 6049 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HiliteWindowFrameForDrag(
WindowRef window,
Boolean hilited) ;
# 6070 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowTransitionEffect;
enum {
kWindowZoomTransitionEffect = 1,
kWindowSheetTransitionEffect = 2,
kWindowSlideTransitionEffect = 3,
kWindowFadeTransitionEffect = 4,
kWindowGenieTransitionEffect = 5
};
# 6115 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowTransitionAction;
enum {
# 6127 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowShowTransitionAction = 1,
# 6138 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowHideTransitionAction = 2,
kWindowMoveTransitionAction = 3,
kWindowResizeTransitionAction = 4
};
# 6203 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
TransitionWindow(
WindowRef inWindow,
WindowTransitionEffect inEffect,
WindowTransitionAction inAction,
const Rect * inRect) ;
# 6257 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
TransitionWindowAndParent(
WindowRef inWindow,
WindowRef inParentWindow,
WindowTransitionEffect inEffect,
WindowTransitionAction inAction,
const Rect * inRect) ;
# 6276 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
struct TransitionWindowOptions {
UInt32 version;
# 6290 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
EventTime duration;
WindowRef window;
void * userData;
};
typedef struct TransitionWindowOptions TransitionWindowOptions;
# 6355 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
TransitionWindowWithOptions(
WindowRef inWindow,
WindowTransitionEffect inEffect,
WindowTransitionAction inAction,
const HIRect * inBounds,
Boolean inAsync,
TransitionWindowOptions * inOptions) ;
# 6382 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define MacMoveWindow MoveWindow
extern void
MoveWindow(
WindowRef window,
short hGlobal,
short vGlobal,
Boolean front) ;
# 6403 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
SizeWindow(
WindowRef window,
short w,
short h,
Boolean fUpdate) ;
# 6477 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
ResizeWindow(
WindowRef inWindow,
Point inStartPoint,
const Rect * inSizeConstraints,
Rect * outNewContentRect) ;
# 6516 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
DragWindow(
WindowRef window,
Point startPt,
const Rect * boundsRect) ;
# 6534 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
ZoomWindow(
WindowRef window,
WindowPartCode partCode,
Boolean front) ;
# 6556 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowCollapsable(WindowRef window) ;
# 6571 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowCollapsed(WindowRef window) ;
# 6586 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CollapseWindow(
WindowRef window,
Boolean collapse) ;
# 6603 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CollapseAllWindows(Boolean collapse) ;
# 6643 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowCreateCollapsedDockTileContext(
WindowRef inWindow,
CGContextRef * outContext,
HISize * outContextSize) ;
# 6682 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowReleaseCollapsedDockTileContext(
WindowRef inWindow,
CGContextRef inContext) ;
# 6725 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CreateQDContextForCollapsedWindowDockTile(
WindowRef inWindow,
CGrafPtr * outContext) __attribute__((deprecated));
# 6763 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ReleaseQDContextForCollapsedWindowDockTile(
WindowRef inWindow,
CGrafPtr inContext) __attribute__((deprecated));
# 6795 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
UpdateCollapsedWindowDockTile(WindowRef inWindow) ;
# 6850 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowDockTileMenu(
WindowRef inWindow,
MenuRef inMenu) ;
# 6873 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern MenuRef
GetWindowDockTileMenu(WindowRef inWindow) ;
# 6913 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowGetBounds(
WindowRef inWindow,
WindowRegionCode inRegion,
HICoordinateSpace inSpace,
HIRect * outBounds) ;
# 6966 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowSetBounds(
WindowRef inWindow,
WindowRegionCode inRegion,
HICoordinateSpace inSpace,
const HIRect * inBounds) ;
# 6990 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowBounds(
WindowRef window,
WindowRegionCode regionCode,
Rect * globalBounds) ;
# 7036 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowResizeLimits(
WindowRef inWindow,
const HISize * inMinLimits,
const HISize * inMaxLimits) ;
# 7086 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowResizeLimits(
WindowRef inWindow,
HISize * outMinLimits,
HISize * outMaxLimits) ;
# 7109 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowBounds(
WindowRef window,
WindowRegionCode regionCode,
const Rect * globalBounds) ;
# 7150 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
RepositionWindow(
WindowRef window,
WindowRef parentWindow,
WindowPositionMethod method) ;
# 7168 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
MoveWindowStructure(
WindowRef window,
short hGlobal,
short vGlobal) ;
# 7239 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
HIWindowIsInStandardState(
WindowRef inWindow,
const HISize * inIdealSize,
HICoordinateSpace inSpace,
HIRect * outIdealStandardState) ;
# 7297 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowInStandardState(
WindowRef inWindow,
const Point * inIdealSize,
Rect * outIdealStandardState) ;
# 7374 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ZoomWindowIdeal(
WindowRef inWindow,
WindowPartCode inPartCode,
Point * ioIdealSize) ;
# 7420 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowGetIdealUserState(
WindowRef inWindow,
HICoordinateSpace inSpace,
HIRect * outUserState) ;
# 7465 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowSetIdealUserState(
WindowRef inWindow,
HICoordinateSpace inSpace,
const HIRect * inUserState) ;
# 7528 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowIdealUserState(
WindowRef inWindow,
Rect * outUserState) ;
# 7566 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowIdealUserState(
WindowRef inWindow,
const Rect * inUserState) ;
# 7609 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowGreatestAreaDevice(
WindowRef inWindow,
WindowRegionCode inRegion,
GDHandle * outGreatestDevice,
Rect * outGreatestDeviceRect) ;
# 7659 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowGetGreatestAreaDisplay(
WindowRef inWindow,
WindowRegionCode inRegion,
HICoordinateSpace inSpace,
CGDirectDisplayID * outGreatestDisplay,
HIRect * outGreatestDisplayRect) ;
# 7675 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowConstrainOptions;
enum {
kWindowConstrainMayResize = (1L << 0),
kWindowConstrainMoveRegardlessOfFit = (1L << 1),
kWindowConstrainAllowPartial = (1L << 2),
kWindowConstrainCalcOnly = (1L << 3),
kWindowConstrainUseTransitionWindow = (1L << 4),
# 7716 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowConstrainMoveMinimum = (1L << 6),
# 7729 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowConstrainUseSpecifiedBounds = (1L << 8),
kWindowConstrainStandardOptions = kWindowConstrainMoveRegardlessOfFit
};
# 7804 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowConstrain(
WindowRef inWindow,
WindowRegionCode inRegionCode,
WindowConstrainOptions inOptions,
HICoordinateSpace inSpace,
const HIRect * inScreenBounds,
const HISize * inMinimumSize,
HIRect * ioBounds) ;
# 7851 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ConstrainWindowToScreen(
WindowRef inWindowRef,
WindowRegionCode inRegionCode,
WindowConstrainOptions inOptions,
const Rect * inScreenRect,
Rect * outStructure) ;
# 7889 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetAvailableWindowPositioningBounds(
GDHandle inDevice,
Rect * outAvailableRect) ;
# 7935 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetAvailableWindowPositioningRegion(
GDHandle inDevice,
RgnHandle ioRgn) ;
# 7975 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowGetAvailablePositioningBounds(
CGDirectDisplayID inDisplay,
HICoordinateSpace inSpace,
HIRect * outAvailableRect) ;
# 8025 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowCopyAvailablePositioningShape(
CGDirectDisplayID inDisplay,
HICoordinateSpace inSpace,
HIShapeRef * outShape) ;
# 8046 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
HideWindow(WindowRef window) ;
# 8062 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define MacShowWindow ShowWindow
extern void
ShowWindow(WindowRef window) ;
# 8079 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
ShowHide(
WindowRef window,
Boolean showFlag) ;
# 8098 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define MacIsWindowVisible IsWindowVisible
extern Boolean
IsWindowVisible(WindowRef window) ;
# 8120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowLatentVisibility;
enum {
kWindowLatentVisibleFloater = 1 << 0,
kWindowLatentVisibleSuspend = 1 << 1,
kWindowLatentVisibleFullScreen = 1 << 2,
kWindowLatentVisibleAppHidden = 1 << 3,
kWindowLatentVisibleCollapsedOwner = 1 << 4,
kWindowLatentVisibleCollapsedGroup = 1 << 5
};
# 8197 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowLatentVisible(
WindowRef inWindow,
WindowLatentVisibility * outLatentVisible) ;
# 8228 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowExposeHidden = 1 << 0,
kHIWindowCanJoinAllSpaces = 1 << 8,
# 8254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowMoveToActiveSpace = 1 << 9,
kHIWindowVisibleInAllSpaces = kHIWindowCanJoinAllSpaces
};
typedef OptionBits HIWindowAvailability;
# 8289 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowGetAvailability(
WindowRef inWindow,
HIWindowAvailability * outAvailability) ;
# 8320 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowChangeAvailability(
WindowRef inWindow,
HIWindowAvailability inSetAvailability,
HIWindowAvailability inClearAvailability) ;
# 8522 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ShowSheetWindow(
WindowRef inSheet,
WindowRef inParentWindow) ;
# 8547 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HideSheetWindow(WindowRef inSheet) ;
# 8577 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
DetachSheetWindow(WindowRef inSheet) ;
# 8603 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetSheetWindowParent(
WindowRef inSheet,
WindowRef * outParentWindow) ;
# 8659 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowEdgeDefault = 0,
kWindowEdgeTop = 1 << 0,
kWindowEdgeLeft = 1 << 1,
kWindowEdgeBottom = 1 << 2,
kWindowEdgeRight = 1 << 3
};
enum {
kWindowDrawerOpening = 1,
kWindowDrawerOpen = 2,
kWindowDrawerClosing = 3,
kWindowDrawerClosed = 4
};
typedef UInt32 WindowDrawerState;
# 8752 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OptionBits
GetDrawerPreferredEdge(WindowRef inDrawerWindow) ;
# 8782 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetDrawerPreferredEdge(
WindowRef inDrawerWindow,
OptionBits inEdge) ;
# 8819 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OptionBits
GetDrawerCurrentEdge(WindowRef inDrawerWindow) ;
# 8846 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowDrawerState
GetDrawerState(WindowRef inDrawerWindow) ;
# 8873 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
GetDrawerParent(WindowRef inDrawerWindow) ;
# 8903 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetDrawerParent(
WindowRef inDrawerWindow,
WindowRef inParent) ;
# 8919 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define kWindowOffsetUnchanged ((float)(-1.0))
# 8973 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetDrawerOffsets(
WindowRef inDrawerWindow,
CGFloat inLeadingOffset,
CGFloat inTrailingOffset) ;
# 9011 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetDrawerOffsets(
WindowRef inDrawerWindow,
CGFloat * outLeadingOffset,
CGFloat * outTrailingOffset) ;
# 9065 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ToggleDrawer(WindowRef inDrawerWindow) ;
# 9125 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
OpenDrawer(
WindowRef inDrawerWindow,
OptionBits inEdge,
Boolean inAsync) ;
# 9180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CloseDrawer(
WindowRef inDrawerWindow,
Boolean inAsync) ;
# 9210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowCopyDrawers(
WindowRef inWindow,
CFArrayRef * outDrawers) ;
# 9253 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
DisableScreenUpdates(void) ;
# 9281 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
EnableScreenUpdates(void) ;
# 9317 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowToolbar(
WindowRef inWindow,
HIToolbarRef inToolbar) ;
# 9352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowToolbar(
WindowRef inWindow,
HIToolbarRef * outToolbar) ;
# 9389 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ShowHideWindowToolbar(
WindowRef inWindow,
Boolean inShow,
Boolean inAnimate) ;
# 9420 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowToolbarVisible(WindowRef inWindow) ;
# 9479 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
# 9492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIToolbarViewDrawBackgroundTag = 'back'
};
# 9543 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowSetToolbarView(
WindowRef inWindow,
HIViewRef inView) ;
# 9580 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowAlpha(
WindowRef inWindow,
CGFloat inAlpha) ;
# 9614 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowAlpha(
WindowRef inWindow,
CGFloat * outAlpha) ;
# 9661 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowInvalidateShadow(WindowRef inWindow) ;
# 9678 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 HIWindowScaleMode;
enum {
kHIWindowScaleModeUnscaled = 0,
kHIWindowScaleModeMagnified = 1,
kHIWindowScaleModeFrameworkScaled = 2
};
# 9744 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowGetScaleMode(
WindowRef inWindow,
HIWindowScaleMode * outMode,
CGFloat * outScaleFactor) ;
# 9764 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
struct HIContentBorderMetrics {
CGFloat top;
CGFloat left;
CGFloat bottom;
CGFloat right;
};
typedef struct HIContentBorderMetrics HIContentBorderMetrics;
# 9828 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
HIWindowSetContentBorderThickness(
HIWindowRef inWindow,
const HIContentBorderMetrics * inBorderThickness) ;
# 9864 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern HIContentBorderMetrics
HIWindowGetContentBorderThickness(HIWindowRef inWindow) ;
# 9887 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowProperty(
WindowRef window,
PropertyCreator propertyCreator,
PropertyTag propertyTag,
ByteCount bufferSize,
ByteCount * actualSize,
void * propertyBuffer) ;
# 9908 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowPropertySize(
WindowRef window,
PropertyCreator creator,
PropertyTag tag,
ByteCount * size) ;
# 9927 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowProperty(
WindowRef window,
PropertyCreator propertyCreator,
PropertyTag propertyTag,
ByteCount propertySize,
const void * propertyBuffer) ;
# 9947 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
RemoveWindowProperty(
WindowRef window,
PropertyCreator propertyCreator,
PropertyTag propertyTag) ;
enum {
kWindowPropertyPersistent = 0x00000001
};
# 9975 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowPropertyAttributes(
WindowRef window,
OSType propertyCreator,
OSType propertyTag,
OptionBits * attributes) ;
# 9994 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ChangeWindowPropertyAttributes(
WindowRef window,
OSType propertyCreator,
OSType propertyTag,
OptionBits attributesToSet,
OptionBits attributesToClear) ;
# 10017 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern long
PinRect(
const Rect * theRect,
Point thePt) ;
# 10038 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
TrackBox(
WindowRef window,
Point thePt,
WindowPartCode partCode) ;
# 10056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
TrackGoAway(
WindowRef window,
Point thePt) ;
# 10103 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
GetWindowList(void) ;
# 10119 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern CGrafPtr
GetWindowPort(WindowRef window) ;
# 10134 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern CGrafPtr
GetWindowStructurePort(WindowRef inWindow) ;
# 10150 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern short
GetWindowKind(WindowRef window) ;
# 10180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowHilited(WindowRef window) ;
# 10196 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowUpdatePending(WindowRef window) ;
# 10213 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define MacGetNextWindow GetNextWindow
extern WindowRef
GetNextWindow(WindowRef window) ;
# 10238 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
GetPreviousWindow(WindowRef inWindow) ;
# 10254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Rect *
GetWindowStandardState(
WindowRef window,
Rect * rect) ;
# 10272 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Rect *
GetWindowUserState(
WindowRef window,
Rect * rect) ;
# 10290 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
SetWindowKind(
WindowRef window,
short kind) ;
# 10308 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
SetWindowStandardState(
WindowRef window,
const Rect * rect) ;
# 10327 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
SetWindowUserState(
WindowRef window,
const Rect * rect) ;
# 10349 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
SetPortWindowPort(WindowRef window) ;
# 10366 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Rect *
GetWindowPortBounds(
WindowRef window,
Rect * bounds) ;
# 10387 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
GetWindowFromPort(CGrafPtr port) ;
# 10483 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowMsgDraw = 0,
kWindowMsgHitTest = 1,
kWindowMsgCalculateShape = 2,
kWindowMsgInitialize = 3,
kWindowMsgCleanUp = 4,
kWindowMsgDrawGrowOutline = 5,
kWindowMsgDrawGrowBox = 6
};
enum {
kWindowMsgGetFeatures = 7,
kWindowMsgGetRegion = 8
};
enum {
kWindowMsgDragHilite = 9,
kWindowMsgModified = 10,
kWindowMsgDrawInCurrentPort = 11,
kWindowMsgSetupProxyDragImage = 12,
kWindowMsgStateChanged = 13,
kWindowMsgMeasureTitle = 14
};
enum {
kWindowMsgGetGrowImageRegion = 19
};
enum {
wDraw = kWindowMsgDraw,
wHit = kWindowMsgHitTest,
wCalcRgns = kWindowMsgCalculateShape,
wNew = kWindowMsgInitialize,
wDispose = kWindowMsgCleanUp,
wGrow = kWindowMsgDrawGrowOutline,
wDrawGIcon = kWindowMsgDrawGrowBox
};
enum {
kWindowStateTitleChanged = (1 << 0)
};
# 10543 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
struct SetupWindowProxyDragImageRec {
GWorldPtr imageGWorld;
RgnHandle imageRgn;
RgnHandle outlineRgn;
};
typedef struct SetupWindowProxyDragImageRec SetupWindowProxyDragImageRec;
struct MeasureWindowTitleRec {
SInt16 fullTitleWidth;
SInt16 titleTextWidth;
Boolean isUnicodeTitle;
Boolean unused;
};
typedef struct MeasureWindowTitleRec MeasureWindowTitleRec;
typedef MeasureWindowTitleRec * MeasureWindowTitleRecPtr;
struct GetGrowImageRegionRec {
Rect growRect;
RgnHandle growImageRegion;
};
typedef struct GetGrowImageRegionRec GetGrowImageRegionRec;
struct GetWindowRegionRec {
RgnHandle winRgn;
WindowRegionCode regionCode;
};
typedef struct GetWindowRegionRec GetWindowRegionRec;
typedef GetWindowRegionRec * GetWindowRegionPtr;
typedef GetWindowRegionRec * GetWindowRegionRecPtr;
enum {
deskPatID = 16
};
enum {
wContentColor = 0,
wFrameColor = 1,
wTextColor = 2,
wHiliteColor = 3,
wTitleBarColor = 4
};
struct WinCTab {
long wCSeed;
short wCReserved;
short ctSize;
ColorSpec ctTable[5];
};
typedef struct WinCTab WinCTab;
typedef WinCTab * WCTabPtr;
typedef WCTabPtr * WCTabHandle;
# 10690 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowDefinitionVersionOne = 1,
kWindowDefinitionVersionTwo = 2
};
enum {
kWindowIsCollapsedState = (1 << 0L)
};
struct BasicWindowDescription {
UInt32 descriptionSize;
Rect windowContentRect;
Rect windowZoomRect;
URefCon windowRefCon;
UInt32 windowStateFlags;
WindowPositionMethod windowPositionMethod;
UInt32 windowDefinitionVersion;
union {
struct {
SInt16 windowDefProc;
Boolean windowHasCloseBox;
} versionOne;
struct {
WindowClass windowClass;
WindowAttributes windowAttributes;
} versionTwo;
} windowDefinition;
};
typedef struct BasicWindowDescription BasicWindowDescription;
enum {
kStoredWindowSystemTag = 'appl',
kStoredBasicWindowDescriptionID = 'sbas',
kStoredWindowPascalTitleID = 's255',
kStoredWindowTitleCFStringID = 'cfst'
};
# 10739 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef void ( * DeskHookProcPtr)(Boolean mouseClick, EventRecord *theEvent);
typedef OSStatus ( * WindowPaintProcPtr)(GDHandle device, GrafPtr qdContext, WindowRef window, RgnHandle inClientPaintRgn, RgnHandle outSystemPaintRgn, void *refCon);
typedef DeskHookProcPtr DeskHookUPP;
typedef WindowPaintProcPtr WindowPaintUPP;
# 10767 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowPaintUPP
NewWindowPaintUPP(WindowPaintProcPtr userRoutine) __attribute__((deprecated));
# 10787 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
DisposeWindowPaintUPP(WindowPaintUPP userUPP) __attribute__((deprecated));
# 10807 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
InvokeWindowPaintUPP(
GDHandle device,
GrafPtr qdContext,
WindowRef window,
RgnHandle inClientPaintRgn,
RgnHandle outSystemPaintRgn,
void * refCon,
WindowPaintUPP userUPP) __attribute__((deprecated));
#define NewWindowPaintUPP(userRoutine) ((WindowPaintUPP)userRoutine)
#define DisposeWindowPaintUPP(userUPP)
#define InvokeWindowPaintUPP(device,qdContext,window,inClientPaintRgn,outSystemPaintRgn,refCon,userUPP) (*userUPP)(device, qdContext, window, inClientPaintRgn, outSystemPaintRgn, refCon)
# 10847 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
NewWindow(
void * wStorage,
const Rect * boundsRect,
ConstStr255Param title,
Boolean visible,
short theProc,
WindowRef behind,
Boolean goAwayFlag,
SRefCon refCon) __attribute__((deprecated));
# 10876 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
NewCWindow(
void * wStorage,
const Rect * boundsRect,
ConstStr255Param title,
Boolean visible,
short procID,
WindowRef behind,
Boolean goAwayFlag,
SRefCon refCon) __attribute__((deprecated));
# 10905 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
GetNewCWindow(
short windowID,
void * wStorage,
WindowRef behind) __attribute__((deprecated));
# 10929 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
GetNewWindow(
short windowID,
void * wStorage,
WindowRef behind) __attribute__((deprecated));
# 10954 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CreateWindowFromResource(
SInt16 resID,
WindowRef * outWindow) __attribute__((deprecated));
# 10979 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
StoreWindowIntoCollection(
WindowRef window,
Collection collection) __attribute__((deprecated));
# 11004 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CreateWindowFromCollection(
Collection collection,
WindowRef * outWindow) __attribute__((deprecated));
# 11028 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowOwnerCount(
WindowRef window,
ItemCount * outCount) __attribute__((deprecated));
# 11051 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
CloneWindow(WindowRef window) __attribute__((deprecated));
# 11073 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern ItemCount
GetWindowRetainCount(WindowRef inWindow) __attribute__((deprecated));
# 11094 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
RetainWindow(WindowRef inWindow) __attribute__((deprecated));
# 11117 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
ReleaseWindow(WindowRef inWindow) __attribute__((deprecated));
# 11143 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern short
GetWVariant(WindowRef window) __attribute__((deprecated));
# 11182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowClass(
WindowRef inWindow,
WindowClass inWindowClass) __attribute__((deprecated));
enum {
kWindowPaintProcOptionsNone = 0
};
typedef OptionBits WindowPaintProcOptions;
# 11216 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
InstallWindowContentPaintProc(
WindowRef window,
WindowPaintUPP paintProc,
WindowPaintProcOptions options,
void * refCon) __attribute__((deprecated));
# 11243 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
ClipAbove(WindowRef window) __attribute__((deprecated));
# 11266 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
PaintOne(
WindowRef window,
RgnHandle clobberedRgn) __attribute__((deprecated));
# 11291 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
PaintBehind(
WindowRef startWindow,
RgnHandle clobberedRgn) __attribute__((deprecated));
# 11315 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
CalcVis(WindowRef window) __attribute__((deprecated));
# 11338 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
CalcVisBehind(
WindowRef startWindow,
RgnHandle clobberedRgn) __attribute__((deprecated));
# 11361 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
CheckUpdate(EventRecord * theEvent) __attribute__((deprecated));
# 11397 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowRef
FrontWindow(void) __attribute__((deprecated));
# 11418 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
SetWindowPic(
WindowRef window,
PicHandle pic) __attribute__((deprecated));
# 11442 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern PicHandle
GetWindowPic(WindowRef window) __attribute__((deprecated));
# 11474 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
SetWindowProxyFSSpec(
WindowRef window,
const FSSpec * inFile) __attribute__((deprecated));
# 11519 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
GetWindowProxyFSSpec(
WindowRef window,
FSSpec * outFile) __attribute__((deprecated));
# 11564 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern Boolean
IsWindowPathSelectClick(
WindowRef window,
const EventRecord * event) __attribute__((deprecated));
# 11587 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
SetWTitle(
WindowRef window,
ConstStr255Param title) __attribute__((deprecated));
# 11610 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
GetWTitle(
WindowRef window,
Str255 title) __attribute__((deprecated));
# 11635 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
DrawGrowIcon(WindowRef window) __attribute__((deprecated));
# 11657 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern long
GrowWindow(
WindowRef window,
Point startPt,
const Rect * bBox) __attribute__((deprecated));
# 11683 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern RgnHandle
GetGrayRgn(void) __attribute__((deprecated));
# 11705 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern long
DragGrayRgn(
RgnHandle theRgn,
Point startPt,
const Rect * limitRect,
const Rect * slopRect,
short axis,
DragGrayRgnUPP actionProc) __attribute__((deprecated));
# 11735 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern long
DragTheRgn(
RgnHandle theRgn,
Point startPt,
const Rect * limitRect,
const Rect * slopRect,
short axis,
DragGrayRgnUPP actionProc) __attribute__((deprecated));
enum {
kWindowGroupAttrSelectable = kWindowGroupAttrSelectAsLayer,
kWindowGroupAttrPositionFixed = kWindowGroupAttrMoveTogether,
kWindowGroupAttrZOrderFixed = kWindowGroupAttrLayerTogether
};
# 11765 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#pragma pack(pop)
# 41 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 2 3
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#pragma pack(push, 2)
enum {
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kEventParamPostTarget = 'ptrg',
typeEventTargetRef = 'etrg',
# 104 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kEventParamPostOptions = 'popt',
typeEventTargetOptions = 'etop'
};
# 146 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventParamWindowRef = 'wind',
kEventParamGrafPort = 'graf',
kEventParamMenuRef = 'menu',
kEventParamEventRef = 'evnt',
kEventParamControlRef = 'ctrl',
kEventParamRgnHandle = 'rgnh',
kEventParamEnabled = 'enab',
kEventParamDimensions = 'dims',
kEventParamBounds = 'boun',
kEventParamAvailableBounds = 'avlb',
kEventParamAEEventID = keyAEEventID,
kEventParamAEEventClass = keyAEEventClass,
kEventParamCGContextRef = 'cntx',
kEventParamCGImageRef = 'cgim',
kEventParamDeviceDepth = 'devd',
kEventParamDeviceColor = 'devc',
kEventParamMutableArray = 'marr',
kEventParamResult = 'ansr',
kEventParamMinimumSize = 'mnsz',
kEventParamMaximumSize = 'mxsz',
kEventParamAttributes = 'attr',
kEventParamReason = 'why?',
kEventParamTransactionID = 'trns',
kEventParamDisplayDevice = 'gdev',
kEventParamGDevice = kEventParamDisplayDevice,
kEventParamIndex = 'indx',
kEventParamUserData = 'usrd',
kEventParamShape = 'shap',
typeWindowRef = 'wind',
typeGrafPtr = 'graf',
typeGWorldPtr = 'gwld',
typeMenuRef = 'menu',
typeControlRef = 'ctrl',
typeCollection = 'cltn',
typeQDRgnHandle = 'rgnh',
typeOSStatus = 'osst',
typeCFIndex = 'cfix',
typeCGContextRef = 'cntx',
typeCGImageRef = 'cgim',
typeHIPoint = 'hipt',
typeHISize = 'hisz',
typeHIRect = 'hirc',
typeHIShapeRef = 'shap',
typeVoidPtr = 'void',
typeGDHandle = 'gdev',
typeCGDisplayID = 'cgid',
typeCGFloat = 'cgfl',
typeHIPoint72DPIGlobal = 'hipg',
typeHIPointScreenPixel = 'hips',
typeHISize72DPIGlobal = 'hisg',
typeHISizeScreenPixel = 'hiss',
typeHIRect72DPIGlobal = 'hirg',
typeHIRectScreenPixel = 'hirs',
typeCGFloat72DPIGlobal = 'hifg',
typeCGFloatScreenPixel = 'hifs',
kEventParamDisplayChangeFlags = 'cgdp',
typeCGDisplayChangeFlags = 'cgdf'
};
# 310 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum
{
typeRefCon = typeVoidPtr
};
# 331 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum
{
typeByteCount = typeUInt32,
typeByteOffset = typeUInt32,
typeSignedByteCount = typeSInt32,
typeSignedByteOffset = typeSInt32
};
enum {
kEventParamMouseLocation = 'mloc',
kEventParamWindowMouseLocation = 'wmou',
kEventParamMouseButton = 'mbtn',
kEventParamClickCount = 'ccnt',
kEventParamMouseWheelAxis = 'mwax',
kEventParamMouseWheelDelta = 'mwdl',
kEventParamMouseWheelSmoothVerticalDelta = 'saxy',
kEventParamMouseWheelSmoothHorizontalDelta = 'saxx',
kEventParamMouseDelta = 'mdta',
kEventParamMouseChord = 'chor',
kEventParamTabletEventType = 'tblt',
kEventParamMouseTrackingRef = 'mtrf',
typeMouseButton = 'mbtn',
typeMouseWheelAxis = 'mwax',
typeMouseTrackingRef = 'mtrf'
};
enum {
kEventParamKeyCode = 'kcod',
kEventParamKeyMacCharCodes = 'kchr',
kEventParamKeyModifiers = 'kmod',
kEventParamKeyUnicodes = 'kuni',
kEventParamKeyboardType = 'kbdt',
typeEventHotKeyID = 'hkid'
};
enum {
kEventParamTSMSendRefCon = 'tsrc',
kEventParamTSMSendComponentInstance = 'tsci'
};
enum {
kEventParamTextInputSendRefCon = kEventParamTSMSendRefCon,
kEventParamTextInputSendComponentInstance = kEventParamTSMSendComponentInstance,
kEventParamTextInputSendSLRec = 'tssl',
kEventParamTextInputReplySLRec = 'trsl',
kEventParamTextInputSendText = 'tstx',
kEventParamTextInputReplyText = 'trtx',
kEventParamTextInputSendAttributedString = 'tsas',
kEventParamTextInputReplyAttributedString = 'tras',
kEventParamTextInputSendUpdateRng = 'tsup',
kEventParamTextInputSendHiliteRng = 'tshi',
kEventParamTextInputSendClauseRng = 'tscl',
kEventParamTextInputSendPinRng = 'tspn',
kEventParamTextInputSendFixLen = 'tsfx',
kEventParamTextInputSendLeadingEdge = 'tsle',
kEventParamTextInputReplyLeadingEdge = 'trle',
kEventParamTextInputSendTextOffset = 'tsto',
kEventParamTextInputReplyTextOffset = 'trto',
kEventParamTextInputReplyRegionClass = 'trrg',
kEventParamTextInputSendCurrentPoint = 'tscp',
kEventParamTextInputSendDraggingMode = 'tsdm',
kEventParamTextInputReplyPoint = 'trpt',
kEventParamTextInputReplyFont = 'trft',
kEventParamTextInputReplyFMFont = 'trfm',
kEventParamTextInputReplyPointSize = 'trpz',
kEventParamTextInputReplyLineHeight = 'trlh',
kEventParamTextInputReplyLineAscent = 'trla',
kEventParamTextInputReplyCTFontRef = 'trcf',
kEventParamTextInputReplyATSFont = 'traf',
kEventParamTextInputReplyTextAngle = 'trta',
kEventParamTextInputSendShowHide = 'tssh',
kEventParamTextInputReplyShowHide = 'trsh',
kEventParamTextInputSendKeyboardEvent = 'tske',
kEventParamTextInputSendTextServiceEncoding = 'tsse',
kEventParamTextInputSendTextServiceMacEncoding = 'tssm',
kEventParamTextInputReplyMacEncoding = 'trme',
kEventParamTextInputGlyphInfoArray = 'glph',
kEventParamTextInputSendGlyphInfoArray = kEventParamTextInputGlyphInfoArray,
kEventParamTextInputReplyGlyphInfoArray = 'rgph',
kEventParamTextInputSendReplaceRange = 'tsrp',
kEventParamTextInputSendMouseEvent = 'tsme'
};
enum {
kEventParamTSMDocAccessSendRefCon = kEventParamTSMSendRefCon,
kEventParamTSMDocAccessSendComponentInstance = kEventParamTSMSendComponentInstance,
kEventParamTSMDocAccessCharacterCount = 'tdct',
kEventParamTSMDocAccessReplyCharacterRange = 'tdrr',
kEventParamTSMDocAccessReplyCharactersPtr = 'tdrp',
kEventParamTSMDocAccessSendCharacterIndex = 'tdsi',
kEventParamTSMDocAccessSendCharacterRange = 'tdsr',
kEventParamTSMDocAccessSendCharactersPtr = 'tdsp',
kEventParamTSMDocAccessRequestedCharacterAttributes = 'tdca',
kEventParamTSMDocAccessReplyCTFontRef = 'tdcf',
kEventParamTSMDocAccessReplyATSFont = 'tdaf',
kEventParamTSMDocAccessReplyFontSize = 'tdrs',
kEventParamTSMDocAccessEffectiveRange = 'tder',
kEventParamTSMDocAccessReplyCTGlyphInfoRef = 'tdri',
kEventParamTSMDocAccessReplyATSUGlyphSelector = 'tdrg',
kEventParamTSMDocAccessLockCount = 'tdlc',
kEventParamTSMDocAccessLineBounds = 'tdlb',
kEventParamTSMDocAccessBaselineDelta = 'tdbd',
typeATSFontRef = 'atsf',
typeGlyphSelector = 'glfs'
};
enum {
kEventParamHICommand = 'hcmd',
typeHICommand = 'hcmd'
};
enum {
kEventParamWindowFeatures = 'wftr',
kEventParamWindowDefPart = 'wdpc',
kEventParamWindowPartCode = 'wpar',
kEventParamCurrentBounds = 'crct',
kEventParamOriginalBounds = 'orct',
kEventParamPreviousBounds = 'prct',
kEventParamClickActivation = 'clac',
kEventParamWindowRegionCode = 'wshp',
kEventParamWindowContentBounds = 'wcbn',
kEventParamWindowDragHiliteFlag = 'wdhf',
kEventParamWindowModifiedFlag = 'wmff',
kEventParamWindowProxyGWorldPtr = 'wpgw',
kEventParamWindowProxyImageRgn = 'wpir',
kEventParamWindowProxyOutlineRgn = 'wpor',
kEventParamWindowStateChangedFlags = 'wscf',
kEventParamWindowTitleFullWidth = 'wtfw',
kEventParamWindowTitleTextWidth = 'wttw',
kEventParamWindowGrowRect = 'grct',
kEventParamPreviousDockRect = 'pdrc',
kEventParamPreviousDockDevice = 'pdgd',
kEventParamCurrentDockRect = 'cdrc',
kEventParamCurrentDockDevice = 'cdgd',
kEventParamWindowTransitionAction = 'wtac',
kEventParamWindowTransitionEffect = 'wtef',
typeWindowRegionCode = 'wshp',
typeWindowDefPartCode = 'wdpt',
typeWindowPartCode = 'wpar',
typeClickActivationResult = 'clac',
typeWindowTransitionAction = 'wtac',
typeWindowTransitionEffect = 'wtef'
};
enum {
kEventParamControlPart = 'cprt',
kEventParamInitCollection = 'icol',
kEventParamControlMessage = 'cmsg',
kEventParamControlParam = 'cprm',
kEventParamControlResult = 'crsl',
kEventParamControlRegion = 'crgn',
kEventParamControlAction = 'caup',
kEventParamControlIndicatorDragConstraint = 'cidc',
kEventParamControlIndicatorRegion = 'cirn',
kEventParamControlIsGhosting = 'cgst',
kEventParamControlIndicatorOffset = 'ciof',
kEventParamControlClickActivationResult = 'ccar',
kEventParamControlSubControl = 'csub',
kEventParamControlOptimalBounds = 'cobn',
kEventParamControlOptimalBaselineOffset = 'cobo',
kEventParamControlDataTag = 'cdtg',
kEventParamControlDataBuffer = 'cdbf',
kEventParamControlDataBufferSize = 'cdbs',
kEventParamControlDrawDepth = 'cddp',
kEventParamControlDrawInColor = 'cdic',
kEventParamControlDrawEngraved = 'cden',
kEventParamControlFeatures = 'cftr',
kEventParamControlPartBounds = 'cpbd',
kEventParamControlOriginalOwningWindow = 'coow',
kEventParamControlCurrentOwningWindow = 'ccow',
kEventParamControlFocusEverything = 'cfev',
kEventParamNextControl = 'cnxc',
kEventParamStartControl = 'cstc',
kEventParamControlSubview = 'csvw',
kEventParamControlPreviousPart = 'copc',
kEventParamControlCurrentPart = 'cnpc',
kEventParamControlInvalRgn = 'civr',
kEventParamControlValue = 'cval',
kEventParamControlHit = 'chit',
kEventParamControlPartAutoRepeats = 'caur',
kEventParamControlFrameMetrics = 'cfmt',
kEventParamControlWouldAcceptDrop = 'cldg',
kEventParamControlPrefersShape = 'cpsh',
typeControlActionUPP = 'caup',
typeIndicatorDragConstraint = 'cidc',
typeControlPartCode = 'cprt',
typeControlFrameMetrics = 'cins'
};
enum {
kEventParamCurrentMenuTrackingMode = 'cmtm',
kEventParamNewMenuTrackingMode = 'nmtm',
kEventParamMenuFirstOpen = '1sto',
kEventParamMenuItemIndex = 'item',
kEventParamMenuCommand = 'mcmd',
kEventParamEnableMenuForKeyEvent = 'fork',
kEventParamMenuEventOptions = 'meop',
kEventParamMenuContext = 'mctx',
kEventParamMenuDismissed = 'mdis',
kEventParamMenuItemBounds = 'mitb',
kEventParamMenuMarkBounds = 'mmkb',
kEventParamMenuIconBounds = 'micb',
kEventParamMenuTextBounds = 'mtxb',
kEventParamMenuTextBaseline = 'mtbl',
kEventParamMenuCommandKeyBounds = 'mcmb',
kEventParamMenuVirtualTop = 'mvrt',
kEventParamMenuVirtualBottom = 'mvrb',
kEventParamMenuDrawState = 'mdrs',
kEventParamMenuItemType = 'mitp',
kEventParamMenuItemWidth = 'mitw',
kEventParamMenuItemHeight = 'mith',
kEventParamMenuFrameView = 'mfrv',
kEventParamMenuType = 'mtyp',
kEventParamMenuIsPopup = 'mpop',
kEventParamMenuDirection = 'mdir',
kEventParamParentMenu = 'mprm',
kEventParamParentMenuItem = 'mpri',
kEventParamMenuPopupItem = 'mpit',
kEventParamMenuContextHeight = 'mcht',
typeMenuItemIndex = 'midx',
typeMenuCommand = 'mcmd',
typeMenuTrackingMode = 'mtmd',
typeMenuEventOptions = 'meop',
typeThemeMenuState = 'tmns',
typeThemeMenuItemType = 'tmit',
typeMenuDirection = 'mdir',
typeThemeMenuType = 'tmty'
};
enum {
kEventParamProcessID = 'psn ',
kEventParamLaunchRefCon = 'lref',
kEventParamLaunchErr = 'err ',
kEventParamSystemUIMode = 'uimd',
kEventParamIsInInstantMouser = 'imou',
kEventParamPreviousWindow = 'prvw',
kEventParamCurrentWindow = 'curw'
};
enum {
kEventParamTabletPointRec = 'tbrc',
kEventParamTabletProximityRec = 'tbpx',
typeTabletPointRec = 'tbrc',
typeTabletProximityRec = 'tbpx'
};
enum {
kEventParamNewScrollBarVariant = 'nsbv'
};
enum {
kEventParamPasteboardRef = 'pbrd',
kEventParamScrapRef = 'scrp',
kEventParamServiceCopyTypes = 'svsd',
kEventParamServicePasteTypes = 'svpt',
kEventParamServiceMessageName = 'svmg',
kEventParamServiceUserData = 'svud',
typePasteboardRef = 'pbrd',
typeScrapRef = 'scrp'
};
enum {
kEventParamAccessibleObject = 'aobj',
kEventParamAccessibleChild = 'achl',
kEventParamAccessibleAttributeName = 'atnm',
kEventParamAccessibleAttributeNames = 'atns',
kEventParamAccessibleAttributeValue = 'atvl',
kEventParamAccessibleAttributeSettable = 'atst',
kEventParamAccessibleAttributeParameter = 'atpa',
kEventParamAccessibleActionName = 'acnm',
kEventParamAccessibleActionNames = 'acns',
kEventParamAccessibleActionDescription = 'acds',
kEventParamAccessibilityEventQueued = 'aequ'
};
enum {
typeCFRange = 'cfrn'
};
enum {
kEventParamAppleEvent = 'aevt',
kEventParamAppleEventReply = 'aerp'
};
# 671 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
typedef UInt16 MouseTrackingResult;
enum {
kMouseTrackingMouseDown = 1,
kMouseTrackingMouseUp = 2,
kMouseTrackingMouseExited = 3,
kMouseTrackingMouseEntered = 4,
# 709 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseTrackingMouseDragged = 5,
kMouseTrackingKeyModifiersChanged = 6,
kMouseTrackingUserCancelled = 7,
kMouseTrackingTimedOut = 8,
# 740 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseTrackingMouseMoved = 9,
kMouseTrackingClientEvent = 10,
# 758 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseTrackingScrollWheel = 11
};
# 768 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kTrackMouseLocationOptionDontConsumeMouseUp = (1 << 0),
kTrackMouseLocationOptionIncludeScrollWheel = (1 << 3)
};
# 804 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern Boolean
CheckEventQueueForUserCancel(void) ;
# 828 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern Boolean
IsUserCancelEventRef(EventRef event) ;
# 893 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
TrackMouseLocation(
GrafPtr inPort,
Point * outPt,
MouseTrackingResult * outResult) ;
# 965 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
TrackMouseLocationWithOptions(
GrafPtr inPort,
OptionBits inOptions,
EventTimeout inTimeout,
Point * outPt,
UInt32 * outModifiers,
MouseTrackingResult * outResult) ;
# 1034 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
TrackMouseRegion(
GrafPtr inPort,
RgnHandle inRegion,
Boolean * ioWasInRgn,
MouseTrackingResult * outResult) ;
# 1049 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
# 1059 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseParamsSticky = 'stic',
# 1072 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseParamsProxyIcon = 'prox',
# 1084 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseParamsClickAndHold = 'clho',
# 1094 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseParamsDragInitiation = 'drag'
};
# 1133 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
HIMouseTrackingGetParameters(
OSType inSelector,
EventTime * outTime,
HISize * outDistance) ;
# 1188 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern Boolean
ConvertEventRefToEventRecord(
EventRef inEvent,
EventRecord * outEvent) ;
# 1224 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern Boolean
IsEventInMask(
EventRef inEvent,
EventMask inMask) ;
# 1241 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern EventTime
GetLastUserEventTime(void) ;
# 1269 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern Boolean
IsMouseCoalescingEnabled(void) ;
# 1304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
SetMouseCoalescingEnabled(
Boolean inNewState,
Boolean * outOldState) ;
# 1321 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventClassMouse = 'mous',
kEventClassKeyboard = 'keyb',
kEventClassTextInput = 'text',
kEventClassApplication = 'appl',
kEventClassAppleEvent = 'eppc',
kEventClassMenu = 'menu',
kEventClassWindow = 'wind',
kEventClassControl = 'cntl',
kEventClassCommand = 'cmds',
kEventClassTablet = 'tblt',
kEventClassVolume = 'vol ',
kEventClassAppearance = 'appm',
kEventClassService = 'serv',
kEventClassToolbar = 'tbar',
kEventClassToolbarItem = 'tbit',
kEventClassToolbarItemView = 'tbiv',
kEventClassAccessibility = 'acce',
kEventClassSystem = 'macs',
kEventClassInk = 'ink ',
kEventClassTSMDocumentAccess = 'tdac'
};
# 1451 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
typedef UInt16 EventMouseButton;
enum {
kEventMouseButtonPrimary = 1,
kEventMouseButtonSecondary = 2,
kEventMouseButtonTertiary = 3
};
typedef UInt16 EventMouseWheelAxis;
enum {
kEventMouseWheelAxisX = 0,
kEventMouseWheelAxisY = 1
};
# 1567 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseDown = 1
};
# 1640 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseUp = 2
};
# 1707 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseMoved = 5
};
# 1774 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseDragged = 6
};
# 1812 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseEntered = 8
};
# 1849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseExited = 9
};
# 1916 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseWheelMoved = 10
};
# 1999 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseScroll = 11
};
# 2110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetLength = 1
};
# 2155 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetSelectedRange = 2
};
# 2216 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetCharactersPtr = 3
};
# 2290 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetCharactersPtrForLargestBuffer = 4
};
# 2343 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetCharacters = 5
};
# 2372 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
# 2387 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kTSMDocAccessFontSizeAttributeBit = 0,
kTSMDocAccessEffectiveRangeAttributeBit = 1
};
typedef UInt32 TSMDocAccessAttributes;
enum {
kTSMDocAccessFontSizeAttribute = 1L << kTSMDocAccessFontSizeAttributeBit,
kTSMDocAccessEffectiveRangeAttribute = 1L << kTSMDocAccessEffectiveRangeAttributeBit
};
# 2564 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetFont = 6
};
# 2661 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetGlyphInfo = 7
};
# 2736 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetFirstRectForRange = 11
};
# 2819 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessLockDocument = 8
};
# 2867 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessUnlockDocument = 9
};
# 3162 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputUpdateActiveInputArea = 1
};
# 3305 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputUnicodeForKeyEvent = 2
};
# 3651 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputOffsetToPos = 3
};
# 3778 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputPosToOffset = 4
};
# 3839 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputShowHideBottomWindow = 5
};
# 3985 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputGetSelectedText = 6
};
# 4093 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputUnicodeText = 7
};
# 4152 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputFilterText = 14
};
# 4220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputIsMouseEventInInlineInputArea = 16
};
# 4279 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventRawKeyDown = 1
};
# 4320 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventRawKeyRepeat = 2
};
# 4354 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventRawKeyUp = 3
};
# 4382 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventRawKeyModifiersChanged = 4
};
# 4404 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventHotKeyPressed = 5
};
# 4426 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventHotKeyReleased = 6
};
# 4439 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
# 4448 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kEventKeyModifierNumLockBit = 16,
kEventKeyModifierFnBit = 17
};
enum {
kEventKeyModifierNumLockMask = 1L << kEventKeyModifierNumLockBit,
kEventKeyModifierFnMask = 1L << kEventKeyModifierFnBit
};
# 4520 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppActivated = 1
};
# 4540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppDeactivated = 2
};
# 4571 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppQuit = 3
};
# 4614 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppLaunchNotification = 4
};
# 4639 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppLaunched = 5
};
# 4664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppTerminated = 6
};
# 4690 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFrontSwitched = 7
};
# 4710 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppHidden = 107
};
# 4730 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppShown = 108
};
# 4756 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppSystemUIModeChanged = 109
};
enum {
kAvailBoundsChangedForDock = 1 << 0,
kAvailBoundsChangedForDisplay = 1 << 1
};
# 4879 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppAvailableWindowBoundsChanged = 110
};
# 4927 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppActiveWindowChanged = 111
};
# 4962 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppGetDockTileMenu = 20
};
# 5007 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppUpdateDockTile = 21
};
# 5037 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFocusMenuBar = 8
};
# 5083 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFocusNextDocumentWindow = 9
};
# 5122 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFocusNextFloatingWindow = 10
};
# 5153 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFocusToolbar = 11
};
# 5187 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFocusDrawer = 12
};
# 5216 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppIsEventInInstantMouser = 104
};
# 5277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppleEvent = 1
};
# 5469 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowUpdate = 1
};
# 5512 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawContent = 2
};
# 5553 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowActivated = 5
};
# 5592 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDeactivated = 6
};
# 5622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHandleActivate = 91
};
# 5652 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHandleDeactivate = 92
};
# 5727 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetClickActivation = 7
};
enum {
# 5748 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHIModalClickIsModal = 1 << 0,
kHIModalClickAllowEvent = 1 << 1,
# 5765 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHIModalClickAnnounce = 1 << 2,
# 5775 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHIModalClickRaiseWindow = 1 << 3
};
typedef UInt32 HIModalClickResult;
enum {
typeModalClickResult = 'wmcr',
typeWindowModality = 'wmod',
kEventParamModalClickResult = typeModalClickResult,
kEventParamModalWindow = 'mwin',
kEventParamWindowModality = typeWindowModality
};
# 5882 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetClickModality = 8
};
# 5899 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kWindowBoundsChangeUserDrag = (1 << 0),
kWindowBoundsChangeUserResize = (1 << 1),
kWindowBoundsChangeSizeChanged = (1 << 2),
kWindowBoundsChangeOriginChanged = (1 << 3),
# 5930 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kWindowBoundsChangeZoom = (1 << 4)
};
# 5954 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowShowing = 22
};
# 5979 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHiding = 23
};
# 6004 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowShown = 24
};
# 6037 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHidden = 25
};
# 6062 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCollapsing = 86
};
# 6087 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCollapsed = 67
};
# 6112 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowExpanding = 87
};
# 6137 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowExpanded = 70
};
# 6172 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowZoomed = 76
};
# 6234 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowBoundsChanging = 26
};
# 6277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowBoundsChanged = 27
};
# 6302 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowResizeStarted = 28
};
# 6327 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowResizeCompleted = 29
};
# 6352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDragStarted = 30
};
# 6377 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDragCompleted = 31
};
# 6410 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClosed = 73
};
# 6450 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowTransitionStarted = 88
};
# 6490 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowTransitionCompleted = 89
};
# 6578 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClickDragRgn = 32
};
# 6662 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClickResizeRgn = 33
};
# 6751 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClickCollapseRgn = 34
};
# 6838 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClickCloseRgn = 35
};
# 6925 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClickZoomRgn = 36
};
# 7027 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClickContentRgn = 37
};
# 7114 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClickProxyIconRgn = 38
};
# 7200 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClickToolbarButtonRgn = 41
};
# 7287 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClickStructureRgn = 42
};
# 7325 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCursorChange = 40
};
# 7357 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCollapse = 66
};
# 7389 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCollapseAll = 68
};
# 7428 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowExpand = 69
};
# 7462 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowExpandAll = 71
};
# 7502 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClose = 72
};
# 7531 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCloseAll = 74
};
# 7575 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowZoom = 75
};
# 7613 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowZoomAll = 77
};
# 7701 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowContextualMenuSelect = 78
};
# 7752 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowPathSelect = 79
};
# 7796 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetIdealSize = 80
};
# 7846 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetIdealStandardState = 93
};
# 7885 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetMinimumSize = 81
};
# 7923 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetMaximumSize = 82
};
# 8065 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowConstrain = 83
};
# 8095 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowProxyBeginDrag = 128
};
# 8124 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowProxyEndDrag = 129
};
# 8217 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHandleContentClick = 85
};
# 8255 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetDockTileMenu = 90
};
# 8291 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowUpdateDockTile = 94
};
# 8375 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowToolbarSwitchMode = 150
};
# 8409 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusAcquired = 200
};
# 8443 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusRelinquish = 201
};
# 8478 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusLost = 205
};
# 8515 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusRestored = 206
};
# 8545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusContent = 202
};
# 8575 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusToolbar = 203
};
# 8611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusDrawer = 204
};
# 8643 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowSheetOpening = 210
};
# 8670 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowSheetOpened = 211
};
# 8702 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowSheetClosing = 212
};
# 8729 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowSheetClosed = 213
};
# 8761 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawerOpening = 220
};
# 8788 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawerOpened = 221
};
# 8820 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawerClosing = 222
};
# 8847 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawerClosed = 223
};
# 8875 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawFrame = 1000
};
# 8904 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawPart = 1001
};
# 8960 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetRegion = 1002
};
# 8990 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHitTest = 1003
};
# 9023 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowInit = 1004
};
# 9058 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDispose = 1005
};
# 9087 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDragHilite = 1006
};
# 9116 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowModified = 1007
};
# 9172 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowSetupProxyDragImage = 1008
};
# 9200 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowStateChanged = 1009
};
# 9229 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowMeasureTitle = 1010
};
# 9258 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawGrowBox = 1011
};
# 9293 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetGrowImageRegion = 1012
};
# 9324 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowPaint = 1013
};
# 9356 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowAttributesChanged = 1019
};
# 9388 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowTitleChanged = 1020
};
# 9437 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kMenuContextMenuBar = 1 << 0
};
# 9456 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kMenuContextPullDown = 1 << 8,
kMenuContextPopUp = 1 << 9,
kMenuContextSubmenu = 1 << 10
};
# 9485 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kMenuContextMenuBarTracking = 1 << 16,
kMenuContextPopUpTracking = 1 << 17,
kMenuContextKeyMatching = 1 << 18,
# 9514 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMenuContextMenuEnabling = 1 << 19,
# 9525 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMenuContextCommandIDSearch = 1 << 20,
# 9537 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMenuContextInspection = 1 << 22
};
# 9556 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kMenuContextDontUpdateText = 1 << 24,
kMenuContextDontUpdateKey = 1 << 25,
kMenuContextDontUpdateIcon = 1 << 26,
kMenuContextDontUpdateEnabled = 1 << 27
};
enum {
kHIMenuRightDirection = 0,
kHIMenuLeftDirection = 1,
kHIMenuCenterDirection = 2
};
# 9646 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuBeginTracking = 1
};
# 9705 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuEndTracking = 2
};
# 9750 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuChangeTrackingMode = 3
};
# 9792 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuOpening = 4
};
# 9822 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuClosed = 5
};
# 9858 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuTargetItem = 6
};
# 9943 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuMatchKey = 7
};
# 10016 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuEnableItems = 8
};
# 10083 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuPopulate = 9
};
# 10109 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuDispose = 1001
};
# 10145 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuMeasureItemWidth = 100
};
# 10182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuMeasureItemHeight = 101
};
# 10286 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuDrawItem = 102
};
# 10392 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuDrawItemContent = 103
};
# 10457 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuCalculateSize = 1004
};
# 10497 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuCreateFrameView = 1005
};
# 10595 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuGetFrameBounds = 1006
};
# 10631 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuBecomeScrollable = 1007
};
# 10662 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuCeaseToBeScrollable = 1008
};
# 10686 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuBarShown = 2000
};
# 10710 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuBarHidden = 2001
};
# 10793 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventCommandProcess = 1
};
# 10859 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventCommandUpdateStatus = 2
};
enum {
kHICommandOK = 'ok ',
kHICommandCancel = 'not!',
kHICommandQuit = 'quit',
kHICommandUndo = 'undo',
kHICommandRedo = 'redo',
kHICommandCut = 'cut ',
kHICommandCopy = 'copy',
kHICommandPaste = 'past',
kHICommandClear = 'clea',
kHICommandSelectAll = 'sall',
kHICommandHide = 'hide',
kHICommandHideOthers = 'hido',
kHICommandShowAll = 'shal',
kHICommandPreferences = 'pref',
# 10954 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandZoomWindow = 'zoom',
kHICommandMinimizeWindow = 'mini',
kHICommandMinimizeAll = 'mina',
kHICommandMaximizeWindow = 'maxi',
kHICommandMaximizeAll = 'maxa',
kHICommandArrangeInFront = 'frnt',
kHICommandBringAllToFront = 'bfrt',
# 11007 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandWindowListSeparator = 'wldv',
# 11017 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandWindowListTerminator = 'wlst',
# 11042 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandSelectWindow = 'swin',
# 11051 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandRotateWindowsForward = 'rotw',
# 11060 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandRotateWindowsBackward = 'rotb',
# 11069 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandRotateFloatingWindowsForward = 'rtfw',
# 11078 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandRotateFloatingWindowsBackward = 'rtfb',
# 11087 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandAbout = 'abou',
kHICommandNew = 'new ',
kHICommandOpen = 'open',
# 11106 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandClose = 'clos',
kHICommandCloseFile = 'clof',
kHICommandSave = 'save',
kHICommandSaveAs = 'svas',
kHICommandRevert = 'rvrt',
kHICommandPrint = 'prnt',
kHICommandPageSetup = 'page',
# 11150 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandAppHelp = 'ahlp',
kHICommandShowCharacterPalette = 'chrp',
kHICommandShowSpellingPanel = 'shsp',
kHICommandCheckSpelling = 'cksp',
kHICommandChangeSpelling = 'chsp',
kHICommandCheckSpellingAsYouType = 'aspc',
kHICommandIgnoreSpelling = 'igsp',
kHICommandLearnWord = 'lrwd'
};
# 11214 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kHICommandFromMenu = (1L << 0),
kHICommandFromControl = (1L << 1),
kHICommandFromWindow = (1L << 2)
};
# 11254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
struct HICommand {
UInt32 attributes;
UInt32 commandID;
struct {
MenuRef menuRef;
MenuItemIndex menuItemIndex;
} menu;
};
typedef struct HICommand HICommand;
# 11304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
struct HICommandExtended {
UInt32 attributes;
UInt32 commandID;
union {
ControlRef control;
WindowRef window;
struct {
MenuRef menuRef;
MenuItemIndex menuItemIndex;
} menu;
} source;
};
typedef struct HICommandExtended HICommandExtended;
# 11488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlClick = 13
};
# 11543 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlHit = 1
};
# 11577 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlInitialize = 1000
};
# 11599 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDispose = 1001
};
# 11632 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetOptimalBounds = 1003
};
# 11663 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlOptimalBoundsChanged = 1004
};
# 11707 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlSimulateHit = 2
};
# 11740 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlHitTest = 3
};
# 11803 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDraw = 4
};
# 11863 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlApplyBackground = 5
};
# 11917 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlApplyTextColor = 6
};
# 11961 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetNextFocusCandidate = 14
};
# 11998 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetAutoToggleValue = 15
};
# 12043 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlInterceptSubviewClick = 16
};
# 12135 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetClickActivation = 17
};
# 12182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDragEnter = 18
};
# 12219 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDragWithin = 19
};
# 12254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDragLeave = 20
};
# 12286 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDragReceive = 21
};
# 12330 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlSetFocusPart = 7
};
# 12362 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetFocusPart = 8
};
# 12385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlActivate = 9
};
# 12408 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDeactivate = 10
};
# 12448 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlSetCursor = 11
};
# 12528 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlContextualMenuClick = 12
};
# 12664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlTrack = 51
};
# 12700 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetScrollToHereStartPoint = 52
};
# 12734 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetIndicatorDragConstraint = 53
};
# 12766 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlIndicatorMoved = 54
};
# 12792 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGhostingFinished = 55
};
# 12833 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetActionProcPart = 56
};
# 12932 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetPartRegion = 101
};
# 12961 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetPartBounds = 102
};
# 13005 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlSetData = 103
};
# 13050 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetData = 104
};
# 13086 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetSizeConstraints = 105
};
# 13120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetFrameMetrics = 106
};
# 13144 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlValueFieldChanged = 151
};
# 13169 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlAddedSubControl = 152
};
# 13195 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlRemovingSubControl = 153
};
# 13245 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlBoundsChanged = 154
};
# 13280 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlInvalidateForSizeChange = 22
};
# 13304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlVisibilityChanged = 157
};
# 13337 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlOwningWindowChanged = 159
};
# 13359 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlTitleChanged = 158
};
# 13389 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlHiliteChanged = 160
};
# 13413 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlEnabledStateChanged = 161
};
# 13435 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlLayoutInfoChanged = 162
};
# 13468 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlFocusPartChanged = 164
};
# 13510 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlArbitraryMessage = 201
};
# 13527 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kControlBoundsChangeSizeChanged = (1 << 2),
kControlBoundsChangePositionChanged = (1 << 3)
};
# 13570 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTabletPoint = 1
};
# 13593 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTabletProximity = 2
};
struct TabletPointRec {
SInt32 absX;
SInt32 absY;
SInt32 absZ;
UInt16 buttons;
UInt16 pressure;
SInt16 tiltX;
SInt16 tiltY;
UInt16 rotation;
SInt16 tangentialPressure;
UInt16 deviceID;
SInt16 vendor1;
SInt16 vendor2;
SInt16 vendor3;
};
typedef struct TabletPointRec TabletPointRec;
typedef TabletPointRec TabletPointerRec;
struct TabletProximityRec {
UInt16 vendorID;
UInt16 tabletID;
UInt16 pointerID;
UInt16 deviceID;
UInt16 systemTabletID;
UInt16 vendorPointerType;
UInt32 pointerSerialNumber;
UInt64 uniqueID;
UInt32 capabilityMask;
UInt8 pointerType;
UInt8 enterProximity;
};
typedef struct TabletProximityRec TabletProximityRec;
# 13639 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
typeFSVolumeRefNum = 'voln'
};
# 13664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventVolumeMounted = 1
};
# 13693 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventVolumeUnmounted = 2
};
# 13728 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppearanceScrollBarVariantChanged = 1
};
# 13792 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventServiceCopy = 1
};
# 13833 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventServicePaste = 2
};
# 13873 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventServiceGetTypes = 3
};
# 13916 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventServicePerform = 4
};
# 13948 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern CFStringRef
CreateTypeStringWithOSType(OSType inType) ;
# 13963 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHIServicesMenuProviderName CFSTR("kHIServicesMenuProviderName")
# 13973 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHIServicesMenuItemName CFSTR("kHIServicesMenuItemName")
# 13984 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHIServicesMenuCharCode CFSTR("kHIServicesMenuCharCode")
# 13995 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHIServicesMenuKeyModifiers CFSTR("kHIServicesMenuKeyModifiers")
# 14032 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
CopyServicesMenuCommandKeys(CFArrayRef * outCommandKeyArray) ;
# 14069 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemTimeDateChanged = 2
};
# 14090 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemDisplaysAsleep = 3
};
# 14111 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemDisplaysAwake = 4
};
# 14142 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemDisplayReconfigured = 6
};
# 14165 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemUserSessionActivated = 10
};
# 14188 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemUserSessionDeactivated = 11
};
# 14220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern EventTargetRef
GetWindowEventTarget(WindowRef inWindow) ;
# 14248 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern EventTargetRef
GetControlEventTarget(ControlRef inControl) ;
# 14276 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern EventTargetRef
GetMenuEventTarget(MenuRef inMenu) ;
# 14299 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern EventTargetRef
GetApplicationEventTarget(void) ;
# 14330 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern EventTargetRef
GetUserFocusEventTarget(void) ;
# 14357 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern EventTargetRef
GetEventDispatcherTarget(void) ;
# 14422 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern EventTargetRef
GetEventMonitorTarget(void) ;
#define InstallApplicationEventHandler(handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( GetApplicationEventTarget(), (handler), (numTypes), (list), (userData), (outHandlerRef) )
#define InstallHIObjectEventHandler(target,handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( HIObjectGetEventTarget( target ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
#define InstallWindowEventHandler(target,handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( GetWindowEventTarget( target ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
#define InstallControlEventHandler(target,handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( GetControlEventTarget( target ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
#define InstallMenuEventHandler(target,handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( GetMenuEventTarget( target ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
#define HIViewInstallEventHandler(target,handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( HIObjectGetEventTarget( (HIObjectRef) (target) ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
# 14451 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define DEFINE_ONE_SHOT_HANDLER_GETTER(x) EventHandlerUPP Get ## x ## UPP() { static EventHandlerUPP sHandler = NULL; if ( sHandler == NULL ) sHandler = NewEventHandlerUPP( x ); return sHandler; }
# 14465 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define SendEventToApplication(e) SendEventToEventTarget( (e), GetApplicationEventTarget() )
#define SendEventToHIObject(e,t) SendEventToEventTarget( (e), HIObjectGetEventTarget( t ) )
#define SendEventToWindow(e,t) SendEventToEventTarget( (e), GetWindowEventTarget( t ) )
#define SendEventToControl(e,t) SendEventToEventTarget( (e), GetControlEventTarget( t ) )
#define SendEventToMenu(e,t) SendEventToEventTarget( (e), GetMenuEventTarget( t ) )
#define SendEventToUserFocus(e) SendEventToEventTarget( (e), GetUserFocusEventTarget() )
# 14516 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
ProcessHICommand(const HICommand * inCommand) ;
# 14541 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern void
RunApplicationEventLoop(void) ;
# 14566 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern void
QuitApplicationEventLoop(void) ;
# 14608 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
RunAppModalLoopForWindow(WindowRef inWindow) ;
# 14638 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
QuitAppModalLoopForWindow(WindowRef inWindow) ;
# 14677 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
BeginAppModalStateForWindow(WindowRef inWindow) ;
# 14704 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
EndAppModalStateForWindow(WindowRef inWindow) ;
# 14714 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
struct EventHotKeyID {
OSType signature;
UInt32 id;
};
typedef struct EventHotKeyID EventHotKeyID;
typedef struct OpaqueEventHotKeyRef* EventHotKeyRef;
enum {
kEventHotKeyNoOptions = 0,
# 14754 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kEventHotKeyExclusive = (1 << 0)
};
# 14813 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
RegisterEventHotKey(
UInt32 inHotKeyCode,
UInt32 inHotKeyModifiers,
EventHotKeyID inHotKeyID,
EventTargetRef inTarget,
OptionBits inOptions,
EventHotKeyRef * outRef) ;
# 14850 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
UnregisterEventHotKey(EventHotKeyRef inHotKey) ;
# 14863 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHISymbolicHotKeyCode CFSTR("kHISymbolicHotKeyCode")
# 14873 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHISymbolicHotKeyModifiers CFSTR("kHISymbolicHotKeyModifiers")
# 14883 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHISymbolicHotKeyEnabled CFSTR("kHISymbolicHotKeyEnabled")
# 14930 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
CopySymbolicHotKeys(CFArrayRef * outHotKeyArray) ;
enum {
kHIHotKeyModeAllEnabled = 0,
kHIHotKeyModeAllDisabled = (1 << 0),
kHIHotKeyModeAllDisabledExceptUniversalAccess = (1 << 1)
};
# 15000 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern void *
PushSymbolicHotKeyMode(OptionBits inOptions) ;
# 15030 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern void
PopSymbolicHotKeyMode(void * inToken) ;
# 15062 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OptionBits
GetSymbolicHotKeyMode(void) ;
# 15072 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventParamInkTextRef = 'iwrd',
kEventParamInkKeyboardShortcut = 'ikbd',
kEventParamInkGestureKind = 'gknd',
kEventParamInkGestureBounds = 'gbnd',
kEventParamInkGestureHotspot = 'ghot'
};
# 15110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventInkPoint = 10
};
# 15148 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventInkGesture = 11
};
# 15182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventInkText = 12
};
# 15240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
typedef struct OpaqueMouseTrackingRef* MouseTrackingRef;
# 15261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
typedef UInt32 MouseTrackingOptions;
enum {
kMouseTrackingOptionsLocalClip = 0,
kMouseTrackingOptionsGlobalClip = 1,
kMouseTrackingOptionsStandard = kMouseTrackingOptionsLocalClip
};
struct MouseTrackingRegionID {
OSType signature;
SInt32 id;
};
typedef struct MouseTrackingRegionID MouseTrackingRegionID;
# 15357 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
CreateMouseTrackingRegion(
WindowRef inWindow,
RgnHandle inRegion,
RgnHandle inClip,
MouseTrackingOptions inOptions,
MouseTrackingRegionID inID,
void * inRefCon,
EventTargetRef inTargetToNotify,
MouseTrackingRef * outTrackingRef) __attribute__((deprecated));
# 15396 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
RetainMouseTrackingRegion(MouseTrackingRef inMouseRef) __attribute__((deprecated));
# 15430 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
ReleaseMouseTrackingRegion(MouseTrackingRef inMouseRef) __attribute__((deprecated));
# 15469 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
ChangeMouseTrackingRegion(
MouseTrackingRef inMouseRef,
RgnHandle inRegion,
RgnHandle inClip) __attribute__((deprecated));
# 15509 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
ClipMouseTrackingRegion(
MouseTrackingRef inMouseRef,
RgnHandle inRegion) __attribute__((deprecated));
# 15550 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
GetMouseTrackingRegionID(
MouseTrackingRef inMouseRef,
MouseTrackingRegionID * outID) __attribute__((deprecated));
# 15587 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
GetMouseTrackingRegionRefCon(
MouseTrackingRef inMouseRef,
void ** outRefCon) __attribute__((deprecated));
# 15633 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
MoveMouseTrackingRegion(
MouseTrackingRef inMouseRef,
SInt16 deltaH,
SInt16 deltaV,
RgnHandle inClip) __attribute__((deprecated));
# 15674 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
SetMouseTrackingRegionEnabled(
MouseTrackingRef inMouseRef,
Boolean inEnabled) __attribute__((deprecated));
# 15722 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
ClipWindowMouseTrackingRegions(
WindowRef inWindow,
OSType inSignature,
RgnHandle inClip) __attribute__((deprecated));
# 15773 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
MoveWindowMouseTrackingRegions(
WindowRef inWindow,
OSType inSignature,
SInt16 deltaH,
SInt16 deltaV,
RgnHandle inClip) __attribute__((deprecated));
# 15819 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
SetWindowMouseTrackingRegionsEnabled(
WindowRef inWindow,
OSType inSignature,
Boolean inEnabled) __attribute__((deprecated));
# 15856 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
ReleaseWindowMouseTrackingRegions(
WindowRef inWindow,
OSType inSignature) __attribute__((deprecated));
# 15878 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
typedef struct OpaqueToolboxObjectClassRef* ToolboxObjectClassRef;
# 15891 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
RegisterToolboxObjectClass(
CFStringRef inClassID,
ToolboxObjectClassRef inBaseClass,
ItemCount inNumEvents,
const EventTypeSpec * inEventList,
EventHandlerUPP inEventHandler,
void * inEventHandlerData,
ToolboxObjectClassRef * outClassRef) __attribute__((deprecated));
# 15913 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
UnregisterToolboxObjectClass(ToolboxObjectClassRef inClassRef) __attribute__((deprecated));
# 15923 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventParamTabletPointerRec = 'tbrc',
typeTabletPointerRec = 'tbrc'
};
enum {
kEventWindowDefDrawFrame = kEventWindowDrawFrame,
kEventWindowDefDrawPart = kEventWindowDrawPart,
kEventWindowDefGetRegion = kEventWindowGetRegion,
kEventWindowDefHitTest = kEventWindowHitTest,
kEventWindowDefInit = kEventWindowInit,
kEventWindowDefDispose = kEventWindowDispose,
kEventWindowDefDragHilite = kEventWindowDragHilite,
kEventWindowDefModified = kEventWindowModified,
kEventWindowDefSetupProxyDragImage = kEventWindowSetupProxyDragImage,
kEventWindowDefStateChanged = kEventWindowStateChanged,
kEventWindowDefMeasureTitle = kEventWindowMeasureTitle,
kEventWindowDefDrawGrowBox = kEventWindowDrawGrowBox,
kEventWindowDefGetGrowImageRegion = kEventWindowGetGrowImageRegion
};
enum {
kEventClassEPPC = kEventClassAppleEvent,
kEventHighLevelEvent = kEventAppleEvent
};
enum {
kEventUpdateActiveInputArea = kEventTextInputUpdateActiveInputArea,
kEventUnicodeForKeyEvent = kEventTextInputUnicodeForKeyEvent,
kEventOffsetToPos = kEventTextInputOffsetToPos,
kEventPosToOffset = kEventTextInputPosToOffset,
kEventShowHideBottomWindow = kEventTextInputShowHideBottomWindow,
kEventGetSelectedText = kEventTextInputGetSelectedText
};
enum {
kEventProcessCommand = kEventCommandProcess,
kEventTabletPointer = kEventTabletPoint
};
typedef UInt32 EventClassID;
typedef UInt32 EventClass;
typedef UInt32 EventType;
enum {
kMouseTrackingMousePressed = kMouseTrackingMouseDown,
kMouseTrackingMouseReleased = kMouseTrackingMouseUp
};
enum {
kEventControlGetSubviewForMouseEvent = kEventControlInterceptSubviewClick
};
#pragma pack(pop)
# 25 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
#define __HITHEME__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
#pragma pack(push, 2)
enum {
kHIThemeOrientationNormal = 0,
kHIThemeOrientationInverted = 1
};
typedef UInt32 HIThemeOrientation;
enum {
kHIThemeSplitterAdornmentNone = 0,
kHIThemeSplitterAdornmentMetal = 1
};
typedef UInt32 HIThemeSplitterAdornment;
enum {
kHIThemeGrowBoxKindNormal = 0,
kHIThemeGrowBoxKindNone = 1
};
typedef UInt32 HIThemeGrowBoxKind;
enum {
kHIThemeGrowBoxSizeNormal = 0,
kHIThemeGrowBoxSizeSmall = 1
};
typedef UInt32 HIThemeGrowBoxSize;
enum {
kHIThemeGroupBoxKindPrimary = 0,
kHIThemeGroupBoxKindSecondary = 1,
# 153 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
kHIThemeGroupBoxKindPrimaryOpaque = 3,
# 162 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
kHIThemeGroupBoxKindSecondaryOpaque = 4
};
typedef UInt32 HIThemeGroupBoxKind;
enum {
kHIThemeHeaderKindWindow = 0,
kHIThemeHeaderKindList = 1
};
typedef UInt32 HIThemeHeaderKind;
enum {
kHIThemeFrameTextFieldSquare = 0,
kHIThemeFrameListBox = 1
};
typedef UInt32 HIThemeFrameKind;
enum {
kHIThemeMenuTitleDrawCondensed = 1 << 0
};
# 227 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIScrollBarTrackInfo {
UInt32 version;
ThemeTrackEnableState enableState;
ThemeTrackPressState pressState;
CGFloat viewsize;
};
typedef struct HIScrollBarTrackInfo HIScrollBarTrackInfo;
# 261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTrackDrawInfo {
UInt32 version;
ThemeTrackKind kind;
HIRect bounds;
SInt32 min;
SInt32 max;
SInt32 value;
UInt32 reserved;
ThemeTrackAttributes attributes;
ThemeTrackEnableState enableState;
UInt8 filler1;
union {
ScrollBarTrackInfo scrollbar;
SliderTrackInfo slider;
ProgressTrackInfo progress;
} trackInfo;
};
typedef struct HIThemeTrackDrawInfo HIThemeTrackDrawInfo;
# 334 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeAnimationTimeInfo {
CFAbsoluteTime start;
CFAbsoluteTime current;
};
typedef struct HIThemeAnimationTimeInfo HIThemeAnimationTimeInfo;
# 364 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeAnimationFrameInfo {
UInt32 index;
};
typedef struct HIThemeAnimationFrameInfo HIThemeAnimationFrameInfo;
# 385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeButtonDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeButtonKind kind;
ThemeButtonValue value;
ThemeButtonAdornment adornment;
union {
HIThemeAnimationTimeInfo time;
HIThemeAnimationFrameInfo frame;
} animation;
};
typedef struct HIThemeButtonDrawInfo HIThemeButtonDrawInfo;
typedef HIThemeButtonDrawInfo * HIThemeButtonDrawInfoPtr;
# 430 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeSplitterDrawInfo {
UInt32 version;
ThemeDrawState state;
HIThemeSplitterAdornment adornment;
};
typedef struct HIThemeSplitterDrawInfo HIThemeSplitterDrawInfo;
typedef HIThemeSplitterDrawInfo * HIThemeSplitterDrawInfoPtr;
enum {
kHIThemeTabAdornmentNone = 0,
kHIThemeTabAdornmentFocus = (1 << 2),
kHIThemeTabAdornmentLeadingSeparator = (1 << 3),
kHIThemeTabAdornmentTrailingSeparator = (1 << 4)
};
typedef UInt32 HIThemeTabAdornment;
enum {
kHIThemeTabSizeNormal = 0,
kHIThemeTabSizeSmall = 1,
kHIThemeTabSizeMini = 3
};
typedef UInt32 HIThemeTabSize;
enum {
kHIThemeTabPositionFirst = 0,
kHIThemeTabPositionMiddle = 1,
kHIThemeTabPositionLast = 2,
kHIThemeTabPositionOnly = 3
};
typedef UInt32 HIThemeTabPosition;
enum {
kHIThemeTabKindNormal = 0
};
typedef UInt32 HIThemeTabKind;
# 561 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTabDrawInfo {
UInt32 version;
ThemeTabStyle style;
ThemeTabDirection direction;
HIThemeTabSize size;
HIThemeTabAdornment adornment;
HIThemeTabKind kind;
HIThemeTabPosition position;
};
typedef struct HIThemeTabDrawInfo HIThemeTabDrawInfo;
# 613 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTabDrawInfoVersionZero {
UInt32 version;
ThemeTabStyle style;
ThemeTabDirection direction;
HIThemeTabSize size;
HIThemeTabAdornment adornment;
};
typedef struct HIThemeTabDrawInfoVersionZero HIThemeTabDrawInfoVersionZero;
enum {
kHIThemeTabPaneAdornmentNormal = 0
};
typedef UInt32 HIThemeTabPaneAdornment;
# 643 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTabPaneDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeTabDirection direction;
HIThemeTabSize size;
HIThemeTabKind kind;
HIThemeTabPaneAdornment adornment;
};
typedef struct HIThemeTabPaneDrawInfo HIThemeTabPaneDrawInfo;
# 691 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTabPaneDrawInfoVersionZero {
UInt32 version;
ThemeDrawState state;
ThemeTabDirection direction;
HIThemeTabSize size;
};
typedef struct HIThemeTabPaneDrawInfoVersionZero HIThemeTabPaneDrawInfoVersionZero;
# 709 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeMenuDrawInfo {
UInt32 version;
ThemeMenuType menuType;
};
typedef struct HIThemeMenuDrawInfo HIThemeMenuDrawInfo;
typedef HIThemeMenuDrawInfo * HIThemeMenuDrawInfoPtr;
# 734 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeMenuItemDrawInfo {
UInt32 version;
ThemeMenuItemType itemType;
ThemeMenuState state;
};
typedef struct HIThemeMenuItemDrawInfo HIThemeMenuItemDrawInfo;
typedef HIThemeMenuItemDrawInfo * HIThemeMenuItemDrawInfoPtr;
# 765 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeFrameDrawInfo {
UInt32 version;
HIThemeFrameKind kind;
ThemeDrawState state;
Boolean isFocused;
};
typedef struct HIThemeFrameDrawInfo HIThemeFrameDrawInfo;
typedef HIThemeFrameDrawInfo * HIThemeFrameDrawInfoPtr;
# 801 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeGroupBoxDrawInfo {
UInt32 version;
ThemeDrawState state;
HIThemeGroupBoxKind kind;
};
typedef struct HIThemeGroupBoxDrawInfo HIThemeGroupBoxDrawInfo;
typedef HIThemeGroupBoxDrawInfo * HIThemeGroupBoxDrawInfoPtr;
# 832 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeGrabberDrawInfo {
UInt32 version;
ThemeDrawState state;
};
typedef struct HIThemeGrabberDrawInfo HIThemeGrabberDrawInfo;
typedef HIThemeGrabberDrawInfo * HIThemeGrabberDrawInfoPtr;
# 857 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemePlacardDrawInfo {
UInt32 version;
ThemeDrawState state;
};
typedef struct HIThemePlacardDrawInfo HIThemePlacardDrawInfo;
typedef HIThemePlacardDrawInfo * HIThemePlacardDrawInfoPtr;
# 882 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeHeaderDrawInfo {
UInt32 version;
ThemeDrawState state;
HIThemeHeaderKind kind;
};
typedef struct HIThemeHeaderDrawInfo HIThemeHeaderDrawInfo;
typedef HIThemeHeaderDrawInfo * HIThemeHeaderDrawInfoPtr;
# 911 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeMenuBarDrawInfo {
UInt32 version;
ThemeMenuBarState state;
OptionBits attributes;
};
typedef struct HIThemeMenuBarDrawInfo HIThemeMenuBarDrawInfo;
typedef HIThemeMenuBarDrawInfo * HIThemeMenuBarDrawInfoPtr;
# 940 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeMenuTitleDrawInfo {
UInt32 version;
ThemeMenuState state;
OptionBits attributes;
# 968 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
CGFloat condensedTitleExtra;
};
typedef struct HIThemeMenuTitleDrawInfo HIThemeMenuTitleDrawInfo;
typedef HIThemeMenuTitleDrawInfo * HIThemeMenuTitleDrawInfoPtr;
# 983 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTickMarkDrawInfo {
UInt32 version;
ThemeDrawState state;
};
typedef struct HIThemeTickMarkDrawInfo HIThemeTickMarkDrawInfo;
typedef HIThemeTickMarkDrawInfo * HIThemeTickMarkDrawInfoPtr;
# 1008 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeWindowDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeWindowType windowType;
ThemeWindowAttributes attributes;
CGFloat titleHeight;
CGFloat titleWidth;
};
typedef struct HIThemeWindowDrawInfo HIThemeWindowDrawInfo;
typedef HIThemeWindowDrawInfo * HIThemeWindowDrawInfoPtr;
# 1054 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeWindowWidgetDrawInfo {
UInt32 version;
ThemeDrawState widgetState;
ThemeTitleBarWidget widgetType;
ThemeDrawState windowState;
ThemeWindowType windowType;
ThemeWindowAttributes attributes;
CGFloat titleHeight;
CGFloat titleWidth;
};
typedef struct HIThemeWindowWidgetDrawInfo HIThemeWindowWidgetDrawInfo;
typedef HIThemeWindowWidgetDrawInfo * HIThemeWindowWidgetDrawInfoPtr;
# 1112 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeSeparatorDrawInfo {
UInt32 version;
ThemeDrawState state;
};
typedef struct HIThemeSeparatorDrawInfo HIThemeSeparatorDrawInfo;
typedef HIThemeSeparatorDrawInfo * HIThemeSeparatorDrawInfoPtr;
# 1137 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeScrollBarDelimitersDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeWindowType windowType;
ThemeWindowAttributes attributes;
};
typedef struct HIThemeScrollBarDelimitersDrawInfo HIThemeScrollBarDelimitersDrawInfo;
typedef HIThemeScrollBarDelimitersDrawInfo * HIThemeScrollBarDelimitersDrawInfoPtr;
# 1174 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeChasingArrowsDrawInfo {
UInt32 version;
ThemeDrawState state;
UInt32 index;
};
typedef struct HIThemeChasingArrowsDrawInfo HIThemeChasingArrowsDrawInfo;
typedef HIThemeChasingArrowsDrawInfo * HIThemeChasingArrowsDrawInfoPtr;
# 1205 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemePopupArrowDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeArrowOrientation orientation;
ThemePopupArrowSize size;
};
typedef struct HIThemePopupArrowDrawInfo HIThemePopupArrowDrawInfo;
typedef HIThemePopupArrowDrawInfo * HIThemePopupArrowDrawInfoPtr;
# 1241 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeGrowBoxDrawInfo {
UInt32 version;
ThemeDrawState state;
HIThemeGrowBoxKind kind;
ThemeGrowDirection direction;
HIThemeGrowBoxSize size;
};
typedef struct HIThemeGrowBoxDrawInfo HIThemeGrowBoxDrawInfo;
typedef HIThemeGrowBoxDrawInfo * HIThemeGrowBoxDrawInfoPtr;
struct HIThemeBackgroundDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeBackgroundKind kind;
};
typedef struct HIThemeBackgroundDrawInfo HIThemeBackgroundDrawInfo;
typedef HIThemeBackgroundDrawInfo * HIThemeBackgroundDrawInfoPtr;
# 1340 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawButton(
const HIRect * inBounds,
const HIThemeButtonDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation,
HIRect * outLabelRect) ;
# 1381 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetButtonShape(
const HIRect * inBounds,
const HIThemeButtonDrawInfo * inDrawInfo,
HIShapeRef * outShape) ;
# 1415 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetButtonContentBounds(
const HIRect * inBounds,
const HIThemeButtonDrawInfo * inDrawInfo,
HIRect * outBounds) ;
# 1449 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetButtonBackgroundBounds(
const HIRect * inBounds,
const HIThemeButtonDrawInfo * inDrawInfo,
HIRect * outBounds) ;
# 1490 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawChasingArrows(
const HIRect * inBounds,
const HIThemeChasingArrowsDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 1528 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawPopupArrow(
const HIRect * inBounds,
const HIThemePopupArrowDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 1568 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawMenuBarBackground(
const HIRect * inBounds,
const HIThemeMenuBarDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 1621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawMenuTitle(
const HIRect * inMenuBarRect,
const HIRect * inTitleRect,
const HIThemeMenuTitleDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation,
HIRect * outLabelRect) ;
# 1662 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawMenuBackground(
const HIRect * inMenuRect,
const HIThemeMenuDrawInfo * inMenuDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 1708 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawMenuItem(
const HIRect * inMenuRect,
const HIRect * inItemRect,
const HIThemeMenuItemDrawInfo * inItemDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation,
HIRect * outContentRect) ;
# 1752 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawMenuSeparator(
const HIRect * inMenuRect,
const HIRect * inItemRect,
const HIThemeMenuItemDrawInfo * inItemDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 1792 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetMenuBackgroundShape(
const HIRect * inMenuRect,
const HIThemeMenuDrawInfo * inMenuDrawInfo,
HIShapeRef * outShape) ;
# 1808 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
enum {
kHIThemeSegmentPositionFirst = 0,
kHIThemeSegmentPositionMiddle = 1,
kHIThemeSegmentPositionLast = 2,
kHIThemeSegmentPositionOnly = 3
};
typedef UInt32 HIThemeSegmentPosition;
enum {
kHIThemeSegmentKindNormal = 0,
kHIThemeSegmentKindInset = 1
};
typedef UInt32 HIThemeSegmentKind;
enum {
kHIThemeSegmentSizeNormal = 0,
kHIThemeSegmentSizeSmall = 1,
kHIThemeSegmentSizeMini = 3
};
typedef UInt32 HIThemeSegmentSize;
enum {
kHIThemeSegmentAdornmentNone = 0,
kHIThemeSegmentAdornmentFocus = (1 << 2),
kHIThemeSegmentAdornmentLeadingSeparator = (1 << 3),
kHIThemeSegmentAdornmentTrailingSeparator = (1 << 4)
};
typedef UInt32 HIThemeSegmentAdornment;
# 1921 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeSegmentDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeButtonValue value;
HIThemeSegmentSize size;
HIThemeSegmentKind kind;
HIThemeSegmentPosition position;
HIThemeSegmentAdornment adornment;
};
typedef struct HIThemeSegmentDrawInfo HIThemeSegmentDrawInfo;
typedef HIThemeSegmentDrawInfo * HIThemeSegmentDrawInfoPtr;
# 1992 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawSegment(
const HIRect * inBounds,
const HIThemeSegmentDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2032 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTabPane(
const HIRect * inRect,
const HIThemeTabPaneDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2072 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTab(
const HIRect * inRect,
const HIThemeTabDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation,
HIRect * outLabelRect) ;
# 2117 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTabPaneDrawShape(
const HIRect * inRect,
ThemeTabDirection inDirection,
HIThemeTabSize inTabSize,
HIShapeRef * outShape) ;
# 2161 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTabPaneContentShape(
const HIRect * inRect,
ThemeTabDirection inDirection,
HIThemeTabSize inTabSize,
HIShapeRef * outShape) ;
# 2201 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTabDrawShape(
const HIRect * inRect,
const HIThemeTabDrawInfo * inDrawInfo,
HIShapeRef * outShape) ;
# 2240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTabShape(
const HIRect * inRect,
const HIThemeTabDrawInfo * inDrawInfo,
HIShapeRef * outShape) ;
# 2253 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
enum {
kHIThemeTextTruncationNone = 0,
kHIThemeTextTruncationMiddle = 1,
kHIThemeTextTruncationEnd = 2,
kHIThemeTextTruncationDefault = 3
};
typedef UInt32 HIThemeTextTruncation;
enum {
kHIThemeTextHorizontalFlushLeft = 0,
kHIThemeTextHorizontalFlushCenter = 1,
kHIThemeTextHorizontalFlushRight = 2,
kHIThemeTextHorizontalFlushDefault = 3
};
typedef UInt32 HIThemeTextHorizontalFlush;
enum {
kHIThemeTextVerticalFlushTop = 0,
kHIThemeTextVerticalFlushCenter = 1,
kHIThemeTextVerticalFlushBottom = 2,
kHIThemeTextVerticalFlushDefault = 3
};
typedef UInt32 HIThemeTextVerticalFlush;
enum {
kHIThemeTextBoxOptionNone = 0,
kHIThemeTextBoxOptionStronglyVertical = (1 << 1),
kHIThemeTextBoxOptionEngraved = (1 << 2)
};
typedef OptionBits HIThemeTextBoxOptions;
enum {
kHIThemeTextInfoVersionZero = 0,
kHIThemeTextInfoVersionOne = 1
};
# 2377 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTextInfo {
UInt32 version;
ThemeDrawState state;
ThemeFontID fontID;
# 2402 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
HIThemeTextHorizontalFlush horizontalFlushness;
# 2412 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
HIThemeTextVerticalFlush verticalFlushness;
HIThemeTextBoxOptions options;
HIThemeTextTruncation truncationPosition;
UInt32 truncationMaxLines;
Boolean truncationHappened;
UInt8 filler1;
CTFontRef font;
};
typedef struct HIThemeTextInfo HIThemeTextInfo;
# 2518 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTextDimensions(
CFTypeRef inString,
CGFloat inWidth,
HIThemeTextInfo * inTextInfo,
CGFloat * outWidth,
CGFloat * outHeight,
CGFloat * outBaseline) ;
# 2580 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTextBox(
CFTypeRef inString,
const HIRect * inBounds,
HIThemeTextInfo * inTextInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern CTFontUIFontType
HIThemeGetUIFontType(ThemeFontID inFontID) ;
# 2663 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTrack(
const HIThemeTrackDrawInfo * inDrawInfo,
const HIRect * inGhostRect,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2707 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTrackTickMarks(
const HIThemeTrackDrawInfo * inDrawInfo,
ItemCount inNumTicks,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2750 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTickMark(
const HIRect * inBounds,
const HIThemeTickMarkDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2786 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackThumbShape(
const HIThemeTrackDrawInfo * inDrawInfo,
HIShapeRef * outThumbShape) ;
# 2822 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern Boolean
HIThemeHitTestTrack(
const HIThemeTrackDrawInfo * inDrawInfo,
const HIPoint * inMousePoint,
ControlPartCode * outPartHit) ;
# 2852 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackBounds(
const HIThemeTrackDrawInfo * inDrawInfo,
HIRect * outBounds) ;
# 2892 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackPartBounds(
const HIThemeTrackDrawInfo * inDrawInfo,
ControlPartCode inPartCode,
HIRect * outPartBounds) ;
# 2940 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackParts(
const HIThemeTrackDrawInfo * inDrawInfo,
UInt32 * outNumberOfParts,
UInt32 inMaxParts,
ControlPartCode * ioPartsBuffer) ;
# 2971 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackDragRect(
const HIThemeTrackDrawInfo * inDrawInfo,
HIRect * outDragRect) ;
# 3004 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackThumbPositionFromOffset(
const HIThemeTrackDrawInfo * inDrawInfo,
const HIPoint * inThumbOffset,
CGFloat * outRelativePosition) ;
# 3039 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackThumbPositionFromBounds(
const HIThemeTrackDrawInfo * inDrawInfo,
const HIRect * inThumbBounds,
CGFloat * outRelativePosition) ;
# 3073 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackLiveValue(
const HIThemeTrackDrawInfo * inDrawInfo,
CGFloat inRelativePosition,
SInt32 * outValue) ;
# 3113 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetScrollBarTrackRect(
const HIRect * inBounds,
const HIScrollBarTrackInfo * inTrackInfo,
Boolean inIsHoriz,
HIRect * outTrackBounds) ;
# 3164 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern Boolean
HIThemeHitTestScrollBarArrows(
const HIRect * inScrollBarBounds,
const HIScrollBarTrackInfo * inTrackInfo,
Boolean inIsHoriz,
const HIPoint * inPtHit,
HIRect * outTrackBounds,
ControlPartCode * outPartCode) ;
# 3209 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawScrollBarDelimiters(
const HIRect * inContRect,
const HIThemeScrollBarDelimitersDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawWindowFrame(
const HIRect * inContRect,
const HIThemeWindowDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation,
HIRect * outTitleRect) ;
# 3307 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTitleBarWidget(
const HIRect * inContRect,
const HIThemeWindowWidgetDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3345 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawGrowBox(
const HIPoint * inOrigin,
const HIThemeGrowBoxDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3380 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetGrowBoxBounds(
const HIPoint * inOrigin,
const HIThemeGrowBoxDrawInfo * inDrawInfo,
HIRect * outBounds) ;
# 3423 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetWindowShape(
const HIRect * inContRect,
const HIThemeWindowDrawInfo * inDrawInfo,
WindowRegionCode inWinRegion,
HIShapeRef * outShape) ;
# 3463 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern Boolean
HIThemeGetWindowRegionHit(
const HIRect * inContRect,
const HIThemeWindowDrawInfo * inDrawInfo,
const HIPoint * inPoint,
WindowRegionCode * outRegionHit) ;
# 3504 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawFrame(
const HIRect * inRect,
const HIThemeFrameDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3542 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawGroupBox(
const HIRect * inRect,
const HIThemeGroupBoxDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3582 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawGenericWell(
const HIRect * inRect,
const HIThemeButtonDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3619 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawPaneSplitter(
const HIRect * inRect,
const HIThemeSplitterDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3656 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawGrabber(
const HIRect * inRect,
const HIThemeGrabberDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3693 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawPlacard(
const HIRect * inRect,
const HIThemePlacardDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3730 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawHeader(
const HIRect * inRect,
const HIThemeHeaderDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3768 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawFocusRect(
const HIRect * inRect,
Boolean inHasFocus,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
enum {
kHIThemeFocusRingOnly = 0,
kHIThemeFocusRingAbove = 1,
kHIThemeFocusRingBelow = 2
};
typedef UInt32 HIThemeFocusRing;
# 3849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeBeginFocus(
CGContextRef inContext,
HIThemeFocusRing inRing,
void * inReserved) ;
# 3885 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeEndFocus(CGContextRef inContext) ;
# 3918 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawSeparator(
const HIRect * inRect,
const HIThemeSeparatorDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3962 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeSetFill(
ThemeBrush inBrush,
void * inInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 4006 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeSetStroke(
ThemeBrush inBrush,
void * inInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 4050 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeSetTextFill(
ThemeTextColor inColor,
void * inInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 4095 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeApplyBackground(
const HIRect * inBounds,
const HIThemeBackgroundDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 4142 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawBackground(
const HIRect * inBounds,
const HIThemeBackgroundDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 4179 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeBrushCreateCGColor(
ThemeBrush inBrush,
CGColorRef * outColor) ;
# 4228 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTextColorForThemeBrush(
ThemeBrush inBrush,
Boolean inWindowIsActive,
ThemeTextColor * outColor) ;
#pragma pack(pop)
# 33 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 2 3
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
#pragma pack(push, 2)
typedef ControlID HIViewID;
enum {
kHIViewZOrderAbove = 1,
kHIViewZOrderBelow = 2
};
typedef UInt32 HIViewZOrderOp;
# 85 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HIViewFrameMetrics {
CGFloat top;
CGFloat left;
CGFloat bottom;
CGFloat right;
};
typedef struct HIViewFrameMetrics HIViewFrameMetrics;
# 121 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHIViewAttributeSendCommandToUserFocus = 1 << 0,
# 138 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewAttributeIsFieldEditor = 1 << 1,
kHIViewSendCommandToUserFocus = kHIViewAttributeSendCommandToUserFocus
};
# 155 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHIViewFeatureSupportsGhosting = 1 << 0,
kHIViewFeatureAllowsSubviews = 1 << 1,
kHIViewFeatureGetsFocusOnClick = 1 << 8,
kHIViewFeatureSupportsLiveFeedback = 1 << 10,
kHIViewFeatureSupportsRadioBehavior = 1 << 11,
# 194 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFeatureAutoToggles = 1 << 14,
kHIViewFeatureIdlesWithTimer = 1 << 23,
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFeatureInvertsUpDownValueMeaning = 1 << 24,
kHIViewFeatureIsOpaque = 1 << 25,
# 227 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFeatureDoesNotDraw = 1 << 27,
kHIViewFeatureDoesNotUseSpecialParts = 1 << 28,
# 244 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFeatureIgnoresClicks = 1 << 29
};
# 255 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHIViewValidFeaturesForPanther = 0x3B804D03
};
# 267 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHIViewSupportsGhosting = kHIViewFeatureSupportsGhosting,
kHIViewAllowsSubviews = kHIViewFeatureAllowsSubviews,
kHIViewGetsFocusOnClick = kHIViewFeatureGetsFocusOnClick,
kHIViewSupportsLiveFeedback = kHIViewFeatureSupportsLiveFeedback,
kHIViewSupportsRadioBehavior = kHIViewFeatureSupportsRadioBehavior,
kHIViewAutoToggles = kHIViewFeatureAutoToggles,
kHIViewIdlesWithTimer = kHIViewFeatureIdlesWithTimer,
kHIViewInvertsUpDownValueMeaning = kHIViewFeatureInvertsUpDownValueMeaning,
kHIViewIsOpaque = kHIViewFeatureIsOpaque,
kHIViewDoesNotDraw = kHIViewFeatureDoesNotDraw,
kHIViewDoesNotUseSpecialParts = kHIViewFeatureDoesNotUseSpecialParts,
kHIViewIgnoresClicks = kHIViewFeatureIgnoresClicks
};
typedef UInt64 HIViewFeatures;
typedef ControlPartCode HIViewPartCode;
enum {
kHIViewNoPart = 0,
kHIViewIndicatorPart = 129,
kHIViewDisabledPart = 254,
kHIViewInactivePart = 255,
kHIViewEntireView = kHIViewNoPart
};
# 320 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
# 337 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewStructureMetaPart = -1,
# 347 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewContentMetaPart = -2,
# 362 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewOpaqueMetaPart = -3,
# 382 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewClickableMetaPart = -4
};
enum {
kHIViewFocusNoPart = kHIViewNoPart,
kHIViewFocusNextPart = -1,
kHIViewFocusPrevPart = -2
};
typedef ControlContentType HIViewImageContentType;
typedef ControlImageContentInfo HIViewImageContentInfo;
typedef SInt16 HIViewContentType;
enum {
kHIViewContentTextOnly = 0,
kHIViewContentNone = 0,
kHIViewContentIconSuiteRef = 129,
kHIViewContentIconRef = 132,
kHIViewContentCGImageRef = 134,
kHIViewContentImageResource = 135,
kHIViewContentImageFile = 136,
kHIViewContentIconTypeAndCreator = 137,
# 486 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewContentAlertIconType = 138,
kHIViewContentNSImage = 139
};
# 503 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HITypeAndCreator {
OSType type;
OSType creator;
};
typedef struct HITypeAndCreator HITypeAndCreator;
# 545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HIViewContentInfo {
HIViewContentType contentType;
union {
IconSuiteRef iconSuite;
IconRef iconRef;
HITypeAndCreator iconTypeAndCreator;
CGImageRef imageRef;
CFStringRef imageResource;
CFURLRef imageFile;
} u;
};
typedef struct HIViewContentInfo HIViewContentInfo;
typedef HIViewContentInfo * HIViewContentInfoPtr;
# 579 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
# 590 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
errNeedsCompositedWindow = -30598
};
# 603 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
#define kHIViewClassID CFSTR("com.apple.hiview")
# 631 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern HIViewRef
HIViewGetRoot(WindowRef inWindow) ;
# 673 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewAddSubview(
HIViewRef inParent,
HIViewRef inNewChild) ;
# 703 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewRemoveFromSuperview(HIViewRef inView) ;
# 730 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern HIViewRef
HIViewGetSuperview(HIViewRef inView) ;
# 758 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern HIViewRef
HIViewGetFirstSubview(HIViewRef inView) ;
# 786 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern HIViewRef
HIViewGetLastSubview(HIViewRef inView) ;
# 813 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern HIViewRef
HIViewGetNextView(HIViewRef inView) ;
# 840 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern HIViewRef
HIViewGetPreviousView(HIViewRef inView) ;
# 868 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern CFIndex
HIViewCountSubviews(HIViewRef inView) ;
# 905 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetIndexedSubview(
HIViewRef inView,
CFIndex inSubviewIndex,
HIViewRef * outSubview) ;
# 944 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetZOrder(
HIViewRef inView,
HIViewZOrderOp inOp,
HIViewRef inOther) ;
# 960 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HIViewKind {
OSType signature;
OSType kind;
};
typedef struct HIViewKind HIViewKind;
enum {
kHIViewKindSignatureApple = 'appl'
};
# 1016 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetVisible(
HIViewRef inView,
Boolean inVisible) ;
# 1053 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewIsVisible(HIViewRef inView) ;
# 1085 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewIsLatentlyVisible(HIViewRef inView) ;
# 1114 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetHilite(
HIViewRef inView,
HIViewPartCode inHilitePart) ;
# 1154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewIsActive(
HIViewRef inView,
Boolean * outIsLatentActive) ;
# 1188 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetActivated(
HIViewRef inView,
Boolean inSetActivated) ;
# 1228 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewIsEnabled(
HIViewRef inView,
Boolean * outIsLatentEnabled) ;
# 1261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetEnabled(
HIViewRef inView,
Boolean inSetEnabled) ;
# 1297 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewIsCompositingEnabled(HIViewRef inView) ;
# 1334 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetText(
HIViewRef inView,
CFStringRef inText) ;
# 1370 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern CFStringRef
HIViewCopyText(HIViewRef inView) ;
# 1396 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern SInt32
HIViewGetValue(HIViewRef inView) ;
# 1425 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetValue(
HIViewRef inView,
SInt32 inValue) ;
# 1453 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern SInt32
HIViewGetMinimum(HIViewRef inView) ;
# 1482 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetMinimum(
HIViewRef inView,
SInt32 inMinimum) ;
# 1510 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern SInt32
HIViewGetMaximum(HIViewRef inView) ;
# 1539 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetMaximum(
HIViewRef inView,
SInt32 inMaximum) ;
# 1572 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern SInt32
HIViewGetViewSize(HIViewRef inView) ;
# 1606 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetViewSize(
HIViewRef inView,
SInt32 inViewSize) ;
# 1636 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewIsValid(HIViewRef inView) ;
# 1665 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetID(
HIViewRef inView,
HIViewID inID) ;
# 1696 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetID(
HIViewRef inView,
HIViewID * outID) ;
# 1727 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetCommandID(
HIViewRef inView,
UInt32 inCommandID) ;
# 1758 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetCommandID(
HIViewRef inView,
UInt32 * outCommandID) ;
# 1788 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetKind(
HIViewRef inView,
HIViewKind * outViewKind) ;
# 1826 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetBounds(
HIViewRef inView,
HIRect * outRect) ;
# 1858 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetFrame(
HIViewRef inView,
HIRect * outRect) ;
# 1891 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetFrame(
HIViewRef inView,
const HIRect * inRect) ;
# 1928 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewMoveBy(
HIViewRef inView,
CGFloat inDX,
CGFloat inDY) ;
# 1965 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewPlaceInSuperviewAt(
HIViewRef inView,
CGFloat inX,
CGFloat inY) ;
# 1997 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewReshapeStructure(HIViewRef inView) ;
# 2035 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewRegionChanged(
HIViewRef inView,
HIViewPartCode inRegionCode) ;
# 2071 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewCopyShape(
HIViewRef inView,
HIViewPartCode inPart,
HIShapeRef * outShape) ;
# 2108 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetOptimalBounds(
HIViewRef inView,
HIRect * outBounds,
CGFloat * outBaseLineOffset) ;
# 2149 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetTextFont(
HIViewRef inView,
HIViewPartCode inPart,
CTFontRef inFont) ;
# 2186 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetTextHorizontalFlush(
HIViewRef inView,
HIViewPartCode inPart,
HIThemeTextHorizontalFlush inHFlush) ;
# 2223 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetTextVerticalFlush(
HIViewRef inView,
HIViewPartCode inPart,
HIThemeTextVerticalFlush inVFlush) ;
# 2260 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetTextTruncation(
HIViewRef inView,
HIViewPartCode inPart,
HIThemeTextTruncation inTrunc) ;
# 2312 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetThemeTextInfo(
HIViewRef inView,
HIViewPartCode inPart,
UInt32 inVersion,
HIThemeTextInfo * outTextInfo) ;
# 2360 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetViewForMouseEvent(
HIViewRef inView,
EventRef inEvent,
HIViewRef * outView) ;
# 2395 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewClick(
HIViewRef inView,
EventRef inEvent) ;
# 2445 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSimulateClick(
HIViewRef inView,
HIViewPartCode inPartToClick,
UInt32 inModifiers,
HIViewPartCode * outPartClicked) ;
# 2482 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetPartHit(
HIViewRef inView,
const HIPoint * inPoint,
HIViewPartCode * outPart) ;
# 2524 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetSubviewHit(
HIViewRef inView,
const HIPoint * inPoint,
Boolean inDeep,
HIViewRef * outView) ;
# 2610 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewTrackMouseLocation(
HIViewRef inView,
OptionBits inOptions,
EventTimeout inTimeout,
ItemCount inClientEventCount,
EventTypeSpec * inClientEventList,
HIPoint * outWhere,
UInt32 * outModifiers,
EventRef * outEvent,
MouseTrackingResult * outResult) ;
# 2710 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewTrackMouseShape(
HIViewRef inView,
HIShapeRef inShape,
Boolean * ioWasInShape,
OptionBits inOptions,
EventTimeout inTimeout,
ItemCount inClientEventCount,
EventTypeSpec * inClientEventList,
UInt32 * outModifiers,
EventRef * outEvent,
MouseTrackingResult * outResult) ;
typedef struct OpaqueHIViewTrackingAreaRef* HIViewTrackingAreaRef;
enum {
kEventParamHIViewTrackingArea = 'ctra',
typeHIViewTrackingAreaRef = 'ctra'
};
# 2771 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kEventControlTrackingAreaEntered = 23
};
# 2814 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kEventControlTrackingAreaExited = 24
};
typedef UInt64 HIViewTrackingAreaID;
# 2860 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewNewTrackingArea(
HIViewRef inView,
HIShapeRef inShape,
HIViewTrackingAreaID inID,
HIViewTrackingAreaRef * outRef) ;
# 2894 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewChangeTrackingArea(
HIViewTrackingAreaRef inArea,
HIShapeRef inShape) ;
# 2926 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetTrackingAreaID(
HIViewTrackingAreaRef inArea,
HIViewTrackingAreaID * outID) ;
# 2957 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewDisposeTrackingArea(HIViewTrackingAreaRef inArea) ;
# 2987 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewGetNeedsDisplay(HIViewRef inView) ;
# 3025 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetNeedsDisplay(
HIViewRef inView,
Boolean inNeedsDisplay) ;
# 3070 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetNeedsDisplayInRect(
HIViewRef inView,
const HIRect * inRect,
Boolean inNeedsDisplay) ;
# 3118 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetNeedsDisplayInShape(
HIViewRef inView,
HIShapeRef inArea,
Boolean inNeedsDisplay) ;
# 3164 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetNeedsDisplayInRegion(
HIViewRef inView,
RgnHandle inRgn,
Boolean inNeedsDisplay) ;
# 3225 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetSubviewsNeedDisplayInShape(
HIViewRef inView,
HIShapeRef inArea,
Boolean inNeedsDisplay) ;
# 3270 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewRender(HIViewRef inView) ;
# 3306 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetSizeConstraints(
HIViewRef inView,
HISize * outMinSize,
HISize * outMaxSize) ;
# 3349 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewConvertPoint(
HIPoint * ioPoint,
HIViewRef inSourceView,
HIViewRef inDestView) ;
# 3389 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewConvertRect(
HIRect * ioRect,
HIViewRef inSourceView,
HIViewRef inDestView) ;
# 3429 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewConvertRegion(
RgnHandle ioRgn,
HIViewRef inSourceView,
HIViewRef inDestView) ;
# 3465 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetDrawingEnabled(
HIViewRef inView,
Boolean inEnabled) ;
# 3494 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewIsDrawingEnabled(HIViewRef inView) ;
# 3540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewScrollRect(
HIViewRef inView,
const HIRect * inRect,
CGFloat inDX,
CGFloat inDY) ;
# 3579 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetBoundsOrigin(
HIViewRef inView,
CGFloat inX,
CGFloat inY) ;
# 3597 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
# 3606 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFocusOnAnyControl = 1 << 0,
# 3616 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFocusTraditionally = 1 << 1,
# 3626 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFocusWithoutWrapping = 1 << 2
};
# 3668 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewAdvanceFocus(
HIViewRef inRootForFocus,
EventModifiers inModifiers) ;
# 3714 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewAdvanceFocusWithOptions(
HIViewRef inRootForFocus,
UInt32 inModifiers,
OptionBits inOptions) ;
# 3746 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetFocusPart(
HIViewRef inView,
HIViewPartCode * outFocusPart) ;
# 3776 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewSubtreeContainsFocus(HIViewRef inSubtreeStart) ;
# 3809 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetNextFocus(
HIViewRef inView,
HIViewRef inNextFocus) ;
# 3843 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetFirstSubViewFocus(
HIViewRef inParent,
HIViewRef inSubView) ;
# 3884 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetFocus(
HIViewRef inView,
HIViewPartCode inPart,
OptionBits inOptions) ;
# 3922 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetFocus(
WindowRef inWindow,
HIViewRef * outView,
HIViewPartCode * outPart) ;
# 3973 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewShowsFocus(
HIViewRef inView,
HIViewPartCode inPart) ;
# 4000 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHILayoutBindNone = 0,
kHILayoutBindMin = 1,
kHILayoutBindMax = 2,
kHILayoutBindLeft = kHILayoutBindMin,
kHILayoutBindRight = kHILayoutBindMax,
kHILayoutBindTop = kHILayoutBindMin,
kHILayoutBindBottom = kHILayoutBindMax
};
typedef UInt16 HIBindingKind;
# 4041 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HISideBinding {
HIViewRef toView;
HIBindingKind kind;
CGFloat offset;
};
typedef struct HISideBinding HISideBinding;
struct HIBinding {
HISideBinding top;
HISideBinding left;
HISideBinding bottom;
HISideBinding right;
};
typedef struct HIBinding HIBinding;
enum {
kHILayoutScaleAbsolute = 0
};
typedef UInt16 HIScaleKind;
struct HIAxisScale {
HIViewRef toView;
HIScaleKind kind;
CGFloat ratio;
};
typedef struct HIAxisScale HIAxisScale;
struct HIScaling {
HIAxisScale x;
HIAxisScale y;
};
typedef struct HIScaling HIScaling;
# 4167 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHILayoutPositionNone = 0,
kHILayoutPositionCenter = 1,
kHILayoutPositionMin = 2,
kHILayoutPositionMax = 3,
kHILayoutPositionLeft = kHILayoutPositionMin,
kHILayoutPositionRight = kHILayoutPositionMax,
kHILayoutPositionTop = kHILayoutPositionMin,
kHILayoutPositionBottom = kHILayoutPositionMax
};
typedef UInt16 HIPositionKind;
struct HIAxisPosition {
HIViewRef toView;
HIPositionKind kind;
CGFloat offset;
};
typedef struct HIAxisPosition HIAxisPosition;
struct HIPositioning {
HIAxisPosition x;
HIAxisPosition y;
};
typedef struct HIPositioning HIPositioning;
# 4270 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HILayoutInfo {
UInt32 version;
HIBinding binding;
HIScaling scale;
HIPositioning position;
};
typedef struct HILayoutInfo HILayoutInfo;
enum {
kHILayoutInfoVersionZero = 0
};
# 4329 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetLayoutInfo(
HIViewRef inView,
HILayoutInfo * outLayoutInfo) ;
# 4361 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetLayoutInfo(
HIViewRef inView,
const HILayoutInfo * inLayoutInfo) ;
# 4389 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSuspendLayout(HIViewRef inView) ;
# 4415 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewResumeLayout(HIViewRef inView) ;
# 4452 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewIsLayoutActive(HIViewRef inView) ;
# 4483 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern Boolean
HIViewIsLayoutLatentlyActive(HIViewRef inView) ;
# 4511 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewApplyLayout(HIViewRef inView) ;
# 4551 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetImageContent(
HIViewRef inView,
HIViewPartCode inPart,
const HIViewContentInfo * inContent) ;
#define HIViewCopyImageContent(inView,inPart,outContent) HIViewCopyImageContentWithSize( (inView), (inPart), sizeof(*(outContent)), (outContent) )
# 4611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewCopyImageContentWithSize(
HIViewRef inView,
HIViewPartCode inPart,
ByteCount inContentSize,
HIViewContentInfo * outContent) ;
# 4644 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern void
HIViewRetainImageContent(const HIViewContentInfo * inContent) ;
# 4675 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern void
HIViewReleaseImageContent(HIViewContentInfo * ioContent) ;
# 4706 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern WindowRef
HIViewGetWindow(HIViewRef inView) ;
# 4739 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewFindByID(
HIViewRef inStartView,
HIViewID inID,
HIViewRef * outView) ;
# 4771 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetAttributes(
HIViewRef inView,
OptionBits * outAttrs) ;
# 4806 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewChangeAttributes(
HIViewRef inView,
OptionBits inAttrsToSet,
OptionBits inAttrsToClear) ;
# 4857 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewCreateOffscreenImage(
HIViewRef inView,
OptionBits inOptions,
HIRect * outFrame,
CGImageRef * outImage) ;
# 4899 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewDrawCGImage(
CGContextRef inContext,
const HIRect * inBounds,
CGImageRef inImage) ;
# 4980 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewGetFeatures(
HIViewRef inView,
HIViewFeatures * outFeatures) ;
# 5033 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewChangeFeatures(
HIViewRef inView,
HIViewFeatures inFeaturesToSet,
HIViewFeatures inFeaturesToClear) ;
# 5047 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHITransformNone = 0x00,
kHITransformDisabled = 0x01,
kHITransformSelected = 0x4000
};
# 5094 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HICreateTransformedCGImage(
CGImageRef inImage,
OptionBits inTransform,
CGImageRef * outImage) ;
# 5125 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern EventTargetRef
HIViewGetEventTarget(HIViewRef inView) ;
# 5169 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
extern OSStatus
HIViewSetUpTextColor(
HIViewRef inView,
CGContextRef inContext) ;
#pragma pack(pop)
# 42 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextUtils.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextUtils.h" 3
#define __HITEXTUTILS__
# 100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextUtils.h" 3
extern OSStatus
GetTextAndEncodingFromCFString(
CFStringRef inString,
BytePtr outText,
ByteCount inTextMaxLength,
ByteCount * outTextLength,
TextEncoding * outEncoding) ;
# 46 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
#define __HIACCESSIBILITY__
# 121 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetChildAtPoint = 1
};
# 156 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetFocusedChild = 2
};
# 187 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetAllAttributeNames = 21
};
# 218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetAllParameterizedAttributeNames = 25
};
# 264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetNamedAttribute = 22
};
# 303 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleSetNamedAttribute = 23
};
# 340 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleIsNamedAttributeSettable = 24
};
# 371 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetAllActionNames = 41
};
# 424 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessiblePerformNamedAction = 42
};
# 466 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetNamedActionDescription = 44
};
# 508 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
extern AXUIElementRef
AXUIElementCreateWithHIObjectAndIdentifier(
HIObjectRef inHIObject,
UInt64 inIdentifier) ;
# 539 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
extern HIObjectRef
AXUIElementGetHIObject(AXUIElementRef inUIElement) ;
# 573 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
extern void
AXUIElementGetIdentifier(
AXUIElementRef inUIElement,
UInt64 * outIdentifier) ;
# 610 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
extern void
AXNotificationHIObjectNotify(
CFStringRef inNotification,
HIObjectRef inHIObject,
UInt64 inIdentifier) ;
# 670 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
extern CFStringRef
HICopyAccessibilityRoleDescription(
CFStringRef inRole,
CFStringRef inSubrole) ;
# 716 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
extern CFStringRef
HICopyAccessibilityActionDescription(CFStringRef inAction) ;
# 747 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
extern Boolean
HIObjectIsAccessibilityIgnored(HIObjectRef inObject) ;
# 786 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
extern OSStatus
HIObjectSetAccessibilityIgnored(
HIObjectRef inObject,
Boolean inIgnored) ;
# 873 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
extern OSStatus
HIObjectSetAuxiliaryAccessibilityAttribute(
HIObjectRef inHIObject,
UInt64 inIdentifier,
CFStringRef inAttributeName,
CFTypeRef inAttributeData) ;
# 960 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
extern OSStatus
HIObjectOverrideAccessibilityContainment(
HIObjectRef inHIObject,
AXUIElementRef inDesiredParent,
AXUIElementRef inDesiredWindow,
AXUIElementRef inDesiredTopLevelUIElement) ;
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
#define __NOTIFICATION__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
#pragma pack(push, 2)
typedef struct NMRec NMRec;
typedef NMRec * NMRecPtr;
typedef void ( * NMProcPtr)(NMRecPtr nmReqPtr);
typedef NMProcPtr NMUPP;
struct NMRec {
QElemPtr qLink;
short qType;
short nmFlags;
SRefCon nmPrivate;
short nmReserved;
short nmMark;
Handle nmIcon;
Handle nmSound;
StringPtr nmStr;
NMUPP nmResp;
SRefCon nmRefCon;
};
# 62 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
extern NMUPP
NewNMUPP(NMProcPtr userRoutine) ;
# 73 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
extern void
DisposeNMUPP(NMUPP userUPP) ;
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
extern void
InvokeNMUPP(
NMRecPtr nmReqPtr,
NMUPP userUPP) ;
#define NewNMUPP(userRoutine) ((NMUPP)userRoutine)
#define DisposeNMUPP(userUPP)
#define InvokeNMUPP(nmReqPtr,userUPP) (*userUPP)(nmReqPtr)
# 113 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
extern OSErr
NMInstall(NMRecPtr nmReqPtr) ;
# 128 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
extern OSErr
NMRemove(NMRecPtr nmReqPtr) ;
#pragma pack(pop)
# 58 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 85 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
#define __DIALOGS__
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
#pragma pack(push, 2)
enum {
kControlDialogItem = 4,
kButtonDialogItem = kControlDialogItem | 0,
kCheckBoxDialogItem = kControlDialogItem | 1,
kRadioButtonDialogItem = kControlDialogItem | 2,
kResourceControlDialogItem = kControlDialogItem | 3,
kStaticTextDialogItem = 8,
kEditTextDialogItem = 16,
kIconDialogItem = 32,
kPictureDialogItem = 64,
kUserDialogItem = 0,
kHelpDialogItem = 1,
kItemDisableBit = 128
};
enum {
ctrlItem = 4,
btnCtrl = 0,
chkCtrl = 1,
radCtrl = 2,
resCtrl = 3,
statText = 8,
editText = 16,
iconItem = 32,
picItem = 64,
userItem = 0,
itemDisable = 128
};
enum {
kStdOkItemIndex = 1,
kStdCancelItemIndex = 2,
ok = kStdOkItemIndex,
cancel = kStdCancelItemIndex
};
enum {
kStopIcon = 0,
kNoteIcon = 1,
kCautionIcon = 2,
stopIcon = kStopIcon,
noteIcon = kNoteIcon,
cautionIcon = kCautionIcon
};
# 124 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
typedef SInt16 DITLMethod;
enum {
overlayDITL = 0,
appendDITLRight = 1,
appendDITLBottom = 2
};
typedef SInt16 StageList;
typedef DialogPtr DialogRef;
# 147 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
struct DialogTemplate {
Rect boundsRect;
SInt16 procID;
Boolean visible;
Boolean filler1;
Boolean goAwayFlag;
Boolean filler2;
SInt32 refCon;
SInt16 itemsID;
Str255 title;
};
typedef struct DialogTemplate DialogTemplate;
typedef DialogTemplate * DialogTPtr;
typedef DialogTPtr * DialogTHndl;
struct AlertTemplate {
Rect boundsRect;
SInt16 itemsID;
StageList stages;
};
typedef struct AlertTemplate AlertTemplate;
typedef AlertTemplate * AlertTPtr;
typedef AlertTPtr * AlertTHndl;
typedef SInt16 DialogItemIndexZeroBased;
typedef SInt16 DialogItemIndex;
typedef SInt16 DialogItemType;
typedef void ( * SoundProcPtr)(SInt16 soundNumber);
typedef Boolean ( * ModalFilterProcPtr)(DialogRef theDialog, EventRecord *theEvent, DialogItemIndex *itemHit);
typedef Boolean ( * ModalFilterYDProcPtr)(DialogRef theDialog, EventRecord *theEvent, short *itemHit, void *yourDataPtr);
typedef void ( * UserItemProcPtr)(DialogRef theDialog, DialogItemIndex itemNo);
typedef SoundProcPtr SoundUPP;
typedef ModalFilterProcPtr ModalFilterUPP;
typedef ModalFilterYDProcPtr ModalFilterYDUPP;
typedef UserItemProcPtr UserItemUPP;
# 200 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern ModalFilterUPP
NewModalFilterUPP(ModalFilterProcPtr userRoutine) ;
# 211 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern ModalFilterYDUPP
NewModalFilterYDUPP(ModalFilterYDProcPtr userRoutine) ;
# 222 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern UserItemUPP
NewUserItemUPP(UserItemProcPtr userRoutine) ;
# 242 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DisposeModalFilterUPP(ModalFilterUPP userUPP) ;
# 253 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DisposeModalFilterYDUPP(ModalFilterYDUPP userUPP) ;
# 264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DisposeUserItemUPP(UserItemUPP userUPP) ;
# 284 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern Boolean
InvokeModalFilterUPP(
DialogRef theDialog,
EventRecord * theEvent,
DialogItemIndex * itemHit,
ModalFilterUPP userUPP) ;
# 299 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern Boolean
InvokeModalFilterYDUPP(
DialogRef theDialog,
EventRecord * theEvent,
short * itemHit,
void * yourDataPtr,
ModalFilterYDUPP userUPP) ;
# 315 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
InvokeUserItemUPP(
DialogRef theDialog,
DialogItemIndex itemNo,
UserItemUPP userUPP) ;
# 333 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
#define NewModalFilterUPP(userRoutine) ((ModalFilterUPP)userRoutine)
#define NewModalFilterYDUPP(userRoutine) ((ModalFilterYDUPP)userRoutine)
#define NewUserItemUPP(userRoutine) ((UserItemUPP)userRoutine)
#define DisposeModalFilterUPP(userUPP)
#define DisposeModalFilterYDUPP(userUPP)
#define DisposeUserItemUPP(userUPP)
#define InvokeModalFilterUPP(theDialog,theEvent,itemHit,userUPP) (*userUPP)(theDialog, theEvent, itemHit)
#define InvokeModalFilterYDUPP(theDialog,theEvent,itemHit,yourDataPtr,userUPP) (*userUPP)(theDialog, theEvent, itemHit, yourDataPtr)
#define InvokeUserItemUPP(theDialog,itemNo,userUPP) (*userUPP)(theDialog, itemNo)
# 351 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
enum {
kAlertStopAlert = 0,
kAlertNoteAlert = 1,
kAlertCautionAlert = 2,
kAlertPlainAlert = 3
};
typedef SInt16 AlertType;
enum {
kAlertDefaultOKText = -1,
kAlertDefaultCancelText = -1,
kAlertDefaultOtherText = -1
};
enum {
kAlertStdAlertOKButton = 1,
kAlertStdAlertCancelButton = 2,
kAlertStdAlertOtherButton = 3,
kAlertStdAlertHelpButton = 4
};
# 382 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
enum {
kDialogFlagsUseThemeBackground = (1 << 0),
kDialogFlagsUseControlHierarchy = (1 << 1),
kDialogFlagsHandleMovableModal = (1 << 2),
# 414 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
kDialogFlagsUseThemeControls = (1 << 3),
# 423 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
kDialogFlagsUseCompositing = (1 << 8)
};
# 433 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
enum {
# 442 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
kAlertFlagsUseThemeBackground = (1 << 0),
kAlertFlagsUseControlHierarchy = (1 << 1),
kAlertFlagsAlertIsMovable = (1 << 2),
# 466 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
kAlertFlagsUseThemeControls = (1 << 3),
kAlertFlagsUseCompositing = (1 << 8)
};
enum {
kDialogFontNoFontStyle = 0,
kDialogFontUseFontMask = 0x0001,
kDialogFontUseFaceMask = 0x0002,
kDialogFontUseSizeMask = 0x0004,
kDialogFontUseForeColorMask = 0x0008,
kDialogFontUseBackColorMask = 0x0010,
kDialogFontUseModeMask = 0x0020,
kDialogFontUseJustMask = 0x0040,
kDialogFontUseAllMask = 0x00FF,
kDialogFontAddFontSizeMask = 0x0100,
kDialogFontUseFontNameMask = 0x0200,
kDialogFontAddToMetaFontMask = 0x0400
};
enum {
kDialogFontUseThemeFontIDMask = 0x0080
};
# 511 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
struct AlertStdAlertParamRec {
Boolean movable;
Boolean helpButton;
ModalFilterUPP filterProc;
ConstStringPtr defaultText;
ConstStringPtr cancelText;
ConstStringPtr otherText;
# 554 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
SInt16 defaultButton;
SInt16 cancelButton;
UInt16 position;
};
typedef struct AlertStdAlertParamRec AlertStdAlertParamRec;
typedef AlertStdAlertParamRec * AlertStdAlertParamPtr;
enum {
kHICommandOther = 'othr'
};
enum {
kStdCFStringAlertVersionOne = 1,
kStdCFStringAlertVersionTwo = 2
};
enum {
kStdAlertDoNotDisposeSheet = 1 << 0,
kStdAlertDoNotAnimateOnDefault = 1 << 1,
kStdAlertDoNotAnimateOnCancel = 1 << 2,
kStdAlertDoNotAnimateOnOther = 1 << 3,
# 639 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
kStdAlertDoNotCloseOnHelp = 1 << 4
};
# 655 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
struct AlertStdCFStringAlertParamRec {
UInt32 version;
Boolean movable;
Boolean helpButton;
CFStringRef defaultText;
CFStringRef cancelText;
CFStringRef otherText;
# 698 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
SInt16 defaultButton;
SInt16 cancelButton;
UInt16 position;
OptionBits flags;
IconRef icon;
};
typedef struct AlertStdCFStringAlertParamRec AlertStdCFStringAlertParamRec;
typedef AlertStdCFStringAlertParamRec * AlertStdCFStringAlertParamPtr;
# 742 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogRef
NewDialog(
void * dStorage,
const Rect * boundsRect,
ConstStr255Param title,
Boolean visible,
SInt16 procID,
WindowRef behind,
Boolean goAwayFlag,
SRefCon refCon,
Handle items) ;
# 766 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogRef
GetNewDialog(
SInt16 dialogID,
void * dStorage,
WindowRef behind) ;
# 784 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogRef
NewColorDialog(
void * dStorage,
const Rect * boundsRect,
ConstStr255Param title,
Boolean visible,
SInt16 procID,
WindowRef behind,
Boolean goAwayFlag,
SRefCon refCon,
Handle items) ;
# 808 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DisposeDialog(DialogRef theDialog) ;
# 823 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
ModalDialog(
ModalFilterUPP modalFilter,
DialogItemIndex * itemHit) ;
# 840 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern Boolean
IsDialogEvent(const EventRecord * theEvent) ;
# 855 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern Boolean
DialogSelect(
const EventRecord * theEvent,
DialogRef * theDialog,
DialogItemIndex * itemHit) ;
# 873 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DrawDialog(DialogRef theDialog) ;
# 888 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
UpdateDialog(
DialogRef theDialog,
RgnHandle updateRgn) ;
# 905 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
HideDialogItem(
DialogRef theDialog,
DialogItemIndex itemNo) ;
# 922 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
ShowDialogItem(
DialogRef theDialog,
DialogItemIndex itemNo) ;
# 939 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogItemIndexZeroBased
FindDialogItem(
DialogRef theDialog,
Point thePt) ;
# 959 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DialogCut(DialogRef theDialog) ;
# 974 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DialogPaste(DialogRef theDialog) ;
# 989 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DialogCopy(DialogRef theDialog) ;
# 1004 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DialogDelete(DialogRef theDialog) ;
# 1022 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogItemIndex
Alert(
SInt16 alertID,
ModalFilterUPP modalFilter) ;
# 1039 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogItemIndex
StopAlert(
SInt16 alertID,
ModalFilterUPP modalFilter) ;
# 1056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogItemIndex
NoteAlert(
SInt16 alertID,
ModalFilterUPP modalFilter) ;
# 1073 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogItemIndex
CautionAlert(
SInt16 alertID,
ModalFilterUPP modalFilter) ;
# 1090 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
GetDialogItem(
DialogRef theDialog,
DialogItemIndex itemNo,
DialogItemType * itemType,
Handle * item,
Rect * box) ;
# 1110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
SetDialogItem(
DialogRef theDialog,
DialogItemIndex itemNo,
DialogItemType itemType,
Handle item,
const Rect * box) ;
# 1130 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
ParamText(
ConstStr255Param param0,
ConstStr255Param param1,
ConstStr255Param param2,
ConstStr255Param param3) ;
# 1149 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
SelectDialogItemText(
DialogRef theDialog,
DialogItemIndex itemNo,
SInt16 strtSel,
SInt16 endSel) ;
# 1168 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
GetDialogItemText(
Handle item,
Str255 text) ;
# 1185 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
SetDialogItemText(
Handle item,
ConstStr255Param text) ;
# 1202 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern SInt16
GetAlertStage(void) ;
# 1217 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
SetDialogFont(SInt16 fontNum) ;
# 1232 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
ResetAlertStage(void) ;
# 1248 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
GetParamText(
StringPtr param0,
StringPtr param1,
StringPtr param2,
StringPtr param3) ;
# 1267 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
AppendDITL(
DialogRef theDialog,
Handle theHandle,
DITLMethod method) ;
# 1285 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogItemIndex
CountDITL(DialogRef theDialog) ;
# 1300 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
ShortenDITL(
DialogRef theDialog,
DialogItemIndex numberItems) ;
# 1317 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
InsertDialogItem(
DialogRef theDialog,
DialogItemIndex afterItem,
DialogItemType itemType,
Handle itemHandle,
const Rect * box) ;
# 1337 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
RemoveDialogItems(
DialogRef theDialog,
DialogItemIndex itemNo,
DialogItemIndex amountToRemove,
Boolean disposeItemData) ;
# 1359 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern Boolean
StdFilterProc(
DialogRef theDialog,
EventRecord * event,
DialogItemIndex * itemHit) ;
# 1380 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSErr
GetStdFilterProc(ModalFilterUPP * theProc) ;
# 1395 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSErr
SetDialogDefaultItem(
DialogRef theDialog,
DialogItemIndex newItem) ;
# 1412 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSErr
SetDialogCancelItem(
DialogRef theDialog,
DialogItemIndex newItem) ;
# 1429 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSErr
SetDialogTracksCursor(
DialogRef theDialog,
Boolean tracks) ;
# 1454 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogRef
NewFeaturesDialog(
void * inStorage,
const Rect * inBoundsRect,
ConstStr255Param inTitle,
Boolean inIsVisible,
SInt16 inProcID,
WindowRef inBehind,
Boolean inGoAwayFlag,
SRefCon inRefCon,
Handle inItemListHandle,
UInt32 inFlags) ;
# 1479 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSErr
AutoSizeDialog(DialogRef inDialog) ;
# 1499 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSErr
StandardAlert(
AlertType inAlertType,
ConstStr255Param inError,
ConstStr255Param inExplanation,
const AlertStdAlertParamRec * inAlertParam,
SInt16 * outItemHit) ;
# 1537 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
GetStandardAlertDefaultParams(
AlertStdCFStringAlertParamPtr param,
UInt32 version) ;
# 1596 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
CreateStandardAlert(
AlertType alertType,
CFStringRef error,
CFStringRef explanation,
const AlertStdCFStringAlertParamRec * param,
DialogRef * outAlert) ;
# 1644 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
RunStandardAlert(
DialogRef inAlert,
ModalFilterUPP filterProc,
DialogItemIndex * outItemHit) ;
# 1736 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
CreateStandardSheet(
AlertType alertType,
CFStringRef error,
CFStringRef explanation,
const AlertStdCFStringAlertParamRec * param,
EventTargetRef notifyTarget,
DialogRef * outSheet) ;
# 1788 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
CloseStandardSheet(
DialogRef inSheet,
UInt32 inResultCommand) ;
# 1805 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSErr
GetDialogItemAsControl(
DialogRef inDialog,
DialogItemIndex inItemNo,
ControlRef * outControl) ;
# 1823 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSErr
MoveDialogItem(
DialogRef inDialog,
DialogItemIndex inItemNo,
SInt16 inHoriz,
SInt16 inVert) ;
# 1842 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSErr
SizeDialogItem(
DialogRef inDialog,
DialogItemIndex inItemNo,
SInt16 inWidth,
SInt16 inHeight) ;
# 1861 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSErr
AppendDialogItemList(
DialogRef dialog,
SInt16 ditlID,
DITLMethod method) ;
# 1917 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
SetDialogTimeout(
DialogRef inDialog,
DialogItemIndex inButtonToPress,
UInt32 inSecondsToWait) ;
# 1961 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
GetDialogTimeout(
DialogRef inDialog,
DialogItemIndex * outButtonToPress,
UInt32 * outSecondsToWait,
UInt32 * outSecondsRemaining) ;
# 1980 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
SetModalDialogEventMask(
DialogRef inDialog,
EventMask inMask) ;
# 1997 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern OSStatus
GetModalDialogEventMask(
DialogRef inDialog,
EventMask * outMask) ;
# 2023 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern WindowRef
GetDialogWindow(DialogRef dialog) ;
# 2039 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern TEHandle
GetDialogTextEditHandle(DialogRef dialog) ;
# 2055 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern SInt16
GetDialogDefaultItem(DialogRef dialog) ;
# 2071 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern SInt16
GetDialogCancelItem(DialogRef dialog) ;
# 2087 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern SInt16
GetDialogKeyboardFocusItem(DialogRef dialog) ;
# 2103 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
SetPortDialogPort(DialogRef dialog) ;
# 2119 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern CGrafPtr
GetDialogPort(DialogRef dialog) ;
# 2135 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern DialogRef
GetDialogFromWindow(WindowRef window) ;
# 2175 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
#pragma pack(pop)
# 86 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 97 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#define __TEXTSERVICES__
# 32 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
#define __AEINTERACTION__
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
typedef Boolean ( * AEIdleProcPtr)(EventRecord *theEvent, SInt32 *sleepTime, RgnHandle *mouseRgn);
typedef Boolean ( * AEFilterProcPtr)(EventRecord *theEvent, SInt32 returnID, AETransactionID transactionID, const AEAddressDesc *sender);
typedef AEIdleProcPtr AEIdleUPP;
typedef AEFilterProcPtr AEFilterUPP;
# 70 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AESend(
const AppleEvent * theAppleEvent,
AppleEvent * reply,
AESendMode sendMode,
AESendPriority sendPriority,
SInt32 timeOutInTicks,
AEIdleUPP idleProc,
AEFilterUPP filterProc) ;
# 92 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEProcessAppleEvent(const EventRecord * theEventRecord) ;
# 133 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSStatus
AEProcessEvent(EventRef inEvent) ;
# 154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEResetTimer(const AppleEvent * reply) ;
# 164 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
typedef SInt8 AEInteractAllowed;
enum {
kAEInteractWithSelf = 0,
kAEInteractWithLocal = 1,
kAEInteractWithAll = 2
};
# 182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEGetInteractionAllowed(AEInteractAllowed * level) ;
# 197 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AESetInteractionAllowed(AEInteractAllowed level) ;
# 212 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEInteractWithUser(
SInt32 timeOutInTicks,
NMRecPtr nmReqPtr,
AEIdleUPP idleProc) ;
# 240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AESuspendTheCurrentEvent(const AppleEvent * theAppleEvent) ;
# 258 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
enum {
kAEDoNotIgnoreHandler = 0x00000000,
kAEIgnoreAppPhacHandler = 0x00000001,
kAEIgnoreAppEventHandler = 0x00000002,
kAEIgnoreSysPhacHandler = 0x00000004,
kAEIgnoreSysEventHandler = 0x00000008,
kAEIngoreBuiltInEventHandler = 0x00000010,
kAEDontDisposeOnResume = (long)0x80000000
};
enum {
kAENoDispatch = 0,
kAEUseStandardDispatch = (long)0xFFFFFFFF
};
# 285 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEResumeTheCurrentEvent(
const AppleEvent * theAppleEvent,
const AppleEvent * reply,
AEEventHandlerUPP dispatcher,
SRefCon handlerRefcon) ;
# 304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEGetTheCurrentEvent(AppleEvent * theAppleEvent) ;
# 319 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AESetTheCurrentEvent(const AppleEvent * theAppleEvent) ;
# 335 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern AEIdleUPP
NewAEIdleUPP(AEIdleProcPtr userRoutine) ;
# 346 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern AEFilterUPP
NewAEFilterUPP(AEFilterProcPtr userRoutine) ;
# 357 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern void
DisposeAEIdleUPP(AEIdleUPP userUPP) ;
# 368 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern void
DisposeAEFilterUPP(AEFilterUPP userUPP) ;
# 379 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern Boolean
InvokeAEIdleUPP(
EventRecord * theEvent,
SInt32 * sleepTime,
RgnHandle * mouseRgn,
AEIdleUPP userUPP) ;
# 394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern Boolean
InvokeAEFilterUPP(
EventRecord * theEvent,
SInt32 returnID,
AETransactionID transactionID,
const AEAddressDesc * sender,
AEFilterUPP userUPP) ;
# 411 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
#define NewAEIdleUPP(userRoutine) ((AEIdleUPP)userRoutine)
#define NewAEFilterUPP(userRoutine) ((AEFilterUPP)userRoutine)
#define DisposeAEIdleUPP(userUPP)
#define DisposeAEFilterUPP(userUPP)
#define InvokeAEIdleUPP(theEvent,sleepTime,mouseRgn,userUPP) (*userUPP)(theEvent, sleepTime, mouseRgn)
#define InvokeAEFilterUPP(theEvent,returnID,transactionID,sender,userUPP) (*userUPP)(theEvent, returnID, transactionID, sender)
# 33 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 2 3
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#pragma pack(push, 2)
enum {
kTextService = 'tsvc'
};
# 70 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
enum {
kTSMVersion = 0x0150,
kTSM15Version = kTSMVersion,
kTSM20Version = 0x0200,
kTSM22Version = 0x0220,
kTSM23Version = 0x0230,
kTSM24Version = 0x0240
};
typedef OSType InterfaceTypeList[1];
typedef OSType TSMDocumentInterfaceType;
# 94 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
enum {
# 104 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTextServiceDocumentInterfaceType = kTextService,
kTSMTEDocumentInterfaceType = 'tmTE',
kUnicodeDocumentInterfaceType = 'udoc',
kUnicodeDocument = kUnicodeDocumentInterfaceType
};
typedef OSType TextServiceClass;
# 149 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
enum {
# 158 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kKeyboardInputMethodClass = 'inpm',
# 176 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kInkInputMethodClass = 'ink ',
# 203 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kCharacterPaletteInputMethodClass = 'cplt',
# 212 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kSpeechInputMethodClass = 'voic',
# 221 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kOCRInputMethodClass = 'ocr '
};
typedef struct OpaqueTSMDocumentID* TSMDocumentID;
# 234 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
typedef OSType TSMDocumentPropertyTag;
# 262 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
enum {
# 277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentTextServicePropertyTag = kTextServiceDocumentInterfaceType,
kTSMDocumentUnicodePropertyTag = kUnicodeDocumentInterfaceType,
kTSMDocumentTSMTEPropertyTag = kTSMTEDocumentInterfaceType,
# 309 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentSupportGlyphInfoPropertyTag = 'dpgi',
# 321 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentUseFloatingWindowPropertyTag = 'uswm',
# 333 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentUnicodeInputWindowPropertyTag = 'dpub',
# 347 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentSupportDocumentAccessPropertyTag = 'dapy',
kTSMDocumentPropertySupportGlyphInfo = kTSMDocumentSupportGlyphInfoPropertyTag,
kTSMDocumentPropertyUnicodeInputWindow = kTSMDocumentUnicodeInputWindowPropertyTag,
# 360 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentRefconPropertyTag = 'refc',
# 378 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentInputModePropertyTag = 'imim',
# 394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentWindowLevelPropertyTag = 'twlp',
# 409 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentInputSourceOverridePropertyTag = 'inis',
# 431 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentEnabledInputSourcesPropertyTag = 'enis'
};
# 462 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
TSMSetDocumentProperty(
TSMDocumentID docID,
TSMDocumentPropertyTag propertyTag,
UInt32 propertySize,
void * propertyData) ;
# 498 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
TSMGetDocumentProperty(
TSMDocumentID docID,
TSMDocumentPropertyTag propertyTag,
UInt32 bufferSize,
UInt32 * actualSize,
void * propertyBuffer) ;
# 518 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
TSMRemoveDocumentProperty(
TSMDocumentID docID,
TSMDocumentPropertyTag propertyTag) ;
enum {
kUnknownLanguage = 0xFFFF,
kUnknownScript = 0xFFFF,
kNeutralScript = 0xFFFF
};
enum {
bTakeActiveEvent = 15,
bHandleAERecording = 16,
bScriptMask = 0x00007F00,
bLanguageMask = 0x000000FF,
bScriptLanguageMask = bScriptMask + bLanguageMask
};
enum {
kCMGetScriptLangSupport = 0x0001,
kCMInitiateTextService = 0x0002,
kCMTerminateTextService = 0x0003,
kCMActivateTextService = 0x0004,
kCMDeactivateTextService = 0x0005,
kCMTextServiceEvent = 0x0006,
kCMTextServiceEventRef = kCMTextServiceEvent,
kCMGetTextServiceMenu = 0x0007,
kCMTextServiceMenuSelect = 0x0008,
kCMFixTextService = 0x0009,
kCMSetTextServiceCursor = 0x000A,
kCMHidePaletteWindows = 0x000B,
kCMGetTextServiceProperty = 0x000C,
kCMSetTextServiceProperty = 0x000D,
kCMUCTextServiceEvent = 0x000E,
kCMCopyTextServiceInputModeList = 0x000F,
kCMInputModePaletteItemHit = 0x0010,
kCMGetInputModePaletteMenu = 0x0011
};
#define mGetScriptCode(cdRec) ((ScriptCode) ((cdRec.componentFlags & bScriptMask) >> 8))
#define mGetLanguageCode(cdRec) ((LangCode) cdRec.componentFlags & bLanguageMask)
struct TextServiceInfo {
Component fComponent;
Str255 fItemName;
};
typedef struct TextServiceInfo TextServiceInfo;
typedef TextServiceInfo * TextServiceInfoPtr;
struct TextServiceList {
short fTextServiceCount;
TextServiceInfo fServices[1];
};
typedef struct TextServiceList TextServiceList;
typedef TextServiceList * TextServiceListPtr;
typedef TextServiceListPtr * TextServiceListHandle;
struct ScriptLanguageRecord {
ScriptCode fScript;
LangCode fLanguage;
};
typedef struct ScriptLanguageRecord ScriptLanguageRecord;
struct ScriptLanguageSupport {
SInt16 fScriptLanguageCount;
ScriptLanguageRecord fScriptLanguageArray[1];
};
typedef struct ScriptLanguageSupport ScriptLanguageSupport;
typedef ScriptLanguageSupport * ScriptLanguageSupportPtr;
typedef ScriptLanguageSupportPtr * ScriptLanguageSupportHandle;
struct TSMGlyphInfo {
CFRange range;
ATSFontRef fontRef;
UInt16 collection;
UInt16 glyphID;
};
typedef struct TSMGlyphInfo TSMGlyphInfo;
struct TSMGlyphInfoArray {
ItemCount numGlyphInfo;
TSMGlyphInfo glyphInfo[1];
};
typedef struct TSMGlyphInfoArray TSMGlyphInfoArray;
# 623 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
NewTSMDocument(
SInt16 numOfInterface,
InterfaceTypeList supportedInterfaceTypes,
TSMDocumentID * idocID,
SRefCon refcon) ;
# 645 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
DeleteTSMDocument(TSMDocumentID idocID) ;
# 660 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
ActivateTSMDocument(TSMDocumentID idocID) ;
# 675 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
DeactivateTSMDocument(TSMDocumentID idocID) ;
# 690 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
FixTSMDocument(TSMDocumentID idocID) ;
# 722 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
GetServiceList(
SInt16 numOfInterface,
const OSType * supportedInterfaceTypes,
TextServiceListHandle * serviceInfo,
SInt32 * seedValue) __attribute__((deprecated));
# 741 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
OpenTextService(
TSMDocumentID idocID,
Component aComponent,
ComponentInstance * aComponentInstance) __attribute__((deprecated));
# 759 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
CloseTextService(
TSMDocumentID idocID,
ComponentInstance aComponentInstance) __attribute__((deprecated));
# 776 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
SendAEFromTSMComponent(
const AppleEvent * theAppleEvent,
AppleEvent * reply,
AESendMode sendMode,
AESendPriority sendPriority,
SInt32 timeOutInTicks,
AEIdleUPP idleProc,
AEFilterUPP filterProc) __attribute__((deprecated));
# 804 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
SendTextInputEvent(EventRef inEvent) ;
# 829 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
SetDefaultInputMethod(
Component ts,
ScriptLanguageRecord * slRecordPtr) __attribute__((deprecated));
# 856 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
GetDefaultInputMethod(
Component * ts,
ScriptLanguageRecord * slRecordPtr) __attribute__((deprecated));
# 880 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
SetTextServiceLanguage(ScriptLanguageRecord * slRecordPtr) __attribute__((deprecated));
# 902 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
GetTextServiceLanguage(ScriptLanguageRecord * slRecordPtr) __attribute__((deprecated));
# 917 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSErr
UseInputWindow(
TSMDocumentID idocID,
Boolean useWindow) ;
# 972 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
TSMSetInlineInputRegion(
TSMDocumentID inTSMDocument,
WindowRef inWindow,
RgnHandle inRegion) __attribute__((deprecated));
# 991 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
GetScriptLanguageSupport(
ComponentInstance ts,
ScriptLanguageSupportHandle * scriptHdl) __attribute__((deprecated));
# 1008 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
InitiateTextService(ComponentInstance ts) ;
# 1023 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
TerminateTextService(ComponentInstance ts) ;
# 1038 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
ActivateTextService(ComponentInstance ts) ;
# 1053 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
DeactivateTextService(ComponentInstance ts) ;
# 1068 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
GetTextServiceMenu(
ComponentInstance ts,
MenuRef * serviceMenu) ;
# 1087 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
TextServiceEventRef(
ComponentInstance ts,
EventRef event) ;
# 1104 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
FixTextService(ComponentInstance ts) ;
# 1119 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
HidePaletteWindows(ComponentInstance ts) ;
# 1130 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
typedef OSType TextServicePropertyTag;
# 1146 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
enum {
# 1157 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTextServiceJaTypingMethodPropertyTag = 'jtyp',
# 1194 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTextServiceInputModePropertyTag = kTSMDocumentInputModePropertyTag,
kIMJaTypingMethodProperty = kTextServiceJaTypingMethodPropertyTag,
kIMJaTypingMethodRoman = 'roma',
kIMJaTypingMethodKana = 'kana'
};
typedef SInt32 TextServicePropertyValue;
# 1217 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#define kTextServiceInputModeRoman CFSTR("com.apple.inputmethod.Roman")
#define kTextServiceInputModePassword CFSTR("com.apple.inputmethod.Password")
#define kTextServiceInputModeJapaneseHiragana CFSTR("com.apple.inputmethod.Japanese.Hiragana")
#define kTextServiceInputModeJapaneseKatakana CFSTR("com.apple.inputmethod.Japanese.Katakana")
#define kTextServiceInputModeJapaneseFullWidthRoman CFSTR("com.apple.inputmethod.Japanese.FullWidthRoman")
#define kTextServiceInputModeJapaneseHalfWidthKana CFSTR("com.apple.inputmethod.Japanese.HalfWidthKana")
#define kTextServiceInputModeJapanesePlaceName CFSTR("com.apple.inputmethod.Japanese.PlaceName")
#define kTextServiceInputModeJapaneseFirstName CFSTR("com.apple.inputmethod.Japanese.FirstName")
#define kTextServiceInputModeJapaneseLastName CFSTR("com.apple.inputmethod.Japanese.LastName")
#define kTextServiceInputModeBopomofo CFSTR("com.apple.inputmethod.TradChinese.Bopomofo")
#define kTextServiceInputModeTradChinesePlaceName CFSTR("com.apple.inputmethod.TradChinese.PlaceName")
#define kTextServiceInputModeHangul CFSTR("com.apple.inputmethod.Korean.Hangul")
#define kTextServiceInputModeJapanese CFSTR("com.apple.inputmethod.Japanese")
#define kTextServiceInputModeTradChinese CFSTR("com.apple.inputmethod.TradChinese")
#define kTextServiceInputModeSimpChinese CFSTR("com.apple.inputmethod.SimpChinese")
#define kTextServiceInputModeKorean CFSTR("com.apple.inputmethod.Korean")
# 1259 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
GetTextServiceProperty(
ComponentInstance ts,
TextServicePropertyTag inPropertyTag,
TextServicePropertyValue * outPropertyValue) ;
# 1277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
SetTextServiceProperty(
ComponentInstance ts,
TextServicePropertyTag inPropertyTag,
TextServicePropertyValue inPropertyValue) ;
# 1352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
CopyTextServiceInputModeList(
ComponentInstance ts,
CFDictionaryRef * outInputModes) ;
# 1368 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#define kComponentBundleInputModeDictKey CFSTR("ComponentInputModeDict")
#define kTSInputModeListKey CFSTR("tsInputModeListKey")
#define kTSInputModeMenuIconFileKey CFSTR("tsInputModeMenuIconFileKey")
#define kTSInputModeAlternateMenuIconFileKey CFSTR("tsInputModeAlternateMenuIconFileKey")
#define kTSInputModePaletteIconFileKey CFSTR("tsInputModePaletteIconFileKey")
#define kTSInputModeDefaultStateKey CFSTR("tsInputModeDefaultStateKey")
#define kTSInputModeScriptKey CFSTR("tsInputModeScriptKey")
#define kTSInputModePrimaryInScriptKey CFSTR("tsInputModePrimaryInScriptKey")
#define kTSInputModeIsVisibleKey CFSTR("tsInputModeIsVisibleKey")
#define kTSInputModeKeyEquivalentModifiersKey CFSTR("tsInputModeKeyEquivalentModifiersKey")
#define kTSInputModeKeyEquivalentKey CFSTR("tsInputModeKeyEquivalentKey")
#define kTSInputModeJISKeyboardShortcutKey CFSTR("tsInputModeJISKeyboardShortcutKey")
#define kTSVisibleInputModeOrderedArrayKey CFSTR("tsVisibleInputModeOrderedArrayKey")
#define kComponentBundleInvisibleInSystemUIKey CFSTR("ComponentInvisibleInSystemUI")
# 1438 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern Boolean
TSMCopyInputMethodEnabledInputModes(
Component inComponent,
CFArrayRef * outInputModeArray) __attribute__((deprecated));
# 1470 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
TSMSelectInputMode(
Component inComponent,
CFStringRef inInputMode) __attribute__((deprecated));
# 1492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern TSMDocumentID
TSMGetActiveDocument(void) ;
# 1518 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
GetDefaultInputMethodOfClass(
Component * aComp,
ScriptLanguageRecord * slRecPtr,
TextServiceClass tsClass) __attribute__((deprecated));
# 1547 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
SetDefaultInputMethodOfClass(
Component aComp,
ScriptLanguageRecord * slRecPtr,
TextServiceClass tsClass) __attribute__((deprecated));
# 1580 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
SelectTextService(Component aComp) __attribute__((deprecated));
# 1604 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
DeselectTextService(Component aComp) __attribute__((deprecated));
# 1629 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern Boolean
IsTextServiceSelected(Component aComp) __attribute__((deprecated));
# 1678 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern void
TSMInputModePaletteLoadButtons(CFArrayRef paletteButtonsArray) __attribute__((deprecated));
# 1708 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern void
TSMInputModePaletteUpdateButtons(CFArrayRef paletteButtonsArray) __attribute__((deprecated));
# 1772 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#define kTSInputModePaletteItemTypeKey CFSTR("tsInputModePaletteItemTypeKey")
#define kTSInputModePaletteItemIconKey CFSTR("tsInputModePaletteItemIconKey")
#define kTSInputModePaletteItemAltIconKey CFSTR("tsInputModePaletteItemAltIconKey")
#define kTSInputModePaletteItemStateKey CFSTR("tsInputModePaletteItemStateKey")
#define kTSInputModePaletteItemEnabledKey CFSTR("tsInputModePaletteItemEnabledKey")
#define kTSInputModePaletteItemIDKey CFSTR("tsInputModePaletteItemIDKey")
# 1824 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
InputModePaletteItemHit(
ComponentInstance inInstance,
UInt32 inItemID,
UInt32 inItemState) __attribute__((deprecated));
# 1863 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern ComponentResult
GetInputModePaletteMenu(
ComponentInstance inInstance,
UInt32 inItemID,
CFArrayRef * outMenuItemsArray) __attribute__((deprecated));
# 1923 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#define kTSInputModePaletteItemTitleKey CFSTR("tsInputModePaletteItemTitleKey")
#define kTSInputModePaletteItemKeyEquivalentKey CFSTR("tsInputModePaletteItemKeyEquivalentKey")
#define kTSInputModePaletteItemKeyEquivalentModifiersKey CFSTR("tsInputModePaletteItemKeyEquivalentModifiersKey")
#pragma pack(pop)
# 98 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
#define __SCRAP__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
#pragma pack(push, 2)
# 51 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
typedef FourCharCode ScrapFlavorType;
enum {
kScrapFlavorTypePicture = 'PICT',
kScrapFlavorTypeText = 'TEXT',
kScrapFlavorTypeTextStyle = 'styl',
kScrapFlavorTypeMovie = 'moov',
kScrapFlavorTypeSound = 'snd ',
kScrapFlavorTypeUnicode = 'utxt',
kScrapFlavorTypeUTF16External = 'ut16',
kScrapFlavorTypeUnicodeStyle = 'ustl'
};
# 86 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
LoadScrap(void) __attribute__((deprecated));
# 104 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
UnloadScrap(void) __attribute__((deprecated));
# 126 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
enum {
kScrapFlavorSizeUnknown = -1
};
enum {
kScrapReservedFlavorType = 'srft'
};
# 155 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
enum {
kScrapFlavorMaskNone = 0x00000000,
kScrapFlavorMaskSenderOnly = 0x00000001,
kScrapFlavorMaskTranslated = 0x00000002
};
typedef UInt32 ScrapFlavorFlags;
struct ScrapFlavorInfo {
ScrapFlavorType flavorType;
ScrapFlavorFlags flavorFlags;
};
typedef struct ScrapFlavorInfo ScrapFlavorInfo;
typedef struct OpaqueScrapRef* ScrapRef;
#define kScrapRefNone ((ScrapRef)NULL)
#define kScrapClipboardScrap CFSTR("com.apple.scrap.clipboard")
#define kScrapFindScrap CFSTR("com.apple.scrap.find")
enum {
kScrapGetNamedScrap = 0,
kScrapClearNamedScrap = (1L << 0)
};
# 235 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
GetScrapByName(
CFStringRef name,
OptionBits options,
ScrapRef * scrap) __attribute__((deprecated));
# 262 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
GetCurrentScrap(ScrapRef * scrap) __attribute__((deprecated));
# 289 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
GetScrapFlavorFlags(
ScrapRef scrap,
ScrapFlavorType flavorType,
ScrapFlavorFlags * flavorFlags) __attribute__((deprecated));
# 318 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
GetScrapFlavorSize(
ScrapRef scrap,
ScrapFlavorType flavorType,
Size * byteCount) __attribute__((deprecated));
# 348 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
GetScrapFlavorData(
ScrapRef scrap,
ScrapFlavorType flavorType,
Size * byteCount,
void * destination) __attribute__((deprecated));
# 382 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
ClearCurrentScrap(void) __attribute__((deprecated));
# 409 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
ClearScrap(ScrapRef * inOutScrap) __attribute__((deprecated));
# 457 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
PutScrapFlavor(
ScrapRef scrap,
ScrapFlavorType flavorType,
ScrapFlavorFlags flavorFlags,
Size flavorSize,
const void * flavorData) __attribute__((deprecated));
# 475 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
typedef OSStatus ( * ScrapPromiseKeeperProcPtr)(ScrapRef scrap, ScrapFlavorType flavorType, void *userData);
typedef ScrapPromiseKeeperProcPtr ScrapPromiseKeeperUPP;
# 485 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern ScrapPromiseKeeperUPP
NewScrapPromiseKeeperUPP(ScrapPromiseKeeperProcPtr userRoutine) __attribute__((deprecated));
# 496 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern void
DisposeScrapPromiseKeeperUPP(ScrapPromiseKeeperUPP userUPP) __attribute__((deprecated));
# 507 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
InvokeScrapPromiseKeeperUPP(
ScrapRef scrap,
ScrapFlavorType flavorType,
void * userData,
ScrapPromiseKeeperUPP userUPP) __attribute__((deprecated));
#define NewScrapPromiseKeeperUPP(userRoutine) ((ScrapPromiseKeeperUPP)userRoutine)
#define DisposeScrapPromiseKeeperUPP(userUPP)
#define InvokeScrapPromiseKeeperUPP(scrap,flavorType,userData,userUPP) (*userUPP)(scrap, flavorType, userData)
# 553 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
SetScrapPromiseKeeper(
ScrapRef scrap,
ScrapPromiseKeeperUPP upp,
const void * userData) __attribute__((deprecated));
# 580 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
GetScrapFlavorCount(
ScrapRef scrap,
UInt32 * infoCount) __attribute__((deprecated));
# 611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
GetScrapFlavorInfoList(
ScrapRef scrap,
UInt32 * infoCount,
ScrapFlavorInfo info[]) __attribute__((deprecated));
# 648 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
CallInScrapPromises(void) __attribute__((deprecated));
#pragma pack(pop)
# 102 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
#define __MACTEXTEDITOR__
# 63 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
#pragma pack(push, 2)
typedef struct OpaqueTXNObject* TXNObject;
typedef UInt32 TXNVersionValue;
# 78 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNFrameID;
enum {
kTXNDisabledFunctionalityErr = -22019,
kTXNOperationNotAllowedErr = -22020
};
enum {
kTXNWillDefaultToATSUIBit = 0,
kTXNWillDefaultToCarbonEventBit = 1
};
typedef OptionBits TXNFeatureBits;
enum {
kTXNWillDefaultToATSUIMask = 1L << kTXNWillDefaultToATSUIBit,
kTXNWillDefaultToCarbonEventMask = 1L << kTXNWillDefaultToCarbonEventBit
};
enum {
kTXNWantMoviesBit = 0,
kTXNWantSoundBit = 1,
kTXNWantGraphicsBit = 2,
kTXNAlwaysUseQuickDrawTextBit = 3,
kTXNUseTemporaryMemoryBit = 4
};
typedef OptionBits TXNInitOptions;
enum {
kTXNWantMoviesMask = 1L << kTXNWantMoviesBit,
kTXNWantSoundMask = 1L << kTXNWantSoundBit,
kTXNWantGraphicsMask = 1L << kTXNWantGraphicsBit,
kTXNAlwaysUseQuickDrawTextMask = 1L << kTXNAlwaysUseQuickDrawTextBit,
kTXNUseTemporaryMemoryMask = 1L << kTXNUseTemporaryMemoryBit
};
enum {
kTXNDefaultFontSize = 0x000C0000
};
enum {
kTXNDefaultFontStyle = normal
};
# 145 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
enum {
kTXNDrawGrowIconBit = 0,
kTXNShowWindowBit = 1,
kTXNWantHScrollBarBit = 2,
kTXNWantVScrollBarBit = 3,
kTXNReadOnlyBit = 5,
kTXNNoSelectionBit = 7,
kTXNSaveStylesAsSTYLResourceBit = 8,
kOutputTextInUnicodeEncodingBit = 9,
kTXNDoNotInstallDragProcsBit = 10,
kTXNAlwaysWrapAtViewEdgeBit = 11,
kTXNDontDrawSelectionWhenInactiveBit = 13,
kTXNSingleLineOnlyBit = 14,
kTXNDisableDragAndDropBit = 15,
kTXNMonostyledTextBit = 17,
kTXNDoFontSubstitutionBit = 22
};
# 176 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef OptionBits TXNFrameOptions;
enum {
kTXNDrawGrowIconMask = 1L << kTXNDrawGrowIconBit,
kTXNShowWindowMask = 1L << kTXNShowWindowBit,
# 199 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNWantHScrollBarMask = 1L << kTXNWantHScrollBarBit,
# 208 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNWantVScrollBarMask = 1L << kTXNWantVScrollBarBit,
# 217 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNReadOnlyMask = 1L << kTXNReadOnlyBit,
kTXNNoSelectionMask = 1L << kTXNNoSelectionBit,
# 239 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSaveStylesAsSTYLResourceMask = 1L << kTXNSaveStylesAsSTYLResourceBit,
kOutputTextInUnicodeEncodingMask = 1L << kOutputTextInUnicodeEncodingBit,
kTXNDoNotInstallDragProcsMask = 1L << kTXNDoNotInstallDragProcsBit,
kTXNAlwaysWrapAtViewEdgeMask = 1L << kTXNAlwaysWrapAtViewEdgeBit,
kTXNDontDrawSelectionWhenInactiveMask = 1L << kTXNDontDrawSelectionWhenInactiveBit,
kTXNSingleLineOnlyMask = 1L << kTXNSingleLineOnlyBit,
kTXNDisableDragAndDropMask = 1L << kTXNDisableDragAndDropBit,
kTXNMonostyledTextMask = 1L << kTXNMonostyledTextBit,
kTXNDoFontSubstitutionMask = 1L << kTXNDoFontSubstitutionBit
};
enum {
kTXNSetFlushnessBit = 0,
kTXNSetJustificationBit = 1,
kTXNUseFontFallBackBit = 2,
kTXNRotateTextBit = 3,
kTXNUseVerticalTextBit = 4,
kTXNDontUpdateBoxRectBit = 5,
kTXNDontDrawTextBit = 6,
kTXNUseCGContextRefBit = 7,
kTXNDontWrapTextBit = 9
};
# 324 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef OptionBits TXNTextBoxOptions;
enum {
kTXNSetFlushnessMask = 1L << kTXNSetFlushnessBit,
kTXNSetJustificationMask = 1L << kTXNSetJustificationBit,
kTXNUseFontFallBackMask = 1L << kTXNUseFontFallBackBit,
kTXNRotateTextMask = 1L << kTXNRotateTextBit,
kTXNUseVerticalTextMask = 1L << kTXNUseVerticalTextBit,
# 368 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNDontUpdateBoxRectMask = 1L << kTXNDontUpdateBoxRectBit,
kTXNDontDrawTextMask = 1L << kTXNDontDrawTextBit,
kTXNUseCGContextRefMask = 1L << kTXNUseCGContextRefBit,
kTXNDontWrapTextMask = 1L << kTXNDontWrapTextBit
};
struct TXNTextBoxOptionsData {
TXNTextBoxOptions optionTags;
Fract flushness;
Fract justification;
Fixed rotation;
void * options;
};
typedef struct TXNTextBoxOptionsData TXNTextBoxOptionsData;
# 416 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef OSType TXNFileType;
enum {
kTXNTextFile = 'TEXT',
kTXNAIFFFile = 'AIFF',
kTXNUnicodeTextFile = 'utxt',
kTXNTextensionFile = 'txtn'
};
enum {
kTXNPictureFile = 'PICT',
kTXNMovieFile = 'MooV',
kTXNSoundFile = 'sfil'
};
# 443 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNPermanentTextEncodingType;
enum {
kTXNSystemDefaultEncoding = 0,
kTXNMacOSEncoding = 1,
kTXNUnicodeEncoding = 2
};
typedef OSType TXNDataType;
enum {
kTXNTextData = 'TEXT',
kTXNUnicodeTextData = 'utxt',
kTXNRichTextFormatData = 'RTF '
};
enum {
kTXNPictureData = 'PICT',
kTXNMovieData = 'moov',
kTXNSoundData = 'snd ',
kTXNTextAndMultimediaData = 'txtn'
};
# 492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionTyping ;
# 508 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionCut ;
# 524 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionPaste ;
# 540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionClear ;
# 556 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeFont ;
# 572 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeColor ;
# 588 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeSize ;
# 604 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeStyle ;
# 620 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionAlignLeft ;
# 636 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionAlignCenter ;
# 652 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionAlignRight ;
# 668 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionDrop ;
# 684 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionMove ;
# 700 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeFontFeature ;
# 716 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeFontVariation ;
# 732 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeGlyphVariation ;
# 750 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeTextPosition ;
# 766 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionUndoLast ;
typedef SInt8 TXNTabType;
enum {
kTXNRightTab = -1,
kTXNLeftTab = 0,
kTXNCenterTab = 1
};
struct TXNTab {
SInt16 value;
TXNTabType tabType;
UInt8 filler;
};
typedef struct TXNTab TXNTab;
enum {
kTXNLeftToRight = 0,
kTXNRightToLeft = 1
};
enum {
kTXNFlushDefault = 0,
kTXNFlushLeft = 1,
kTXNFlushRight = 2,
kTXNCenter = 4,
kTXNFullJust = 8,
kTXNForceFullJust = 16
};
# 808 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
struct TXNMargins {
SInt16 topMargin;
SInt16 leftMargin;
SInt16 bottomMargin;
SInt16 rightMargin;
};
typedef struct TXNMargins TXNMargins;
# 829 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef FourCharCode TXNControlTag;
enum {
kTXNLineDirectionTag = 'lndr',
kTXNJustificationTag = 'just',
kTXNIOPrivilegesTag = 'iopv',
kTXNSelectionStateTag = 'slst',
kTXNInlineStateTag = 'inst',
kTXNWordWrapStateTag = 'wwrs',
kTXNAutoIndentStateTag = 'auin',
kTXNTabSettingsTag = 'tabs',
kTXNRefConTag = 'rfcn',
kTXNMarginsTag = 'marg',
kTXNFlattenMoviesTag = 'flat',
kTXNDoFontSubstitution = 'fSub',
kTXNNoUserIOTag = 'nuio',
kTXNUseCarbonEvents = 'cbcb',
kTXNDrawSelectionWhenInactiveTag = 'dsln',
kTXNDisableDragAndDropTag = 'drag',
kTXNSingleLevelUndoTag = 'undo',
kTXNVisibilityTag = 'visb',
kTXNDisableLayoutAndDrawTag = kTXNVisibilityTag,
kTXNAutoScrollBehaviorTag = 'sbev'
};
enum {
kTXNClearThisControl = -1,
kTXNClearTheseFontFeatures = (long)0x80000000
};
enum {
kTXNReadWrite = 0,
kTXNReadOnly = 1
};
enum {
kTXNSelectionOn = 1,
kTXNSelectionOff = 0
};
enum {
kTXNUseInline = 0,
kTXNUseBottomline = 1
};
enum {
kTXNAutoWrap = 0,
kTXNNoAutoWrap = 1
};
enum {
kTXNAutoIndentOff = 0,
kTXNAutoIndentOn = 1
};
enum {
kTXNDontDrawSelectionWhenInactive = 0,
kTXNDrawSelectionWhenInactive = 1
};
enum {
kTXNEnableDragAndDrop = 0,
kTXNDisableDragAndDrop = 1
};
enum {
kTXNDisableLayoutAndDraw = 1,
kTXNEnableLayoutAndDraw = 0
};
union TXNControlData {
unsigned long uValue;
long sValue;
TXNTab tabValue;
TXNMargins * marginsPtr;
};
typedef union TXNControlData TXNControlData;
# 953 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNAutoScrollBehavior;
enum {
kTXNAutoScrollInsertionIntoView = 0,
kTXNAutoScrollNever = 1,
# 979 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNAutoScrollWhenInsertionVisible = 2
};
typedef UInt32 TXNOffset;
enum {
kTXNUseCurrentSelection = (UInt32)0xFFFFFFFF,
kTXNStartOffset = 0,
kTXNEndOffset = 0x7FFFFFFF
};
enum {
kTXNShowStart = 0,
kTXNShowEnd = 1
};
enum {
kTXNSingleStylePerTextDocumentResType = 'MPSR',
kTXNMultipleStylesPerTextDocumentResType = 'styl'
};
# 1019 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNHyperLinkState;
enum {
kTXNLinkNotPressed = 0,
kTXNLinkWasPressed = 1,
kTXNLinkTracking = 3
};
# 1035 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef FourCharCode TXNTypeRunAttributes;
enum {
kTXNTextEncodingAttribute = 'encd',
kTXNATSUIFontFeaturesAttribute = 'atfe',
kTXNATSUIFontVariationsAttribute = 'atva',
kTXNURLAttribute = 'urla',
kTXNATSUIStyle = 'astl'
};
typedef ByteCount TXNTypeRunAttributeSizes;
enum {
kTXNTextEncodingAttributeSize = sizeof(TextEncoding),
kTXNATSUIStyleSize = sizeof(ATSUStyle)
};
struct TXNATSUIFeatures {
ItemCount featureCount;
ATSUFontFeatureType * featureTypes;
ATSUFontFeatureSelector * featureSelectors;
};
typedef struct TXNATSUIFeatures TXNATSUIFeatures;
struct TXNATSUIVariations {
ItemCount variationCount;
ATSUFontVariationAxis * variationAxis;
ATSUFontVariationValue * variationValues;
};
typedef struct TXNATSUIVariations TXNATSUIVariations;
union TXNAttributeData {
void * dataPtr;
UInt32 dataValue;
TXNATSUIFeatures * atsuFeatures;
TXNATSUIVariations * atsuVariations;
CFURLRef urlReference;
};
typedef union TXNAttributeData TXNAttributeData;
struct TXNTypeAttributes {
TXNTypeRunAttributes tag;
ByteCount size;
TXNAttributeData data;
};
typedef struct TXNTypeAttributes TXNTypeAttributes;
enum {
kTXNDontCareTypeSize = -1,
kTXNDontCareTypeStyle = 0xFF,
kTXNIncrementTypeSize = 0x00000001,
kTXNDecrementTypeSize = (long)0x80000000,
kTXNUseScriptDefaultValue = -1,
kTXNNoFontVariations = 0x7FFF
};
enum {
kTXNFontContinuousBit = 0,
kTXNSizeContinuousBit = 1,
kTXNStyleContinuousBit = 2,
kTXNColorContinuousBit = 3,
kTXNATSUIStyleContinuousBit = 4
};
typedef OptionBits TXNContinuousFlags;
enum {
kTXNFontContinuousMask = 1L << kTXNFontContinuousBit,
kTXNSizeContinuousMask = 1L << kTXNSizeContinuousBit,
kTXNStyleContinuousMask = 1L << kTXNStyleContinuousBit,
kTXNColorContinuousMask = 1L << kTXNColorContinuousBit,
kTXNATSUIStyleContinuousMask = 1L << kTXNATSUIStyleContinuousBit
};
enum {
kTXNIgnoreCaseBit = 0,
kTXNEntireWordBit = 1,
kTXNUseEncodingWordRulesBit = 31
};
typedef OptionBits TXNMatchOptions;
enum {
kTXNIgnoreCaseMask = 1L << kTXNIgnoreCaseBit,
kTXNEntireWordMask = 1L << kTXNEntireWordBit,
kTXNUseEncodingWordRulesMask = (unsigned long)(1L << kTXNUseEncodingWordRulesBit)
};
struct TXNMatchTextRecord {
const void * iTextPtr;
long iTextToMatchLength;
TextEncoding iTextEncoding;
};
typedef struct TXNMatchTextRecord TXNMatchTextRecord;
struct TXNMacOSPreferredFontDescription {
UInt32 fontID;
Fixed pointSize;
TextEncoding encoding;
Style fontStyle;
};
typedef struct TXNMacOSPreferredFontDescription TXNMacOSPreferredFontDescription;
# 1167 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNBackgroundType;
enum {
kTXNBackgroundTypeRGB = 1
};
# 1180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
struct TXNBackgroundData {
RGBColor color;
};
typedef struct TXNBackgroundData TXNBackgroundData;
struct TXNBackground {
TXNBackgroundType bgType;
TXNBackgroundData bg;
};
typedef struct TXNBackground TXNBackground;
# 1220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionCountOfTextChanges ;
# 1240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionCountOfStyleChanges ;
# 1257 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionCountOfAllChanges ;
# 1269 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNScrollUnit;
enum {
kTXNScrollUnitsInPixels = 0,
kTXNScrollUnitsInLines = 1,
kTXNScrollUnitsInViewRects = 2
};
# 1283 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNScrollBarOrientation;
enum {
kTXNHorizontal = 0,
kTXNVertical = 1
};
# 1296 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef Boolean TXNScrollBarState;
enum {
kScrollBarsAlwaysActive = 1,
kScrollBarsSyncWithFocus = 0
};
enum {
kTXNDrawItemScrollbarsBit = 0,
kTXNDrawItemTextBit = 1,
kTXNDrawItemTextAndSelectionBit = 2
};
typedef OptionBits TXNDrawItems;
enum {
kTXNDrawItemScrollbarsMask = 1L << kTXNDrawItemScrollbarsBit,
kTXNDrawItemTextMask = 1L << kTXNDrawItemTextBit,
kTXNDrawItemTextAndSelectionMask = 1L << kTXNDrawItemTextAndSelectionBit,
kTXNDrawItemAllMask = (unsigned long)(-1)
};
typedef UInt32 TXNRectKey;
enum {
kTXNViewRectKey = 0,
kTXNDestinationRectKey = 1,
kTXNTextRectKey = 2,
kTXNVerticalScrollBarRectKey = 3,
kTXNHorizontalScrollBarRectKey = 4
};
#define kTXNTextHandlerKey CFSTR("TextInput")
#define kTXNWindowEventHandlerKey CFSTR("WindowEvent")
#define kTXNWindowResizeEventHandlerKey CFSTR("WindowResize")
#define kTXNCommandTargetKey CFSTR("CommandTarget")
#define kTXNCommandUpdateKey CFSTR("CommandUpdate")
#define kTXNActionNameMapperKey CFSTR("ActionNameMapper")
#define kTXNWheelMouseEventHandlerKey CFSTR("WheelMouseEvent")
#define kTXNTSMDocumentAccessHandlerKey CFSTR("TSMDocumentAccess")
#define kTXNFontPanelEventHandlerKey CFSTR("FontPanel")
# 1357 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
struct TXNCarbonEventInfo {
Boolean useCarbonEvents;
UInt8 filler;
UInt16 flags;
CFDictionaryRef fDictionary;
};
typedef struct TXNCarbonEventInfo TXNCarbonEventInfo;
# 1407 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeTitleKey ;
# 1423 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeCompanyNameKey ;
# 1439 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeSubjectKey ;
# 1456 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeAuthorKey ;
# 1472 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeKeywordsKey ;
# 1488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeCommentKey ;
# 1504 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeEditorKey ;
# 1522 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeCreationTimeKey ;
# 1539 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeModificationTimeKey ;
# 1554 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeCopyrightKey ;
# 1577 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDataOptionDocumentTypeKey ;
# 1594 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDataOptionCharacterEncodingKey ;
# 1612 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNPlainTextDocumentType ;
# 1628 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNMLTEDocumentType ;
# 1644 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNRTFDocumentType ;
# 1661 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNQuickTimeDocumentType ;
typedef OSStatus ( * TXNFindProcPtr)(const TXNMatchTextRecord *matchData, TXNDataType iDataType, TXNMatchOptions iMatchOptions, const void *iSearchTextPtr, TextEncoding encoding, TXNOffset absStartOffset, ByteCount searchTextLength, TXNOffset *oStartMatch, TXNOffset *oEndMatch, Boolean *ofound, URefCon refCon);
typedef CFStringRef ( * TXNActionNameMapperProcPtr)(CFStringRef actionName, UInt32 commandID, void *inUserData);
typedef void ( * TXNContextualMenuSetupProcPtr)(MenuRef iContextualMenu, TXNObject object, void *inUserData);
typedef void ( * TXNScrollInfoProcPtr)(SInt32 iValue, SInt32 iMaximumValue, TXNScrollBarOrientation iScrollBarOrientation, SRefCon iRefCon);
typedef TXNFindProcPtr TXNFindUPP;
typedef TXNActionNameMapperProcPtr TXNActionNameMapperUPP;
typedef TXNContextualMenuSetupProcPtr TXNContextualMenuSetupUPP;
typedef TXNScrollInfoProcPtr TXNScrollInfoUPP;
# 1682 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNFindUPP
NewTXNFindUPP(TXNFindProcPtr userRoutine) ;
# 1693 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNActionNameMapperUPP
NewTXNActionNameMapperUPP(TXNActionNameMapperProcPtr userRoutine) ;
# 1704 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNContextualMenuSetupUPP
NewTXNContextualMenuSetupUPP(TXNContextualMenuSetupProcPtr userRoutine) ;
# 1715 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNScrollInfoUPP
NewTXNScrollInfoUPP(TXNScrollInfoProcPtr userRoutine) ;
# 1726 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
DisposeTXNFindUPP(TXNFindUPP userUPP) ;
# 1737 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
DisposeTXNActionNameMapperUPP(TXNActionNameMapperUPP userUPP) ;
# 1748 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
DisposeTXNContextualMenuSetupUPP(TXNContextualMenuSetupUPP userUPP) ;
# 1759 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
DisposeTXNScrollInfoUPP(TXNScrollInfoUPP userUPP) ;
# 1770 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
InvokeTXNFindUPP(
const TXNMatchTextRecord * matchData,
TXNDataType iDataType,
TXNMatchOptions iMatchOptions,
const void * iSearchTextPtr,
TextEncoding encoding,
TXNOffset absStartOffset,
ByteCount searchTextLength,
TXNOffset * oStartMatch,
TXNOffset * oEndMatch,
Boolean * ofound,
URefCon refCon,
TXNFindUPP userUPP) ;
# 1793 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern CFStringRef
InvokeTXNActionNameMapperUPP(
CFStringRef actionName,
UInt32 commandID,
void * inUserData,
TXNActionNameMapperUPP userUPP) ;
# 1808 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
InvokeTXNContextualMenuSetupUPP(
MenuRef iContextualMenu,
TXNObject object,
void * inUserData,
TXNContextualMenuSetupUPP userUPP) ;
# 1823 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
InvokeTXNScrollInfoUPP(
SInt32 iValue,
SInt32 iMaximumValue,
TXNScrollBarOrientation iScrollBarOrientation,
SRefCon iRefCon,
TXNScrollInfoUPP userUPP) ;
# 1846 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
#define NewTXNFindUPP(userRoutine) ((TXNFindUPP)userRoutine)
#define NewTXNActionNameMapperUPP(userRoutine) ((TXNActionNameMapperUPP)userRoutine)
#define NewTXNContextualMenuSetupUPP(userRoutine) ((TXNContextualMenuSetupUPP)userRoutine)
#define NewTXNScrollInfoUPP(userRoutine) ((TXNScrollInfoUPP)userRoutine)
#define DisposeTXNFindUPP(userUPP)
#define DisposeTXNActionNameMapperUPP(userUPP)
#define DisposeTXNContextualMenuSetupUPP(userUPP)
#define DisposeTXNScrollInfoUPP(userUPP)
#define InvokeTXNFindUPP(matchData,iDataType,iMatchOptions,iSearchTextPtr,encoding,absStartOffset,searchTextLength,oStartMatch,oEndMatch,ofound,refCon,userUPP) (*userUPP)(matchData, iDataType, iMatchOptions, iSearchTextPtr, encoding, absStartOffset, searchTextLength, oStartMatch, oEndMatch, ofound, refCon)
#define InvokeTXNActionNameMapperUPP(actionName,commandID,inUserData,userUPP) (*userUPP)(actionName, commandID, inUserData)
#define InvokeTXNContextualMenuSetupUPP(iContextualMenu,object,inUserData,userUPP) (*userUPP)(iContextualMenu, object, inUserData)
#define InvokeTXNScrollInfoUPP(iValue,iMaximumValue,iScrollBarOrientation,iRefCon,userUPP) (*userUPP)(iValue, iMaximumValue, iScrollBarOrientation, iRefCon)
# 1913 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNCreateObject(
const HIRect * iFrameRect,
TXNFrameOptions iFrameOptions,
TXNObject * oTXNObject) ;
# 1944 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNDeleteObject(TXNObject iTXNObject) ;
# 1992 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNInitTextension(
const TXNMacOSPreferredFontDescription iDefaultFonts[],
ItemCount iCountDefaultFonts,
TXNInitOptions iUsageFlags) ;
# 2029 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNVersionValue
TXNVersionInformation(TXNFeatureBits * oFeatureFlags) ;
# 2063 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNAttachObjectToWindowRef(
TXNObject iTXNObject,
WindowRef iWindowRef) ;
# 2097 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern WindowRef
TXNGetWindowRef(TXNObject iTXNObject) ;
# 2131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNKeyDown(
TXNObject iTXNObject,
const EventRecord * iEvent) ;
# 2164 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNAdjustCursor(
TXNObject iTXNObject,
RgnHandle ioCursorRgn) ;
# 2196 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNClick(
TXNObject iTXNObject,
const EventRecord * iEvent) ;
# 2223 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNSelectAll(TXNObject iTXNObject) ;
# 2252 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNFocus(
TXNObject iTXNObject,
Boolean iBecomingFocused) ;
# 2283 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNUpdate(TXNObject iTXNObject) ;
# 2328 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNDrawObject(
TXNObject iTXNObject,
const HIRect * iClipRect,
TXNDrawItems iDrawItems) ;
# 2357 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNForceUpdate(TXNObject iTXNObject) ;
# 2386 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern UInt32
TXNGetSleepTicks(TXNObject iTXNObject) ;
# 2412 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNIdle(TXNObject iTXNObject) ;
# 2440 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNGrowWindow(
TXNObject iTXNObject,
const EventRecord * iEvent) ;
# 2470 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNZoomWindow(
TXNObject iTXNObject,
SInt16 iPart) ;
# 2515 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNBeginActionGroup(
TXNObject iTXNObject,
CFStringRef iActionGroupName) ;
# 2545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNEndActionGroup(TXNObject iTXNObject) ;
# 2593 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern Boolean
TXNCanUndoAction(
TXNObject iTXNObject,
CFStringRef * oActionName) ;
# 2639 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern Boolean
TXNCanRedoAction(
TXNObject iTXNObject,
CFStringRef * oActionName) ;
# 2689 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetActionNameMapper(
TXNObject iTXNObject,
TXNActionNameMapperUPP iStringForKeyProc,
const void * iUserData) ;
# 2717 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNUndo(TXNObject iTXNObject) ;
# 2743 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNRedo(TXNObject iTXNObject) ;
# 2768 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNClearUndo(TXNObject iTXNObject) ;
# 2799 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNCut(TXNObject iTXNObject) ;
# 2827 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNCopy(TXNObject iTXNObject) ;
# 2855 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNPaste(TXNObject iTXNObject) ;
# 2883 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNClear(TXNObject iTXNObject) ;
# 2912 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern Boolean
TXNIsScrapPastable(void) ;
# 2947 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNGetSelection(
TXNObject iTXNObject,
TXNOffset * oStartOffset,
TXNOffset * oEndOffset) ;
# 2979 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNShowSelection(
TXNObject iTXNObject,
Boolean iShowEnd) ;
# 3014 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNShowOffset(
TXNObject iTXNObject,
TXNOffset inOffset) ;
# 3046 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern Boolean
TXNIsSelectionEmpty(TXNObject iTXNObject) ;
# 3080 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetSelection(
TXNObject iTXNObject,
TXNOffset iStartOffset,
TXNOffset iEndOffset) ;
# 3153 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetContinuousTypeAttributes(
TXNObject iTXNObject,
TXNContinuousFlags * oContinuousFlags,
ItemCount iCount,
TXNTypeAttributes ioTypeAttributes[]) ;
# 3204 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetTypeAttributes(
TXNObject iTXNObject,
ItemCount iAttrCount,
const TXNTypeAttributes iAttributes[],
TXNOffset iStartOffset,
TXNOffset iEndOffset) ;
# 3278 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetTXNObjectControls(
TXNObject iTXNObject,
Boolean iClearAll,
ItemCount iControlCount,
const TXNControlTag iControlTags[],
const TXNControlData iControlData[]) ;
# 3329 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetTXNObjectControls(
TXNObject iTXNObject,
ItemCount iControlCount,
const TXNControlTag iControlTags[],
TXNControlData oControlData[]) ;
# 3369 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetBackground(
TXNObject iTXNObject,
const TXNBackground * iBackgroundInfo) ;
# 3419 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNEchoMode(
TXNObject iTXNObject,
UniChar iEchoCharacter,
TextEncoding iEncoding,
Boolean iOn) ;
# 3465 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNCountRunsInRange(
TXNObject iTXNObject,
TXNOffset iStartOffset,
TXNOffset iEndOffset,
ItemCount * oRunCount) ;
# 3543 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetIndexedRunInfoFromRange(
TXNObject iTXNObject,
ItemCount iIndex,
TXNOffset iStartOffset,
TXNOffset iEndOffset,
TXNOffset * oRunStartOffset,
TXNOffset * oRunEndOffset,
TXNDataType * oRunDataType,
ItemCount iTypeAttributeCount,
TXNTypeAttributes * ioTypeAttributes) ;
# 3583 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern ByteCount
TXNDataSize(TXNObject iTXNObject) ;
# 3652 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNWriteRangeToCFURL(
TXNObject iTXNObject,
TXNOffset iStartOffset,
TXNOffset iEndOffset,
CFDictionaryRef iDataOptions,
CFDictionaryRef iDocumentAttributes,
CFURLRef iFileURL) ;
# 3731 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNReadFromCFURL(
TXNObject iTXNObject,
TXNOffset iStartOffset,
TXNOffset iEndOffset,
CFDictionaryRef iDataOptions,
CFURLRef iFileURL,
CFDictionaryRef * oDocumentAttributes) ;
# 3787 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNCopyTypeIdentifiersForRange(
TXNObject iTXNObject,
TXNOffset iStartOffset,
TXNOffset iEndOffset,
CFArrayRef * oTypeIdentifiersForRange) ;
# 3845 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetData(
TXNObject iTXNObject,
TXNOffset iStartOffset,
TXNOffset iEndOffset,
Handle * oDataHandle) ;
# 3895 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetDataEncoded(
TXNObject iTXNObject,
TXNOffset iStartOffset,
TXNOffset iEndOffset,
Handle * oDataHandle,
TXNDataType iEncoding) ;
# 3953 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetData(
TXNObject iTXNObject,
TXNDataType iDataType,
const void * iDataPtr,
ByteCount iDataSize,
TXNOffset iStartOffset,
TXNOffset iEndOffset) ;
# 4000 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNFlattenObjectToCFDataRef(
TXNObject iTXNObject,
TXNDataType iTXNDataType,
CFDataRef * oDataRef) ;
# 4038 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNRevert(TXNObject iTXNObject) ;
# 4072 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNPageSetup(TXNObject iTXNObject) ;
# 4101 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNPrint(TXNObject iTXNObject) ;
# 4188 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNFind(
TXNObject iTXNObject,
const TXNMatchTextRecord * iMatchTextDataPtr,
TXNDataType iDataType,
TXNMatchOptions iMatchOptions,
TXNOffset iStartSearchOffset,
TXNOffset iEndSearchOffset,
TXNFindUPP iFindProc,
SRefCon iRefCon,
TXNOffset * oStartMatchOffset,
TXNOffset * oEndMatchOffset) ;
# 4251 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNDrawUnicodeTextBox(
const UniChar iText[],
UniCharCount iLen,
Rect * ioBox,
ATSUStyle iStyle,
const TXNTextBoxOptionsData * iOptions) ;
# 4301 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNDrawCFStringTextBox(
CFStringRef iText,
Rect * ioBox,
ATSUStyle iStyle,
const TXNTextBoxOptionsData * iOptions) ;
# 4339 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetLineCount(
TXNObject iTXNObject,
ItemCount * oLineTotal) ;
# 4378 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetLineMetrics(
TXNObject iTXNObject,
unsigned long iLineNumber,
Fixed * oLineWidth,
Fixed * oLineHeight) ;
# 4420 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern ItemCount
TXNGetChangeCount(TXNObject iTXNObject) ;
# 4464 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetCountForActionType(
TXNObject iTXNObject,
CFStringRef iActionTypeName,
ItemCount * oCount) ;
# 4503 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNClearCountForActionType(
TXNObject iTXNObject,
CFStringRef iActionTypeName) ;
# 4552 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNSetHIRectBounds(
TXNObject iTXNObject,
const HIRect * iViewRect,
const HIRect * iDestinationRect,
Boolean iUpdate) ;
# 4594 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetHIRect(
TXNObject iTXNObject,
TXNRectKey iTXNRectKey,
HIRect * oRectangle) ;
# 4631 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNResizeFrame(
TXNObject iTXNObject,
UInt32 iWidth,
UInt32 iHeight,
TXNFrameID iTXNFrameID) ;
# 4675 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNSetFrameBounds(
TXNObject iTXNObject,
SInt32 iTop,
SInt32 iLeft,
SInt32 iBottom,
SInt32 iRight,
TXNFrameID iTXNFrameID) ;
# 4710 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNGetViewRect(
TXNObject iTXNObject,
Rect * oViewRect) ;
# 4750 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNRecalcTextLayout(TXNObject iTXNObject) ;
# 4818 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNScroll(
TXNObject iTXNObject,
TXNScrollUnit iVerticalScrollUnit,
TXNScrollUnit iHorizontalScrollUnit,
long * ioVerticalDelta,
long * ioHorizontalDelta) ;
# 4863 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNRegisterScrollInfoProc(
TXNObject iTXNObject,
TXNScrollInfoUPP iTXNScrollInfoUPP,
SRefCon iRefCon) ;
# 4905 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetScrollbarState(
TXNObject iTXNObject,
TXNScrollBarState iActiveState) ;
# 4956 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNHIPointToOffset(
TXNObject iTXNObject,
const HIPoint * iHIPoint,
TXNOffset * oOffset) ;
# 5001 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNOffsetToHIPoint(
TXNObject iTXNObject,
TXNOffset iOffset,
HIPoint * oHIPoint) ;
# 5053 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSErr
TXNDragTracker(
TXNObject iTXNObject,
TXNFrameID iTXNFrameID,
DragTrackingMessage iMessage,
WindowRef iWindow,
DragReference iDragReference,
Boolean iDifferentObjectSameWindow) ;
# 5102 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSErr
TXNDragReceiver(
TXNObject iTXNObject,
TXNFrameID iTXNFrameID,
WindowRef iWindow,
DragReference iDragReference,
Boolean iDifferentObjectSameWindow) ;
# 5126 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef OptionBits TXNCommandEventSupportOptions;
enum {
kTXNSupportEditCommandProcessing = 1 << 0,
# 5159 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSupportEditCommandUpdating = 1 << 1,
# 5168 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSupportSpellCheckCommandProcessing = 1 << 2,
# 5198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSupportSpellCheckCommandUpdating = 1 << 3,
# 5209 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSupportFontCommandProcessing = 1 << 4,
# 5218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSupportFontCommandUpdating = 1 << 5
};
# 5264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetCommandEventSupport(
TXNObject iTXNObject,
TXNCommandEventSupportOptions iOptions) ;
# 5297 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetCommandEventSupport(
TXNObject iTXNObject,
TXNCommandEventSupportOptions * oOptions) ;
# 5331 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetSpellCheckAsYouType(
TXNObject iTXNObject,
Boolean iActivate) ;
# 5362 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern Boolean
TXNGetSpellCheckAsYouType(TXNObject iTXNObject) ;
# 5455 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetEventTarget(
TXNObject iTXNObject,
HIObjectRef iEventTarget) ;
# 5492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetEventTarget(
TXNObject iTXNObject,
HIObjectRef * oEventTarget) ;
# 5538 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetContextualMenuSetup(
TXNObject iTXNObject,
TXNContextualMenuSetupUPP iMenuSetupProc,
const void * iUserData) ;
# 5622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetAccessibilityHIObject(
TXNObject iTXNObject,
HIObjectRef * oHIObjectRef) ;
# 5644 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef struct OpaqueTXNFontMenuObject* TXNFontMenuObject;
#define kTXNFontMenuRefKey CFSTR("FontMenuRef")
#define kTXNFontMenuObjectKey CFSTR("FontMenuObject")
enum {
kTXNKeyboardSyncStateTag = 'kbsy'
};
enum {
kTXNSyncKeyboard = 0,
kTXNNoSyncKeyboard = 1
};
enum {
kTXNNoKeyboardSyncBit = 6
};
enum {
kTXNNoKeyboardSyncMask = 1L << kTXNNoKeyboardSyncBit
};
# 5679 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef FourCharCode TXTNTag;
typedef OSStatus TXNErrors;
# 5696 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef void * TXNObjectRefcon;
# 5705 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
struct TXNLongRect {
SInt32 top;
SInt32 left;
SInt32 bottom;
SInt32 right;
};
typedef struct TXNLongRect TXNLongRect;
# 5720 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNFrameType;
enum {
kTXNTextEditStyleFrameType = 1,
kTXNPageFrameType = 2,
kTXNMultipleFrameType = 3
};
enum {
kTXNQDFontNameAttribute = 'fntn',
kTXNQDFontFamilyIDAttribute = 'font',
kTXNQDFontSizeAttribute = 'size',
kTXNQDFontStyleAttribute = 'face',
kTXNQDFontColorAttribute = 'klor'
};
enum {
kTXNQDFontNameAttributeSize = sizeof(Str255),
kTXNQDFontFamilyIDAttributeSize = sizeof(SInt16),
kTXNFontSizeAttributeSize = sizeof(Fixed),
kTXNQDFontSizeAttributeSize = sizeof(SInt16),
kTXNQDFontStyleAttributeSize = sizeof(Style),
kTXNQDFontColorAttributeSize = sizeof(RGBColor)
};
enum {
kTXNUseQDforImagingBit = 16
};
enum {
kTXNUseQDforImagingMask = 1L << kTXNUseQDforImagingBit
};
enum {
kTXNImageWithQDBit = 8
};
enum {
kTXNImageWithQDMask = 1L << kTXNImageWithQDBit
};
enum {
kTXNDrawCaretWhenInactiveTag = 'dcrt'
};
enum {
kTXNDontDrawCaretWhenInactive = 0,
kTXNDrawCaretWhenInactive = 1
};
enum {
kTXNDontDrawCaretWhenInactiveBit = 12
};
enum {
kTXNDontDrawCaretWhenInactiveMask = 1L << kTXNDontDrawCaretWhenInactiveBit
};
# 5797 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
enum {
kTXNNoTSMEverBit = 4
};
enum {
kTXNNoTSMEverMask = 1L << kTXNNoTSMEverBit
};
enum {
kTXNNoAppleEventHandlersBit = 0,
kTXNRestartAppleEventHandlersBit = 1
};
enum {
kTXNNoAppleEventHandlersMask = 1 << kTXNNoAppleEventHandlersBit,
kTXNRestartAppleEventHandlersMask = 1 << kTXNRestartAppleEventHandlersBit
};
typedef UInt32 TXNActionKey;
enum {
kTXNTypingAction = 0,
kTXNCutAction = 1,
kTXNPasteAction = 2,
kTXNClearAction = 3,
kTXNChangeFontAction = 4,
kTXNChangeFontColorAction = 5,
kTXNChangeFontSizeAction = 6,
kTXNChangeStyleAction = 7,
kTXNAlignLeftAction = 8,
kTXNAlignCenterAction = 9,
kTXNAlignRightAction = 10,
kTXNDropAction = 11,
kTXNMoveAction = 12,
kTXNFontFeatureAction = 13,
kTXNFontVariationAction = 14,
kTXNUndoLastAction = 1024
};
#define kTXNActionKeyMapperKey CFSTR("ActionKeyMapper")
typedef CFStringRef ( * TXNActionKeyMapperProcPtr)(TXNActionKey actionKey, UInt32 commandID);
typedef TXNActionKeyMapperProcPtr TXNActionKeyMapperUPP;
# 5865 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNActionKeyMapperUPP
NewTXNActionKeyMapperUPP(TXNActionKeyMapperProcPtr userRoutine) __attribute__((deprecated));
# 5876 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
DisposeTXNActionKeyMapperUPP(TXNActionKeyMapperUPP userUPP) __attribute__((deprecated));
# 5887 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern CFStringRef
InvokeTXNActionKeyMapperUPP(
TXNActionKey actionKey,
UInt32 commandID,
TXNActionKeyMapperUPP userUPP) __attribute__((deprecated));
#define NewTXNActionKeyMapperUPP(userRoutine) ((TXNActionKeyMapperUPP)userRoutine)
#define DisposeTXNActionKeyMapperUPP(userUPP)
#define InvokeTXNActionKeyMapperUPP(actionKey,commandID,userUPP) (*userUPP)(actionKey, commandID)
# 5910 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
enum {
kTXNTextInputCountBit = 0,
kTXNRunCountBit = 1
};
typedef OptionBits TXNCountOptions;
enum {
kTXNTextInputCountMask = 1L << kTXNTextInputCountBit,
kTXNRunCountMask = 1L << kTXNRunCountBit,
kTXNAllCountMask = kTXNTextInputCountMask | kTXNRunCountMask
};
# 5960 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNSetViewRect(
TXNObject iTXNObject,
const Rect * iViewRect) __attribute__((deprecated));
# 6058 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNNewObject(
const FSSpec * iFileSpec,
WindowRef iWindow,
const Rect * iFrame,
TXNFrameOptions iFrameOptions,
TXNFrameType iFrameType,
TXNFileType iFileType,
TXNPermanentTextEncodingType iPermanentEncoding,
TXNObject * oTXNObject,
TXNFrameID * oTXNFrameID,
TXNObjectRefcon iRefCon) __attribute__((deprecated));
# 6091 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNTerminateTextension(void) __attribute__((deprecated));
# 6147 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetDataFromFile(
TXNObject iTXNObject,
SInt16 iFileRefNum,
OSType iFileType,
ByteCount iFileLength,
TXNOffset iStartOffset,
TXNOffset iEndOffset) __attribute__((deprecated));
# 6183 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNConvertToPublicScrap(void) __attribute__((deprecated));
# 6215 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNConvertFromPublicScrap(void) __attribute__((deprecated));
# 6260 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNDraw(
TXNObject iTXNObject,
GWorldPtr iDrawPort) __attribute__((deprecated));
# 6309 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNAttachObjectToWindow(
TXNObject iTXNObject,
GWorldPtr iWindow,
Boolean iIsActualWindow) __attribute__((deprecated));
# 6343 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern Boolean
TXNIsObjectAttachedToWindow(TXNObject iTXNObject) __attribute__((deprecated));
# 6381 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNIsObjectAttachedToSpecificWindow(
TXNObject iTXNObject,
WindowRef iWindow,
Boolean * oAttached) __attribute__((deprecated));
# 6428 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
TXNSetRectBounds(
TXNObject iTXNObject,
const Rect * iViewRect,
const TXNLongRect * iDestinationRect,
Boolean iUpdate) __attribute__((deprecated));
# 6476 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetRectBounds(
TXNObject iTXNObject,
Rect * oViewRect,
TXNLongRect * oDestinationRect,
TXNLongRect * oTextRect) __attribute__((deprecated));
# 6531 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNActivate(
TXNObject iTXNObject,
TXNFrameID iTXNFrameID,
TXNScrollBarState iActiveState) __attribute__((deprecated));
# 6569 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNPointToOffset(
TXNObject iTXNObject,
Point iPoint,
TXNOffset * oOffset) __attribute__((deprecated));
# 6606 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNOffsetToPoint(
TXNObject iTXNObject,
TXNOffset iOffset,
Point * oPoint) __attribute__((deprecated));
# 6651 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern Boolean
TXNCanUndo(
TXNObject iTXNObject,
TXNActionKey * oTXNActionKey) __attribute__((deprecated));
# 6690 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern Boolean
TXNCanRedo(
TXNObject iTXNObject,
TXNActionKey * oTXNActionKey) __attribute__((deprecated));
# 6733 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetActionChangeCount(
TXNObject iTXNObject,
TXNCountOptions iOptions,
ItemCount * oCount) __attribute__((deprecated));
# 6773 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNClearActionChangeCount(
TXNObject iTXNObject,
TXNCountOptions iOptions) __attribute__((deprecated));
# 6825 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetDataFromCFURLRef(
TXNObject iTXNObject,
CFURLRef iURL,
TXNOffset iStartOffset,
TXNOffset iEndOffset) __attribute__((deprecated));
# 6892 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSave(
TXNObject iTXNObject,
TXNFileType iType,
OSType iResType,
TXNPermanentTextEncodingType iPermanentEncoding,
const FSSpec * iFileSpecification,
SInt16 iDataReference,
SInt16 iResourceReference) __attribute__((deprecated));
# 6959 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNNewFontMenuObject(
MenuRef iFontMenuHandle,
SInt16 iMenuID,
SInt16 iStartHierMenuID,
TXNFontMenuObject * oTXNFontMenuObject) __attribute__((deprecated));
# 6997 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetFontMenuHandle(
TXNFontMenuObject iTXNFontMenuObject,
MenuRef * oFontMenuHandle) __attribute__((deprecated));
#define TXNGetFontMenuRef TXNGetFontMenuHandle
# 7030 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNDisposeFontMenuObject(TXNFontMenuObject iTXNFontMenuObject) __attribute__((deprecated));
# 7073 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNDoFontMenuSelection(
TXNObject iTXNObject,
TXNFontMenuObject iTXNFontMenuObject,
SInt16 iMenuID,
SInt16 iMenuItem) __attribute__((deprecated));
# 7118 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNPrepareFontMenu(
TXNObject iTXNObject,
TXNFontMenuObject iTXNFontMenuObject) __attribute__((deprecated));
# 7156 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNSetFontDefaults(
TXNObject iTXNObject,
ItemCount iCount,
const TXNMacOSPreferredFontDescription iFontDefaults[]) __attribute__((deprecated));
# 7198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
TXNGetFontDefaults(
TXNObject iTXNObject,
ItemCount * ioCount,
TXNMacOSPreferredFontDescription oFontDefaults[]) __attribute__((deprecated));
#pragma pack(pop)
# 106 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
#define __MACHELP__
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
#pragma pack(push, 2)
enum {
kMacHelpVersion = 0x0003
};
enum {
kHMHelpMenuID = -16490
};
typedef SInt16 HMContentRequest;
enum {
kHMSupplyContent = 0,
kHMDisposeContent = 1
};
# 82 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
typedef UInt32 HMContentType;
enum {
kHMNoContent = 'none',
# 103 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
kHMCFStringContent = 'cfst',
# 120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
kHMCFStringLocalizedContent = 'cfsl',
kHMPascalStrContent = 'pstr',
kHMTextResContent = 'text',
# 151 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
kHMTEHandleContent = 'txth',
kHMStringResContent = 'str#',
kHMStrResContent = 'str '
};
# 177 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
typedef SInt16 HMTagDisplaySide;
enum {
kHMDefaultSide = 0,
kHMOutsideTopScriptAligned = 1,
kHMOutsideLeftCenterAligned = 2,
kHMOutsideBottomScriptAligned = 3,
kHMOutsideRightCenterAligned = 4,
kHMOutsideTopLeftAligned = 5,
kHMOutsideTopRightAligned = 6,
kHMOutsideLeftTopAligned = 7,
kHMOutsideLeftBottomAligned = 8,
kHMOutsideBottomLeftAligned = 9,
kHMOutsideBottomRightAligned = 10,
kHMOutsideRightTopAligned = 11,
kHMOutsideRightBottomAligned = 12,
kHMOutsideTopCenterAligned = 13,
kHMOutsideBottomCenterAligned = 14,
kHMInsideRightCenterAligned = 15,
kHMInsideLeftCenterAligned = 16,
kHMInsideBottomCenterAligned = 17,
kHMInsideTopCenterAligned = 18,
kHMInsideTopLeftCorner = 19,
kHMInsideTopRightCorner = 20,
kHMInsideBottomLeftCorner = 21,
kHMInsideBottomRightCorner = 22,
kHMAbsoluteCenterAligned = 23
};
enum {
kHMTopSide = kHMOutsideTopScriptAligned,
kHMLeftSide = kHMOutsideLeftCenterAligned,
kHMBottomSide = kHMOutsideBottomScriptAligned,
kHMRightSide = kHMOutsideRightCenterAligned,
kHMTopLeftCorner = kHMOutsideTopLeftAligned,
kHMTopRightCorner = kHMOutsideTopRightAligned,
kHMLeftTopCorner = kHMOutsideLeftTopAligned,
kHMLeftBottomCorner = kHMOutsideLeftBottomAligned,
kHMBottomLeftCorner = kHMOutsideBottomLeftAligned,
kHMBottomRightCorner = kHMOutsideBottomRightAligned,
kHMRightTopCorner = kHMOutsideRightTopAligned,
kHMRightBottomCorner = kHMOutsideRightBottomAligned
};
typedef SInt16 HMContentProvidedType;
enum {
kHMContentProvided = 0,
kHMContentNotProvided = 1,
kHMContentNotProvidedDontPropagate = 2
};
enum {
kHMMinimumContentIndex = 0,
kHMMaximumContentIndex = 1
};
enum {
errHMIllegalContentForMinimumState = -10980,
errHMIllegalContentForMaximumState = -10981
};
enum {
kHMIllegalContentForMinimumState = errHMIllegalContentForMinimumState
};
enum {
kHelpTagEventHandlerTag = 'hevt'
};
struct HMStringResType {
short hmmResID;
short hmmIndex;
};
typedef struct HMStringResType HMStringResType;
struct HMHelpContent {
HMContentType contentType;
union {
CFStringRef tagCFString;
Str255 tagString;
HMStringResType tagStringRes;
TEHandle tagTEHandle;
SInt16 tagTextRes;
SInt16 tagStrRes;
} u;
};
typedef struct HMHelpContent HMHelpContent;
struct HMHelpContentRec {
SInt32 version;
Rect absHotRect;
HMTagDisplaySide tagSide;
HMHelpContent content[2];
};
typedef struct HMHelpContentRec HMHelpContentRec;
typedef HMHelpContentRec * HMHelpContentPtr;
typedef OSStatus ( * HMControlContentProcPtr)(ControlRef inControl, Point inGlobalMouse, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentRec *ioHelpContent);
typedef OSStatus ( * HMWindowContentProcPtr)(WindowRef inWindow, Point inGlobalMouse, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentRec *ioHelpContent);
typedef OSStatus ( * HMMenuTitleContentProcPtr)(MenuRef inMenu, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentRec *ioHelpContent);
typedef OSStatus ( * HMMenuItemContentProcPtr)(const MenuTrackingData *inTrackingData, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentRec *ioHelpContent);
typedef HMControlContentProcPtr HMControlContentUPP;
typedef HMWindowContentProcPtr HMWindowContentUPP;
typedef HMMenuTitleContentProcPtr HMMenuTitleContentUPP;
typedef HMMenuItemContentProcPtr HMMenuItemContentUPP;
# 387 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern HMControlContentUPP
NewHMControlContentUPP(HMControlContentProcPtr userRoutine) ;
# 398 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern HMWindowContentUPP
NewHMWindowContentUPP(HMWindowContentProcPtr userRoutine) ;
# 409 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern HMMenuTitleContentUPP
NewHMMenuTitleContentUPP(HMMenuTitleContentProcPtr userRoutine) ;
# 420 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern HMMenuItemContentUPP
NewHMMenuItemContentUPP(HMMenuItemContentProcPtr userRoutine) ;
# 431 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern void
DisposeHMControlContentUPP(HMControlContentUPP userUPP) ;
# 442 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern void
DisposeHMWindowContentUPP(HMWindowContentUPP userUPP) ;
# 453 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern void
DisposeHMMenuTitleContentUPP(HMMenuTitleContentUPP userUPP) ;
# 464 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern void
DisposeHMMenuItemContentUPP(HMMenuItemContentUPP userUPP) ;
# 475 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
InvokeHMControlContentUPP(
ControlRef inControl,
Point inGlobalMouse,
HMContentRequest inRequest,
HMContentProvidedType * outContentProvided,
HMHelpContentRec * ioHelpContent,
HMControlContentUPP userUPP) ;
# 492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
InvokeHMWindowContentUPP(
WindowRef inWindow,
Point inGlobalMouse,
HMContentRequest inRequest,
HMContentProvidedType * outContentProvided,
HMHelpContentRec * ioHelpContent,
HMWindowContentUPP userUPP) ;
# 509 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
InvokeHMMenuTitleContentUPP(
MenuRef inMenu,
HMContentRequest inRequest,
HMContentProvidedType * outContentProvided,
HMHelpContentRec * ioHelpContent,
HMMenuTitleContentUPP userUPP) ;
# 525 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
InvokeHMMenuItemContentUPP(
const MenuTrackingData * inTrackingData,
HMContentRequest inRequest,
HMContentProvidedType * outContentProvided,
HMHelpContentRec * ioHelpContent,
HMMenuItemContentUPP userUPP) ;
# 548 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
#define NewHMControlContentUPP(userRoutine) ((HMControlContentUPP)userRoutine)
#define NewHMWindowContentUPP(userRoutine) ((HMWindowContentUPP)userRoutine)
#define NewHMMenuTitleContentUPP(userRoutine) ((HMMenuTitleContentUPP)userRoutine)
#define NewHMMenuItemContentUPP(userRoutine) ((HMMenuItemContentUPP)userRoutine)
#define DisposeHMControlContentUPP(userUPP)
#define DisposeHMWindowContentUPP(userUPP)
#define DisposeHMMenuTitleContentUPP(userUPP)
#define DisposeHMMenuItemContentUPP(userUPP)
#define InvokeHMControlContentUPP(inControl,inGlobalMouse,inRequest,outContentProvided,ioHelpContent,userUPP) (*userUPP)(inControl, inGlobalMouse, inRequest, outContentProvided, ioHelpContent)
#define InvokeHMWindowContentUPP(inWindow,inGlobalMouse,inRequest,outContentProvided,ioHelpContent,userUPP) (*userUPP)(inWindow, inGlobalMouse, inRequest, outContentProvided, ioHelpContent)
#define InvokeHMMenuTitleContentUPP(inMenu,inRequest,outContentProvided,ioHelpContent,userUPP) (*userUPP)(inMenu, inRequest, outContentProvided, ioHelpContent)
#define InvokeHMMenuItemContentUPP(inTrackingData,inRequest,outContentProvided,ioHelpContent,userUPP) (*userUPP)(inTrackingData, inRequest, outContentProvided, ioHelpContent)
# 591 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMGetHelpMenu(
MenuRef * outHelpMenu,
MenuItemIndex * outFirstCustomItemIndex) ;
# 611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMSetControlHelpContent(
ControlRef inControl,
const HMHelpContentRec * inContent) ;
# 628 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMGetControlHelpContent(
ControlRef inControl,
HMHelpContentRec * outContent) ;
# 645 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMSetWindowHelpContent(
WindowRef inWindow,
const HMHelpContentRec * inContent) ;
# 662 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMGetWindowHelpContent(
WindowRef inWindow,
HMHelpContentRec * outContent) ;
# 679 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMSetMenuItemHelpContent(
MenuRef inMenu,
MenuItemIndex inItem,
const HMHelpContentRec * inContent) ;
# 697 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMGetMenuItemHelpContent(
MenuRef inMenu,
MenuItemIndex inItem,
HMHelpContentRec * outContent) ;
# 716 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMInstallControlContentCallback(
ControlRef inControl,
HMControlContentUPP inContentUPP) ;
# 733 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMInstallWindowContentCallback(
WindowRef inWindow,
HMWindowContentUPP inContentUPP) ;
# 750 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMInstallMenuTitleContentCallback(
MenuRef inMenu,
HMMenuTitleContentUPP inContentUPP) ;
# 767 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMInstallMenuItemContentCallback(
MenuRef inMenu,
HMMenuItemContentUPP inContentUPP) ;
# 784 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMGetControlContentCallback(
ControlRef inControl,
HMControlContentUPP * outContentUPP) ;
# 801 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMGetWindowContentCallback(
WindowRef inWindow,
HMWindowContentUPP * outContentUPP) ;
# 818 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMGetMenuTitleContentCallback(
MenuRef inMenu,
HMMenuTitleContentUPP * outContentUPP) ;
# 835 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMGetMenuItemContentCallback(
MenuRef inMenu,
HMMenuItemContentUPP * outContentUPP) ;
# 853 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern Boolean
HMAreHelpTagsDisplayed(void) ;
# 868 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMSetHelpTagsDisplayed(Boolean inDisplayTags) ;
# 883 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMSetTagDelay(Duration inDelay) ;
# 898 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMGetTagDelay(Duration * outDelay) ;
# 936 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMDisplayTag(const HMHelpContentRec * inContent) ;
# 958 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMHideTag(void) ;
# 969 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
enum {
kHMHideTagFade = 1 << 0,
kHMHideTagImmediately = 1 << 1
};
# 1011 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMHideTagWithOptions(OptionBits inOptions) ;
# 1040 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMSetMenuHelpFromBalloonRsrc(
MenuRef inMenu,
SInt16 inHmnuRsrcID) __attribute__((deprecated));
# 1064 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
HMSetDialogHelpFromBalloonRsrc(
DialogRef inDialog,
SInt16 inHdlgRsrcID,
SInt16 inItemStart) __attribute__((deprecated));
#pragma pack(pop)
# 110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
#define __HIBUTTONVIEWS__
# 75 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlPushButtonProc = 368,
kControlPushButLeftIconProc = 374,
kControlPushButRightIconProc = 375
};
typedef UInt16 ControlPushButtonIconAlignment;
enum {
kControlPushButtonIconOnLeft = 6,
kControlPushButtonIconOnRight = 7
};
enum {
kControlKindPushButton = 'push',
kControlKindPushIconButton = 'picn'
};
#define kHIPushButtonClassID CFSTR("com.apple.HIPushButton")
# 127 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSStatus
CreatePushButtonControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef title,
ControlRef * outControl) ;
# 171 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSStatus
CreatePushButtonWithIconControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef title,
ControlButtonContentInfo * icon,
ControlPushButtonIconAlignment iconAlignment,
ControlRef * outControl) ;
# 189 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlPushButtonDefaultTag = 'dflt',
kControlPushButtonCancelTag = 'cncl',
# 213 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
kControlPushButtonContentTag = kControlContentTag,
kControlPushButtonIconAlignmentTag = 'cpia',
kControlPushButtonAnimatingTag = 'anim'
};
# 241 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlCheckBoxProc = 369
};
enum {
kControlCheckBoxAutoToggleProc = 371
};
enum {
kControlKindCheckBox = 'cbox'
};
#define kHICheckBoxClassID CFSTR("com.apple.HICheckBox")
# 297 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSStatus
CreateCheckBoxControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef title,
SInt32 initialValue,
Boolean autoToggle,
ControlRef * outControl) ;
enum {
kControlCheckBoxUncheckedValue = 0,
kControlCheckBoxCheckedValue = 1,
kControlCheckBoxMixedValue = 2
};
# 328 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlRadioButtonProc = 370
};
enum {
kControlRadioButtonAutoToggleProc = 372
};
enum {
kControlRadioButtonUncheckedValue = 0,
kControlRadioButtonCheckedValue = 1,
kControlRadioButtonMixedValue = 2
};
enum {
kControlKindRadioButton = 'rdio'
};
#define kHIRadioButtonClassID CFSTR("com.apple.HIRadioButton")
# 394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSStatus
CreateRadioButtonControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef title,
SInt32 initialValue,
Boolean autoToggle,
ControlRef * outControl) ;
# 426 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlRadioGroupProc = 416
};
enum {
kControlKindRadioGroup = 'rgrp'
};
#define kHIRadioGroupClassID CFSTR("com.apple.HIRadioGroup")
# 450 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSStatus
CreateRadioGroupControl(
WindowRef window,
const Rect * boundsRect,
ControlRef * outControl) ;
# 533 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlBevelButtonSmallBevelProc = 32,
kControlBevelButtonNormalBevelProc = 33,
kControlBevelButtonLargeBevelProc = 34
};
enum {
kControlBevelButtonSmallBevelVariant = 0,
kControlBevelButtonNormalBevelVariant = (1 << 0),
kControlBevelButtonLargeBevelVariant = (1 << 1),
kControlBevelButtonMenuOnRightVariant = (1 << 2)
};
typedef UInt16 ControlBevelThickness;
enum {
kControlBevelButtonSmallBevel = 0,
kControlBevelButtonNormalBevel = 1,
kControlBevelButtonLargeBevel = 2
};
enum {
kControlBehaviorPushbutton = 0,
kControlBehaviorToggles = 0x0100,
kControlBehaviorSticky = 0x0200,
kControlBehaviorOffsetContents = 0x8000,
kControlBehaviorSingleValueMenu = 0,
kControlBehaviorMultiValueMenu = 0x4000
};
enum {
kControlBehaviorCommandMenu = 0x2000
};
typedef UInt16 ControlBevelButtonBehavior;
typedef UInt16 ControlBevelButtonMenuBehavior;
typedef UInt16 ControlBevelButtonMenuPlacement;
enum {
kControlBevelButtonMenuOnBottom = 0,
kControlBevelButtonMenuOnRight = (1 << 2)
};
enum {
kControlKindBevelButton = 'bevl'
};
#define kHIBevelButtonClassID CFSTR("com.apple.HIBevelButton")
# 602 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSStatus
CreateBevelButtonControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef title,
ControlBevelThickness thickness,
ControlBevelButtonBehavior behavior,
ControlButtonContentInfoPtr info,
MenuID menuID,
ControlBevelButtonMenuBehavior menuBehavior,
ControlBevelButtonMenuPlacement menuPlacement,
ControlRef * outControl) ;
typedef SInt16 ControlButtonGraphicAlignment;
enum {
kControlBevelButtonAlignSysDirection = -1,
kControlBevelButtonAlignCenter = 0,
kControlBevelButtonAlignLeft = 1,
kControlBevelButtonAlignRight = 2,
kControlBevelButtonAlignTop = 3,
kControlBevelButtonAlignBottom = 4,
kControlBevelButtonAlignTopLeft = 5,
kControlBevelButtonAlignBottomLeft = 6,
kControlBevelButtonAlignTopRight = 7,
kControlBevelButtonAlignBottomRight = 8
};
typedef SInt16 ControlButtonTextAlignment;
enum {
kControlBevelButtonAlignTextSysDirection = teFlushDefault,
kControlBevelButtonAlignTextCenter = teCenter,
kControlBevelButtonAlignTextFlushRight = teFlushRight,
kControlBevelButtonAlignTextFlushLeft = teFlushLeft
};
typedef SInt16 ControlButtonTextPlacement;
enum {
kControlBevelButtonPlaceSysDirection = -1,
kControlBevelButtonPlaceNormally = 0,
kControlBevelButtonPlaceToRightOfGraphic = 1,
kControlBevelButtonPlaceToLeftOfGraphic = 2,
kControlBevelButtonPlaceBelowGraphic = 3,
kControlBevelButtonPlaceAboveGraphic = 4
};
enum {
kControlBevelButtonContentTag = kControlContentTag,
kControlBevelButtonTransformTag = 'tran',
kControlBevelButtonTextAlignTag = 'tali',
kControlBevelButtonTextOffsetTag = 'toff',
kControlBevelButtonGraphicAlignTag = 'gali',
kControlBevelButtonGraphicOffsetTag = 'goff',
kControlBevelButtonTextPlaceTag = 'tplc',
kControlBevelButtonMenuValueTag = 'mval',
kControlBevelButtonMenuHandleTag = 'mhnd',
kControlBevelButtonMenuRefTag = 'mhnd',
kControlBevelButtonCenterPopupGlyphTag = 'pglc'
};
enum {
kControlBevelButtonLastMenuTag = 'lmnu',
kControlBevelButtonMenuDelayTag = 'mdly'
};
enum {
kControlBevelButtonScaleIconTag = 'scal'
};
enum {
kControlBevelButtonOwnedMenuRefTag = 'omrf',
kControlBevelButtonKindTag = 'bebk'
};
enum {
kControlBevelButtonIsMultiValueMenuTag = 'mult'
};
# 721 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSErr
GetBevelButtonMenuValue(
ControlRef inButton,
MenuItemIndex * outValue) ;
# 738 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSErr
SetBevelButtonMenuValue(
ControlRef inButton,
MenuItemIndex inValue) ;
# 755 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSErr
GetBevelButtonMenuHandle(
ControlRef inButton,
MenuHandle * outHandle) ;
#define GetBevelButtonMenuRef GetBevelButtonMenuHandle
# 773 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSErr
GetBevelButtonContentInfo(
ControlRef inButton,
ControlButtonContentInfoPtr outContent) ;
# 790 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSErr
SetBevelButtonContentInfo(
ControlRef inButton,
ControlButtonContentInfoPtr inContent) ;
# 807 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSErr
SetBevelButtonTransform(
ControlRef inButton,
IconTransformType transform) ;
# 824 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSErr
SetBevelButtonGraphicAlignment(
ControlRef inButton,
ControlButtonGraphicAlignment inAlign,
SInt16 inHOffset,
SInt16 inVOffset) ;
# 843 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSErr
SetBevelButtonTextAlignment(
ControlRef inButton,
ControlButtonTextAlignment inAlign,
SInt16 inHOffset) ;
# 861 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSErr
SetBevelButtonTextPlacement(
ControlRef inButton,
ControlButtonTextPlacement inWhere) ;
# 880 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
typedef SInt16 ControlRoundButtonSize;
enum {
kControlRoundButtonNormalSize = kControlSizeNormal,
kControlRoundButtonLargeSize = kControlSizeLarge
};
enum {
kControlRoundButtonContentTag = kControlContentTag,
kControlRoundButtonSizeTag = kControlSizeTag
};
enum {
kControlKindRoundButton = 'rndb'
};
#define kHIRoundButtonClassID CFSTR("com.apple.HIRoundButton")
# 950 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
extern OSStatus
CreateRoundButtonControl(
WindowRef inWindow,
const Rect * inBoundsRect,
ControlRoundButtonSize inSize,
ControlButtonContentInfo * inContent,
ControlRef * outControl) ;
# 114 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 3
#define __HICLOCKVIEW__
# 57 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 3
enum {
kEventClassClockView = 'cloc'
};
# 87 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 3
enum {
kEventClockDateOrTimeChanged = 1
};
# 109 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 3
enum {
kControlClockTimeProc = 240,
kControlClockTimeSecondsProc = 241,
kControlClockDateProc = 242,
kControlClockMonthYearProc = 243
};
typedef UInt16 ControlClockType;
enum {
kControlClockTypeHourMinute = 0,
kControlClockTypeHourMinuteSecond = 1,
kControlClockTypeMonthDayYear = 2,
kControlClockTypeMonthYear = 3
};
typedef UInt32 ControlClockFlags;
enum {
kControlClockFlagStandard = 0,
kControlClockNoFlags = 0,
kControlClockFlagDisplayOnly = 1,
kControlClockIsDisplayOnly = 1,
kControlClockFlagLive = 2,
kControlClockIsLive = 2
};
enum {
kControlKindClock = 'clck'
};
#define kHIClockViewClassID CFSTR("com.apple.HIClock")
# 158 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 3
extern OSStatus
CreateClockControl(
WindowRef window,
const Rect * boundsRect,
ControlClockType clockType,
ControlClockFlags clockFlags,
ControlRef * outControl) ;
enum {
kControlClockLongDateTag = 'date',
kControlClockAbsoluteTimeTag = 'abst',
kControlClockFontStyleTag = kControlFontStyleTag,
kControlClockAnimatingTag = 'anim'
};
# 118 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HICocoaView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HICocoaView.h" 3
#define __HICOCOAVIEW__
# 122 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
#define __HICOMBOBOX__
# 63 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
#define kHIComboBoxClassID CFSTR("com.apple.HIComboBox")
enum {
kEventClassHIComboBox = 'hicb'
};
enum {
kEventParamComboBoxListSelectedItemIndex = 'cbli'
};
# 107 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
enum {
kEventComboBoxListItemSelected = 1
};
enum {
kHIComboBoxNoAttributes = 0L,
kHIComboBoxAutoCompletionAttribute = (1L << 0),
kHIComboBoxAutoDisclosureAttribute = (1L << 1),
kHIComboBoxAutoSortAttribute = (1L << 2),
kHIComboBoxAutoSizeListAttribute = (1L << 3),
kHIComboBoxStandardAttributes = (kHIComboBoxAutoCompletionAttribute | kHIComboBoxAutoDisclosureAttribute | kHIComboBoxAutoSizeListAttribute)
};
enum {
kControlKindHIComboBox = 'cbbx'
};
enum {
kHIComboBoxEditTextPart = 5,
kHIComboBoxDisclosurePart = 28
};
# 185 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
enum {
kHIComboBoxListTag = 'cbls',
kHIComboBoxListPixelWidthTag = 'cblw',
kHIComboBoxListPixelHeightTag = 'cblh',
kHIComboBoxNumVisibleItemsTag = 'cbni'
};
# 252 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
extern OSStatus
HIComboBoxCreate(
const HIRect * boundsRect,
CFStringRef text,
const ControlFontStyleRec * style,
CFArrayRef list,
OptionBits inAttributes,
HIViewRef * outComboBox) ;
# 284 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
extern ItemCount
HIComboBoxGetItemCount(HIViewRef inComboBox) ;
# 319 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
extern OSStatus
HIComboBoxInsertTextItemAtIndex(
HIViewRef inComboBox,
CFIndex inIndex,
CFStringRef inText) ;
# 356 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
extern OSStatus
HIComboBoxAppendTextItem(
HIViewRef inComboBox,
CFStringRef inText,
CFIndex * outIndex) ;
# 394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
extern OSStatus
HIComboBoxCopyTextItemAtIndex(
HIViewRef inComboBox,
CFIndex inIndex,
CFStringRef * outString) ;
# 427 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
extern OSStatus
HIComboBoxRemoveItemAtIndex(
HIViewRef inComboBox,
CFIndex inIndex) ;
# 461 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
extern OSStatus
HIComboBoxChangeAttributes(
HIViewRef inComboBox,
OptionBits inAttributesToSet,
OptionBits inAttributesToClear) ;
# 493 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
extern OSStatus
HIComboBoxGetAttributes(
HIViewRef inComboBox,
OptionBits * outAttributes) ;
# 522 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
extern Boolean
HIComboBoxIsListVisible(HIViewRef inComboBox) ;
# 552 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
extern OSStatus
HIComboBoxSetListVisible(
HIViewRef inComboBox,
Boolean inVisible) ;
# 126 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
#define __HICONTAINERVIEWS__
# 62 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
enum {
kControlGroupBoxTextTitleProc = 160,
kControlGroupBoxCheckBoxProc = 161,
kControlGroupBoxPopupButtonProc = 162,
kControlGroupBoxSecondaryTextTitleProc = 164,
kControlGroupBoxSecondaryCheckBoxProc = 165,
kControlGroupBoxSecondaryPopupButtonProc = 166
};
enum {
kControlKindGroupBox = 'grpb',
kControlKindCheckGroupBox = 'cgrp',
kControlKindPopupGroupBox = 'pgrp'
};
#define kHIGroupBoxClassID CFSTR("com.apple.HIGroupBox")
#define kHICheckBoxGroupClassID CFSTR("com.apple.HICheckBoxGroup")
# 115 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern OSStatus
CreateGroupBoxControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef title,
Boolean primary,
ControlRef * outControl) ;
# 163 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern OSStatus
CreateCheckGroupBoxControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef title,
SInt32 initialValue,
Boolean primary,
Boolean autoToggle,
ControlRef * outControl) ;
# 225 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern OSStatus
CreatePopupGroupBoxControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef title,
Boolean primary,
MenuID menuID,
Boolean variableWidth,
SInt16 titleWidth,
SInt16 titleJustification,
Style titleStyle,
ControlRef * outControl) ;
enum {
kControlGroupBoxMenuHandleTag = 'mhan',
kControlGroupBoxMenuRefTag = 'mhan',
kControlGroupBoxFontStyleTag = kControlFontStyleTag
};
enum {
kControlGroupBoxTitleRectTag = 'trec'
};
enum {
kControlGroupBoxFrameRectTag = 'frec'
};
enum {
kControlPlacardProc = 224
};
enum {
kControlKindPlacard = 'plac'
};
#define kHIPlacardViewClassID CFSTR("com.apple.HIPlacardView")
# 312 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern OSStatus
CreatePlacardControl(
WindowRef window,
const Rect * boundsRect,
ControlRef * outControl) ;
# 325 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
enum {
kControlWindowHeaderProc = 336,
kControlWindowListViewHeaderProc = 337
};
enum {
kControlKindWindowHeader = 'whed'
};
enum {
kControlWindowHeaderIsListHeaderTag = 'islh'
};
#define kHIWindowHeaderViewClassID CFSTR("com.apple.HIWindowHeaderView")
# 364 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern OSStatus
CreateWindowHeaderControl(
WindowRef window,
const Rect * boundsRect,
Boolean isListHeader,
ControlRef * outControl) ;
# 398 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
enum {
kControlUserPaneProc = 256
};
enum {
kControlKindUserPane = 'upan'
};
#define kHIUserPaneClassID CFSTR("com.apple.HIUserPane")
# 422 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern OSStatus
CreateUserPaneControl(
WindowRef window,
const Rect * boundsRect,
UInt32 features,
ControlRef * outControl) ;
enum {
kControlUserItemDrawProcTag = 'uidp',
kControlUserPaneDrawProcTag = 'draw',
kControlUserPaneHitTestProcTag = 'hitt',
kControlUserPaneTrackingProcTag = 'trak',
kControlUserPaneIdleProcTag = 'idle',
kControlUserPaneKeyDownProcTag = 'keyd',
kControlUserPaneActivateProcTag = 'acti',
kControlUserPaneFocusProcTag = 'foci',
kControlUserPaneBackgroundProcTag = 'back'
};
typedef void ( * ControlUserPaneDrawProcPtr)(ControlRef control, ControlPartCode part);
typedef ControlPartCode ( * ControlUserPaneHitTestProcPtr)(ControlRef control, Point where);
typedef ControlPartCode ( * ControlUserPaneTrackingProcPtr)(ControlRef control, Point startPt, ControlActionUPP actionProc);
typedef void ( * ControlUserPaneIdleProcPtr)(ControlRef control);
typedef ControlPartCode ( * ControlUserPaneKeyDownProcPtr)(ControlRef control, SInt16 keyCode, SInt16 charCode, SInt16 modifiers);
typedef void ( * ControlUserPaneActivateProcPtr)(ControlRef control, Boolean activating);
typedef ControlPartCode ( * ControlUserPaneFocusProcPtr)(ControlRef control, ControlFocusPart action);
typedef ControlUserPaneDrawProcPtr ControlUserPaneDrawUPP;
typedef ControlUserPaneHitTestProcPtr ControlUserPaneHitTestUPP;
typedef ControlUserPaneTrackingProcPtr ControlUserPaneTrackingUPP;
typedef ControlUserPaneIdleProcPtr ControlUserPaneIdleUPP;
typedef ControlUserPaneKeyDownProcPtr ControlUserPaneKeyDownUPP;
typedef ControlUserPaneActivateProcPtr ControlUserPaneActivateUPP;
typedef ControlUserPaneFocusProcPtr ControlUserPaneFocusUPP;
# 468 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneDrawUPP
NewControlUserPaneDrawUPP(ControlUserPaneDrawProcPtr userRoutine) ;
# 479 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneHitTestUPP
NewControlUserPaneHitTestUPP(ControlUserPaneHitTestProcPtr userRoutine) ;
# 490 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneTrackingUPP
NewControlUserPaneTrackingUPP(ControlUserPaneTrackingProcPtr userRoutine) ;
# 501 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneIdleUPP
NewControlUserPaneIdleUPP(ControlUserPaneIdleProcPtr userRoutine) ;
# 512 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneKeyDownUPP
NewControlUserPaneKeyDownUPP(ControlUserPaneKeyDownProcPtr userRoutine) ;
# 523 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneActivateUPP
NewControlUserPaneActivateUPP(ControlUserPaneActivateProcPtr userRoutine) ;
# 534 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneFocusUPP
NewControlUserPaneFocusUPP(ControlUserPaneFocusProcPtr userRoutine) ;
# 545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneDrawUPP(ControlUserPaneDrawUPP userUPP) ;
# 556 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneHitTestUPP(ControlUserPaneHitTestUPP userUPP) ;
# 567 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneTrackingUPP(ControlUserPaneTrackingUPP userUPP) ;
# 578 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneIdleUPP(ControlUserPaneIdleUPP userUPP) ;
# 589 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneKeyDownUPP(ControlUserPaneKeyDownUPP userUPP) ;
# 600 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneActivateUPP(ControlUserPaneActivateUPP userUPP) ;
# 611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneFocusUPP(ControlUserPaneFocusUPP userUPP) ;
# 622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
InvokeControlUserPaneDrawUPP(
ControlRef control,
ControlPartCode part,
ControlUserPaneDrawUPP userUPP) ;
# 636 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlPartCode
InvokeControlUserPaneHitTestUPP(
ControlRef control,
Point where,
ControlUserPaneHitTestUPP userUPP) ;
# 650 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlPartCode
InvokeControlUserPaneTrackingUPP(
ControlRef control,
Point startPt,
ControlActionUPP actionProc,
ControlUserPaneTrackingUPP userUPP) ;
# 665 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
InvokeControlUserPaneIdleUPP(
ControlRef control,
ControlUserPaneIdleUPP userUPP) ;
# 678 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlPartCode
InvokeControlUserPaneKeyDownUPP(
ControlRef control,
SInt16 keyCode,
SInt16 charCode,
SInt16 modifiers,
ControlUserPaneKeyDownUPP userUPP) ;
# 694 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
InvokeControlUserPaneActivateUPP(
ControlRef control,
Boolean activating,
ControlUserPaneActivateUPP userUPP) ;
# 708 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlPartCode
InvokeControlUserPaneFocusUPP(
ControlRef control,
ControlFocusPart action,
ControlUserPaneFocusUPP userUPP) ;
# 738 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
#define NewControlUserPaneDrawUPP(userRoutine) ((ControlUserPaneDrawUPP)userRoutine)
#define NewControlUserPaneHitTestUPP(userRoutine) ((ControlUserPaneHitTestUPP)userRoutine)
#define NewControlUserPaneTrackingUPP(userRoutine) ((ControlUserPaneTrackingUPP)userRoutine)
#define NewControlUserPaneIdleUPP(userRoutine) ((ControlUserPaneIdleUPP)userRoutine)
#define NewControlUserPaneKeyDownUPP(userRoutine) ((ControlUserPaneKeyDownUPP)userRoutine)
#define NewControlUserPaneActivateUPP(userRoutine) ((ControlUserPaneActivateUPP)userRoutine)
#define NewControlUserPaneFocusUPP(userRoutine) ((ControlUserPaneFocusUPP)userRoutine)
#define DisposeControlUserPaneDrawUPP(userUPP)
#define DisposeControlUserPaneHitTestUPP(userUPP)
#define DisposeControlUserPaneTrackingUPP(userUPP)
#define DisposeControlUserPaneIdleUPP(userUPP)
#define DisposeControlUserPaneKeyDownUPP(userUPP)
#define DisposeControlUserPaneActivateUPP(userUPP)
#define DisposeControlUserPaneFocusUPP(userUPP)
#define InvokeControlUserPaneDrawUPP(control,part,userUPP) (*userUPP)(control, part)
#define InvokeControlUserPaneHitTestUPP(control,where,userUPP) (*userUPP)(control, where)
#define InvokeControlUserPaneTrackingUPP(control,startPt,actionProc,userUPP) (*userUPP)(control, startPt, actionProc)
#define InvokeControlUserPaneIdleUPP(control,userUPP) (*userUPP)(control)
#define InvokeControlUserPaneKeyDownUPP(control,keyCode,charCode,modifiers,userUPP) (*userUPP)(control, keyCode, charCode, modifiers)
#define InvokeControlUserPaneActivateUPP(control,activating,userUPP) (*userUPP)(control, activating)
#define InvokeControlUserPaneFocusUPP(control,action,userUPP) (*userUPP)(control, action)
typedef void ( * ControlUserPaneBackgroundProcPtr)(ControlRef control, ControlBackgroundPtr info);
typedef ControlUserPaneBackgroundProcPtr ControlUserPaneBackgroundUPP;
# 773 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneBackgroundUPP
NewControlUserPaneBackgroundUPP(ControlUserPaneBackgroundProcPtr userRoutine) ;
# 784 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneBackgroundUPP(ControlUserPaneBackgroundUPP userUPP) ;
# 795 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
InvokeControlUserPaneBackgroundUPP(
ControlRef control,
ControlBackgroundPtr info,
ControlUserPaneBackgroundUPP userUPP) ;
#define NewControlUserPaneBackgroundUPP(userRoutine) ((ControlUserPaneBackgroundUPP)userRoutine)
#define DisposeControlUserPaneBackgroundUPP(userUPP)
#define InvokeControlUserPaneBackgroundUPP(control,info,userUPP) (*userUPP)(control, info)
# 130 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
#define __HIDATABROWSER__
# 82 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
#pragma pack(push, 2)
#define kHIDataBrowserClassID CFSTR("com.apple.HIDataBrowser")
enum {
kControlKindDataBrowser = 'datb'
};
enum {
errDataBrowserNotConfigured = -4970,
errDataBrowserItemNotFound = -4971,
errDataBrowserItemNotAdded = -4975,
errDataBrowserPropertyNotFound = -4972,
errDataBrowserInvalidPropertyPart = -4973,
errDataBrowserInvalidPropertyData = -4974,
errDataBrowserPropertyNotSupported = -4979
};
enum {
kControlDataBrowserIncludesFrameAndFocusTag = 'brdr',
kControlDataBrowserKeyFilterTag = kControlKeyFilterTag,
kControlDataBrowserEditTextKeyFilterTag = kControlDataBrowserKeyFilterTag,
kControlDataBrowserEditTextValidationProcTag = 'vali'
};
typedef OSType DataBrowserViewStyle;
enum {
kDataBrowserNoView = 0x3F3F3F3F,
kDataBrowserListView = 'lstv',
kDataBrowserColumnView = 'clmv'
};
typedef UInt32 DataBrowserSelectionFlags;
enum {
kDataBrowserDragSelect = 1 << 0,
kDataBrowserSelectOnlyOne = 1 << 1,
kDataBrowserResetSelection = 1 << 2,
kDataBrowserCmdTogglesSelection = 1 << 3,
kDataBrowserNoDisjointSelection = 1 << 4,
kDataBrowserAlwaysExtendSelection = 1 << 5,
kDataBrowserNeverEmptySelectionSet = 1 << 6
};
typedef UInt16 DataBrowserSortOrder;
enum {
kDataBrowserOrderUndefined = 0,
kDataBrowserOrderIncreasing = 1,
kDataBrowserOrderDecreasing = 2
};
typedef unsigned long DataBrowserItemID;
enum {
kDataBrowserNoItem = 0L
};
typedef UInt32 DataBrowserItemState;
enum {
kDataBrowserItemNoState = 0,
kDataBrowserItemAnyState = (unsigned long)(-1),
kDataBrowserItemIsSelected = 1 << 0,
kDataBrowserContainerIsOpen = 1 << 1,
kDataBrowserItemIsDragTarget = 1 << 2
};
typedef UInt8 DataBrowserRevealOptions;
enum {
kDataBrowserRevealOnly = 0,
kDataBrowserRevealAndCenterInView = 1 << 0,
kDataBrowserRevealWithoutSelecting = 1 << 1
};
typedef UInt32 DataBrowserSetOption;
enum {
kDataBrowserItemsAdd = 0,
kDataBrowserItemsAssign = 1,
kDataBrowserItemsToggle = 2,
kDataBrowserItemsRemove = 3
};
typedef UInt32 DataBrowserSelectionAnchorDirection;
enum {
kDataBrowserSelectionAnchorUp = 0,
kDataBrowserSelectionAnchorDown = 1,
kDataBrowserSelectionAnchorLeft = 2,
kDataBrowserSelectionAnchorRight = 3
};
typedef UInt32 DataBrowserEditCommand;
enum {
kDataBrowserEditMsgUndo = kHICommandUndo,
kDataBrowserEditMsgRedo = kHICommandRedo,
kDataBrowserEditMsgCut = kHICommandCut,
kDataBrowserEditMsgCopy = kHICommandCopy,
kDataBrowserEditMsgPaste = kHICommandPaste,
kDataBrowserEditMsgClear = kHICommandClear,
kDataBrowserEditMsgSelectAll = kHICommandSelectAll
};
typedef UInt32 DataBrowserItemNotification;
enum {
kDataBrowserItemAdded = 1,
kDataBrowserItemRemoved = 2,
kDataBrowserEditStarted = 3,
kDataBrowserEditStopped = 4,
kDataBrowserItemSelected = 5,
kDataBrowserItemDeselected = 6,
kDataBrowserItemDoubleClicked = 7,
kDataBrowserContainerOpened = 8,
kDataBrowserContainerClosing = 9,
kDataBrowserContainerClosed = 10,
kDataBrowserContainerSorting = 11,
kDataBrowserContainerSorted = 12,
kDataBrowserUserToggledContainer = 16,
kDataBrowserTargetChanged = 15,
kDataBrowserUserStateChanged = 13,
kDataBrowserSelectionSetChanged = 14
};
# 219 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kDataBrowserItemNoProperty = 0L,
kDataBrowserItemIsActiveProperty = 1L,
kDataBrowserItemIsSelectableProperty = 2L,
kDataBrowserItemIsEditableProperty = 3L,
kDataBrowserItemIsContainerProperty = 4L,
kDataBrowserContainerIsOpenableProperty = 5L,
kDataBrowserContainerIsClosableProperty = 6L,
kDataBrowserContainerIsSortableProperty = 7L,
kDataBrowserItemSelfIdentityProperty = 8L,
# 245 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserContainerAliasIDProperty = 9L,
# 261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserColumnViewPreviewProperty = 10L,
# 288 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserItemParentContainerProperty = 11L
};
typedef unsigned long DataBrowserPropertyID;
typedef OSType DataBrowserPropertyType;
enum {
kDataBrowserCustomType = 0x3F3F3F3F,
kDataBrowserIconType = 'icnr',
kDataBrowserTextType = 'text',
kDataBrowserDateTimeType = 'date',
kDataBrowserSliderType = 'sldr',
kDataBrowserCheckboxType = 'chbx',
kDataBrowserProgressBarType = 'prog',
kDataBrowserRelevanceRankType = 'rank',
kDataBrowserPopupMenuType = 'menu',
kDataBrowserIconAndTextType = 'ticn'
};
typedef OSType DataBrowserPropertyPart;
enum {
kDataBrowserPropertyEnclosingPart = 0L,
kDataBrowserPropertyContentPart = '----',
kDataBrowserPropertyDisclosurePart = 'disc',
kDataBrowserPropertyTextPart = kDataBrowserTextType,
kDataBrowserPropertyIconPart = kDataBrowserIconType,
kDataBrowserPropertySliderPart = kDataBrowserSliderType,
kDataBrowserPropertyCheckboxPart = kDataBrowserCheckboxType,
kDataBrowserPropertyProgressBarPart = kDataBrowserProgressBarType,
kDataBrowserPropertyRelevanceRankPart = kDataBrowserRelevanceRankType
};
typedef UInt32 DataBrowserPropertyFlags;
enum {
kDataBrowserUniversalPropertyFlagsMask = 0xFF,
kDataBrowserPropertyIsMutable = 1 << 0,
kDataBrowserDefaultPropertyFlags = 0 << 0,
kDataBrowserUniversalPropertyFlags = kDataBrowserUniversalPropertyFlagsMask,
kDataBrowserPropertyIsEditable = kDataBrowserPropertyIsMutable
};
enum {
kDataBrowserPropertyFlagsOffset = 8,
kDataBrowserPropertyFlagsMask = 0xFF << kDataBrowserPropertyFlagsOffset,
kDataBrowserCheckboxTriState = 1 << kDataBrowserPropertyFlagsOffset,
kDataBrowserDateTimeRelative = 1 << (kDataBrowserPropertyFlagsOffset),
kDataBrowserDateTimeDateOnly = 1 << (kDataBrowserPropertyFlagsOffset + 1),
kDataBrowserDateTimeTimeOnly = 1 << (kDataBrowserPropertyFlagsOffset + 2),
kDataBrowserDateTimeSecondsToo = 1 << (kDataBrowserPropertyFlagsOffset + 3),
kDataBrowserSliderPlainThumb = kThemeThumbPlain << kDataBrowserPropertyFlagsOffset,
kDataBrowserSliderUpwardThumb = kThemeThumbUpward << kDataBrowserPropertyFlagsOffset,
kDataBrowserSliderDownwardThumb = kThemeThumbDownward << kDataBrowserPropertyFlagsOffset,
kDataBrowserDoNotTruncateText = 3 << kDataBrowserPropertyFlagsOffset,
kDataBrowserTruncateTextAtEnd = 2 << kDataBrowserPropertyFlagsOffset,
kDataBrowserTruncateTextMiddle = 0 << kDataBrowserPropertyFlagsOffset,
kDataBrowserTruncateTextAtStart = 1 << kDataBrowserPropertyFlagsOffset,
# 366 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserPopupMenuButtonless = 1 << kDataBrowserPropertyFlagsOffset,
kDataBrowserPropertyModificationFlags = kDataBrowserPropertyFlagsMask,
kDataBrowserRelativeDateTime = kDataBrowserDateTimeRelative
};
enum {
kDataBrowserViewSpecificFlagsOffset = 16,
kDataBrowserViewSpecificFlagsMask = 0xFF << kDataBrowserViewSpecificFlagsOffset,
kDataBrowserViewSpecificPropertyFlags = kDataBrowserViewSpecificFlagsMask
};
enum {
kDataBrowserClientPropertyFlagsOffset = 24,
kDataBrowserClientPropertyFlagsMask = 0xFF << kDataBrowserClientPropertyFlagsOffset
};
struct DataBrowserPropertyDesc {
DataBrowserPropertyID propertyID;
DataBrowserPropertyType propertyType;
DataBrowserPropertyFlags propertyFlags;
};
typedef struct DataBrowserPropertyDesc DataBrowserPropertyDesc;
typedef void ( * DataBrowserItemProcPtr)(DataBrowserItemID item, DataBrowserItemState state, void *clientData);
typedef DataBrowserItemProcPtr DataBrowserItemUPP;
# 405 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemUPP
NewDataBrowserItemUPP(DataBrowserItemProcPtr userRoutine) ;
# 416 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemUPP(DataBrowserItemUPP userUPP) ;
# 427 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserItemUPP(
DataBrowserItemID item,
DataBrowserItemState state,
void * clientData,
DataBrowserItemUPP userUPP) ;
#define NewDataBrowserItemUPP(userRoutine) ((DataBrowserItemUPP)userRoutine)
#define DisposeDataBrowserItemUPP(userUPP)
#define InvokeDataBrowserItemUPP(item,state,clientData,userUPP) (*userUPP)(item, state, clientData)
# 459 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
CreateDataBrowserControl(
WindowRef window,
const Rect * boundsRect,
DataBrowserViewStyle style,
ControlRef * outControl) ;
# 478 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserViewStyle(
ControlRef browser,
DataBrowserViewStyle * style) ;
# 495 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserViewStyle(
ControlRef browser,
DataBrowserViewStyle style) ;
# 512 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kDataBrowserAttributeNone = 0,
# 531 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserAttributeColumnViewResizeWindow = (1 << 0),
kDataBrowserAttributeListViewAlternatingRowColors = (1 << 1),
kDataBrowserAttributeListViewDrawColumnDividers = (1 << 2),
# 568 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserAttributeAutoHideScrollBars = (1 << 3),
# 577 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserAttributeReserveGrowBoxSpace = (1 << 4)
};
# 609 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
DataBrowserChangeAttributes(
ControlRef inDataBrowser,
OptionBits inAttributesToSet,
OptionBits inAttributesToClear) ;
# 642 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
DataBrowserGetAttributes(
ControlRef inDataBrowser,
OptionBits * outAttributes) ;
# 659 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kDataBrowserMetricCellContentInset = 1,
kDataBrowserMetricIconAndTextGap = 2,
# 683 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserMetricDisclosureColumnEdgeInset = 3,
kDataBrowserMetricDisclosureTriangleAndContentGap = 4,
kDataBrowserMetricDisclosureColumnPerDepthGap = 5,
kDataBrowserMetricLast = kDataBrowserMetricDisclosureColumnPerDepthGap
};
typedef UInt32 DataBrowserMetric;
# 741 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
DataBrowserSetMetric(
ControlRef inDataBrowser,
DataBrowserMetric inMetric,
Boolean inUseDefaultValue,
CGFloat inValue) ;
# 784 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
DataBrowserGetMetric(
ControlRef inDataBrowser,
DataBrowserMetric inMetric,
Boolean * outUsingDefaultValue,
CGFloat * outValue) ;
# 808 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
AddDataBrowserItems(
ControlRef browser,
DataBrowserItemID container,
ItemCount numItems,
const DataBrowserItemID * items,
DataBrowserPropertyID preSortProperty) ;
# 828 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
RemoveDataBrowserItems(
ControlRef browser,
DataBrowserItemID container,
ItemCount numItems,
const DataBrowserItemID * items,
DataBrowserPropertyID preSortProperty) ;
# 848 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
UpdateDataBrowserItems(
ControlRef browser,
DataBrowserItemID container,
ItemCount numItems,
const DataBrowserItemID * items,
DataBrowserPropertyID preSortProperty,
DataBrowserPropertyID propertyID) ;
# 870 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
EnableDataBrowserEditCommand(
ControlRef browser,
DataBrowserEditCommand command) ;
# 887 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
ExecuteDataBrowserEditCommand(
ControlRef browser,
DataBrowserEditCommand command) ;
# 904 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserSelectionAnchor(
ControlRef browser,
DataBrowserItemID * first,
DataBrowserItemID * last) ;
# 922 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
MoveDataBrowserSelectionAnchor(
ControlRef browser,
DataBrowserSelectionAnchorDirection direction,
Boolean extendSelection) ;
# 941 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
OpenDataBrowserContainer(
ControlRef browser,
DataBrowserItemID container) ;
# 958 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
CloseDataBrowserContainer(
ControlRef browser,
DataBrowserItemID container) ;
# 975 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SortDataBrowserContainer(
ControlRef browser,
DataBrowserItemID container,
Boolean sortChildren) ;
# 994 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItems(
ControlRef browser,
DataBrowserItemID container,
Boolean recurse,
DataBrowserItemState state,
Handle items) ;
# 1014 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemCount(
ControlRef browser,
DataBrowserItemID container,
Boolean recurse,
DataBrowserItemState state,
ItemCount * numItems) ;
# 1034 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
ForEachDataBrowserItem(
ControlRef browser,
DataBrowserItemID container,
Boolean recurse,
DataBrowserItemState state,
DataBrowserItemUPP callback,
void * clientData) ;
# 1056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
IsDataBrowserItemSelected(
ControlRef browser,
DataBrowserItemID item) ;
# 1073 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemState(
ControlRef browser,
DataBrowserItemID item,
DataBrowserItemState * state) ;
# 1091 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
RevealDataBrowserItem(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID propertyID,
DataBrowserRevealOptions options) ;
# 1111 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserSelectedItems(
ControlRef browser,
ItemCount numItems,
const DataBrowserItemID * items,
DataBrowserSetOption operation) ;
# 1133 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserUserState(
ControlRef browser,
CFDictionaryRef stateInfo) ;
# 1150 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserUserState(
ControlRef browser,
CFDictionaryRef * stateInfo) ;
# 1168 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserActiveItems(
ControlRef browser,
Boolean active) ;
# 1185 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserActiveItems(
ControlRef browser,
Boolean * active) ;
# 1203 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserScrollBarInset(
ControlRef browser,
Rect * insetRect) ;
# 1220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserScrollBarInset(
ControlRef browser,
Rect * insetRect) ;
# 1240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserTarget(
ControlRef browser,
DataBrowserItemID target) ;
# 1257 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTarget(
ControlRef browser,
DataBrowserItemID * target) ;
# 1276 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserSortOrder(
ControlRef browser,
DataBrowserSortOrder order) ;
# 1293 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserSortOrder(
ControlRef browser,
DataBrowserSortOrder * order) ;
# 1311 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserScrollPosition(
ControlRef browser,
UInt32 top,
UInt32 left) ;
# 1329 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserScrollPosition(
ControlRef browser,
UInt32 * top,
UInt32 * left) ;
# 1348 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserHasScrollBars(
ControlRef browser,
Boolean horiz,
Boolean vert) ;
# 1366 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserHasScrollBars(
ControlRef browser,
Boolean * horiz,
Boolean * vert) ;
# 1385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserSortProperty(
ControlRef browser,
DataBrowserPropertyID property) ;
# 1402 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserSortProperty(
ControlRef browser,
DataBrowserPropertyID * property) ;
# 1420 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserSelectionFlags(
ControlRef browser,
DataBrowserSelectionFlags selectionFlags) ;
# 1437 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserSelectionFlags(
ControlRef browser,
DataBrowserSelectionFlags * selectionFlags) ;
# 1455 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserPropertyFlags(
ControlRef browser,
DataBrowserPropertyID property,
DataBrowserPropertyFlags flags) ;
# 1473 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserPropertyFlags(
ControlRef browser,
DataBrowserPropertyID property,
DataBrowserPropertyFlags * flags) ;
# 1492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserEditText(
ControlRef browser,
CFStringRef text) ;
# 1509 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
CopyDataBrowserEditText(
ControlRef browser,
CFStringRef * text) ;
# 1526 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserEditText(
ControlRef browser,
CFMutableStringRef text) ;
# 1544 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserEditItem(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID property) ;
# 1562 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserEditItem(
ControlRef browser,
DataBrowserItemID * item,
DataBrowserPropertyID * property) ;
# 1581 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemPartBounds(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID property,
DataBrowserPropertyPart part,
Rect * bounds) ;
typedef void * DataBrowserItemDataRef;
# 1607 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataIcon(
DataBrowserItemDataRef itemData,
IconRef theData) ;
# 1624 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataIcon(
DataBrowserItemDataRef itemData,
IconRef * theData) ;
# 1641 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataText(
DataBrowserItemDataRef itemData,
CFStringRef theData) ;
# 1658 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataText(
DataBrowserItemDataRef itemData,
CFStringRef * theData) ;
# 1676 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataValue(
DataBrowserItemDataRef itemData,
SInt32 theData) ;
# 1693 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataValue(
DataBrowserItemDataRef itemData,
SInt32 * theData) ;
# 1710 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataMinimum(
DataBrowserItemDataRef itemData,
SInt32 theData) ;
# 1727 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataMinimum(
DataBrowserItemDataRef itemData,
SInt32 * theData) ;
# 1744 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataMaximum(
DataBrowserItemDataRef itemData,
SInt32 theData) ;
# 1761 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataMaximum(
DataBrowserItemDataRef itemData,
SInt32 * theData) ;
# 1778 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataBooleanValue(
DataBrowserItemDataRef itemData,
Boolean theData) ;
# 1795 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataBooleanValue(
DataBrowserItemDataRef itemData,
Boolean * theData) ;
# 1812 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataMenuRef(
DataBrowserItemDataRef itemData,
MenuRef theData) ;
# 1829 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataMenuRef(
DataBrowserItemDataRef itemData,
MenuRef * theData) ;
# 1846 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataRGBColor(
DataBrowserItemDataRef itemData,
const RGBColor * theData) ;
# 1863 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataRGBColor(
DataBrowserItemDataRef itemData,
RGBColor * theData) ;
# 1881 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataDrawState(
DataBrowserItemDataRef itemData,
ThemeDrawState theData) ;
# 1898 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataDrawState(
DataBrowserItemDataRef itemData,
ThemeDrawState * theData) ;
# 1915 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataButtonValue(
DataBrowserItemDataRef itemData,
ThemeButtonValue theData) ;
# 1932 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataButtonValue(
DataBrowserItemDataRef itemData,
ThemeButtonValue * theData) ;
# 1949 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataIconTransform(
DataBrowserItemDataRef itemData,
IconTransformType theData) ;
# 1966 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataIconTransform(
DataBrowserItemDataRef itemData,
IconTransformType * theData) ;
# 1984 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataDateTime(
DataBrowserItemDataRef itemData,
SInt32 theData) ;
# 2001 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataDateTime(
DataBrowserItemDataRef itemData,
SInt32 * theData) ;
# 2018 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataLongDateTime(
DataBrowserItemDataRef itemData,
const LongDateTime * theData) ;
# 2035 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataLongDateTime(
DataBrowserItemDataRef itemData,
LongDateTime * theData) ;
# 2053 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserItemDataItemID(
DataBrowserItemDataRef itemData,
DataBrowserItemID theData) ;
# 2070 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataItemID(
DataBrowserItemDataRef itemData,
DataBrowserItemID * theData) ;
# 2087 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserItemDataProperty(
DataBrowserItemDataRef itemData,
DataBrowserPropertyID * theData) ;
# 2099 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
typedef OSStatus ( * DataBrowserItemDataProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserPropertyID property, DataBrowserItemDataRef itemData, Boolean setValue);
typedef DataBrowserItemDataProcPtr DataBrowserItemDataUPP;
typedef Boolean ( * DataBrowserItemCompareProcPtr)(ControlRef browser, DataBrowserItemID itemOne, DataBrowserItemID itemTwo, DataBrowserPropertyID sortProperty);
typedef DataBrowserItemCompareProcPtr DataBrowserItemCompareUPP;
# 2121 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
typedef void ( * DataBrowserItemNotificationWithItemProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserItemNotification message, DataBrowserItemDataRef itemData);
typedef void ( * DataBrowserItemNotificationProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserItemNotification message);
typedef DataBrowserItemNotificationWithItemProcPtr DataBrowserItemNotificationWithItemUPP;
typedef DataBrowserItemNotificationProcPtr DataBrowserItemNotificationUPP;
typedef Boolean ( * DataBrowserAddDragItemProcPtr)(ControlRef browser, DragReference theDrag, DataBrowserItemID item, ItemReference *itemRef);
typedef Boolean ( * DataBrowserAcceptDragProcPtr)(ControlRef browser, DragReference theDrag, DataBrowserItemID item);
typedef Boolean ( * DataBrowserReceiveDragProcPtr)(ControlRef browser, DragReference theDrag, DataBrowserItemID item);
typedef void ( * DataBrowserPostProcessDragProcPtr)(ControlRef browser, DragReference theDrag, OSStatus trackDragResult);
typedef DataBrowserAddDragItemProcPtr DataBrowserAddDragItemUPP;
typedef DataBrowserAcceptDragProcPtr DataBrowserAcceptDragUPP;
typedef DataBrowserReceiveDragProcPtr DataBrowserReceiveDragUPP;
typedef DataBrowserPostProcessDragProcPtr DataBrowserPostProcessDragUPP;
typedef void ( * DataBrowserGetContextualMenuProcPtr)(ControlRef browser, MenuRef *menu, UInt32 *helpType, CFStringRef *helpItemString, AEDesc *selection);
typedef void ( * DataBrowserSelectContextualMenuProcPtr)(ControlRef browser, MenuRef menu, UInt32 selectionType, SInt16 menuID, MenuItemIndex menuItem);
typedef DataBrowserGetContextualMenuProcPtr DataBrowserGetContextualMenuUPP;
typedef DataBrowserSelectContextualMenuProcPtr DataBrowserSelectContextualMenuUPP;
typedef void ( * DataBrowserItemHelpContentProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserPropertyID property, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentRec *ioHelpContent);
typedef DataBrowserItemHelpContentProcPtr DataBrowserItemHelpContentUPP;
# 2154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemDataUPP
NewDataBrowserItemDataUPP(DataBrowserItemDataProcPtr userRoutine) ;
# 2165 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemCompareUPP
NewDataBrowserItemCompareUPP(DataBrowserItemCompareProcPtr userRoutine) ;
# 2176 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemNotificationWithItemUPP
NewDataBrowserItemNotificationWithItemUPP(DataBrowserItemNotificationWithItemProcPtr userRoutine) ;
# 2187 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemNotificationUPP
NewDataBrowserItemNotificationUPP(DataBrowserItemNotificationProcPtr userRoutine) ;
# 2198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserAddDragItemUPP
NewDataBrowserAddDragItemUPP(DataBrowserAddDragItemProcPtr userRoutine) ;
# 2209 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserAcceptDragUPP
NewDataBrowserAcceptDragUPP(DataBrowserAcceptDragProcPtr userRoutine) ;
# 2220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserReceiveDragUPP
NewDataBrowserReceiveDragUPP(DataBrowserReceiveDragProcPtr userRoutine) ;
# 2231 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserPostProcessDragUPP
NewDataBrowserPostProcessDragUPP(DataBrowserPostProcessDragProcPtr userRoutine) ;
# 2242 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserGetContextualMenuUPP
NewDataBrowserGetContextualMenuUPP(DataBrowserGetContextualMenuProcPtr userRoutine) ;
# 2253 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserSelectContextualMenuUPP
NewDataBrowserSelectContextualMenuUPP(DataBrowserSelectContextualMenuProcPtr userRoutine) ;
# 2264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemHelpContentUPP
NewDataBrowserItemHelpContentUPP(DataBrowserItemHelpContentProcPtr userRoutine) ;
# 2275 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemDataUPP(DataBrowserItemDataUPP userUPP) ;
# 2286 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemCompareUPP(DataBrowserItemCompareUPP userUPP) ;
# 2297 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemNotificationWithItemUPP(DataBrowserItemNotificationWithItemUPP userUPP) ;
# 2308 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemNotificationUPP(DataBrowserItemNotificationUPP userUPP) ;
# 2319 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserAddDragItemUPP(DataBrowserAddDragItemUPP userUPP) ;
# 2330 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserAcceptDragUPP(DataBrowserAcceptDragUPP userUPP) ;
# 2341 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserReceiveDragUPP(DataBrowserReceiveDragUPP userUPP) ;
# 2352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserPostProcessDragUPP(DataBrowserPostProcessDragUPP userUPP) ;
# 2363 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserGetContextualMenuUPP(DataBrowserGetContextualMenuUPP userUPP) ;
# 2374 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserSelectContextualMenuUPP(DataBrowserSelectContextualMenuUPP userUPP) ;
# 2385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemHelpContentUPP(DataBrowserItemHelpContentUPP userUPP) ;
# 2396 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
InvokeDataBrowserItemDataUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID property,
DataBrowserItemDataRef itemData,
Boolean setValue,
DataBrowserItemDataUPP userUPP) ;
# 2413 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserItemCompareUPP(
ControlRef browser,
DataBrowserItemID itemOne,
DataBrowserItemID itemTwo,
DataBrowserPropertyID sortProperty,
DataBrowserItemCompareUPP userUPP) ;
# 2429 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserItemNotificationWithItemUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserItemNotification message,
DataBrowserItemDataRef itemData,
DataBrowserItemNotificationWithItemUPP userUPP) ;
# 2445 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserItemNotificationUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserItemNotification message,
DataBrowserItemNotificationUPP userUPP) ;
# 2460 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserAddDragItemUPP(
ControlRef browser,
DragReference theDrag,
DataBrowserItemID item,
ItemReference * itemRef,
DataBrowserAddDragItemUPP userUPP) ;
# 2476 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserAcceptDragUPP(
ControlRef browser,
DragReference theDrag,
DataBrowserItemID item,
DataBrowserAcceptDragUPP userUPP) ;
# 2491 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserReceiveDragUPP(
ControlRef browser,
DragReference theDrag,
DataBrowserItemID item,
DataBrowserReceiveDragUPP userUPP) ;
# 2506 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserPostProcessDragUPP(
ControlRef browser,
DragReference theDrag,
OSStatus trackDragResult,
DataBrowserPostProcessDragUPP userUPP) ;
# 2521 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserGetContextualMenuUPP(
ControlRef browser,
MenuRef * menu,
UInt32 * helpType,
CFStringRef * helpItemString,
AEDesc * selection,
DataBrowserGetContextualMenuUPP userUPP) ;
# 2538 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserSelectContextualMenuUPP(
ControlRef browser,
MenuRef menu,
UInt32 selectionType,
SInt16 menuID,
MenuItemIndex menuItem,
DataBrowserSelectContextualMenuUPP userUPP) ;
# 2555 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserItemHelpContentUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID property,
HMContentRequest inRequest,
HMContentProvidedType * outContentProvided,
HMHelpContentRec * ioHelpContent,
DataBrowserItemHelpContentUPP userUPP) ;
# 2601 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
#define NewDataBrowserItemDataUPP(userRoutine) ((DataBrowserItemDataUPP)userRoutine)
#define NewDataBrowserItemCompareUPP(userRoutine) ((DataBrowserItemCompareUPP)userRoutine)
#define NewDataBrowserItemNotificationWithItemUPP(userRoutine) ((DataBrowserItemNotificationWithItemUPP)userRoutine)
#define NewDataBrowserItemNotificationUPP(userRoutine) ((DataBrowserItemNotificationUPP)userRoutine)
#define NewDataBrowserAddDragItemUPP(userRoutine) ((DataBrowserAddDragItemUPP)userRoutine)
#define NewDataBrowserAcceptDragUPP(userRoutine) ((DataBrowserAcceptDragUPP)userRoutine)
#define NewDataBrowserReceiveDragUPP(userRoutine) ((DataBrowserReceiveDragUPP)userRoutine)
#define NewDataBrowserPostProcessDragUPP(userRoutine) ((DataBrowserPostProcessDragUPP)userRoutine)
#define NewDataBrowserGetContextualMenuUPP(userRoutine) ((DataBrowserGetContextualMenuUPP)userRoutine)
#define NewDataBrowserSelectContextualMenuUPP(userRoutine) ((DataBrowserSelectContextualMenuUPP)userRoutine)
#define NewDataBrowserItemHelpContentUPP(userRoutine) ((DataBrowserItemHelpContentUPP)userRoutine)
#define DisposeDataBrowserItemDataUPP(userUPP)
#define DisposeDataBrowserItemCompareUPP(userUPP)
#define DisposeDataBrowserItemNotificationWithItemUPP(userUPP)
#define DisposeDataBrowserItemNotificationUPP(userUPP)
#define DisposeDataBrowserAddDragItemUPP(userUPP)
#define DisposeDataBrowserAcceptDragUPP(userUPP)
#define DisposeDataBrowserReceiveDragUPP(userUPP)
#define DisposeDataBrowserPostProcessDragUPP(userUPP)
#define DisposeDataBrowserGetContextualMenuUPP(userUPP)
#define DisposeDataBrowserSelectContextualMenuUPP(userUPP)
#define DisposeDataBrowserItemHelpContentUPP(userUPP)
#define InvokeDataBrowserItemDataUPP(browser,item,property,itemData,setValue,userUPP) (*userUPP)(browser, item, property, itemData, setValue)
#define InvokeDataBrowserItemCompareUPP(browser,itemOne,itemTwo,sortProperty,userUPP) (*userUPP)(browser, itemOne, itemTwo, sortProperty)
#define InvokeDataBrowserItemNotificationWithItemUPP(browser,item,message,itemData,userUPP) (*userUPP)(browser, item, message, itemData)
#define InvokeDataBrowserItemNotificationUPP(browser,item,message,userUPP) (*userUPP)(browser, item, message)
#define InvokeDataBrowserAddDragItemUPP(browser,theDrag,item,itemRef,userUPP) (*userUPP)(browser, theDrag, item, itemRef)
#define InvokeDataBrowserAcceptDragUPP(browser,theDrag,item,userUPP) (*userUPP)(browser, theDrag, item)
#define InvokeDataBrowserReceiveDragUPP(browser,theDrag,item,userUPP) (*userUPP)(browser, theDrag, item)
#define InvokeDataBrowserPostProcessDragUPP(browser,theDrag,trackDragResult,userUPP) (*userUPP)(browser, theDrag, trackDragResult)
#define InvokeDataBrowserGetContextualMenuUPP(browser,menu,helpType,helpItemString,selection,userUPP) (*userUPP)(browser, menu, helpType, helpItemString, selection)
#define InvokeDataBrowserSelectContextualMenuUPP(browser,menu,selectionType,menuID,menuItem,userUPP) (*userUPP)(browser, menu, selectionType, menuID, menuItem)
#define InvokeDataBrowserItemHelpContentUPP(browser,item,property,inRequest,outContentProvided,ioHelpContent,userUPP) (*userUPP)(browser, item, property, inRequest, outContentProvided, ioHelpContent)
enum {
kDataBrowserLatestCallbacks = 0
};
struct DataBrowserCallbacks {
UInt32 version;
union {
struct {
DataBrowserItemDataUPP itemDataCallback;
DataBrowserItemCompareUPP itemCompareCallback;
DataBrowserItemNotificationUPP itemNotificationCallback;
DataBrowserAddDragItemUPP addDragItemCallback;
DataBrowserAcceptDragUPP acceptDragCallback;
DataBrowserReceiveDragUPP receiveDragCallback;
DataBrowserPostProcessDragUPP postProcessDragCallback;
DataBrowserItemHelpContentUPP itemHelpContentCallback;
DataBrowserGetContextualMenuUPP getContextualMenuCallback;
DataBrowserSelectContextualMenuUPP selectContextualMenuCallback;
} v1;
} u;
};
typedef struct DataBrowserCallbacks DataBrowserCallbacks;
# 2675 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
InitDataBrowserCallbacks(DataBrowserCallbacks * callbacks) ;
#define InitializeDataBrowserCallbacks(callbacks,vers) { (callbacks)->version = (vers); InitDataBrowserCallbacks(callbacks); }
# 2694 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserCallbacks(
ControlRef browser,
DataBrowserCallbacks * callbacks) ;
# 2711 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserCallbacks(
ControlRef browser,
const DataBrowserCallbacks * callbacks) ;
# 2728 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kEventClassDataBrowser = 'hidb'
};
# 2744 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kEventParamDataBrowserItemID = 'dbid',
kEventParamDataBrowserPropertyID = 'dbpd',
kEventParamDataBrowserItemState = 'dbis'
};
# 2801 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kEventDataBrowserDrawCustomItem = 1
};
typedef UInt32 DataBrowserDragFlags;
typedef SInt16 DataBrowserTrackingResult;
enum {
kDataBrowserContentHit = 1,
kDataBrowserNothingHit = 0,
kDataBrowserStopTracking = -1
};
typedef void ( * DataBrowserDrawItemProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserPropertyID property, DataBrowserItemState itemState, const Rect *theRect, SInt16 gdDepth, Boolean colorDevice);
typedef Boolean ( * DataBrowserEditItemProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserPropertyID property, CFStringRef theString, Rect *maxEditTextRect, Boolean *shrinkToFit);
typedef Boolean ( * DataBrowserHitTestProcPtr)(ControlRef browser, DataBrowserItemID itemID, DataBrowserPropertyID property, const Rect *theRect, const Rect *mouseRect);
typedef DataBrowserTrackingResult ( * DataBrowserTrackingProcPtr)(ControlRef browser, DataBrowserItemID itemID, DataBrowserPropertyID property, const Rect *theRect, Point startPt, EventModifiers modifiers);
typedef void ( * DataBrowserItemDragRgnProcPtr)(ControlRef browser, DataBrowserItemID itemID, DataBrowserPropertyID property, const Rect *theRect, RgnHandle dragRgn);
typedef DataBrowserDragFlags ( * DataBrowserItemAcceptDragProcPtr)(ControlRef browser, DataBrowserItemID itemID, DataBrowserPropertyID property, const Rect *theRect, DragReference theDrag);
typedef Boolean ( * DataBrowserItemReceiveDragProcPtr)(ControlRef browser, DataBrowserItemID itemID, DataBrowserPropertyID property, DataBrowserDragFlags dragFlags, DragReference theDrag);
typedef DataBrowserDrawItemProcPtr DataBrowserDrawItemUPP;
typedef DataBrowserEditItemProcPtr DataBrowserEditItemUPP;
typedef DataBrowserHitTestProcPtr DataBrowserHitTestUPP;
typedef DataBrowserTrackingProcPtr DataBrowserTrackingUPP;
typedef DataBrowserItemDragRgnProcPtr DataBrowserItemDragRgnUPP;
typedef DataBrowserItemAcceptDragProcPtr DataBrowserItemAcceptDragUPP;
typedef DataBrowserItemReceiveDragProcPtr DataBrowserItemReceiveDragUPP;
# 2838 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserDrawItemUPP
NewDataBrowserDrawItemUPP(DataBrowserDrawItemProcPtr userRoutine) ;
# 2849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserEditItemUPP
NewDataBrowserEditItemUPP(DataBrowserEditItemProcPtr userRoutine) ;
# 2860 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserHitTestUPP
NewDataBrowserHitTestUPP(DataBrowserHitTestProcPtr userRoutine) ;
# 2871 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserTrackingUPP
NewDataBrowserTrackingUPP(DataBrowserTrackingProcPtr userRoutine) ;
# 2882 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemDragRgnUPP
NewDataBrowserItemDragRgnUPP(DataBrowserItemDragRgnProcPtr userRoutine) ;
# 2893 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemAcceptDragUPP
NewDataBrowserItemAcceptDragUPP(DataBrowserItemAcceptDragProcPtr userRoutine) ;
# 2904 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemReceiveDragUPP
NewDataBrowserItemReceiveDragUPP(DataBrowserItemReceiveDragProcPtr userRoutine) ;
# 2915 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserDrawItemUPP(DataBrowserDrawItemUPP userUPP) ;
# 2926 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserEditItemUPP(DataBrowserEditItemUPP userUPP) ;
# 2937 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserHitTestUPP(DataBrowserHitTestUPP userUPP) ;
# 2948 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserTrackingUPP(DataBrowserTrackingUPP userUPP) ;
# 2959 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemDragRgnUPP(DataBrowserItemDragRgnUPP userUPP) ;
# 2970 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemAcceptDragUPP(DataBrowserItemAcceptDragUPP userUPP) ;
# 2981 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemReceiveDragUPP(DataBrowserItemReceiveDragUPP userUPP) ;
# 2992 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserDrawItemUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID property,
DataBrowserItemState itemState,
const Rect * theRect,
SInt16 gdDepth,
Boolean colorDevice,
DataBrowserDrawItemUPP userUPP) ;
# 3011 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserEditItemUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID property,
CFStringRef theString,
Rect * maxEditTextRect,
Boolean * shrinkToFit,
DataBrowserEditItemUPP userUPP) ;
# 3029 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserHitTestUPP(
ControlRef browser,
DataBrowserItemID itemID,
DataBrowserPropertyID property,
const Rect * theRect,
const Rect * mouseRect,
DataBrowserHitTestUPP userUPP) ;
# 3046 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserTrackingResult
InvokeDataBrowserTrackingUPP(
ControlRef browser,
DataBrowserItemID itemID,
DataBrowserPropertyID property,
const Rect * theRect,
Point startPt,
EventModifiers modifiers,
DataBrowserTrackingUPP userUPP) ;
# 3064 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserItemDragRgnUPP(
ControlRef browser,
DataBrowserItemID itemID,
DataBrowserPropertyID property,
const Rect * theRect,
RgnHandle dragRgn,
DataBrowserItemDragRgnUPP userUPP) ;
# 3081 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserDragFlags
InvokeDataBrowserItemAcceptDragUPP(
ControlRef browser,
DataBrowserItemID itemID,
DataBrowserPropertyID property,
const Rect * theRect,
DragReference theDrag,
DataBrowserItemAcceptDragUPP userUPP) ;
# 3098 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserItemReceiveDragUPP(
ControlRef browser,
DataBrowserItemID itemID,
DataBrowserPropertyID property,
DataBrowserDragFlags dragFlags,
DragReference theDrag,
DataBrowserItemReceiveDragUPP userUPP) ;
# 3131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
#define NewDataBrowserDrawItemUPP(userRoutine) ((DataBrowserDrawItemUPP)userRoutine)
#define NewDataBrowserEditItemUPP(userRoutine) ((DataBrowserEditItemUPP)userRoutine)
#define NewDataBrowserHitTestUPP(userRoutine) ((DataBrowserHitTestUPP)userRoutine)
#define NewDataBrowserTrackingUPP(userRoutine) ((DataBrowserTrackingUPP)userRoutine)
#define NewDataBrowserItemDragRgnUPP(userRoutine) ((DataBrowserItemDragRgnUPP)userRoutine)
#define NewDataBrowserItemAcceptDragUPP(userRoutine) ((DataBrowserItemAcceptDragUPP)userRoutine)
#define NewDataBrowserItemReceiveDragUPP(userRoutine) ((DataBrowserItemReceiveDragUPP)userRoutine)
#define DisposeDataBrowserDrawItemUPP(userUPP)
#define DisposeDataBrowserEditItemUPP(userUPP)
#define DisposeDataBrowserHitTestUPP(userUPP)
#define DisposeDataBrowserTrackingUPP(userUPP)
#define DisposeDataBrowserItemDragRgnUPP(userUPP)
#define DisposeDataBrowserItemAcceptDragUPP(userUPP)
#define DisposeDataBrowserItemReceiveDragUPP(userUPP)
#define InvokeDataBrowserDrawItemUPP(browser,item,property,itemState,theRect,gdDepth,colorDevice,userUPP) (*userUPP)(browser, item, property, itemState, theRect, gdDepth, colorDevice)
#define InvokeDataBrowserEditItemUPP(browser,item,property,theString,maxEditTextRect,shrinkToFit,userUPP) (*userUPP)(browser, item, property, theString, maxEditTextRect, shrinkToFit)
#define InvokeDataBrowserHitTestUPP(browser,itemID,property,theRect,mouseRect,userUPP) (*userUPP)(browser, itemID, property, theRect, mouseRect)
#define InvokeDataBrowserTrackingUPP(browser,itemID,property,theRect,startPt,modifiers,userUPP) (*userUPP)(browser, itemID, property, theRect, startPt, modifiers)
#define InvokeDataBrowserItemDragRgnUPP(browser,itemID,property,theRect,dragRgn,userUPP) (*userUPP)(browser, itemID, property, theRect, dragRgn)
#define InvokeDataBrowserItemAcceptDragUPP(browser,itemID,property,theRect,theDrag,userUPP) (*userUPP)(browser, itemID, property, theRect, theDrag)
#define InvokeDataBrowserItemReceiveDragUPP(browser,itemID,property,dragFlags,theDrag,userUPP) (*userUPP)(browser, itemID, property, dragFlags, theDrag)
enum {
kDataBrowserLatestCustomCallbacks = 0
};
struct DataBrowserCustomCallbacks {
UInt32 version;
union {
struct {
DataBrowserDrawItemUPP drawItemCallback;
DataBrowserEditItemUPP editTextCallback;
DataBrowserHitTestUPP hitTestCallback;
DataBrowserTrackingUPP trackingCallback;
DataBrowserItemDragRgnUPP dragRegionCallback;
DataBrowserItemAcceptDragUPP acceptDragCallback;
DataBrowserItemReceiveDragUPP receiveDragCallback;
} v1;
} u;
};
typedef struct DataBrowserCustomCallbacks DataBrowserCustomCallbacks;
# 3190 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
InitDataBrowserCustomCallbacks(DataBrowserCustomCallbacks * callbacks) ;
#define InitializeDataBrowserCustomCallbacks(callbacks,vers) { (callbacks)->version = (vers); InitDataBrowserCustomCallbacks(callbacks); }
# 3209 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserCustomCallbacks(
ControlRef browser,
DataBrowserCustomCallbacks * callbacks) ;
# 3226 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserCustomCallbacks(
ControlRef browser,
const DataBrowserCustomCallbacks * callbacks) ;
# 3238 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
typedef UInt32 DataBrowserTableViewHiliteStyle;
enum {
kDataBrowserTableViewMinimalHilite = 0,
kDataBrowserTableViewFillHilite = 1
};
typedef UInt32 DataBrowserTableViewPropertyFlags;
enum {
kDataBrowserTableViewSelectionColumn = 1 << kDataBrowserViewSpecificFlagsOffset
};
typedef unsigned long DataBrowserTableViewRowIndex;
typedef unsigned long DataBrowserTableViewColumnIndex;
typedef DataBrowserPropertyID DataBrowserTableViewColumnID;
typedef DataBrowserPropertyDesc DataBrowserTableViewColumnDesc;
enum {
kDataBrowserTableViewLastColumn = -1
};
# 3274 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
RemoveDataBrowserTableViewColumn(
ControlRef browser,
DataBrowserTableViewColumnID column) ;
# 3291 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewColumnCount(
ControlRef browser,
UInt32 * numColumns) ;
# 3309 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserTableViewHiliteStyle(
ControlRef browser,
DataBrowserTableViewHiliteStyle hiliteStyle) ;
# 3326 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewHiliteStyle(
ControlRef browser,
DataBrowserTableViewHiliteStyle * hiliteStyle) ;
# 3344 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserTableViewRowHeight(
ControlRef browser,
UInt16 height) ;
# 3361 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewRowHeight(
ControlRef browser,
UInt16 * height) ;
# 3378 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserTableViewColumnWidth(
ControlRef browser,
UInt16 width) ;
# 3395 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewColumnWidth(
ControlRef browser,
UInt16 * width) ;
# 3412 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserTableViewItemRowHeight(
ControlRef browser,
DataBrowserItemID item,
UInt16 height) ;
# 3430 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewItemRowHeight(
ControlRef browser,
DataBrowserItemID item,
UInt16 * height) ;
# 3448 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserTableViewNamedColumnWidth(
ControlRef browser,
DataBrowserTableViewColumnID column,
UInt16 width) ;
# 3466 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewNamedColumnWidth(
ControlRef browser,
DataBrowserTableViewColumnID column,
UInt16 * width) ;
# 3484 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserTableViewGeometry(
ControlRef browser,
Boolean variableWidthColumns,
Boolean variableHeightRows) ;
# 3502 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewGeometry(
ControlRef browser,
Boolean * variableWidthColumns,
Boolean * variableHeightRows) ;
# 3521 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewItemID(
ControlRef browser,
DataBrowserTableViewRowIndex row,
DataBrowserItemID * item) ;
# 3539 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserTableViewItemRow(
ControlRef browser,
DataBrowserItemID item,
DataBrowserTableViewRowIndex row) ;
# 3557 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewItemRow(
ControlRef browser,
DataBrowserItemID item,
DataBrowserTableViewRowIndex * row) ;
# 3575 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserTableViewColumnPosition(
ControlRef browser,
DataBrowserTableViewColumnID column,
DataBrowserTableViewColumnIndex position) ;
# 3593 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewColumnPosition(
ControlRef browser,
DataBrowserTableViewColumnID column,
DataBrowserTableViewColumnIndex * position) ;
# 3611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserTableViewColumnProperty(
ControlRef browser,
DataBrowserTableViewColumnIndex column,
DataBrowserTableViewColumnID * property) ;
# 3629 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kDataBrowserListViewSelectionColumn = kDataBrowserTableViewSelectionColumn,
kDataBrowserListViewMovableColumn = 1 << (kDataBrowserViewSpecificFlagsOffset + 1),
kDataBrowserListViewSortableColumn = 1 << (kDataBrowserViewSpecificFlagsOffset + 2),
# 3649 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserListViewTypeSelectColumn = 1 << (kDataBrowserViewSpecificFlagsOffset + 3),
# 3662 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserListViewNoGapForIconInHeaderButton = 1 << (kDataBrowserViewSpecificFlagsOffset + 4),
kDataBrowserListViewDefaultColumnFlags = kDataBrowserListViewMovableColumn + kDataBrowserListViewSortableColumn
};
typedef DataBrowserPropertyFlags DataBrowserListViewPropertyFlags;
enum {
kDataBrowserListViewLatestHeaderDesc = 0
};
struct DataBrowserListViewHeaderDesc {
UInt32 version;
UInt16 minimumWidth;
UInt16 maximumWidth;
SInt16 titleOffset;
CFStringRef titleString;
DataBrowserSortOrder initialOrder;
ControlFontStyleRec btnFontStyle;
ControlButtonContentInfo btnContentInfo;
};
typedef struct DataBrowserListViewHeaderDesc DataBrowserListViewHeaderDesc;
struct DataBrowserListViewColumnDesc {
DataBrowserTableViewColumnDesc propertyDesc;
DataBrowserListViewHeaderDesc headerBtnDesc;
};
typedef struct DataBrowserListViewColumnDesc DataBrowserListViewColumnDesc;
enum {
kDataBrowserListViewAppendColumn = kDataBrowserTableViewLastColumn
};
# 3706 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
AutoSizeDataBrowserListViewColumns(ControlRef browser) ;
# 3721 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
AddDataBrowserListViewColumn(
ControlRef browser,
DataBrowserListViewColumnDesc * columnDesc,
DataBrowserTableViewColumnIndex position) ;
# 3763 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserListViewHeaderDesc(
ControlRef browser,
DataBrowserTableViewColumnID column,
DataBrowserListViewHeaderDesc * desc) ;
# 3781 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserListViewHeaderDesc(
ControlRef browser,
DataBrowserTableViewColumnID column,
DataBrowserListViewHeaderDesc * desc) ;
# 3799 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserListViewHeaderBtnHeight(
ControlRef browser,
UInt16 height) ;
# 3816 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserListViewHeaderBtnHeight(
ControlRef browser,
UInt16 * height) ;
# 3833 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserListViewUsePlainBackground(
ControlRef browser,
Boolean usePlainBackground) ;
# 3850 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserListViewUsePlainBackground(
ControlRef browser,
Boolean * usePlainBackground) ;
# 3867 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserListViewDisclosureColumn(
ControlRef browser,
DataBrowserTableViewColumnID column,
Boolean expandableRows) ;
# 3885 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserListViewDisclosureColumn(
ControlRef browser,
DataBrowserTableViewColumnID * column,
Boolean * expandableRows) ;
# 3905 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserColumnViewPath(
ControlRef browser,
Handle path) ;
# 3922 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserColumnViewPathLength(
ControlRef browser,
UInt32 * pathLength) ;
# 3939 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserColumnViewPath(
ControlRef browser,
UInt32 length,
const DataBrowserItemID * path) ;
# 3957 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
SetDataBrowserColumnViewDisplayType(
ControlRef browser,
DataBrowserPropertyType propertyType) ;
# 3974 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
GetDataBrowserColumnViewDisplayType(
ControlRef browser,
DataBrowserPropertyType * propertyType) ;
# 4074 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
struct DataBrowserAccessibilityItemInfoV0 {
# 4086 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserItemID container;
# 4097 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserItemID item;
# 4112 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserPropertyID columnProperty;
# 4125 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserPropertyPart propertyPart;
};
typedef struct DataBrowserAccessibilityItemInfoV0 DataBrowserAccessibilityItemInfoV0;
# 4151 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
struct DataBrowserAccessibilityItemInfoV1 {
# 4163 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserItemID container;
# 4174 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserItemID item;
# 4189 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserPropertyID columnProperty;
# 4202 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserPropertyPart propertyPart;
# 4217 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserTableViewRowIndex rowIndex;
# 4232 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserTableViewColumnIndex columnIndex;
};
typedef struct DataBrowserAccessibilityItemInfoV1 DataBrowserAccessibilityItemInfoV1;
# 4247 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
struct DataBrowserAccessibilityItemInfo {
# 4256 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
UInt32 version;
union {
DataBrowserAccessibilityItemInfoV0 v0;
DataBrowserAccessibilityItemInfoV1 v1;
} u;
};
typedef struct DataBrowserAccessibilityItemInfo DataBrowserAccessibilityItemInfo;
# 4304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
AXUIElementGetDataBrowserItemInfo(
AXUIElementRef inElement,
ControlRef inDataBrowser,
UInt32 inDesiredInfoVersion,
DataBrowserAccessibilityItemInfo * outInfo) ;
# 4341 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern AXUIElementRef
AXUIElementCreateWithDataBrowserAndItemInfo(
ControlRef inDataBrowser,
const DataBrowserAccessibilityItemInfo * inInfo) ;
#pragma pack(pop)
# 134 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
#define __HIDISCLOSUREVIEWS__
# 48 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
#define kHIDisclosureButtonClassID CFSTR("com.apple.HIDisclosureButton")
# 93 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
extern OSStatus
CreateDisclosureButtonControl(
WindowRef inWindow,
const Rect * inBoundsRect,
SInt32 inValue,
Boolean inAutoToggles,
ControlRef * outControl) ;
enum {
kControlKindDisclosureButton = 'disb'
};
enum {
kControlDisclosureButtonClosed = 0,
kControlDisclosureButtonDisclosed = 1
};
# 152 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
enum {
kControlTriangleProc = 64,
kControlTriangleLeftFacingProc = 65,
kControlTriangleAutoToggleProc = 66,
kControlTriangleLeftFacingAutoToggleProc = 67
};
# 166 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
typedef UInt16 ControlDisclosureTriangleOrientation;
enum {
kControlDisclosureTrianglePointDefault = 0,
kControlDisclosureTrianglePointRight = 1,
kControlDisclosureTrianglePointLeft = 2
};
enum {
kControlKindDisclosureTriangle = 'dist'
};
#define kHIDisclosureTriangleClassID CFSTR("com.apple.HIDisclosureTriangle")
# 255 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
extern OSStatus
CreateDisclosureTriangleControl(
WindowRef inWindow,
const Rect * inBoundsRect,
ControlDisclosureTriangleOrientation inOrientation,
CFStringRef inTitle,
SInt32 inInitialValue,
Boolean inDrawTitle,
Boolean inAutoToggles,
ControlRef * outControl) ;
# 275 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
enum {
kControlTriangleLastValueTag = 'last'
};
# 309 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
extern OSErr
SetDisclosureTriangleLastValue(
HIViewRef inDisclosureTriangle,
SInt16 inValue) ;
# 341 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
extern OSStatus
HIDisclosureTriangleSetDisplaysTitle(
HIViewRef inDisclosureTriangle,
Boolean inDisplaysTitle) ;
# 371 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
extern Boolean
HIDisclosureTriangleGetDisplaysTitle(HIViewRef inDisclosureTriangle) ;
# 138 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
#define __HIIMAGEVIEWS__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
#define kHIImageViewClassID CFSTR("com.apple.HIImageView")
enum {
kControlKindHIImageView = 'imag'
};
# 88 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSStatus
HIImageViewCreate(
CGImageRef inImage,
HIViewRef * outView) ;
# 129 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSStatus
HIImageViewSetOpaque(
HIViewRef inView,
Boolean inOpaque) ;
# 157 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern Boolean
HIImageViewIsOpaque(HIViewRef inView) ;
# 188 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSStatus
HIImageViewSetAlpha(
HIViewRef inView,
CGFloat inAlpha) ;
# 218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern CGFloat
HIImageViewGetAlpha(HIViewRef inView) ;
# 251 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSStatus
HIImageViewSetScaleToFit(
HIViewRef inView,
Boolean inScaleToFit) ;
# 281 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern Boolean
HIImageViewGetScaleToFit(HIViewRef inView) ;
# 312 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSStatus
HIImageViewSetImage(
HIViewRef inView,
CGImageRef inImage) ;
# 343 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern CGImageRef
HIImageViewCopyImage(HIViewRef inView) ;
# 364 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
typedef UInt32 HIImageViewAutoTransformOptions;
enum {
kHIImageViewAutoTransformNone = 0,
kHIImageViewAutoTransformOnDisable = 1 << 0,
kHIImageViewAutoTransformOnDeactivate = 1 << 1
};
# 411 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSStatus
HIImageViewSetAutoTransform(
HIViewRef inView,
HIImageViewAutoTransformOptions inOptions) ;
# 441 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern HIImageViewAutoTransformOptions
HIImageViewGetAutoTransform(HIViewRef inView) ;
enum {
kHIImageViewImageTag = 'imag'
};
# 468 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
enum {
kControlIconProc = 320,
kControlIconNoTrackProc = 321,
kControlIconSuiteProc = 322,
kControlIconSuiteNoTrackProc = 323
};
enum {
kControlIconRefProc = 324,
kControlIconRefNoTrackProc = 325
};
enum {
kControlKindIcon = 'icon'
};
#define kHIIconViewClassID CFSTR("com.apple.HIIconView")
# 540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSStatus
CreateIconControl(
WindowRef inWindow,
const Rect * inBoundsRect,
const ControlButtonContentInfo * inIconContent,
Boolean inDontTrack,
ControlRef * outControl) ;
enum {
kControlIconTransformTag = 'trfm',
kControlIconAlignmentTag = 'algn'
};
enum {
kControlIconResourceIDTag = 'ires',
kControlIconContentTag = kControlContentTag
};
# 587 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
enum {
kControlImageWellProc = 176
};
enum {
kControlKindImageWell = 'well'
};
#define kHIImageWellClassID CFSTR("com.apple.HIImageWell")
# 611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSStatus
CreateImageWellControl(
WindowRef window,
const Rect * boundsRect,
const ControlButtonContentInfo * info,
ControlRef * outControl) ;
enum {
kControlImageWellContentTag = kControlContentTag,
kControlImageWellTransformTag = 'tran',
kControlImageWellIsDragDestinationTag = 'drag'
};
# 641 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSErr
GetImageWellContentInfo(
ControlRef inButton,
ControlButtonContentInfoPtr outContent) ;
# 658 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSErr
SetImageWellContentInfo(
ControlRef inButton,
ControlButtonContentInfoPtr inContent) ;
# 675 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
extern OSErr
SetImageWellTransform(
ControlRef inButton,
IconTransformType inTransform) ;
# 142 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HILittleArrows.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HILittleArrows.h" 3
#define __HILITTLEARROWS__
# 59 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HILittleArrows.h" 3
enum {
kControlLittleArrowsProc = 96
};
enum {
kControlKindLittleArrows = 'larr'
};
enum {
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HILittleArrows.h" 3
kControlLittleArrowsIncrementValueTag = 'incr'
};
#define kHILittleArrowsClassID CFSTR("com.apple.HILittleArrows")
# 102 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HILittleArrows.h" 3
extern OSStatus
CreateLittleArrowsControl(
WindowRef window,
const Rect * boundsRect,
SInt32 value,
SInt32 minimum,
SInt32 maximum,
SInt32 increment,
ControlRef * outControl) ;
# 146 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIMenuView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIMenuView.h" 3
#define __HIMENUVIEW__
# 67 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIMenuView.h" 3
#define kHIMenuViewClassID CFSTR("com.apple.HIMenuView")
#define kHIStandardMenuViewClassID CFSTR("com.apple.HIStandardMenuView")
enum {
kControlKindHIMenuView = 'menu',
kControlKindHIStandardMenuView = 'smnu'
};
# 99 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIMenuView.h" 3
extern const HIViewID kHIViewMenuContentID ;
# 132 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIMenuView.h" 3
extern MenuRef
HIMenuViewGetMenu(HIViewRef inView) ;
# 150 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
#define __HIPOPUPBUTTON__
# 69 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
enum {
kControlPopupButtonProc = 400,
kControlPopupFixedWidthVariant = 1 << 0,
kControlPopupVariableWidthVariant = 1 << 1,
kControlPopupUseAddResMenuVariant = 1 << 2,
kControlPopupUseWFontVariant = kControlUsesOwningWindowsFontVariant
};
enum {
kControlKindPopupButton = 'popb'
};
#define kHIPopupButtonClassID CFSTR("com.apple.HIPopupButton")
# 138 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
extern OSStatus
CreatePopupButtonControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef title,
MenuID menuID,
Boolean variableWidth,
SInt16 titleWidth,
SInt16 titleJustification,
Style titleStyle,
ControlRef * outControl) ;
enum {
kControlPopupButtonMenuHandleTag = 'mhan',
kControlPopupButtonMenuRefTag = 'mhan',
kControlPopupButtonMenuIDTag = 'mnid'
};
enum {
kControlPopupButtonExtraHeightTag = 'exht',
kControlPopupButtonOwnedMenuRefTag = 'omrf'
};
enum {
kControlPopupButtonCheckCurrentTag = 'chck'
};
# 180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
enum {
kControlPopupArrowEastProc = 192,
kControlPopupArrowWestProc = 193,
kControlPopupArrowNorthProc = 194,
kControlPopupArrowSouthProc = 195,
kControlPopupArrowSmallEastProc = 196,
kControlPopupArrowSmallWestProc = 197,
kControlPopupArrowSmallNorthProc = 198,
kControlPopupArrowSmallSouthProc = 199
};
enum {
kControlPopupArrowOrientationEast = 0,
kControlPopupArrowOrientationWest = 1,
kControlPopupArrowOrientationNorth = 2,
kControlPopupArrowOrientationSouth = 3
};
typedef UInt16 ControlPopupArrowOrientation;
enum {
kControlPopupArrowSizeNormal = 0,
kControlPopupArrowSizeSmall = 1
};
typedef UInt16 ControlPopupArrowSize;
enum {
kControlKindPopupArrow = 'parr'
};
#define kHIPopupArrowClassID CFSTR("com.apple.hipopuparrow")
# 247 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
extern OSStatus
CreatePopupArrowControl(
WindowRef window,
const Rect * boundsRect,
ControlPopupArrowOrientation orientation,
ControlPopupArrowSize size,
ControlRef * outControl) ;
# 269 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
enum {
popupFixedWidth = 1 << 0,
popupVariableWidth = 1 << 1,
popupUseAddResMenu = 1 << 2,
popupUseWFont = 1 << 3
};
enum {
popupTitleBold = 1 << 8,
popupTitleItalic = 1 << 9,
popupTitleUnderline = 1 << 10,
popupTitleOutline = 1 << 11,
popupTitleShadow = 1 << 12,
popupTitleCondense = 1 << 13,
popupTitleExtend = 1 << 14,
popupTitleNoStyle = 1 << 15
};
enum {
popupTitleLeftJust = 0x00000000,
popupTitleCenterJust = 0x00000001,
popupTitleRightJust = 0x000000FF
};
# 154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIProgressViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIProgressViews.h" 3
#define __HIPROGRESSVIEWS__
# 62 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIProgressViews.h" 3
enum {
kControlProgressBarProc = 80,
kControlRelevanceBarProc = 81
};
enum {
kControlKindProgressBar = 'prgb',
kControlKindRelevanceBar = 'relb'
};
#define kHIProgressBarClassID CFSTR("com.apple.HIProgressBar")
# 88 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIProgressViews.h" 3
extern OSStatus
CreateProgressBarControl(
WindowRef window,
const Rect * boundsRect,
SInt32 value,
SInt32 minimum,
SInt32 maximum,
Boolean indeterminate,
ControlRef * outControl) ;
enum {
kControlProgressBarIndeterminateTag = 'inde',
kControlProgressBarAnimatingTag = 'anim'
};
enum {
kControlChasingArrowsProc = 112
};
enum {
kControlKindChasingArrows = 'carr'
};
#define kHIChasingArrowsClassID CFSTR("com.apple.HIChasingArrows")
# 137 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIProgressViews.h" 3
extern OSStatus
CreateChasingArrowsControl(
WindowRef window,
const Rect * boundsRect,
ControlRef * outControl) ;
enum {
kControlChasingArrowsAnimatingTag = 'anim'
};
# 158 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIRelevanceBar.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIRelevanceBar.h" 3
#define __HIRELEVANCEBAR__
# 58 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIRelevanceBar.h" 3
#define kHIRelevanceBarClassID CFSTR("com.apple.HIRelevanceBar")
# 71 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIRelevanceBar.h" 3
extern OSStatus
CreateRelevanceBarControl(
WindowRef window,
const Rect * boundsRect,
SInt32 value,
SInt32 minimum,
SInt32 maximum,
ControlRef * outControl) ;
# 162 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
#define __HISCROLLVIEW__
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kControlScrollBarProc = 384,
kControlScrollBarLiveProc = 386
};
enum {
kControlKindScrollBar = 'sbar'
};
#define kHIScrollBarClassID CFSTR("com.apple.HIScrollBar")
# 151 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
extern OSStatus
CreateScrollBarControl(
WindowRef window,
const Rect * boundsRect,
SInt32 value,
SInt32 minimum,
SInt32 maximum,
SInt32 viewSize,
Boolean liveTracking,
ControlActionUPP liveTrackingProc,
ControlRef * outControl) ;
enum {
kControlScrollBarShowsArrowsTag = 'arro'
};
# 199 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
#define kHIScrollViewClassID CFSTR("com.apple.HIScrollView")
enum {
kControlKindHIScrollView = 'scrl'
};
# 212 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kEventClassScrollable = 'scrl'
};
enum {
# 228 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
kEventParamImageSize = 'imsz',
kEventParamViewSize = 'vwsz',
kEventParamLineSize = 'lnsz',
# 260 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
kEventParamOrigin = 'orgn'
};
# 300 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kEventScrollableGetInfo = 1
};
# 329 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kEventScrollableInfoChanged = 2
};
# 371 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kEventScrollableScrollTo = 10
};
enum {
kHIScrollViewOptionsVertScroll = (1 << 0),
kHIScrollViewOptionsHorizScroll = (1 << 1),
# 402 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
kHIScrollViewOptionsAllowGrow = (1 << 2),
kHIScrollViewOptionsFillGrowArea = (1 << 3),
kHIScrollViewOptionsDisableSmoothScrolling = 1 << 4,
kHIScrollViewValidOptions = (kHIScrollViewOptionsVertScroll | kHIScrollViewOptionsHorizScroll | kHIScrollViewOptionsAllowGrow | kHIScrollViewOptionsFillGrowArea | kHIScrollViewOptionsDisableSmoothScrolling)
};
# 428 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
typedef UInt32 HIScrollViewAction;
enum {
kHIScrollViewScrollToTop = (1 << 0),
kHIScrollViewScrollToBottom = (1 << 1),
kHIScrollViewScrollToLeft = (1 << 2),
kHIScrollViewScrollToRight = (1 << 3),
kHIScrollViewPageUp = (1 << 4),
kHIScrollViewPageDown = (1 << 5),
kHIScrollViewPageLeft = (1 << 6),
kHIScrollViewPageRight = (1 << 7)
};
# 507 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
extern OSStatus
HIScrollViewCreate(
OptionBits inOptions,
HIViewRef * outView) ;
# 541 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
extern OSStatus
HIScrollViewSetScrollBarAutoHide(
HIViewRef inView,
Boolean inAutoHide) ;
# 569 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
extern Boolean
HIScrollViewGetScrollBarAutoHide(HIViewRef inView) ;
# 607 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
extern OSStatus
HIScrollViewNavigate(
HIViewRef inView,
HIScrollViewAction inAction) ;
# 643 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
extern Boolean
HIScrollViewCanNavigate(
HIViewRef inView,
HIScrollViewAction inAction) ;
# 166 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
#define __HISEARCHFIELD__
# 68 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
#define kHISearchFieldClassID CFSTR("com.apple.HISearchField")
enum {
kControlKindHISearchField = 'srfd'
};
enum {
kControlSearchFieldCancelPart = 30,
kControlSearchFieldMenuPart = 31
};
# 100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
enum {
kHISearchFieldNoAttributes = 0,
kHISearchFieldAttributesCancel = (1 << 0),
kHISearchFieldAttributesSearchIcon = (1 << 1)
};
enum {
kEventClassSearchField = 'srfd'
};
# 149 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
enum {
kEventSearchFieldCancelClicked = 1
};
# 180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
enum {
kEventSearchFieldSearchClicked = 2
};
# 238 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
extern OSStatus
HISearchFieldCreate(
const HIRect * inBounds,
OptionBits inAttributes,
MenuRef inSearchMenu,
CFStringRef inDescriptiveText,
HIViewRef * outRef) ;
# 285 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
extern OSStatus
HISearchFieldSetSearchMenu(
HIViewRef inSearchField,
MenuRef inSearchMenu) ;
# 318 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
extern OSStatus
HISearchFieldGetSearchMenu(
HIViewRef inSearchField,
MenuRef * outSearchMenu) ;
# 352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
extern OSStatus
HISearchFieldChangeAttributes(
HIViewRef inSearchField,
OptionBits inAttributesToSet,
OptionBits inAttributesToClear) ;
# 385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
extern OSStatus
HISearchFieldGetAttributes(
HIViewRef inSearchField,
OptionBits * outAttributes) ;
# 419 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
extern OSStatus
HISearchFieldSetDescriptiveText(
HIViewRef inSearchField,
CFStringRef inDescription) ;
# 456 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
extern OSStatus
HISearchFieldCopyDescriptiveText(
HIViewRef inSearchField,
CFStringRef * outDescription) ;
# 170 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
#define __HISEGMENTEDVIEW__
# 61 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
#define kHISegmentedViewClassID CFSTR("com.apple.HISegmentedView")
enum {
kHISegmentedViewKind = 'sgmt'
};
# 118 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewCreate(
const HIRect * inBounds,
HIViewRef * outRef) ;
# 154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewSetSegmentCount(
HIViewRef inSegmentedView,
UInt32 inSegmentCount) ;
# 183 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern UInt32
HISegmentedViewGetSegmentCount(HIViewRef inSegmentedView) ;
# 194 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
enum {
kHISegmentBehaviorMomentary = 1,
kHISegmentBehaviorRadio = 2,
kHISegmentBehaviorToggles = 3,
kHISegmentBehaviorSticky = 4
};
typedef UInt32 HISegmentBehavior;
# 257 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewSetSegmentBehavior(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
HISegmentBehavior inBehavior) ;
# 292 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern HISegmentBehavior
HISegmentedViewGetSegmentBehavior(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased) ;
# 310 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
enum {
kHISegmentNoAttributes = 0,
kHISegmentSendCmdToUserFocus = (1 << 0)
};
# 358 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewChangeSegmentAttributes(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
OptionBits inAttributesToSet,
OptionBits inAttributesToClear) ;
# 395 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OptionBits
HISegmentedViewGetSegmentAttributes(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased) ;
# 434 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewSetSegmentValue(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
SInt32 inValue) ;
# 472 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern SInt32
HISegmentedViewGetSegmentValue(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased) ;
# 506 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewSetSegmentEnabled(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
Boolean inEnabled) ;
# 543 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern Boolean
HISegmentedViewIsSegmentEnabled(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased) ;
# 584 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewSetSegmentCommand(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
UInt32 inCommand) ;
# 619 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern UInt32
HISegmentedViewGetSegmentCommand(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased) ;
# 656 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewSetSegmentLabel(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
CFStringRef inLabel) ;
# 692 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewCopySegmentLabel(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
CFStringRef * outLabel) ;
# 738 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewSetSegmentContentWidth(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
Boolean inAutoCalculateWidth,
CGFloat inWidth) ;
# 782 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern CGFloat
HISegmentedViewGetSegmentContentWidth(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
Boolean * outAutoCalculated) ;
# 820 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewSetSegmentImage(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
const HIViewImageContentInfo * inImage) ;
# 859 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern HIViewImageContentType
HISegmentedViewGetSegmentImageContentType(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased) ;
# 902 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
extern OSStatus
HISegmentedViewCopySegmentImage(
HIViewRef inSegmentedView,
UInt32 inSegmentIndexOneBased,
HIViewImageContentInfo * ioImage) ;
# 174 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISeparator.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISeparator.h" 3
#define __HISEPARATOR__
# 60 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISeparator.h" 3
enum {
kControlSeparatorLineProc = 144
};
enum {
kControlKindSeparator = 'sepa'
};
#define kHIVisualSeparatorClassID CFSTR("com.apple.HIVisualSeparator")
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISeparator.h" 3
extern OSStatus
CreateSeparatorControl(
WindowRef window,
const Rect * boundsRect,
ControlRef * outControl) ;
# 178 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
#define __HISLIDER__
# 79 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
enum {
kControlSliderProc = 48,
kControlSliderLiveFeedback = (1 << 0),
kControlSliderHasTickMarks = (1 << 1),
kControlSliderReverseDirection = (1 << 2),
kControlSliderNonDirectional = (1 << 3)
};
# 94 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
typedef UInt16 ControlSliderOrientation;
enum {
kControlSliderPointsDownOrRight = 0,
kControlSliderPointsUpOrLeft = 1,
kControlSliderDoesNotPoint = 2
};
enum {
kControlKindSlider = 'sldr'
};
#define kHISliderClassID CFSTR("com.apple.HISlider")
# 178 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
extern OSStatus
CreateSliderControl(
WindowRef window,
const Rect * boundsRect,
SInt32 value,
SInt32 minimum,
SInt32 maximum,
ControlSliderOrientation orientation,
UInt16 numTickMarks,
Boolean liveTracking,
ControlActionUPP liveTrackingProc,
ControlRef * outControl) ;
# 220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
extern ControlSliderOrientation
HISliderGetThumbOrientation(HIViewRef inSlider) ;
# 256 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
extern OSStatus
HISliderSetThumbOrientation(
HIViewRef inSlider,
ControlSliderOrientation inOrientation) ;
# 288 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
extern ItemCount
HISliderGetTickMarkCount(HIViewRef inSlider) ;
# 325 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
extern OSStatus
HISliderSetTickMarkCount(
HIViewRef inSlider,
ItemCount inNumTicks) ;
# 182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
#define __HITABBEDVIEW__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
#pragma pack(push, 2)
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
enum {
kControlTabLargeProc = 128,
kControlTabSmallProc = 129,
kControlTabLargeNorthProc = 128,
kControlTabSmallNorthProc = 129,
kControlTabLargeSouthProc = 130,
kControlTabSmallSouthProc = 131,
kControlTabLargeEastProc = 132,
kControlTabSmallEastProc = 133,
kControlTabLargeWestProc = 134,
kControlTabSmallWestProc = 135
};
typedef UInt16 ControlTabDirection;
enum {
kControlTabDirectionNorth = 0,
kControlTabDirectionSouth = 1,
kControlTabDirectionEast = 2,
kControlTabDirectionWest = 3
};
typedef UInt16 ControlTabSize;
enum {
kControlTabSizeLarge = kControlSizeNormal,
kControlTabSizeSmall = kControlSizeSmall,
kControlTabSizeMini = kControlSizeMini
};
struct ControlTabEntry {
ControlButtonContentInfo * icon;
CFStringRef name;
Boolean enabled;
};
typedef struct ControlTabEntry ControlTabEntry;
enum {
kControlKindTabs = 'tabs'
};
#define kHITabbedViewClassID CFSTR("com.apple.HITabbedView")
# 144 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
extern OSStatus
CreateTabsControl(
WindowRef window,
const Rect * boundsRect,
ControlTabSize size,
ControlTabDirection direction,
UInt16 numTabs,
const ControlTabEntry * tabArray,
ControlRef * outControl) ;
# 163 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
enum {
kControlTabContentRectTag = 'rect',
kControlTabEnabledFlagTag = 'enab',
kControlTabFontStyleTag = kControlFontStyleTag,
kControlTabInfoTag = 'tabi',
# 202 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
kControlTabImageContentTag = kControlContentTag
};
enum {
kControlTabInfoVersionZero = 0,
kControlTabInfoVersionOne = 1
};
struct ControlTabInfoRec {
SInt16 version;
SInt16 iconSuiteID;
Str255 name;
};
typedef struct ControlTabInfoRec ControlTabInfoRec;
struct ControlTabInfoRecV1 {
SInt16 version;
SInt16 iconSuiteID;
CFStringRef name;
};
typedef struct ControlTabInfoRecV1 ControlTabInfoRecV1;
# 236 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
extern OSErr
GetTabContentRect(
ControlRef inTabControl,
Rect * outContentRect) ;
# 253 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
extern OSErr
SetTabEnabled(
ControlRef inTabControl,
SInt16 inTabToHilite,
Boolean inEnabled) ;
enum {
kControlTabListResType = 'tab#'
};
#pragma pack(pop)
# 186 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
#define __HITEXTVIEWS__
# 51 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
#pragma pack(push, 2)
# 66 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kControlStaticTextProc = 288
};
enum {
kControlKindStaticText = 'stxt'
};
#define kHIStaticTextViewClassID CFSTR("com.apple.HIStaticTextView")
# 114 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern OSStatus
CreateStaticTextControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef text,
const ControlFontStyleRec * style,
ControlRef * outControl) ;
# 131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kControlStaticTextStyleTag = kControlFontStyleTag,
# 148 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
kControlStaticTextTextTag = 'text',
kControlStaticTextTextHeightTag = 'thei',
# 164 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
kControlStaticTextTruncTag = 'trun',
# 177 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
kControlStaticTextCFStringTag = 'cfst',
# 186 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
kControlStaticTextIsMultilineTag = 'stim'
};
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kEventClassTextField = 'txfd'
};
enum {
kEventParamTextSelection = 'txsl',
kEventParamCandidateText = 'tstx',
kEventParamReplacementText = 'trtx',
kEventParamUnconfirmedRange = 'tunr',
kEventParamUnconfirmedText = 'txun'
};
# 254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kEventTextAccepted = 1
};
# 352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kEventTextShouldChangeInRange = 2
};
# 417 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kEventTextDidChange = 3
};
# 454 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern const CFStringRef kHITextViewClassID ;
enum {
kControlKindHITextView = 'hitx'
};
# 491 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern OSStatus
HITextViewCreate(
const HIRect * inBoundsRect,
OptionBits inOptions,
TXNFrameOptions inTXNFrameOptions,
HIViewRef * outTextView) ;
# 521 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern TXNObject
HITextViewGetTXNObject(HIViewRef inTextView) ;
# 557 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern OSStatus
HITextViewSetBackgroundColor(
HIViewRef inTextView,
CGColorRef inColor) ;
# 595 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern OSStatus
HITextViewCopyBackgroundColor(
HIViewRef inTextView,
CGColorRef * outColor) ;
# 613 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kControlEditUnicodeTextProc = 912,
kControlEditUnicodeTextPasswordProc = 914
};
enum {
kControlKindEditUnicodeText = 'eutx'
};
#define kHITextFieldClassID CFSTR("com.apple.HITextField")
# 674 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern OSStatus
CreateEditUnicodeTextControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef text,
Boolean isPassword,
const ControlFontStyleRec * style,
ControlRef * outControl) ;
enum {
kControlEditTextStyleTag = kControlFontStyleTag,
kControlEditTextTextTag = 'text',
kControlEditTextKeyFilterTag = kControlKeyFilterTag,
kControlEditTextSelectionTag = 'sele',
kControlEditTextPasswordTag = 'pass',
kControlEditTextCharCount = 'chrc'
};
enum {
kControlEditTextKeyScriptBehaviorTag = 'kscr',
kControlEditTextLockedTag = 'lock',
kControlEditTextFixedTextTag = 'ftxt',
kControlEditTextValidationProcTag = 'vali'
};
enum {
kControlEditTextCFStringTag = 'cfst',
kControlEditTextPasswordCFStringTag = 'pwcf'
};
enum {
kControlEditTextSingleLineTag = 'sglc',
kControlEditTextInsertTextBufferTag = 'intx',
kControlEditTextInsertCFStringRefTag = 'incf',
kControlEditUnicodeTextPostUpdateProcTag = 'upup',
kControlEditTextSpellCheckingTag = 'spck',
kControlEditTextSpellCheckAsYouTypeTag = 'scat'
};
struct ControlEditTextSelectionRec {
SInt16 selStart;
SInt16 selEnd;
};
typedef struct ControlEditTextSelectionRec ControlEditTextSelectionRec;
typedef ControlEditTextSelectionRec * ControlEditTextSelectionPtr;
typedef void ( * ControlEditTextValidationProcPtr)(ControlRef control);
typedef Boolean ( * EditUnicodePostUpdateProcPtr)(UniCharArrayHandle uniText, UniCharCount uniTextLength, UniCharArrayOffset iStartOffset, UniCharArrayOffset iEndOffset, void *refcon);
typedef ControlEditTextValidationProcPtr ControlEditTextValidationUPP;
typedef EditUnicodePostUpdateProcPtr EditUnicodePostUpdateUPP;
# 761 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern ControlEditTextValidationUPP
NewControlEditTextValidationUPP(ControlEditTextValidationProcPtr userRoutine) ;
# 772 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern EditUnicodePostUpdateUPP
NewEditUnicodePostUpdateUPP(EditUnicodePostUpdateProcPtr userRoutine) ;
# 783 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern void
DisposeControlEditTextValidationUPP(ControlEditTextValidationUPP userUPP) ;
# 794 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern void
DisposeEditUnicodePostUpdateUPP(EditUnicodePostUpdateUPP userUPP) ;
# 805 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern void
InvokeControlEditTextValidationUPP(
ControlRef control,
ControlEditTextValidationUPP userUPP) ;
# 818 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern Boolean
InvokeEditUnicodePostUpdateUPP(
UniCharArrayHandle uniText,
UniCharCount uniTextLength,
UniCharArrayOffset iStartOffset,
UniCharArrayOffset iEndOffset,
void * refcon,
EditUnicodePostUpdateUPP userUPP) ;
# 836 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
#define NewControlEditTextValidationUPP(userRoutine) ((ControlEditTextValidationUPP)userRoutine)
#define NewEditUnicodePostUpdateUPP(userRoutine) ((EditUnicodePostUpdateUPP)userRoutine)
#define DisposeControlEditTextValidationUPP(userUPP)
#define DisposeEditUnicodePostUpdateUPP(userUPP)
#define InvokeControlEditTextValidationUPP(control,userUPP) (*userUPP)(control)
#define InvokeEditUnicodePostUpdateUPP(uniText,uniTextLength,iStartOffset,iEndOffset,refcon,userUPP) (*userUPP)(uniText, uniTextLength, iStartOffset, iEndOffset, refcon)
#pragma pack(pop)
# 190 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
#define __HIWINDOWVIEWS__
# 81 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowContentID ;
# 102 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowCloseBoxID ;
# 123 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowCollapseBoxID ;
# 144 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowZoomBoxID ;
# 165 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowToolbarButtonID ;
# 186 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowTitleID ;
# 207 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowToolbarID ;
# 224 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowGrowBoxID ;
# 240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
enum {
kHIWindowTitleBarPart = 2,
kHIWindowDragPart = 3,
# 264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
kHIWindowTitleProxyIconPart = 2
};
# 276 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
#define kHIGrowBoxViewClassID CFSTR("com.apple.higrowboxview")
enum {
kControlKindHIGrowBoxView = 'grow'
};
# 314 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern OSStatus
HIGrowBoxViewSetTransparent(
HIViewRef inGrowBoxView,
Boolean inTransparent) ;
# 342 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern Boolean
HIGrowBoxViewIsTransparent(HIViewRef inGrowBoxView) ;
# 194 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextLengthFilter.h" 1 3
# 38 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextLengthFilter.h" 3
#define __HITEXTLENGTHFILTER__
# 54 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextLengthFilter.h" 3
#define kHITextLengthFilterClassID CFSTR("com.apple.appobjects.HITextLengthFilter")
enum {
kEventParamTextLength = 'TLEN'
};
# 198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
#define __CONTROLDEFINITIONS__
# 36 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
#define __LISTS__
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
#pragma pack(push, 2)
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
typedef Point Cell;
typedef Rect ListBounds;
typedef char DataArray[32001];
typedef char * DataPtr;
typedef DataPtr * DataHandle;
typedef short ( * ListSearchProcPtr)(Ptr aPtr, Ptr bPtr, short aLen, short bLen);
typedef Boolean ( * ListClickLoopProcPtr)(void);
typedef ListSearchProcPtr ListSearchUPP;
typedef ListClickLoopProcPtr ListClickLoopUPP;
struct ListRec {
Rect rView;
GrafPtr port;
Point indent;
Point cellSize;
ListBounds visible;
ControlRef vScroll;
ControlRef hScroll;
SInt8 selFlags;
Boolean lActive;
SInt8 lReserved;
SInt8 listFlags;
long clikTime;
Point clikLoc;
Point mouseLoc;
ListClickLoopUPP lClickLoop;
Cell lastClick;
long refCon;
Handle listDefProc;
Handle userHandle;
ListBounds dataBounds;
DataHandle cells;
short maxIndex;
short cellArray[1];
};
typedef struct ListRec ListRec;
typedef ListRec * ListPtr;
typedef ListPtr * ListHandle;
typedef ListHandle ListRef;
enum {
lDrawingModeOffBit = 3,
lDoVAutoscrollBit = 1,
lDoHAutoscrollBit = 0
};
enum {
lDrawingModeOff = 8,
lDoVAutoscroll = 2,
lDoHAutoscroll = 1
};
enum {
lOnlyOneBit = 7,
lExtendDragBit = 6,
lNoDisjointBit = 5,
lNoExtendBit = 4,
lNoRectBit = 3,
lUseSenseBit = 2,
lNoNilHiliteBit = 1
};
enum {
lOnlyOne = -128,
lExtendDrag = 64,
lNoDisjoint = 32,
lNoExtend = 16,
lNoRect = 8,
lUseSense = 4,
lNoNilHilite = 2
};
enum {
lInitMsg = 0,
lDrawMsg = 1,
lHiliteMsg = 2,
lCloseMsg = 3
};
struct StandardIconListCellDataRec {
Handle iconHandle;
short font;
short face;
short size;
Str255 name;
};
typedef struct StandardIconListCellDataRec StandardIconListCellDataRec;
typedef StandardIconListCellDataRec * StandardIconListCellDataPtr;
typedef void ( * ListDefProcPtr)(short lMessage, Boolean lSelect, Rect *lRect, Cell lCell, short lDataOffset, short lDataLen, ListHandle lHandle);
typedef ListDefProcPtr ListDefUPP;
# 163 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ListSearchUPP
NewListSearchUPP(ListSearchProcPtr userRoutine) __attribute__((deprecated));
# 174 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ListClickLoopUPP
NewListClickLoopUPP(ListClickLoopProcPtr userRoutine) __attribute__((deprecated));
# 185 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ListDefUPP
NewListDefUPP(ListDefProcPtr userRoutine) __attribute__((deprecated));
# 196 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
DisposeListSearchUPP(ListSearchUPP userUPP) __attribute__((deprecated));
# 207 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
DisposeListClickLoopUPP(ListClickLoopUPP userUPP) __attribute__((deprecated));
# 218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
DisposeListDefUPP(ListDefUPP userUPP) __attribute__((deprecated));
# 229 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern short
InvokeListSearchUPP(
Ptr aPtr,
Ptr bPtr,
short aLen,
short bLen,
ListSearchUPP userUPP) __attribute__((deprecated));
# 245 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Boolean
InvokeListClickLoopUPP(ListClickLoopUPP userUPP) __attribute__((deprecated));
# 256 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
InvokeListDefUPP(
short lMessage,
Boolean lSelect,
Rect * lRect,
Cell lCell,
short lDataOffset,
short lDataLen,
ListHandle lHandle,
ListDefUPP userUPP) __attribute__((deprecated));
# 279 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
#define NewListSearchUPP(userRoutine) ((ListSearchUPP)userRoutine)
#define NewListClickLoopUPP(userRoutine) ((ListClickLoopUPP)userRoutine)
#define NewListDefUPP(userRoutine) ((ListDefUPP)userRoutine)
#define DisposeListSearchUPP(userUPP)
#define DisposeListClickLoopUPP(userUPP)
#define DisposeListDefUPP(userUPP)
#define InvokeListSearchUPP(aPtr,bPtr,aLen,bLen,userUPP) (*userUPP)(aPtr, bPtr, aLen, bLen)
#define InvokeListClickLoopUPP(userUPP) (*userUPP)()
#define InvokeListDefUPP(lMessage,lSelect,lRect,lCell,lDataOffset,lDataLen,lHandle,userUPP) (*userUPP)(lMessage, lSelect, lRect, lCell, lDataOffset, lDataLen, lHandle)
enum {
kListDefProcPtr = 0,
kListDefUserProcType = kListDefProcPtr,
kListDefStandardTextType = 1,
kListDefStandardIconType = 2
};
typedef UInt32 ListDefType;
struct ListDefSpec {
ListDefType defType;
union {
ListDefUPP userProc;
} u;
};
typedef struct ListDefSpec ListDefSpec;
typedef ListDefSpec * ListDefSpecPtr;
# 319 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern OSStatus
CreateCustomList(
const Rect * rView,
const ListBounds * dataBounds,
Point cellSize,
const ListDefSpec * theSpec,
WindowRef theWindow,
Boolean drawIt,
Boolean hasGrow,
Boolean scrollHoriz,
Boolean scrollVert,
ListHandle * outList) __attribute__((deprecated));
# 348 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ListHandle
LNew(
const Rect * rView,
const ListBounds * dataBounds,
Point cSize,
short theProc,
WindowRef theWindow,
Boolean drawIt,
Boolean hasGrow,
Boolean scrollHoriz,
Boolean scrollVert) __attribute__((deprecated));
# 372 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LDispose(ListHandle lHandle) __attribute__((deprecated));
# 387 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern short
LAddColumn(
short count,
short colNum,
ListHandle lHandle) __attribute__((deprecated));
# 405 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern short
LAddRow(
short count,
short rowNum,
ListHandle lHandle) __attribute__((deprecated));
# 423 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LDelColumn(
short count,
short colNum,
ListHandle lHandle) __attribute__((deprecated));
# 441 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LDelRow(
short count,
short rowNum,
ListHandle lHandle) __attribute__((deprecated));
# 459 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Boolean
LGetSelect(
Boolean next,
Cell * theCell,
ListHandle lHandle) __attribute__((deprecated));
# 477 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Cell
LLastClick(ListHandle lHandle) __attribute__((deprecated));
# 492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Boolean
LNextCell(
Boolean hNext,
Boolean vNext,
Cell * theCell,
ListHandle lHandle) __attribute__((deprecated));
# 511 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Boolean
LSearch(
const void * dataPtr,
short dataLen,
ListSearchUPP searchProc,
Cell * theCell,
ListHandle lHandle) __attribute__((deprecated));
# 531 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LSize(
short listWidth,
short listHeight,
ListHandle lHandle) __attribute__((deprecated));
# 549 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LSetDrawingMode(
Boolean drawIt,
ListHandle lHandle) __attribute__((deprecated));
# 566 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LScroll(
short dCols,
short dRows,
ListHandle lHandle) __attribute__((deprecated));
# 584 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LAutoScroll(ListHandle lHandle) __attribute__((deprecated));
# 599 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LUpdate(
RgnHandle theRgn,
ListHandle lHandle) __attribute__((deprecated));
# 616 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LActivate(
Boolean act,
ListHandle lHandle) __attribute__((deprecated));
# 633 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LCellSize(
Point cSize,
ListHandle lHandle) __attribute__((deprecated));
# 650 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Boolean
LClick(
Point pt,
EventModifiers modifiers,
ListHandle lHandle) __attribute__((deprecated));
# 668 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LAddToCell(
const void * dataPtr,
short dataLen,
Cell theCell,
ListHandle lHandle) __attribute__((deprecated));
# 687 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LClrCell(
Cell theCell,
ListHandle lHandle) __attribute__((deprecated));
# 704 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LGetCell(
void * dataPtr,
short * dataLen,
Cell theCell,
ListHandle lHandle) __attribute__((deprecated));
# 723 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LRect(
Rect * cellRect,
Cell theCell,
ListHandle lHandle) __attribute__((deprecated));
# 741 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LSetCell(
const void * dataPtr,
short dataLen,
Cell theCell,
ListHandle lHandle) __attribute__((deprecated));
# 760 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LSetSelect(
Boolean setIt,
Cell theCell,
ListHandle lHandle) __attribute__((deprecated));
# 778 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LDraw(
Cell theCell,
ListHandle lHandle) __attribute__((deprecated));
# 795 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
LGetCellDataLocation(
short * offset,
short * len,
Cell theCell,
ListHandle lHandle) __attribute__((deprecated));
# 839 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern OSStatus
RegisterListDefinition(
SInt16 inResID,
ListDefSpecPtr inDefSpec) __attribute__((deprecated));
# 865 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Rect *
GetListViewBounds(
ListHandle list,
Rect * view) __attribute__((deprecated));
# 882 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern CGrafPtr
GetListPort(ListHandle list) __attribute__((deprecated));
# 897 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Point *
GetListCellIndent(
ListHandle list,
Point * indent) __attribute__((deprecated));
# 914 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Point *
GetListCellSize(
ListHandle list,
Point * size) __attribute__((deprecated));
# 931 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ListBounds *
GetListVisibleCells(
ListHandle list,
ListBounds * visible) __attribute__((deprecated));
# 948 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ControlRef
GetListVerticalScrollBar(ListHandle list) __attribute__((deprecated));
# 963 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ControlRef
GetListHorizontalScrollBar(ListHandle list) __attribute__((deprecated));
# 978 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Boolean
GetListActive(ListHandle list) __attribute__((deprecated));
# 993 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern SInt32
GetListClickTime(ListHandle list) __attribute__((deprecated));
# 1008 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Point *
GetListClickLocation(
ListHandle list,
Point * click) __attribute__((deprecated));
# 1025 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Point *
GetListMouseLocation(
ListHandle list,
Point * mouse) __attribute__((deprecated));
# 1042 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ListClickLoopUPP
GetListClickLoop(ListHandle list) __attribute__((deprecated));
# 1057 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern SInt32
GetListRefCon(ListHandle list) __attribute__((deprecated));
# 1072 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Handle
GetListDefinition(ListHandle list) __attribute__((deprecated));
# 1087 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Handle
GetListUserHandle(ListHandle list) __attribute__((deprecated));
# 1102 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ListBounds *
GetListDataBounds(
ListHandle list,
ListBounds * bounds) __attribute__((deprecated));
# 1119 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern DataHandle
GetListDataHandle(ListHandle list) __attribute__((deprecated));
# 1134 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern OptionBits
GetListFlags(ListHandle list) __attribute__((deprecated));
# 1149 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern OptionBits
GetListSelectionFlags(ListHandle list) __attribute__((deprecated));
# 1165 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
SetListViewBounds(
ListHandle list,
const Rect * view) __attribute__((deprecated));
# 1182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
SetListPort(
ListHandle list,
CGrafPtr port) __attribute__((deprecated));
# 1199 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
SetListCellIndent(
ListHandle list,
Point * indent) __attribute__((deprecated));
# 1216 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
SetListClickTime(
ListHandle list,
SInt32 time) __attribute__((deprecated));
# 1233 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
SetListClickLoop(
ListHandle list,
ListClickLoopUPP clickLoop) __attribute__((deprecated));
# 1250 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
SetListLastClick(
ListHandle list,
Cell * lastClick) __attribute__((deprecated));
# 1267 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
SetListRefCon(
ListHandle list,
SInt32 refCon) __attribute__((deprecated));
# 1284 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
SetListUserHandle(
ListHandle list,
Handle userHandle) __attribute__((deprecated));
# 1301 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
SetListFlags(
ListHandle list,
OptionBits listFlags) __attribute__((deprecated));
# 1318 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
SetListSelectionFlags(
ListHandle list,
OptionBits selectionFlags) __attribute__((deprecated));
#pragma pack(pop)
# 37 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 2 3
# 72 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
pushButProc = 0,
checkBoxProc = 1,
radioButProc = 2,
scrollBarProc = 16,
popupMenuProc = 1008
};
enum {
kControlLabelPart = 1,
kControlMenuPart = 2,
kControlTrianglePart = 4,
kControlEditTextPart = 5,
kControlPicturePart = 6,
kControlIconPart = 7,
kControlClockPart = 8,
kControlListBoxPart = 24,
kControlListBoxDoubleClickPart = 25,
kControlImageWellPart = 26,
kControlRadioGroupPart = 27,
kControlButtonPart = 10,
kControlCheckBoxPart = 11,
kControlRadioButtonPart = 11,
kControlUpButtonPart = kAppearancePartUpButton,
kControlDownButtonPart = kAppearancePartDownButton,
kControlPageUpPart = kAppearancePartPageUpArea,
kControlPageDownPart = kAppearancePartPageDownArea,
kControlClockHourDayPart = 9,
kControlClockMinuteMonthPart = 10,
kControlClockSecondYearPart = 11,
kControlClockAMPMPart = 12,
kControlDataBrowserPart = 24,
kControlDataBrowserDraggedPart = 25
};
# 126 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlEditTextProc = 272,
kControlEditTextPasswordProc = 274
};
enum {
kControlEditTextInlineInputProc = 276
};
enum {
kControlKindEditText = 'etxt'
};
# 198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
extern OSStatus
CreateEditTextControl(
WindowRef window,
const Rect * boundsRect,
CFStringRef text,
Boolean isPassword,
Boolean useInlineInput,
const ControlFontStyleRec * style,
ControlRef * outControl) __attribute__((deprecated));
enum {
kControlEditTextTEHandleTag = 'than',
kControlEditTextInlinePreUpdateProcTag = 'prup',
kControlEditTextInlinePostUpdateProcTag = 'poup'
};
# 241 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlPictureProc = 304,
kControlPictureNoTrackProc = 305
};
enum {
kControlKindPicture = 'pict'
};
#define kHIPictureViewClassID CFSTR("com.apple.HIPictureView")
# 287 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
extern OSStatus
CreatePictureControl(
WindowRef window,
const Rect * boundsRect,
const ControlButtonContentInfo * content,
Boolean dontTrack,
ControlRef * outControl) ;
enum {
kControlPictureHandleTag = 'pich'
};
# 314 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlListBoxProc = 352,
kControlListBoxAutoSizeProc = 353
};
enum {
kControlKindListBox = 'lbox'
};
# 336 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
extern OSStatus
CreateListBoxControl(
WindowRef window,
const Rect * boundsRect,
Boolean autoSize,
SInt16 numRows,
SInt16 numColumns,
Boolean horizScroll,
Boolean vertScroll,
SInt16 cellHeight,
SInt16 cellWidth,
Boolean hasGrowSpace,
const ListDefSpec * listDef,
ControlRef * outControl) ;
enum {
kControlListBoxListHandleTag = 'lhan',
kControlListBoxKeyFilterTag = kControlKeyFilterTag,
kControlListBoxFontStyleTag = kControlFontStyleTag
};
enum {
kControlListBoxDoubleClickTag = 'dblc',
kControlListBoxLDEFTag = 'ldef'
};
enum {
kControlListDescResType = 'ldes'
};
# 390 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlScrollTextBoxProc = 432,
kControlScrollTextBoxAutoScrollProc = 433
};
enum {
kControlKindScrollingTextBox = 'stbx'
};
# 412 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
extern OSStatus
CreateScrollingTextBoxControl(
WindowRef window,
const Rect * boundsRect,
SInt16 contentResID,
Boolean autoScroll,
UInt32 delayBeforeAutoScroll,
UInt32 delayBetweenAutoScroll,
UInt16 autoScrollAmount,
ControlRef * outControl) ;
enum {
kControlScrollTextBoxDelayBeforeAutoScrollTag = 'stdl',
kControlScrollTextBoxDelayBetweenAutoScrollTag = 'scdl',
kControlScrollTextBoxAutoScrollAmountTag = 'samt',
kControlScrollTextBoxContentsTag = 'tres',
kControlScrollTextBoxAnimatingTag = 'anim'
};
# 202 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
#define __TRANSLATIONEXTENSIONS__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
#pragma pack(push, 2)
enum {
kSupportsFileTranslation = 1,
kSupportsScrapTranslation = 2,
kTranslatorCanGenerateFilename = 4
};
typedef OSType FileType;
typedef ResType ScrapType;
typedef UInt32 TranslationAttributes;
enum {
taDstDocNeedsResourceFork = 1,
taDstIsAppTranslation = 2
};
struct FileTypeSpec {
FileType format;
long hint;
TranslationAttributes flags;
OSType catInfoType;
OSType catInfoCreator;
};
typedef struct FileTypeSpec FileTypeSpec;
struct FileTranslationList {
unsigned long modDate;
unsigned long groupCount;
# 79 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
};
typedef struct FileTranslationList FileTranslationList;
typedef FileTranslationList * FileTranslationListPtr;
typedef FileTranslationListPtr * FileTranslationListHandle;
struct ScrapTypeSpec {
ScrapType format;
long hint;
};
typedef struct ScrapTypeSpec ScrapTypeSpec;
struct ScrapTranslationList {
unsigned long modDate;
unsigned long groupCount;
# 101 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
};
typedef struct ScrapTranslationList ScrapTranslationList;
typedef ScrapTranslationList * ScrapTranslationListPtr;
typedef ScrapTranslationListPtr * ScrapTranslationListHandle;
typedef long TranslationRefNum;
# 140 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
extern OSErr
SetTranslationAdvertisement(
TranslationRefNum refNum,
PicHandle advertisement) __attribute__((deprecated));
# 176 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
extern OSErr
UpdateTranslationProgress(
TranslationRefNum refNum,
short percentDone,
Boolean * canceled) __attribute__((deprecated));
# 190 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
enum {
kTranslateGetFileTranslationList = 0,
kTranslateIdentifyFile = 1,
kTranslateTranslateFile = 2,
kTranslateGetTranslatedFilename = 3,
kTranslateGetScrapTranslationList = 10,
kTranslateIdentifyScrap = 11,
kTranslateTranslateScrap = 12,
kTranslateGetScrapTranslationListConsideringData = 13
};
typedef ComponentResult ( * DoGetFileTranslationListProcPtr)(ComponentInstance self, FileTranslationListHandle translationList);
typedef ComponentResult ( * DoIdentifyFileProcPtr)(ComponentInstance self, const FSSpec *theDocument, FileType *docType);
typedef ComponentResult ( * DoTranslateFileProcPtr)(ComponentInstance self, TranslationRefNum refNum, const FSSpec *sourceDocument, FileType srcType, long srcTypeHint, const FSSpec *dstDoc, FileType dstType, long dstTypeHint);
typedef ComponentResult ( * DoGetTranslatedFilenameProcPtr)(ComponentInstance self, FileType dstType, long dstTypeHint, FSSpec *theDocument);
typedef ComponentResult ( * DoGetScrapTranslationListProcPtr)(ComponentInstance self, ScrapTranslationListHandle list);
typedef ComponentResult ( * DoIdentifyScrapProcPtr)(ComponentInstance self, const void *dataPtr, Size dataLength, ScrapType *dataFormat);
typedef ComponentResult ( * DoTranslateScrapProcPtr)(ComponentInstance self, TranslationRefNum refNum, const void *srcDataPtr, Size srcDataLength, ScrapType srcType, long srcTypeHint, Handle dstData, ScrapType dstType, long dstTypeHint);
#pragma pack(pop)
# 206 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
#define __TRANSLATION__
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
#pragma pack(push, 2)
typedef short DocOpenMethod;
enum {
domCannot = 0,
domNative = 1,
domTranslateFirst = 2,
domWildcard = 3
};
typedef OSType TypesBlock[64];
typedef OSType * TypesBlockPtr;
enum {
kTranslationScrapProgressDialogID = -16555
};
struct FileTranslationSpec {
OSType componentSignature;
const void * translationSystemInfo;
FileTypeSpec src;
FileTypeSpec dst;
};
typedef struct FileTranslationSpec FileTranslationSpec;
typedef FileTranslationSpec * FileTranslationSpecArrayPtr;
typedef FileTranslationSpecArrayPtr * FileTranslationSpecArrayHandle;
# 87 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern OSErr
GetFileTypesThatAppCanNativelyOpen(
short appVRefNumHint,
OSType appSignature,
FileType * nativeTypes) __attribute__((deprecated));
# 109 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern OSErr
ExtendFileTypeList(
const FileType * originalTypeList,
short numberOriginalTypes,
FileType * extendedTypeList,
short * numberExtendedTypes) __attribute__((deprecated));
# 131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern OSErr
CanDocBeOpened(
const FSSpec * targetDocument,
short appVRefNumHint,
OSType appSignature,
const FileType * nativeTypes,
Boolean onlyNative,
DocOpenMethod * howToOpen,
FileTranslationSpec * howToTranslate) __attribute__((deprecated));
# 157 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern short
GetFileTranslationPaths(
const FSSpec * srcDocument,
FileType dstDocType,
unsigned short maxResultCount,
FileTranslationSpecArrayPtr resultBuffer) __attribute__((deprecated));
# 181 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern OSErr
GetPathFromTranslationDialog(
const FSSpec * theDocument,
const FSSpec * theApplication,
TypesBlockPtr typeList,
DocOpenMethod * howToOpen,
FileTranslationSpec * howToTranslate) __attribute__((deprecated));
# 204 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern OSErr
TranslateFile(
const FSSpec * sourceDocument,
const FSSpec * destinationDocument,
const FileTranslationSpec * howToTranslate) __attribute__((deprecated));
# 225 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern OSErr
GetDocumentKindString(
short docVRefNum,
OSType docType,
OSType docCreator,
Str63 kindString) __attribute__((deprecated));
# 250 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern OSErr
GetTranslationExtensionName(
const FileTranslationSpec * translationMethod,
Str31 extensionName) __attribute__((deprecated));
# 262 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
typedef OSErr ( * GetScrapDataProcPtr)(ScrapType requestedFormat, Handle dataH, void *srcDataGetterRefCon);
typedef GetScrapDataProcPtr GetScrapDataUPP;
# 272 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern GetScrapDataUPP
NewGetScrapDataUPP(GetScrapDataProcPtr userRoutine) __attribute__((deprecated));
# 283 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern void
DisposeGetScrapDataUPP(GetScrapDataUPP userUPP) __attribute__((deprecated));
# 294 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern OSErr
InvokeGetScrapDataUPP(
ScrapType requestedFormat,
Handle dataH,
void * srcDataGetterRefCon,
GetScrapDataUPP userUPP) __attribute__((deprecated));
#define NewGetScrapDataUPP(userRoutine) ((GetScrapDataUPP)userRoutine)
#define DisposeGetScrapDataUPP(userUPP)
#define InvokeGetScrapDataUPP(requestedFormat,dataH,srcDataGetterRefCon,userUPP) (*userUPP)(requestedFormat, dataH, srcDataGetterRefCon)
typedef GetScrapDataUPP GetScrapData;
# 329 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern OSErr
TranslateScrap(
GetScrapDataUPP sourceDataGetter,
void * sourceDataGetterRefCon,
ScrapType destinationFormat,
Handle destinationData,
short progressDialogID) __attribute__((deprecated));
#pragma pack(pop)
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
#define __TYPESELECT__
# 35 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
#pragma pack(push, 2)
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
typedef SInt16 TSCode;
enum {
tsPreviousSelectMode = -1,
tsNormalSelectMode = 0,
tsNextSelectMode = 1
};
struct TypeSelectRecord {
UInt32 tsrLastKeyTime;
ScriptCode tsrScript;
Str63 tsrKeyStrokes;
};
typedef struct TypeSelectRecord TypeSelectRecord;
typedef Boolean ( * IndexToStringProcPtr)(short item, ScriptCode *itemsScript, StringPtr *itemsStringPtr, void *yourDataPtr);
typedef IndexToStringProcPtr IndexToStringUPP;
# 71 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
extern IndexToStringUPP
NewIndexToStringUPP(IndexToStringProcPtr userRoutine) __attribute__((deprecated));
# 82 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
extern void
DisposeIndexToStringUPP(IndexToStringUPP userUPP) __attribute__((deprecated));
# 93 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
extern Boolean
InvokeIndexToStringUPP(
short item,
ScriptCode * itemsScript,
StringPtr * itemsStringPtr,
void * yourDataPtr,
IndexToStringUPP userUPP) __attribute__((deprecated));
#define NewIndexToStringUPP(userRoutine) ((IndexToStringUPP)userRoutine)
#define DisposeIndexToStringUPP(userUPP)
#define InvokeIndexToStringUPP(item,itemsScript,itemsStringPtr,yourDataPtr,userUPP) (*userUPP)(item, itemsScript, itemsStringPtr, yourDataPtr)
# 134 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
extern void
TypeSelectClear(TypeSelectRecord * tsr) __attribute__((deprecated));
# 156 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
extern Boolean
TypeSelectNewKey(
const EventRecord * theEvent,
TypeSelectRecord * tsr) __attribute__((deprecated));
# 180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
extern short
TypeSelectFindItem(
const TypeSelectRecord * tsr,
short listSize,
TSCode selectMode,
IndexToStringUPP getStringProc,
void * yourDataPtr) __attribute__((deprecated));
# 207 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
extern short
TypeSelectCompare(
const TypeSelectRecord * tsr,
ScriptCode testStringScript,
StringPtr testStringPtr) __attribute__((deprecated));
#pragma pack(pop)
# 218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
#define __MACAPPLICATION__
# 57 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern const float kHIToolboxVersionNumber ;
#define kHIToolboxVersionNumber10_3 (145.0)
#define kHIToolboxVersionNumber10_3_2 (145.35)
#define kHIToolboxVersionNumber10_3_3 (145.38)
#define kHIToolboxVersionNumber10_3_4 (145.41)
#define kHIToolboxVersionNumber10_3_5 (145.43)
#define kHIToolboxVersionNumber10_3_9 (145.48)
#define kHIToolboxVersionNumber10_4 (219)
#define kHIToolboxVersionNumber10_4_1 (219.1)
#define kHIToolboxVersionNumber10_4_2 (220)
#define kHIToolboxVersionNumber10_4_2_SecUpdate (221)
#define kHIToolboxVersionNumber10_4_4 (222)
#define kHIToolboxVersionNumber10_4_4_Intel (223)
#define kHIToolboxVersionNumber10_4_6 (225)
#define kHIToolboxVersionNumber10_4_7 (226)
#define kHIToolboxVersionNumber10_4_9 (227)
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
#define kHIApplicationClassID CFSTR("com.apple.HIApplication")
# 98 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
enum {
kUIModeNormal = 0,
# 113 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
kUIModeContentSuppressed = 1,
kUIModeContentHidden = 2,
# 131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
kUIModeAllSuppressed = 4,
# 140 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
kUIModeAllHidden = 3
};
typedef UInt32 SystemUIMode;
enum {
kUIOptionAutoShowMenuBar = 1 << 0,
kUIOptionDisableAppleMenu = 1 << 2,
# 173 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
kUIOptionDisableProcessSwitch = 1 << 3,
kUIOptionDisableForceQuit = 1 << 4,
kUIOptionDisableSessionTerminate = 1 << 5,
kUIOptionDisableHide = 1 << 6,
kUIOptionDisableMenuBarTransparency = 1 << 7
};
typedef OptionBits SystemUIOptions;
# 252 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern OSStatus
SetSystemUIMode(
SystemUIMode inMode,
SystemUIOptions inOptions) ;
# 293 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern void
GetSystemUIMode(
SystemUIMode * outMode,
SystemUIOptions * outOptions) ;
# 323 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern HIObjectRef
HIApplicationGetCurrent(void) ;
# 361 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern WindowRef
HIApplicationGetFocus(Boolean inConsideringModalFocus) ;
# 390 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern OSStatus
SetApplicationDockTileImage(CGImageRef inImage) ;
# 419 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern OSStatus
OverlayApplicationDockTileImage(CGImageRef inImage) ;
# 442 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern OSStatus
RestoreApplicationDockTileImage(void) ;
# 480 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern CGContextRef
HIApplicationCreateDockTileContext(HISize * outContextSize) ;
# 517 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern CGContextRef
BeginCGContextForApplicationDockTile(void) ;
# 548 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern void
EndCGContextForApplicationDockTile(CGContextRef inContext) ;
# 580 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern CGrafPtr
BeginQDContextForApplicationDockTile(void) __attribute__((deprecated));
# 611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern void
EndQDContextForApplicationDockTile(CGrafPtr inContext) __attribute__((deprecated));
# 660 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern OSStatus
SetApplicationDockTileMenu(MenuRef inMenu) ;
# 687 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern MenuRef
GetApplicationDockTileMenu(void) ;
# 702 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern OSStatus
CreateCGImageFromPixMaps(
PixMapHandle inImage,
PixMapHandle inMask,
CGImageRef * outImage) ;
# 736 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern TextEncoding
GetApplicationTextEncoding(void) ;
# 759 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern ScriptCode
GetApplicationScript(void) ;
# 772 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
#define kHIAboutBoxNameKey CFSTR("HIAboutBoxName")
#define kHIAboutBoxVersionKey CFSTR("HIAboutBoxVersion")
#define kHIAboutBoxCopyrightKey CFSTR("HIAboutBoxCopyright")
#define kHIAboutBoxDescriptionKey CFSTR("HIAboutBoxDescription")
#define kHIAboutBoxStringFileKey CFSTR("HIAboutBoxStringFile")
# 842 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern OSStatus
HIAboutBox(CFDictionaryRef inOptions) ;
# 879 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern OSStatus
HISearchWindowShow(
CFStringRef inSearchString,
OptionBits inFlags) ;
# 941 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern void
HIDictionaryWindowShow(
DCSDictionaryRef dictionary,
CFTypeRef textString,
CFRange selectionRange,
CTFontRef textFont,
CGPoint textOrigin,
Boolean verticalText,
const CGAffineTransform * viewTransform) ;
# 222 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
#define __KEYBOARDS__
# 45 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
typedef OSType PhysicalKeyboardLayoutType;
enum {
kKeyboardJIS = 'JIS ',
kKeyboardANSI = 'ANSI',
kKeyboardISO = 'ISO ',
kKeyboardUnknown = kUnknownType
};
# 85 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
typedef struct OpaqueKeyboardLayoutRef* KeyboardLayoutRef;
# 94 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
typedef UInt32 KeyboardLayoutPropertyTag;
enum {
kKLKCHRData = 0,
kKLuchrData = 1,
kKLIdentifier = 2,
kKLIcon = 3,
kKLLocalizedName = 4,
kKLName = 5,
kKLGroupIdentifier = 6,
kKLKind = 7,
kKLLanguageCode = 9
};
# 155 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
typedef SInt32 KeyboardLayoutKind;
enum {
kKLKCHRuchrKind = 0,
kKLKCHRKind = 1,
kKLuchrKind = 2
};
# 181 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
typedef SInt32 KeyboardLayoutIdentifier;
enum {
kKLUSKeyboard = 0
};
# 208 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
extern PhysicalKeyboardLayoutType
KBGetLayoutType(SInt16 iKeyboardType) ;
# 238 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
extern OSStatus
KLGetKeyboardLayoutCount(CFIndex * oCount) __attribute__((deprecated));
# 271 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
extern OSStatus
KLGetKeyboardLayoutAtIndex(
CFIndex iIndex,
KeyboardLayoutRef * oKeyboardLayout) __attribute__((deprecated));
# 318 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
extern OSStatus
KLGetKeyboardLayoutProperty(
KeyboardLayoutRef iKeyboardLayout,
KeyboardLayoutPropertyTag iPropertyTag,
const void ** oValue) __attribute__((deprecated));
# 361 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
extern OSStatus
KLGetKeyboardLayoutWithIdentifier(
KeyboardLayoutIdentifier iIdentifier,
KeyboardLayoutRef * oKeyboardLayout) __attribute__((deprecated));
# 394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
extern OSStatus
KLGetKeyboardLayoutWithName(
CFStringRef iName,
KeyboardLayoutRef * oKeyboardLayout) __attribute__((deprecated));
# 435 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
extern OSStatus
KLGetCurrentKeyboardLayout(KeyboardLayoutRef * oKeyboardLayout) __attribute__((deprecated));
# 482 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
extern OSStatus
KLSetCurrentKeyboardLayout(KeyboardLayoutRef iKeyboardLayout) __attribute__((deprecated));
# 493 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
enum {
_KeyboardDispatch = 0xAA7A
};
enum {
gestaltKeyboardsAttr = 'kbds',
gestaltKBPS2Keyboards = 1,
gestaltKBPS2SetIDToAny = 2,
gestaltKBPS2SetTranslationTable = 4
};
enum {
errKBPS2KeyboardNotAvailable = -30850,
errKBIlligalParameters = -30851,
errKBFailSettingID = -30852,
errKBFailSettingTranslationTable = -30853,
errKBFailWritePreference = -30854
};
# 226 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
#define __IBCARBONRUNTIME__
# 48 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
enum {
kIBCarbonRuntimeCantFindNibFile = -10960,
kIBCarbonRuntimeObjectNotOfRequestedType = -10961,
kIBCarbonRuntimeCantFindObject = -10962
};
typedef struct OpaqueIBNibRef* IBNibRef;
# 69 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
extern OSStatus
CreateNibReference(
CFStringRef inNibName,
IBNibRef * outNibRef) ;
# 86 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
extern OSStatus
CreateNibReferenceWithCFBundle(
CFBundleRef inBundle,
CFStringRef inNibName,
IBNibRef * outNibRef) ;
# 104 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
extern void
DisposeNibReference(IBNibRef inNibRef) ;
# 141 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
extern OSStatus
CreateWindowFromNib(
IBNibRef inNibRef,
CFStringRef inName,
WindowRef * outWindow) ;
# 161 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
extern OSStatus
CreateMenuFromNib(
IBNibRef inNibRef,
CFStringRef inName,
MenuRef * outMenuRef) ;
# 181 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
extern OSStatus
CreateMenuBarFromNib(
IBNibRef inNibRef,
CFStringRef inName,
Handle * outMenuBar) ;
# 199 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
extern OSStatus
SetMenuBarFromNib(
IBNibRef inNibRef,
CFStringRef inName) ;
# 230 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 1 3
# 15 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
#define __TEXTINPUTSOURCES__
# 120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
typedef struct __TISInputSource* TISInputSourceRef;
# 136 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern CFTypeID
TISInputSourceGetTypeID(void) ;
# 172 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceCategory ;
# 192 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceType ;
# 205 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceIsASCIICapable ;
# 242 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceIsEnableCapable ;
# 281 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceIsSelectCapable ;
# 294 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceIsEnabled ;
# 307 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceIsSelected ;
# 335 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceID ;
# 352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyBundleID ;
# 375 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputModeID ;
# 394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyLocalizedName ;
# 425 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceLanguages ;
# 447 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyUnicodeKeyLayoutData ;
# 468 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyIconRef ;
# 491 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyIconImageURL ;
# 516 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISCategoryKeyboardInputSource ;
# 533 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISCategoryPaletteInputSource ;
# 549 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISCategoryInkInputSource ;
# 570 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeKeyboardLayout ;
# 586 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeKeyboardInputMethodWithoutModes ;
# 602 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeKeyboardInputMethodModeEnabled ;
# 618 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeKeyboardInputMode ;
# 634 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeCharacterPalette ;
# 650 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeKeyboardViewer ;
# 669 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeInk ;
# 704 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern void *
TISGetInputSourceProperty(
TISInputSourceRef inputSource,
CFStringRef propertyKey) ;
# 761 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern CFArrayRef
TISCreateInputSourceList(
CFDictionaryRef properties,
Boolean includeAllInstalled) ;
# 784 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyCurrentKeyboardInputSource(void) ;
# 804 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyCurrentKeyboardLayoutInputSource(void) ;
# 825 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyCurrentASCIICapableKeyboardInputSource(void) ;
# 853 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyCurrentASCIICapableKeyboardLayoutInputSource(void) ;
# 899 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyInputSourceForLanguage(CFStringRef language) ;
# 928 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern CFArrayRef
TISCreateASCIICapableInputSourceList(void) ;
# 970 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISSelectInputSource(TISInputSourceRef inputSource) ;
# 996 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISDeselectInputSource(TISInputSourceRef inputSource) ;
# 1028 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISEnableInputSource(TISInputSourceRef inputSource) ;
# 1056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISDisableInputSource(TISInputSourceRef inputSource) ;
# 1077 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISNotifySelectedKeyboardInputSourceChanged ;
# 1090 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISNotifyEnabledKeyboardInputSourcesChanged ;
# 1154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISSetInputMethodKeyboardLayoutOverride(TISInputSourceRef keyboardLayout) ;
# 1175 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyInputMethodKeyboardLayoutOverride(void) ;
# 1239 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISRegisterInputSource(CFURLRef location) ;
# 234 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 1 3
#define __HITOOLBOXDEBUGGING__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugSetEventTraceEnabled(Boolean inEnabled) ;
# 59 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugTraceEvent(
OSType inEventClass,
UInt32 inEventKind,
Boolean inTrace) ;
# 74 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugTraceEventByName(
const char * eventName,
Boolean inTrace) ;
# 88 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintTracedEvents(void) ;
# 100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintEventQueue(EventQueueRef inQueue) ;
# 114 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintMainEventQueue(void) ;
# 126 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintEvent(EventRef inEvent) ;
# 140 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintControl(ControlRef inControl) ;
# 152 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintControlHierarchy(WindowRef inWindow) ;
# 164 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern OSErr
DumpControlHierarchy(
WindowRef inWindow,
const FSSpec * inDumpFile) ;
# 179 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintDialogInfo(DialogRef inDialog) ;
# 205 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern OSStatus
HIViewFlashDirtyArea(WindowRef inWindow) ;
# 219 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintMenuList(void) ;
# 231 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintMenu(MenuRef inMenu) ;
# 243 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintMenuItem(
MenuRef inMenu,
MenuItemIndex inItem) ;
# 258 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintWindow(WindowRef windowRef) ;
# 278 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintWindowGroup(WindowGroupRef inGroup) ;
# 294 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintAllWindowGroups(void) ;
# 309 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintWindowList(void) ;
# 321 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugFlashWindowVisRgn(WindowRef windowRef) __attribute__((deprecated));
# 333 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugFlashWindowUpdateRgn(WindowRef inWindow) __attribute__((deprecated));
# 238 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IMKInputSession.h" 1 3
# 16 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IMKInputSession.h" 3
#define __IMKINPUTSESSION__
# 243 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 255 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 1 3
# 24 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
#define __TSMTE__
# 51 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
#pragma pack(push, 2)
enum {
kTSMTESignature = 'tmTE',
kTSMTEInterfaceType = kTSMTEDocumentInterfaceType
};
# 73 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
enum {
kTSMTEAutoScroll = 1
};
typedef void ( * TSMTEPreUpdateProcPtr)(TEHandle textH, long refCon);
typedef void ( * TSMTEPostUpdateProcPtr)(TEHandle textH, long fixLen, long inputAreaStart, long inputAreaEnd, long pinStart, long pinEnd, long refCon);
typedef TSMTEPreUpdateProcPtr TSMTEPreUpdateUPP;
typedef TSMTEPostUpdateProcPtr TSMTEPostUpdateUPP;
struct TSMTERec {
TEHandle textH;
TSMTEPreUpdateUPP preUpdateProc;
TSMTEPostUpdateUPP postUpdateProc;
long updateFlag;
long refCon;
};
typedef struct TSMTERec TSMTERec;
typedef TSMTERec * TSMTERecPtr;
typedef TSMTERecPtr * TSMTERecHandle;
# 103 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern TSMTEPreUpdateUPP
NewTSMTEPreUpdateUPP(TSMTEPreUpdateProcPtr userRoutine) __attribute__((deprecated));
# 114 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern TSMTEPostUpdateUPP
NewTSMTEPostUpdateUPP(TSMTEPostUpdateProcPtr userRoutine) __attribute__((deprecated));
# 125 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern void
DisposeTSMTEPreUpdateUPP(TSMTEPreUpdateUPP userUPP) __attribute__((deprecated));
# 136 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern void
DisposeTSMTEPostUpdateUPP(TSMTEPostUpdateUPP userUPP) __attribute__((deprecated));
# 147 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern void
InvokeTSMTEPreUpdateUPP(
TEHandle textH,
long refCon,
TSMTEPreUpdateUPP userUPP) __attribute__((deprecated));
# 161 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern void
InvokeTSMTEPostUpdateUPP(
TEHandle textH,
long fixLen,
long inputAreaStart,
long inputAreaEnd,
long pinStart,
long pinEnd,
long refCon,
TSMTEPostUpdateUPP userUPP) __attribute__((deprecated));
# 181 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
#define NewTSMTEPreUpdateUPP(userRoutine) ((TSMTEPreUpdateUPP)userRoutine)
#define NewTSMTEPostUpdateUPP(userRoutine) ((TSMTEPostUpdateUPP)userRoutine)
#define DisposeTSMTEPreUpdateUPP(userUPP)
#define DisposeTSMTEPostUpdateUPP(userUPP)
#define InvokeTSMTEPreUpdateUPP(textH,refCon,userUPP) (*userUPP)(textH, refCon)
#define InvokeTSMTEPostUpdateUPP(textH,fixLen,inputAreaStart,inputAreaEnd,pinStart,pinEnd,refCon,userUPP) (*userUPP)(textH, fixLen, inputAreaStart, inputAreaEnd, pinStart, pinEnd, refCon)
# 202 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern Boolean
IsTSMTEDialog(DialogRef dialog) __attribute__((deprecated));
# 218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern TSMDocumentID
GetTSMTEDialogDocumentID(DialogRef dialog) __attribute__((deprecated));
# 233 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern TSMTERecHandle
GetTSMTEDialogTSMTERecHandle(DialogRef dialog) __attribute__((deprecated));
# 249 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern void
SetTSMTEDialogDocumentID(
DialogRef dialog,
TSMDocumentID documentID) __attribute__((deprecated));
# 266 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TSMTE.h" 3
extern void
SetTSMTEDialogTSMTERecHandle(
DialogRef dialog,
TSMTERecHandle tsmteRecHandle) __attribute__((deprecated));
#pragma pack(pop)
# 256 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 30 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/CarbonSound.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/CarbonSound.h" 3
#define __CARBONSOUND__
# 30 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/CarbonSound.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
#define __SOUND__
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
#pragma pack(push, 2)
# 87 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
#define twelfthRootTwo 1.05946309435
enum {
soundListRsrc = 'snd ',
kSoundCodecInfoResourceType = 'snfo'
};
enum {
kSimpleBeepID = 1
};
enum {
rate48khz = (long)0xBB800000,
rate44khz = (long)0xAC440000,
rate32khz = 0x7D000000,
rate22050hz = 0x56220000,
rate22khz = 0x56EE8BA3,
rate16khz = 0x3E800000,
rate11khz = 0x2B7745D1,
rate11025hz = 0x2B110000,
rate8khz = 0x1F400000
};
enum {
sampledSynth = 5
};
# 126 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
enum {
kMiddleC = 60
};
enum {
kNoVolume = 0,
kFullVolume = 0x0100
};
enum {
stdQLength = 128
};
enum {
dataOffsetFlag = 0x8000
};
enum {
kUseOptionalOutputDevice = -1
};
enum {
notCompressed = 0,
fixedCompression = -1,
variableCompression = -2
};
enum {
twoToOne = 1,
eightToThree = 2,
threeToOne = 3,
sixToOne = 4,
sixToOnePacketSize = 8,
threeToOnePacketSize = 16
};
enum {
stateBlockSize = 64,
leftOverBlockSize = 32
};
enum {
firstSoundFormat = 0x0001,
secondSoundFormat = 0x0002
};
# 180 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
enum {
sysBeepDisable = 0x0000,
sysBeepEnable = (1 << 0),
sysBeepSynchronous = (1 << 1)
};
enum {
unitTypeNoSelection = 0xFFFF,
unitTypeSeconds = 0x0000
};
enum {
stdSH = 0x00,
extSH = 0xFF,
cmpSH = 0xFE
};
enum {
nullCmd = 0,
quietCmd = 3,
flushCmd = 4,
reInitCmd = 5,
waitCmd = 10,
pauseCmd = 11,
resumeCmd = 12,
callBackCmd = 13,
syncCmd = 14,
availableCmd = 24,
versionCmd = 25,
volumeCmd = 46,
getVolumeCmd = 47,
clockComponentCmd = 50,
getClockComponentCmd = 51,
scheduledSoundCmd = 52,
linkSoundComponentsCmd = 53,
soundCmd = 80,
bufferCmd = 81,
rateMultiplierCmd = 86,
getRateMultiplierCmd = 87
};
# 275 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
enum {
initChanLeft = 0x0002,
initChanRight = 0x0003,
initNoInterp = 0x0004,
initNoDrop = 0x0008,
initMono = 0x0080,
initStereo = 0x00C0,
initMACE3 = 0x0300,
initMACE6 = 0x0400,
initPanMask = 0x0003,
initSRateMask = 0x0030,
initStereoMask = 0x00C0,
initCompMask = 0xFF00
};
enum {
siActiveChannels = 'chac',
siActiveLevels = 'lmac',
siAGCOnOff = 'agc ',
siAsync = 'asyn',
siAVDisplayBehavior = 'avdb',
siChannelAvailable = 'chav',
siCompressionAvailable = 'cmav',
siCompressionFactor = 'cmfa',
siCompressionHeader = 'cmhd',
siCompressionNames = 'cnam',
siCompressionParams = 'evaw',
siCompressionSampleRate = 'cprt',
siCompressionChannels = 'cpct',
siCompressionOutputSampleRate = 'cort',
siCompressionInputRateList = 'crtl',
siCompressionType = 'comp',
siCompressionConfiguration = 'ccfg',
siContinuous = 'cont',
siDecompressionParams = 'wave',
siDecompressionConfiguration = 'dcfg',
siDeviceBufferInfo = 'dbin',
siDeviceConnected = 'dcon',
siDeviceIcon = 'icon',
siDeviceName = 'name',
siEQSpectrumBands = 'eqsb',
siEQSpectrumLevels = 'eqlv',
siEQSpectrumOnOff = 'eqlo',
siEQSpectrumResolution = 'eqrs',
siEQToneControlGain = 'eqtg',
siEQToneControlOnOff = 'eqtc',
siHardwareBalance = 'hbal',
siHardwareBalanceSteps = 'hbls',
siHardwareBass = 'hbas',
siHardwareBassSteps = 'hbst',
siHardwareBusy = 'hwbs',
siHardwareFormat = 'hwfm',
siHardwareMute = 'hmut',
siHardwareMuteNoPrefs = 'hmnp',
siHardwareTreble = 'htrb',
siHardwareTrebleSteps = 'hwts',
siHardwareVolume = 'hvol',
siHardwareVolumeSteps = 'hstp',
siHeadphoneMute = 'pmut',
siHeadphoneVolume = 'pvol',
siHeadphoneVolumeSteps = 'hdst',
siInputAvailable = 'inav',
siInputGain = 'gain',
siInputSource = 'sour',
siInputSourceNames = 'snam',
siLevelMeterOnOff = 'lmet',
siModemGain = 'mgai',
siMonitorAvailable = 'mnav',
siMonitorSource = 'mons',
siNumberChannels = 'chan',
siOptionsDialog = 'optd',
siOSTypeInputSource = 'inpt',
siOSTypeInputAvailable = 'inav',
siOutputDeviceName = 'onam',
siPlayThruOnOff = 'plth',
siPostMixerSoundComponent = 'psmx',
siPreMixerSoundComponent = 'prmx',
siQuality = 'qual',
siRateMultiplier = 'rmul',
siRecordingQuality = 'qual',
siSampleRate = 'srat',
siSampleRateAvailable = 'srav',
siSampleSize = 'ssiz',
siSampleSizeAvailable = 'ssav',
siSetupCDAudio = 'sucd',
siSetupModemAudio = 'sumd',
siSlopeAndIntercept = 'flap',
siSoundClock = 'sclk',
siUseThisSoundClock = 'sclc',
siSpeakerMute = 'smut',
siSpeakerVolume = 'svol',
siSSpCPULoadLimit = '3dll',
siSSpLocalization = '3dif',
siSSpSpeakerSetup = '3dst',
siStereoInputGain = 'sgai',
siSubwooferMute = 'bmut',
siTerminalType = 'ttyp',
siTwosComplementOnOff = 'twos',
siVendorProduct = 'vpro',
siVolume = 'volu',
siVoxRecordInfo = 'voxr',
siVoxStopInfo = 'voxs',
siWideStereo = 'wide',
siSupportedExtendedFlags = 'exfl',
siRateConverterRollOffSlope = 'rcdb',
siOutputLatency = 'olte',
siHALAudioDeviceID = 'hlid',
siHALAudioDeviceUniqueID = 'huid',
siClientAcceptsVBR = 'cvbr',
siSourceIsExhausted = 'srcx',
siMediaContextID = 'uuid',
siCompressionMaxPacketSize = 'cmxp',
siAudioCodecPropertyValue = 'spva',
siAudioCodecPropertyInfo = 'spin'
};
enum {
siCloseDriver = 'clos',
siInitializeDriver = 'init',
siPauseRecording = 'paus',
siUserInterruptProc = 'user'
};
enum {
kInvalidSource = (long)0xFFFFFFFF,
kNoSource = 'none',
kCDSource = 'cd ',
kExtMicSource = 'emic',
kSoundInSource = 'sinj',
kRCAInSource = 'irca',
kTVFMTunerSource = 'tvfm',
kDAVInSource = 'idav',
kIntMicSource = 'imic',
kMediaBaySource = 'mbay',
kModemSource = 'modm',
kPCCardSource = 'pcm ',
kZoomVideoSource = 'zvpc',
kDVDSource = 'dvda',
kMicrophoneArray = 'mica'
};
enum {
kNoSoundComponentType = '****',
kSoundComponentType = 'sift',
kSoundComponentPPCType = 'nift',
kRate8SubType = 'ratb',
kRate16SubType = 'ratw',
kConverterSubType = 'conv',
kSndSourceSubType = 'sour',
kMixerType = 'mixr',
kMixer8SubType = 'mixb',
kMixer16SubType = 'mixw',
kSoundInputDeviceType = 'sinp',
kWaveInSubType = 'wavi',
kWaveInSnifferSubType = 'wisn',
kSoundOutputDeviceType = 'sdev',
kClassicSubType = 'clas',
kASCSubType = 'asc ',
kDSPSubType = 'dsp ',
kAwacsSubType = 'awac',
kGCAwacsSubType = 'awgc',
kSingerSubType = 'sing',
kSinger2SubType = 'sng2',
kWhitSubType = 'whit',
kSoundBlasterSubType = 'sbls',
kWaveOutSubType = 'wavo',
kWaveOutSnifferSubType = 'wosn',
kDirectSoundSubType = 'dsnd',
kDirectSoundSnifferSubType = 'dssn',
kUNIXsdevSubType = 'un1x',
kUSBSubType = 'usb ',
kBlueBoxSubType = 'bsnd',
kHALCustomComponentSubType = 'halx',
kSoundCompressor = 'scom',
kSoundDecompressor = 'sdec',
kAudioComponentType = 'adio',
kAwacsPhoneSubType = 'hphn',
kAudioVisionSpeakerSubType = 'telc',
kAudioVisionHeadphoneSubType = 'telh',
kPhilipsFaderSubType = 'tvav',
kSGSToneSubType = 'sgs0',
kSoundEffectsType = 'snfx',
kEqualizerSubType = 'eqal',
kSSpLocalizationSubType = 'snd3'
};
enum {
kSoundNotCompressed = 'NONE',
k8BitOffsetBinaryFormat = 'raw ',
k16BitBigEndianFormat = 'twos',
k16BitLittleEndianFormat = 'sowt',
kFloat32Format = 'fl32',
kFloat64Format = 'fl64',
k24BitFormat = 'in24',
k32BitFormat = 'in32',
k32BitLittleEndianFormat = '23ni',
kMACE3Compression = 'MAC3',
kMACE6Compression = 'MAC6',
kCDXA4Compression = 'cdx4',
kCDXA2Compression = 'cdx2',
kIMACompression = 'ima4',
kULawCompression = 'ulaw',
kALawCompression = 'alaw',
kMicrosoftADPCMFormat = 0x6D730002,
kDVIIntelIMAFormat = 0x6D730011,
kMicrosoftGSMCompression = 0x6D730031,
kDVAudioFormat = 'dvca',
kQDesignCompression = 'QDMC',
kQDesign2Compression = 'QDM2',
kQUALCOMMCompression = 'Qclp',
kOffsetBinary = k8BitOffsetBinaryFormat,
kTwosComplement = k16BitBigEndianFormat,
kLittleEndianFormat = k16BitLittleEndianFormat,
kMPEGLayer3Format = 0x6D730055,
kFullMPEGLay3Format = '.mp3',
kVariableDurationDVAudioFormat = 'vdva',
kMPEG4AudioFormat = 'mp4a'
};
enum {
k16BitNativeEndianFormat = k16BitLittleEndianFormat,
k16BitNonNativeEndianFormat = k16BitBigEndianFormat
};
# 513 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
enum {
k8BitRawIn = (1 << 0),
k8BitTwosIn = (1 << 1),
k16BitIn = (1 << 2),
kStereoIn = (1 << 3),
k8BitRawOut = (1 << 8),
k8BitTwosOut = (1 << 9),
k16BitOut = (1 << 10),
kStereoOut = (1 << 11),
kReverse = (1L << 16),
kRateConvert = (1L << 17),
kCreateSoundSource = (1L << 18),
kVMAwareness = (1L << 21),
kHighQuality = (1L << 22),
kNonRealTime = (1L << 23)
};
enum {
kSoundCodecInfoFixedCompression = (1L << 0),
kSoundCodecInfoVariableCompression = (1L << 1),
kSoundCodecInfoHasRestrictedInputRates = (1L << 2),
kSoundCodecInfoCanChangeOutputRate = (1L << 3),
kSoundCodecInfoRequiresExternalFraming = (1L << 4),
kSoundCodecInfoVariableDuration = (1L << 5)
};
enum {
kSourcePaused = (1 << 0),
kPassThrough = (1L << 16),
kNoSoundComponentChain = (1L << 17)
};
enum {
kNoMixing = (1 << 0),
kNoSampleRateConversion = (1 << 1),
kNoSampleSizeConversion = (1 << 2),
kNoSampleFormatConversion = (1 << 3),
kNoChannelConversion = (1 << 4),
kNoDecompression = (1 << 5),
kNoVolumeConversion = (1 << 6),
kNoRealtimeProcessing = (1 << 7),
kScheduledSource = (1 << 8),
kNonInterleavedBuffer = (1 << 9),
kNonPagingMixer = (1 << 10),
kSoundConverterMixer = (1 << 11),
kPagingMixer = (1 << 12),
kVMAwareMixer = (1 << 13),
kExtendedSoundData = (1 << 14)
};
enum {
kBestQuality = (1 << 0)
};
enum {
kInputMask = 0x000000FF,
kOutputMask = 0x0000FF00,
kOutputShift = 8,
kActionMask = 0x00FF0000,
kSoundComponentBits = 0x00FFFFFF
};
enum {
kAudioFormatAtomType = 'frma',
kAudioEndianAtomType = 'enda',
kAudioVBRAtomType = 'vbra',
kAudioTerminatorAtomType = 0
};
enum {
kAVDisplayHeadphoneRemove = 0,
kAVDisplayHeadphoneInsert = 1,
kAVDisplayPlainTalkRemove = 2,
kAVDisplayPlainTalkInsert = 3
};
enum {
audioAllChannels = 0,
audioLeftChannel = 1,
audioRightChannel = 2,
audioUnmuted = 0,
audioMuted = 1,
audioDoesMono = (1L << 0),
audioDoesStereo = (1L << 1),
audioDoesIndependentChannels = (1L << 2)
};
enum {
siCDQuality = 'cd ',
siBestQuality = 'best',
siBetterQuality = 'betr',
siGoodQuality = 'good',
siNoneQuality = 'none'
};
enum {
siDeviceIsConnected = 1,
siDeviceNotConnected = 0,
siDontKnowIfConnected = -1,
siReadPermission = 0,
siWritePermission = 1
};
enum {
kSoundConverterDidntFillBuffer = (1 << 0),
kSoundConverterHasLeftOverData = (1 << 1)
};
enum {
kExtendedSoundSampleCountNotValid = 1L << 0,
kExtendedSoundBufferSizeValid = 1L << 1,
kExtendedSoundFrameSizesValid = 1L << 2,
kExtendedSoundCommonFrameSizeValid = 1L << 3,
kExtendedSoundExtensionsValid = 1L << 4,
kExtendedSoundBufferFlagsValid = 1L << 5
};
enum {
kExtendedSoundBufferIsDiscontinuous = 1L << 0,
kExtendedSoundBufferIsFirstBuffer = 1L << 1
};
struct SndCommand {
unsigned short cmd;
short param1;
long param2;
};
typedef struct SndCommand SndCommand;
typedef struct SndChannel SndChannel;
typedef SndChannel * SndChannelPtr;
typedef void ( * SndCallBackProcPtr)(SndChannelPtr chan, SndCommand *cmd);
typedef SndCallBackProcPtr SndCallBackUPP;
struct SndChannel {
SndChannelPtr nextChan;
Ptr firstMod;
SndCallBackUPP callBack;
long userInfo;
long wait;
SndCommand cmdInProgress;
short flags;
short qLength;
short qHead;
short qTail;
SndCommand queue[128];
};
# 689 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern SndCallBackUPP
NewSndCallBackUPP(SndCallBackProcPtr userRoutine) __attribute__((deprecated));
# 700 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern void
DisposeSndCallBackUPP(SndCallBackUPP userUPP) __attribute__((deprecated));
# 711 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern void
InvokeSndCallBackUPP(
SndChannelPtr chan,
SndCommand * cmd,
SndCallBackUPP userUPP) __attribute__((deprecated));
#define NewSndCallBackUPP(userRoutine) ((SndCallBackUPP)userRoutine)
#define DisposeSndCallBackUPP(userUPP)
#define InvokeSndCallBackUPP(chan,cmd,userUPP) (*userUPP)(chan, cmd)
struct StateBlock {
short stateVar[64];
};
typedef struct StateBlock StateBlock;
typedef StateBlock * StateBlockPtr;
struct LeftOverBlock {
unsigned long count;
SInt8 sampleArea[32];
};
typedef struct LeftOverBlock LeftOverBlock;
typedef LeftOverBlock * LeftOverBlockPtr;
struct ModRef {
unsigned short modNumber;
long modInit;
};
typedef struct ModRef ModRef;
struct SndListResource {
short format;
short numModifiers;
ModRef modifierPart[1];
short numCommands;
SndCommand commandPart[1];
UInt8 dataPart[1];
};
typedef struct SndListResource SndListResource;
typedef SndListResource * SndListPtr;
typedef SndListPtr * SndListHandle;
typedef SndListHandle SndListHndl;
struct Snd2ListResource {
short format;
short refCount;
short numCommands;
SndCommand commandPart[1];
UInt8 dataPart[1];
};
typedef struct Snd2ListResource Snd2ListResource;
typedef Snd2ListResource * Snd2ListPtr;
typedef Snd2ListPtr * Snd2ListHandle;
typedef Snd2ListHandle Snd2ListHndl;
struct SoundHeader {
Ptr samplePtr;
unsigned long length;
UnsignedFixed sampleRate;
unsigned long loopStart;
unsigned long loopEnd;
UInt8 encode;
UInt8 baseFrequency;
UInt8 sampleArea[1];
};
typedef struct SoundHeader SoundHeader;
typedef SoundHeader * SoundHeaderPtr;
struct CmpSoundHeader {
Ptr samplePtr;
unsigned long numChannels;
UnsignedFixed sampleRate;
unsigned long loopStart;
unsigned long loopEnd;
UInt8 encode;
UInt8 baseFrequency;
unsigned long numFrames;
extended80 AIFFSampleRate;
Ptr markerChunk;
OSType format;
unsigned long futureUse2;
StateBlockPtr stateVars;
LeftOverBlockPtr leftOverSamples;
short compressionID;
unsigned short packetSize;
unsigned short snthID;
unsigned short sampleSize;
UInt8 sampleArea[1];
};
typedef struct CmpSoundHeader CmpSoundHeader;
typedef CmpSoundHeader * CmpSoundHeaderPtr;
struct ExtSoundHeader {
Ptr samplePtr;
unsigned long numChannels;
UnsignedFixed sampleRate;
unsigned long loopStart;
unsigned long loopEnd;
UInt8 encode;
UInt8 baseFrequency;
unsigned long numFrames;
extended80 AIFFSampleRate;
Ptr markerChunk;
Ptr instrumentChunks;
Ptr AESRecording;
unsigned short sampleSize;
unsigned short futureUse1;
unsigned long futureUse2;
unsigned long futureUse3;
unsigned long futureUse4;
UInt8 sampleArea[1];
};
typedef struct ExtSoundHeader ExtSoundHeader;
typedef ExtSoundHeader * ExtSoundHeaderPtr;
union SoundHeaderUnion {
SoundHeader stdHeader;
CmpSoundHeader cmpHeader;
ExtSoundHeader extHeader;
};
typedef union SoundHeaderUnion SoundHeaderUnion;
struct ConversionBlock {
short destination;
short unused;
CmpSoundHeaderPtr inputPtr;
CmpSoundHeaderPtr outputPtr;
};
typedef struct ConversionBlock ConversionBlock;
typedef ConversionBlock * ConversionBlockPtr;
enum {
kScheduledSoundDoScheduled = 1 << 0,
kScheduledSoundDoCallBack = 1 << 1,
kScheduledSoundExtendedHdr = 1 << 2
};
struct ScheduledSoundHeader {
SoundHeaderUnion u;
long flags;
short reserved;
short callBackParam1;
long callBackParam2;
TimeRecord startTime;
};
typedef struct ScheduledSoundHeader ScheduledSoundHeader;
typedef ScheduledSoundHeader * ScheduledSoundHeaderPtr;
struct ExtendedScheduledSoundHeader {
SoundHeaderUnion u;
long flags;
short reserved;
short callBackParam1;
long callBackParam2;
TimeRecord startTime;
long recordSize;
long extendedFlags;
long bufferSize;
long frameCount;
long * frameSizesArray;
long commonFrameSize;
void * extensionsPtr;
long extensionsSize;
unsigned long bufferFlags;
unsigned long bufferFlagsMask;
};
typedef struct ExtendedScheduledSoundHeader ExtendedScheduledSoundHeader;
typedef ExtendedScheduledSoundHeader * ExtendedScheduledSoundHeaderPtr;
struct SMStatus {
short smMaxCPULoad;
short smNumChannels;
short smCurCPULoad;
};
typedef struct SMStatus SMStatus;
typedef SMStatus * SMStatusPtr;
struct SCStatus {
UnsignedFixed scStartTime;
UnsignedFixed scEndTime;
UnsignedFixed scCurrentTime;
Boolean scChannelBusy;
Boolean scChannelDisposed;
Boolean scChannelPaused;
Boolean scUnused;
unsigned long scChannelAttributes;
long scCPULoad;
};
typedef struct SCStatus SCStatus;
typedef SCStatus * SCStatusPtr;
struct AudioSelection {
long unitType;
UnsignedFixed selStart;
UnsignedFixed selEnd;
};
typedef struct AudioSelection AudioSelection;
typedef AudioSelection * AudioSelectionPtr;
# 970 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
struct SoundInfoList {
short count;
Handle infoHandle;
};
typedef struct SoundInfoList SoundInfoList;
typedef SoundInfoList * SoundInfoListPtr;
struct SoundComponentData {
long flags;
OSType format;
short numChannels;
short sampleSize;
UnsignedFixed sampleRate;
long sampleCount;
Byte * buffer;
long reserved;
};
typedef struct SoundComponentData SoundComponentData;
typedef SoundComponentData * SoundComponentDataPtr;
struct ExtendedSoundComponentData {
SoundComponentData desc;
long recordSize;
long extendedFlags;
long bufferSize;
long frameCount;
long * frameSizesArray;
long commonFrameSize;
void * extensionsPtr;
long extensionsSize;
unsigned long bufferFlags;
unsigned long bufferFlagsMask;
};
typedef struct ExtendedSoundComponentData ExtendedSoundComponentData;
typedef ExtendedSoundComponentData * ExtendedSoundComponentDataPtr;
typedef struct SoundParamBlock SoundParamBlock;
typedef SoundParamBlock * SoundParamBlockPtr;
typedef Boolean ( * SoundParamProcPtr)(SoundParamBlockPtr * pb);
typedef SoundParamProcPtr SoundParamUPP;
struct SoundParamBlock {
long recordSize;
SoundComponentData desc;
UnsignedFixed rateMultiplier;
short leftVolume;
short rightVolume;
long quality;
ComponentInstance filter;
SoundParamUPP moreRtn;
SoundParamUPP completionRtn;
long refCon;
short result;
};
struct ExtendedSoundParamBlock {
SoundParamBlock pb;
short reserved;
long extendedFlags;
long bufferSize;
long frameCount;
long * frameSizesArray;
long commonFrameSize;
void * extensionsPtr;
long extensionsSize;
unsigned long bufferFlags;
unsigned long bufferFlagsMask;
};
typedef struct ExtendedSoundParamBlock ExtendedSoundParamBlock;
typedef ExtendedSoundParamBlock * ExtendedSoundParamBlockPtr;
struct CompressionInfo {
long recordSize;
OSType format;
short compressionID;
unsigned short samplesPerPacket;
unsigned short bytesPerPacket;
unsigned short bytesPerFrame;
unsigned short bytesPerSample;
unsigned short futureUse1;
};
typedef struct CompressionInfo CompressionInfo;
typedef CompressionInfo * CompressionInfoPtr;
typedef CompressionInfoPtr * CompressionInfoHandle;
struct SoundSlopeAndInterceptRecord {
Float64 slope;
Float64 intercept;
Float64 minClip;
Float64 maxClip;
};
typedef struct SoundSlopeAndInterceptRecord SoundSlopeAndInterceptRecord;
typedef SoundSlopeAndInterceptRecord * SoundSlopeAndInterceptPtr;
typedef struct OpaqueSoundConverter* SoundConverter;
typedef Boolean ( * SoundConverterFillBufferDataProcPtr)(SoundComponentDataPtr *data, void *refCon);
typedef SoundConverterFillBufferDataProcPtr SoundConverterFillBufferDataUPP;
typedef struct OpaqueSoundSource* SoundSource;
typedef SoundSource * SoundSourcePtr;
struct SoundComponentLink {
ComponentDescription description;
SoundSource mixerID;
SoundSource * linkID;
};
typedef struct SoundComponentLink SoundComponentLink;
typedef SoundComponentLink * SoundComponentLinkPtr;
struct AudioInfo {
long capabilitiesFlags;
long reserved;
unsigned short numVolumeSteps;
};
typedef struct AudioInfo AudioInfo;
typedef AudioInfo * AudioInfoPtr;
struct AudioFormatAtom {
long size;
OSType atomType;
OSType format;
};
typedef struct AudioFormatAtom AudioFormatAtom;
typedef AudioFormatAtom * AudioFormatAtomPtr;
struct AudioEndianAtom {
long size;
OSType atomType;
short littleEndian;
};
typedef struct AudioEndianAtom AudioEndianAtom;
typedef AudioEndianAtom * AudioEndianAtomPtr;
struct AudioTerminatorAtom {
long size;
OSType atomType;
};
typedef struct AudioTerminatorAtom AudioTerminatorAtom;
typedef AudioTerminatorAtom * AudioTerminatorAtomPtr;
struct LevelMeterInfo {
short numChannels;
UInt8 leftMeter;
UInt8 rightMeter;
};
typedef struct LevelMeterInfo LevelMeterInfo;
typedef LevelMeterInfo * LevelMeterInfoPtr;
struct EQSpectrumBandsRecord {
short count;
UnsignedFixedPtr frequency;
};
typedef struct EQSpectrumBandsRecord EQSpectrumBandsRecord;
typedef EQSpectrumBandsRecord * EQSpectrumBandsRecordPtr;
enum {
kSoundAudioCodecPropertyWritableFlag = 1L << 0
};
struct SoundAudioCodecPropertyRequestParams {
UInt32 propertyClass;
UInt32 propertyID;
UInt32 propertyDataSize;
void * propertyData;
UInt32 propertyRequestFlags;
UInt32 propertyDataType;
ComponentResult propertyRequestResult;
};
typedef struct SoundAudioCodecPropertyRequestParams SoundAudioCodecPropertyRequestParams;
typedef struct SPB SPB;
typedef SPB * SPBPtr;
typedef void ( * SIInterruptProcPtr)(SPBPtr inParamPtr, Ptr dataBuffer, short peakAmplitude, long sampleSize);
typedef void ( * SICompletionProcPtr)(SPBPtr inParamPtr);
typedef SIInterruptProcPtr SIInterruptUPP;
typedef SICompletionProcPtr SICompletionUPP;
struct SPB {
long inRefNum;
unsigned long count;
unsigned long milliseconds;
unsigned long bufferLength;
Ptr bufferPtr;
SICompletionUPP completionRoutine;
SIInterruptUPP interruptRoutine;
long userLong;
OSErr error;
long unused1;
};
# 1166 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern SoundParamUPP
NewSoundParamUPP(SoundParamProcPtr userRoutine) __attribute__((deprecated));
# 1177 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern SoundConverterFillBufferDataUPP
NewSoundConverterFillBufferDataUPP(SoundConverterFillBufferDataProcPtr userRoutine) __attribute__((deprecated));
# 1188 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern SIInterruptUPP
NewSIInterruptUPP(SIInterruptProcPtr userRoutine) __attribute__((deprecated));
# 1199 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern SICompletionUPP
NewSICompletionUPP(SICompletionProcPtr userRoutine) __attribute__((deprecated));
# 1210 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern void
DisposeSoundParamUPP(SoundParamUPP userUPP) __attribute__((deprecated));
# 1221 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern void
DisposeSoundConverterFillBufferDataUPP(SoundConverterFillBufferDataUPP userUPP) __attribute__((deprecated));
# 1232 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern void
DisposeSIInterruptUPP(SIInterruptUPP userUPP) __attribute__((deprecated));
# 1243 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern void
DisposeSICompletionUPP(SICompletionUPP userUPP) __attribute__((deprecated));
# 1254 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern Boolean
InvokeSoundParamUPP(
SoundParamBlockPtr * pb,
SoundParamUPP userUPP) __attribute__((deprecated));
# 1267 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern Boolean
InvokeSoundConverterFillBufferDataUPP(
SoundComponentDataPtr * data,
void * refCon,
SoundConverterFillBufferDataUPP userUPP) __attribute__((deprecated));
# 1281 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern void
InvokeSIInterruptUPP(
SPBPtr inParamPtr,
Ptr dataBuffer,
short peakAmplitude,
long sampleSize,
SIInterruptUPP userUPP) __attribute__((deprecated));
# 1297 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern void
InvokeSICompletionUPP(
SPBPtr inParamPtr,
SICompletionUPP userUPP) __attribute__((deprecated));
# 1317 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
#define NewSoundParamUPP(userRoutine) ((SoundParamUPP)userRoutine)
#define NewSoundConverterFillBufferDataUPP(userRoutine) ((SoundConverterFillBufferDataUPP)userRoutine)
#define NewSIInterruptUPP(userRoutine) ((SIInterruptUPP)userRoutine)
#define NewSICompletionUPP(userRoutine) ((SICompletionUPP)userRoutine)
#define DisposeSoundParamUPP(userUPP)
#define DisposeSoundConverterFillBufferDataUPP(userUPP)
#define DisposeSIInterruptUPP(userUPP)
#define DisposeSICompletionUPP(userUPP)
#define InvokeSoundParamUPP(pb,userUPP) (*userUPP)(pb)
#define InvokeSoundConverterFillBufferDataUPP(data,refCon,userUPP) (*userUPP)(data, refCon)
#define InvokeSIInterruptUPP(inParamPtr,dataBuffer,peakAmplitude,sampleSize,userUPP) (*userUPP)(inParamPtr, dataBuffer, peakAmplitude, sampleSize)
#define InvokeSICompletionUPP(inParamPtr,userUPP) (*userUPP)(inParamPtr)
typedef void ( * FilePlayCompletionProcPtr)(SndChannelPtr chan);
typedef FilePlayCompletionProcPtr FilePlayCompletionUPP;
# 1382 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern void
SysBeep(short duration) __attribute__((deprecated));
# 1394 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndDoCommand(
SndChannelPtr chan,
const SndCommand * cmd,
Boolean noWait) __attribute__((deprecated));
# 1409 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndDoImmediate(
SndChannelPtr chan,
const SndCommand * cmd) __attribute__((deprecated));
# 1423 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndNewChannel(
SndChannelPtr * chan,
short synth,
long init,
SndCallBackUPP userRoutine) __attribute__((deprecated));
# 1439 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndDisposeChannel(
SndChannelPtr chan,
Boolean quietNow) __attribute__((deprecated));
# 1453 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndPlay(
SndChannelPtr chan,
SndListHandle sndHandle,
Boolean async) __attribute__((deprecated));
# 1495 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern NumVersion
SndSoundManagerVersion(void) __attribute__((deprecated));
# 1540 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndChannelStatus(
SndChannelPtr chan,
short theLength,
SCStatusPtr theStatus) __attribute__((deprecated));
# 1555 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndManagerStatus(
short theLength,
SMStatusPtr theStatus) __attribute__((deprecated));
# 1573 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern void
SndGetSysBeepState(short * sysBeepState) __attribute__((deprecated));
# 1589 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndSetSysBeepState(short sysBeepState) __attribute__((deprecated));
# 1666 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
GetSysBeepVolume(long * level) __attribute__((deprecated));
# 1678 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SetSysBeepVolume(long level) __attribute__((deprecated));
# 1690 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
GetDefaultOutputVolume(long * level) __attribute__((deprecated));
# 1702 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SetDefaultOutputVolume(long level) __attribute__((deprecated));
# 1714 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
GetSoundHeaderOffset(
SndListHandle sndHandle,
long * offset) __attribute__((deprecated));
# 1730 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern UnsignedFixed
UnsignedFixedMulDiv(
UnsignedFixed value,
UnsignedFixed multiplier,
UnsignedFixed divisor);
# 1746 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
GetCompressionInfo(
short compressionID,
OSType format,
short numChannels,
short sampleSize,
CompressionInfoPtr cp) __attribute__((deprecated));
# 1763 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SetSoundPreference(
OSType theType,
Str255 name,
Handle settings) __attribute__((deprecated));
# 1778 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
GetSoundPreference(
OSType theType,
Str255 name,
Handle settings) __attribute__((deprecated));
# 1793 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
OpenMixerSoundComponent(
SoundComponentDataPtr outputDescription,
long outputFlags,
ComponentInstance * mixerComponent) __attribute__((deprecated));
# 1808 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
CloseMixerSoundComponent(ComponentInstance ci) __attribute__((deprecated));
# 1821 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndGetInfo(
SndChannelPtr chan,
OSType selector,
void * infoPtr) __attribute__((deprecated));
# 1836 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndSetInfo(
SndChannelPtr chan,
OSType selector,
const void * infoPtr) __attribute__((deprecated));
# 1851 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
GetSoundOutputInfo(
Component outputDevice,
OSType selector,
void * infoPtr) __attribute__((deprecated));
# 1866 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SetSoundOutputInfo(
Component outputDevice,
OSType selector,
const void * infoPtr) __attribute__((deprecated));
# 1882 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
GetCompressionName(
OSType compressionType,
Str255 compressionName) __attribute__((deprecated));
# 1896 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundConverterOpen(
const SoundComponentData * inputFormat,
const SoundComponentData * outputFormat,
SoundConverter * sc) __attribute__((deprecated));
# 1911 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundConverterClose(SoundConverter sc) __attribute__((deprecated));
# 1923 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundConverterGetBufferSizes(
SoundConverter sc,
unsigned long inputBytesTarget,
unsigned long * inputFrames,
unsigned long * inputBytes,
unsigned long * outputBytes) __attribute__((deprecated));
# 1940 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundConverterBeginConversion(SoundConverter sc) __attribute__((deprecated));
# 1952 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundConverterConvertBuffer(
SoundConverter sc,
const void * inputPtr,
unsigned long inputFrames,
void * outputPtr,
unsigned long * outputFrames,
unsigned long * outputBytes) __attribute__((deprecated));
# 1970 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundConverterEndConversion(
SoundConverter sc,
void * outputPtr,
unsigned long * outputFrames,
unsigned long * outputBytes) __attribute__((deprecated));
# 1987 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundConverterGetInfo(
SoundConverter sc,
OSType selector,
void * infoPtr) __attribute__((deprecated));
# 2002 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundConverterSetInfo(
SoundConverter sc,
OSType selector,
void * infoPtr) __attribute__((deprecated));
# 2018 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundConverterFillBuffer(
SoundConverter sc,
SoundConverterFillBufferDataUPP fillBufferDataUPP,
void * fillBufferDataRefCon,
void * outputBuffer,
unsigned long outputBufferByteSize,
unsigned long * bytesWritten,
unsigned long * framesWritten,
unsigned long * outputFlags) __attribute__((deprecated));
# 2038 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundManagerGetInfo(
OSType selector,
void * infoPtr) __attribute__((deprecated));
# 2052 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SoundManagerSetInfo(
OSType selector,
const void * infoPtr) __attribute__((deprecated));
# 2071 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentInitOutputDevice(
ComponentInstance ti,
long actions) __attribute__((deprecated));
# 2085 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentSetSource(
ComponentInstance ti,
SoundSource sourceID,
ComponentInstance source) __attribute__((deprecated));
# 2100 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentGetSource(
ComponentInstance ti,
SoundSource sourceID,
ComponentInstance * source) __attribute__((deprecated));
# 2115 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentGetSourceData(
ComponentInstance ti,
SoundComponentDataPtr * sourceData) __attribute__((deprecated));
# 2129 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentSetOutput(
ComponentInstance ti,
SoundComponentDataPtr requested,
SoundComponentDataPtr * actual) __attribute__((deprecated));
# 2145 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentAddSource(
ComponentInstance ti,
SoundSource * sourceID) __attribute__((deprecated));
# 2159 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentRemoveSource(
ComponentInstance ti,
SoundSource sourceID) __attribute__((deprecated));
# 2174 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentGetInfo(
ComponentInstance ti,
SoundSource sourceID,
OSType selector,
void * infoPtr) __attribute__((deprecated));
# 2190 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentSetInfo(
ComponentInstance ti,
SoundSource sourceID,
OSType selector,
void * infoPtr) __attribute__((deprecated));
# 2207 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentStartSource(
ComponentInstance ti,
short count,
SoundSource * sources) __attribute__((deprecated));
# 2222 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentStopSource(
ComponentInstance ti,
short count,
SoundSource * sources) __attribute__((deprecated));
# 2237 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentPauseSource(
ComponentInstance ti,
short count,
SoundSource * sources) __attribute__((deprecated));
# 2252 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SoundComponentPlaySourceBuffer(
ComponentInstance ti,
SoundSource sourceID,
SoundParamBlockPtr pb,
long actions) __attribute__((deprecated));
enum {
kSoundComponentInitOutputDeviceSelect = 0x0001,
kSoundComponentSetSourceSelect = 0x0002,
kSoundComponentGetSourceSelect = 0x0003,
kSoundComponentGetSourceDataSelect = 0x0004,
kSoundComponentSetOutputSelect = 0x0005,
kSoundComponentAddSourceSelect = 0x0101,
kSoundComponentRemoveSourceSelect = 0x0102,
kSoundComponentGetInfoSelect = 0x0103,
kSoundComponentSetInfoSelect = 0x0104,
kSoundComponentStartSourceSelect = 0x0105,
kSoundComponentStopSourceSelect = 0x0106,
kSoundComponentPauseSourceSelect = 0x0107,
kSoundComponentPlaySourceBufferSelect = 0x0108
};
# 2413 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
enum {
kDelegatedSoundComponentSelectors = 0x0100
};
# 2429 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern NumVersion
SPBVersion(void) __attribute__((deprecated));
# 2441 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SndRecord(
ModalFilterUPP filterProc,
Point corner,
OSType quality,
SndListHandle * sndHandle) __attribute__((deprecated));
# 2470 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBSignInDevice(
short deviceRefNum,
ConstStr255Param deviceName) __attribute__((deprecated));
# 2484 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBSignOutDevice(short deviceRefNum) __attribute__((deprecated));
# 2496 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBGetIndexedDevice(
short count,
Str255 deviceName,
Handle * deviceIconHandle) __attribute__((deprecated));
# 2511 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBOpenDevice(
ConstStr255Param deviceName,
short permission,
long * inRefNum) __attribute__((deprecated));
# 2526 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBCloseDevice(long inRefNum) __attribute__((deprecated));
# 2538 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBRecord(
SPBPtr inParamPtr,
Boolean asynchFlag) __attribute__((deprecated));
# 2565 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBPauseRecording(long inRefNum) __attribute__((deprecated));
# 2577 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBResumeRecording(long inRefNum) __attribute__((deprecated));
# 2589 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBStopRecording(long inRefNum) __attribute__((deprecated));
# 2601 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBGetRecordingStatus(
long inRefNum,
short * recordingStatus,
short * meterLevel,
unsigned long * totalSamplesToRecord,
unsigned long * numberOfSamplesRecorded,
unsigned long * totalMsecsToRecord,
unsigned long * numberOfMsecsRecorded) __attribute__((deprecated));
# 2620 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBGetDeviceInfo(
long inRefNum,
OSType infoType,
void * infoData) __attribute__((deprecated));
# 2635 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBSetDeviceInfo(
long inRefNum,
OSType infoType,
void * infoData) __attribute__((deprecated));
# 2650 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBMillisecondsToBytes(
long inRefNum,
long * milliseconds) __attribute__((deprecated));
# 2664 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SPBBytesToMilliseconds(
long inRefNum,
long * byteCount) __attribute__((deprecated));
# 2678 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SetupSndHeader(
SndListHandle sndHandle,
short numChannels,
UnsignedFixed sampleRate,
short sampleSize,
OSType compressionType,
short baseNote,
unsigned long numBytes,
short * headerLen) __attribute__((deprecated));
# 2698 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
SetupAIFFHeader(
short fRefNum,
short numChannels,
UnsignedFixed sampleRate,
short sampleSize,
OSType compressionType,
unsigned long numBytes,
unsigned long numFrames) __attribute__((deprecated));
# 2718 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
ParseAIFFHeader(
short fRefNum,
SoundComponentData * sndInfo,
unsigned long * numFrames,
unsigned long * dataOffset) __attribute__((deprecated));
# 2734 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern OSErr
ParseSndHeader(
SndListHandle sndHandle,
SoundComponentData * sndInfo,
unsigned long * numFrames,
unsigned long * dataOffset) __attribute__((deprecated));
# 2754 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
typedef struct SndInputCmpParam SndInputCmpParam;
typedef SndInputCmpParam * SndInputCmpParamPtr;
typedef void ( * SICCompletionProcPtr)(SndInputCmpParamPtr SICParmPtr);
struct SndInputCmpParam {
SICCompletionProcPtr ioCompletion;
SIInterruptProcPtr ioInterrupt;
OSErr ioResult;
short pad;
unsigned long ioReqCount;
unsigned long ioActCount;
Ptr ioBuffer;
Ptr ioMisc;
};
# 2777 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SndInputReadAsync(
ComponentInstance self,
SndInputCmpParamPtr SICParmPtr) __attribute__((deprecated));
# 2791 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SndInputReadSync(
ComponentInstance self,
SndInputCmpParamPtr SICParmPtr) __attribute__((deprecated));
# 2805 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SndInputPauseRecording(ComponentInstance self) __attribute__((deprecated));
# 2817 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SndInputResumeRecording(ComponentInstance self) __attribute__((deprecated));
# 2829 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SndInputStopRecording(ComponentInstance self) __attribute__((deprecated));
# 2841 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SndInputGetStatus(
ComponentInstance self,
short * recordingStatus,
unsigned long * totalSamplesToRecord,
unsigned long * numberOfSamplesRecorded) __attribute__((deprecated));
# 2857 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SndInputGetDeviceInfo(
ComponentInstance self,
OSType infoType,
void * infoData) __attribute__((deprecated));
# 2872 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SndInputSetDeviceInfo(
ComponentInstance self,
OSType infoType,
void * infoData) __attribute__((deprecated));
# 2887 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Sound.h" 3
extern ComponentResult
SndInputInitHardware(ComponentInstance self) __attribute__((deprecated));
enum {
kSndInputReadAsyncSelect = 0x0001,
kSndInputReadSyncSelect = 0x0002,
kSndInputPauseRecordingSelect = 0x0003,
kSndInputResumeRecordingSelect = 0x0004,
kSndInputStopRecordingSelect = 0x0005,
kSndInputGetStatusSelect = 0x0006,
kSndInputGetDeviceInfoSelect = 0x0007,
kSndInputSetDeviceInfoSelect = 0x0008,
kSndInputInitHardwareSelect = 0x0009
};
#pragma pack(pop)
# 31 "/System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/CarbonSound.h" 2 3
# 35 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 3
#define __OPENSCRIPTING__
# 30 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
#define __OSA__
# 46 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAComponentType = 'osa '
};
enum {
kOSAGenericScriptingComponentSubtype = 'scpt'
};
enum {
kOSAFileType = 'osas'
};
enum {
kOSASuite = 'ascr'
};
enum {
kOSARecordedText = 'recd'
};
enum {
kOSAScriptIsModified = 'modi'
};
enum {
kOSAScriptIsTypeCompiledScript = 'cscr'
};
enum {
kOSAScriptIsTypeScriptValue = 'valu'
};
enum {
kOSAScriptIsTypeScriptContext = 'cntx'
};
enum {
kOSAScriptBestType = 'best'
};
enum {
kOSACanGetSource = 'gsrc'
};
enum {
typeOSADialectInfo = 'difo',
keyOSADialectName = 'dnam',
keyOSADialectCode = 'dcod',
keyOSADialectLangCode = 'dlcd',
keyOSADialectScriptCode = 'dscd'
};
typedef ComponentResult OSAError;
typedef UInt32 OSAID;
enum {
kOSANullScript = 0
};
enum {
kOSANullMode = 0,
kOSAModeNull = 0
};
typedef OSErr ( * OSACreateAppleEventProcPtr)(AEEventClass theAEEventClass, AEEventID theAEEventID, const AEAddressDesc *target, short returnID, SInt32 transactionID, AppleEvent *result, SRefCon refCon);
typedef OSErr ( * OSASendProcPtr)(const AppleEvent *theAppleEvent, AppleEvent *reply, AESendMode sendMode, AESendPriority sendPriority, SInt32 timeOutInTicks, AEIdleUPP idleProc, AEFilterUPP filterProc, SRefCon refCon);
typedef OSACreateAppleEventProcPtr OSACreateAppleEventUPP;
typedef OSASendProcPtr OSASendUPP;
# 157 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSACreateAppleEventUPP
NewOSACreateAppleEventUPP(OSACreateAppleEventProcPtr userRoutine) ;
# 168 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSASendUPP
NewOSASendUPP(OSASendProcPtr userRoutine) ;
# 179 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern void
DisposeOSACreateAppleEventUPP(OSACreateAppleEventUPP userUPP) ;
# 190 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern void
DisposeOSASendUPP(OSASendUPP userUPP) ;
# 201 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSErr
InvokeOSACreateAppleEventUPP(
AEEventClass theAEEventClass,
AEEventID theAEEventID,
const AEAddressDesc * target,
short returnID,
SInt32 transactionID,
AppleEvent * result,
SRefCon refCon,
OSACreateAppleEventUPP userUPP) ;
# 220 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSErr
InvokeOSASendUPP(
const AppleEvent * theAppleEvent,
AppleEvent * reply,
AESendMode sendMode,
AESendPriority sendPriority,
SInt32 timeOutInTicks,
AEIdleUPP idleProc,
AEFilterUPP filterProc,
SRefCon refCon,
OSASendUPP userUPP) ;
# 241 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
#define NewOSACreateAppleEventUPP(userRoutine) ((OSACreateAppleEventUPP)userRoutine)
#define NewOSASendUPP(userRoutine) ((OSASendUPP)userRoutine)
#define DisposeOSACreateAppleEventUPP(userUPP)
#define DisposeOSASendUPP(userUPP)
#define InvokeOSACreateAppleEventUPP(theAEEventClass,theAEEventID,target,returnID,transactionID,result,refCon,userUPP) (*userUPP)(theAEEventClass, theAEEventID, target, returnID, transactionID, result, refCon)
#define InvokeOSASendUPP(theAppleEvent,reply,sendMode,sendPriority,timeOutInTicks,idleProc,filterProc,refCon,userUPP) (*userUPP)(theAppleEvent, reply, sendMode, sendPriority, timeOutInTicks, idleProc, filterProc, refCon)
# 262 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSASupportsCompiling = 0x0002,
kOSASupportsGetSource = 0x0004,
kOSASupportsAECoercion = 0x0008,
kOSASupportsAESending = 0x0010,
kOSASupportsRecording = 0x0020,
kOSASupportsConvenience = 0x0040,
kOSASupportsDialects = 0x0080,
kOSASupportsEventHandling = 0x0100
};
enum {
kOSASelectLoad = 0x0001,
kOSASelectStore = 0x0002,
kOSASelectExecute = 0x0003,
kOSASelectDisplay = 0x0004,
kOSASelectScriptError = 0x0005,
kOSASelectDispose = 0x0006,
kOSASelectSetScriptInfo = 0x0007,
kOSASelectGetScriptInfo = 0x0008,
kOSASelectSetActiveProc = 0x0009,
kOSASelectGetActiveProc = 0x000A,
kOSASelectCopyDisplayString = 0x000B
};
enum {
kOSASelectScriptingComponentName = 0x0102,
kOSASelectCompile = 0x0103,
kOSASelectCopyID = 0x0104
};
enum {
kOSASelectCopyScript = 0x0105
};
enum {
kOSASelectGetSource = 0x0201,
kOSASelectCopySourceString = 0x0202
};
enum {
kOSASelectCoerceFromDesc = 0x0301,
kOSASelectCoerceToDesc = 0x0302
};
enum {
kOSASelectSetSendProc = 0x0401,
kOSASelectGetSendProc = 0x0402,
kOSASelectSetCreateProc = 0x0403,
kOSASelectGetCreateProc = 0x0404,
kOSASelectSetDefaultTarget = 0x0405
};
enum {
kOSASelectStartRecording = 0x0501,
kOSASelectStopRecording = 0x0502
};
enum {
kOSASelectLoadExecute = 0x0601,
kOSASelectCompileExecute = 0x0602,
kOSASelectDoScript = 0x0603
};
enum {
kOSASelectSetCurrentDialect = 0x0701,
kOSASelectGetCurrentDialect = 0x0702,
kOSASelectAvailableDialects = 0x0703,
kOSASelectGetDialectInfo = 0x0704,
kOSASelectAvailableDialectCodeList = 0x0705
};
enum {
kOSASelectSetResumeDispatchProc = 0x0801,
kOSASelectGetResumeDispatchProc = 0x0802,
kOSASelectExecuteEvent = 0x0803,
kOSASelectDoEvent = 0x0804,
kOSASelectMakeContext = 0x0805
};
enum {
kOSASelectComponentSpecificStart = 0x1001
};
# 373 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModePreventGetSource = 0x00000001
};
# 384 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeNeverInteract = kAENeverInteract,
kOSAModeCanInteract = kAECanInteract,
kOSAModeAlwaysInteract = kAEAlwaysInteract,
kOSAModeDontReconnect = kAEDontReconnect
};
# 402 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeCantSwitchLayer = 0x00000040
};
# 416 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeDoRecord = 0x00001000
};
# 427 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeCompileIntoContext = 0x00000002
};
# 440 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeAugmentContext = 0x00000004
};
enum {
kOSAModeDisplayForHumans = 0x00000008
};
enum {
kOSAModeDontStoreParent = 0x00010000
};
# 472 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeDispatchToDirectObject = 0x00020000
};
enum {
kOSAModeDontGetDataForArguments = 0x00040000
};
enum {
kOSAModeFullyQualifyDescriptors = 0x00080000
};
# 505 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAScriptResourceType = kOSAGenericScriptingComponentSubtype
};
enum {
typeOSAGenericStorage = kOSAScriptResourceType
};
# 525 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSALoad(
ComponentInstance scriptingComponent,
const AEDesc * scriptData,
SInt32 modeFlags,
OSAID * resultingScriptID) ;
# 555 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAStore(
ComponentInstance scriptingComponent,
OSAID scriptID,
DescType desiredType,
SInt32 modeFlags,
AEDesc * resultingScriptData) ;
# 586 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAExecute(
ComponentInstance scriptingComponent,
OSAID compiledScriptID,
OSAID contextID,
SInt32 modeFlags,
OSAID * resultingScriptValueID) ;
# 629 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSADisplay(
ComponentInstance scriptingComponent,
OSAID scriptValueID,
DescType desiredType,
SInt32 modeFlags,
AEDesc * resultingText) ;
# 671 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACopyDisplayString(
ComponentInstance scriptingComponent,
OSAID scriptID,
SInt32 modeFlags,
CFAttributedStringRef * result) ;
# 688 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAScriptError(
ComponentInstance scriptingComponent,
OSType selector,
DescType desiredType,
AEDesc * resultingErrorDescription) ;
# 718 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorNumber = keyErrorNumber
};
# 731 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorMessage = keyErrorString
};
# 745 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorBriefMessage = 'errb'
};
# 758 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorApp = 'erap'
};
# 770 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorPartialResult = 'ptlr'
};
# 782 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorOffendingObject = 'erob'
};
enum {
kOSAErrorExpectedType = 'errt'
};
# 802 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorRange = 'erng'
};
enum {
typeOSAErrorRange = 'erng'
};
enum {
keyOSASourceStart = 'srcs'
};
enum {
keyOSASourceEnd = 'srce'
};
# 836 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSADispose(
ComponentInstance scriptingComponent,
OSAID scriptID) ;
# 860 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetScriptInfo(
ComponentInstance scriptingComponent,
OSAID scriptID,
OSType selector,
long value) ;
# 886 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetScriptInfo(
ComponentInstance scriptingComponent,
OSAID scriptID,
OSType selector,
long * result) ;
# 909 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
typedef OSErr ( * OSAActiveProcPtr)(SRefCon refCon);
typedef OSAActiveProcPtr OSAActiveUPP;
# 919 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAActiveUPP
NewOSAActiveUPP(OSAActiveProcPtr userRoutine) ;
# 930 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern void
DisposeOSAActiveUPP(OSAActiveUPP userUPP) ;
# 941 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSErr
InvokeOSAActiveUPP(
SRefCon refCon,
OSAActiveUPP userUPP) ;
#define NewOSAActiveUPP(userRoutine) ((OSAActiveUPP)userRoutine)
#define DisposeOSAActiveUPP(userUPP)
#define InvokeOSAActiveUPP(refCon,userUPP) (*userUPP)(refCon)
# 966 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetActiveProc(
ComponentInstance scriptingComponent,
OSAActiveUPP activeProc,
SRefCon refCon) ;
# 989 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetActiveProc(
ComponentInstance scriptingComponent,
OSAActiveUPP * activeProc,
SRefCon * refCon) ;
# 1017 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAScriptingComponentName(
ComponentInstance scriptingComponent,
AEDesc * resultingScriptingComponentName) ;
# 1043 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACompile(
ComponentInstance scriptingComponent,
const AEDesc * sourceData,
SInt32 modeFlags,
OSAID * previousAndResultingScriptID) ;
# 1087 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACopyID(
ComponentInstance scriptingComponent,
OSAID fromID,
OSAID * toID) ;
# 1139 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetSource(
ComponentInstance scriptingComponent,
OSAID scriptID,
DescType desiredType,
AEDesc * resultingSourceData) ;
# 1171 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACopySourceString(
ComponentInstance scriptingComponent,
OSAID scriptID,
SInt32 modeFlags,
CFAttributedStringRef * result) ;
# 1193 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACoerceFromDesc(
ComponentInstance scriptingComponent,
const AEDesc * scriptData,
SInt32 modeFlags,
OSAID * resultingScriptID) ;
# 1230 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACoerceToDesc(
ComponentInstance scriptingComponent,
OSAID scriptID,
DescType desiredType,
SInt32 modeFlags,
AEDesc * result) ;
# 1268 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetSendProc(
ComponentInstance scriptingComponent,
OSASendUPP sendProc,
SRefCon refCon) ;
# 1291 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetSendProc(
ComponentInstance scriptingComponent,
OSASendUPP * sendProc,
SRefCon * refCon) ;
# 1313 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetCreateProc(
ComponentInstance scriptingComponent,
OSACreateAppleEventUPP createProc,
SRefCon refCon) ;
# 1336 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetCreateProc(
ComponentInstance scriptingComponent,
OSACreateAppleEventUPP * createProc,
SRefCon * refCon) ;
# 1358 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetDefaultTarget(
ComponentInstance scriptingComponent,
const AEAddressDesc * target) ;
# 1390 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAStartRecording(
ComponentInstance scriptingComponent,
OSAID * compiledScriptToModifyID) ;
# 1418 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAStopRecording(
ComponentInstance scriptingComponent,
OSAID compiledScriptID) ;
# 1448 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSALoadExecute(
ComponentInstance scriptingComponent,
const AEDesc * scriptData,
OSAID contextID,
SInt32 modeFlags,
OSAID * resultingScriptValueID) ;
# 1489 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACompileExecute(
ComponentInstance scriptingComponent,
const AEDesc * sourceData,
OSAID contextID,
SInt32 modeFlags,
OSAID * resultingScriptValueID) ;
# 1529 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSADoScript(
ComponentInstance scriptingComponent,
const AEDesc * sourceData,
OSAID contextID,
DescType desiredType,
SInt32 modeFlags,
AEDesc * resultingText) ;
# 1587 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetCurrentDialect(
ComponentInstance scriptingComponent,
short dialectCode) ;
# 1609 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetCurrentDialect(
ComponentInstance scriptingComponent,
short * resultingDialectCode) ;
# 1630 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAAvailableDialects(
ComponentInstance scriptingComponent,
AEDesc * resultingDialectInfoList) ;
# 1656 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetDialectInfo(
ComponentInstance scriptingComponent,
short dialectCode,
OSType selector,
AEDesc * resultingDialectInfo) ;
# 1686 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAAvailableDialectCodeList(
ComponentInstance scriptingComponent,
AEDesc * resultingDialectCodeList) ;
# 1728 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetResumeDispatchProc(
ComponentInstance scriptingComponent,
AEEventHandlerUPP resumeDispatchProc,
SRefCon refCon) ;
# 1749 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAUseStandardDispatch = kAEUseStandardDispatch
};
# 1763 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSANoDispatch = kAENoDispatch
};
# 1776 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSADontUsePhac = 0x0001
};
# 1797 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetResumeDispatchProc(
ComponentInstance scriptingComponent,
AEEventHandlerUPP * resumeDispatchProc,
SRefCon * refCon) ;
# 1821 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAExecuteEvent(
ComponentInstance scriptingComponent,
const AppleEvent * theAppleEvent,
OSAID contextID,
SInt32 modeFlags,
OSAID * resultingScriptValueID) ;
# 1864 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSADoEvent(
ComponentInstance scriptingComponent,
const AppleEvent * theAppleEvent,
OSAID contextID,
SInt32 modeFlags,
AppleEvent * reply) ;
# 1911 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAMakeContext(
ComponentInstance scriptingComponent,
const AEDesc * contextName,
OSAID parentContext,
OSAID * resultingContextID) ;
# 1945 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSALoadFile(
ComponentInstance scriptingComponent,
const FSRef * scriptFile,
Boolean * storable,
SInt32 modeFlags,
OSAID * resultingScriptID) ;
# 1974 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAStoreFile(
ComponentInstance scriptingComponent,
OSAID scriptID,
DescType desiredType,
SInt32 modeFlags,
const FSRef * scriptFile) ;
# 2000 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSALoadExecuteFile(
ComponentInstance scriptingComponent,
const FSRef * scriptFile,
OSAID contextID,
SInt32 modeFlags,
OSAID * resultingScriptValueID) ;
# 2028 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSADoScriptFile(
ComponentInstance scriptingComponent,
const FSRef * scriptFile,
OSAID contextID,
DescType desiredType,
SInt32 modeFlags,
AEDesc * resultingText) ;
# 31 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAComp.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAComp.h" 3
#define __OSACOMP__
# 48 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAComp.h" 3
extern OSErr
OSAGetStorageType(
AEDataStorage scriptData,
DescType * dscType) ;
# 62 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAComp.h" 3
extern OSErr
OSAAddStorageType(
AEDataStorage scriptData,
DescType dscType) ;
# 76 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAComp.h" 3
extern OSErr
OSARemoveStorageType(AEDataStorage scriptData) ;
# 35 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
#define __OSAGENERIC__
# 48 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
enum {
kGenericComponentVersion = 0x0100
};
enum {
kGSSSelectGetDefaultScriptingComponent = 0x1001,
kGSSSelectSetDefaultScriptingComponent = 0x1002,
kGSSSelectGetScriptingComponent = 0x1003,
kGSSSelectGetScriptingComponentFromStored = 0x1004,
kGSSSelectGenericToRealID = 0x1005,
kGSSSelectRealToGenericID = 0x1006,
kGSSSelectOutOfRange = 0x1007
};
typedef OSType ScriptingComponentSelector;
typedef OSAID GenericID;
# 74 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSAGetDefaultScriptingComponent(
ComponentInstance genericScriptingComponent,
ScriptingComponentSelector * scriptingSubType) ;
# 88 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSASetDefaultScriptingComponent(
ComponentInstance genericScriptingComponent,
ScriptingComponentSelector scriptingSubType) ;
# 103 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSAGetScriptingComponent(
ComponentInstance genericScriptingComponent,
ScriptingComponentSelector scriptingSubType,
ComponentInstance * scriptingInstance) ;
# 119 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSAGetScriptingComponentFromStored(
ComponentInstance genericScriptingComponent,
const AEDesc * scriptData,
ScriptingComponentSelector * scriptingSubType) ;
# 135 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSAGenericToRealID(
ComponentInstance genericScriptingComponent,
OSAID * theScriptID,
ComponentInstance * theExactComponent) ;
# 151 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSARealToGenericID(
ComponentInstance genericScriptingComponent,
OSAID * theScriptID,
ComponentInstance theExactComponent) ;
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
#define __APPLESCRIPT__
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
enum {
typeAppleScript = 'ascr',
kAppleScriptSubtype = typeAppleScript,
typeASStorage = typeAppleScript
};
enum {
kASSelectInit = 0x1001,
kASSelectSetSourceStyles = 0x1002,
kASSelectGetSourceStyles = 0x1003,
kASSelectGetSourceStyleNames = 0x1004,
kASSelectCopySourceAttributes = 0x1005,
kASSelectSetSourceAttributes = 0x1006
};
enum {
kASHasOpenHandler = 'hsod'
};
# 95 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASInit(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
UInt32 minStackSize,
UInt32 preferredStackSize,
UInt32 maxStackSize,
UInt32 minHeapSize,
UInt32 preferredHeapSize,
UInt32 maxHeapSize) ;
# 122 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
enum {
kASDefaultMinStackSize = 4 * 1024,
kASDefaultPreferredStackSize = 16 * 1024,
kASDefaultMaxStackSize = 16 * 1024,
kASDefaultMinHeapSize = 4 * 1024,
kASDefaultPreferredHeapSize = 16 * 1024,
kASDefaultMaxHeapSize = 32L * 1024 * 1024
};
# 145 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASSetSourceStyles(
ComponentInstance scriptingComponent,
STHandle sourceStyles) __attribute__((deprecated));
# 162 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASGetSourceStyles(
ComponentInstance scriptingComponent,
STHandle * resultingSourceStyles) __attribute__((deprecated));
# 197 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASCopySourceAttributes(
ComponentInstance scriptingComponent,
CFArrayRef * resultingSourceAttributes) ;
# 232 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASSetSourceAttributes(
ComponentInstance scriptingComponent,
CFArrayRef sourceAttributes) ;
# 256 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASGetSourceStyleNames(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
AEDescList * resultingSourceStyleNamesList) ;
enum {
kASSourceStyleUncompiledText = 0,
kASSourceStyleNormalText = 1,
kASSourceStyleLanguageKeyword = 2,
kASSourceStyleApplicationKeyword = 3,
kASSourceStyleComment = 4,
kASSourceStyleLiteral = 5,
kASSourceStyleUserSymbol = 6,
kASSourceStyleObjectSpecifier = 7,
kASNumberOfSourceStyles = 8
};
# 43 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
#define __ASDEBUGGING__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
enum {
kOSAModeDontDefine = 0x0001
};
enum {
kASSelectSetPropertyObsolete = 0x1101,
kASSelectGetPropertyObsolete = 0x1102,
kASSelectSetHandlerObsolete = 0x1103,
kASSelectGetHandlerObsolete = 0x1104,
kASSelectGetAppTerminologyObsolete = 0x1105,
kASSelectSetProperty = 0x1106,
kASSelectGetProperty = 0x1107,
kASSelectSetHandler = 0x1108,
kASSelectGetHandler = 0x1109,
kASSelectGetAppTerminology = 0x110A,
kASSelectGetSysTerminology = 0x110B,
kASSelectGetPropertyNames = 0x110C,
kASSelectGetHandlerNames = 0x110D
};
# 81 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSASetProperty(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
const AEDesc * variableName,
OSAID scriptValueID) ;
# 98 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetProperty(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
const AEDesc * variableName,
OSAID * resultingScriptValueID) ;
# 115 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetPropertyNames(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
AEDescList * resultingPropertyNames) ;
# 131 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSASetHandler(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
const AEDesc * handlerName,
OSAID compiledScriptID) ;
# 148 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetHandler(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
const AEDesc * handlerName,
OSAID * resultingCompiledScriptID) ;
# 165 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetHandlerNames(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
AEDescList * resultingHandlerNames) ;
# 185 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetAppTerminology(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
FSSpec * fileSpec,
short terminologyID,
Boolean * didLaunch,
AEDesc * terminologyList) __attribute__((deprecated));
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetSysTerminology(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
short terminologyID,
AEDesc * terminologyList) ;
# 241 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSACopyScriptingDefinition(
const FSRef * ref,
SInt32 modeFlags,
CFDataRef * sdef) ;
# 261 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
ASSetProperty(
ComponentInstance scriptingComponent,
OSAID contextID,
const AEDesc * variableName,
OSAID scriptValueID) ;
# 277 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
ASGetProperty(
ComponentInstance scriptingComponent,
OSAID contextID,
const AEDesc * variableName,
OSAID * resultingScriptValueID) ;
# 293 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
ASSetHandler(
ComponentInstance scriptingComponent,
OSAID contextID,
const AEDesc * handlerName,
OSAID compiledScriptID) ;
# 309 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
ASGetHandler(
ComponentInstance scriptingComponent,
OSAID contextID,
const AEDesc * handlerName,
OSAID * resultingCompiledScriptID) ;
# 325 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
ASGetAppTerminology(
ComponentInstance scriptingComponent,
FSSpec * fileSpec,
short terminologID,
Boolean * didLaunch,
AEDesc * terminologyList) ;
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASRegistry.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASRegistry.h" 3
#define __ASREGISTRY__
# 31 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASRegistry.h" 3
enum {
keyAETarget = 'targ',
keySubjectAttr = 'subj',
keyASReturning = 'Krtn',
kASAppleScriptSuite = 'ascr',
kASScriptEditorSuite = 'ToyS',
kASTypeNamesSuite = 'tpnm',
typeAETE = 'aete',
typeAEUT = 'aeut',
kGetAETE = 'gdte',
kGetAEUT = 'gdut',
kUpdateAEUT = 'udut',
kUpdateAETE = 'udte',
kCleanUpAEUT = 'cdut',
kASComment = 'cmnt',
kASLaunchEvent = 'noop',
keyScszResource = 'scsz',
typeScszResource = 'scsz',
kASSubroutineEvent = 'psbr',
keyASSubroutineName = 'snam',
kASPrepositionalSubroutine = 'psbr',
keyASPositionalArgs = 'parg'
};
enum {
keyAppHandledCoercion = 'idas'
};
enum {
kASStartLogEvent = 'log1',
kASStopLogEvent = 'log0',
kASCommentEvent = 'cmnt'
};
enum {
kASAdd = '+ ',
kASSubtract = '- ',
kASMultiply = '* ',
kASDivide = '/ ',
kASQuotient = 'div ',
kASRemainder = 'mod ',
kASPower = '^ ',
kASEqual = kAEEquals,
kASNotEqual = (long)0xAD202020,
kASGreaterThan = kAEGreaterThan,
kASGreaterThanOrEqual = kAEGreaterThanEquals,
kASLessThan = kAELessThan,
kASLessThanOrEqual = kAELessThanEquals,
kASComesBefore = 'cbfr',
kASComesAfter = 'cafr',
kASConcatenate = 'ccat',
kASStartsWith = kAEBeginsWith,
kASEndsWith = kAEEndsWith,
kASContains = kAEContains
};
enum {
kASAnd = kAEAND,
kASOr = kAEOR,
kASNot = kAENOT,
kASNegate = 'neg ',
keyASArg = 'arg '
};
enum {
kASErrorEventCode = 'err ',
kOSAErrorArgs = 'erra',
keyAEErrorObject = 'erob',
pLength = 'leng',
pReverse = 'rvse',
pRest = 'rest',
pInherits = 'c@#^',
pProperties = 'pALL',
keyASUserRecordFields = 'usrf',
typeUserRecordFields = typeAEList
};
enum {
keyASPrepositionAt = 'at ',
keyASPrepositionIn = 'in ',
keyASPrepositionFrom = 'from',
keyASPrepositionFor = 'for ',
keyASPrepositionTo = 'to ',
keyASPrepositionThru = 'thru',
keyASPrepositionThrough = 'thgh',
keyASPrepositionBy = 'by ',
keyASPrepositionOn = 'on ',
keyASPrepositionInto = 'into',
keyASPrepositionOnto = 'onto',
keyASPrepositionBetween = 'btwn',
keyASPrepositionAgainst = 'agst',
keyASPrepositionOutOf = 'outo',
keyASPrepositionInsteadOf = 'isto',
keyASPrepositionAsideFrom = 'asdf',
keyASPrepositionAround = 'arnd',
keyASPrepositionBeside = 'bsid',
keyASPrepositionBeneath = 'bnth',
keyASPrepositionUnder = 'undr'
};
enum {
keyASPrepositionOver = 'over',
keyASPrepositionAbove = 'abve',
keyASPrepositionBelow = 'belw',
keyASPrepositionApartFrom = 'aprt',
keyASPrepositionGiven = 'givn',
keyASPrepositionWith = 'with',
keyASPrepositionWithout = 'wout',
keyASPrepositionAbout = 'abou',
keyASPrepositionSince = 'snce',
keyASPrepositionUntil = 'till'
};
enum {
kDialectBundleResType = 'Dbdl',
cConstant = typeEnumerated,
cClassIdentifier = pClass,
cObjectBeingExamined = typeObjectBeingExamined,
cList = typeAEList,
cSmallReal = typeIEEE32BitFloatingPoint,
cReal = typeIEEE64BitFloatingPoint,
cRecord = typeAERecord,
cReference = cObjectSpecifier,
cUndefined = 'undf',
cMissingValue = 'msng',
cSymbol = 'symb',
cLinkedList = 'llst',
cVector = 'vect',
cEventIdentifier = 'evnt',
cKeyIdentifier = 'kyid',
cUserIdentifier = 'uid ',
cPreposition = 'prep',
cKeyForm = enumKeyForm,
cScript = 'scpt',
cHandler = 'hand',
cProcedure = 'proc'
};
enum {
cHandleBreakpoint = 'brak'
};
enum {
cClosure = 'clsr',
cRawData = 'rdat',
cStringClass = typeChar,
cNumber = 'nmbr',
cListElement = 'celm',
cListOrRecord = 'lr ',
cListOrString = 'ls ',
cListRecordOrString = 'lrs ',
cNumberOrString = 'ns ',
cNumberOrDateTime = 'nd ',
cNumberDateTimeOrString = 'nds ',
cAliasOrString = 'sf ',
cSeconds = 'scnd',
typeSound = 'snd ',
enumBooleanValues = 'boov',
kAETrue = typeTrue,
kAEFalse = typeFalse,
enumMiscValues = 'misc',
kASCurrentApplication = 'cura',
formUserPropertyID = 'usrp'
};
enum {
cString = cStringClass
};
enum {
pASIt = 'it ',
pASMe = 'me ',
pASResult = 'rslt',
pASSpace = 'spac',
pASReturn = 'ret ',
pASTab = 'tab ',
pASPi = 'pi ',
pASParent = 'pare',
kASInitializeEventCode = 'init',
pASPrintLength = 'prln',
pASPrintDepth = 'prdp',
pASTopLevelScript = 'ascr'
};
enum {
kAECase = 'case',
kAEDiacritic = 'diac',
kAEWhiteSpace = 'whit',
kAEHyphens = 'hyph',
kAEExpansion = 'expa',
kAEPunctuation = 'punc',
kAEZenkakuHankaku = 'zkhk',
kAESmallKana = 'skna',
kAEKataHiragana = 'hika',
kASConsiderReplies = 'rmte',
kASNumericStrings = 'nume',
enumConsiderations = 'cons'
};
enum {
kAECaseConsiderMask = 0x00000001,
kAEDiacriticConsiderMask = 0x00000002,
kAEWhiteSpaceConsiderMask = 0x00000004,
kAEHyphensConsiderMask = 0x00000008,
kAEExpansionConsiderMask = 0x00000010,
kAEPunctuationConsiderMask = 0x00000020,
kASConsiderRepliesConsiderMask = 0x00000040,
kASNumericStringsConsiderMask = 0x00000080,
kAECaseIgnoreMask = 0x00010000,
kAEDiacriticIgnoreMask = 0x00020000,
kAEWhiteSpaceIgnoreMask = 0x00040000,
kAEHyphensIgnoreMask = 0x00080000,
kAEExpansionIgnoreMask = 0x00100000,
kAEPunctuationIgnoreMask = 0x00200000,
kASConsiderRepliesIgnoreMask = 0x00400000,
kASNumericStringsIgnoreMask = 0x00800000,
enumConsidsAndIgnores = 'csig'
};
enum {
cCoercion = 'coec',
cCoerceUpperCase = 'txup',
cCoerceLowerCase = 'txlo',
cCoerceRemoveDiacriticals = 'txdc',
cCoerceRemovePunctuation = 'txpc',
cCoerceRemoveHyphens = 'txhy',
cCoerceOneByteToTwoByte = 'txex',
cCoerceRemoveWhiteSpace = 'txws',
cCoerceSmallKana = 'txsk',
cCoerceZenkakuhankaku = 'txze',
cCoerceKataHiragana = 'txkh',
cZone = 'zone',
cMachine = 'mach',
cAddress = 'addr',
cRunningAddress = 'radd',
cStorage = 'stor'
};
enum {
pASWeekday = 'wkdy',
pASMonth = 'mnth',
pASDay = 'day ',
pASYear = 'year',
pASTime = 'time',
pASDateString = 'dstr',
pASTimeString = 'tstr',
cMonth = pASMonth,
cJanuary = 'jan ',
cFebruary = 'feb ',
cMarch = 'mar ',
cApril = 'apr ',
cMay = 'may ',
cJune = 'jun ',
cJuly = 'jul ',
cAugust = 'aug ',
cSeptember = 'sep ',
cOctober = 'oct ',
cNovember = 'nov ',
cDecember = 'dec '
};
enum {
cWeekday = pASWeekday,
cSunday = 'sun ',
cMonday = 'mon ',
cTuesday = 'tue ',
cWednesday = 'wed ',
cThursday = 'thu ',
cFriday = 'fri ',
cSaturday = 'sat ',
pASQuote = 'quot',
pASSeconds = 'secs',
pASMinutes = 'min ',
pASHours = 'hour',
pASDays = 'days',
pASWeeks = 'week',
cWritingCodeInfo = 'citl',
pScriptCode = 'pscd',
pLangCode = 'plcd',
kASMagicTellEvent = 'tell',
kASMagicEndTellEvent = 'tend'
};
# 51 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
#define __FINDERREGISTRY__
# 46 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
kAEFinderSuite = 'fndr'
};
enum {
kAECleanUp = 'fclu',
kAEEject = 'ejct',
kAEEmpty = 'empt',
kAEErase = 'fera',
kAEGestalt = 'gstl',
kAEPutAway = 'ptwy',
kAERebuildDesktopDB = 'rddb',
kAESync = 'fupd',
kAEInterceptOpen = 'fopn'
};
enum {
kAEDatabaseSuite = 'DATA',
kAESort = 'SORT'
};
# 81 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
cInternalFinderObject = 'obj '
};
enum {
cAliasFile = 'alia',
cApplicationFile = 'appf',
cControlPanelFile = 'ccdv',
cDeskAccessoryFile = 'dafi',
cDocumentFile = 'docf',
cFontFile = 'fntf',
cSoundFile = 'sndf',
cClippingFile = 'clpf',
cContainer = 'ctnr',
cDesktop = 'cdsk',
cSharableContainer = 'sctr',
cDisk = 'cdis',
cFolder = 'cfol',
cSuitcase = 'stcs',
cAccessorySuitcase = 'dsut',
cFontSuitcase = 'fsut',
cTrash = 'ctrs',
cDesktopPrinter = 'dskp',
cPackage = 'pack',
cContentSpace = 'dwnd',
cContainerWindow = 'cwnd',
cInfoWindow = 'iwnd',
cSharingWindow = 'swnd',
cStatusWindow = 'qwnd',
cClippingWindow = 'lwnd',
cPreferencesWindow = 'pwnd',
cDTPWindow = 'dtpw',
cProcess = 'prcs',
cAccessoryProcess = 'pcda',
cApplicationProcess = 'pcap',
cGroup = 'sgrp',
cUser = 'cuse',
cSharingPrivileges = 'priv',
cPreferences = 'cprf',
cLabel = 'clbl',
cSound = 'snd ',
cAliasList = 'alst',
cSpecialFolders = 'spfl',
cOnlineDisk = 'cods',
cOnlineLocalDisk = 'clds',
cOnlineRemoteDisk = 'crds',
cEntireContents = 'ects',
cIconFamily = 'ifam'
};
# 146 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
pComment = 'comt',
pContainer = cContainer,
pContentSpace = cContentSpace,
pCreationDateOld = 'crtd',
pCreationDate = 'ascd',
pDescription = 'dscr',
pDisk = cDisk,
pFolderOld = cFolder,
pFolder = 'asdr',
pIconBitmap = 'iimg',
pInfoWindow = cInfoWindow,
pKind = 'kind',
pLabelIndex = 'labi',
pModificationDateOld = 'modd',
pModificationDate = 'asmo',
pPhysicalSize = 'phys',
pPosition = 'posn',
pIsSelected = 'issl',
pSize = pPointSize,
pWindow = cWindow,
pPreferencesWindow = cPreferencesWindow
};
enum {
pFileCreator = 'fcrt',
pFileType = 'asty',
pFileTypeOld = 'fitp',
pIsLocked = 'aslk',
pIsLockedOld = 'islk',
pProductVersion = 'ver2'
};
enum {
pOriginalItem = 'orig'
};
enum {
pMinAppPartition = 'mprt',
pAppPartition = 'appt',
pSuggestedAppPartition = 'sprt',
pIsScriptable = 'isab'
};
enum {
pInternetLocation = 'iloc'
};
enum {
pSound = 'snd '
};
# 216 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
pShowFolderSize = 'sfsz',
pShowComment = 'scom',
pShowDate = 'sdat',
pShowCreationDate = 'scda',
pShowKind = 'sknd',
pShowLabel = 'slbl',
pShowSize = 'ssiz',
pShowVersion = 'svrs',
pSortDirection = 'sord',
pShowDiskInfo = 'sdin',
pListViewIconSize = 'lvis',
pGridIcons = 'fgrd',
pStaggerIcons = 'fstg',
pViewFont = 'vfnt',
pViewFontSize = 'vfsz'
};
enum {
pCompletelyExpanded = 'pexc',
pContainerWindow = cContainerWindow,
pEntireContents = cEntireContents,
pExpandable = 'pexa',
pExpanded = 'pexp',
pPreviousView = 'svew',
pView = 'pvew',
pIconSize = pListViewIconSize,
pKeepArranged = 'arrg',
pKeepArrangedBy = 'arby'
};
enum {
pStartupDisk = 'sdsk',
pTrash = 'trsh'
};
enum {
pOwner = 'sown',
pOwnerPrivileges = 'ownr',
pGroup = cGroup,
pGroupPrivileges = 'gppr',
pGuestPrivileges = 'gstp',
pArePrivilegesInherited = 'iprv',
pExported = 'sexp',
pMounted = 'smou',
pSharingProtection = 'spro',
pSharing = 'shar',
pSharingWindow = cSharingWindow
};
enum {
pCapacity = 'capa',
pEjectable = 'isej',
pFreeSpace = 'frsp',
pLocal = 'isrv',
pIsStartup = 'istd'
};
enum {
pWarnOnEmpty = 'warn'
};
enum {
# 296 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
pIsZoomedFull = 'zumf',
pIsPopup = 'drwr',
pIsPulledOpen = 'pull',
pIsCollapsed = 'wshd'
};
enum {
pObject = cObject
};
enum {
pSharableContainer = cSharableContainer
};
enum {
pInfoPanel = 'panl'
};
enum {
pFileShareOn = 'fshr',
pFileShareStartingUp = 'fsup',
pProgramLinkingOn = 'iac '
};
enum {
pShowModificationDate = pShowDate,
# 342 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
pUseRelativeDate = 'urdt',
pDelayBeforeSpringing = 'dela',
pSpringOpenFolders = 'sprg',
pUseShortMenus = 'usme',
pUseWideGrid = 'uswg',
pLabel1 = 'lbl1',
pLabel2 = 'lbl2',
pLabel3 = 'lbl3',
pLabel4 = 'lbl4',
pLabel5 = 'lbl5',
pLabel6 = 'lbl6',
pLabel7 = 'lbl7',
pDefaultIconViewIconSize = 'iisz',
pDefaultButtonViewIconSize = 'bisz',
pDefaultListViewIconSize = 'lisz',
pIconViewArrangement = 'iarr',
pButtonViewArrangement = 'barr'
};
enum {
pNoArrangement = 'narr',
pSnapToGridArrangement = 'grda',
pByNameArrangement = 'nama',
pByModificationDateArrangement = 'mdta',
pByCreationDateArrangement = 'cdta',
pBySizeArrangement = 'siza',
pByKindArrangement = 'kina',
pByLabelArrangement = 'laba'
};
enum {
pFile = cFile,
pPartitionSpaceUsed = 'pusd',
pLocalAndRemoteEvents = 'revt',
pHasScriptingTerminology = 'hscr'
};
enum {
pDeskAccessoryFile = cDeskAccessoryFile
};
enum {
pApplicationFile = cApplicationFile
};
# 414 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
pCanConnect = 'ccon',
pCanChangePassword = 'ccpw',
pCanDoProgramLinking = 'ciac',
pIsOwner = 'isow',
pARADialIn = 'arad',
pShouldCallBack = 'calb',
pCallBackNumber = 'cbnm'
};
enum {
pAboutMacintosh = 'abbx',
pAppleMenuItemsFolder = 'amnu',
pControlPanelsFolder = 'ctrl',
pDesktop = 'desk',
pExtensionsFolder = 'extn',
pFinderPreferences = 'pfrp',
pFontsFolder = 'font',
pFontsFolderPreAllegro = 'ffnt',
pLargestFreeBlock = 'mfre',
pPreferencesFolder = 'pref',
pShortCuts = 'scut',
pShutdownFolder = 'shdf',
pStartupItemsFolder = 'strt',
pSystemFolder = 'macs',
pTemporaryFolder = 'temp',
pViewPreferences = 'pvwp',
pStartingUp = 'awak'
};
enum {
pSeeFiles = 'prvr',
pSeeFolders = 'prvs',
pMakeChanges = 'prvw'
};
# 514 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
pSmallIcon = 'smic',
pSmallButton = 'smbu',
pLargeButton = 'lgbu',
pGrid = 'grid'
};
enum {
enumViewBy = 'vwby',
enumGestalt = 'gsen',
enumConflicts = 'cflc',
enumExistingItems = 'exsi',
enumOlderItems = 'oldr'
};
enum {
enumDate = 'enda',
enumAnyDate = 'anyd',
enumToday = 'tday',
enumYesterday = 'yday',
enumThisWeek = 'twek',
enumLastWeek = 'lwek',
enumThisMonth = 'tmon',
enumLastMonth = 'lmon',
enumThisYear = 'tyer',
enumLastYear = 'lyer',
enumBeforeDate = 'bfdt',
enumAfterDate = 'afdt',
enumBetweenDate = 'btdt',
enumOnDate = 'ondt'
};
enum {
enumAllDocuments = 'alld',
enumFolders = 'fold',
enumAliases = 'alia',
enumStationery = 'stat'
};
enum {
enumWhere = 'wher',
enumAllLocalDisks = 'aldk',
enumAllRemoteDisks = 'ardk',
enumAllDisks = 'alld',
enumAllOpenFolders = 'aofo'
};
enum {
enumIconSize = 'isiz',
enumSmallIconSize = pSmallIcon,
enumMiniIconSize = 'miic',
enumLargeIconSize = 'lgic'
};
enum {
enumSortDirection = 'sodr',
enumSortDirectionNormal = 'snrm',
enumSortDirectionReverse = 'srvs'
};
enum {
enumArrangement = 'earr'
};
enum {
enumInfoWindowPanel = 'ipnl',
enumGeneralPanel = 'gpnl',
enumSharingPanel = 'spnl',
enumStatusNConfigPanel = 'scnl',
enumFontsPanel = 'fpnl',
enumMemoryPanel = 'mpnl'
};
enum {
enumPrefsWindowPanel = 'pple',
enumPrefsGeneralPanel = 'pgnp',
enumPrefsLabelPanel = 'plbp',
enumPrefsIconViewPanel = 'pivp',
enumPrefsButtonViewPanel = 'pbvp',
enumPrefsListViewPanel = 'plvp'
};
enum {
typeIconFamily = cIconFamily,
typeIconAndMask = 'ICN#',
type8BitMask = 'l8mk',
type32BitIcon = 'il32',
type8BitIcon = 'icl8',
type4BitIcon = 'icl4',
typeSmallIconAndMask = 'ics#',
typeSmall8BitMask = 's8mk',
typeSmall32BitIcon = 'is32',
typeSmall8BitIcon = 'ics8',
typeSmall4BitIcon = 'ics4',
typeRelativeTime = 'rtim',
typeConceptualTime = 'timc'
};
enum {
keyIconAndMask = 'ICN#',
key32BitIcon = 'il32',
key8BitIcon = 'icl8',
key4BitIcon = 'icl4',
key8BitMask = 'l8mk',
keySmallIconAndMask = 'ics#',
keySmall8BitIcon = 'ics8',
keySmall4BitIcon = 'ics4',
keySmall32BitIcon = 'is32',
keySmall8BitMask = 's8mk',
keyMini1BitMask = 'icm#',
keyMini4BitIcon = 'icm4',
keyMini8BitIcon = 'icm8',
keyAEUsing = 'usin',
keyAEReplacing = 'alrp',
keyAENoAutoRouting = 'rout',
keyLocalPositionList = 'mvpl',
keyGlobalPositionList = 'mvpg',
keyRedirectedDocumentList = 'fpdl'
};
enum {
keyASPrepositionHas = 'has ',
keyAll = 'kyal',
keyOldFinderItems = 'fsel'
};
enum {
formAlias = typeAlias,
formCreator = pFileCreator
};
# 686 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
errFinderIsBusy = -15260,
errFinderWindowNotOpen = -15261,
errFinderCannotPutAway = -15262,
errFinderWindowMustBeIconView = -15263,
errFinderWindowMustBeListView = -15264,
errFinderCantMoveToDestination = -15265,
errFinderCantMoveSource = -15266,
errFinderCantOverwrite = -15267,
errFinderIncestuousMove = -15268,
errFinderCantMoveToAncestor = -15269,
errFinderCantUseTrashedItems = -15270,
errFinderItemAlreadyInDest = -15271,
errFinderUnknownUser = -15272,
errFinderSharePointsCantInherit = -15273,
errFinderWindowWrongType = -15274,
errFinderPropertyNowWindowBased = -15275,
errFinderAppFolderProtected = -15276,
errFinderSysFolderProtected = -15277,
errFinderBoundsWrong = -15278,
errAEValueOutOfRange = -15279,
errFinderPropertyDoesNotApply = -15280,
errFinderFileSharingMustBeOn = -15281,
errFinderMustBeActive = -15282,
errFinderVolumeNotFound = -15283,
errFinderLockedItemsInTrash = -15284,
errFinderOnlyLockedItemsInTrash = -15285,
errFinderProgramLinkingMustBeOn = -15286,
errFinderWindowMustBeButtonView = -15287,
errFinderBadPackageContents = -15288,
errFinderUnsupportedInsidePackages = -15289,
errFinderCorruptOpenFolderList = -15290,
errFinderNoInvisibleFiles = -15291,
errFinderCantDeleteImmediately = -15292,
errFinderLastReserved = -15379
};
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/DigitalHubRegistry.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/DigitalHubRegistry.h" 3
#define __DIGITALHUBREGISTRY__
# 36 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/DigitalHubRegistry.h" 3
enum {
kDigiHubEventClass = 'dhub'
};
enum {
kDigiHubMusicCD = 'aucd',
kDigiHubPictureCD = 'picd',
kDigiHubVideoDVD = 'vdvd',
kDigiHubBlankCD = 'bcd ',
kDigiHubBlankDVD = 'bdvd'
};
# 59 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 41 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h" 1 3
# 15 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h" 3
#define __PRINT__
# 28 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 1 3
# 15 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
#define __PMAPPLICATION__
# 41 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
#pragma mark
#pragma mark Callbacks
#pragma mark
typedef void ( * PMSheetDoneProcPtr)(PMPrintSession printSession, WindowRef documentWindow, Boolean accepted);
typedef PMSheetDoneProcPtr PMSheetDoneUPP;
#define NewPMSheetDoneUPP(userRoutine) ((PMSheetDoneUPP)userRoutine)
#define DisposePMSheetDoneUPP(userUPP)
#define InvokePMSheetDoneUPP(printSession,documentWindow,accepted,userUPP) (*userUPP)(printSession, documentWindow, accepted)
# 94 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
#pragma mark
#pragma mark Print Loop
#pragma mark
# 122 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMSessionBeginCGDocument(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat pageFormat) ;
# 136 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMSessionEndDocument(PMPrintSession printSession) ;
# 148 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMSessionBeginPage(
PMPrintSession printSession,
PMPageFormat pageFormat,
const PMRect * pageFrame) ;
# 163 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMSessionEndPage(PMPrintSession printSession) ;
#pragma mark
#pragma mark Dialogs
#pragma mark
# 178 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMSessionPageSetupDialog(
PMPrintSession printSession,
PMPageFormat pageFormat,
Boolean * accepted) ;
# 193 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMSessionPrintDialog(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat constPageFormat,
Boolean * accepted) ;
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMSessionUseSheets(
PMPrintSession printSession,
WindowRef documentWindow,
PMSheetDoneUPP sheetDoneProc) ;
typedef OptionBits PMPrintDialogOptionFlags;
enum {
kPMHideInlineItems = (0L << 0),
kPMShowDefaultInlineItems = (1L << 15),
kPMShowInlineCopies = (1L << 0),
kPMShowInlinePageRange = (1L << 1),
kPMShowInlinePageRangeWithSelection = (1L << 6),
kPMShowInlinePaperSize = (1L << 2),
kPMShowInlineOrientation = (1L << 3),
kPMShowInlineScale = (1L << 7),
kPMShowPageAttributesPDE = (1L << 8),
};
# 238 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMShowPageSetupDialogAsSheet(
PMPrintSession printSession,
PMPageFormat pageFormat,
WindowRef documentWindow,
PMSheetDoneUPP sheetDoneProc) ;
# 254 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMShowPrintDialogWithOptions(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat pageFormat,
PMPrintDialogOptionFlags printDialogOptions,
Boolean * accepted) ;
# 270 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMShowPrintDialogWithOptionsAsSheet(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat pageFormat,
PMPrintDialogOptionFlags printDialogOptions,
WindowRef documentWindow,
PMSheetDoneUPP sheetDoneProc) ;
#pragma mark
#pragma mark Presets
#pragma mark
# 310 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMSessionEnablePrinterPresets(
PMPrintSession session,
CFStringRef graphicsType) ;
# 331 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
extern OSStatus
PMSessionDisablePrinterPresets(PMPrintSession session) ;
# 29 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 1 3
# 16 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
#define __PMAPPLICATION_DEPRECATED__
# 45 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
typedef void ( * PMItemProcPtr)(DialogRef theDialog, short item);
typedef void ( * PMPrintDialogInitProcPtr)(PMPrintSettings printSettings, PMDialog *theDialog);
typedef void ( * PMPageSetupDialogInitProcPtr)(PMPageFormat pageFormat, PMDialog *theDialog);
typedef PMItemProcPtr PMItemUPP;
typedef PMPrintDialogInitProcPtr PMPrintDialogInitUPP;
typedef PMPageSetupDialogInitProcPtr PMPageSetupDialogInitUPP;
# 60 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern PMItemUPP
NewPMItemUPP(PMItemProcPtr userRoutine) __attribute__((deprecated));
# 71 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern PMPrintDialogInitUPP
NewPMPrintDialogInitUPP(PMPrintDialogInitProcPtr userRoutine) __attribute__((deprecated));
# 82 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern PMPageSetupDialogInitUPP
NewPMPageSetupDialogInitUPP(PMPageSetupDialogInitProcPtr userRoutine) __attribute__((deprecated));
# 93 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern void
DisposePMItemUPP(PMItemUPP userUPP) __attribute__((deprecated));
# 104 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern void
DisposePMPrintDialogInitUPP(PMPrintDialogInitUPP userUPP) __attribute__((deprecated));
# 115 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern void
DisposePMPageSetupDialogInitUPP(PMPageSetupDialogInitUPP userUPP) __attribute__((deprecated));
# 126 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern void
InvokePMItemUPP(
DialogRef theDialog,
short item,
PMItemUPP userUPP) __attribute__((deprecated));
# 140 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern void
InvokePMPrintDialogInitUPP(
PMPrintSettings printSettings,
PMDialog * theDialog,
PMPrintDialogInitUPP userUPP) __attribute__((deprecated));
# 154 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern void
InvokePMPageSetupDialogInitUPP(
PMPageFormat pageFormat,
PMDialog * theDialog,
PMPageSetupDialogInitUPP userUPP) __attribute__((deprecated));
#define NewPMItemUPP(userRoutine) ((PMItemUPP)userRoutine)
#define NewPMPrintDialogInitUPP(userRoutine) ((PMPrintDialogInitUPP)userRoutine)
#define NewPMPageSetupDialogInitUPP(userRoutine) ((PMPageSetupDialogInitUPP)userRoutine)
#define DisposePMItemUPP(userUPP)
#define DisposePMPrintDialogInitUPP(userUPP)
#define DisposePMPageSetupDialogInitUPP(userUPP)
#define InvokePMItemUPP(theDialog,item,userUPP) (*userUPP)(theDialog, item)
#define InvokePMPrintDialogInitUPP(printSettings,theDialog,userUPP) (*userUPP)(printSettings, theDialog)
#define InvokePMPageSetupDialogInitUPP(pageFormat,theDialog,userUPP) (*userUPP)(pageFormat, theDialog)
# 185 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMSessionBeginDocument(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat pageFormat) __attribute__((deprecated));
# 203 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMSessionPageSetupDialogInit(
PMPrintSession printSession,
PMPageFormat pageFormat,
PMDialog * newDialog) __attribute__((deprecated));
# 222 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMSessionPrintDialogInit(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat constPageFormat,
PMDialog * newDialog) __attribute__((deprecated));
# 242 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMSessionPrintDialogMain(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat constPageFormat,
Boolean * accepted,
PMPrintDialogInitUPP myInitProc) __attribute__((deprecated));
# 263 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMSessionPageSetupDialogMain(
PMPrintSession printSession,
PMPageFormat pageFormat,
Boolean * accepted,
PMPageSetupDialogInitUPP myInitProc) __attribute__((deprecated));
# 480 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMGetDialogPtr(
PMDialog pmDialog,
DialogRef * theDialog) __attribute__((deprecated));
#define PMGetDialogRef PMGetDialogPtr
# 499 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMGetModalFilterProc(
PMDialog pmDialog,
ModalFilterUPP * filterProc) __attribute__((deprecated));
# 517 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMSetModalFilterProc(
PMDialog pmDialog,
ModalFilterUPP filterProc) __attribute__((deprecated));
# 535 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMGetItemProc(
PMDialog pmDialog,
PMItemUPP * itemProc) __attribute__((deprecated));
# 553 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMSetItemProc(
PMDialog pmDialog,
PMItemUPP itemProc) __attribute__((deprecated));
# 571 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMGetDialogAccepted(
PMDialog pmDialog,
Boolean * process) __attribute__((deprecated));
# 589 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMSetDialogAccepted(
PMDialog pmDialog,
Boolean process) __attribute__((deprecated));
# 607 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMGetDialogDone(
PMDialog pmDialog,
Boolean * done) __attribute__((deprecated));
# 625 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
extern OSStatus
PMSetDialogDone(
PMDialog pmDialog,
Boolean done) __attribute__((deprecated));
# 33 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h" 2 3
# 45 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/NavigationServices.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/NavigationServices.h" 3
#define __NAVIGATIONSERVICES__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
#define __NAVIGATION__
# 43 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
#pragma pack(push, 2)
# 70 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
typedef UInt32 NavAskSaveChangesAction;
enum {
kNavSaveChangesClosingDocument = 1,
kNavSaveChangesQuittingApplication = 2,
kNavSaveChangesOther = 0
};
typedef UInt32 NavAskSaveChangesResult;
enum {
kNavAskSaveChangesSave = 1,
kNavAskSaveChangesCancel = 2,
kNavAskSaveChangesDontSave = 3
};
typedef UInt32 NavAskDiscardChangesResult;
enum {
kNavAskDiscardChanges = 1,
kNavAskDiscardChangesCancel = 2
};
typedef SInt16 NavFilterModes;
enum {
kNavFilteringBrowserList = 0,
kNavFilteringFavorites = 1,
kNavFilteringRecents = 2,
kNavFilteringShortCutVolumes = 3,
kNavFilteringLocationPopup = 4
};
enum {
kNavFileOrFolderVersion = 1
};
struct NavFileOrFolderInfo {
UInt16 version;
Boolean isFolder;
Boolean visible;
UInt32 creationDate;
UInt32 modificationDate;
union {
struct {
Boolean locked;
Boolean resourceOpen;
Boolean dataOpen;
Boolean reserved1;
ByteCount dataSize;
ByteCount resourceSize;
FInfo finderInfo;
FXInfo finderXInfo;
} fileInfo;
struct {
Boolean shareable;
Boolean sharePoint;
Boolean mounted;
Boolean readable;
Boolean writeable;
Boolean reserved2;
ItemCount numberOfFiles;
DInfo finderDInfo;
DXInfo finderDXInfo;
OSType folderType;
OSType folderCreator;
char reserved3[206];
} folderInfo;
} fileAndFolder;
};
typedef struct NavFileOrFolderInfo NavFileOrFolderInfo;
union NavEventDataInfo {
EventRecord * event;
void * param;
};
typedef union NavEventDataInfo NavEventDataInfo;
struct NavEventData {
NavEventDataInfo eventDataParms;
SInt16 itemHit;
};
typedef struct NavEventData NavEventData;
# 174 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
typedef struct __NavDialog* NavDialogRef;
# 201 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
typedef UInt32 NavUserAction;
enum {
kNavUserActionNone = 0,
kNavUserActionCancel = 1,
kNavUserActionOpen = 2,
kNavUserActionSaveAs = 3,
kNavUserActionChoose = 4,
kNavUserActionNewFolder = 5,
kNavUserActionSaveChanges = 6,
kNavUserActionDontSaveChanges = 7,
kNavUserActionDiscardChanges = 8,
kNavUserActionReviewDocuments = 9,
kNavUserActionDiscardDocuments = 10
};
enum {
kNavCBRecVersion = 1
};
# 283 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
struct NavCBRec {
UInt16 version;
NavDialogRef context;
WindowRef window;
Rect customRect;
Rect previewRect;
NavEventData eventData;
NavUserAction userAction;
char reserved[218];
};
typedef struct NavCBRec NavCBRec;
typedef NavCBRec * NavCBRecPtr;
typedef SInt32 NavEventCallbackMessage;
enum {
kNavCBEvent = 0,
kNavCBCustomize = 1,
kNavCBStart = 2,
kNavCBTerminate = 3,
kNavCBAdjustRect = 4,
kNavCBNewLocation = 5,
kNavCBShowDesktop = 6,
kNavCBSelectEntry = 7,
# 404 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
kNavCBPopupMenuSelect = 8,
kNavCBAccept = 9,
kNavCBCancel = 10,
kNavCBAdjustPreview = 11,
kNavCBUserAction = 12,
kNavCBOpenSelection = (SInt32)0x80000000
};
typedef void * NavCallBackUserData;
typedef void ( * NavEventProcPtr)(NavEventCallbackMessage callBackSelector, NavCBRecPtr callBackParms, void *callBackUD);
typedef Boolean ( * NavPreviewProcPtr)(NavCBRecPtr callBackParms, void *callBackUD);
typedef Boolean ( * NavObjectFilterProcPtr)(AEDesc *theItem, void *info, void *callBackUD, NavFilterModes filterMode);
typedef NavEventProcPtr NavEventUPP;
typedef NavPreviewProcPtr NavPreviewUPP;
typedef NavObjectFilterProcPtr NavObjectFilterUPP;
# 458 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern NavEventUPP
NewNavEventUPP(NavEventProcPtr userRoutine) ;
# 469 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern NavPreviewUPP
NewNavPreviewUPP(NavPreviewProcPtr userRoutine) ;
# 480 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern NavObjectFilterUPP
NewNavObjectFilterUPP(NavObjectFilterProcPtr userRoutine) ;
# 491 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern void
DisposeNavEventUPP(NavEventUPP userUPP) ;
# 502 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern void
DisposeNavPreviewUPP(NavPreviewUPP userUPP) ;
# 513 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern void
DisposeNavObjectFilterUPP(NavObjectFilterUPP userUPP) ;
# 524 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern void
InvokeNavEventUPP(
NavEventCallbackMessage callBackSelector,
NavCBRecPtr callBackParms,
void * callBackUD,
NavEventUPP userUPP) ;
# 539 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern Boolean
InvokeNavPreviewUPP(
NavCBRecPtr callBackParms,
void * callBackUD,
NavPreviewUPP userUPP) ;
# 553 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern Boolean
InvokeNavObjectFilterUPP(
AEDesc * theItem,
void * info,
void * callBackUD,
NavFilterModes filterMode,
NavObjectFilterUPP userUPP) ;
# 573 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
#define NewNavEventUPP(userRoutine) ((NavEventUPP)userRoutine)
#define NewNavPreviewUPP(userRoutine) ((NavPreviewUPP)userRoutine)
#define NewNavObjectFilterUPP(userRoutine) ((NavObjectFilterUPP)userRoutine)
#define DisposeNavEventUPP(userUPP)
#define DisposeNavPreviewUPP(userUPP)
#define DisposeNavObjectFilterUPP(userUPP)
#define InvokeNavEventUPP(callBackSelector,callBackParms,callBackUD,userUPP) (*userUPP)(callBackSelector, callBackParms, callBackUD)
#define InvokeNavPreviewUPP(callBackParms,callBackUD,userUPP) (*userUPP)(callBackParms, callBackUD)
#define InvokeNavObjectFilterUPP(theItem,info,callBackUD,filterMode,userUPP) (*userUPP)(theItem, info, callBackUD, filterMode)
typedef SInt32 NavCustomControlMessage;
enum {
kNavCtlShowDesktop = 0,
kNavCtlSortBy = 1,
kNavCtlSortOrder = 2,
kNavCtlScrollHome = 3,
kNavCtlScrollEnd = 4,
kNavCtlPageUp = 5,
kNavCtlPageDown = 6,
kNavCtlGetLocation = 7,
kNavCtlSetLocation = 8,
kNavCtlGetSelection = 9,
kNavCtlSetSelection = 10,
kNavCtlShowSelection = 11,
kNavCtlOpenSelection = 12,
kNavCtlEjectVolume = 13,
kNavCtlNewFolder = 14,
kNavCtlCancel = 15,
kNavCtlAccept = 16,
kNavCtlIsPreviewShowing = 17,
kNavCtlAddControl = 18,
kNavCtlAddControlList = 19,
kNavCtlGetFirstControlID = 20,
kNavCtlSelectCustomType = 21,
kNavCtlSelectAllType = 22,
kNavCtlGetEditFileName = 23,
kNavCtlSetEditFileName = 24,
kNavCtlSelectEditFileName = 25,
kNavCtlBrowserSelectAll = 26,
kNavCtlGotoParent = 27,
kNavCtlSetActionState = 28,
kNavCtlBrowserRedraw = 29,
kNavCtlTerminate = 30
};
typedef UInt32 NavActionState;
enum {
kNavNormalState = 0x00000000,
kNavDontOpenState = 0x00000001,
kNavDontSaveState = 0x00000002,
kNavDontChooseState = 0x00000004,
kNavDontNewFolderState = 0x00000010
};
typedef UInt16 NavPopupMenuItem;
enum {
kNavAllKnownFiles = 0,
kNavAllReadableFiles = 1,
kNavAllFiles = 2
};
typedef UInt16 NavSortKeyField;
enum {
kNavSortNameField = 0,
kNavSortDateField = 1
};
typedef UInt16 NavSortOrder;
enum {
kNavSortAscending = 0,
kNavSortDescending = 1
};
typedef OptionBits NavDialogOptionFlags;
enum {
kNavDefaultNavDlogOptions = 0x000000E4,
kNavNoTypePopup = 0x00000001,
kNavDontAutoTranslate = 0x00000002,
kNavDontAddTranslateItems = 0x00000004,
kNavAllFilesInPopup = 0x00000010,
kNavAllowStationery = 0x00000020,
kNavAllowPreviews = 0x00000040,
kNavAllowMultipleFiles = 0x00000080,
kNavAllowInvisibleFiles = 0x00000100,
kNavDontResolveAliases = 0x00000200,
kNavSelectDefaultLocation = 0x00000400,
kNavSelectAllReadableItem = 0x00000800,
kNavSupportPackages = 0x00001000,
kNavAllowOpenPackages = 0x00002000,
kNavDontAddRecents = 0x00004000,
kNavDontUseCustomFrame = 0x00008000,
kNavDontConfirmReplacement = 0x00010000,
kNavPreserveSaveFileExtension = 0x00020000
};
typedef UInt32 NavTranslationOptions;
enum {
kNavTranslateInPlace = 0,
kNavTranslateCopy = 1
};
enum {
kNavMenuItemSpecVersion = 0
};
struct NavMenuItemSpec {
UInt16 version;
OSType menuCreator;
OSType menuType;
Str255 menuItemName;
char reserved[245];
};
typedef struct NavMenuItemSpec NavMenuItemSpec;
typedef NavMenuItemSpec * NavMenuItemSpecArrayPtr;
typedef NavMenuItemSpecArrayPtr * NavMenuItemSpecArrayHandle;
typedef NavMenuItemSpecArrayPtr NavMenuItemSpecPtr;
typedef NavMenuItemSpecArrayHandle NavMenuItemSpecHandle;
enum {
kNavGenericSignature = '****'
};
enum {
kNavClientPopupExtensionTag = 'extn'
};
struct NavTypeList {
OSType componentSignature;
short reserved;
short osTypeCount;
OSType osType[1];
};
typedef struct NavTypeList NavTypeList;
typedef NavTypeList * NavTypeListPtr;
typedef NavTypeListPtr * NavTypeListHandle;
enum {
kNavReplyRecordVersion = 2
};
# 733 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
struct NavReplyRecord {
UInt16 version;
Boolean validRecord;
Boolean replacing;
Boolean isStationery;
Boolean translationNeeded;
# 783 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
AEDescList selection;
ScriptCode keyScript;
FileTranslationSpecArrayHandle fileTranslation;
UInt32 reserved1;
CFStringRef saveFileName;
# 823 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
Boolean saveFileExtensionHidden;
UInt8 reserved2;
char reserved[225];
};
typedef struct NavReplyRecord NavReplyRecord;
# 844 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavCompleteSave(
const NavReplyRecord * reply,
NavTranslationOptions howToTranslate) ;
# 858 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavCustomControl(
NavDialogRef dialog,
NavCustomControlMessage selector,
void * parms) ;
# 874 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavCreatePreview(
AEDesc * theObject,
OSType previewDataType,
const void * previewData,
Size previewDataSize) __attribute__((deprecated));
# 892 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavDisposeReply(NavReplyRecord * reply) ;
enum {
kNavDialogCreationOptionsVersion = 0
};
# 922 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
struct NavDialogCreationOptions {
UInt16 version;
NavDialogOptionFlags optionFlags;
Point location;
# 951 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
CFStringRef clientName;
CFStringRef windowTitle;
CFStringRef actionButtonLabel;
CFStringRef cancelButtonLabel;
CFStringRef saveFileName;
CFStringRef message;
# 992 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
UInt32 preferenceKey;
CFArrayRef popupExtension;
WindowModality modality;
WindowRef parentWindow;
char reserved[16];
};
typedef struct NavDialogCreationOptions NavDialogCreationOptions;
# 1045 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavGetDefaultDialogCreationOptions(NavDialogCreationOptions * outOptions) ;
# 1099 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateGetFileDialog(
const NavDialogCreationOptions * inOptions,
NavTypeListHandle inTypeList,
NavEventUPP inEventProc,
NavPreviewUPP inPreviewProc,
NavObjectFilterUPP inFilterProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1158 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreatePutFileDialog(
const NavDialogCreationOptions * inOptions,
OSType inFileType,
OSType inFileCreator,
NavEventUPP inEventProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1221 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateAskReviewDocumentsDialog(
const NavDialogCreationOptions * inOptions,
ItemCount inDocumentCount,
NavEventUPP inEventProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1275 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateAskSaveChangesDialog(
const NavDialogCreationOptions * inOptions,
NavAskSaveChangesAction inAction,
NavEventUPP inEventProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1324 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateAskDiscardChangesDialog(
const NavDialogCreationOptions * inOptions,
NavEventUPP inEventProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1383 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateChooseFileDialog(
const NavDialogCreationOptions * inOptions,
NavTypeListHandle inTypeList,
NavEventUPP inEventProc,
NavPreviewUPP inPreviewProc,
NavObjectFilterUPP inFilterProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1436 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateChooseFolderDialog(
const NavDialogCreationOptions * inOptions,
NavEventUPP inEventProc,
NavObjectFilterUPP inFilterProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1487 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateChooseVolumeDialog(
const NavDialogCreationOptions * inOptions,
NavEventUPP inEventProc,
NavObjectFilterUPP inFilterProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1543 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateChooseObjectDialog(
const NavDialogCreationOptions * inOptions,
NavEventUPP inEventProc,
NavPreviewUPP inPreviewProc,
NavObjectFilterUPP inFilterProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1593 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateNewFolderDialog(
const NavDialogCreationOptions * inOptions,
NavEventUPP inEventProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1640 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavDialogRun(NavDialogRef inDialog) ;
# 1668 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern void
NavDialogDispose(NavDialogRef inDialog) ;
# 1697 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern WindowRef
NavDialogGetWindow(NavDialogRef inDialog) ;
# 1736 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern NavUserAction
NavDialogGetUserAction(NavDialogRef inDialog) ;
# 1772 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavDialogGetReply(
NavDialogRef inDialog,
NavReplyRecord * outReply) ;
# 1810 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern CFStringRef
NavDialogGetSaveFileName(NavDialogRef inPutFileDialog) ;
# 1846 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavDialogSetSaveFileName(
NavDialogRef inPutFileDialog,
CFStringRef inFileName) ;
# 1877 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern Boolean
NavDialogGetSaveFileExtensionHidden(NavDialogRef inPutFileDialog) ;
# 1910 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavDialogSetSaveFileExtensionHidden(
NavDialogRef inPutFileDialog,
Boolean inHidden) ;
# 1948 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavDialogSetFilterTypeIdentifiers(
NavDialogRef inGetFileDialog,
CFArrayRef inTypeIdentifiers) ;
#pragma mark -
enum {
kNavDialogOptionsVersion = 0
};
struct NavDialogOptions {
UInt16 version;
NavDialogOptionFlags dialogOptionFlags;
Point location;
Str255 clientName;
Str255 windowTitle;
Str255 actionButtonLabel;
Str255 cancelButtonLabel;
Str255 savedFileName;
Str255 message;
UInt32 preferenceKey;
NavMenuItemSpecArrayHandle popupExtension;
char reserved[494];
};
typedef struct NavDialogOptions NavDialogOptions;
# 1992 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavLoad(void);
# 2007 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavUnload(void);
# 2022 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern UInt32
NavLibraryVersion(void) __attribute__((deprecated));
# 2037 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavGetDefaultDialogOptions(NavDialogOptions * dialogOptions) __attribute__((deprecated));
# 2053 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavGetFile(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
NavPreviewUPP previewProc,
NavObjectFilterUPP filterProc,
NavTypeListHandle typeList,
void * callBackUD) __attribute__((deprecated));
# 2076 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavPutFile(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
OSType fileType,
OSType fileCreator,
void * callBackUD) __attribute__((deprecated));
# 2098 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavAskSaveChanges(
NavDialogOptions * dialogOptions,
NavAskSaveChangesAction action,
NavAskSaveChangesResult * reply,
NavEventUPP eventProc,
void * callBackUD) __attribute__((deprecated));
# 2118 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavCustomAskSaveChanges(
NavDialogOptions * dialogOptions,
NavAskSaveChangesResult * reply,
NavEventUPP eventProc,
void * callBackUD) __attribute__((deprecated));
# 2137 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavAskDiscardChanges(
NavDialogOptions * dialogOptions,
NavAskDiscardChangesResult * reply,
NavEventUPP eventProc,
void * callBackUD) __attribute__((deprecated));
# 2156 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavChooseFile(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
NavPreviewUPP previewProc,
NavObjectFilterUPP filterProc,
NavTypeListHandle typeList,
void * callBackUD) __attribute__((deprecated));
# 2179 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavChooseFolder(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
NavObjectFilterUPP filterProc,
void * callBackUD) __attribute__((deprecated));
# 2200 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavChooseVolume(
AEDesc * defaultSelection,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
NavObjectFilterUPP filterProc,
void * callBackUD) __attribute__((deprecated));
# 2221 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavChooseObject(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
NavObjectFilterUPP filterProc,
void * callBackUD) __attribute__((deprecated));
# 2242 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavNewFolder(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
void * callBackUD) __attribute__((deprecated));
# 2263 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavTranslateFile(
const NavReplyRecord * reply,
NavTranslationOptions howToTranslate) __attribute__((deprecated));
# 2280 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern Boolean
NavServicesCanRun(void);
# 2296 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
#define NavServicesAvailable() (true)
# 2313 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
#pragma pack(pop)
# 26 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/NavigationServices.h" 2 3
# 49 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 3
#define __COMMONPANELS__
# 33 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
#define __COLORPICKER__
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
#pragma pack(push, 2)
enum {
kMaximumSmallFract = 0x0000FFFF
};
enum {
kDefaultColorPickerWidth = 383,
kDefaultColorPickerHeight = 238
};
typedef SInt16 DialogPlacementSpec;
enum {
kAtSpecifiedOrigin = 0,
kDeepestColorScreen = 1,
kCenterOnMainScreen = 2
};
enum {
kColorPickerDialogIsMoveable = 1,
kColorPickerDialogIsModal = 2,
kColorPickerCanModifyPalette = 4,
kColorPickerCanAnimatePalette = 8,
kColorPickerAppIsColorSyncAware = 16,
kColorPickerInSystemDialog = 32,
kColorPickerInApplicationDialog = 64,
kColorPickerInPickerDialog = 128,
kColorPickerDetachedFromChoices = 256,
kColorPickerCallColorProcLive = 512
};
# 111 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
typedef unsigned short SmallFract;
struct HSVColor {
SmallFract hue;
SmallFract saturation;
SmallFract value;
};
typedef struct HSVColor HSVColor;
struct HSLColor {
SmallFract hue;
SmallFract saturation;
SmallFract lightness;
};
typedef struct HSLColor HSLColor;
struct CMYColor {
SmallFract cyan;
SmallFract magenta;
SmallFract yellow;
};
typedef struct CMYColor CMYColor;
struct PMColor {
CMProfileHandle profile;
CMColor color;
};
typedef struct PMColor PMColor;
typedef PMColor * PMColorPtr;
struct NPMColor {
CMProfileRef profile;
CMColor color;
};
typedef struct NPMColor NPMColor;
typedef NPMColor * NPMColorPtr;
typedef struct OpaquePicker* Picker;
typedef Picker picker;
struct PickerMenuItemInfo {
SInt16 editMenuID;
SInt16 cutItem;
SInt16 copyItem;
SInt16 pasteItem;
SInt16 clearItem;
SInt16 undoItem;
};
typedef struct PickerMenuItemInfo PickerMenuItemInfo;
typedef void ( * NColorChangedProcPtr)(SRefCon userData, NPMColor *newColor);
typedef NColorChangedProcPtr NColorChangedUPP;
# 167 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern NColorChangedUPP
NewNColorChangedUPP(NColorChangedProcPtr userRoutine) ;
# 178 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
DisposeNColorChangedUPP(NColorChangedUPP userUPP) ;
# 189 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
InvokeNColorChangedUPP(
SRefCon userData,
NPMColor * newColor,
NColorChangedUPP userUPP) ;
#define NewNColorChangedUPP(userRoutine) ((NColorChangedUPP)userRoutine)
#define DisposeNColorChangedUPP(userUPP)
#define InvokeNColorChangedUPP(userData,newColor,userUPP) (*userUPP)(userData, newColor)
# 212 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
typedef void ( * ColorChangedProcPtr)(SInt32 userData, PMColor *newColor);
typedef Boolean ( * UserEventProcPtr)(EventRecord * event);
typedef ColorChangedProcPtr ColorChangedUPP;
typedef UserEventProcPtr UserEventUPP;
# 224 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern ColorChangedUPP
NewColorChangedUPP(ColorChangedProcPtr userRoutine) ;
# 235 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern UserEventUPP
NewUserEventUPP(UserEventProcPtr userRoutine) ;
# 246 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
DisposeColorChangedUPP(ColorChangedUPP userUPP) ;
# 257 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
DisposeUserEventUPP(UserEventUPP userUPP) ;
# 268 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
InvokeColorChangedUPP(
SInt32 userData,
PMColor * newColor,
ColorChangedUPP userUPP) ;
# 282 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern Boolean
InvokeUserEventUPP(
EventRecord * event,
UserEventUPP userUPP) ;
# 296 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
#define NewColorChangedUPP(userRoutine) ((ColorChangedUPP)userRoutine)
#define NewUserEventUPP(userRoutine) ((UserEventUPP)userRoutine)
#define DisposeColorChangedUPP(userUPP)
#define DisposeUserEventUPP(userUPP)
#define InvokeColorChangedUPP(userData,newColor,userUPP) (*userUPP)(userData, newColor)
#define InvokeUserEventUPP(event,userUPP) (*userUPP)(event)
struct ColorPickerInfo {
PMColor theColor;
CMProfileHandle dstProfile;
UInt32 flags;
DialogPlacementSpec placeWhere;
Point dialogOrigin;
OSType pickerType;
UserEventUPP eventProc;
ColorChangedUPP colorProc;
UInt32 colorProcData;
Str255 prompt;
PickerMenuItemInfo mInfo;
Boolean newColorChosen;
SInt8 filler;
};
typedef struct ColorPickerInfo ColorPickerInfo;
struct NColorPickerInfo {
NPMColor theColor;
CMProfileRef dstProfile;
UInt32 flags;
DialogPlacementSpec placeWhere;
Point dialogOrigin;
OSType pickerType;
UserEventUPP eventProc;
NColorChangedUPP colorProc;
URefCon colorProcData;
Str255 prompt;
PickerMenuItemInfo mInfo;
Boolean newColorChosen;
UInt8 reserved;
};
typedef struct NColorPickerInfo NColorPickerInfo;
# 356 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern SmallFract
Fix2SmallFract(Fixed f) ;
# 368 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern Fixed
SmallFract2Fix(SmallFract s) ;
# 380 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
CMY2RGB(
const CMYColor * cColor,
RGBColor * rColor) ;
# 394 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
RGB2CMY(
const RGBColor * rColor,
CMYColor * cColor) ;
# 408 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
HSL2RGB(
const HSLColor * hColor,
RGBColor * rColor) ;
# 422 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
RGB2HSL(
const RGBColor * rColor,
HSLColor * hColor) ;
# 436 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
HSV2RGB(
const HSVColor * hColor,
RGBColor * rColor) ;
# 450 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
RGB2HSV(
const RGBColor * rColor,
HSVColor * hColor) ;
# 466 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern Boolean
GetColor(
Point where,
ConstStr255Param prompt,
const RGBColor * inColor,
RGBColor * outColor) ;
# 483 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern OSErr
PickColor(ColorPickerInfo * theColorInfo) ;
# 497 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern OSErr
NPickColor(NColorPickerInfo * theColorInfo) ;
#pragma pack(pop)
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
#define __CMCALIBRATOR__
# 40 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
#pragma pack(push, 2)
typedef void ( * CalibrateEventProcPtr)(EventRecord * event);
typedef CalibrateEventProcPtr CalibrateEventUPP;
enum {
kCalibratorNamePrefix = 'cali'
};
struct CalibratorInfo {
UInt32 dataSize;
CMDisplayIDType displayID;
UInt32 profileLocationSize;
CMProfileLocation * profileLocationPtr;
CalibrateEventUPP eventProc;
Boolean isGood;
};
typedef struct CalibratorInfo CalibratorInfo;
typedef Boolean ( * CanCalibrateProcPtr)(CMDisplayIDType displayID, Str255 errMessage);
typedef OSErr ( * CalibrateProcPtr)(CalibratorInfo * theInfo);
typedef CanCalibrateProcPtr CanCalibrateUPP;
typedef CalibrateProcPtr CalibrateUPP;
# 73 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern CalibrateEventUPP
NewCalibrateEventUPP(CalibrateEventProcPtr userRoutine) ;
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern CanCalibrateUPP
NewCanCalibrateUPP(CanCalibrateProcPtr userRoutine);
# 95 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern CalibrateUPP
NewCalibrateUPP(CalibrateProcPtr userRoutine);
# 106 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern void
DisposeCalibrateEventUPP(CalibrateEventUPP userUPP) ;
# 117 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern void
DisposeCanCalibrateUPP(CanCalibrateUPP userUPP);
# 128 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern void
DisposeCalibrateUPP(CalibrateUPP userUPP);
# 139 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern void
InvokeCalibrateEventUPP(
EventRecord * event,
CalibrateEventUPP userUPP) ;
# 152 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern Boolean
InvokeCanCalibrateUPP(
CMDisplayIDType displayID,
Str255 errMessage,
CanCalibrateUPP userUPP);
# 166 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern OSErr
InvokeCalibrateUPP(
CalibratorInfo * theInfo,
CalibrateUPP userUPP);
# 183 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
#define NewCalibrateEventUPP(userRoutine) ((CalibrateEventUPP)userRoutine)
#define NewCanCalibrateUPP(userRoutine) ((CanCalibrateUPP)userRoutine)
#define NewCalibrateUPP(userRoutine) ((CalibrateUPP)userRoutine)
#define DisposeCalibrateEventUPP(userUPP)
#define DisposeCanCalibrateUPP(userUPP)
#define DisposeCalibrateUPP(userUPP)
#define InvokeCalibrateEventUPP(event,userUPP) (*userUPP)(event)
#define InvokeCanCalibrateUPP(displayID,errMessage,userUPP) (*userUPP)(displayID, errMessage)
#define InvokeCalibrateUPP(theInfo,userUPP) (*userUPP)(theInfo)
# 203 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern OSErr
CMCalibrateDisplay(CalibratorInfo * theInfo) ;
#pragma pack(pop)
# 38 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
#define __NSL__
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
#pragma pack(push, 2)
typedef UInt32 NSLDialogOptionFlags;
enum {
kNSLDefaultNSLDlogOptions = 0x00000000,
kNSLNoURLTEField = 0x00000001,
kNSLAddServiceTypes = 0x00000002,
kNSLClientHandlesRecents = 0x00000004
};
struct NSLDialogOptions {
UInt16 version;
NSLDialogOptionFlags dialogOptionFlags;
Str255 windowTitle;
Str255 actionButtonLabel;
Str255 cancelButtonLabel;
Str255 message;
};
typedef struct NSLDialogOptions NSLDialogOptions;
typedef Boolean ( * NSLURLFilterProcPtr)(char *url, Str255 displayString);
typedef void ( * NSLEventProcPtr)(EventRecord *newEvent, void *userContext);
typedef NSLURLFilterProcPtr NSLURLFilterUPP;
typedef NSLEventProcPtr NSLEventUPP;
# 72 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern NSLURLFilterUPP
NewNSLURLFilterUPP(NSLURLFilterProcPtr userRoutine) ;
# 83 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern NSLEventUPP
NewNSLEventUPP(NSLEventProcPtr userRoutine) ;
# 94 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern void
DisposeNSLURLFilterUPP(NSLURLFilterUPP userUPP) ;
# 105 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern void
DisposeNSLEventUPP(NSLEventUPP userUPP) ;
# 116 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern Boolean
InvokeNSLURLFilterUPP(
char * url,
Str255 displayString,
NSLURLFilterUPP userUPP) ;
# 130 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern void
InvokeNSLEventUPP(
EventRecord * newEvent,
void * userContext,
NSLEventUPP userUPP) ;
# 145 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
#define NewNSLURLFilterUPP(userRoutine) ((NSLURLFilterUPP)userRoutine)
#define NewNSLEventUPP(userRoutine) ((NSLEventUPP)userRoutine)
#define DisposeNSLURLFilterUPP(userUPP)
#define DisposeNSLEventUPP(userUPP)
#define InvokeNSLURLFilterUPP(url,displayString,userUPP) (*userUPP)(url, displayString)
#define InvokeNSLEventUPP(newEvent,userContext,userUPP) (*userUPP)(newEvent, userContext)
# 242 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern OSStatus
NSLStandardGetURL(
NSLDialogOptions * dialogOptions,
NSLEventUPP eventProc,
void * eventProcContextPtr,
NSLURLFilterUPP filterProc,
char * serviceTypeList,
char ** userSelectedURL) ;
# 260 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern OSStatus
NSLGetDefaultDialogOptions(NSLDialogOptions * dialogOptions) ;
# 274 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern char *
NSLFreeURL(char * url) ;
# 290 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern OSErr
NSLSaveURLAliasToFolder(
OSType folderSelectorType,
const char * url,
const char * userFriendlyName) ;
#pragma pack(pop)
# 42 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
#define __FONTPANEL__
# 43 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
#pragma pack(push, 2)
# 53 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
enum {
kEventClassFont = 'font'
};
enum {
kHICommandShowHideFontPanel = 'shfp'
};
# 98 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
enum {
kEventFontPanelClosed = 1,
# 114 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
kEventFontSelection = 2
};
# 134 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
enum {
typeCTFontDescriptorRef = typeCFTypeRef,
typeATSUFontID = typeUInt32,
typeATSUSize = typeFixed,
typeFMFontFamily = typeSInt16,
typeFMFontStyle = typeSInt16,
typeFMFontSize = typeSInt16,
typeFontColor = typeRGBColor,
kEventParamCTFontDescriptor = 'ctfd',
kEventParamATSUFontID = 'auid',
kEventParamATSUFontSize = 'ausz',
kEventParamFMFontFamily = 'fmfm',
kEventParamFMFontStyle = 'fmst',
kEventParamFMFontSize = 'fmsz',
kEventParamFontColor = 'fclr',
kEventParamDictionary = 'dict',
kEventParamViewAttributesDictionary = 'dadc'
};
# 165 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelATSUFontIDKey ;
# 175 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelVariationAxesKey ;
# 185 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelVariationValuesKey ;
# 195 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelFeatureTypesKey ;
# 205 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelFeatureSelectorsKey ;
# 215 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelAttributesKey ;
# 256 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelAttributeTagsKey ;
# 266 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelAttributeSizesKey ;
# 276 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelAttributeValuesKey ;
# 291 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelMouseTrackingState ;
# 311 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelBackgroundColorAttributeName ;
enum {
fontPanelShowErr = -8880,
fontPanelSelectionStyleErr = -8881,
fontPanelFontSelectionQDStyleVersionErr = -8882
};
enum {
kFontSelectionATSUIType = 'astl',
kFontSelectionQDType = 'qstl',
kFontSelectionCoreTextType = 'ctfd'
};
enum {
kFontSelectionQDStyleVersionZero = 0
};
# 352 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
struct FontSelectionQDStyle {
UInt32 version;
FMFontFamilyInstance instance;
FMFontSize size;
Boolean hasColor;
UInt8 reserved;
RGBColor color;
};
typedef struct FontSelectionQDStyle FontSelectionQDStyle;
typedef FontSelectionQDStyle * FontSelectionQDStylePtr;
# 373 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern Boolean
FPIsFontPanelVisible(void) ;
# 385 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
FPShowHideFontPanel(void) ;
# 397 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
SetFontInfoForSelection(
OSType iStyleType,
UInt32 iNumStyles,
void * iStyles,
EventTargetRef iFPEventTarget) ;
# 417 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
typedef struct OpaqueFCFontDescriptorRef* FCFontDescriptorRef;
# 437 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern CFArrayRef
FCCopyCollectionNames(void) ;
# 467 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern CFArrayRef
FCCopyFontDescriptorsInCollection(CFStringRef iCollection) ;
# 494 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
FCAddCollection(
CFStringRef iCollection,
OptionBits iCollectionOptions) ;
# 519 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
FCRemoveCollection(CFStringRef iCollection) ;
# 548 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
FCAddFontDescriptorToCollection(
FCFontDescriptorRef iDescriptor,
CFStringRef iCollection) ;
# 576 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
FCRemoveFontDescriptorFromCollection(
FCFontDescriptorRef iDescriptor,
CFStringRef iCollection) ;
# 603 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontFamilyAttribute ;
# 616 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontNameAttribute ;
# 628 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontFaceAttribute ;
# 640 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontSizeAttribute ;
# 653 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontVisibleNameAttribute ;
# 665 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontCGColorAttribute ;
# 687 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern FCFontDescriptorRef
FCFontDescriptorCreateWithFontAttributes(CFDictionaryRef iAttributes) ;
# 714 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern FCFontDescriptorRef
FCFontDescriptorCreateWithName(
CFStringRef iFontName,
CGFloat iSize) ;
#pragma pack(pop)
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 2 3
# 53 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 1 3
# 20 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
#define __HTMLRENDERING__
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
typedef struct OpaqueHRReference* HRReference;
# 59 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetHTMLRenderingLibVersion(NumVersion * returnVers) __attribute__((deprecated));
# 73 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
#define HRHTMLRenderingLibAvailable() (true)
enum {
kHRRendererHTML32Type = 'ht32'
};
# 90 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRNewReference(
HRReference * hrRef,
OSType rendererType,
GrafPtr grafPtr) __attribute__((deprecated));
# 124 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRNewReferenceInWindow(
HRReference * hrRef,
OSType rendererType,
WindowRef inWindowRef) __attribute__((deprecated));
# 139 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRDisposeReference(HRReference hrRef) __attribute__((deprecated));
# 152 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern SInt32
HRFreeMemory(Size inBytesNeeded) __attribute__((deprecated));
# 166 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRScreenConfigurationChanged(void) __attribute__((deprecated));
# 178 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern Boolean
HRIsHREvent(const EventRecord * eventRecord) __attribute__((deprecated));
# 192 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRSetGrafPtr(
HRReference hrRef,
GrafPtr grafPtr) __attribute__((deprecated));
# 220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRSetWindowRef(
HRReference hrRef,
WindowRef windowRef) __attribute__((deprecated));
# 250 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRSetEmbeddingControl(
HRReference hrRef,
ControlRef controlRef) __attribute__((deprecated));
# 264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRActivate(HRReference hrRef) __attribute__((deprecated));
# 276 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRDeactivate(HRReference hrRef) __attribute__((deprecated));
# 288 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRDraw(
HRReference hrRef,
RgnHandle updateRgnH) __attribute__((deprecated));
# 319 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRDrawInPort(
HRReference hrRef,
RgnHandle updateRgnH,
CGrafPtr grafPtr) __attribute__((deprecated));
# 334 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRSetRenderingRect(
HRReference hrRef,
const Rect * renderingRect) __attribute__((deprecated));
# 348 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetRenderedImageSize(
HRReference hrRef,
Point * renderingSize) __attribute__((deprecated));
# 377 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetRenderedImageSize32(
HRReference hrRef,
UInt32 * height,
UInt32 * width) __attribute__((deprecated));
# 392 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRScrollToLocation(
HRReference hrRef,
Point * location) __attribute__((deprecated));
# 421 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRScrollToImageLocation32(
HRReference hrRef,
SInt32 h,
SInt32 v) __attribute__((deprecated));
# 436 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRForceQuickdraw(
HRReference hrRef,
Boolean forceQuickdraw) __attribute__((deprecated));
typedef SInt16 HRScrollbarState;
enum {
eHRScrollbarOn = 0,
eHRScrollbarOff = 1,
eHRScrollbarAuto = 2
};
# 457 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRSetScrollbarState(
HRReference hrRef,
HRScrollbarState hScrollbarState,
HRScrollbarState vScrollbarState) __attribute__((deprecated));
# 472 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRSetDrawBorder(
HRReference hrRef,
Boolean drawBorder) __attribute__((deprecated));
# 486 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRSetGrowboxCutout(
HRReference hrRef,
Boolean allowCutout) __attribute__((deprecated));
# 501 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGoToFile(
HRReference hrRef,
const FSSpec * fsspec,
Boolean addToHistory,
Boolean forceRefresh) __attribute__((deprecated));
# 517 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGoToURL(
HRReference hrRef,
const char * url,
Boolean addToHistory,
Boolean forceRefresh) __attribute__((deprecated));
# 533 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGoToAnchor(
HRReference hrRef,
const char * anchorName) __attribute__((deprecated));
# 547 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGoToPtr(
HRReference hrRef,
char * buffer,
UInt32 bufferSize,
Boolean addToHistory,
Boolean forceRefresh) __attribute__((deprecated));
# 585 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGoToFSRef(
HRReference hrRef,
const FSRef * fref,
Boolean addToHistory,
Boolean forceRefresh) __attribute__((deprecated));
# 622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGoToCFURL(
HRReference hrRef,
CFURLRef url,
Boolean addToHistory,
Boolean forceRefresh) __attribute__((deprecated));
# 653 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGoToAnchorCFString(
HRReference hrRef,
CFStringRef anchorName) __attribute__((deprecated));
# 688 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGoToData(
HRReference hrRef,
CFDataRef data,
Boolean addToHistory,
Boolean forceRefresh) __attribute__((deprecated));
# 706 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetRootURL(
HRReference hrRef,
Handle rootURLH) __attribute__((deprecated));
# 721 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetBaseURL(
HRReference hrRef,
Handle baseURLH) __attribute__((deprecated));
# 736 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetHTMLURL(
HRReference hrRef,
Handle HTMLURLH) __attribute__((deprecated));
# 750 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetTitle(
HRReference hrRef,
StringPtr title) __attribute__((deprecated));
# 764 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetHTMLFile(
HRReference hrRef,
FSSpec * fsspec) __attribute__((deprecated));
# 794 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetRootURLAsCFString(
HRReference hrRef,
CFStringRef * rootString) __attribute__((deprecated));
# 823 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetBaseURLAsCFString(
HRReference hrRef,
CFStringRef * baseString) __attribute__((deprecated));
# 852 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetHTMLURLAsCFURL(
HRReference hrRef,
CFURLRef * theURL) __attribute__((deprecated));
# 881 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetTitleAsCFString(
HRReference hrRef,
CFStringRef * title) __attribute__((deprecated));
# 910 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRGetHTMLFileAsFSRef(
HRReference hrRef,
FSRef * fref) __attribute__((deprecated));
# 925 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRUtilCreateFullURL(
const char * rootURL,
const char * linkURL,
Handle fullURLH) __attribute__((deprecated));
# 940 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRUtilGetFSSpecFromURL(
const char * rootURL,
const char * linkURL,
FSSpec * destSpec) __attribute__((deprecated));
# 956 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRUtilGetURLFromFSSpec(
const FSSpec * fsspec,
Handle urlHandle) __attribute__((deprecated));
# 990 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRUtilCreateFullCFURL(
CFStringRef rootString,
CFStringRef linkString,
CFURLRef * url) __attribute__((deprecated));
# 1025 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRUtilGetFSRefFromURL(
CFStringRef rootString,
CFStringRef linkString,
FSRef * destRef) __attribute__((deprecated));
# 1057 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
HRUtilGetURLFromFSRef(
const FSRef * fileRef,
CFURLRef * url) __attribute__((deprecated));
# 1075 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
typedef Boolean ( * HRWasURLVisitedProcPtr)(const char *url, void *refCon);
typedef HRWasURLVisitedProcPtr HRWasURLVisitedUPP;
# 1085 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRRegisterWasURLVisitedUPP(
HRWasURLVisitedUPP inWasURLVisitedUPP,
HRReference hrRef,
void * inRefCon) __attribute__((deprecated));
# 1100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRUnregisterWasURLVisitedUPP(HRReference hrRef) __attribute__((deprecated));
# 1110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
typedef Boolean ( * HRWasCFURLVisitedProcPtr)(CFURLRef url, void *refCon);
typedef HRWasCFURLVisitedProcPtr HRWasCFURLVisitedUPP;
# 1120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRRegisterWasCFURLVisitedUPP(
HRWasCFURLVisitedUPP inWasCFURLVisitedUPP,
HRReference hrRef,
void * inRefCon) __attribute__((deprecated));
# 1135 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRUnregisterWasCFURLVisitedUPP(HRReference hrRef) __attribute__((deprecated));
# 1151 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
typedef OSStatus ( * HRNewURLProcPtr)(const char *url, const char *targetFrame, Boolean addToHistory, void *refCon);
typedef HRNewURLProcPtr HRNewURLUPP;
# 1161 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRRegisterNewURLUPP(
HRNewURLUPP inNewURLUPP,
HRReference hrRef,
void * inRefCon) __attribute__((deprecated));
# 1176 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRUnregisterNewURLUPP(HRReference hrRef) __attribute__((deprecated));
# 1186 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
typedef OSStatus ( * HRNewCFURLProcPtr)(CFURLRef url, CFStringRef targetString, Boolean addToHistory, void *refCon);
typedef HRNewCFURLProcPtr HRNewCFURLUPP;
# 1196 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRRegisterNewCFURLUPP(
HRNewCFURLUPP inURLUPP,
HRReference hrRef,
void * inRefCon) __attribute__((deprecated));
# 1211 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRUnregisterNewCFURLUPP(HRReference hrRef) __attribute__((deprecated));
# 1225 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
typedef UInt16 URLSourceType;
enum {
kHRLookingForHTMLSource = 1,
kHRLookingForImage = 2,
kHRLookingForEmbedded = 3,
kHRLookingForImageMap = 4,
kHRLookingForFrame = 5
};
typedef OSStatus ( * HRURLToFSSpecProcPtr)(const char *rootURL, const char *linkURL, FSSpec *fsspec, URLSourceType urlSourceType, void *refCon);
typedef HRURLToFSSpecProcPtr HRURLToFSSpecUPP;
# 1244 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRRegisterURLToFSSpecUPP(
HRURLToFSSpecUPP inURLToFSSpecUPP,
HRReference hrRef,
void * inRefCon) __attribute__((deprecated));
# 1259 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRUnregisterURLToFSSpecUPP(HRReference hrRef) __attribute__((deprecated));
# 1269 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
typedef OSStatus ( * HRURLToFSRefProcPtr)(CFStringRef rootString, CFStringRef linkString, FSRef *fref, URLSourceType urlSourceType, void *refCon);
typedef HRURLToFSRefProcPtr HRURLToFSRefUPP;
# 1279 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRRegisterURLToFSRefUPP(
HRURLToFSRefUPP inURLToFSRefUPP,
HRReference hrRef,
void * inRefCon) __attribute__((deprecated));
# 1294 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
HRUnregisterURLToFSRefUPP(HRReference hrRef) __attribute__((deprecated));
# 1306 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern HRWasURLVisitedUPP
NewHRWasURLVisitedUPP(HRWasURLVisitedProcPtr userRoutine) __attribute__((deprecated));
# 1317 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern HRWasCFURLVisitedUPP
NewHRWasCFURLVisitedUPP(HRWasCFURLVisitedProcPtr userRoutine) __attribute__((deprecated));
# 1328 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern HRNewURLUPP
NewHRNewURLUPP(HRNewURLProcPtr userRoutine) __attribute__((deprecated));
# 1339 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern HRNewCFURLUPP
NewHRNewCFURLUPP(HRNewCFURLProcPtr userRoutine) __attribute__((deprecated));
# 1350 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern HRURLToFSSpecUPP
NewHRURLToFSSpecUPP(HRURLToFSSpecProcPtr userRoutine) __attribute__((deprecated));
# 1361 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern HRURLToFSRefUPP
NewHRURLToFSRefUPP(HRURLToFSRefProcPtr userRoutine) __attribute__((deprecated));
# 1372 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
DisposeHRWasURLVisitedUPP(HRWasURLVisitedUPP userUPP) __attribute__((deprecated));
# 1383 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
DisposeHRWasCFURLVisitedUPP(HRWasCFURLVisitedUPP userUPP) __attribute__((deprecated));
# 1394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
DisposeHRNewURLUPP(HRNewURLUPP userUPP) __attribute__((deprecated));
# 1405 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
DisposeHRNewCFURLUPP(HRNewCFURLUPP userUPP) __attribute__((deprecated));
# 1416 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
DisposeHRURLToFSSpecUPP(HRURLToFSSpecUPP userUPP) __attribute__((deprecated));
# 1427 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern void
DisposeHRURLToFSRefUPP(HRURLToFSRefUPP userUPP) __attribute__((deprecated));
# 1438 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern Boolean
InvokeHRWasURLVisitedUPP(
const char * url,
void * refCon,
HRWasURLVisitedUPP userUPP) __attribute__((deprecated));
# 1452 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern Boolean
InvokeHRWasCFURLVisitedUPP(
CFURLRef url,
void * refCon,
HRWasCFURLVisitedUPP userUPP) __attribute__((deprecated));
# 1466 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
InvokeHRNewURLUPP(
const char * url,
const char * targetFrame,
Boolean addToHistory,
void * refCon,
HRNewURLUPP userUPP) __attribute__((deprecated));
# 1482 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
InvokeHRNewCFURLUPP(
CFURLRef url,
CFStringRef targetString,
Boolean addToHistory,
void * refCon,
HRNewCFURLUPP userUPP) __attribute__((deprecated));
# 1498 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
InvokeHRURLToFSSpecUPP(
const char * rootURL,
const char * linkURL,
FSSpec * fsspec,
URLSourceType urlSourceType,
void * refCon,
HRURLToFSSpecUPP userUPP) __attribute__((deprecated));
# 1515 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
extern OSStatus
InvokeHRURLToFSRefUPP(
CFStringRef rootString,
CFStringRef linkString,
FSRef * fref,
URLSourceType urlSourceType,
void * refCon,
HRURLToFSRefUPP userUPP) __attribute__((deprecated));
# 1545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HTMLRendering.framework/Headers/HTMLRendering.h" 3
#define NewHRWasURLVisitedUPP(userRoutine) ((HRWasURLVisitedUPP)userRoutine)
#define NewHRWasCFURLVisitedUPP(userRoutine) ((HRWasCFURLVisitedUPP)userRoutine)
#define NewHRNewURLUPP(userRoutine) ((HRNewURLUPP)userRoutine)
#define NewHRNewCFURLUPP(userRoutine) ((HRNewCFURLUPP)userRoutine)
#define NewHRURLToFSSpecUPP(userRoutine) ((HRURLToFSSpecUPP)userRoutine)
#define NewHRURLToFSRefUPP(userRoutine) ((HRURLToFSRefUPP)userRoutine)
#define DisposeHRWasURLVisitedUPP(userUPP)
#define DisposeHRWasCFURLVisitedUPP(userUPP)
#define DisposeHRNewURLUPP(userUPP)
#define DisposeHRNewCFURLUPP(userUPP)
#define DisposeHRURLToFSSpecUPP(userUPP)
#define DisposeHRURLToFSRefUPP(userUPP)
#define InvokeHRWasURLVisitedUPP(url,refCon,userUPP) (*userUPP)(url, refCon)
#define InvokeHRWasCFURLVisitedUPP(url,refCon,userUPP) (*userUPP)(url, refCon)
#define InvokeHRNewURLUPP(url,targetFrame,addToHistory,refCon,userUPP) (*userUPP)(url, targetFrame, addToHistory, refCon)
#define InvokeHRNewCFURLUPP(url,targetString,addToHistory,refCon,userUPP) (*userUPP)(url, targetString, addToHistory, refCon)
#define InvokeHRURLToFSSpecUPP(rootURL,linkURL,fsspec,urlSourceType,refCon,userUPP) (*userUPP)(rootURL, linkURL, fsspec, urlSourceType, refCon)
#define InvokeHRURLToFSRefUPP(rootString,linkString,fref,urlSourceType,refCon,userUPP) (*userUPP)(rootString, linkString, fref, urlSourceType, refCon)
# 58 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
#define __SPEECHRECOGNITION__
# 36 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
#pragma pack(push, 2)
enum {
kSRNotAvailable = -5100,
kSRInternalError = -5101,
kSRComponentNotFound = -5102,
kSROutOfMemory = -5103,
kSRNotASpeechObject = -5104,
kSRBadParameter = -5105,
kSRParamOutOfRange = -5106,
kSRBadSelector = -5107,
kSRBufferTooSmall = -5108,
kSRNotARecSystem = -5109,
kSRFeedbackNotAvail = -5110,
kSRCantSetProperty = -5111,
kSRCantGetProperty = -5112,
kSRCantSetDuringRecognition = -5113,
kSRAlreadyListening = -5114,
kSRNotListeningState = -5115,
kSRModelMismatch = -5116,
kSRNoClientLanguageModel = -5117,
kSRNoPendingUtterances = -5118,
kSRRecognitionCanceled = -5119,
kSRRecognitionDone = -5120,
kSROtherRecAlreadyModal = -5121,
kSRHasNoSubItems = -5122,
kSRSubItemNotFound = -5123,
kSRLanguageModelTooBig = -5124,
kSRAlreadyReleased = -5125,
kSRAlreadyFinished = -5126,
kSRWordNotFound = -5127,
kSRNotFinishedWithRejection = -5128,
kSRExpansionTooDeep = -5129,
kSRTooManyElements = -5130,
kSRCantAdd = -5131,
kSRSndInSourceDisconnected = -5132,
kSRCantReadLanguageObject = -5133,
kSRNotImplementedYet = -5199
};
typedef struct OpaqueSRSpeechObject* SRSpeechObject;
typedef SRSpeechObject SRRecognitionSystem;
typedef SRSpeechObject SRRecognizer;
typedef SRSpeechObject SRSpeechSource;
typedef SRSpeechSource SRRecognitionResult;
typedef SRSpeechObject SRLanguageObject;
typedef SRLanguageObject SRLanguageModel;
typedef SRLanguageObject SRPath;
typedef SRLanguageObject SRPhrase;
typedef SRLanguageObject SRWord;
typedef UInt16 SRSpeedSetting;
typedef UInt16 SRRejectionLevel;
struct SRCallBackStruct {
UInt32 what;
long message;
SRRecognizer instance;
OSErr status;
SInt16 flags;
SRefCon refCon;
};
typedef struct SRCallBackStruct SRCallBackStruct;
typedef void ( * SRCallBackProcPtr)(SRCallBackStruct * param);
typedef SRCallBackProcPtr SRCallBackUPP;
# 117 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern SRCallBackUPP
NewSRCallBackUPP(SRCallBackProcPtr userRoutine) ;
# 128 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern void
DisposeSRCallBackUPP(SRCallBackUPP userUPP) ;
# 139 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern void
InvokeSRCallBackUPP(
SRCallBackStruct * param,
SRCallBackUPP userUPP) ;
#define NewSRCallBackUPP(userRoutine) ((SRCallBackUPP)userRoutine)
#define DisposeSRCallBackUPP(userUPP)
#define InvokeSRCallBackUPP(param,userUPP) (*userUPP)(param)
struct SRCallBackParam {
SRCallBackUPP callBack;
SRefCon refCon;
};
typedef struct SRCallBackParam SRCallBackParam;
enum {
kSRDefaultRecognitionSystemID = 0
};
enum {
kSRFeedbackAndListeningModes = 'fbwn',
kSRRejectedWord = 'rejq',
kSRCleanupOnClientExit = 'clup'
};
enum {
kSRNoFeedbackNoListenModes = 0,
kSRHasFeedbackHasListenModes = 1,
kSRNoFeedbackHasListenModes = 2
};
enum {
kSRDefaultSpeechSource = 0,
kSRLiveDesktopSpeechSource = 'dklv',
kSRCanned22kHzSpeechSource = 'ca22'
};
enum {
kSRNotifyRecognitionBeginning = 1L << 0,
kSRNotifyRecognitionDone = 1L << 1
};
enum {
kAESpeechSuite = 'sprc'
};
enum {
kAESpeechDone = 'srsd',
kAESpeechDetected = 'srbd'
};
enum {
keySRRecognizer = 'krec',
keySRSpeechResult = 'kspr',
keySRSpeechStatus = 'ksst'
};
enum {
typeSRRecognizer = 'trec',
typeSRSpeechResult = 'tspr'
};
enum {
kSRNotificationParam = 'noti',
kSRCallBackParam = 'call',
kSRSearchStatusParam = 'stat',
kSRAutoFinishingParam = 'afin',
kSRForegroundOnly = 'fgon',
kSRBlockBackground = 'blbg',
kSRBlockModally = 'blmd',
kSRWantsResultTextDrawn = 'txfb',
kSRWantsAutoFBGestures = 'dfbr',
kSRSoundInVolume = 'volu',
kSRReadAudioFSSpec = 'aurd',
kSRCancelOnSoundOut = 'caso',
kSRSpeedVsAccuracyParam = 'sped'
};
enum {
kSRUseToggleListen = 0,
kSRUsePushToTalk = 1
};
enum {
kSRListenKeyMode = 'lkmd',
kSRListenKeyCombo = 'lkey',
kSRListenKeyName = 'lnam',
kSRKeyWord = 'kwrd',
kSRKeyExpected = 'kexp'
};
enum {
kSRIdleRecognizer = 1L << 0,
kSRSearchInProgress = 1L << 1,
kSRSearchWaitForAllClients = 1L << 2,
kSRMustCancelSearch = 1L << 3,
kSRPendingSearch = 1L << 4
};
enum {
kSRTEXTFormat = 'TEXT',
kSRPhraseFormat = 'lmph',
kSRPathFormat = 'lmpt',
kSRLanguageModelFormat = 'lmfm'
};
enum {
kSRSpelling = 'spel',
kSRLMObjType = 'lmtp',
kSRRefCon = 'refc',
kSROptional = 'optl',
kSREnabled = 'enbl',
kSRRepeatable = 'rptb',
kSRRejectable = 'rjbl',
kSRRejectionLevel = 'rjct'
};
enum {
kSRLanguageModelType = 'lmob',
kSRPathType = 'path',
kSRPhraseType = 'phra',
kSRWordType = 'word'
};
enum {
kSRDefaultRejectionLevel = 50
};
# 331 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SROpenRecognitionSystem(
SRRecognitionSystem * system,
OSType systemID) ;
# 345 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRCloseRecognitionSystem(SRRecognitionSystem system) ;
# 358 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRSetProperty(
SRSpeechObject srObject,
OSType selector,
const void * property,
Size propertyLen) ;
# 374 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRGetProperty(
SRSpeechObject srObject,
OSType selector,
void * property,
Size * propertyLen) ;
# 391 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRReleaseObject(SRSpeechObject srObject) ;
# 403 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRGetReference(
SRSpeechObject srObject,
SRSpeechObject * newObjectRef) ;
# 418 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewRecognizer(
SRRecognitionSystem system,
SRRecognizer * recognizer,
OSType sourceID) ;
# 433 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRStartListening(SRRecognizer recognizer) ;
# 445 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRStopListening(SRRecognizer recognizer) ;
# 457 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRSetLanguageModel(
SRRecognizer recognizer,
SRLanguageModel languageModel) ;
# 471 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRGetLanguageModel(
SRRecognizer recognizer,
SRLanguageModel * languageModel) ;
# 485 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRContinueRecognition(SRRecognizer recognizer) ;
# 497 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRCancelRecognition(SRRecognizer recognizer) ;
# 509 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRIdle(void) ;
# 522 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewLanguageModel(
SRRecognitionSystem system,
SRLanguageModel * model,
const void * name,
SInt32 nameLength) ;
# 538 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewPath(
SRRecognitionSystem system,
SRPath * path) ;
# 552 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewPhrase(
SRRecognitionSystem system,
SRPhrase * phrase,
const void * text,
SInt32 textLength) ;
# 568 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewWord(
SRRecognitionSystem system,
SRWord * word,
const void * text,
SInt32 textLength) ;
# 585 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRPutLanguageObjectIntoHandle(
SRLanguageObject languageObject,
Handle lobjHandle) ;
# 599 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRPutLanguageObjectIntoDataFile(
SRLanguageObject languageObject,
short fRefNum) ;
# 613 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewLanguageObjectFromHandle(
SRRecognitionSystem system,
SRLanguageObject * languageObject,
Handle lObjHandle) ;
# 628 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewLanguageObjectFromDataFile(
SRRecognitionSystem system,
SRLanguageObject * languageObject,
short fRefNum) ;
# 643 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SREmptyLanguageObject(SRLanguageObject languageObject) ;
# 655 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRChangeLanguageObject(
SRLanguageObject languageObject,
const void * text,
SInt32 textLength) ;
# 670 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRAddLanguageObject(
SRLanguageObject base,
SRLanguageObject addon) ;
# 684 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRAddText(
SRLanguageObject base,
const void * text,
SInt32 textLength,
SRefCon refCon) ;
# 700 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRRemoveLanguageObject(
SRLanguageObject base,
SRLanguageObject toRemove) ;
# 715 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRCountItems(
SRSpeechObject container,
long * count) ;
# 729 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRGetIndexedItem(
SRSpeechObject container,
SRSpeechObject * item,
long index) ;
# 744 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRSetIndexedItem(
SRSpeechObject container,
SRSpeechObject item,
long index) ;
# 759 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRRemoveIndexedItem(
SRSpeechObject container,
long index) ;
# 774 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRDrawText(
SRRecognizer recognizer,
const void * dispText,
SInt32 dispLength) ;
# 789 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRDrawRecognizedText(
SRRecognizer recognizer,
const void * dispText,
SInt32 dispLength) ;
# 804 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRSpeakText(
SRRecognizer recognizer,
const void * speakText,
SInt32 speakLength) ;
# 819 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRSpeakAndDrawText(
SRRecognizer recognizer,
const void * text,
SInt32 textLength) ;
# 834 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRStopSpeech(SRRecognizer recognizer) ;
# 846 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern Boolean
SRSpeechBusy(SRRecognizer recognizer) ;
# 858 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRProcessBegin(
SRRecognizer recognizer,
Boolean failed) ;
# 872 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRProcessEnd(
SRRecognizer recognizer,
Boolean failed) ;
#pragma pack(pop)
# 64 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecurityHI.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecurityHI.h" 3
#define __SECURITYHI__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
#define __KEYCHAINHI__
# 43 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCAddAppleSharePassword(
AFPServerSignature * serverSignature,
StringPtr serverAddress,
StringPtr serverName,
StringPtr volumeName,
StringPtr accountName,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 63 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCAddInternetPassword(
StringPtr serverName,
StringPtr securityDomain,
StringPtr accountName,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCAddInternetPasswordWithPath(
StringPtr serverName,
StringPtr securityDomain,
StringPtr accountName,
StringPtr path,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 106 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCAddGenericPassword(
StringPtr serviceName,
StringPtr accountName,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 124 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCAddItem(KCItemRef item) ;
# 137 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCUnlock(
KCRef keychain,
StringPtr password) ;
# 151 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCCreateKeychain(
StringPtr password,
KCRef * keychain) ;
# 165 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCChangeSettings(KCRef keychain) ;
# 177 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kcunlock(
KCRef keychain,
const char * password) ;
# 191 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kccreatekeychain(
const char * password,
KCRef * keychain) ;
# 205 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kcaddapplesharepassword(
AFPServerSignature * serverSignature,
const char * serverAddress,
const char * serverName,
const char * volumeName,
const char * accountName,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 225 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kcaddinternetpassword(
const char * serverName,
const char * securityDomain,
const char * accountName,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 246 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kcaddinternetpasswordwithpath(
const char * serverName,
const char * securityDomain,
const char * accountName,
const char * path,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 268 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kcaddgenericpassword(
const char * serviceName,
const char * accountName,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 26 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecurityHI.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
#define __URLACCESS__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
#pragma pack(push, 2)
typedef struct OpaqueURLReference* URLReference;
typedef UInt32 URLOpenFlags;
enum {
kURLReplaceExistingFlag = 1 << 0,
kURLBinHexFileFlag = 1 << 1,
kURLExpandFileFlag = 1 << 2,
kURLDisplayProgressFlag = 1 << 3,
kURLDisplayAuthFlag = 1 << 4,
kURLUploadFlag = 1 << 5,
kURLIsDirectoryHintFlag = 1 << 6,
kURLDoNotTryAnonymousFlag = 1 << 7,
kURLDirectoryListingFlag = 1 << 8,
kURLExpandAndVerifyFlag = 1 << 9,
kURLNoAutoRedirectFlag = 1 << 10,
kURLDebinhexOnlyFlag = 1 << 11,
kURLDoNotDeleteOnErrorFlag = 1 << 12,
kURLResumeDownloadFlag = 1 << 13,
kURLReservedFlag = (unsigned long)(1 << 31)
};
typedef UInt32 URLState;
enum {
kURLNullState = 0,
kURLInitiatingState = 1,
kURLLookingUpHostState = 2,
kURLConnectingState = 3,
kURLResourceFoundState = 4,
kURLDownloadingState = 5,
kURLDataAvailableState = 0x10 + kURLDownloadingState,
kURLTransactionCompleteState = 6,
kURLErrorOccurredState = 7,
kURLAbortingState = 8,
kURLCompletedState = 9,
kURLUploadingState = 10
};
typedef UInt32 URLEvent;
enum {
kURLInitiatedEvent = kURLInitiatingState,
kURLResourceFoundEvent = kURLResourceFoundState,
kURLDownloadingEvent = kURLDownloadingState,
kURLAbortInitiatedEvent = kURLAbortingState,
kURLCompletedEvent = kURLCompletedState,
kURLErrorOccurredEvent = kURLErrorOccurredState,
kURLDataAvailableEvent = kURLDataAvailableState,
kURLTransactionCompleteEvent = kURLTransactionCompleteState,
kURLUploadingEvent = kURLUploadingState,
kURLSystemEvent = 29,
kURLPercentEvent = 30,
kURLPeriodicEvent = 31,
kURLPropertyChangedEvent = 32
};
typedef unsigned long URLEventMask;
enum {
kURLInitiatedEventMask = 1 << (kURLInitiatedEvent - 1),
kURLResourceFoundEventMask = 1 << (kURLResourceFoundEvent - 1),
kURLDownloadingMask = 1 << (kURLDownloadingEvent - 1),
kURLUploadingMask = 1 << (kURLUploadingEvent - 1),
kURLAbortInitiatedMask = 1 << (kURLAbortInitiatedEvent - 1),
kURLCompletedEventMask = 1 << (kURLCompletedEvent - 1),
kURLErrorOccurredEventMask = 1 << (kURLErrorOccurredEvent - 1),
kURLDataAvailableEventMask = 1 << (kURLDataAvailableEvent - 1),
kURLTransactionCompleteEventMask = 1 << (kURLTransactionCompleteEvent - 1),
kURLSystemEventMask = 1 << (kURLSystemEvent - 1),
kURLPercentEventMask = 1 << (kURLPercentEvent - 1),
kURLPeriodicEventMask = 1 << (kURLPeriodicEvent - 1),
kURLPropertyChangedEventMask = 1 << (kURLPropertyChangedEvent - 1),
kURLAllBufferEventsMask = kURLDataAvailableEventMask + kURLTransactionCompleteEventMask,
kURLAllNonBufferEventsMask = kURLInitiatedEventMask + kURLDownloadingMask + kURLUploadingMask + kURLAbortInitiatedMask + kURLCompletedEventMask + kURLErrorOccurredEventMask + kURLPercentEventMask + kURLPeriodicEventMask + kURLPropertyChangedEventMask,
kURLAllEventsMask = (long)0xFFFFFFFF
};
struct URLCallbackInfo {
UInt32 version;
URLReference urlRef;
const char * property;
UInt32 currentSize;
EventRecord * systemEvent;
};
typedef struct URLCallbackInfo URLCallbackInfo;
enum {
kUserNameAndPasswordFlag = 0x00000001
};
#define kURLURL "URLString"
#define kURLResourceSize "URLResourceSize"
#define kURLLastModifiedTime "URLLastModifiedTime"
#define kURLMIMEType "URLMIMEType"
#define kURLFileType "URLFileType"
#define kURLFileCreator "URLFileCreator"
#define kURLCharacterSet "URLCharacterSet"
#define kURLResourceName "URLResourceName"
#define kURLHost "URLHost"
#define kURLAuthType "URLAuthType"
#define kURLUserName "URLUserName"
#define kURLPassword "URLPassword"
#define kURLStatusString "URLStatusString"
#define kURLIsSecure "URLIsSecure"
#define kURLCertificate "URLCertificate"
#define kURLTotalItems "URLTotalItems"
#define kURLConnectTimeout "URLConnectTimeout"
#define kURLHTTPRequestMethod "URLHTTPRequestMethod"
#define kURLHTTPRequestHeader "URLHTTPRequestHeader"
#define kURLHTTPRequestBody "URLHTTPRequestBody"
#define kURLHTTPRespHeader "URLHTTPRespHeader"
#define kURLHTTPUserAgent "URLHTTPUserAgent"
#define kURLHTTPRedirectedURL "URLHTTPRedirectedURL"
#define kURLSSLCipherSuite "URLSSLCipherSuite"
# 174 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetURLAccessVersion(UInt32 * returnVers) __attribute__((deprecated));
# 190 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
#define URLAccessAvailable() (true)
typedef OSStatus ( * URLNotifyProcPtr)(void *userContext, URLEvent event, URLCallbackInfo *callbackInfo);
typedef OSStatus ( * URLSystemEventProcPtr)(void *userContext, EventRecord *event);
typedef URLNotifyProcPtr URLNotifyUPP;
typedef URLSystemEventProcPtr URLSystemEventUPP;
# 206 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern URLNotifyUPP
NewURLNotifyUPP(URLNotifyProcPtr userRoutine) __attribute__((deprecated));
# 217 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern URLSystemEventUPP
NewURLSystemEventUPP(URLSystemEventProcPtr userRoutine) __attribute__((deprecated));
# 228 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern void
DisposeURLNotifyUPP(URLNotifyUPP userUPP) __attribute__((deprecated));
# 239 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern void
DisposeURLSystemEventUPP(URLSystemEventUPP userUPP) __attribute__((deprecated));
# 250 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
InvokeURLNotifyUPP(
void * userContext,
URLEvent event,
URLCallbackInfo * callbackInfo,
URLNotifyUPP userUPP) __attribute__((deprecated));
# 265 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
InvokeURLSystemEventUPP(
void * userContext,
EventRecord * event,
URLSystemEventUPP userUPP) __attribute__((deprecated));
# 280 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
#define NewURLNotifyUPP(userRoutine) ((URLNotifyUPP)userRoutine)
#define NewURLSystemEventUPP(userRoutine) ((URLSystemEventUPP)userRoutine)
#define DisposeURLNotifyUPP(userUPP)
#define DisposeURLSystemEventUPP(userUPP)
#define InvokeURLNotifyUPP(userContext,event,callbackInfo,userUPP) (*userUPP)(userContext, event, callbackInfo)
#define InvokeURLSystemEventUPP(userContext,event,userUPP) (*userUPP)(userContext, event)
# 297 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLSimpleDownload(
const char * url,
FSSpec * destination,
Handle destinationHandle,
URLOpenFlags openFlags,
URLSystemEventUPP eventProc,
void * userContext) __attribute__((deprecated));
# 315 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLDownload(
URLReference urlRef,
FSSpec * destination,
Handle destinationHandle,
URLOpenFlags openFlags,
URLSystemEventUPP eventProc,
void * userContext) __attribute__((deprecated));
# 333 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLSimpleUpload(
const char * url,
const FSSpec * source,
URLOpenFlags openFlags,
URLSystemEventUPP eventProc,
void * userContext) __attribute__((deprecated));
# 350 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLUpload(
URLReference urlRef,
const FSSpec * source,
URLOpenFlags openFlags,
URLSystemEventUPP eventProc,
void * userContext) __attribute__((deprecated));
# 367 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLNewReference(
const char * url,
URLReference * urlRef) __attribute__((deprecated));
# 381 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLDisposeReference(URLReference urlRef) __attribute__((deprecated));
# 393 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLOpen(
URLReference urlRef,
FSSpec * fileSpec,
URLOpenFlags openFlags,
URLNotifyUPP notifyProc,
URLEventMask eventRegister,
void * userContext) __attribute__((deprecated));
# 411 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLAbort(URLReference urlRef) __attribute__((deprecated));
# 423 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetDataAvailable(
URLReference urlRef,
Size * dataSize) __attribute__((deprecated));
# 437 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetBuffer(
URLReference urlRef,
void ** buffer,
Size * bufferSize) __attribute__((deprecated));
# 452 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLReleaseBuffer(
URLReference urlRef,
void * buffer) __attribute__((deprecated));
# 466 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetProperty(
URLReference urlRef,
const char * property,
void * propertyBuffer,
Size bufferSize) __attribute__((deprecated));
# 482 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetPropertySize(
URLReference urlRef,
const char * property,
Size * propertySize) __attribute__((deprecated));
# 497 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLSetProperty(
URLReference urlRef,
const char * property,
void * propertyBuffer,
Size bufferSize) __attribute__((deprecated));
# 513 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetCurrentState(
URLReference urlRef,
URLState * state) __attribute__((deprecated));
# 527 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetError(
URLReference urlRef,
OSStatus * urlError) __attribute__((deprecated));
# 541 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLIdle(void) __attribute__((deprecated));
# 553 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetFileInfo(
StringPtr fName,
OSType * fType,
OSType * fCreator) __attribute__((deprecated));
#pragma pack(pop)
# 30 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecurityHI.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 1 3
# 36 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
#define __SECCERTIFICATESUPPORT__ 1
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 1 3
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 2 3
# 52 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
enum {
typeSecIdentityRef = 'sidy'
};
# 64 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecChooseIdentity(CFStringRef displayInfo, CFArrayRef identities, SecIdentityRef *identityRef) ;
# 75 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecChooseIdentityAsSheet(WindowRef parentWindow, EventTargetRef inTarget, CFStringRef displayInfo, CFArrayRef identities) ;
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecDisplayCertificate(SecCertificateRef certificate, CFArrayRef keychainList) ;
# 93 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecDisplayCertificateGroup(const CSSM_CERTGROUP *certificates, CFArrayRef keychainList) ;
# 103 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecEditTrust(CFStringRef displayInfo, SecTrustRef trust) ;
# 114 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecEditTrustAsSheet(WindowRef parentWindow, EventTargetRef inTarget, CFStringRef displayInfo, SecTrustRef trust) ;
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecurityHI.h" 2 3
# 68 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
#define __INK__
# 40 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
#pragma pack(push, 2)
# 200 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef struct OpaqueInkTextRef* InkTextRef;
# 222 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef struct OpaqueInkStrokeRef* InkStrokeRef;
# 231 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
struct InkPoint {
HIPoint point;
TabletPointRec tabletPointData;
UInt32 keyModifiers;
};
typedef struct InkPoint InkPoint;
typedef InkPoint * InkPointPtr;
# 262 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef CFIndex InkAlternateCount;
# 274 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef FourCharCode InkUserWritingModeType;
enum {
kInkWriteNowhere = 'nowh',
kInkWriteAnywhere = 'anyw',
kInkWriteInInkAwareAppsOnly = 'iapp'
};
# 289 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef FourCharCode InkApplicationWritingModeType;
enum {
kInkWriteNowhereInApp = 'nowa',
kInkWriteAnywhereInApp = 'anya'
};
# 303 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef UInt32 InkDrawingModeType;
enum {
kInkDrawNothing = 0,
kInkDrawInkOnly = 1,
kInkDrawInkAndWritingGuides = 2
};
# 318 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef UInt32 InkTextDrawFlagsType;
enum {
kInkTextDrawDefault = 0,
kInkTextDrawIgnorePressure = 1,
kInkTextDrawHonorContext = 1 << 1
};
# 361 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef UInt32 InkTerminationType;
enum {
kInkTerminationNone = 0,
kInkTerminationTimeOut = 1,
# 387 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
kInkTerminationOutOfProximity = 1 << 1,
kInkTerminationRecognizerHorizontalBreak = 1 << 2,
kInkTerminationRecognizerVerticalBreak = 1 << 3,
kInkTerminationStroke = 1 << 4,
kInkTerminationDefault = 0x0F,
# 411 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
kInkTerminationAll = (UInt32)0xFFFFFFFF
};
# 427 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef UInt32 InkSourceType;
enum {
kInkSourceUser = 1,
kInkSourceApplication = 2
};
# 454 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef UInt32 InkRecognitionType;
enum {
kInkRecognitionNone = 0,
kInkRecognitionText = 1,
kInkRecognitionGesture = 1 << 1,
kInkRecognitionDefault = 3
};
# 546 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef FourCharCode InkGestureKind;
enum {
kInkGestureUndo = 'undo',
kInkGestureCut = 'cut ',
kInkGestureCopy = 'copy',
kInkGesturePaste = 'past',
kInkGestureClear = 'clea',
kInkGestureSelectAll = 'sall',
kInkGestureEscape = 'not!',
kInkGestureTab = 'tab ',
kInkGestureLeftSpace = 'lspc',
kInkGestureRightSpace = 'rspc',
# 587 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
kInkGestureLeftReturn = 'lrtn',
kInkGestureRightReturn = 'rrtn',
# 599 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
kInkGestureDelete = 'del ',
# 623 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
kInkGestureJoin = 'join'
};
enum {
kInkAlternateCommand = 'inka',
kInkSeparatorCommand = 'inks',
kInkDrawingCommand = 'inkd'
};
# 671 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
enum {
kInkTabletPointerUnknown = 0 + 0,
kInkTabletPointerPen = 1 + 0,
kInkTabletPointerCursor = 2 + 0,
kInkTabletPointerEraser = 3 + 0
};
# 714 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
enum {
kInkPenTipButtonMask = 0x0001 + 0,
kInkPenLowerSideButtonMask = 0x0002 + 0,
kInkPenUpperSideButtonMask = 0x0004 + 0
};
# 775 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern InkUserWritingModeType
InkUserWritingMode(void) ;
# 809 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkSetApplicationWritingMode(InkApplicationWritingModeType iWriteWhere) ;
# 836 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkSetApplicationRecognitionMode(InkRecognitionType iRecognitionType) ;
# 898 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkSetPhraseTerminationMode(
InkSourceType iSource,
InkTerminationType iAllowedTerminationTypes) ;
# 933 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern Boolean
InkIsPhraseInProgress(void) ;
#define InkIsInking InkIsPhraseInProgress
# 969 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkSetDrawingMode(InkDrawingModeType iDrawingMode) ;
# 1013 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkAddStrokeToCurrentPhrase(
unsigned long iPointCount,
InkPoint * iPointArray) ;
# 1049 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkTerminateCurrentPhrase(InkSourceType iSource) ;
# 1077 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFIndex
InkTextAlternatesCount(InkTextRef iTextRef) ;
# 1109 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFStringRef
InkTextCreateCFString(
InkTextRef iTextRef,
CFIndex iAlternateIndex) ;
# 1199 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern ItemCount
InkTextInsertAlternatesInMenu(
InkTextRef iTextRef,
MenuRef iMenuRef,
MenuItemIndex iAfterItem) ;
# 1238 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern UInt32
InkTextKeyModifiers(InkTextRef iTextRef) ;
# 1268 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern InkTextRef
InkTextCopy(InkTextRef iTextRef) ;
# 1295 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern HIRect
InkTextBounds(InkTextRef iTextRef) ;
# 1334 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkTextDraw(
InkTextRef iTextRef,
CGContextRef iContext,
const CGRect * iBounds,
InkTextDrawFlagsType iFlags) ;
# 1380 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFIndex
InkTextFlatten(
InkTextRef iTextRef,
CFMutableDataRef ioDataRef,
CFIndex iIndex) ;
# 1419 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern InkTextRef
InkTextCreateFromCFData(
CFDataRef iFlattenedInkText,
CFIndex iIndex) ;
# 1446 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFTypeID
InkTextGetTypeID(void) ;
# 1475 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFIndex
InkTextGetStrokeCount(InkTextRef iTextRef) ;
# 1520 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern InkStrokeRef
InkTextGetStroke(
InkTextRef iTextRef,
CFIndex iStrokeIndex) ;
# 1554 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFIndex
InkStrokeGetPointCount(InkStrokeRef iStrokeRef) ;
# 1591 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern InkPoint *
InkStrokeGetPoints(
InkStrokeRef iStrokeRef,
InkPoint * oPointBuffer) ;
# 1618 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFTypeID
InkStrokeGetTypeID(void) ;
#pragma pack(pop)
# 72 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/Help.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/Help.h" 3
#define __HELP__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
#define __APPLEHELP__
# 35 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
enum {
kAHInternalErr = -10790,
kAHInternetConfigPrefErr = -10791
};
typedef SInt16 AHTOCType;
enum {
kAHTOCTypeUser = 0,
kAHTOCTypeDeveloper = 1
};
# 74 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
extern OSStatus
AHSearch(
CFStringRef bookname,
CFStringRef query) ;
# 104 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
extern OSStatus
AHGotoMainTOC(AHTOCType toctype) __attribute__((deprecated));
# 144 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
extern OSStatus
AHGotoPage(
CFStringRef bookname,
CFStringRef path,
CFStringRef anchor) ;
# 180 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
extern OSStatus
AHLookupAnchor(
CFStringRef bookname,
CFStringRef anchor) ;
# 214 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
extern OSStatus
AHRegisterHelpBook(const FSRef * appBundleRef) ;
# 26 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/Help.h" 2 3
# 76 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h" 1 3
# 10 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h" 3
#define __IMAGECAPTURE__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 1 3
# 9 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
#define __ICAAPPLICATION__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
#pragma pack(push, 2)
# 46 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef OSErr ICAError;
# 56 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAPBVersion = 0x00010000
};
# 110 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICACommunicationErr = -9900,
kICADeviceNotFoundErr = -9901,
kICADeviceNotOpenErr = -9902,
kICAFileCorruptedErr = -9903,
kICAIOPendingErr = -9904,
kICAInvalidObjectErr = -9905,
kICAInvalidPropertyErr = -9906,
kICAIndexOutOfRangeErr = -9907,
kICAPropertyTypeNotFoundErr = -9908,
kICACannotYieldDevice = -9909,
kICADataTypeNotFoundErr = -9910,
kICADeviceMemoryAllocationErr = -9911,
kICADeviceInternalErr = -9912,
kICADeviceInvalidParamErr = -9913,
kICADeviceAlreadyOpenErr = -9914,
kICADeviceLocationIDNotFoundErr = -9915,
kICADeviceGUIDNotFoundErr = -9916,
kICADeviceIOServicePathNotFoundErr = -9917,
kICADeviceUnsupportedErr = -9918,
kICAFrameworkInternalErr = -9919,
kICAExtensionInternalErr = -9920,
kICAInvalidSessionErr = -9921
};
# 172 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICADevice = 'icdv',
kICADeviceCamera = 'cmra',
kICADeviceScanner = 'scan',
kICADeviceMFP = 'mfp ',
kICADevicePhone = 'phon',
kICADevicePDA = 'pda ',
kICADeviceOther = 'doth',
kICAList = 'objl',
kICADirectory = 'dire',
kICAFile = 'file',
kICAFileImage = 'imag',
kICAFileMovie = 'moov',
kICAFileAudio = 'audo',
kICAFileFirmware = 'firm',
kICAFileOther = 'othe'
};
# 233 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAProperty = 'prop',
kICAPropertyImageWidth = '0100',
kICAPropertyImageHeight = '0101',
kICAPropertyImageBitDepth = '0102',
kICAPropertyImageDPI = '011A',
kICAPropertyImageExposureTime = '829A',
kICAPropertyImageFNumber = '829D',
kICAPropertyImageDateOriginal = '9003',
kICAPropertyImageDateDigitized = '9004',
kICAPropertyImageShutterSpeed = '9201',
kICAPropertyImageAperture = '9202',
kICAPropertyImageFlash = '9209',
kICAPropertyColorSpace = 'A001',
kICAPropertyImageFilename = 'ifil',
kICAPropertyImageSize = 'isiz',
kICAPropertyImageData = 'idat',
kICAPropertyImageThumbnail = 'thum',
kICAPropertyColorSyncProfile = 'prof'
};
# 287 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICATypeUInt8 = 'ui08',
kICATypeUInt16 = 'ui16',
kICATypeUInt32 = 'ui32',
kICATypeUInt64 = 'ui64',
kICATypeSInt16 = 'si16',
kICATypeSInt32 = 'si32',
kICATypeSInt64 = 'si64',
kICATypeFloat = 'floa',
kICATypeFixed = 'sing',
kICATypeBoolean = 'bool',
kICATypeString = 'TEXT',
kICATypeData = 'data',
kICATypeThumbnail = 'thum'
};
# 314 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAFlagReadWriteAccess = 1L << 0,
kICAFlagReadAccess = 1L << 1
};
# 361 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAEventCancelTransaction = 'ecnt',
kICAEventObjectAdded = 'eoba',
kICAEventObjectRemoved = 'eobr',
kICAEventStoreAdded = 'esta',
kICAEventStoreRemoved = 'estr',
kICAEventDeviceAdded = 'edea',
kICAEventDeviceRemoved = 'eder',
kICAEventDevicePropChanged = 'edpc',
kICAEventObjectInfoChanged = 'eoic',
kICAEventDeviceInfoChanged = 'edic',
kICAEventRequestObjectTransfer = 'erot',
kICAEventStoreFull = 'estf',
kICAEventDeviceReset = 'edvr',
kICAEventStorageInfoChanged = 'esic',
kICAEventCaptureComplete = 'ecpc',
kICAEventUnreportedStatus = 'eurs',
kICAExtendedNotificationPB = 'extd',
kExtendedNotificationPB = 'extd'
};
# 398 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAEventClassPTPStandard = 'PTPs',
kICAEventClassPTPVendor = 'PTPv',
kEventClassPTPStandard = 'PTPs',
kEventClassPTPVendor = 'PTPv'
};
# 420 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAButtonScan = 'scan',
kICAButtonCopy = 'copy',
kICAButtonEMail = 'mail',
kICAButtonWeb = 'web '
};
# 440 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICACameraPassThruSend = 0,
kICACameraPassThruReceive = 1,
kICACameraPassThruNotUsed = 2
};
# 469 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAPTPPassThroughPB
{
UInt32 commandCode;
UInt32 resultCode;
UInt32 numOfInputParams;
UInt32 numOfOutputParams;
UInt32 params[4];
UInt32 dataUsageMode;
UInt32 flags;
UInt32 dataSize;
UInt8 data[1];
} ICAPTPPassThroughPB;
# 496 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAPTPEventDataset
{
UInt32 dataLength;
UInt16 containerType;
UInt16 eventCode;
UInt32 transactionID;
UInt32 params[3];
} ICAPTPEventDataset;
#pragma mark -
#pragma mark TODO: document the data types of values for these keys
extern const CFStringRef kICADevicesArrayKey ;
extern const CFStringRef kICAObjectKey ;
extern const CFStringRef kICAObjectNameKey ;
extern const CFStringRef kICAUSBVendorIDKey ;
extern const CFStringRef kICAUSBProductIDKey ;
extern const CFStringRef kICADeviceTypeKey ;
extern const CFStringRef kICAExecutableArchitectureKey ;
extern const CFStringRef kICARemoteDeviceKey ;
extern const CFStringRef kICADeviceSharedKey ;
extern const CFStringRef kICADeviceWebSharedKey ;
extern const CFStringRef kICADeviceUsedKey ;
extern const CFStringRef kICABonjourServiceTypeKey ;
extern const CFStringRef kICABonjourServiceNameKey ;
extern const CFStringRef kICABonjourTXTRecordKey ;
extern const CFStringRef kICADeviceCapabilitiesKey ;
extern const CFStringRef kICALockStatusKey ;
extern const CFStringRef kICADataPropertyKey ;
extern const CFStringRef kICADataTypeKey ;
extern const CFStringRef kICADataSizeKey ;
extern const CFStringRef kICAThumbnailPropertyKey ;
extern const CFStringRef kICAThumbnailSizeKey ;
extern const CFStringRef kICARawKey ;
extern const CFStringRef kICAMediaHeightKey ;
extern const CFStringRef kICAMediaWidthKey ;
extern const CFStringRef kICACreationDateStringKey ;
extern const CFStringRef kICAModificationDateStringKey ;
extern const CFStringRef kMetaDataDictionaryKey ;
extern const CFStringRef kICAMediaDurationInSecondsKey ;
extern const CFStringRef kICADeviceTypeCamera ;
extern const CFStringRef kICADeviceTypeScanner ;
# 555 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern const CFStringRef kICAUSBTransportType ;
extern const CFStringRef kICAFireWireTransportType ;
extern const CFStringRef kICABluetoothTransportType ;
extern const CFStringRef kICATCPIPTransportType ;
extern const CFStringRef kICASCSITransportType ;
extern const CFStringRef kICATWAINTransportType ;
extern const CFStringRef kICAManualConnectDeviceRefKey __attribute__((deprecated));
extern const CFStringRef kICADeviceBrowserDeviceRefKey ;
extern const CFStringRef kICADeviceModulePathKey ;
extern const CFStringRef kICADeviceIconPathKey ;
extern const CFStringRef kICATransportTypeKey ;
extern const CFStringRef kICABluetoothAddressKey ;
extern const CFStringRef kICAUSBLocationIDKey ;
extern const CFStringRef kICAFireWireGUIDKey ;
extern const CFStringRef kICAIOServicePathKey ;
extern const CFStringRef kICAIPAddressKey ;
extern const CFStringRef kICAIPPortKey ;
extern const CFStringRef kICAIPNameKey ;
extern const CFStringRef kICAIPGUIDKey ;
extern const CFStringRef kICATWAINDSPathKey ;
# 590 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAHeader {
ICAError err;
unsigned long refcon;
} ICAHeader;
typedef void ( * ICACompletion)(ICAHeader* pb);
typedef Boolean ( * ICAImportFilterProc)(CFDictionaryRef imageInfo, unsigned long refcon);
typedef void ( * ICANotificationProc)(CFStringRef notificationType, CFDictionaryRef notificationDictionary);
typedef UInt32 ICAObject;
typedef UInt32 ICAProperty;
typedef UInt32 ICAConnectionID;
typedef UInt32 ICASessionID;
typedef ICASessionID ICAScannerSessionID;
typedef UInt32 ICAEventDataCookie;
#pragma mark -
#pragma mark General APIs
# 624 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAAllowMultipleImages = 0x00000001,
kICADownloadAndReturnPathArray = 0x00000002
};
# 645 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAImportImagePB {
ICAHeader header;
ICAObject deviceObject;
UInt32 flags;
CFArrayRef supportedFileTypes;
ICAImportFilterProc filterProc;
CFArrayRef* importedImages;
} ICAImportImagePB;
# 696 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAImportImage(
ICAImportImagePB* pb,
ICACompletion completion
) ;
# 718 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAShowDeviceBrowser(
CFDictionaryRef options
) ;
# 753 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef void ( * ICANotification)(CFStringRef notificationType, CFDictionaryRef notificationDictionary);
extern const CFStringRef kICANotificationTypeObjectAdded ;
extern const CFStringRef kICANotificationTypeObjectRemoved ;
extern const CFStringRef kICANotificationTypeObjectInfoChanged ;
extern const CFStringRef kICANotificationTypeStoreAdded ;
extern const CFStringRef kICANotificationTypeStoreRemoved ;
extern const CFStringRef kICANotificationTypeStoreFull ;
extern const CFStringRef kICANotificationTypeStoreInfoChanged ;
extern const CFStringRef kICANotificationTypeDeviceAdded ;
extern const CFStringRef kICANotificationTypeDeviceRemoved ;
extern const CFStringRef kICANotificationTypeDeviceInfoChanged ;
extern const CFStringRef kICANotificationTypeDevicePropertyChanged ;
extern const CFStringRef kICANotificationTypeDeviceWasReset ;
extern const CFStringRef kICANotificationTypeCaptureComplete ;
extern const CFStringRef kICANotificationTypeRequestObjectTransfer ;
extern const CFStringRef kICANotificationTypeTransactionCanceled ;
extern const CFStringRef kICANotificationTypeUnreportedStatus ;
extern const CFStringRef kICANotificationTypeProprietary ;
extern const CFStringRef kICANotificationTypeDeviceConnectionProgress ;
extern const CFStringRef kICANotificationTypeDownloadProgressStatus ;
extern const CFStringRef kICANotificationTypeScanProgressStatus ;
extern const CFStringRef kICANotificationTypeScannerSessionClosed ;
extern const CFStringRef kICANotificationTypeScannerScanDone ;
extern const CFStringRef kICANotificationTypeScannerPageDone ;
extern const CFStringRef kICANotificationTypeScannerButtonPressed ;
extern const CFStringRef kICAErrorKey ;
extern const CFStringRef kICARefconKey ;
extern const CFStringRef kICANotificationICAObjectKey ;
extern const CFStringRef kICANotificationDeviceICAObjectKey ;
extern const CFStringRef kICANotificationDeviceListICAObjectKey ;
extern const CFStringRef kICANotificationClassKey ;
extern const CFStringRef kICANotificationTypeKey ;
extern const CFStringRef kICANotificationRawEventKey ;
extern const CFStringRef kICANotificationDataKey ;
extern const CFStringRef kICANotificationDataSizeKey ;
extern const CFStringRef kICANotificationDataCookieKey ;
extern const CFStringRef kICANotificationImageKey ;
extern const CFStringRef kICANotificationImageWidthKey ;
extern const CFStringRef kICANotificationImageHeightKey ;
extern const CFStringRef kICANotificationImageBytesPerRowKey ;
extern const CFStringRef kICANotificationImageStartRowKey ;
extern const CFStringRef kICANotificationImageNumberOfRowsKey ;
extern const CFStringRef kICANotificationImageDataKey ;
extern const CFStringRef kICANotificationImageDataSizeKey ;
extern const CFStringRef kICANotificationDataIsBigEndianKey ;
extern const CFStringRef kICANotificationScannerDocumentNameKey ;
extern const CFStringRef kICANotificationScannerButtonTypeKey ;
extern const CFStringRef kICANotificationNumerOfImagesRemainingKey ;
extern const CFStringRef kICANotificationPercentDownloadedKey ;
extern const CFStringRef kICANotificationClassPTPStandard ;
extern const CFStringRef kICANotificationClassPTPVendor ;
extern const CFStringRef kICANotificationClassProprietary ;
extern const CFStringRef kICADevicePropUndefined ;
extern const CFStringRef kICADevicePropBatteryLevel ;
extern const CFStringRef kICADevicePropFunctionalMode ;
extern const CFStringRef kICADevicePropImageSize ;
extern const CFStringRef kICADevicePropCompressionSetting ;
extern const CFStringRef kICADevicePropWhiteBalance ;
extern const CFStringRef kICADevicePropRGBGain ;
extern const CFStringRef kICADevicePropFNumber ;
extern const CFStringRef kICADevicePropFocalLength ;
extern const CFStringRef kICADevicePropFocusDistance ;
extern const CFStringRef kICADevicePropFocusMode ;
extern const CFStringRef kICADevicePropExposureMeteringMode ;
extern const CFStringRef kICADevicePropFlashMode ;
extern const CFStringRef kICADevicePropExposureTime ;
extern const CFStringRef kICADevicePropExposureProgramMode ;
extern const CFStringRef kICADevicePropExposureIndex ;
extern const CFStringRef kICADevicePropExposureBiasCompensation ;
extern const CFStringRef kICADevicePropDateTime ;
extern const CFStringRef kICADevicePropCaptureDelay ;
extern const CFStringRef kICADevicePropStillCaptureMode ;
extern const CFStringRef kICADevicePropContrast ;
extern const CFStringRef kICADevicePropSharpness ;
extern const CFStringRef kICADevicePropDigitalZoom ;
extern const CFStringRef kICADevicePropEffectMode ;
extern const CFStringRef kICADevicePropBurstNumber ;
extern const CFStringRef kICADevicePropBurstInterval ;
extern const CFStringRef kICADevicePropTimelapseNumber ;
extern const CFStringRef kICADevicePropTimelapseInterval ;
extern const CFStringRef kICADevicePropFocusMeteringMode ;
extern const CFStringRef kICADevicePropUploadURL ;
extern const CFStringRef kICADevicePropArtist ;
extern const CFStringRef kICADevicePropCopyrightInfo ;
# 879 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICARegisterForEventNotificationPB {
ICAHeader header;
ICAObject objectOfInterest;
CFArrayRef eventsOfInterest;
ICANotification notificationProc;
CFDictionaryRef options;
} ICARegisterForEventNotificationPB;
# 900 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICARegisterForEventNotification(
ICARegisterForEventNotificationPB* params,
ICACompletion completionProc
) ;
typedef struct ICASendNotificationPB
{
ICAHeader header;
CFMutableDictionaryRef notificationDictionary;
UInt32 replyCode;
} ICASendNotificationPB;
extern ICAError ICASendNotification( ICASendNotificationPB* pb );
extern ICAError ICASendNotificationAndWaitForReply( ICASendNotificationPB* pb );
#pragma mark -
#pragma mark Object related APIs
# 930 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetDeviceListPB {
ICAHeader header;
ICAObject object;
} ICAGetDeviceListPB;
# 971 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetDeviceList(
ICAGetDeviceListPB* pb,
ICACompletion completion
) ;
# 987 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICACopyObjectPropertyDictionaryPB {
ICAHeader header;
ICAObject object;
CFDictionaryRef* theDict;
} ICACopyObjectPropertyDictionaryPB;
# 1033 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICACopyObjectPropertyDictionary(
ICACopyObjectPropertyDictionaryPB* pb,
ICACompletion completion
) ;
# 1053 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAThumbnailFormatICA = 'ica ',
kICAThumbnailFormatJPEG = 'jpeg',
kICAThumbnailFormatTIFF = 'tiff',
kICAThumbnailFormatPNG = 'png '
};
# 1072 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICACopyObjectThumbnailPB {
ICAHeader header;
ICAObject object;
OSType thumbnailFormat;
CFDataRef* thumbnailData;
} ICACopyObjectThumbnailPB;
# 1120 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICACopyObjectThumbnail(
ICACopyObjectThumbnailPB* pb,
ICACompletion completion
) ;
# 1141 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICACopyObjectDataPB {
ICAHeader header;
ICAObject object;
size_t startByte;
size_t requestedSize;
CFDataRef* data;
} ICACopyObjectDataPB;
# 1163 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICACopyObjectData(
ICACopyObjectDataPB* params,
ICACompletion completionProc
) ;
# 1183 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAMessage {
OSType messageType;
UInt32 startByte;
void * dataPtr;
UInt32 dataSize;
OSType dataType;
} ICAMessage;
# 1214 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAMessageConnect = 'open',
kICAMessageDisconnect = 'clos',
kICAMessageReset = 'rese',
kICAMessageCheckDevice = 'chkd',
kICAMessageCameraReadClock = 'rclk',
kICAMessageGetLastButtonPressed = 'btn?',
kMessageGetEventData = 'mged',
kICAMessageGetEventData = 'mged',
kICAMessageDeviceYield = 'yiel',
kICAMessageCameraPassThrough = 'pass'
};
# 1239 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAObjectSendMessagePB {
ICAHeader header;
ICAObject object;
ICAMessage message;
UInt32 result;
} ICAObjectSendMessagePB;
# 1259 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAObjectSendMessage(
ICAObjectSendMessagePB* pb,
ICACompletion completion
) ;
# 1285 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kDeleteAfterDownload = 0x00000001,
kCreateCustomIcon = 0x00000002,
kAddMetaDataToFinderComment = 0x00000004,
kAdjustCreationDate = 0x00000008,
kSetFileTypeAndCreator = 0x00000010,
kRotateImage = 0x00000040,
kDontEmbedColorSyncProfile = 0x00000080
};
# 1316 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICADownloadFilePB {
ICAHeader header;
ICAObject object;
FSRef * dirFSRef;
UInt32 flags;
OSType fileType;
OSType fileCreator;
Fixed rotationAngle;
FSRef * fileFSRef;
} ICADownloadFilePB;
# 1371 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICADownloadFile(
ICADownloadFilePB* pb,
ICACompletion completion
) ;
# 1387 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAUploadFileAsIs = 0x00000000,
kICAUploadFileScaleToFit = 0x00000001
};
# 1404 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAUploadFilePB {
ICAHeader header;
ICAObject parentObject;
FSRef* fileFSRef;
UInt32 flags;
} ICAUploadFilePB;
# 1452 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAUploadFile(
ICAUploadFilePB* pb,
ICACompletion completion
) ;
#pragma mark -
#pragma mark Device related APIs
# 1487 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICALoadDeviceModulePB {
ICAHeader header;
CFDictionaryRef paramDictionary;
} ICALoadDeviceModulePB;
# 1505 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICALoadDeviceModule(
ICALoadDeviceModulePB* pb,
ICACompletion completion
) ;
# 1519 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAUnloadDeviceModulePB {
ICAHeader header;
ICAObject deviceObject;
} ICAUnloadDeviceModulePB;
# 1537 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAUnloadDeviceModule(
ICAUnloadDeviceModulePB* pb,
ICACompletion completion
) ;
# 1553 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAOpenSessionPB {
ICAHeader header;
ICAObject deviceObject;
ICASessionID sessionID;
} ICAOpenSessionPB;
# 1572 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAOpenSession(
ICAOpenSessionPB* pb,
ICACompletion completion
) ;
# 1586 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICACloseSessionPB {
ICAHeader header;
ICASessionID sessionID;
} ICACloseSessionPB;
# 1604 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICACloseSession(
ICACloseSessionPB* pb,
ICACompletion completion
) ;
# 1620 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerOpenSessionPB {
ICAHeader header;
ICAObject object;
ICAScannerSessionID sessionID;
} ICAScannerOpenSessionPB;
# 1639 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerOpenSession(
ICAScannerOpenSessionPB* pb,
ICACompletion completion
) ;
# 1653 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerCloseSessionPB {
ICAHeader header;
ICAScannerSessionID sessionID;
} ICAScannerCloseSessionPB;
# 1671 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerCloseSession(
ICAScannerCloseSessionPB* pb,
ICACompletion completion
) ;
# 1685 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerInitializePB {
ICAHeader header;
ICAScannerSessionID sessionID;
} ICAScannerInitializePB;
# 1703 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerInitialize(
ICAScannerInitializePB* pb,
ICACompletion completion
) ;
# 1719 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerGetParametersPB {
ICAHeader header;
ICAScannerSessionID sessionID;
CFMutableDictionaryRef theDict;
} ICAScannerGetParametersPB;
# 1738 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerGetParameters(
ICAScannerGetParametersPB* pb,
ICACompletion completion
) ;
# 1754 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerSetParametersPB {
ICAHeader header;
ICAScannerSessionID sessionID;
CFMutableDictionaryRef theDict;
} ICAScannerSetParametersPB;
# 1773 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerSetParameters(
ICAScannerSetParametersPB* pb,
ICACompletion completion
) ;
# 1789 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerStatusPB {
ICAHeader header;
ICAScannerSessionID sessionID;
UInt32 status;
} ICAScannerStatusPB;
# 1808 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerStatus(
ICAScannerStatusPB* pb,
ICACompletion completion
) ;
# 1822 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerStartPB {
ICAHeader header;
ICAScannerSessionID sessionID;
} ICAScannerStartPB;
# 1840 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerStart(
ICAScannerStartPB* pb,
ICACompletion completion
) ;
#pragma mark -
#pragma mark Deprecated APIs
# 1863 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAThumbnail {
UInt32 width;
UInt32 height;
UInt32 dataSize;
UInt8 data[1];
} ICAThumbnail __attribute__((deprecated));
# 1880 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetChildCountPB {
ICAHeader header;
ICAObject object;
UInt32 count;
} ICAGetChildCountPB __attribute__((deprecated));
# 1918 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetChildCount(
ICAGetChildCountPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 1932 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAObjectInfo {
OSType objectType;
OSType objectSubtype;
} ICAObjectInfo;
# 1950 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetNthChildPB {
ICAHeader header;
ICAObject parentObject;
UInt32 index;
ICAObject childObject;
ICAObjectInfo childInfo;
} ICAGetNthChildPB __attribute__((deprecated));
# 1999 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetNthChild(
ICAGetNthChildPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2015 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetObjectInfoPB {
ICAHeader header;
ICAObject object;
ICAObjectInfo objectInfo;
} ICAGetObjectInfoPB __attribute__((deprecated));
# 2034 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetObjectInfo(
ICAGetObjectInfoPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2052 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetParentOfObjectPB {
ICAHeader header;
ICAObject object;
ICAObject parentObject;
ICAObjectInfo parentInfo;
} ICAGetParentOfObjectPB __attribute__((deprecated));
# 2072 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetParentOfObject(
ICAGetParentOfObjectPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2090 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetRootOfObjectPB {
ICAHeader header;
ICAObject object;
ICAObject rootObject;
ICAObjectInfo rootInfo;
} ICAGetRootOfObjectPB __attribute__((deprecated));
# 2110 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetRootOfObject(
ICAGetRootOfObjectPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2126 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetObjectRefConPB {
ICAHeader header;
ICAObject object;
unsigned long objectRefCon;
} ICAGetObjectRefConPB __attribute__((deprecated));
# 2145 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetObjectRefCon(
ICAGetObjectRefConPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2161 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICASetObjectRefConPB {
ICAHeader header;
ICAObject object;
unsigned long objectRefCon;
} ICASetObjectRefConPB __attribute__((deprecated));
# 2180 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICASetObjectRefCon(
ICASetObjectRefConPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2196 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetPropertyCountPB {
ICAHeader header;
ICAObject object;
UInt32 count;
} ICAGetPropertyCountPB __attribute__((deprecated));
# 2215 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetPropertyCount(
ICAGetPropertyCountPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2233 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAPropertyInfo {
OSType propertyType;
OSType dataType;
UInt32 dataSize;
UInt32 dataFlags;
} ICAPropertyInfo;
# 2253 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetNthPropertyPB {
ICAHeader header;
ICAObject object;
UInt32 index;
ICAProperty property;
ICAPropertyInfo propertyInfo;
} ICAGetNthPropertyPB __attribute__((deprecated));
# 2274 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetNthProperty(
ICAGetNthPropertyPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2294 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetPropertyByTypePB {
ICAHeader header;
ICAObject object;
OSType propertyType;
ICAProperty property;
ICAPropertyInfo propertyInfo;
} ICAGetPropertyByTypePB __attribute__((deprecated));
# 2315 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetPropertyByType(
ICAGetPropertyByTypePB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2331 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetPropertyInfoPB {
ICAHeader header;
ICAProperty property;
ICAPropertyInfo propertyInfo;
} ICAGetPropertyInfoPB __attribute__((deprecated));
# 2350 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetPropertyInfo(
ICAGetPropertyInfoPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2368 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetParentOfPropertyPB {
ICAHeader header;
ICAProperty property;
ICAObject parentObject;
ICAObjectInfo parentInfo;
} ICAGetParentOfPropertyPB __attribute__((deprecated));
# 2388 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetParentOfProperty(
ICAGetParentOfPropertyPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2406 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetRootOfPropertyPB {
ICAHeader header;
ICAProperty property;
ICAObject rootObject;
ICAObjectInfo rootInfo;
} ICAGetRootOfPropertyPB __attribute__((deprecated));
# 2426 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetRootOfProperty(
ICAGetRootOfPropertyPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2442 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAStartAtBeginning = 0,
kICAEntireLength = -1
};
# 2465 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetPropertyDataPB {
ICAHeader header;
ICAProperty property;
UInt32 startByte;
UInt32 requestedSize;
void * dataPtr;
UInt32 actualSize;
OSType dataType;
} ICAGetPropertyDataPB __attribute__((deprecated));
# 2488 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetPropertyData(
ICAGetPropertyDataPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2510 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICASetPropertyDataPB {
ICAHeader header;
ICAProperty property;
UInt32 startByte;
void * dataPtr;
UInt32 dataSize;
OSType dataType;
} ICASetPropertyDataPB __attribute__((deprecated));
# 2532 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICASetPropertyData(
ICASetPropertyDataPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2548 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetPropertyRefConPB {
ICAHeader header;
ICAProperty property;
UInt32 propertyRefCon;
} ICAGetPropertyRefConPB __attribute__((deprecated));
# 2567 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetPropertyRefCon(
ICAGetPropertyRefConPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2583 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICASetPropertyRefConPB {
ICAHeader header;
ICAProperty property;
UInt32 propertyRefCon;
} ICASetPropertyRefConPB __attribute__((deprecated));
# 2602 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICASetPropertyRefCon(
ICASetPropertyRefConPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2622 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICARegisterEventNotificationPB {
ICAHeader header;
ICAObject object;
OSType notifyType;
ICACompletion notifyProc;
} ICARegisterEventNotificationPB __attribute__((deprecated));
# 2642 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICARegisterEventNotification(
ICARegisterEventNotificationPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2673 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAExtendedRegisterEventNotificationPB {
ICAHeader header;
ICAObject object;
OSType extd;
ICACompletion notifyProc;
UInt32 rawEventType;
OSType eventType;
OSType eventClass;
UInt32 eventDataSize;
ICAEventDataCookie eventDataCookie;
ICAObject deviceObject;
} ICAExtendedRegisterEventNotificationPB __attribute__((deprecated));
#pragma pack(pop)
# 14 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 1 3
# 12 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
#define __ICADEVICE__
# 33 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
#pragma pack(push, 2)
# 54 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef struct ICDHeader {
ICAError err;
unsigned long refcon;
} ICDHeader;
# 69 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef void ( * ICDCompletion)(ICDHeader * pb);
# 86 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef struct ICD_NewObjectPB {
ICDHeader header;
ICAObject parentObject;
ICAObjectInfo objectInfo;
ICAObject object;
} ICD_NewObjectPB;
# 107 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
extern ICAError
ICDNewObject(
ICD_NewObjectPB* pb,
ICDCompletion completion
) ;
# 124 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef struct ICD_DisposeObjectPB {
ICDHeader header;
ICAObject object;
} ICD_DisposeObjectPB;
# 143 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
extern ICAError
ICDDisposeObject(
ICD_DisposeObjectPB* pb,
ICDCompletion completion
) ;
# 164 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef struct ICD_NewPropertyPB {
ICDHeader header;
ICAObject object;
ICAPropertyInfo propertyInfo;
ICAProperty property;
} ICD_NewPropertyPB;
# 185 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
extern ICAError
ICDNewProperty(
ICD_NewPropertyPB* pb,
ICDCompletion completion
) ;
# 202 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef struct ICD_DisposePropertyPB {
ICDHeader header;
ICAProperty property;
} ICD_DisposePropertyPB;
# 221 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
extern ICAError
ICDDisposeProperty(
ICD_DisposePropertyPB* pb,
ICDCompletion completion
) ;
#pragma pack(pop)
# 18 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 1 3
# 12 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
#define __ICACAMERA__
# 53 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum {
kICAPropertyCameraStorageType = 'stor',
kICAPropertyCameraFilesystemType = 'fsys',
kICAPropertyCameraAccessCapability = 'acap',
kICAPropertyCameraMaxCapacity = 'maxc',
kICAPropertyCameraFreeSpaceInBytes = 'fres',
kICAPropertyCameraFreeSpaceInImages = 'frei',
kICAPropertyCameraStorageDescription = 'stod',
kICAPropertyCameraVolumeLabel = 'voll'
};
# 79 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum {
kICAStorageUndefined = 0x0000,
kICAStorageFixedROM = 0x0001,
kICAStorageRemovableROM = 0x0002,
kICAStorageFixedRAM = 0x0003,
kICAStorageRemovableRAM = 0x0004
};
# 100 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum {
kICAFileystemUndefined = 0x0000,
kICAFileystemGenericFlat = 0x0001,
kICAFileystemGenericHierarchical = 0x0002,
kICAFileystemDCF = 0x0003
};
# 118 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum {
kICAAccessReadWrite = 0x0000,
kICAAccessReadOnly = 0x0001,
kICAAccessReadOnlyWithObjectDeletion = 0x0002
};
# 191 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum
{
kICAPropertyCameraBatteryLevel = '5001',
kICAPropertyCameraFunctionalMode = '5002',
kICAPropertyCameraImageSize = '5003',
kICAPropertyCameraCompressionSetting = '5004',
kICAPropertyCameraWhiteBalance = '5005',
kICAPropertyCameraRGBGain = '5006',
kICAPropertyCameraFNumber = '5007',
kICAPropertyCameraFocalLength = '5008',
kICAPropertyCameraFocusDistance = '5009',
kICAPropertyCameraFocusMode = '500A',
kICAPropertyCameraExposureMeteringMode = '500B',
kICAPropertyCameraFlashMode = '500C',
kICAPropertyCameraExposureTime = '500D',
kICAPropertyCameraExposureProgramMode = '500E',
kICAPropertyCameraExposureIndex = '500F',
kICAPropertyCameraExposureBiasCompensation = '5010',
kICAPropertyCameraDateTime = '5011',
kICAPropertyCameraCaptureDelay = '5012',
kICAPropertyCameraStillCaptureMode = '5013',
kICAPropertyCameraContrast = '5014',
kICAPropertyCameraSharpness = '5015',
kICAPropertyCameraDigitalZoom = '5016',
kICAPropertyCameraEffectMode = '5017',
kICAPropertyCameraBurstNumber = '5018',
kICAPropertyCameraBurstInterval = '5019',
kICAPropertyCameraTimelapseNumber = '501A',
kICAPropertyCameraTimelapseInterval = '501B',
kICAPropertyCameraFocusMeteringMode = '501C',
kICAPropertyCameraUploadURL = '501D',
kICAPropertyCameraArtist = '501E',
kICAPropertyCameraCopyrightInfo = '501F'
};
# 235 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum
{
kICAPropertyCameraIcon = 'icon',
kICAPropertyCameraSupportedMessages = 'msgs'
};
# 256 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum
{
kICAMessageCameraCaptureNewImage = 'ccni',
kICAMessageCameraDeleteOne = 'del1',
kICAMessageCameraDeleteAll = 'dela',
kICAMessageCameraSyncClock = 'sclk',
kICAMessageCameraUploadData = 'load'
};
# 280 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum
{
kICACapabilityCanCameraCaptureNewImage = 'ccni',
kICACapabilityCanCameraDeleteOne = 'del1',
kICACapabilityCanCameraDeleteAll = 'dela',
kICACapabilityCanCameraSyncClock = 'sclk',
kICACapabilityCanCameraUploadData = 'load',
kICACapabilityMayStoreNewImagesInTempStore = 'temp'
};
# 22 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h" 2 3
# 80 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 49 "macgui.h" 2
#undef mktime
#define mktime emacs_mktime
#undef free
#define free unexec_free
#undef malloc
#define malloc unexec_malloc
#undef realloc
#define realloc unexec_realloc
#undef min
#define min(a,b) ((a) < (b) ? (a) : (b))
#undef max
#define max(a,b) ((a) > (b) ? (a) : (b))
#undef init_process
#define init_process emacs_init_process
#undef INFINITY
#undef Z
#define Z (current_buffer->text->z)
# 86 "macgui.h"
#define USE_ATSUI 1
#define USE_CG_TEXT_DRAWING 1
#define USE_CG_DRAWING 1
#define USE_MAC_FONT_PANEL 1
#define USE_MAC_TSM 1
#define USE_MAC_TOOLBAR 1
typedef WindowRef Window;
typedef ScrapRef Selection;
#define mac_set_window_title SetWindowTitleWithCFString
#define mac_set_window_modified SetWindowModified
#define mac_is_window_visible IsWindowVisible
#define mac_is_window_collapsed IsWindowCollapsed
#define mac_bring_window_to_front BringToFront
#define mac_send_window_behind SendBehind
#define mac_hide_window HideWindow
#define mac_show_window ShowWindow
#define mac_collapse_window CollapseWindow
#define mac_front_non_floating_window FrontNonFloatingWindow
#define mac_active_non_floating_window ActiveNonFloatingWindow
#define mac_activate_window ActivateWindow
#define mac_move_window_structure MoveWindowStructure
#define mac_move_window MoveWindow
#define mac_size_window SizeWindow
#define mac_get_global_mouse GetGlobalMouse
#define mac_is_window_toolbar_visible IsWindowToolbarVisible
#define mac_rect_make(f,x,y,w,h) CGRectMake (x, y, w, h)
typedef GWorldPtr Pixmap;
#define Cursor ThemeCursor
#define No_Cursor (-1)
#define FACE_DEFAULT (~0)
# 170 "macgui.h"
typedef struct _XCharStruct
{
short lbearing;
short rbearing;
short width;
short ascent;
short descent;
} XCharStruct;
enum pcm_status
{
PCM_VALID = 0,
PCM_INVALID = -1,
};
#define STORE_XCHARSTRUCT(xcs,w,bds) ((xcs).width = (w), (xcs).lbearing = (bds).left, (xcs).rbearing = (bds).right, (xcs).ascent = -(bds).top, (xcs).descent = (bds).bottom)
struct MacFontStruct {
char *full_name;
short mac_fontnum;
int mac_fontsize;
short mac_fontface;
int mac_scriptcode;
ATSUStyle mac_style;
CGFontRef cg_font;
CGGlyph *cg_glyphs;
# 220 "macgui.h"
unsigned min_char_or_byte2;
unsigned max_char_or_byte2;
unsigned min_byte1;
unsigned max_byte1;
XCharStruct min_bounds;
XCharStruct max_bounds;
union {
XCharStruct *per_char;
XCharStruct **rows;
} bounds;
int ascent;
int descent;
};
typedef struct MacFontStruct MacFontStruct;
typedef struct MacFontStruct XFontStruct;
typedef struct {
unsigned char byte1;
unsigned char byte2;
} XChar2b;
#define STORE_XCHAR2B(chp,b1,b2) ((chp)->byte1 = (b1), (chp)->byte2 = (b2))
#define XCHAR2B_BYTE1(chp) ((chp)->byte1)
#define XCHAR2B_BYTE2(chp) ((chp)->byte2)
typedef struct _XGCValues
{
unsigned long foreground;
unsigned long background;
XFontStruct *font;
} XGCValues;
typedef struct _XGC
{
XGCValues xgcv;
RGBColor fore_color;
RGBColor back_color;
CGColorRef cg_fore_color;
CGColorRef cg_back_color;
#define MAX_CLIP_RECTS 2
int n_clip_rects;
RgnHandle clip_region;
CGRect clip_rects[2];
} *GC;
#define GCForeground (1L<<2)
#define GCBackground (1L<<3)
#define GCFont (1L<<14)
#define GCGraphicsExposures 0
#define ForgetGravity 0
#define NorthWestGravity 1
#define NorthGravity 2
#define NorthEastGravity 3
#define WestGravity 4
#define CenterGravity 5
#define EastGravity 6
#define SouthWestGravity 7
#define SouthGravity 8
#define SouthEastGravity 9
#define StaticGravity 10
#define NoValue 0x0000
#define XValue 0x0001
#define YValue 0x0002
#define WidthValue 0x0004
#define HeightValue 0x0008
#define AllValues 0x000F
#define XNegative 0x0010
#define YNegative 0x0020
typedef struct {
long flags;
int min_width, min_height;
int width_inc, height_inc;
int base_width, base_height;
} XSizeHints;
#define USPosition (1L << 0)
#define USSize (1L << 1)
#define PPosition (1L << 2)
#define PSize (1L << 3)
#define PMinSize (1L << 4)
#define PMaxSize (1L << 5)
#define PResizeInc (1L << 6)
#define PAspect (1L << 7)
#define PBaseSize (1L << 8)
#define PWinGravity (1L << 9)
typedef struct {
int x, y;
unsigned width, height;
} XRectangle;
#define NativeRectangle Rect
#define CONVERT_TO_XRECT(xr,nr) ((xr).x = (nr).left, (xr).y = (nr).top, (xr).width = ((nr).right - (nr).left), (xr).height = ((nr).bottom - (nr).top))
#define CONVERT_FROM_XRECT(xr,nr) ((nr).left = (xr).x, (nr).top = (xr).y, (nr).right = ((xr).x + (xr).width), (nr).bottom = ((xr).y + (xr).height))
#define STORE_NATIVE_RECT(nr,x,y,width,height) ((nr).left = (x), (nr).top = (y), (nr).right = ((nr).left + (width)), (nr).bottom = ((nr).top + (height)))
typedef void * XtPointer;
enum button_type
{
BUTTON_TYPE_NONE,
BUTTON_TYPE_TOGGLE,
BUTTON_TYPE_RADIO
};
typedef struct _widget_value
{
Lisp_Object lname;
char* name;
char* value;
Lisp_Object lkey;
char* key;
Lisp_Object help;
Boolean enabled;
Boolean selected;
enum button_type button_type;
Boolean title;
# 436 "macgui.h"
struct _widget_value* contents;
XtPointer call_data;
struct _widget_value* next;
# 453 "macgui.h"
} widget_value;
# 466 "macgui.h"
#define DIALOG_LEFT_MARGIN (112)
#define DIALOG_TOP_MARGIN (24)
#define DIALOG_RIGHT_MARGIN (24)
#define DIALOG_BOTTOM_MARGIN (20)
#define DIALOG_MIN_INNER_WIDTH (338)
#define DIALOG_MAX_INNER_WIDTH (564)
#define DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE (12)
#define DIALOG_BUTTON_BUTTON_VERTICAL_SPACE (12)
#define DIALOG_BUTTON_MIN_WIDTH (68)
#define DIALOG_TEXT_MIN_HEIGHT (50)
#define DIALOG_TEXT_BUTTONS_VERTICAL_SPACE (10)
#define DIALOG_ICON_WIDTH (64)
#define DIALOG_ICON_HEIGHT (64)
#define DIALOG_ICON_LEFT_MARGIN (24)
#define DIALOG_ICON_TOP_MARGIN (15)
# 25 "macterm.h" 2
# 1 "frame.h" 1
# 27 "frame.h"
#define EMACS_FRAME_H
extern int frame_garbaged;
extern int message_buf_print;
extern int focus_follows_mouse;
enum output_method
{
output_termcap,
output_x_window,
output_msdos_raw,
output_w32,
output_mac
};
enum vertical_scroll_bar_type
{
vertical_scroll_bar_none,
vertical_scroll_bar_left,
vertical_scroll_bar_right
};
enum text_cursor_kinds
{
DEFAULT_CURSOR = -2,
NO_CURSOR = -1,
FILLED_BOX_CURSOR,
HOLLOW_BOX_CURSOR,
BAR_CURSOR,
HBAR_CURSOR
};
# 101 "frame.h"
struct frame
{
int size;
struct Lisp_Vector *next;
Lisp_Object name;
Lisp_Object icon_name;
Lisp_Object title;
# 133 "frame.h"
Lisp_Object focus_frame;
Lisp_Object root_window;
Lisp_Object selected_window;
Lisp_Object minibuffer_window;
Lisp_Object param_alist;
# 164 "frame.h"
Lisp_Object scroll_bars;
Lisp_Object condemned_scroll_bars;
Lisp_Object menu_bar_items;
Lisp_Object face_alist;
Lisp_Object menu_bar_vector;
int menu_bar_items_used;
Lisp_Object buffer_predicate;
Lisp_Object buffer_list;
Lisp_Object menu_bar_window;
Lisp_Object tool_bar_window;
Lisp_Object tool_bar_items;
Lisp_Object desired_tool_bar_string, current_tool_bar_string;
struct face_cache *face_cache;
char *namebuf;
struct glyph_pool *current_pool;
struct glyph_pool *desired_pool;
struct glyph_matrix *desired_matrix;
struct glyph_matrix *current_matrix;
unsigned glyphs_initialized_p : 1;
int external_tool_bar;
int tool_bar_lines;
int n_tool_bar_rows;
int n_tool_bar_items;
char *decode_mode_spec_buffer;
int *insert_line_cost;
int *delete_line_cost;
int *insert_n_lines_cost;
int *delete_n_lines_cost;
int text_lines, text_cols;
int total_lines, total_cols;
int new_text_lines, new_text_cols;
int left_pos, top_pos;
int pixel_height, pixel_width;
int x_pixels_diff, y_pixels_diff;
int win_gravity;
int size_hint_flags;
int border_width;
int internal_border_width;
int column_width;
int space_width;
int line_height;
enum output_method output_method;
union output_data
{
struct x_output *x;
struct w32_output *w32;
struct mac_output *mac;
int nothing;
}
output_data;
int fringe_cols;
int left_fringe_width, right_fringe_width;
# 327 "frame.h"
int want_fullscreen;
int menu_bar_lines;
int external_menu_bar;
char display_preempted;
# 369 "frame.h"
char visible, iconified;
volatile char async_visible, async_iconified;
volatile char garbaged;
char has_minibuffer;
char wants_modeline;
char can_have_scroll_bars;
enum vertical_scroll_bar_type vertical_scroll_bar_type;
enum text_cursor_kinds desired_cursor;
int cursor_width;
enum text_cursor_kinds blink_off_cursor;
int blink_off_cursor_width;
char auto_raise;
char auto_lower;
char no_split;
char explicit_name;
char window_sizes_changed;
char *message_buf;
int scroll_bottom_vpos;
int config_scroll_bar_width;
int config_scroll_bar_cols;
int scroll_bar_actual_width;
int cost_calculation_baud_rate;
char mouse_moved;
double gamma;
int extra_line_spacing;
unsigned resized_p : 1;
unsigned force_flush_display_p : 1;
unsigned default_face_done_p : 1;
unsigned already_hscrolled_p : 1;
unsigned updated_p : 1;
unsigned minimize_tool_bar_window_p : 1;
};
#define FRAME_KBOARD(f) (&the_only_kboard)
typedef struct frame *FRAME_PTR;
#define XFRAME(p) (eassert (GC_FRAMEP(p)),(struct frame *) XPNTR (p))
#define XSETFRAME(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_FRAME))
#define WINDOW_FRAME(w) (w)->frame
#define FRAME_TERMCAP_P(f) ((f)->output_method == output_termcap)
#define FRAME_X_P(f) ((f)->output_method == output_x_window)
#define FRAME_W32_P(f) ((f)->output_method == output_w32)
#define FRAME_MSDOS_P(f) ((f)->output_method == output_msdos_raw)
#define FRAME_MAC_P(f) ((f)->output_method == output_mac)
# 517 "frame.h"
#define FRAME_WINDOW_P(f) FRAME_MAC_P (f)
#define FRAME_LIVE_P(f) ((f)->output_data.nothing != 0)
#define FRAME_MINIBUF_ONLY_P(f) EQ (FRAME_ROOT_WINDOW (f), FRAME_MINIBUF_WINDOW (f))
#define FRAME_HAS_MINIBUF_P(f) ((f)->has_minibuffer)
#define FRAME_PIXEL_HEIGHT(f) ((f)->pixel_height)
#define FRAME_PIXEL_WIDTH(f) ((f)->pixel_width)
#define FRAME_LINES(f) (f)->text_lines
#define FRAME_COLS(f) (f)->text_cols
#define FRAME_MENU_BAR_LINES(f) (f)->menu_bar_lines
#define FRAME_EXTERNAL_TOOL_BAR(f) (f)->external_tool_bar
#define FRAME_TOOL_BAR_LINES(f) (f)->tool_bar_lines
#define FRAME_TOP_MARGIN(F) (FRAME_MENU_BAR_LINES (F) + FRAME_TOOL_BAR_LINES (F))
#define FRAME_EXTERNAL_MENU_BAR(f) (f)->external_menu_bar
#define FRAME_VISIBLE_P(f) ((f)->visible != 0)
#define FRAME_OBSCURED_P(f) ((f)->visible > 1)
#define FRAME_ICONIFIED_P(f) (f)->iconified
#define FRAME_SET_VISIBLE(f,p) ((f)->async_visible = (p), FRAME_SAMPLE_VISIBILITY (f))
#define SET_FRAME_GARBAGED(f) (frame_garbaged = 1, f->garbaged = 1)
#define FRAME_GARBAGED_P(f) (f)->garbaged
#define FRAME_NO_SPLIT_P(f) (f)->no_split
#define FRAME_WANTS_MODELINE_P(f) (f)->wants_modeline
#define FRAME_WINDOW_SIZES_CHANGED(f) (f)->window_sizes_changed
#define FRAME_MINIBUF_WINDOW(f) (f)->minibuffer_window
#define FRAME_ROOT_WINDOW(f) (f)->root_window
#define FRAME_SELECTED_WINDOW(f) (f)->selected_window
#define FRAME_INSERT_COST(f) (f)->insert_line_cost
#define FRAME_DELETE_COST(f) (f)->delete_line_cost
#define FRAME_INSERTN_COST(f) (f)->insert_n_lines_cost
#define FRAME_DELETEN_COST(f) (f)->delete_n_lines_cost
#define FRAME_MESSAGE_BUF(f) (f)->message_buf
#define FRAME_SCROLL_BOTTOM_VPOS(f) (f)->scroll_bottom_vpos
#define FRAME_FOCUS_FRAME(f) (f)->focus_frame
#define FRAME_CAN_HAVE_SCROLL_BARS(f) ((f)->can_have_scroll_bars)
#define FRAME_VERTICAL_SCROLL_BAR_TYPE(f) ((f)->vertical_scroll_bar_type)
#define FRAME_HAS_VERTICAL_SCROLL_BARS(f) ((f)->vertical_scroll_bar_type != vertical_scroll_bar_none)
#define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT(f) ((f)->vertical_scroll_bar_type == vertical_scroll_bar_left)
#define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT(f) ((f)->vertical_scroll_bar_type == vertical_scroll_bar_right)
#define FRAME_CONFIG_SCROLL_BAR_WIDTH(f) ((f)->config_scroll_bar_width)
#define FRAME_CONFIG_SCROLL_BAR_COLS(f) ((f)->config_scroll_bar_cols)
#define FRAME_LEFT_SCROLL_BAR_COLS(f) (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) ? FRAME_CONFIG_SCROLL_BAR_COLS (f) : 0)
#define FRAME_LEFT_SCROLL_BAR_AREA_WIDTH(f) (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) ? (FRAME_CONFIG_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f)) : 0)
# 667 "frame.h"
#define FRAME_RIGHT_SCROLL_BAR_COLS(f) (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f) ? FRAME_CONFIG_SCROLL_BAR_COLS (f) : 0)
#define FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH(f) (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f) ? (FRAME_CONFIG_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f)) : 0)
#define FRAME_SCROLL_BAR_COLS(f) (FRAME_HAS_VERTICAL_SCROLL_BARS (f) ? FRAME_CONFIG_SCROLL_BAR_COLS (f) : 0)
#define FRAME_SCROLL_BAR_AREA_WIDTH(f) (FRAME_HAS_VERTICAL_SCROLL_BARS (f) ? (FRAME_CONFIG_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f)) : 0)
#define FRAME_TOTAL_COLS(f) ((f)->total_cols)
#define SET_FRAME_COLS(f,val) (FRAME_COLS (f) = (val), (f)->total_cols = FRAME_TOTAL_COLS_ARG (f, FRAME_COLS (f)))
#define FRAME_TOTAL_COLS_ARG(f,width) ((width) + FRAME_SCROLL_BAR_COLS (f) + FRAME_FRINGE_COLS (f))
#define FRAME_CURSOR_X_LIMIT(f) (FRAME_COLS (f) + FRAME_LEFT_SCROLL_BAR_COLS (f))
#define FRAME_SCROLL_BARS(f) ((f)->scroll_bars)
#define FRAME_CONDEMNED_SCROLL_BARS(f) ((f)->condemned_scroll_bars)
#define FRAME_MENU_BAR_ITEMS(f) ((f)->menu_bar_items)
#define FRAME_COST_BAUD_RATE(f) ((f)->cost_calculation_baud_rate)
#define FRAME_DESIRED_CURSOR(f) ((f)->desired_cursor)
#define FRAME_BLINK_OFF_CURSOR(f) ((f)->blink_off_cursor)
#define FRAME_CURSOR_WIDTH(f) ((f)->cursor_width)
#define FRAME_BLINK_OFF_CURSOR_WIDTH(f) ((f)->blink_off_cursor_width)
#define FRAME_FACE_CACHE(F) (F)->face_cache
#define FRAME_MESSAGE_BUF_SIZE(f) (((int) FRAME_COLS (f)) * 4)
# 766 "frame.h"
#define FRAME_SAMPLE_VISIBILITY(f) (((f)->async_visible && (f)->visible != (f)->async_visible) ? SET_FRAME_GARBAGED (f) : 0, (f)->visible = (f)->async_visible, (f)->iconified = (f)->async_iconified)
#define CHECK_FRAME(x) CHECK_TYPE (FRAMEP (x), Qframep, x)
#define CHECK_LIVE_FRAME(x) CHECK_TYPE (FRAMEP (x) && FRAME_LIVE_P (XFRAME (x)), Qframe_live_p, x)
# 789 "frame.h"
#define FOR_EACH_FRAME(list_var,frame_var) for ((list_var) = Vframe_list; (CONSP (list_var) && (frame_var = XCAR (list_var), 1)); list_var = XCDR (list_var))
extern Lisp_Object Qframep, Qframe_live_p;
extern struct frame *last_nonminibuf_frame;
extern struct frame *make_terminal_frame (void);
extern struct frame *make_frame (int);
extern struct frame *make_minibuffer_frame (void);
extern struct frame *make_frame_without_minibuffer (Lisp_Object, struct kboard *, Lisp_Object);
extern int other_visible_frames (struct frame *);
extern Lisp_Object Vframe_list;
extern Lisp_Object Vdefault_frame_alist;
extern Lisp_Object Vterminal_frame;
extern Lisp_Object Vmouse_highlight;
extern Lisp_Object selected_frame;
#define SELECTED_FRAME() ((FRAMEP (selected_frame) && FRAME_LIVE_P (XFRAME (selected_frame))) ? XFRAME (selected_frame) : (abort (), (struct frame *) 0))
# 839 "frame.h"
#define FRAME_LINE_HEIGHT(F) ((F)->line_height)
#define FRAME_COLUMN_WIDTH(F) ((F)->column_width)
#define FRAME_SPACE_WIDTH(F) ((F)->space_width)
# 862 "frame.h"
#define FRAME_FRINGE_COLS(F) ((F)->fringe_cols)
#define FRAME_LEFT_FRINGE_WIDTH(F) ((F)->left_fringe_width)
#define FRAME_RIGHT_FRINGE_WIDTH(F) ((F)->right_fringe_width)
#define FRAME_TOTAL_FRINGE_WIDTH(F) (FRAME_LEFT_FRINGE_WIDTH (F) + FRAME_RIGHT_FRINGE_WIDTH (F))
#define FRAME_INTERNAL_BORDER_WIDTH(F) ((F)->internal_border_width)
# 904 "frame.h"
#define FRAME_PIXEL_X_FROM_CANON_X(F,X) (INTEGERP (X) ? XINT (X) * FRAME_COLUMN_WIDTH (F) : (int) (XFLOAT_DATA (X) * FRAME_COLUMN_WIDTH (F)))
# 913 "frame.h"
#define FRAME_PIXEL_Y_FROM_CANON_Y(F,Y) (INTEGERP (Y) ? XINT (Y) * FRAME_LINE_HEIGHT (F) : (int) (XFLOAT_DATA (Y) * FRAME_LINE_HEIGHT (F)))
# 923 "frame.h"
#define FRAME_CANON_X_FROM_PIXEL_X(F,X) ((X) % FRAME_COLUMN_WIDTH (F) != 0 ? make_float ((double) (X) / FRAME_COLUMN_WIDTH (F)) : make_number ((X) / FRAME_COLUMN_WIDTH (F)))
# 933 "frame.h"
#define FRAME_CANON_Y_FROM_PIXEL_Y(F,Y) ((Y) % FRAME_LINE_HEIGHT (F) ? make_float ((double) (Y) / FRAME_LINE_HEIGHT (F)) : make_number ((Y) / FRAME_LINE_HEIGHT (F)))
# 947 "frame.h"
#define FRAME_LINE_TO_PIXEL_Y(f,row) (FRAME_INTERNAL_BORDER_WIDTH (f) + (row) * FRAME_LINE_HEIGHT (f))
#define FRAME_COL_TO_PIXEL_X(f,col) (FRAME_INTERNAL_BORDER_WIDTH (f) + (col) * FRAME_COLUMN_WIDTH (f))
#define FRAME_TEXT_COLS_TO_PIXEL_WIDTH(f,cols) (FRAME_COL_TO_PIXEL_X (f, cols) + (f)->scroll_bar_actual_width + FRAME_TOTAL_FRINGE_WIDTH (f) + FRAME_INTERNAL_BORDER_WIDTH (f))
#define FRAME_TEXT_LINES_TO_PIXEL_HEIGHT(f,lines) (FRAME_LINE_TO_PIXEL_Y (f, lines) + FRAME_INTERNAL_BORDER_WIDTH (f))
#define FRAME_PIXEL_Y_TO_LINE(f,y) (((y) - FRAME_INTERNAL_BORDER_WIDTH (f)) / FRAME_LINE_HEIGHT (f))
#define FRAME_PIXEL_X_TO_COL(f,x) (((x) - FRAME_INTERNAL_BORDER_WIDTH (f)) / FRAME_COLUMN_WIDTH (f))
#define FRAME_PIXEL_WIDTH_TO_TEXT_COLS(f,width) (FRAME_PIXEL_X_TO_COL (f, ((width) - FRAME_INTERNAL_BORDER_WIDTH (f) - FRAME_TOTAL_FRINGE_WIDTH (f) - (f)->scroll_bar_actual_width)))
#define FRAME_PIXEL_HEIGHT_TO_TEXT_LINES(f,height) (FRAME_PIXEL_Y_TO_LINE (f, ((height) - FRAME_INTERNAL_BORDER_WIDTH (f))))
# 998 "frame.h"
extern Lisp_Object Qauto_raise, Qauto_lower;
extern Lisp_Object Qborder_color, Qborder_width;
extern Lisp_Object Qbuffer_predicate, Qbuffer_list;
extern Lisp_Object Qcursor_color, Qcursor_type;
extern Lisp_Object Qfont;
extern Lisp_Object Qbackground_color, Qforeground_color;
extern Lisp_Object Qicon, Qicon_name, Qicon_type, Qicon_left, Qicon_top;
extern Lisp_Object Qinternal_border_width;
extern Lisp_Object Qmenu_bar_lines, Qtool_bar_lines;
extern Lisp_Object Qmouse_color;
extern Lisp_Object Qname, Qtitle;
extern Lisp_Object Qparent_id;
extern Lisp_Object Qunsplittable, Qvisibility;
extern Lisp_Object Qscroll_bar_width, Qvertical_scroll_bars;
extern Lisp_Object Qscroll_bar_foreground, Qscroll_bar_background;
extern Lisp_Object Qscreen_gamma;
extern Lisp_Object Qline_spacing;
extern Lisp_Object Qwait_for_wm;
extern Lisp_Object Qfullscreen;
extern Lisp_Object Qleft_fringe, Qright_fringe;
extern Lisp_Object Qheight, Qwidth;
extern Lisp_Object Qminibuffer, Qmodeline;
extern Lisp_Object Qonly;
extern Lisp_Object Qx, Qw32, Qmac, Qpc;
extern Lisp_Object Qvisible;
extern Lisp_Object Qdisplay_type;
extern Lisp_Object Qbackground_mode;
extern Lisp_Object Qx_resource_name;
extern Lisp_Object Qleft, Qright, Qtop, Qbox;
extern Lisp_Object Qdisplay;
#define EMACS_CLASS "Emacs"
enum
{
FULLSCREEN_NONE = 0,
FULLSCREEN_WIDTH = 1,
FULLSCREEN_HEIGHT = 2,
FULLSCREEN_BOTH = 3,
FULLSCREEN_WAIT = 4
};
extern void x_set_scroll_bar_default_width (struct frame *);
extern void x_set_offset (struct frame *, int, int, int);
extern void x_wm_set_icon_position (struct frame *, int, int);
extern Lisp_Object x_new_font (struct frame *, char *);
extern Lisp_Object x_new_fontset (struct frame *, char *);
extern Lisp_Object Vx_resource_name;
extern Lisp_Object Vx_resource_class;
extern Lisp_Object Qface_set_after_frame_default;
extern void x_fullscreen_adjust (struct frame *f, int *, int *, int *, int *);
extern void x_set_frame_parameters (struct frame *, Lisp_Object);
extern void x_report_frame_params (struct frame *, Lisp_Object *);
extern void x_set_fullscreen (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_line_spacing (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_screen_gamma (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_font (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_fringe_width (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_border_width (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_internal_border_width (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_visibility (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_autoraise (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_autolower (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_unsplittable (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_vertical_scroll_bars (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_scroll_bar_width (struct frame *, Lisp_Object, Lisp_Object);
extern Lisp_Object x_icon_type (struct frame *);
extern int x_figure_window_size (struct frame *, Lisp_Object, int);
extern void validate_x_resource_name (void);
# 26 "macterm.h" 2
#define RGB_TO_ULONG(r,g,b) (((r) << 16) | ((g) << 8) | (b))
#define RED_FROM_ULONG(color) ((color) >> 16)
#define GREEN_FROM_ULONG(color) (((color) >> 8) & 0xff)
#define BLUE_FROM_ULONG(color) ((color) & 0xff)
#define RED16_FROM_ULONG(color) (RED_FROM_ULONG(color) * 0x101)
#define GREEN16_FROM_ULONG(color) (GREEN_FROM_ULONG(color) * 0x101)
#define BLUE16_FROM_ULONG(color) (BLUE_FROM_ULONG(color) * 0x101)
#define BLACK_PIX_DEFAULT(f) RGB_TO_ULONG(0,0,0)
#define WHITE_PIX_DEFAULT(f) RGB_TO_ULONG(255,255,255)
#define FONT_WIDTH(f) ((f)->max_bounds.width)
#define FONT_HEIGHT(f) ((f)->ascent + (f)->descent)
#define FONT_BASE(f) ((f)->ascent)
#define FONT_DESCENT(f) ((f)->descent)
struct mac_bitmap_record
{
char *bitmap_data;
char *file;
int refcount;
int height, width;
};
struct mac_display_info
{
struct mac_display_info *next;
Lisp_Object name_list_element;
int reference_count;
double resx, resy;
int n_planes;
int color_p;
int height, width;
int grabbed;
# 96 "macterm.h"
Window root_window;
ThemeCursor vertical_scroll_bar_cursor;
XrmDatabase xrdb;
struct font_info *font_table;
int font_table_size;
int smallest_char_width;
int smallest_font_height;
GC scratch_cursor_gc;
int mouse_face_beg_row, mouse_face_beg_col;
int mouse_face_beg_x, mouse_face_beg_y;
int mouse_face_end_row, mouse_face_end_col;
int mouse_face_end_x, mouse_face_end_y;
int mouse_face_past_end;
Lisp_Object mouse_face_window;
int mouse_face_face_id;
Lisp_Object mouse_face_overlay;
int mouse_face_deferred_gc;
struct frame *mouse_face_mouse_frame;
int mouse_face_mouse_x, mouse_face_mouse_y;
int mouse_face_defer;
int mouse_face_hidden;
int mouse_face_image_state;
char *mac_id_name;
int n_fonts;
struct mac_bitmap_record *bitmaps;
int bitmaps_size;
int bitmaps_last;
struct frame *x_focus_frame;
struct frame *x_focus_event_frame;
struct frame *x_highlight_frame;
struct image_cache *image_cache;
};
extern void check_mac (void);
#define x_display_info mac_display_info
extern struct mac_display_info *x_display_list;
extern struct mac_display_info one_mac_display_info;
extern Lisp_Object x_display_name_list;
extern struct mac_display_info *x_display_info_for_name (Lisp_Object);
extern struct mac_display_info *mac_term_init (Lisp_Object, char *, char *);
extern Lisp_Object x_list_fonts (struct frame *, Lisp_Object, int, int);
extern struct font_info *x_get_font_info (struct frame *f, int);
extern struct font_info *x_load_font (struct frame *, char *, int);
extern struct font_info *x_query_font (struct frame *, char *);
extern void x_find_ccl_program (struct font_info *);
struct x_output
{
unsigned long background_pixel;
unsigned long foreground_pixel;
};
struct mac_output
{
struct x_output x_compatible;
int menubar_widget;
FRAME_PTR mFP;
GC normal_gc;
GC reverse_gc;
GC cursor_gc;
Window window_desc;
Window parent_desc;
XFontStruct *font;
int baseline_offset;
int fontset;
unsigned long cursor_pixel;
unsigned long border_pixel;
unsigned long mouse_pixel;
unsigned long cursor_foreground_pixel;
# 282 "macterm.h"
ThemeCursor text_cursor;
ThemeCursor nontext_cursor;
ThemeCursor modeline_cursor;
ThemeCursor hand_cursor;
ThemeCursor hourglass_cursor;
ThemeCursor horizontal_drag_cursor;
# 304 "macterm.h"
ControlRef hourglass_control;
char explicit_parent;
char asked_for_visible;
struct relief
{
GC gc;
unsigned long pixel;
int allocated_p;
}
black_relief, white_relief;
unsigned long relief_background;
int internal_border_width;
XSizeHints *size_hints;
# 343 "macterm.h"
int toolbar_win_gravity;
CGContextRef cg_context;
};
typedef struct mac_output mac_output;
#define FRAME_X_OUTPUT(f) ((f)->output_data.mac)
#define FRAME_MAC_WINDOW(f) ((f)->output_data.mac->window_desc)
#define FRAME_X_WINDOW(f) ((f)->output_data.mac->window_desc)
#define FRAME_FOREGROUND_PIXEL(f) ((f)->output_data.x->foreground_pixel)
#define FRAME_BACKGROUND_PIXEL(f) ((f)->output_data.x->background_pixel)
#define FRAME_FONT(f) ((f)->output_data.mac->font)
#define FRAME_FONTSET(f) ((f)->output_data.mac->fontset)
#define FRAME_BASELINE_OFFSET(f) ((f)->output_data.mac->baseline_offset)
#define FRAME_SIZE_HINTS(f) ((f)->output_data.mac->size_hints)
#define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info)
#define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info)
#define FRAME_MAC_DISPLAY(f) (0)
#define FRAME_X_DISPLAY(f) (0)
#define FRAME_MAC_FONT_TABLE(f) (FRAME_MAC_DISPLAY_INFO (f)->font_table)
#define FRAME_SMALLEST_CHAR_WIDTH(F) FRAME_MAC_DISPLAY_INFO(F)->smallest_char_width
#define FRAME_SMALLEST_FONT_HEIGHT(F) FRAME_MAC_DISPLAY_INFO(F)->smallest_font_height
#define FRAME_X_IMAGE_CACHE(F) FRAME_MAC_DISPLAY_INFO ((F))->image_cache
# 407 "macterm.h"
struct scroll_bar {
int size_from_Lisp_Vector_struct;
struct Lisp_Vector *next_from_Lisp_Vector_struct;
Lisp_Object window;
Lisp_Object next, prev;
Lisp_Object control_ref_low, control_ref_high;
Lisp_Object top, left, width, height;
# 438 "macterm.h"
Lisp_Object start, end;
Lisp_Object dragging;
Lisp_Object fringe_extended_p;
Lisp_Object redraw_needed_p;
Lisp_Object track_top, track_height;
Lisp_Object min_handle;
};
#define SCROLL_BAR_VEC_SIZE ((sizeof (struct scroll_bar) - sizeof (EMACS_INT) - sizeof (struct Lisp_Vector *)) / sizeof (Lisp_Object))
#define XSCROLL_BAR(vec) ((struct scroll_bar *) XVECTOR (vec))
#define SCROLL_BAR_PACK(low,high) (XINT (high) << 16 | XINT (low))
#define SCROLL_BAR_UNPACK(low,high,ulong) (XSETINT ((low), (ulong) & 0xffff), XSETINT ((high), (ulong) >> 16))
#define SCROLL_BAR_CONTROL_REF(ptr) ((ControlRef) SCROLL_BAR_PACK ((ptr)->control_ref_low, (ptr)->control_ref_high))
#define SET_SCROLL_BAR_CONTROL_REF(ptr,ref) (SCROLL_BAR_UNPACK ((ptr)->control_ref_low, (ptr)->control_ref_high, (unsigned long) (ref)))
#define VERTICAL_SCROLL_BAR_INSIDE_WIDTH(f,width) ((width) - VERTICAL_SCROLL_BAR_LEFT_BORDER - VERTICAL_SCROLL_BAR_RIGHT_BORDER - VERTICAL_SCROLL_BAR_WIDTH_TRIM * 2)
# 512 "macterm.h"
#define VERTICAL_SCROLL_BAR_TOP_RANGE(f,height) (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, height) - VERTICAL_SCROLL_BAR_MIN_HANDLE - UP_AND_DOWN_ARROWS)
#define VERTICAL_SCROLL_BAR_INSIDE_HEIGHT(f,height) ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER)
# 534 "macterm.h"
#define VERTICAL_SCROLL_BAR_LEFT_BORDER (0)
#define VERTICAL_SCROLL_BAR_RIGHT_BORDER (0)
#define VERTICAL_SCROLL_BAR_TOP_BORDER (0)
#define VERTICAL_SCROLL_BAR_BOTTOM_BORDER (0)
#define VERTICAL_SCROLL_BAR_MIN_HANDLE (16)
#define UP_AND_DOWN_ARROWS (32)
#define VERTICAL_SCROLL_BAR_WIDTH_TRIM (0)
#define MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH (15)
#define MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH (11)
#define HOURGLASS_WIDTH (15)
#define HOURGLASS_HEIGHT (15)
enum {
MAC_EMACS_CREATOR_CODE = 'EMAx'
};
enum {
TYPE_FILE_NAME = 'fNam'
};
enum {
KEY_EMACS_SUSPENSION_ID_ATTR = 'esId'
};
enum {
EVENT_PARAM_TEXT_INPUT_SEQUENCE_NUMBER = 'tsSn'
};
# 609 "macterm.h"
struct frame;
struct face;
struct image;
Lisp_Object display_x_get_resource (struct mac_display_info *, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
struct frame *check_x_frame (Lisp_Object);
extern Lisp_Object Fx_display_color_p (Lisp_Object);
extern Lisp_Object Fx_display_grayscale_p (Lisp_Object);
extern Lisp_Object Fx_display_planes (Lisp_Object);
extern void x_free_gcs (struct frame *);
extern int XParseGeometry (char *, int *, int *, unsigned int *, unsigned int *);
extern void x_set_window_size (struct frame *, int, int, int);
extern void x_set_mouse_position (struct frame *, int, int);
extern void x_set_mouse_pixel_position (struct frame *, int, int);
extern void x_raise_frame (struct frame *);
extern void x_lower_frame (struct frame *);
extern void x_make_frame_visible (struct frame *);
extern void x_make_frame_invisible (struct frame *);
extern void x_iconify_frame (struct frame *);
extern void x_free_frame_resources (struct frame *);
extern void x_destroy_window (struct frame *);
extern void x_wm_set_size_hint (struct frame *, long, int);
extern void x_delete_display (struct mac_display_info *);
extern void mac_initialize (void);
extern Pixmap XCreatePixmap (Display *, Window, unsigned int, unsigned int, unsigned int);
extern Pixmap XCreatePixmapFromBitmapData (Display *, Window, char *, unsigned int, unsigned int, unsigned long, unsigned long, unsigned int);
extern void XFreePixmap (Display *, Pixmap);
extern GC XCreateGC (Display *, void *, unsigned long, XGCValues *);
extern void XFreeGC (Display *, GC);
extern void XSetForeground (Display *, GC, unsigned long);
extern void XSetBackground (Display *, GC, unsigned long);
extern void XDrawLine (Display *, Pixmap, GC, int, int, int, int);
extern void mac_clear_area (struct frame *, int, int, unsigned int, unsigned int);
extern void mac_unload_font (struct mac_display_info *, XFontStruct *);
extern OSStatus mac_post_mouse_moved_event (void);
extern int mac_quit_char_key_p (UInt32, UInt32);
#define FONT_TYPE_FOR_UNIBYTE(font,ch) 0
#define FONT_TYPE_FOR_MULTIBYTE(font,ch) 0
extern void x_clear_frame_selections (struct frame *);
extern Lisp_Object Fx_selection_owner_p (Lisp_Object);
extern int have_menus_p (void);
extern void x_real_positions (struct frame *, int *, int *);
extern void x_set_menu_bar_lines (struct frame *, Lisp_Object, Lisp_Object);
extern int x_pixel_width (struct frame *);
extern int x_pixel_height (struct frame *);
extern int x_char_width (struct frame *);
extern int x_char_height (struct frame *);
extern void x_sync (struct frame *);
extern void x_set_tool_bar_lines (struct frame *, Lisp_Object, Lisp_Object);
extern void mac_update_title_bar (struct frame *, int);
extern Lisp_Object x_get_focus_frame (struct frame *);
extern void mac_clear_font_name_table (void);
extern Lisp_Object mac_aedesc_to_lisp (const AEDesc *);
extern OSErr mac_ae_put_lisp (AEDescList *, UInt32, Lisp_Object);
extern OSErr create_apple_event (AEEventClass, AEEventID, AppleEvent *);
extern Lisp_Object mac_event_parameters_to_lisp (EventRef, UInt32, const EventParamName *, const EventParamType *);
extern CFStringRef cfstring_create_with_utf8_cstring (const char *);
extern CFStringRef cfstring_create_with_string (Lisp_Object);
extern Lisp_Object cfdata_to_lisp (CFDataRef);
extern Lisp_Object cfstring_to_lisp_nodecode (CFStringRef);
extern Lisp_Object cfstring_to_lisp (CFStringRef);
extern Lisp_Object cfnumber_to_lisp (CFNumberRef);
extern Lisp_Object cfdate_to_lisp (CFDateRef);
extern Lisp_Object cfboolean_to_lisp (CFBooleanRef);
extern Lisp_Object cfobject_desc_to_lisp (CFTypeRef);
extern Lisp_Object cfproperty_list_to_lisp (CFPropertyListRef, int, int);
extern void mac_wakeup_from_rne (void);
extern void xrm_merge_string_database (XrmDatabase, const char *);
extern Lisp_Object xrm_get_resource (XrmDatabase, const char *, const char *);
extern XrmDatabase xrm_get_preference_database (const char *);
extern Lisp_Object Fmac_get_preference (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern void mac_alert_sound_play (void);
extern OSStatus install_application_handler (void);
extern void mac_get_window_bounds (struct frame *, Rect *, Rect *);
extern Rect *mac_get_frame_bounds (struct frame *, Rect *);
extern void mac_get_frame_mouse (struct frame *, Point *);
extern void mac_convert_frame_point_to_global (struct frame *, int *, int *);
extern void mac_update_proxy_icon (struct frame *);
extern void mac_set_frame_window_background (struct frame *, unsigned long);
extern void mac_update_begin (struct frame *);
extern void mac_update_end (struct frame *);
extern void mac_frame_up_to_date (struct frame *);
extern void x_flush (struct frame *);
extern void mac_create_frame_window (struct frame *, int);
extern void mac_dispose_frame_window (struct frame *);
extern CGContextRef mac_begin_cg_clip (struct frame *, GC);
extern void mac_end_cg_clip (struct frame *);
extern void mac_begin_clip (struct frame *, GC);
extern void mac_end_clip (struct frame *, GC);
extern void mac_create_scroll_bar (struct scroll_bar *, const Rect *, Boolean);
extern void mac_dispose_scroll_bar (struct scroll_bar *);
extern void mac_set_scroll_bar_bounds (struct scroll_bar *, const Rect *);
extern void mac_redraw_scroll_bar (struct scroll_bar *);
extern void x_set_toolkit_scroll_bar_thumb (struct scroll_bar *, int, int, int);
extern int mac_font_panel_visible_p (void);
extern OSStatus mac_show_hide_font_panel (void);
extern OSStatus mac_set_font_info_for_selection (struct frame *, int, int);
extern Boolean mac_run_loop_run_once (EventTimeout);
extern void update_frame_tool_bar (FRAME_PTR f);
extern void free_frame_tool_bar (FRAME_PTR f);
extern void mac_show_hourglass (struct frame *);
extern void mac_hide_hourglass (struct frame *);
extern void mac_reposition_hourglass (struct frame *);
extern Lisp_Object mac_file_dialog (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern void x_activate_menubar (struct frame *);
extern void free_frame_menubar (struct frame *);
extern void mac_fill_menubar (widget_value *, int);
extern void create_and_show_popup_menu (FRAME_PTR, widget_value *, int, int, int);
extern void create_and_show_dialog (FRAME_PTR, widget_value *);
extern OSStatus mac_get_selection_from_symbol (Lisp_Object, int, Selection *);
extern int mac_valid_selection_target_p (Lisp_Object);
extern OSStatus mac_clear_selection (Selection *);
extern Lisp_Object mac_get_selection_ownership_info (Selection);
extern int mac_valid_selection_value_p (Lisp_Object, Lisp_Object);
extern OSStatus mac_put_selection_value (Selection, Lisp_Object, Lisp_Object);
extern int mac_selection_has_target_p (Selection, Lisp_Object);
extern Lisp_Object mac_get_selection_value (Selection, Lisp_Object);
extern Lisp_Object mac_get_selection_target_list (Selection);
extern Lisp_Object mac_dnd_default_known_types (void);
# 39 "mac.c" 2
# 1 "charset.h" 1
# 27 "charset.h"
#define EMACS_CHARSET_H
# 96 "charset.h"
#define LEADING_CODE_PRIVATE_11 0x9A
#define LEADING_CODE_PRIVATE_12 0x9B
#define LEADING_CODE_PRIVATE_21 0x9C
#define LEADING_CODE_PRIVATE_22 0x9D
#define LEADING_CODE_8_BIT_CONTROL 0x9E
#define LEADING_CODE_EXT_11 0xA0
#define LEADING_CODE_EXT_12 0xE0
#define LEADING_CODE_EXT_21 0xF0
#define LEADING_CODE_EXT_22 0xF5
#define LEADING_CODE_EXT_MAX 0xFE
#define MIN_CHARSET_OFFICIAL_DIMENSION1 0x80
#define MAX_CHARSET_OFFICIAL_DIMENSION1 0x8F
#define MIN_CHARSET_OFFICIAL_DIMENSION2 0x90
#define MAX_CHARSET_OFFICIAL_DIMENSION2 0x99
#define MIN_CHARSET_PRIVATE_DIMENSION1 LEADING_CODE_EXT_11
#define MIN_CHARSET_PRIVATE_DIMENSION2 LEADING_CODE_EXT_21
#define MAX_CHARSET 0xFE
#define CHARSET_ASCII 0
#define CHARSET_8_BIT_CONTROL 0x9E
#define CHARSET_8_BIT_GRAPHIC 0x80
extern int charset_latin_iso8859_1;
extern int charset_jisx0208_1978;
extern int charset_jisx0208;
extern int charset_katakana_jisx0201;
extern int charset_latin_jisx0201;
extern int charset_big5_1;
extern int charset_big5_2;
extern int charset_mule_unicode_0100_24ff;
extern int charset_mule_unicode_2500_33ff;
extern int charset_mule_unicode_e000_ffff;
#define CHAR_HEAD_P(ch) ((unsigned char) (ch) < 0xA0)
# 203 "charset.h"
#define CHAR_FIELD1_MASK (0x1F << 14)
#define CHAR_FIELD2_MASK (0x7F << 7)
#define CHAR_FIELD3_MASK 0x7F
#define CHAR_FIELD1(c) (((c) & CHAR_FIELD1_MASK) >> 14)
#define CHAR_FIELD2(c) (((c) & CHAR_FIELD2_MASK) >> 7)
#define CHAR_FIELD3(c) ((c) & CHAR_FIELD3_MASK)
#define MIN_CHAR_OFFICIAL_DIMENSION1 ((0x81 - 0x70) << 7)
#define MIN_CHAR_PRIVATE_DIMENSION1 ((MIN_CHARSET_PRIVATE_DIMENSION1 - 0x70) << 7)
#define MIN_CHAR_OFFICIAL_DIMENSION2 ((MIN_CHARSET_OFFICIAL_DIMENSION2 - 0x8F) << 14)
#define MIN_CHAR_PRIVATE_DIMENSION2 ((MIN_CHARSET_PRIVATE_DIMENSION2 - 0xE0) << 14)
#define MAX_CHAR (0x1F << 14)
#define SINGLE_BYTE_CHAR_P(c) (((unsigned)(c) & 0xFF) == (c))
#define ASCII_BYTE_P(byte) ((byte) < 0x80)
# 286 "charset.h"
extern Lisp_Object Vcharset_table;
#define CHARSET_TABLE_ENTRY(charset) XCHAR_TABLE (Vcharset_table)->contents[((charset) == CHARSET_ASCII ? 0 : (charset) + 128)]
#define CHARSET_TABLE_INFO(charset,info_idx) XVECTOR (CHARSET_TABLE_ENTRY (charset))->contents[info_idx]
#define CHARSET_ID_IDX (0)
#define CHARSET_BYTES_IDX (1)
#define CHARSET_DIMENSION_IDX (2)
#define CHARSET_CHARS_IDX (3)
#define CHARSET_WIDTH_IDX (4)
#define CHARSET_DIRECTION_IDX (5)
#define CHARSET_LEADING_CODE_BASE_IDX (6)
#define CHARSET_LEADING_CODE_EXT_IDX (7)
#define CHARSET_ISO_FINAL_CHAR_IDX (8)
#define CHARSET_ISO_GRAPHIC_PLANE_IDX (9)
#define CHARSET_REVERSE_CHARSET_IDX (10)
#define CHARSET_SHORT_NAME_IDX (11)
#define CHARSET_LONG_NAME_IDX (12)
#define CHARSET_DESCRIPTION_IDX (13)
#define CHARSET_PLIST_IDX (14)
#define CHARSET_MAX_IDX (15)
#define CHARSET_BYTES(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_BYTES_IDX))
#define CHARSET_DIMENSION(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_DIMENSION_IDX))
#define CHARSET_CHARS(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_CHARS_IDX))
#define CHARSET_WIDTH(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_WIDTH_IDX))
#define CHARSET_DIRECTION(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_DIRECTION_IDX))
#define CHARSET_LEADING_CODE_BASE(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_LEADING_CODE_BASE_IDX))
#define CHARSET_LEADING_CODE_EXT(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_LEADING_CODE_EXT_IDX))
#define CHARSET_ISO_FINAL_CHAR(charset) XINT (CHARSET_TABLE_INFO (charset, CHARSET_ISO_FINAL_CHAR_IDX))
#define CHARSET_ISO_GRAPHIC_PLANE(charset) XINT (CHARSET_TABLE_INFO (charset, CHARSET_ISO_GRAPHIC_PLANE_IDX))
#define CHARSET_REVERSE_CHARSET(charset) XINT (CHARSET_TABLE_INFO (charset, CHARSET_REVERSE_CHARSET_IDX))
#define CHARSET_DIRECTION_LEFT_TO_RIGHT 0
#define CHARSET_DIRECTION_RIGHT_TO_LEFT 1
extern Lisp_Object Vcharset_symbol_table;
#define CHARSET_SYMBOL(charset) XVECTOR (Vcharset_symbol_table)->contents[charset]
#define CHARSET_VALID_P(charset) ((charset) == 0 || ((charset) > 0x80 && (charset) <= MAX_CHARSET_OFFICIAL_DIMENSION2) || ((charset) >= MIN_CHARSET_PRIVATE_DIMENSION1 && (charset) <= MAX_CHARSET) || ((charset) == CHARSET_8_BIT_CONTROL) || ((charset) == CHARSET_8_BIT_GRAPHIC))
# 362 "charset.h"
#define CHARSET_DEFINED_P(charset) (((charset) >= 0) && ((charset) <= MAX_CHARSET) && !NILP (CHARSET_TABLE_ENTRY (charset)))
# 371 "charset.h"
extern int bytes_by_char_head[256];
extern int width_by_char_head[256];
#define BYTES_BY_CHAR_HEAD(char_head) (ASCII_BYTE_P (char_head) ? 1 : bytes_by_char_head[char_head])
#define WIDTH_BY_CHAR_HEAD(char_head) (ASCII_BYTE_P (char_head) ? 1 : width_by_char_head[char_head])
#define CHAR_CHARSET(c) (SINGLE_BYTE_CHAR_P (c) ? (ASCII_BYTE_P (c) ? CHARSET_ASCII : (c) < 0xA0 ? CHARSET_8_BIT_CONTROL : CHARSET_8_BIT_GRAPHIC) : ((c) < MIN_CHAR_OFFICIAL_DIMENSION2 ? CHAR_FIELD2 (c) + 0x70 : ((c) < MIN_CHAR_PRIVATE_DIMENSION2 ? CHAR_FIELD1 (c) + 0x8F : CHAR_FIELD1 (c) + 0xE0)))
# 392 "charset.h"
#define SAME_CHARSET_P(c1,c2) (c1 < MIN_CHAR_OFFICIAL_DIMENSION2 ? (c1 & CHAR_FIELD2_MASK) == (c2 & CHAR_FIELD2_MASK) : (c1 & CHAR_FIELD1_MASK) == (c2 & CHAR_FIELD1_MASK))
#define MAKE_CHAR(charset,c1,c2) ((charset) == CHARSET_ASCII ? (c1) & 0x7F : (((charset) == CHARSET_8_BIT_CONTROL || (charset) == CHARSET_8_BIT_GRAPHIC) ? ((c1) & 0x7F) | 0x80 : ((CHARSET_DEFINED_P (charset) ? CHARSET_DIMENSION (charset) == 1 : (charset) < MIN_CHARSET_PRIVATE_DIMENSION2) ? (((charset) - 0x70) << 7) | ((c1) <= 0 ? 0 : ((c1) & 0x7F)) : ((((charset) - ((charset) < MIN_CHARSET_PRIVATE_DIMENSION2 ? 0x8F : 0xE0)) << 14) | ((c2) <= 0 ? 0 : ((c2) & 0x7F)) | ((c1) <= 0 ? 0 : (((c1) & 0x7F) << 7))))))
# 419 "charset.h"
#define CHAR_VALID_P(c,genericp) ((c) >= 0 && (SINGLE_BYTE_CHAR_P (c) || char_valid_p (c, genericp)))
#define DEFAULT_NONASCII_INSERT_OFFSET 0x800
# 445 "charset.h"
#define PARSE_MULTIBYTE_SEQ(str,length,bytes) ((void)(length), (bytes) = BYTES_BY_CHAR_HEAD ((str)[0]))
#define VALID_LEADING_CODE_P(code) (! NILP (CHARSET_TABLE_ENTRY (code)))
#define UNIBYTE_STR_AS_MULTIBYTE_P(str,length,bytes) (((str)[0] < 0x80 || (str)[0] >= 0xA0) ? ((bytes) = 1) : (((bytes) = BYTES_BY_CHAR_HEAD ((str)[0])), ((bytes) <= (length) && !CHAR_HEAD_P ((str)[1]) && ((bytes) == 2 ? (str)[0] != LEADING_CODE_8_BIT_CONTROL : (!CHAR_HEAD_P ((str)[2]) && ((bytes) == 3 ? (((str)[0] != LEADING_CODE_PRIVATE_11 && (str)[0] != LEADING_CODE_PRIVATE_12) || VALID_LEADING_CODE_P (str[1])) : (!CHAR_HEAD_P ((str)[3]) && VALID_LEADING_CODE_P (str[1]))))))))
# 478 "charset.h"
#define MULTIBYTE_STR_AS_UNIBYTE_P(str,bytes) ((bytes) = BYTES_BY_CHAR_HEAD ((str)[0]), (str)[0] != LEADING_CODE_8_BIT_CONTROL)
#define SPLIT_CHAR(c,charset,c1,c2) (SINGLE_BYTE_CHAR_P (c) ? ((charset = (ASCII_BYTE_P (c) ? CHARSET_ASCII : ((c) < 0xA0 ? CHARSET_8_BIT_CONTROL : CHARSET_8_BIT_GRAPHIC))), c1 = (c), c2 = -1) : ((c) & CHAR_FIELD1_MASK ? (charset = (CHAR_FIELD1 (c) + ((c) < MIN_CHAR_PRIVATE_DIMENSION2 ? 0x8F : 0xE0)), c1 = CHAR_FIELD2 (c), c2 = CHAR_FIELD3 (c)) : (charset = CHAR_FIELD2 (c) + 0x70, c1 = CHAR_FIELD3 (c), c2 = -1)))
# 503 "charset.h"
#define CHAR_PRINTABLE_P(c) (ASCII_BYTE_P (c) || char_printable_p (c))
#define SPLIT_STRING(str,len,charset,c1,c2) ((BYTES_BY_CHAR_HEAD ((unsigned char) *(str)) < 2 || BYTES_BY_CHAR_HEAD ((unsigned char) *(str)) > len || split_string (str, len, &charset, &c1, &c2) < 0) ? c1 = *(str), charset = CHARSET_ASCII : charset)
# 519 "charset.h"
extern int iso_charset_table[2][2][128];
#define ISO_CHARSET_TABLE(dimension,chars,final_char) iso_charset_table[XINT (dimension) - 1][XINT (chars) > 94][XINT (final_char)]
#define BASE_LEADING_CODE_P(c) (BYTES_BY_CHAR_HEAD ((unsigned char) (c)) > 1)
#define CHAR_BYTES(c) (SINGLE_BYTE_CHAR_P (c) ? ((ASCII_BYTE_P (c) || (c) >= 0xA0) ? 1 : 2) : char_bytes (c))
# 542 "charset.h"
#define CHAR_STRING(c,str) (SINGLE_BYTE_CHAR_P (c) ? ((ASCII_BYTE_P (c) || c >= 0xA0) ? (*(str) = (unsigned char)(c), 1) : (*(str) = LEADING_CODE_8_BIT_CONTROL, *((str)+ 1) = c + 0x20, 2)) : char_to_string (c, (unsigned char *) str))
# 552 "charset.h"
#define CHAR_STRING_NO_SIGNAL(c,str) (SINGLE_BYTE_CHAR_P (c) ? ((ASCII_BYTE_P (c) || c >= 0xA0) ? (*(str) = (unsigned char)(c), 1) : (*(str) = LEADING_CODE_8_BIT_CONTROL, *((str)+ 1) = c + 0x20, 2)) : char_to_string_1 (c, (unsigned char *) str))
# 563 "charset.h"
#define STRING_CHAR(str,len) (BYTES_BY_CHAR_HEAD ((unsigned char) *(str)) == 1 ? (unsigned char) *(str) : string_to_char (str, len, 0))
# 572 "charset.h"
#define STRING_CHAR_AND_LENGTH(str,len,actual_len) (BYTES_BY_CHAR_HEAD ((unsigned char) *(str)) == 1 ? ((actual_len) = 1), (unsigned char) *(str) : string_to_char (str, len, &(actual_len)))
# 584 "charset.h"
#define FETCH_STRING_CHAR_ADVANCE(OUTPUT,STRING,CHARIDX,BYTEIDX) if (1) { CHARIDX++; if (STRING_MULTIBYTE (STRING)) { const unsigned char *ptr = SDATA (STRING) + BYTEIDX; int space_left = SBYTES (STRING) - BYTEIDX; int actual_len; OUTPUT = STRING_CHAR_AND_LENGTH (ptr, space_left, actual_len); BYTEIDX += actual_len; } else OUTPUT = SREF (STRING, BYTEIDX++); } else
# 604 "charset.h"
#define FETCH_STRING_CHAR_ADVANCE_NO_CHECK(OUTPUT,STRING,CHARIDX,BYTEIDX) if (1) { const unsigned char *fetch_string_char_ptr = SDATA (STRING) + BYTEIDX; int fetch_string_char_space_left = SBYTES (STRING) - BYTEIDX; int actual_len; OUTPUT = STRING_CHAR_AND_LENGTH (fetch_string_char_ptr, fetch_string_char_space_left, actual_len); BYTEIDX += actual_len; CHARIDX++; } else
# 623 "charset.h"
#define FETCH_CHAR_ADVANCE(OUTPUT,CHARIDX,BYTEIDX) if (1) { CHARIDX++; if (!NILP (current_buffer->enable_multibyte_characters)) { unsigned char *ptr = BYTE_POS_ADDR (BYTEIDX); int space_left = ((CHARIDX < GPT ? GPT_BYTE : Z_BYTE) - BYTEIDX); int actual_len; OUTPUT= STRING_CHAR_AND_LENGTH (ptr, space_left, actual_len); BYTEIDX += actual_len; } else { OUTPUT = *(BYTE_POS_ADDR (BYTEIDX)); BYTEIDX++; } } else
# 646 "charset.h"
#define MULTIBYTE_FORM_LENGTH(str,len) (BYTES_BY_CHAR_HEAD (*(unsigned char *)(str)) == 1 ? 1 : multibyte_form_length (str, len))
# 655 "charset.h"
#define NEXT_CHAR_BOUNDARY(p,limit) do { if ((p) < (limit)) (p) += BYTES_BY_CHAR_HEAD (*(p)); } while (0)
# 664 "charset.h"
#define PREV_CHAR_BOUNDARY(p,limit) do { if ((p) > (limit)) { const unsigned char *p0 = (p); const unsigned char *p_limit = max (limit, p0 - MAX_MULTIBYTE_LENGTH); do { p0--; } while (p0 >= p_limit && ! CHAR_HEAD_P (*p0)); (p) = (BYTES_BY_CHAR_HEAD (*p0) >= (p) - p0) ? p0 : (p) - 1; } } while (0)
# 678 "charset.h"
#define AT_CHAR_BOUNDARY_P(result,p,limit) do { if (CHAR_HEAD_P (*(p)) || (p) <= limit) (result) = 1; else { const unsigned char *p_aux = (p)+1; PREV_CHAR_BOUNDARY (p_aux, limit); (result) = (p_aux == (p)); } } while (0)
# 716 "charset.h"
#define INC_POS(pos_byte) do { unsigned char *p = BYTE_POS_ADDR (pos_byte); pos_byte += BYTES_BY_CHAR_HEAD (*p); } while (0)
# 726 "charset.h"
#define DEC_POS(pos_byte) do { unsigned char *p, *p_min; pos_byte--; if (pos_byte < GPT_BYTE) p = BEG_ADDR + pos_byte - BEG_BYTE, p_min = BEG_ADDR; else p = BEG_ADDR + GAP_SIZE + pos_byte - BEG_BYTE, p_min = GAP_END_ADDR; if (p > p_min && !CHAR_HEAD_P (*p)) { unsigned char *pend = p--; int len, bytes; if (p_min < p - MAX_MULTIBYTE_LENGTH) p_min = p - MAX_MULTIBYTE_LENGTH; while (p > p_min && !CHAR_HEAD_P (*p)) p--; len = pend + 1 - p; PARSE_MULTIBYTE_SEQ (p, len, bytes); if (bytes == len) pos_byte -= len - 1; } } while (0)
# 751 "charset.h"
#define INC_BOTH(charpos,bytepos) do { (charpos)++; if (NILP (current_buffer->enable_multibyte_characters)) (bytepos)++; else INC_POS ((bytepos)); } while (0)
# 764 "charset.h"
#define DEC_BOTH(charpos,bytepos) do { (charpos)--; if (NILP (current_buffer->enable_multibyte_characters)) (bytepos)--; else DEC_POS ((bytepos)); } while (0)
# 798 "charset.h"
#define BUF_INC_POS(buf,pos_byte) do { unsigned char *p = BUF_BYTE_ADDRESS (buf, pos_byte); pos_byte += BYTES_BY_CHAR_HEAD (*p); } while (0)
# 808 "charset.h"
#define BUF_DEC_POS(buf,pos_byte) do { unsigned char *p, *p_min; pos_byte--; if (pos_byte < BUF_GPT_BYTE (buf)) { p = BUF_BEG_ADDR (buf) + pos_byte - BEG_BYTE; p_min = BUF_BEG_ADDR (buf); } else { p = BUF_BEG_ADDR (buf) + BUF_GAP_SIZE (buf) + pos_byte - BEG_BYTE; p_min = BUF_GAP_END_ADDR (buf); } if (p > p_min && !CHAR_HEAD_P (*p)) { unsigned char *pend = p--; int len, bytes; if (p_min < p - MAX_MULTIBYTE_LENGTH) p_min = p - MAX_MULTIBYTE_LENGTH; while (p > p_min && !CHAR_HEAD_P (*p)) p--; len = pend + 1 - p; PARSE_MULTIBYTE_SEQ (p, len, bytes); if (bytes == len) pos_byte -= len - 1; } } while (0)
# 839 "charset.h"
#define MAX_MULTIBYTE_LENGTH 4
extern void invalid_character (int) __attribute__ ((__noreturn__));
extern int translate_char (Lisp_Object, int, int, int, int);
extern int split_string (const unsigned char *, int, int *, unsigned char *, unsigned char *);
extern int char_to_string (int, unsigned char *);
extern int char_to_string_1 (int, unsigned char *);
extern int string_to_char (const unsigned char *, int, int *);
extern int char_printable_p (int c);
extern int multibyte_form_length (const unsigned char *, int);
extern void parse_str_as_multibyte (const unsigned char *, int, int *, int *);
extern int str_as_multibyte (unsigned char *, int, int, int *);
extern int parse_str_to_multibyte (unsigned char *, int);
extern int str_to_multibyte (unsigned char *, int, int);
extern int str_as_unibyte (unsigned char *, int);
extern int get_charset_id (Lisp_Object);
extern int find_charset_in_text (const unsigned char *, int, int, int *, Lisp_Object);
extern int strwidth (unsigned char *, int);
extern int c_string_width (const unsigned char *, int, int, int *, int *);
extern int lisp_string_width (Lisp_Object, int, int *, int *);
extern int char_bytes (int);
extern int char_valid_p (int, int);
extern Lisp_Object Funibyte_char_to_multibyte (Lisp_Object);
extern Lisp_Object Vtranslation_table_vector;
#define GET_TRANSLATION_TABLE(id) (XCDR(XVECTOR(Vtranslation_table_vector)->contents[(id)]))
extern Lisp_Object Vauto_fill_chars;
#define BCOPY_SHORT(from,to,len) do { int i = len; const unsigned char *from_p = from; unsigned char *to_p = to; while (i--) *to_p++ = *from_p++; } while (0)
# 41 "mac.c" 2
# 1 "coding.h" 1
# 27 "coding.h"
#define EMACS_CODING_H
# 1 "ccl.h" 1
# 25 "ccl.h"
#define EMACS_CCL_H
#define CCL_STAT_SUCCESS 0
#define CCL_STAT_SUSPEND_BY_SRC 1
#define CCL_STAT_SUSPEND_BY_DST 2
#define CCL_STAT_INVALID_CMD 3
#define CCL_STAT_QUIT 4
struct ccl_program {
int idx;
int size;
Lisp_Object *prog;
int ic;
int eof_ic;
int reg[8];
int private_state;
int last_block;
int status;
int buf_magnification;
int stack_idx;
int eol_type;
int multibyte;
int cr_consumed;
int suppress_error;
int eight_bit_control;
int quit_silently;
};
struct ccl_spec {
struct ccl_program decoder;
struct ccl_program encoder;
unsigned char valid_codes[256];
int cr_carryover;
unsigned char eight_bit_carryover[4];
};
extern Lisp_Object Vfont_ccl_encoder_alist;
extern int setup_ccl_program (struct ccl_program *, Lisp_Object);
extern int check_ccl_update (struct ccl_program *);
extern int ccl_driver (struct ccl_program *, unsigned char *, unsigned char *, int, int, int *);
extern Lisp_Object Vccl_program_table;
extern Lisp_Object Qccl_program_idx;
# 30 "coding.h" 2
enum emacs_code_class_type
{
EMACS_control_code,
EMACS_linefeed_code,
EMACS_carriage_return_code,
EMACS_ascii_code,
EMACS_leading_code_2,
EMACS_leading_code_3,
EMACS_leading_code_4,
EMACS_invalid_code
};
extern enum emacs_code_class_type emacs_code_class[256];
#define ISO_CODE_LF 0x0A
#define ISO_CODE_CR 0x0D
#define ISO_CODE_SO 0x0E
#define ISO_CODE_SI 0x0F
#define ISO_CODE_SS2_7 0x19
#define ISO_CODE_ESC 0x1B
#define ISO_CODE_SS2 0x8E
#define ISO_CODE_SS3 0x8F
#define ISO_CODE_CSI 0x9B
enum iso_code_class_type
{
ISO_control_0,
ISO_carriage_return,
ISO_shift_out,
ISO_shift_in,
ISO_single_shift_2_7,
ISO_escape,
ISO_control_1,
ISO_single_shift_2,
ISO_single_shift_3,
ISO_control_sequence_introducer,
ISO_0x20_or_0x7F,
ISO_graphic_plane_0,
ISO_0xA0_or_0xFF,
ISO_graphic_plane_1
};
#define CODING_FLAG_ISO_SHORT_FORM 0x0001
#define CODING_FLAG_ISO_RESET_AT_EOL 0x0002
#define CODING_FLAG_ISO_RESET_AT_CNTL 0x0004
#define CODING_FLAG_ISO_SEVEN_BITS 0x0008
#define CODING_FLAG_ISO_LOCKING_SHIFT 0x0010
#define CODING_FLAG_ISO_SINGLE_SHIFT 0x0020
#define CODING_FLAG_ISO_USE_ROMAN 0x0040
#define CODING_FLAG_ISO_USE_OLDJIS 0x0080
#define CODING_FLAG_ISO_NO_DIRECTION 0x0100
#define CODING_FLAG_ISO_INIT_AT_BOL 0x0200
#define CODING_FLAG_ISO_DESIGNATE_AT_BOL 0x0400
#define CODING_FLAG_ISO_SAFE 0x0800
#define CODING_FLAG_ISO_LATIN_EXTRA 0x1000
#define CODING_FLAG_ISO_DESIGNATION 0x10000
#define CODING_REPLACEMENT_CHARACTER '?'
struct iso2022_spec
{
int current_invocation[2];
int current_designation[4];
int initial_designation[4];
int last_invalid_designation_register;
unsigned char requested_designation[0xFE + 1];
unsigned char charset_revision_number[0xFE + 1];
int single_shifting;
int bol;
};
#define CODING_SPEC_ISO_INVOCATION(coding,plane) (coding)->spec.iso2022.current_invocation[plane]
#define CODING_SPEC_ISO_DESIGNATION(coding,reg) (coding)->spec.iso2022.current_designation[reg]
#define CODING_SPEC_ISO_INITIAL_DESIGNATION(coding,reg) (coding)->spec.iso2022.initial_designation[reg]
#define CODING_SPEC_ISO_REQUESTED_DESIGNATION(coding,charset) (coding)->spec.iso2022.requested_designation[charset]
#define CODING_SPEC_ISO_REVISION_NUMBER(coding,charset) (coding)->spec.iso2022.charset_revision_number[charset]
#define CODING_SPEC_ISO_SINGLE_SHIFTING(coding) (coding)->spec.iso2022.single_shifting
#define CODING_SPEC_ISO_BOL(coding) (coding)->spec.iso2022.bol
#define CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION 4
#define CODING_SPEC_ISO_PLANE_CHARSET(coding,plane) ((CODING_SPEC_ISO_INVOCATION (coding, plane) < 0) ? -1 : CODING_SPEC_ISO_DESIGNATION (coding, CODING_SPEC_ISO_INVOCATION (coding, plane)))
# 220 "coding.h"
#define CODING_FLAG_BIG5_HKU 0x00
#define CODING_FLAG_BIG5_ETEN 0x01
enum coding_type
{
coding_type_no_conversion,
coding_type_emacs_mule,
coding_type_undecided,
coding_type_sjis,
coding_type_iso2022,
coding_type_big5,
coding_type_ccl,
coding_type_raw_text
};
#define CODING_EOL_LF 0
#define CODING_EOL_CRLF 1
#define CODING_EOL_CR 2
#define CODING_EOL_UNDECIDED 3
#define CODING_EOL_INCONSISTENT 4
#define COMPOSING_P(coding) ((int) coding->composing > (int) COMPOSITION_NO)
#define COMPOSITION_DATA_SIZE 4080
#define COMPOSITION_DATA_MAX_BUNCH_LENGTH (4 + MAX_COMPOSITION_COMPONENTS*2)
# 288 "coding.h"
struct composition_data
{
int char_offset;
# 308 "coding.h"
int data[4080];
int used;
struct composition_data *prev, *next;
};
#define CODING_FINISH_NORMAL 0
#define CODING_FINISH_INSUFFICIENT_SRC 1
#define CODING_FINISH_INSUFFICIENT_DST 2
#define CODING_FINISH_INCONSISTENT_EOL 3
#define CODING_FINISH_INSUFFICIENT_CMP 4
#define CODING_FINISH_INTERRUPT 5
#define CODING_MODE_INHIBIT_INCONSISTENT_EOL 0x01
#define CODING_MODE_LAST_BLOCK 0x02
#define CODING_MODE_SELECTIVE_DISPLAY 0x04
#define CODING_MODE_INHIBIT_UNENCODABLE_CHAR 0x08
#define CODING_MODE_DIRECTION 0x10
struct coding_system
{
enum coding_type type;
int eol_type;
unsigned int common_flags;
unsigned int flags;
unsigned int mode;
int composing;
int composition_rule_follows;
struct composition_data *cmp_data;
int cmp_data_start;
int cmp_data_index;
union spec
{
struct iso2022_spec iso2022;
struct ccl_spec ccl;
} spec;
int category_idx;
unsigned src_multibyte : 1;
unsigned dst_multibyte : 1;
int heading_ascii;
int produced, produced_char, consumed, consumed_char;
int errors;
int result;
int suppress_error;
Lisp_Object symbol;
Lisp_Object post_read_conversion;
Lisp_Object pre_write_conversion;
Lisp_Object translation_table_for_decode;
Lisp_Object translation_table_for_encode;
};
#define CODING_REQUIRE_FLUSHING_MASK 0x01
#define CODING_REQUIRE_DECODING_MASK 0x02
#define CODING_REQUIRE_ENCODING_MASK 0x04
#define CODING_REQUIRE_DETECTION_MASK 0x08
#define CODING_ASCII_INCOMPATIBLE_MASK 0x10
#define CODING_REQUIRE_FLUSHING(coding) ((coding)->common_flags & CODING_REQUIRE_FLUSHING_MASK)
#define CODING_REQUIRE_DECODING(coding) ((coding)->dst_multibyte || (coding)->common_flags & CODING_REQUIRE_DECODING_MASK)
# 470 "coding.h"
#define CODING_REQUIRE_ENCODING(coding) ((coding)->src_multibyte || (coding)->common_flags & CODING_REQUIRE_ENCODING_MASK)
#define CODING_REQUIRE_DETECTION(coding) ((coding)->common_flags & CODING_REQUIRE_DETECTION_MASK)
#define CODING_MAY_REQUIRE_DECODING(coding) (CODING_REQUIRE_DECODING (coding) || CODING_REQUIRE_DETECTION (coding))
#define CODING_CATEGORY_IDX_EMACS_MULE 0
#define CODING_CATEGORY_IDX_SJIS 1
#define CODING_CATEGORY_IDX_ISO_7 2
#define CODING_CATEGORY_IDX_ISO_7_TIGHT 3
#define CODING_CATEGORY_IDX_ISO_8_1 4
#define CODING_CATEGORY_IDX_ISO_8_2 5
#define CODING_CATEGORY_IDX_ISO_7_ELSE 6
#define CODING_CATEGORY_IDX_ISO_8_ELSE 7
#define CODING_CATEGORY_IDX_CCL 8
#define CODING_CATEGORY_IDX_BIG5 9
#define CODING_CATEGORY_IDX_UTF_8 10
#define CODING_CATEGORY_IDX_UTF_16_BE 11
#define CODING_CATEGORY_IDX_UTF_16_LE 12
#define CODING_CATEGORY_IDX_RAW_TEXT 13
#define CODING_CATEGORY_IDX_BINARY 14
#define CODING_CATEGORY_IDX_MAX 15
#define CODING_CATEGORY_MASK_EMACS_MULE (1 << CODING_CATEGORY_IDX_EMACS_MULE)
#define CODING_CATEGORY_MASK_SJIS (1 << CODING_CATEGORY_IDX_SJIS)
#define CODING_CATEGORY_MASK_ISO_7 (1 << CODING_CATEGORY_IDX_ISO_7)
#define CODING_CATEGORY_MASK_ISO_7_TIGHT (1 << CODING_CATEGORY_IDX_ISO_7_TIGHT)
#define CODING_CATEGORY_MASK_ISO_8_1 (1 << CODING_CATEGORY_IDX_ISO_8_1)
#define CODING_CATEGORY_MASK_ISO_8_2 (1 << CODING_CATEGORY_IDX_ISO_8_2)
#define CODING_CATEGORY_MASK_ISO_7_ELSE (1 << CODING_CATEGORY_IDX_ISO_7_ELSE)
#define CODING_CATEGORY_MASK_ISO_8_ELSE (1 << CODING_CATEGORY_IDX_ISO_8_ELSE)
#define CODING_CATEGORY_MASK_CCL (1 << CODING_CATEGORY_IDX_CCL)
#define CODING_CATEGORY_MASK_BIG5 (1 << CODING_CATEGORY_IDX_BIG5)
#define CODING_CATEGORY_MASK_UTF_8 (1 << CODING_CATEGORY_IDX_UTF_8)
#define CODING_CATEGORY_MASK_UTF_16_BE (1 << CODING_CATEGORY_IDX_UTF_16_BE)
#define CODING_CATEGORY_MASK_UTF_16_LE (1 << CODING_CATEGORY_IDX_UTF_16_LE)
#define CODING_CATEGORY_MASK_RAW_TEXT (1 << CODING_CATEGORY_IDX_RAW_TEXT)
#define CODING_CATEGORY_MASK_BINARY (1 << CODING_CATEGORY_IDX_BINARY)
#define CODING_CATEGORY_MASK_ANY ( CODING_CATEGORY_MASK_EMACS_MULE | CODING_CATEGORY_MASK_SJIS | CODING_CATEGORY_MASK_ISO_7 | CODING_CATEGORY_MASK_ISO_7_TIGHT | CODING_CATEGORY_MASK_ISO_8_1 | CODING_CATEGORY_MASK_ISO_8_2 | CODING_CATEGORY_MASK_ISO_7_ELSE | CODING_CATEGORY_MASK_ISO_8_ELSE | CODING_CATEGORY_MASK_CCL | CODING_CATEGORY_MASK_BIG5 | CODING_CATEGORY_MASK_UTF_8 | CODING_CATEGORY_MASK_UTF_16_BE | CODING_CATEGORY_MASK_UTF_16_LE)
# 538 "coding.h"
#define CODING_CATEGORY_MASK_ISO_7BIT (CODING_CATEGORY_MASK_ISO_7 | CODING_CATEGORY_MASK_ISO_7_TIGHT)
#define CODING_CATEGORY_MASK_ISO_8BIT (CODING_CATEGORY_MASK_ISO_8_1 | CODING_CATEGORY_MASK_ISO_8_2)
#define CODING_CATEGORY_MASK_ISO_SHIFT (CODING_CATEGORY_MASK_ISO_7_ELSE | CODING_CATEGORY_MASK_ISO_8_ELSE)
#define CODING_CATEGORY_MASK_ISO ( CODING_CATEGORY_MASK_ISO_7BIT | CODING_CATEGORY_MASK_ISO_SHIFT | CODING_CATEGORY_MASK_ISO_8BIT)
#define CODING_CATEGORY_MASK_UTF_16_BE_LE (CODING_CATEGORY_MASK_UTF_16_BE | CODING_CATEGORY_MASK_UTF_16_LE)
#define DECODE_SJIS(s1,s2,c1,c2) do { if (s2 >= 0x9F) c1 = s1 * 2 - (s1 >= 0xE0 ? 0x160 : 0xE0), c2 = s2 - 0x7E; else c1 = s1 * 2 - ((s1 >= 0xE0) ? 0x161 : 0xE1), c2 = s2 - ((s2 >= 0x7F) ? 0x20 : 0x1F); } while (0)
# 570 "coding.h"
#define ENCODE_SJIS(c1,c2,s1,s2) do { if (c1 & 1) s1 = c1 / 2 + ((c1 < 0x5F) ? 0x71 : 0xB1), s2 = c2 + ((c2 >= 0x60) ? 0x20 : 0x1F); else s1 = c1 / 2 + ((c1 < 0x5F) ? 0x70 : 0xB0), s2 = c2 + 0x7E; } while (0)
# 582 "coding.h"
#define ENCODE_FILE(name) (! NILP (Vfile_name_coding_system) && !EQ (Vfile_name_coding_system, make_number (0)) ? code_convert_string_norecord (name, Vfile_name_coding_system, 1) : (! NILP (Vdefault_file_name_coding_system) && !EQ (Vdefault_file_name_coding_system, make_number (0)) ? code_convert_string_norecord (name, Vdefault_file_name_coding_system, 1) : name))
# 593 "coding.h"
#define DECODE_FILE(name) (! NILP (Vfile_name_coding_system) && !EQ (Vfile_name_coding_system, make_number (0)) ? code_convert_string_norecord (name, Vfile_name_coding_system, 0) : (! NILP (Vdefault_file_name_coding_system) && !EQ (Vdefault_file_name_coding_system, make_number (0)) ? code_convert_string_norecord (name, Vdefault_file_name_coding_system, 0) : name))
# 604 "coding.h"
#define ENCODE_SYSTEM(str) (! NILP (Vlocale_coding_system) && !EQ (Vlocale_coding_system, make_number (0)) ? code_convert_string_norecord (str, Vlocale_coding_system, 1) : str)
#define DECODE_SYSTEM(str) (! NILP (Vlocale_coding_system) && !EQ (Vlocale_coding_system, make_number (0)) ? code_convert_string_norecord (str, Vlocale_coding_system, 0) : str)
#define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1)
extern int decode_coding (struct coding_system *, const unsigned char *, unsigned char *, int, int);
extern int encode_coding (struct coding_system *, const unsigned char *, unsigned char *, int, int);
extern void coding_save_composition (struct coding_system *, int, int, Lisp_Object);
extern void coding_free_composition_data (struct coding_system *);
extern void coding_adjust_composition_offset (struct coding_system *, int);
extern void coding_allocate_composition_data (struct coding_system *, int);
extern void coding_restore_composition (struct coding_system *, Lisp_Object);
extern int code_convert_region (int, int, int, int, struct coding_system *, int, int);
extern Lisp_Object run_pre_post_conversion_on_str (Lisp_Object, struct coding_system *, int);
extern void run_pre_write_conversin_on_c_str (unsigned char **, int *, int, int, struct coding_system *);
extern int decoding_buffer_size (struct coding_system *, int);
extern int encoding_buffer_size (struct coding_system *, int);
extern void detect_coding (struct coding_system *, const unsigned char *, int);
extern void detect_eol (struct coding_system *, const unsigned char *, int);
extern int setup_coding_system (Lisp_Object, struct coding_system *);
extern Lisp_Object code_convert_string (Lisp_Object, struct coding_system *, int, int);
extern Lisp_Object code_convert_string1 (Lisp_Object, Lisp_Object, Lisp_Object, int);
extern Lisp_Object code_convert_string_norecord (Lisp_Object, Lisp_Object, int);
extern void setup_raw_text_coding_system (struct coding_system *);
extern Lisp_Object encode_coding_string (Lisp_Object, struct coding_system *, int);
extern Lisp_Object decode_coding_string (Lisp_Object, struct coding_system *, int);
extern Lisp_Object Qcoding_system, Qeol_type, Qcoding_category_index;
extern Lisp_Object Qraw_text, Qemacs_mule;
extern Lisp_Object Qbuffer_file_coding_system;
extern Lisp_Object Vcoding_category_list;
extern Lisp_Object Qutf_8;
extern Lisp_Object Qtranslation_table;
extern Lisp_Object Qtranslation_table_id;
extern Lisp_Object eol_mnemonic_unix, eol_mnemonic_dos, eol_mnemonic_mac;
extern Lisp_Object eol_mnemonic_undecided;
extern int system_eol_type;
extern Lisp_Object Qfile_coding_system;
extern Lisp_Object Qcall_process, Qcall_process_region;
extern Lisp_Object Qstart_process, Qopen_network_stream;
extern Lisp_Object Qwrite_region;
extern char *emacs_strerror (int);
extern Lisp_Object Vcoding_system_for_read;
extern Lisp_Object Vcoding_system_for_write;
extern Lisp_Object Vlast_coding_system_used;
extern Lisp_Object Vlocale_coding_system;
extern int inherit_process_coding_system;
extern struct coding_system terminal_coding;
extern struct coding_system safe_terminal_coding;
extern struct coding_system keyboard_coding;
extern struct coding_system default_buffer_file_coding;
extern Lisp_Object Vdefault_process_coding_system;
extern Lisp_Object Vselect_safe_coding_system_function;
extern int coding_system_require_warning;
extern Lisp_Object Vfile_name_coding_system;
extern Lisp_Object Vdefault_file_name_coding_system;
extern Lisp_Object Qcoding_system_error;
# 42 "mac.c" 2
# 59 "mac.c"
# 1 "/usr/include/utime.h" 1 3 4
# 59 "/usr/include/utime.h" 3 4
#define _UTIME_H_
# 68 "/usr/include/utime.h" 3 4
struct utimbuf {
time_t actime;
time_t modtime;
};
int utime(const char *, const struct utimbuf *);
# 60 "mac.c" 2
# 1 "/usr/include/dirent.h" 1 3 4
# 59 "/usr/include/dirent.h" 3 4
#define _DIRENT_H_
# 1 "/usr/include/sys/dirent.h" 1 3 4
# 76 "/usr/include/sys/dirent.h" 3 4
#define _SYS_DIRENT_H
# 87 "/usr/include/sys/dirent.h" 3 4
#define __DARWIN_MAXNAMLEN 255
#pragma pack(4)
struct dirent {
ino_t d_ino;
__uint16_t d_reclen;
__uint8_t d_type;
__uint8_t d_namlen;
char d_name[255 + 1];
};
#pragma pack()
#define __DARWIN_MAXPATHLEN 1024
#define __DARWIN_STRUCT_DIRENTRY { __uint64_t d_ino; __uint64_t d_seekoff; __uint16_t d_reclen; __uint16_t d_namlen; __uint8_t d_type; char d_name[__DARWIN_MAXPATHLEN]; }
# 121 "/usr/include/sys/dirent.h" 3 4
#define d_fileno d_ino
#define MAXNAMLEN __DARWIN_MAXNAMLEN
#define DT_UNKNOWN 0
#define DT_FIFO 1
#define DT_CHR 2
#define DT_DIR 4
#define DT_BLK 6
#define DT_REG 8
#define DT_LNK 10
#define DT_SOCK 12
#define DT_WHT 14
#define IFTODT(mode) (((mode) & 0170000) >> 12)
#define DTTOIF(dirtype) ((dirtype) << 12)
# 67 "/usr/include/dirent.h" 2 3 4
struct _telldir;
typedef struct {
int __dd_fd;
long __dd_loc;
long __dd_size;
char *__dd_buf;
int __dd_len;
long __dd_seek;
long __dd_rewind;
int __dd_flags;
__darwin_pthread_mutex_t __dd_lock;
struct _telldir *__dd_td;
} DIR;
#define DIRBLKSIZ 1024
#define dirfd(dirp) ((dirp)->__dd_fd)
#define DTF_HIDEW 0x0001
#define DTF_NODUP 0x0002
#define DTF_REWIND 0x0004
#define __DTF_READALL 0x0008
int alphasort(const void *, const void *) __asm("_" "alphasort" );
int closedir(DIR *) __asm("_" "closedir" "$UNIX2003");
int getdirentries(int, char *, int, long *);
DIR *opendir(const char *) __asm("_" "opendir" "$UNIX2003");
DIR *__opendir2(const char *, int) __asm("_" "__opendir2" "$UNIX2003");
struct dirent *readdir(DIR *) __asm("_" "readdir" );
int readdir_r(DIR *, struct dirent *, struct dirent **) __asm("_" "readdir_r" );
void rewinddir(DIR *) __asm("_" "rewinddir" "$UNIX2003");
int scandir(const char *, struct dirent ***,
int (*)(struct dirent *), int (*)(const void *, const void *)) __asm("_" "scandir" );
void seekdir(DIR *, long) __asm("_" "seekdir" "$UNIX2003");
long telldir(DIR *) __asm("_" "telldir" "$UNIX2003");
# 61 "mac.c" 2
# 1 "/usr/include/sys/stat.h" 1 3 4
# 71 "/usr/include/sys/stat.h" 3 4
#define _SYS_STAT_H_
#define __need_struct_timespec
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 85 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timespec
# 79 "/usr/include/sys/stat.h" 2 3 4
# 152 "/usr/include/sys/stat.h" 3 4
struct ostat {
__uint16_t st_dev;
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
__uint16_t st_uid;
__uint16_t st_gid;
__uint16_t st_rdev;
__int32_t st_size;
struct timespec st_atimespec;
struct timespec st_mtimespec;
struct timespec st_ctimespec;
__int32_t st_blksize;
__int32_t st_blocks;
__uint32_t st_flags;
__uint32_t st_gen;
};
#define __DARWIN_STRUCT_STAT64_TIMES struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec;
# 200 "/usr/include/sys/stat.h" 3 4
#define __DARWIN_STRUCT_STAT64 { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; __DARWIN_STRUCT_STAT64_TIMES off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; }
# 228 "/usr/include/sys/stat.h" 3 4
struct stat {
dev_t st_dev;
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
struct timespec st_atimespec;
struct timespec st_mtimespec;
struct timespec st_ctimespec;
# 248 "/usr/include/sys/stat.h" 3 4
off_t st_size;
blkcnt_t st_blocks;
blksize_t st_blksize;
__uint32_t st_flags;
__uint32_t st_gen;
__int32_t st_lspare;
__int64_t st_qspare[2];
};
struct stat64 { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec; off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; };
#define st_atime st_atimespec.tv_sec
#define st_mtime st_mtimespec.tv_sec
#define st_ctime st_ctimespec.tv_sec
#define st_birthtime st_birthtimespec.tv_sec
# 329 "/usr/include/sys/stat.h" 3 4
#define S_ISBLK(m) (((m) & 0170000) == 0060000)
#define S_ISCHR(m) (((m) & 0170000) == 0020000)
#define S_ISDIR(m) (((m) & 0170000) == 0040000)
#define S_ISFIFO(m) (((m) & 0170000) == 0010000)
#define S_ISREG(m) (((m) & 0170000) == 0100000)
#define S_ISLNK(m) (((m) & 0170000) == 0120000)
#define S_ISSOCK(m) (((m) & 0170000) == 0140000)
#define S_ISWHT(m) (((m) & 0170000) == 0160000)
#define S_ISXATTR(m) (((m) & 0200000) == 0200000)
# 356 "/usr/include/sys/stat.h" 3 4
#define S_TYPEISMQ(buf) (0)
#define S_TYPEISSEM(buf) (0)
#define S_TYPEISSHM(buf) (0)
# 374 "/usr/include/sys/stat.h" 3 4
#define S_TYPEISTMO(buf) (0)
#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
#define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
#define S_BLKSIZE 512
#define UF_SETTABLE 0x0000ffff
#define UF_NODUMP 0x00000001
#define UF_IMMUTABLE 0x00000002
#define UF_APPEND 0x00000004
#define UF_OPAQUE 0x00000008
#define UF_HIDDEN 0x00008000
#define SF_SETTABLE 0xffff0000
#define SF_ARCHIVED 0x00010000
#define SF_IMMUTABLE 0x00020000
#define SF_APPEND 0x00040000
# 422 "/usr/include/sys/stat.h" 3 4
int chmod(const char *, mode_t) __asm("_" "chmod" "$UNIX2003");
int fchmod(int, mode_t) __asm("_" "fchmod" "$UNIX2003");
int fstat(int, struct stat *) __asm("_" "fstat" );
int lstat(const char *, struct stat *) __asm("_" "lstat" );
int mkdir(const char *, mode_t);
int mkfifo(const char *, mode_t);
int stat(const char *, struct stat *) __asm("_" "stat" );
int mknod(const char *, mode_t, dev_t);
mode_t umask(mode_t);
int chflags(const char *, __uint32_t);
int chmodx_np(const char *, filesec_t);
int fchflags(int, __uint32_t);
int fchmodx_np(int, filesec_t);
int fstatx_np(int, struct stat *, filesec_t) __asm("_" "fstatx_np" );
int lchflags(const char *, __uint32_t);
int lchmod(const char *, mode_t);
int lstatx_np(const char *, struct stat *, filesec_t) __asm("_" "lstatx_np" );
int mkdirx_np(const char *, filesec_t);
int mkfifox_np(const char *, filesec_t);
int statx_np(const char *, struct stat *, filesec_t) __asm("_" "statx_np" );
int umaskx_np(filesec_t);
int fstatx64_np(int, struct stat64 *, filesec_t);
int lstatx64_np(const char *, struct stat64 *, filesec_t);
int statx64_np(const char *, struct stat64 *, filesec_t);
int fstat64(int, struct stat64 *);
int lstat64(const char *, struct stat64 *);
int stat64(const char *, struct stat64 *);
# 63 "mac.c" 2
# 1 "/usr/include/pwd.h" 1 3 4
# 67 "/usr/include/pwd.h" 3 4
#define _PWD_H_
# 87 "/usr/include/pwd.h" 3 4
#define _PATH_PWD "/etc"
#define _PATH_PASSWD "/etc/passwd"
#define _PASSWD "passwd"
#define _PATH_MASTERPASSWD "/etc/master.passwd"
#define _PATH_MASTERPASSWD_LOCK "/etc/ptmp"
#define _MASTERPASSWD "master.passwd"
#define _PATH_MP_DB "/etc/pwd.db"
#define _MP_DB "pwd.db"
#define _PATH_SMP_DB "/etc/spwd.db"
#define _SMP_DB "spwd.db"
#define _PATH_PWD_MKDB "/usr/sbin/pwd_mkdb"
#define _PW_KEYBYNAME '1'
#define _PW_KEYBYNUM '2'
#define _PW_KEYBYUID '3'
#define _PASSWORD_EFMT1 '_'
#define _PASSWORD_LEN 128
#define _PASSWORD_NOUID 0x01
#define _PASSWORD_NOGID 0x02
#define _PASSWORD_NOCHG 0x04
#define _PASSWORD_NOEXP 0x08
#define _PASSWORD_WARNDAYS 14
#define _PASSWORD_CHGNOW -1
struct passwd {
char *pw_name;
char *pw_passwd;
uid_t pw_uid;
gid_t pw_gid;
__darwin_time_t pw_change;
char *pw_class;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
__darwin_time_t pw_expire;
};
struct passwd *getpwuid(uid_t);
struct passwd *getpwnam(const char *);
int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **);
int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **);
struct passwd *getpwent(void);
int setpassent(int);
char *user_from_uid(uid_t, int);
void setpwent(void);
void endpwent(void);
# 64 "mac.c" 2
# 1 "/usr/include/grp.h" 1 3 4
# 64 "/usr/include/grp.h" 3 4
#define _GRP_H_
# 84 "/usr/include/grp.h" 3 4
#define _PATH_GROUP "/etc/group"
struct group {
char *gr_name;
char *gr_passwd;
gid_t gr_gid;
char **gr_mem;
};
struct group *getgrgid(gid_t);
struct group *getgrnam(const char *);
int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **);
int getgrnam_r(const char *, struct group *, char *, size_t, struct group **);
struct group *getgrent(void);
void setgrent(void);
void endgrent(void);
char *group_from_gid(gid_t, int);
void setgrfile(const char *);
int setgroupent(int);
# 65 "mac.c" 2
# 1 "/usr/include/sys/param.h" 1 3 4
# 70 "/usr/include/sys/param.h" 3 4
#define _SYS_PARAM_H_
#define BSD 199506
#define BSD4_3 1
#define BSD4_4 1
#define NeXTBSD 1995064
#define NeXTBSD4_0 0
# 98 "/usr/include/sys/param.h" 3 4
#define MAXCOMLEN 16
#define MAXINTERP 64
#define MAXLOGNAME 255
#define MAXUPRC CHILD_MAX
#define NCARGS ARG_MAX
#define NGROUPS NGROUPS_MAX
#define NOFILE 256
#define NOGROUP 65535
#define MAXHOSTNAMELEN 256
#define MAXDOMNAMELEN 256
# 1 "/usr/include/machine/param.h" 1 3 4
# 32 "/usr/include/machine/param.h" 3 4
#define _BSD_MACHINE_PARAM_H_
# 1 "/usr/include/i386/param.h" 1 3 4
# 73 "/usr/include/i386/param.h" 3 4
#define _I386_PARAM_H_
# 1 "/usr/include/i386/_param.h" 1 3 4
# 30 "/usr/include/i386/_param.h" 3 4
#define _I386__PARAM_H_
# 39 "/usr/include/i386/_param.h" 3 4
#define __DARWIN_ALIGNBYTES (sizeof(__darwin_size_t) - 1)
#define __DARWIN_ALIGN(p) ((__darwin_size_t)((char *)(p) + __DARWIN_ALIGNBYTES) &~ __DARWIN_ALIGNBYTES)
# 76 "/usr/include/i386/param.h" 2 3 4
#define ALIGNBYTES __DARWIN_ALIGNBYTES
#define ALIGN(p) __DARWIN_ALIGN(p)
#define NBPG 4096
#define PGOFSET (NBPG-1)
#define PGSHIFT 12
#define DEV_BSIZE 512
#define DEV_BSHIFT 9
#define BLKDEV_IOSIZE 2048
#define MAXPHYS (128 * 1024)
#define CLSIZE 1
#define CLSIZELOG2 0
# 104 "/usr/include/i386/param.h" 3 4
#define MSIZE 256
#define MCLBYTES 2048
#define MCLSHIFT 11
#define MCLOFSET (MCLBYTES - 1)
#define NMBCLUSTERS ((1024 * 512) / MCLBYTES)
#define ctos(x) (x)
#define stoc(x) (x)
#define ctod(x) ((x)<<(PGSHIFT-DEV_BSHIFT))
#define dtoc(x) ((x)>>(PGSHIFT-DEV_BSHIFT))
#define dtob(x) ((x)<<DEV_BSHIFT)
#define ctob(x) ((x)<<PGSHIFT)
#define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT)
#define btodb(bytes,devBlockSize) ((unsigned)(bytes) / devBlockSize)
#define dbtob(db,devBlockSize) ((unsigned)(db) * devBlockSize)
# 152 "/usr/include/i386/param.h" 3 4
#define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
#define STATUS_WORD(rpl,ipl) (((ipl) << 8) | (rpl))
#define USERMODE(x) (((x) & 3) == 3)
#define BASEPRI(x) (((x) & (255 << 8)) == 0)
#define DELAY(n) { register int N = (n); while (--N > 0); }
# 38 "/usr/include/machine/param.h" 2 3 4
# 111 "/usr/include/sys/param.h" 2 3 4
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 1 3 4
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/syslimits.h" 1 3 4
#define _GCC_NEXT_LIMITS_H
# 8 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 2 3 4
#undef _GCC_NEXT_LIMITS_H
# 114 "/usr/include/sys/param.h" 2 3 4
# 122 "/usr/include/sys/param.h" 3 4
#define PSWP 0
#define PVM 4
#define PINOD 8
#define PRIBIO 16
#define PVFS 20
#define PZERO 22
#define PSOCK 24
#define PWAIT 32
#define PLOCK 36
#define PPAUSE 40
#define PUSER 50
#define MAXPRI 127
#define PRIMASK 0x0ff
#define PCATCH 0x100
#define PTTYBLOCK 0x200
#define PDROP 0x400
#define NBPW sizeof(int)
#define CMASK 022
#define NODEV (dev_t)(-1)
#define CLBYTES (CLSIZE*NBPG)
#define CLOFSET (CLSIZE*NBPG-1)
#define claligned(x) ((((int)(x))&CLOFSET)==0)
#define CLOFF CLOFSET
#define CLSHIFT (PGSHIFT+CLSIZELOG2)
#define clbase(i) (i)
#define clrnd(i) (i)
#define CBLOCK 64
#define CBQSIZE (CBLOCK/NBBY)
#define CBSIZE (CBLOCK - sizeof(struct cblock *) - CBQSIZE)
#define CROUND (CBLOCK - 1)
# 183 "/usr/include/sys/param.h" 3 4
#define MAXBSIZE (256 * 4096)
#define MAXPHYSIO MAXPHYS
#define MAXFRAG 8
#define MAXPHYSIO_WIRED (16 * 1024 * 1024)
# 198 "/usr/include/sys/param.h" 3 4
#define MAXPATHLEN PATH_MAX
#define MAXSYMLINKS 32
#define setbit(a,i) (((char *)(a))[(i)/NBBY] |= 1<<((i)%NBBY))
#define clrbit(a,i) (((char *)(a))[(i)/NBBY] &= ~(1<<((i)%NBBY)))
#define isset(a,i) (((char *)(a))[(i)/NBBY] & (1<<((i)%NBBY)))
#define isclr(a,i) ((((char *)(a))[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
#define roundup(x,y) ((((x)+((y)-1))/(y))*(y))
#define powerof2(x) ((((x)-1)&(x))==0)
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))
# 237 "/usr/include/sys/param.h" 3 4
#define MINBUCKET 4
#define MAXALLOCSAVE (2 * CLBYTES)
# 251 "/usr/include/sys/param.h" 3 4
#define FSHIFT 11
#define FSCALE (1<<FSHIFT)
# 66 "mac.c" 2
# 1 "/usr/include/fcntl.h" 1 3 4
# 67 "mac.c" 2
static int mac_system_script_code;
static Lisp_Object Vmac_system_locale;
static ComponentInstance as_scripting_component;
static OSAID as_script_context;
# 103 "mac.c"
void
string_cat_and_replace (char *s1, const char *s2, int n, char a, char b)
{
int l1 = strlen (s1);
int l2 = strlen (s2);
char *p = s1 + l1;
int i;
strncat (s1, s2, n);
for (i = 0; i < l2; i++)
{
if (*p == a)
*p = b;
p++;
}
}
# 130 "mac.c"
int
mac_to_posix_pathname (const char *mfn, char *ufn, int ufnbuflen)
{
const char *p, *q, *pe;
strcpy (ufn, "");
if (*mfn == '\0')
return 1;
p = strchr (mfn, ':');
if (p != 0 && p != mfn)
strcat (ufn, "/");
p = mfn;
if (*p == ':')
p++;
pe = mfn + strlen (mfn);
while (p < pe)
{
q = strchr (p, ':');
if (q)
{
if (q == p)
{
if (strlen (ufn) + 3 >= ufnbuflen)
return 0;
strcat (ufn, "../");
}
else
{
if (strlen (ufn) + (q - p) + 1 >= ufnbuflen)
return 0;
string_cat_and_replace (ufn, p, q - p, '/', ':');
strcat (ufn, "/");
}
p = q + 1;
}
else
{
if (strlen (ufn) + (pe - p) >= ufnbuflen)
return 0;
string_cat_and_replace (ufn, p, pe - p, '/', ':');
p = pe;
}
}
return 1;
}
extern char *get_temp_dir_name ();
int
posix_to_mac_pathname (const char *ufn, char *mfn, int mfnbuflen)
{
const char *p, *q, *pe;
char expanded_pathname[1024 +1];
strcpy (mfn, "");
if (*ufn == '\0')
return 1;
p = ufn;
if (*p == '/' && strchr (p+1, '/') == ((void *)0) && strcmp (p, "/.emacs") != 0)
{
if (strlen (p) + 1 > mfnbuflen)
return 0;
strcpy (mfn, p+1);
strcat (mfn, ":");
return 1;
}
if (strncmp (p, "~emacs/", 7) == 0)
{
struct passwd *pw = getpwnam ("emacs");
p += 7;
if (strlen (pw->pw_dir) + strlen (p) > 1024)
return 0;
strcpy (expanded_pathname, pw->pw_dir);
strcat (expanded_pathname, p);
p = expanded_pathname;
}
else if (strncmp (p, "/tmp/", 5) == 0)
{
char *t = get_temp_dir_name ();
p += 5;
if (strlen (t) + strlen (p) > 1024)
return 0;
strcpy (expanded_pathname, t);
strcat (expanded_pathname, p);
p = expanded_pathname;
}
else if (*p != '/')
strcat (mfn, ":");
if (*p == '/')
p++;
pe = p + strlen (p);
while (p < pe)
{
q = strchr (p, '/');
if (q)
{
if (q - p == 2 && *p == '.' && *(p+1) == '.')
{
if (strlen (mfn) + 1 >= mfnbuflen)
return 0;
strcat (mfn, ":");
}
else
{
if (strlen (mfn) + (q - p) + 1 >= mfnbuflen)
return 0;
string_cat_and_replace (mfn, p, q - p, ':', '/');
strcat (mfn, ":");
}
p = q + 1;
}
else
{
if (strlen (mfn) + (pe - p) >= mfnbuflen)
return 0;
string_cat_and_replace (mfn, p, pe - p, ':', '/');
p = pe;
}
}
return 1;
}
static Lisp_Object Qundecoded_file_name;
static struct {
AEKeyword keyword;
char *name;
Lisp_Object symbol;
} ae_attr_table [] =
{{keyTransactionIDAttr, "transaction-id"},
{keyReturnIDAttr, "return-id"},
{keyEventClassAttr, "event-class"},
{keyEventIDAttr, "event-id"},
{keyAddressAttr, "address"},
{keyOptionalKeywordAttr, "optional-keyword"},
{keyTimeoutAttr, "timeout"},
{keyInteractLevelAttr, "interact-level"},
{keyEventSourceAttr, "event-source"},
{keyOriginalAddressAttr, "original-address"},
{keyReplyRequestedAttr, "reply-requested"},
{KEY_EMACS_SUSPENSION_ID_ATTR, "emacs-suspension-id"}
};
static Lisp_Object
mac_aelist_to_lisp (desc_list)
const AEDescList *desc_list;
{
OSErr err;
long count;
Lisp_Object result, elem;
DescType desc_type;
Size size;
AEKeyword keyword;
AEDesc desc;
int attribute_p = 0;
err = AECountItems (desc_list, &count);
if (err != noErr)
return Qnil;
result = Qnil;
again:
while (count > 0)
{
if (attribute_p)
{
keyword = ae_attr_table[count - 1].keyword;
err = AESizeOfAttribute (desc_list, keyword, &desc_type, &size);
}
else
err = AESizeOfNthItem (desc_list, count, &desc_type, &size);
if (err == noErr)
switch (desc_type)
{
case typeAEList:
case typeAERecord:
case typeAppleEvent:
if (attribute_p)
err = AEGetAttributeDesc (desc_list, keyword, typeWildCard,
&desc);
else
err = AEGetNthDesc (desc_list, count, typeWildCard,
&keyword, &desc);
if (err != noErr)
break;
elem = mac_aelist_to_lisp (&desc);
AEDisposeDesc (&desc);
break;
default:
if (desc_type == typeNull)
elem = Qnil;
else
{
elem = make_uninit_string (size);
if (attribute_p)
err = AEGetAttributePtr (desc_list, keyword, typeWildCard,
&desc_type, (((void) 0,(struct Lisp_String *) ((int) ((elem) & ~((((int) 1) << 3) - 1))))->data + 0),
size, &size);
else
err = AEGetNthPtr (desc_list, count, typeWildCard, &keyword,
&desc_type, (((void) 0,(struct Lisp_String *) ((int) ((elem) & ~((((int) 1) << 3) - 1))))->data + 0), size, &size);
}
if (err != noErr)
break;
desc_type = ((UInt32)(UInt32) (__builtin_constant_p(desc_type) ? ((__uint32_t)((((__uint32_t)(desc_type) & 0xff000000) >> 24) | (((__uint32_t)(desc_type) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_type) & 0x0000ff00) << 8) | (((__uint32_t)(desc_type) & 0x000000ff) << 24))) : (__builtin_constant_p(desc_type) ? ((__uint32_t)((((__uint32_t)(desc_type) & 0xff000000) >> 24) | (((__uint32_t)(desc_type) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_type) & 0x0000ff00) << 8) | (((__uint32_t)(desc_type) & 0x000000ff) << 24))) : _OSSwapInt32(desc_type))));
elem = Fcons (make_unibyte_string ((char *) &desc_type, 4), elem);
break;
}
if (err == noErr || desc_list->descriptorType == typeAEList)
{
if (err != noErr)
elem = Qnil;
else if (desc_list->descriptorType != typeAEList)
{
if (attribute_p)
elem = Fcons (ae_attr_table[count-1].symbol, elem);
else
{
keyword = ((UInt32)(UInt32) (__builtin_constant_p(keyword) ? ((__uint32_t)((((__uint32_t)(keyword) & 0xff000000) >> 24) | (((__uint32_t)(keyword) & 0x00ff0000) >> 8) | (((__uint32_t)(keyword) & 0x0000ff00) << 8) | (((__uint32_t)(keyword) & 0x000000ff) << 24))) : (__builtin_constant_p(keyword) ? ((__uint32_t)((((__uint32_t)(keyword) & 0xff000000) >> 24) | (((__uint32_t)(keyword) & 0x00ff0000) >> 8) | (((__uint32_t)(keyword) & 0x0000ff00) << 8) | (((__uint32_t)(keyword) & 0x000000ff) << 24))) : _OSSwapInt32(keyword))));
elem = Fcons (make_unibyte_string ((char *) &keyword, 4),
elem);
}
}
result = Fcons (elem, result);
}
count--;
}
if (desc_list->descriptorType == typeAppleEvent && !attribute_p)
{
attribute_p = 1;
count = sizeof (ae_attr_table) / sizeof (ae_attr_table[0]);
goto again;
}
desc_type = ((UInt32)(UInt32) (__builtin_constant_p(desc_list->descriptorType) ? ((__uint32_t)((((__uint32_t)(desc_list->descriptorType) & 0xff000000) >> 24) | (((__uint32_t)(desc_list->descriptorType) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_list->descriptorType) & 0x0000ff00) << 8) | (((__uint32_t)(desc_list->descriptorType) & 0x000000ff) << 24))) : (__builtin_constant_p(desc_list->descriptorType) ? ((__uint32_t)((((__uint32_t)(desc_list->descriptorType) & 0xff000000) >> 24) | (((__uint32_t)(desc_list->descriptorType) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_list->descriptorType) & 0x0000ff00) << 8) | (((__uint32_t)(desc_list->descriptorType) & 0x000000ff) << 24))) : _OSSwapInt32(desc_list->descriptorType))));
return Fcons (make_unibyte_string ((char *) &desc_type, 4), result);
}
Lisp_Object
mac_aedesc_to_lisp (desc)
const AEDesc *desc;
{
OSErr err = noErr;
DescType desc_type = desc->descriptorType;
Lisp_Object result;
switch (desc_type)
{
case typeNull:
result = Qnil;
break;
case typeAEList:
case typeAERecord:
case typeAppleEvent:
return mac_aelist_to_lisp (desc);
# 451 "mac.c"
break;
default:
result = make_uninit_string (AEGetDescDataSize (desc));
err = AEGetDescData (desc, (((void) 0,(struct Lisp_String *) ((int) ((result) & ~((((int) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((int) ((result) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((result) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((result) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0));
break;
}
if (err != noErr)
return Qnil;
desc_type = ((UInt32)(UInt32) (__builtin_constant_p(desc_type) ? ((__uint32_t)((((__uint32_t)(desc_type) & 0xff000000) >> 24) | (((__uint32_t)(desc_type) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_type) & 0x0000ff00) << 8) | (((__uint32_t)(desc_type) & 0x000000ff) << 24))) : (__builtin_constant_p(desc_type) ? ((__uint32_t)((((__uint32_t)(desc_type) & 0xff000000) >> 24) | (((__uint32_t)(desc_type) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_type) & 0x0000ff00) << 8) | (((__uint32_t)(desc_type) & 0x000000ff) << 24))) : _OSSwapInt32(desc_type))));
return Fcons (make_unibyte_string ((char *) &desc_type, 4), result);
}
OSErr
mac_ae_put_lisp (desc, keyword_or_index, obj)
AEDescList *desc;
UInt32 keyword_or_index;
Lisp_Object obj;
{
OSErr err;
if (!(desc->descriptorType == typeAppleEvent
|| desc->descriptorType == typeAERecord
|| desc->descriptorType == typeAEList))
return errAEWrongDataType;
if ((((enum Lisp_Type) (((unsigned int) ((obj))) & ((((int) 1) << 3) - 1))) == Lisp_Cons) && (((enum Lisp_Type) (((unsigned int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))))) & ((((int) 1) << 3) - 1))) == Lisp_String) && (((((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0) == 4)
{
DescType desc_type1 = ((UInt32)(UInt32) (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : _OSSwapInt32(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))))));
Lisp_Object data = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((obj)) & ~((((int) 1) << 3) - 1))))->u.cdr))), rest;
AEDesc desc1;
switch (desc_type1)
{
case typeNull:
case typeAppleEvent:
break;
case typeAEList:
case typeAERecord:
err = AECreateList (((void *)0), 0, desc_type1 == typeAERecord, &desc1);
if (err == noErr)
{
for (rest = data; (((enum Lisp_Type) (((unsigned int) ((rest))) & ((((int) 1) << 3) - 1))) == Lisp_Cons); rest = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((rest)) & ~((((int) 1) << 3) - 1))))->u.cdr))))
{
UInt32 keyword_or_index1 = 0;
Lisp_Object elem = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((rest)) & ~((((int) 1) << 3) - 1))))->car)));
if (desc_type1 == typeAERecord)
{
if ((((enum Lisp_Type) (((unsigned int) ((elem))) & ((((int) 1) << 3) - 1))) == Lisp_Cons) && (((enum Lisp_Type) (((unsigned int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))))) & ((((int) 1) << 3) - 1))) == Lisp_String)
&& (((((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0) == 4)
{
keyword_or_index1 =
((UInt32)(UInt32) (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : _OSSwapInt32(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0))))));
elem = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((elem)) & ~((((int) 1) << 3) - 1))))->u.cdr)));
}
else
continue;
}
err = mac_ae_put_lisp (&desc1, keyword_or_index1, elem);
if (err != noErr)
break;
}
if (err == noErr)
{
if (desc->descriptorType == typeAEList)
err = AEPutDesc (desc, keyword_or_index, &desc1);
else
err = AEPutParamDesc (desc, keyword_or_index, &desc1);
}
AEDisposeDesc (&desc1);
}
return err;
default:
if (!(((enum Lisp_Type) (((unsigned int) ((data))) & ((((int) 1) << 3) - 1))) == Lisp_String))
break;
if (desc->descriptorType == typeAEList)
err = AEPutPtr (desc, keyword_or_index, desc_type1,
(((void) 0,(struct Lisp_String *) ((int) ((data) & ~((((int) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((int) ((data) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((data) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((data) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0));
else
err = AEPutParamPtr (desc, keyword_or_index, desc_type1,
(((void) 0,(struct Lisp_String *) ((int) ((data) & ~((((int) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((int) ((data) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((data) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((data) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0));
return err;
}
}
if (desc->descriptorType == typeAEList)
err = AEPutPtr (desc, keyword_or_index, typeNull, ((void *)0), 0);
else
err = AEPutParamPtr (desc, keyword_or_index, typeNull, ((void *)0), 0);
return err;
}
static OSErr
mac_coerce_file_name_ptr (type_code, data_ptr, data_size,
to_type, handler_refcon, result)
DescType type_code;
const void *data_ptr;
Size data_size;
DescType to_type;
long handler_refcon;
AEDesc *result;
{
OSErr err;
if (type_code == typeNull)
err = errAECoercionFail;
else if (type_code == to_type || to_type == typeWildCard)
err = AECreateDesc (TYPE_FILE_NAME, data_ptr, data_size, result);
else if (type_code == TYPE_FILE_NAME)
{
CFStringRef str;
CFURLRef url = ((void *)0);
CFDataRef data = ((void *)0);
str = CFStringCreateWithBytes (((void *)0), data_ptr, data_size,
kCFStringEncodingUTF8, 0);
if (str)
{
url = CFURLCreateWithFileSystemPath (((void *)0), str,
kCFURLPOSIXPathStyle, 0);
CFRelease (str);
}
if (url)
{
data = CFURLCreateData (((void *)0), url, kCFStringEncodingUTF8, 1);
CFRelease (url);
}
if (data)
{
err = AECoercePtr (typeFileURL, CFDataGetBytePtr (data),
CFDataGetLength (data), to_type, result);
CFRelease (data);
}
else
err = memFullErr;
if (err != noErr)
{
FSRef fref;
char *buf;
buf = xmalloc (data_size + 1);
memcpy (buf, data_ptr, data_size);
buf[data_size] = '\0';
err = FSPathMakeRef (buf, &fref, ((void *)0));
xfree (buf);
if (err == noErr)
err = AECoercePtr (typeFSRef, &fref, sizeof (FSRef),
to_type, result);
}
# 631 "mac.c"
}
else if (to_type == TYPE_FILE_NAME)
{
CFURLRef url = ((void *)0);
CFStringRef str = ((void *)0);
CFDataRef data = ((void *)0);
if (type_code == typeFileURL)
url = CFURLCreateWithBytes (((void *)0), data_ptr, data_size,
kCFStringEncodingUTF8, ((void *)0));
else
{
AEDesc desc;
Size size;
char *buf;
err = AECoercePtr (type_code, data_ptr, data_size,
typeFileURL, &desc);
if (err == noErr)
{
size = AEGetDescDataSize (&desc);
buf = xmalloc (size);
err = AEGetDescData (&desc, buf, size);
if (err == noErr)
url = CFURLCreateWithBytes (((void *)0), buf, size,
kCFStringEncodingUTF8, ((void *)0));
xfree (buf);
AEDisposeDesc (&desc);
}
}
if (url)
{
str = CFURLCopyFileSystemPath (url, kCFURLPOSIXPathStyle);
CFRelease (url);
}
if (str)
{
data = CFStringCreateExternalRepresentation (((void *)0), str,
kCFStringEncodingUTF8,
'\0');
CFRelease (str);
}
if (data)
{
err = AECreateDesc (TYPE_FILE_NAME, CFDataGetBytePtr (data),
CFDataGetLength (data), result);
CFRelease (data);
}
if (err != noErr)
{
char file_name[1024];
if (type_code == typeFSRef && data_size == sizeof (FSRef))
err = FSRefMakePath (data_ptr, file_name, sizeof (file_name));
else
{
AEDesc desc;
FSRef fref;
err = AECoercePtr (type_code, data_ptr, data_size,
typeFSRef, &desc);
if (err == noErr)
{
err = AEGetDescData (&desc, &fref, sizeof (FSRef));
AEDisposeDesc (&desc);
}
if (err == noErr)
err = FSRefMakePath (&fref, file_name, sizeof (file_name));
}
if (err == noErr)
err = AECreateDesc (TYPE_FILE_NAME, file_name,
strlen (file_name), result);
}
# 738 "mac.c"
}
else
abort ();
if (err != noErr)
return errAECoercionFail;
return noErr;
}
static OSErr
mac_coerce_file_name_desc (from_desc, to_type, handler_refcon, result)
const AEDesc *from_desc;
DescType to_type;
long handler_refcon;
AEDesc *result;
{
OSErr err = noErr;
DescType from_type = from_desc->descriptorType;
if (from_type == typeNull)
err = errAECoercionFail;
else if (from_type == to_type || to_type == typeWildCard)
err = AEDuplicateDesc (from_desc, result);
else
{
char *data_ptr;
Size data_size;
data_size = AEGetDescDataSize (from_desc);
data_ptr = xmalloc (data_size);
err = AEGetDescData (from_desc, data_ptr, data_size);
if (err == noErr)
err = mac_coerce_file_name_ptr (from_type, data_ptr,
data_size, to_type,
handler_refcon, result);
xfree (data_ptr);
}
if (err != noErr)
return errAECoercionFail;
return noErr;
}
OSErr
init_coercion_handler ()
{
OSErr err;
static AECoercePtrUPP coerce_file_name_ptrUPP = ((void *)0);
static AECoerceDescUPP coerce_file_name_descUPP = ((void *)0);
if (coerce_file_name_ptrUPP == ((void *)0))
{
coerce_file_name_ptrUPP = ((AECoercePtrUPP)mac_coerce_file_name_ptr);
coerce_file_name_descUPP = ((AECoerceDescUPP)mac_coerce_file_name_desc);
}
err = AEInstallCoercionHandler (TYPE_FILE_NAME, typeWildCard,
(AECoercionHandlerUPP)
coerce_file_name_ptrUPP, 0, 0, 0);
if (err == noErr)
err = AEInstallCoercionHandler (typeWildCard, TYPE_FILE_NAME,
(AECoercionHandlerUPP)
coerce_file_name_ptrUPP, 0, 0, 0);
if (err == noErr)
err = AEInstallCoercionHandler (TYPE_FILE_NAME, typeWildCard,
coerce_file_name_descUPP, 0, 1, 0);
if (err == noErr)
err = AEInstallCoercionHandler (typeWildCard, TYPE_FILE_NAME,
coerce_file_name_descUPP, 0, 1, 0);
return err;
}
OSErr
create_apple_event (class, id, result)
AEEventClass class;
AEEventID id;
AppleEvent *result;
{
OSErr err;
static const ProcessSerialNumber psn = {0, kCurrentProcess};
AEAddressDesc address_desc;
err = AECreateDesc (typeProcessSerialNumber, &psn,
sizeof (ProcessSerialNumber), &address_desc);
if (err == noErr)
{
err = AECreateAppleEvent (class, id,
&address_desc,
kAutoGenerateReturnID,
kAnyTransactionID, result);
AEDisposeDesc (&address_desc);
}
return err;
}
Lisp_Object
mac_event_parameters_to_lisp (event, num_params, names, types)
EventRef event;
UInt32 num_params;
const EventParamName *names;
const EventParamType *types;
{
OSStatus err;
Lisp_Object result = Qnil;
UInt32 i;
ByteCount size;
CFStringRef string;
CFDataRef data;
char *buf = ((void *)0);
for (i = 0; i < num_params; i++)
{
EventParamName name = names[i];
EventParamType type = types[i];
switch (type)
{
case typeCFStringRef:
err = GetEventParameter (event, name, typeCFStringRef, ((void *)0),
sizeof (CFStringRef), ((void *)0), &string);
if (err != noErr)
break;
data = CFStringCreateExternalRepresentation (((void *)0), string,
kCFStringEncodingUTF8,
'?');
if (data == ((void *)0))
break;
name = ((UInt32)(UInt32) (__builtin_constant_p(name) ? ((__uint32_t)((((__uint32_t)(name) & 0xff000000) >> 24) | (((__uint32_t)(name) & 0x00ff0000) >> 8) | (((__uint32_t)(name) & 0x0000ff00) << 8) | (((__uint32_t)(name) & 0x000000ff) << 24))) : (__builtin_constant_p(name) ? ((__uint32_t)((((__uint32_t)(name) & 0xff000000) >> 24) | (((__uint32_t)(name) & 0x00ff0000) >> 8) | (((__uint32_t)(name) & 0x0000ff00) << 8) | (((__uint32_t)(name) & 0x000000ff) << 24))) : _OSSwapInt32(name))));
type = ((UInt32)(UInt32) (__builtin_constant_p(typeUTF8Text) ? ((__uint32_t)((((__uint32_t)(typeUTF8Text) & 0xff000000) >> 24) | (((__uint32_t)(typeUTF8Text) & 0x00ff0000) >> 8) | (((__uint32_t)(typeUTF8Text) & 0x0000ff00) << 8) | (((__uint32_t)(typeUTF8Text) & 0x000000ff) << 24))) : (__builtin_constant_p(typeUTF8Text) ? ((__uint32_t)((((__uint32_t)(typeUTF8Text) & 0xff000000) >> 24) | (((__uint32_t)(typeUTF8Text) & 0x00ff0000) >> 8) | (((__uint32_t)(typeUTF8Text) & 0x0000ff00) << 8) | (((__uint32_t)(typeUTF8Text) & 0x000000ff) << 24))) : _OSSwapInt32(typeUTF8Text))));
result =
Fcons (Fcons (make_unibyte_string ((char *) &name, 4),
Fcons (make_unibyte_string ((char *) &type, 4),
make_unibyte_string (CFDataGetBytePtr (data),
CFDataGetLength (data)))),
result);
CFRelease (data);
break;
default:
err = GetEventParameter (event, name, type, ((void *)0), 0, &size, ((void *)0));
if (err != noErr)
break;
buf = xrealloc (buf, size);
err = GetEventParameter (event, name, type, ((void *)0), size, ((void *)0), buf);
if (err == noErr)
{
name = ((UInt32)(UInt32) (__builtin_constant_p(name) ? ((__uint32_t)((((__uint32_t)(name) & 0xff000000) >> 24) | (((__uint32_t)(name) & 0x00ff0000) >> 8) | (((__uint32_t)(name) & 0x0000ff00) << 8) | (((__uint32_t)(name) & 0x000000ff) << 24))) : (__builtin_constant_p(name) ? ((__uint32_t)((((__uint32_t)(name) & 0xff000000) >> 24) | (((__uint32_t)(name) & 0x00ff0000) >> 8) | (((__uint32_t)(name) & 0x0000ff00) << 8) | (((__uint32_t)(name) & 0x000000ff) << 24))) : _OSSwapInt32(name))));
type = ((UInt32)(UInt32) (__builtin_constant_p(type) ? ((__uint32_t)((((__uint32_t)(type) & 0xff000000) >> 24) | (((__uint32_t)(type) & 0x00ff0000) >> 8) | (((__uint32_t)(type) & 0x0000ff00) << 8) | (((__uint32_t)(type) & 0x000000ff) << 24))) : (__builtin_constant_p(type) ? ((__uint32_t)((((__uint32_t)(type) & 0xff000000) >> 24) | (((__uint32_t)(type) & 0x00ff0000) >> 8) | (((__uint32_t)(type) & 0x0000ff00) << 8) | (((__uint32_t)(type) & 0x000000ff) << 24))) : _OSSwapInt32(type))));
result =
Fcons (Fcons (make_unibyte_string ((char *) &name, 4),
Fcons (make_unibyte_string ((char *) &type, 4),
make_unibyte_string (buf, size))),
result);
}
break;
}
}
if (buf)
xfree (buf);
return result;
}
static Lisp_Object Qstring, Qnumber, Qboolean, Qdate, Qdata;
static Lisp_Object Qarray, Qdictionary;
struct cfdict_context
{
Lisp_Object *result;
int with_tag, hash_bound;
};
CFStringRef
cfstring_create_with_utf8_cstring (c_str)
const char *c_str;
{
CFStringRef str;
str = CFStringCreateWithCString (((void *)0), c_str, kCFStringEncodingUTF8);
if (str == ((void *)0))
str = CFStringCreateWithCString (((void *)0), c_str, kCFStringEncodingMacRoman);
return str;
}
CFStringRef
cfstring_create_with_string (s)
Lisp_Object s;
{
CFStringRef string = ((void *)0);
if ((((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1))))->size_byte >= 0))
{
char *p, *end = (((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1))))->data + 0) + (((((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0);
for (p = (((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1))))->data + 0); p < end; p++)
if (!isascii (*p))
{
s = code_convert_string_norecord (s, Qutf_8, 1);
break;
}
string = CFStringCreateWithBytes (((void *)0), (((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0),
kCFStringEncodingUTF8, 0);
}
if (string == ((void *)0))
string = CFStringCreateWithBytes (((void *)0), (((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((s) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0),
kCFStringEncodingMacRoman, 0);
return string;
}
Lisp_Object
cfdata_to_lisp (data)
CFDataRef data;
{
CFIndex len = CFDataGetLength (data);
Lisp_Object result = make_uninit_string (len);
CFDataGetBytes (data, CFRangeMake (0, len), (((void) 0,(struct Lisp_String *) ((int) ((result) & ~((((int) 1) << 3) - 1))))->data + 0));
return result;
}
Lisp_Object
cfstring_to_lisp_nodecode (string)
CFStringRef string;
{
Lisp_Object result = Qnil;
const char *s = CFStringGetCStringPtr (string, kCFStringEncodingUTF8);
if (s)
result = make_unibyte_string (s, strlen (s));
else
{
CFDataRef data =
CFStringCreateExternalRepresentation (((void *)0), string,
kCFStringEncodingUTF8, '?');
if (data)
{
result = cfdata_to_lisp (data);
CFRelease (data);
}
}
return result;
}
Lisp_Object
cfstring_to_lisp (string)
CFStringRef string;
{
Lisp_Object result = cfstring_to_lisp_nodecode (string);
if (!((result) == (Qnil)))
{
result = code_convert_string_norecord (result, Qutf_8, 0);
result = string_to_multibyte (result);
}
return result;
}
Lisp_Object
cfnumber_to_lisp (number)
CFNumberRef number;
{
Lisp_Object result = Qnil;
SInt32 int_val;
CFNumberType emacs_int_type = kCFNumberSInt32Type;
double float_val;
if (CFNumberGetValue (number, emacs_int_type, &int_val)
&& !((int)(int_val) > (((int) 1 << ((32 - 3) - 1)) - 1) || (int) (int_val) < - ((int) 1 << ((32 - 3) - 1))))
result = (((int) (int_val)) << 3);
else
if (CFNumberGetValue (number, kCFNumberDoubleType, &float_val))
result = make_float (float_val);
return result;
}
Lisp_Object
cfdate_to_lisp (date)
CFDateRef date;
{
CFTimeInterval sec;
int high, low, microsec;
sec = CFDateGetAbsoluteTime (date) + kCFAbsoluteTimeIntervalSince1970;
high = sec / 65536.0;
low = sec - high * 65536.0;
microsec = (sec - floor (sec)) * 1000000.0;
return list3 ((((int) (high)) << 3), (((int) (low)) << 3), (((int) (microsec)) << 3));
}
Lisp_Object
cfboolean_to_lisp (boolean)
CFBooleanRef boolean;
{
return CFBooleanGetValue (boolean) ? Qt : Qnil;
}
Lisp_Object
cfobject_desc_to_lisp (object)
CFTypeRef object;
{
Lisp_Object result = Qnil;
CFStringRef desc = CFCopyDescription (object);
if (desc)
{
result = cfstring_to_lisp (desc);
CFRelease (desc);
}
return result;
}
static void
cfdictionary_add_to_list (key, value, context)
const void *key;
const void *value;
void *context;
{
struct cfdict_context *cxt = (struct cfdict_context *)context;
*cxt->result =
Fcons (Fcons (cfstring_to_lisp (key),
cfproperty_list_to_lisp (value, cxt->with_tag,
cxt->hash_bound)),
*cxt->result);
}
static void
cfdictionary_puthash (key, value, context)
const void *key;
const void *value;
void *context;
{
Lisp_Object lisp_key = cfstring_to_lisp (key);
struct cfdict_context *cxt = (struct cfdict_context *)context;
struct Lisp_Hash_Table *h = ((struct Lisp_Hash_Table *) ((int) ((*(cxt->result)) & ~((((int) 1) << 3) - 1))));
unsigned hash_code;
hash_lookup (h, lisp_key, &hash_code);
hash_put (h, lisp_key,
cfproperty_list_to_lisp (value, cxt->with_tag, cxt->hash_bound),
hash_code);
}
# 1164 "mac.c"
Lisp_Object
cfproperty_list_to_lisp (plist, with_tag, hash_bound)
CFPropertyListRef plist;
int with_tag, hash_bound;
{
CFTypeID type_id = CFGetTypeID (plist);
Lisp_Object tag = Qnil, result = Qnil;
struct gcpro gcpro1, gcpro2;
(((void) gcpro2, (void) gcpro1));
if (type_id == CFStringGetTypeID ())
{
tag = Qstring;
result = cfstring_to_lisp (plist);
}
else if (type_id == CFNumberGetTypeID ())
{
tag = Qnumber;
result = cfnumber_to_lisp (plist);
}
else if (type_id == CFBooleanGetTypeID ())
{
tag = Qboolean;
result = cfboolean_to_lisp (plist);
}
else if (type_id == CFDateGetTypeID ())
{
tag = Qdate;
result = cfdate_to_lisp (plist);
}
else if (type_id == CFDataGetTypeID ())
{
tag = Qdata;
result = cfdata_to_lisp (plist);
}
else if (type_id == CFArrayGetTypeID ())
{
CFIndex index, count = CFArrayGetCount (plist);
tag = Qarray;
result = Fmake_vector ((((int) (count)) << 3), Qnil);
for (index = 0; index < count; index++)
((void) 0,(struct Lisp_Vector *) ((int) ((result) & ~((((int) 1) << 3) - 1))))->contents[index] =
cfproperty_list_to_lisp (CFArrayGetValueAtIndex (plist, index),
with_tag, hash_bound);
}
else if (type_id == CFDictionaryGetTypeID ())
{
struct cfdict_context context;
CFIndex count = CFDictionaryGetCount (plist);
tag = Qdictionary;
context.result = &result;
context.with_tag = with_tag;
context.hash_bound = hash_bound;
if (hash_bound < 0 || count < hash_bound)
{
result = Qnil;
CFDictionaryApplyFunction (plist, cfdictionary_add_to_list,
&context);
}
else
{
result = make_hash_table (Qequal,
(((int) (count)) << 3),
make_float (1.5),
make_float (0.8),
Qnil, Qnil, Qnil);
CFDictionaryApplyFunction (plist, cfdictionary_puthash,
&context);
}
}
else
abort ();
((void) 0);
if (with_tag)
result = Fcons (tag, result);
return result;
}
# 1266 "mac.c"
#define P (*p)
#define LOOSE_BINDING Qlambda
#define SINGLE_COMPONENT Qquote
static void
skip_white_space (p)
const char **p;
{
while (*(*p) == ' ' || *(*p) == '\t')
(*p)++;
}
static int
parse_comment (p)
const char **p;
{
if (*(*p) == '!')
{
(*p)++;
while (*(*p))
if (*(*p)++ == '\n')
break;
return 1;
}
else
return 0;
}
static int
parse_include_file (p)
const char **p;
{
if (*(*p) == '#')
{
(*p)++;
while (*(*p))
if (*(*p)++ == '\n')
break;
return 1;
}
else
return 0;
}
static char
parse_binding (p)
const char **p;
{
if (*(*p) == '.' || *(*p) == '*')
{
char binding = *(*p)++;
while (*(*p) == '.' || *(*p) == '*')
if (*(*p)++ == '*')
binding = '*';
return binding;
}
else
return '\0';
}
static Lisp_Object
parse_component (p)
const char **p;
{
if (*(*p) == '?')
{
(*p)++;
return Qquote;
}
else if (isalnum (*(*p)) || *(*p) == '_' || *(*p) == '-')
{
const char *start = (*p)++;
while (isalnum (*(*p)) || *(*p) == '_' || *(*p) == '-')
(*p)++;
return make_unibyte_string (start, (*p) - start);
}
else
return Qnil;
}
static Lisp_Object
parse_resource_name (p)
const char **p;
{
Lisp_Object result = Qnil, component;
char binding;
if (parse_binding (p) == '*')
result = Fcons (Qlambda, result);
component = parse_component (p);
if (((component) == (Qnil)))
return Qnil;
result = Fcons (component, result);
while ((binding = parse_binding (p)) != '\0')
{
if (binding == '*')
result = Fcons (Qlambda, result);
component = parse_component (p);
if (((component) == (Qnil)))
return Qnil;
else
result = Fcons (component, result);
}
if (((component) == (Qquote)))
return Qnil;
return Fnreverse (result);
}
static Lisp_Object
parse_value (p)
const char **p;
{
char *q, *buf;
Lisp_Object seq = Qnil, result;
int buf_len, total_len = 0, len, continue_p;
q = strchr ((*p), '\n');
buf_len = q ? q - (*p) : strlen ((*p));
buf = xmalloc (buf_len);
while (1)
{
q = buf;
continue_p = 0;
while (*(*p))
{
if (*(*p) == '\n')
{
(*p)++;
break;
}
else if (*(*p) == '\\')
{
(*p)++;
if (*(*p) == '\0')
break;
else if (*(*p) == '\n')
{
(*p)++;
continue_p = 1;
break;
}
else if (*(*p) == 'n')
{
*q++ = '\n';
(*p)++;
}
else if ('0' <= (*p)[0] && (*p)[0] <= '7'
&& '0' <= (*p)[1] && (*p)[1] <= '7'
&& '0' <= (*p)[2] && (*p)[2] <= '7')
{
*q++ = (((*p)[0] - '0') << 6) + (((*p)[1] - '0') << 3) + ((*p)[2] - '0');
(*p) += 3;
}
else
*q++ = *(*p)++;
}
else
*q++ = *(*p)++;
}
len = q - buf;
seq = Fcons (make_unibyte_string (buf, len), seq);
total_len += len;
if (continue_p)
{
q = strchr ((*p), '\n');
len = q ? q - (*p) : strlen ((*p));
if (len > buf_len)
{
xfree (buf);
buf_len = len;
buf = xmalloc (buf_len);
}
}
else
break;
}
xfree (buf);
if ((((((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((seq)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((seq)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((seq)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0) == total_len)
return make_string ((((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((seq)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0), total_len);
else
{
buf = xmalloc (total_len);
q = buf + total_len;
for (; (((enum Lisp_Type) (((unsigned int) ((seq))) & ((((int) 1) << 3) - 1))) == Lisp_Cons); seq = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((seq)) & ~((((int) 1) << 3) - 1))))->u.cdr))))
{
len = (((((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((seq)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((seq)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((seq)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0);
q -= len;
memcpy (q, (((void) 0,(struct Lisp_String *) ((int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((seq)) & ~((((int) 1) << 3) - 1))))->car)))) & ~((((int) 1) << 3) - 1))))->data + 0), len);
}
result = make_string (buf, total_len);
xfree (buf);
return result;
}
}
static Lisp_Object
parse_resource_line (p)
const char **p;
{
Lisp_Object quarks, value;
if (parse_comment (p) || parse_include_file (p))
return Qnil;
skip_white_space (p);
quarks = parse_resource_name (p);
if (((quarks) == (Qnil)))
goto cleanup;
skip_white_space (p);
if (*(*p) != ':')
goto cleanup;
(*p)++;
skip_white_space (p);
value = parse_value (p);
return Fcons (quarks, value);
cleanup:
parse_value (p);
return Qnil;
}
#undef P
# 1529 "mac.c"
#define HASHKEY_MAX_NID (make_number (0))
#define HASHKEY_QUERY_CACHE (make_number (-1))
static XrmDatabase
xrm_create_database ()
{
XrmDatabase database;
database = make_hash_table (Qequal, (((int) (65)) << 3),
make_float (1.5),
make_float (0.8),
Qnil, Qnil, Qnil);
Fputhash (((((int) (0)) << 3)), (((int) (0)) << 3), database);
Fputhash (((((int) (-1)) << 3)), Qnil, database);
return database;
}
static void
xrm_q_put_resource (database, quarks, value)
XrmDatabase database;
Lisp_Object quarks, value;
{
struct Lisp_Hash_Table *h = ((struct Lisp_Hash_Table *) ((int) ((database) & ~((((int) 1) << 3) - 1))));
unsigned hash_code;
int max_nid, i;
Lisp_Object node_id, key;
max_nid = (((int) (Fgethash (((((int) (0)) << 3)), database, Qnil))) >> 3);
(node_id) = (((int) (0)) << 3);
for (; (((enum Lisp_Type) (((unsigned int) ((quarks))) & ((((int) 1) << 3) - 1))) == Lisp_Cons); quarks = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((quarks)) & ~((((int) 1) << 3) - 1))))->u.cdr))))
{
key = Fcons (node_id, (0+((((void) 0,(struct Lisp_Cons *) ((int) (((quarks)) & ~((((int) 1) << 3) - 1))))->car))));
i = hash_lookup (h, key, &hash_code);
if (i < 0)
{
max_nid++;
(node_id) = (((int) (max_nid)) << 3);
hash_put (h, key, node_id, hash_code);
}
else
node_id = ((void) 0,(struct Lisp_Vector *) ((int) ((((h)->key_and_value)) & ~((((int) 1) << 3) - 1))))->contents[2 * (i) + 1];
}
Fputhash (node_id, value, database);
Fputhash (((((int) (0)) << 3)), (((int) (max_nid)) << 3), database);
Fputhash (((((int) (-1)) << 3)), Qnil, database);
}
void
xrm_merge_string_database (database, data)
XrmDatabase database;
const char *data;
{
Lisp_Object quarks_value;
while (*data)
{
quarks_value = parse_resource_line (&data);
if (!((quarks_value) == (Qnil)))
xrm_q_put_resource (database,
(0+((((void) 0,(struct Lisp_Cons *) ((int) (((quarks_value)) & ~((((int) 1) << 3) - 1))))->car))), (0+((((void) 0,(struct Lisp_Cons *) ((int) (((quarks_value)) & ~((((int) 1) << 3) - 1))))->u.cdr))));
}
}
static Lisp_Object
xrm_q_get_resource_1 (database, node_id, quark_name, quark_class)
XrmDatabase database;
Lisp_Object node_id, quark_name, quark_class;
{
struct Lisp_Hash_Table *h = ((struct Lisp_Hash_Table *) ((int) ((database) & ~((((int) 1) << 3) - 1))));
Lisp_Object key, labels[3], value;
int i, k;
if (!(((enum Lisp_Type) (((unsigned int) ((quark_name))) & ((((int) 1) << 3) - 1))) == Lisp_Cons))
return Fgethash (node_id, database, Qnil);
labels[0] = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((quark_name)) & ~((((int) 1) << 3) - 1))))->car)));
labels[1] = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((quark_class)) & ~((((int) 1) << 3) - 1))))->car)));
labels[2] = Qquote;
key = Fcons (node_id, Qnil);
for (k = 0; k < sizeof (labels) / sizeof (*labels); k++)
{
((((void) 0,(struct Lisp_Cons *) ((int) (((key)) & ~((((int) 1) << 3) - 1))))->u.cdr) = (labels[k]));
i = hash_lookup (h, key, ((void *)0));
if (i >= 0)
{
value = xrm_q_get_resource_1 (database, ((void) 0,(struct Lisp_Vector *) ((int) ((((h)->key_and_value)) & ~((((int) 1) << 3) - 1))))->contents[2 * (i) + 1],
(0+((((void) 0,(struct Lisp_Cons *) ((int) (((quark_name)) & ~((((int) 1) << 3) - 1))))->u.cdr))), (0+((((void) 0,(struct Lisp_Cons *) ((int) (((quark_class)) & ~((((int) 1) << 3) - 1))))->u.cdr))));
if (!((value) == (Qnil)))
return value;
}
}
((((void) 0,(struct Lisp_Cons *) ((int) (((key)) & ~((((int) 1) << 3) - 1))))->u.cdr) = (Qlambda));
i = hash_lookup (h, key, ((void *)0));
if (i >= 0)
{
value = xrm_q_get_resource_1 (database, ((void) 0,(struct Lisp_Vector *) ((int) ((((h)->key_and_value)) & ~((((int) 1) << 3) - 1))))->contents[2 * (i) + 1],
quark_name, quark_class);
if (!((value) == (Qnil)))
return value;
else
return xrm_q_get_resource_1 (database, node_id,
(0+((((void) 0,(struct Lisp_Cons *) ((int) (((quark_name)) & ~((((int) 1) << 3) - 1))))->u.cdr))), (0+((((void) 0,(struct Lisp_Cons *) ((int) (((quark_class)) & ~((((int) 1) << 3) - 1))))->u.cdr))));
}
else
return Qnil;
}
static Lisp_Object
xrm_q_get_resource (database, quark_name, quark_class)
XrmDatabase database;
Lisp_Object quark_name, quark_class;
{
return xrm_q_get_resource_1 (database, (((int) (0)) << 3),
quark_name, quark_class);
}
Lisp_Object
xrm_get_resource (database, name, class)
XrmDatabase database;
const char *name, *class;
{
Lisp_Object key, query_cache, quark_name, quark_class, tmp;
int i, nn, nc;
struct Lisp_Hash_Table *h;
unsigned hash_code;
nn = strlen (name);
nc = strlen (class);
key = make_uninit_string (nn + nc + 1);
strcpy ((((void) 0,(struct Lisp_String *) ((int) ((key) & ~((((int) 1) << 3) - 1))))->data + 0), name);
strncpy ((((void) 0,(struct Lisp_String *) ((int) ((key) & ~((((int) 1) << 3) - 1))))->data + 0) + nn + 1, class, nc);
query_cache = Fgethash (((((int) (-1)) << 3)), database, Qnil);
if (((query_cache) == (Qnil)))
{
query_cache = make_hash_table (Qequal, (((int) (65)) << 3),
make_float (1.5),
make_float (0.8),
Qnil, Qnil, Qnil);
Fputhash (((((int) (-1)) << 3)), query_cache, database);
}
h = ((struct Lisp_Hash_Table *) ((int) ((query_cache) & ~((((int) 1) << 3) - 1))));
i = hash_lookup (h, key, &hash_code);
if (i >= 0)
return ((void) 0,(struct Lisp_Vector *) ((int) ((((h)->key_and_value)) & ~((((int) 1) << 3) - 1))))->contents[2 * (i) + 1];
quark_name = parse_resource_name (&name);
if (*name != '\0')
return Qnil;
for (tmp = quark_name, nn = 0; (((enum Lisp_Type) (((unsigned int) ((tmp))) & ((((int) 1) << 3) - 1))) == Lisp_Cons); tmp = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((tmp)) & ~((((int) 1) << 3) - 1))))->u.cdr))), nn++)
if (!(((enum Lisp_Type) (((unsigned int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((tmp)) & ~((((int) 1) << 3) - 1))))->car)))))) & ((((int) 1) << 3) - 1))) == Lisp_String))
return Qnil;
quark_class = parse_resource_name (&class);
if (*class != '\0')
return Qnil;
for (tmp = quark_class, nc = 0; (((enum Lisp_Type) (((unsigned int) ((tmp))) & ((((int) 1) << 3) - 1))) == Lisp_Cons); tmp = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((tmp)) & ~((((int) 1) << 3) - 1))))->u.cdr))), nc++)
if (!(((enum Lisp_Type) (((unsigned int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((tmp)) & ~((((int) 1) << 3) - 1))))->car)))))) & ((((int) 1) << 3) - 1))) == Lisp_String))
return Qnil;
if (nn != nc)
return Qnil;
else
{
tmp = xrm_q_get_resource (database, quark_name, quark_class);
hash_put (h, key, tmp, hash_code);
return tmp;
}
}
static Lisp_Object
xrm_cfproperty_list_to_value (plist)
CFPropertyListRef plist;
{
CFTypeID type_id = CFGetTypeID (plist);
if (type_id == CFStringGetTypeID ())
return cfstring_to_lisp (plist);
else if (type_id == CFNumberGetTypeID ())
{
CFStringRef string;
Lisp_Object result = Qnil;
string = CFStringCreateWithFormat (((void *)0), ((void *)0), ((CFStringRef) __builtin___CFStringMakeConstantString ("" "%@" "")), plist);
if (string)
{
result = cfstring_to_lisp (string);
CFRelease (string);
}
return result;
}
else if (type_id == CFBooleanGetTypeID ())
return build_string (CFBooleanGetValue (plist) ? "true" : "false");
else if (type_id == CFDataGetTypeID ())
return cfdata_to_lisp (plist);
else
return Qnil;
}
XrmDatabase
xrm_get_preference_database (application)
const char *application;
{
CFStringRef app_id, *keys, user_doms[2], host_doms[2];
CFMutableSetRef key_set = ((void *)0);
CFArrayRef key_array;
CFIndex index, count;
char *res_name;
XrmDatabase database;
Lisp_Object quarks = Qnil, value = Qnil;
CFPropertyListRef plist;
int iu, ih;
struct gcpro gcpro1, gcpro2, gcpro3;
user_doms[0] = kCFPreferencesCurrentUser;
user_doms[1] = kCFPreferencesAnyUser;
host_doms[0] = kCFPreferencesCurrentHost;
host_doms[1] = kCFPreferencesAnyHost;
database = xrm_create_database ();
(((void) gcpro3, (void) gcpro2, (void) gcpro1));
app_id = kCFPreferencesCurrentApplication;
if (application)
{
app_id = cfstring_create_with_utf8_cstring (application);
if (app_id == ((void *)0))
goto out;
}
if (!CFPreferencesAppSynchronize (app_id))
goto out;
key_set = CFSetCreateMutable (((void *)0), 0, &kCFCopyStringSetCallBacks);
if (key_set == ((void *)0))
goto out;
for (iu = 0; iu < sizeof (user_doms) / sizeof (*user_doms) ; iu++)
for (ih = 0; ih < sizeof (host_doms) / sizeof (*host_doms); ih++)
{
key_array = CFPreferencesCopyKeyList (app_id, user_doms[iu],
host_doms[ih]);
if (key_array)
{
count = CFArrayGetCount (key_array);
for (index = 0; index < count; index++)
CFSetAddValue (key_set,
CFArrayGetValueAtIndex (key_array, index));
CFRelease (key_array);
}
}
count = CFSetGetCount (key_set);
keys = xmalloc (sizeof (CFStringRef) * count);
CFSetGetValues (key_set, (const void **)keys);
for (index = 0; index < count; index++)
{
res_name = (((void) 0,(struct Lisp_String *) ((int) ((cfstring_to_lisp_nodecode (keys[index])) & ~((((int) 1) << 3) - 1))))->data + 0);
quarks = parse_resource_name (&res_name);
if (!(((quarks) == (Qnil)) || *res_name))
{
plist = CFPreferencesCopyAppValue (keys[index], app_id);
value = xrm_cfproperty_list_to_value (plist);
CFRelease (plist);
if (!((value) == (Qnil)))
xrm_q_put_resource (database, quarks, value);
}
}
xfree (keys);
out:
if (key_set)
CFRelease (key_set);
CFRelease (app_id);
((void) 0);
return database;
}
# 2994 "mac.c"
static int
path_from_vol_dir_name (char *path, int man_path_len, short vol_ref_num,
long dir_id, ConstStr255Param name)
{
Str255 dir_name;
CInfoPBRec cipb;
OSErr err;
if (strlen (name) > man_path_len)
return 0;
memcpy (dir_name, name, name[0]+1);
memcpy (path, name, name[0]+1);
p2cstr (path);
cipb.dirInfo.ioDrParID = dir_id;
cipb.dirInfo.ioNamePtr = dir_name;
do
{
cipb.dirInfo.ioVRefNum = vol_ref_num;
cipb.dirInfo.ioFDirIndex = -1;
cipb.dirInfo.ioDrDirID = cipb.dirInfo.ioDrParID;
err = ((0) ? PBGetCatInfoAsync(&cipb) : PBGetCatInfoSync(&cipb));
if (err != noErr)
return 0;
p2cstr (dir_name);
if (strlen (dir_name) + strlen (path) + 1 >= man_path_len)
return 0;
strcat (dir_name, ":");
strcat (dir_name, path);
strcpy (path, dir_name);
}
while (cipb.dirInfo.ioDrDirID != fsRtDirID);
return 1;
}
# 3322 "mac.c"
char *
get_temp_dir_name ()
{
static char *temp_dir_name = ((void *)0);
short vol_ref_num;
long dir_id;
OSErr err;
Str255 full_path;
char unix_dir_name[1024 +1];
DIR *dir;
if (!temp_dir_name)
{
err = FindFolder (kOnSystemDisk, kPreferencesFolderType, kCreateFolder,
&vol_ref_num, &dir_id);
if (err != noErr)
return ((void *)0);
if (!path_from_vol_dir_name (full_path, 255, vol_ref_num, dir_id, "\p"))
return ((void *)0);
if (strlen (full_path) + 6 <= 1024)
strcat (full_path, "Emacs:");
else
return ((void *)0);
if (!mac_to_posix_pathname (full_path, unix_dir_name, 1024 +1))
return ((void *)0);
dir = opendir (unix_dir_name);
if (dir)
closedir (dir);
else if (mkdir (unix_dir_name, 0700) != 0)
return ((void *)0);
temp_dir_name = (char *) unexec_malloc (strlen (unix_dir_name) + 1);
strcpy (temp_dir_name, unix_dir_name);
}
return temp_dir_name;
}
# 4076 "mac.c"
void
initialize_applescript ()
{
AEDesc null_desc;
OSAError osaerror;
as_scripting_component = OpenDefaultComponent (kOSAComponentType,
kAppleScriptSubtype);
null_desc.descriptorType = typeNull;
null_desc.dataHandle = 0;
osaerror = OSAMakeContext (as_scripting_component, &null_desc,
kOSANullScript, &as_script_context);
if (osaerror)
as_script_context = kOSANullScript;
}
void
terminate_applescript()
{
OSADispose (as_scripting_component, as_script_context);
CloseComponent (as_scripting_component);
}
OSType
mac_get_code_from_arg(Lisp_Object arg, OSType defCode)
{
OSType result;
if (((arg) == (Qnil)))
{
result = defCode;
}
else
{
do { if (!((((enum Lisp_Type) (((unsigned int) ((arg))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (arg)); } while (0);
if ((((((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0) != 4)
{
error ("Wrong argument: need string of length 4 for code");
}
result = ((UInt32)(UInt32) (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : _OSSwapInt32(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((int) ((arg) & ~((((int) 1) << 3) - 1))))->data + 0))))));
}
return result;
}
Lisp_Object
mac_get_object_from_code(OSType defCode)
{
UInt32 code = ((UInt32)(UInt32) (__builtin_constant_p(defCode) ? ((__uint32_t)((((__uint32_t)(defCode) & 0xff000000) >> 24) | (((__uint32_t)(defCode) & 0x00ff0000) >> 8) | (((__uint32_t)(defCode) & 0x0000ff00) << 8) | (((__uint32_t)(defCode) & 0x000000ff) << 24))) : (__builtin_constant_p(defCode) ? ((__uint32_t)((((__uint32_t)(defCode) & 0xff000000) >> 24) | (((__uint32_t)(defCode) & 0x00ff0000) >> 8) | (((__uint32_t)(defCode) & 0x0000ff00) << 8) | (((__uint32_t)(defCode) & 0x000000ff) << 24))) : _OSSwapInt32(defCode))));
return make_unibyte_string ((char *)&code, 4);
}
Lisp_Object Fmac_get_file_creator (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_get_file_creator = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fmac_get_file_creator, 1, 1, "mac-get-file-creator", 0, 0}; Lisp_Object Fmac_get_file_creator
(filename)
Lisp_Object filename;
{
OSStatus status;
FSRef fref;
Lisp_Object result = Qnil;
do { if (!((((enum Lisp_Type) (((unsigned int) ((filename))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
if (((Ffile_exists_p(filename)) == (Qnil)) || !((Ffile_directory_p(filename)) == (Qnil))) {
return Qnil;
}
filename = Fexpand_file_name (filename, Qnil);
(interrupt_input_blocked++);
status = FSPathMakeRef((((void) 0,(struct Lisp_String *) ((int) (((! ((Vfile_name_coding_system) == (Qnil)) && !((Vfile_name_coding_system) == ((((int) (0)) << 3))) ? code_convert_string_norecord (filename, Vfile_name_coding_system, 1) : (! ((Vdefault_file_name_coding_system) == (Qnil)) && !((Vdefault_file_name_coding_system) == ((((int) (0)) << 3))) ? code_convert_string_norecord (filename, Vdefault_file_name_coding_system, 1) : filename))) & ~((((int) 1) << 3) - 1))))->data + 0), &fref, ((void *)0));
if (status == noErr)
{
FSCatalogInfo catalogInfo;
status = FSGetCatalogInfo(&fref, kFSCatInfoFinderInfo,
&catalogInfo, ((void *)0), ((void *)0), ((void *)0));
if (status == noErr)
{
result = mac_get_object_from_code(((FileInfo*)&catalogInfo.finderInfo)->fileCreator);
}
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (status != noErr) {
error ("Error while getting file information.");
}
return result;
}
Lisp_Object Fmac_get_file_type (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_get_file_type = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fmac_get_file_type, 1, 1, "mac-get-file-type", 0, 0}; Lisp_Object Fmac_get_file_type
(filename)
Lisp_Object filename;
{
OSStatus status;
FSRef fref;
Lisp_Object result = Qnil;
do { if (!((((enum Lisp_Type) (((unsigned int) ((filename))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
if (((Ffile_exists_p(filename)) == (Qnil)) || !((Ffile_directory_p(filename)) == (Qnil))) {
return Qnil;
}
filename = Fexpand_file_name (filename, Qnil);
(interrupt_input_blocked++);
status = FSPathMakeRef((((void) 0,(struct Lisp_String *) ((int) (((! ((Vfile_name_coding_system) == (Qnil)) && !((Vfile_name_coding_system) == ((((int) (0)) << 3))) ? code_convert_string_norecord (filename, Vfile_name_coding_system, 1) : (! ((Vdefault_file_name_coding_system) == (Qnil)) && !((Vdefault_file_name_coding_system) == ((((int) (0)) << 3))) ? code_convert_string_norecord (filename, Vdefault_file_name_coding_system, 1) : filename))) & ~((((int) 1) << 3) - 1))))->data + 0), &fref, ((void *)0));
if (status == noErr)
{
FSCatalogInfo catalogInfo;
status = FSGetCatalogInfo(&fref, kFSCatInfoFinderInfo,
&catalogInfo, ((void *)0), ((void *)0), ((void *)0));
if (status == noErr)
{
result = mac_get_object_from_code(((FileInfo*)&catalogInfo.finderInfo)->fileType);
}
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (status != noErr) {
error ("Error while getting file information.");
}
return result;
}
Lisp_Object Fmac_set_file_creator (Lisp_Object, Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_set_file_creator = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fmac_set_file_creator, 1, 2, "mac-set-file-creator", 0, 0}; Lisp_Object Fmac_set_file_creator
(filename, code)
Lisp_Object filename, code;
{
OSStatus status;
FSRef fref;
OSType cCode;
do { if (!((((enum Lisp_Type) (((unsigned int) ((filename))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
cCode = mac_get_code_from_arg(code, MAC_EMACS_CREATOR_CODE);
if (((Ffile_exists_p(filename)) == (Qnil)) || !((Ffile_directory_p(filename)) == (Qnil))) {
return Qnil;
}
filename = Fexpand_file_name (filename, Qnil);
(interrupt_input_blocked++);
status = FSPathMakeRef((((void) 0,(struct Lisp_String *) ((int) (((! ((Vfile_name_coding_system) == (Qnil)) && !((Vfile_name_coding_system) == ((((int) (0)) << 3))) ? code_convert_string_norecord (filename, Vfile_name_coding_system, 1) : (! ((Vdefault_file_name_coding_system) == (Qnil)) && !((Vdefault_file_name_coding_system) == ((((int) (0)) << 3))) ? code_convert_string_norecord (filename, Vdefault_file_name_coding_system, 1) : filename))) & ~((((int) 1) << 3) - 1))))->data + 0), &fref, ((void *)0));
if (status == noErr)
{
FSCatalogInfo catalogInfo;
FSRef parentDir;
status = FSGetCatalogInfo(&fref, kFSCatInfoFinderInfo,
&catalogInfo, ((void *)0), ((void *)0), &parentDir);
if (status == noErr)
{
((FileInfo*)&catalogInfo.finderInfo)->fileCreator = cCode;
status = FSSetCatalogInfo(&fref, kFSCatInfoFinderInfo, &catalogInfo);
}
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (status != noErr) {
error ("Error while setting creator information.");
}
return Qt;
}
Lisp_Object Fmac_set_file_type (Lisp_Object, Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_set_file_type = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fmac_set_file_type, 2, 2, "mac-set-file-type", 0, 0}; Lisp_Object Fmac_set_file_type
(filename, code)
Lisp_Object filename, code;
{
OSStatus status;
FSRef fref;
OSType cCode;
do { if (!((((enum Lisp_Type) (((unsigned int) ((filename))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
cCode = mac_get_code_from_arg(code, 0);
if (((Ffile_exists_p(filename)) == (Qnil)) || !((Ffile_directory_p(filename)) == (Qnil))) {
return Qnil;
}
filename = Fexpand_file_name (filename, Qnil);
(interrupt_input_blocked++);
status = FSPathMakeRef((((void) 0,(struct Lisp_String *) ((int) (((! ((Vfile_name_coding_system) == (Qnil)) && !((Vfile_name_coding_system) == ((((int) (0)) << 3))) ? code_convert_string_norecord (filename, Vfile_name_coding_system, 1) : (! ((Vdefault_file_name_coding_system) == (Qnil)) && !((Vdefault_file_name_coding_system) == ((((int) (0)) << 3))) ? code_convert_string_norecord (filename, Vdefault_file_name_coding_system, 1) : filename))) & ~((((int) 1) << 3) - 1))))->data + 0), &fref, ((void *)0));
if (status == noErr)
{
FSCatalogInfo catalogInfo;
FSRef parentDir;
status = FSGetCatalogInfo(&fref, kFSCatInfoFinderInfo,
&catalogInfo, ((void *)0), ((void *)0), &parentDir);
if (status == noErr)
{
((FileInfo*)&catalogInfo.finderInfo)->fileType = cCode;
status = FSSetCatalogInfo(&fref, kFSCatInfoFinderInfo, &catalogInfo);
}
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (status != noErr) {
error ("Error while setting creator information.");
}
return Qt;
}
# 4378 "mac.c"
static long
do_applescript (script, result)
Lisp_Object script, *result;
{
AEDesc script_desc, result_desc, error_desc, *desc = ((void *)0);
OSErr error;
OSAError osaerror;
*result = Qnil;
if (!as_scripting_component)
initialize_applescript();
error = AECreateDesc (typeChar, (((void) 0,(struct Lisp_String *) ((int) ((script) & ~((((int) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((int) ((script) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((script) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((script) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0),
&script_desc);
if (error)
return error;
osaerror = OSADoScript (as_scripting_component, &script_desc, kOSANullScript,
typeChar, kOSAModeNull, &result_desc);
if (osaerror == noErr)
desc = &result_desc;
else if (osaerror == errOSAScriptError)
if (!OSAScriptError (as_scripting_component, kOSAErrorMessage, typeChar,
&error_desc))
desc = &error_desc;
if (desc)
{
*result = make_uninit_string (AEGetDescDataSize (desc));
AEGetDescData (desc, (((void) 0,(struct Lisp_String *) ((int) ((*result) & ~((((int) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((int) ((*result) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((*result) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((*result) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0));
AEDisposeDesc (desc);
}
AEDisposeDesc (&script_desc);
return osaerror;
}
Lisp_Object Fdo_applescript (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Sdo_applescript = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fdo_applescript, 1, 1, "do-applescript", 0, 0}; Lisp_Object Fdo_applescript
(script)
Lisp_Object script;
{
Lisp_Object result;
long status;
do { if (!((((enum Lisp_Type) (((unsigned int) ((script))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (script)); } while (0);
(interrupt_input_blocked++);
status = do_applescript (script, &result);
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (status == 0)
return result;
else if (!(((enum Lisp_Type) (((unsigned int) ((result))) & ((((int) 1) << 3) - 1))) == Lisp_String))
error ("AppleScript error %d", status);
else
error ("%s", (((void) 0,(struct Lisp_String *) ((int) ((result) & ~((((int) 1) << 3) - 1))))->data + 0));
}
Lisp_Object Fmac_file_name_to_posix (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_file_name_to_posix = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fmac_file_name_to_posix, 1, 1, "mac-file-name-to-posix", 0, 0}; Lisp_Object Fmac_file_name_to_posix
(filename)
Lisp_Object filename;
{
char posix_filename[1024 +1];
do { if (!((((enum Lisp_Type) (((unsigned int) ((filename))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
if (mac_to_posix_pathname ((((void) 0,(struct Lisp_String *) ((int) ((filename) & ~((((int) 1) << 3) - 1))))->data + 0), posix_filename, 1024))
return build_string (posix_filename);
else
return Qnil;
}
Lisp_Object Fposix_file_name_to_mac (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Sposix_file_name_to_mac = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fposix_file_name_to_mac, 1, 1, "posix-file-name-to-mac", 0, 0}; Lisp_Object Fposix_file_name_to_mac
(filename)
Lisp_Object filename;
{
char mac_filename[1024 +1];
do { if (!((((enum Lisp_Type) (((unsigned int) ((filename))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
if (posix_to_mac_pathname ((((void) 0,(struct Lisp_String *) ((int) ((filename) & ~((((int) 1) << 3) - 1))))->data + 0), mac_filename, 1024))
return build_string (mac_filename);
else
return Qnil;
}
Lisp_Object Fmac_coerce_ae_data (Lisp_Object, Lisp_Object, Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_coerce_ae_data = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fmac_coerce_ae_data, 3, 3, "mac-coerce-ae-data", 0, 0}; Lisp_Object Fmac_coerce_ae_data
(src_type, src_data, dst_type)
Lisp_Object src_type, src_data, dst_type;
{
OSErr err;
Lisp_Object result = Qnil;
DescType src_desc_type, dst_desc_type;
AEDesc dst_desc;
do { if (!((((enum Lisp_Type) (((unsigned int) ((src_data))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (src_data)); } while (0);
if (((src_type) == (Qundecoded_file_name)))
src_desc_type = TYPE_FILE_NAME;
else
src_desc_type = mac_get_code_from_arg (src_type, 0);
if (((dst_type) == (Qundecoded_file_name)))
dst_desc_type = TYPE_FILE_NAME;
else
dst_desc_type = mac_get_code_from_arg (dst_type, 0);
(interrupt_input_blocked++);
err = AECoercePtr (src_desc_type, (((void) 0,(struct Lisp_String *) ((int) ((src_data) & ~((((int) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((int) ((src_data) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((src_data) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((src_data) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0),
dst_desc_type, &dst_desc);
if (err == noErr)
{
result = Fcdr (mac_aedesc_to_lisp (&dst_desc));
AEDisposeDesc (&dst_desc);
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
return result;
}
static Lisp_Object Qxml, Qmime_charset;
static Lisp_Object QNFD, QNFKD, QNFC, QNFKC, QHFS_plus_D, QHFS_plus_C;
Lisp_Object Fmac_get_preference (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_get_preference = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fmac_get_preference, 1, 4, "mac-get-preference", 0, 0}; Lisp_Object Fmac_get_preference
# 4563 "mac.c"
(key, application, format, hash_bound)
Lisp_Object key, application, format, hash_bound;
{
CFStringRef app_id, key_str;
CFPropertyListRef app_plist = ((void *)0), plist;
Lisp_Object result = Qnil, tmp;
struct gcpro gcpro1, gcpro2;
if ((((enum Lisp_Type) (((unsigned int) ((key))) & ((((int) 1) << 3) - 1))) == Lisp_String))
key = Fcons (key, Qnil);
else
{
do { if (!((((enum Lisp_Type) (((unsigned int) ((key))) & ((((int) 1) << 3) - 1))) == Lisp_Cons))) wrong_type_argument (Qconsp, (key)); } while (0);
for (tmp = key; (((enum Lisp_Type) (((unsigned int) ((tmp))) & ((((int) 1) << 3) - 1))) == Lisp_Cons); tmp = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((tmp)) & ~((((int) 1) << 3) - 1))))->u.cdr))))
do { if (!((((enum Lisp_Type) (((unsigned int) (((0+((((void) 0,(struct Lisp_Cons *) ((int) (((tmp)) & ~((((int) 1) << 3) - 1))))->car)))))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, ((0+((((void) 0,(struct Lisp_Cons *) ((int) (((tmp)) & ~((((int) 1) << 3) - 1))))->car))))); } while (0);
do { if (!(((tmp) == (Qnil)))) wrong_type_argument (Qlistp, (key)); } while (0);
}
if (!((application) == (Qnil)))
do { if (!((((enum Lisp_Type) (((unsigned int) ((application))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (application)); } while (0);
do { if (!((((enum Lisp_Type) (((unsigned int) ((format))) & ((((int) 1) << 3) - 1))) == Lisp_Symbol))) wrong_type_argument (Qsymbolp, (format)); } while (0);
if (!((hash_bound) == (Qnil)))
do { if (!((((enum Lisp_Type) (((unsigned int) ((hash_bound))) & ((((int) 1) << 3) - 1))) == Lisp_Int))) wrong_type_argument (Qintegerp, (hash_bound)); } while (0);
(((void) gcpro2, (void) gcpro1));
(interrupt_input_blocked++);
app_id = kCFPreferencesCurrentApplication;
if (!((application) == (Qnil)))
{
app_id = cfstring_create_with_string (application);
if (app_id == ((void *)0))
goto out;
}
if (!CFPreferencesAppSynchronize (app_id))
goto out;
key_str = cfstring_create_with_string ((0+((((void) 0,(struct Lisp_Cons *) ((int) (((key)) & ~((((int) 1) << 3) - 1))))->car))));
if (key_str == ((void *)0))
goto out;
app_plist = CFPreferencesCopyAppValue (key_str, app_id);
CFRelease (key_str);
if (app_plist == ((void *)0))
goto out;
plist = app_plist;
for (key = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((key)) & ~((((int) 1) << 3) - 1))))->u.cdr))); (((enum Lisp_Type) (((unsigned int) ((key))) & ((((int) 1) << 3) - 1))) == Lisp_Cons); key = (0+((((void) 0,(struct Lisp_Cons *) ((int) (((key)) & ~((((int) 1) << 3) - 1))))->u.cdr))))
{
if (CFGetTypeID (plist) != CFDictionaryGetTypeID ())
break;
key_str = cfstring_create_with_string ((0+((((void) 0,(struct Lisp_Cons *) ((int) (((key)) & ~((((int) 1) << 3) - 1))))->car))));
if (key_str == ((void *)0))
goto out;
plist = CFDictionaryGetValue (plist, key_str);
CFRelease (key_str);
if (plist == ((void *)0))
goto out;
}
if (((key) == (Qnil)))
{
if (((format) == (Qxml)))
{
CFDataRef data = CFPropertyListCreateXMLData (((void *)0), plist);
if (data == ((void *)0))
goto out;
result = cfdata_to_lisp (data);
CFRelease (data);
}
else
result =
cfproperty_list_to_lisp (plist, ((format) == (Qt)),
((hash_bound) == (Qnil)) ? -1 : (((int) (hash_bound)) >> 3));
}
out:
if (app_plist)
CFRelease (app_plist);
CFRelease (app_id);
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
((void) 0);
return result;
}
static CFStringEncoding
get_cfstring_encoding_from_lisp (obj)
Lisp_Object obj;
{
CFStringRef iana_name;
CFStringEncoding encoding = (0xffffffffU);
if (((obj) == (Qnil)))
return kCFStringEncodingUnicode;
if ((((enum Lisp_Type) (((unsigned int) ((obj))) & ((((int) 1) << 3) - 1))) == Lisp_Int))
return (((int) (obj)) >> 3);
if ((((enum Lisp_Type) (((unsigned int) ((obj))) & ((((int) 1) << 3) - 1))) == Lisp_Symbol) && !((Fcoding_system_p (obj)) == (Qnil)))
{
Lisp_Object coding_spec, plist;
coding_spec = Fget (obj, Qcoding_system);
plist = ((void) 0,(struct Lisp_Vector *) ((int) ((coding_spec) & ~((((int) 1) << 3) - 1))))->contents[3];
obj = Fplist_get (((void) 0,(struct Lisp_Vector *) ((int) ((coding_spec) & ~((((int) 1) << 3) - 1))))->contents[3], Qmime_charset);
}
if ((((enum Lisp_Type) (((unsigned int) ((obj))) & ((((int) 1) << 3) - 1))) == Lisp_Symbol))
obj = (0+(((void) 0,(struct Lisp_Symbol *) ((int) ((obj) & ~((((int) 1) << 3) - 1))))->xname));
if ((((enum Lisp_Type) (((unsigned int) ((obj))) & ((((int) 1) << 3) - 1))) == Lisp_String))
{
iana_name = cfstring_create_with_string (obj);
if (iana_name)
{
encoding = CFStringConvertIANACharSetNameToEncoding (iana_name);
CFRelease (iana_name);
}
}
return encoding;
}
static CFStringRef
cfstring_create_normalized (str, symbol)
CFStringRef str;
Lisp_Object symbol;
{
int form = -1;
TextEncodingVariant variant;
float initial_mag = 0.0;
CFStringRef result = ((void *)0);
if (((symbol) == (QNFD)))
form = kCFStringNormalizationFormD;
else if (((symbol) == (QNFKD)))
form = kCFStringNormalizationFormKD;
else if (((symbol) == (QNFC)))
form = kCFStringNormalizationFormC;
else if (((symbol) == (QNFKC)))
form = kCFStringNormalizationFormKC;
else if (((symbol) == (QHFS_plus_D)))
{
variant = kUnicodeHFSPlusDecompVariant;
initial_mag = 1.5;
}
else if (((symbol) == (QHFS_plus_C)))
{
variant = kUnicodeHFSPlusCompVariant;
initial_mag = 1.0;
}
if (form >= 0)
{
CFMutableStringRef mut_str = CFStringCreateMutableCopy (((void *)0), 0, str);
if (mut_str)
{
CFStringNormalize (mut_str, form);
result = mut_str;
}
}
else if (initial_mag > 0.0)
{
UnicodeToTextInfo uni = ((void *)0);
UnicodeMapping map;
CFIndex length;
UniChar *in_text, *buffer = ((void *)0), *out_buf = ((void *)0);
OSStatus err = noErr;
ByteCount out_read, out_size, out_len;
map.unicodeEncoding = CreateTextEncoding (kTextEncodingUnicodeDefault,
kUnicodeNoSubset,
kTextEncodingDefaultFormat);
map.otherEncoding = CreateTextEncoding (kTextEncodingUnicodeDefault,
variant,
kTextEncodingDefaultFormat);
map.mappingVersion = kUnicodeUseLatestMapping;
length = CFStringGetLength (str);
out_size = (int)((float)length * initial_mag) * sizeof (UniChar);
if (out_size < 32)
out_size = 32;
in_text = (UniChar *)CFStringGetCharactersPtr (str);
if (in_text == ((void *)0))
{
buffer = xmalloc (sizeof (UniChar) * length);
CFStringGetCharacters (str, CFRangeMake (0, length), buffer);
in_text = buffer;
}
if (in_text)
err = CreateUnicodeToTextInfo (&map, &uni);
while (err == noErr)
{
out_buf = xmalloc (out_size);
err = ConvertFromUnicodeToText (uni, length * sizeof (UniChar),
in_text,
kUnicodeDefaultDirectionMask,
0, ((void *)0), ((void *)0), ((void *)0),
out_size, &out_read, &out_len,
out_buf);
if (err == noErr && out_read < length * sizeof (UniChar))
{
xfree (out_buf);
out_size += length;
}
else
break;
}
if (err == noErr)
result = CFStringCreateWithCharacters (((void *)0), out_buf,
out_len / sizeof (UniChar));
if (uni)
DisposeUnicodeToTextInfo (&uni);
if (out_buf)
xfree (out_buf);
if (buffer)
xfree (buffer);
}
else
{
result = str;
CFRetain (result);
}
return result;
}
Lisp_Object Fmac_code_convert_string (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_code_convert_string = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fmac_code_convert_string, 3, 4, "mac-code-convert-string", 0, 0}; Lisp_Object Fmac_code_convert_string
# 4808 "mac.c"
(string, source, target, normalization_form)
Lisp_Object string, source, target, normalization_form;
{
Lisp_Object result = Qnil;
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
CFStringEncoding src_encoding, tgt_encoding;
CFStringRef str = ((void *)0);
do { if (!((((enum Lisp_Type) (((unsigned int) ((string))) & ((((int) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (string)); } while (0);
if (!(((enum Lisp_Type) (((unsigned int) ((source))) & ((((int) 1) << 3) - 1))) == Lisp_Int) && !(((enum Lisp_Type) (((unsigned int) ((source))) & ((((int) 1) << 3) - 1))) == Lisp_String))
do { if (!((((enum Lisp_Type) (((unsigned int) ((source))) & ((((int) 1) << 3) - 1))) == Lisp_Symbol))) wrong_type_argument (Qsymbolp, (source)); } while (0);
if (!(((enum Lisp_Type) (((unsigned int) ((target))) & ((((int) 1) << 3) - 1))) == Lisp_Int) && !(((enum Lisp_Type) (((unsigned int) ((target))) & ((((int) 1) << 3) - 1))) == Lisp_String))
do { if (!((((enum Lisp_Type) (((unsigned int) ((target))) & ((((int) 1) << 3) - 1))) == Lisp_Symbol))) wrong_type_argument (Qsymbolp, (target)); } while (0);
do { if (!((((enum Lisp_Type) (((unsigned int) ((normalization_form))) & ((((int) 1) << 3) - 1))) == Lisp_Symbol))) wrong_type_argument (Qsymbolp, (normalization_form)); } while (0);
(((void) gcpro4, (void) gcpro3, (void) gcpro2, (void) gcpro1));
(interrupt_input_blocked++);
src_encoding = get_cfstring_encoding_from_lisp (source);
tgt_encoding = get_cfstring_encoding_from_lisp (target);
string = Fstring_as_unibyte (string);
if (src_encoding != (0xffffffffU)
&& tgt_encoding != (0xffffffffU))
str = CFStringCreateWithBytes (((void *)0), (((void) 0,(struct Lisp_String *) ((int) ((string) & ~((((int) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((int) ((string) & ~((((int) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((int) ((string) & ~((((int) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((int) ((string) & ~((((int) 1) << 3) - 1)))))->size_byte) + 0),
src_encoding, !((source) == (Qnil)));
if (str)
{
CFStringRef saved_str = str;
str = cfstring_create_normalized (saved_str, normalization_form);
CFRelease (saved_str);
}
if (str)
{
CFIndex str_len, buf_len;
str_len = CFStringGetLength (str);
if (CFStringGetBytes (str, CFRangeMake (0, str_len), tgt_encoding, 0,
!((target) == (Qnil)), ((void *)0), 0, &buf_len) == str_len)
{
result = make_uninit_string (buf_len);
CFStringGetBytes (str, CFRangeMake (0, str_len), tgt_encoding, 0,
!((target) == (Qnil)), (((void) 0,(struct Lisp_String *) ((int) ((result) & ~((((int) 1) << 3) - 1))))->data + 0), buf_len, ((void *)0));
}
CFRelease (str);
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
((void) 0);
return result;
}
Lisp_Object Fmac_process_hi_command (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_process_hi_command = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (int)), Fmac_process_hi_command, 1, 1, "mac-process-hi-command", 0, 0}; Lisp_Object Fmac_process_hi_command
(command_id)
Lisp_Object command_id;
{
OSStatus err;
HICommand command;
bzero (&command, sizeof (HICommand));
command.commandID = mac_get_code_from_arg (command_id, 0);
(interrupt_input_blocked++);
err = ProcessHICommand (&command);
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (err != noErr)
error ("HI command (command ID: '%s') not handled.", (((void) 0,(struct Lisp_String *) ((int) ((command_id) & ~((((int) 1) << 3) - 1))))->data + 0));
return Qnil;
}
static Lisp_Object
mac_get_system_locale ()
{
OSStatus err;
LangCode lang;
RegionCode region;
LocaleRef locale;
Str255 str;
lang = GetScriptVariable (smSystemScript, smScriptLang);
region = GetScriptManagerVariable (smRegionCode);
err = LocaleRefFromLangOrRegionCode (lang, region, &locale);
if (err == noErr)
err = LocaleRefGetPartString (locale, kLocaleAllPartsMask,
sizeof (str), str);
if (err == noErr)
return build_string (str);
else
return Qnil;
}
extern int inhibit_window_system;
extern int noninteractive;
# 4947 "mac.c"
#define SELECT_USE_CFSOCKET 1
#define SELECT_POLLING_PERIOD_USEC 100000
#define SELECT_TIMEOUT_THRESHOLD_RUNLOOP 0.2
static CFMutableDictionaryRef cfsockets_for_select;
static pid_t mac_emacs_pid;
static void
socket_callback (s, type, address, data, info)
CFSocketRef s;
CFSocketCallBackType type;
CFDataRef address;
const void *data;
void *info;
{
}
static int
select_and_poll_event (nfds, rfds, wfds, efds, timeout)
int nfds;
fd_set *rfds, *wfds, *efds;
struct timeval *timeout;
{
int timedout_p = 0;
int r = 0;
struct timeval select_timeout;
EventTimeout timeoutval =
(timeout
? (((*timeout).tv_sec + 0) * ((EventTime)1.0)
+ ((*timeout).tv_usec + 0) * ((EventTime)(((EventTime)1.0)/1000000)))
: ((EventTime)(-1.0)));
fd_set orfds, owfds, oefds;
if (timeout == ((void *)0))
{
if (rfds) orfds = *rfds;
if (wfds) owfds = *wfds;
if (efds) oefds = *efds;
}
(interrupt_input_blocked++);
while (1)
{
if (detect_input_pending ())
break;
(((select_timeout).tv_sec = (0)), ((select_timeout).tv_usec = (0)));
r = select (nfds, rfds, wfds, efds, &select_timeout);
if (r != 0)
break;
if (timeoutval == 0.0)
timedout_p = 1;
else
timedout_p = mac_run_loop_run_once (timeoutval);
if (timeout == ((void *)0) && timedout_p)
{
if (rfds) *rfds = orfds;
if (wfds) *wfds = owfds;
if (efds) *efds = oefds;
}
else
break;
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (r != 0)
return r;
else if (!timedout_p)
{
detect_input_pending ();
(*__error()) = 4;
return -1;
}
else
return 0;
}
int
mac_try_close_socket (fd)
int fd;
{
if (getpid () == mac_emacs_pid && cfsockets_for_select)
{
void *key = (void *) fd;
CFSocketRef socket =
(CFSocketRef) CFDictionaryGetValue (cfsockets_for_select, key);
if (socket)
{
CFOptionFlags flags = CFSocketGetSocketFlags (socket);
if (!(flags & kCFSocketCloseOnInvalidate))
CFSocketSetSocketFlags (socket, flags | kCFSocketCloseOnInvalidate);
(interrupt_input_blocked++);
CFSocketInvalidate (socket);
CFDictionaryRemoveValue (cfsockets_for_select, key);
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
return 1;
}
}
return 0;
}
int
sys_select (nfds, rfds, wfds, efds, timeout)
int nfds;
fd_set *rfds, *wfds, *efds;
struct timeval *timeout;
{
int timedout_p = 0;
int r;
struct timeval select_timeout;
fd_set orfds, owfds, oefds;
if (inhibit_window_system || noninteractive
|| nfds < 1 || rfds == ((void *)0) || !__darwin_fd_isset((0), (rfds)))
return select (nfds, rfds, wfds, efds, timeout);
do { int __fd = (0); ((rfds)->fds_bits[__fd/(sizeof(__int32_t) * 8)] &= ~(1<<(__fd % (sizeof(__int32_t) * 8)))); } while(0);
orfds = *rfds;
if (wfds)
owfds = *wfds;
else
__builtin_bzero(&owfds, sizeof(*(&owfds)));
if (efds)
oefds = *efds;
else
{
EventTimeout timeoutval =
(timeout
? (((*timeout).tv_sec + 0) * ((EventTime)1.0)
+ ((*timeout).tv_usec + 0) * ((EventTime)(((EventTime)1.0)/1000000)))
: ((EventTime)(-1.0)));
do { int __fd = (0); ((rfds)->fds_bits[__fd/(sizeof(__int32_t) * 8)] |= (1<<(__fd % (sizeof(__int32_t) * 8)))); } while(0);
do
{
nfds--;
}
while (!(__darwin_fd_isset((nfds), (rfds)) || (wfds && __darwin_fd_isset((nfds), (wfds)))));
nfds++;
do { int __fd = (0); ((rfds)->fds_bits[__fd/(sizeof(__int32_t) * 8)] &= ~(1<<(__fd % (sizeof(__int32_t) * 8)))); } while(0);
if (nfds == 1)
return select_and_poll_event (nfds, rfds, wfds, efds, timeout);
(((select_timeout).tv_sec = (0)), ((select_timeout).tv_usec = (0)));
r = select_and_poll_event (nfds, rfds, wfds, efds, &select_timeout);
if (r != 0 || timeoutval == 0.0)
return r;
*rfds = orfds;
if (wfds)
*wfds = owfds;
if (timeoutval > 0 && timeoutval <= 0.2)
goto poll_periodically;
(interrupt_input_blocked++);
if (!detect_input_pending ())
{
int minfd, fd;
CFRunLoopRef runloop =
(CFRunLoopRef) GetCFRunLoopFromEventLoop (GetCurrentEventLoop ());
static CFMutableDictionaryRef sources;
if (sources == ((void *)0))
sources =
CFDictionaryCreateMutable (((void *)0), 0, ((void *)0),
&kCFTypeDictionaryValueCallBacks);
if (cfsockets_for_select == ((void *)0))
cfsockets_for_select =
CFDictionaryCreateMutable (((void *)0), 0, ((void *)0),
&kCFTypeDictionaryValueCallBacks);
for (minfd = 1; ; minfd++)
if (__darwin_fd_isset((minfd), (rfds)) || (wfds && __darwin_fd_isset((minfd), (wfds))))
break;
for (fd = minfd; fd < nfds; fd++)
if (__darwin_fd_isset((fd), (rfds)) || (wfds && __darwin_fd_isset((fd), (wfds))))
{
void *key = (void *) fd;
CFRunLoopSourceRef source =
(CFRunLoopSourceRef) CFDictionaryGetValue (sources, key);
if (source == ((void *)0) || !CFRunLoopSourceIsValid (source))
{
CFSocketRef socket =
CFSocketCreateWithNative (((void *)0), fd,
(kCFSocketReadCallBack
| kCFSocketConnectCallBack),
socket_callback, ((void *)0));
if (socket == ((void *)0))
continue;
CFDictionarySetValue (cfsockets_for_select, key, socket);
source = CFSocketCreateRunLoopSource (((void *)0), socket, 0);
CFRelease (socket);
if (source == ((void *)0))
continue;
CFDictionarySetValue (sources, key, source);
CFRelease (source);
}
CFRunLoopAddSource (runloop, source, kCFRunLoopDefaultMode);
}
timedout_p = mac_run_loop_run_once (timeoutval);
for (fd = minfd; fd < nfds; fd++)
if (__darwin_fd_isset((fd), (rfds)) || (wfds && __darwin_fd_isset((fd), (wfds))))
{
void *key = (void *) fd;
CFRunLoopSourceRef source =
(CFRunLoopSourceRef) CFDictionaryGetValue (sources, key);
CFRunLoopRemoveSource (runloop, source, kCFRunLoopDefaultMode);
}
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (!timedout_p)
{
(((select_timeout).tv_sec = (0)), ((select_timeout).tv_usec = (0)));
return select_and_poll_event (nfds, rfds, wfds, efds,
&select_timeout);
}
else
{
__builtin_bzero(rfds, sizeof(*(rfds)));
if (wfds)
__builtin_bzero(wfds, sizeof(*(wfds)));
return 0;
}
}
poll_periodically:
{
struct timeval end_time, now, remaining_time;
if (timeout)
{
remaining_time = *timeout;
gettimeofday (&(now), ((void *)0));
do { (end_time).tv_sec = (now).tv_sec + (remaining_time).tv_sec; (end_time).tv_usec = (now).tv_usec + (remaining_time).tv_usec; if ((end_time).tv_usec > 1000000) (end_time).tv_usec -= 1000000, (end_time).tv_sec++; } while (0);
}
do
{
(((select_timeout).tv_sec = (0)), ((select_timeout).tv_usec = (100000)));
if (timeout && ((((remaining_time).tv_sec + 0) - ((select_timeout).tv_sec + 0) + (((remaining_time).tv_sec + 0) == ((select_timeout).tv_sec + 0) ? ((remaining_time).tv_usec + 0) - ((select_timeout).tv_usec + 0) : 0)) < 0))
select_timeout = remaining_time;
r = select_and_poll_event (nfds, rfds, wfds, efds, &select_timeout);
if (r != 0)
return r;
*rfds = orfds;
if (wfds)
*wfds = owfds;
if (efds)
*efds = oefds;
if (timeout)
{
gettimeofday (&(now), ((void *)0));
do { (remaining_time).tv_sec = (end_time).tv_sec - (now).tv_sec; (remaining_time).tv_usec = (end_time).tv_usec - (now).tv_usec; if ((remaining_time).tv_usec < 0) (remaining_time).tv_usec += 1000000, (remaining_time).tv_sec--; } while (0);
}
}
while (!timeout || ((((now).tv_sec + 0) - ((end_time).tv_sec + 0) + (((now).tv_sec + 0) == ((end_time).tv_sec + 0) ? ((now).tv_usec + 0) - ((end_time).tv_usec + 0) : 0)) < 0));
(((select_timeout).tv_sec = (0)), ((select_timeout).tv_usec = (0)));
return select_and_poll_event (nfds, rfds, wfds, efds, &select_timeout);
}
}
# 5267 "mac.c"
void
init_mac_osx_environment ()
{
CFBundleRef bundle;
CFURLRef bundleURL;
CFStringRef cf_app_bundle_pathname;
int app_bundle_pathname_len;
char *app_bundle_pathname;
char *p, *q;
struct stat st;
mac_emacs_pid = getpid ();
mac_system_script_code =
(ScriptCode) GetScriptManagerVariable (smSysScript);
Vmac_system_locale = mac_get_system_locale ();
bundle = CFBundleGetMainBundle ();
if (!bundle || CFBundleGetIdentifier (bundle) == ((void *)0))
{
inhibit_window_system = 1;
return;
}
bundleURL = CFBundleCopyBundleURL (bundle);
if (!bundleURL)
return;
cf_app_bundle_pathname = CFURLCopyFileSystemPath (bundleURL,
kCFURLPOSIXPathStyle);
app_bundle_pathname_len = CFStringGetLength (cf_app_bundle_pathname);
app_bundle_pathname = (char *) __builtin_alloca(app_bundle_pathname_len + 1);
if (!CFStringGetCString (cf_app_bundle_pathname,
app_bundle_pathname,
app_bundle_pathname_len + 1,
kCFStringEncodingISOLatin1))
{
CFRelease (cf_app_bundle_pathname);
return;
}
CFRelease (cf_app_bundle_pathname);
p = (char *) __builtin_alloca(app_bundle_pathname_len + 50);
q = (char *) __builtin_alloca(3 * app_bundle_pathname_len + 150);
if (!getenv ("EMACSLOADPATH"))
{
q[0] = '\0';
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/site-lisp");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
strcat (q, p);
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/lisp");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
{
if (q[0] != '\0')
strcat (q, ":");
strcat (q, p);
}
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/leim");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
{
if (q[0] != '\0')
strcat (q, ":");
strcat (q, p);
}
if (q[0] != '\0')
setenv ("EMACSLOADPATH", q, 1);
}
if (!getenv ("EMACSPATH"))
{
q[0] = '\0';
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/MacOS/libexec");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
strcat (q, p);
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/MacOS/bin");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
{
if (q[0] != '\0')
strcat (q, ":");
strcat (q, p);
}
if (q[0] != '\0')
setenv ("EMACSPATH", q, 1);
}
if (!getenv ("EMACSDATA"))
{
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/etc");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
setenv ("EMACSDATA", p, 1);
}
if (!getenv ("EMACSDOC"))
{
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/etc");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
setenv ("EMACSDOC", p, 1);
}
if (!getenv ("INFOPATH"))
{
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/info");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
setenv ("INFOPATH", p, 1);
}
}
void
mac_wakeup_from_rne ()
{
}
void
syms_of_mac ()
{
Qundecoded_file_name = intern ("undecoded-file-name");
staticpro (&Qundecoded_file_name);
Qstring = intern ("string"); staticpro (&Qstring);
Qnumber = intern ("number"); staticpro (&Qnumber);
Qboolean = intern ("boolean"); staticpro (&Qboolean);
Qdate = intern ("date"); staticpro (&Qdate);
Qdata = intern ("data"); staticpro (&Qdata);
Qarray = intern ("array"); staticpro (&Qarray);
Qdictionary = intern ("dictionary"); staticpro (&Qdictionary);
Qxml = intern ("xml");
staticpro (&Qxml);
Qmime_charset = intern ("mime-charset");
staticpro (&Qmime_charset);
QNFD = intern ("NFD"); staticpro (&QNFD);
QNFKD = intern ("NFKD"); staticpro (&QNFKD);
QNFC = intern ("NFC"); staticpro (&QNFC);
QNFKC = intern ("NFKC"); staticpro (&QNFKC);
QHFS_plus_D = intern ("HFS+D"); staticpro (&QHFS_plus_D);
QHFS_plus_C = intern ("HFS+C"); staticpro (&QHFS_plus_C);
{
int i;
for (i = 0; i < sizeof (ae_attr_table) / sizeof (ae_attr_table[0]); i++)
{
ae_attr_table[i].symbol = intern (ae_attr_table[i].name);
staticpro (&ae_attr_table[i].symbol);
}
}
defsubr (&Smac_coerce_ae_data);
defsubr (&Smac_get_preference);
defsubr (&Smac_code_convert_string);
defsubr (&Smac_process_hi_command);
defsubr (&Smac_set_file_creator);
defsubr (&Smac_set_file_type);
defsubr (&Smac_get_file_creator);
defsubr (&Smac_get_file_type);
defsubr (&Sdo_applescript);
defsubr (&Smac_file_name_to_posix);
defsubr (&Sposix_file_name_to_mac);
defvar_int ("mac-system-script-code", &mac_system_script_code);
mac_system_script_code = (ScriptCode) GetScriptManagerVariable (smSysScript);
defvar_lisp ("mac-system-locale", &Vmac_system_locale);
Vmac_system_locale = mac_get_system_locale ();
}
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 64bit --]
[-- Type: text/plain; charset=utf-8, Size: 3419890 bytes --]
# 1 "mac.c"
# 1 "/Users/william/repo/git/emacs/src//"
# 1 "<built-in>"
#define __STDC_HOSTED__ 1
# 1 "<built-in>"
#define __GNUC__ 4
# 1 "<built-in>"
#define __GNUC_MINOR__ 0
# 1 "<built-in>"
#define __GNUC_PATCHLEVEL__ 1
# 1 "<built-in>"
#define __APPLE_CC__ 5465
# 1 "<built-in>"
#define __SIZE_TYPE__ long unsigned int
# 1 "<built-in>"
#define __PTRDIFF_TYPE__ long int
# 1 "<built-in>"
#define __WCHAR_TYPE__ int
# 1 "<built-in>"
#define __WINT_TYPE__ int
# 1 "<built-in>"
#define __INTMAX_TYPE__ long int
# 1 "<built-in>"
#define __UINTMAX_TYPE__ long unsigned int
# 1 "<built-in>"
#define __GXX_ABI_VERSION 1002
# 1 "<built-in>"
#define __SCHAR_MAX__ 127
# 1 "<built-in>"
#define __SHRT_MAX__ 32767
# 1 "<built-in>"
#define __INT_MAX__ 2147483647
# 1 "<built-in>"
#define __LONG_MAX__ 9223372036854775807L
# 1 "<built-in>"
#define __LONG_LONG_MAX__ 9223372036854775807LL
# 1 "<built-in>"
#define __WCHAR_MAX__ 2147483647
# 1 "<built-in>"
#define __CHAR_BIT__ 8
# 1 "<built-in>"
#define __INTMAX_MAX__ 9223372036854775807L
# 1 "<built-in>"
#define __FLT_EVAL_METHOD__ 0
# 1 "<built-in>"
#define __FLT_RADIX__ 2
# 1 "<built-in>"
#define __FLT_MANT_DIG__ 24
# 1 "<built-in>"
#define __FLT_DIG__ 6
# 1 "<built-in>"
#define __FLT_MIN_EXP__ (-125)
# 1 "<built-in>"
#define __FLT_MIN_10_EXP__ (-37)
# 1 "<built-in>"
#define __FLT_MAX_EXP__ 128
# 1 "<built-in>"
#define __FLT_MAX_10_EXP__ 38
# 1 "<built-in>"
#define __FLT_MAX__ 3.40282347e+38F
# 1 "<built-in>"
#define __FLT_MIN__ 1.17549435e-38F
# 1 "<built-in>"
#define __FLT_EPSILON__ 1.19209290e-7F
# 1 "<built-in>"
#define __FLT_DENORM_MIN__ 1.40129846e-45F
# 1 "<built-in>"
#define __FLT_HAS_INFINITY__ 1
# 1 "<built-in>"
#define __FLT_HAS_QUIET_NAN__ 1
# 1 "<built-in>"
#define __DBL_MANT_DIG__ 53
# 1 "<built-in>"
#define __DBL_DIG__ 15
# 1 "<built-in>"
#define __DBL_MIN_EXP__ (-1021)
# 1 "<built-in>"
#define __DBL_MIN_10_EXP__ (-307)
# 1 "<built-in>"
#define __DBL_MAX_EXP__ 1024
# 1 "<built-in>"
#define __DBL_MAX_10_EXP__ 308
# 1 "<built-in>"
#define __DBL_MAX__ 1.7976931348623157e+308
# 1 "<built-in>"
#define __DBL_MIN__ 2.2250738585072014e-308
# 1 "<built-in>"
#define __DBL_EPSILON__ 2.2204460492503131e-16
# 1 "<built-in>"
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
# 1 "<built-in>"
#define __DBL_HAS_INFINITY__ 1
# 1 "<built-in>"
#define __DBL_HAS_QUIET_NAN__ 1
# 1 "<built-in>"
#define __LDBL_MANT_DIG__ 64
# 1 "<built-in>"
#define __LDBL_DIG__ 18
# 1 "<built-in>"
#define __LDBL_MIN_EXP__ (-16381)
# 1 "<built-in>"
#define __LDBL_MIN_10_EXP__ (-4931)
# 1 "<built-in>"
#define __LDBL_MAX_EXP__ 16384
# 1 "<built-in>"
#define __LDBL_MAX_10_EXP__ 4932
# 1 "<built-in>"
#define __DECIMAL_DIG__ 21
# 1 "<built-in>"
#define __LDBL_MAX__ 1.18973149535723176502e+4932L
# 1 "<built-in>"
#define __LDBL_MIN__ 3.36210314311209350626e-4932L
# 1 "<built-in>"
#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
# 1 "<built-in>"
#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
# 1 "<built-in>"
#define __LDBL_HAS_INFINITY__ 1
# 1 "<built-in>"
#define __LDBL_HAS_QUIET_NAN__ 1
# 1 "<built-in>"
#define __REGISTER_PREFIX__
# 1 "<built-in>"
#define __USER_LABEL_PREFIX__ _
# 1 "<built-in>"
#define __VERSION__ "4.0.1 (Apple Inc. build 5465)"
# 1 "<built-in>"
#define _LP64 1
# 1 "<built-in>"
#define __LP64__ 1
# 1 "<built-in>"
#define __OPTIMIZE__ 1
# 1 "<built-in>"
#define __FINITE_MATH_ONLY__ 0
# 1 "<built-in>"
#define __amd64 1
# 1 "<built-in>"
#define __amd64__ 1
# 1 "<built-in>"
#define __x86_64 1
# 1 "<built-in>"
#define __x86_64__ 1
# 1 "<built-in>"
#define __MMX__ 1
# 1 "<built-in>"
#define __SSE__ 1
# 1 "<built-in>"
#define __SSE2__ 1
# 1 "<built-in>"
#define __SSE3__ 1
# 1 "<built-in>"
#define __SSE_MATH__ 1
# 1 "<built-in>"
#define __SSE2_MATH__ 1
# 1 "<built-in>"
#define __x86_64__ 1
# 1 "<built-in>"
#define __LITTLE_ENDIAN__ 1
# 1 "<built-in>"
#define __MACH__ 1
# 1 "<built-in>"
#define __APPLE__ 1
# 1 "<built-in>"
#define __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 1052
# 1 "<built-in>"
#define __CONSTANT_CFSTRINGS__ 1
# 1 "<built-in>"
#define __PASCAL_STRINGS__ 1
# 1 "<built-in>"
#define __strong
# 1 "<built-in>"
#define __weak
# 1 "<built-in>"
#define OBJC_NEW_PROPERTIES 1
# 1 "<built-in>"
#define __PIC__ 1
# 1 "<command line>"
#define __DYNAMIC__ 1
# 1 "<command line>"
#define MAC_OSX 1
# 1 "<command line>"
#define emacs 1
# 1 "<command line>"
#define HAVE_CONFIG_H 1
# 1 "<command line>"
#define MAC_OSX 1
# 1 "<command line>"
#define temacs 1
# 1 "mac.c"
# 24 "mac.c"
# 1 "./config.h" 1
# 30 "./config.h"
#define EMACS_CONFIG_H
#define BROKEN_MKTIME 1
# 51 "./config.h"
#define C_SWITCH_X_SITE
# 60 "./config.h"
#define EMACS_CONFIGURATION "i386-apple-darwin9.2.2"
#define EMACS_CONFIG_OPTIONS " '--prefix=/Users/william' '--with-carbon' '--without-x' 'CC=gcc -m64'"
#define GETPGRP_VOID 1
# 82 "./config.h"
#define HAVE_ALARM 1
#define HAVE_ALLOCA 1
#define HAVE_ALLOCA_H 1
#define HAVE_BCMP 1
#define HAVE_BCOPY 1
#define HAVE_BZERO 1
#define HAVE_CARBON 1
#define HAVE_CBRT 1
#define HAVE_CLOSEDIR 1
# 123 "./config.h"
#define HAVE_DECL_SYS_SIGLIST 0
#define HAVE_DECL___SYS_SIGLIST 0
# 140 "./config.h"
#define HAVE_DIFFTIME 1
#define HAVE_DUP2 1
#define HAVE_FCNTL_H 1
#define HAVE_FMOD 1
#define HAVE_FORK 1
#define HAVE_FPATHCONF 1
#define HAVE_FREXP 1
#define HAVE_FSEEKO 1
#define HAVE_FSYNC 1
#define HAVE_FTIME 1
#define HAVE_GAI_STRERROR 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETCWD 1
#define HAVE_GETDOMAINNAME 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETLOADAVG 1
#define HAVE_GETOPT_H 1
#define HAVE_GETOPT_LONG_ONLY 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPEERNAME 1
#define HAVE_GETRUSAGE 1
#define HAVE_GETSOCKNAME 1
#define HAVE_GETSOCKOPT 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GETWD 1
# 236 "./config.h"
#define HAVE_GRANTPT 1
# 260 "./config.h"
#define HAVE_H_ERRNO 1
#define HAVE_INDEX 1
#define HAVE_INET_SOCKETS 1
#define HAVE_INTTYPES_H 1
# 293 "./config.h"
#define HAVE_LANGINFO_CODESET 1
# 338 "./config.h"
#define HAVE_LIBM 1
# 365 "./config.h"
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_LOGB 1
#define HAVE_LONG_FILE_NAMES 1
#define HAVE_LRAND48 1
# 392 "./config.h"
#define HAVE_MALLOC_MALLOC_H 1
#define HAVE_MBLEN 1
#define HAVE_MBRLEN 1
#define HAVE_MBSINIT 1
#define HAVE_MBSTATE_T 1
#define HAVE_MEMCMP 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMORY_H 1
#define HAVE_MEMSET 1
#define HAVE_MENUS 1
#define HAVE_MKDIR 1
#define HAVE_MKSTEMP 1
#define HAVE_MKTIME 1
#define HAVE_MMAP 1
# 448 "./config.h"
#define HAVE_NET_IF_H 1
# 475 "./config.h"
#define HAVE_PWD_H 1
#define HAVE_RANDOM 1
#define HAVE_RECVFROM 1
#define HAVE_RENAME 1
#define HAVE_RES_INIT 1
#define HAVE_RINDEX 1
#define HAVE_RINT 1
#define HAVE_RMDIR 1
#define HAVE_SELECT 1
#define HAVE_SENDTO 1
#define HAVE_SETITIMER 1
#define HAVE_SETLOCALE 1
#define HAVE_SETPGID 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSID 1
#define HAVE_SETSOCKOPT 1
#define HAVE_SHUTDOWN 1
#define HAVE_SIZE_T 1
#define HAVE_SPEED_T 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRERROR 1
#define HAVE_STRFTIME 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRSIGNAL 1
#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
# 577 "./config.h"
#define HAVE_STRUCT_TM_TM_ZONE 1
#define HAVE_STRUCT_UTIMBUF 1
#define HAVE_SYNC 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIMEB_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UTSNAME_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_TERMCAP_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERM_H 1
#define HAVE_TIMEVAL 1
#define HAVE_TM_GMTOFF 1
#define HAVE_TM_ZONE 1
# 669 "./config.h"
#define HAVE_TZSET 1
#define HAVE_UALARM 1
#define HAVE_UNISTD_H 1
#define HAVE_UTIMES 1
#define HAVE_UTIME_H 1
#define HAVE_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_WORKING_VFORK 1
# 721 "./config.h"
#define HAVE_XIM 1
# 763 "./config.h"
#define LD_SWITCH_X_SITE
#define LD_SWITCH_X_SITE_AUX
#define MAIL_USE_POP 1
# 783 "./config.h"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define POINTER_TYPE void
#define PROTOTYPES 1
#define RETSIGTYPE void
# 820 "./config.h"
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
# 839 "./config.h"
#define UNEXEC_SRC unexmacosx.c
#define USE_TOOLKIT_SCROLL_BARS 1
#define USE_XIM 1
#define XRegisterIMInstantiateCallback_arg6 XPointer
# 866 "./config.h"
#define _GNU_SOURCE 1
# 877 "./config.h"
#define __GETOPT_PREFIX rpl_
#define __PROTOTYPES 1
#define __restrict_arr __restrict
#define config_machfile "m/intel386.h"
#define config_opsysfile "s/darwin.h"
# 926 "./config.h"
#define HAVE_WINDOW_SYSTEM
#define HAVE_MOUSE
# 939 "./config.h"
#define USER_FULL_NAME pw->pw_gecos
#define AMPERSAND_FULL_NAME
#define DO_BLOCK_INPUT
# 975 "./config.h"
#define INLINE
# 1 "./s/darwin.h" 1
# 34 "./s/darwin.h"
#define BSD4_2
#define BSD_SYSTEM
# 52 "./s/darwin.h"
#define MAC_OS
#define SYSTEM_TYPE "darwin"
# 89 "./s/darwin.h"
#define INTERRUPT_INPUT
#define FIRST_PTY_LETTER 'p'
# 107 "./s/darwin.h"
#define HAVE_TERMIOS
#define NO_TERMIO
#define HAVE_PTYS
#define MIN_PTY_KERNEL_VERSION '7'
# 135 "./s/darwin.h"
#define BSTRING
#define subprocesses
# 155 "./s/darwin.h"
#define MAIL_USE_FLOCK
#define CLASH_DETECTION
# 217 "./s/darwin.h"
#define init_process emacs_init_process
#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
#define TAB3 OXTABS
#define SYSTEM_MALLOC
#define HAVE_SOCKETS
#define NO_SOCK_SIGIO
#define SYMS_SYSTEM syms_of_mac()
#define UNEXEC unexmacosx.o
#define START_FILES pre-crt0.o
#define TEXT_START (0)
#define TEXT_END get_etext()
#define DATA_END get_edata()
#define C_SWITCH_SYSTEM -fpascal-strings -DMAC_OSX
#define LIBS_CARBON -framework Carbon -framework QuickTime
# 276 "./s/darwin.h"
#define LD_SWITCH_SYSTEM_TEMACS -prebind LIBS_CARBON -Xlinker -headerpad -Xlinker 690
#define C_SWITCH_SYSTEM_TEMACS -Dtemacs
# 291 "./s/darwin.h"
#define ORDINARY_LINK
#define LIBS_DEBUG
#define LIB_MATH
#define OTHER_FILES macosx-app
#define NO_ABORT
#define NO_MATHERR
#undef HAVE_WORKING_VFORK
#define vfork fork
#define DONT_REOPEN_PTY
#define malloc unexec_malloc
#define realloc unexec_realloc
#define free unexec_free
#define POSIX_SIGNALS
#define select sys_select
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
# 980 "./config.h" 2
# 1 "./m/intel386.h" 1
# 56 "./m/intel386.h"
#undef WORDS_BIG_ENDIAN
# 73 "./m/intel386.h"
#define INTEL386
#define NO_UNION_TYPE
#define CRT0_DUMMIES bogus_fp,
#define DOT_GLOBAL_START
# 220 "./m/intel386.h"
#define NO_ARG_ARRAY
# 981 "./config.h" 2
# 1013 "./config.h"
#define SIGTYPE RETSIGTYPE
#define RE_TRANSLATE_TYPE Lisp_Object
#define RE_TRANSLATE(TBL,C) CHAR_TABLE_TRANSLATE (TBL, C)
#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
#define mktime emacs_mktime
#define my_strftime nstrftime
#define BSTRING
# 1051 "./config.h"
extern char *getenv ();
#define BITS_PER_CHAR 8
#define BITS_PER_SHORT 16
#define BITS_PER_INT 32
#define BITS_PER_LONG 64
# 1083 "./config.h"
#define PROTOTYPES 1
#define __P(args) args
# 1096 "./config.h"
# 1 "/usr/include/string.h" 1 3 4
# 59 "/usr/include/string.h" 3 4
#define _STRING_H_
# 1 "/usr/include/_types.h" 1 3 4
# 25 "/usr/include/_types.h" 3 4
#define __TYPES_H_
# 1 "/usr/include/sys/_types.h" 1 3 4
# 30 "/usr/include/sys/_types.h" 3 4
#define _SYS__TYPES_H_
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 68 "/usr/include/sys/cdefs.h" 3 4
#define _CDEFS_H_
#define __BEGIN_DECLS
#define __END_DECLS
# 86 "/usr/include/sys/cdefs.h" 3 4
#define __P(protos) protos
#define __CONCAT(x,y) x ## y
#define __STRING(x) #x
#define __const const
#define __signed signed
#define __volatile volatile
# 140 "/usr/include/sys/cdefs.h" 3 4
#define __dead2 __attribute__((__noreturn__))
#define __pure2 __attribute__((__const__))
#define __unused __attribute__((__unused__))
# 158 "/usr/include/sys/cdefs.h" 3 4
#define __dead
#define __pure
# 175 "/usr/include/sys/cdefs.h" 3 4
#define __restrict
# 190 "/usr/include/sys/cdefs.h" 3 4
#define __printflike(fmtarg,firstvararg) __attribute__((__format__ (__printf__, fmtarg, firstvararg)))
#define __scanflike(fmtarg,firstvararg) __attribute__((__format__ (__scanf__, fmtarg, firstvararg)))
#define __IDSTRING(name,string) static const char name[] __unused = string
#define __COPYRIGHT(s) __IDSTRING(copyright,s)
#define __RCSID(s) __IDSTRING(rcsid,s)
#define __SCCSID(s) __IDSTRING(sccsid,s)
#define __PROJECT_VERSION(s) __IDSTRING(project_version,s)
# 277 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_UNIX03 1
# 295 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_64_BIT_INO_T 0
#define __DARWIN_NON_CANCELABLE 0
#define __DARWIN_VERS_1050 1
# 319 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_SUF_UNIX03
#define __DARWIN_SUF_UNIX03_SET 0
#define __DARWIN_SUF_64_BIT_INO_T
#define __DARWIN_SUF_NON_CANCELABLE
#define __DARWIN_SUF_1050 "$1050"
# 349 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_SUF_EXTSN "$DARWIN_EXTSN"
#define __DARWIN_ALIAS(sym) __asm("_" __STRING(sym) __DARWIN_SUF_UNIX03)
#define __DARWIN_ALIAS_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_NON_CANCELABLE __DARWIN_SUF_UNIX03)
#define __DARWIN_ALIAS_I(sym) __asm("_" __STRING(sym) __DARWIN_SUF_64_BIT_INO_T __DARWIN_SUF_UNIX03)
#define __DARWIN_INODE64(sym) __asm("_" __STRING(sym) __DARWIN_SUF_64_BIT_INO_T)
#define __DARWIN_1050(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050)
#define __DARWIN_1050ALIAS(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_UNIX03)
#define __DARWIN_1050ALIAS_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_NON_CANCELABLE __DARWIN_SUF_UNIX03)
#define __DARWIN_1050ALIAS_I(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_64_BIT_INO_T __DARWIN_SUF_UNIX03)
#define __DARWIN_1050INODE64(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_64_BIT_INO_T)
#define __DARWIN_EXTSN(sym) __asm("_" __STRING(sym) __DARWIN_SUF_EXTSN)
#define __DARWIN_EXTSN_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_EXTSN __DARWIN_SUF_NON_CANCELABLE)
# 424 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_NO_LONG_LONG (defined(__STRICT_ANSI__) && (__STDC_VERSION__-0 < 199901L) && !defined(__GNUG__))
# 450 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_LDBL_COMPAT(x)
#define __DARWIN_LDBL_COMPAT2(x)
#define __DARWIN_LONG_DOUBLE_IS_DOUBLE 0
# 461 "/usr/include/sys/cdefs.h" 3 4
#define __deprecated __attribute__((deprecated))
# 483 "/usr/include/sys/cdefs.h" 3 4
#define _DARWIN_FEATURE_UNIX_CONFORMANCE 3
# 33 "/usr/include/sys/_types.h" 2 3 4
# 1 "/usr/include/machine/_types.h" 1 3 4
# 29 "/usr/include/machine/_types.h" 3 4
#define _BSD_MACHINE__TYPES_H_
# 1 "/usr/include/i386/_types.h" 1 3 4
# 29 "/usr/include/i386/_types.h" 3 4
#define _BSD_I386__TYPES_H_
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short __int16_t;
typedef unsigned short __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef long long __int64_t;
typedef unsigned long long __uint64_t;
typedef long __darwin_intptr_t;
typedef unsigned int __darwin_natural_t;
# 70 "/usr/include/i386/_types.h" 3 4
typedef int __darwin_ct_rune_t;
typedef union {
char __mbstate8[128];
long long _mbstateL;
} __mbstate_t;
typedef __mbstate_t __darwin_mbstate_t;
typedef long int __darwin_ptrdiff_t;
typedef long unsigned int __darwin_size_t;
typedef __builtin_va_list __darwin_va_list;
typedef int __darwin_wchar_t;
typedef __darwin_wchar_t __darwin_rune_t;
typedef int __darwin_wint_t;
typedef unsigned long __darwin_clock_t;
typedef __uint32_t __darwin_socklen_t;
typedef long __darwin_ssize_t;
typedef long __darwin_time_t;
# 35 "/usr/include/machine/_types.h" 2 3 4
# 34 "/usr/include/sys/_types.h" 2 3 4
#define __PTHREAD_SIZE__ 1168
#define __PTHREAD_ATTR_SIZE__ 56
#define __PTHREAD_MUTEXATTR_SIZE__ 8
#define __PTHREAD_MUTEX_SIZE__ 56
#define __PTHREAD_CONDATTR_SIZE__ 8
#define __PTHREAD_COND_SIZE__ 40
#define __PTHREAD_ONCE_SIZE__ 8
#define __PTHREAD_RWLOCK_SIZE__ 192
#define __PTHREAD_RWLOCKATTR_SIZE__ 16
# 58 "/usr/include/sys/_types.h" 3 4
struct __darwin_pthread_handler_rec
{
void (*__routine)(void *);
void *__arg;
struct __darwin_pthread_handler_rec *__next;
};
struct _opaque_pthread_attr_t { long __sig; char __opaque[56]; };
struct _opaque_pthread_cond_t { long __sig; char __opaque[40]; };
struct _opaque_pthread_condattr_t { long __sig; char __opaque[8]; };
struct _opaque_pthread_mutex_t { long __sig; char __opaque[56]; };
struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; };
struct _opaque_pthread_once_t { long __sig; char __opaque[8]; };
struct _opaque_pthread_rwlock_t { long __sig; char __opaque[192]; };
struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[16]; };
struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[1168]; };
# 91 "/usr/include/sys/_types.h" 3 4
#define __DARWIN_NULL ((void *)0)
typedef __int64_t __darwin_blkcnt_t;
typedef __int32_t __darwin_blksize_t;
typedef __int32_t __darwin_dev_t;
typedef unsigned int __darwin_fsblkcnt_t;
typedef unsigned int __darwin_fsfilcnt_t;
typedef __uint32_t __darwin_gid_t;
typedef __uint32_t __darwin_id_t;
typedef __uint64_t __darwin_ino64_t;
typedef __uint32_t __darwin_ino_t;
typedef __darwin_natural_t __darwin_mach_port_name_t;
typedef __darwin_mach_port_name_t __darwin_mach_port_t;
typedef __uint16_t __darwin_mode_t;
typedef __int64_t __darwin_off_t;
typedef __int32_t __darwin_pid_t;
typedef struct _opaque_pthread_attr_t
__darwin_pthread_attr_t;
typedef struct _opaque_pthread_cond_t
__darwin_pthread_cond_t;
typedef struct _opaque_pthread_condattr_t
__darwin_pthread_condattr_t;
typedef unsigned long __darwin_pthread_key_t;
typedef struct _opaque_pthread_mutex_t
__darwin_pthread_mutex_t;
typedef struct _opaque_pthread_mutexattr_t
__darwin_pthread_mutexattr_t;
typedef struct _opaque_pthread_once_t
__darwin_pthread_once_t;
typedef struct _opaque_pthread_rwlock_t
__darwin_pthread_rwlock_t;
typedef struct _opaque_pthread_rwlockattr_t
__darwin_pthread_rwlockattr_t;
typedef struct _opaque_pthread_t
*__darwin_pthread_t;
typedef __uint32_t __darwin_sigset_t;
typedef __int32_t __darwin_suseconds_t;
typedef __uint32_t __darwin_uid_t;
typedef __uint32_t __darwin_useconds_t;
typedef unsigned char __darwin_uuid_t[16];
# 28 "/usr/include/_types.h" 2 3 4
typedef int __darwin_nl_item;
typedef int __darwin_wctrans_t;
typedef __uint32_t __darwin_wctype_t;
#define __DARWIN_WCHAR_MAX __WCHAR_MAX__
#define __DARWIN_WCHAR_MIN (-0x7fffffff - 1)
#define __DARWIN_WEOF ((__darwin_wint_t)-1)
# 61 "/usr/include/string.h" 2 3 4
#define _SIZE_T
typedef __darwin_size_t size_t;
#define _SSIZE_T
typedef __darwin_ssize_t ssize_t;
#define NULL __DARWIN_NULL
void *memchr(const void *, int, size_t);
int memcmp(const void *, const void *, size_t);
void *memcpy(void *, const void *, size_t);
void *memmove(void *, const void *, size_t);
void *memset(void *, int, size_t);
char *stpcpy(char *, const char *);
char *strcasestr(const char *, const char *);
char *strcat(char *, const char *);
char *strchr(const char *, int);
int strcmp(const char *, const char *);
int strcoll(const char *, const char *);
char *strcpy(char *, const char *);
size_t strcspn(const char *, const char *);
char *strerror(int) __asm("_" "strerror" );
int strerror_r(int, char *, size_t);
size_t strlen(const char *);
char *strncat(char *, const char *, size_t);
int strncmp(const char *, const char *, size_t);
char *strncpy(char *, const char *, size_t);
char *strnstr(const char *, const char *, size_t);
char *strpbrk(const char *, const char *);
char *strrchr(const char *, int);
size_t strspn(const char *, const char *);
char *strstr(const char *, const char *);
char *strtok(char *, const char *);
size_t strxfrm(char *, const char *, size_t);
void *memccpy(void *, const void *, int, size_t);
char *strtok_r(char *, const char *, char **);
char *strdup(const char *);
int bcmp(const void *, const void *, size_t);
void bcopy(const void *, void *, size_t);
void bzero(void *, size_t);
int ffs(int);
int ffsl(long);
int fls(int);
int flsl(long);
char *index(const char *, int);
void memset_pattern4(void *, const void *, size_t);
void memset_pattern8(void *, const void *, size_t);
void memset_pattern16(void *, const void *, size_t);
char *rindex(const char *, int);
int strcasecmp(const char *, const char *);
size_t strlcat(char *, const char *, size_t);
size_t strlcpy(char *, const char *, size_t);
void strmode(int, char *);
int strncasecmp(const char *, const char *, size_t);
char *strsep(char **, const char *);
char *strsignal(int sig);
void swab(const void * , void * , ssize_t);
# 1097 "./config.h" 2
# 1 "/usr/include/strings.h" 1 3 4
# 1100 "./config.h" 2
# 1 "/usr/include/stdlib.h" 1 3 4
# 59 "/usr/include/stdlib.h" 3 4
#define _STDLIB_H_
# 1 "/usr/include/available.h" 1 3 4
# 66 "/usr/include/available.h" 3 4
#define _AVAILABLE_H_
#define __MAC_OS_X_VERSION_10_0 1000
#define __MAC_OS_X_VERSION_10_1 1010
#define __MAC_OS_X_VERSION_10_2 1020
#define __MAC_OS_X_VERSION_10_3 1030
#define __MAC_OS_X_VERSION_10_4 1040
#define __MAC_OS_X_VERSION_10_5 1050
# 86 "/usr/include/available.h" 3 4
#define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
# 101 "/usr/include/available.h" 3 4
#define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_OS_X_VERSION_MIN_REQUIRED
# 121 "/usr/include/available.h" 3 4
#define __DARWIN_WEAK_IMPORT_ATTRIBUTE __attribute__((weak_import))
# 132 "/usr/include/available.h" 3 4
#define __DARWIN_DEPRECATED_ATTRIBUTE __attribute__((deprecated))
# 141 "/usr/include/available.h" 3 4
#define __DARWIN_UNAVAILABLE_ATTRIBUTE __attribute__((unavailable))
# 153 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_0_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 185 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER
# 195 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
# 207 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_1 __DARWIN_DEPRECATED_ATTRIBUTE
# 218 "/usr/include/available.h" 3 4
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_1_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 239 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER
# 249 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
# 261 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 __DARWIN_DEPRECATED_ATTRIBUTE
# 273 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 __DARWIN_DEPRECATED_ATTRIBUTE
# 284 "/usr/include/available.h" 3 4
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_2_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 303 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER
# 313 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
# 325 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 __DARWIN_DEPRECATED_ATTRIBUTE
# 337 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 __DARWIN_DEPRECATED_ATTRIBUTE
# 349 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 __DARWIN_DEPRECATED_ATTRIBUTE
# 360 "/usr/include/available.h" 3 4
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_3_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 380 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER
# 390 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
# 402 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __DARWIN_DEPRECATED_ATTRIBUTE
# 414 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __DARWIN_DEPRECATED_ATTRIBUTE
# 426 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __DARWIN_DEPRECATED_ATTRIBUTE
# 438 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 __DARWIN_DEPRECATED_ATTRIBUTE
# 449 "/usr/include/available.h" 3 4
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_4_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 468 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER
# 478 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED __DARWIN_DEPRECATED_ATTRIBUTE
# 490 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __DARWIN_DEPRECATED_ATTRIBUTE
# 502 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __DARWIN_DEPRECATED_ATTRIBUTE
# 514 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __DARWIN_DEPRECATED_ATTRIBUTE
# 526 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __DARWIN_DEPRECATED_ATTRIBUTE
# 538 "/usr/include/available.h" 3 4
#define __AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 __DARWIN_DEPRECATED_ATTRIBUTE
# 549 "/usr/include/available.h" 3 4
#define __DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER __DARWIN_DEPRECATED_ATTRIBUTE
# 62 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/sys/wait.h" 1 3 4
# 65 "/usr/include/sys/wait.h" 3 4
#define _SYS_WAIT_H_
# 79 "/usr/include/sys/wait.h" 3 4
typedef enum {
P_ALL,
P_PID,
P_PGID
} idtype_t;
typedef __darwin_pid_t pid_t;
#define _PID_T
typedef __darwin_id_t id_t;
#define _ID_T
# 116 "/usr/include/sys/wait.h" 3 4
# 1 "/usr/include/sys/signal.h" 1 3 4
# 70 "/usr/include/sys/signal.h" 3 4
#define _SYS_SIGNAL_H_
# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
# 30 "/usr/include/sys/appleapiopts.h" 3 4
#define __SYS_APPLEAPIOPTS_H__
#define __APPLE_API_STANDARD
#define __APPLE_API_STABLE
#define __APPLE_API_EVOLVING
#define __APPLE_API_UNSTABLE
#define __APPLE_API_PRIVATE
#define __APPLE_API_OBSOLETE
# 74 "/usr/include/sys/signal.h" 2 3 4
#define __DARWIN_NSIG 32
#define NSIG __DARWIN_NSIG
# 1 "/usr/include/machine/signal.h" 1 3 4
# 29 "/usr/include/machine/signal.h" 3 4
#define _BSD_MACHINE_SIGNAL_H_
# 1 "/usr/include/i386/signal.h" 1 3 4
# 34 "/usr/include/i386/signal.h" 3 4
#define _I386_SIGNAL_H_ 1
typedef int sig_atomic_t;
# 54 "/usr/include/i386/signal.h" 3 4
#define __need_struct_sigcontext
# 1 "/usr/include/i386/_structs.h" 1 3 4
# 102 "/usr/include/i386/_structs.h" 3 4
#define I386_MCONTEXT_SIZE sizeof(struct mcontext)
# 56 "/usr/include/i386/signal.h" 2 3 4
# 35 "/usr/include/machine/signal.h" 2 3 4
# 82 "/usr/include/sys/signal.h" 2 3 4
#define SIGHUP 1
#define SIGINT 2
#define SIGQUIT 3
#define SIGILL 4
#define SIGTRAP 5
#define SIGABRT 6
#define SIGIOT SIGABRT
#define SIGEMT 7
#define SIGFPE 8
#define SIGKILL 9
#define SIGBUS 10
#define SIGSEGV 11
#define SIGSYS 12
#define SIGPIPE 13
#define SIGALRM 14
#define SIGTERM 15
#define SIGURG 16
#define SIGSTOP 17
#define SIGTSTP 18
#define SIGCONT 19
#define SIGCHLD 20
#define SIGTTIN 21
#define SIGTTOU 22
#define SIGIO 23
#define SIGXCPU 24
#define SIGXFSZ 25
#define SIGVTALRM 26
#define SIGPROF 27
#define SIGWINCH 28
#define SIGINFO 29
#define SIGUSR1 30
#define SIGUSR2 31
#define SIG_DFL (void (*)(int))0
#define SIG_IGN (void (*)(int))1
#define SIG_HOLD (void (*)(int))5
#define SIG_ERR ((void (*)(int))-1)
# 145 "/usr/include/sys/signal.h" 3 4
#define __need_mcontext_t
#define __need_stack_t
#define __need_ucontext_t
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 34 "/usr/include/sys/_structs.h" 3 4
#define __need_struct_ucontext
# 46 "/usr/include/sys/_structs.h" 3 4
#define __need_struct_mcontext
# 57 "/usr/include/sys/_structs.h" 3 4
# 1 "/usr/include/machine/_structs.h" 1 3 4
# 31 "/usr/include/machine/_structs.h" 3 4
# 1 "/usr/include/i386/_structs.h" 1 3 4
# 38 "/usr/include/i386/_structs.h" 3 4
# 1 "/usr/include/mach/i386/_structs.h" 1 3 4
# 33 "/usr/include/mach/i386/_structs.h" 3 4
#define _MACH_I386__STRUCTS_H_
# 42 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_THREAD_STATE32 struct __darwin_i386_thread_state
struct __darwin_i386_thread_state
{
unsigned int __eax;
unsigned int __ebx;
unsigned int __ecx;
unsigned int __edx;
unsigned int __edi;
unsigned int __esi;
unsigned int __ebp;
unsigned int __esp;
unsigned int __ss;
unsigned int __eflags;
unsigned int __eip;
unsigned int __cs;
unsigned int __ds;
unsigned int __es;
unsigned int __fs;
unsigned int __gs;
};
# 88 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_FP_CONTROL struct __darwin_fp_control
struct __darwin_fp_control
{
unsigned short __invalid :1,
__denorm :1,
__zdiv :1,
__ovrfl :1,
__undfl :1,
__precis :1,
:2,
__pc :2,
#define FP_PREC_24B 0
#define FP_PREC_53B 2
#define FP_PREC_64B 3
__rc :2,
#define FP_RND_NEAR 0
#define FP_RND_DOWN 1
#define FP_RND_UP 2
#define FP_CHOP 3
:1,
:3;
};
typedef struct __darwin_fp_control __darwin_fp_control_t;
# 146 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_FP_STATUS struct __darwin_fp_status
struct __darwin_fp_status
{
unsigned short __invalid :1,
__denorm :1,
__zdiv :1,
__ovrfl :1,
__undfl :1,
__precis :1,
__stkflt :1,
__errsumm :1,
__c0 :1,
__c1 :1,
__c2 :1,
__tos :3,
__c3 :1,
__busy :1;
};
typedef struct __darwin_fp_status __darwin_fp_status_t;
# 190 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_MMST_REG struct __darwin_mmst_reg
struct __darwin_mmst_reg
{
char __mmst_reg[10];
char __mmst_rsrv[6];
};
# 209 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_XMM_REG struct __darwin_xmm_reg
struct __darwin_xmm_reg
{
char __xmm_reg[16];
};
# 227 "/usr/include/mach/i386/_structs.h" 3 4
#define FP_STATE_BYTES 512
#define _STRUCT_X86_FLOAT_STATE32 struct __darwin_i386_float_state
struct __darwin_i386_float_state
{
int __fpu_reserved[2];
struct __darwin_fp_control __fpu_fcw;
struct __darwin_fp_status __fpu_fsw;
__uint8_t __fpu_ftw;
__uint8_t __fpu_rsrv1;
__uint16_t __fpu_fop;
__uint32_t __fpu_ip;
__uint16_t __fpu_cs;
__uint16_t __fpu_rsrv2;
__uint32_t __fpu_dp;
__uint16_t __fpu_ds;
__uint16_t __fpu_rsrv3;
__uint32_t __fpu_mxcsr;
__uint32_t __fpu_mxcsrmask;
struct __darwin_mmst_reg __fpu_stmm0;
struct __darwin_mmst_reg __fpu_stmm1;
struct __darwin_mmst_reg __fpu_stmm2;
struct __darwin_mmst_reg __fpu_stmm3;
struct __darwin_mmst_reg __fpu_stmm4;
struct __darwin_mmst_reg __fpu_stmm5;
struct __darwin_mmst_reg __fpu_stmm6;
struct __darwin_mmst_reg __fpu_stmm7;
struct __darwin_xmm_reg __fpu_xmm0;
struct __darwin_xmm_reg __fpu_xmm1;
struct __darwin_xmm_reg __fpu_xmm2;
struct __darwin_xmm_reg __fpu_xmm3;
struct __darwin_xmm_reg __fpu_xmm4;
struct __darwin_xmm_reg __fpu_xmm5;
struct __darwin_xmm_reg __fpu_xmm6;
struct __darwin_xmm_reg __fpu_xmm7;
char __fpu_rsrv4[14*16];
int __fpu_reserved1;
};
# 307 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_EXCEPTION_STATE32 struct __darwin_i386_exception_state
struct __darwin_i386_exception_state
{
unsigned int __trapno;
unsigned int __err;
unsigned int __faultvaddr;
};
# 325 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_DEBUG_STATE32 struct __darwin_x86_debug_state32
struct __darwin_x86_debug_state32
{
unsigned int __dr0;
unsigned int __dr1;
unsigned int __dr2;
unsigned int __dr3;
unsigned int __dr4;
unsigned int __dr5;
unsigned int __dr6;
unsigned int __dr7;
};
# 357 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_THREAD_STATE64 struct __darwin_x86_thread_state64
struct __darwin_x86_thread_state64
{
__uint64_t __rax;
__uint64_t __rbx;
__uint64_t __rcx;
__uint64_t __rdx;
__uint64_t __rdi;
__uint64_t __rsi;
__uint64_t __rbp;
__uint64_t __rsp;
__uint64_t __r8;
__uint64_t __r9;
__uint64_t __r10;
__uint64_t __r11;
__uint64_t __r12;
__uint64_t __r13;
__uint64_t __r14;
__uint64_t __r15;
__uint64_t __rip;
__uint64_t __rflags;
__uint64_t __cs;
__uint64_t __fs;
__uint64_t __gs;
};
# 412 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_FLOAT_STATE64 struct __darwin_x86_float_state64
struct __darwin_x86_float_state64
{
int __fpu_reserved[2];
struct __darwin_fp_control __fpu_fcw;
struct __darwin_fp_status __fpu_fsw;
__uint8_t __fpu_ftw;
__uint8_t __fpu_rsrv1;
__uint16_t __fpu_fop;
__uint32_t __fpu_ip;
__uint16_t __fpu_cs;
__uint16_t __fpu_rsrv2;
__uint32_t __fpu_dp;
__uint16_t __fpu_ds;
__uint16_t __fpu_rsrv3;
__uint32_t __fpu_mxcsr;
__uint32_t __fpu_mxcsrmask;
struct __darwin_mmst_reg __fpu_stmm0;
struct __darwin_mmst_reg __fpu_stmm1;
struct __darwin_mmst_reg __fpu_stmm2;
struct __darwin_mmst_reg __fpu_stmm3;
struct __darwin_mmst_reg __fpu_stmm4;
struct __darwin_mmst_reg __fpu_stmm5;
struct __darwin_mmst_reg __fpu_stmm6;
struct __darwin_mmst_reg __fpu_stmm7;
struct __darwin_xmm_reg __fpu_xmm0;
struct __darwin_xmm_reg __fpu_xmm1;
struct __darwin_xmm_reg __fpu_xmm2;
struct __darwin_xmm_reg __fpu_xmm3;
struct __darwin_xmm_reg __fpu_xmm4;
struct __darwin_xmm_reg __fpu_xmm5;
struct __darwin_xmm_reg __fpu_xmm6;
struct __darwin_xmm_reg __fpu_xmm7;
struct __darwin_xmm_reg __fpu_xmm8;
struct __darwin_xmm_reg __fpu_xmm9;
struct __darwin_xmm_reg __fpu_xmm10;
struct __darwin_xmm_reg __fpu_xmm11;
struct __darwin_xmm_reg __fpu_xmm12;
struct __darwin_xmm_reg __fpu_xmm13;
struct __darwin_xmm_reg __fpu_xmm14;
struct __darwin_xmm_reg __fpu_xmm15;
char __fpu_rsrv4[6*16];
int __fpu_reserved1;
};
# 516 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_EXCEPTION_STATE64 struct __darwin_x86_exception_state64
struct __darwin_x86_exception_state64
{
unsigned int __trapno;
unsigned int __err;
__uint64_t __faultvaddr;
};
# 534 "/usr/include/mach/i386/_structs.h" 3 4
#define _STRUCT_X86_DEBUG_STATE64 struct __darwin_x86_debug_state64
struct __darwin_x86_debug_state64
{
__uint64_t __dr0;
__uint64_t __dr1;
__uint64_t __dr2;
__uint64_t __dr3;
__uint64_t __dr4;
__uint64_t __dr5;
__uint64_t __dr6;
__uint64_t __dr7;
};
# 39 "/usr/include/i386/_structs.h" 2 3 4
#undef __need_struct_mcontext
#define _STRUCT_MCONTEXT32 struct __darwin_mcontext32
struct __darwin_mcontext32
{
struct __darwin_i386_exception_state __es;
struct __darwin_i386_thread_state __ss;
struct __darwin_i386_float_state __fs;
};
# 67 "/usr/include/i386/_structs.h" 3 4
#define _STRUCT_MCONTEXT64 struct __darwin_mcontext64
struct __darwin_mcontext64
{
struct __darwin_x86_exception_state64 __es;
struct __darwin_x86_thread_state64 __ss;
struct __darwin_x86_float_state64 __fs;
};
# 87 "/usr/include/i386/_structs.h" 3 4
#undef __need_mcontext_t
#define _MCONTEXT_T
typedef struct __darwin_mcontext64 *mcontext_t;
#define _STRUCT_MCONTEXT _STRUCT_MCONTEXT64
# 32 "/usr/include/machine/_structs.h" 2 3 4
# 58 "/usr/include/sys/_structs.h" 2 3 4
#define __need_struct_sigaltstack
#undef __need_struct_sigaltstack
#define _STRUCT_SIGALTSTACK struct __darwin_sigaltstack
struct __darwin_sigaltstack
{
void *ss_sp;
__darwin_size_t ss_size;
int ss_flags;
};
# 121 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_ucontext
#define _STRUCT_UCONTEXT struct __darwin_ucontext
struct __darwin_ucontext
{
int uc_onstack;
__darwin_sigset_t uc_sigmask;
struct __darwin_sigaltstack uc_stack;
struct __darwin_ucontext *uc_link;
__darwin_size_t uc_mcsize;
struct __darwin_mcontext64 *uc_mcontext;
};
# 215 "/usr/include/sys/_structs.h" 3 4
#undef __need_stack_t
#define _STACK_T
typedef struct __darwin_sigaltstack stack_t;
#undef __need_ucontext_t
#define _UCONTEXT_T
typedef struct __darwin_ucontext ucontext_t;
# 155 "/usr/include/sys/signal.h" 2 3 4
#define _PTHREAD_ATTR_T
typedef __darwin_pthread_attr_t pthread_attr_t;
#define _SIGSET_T
typedef __darwin_sigset_t sigset_t;
# 177 "/usr/include/sys/signal.h" 3 4
#define _UID_T
typedef __darwin_uid_t uid_t;
union sigval {
int sival_int;
void *sival_ptr;
};
#define SIGEV_NONE 0
#define SIGEV_SIGNAL 1
#define SIGEV_THREAD 3
struct sigevent {
int sigev_notify;
int sigev_signo;
union sigval sigev_value;
void (*sigev_notify_function)(union sigval);
pthread_attr_t *sigev_notify_attributes;
};
typedef struct __siginfo {
int si_signo;
int si_errno;
int si_code;
pid_t si_pid;
uid_t si_uid;
int si_status;
void *si_addr;
union sigval si_value;
long si_band;
unsigned long __pad[7];
} siginfo_t;
# 229 "/usr/include/sys/signal.h" 3 4
#define ILL_NOOP 0
#define ILL_ILLOPC 1
#define ILL_ILLTRP 2
#define ILL_PRVOPC 3
#define ILL_ILLOPN 4
#define ILL_ILLADR 5
#define ILL_PRVREG 6
#define ILL_COPROC 7
#define ILL_BADSTK 8
#define FPE_NOOP 0
#define FPE_FLTDIV 1
#define FPE_FLTOVF 2
#define FPE_FLTUND 3
#define FPE_FLTRES 4
#define FPE_FLTINV 5
#define FPE_FLTSUB 6
#define FPE_INTDIV 7
#define FPE_INTOVF 8
#define SEGV_NOOP 0
#define SEGV_MAPERR 1
#define SEGV_ACCERR 2
#define BUS_NOOP 0
#define BUS_ADRALN 1
#define BUS_ADRERR 2
#define BUS_OBJERR 3
#define TRAP_BRKPT 1
#define TRAP_TRACE 2
#define CLD_NOOP 0
#define CLD_EXITED 1
#define CLD_KILLED 2
#define CLD_DUMPED 3
#define CLD_TRAPPED 4
#define CLD_STOPPED 5
#define CLD_CONTINUED 6
#define POLL_IN 1
#define POLL_OUT 2
#define POLL_MSG 3
#define POLL_ERR 4
#define POLL_PRI 5
#define POLL_HUP 6
union __sigaction_u {
void (*__sa_handler)(int);
void (*__sa_sigaction)(int, struct __siginfo *,
void *);
};
struct __sigaction {
union __sigaction_u __sigaction_u;
void (*sa_tramp)(void *, int, int, siginfo_t *, void *);
sigset_t sa_mask;
int sa_flags;
};
struct sigaction {
union __sigaction_u __sigaction_u;
sigset_t sa_mask;
int sa_flags;
};
#define sa_handler __sigaction_u.__sa_handler
#define sa_sigaction __sigaction_u.__sa_sigaction
#define SA_ONSTACK 0x0001
#define SA_RESTART 0x0002
#define SA_RESETHAND 0x0004
#define SA_NOCLDSTOP 0x0008
#define SA_NODEFER 0x0010
#define SA_NOCLDWAIT 0x0020
#define SA_SIGINFO 0x0040
#define SA_USERTRAMP 0x0100
#define SA_64REGSET 0x0200
#define SA_USERSPACE_MASK (SA_ONSTACK | SA_RESTART | SA_RESETHAND | SA_NOCLDSTOP | SA_NODEFER | SA_NOCLDWAIT | SA_SIGINFO)
#define SIG_BLOCK 1
#define SIG_UNBLOCK 2
#define SIG_SETMASK 3
#define SI_USER 0x10001
#define SI_QUEUE 0x10002
#define SI_TIMER 0x10003
#define SI_ASYNCIO 0x10004
#define SI_MESGQ 0x10005
typedef void (*sig_t)(int);
#define SS_ONSTACK 0x0001
#define SS_DISABLE 0x0004
#define MINSIGSTKSZ 32768
#define SIGSTKSZ 131072
struct sigvec {
void (*sv_handler)(int);
int sv_mask;
int sv_flags;
};
#define SV_ONSTACK SA_ONSTACK
#define SV_INTERRUPT SA_RESTART
#define SV_RESETHAND SA_RESETHAND
#define SV_NODEFER SA_NODEFER
#define SV_NOCLDSTOP SA_NOCLDSTOP
#define SV_SIGINFO SA_SIGINFO
#define sv_onstack sv_flags
struct sigstack {
char *ss_sp;
int ss_onstack;
};
#define sigmask(m) (1 << ((m)-1))
#define BADSIG SIG_ERR
# 412 "/usr/include/sys/signal.h" 3 4
void (*signal(int, void (*)(int)))(int);
# 117 "/usr/include/sys/wait.h" 2 3 4
# 1 "/usr/include/sys/resource.h" 1 3 4
# 65 "/usr/include/sys/resource.h" 3 4
#define _SYS_RESOURCE_H_
# 75 "/usr/include/sys/resource.h" 3 4
#define __need_struct_timeval
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 97 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timeval
#define _STRUCT_TIMEVAL struct timeval
struct timeval
{
__darwin_time_t tv_sec;
__darwin_suseconds_t tv_usec;
};
# 77 "/usr/include/sys/resource.h" 2 3 4
# 88 "/usr/include/sys/resource.h" 3 4
typedef __uint64_t rlim_t;
# 99 "/usr/include/sys/resource.h" 3 4
#define PRIO_PROCESS 0
#define PRIO_PGRP 1
#define PRIO_USER 2
#define PRIO_DARWIN_THREAD 3
#define PRIO_MIN -20
#define PRIO_MAX 20
#define PRIO_DARWIN_BG 0x1000
# 130 "/usr/include/sys/resource.h" 3 4
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN -1
# 142 "/usr/include/sys/resource.h" 3 4
struct rusage {
struct timeval ru_utime;
struct timeval ru_stime;
# 153 "/usr/include/sys/resource.h" 3 4
long ru_maxrss;
#define ru_first ru_ixrss
long ru_ixrss;
long ru_idrss;
long ru_isrss;
long ru_minflt;
long ru_majflt;
long ru_nswap;
long ru_inblock;
long ru_oublock;
long ru_msgsnd;
long ru_msgrcv;
long ru_nsignals;
long ru_nvcsw;
long ru_nivcsw;
#define ru_last ru_nivcsw
};
# 184 "/usr/include/sys/resource.h" 3 4
#define RLIM_INFINITY (((__uint64_t)1 << 63) - 1)
#define RLIM_SAVED_MAX RLIM_INFINITY
#define RLIM_SAVED_CUR RLIM_INFINITY
#define RLIMIT_CPU 0
#define RLIMIT_FSIZE 1
#define RLIMIT_DATA 2
#define RLIMIT_STACK 3
#define RLIMIT_CORE 4
#define RLIMIT_AS 5
#define RLIMIT_RSS RLIMIT_AS
#define RLIMIT_MEMLOCK 6
#define RLIMIT_NPROC 7
#define RLIMIT_NOFILE 8
#define RLIM_NLIMITS 9
#define _RLIMIT_POSIX_FLAG 0x1000
struct rlimit {
rlim_t rlim_cur;
rlim_t rlim_max;
};
#define IOPOL_TYPE_DISK 0
#define IOPOL_SCOPE_PROCESS 0
#define IOPOL_SCOPE_THREAD 1
#define IOPOL_DEFAULT 0
#define IOPOL_NORMAL 1
#define IOPOL_PASSIVE 2
#define IOPOL_THROTTLE 3
int getpriority(int, id_t);
int getiopolicy_np(int, int);
int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" );
int getrusage(int, struct rusage *);
int setpriority(int, id_t, int);
int setiopolicy_np(int, int, int);
int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" );
# 118 "/usr/include/sys/wait.h" 2 3 4
# 128 "/usr/include/sys/wait.h" 3 4
#define WNOHANG 0x00000001
#define WUNTRACED 0x00000002
# 138 "/usr/include/sys/wait.h" 3 4
#define _W_INT(w) (*(int *)&(w))
#define WCOREFLAG 0200
#define _WSTATUS(x) (_W_INT(x) & 0177)
#define _WSTOPPED 0177
#define WEXITSTATUS(x) ((_W_INT(x) >> 8) & 0x000000ff)
#define WSTOPSIG(x) (_W_INT(x) >> 8)
#define WIFCONTINUED(x) (_WSTATUS(x) == _WSTOPPED && WSTOPSIG(x) == 0x13)
#define WIFSTOPPED(x) (_WSTATUS(x) == _WSTOPPED && WSTOPSIG(x) != 0x13)
#define WIFEXITED(x) (_WSTATUS(x) == 0)
#define WIFSIGNALED(x) (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0)
#define WTERMSIG(x) (_WSTATUS(x))
#define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG)
#define W_EXITCODE(ret,sig) ((ret) << 8 | (sig))
#define W_STOPCODE(sig) ((sig) << 8 | _WSTOPPED)
# 175 "/usr/include/sys/wait.h" 3 4
#define WEXITED 0x00000004
#define WSTOPPED 0x00000008
#define WCONTINUED 0x00000010
#define WNOWAIT 0x00000020
# 190 "/usr/include/sys/wait.h" 3 4
#define WAIT_ANY (-1)
#define WAIT_MYPGRP 0
# 1 "/usr/include/machine/endian.h" 1 3 4
# 32 "/usr/include/machine/endian.h" 3 4
#define _BSD_MACHINE_ENDIAN_H_
# 1 "/usr/include/i386/endian.h" 1 3 4
# 67 "/usr/include/i386/endian.h" 3 4
#define _I386__ENDIAN_H_
# 78 "/usr/include/i386/endian.h" 3 4
#define _QUAD_HIGHWORD 1
#define _QUAD_LOWWORD 0
#define __DARWIN_LITTLE_ENDIAN 1234
#define __DARWIN_BIG_ENDIAN 4321
#define __DARWIN_PDP_ENDIAN 3412
#define __DARWIN_BYTE_ORDER __DARWIN_LITTLE_ENDIAN
#define LITTLE_ENDIAN __DARWIN_LITTLE_ENDIAN
#define BIG_ENDIAN __DARWIN_BIG_ENDIAN
#define PDP_ENDIAN __DARWIN_PDP_ENDIAN
#define BYTE_ORDER __DARWIN_BYTE_ORDER
# 1 "/usr/include/sys/_endian.h" 1 3 4
# 91 "/usr/include/sys/_endian.h" 3 4
#define _SYS__ENDIAN_H_
# 124 "/usr/include/sys/_endian.h" 3 4
# 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4
# 30 "/usr/include/libkern/_OSByteOrder.h" 3 4
#define _OS__OSBYTEORDER_H
# 43 "/usr/include/libkern/_OSByteOrder.h" 3 4
#define __DARWIN_OSSwapConstInt16(x) ((__uint16_t)((((__uint16_t)(x) & 0xff00) >> 8) | (((__uint16_t)(x) & 0x00ff) << 8)))
#define __DARWIN_OSSwapConstInt32(x) ((__uint32_t)((((__uint32_t)(x) & 0xff000000) >> 24) | (((__uint32_t)(x) & 0x00ff0000) >> 8) | (((__uint32_t)(x) & 0x0000ff00) << 8) | (((__uint32_t)(x) & 0x000000ff) << 24)))
#define __DARWIN_OSSwapConstInt64(x) ((__uint64_t)((((__uint64_t)(x) & 0xff00000000000000ULL) >> 56) | (((__uint64_t)(x) & 0x00ff000000000000ULL) >> 40) | (((__uint64_t)(x) & 0x0000ff0000000000ULL) >> 24) | (((__uint64_t)(x) & 0x000000ff00000000ULL) >> 8) | (((__uint64_t)(x) & 0x00000000ff000000ULL) << 8) | (((__uint64_t)(x) & 0x0000000000ff0000ULL) << 24) | (((__uint64_t)(x) & 0x000000000000ff00ULL) << 40) | (((__uint64_t)(x) & 0x00000000000000ffULL) << 56)))
# 66 "/usr/include/libkern/_OSByteOrder.h" 3 4
# 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4
# 30 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4
#define _OS__OSBYTEORDERI386_H
#define __DARWIN_OS_INLINE static __inline__
static __inline__
__uint16_t
_OSSwapInt16(
__uint16_t _data
)
{
return ((_data << 8) | (_data >> 8));
}
static __inline__
__uint32_t
_OSSwapInt32(
__uint32_t _data
)
{
__asm__ ("bswap %0" : "+r" (_data));
return _data;
}
# 77 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4
static __inline__
__uint64_t
_OSSwapInt64(
__uint64_t _data
)
{
__asm__ ("bswap %0" : "+r" (_data));
return _data;
}
# 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4
#define __DARWIN_OSSwapInt16(x) (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))
#define __DARWIN_OSSwapInt32(x) (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
#define __DARWIN_OSSwapInt64(x) (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
# 125 "/usr/include/sys/_endian.h" 2 3 4
#define ntohs(x) __DARWIN_OSSwapInt16(x)
#define htons(x) __DARWIN_OSSwapInt16(x)
#define ntohl(x) __DARWIN_OSSwapInt32(x)
#define htonl(x) __DARWIN_OSSwapInt32(x)
#define NTOHL(x) (x) = ntohl((__uint32_t)x)
#define NTOHS(x) (x) = ntohs((__uint16_t)x)
#define HTONL(x) (x) = htonl((__uint32_t)x)
#define HTONS(x) (x) = htons((__uint16_t)x)
# 100 "/usr/include/i386/endian.h" 2 3 4
# 38 "/usr/include/machine/endian.h" 2 3 4
# 194 "/usr/include/sys/wait.h" 2 3 4
union wait {
int w_status;
struct {
unsigned int w_Termsig:7,
w_Coredump:1,
w_Retcode:8,
w_Filler:16;
} w_T;
struct {
unsigned int w_Stopval:8,
w_Stopsig:8,
w_Filler:16;
} w_S;
};
#define w_termsig w_T.w_Termsig
#define w_coredump w_T.w_Coredump
#define w_retcode w_T.w_Retcode
#define w_stopval w_S.w_Stopval
#define w_stopsig w_S.w_Stopsig
# 254 "/usr/include/sys/wait.h" 3 4
pid_t wait(int *) __asm("_" "wait" );
pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" );
int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" );
pid_t wait3(int *, int, struct rusage *);
pid_t wait4(pid_t, int *, int, struct rusage *);
# 66 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/alloca.h" 1 3 4
# 25 "/usr/include/alloca.h" 3 4
#define _ALLOCA_H_
# 35 "/usr/include/alloca.h" 3 4
void *alloca(size_t);
#undef alloca
#undef __alloca
#define alloca(size) __alloca(size)
#define __alloca(size) __builtin_alloca(size)
# 68 "/usr/include/stdlib.h" 2 3 4
# 80 "/usr/include/stdlib.h" 3 4
#define _CT_RUNE_T
typedef __darwin_ct_rune_t ct_rune_t;
#define _RUNE_T
typedef __darwin_rune_t rune_t;
#define _WCHAR_T
typedef __darwin_wchar_t wchar_t;
typedef struct {
int quot;
int rem;
} div_t;
typedef struct {
long quot;
long rem;
} ldiv_t;
typedef struct {
long long quot;
long long rem;
} lldiv_t;
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#define RAND_MAX 0x7fffffff
# 134 "/usr/include/stdlib.h" 3 4
extern int __mb_cur_max;
#define MB_CUR_MAX __mb_cur_max
# 144 "/usr/include/stdlib.h" 3 4
void abort(void) __attribute__((__noreturn__));
int abs(int) __attribute__((__const__));
int atexit(void (*)(void));
double atof(const char *);
int atoi(const char *);
long atol(const char *);
long long
atoll(const char *);
void *bsearch(const void *, const void *, size_t,
size_t, int (*)(const void *, const void *));
void *calloc(size_t, size_t);
div_t div(int, int) __attribute__((__const__));
void exit(int) __attribute__((__noreturn__));
void unexec_free(void *);
char *getenv(const char *);
long labs(long) __attribute__((__const__));
ldiv_t ldiv(long, long) __attribute__((__const__));
long long
llabs(long long);
lldiv_t lldiv(long long, long long);
void *unexec_malloc(size_t);
int mblen(const char *, size_t);
size_t mbstowcs(wchar_t * , const char * , size_t);
int mbtowc(wchar_t * , const char * , size_t);
void qsort(void *, size_t, size_t,
int (*)(const void *, const void *));
int rand(void);
void *unexec_realloc(void *, size_t);
void srand(unsigned);
double strtod(const char *, char **) __asm("_" "strtod" );
float strtof(const char *, char **) __asm("_" "strtof" );
long strtol(const char *, char **, int);
long double
strtold(const char *, char **) ;
long long
strtoll(const char *, char **, int);
unsigned long
strtoul(const char *, char **, int);
unsigned long long
strtoull(const char *, char **, int);
int system(const char *) __asm("_" "system" );
size_t wcstombs(char * , const wchar_t * , size_t);
int wctomb(char *, wchar_t);
void _Exit(int) __attribute__((__noreturn__));
long a64l(const char *);
double drand48(void);
char *ecvt(double, int, int *, int *);
double erand48(unsigned short[3]);
char *fcvt(double, int, int *, int *);
char *gcvt(double, int, char *);
int getsubopt(char **, char * const *, char **);
int grantpt(int);
char *initstate(unsigned, char *, size_t);
long jrand48(unsigned short[3]);
char *l64a(long);
void lcong48(unsigned short[7]);
long lrand48(void);
char *mktemp(char *);
int mkstemp(char *);
long mrand48(void);
long nrand48(unsigned short[3]);
int posix_openpt(int);
char *ptsname(int);
int putenv(char *) __asm("_" "putenv" );
long random(void);
int rand_r(unsigned *);
char *realpath(const char * , char * ) __asm("_" "realpath" "$DARWIN_EXTSN");
unsigned short
*seed48(unsigned short[3]);
int setenv(const char *, const char *, int) __asm("_" "setenv" );
void setkey(const char *) __asm("_" "setkey" );
char *setstate(const char *);
void srand48(long);
void srandom(unsigned);
int unlockpt(int);
int unsetenv(const char *) __asm("_" "unsetenv" );
# 1 "/usr/include/machine/types.h" 1 3 4
# 32 "/usr/include/machine/types.h" 3 4
#define _BSD_MACHINE_TYPES_H_
# 1 "/usr/include/i386/types.h" 1 3 4
# 67 "/usr/include/i386/types.h" 3 4
#define _MACHTYPES_H_
# 77 "/usr/include/i386/types.h" 3 4
#define _INT8_T
typedef signed char int8_t;
typedef unsigned char u_int8_t;
#define _INT16_T
typedef short int16_t;
typedef unsigned short u_int16_t;
#define _INT32_T
typedef int int32_t;
typedef unsigned int u_int32_t;
#define _INT64_T
typedef long long int64_t;
typedef unsigned long long u_int64_t;
typedef int64_t register_t;
#define _INTPTR_T
typedef __darwin_intptr_t intptr_t;
#define _UINTPTR_T
typedef unsigned long int uintptr_t;
typedef u_int64_t user_addr_t;
typedef u_int64_t user_size_t;
typedef int64_t user_ssize_t;
typedef int64_t user_long_t;
typedef u_int64_t user_ulong_t;
typedef int64_t user_time_t;
#define USER_ADDR_NULL ((user_addr_t) 0)
#define CAST_USER_ADDR_T(a_ptr) ((user_addr_t)((uintptr_t)(a_ptr)))
typedef u_int64_t syscall_arg_t;
#define __offsetof(type,field) ((size_t)(&((type *)0)->field))
# 38 "/usr/include/machine/types.h" 2 3 4
# 255 "/usr/include/stdlib.h" 2 3 4
typedef __darwin_dev_t dev_t;
#define _DEV_T
typedef __darwin_mode_t mode_t;
#define _MODE_T
u_int32_t
arc4random(void);
void arc4random_addrandom(unsigned char *dat, int datlen);
void arc4random_stir(void);
char *cgetcap(char *, const char *, int);
int cgetclose(void);
int cgetent(char **, char **, const char *);
int cgetfirst(char **, char **);
int cgetmatch(const char *, const char *);
int cgetnext(char **, char **);
int cgetnum(char *, const char *, long *);
int cgetset(const char *);
int cgetstr(char *, const char *, char **);
int cgetustr(char *, const char *, char **);
int daemon(int, int) __asm("_" "daemon" "$1050") __attribute__((deprecated));
char *devname(dev_t, mode_t);
char *devname_r(dev_t, mode_t, char *buf, int len);
char *getbsize(int *, long *);
int getloadavg(double [], int);
const char
*getprogname(void);
int heapsort(void *, size_t, size_t,
int (*)(const void *, const void *));
int mergesort(void *, size_t, size_t,
int (*)(const void *, const void *));
void qsort_r(void *, size_t, size_t, void *,
int (*)(void *, const void *, const void *));
int radixsort(const unsigned char **, int, const unsigned char *,
unsigned);
void setprogname(const char *);
int sradixsort(const unsigned char **, int, const unsigned char *,
unsigned);
void sranddev(void);
void srandomdev(void);
void *reallocf(void *, size_t);
long long
strtoq(const char *, char **, int);
unsigned long long
strtouq(const char *, char **, int);
extern char *suboptarg;
void *valloc(size_t);
# 1103 "./config.h" 2
# 1137 "./config.h"
#define NO_RETURN __attribute__ ((__noreturn__))
# 1151 "./config.h"
#define GC_SETJMP_WORKS 1
#define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
# 25 "mac.c" 2
# 1 "/usr/include/stdio.h" 1 3 4
# 62 "/usr/include/stdio.h" 3 4
#define _STDIO_H_
#define _VA_LIST
typedef __darwin_va_list va_list;
#define _OFF_T
typedef __darwin_off_t off_t;
# 87 "/usr/include/stdio.h" 3 4
typedef __darwin_off_t fpos_t;
#define _FSTDIO
# 98 "/usr/include/stdio.h" 3 4
struct __sbuf {
unsigned char *_base;
int _size;
};
struct __sFILEX;
# 132 "/usr/include/stdio.h" 3 4
typedef struct __sFILE {
unsigned char *_p;
int _r;
int _w;
short _flags;
short _file;
struct __sbuf _bf;
int _lbfsize;
void *_cookie;
int (*_close)(void *);
int (*_read) (void *, char *, int);
fpos_t (*_seek) (void *, fpos_t, int);
int (*_write)(void *, const char *, int);
struct __sbuf _ub;
struct __sFILEX *_extra;
int _ur;
unsigned char _ubuf[3];
unsigned char _nbuf[1];
struct __sbuf _lb;
int _blksize;
fpos_t _offset;
} FILE;
extern FILE *__stdinp;
extern FILE *__stdoutp;
extern FILE *__stderrp;
#define __SLBF 0x0001
#define __SNBF 0x0002
#define __SRD 0x0004
#define __SWR 0x0008
#define __SRW 0x0010
#define __SEOF 0x0020
#define __SERR 0x0040
#define __SMBF 0x0080
#define __SAPP 0x0100
#define __SSTR 0x0200
#define __SOPT 0x0400
#define __SNPT 0x0800
#define __SOFF 0x1000
#define __SMOD 0x2000
#define __SALC 0x4000
#define __SIGN 0x8000
# 202 "/usr/include/stdio.h" 3 4
#define _IOFBF 0
#define _IOLBF 1
#define _IONBF 2
#define BUFSIZ 1024
#define EOF (-1)
#define FOPEN_MAX 20
#define FILENAME_MAX 1024
#define P_tmpdir "/var/tmp/"
#define L_tmpnam 1024
#define TMP_MAX 308915776
#define SEEK_SET 0
#define SEEK_CUR 1
#define SEEK_END 2
#define stdin __stdinp
#define stdout __stdoutp
#define stderr __stderrp
# 248 "/usr/include/stdio.h" 3 4
void clearerr(FILE *);
int fclose(FILE *);
int feof(FILE *);
int ferror(FILE *);
int fflush(FILE *);
int fgetc(FILE *);
int fgetpos(FILE * , fpos_t *);
char *fgets(char * , int, FILE *);
FILE *fopen(const char * , const char * );
int fprintf(FILE * , const char * , ...) ;
int fputc(int, FILE *);
int fputs(const char * , FILE * ) __asm("_" "fputs" );
size_t fread(void * , size_t, size_t, FILE * );
FILE *freopen(const char * , const char * ,
FILE * ) __asm("_" "freopen" );
int fscanf(FILE * , const char * , ...) ;
int fseek(FILE *, long, int);
int fsetpos(FILE *, const fpos_t *);
long ftell(FILE *);
size_t fwrite(const void * , size_t, size_t, FILE * ) __asm("_" "fwrite" );
int getc(FILE *);
int getchar(void);
char *gets(char *);
extern const int sys_nerr;
extern const char *const sys_errlist[];
void perror(const char *);
int printf(const char * , ...) ;
int putc(int, FILE *);
int putchar(int);
int puts(const char *);
int remove(const char *);
int rename (const char *, const char *);
void rewind(FILE *);
int scanf(const char * , ...) ;
void setbuf(FILE * , char * );
int setvbuf(FILE * , char * , int, size_t);
int sprintf(char * , const char * , ...) ;
int sscanf(const char * , const char * , ...) ;
FILE *tmpfile(void);
char *tmpnam(char *);
int ungetc(int, FILE *);
int vfprintf(FILE * , const char * , va_list) ;
int vprintf(const char * , va_list) ;
int vsprintf(char * , const char * , va_list) ;
int asprintf(char **, const char *, ...) ;
int vasprintf(char **, const char *, va_list) ;
#define L_ctermid 1024
char *ctermid(char *);
char *ctermid_r(char *);
FILE *fdopen(int, const char *);
char *fgetln(FILE *, size_t *);
int fileno(FILE *);
void flockfile(FILE *);
const char
*fmtcheck(const char *, const char *);
int fpurge(FILE *);
int fseeko(FILE *, off_t, int);
off_t ftello(FILE *);
int ftrylockfile(FILE *);
void funlockfile(FILE *);
int getc_unlocked(FILE *);
int getchar_unlocked(void);
int getw(FILE *);
int pclose(FILE *);
FILE *popen(const char *, const char *);
int putc_unlocked(int, FILE *);
int putchar_unlocked(int);
int putw(int, FILE *);
void setbuffer(FILE *, char *, int);
int setlinebuf(FILE *);
int snprintf(char * , size_t, const char * , ...) ;
char *tempnam(const char *, const char *) __asm("_" "tempnam" );
int vfscanf(FILE * , const char * , va_list) ;
int vscanf(const char * , va_list) ;
int vsnprintf(char * , size_t, const char * , va_list) ;
int vsscanf(const char * , const char * , va_list) ;
FILE *zopen(const char *, const char *, int);
FILE *funopen(const void *,
int (*)(void *, char *, int),
int (*)(void *, const char *, int),
fpos_t (*)(void *, fpos_t, int),
int (*)(void *));
#define fropen(cookie,fn) funopen(cookie, fn, 0, 0, 0)
#define fwopen(cookie,fn) funopen(cookie, 0, fn, 0, 0)
int __srget(FILE *);
int __svfscanf(FILE *, const char *, va_list) ;
int __swbuf(int, FILE *);
#define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
static __inline int __sputc(int _c, FILE *_p) {
if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n'))
return (*_p->_p++ = _c);
else
return (__swbuf(_c, _p));
}
# 403 "/usr/include/stdio.h" 3 4
#define __sfeof(p) (((p)->_flags & __SEOF) != 0)
#define __sferror(p) (((p)->_flags & __SERR) != 0)
#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
#define __sfileno(p) ((p)->_file)
#define feof_unlocked(p) __sfeof(p)
#define ferror_unlocked(p) __sferror(p)
#define clearerr_unlocked(p) __sclearerr(p)
#define fileno_unlocked(p) __sfileno(p)
#define getc_unlocked(fp) __sgetc(fp)
#define putc_unlocked(x,fp) __sputc(x, fp)
#define getchar_unlocked() getc_unlocked(stdin)
#define putchar_unlocked(x) putc_unlocked(x, stdout)
# 27 "mac.c" 2
# 1 "/usr/include/errno.h" 1 3 4
# 23 "/usr/include/errno.h" 3 4
# 1 "/usr/include/sys/errno.h" 1 3 4
# 70 "/usr/include/sys/errno.h" 3 4
#define _SYS_ERRNO_H_
extern int * __error(void);
#define errno (*__error())
#define EPERM 1
#define ENOENT 2
#define ESRCH 3
#define EINTR 4
#define EIO 5
#define ENXIO 6
#define E2BIG 7
#define ENOEXEC 8
#define EBADF 9
#define ECHILD 10
#define EDEADLK 11
#define ENOMEM 12
#define EACCES 13
#define EFAULT 14
#define ENOTBLK 15
#define EBUSY 16
#define EEXIST 17
#define EXDEV 18
#define ENODEV 19
#define ENOTDIR 20
#define EISDIR 21
#define EINVAL 22
#define ENFILE 23
#define EMFILE 24
#define ENOTTY 25
#define ETXTBSY 26
#define EFBIG 27
#define ENOSPC 28
#define ESPIPE 29
#define EROFS 30
#define EMLINK 31
#define EPIPE 32
#define EDOM 33
#define ERANGE 34
#define EAGAIN 35
#define EWOULDBLOCK EAGAIN
#define EINPROGRESS 36
#define EALREADY 37
#define ENOTSOCK 38
#define EDESTADDRREQ 39
#define EMSGSIZE 40
#define EPROTOTYPE 41
#define ENOPROTOOPT 42
#define EPROTONOSUPPORT 43
#define ESOCKTNOSUPPORT 44
#define ENOTSUP 45
# 152 "/usr/include/sys/errno.h" 3 4
#define EPFNOSUPPORT 46
#define EAFNOSUPPORT 47
#define EADDRINUSE 48
#define EADDRNOTAVAIL 49
#define ENETDOWN 50
#define ENETUNREACH 51
#define ENETRESET 52
#define ECONNABORTED 53
#define ECONNRESET 54
#define ENOBUFS 55
#define EISCONN 56
#define ENOTCONN 57
#define ESHUTDOWN 58
#define ETOOMANYREFS 59
#define ETIMEDOUT 60
#define ECONNREFUSED 61
#define ELOOP 62
#define ENAMETOOLONG 63
#define EHOSTDOWN 64
#define EHOSTUNREACH 65
#define ENOTEMPTY 66
#define EPROCLIM 67
#define EUSERS 68
#define EDQUOT 69
#define ESTALE 70
#define EREMOTE 71
#define EBADRPC 72
#define ERPCMISMATCH 73
#define EPROGUNAVAIL 74
#define EPROGMISMATCH 75
#define EPROCUNAVAIL 76
#define ENOLCK 77
#define ENOSYS 78
#define EFTYPE 79
#define EAUTH 80
#define ENEEDAUTH 81
#define EPWROFF 82
#define EDEVERR 83
#define EOVERFLOW 84
#define EBADEXEC 85
#define EBADARCH 86
#define ESHLIBVERS 87
#define EBADMACHO 88
#define ECANCELED 89
#define EIDRM 90
#define ENOMSG 91
#define EILSEQ 92
#define ENOATTR 93
#define EBADMSG 94
#define EMULTIHOP 95
#define ENODATA 96
#define ENOLINK 97
#define ENOSR 98
#define ENOSTR 99
#define EPROTO 100
#define ETIME 101
#define EOPNOTSUPP 102
#define ENOPOLICY 103
#define ELAST 103
# 24 "/usr/include/errno.h" 2 3 4
# 28 "mac.c" 2
# 1 "lisp.h" 1
# 24 "lisp.h"
#define EMACS_LISP_H
#define P_(proto) proto
# 60 "lisp.h"
#define CHECK_CONS_LIST() 0
#define EMACS_INT long
#define BITS_PER_EMACS_INT BITS_PER_LONG
#define EMACS_UINT unsigned long
# 83 "lisp.h"
extern int suppress_checking;
extern void die (const char *, const char *, int) __attribute__ ((__noreturn__));
# 95 "lisp.h"
#define CHECK(check,msg) ((check),0)
# 109 "lisp.h"
#define eassert(X) (void) 0
# 122 "lisp.h"
enum Lisp_Type
{
Lisp_Int,
Lisp_Symbol,
Lisp_Misc,
Lisp_String,
Lisp_Vectorlike,
Lisp_Cons,
Lisp_Float,
Lisp_Type_Limit
};
enum Lisp_Misc_Type
{
Lisp_Misc_Free = 0x5eab,
Lisp_Misc_Marker,
Lisp_Misc_Intfwd,
Lisp_Misc_Boolfwd,
Lisp_Misc_Objfwd,
Lisp_Misc_Buffer_Objfwd,
Lisp_Misc_Buffer_Local_Value,
Lisp_Misc_Some_Buffer_Local_Value,
Lisp_Misc_Overlay,
Lisp_Misc_Kboard_Objfwd,
Lisp_Misc_Save_Value,
Lisp_Misc_Float,
Lisp_Misc_Limit
};
#define GCTYPEBITS 3
#define VALBITS (BITS_PER_EMACS_INT - GCTYPEBITS)
# 257 "lisp.h"
typedef long Lisp_Object;
#define LISP_MAKE_RVALUE(o) (0+(o))
# 267 "lisp.h"
#define ARRAY_MARK_FLAG ((EMACS_INT) ((EMACS_UINT) 1 << (VALBITS + GCTYPEBITS - 1)))
#define PSEUDOVECTOR_FLAG ((ARRAY_MARK_FLAG >> 1) & ~ARRAY_MARK_FLAG)
enum pvec_type
{
PVEC_NORMAL_VECTOR = 0,
PVEC_PROCESS = 0x200,
PVEC_FRAME = 0x400,
PVEC_COMPILED = 0x800,
PVEC_WINDOW = 0x1000,
PVEC_WINDOW_CONFIGURATION = 0x2000,
PVEC_SUBR = 0x4000,
PVEC_CHAR_TABLE = 0x8000,
PVEC_BOOL_VECTOR = 0x10000,
PVEC_BUFFER = 0x20000,
PVEC_HASH_TABLE = 0x40000,
PVEC_TYPE_MASK = 0x7fe00
};
#define PSEUDOVECTOR_SIZE_MASK 0x1ff
#define BOOL_VECTOR_BITS_PER_CHAR 8
# 337 "lisp.h"
#define DECL_ALIGN(type,var) type __attribute__ ((__aligned__ (1 << GCTYPEBITS))) var
# 349 "lisp.h"
#define USE_LSB_TAG
# 371 "lisp.h"
#define TYPEMASK ((((EMACS_INT) 1) << GCTYPEBITS) - 1)
#define XTYPE(a) ((enum Lisp_Type) (((EMACS_UINT) (a)) & TYPEMASK))
#define XINT(a) (((EMACS_INT) (a)) >> GCTYPEBITS)
#define XUINT(a) (((EMACS_UINT) (a)) >> GCTYPEBITS)
#define XSET(var,type,ptr) (eassert (XTYPE (ptr) == 0), (var) = ((EMACS_INT) (type)) | ((EMACS_INT) (ptr)))
#define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS)
#define XFASTINT(a) XINT (a)
#define XSETFASTINT(a,b) ((a) = make_number (b))
#define XPNTR(a) ((EMACS_INT) ((a) & ~TYPEMASK))
# 430 "lisp.h"
#define EQ(x,y) ((x) == (y))
# 474 "lisp.h"
#define XGCTYPE(a) XTYPE (a)
# 504 "lisp.h"
#define MOST_NEGATIVE_FIXNUM - ((EMACS_INT) 1 << (VALBITS - 1))
#define MOST_POSITIVE_FIXNUM (((EMACS_INT) 1 << (VALBITS - 1)) - 1)
#define INTMASK ((((EMACS_INT) 1) << VALBITS) - 1)
#define FIXNUM_OVERFLOW_P(i) ((EMACS_INT)(i) > MOST_POSITIVE_FIXNUM || (EMACS_INT) (i) < MOST_NEGATIVE_FIXNUM)
#define XCONS(a) (eassert (GC_CONSP(a)),(struct Lisp_Cons *) XPNTR(a))
#define XVECTOR(a) (eassert (GC_VECTORLIKEP(a)),(struct Lisp_Vector *) XPNTR(a))
#define XSTRING(a) (eassert (GC_STRINGP(a)),(struct Lisp_String *) XPNTR(a))
#define XSYMBOL(a) (eassert (GC_SYMBOLP(a)),(struct Lisp_Symbol *) XPNTR(a))
#define XFLOAT(a) (eassert (GC_FLOATP(a)),(struct Lisp_Float *) XPNTR(a))
#define XMISC(a) ((union Lisp_Misc *) XPNTR(a))
#define XMISCTYPE(a) (XMARKER (a)->type)
#define XMARKER(a) (&(XMISC(a)->u_marker))
#define XINTFWD(a) (&(XMISC(a)->u_intfwd))
#define XBOOLFWD(a) (&(XMISC(a)->u_boolfwd))
#define XOBJFWD(a) (&(XMISC(a)->u_objfwd))
#define XBUFFER_OBJFWD(a) (&(XMISC(a)->u_buffer_objfwd))
#define XBUFFER_LOCAL_VALUE(a) (&(XMISC(a)->u_buffer_local_value))
#define XOVERLAY(a) (&(XMISC(a)->u_overlay))
#define XKBOARD_OBJFWD(a) (&(XMISC(a)->u_kboard_objfwd))
#define XSAVE_VALUE(a) (&(XMISC(a)->u_save_value))
#define XPROCESS(a) (eassert (GC_PROCESSP(a)),(struct Lisp_Process *) XPNTR(a))
#define XWINDOW(a) (eassert (GC_WINDOWP(a)),(struct window *) XPNTR(a))
#define XSUBR(a) (eassert (GC_SUBRP(a)),(struct Lisp_Subr *) XPNTR(a))
#define XBUFFER(a) (eassert (GC_BUFFERP(a)),(struct buffer *) XPNTR(a))
#define XCHAR_TABLE(a) ((struct Lisp_Char_Table *) XPNTR(a))
#define XBOOL_VECTOR(a) ((struct Lisp_Bool_Vector *) XPNTR(a))
#define XSETINT(a,b) (a) = make_number (b)
#define XSETCONS(a,b) XSET (a, Lisp_Cons, b)
#define XSETVECTOR(a,b) XSET (a, Lisp_Vectorlike, b)
#define XSETSTRING(a,b) XSET (a, Lisp_String, b)
#define XSETSYMBOL(a,b) XSET (a, Lisp_Symbol, b)
#define XSETFLOAT(a,b) XSET (a, Lisp_Float, b)
#define XSETMISC(a,b) XSET (a, Lisp_Misc, b)
#define XSETMARKER(a,b) (XSETMISC (a, b), XMISCTYPE (a) = Lisp_Misc_Marker)
#define XSETPSEUDOVECTOR(a,b,code) (XSETVECTOR (a, b), XVECTOR (a)->size |= PSEUDOVECTOR_FLAG | (code))
#define XSETWINDOW_CONFIGURATION(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_WINDOW_CONFIGURATION))
#define XSETPROCESS(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_PROCESS))
#define XSETWINDOW(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_WINDOW))
#define XSETSUBR(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_SUBR))
#define XSETCOMPILED(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_COMPILED))
#define XSETBUFFER(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_BUFFER))
#define XSETCHAR_TABLE(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_CHAR_TABLE))
#define XSETBOOL_VECTOR(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_BOOL_VECTOR))
#define AREF(ARRAY,IDX) XVECTOR ((ARRAY))->contents[IDX]
#define ASET(ARRAY,IDX,VAL) (AREF ((ARRAY), (IDX)) = (VAL))
#define ASIZE(ARRAY) XVECTOR ((ARRAY))->size
#define SREF(string,index) (XSTRING (string)->data[index] + 0)
#define SSET(string,index,new) (XSTRING (string)->data[index] = (new))
#define SDATA(string) (XSTRING (string)->data + 0)
#define SCHARS(string) (XSTRING (string)->size + 0)
#define SBYTES(string) (STRING_BYTES (XSTRING (string)) + 0)
#define STRING_SET_CHARS(string,newsize) (XSTRING (string)->size = (newsize))
#define STRING_COPYIN(string,index,new,count) bcopy (new, XSTRING (string)->data + index, count)
#define CHECK_TYPE(ok,Qxxxp,x) do { if (!(ok)) wrong_type_argument (Qxxxp, (x)); } while (0)
typedef struct interval *INTERVAL;
#define CHECK_STRING_OR_BUFFER(x) CHECK_TYPE (STRINGP (x) || BUFFERP (x), Qbuffer_or_string_p, x)
struct Lisp_Cons
{
# 625 "lisp.h"
Lisp_Object car;
union
{
Lisp_Object cdr;
struct Lisp_Cons *chain;
} u;
};
# 645 "lisp.h"
#define XCAR_AS_LVALUE(c) (XCONS ((c))->car)
#define XCDR_AS_LVALUE(c) (XCONS ((c))->u.cdr)
#define XCAR(c) LISP_MAKE_RVALUE(XCAR_AS_LVALUE(c))
#define XCDR(c) LISP_MAKE_RVALUE(XCDR_AS_LVALUE(c))
#define XSETCAR(c,n) (XCAR_AS_LVALUE(c) = (n))
#define XSETCDR(c,n) (XCDR_AS_LVALUE(c) = (n))
#define XSETCARFASTINT(c,n) XSETFASTINT(XCAR_AS_LVALUE(c),(n))
#define XSETCDRFASTINT(c,n) XSETFASTINT(XCDR_AS_LVALUE(c),(n))
#define CAR(c) (CONSP ((c)) ? XCAR ((c)) : NILP ((c)) ? Qnil : wrong_type_argument (Qlistp, (c)))
#define CDR(c) (CONSP ((c)) ? XCDR ((c)) : NILP ((c)) ? Qnil : wrong_type_argument (Qlistp, (c)))
#define CAR_SAFE(c) (CONSP ((c)) ? XCAR ((c)) : Qnil)
#define CDR_SAFE(c) (CONSP ((c)) ? XCDR ((c)) : Qnil)
#define STRING_MULTIBYTE(STR) (XSTRING (STR)->size_byte >= 0)
# 699 "lisp.h"
#define STRING_BYTES(STR) ((STR)->size_byte < 0 ? (STR)->size : (STR)->size_byte)
#define STRING_SET_UNIBYTE(STR) (XSTRING (STR)->size_byte = -1)
#define STRING_INTERVALS(STR) (XSTRING (STR)->intervals + 0)
#define STRING_SET_INTERVALS(STR,INT) (XSTRING (STR)->intervals = (INT))
struct Lisp_String
{
long size;
long size_byte;
INTERVAL intervals;
unsigned char *data;
};
#define OFFSETOF(type,field) ((int)((char*)&((type*)0)->field - (char*)0))
struct Lisp_Vector
{
long size;
struct Lisp_Vector *next;
Lisp_Object contents[1];
};
#define VECSIZE(type) ((sizeof (type) - (sizeof (struct Lisp_Vector) - sizeof (Lisp_Object)) + sizeof(Lisp_Object) - 1) / sizeof (Lisp_Object))
#define PSEUDOVECSIZE(type,nonlispfield) ((OFFSETOF(type, nonlispfield) - OFFSETOF(struct Lisp_Vector, contents[0])) / sizeof (Lisp_Object))
# 767 "lisp.h"
#define CHAR_TABLE_ORDINARY_SLOTS 384
#define CHAR_TABLE_DEFAULT_SLOT_ASCII (0x9A + 128)
#define CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL (0x9E + 128)
#define CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC (0x80 + 128)
#define CHAR_TABLE_SINGLE_BYTE_SLOTS 256
#define CHAR_TABLE_STANDARD_SLOTS (CHAR_TABLE_ORDINARY_SLOTS + 4)
#define SUB_CHAR_TABLE_ORDINARY_SLOTS 128
#define SUB_CHAR_TABLE_STANDARD_SLOTS (SUB_CHAR_TABLE_ORDINARY_SLOTS + 2)
#define CHAR_TABLE_EXTRA_SLOTS(CT) (((CT)->size & PSEUDOVECTOR_SIZE_MASK) - CHAR_TABLE_STANDARD_SLOTS)
#define CHAR_TABLE_REF(CT,IDX) ((IDX) >= 0 && (IDX) < CHAR_TABLE_SINGLE_BYTE_SLOTS ? (!NILP (XCHAR_TABLE (CT)->contents[IDX]) ? XCHAR_TABLE (CT)->contents[IDX] : XCHAR_TABLE (CT)->defalt) : Faref (CT, make_number (IDX)))
# 816 "lisp.h"
#define CHAR_TABLE_TRANSLATE(CT,IDX) ((IDX) < CHAR_TABLE_SINGLE_BYTE_SLOTS ? (!NILP (XCHAR_TABLE (CT)->contents[IDX]) ? XINT (XCHAR_TABLE (CT)->contents[IDX]) : IDX) : char_table_translate (CT, IDX))
# 825 "lisp.h"
#define CHAR_TABLE_SET(CT,IDX,VAL) do { if (XFASTINT (IDX) < CHAR_TABLE_SINGLE_BYTE_SLOTS) XCHAR_TABLE (CT)->contents[XFASTINT (IDX)] = VAL; else Faset (CT, IDX, VAL); } while (0)
struct Lisp_Char_Table
{
long size;
struct Lisp_Vector *next;
Lisp_Object top;
Lisp_Object defalt;
Lisp_Object contents[384];
Lisp_Object parent;
Lisp_Object purpose;
Lisp_Object extras[1];
};
struct Lisp_Bool_Vector
{
long vector_size;
struct Lisp_Vector *next;
long size;
unsigned char data[1];
};
# 886 "lisp.h"
struct Lisp_Subr
{
long size;
Lisp_Object (*function) ();
short min_args, max_args;
char *symbol_name;
char *prompt;
char *doc;
};
# 903 "lisp.h"
enum symbol_interned
{
SYMBOL_UNINTERNED = 0,
SYMBOL_INTERNED = 1,
SYMBOL_INTERNED_IN_INITIAL_OBARRAY = 2
};
struct Lisp_Symbol
{
unsigned gcmarkbit : 1;
unsigned indirect_variable : 1;
unsigned constant : 1;
unsigned interned : 2;
Lisp_Object xname;
Lisp_Object value;
Lisp_Object function;
Lisp_Object plist;
struct Lisp_Symbol *next;
};
#define SYMBOL_NAME(sym) LISP_MAKE_RVALUE (XSYMBOL (sym)->xname)
#define SYMBOL_INTERNED_P(sym) (XSYMBOL (sym)->interned != SYMBOL_UNINTERNED)
#define SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P(sym) (XSYMBOL (sym)->interned == SYMBOL_INTERNED_IN_INITIAL_OBARRAY)
#define SYMBOL_CONSTANT_P(sym) XSYMBOL (sym)->constant
#define SYMBOL_VALUE(sym) (XSYMBOL (sym)->indirect_variable ? XSYMBOL (indirect_variable (sym))->value : XSYMBOL (sym)->value)
#define SET_SYMBOL_VALUE(sym,val) do { if (XSYMBOL (sym)->indirect_variable) XSYMBOL (indirect_variable ((sym)))->value = (val); else XSYMBOL (sym)->value = (val); } while (0)
# 996 "lisp.h"
struct Lisp_Hash_Table
{
long size;
struct Lisp_Vector *vec_next;
Lisp_Object test;
Lisp_Object weak;
Lisp_Object rehash_size;
Lisp_Object rehash_threshold;
Lisp_Object count;
Lisp_Object key_and_value;
Lisp_Object hash;
Lisp_Object next;
Lisp_Object next_free;
Lisp_Object index;
Lisp_Object next_weak;
Lisp_Object user_hash_function;
Lisp_Object user_cmp_function;
int (* cmpfn) (struct Lisp_Hash_Table *, Lisp_Object, unsigned, Lisp_Object, unsigned);
unsigned (* hashfn) (struct Lisp_Hash_Table *, Lisp_Object);
};
#define XHASH_TABLE(OBJ) ((struct Lisp_Hash_Table *) XPNTR (OBJ))
#define XSET_HASH_TABLE(VAR,PTR) (XSETPSEUDOVECTOR (VAR, PTR, PVEC_HASH_TABLE))
#define HASH_TABLE_P(OBJ) PSEUDOVECTORP (OBJ, PVEC_HASH_TABLE)
#define GC_HASH_TABLE_P(x) GC_PSEUDOVECTORP (x, PVEC_HASH_TABLE)
#define CHECK_HASH_TABLE(x) CHECK_TYPE (HASH_TABLE_P (x), Qhash_table_p, x)
#define HASH_KEY(H,IDX) AREF ((H)->key_and_value, 2 * (IDX))
#define HASH_VALUE(H,IDX) AREF ((H)->key_and_value, 2 * (IDX) + 1)
#define HASH_NEXT(H,IDX) AREF ((H)->next, (IDX))
#define HASH_HASH(H,IDX) AREF ((H)->hash, (IDX))
#define HASH_INDEX(H,IDX) AREF ((H)->index, (IDX))
#define HASH_TABLE_SIZE(H) XVECTOR ((H)->next)->size
#define DEFAULT_HASH_SIZE 65
#define DEFAULT_REHASH_THRESHOLD 0.8
#define DEFAULT_REHASH_SIZE 1.5
struct Lisp_Marker
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 14;
unsigned int insertion_type : 1;
struct buffer *buffer;
struct Lisp_Marker *next;
long charpos;
long bytepos;
};
struct Lisp_Intfwd
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
long *intvar;
};
struct Lisp_Boolfwd
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
int *boolvar;
};
struct Lisp_Objfwd
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
Lisp_Object *objvar;
};
struct Lisp_Buffer_Objfwd
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
int offset;
};
# 1212 "lisp.h"
struct Lisp_Buffer_Local_Value
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 12;
unsigned int check_frame : 1;
unsigned int found_for_buffer : 1;
unsigned int found_for_frame : 1;
Lisp_Object realvalue;
Lisp_Object buffer, frame;
# 1244 "lisp.h"
Lisp_Object cdr;
};
struct Lisp_Overlay
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
struct Lisp_Overlay *next;
Lisp_Object start, end, plist;
};
struct Lisp_Kboard_Objfwd
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
int offset;
};
struct Lisp_Save_Value
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 14;
unsigned int dogc : 1;
void *pointer;
int integer;
};
struct Lisp_Free
{
int type : 16;
unsigned gcmarkbit : 1;
int spacer : 15;
union Lisp_Misc *chain;
char padding[((((sizeof (struct Lisp_Marker) - 1) >> 3) + 1)
<< 3) - sizeof (struct Lisp_Intfwd)];
};
union Lisp_Misc
{
struct Lisp_Free u_free;
struct Lisp_Marker u_marker;
struct Lisp_Intfwd u_intfwd;
struct Lisp_Boolfwd u_boolfwd;
struct Lisp_Objfwd u_objfwd;
struct Lisp_Buffer_Objfwd u_buffer_objfwd;
struct Lisp_Buffer_Local_Value u_buffer_local_value;
struct Lisp_Overlay u_overlay;
struct Lisp_Kboard_Objfwd u_kboard_objfwd;
struct Lisp_Save_Value u_save_value;
};
struct Lisp_Float
{
union
{
double data;
struct Lisp_Float *chain;
} u;
};
#define XFLOAT_DATA(f) (XFLOAT (f)->u.data)
#define _UCHAR_T
typedef unsigned char UCHAR;
#define COMPILED_ARGLIST 0
#define COMPILED_BYTECODE 1
#define COMPILED_CONSTANTS 2
#define COMPILED_STACK_DEPTH 3
#define COMPILED_DOC_STRING 4
#define COMPILED_INTERACTIVE 5
#define CHAR_ALT (0x0400000)
#define CHAR_SUPER (0x0800000)
#define CHAR_HYPER (0x1000000)
#define CHAR_SHIFT (0x2000000)
#define CHAR_CTL (0x4000000)
#define CHAR_META (0x8000000)
#define CHAR_MODIFIER_MASK (CHAR_ALT | CHAR_SUPER | CHAR_HYPER | CHAR_SHIFT | CHAR_CTL | CHAR_META)
#define CHARACTERBITS 19
# 1379 "lisp.h"
#define KEY_DESCRIPTION_SIZE ((2 * 6) + 1 + (CHARACTERBITS / 3) + 1 + 1)
# 1422 "lisp.h"
#define GLYPH int
#define GLYPH_MASK_FACE 0x7FF80000
#define GLYPH_MASK_CHAR 0x0007FFFF
#define FAST_MAKE_GLYPH(char,face) ((char) | ((face) << CHARACTERBITS))
#define FAST_GLYPH_CHAR(glyph) ((glyph) & GLYPH_MASK_CHAR)
#define FAST_GLYPH_FACE(glyph) (((glyph) & GLYPH_MASK_FACE) >> CHARACTERBITS)
#define MAKE_GLYPH(f,char,face) (FAST_MAKE_GLYPH (char, face))
#define GLYPH_CHAR(f,g) (FAST_GLYPH_CHAR (g))
#define GLYPH_FACE(f,g) (FAST_GLYPH_FACE (g))
#define GLYPH_CHAR_VALID_P(glyph) CHAR_VALID_P (FAST_GLYPH_CHAR (glyph), 1)
#define GLYPH_MODE_LINE_FACE 1
#define NILP(x) EQ (x, Qnil)
#define GC_NILP(x) GC_EQ (x, Qnil)
#define NUMBERP(x) (INTEGERP (x) || FLOATP (x))
#define GC_NUMBERP(x) (GC_INTEGERP (x) || GC_FLOATP (x))
#define NATNUMP(x) (INTEGERP (x) && XINT (x) >= 0)
#define GC_NATNUMP(x) (GC_INTEGERP (x) && XINT (x) >= 0)
#define INTEGERP(x) (XTYPE ((x)) == Lisp_Int)
#define GC_INTEGERP(x) INTEGERP (x)
#define SYMBOLP(x) (XTYPE ((x)) == Lisp_Symbol)
#define GC_SYMBOLP(x) (XGCTYPE ((x)) == Lisp_Symbol)
#define MISCP(x) (XTYPE ((x)) == Lisp_Misc)
#define GC_MISCP(x) (XGCTYPE ((x)) == Lisp_Misc)
#define VECTORLIKEP(x) (XTYPE ((x)) == Lisp_Vectorlike)
#define GC_VECTORLIKEP(x) (XGCTYPE ((x)) == Lisp_Vectorlike)
#define STRINGP(x) (XTYPE ((x)) == Lisp_String)
#define GC_STRINGP(x) (XGCTYPE ((x)) == Lisp_String)
#define CONSP(x) (XTYPE ((x)) == Lisp_Cons)
#define GC_CONSP(x) (XGCTYPE ((x)) == Lisp_Cons)
#define FLOATP(x) (XTYPE ((x)) == Lisp_Float)
#define GC_FLOATP(x) (XGCTYPE ((x)) == Lisp_Float)
#define VECTORP(x) (VECTORLIKEP (x) && !(XVECTOR (x)->size & PSEUDOVECTOR_FLAG))
#define GC_VECTORP(x) (GC_VECTORLIKEP (x) && !(XVECTOR (x)->size & PSEUDOVECTOR_FLAG))
#define OVERLAYP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Overlay)
#define GC_OVERLAYP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Overlay)
#define MARKERP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Marker)
#define GC_MARKERP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Marker)
#define INTFWDP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Intfwd)
#define GC_INTFWDP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Intfwd)
#define BOOLFWDP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Boolfwd)
#define GC_BOOLFWDP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Boolfwd)
#define OBJFWDP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Objfwd)
#define GC_OBJFWDP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Objfwd)
#define BUFFER_OBJFWDP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Buffer_Objfwd)
#define GC_BUFFER_OBJFWDP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Buffer_Objfwd)
#define BUFFER_LOCAL_VALUEP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Buffer_Local_Value)
#define GC_BUFFER_LOCAL_VALUEP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Buffer_Local_Value)
#define SOME_BUFFER_LOCAL_VALUEP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Some_Buffer_Local_Value)
#define GC_SOME_BUFFER_LOCAL_VALUEP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Some_Buffer_Local_Value)
#define KBOARD_OBJFWDP(x) (MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Kboard_Objfwd)
#define GC_KBOARD_OBJFWDP(x) (GC_MISCP (x) && XMISCTYPE (x) == Lisp_Misc_Kboard_Objfwd)
#define PSEUDOVECTORP(x,code) (VECTORLIKEP (x) && (((XVECTOR (x)->size & (PSEUDOVECTOR_FLAG | (code)))) == (PSEUDOVECTOR_FLAG | (code))))
#define GC_PSEUDOVECTORP(x,code) (GC_VECTORLIKEP (x) && (((XVECTOR (x)->size & (PSEUDOVECTOR_FLAG | (code)))) == (PSEUDOVECTOR_FLAG | (code))))
#define WINDOW_CONFIGURATIONP(x) PSEUDOVECTORP (x, PVEC_WINDOW_CONFIGURATION)
#define GC_WINDOW_CONFIGURATIONP(x) GC_PSEUDOVECTORP (x, PVEC_WINDOW_CONFIGURATION)
#define PROCESSP(x) PSEUDOVECTORP (x, PVEC_PROCESS)
#define GC_PROCESSP(x) GC_PSEUDOVECTORP (x, PVEC_PROCESS)
#define WINDOWP(x) PSEUDOVECTORP (x, PVEC_WINDOW)
#define GC_WINDOWP(x) GC_PSEUDOVECTORP (x, PVEC_WINDOW)
#define SUBRP(x) PSEUDOVECTORP (x, PVEC_SUBR)
#define GC_SUBRP(x) GC_PSEUDOVECTORP (x, PVEC_SUBR)
#define COMPILEDP(x) PSEUDOVECTORP (x, PVEC_COMPILED)
#define GC_COMPILEDP(x) GC_PSEUDOVECTORP (x, PVEC_COMPILED)
#define BUFFERP(x) PSEUDOVECTORP (x, PVEC_BUFFER)
#define GC_BUFFERP(x) GC_PSEUDOVECTORP (x, PVEC_BUFFER)
#define CHAR_TABLE_P(x) PSEUDOVECTORP (x, PVEC_CHAR_TABLE)
#define GC_CHAR_TABLE_P(x) GC_PSEUDOVECTORP (x, PVEC_CHAR_TABLE)
#define BOOL_VECTOR_P(x) PSEUDOVECTORP (x, PVEC_BOOL_VECTOR)
#define GC_BOOL_VECTOR_P(x) GC_PSEUDOVECTORP (x, PVEC_BOOL_VECTOR)
#define FRAMEP(x) PSEUDOVECTORP (x, PVEC_FRAME)
#define GC_FRAMEP(x) GC_PSEUDOVECTORP (x, PVEC_FRAME)
#define SUB_CHAR_TABLE_P(x) (CHAR_TABLE_P (x) && NILP (XCHAR_TABLE (x)->top))
#define IMAGEP(x) (CONSP (x) && EQ (XCAR (x), Qimage))
#define ARRAYP(x) (VECTORP (x) || STRINGP (x) || CHAR_TABLE_P (x) || BOOL_VECTOR_P (x))
#define GC_EQ(x,y) EQ (x, y)
#define CHECK_LIST(x) CHECK_TYPE (CONSP (x) || NILP (x), Qlistp, x)
#define CHECK_LIST_CONS(x,y) CHECK_TYPE (CONSP (x), Qlistp, y)
#define CHECK_LIST_END(x,y) CHECK_TYPE (NILP (x), Qlistp, y)
#define CHECK_STRING(x) CHECK_TYPE (STRINGP (x), Qstringp, x)
#define CHECK_STRING_CAR(x) CHECK_TYPE (STRINGP (XCAR (x)), Qstringp, XCAR (x))
#define CHECK_CONS(x) CHECK_TYPE (CONSP (x), Qconsp, x)
#define CHECK_SYMBOL(x) CHECK_TYPE (SYMBOLP (x), Qsymbolp, x)
#define CHECK_CHAR_TABLE(x) CHECK_TYPE (CHAR_TABLE_P (x), Qchar_table_p, x)
#define CHECK_VECTOR(x) CHECK_TYPE (VECTORP (x), Qvectorp, x)
#define CHECK_VECTOR_OR_STRING(x) CHECK_TYPE (VECTORP (x) || STRINGP (x), Qarrayp, x)
#define CHECK_ARRAY(x,Qxxxp) CHECK_TYPE (ARRAYP (x), Qxxxp, x)
#define CHECK_VECTOR_OR_CHAR_TABLE(x) CHECK_TYPE (VECTORP (x) || CHAR_TABLE_P (x), Qvector_or_char_table_p, x)
#define CHECK_BUFFER(x) CHECK_TYPE (BUFFERP (x), Qbufferp, x)
#define CHECK_WINDOW(x) CHECK_TYPE (WINDOWP (x), Qwindowp, x)
#define CHECK_WINDOW_CONFIGURATION(x) CHECK_TYPE (WINDOW_CONFIGURATIONP (x), Qwindow_configuration_p, x)
# 1595 "lisp.h"
#define CHECK_LIVE_WINDOW(x) CHECK_TYPE (WINDOWP (x) && !NILP (XWINDOW (x)->buffer), Qwindow_live_p, x)
#define CHECK_PROCESS(x) CHECK_TYPE (PROCESSP (x), Qprocessp, x)
#define CHECK_SUBR(x) CHECK_TYPE (SUBRP (x), Qsubrp, x)
#define CHECK_NUMBER(x) CHECK_TYPE (INTEGERP (x), Qintegerp, x)
#define CHECK_NATNUM(x) CHECK_TYPE (NATNUMP (x), Qwholenump, x)
#define CHECK_MARKER(x) CHECK_TYPE (MARKERP (x), Qmarkerp, x)
#define CHECK_NUMBER_COERCE_MARKER(x) do { if (MARKERP ((x))) XSETFASTINT (x, marker_position (x)); else CHECK_TYPE (INTEGERP (x), Qinteger_or_marker_p, x); } while (0)
#define XFLOATINT(n) extract_float((n))
#define CHECK_FLOAT(x) CHECK_TYPE (FLOATP (x), Qfloatp, x)
#define CHECK_NUMBER_OR_FLOAT(x) CHECK_TYPE (FLOATP (x) || INTEGERP (x), Qnumberp, x)
#define CHECK_NUMBER_OR_FLOAT_COERCE_MARKER(x) do { if (MARKERP (x)) XSETFASTINT (x, marker_position (x)); else CHECK_TYPE (INTEGERP (x) || FLOATP (x), Qnumber_or_marker_p, x); } while (0)
#define CHECK_OVERLAY(x) CHECK_TYPE (OVERLAYP (x), Qoverlayp, x)
#define CHECK_NUMBER_CAR(x) do { Lisp_Object tmp = XCAR (x); CHECK_NUMBER (tmp); XSETCAR ((x), tmp); } while (0)
#define CHECK_NUMBER_CDR(x) do { Lisp_Object tmp = XCDR (x); CHECK_NUMBER (tmp); XSETCDR ((x), tmp); } while (0)
# 1650 "lisp.h"
#define PNTR_COMPARISON_TYPE EMACS_UINT
# 1689 "lisp.h"
#define DEFUN(lname,fnname,sname,minargs,maxargs,prompt,doc) Lisp_Object fnname DEFUN_ARGS_ ## maxargs ; DECL_ALIGN (struct Lisp_Subr, sname) = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (EMACS_INT)), fnname, minargs, maxargs, lname, prompt, 0}; Lisp_Object fnname
# 1698 "lisp.h"
#define DEFUN_ARGS_MANY (int, Lisp_Object *)
#define DEFUN_ARGS_UNEVALLED (Lisp_Object)
#define DEFUN_ARGS_0 (void)
#define DEFUN_ARGS_1 (Lisp_Object)
#define DEFUN_ARGS_2 (Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_3 (Lisp_Object, Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_4 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_5 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_6 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_7 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
#define DEFUN_ARGS_8 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)
#define FUNCTIONP(OBJ) ((CONSP (OBJ) && EQ (XCAR (OBJ), Qlambda)) || (SYMBOLP (OBJ) && !NILP (Ffboundp (OBJ))) || COMPILEDP (OBJ) || SUBRP (OBJ))
extern void defsubr (struct Lisp_Subr *);
#define MANY -2
#define UNEVALLED -1
extern void defvar_lisp (char *, Lisp_Object *);
extern void defvar_lisp_nopro (char *, Lisp_Object *);
extern void defvar_bool (char *, int *);
extern void defvar_int (char *, long *);
extern void defvar_per_buffer (char *, Lisp_Object *, Lisp_Object, char *);
extern void defvar_kboard (char *, int);
#define DEFVAR_LISP(lname,vname,doc) defvar_lisp (lname, vname)
#define DEFVAR_LISP_NOPRO(lname,vname,doc) defvar_lisp_nopro (lname, vname)
#define DEFVAR_BOOL(lname,vname,doc) defvar_bool (lname, vname)
#define DEFVAR_INT(lname,vname,doc) defvar_int (lname, vname)
#define DEFVAR_PER_BUFFER(lname,vname,type,doc) defvar_per_buffer (lname, vname, type, 0)
#define DEFVAR_KBOARD(lname,vname,doc) defvar_kboard (lname, (int)((char *)(¤t_kboard->vname) - (char *)current_kboard))
# 1782 "lisp.h"
typedef Lisp_Object (*specbinding_func) (Lisp_Object);
struct specbinding
{
Lisp_Object symbol, old_value;
specbinding_func func;
Lisp_Object unused;
};
extern struct specbinding *specpdl;
extern struct specbinding *specpdl_ptr;
extern int specpdl_size;
extern long max_specpdl_size;
#define SPECPDL_INDEX() (specpdl_ptr - specpdl)
struct handler
{
Lisp_Object handler;
Lisp_Object var;
Lisp_Object chosen_clause;
struct catchtag *tag;
struct handler *next;
};
extern struct handler *handlerlist;
extern struct catchtag *catchlist;
extern struct backtrace *backtrace_list;
extern Lisp_Object memory_signal_data;
extern char *stack_bottom;
# 1866 "lisp.h"
#define QUIT do { if (!NILP (Vquit_flag) && NILP (Vinhibit_quit)) { Lisp_Object flag = Vquit_flag; Vquit_flag = Qnil; if (EQ (Vthrow_on_input, flag)) Fthrow (Vthrow_on_input, Qt); Fsignal (Qquit, Qnil); } } while (0)
# 1883 "lisp.h"
#define QUITP (!NILP (Vquit_flag) && NILP (Vinhibit_quit))
extern int case_temp1;
extern Lisp_Object case_temp2;
#define DOWNCASE_TABLE current_buffer->downcase_table
#define UPCASE_TABLE current_buffer->upcase_table
#define DOWNCASE(CH) ((case_temp1 = (CH), case_temp2 = CHAR_TABLE_REF (DOWNCASE_TABLE, case_temp1), NATNUMP (case_temp2)) ? XFASTINT (case_temp2) : case_temp1)
#define UPPERCASEP(CH) (DOWNCASE (CH) != (CH))
#define NOCASEP(CH) (UPCASE1 (CH) == (CH))
#define LOWERCASEP(CH) (!UPPERCASEP (CH) && !NOCASEP(CH))
#define UPCASE(CH) (!UPPERCASEP (CH) ? UPCASE1 (CH) : (CH))
#define UPCASE1(CH) ((case_temp1 = (CH), case_temp2 = CHAR_TABLE_REF (UPCASE_TABLE, case_temp1), NATNUMP (case_temp2)) ? XFASTINT (case_temp2) : case_temp1)
extern Lisp_Object Vascii_downcase_table, Vascii_upcase_table;
extern Lisp_Object Vascii_canon_table, Vascii_eqv_table;
extern int consing_since_gc;
extern long gc_cons_threshold;
extern long gc_relative_threshold;
extern long memory_full_cons_threshold;
# 1957 "lisp.h"
extern struct gcpro *gcprolist;
struct gcpro
{
struct gcpro *next;
volatile Lisp_Object *var;
int nvars;
};
# 1984 "lisp.h"
#define GC_USE_GCPROS_AS_BEFORE 0
#define GC_MAKE_GCPROS_NOOPS 1
#define GC_MARK_STACK_CHECK_GCPROS 2
#define GC_USE_GCPROS_CHECK_ZOMBIES 3
# 1998 "lisp.h"
#define GCPRO1(varname) ((void) gcpro1)
#define GCPRO2(varname1,varname2) (((void) gcpro2, (void) gcpro1))
#define GCPRO3(varname1,varname2,varname3) (((void) gcpro3, (void) gcpro2, (void) gcpro1))
#define GCPRO4(varname1,varname2,varname3,varname4) (((void) gcpro4, (void) gcpro3, (void) gcpro2, (void) gcpro1))
#define GCPRO5(varname1,varname2,varname3,varname4,varname5) (((void) gcpro5, (void) gcpro4, (void) gcpro3, (void) gcpro2, (void) gcpro1))
#define GCPRO6(varname1,varname2,varname3,varname4,varname5,varname6) (((void) gcpro6, (void) gcpro5, (void) gcpro4, (void) gcpro3, (void) gcpro2, (void) gcpro1))
#define UNGCPRO ((void) 0)
# 2119 "lisp.h"
#define RETURN_UNGCPRO(expr) do { Lisp_Object ret_ungc_val; ret_ungc_val = (expr); UNGCPRO; return ret_ungc_val; } while (0)
# 2131 "lisp.h"
void staticpro (Lisp_Object *);
# 2142 "lisp.h"
#define EXFUN(fnname,maxargs) extern Lisp_Object fnname DEFUN_ARGS_ ## maxargs
struct window;
struct frame;
extern Lisp_Object Qnil, Qt, Qquote, Qlambda, Qsubr, Qunbound;
extern Lisp_Object Qerror_conditions, Qerror_message, Qtop_level;
extern Lisp_Object Qerror, Qquit, Qwrong_type_argument, Qargs_out_of_range;
extern Lisp_Object Qvoid_variable, Qvoid_function;
extern Lisp_Object Qsetting_constant, Qinvalid_read_syntax;
extern Lisp_Object Qinvalid_function, Qwrong_number_of_arguments, Qno_catch;
extern Lisp_Object Qend_of_file, Qarith_error, Qmark_inactive;
extern Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only;
extern Lisp_Object Qtext_read_only;
extern Lisp_Object Qintegerp, Qnatnump, Qwholenump, Qsymbolp, Qlistp, Qconsp;
extern Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp;
extern Lisp_Object Qchar_or_string_p, Qmarkerp, Qinteger_or_marker_p, Qvectorp;
extern Lisp_Object Qbuffer_or_string_p;
extern Lisp_Object Qboundp, Qfboundp;
extern Lisp_Object Qchar_table_p, Qvector_or_char_table_p;
extern Lisp_Object Qcdr;
extern Lisp_Object Qrange_error, Qdomain_error, Qsingularity_error;
extern Lisp_Object Qoverflow_error, Qunderflow_error;
extern Lisp_Object Qfloatp;
extern Lisp_Object Qnumberp, Qnumber_or_marker_p;
extern Lisp_Object Qinteger;
extern void circular_list_error (Lisp_Object) __attribute__ ((__noreturn__));
extern Lisp_Object Finteractive_form (Lisp_Object);
extern Lisp_Object Qframep;
extern Lisp_Object Feq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnull (Lisp_Object);
extern Lisp_Object Flistp (Lisp_Object);
extern Lisp_Object Fconsp (Lisp_Object);
extern Lisp_Object Fatom (Lisp_Object);
extern Lisp_Object Fnlistp (Lisp_Object);
extern Lisp_Object Fintegerp (Lisp_Object);
extern Lisp_Object Fnatnump (Lisp_Object);
extern Lisp_Object Fsymbolp (Lisp_Object);
extern Lisp_Object Fvectorp (Lisp_Object);
extern Lisp_Object Fstringp (Lisp_Object);
extern Lisp_Object Fmultibyte_string_p (Lisp_Object);
extern Lisp_Object Farrayp (Lisp_Object);
extern Lisp_Object Fsequencep (Lisp_Object);
extern Lisp_Object Fbufferp (Lisp_Object);
extern Lisp_Object Fmarkerp (Lisp_Object);
extern Lisp_Object Fsubrp (Lisp_Object);
extern Lisp_Object Fchar_or_string_p (Lisp_Object);
extern Lisp_Object Finteger_or_marker_p (Lisp_Object);
extern Lisp_Object Ffloatp (Lisp_Object);
extern Lisp_Object Finteger_or_floatp (Lisp_Object);
extern Lisp_Object Finteger_or_float_or_marker_p (Lisp_Object);
extern Lisp_Object Fcar (Lisp_Object);
extern Lisp_Object Fcar_safe (Lisp_Object);
extern Lisp_Object Fcdr (Lisp_Object);
extern Lisp_Object Fcdr_safe (Lisp_Object);
extern Lisp_Object Fsetcar (Lisp_Object, Lisp_Object);
extern Lisp_Object Fsetcdr (Lisp_Object, Lisp_Object);
extern Lisp_Object Fboundp (Lisp_Object);
extern Lisp_Object Ffboundp (Lisp_Object);
extern Lisp_Object Fmakunbound (Lisp_Object);
extern Lisp_Object Ffmakunbound (Lisp_Object);
extern Lisp_Object Fsymbol_function (Lisp_Object);
extern Lisp_Object Fsymbol_plist (Lisp_Object);
extern Lisp_Object Fsymbol_name (Lisp_Object);
extern Lisp_Object indirect_function (Lisp_Object);
extern Lisp_Object Findirect_function (Lisp_Object, Lisp_Object);
extern Lisp_Object Ffset (Lisp_Object, Lisp_Object);
extern Lisp_Object Fsetplist (Lisp_Object, Lisp_Object);
extern Lisp_Object Fsymbol_value (Lisp_Object);
extern Lisp_Object find_symbol_value (Lisp_Object);
extern Lisp_Object Fset (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdefault_value (Lisp_Object);
extern Lisp_Object Fset_default (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdefault_boundp (Lisp_Object);
extern Lisp_Object Fmake_local_variable (Lisp_Object);
extern Lisp_Object Flocal_variable_p (Lisp_Object, Lisp_Object);
extern Lisp_Object Flocal_variable_if_set_p (Lisp_Object, Lisp_Object);
extern Lisp_Object Faref (Lisp_Object, Lisp_Object);
extern Lisp_Object Faset (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fstring_to_number (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnumber_to_string (Lisp_Object);
extern Lisp_Object Feqlsign (Lisp_Object, Lisp_Object);
extern Lisp_Object Fgtr (Lisp_Object, Lisp_Object);
extern Lisp_Object Flss (Lisp_Object, Lisp_Object);
extern Lisp_Object Fgeq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fleq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fneq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fzerop (Lisp_Object);
extern Lisp_Object Fplus (int, Lisp_Object *);
extern Lisp_Object Fminus (int, Lisp_Object *);
extern Lisp_Object Ftimes (int, Lisp_Object *);
extern Lisp_Object Fquo (int, Lisp_Object *);
extern Lisp_Object Frem (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmax (int, Lisp_Object *);
extern Lisp_Object Fmin (int, Lisp_Object *);
extern Lisp_Object Flogand (int, Lisp_Object *);
extern Lisp_Object Flogior (int, Lisp_Object *);
extern Lisp_Object Flogxor (int, Lisp_Object *);
extern Lisp_Object Flognot (Lisp_Object);
extern Lisp_Object Flsh (Lisp_Object, Lisp_Object);
extern Lisp_Object Fash (Lisp_Object, Lisp_Object);
extern Lisp_Object Fadd1 (Lisp_Object);
extern Lisp_Object Fsub1 (Lisp_Object);
extern Lisp_Object Fmake_variable_buffer_local (Lisp_Object);
extern Lisp_Object indirect_variable (Lisp_Object);
extern Lisp_Object long_to_cons (unsigned long);
extern unsigned long cons_to_long (Lisp_Object);
extern void args_out_of_range (Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void args_out_of_range_3 (Lisp_Object, Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern Lisp_Object wrong_type_argument (Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void store_symval_forwarding (Lisp_Object, Lisp_Object, Lisp_Object, struct buffer *);
extern Lisp_Object do_symval_forwarding (Lisp_Object);
extern Lisp_Object set_internal (Lisp_Object, Lisp_Object, struct buffer *, int);
extern void syms_of_data (void);
extern void init_data (void);
extern void swap_in_global_binding (Lisp_Object);
extern Lisp_Object Fend_of_line (Lisp_Object);
extern Lisp_Object Fforward_char (Lisp_Object);
extern Lisp_Object Fforward_line (Lisp_Object);
extern int internal_self_insert (int, int);
extern void syms_of_cmds (void);
extern void keys_of_cmds (void);
extern Lisp_Object Fcoding_system_p (Lisp_Object);
extern Lisp_Object Fcheck_coding_system (Lisp_Object);
extern Lisp_Object Fread_coding_system (Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_non_nil_coding_system (Lisp_Object);
extern Lisp_Object Ffind_operation_coding_system (int, Lisp_Object *);
extern Lisp_Object Fupdate_coding_systems_internal (void);
extern Lisp_Object Fencode_coding_string (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fdecode_coding_string (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object detect_coding_system (const unsigned char *, int, int, int);
extern void init_coding (void);
extern void init_coding_once (void);
extern void syms_of_coding (void);
extern Lisp_Object code_convert_string_norecord (Lisp_Object, Lisp_Object, int);
extern long nonascii_insert_offset;
extern Lisp_Object Vnonascii_translation_table;
extern Lisp_Object Fchar_bytes (Lisp_Object);
extern Lisp_Object Fchar_width (Lisp_Object);
extern Lisp_Object Fstring (int, Lisp_Object *);
extern int chars_in_text (const unsigned char *, int);
extern int multibyte_chars_in_text (const unsigned char *, int);
extern int unibyte_char_to_multibyte (int);
extern int multibyte_char_to_unibyte (int, Lisp_Object);
extern Lisp_Object Qcharset;
extern void init_charset_once (void);
extern void syms_of_charset (void);
extern Lisp_Object Fforward_word (Lisp_Object);
extern Lisp_Object Fskip_chars_forward (Lisp_Object, Lisp_Object);
extern Lisp_Object Fskip_chars_backward (Lisp_Object, Lisp_Object);
extern Lisp_Object Fsyntax_table_p (Lisp_Object);
extern Lisp_Object Fsyntax_table (void);
extern Lisp_Object Fset_syntax_table (Lisp_Object);
extern void init_syntax_once (void);
extern void syms_of_syntax (void);
extern int use_dialog_box;
extern int next_almost_prime (int);
extern Lisp_Object larger_vector (Lisp_Object, int, Lisp_Object);
extern void sweep_weak_hash_tables (void);
extern Lisp_Object Qstring_lessp;
extern Lisp_Object Foptimize_char_table (Lisp_Object);
extern Lisp_Object Vfeatures;
extern Lisp_Object QCtest, QCweakness, Qequal;
unsigned sxhash (Lisp_Object, int);
Lisp_Object make_hash_table (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
Lisp_Object copy_hash_table (struct Lisp_Hash_Table *);
int hash_lookup (struct Lisp_Hash_Table *, Lisp_Object, unsigned *);
int hash_put (struct Lisp_Hash_Table *, Lisp_Object, Lisp_Object, unsigned);
void hash_remove (struct Lisp_Hash_Table *, Lisp_Object);
void hash_clear (struct Lisp_Hash_Table *);
void remove_hash_entry (struct Lisp_Hash_Table *, int);
extern void init_fns (void);
extern Lisp_Object Fsxhash (Lisp_Object);
extern Lisp_Object Fmake_hash_table (int, Lisp_Object *);
extern Lisp_Object Fcopy_hash_table (Lisp_Object);
extern Lisp_Object Fhash_table_count (Lisp_Object);
extern Lisp_Object Fhash_table_rehash_size (Lisp_Object);
extern Lisp_Object Fhash_table_rehash_threshold (Lisp_Object);
extern Lisp_Object Fhash_table_size (Lisp_Object);
extern Lisp_Object Fhash_table_test (Lisp_Object);
extern Lisp_Object Fhash_table_weak (Lisp_Object);
extern Lisp_Object Fhash_table_p (Lisp_Object);
extern Lisp_Object Fclrhash (Lisp_Object);
extern Lisp_Object Fgethash (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fputhash (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fremhash (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmaphash (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdefine_hash_table_test (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fidentity (Lisp_Object);
extern Lisp_Object Frandom (Lisp_Object);
extern Lisp_Object Flength (Lisp_Object);
extern Lisp_Object Fsafe_length (Lisp_Object);
extern Lisp_Object Fappend (int, Lisp_Object *);
extern Lisp_Object Fconcat (int, Lisp_Object *);
extern Lisp_Object Fvconcat (int, Lisp_Object *);
extern Lisp_Object Fcopy_sequence (Lisp_Object);
extern Lisp_Object Fstring_make_multibyte (Lisp_Object);
extern Lisp_Object Fstring_make_unibyte (Lisp_Object);
extern Lisp_Object Fstring_as_multibyte (Lisp_Object);
extern Lisp_Object Fstring_as_unibyte (Lisp_Object);
extern Lisp_Object Fstring_to_multibyte (Lisp_Object);
extern Lisp_Object Fsubstring (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object substring_both (Lisp_Object, int, int, int, int);
extern Lisp_Object Fnth (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnthcdr (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmemq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fassq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fassoc (Lisp_Object, Lisp_Object);
extern Lisp_Object Felt (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmember (Lisp_Object, Lisp_Object);
extern Lisp_Object Frassq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdelq (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdelete (Lisp_Object, Lisp_Object);
extern Lisp_Object Fsort (Lisp_Object, Lisp_Object);
extern Lisp_Object Freverse (Lisp_Object);
extern Lisp_Object Fnreverse (Lisp_Object);
extern Lisp_Object Fget (Lisp_Object, Lisp_Object);
extern Lisp_Object Fput (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fequal (Lisp_Object, Lisp_Object);
extern Lisp_Object Ffillarray (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnconc (int, Lisp_Object *);
extern Lisp_Object Fmapcar (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmapconcat (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fy_or_n_p (Lisp_Object);
extern Lisp_Object do_yes_or_no_p (Lisp_Object);
extern Lisp_Object Frequire (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fprovide (Lisp_Object, Lisp_Object);
extern Lisp_Object concat2 (Lisp_Object, Lisp_Object);
extern Lisp_Object concat3 (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object nconc2 (Lisp_Object, Lisp_Object);
extern Lisp_Object assq_no_quit (Lisp_Object, Lisp_Object);
extern void clear_string_char_byte_cache (void);
extern int string_char_to_byte (Lisp_Object, int);
extern int string_byte_to_char (Lisp_Object, int);
extern Lisp_Object string_make_multibyte (Lisp_Object);
extern Lisp_Object string_to_multibyte (Lisp_Object);
extern Lisp_Object string_make_unibyte (Lisp_Object);
extern Lisp_Object Fcopy_alist (Lisp_Object);
extern Lisp_Object Fplist_get (Lisp_Object, Lisp_Object);
extern Lisp_Object Fplist_put (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fplist_member (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_char_table_parent (Lisp_Object, Lisp_Object);
extern Lisp_Object Fchar_table_extra_slot (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_char_table_extra_slot (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Frassoc (Lisp_Object, Lisp_Object);
extern Lisp_Object Fstring_equal (Lisp_Object, Lisp_Object);
extern Lisp_Object Fcompare_strings (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fstring_lessp (Lisp_Object, Lisp_Object);
extern int char_table_translate (Lisp_Object, int);
extern void map_char_table (void (*) (Lisp_Object, Lisp_Object, Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, int, Lisp_Object *);
extern Lisp_Object char_table_ref_and_index (Lisp_Object, int, int *);
extern void syms_of_fns (void);
extern double extract_float (Lisp_Object);
extern Lisp_Object Ffloat (Lisp_Object);
extern Lisp_Object Ftruncate (Lisp_Object, Lisp_Object);
extern void init_floatfns (void);
extern void syms_of_floatfns (void);
extern void syms_of_fringe (void);
extern void init_fringe (void);
extern void init_fringe_once (void);
extern Lisp_Object Finit_image_library (Lisp_Object, Lisp_Object);
extern void syms_of_image (void);
extern void init_image (void);
extern Lisp_Object Qinhibit_modification_hooks;
extern void move_gap (int);
extern void move_gap_both (int, int);
extern void make_gap (int);
extern int copy_text (const unsigned char *, unsigned char *, int, int, int);
extern int count_size_as_multibyte (const unsigned char *, int);
extern int count_combining_before (const unsigned char *, int, int, int);
extern int count_combining_after (const unsigned char *, int, int, int);
extern void insert (const unsigned char *, int);
extern void insert_and_inherit (const unsigned char *, int);
extern void insert_1 (const unsigned char *, int, int, int, int);
extern void insert_1_both (const unsigned char *, int, int, int, int, int);
extern void insert_from_string (Lisp_Object, int, int, int, int, int);
extern void insert_from_buffer (struct buffer *, int, int, int);
extern void insert_char (int);
extern void insert_string (const char *);
extern void insert_before_markers (const unsigned char *, int);
extern void insert_before_markers_and_inherit (const unsigned char *, int);
extern void insert_from_string_before_markers (Lisp_Object, int, int, int, int, int);
extern void del_range (int, int);
extern Lisp_Object del_range_1 (int, int, int, int);
extern void del_range_byte (int, int, int);
extern void del_range_both (int, int, int, int, int);
extern Lisp_Object del_range_2 (int, int, int, int, int);
extern void modify_region (struct buffer *, int, int, int);
extern void prepare_to_modify_buffer (int, int, int *);
extern void signal_before_change (int, int, int *);
extern void signal_after_change (int, int, int);
extern void adjust_after_replace (int, int, Lisp_Object, int, int);
extern void adjust_after_replace_noundo (int, int, int, int, int, int);
extern void adjust_after_insert (int, int, int, int, int);
extern void replace_range (int, int, Lisp_Object, int, int, int);
extern void replace_range_2 (int, int, int, int, char *, int, int, int);
extern void syms_of_insdel (void);
extern Lisp_Object selected_frame;
extern long baud_rate;
extern Lisp_Object Fding (Lisp_Object);
extern Lisp_Object Fredraw_frame (Lisp_Object);
extern Lisp_Object Fredraw_display (void);
extern Lisp_Object Fsleep_for (Lisp_Object, Lisp_Object);
extern Lisp_Object Fredisplay (Lisp_Object);
extern Lisp_Object sit_for (Lisp_Object, int, int);
extern void init_display (void);
extern void syms_of_display (void);
extern void safe_bcopy (const char *, char *, int);
extern Lisp_Object Qinhibit_point_motion_hooks;
extern Lisp_Object Qinhibit_redisplay, Qdisplay;
extern Lisp_Object Qinhibit_eval_during_redisplay;
extern Lisp_Object Qmessage_truncate_lines;
extern Lisp_Object Qimage;
extern Lisp_Object Vmessage_log_max;
extern int message_enable_multibyte;
extern Lisp_Object echo_area_buffer[2];
extern void check_message_stack (void);
extern void setup_echo_area_for_printing (int);
extern int push_message (void);
extern Lisp_Object pop_message_unwind (Lisp_Object);
extern Lisp_Object restore_message_unwind (Lisp_Object);
extern void pop_message (void);
extern void restore_message (void);
extern Lisp_Object current_message (void);
extern void set_message (const char *s, Lisp_Object, int, int);
extern void clear_message (int, int);
extern void message ( );
extern void message_nolog ( );
extern void message1 (char *);
extern void message1_nolog (char *);
extern void message2 (const char *, int, int);
extern void message2_nolog (const char *, int, int);
extern void message3 (Lisp_Object, int, int);
extern void message3_nolog (Lisp_Object, int, int);
extern void message_dolog (const char *, int, int, int);
extern void message_with_string (char *, Lisp_Object, int);
extern void message_log_maybe_newline (void);
extern void update_echo_area (void);
extern void truncate_echo_area (int);
extern void redisplay (void);
extern int check_point_in_composition
(struct buffer *, int, struct buffer *, int);
extern void redisplay_preserve_echo_area (int);
extern void prepare_menu_bars (void);
void set_frame_cursor_types (struct frame *, Lisp_Object);
extern void syms_of_xdisp (void);
extern void init_xdisp (void);
extern Lisp_Object safe_eval (Lisp_Object);
extern int pos_visible_p (struct window *, int, int *, int *, int *, int *, int *, int *);
extern void memory_warnings (void *, void (*warnfun) ());
extern void check_pure_size (void);
extern void allocate_string_data (struct Lisp_String *, int, int);
extern void reset_malloc_hooks (void);
extern void uninterrupt_malloc (void);
extern void malloc_warning (char *);
extern void memory_full (void) __attribute__ ((__noreturn__));
extern void buffer_memory_full (void) __attribute__ ((__noreturn__));
extern int survives_gc_p (Lisp_Object);
extern void mark_object (Lisp_Object);
extern Lisp_Object Vpurify_flag;
extern Lisp_Object Vmemory_full;
extern Lisp_Object Fcons (Lisp_Object, Lisp_Object);
extern Lisp_Object list1 (Lisp_Object);
extern Lisp_Object list2 (Lisp_Object, Lisp_Object);
extern Lisp_Object list3 (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object list4 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object list5 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Flist (int, Lisp_Object *);
extern Lisp_Object Fmake_list (Lisp_Object, Lisp_Object);
extern Lisp_Object allocate_misc (void);
extern Lisp_Object Fmake_vector (Lisp_Object, Lisp_Object);
extern Lisp_Object Fvector (int, Lisp_Object *);
extern Lisp_Object Fmake_symbol (Lisp_Object);
extern Lisp_Object Fmake_marker (void);
extern Lisp_Object Fmake_string (Lisp_Object, Lisp_Object);
extern Lisp_Object build_string (const char *);
extern Lisp_Object make_string (const char *, int);
extern Lisp_Object make_unibyte_string (const char *, int);
extern Lisp_Object make_multibyte_string (const char *, int, int);
extern Lisp_Object make_event_array (int, Lisp_Object *);
extern Lisp_Object make_uninit_string (int);
extern Lisp_Object make_uninit_multibyte_string (int, int);
extern Lisp_Object make_string_from_bytes (const char *, int, int);
extern Lisp_Object make_specified_string (const char *, int, int, int);
extern Lisp_Object Fpurecopy (Lisp_Object);
extern Lisp_Object make_pure_string (char *, int, int, int);
extern Lisp_Object pure_cons (Lisp_Object, Lisp_Object);
extern Lisp_Object make_pure_vector (long);
extern Lisp_Object Fgarbage_collect (void);
extern Lisp_Object Fmake_byte_code (int, Lisp_Object *);
extern Lisp_Object Fmake_bool_vector (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmake_char_table (Lisp_Object, Lisp_Object);
extern Lisp_Object make_sub_char_table (Lisp_Object);
extern Lisp_Object Qchar_table_extra_slots;
extern struct Lisp_Vector *allocate_vector (long);
extern struct Lisp_Vector *allocate_other_vector (long);
extern struct Lisp_Hash_Table *allocate_hash_table (void);
extern struct window *allocate_window (void);
extern struct frame *allocate_frame (void);
extern struct Lisp_Process *allocate_process (void);
extern int gc_in_progress;
extern int abort_on_gc;
extern Lisp_Object make_float (double);
extern void display_malloc_warning (void);
extern int inhibit_garbage_collection (void);
extern Lisp_Object make_save_value (void *, int);
extern void free_misc (Lisp_Object);
extern void free_marker (Lisp_Object);
extern void free_cons (struct Lisp_Cons *);
extern void init_alloc_once (void);
extern void init_alloc (void);
extern void syms_of_alloc (void);
extern struct buffer * allocate_buffer (void);
extern int valid_lisp_object_p (Lisp_Object);
extern Lisp_Object Vprin1_to_string_buffer;
extern void debug_print (Lisp_Object);
extern Lisp_Object Fprin1 (Lisp_Object, Lisp_Object);
extern Lisp_Object Fprin1_to_string (Lisp_Object, Lisp_Object);
extern Lisp_Object Fprinc (Lisp_Object, Lisp_Object);
extern Lisp_Object Fterpri (Lisp_Object);
extern Lisp_Object Fprint (Lisp_Object, Lisp_Object);
extern Lisp_Object Ferror_message_string (Lisp_Object);
extern Lisp_Object Vstandard_output, Qstandard_output;
extern Lisp_Object Qexternal_debugging_output;
extern void temp_output_buffer_setup (const char *);
extern int print_level, print_escape_newlines;
extern Lisp_Object Qprint_escape_newlines;
extern void write_string (char *, int);
extern void write_string_1 (char *, int, Lisp_Object);
extern void print_error_message (Lisp_Object, Lisp_Object, char *, Lisp_Object);
extern Lisp_Object internal_with_output_to_temp_buffer
(const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object);
extern void float_to_string (unsigned char *, double);
extern void syms_of_print (void);
extern int doprnt (char *, int, char *, char *, int, char **);
extern int doprnt_lisp (char *, int, char *, char *, int, char **);
extern Lisp_Object Qvariable_documentation, Qstandard_input;
extern Lisp_Object Vobarray, initial_obarray, Vstandard_input;
extern Lisp_Object Fread (Lisp_Object);
extern Lisp_Object Fread_from_string (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fintern (Lisp_Object, Lisp_Object);
extern Lisp_Object Fintern_soft (Lisp_Object, Lisp_Object);
extern Lisp_Object Fload (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fget_load_suffixes (void);
extern Lisp_Object Fget_file_char (void);
extern Lisp_Object Fread_char (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_event (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object read_filtered_event (int, int, int, int, Lisp_Object);
extern Lisp_Object Feval_region (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object check_obarray (Lisp_Object);
extern Lisp_Object intern (const char *);
extern Lisp_Object make_symbol (char *);
extern Lisp_Object oblookup (Lisp_Object, const char *, int, int);
#define LOADHIST_ATTACH(x) if (initialized) Vcurrent_load_list = Fcons (x, Vcurrent_load_list)
extern Lisp_Object Vcurrent_load_list;
extern Lisp_Object Vload_history, Vload_suffixes, Vload_file_rep_suffixes;
extern int openp (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object *, Lisp_Object);
extern int isfloat_string (char *);
extern void map_obarray (Lisp_Object, void (*) (Lisp_Object, Lisp_Object), Lisp_Object);
extern void dir_warning (char *, Lisp_Object);
extern void close_load_descs (void);
extern void init_obarray (void);
extern void init_lread (void);
extern void syms_of_lread (void);
extern Lisp_Object Qautoload, Qexit, Qinteractive, Qcommandp, Qdefun, Qmacro;
extern Lisp_Object Vinhibit_quit, Qinhibit_quit, Vquit_flag;
extern Lisp_Object Vautoload_queue;
extern Lisp_Object Vdebug_on_error;
extern Lisp_Object Vsignaling_function;
extern int handling_signal;
extern int interactive_p (int);
# 2688 "lisp.h"
extern Lisp_Object Vrun_hooks;
extern Lisp_Object Frun_hooks (int, Lisp_Object *);
extern Lisp_Object Frun_hook_with_args (int, Lisp_Object *);
extern Lisp_Object Frun_hook_with_args_until_success (int, Lisp_Object *);
extern Lisp_Object Frun_hook_with_args_until_failure (int, Lisp_Object *);
extern Lisp_Object run_hook_list_with_args (Lisp_Object, int, Lisp_Object *);
extern void run_hook_with_args_2 (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fand (Lisp_Object);
extern Lisp_Object For (Lisp_Object);
extern Lisp_Object Fif (Lisp_Object);
extern Lisp_Object Fprogn (Lisp_Object);
extern Lisp_Object Fprog1 (Lisp_Object);
extern Lisp_Object Fprog2 (Lisp_Object);
extern Lisp_Object Fsetq (Lisp_Object);
extern Lisp_Object Fquote (Lisp_Object);
extern Lisp_Object Fuser_variable_p (Lisp_Object);
extern Lisp_Object Finteractive_p (void);
extern Lisp_Object Fdefun (Lisp_Object);
extern Lisp_Object Flet (Lisp_Object);
extern Lisp_Object FletX (Lisp_Object);
extern Lisp_Object Fwhile (Lisp_Object);
extern Lisp_Object Fcatch (Lisp_Object);
extern Lisp_Object Fthrow (Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern Lisp_Object Funwind_protect (Lisp_Object);
extern Lisp_Object Fcondition_case (Lisp_Object);
extern Lisp_Object Fsignal (Lisp_Object, Lisp_Object);
extern void xsignal (Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void xsignal0 (Lisp_Object) __attribute__ ((__noreturn__));
extern void xsignal1 (Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void xsignal2 (Lisp_Object, Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void xsignal3 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object) __attribute__ ((__noreturn__));
extern void signal_error (char *, Lisp_Object) __attribute__ ((__noreturn__));
extern Lisp_Object Fautoload (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fcommandp (Lisp_Object, Lisp_Object);
extern Lisp_Object Feval (Lisp_Object);
extern Lisp_Object Fapply (int, Lisp_Object *);
extern Lisp_Object Ffuncall (int, Lisp_Object *);
extern Lisp_Object Fbacktrace (void);
extern Lisp_Object apply1 (Lisp_Object, Lisp_Object);
extern Lisp_Object call0 (Lisp_Object);
extern Lisp_Object call1 (Lisp_Object, Lisp_Object);
extern Lisp_Object call2 (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object call3 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object call4 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object call5 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object call6 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fdo_auto_save (Lisp_Object, Lisp_Object);
extern Lisp_Object apply_lambda (Lisp_Object, Lisp_Object, int);
extern Lisp_Object internal_catch (Lisp_Object, Lisp_Object (*) (Lisp_Object), Lisp_Object);
extern Lisp_Object internal_lisp_condition_case (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object internal_condition_case (Lisp_Object (*) (void), Lisp_Object, Lisp_Object (*) (Lisp_Object));
extern Lisp_Object internal_condition_case_1 (Lisp_Object (*) (Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object (*) (Lisp_Object));
extern Lisp_Object internal_condition_case_2 (Lisp_Object (*) (int, Lisp_Object *), int, Lisp_Object *, Lisp_Object, Lisp_Object (*) (Lisp_Object));
extern void specbind (Lisp_Object, Lisp_Object);
extern void record_unwind_protect (Lisp_Object (*) (Lisp_Object), Lisp_Object);
extern Lisp_Object unbind_to (int, Lisp_Object);
extern void error ( ) __attribute__ ((__noreturn__));
extern void do_autoload (Lisp_Object, Lisp_Object);
extern Lisp_Object un_autoload (Lisp_Object);
extern Lisp_Object Ffetch_bytecode (Lisp_Object);
extern void init_eval_once (void);
extern Lisp_Object safe_call (int, Lisp_Object *);
extern Lisp_Object safe_call1 (Lisp_Object, Lisp_Object);
extern void init_eval (void);
extern void syms_of_eval (void);
extern Lisp_Object Fpropertize (int, Lisp_Object *);
extern Lisp_Object Fcurrent_message (void);
extern Lisp_Object Fgoto_char (Lisp_Object);
extern Lisp_Object Fpoint_min_marker (void);
extern Lisp_Object Fpoint_max_marker (void);
extern Lisp_Object Fpoint_min (void);
extern Lisp_Object Fpoint_max (void);
extern Lisp_Object Fpoint (void);
extern Lisp_Object Fpoint_marker (void);
extern Lisp_Object Fmark_marker (void);
extern Lisp_Object Fline_beginning_position (Lisp_Object);
extern Lisp_Object Fline_end_position (Lisp_Object);
extern Lisp_Object Ffollowing_char (void);
extern Lisp_Object Fprevious_char (void);
extern Lisp_Object Fchar_after (Lisp_Object);
extern Lisp_Object Finsert (int, Lisp_Object *);
extern Lisp_Object Finsert_and_inherit (int, Lisp_Object *);
extern Lisp_Object Finsert_before_markers (int, Lisp_Object *);
extern Lisp_Object Finsert_buffer_substring (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Finsert_char (Lisp_Object, Lisp_Object, Lisp_Object);
extern void insert1 (Lisp_Object);
extern Lisp_Object Feolp (void);
extern Lisp_Object Feobp (void);
extern Lisp_Object Fbolp (void);
extern Lisp_Object Fbobp (void);
extern Lisp_Object Fformat (int, Lisp_Object *);
extern Lisp_Object Fmessage (int, Lisp_Object *);
extern Lisp_Object format2 (char *, Lisp_Object, Lisp_Object);
extern Lisp_Object Fbuffer_substring (Lisp_Object, Lisp_Object);
extern Lisp_Object Fbuffer_string (void);
extern Lisp_Object save_excursion_save (void);
extern Lisp_Object save_restriction_save (void);
extern Lisp_Object save_excursion_restore (Lisp_Object);
extern Lisp_Object save_restriction_restore (Lisp_Object);
extern Lisp_Object Fchar_to_string (Lisp_Object);
extern Lisp_Object Fdelete_region (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnarrow_to_region (Lisp_Object, Lisp_Object);
extern Lisp_Object Fwiden (void);
extern Lisp_Object Fuser_login_name (Lisp_Object);
extern Lisp_Object Fsystem_name (void);
extern Lisp_Object Fcurrent_time (void);
extern int clip_to_bounds (int, int, int);
extern Lisp_Object make_buffer_string (int, int, int);
extern Lisp_Object make_buffer_string_both (int, int, int, int, int);
extern void init_editfns (void);
extern void syms_of_editfns (void);
extern Lisp_Object Vinhibit_field_text_motion;
extern Lisp_Object Fconstrain_to_field (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Ffield_string (Lisp_Object);
extern Lisp_Object Fdelete_field (Lisp_Object);
extern Lisp_Object Ffield_beginning (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Ffield_end (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Ffield_string_no_properties (Lisp_Object);
extern void set_time_zone_rule (char *);
extern int mouse_face_overlay_overlaps (Lisp_Object);
extern void nsberror (Lisp_Object) __attribute__ ((__noreturn__));
extern char *no_switch_window (Lisp_Object window);
extern Lisp_Object Fset_buffer_multibyte (Lisp_Object);
extern Lisp_Object Foverlay_start (Lisp_Object);
extern Lisp_Object Foverlay_end (Lisp_Object);
extern void adjust_overlays_for_insert (long, long);
extern void adjust_overlays_for_delete (long, long);
extern void fix_start_end_in_overlays (int, int);
extern void report_overlay_modification (Lisp_Object, Lisp_Object, int, Lisp_Object, Lisp_Object, Lisp_Object);
extern int overlay_touches_p (int);
extern Lisp_Object Vbuffer_alist, Vinhibit_read_only;
extern Lisp_Object Fget_buffer (Lisp_Object);
extern Lisp_Object Fget_buffer_create (Lisp_Object);
extern Lisp_Object Fset_buffer (Lisp_Object);
extern Lisp_Object set_buffer_if_live (Lisp_Object);
extern Lisp_Object Fbarf_if_buffer_read_only (void);
extern Lisp_Object Fcurrent_buffer (void);
extern Lisp_Object Fswitch_to_buffer (Lisp_Object, Lisp_Object);
extern Lisp_Object Fpop_to_buffer (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fother_buffer (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Foverlay_get (Lisp_Object, Lisp_Object);
extern Lisp_Object Fbuffer_modified_p (Lisp_Object);
extern Lisp_Object Fset_buffer_modified_p (Lisp_Object);
extern Lisp_Object Fkill_buffer (Lisp_Object);
extern Lisp_Object Fkill_all_local_variables (void);
extern Lisp_Object Fbuffer_disable_undo (Lisp_Object);
extern Lisp_Object Fbuffer_enable_undo (Lisp_Object);
extern Lisp_Object Ferase_buffer (void);
extern Lisp_Object Qoverlayp;
extern Lisp_Object Qevaporate;
extern Lisp_Object get_truename_buffer (Lisp_Object);
extern struct buffer *all_buffers;
extern Lisp_Object Fprevious_overlay_change (Lisp_Object);
extern Lisp_Object Fbuffer_file_name (Lisp_Object);
extern void init_buffer_once (void);
extern void init_buffer (void);
extern void syms_of_buffer (void);
extern void keys_of_buffer (void);
extern Lisp_Object Fmarker_position (Lisp_Object);
extern Lisp_Object Fmarker_buffer (Lisp_Object);
extern Lisp_Object Fcopy_marker (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_marker (Lisp_Object, Lisp_Object, Lisp_Object);
extern int marker_position (Lisp_Object);
extern int marker_byte_position (Lisp_Object);
extern void clear_charpos_cache (struct buffer *);
extern int charpos_to_bytepos (int);
extern int buf_charpos_to_bytepos (struct buffer *, int);
extern int buf_bytepos_to_charpos (struct buffer *, int);
extern void unchain_marker (struct Lisp_Marker *marker);
extern Lisp_Object set_marker_restricted (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object set_marker_both (Lisp_Object, Lisp_Object, int, int);
extern Lisp_Object set_marker_restricted_both (Lisp_Object, Lisp_Object, int, int);
extern void syms_of_marker (void);
extern Lisp_Object Qfile_error;
extern Lisp_Object Ffind_file_name_handler (Lisp_Object, Lisp_Object);
extern Lisp_Object Ffile_name_as_directory (Lisp_Object);
extern Lisp_Object Fmake_temp_name (Lisp_Object);
extern Lisp_Object Fexpand_file_name (Lisp_Object, Lisp_Object);
extern Lisp_Object Ffile_name_nondirectory (Lisp_Object);
extern Lisp_Object Fsubstitute_in_file_name (Lisp_Object);
extern Lisp_Object Ffile_symlink_p (Lisp_Object);
extern Lisp_Object Fverify_visited_file_modtime (Lisp_Object);
extern Lisp_Object Ffile_exists_p (Lisp_Object);
extern Lisp_Object Ffile_name_absolute_p (Lisp_Object);
extern Lisp_Object Fdirectory_file_name (Lisp_Object);
extern Lisp_Object Ffile_name_directory (Lisp_Object);
extern Lisp_Object expand_and_dir_to_file (Lisp_Object, Lisp_Object);
extern Lisp_Object Ffile_accessible_directory_p (Lisp_Object);
extern Lisp_Object Funhandled_file_name_directory (Lisp_Object);
extern Lisp_Object Ffile_directory_p (Lisp_Object);
extern Lisp_Object Fwrite_region (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Ffile_readable_p (Lisp_Object);
extern Lisp_Object Ffile_executable_p (Lisp_Object);
extern Lisp_Object Fread_file_name (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object close_file_unwind (Lisp_Object);
extern void report_file_error (const char *, Lisp_Object) __attribute__ ((__noreturn__));
extern int internal_delete_file (Lisp_Object);
extern void syms_of_fileio (void);
extern void init_fileio_once (void);
extern Lisp_Object make_temp_name (Lisp_Object, int);
extern Lisp_Object Fmake_symbolic_link (Lisp_Object, Lisp_Object, Lisp_Object);
extern void syms_of_abbrev (void);
extern void shrink_regexp_cache (void);
extern Lisp_Object Fstring_match (Lisp_Object, Lisp_Object, Lisp_Object);
extern void restore_search_regs (void);
extern Lisp_Object Fmatch_data (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_match_data (Lisp_Object, Lisp_Object);
extern Lisp_Object Fmatch_beginning (Lisp_Object);
extern Lisp_Object Fmatch_end (Lisp_Object);
extern void record_unwind_save_match_data (void);
extern Lisp_Object Flooking_at (Lisp_Object);
extern int fast_string_match (Lisp_Object, Lisp_Object);
extern int fast_c_string_match_ignore_case (Lisp_Object, const char *);
extern int fast_string_match_ignore_case (Lisp_Object, Lisp_Object);
extern int scan_buffer (int, int, int, int, int *, int);
extern int scan_newline (int, int, int, int, int, int);
extern int find_next_newline (int, int);
extern int find_next_newline_no_quit (int, int);
extern int find_before_next_newline (int, int, int);
extern void syms_of_search (void);
extern void clear_regexp_cache (void);
extern Lisp_Object last_minibuf_string;
extern void choose_minibuf_frame (void);
extern Lisp_Object Fcompleting_read (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_from_minibuffer (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_variable (Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_buffer (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_minibuffer (Lisp_Object, Lisp_Object);
extern Lisp_Object Feval_minibuffer (Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_string (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fread_no_blanks_input (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object get_minibuffer (int);
extern void temp_echo_area_glyphs (Lisp_Object);
extern void init_minibuf_once (void);
extern void syms_of_minibuf (void);
extern void keys_of_minibuf (void);
extern Lisp_Object Qminus, Qplus, Vcurrent_prefix_arg;
extern Lisp_Object Vcommand_history;
extern Lisp_Object Qcall_interactively, Qmouse_leave_buffer_hook;
extern Lisp_Object Fcall_interactively (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fprefix_numeric_value (Lisp_Object);
extern void syms_of_callint (void);
extern Lisp_Object Fdowncase (Lisp_Object);
extern Lisp_Object Fupcase (Lisp_Object);
extern Lisp_Object Fcapitalize (Lisp_Object);
extern Lisp_Object Fupcase_region (Lisp_Object, Lisp_Object);
extern Lisp_Object Fupcase_initials (Lisp_Object);
extern Lisp_Object Fupcase_initials_region (Lisp_Object, Lisp_Object);
extern void syms_of_casefiddle (void);
extern void keys_of_casefiddle (void);
extern Lisp_Object Fset_case_table (Lisp_Object);
extern Lisp_Object Fset_standard_case_table (Lisp_Object);
extern void init_casetab_once (void);
extern void syms_of_casetab (void);
extern int echoing;
extern Lisp_Object echo_message_buffer;
extern struct kboard *echo_kboard;
extern void cancel_echoing (void);
extern Lisp_Object Qdisabled, QCfilter;
extern Lisp_Object Vtty_erase_char, Vhelp_form, Vtop_level;
extern Lisp_Object Vthrow_on_input;
extern int input_pending;
extern Lisp_Object Fdiscard_input (void);
extern Lisp_Object Frecursive_edit (void);
extern Lisp_Object Ftop_level (void);
extern Lisp_Object Fcommand_execute (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Finput_pending_p (void);
extern Lisp_Object menu_bar_items (Lisp_Object);
extern Lisp_Object tool_bar_items (Lisp_Object, int *);
extern Lisp_Object Qvertical_scroll_bar;
extern void discard_mouse_events (void);
extern Lisp_Object Fevent_convert_list (Lisp_Object);
extern Lisp_Object Fread_key_sequence (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_input_mode (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern int detect_input_pending (void);
extern int detect_input_pending_ignore_squeezables (void);
extern int detect_input_pending_run_timers (int);
extern void safe_run_hooks (Lisp_Object);
extern void cmd_error_internal (Lisp_Object, char *);
extern Lisp_Object command_loop_1 (void);
extern Lisp_Object recursive_edit_1 (void);
extern void record_auto_save (void);
extern void init_keyboard (void);
extern void syms_of_keyboard (void);
extern void keys_of_keyboard (void);
extern char *push_key_description (unsigned int, char *, int);
extern Lisp_Object Fvertical_motion (Lisp_Object, Lisp_Object);
extern Lisp_Object Findent_to (Lisp_Object, Lisp_Object);
extern Lisp_Object Fcurrent_column (void);
extern Lisp_Object Fmove_to_column (Lisp_Object, Lisp_Object);
extern double current_column (void);
extern void invalidate_current_column (void);
extern int indented_beyond_p (int, int, double);
extern void syms_of_indent (void);
extern Lisp_Object Vx_resource_name;
extern Lisp_Object Vx_resource_class;
extern Lisp_Object Qvisible;
extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object);
extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object);
extern Lisp_Object do_switch_frame (Lisp_Object, int, int);
extern Lisp_Object get_frame_param (struct frame *, Lisp_Object);
extern Lisp_Object frame_buffer_predicate (Lisp_Object);
extern Lisp_Object Fframep (Lisp_Object);
extern Lisp_Object Fselect_frame (Lisp_Object);
extern Lisp_Object Fselected_frame (void);
extern Lisp_Object Fwindow_frame (Lisp_Object);
extern Lisp_Object Fframe_root_window (Lisp_Object);
extern Lisp_Object Fframe_first_window (Lisp_Object);
extern Lisp_Object Fframe_selected_window (Lisp_Object);
extern Lisp_Object Fframe_list (void);
extern Lisp_Object Fnext_frame (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdelete_frame (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_mouse_position (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fmake_frame_visible (Lisp_Object);
extern Lisp_Object Fmake_frame_invisible (Lisp_Object, Lisp_Object);
extern Lisp_Object Ficonify_frame (Lisp_Object);
extern Lisp_Object Fframe_visible_p (Lisp_Object);
extern Lisp_Object Fvisible_frame_list (void);
extern Lisp_Object Fframe_parameter (Lisp_Object, Lisp_Object);
extern Lisp_Object Fframe_parameters (Lisp_Object);
extern Lisp_Object Fmodify_frame_parameters (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_frame_height (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_frame_width (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_frame_size (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_frame_position (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fraise_frame (Lisp_Object);
extern Lisp_Object Fredirect_frame_focus (Lisp_Object, Lisp_Object);
extern Lisp_Object Fset_frame_selected_window (Lisp_Object, Lisp_Object);
extern Lisp_Object frame_buffer_list (Lisp_Object);
extern void frames_discard_buffer (Lisp_Object);
extern void set_frame_buffer_list (Lisp_Object, Lisp_Object);
extern void frames_bury_buffer (Lisp_Object);
extern void syms_of_frame (void);
extern Lisp_Object decode_env_path (char *, char *);
extern Lisp_Object Vinvocation_name, Vinvocation_directory;
extern Lisp_Object Vinstallation_directory, empty_string;
extern Lisp_Object Fkill_emacs (Lisp_Object);
void fixup_locale (void);
void synchronize_system_messages_locale (void);
void synchronize_system_time_locale (void);
void shut_down_emacs (int, int, Lisp_Object);
extern int noninteractive;
extern int inhibit_window_system;
extern int running_asynch_code;
extern Lisp_Object Fget_process (Lisp_Object);
extern Lisp_Object Fget_buffer_process (Lisp_Object);
extern Lisp_Object Fprocessp (Lisp_Object);
extern Lisp_Object Fprocess_status (Lisp_Object);
extern Lisp_Object Fkill_process (Lisp_Object, Lisp_Object);
extern Lisp_Object Fprocess_send_eof (Lisp_Object);
extern Lisp_Object Fwaiting_for_user_input_p (void);
extern Lisp_Object Qprocessp;
extern void kill_buffer_processes (Lisp_Object);
extern int wait_reading_process_output (int, int, int, int, Lisp_Object, struct Lisp_Process *, int);
extern void add_keyboard_wait_descriptor (int);
extern void delete_keyboard_wait_descriptor (int);
extern void close_process_descs (void);
extern void emacs_init_process (void);
extern void syms_of_process (void);
extern void setup_process_coding_systems (Lisp_Object);
extern Lisp_Object Vexec_path, Vexec_suffixes,
Vexec_directory, Vdata_directory;
extern Lisp_Object Vdoc_directory;
extern Lisp_Object Fcall_process (int, Lisp_Object *);
extern int child_setup (int, int, int, char **, int, Lisp_Object);
extern void init_callproc_1 (void);
extern void init_callproc (void);
extern void set_process_environment (void);
extern void syms_of_callproc (void);
extern Lisp_Object Vdoc_file_name;
extern Lisp_Object Fsubstitute_command_keys (Lisp_Object);
extern Lisp_Object Fdocumentation (Lisp_Object, Lisp_Object);
extern Lisp_Object Fdocumentation_property (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object read_doc_string (Lisp_Object);
extern Lisp_Object get_doc_string (Lisp_Object, int, int);
extern void syms_of_doc (void);
extern int read_bytecode_char (int);
extern Lisp_Object Qbytecode;
extern Lisp_Object Fbyte_code (Lisp_Object, Lisp_Object, Lisp_Object);
extern void syms_of_bytecode (void);
extern struct byte_stack *byte_stack_list;
extern void mark_byte_stack (void);
extern void unmark_byte_stack (void);
extern Lisp_Object Qexecute_kbd_macro;
extern Lisp_Object Fexecute_kbd_macro (Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fcancel_kbd_macro_events (void);
extern void init_macros (void);
extern void syms_of_macros (void);
extern Lisp_Object Qinhibit_read_only;
extern Lisp_Object Fundo_boundary (void);
extern void truncate_undo_list (struct buffer *);
extern void record_marker_adjustment (Lisp_Object, int);
extern void record_insert (int, int);
extern void record_delete (int, Lisp_Object);
extern void record_first_change (void);
extern void record_change (int, int);
extern void record_property_change (int, int, Lisp_Object, Lisp_Object, Lisp_Object);
extern void syms_of_undo (void);
extern Lisp_Object Vundo_outer_limit;
extern Lisp_Object Qfont, Qmouse_face;
extern Lisp_Object Qinsert_in_front_hooks, Qinsert_behind_hooks;
extern Lisp_Object Fnext_single_property_change (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fnext_single_char_property_change (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fprevious_single_property_change (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fput_text_property (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fprevious_char_property_change (Lisp_Object, Lisp_Object);
extern Lisp_Object Fnext_char_property_change (Lisp_Object, Lisp_Object);
extern void report_interval_modification (Lisp_Object, Lisp_Object);
extern Lisp_Object next_single_char_property_change (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fx_popup_menu (Lisp_Object, Lisp_Object);
extern Lisp_Object Fx_popup_dialog (Lisp_Object, Lisp_Object, Lisp_Object);
extern void syms_of_xmenu (void);
extern char *get_current_dir_name (void);
extern void stuff_char (char c);
extern void init_sigio (int);
extern void request_sigio (void);
extern void unrequest_sigio (void);
extern void reset_sys_modes (void);
extern void sys_subshell (void);
extern void sys_suspend (void);
extern void discard_tty_input (void);
extern void init_sys_modes (void);
extern void get_frame_size (int *, int *);
extern void wait_for_termination (int);
extern void flush_pending_output (int);
extern void child_setup_tty (int);
extern void setup_pty (int);
extern int set_window_size (int, int, int);
extern void create_process (Lisp_Object, char **, Lisp_Object);
extern int tabs_safe_p (void);
extern void init_baud_rate (void);
extern int emacs_open (const char *, int, int);
extern int emacs_close (int);
extern int emacs_read (int, char *, unsigned int);
extern int emacs_write (int, const char *, unsigned int);
extern Lisp_Object Funlock_buffer (void);
extern Lisp_Object Ffile_locked_p (Lisp_Object);
extern void unlock_all_files (void);
extern void lock_file (Lisp_Object);
extern void unlock_file (Lisp_Object);
extern void unlock_buffer (struct buffer *);
extern void syms_of_filelock (void);
extern void init_filelock (void);
extern void syms_of_sound (void);
extern void init_sound (void);
extern void init_category_once (void);
extern void syms_of_category (void);
extern void syms_of_ccl (void);
extern Lisp_Object Ffile_attributes (Lisp_Object, Lisp_Object);
extern void syms_of_dired (void);
extern void syms_of_term (void);
extern void fatal () __attribute__ ((__noreturn__));
extern void syms_of_fontset (void);
extern Lisp_Object Fset_fontset_font (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fxw_display_color_p (Lisp_Object);
extern Lisp_Object Fx_file_dialog (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern Lisp_Object Fclear_face_cache (Lisp_Object);
extern void syms_of_xfaces (void);
# 3272 "lisp.h"
extern void syms_of_macfns (void);
extern void syms_of_macselect (void);
extern void syms_of_macterm (void);
extern void syms_of_macmenu (void);
extern void syms_of_mac (void);
extern void init_mac_osx_environment (void);
extern int initialized;
extern int immediate_quit;
extern void *xmalloc (size_t);
extern void *xrealloc (void *, size_t);
extern void xfree (void *);
extern char *xstrdup (const char *);
extern char *egetenv (char *);
extern void init_system_name (void);
# 3316 "lisp.h"
#define DIRECTORY_SEP '/'
#define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP)
#define IS_DEVICE_SEP(_c_) 0
#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_))
#define SWITCH_ENUM_CAST(x) (x)
# 3349 "lisp.h"
#define LIST_END_P(list,obj) (NILP (obj) ? 1 : (CONSP (obj) ? 0 : (wrong_type_argument (Qlistp, (list))), 1))
#define FOREACH(hare,list,tortoise,n) for (tortoise = hare = (list), n = 0; !LIST_END_P (list, hare); (hare = XCDR (hare), ++n, ((n & 1) != 0 ? (tortoise = XCDR (tortoise), (EQ (hare, tortoise) && (circular_list_error ((list)), 1))) : 0)))
# 3372 "lisp.h"
#define min(a,b) ((a) < (b) ? (a) : (b))
#define max(a,b) ((a) > (b) ? (a) : (b))
#define make_fixnum_or_float(val) (FIXNUM_OVERFLOW_P (val) ? make_float (val) : make_number ((EMACS_INT)(val)))
# 3397 "lisp.h"
#define CYCLE_CHECK(check,el,suspicious) (NILP (check) ? make_number (0) : (INTEGERP (check) ? (XFASTINT (check) < (suspicious) ? make_number (XFASTINT (check) + 1) : Fcons (el, Qnil)) : (!NILP (Fmemq ((el), (check))) ? Qnil : Fcons ((el), (check)))))
# 3412 "lisp.h"
#define MAX_ALLOCA 16*1024
extern Lisp_Object safe_alloca_unwind (Lisp_Object);
#define USE_SAFE_ALLOCA int sa_count = SPECPDL_INDEX (), sa_must_free = 0
#define SAFE_ALLOCA(buf,type,size) do { if ((size) < MAX_ALLOCA) buf = (type) alloca (size); else { buf = (type) xmalloc (size); sa_must_free++; record_unwind_protect (safe_alloca_unwind, make_save_value (buf, 0)); } } while (0)
# 3436 "lisp.h"
#define SAFE_FREE() do { if (sa_must_free) { sa_must_free = 0; unbind_to (sa_count, Qnil); } } while (0)
# 3447 "lisp.h"
#define SAFE_ALLOCA_LISP(buf,nelt) do { int size_ = (nelt) * sizeof (Lisp_Object); if (size_ < MAX_ALLOCA) buf = (Lisp_Object *) alloca (size_); else { Lisp_Object arg_; buf = (Lisp_Object *) xmalloc (size_); arg_ = make_save_value (buf, nelt); XSAVE_VALUE (arg_)->dogc = 1; sa_must_free++; record_unwind_protect (safe_alloca_unwind, arg_); } } while (0)
# 30 "mac.c" 2
# 1 "process.h" 1
# 23 "process.h"
# 1 "/usr/include/sys/types.h" 1 3 4
# 70 "/usr/include/sys/types.h" 3 4
#define _SYS_TYPES_H_
# 84 "/usr/include/sys/types.h" 3 4
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
#define _U_LONG
typedef unsigned short ushort;
typedef unsigned int uint;
typedef u_int64_t u_quad_t;
typedef int64_t quad_t;
typedef quad_t * qaddr_t;
typedef char * caddr_t;
typedef int32_t daddr_t;
typedef u_int32_t fixpt_t;
typedef __darwin_blkcnt_t blkcnt_t;
#define _BLKCNT_T
typedef __darwin_blksize_t blksize_t;
#define _BLKSIZE_T
typedef __darwin_gid_t gid_t;
#define _GID_T
#define _IN_ADDR_T
typedef __uint32_t in_addr_t;
#define _IN_PORT_T
typedef __uint16_t in_port_t;
typedef __darwin_ino_t ino_t;
#define _INO_T
typedef __darwin_ino64_t ino64_t;
#define _INO64_T
#define _KEY_T
typedef __int32_t key_t;
# 157 "/usr/include/sys/types.h" 3 4
typedef __uint16_t nlink_t;
#define _NLINK_T
# 176 "/usr/include/sys/types.h" 3 4
typedef int32_t segsz_t;
typedef int32_t swblk_t;
# 214 "/usr/include/sys/types.h" 3 4
#define major(x) ((int32_t)(((u_int32_t)(x) >> 24) & 0xff))
#define minor(x) ((int32_t)((x) & 0xffffff))
#define makedev(x,y) ((dev_t)(((x) << 24) | (y)))
#define _CLOCK_T
typedef __darwin_clock_t clock_t;
# 239 "/usr/include/sys/types.h" 3 4
#define _TIME_T
typedef __darwin_time_t time_t;
#define _USECONDS_T
typedef __darwin_useconds_t useconds_t;
#define _SUSECONDS_T
typedef __darwin_suseconds_t suseconds_t;
# 259 "/usr/include/sys/types.h" 3 4
#define __need_fd_set
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 165 "/usr/include/sys/_structs.h" 3 4
#undef __need_fd_set
#define _FD_SET
# 177 "/usr/include/sys/_structs.h" 3 4
#define __DARWIN_FD_SETSIZE 1024
#define __DARWIN_NBBY 8
#define __DARWIN_NFDBITS (sizeof(__int32_t) * __DARWIN_NBBY)
#define __DARWIN_howmany(x,y) (((x) + ((y) - 1)) / (y))
typedef struct fd_set {
__int32_t fds_bits[(((1024) + (((sizeof(__int32_t) * 8)) - 1)) / ((sizeof(__int32_t) * 8)))];
} fd_set;
static __inline int
__darwin_fd_isset(int _n, struct fd_set *_p)
{
return (_p->fds_bits[_n/(sizeof(__int32_t) * 8)] & (1<<(_n % (sizeof(__int32_t) * 8))));
}
#define __DARWIN_FD_SET(n,p) do { int __fd = (n); ((p)->fds_bits[__fd/__DARWIN_NFDBITS] |= (1<<(__fd % __DARWIN_NFDBITS))); } while(0)
#define __DARWIN_FD_CLR(n,p) do { int __fd = (n); ((p)->fds_bits[__fd/__DARWIN_NFDBITS] &= ~(1<<(__fd % __DARWIN_NFDBITS))); } while(0)
#define __DARWIN_FD_ISSET(n,p) __darwin_fd_isset((n), (p))
#define __DARWIN_FD_ZERO(p) __builtin_bzero(p, sizeof(*(p)))
#define __DARWIN_FD_COPY(f,t) bcopy(f, t, sizeof(*(f)))
# 261 "/usr/include/sys/types.h" 2 3 4
#define NBBY __DARWIN_NBBY
#define NFDBITS __DARWIN_NFDBITS
#define howmany(x,y) __DARWIN_howmany(x, y)
typedef __int32_t fd_mask;
# 274 "/usr/include/sys/types.h" 3 4
#define FD_SETSIZE __DARWIN_FD_SETSIZE
#define FD_SET(n,p) __DARWIN_FD_SET(n, p)
#define FD_CLR(n,p) __DARWIN_FD_CLR(n, p)
#define FD_ISSET(n,p) __DARWIN_FD_ISSET(n, p)
#define FD_ZERO(p) __DARWIN_FD_ZERO(p)
#define FD_COPY(f,t) __DARWIN_FD_COPY(f, t)
# 321 "/usr/include/sys/types.h" 3 4
#define _PTHREAD_COND_T
typedef __darwin_pthread_cond_t pthread_cond_t;
#define _PTHREAD_CONDATTR_T
typedef __darwin_pthread_condattr_t pthread_condattr_t;
#define _PTHREAD_MUTEX_T
typedef __darwin_pthread_mutex_t pthread_mutex_t;
#define _PTHREAD_MUTEXATTR_T
typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t;
#define _PTHREAD_ONCE_T
typedef __darwin_pthread_once_t pthread_once_t;
#define _PTHREAD_RWLOCK_T
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
#define _PTHREAD_RWLOCKATTR_T
typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t;
#define _PTHREAD_T
typedef __darwin_pthread_t pthread_t;
#define _PTHREAD_KEY_T
typedef __darwin_pthread_key_t pthread_key_t;
#define _FSBLKCNT_T
typedef __darwin_fsblkcnt_t fsblkcnt_t;
#define _FSFILCNT_T
typedef __darwin_fsfilcnt_t fsfilcnt_t;
# 24 "process.h" 2
# 1 "/usr/include/unistd.h" 1 3 4
# 69 "/usr/include/unistd.h" 3 4
#define _UNISTD_H_
# 1 "/usr/include/sys/unistd.h" 1 3 4
# 65 "/usr/include/sys/unistd.h" 3 4
#define _SYS_UNISTD_H_
# 79 "/usr/include/sys/unistd.h" 3 4
#define _POSIX_VERSION 200112L
#define _POSIX2_VERSION 200112L
#define _POSIX_VDISABLE ((unsigned char)'\377')
#define _POSIX_THREAD_KEYS_MAX 128
#define F_OK 0
#define X_OK (1<<0)
#define W_OK (1<<1)
#define R_OK (1<<2)
#define _READ_OK (1<<9)
#define _WRITE_OK (1<<10)
#define _EXECUTE_OK (1<<11)
#define _DELETE_OK (1<<12)
#define _APPEND_OK (1<<13)
#define _RMFILE_OK (1<<14)
#define _RATTR_OK (1<<15)
#define _WATTR_OK (1<<16)
#define _REXT_OK (1<<17)
#define _WEXT_OK (1<<18)
#define _RPERM_OK (1<<19)
#define _WPERM_OK (1<<20)
#define _CHOWN_OK (1<<21)
#define _ACCESS_EXTENDED_MASK (_READ_OK | _WRITE_OK | _EXECUTE_OK | _DELETE_OK | _APPEND_OK | _RMFILE_OK | _REXT_OK | _WEXT_OK | _RATTR_OK | _WATTR_OK | _RPERM_OK | _WPERM_OK | _CHOWN_OK)
# 132 "/usr/include/sys/unistd.h" 3 4
#define L_SET SEEK_SET
#define L_INCR SEEK_CUR
#define L_XTND SEEK_END
struct accessx_descriptor {
unsigned int ad_name_offset;
int ad_flags;
int ad_pad[2];
};
#define ACCESSX_MAX_DESCRIPTORS 100
#define ACCESSX_MAX_TABLESIZE (16 * 1024)
#define _PC_LINK_MAX 1
#define _PC_MAX_CANON 2
#define _PC_MAX_INPUT 3
#define _PC_NAME_MAX 4
#define _PC_PATH_MAX 5
#define _PC_PIPE_BUF 6
#define _PC_CHOWN_RESTRICTED 7
#define _PC_NO_TRUNC 8
#define _PC_VDISABLE 9
#define _PC_NAME_CHARS_MAX 10
#define _PC_CASE_SENSITIVE 11
#define _PC_CASE_PRESERVING 12
#define _PC_EXTENDED_SECURITY_NP 13
#define _PC_AUTH_OPAQUE_NP 14
#define _PC_2_SYMLINKS 15
#define _PC_ALLOC_SIZE_MIN 16
#define _PC_ASYNC_IO 17
#define _PC_FILESIZEBITS 18
#define _PC_PRIO_IO 19
#define _PC_REC_INCR_XFER_SIZE 20
#define _PC_REC_MAX_XFER_SIZE 21
#define _PC_REC_MIN_XFER_SIZE 22
#define _PC_REC_XFER_ALIGN 23
#define _PC_SYMLINK_MAX 24
#define _PC_SYNC_IO 25
#define _CS_PATH 1
# 73 "/usr/include/unistd.h" 2 3 4
# 132 "/usr/include/unistd.h" 3 4
#define _UUID_T
typedef __darwin_uuid_t uuid_t;
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
#define _XOPEN_VERSION 600
#define _XOPEN_XCU_VERSION 4
#define _POSIX_ADVISORY_INFO (-1)
#define _POSIX_ASYNCHRONOUS_IO (-1)
#define _POSIX_BARRIERS (-1)
#define _POSIX_CHOWN_RESTRICTED 200112L
#define _POSIX_CLOCK_SELECTION (-1)
#define _POSIX_CPUTIME (-1)
#define _POSIX_FSYNC 200112L
#define _POSIX_IPV6 200112L
#define _POSIX_JOB_CONTROL 200112L
#define _POSIX_MAPPED_FILES 200112L
#define _POSIX_MEMLOCK (-1)
#define _POSIX_MEMLOCK_RANGE (-1)
#define _POSIX_MEMORY_PROTECTION 200112L
#define _POSIX_MESSAGE_PASSING (-1)
#define _POSIX_MONOTONIC_CLOCK (-1)
#define _POSIX_NO_TRUNC 200112L
#define _POSIX_PRIORITIZED_IO (-1)
#define _POSIX_PRIORITY_SCHEDULING (-1)
#define _POSIX_RAW_SOCKETS (-1)
#define _POSIX_READER_WRITER_LOCKS 200112L
#define _POSIX_REALTIME_SIGNALS (-1)
#define _POSIX_REGEXP 200112L
#define _POSIX_SAVED_IDS 200112L
#define _POSIX_SEMAPHORES (-1)
#define _POSIX_SHARED_MEMORY_OBJECTS (-1)
#define _POSIX_SHELL 200112L
#define _POSIX_SPAWN (-1)
#define _POSIX_SPIN_LOCKS (-1)
#define _POSIX_SPORADIC_SERVER (-1)
#define _POSIX_SYNCHRONIZED_IO (-1)
#define _POSIX_THREAD_ATTR_STACKADDR 200112L
#define _POSIX_THREAD_ATTR_STACKSIZE 200112L
#define _POSIX_THREAD_CPUTIME (-1)
#define _POSIX_THREAD_PRIO_INHERIT (-1)
#define _POSIX_THREAD_PRIO_PROTECT (-1)
#define _POSIX_THREAD_PRIORITY_SCHEDULING (-1)
#define _POSIX_THREAD_PROCESS_SHARED 200112L
#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L
#define _POSIX_THREAD_SPORADIC_SERVER (-1)
#define _POSIX_THREADS 200112L
#define _POSIX_TIMEOUTS (-1)
#define _POSIX_TIMERS (-1)
#define _POSIX_TRACE (-1)
#define _POSIX_TRACE_EVENT_FILTER (-1)
#define _POSIX_TRACE_INHERIT (-1)
#define _POSIX_TRACE_LOG (-1)
#define _POSIX_TYPED_MEMORY_OBJECTS (-1)
#define _POSIX2_C_BIND 200112L
#define _POSIX2_C_DEV 200112L
#define _POSIX2_CHAR_TERM 200112L
#define _POSIX2_FORT_DEV (-1)
#define _POSIX2_FORT_RUN 200112L
#define _POSIX2_LOCALEDEF 200112L
#define _POSIX2_PBS (-1)
#define _POSIX2_PBS_ACCOUNTING (-1)
#define _POSIX2_PBS_CHECKPOINT (-1)
#define _POSIX2_PBS_LOCATE (-1)
#define _POSIX2_PBS_MESSAGE (-1)
#define _POSIX2_PBS_TRACK (-1)
#define _POSIX2_SW_DEV 200112L
#define _POSIX2_UPE 200112L
#define _V6_ILP32_OFF32 (-1)
#define _V6_ILP32_OFFBIG (1)
#define _V6_LP64_OFF64 (-1)
#define _V6_LPBIG_OFFBIG (-1)
#define _XBS5_ILP32_OFF32 _V6_ILP32_OFF32
#define _XBS5_ILP32_OFFBIG _V6_ILP32_OFFBIG
#define _XBS5_LP64_OFF64 _V6_LP64_OFF64
#define _XBS5_LPBIG_OFFBIG _V6_LPBIG_OFFBIG
#define _XOPEN_CRYPT (1)
#define _XOPEN_ENH_I18N (1)
#define _XOPEN_LEGACY (-1)
#define _XOPEN_REALTIME (-1)
#define _XOPEN_REALTIME_THREADS (-1)
#define _XOPEN_SHM (1)
#define _XOPEN_STREAMS (-1)
#define _XOPEN_UNIX (1)
#define F_ULOCK 0
#define F_LOCK 1
#define F_TLOCK 2
#define F_TEST 3
#define _SC_ARG_MAX 1
#define _SC_CHILD_MAX 2
#define _SC_CLK_TCK 3
#define _SC_NGROUPS_MAX 4
#define _SC_OPEN_MAX 5
#define _SC_JOB_CONTROL 6
#define _SC_SAVED_IDS 7
#define _SC_VERSION 8
#define _SC_BC_BASE_MAX 9
#define _SC_BC_DIM_MAX 10
#define _SC_BC_SCALE_MAX 11
#define _SC_BC_STRING_MAX 12
#define _SC_COLL_WEIGHTS_MAX 13
#define _SC_EXPR_NEST_MAX 14
#define _SC_LINE_MAX 15
#define _SC_RE_DUP_MAX 16
#define _SC_2_VERSION 17
#define _SC_2_C_BIND 18
#define _SC_2_C_DEV 19
#define _SC_2_CHAR_TERM 20
#define _SC_2_FORT_DEV 21
#define _SC_2_FORT_RUN 22
#define _SC_2_LOCALEDEF 23
#define _SC_2_SW_DEV 24
#define _SC_2_UPE 25
#define _SC_STREAM_MAX 26
#define _SC_TZNAME_MAX 27
#define _SC_ASYNCHRONOUS_IO 28
#define _SC_PAGESIZE 29
#define _SC_MEMLOCK 30
#define _SC_MEMLOCK_RANGE 31
#define _SC_MEMORY_PROTECTION 32
#define _SC_MESSAGE_PASSING 33
#define _SC_PRIORITIZED_IO 34
#define _SC_PRIORITY_SCHEDULING 35
#define _SC_REALTIME_SIGNALS 36
#define _SC_SEMAPHORES 37
#define _SC_FSYNC 38
#define _SC_SHARED_MEMORY_OBJECTS 39
#define _SC_SYNCHRONIZED_IO 40
#define _SC_TIMERS 41
#define _SC_AIO_LISTIO_MAX 42
#define _SC_AIO_MAX 43
#define _SC_AIO_PRIO_DELTA_MAX 44
#define _SC_DELAYTIMER_MAX 45
#define _SC_MQ_OPEN_MAX 46
#define _SC_MAPPED_FILES 47
#define _SC_RTSIG_MAX 48
#define _SC_SEM_NSEMS_MAX 49
#define _SC_SEM_VALUE_MAX 50
#define _SC_SIGQUEUE_MAX 51
#define _SC_TIMER_MAX 52
#define _SC_NPROCESSORS_CONF 57
#define _SC_NPROCESSORS_ONLN 58
#define _SC_2_PBS 59
#define _SC_2_PBS_ACCOUNTING 60
#define _SC_2_PBS_CHECKPOINT 61
#define _SC_2_PBS_LOCATE 62
#define _SC_2_PBS_MESSAGE 63
#define _SC_2_PBS_TRACK 64
#define _SC_ADVISORY_INFO 65
#define _SC_BARRIERS 66
#define _SC_CLOCK_SELECTION 67
#define _SC_CPUTIME 68
#define _SC_FILE_LOCKING 69
#define _SC_GETGR_R_SIZE_MAX 70
#define _SC_GETPW_R_SIZE_MAX 71
#define _SC_HOST_NAME_MAX 72
#define _SC_LOGIN_NAME_MAX 73
#define _SC_MONOTONIC_CLOCK 74
#define _SC_MQ_PRIO_MAX 75
#define _SC_READER_WRITER_LOCKS 76
#define _SC_REGEXP 77
#define _SC_SHELL 78
#define _SC_SPAWN 79
#define _SC_SPIN_LOCKS 80
#define _SC_SPORADIC_SERVER 81
#define _SC_THREAD_ATTR_STACKADDR 82
#define _SC_THREAD_ATTR_STACKSIZE 83
#define _SC_THREAD_CPUTIME 84
#define _SC_THREAD_DESTRUCTOR_ITERATIONS 85
#define _SC_THREAD_KEYS_MAX 86
#define _SC_THREAD_PRIO_INHERIT 87
#define _SC_THREAD_PRIO_PROTECT 88
#define _SC_THREAD_PRIORITY_SCHEDULING 89
#define _SC_THREAD_PROCESS_SHARED 90
#define _SC_THREAD_SAFE_FUNCTIONS 91
#define _SC_THREAD_SPORADIC_SERVER 92
#define _SC_THREAD_STACK_MIN 93
#define _SC_THREAD_THREADS_MAX 94
#define _SC_TIMEOUTS 95
#define _SC_THREADS 96
#define _SC_TRACE 97
#define _SC_TRACE_EVENT_FILTER 98
#define _SC_TRACE_INHERIT 99
#define _SC_TRACE_LOG 100
#define _SC_TTY_NAME_MAX 101
#define _SC_TYPED_MEMORY_OBJECTS 102
#define _SC_V6_ILP32_OFF32 103
#define _SC_V6_ILP32_OFFBIG 104
#define _SC_V6_LP64_OFF64 105
#define _SC_V6_LPBIG_OFFBIG 106
#define _SC_IPV6 118
#define _SC_RAW_SOCKETS 119
#define _SC_SYMLOOP_MAX 120
#define _SC_ATEXIT_MAX 107
#define _SC_IOV_MAX 56
#define _SC_PAGE_SIZE _SC_PAGESIZE
#define _SC_XOPEN_CRYPT 108
#define _SC_XOPEN_ENH_I18N 109
#define _SC_XOPEN_LEGACY 110
#define _SC_XOPEN_REALTIME 111
#define _SC_XOPEN_REALTIME_THREADS 112
#define _SC_XOPEN_SHM 113
#define _SC_XOPEN_STREAMS 114
#define _SC_XOPEN_UNIX 115
#define _SC_XOPEN_VERSION 116
#define _SC_XOPEN_XCU_VERSION 121
#define _SC_XBS5_ILP32_OFF32 122
#define _SC_XBS5_ILP32_OFFBIG 123
#define _SC_XBS5_LP64_OFF64 124
#define _SC_XBS5_LPBIG_OFFBIG 125
#define _SC_SS_REPL_MAX 126
#define _SC_TRACE_EVENT_NAME_MAX 127
#define _SC_TRACE_NAME_MAX 128
#define _SC_TRACE_SYS_MAX 129
#define _SC_TRACE_USER_EVENT_MAX 130
#define _SC_PASS_MAX 131
#define _CS_POSIX_V6_ILP32_OFF32_CFLAGS 2
#define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS 3
#define _CS_POSIX_V6_ILP32_OFF32_LIBS 4
#define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS 5
#define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS 6
#define _CS_POSIX_V6_ILP32_OFFBIG_LIBS 7
#define _CS_POSIX_V6_LP64_OFF64_CFLAGS 8
#define _CS_POSIX_V6_LP64_OFF64_LDFLAGS 9
#define _CS_POSIX_V6_LP64_OFF64_LIBS 10
#define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS 11
#define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS 12
#define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS 13
#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 14
#define _CS_XBS5_ILP32_OFF32_CFLAGS 20
#define _CS_XBS5_ILP32_OFF32_LDFLAGS 21
#define _CS_XBS5_ILP32_OFF32_LIBS 22
#define _CS_XBS5_ILP32_OFF32_LINTFLAGS 23
#define _CS_XBS5_ILP32_OFFBIG_CFLAGS 24
#define _CS_XBS5_ILP32_OFFBIG_LDFLAGS 25
#define _CS_XBS5_ILP32_OFFBIG_LIBS 26
#define _CS_XBS5_ILP32_OFFBIG_LINTFLAGS 27
#define _CS_XBS5_LP64_OFF64_CFLAGS 28
#define _CS_XBS5_LP64_OFF64_LDFLAGS 29
#define _CS_XBS5_LP64_OFF64_LIBS 30
#define _CS_XBS5_LP64_OFF64_LINTFLAGS 31
#define _CS_XBS5_LPBIG_OFFBIG_CFLAGS 32
#define _CS_XBS5_LPBIG_OFFBIG_LDFLAGS 33
#define _CS_XBS5_LPBIG_OFFBIG_LIBS 34
#define _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS 35
#define _CS_DARWIN_USER_DIR 65536
#define _CS_DARWIN_USER_TEMP_DIR 65537
#define _CS_DARWIN_USER_CACHE_DIR 65538
void _exit(int) __attribute__((__noreturn__));
int access(const char *, int);
unsigned int
alarm(unsigned int);
int chdir(const char *);
int chown(const char *, uid_t, gid_t);
int close(int) __asm("_" "close" );
size_t confstr(int, char *, size_t) __asm("_" "confstr" );
char *crypt(const char *, const char *);
char *ctermid(char *);
int dup(int);
int dup2(int, int);
void encrypt(char *, int) __asm("_" "encrypt" );
int execl(const char *, const char *, ...);
int execle(const char *, const char *, ...);
int execlp(const char *, const char *, ...);
int execv(const char *, char * const *);
int execve(const char *, char * const *, char * const *);
int execvp(const char *, char * const *);
int fchown(int, uid_t, gid_t);
int fchdir(int);
pid_t fork(void);
long fpathconf(int, int);
int fsync(int) __asm("_" "fsync" );
int ftruncate(int, off_t);
char *getcwd(char *, size_t);
gid_t getegid(void);
uid_t geteuid(void);
gid_t getgid(void);
int getgroups(int, gid_t []);
long gethostid(void);
int gethostname(char *, size_t);
char *getlogin(void);
int getlogin_r(char *, size_t);
int getopt(int, char * const [], const char *) __asm("_" "getopt" );
pid_t getpgid(pid_t);
pid_t getpgrp(void);
pid_t getpid(void);
pid_t getppid(void);
pid_t getsid(pid_t);
uid_t getuid(void);
char *getwd(char *);
int isatty(int);
int lchown(const char *, uid_t, gid_t) __asm("_" "lchown" );
int link(const char *, const char *);
int lockf(int, int, off_t) __asm("_" "lockf" );
off_t lseek(int, off_t, int);
int nice(int) __asm("_" "nice" );
long pathconf(const char *, int);
int pause(void) __asm("_" "pause" );
int pipe(int [2]);
ssize_t pread(int, void *, size_t, off_t) __asm("_" "pread" );
ssize_t pwrite(int, const void *, size_t, off_t) __asm("_" "pwrite" );
ssize_t read(int, void *, size_t) __asm("_" "read" );
ssize_t readlink(const char * , char * , size_t);
int rmdir(const char *);
int setegid(gid_t);
int seteuid(uid_t);
int setgid(gid_t);
int setpgid(pid_t, pid_t);
pid_t setpgrp(void) __asm("_" "setpgrp" );
int setregid(gid_t, gid_t) __asm("_" "setregid" );
int setreuid(uid_t, uid_t) __asm("_" "setreuid" );
pid_t setsid(void);
int setuid(uid_t);
unsigned int
sleep(unsigned int) __asm("_" "sleep" );
void swab(const void * , void * , ssize_t);
int symlink(const char *, const char *);
void sync(void);
long sysconf(int);
pid_t tcgetpgrp(int);
int tcsetpgrp(int, pid_t);
int truncate(const char *, off_t);
char *ttyname(int);
int ttyname_r(int, char *, size_t) __asm("_" "ttyname_r" );
useconds_t
ualarm(useconds_t, useconds_t);
int unlink(const char *);
int usleep(useconds_t) __asm("_" "usleep" );
pid_t fork(void);
ssize_t write(int, const void *, size_t) __asm("_" "write" );
extern char *optarg;
extern int optind, opterr, optopt;
# 1 "/usr/include/sys/select.h" 1 3 4
# 64 "/usr/include/sys/select.h" 3 4
#define _SYS_SELECT_H_
# 75 "/usr/include/sys/select.h" 3 4
#define __need_fd_set
#define __need_struct_timespec
#define __need_struct_timeval
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 85 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timespec
#define _STRUCT_TIMESPEC struct timespec
struct timespec
{
__darwin_time_t tv_sec;
long tv_nsec;
};
#undef __need_struct_timeval
# 165 "/usr/include/sys/_structs.h" 3 4
#undef __need_fd_set
# 79 "/usr/include/sys/select.h" 2 3 4
# 134 "/usr/include/sys/select.h" 3 4
int pselect(int, fd_set * , fd_set * ,
fd_set * , const struct timespec * ,
const sigset_t * )
__asm("_" "pselect" "$1050")
;
# 1 "/usr/include/sys/_select.h" 1 3 4
# 37 "/usr/include/sys/_select.h" 3 4
#define _SYS__SELECT_H_
int sys_select(int, fd_set * , fd_set * ,
fd_set * , struct timeval * )
__asm("_" "sys_select" "$1050")
;
# 153 "/usr/include/sys/select.h" 2 3 4
# 516 "/usr/include/unistd.h" 2 3 4
void _Exit(int) __attribute__((__noreturn__));
int accessx_np(const struct accessx_descriptor *, size_t, int *, uid_t);
int acct(const char *);
int add_profil(char *, size_t, unsigned long, unsigned int);
void *brk(const void *);
int chroot(const char *);
void endusershell(void);
int execvP(const char *, const char *, char * const *);
char *fflagstostr(unsigned long);
int getdtablesize(void);
int getdomainname(char *, int);
int getgrouplist(const char *, int, int *, int *);
mode_t getmode(const void *, mode_t);
int getpagesize(void) __attribute__((__const__));
char *getpass(const char *);
int getpeereid(int, uid_t *, gid_t *);
int getpgid(pid_t _pid);
int getsgroups_np(int *, uuid_t);
int getsid(pid_t _pid);
char *getusershell(void);
int getwgroups_np(int *, uuid_t);
int initgroups(const char *, int);
int iruserok(unsigned long, int, const char *, const char *);
int iruserok_sa(const void *, int, int, const char *, const char *);
int issetugid(void);
char *mkdtemp(char *);
int mknod(const char *, mode_t, dev_t);
int mkstemp(char *);
int mkstemps(char *, int);
char *mktemp(char *);
int nfssvc(int, void *);
int profil(char *, size_t, unsigned long, unsigned int);
int pthread_setugid_np(uid_t, gid_t);
int pthread_getugid_np( uid_t *, gid_t *);
int rcmd(char **, int, const char *, const char *, const char *, int *);
int rcmd_af(char **, int, const char *, const char *, const char *, int *,
int);
int reboot(int);
int revoke(const char *);
int rresvport(int *);
int rresvport_af(int *, int);
int ruserok(const char *, int, const char *, const char *);
void *sbrk(int);
int setdomainname(const char *, int);
int setgroups(int, const gid_t *);
void sethostid(long);
int sethostname(const char *, int);
void setkey(const char *) __asm("_" "setkey" );
int setlogin(const char *);
void *setmode(const char *);
int setrgid(gid_t);
int setruid(uid_t);
int setsgroups_np(int, const uuid_t);
void setusershell(void);
int setwgroups_np(int, const uuid_t);
int strtofflags(char **, unsigned long *, unsigned long *);
int swapon(const char *);
int syscall(int, ...);
int ttyslot(void);
int undelete(const char *);
int unwhiteout(const char *);
void *valloc(size_t);
extern char *suboptarg;
int getsubopt(char **, char * const *, char **);
int getattrlist(const char*,void*,void*,size_t,unsigned int) __asm("_" "getattrlist" );
int setattrlist(const char*,void*,void*,size_t,unsigned int) __asm("_" "setattrlist" );
int exchangedata(const char*,const char*,unsigned int);
int getdirentriesattr(int,void*,void*,size_t,unsigned int*,unsigned int*,unsigned int*,unsigned int);
int searchfs(const char*,void*,void*,unsigned int,unsigned int,void*);
int fsctl(const char *,unsigned int,void*,unsigned int);
# 606 "/usr/include/unistd.h" 3 4
extern int optreset;
# 27 "process.h" 2
# 35 "process.h"
struct Lisp_Process
{
long size;
struct Lisp_Vector *v_next;
Lisp_Object infd;
Lisp_Object outfd;
Lisp_Object tty_name;
Lisp_Object name;
Lisp_Object command;
Lisp_Object filter;
Lisp_Object sentinel;
Lisp_Object log;
Lisp_Object buffer;
Lisp_Object childp;
Lisp_Object plist;
Lisp_Object mark;
Lisp_Object kill_without_query;
Lisp_Object status;
Lisp_Object pty_flag;
Lisp_Object tick;
Lisp_Object update_tick;
Lisp_Object decode_coding_system;
Lisp_Object decoding_buf;
Lisp_Object decoding_carryover;
Lisp_Object encode_coding_system;
Lisp_Object encoding_buf;
Lisp_Object encoding_carryover;
Lisp_Object inherit_coding_system_flag;
Lisp_Object filter_multibyte;
Lisp_Object adaptive_read_buffering;
Lisp_Object read_output_delay;
Lisp_Object read_output_skip;
pid_t pid;
unsigned int raw_status_new : 1;
int raw_status;
};
#define ChannelMask(n) (1<<(n))
extern Lisp_Object chan_process[];
extern Lisp_Object Vprocess_alist;
extern int synch_process_alive;
extern char *synch_process_death;
extern int synch_process_termsig;
extern int synch_process_retcode;
#define NULL_DEVICE "/dev/null"
extern int inhibit_sentinels;
# 31 "mac.c" 2
#undef select
# 1 "systime.h" 1
# 23 "systime.h"
#define EMACS_SYSTIME_H
# 1 "/usr/include/sys/time.h" 1 3 4
# 65 "/usr/include/sys/time.h" 3 4
#define _SYS_TIME_H_
# 74 "/usr/include/sys/time.h" 3 4
#define __need_fd_set
#define __need_struct_timespec
#define __need_struct_timeval
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 85 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timespec
# 97 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timeval
# 165 "/usr/include/sys/_structs.h" 3 4
#undef __need_fd_set
# 78 "/usr/include/sys/time.h" 2 3 4
# 93 "/usr/include/sys/time.h" 3 4
struct itimerval {
struct timeval it_interval;
struct timeval it_value;
};
#define ITIMER_REAL 0
#define ITIMER_VIRTUAL 1
#define ITIMER_PROF 2
# 135 "/usr/include/sys/time.h" 3 4
#define TIMEVAL_TO_TIMESPEC(tv,ts) { (ts)->tv_sec = (tv)->tv_sec; (ts)->tv_nsec = (tv)->tv_usec * 1000; }
#define TIMESPEC_TO_TIMEVAL(tv,ts) { (tv)->tv_sec = (ts)->tv_sec; (tv)->tv_usec = (ts)->tv_nsec / 1000; }
struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
#define DST_NONE 0
#define DST_USA 1
#define DST_AUST 2
#define DST_WET 3
#define DST_MET 4
#define DST_EET 5
#define DST_CAN 6
#define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
#define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
#define timercmp(tvp,uvp,cmp) (((tvp)->tv_sec == (uvp)->tv_sec) ? ((tvp)->tv_usec cmp (uvp)->tv_usec) : ((tvp)->tv_sec cmp (uvp)->tv_sec))
#define timeradd(tvp,uvp,vvp) do { (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; if ((vvp)->tv_usec >= 1000000) { (vvp)->tv_sec++; (vvp)->tv_usec -= 1000000; } } while (0)
# 172 "/usr/include/sys/time.h" 3 4
#define timersub(tvp,uvp,vvp) do { (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; if ((vvp)->tv_usec < 0) { (vvp)->tv_sec--; (vvp)->tv_usec += 1000000; } } while (0)
# 182 "/usr/include/sys/time.h" 3 4
#define timevalcmp(l,r,cmp) timercmp(l, r, cmp)
struct clockinfo {
int hz;
int tick;
int tickadj;
int stathz;
int profhz;
};
# 1 "/usr/include/time.h" 1 3 4
# 64 "/usr/include/time.h" 3 4
#define _TIME_H_
#define __need_struct_timespec
# 1 "/usr/include/_structs.h" 1 3 4
# 24 "/usr/include/_structs.h" 3 4
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 85 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timespec
# 25 "/usr/include/_structs.h" 2 3 4
# 70 "/usr/include/time.h" 2 3 4
# 90 "/usr/include/time.h" 3 4
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
long tm_gmtoff;
char *tm_zone;
};
#define CLOCKS_PER_SEC 1000000
extern char *tzname[];
extern int getdate_err;
extern long timezone __asm("_" "timezone" );
extern int daylight;
char *asctime(const struct tm *);
clock_t clock(void) __asm("_" "clock" );
char *ctime(const time_t *);
double difftime(time_t, time_t);
struct tm *getdate(const char *);
struct tm *gmtime(const time_t *);
struct tm *localtime(const time_t *);
time_t emacs_mktime(struct tm *) __asm("_" "emacs_mktime" );
size_t strftime(char * , size_t, const char * , const struct tm * ) __asm("_" "strftime" );
char *strptime(const char * , const char * , struct tm * ) __asm("_" "strptime" );
time_t time(time_t *);
void tzset(void);
char *asctime_r(const struct tm * , char * );
char *ctime_r(const time_t *, char *);
struct tm *gmtime_r(const time_t * , struct tm * );
struct tm *localtime_r(const time_t * , struct tm * );
time_t posix2time(time_t);
void tzsetwall(void);
time_t time2posix(time_t);
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
int nanosleep(const struct timespec *, struct timespec *) __asm("_" "nanosleep" );
# 199 "/usr/include/sys/time.h" 2 3 4
int adjtime(const struct timeval *, struct timeval *);
int futimes(int, const struct timeval *);
int lutimes(const char *, const struct timeval *);
int settimeofday(const struct timeval *, const struct timezone *);
int getitimer(int, struct itimerval *);
int gettimeofday(struct timeval * , void * );
int setitimer(int, const struct itimerval * ,
struct itimerval * );
int utimes(const char *, const struct timeval *);
# 27 "systime.h" 2
# 92 "systime.h"
#define EMACS_HAS_USECS
#define EMACS_TIME struct timeval
#define EMACS_SECS(time) ((time).tv_sec + 0)
#define EMACS_USECS(time) ((time).tv_usec + 0)
#define EMACS_SET_SECS(time,seconds) ((time).tv_sec = (seconds))
#define EMACS_SET_USECS(time,microseconds) ((time).tv_usec = (microseconds))
#define EMACS_GET_TIME(time) gettimeofday (&(time), NULL)
#define EMACS_ADD_TIME(dest,src1,src2) do { (dest).tv_sec = (src1).tv_sec + (src2).tv_sec; (dest).tv_usec = (src1).tv_usec + (src2).tv_usec; if ((dest).tv_usec > 1000000) (dest).tv_usec -= 1000000, (dest).tv_sec++; } while (0)
#define EMACS_SUB_TIME(dest,src1,src2) do { (dest).tv_sec = (src1).tv_sec - (src2).tv_sec; (dest).tv_usec = (src1).tv_usec - (src2).tv_usec; if ((dest).tv_usec < 0) (dest).tv_usec += 1000000, (dest).tv_sec--; } while (0)
#define EMACS_TIME_NEG_P(time) ((long)(time).tv_sec < 0 || ((time).tv_sec == 0 && (long)(time).tv_usec < 0))
# 144 "systime.h"
#define EMACS_SET_SECS_USECS(time,secs,usecs) (EMACS_SET_SECS (time, secs), EMACS_SET_USECS (time, usecs))
extern int set_file_times (const char *, struct timeval, struct timeval);
extern void set_waiting_for_input (struct timeval *);
extern Lisp_Object make_time (time_t);
#define EMACS_TIME_CMP(T1,T2) (EMACS_SECS (T1) - EMACS_SECS (T2) + (EMACS_SECS (T1) == EMACS_SECS (T2) ? EMACS_USECS (T1) - EMACS_USECS (T2) : 0))
#define EMACS_TIME_EQ(T1,T2) (EMACS_TIME_CMP (T1, T2) == 0)
#define EMACS_TIME_NE(T1,T2) (EMACS_TIME_CMP (T1, T2) != 0)
#define EMACS_TIME_GT(T1,T2) (EMACS_TIME_CMP (T1, T2) > 0)
#define EMACS_TIME_GE(T1,T2) (EMACS_TIME_CMP (T1, T2) >= 0)
#define EMACS_TIME_LT(T1,T2) (EMACS_TIME_CMP (T1, T2) < 0)
#define EMACS_TIME_LE(T1,T2) (EMACS_TIME_CMP (T1, T2) <= 0)
# 35 "mac.c" 2
# 1 "sysselect.h" 1
# 24 "sysselect.h"
#undef init_process
#define init_process emacs_init_process
#define MAXDESC FD_SETSIZE
#define SELECT_TYPE fd_set
# 36 "mac.c" 2
# 1 "blockinput.h" 1
# 23 "blockinput.h"
#define EMACS_BLOCKINPUT_H
# 1 "atimer.h" 1
# 23 "atimer.h"
#define EMACS_ATIMER_H
#define P_(proto) proto
# 36 "atimer.h"
struct atimer;
enum atimer_type
{
ATIMER_ABSOLUTE,
ATIMER_RELATIVE,
ATIMER_CONTINUOUS
};
typedef void (* atimer_callback) (struct atimer *timer);
struct atimer
{
enum atimer_type type;
struct timeval expiration;
struct timeval interval;
atimer_callback fn;
void *client_data;
struct atimer *next;
};
struct atimer *start_atimer (enum atimer_type, struct timeval, atimer_callback, void *);
void cancel_atimer (struct atimer *);
void do_pending_atimers (void);
void init_atimer (void);
void turn_on_atimers (int);
void stop_other_atimers (struct atimer *);
void run_all_atimers (void);
Lisp_Object unwind_stop_other_atimers (Lisp_Object);
# 26 "blockinput.h" 2
# 52 "blockinput.h"
extern volatile int interrupt_input_blocked;
extern int interrupt_input_pending;
extern int pending_atimers;
#define BLOCK_INPUT (interrupt_input_blocked++)
# 82 "blockinput.h"
#define UNBLOCK_INPUT do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0)
# 101 "blockinput.h"
#define TOTALLY_UNBLOCK_INPUT do if (interrupt_input_blocked != 0) { interrupt_input_blocked = 1; UNBLOCK_INPUT; } while (0)
# 112 "blockinput.h"
#define UNBLOCK_INPUT_TO(LEVEL) do { interrupt_input_blocked = (LEVEL) + 1; UNBLOCK_INPUT; } while (0)
#define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT
#define INPUT_BLOCKED_P (interrupt_input_blocked > 0)
extern void reinvoke_input_signal ();
# 37 "mac.c" 2
# 1 "macterm.h" 1
# 24 "macterm.h"
# 1 "macgui.h" 1
# 25 "macgui.h"
#define EMACS_MACGUI_H
typedef struct _XDisplay Display;
typedef Lisp_Object XrmDatabase;
typedef unsigned long Time;
#undef Z
#undef mktime
#undef DEBUG
#undef free
#undef malloc
#undef realloc
#undef max
#undef min
#undef init_process
# 1 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 3
#define __CARBON__
# 1 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 3
#define __CORESERVICES__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 3
#define __AE__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 3
#define __CARBONCORE__
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 1 3
#define __COREFOUNDATION_COREFOUNDATION__ 1
#define __COREFOUNDATION__ 1
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdarg.h" 1 3 4
# 34 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdarg.h" 3 4
#define _STDARG_H
#define _ANSI_STDARG_H_
#undef __need___va_list
#define __GNUC_VA_LIST
typedef __builtin_va_list __gnuc_va_list;
#define va_start(v,l) __builtin_va_start(v,l)
#define va_end(v) __builtin_va_end(v)
#define va_arg(v,l) __builtin_va_arg(v,l)
#define va_copy(d,s) __builtin_va_copy(d,s)
#define __va_copy(d,s) __builtin_va_copy(d,s)
# 111 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdarg.h" 3 4
#define _VA_LIST_
#define _VA_LIST_DEFINED
#define _VA_LIST_T_H
#define __va_list__
# 13 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/assert.h" 1 3 4
# 52 "/usr/include/assert.h" 3 4
#undef assert
#undef __assert
# 75 "/usr/include/assert.h" 3 4
void __assert_rtn(const char *, const char *, int, const char *) __attribute__((__noreturn__));
void __eprintf(const char *, const char *, unsigned, const char *) __attribute__((__noreturn__));
#define __assert(e,file,line) __eprintf ("%s:%u: failed assertion `%s'\n", file, line, e)
#define assert(e) (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/ctype.h" 1 3 4
# 67 "/usr/include/ctype.h" 3 4
#define _CTYPE_H_
# 1 "/usr/include/runetype.h" 1 3 4
# 40 "/usr/include/runetype.h" 3 4
#define _RUNETYPE_H_
# 69 "/usr/include/runetype.h" 3 4
#define _WINT_T
typedef __darwin_wint_t wint_t;
#define _CACHED_RUNES (1 <<8 )
#define _CRMASK (~(_CACHED_RUNES - 1))
typedef struct {
__darwin_rune_t __min;
__darwin_rune_t __max;
__darwin_rune_t __map;
__uint32_t *__types;
} _RuneEntry;
typedef struct {
int __nranges;
_RuneEntry *__ranges;
} _RuneRange;
typedef struct {
char __name[14];
__uint32_t __mask;
} _RuneCharClass;
typedef struct {
char __magic[8];
char __encoding[32];
__darwin_rune_t (*__sgetrune)(const char *, __darwin_size_t, char const **);
int (*__sputrune)(__darwin_rune_t, char *, __darwin_size_t, char **);
__darwin_rune_t __invalid_rune;
__uint32_t __runetype[(1 <<8 )];
__darwin_rune_t __maplower[(1 <<8 )];
__darwin_rune_t __mapupper[(1 <<8 )];
_RuneRange __runetype_ext;
_RuneRange __maplower_ext;
_RuneRange __mapupper_ext;
void *__variable;
int __variable_len;
int __ncharclasses;
_RuneCharClass *__charclasses;
} _RuneLocale;
#define _RUNE_MAGIC_A "RuneMagA"
extern _RuneLocale _DefaultRuneLocale;
extern _RuneLocale *_CurrentRuneLocale;
# 70 "/usr/include/ctype.h" 2 3 4
#define _CTYPE_A 0x00000100L
#define _CTYPE_C 0x00000200L
#define _CTYPE_D 0x00000400L
#define _CTYPE_G 0x00000800L
#define _CTYPE_L 0x00001000L
#define _CTYPE_P 0x00002000L
#define _CTYPE_S 0x00004000L
#define _CTYPE_U 0x00008000L
#define _CTYPE_X 0x00010000L
#define _CTYPE_B 0x00020000L
#define _CTYPE_R 0x00040000L
#define _CTYPE_I 0x00080000L
#define _CTYPE_T 0x00100000L
#define _CTYPE_Q 0x00200000L
#define _CTYPE_SW0 0x20000000L
#define _CTYPE_SW1 0x40000000L
#define _CTYPE_SW2 0x80000000L
#define _CTYPE_SW3 0xc0000000L
#define _CTYPE_SWM 0xe0000000L
#define _CTYPE_SWS 30
# 124 "/usr/include/ctype.h" 3 4
#define __DARWIN_CTYPE_static_inline static __inline
# 135 "/usr/include/ctype.h" 3 4
#define __DARWIN_CTYPE_TOP_static_inline static __inline
# 145 "/usr/include/ctype.h" 3 4
unsigned long ___runetype(__darwin_ct_rune_t);
__darwin_ct_rune_t ___tolower(__darwin_ct_rune_t);
__darwin_ct_rune_t ___toupper(__darwin_ct_rune_t);
static __inline int
isascii(int _c)
{
return ((_c & ~0x7F) == 0);
}
# 164 "/usr/include/ctype.h" 3 4
int __maskrune(__darwin_ct_rune_t, unsigned long);
static __inline int
__istype(__darwin_ct_rune_t _c, unsigned long _f)
{
return (isascii(_c) ? !!(_DefaultRuneLocale.__runetype[_c] & _f)
: !!__maskrune(_c, _f));
}
static __inline __darwin_ct_rune_t
__isctype(__darwin_ct_rune_t _c, unsigned long _f)
{
return (_c < 0 || _c >= (1 <<8 )) ? 0 :
!!(_DefaultRuneLocale.__runetype[_c] & _f);
}
# 204 "/usr/include/ctype.h" 3 4
__darwin_ct_rune_t __toupper(__darwin_ct_rune_t);
__darwin_ct_rune_t __tolower(__darwin_ct_rune_t);
static __inline int
__wcwidth(__darwin_ct_rune_t _c)
{
unsigned int _x;
if (_c == 0)
return (0);
_x = (unsigned int)__maskrune(_c, 0xe0000000L|0x00040000L);
if ((_x & 0xe0000000L) != 0)
return ((_x & 0xe0000000L) >> 30);
return ((_x & 0x00040000L) != 0 ? 1 : -1);
}
#define _tolower(c) __tolower(c)
#define _toupper(c) __toupper(c)
static __inline int
isalnum(int _c)
{
return (__istype(_c, 0x00000100L|0x00000400L));
}
static __inline int
isalpha(int _c)
{
return (__istype(_c, 0x00000100L));
}
static __inline int
isblank(int _c)
{
return (__istype(_c, 0x00020000L));
}
static __inline int
iscntrl(int _c)
{
return (__istype(_c, 0x00000200L));
}
static __inline int
isdigit(int _c)
{
return (__isctype(_c, 0x00000400L));
}
static __inline int
isgraph(int _c)
{
return (__istype(_c, 0x00000800L));
}
static __inline int
islower(int _c)
{
return (__istype(_c, 0x00001000L));
}
static __inline int
isprint(int _c)
{
return (__istype(_c, 0x00040000L));
}
static __inline int
ispunct(int _c)
{
return (__istype(_c, 0x00002000L));
}
static __inline int
isspace(int _c)
{
return (__istype(_c, 0x00004000L));
}
static __inline int
isupper(int _c)
{
return (__istype(_c, 0x00008000L));
}
static __inline int
isxdigit(int _c)
{
return (__isctype(_c, 0x00010000L));
}
static __inline int
toascii(int _c)
{
return (_c & 0x7F);
}
static __inline int
tolower(int _c)
{
return (__tolower(_c));
}
static __inline int
toupper(int _c)
{
return (__toupper(_c));
}
static __inline int
digittoint(int _c)
{
return (__maskrune(_c, 0x0F));
}
static __inline int
ishexnumber(int _c)
{
return (__istype(_c, 0x00010000L));
}
static __inline int
isideogram(int _c)
{
return (__istype(_c, 0x00080000L));
}
static __inline int
isnumber(int _c)
{
return (__istype(_c, 0x00000400L));
}
static __inline int
isphonogram(int _c)
{
return (__istype(_c, 0x00200000L));
}
static __inline int
isrune(int _c)
{
return (__istype(_c, 0xFFFFFFF0L));
}
static __inline int
isspecial(int _c)
{
return (__istype(_c, 0x00100000L));
}
# 15 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/errno.h" 1 3 4
# 16 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/float.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/float.h" 3 4
#define _FLOAT_H___
#undef FLT_RADIX
#define FLT_RADIX __FLT_RADIX__
#undef FLT_MANT_DIG
#undef DBL_MANT_DIG
#undef LDBL_MANT_DIG
#define FLT_MANT_DIG __FLT_MANT_DIG__
#define DBL_MANT_DIG __DBL_MANT_DIG__
#define LDBL_MANT_DIG __LDBL_MANT_DIG__
# 53 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/float.h" 3 4
#undef FLT_DIG
#undef DBL_DIG
#undef LDBL_DIG
#define FLT_DIG __FLT_DIG__
#define DBL_DIG __DBL_DIG__
#define LDBL_DIG __LDBL_DIG__
#undef FLT_MIN_EXP
#undef DBL_MIN_EXP
#undef LDBL_MIN_EXP
#define FLT_MIN_EXP __FLT_MIN_EXP__
#define DBL_MIN_EXP __DBL_MIN_EXP__
#define LDBL_MIN_EXP __LDBL_MIN_EXP__
#undef FLT_MIN_10_EXP
#undef DBL_MIN_10_EXP
#undef LDBL_MIN_10_EXP
#define FLT_MIN_10_EXP __FLT_MIN_10_EXP__
#define DBL_MIN_10_EXP __DBL_MIN_10_EXP__
#define LDBL_MIN_10_EXP __LDBL_MIN_10_EXP__
#undef FLT_MAX_EXP
#undef DBL_MAX_EXP
#undef LDBL_MAX_EXP
#define FLT_MAX_EXP __FLT_MAX_EXP__
#define DBL_MAX_EXP __DBL_MAX_EXP__
#define LDBL_MAX_EXP __LDBL_MAX_EXP__
#undef FLT_MAX_10_EXP
#undef DBL_MAX_10_EXP
#undef LDBL_MAX_10_EXP
#define FLT_MAX_10_EXP __FLT_MAX_10_EXP__
#define DBL_MAX_10_EXP __DBL_MAX_10_EXP__
#define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__
#undef FLT_MAX
#undef DBL_MAX
#undef LDBL_MAX
#define FLT_MAX __FLT_MAX__
#define DBL_MAX __DBL_MAX__
#define LDBL_MAX __LDBL_MAX__
#undef FLT_EPSILON
#undef DBL_EPSILON
#undef LDBL_EPSILON
#define FLT_EPSILON __FLT_EPSILON__
#define DBL_EPSILON __DBL_EPSILON__
#define LDBL_EPSILON __LDBL_EPSILON__
#undef FLT_MIN
#undef DBL_MIN
#undef LDBL_MIN
#define FLT_MIN __FLT_MIN__
#define DBL_MIN __DBL_MIN__
#define LDBL_MIN __LDBL_MIN__
#undef FLT_ROUNDS
#define FLT_ROUNDS 1
# 17 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 1 3 4
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/syslimits.h" 1 3 4
#define _GCC_NEXT_LIMITS_H
# 8 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 2 3 4
# 1 "/usr/include/limits.h" 1 3 4
# 61 "/usr/include/limits.h" 3 4
#define _LIMITS_H_
# 1 "/usr/include/machine/limits.h" 1 3 4
# 1 "/usr/include/i386/limits.h" 1 3 4
# 37 "/usr/include/i386/limits.h" 3 4
#define _I386_LIMITS_H_
# 1 "/usr/include/i386/_limits.h" 1 3 4
# 23 "/usr/include/i386/_limits.h" 3 4
#define _I386__LIMITS_H_
#define __DARWIN_CLK_TCK 100
# 41 "/usr/include/i386/limits.h" 2 3 4
#define CHAR_BIT 8
#define MB_LEN_MAX 6
#define CLK_TCK __DARWIN_CLK_TCK
# 59 "/usr/include/i386/limits.h" 3 4
#define SCHAR_MAX 127
#define SCHAR_MIN (-128)
#define UCHAR_MAX 255
#define CHAR_MAX 127
#define CHAR_MIN (-128)
#define USHRT_MAX 65535
#define SHRT_MAX 32767
#define SHRT_MIN (-32768)
#define UINT_MAX 0xffffffff
#define INT_MAX 2147483647
#define INT_MIN (-2147483647-1)
#define ULONG_MAX 0xffffffffffffffffUL
#define LONG_MAX 0x7fffffffffffffffL
#define LONG_MIN (-0x7fffffffffffffffL-1)
#define ULLONG_MAX 0xffffffffffffffffULL
#define LLONG_MAX 0x7fffffffffffffffLL
#define LLONG_MIN (-0x7fffffffffffffffLL-1)
#define LONG_BIT 64
#define SSIZE_MAX LONG_MAX
#define WORD_BIT 32
#define SIZE_T_MAX ULONG_MAX
#define UQUAD_MAX ULLONG_MAX
#define QUAD_MAX LLONG_MAX
#define QUAD_MIN LLONG_MIN
# 9 "/usr/include/machine/limits.h" 2 3 4
# 65 "/usr/include/limits.h" 2 3 4
# 1 "/usr/include/sys/syslimits.h" 1 3 4
# 66 "/usr/include/sys/syslimits.h" 3 4
#define _SYS_SYSLIMITS_H_
# 75 "/usr/include/sys/syslimits.h" 3 4
#define ARG_MAX (256 * 1024)
#define CHILD_MAX 266
#define GID_MAX 2147483647U
#define LINK_MAX 32767
#define MAX_CANON 1024
#define MAX_INPUT 1024
#define NAME_MAX 255
#define NGROUPS_MAX 16
#define UID_MAX 2147483647U
#define OPEN_MAX 10240
#define PATH_MAX 1024
#define PIPE_BUF 512
#define BC_BASE_MAX 99
#define BC_DIM_MAX 2048
#define BC_SCALE_MAX 99
#define BC_STRING_MAX 1000
#define CHARCLASS_NAME_MAX 14
#define COLL_WEIGHTS_MAX 2
#define EQUIV_CLASS_MAX 2
#define EXPR_NEST_MAX 32
#define LINE_MAX 2048
#define RE_DUP_MAX 255
#define NZERO 20
# 66 "/usr/include/limits.h" 2 3 4
#define _POSIX_AIO_LISTIO_MAX 2
#define _POSIX_AIO_MAX 1
#define _POSIX_DELAYTIMER_MAX 32
#define _POSIX_HOST_NAME_MAX 255
#define _POSIX_LOGIN_NAME_MAX 9
#define _POSIX_MQ_OPEN_MAX 8
#define _POSIX_MQ_PRIO_MAX 32
#define _POSIX_ARG_MAX 4096
#define _POSIX_CHILD_MAX 25
#define _POSIX_LINK_MAX 8
#define _POSIX_MAX_CANON 255
#define _POSIX_MAX_INPUT 255
#define _POSIX_NAME_MAX 14
#define _POSIX_NGROUPS_MAX 8
#define _POSIX_OPEN_MAX 20
#define _POSIX_PATH_MAX 256
#define _POSIX_PIPE_BUF 512
#define _POSIX_SSIZE_MAX 32767
#define _POSIX_STREAM_MAX 8
#define _POSIX_TZNAME_MAX 6
#define _POSIX_RE_DUP_MAX 255
#define _POSIX_RTSIG_MAX 8
#define _POSIX_SEM_NSEMS_MAX 256
#define _POSIX_SEM_VALUE_MAX 32767
#define _POSIX_SIGQUEUE_MAX 32
#define _POSIX_SS_REPL_MAX 4
#define _POSIX_SYMLINK_MAX 255
#define _POSIX_SYMLOOP_MAX 8
#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
#define _POSIX_THREAD_KEYS_MAX 128
#define _POSIX_THREAD_THREADS_MAX 64
#define _POSIX_TIMER_MAX 32
#define _POSIX_TRACE_EVENT_NAME_MAX 30
#define _POSIX_TRACE_NAME_MAX 8
#define _POSIX_TRACE_SYS_MAX 8
#define _POSIX_TRACE_USER_EVENT_MAX 32
#define _POSIX_TTY_NAME_MAX 9
#define _POSIX2_BC_BASE_MAX 99
#define _POSIX2_BC_DIM_MAX 2048
#define _POSIX2_BC_SCALE_MAX 99
#define _POSIX2_BC_STRING_MAX 1000
#define _POSIX2_CHARCLASS_NAME_MAX 14
#define _POSIX2_COLL_WEIGHTS_MAX 2
#define _POSIX2_EQUIV_CLASS_MAX 2
#define _POSIX2_EXPR_NEST_MAX 32
#define _POSIX2_LINE_MAX 2048
#define _POSIX2_RE_DUP_MAX 255
#define PTHREAD_STACK_MIN 8192
#define PTHREAD_DESTRUCTOR_ITERATIONS 4
#define PTHREAD_KEYS_MAX 512
#define PASS_MAX 128
#define NL_ARGMAX 9
#define NL_LANGMAX 14
#define NL_MSGMAX 32767
#define NL_NMAX 1
#define NL_SETMAX 255
#define NL_TEXTMAX 2048
#define _XOPEN_IOV_MAX 16
#define IOV_MAX 1024
#define _XOPEN_NAME_MAX 255
#define _XOPEN_PATH_MAX 1024
# 11 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 2 3 4
#undef _GCC_NEXT_LIMITS_H
#define _LIMITS_H___
#undef CHAR_BIT
#define CHAR_BIT __CHAR_BIT__
#undef SCHAR_MIN
#define SCHAR_MIN (-SCHAR_MAX - 1)
#undef SCHAR_MAX
#define SCHAR_MAX __SCHAR_MAX__
#undef UCHAR_MAX
#define UCHAR_MAX (SCHAR_MAX * 2 + 1)
# 51 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 3 4
#undef CHAR_MIN
#define CHAR_MIN SCHAR_MIN
#undef CHAR_MAX
#define CHAR_MAX SCHAR_MAX
#undef SHRT_MIN
#define SHRT_MIN (-SHRT_MAX - 1)
#undef SHRT_MAX
#define SHRT_MAX __SHRT_MAX__
#undef USHRT_MAX
#define USHRT_MAX (SHRT_MAX * 2 + 1)
#undef INT_MIN
#define INT_MIN (-INT_MAX - 1)
#undef INT_MAX
#define INT_MAX __INT_MAX__
#undef UINT_MAX
#define UINT_MAX (INT_MAX * 2U + 1U)
#undef LONG_MIN
#define LONG_MIN (-LONG_MAX - 1L)
#undef LONG_MAX
#define LONG_MAX __LONG_MAX__
#undef ULONG_MAX
#define ULONG_MAX (LONG_MAX * 2UL + 1UL)
# 106 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 3 4
#undef LONG_LONG_MIN
#define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL)
#undef LONG_LONG_MAX
#define LONG_LONG_MAX __LONG_LONG_MAX__
#undef ULONG_LONG_MAX
#define ULONG_LONG_MAX (LONG_LONG_MAX * 2ULL + 1ULL)
# 18 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/locale.h" 1 3 4
# 38 "/usr/include/locale.h" 3 4
#define _LOCALE_H_
# 1 "/usr/include/_locale.h" 1 3 4
# 38 "/usr/include/_locale.h" 3 4
#define __LOCALE_H_
struct lconv {
char *decimal_point;
char *thousands_sep;
char *grouping;
char *int_curr_symbol;
char *currency_symbol;
char *mon_decimal_point;
char *mon_thousands_sep;
char *mon_grouping;
char *positive_sign;
char *negative_sign;
char int_frac_digits;
char frac_digits;
char p_cs_precedes;
char p_sep_by_space;
char n_cs_precedes;
char n_sep_by_space;
char p_sign_posn;
char n_sign_posn;
char int_p_cs_precedes;
char int_n_cs_precedes;
char int_p_sep_by_space;
char int_n_sep_by_space;
char int_p_sign_posn;
char int_n_sign_posn;
};
struct lconv *localeconv(void);
# 41 "/usr/include/locale.h" 2 3 4
#define LC_ALL 0
#define LC_COLLATE 1
#define LC_CTYPE 2
#define LC_MONETARY 3
#define LC_NUMERIC 4
#define LC_TIME 5
#define LC_MESSAGES 6
#define _LC_LAST 7
char *setlocale(int, const char *);
# 19 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/math.h" 1 3 4
# 23 "/usr/include/math.h" 3 4
#define __MATH_H__
# 1 "/usr/include/architecture/i386/math.h" 1 3 4
# 31 "/usr/include/architecture/i386/math.h" 3 4
#define __MATH__
# 49 "/usr/include/architecture/i386/math.h" 3 4
typedef float float_t;
typedef double double_t;
# 63 "/usr/include/architecture/i386/math.h" 3 4
#define HUGE_VAL __builtin_huge_val()
#define HUGE_VALF __builtin_huge_valf()
#define HUGE_VALL __builtin_huge_vall()
#define NAN __builtin_nanf("0x7fc00000")
#define __MATH_H_ALWAYS_INLINE__ __attribute__ ((always_inline))
# 76 "/usr/include/architecture/i386/math.h" 3 4
#define INFINITY HUGE_VALF
enum {
_FP_NAN = 1,
_FP_INFINITE = 2,
_FP_ZERO = 3,
_FP_NORMAL = 4,
_FP_SUBNORMAL = 5,
_FP_SUPERNORMAL = 6
};
#define FP_NAN _FP_NAN
#define FP_INFINITE _FP_INFINITE
#define FP_ZERO _FP_ZERO
#define FP_NORMAL _FP_NORMAL
#define FP_SUBNORMAL _FP_SUBNORMAL
#define FP_SUPERNORMAL _FP_SUPERNORMAL
#undef FP_FAST_FMA
#undef FP_FAST_FMAF
#undef FP_FAST_FMAL
#define FP_ILOGB0 (-2147483647 - 1)
#define FP_ILOGBNAN (-2147483647 - 1)
#define MATH_ERRNO 1
#define MATH_ERREXCEPT 2
#define math_errhandling (__math_errhandling())
extern unsigned int __math_errhandling ( void );
# 132 "/usr/include/architecture/i386/math.h" 3 4
#define fpclassify(x) ( sizeof (x) == sizeof(float ) ? __fpclassifyf((float)(x)) : sizeof (x) == sizeof(double) ? __fpclassifyd((double)(x)) : __fpclassify ((long double)(x)))
extern int __fpclassifyf(float );
extern int __fpclassifyd(double );
extern int __fpclassify (long double);
#define isnormal(x) ( sizeof (x) == sizeof(float ) ? __inline_isnormalf((float)(x)) : sizeof (x) == sizeof(double) ? __inline_isnormald((double)(x)) : __inline_isnormal ((long double)(x)))
#define isfinite(x) ( sizeof (x) == sizeof(float ) ? __inline_isfinitef((float)(x)) : sizeof (x) == sizeof(double) ? __inline_isfinited((double)(x)) : __inline_isfinite ((long double)(x)))
#define isinf(x) ( sizeof (x) == sizeof(float ) ? __inline_isinff((float)(x)) : sizeof (x) == sizeof(double) ? __inline_isinfd((double)(x)) : __inline_isinf ((long double)(x)))
#define isnan(x) ( sizeof (x) == sizeof(float ) ? __inline_isnanf((float)(x)) : sizeof (x) == sizeof(double) ? __inline_isnand((double)(x)) : __inline_isnan ((long double)(x)))
#define signbit(x) ( sizeof (x) == sizeof(float ) ? __inline_signbitf((float)(x)) : sizeof (x) == sizeof(double) ? __inline_signbitd((double)(x)) : __inline_signbit((long double)(x)))
static __inline__ int __inline_isfinitef (float ) __attribute__ ((always_inline));
static __inline__ int __inline_isfinited (double ) __attribute__ ((always_inline));
static __inline__ int __inline_isfinite (long double) __attribute__ ((always_inline));
static __inline__ int __inline_isinff (float ) __attribute__ ((always_inline));
static __inline__ int __inline_isinfd (double ) __attribute__ ((always_inline));
static __inline__ int __inline_isinf (long double) __attribute__ ((always_inline));
static __inline__ int __inline_isnanf (float ) __attribute__ ((always_inline));
static __inline__ int __inline_isnand (double ) __attribute__ ((always_inline));
static __inline__ int __inline_isnan (long double) __attribute__ ((always_inline));
static __inline__ int __inline_isnormalf (float ) __attribute__ ((always_inline));
static __inline__ int __inline_isnormald (double ) __attribute__ ((always_inline));
static __inline__ int __inline_isnormal (long double) __attribute__ ((always_inline));
static __inline__ int __inline_signbitf (float ) __attribute__ ((always_inline));
static __inline__ int __inline_signbitd (double ) __attribute__ ((always_inline));
static __inline__ int __inline_signbit (long double) __attribute__ ((always_inline));
static __inline__ int __inline_isinff( float __x ) { return __builtin_fabsf(__x) == __builtin_inff(); }
static __inline__ int __inline_isinfd( double __x ) { return __builtin_fabs(__x) == __builtin_inf(); }
static __inline__ int __inline_isinf( long double __x ) { return __builtin_fabsl(__x) == __builtin_infl(); }
static __inline__ int __inline_isfinitef( float __x ) { return __x == __x && __builtin_fabsf(__x) != __builtin_inff(); }
static __inline__ int __inline_isfinited( double __x ) { return __x == __x && __builtin_fabs(__x) != __builtin_inf(); }
static __inline__ int __inline_isfinite( long double __x ) { return __x == __x && __builtin_fabsl(__x) != __builtin_infl(); }
static __inline__ int __inline_isnanf( float __x ) { return __x != __x; }
static __inline__ int __inline_isnand( double __x ) { return __x != __x; }
static __inline__ int __inline_isnan( long double __x ) { return __x != __x; }
static __inline__ int __inline_signbitf( float __x ) { union{ float __f; unsigned int __u; }__u; __u.__f = __x; return (int)(__u.__u >> 31); }
static __inline__ int __inline_signbitd( double __x ) { union{ double __f; unsigned int __u[2]; }__u; __u.__f = __x; return (int)(__u.__u[1] >> 31); }
static __inline__ int __inline_signbit( long double __x ){ union{ long double __ld; struct{ unsigned int __m[2]; short __sexp; }__p; }__u; __u.__ld = __x; return (int) (((unsigned short) __u.__p.__sexp) >> 15); }
static __inline__ int __inline_isnormalf( float __x ) { float fabsf = __builtin_fabsf(__x); if( __x != __x ) return 0; return fabsf < __builtin_inff() && fabsf >= 1.17549435e-38F; }
static __inline__ int __inline_isnormald( double __x ) { double fabsf = __builtin_fabs(__x); if( __x != __x ) return 0; return fabsf < __builtin_inf() && fabsf >= 2.2250738585072014e-308; }
static __inline__ int __inline_isnormal( long double __x ) { long double fabsf = __builtin_fabsl(__x); if( __x != __x ) return 0; return fabsf < __builtin_infl() && fabsf >= 3.36210314311209350626e-4932L; }
# 262 "/usr/include/architecture/i386/math.h" 3 4
extern double acos( double );
extern float acosf( float );
extern double asin( double );
extern float asinf( float );
extern double atan( double );
extern float atanf( float );
extern double atan2( double, double );
extern float atan2f( float, float );
extern double cos( double );
extern float cosf( float );
extern double sin( double );
extern float sinf( float );
extern double tan( double );
extern float tanf( float );
extern double acosh( double );
extern float acoshf( float );
extern double asinh( double );
extern float asinhf( float );
extern double atanh( double );
extern float atanhf( float );
extern double cosh( double );
extern float coshf( float );
extern double sinh( double );
extern float sinhf( float );
extern double tanh( double );
extern float tanhf( float );
extern double exp ( double );
extern float expf ( float );
extern double exp2 ( double );
extern float exp2f ( float );
extern double expm1 ( double );
extern float expm1f ( float );
extern double log ( double );
extern float logf ( float );
extern double log10 ( double );
extern float log10f ( float );
extern double log2 ( double );
extern float log2f ( float );
extern double log1p ( double );
extern float log1pf ( float );
extern double logb ( double );
extern float logbf ( float );
extern double modf ( double, double * );
extern float modff ( float, float * );
extern double ldexp ( double, int );
extern float ldexpf ( float, int );
extern double frexp ( double, int * );
extern float frexpf ( float, int * );
extern int ilogb ( double );
extern int ilogbf ( float );
extern double scalbn ( double, int );
extern float scalbnf ( float, int );
extern double scalbln ( double, long int );
extern float scalblnf ( float, long int );
extern double fabs( double );
extern float fabsf( float );
extern double cbrt( double );
extern float cbrtf( float );
extern double hypot ( double, double );
extern float hypotf ( float, float );
extern double pow ( double, double );
extern float powf ( float, float );
extern double sqrt( double );
extern float sqrtf( float );
extern double erf( double );
extern float erff( float );
extern double erfc( double );
extern float erfcf( float );
extern double lgamma( double );
extern float lgammaf( float );
extern double tgamma( double );
extern float tgammaf( float );
extern double ceil ( double );
extern float ceilf ( float );
extern double floor ( double );
extern float floorf ( float );
extern double nearbyint ( double );
extern float nearbyintf ( float );
extern double rint ( double );
extern float rintf ( float );
extern long int lrint ( double );
extern long int lrintf ( float );
extern double round ( double );
extern float roundf ( float );
extern long int lround ( double );
extern long int lroundf ( float );
extern long long int llrint ( double );
extern long long int llrintf ( float );
extern long long int llround ( double );
extern long long int llroundf ( float );
extern double trunc ( double );
extern float truncf ( float );
extern double fmod ( double, double );
extern float fmodf ( float, float );
extern double remainder ( double, double );
extern float remainderf ( float, float );
extern double remquo ( double, double, int * );
extern float remquof ( float, float, int * );
extern double copysign ( double, double );
extern float copysignf ( float, float );
extern double nan( const char * );
extern float nanf( const char * );
extern double nextafter ( double, double );
extern float nextafterf ( float, float );
extern double fdim ( double, double );
extern float fdimf ( float, float );
extern double fmax ( double, double );
extern float fmaxf ( float, float );
extern double fmin ( double, double );
extern float fminf ( float, float );
extern double fma ( double, double, double );
extern float fmaf ( float, float, float );
extern long double acosl(long double);
extern long double asinl(long double);
extern long double atanl(long double);
extern long double atan2l(long double, long double);
extern long double cosl(long double);
extern long double sinl(long double);
extern long double tanl(long double);
extern long double acoshl(long double);
extern long double asinhl(long double);
extern long double atanhl(long double);
extern long double coshl(long double);
extern long double sinhl(long double);
extern long double tanhl(long double);
extern long double expl(long double);
extern long double exp2l(long double);
extern long double expm1l(long double);
extern long double logl(long double);
extern long double log10l(long double);
extern long double log2l(long double);
extern long double log1pl(long double);
extern long double logbl(long double);
extern long double modfl(long double, long double *);
extern long double ldexpl(long double, int);
extern long double frexpl(long double, int *);
extern int ilogbl(long double);
extern long double scalbnl(long double, int);
extern long double scalblnl(long double, long int);
extern long double fabsl(long double);
extern long double cbrtl(long double);
extern long double hypotl(long double, long double);
extern long double powl(long double, long double);
extern long double sqrtl(long double);
extern long double erfl(long double);
extern long double erfcl(long double);
extern long double lgammal(long double);
extern long double tgammal(long double);
extern long double ceill(long double);
extern long double floorl(long double);
extern long double nearbyintl(long double);
extern long double rintl(long double);
extern long int lrintl(long double);
extern long double roundl(long double);
extern long int lroundl(long double);
extern long long int llrintl(long double);
extern long long int llroundl(long double);
extern long double truncl(long double);
extern long double fmodl(long double, long double);
extern long double remainderl(long double, long double);
extern long double remquol(long double, long double, int *);
extern long double copysignl(long double, long double);
extern long double nanl(const char *);
extern long double nextafterl(long double, long double);
extern double nexttoward(double, long double);
extern float nexttowardf(float, long double);
extern long double nexttowardl(long double, long double);
extern long double fdiml(long double, long double);
extern long double fmaxl(long double, long double);
extern long double fminl(long double, long double);
extern long double fmal(long double, long double, long double);
#define isgreater(x,y) __builtin_isgreater ((x),(y))
#define isgreaterequal(x,y) __builtin_isgreaterequal ((x),(y))
#define isless(x,y) __builtin_isless ((x),(y))
#define islessequal(x,y) __builtin_islessequal ((x),(y))
#define islessgreater(x,y) __builtin_islessgreater ((x),(y))
#define isunordered(x,y) __builtin_isunordered ((x),(y))
extern double __inf( void );
extern float __inff( void );
extern long double __infl( void );
extern float __nan( void );
extern double j0 ( double );
extern double j1 ( double );
extern double jn ( int, double );
extern double y0 ( double );
extern double y1 ( double );
extern double yn ( int, double );
extern double scalb ( double, double );
#define M_E 2.71828182845904523536028747135266250
#define M_LOG2E 1.44269504088896340735992468100189214
#define M_LOG10E 0.434294481903251827651128918916605082
#define M_LN2 0.693147180559945309417232121458176568
#define M_LN10 2.30258509299404568401799145468436421
#define M_PI 3.14159265358979323846264338327950288
#define M_PI_2 1.57079632679489661923132169163975144
#define M_PI_4 0.785398163397448309615660845819875721
#define M_1_PI 0.318309886183790671537767526745028724
#define M_2_PI 0.636619772367581343075535053490057448
#define M_2_SQRTPI 1.12837916709551257389615890312154517
#define M_SQRT2 1.41421356237309504880168872420969808
#define M_SQRT1_2 0.707106781186547524400844362104849039
#define MAXFLOAT ((float)3.40282346638528860e+38)
extern int signgam;
#define __WANT_EXTENSIONS__
#define FP_SNAN FP_NAN
#define FP_QNAN FP_NAN
extern long int rinttol ( double );
extern long int roundtol ( double );
# 568 "/usr/include/architecture/i386/math.h" 3 4
struct exception {
int type;
char *name;
double arg1;
double arg2;
double retval;
};
#define HUGE MAXFLOAT
#define X_TLOSS 1.41484755040568800000e+16
#define DOMAIN 1
#define SING 2
#define OVERFLOW 3
#define UNDERFLOW 4
#define TLOSS 5
#define PLOSS 6
extern int finite ( double );
extern double gamma ( double );
extern int matherr ( struct exception * );
extern double significand ( double );
extern double drem ( double, double );
# 29 "/usr/include/math.h" 2 3 4
# 20 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/setjmp.h" 1 3 4
# 24 "/usr/include/setjmp.h" 3 4
#define _BSD_SETJMP_H
# 1 "/usr/include/machine/setjmp.h" 1 3 4
# 32 "/usr/include/machine/setjmp.h" 3 4
#define _MACHINE_SETJMP_H_
# 1 "/usr/include/i386/setjmp.h" 1 3 4
# 35 "/usr/include/i386/setjmp.h" 3 4
#define _BSD_I386_SETJMP_H
# 46 "/usr/include/i386/setjmp.h" 3 4
#define _JBLEN ((9 * 2) + 3 + 16)
typedef int jmp_buf[((9 * 2) + 3 + 16)];
typedef int sigjmp_buf[((9 * 2) + 3 + 16) + 1];
# 65 "/usr/include/i386/setjmp.h" 3 4
int setjmp(jmp_buf);
void longjmp(jmp_buf, int);
int _setjmp(jmp_buf);
void _longjmp(jmp_buf, int);
int sigsetjmp(sigjmp_buf, int);
void siglongjmp(sigjmp_buf, int);
void longjmperror(void);
# 38 "/usr/include/machine/setjmp.h" 2 3 4
# 27 "/usr/include/setjmp.h" 2 3 4
# 21 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/include/signal.h" 1 3 4
# 59 "/usr/include/signal.h" 3 4
#define _USER_SIGNAL_H
# 71 "/usr/include/signal.h" 3 4
extern const char *const sys_signame[32];
extern const char *const sys_siglist[32];
int raise(int);
void (*bsd_signal(int, void (*)(int)))(int);
int kill(pid_t, int) __asm("_" "kill" );
int killpg(pid_t, int) __asm("_" "killpg" );
int pthread_kill(pthread_t, int);
int pthread_sigmask(int, const sigset_t *, sigset_t *) __asm("_" "pthread_sigmask" );
int sigaction(int, const struct sigaction * ,
struct sigaction * );
int sigaddset(sigset_t *, int);
int sigaltstack(const stack_t * , stack_t * ) __asm("_" "sigaltstack" );
int sigdelset(sigset_t *, int);
int sigemptyset(sigset_t *);
int sigfillset(sigset_t *);
int sighold(int);
int sigignore(int);
int siginterrupt(int, int);
int sigismember(const sigset_t *, int);
int sigpause(int) __asm("_" "sigpause" );
int sigpending(sigset_t *);
int sigprocmask(int, const sigset_t * , sigset_t * );
int sigrelse(int);
void (*sigset(int, void (*)(int)))(int);
int sigsuspend(const sigset_t *) __asm("_" "sigsuspend" );
int sigwait(const sigset_t * , int * ) __asm("_" "sigwait" );
void psignal(unsigned int, const char *);
int sigblock(int);
int sigsetmask(int);
int sigvec(int, struct sigvec *, struct sigvec *);
static __inline int
__sigbits(int __signo)
{
return __signo > 32 ? 0 : (1 << (__signo - 1));
}
#define sigaddset(set,signo) (*(set) |= __sigbits(signo), 0)
#define sigdelset(set,signo) (*(set) &= ~__sigbits(signo), 0)
#define sigismember(set,signo) ((*(set) & __sigbits(signo)) != 0)
#define sigemptyset(set) (*(set) = 0, 0)
#define sigfillset(set) (*(set) = ~(sigset_t)0, 0)
# 22 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 43 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#define _STDDEF_H
#define _STDDEF_H_
#define _ANSI_STDDEF_H
#define __STDDEF_H__
# 141 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#define _PTRDIFF_T
#define _T_PTRDIFF_
#define _T_PTRDIFF
#define __PTRDIFF_T
#define _PTRDIFF_T_
#define _BSD_PTRDIFF_T_
#define ___int_ptrdiff_t_h
#define _GCC_PTRDIFF_T
typedef long int ptrdiff_t;
# 163 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#undef __need_ptrdiff_t
# 236 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#undef __need_size_t
# 345 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#undef __need_wchar_t
# 398 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 3 4
#undef NULL
#define NULL ((void *)0)
#undef __need_NULL
#define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER)
# 23 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 38 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 1 3
#define __COREFOUNDATION_CFBASE__ 1
# 38 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 1 3 4
#define _STDINT_H_
#define __WORDSIZE 64
# 39 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define _UINT8_T
typedef unsigned char uint8_t;
#define _UINT16_T
typedef unsigned short uint16_t;
#define _UINT32_T
typedef unsigned int uint32_t;
#define _UINT64_T
typedef unsigned long long uint64_t;
typedef int8_t int_least8_t;
typedef int16_t int_least16_t;
typedef int32_t int_least32_t;
typedef int64_t int_least64_t;
typedef uint8_t uint_least8_t;
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
typedef uint64_t uint_least64_t;
typedef int8_t int_fast8_t;
typedef int16_t int_fast16_t;
typedef int32_t int_fast32_t;
typedef int64_t int_fast64_t;
typedef uint8_t uint_fast8_t;
typedef uint16_t uint_fast16_t;
typedef uint32_t uint_fast32_t;
typedef uint64_t uint_fast64_t;
# 95 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define _INTMAX_T
typedef long int intmax_t;
#define _UINTMAX_T
typedef long unsigned int uintmax_t;
# 128 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define INT8_MAX 127
#define INT16_MAX 32767
#define INT32_MAX 2147483647
#define INT64_MAX 9223372036854775807LL
#define INT8_MIN -128
#define INT16_MIN -32768
#define INT32_MIN (-INT32_MAX-1)
#define INT64_MIN (-INT64_MAX-1)
#define UINT8_MAX 255
#define UINT16_MAX 65535
#define UINT32_MAX 4294967295U
#define UINT64_MAX 18446744073709551615ULL
#define INT_LEAST8_MIN INT8_MIN
#define INT_LEAST16_MIN INT16_MIN
#define INT_LEAST32_MIN INT32_MIN
#define INT_LEAST64_MIN INT64_MIN
#define INT_LEAST8_MAX INT8_MAX
#define INT_LEAST16_MAX INT16_MAX
#define INT_LEAST32_MAX INT32_MAX
#define INT_LEAST64_MAX INT64_MAX
#define UINT_LEAST8_MAX UINT8_MAX
#define UINT_LEAST16_MAX UINT16_MAX
#define UINT_LEAST32_MAX UINT32_MAX
#define UINT_LEAST64_MAX UINT64_MAX
#define INT_FAST8_MIN INT8_MIN
#define INT_FAST16_MIN INT16_MIN
#define INT_FAST32_MIN INT32_MIN
#define INT_FAST64_MIN INT64_MIN
#define INT_FAST8_MAX INT8_MAX
#define INT_FAST16_MAX INT16_MAX
#define INT_FAST32_MAX INT32_MAX
#define INT_FAST64_MAX INT64_MAX
#define UINT_FAST8_MAX UINT8_MAX
#define UINT_FAST16_MAX UINT16_MAX
#define UINT_FAST32_MAX UINT32_MAX
#define UINT_FAST64_MAX UINT64_MAX
#define INTPTR_MIN INT64_MIN
#define INTPTR_MAX INT64_MAX
#define UINTPTR_MAX UINT64_MAX
#define INTMAX_MIN INT64_MIN
#define INTMAX_MAX INT64_MAX
#define UINTMAX_MAX UINT64_MAX
#define PTRDIFF_MIN INT64_MIN
#define PTRDIFF_MAX INT64_MAX
# 217 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define SIZE_MAX UINT64_MAX
#define WCHAR_MAX __WCHAR_MAX__
# 238 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define WCHAR_MIN (-WCHAR_MAX-1)
#define WINT_MIN INT32_MIN
#define WINT_MAX INT32_MAX
#define SIG_ATOMIC_MIN INT32_MIN
#define SIG_ATOMIC_MAX INT32_MAX
# 256 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h" 3 4
#define INT8_C(v) (v)
#define INT16_C(v) (v)
#define INT32_C(v) (v)
#define INT64_C(v) (v ## LL)
#define UINT8_C(v) (v ## U)
#define UINT16_C(v) (v ## U)
#define UINT32_C(v) (v ## U)
#define UINT64_C(v) (v ## ULL)
#define INTMAX_C(v) (v ## LL)
#define UINTMAX_C(v) (v ## ULL)
# 39 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h" 3 4
#define _STDBOOL_H
#define bool _Bool
#define true 1
#define false 0
# 51 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h" 3 4
#define __bool_true_false_are_defined 1
# 40 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 2 3
# 1 "/usr/include/AvailabilityMacros.h" 1 3 4
# 65 "/usr/include/AvailabilityMacros.h" 3 4
#define __AVAILABILITYMACROS__
#define MAC_OS_X_VERSION_10_0 1000
#define MAC_OS_X_VERSION_10_1 1010
#define MAC_OS_X_VERSION_10_2 1020
#define MAC_OS_X_VERSION_10_3 1030
#define MAC_OS_X_VERSION_10_4 1040
#define MAC_OS_X_VERSION_10_5 1050
# 85 "/usr/include/AvailabilityMacros.h" 3 4
#define MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
# 100 "/usr/include/AvailabilityMacros.h" 3 4
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_MIN_REQUIRED
# 120 "/usr/include/AvailabilityMacros.h" 3 4
#define WEAK_IMPORT_ATTRIBUTE __attribute__((weak_import))
# 131 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
# 140 "/usr/include/AvailabilityMacros.h" 3 4
#define UNAVAILABLE_ATTRIBUTE __attribute__((unavailable))
# 152 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_0_AND_LATER DEPRECATED_ATTRIBUTE
# 184 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER
# 194 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
# 206 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_1 DEPRECATED_ATTRIBUTE
# 217 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_1_AND_LATER DEPRECATED_ATTRIBUTE
# 238 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER
# 248 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
# 260 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 DEPRECATED_ATTRIBUTE
# 272 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_2 DEPRECATED_ATTRIBUTE
# 283 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_2_AND_LATER DEPRECATED_ATTRIBUTE
# 302 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER
# 312 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
# 324 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 DEPRECATED_ATTRIBUTE
# 336 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 DEPRECATED_ATTRIBUTE
# 348 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3 DEPRECATED_ATTRIBUTE
# 359 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_3_AND_LATER DEPRECATED_ATTRIBUTE
# 379 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER
# 389 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
# 401 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE
# 413 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE
# 425 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE
# 437 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 DEPRECATED_ATTRIBUTE
# 448 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_4_AND_LATER DEPRECATED_ATTRIBUTE
# 467 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER
# 477 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
# 489 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE
# 501 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE
# 513 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE
# 525 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE
# 537 "/usr/include/AvailabilityMacros.h" 3 4
#define AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 DEPRECATED_ATTRIBUTE
# 548 "/usr/include/AvailabilityMacros.h" 3 4
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER DEPRECATED_ATTRIBUTE
# 42 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
#define __MACTYPES__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define __CONDITIONALMACROS__
# 36 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define UNIVERSAL_INTERFACES_VERSION 0x0400
# 1 "/usr/include/TargetConditionals.h" 1 3 4
# 15 "/usr/include/TargetConditionals.h" 3 4
#define __TARGETCONDITIONALS__
# 61 "/usr/include/TargetConditionals.h" 3 4
#define TARGET_OS_MAC 1
#define TARGET_OS_WIN32 0
#define TARGET_OS_UNIX 0
#define TARGET_OS_EMBEDDED 0
# 113 "/usr/include/TargetConditionals.h" 3 4
#define TARGET_CPU_PPC 0
#define TARGET_CPU_PPC64 0
#define TARGET_CPU_68K 0
#define TARGET_CPU_X86 0
#define TARGET_CPU_X86_64 1
#define TARGET_CPU_MIPS 0
#define TARGET_CPU_SPARC 0
#define TARGET_CPU_ALPHA 0
#define TARGET_RT_MAC_CFM 0
#define TARGET_RT_MAC_MACHO 1
#define TARGET_RT_LITTLE_ENDIAN 1
#define TARGET_RT_BIG_ENDIAN 0
#define TARGET_RT_64_BIT 1
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 2 3
# 92 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define PRAGMA_IMPORT 0
#define PRAGMA_ONCE 0
#define PRAGMA_STRUCT_PACK 1
#define PRAGMA_STRUCT_PACKPUSH 1
#define PRAGMA_STRUCT_ALIGN 0
#define PRAGMA_ENUM_PACK 0
#define PRAGMA_ENUM_ALWAYSINT 0
#define PRAGMA_ENUM_OPTIONS 0
#define FOUR_CHAR_CODE(x) (x)
#define TYPE_EXTENDED 0
#define TYPE_LONGDOUBLE_IS_DOUBLE 0
#define TYPE_LONGLONG 1
#define TYPE_BOOL 0
#define FUNCTION_PASCAL 0
#define FUNCTION_DECLSPEC 0
#define FUNCTION_WIN32CC 0
# 358 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define EXTERN_API(_type) extern _type
#define EXTERN_API_C(_type) extern _type
#define EXTERN_API_STDCALL(_type) extern _type
#define EXTERN_API_C_STDCALL(_type) extern _type
#define DEFINE_API(_type) _type
#define DEFINE_API_C(_type) _type
#define DEFINE_API_STDCALL(_type) _type
#define DEFINE_API_C_STDCALL(_type) _type
#define CALLBACK_API(_type,_name) _type ( * _name)
#define CALLBACK_API_C(_type,_name) _type ( * _name)
#define CALLBACK_API_STDCALL(_type,_name) _type ( * _name)
#define CALLBACK_API_C_STDCALL(_type,_name) _type ( * _name)
#undef pascal
#define pascal
# 385 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define TARGET_API_MAC_OS8 0
#define TARGET_API_MAC_CARBON 1
#define TARGET_API_MAC_OSX 1
# 431 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define TARGET_CARBON 1
# 469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define PRAGMA_ALIGN_SUPPORTED ..PRAGMA_ALIGN_SUPPORTED_is_obsolete..
#define GENERATINGPOWERPC ..GENERATINGPOWERPC_is_obsolete..
#define GENERATING68K ..GENERATING68K_is_obsolete..
#define GENERATING68881 ..GENERATING68881_is_obsolete..
#define GENERATINGCFM ..GENERATINGCFM_is_obsolete..
#define CFMSYSTEMCALLS ..CFMSYSTEMCALLS_is_obsolete..
# 494 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define OLDROUTINENAMES 0
# 526 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define ONEWORDINLINE(w1)
#define TWOWORDINLINE(w1,w2)
#define THREEWORDINLINE(w1,w2,w3)
#define FOURWORDINLINE(w1,w2,w3,w4)
#define FIVEWORDINLINE(w1,w2,w3,w4,w5)
#define SIXWORDINLINE(w1,w2,w3,w4,w5,w6)
#define SEVENWORDINLINE(w1,w2,w3,w4,w5,w6,w7)
#define EIGHTWORDINLINE(w1,w2,w3,w4,w5,w6,w7,w8)
#define NINEWORDINLINE(w1,w2,w3,w4,w5,w6,w7,w8,w9)
#define TENWORDINLINE(w1,w2,w3,w4,w5,w6,w7,w8,w9,w10)
#define ELEVENWORDINLINE(w1,w2,w3,w4,w5,w6,w7,w8,w9,w10,w11)
#define TWELVEWORDINLINE(w1,w2,w3,w4,w5,w6,w7,w8,w9,w10,w11,w12)
# 564 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 3
#define OPAQUE_TOOLBOX_STRUCTS 1
#define OPAQUE_UPP_TYPES 1
#define ACCESSOR_CALLS_ARE_FUNCTIONS 1
#define CALL_NOT_IN_CARBON 0
#define MIXEDMODE_CALLS_ARE_FUNCTIONS 1
# 21 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 2 3
# 37 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
#pragma pack(push, 2)
# 55 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
#define ALLOW_OBSOLETE_CARBON_MACMEMORY 0
#define ALLOW_OBSOLETE_CARBON_OSUTILS 0
# 69 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
#define nil NULL
# 85 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef unsigned char UInt8;
typedef signed char SInt8;
typedef unsigned short UInt16;
typedef signed short SInt16;
typedef unsigned int UInt32;
typedef signed int SInt32;
# 112 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
struct wide {
UInt32 lo;
SInt32 hi;
};
typedef struct wide wide;
struct UnsignedWide {
UInt32 lo;
UInt32 hi;
};
typedef struct UnsignedWide UnsignedWide;
# 143 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef signed long long SInt64;
typedef unsigned long long UInt64;
# 163 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef SInt32 Fixed;
typedef Fixed * FixedPtr;
typedef SInt32 Fract;
typedef Fract * FractPtr;
typedef UInt32 UnsignedFixed;
typedef UnsignedFixed * UnsignedFixedPtr;
typedef short ShortFixed;
typedef ShortFixed * ShortFixedPtr;
# 190 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef float Float32;
typedef double Float64;
struct Float80 {
SInt16 exp;
UInt16 man[4];
};
typedef struct Float80 Float80;
struct Float96 {
SInt16 exp[2];
UInt16 man[4];
};
typedef struct Float96 Float96;
struct Float32Point {
Float32 x;
Float32 y;
};
typedef struct Float32Point Float32Point;
# 218 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef char * Ptr;
typedef Ptr * Handle;
typedef long Size;
# 248 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef SInt16 OSErr;
typedef SInt32 OSStatus;
typedef void * LogicalAddress;
typedef const void * ConstLogicalAddress;
typedef void * PhysicalAddress;
typedef UInt8 * BytePtr;
typedef unsigned long ByteCount;
typedef unsigned long ByteOffset;
typedef SInt32 Duration;
typedef UnsignedWide AbsoluteTime;
typedef UInt32 OptionBits;
typedef unsigned long ItemCount;
typedef UInt32 PBVersion;
typedef SInt16 ScriptCode;
typedef SInt16 LangCode;
typedef SInt16 RegionCode;
typedef UInt32 FourCharCode;
typedef FourCharCode OSType;
typedef FourCharCode ResType;
typedef OSType * OSTypePtr;
typedef ResType * ResTypePtr;
# 279 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef unsigned char Boolean;
# 292 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef long ( * ProcPtr)();
typedef void ( * Register68kProcPtr)();
typedef ProcPtr UniversalProcPtr;
typedef ProcPtr * ProcHandle;
typedef UniversalProcPtr * UniversalProcHandle;
# 317 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef void * PRefCon;
typedef void * URefCon;
typedef void * SRefCon;
# 347 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
enum {
noErr = 0
};
enum {
kNilOptions = 0
};
#define kInvalidID 0
enum {
kVariableLengthArray = 1
};
enum {
kUnknownType = 0x3F3F3F3F
};
# 416 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef UInt32 UnicodeScalarValue;
typedef UInt32 UTF32Char;
typedef UInt16 UniChar;
typedef UInt16 UTF16Char;
typedef UInt8 UTF8Char;
typedef UniChar * UniCharPtr;
typedef unsigned long UniCharCount;
typedef UniCharCount * UniCharCountPtr;
typedef unsigned char Str255[256];
typedef unsigned char Str63[64];
typedef unsigned char Str32[33];
typedef unsigned char Str31[32];
typedef unsigned char Str27[28];
typedef unsigned char Str15[16];
# 438 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef unsigned char Str32Field[34];
# 448 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef Str63 StrFileName;
typedef unsigned char * StringPtr;
typedef StringPtr * StringHandle;
typedef const unsigned char * ConstStringPtr;
typedef const unsigned char * ConstStr255Param;
typedef const unsigned char * ConstStr63Param;
typedef const unsigned char * ConstStr32Param;
typedef const unsigned char * ConstStr31Param;
typedef const unsigned char * ConstStr27Param;
typedef const unsigned char * ConstStr15Param;
typedef ConstStr63Param ConstStrFileNameParam;
#define StrLength(string) (*(unsigned char *)(string))
# 475 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
struct ProcessSerialNumber {
UInt32 highLongOfPSN;
UInt32 lowLongOfPSN;
};
typedef struct ProcessSerialNumber ProcessSerialNumber;
typedef ProcessSerialNumber * ProcessSerialNumberPtr;
# 497 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
struct Point {
short v;
short h;
};
typedef struct Point Point;
typedef Point * PointPtr;
struct Rect {
short top;
short left;
short bottom;
short right;
};
typedef struct Rect Rect;
typedef Rect * RectPtr;
struct FixedPoint {
Fixed x;
Fixed y;
};
typedef struct FixedPoint FixedPoint;
struct FixedRect {
Fixed left;
Fixed top;
Fixed right;
Fixed bottom;
};
typedef struct FixedRect FixedRect;
typedef short CharParameter;
enum {
normal = 0,
bold = 1,
italic = 2,
underline = 4,
outline = 8,
shadow = 0x10,
condense = 0x20,
extend = 0x40
};
typedef unsigned char Style;
typedef short StyleParameter;
typedef Style StyleField;
# 553 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
typedef SInt32 TimeValue;
typedef SInt32 TimeScale;
typedef wide CompTimeValue;
typedef SInt64 TimeValue64;
typedef struct TimeBaseRecord* TimeBase;
struct TimeRecord {
CompTimeValue value;
TimeScale scale;
TimeBase base;
};
typedef struct TimeRecord TimeRecord;
# 605 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
struct NumVersion {
UInt8 nonRelRev;
UInt8 stage;
UInt8 minorAndBugRev;
UInt8 majorRev;
};
typedef struct NumVersion NumVersion;
enum {
developStage = 0x20,
alphaStage = 0x40,
betaStage = 0x60,
finalStage = 0x80
};
union NumVersionVariant {
NumVersion parts;
UInt32 whole;
};
typedef union NumVersionVariant NumVersionVariant;
typedef NumVersionVariant * NumVersionVariantPtr;
typedef NumVersionVariantPtr * NumVersionVariantHandle;
struct VersRec {
NumVersion numericVersion;
short countryCode;
Str255 shortVersion;
Str255 reserved;
};
typedef struct VersRec VersRec;
typedef VersRec * VersRecPtr;
typedef VersRecPtr * VersRecHndl;
typedef UInt8 Byte;
typedef SInt8 SignedByte;
typedef wide * WidePtr;
typedef UnsignedWide * UnsignedWidePtr;
typedef Float80 extended80;
typedef Float96 extended96;
typedef SInt8 VHSelect;
# 666 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
extern void
Debugger(void) ;
# 678 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
extern void
DebugStr(ConstStr255Param debuggerMsg) ;
# 725 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
extern void
SysBreak(void) ;
# 737 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
extern void
SysBreakStr(ConstStr255Param debuggerMsg) ;
# 749 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
extern void
SysBreakFunc(ConstStr255Param debuggerMsg) ;
# 760 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h" 3
#pragma pack(pop)
# 46 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 2 3
# 90 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
#define CF_EXTERN_C_BEGIN
#define CF_EXTERN_C_END
# 108 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
#define TRUE 1
#define FALSE 0
# 129 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
#define CF_EXPORT extern
#define CF_INLINE static __inline__ __attribute__((always_inline))
# 147 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
extern double kCFCoreFoundationVersionNumber;
#define kCFCoreFoundationVersionNumber10_0 196.40
#define kCFCoreFoundationVersionNumber10_0_3 196.50
#define kCFCoreFoundationVersionNumber10_1 226.00
#define kCFCoreFoundationVersionNumber10_1_1 226.00
#define kCFCoreFoundationVersionNumber10_1_2 227.20
#define kCFCoreFoundationVersionNumber10_1_3 227.20
#define kCFCoreFoundationVersionNumber10_1_4 227.30
#define kCFCoreFoundationVersionNumber10_2 263.00
#define kCFCoreFoundationVersionNumber10_2_1 263.10
#define kCFCoreFoundationVersionNumber10_2_2 263.10
#define kCFCoreFoundationVersionNumber10_2_3 263.30
#define kCFCoreFoundationVersionNumber10_2_4 263.30
#define kCFCoreFoundationVersionNumber10_2_5 263.50
#define kCFCoreFoundationVersionNumber10_2_6 263.50
#define kCFCoreFoundationVersionNumber10_2_7 263.50
#define kCFCoreFoundationVersionNumber10_2_8 263.50
#define kCFCoreFoundationVersionNumber10_3 299.00
#define kCFCoreFoundationVersionNumber10_3_1 299.00
#define kCFCoreFoundationVersionNumber10_3_2 299.00
#define kCFCoreFoundationVersionNumber10_3_3 299.30
#define kCFCoreFoundationVersionNumber10_3_4 299.31
#define kCFCoreFoundationVersionNumber10_3_5 299.31
#define kCFCoreFoundationVersionNumber10_3_6 299.32
#define kCFCoreFoundationVersionNumber10_3_7 299.33
#define kCFCoreFoundationVersionNumber10_3_8 299.33
#define kCFCoreFoundationVersionNumber10_3_9 299.35
#define kCFCoreFoundationVersionNumber10_4 368.00
#define kCFCoreFoundationVersionNumber10_4_1 368.10
#define kCFCoreFoundationVersionNumber10_4_2 368.11
#define kCFCoreFoundationVersionNumber10_4_3 368.18
#define kCFCoreFoundationVersionNumber10_4_4_Intel 368.26
#define kCFCoreFoundationVersionNumber10_4_4_PowerPC 368.25
#define kCFCoreFoundationVersionNumber10_4_5_Intel 368.26
#define kCFCoreFoundationVersionNumber10_4_5_PowerPC 368.25
#define kCFCoreFoundationVersionNumber10_4_6_Intel 368.26
#define kCFCoreFoundationVersionNumber10_4_6_PowerPC 368.25
#define kCFCoreFoundationVersionNumber10_4_7 368.27
#define kCFCoreFoundationVersionNumber10_4_8 368.27
#define kCFCoreFoundationVersionNumber10_4_9 368.28
#define kCFCoreFoundationVersionNumber10_4_10 368.28
#define kCFCoreFoundationVersionNumber10_4_11 368.31
typedef unsigned long CFTypeID;
typedef unsigned long CFOptionFlags;
typedef unsigned long CFHashCode;
typedef signed long CFIndex;
typedef const void * CFTypeRef;
typedef const struct __CFString * CFStringRef;
typedef struct __CFString * CFMutableStringRef;
typedef CFTypeRef CFPropertyListRef;
enum {
kCFCompareLessThan = -1,
kCFCompareEqualTo = 0,
kCFCompareGreaterThan = 1
};
typedef CFIndex CFComparisonResult;
typedef CFComparisonResult (*CFComparatorFunction)(const void *val1, const void *val2, void *context);
enum {
kCFNotFound = -1
};
typedef struct {
CFIndex location;
CFIndex length;
} CFRange;
static __inline__ __attribute__((always_inline)) CFRange CFRangeMake(CFIndex loc, CFIndex len) {
CFRange range;
range.location = loc;
range.length = len;
return range;
}
extern
CFRange __CFRangeMake(CFIndex loc, CFIndex len);
typedef const struct __CFNull * CFNullRef;
extern
CFTypeID CFNullGetTypeID(void);
extern
const CFNullRef kCFNull;
# 273 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
typedef const struct __CFAllocator * CFAllocatorRef;
extern
const CFAllocatorRef kCFAllocatorDefault;
extern
const CFAllocatorRef kCFAllocatorSystemDefault;
extern
const CFAllocatorRef kCFAllocatorMalloc;
extern
const CFAllocatorRef kCFAllocatorMallocZone ;
extern
const CFAllocatorRef kCFAllocatorNull;
extern
const CFAllocatorRef kCFAllocatorUseContext;
typedef const void * (*CFAllocatorRetainCallBack)(const void *info);
typedef void (*CFAllocatorReleaseCallBack)(const void *info);
typedef CFStringRef (*CFAllocatorCopyDescriptionCallBack)(const void *info);
typedef void * (*CFAllocatorAllocateCallBack)(CFIndex allocSize, CFOptionFlags hint, void *info);
typedef void * (*CFAllocatorReallocateCallBack)(void *ptr, CFIndex newsize, CFOptionFlags hint, void *info);
typedef void (*CFAllocatorDeallocateCallBack)(void *ptr, void *info);
typedef CFIndex (*CFAllocatorPreferredSizeCallBack)(CFIndex size, CFOptionFlags hint, void *info);
typedef struct {
CFIndex version;
void * info;
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
CFAllocatorAllocateCallBack allocate;
CFAllocatorReallocateCallBack reallocate;
CFAllocatorDeallocateCallBack deallocate;
CFAllocatorPreferredSizeCallBack preferredSize;
} CFAllocatorContext;
extern
CFTypeID CFAllocatorGetTypeID(void);
# 358 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h" 3
extern
void CFAllocatorSetDefault(CFAllocatorRef allocator);
extern
CFAllocatorRef CFAllocatorGetDefault(void);
extern
CFAllocatorRef CFAllocatorCreate(CFAllocatorRef allocator, CFAllocatorContext *context);
extern
void *CFAllocatorAllocate(CFAllocatorRef allocator, CFIndex size, CFOptionFlags hint);
extern
void *CFAllocatorReallocate(CFAllocatorRef allocator, void *ptr, CFIndex newsize, CFOptionFlags hint);
extern
void CFAllocatorDeallocate(CFAllocatorRef allocator, void *ptr);
extern
CFIndex CFAllocatorGetPreferredSizeForSize(CFAllocatorRef allocator, CFIndex size, CFOptionFlags hint);
extern
void CFAllocatorGetContext(CFAllocatorRef allocator, CFAllocatorContext *context);
extern
CFTypeID CFGetTypeID(CFTypeRef cf);
extern
CFStringRef CFCopyTypeIDDescription(CFTypeID type_id);
extern
CFTypeRef CFRetain(CFTypeRef cf);
extern
void CFRelease(CFTypeRef cf);
extern
CFIndex CFGetRetainCount(CFTypeRef cf);
extern
CFTypeRef CFMakeCollectable(CFTypeRef cf) ;
extern
Boolean CFEqual(CFTypeRef cf1, CFTypeRef cf2);
extern
CFHashCode CFHash(CFTypeRef cf);
extern
CFStringRef CFCopyDescription(CFTypeRef cf);
extern
CFAllocatorRef CFGetAllocator(CFTypeRef cf);
# 39 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 1 3
# 45 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
#define __COREFOUNDATION_CFARRAY__ 1
# 73 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
typedef const void * (*CFArrayRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFArrayReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFArrayCopyDescriptionCallBack)(const void *value);
typedef Boolean (*CFArrayEqualCallBack)(const void *value1, const void *value2);
typedef struct {
CFIndex version;
CFArrayRetainCallBack retain;
CFArrayReleaseCallBack release;
CFArrayCopyDescriptionCallBack copyDescription;
CFArrayEqualCallBack equal;
} CFArrayCallBacks;
extern
const CFArrayCallBacks kCFTypeArrayCallBacks;
# 101 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
typedef void (*CFArrayApplierFunction)(const void *value, void *context);
typedef const struct __CFArray * CFArrayRef;
typedef struct __CFArray * CFMutableArrayRef;
extern
CFTypeID CFArrayGetTypeID(void);
# 172 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFArrayRef CFArrayCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFArrayCallBacks *callBacks);
# 193 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFArrayRef CFArrayCreateCopy(CFAllocatorRef allocator, CFArrayRef theArray);
# 237 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFMutableArrayRef CFArrayCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFArrayCallBacks *callBacks);
# 267 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFMutableArrayRef CFArrayCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFArrayRef theArray);
# 277 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFIndex CFArrayGetCount(CFArrayRef theArray);
# 300 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFIndex CFArrayGetCountOfValue(CFArrayRef theArray, CFRange range, const void *value);
# 323 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
Boolean CFArrayContainsValue(CFArrayRef theArray, CFRange range, const void *value);
# 337 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
const void *CFArrayGetValueAtIndex(CFArrayRef theArray, CFIndex idx);
# 358 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayGetValues(CFArrayRef theArray, CFRange range, const void **values);
# 385 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayApplyFunction(CFArrayRef theArray, CFRange range, CFArrayApplierFunction applier, void *context);
# 410 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFIndex CFArrayGetFirstIndexOfValue(CFArrayRef theArray, CFRange range, const void *value);
# 435 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFIndex CFArrayGetLastIndexOfValue(CFArrayRef theArray, CFRange range, const void *value);
# 474 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
CFIndex CFArrayBSearchValues(CFArrayRef theArray, CFRange range, const void *value, CFComparatorFunction comparator, void *context);
# 490 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayAppendValue(CFMutableArrayRef theArray, const void *value);
# 511 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayInsertValueAtIndex(CFMutableArrayRef theArray, CFIndex idx, const void *value);
# 532 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArraySetValueAtIndex(CFMutableArrayRef theArray, CFIndex idx, const void *value);
# 546 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayRemoveValueAtIndex(CFMutableArrayRef theArray, CFIndex idx);
# 556 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayRemoveAllValues(CFMutableArrayRef theArray);
# 590 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayReplaceValues(CFMutableArrayRef theArray, CFRange range, const void **newValues, CFIndex newCount);
# 608 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayExchangeValuesAtIndices(CFMutableArrayRef theArray, CFIndex idx1, CFIndex idx2);
# 638 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArraySortValues(CFMutableArrayRef theArray, CFRange range, CFComparatorFunction comparator, void *context);
# 665 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h" 3
extern
void CFArrayAppendArray(CFMutableArrayRef theArray, CFArrayRef otherArray, CFRange otherRange);
# 40 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h" 1 3
#define __COREFOUNDATION_CFBAG__ 1
typedef const void * (*CFBagRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFBagReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFBagCopyDescriptionCallBack)(const void *value);
typedef Boolean (*CFBagEqualCallBack)(const void *value1, const void *value2);
typedef CFHashCode (*CFBagHashCallBack)(const void *value);
typedef struct {
CFIndex version;
CFBagRetainCallBack retain;
CFBagReleaseCallBack release;
CFBagCopyDescriptionCallBack copyDescription;
CFBagEqualCallBack equal;
CFBagHashCallBack hash;
} CFBagCallBacks;
extern
const CFBagCallBacks kCFTypeBagCallBacks;
extern
const CFBagCallBacks kCFCopyStringBagCallBacks;
typedef void (*CFBagApplierFunction)(const void *value, void *context);
typedef const struct __CFBag * CFBagRef;
typedef struct __CFBag * CFMutableBagRef;
extern
CFTypeID CFBagGetTypeID(void);
extern
CFBagRef CFBagCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFBagCallBacks *callBacks);
extern
CFBagRef CFBagCreateCopy(CFAllocatorRef allocator, CFBagRef theBag);
extern
CFMutableBagRef CFBagCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFBagCallBacks *callBacks);
extern
CFMutableBagRef CFBagCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFBagRef theBag);
extern
CFIndex CFBagGetCount(CFBagRef theBag);
extern
CFIndex CFBagGetCountOfValue(CFBagRef theBag, const void *value);
extern
Boolean CFBagContainsValue(CFBagRef theBag, const void *value);
extern
const void *CFBagGetValue(CFBagRef theBag, const void *value);
extern
Boolean CFBagGetValueIfPresent(CFBagRef theBag, const void *candidate, const void **value);
extern
void CFBagGetValues(CFBagRef theBag, const void **values);
extern
void CFBagApplyFunction(CFBagRef theBag, CFBagApplierFunction applier, void *context);
extern
void CFBagAddValue(CFMutableBagRef theBag, const void *value);
extern
void CFBagReplaceValue(CFMutableBagRef theBag, const void *value);
extern
void CFBagSetValue(CFMutableBagRef theBag, const void *value);
extern
void CFBagRemoveValue(CFMutableBagRef theBag, const void *value);
extern
void CFBagRemoveAllValues(CFMutableBagRef theBag);
# 41 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 1 3
# 12 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
#define __COREFOUNDATION_CFBINARYHEAP__ 1
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFBinaryHeapCompareContext;
# 49 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
typedef struct {
CFIndex version;
const void *(*retain)(CFAllocatorRef allocator, const void *ptr);
void (*release)(CFAllocatorRef allocator, const void *ptr);
CFStringRef (*copyDescription)(const void *ptr);
CFComparisonResult (*compare)(const void *ptr1, const void *ptr2, void *context);
} CFBinaryHeapCallBacks;
extern const CFBinaryHeapCallBacks kCFStringBinaryHeapCallBacks;
# 73 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
typedef void (*CFBinaryHeapApplierFunction)(const void *val, void *context);
typedef struct __CFBinaryHeap * CFBinaryHeapRef;
extern CFTypeID CFBinaryHeapGetTypeID(void);
# 129 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern CFBinaryHeapRef CFBinaryHeapCreate(CFAllocatorRef allocator, CFIndex capacity, const CFBinaryHeapCallBacks *callBacks, const CFBinaryHeapCompareContext *compareContext);
# 158 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern CFBinaryHeapRef CFBinaryHeapCreateCopy(CFAllocatorRef allocator, CFIndex capacity, CFBinaryHeapRef heap);
# 167 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern CFIndex CFBinaryHeapGetCount(CFBinaryHeapRef heap);
# 182 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern CFIndex CFBinaryHeapGetCountOfValue(CFBinaryHeapRef heap, const void *value);
# 197 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern Boolean CFBinaryHeapContainsValue(CFBinaryHeapRef heap, const void *value);
# 208 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern const void * CFBinaryHeapGetMinimum(CFBinaryHeapRef heap);
# 222 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern Boolean CFBinaryHeapGetMinimumIfPresent(CFBinaryHeapRef heap, const void **value);
# 234 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern void CFBinaryHeapGetValues(CFBinaryHeapRef heap, const void **values);
# 253 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern void CFBinaryHeapApplyFunction(CFBinaryHeapRef heap, CFBinaryHeapApplierFunction applier, void *context);
# 265 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern void CFBinaryHeapAddValue(CFBinaryHeapRef heap, const void *value);
extern void CFBinaryHeapRemoveMinimumValue(CFBinaryHeapRef heap);
# 282 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h" 3
extern void CFBinaryHeapRemoveAllValues(CFBinaryHeapRef heap);
# 42 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h" 1 3
#define __COREFOUNDATION_CFBITVECTOR__ 1
typedef UInt32 CFBit;
typedef const struct __CFBitVector * CFBitVectorRef;
typedef struct __CFBitVector * CFMutableBitVectorRef;
extern CFTypeID CFBitVectorGetTypeID(void);
extern CFBitVectorRef CFBitVectorCreate(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex numBits);
extern CFBitVectorRef CFBitVectorCreateCopy(CFAllocatorRef allocator, CFBitVectorRef bv);
extern CFMutableBitVectorRef CFBitVectorCreateMutable(CFAllocatorRef allocator, CFIndex capacity);
extern CFMutableBitVectorRef CFBitVectorCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFBitVectorRef bv);
extern CFIndex CFBitVectorGetCount(CFBitVectorRef bv);
extern CFIndex CFBitVectorGetCountOfBit(CFBitVectorRef bv, CFRange range, CFBit value);
extern Boolean CFBitVectorContainsBit(CFBitVectorRef bv, CFRange range, CFBit value);
extern CFBit CFBitVectorGetBitAtIndex(CFBitVectorRef bv, CFIndex idx);
extern void CFBitVectorGetBits(CFBitVectorRef bv, CFRange range, UInt8 *bytes);
extern CFIndex CFBitVectorGetFirstIndexOfBit(CFBitVectorRef bv, CFRange range, CFBit value);
extern CFIndex CFBitVectorGetLastIndexOfBit(CFBitVectorRef bv, CFRange range, CFBit value);
extern void CFBitVectorSetCount(CFMutableBitVectorRef bv, CFIndex count);
extern void CFBitVectorFlipBitAtIndex(CFMutableBitVectorRef bv, CFIndex idx);
extern void CFBitVectorFlipBits(CFMutableBitVectorRef bv, CFRange range);
extern void CFBitVectorSetBitAtIndex(CFMutableBitVectorRef bv, CFIndex idx, CFBit value);
extern void CFBitVectorSetBits(CFMutableBitVectorRef bv, CFRange range, CFBit value);
extern void CFBitVectorSetAllBits(CFMutableBitVectorRef bv, CFBit value);
# 43 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 1 3
#define __COREFOUNDATION_CFBUNDLE__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 1 3
# 60 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
#define __COREFOUNDATION_CFDICTIONARY__ 1
# 91 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
typedef const void * (*CFDictionaryRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFDictionaryReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFDictionaryCopyDescriptionCallBack)(const void *value);
typedef Boolean (*CFDictionaryEqualCallBack)(const void *value1, const void *value2);
typedef CFHashCode (*CFDictionaryHashCallBack)(const void *value);
typedef struct {
CFIndex version;
CFDictionaryRetainCallBack retain;
CFDictionaryReleaseCallBack release;
CFDictionaryCopyDescriptionCallBack copyDescription;
CFDictionaryEqualCallBack equal;
CFDictionaryHashCallBack hash;
} CFDictionaryKeyCallBacks;
extern
const CFDictionaryKeyCallBacks kCFTypeDictionaryKeyCallBacks;
# 122 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
const CFDictionaryKeyCallBacks kCFCopyStringDictionaryKeyCallBacks;
# 148 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
typedef struct {
CFIndex version;
CFDictionaryRetainCallBack retain;
CFDictionaryReleaseCallBack release;
CFDictionaryCopyDescriptionCallBack copyDescription;
CFDictionaryEqualCallBack equal;
} CFDictionaryValueCallBacks;
extern
const CFDictionaryValueCallBacks kCFTypeDictionaryValueCallBacks;
# 174 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
typedef void (*CFDictionaryApplierFunction)(const void *key, const void *value, void *context);
typedef const struct __CFDictionary * CFDictionaryRef;
typedef struct __CFDictionary * CFMutableDictionaryRef;
extern
CFTypeID CFDictionaryGetTypeID(void);
# 277 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
# 301 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFDictionaryRef CFDictionaryCreateCopy(CFAllocatorRef allocator, CFDictionaryRef theDict);
# 373 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFMutableDictionaryRef CFDictionaryCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
# 406 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFMutableDictionaryRef CFDictionaryCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFDictionaryRef theDict);
# 416 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFIndex CFDictionaryGetCount(CFDictionaryRef theDict);
# 435 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFIndex CFDictionaryGetCountOfKey(CFDictionaryRef theDict, const void *key);
# 451 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
CFIndex CFDictionaryGetCountOfValue(CFDictionaryRef theDict, const void *value);
# 469 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
Boolean CFDictionaryContainsKey(CFDictionaryRef theDict, const void *key);
# 485 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
Boolean CFDictionaryContainsValue(CFDictionaryRef theDict, const void *value);
# 507 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key);
# 532 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
Boolean CFDictionaryGetValueIfPresent(CFDictionaryRef theDict, const void *key, const void **value);
# 555 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryGetKeysAndValues(CFDictionaryRef theDict, const void **keys, const void **values);
# 575 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryApplyFunction(CFDictionaryRef theDict, CFDictionaryApplierFunction applier, void *context);
# 595 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryAddValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
# 618 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionarySetValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
# 637 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryReplaceValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
# 651 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryRemoveValue(CFMutableDictionaryRef theDict, const void *key);
# 661 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h" 3
extern
void CFDictionaryRemoveAllValues(CFMutableDictionaryRef theDict);
# 11 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 1 3
# 30 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
#define __COREFOUNDATION_CFERROR__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 1 3
#define __COREFOUNDATION_CFSTRING__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h" 1 3
#define __COREFOUNDATION_CFDATA__ 1
typedef const struct __CFData * CFDataRef;
typedef struct __CFData * CFMutableDataRef;
extern
CFTypeID CFDataGetTypeID(void);
extern
CFDataRef CFDataCreate(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length);
extern
CFDataRef CFDataCreateWithBytesNoCopy(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
extern
CFDataRef CFDataCreateCopy(CFAllocatorRef allocator, CFDataRef theData);
extern
CFMutableDataRef CFDataCreateMutable(CFAllocatorRef allocator, CFIndex capacity);
extern
CFMutableDataRef CFDataCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFDataRef theData);
extern
CFIndex CFDataGetLength(CFDataRef theData);
extern
const UInt8 *CFDataGetBytePtr(CFDataRef theData);
extern
UInt8 *CFDataGetMutableBytePtr(CFMutableDataRef theData);
extern
void CFDataGetBytes(CFDataRef theData, CFRange range, UInt8 *buffer);
extern
void CFDataSetLength(CFMutableDataRef theData, CFIndex length);
extern
void CFDataIncreaseLength(CFMutableDataRef theData, CFIndex extraLength);
extern
void CFDataAppendBytes(CFMutableDataRef theData, const UInt8 *bytes, CFIndex length);
extern
void CFDataReplaceBytes(CFMutableDataRef theData, CFRange range, const UInt8 *newBytes, CFIndex newLength);
extern
void CFDataDeleteBytes(CFMutableDataRef theData, CFRange range);
# 11 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 1 3
# 32 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
#define __COREFOUNDATION_CFCHARACTERSET__ 1
typedef const struct __CFCharacterSet * CFCharacterSetRef;
typedef struct __CFCharacterSet * CFMutableCharacterSetRef;
enum {
kCFCharacterSetControl = 1,
kCFCharacterSetWhitespace,
kCFCharacterSetWhitespaceAndNewline,
kCFCharacterSetDecimalDigit,
kCFCharacterSetLetter,
kCFCharacterSetLowercaseLetter,
kCFCharacterSetUppercaseLetter,
kCFCharacterSetNonBase,
kCFCharacterSetDecomposable,
kCFCharacterSetAlphaNumeric,
kCFCharacterSetPunctuation,
kCFCharacterSetCapitalizedLetter = 13,
kCFCharacterSetSymbol = 14,
kCFCharacterSetNewline = 15,
kCFCharacterSetIllegal = 12
};
typedef CFIndex CFCharacterSetPredefinedSet;
extern
CFTypeID CFCharacterSetGetTypeID(void);
# 98 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFCharacterSetRef CFCharacterSetGetPredefined(CFCharacterSetPredefinedSet theSetIdentifier);
# 117 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFCharacterSetRef CFCharacterSetCreateWithCharactersInRange(CFAllocatorRef alloc, CFRange theRange);
# 134 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFCharacterSetRef CFCharacterSetCreateWithCharactersInString(CFAllocatorRef alloc, CFStringRef theString);
# 162 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFCharacterSetRef CFCharacterSetCreateWithBitmapRepresentation(CFAllocatorRef alloc, CFDataRef theData);
# 179 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern CFCharacterSetRef CFCharacterSetCreateInvertedSet(CFAllocatorRef alloc, CFCharacterSetRef theSet);
# 189 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern Boolean CFCharacterSetIsSupersetOfSet(CFCharacterSetRef theSet, CFCharacterSetRef theOtherset);
# 200 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern Boolean CFCharacterSetHasMemberInPlane(CFCharacterSetRef theSet, CFIndex thePlane);
# 213 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFMutableCharacterSetRef CFCharacterSetCreateMutable(CFAllocatorRef alloc);
# 230 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFCharacterSetRef CFCharacterSetCreateCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet) ;
# 247 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFMutableCharacterSetRef CFCharacterSetCreateMutableCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet);
# 261 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
Boolean CFCharacterSetIsCharacterMember(CFCharacterSetRef theSet, UniChar theChar);
# 274 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern Boolean CFCharacterSetIsLongCharacterMember(CFCharacterSetRef theSet, UTF32Char theChar);
# 293 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
CFDataRef CFCharacterSetCreateBitmapRepresentation(CFAllocatorRef alloc, CFCharacterSetRef theSet);
# 308 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetAddCharactersInRange(CFMutableCharacterSetRef theSet, CFRange theRange);
# 323 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetRemoveCharactersInRange(CFMutableCharacterSetRef theSet, CFRange theRange);
# 336 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetAddCharactersInString(CFMutableCharacterSetRef theSet, CFStringRef theString);
# 349 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetRemoveCharactersInString(CFMutableCharacterSetRef theSet, CFStringRef theString);
# 363 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetUnion(CFMutableCharacterSetRef theSet, CFCharacterSetRef theOtherSet);
# 377 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetIntersect(CFMutableCharacterSetRef theSet, CFCharacterSetRef theOtherSet);
# 387 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h" 3
extern
void CFCharacterSetInvert(CFMutableCharacterSetRef theSet);
# 13 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h" 1 3
#define __COREFOUNDATION_CFLOCALE__ 1
typedef const struct __CFLocale *CFLocaleRef;
extern
CFTypeID CFLocaleGetTypeID(void) ;
extern
CFLocaleRef CFLocaleGetSystem(void) ;
extern
CFLocaleRef CFLocaleCopyCurrent(void) ;
# 36 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h" 3
extern
CFArrayRef CFLocaleCopyAvailableLocaleIdentifiers(void) ;
extern
CFArrayRef CFLocaleCopyISOLanguageCodes(void) ;
extern
CFArrayRef CFLocaleCopyISOCountryCodes(void) ;
extern
CFArrayRef CFLocaleCopyISOCurrencyCodes(void) ;
extern
CFArrayRef CFLocaleCopyCommonISOCurrencyCodes(void) ;
extern
CFArrayRef CFLocaleCopyPreferredLanguages(void) ;
extern
CFStringRef CFLocaleCreateCanonicalLanguageIdentifierFromString(CFAllocatorRef allocator, CFStringRef localeIdentifier) ;
extern
CFStringRef CFLocaleCreateCanonicalLocaleIdentifierFromString(CFAllocatorRef allocator, CFStringRef localeIdentifier) ;
extern
CFStringRef CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes(CFAllocatorRef allocator, LangCode lcode, RegionCode rcode) ;
extern
CFDictionaryRef CFLocaleCreateComponentsFromLocaleIdentifier(CFAllocatorRef allocator, CFStringRef localeID) ;
# 92 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h" 3
extern
CFStringRef CFLocaleCreateLocaleIdentifierFromComponents(CFAllocatorRef allocator, CFDictionaryRef dictionary) ;
extern
CFLocaleRef CFLocaleCreate(CFAllocatorRef allocator, CFStringRef localeIdentifier) ;
extern
CFLocaleRef CFLocaleCreateCopy(CFAllocatorRef allocator, CFLocaleRef locale) ;
extern
CFStringRef CFLocaleGetIdentifier(CFLocaleRef locale) ;
extern
CFTypeRef CFLocaleGetValue(CFLocaleRef locale, CFStringRef key) ;
extern
CFStringRef CFLocaleCopyDisplayNameForPropertyValue(CFLocaleRef displayLocale, CFStringRef key, CFStringRef value) ;
extern const CFStringRef kCFLocaleCurrentLocaleDidChangeNotification ;
extern const CFStringRef kCFLocaleIdentifier ;
extern const CFStringRef kCFLocaleLanguageCode ;
extern const CFStringRef kCFLocaleCountryCode ;
extern const CFStringRef kCFLocaleScriptCode ;
extern const CFStringRef kCFLocaleVariantCode ;
extern const CFStringRef kCFLocaleExemplarCharacterSet ;
extern const CFStringRef kCFLocaleCalendarIdentifier ;
extern const CFStringRef kCFLocaleCalendar ;
extern const CFStringRef kCFLocaleCollationIdentifier ;
extern const CFStringRef kCFLocaleUsesMetricSystem ;
extern const CFStringRef kCFLocaleMeasurementSystem ;
extern const CFStringRef kCFLocaleDecimalSeparator ;
extern const CFStringRef kCFLocaleGroupingSeparator ;
extern const CFStringRef kCFLocaleCurrencySymbol ;
extern const CFStringRef kCFLocaleCurrencyCode ;
extern const CFStringRef kCFGregorianCalendar ;
extern const CFStringRef kCFBuddhistCalendar ;
extern const CFStringRef kCFChineseCalendar ;
extern const CFStringRef kCFHebrewCalendar ;
extern const CFStringRef kCFIslamicCalendar ;
extern const CFStringRef kCFIslamicCivilCalendar ;
extern const CFStringRef kCFJapaneseCalendar ;
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 2 3
# 91 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
typedef UInt32 CFStringEncoding;
#define kCFStringEncodingInvalidId (0xffffffffU)
enum {
kCFStringEncodingMacRoman = 0,
kCFStringEncodingWindowsLatin1 = 0x0500,
kCFStringEncodingISOLatin1 = 0x0201,
kCFStringEncodingNextStepLatin = 0x0B01,
kCFStringEncodingASCII = 0x0600,
kCFStringEncodingUnicode = 0x0100,
kCFStringEncodingUTF8 = 0x08000100,
kCFStringEncodingNonLossyASCII = 0x0BFF
,
kCFStringEncodingUTF16 = 0x0100,
kCFStringEncodingUTF16BE = 0x10000100,
kCFStringEncodingUTF16LE = 0x14000100,
kCFStringEncodingUTF32 = 0x0c000100,
kCFStringEncodingUTF32BE = 0x18000100,
kCFStringEncodingUTF32LE = 0x1c000100
};
typedef CFStringEncoding CFStringBuiltInEncodings;
extern
CFTypeID CFStringGetTypeID(void);
# 141 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
#define CFSTR(cStr) ((CFStringRef) __builtin___CFStringMakeConstantString ("" cStr ""))
# 152 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFStringRef CFStringCreateWithPascalString(CFAllocatorRef alloc, ConstStr255Param pStr, CFStringEncoding encoding);
extern
CFStringRef CFStringCreateWithCString(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding);
extern
CFStringRef CFStringCreateWithBytes(CFAllocatorRef alloc, const UInt8 *bytes, CFIndex numBytes, CFStringEncoding encoding, Boolean isExternalRepresentation);
extern
CFStringRef CFStringCreateWithCharacters(CFAllocatorRef alloc, const UniChar *chars, CFIndex numChars);
# 183 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFStringRef CFStringCreateWithPascalStringNoCopy(CFAllocatorRef alloc, ConstStr255Param pStr, CFStringEncoding encoding, CFAllocatorRef contentsDeallocator);
extern
CFStringRef CFStringCreateWithCStringNoCopy(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding, CFAllocatorRef contentsDeallocator);
extern
CFStringRef CFStringCreateWithBytesNoCopy(CFAllocatorRef alloc, const UInt8 *bytes, CFIndex numBytes, CFStringEncoding encoding, Boolean isExternalRepresentation, CFAllocatorRef contentsDeallocator) ;
extern
CFStringRef CFStringCreateWithCharactersNoCopy(CFAllocatorRef alloc, const UniChar *chars, CFIndex numChars, CFAllocatorRef contentsDeallocator);
extern
CFStringRef CFStringCreateWithSubstring(CFAllocatorRef alloc, CFStringRef str, CFRange range);
extern
CFStringRef CFStringCreateCopy(CFAllocatorRef alloc, CFStringRef theString);
extern
CFStringRef CFStringCreateWithFormat(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, ...);
extern
CFStringRef CFStringCreateWithFormatAndArguments(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, va_list arguments);
extern
CFMutableStringRef CFStringCreateMutable(CFAllocatorRef alloc, CFIndex maxLength);
extern
CFMutableStringRef CFStringCreateMutableCopy(CFAllocatorRef alloc, CFIndex maxLength, CFStringRef theString);
extern
CFMutableStringRef CFStringCreateMutableWithExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity, CFAllocatorRef externalCharactersAllocator);
extern
CFIndex CFStringGetLength(CFStringRef theString);
extern
UniChar CFStringGetCharacterAtIndex(CFStringRef theString, CFIndex idx);
extern
void CFStringGetCharacters(CFStringRef theString, CFRange range, UniChar *buffer);
# 261 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
Boolean CFStringGetPascalString(CFStringRef theString, StringPtr buffer, CFIndex bufferSize, CFStringEncoding encoding);
extern
Boolean CFStringGetCString(CFStringRef theString, char *buffer, CFIndex bufferSize, CFStringEncoding encoding);
extern
ConstStringPtr CFStringGetPascalStringPtr(CFStringRef theString, CFStringEncoding encoding);
extern
const char *CFStringGetCStringPtr(CFStringRef theString, CFStringEncoding encoding);
extern
const UniChar *CFStringGetCharactersPtr(CFStringRef theString);
# 293 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFIndex CFStringGetBytes(CFStringRef theString, CFRange range, CFStringEncoding encoding, UInt8 lossByte, Boolean isExternalRepresentation, UInt8 *buffer, CFIndex maxBufLen, CFIndex *usedBufLen);
extern
CFStringRef CFStringCreateFromExternalRepresentation(CFAllocatorRef alloc, CFDataRef data, CFStringEncoding encoding);
extern
CFDataRef CFStringCreateExternalRepresentation(CFAllocatorRef alloc, CFStringRef theString, CFStringEncoding encoding, UInt8 lossByte);
extern
CFStringEncoding CFStringGetSmallestEncoding(CFStringRef theString);
extern
CFStringEncoding CFStringGetFastestEncoding(CFStringRef theString);
extern
CFStringEncoding CFStringGetSystemEncoding(void);
extern
CFIndex CFStringGetMaximumSizeForEncoding(CFIndex length, CFStringEncoding encoding);
extern
Boolean CFStringGetFileSystemRepresentation(CFStringRef string, char *buffer, CFIndex maxBufLen) ;
extern
CFIndex CFStringGetMaximumSizeOfFileSystemRepresentation(CFStringRef string) ;
extern
CFStringRef CFStringCreateWithFileSystemRepresentation(CFAllocatorRef alloc, const char *buffer) ;
enum {
kCFCompareCaseInsensitive = 1,
kCFCompareBackwards = 4,
kCFCompareAnchored = 8,
kCFCompareNonliteral = 16,
kCFCompareLocalized = 32,
kCFCompareNumerically = 64
,
kCFCompareDiacriticInsensitive = 128,
kCFCompareWidthInsensitive = 256,
kCFCompareForcedOrdering = 512
};
typedef CFOptionFlags CFStringCompareFlags;
# 371 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFComparisonResult CFStringCompareWithOptionsAndLocale(CFStringRef theString1, CFStringRef theString2, CFRange rangeToCompare, CFOptionFlags compareOptions, CFLocaleRef locale) ;
extern
CFComparisonResult CFStringCompareWithOptions(CFStringRef theString1, CFStringRef theString2, CFRange rangeToCompare, CFOptionFlags compareOptions);
extern
CFComparisonResult CFStringCompare(CFStringRef theString1, CFStringRef theString2, CFOptionFlags compareOptions);
# 395 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
Boolean CFStringFindWithOptionsAndLocale(CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags searchOptions, CFLocaleRef locale, CFRange *result) ;
extern
Boolean CFStringFindWithOptions(CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags searchOptions, CFRange *result);
# 413 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFArrayRef CFStringCreateArrayWithFindResults(CFAllocatorRef alloc, CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags compareOptions);
extern
CFRange CFStringFind(CFStringRef theString, CFStringRef stringToFind, CFOptionFlags compareOptions);
extern
Boolean CFStringHasPrefix(CFStringRef theString, CFStringRef prefix);
extern
Boolean CFStringHasSuffix(CFStringRef theString, CFStringRef suffix);
# 441 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern CFRange CFStringGetRangeOfComposedCharactersAtIndex(CFStringRef theString, CFIndex theIndex);
# 472 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern Boolean CFStringFindCharacterFromSet(CFStringRef theString, CFCharacterSetRef theSet, CFRange rangeToSearch, CFOptionFlags searchOptions, CFRange *result);
# 484 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFStringGetLineBounds(CFStringRef theString, CFRange range, CFIndex *lineBeginIndex, CFIndex *lineEndIndex, CFIndex *contentsEndIndex);
extern
void CFStringGetParagraphBounds(CFStringRef string, CFRange range, CFIndex *parBeginIndex, CFIndex *parEndIndex, CFIndex *contentsEndIndex) ;
extern
CFStringRef CFStringCreateByCombiningStrings(CFAllocatorRef alloc, CFArrayRef theArray, CFStringRef separatorString);
extern
CFArrayRef CFStringCreateArrayBySeparatingStrings(CFAllocatorRef alloc, CFStringRef theString, CFStringRef separatorString);
extern
SInt32 CFStringGetIntValue(CFStringRef str);
extern
double CFStringGetDoubleValue(CFStringRef str);
# 517 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFStringAppend(CFMutableStringRef theString, CFStringRef appendedString);
extern
void CFStringAppendCharacters(CFMutableStringRef theString, const UniChar *chars, CFIndex numChars);
extern
void CFStringAppendPascalString(CFMutableStringRef theString, ConstStr255Param pStr, CFStringEncoding encoding);
extern
void CFStringAppendCString(CFMutableStringRef theString, const char *cStr, CFStringEncoding encoding);
extern
void CFStringAppendFormat(CFMutableStringRef theString, CFDictionaryRef formatOptions, CFStringRef format, ...);
extern
void CFStringAppendFormatAndArguments(CFMutableStringRef theString, CFDictionaryRef formatOptions, CFStringRef format, va_list arguments);
extern
void CFStringInsert(CFMutableStringRef str, CFIndex idx, CFStringRef insertedStr);
extern
void CFStringDelete(CFMutableStringRef theString, CFRange range);
extern
void CFStringReplace(CFMutableStringRef theString, CFRange range, CFStringRef replacement);
extern
void CFStringReplaceAll(CFMutableStringRef theString, CFStringRef replacement);
# 556 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
CFIndex CFStringFindAndReplace(CFMutableStringRef theString, CFStringRef stringToFind, CFStringRef replacementString, CFRange rangeToSearch, CFOptionFlags compareOptions);
# 568 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFStringSetExternalCharactersNoCopy(CFMutableStringRef theString, UniChar *chars, CFIndex length, CFIndex capacity);
# 582 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFStringPad(CFMutableStringRef theString, CFStringRef padString, CFIndex length, CFIndex indexIntoPad);
extern
void CFStringTrim(CFMutableStringRef theString, CFStringRef trimString);
extern
void CFStringTrimWhitespace(CFMutableStringRef theString);
extern
void CFStringLowercase(CFMutableStringRef theString, CFLocaleRef locale);
extern
void CFStringUppercase(CFMutableStringRef theString, CFLocaleRef locale);
extern
void CFStringCapitalize(CFMutableStringRef theString, CFLocaleRef locale);
# 618 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
enum {
kCFStringNormalizationFormD = 0,
kCFStringNormalizationFormKD,
kCFStringNormalizationFormC,
kCFStringNormalizationFormKC
};
typedef CFIndex CFStringNormalizationForm;
# 637 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern void CFStringNormalize(CFMutableStringRef theString, CFStringNormalizationForm theForm);
# 665 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFStringFold(CFMutableStringRef theString, CFOptionFlags theFlags, CFLocaleRef theLocale) ;
Boolean CFStringTransform(CFMutableStringRef string, CFRange *range, CFStringRef transform, Boolean reverse) ;
extern const CFStringRef kCFStringTransformStripCombiningMarks ;
extern const CFStringRef kCFStringTransformToLatin ;
extern const CFStringRef kCFStringTransformFullwidthHalfwidth ;
extern const CFStringRef kCFStringTransformLatinKatakana ;
extern const CFStringRef kCFStringTransformLatinHiragana ;
extern const CFStringRef kCFStringTransformHiraganaKatakana ;
extern const CFStringRef kCFStringTransformMandarinLatin ;
extern const CFStringRef kCFStringTransformLatinHangul ;
extern const CFStringRef kCFStringTransformLatinArabic ;
extern const CFStringRef kCFStringTransformLatinHebrew ;
extern const CFStringRef kCFStringTransformLatinThai ;
extern const CFStringRef kCFStringTransformLatinCyrillic ;
extern const CFStringRef kCFStringTransformLatinGreek ;
extern const CFStringRef kCFStringTransformToXMLHex ;
extern const CFStringRef kCFStringTransformToUnicodeName ;
extern const CFStringRef kCFStringTransformStripDiacritics ;
extern
Boolean CFStringIsEncodingAvailable(CFStringEncoding encoding);
extern
const CFStringEncoding *CFStringGetListOfAvailableEncodings(void);
extern
CFStringRef CFStringGetNameOfEncoding(CFStringEncoding encoding);
extern
unsigned long CFStringConvertEncodingToNSStringEncoding(CFStringEncoding encoding);
extern
CFStringEncoding CFStringConvertNSStringEncodingToEncoding(unsigned long encoding);
extern
UInt32 CFStringConvertEncodingToWindowsCodepage(CFStringEncoding encoding);
extern
CFStringEncoding CFStringConvertWindowsCodepageToEncoding(UInt32 codepage);
extern
CFStringEncoding CFStringConvertIANACharSetNameToEncoding(CFStringRef theString);
extern
CFStringRef CFStringConvertEncodingToIANACharSetName(CFStringEncoding encoding);
extern
CFStringEncoding CFStringGetMostCompatibleMacStringEncoding(CFStringEncoding encoding);
# 754 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
#define __kCFStringInlineBufferLength 64
typedef struct {
UniChar buffer[64];
CFStringRef theString;
const UniChar *directBuffer;
CFRange rangeToBuffer;
CFIndex bufferedRangeStart;
CFIndex bufferedRangeEnd;
} CFStringInlineBuffer;
static __inline__ __attribute__((always_inline)) void CFStringInitInlineBuffer(CFStringRef str, CFStringInlineBuffer *buf, CFRange range) {
buf->theString = str;
buf->rangeToBuffer = range;
buf->directBuffer = CFStringGetCharactersPtr(str);
buf->bufferedRangeStart = buf->bufferedRangeEnd = 0;
}
static __inline__ __attribute__((always_inline)) UniChar CFStringGetCharacterFromInlineBuffer(CFStringInlineBuffer *buf, CFIndex idx) {
if (buf->directBuffer) {
if (idx < 0 || idx >= buf->rangeToBuffer.length) return 0;
return buf->directBuffer[idx + buf->rangeToBuffer.location];
}
if (idx >= buf->bufferedRangeEnd || idx < buf->bufferedRangeStart) {
if (idx < 0 || idx >= buf->rangeToBuffer.length) return 0;
if ((buf->bufferedRangeStart = idx - 4) < 0) buf->bufferedRangeStart = 0;
buf->bufferedRangeEnd = buf->bufferedRangeStart + 64;
if (buf->bufferedRangeEnd > buf->rangeToBuffer.length) buf->bufferedRangeEnd = buf->rangeToBuffer.length;
CFStringGetCharacters(buf->theString, CFRangeMake(buf->rangeToBuffer.location + buf->bufferedRangeStart, buf->bufferedRangeEnd - buf->bufferedRangeStart), buf->buffer);
}
return buf->buffer[idx - buf->bufferedRangeStart];
}
# 808 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h" 3
extern
void CFShow(CFTypeRef obj);
extern
void CFShowStr(CFStringRef str);
extern
CFStringRef __CFStringMakeConstantString(const char *cStr);
# 34 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 2 3
typedef struct __CFError * CFErrorRef;
extern
CFTypeID CFErrorGetTypeID(void) ;
extern const CFStringRef kCFErrorDomainPOSIX ;
extern const CFStringRef kCFErrorDomainOSStatus ;
extern const CFStringRef kCFErrorDomainMach ;
extern const CFStringRef kCFErrorDomainCocoa ;
extern const CFStringRef kCFErrorLocalizedDescriptionKey ;
extern const CFStringRef kCFErrorLocalizedFailureReasonKey ;
extern const CFStringRef kCFErrorLocalizedRecoverySuggestionKey ;
extern const CFStringRef kCFErrorDescriptionKey ;
extern const CFStringRef kCFErrorUnderlyingErrorKey ;
# 81 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFErrorRef CFErrorCreate(CFAllocatorRef allocator, CFStringRef domain, CFIndex code, CFDictionaryRef userInfo) ;
# 96 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFErrorRef CFErrorCreateWithUserInfoKeysAndValues(CFAllocatorRef allocator, CFStringRef domain, CFIndex code, const void *const *userInfoKeys, const void *const *userInfoValues, CFIndex numUserInfoValues) ;
extern
CFStringRef CFErrorGetDomain(CFErrorRef err) ;
extern
CFIndex CFErrorGetCode(CFErrorRef err) ;
# 124 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFDictionaryRef CFErrorCopyUserInfo(CFErrorRef err) ;
# 138 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFStringRef CFErrorCopyDescription(CFErrorRef err) ;
# 150 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFStringRef CFErrorCopyFailureReason(CFErrorRef err) ;
# 162 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h" 3
extern
CFStringRef CFErrorCopyRecoverySuggestion(CFErrorRef err) ;
# 12 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 1 3
#define __COREFOUNDATION_CFURL__ 1
enum {
kCFURLPOSIXPathStyle = 0,
kCFURLHFSPathStyle,
kCFURLWindowsPathStyle
};
typedef CFIndex CFURLPathStyle;
typedef const struct __CFURL * CFURLRef;
# 37 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFTypeID CFURLGetTypeID(void);
extern
CFURLRef CFURLCreateWithBytes(CFAllocatorRef allocator, const UInt8 *URLBytes, CFIndex length, CFStringEncoding encoding, CFURLRef baseURL);
extern
CFDataRef CFURLCreateData(CFAllocatorRef allocator, CFURLRef url, CFStringEncoding encoding, Boolean escapeWhitespace);
extern
CFURLRef CFURLCreateWithString(CFAllocatorRef allocator, CFStringRef URLString, CFURLRef baseURL);
# 69 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFURLRef CFURLCreateAbsoluteURLWithBytes(CFAllocatorRef alloc, const UInt8 *relativeURLBytes, CFIndex length, CFStringEncoding encoding, CFURLRef baseURL, Boolean useCompatibilityMode) ;
# 79 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFURLRef CFURLCreateWithFileSystemPath(CFAllocatorRef allocator, CFStringRef filePath, CFURLPathStyle pathStyle, Boolean isDirectory);
extern
CFURLRef CFURLCreateFromFileSystemRepresentation(CFAllocatorRef allocator, const UInt8 *buffer, CFIndex bufLen, Boolean isDirectory);
extern
CFURLRef CFURLCreateWithFileSystemPathRelativeToBase(CFAllocatorRef allocator, CFStringRef filePath, CFURLPathStyle pathStyle, Boolean isDirectory, CFURLRef baseURL);
extern
CFURLRef CFURLCreateFromFileSystemRepresentationRelativeToBase(CFAllocatorRef allocator, const UInt8 *buffer, CFIndex bufLen, Boolean isDirectory, CFURLRef baseURL);
# 98 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
Boolean CFURLGetFileSystemRepresentation(CFURLRef url, Boolean resolveAgainstBase, UInt8 *buffer, CFIndex maxBufLen);
extern
CFURLRef CFURLCopyAbsoluteURL(CFURLRef relativeURL);
extern
CFStringRef CFURLGetString(CFURLRef anURL);
extern
CFURLRef CFURLGetBaseURL(CFURLRef anURL);
# 173 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
Boolean CFURLCanBeDecomposed(CFURLRef anURL);
extern
CFStringRef CFURLCopyScheme(CFURLRef anURL);
extern
CFStringRef CFURLCopyNetLocation(CFURLRef anURL);
# 196 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFStringRef CFURLCopyPath(CFURLRef anURL);
extern
CFStringRef CFURLCopyStrictPath(CFURLRef anURL, Boolean *isAbsolute);
extern
CFStringRef CFURLCopyFileSystemPath(CFURLRef anURL, CFURLPathStyle pathStyle);
extern
Boolean CFURLHasDirectoryPath(CFURLRef anURL);
extern
CFStringRef CFURLCopyResourceSpecifier(CFURLRef anURL);
extern
CFStringRef CFURLCopyHostName(CFURLRef anURL);
extern
SInt32 CFURLGetPortNumber(CFURLRef anURL);
extern
CFStringRef CFURLCopyUserName(CFURLRef anURL);
extern
CFStringRef CFURLCopyPassword(CFURLRef anURL);
extern
CFStringRef CFURLCopyParameterString(CFURLRef anURL, CFStringRef charactersToLeaveEscaped);
extern
CFStringRef CFURLCopyQueryString(CFURLRef anURL, CFStringRef charactersToLeaveEscaped);
extern
CFStringRef CFURLCopyFragment(CFURLRef anURL, CFStringRef charactersToLeaveEscaped);
extern
CFStringRef CFURLCopyLastPathComponent(CFURLRef url);
extern
CFStringRef CFURLCopyPathExtension(CFURLRef url);
extern
CFURLRef CFURLCreateCopyAppendingPathComponent(CFAllocatorRef allocator, CFURLRef url, CFStringRef pathComponent, Boolean isDirectory);
extern
CFURLRef CFURLCreateCopyDeletingLastPathComponent(CFAllocatorRef allocator, CFURLRef url);
extern
CFURLRef CFURLCreateCopyAppendingPathExtension(CFAllocatorRef allocator, CFURLRef url, CFStringRef extension);
extern
CFURLRef CFURLCreateCopyDeletingPathExtension(CFAllocatorRef allocator, CFURLRef url);
# 270 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFIndex CFURLGetBytes(CFURLRef url, UInt8 *buffer, CFIndex bufferLength) ;
enum {
kCFURLComponentScheme = 1,
kCFURLComponentNetLocation = 2,
kCFURLComponentPath = 3,
kCFURLComponentResourceSpecifier = 4,
kCFURLComponentUser = 5,
kCFURLComponentPassword = 6,
kCFURLComponentUserInfo = 7,
kCFURLComponentHost = 8,
kCFURLComponentPort = 9,
kCFURLComponentParameterString = 10,
kCFURLComponentQuery = 11,
kCFURLComponentFragment = 12
};
typedef CFIndex CFURLComponentType;
# 353 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFRange CFURLGetByteRangeForComponent(CFURLRef url, CFURLComponentType component, CFRange *rangeIncludingSeparators) ;
# 364 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFStringRef CFURLCreateStringByReplacingPercentEscapes(CFAllocatorRef allocator, CFStringRef originalString, CFStringRef charactersToLeaveEscaped);
extern
CFStringRef CFURLCreateStringByReplacingPercentEscapesUsingEncoding(CFAllocatorRef allocator, CFStringRef origString, CFStringRef charsToLeaveEscaped, CFStringEncoding encoding) ;
# 386 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h" 3
extern
CFStringRef CFURLCreateStringByAddingPercentEscapes(CFAllocatorRef allocator, CFStringRef originalString, CFStringRef charactersToLeaveUnescaped, CFStringRef legalURLCharactersToBeEscaped, CFStringEncoding encoding);
struct FSRef;
extern
CFURLRef CFURLCreateFromFSRef(CFAllocatorRef allocator, const struct FSRef *fsRef);
extern
Boolean CFURLGetFSRef(CFURLRef url, struct FSRef *fsRef);
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 2 3
typedef struct __CFBundle *CFBundleRef;
typedef struct __CFBundle *CFPlugInRef;
extern
const CFStringRef kCFBundleInfoDictionaryVersionKey;
extern
const CFStringRef kCFBundleExecutableKey;
extern
const CFStringRef kCFBundleIdentifierKey;
extern
const CFStringRef kCFBundleVersionKey;
extern
const CFStringRef kCFBundleDevelopmentRegionKey;
extern
const CFStringRef kCFBundleNameKey;
extern
const CFStringRef kCFBundleLocalizationsKey ;
extern
CFBundleRef CFBundleGetMainBundle(void);
extern
CFBundleRef CFBundleGetBundleWithIdentifier(CFStringRef bundleID);
extern
CFArrayRef CFBundleGetAllBundles(void);
extern
CFTypeID CFBundleGetTypeID(void);
extern
CFBundleRef CFBundleCreate(CFAllocatorRef allocator, CFURLRef bundleURL);
extern
CFArrayRef CFBundleCreateBundlesFromDirectory(CFAllocatorRef allocator, CFURLRef directoryURL, CFStringRef bundleType);
extern
CFURLRef CFBundleCopyBundleURL(CFBundleRef bundle);
extern
CFTypeRef CFBundleGetValueForInfoDictionaryKey(CFBundleRef bundle, CFStringRef key);
extern
CFDictionaryRef CFBundleGetInfoDictionary(CFBundleRef bundle);
extern
CFDictionaryRef CFBundleGetLocalInfoDictionary(CFBundleRef bundle);
extern
void CFBundleGetPackageInfo(CFBundleRef bundle, UInt32 *packageType, UInt32 *packageCreator);
extern
CFStringRef CFBundleGetIdentifier(CFBundleRef bundle);
extern
UInt32 CFBundleGetVersionNumber(CFBundleRef bundle);
extern
CFStringRef CFBundleGetDevelopmentRegion(CFBundleRef bundle);
extern
CFURLRef CFBundleCopySupportFilesDirectoryURL(CFBundleRef bundle);
extern
CFURLRef CFBundleCopyResourcesDirectoryURL(CFBundleRef bundle);
extern
CFURLRef CFBundleCopyPrivateFrameworksURL(CFBundleRef bundle);
extern
CFURLRef CFBundleCopySharedFrameworksURL(CFBundleRef bundle);
extern
CFURLRef CFBundleCopySharedSupportURL(CFBundleRef bundle);
extern
CFURLRef CFBundleCopyBuiltInPlugInsURL(CFBundleRef bundle);
extern
CFDictionaryRef CFBundleCopyInfoDictionaryInDirectory(CFURLRef bundleURL);
extern
Boolean CFBundleGetPackageInfoInDirectory(CFURLRef url, UInt32 *packageType, UInt32 *packageCreator);
extern
CFURLRef CFBundleCopyResourceURL(CFBundleRef bundle, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName);
extern
CFArrayRef CFBundleCopyResourceURLsOfType(CFBundleRef bundle, CFStringRef resourceType, CFStringRef subDirName);
extern
CFStringRef CFBundleCopyLocalizedString(CFBundleRef bundle, CFStringRef key, CFStringRef value, CFStringRef tableName);
#define CFCopyLocalizedString(key,comment) CFBundleCopyLocalizedString(CFBundleGetMainBundle(), (key), (key), NULL)
#define CFCopyLocalizedStringFromTable(key,tbl,comment) CFBundleCopyLocalizedString(CFBundleGetMainBundle(), (key), (key), (tbl))
#define CFCopyLocalizedStringFromTableInBundle(key,tbl,bundle,comment) CFBundleCopyLocalizedString((bundle), (key), (key), (tbl))
#define CFCopyLocalizedStringWithDefaultValue(key,tbl,bundle,value,comment) CFBundleCopyLocalizedString((bundle), (key), (value), (tbl))
# 163 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 3
extern
CFURLRef CFBundleCopyResourceURLInDirectory(CFURLRef bundleURL, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName);
extern
CFArrayRef CFBundleCopyResourceURLsOfTypeInDirectory(CFURLRef bundleURL, CFStringRef resourceType, CFStringRef subDirName);
extern
CFArrayRef CFBundleCopyBundleLocalizations(CFBundleRef bundle);
extern
CFArrayRef CFBundleCopyPreferredLocalizationsFromArray(CFArrayRef locArray);
extern
CFArrayRef CFBundleCopyLocalizationsForPreferences(CFArrayRef locArray, CFArrayRef prefArray) ;
# 197 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 3
extern
CFURLRef CFBundleCopyResourceURLForLocalization(CFBundleRef bundle, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName, CFStringRef localizationName);
extern
CFArrayRef CFBundleCopyResourceURLsOfTypeForLocalization(CFBundleRef bundle, CFStringRef resourceType, CFStringRef subDirName, CFStringRef localizationName);
# 211 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 3
extern
CFDictionaryRef CFBundleCopyInfoDictionaryForURL(CFURLRef url) ;
extern
CFArrayRef CFBundleCopyLocalizationsForURL(CFURLRef url) ;
extern
CFArrayRef CFBundleCopyExecutableArchitecturesForURL(CFURLRef url) ;
# 237 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 3
extern
CFURLRef CFBundleCopyExecutableURL(CFBundleRef bundle);
enum {
kCFBundleExecutableArchitectureI386 = 0x00000007,
kCFBundleExecutableArchitecturePPC = 0x00000012,
kCFBundleExecutableArchitectureX86_64 = 0x01000007,
kCFBundleExecutableArchitecturePPC64 = 0x01000012
};
extern
CFArrayRef CFBundleCopyExecutableArchitectures(CFBundleRef bundle) ;
extern
Boolean CFBundlePreflightExecutable(CFBundleRef bundle, CFErrorRef *error) ;
extern
Boolean CFBundleLoadExecutableAndReturnError(CFBundleRef bundle, CFErrorRef *error) ;
extern
Boolean CFBundleLoadExecutable(CFBundleRef bundle);
extern
Boolean CFBundleIsExecutableLoaded(CFBundleRef bundle);
extern
void CFBundleUnloadExecutable(CFBundleRef bundle);
extern
void *CFBundleGetFunctionPointerForName(CFBundleRef bundle, CFStringRef functionName);
extern
void CFBundleGetFunctionPointersForNames(CFBundleRef bundle, CFArrayRef functionNames, void *ftbl[]);
extern
void *CFBundleGetDataPointerForName(CFBundleRef bundle, CFStringRef symbolName);
extern
void CFBundleGetDataPointersForNames(CFBundleRef bundle, CFArrayRef symbolNames, void *stbl[]);
extern
CFURLRef CFBundleCopyAuxiliaryExecutableURL(CFBundleRef bundle, CFStringRef executableName);
# 304 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h" 3
extern
CFPlugInRef CFBundleGetPlugIn(CFBundleRef bundle);
typedef int CFBundleRefNum;
extern
CFBundleRefNum CFBundleOpenBundleResourceMap(CFBundleRef bundle);
extern
SInt32 CFBundleOpenBundleResourceFiles(CFBundleRef bundle, CFBundleRefNum *refNum, CFBundleRefNum *localizedRefNum);
extern
void CFBundleCloseBundleResourceMap(CFBundleRef bundle, CFBundleRefNum refNum);
# 44 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h" 1 3
#define __COREFOUNDATION_CFBYTEORDER__ 1
# 1 "/usr/include/libkern/OSByteOrder.h" 1 3 4
# 30 "/usr/include/libkern/OSByteOrder.h" 3 4
#define _OS_OSBYTEORDER_H
#define OSSwapConstInt16(x) __DARWIN_OSSwapConstInt16(x)
#define OSSwapConstInt32(x) __DARWIN_OSSwapConstInt32(x)
#define OSSwapConstInt64(x) __DARWIN_OSSwapConstInt64(x)
# 1 "/usr/include/libkern/i386/OSByteOrder.h" 1 3 4
# 30 "/usr/include/libkern/i386/OSByteOrder.h" 3 4
#define _OS_OSBYTEORDERI386_H
#define OS_INLINE __DARWIN_OS_INLINE
static __inline__
uint16_t
OSReadSwapInt16(
const volatile void * base,
uintptr_t byteOffset
)
{
uint16_t result;
result = *(volatile uint16_t *)((uintptr_t)base + byteOffset);
return _OSSwapInt16(result);
}
static __inline__
uint32_t
OSReadSwapInt32(
const volatile void * base,
uintptr_t byteOffset
)
{
uint32_t result;
result = *(volatile uint32_t *)((uintptr_t)base + byteOffset);
return _OSSwapInt32(result);
}
static __inline__
uint64_t
OSReadSwapInt64(
const volatile void * base,
uintptr_t byteOffset
)
{
uint64_t result;
result = *(volatile uint64_t *)((uintptr_t)base + byteOffset);
return _OSSwapInt64(result);
}
static __inline__
void
OSWriteSwapInt16(
volatile void * base,
uintptr_t byteOffset,
uint16_t data
)
{
*(volatile uint16_t *)((uintptr_t)base + byteOffset) = _OSSwapInt16(data);
}
static __inline__
void
OSWriteSwapInt32(
volatile void * base,
uintptr_t byteOffset,
uint32_t data
)
{
*(volatile uint32_t *)((uintptr_t)base + byteOffset) = _OSSwapInt32(data);
}
static __inline__
void
OSWriteSwapInt64(
volatile void * base,
uintptr_t byteOffset,
uint64_t data
)
{
*(volatile uint64_t *)((uintptr_t)base + byteOffset) = _OSSwapInt64(data);
}
# 46 "/usr/include/libkern/OSByteOrder.h" 2 3 4
# 58 "/usr/include/libkern/OSByteOrder.h" 3 4
#define OSSwapInt16(x) __DARWIN_OSSwapInt16(x)
#define OSSwapInt32(x) __DARWIN_OSSwapInt32(x)
#define OSSwapInt64(x) __DARWIN_OSSwapInt64(x)
enum {
OSUnknownByteOrder,
OSLittleEndian,
OSBigEndian
};
static __inline__
int32_t
OSHostByteOrder(void) {
return OSLittleEndian;
}
#define OSReadBigInt(x,y) OSReadBigInt32(x, y)
#define OSWriteBigInt(x,y,z) OSWriteBigInt32(x, y, z)
#define OSSwapBigToHostInt(x) OSSwapBigToHostInt32(x)
#define OSSwapHostToBigInt(x) OSSwapHostToBigInt32(x)
#define OSReadLittleInt(x,y) OSReadLittleInt32(x, y)
#define OSWriteLittleInt(x,y,z) OSWriteLittleInt32(x, y, z)
#define OSSwapHostToLittleInt(x) OSSwapHostToLittleInt32(x)
#define OSSwapLittleToHostInt(x) OSSwapLittleToHostInt32(x)
static __inline__
uint16_t
_OSReadInt16(
const volatile void * base,
uintptr_t byteOffset
)
{
return *(volatile uint16_t *)((uintptr_t)base + byteOffset);
}
static __inline__
uint32_t
_OSReadInt32(
const volatile void * base,
uintptr_t byteOffset
)
{
return *(volatile uint32_t *)((uintptr_t)base + byteOffset);
}
static __inline__
uint64_t
_OSReadInt64(
const volatile void * base,
uintptr_t byteOffset
)
{
return *(volatile uint64_t *)((uintptr_t)base + byteOffset);
}
static __inline__
void
_OSWriteInt16(
volatile void * base,
uintptr_t byteOffset,
uint16_t data
)
{
*(volatile uint16_t *)((uintptr_t)base + byteOffset) = data;
}
static __inline__
void
_OSWriteInt32(
volatile void * base,
uintptr_t byteOffset,
uint32_t data
)
{
*(volatile uint32_t *)((uintptr_t)base + byteOffset) = data;
}
static __inline__
void
_OSWriteInt64(
volatile void * base,
uintptr_t byteOffset,
uint64_t data
)
{
*(volatile uint64_t *)((uintptr_t)base + byteOffset) = data;
}
# 234 "/usr/include/libkern/OSByteOrder.h" 3 4
#define OSReadBigInt16(base,byteOffset) OSReadSwapInt16(base, byteOffset)
#define OSReadBigInt32(base,byteOffset) OSReadSwapInt32(base, byteOffset)
#define OSReadBigInt64(base,byteOffset) OSReadSwapInt64(base, byteOffset)
#define OSWriteBigInt16(base,byteOffset,data) OSWriteSwapInt16(base, byteOffset, data)
#define OSWriteBigInt32(base,byteOffset,data) OSWriteSwapInt32(base, byteOffset, data)
#define OSWriteBigInt64(base,byteOffset,data) OSWriteSwapInt64(base, byteOffset, data)
#define OSReadLittleInt16(base,byteOffset) _OSReadInt16(base, byteOffset)
#define OSReadLittleInt32(base,byteOffset) _OSReadInt32(base, byteOffset)
#define OSReadLittleInt64(base,byteOffset) _OSReadInt64(base, byteOffset)
#define OSWriteLittleInt16(base,byteOffset,data) _OSWriteInt16(base, byteOffset, data)
#define OSWriteLittleInt32(base,byteOffset,data) _OSWriteInt32(base, byteOffset, data)
#define OSWriteLittleInt64(base,byteOffset,data) _OSWriteInt64(base, byteOffset, data)
#define OSSwapHostToBigConstInt16(x) OSSwapConstInt16(x)
#define OSSwapHostToBigConstInt32(x) OSSwapConstInt32(x)
#define OSSwapHostToBigConstInt64(x) OSSwapConstInt64(x)
#define OSSwapHostToBigInt16(x) OSSwapInt16(x)
#define OSSwapHostToBigInt32(x) OSSwapInt32(x)
#define OSSwapHostToBigInt64(x) OSSwapInt64(x)
#define OSSwapHostToLittleConstInt16(x) (x)
#define OSSwapHostToLittleConstInt32(x) (x)
#define OSSwapHostToLittleConstInt64(x) (x)
#define OSSwapHostToLittleInt16(x) ((uint16_t)(x))
#define OSSwapHostToLittleInt32(x) ((uint32_t)(x))
#define OSSwapHostToLittleInt64(x) ((uint64_t)(x))
#define OSSwapBigToHostConstInt16(x) OSSwapConstInt16(x)
#define OSSwapBigToHostConstInt32(x) OSSwapConstInt32(x)
#define OSSwapBigToHostConstInt64(x) OSSwapConstInt64(x)
#define OSSwapBigToHostInt16(x) OSSwapInt16(x)
#define OSSwapBigToHostInt32(x) OSSwapInt32(x)
#define OSSwapBigToHostInt64(x) OSSwapInt64(x)
#define OSSwapLittleToHostConstInt16(x) (x)
#define OSSwapLittleToHostConstInt32(x) (x)
#define OSSwapLittleToHostConstInt64(x) (x)
#define OSSwapLittleToHostInt16(x) ((uint16_t)(x))
#define OSSwapLittleToHostInt32(x) ((uint32_t)(x))
#define OSSwapLittleToHostInt64(x) ((uint64_t)(x))
# 11 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h" 2 3
#define CF_USE_OSBYTEORDER_H 1
enum __CFByteOrder {
CFByteOrderUnknown,
CFByteOrderLittleEndian,
CFByteOrderBigEndian
};
typedef CFIndex CFByteOrder;
static __inline__ __attribute__((always_inline)) CFByteOrder CFByteOrderGetCurrent(void) {
int32_t byteOrder = OSHostByteOrder();
switch (byteOrder) {
case OSLittleEndian: return CFByteOrderLittleEndian;
case OSBigEndian: return CFByteOrderBigEndian;
default: break;
}
return CFByteOrderUnknown;
# 41 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h" 3
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16(uint16_t arg) {
return (__builtin_constant_p(arg) ? ((__uint16_t)((((__uint16_t)(arg) & 0xff00) >> 8) | (((__uint16_t)(arg) & 0x00ff) << 8))) : _OSSwapInt16(arg));
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32(uint32_t arg) {
return (__builtin_constant_p(arg) ? ((__uint32_t)((((__uint32_t)(arg) & 0xff000000) >> 24) | (((__uint32_t)(arg) & 0x00ff0000) >> 8) | (((__uint32_t)(arg) & 0x0000ff00) << 8) | (((__uint32_t)(arg) & 0x000000ff) << 24))) : _OSSwapInt32(arg));
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64(uint64_t arg) {
return (__builtin_constant_p(arg) ? ((__uint64_t)((((__uint64_t)(arg) & 0xff00000000000000ULL) >> 56) | (((__uint64_t)(arg) & 0x00ff000000000000ULL) >> 40) | (((__uint64_t)(arg) & 0x0000ff0000000000ULL) >> 24) | (((__uint64_t)(arg) & 0x000000ff00000000ULL) >> 8) | (((__uint64_t)(arg) & 0x00000000ff000000ULL) << 8) | (((__uint64_t)(arg) & 0x0000000000ff0000ULL) << 24) | (((__uint64_t)(arg) & 0x000000000000ff00ULL) << 40) | (((__uint64_t)(arg) & 0x00000000000000ffULL) << 56))) : _OSSwapInt64(arg));
# 76 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h" 3
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16BigToHost(uint16_t arg) {
return (__builtin_constant_p(arg) ? ((__uint16_t)((((__uint16_t)(arg) & 0xff00) >> 8) | (((__uint16_t)(arg) & 0x00ff) << 8))) : _OSSwapInt16(arg));
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32BigToHost(uint32_t arg) {
return (__builtin_constant_p(arg) ? ((__uint32_t)((((__uint32_t)(arg) & 0xff000000) >> 24) | (((__uint32_t)(arg) & 0x00ff0000) >> 8) | (((__uint32_t)(arg) & 0x0000ff00) << 8) | (((__uint32_t)(arg) & 0x000000ff) << 24))) : _OSSwapInt32(arg));
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64BigToHost(uint64_t arg) {
return (__builtin_constant_p(arg) ? ((__uint64_t)((((__uint64_t)(arg) & 0xff00000000000000ULL) >> 56) | (((__uint64_t)(arg) & 0x00ff000000000000ULL) >> 40) | (((__uint64_t)(arg) & 0x0000ff0000000000ULL) >> 24) | (((__uint64_t)(arg) & 0x000000ff00000000ULL) >> 8) | (((__uint64_t)(arg) & 0x00000000ff000000ULL) << 8) | (((__uint64_t)(arg) & 0x0000000000ff0000ULL) << 24) | (((__uint64_t)(arg) & 0x000000000000ff00ULL) << 40) | (((__uint64_t)(arg) & 0x00000000000000ffULL) << 56))) : _OSSwapInt64(arg));
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16HostToBig(uint16_t arg) {
return (__builtin_constant_p(arg) ? ((__uint16_t)((((__uint16_t)(arg) & 0xff00) >> 8) | (((__uint16_t)(arg) & 0x00ff) << 8))) : _OSSwapInt16(arg));
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32HostToBig(uint32_t arg) {
return (__builtin_constant_p(arg) ? ((__uint32_t)((((__uint32_t)(arg) & 0xff000000) >> 24) | (((__uint32_t)(arg) & 0x00ff0000) >> 8) | (((__uint32_t)(arg) & 0x0000ff00) << 8) | (((__uint32_t)(arg) & 0x000000ff) << 24))) : _OSSwapInt32(arg));
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64HostToBig(uint64_t arg) {
return (__builtin_constant_p(arg) ? ((__uint64_t)((((__uint64_t)(arg) & 0xff00000000000000ULL) >> 56) | (((__uint64_t)(arg) & 0x00ff000000000000ULL) >> 40) | (((__uint64_t)(arg) & 0x0000ff0000000000ULL) >> 24) | (((__uint64_t)(arg) & 0x000000ff00000000ULL) >> 8) | (((__uint64_t)(arg) & 0x00000000ff000000ULL) << 8) | (((__uint64_t)(arg) & 0x0000000000ff0000ULL) << 24) | (((__uint64_t)(arg) & 0x000000000000ff00ULL) << 40) | (((__uint64_t)(arg) & 0x00000000000000ffULL) << 56))) : _OSSwapInt64(arg));
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16LittleToHost(uint16_t arg) {
return ((uint16_t)(arg));
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32LittleToHost(uint32_t arg) {
return ((uint32_t)(arg));
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64LittleToHost(uint64_t arg) {
return ((uint64_t)(arg));
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16HostToLittle(uint16_t arg) {
return ((uint16_t)(arg));
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32HostToLittle(uint32_t arg) {
return ((uint32_t)(arg));
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64HostToLittle(uint64_t arg) {
return ((uint64_t)(arg));
}
typedef struct {uint32_t v;} CFSwappedFloat32;
typedef struct {uint64_t v;} CFSwappedFloat64;
static __inline__ __attribute__((always_inline)) CFSwappedFloat32 CFConvertFloat32HostToSwapped(Float32 arg) {
union CFSwap {
Float32 v;
CFSwappedFloat32 sv;
} result;
result.v = arg;
result.sv.v = CFSwapInt32(result.sv.v);
return result.sv;
}
static __inline__ __attribute__((always_inline)) Float32 CFConvertFloat32SwappedToHost(CFSwappedFloat32 arg) {
union CFSwap {
Float32 v;
CFSwappedFloat32 sv;
} result;
result.sv = arg;
result.sv.v = CFSwapInt32(result.sv.v);
return result.v;
}
static __inline__ __attribute__((always_inline)) CFSwappedFloat64 CFConvertFloat64HostToSwapped(Float64 arg) {
union CFSwap {
Float64 v;
CFSwappedFloat64 sv;
} result;
result.v = arg;
result.sv.v = CFSwapInt64(result.sv.v);
return result.sv;
}
static __inline__ __attribute__((always_inline)) Float64 CFConvertFloat64SwappedToHost(CFSwappedFloat64 arg) {
union CFSwap {
Float64 v;
CFSwappedFloat64 sv;
} result;
result.sv = arg;
result.sv.v = CFSwapInt64(result.sv.v);
return result.v;
}
static __inline__ __attribute__((always_inline)) CFSwappedFloat32 CFConvertFloatHostToSwapped(float arg) {
union CFSwap {
float v;
CFSwappedFloat32 sv;
} result;
result.v = arg;
result.sv.v = CFSwapInt32(result.sv.v);
return result.sv;
}
static __inline__ __attribute__((always_inline)) float CFConvertFloatSwappedToHost(CFSwappedFloat32 arg) {
union CFSwap {
float v;
CFSwappedFloat32 sv;
} result;
result.sv = arg;
result.sv.v = CFSwapInt32(result.sv.v);
return result.v;
}
static __inline__ __attribute__((always_inline)) CFSwappedFloat64 CFConvertDoubleHostToSwapped(double arg) {
union CFSwap {
double v;
CFSwappedFloat64 sv;
} result;
result.v = arg;
result.sv.v = CFSwapInt64(result.sv.v);
return result.sv;
}
static __inline__ __attribute__((always_inline)) double CFConvertDoubleSwappedToHost(CFSwappedFloat64 arg) {
union CFSwap {
double v;
CFSwappedFloat64 sv;
} result;
result.sv = arg;
result.sv.v = CFSwapInt64(result.sv.v);
return result.v;
}
# 45 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h" 1 3
#define __COREFOUNDATION_CFCALENDAR__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h" 1 3
#define __COREFOUNDATION_CFDATE__ 1
typedef double CFTimeInterval;
typedef CFTimeInterval CFAbsoluteTime;
extern
CFAbsoluteTime CFAbsoluteTimeGetCurrent(void);
extern
const CFTimeInterval kCFAbsoluteTimeIntervalSince1970;
extern
const CFTimeInterval kCFAbsoluteTimeIntervalSince1904;
typedef const struct __CFDate * CFDateRef;
extern
CFTypeID CFDateGetTypeID(void);
extern
CFDateRef CFDateCreate(CFAllocatorRef allocator, CFAbsoluteTime at);
extern
CFAbsoluteTime CFDateGetAbsoluteTime(CFDateRef theDate);
extern
CFTimeInterval CFDateGetTimeIntervalSinceDate(CFDateRef theDate, CFDateRef otherDate);
extern
CFComparisonResult CFDateCompare(CFDateRef theDate, CFDateRef otherDate, void *context);
typedef const struct __CFTimeZone * CFTimeZoneRef;
typedef struct {
SInt32 year;
SInt8 month;
SInt8 day;
SInt8 hour;
SInt8 minute;
double second;
} CFGregorianDate;
typedef struct {
SInt32 years;
SInt32 months;
SInt32 days;
SInt32 hours;
SInt32 minutes;
double seconds;
} CFGregorianUnits;
enum {
kCFGregorianUnitsYears = (1 << 0),
kCFGregorianUnitsMonths = (1 << 1),
kCFGregorianUnitsDays = (1 << 2),
kCFGregorianUnitsHours = (1 << 3),
kCFGregorianUnitsMinutes = (1 << 4),
kCFGregorianUnitsSeconds = (1 << 5),
kCFGregorianAllUnits = 0x00FFFFFF
};
typedef CFOptionFlags CFGregorianUnitFlags;
extern
Boolean CFGregorianDateIsValid(CFGregorianDate gdate, CFOptionFlags unitFlags);
extern
CFAbsoluteTime CFGregorianDateGetAbsoluteTime(CFGregorianDate gdate, CFTimeZoneRef tz);
extern
CFGregorianDate CFAbsoluteTimeGetGregorianDate(CFAbsoluteTime at, CFTimeZoneRef tz);
extern
CFAbsoluteTime CFAbsoluteTimeAddGregorianUnits(CFAbsoluteTime at, CFTimeZoneRef tz, CFGregorianUnits units);
extern
CFGregorianUnits CFAbsoluteTimeGetDifferenceAsGregorianUnits(CFAbsoluteTime at1, CFAbsoluteTime at2, CFTimeZoneRef tz, CFOptionFlags unitFlags);
extern
SInt32 CFAbsoluteTimeGetDayOfWeek(CFAbsoluteTime at, CFTimeZoneRef tz);
extern
SInt32 CFAbsoluteTimeGetDayOfYear(CFAbsoluteTime at, CFTimeZoneRef tz);
extern
SInt32 CFAbsoluteTimeGetWeekOfYear(CFAbsoluteTime at, CFTimeZoneRef tz);
# 11 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h" 1 3
#define __COREFOUNDATION_CFTIMEZONE__ 1
# 15 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h" 3
extern
CFTypeID CFTimeZoneGetTypeID(void);
extern
CFTimeZoneRef CFTimeZoneCopySystem(void);
extern
void CFTimeZoneResetSystem(void);
extern
CFTimeZoneRef CFTimeZoneCopyDefault(void);
extern
void CFTimeZoneSetDefault(CFTimeZoneRef tz);
extern
CFArrayRef CFTimeZoneCopyKnownNames(void);
extern
CFDictionaryRef CFTimeZoneCopyAbbreviationDictionary(void);
extern
void CFTimeZoneSetAbbreviationDictionary(CFDictionaryRef dict);
extern
CFTimeZoneRef CFTimeZoneCreate(CFAllocatorRef allocator, CFStringRef name, CFDataRef data);
extern
CFTimeZoneRef CFTimeZoneCreateWithTimeIntervalFromGMT(CFAllocatorRef allocator, CFTimeInterval ti);
extern
CFTimeZoneRef CFTimeZoneCreateWithName(CFAllocatorRef allocator, CFStringRef name, Boolean tryAbbrev);
extern
CFStringRef CFTimeZoneGetName(CFTimeZoneRef tz);
extern
CFDataRef CFTimeZoneGetData(CFTimeZoneRef tz);
extern
CFTimeInterval CFTimeZoneGetSecondsFromGMT(CFTimeZoneRef tz, CFAbsoluteTime at);
extern
CFStringRef CFTimeZoneCopyAbbreviation(CFTimeZoneRef tz, CFAbsoluteTime at);
extern
Boolean CFTimeZoneIsDaylightSavingTime(CFTimeZoneRef tz, CFAbsoluteTime at);
extern
CFTimeInterval CFTimeZoneGetDaylightSavingTimeOffset(CFTimeZoneRef tz, CFAbsoluteTime at) ;
extern
CFAbsoluteTime CFTimeZoneGetNextDaylightSavingTimeTransition(CFTimeZoneRef tz, CFAbsoluteTime at) ;
enum {
kCFTimeZoneNameStyleStandard,
kCFTimeZoneNameStyleShortStandard,
kCFTimeZoneNameStyleDaylightSaving,
kCFTimeZoneNameStyleShortDaylightSaving
};
typedef CFIndex CFTimeZoneNameStyle;
extern
CFStringRef CFTimeZoneCopyLocalizedName(CFTimeZoneRef tz, CFTimeZoneNameStyle style, CFLocaleRef locale) ;
extern
const CFStringRef kCFTimeZoneSystemTimeZoneDidChangeNotification ;
# 12 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h" 2 3
typedef struct __CFCalendar * CFCalendarRef;
extern
CFTypeID CFCalendarGetTypeID(void) ;
extern
CFCalendarRef CFCalendarCopyCurrent(void) ;
extern
CFCalendarRef CFCalendarCreateWithIdentifier(CFAllocatorRef allocator, CFStringRef identifier) ;
extern
CFStringRef CFCalendarGetIdentifier(CFCalendarRef calendar) ;
extern
CFLocaleRef CFCalendarCopyLocale(CFCalendarRef calendar) ;
extern
void CFCalendarSetLocale(CFCalendarRef calendar, CFLocaleRef locale) ;
extern
CFTimeZoneRef CFCalendarCopyTimeZone(CFCalendarRef calendar) ;
extern
void CFCalendarSetTimeZone(CFCalendarRef calendar, CFTimeZoneRef tz) ;
extern
CFIndex CFCalendarGetFirstWeekday(CFCalendarRef calendar) ;
extern
void CFCalendarSetFirstWeekday(CFCalendarRef calendar, CFIndex wkdy) ;
extern
CFIndex CFCalendarGetMinimumDaysInFirstWeek(CFCalendarRef calendar) ;
extern
void CFCalendarSetMinimumDaysInFirstWeek(CFCalendarRef calendar, CFIndex mwd) ;
enum {
kCFCalendarUnitEra = (1 << 1),
kCFCalendarUnitYear = (1 << 2),
kCFCalendarUnitMonth = (1 << 3),
kCFCalendarUnitDay = (1 << 4),
kCFCalendarUnitHour = (1 << 5),
kCFCalendarUnitMinute = (1 << 6),
kCFCalendarUnitSecond = (1 << 7),
kCFCalendarUnitWeek = (1 << 8),
kCFCalendarUnitWeekday = (1 << 9),
kCFCalendarUnitWeekdayOrdinal = (1 << 10)
};
typedef CFOptionFlags CFCalendarUnit;
extern
CFRange CFCalendarGetMinimumRangeOfUnit(CFCalendarRef calendar, CFCalendarUnit unit) ;
extern
CFRange CFCalendarGetMaximumRangeOfUnit(CFCalendarRef calendar, CFCalendarUnit unit) ;
extern
CFRange CFCalendarGetRangeOfUnit(CFCalendarRef calendar, CFCalendarUnit smallerUnit, CFCalendarUnit biggerUnit, CFAbsoluteTime at) ;
extern
CFIndex CFCalendarGetOrdinalityOfUnit(CFCalendarRef calendar, CFCalendarUnit smallerUnit, CFCalendarUnit biggerUnit, CFAbsoluteTime at) ;
extern
Boolean CFCalendarGetTimeRangeOfUnit(CFCalendarRef calendar, CFCalendarUnit unit, CFAbsoluteTime at, CFAbsoluteTime *startp, CFTimeInterval *tip) ;
extern
Boolean CFCalendarComposeAbsoluteTime(CFCalendarRef calendar, CFAbsoluteTime *at, const char *componentDesc, ...) ;
extern
Boolean CFCalendarDecomposeAbsoluteTime(CFCalendarRef calendar, CFAbsoluteTime at, const char *componentDesc, ...) ;
enum {
kCFCalendarComponentsWrap = (1 << 0)
};
extern
Boolean CFCalendarAddComponents(CFCalendarRef calendar, CFAbsoluteTime *at, CFOptionFlags options, const char *componentDesc, ...) ;
extern
Boolean CFCalendarGetComponentDifference(CFCalendarRef calendar, CFAbsoluteTime startingAT, CFAbsoluteTime resultAT, CFOptionFlags options, const char *componentDesc, ...) ;
# 46 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h" 1 3
#define __COREFOUNDATION_CFDATEFORMATTER__ 1
typedef struct __CFDateFormatter *CFDateFormatterRef;
extern
CFTypeID CFDateFormatterGetTypeID(void) ;
enum {
kCFDateFormatterNoStyle = 0,
kCFDateFormatterShortStyle = 1,
kCFDateFormatterMediumStyle = 2,
kCFDateFormatterLongStyle = 3,
kCFDateFormatterFullStyle = 4
};
typedef CFIndex CFDateFormatterStyle;
# 44 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h" 3
extern
CFDateFormatterRef CFDateFormatterCreate(CFAllocatorRef allocator, CFLocaleRef locale, CFDateFormatterStyle dateStyle, CFDateFormatterStyle timeStyle) ;
extern
CFLocaleRef CFDateFormatterGetLocale(CFDateFormatterRef formatter) ;
extern
CFDateFormatterStyle CFDateFormatterGetDateStyle(CFDateFormatterRef formatter) ;
extern
CFDateFormatterStyle CFDateFormatterGetTimeStyle(CFDateFormatterRef formatter) ;
extern
CFStringRef CFDateFormatterGetFormat(CFDateFormatterRef formatter) ;
extern
void CFDateFormatterSetFormat(CFDateFormatterRef formatter, CFStringRef formatString) ;
extern
CFStringRef CFDateFormatterCreateStringWithDate(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFDateRef date) ;
extern
CFStringRef CFDateFormatterCreateStringWithAbsoluteTime(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFAbsoluteTime at) ;
extern
CFDateRef CFDateFormatterCreateDateFromString(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFStringRef string, CFRange *rangep) ;
extern
Boolean CFDateFormatterGetAbsoluteTimeFromString(CFDateFormatterRef formatter, CFStringRef string, CFRange *rangep, CFAbsoluteTime *atp) ;
# 94 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h" 3
extern
void CFDateFormatterSetProperty(CFDateFormatterRef formatter, CFStringRef key, CFTypeRef value) ;
extern
CFTypeRef CFDateFormatterCopyProperty(CFDateFormatterRef formatter, CFStringRef key) ;
extern const CFStringRef kCFDateFormatterIsLenient ;
extern const CFStringRef kCFDateFormatterTimeZone ;
extern const CFStringRef kCFDateFormatterCalendarName ;
extern const CFStringRef kCFDateFormatterDefaultFormat ;
extern const CFStringRef kCFDateFormatterTwoDigitStartDate ;
extern const CFStringRef kCFDateFormatterDefaultDate ;
extern const CFStringRef kCFDateFormatterCalendar ;
extern const CFStringRef kCFDateFormatterEraSymbols ;
extern const CFStringRef kCFDateFormatterMonthSymbols ;
extern const CFStringRef kCFDateFormatterShortMonthSymbols ;
extern const CFStringRef kCFDateFormatterWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterShortWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterAMSymbol ;
extern const CFStringRef kCFDateFormatterPMSymbol ;
extern const CFStringRef kCFDateFormatterLongEraSymbols ;
extern const CFStringRef kCFDateFormatterVeryShortMonthSymbols ;
extern const CFStringRef kCFDateFormatterStandaloneMonthSymbols ;
extern const CFStringRef kCFDateFormatterShortStandaloneMonthSymbols ;
extern const CFStringRef kCFDateFormatterVeryShortStandaloneMonthSymbols ;
extern const CFStringRef kCFDateFormatterVeryShortWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterStandaloneWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterShortStandaloneWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterVeryShortStandaloneWeekdaySymbols ;
extern const CFStringRef kCFDateFormatterQuarterSymbols ;
extern const CFStringRef kCFDateFormatterShortQuarterSymbols ;
extern const CFStringRef kCFDateFormatterStandaloneQuarterSymbols ;
extern const CFStringRef kCFDateFormatterShortStandaloneQuarterSymbols ;
extern const CFStringRef kCFDateFormatterGregorianStartDate ;
# 140 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h" 3
# 50 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h" 1 3
#define __COREFOUNDATION_CFFILEDESCRIPTOR__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h" 1 3
#define __COREFOUNDATION_CFRUNLOOP__ 1
# 1 "/usr/include/mach/port.h" 1 3 4
# 87 "/usr/include/mach/port.h" 3 4
#define _MACH_PORT_H_
# 1 "/usr/include/mach/boolean.h" 1 3 4
# 66 "/usr/include/mach/boolean.h" 3 4
#define _MACH_BOOLEAN_H_
# 1 "/usr/include/mach/machine/boolean.h" 1 3 4
# 30 "/usr/include/mach/machine/boolean.h" 3 4
#define _MACH_MACHINE_BOOLEAN_H_
# 1 "/usr/include/mach/i386/boolean.h" 1 3 4
# 66 "/usr/include/mach/i386/boolean.h" 3 4
#define _MACH_I386_BOOLEAN_H_
typedef unsigned int boolean_t;
# 36 "/usr/include/mach/machine/boolean.h" 2 3 4
# 74 "/usr/include/mach/boolean.h" 2 3 4
# 92 "/usr/include/mach/port.h" 2 3 4
# 1 "/usr/include/mach/machine/vm_types.h" 1 3 4
# 30 "/usr/include/mach/machine/vm_types.h" 3 4
#define _MACH_MACHINE_VM_TYPES_H_
# 1 "/usr/include/mach/i386/vm_types.h" 1 3 4
# 68 "/usr/include/mach/i386/vm_types.h" 3 4
#define _MACH_I386_VM_TYPES_H_
# 92 "/usr/include/mach/i386/vm_types.h" 3 4
typedef __darwin_natural_t natural_t;
typedef int integer_t;
typedef uintptr_t vm_offset_t;
# 111 "/usr/include/mach/i386/vm_types.h" 3 4
typedef uintptr_t vm_size_t;
# 123 "/usr/include/mach/i386/vm_types.h" 3 4
typedef uint64_t mach_vm_address_t;
typedef uint64_t mach_vm_offset_t;
typedef uint64_t mach_vm_size_t;
typedef uint64_t vm_map_offset_t;
typedef uint64_t vm_map_address_t;
typedef uint64_t vm_map_size_t;
#define MACH_MSG_TYPE_INTEGER_T MACH_MSG_TYPE_INTEGER_32
# 36 "/usr/include/mach/machine/vm_types.h" 2 3 4
# 93 "/usr/include/mach/port.h" 2 3 4
# 106 "/usr/include/mach/port.h" 3 4
typedef natural_t mach_port_name_t;
typedef mach_port_name_t *mach_port_name_array_t;
# 127 "/usr/include/mach/port.h" 3 4
#define _MACH_PORT_T
typedef mach_port_name_t mach_port_t;
typedef mach_port_t *mach_port_array_t;
# 143 "/usr/include/mach/port.h" 3 4
#define MACH_PORT_NULL 0
#define MACH_PORT_DEAD ((mach_port_name_t) ~0)
#define MACH_PORT_VALID(name) (((name) != MACH_PORT_NULL) && ((name) != MACH_PORT_DEAD))
# 166 "/usr/include/mach/port.h" 3 4
#define MACH_PORT_INDEX(name) ((name) >> 8)
#define MACH_PORT_GEN(name) (((name) & 0xff) << 24)
#define MACH_PORT_MAKE(index,gen) (((index) << 8) | (gen) >> 24)
# 190 "/usr/include/mach/port.h" 3 4
typedef natural_t mach_port_right_t;
#define MACH_PORT_RIGHT_SEND ((mach_port_right_t) 0)
#define MACH_PORT_RIGHT_RECEIVE ((mach_port_right_t) 1)
#define MACH_PORT_RIGHT_SEND_ONCE ((mach_port_right_t) 2)
#define MACH_PORT_RIGHT_PORT_SET ((mach_port_right_t) 3)
#define MACH_PORT_RIGHT_DEAD_NAME ((mach_port_right_t) 4)
#define MACH_PORT_RIGHT_LABELH ((mach_port_right_t) 5)
#define MACH_PORT_RIGHT_NUMBER ((mach_port_right_t) 6)
typedef natural_t mach_port_type_t;
typedef mach_port_type_t *mach_port_type_array_t;
#define MACH_PORT_TYPE(right) ((mach_port_type_t)(((mach_port_type_t) 1) << ((right) + ((mach_port_right_t) 16))))
#define MACH_PORT_TYPE_NONE ((mach_port_type_t) 0L)
#define MACH_PORT_TYPE_SEND MACH_PORT_TYPE(MACH_PORT_RIGHT_SEND)
#define MACH_PORT_TYPE_RECEIVE MACH_PORT_TYPE(MACH_PORT_RIGHT_RECEIVE)
#define MACH_PORT_TYPE_SEND_ONCE MACH_PORT_TYPE(MACH_PORT_RIGHT_SEND_ONCE)
#define MACH_PORT_TYPE_PORT_SET MACH_PORT_TYPE(MACH_PORT_RIGHT_PORT_SET)
#define MACH_PORT_TYPE_DEAD_NAME MACH_PORT_TYPE(MACH_PORT_RIGHT_DEAD_NAME)
#define MACH_PORT_TYPE_LABELH MACH_PORT_TYPE(MACH_PORT_RIGHT_LABELH)
#define MACH_PORT_TYPE_SEND_RECEIVE (MACH_PORT_TYPE_SEND|MACH_PORT_TYPE_RECEIVE)
#define MACH_PORT_TYPE_SEND_RIGHTS (MACH_PORT_TYPE_SEND|MACH_PORT_TYPE_SEND_ONCE)
#define MACH_PORT_TYPE_PORT_RIGHTS (MACH_PORT_TYPE_SEND_RIGHTS|MACH_PORT_TYPE_RECEIVE)
#define MACH_PORT_TYPE_PORT_OR_DEAD (MACH_PORT_TYPE_PORT_RIGHTS|MACH_PORT_TYPE_DEAD_NAME)
#define MACH_PORT_TYPE_ALL_RIGHTS (MACH_PORT_TYPE_PORT_OR_DEAD|MACH_PORT_TYPE_PORT_SET)
#define MACH_PORT_TYPE_DNREQUEST 0x80000000
typedef natural_t mach_port_urefs_t;
typedef integer_t mach_port_delta_t;
typedef natural_t mach_port_seqno_t;
typedef natural_t mach_port_mscount_t;
typedef natural_t mach_port_msgcount_t;
typedef natural_t mach_port_rights_t;
#define MACH_PORT_SRIGHTS_NONE 0
#define MACH_PORT_SRIGHTS_PRESENT 1
typedef unsigned int mach_port_srights_t;
typedef struct mach_port_status {
mach_port_rights_t mps_pset;
mach_port_seqno_t mps_seqno;
mach_port_mscount_t mps_mscount;
mach_port_msgcount_t mps_qlimit;
mach_port_msgcount_t mps_msgcount;
mach_port_rights_t mps_sorights;
boolean_t mps_srights;
boolean_t mps_pdrequest;
boolean_t mps_nsrequest;
natural_t mps_flags;
} mach_port_status_t;
#define MACH_PORT_QLIMIT_ZERO ((mach_port_msgcount_t) 0)
#define MACH_PORT_QLIMIT_BASIC ((mach_port_msgcount_t) 5)
#define MACH_PORT_QLIMIT_SMALL ((mach_port_msgcount_t) 16)
#define MACH_PORT_QLIMIT_LARGE ((mach_port_msgcount_t) 1024)
#define MACH_PORT_QLIMIT_MIN MACH_PORT_QLIMIT_ZERO
#define MACH_PORT_QLIMIT_DEFAULT MACH_PORT_QLIMIT_BASIC
#define MACH_PORT_QLIMIT_MAX MACH_PORT_QLIMIT_LARGE
typedef struct mach_port_limits {
mach_port_msgcount_t mpl_qlimit;
} mach_port_limits_t;
typedef integer_t *mach_port_info_t;
typedef int mach_port_flavor_t;
#define MACH_PORT_LIMITS_INFO 1
#define MACH_PORT_RECEIVE_STATUS 2
#define MACH_PORT_DNREQUESTS_SIZE 3
#define MACH_PORT_LIMITS_INFO_COUNT ((natural_t) (sizeof(mach_port_limits_t)/sizeof(natural_t)))
#define MACH_PORT_RECEIVE_STATUS_COUNT ((natural_t) (sizeof(mach_port_status_t)/sizeof(natural_t)))
#define MACH_PORT_DNREQUESTS_SIZE_COUNT 1
typedef struct mach_port_qos {
unsigned int name:1;
unsigned int prealloc:1;
boolean_t pad1:30;
natural_t len;
} mach_port_qos_t;
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h" 2 3
typedef struct __CFRunLoop * CFRunLoopRef;
typedef struct __CFRunLoopSource * CFRunLoopSourceRef;
typedef struct __CFRunLoopObserver * CFRunLoopObserverRef;
typedef struct __CFRunLoopTimer * CFRunLoopTimerRef;
enum {
kCFRunLoopRunFinished = 1,
kCFRunLoopRunStopped = 2,
kCFRunLoopRunTimedOut = 3,
kCFRunLoopRunHandledSource = 4
};
enum {
kCFRunLoopEntry = (1 << 0),
kCFRunLoopBeforeTimers = (1 << 1),
kCFRunLoopBeforeSources = (1 << 2),
kCFRunLoopBeforeWaiting = (1 << 5),
kCFRunLoopAfterWaiting = (1 << 6),
kCFRunLoopExit = (1 << 7),
kCFRunLoopAllActivities = 0x0FFFFFFFU
};
typedef CFOptionFlags CFRunLoopActivity;
extern const CFStringRef kCFRunLoopDefaultMode;
extern const CFStringRef kCFRunLoopCommonModes;
extern CFTypeID CFRunLoopGetTypeID(void);
extern CFRunLoopRef CFRunLoopGetCurrent(void);
extern CFRunLoopRef CFRunLoopGetMain(void) ;
extern CFStringRef CFRunLoopCopyCurrentMode(CFRunLoopRef rl);
extern CFArrayRef CFRunLoopCopyAllModes(CFRunLoopRef rl);
extern void CFRunLoopAddCommonMode(CFRunLoopRef rl, CFStringRef mode);
extern CFAbsoluteTime CFRunLoopGetNextTimerFireDate(CFRunLoopRef rl, CFStringRef mode);
extern void CFRunLoopRun(void);
extern SInt32 CFRunLoopRunInMode(CFStringRef mode, CFTimeInterval seconds, Boolean returnAfterSourceHandled);
extern Boolean CFRunLoopIsWaiting(CFRunLoopRef rl);
extern void CFRunLoopWakeUp(CFRunLoopRef rl);
extern void CFRunLoopStop(CFRunLoopRef rl);
extern Boolean CFRunLoopContainsSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
extern void CFRunLoopAddSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
extern void CFRunLoopRemoveSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
extern Boolean CFRunLoopContainsObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode);
extern void CFRunLoopAddObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode);
extern void CFRunLoopRemoveObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFStringRef mode);
extern Boolean CFRunLoopContainsTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFStringRef mode);
extern void CFRunLoopAddTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFStringRef mode);
extern void CFRunLoopRemoveTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFStringRef mode);
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
Boolean (*equal)(const void *info1, const void *info2);
CFHashCode (*hash)(const void *info);
void (*schedule)(void *info, CFRunLoopRef rl, CFStringRef mode);
void (*cancel)(void *info, CFRunLoopRef rl, CFStringRef mode);
void (*perform)(void *info);
} CFRunLoopSourceContext;
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
Boolean (*equal)(const void *info1, const void *info2);
CFHashCode (*hash)(const void *info);
mach_port_t (*getPort)(void *info);
void * (*perform)(void *msg, CFIndex size, CFAllocatorRef allocator, void *info);
} CFRunLoopSourceContext1;
extern CFTypeID CFRunLoopSourceGetTypeID(void);
extern CFRunLoopSourceRef CFRunLoopSourceCreate(CFAllocatorRef allocator, CFIndex order, CFRunLoopSourceContext *context);
extern CFIndex CFRunLoopSourceGetOrder(CFRunLoopSourceRef source);
extern void CFRunLoopSourceInvalidate(CFRunLoopSourceRef source);
extern Boolean CFRunLoopSourceIsValid(CFRunLoopSourceRef source);
extern void CFRunLoopSourceGetContext(CFRunLoopSourceRef source, CFRunLoopSourceContext *context);
extern void CFRunLoopSourceSignal(CFRunLoopSourceRef source);
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFRunLoopObserverContext;
typedef void (*CFRunLoopObserverCallBack)(CFRunLoopObserverRef observer, CFRunLoopActivity activity, void *info);
extern CFTypeID CFRunLoopObserverGetTypeID(void);
extern CFRunLoopObserverRef CFRunLoopObserverCreate(CFAllocatorRef allocator, CFOptionFlags activities, Boolean repeats, CFIndex order, CFRunLoopObserverCallBack callout, CFRunLoopObserverContext *context);
extern CFOptionFlags CFRunLoopObserverGetActivities(CFRunLoopObserverRef observer);
extern Boolean CFRunLoopObserverDoesRepeat(CFRunLoopObserverRef observer);
extern CFIndex CFRunLoopObserverGetOrder(CFRunLoopObserverRef observer);
extern void CFRunLoopObserverInvalidate(CFRunLoopObserverRef observer);
extern Boolean CFRunLoopObserverIsValid(CFRunLoopObserverRef observer);
extern void CFRunLoopObserverGetContext(CFRunLoopObserverRef observer, CFRunLoopObserverContext *context);
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFRunLoopTimerContext;
typedef void (*CFRunLoopTimerCallBack)(CFRunLoopTimerRef timer, void *info);
extern CFTypeID CFRunLoopTimerGetTypeID(void);
extern CFRunLoopTimerRef CFRunLoopTimerCreate(CFAllocatorRef allocator, CFAbsoluteTime fireDate, CFTimeInterval interval, CFOptionFlags flags, CFIndex order, CFRunLoopTimerCallBack callout, CFRunLoopTimerContext *context);
extern CFAbsoluteTime CFRunLoopTimerGetNextFireDate(CFRunLoopTimerRef timer);
extern void CFRunLoopTimerSetNextFireDate(CFRunLoopTimerRef timer, CFAbsoluteTime fireDate);
extern CFTimeInterval CFRunLoopTimerGetInterval(CFRunLoopTimerRef timer);
extern Boolean CFRunLoopTimerDoesRepeat(CFRunLoopTimerRef timer);
extern CFIndex CFRunLoopTimerGetOrder(CFRunLoopTimerRef timer);
extern void CFRunLoopTimerInvalidate(CFRunLoopTimerRef timer);
extern Boolean CFRunLoopTimerIsValid(CFRunLoopTimerRef timer);
extern void CFRunLoopTimerGetContext(CFRunLoopTimerRef timer, CFRunLoopTimerContext *context);
# 9 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h" 2 3
typedef int CFFileDescriptorNativeDescriptor;
typedef struct __CFFileDescriptor * CFFileDescriptorRef;
enum {
kCFFileDescriptorReadCallBack = 1 << 0,
kCFFileDescriptorWriteCallBack = 1 << 1
};
typedef void (*CFFileDescriptorCallBack)(CFFileDescriptorRef f, CFOptionFlags callBackTypes, void *info);
typedef struct {
CFIndex version;
void * info;
void * (*retain)(void *info);
void (*release)(void *info);
CFStringRef (*copyDescription)(void *info);
} CFFileDescriptorContext;
extern CFTypeID CFFileDescriptorGetTypeID(void);
extern CFFileDescriptorRef CFFileDescriptorCreate(CFAllocatorRef allocator, CFFileDescriptorNativeDescriptor fd, Boolean closeOnInvalidate, CFFileDescriptorCallBack callout, const CFFileDescriptorContext *context);
extern CFFileDescriptorNativeDescriptor CFFileDescriptorGetNativeDescriptor(CFFileDescriptorRef f);
extern void CFFileDescriptorGetContext(CFFileDescriptorRef f, CFFileDescriptorContext *context);
extern void CFFileDescriptorEnableCallBacks(CFFileDescriptorRef f, CFOptionFlags callBackTypes);
extern void CFFileDescriptorDisableCallBacks(CFFileDescriptorRef f, CFOptionFlags callBackTypes);
extern void CFFileDescriptorInvalidate(CFFileDescriptorRef f);
extern Boolean CFFileDescriptorIsValid(CFFileDescriptorRef f);
extern CFRunLoopSourceRef CFFileDescriptorCreateRunLoopSource(CFAllocatorRef allocator, CFFileDescriptorRef f, CFIndex order);
# 53 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h" 1 3
#define __COREFOUNDATION_CFMACHPORT__ 1
typedef struct __CFMachPort * CFMachPortRef;
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFMachPortContext;
typedef void (*CFMachPortCallBack)(CFMachPortRef port, void *msg, CFIndex size, void *info);
typedef void (*CFMachPortInvalidationCallBack)(CFMachPortRef port, void *info);
extern CFTypeID CFMachPortGetTypeID(void);
extern CFMachPortRef CFMachPortCreate(CFAllocatorRef allocator, CFMachPortCallBack callout, CFMachPortContext *context, Boolean *shouldFreeInfo);
extern CFMachPortRef CFMachPortCreateWithPort(CFAllocatorRef allocator, mach_port_t portNum, CFMachPortCallBack callout, CFMachPortContext *context, Boolean *shouldFreeInfo);
extern mach_port_t CFMachPortGetPort(CFMachPortRef port);
extern void CFMachPortGetContext(CFMachPortRef port, CFMachPortContext *context);
extern void CFMachPortInvalidate(CFMachPortRef port);
extern Boolean CFMachPortIsValid(CFMachPortRef port);
extern CFMachPortInvalidationCallBack CFMachPortGetInvalidationCallBack(CFMachPortRef port);
extern void CFMachPortSetInvalidationCallBack(CFMachPortRef port, CFMachPortInvalidationCallBack callout);
extern CFRunLoopSourceRef CFMachPortCreateRunLoopSource(CFAllocatorRef allocator, CFMachPortRef port, CFIndex order);
# 55 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h" 1 3
#define __COREFOUNDATION_CFMESSAGEPORT__ 1
typedef struct __CFMessagePort * CFMessagePortRef;
enum {
kCFMessagePortSuccess = 0,
kCFMessagePortSendTimeout = -1,
kCFMessagePortReceiveTimeout = -2,
kCFMessagePortIsInvalid = -3,
kCFMessagePortTransportError = -4
};
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFMessagePortContext;
typedef CFDataRef (*CFMessagePortCallBack)(CFMessagePortRef local, SInt32 msgid, CFDataRef data, void *info);
typedef void (*CFMessagePortInvalidationCallBack)(CFMessagePortRef ms, void *info);
extern CFTypeID CFMessagePortGetTypeID(void);
extern CFMessagePortRef CFMessagePortCreateLocal(CFAllocatorRef allocator, CFStringRef name, CFMessagePortCallBack callout, CFMessagePortContext *context, Boolean *shouldFreeInfo);
extern CFMessagePortRef CFMessagePortCreateRemote(CFAllocatorRef allocator, CFStringRef name);
extern Boolean CFMessagePortIsRemote(CFMessagePortRef ms);
extern CFStringRef CFMessagePortGetName(CFMessagePortRef ms);
extern Boolean CFMessagePortSetName(CFMessagePortRef ms, CFStringRef newName);
extern void CFMessagePortGetContext(CFMessagePortRef ms, CFMessagePortContext *context);
extern void CFMessagePortInvalidate(CFMessagePortRef ms);
extern Boolean CFMessagePortIsValid(CFMessagePortRef ms);
extern CFMessagePortInvalidationCallBack CFMessagePortGetInvalidationCallBack(CFMessagePortRef ms);
extern void CFMessagePortSetInvalidationCallBack(CFMessagePortRef ms, CFMessagePortInvalidationCallBack callout);
extern SInt32 CFMessagePortSendRequest(CFMessagePortRef remote, SInt32 msgid, CFDataRef data, CFTimeInterval sendTimeout, CFTimeInterval rcvTimeout, CFStringRef replyMode, CFDataRef *returnData);
extern CFRunLoopSourceRef CFMessagePortCreateRunLoopSource(CFAllocatorRef allocator, CFMessagePortRef local, CFIndex order);
# 56 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h" 1 3
#define __COREFOUNDATION_CFNUMBER__ 1
typedef const struct __CFBoolean * CFBooleanRef;
extern
const CFBooleanRef kCFBooleanTrue;
extern
const CFBooleanRef kCFBooleanFalse;
extern
CFTypeID CFBooleanGetTypeID(void);
extern
Boolean CFBooleanGetValue(CFBooleanRef boolean);
enum {
kCFNumberSInt8Type = 1,
kCFNumberSInt16Type = 2,
kCFNumberSInt32Type = 3,
kCFNumberSInt64Type = 4,
kCFNumberFloat32Type = 5,
kCFNumberFloat64Type = 6,
kCFNumberCharType = 7,
kCFNumberShortType = 8,
kCFNumberIntType = 9,
kCFNumberLongType = 10,
kCFNumberLongLongType = 11,
kCFNumberFloatType = 12,
kCFNumberDoubleType = 13,
kCFNumberCFIndexType = 14,
kCFNumberNSIntegerType = 15,
kCFNumberCGFloatType = 16,
kCFNumberMaxType = 16
};
typedef CFIndex CFNumberType;
typedef const struct __CFNumber * CFNumberRef;
extern
const CFNumberRef kCFNumberPositiveInfinity;
extern
const CFNumberRef kCFNumberNegativeInfinity;
extern
const CFNumberRef kCFNumberNaN;
extern
CFTypeID CFNumberGetTypeID(void);
# 72 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h" 3
extern
CFNumberRef CFNumberCreate(CFAllocatorRef allocator, CFNumberType theType, const void *valuePtr);
extern
CFNumberType CFNumberGetType(CFNumberRef number);
extern
CFIndex CFNumberGetByteSize(CFNumberRef number);
extern
Boolean CFNumberIsFloatType(CFNumberRef number);
# 103 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h" 3
extern
Boolean CFNumberGetValue(CFNumberRef number, CFNumberType theType, void *valuePtr);
# 121 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h" 3
extern
CFComparisonResult CFNumberCompare(CFNumberRef number, CFNumberRef otherNumber, void *context);
# 57 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h" 1 3
#define __COREFOUNDATION_CFNUMBERFORMATTER__ 1
typedef struct __CFNumberFormatter *CFNumberFormatterRef;
extern
CFTypeID CFNumberFormatterGetTypeID(void) ;
enum {
kCFNumberFormatterNoStyle = 0,
kCFNumberFormatterDecimalStyle = 1,
kCFNumberFormatterCurrencyStyle = 2,
kCFNumberFormatterPercentStyle = 3,
kCFNumberFormatterScientificStyle = 4,
kCFNumberFormatterSpellOutStyle = 5
};
typedef CFIndex CFNumberFormatterStyle;
extern
CFNumberFormatterRef CFNumberFormatterCreate(CFAllocatorRef allocator, CFLocaleRef locale, CFNumberFormatterStyle style) ;
extern
CFLocaleRef CFNumberFormatterGetLocale(CFNumberFormatterRef formatter) ;
extern
CFNumberFormatterStyle CFNumberFormatterGetStyle(CFNumberFormatterRef formatter) ;
extern
CFStringRef CFNumberFormatterGetFormat(CFNumberFormatterRef formatter) ;
extern
void CFNumberFormatterSetFormat(CFNumberFormatterRef formatter, CFStringRef formatString) ;
# 59 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h" 3
extern
CFStringRef CFNumberFormatterCreateStringWithNumber(CFAllocatorRef allocator, CFNumberFormatterRef formatter, CFNumberRef number) ;
extern
CFStringRef CFNumberFormatterCreateStringWithValue(CFAllocatorRef allocator, CFNumberFormatterRef formatter, CFNumberType numberType, const void *valuePtr) ;
enum {
kCFNumberFormatterParseIntegersOnly = 1
};
typedef CFOptionFlags CFNumberFormatterOptionFlags;
extern
CFNumberRef CFNumberFormatterCreateNumberFromString(CFAllocatorRef allocator, CFNumberFormatterRef formatter, CFStringRef string, CFRange *rangep, CFOptionFlags options) ;
extern
Boolean CFNumberFormatterGetValueFromString(CFNumberFormatterRef formatter, CFStringRef string, CFRange *rangep, CFNumberType numberType, void *valuePtr) ;
# 89 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h" 3
extern
void CFNumberFormatterSetProperty(CFNumberFormatterRef formatter, CFStringRef key, CFTypeRef value) ;
extern
CFTypeRef CFNumberFormatterCopyProperty(CFNumberFormatterRef formatter, CFStringRef key) ;
extern const CFStringRef kCFNumberFormatterCurrencyCode ;
extern const CFStringRef kCFNumberFormatterDecimalSeparator ;
extern const CFStringRef kCFNumberFormatterCurrencyDecimalSeparator ;
extern const CFStringRef kCFNumberFormatterAlwaysShowDecimalSeparator ;
extern const CFStringRef kCFNumberFormatterGroupingSeparator ;
extern const CFStringRef kCFNumberFormatterUseGroupingSeparator ;
extern const CFStringRef kCFNumberFormatterPercentSymbol ;
extern const CFStringRef kCFNumberFormatterZeroSymbol ;
extern const CFStringRef kCFNumberFormatterNaNSymbol ;
extern const CFStringRef kCFNumberFormatterInfinitySymbol ;
extern const CFStringRef kCFNumberFormatterMinusSign ;
extern const CFStringRef kCFNumberFormatterPlusSign ;
extern const CFStringRef kCFNumberFormatterCurrencySymbol ;
extern const CFStringRef kCFNumberFormatterExponentSymbol ;
extern const CFStringRef kCFNumberFormatterMinIntegerDigits ;
extern const CFStringRef kCFNumberFormatterMaxIntegerDigits ;
extern const CFStringRef kCFNumberFormatterMinFractionDigits ;
extern const CFStringRef kCFNumberFormatterMaxFractionDigits ;
extern const CFStringRef kCFNumberFormatterGroupingSize ;
extern const CFStringRef kCFNumberFormatterSecondaryGroupingSize ;
extern const CFStringRef kCFNumberFormatterRoundingMode ;
extern const CFStringRef kCFNumberFormatterRoundingIncrement ;
extern const CFStringRef kCFNumberFormatterFormatWidth ;
extern const CFStringRef kCFNumberFormatterPaddingPosition ;
extern const CFStringRef kCFNumberFormatterPaddingCharacter ;
extern const CFStringRef kCFNumberFormatterDefaultFormat ;
extern const CFStringRef kCFNumberFormatterMultiplier ;
extern const CFStringRef kCFNumberFormatterPositivePrefix ;
extern const CFStringRef kCFNumberFormatterPositiveSuffix ;
extern const CFStringRef kCFNumberFormatterNegativePrefix ;
extern const CFStringRef kCFNumberFormatterNegativeSuffix ;
extern const CFStringRef kCFNumberFormatterPerMillSymbol ;
extern const CFStringRef kCFNumberFormatterInternationalCurrencySymbol ;
extern const CFStringRef kCFNumberFormatterCurrencyGroupingSeparator ;
extern const CFStringRef kCFNumberFormatterIsLenient ;
extern const CFStringRef kCFNumberFormatterUseSignificantDigits ;
extern const CFStringRef kCFNumberFormatterMinSignificantDigits ;
extern const CFStringRef kCFNumberFormatterMaxSignificantDigits ;
enum {
kCFNumberFormatterRoundCeiling = 0,
kCFNumberFormatterRoundFloor = 1,
kCFNumberFormatterRoundDown = 2,
kCFNumberFormatterRoundUp = 3,
kCFNumberFormatterRoundHalfEven = 4,
kCFNumberFormatterRoundHalfDown = 5,
kCFNumberFormatterRoundHalfUp = 6
};
typedef CFIndex CFNumberFormatterRoundingMode;
enum {
kCFNumberFormatterPadBeforePrefix = 0,
kCFNumberFormatterPadAfterPrefix = 1,
kCFNumberFormatterPadBeforeSuffix = 2,
kCFNumberFormatterPadAfterSuffix = 3
};
typedef CFIndex CFNumberFormatterPadPosition;
extern
Boolean CFNumberFormatterGetDecimalInfoForCurrencyCode(CFStringRef currencyCode, int32_t *defaultFractionDigits, double *roundingIncrement) ;
# 58 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h" 1 3
#define __COREFOUNDATION_CFPLUGIN__ 1
#define COREFOUNDATION_CFPLUGINCOM_SEPARATE 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h" 1 3
#define __COREFOUNDATION_CFUUID__ 1
typedef const struct __CFUUID * CFUUIDRef;
typedef struct {
UInt8 byte0;
UInt8 byte1;
UInt8 byte2;
UInt8 byte3;
UInt8 byte4;
UInt8 byte5;
UInt8 byte6;
UInt8 byte7;
UInt8 byte8;
UInt8 byte9;
UInt8 byte10;
UInt8 byte11;
UInt8 byte12;
UInt8 byte13;
UInt8 byte14;
UInt8 byte15;
} CFUUIDBytes;
extern
CFTypeID CFUUIDGetTypeID(void);
extern
CFUUIDRef CFUUIDCreate(CFAllocatorRef alloc);
extern
CFUUIDRef CFUUIDCreateWithBytes(CFAllocatorRef alloc, UInt8 byte0, UInt8 byte1, UInt8 byte2, UInt8 byte3, UInt8 byte4, UInt8 byte5, UInt8 byte6, UInt8 byte7, UInt8 byte8, UInt8 byte9, UInt8 byte10, UInt8 byte11, UInt8 byte12, UInt8 byte13, UInt8 byte14, UInt8 byte15);
extern
CFUUIDRef CFUUIDCreateFromString(CFAllocatorRef alloc, CFStringRef uuidStr);
extern
CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid);
extern
CFUUIDRef CFUUIDGetConstantUUIDWithBytes(CFAllocatorRef alloc, UInt8 byte0, UInt8 byte1, UInt8 byte2, UInt8 byte3, UInt8 byte4, UInt8 byte5, UInt8 byte6, UInt8 byte7, UInt8 byte8, UInt8 byte9, UInt8 byte10, UInt8 byte11, UInt8 byte12, UInt8 byte13, UInt8 byte14, UInt8 byte15);
extern
CFUUIDBytes CFUUIDGetUUIDBytes(CFUUIDRef uuid);
extern
CFUUIDRef CFUUIDCreateFromUUIDBytes(CFAllocatorRef alloc, CFUUIDBytes bytes);
# 18 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h" 2 3
extern
const CFStringRef kCFPlugInDynamicRegistrationKey;
extern
const CFStringRef kCFPlugInDynamicRegisterFunctionKey;
extern
const CFStringRef kCFPlugInUnloadFunctionKey;
extern
const CFStringRef kCFPlugInFactoriesKey;
extern
const CFStringRef kCFPlugInTypesKey;
typedef void (*CFPlugInDynamicRegisterFunction)(CFPlugInRef plugIn);
typedef void (*CFPlugInUnloadFunction)(CFPlugInRef plugIn);
typedef void *(*CFPlugInFactoryFunction)(CFAllocatorRef allocator, CFUUIDRef typeUUID);
extern
CFTypeID CFPlugInGetTypeID(void);
extern
CFPlugInRef CFPlugInCreate(CFAllocatorRef allocator, CFURLRef plugInURL);
extern
CFBundleRef CFPlugInGetBundle(CFPlugInRef plugIn);
extern
void CFPlugInSetLoadOnDemand(CFPlugInRef plugIn, Boolean flag);
extern
Boolean CFPlugInIsLoadOnDemand(CFPlugInRef plugIn);
extern
CFArrayRef CFPlugInFindFactoriesForPlugInType(CFUUIDRef typeUUID);
extern
CFArrayRef CFPlugInFindFactoriesForPlugInTypeInPlugIn(CFUUIDRef typeUUID, CFPlugInRef plugIn);
extern
void *CFPlugInInstanceCreate(CFAllocatorRef allocator, CFUUIDRef factoryUUID, CFUUIDRef typeUUID);
extern
Boolean CFPlugInRegisterFactoryFunction(CFUUIDRef factoryUUID, CFPlugInFactoryFunction func);
extern
Boolean CFPlugInRegisterFactoryFunctionByName(CFUUIDRef factoryUUID, CFPlugInRef plugIn, CFStringRef functionName);
extern
Boolean CFPlugInUnregisterFactory(CFUUIDRef factoryUUID);
extern
Boolean CFPlugInRegisterPlugInType(CFUUIDRef factoryUUID, CFUUIDRef typeUUID);
extern
Boolean CFPlugInUnregisterPlugInType(CFUUIDRef factoryUUID, CFUUIDRef typeUUID);
extern
void CFPlugInAddInstanceForFactory(CFUUIDRef factoryID);
extern
void CFPlugInRemoveInstanceForFactory(CFUUIDRef factoryID);
typedef struct __CFPlugInInstance *CFPlugInInstanceRef;
typedef Boolean (*CFPlugInInstanceGetInterfaceFunction)(CFPlugInInstanceRef instance, CFStringRef interfaceName, void **ftbl);
typedef void (*CFPlugInInstanceDeallocateInstanceDataFunction)(void *instanceData);
extern
Boolean CFPlugInInstanceGetInterfaceFunctionTable(CFPlugInInstanceRef instance, CFStringRef interfaceName, void **ftbl);
extern
CFStringRef CFPlugInInstanceGetFactoryName(CFPlugInInstanceRef instance);
extern
void *CFPlugInInstanceGetInstanceData(CFPlugInInstanceRef instance);
extern
CFTypeID CFPlugInInstanceGetTypeID(void);
extern
CFPlugInInstanceRef CFPlugInInstanceCreateWithInstanceDataSize(CFAllocatorRef allocator, CFIndex instanceDataSize, CFPlugInInstanceDeallocateInstanceDataFunction deallocateInstanceFunction, CFStringRef factoryName, CFPlugInInstanceGetInterfaceFunction getInterfaceFunction);
# 59 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h" 1 3
#define __COREFOUNDATION_CFPREFERENCES__ 1
extern
const CFStringRef kCFPreferencesAnyApplication;
extern
const CFStringRef kCFPreferencesCurrentApplication;
extern
const CFStringRef kCFPreferencesAnyHost;
extern
const CFStringRef kCFPreferencesCurrentHost;
extern
const CFStringRef kCFPreferencesAnyUser;
extern
const CFStringRef kCFPreferencesCurrentUser;
# 41 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h" 3
extern
CFPropertyListRef CFPreferencesCopyAppValue(CFStringRef key, CFStringRef applicationID);
extern
Boolean CFPreferencesGetAppBooleanValue(CFStringRef key, CFStringRef applicationID, Boolean *keyExistsAndHasValidFormat);
extern
CFIndex CFPreferencesGetAppIntegerValue(CFStringRef key, CFStringRef applicationID, Boolean *keyExistsAndHasValidFormat);
extern
void CFPreferencesSetAppValue(CFStringRef key, CFPropertyListRef value, CFStringRef applicationID);
extern
void CFPreferencesAddSuitePreferencesToApp(CFStringRef applicationID, CFStringRef suiteID);
extern
void CFPreferencesRemoveSuitePreferencesFromApp(CFStringRef applicationID, CFStringRef suiteID);
extern
Boolean CFPreferencesAppSynchronize(CFStringRef applicationID);
extern
CFPropertyListRef CFPreferencesCopyValue(CFStringRef key, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
CFDictionaryRef CFPreferencesCopyMultiple(CFArrayRef keysToFetch, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
void CFPreferencesSetValue(CFStringRef key, CFPropertyListRef value, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
void CFPreferencesSetMultiple(CFDictionaryRef keysToSet, CFArrayRef keysToRemove, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
Boolean CFPreferencesSynchronize(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
CFArrayRef CFPreferencesCopyApplicationList(CFStringRef userName, CFStringRef hostName);
extern
CFArrayRef CFPreferencesCopyKeyList(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
# 124 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h" 3
extern
Boolean CFPreferencesAppValueIsForced(CFStringRef key, CFStringRef applicationID);
# 60 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 1 3
#define __COREFOUNDATION_CFPROPERTYLIST__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 1 3
#define __COREFOUNDATION_CFSTREAM__ 1
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h" 1 3
#define __COREFOUNDATION_CFSOCKET__ 1
typedef int CFSocketNativeHandle;
typedef struct __CFSocket * CFSocketRef;
# 102 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h" 3
enum {
kCFSocketSuccess = 0,
kCFSocketError = -1,
kCFSocketTimeout = -2
};
typedef CFIndex CFSocketError;
typedef struct {
SInt32 protocolFamily;
SInt32 socketType;
SInt32 protocol;
CFDataRef address;
} CFSocketSignature;
enum {
kCFSocketNoCallBack = 0,
kCFSocketReadCallBack = 1,
kCFSocketAcceptCallBack = 2,
kCFSocketDataCallBack = 3,
kCFSocketConnectCallBack = 4
,
kCFSocketWriteCallBack = 8
};
typedef CFOptionFlags CFSocketCallBackType;
enum {
kCFSocketAutomaticallyReenableReadCallBack = 1,
kCFSocketAutomaticallyReenableAcceptCallBack = 2,
kCFSocketAutomaticallyReenableDataCallBack = 3,
kCFSocketAutomaticallyReenableWriteCallBack = 8,
kCFSocketCloseOnInvalidate = 128
};
typedef void (*CFSocketCallBack)(CFSocketRef s, CFSocketCallBackType type, CFDataRef address, const void *data, void *info);
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFSocketContext;
extern CFTypeID CFSocketGetTypeID(void);
extern CFSocketRef CFSocketCreate(CFAllocatorRef allocator, SInt32 protocolFamily, SInt32 socketType, SInt32 protocol, CFOptionFlags callBackTypes, CFSocketCallBack callout, const CFSocketContext *context);
extern CFSocketRef CFSocketCreateWithNative(CFAllocatorRef allocator, CFSocketNativeHandle sock, CFOptionFlags callBackTypes, CFSocketCallBack callout, const CFSocketContext *context);
extern CFSocketRef CFSocketCreateWithSocketSignature(CFAllocatorRef allocator, const CFSocketSignature *signature, CFOptionFlags callBackTypes, CFSocketCallBack callout, const CFSocketContext *context);
extern CFSocketRef CFSocketCreateConnectedToSocketSignature(CFAllocatorRef allocator, const CFSocketSignature *signature, CFOptionFlags callBackTypes, CFSocketCallBack callout, const CFSocketContext *context, CFTimeInterval timeout);
extern CFSocketError CFSocketSetAddress(CFSocketRef s, CFDataRef address);
extern CFSocketError CFSocketConnectToAddress(CFSocketRef s, CFDataRef address, CFTimeInterval timeout);
extern void CFSocketInvalidate(CFSocketRef s);
extern Boolean CFSocketIsValid(CFSocketRef s);
extern CFDataRef CFSocketCopyAddress(CFSocketRef s);
extern CFDataRef CFSocketCopyPeerAddress(CFSocketRef s);
extern void CFSocketGetContext(CFSocketRef s, CFSocketContext *context);
extern CFSocketNativeHandle CFSocketGetNative(CFSocketRef s);
extern CFRunLoopSourceRef CFSocketCreateRunLoopSource(CFAllocatorRef allocator, CFSocketRef s, CFIndex order);
extern CFOptionFlags CFSocketGetSocketFlags(CFSocketRef s);
extern void CFSocketSetSocketFlags(CFSocketRef s, CFOptionFlags flags);
extern void CFSocketDisableCallBacks(CFSocketRef s, CFOptionFlags callBackTypes);
extern void CFSocketEnableCallBacks(CFSocketRef s, CFOptionFlags callBackTypes);
extern CFSocketError CFSocketSendData(CFSocketRef s, CFDataRef address, CFDataRef data, CFTimeInterval timeout);
# 199 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h" 3
extern CFSocketError CFSocketRegisterValue(const CFSocketSignature *nameServerSignature, CFTimeInterval timeout, CFStringRef name, CFPropertyListRef value);
extern CFSocketError CFSocketCopyRegisteredValue(const CFSocketSignature *nameServerSignature, CFTimeInterval timeout, CFStringRef name, CFPropertyListRef *value, CFDataRef *nameServerAddress);
extern CFSocketError CFSocketRegisterSocketSignature(const CFSocketSignature *nameServerSignature, CFTimeInterval timeout, CFStringRef name, const CFSocketSignature *signature);
extern CFSocketError CFSocketCopyRegisteredSocketSignature(const CFSocketSignature *nameServerSignature, CFTimeInterval timeout, CFStringRef name, CFSocketSignature *signature, CFDataRef *nameServerAddress);
extern CFSocketError CFSocketUnregister(const CFSocketSignature *nameServerSignature, CFTimeInterval timeout, CFStringRef name);
extern void CFSocketSetDefaultNameRegistryPortNumber(UInt16 port);
extern UInt16 CFSocketGetDefaultNameRegistryPortNumber(void);
extern const CFStringRef kCFSocketCommandKey;
extern const CFStringRef kCFSocketNameKey;
extern const CFStringRef kCFSocketValueKey;
extern const CFStringRef kCFSocketResultKey;
extern const CFStringRef kCFSocketErrorKey;
extern const CFStringRef kCFSocketRegisterCommand;
extern const CFStringRef kCFSocketRetrieveCommand;
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 2 3
enum {
kCFStreamStatusNotOpen = 0,
kCFStreamStatusOpening,
kCFStreamStatusOpen,
kCFStreamStatusReading,
kCFStreamStatusWriting,
kCFStreamStatusAtEnd,
kCFStreamStatusClosed,
kCFStreamStatusError
};
typedef CFIndex CFStreamStatus;
enum {
kCFStreamEventNone = 0,
kCFStreamEventOpenCompleted = 1,
kCFStreamEventHasBytesAvailable = 2,
kCFStreamEventCanAcceptBytes = 4,
kCFStreamEventErrorOccurred = 8,
kCFStreamEventEndEncountered = 16
};
typedef CFOptionFlags CFStreamEventType;
typedef struct {
CFIndex version;
void *info;
void *(*retain)(void *info);
void (*release)(void *info);
CFStringRef (*copyDescription)(void *info);
} CFStreamClientContext;
typedef struct __CFReadStream * CFReadStreamRef;
typedef struct __CFWriteStream * CFWriteStreamRef;
typedef void (*CFReadStreamClientCallBack)(CFReadStreamRef stream, CFStreamEventType type, void *clientCallBackInfo);
typedef void (*CFWriteStreamClientCallBack)(CFWriteStreamRef stream, CFStreamEventType type, void *clientCallBackInfo);
extern
CFTypeID CFReadStreamGetTypeID(void);
extern
CFTypeID CFWriteStreamGetTypeID(void);
extern
const CFStringRef kCFStreamPropertyDataWritten;
extern
CFReadStreamRef CFReadStreamCreateWithBytesNoCopy(CFAllocatorRef alloc, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
extern
CFWriteStreamRef CFWriteStreamCreateWithBuffer(CFAllocatorRef alloc, UInt8 *buffer, CFIndex bufferCapacity);
extern
CFWriteStreamRef CFWriteStreamCreateWithAllocatedBuffers(CFAllocatorRef alloc, CFAllocatorRef bufferAllocator);
extern
CFReadStreamRef CFReadStreamCreateWithFile(CFAllocatorRef alloc, CFURLRef fileURL);
extern
CFWriteStreamRef CFWriteStreamCreateWithFile(CFAllocatorRef alloc, CFURLRef fileURL);
extern
void CFStreamCreateBoundPair(CFAllocatorRef alloc, CFReadStreamRef *readStream, CFWriteStreamRef *writeStream, CFIndex transferBufferSize);
extern
const CFStringRef kCFStreamPropertyAppendToFile;
extern const CFStringRef kCFStreamPropertyFileCurrentOffset ;
extern
const CFStringRef kCFStreamPropertySocketNativeHandle;
extern
const CFStringRef kCFStreamPropertySocketRemoteHostName;
extern
const CFStringRef kCFStreamPropertySocketRemotePortNumber;
extern
void CFStreamCreatePairWithSocket(CFAllocatorRef alloc, CFSocketNativeHandle sock, CFReadStreamRef *readStream, CFWriteStreamRef *writeStream);
extern
void CFStreamCreatePairWithSocketToHost(CFAllocatorRef alloc, CFStringRef host, UInt32 port, CFReadStreamRef *readStream, CFWriteStreamRef *writeStream);
extern
void CFStreamCreatePairWithPeerSocketSignature(CFAllocatorRef alloc, const CFSocketSignature *signature, CFReadStreamRef *readStream, CFWriteStreamRef *writeStream);
extern
CFStreamStatus CFReadStreamGetStatus(CFReadStreamRef stream);
extern
CFStreamStatus CFWriteStreamGetStatus(CFWriteStreamRef stream);
extern
CFErrorRef CFReadStreamCopyError(CFReadStreamRef stream) ;
extern
CFErrorRef CFWriteStreamCopyError(CFWriteStreamRef stream) ;
extern
Boolean CFReadStreamOpen(CFReadStreamRef stream);
extern
Boolean CFWriteStreamOpen(CFWriteStreamRef stream);
extern
void CFReadStreamClose(CFReadStreamRef stream);
extern
void CFWriteStreamClose(CFWriteStreamRef stream);
extern
Boolean CFReadStreamHasBytesAvailable(CFReadStreamRef stream);
# 164 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 3
extern
CFIndex CFReadStreamRead(CFReadStreamRef stream, UInt8 *buffer, CFIndex bufferLength);
# 176 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 3
extern
const UInt8 *CFReadStreamGetBuffer(CFReadStreamRef stream, CFIndex maxBytesToRead, CFIndex *numBytesRead);
extern
Boolean CFWriteStreamCanAcceptBytes(CFWriteStreamRef stream);
extern
CFIndex CFWriteStreamWrite(CFWriteStreamRef stream, const UInt8 *buffer, CFIndex bufferLength);
# 200 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 3
extern
CFTypeRef CFReadStreamCopyProperty(CFReadStreamRef stream, CFStringRef propertyName);
extern
CFTypeRef CFWriteStreamCopyProperty(CFWriteStreamRef stream, CFStringRef propertyName);
extern
Boolean CFReadStreamSetProperty(CFReadStreamRef stream, CFStringRef propertyName, CFTypeRef propertyValue);
extern
Boolean CFWriteStreamSetProperty(CFWriteStreamRef stream, CFStringRef propertyName, CFTypeRef propertyValue);
# 231 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h" 3
extern
Boolean CFReadStreamSetClient(CFReadStreamRef stream, CFOptionFlags streamEvents, CFReadStreamClientCallBack clientCB, CFStreamClientContext *clientContext);
extern
Boolean CFWriteStreamSetClient(CFWriteStreamRef stream, CFOptionFlags streamEvents, CFWriteStreamClientCallBack clientCB, CFStreamClientContext *clientContext);
extern
void CFReadStreamScheduleWithRunLoop(CFReadStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode);
extern
void CFWriteStreamScheduleWithRunLoop(CFWriteStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode);
extern
void CFReadStreamUnscheduleFromRunLoop(CFReadStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode);
extern
void CFWriteStreamUnscheduleFromRunLoop(CFWriteStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode);
enum {
kCFStreamErrorDomainCustom = -1,
kCFStreamErrorDomainPOSIX = 1,
kCFStreamErrorDomainMacOSStatus
};
typedef CFIndex CFStreamErrorDomain;
typedef struct {
CFIndex domain;
SInt32 error;
} CFStreamError;
extern
CFStreamError CFReadStreamGetError(CFReadStreamRef stream);
extern
CFStreamError CFWriteStreamGetError(CFWriteStreamRef stream);
# 12 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 2 3
enum {
kCFPropertyListImmutable = 0,
kCFPropertyListMutableContainers,
kCFPropertyListMutableContainersAndLeaves
};
typedef CFOptionFlags CFPropertyListMutabilityOptions;
# 30 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 3
extern
CFPropertyListRef CFPropertyListCreateFromXMLData(CFAllocatorRef allocator, CFDataRef xmlData, CFOptionFlags mutabilityOption, CFStringRef *errorString);
# 43 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 3
extern
CFDataRef CFPropertyListCreateXMLData(CFAllocatorRef allocator, CFPropertyListRef propertyList);
extern
CFPropertyListRef CFPropertyListCreateDeepCopy(CFAllocatorRef allocator, CFPropertyListRef propertyList, CFOptionFlags mutabilityOption);
enum {
kCFPropertyListOpenStepFormat = 1,
kCFPropertyListXMLFormat_v1_0 = 100,
kCFPropertyListBinaryFormat_v1_0 = 200
};
typedef CFIndex CFPropertyListFormat;
extern
Boolean CFPropertyListIsValid(CFPropertyListRef plist, CFPropertyListFormat format);
extern
CFIndex CFPropertyListWriteToStream(CFPropertyListRef propertyList, CFWriteStreamRef stream, CFPropertyListFormat format, CFStringRef *errorString);
# 85 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 3
extern
CFPropertyListRef CFPropertyListCreateFromStream(CFAllocatorRef allocator, CFReadStreamRef stream, CFIndex streamLength, CFOptionFlags mutabilityOption, CFPropertyListFormat *format, CFStringRef *errorString);
# 100 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h" 3
# 61 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 1 3
# 10 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
#define __COREFOUNDATION_CFSET__ 1
# 25 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
typedef const void * (*CFSetRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFSetReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFSetCopyDescriptionCallBack)(const void *value);
# 50 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
typedef Boolean (*CFSetEqualCallBack)(const void *value1, const void *value2);
typedef CFHashCode (*CFSetHashCallBack)(const void *value);
# 84 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
typedef struct {
CFIndex version;
CFSetRetainCallBack retain;
CFSetReleaseCallBack release;
CFSetCopyDescriptionCallBack copyDescription;
CFSetEqualCallBack equal;
CFSetHashCallBack hash;
} CFSetCallBacks;
extern
const CFSetCallBacks kCFTypeSetCallBacks;
extern
const CFSetCallBacks kCFCopyStringSetCallBacks;
# 118 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
typedef void (*CFSetApplierFunction)(const void *value, void *context);
typedef const struct __CFSet * CFSetRef;
typedef struct __CFSet * CFMutableSetRef;
extern
CFTypeID CFSetGetTypeID(void);
# 185 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFSetRef CFSetCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFSetCallBacks *callBacks);
# 206 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFSetRef CFSetCreateCopy(CFAllocatorRef allocator, CFSetRef theSet);
# 252 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFMutableSetRef CFSetCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFSetCallBacks *callBacks);
# 282 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFMutableSetRef CFSetCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFSetRef theSet);
# 292 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFIndex CFSetGetCount(CFSetRef theSet);
# 310 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
CFIndex CFSetGetCountOfValue(CFSetRef theSet, const void *value);
# 326 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
Boolean CFSetContainsValue(CFSetRef theSet, const void *value);
# 341 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
const void *CFSetGetValue(CFSetRef theSet, const void *value);
# 365 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
Boolean CFSetGetValueIfPresent(CFSetRef theSet, const void *candidate, const void **value);
# 379 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetGetValues(CFSetRef theSet, const void **values);
# 399 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetApplyFunction(CFSetRef theSet, CFSetApplierFunction applier, void *context);
# 414 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetAddValue(CFMutableSetRef theSet, const void *value);
# 433 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetReplaceValue(CFMutableSetRef theSet, const void *value);
# 453 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetSetValue(CFMutableSetRef theSet, const void *value);
# 468 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetRemoveValue(CFMutableSetRef theSet, const void *value);
# 478 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h" 3
extern
void CFSetRemoveAllValues(CFMutableSetRef theSet);
# 63 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h" 1 3
#define __COREFOUNDATION_CFSTRINGENCODINGEXT__ 1
enum {
kCFStringEncodingMacJapanese = 1,
kCFStringEncodingMacChineseTrad = 2,
kCFStringEncodingMacKorean = 3,
kCFStringEncodingMacArabic = 4,
kCFStringEncodingMacHebrew = 5,
kCFStringEncodingMacGreek = 6,
kCFStringEncodingMacCyrillic = 7,
kCFStringEncodingMacDevanagari = 9,
kCFStringEncodingMacGurmukhi = 10,
kCFStringEncodingMacGujarati = 11,
kCFStringEncodingMacOriya = 12,
kCFStringEncodingMacBengali = 13,
kCFStringEncodingMacTamil = 14,
kCFStringEncodingMacTelugu = 15,
kCFStringEncodingMacKannada = 16,
kCFStringEncodingMacMalayalam = 17,
kCFStringEncodingMacSinhalese = 18,
kCFStringEncodingMacBurmese = 19,
kCFStringEncodingMacKhmer = 20,
kCFStringEncodingMacThai = 21,
kCFStringEncodingMacLaotian = 22,
kCFStringEncodingMacGeorgian = 23,
kCFStringEncodingMacArmenian = 24,
kCFStringEncodingMacChineseSimp = 25,
kCFStringEncodingMacTibetan = 26,
kCFStringEncodingMacMongolian = 27,
kCFStringEncodingMacEthiopic = 28,
kCFStringEncodingMacCentralEurRoman = 29,
kCFStringEncodingMacVietnamese = 30,
kCFStringEncodingMacExtArabic = 31,
kCFStringEncodingMacSymbol = 33,
kCFStringEncodingMacDingbats = 34,
kCFStringEncodingMacTurkish = 35,
kCFStringEncodingMacCroatian = 36,
kCFStringEncodingMacIcelandic = 37,
kCFStringEncodingMacRomanian = 38,
kCFStringEncodingMacCeltic = 39,
kCFStringEncodingMacGaelic = 40,
kCFStringEncodingMacFarsi = 0x8C,
kCFStringEncodingMacUkrainian = 0x98,
kCFStringEncodingMacInuit = 0xEC,
kCFStringEncodingMacVT100 = 0xFC,
kCFStringEncodingMacHFS = 0xFF,
kCFStringEncodingISOLatin2 = 0x0202,
kCFStringEncodingISOLatin3 = 0x0203,
kCFStringEncodingISOLatin4 = 0x0204,
kCFStringEncodingISOLatinCyrillic = 0x0205,
kCFStringEncodingISOLatinArabic = 0x0206,
kCFStringEncodingISOLatinGreek = 0x0207,
kCFStringEncodingISOLatinHebrew = 0x0208,
kCFStringEncodingISOLatin5 = 0x0209,
kCFStringEncodingISOLatin6 = 0x020A,
kCFStringEncodingISOLatinThai = 0x020B,
kCFStringEncodingISOLatin7 = 0x020D,
kCFStringEncodingISOLatin8 = 0x020E,
kCFStringEncodingISOLatin9 = 0x020F,
kCFStringEncodingISOLatin10 = 0x0210,
kCFStringEncodingDOSLatinUS = 0x0400,
kCFStringEncodingDOSGreek = 0x0405,
kCFStringEncodingDOSBalticRim = 0x0406,
kCFStringEncodingDOSLatin1 = 0x0410,
kCFStringEncodingDOSGreek1 = 0x0411,
kCFStringEncodingDOSLatin2 = 0x0412,
kCFStringEncodingDOSCyrillic = 0x0413,
kCFStringEncodingDOSTurkish = 0x0414,
kCFStringEncodingDOSPortuguese = 0x0415,
kCFStringEncodingDOSIcelandic = 0x0416,
kCFStringEncodingDOSHebrew = 0x0417,
kCFStringEncodingDOSCanadianFrench = 0x0418,
kCFStringEncodingDOSArabic = 0x0419,
kCFStringEncodingDOSNordic = 0x041A,
kCFStringEncodingDOSRussian = 0x041B,
kCFStringEncodingDOSGreek2 = 0x041C,
kCFStringEncodingDOSThai = 0x041D,
kCFStringEncodingDOSJapanese = 0x0420,
kCFStringEncodingDOSChineseSimplif = 0x0421,
kCFStringEncodingDOSKorean = 0x0422,
kCFStringEncodingDOSChineseTrad = 0x0423,
kCFStringEncodingWindowsLatin2 = 0x0501,
kCFStringEncodingWindowsCyrillic = 0x0502,
kCFStringEncodingWindowsGreek = 0x0503,
kCFStringEncodingWindowsLatin5 = 0x0504,
kCFStringEncodingWindowsHebrew = 0x0505,
kCFStringEncodingWindowsArabic = 0x0506,
kCFStringEncodingWindowsBalticRim = 0x0507,
kCFStringEncodingWindowsVietnamese = 0x0508,
kCFStringEncodingWindowsKoreanJohab = 0x0510,
kCFStringEncodingANSEL = 0x0601,
kCFStringEncodingJIS_X0201_76 = 0x0620,
kCFStringEncodingJIS_X0208_83 = 0x0621,
kCFStringEncodingJIS_X0208_90 = 0x0622,
kCFStringEncodingJIS_X0212_90 = 0x0623,
kCFStringEncodingJIS_C6226_78 = 0x0624,
kCFStringEncodingShiftJIS_X0213 = 0x0628,
kCFStringEncodingShiftJIS_X0213_MenKuTen = 0x0629,
kCFStringEncodingGB_2312_80 = 0x0630,
kCFStringEncodingGBK_95 = 0x0631,
kCFStringEncodingGB_18030_2000 = 0x0632,
kCFStringEncodingKSC_5601_87 = 0x0640,
kCFStringEncodingKSC_5601_92_Johab = 0x0641,
kCFStringEncodingCNS_11643_92_P1 = 0x0651,
kCFStringEncodingCNS_11643_92_P2 = 0x0652,
kCFStringEncodingCNS_11643_92_P3 = 0x0653,
kCFStringEncodingISO_2022_JP = 0x0820,
kCFStringEncodingISO_2022_JP_2 = 0x0821,
kCFStringEncodingISO_2022_JP_1 = 0x0822,
kCFStringEncodingISO_2022_JP_3 = 0x0823,
kCFStringEncodingISO_2022_CN = 0x0830,
kCFStringEncodingISO_2022_CN_EXT = 0x0831,
kCFStringEncodingISO_2022_KR = 0x0840,
kCFStringEncodingEUC_JP = 0x0920,
kCFStringEncodingEUC_CN = 0x0930,
kCFStringEncodingEUC_TW = 0x0931,
kCFStringEncodingEUC_KR = 0x0940,
kCFStringEncodingShiftJIS = 0x0A01,
kCFStringEncodingKOI8_R = 0x0A02,
kCFStringEncodingBig5 = 0x0A03,
kCFStringEncodingMacRomanLatin1 = 0x0A04,
kCFStringEncodingHZ_GB_2312 = 0x0A05,
kCFStringEncodingBig5_HKSCS_1999 = 0x0A06,
kCFStringEncodingVISCII = 0x0A07,
kCFStringEncodingKOI8_U = 0x0A08,
kCFStringEncodingBig5_E = 0x0A09,
kCFStringEncodingNextStepJapanese = 0x0B02,
kCFStringEncodingEBCDIC_US = 0x0C01,
kCFStringEncodingEBCDIC_CP037 = 0x0C02,
kCFStringEncodingShiftJIS_X0213_00 = 0x0628
};
typedef CFIndex CFStringEncodings;
# 67 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 1 3
# 11 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
#define __COREFOUNDATION_CFTREE__ 1
# 27 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
typedef const void * (*CFTreeRetainCallBack)(const void *info);
typedef void (*CFTreeReleaseCallBack)(const void *info);
# 44 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
typedef CFStringRef (*CFTreeCopyDescriptionCallBack)(const void *info);
# 63 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
typedef struct {
CFIndex version;
void * info;
CFTreeRetainCallBack retain;
CFTreeReleaseCallBack release;
CFTreeCopyDescriptionCallBack copyDescription;
} CFTreeContext;
# 79 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
typedef void (*CFTreeApplierFunction)(const void *value, void *context);
typedef struct __CFTree * CFTreeRef;
extern
CFTypeID CFTreeGetTypeID(void);
# 111 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeCreate(CFAllocatorRef allocator, const CFTreeContext *context);
# 121 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeGetParent(CFTreeRef tree);
# 131 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeGetNextSibling(CFTreeRef tree);
# 141 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeGetFirstChild(CFTreeRef tree);
# 155 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeGetContext(CFTreeRef tree, CFTreeContext *context);
# 165 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFIndex CFTreeGetChildCount(CFTreeRef tree);
# 178 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeGetChildAtIndex(CFTreeRef tree, CFIndex idx);
# 191 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeGetChildren(CFTreeRef tree, CFTreeRef *children);
# 212 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeApplyFunctionToChildren(CFTreeRef tree, CFTreeApplierFunction applier, void *context);
# 222 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
CFTreeRef CFTreeFindRoot(CFTreeRef tree);
# 239 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeSetContext(CFTreeRef tree, const CFTreeContext *context);
# 252 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreePrependChild(CFTreeRef tree, CFTreeRef newChild);
# 265 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeAppendChild(CFTreeRef tree, CFTreeRef newChild);
# 280 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeInsertSibling(CFTreeRef tree, CFTreeRef newSibling);
extern
void CFTreeRemove(CFTreeRef tree);
extern
void CFTreeRemoveAllChildren(CFTreeRef tree);
# 318 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h" 3
extern
void CFTreeSortChildren(CFTreeRef tree, CFComparatorFunction comparator, void *context);
# 69 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h" 1 3
#define __COREFOUNDATION_CFURLACCESS__ 1
# 15 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h" 3
# 39 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h" 3
extern
Boolean CFURLCreateDataAndPropertiesFromResource(CFAllocatorRef alloc, CFURLRef url, CFDataRef *resourceData, CFDictionaryRef *properties, CFArrayRef desiredProperties, SInt32 *errorCode);
# 50 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h" 3
extern
Boolean CFURLWriteDataAndPropertiesToResource(CFURLRef url, CFDataRef dataToWrite, CFDictionaryRef propertiesToWrite, SInt32 *errorCode);
extern
Boolean CFURLDestroyResource(CFURLRef url, SInt32 *errorCode);
extern
CFTypeRef CFURLCreatePropertyFromResource(CFAllocatorRef alloc, CFURLRef url, CFStringRef property, SInt32 *errorCode);
enum {
kCFURLUnknownError = -10,
kCFURLUnknownSchemeError = -11,
kCFURLResourceNotFoundError = -12,
kCFURLResourceAccessViolationError = -13,
kCFURLRemoteHostUnavailableError = -14,
kCFURLImproperArgumentsError = -15,
kCFURLUnknownPropertyKeyError = -16,
kCFURLPropertyKeyUnavailableError = -17,
kCFURLTimeoutError = -18
};
typedef CFIndex CFURLError;
extern
const CFStringRef kCFURLFileExists;
extern
const CFStringRef kCFURLFileDirectoryContents;
extern
const CFStringRef kCFURLFileLength;
extern
const CFStringRef kCFURLFileLastModificationTime;
extern
const CFStringRef kCFURLFilePOSIXMode;
extern
const CFStringRef kCFURLFileOwnerID;
extern
const CFStringRef kCFURLHTTPStatusCode;
extern
const CFStringRef kCFURLHTTPStatusLine;
# 107 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h" 3
# 71 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h" 1 3
#define __COREFOUNDATION_CFUSERNOTIFICATION__ 1
# 15 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h" 3
typedef struct __CFUserNotification * CFUserNotificationRef;
# 63 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h" 3
typedef void (*CFUserNotificationCallBack)(CFUserNotificationRef userNotification, CFOptionFlags responseFlags);
extern
CFTypeID CFUserNotificationGetTypeID(void);
extern
CFUserNotificationRef CFUserNotificationCreate(CFAllocatorRef allocator, CFTimeInterval timeout, CFOptionFlags flags, SInt32 *error, CFDictionaryRef dictionary);
extern
SInt32 CFUserNotificationReceiveResponse(CFUserNotificationRef userNotification, CFTimeInterval timeout, CFOptionFlags *responseFlags);
extern
CFStringRef CFUserNotificationGetResponseValue(CFUserNotificationRef userNotification, CFStringRef key, CFIndex idx);
extern
CFDictionaryRef CFUserNotificationGetResponseDictionary(CFUserNotificationRef userNotification);
extern
SInt32 CFUserNotificationUpdate(CFUserNotificationRef userNotification, CFTimeInterval timeout, CFOptionFlags flags, CFDictionaryRef dictionary);
extern
SInt32 CFUserNotificationCancel(CFUserNotificationRef userNotification);
extern
CFRunLoopSourceRef CFUserNotificationCreateRunLoopSource(CFAllocatorRef allocator, CFUserNotificationRef userNotification, CFUserNotificationCallBack callout, CFIndex order);
extern
SInt32 CFUserNotificationDisplayNotice(CFTimeInterval timeout, CFOptionFlags flags, CFURLRef iconURL, CFURLRef soundURL, CFURLRef localizationURL, CFStringRef alertHeader, CFStringRef alertMessage, CFStringRef defaultButtonTitle);
extern
SInt32 CFUserNotificationDisplayAlert(CFTimeInterval timeout, CFOptionFlags flags, CFURLRef iconURL, CFURLRef soundURL, CFURLRef localizationURL, CFStringRef alertHeader, CFStringRef alertMessage, CFStringRef defaultButtonTitle, CFStringRef alternateButtonTitle, CFStringRef otherButtonTitle, CFOptionFlags *responseFlags);
enum {
kCFUserNotificationStopAlertLevel = 0,
kCFUserNotificationNoteAlertLevel = 1,
kCFUserNotificationCautionAlertLevel = 2,
kCFUserNotificationPlainAlertLevel = 3
};
enum {
kCFUserNotificationDefaultResponse = 0,
kCFUserNotificationAlternateResponse = 1,
kCFUserNotificationOtherResponse = 2,
kCFUserNotificationCancelResponse = 3
};
enum {
kCFUserNotificationNoDefaultButtonFlag = (1 << 5),
kCFUserNotificationUseRadioButtonsFlag = (1 << 6)
};
static __inline__ __attribute__((always_inline)) CFOptionFlags CFUserNotificationCheckBoxChecked(CFIndex i) {return ((CFOptionFlags)(1 << (8 + i)));}
static __inline__ __attribute__((always_inline)) CFOptionFlags CFUserNotificationSecureTextField(CFIndex i) {return ((CFOptionFlags)(1 << (16 + i)));}
static __inline__ __attribute__((always_inline)) CFOptionFlags CFUserNotificationPopUpSelection(CFIndex n) {return ((CFOptionFlags)(n << 24));}
extern
const CFStringRef kCFUserNotificationIconURLKey;
extern
const CFStringRef kCFUserNotificationSoundURLKey;
extern
const CFStringRef kCFUserNotificationLocalizationURLKey;
extern
const CFStringRef kCFUserNotificationAlertHeaderKey;
extern
const CFStringRef kCFUserNotificationAlertMessageKey;
extern
const CFStringRef kCFUserNotificationDefaultButtonTitleKey;
extern
const CFStringRef kCFUserNotificationAlternateButtonTitleKey;
extern
const CFStringRef kCFUserNotificationOtherButtonTitleKey;
extern
const CFStringRef kCFUserNotificationProgressIndicatorValueKey;
extern
const CFStringRef kCFUserNotificationPopUpTitlesKey;
extern
const CFStringRef kCFUserNotificationTextFieldTitlesKey;
extern
const CFStringRef kCFUserNotificationCheckBoxTitlesKey;
extern
const CFStringRef kCFUserNotificationTextFieldValuesKey;
extern
const CFStringRef kCFUserNotificationPopUpSelectionKey ;
# 73 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h" 1 3
#define __COREFOUNDATION_CFXMLNODE__ 1
enum {
kCFXMLNodeCurrentVersion = 1
};
typedef const struct __CFXMLNode * CFXMLNodeRef;
typedef CFTreeRef CFXMLTreeRef;
# 44 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h" 3
enum {
kCFXMLNodeTypeDocument = 1,
kCFXMLNodeTypeElement = 2,
kCFXMLNodeTypeAttribute = 3,
kCFXMLNodeTypeProcessingInstruction = 4,
kCFXMLNodeTypeComment = 5,
kCFXMLNodeTypeText = 6,
kCFXMLNodeTypeCDATASection = 7,
kCFXMLNodeTypeDocumentFragment = 8,
kCFXMLNodeTypeEntity = 9,
kCFXMLNodeTypeEntityReference = 10,
kCFXMLNodeTypeDocumentType = 11,
kCFXMLNodeTypeWhitespace = 12,
kCFXMLNodeTypeNotation = 13,
kCFXMLNodeTypeElementTypeDeclaration = 14,
kCFXMLNodeTypeAttributeListDeclaration = 15
};
typedef CFIndex CFXMLNodeTypeCode;
typedef struct {
CFDictionaryRef attributes;
CFArrayRef attributeOrder;
Boolean isEmpty;
char _reserved[3];
} CFXMLElementInfo;
typedef struct {
CFStringRef dataString;
} CFXMLProcessingInstructionInfo;
typedef struct {
CFURLRef sourceURL;
CFStringEncoding encoding;
} CFXMLDocumentInfo;
typedef struct {
CFURLRef systemID;
CFStringRef publicID;
} CFXMLExternalID;
typedef struct {
CFXMLExternalID externalID;
} CFXMLDocumentTypeInfo;
typedef struct {
CFXMLExternalID externalID;
} CFXMLNotationInfo;
typedef struct {
CFStringRef contentDescription;
} CFXMLElementTypeDeclarationInfo;
typedef struct {
CFStringRef attributeName;
CFStringRef typeString;
CFStringRef defaultString;
} CFXMLAttributeDeclarationInfo;
typedef struct {
CFIndex numberOfAttributes;
CFXMLAttributeDeclarationInfo *attributes;
} CFXMLAttributeListDeclarationInfo;
enum {
kCFXMLEntityTypeParameter,
kCFXMLEntityTypeParsedInternal,
kCFXMLEntityTypeParsedExternal,
kCFXMLEntityTypeUnparsed,
kCFXMLEntityTypeCharacter
};
typedef CFIndex CFXMLEntityTypeCode;
typedef struct {
CFXMLEntityTypeCode entityType;
CFStringRef replacementText;
CFXMLExternalID entityID;
CFStringRef notationName;
} CFXMLEntityInfo;
typedef struct {
CFXMLEntityTypeCode entityType;
} CFXMLEntityReferenceInfo;
# 149 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h" 3
extern
CFTypeID CFXMLNodeGetTypeID(void);
extern
CFXMLNodeRef CFXMLNodeCreate(CFAllocatorRef alloc, CFXMLNodeTypeCode xmlType, CFStringRef dataString, const void *additionalInfoPtr, CFIndex version);
extern
CFXMLNodeRef CFXMLNodeCreateCopy(CFAllocatorRef alloc, CFXMLNodeRef origNode);
extern
CFXMLNodeTypeCode CFXMLNodeGetTypeCode(CFXMLNodeRef node);
extern
CFStringRef CFXMLNodeGetString(CFXMLNodeRef node);
extern
const void *CFXMLNodeGetInfoPtr(CFXMLNodeRef node);
extern
CFIndex CFXMLNodeGetVersion(CFXMLNodeRef node);
extern
CFXMLTreeRef CFXMLTreeCreateWithNode(CFAllocatorRef allocator, CFXMLNodeRef node);
extern
CFXMLNodeRef CFXMLTreeGetNode(CFXMLTreeRef xmlTree);
# 74 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h" 1 3
#define __COREFOUNDATION_CFXMLPARSER__ 1
# 16 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h" 3
typedef struct __CFXMLParser * CFXMLParserRef;
# 50 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h" 3
enum {
kCFXMLParserValidateDocument = (1 << 0),
kCFXMLParserSkipMetaData = (1 << 1),
kCFXMLParserReplacePhysicalEntities = (1 << 2),
kCFXMLParserSkipWhitespace = (1 << 3),
kCFXMLParserResolveExternalEntities = (1 << 4),
kCFXMLParserAddImpliedAttributes = (1 << 5),
kCFXMLParserAllOptions = 0x00FFFFFF,
kCFXMLParserNoOptions = 0
};
typedef CFOptionFlags CFXMLParserOptions;
enum {
kCFXMLStatusParseNotBegun = -2,
kCFXMLStatusParseInProgress = -1,
kCFXMLStatusParseSuccessful = 0,
kCFXMLErrorUnexpectedEOF = 1,
kCFXMLErrorUnknownEncoding,
kCFXMLErrorEncodingConversionFailure,
kCFXMLErrorMalformedProcessingInstruction,
kCFXMLErrorMalformedDTD,
kCFXMLErrorMalformedName,
kCFXMLErrorMalformedCDSect,
kCFXMLErrorMalformedCloseTag,
kCFXMLErrorMalformedStartTag,
kCFXMLErrorMalformedDocument,
kCFXMLErrorElementlessDocument,
kCFXMLErrorMalformedComment,
kCFXMLErrorMalformedCharacterReference,
kCFXMLErrorMalformedParsedCharacterData,
kCFXMLErrorNoData
};
typedef CFIndex CFXMLParserStatusCode;
# 127 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h" 3
typedef void * (*CFXMLParserCreateXMLStructureCallBack)(CFXMLParserRef parser, CFXMLNodeRef nodeDesc, void *info);
typedef void (*CFXMLParserAddChildCallBack)(CFXMLParserRef parser, void *parent, void *child, void *info);
typedef void (*CFXMLParserEndXMLStructureCallBack)(CFXMLParserRef parser, void *xmlType, void *info);
typedef CFDataRef (*CFXMLParserResolveExternalEntityCallBack)(CFXMLParserRef parser, CFXMLExternalID *extID, void *info);
typedef Boolean (*CFXMLParserHandleErrorCallBack)(CFXMLParserRef parser, CFXMLParserStatusCode error, void *info);
typedef struct {
CFIndex version;
CFXMLParserCreateXMLStructureCallBack createXMLStructure;
CFXMLParserAddChildCallBack addChild;
CFXMLParserEndXMLStructureCallBack endXMLStructure;
CFXMLParserResolveExternalEntityCallBack resolveExternalEntity;
CFXMLParserHandleErrorCallBack handleError;
} CFXMLParserCallBacks;
typedef const void * (*CFXMLParserRetainCallBack)(const void *info);
typedef void (*CFXMLParserReleaseCallBack)(const void *info);
typedef CFStringRef (*CFXMLParserCopyDescriptionCallBack)(const void *info);
typedef struct {
CFIndex version;
void * info;
CFXMLParserRetainCallBack retain;
CFXMLParserReleaseCallBack release;
CFXMLParserCopyDescriptionCallBack copyDescription;
} CFXMLParserContext;
extern
CFTypeID CFXMLParserGetTypeID(void);
# 162 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h" 3
extern
CFXMLParserRef CFXMLParserCreate(CFAllocatorRef allocator, CFDataRef xmlData, CFURLRef dataSource, CFOptionFlags parseOptions, CFIndex versionOfNodes, CFXMLParserCallBacks *callBacks, CFXMLParserContext *context);
extern
CFXMLParserRef CFXMLParserCreateWithDataFromURL(CFAllocatorRef allocator, CFURLRef dataSource, CFOptionFlags parseOptions, CFIndex versionOfNodes, CFXMLParserCallBacks *callBacks, CFXMLParserContext *context);
extern
void CFXMLParserGetContext(CFXMLParserRef parser, CFXMLParserContext *context);
extern
void CFXMLParserGetCallBacks(CFXMLParserRef parser, CFXMLParserCallBacks *callBacks);
extern
CFURLRef CFXMLParserGetSourceURL(CFXMLParserRef parser);
extern
CFIndex CFXMLParserGetLocation(CFXMLParserRef parser);
extern
CFIndex CFXMLParserGetLineNumber(CFXMLParserRef parser);
extern
void *CFXMLParserGetDocument(CFXMLParserRef parser);
extern
CFXMLParserStatusCode CFXMLParserGetStatusCode(CFXMLParserRef parser);
extern
CFStringRef CFXMLParserCopyErrorDescription(CFXMLParserRef parser);
extern
void CFXMLParserAbort(CFXMLParserRef parser, CFXMLParserStatusCode errorCode, CFStringRef errorDescription);
extern
Boolean CFXMLParserParse(CFXMLParserRef parser);
extern
CFXMLTreeRef CFXMLTreeCreateFromData(CFAllocatorRef allocator, CFDataRef xmlData, CFURLRef dataSource, CFOptionFlags parseOptions, CFIndex versionOfNodes);
extern
CFXMLTreeRef CFXMLTreeCreateFromDataWithError(CFAllocatorRef allocator, CFDataRef xmlData, CFURLRef dataSource, CFOptionFlags parseOptions, CFIndex versionOfNodes, CFDictionaryRef *errorDict) ;
extern
CFXMLTreeRef CFXMLTreeCreateWithDataFromURL(CFAllocatorRef allocator, CFURLRef dataSource, CFOptionFlags parseOptions, CFIndex versionOfNodes);
extern
CFDataRef CFXMLTreeCreateXMLData(CFAllocatorRef allocator, CFXMLTreeRef xmlTree);
extern
CFStringRef CFXMLCreateStringByEscapingEntities(CFAllocatorRef allocator, CFStringRef string, CFDictionaryRef entitiesDictionary) ;
extern
CFStringRef CFXMLCreateStringByUnescapingEntities(CFAllocatorRef allocator, CFStringRef string, CFDictionaryRef entitiesDictionary) ;
extern const CFStringRef kCFXMLTreeErrorDescription ;
extern const CFStringRef kCFXMLTreeErrorLineNumber ;
extern const CFStringRef kCFXMLTreeErrorLocation ;
extern const CFStringRef kCFXMLTreeErrorStatusCode ;
# 75 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h" 1 3
# 14 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h" 3
#define __COREFOUNDATION_CFATTRIBUTEDSTRING__ 1
typedef const struct __CFAttributedString *CFAttributedStringRef;
typedef struct __CFAttributedString *CFMutableAttributedStringRef;
extern CFTypeID CFAttributedStringGetTypeID(void) ;
# 40 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h" 3
extern CFAttributedStringRef CFAttributedStringCreate(CFAllocatorRef alloc, CFStringRef str, CFDictionaryRef attributes) ;
extern CFAttributedStringRef CFAttributedStringCreateWithSubstring(CFAllocatorRef alloc, CFAttributedStringRef aStr, CFRange range) ;
extern CFAttributedStringRef CFAttributedStringCreateCopy(CFAllocatorRef alloc, CFAttributedStringRef aStr) ;
extern CFStringRef CFAttributedStringGetString(CFAttributedStringRef aStr) ;
extern CFIndex CFAttributedStringGetLength(CFAttributedStringRef aStr) ;
extern CFDictionaryRef CFAttributedStringGetAttributes(CFAttributedStringRef aStr, CFIndex loc, CFRange *effectiveRange) ;
extern CFTypeRef CFAttributedStringGetAttribute(CFAttributedStringRef aStr, CFIndex loc, CFStringRef attrName, CFRange *effectiveRange) ;
extern CFDictionaryRef CFAttributedStringGetAttributesAndLongestEffectiveRange(CFAttributedStringRef aStr, CFIndex loc, CFRange inRange, CFRange *longestEffectiveRange) ;
extern CFTypeRef CFAttributedStringGetAttributeAndLongestEffectiveRange(CFAttributedStringRef aStr, CFIndex loc, CFStringRef attrName, CFRange inRange, CFRange *longestEffectiveRange) ;
# 91 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h" 3
extern CFMutableAttributedStringRef CFAttributedStringCreateMutableCopy(CFAllocatorRef alloc, CFIndex maxLength, CFAttributedStringRef aStr) ;
extern CFMutableAttributedStringRef CFAttributedStringCreateMutable(CFAllocatorRef alloc, CFIndex maxLength) ;
extern void CFAttributedStringReplaceString(CFMutableAttributedStringRef aStr, CFRange range, CFStringRef replacement) ;
extern CFMutableStringRef CFAttributedStringGetMutableString(CFMutableAttributedStringRef aStr) ;
extern void CFAttributedStringSetAttributes(CFMutableAttributedStringRef aStr, CFRange range, CFDictionaryRef replacement, Boolean clearOtherAttributes) ;
extern void CFAttributedStringSetAttribute(CFMutableAttributedStringRef aStr, CFRange range, CFStringRef attrName, CFTypeRef value) ;
extern void CFAttributedStringRemoveAttribute(CFMutableAttributedStringRef aStr, CFRange range, CFStringRef attrName) ;
extern void CFAttributedStringReplaceAttributedString(CFMutableAttributedStringRef aStr, CFRange range, CFAttributedStringRef replacement) ;
extern void CFAttributedStringBeginEditing(CFMutableAttributedStringRef aStr) ;
extern void CFAttributedStringEndEditing(CFMutableAttributedStringRef aStr) ;
# 78 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h" 1 3
#define __COREFOUNDATION_CFNOTIFICATIONCENTER__ 1
typedef struct __CFNotificationCenter * CFNotificationCenterRef;
typedef void (*CFNotificationCallback)(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef userInfo);
enum {
CFNotificationSuspensionBehaviorDrop = 1,
CFNotificationSuspensionBehaviorCoalesce = 2,
CFNotificationSuspensionBehaviorHold = 3,
CFNotificationSuspensionBehaviorDeliverImmediately = 4
};
typedef CFIndex CFNotificationSuspensionBehavior;
extern CFTypeID CFNotificationCenterGetTypeID(void);
extern CFNotificationCenterRef CFNotificationCenterGetLocalCenter(void) ;
extern CFNotificationCenterRef CFNotificationCenterGetDistributedCenter(void);
extern CFNotificationCenterRef CFNotificationCenterGetDarwinNotifyCenter(void) ;
# 53 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h" 3
extern void CFNotificationCenterAddObserver(CFNotificationCenterRef center, const void *observer, CFNotificationCallback callBack, CFStringRef name, const void *object, CFNotificationSuspensionBehavior suspensionBehavior);
extern void CFNotificationCenterRemoveObserver(CFNotificationCenterRef center, const void *observer, CFStringRef name, const void *object);
extern void CFNotificationCenterRemoveEveryObserver(CFNotificationCenterRef center, const void *observer);
extern void CFNotificationCenterPostNotification(CFNotificationCenterRef center, CFStringRef name, const void *object, CFDictionaryRef userInfo, Boolean deliverImmediately);
enum {
kCFNotificationDeliverImmediately = (1 << 0),
kCFNotificationPostToAllSessions = (1 << 1)
};
void CFNotificationCenterPostNotificationWithOptions(CFNotificationCenterRef center, CFStringRef name, const void *object, CFDictionaryRef userInfo, CFOptionFlags options) ;
# 79 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 1 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 1 3
# 23 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
#define __COREFOUNDATION_CFSTRINGTOKENIZER__ 1
# 51 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFStringRef CFStringTokenizerCopyBestStringLanguage(CFStringRef string, CFRange range);
typedef struct __CFStringTokenizer * CFStringTokenizerRef;
enum {
kCFStringTokenizerUnitWord = 0,
kCFStringTokenizerUnitSentence = 1,
kCFStringTokenizerUnitParagraph = 2,
kCFStringTokenizerUnitLineBreak = 3,
kCFStringTokenizerUnitWordBoundary = 4,
# 92 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
kCFStringTokenizerAttributeLatinTranscription = 1L << 16,
kCFStringTokenizerAttributeLanguage = 1L << 17
};
enum {
kCFStringTokenizerTokenNone = 0,
kCFStringTokenizerTokenNormal = 1,
kCFStringTokenizerTokenHasSubTokensMask = 1L << 1,
kCFStringTokenizerTokenHasDerivedSubTokensMask = 1L << 2,
kCFStringTokenizerTokenHasHasNumbersMask = 1L << 3,
kCFStringTokenizerTokenHasNonLettersMask = 1L << 4,
kCFStringTokenizerTokenIsCJWordMask = 1L << 5
};
typedef CFOptionFlags CFStringTokenizerTokenType;
extern
CFTypeID CFStringTokenizerGetTypeID(void);
# 156 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFStringTokenizerRef CFStringTokenizerCreate(CFAllocatorRef alloc, CFStringRef string, CFRange range, CFOptionFlags options, CFLocaleRef locale);
# 168 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
void CFStringTokenizerSetString(CFStringTokenizerRef tokenizer, CFStringRef string, CFRange range);
# 186 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFStringTokenizerTokenType CFStringTokenizerGoToTokenAtIndex(CFStringTokenizerRef tokenizer, CFIndex index);
# 210 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFStringTokenizerTokenType CFStringTokenizerAdvanceToNextToken(CFStringTokenizerRef tokenizer);
# 220 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFRange CFStringTokenizerGetCurrentTokenRange(CFStringTokenizerRef tokenizer);
# 234 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFTypeRef CFStringTokenizerCopyCurrentTokenAttribute(CFStringTokenizerRef tokenizer, CFOptionFlags attribute);
# 261 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h" 3
extern
CFIndex CFStringTokenizerGetCurrentSubTokens(CFStringTokenizerRef tokenizer, CFRange *ranges, CFIndex maxRangeLength, CFMutableArrayRef derivedSubTokens);
# 80 "/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h" 2 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
#define __FINDER__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
#pragma pack(push, 2)
enum {
kClippingCreator = 'drag',
kClippingPictureType = 'clpp',
kClippingTextType = 'clpt',
kClippingSoundType = 'clps',
kClippingUnknownType = 'clpu'
};
enum {
kInternetLocationCreator = 'drag',
kInternetLocationHTTP = 'ilht',
kInternetLocationFTP = 'ilft',
kInternetLocationFile = 'ilfi',
kInternetLocationMail = 'ilma',
kInternetLocationNNTP = 'ilnw',
kInternetLocationAFP = 'ilaf',
kInternetLocationAppleTalk = 'ilat',
kInternetLocationNSL = 'ilns',
kInternetLocationGeneric = 'ilge'
};
enum {
kCustomIconResource = -16455
};
enum {
kCustomBadgeResourceType = 'badg',
kCustomBadgeResourceID = kCustomIconResource,
kCustomBadgeResourceVersion = 0
};
struct CustomBadgeResource {
SInt16 version;
SInt16 customBadgeResourceID;
OSType customBadgeType;
OSType customBadgeCreator;
OSType windowBadgeType;
OSType windowBadgeCreator;
OSType overrideType;
OSType overrideCreator;
};
typedef struct CustomBadgeResource CustomBadgeResource;
typedef CustomBadgeResource * CustomBadgeResourcePtr;
typedef CustomBadgeResourcePtr * CustomBadgeResourceHandle;
# 100 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
enum {
kRoutingResourceType = 'rout',
kRoutingResourceID = 0
};
struct RoutingResourceEntry {
OSType creator;
OSType fileType;
OSType targetFolder;
OSType destinationFolder;
OSType reservedField;
};
typedef struct RoutingResourceEntry RoutingResourceEntry;
typedef RoutingResourceEntry * RoutingResourcePtr;
typedef RoutingResourcePtr * RoutingResourceHandle;
enum {
kContainerFolderAliasType = 'fdrp',
kContainerTrashAliasType = 'trsh',
kContainerHardDiskAliasType = 'hdsk',
kContainerFloppyAliasType = 'flpy',
kContainerServerAliasType = 'srvr',
kApplicationAliasType = 'adrp',
kContainerAliasType = 'drop',
kDesktopPrinterAliasType = 'dtpa',
kContainerCDROMAliasType = 'cddr',
kApplicationCPAliasType = 'acdp',
kApplicationDAAliasType = 'addp',
kPackageAliasType = 'fpka',
kAppPackageAliasType = 'fapa'
};
enum {
kSystemFolderAliasType = 'fasy',
kAppleMenuFolderAliasType = 'faam',
kStartupFolderAliasType = 'fast',
kPrintMonitorDocsFolderAliasType = 'fapn',
kPreferencesFolderAliasType = 'fapf',
kControlPanelFolderAliasType = 'fact',
kExtensionFolderAliasType = 'faex'
};
enum {
kExportedFolderAliasType = 'faet',
kDropFolderAliasType = 'fadr',
kSharedFolderAliasType = 'fash',
kMountedFolderAliasType = 'famn'
};
enum {
kIsOnDesk = 0x0001,
kColor = 0x000E,
kIsShared = 0x0040,
kHasNoINITs = 0x0080,
kHasBeenInited = 0x0100,
kHasCustomIcon = 0x0400,
kIsStationery = 0x0800,
kNameLocked = 0x1000,
kHasBundle = 0x2000,
kIsInvisible = 0x4000,
kIsAlias = 0x8000
};
enum {
fOnDesk = kIsOnDesk,
fHasBundle = kHasBundle,
fInvisible = kIsInvisible
};
enum {
fTrash = -3,
fDesktop = -2,
fDisk = 0
};
# 205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
enum {
kExtendedFlagsAreInvalid = 0x8000,
kExtendedFlagHasCustomBadge = 0x0100,
kExtendedFlagObjectIsBusy = 0x0080,
kExtendedFlagHasRoutingInfo = 0x0004
};
# 220 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
enum {
kFirstMagicBusyFiletype = 'bzy ',
kLastMagicBusyFiletype = 'bzy?'
};
enum {
kMagicBusyCreationDate = 0x4F3AFDB0
};
# 243 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
struct FileInfo {
OSType fileType;
OSType fileCreator;
UInt16 finderFlags;
Point location;
UInt16 reservedField;
};
typedef struct FileInfo FileInfo;
struct FolderInfo {
Rect windowBounds;
UInt16 finderFlags;
Point location;
UInt16 reservedField;
};
typedef struct FolderInfo FolderInfo;
struct ExtendedFileInfo {
SInt16 reserved1[4];
UInt16 extendedFinderFlags;
SInt16 reserved2;
SInt32 putAwayFolderID;
};
typedef struct ExtendedFileInfo ExtendedFileInfo;
struct ExtendedFolderInfo {
Point scrollPosition;
SInt32 reserved1;
UInt16 extendedFinderFlags;
SInt16 reserved2;
SInt32 putAwayFolderID;
};
typedef struct ExtendedFolderInfo ExtendedFolderInfo;
# 287 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h" 3
struct FInfo {
OSType fdType;
OSType fdCreator;
UInt16 fdFlags;
Point fdLocation;
SInt16 fdFldr;
};
typedef struct FInfo FInfo;
struct FXInfo {
SInt16 fdIconID;
SInt16 fdReserved[3];
SInt8 fdScript;
SInt8 fdXFlags;
SInt16 fdComment;
SInt32 fdPutAway;
};
typedef struct FXInfo FXInfo;
struct DInfo {
Rect frRect;
UInt16 frFlags;
Point frLocation;
SInt16 frView;
};
typedef struct DInfo DInfo;
struct DXInfo {
Point frScroll;
SInt32 frOpenChain;
SInt8 frScript;
SInt8 frXFlags;
SInt16 frComment;
SInt32 frPutAway;
};
typedef struct DXInfo DXInfo;
#pragma pack(pop)
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
#define __FIXMATH__
# 36 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
#define fixed1 ((Fixed) 0x00010000L)
#define fract1 ((Fract) 0x40000000L)
#define positiveInfinity ((Fixed) 0x7FFFFFFFL)
#define negativeInfinity ((Fixed) -0x80000000L)
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
#define _IntSaturate(x) ({ int _Result = (int) (x); __asm__(" ucomisd %[LimitFloat], %[xx] \n cmovae %[LimitInt], %[_Result] " : [_Result] "+r" (_Result) : [LimitFloat] "mx" (0x1p31), [LimitInt] "mr" (0x7fffffff), [xx] "x" ((double)(x)) : "cc" ); _Result; })
# 100 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
#define FloatToFixed(a) (_IntSaturate((a) * fixed1))
#define FloatToFract(a) (_IntSaturate((a) * fract1))
#define FixedRound(a) ((short)(((Fixed)(a) + fixed1/2) >> 16))
#define FixedSquareRoot(a) (((Fixed)FractSquareRoot(a) + 64) >> 7)
#define FixedTruncate(a) ((short)((Fixed)(a) >> 16))
#define FixedToFract(a) ((Fract)(a) << 14)
#define FractToFixed(a) (((Fixed)(a) + 8192L) >> 14)
#define FixedToInt(a) ((short)(((Fixed)(a) + fixed1/2) >> 16))
#define IntToFixed(a) ((Fixed)(a) << 16)
#define FixedToFloat(a) ((float)(a) / fixed1)
#define FractToFloat(a) ((float)(a) / fract1)
#define ColorToFract(a) (((Fract) (a) << 14) + ((Fract)(a) + 2 >> 2))
#define FractToColor(a) ((gxColorValue) ((a) - ((a) >> 16) + 8191 >> 14))
# 130 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
FixRatio(
short numer,
short denom) ;
# 144 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
FixMul(
Fixed a,
Fixed b) ;
# 158 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern short
FixRound(Fixed x) ;
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
Fix2Frac(Fixed x) ;
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern SInt32
Fix2Long(Fixed x) ;
# 194 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
Long2Fix(SInt32 x) ;
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
Frac2Fix(Fract x) ;
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
FracMul(
Fract x,
Fract y) ;
# 232 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
FixDiv(
Fixed x,
Fixed y) ;
# 246 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
FracDiv(
Fract x,
Fract y) ;
# 260 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
FracSqrt(Fract x) ;
# 272 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
FracSin(Fixed x) ;
# 284 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
FracCos(Fixed x) ;
# 296 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
FixATan2(
SInt32 x,
SInt32 y) ;
# 319 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern double
Frac2X(Fract x) ;
# 331 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern double
Fix2X(Fixed x) ;
# 343 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fixed
X2Fix(double x) ;
# 355 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern Fract
X2Frac(double x) ;
# 379 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern short
WideCompare(
const wide * target,
const wide * source) ;
# 408 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideAdd(
wide * target,
const wide * source) ;
# 437 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideSubtract(
wide * target,
const wide * source) ;
# 462 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideNegate(wide * target) ;
# 487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideShift(
wide * target,
SInt32 shift) ;
# 513 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern UInt32
WideSquareRoot(const wide * source) ;
# 541 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideMultiply(
SInt32 multiplicand,
SInt32 multiplier,
wide * target) ;
# 580 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern SInt32
WideDivide(
const wide * dividend,
SInt32 divisor,
SInt32 * remainder) ;
# 615 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideWideDivide(
wide * dividend,
SInt32 divisor,
SInt32 * remainder) ;
# 646 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern wide *
WideBitShift(
wide * target,
SInt32 shift) ;
# 660 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FixMath.h" 3
extern UnsignedFixed
UnsignedFixedMulDiv(
UnsignedFixed value,
UnsignedFixed multiplier,
UnsignedFixed divisor) ;
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
#define __SCRIPT__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h" 3
#define __INTLRESOURCES__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h" 3
#pragma pack(push, 2)
enum {
itlcShowIcon = 7,
itlcDualCaret = 6,
itlcSysDirection = 15
};
enum {
itlcDisableKeyScriptSync = 3
};
enum {
itlcDisableKeyScriptSyncMask = 1 << itlcDisableKeyScriptSync
};
enum {
tokLeftQuote = 1,
tokRightQuote = 2,
tokLeadPlacer = 3,
tokLeader = 4,
tokNonLeader = 5,
tokZeroLead = 6,
tokPercent = 7,
tokPlusSign = 8,
tokMinusSign = 9,
tokThousands = 10,
tokReserved = 11,
tokSeparator = 12,
tokEscape = 13,
tokDecPoint = 14,
tokEPlus = 15,
tokEMinus = 16,
tokMaxSymbols = 31,
curNumberPartsVersion = 1
};
enum {
currSymLead = 16,
currNegSym = 32,
currTrailingZ = 64,
currLeadingZ = 128
};
enum {
mdy = 0,
dmy = 1,
ymd = 2,
myd = 3,
dym = 4,
ydm = 5
};
typedef SInt8 DateOrders;
enum {
timeCycle24 = 0,
timeCycleZero = 1,
timeCycle12 = 255,
zeroCycle = 1,
longDay = 0,
longWeek = 1,
longMonth = 2,
longYear = 3,
supDay = 1,
supWeek = 2,
supMonth = 4,
supYear = 8,
dayLdingZ = 32,
mntLdingZ = 64,
century = 128,
secLeadingZ = 32,
minLeadingZ = 64,
hrLeadingZ = 128
};
struct OffPair {
short offFirst;
short offSecond;
};
typedef struct OffPair OffPair;
typedef OffPair OffsetTable[3];
struct Intl0Rec {
char decimalPt;
char thousSep;
char listSep;
char currSym1;
char currSym2;
char currSym3;
UInt8 currFmt;
UInt8 dateOrder;
UInt8 shrtDateFmt;
char dateSep;
UInt8 timeCycle;
UInt8 timeFmt;
char mornStr[4];
char eveStr[4];
char timeSep;
char time1Suff;
char time2Suff;
char time3Suff;
char time4Suff;
char time5Suff;
char time6Suff;
char time7Suff;
char time8Suff;
UInt8 metricSys;
short intl0Vers;
};
typedef struct Intl0Rec Intl0Rec;
typedef Intl0Rec * Intl0Ptr;
typedef Intl0Ptr * Intl0Hndl;
struct Intl1Rec {
Str15 days[7];
Str15 months[12];
UInt8 suppressDay;
UInt8 lngDateFmt;
UInt8 dayLeading0;
UInt8 abbrLen;
char st0[4];
char st1[4];
char st2[4];
char st3[4];
char st4[4];
short intl1Vers;
short localRtn[1];
};
typedef struct Intl1Rec Intl1Rec;
typedef Intl1Rec * Intl1Ptr;
typedef Intl1Ptr * Intl1Hndl;
struct Itl1ExtRec {
Intl1Rec base;
short version;
short format;
short calendarCode;
SInt32 extraDaysTableOffset;
SInt32 extraDaysTableLength;
SInt32 extraMonthsTableOffset;
SInt32 extraMonthsTableLength;
SInt32 abbrevDaysTableOffset;
SInt32 abbrevDaysTableLength;
SInt32 abbrevMonthsTableOffset;
SInt32 abbrevMonthsTableLength;
SInt32 extraSepsTableOffset;
SInt32 extraSepsTableLength;
short tables[1];
};
typedef struct Itl1ExtRec Itl1ExtRec;
struct UntokenTable {
short len;
short lastToken;
short index[256];
};
typedef struct UntokenTable UntokenTable;
typedef UntokenTable * UntokenTablePtr;
typedef UntokenTablePtr * UntokenTableHandle;
#define __WIDE_CHAR_USE_STRUCT__ 1
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h" 3
union WideChar {
struct {
char lo;
char hi;
} a;
short b;
};
typedef union WideChar WideChar;
# 227 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/IntlResources.h" 3
struct WideCharArr {
short size;
WideChar data[10];
};
typedef struct WideCharArr WideCharArr;
struct NumberParts {
short version;
WideChar data[31];
WideCharArr pePlus;
WideCharArr peMinus;
WideCharArr peMinusPlus;
WideCharArr altNumTable;
char reserved[20];
};
typedef struct NumberParts NumberParts;
typedef NumberParts * NumberPartsPtr;
struct Itl4Rec {
short flags;
SInt32 resourceType;
short resourceNum;
short version;
SInt32 resHeader1;
SInt32 resHeader2;
short numTables;
SInt32 mapOffset;
SInt32 strOffset;
SInt32 fetchOffset;
SInt32 unTokenOffset;
SInt32 defPartsOffset;
SInt32 resOffset6;
SInt32 resOffset7;
SInt32 resOffset8;
};
typedef struct Itl4Rec Itl4Rec;
typedef Itl4Rec * Itl4Ptr;
typedef Itl4Ptr * Itl4Handle;
struct NItl4Rec {
short flags;
SInt32 resourceType;
short resourceNum;
short version;
short format;
short resHeader;
SInt32 resHeader2;
short numTables;
SInt32 mapOffset;
SInt32 strOffset;
SInt32 fetchOffset;
SInt32 unTokenOffset;
SInt32 defPartsOffset;
SInt32 whtSpListOffset;
SInt32 resOffset7;
SInt32 resOffset8;
short resLength1;
short resLength2;
short resLength3;
short unTokenLength;
short defPartsLength;
short whtSpListLength;
short resLength7;
short resLength8;
};
typedef struct NItl4Rec NItl4Rec;
typedef NItl4Rec * NItl4Ptr;
typedef NItl4Ptr * NItl4Handle;
struct TableDirectoryRecord {
OSType tableSignature;
UInt32 reserved;
UInt32 tableStartOffset;
UInt32 tableSize;
};
typedef struct TableDirectoryRecord TableDirectoryRecord;
struct Itl5Record {
Fixed versionNumber;
unsigned short numberOfTables;
unsigned short reserved[3];
TableDirectoryRecord tableDirectory[1];
};
typedef struct Itl5Record Itl5Record;
struct RuleBasedTrslRecord {
short sourceType;
short targetType;
short formatNumber;
short propertyFlag;
short numberOfRules;
};
typedef struct RuleBasedTrslRecord RuleBasedTrslRecord;
struct ItlcRecord {
short itlcSystem;
short itlcReserved;
SInt8 itlcFontForce;
SInt8 itlcIntlForce;
SInt8 itlcOldKybd;
SInt8 itlcFlags;
short itlcIconOffset;
SInt8 itlcIconSide;
SInt8 itlcIconRsvd;
short itlcRegionCode;
short itlcSysFlags;
SInt8 itlcReserved4[32];
};
typedef struct ItlcRecord ItlcRecord;
struct ItlbRecord {
short itlbNumber;
short itlbDate;
short itlbSort;
short itlbFlags;
short itlbToken;
short itlbEncoding;
short itlbLang;
SInt8 itlbNumRep;
SInt8 itlbDateRep;
short itlbKeys;
short itlbIcon;
};
typedef struct ItlbRecord ItlbRecord;
struct ItlbExtRecord {
ItlbRecord base;
SInt32 itlbLocalSize;
short itlbMonoFond;
short itlbMonoSize;
short itlbPrefFond;
short itlbPrefSize;
short itlbSmallFond;
short itlbSmallSize;
short itlbSysFond;
short itlbSysSize;
short itlbAppFond;
short itlbAppSize;
short itlbHelpFond;
short itlbHelpSize;
Style itlbValidStyles;
Style itlbAliasStyle;
};
typedef struct ItlbExtRecord ItlbExtRecord;
#pragma pack(pop)
# 25 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 2 3
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
#pragma pack(push, 2)
enum {
smSystemScript = -1,
smCurrentScript = -2,
smAllScripts = -3
};
# 60 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
enum {
smRoman = 0,
smJapanese = 1,
smTradChinese = 2,
smKorean = 3,
smArabic = 4,
smHebrew = 5,
smGreek = 6,
smCyrillic = 7,
smRSymbol = 8,
smDevanagari = 9,
smGurmukhi = 10,
smGujarati = 11,
smOriya = 12,
smBengali = 13,
smTamil = 14,
smTelugu = 15,
smKannada = 16,
smMalayalam = 17,
smSinhalese = 18,
smBurmese = 19,
smKhmer = 20,
smThai = 21,
smLao = 22,
smGeorgian = 23,
smArmenian = 24,
smSimpChinese = 25,
smTibetan = 26,
smMongolian = 27,
smEthiopic = 28,
smGeez = 28,
smCentralEuroRoman = 29,
smVietnamese = 30,
smExtArabic = 31,
smUninterp = 32
};
enum {
smUnicodeScript = 0x7E
};
enum {
smChinese = 2,
smRussian = 7,
smLaotian = 22,
smAmharic = 28,
smSlavic = 29,
smEastEurRoman = 29,
smSindhi = 31,
smKlingon = 32
};
enum {
langEnglish = 0,
langFrench = 1,
langGerman = 2,
langItalian = 3,
langDutch = 4,
langSwedish = 5,
langSpanish = 6,
langDanish = 7,
langPortuguese = 8,
langNorwegian = 9,
langHebrew = 10,
langJapanese = 11,
langArabic = 12,
langFinnish = 13,
langGreek = 14,
langIcelandic = 15,
langMaltese = 16,
langTurkish = 17,
langCroatian = 18,
langTradChinese = 19,
langUrdu = 20,
langHindi = 21,
langThai = 22,
langKorean = 23
};
enum {
langLithuanian = 24,
langPolish = 25,
langHungarian = 26,
langEstonian = 27,
langLatvian = 28,
langSami = 29,
langFaroese = 30,
langFarsi = 31,
langPersian = 31,
langRussian = 32,
langSimpChinese = 33,
langFlemish = 34,
langIrishGaelic = 35,
langAlbanian = 36,
langRomanian = 37,
langCzech = 38,
langSlovak = 39,
langSlovenian = 40,
langYiddish = 41,
langSerbian = 42,
langMacedonian = 43,
langBulgarian = 44,
langUkrainian = 45,
langByelorussian = 46,
langBelorussian = 46
};
enum {
langUzbek = 47,
langKazakh = 48,
langAzerbaijani = 49,
langAzerbaijanAr = 50,
langArmenian = 51,
langGeorgian = 52,
langMoldavian = 53,
langKirghiz = 54,
langTajiki = 55,
langTurkmen = 56,
langMongolian = 57,
langMongolianCyr = 58,
langPashto = 59,
langKurdish = 60,
langKashmiri = 61,
langSindhi = 62,
langTibetan = 63,
langNepali = 64,
langSanskrit = 65,
langMarathi = 66,
langBengali = 67,
langAssamese = 68,
langGujarati = 69,
langPunjabi = 70
};
enum {
langOriya = 71,
langMalayalam = 72,
langKannada = 73,
langTamil = 74,
langTelugu = 75,
langSinhalese = 76,
langBurmese = 77,
langKhmer = 78,
langLao = 79,
langVietnamese = 80,
langIndonesian = 81,
langTagalog = 82,
langMalayRoman = 83,
langMalayArabic = 84,
langAmharic = 85,
langTigrinya = 86,
langOromo = 87,
langSomali = 88,
langSwahili = 89,
langKinyarwanda = 90,
langRuanda = 90,
langRundi = 91,
langNyanja = 92,
langChewa = 92,
langMalagasy = 93,
langEsperanto = 94
};
enum {
langWelsh = 128,
langBasque = 129,
langCatalan = 130,
langLatin = 131,
langQuechua = 132,
langGuarani = 133,
langAymara = 134,
langTatar = 135,
langUighur = 136,
langDzongkha = 137,
langJavaneseRom = 138,
langSundaneseRom = 139,
langGalician = 140,
langAfrikaans = 141
};
enum {
langBreton = 142,
langInuktitut = 143,
langScottishGaelic = 144,
langManxGaelic = 145,
langIrishGaelicScript = 146,
langTongan = 147,
langGreekAncient = 148,
langGreenlandic = 149,
langAzerbaijanRoman = 150,
langNynorsk = 151
};
enum {
langUnspecified = 32767
};
enum {
langPortugese = 8,
langMalta = 16,
langYugoslavian = 18,
langChinese = 19,
langLettish = 28,
langLapponian = 29,
langLappish = 29,
langSaamisk = 29,
langFaeroese = 30,
langIrish = 35,
langGalla = 87,
langAfricaans = 141,
langGreekPoly = 148
};
# 297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
enum {
verUS = 0,
verFrance = 1,
verBritain = 2,
verGermany = 3,
verItaly = 4,
verNetherlands = 5,
verFlemish = 6,
verSweden = 7,
verSpain = 8,
verDenmark = 9,
verPortugal = 10,
verFrCanada = 11,
verNorway = 12,
verIsrael = 13,
verJapan = 14,
verAustralia = 15,
verArabic = 16,
verFinland = 17,
verFrSwiss = 18,
verGrSwiss = 19,
verGreece = 20,
verIceland = 21,
verMalta = 22,
verCyprus = 23,
verTurkey = 24,
verYugoCroatian = 25
};
enum {
verNetherlandsComma = 26,
verFlemishPoint = 27,
verCanadaComma = 28,
verCanadaPoint = 29,
vervariantPortugal = 30,
vervariantNorway = 31,
vervariantDenmark = 32
};
enum {
verIndiaHindi = 33,
verPakistanUrdu = 34,
verTurkishModified = 35,
verItalianSwiss = 36,
verInternational = 37,
verRomania = 39,
verGreekAncient = 40,
verLithuania = 41,
verPoland = 42,
verHungary = 43,
verEstonia = 44,
verLatvia = 45,
verSami = 46,
verFaroeIsl = 47,
verIran = 48,
verRussia = 49,
verIreland = 50,
verKorea = 51,
verChina = 52,
verTaiwan = 53,
verThailand = 54,
verScriptGeneric = 55,
verCzech = 56,
verSlovak = 57,
verEastAsiaGeneric = 58,
verMagyar = 59,
verBengali = 60,
verBelarus = 61
};
enum {
verUkraine = 62,
verGreeceAlt = 64,
verSerbian = 65,
verSlovenian = 66,
verMacedonian = 67,
verCroatia = 68,
verGermanReformed = 70,
verBrazil = 71,
verBulgaria = 72,
verCatalonia = 73,
verMultilingual = 74,
verScottishGaelic = 75,
verManxGaelic = 76,
verBreton = 77,
verNunavut = 78,
verWelsh = 79,
verIrishGaelicScript = 81,
verEngCanada = 82,
verBhutan = 83,
verArmenian = 84,
verGeorgian = 85,
verSpLatinAmerica = 86,
verTonga = 88,
verFrenchUniversal = 91,
verAustria = 92,
verGujarati = 94,
verPunjabi = 95,
verIndiaUrdu = 96,
verVietnam = 97
};
enum {
verFrBelgium = 98,
verUzbek = 99,
verSingapore = 100,
verNynorsk = 101,
verAfrikaans = 102,
verEsperanto = 103,
verMarathi = 104,
verTibetan = 105,
verNepal = 106,
verGreenland = 107,
verIrelandEnglish = 108
};
# 435 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
enum {
verFrBelgiumLux = 6,
verBelgiumLux = 6,
verArabia = 16,
verYugoslavia = 25,
verBelgiumLuxPoint = 27,
verIndia = 33,
verPakistan = 34,
verRumania = 39,
verGreecePoly = 40,
verLapland = 46,
verFaeroeIsl = 47,
verGenericFE = 58,
verFarEastGeneric = 58,
verByeloRussian = 61,
verUkrania = 62,
verAlternateGr = 64,
verSerbia = 65,
verSlovenia = 66,
verMacedonia = 67,
verBrittany = 77,
verWales = 79,
verArmenia = 84,
verGeorgia = 85,
verAustriaGerman = 92,
verTibet = 105
};
enum {
minCountry = verUS,
maxCountry = verIrelandEnglish
};
enum {
calGregorian = 0,
calArabicCivil = 1,
calArabicLunar = 2,
calJapanese = 3,
calJewish = 4,
calCoptic = 5,
calPersian = 6
};
enum {
intWestern = 0,
intArabic = 1,
intRoman = 2,
intJapanese = 3,
intEuropean = 4,
intOutputMask = 0x8000
};
enum {
smSingleByte = 0,
smFirstByte = -1,
smLastByte = 1,
smMiddleByte = 2
};
enum {
smcTypeMask = 0x000F,
smcReserved = 0x00F0,
smcClassMask = 0x0F00,
smcOrientationMask = 0x1000,
smcRightMask = 0x2000,
smcUpperMask = 0x4000,
smcDoubleMask = 0x8000
};
enum {
smCharPunct = 0x0000,
smCharAscii = 0x0001,
smCharEuro = 0x0007,
smCharExtAscii = 0x0007,
smCharKatakana = 0x0002,
smCharHiragana = 0x0003,
smCharIdeographic = 0x0004,
smCharTwoByteGreek = 0x0005,
smCharTwoByteRussian = 0x0006,
smCharBidirect = 0x0008,
smCharContextualLR = 0x0009,
smCharNonContextualLR = 0x000A,
smCharHangul = 0x000C,
smCharJamo = 0x000D,
smCharBopomofo = 0x000E,
smCharGanaKana = 0x000F,
smCharFISKana = 0x0002,
smCharFISGana = 0x0003,
smCharFISIdeo = 0x0004
};
enum {
smCharFISGreek = 0x0005,
smCharFISRussian = 0x0006,
smPunctNormal = 0x0000,
smPunctNumber = 0x0100,
smPunctSymbol = 0x0200,
smPunctBlank = 0x0300,
smPunctRepeat = 0x0400,
smPunctGraphic = 0x0500,
smKanaSmall = 0x0100,
smKanaHardOK = 0x0200,
smKanaSoftOK = 0x0300,
smIdeographicLevel1 = 0x0000,
smIdeographicLevel2 = 0x0100,
smIdeographicUser = 0x0200,
smFISClassLvl1 = 0x0000,
smFISClassLvl2 = 0x0100,
smFISClassUser = 0x0200,
smJamoJaeum = 0x0000,
smJamoBogJaeum = 0x0100,
smJamoMoeum = 0x0200,
smJamoBogMoeum = 0x0300
};
enum {
smCharHorizontal = 0x0000,
smCharVertical = 0x1000,
smCharLeft = 0x0000,
smCharRight = 0x2000,
smCharLower = 0x0000,
smCharUpper = 0x4000,
smChar1byte = 0x0000,
smChar2byte = 0x8000
};
enum {
smTransAscii = 0,
smTransNative = 1,
smTransCase = 0xFE,
smTransSystem = 0xFF,
smTransAscii1 = 2,
smTransAscii2 = 3,
smTransKana1 = 4,
smTransKana2 = 5
};
enum {
smTransGana2 = 7,
smTransHangul2 = 8,
smTransJamo2 = 9,
smTransBopomofo2 = 10,
smTransLower = 0x4000,
smTransUpper = 0x8000,
smTransRuleBaseFormat = 1,
smTransHangulFormat = 2,
smTransPreDoubleByting = 1,
smTransPreLowerCasing = 2
};
enum {
smMaskAll = (long)0xFFFFFFFF,
smMaskAscii = 0x00000001,
smMaskNative = 0x00000002,
smMaskAscii1 = 0x00000004,
smMaskAscii2 = 0x00000008,
smMaskKana1 = 0x00000010,
smMaskKana2 = 0x00000020,
smMaskGana2 = 0x00000080,
smMaskHangul2 = 0x00000100,
smMaskJamo2 = 0x00000200,
smMaskBopomofo2 = 0x00000400
};
enum {
iuSystemScript = -1,
iuCurrentScript = -2
};
enum {
smKeyNextScript = -1,
smKeySysScript = -2,
smKeySwapScript = -3,
smKeyNextKybd = -4,
smKeySwapKybd = -5,
smKeyDisableKybds = -6,
smKeyEnableKybds = -7,
smKeyToggleInline = -8,
smKeyToggleDirection = -9,
smKeyNextInputMethod = -10,
smKeySwapInputMethod = -11,
smKeyDisableKybdSwitch = -12,
smKeySetDirLeftRight = -15,
smKeySetDirRightLeft = -16,
smKeyRoman = -17
};
enum {
smKeyForceKeyScriptBit = 7,
smKeyForceKeyScriptMask = 1 << smKeyForceKeyScriptBit
};
enum {
romanSysFond = 0x3FFF,
romanAppFond = 3,
romanFlags = 0x0007,
smFondStart = 0x4000,
smFondEnd = 0xC000,
smUprHalfCharSet = 0x80
};
enum {
diaeresisUprY = 0xD9,
fraction = 0xDA,
intlCurrency = 0xDB,
leftSingGuillemet = 0xDC,
rightSingGuillemet = 0xDD,
fiLigature = 0xDE,
flLigature = 0xDF,
dblDagger = 0xE0,
centeredDot = 0xE1,
baseSingQuote = 0xE2,
baseDblQuote = 0xE3,
perThousand = 0xE4,
circumflexUprA = 0xE5,
circumflexUprE = 0xE6,
acuteUprA = 0xE7,
diaeresisUprE = 0xE8,
graveUprE = 0xE9,
acuteUprI = 0xEA,
circumflexUprI = 0xEB,
diaeresisUprI = 0xEC,
graveUprI = 0xED,
acuteUprO = 0xEE,
circumflexUprO = 0xEF,
appleLogo = 0xF0,
graveUprO = 0xF1,
acuteUprU = 0xF2,
circumflexUprU = 0xF3,
graveUprU = 0xF4,
dotlessLwrI = 0xF5,
circumflex = 0xF6,
tilde = 0xF7,
macron = 0xF8,
breveMark = 0xF9,
overDot = 0xFA,
ringMark = 0xFB,
cedilla = 0xFC,
doubleAcute = 0xFD,
ogonek = 0xFE,
hachek = 0xFF
};
enum {
tokenIntl = 4,
tokenEmpty = -1
};
enum {
tokenUnknown = 0,
tokenWhite = 1,
tokenLeftLit = 2,
tokenRightLit = 3,
tokenAlpha = 4,
tokenNumeric = 5,
tokenNewLine = 6,
tokenLeftComment = 7,
tokenRightComment = 8,
tokenLiteral = 9,
tokenEscape = 10,
tokenAltNum = 11,
tokenRealNum = 12,
tokenAltReal = 13,
tokenReserve1 = 14,
tokenReserve2 = 15,
tokenLeftParen = 16,
tokenRightParen = 17,
tokenLeftBracket = 18,
tokenRightBracket = 19
};
enum {
tokenLeftCurly = 20,
tokenRightCurly = 21,
tokenLeftEnclose = 22,
tokenRightEnclose = 23,
tokenPlus = 24,
tokenMinus = 25,
tokenAsterisk = 26,
tokenDivide = 27,
tokenPlusMinus = 28,
tokenSlash = 29,
tokenBackSlash = 30,
tokenLess = 31,
tokenGreat = 32,
tokenEqual = 33,
tokenLessEqual2 = 34,
tokenLessEqual1 = 35,
tokenGreatEqual2 = 36,
tokenGreatEqual1 = 37,
token2Equal = 38,
tokenColonEqual = 39
};
enum {
tokenNotEqual = 40,
tokenLessGreat = 41,
tokenExclamEqual = 42,
tokenExclam = 43,
tokenTilde = 44,
tokenComma = 45,
tokenPeriod = 46,
tokenLeft2Quote = 47,
tokenRight2Quote = 48,
tokenLeft1Quote = 49,
tokenRight1Quote = 50,
token2Quote = 51,
token1Quote = 52,
tokenSemicolon = 53,
tokenPercent = 54,
tokenCaret = 55,
tokenUnderline = 56,
tokenAmpersand = 57,
tokenAtSign = 58,
tokenBar = 59
};
enum {
tokenQuestion = 60,
tokenPi = 61,
tokenRoot = 62,
tokenSigma = 63,
tokenIntegral = 64,
tokenMicro = 65,
tokenCapPi = 66,
tokenInfinity = 67,
tokenColon = 68,
tokenHash = 69,
tokenDollar = 70,
tokenNoBreakSpace = 71,
tokenFraction = 72,
tokenIntlCurrency = 73,
tokenLeftSingGuillemet = 74,
tokenRightSingGuillemet = 75,
tokenPerThousand = 76,
tokenEllipsis = 77,
tokenCenterDot = 78,
tokenNil = 127
};
enum {
delimPad = -2,
tokenTilda = 44,
tokenCarat = 55
};
enum {
smWordSelectTable = 0,
smWordWrapTable = 1,
smNumberPartsTable = 2,
smUnTokenTable = 3,
smWhiteSpaceList = 4,
iuWordSelectTable = 0,
iuWordWrapTable = 1,
iuNumberPartsTable = 2,
iuUnTokenTable = 3,
iuWhiteSpaceList = 4
};
enum {
tokenOK = 0,
tokenOverflow = 1,
stringOverflow = 2,
badDelim = 3,
badEnding = 4,
crash = 5
};
typedef SInt8 TokenResults;
typedef char CharByteTable[256];
typedef short ScriptTokenType;
typedef ScriptTokenType DelimType[2];
typedef ScriptTokenType CommentType[4];
struct TokenRec {
ScriptTokenType theToken;
Ptr position;
long length;
StringPtr stringPosition;
};
typedef struct TokenRec TokenRec;
typedef TokenRec * TokenRecPtr;
struct TokenBlock {
Ptr source;
long sourceLength;
Ptr tokenList;
long tokenLength;
long tokenCount;
Ptr stringList;
long stringLength;
long stringCount;
Boolean doString;
Boolean doAppend;
Boolean doAlphanumeric;
Boolean doNest;
ScriptTokenType leftDelims[2];
ScriptTokenType rightDelims[2];
ScriptTokenType leftComment[4];
ScriptTokenType rightComment[4];
ScriptTokenType escapeCode;
ScriptTokenType decimalCode;
Handle itlResource;
long reserved[8];
};
typedef struct TokenBlock TokenBlock;
typedef TokenBlock * TokenBlockPtr;
enum {
smNotInstalled = 0,
smBadVerb = -1,
smBadScript = -2
};
enum {
smfShowIcon = 31,
smfDualCaret = 30,
smfNameTagEnab = 29,
smfUseAssocFontInfo = 28,
smfDisableKeyScriptSync = 27
};
enum {
smfDisableKeyScriptSyncMask = 1L << smfDisableKeyScriptSync
};
enum {
smSysScript = 18,
smKeyScript = 22,
smKCHRCache = 38,
smRegionCode = 40
};
# 992 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern long
GetScriptManagerVariable(short selector) __attribute__((deprecated));
# 1014 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
extern OSErr
SetScriptManagerVariable(
short selector,
long param) __attribute__((deprecated));
# 1032 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
enum {
smsfIntellCP = 0,
smsfSingByte = 1,
smsfNatCase = 2,
smsfContext = 3,
smsfNoForceFont = 4,
smsfB0Digits = 5,
smsfAutoInit = 6,
smsfUnivExt = 7,
smsfSynchUnstyledTE = 8,
smsfForms = 13,
smsfLigatures = 14,
smsfReverse = 15
};
# 1633 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h" 3
#pragma pack(pop)
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
#define __UTCUTILS__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
#define __MACERRORS__
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
paramErr = -50,
noHardwareErr = -200,
notEnoughHardwareErr = -201,
userCanceledErr = -128,
qErr = -1,
vTypErr = -2,
corErr = -3,
unimpErr = -4,
SlpTypeErr = -5,
seNoDB = -8,
controlErr = -17,
statusErr = -18,
readErr = -19,
writErr = -20,
badUnitErr = -21,
unitEmptyErr = -22,
openErr = -23,
closErr = -24,
dRemovErr = -25,
dInstErr = -26
};
enum {
abortErr = -27,
iIOAbortErr = -27,
notOpenErr = -28,
unitTblFullErr = -29,
dceExtErr = -30,
slotNumErr = -360,
gcrOnMFMErr = -400,
dirFulErr = -33,
dskFulErr = -34,
nsvErr = -35,
ioErr = -36,
bdNamErr = -37,
fnOpnErr = -38,
eofErr = -39,
posErr = -40,
mFulErr = -41,
tmfoErr = -42,
fnfErr = -43,
wPrErr = -44,
fLckdErr = -45
};
enum {
vLckdErr = -46,
fBsyErr = -47,
dupFNErr = -48,
opWrErr = -49,
rfNumErr = -51,
gfpErr = -52,
volOffLinErr = -53,
permErr = -54,
volOnLinErr = -55,
nsDrvErr = -56,
noMacDskErr = -57,
extFSErr = -58,
fsRnErr = -59,
badMDBErr = -60,
wrPermErr = -61,
dirNFErr = -120,
tmwdoErr = -121,
badMovErr = -122,
wrgVolTypErr = -123,
volGoneErr = -124
};
enum {
fidNotFound = -1300,
fidExists = -1301,
notAFileErr = -1302,
diffVolErr = -1303,
catChangedErr = -1304,
desktopDamagedErr = -1305,
sameFileErr = -1306,
badFidErr = -1307,
notARemountErr = -1308,
fileBoundsErr = -1309,
fsDataTooBigErr = -1310,
volVMBusyErr = -1311,
badFCBErr = -1327,
errFSUnknownCall = -1400,
errFSBadFSRef = -1401,
errFSBadForkName = -1402,
errFSBadBuffer = -1403,
errFSBadForkRef = -1404,
errFSBadInfoBitmap = -1405,
errFSMissingCatInfo = -1406,
errFSNotAFolder = -1407,
errFSForkNotFound = -1409,
errFSNameTooLong = -1410,
errFSMissingName = -1411,
errFSBadPosMode = -1412,
errFSBadAllocFlags = -1413,
errFSNoMoreItems = -1417,
errFSBadItemCount = -1418,
errFSBadSearchParams = -1419,
errFSRefsDifferent = -1420,
errFSForkExists = -1421,
errFSBadIteratorFlags = -1422,
errFSIteratorNotFound = -1423,
errFSIteratorNotSupported = -1424,
errFSQuotaExceeded = -1425,
errFSOperationNotSupported = -1426,
errFSAttributeNotFound = -1427,
errFSPropertyNotValid = -1428,
errFSNotEnoughSpaceForOperation = -1429,
envNotPresent = -5500,
envBadVers = -5501,
envVersTooBig = -5502,
fontDecError = -64,
fontNotDeclared = -65,
fontSubErr = -66,
fontNotOutlineErr = -32615,
firstDskErr = -84,
lastDskErr = -64,
noDriveErr = -64,
offLinErr = -65,
noNybErr = -66
};
enum {
noAdrMkErr = -67,
dataVerErr = -68,
badCksmErr = -69,
badBtSlpErr = -70,
noDtaMkErr = -71,
badDCksum = -72,
badDBtSlp = -73,
wrUnderrun = -74,
cantStepErr = -75,
tk0BadErr = -76,
initIWMErr = -77,
twoSideErr = -78,
spdAdjErr = -79,
seekErr = -80,
sectNFErr = -81,
fmt1Err = -82,
fmt2Err = -83,
verErr = -84,
clkRdErr = -85,
clkWrErr = -86,
prWrErr = -87,
prInitErr = -88,
rcvrErr = -89,
breakRecd = -90
};
enum {
noScrapErr = -100,
noTypeErr = -102
};
enum {
eLenErr = -92,
eMultiErr = -91
};
enum {
ddpSktErr = -91,
ddpLenErr = -92,
noBridgeErr = -93,
lapProtErr = -94,
excessCollsns = -95,
portNotPwr = -96,
portInUse = -97,
portNotCf = -98
};
enum {
memROZWarn = -99,
memROZError = -99,
memROZErr = -99,
memFullErr = -108,
nilHandleErr = -109,
memWZErr = -111,
memPurErr = -112,
memAdrErr = -110,
memAZErr = -113,
memPCErr = -114,
memBCErr = -115,
memSCErr = -116,
memLockedErr = -117
};
enum {
iMemFullErr = -108,
iIOAbort = -27
};
enum {
resourceInMemory = -188,
writingPastEnd = -189,
inputOutOfBounds = -190,
resNotFound = -192,
resFNotFound = -193,
addResFailed = -194,
addRefFailed = -195,
rmvResFailed = -196,
rmvRefFailed = -197,
resAttrErr = -198,
mapReadErr = -199,
CantDecompress = -186,
badExtResource = -185,
noMemForPictPlaybackErr = -145,
rgnOverflowErr = -147,
rgnTooBigError = -147,
pixMapTooDeepErr = -148,
insufficientStackErr = -149,
nsStackErr = -149
};
enum {
evtNotEnb = 1
};
enum {
cMatchErr = -150,
cTempMemErr = -151,
cNoMemErr = -152,
cRangeErr = -153,
cProtectErr = -154,
cDevErr = -155,
cResErr = -156,
cDepthErr = -157,
rgnTooBigErr = -500,
updPixMemErr = -125,
pictInfoVersionErr = -11000,
pictInfoIDErr = -11001,
pictInfoVerbErr = -11002,
cantLoadPickMethodErr = -11003,
colorsRequestedErr = -11004,
pictureDataErr = -11005
};
enum {
cmProfileError = -170,
cmMethodError = -171,
cmMethodNotFound = -175,
cmProfileNotFound = -176,
cmProfilesIdentical = -177,
cmCantConcatenateError = -178,
cmCantXYZ = -179,
cmCantDeleteProfile = -180,
cmUnsupportedDataType = -181,
cmNoCurrentProfile = -182
};
enum {
noHardware = noHardwareErr,
notEnoughHardware = notEnoughHardwareErr,
queueFull = -203,
resProblem = -204,
badChannel = -205,
badFormat = -206,
notEnoughBufferSpace = -207,
badFileFormat = -208,
channelBusy = -209,
buffersTooSmall = -210,
channelNotBusy = -211,
noMoreRealTime = -212,
siVBRCompressionNotSupported = -213,
siNoSoundInHardware = -220,
siBadSoundInDevice = -221,
siNoBufferSpecified = -222,
siInvalidCompression = -223,
siHardDriveTooSlow = -224,
siInvalidSampleRate = -225,
siInvalidSampleSize = -226,
siDeviceBusyErr = -227,
siBadDeviceName = -228,
siBadRefNum = -229,
siInputDeviceErr = -230,
siUnknownInfoType = -231,
siUnknownQuality = -232
};
enum {
noSynthFound = -240,
synthOpenFailed = -241,
synthNotReady = -242,
bufTooSmall = -243,
voiceNotFound = -244,
incompatibleVoice = -245,
badDictFormat = -246,
badInputText = -247
};
enum {
midiNoClientErr = -250,
midiNoPortErr = -251,
midiTooManyPortsErr = -252,
midiTooManyConsErr = -253,
midiVConnectErr = -254,
midiVConnectMade = -255,
midiVConnectRmvd = -256,
midiNoConErr = -257,
midiWriteErr = -258,
midiNameLenErr = -259,
midiDupIDErr = -260,
midiInvalidCmdErr = -261
};
enum {
nmTypErr = -299
};
enum {
siInitSDTblErr = 1,
siInitVBLQsErr = 2,
siInitSPTblErr = 3,
sdmJTInitErr = 10,
sdmInitErr = 11,
sdmSRTInitErr = 12,
sdmPRAMInitErr = 13,
sdmPriInitErr = 14
};
enum {
smSDMInitErr = -290,
smSRTInitErr = -291,
smPRAMInitErr = -292,
smPriInitErr = -293,
smEmptySlot = -300,
smCRCFail = -301,
smFormatErr = -302,
smRevisionErr = -303,
smNoDir = -304,
smDisabledSlot = -305,
smNosInfoArray = -306
};
enum {
smResrvErr = -307,
smUnExBusErr = -308,
smBLFieldBad = -309,
smFHBlockRdErr = -310,
smFHBlkDispErr = -311,
smDisposePErr = -312,
smNoBoardSRsrc = -313,
smGetPRErr = -314,
smNoBoardId = -315,
smInitStatVErr = -316,
smInitTblVErr = -317,
smNoJmpTbl = -318,
smReservedSlot = -318,
smBadBoardId = -319,
smBusErrTO = -320,
svTempDisable = -32768L,
svDisabled = -32640,
smBadRefId = -330,
smBadsList = -331,
smReservedErr = -332,
smCodeRevErr = -333
};
enum {
smCPUErr = -334,
smsPointerNil = -335,
smNilsBlockErr = -336,
smSlotOOBErr = -337,
smSelOOBErr = -338,
smNewPErr = -339,
smBlkMoveErr = -340,
smCkStatusErr = -341,
smGetDrvrNamErr = -342,
smDisDrvrNamErr = -343,
smNoMoresRsrcs = -344,
smsGetDrvrErr = -345,
smBadsPtrErr = -346,
smByteLanesErr = -347,
smOffsetErr = -348,
smNoGoodOpens = -349,
smSRTOvrFlErr = -350,
smRecNotFnd = -351
};
enum {
notBTree = -410,
btNoSpace = -413,
btDupRecErr = -414,
btRecNotFnd = -415,
btKeyLenErr = -416,
btKeyAttrErr = -417,
unknownInsertModeErr = -20000,
recordDataTooBigErr = -20001,
invalidIndexErr = -20002
};
enum {
fsmFFSNotFoundErr = -431,
fsmBusyFFSErr = -432,
fsmBadFFSNameErr = -433,
fsmBadFSDLenErr = -434,
fsmDuplicateFSIDErr = -435,
fsmBadFSDVersionErr = -436,
fsmNoAlternateStackErr = -437,
fsmUnknownFSMMessageErr = -438
};
enum {
editionMgrInitErr = -450,
badSectionErr = -451,
notRegisteredSectionErr = -452,
badEditionFileErr = -453,
badSubPartErr = -454,
multiplePublisherWrn = -460,
containerNotFoundWrn = -461,
containerAlreadyOpenWrn = -462,
notThePublisherWrn = -463
};
enum {
teScrapSizeErr = -501,
hwParamErr = -502,
driverHardwareGoneErr = -503
};
enum {
procNotFound = -600,
memFragErr = -601,
appModeErr = -602,
protocolErr = -603,
hardwareConfigErr = -604,
appMemFullErr = -605,
appIsDaemon = -606,
bufferIsSmall = -607,
noOutstandingHLE = -608,
connectionInvalid = -609,
noUserInteractionAllowed = -610
};
enum {
wrongApplicationPlatform = -875,
appVersionTooOld = -876,
notAppropriateForClassic = -877
};
enum {
threadTooManyReqsErr = -617,
threadNotFoundErr = -618,
threadProtocolErr = -619
};
enum {
threadBadAppContextErr = -616
};
enum {
notEnoughMemoryErr = -620,
notHeldErr = -621,
cannotMakeContiguousErr = -622,
notLockedErr = -623,
interruptsMaskedErr = -624,
cannotDeferErr = -625,
noMMUErr = -626
};
enum {
vmMorePhysicalThanVirtualErr = -628,
vmKernelMMUInitErr = -629,
vmOffErr = -630,
vmMemLckdErr = -631,
vmBadDriver = -632,
vmNoVectorErr = -633
};
enum {
vmInvalidBackingFileIDErr = -640,
vmMappingPrivilegesErr = -641,
vmBusyBackingFileErr = -642,
vmNoMoreBackingFilesErr = -643,
vmInvalidFileViewIDErr = -644,
vmFileViewAccessErr = -645,
vmNoMoreFileViewsErr = -646,
vmAddressNotInFileViewErr = -647,
vmInvalidOwningProcessErr = -648
};
enum {
rcDBNull = -800,
rcDBValue = -801,
rcDBError = -802,
rcDBBadType = -803,
rcDBBreak = -804,
rcDBExec = -805,
rcDBBadSessID = -806,
rcDBBadSessNum = -807,
rcDBBadDDEV = -808,
rcDBAsyncNotSupp = -809,
rcDBBadAsyncPB = -810,
rcDBNoHandler = -811,
rcDBWrongVersion = -812,
rcDBPackNotInited = -813
};
enum {
hmHelpDisabled = -850,
hmBalloonAborted = -853,
hmSameAsLastBalloon = -854,
hmHelpManagerNotInited = -855,
hmSkippedBalloon = -857,
hmWrongVersion = -858,
hmUnknownHelpType = -859,
hmOperationUnsupported = -861,
hmNoBalloonUp = -862,
hmCloseViewActive = -863
};
enum {
notInitErr = -900,
nameTypeErr = -902,
noPortErr = -903,
noGlobalsErr = -904,
localOnlyErr = -905,
destPortErr = -906,
sessTableErr = -907,
noSessionErr = -908,
badReqErr = -909,
portNameExistsErr = -910,
noUserNameErr = -911,
userRejectErr = -912,
noMachineNameErr = -913,
noToolboxNameErr = -914,
noResponseErr = -915,
portClosedErr = -916,
sessClosedErr = -917,
badPortNameErr = -919,
noDefaultUserErr = -922,
notLoggedInErr = -923,
noUserRefErr = -924,
networkErr = -925,
noInformErr = -926,
authFailErr = -927,
noUserRecErr = -928,
badServiceMethodErr = -930,
badLocNameErr = -931,
guestNotAllowedErr = -932
};
enum {
kFMIterationCompleted = -980L,
kFMInvalidFontFamilyErr = -981L,
kFMInvalidFontErr = -982L,
kFMIterationScopeModifiedErr = -983L,
kFMFontTableAccessErr = -984L,
kFMFontContainerAccessErr = -985L
};
enum {
noMaskFoundErr = -1000
};
enum {
nbpBuffOvr = -1024,
nbpNoConfirm = -1025,
nbpConfDiff = -1026,
nbpDuplicate = -1027,
nbpNotFound = -1028,
nbpNISErr = -1029
};
enum {
aspBadVersNum = -1066,
aspBufTooSmall = -1067,
aspNoMoreSess = -1068,
aspNoServers = -1069,
aspParamErr = -1070,
aspServerBusy = -1071,
aspSessClosed = -1072,
aspSizeErr = -1073,
aspTooMany = -1074,
aspNoAck = -1075
};
enum {
reqFailed = -1096,
tooManyReqs = -1097,
tooManySkts = -1098,
badATPSkt = -1099,
badBuffNum = -1100,
noRelErr = -1101,
cbNotFound = -1102,
noSendResp = -1103,
noDataArea = -1104,
reqAborted = -1105
};
enum {
errRefNum = -1280,
errAborted = -1279,
errState = -1278,
errOpening = -1277,
errAttention = -1276,
errFwdReset = -1275,
errDSPQueueSize = -1274,
errOpenDenied = -1273
};
enum {
errAECoercionFail = -1700,
errAEDescNotFound = -1701,
errAECorruptData = -1702,
errAEWrongDataType = -1703,
errAENotAEDesc = -1704,
errAEBadListItem = -1705,
errAENewerVersion = -1706,
errAENotAppleEvent = -1707,
errAEEventNotHandled = -1708,
errAEReplyNotValid = -1709,
errAEUnknownSendMode = -1710,
errAEWaitCanceled = -1711,
errAETimeout = -1712,
errAENoUserInteraction = -1713,
errAENotASpecialFunction = -1714,
errAEParamMissed = -1715,
errAEUnknownAddressType = -1716,
errAEHandlerNotFound = -1717,
errAEReplyNotArrived = -1718,
errAEIllegalIndex = -1719,
errAEImpossibleRange = -1720,
errAEWrongNumberArgs = -1721,
errAEAccessorNotFound = -1723,
errAENoSuchLogical = -1725,
errAEBadTestKey = -1726,
errAENotAnObjSpec = -1727,
errAENoSuchObject = -1728,
errAENegativeCount = -1729,
errAEEmptyListContainer = -1730,
errAEUnknownObjectType = -1731,
errAERecordingIsAlreadyOn = -1732,
errAEReceiveTerminate = -1733,
errAEReceiveEscapeCurrent = -1734,
errAEEventFiltered = -1735,
errAEDuplicateHandler = -1736,
errAEStreamBadNesting = -1737,
errAEStreamAlreadyConverted = -1738,
errAEDescIsNull = -1739,
errAEBuildSyntaxError = -1740,
errAEBufferTooSmall = -1741
};
enum {
errOSASystemError = -1750,
errOSAInvalidID = -1751,
errOSABadStorageType = -1752,
errOSAScriptError = -1753,
errOSABadSelector = -1754,
errOSASourceNotAvailable = -1756,
errOSANoSuchDialect = -1757,
errOSADataFormatObsolete = -1758,
errOSADataFormatTooNew = -1759,
errOSACorruptData = errAECorruptData,
errOSARecordingIsAlreadyOn = errAERecordingIsAlreadyOn,
errOSAComponentMismatch = -1761,
errOSACantOpenComponent = -1762
};
enum {
errOffsetInvalid = -1800,
errOffsetIsOutsideOfView = -1801,
errTopOfDocument = -1810,
errTopOfBody = -1811,
errEndOfDocument = -1812,
errEndOfBody = -1813
};
enum {
badDragRefErr = -1850,
badDragItemErr = -1851,
badDragFlavorErr = -1852,
duplicateFlavorErr = -1853,
cantGetFlavorErr = -1854,
duplicateHandlerErr = -1855,
handlerNotFoundErr = -1856,
dragNotAcceptedErr = -1857,
unsupportedForPlatformErr = -1858,
noSuitableDisplaysErr = -1859,
badImageRgnErr = -1860,
badImageErr = -1861,
nonDragOriginatorErr = -1862
};
enum {
couldNotResolveDataRef = -2000,
badImageDescription = -2001,
badPublicMovieAtom = -2002,
cantFindHandler = -2003,
cantOpenHandler = -2004,
badComponentType = -2005,
noMediaHandler = -2006,
noDataHandler = -2007,
invalidMedia = -2008,
invalidTrack = -2009,
invalidMovie = -2010,
invalidSampleTable = -2011,
invalidDataRef = -2012,
invalidHandler = -2013,
invalidDuration = -2014,
invalidTime = -2015,
cantPutPublicMovieAtom = -2016,
badEditList = -2017,
mediaTypesDontMatch = -2018,
progressProcAborted = -2019,
movieToolboxUninitialized = -2020,
noRecordOfApp = movieToolboxUninitialized,
wfFileNotFound = -2021,
cantCreateSingleForkFile = -2022,
invalidEditState = -2023,
nonMatchingEditState = -2024,
staleEditState = -2025,
userDataItemNotFound = -2026,
maxSizeToGrowTooSmall = -2027,
badTrackIndex = -2028,
trackIDNotFound = -2029,
trackNotInMovie = -2030,
timeNotInTrack = -2031,
timeNotInMedia = -2032,
badEditIndex = -2033,
internalQuickTimeError = -2034,
cantEnableTrack = -2035,
invalidRect = -2036,
invalidSampleNum = -2037,
invalidChunkNum = -2038,
invalidSampleDescIndex = -2039,
invalidChunkCache = -2040,
invalidSampleDescription = -2041,
dataNotOpenForRead = -2042,
dataNotOpenForWrite = -2043,
dataAlreadyOpenForWrite = -2044,
dataAlreadyClosed = -2045,
endOfDataReached = -2046,
dataNoDataRef = -2047,
noMovieFound = -2048,
invalidDataRefContainer = -2049,
badDataRefIndex = -2050,
noDefaultDataRef = -2051,
couldNotUseAnExistingSample = -2052,
featureUnsupported = -2053,
noVideoTrackInMovieErr = -2054,
noSoundTrackInMovieErr = -2055,
soundSupportNotAvailableErr = -2056,
unsupportedAuxiliaryImportData = -2057,
auxiliaryExportDataUnavailable = -2058,
samplesAlreadyInMediaErr = -2059,
noSourceTreeFoundErr = -2060,
sourceNotFoundErr = -2061,
movieTextNotFoundErr = -2062,
missingRequiredParameterErr = -2063,
invalidSpriteWorldPropertyErr = -2064,
invalidSpritePropertyErr = -2065,
gWorldsNotSameDepthAndSizeErr = -2066,
invalidSpriteIndexErr = -2067,
invalidImageIndexErr = -2068,
invalidSpriteIDErr = -2069
};
enum {
internalComponentErr = -2070,
notImplementedMusicOSErr = -2071,
cantSendToSynthesizerOSErr = -2072,
cantReceiveFromSynthesizerOSErr = -2073,
illegalVoiceAllocationOSErr = -2074,
illegalPartOSErr = -2075,
illegalChannelOSErr = -2076,
illegalKnobOSErr = -2077,
illegalKnobValueOSErr = -2078,
illegalInstrumentOSErr = -2079,
illegalControllerOSErr = -2080,
midiManagerAbsentOSErr = -2081,
synthesizerNotRespondingOSErr = -2082,
synthesizerOSErr = -2083,
illegalNoteChannelOSErr = -2084,
noteChannelNotAllocatedOSErr = -2085,
tunePlayerFullOSErr = -2086,
tuneParseOSErr = -2087,
noExportProcAvailableErr = -2089,
videoOutputInUseErr = -2090
};
enum {
componentDllLoadErr = -2091,
componentDllEntryNotFoundErr = -2092,
qtmlDllLoadErr = -2093,
qtmlDllEntryNotFoundErr = -2094,
qtmlUninitialized = -2095,
unsupportedOSErr = -2096,
unsupportedProcessorErr = -2097,
componentNotThreadSafeErr = -2098
};
enum {
cannotFindAtomErr = -2101,
notLeafAtomErr = -2102,
atomsNotOfSameTypeErr = -2103,
atomIndexInvalidErr = -2104,
duplicateAtomTypeAndIDErr = -2105,
invalidAtomErr = -2106,
invalidAtomContainerErr = -2107,
invalidAtomTypeErr = -2108,
cannotBeLeafAtomErr = -2109,
pathTooLongErr = -2110,
emptyPathErr = -2111,
noPathMappingErr = -2112,
pathNotVerifiedErr = -2113,
unknownFormatErr = -2114,
wackBadFileErr = -2115,
wackForkNotFoundErr = -2116,
wackBadMetaDataErr = -2117,
qfcbNotFoundErr = -2118,
qfcbNotCreatedErr = -2119,
AAPNotCreatedErr = -2120,
AAPNotFoundErr = -2121,
ASDBadHeaderErr = -2122,
ASDBadForkErr = -2123,
ASDEntryNotFoundErr = -2124,
fileOffsetTooBigErr = -2125,
notAllowedToSaveMovieErr = -2126,
qtNetworkAlreadyAllocatedErr = -2127,
urlDataHHTTPProtocolErr = -2129,
urlDataHHTTPNoNetDriverErr = -2130,
urlDataHHTTPURLErr = -2131,
urlDataHHTTPRedirectErr = -2132,
urlDataHFTPProtocolErr = -2133,
urlDataHFTPShutdownErr = -2134,
urlDataHFTPBadUserErr = -2135,
urlDataHFTPBadPasswordErr = -2136,
urlDataHFTPServerErr = -2137,
urlDataHFTPDataConnectionErr = -2138,
urlDataHFTPNoDirectoryErr = -2139,
urlDataHFTPQuotaErr = -2140,
urlDataHFTPPermissionsErr = -2141,
urlDataHFTPFilenameErr = -2142,
urlDataHFTPNoNetDriverErr = -2143,
urlDataHFTPBadNameListErr = -2144,
urlDataHFTPNeedPasswordErr = -2145,
urlDataHFTPNoPasswordErr = -2146,
urlDataHFTPServerDisconnectedErr = -2147,
urlDataHFTPURLErr = -2148,
notEnoughDataErr = -2149,
qtActionNotHandledErr = -2157,
qtXMLParseErr = -2158,
qtXMLApplicationErr = -2159
};
enum {
digiUnimpErr = -2201,
qtParamErr = -2202,
matrixErr = -2203,
notExactMatrixErr = -2204,
noMoreKeyColorsErr = -2205,
notExactSizeErr = -2206,
badDepthErr = -2207,
noDMAErr = -2208,
badCallOrderErr = -2209
};
enum {
kernelIncompleteErr = -2401,
kernelCanceledErr = -2402,
kernelOptionsErr = -2403,
kernelPrivilegeErr = -2404,
kernelUnsupportedErr = -2405,
kernelObjectExistsErr = -2406,
kernelWritePermissionErr = -2407,
kernelReadPermissionErr = -2408,
kernelExecutePermissionErr = -2409,
kernelDeletePermissionErr = -2410,
kernelExecutionLevelErr = -2411,
kernelAttributeErr = -2412,
kernelAsyncSendLimitErr = -2413,
kernelAsyncReceiveLimitErr = -2414,
kernelTimeoutErr = -2415,
kernelInUseErr = -2416,
kernelTerminatedErr = -2417,
kernelExceptionErr = -2418,
kernelIDErr = -2419,
kernelAlreadyFreeErr = -2421,
kernelReturnValueErr = -2422,
kernelUnrecoverableErr = -2499
};
enum {
tsmComponentNoErr = 0,
tsmUnsupScriptLanguageErr = -2500,
tsmInputMethodNotFoundErr = -2501,
tsmNotAnAppErr = -2502,
tsmAlreadyRegisteredErr = -2503,
tsmNeverRegisteredErr = -2504,
tsmInvalidDocIDErr = -2505,
tsmTSMDocBusyErr = -2506,
tsmDocNotActiveErr = -2507,
tsmNoOpenTSErr = -2508,
tsmCantOpenComponentErr = -2509,
tsmTextServiceNotFoundErr = -2510,
tsmDocumentOpenErr = -2511,
tsmUseInputWindowErr = -2512,
tsmTSHasNoMenuErr = -2513,
tsmTSNotOpenErr = -2514,
tsmComponentAlreadyOpenErr = -2515,
tsmInputMethodIsOldErr = -2516,
tsmScriptHasNoIMErr = -2517,
tsmUnsupportedTypeErr = -2518,
tsmUnknownErr = -2519,
tsmInvalidContext = -2520,
tsmNoHandler = -2521,
tsmNoMoreTokens = -2522,
tsmNoStem = -2523,
tsmDefaultIsNotInputMethodErr = -2524,
tsmDocPropertyNotFoundErr = -2528,
tsmDocPropertyBufferTooSmallErr = -2529,
tsmCantChangeForcedClassStateErr = -2530,
tsmComponentPropertyUnsupportedErr = -2531,
tsmComponentPropertyNotFoundErr = -2532,
tsmInputModeChangeFailedErr = -2533
};
enum {
mmInternalError = -2526
};
enum {
nrLockedErr = -2536,
nrNotEnoughMemoryErr = -2537,
nrInvalidNodeErr = -2538,
nrNotFoundErr = -2539,
nrNotCreatedErr = -2540,
nrNameErr = -2541,
nrNotSlotDeviceErr = -2542,
nrDataTruncatedErr = -2543,
nrPowerErr = -2544,
nrPowerSwitchAbortErr = -2545,
nrTypeMismatchErr = -2546,
nrNotModifiedErr = -2547,
nrOverrunErr = -2548,
nrResultCodeBase = -2549,
nrPathNotFound = -2550,
nrPathBufferTooSmall = -2551,
nrInvalidEntryIterationOp = -2552,
nrPropertyAlreadyExists = -2553,
nrIterationDone = -2554,
nrExitedIteratorScope = -2555,
nrTransactionAborted = -2556,
nrCallNotSupported = -2557
};
enum {
invalidIconRefErr = -2580,
noSuchIconErr = -2581,
noIconDataAvailableErr = -2582
};
# 1058 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
errOSACantCoerce = errAECoercionFail,
errOSACantAccess = errAENoSuchObject,
errOSACantAssign = -10006,
errOSAGeneralError = -2700,
errOSADivideByZero = -2701,
errOSANumericOverflow = -2702,
errOSACantLaunch = -2703,
errOSAAppNotHighLevelEventAware = -2704,
errOSACorruptTerminology = -2705,
errOSAStackOverflow = -2706,
errOSAInternalTableOverflow = -2707,
errOSADataBlockTooLarge = -2708,
errOSACantGetTerminology = -2709,
errOSACantCreate = -2710
};
# 1089 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
errOSATypeError = errAEWrongDataType,
OSAMessageNotUnderstood = errAEEventNotHandled,
OSAUndefinedHandler = errAEHandlerNotFound,
OSAIllegalAccess = errAEAccessorNotFound,
OSAIllegalIndex = errAEIllegalIndex,
OSAIllegalRange = errAEImpossibleRange,
OSAIllegalAssign = -10003,
OSASyntaxError = -2740,
OSASyntaxTypeError = -2741,
OSATokenTooLong = -2742,
OSAMissingParameter = errAEDescNotFound,
OSAParameterMismatch = errAEWrongNumberArgs,
OSADuplicateParameter = -2750,
OSADuplicateProperty = -2751,
OSADuplicateHandler = -2752,
OSAUndefinedVariable = -2753,
OSAInconsistentDeclarations = -2754,
OSAControlFlowError = -2755
};
# 1130 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
errASCantConsiderAndIgnore = -2720,
errASCantCompareMoreThan32k = -2721,
errASTerminologyNestingTooDeep = -2760,
errASIllegalFormalParameter = -2761,
errASParameterNotForEvent = -2762,
errASNoResultReturned = -2763,
errASInconsistentNames = -2780
};
enum {
cfragFirstErrCode = -2800,
cfragContextIDErr = -2800,
cfragConnectionIDErr = -2801,
cfragNoSymbolErr = -2802,
cfragNoSectionErr = -2803,
cfragNoLibraryErr = -2804,
cfragDupRegistrationErr = -2805,
cfragFragmentFormatErr = -2806,
cfragUnresolvedErr = -2807,
cfragNoPositionErr = -2808,
cfragNoPrivateMemErr = -2809,
cfragNoClientMemErr = -2810,
cfragNoIDsErr = -2811,
cfragInitOrderErr = -2812,
cfragImportTooOldErr = -2813,
cfragImportTooNewErr = -2814,
cfragInitLoopErr = -2815,
cfragInitAtBootErr = -2816,
cfragLibConnErr = -2817,
cfragCFMStartupErr = -2818,
cfragCFMInternalErr = -2819,
cfragFragmentCorruptErr = -2820,
cfragInitFunctionErr = -2821,
cfragNoApplicationErr = -2822,
cfragArchitectureErr = -2823,
cfragFragmentUsageErr = -2824,
cfragFileSizeErr = -2825,
cfragNotClosureErr = -2826,
cfragNoRegistrationErr = -2827,
cfragContainerIDErr = -2828,
cfragClosureIDErr = -2829,
cfragAbortClosureErr = -2830,
cfragOutputLengthErr = -2831,
cfragMapFileErr = -2851,
cfragExecFileRefErr = -2854,
cfragStdFolderErr = -2855,
cfragRsrcForkErr = -2856,
cfragCFragRsrcErr = -2857,
cfragLastErrCode = -2899
};
enum {
cfragFirstReservedCode = -2897,
cfragReservedCode_3 = -2897,
cfragReservedCode_2 = -2898,
cfragReservedCode_1 = -2899
};
# 1225 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
invalidComponentID = -3000,
validInstancesExist = -3001,
componentNotCaptured = -3002,
componentDontRegister = -3003,
unresolvedComponentDLLErr = -3004,
retryComponentRegistrationErr = -3005
};
enum {
invalidTranslationPathErr = -3025,
couldNotParseSourceFileErr = -3026,
noTranslationPathErr = -3030,
badTranslationSpecErr = -3031,
noPrefAppErr = -3032
};
enum {
buf2SmallErr = -3101,
noMPPErr = -3102,
ckSumErr = -3103,
extractErr = -3104,
readQErr = -3105,
atpLenErr = -3106,
atpBadRsp = -3107,
recNotFnd = -3108,
sktClosedErr = -3109
};
enum {
kOTNoError = 0,
kOTOutOfMemoryErr = -3211,
kOTNotFoundErr = -3201,
kOTDuplicateFoundErr = -3216,
kOTBadAddressErr = -3150,
kOTBadOptionErr = -3151,
kOTAccessErr = -3152,
kOTBadReferenceErr = -3153,
kOTNoAddressErr = -3154,
kOTOutStateErr = -3155,
kOTBadSequenceErr = -3156,
kOTSysErrorErr = -3157,
kOTLookErr = -3158,
kOTBadDataErr = -3159,
kOTBufferOverflowErr = -3160,
kOTFlowErr = -3161,
kOTNoDataErr = -3162,
kOTNoDisconnectErr = -3163,
kOTNoUDErrErr = -3164,
kOTBadFlagErr = -3165,
kOTNoReleaseErr = -3166,
kOTNotSupportedErr = -3167,
kOTStateChangeErr = -3168,
kOTNoStructureTypeErr = -3169,
kOTBadNameErr = -3170,
kOTBadQLenErr = -3171,
kOTAddressBusyErr = -3172,
kOTIndOutErr = -3173,
kOTProviderMismatchErr = -3174,
kOTResQLenErr = -3175,
kOTResAddressErr = -3176,
kOTQFullErr = -3177,
kOTProtocolErr = -3178,
kOTBadSyncErr = -3179,
kOTCanceledErr = -3180,
kEPERMErr = -3200,
kENOENTErr = -3201,
kENORSRCErr = -3202,
kEINTRErr = -3203,
kEIOErr = -3204,
kENXIOErr = -3205,
kEBADFErr = -3208,
kEAGAINErr = -3210,
kENOMEMErr = -3211,
kEACCESErr = -3212,
kEFAULTErr = -3213,
kEBUSYErr = -3215,
kEEXISTErr = -3216,
kENODEVErr = -3218,
kEINVALErr = -3221,
kENOTTYErr = -3224,
kEPIPEErr = -3231,
kERANGEErr = -3233,
kEWOULDBLOCKErr = -3234,
kEDEADLKErr = -3234,
kEALREADYErr = -3236,
kENOTSOCKErr = -3237,
kEDESTADDRREQErr = -3238,
kEMSGSIZEErr = -3239,
kEPROTOTYPEErr = -3240,
kENOPROTOOPTErr = -3241,
kEPROTONOSUPPORTErr = -3242,
kESOCKTNOSUPPORTErr = -3243,
kEOPNOTSUPPErr = -3244,
kEADDRINUSEErr = -3247,
kEADDRNOTAVAILErr = -3248,
kENETDOWNErr = -3249,
kENETUNREACHErr = -3250,
kENETRESETErr = -3251,
kECONNABORTEDErr = -3252,
kECONNRESETErr = -3253,
kENOBUFSErr = -3254,
kEISCONNErr = -3255,
kENOTCONNErr = -3256,
kESHUTDOWNErr = -3257,
kETOOMANYREFSErr = -3258,
kETIMEDOUTErr = -3259,
kECONNREFUSEDErr = -3260,
kEHOSTDOWNErr = -3263,
kEHOSTUNREACHErr = -3264,
kEPROTOErr = -3269,
kETIMEErr = -3270,
kENOSRErr = -3271,
kEBADMSGErr = -3272,
kECANCELErr = -3273,
kENOSTRErr = -3274,
kENODATAErr = -3275,
kEINPROGRESSErr = -3276,
kESRCHErr = -3277,
kENOMSGErr = -3278,
kOTClientNotInittedErr = -3279,
kOTPortHasDiedErr = -3280,
kOTPortWasEjectedErr = -3281,
kOTBadConfigurationErr = -3282,
kOTConfigurationChangedErr = -3283,
kOTUserRequestedErr = -3284,
kOTPortLostConnection = -3285
};
enum {
kQDNoPalette = -3950,
kQDNoColorHWCursorSupport = -3951,
kQDCursorAlreadyRegistered = -3952,
kQDCursorNotRegistered = -3953,
kQDCorruptPICTDataErr = -3954
};
enum {
firstPickerError = -4000,
invalidPickerType = firstPickerError,
requiredFlagsDontMatch = -4001,
pickerResourceError = -4002,
cantLoadPicker = -4003,
cantCreatePickerWindow = -4004,
cantLoadPackage = -4005,
pickerCantLive = -4006,
colorSyncNotInstalled = -4007,
badProfileError = -4008,
noHelpForItem = -4009
};
enum {
kNSL68kContextNotSupported = -4170,
kNSLSchedulerError = -4171,
kNSLBadURLSyntax = -4172,
kNSLNoCarbonLib = -4173,
kNSLUILibraryNotAvailable = -4174,
kNSLNotImplementedYet = -4175,
kNSLErrNullPtrError = -4176,
kNSLSomePluginsFailedToLoad = -4177,
kNSLNullNeighborhoodPtr = -4178,
kNSLNoPluginsForSearch = -4179,
kNSLSearchAlreadyInProgress = -4180,
kNSLNoPluginsFound = -4181,
kNSLPluginLoadFailed = -4182,
kNSLBadProtocolTypeErr = -4183,
kNSLNullListPtr = -4184,
kNSLBadClientInfoPtr = -4185,
kNSLCannotContinueLookup = -4186,
kNSLBufferTooSmallForData = -4187,
kNSLNoContextAvailable = -4188,
kNSLRequestBufferAlreadyInList = -4189,
kNSLInvalidPluginSpec = -4190,
kNSLNoSupportForService = -4191,
kNSLBadNetConnection = -4192,
kNSLBadDataTypeErr = -4193,
kNSLBadServiceTypeErr = -4194,
kNSLBadReferenceErr = -4195,
kNSLNoElementsInList = -4196,
kNSLInsufficientOTVer = -4197,
kNSLInsufficientSysVer = -4198,
kNSLNotInitialized = -4199,
kNSLInitializationFailed = -4200
};
enum {
kDTPHoldJobErr = -4200,
kDTPStopQueueErr = -4201,
kDTPTryAgainErr = -4202,
kDTPAbortJobErr = 128
};
enum {
cmElementTagNotFound = -4200,
cmIndexRangeErr = -4201,
cmCantDeleteElement = -4202,
cmFatalProfileErr = -4203,
cmInvalidProfile = -4204,
cmInvalidProfileLocation = -4205,
cmCantCopyModifiedV1Profile = -4215,
cmInvalidSearch = -4206,
cmSearchError = -4207,
cmErrIncompatibleProfile = -4208,
cmInvalidColorSpace = -4209,
cmInvalidSrcMap = -4210,
cmInvalidDstMap = -4211,
cmNoGDevicesError = -4212,
cmInvalidProfileComment = -4213,
cmRangeOverFlow = -4214,
cmNamedColorNotFound = -4216,
cmCantGamutCheckError = -4217
};
enum {
badFolderDescErr = -4270,
duplicateFolderDescErr = -4271,
noMoreFolderDescErr = -4272,
invalidFolderTypeErr = -4273,
duplicateRoutingErr = -4274,
routingNotFoundErr = -4275,
badRoutingSizeErr = -4276
};
enum {
coreFoundationUnknownErr = -4960
};
enum {
errCoreEndianDataTooShortForFormat = -4940,
errCoreEndianDataTooLongForFormat = -4941,
errCoreEndianDataDoesNotMatchFormat = -4942
};
enum {
internalScrapErr = -4988,
duplicateScrapFlavorErr = -4989,
badScrapRefErr = -4990,
processStateIncorrectErr = -4991,
scrapPromiseNotKeptErr = -4992,
noScrapPromiseKeeperErr = -4993,
nilScrapFlavorDataErr = -4994,
scrapFlavorFlagsMismatchErr = -4995,
scrapFlavorSizeMismatchErr = -4996,
illegalScrapFlavorFlagsErr = -4997,
illegalScrapFlavorTypeErr = -4998,
illegalScrapFlavorSizeErr = -4999,
scrapFlavorNotFoundErr = -102,
needClearScrapErr = -100
};
enum {
afpAccessDenied = -5000,
afpAuthContinue = -5001,
afpBadUAM = -5002,
afpBadVersNum = -5003,
afpBitmapErr = -5004,
afpCantMove = -5005,
afpDenyConflict = -5006,
afpDirNotEmpty = -5007,
afpDiskFull = -5008,
afpEofError = -5009,
afpFileBusy = -5010,
afpFlatVol = -5011,
afpItemNotFound = -5012,
afpLockErr = -5013,
afpMiscErr = -5014,
afpNoMoreLocks = -5015,
afpNoServer = -5016,
afpObjectExists = -5017,
afpObjectNotFound = -5018,
afpParmErr = -5019,
afpRangeNotLocked = -5020,
afpRangeOverlap = -5021,
afpSessClosed = -5022,
afpUserNotAuth = -5023,
afpCallNotSupported = -5024,
afpObjectTypeErr = -5025,
afpTooManyFilesOpen = -5026,
afpServerGoingDown = -5027,
afpCantRename = -5028,
afpDirNotFound = -5029,
afpIconTypeError = -5030,
afpVolLocked = -5031,
afpObjectLocked = -5032,
afpContainsSharedErr = -5033,
afpIDNotFound = -5034,
afpIDExists = -5035,
afpDiffVolErr = -5036,
afpCatalogChanged = -5037,
afpSameObjectErr = -5038,
afpBadIDErr = -5039,
afpPwdSameErr = -5040,
afpPwdTooShortErr = -5041,
afpPwdExpiredErr = -5042,
afpInsideSharedErr = -5043,
afpInsideTrashErr = -5044,
afpPwdNeedsChangeErr = -5045,
afpPwdPolicyErr = -5046,
afpAlreadyLoggedInErr = -5047,
afpCallNotAllowed = -5048
};
enum {
afpBadDirIDType = -5060,
afpCantMountMoreSrvre = -5061,
afpAlreadyMounted = -5062,
afpSameNodeErr = -5063
};
enum {
numberFormattingNotANumberErr = -5200,
numberFormattingOverflowInDestinationErr = -5201,
numberFormattingBadNumberFormattingObjectErr = -5202,
numberFormattingSpuriousCharErr = -5203,
numberFormattingLiteralMissingErr = -5204,
numberFormattingDelimiterMissingErr = -5205,
numberFormattingEmptyFormatErr = -5206,
numberFormattingBadFormatErr = -5207,
numberFormattingBadOptionsErr = -5208,
numberFormattingBadTokenErr = -5209,
numberFormattingUnOrderedCurrencyRangeErr = -5210,
numberFormattingBadCurrencyPositionErr = -5211,
numberFormattingNotADigitErr = -5212,
numberFormattingUnOrdredCurrencyRangeErr = -5210,
numberFortmattingNotADigitErr = -5212
};
enum {
textParserBadParamErr = -5220,
textParserObjectNotFoundErr = -5221,
textParserBadTokenValueErr = -5222,
textParserBadParserObjectErr = -5223,
textParserParamErr = -5224,
textParserNoMoreTextErr = -5225,
textParserBadTextLanguageErr = -5226,
textParserBadTextEncodingErr = -5227,
textParserNoSuchTokenFoundErr = -5228,
textParserNoMoreTokensErr = -5229
};
enum {
errUnknownAttributeTag = -5240,
errMarginWilllNotFit = -5241,
errNotInImagingMode = -5242,
errAlreadyInImagingMode = -5243,
errEngineNotFound = -5244,
errIteratorReachedEnd = -5245,
errInvalidRange = -5246,
errOffsetNotOnElementBounday = -5247,
errNoHiliteText = -5248,
errEmptyScrap = -5249,
errReadOnlyText = -5250,
errUnknownElement = -5251,
errNonContiuousAttribute = -5252,
errCannotUndo = -5253
};
enum {
hrHTMLRenderingLibNotInstalledErr = -5360,
hrMiscellaneousExceptionErr = -5361,
hrUnableToResizeHandleErr = -5362,
hrURLNotHandledErr = -5363
};
enum {
errIANoErr = 0,
errIAUnknownErr = -5380,
errIAAllocationErr = -5381,
errIAParamErr = -5382,
errIANoMoreItems = -5383,
errIABufferTooSmall = -5384,
errIACanceled = -5385,
errIAInvalidDocument = -5386,
errIATextExtractionErr = -5387,
errIAEndOfTextRun = -5388
};
enum {
qtsBadSelectorErr = -5400,
qtsBadStateErr = -5401,
qtsBadDataErr = -5402,
qtsUnsupportedDataTypeErr = -5403,
qtsUnsupportedRateErr = -5404,
qtsUnsupportedFeatureErr = -5405,
qtsTooMuchDataErr = -5406,
qtsUnknownValueErr = -5407,
qtsTimeoutErr = -5408,
qtsConnectionFailedErr = -5420,
qtsAddressBusyErr = -5421
};
enum {
gestaltUnknownErr = -5550,
gestaltUndefSelectorErr = -5551,
gestaltDupSelectorErr = -5552,
gestaltLocationErr = -5553
};
enum {
menuPropertyInvalidErr = -5603,
menuPropertyInvalid = menuPropertyInvalidErr,
menuPropertyNotFoundErr = -5604,
menuNotFoundErr = -5620,
menuUsesSystemDefErr = -5621,
menuItemNotFoundErr = -5622,
menuInvalidErr = -5623
};
enum {
errInvalidWindowPtr = -5600,
errInvalidWindowRef = -5600,
errUnsupportedWindowAttributesForClass = -5601,
errWindowDoesNotHaveProxy = -5602,
errInvalidWindowProperty = -5603,
errWindowPropertyNotFound = -5604,
errUnrecognizedWindowClass = -5605,
errCorruptWindowDescription = -5606,
errUserWantsToDragWindow = -5607,
errWindowsAlreadyInitialized = -5608,
errFloatingWindowsNotInitialized = -5609,
errWindowNotFound = -5610,
errWindowDoesNotFitOnscreen = -5611,
windowAttributeImmutableErr = -5612,
windowAttributesConflictErr = -5613,
windowManagerInternalErr = -5614,
windowWrongStateErr = -5615,
windowGroupInvalidErr = -5616,
windowAppModalStateAlreadyExistsErr = -5617,
windowNoAppModalStateErr = -5618,
errWindowDoesntSupportFocus = -30583,
errWindowRegionCodeInvalid = -30593
};
enum {
dialogNoTimeoutErr = -5640
};
enum {
kNavWrongDialogStateErr = -5694,
kNavWrongDialogClassErr = -5695,
kNavInvalidSystemConfigErr = -5696,
kNavCustomControlMessageFailedErr = -5697,
kNavInvalidCustomControlMessageErr = -5698,
kNavMissingKindStringErr = -5699
};
enum {
collectionItemLockedErr = -5750,
collectionItemNotFoundErr = -5751,
collectionIndexRangeErr = -5752,
collectionVersionErr = -5753
};
enum {
kQTSSUnknownErr = -6150
};
enum {
kDMGenErr = -6220,
kDMMirroringOnAlready = -6221,
kDMWrongNumberOfDisplays = -6222,
kDMMirroringBlocked = -6223,
kDMCantBlock = -6224,
kDMMirroringNotOn = -6225,
kSysSWTooOld = -6226,
kDMSWNotInitializedErr = -6227,
kDMDriverNotDisplayMgrAwareErr = -6228,
kDMDisplayNotFoundErr = -6229,
kDMNotFoundErr = -6229,
kDMDisplayAlreadyInstalledErr = -6230,
kDMMainDisplayCannotMoveErr = -6231,
kDMNoDeviceTableclothErr = -6231,
kDMFoundErr = -6232
};
enum {
laTooSmallBufferErr = -6984,
laEnvironmentBusyErr = -6985,
laEnvironmentNotFoundErr = -6986,
laEnvironmentExistErr = -6987,
laInvalidPathErr = -6988,
laNoMoreMorphemeErr = -6989,
laFailAnalysisErr = -6990,
laTextOverFlowErr = -6991,
laDictionaryNotOpenedErr = -6992,
laDictionaryUnknownErr = -6993,
laDictionaryTooManyErr = -6994,
laPropertyValueErr = -6995,
laPropertyUnknownErr = -6996,
laPropertyIsReadOnlyErr = -6997,
laPropertyNotFoundErr = -6998,
laPropertyErr = -6999,
laEngineNotFoundErr = -7000
};
enum {
kUSBNoErr = 0,
kUSBNoTran = 0,
kUSBNoDelay = 0,
kUSBPending = 1
};
# 1804 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
kUSBNotSent2Err = -6901,
kUSBNotSent1Err = -6902,
kUSBBufUnderRunErr = -6903,
kUSBBufOvrRunErr = -6904,
kUSBRes2Err = -6905,
kUSBRes1Err = -6906,
kUSBUnderRunErr = -6907,
kUSBOverRunErr = -6908,
kUSBWrongPIDErr = -6909,
kUSBPIDCheckErr = -6910,
kUSBNotRespondingErr = -6911,
kUSBEndpointStallErr = -6912,
kUSBDataToggleErr = -6913,
kUSBBitstufErr = -6914,
kUSBCRCErr = -6915,
kUSBLinkErr = -6916
};
enum {
kUSBQueueFull = -6948,
kUSBNotHandled = -6987,
kUSBUnknownNotification = -6949,
kUSBBadDispatchTable = -6950
};
enum {
kUSBInternalReserved10 = -6951,
kUSBInternalReserved9 = -6952,
kUSBInternalReserved8 = -6953,
kUSBInternalReserved7 = -6954,
kUSBInternalReserved6 = -6955,
kUSBInternalReserved5 = -6956,
kUSBInternalReserved4 = -6957,
kUSBInternalReserved3 = -6958,
kUSBInternalReserved2 = -6959,
kUSBInternalReserved1 = -6960
};
enum {
kUSBPortDisabled = -6969,
kUSBQueueAborted = -6970,
kUSBTimedOut = -6971,
kUSBDeviceDisconnected = -6972,
kUSBDeviceNotSuspended = -6973,
kUSBDeviceSuspended = -6974,
kUSBInvalidBuffer = -6975,
kUSBDevicePowerProblem = -6976,
kUSBDeviceBusy = -6977,
kUSBUnknownInterfaceErr = -6978,
kUSBPipeStalledError = -6979,
kUSBPipeIdleError = -6980,
kUSBNoBandwidthError = -6981,
kUSBAbortedError = -6982,
kUSBFlagsError = -6983,
kUSBCompletionError = -6984,
kUSBPBLengthError = -6985,
kUSBPBVersionError = -6986,
kUSBNotFound = -6987,
kUSBOutOfMemoryErr = -6988,
kUSBDeviceErr = -6989,
kUSBNoDeviceErr = -6990,
kUSBAlreadyOpenErr = -6991,
kUSBTooManyTransactionsErr = -6992,
kUSBUnknownRequestErr = -6993,
kUSBRqErr = -6994,
kUSBIncorrectTypeErr = -6995,
kUSBTooManyPipesErr = -6996,
kUSBUnknownPipeErr = -6997,
kUSBUnknownDeviceErr = -6998,
kUSBInternalErr = -6999
};
enum {
dcmParamErr = -7100,
dcmNotDictionaryErr = -7101,
dcmBadDictionaryErr = -7102,
dcmPermissionErr = -7103,
dcmDictionaryNotOpenErr = -7104,
dcmDictionaryBusyErr = -7105,
dcmBlockFullErr = -7107,
dcmNoRecordErr = -7108,
dcmDupRecordErr = -7109,
dcmNecessaryFieldErr = -7110,
dcmBadFieldInfoErr = -7111,
dcmBadFieldTypeErr = -7112,
dcmNoFieldErr = -7113,
dcmBadKeyErr = -7115,
dcmTooManyKeyErr = -7116,
dcmBadDataSizeErr = -7117,
dcmBadFindMethodErr = -7118,
dcmBadPropertyErr = -7119,
dcmProtectedErr = -7121,
dcmNoAccessMethodErr = -7122,
dcmBadFeatureErr = -7124,
dcmIterationCompleteErr = -7126,
dcmBufferOverflowErr = -7127
};
enum {
kRAInvalidParameter = -7100,
kRAInvalidPort = -7101,
kRAStartupFailed = -7102,
kRAPortSetupFailed = -7103,
kRAOutOfMemory = -7104,
kRANotSupported = -7105,
kRAMissingResources = -7106,
kRAIncompatiblePrefs = -7107,
kRANotConnected = -7108,
kRAConnectionCanceled = -7109,
kRAUnknownUser = -7110,
kRAInvalidPassword = -7111,
kRAInternalError = -7112,
kRAInstallationDamaged = -7113,
kRAPortBusy = -7114,
kRAUnknownPortState = -7115,
kRAInvalidPortState = -7116,
kRAInvalidSerialProtocol = -7117,
kRAUserLoginDisabled = -7118,
kRAUserPwdChangeRequired = -7119,
kRAUserPwdEntryRequired = -7120,
kRAUserInteractionRequired = -7121,
kRAInitOpenTransportFailed = -7122,
kRARemoteAccessNotReady = -7123,
kRATCPIPInactive = -7124,
kRATCPIPNotConfigured = -7125,
kRANotPrimaryInterface = -7126,
kRAConfigurationDBInitErr = -7127,
kRAPPPProtocolRejected = -7128,
kRAPPPAuthenticationFailed = -7129,
kRAPPPNegotiationFailed = -7130,
kRAPPPUserDisconnected = -7131,
kRAPPPPeerDisconnected = -7132,
kRAPeerNotResponding = -7133,
kRAATalkInactive = -7134,
kRAExtAuthenticationFailed = -7135,
kRANCPRejectedbyPeer = -7136,
kRADuplicateIPAddr = -7137,
kRACallBackFailed = -7138,
kRANotEnabled = -7139
};
# 1972 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
kATSUInvalidTextLayoutErr = -8790,
kATSUInvalidStyleErr = -8791,
kATSUInvalidTextRangeErr = -8792,
kATSUFontsMatched = -8793,
kATSUFontsNotMatched = -8794,
kATSUNoCorrespondingFontErr = -8795,
kATSUInvalidFontErr = -8796,
kATSUInvalidAttributeValueErr = -8797,
kATSUInvalidAttributeSizeErr = -8798,
kATSUInvalidAttributeTagErr = -8799,
kATSUInvalidCacheErr = -8800,
kATSUNotSetErr = -8801,
kATSUNoStyleRunsAssignedErr = -8802,
kATSUQuickDrawTextErr = -8803,
kATSULowLevelErr = -8804,
kATSUNoFontCmapAvailableErr = -8805,
kATSUNoFontScalerAvailableErr = -8806,
kATSUCoordinateOverflowErr = -8807,
kATSULineBreakInWord = -8808,
kATSUBusyObjectErr = -8809
};
# 2037 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
kTextUnsupportedEncodingErr = -8738,
kTextMalformedInputErr = -8739,
kTextUndefinedElementErr = -8740,
kTECMissingTableErr = -8745,
kTECTableChecksumErr = -8746,
kTECTableFormatErr = -8747,
kTECCorruptConverterErr = -8748,
kTECNoConversionPathErr = -8749,
kTECBufferBelowMinimumSizeErr = -8750,
kTECArrayFullErr = -8751,
kTECBadTextRunErr = -8752,
kTECPartialCharErr = -8753,
kTECUnmappableElementErr = -8754,
kTECIncompleteElementErr = -8755,
kTECDirectionErr = -8756,
kTECGlobalsUnavailableErr = -8770,
kTECItemUnavailableErr = -8771,
kTECUsedFallbacksStatus = -8783,
kTECNeedFlushStatus = -8784,
kTECOutputBufferFullStatus = -8785,
unicodeChecksumErr = -8769,
unicodeNoTableErr = -8768,
unicodeVariantErr = -8767,
unicodeFallbacksErr = -8766,
unicodePartConvertErr = -8765,
unicodeBufErr = -8764,
unicodeCharErr = -8763,
unicodeElementErr = -8762,
unicodeNotFoundErr = -8761,
unicodeTableFormatErr = -8760,
unicodeDirectionErr = -8759,
unicodeContextualErr = -8758,
unicodeTextEncodingDataErr = -8757
};
enum {
kUTCUnderflowErr = -8850,
kUTCOverflowErr = -8851,
kIllegalClockValueErr = -8852
};
enum {
kATSUInvalidFontFallbacksErr = -8900,
kATSUUnsupportedStreamFormatErr = -8901,
kATSUBadStreamErr = -8902,
kATSUOutputBufferTooSmallErr = -8903,
kATSUInvalidCallInsideCallbackErr = -8904,
kATSUNoFontNameErr = -8905,
kATSULastErr = -8959
};
enum {
codecErr = -8960,
noCodecErr = -8961,
codecUnimpErr = -8962,
codecSizeErr = -8963,
codecScreenBufErr = -8964,
codecImageBufErr = -8965,
codecSpoolErr = -8966,
codecAbortErr = -8967,
codecWouldOffscreenErr = -8968,
codecBadDataErr = -8969,
codecDataVersErr = -8970,
codecExtensionNotFoundErr = -8971,
scTypeNotFoundErr = codecExtensionNotFoundErr,
codecConditionErr = -8972,
codecOpenErr = -8973,
codecCantWhenErr = -8974,
codecCantQueueErr = -8975,
codecNothingToBlitErr = -8976,
codecNoMemoryPleaseWaitErr = -8977,
codecDisabledErr = -8978,
codecNeedToFlushChainErr = -8979,
lockPortBitsBadSurfaceErr = -8980,
lockPortBitsWindowMovedErr = -8981,
lockPortBitsWindowResizedErr = -8982,
lockPortBitsWindowClippedErr = -8983,
lockPortBitsBadPortErr = -8984,
lockPortBitsSurfaceLostErr = -8985,
codecParameterDialogConfirm = -8986,
codecNeedAccessKeyErr = -8987,
codecOffscreenFailedErr = -8988,
codecDroppedFrameErr = -8989,
directXObjectAlreadyExists = -8990,
lockPortBitsWrongGDeviceErr = -8991,
codecOffscreenFailedPleaseRetryErr = -8992,
badCodecCharacterizationErr = -8993,
noThumbnailFoundErr = -8994
};
enum {
kBadAdapterErr = -9050,
kBadAttributeErr = -9051,
kBadBaseErr = -9052,
kBadEDCErr = -9053,
kBadIRQErr = -9054,
kBadOffsetErr = -9055,
kBadPageErr = -9056,
kBadSizeErr = -9057,
kBadSocketErr = -9058,
kBadTypeErr = -9059,
kBadVccErr = -9060,
kBadVppErr = -9061,
kBadWindowErr = -9062,
kBadArgLengthErr = -9063,
kBadArgsErr = -9064,
kBadHandleErr = -9065,
kBadCISErr = -9066,
kBadSpeedErr = -9067,
kReadFailureErr = -9068,
kWriteFailureErr = -9069,
kGeneralFailureErr = -9070,
kNoCardErr = -9071,
kUnsupportedFunctionErr = -9072,
kUnsupportedModeErr = -9073,
kBusyErr = -9074,
kWriteProtectedErr = -9075,
kConfigurationLockedErr = -9076,
kInUseErr = -9077,
kNoMoreItemsErr = -9078,
kOutOfResourceErr = -9079,
kNoCardSevicesSocketsErr = -9080,
kInvalidRegEntryErr = -9081,
kBadLinkErr = -9082,
kBadDeviceErr = -9083,
k16BitCardErr = -9084,
kCardBusCardErr = -9085,
kPassCallToChainErr = -9086,
kCantConfigureCardErr = -9087,
kPostCardEventErr = -9088,
kInvalidDeviceNumber = -9089,
kUnsupportedVsErr = -9090,
kInvalidCSClientErr = -9091,
kBadTupleDataErr = -9092,
kBadCustomIFIDErr = -9093,
kNoIOWindowRequestedErr = -9094,
kNoMoreTimerClientsErr = -9095,
kNoMoreInterruptSlotsErr = -9096,
kNoClientTableErr = -9097,
kUnsupportedCardErr = -9098,
kNoCardEnablersFoundErr = -9099,
kNoEnablerForCardErr = -9100,
kNoCompatibleNameErr = -9101,
kClientRequestDenied = -9102,
kNotReadyErr = -9103,
kTooManyIOWindowsErr = -9104,
kAlreadySavedStateErr = -9105,
kAttemptDupCardEntryErr = -9106,
kCardPowerOffErr = -9107,
kNotZVCapableErr = -9108,
kNoCardBusCISErr = -9109
};
enum {
noDeviceForChannel = -9400,
grabTimeComplete = -9401,
cantDoThatInCurrentMode = -9402,
notEnoughMemoryToGrab = -9403,
notEnoughDiskSpaceToGrab = -9404,
couldntGetRequiredComponent = -9405,
badSGChannel = -9406,
seqGrabInfoNotAvailable = -9407,
deviceCantMeetRequest = -9408,
badControllerHeight = -9994,
editingNotAllowed = -9995,
controllerBoundsNotExact = -9996,
cannotSetWidthOfAttachedController = -9997,
controllerHasFixedHeight = -9998,
cannotMoveAttachedController = -9999
};
enum {
errAEBadKeyForm = -10002,
errAECantHandleClass = -10010,
errAECantSupplyType = -10009,
errAECantUndo = -10015,
errAEEventFailed = -10000,
errAEIndexTooLarge = -10007,
errAEInTransaction = -10011,
errAELocalOnly = -10016,
errAENoSuchTransaction = -10012,
errAENotAnElement = -10008,
errAENotASingleObject = -10014,
errAENotModifiable = -10003,
errAENoUserSelection = -10013,
errAEPrivilegeError = -10004,
errAEReadDenied = -10005,
errAETypeError = -10001,
errAEWriteDenied = -10006,
errAENotAnEnumMember = -10023,
errAECantPutThatThere = -10024,
errAEPropertiesClash = -10025
};
enum {
telGenericError = -1,
telNoErr = 0,
telNoTools = 8,
telBadTermErr = -10001,
telBadDNErr = -10002,
telBadCAErr = -10003,
telBadHandErr = -10004,
telBadProcErr = -10005,
telCAUnavail = -10006,
telNoMemErr = -10007,
telNoOpenErr = -10008,
telBadHTypeErr = -10010,
telHTypeNotSupp = -10011,
telBadLevelErr = -10012,
telBadVTypeErr = -10013,
telVTypeNotSupp = -10014,
telBadAPattErr = -10015,
telAPattNotSupp = -10016,
telBadIndex = -10017,
telIndexNotSupp = -10018,
telBadStateErr = -10019,
telStateNotSupp = -10020,
telBadIntExt = -10021,
telIntExtNotSupp = -10022,
telBadDNDType = -10023,
telDNDTypeNotSupp = -10024,
telFeatNotSub = -10030,
telFeatNotAvail = -10031,
telFeatActive = -10032,
telFeatNotSupp = -10033,
telConfLimitErr = -10040,
telConfNoLimit = -10041,
telConfErr = -10042,
telConfRej = -10043,
telTransferErr = -10044,
telTransferRej = -10045,
telCBErr = -10046,
telConfLimitExceeded = -10047,
telBadDNType = -10050,
telBadPageID = -10051,
telBadIntercomID = -10052,
telBadFeatureID = -10053,
telBadFwdType = -10054,
telBadPickupGroupID = -10055,
telBadParkID = -10056,
telBadSelect = -10057,
telBadBearerType = -10058,
telBadRate = -10059,
telDNTypeNotSupp = -10060,
telFwdTypeNotSupp = -10061,
telBadDisplayMode = -10062,
telDisplayModeNotSupp = -10063,
telNoCallbackRef = -10064,
telAlreadyOpen = -10070,
telStillNeeded = -10071,
telTermNotOpen = -10072,
telCANotAcceptable = -10080,
telCANotRejectable = -10081,
telCANotDeflectable = -10082,
telPBErr = -10090,
telBadFunction = -10091,
telNoSuchTool = -10102,
telUnknownErr = -10103,
telNoCommFolder = -10106,
telInitFailed = -10107,
telBadCodeResource = -10108,
telDeviceNotFound = -10109,
telBadProcID = -10110,
telValidateFailed = -10111,
telAutoAnsNotOn = -10112,
telDetAlreadyOn = -10113,
telBadSWErr = -10114,
telBadSampleRate = -10115,
telNotEnoughdspBW = -10116
};
enum {
errTaskNotFound = -10780
};
enum {
pmBusyErr = -13000,
pmReplyTOErr = -13001,
pmSendStartErr = -13002,
pmSendEndErr = -13003,
pmRecvStartErr = -13004,
pmRecvEndErr = -13005
};
enum {
kPowerHandlerExistsForDeviceErr = -13006,
kPowerHandlerNotFoundForDeviceErr = -13007,
kPowerHandlerNotFoundForProcErr = -13008,
kPowerMgtMessageNotHandled = -13009,
kPowerMgtRequestDenied = -13010,
kCantReportProcessorTemperatureErr = -13013,
kProcessorTempRoutineRequiresMPLib2 = -13014,
kNoSuchPowerSource = -13020,
kBridgeSoftwareRunningCantSleep = -13038
};
enum {
debuggingExecutionContextErr = -13880,
debuggingDuplicateSignatureErr = -13881,
debuggingDuplicateOptionErr = -13882,
debuggingInvalidSignatureErr = -13883,
debuggingInvalidOptionErr = -13884,
debuggingInvalidNameErr = -13885,
debuggingNoCallbackErr = -13886,
debuggingNoMatchErr = -13887
};
enum {
kHIDVersionIncompatibleErr = -13909,
kHIDDeviceNotReady = -13910
};
enum {
kHIDSuccess = 0,
kHIDInvalidRangePageErr = -13923,
kHIDReportIDZeroErr = -13924,
kHIDReportCountZeroErr = -13925,
kHIDReportSizeZeroErr = -13926,
kHIDUnmatchedDesignatorRangeErr = -13927,
kHIDUnmatchedStringRangeErr = -13928,
kHIDInvertedUsageRangeErr = -13929,
kHIDUnmatchedUsageRangeErr = -13930,
kHIDInvertedPhysicalRangeErr = -13931,
kHIDInvertedLogicalRangeErr = -13932,
kHIDBadLogicalMaximumErr = -13933,
kHIDBadLogicalMinimumErr = -13934,
kHIDUsagePageZeroErr = -13935,
kHIDEndOfDescriptorErr = -13936,
kHIDNotEnoughMemoryErr = -13937,
kHIDBadParameterErr = -13938,
kHIDNullPointerErr = -13939,
kHIDInvalidReportLengthErr = -13940,
kHIDInvalidReportTypeErr = -13941,
kHIDBadLogPhysValuesErr = -13942,
kHIDIncompatibleReportErr = -13943,
kHIDInvalidPreparsedDataErr = -13944,
kHIDNotValueArrayErr = -13945,
kHIDUsageNotFoundErr = -13946,
kHIDValueOutOfRangeErr = -13947,
kHIDBufferTooSmallErr = -13948,
kHIDNullStateErr = -13949,
kHIDBaseError = -13950
};
enum {
kModemOutOfMemory = -14000,
kModemPreferencesMissing = -14001,
kModemScriptMissing = -14002
};
enum {
kTXNEndIterationErr = -22000,
kTXNCannotAddFrameErr = -22001,
kTXNInvalidFrameIDErr = -22002,
kTXNIllegalToCrossDataBoundariesErr = -22003,
kTXNUserCanceledOperationErr = -22004,
kTXNBadDefaultFileTypeWarning = -22005,
kTXNCannotSetAutoIndentErr = -22006,
kTXNRunIndexOutofBoundsErr = -22007,
kTXNNoMatchErr = -22008,
kTXNAttributeTagInvalidForRunErr = -22009,
kTXNSomeOrAllTagsInvalidForRunErr = -22010,
kTXNInvalidRunIndex = -22011,
kTXNAlreadyInitializedErr = -22012,
kTXNCannotTurnTSMOffWhenUsingUnicodeErr = -22013,
kTXNCopyNotAllowedInEchoModeErr = -22014,
kTXNDataTypeNotAllowedErr = -22015,
kTXNATSUIIsNotInstalledErr = -22016,
kTXNOutsideOfLineErr = -22017,
kTXNOutsideOfFrameErr = -22018
};
enum {
printerStatusOpCodeNotSupportedErr = -25280
};
enum {
errKCNotAvailable = -25291,
errKCReadOnly = -25292,
errKCAuthFailed = -25293,
errKCNoSuchKeychain = -25294,
errKCInvalidKeychain = -25295,
errKCDuplicateKeychain = -25296,
errKCDuplicateCallback = -25297,
errKCInvalidCallback = -25298,
errKCDuplicateItem = -25299,
errKCItemNotFound = -25300,
errKCBufferTooSmall = -25301,
errKCDataTooLarge = -25302,
errKCNoSuchAttr = -25303,
errKCInvalidItemRef = -25304,
errKCInvalidSearchRef = -25305,
errKCNoSuchClass = -25306,
errKCNoDefaultKeychain = -25307,
errKCInteractionNotAllowed = -25308,
errKCReadOnlyAttr = -25309,
errKCWrongKCVersion = -25310,
errKCKeySizeNotAllowed = -25311,
errKCNoStorageModule = -25312,
errKCNoCertificateModule = -25313,
errKCNoPolicyModule = -25314,
errKCInteractionRequired = -25315,
errKCDataNotAvailable = -25316,
errKCDataNotModifiable = -25317,
errKCCreateChainFailed = -25318
};
enum {
kUCOutputBufferTooSmall = -25340,
kUCTextBreakLocatorMissingType = -25341
};
enum {
kUCTSNoKeysAddedToObjectErr = -25342,
kUCTSSearchListErr = -25343
};
enum {
kUCTokenizerIterationFinished = -25344,
kUCTokenizerUnknownLang = -25345,
kUCTokenNotFound = -25346
};
enum {
kMPIterationEndErr = -29275,
kMPPrivilegedErr = -29276,
kMPProcessCreatedErr = -29288,
kMPProcessTerminatedErr = -29289,
kMPTaskCreatedErr = -29290,
kMPTaskBlockedErr = -29291,
kMPTaskStoppedErr = -29292,
kMPBlueBlockingErr = -29293,
kMPDeletedErr = -29295,
kMPTimeoutErr = -29296,
kMPTaskAbortedErr = -29297,
kMPInsufficientResourcesErr = -29298,
kMPInvalidIDErr = -29299
};
enum {
kMPNanokernelNeedsMemoryErr = -29294
};
enum {
kCollateAttributesNotFoundErr = -29500,
kCollateInvalidOptions = -29501,
kCollateMissingUnicodeTableErr = -29502,
kCollateUnicodeConvertFailedErr = -29503,
kCollatePatternNotFoundErr = -29504,
kCollateInvalidChar = -29505,
kCollateBufferTooSmall = -29506,
kCollateInvalidCollationRef = -29507
};
enum {
kFNSInvalidReferenceErr = -29580,
kFNSBadReferenceVersionErr = -29581,
kFNSInvalidProfileErr = -29582,
kFNSBadProfileVersionErr = -29583,
kFNSDuplicateReferenceErr = -29584,
kFNSMismatchErr = -29585,
kFNSInsufficientDataErr = -29586,
kFNSBadFlattenedSizeErr = -29587,
kFNSNameNotFoundErr = -29589
};
enum {
kLocalesBufferTooSmallErr = -30001,
kLocalesTableFormatErr = -30002,
kLocalesDefaultDisplayStatus = -30029
};
enum {
kALMInternalErr = -30049,
kALMGroupNotFoundErr = -30048,
kALMNoSuchModuleErr = -30047,
kALMModuleCommunicationErr = -30046,
kALMDuplicateModuleErr = -30045,
kALMInstallationErr = -30044,
kALMDeferSwitchErr = -30043,
kALMRebootFlagsLevelErr = -30042
};
enum {
kALMLocationNotFoundErr = kALMGroupNotFoundErr
};
enum {
kSSpInternalErr = -30340,
kSSpVersionErr = -30341,
kSSpCantInstallErr = -30342,
kSSpParallelUpVectorErr = -30343,
kSSpScaleToZeroErr = -30344
};
enum {
kNSpInitializationFailedErr = -30360,
kNSpAlreadyInitializedErr = -30361,
kNSpTopologyNotSupportedErr = -30362,
kNSpPipeFullErr = -30364,
kNSpHostFailedErr = -30365,
kNSpProtocolNotAvailableErr = -30366,
kNSpInvalidGameRefErr = -30367,
kNSpInvalidParameterErr = -30369,
kNSpOTNotPresentErr = -30370,
kNSpOTVersionTooOldErr = -30371,
kNSpMemAllocationErr = -30373,
kNSpAlreadyAdvertisingErr = -30374,
kNSpNotAdvertisingErr = -30376,
kNSpInvalidAddressErr = -30377,
kNSpFreeQExhaustedErr = -30378,
kNSpRemovePlayerFailedErr = -30379,
kNSpAddressInUseErr = -30380,
kNSpFeatureNotImplementedErr = -30381,
kNSpNameRequiredErr = -30382,
kNSpInvalidPlayerIDErr = -30383,
kNSpInvalidGroupIDErr = -30384,
kNSpNoPlayersErr = -30385,
kNSpNoGroupsErr = -30386,
kNSpNoHostVolunteersErr = -30387,
kNSpCreateGroupFailedErr = -30388,
kNSpAddPlayerFailedErr = -30389,
kNSpInvalidDefinitionErr = -30390,
kNSpInvalidProtocolRefErr = -30391,
kNSpInvalidProtocolListErr = -30392,
kNSpTimeoutErr = -30393,
kNSpGameTerminatedErr = -30394,
kNSpConnectFailedErr = -30395,
kNSpSendFailedErr = -30396,
kNSpMessageTooBigErr = -30397,
kNSpCantBlockErr = -30398,
kNSpJoinFailedErr = -30399
};
enum {
kISpInternalErr = -30420,
kISpSystemListErr = -30421,
kISpBufferToSmallErr = -30422,
kISpElementInListErr = -30423,
kISpElementNotInListErr = -30424,
kISpSystemInactiveErr = -30425,
kISpDeviceInactiveErr = -30426,
kISpSystemActiveErr = -30427,
kISpDeviceActiveErr = -30428,
kISpListBusyErr = -30429
};
enum {
kDSpNotInitializedErr = -30440L,
kDSpSystemSWTooOldErr = -30441L,
kDSpInvalidContextErr = -30442L,
kDSpInvalidAttributesErr = -30443L,
kDSpContextAlreadyReservedErr = -30444L,
kDSpContextNotReservedErr = -30445L,
kDSpContextNotFoundErr = -30446L,
kDSpFrameRateNotReadyErr = -30447L,
kDSpConfirmSwitchWarning = -30448L,
kDSpInternalErr = -30449L,
kDSpStereoContextErr = -30450L
};
enum {
kFBCvTwinExceptionErr = -30500,
kFBCnoIndexesFound = -30501,
kFBCallocFailed = -30502,
kFBCbadParam = -30503,
kFBCfileNotIndexed = -30504,
kFBCbadIndexFile = -30505,
kFBCcompactionFailed = -30506,
kFBCvalidationFailed = -30507,
kFBCindexingFailed = -30508,
kFBCcommitFailed = -30509,
kFBCdeletionFailed = -30510,
kFBCmoveFailed = -30511,
kFBCtokenizationFailed = -30512,
kFBCmergingFailed = -30513,
kFBCindexCreationFailed = -30514,
kFBCaccessorStoreFailed = -30515,
kFBCaddDocFailed = -30516,
kFBCflushFailed = -30517,
kFBCindexNotFound = -30518,
kFBCnoSearchSession = -30519,
kFBCindexingCanceled = -30520,
kFBCaccessCanceled = -30521,
kFBCindexFileDestroyed = -30522,
kFBCindexNotAvailable = -30523,
kFBCsearchFailed = -30524,
kFBCsomeFilesNotIndexed = -30525,
kFBCillegalSessionChange = -30526,
kFBCanalysisNotAvailable = -30527,
kFBCbadIndexFileVersion = -30528,
kFBCsummarizationCanceled = -30529,
kFBCindexDiskIOFailed = -30530,
kFBCbadSearchSession = -30531,
kFBCnoSuchHit = -30532
};
enum {
notAQTVRMovieErr = -30540,
constraintReachedErr = -30541,
callNotSupportedByNodeErr = -30542,
selectorNotSupportedByNodeErr = -30543,
invalidNodeIDErr = -30544,
invalidViewStateErr = -30545,
timeNotInViewErr = -30546,
propertyNotSupportedByNodeErr = -30547,
settingNotSupportedByNodeErr = -30548,
limitReachedErr = -30549,
invalidNodeFormatErr = -30550,
invalidHotSpotIDErr = -30551,
noMemoryNodeFailedInitialize = -30552,
streamingNodeNotReadyErr = -30553,
qtvrLibraryLoadErr = -30554,
qtvrUninitialized = -30555
};
enum {
themeInvalidBrushErr = -30560,
themeProcessRegisteredErr = -30561,
themeProcessNotRegisteredErr = -30562,
themeBadTextColorErr = -30563,
themeHasNoAccentsErr = -30564,
themeBadCursorIndexErr = -30565,
themeScriptFontNotFoundErr = -30566,
themeMonitorDepthNotSupportedErr = -30567,
themeNoAppropriateBrushErr = -30568
};
enum {
errMessageNotSupported = -30580,
errDataNotSupported = -30581,
errControlDoesntSupportFocus = -30582,
errUnknownControl = -30584,
# 2788 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
errCouldntSetFocus = -30585,
# 2797 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
errNoRootControl = -30586,
errRootAlreadyExists = -30587,
errInvalidPartCode = -30588,
# 2820 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
errControlsAlreadyExist = -30589,
errControlIsNotEmbedder = -30590,
errDataSizeMismatch = -30591,
errControlHiddenOrDisabled = -30592,
errCantEmbedIntoSelf = -30594,
errCantEmbedRoot = -30595,
errItemNotControl = -30596,
controlInvalidDataVersionErr = -30597,
controlPropertyInvalid = -5603,
controlPropertyNotFoundErr = -5604,
controlHandleInvalidErr = -30599
};
enum {
kURLInvalidURLReferenceError = -30770,
kURLProgressAlreadyDisplayedError = -30771,
kURLDestinationExistsError = -30772,
kURLInvalidURLError = -30773,
kURLUnsupportedSchemeError = -30774,
kURLServerBusyError = -30775,
kURLAuthenticationError = -30776,
kURLPropertyNotYetKnownError = -30777,
kURLUnknownPropertyError = -30778,
kURLPropertyBufferTooSmallError = -30779,
kURLUnsettablePropertyError = -30780,
kURLInvalidCallError = -30781,
kURLFileEmptyError = -30783,
kURLExtensionFailureError = -30785,
kURLInvalidConfigurationError = -30786,
kURLAccessNotAvailableError = -30787,
kURL68kNotSupportedError = -30788
};
# 2922 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
errCppGeneral = -32000,
errCppbad_alloc = -32001,
errCppbad_cast = -32002,
errCppbad_exception = -32003,
errCppbad_typeid = -32004,
errCpplogic_error = -32005,
errCppdomain_error = -32006,
errCppinvalid_argument = -32007,
errCpplength_error = -32008,
errCppout_of_range = -32009,
errCppruntime_error = -32010,
errCppoverflow_error = -32011,
errCpprange_error = -32012,
errCppunderflow_error = -32013,
errCppios_base_failure = -32014,
errCppLastSystemDefinedError = -32020,
errCppLastUserDefinedError = -32049
};
enum {
badComponentInstance = (long)0x80008001,
badComponentSelector = (long)0x80008002
};
enum {
dsBusError = 1,
dsAddressErr = 2,
dsIllInstErr = 3,
dsZeroDivErr = 4,
dsChkErr = 5,
dsOvflowErr = 6,
dsPrivErr = 7,
dsTraceErr = 8,
dsLineAErr = 9,
dsLineFErr = 10,
dsMiscErr = 11,
dsCoreErr = 12,
dsIrqErr = 13,
dsIOCoreErr = 14,
dsLoadErr = 15,
dsFPErr = 16,
dsNoPackErr = 17,
dsNoPk1 = 18,
dsNoPk2 = 19
};
enum {
dsNoPk3 = 20,
dsNoPk4 = 21,
dsNoPk5 = 22,
dsNoPk6 = 23,
dsNoPk7 = 24,
dsMemFullErr = 25,
dsBadLaunch = 26,
dsFSErr = 27,
dsStknHeap = 28,
negZcbFreeErr = 33,
dsFinderErr = 41,
dsBadSlotInt = 51,
dsBadSANEOpcode = 81,
dsBadPatchHeader = 83,
menuPrgErr = 84,
dsMBarNFnd = 85,
dsHMenuFindErr = 86,
dsWDEFNotFound = 87,
dsCDEFNotFound = 88,
dsMDEFNotFound = 89
};
enum {
dsNoFPU = 90,
dsNoPatch = 98,
dsBadPatch = 99,
dsParityErr = 101,
dsOldSystem = 102,
ds32BitMode = 103,
dsNeedToWriteBootBlocks = 104,
dsNotEnoughRAMToBoot = 105,
dsBufPtrTooLow = 106,
dsVMDeferredFuncTableFull = 112,
dsVMBadBackingStore = 113,
dsCantHoldSystemHeap = 114,
dsSystemRequiresPowerPC = 116,
dsGibblyMovedToDisabledFolder = 117,
dsUnBootableSystem = 118,
dsMustUseFCBAccessors = 119,
dsMacOSROMVersionTooOld = 120,
dsLostConnectionToNetworkDisk = 121,
dsRAMDiskTooBig = 122,
dsWriteToSupervisorStackGuardPage = 128,
dsReinsert = 30,
shutDownAlert = 42,
dsShutDownOrRestart = 20000,
dsSwitchOffOrRestart = 20001,
dsForcedQuit = 20002,
dsRemoveDisk = 20003,
dsDirtyDisk = 20004,
dsShutDownOrResume = 20109,
dsSCSIWarn = 20010,
dsMBSysError = 29200,
dsMBFlpySysError = 29201,
dsMBATASysError = 29202,
dsMBATAPISysError = 29203,
dsMBExternFlpySysError = 29204,
dsPCCardATASysError = 29205
};
enum {
dsNoExtsMacsBug = -1,
dsNoExtsDisassembler = -2,
dsMacsBugInstalled = -10,
dsDisassemblerInstalled = -11,
dsExtensionsDisabled = -13,
dsGreeting = 40,
dsSysErr = 32767,
WDEFNFnd = dsWDEFNotFound
};
enum {
CDEFNFnd = dsCDEFNotFound,
dsNotThe1 = 31,
dsBadStartupDisk = 42,
dsSystemFileErr = 43,
dsHD20Installed = -12,
mBarNFnd = -126,
fsDSIntErr = -127,
hMenuFindErr = -127,
userBreak = -490,
strUserBreak = -491,
exUserBreak = -492
};
enum {
dsBadLibrary = 1010,
dsMixedModeFailure = 1011
};
# 3078 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
enum {
kPOSIXErrorBase = 100000L,
kPOSIXErrorEPERM = 100001L,
kPOSIXErrorENOENT = 100002L,
kPOSIXErrorESRCH = 100003L,
kPOSIXErrorEINTR = 100004L,
kPOSIXErrorEIO = 100005L,
kPOSIXErrorENXIO = 100006L,
kPOSIXErrorE2BIG = 100007L,
kPOSIXErrorENOEXEC = 100008L,
kPOSIXErrorEBADF = 100009L,
kPOSIXErrorECHILD = 100010L,
kPOSIXErrorEDEADLK = 100011L,
kPOSIXErrorENOMEM = 100012L,
kPOSIXErrorEACCES = 100013L,
kPOSIXErrorEFAULT = 100014L,
kPOSIXErrorENOTBLK = 100015L,
kPOSIXErrorEBUSY = 100016L,
kPOSIXErrorEEXIST = 100017L,
kPOSIXErrorEXDEV = 100018L,
kPOSIXErrorENODEV = 100019L,
kPOSIXErrorENOTDIR = 100020L,
kPOSIXErrorEISDIR = 100021L,
kPOSIXErrorEINVAL = 100022L,
kPOSIXErrorENFILE = 100023L,
kPOSIXErrorEMFILE = 100024L,
kPOSIXErrorENOTTY = 100025L,
kPOSIXErrorETXTBSY = 100026L,
kPOSIXErrorEFBIG = 100027L,
kPOSIXErrorENOSPC = 100028L,
kPOSIXErrorESPIPE = 100029L,
kPOSIXErrorEROFS = 100030L,
kPOSIXErrorEMLINK = 100031L,
kPOSIXErrorEPIPE = 100032L,
kPOSIXErrorEDOM = 100033L,
kPOSIXErrorERANGE = 100034L,
kPOSIXErrorEAGAIN = 100035L,
kPOSIXErrorEINPROGRESS = 100036L,
kPOSIXErrorEALREADY = 100037L,
kPOSIXErrorENOTSOCK = 100038L,
kPOSIXErrorEDESTADDRREQ = 100039L,
kPOSIXErrorEMSGSIZE = 100040L,
kPOSIXErrorEPROTOTYPE = 100041L,
kPOSIXErrorENOPROTOOPT = 100042L,
kPOSIXErrorEPROTONOSUPPORT = 100043L,
kPOSIXErrorESOCKTNOSUPPORT = 100044L,
kPOSIXErrorENOTSUP = 100045L,
kPOSIXErrorEPFNOSUPPORT = 100046L,
kPOSIXErrorEAFNOSUPPORT = 100047L,
kPOSIXErrorEADDRINUSE = 100048L,
kPOSIXErrorEADDRNOTAVAIL = 100049L,
kPOSIXErrorENETDOWN = 100050L,
kPOSIXErrorENETUNREACH = 100051L,
kPOSIXErrorENETRESET = 100052L,
kPOSIXErrorECONNABORTED = 100053L,
kPOSIXErrorECONNRESET = 100054L,
kPOSIXErrorENOBUFS = 100055L,
kPOSIXErrorEISCONN = 100056L,
kPOSIXErrorENOTCONN = 100057L,
kPOSIXErrorESHUTDOWN = 100058L,
kPOSIXErrorETOOMANYREFS = 100059L,
kPOSIXErrorETIMEDOUT = 100060L,
kPOSIXErrorECONNREFUSED = 100061L,
kPOSIXErrorELOOP = 100062L,
kPOSIXErrorENAMETOOLONG = 100063L,
kPOSIXErrorEHOSTDOWN = 100064L,
kPOSIXErrorEHOSTUNREACH = 100065L,
kPOSIXErrorENOTEMPTY = 100066L,
kPOSIXErrorEPROCLIM = 100067L,
kPOSIXErrorEUSERS = 100068L,
kPOSIXErrorEDQUOT = 100069L,
kPOSIXErrorESTALE = 100070L,
kPOSIXErrorEREMOTE = 100071L,
kPOSIXErrorEBADRPC = 100072L,
kPOSIXErrorERPCMISMATCH = 100073L,
kPOSIXErrorEPROGUNAVAIL = 100074L,
kPOSIXErrorEPROGMISMATCH = 100075L,
kPOSIXErrorEPROCUNAVAIL = 100076L,
kPOSIXErrorENOLCK = 100077L,
kPOSIXErrorENOSYS = 100078L,
kPOSIXErrorEFTYPE = 100079L,
kPOSIXErrorEAUTH = 100080L,
kPOSIXErrorENEEDAUTH = 100081L,
kPOSIXErrorEPWROFF = 100082L,
kPOSIXErrorEDEVERR = 100083L,
kPOSIXErrorEOVERFLOW = 100084L,
kPOSIXErrorEBADEXEC = 100085L,
kPOSIXErrorEBADARCH = 100086L,
kPOSIXErrorESHLIBVERS = 100087L,
kPOSIXErrorEBADMACHO = 100088L,
kPOSIXErrorECANCELED = 100089L,
kPOSIXErrorEIDRM = 100090L,
kPOSIXErrorENOMSG = 100091L,
kPOSIXErrorEILSEQ = 100092L,
kPOSIXErrorENOATTR = 100093L,
kPOSIXErrorEBADMSG = 100094L,
kPOSIXErrorEMULTIHOP = 100095L,
kPOSIXErrorENODATA = 100096L,
kPOSIXErrorENOLINK = 100097L,
kPOSIXErrorENOSR = 100098L,
kPOSIXErrorENOSTR = 100099L,
kPOSIXErrorEPROTO = 100100L,
kPOSIXErrorETIME = 100101L,
kPOSIXErrorEOPNOTSUPP = 100102L
};
# 3193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h" 3
extern void
SysError(short errorCode) ;
# 25 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 2 3
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
#pragma pack(push, 2)
enum {
kUTCDefaultOptions = 0
};
struct UTCDateTime {
UInt16 highSeconds;
UInt32 lowSeconds;
UInt16 fraction;
};
typedef struct UTCDateTime UTCDateTime;
typedef UTCDateTime * UTCDateTimePtr;
typedef UTCDateTimePtr * UTCDateTimeHandle;
struct LocalDateTime {
UInt16 highSeconds;
UInt32 lowSeconds;
UInt16 fraction;
};
typedef struct LocalDateTime LocalDateTime;
typedef LocalDateTime * LocalDateTimePtr;
typedef LocalDateTimePtr * LocalDateTimeHandle;
# 249 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h" 3
#pragma pack(pop)
# 46 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
#define __TEXTCOMMON__
# 35 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
#pragma pack(push, 2)
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
enum {
kTextFlushDefault = 0,
kTextCenter = 1,
kTextFlushRight = -1,
kTextFlushLeft = -2
};
typedef UInt32 TextEncodingBase;
enum {
kTextEncodingMacRoman = 0L,
kTextEncodingMacJapanese = 1,
kTextEncodingMacChineseTrad = 2,
kTextEncodingMacKorean = 3,
kTextEncodingMacArabic = 4,
kTextEncodingMacHebrew = 5,
kTextEncodingMacGreek = 6,
kTextEncodingMacCyrillic = 7,
kTextEncodingMacDevanagari = 9,
kTextEncodingMacGurmukhi = 10,
kTextEncodingMacGujarati = 11,
kTextEncodingMacOriya = 12,
kTextEncodingMacBengali = 13,
kTextEncodingMacTamil = 14,
kTextEncodingMacTelugu = 15,
kTextEncodingMacKannada = 16,
kTextEncodingMacMalayalam = 17,
kTextEncodingMacSinhalese = 18,
kTextEncodingMacBurmese = 19,
kTextEncodingMacKhmer = 20,
kTextEncodingMacThai = 21,
kTextEncodingMacLaotian = 22,
kTextEncodingMacGeorgian = 23,
kTextEncodingMacArmenian = 24,
kTextEncodingMacChineseSimp = 25,
kTextEncodingMacTibetan = 26,
kTextEncodingMacMongolian = 27,
kTextEncodingMacEthiopic = 28,
kTextEncodingMacCentralEurRoman = 29,
kTextEncodingMacVietnamese = 30,
kTextEncodingMacExtArabic = 31,
kTextEncodingMacSymbol = 33,
kTextEncodingMacDingbats = 34,
kTextEncodingMacTurkish = 35,
kTextEncodingMacCroatian = 36,
kTextEncodingMacIcelandic = 37,
kTextEncodingMacRomanian = 38,
kTextEncodingMacCeltic = 39,
kTextEncodingMacGaelic = 40,
kTextEncodingMacKeyboardGlyphs = 41
};
enum {
kTextEncodingMacTradChinese = kTextEncodingMacChineseTrad,
kTextEncodingMacRSymbol = 8,
kTextEncodingMacSimpChinese = kTextEncodingMacChineseSimp,
kTextEncodingMacGeez = kTextEncodingMacEthiopic,
kTextEncodingMacEastEurRoman = kTextEncodingMacCentralEurRoman,
kTextEncodingMacUninterp = 32
};
# 140 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
enum {
kTextEncodingMacUnicode = 0x7E
};
enum {
kTextEncodingMacFarsi = 0x8C,
kTextEncodingMacUkrainian = 0x98,
kTextEncodingMacInuit = 0xEC,
kTextEncodingMacVT100 = 0xFC
};
enum {
kTextEncodingMacHFS = 0xFF
};
enum {
kTextEncodingUnicodeDefault = 0x0100,
kTextEncodingUnicodeV1_1 = 0x0101,
kTextEncodingISO10646_1993 = 0x0101,
kTextEncodingUnicodeV2_0 = 0x0103,
kTextEncodingUnicodeV2_1 = 0x0103,
kTextEncodingUnicodeV3_0 = 0x0104,
kTextEncodingUnicodeV3_1 = 0x0105,
kTextEncodingUnicodeV3_2 = 0x0106,
kTextEncodingUnicodeV4_0 = 0x0108,
kTextEncodingUnicodeV5_0 = 0x010A
};
enum {
kTextEncodingISOLatin1 = 0x0201,
kTextEncodingISOLatin2 = 0x0202,
kTextEncodingISOLatin3 = 0x0203,
kTextEncodingISOLatin4 = 0x0204,
kTextEncodingISOLatinCyrillic = 0x0205,
kTextEncodingISOLatinArabic = 0x0206,
kTextEncodingISOLatinGreek = 0x0207,
kTextEncodingISOLatinHebrew = 0x0208,
kTextEncodingISOLatin5 = 0x0209,
kTextEncodingISOLatin6 = 0x020A,
kTextEncodingISOLatin7 = 0x020D,
kTextEncodingISOLatin8 = 0x020E,
kTextEncodingISOLatin9 = 0x020F,
kTextEncodingISOLatin10 = 0x0210
};
enum {
kTextEncodingDOSLatinUS = 0x0400,
kTextEncodingDOSGreek = 0x0405,
kTextEncodingDOSBalticRim = 0x0406,
kTextEncodingDOSLatin1 = 0x0410,
kTextEncodingDOSGreek1 = 0x0411,
kTextEncodingDOSLatin2 = 0x0412,
kTextEncodingDOSCyrillic = 0x0413,
kTextEncodingDOSTurkish = 0x0414,
kTextEncodingDOSPortuguese = 0x0415,
kTextEncodingDOSIcelandic = 0x0416,
kTextEncodingDOSHebrew = 0x0417,
kTextEncodingDOSCanadianFrench = 0x0418,
kTextEncodingDOSArabic = 0x0419,
kTextEncodingDOSNordic = 0x041A,
kTextEncodingDOSRussian = 0x041B,
kTextEncodingDOSGreek2 = 0x041C,
kTextEncodingDOSThai = 0x041D,
kTextEncodingDOSJapanese = 0x0420,
kTextEncodingDOSChineseSimplif = 0x0421,
kTextEncodingDOSKorean = 0x0422,
kTextEncodingDOSChineseTrad = 0x0423,
kTextEncodingWindowsLatin1 = 0x0500,
kTextEncodingWindowsANSI = 0x0500,
kTextEncodingWindowsLatin2 = 0x0501,
kTextEncodingWindowsCyrillic = 0x0502,
kTextEncodingWindowsGreek = 0x0503,
kTextEncodingWindowsLatin5 = 0x0504,
kTextEncodingWindowsHebrew = 0x0505,
kTextEncodingWindowsArabic = 0x0506,
kTextEncodingWindowsBalticRim = 0x0507,
kTextEncodingWindowsVietnamese = 0x0508,
kTextEncodingWindowsKoreanJohab = 0x0510
};
enum {
kTextEncodingUS_ASCII = 0x0600,
kTextEncodingANSEL = 0x0601,
kTextEncodingJIS_X0201_76 = 0x0620,
kTextEncodingJIS_X0208_83 = 0x0621,
kTextEncodingJIS_X0208_90 = 0x0622,
kTextEncodingJIS_X0212_90 = 0x0623,
kTextEncodingJIS_C6226_78 = 0x0624,
kTextEncodingShiftJIS_X0213 = 0x0628,
kTextEncodingJIS_X0213_MenKuTen = 0x0629,
kTextEncodingGB_2312_80 = 0x0630,
kTextEncodingGBK_95 = 0x0631,
kTextEncodingGB_18030_2000 = 0x0632,
kTextEncodingKSC_5601_87 = 0x0640,
kTextEncodingKSC_5601_92_Johab = 0x0641,
kTextEncodingCNS_11643_92_P1 = 0x0651,
kTextEncodingCNS_11643_92_P2 = 0x0652,
kTextEncodingCNS_11643_92_P3 = 0x0653
};
enum {
kTextEncodingISO_2022_JP = 0x0820,
kTextEncodingISO_2022_JP_2 = 0x0821,
kTextEncodingISO_2022_JP_1 = 0x0822,
kTextEncodingISO_2022_JP_3 = 0x0823,
kTextEncodingISO_2022_CN = 0x0830,
kTextEncodingISO_2022_CN_EXT = 0x0831,
kTextEncodingISO_2022_KR = 0x0840
};
enum {
kTextEncodingEUC_JP = 0x0920,
kTextEncodingEUC_CN = 0x0930,
kTextEncodingEUC_TW = 0x0931,
kTextEncodingEUC_KR = 0x0940
};
enum {
kTextEncodingShiftJIS = 0x0A01,
kTextEncodingKOI8_R = 0x0A02,
kTextEncodingBig5 = 0x0A03,
kTextEncodingMacRomanLatin1 = 0x0A04,
kTextEncodingHZ_GB_2312 = 0x0A05,
kTextEncodingBig5_HKSCS_1999 = 0x0A06,
kTextEncodingVISCII = 0x0A07,
kTextEncodingKOI8_U = 0x0A08,
kTextEncodingBig5_E = 0x0A09
};
enum {
kTextEncodingNextStepLatin = 0x0B01,
kTextEncodingNextStepJapanese = 0x0B02
};
enum {
kTextEncodingEBCDIC_US = 0x0C01,
kTextEncodingEBCDIC_CP037 = 0x0C02
};
enum {
kTextEncodingMultiRun = 0x0FFF,
kTextEncodingUnknown = 0xFFFF
};
typedef UInt32 TextEncodingVariant;
enum {
kTextEncodingDefaultVariant = 0
};
enum {
kMacRomanDefaultVariant = 0,
kMacRomanCurrencySignVariant = 1,
kMacRomanEuroSignVariant = 2
};
enum {
kMacCyrillicDefaultVariant = 0,
kMacCyrillicCurrSignStdVariant = 1,
kMacCyrillicCurrSignUkrVariant = 2,
kMacCyrillicEuroSignVariant = 3
};
enum {
kMacIcelandicStdDefaultVariant = 0,
kMacIcelandicTTDefaultVariant = 1,
kMacIcelandicStdCurrSignVariant = 2,
kMacIcelandicTTCurrSignVariant = 3,
kMacIcelandicStdEuroSignVariant = 4,
kMacIcelandicTTEuroSignVariant = 5
};
enum {
kMacCroatianDefaultVariant = 0,
kMacCroatianCurrencySignVariant = 1,
kMacCroatianEuroSignVariant = 2
};
enum {
kMacRomanianDefaultVariant = 0,
kMacRomanianCurrencySignVariant = 1,
kMacRomanianEuroSignVariant = 2
};
enum {
kMacJapaneseStandardVariant = 0,
kMacJapaneseStdNoVerticalsVariant = 1,
kMacJapaneseBasicVariant = 2,
kMacJapanesePostScriptScrnVariant = 3,
kMacJapanesePostScriptPrintVariant = 4,
kMacJapaneseVertAtKuPlusTenVariant = 5
};
enum {
kMacArabicStandardVariant = 0,
kMacArabicTrueTypeVariant = 1,
kMacArabicThuluthVariant = 2,
kMacArabicAlBayanVariant = 3
};
enum {
kMacFarsiStandardVariant = 0,
kMacFarsiTrueTypeVariant = 1
};
enum {
kMacHebrewStandardVariant = 0,
kMacHebrewFigureSpaceVariant = 1
};
enum {
kMacGreekDefaultVariant = 0,
kMacGreekNoEuroSignVariant = 1,
kMacGreekEuroSignVariant = 2
};
enum {
kMacVT100DefaultVariant = 0,
kMacVT100CurrencySignVariant = 1,
kMacVT100EuroSignVariant = 2
};
enum {
kUnicodeNoSubset = 0,
kUnicodeNormalizationFormD = 5,
kUnicodeNormalizationFormC = 3,
kUnicodeHFSPlusDecompVariant = 8,
kUnicodeHFSPlusCompVariant = 9
};
enum {
kISOLatin1StandardVariant = 0,
kISOLatin1MusicCDVariant = 1
};
# 428 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
enum {
kISOLatinArabicImplicitOrderVariant = 0,
kISOLatinArabicVisualOrderVariant = 1,
kISOLatinArabicExplicitOrderVariant = 2
};
enum {
kISOLatinHebrewImplicitOrderVariant = 0,
kISOLatinHebrewVisualOrderVariant = 1,
kISOLatinHebrewExplicitOrderVariant = 2
};
enum {
kWindowsLatin1StandardVariant = 0,
kWindowsLatin1PalmVariant = 1
};
enum {
kDOSJapaneseStandardVariant = 0,
kDOSJapanesePalmVariant = 1
};
enum {
kEUC_CN_BasicVariant = 0,
kEUC_CN_DOSVariant = 1
};
enum {
kEUC_KR_BasicVariant = 0,
kEUC_KR_DOSVariant = 1
};
enum {
kShiftJIS_BasicVariant = 0,
kShiftJIS_DOSVariant = 1,
kShiftJIS_MusicCDVariant = 2
};
enum {
kBig5_BasicVariant = 0,
kBig5_StandardVariant = 1,
kBig5_ETenVariant = 2,
kBig5_DOSVariant = 3
};
enum {
kMacRomanLatin1DefaultVariant = 0,
kMacRomanLatin1StandardVariant = 2,
kMacRomanLatin1TurkishVariant = 6,
kMacRomanLatin1CroatianVariant = 8,
kMacRomanLatin1IcelandicVariant = 11,
kMacRomanLatin1RomanianVariant = 14
};
enum {
kUnicodeNoCompatibilityVariant = 1,
kUnicodeNoCorporateVariant = 4
};
enum {
kMacRomanStandardVariant = 0,
kMacIcelandicStandardVariant = 0,
kMacIcelandicTrueTypeVariant = 1,
kJapaneseStandardVariant = 0,
kJapaneseStdNoVerticalsVariant = 1,
kJapaneseBasicVariant = 2,
kJapanesePostScriptScrnVariant = 3,
kJapanesePostScriptPrintVariant = 4,
kJapaneseVertAtKuPlusTenVariant = 5,
kTextEncodingShiftJIS_X0213_00 = 0x0628,
kHebrewStandardVariant = 0,
kHebrewFigureSpaceVariant = 1,
kUnicodeCanonicalDecompVariant = 2,
kUnicodeMaxDecomposedVariant = 2,
kUnicodeCanonicalCompVariant = 3,
kUnicodeNoComposedVariant = 3
};
typedef UInt32 TextEncodingFormat;
enum {
kTextEncodingDefaultFormat = 0,
kUnicodeUTF16Format = 0,
kUnicodeUTF7Format = 1,
kUnicodeUTF8Format = 2,
kUnicodeUTF32Format = 3,
kUnicodeUTF16BEFormat = 4,
kUnicodeUTF16LEFormat = 5,
kUnicodeUTF32BEFormat = 6,
kUnicodeUTF32LEFormat = 7,
kUnicodeSCSUFormat = 8,
# 562 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
kUnicode16BitFormat = 0,
kUnicode32BitFormat = 3
};
typedef UInt32 TextEncoding;
typedef UInt32 TextEncodingNameSelector;
enum {
kTextEncodingFullName = 0,
kTextEncodingBaseName = 1,
kTextEncodingVariantName = 2,
kTextEncodingFormatName = 3
};
struct TextEncodingRun {
ByteOffset offset;
TextEncoding textEncoding;
};
typedef struct TextEncodingRun TextEncodingRun;
typedef TextEncodingRun * TextEncodingRunPtr;
typedef const TextEncodingRun * ConstTextEncodingRunPtr;
struct ScriptCodeRun {
ByteOffset offset;
ScriptCode script;
};
typedef struct ScriptCodeRun ScriptCodeRun;
typedef ScriptCodeRun * ScriptCodeRunPtr;
typedef const ScriptCodeRun * ConstScriptCodeRunPtr;
typedef UInt8 * TextPtr;
typedef const UInt8 * ConstTextPtr;
typedef UniChar * UniCharArrayPtr;
typedef const UniChar * ConstUniCharArrayPtr;
typedef UniCharArrayPtr * UniCharArrayHandle;
typedef unsigned long UniCharArrayOffset;
enum {
kTextScriptDontCare = -128,
kTextLanguageDontCare = -128,
kTextRegionDontCare = -128
};
struct TECInfo {
UInt16 format;
UInt16 tecVersion;
UInt32 tecTextConverterFeatures;
UInt32 tecUnicodeConverterFeatures;
UInt32 tecTextCommonFeatures;
Str31 tecTextEncodingsFolderName;
Str31 tecExtensionFileName;
UInt16 tecLowestTEFileVersion;
UInt16 tecHighestTEFileVersion;
};
typedef struct TECInfo TECInfo;
typedef TECInfo * TECInfoPtr;
typedef TECInfoPtr * TECInfoHandle;
enum {
kTECInfoCurrentFormat = 2
};
# 678 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
enum {
kTECKeepInfoFixBit = 0,
kTECFallbackTextLengthFixBit = 1,
kTECTextRunBitClearFixBit = 2,
kTECTextToUnicodeScanFixBit = 3,
kTECAddForceASCIIChangesBit = 4,
kTECPreferredEncodingFixBit = 5,
kTECAddTextRunHeuristicsBit = 6,
kTECAddFallbackInterruptBit = 7
};
enum {
kTECKeepInfoFixMask = 1L << kTECKeepInfoFixBit,
kTECFallbackTextLengthFixMask = 1L << kTECFallbackTextLengthFixBit,
kTECTextRunBitClearFixMask = 1L << kTECTextRunBitClearFixBit,
kTECTextToUnicodeScanFixMask = 1L << kTECTextToUnicodeScanFixBit,
kTECAddForceASCIIChangesMask = 1L << kTECAddForceASCIIChangesBit,
kTECPreferredEncodingFixMask = 1L << kTECPreferredEncodingFixBit,
kTECAddTextRunHeuristicsMask = 1L << kTECAddTextRunHeuristicsBit,
kTECAddFallbackInterruptMask = 1L << kTECAddFallbackInterruptBit
};
enum {
kUnicodeByteOrderMark = 0xFEFF,
kUnicodeObjectReplacement = 0xFFFC,
kUnicodeReplacementChar = 0xFFFD,
kUnicodeSwappedByteOrderMark = 0xFFFE,
kUnicodeNotAChar = 0xFFFF
};
# 721 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
typedef SInt32 UCCharPropertyType;
enum {
kUCCharPropTypeGenlCategory = 1,
kUCCharPropTypeCombiningClass = 2,
kUCCharPropTypeBidiCategory = 3,
kUCCharPropTypeDecimalDigitValue = 4
};
typedef UInt32 UCCharPropertyValue;
enum {
kUCGenlCatOtherNotAssigned = 0,
kUCGenlCatOtherControl = 1,
kUCGenlCatOtherFormat = 2,
kUCGenlCatOtherSurrogate = 3,
kUCGenlCatOtherPrivateUse = 4,
kUCGenlCatMarkNonSpacing = 5,
kUCGenlCatMarkSpacingCombining = 6,
kUCGenlCatMarkEnclosing = 7,
kUCGenlCatNumberDecimalDigit = 8,
kUCGenlCatNumberLetter = 9,
kUCGenlCatNumberOther = 10,
kUCGenlCatSeparatorSpace = 11,
kUCGenlCatSeparatorLine = 12,
kUCGenlCatSeparatorParagraph = 13,
kUCGenlCatLetterUppercase = 14,
kUCGenlCatLetterLowercase = 15,
kUCGenlCatLetterTitlecase = 16,
kUCGenlCatLetterModifier = 17,
kUCGenlCatLetterOther = 18,
kUCGenlCatPunctConnector = 20,
kUCGenlCatPunctDash = 21,
kUCGenlCatPunctOpen = 22,
kUCGenlCatPunctClose = 23,
kUCGenlCatPunctInitialQuote = 24,
kUCGenlCatPunctFinalQuote = 25,
kUCGenlCatPunctOther = 26,
kUCGenlCatSymbolMath = 28,
kUCGenlCatSymbolCurrency = 29,
kUCGenlCatSymbolModifier = 30,
kUCGenlCatSymbolOther = 31
};
enum {
kUCBidiCatNotApplicable = 0,
kUCBidiCatLeftRight = 1,
kUCBidiCatRightLeft = 2,
kUCBidiCatEuroNumber = 3,
kUCBidiCatEuroNumberSeparator = 4,
kUCBidiCatEuroNumberTerminator = 5,
kUCBidiCatArabicNumber = 6,
kUCBidiCatCommonNumberSeparator = 7,
kUCBidiCatBlockSeparator = 8,
kUCBidiCatSegmentSeparator = 9,
kUCBidiCatWhitespace = 10,
kUCBidiCatOtherNeutral = 11,
kUCBidiCatRightLeftArabic = 12,
kUCBidiCatLeftRightEmbedding = 13,
kUCBidiCatRightLeftEmbedding = 14,
kUCBidiCatLeftRightOverride = 15,
kUCBidiCatRightLeftOverride = 16,
kUCBidiCatPopDirectionalFormat = 17,
kUCBidiCatNonSpacingMark = 18,
kUCBidiCatBoundaryNeutral = 19
};
# 811 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern TextEncoding
CreateTextEncoding(
TextEncodingBase encodingBase,
TextEncodingVariant encodingVariant,
TextEncodingFormat encodingFormat) ;
# 826 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern TextEncodingBase
GetTextEncodingBase(TextEncoding encoding) ;
# 838 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern TextEncodingVariant
GetTextEncodingVariant(TextEncoding encoding) ;
# 850 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern TextEncodingFormat
GetTextEncodingFormat(TextEncoding encoding) ;
# 862 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern TextEncoding
ResolveDefaultTextEncoding(TextEncoding encoding) ;
# 874 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
GetTextEncodingName(
TextEncoding iEncoding,
TextEncodingNameSelector iNamePartSelector,
RegionCode iPreferredRegion,
TextEncoding iPreferredEncoding,
ByteCount iOutputBufLen,
ByteCount * oNameLength,
RegionCode * oActualRegion,
TextEncoding * oActualEncoding,
TextPtr oEncodingName) ;
# 895 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
TECGetInfo(TECInfoHandle * tecInfo) ;
# 908 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
UpgradeScriptInfoToTextEncoding(
ScriptCode iTextScriptID,
LangCode iTextLanguageID,
RegionCode iRegionID,
ConstStr255Param iTextFontname,
TextEncoding * oEncoding) ;
# 925 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
RevertTextEncodingToScriptInfo(
TextEncoding iEncoding,
ScriptCode * oTextScriptID,
LangCode * oTextLanguageID,
Str255 oTextFontname) ;
# 978 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
GetTextEncodingFromScriptInfo(
ScriptCode iTextScriptID,
LangCode iTextLanguageID,
RegionCode iTextRegionID,
TextEncoding * oEncoding) ;
# 1027 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
GetScriptInfoFromTextEncoding(
TextEncoding iEncoding,
ScriptCode * oTextScriptID,
LangCode * oTextLanguageID) ;
# 1043 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
NearestMacTextEncodings(
TextEncoding generalEncoding,
TextEncoding * bestMacEncoding,
TextEncoding * alternateMacEncoding) ;
# 1058 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
extern OSStatus
UCGetCharProperty(
const UniChar * charPtr,
UniCharCount textLength,
UCCharPropertyType propType,
UCCharPropertyValue * propValue) ;
# 1077 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
#define UC_INLINE static __inline__
enum {
kUCHighSurrogateRangeStart = 0xD800,
kUCHighSurrogateRangeEnd = 0xDBFF,
kUCLowSurrogateRangeStart = 0xDC00,
kUCLowSurrogateRangeEnd = 0xDFFF
};
# 1098 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
static __inline__ Boolean UCIsSurrogateHighCharacter( UniChar character ) {
return ( ( character & 0xFC00 ) == kUCHighSurrogateRangeStart );
}
static __inline__ Boolean UCIsSurrogateLowCharacter( UniChar character ) {
return ( ( character & 0xFC00 ) == kUCLowSurrogateRangeStart );
}
# 1123 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextCommon.h" 3
static __inline__ UnicodeScalarValue UCGetUnicodeScalarValueForSurrogatePair( UniChar surrogateHigh, UniChar surrogateLow ) {
return ( ( surrogateHigh - kUCHighSurrogateRangeStart ) << 10 ) + ( surrogateLow - kUCLowSurrogateRangeStart ) + 0x0010000;
}
#pragma pack(pop)
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
#define __COLLECTIONS__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define __MIXEDMODE__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#pragma pack(push, 2)
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
enum {
kRoutineDescriptorVersion = 7
};
enum {
_MixedModeMagic = 0xAAFE
};
enum {
kCurrentMixedModeStateRecord = 1
};
typedef unsigned short CallingConventionType;
enum {
kPascalStackBased = 0,
kCStackBased = 1,
kRegisterBased = 2,
kD0DispatchedPascalStackBased = 8,
kD1DispatchedPascalStackBased = 12,
kD0DispatchedCStackBased = 9,
kStackDispatchedPascalStackBased = 14,
kThinkCStackBased = 5
};
typedef SInt8 ISAType;
enum {
kM68kISA = 0,
kPowerPCISA = 1
};
enum {
kX86ISA = 2
};
typedef SInt8 RTAType;
enum {
kOld68kRTA = 0 << 4,
kPowerPCRTA = 0 << 4,
kCFM68kRTA = 1 << 4
};
enum {
kX86RTA = 2 << 4
};
# 108 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define GetCurrentArchitecture() (GetCurrentISA() | GetCurrentRTA())
enum {
kRegisterD0 = 0,
kRegisterD1 = 1,
kRegisterD2 = 2,
kRegisterD3 = 3,
kRegisterD4 = 8,
kRegisterD5 = 9,
kRegisterD6 = 10,
kRegisterD7 = 11,
kRegisterA0 = 4,
kRegisterA1 = 5,
kRegisterA2 = 6,
kRegisterA3 = 7,
kRegisterA4 = 12,
kRegisterA5 = 13,
kRegisterA6 = 14,
kCCRegisterCBit = 16,
kCCRegisterVBit = 17,
kCCRegisterZBit = 18,
kCCRegisterNBit = 19,
kCCRegisterXBit = 20
};
typedef unsigned short registerSelectorType;
enum {
kNoByteCode = 0,
kOneByteCode = 1,
kTwoByteCode = 2,
kFourByteCode = 3
};
typedef unsigned long ProcInfoType;
typedef unsigned short RoutineFlagsType;
enum {
kProcDescriptorIsAbsolute = 0x00,
kProcDescriptorIsRelative = 0x01
};
enum {
kFragmentIsPrepared = 0x00,
kFragmentNeedsPreparing = 0x02
};
enum {
kUseCurrentISA = 0x00,
kUseNativeISA = 0x04
};
enum {
kPassSelector = 0x00,
kDontPassSelector = 0x08
};
enum {
kRoutineIsNotDispatchedDefaultRoutine = 0x00,
kRoutineIsDispatchedDefaultRoutine = 0x10
};
enum {
kProcDescriptorIsProcPtr = 0x00,
kProcDescriptorIsIndex = 0x20
};
struct RoutineRecord {
ProcInfoType procInfo;
SInt8 reserved1;
ISAType ISA;
RoutineFlagsType routineFlags;
ProcPtr procDescriptor;
UInt32 reserved2;
UInt32 selector;
};
typedef struct RoutineRecord RoutineRecord;
typedef RoutineRecord * RoutineRecordPtr;
typedef RoutineRecordPtr * RoutineRecordHandle;
typedef UInt8 RDFlagsType;
enum {
kSelectorsAreNotIndexable = 0x00,
kSelectorsAreIndexable = 0x01
};
struct RoutineDescriptor {
UInt16 goMixedModeTrap;
SInt8 version;
RDFlagsType routineDescriptorFlags;
UInt32 reserved1;
UInt8 reserved2;
UInt8 selectorInfo;
UInt16 routineCount;
RoutineRecord routineRecords[1];
};
typedef struct RoutineDescriptor RoutineDescriptor;
typedef RoutineDescriptor * RoutineDescriptorPtr;
typedef RoutineDescriptorPtr * RoutineDescriptorHandle;
struct MixedModeStateRecord {
UInt32 state1;
UInt32 state2;
UInt32 state3;
UInt32 state4;
};
typedef struct MixedModeStateRecord MixedModeStateRecord;
# 258 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define NewRoutineDescriptor(theProc,procInfo,isa) ((UniversalProcPtr) theProc)
#define DisposeRoutineDescriptor(upp)
enum {
kCallingConventionWidth = 4,
kCallingConventionPhase = 0,
kCallingConventionMask = 0x0F,
kResultSizeWidth = 2,
kResultSizePhase = kCallingConventionWidth,
kResultSizeMask = 0x30,
kStackParameterWidth = 2,
kStackParameterPhase = (kCallingConventionWidth + kResultSizeWidth),
kStackParameterMask = (long)0xFFFFFFC0,
kRegisterResultLocationWidth = 5,
kRegisterResultLocationPhase = (kCallingConventionWidth + kResultSizeWidth),
kRegisterParameterWidth = 5,
kRegisterParameterPhase = (kCallingConventionWidth + kResultSizeWidth + kRegisterResultLocationWidth),
kRegisterParameterMask = 0x7FFFF800,
kRegisterParameterSizePhase = 0,
kRegisterParameterSizeWidth = 2,
kRegisterParameterWhichPhase = kRegisterParameterSizeWidth,
kRegisterParameterWhichWidth = 3,
kDispatchedSelectorSizeWidth = 2,
kDispatchedSelectorSizePhase = (kCallingConventionWidth + kResultSizeWidth),
kDispatchedParameterPhase = (kCallingConventionWidth + kResultSizeWidth + kDispatchedSelectorSizeWidth),
kSpecialCaseSelectorWidth = 6,
kSpecialCaseSelectorPhase = kCallingConventionWidth,
kSpecialCaseSelectorMask = 0x03F0
};
enum {
kSpecialCase = 0x000F
};
enum {
kSpecialCaseHighHook = 0,
kSpecialCaseCaretHook = 0,
kSpecialCaseEOLHook = 1,
kSpecialCaseWidthHook = 2,
kSpecialCaseTextWidthHook = 2,
kSpecialCaseNWidthHook = 3,
kSpecialCaseDrawHook = 4,
kSpecialCaseHitTestHook = 5,
kSpecialCaseTEFindWord = 6,
kSpecialCaseProtocolHandler = 7,
kSpecialCaseSocketListener = 8,
kSpecialCaseTERecalc = 9,
kSpecialCaseTEDoText = 10,
kSpecialCaseGNEFilterProc = 11,
kSpecialCaseMBarHook = 12
};
# 347 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define SIZE_CODE(size) (((size) == 4) ? kFourByteCode : (((size) == 2) ? kTwoByteCode : (((size) == 1) ? kOneByteCode : 0)))
# 356 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define RESULT_SIZE(sizeCode) ((ProcInfoType)(sizeCode) << kResultSizePhase)
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define STACK_ROUTINE_PARAMETER(whichParam,sizeCode) ((ProcInfoType)(sizeCode) << (kStackParameterPhase + (((whichParam) - 1) * kStackParameterWidth)))
# 378 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define DISPATCHED_STACK_ROUTINE_PARAMETER(whichParam,sizeCode) ((ProcInfoType)(sizeCode) << (kDispatchedParameterPhase + (((whichParam) - 1) * kStackParameterWidth)))
# 389 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define DISPATCHED_STACK_ROUTINE_SELECTOR_SIZE(sizeCode) ((ProcInfoType)(sizeCode) << kDispatchedSelectorSizePhase)
# 398 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define REGISTER_RESULT_LOCATION(whichReg) ((ProcInfoType)(whichReg) << kRegisterResultLocationPhase)
#define REGISTER_ROUTINE_PARAMETER(whichParam,whichReg,sizeCode) ((((ProcInfoType)(sizeCode) << kRegisterParameterSizePhase) | ((ProcInfoType)(whichReg) << kRegisterParameterWhichPhase)) << (kRegisterParameterPhase + (((whichParam) - 1) * kRegisterParameterWidth)))
# 447 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define SPECIAL_CASE_PROCINFO(specialCaseCode) (kSpecialCase | ((ProcInfoType)(specialCaseCode) << 4))
# 475 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define STACK_UPP_TYPE(name) name
#define REGISTER_UPP_TYPE(name) name
#define TVECTOR_UPP_TYPE(name) name
# 511 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MixedMode.h" 3
#define CALL_ZERO_PARAMETER_UPP(upp,procInfo) (*(upp))()
#define CALL_ONE_PARAMETER_UPP(upp,procInfo,p1) (*(upp))((p1))
#define CALL_TWO_PARAMETER_UPP(upp,procInfo,p1,p2) (*(upp))((p1), (p2))
#define CALL_THREE_PARAMETER_UPP(upp,procInfo,p1,p2,p3) (*(upp))((p1), (p2), (p3))
#define CALL_FOUR_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4) (*(upp))((p1), (p2), (p3), (p4))
#define CALL_FIVE_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5) (*(upp))((p1), (p2), (p3), (p4), (p5))
#define CALL_SIX_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6))
#define CALL_SEVEN_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7))
#define CALL_EIGHT_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8))
#define CALL_NINE_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8,p9) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9))
#define CALL_TEN_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9), (p10))
#define CALL_ELEVEN_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9), (p10), (p11))
#define CALL_TWELVE_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9), (p10), (p11), (p12))
#define CALL_THIRTEEN_PARAMETER_UPP(upp,procInfo,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13) (*(upp))((p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9), (p10), (p11), (p12), (p13))
#pragma pack(pop)
# 25 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 2 3
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
enum {
kCollectionDontWantTag = 0L,
kCollectionDontWantId = 0L,
kCollectionDontWantSize = 0L,
kCollectionDontWantAttributes = 0L,
kCollectionDontWantIndex = 0L,
kCollectionDontWantData = 0L
};
enum {
kCollectionNoAttributes = 0x00000000,
kCollectionAllAttributes = (long)0xFFFFFFFF,
kCollectionUserAttributes = 0x0000FFFF,
kCollectionDefaultAttributes = 0x40000000
};
enum {
kCollectionUser0Bit = 0,
kCollectionUser1Bit = 1,
kCollectionUser2Bit = 2,
kCollectionUser3Bit = 3,
kCollectionUser4Bit = 4,
kCollectionUser5Bit = 5,
kCollectionUser6Bit = 6,
kCollectionUser7Bit = 7,
kCollectionUser8Bit = 8,
kCollectionUser9Bit = 9,
kCollectionUser10Bit = 10,
kCollectionUser11Bit = 11,
kCollectionUser12Bit = 12,
kCollectionUser13Bit = 13,
kCollectionUser14Bit = 14,
kCollectionUser15Bit = 15,
kCollectionReserved0Bit = 16,
kCollectionReserved1Bit = 17,
kCollectionReserved2Bit = 18,
kCollectionReserved3Bit = 19,
kCollectionReserved4Bit = 20,
kCollectionReserved5Bit = 21,
kCollectionReserved6Bit = 22,
kCollectionReserved7Bit = 23,
kCollectionReserved8Bit = 24,
kCollectionReserved9Bit = 25,
kCollectionReserved10Bit = 26,
kCollectionReserved11Bit = 27,
kCollectionReserved12Bit = 28,
kCollectionReserved13Bit = 29,
kCollectionPersistenceBit = 30,
kCollectionLockBit = 31
};
enum {
kCollectionUser0Mask = 1L << kCollectionUser0Bit,
kCollectionUser1Mask = 1L << kCollectionUser1Bit,
kCollectionUser2Mask = 1L << kCollectionUser2Bit,
kCollectionUser3Mask = 1L << kCollectionUser3Bit,
kCollectionUser4Mask = 1L << kCollectionUser4Bit,
kCollectionUser5Mask = 1L << kCollectionUser5Bit,
kCollectionUser6Mask = 1L << kCollectionUser6Bit,
kCollectionUser7Mask = 1L << kCollectionUser7Bit,
kCollectionUser8Mask = 1L << kCollectionUser8Bit,
kCollectionUser9Mask = 1L << kCollectionUser9Bit,
kCollectionUser10Mask = 1L << kCollectionUser10Bit,
kCollectionUser11Mask = 1L << kCollectionUser11Bit,
kCollectionUser12Mask = 1L << kCollectionUser12Bit,
kCollectionUser13Mask = 1L << kCollectionUser13Bit,
kCollectionUser14Mask = 1L << kCollectionUser14Bit,
kCollectionUser15Mask = 1L << kCollectionUser15Bit,
kCollectionReserved0Mask = 1L << kCollectionReserved0Bit,
kCollectionReserved1Mask = 1L << kCollectionReserved1Bit,
kCollectionReserved2Mask = 1L << kCollectionReserved2Bit,
kCollectionReserved3Mask = 1L << kCollectionReserved3Bit,
kCollectionReserved4Mask = 1L << kCollectionReserved4Bit,
kCollectionReserved5Mask = 1L << kCollectionReserved5Bit,
kCollectionReserved6Mask = 1L << kCollectionReserved6Bit,
kCollectionReserved7Mask = 1L << kCollectionReserved7Bit,
kCollectionReserved8Mask = 1L << kCollectionReserved8Bit,
kCollectionReserved9Mask = 1L << kCollectionReserved9Bit,
kCollectionReserved10Mask = 1L << kCollectionReserved10Bit,
kCollectionReserved11Mask = 1L << kCollectionReserved11Bit,
kCollectionReserved12Mask = 1L << kCollectionReserved12Bit,
kCollectionReserved13Mask = 1L << kCollectionReserved13Bit,
kCollectionPersistenceMask = 1L << kCollectionPersistenceBit,
kCollectionLockMask = 1L << kCollectionLockBit
};
typedef struct OpaqueCollection* Collection;
typedef FourCharCode CollectionTag;
typedef OSErr ( * CollectionFlattenProcPtr)(SInt32 size, void *data, void *refCon);
typedef OSErr ( * CollectionExceptionProcPtr)(Collection c, OSErr status);
typedef CollectionFlattenProcPtr CollectionFlattenUPP;
typedef CollectionExceptionProcPtr CollectionExceptionUPP;
# 159 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern CollectionFlattenUPP
NewCollectionFlattenUPP(CollectionFlattenProcPtr userRoutine) ;
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern CollectionExceptionUPP
NewCollectionExceptionUPP(CollectionExceptionProcPtr userRoutine) ;
# 181 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
DisposeCollectionFlattenUPP(CollectionFlattenUPP userUPP) ;
# 192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
DisposeCollectionExceptionUPP(CollectionExceptionUPP userUPP) ;
# 203 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
InvokeCollectionFlattenUPP(
SInt32 size,
void * data,
void * refCon,
CollectionFlattenUPP userUPP) ;
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
InvokeCollectionExceptionUPP(
Collection c,
OSErr status,
CollectionExceptionUPP userUPP) ;
# 233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
#define NewCollectionFlattenUPP(userRoutine) ((CollectionFlattenUPP)userRoutine)
#define NewCollectionExceptionUPP(userRoutine) ((CollectionExceptionUPP)userRoutine)
#define DisposeCollectionFlattenUPP(userUPP)
#define DisposeCollectionExceptionUPP(userUPP)
#define InvokeCollectionFlattenUPP(size,data,refCon,userUPP) (*userUPP)(size, data, refCon)
#define InvokeCollectionExceptionUPP(c,status,userUPP) (*userUPP)(c, status)
# 253 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern Collection
NewCollection(void) ;
# 266 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
DisposeCollection(Collection c) ;
# 279 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern Collection
CloneCollection(Collection c) ;
# 292 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern SInt32
CountCollectionOwners(Collection c) ;
# 305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSStatus
RetainCollection(Collection c) ;
# 318 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSStatus
ReleaseCollection(Collection c) ;
# 331 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern ItemCount
GetCollectionRetainCount(Collection c) ;
# 344 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern Collection
CopyCollection(
Collection srcCollection,
Collection dstCollection) ;
# 359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern SInt32
GetCollectionDefaultAttributes(Collection c) ;
# 372 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
SetCollectionDefaultAttributes(
Collection c,
SInt32 whichAttributes,
SInt32 newAttributes) ;
# 388 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern SInt32
CountCollectionItems(Collection c) ;
# 401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
AddCollectionItem(
Collection c,
CollectionTag tag,
SInt32 id,
SInt32 itemSize,
const void * itemData) ;
# 419 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetCollectionItem(
Collection c,
CollectionTag tag,
SInt32 id,
SInt32 * itemSize,
void * itemData) ;
# 437 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
RemoveCollectionItem(
Collection c,
CollectionTag tag,
SInt32 id) ;
# 453 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
SetCollectionItemInfo(
Collection c,
CollectionTag tag,
SInt32 id,
SInt32 whichAttributes,
SInt32 newAttributes) ;
# 471 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetCollectionItemInfo(
Collection c,
CollectionTag tag,
SInt32 id,
SInt32 * itemIndex,
SInt32 * itemSize,
SInt32 * attributes) ;
# 490 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
ReplaceIndexedCollectionItem(
Collection c,
SInt32 itemIndex,
SInt32 itemSize,
const void * itemData) ;
# 507 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetIndexedCollectionItem(
Collection c,
SInt32 itemIndex,
SInt32 * itemSize,
void * itemData) ;
# 524 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
RemoveIndexedCollectionItem(
Collection c,
SInt32 itemIndex) ;
# 539 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
SetIndexedCollectionItemInfo(
Collection c,
SInt32 itemIndex,
SInt32 whichAttributes,
SInt32 newAttributes) ;
# 556 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetIndexedCollectionItemInfo(
Collection c,
SInt32 itemIndex,
CollectionTag * tag,
SInt32 * id,
SInt32 * itemSize,
SInt32 * attributes) ;
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern Boolean
CollectionTagExists(
Collection c,
CollectionTag tag) ;
# 590 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern SInt32
CountCollectionTags(Collection c) ;
# 603 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetIndexedCollectionTag(
Collection c,
SInt32 tagIndex,
CollectionTag * tag) ;
# 619 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern SInt32
CountTaggedCollectionItems(
Collection c,
CollectionTag tag) ;
# 634 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetTaggedCollectionItem(
Collection c,
CollectionTag tag,
SInt32 whichItem,
SInt32 * itemSize,
void * itemData) ;
# 652 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetTaggedCollectionItemInfo(
Collection c,
CollectionTag tag,
SInt32 whichItem,
SInt32 * id,
SInt32 * itemIndex,
SInt32 * itemSize,
SInt32 * attributes) ;
# 672 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
PurgeCollection(
Collection c,
SInt32 whichAttributes,
SInt32 matchingAttributes) ;
# 688 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
PurgeCollectionTag(
Collection c,
CollectionTag tag) ;
# 703 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
EmptyCollection(Collection c) ;
# 715 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
FlattenCollection(
Collection c,
CollectionFlattenUPP flattenProc,
void * refCon) ;
# 731 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
FlattenPartialCollection(
Collection c,
CollectionFlattenUPP flattenProc,
void * refCon,
SInt32 whichAttributes,
SInt32 matchingAttributes) ;
# 749 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
UnflattenCollection(
Collection c,
CollectionFlattenUPP flattenProc,
void * refCon) ;
# 765 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern CollectionExceptionUPP
GetCollectionExceptionProc(Collection c) ;
# 778 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern void
SetCollectionExceptionProc(
Collection c,
CollectionExceptionUPP exceptionProc) ;
# 793 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern Collection
GetNewCollection(SInt16 collectionID) ;
# 809 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
AddCollectionItemHdl(
Collection aCollection,
CollectionTag tag,
SInt32 id,
Handle itemData) ;
# 826 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetCollectionItemHdl(
Collection aCollection,
CollectionTag tag,
SInt32 id,
Handle itemData) ;
# 843 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
ReplaceIndexedCollectionItemHdl(
Collection aCollection,
SInt32 itemIndex,
Handle itemData) ;
# 859 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
GetIndexedCollectionItemHdl(
Collection aCollection,
SInt32 itemIndex,
Handle itemData) ;
# 875 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
FlattenCollectionToHdl(
Collection aCollection,
Handle flattened) ;
# 890 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Collections.h" 3
extern OSErr
UnflattenCollectionFromHdl(
Collection aCollection,
Handle flattened) ;
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
#define __ENDIAN__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
#pragma pack(push, 2)
# 95 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
#define Endian16_Swap(value) (UInt16) (__builtin_constant_p(value) ? OSSwapConstInt16(value) : OSSwapInt16(value))
#define Endian32_Swap(value) (UInt32) (__builtin_constant_p(value) ? OSSwapConstInt32(value) : OSSwapInt32(value))
#define Endian64_Swap(value) (UInt64) (__builtin_constant_p(value) ? OSSwapConstInt64(value) : OSSwapInt64(value))
# 176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
#define EndianS16_LtoN(value) (value)
#define EndianS16_NtoL(value) (value)
#define EndianU16_LtoN(value) (value)
#define EndianU16_NtoL(value) (value)
#define EndianS32_LtoN(value) (value)
#define EndianS32_NtoL(value) (value)
#define EndianU32_LtoN(value) (value)
#define EndianU32_NtoL(value) (value)
#define EndianS64_LtoN(value) (value)
#define EndianS64_NtoL(value) (value)
#define EndianU64_LtoN(value) (value)
#define EndianU64_NtoL(value) (value)
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
#define EndianS16_BtoN(value) EndianS16_BtoL(value)
#define EndianS16_NtoB(value) EndianS16_LtoB(value)
#define EndianU16_BtoN(value) EndianU16_BtoL(value)
#define EndianU16_NtoB(value) EndianU16_LtoB(value)
#define EndianS32_BtoN(value) EndianS32_BtoL(value)
#define EndianS32_NtoB(value) EndianS32_LtoB(value)
#define EndianU32_BtoN(value) EndianU32_BtoL(value)
#define EndianU32_NtoB(value) EndianU32_LtoB(value)
#define EndianS64_BtoN(value) EndianS64_BtoL(value)
#define EndianS64_NtoB(value) EndianS64_LtoB(value)
#define EndianU64_BtoN(value) EndianU64_BtoL(value)
#define EndianU64_NtoB(value) EndianU64_LtoB(value)
#define EndianS16_LtoB(value) ((SInt16)Endian16_Swap(value))
#define EndianS16_BtoL(value) ((SInt16)Endian16_Swap(value))
#define EndianU16_LtoB(value) ((UInt16)Endian16_Swap(value))
#define EndianU16_BtoL(value) ((UInt16)Endian16_Swap(value))
#define EndianS32_LtoB(value) ((SInt32)Endian32_Swap(value))
#define EndianS32_BtoL(value) ((SInt32)Endian32_Swap(value))
#define EndianU32_LtoB(value) ((UInt32)Endian32_Swap(value))
#define EndianU32_BtoL(value) ((UInt32)Endian32_Swap(value))
#define EndianS64_LtoB(value) ((SInt64)Endian64_Swap((UInt64)value))
#define EndianS64_BtoL(value) ((SInt64)Endian64_Swap((UInt64)value))
#define EndianU64_LtoB(value) ((UInt64)Endian64_Swap(value))
#define EndianU64_BtoL(value) ((UInt64)Endian64_Swap(value))
# 251 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
struct BigEndianLong {
long bigEndianValue;
};
typedef struct BigEndianLong BigEndianLong;
struct BigEndianUnsignedLong {
unsigned long bigEndianValue;
};
typedef struct BigEndianUnsignedLong BigEndianUnsignedLong;
struct BigEndianShort {
short bigEndianValue;
};
typedef struct BigEndianShort BigEndianShort;
struct BigEndianUnsignedShort {
unsigned short bigEndianValue;
};
typedef struct BigEndianUnsignedShort BigEndianUnsignedShort;
struct BigEndianFixed {
Fixed bigEndianValue;
};
typedef struct BigEndianFixed BigEndianFixed;
struct BigEndianUnsignedFixed {
UnsignedFixed bigEndianValue;
};
typedef struct BigEndianUnsignedFixed BigEndianUnsignedFixed;
struct BigEndianOSType {
OSType bigEndianValue;
};
typedef struct BigEndianOSType BigEndianOSType;
# 307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
enum {
kCoreEndianResourceManagerDomain = 'rsrc',
kCoreEndianAppleEventManagerDomain = 'aevt'
};
# 351 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
typedef OSStatus ( * CoreEndianFlipProc)(OSType dataDomain, OSType dataType, SInt16 id, void *dataPtr, ByteCount dataSize, Boolean currentlyNative, void *refcon);
# 388 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
extern OSStatus
CoreEndianInstallFlipper(
OSType dataDomain,
OSType dataType,
CoreEndianFlipProc proc,
void * refcon) ;
# 428 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
extern OSStatus
CoreEndianGetFlipper(
OSType dataDomain,
OSType dataType,
CoreEndianFlipProc * proc,
void ** refcon) ;
# 476 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Endian.h" 3
extern OSStatus
CoreEndianFlipData(
OSType dataDomain,
OSType dataType,
SInt16 id,
void * data,
ByteCount dataLen,
Boolean currentlyNative) ;
#pragma pack(pop)
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
#define __GESTALT__
# 41 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
typedef OSErr ( * SelectorFunctionProcPtr)(OSType selector, SInt32 *response);
typedef SelectorFunctionProcPtr SelectorFunctionUPP;
# 128 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
Gestalt(
OSType selector,
SInt32 * response) ;
# 279 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
NewGestaltValue(
OSType selector,
SInt32 newValue) ;
# 319 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
ReplaceGestaltValue(
OSType selector,
SInt32 replacementValue) ;
# 358 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
SetGestaltValue(
OSType selector,
SInt32 newValue) ;
# 393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
DeleteGestaltValue(OSType selector) ;
# 406 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern SelectorFunctionUPP
NewSelectorFunctionUPP(SelectorFunctionProcPtr userRoutine) ;
# 417 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern void
DisposeSelectorFunctionUPP(SelectorFunctionUPP userUPP) ;
# 428 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
extern OSErr
InvokeSelectorFunctionUPP(
OSType selector,
SInt32 * response,
SelectorFunctionUPP userUPP) ;
#define NewSelectorFunctionUPP(userRoutine) ((SelectorFunctionUPP)userRoutine)
#define DisposeSelectorFunctionUPP(userUPP)
#define InvokeSelectorFunctionUPP(selector,response,userUPP) (*userUPP)(selector, response)
enum {
gestaltAddressingModeAttr = 'addr',
gestalt32BitAddressing = 0,
gestalt32BitSysZone = 1,
gestalt32BitCapable = 2
};
enum {
gestaltAFPClient = 'afps',
gestaltAFPClientVersionMask = 0x0000FFFF,
gestaltAFPClient3_5 = 0x0001,
gestaltAFPClient3_6 = 0x0002,
gestaltAFPClient3_6_1 = 0x0003,
gestaltAFPClient3_6_2 = 0x0004,
gestaltAFPClient3_6_3 = 0x0005,
gestaltAFPClient3_7 = 0x0006,
gestaltAFPClient3_7_2 = 0x0007,
gestaltAFPClient3_8 = 0x0008,
gestaltAFPClient3_8_1 = 0x0009,
gestaltAFPClient3_8_3 = 0x000A,
gestaltAFPClient3_8_4 = 0x000B,
gestaltAFPClientAttributeMask = (long)0xFFFF0000,
gestaltAFPClientCfgRsrc = 16,
gestaltAFPClientSupportsIP = 29,
gestaltAFPClientVMUI = 30,
gestaltAFPClientMultiReq = 31
};
enum {
gestaltAliasMgrAttr = 'alis',
gestaltAliasMgrPresent = 0,
gestaltAliasMgrSupportsRemoteAppletalk = 1,
gestaltAliasMgrSupportsAOCEKeychain = 2,
gestaltAliasMgrResolveAliasFileWithMountOptions = 3,
gestaltAliasMgrFollowsAliasesWhenResolving = 4,
gestaltAliasMgrSupportsExtendedCalls = 5,
gestaltAliasMgrSupportsFSCalls = 6,
gestaltAliasMgrPrefersPath = 7,
gestaltAliasMgrRequiresAccessors = 8
};
enum {
gestaltAppearanceAttr = 'appr',
gestaltAppearanceExists = 0,
gestaltAppearanceCompatMode = 1
};
enum {
gestaltAppearanceVersion = 'apvr'
};
enum {
gestaltArbitorAttr = 'arb ',
gestaltSerialArbitrationExists = 0
};
enum {
gestaltAppleScriptVersion = 'ascv'
};
enum {
gestaltAppleScriptAttr = 'ascr',
gestaltAppleScriptPresent = 0,
gestaltAppleScriptPowerPCSupport = 1
};
enum {
gestaltATAAttr = 'ata ',
gestaltATAPresent = 0
};
enum {
gestaltATalkVersion = 'atkv'
};
enum {
gestaltAppleTalkVersion = 'atlk'
};
# 559 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltAUXVersion = 'a/ux'
};
enum {
gestaltMacOSCompatibilityBoxAttr = 'bbox',
gestaltMacOSCompatibilityBoxPresent = 0,
gestaltMacOSCompatibilityBoxHasSerial = 1,
gestaltMacOSCompatibilityBoxless = 2
};
enum {
gestaltBusClkSpeed = 'bclk'
};
enum {
gestaltBusClkSpeedMHz = 'bclm'
};
enum {
gestaltCloseViewAttr = 'BSDa',
gestaltCloseViewEnabled = 0,
gestaltCloseViewDisplayMgrFriendly = 1
};
enum {
gestaltCarbonVersion = 'cbon'
};
enum {
gestaltCFMAttr = 'cfrg',
gestaltCFMPresent = 0,
gestaltCFMPresentMask = 0x0001,
gestaltCFM99Present = 2,
gestaltCFM99PresentMask = 0x0004
};
enum {
gestaltProcessorCacheLineSize = 'csiz'
};
enum {
gestaltCollectionMgrVersion = 'cltn'
};
enum {
gestaltColorMatchingAttr = 'cmta',
gestaltHighLevelMatching = 0,
gestaltColorMatchingLibLoaded = 1
};
enum {
gestaltColorMatchingVersion = 'cmtc',
gestaltColorSync10 = 0x0100,
gestaltColorSync11 = 0x0110,
gestaltColorSync104 = 0x0104,
gestaltColorSync105 = 0x0105,
gestaltColorSync20 = 0x0200,
gestaltColorSync21 = 0x0210,
gestaltColorSync211 = 0x0211,
gestaltColorSync212 = 0x0212,
gestaltColorSync213 = 0x0213,
gestaltColorSync25 = 0x0250,
gestaltColorSync26 = 0x0260,
gestaltColorSync261 = 0x0261,
gestaltColorSync30 = 0x0300
};
enum {
gestaltControlMgrVersion = 'cmvr'
};
enum {
gestaltControlMgrAttr = 'cntl',
gestaltControlMgrPresent = (1L << 0),
gestaltControlMgrPresentBit = 0,
gestaltControlMsgPresentMask = (1L << gestaltControlMgrPresentBit)
};
enum {
gestaltConnMgrAttr = 'conn',
gestaltConnMgrPresent = 0,
gestaltConnMgrCMSearchFix = 1,
gestaltConnMgrErrorString = 2,
gestaltConnMgrMultiAsyncIO = 3
};
enum {
gestaltColorPickerVersion = 'cpkr',
gestaltColorPicker = 'cpkr'
};
enum {
gestaltComponentMgr = 'cpnt',
gestaltComponentPlatform = 'copl'
};
# 686 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltNativeCPUtype = 'cput',
gestaltNativeCPUfamily = 'cpuf',
gestaltCPU68000 = 0,
gestaltCPU68010 = 1,
gestaltCPU68020 = 2,
gestaltCPU68030 = 3,
gestaltCPU68040 = 4,
gestaltCPU601 = 0x0101,
gestaltCPU603 = 0x0103,
gestaltCPU604 = 0x0104,
gestaltCPU603e = 0x0106,
gestaltCPU603ev = 0x0107,
gestaltCPU750 = 0x0108,
gestaltCPU604e = 0x0109,
gestaltCPU604ev = 0x010A,
gestaltCPUG4 = 0x010C,
gestaltCPUG47450 = 0x0110
};
enum {
gestaltCPUApollo = 0x0111,
gestaltCPUG47447 = 0x0112,
gestaltCPU750FX = 0x0120,
gestaltCPU970 = 0x0139,
gestaltCPU970FX = 0x013C,
gestaltCPU970MP = 0x0144
};
enum {
gestaltCPU486 = 'i486',
gestaltCPUPentium = 'i586',
gestaltCPUPentiumPro = 'i5pr',
gestaltCPUPentiumII = 'i5ii',
gestaltCPUX86 = 'ixxx',
gestaltCPUPentium4 = 'i5iv'
};
enum {
gestaltCRMAttr = 'crm ',
gestaltCRMPresent = 0,
gestaltCRMPersistentFix = 1,
gestaltCRMToolRsrcCalls = 2
};
enum {
gestaltControlStripVersion = 'csvr'
};
enum {
gestaltCountOfCPUs = 'cpus'
};
enum {
gestaltCTBVersion = 'ctbv'
};
enum {
gestaltDBAccessMgrAttr = 'dbac',
gestaltDBAccessMgrPresent = 0
};
enum {
gestaltDiskCacheSize = 'dcsz'
};
enum {
gestaltSDPFindVersion = 'dfnd'
};
enum {
gestaltDictionaryMgrAttr = 'dict',
gestaltDictionaryMgrPresent = 0
};
enum {
gestaltDITLExtAttr = 'ditl',
gestaltDITLExtPresent = 0,
gestaltDITLExtSupportsIctb = 1
};
enum {
gestaltDialogMgrAttr = 'dlog',
gestaltDialogMgrPresent = (1L << 0),
gestaltDialogMgrPresentBit = 0,
gestaltDialogMgrHasAquaAlertBit = 2,
gestaltDialogMgrPresentMask = (1L << gestaltDialogMgrPresentBit),
gestaltDialogMgrHasAquaAlertMask = (1L << gestaltDialogMgrHasAquaAlertBit),
gestaltDialogMsgPresentMask = gestaltDialogMgrPresentMask
};
enum {
gestaltDesktopPicturesAttr = 'dkpx',
gestaltDesktopPicturesInstalled = 0,
gestaltDesktopPicturesDisplayed = 1
};
enum {
gestaltDisplayMgrVers = 'dplv'
};
enum {
gestaltDisplayMgrAttr = 'dply',
gestaltDisplayMgrPresent = 0,
gestaltDisplayMgrCanSwitchMirrored = 2,
gestaltDisplayMgrSetDepthNotifies = 3,
gestaltDisplayMgrCanConfirm = 4,
gestaltDisplayMgrColorSyncAware = 5,
gestaltDisplayMgrGeneratesProfiles = 6,
gestaltDisplayMgrSleepNotifies = 7
};
enum {
gestaltDragMgrAttr = 'drag',
gestaltDragMgrPresent = 0,
gestaltDragMgrFloatingWind = 1,
gestaltPPCDragLibPresent = 2,
gestaltDragMgrHasImageSupport = 3,
gestaltCanStartDragInFloatWindow = 4,
gestaltSetDragImageUpdates = 5
};
enum {
gestaltDrawSprocketVersion = 'dspv'
};
enum {
gestaltDigitalSignatureVersion = 'dsig'
};
enum {
gestaltDTPFeatures = 'dtpf',
kDTPThirdPartySupported = 0x00000004
};
enum {
gestaltDTPInfo = 'dtpx'
};
enum {
gestaltEasyAccessAttr = 'easy',
gestaltEasyAccessOff = 0,
gestaltEasyAccessOn = 1,
gestaltEasyAccessSticky = 2,
gestaltEasyAccessLocked = 3
};
enum {
gestaltEditionMgrAttr = 'edtn',
gestaltEditionMgrPresent = 0,
gestaltEditionMgrTranslationAware = 1
};
enum {
gestaltAppleEventsAttr = 'evnt',
gestaltAppleEventsPresent = 0,
gestaltScriptingSupport = 1,
gestaltOSLInSystem = 2,
gestaltSupportsApplicationURL = 4
};
enum {
gestaltExtensionTableVersion = 'etbl'
};
enum {
gestaltFBCIndexingState = 'fbci',
gestaltFBCindexingSafe = 0,
gestaltFBCindexingCritical = 1
};
enum {
gestaltFBCVersion = 'fbcv',
gestaltFBCCurrentVersion = 0x0011,
gestaltOSXFBCCurrentVersion = 0x0100
};
enum {
gestaltFileMappingAttr = 'flmp',
gestaltFileMappingPresent = 0,
gestaltFileMappingMultipleFilesFix = 1
};
enum {
gestaltFloppyAttr = 'flpy',
gestaltFloppyIsMFMOnly = 0,
gestaltFloppyIsManualEject = 1,
gestaltFloppyUsesDiskInPlace = 2
};
enum {
gestaltFinderAttr = 'fndr',
gestaltFinderDropEvent = 0,
gestaltFinderMagicPlacement = 1,
gestaltFinderCallsAEProcess = 2,
gestaltOSLCompliantFinder = 3,
gestaltFinderSupports4GBVolumes = 4,
gestaltFinderHasClippings = 6,
gestaltFinderFullDragManagerSupport = 7,
gestaltFinderFloppyRootComments = 8,
gestaltFinderLargeAndNotSavedFlavorsOK = 9,
gestaltFinderUsesExtensibleFolderManager = 10,
gestaltFinderUnderstandsRedirectedDesktopFolder = 11
};
enum {
gestaltFindFolderAttr = 'fold',
gestaltFindFolderPresent = 0,
gestaltFolderDescSupport = 1,
gestaltFolderMgrFollowsAliasesWhenResolving = 2,
gestaltFolderMgrSupportsExtendedCalls = 3,
gestaltFolderMgrSupportsDomains = 4,
gestaltFolderMgrSupportsFSCalls = 5
};
enum {
gestaltFindFolderRedirectionAttr = 'fole'
};
enum {
gestaltFontMgrAttr = 'font',
gestaltOutlineFonts = 0
};
enum {
gestaltFPUType = 'fpu ',
gestaltNoFPU = 0,
gestalt68881 = 1,
gestalt68882 = 2,
gestalt68040FPU = 3
};
enum {
gestaltFSAttr = 'fs ',
gestaltFullExtFSDispatching = 0,
gestaltHasFSSpecCalls = 1,
gestaltHasFileSystemManager = 2,
gestaltFSMDoesDynamicLoad = 3,
gestaltFSSupports4GBVols = 4,
gestaltFSSupports2TBVols = 5,
gestaltHasExtendedDiskInit = 6,
gestaltDTMgrSupportsFSM = 7,
gestaltFSNoMFSVols = 8,
gestaltFSSupportsHFSPlusVols = 9,
gestaltFSIncompatibleDFA82 = 10
};
enum {
gestaltFSSupportsDirectIO = 11
};
enum {
gestaltHasHFSPlusAPIs = 12,
gestaltMustUseFCBAccessors = 13,
gestaltFSUsesPOSIXPathsForConversion = 14,
gestaltFSSupportsExclusiveLocks = 15,
gestaltFSSupportsHardLinkDetection = 16,
gestaltFSAllowsConcurrentAsyncIO = 17
};
enum {
gestaltAdminFeaturesFlagsAttr = 'fred',
gestaltFinderUsesSpecialOpenFoldersFile = 0
};
enum {
gestaltFSMVersion = 'fsm '
};
enum {
gestaltFXfrMgrAttr = 'fxfr',
gestaltFXfrMgrPresent = 0,
gestaltFXfrMgrMultiFile = 1,
gestaltFXfrMgrErrorString = 2,
gestaltFXfrMgrAsync = 3
};
enum {
gestaltGraphicsAttr = 'gfxa',
gestaltGraphicsIsDebugging = 0x00000001,
gestaltGraphicsIsLoaded = 0x00000002,
gestaltGraphicsIsPowerPC = 0x00000004
};
enum {
gestaltGraphicsVersion = 'grfx',
gestaltCurrentGraphicsVersion = 0x00010200
};
enum {
gestaltHardwareAttr = 'hdwr',
gestaltHasVIA1 = 0,
gestaltHasVIA2 = 1,
gestaltHasASC = 3,
gestaltHasSCC = 4,
gestaltHasSCSI = 7,
gestaltHasSoftPowerOff = 19,
gestaltHasSCSI961 = 21,
gestaltHasSCSI962 = 22,
gestaltHasUniversalROM = 24,
gestaltHasEnhancedLtalk = 30
};
enum {
gestaltHelpMgrAttr = 'help',
gestaltHelpMgrPresent = 0,
gestaltHelpMgrExtensions = 1,
gestaltAppleGuideIsDebug = 30,
gestaltAppleGuidePresent = 31
};
enum {
gestaltHardwareVendorCode = 'hrad',
gestaltHardwareVendorApple = 'Appl'
};
enum {
gestaltCompressionMgr = 'icmp'
};
enum {
gestaltIconUtilitiesAttr = 'icon',
gestaltIconUtilitiesPresent = 0,
gestaltIconUtilitiesHas48PixelIcons = 1,
gestaltIconUtilitiesHas32BitIcons = 2,
gestaltIconUtilitiesHas8BitDeepMasks = 3,
gestaltIconUtilitiesHasIconServices = 4
};
enum {
gestaltInternalDisplay = 'idsp'
};
enum {
gestaltKeyboardType = 'kbd ',
gestaltMacKbd = 1,
gestaltMacAndPad = 2,
gestaltMacPlusKbd = 3,
gestaltUnknownThirdPartyKbd = 3,
gestaltExtADBKbd = 4,
gestaltStdADBKbd = 5,
gestaltPrtblADBKbd = 6,
gestaltPrtblISOKbd = 7,
gestaltStdISOADBKbd = 8,
gestaltExtISOADBKbd = 9,
gestaltADBKbdII = 10,
gestaltADBISOKbdII = 11,
gestaltPwrBookADBKbd = 12,
gestaltPwrBookISOADBKbd = 13,
gestaltAppleAdjustKeypad = 14,
gestaltAppleAdjustADBKbd = 15,
gestaltAppleAdjustISOKbd = 16,
gestaltJapanAdjustADBKbd = 17,
gestaltPwrBkExtISOKbd = 20,
gestaltPwrBkExtJISKbd = 21,
gestaltPwrBkExtADBKbd = 24,
gestaltPS2Keyboard = 27,
gestaltPwrBkSubDomKbd = 28,
gestaltPwrBkSubISOKbd = 29,
gestaltPwrBkSubJISKbd = 30,
gestaltPortableUSBANSIKbd = 37,
gestaltPortableUSBISOKbd = 38,
gestaltPortableUSBJISKbd = 39,
gestaltThirdPartyANSIKbd = 40,
gestaltThirdPartyISOKbd = 41,
gestaltThirdPartyJISKbd = 42,
gestaltPwrBkEKDomKbd = 195,
gestaltPwrBkEKISOKbd = 196,
gestaltPwrBkEKJISKbd = 197,
gestaltUSBCosmoANSIKbd = 198,
gestaltUSBCosmoISOKbd = 199,
gestaltUSBCosmoJISKbd = 200,
gestaltPwrBk99JISKbd = 201,
gestaltUSBAndyANSIKbd = 204,
gestaltUSBAndyISOKbd = 205,
gestaltUSBAndyJISKbd = 206
};
enum {
gestaltPortable2001ANSIKbd = 202,
gestaltPortable2001ISOKbd = 203,
gestaltPortable2001JISKbd = 207
};
enum {
gestaltUSBProF16ANSIKbd = 34,
gestaltUSBProF16ISOKbd = 35,
gestaltUSBProF16JISKbd = 36,
gestaltProF16ANSIKbd = 31,
gestaltProF16ISOKbd = 32,
gestaltProF16JISKbd = 33
};
enum {
gestaltUDFSupport = 'kudf'
};
enum {
gestaltLowMemorySize = 'lmem'
};
enum {
gestaltLogicalRAMSize = 'lram'
};
# 1212 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltMachineType = 'mach',
gestaltClassic = 1,
gestaltMacXL = 2,
gestaltMac512KE = 3,
gestaltMacPlus = 4,
gestaltMacSE = 5,
gestaltMacII = 6,
gestaltMacIIx = 7,
gestaltMacIIcx = 8,
gestaltMacSE030 = 9,
gestaltPortable = 10,
gestaltMacIIci = 11,
gestaltPowerMac8100_120 = 12,
gestaltMacIIfx = 13,
gestaltMacClassic = 17,
gestaltMacIIsi = 18,
gestaltMacLC = 19,
gestaltMacQuadra900 = 20,
gestaltPowerBook170 = 21,
gestaltMacQuadra700 = 22,
gestaltClassicII = 23,
gestaltPowerBook100 = 24,
gestaltPowerBook140 = 25,
gestaltMacQuadra950 = 26,
gestaltMacLCIII = 27,
gestaltPerforma450 = gestaltMacLCIII,
gestaltPowerBookDuo210 = 29,
gestaltMacCentris650 = 30,
gestaltPowerBookDuo230 = 32,
gestaltPowerBook180 = 33,
gestaltPowerBook160 = 34,
gestaltMacQuadra800 = 35,
gestaltMacQuadra650 = 36,
gestaltMacLCII = 37,
gestaltPowerBookDuo250 = 38,
gestaltAWS9150_80 = 39,
gestaltPowerMac8100_110 = 40,
gestaltAWS8150_110 = gestaltPowerMac8100_110,
gestaltPowerMac5200 = 41,
gestaltPowerMac5260 = gestaltPowerMac5200,
gestaltPerforma5300 = gestaltPowerMac5200,
gestaltPowerMac6200 = 42,
gestaltPerforma6300 = gestaltPowerMac6200,
gestaltMacIIvi = 44,
gestaltMacIIvm = 45,
gestaltPerforma600 = gestaltMacIIvm,
gestaltPowerMac7100_80 = 47,
gestaltMacIIvx = 48,
gestaltMacColorClassic = 49,
gestaltPerforma250 = gestaltMacColorClassic,
gestaltPowerBook165c = 50,
gestaltMacCentris610 = 52,
gestaltMacQuadra610 = 53,
gestaltPowerBook145 = 54,
gestaltPowerMac8100_100 = 55,
gestaltMacLC520 = 56,
gestaltAWS9150_120 = 57,
gestaltPowerMac6400 = 58,
gestaltPerforma6400 = gestaltPowerMac6400,
gestaltPerforma6360 = gestaltPerforma6400,
gestaltMacCentris660AV = 60,
gestaltMacQuadra660AV = gestaltMacCentris660AV,
gestaltPerforma46x = 62,
gestaltPowerMac8100_80 = 65,
gestaltAWS8150_80 = gestaltPowerMac8100_80,
gestaltPowerMac9500 = 67,
gestaltPowerMac9600 = gestaltPowerMac9500,
gestaltPowerMac7500 = 68,
gestaltPowerMac7600 = gestaltPowerMac7500,
gestaltPowerMac8500 = 69,
gestaltPowerMac8600 = gestaltPowerMac8500,
gestaltAWS8550 = gestaltPowerMac7500,
gestaltPowerBook180c = 71,
gestaltPowerBook520 = 72,
gestaltPowerBook520c = gestaltPowerBook520,
gestaltPowerBook540 = gestaltPowerBook520,
gestaltPowerBook540c = gestaltPowerBook520,
gestaltPowerMac5400 = 74,
gestaltPowerMac6100_60 = 75,
gestaltAWS6150_60 = gestaltPowerMac6100_60,
gestaltPowerBookDuo270c = 77,
gestaltMacQuadra840AV = 78,
gestaltPerforma550 = 80,
gestaltPowerBook165 = 84,
gestaltPowerBook190 = 85,
gestaltMacTV = 88,
gestaltMacLC475 = 89,
gestaltPerforma47x = gestaltMacLC475,
gestaltMacLC575 = 92,
gestaltMacQuadra605 = 94,
gestaltMacQuadra630 = 98,
gestaltMacLC580 = 99,
gestaltPerforma580 = gestaltMacLC580,
gestaltPowerMac6100_66 = 100,
gestaltAWS6150_66 = gestaltPowerMac6100_66,
gestaltPowerBookDuo280 = 102,
gestaltPowerBookDuo280c = 103,
gestaltPowerMacLC475 = 104,
gestaltPowerMacPerforma47x = gestaltPowerMacLC475,
gestaltPowerMacLC575 = 105,
gestaltPowerMacPerforma57x = gestaltPowerMacLC575,
gestaltPowerMacQuadra630 = 106,
gestaltPowerMacLC630 = gestaltPowerMacQuadra630,
gestaltPowerMacPerforma63x = gestaltPowerMacQuadra630,
gestaltPowerMac7200 = 108,
gestaltPowerMac7300 = 109,
gestaltPowerMac7100_66 = 112,
gestaltPowerBook150 = 115,
gestaltPowerMacQuadra700 = 116,
gestaltPowerMacQuadra900 = 117,
gestaltPowerMacQuadra950 = 118,
gestaltPowerMacCentris610 = 119,
gestaltPowerMacCentris650 = 120,
gestaltPowerMacQuadra610 = 121,
gestaltPowerMacQuadra650 = 122,
gestaltPowerMacQuadra800 = 123,
gestaltPowerBookDuo2300 = 124,
gestaltPowerBook500PPCUpgrade = 126,
gestaltPowerBook5300 = 128,
gestaltPowerBook1400 = 310,
gestaltPowerBook3400 = 306,
gestaltPowerBook2400 = 307,
gestaltPowerBookG3Series = 312,
gestaltPowerBookG3 = 313,
gestaltPowerBookG3Series2 = 314,
gestaltPowerMacNewWorld = 406,
gestaltPowerMacG3 = 510,
gestaltPowerMac5500 = 512,
gestalt20thAnniversary = gestaltPowerMac5500,
gestaltPowerMac6500 = 513,
gestaltPowerMac4400_160 = 514,
gestaltPowerMac4400 = 515,
gestaltMacOSCompatibility = 1206
};
enum {
gestaltQuadra605 = gestaltMacQuadra605,
gestaltQuadra610 = gestaltMacQuadra610,
gestaltQuadra630 = gestaltMacQuadra630,
gestaltQuadra650 = gestaltMacQuadra650,
gestaltQuadra660AV = gestaltMacQuadra660AV,
gestaltQuadra700 = gestaltMacQuadra700,
gestaltQuadra800 = gestaltMacQuadra800,
gestaltQuadra840AV = gestaltMacQuadra840AV,
gestaltQuadra900 = gestaltMacQuadra900,
gestaltQuadra950 = gestaltMacQuadra950
};
enum {
kMachineNameStrID = -16395
};
enum {
gestaltSMPMailerVersion = 'malr'
};
enum {
gestaltMediaBay = 'mbeh',
gestaltMBLegacy = 0,
gestaltMBSingleBay = 1,
gestaltMBMultipleBays = 2
};
enum {
gestaltMessageMgrVersion = 'mess'
};
enum {
gestaltMenuMgrAttr = 'menu',
gestaltMenuMgrPresent = (1L << 0),
gestaltMenuMgrPresentBit = 0,
gestaltMenuMgrAquaLayoutBit = 1,
gestaltMenuMgrMultipleItemsWithCommandIDBit = 2,
gestaltMenuMgrRetainsIconRefBit = 3,
gestaltMenuMgrSendsMenuBoundsToDefProcBit = 4,
gestaltMenuMgrMoreThanFiveMenusDeepBit = 5,
gestaltMenuMgrCGImageMenuTitleBit = 6,
gestaltMenuMgrPresentMask = (1L << gestaltMenuMgrPresentBit),
gestaltMenuMgrAquaLayoutMask = (1L << gestaltMenuMgrAquaLayoutBit),
gestaltMenuMgrMultipleItemsWithCommandIDMask = (1L << gestaltMenuMgrMultipleItemsWithCommandIDBit),
gestaltMenuMgrRetainsIconRefMask = (1L << gestaltMenuMgrRetainsIconRefBit),
gestaltMenuMgrSendsMenuBoundsToDefProcMask = (1L << gestaltMenuMgrSendsMenuBoundsToDefProcBit),
gestaltMenuMgrMoreThanFiveMenusDeepMask = (1L << gestaltMenuMgrMoreThanFiveMenusDeepBit),
gestaltMenuMgrCGImageMenuTitleMask = (1L << gestaltMenuMgrCGImageMenuTitleBit)
};
enum {
gestaltMultipleUsersState = 'mfdr'
};
enum {
gestaltMachineIcon = 'micn'
};
enum {
gestaltMiscAttr = 'misc',
gestaltScrollingThrottle = 0,
gestaltSquareMenuBar = 2
};
# 1436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltMixedModeVersion = 'mixd'
};
enum {
gestaltMixedModeAttr = 'mixd',
gestaltMixedModePowerPC = 0,
gestaltPowerPCAware = 0,
gestaltMixedModeCFM68K = 1,
gestaltMixedModeCFM68KHasTrap = 2,
gestaltMixedModeCFM68KHasState = 3
};
enum {
gestaltQuickTimeConferencing = 'mtlk'
};
enum {
gestaltMemoryMapAttr = 'mmap',
gestaltMemoryMapSparse = 0
};
enum {
gestaltMMUType = 'mmu ',
gestaltNoMMU = 0,
gestaltAMU = 1,
gestalt68851 = 2,
gestalt68030MMU = 3,
gestalt68040MMU = 4,
gestaltEMMU1 = 5
};
enum {
gestaltUserVisibleMachineName = 'mnam'
};
enum {
gestaltMPCallableAPIsAttr = 'mpsc',
gestaltMPFileManager = 0,
gestaltMPDeviceManager = 1,
gestaltMPTrapCalls = 2
};
enum {
gestaltStdNBPAttr = 'nlup',
gestaltStdNBPPresent = 0,
gestaltStdNBPSupportsAutoPosition = 1
};
enum {
gestaltNotificationMgrAttr = 'nmgr',
gestaltNotificationPresent = 0
};
enum {
gestaltNameRegistryVersion = 'nreg'
};
enum {
gestaltNuBusSlotCount = 'nubs'
};
enum {
gestaltOCEToolboxVersion = 'ocet',
gestaltOCETB = 0x0102,
gestaltSFServer = 0x0100
};
enum {
gestaltOCEToolboxAttr = 'oceu',
gestaltOCETBPresent = 0x01,
gestaltOCETBAvailable = 0x02,
gestaltOCESFServerAvailable = 0x04,
gestaltOCETBNativeGlueAvailable = 0x10
};
enum {
gestaltOpenFirmwareInfo = 'opfw'
};
enum {
gestaltOSAttr = 'os ',
gestaltSysZoneGrowable = 0,
gestaltLaunchCanReturn = 1,
gestaltLaunchFullFileSpec = 2,
gestaltLaunchControl = 3,
gestaltTempMemSupport = 4,
gestaltRealTempMemory = 5,
gestaltTempMemTracked = 6,
gestaltIPCSupport = 7,
gestaltSysDebuggerSupport = 8,
gestaltNativeProcessMgrBit = 19,
gestaltAltivecRegistersSwappedCorrectlyBit = 20
};
enum {
gestaltOSTable = 'ostt'
};
# 1545 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltOpenTptNetworkSetup = 'otcf',
gestaltOpenTptNetworkSetupLegacyImport = 0,
gestaltOpenTptNetworkSetupLegacyExport = 1,
gestaltOpenTptNetworkSetupSupportsMultihoming = 2
};
enum {
gestaltOpenTptNetworkSetupVersion = 'otcv'
};
enum {
gestaltOpenTptRemoteAccess = 'otra',
gestaltOpenTptRemoteAccessPresent = 0,
gestaltOpenTptRemoteAccessLoaded = 1,
gestaltOpenTptRemoteAccessClientOnly = 2,
gestaltOpenTptRemoteAccessPServer = 3,
gestaltOpenTptRemoteAccessMPServer = 4,
gestaltOpenTptPPPPresent = 5,
gestaltOpenTptARAPPresent = 6
};
enum {
gestaltOpenTptRemoteAccessVersion = 'otrv'
};
enum {
gestaltOpenTptVersions = 'otvr'
};
enum {
gestaltOpenTpt = 'otan',
gestaltOpenTptPresentMask = 0x00000001,
gestaltOpenTptLoadedMask = 0x00000002,
gestaltOpenTptAppleTalkPresentMask = 0x00000004,
gestaltOpenTptAppleTalkLoadedMask = 0x00000008,
gestaltOpenTptTCPPresentMask = 0x00000010,
gestaltOpenTptTCPLoadedMask = 0x00000020,
gestaltOpenTptIPXSPXPresentMask = 0x00000040,
gestaltOpenTptIPXSPXLoadedMask = 0x00000080,
gestaltOpenTptPresentBit = 0,
gestaltOpenTptLoadedBit = 1,
gestaltOpenTptAppleTalkPresentBit = 2,
gestaltOpenTptAppleTalkLoadedBit = 3,
gestaltOpenTptTCPPresentBit = 4,
gestaltOpenTptTCPLoadedBit = 5,
gestaltOpenTptIPXSPXPresentBit = 6,
gestaltOpenTptIPXSPXLoadedBit = 7
};
enum {
gestaltPCCard = 'pccd',
gestaltCardServicesPresent = 0,
gestaltPCCardFamilyPresent = 1,
gestaltPCCardHasPowerControl = 2,
gestaltPCCardSupportsCardBus = 3
};
enum {
gestaltProcClkSpeed = 'pclk'
};
enum {
gestaltProcClkSpeedMHz = 'mclk'
};
enum {
gestaltPCXAttr = 'pcxg',
gestaltPCXHas8and16BitFAT = 0,
gestaltPCXHasProDOS = 1,
gestaltPCXNewUI = 2,
gestaltPCXUseICMapping = 3
};
enum {
gestaltLogicalPageSize = 'pgsz'
};
# 1644 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltScreenCaptureMain = 'pic1',
gestaltScreenCaptureDir = 'pic2'
};
enum {
gestaltGXPrintingMgrVersion = 'pmgr'
};
enum {
gestaltPopupAttr = 'pop!',
gestaltPopupPresent = 0
};
enum {
gestaltPowerMgrAttr = 'powr',
gestaltPMgrExists = 0,
gestaltPMgrCPUIdle = 1,
gestaltPMgrSCC = 2,
gestaltPMgrSound = 3,
gestaltPMgrDispatchExists = 4,
gestaltPMgrSupportsAVPowerStateAtSleepWake = 5
};
enum {
gestaltPowerMgrVers = 'pwrv'
};
enum {
gestaltPPCToolboxAttr = 'ppc ',
gestaltPPCToolboxPresent = 0x0000,
gestaltPPCSupportsRealTime = 0x1000,
gestaltPPCSupportsIncoming = 0x0001,
gestaltPPCSupportsOutGoing = 0x0002,
gestaltPPCSupportsTCP_IP = 0x0004,
gestaltPPCSupportsIncomingAppleTalk = 0x0010,
gestaltPPCSupportsIncomingTCP_IP = 0x0020,
gestaltPPCSupportsOutgoingAppleTalk = 0x0100,
gestaltPPCSupportsOutgoingTCP_IP = 0x0200
};
enum {
gestaltPowerPCProcessorFeatures = 'ppcf',
gestaltPowerPCHasGraphicsInstructions = 0,
gestaltPowerPCHasSTFIWXInstruction = 1,
gestaltPowerPCHasSquareRootInstructions = 2,
gestaltPowerPCHasDCBAInstruction = 3,
gestaltPowerPCHasVectorInstructions = 4,
gestaltPowerPCHasDataStreams = 5,
gestaltPowerPCHas64BitSupport = 6,
gestaltPowerPCHasDCBTStreams = 7,
gestaltPowerPCASArchitecture = 8,
gestaltPowerPCIgnoresDCBST = 9
};
enum {
gestaltProcessorType = 'proc',
gestalt68000 = 1,
gestalt68010 = 2,
gestalt68020 = 3,
gestalt68030 = 4,
gestalt68040 = 5
};
enum {
gestaltSDPPromptVersion = 'prpv'
};
enum {
gestaltParityAttr = 'prty',
gestaltHasParityCapability = 0,
gestaltParityEnabled = 1
};
enum {
gestaltQD3DVersion = 'q3v '
};
enum {
gestaltQD3DViewer = 'q3vc',
gestaltQD3DViewerPresent = 0
};
# 1746 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltQuickdrawVersion = 'qd ',
gestaltOriginalQD = 0x0000,
gestalt8BitQD = 0x0100,
gestalt32BitQD = 0x0200,
gestalt32BitQD11 = 0x0201,
gestalt32BitQD12 = 0x0220,
gestalt32BitQD13 = 0x0230,
gestaltAllegroQD = 0x0250,
gestaltMacOSXQD = 0x0300
};
enum {
gestaltQD3D = 'qd3d',
gestaltQD3DPresent = 0
};
# 1771 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltGXVersion = 'qdgx'
};
enum {
gestaltQuickdrawFeatures = 'qdrw',
gestaltHasColor = 0,
gestaltHasDeepGWorlds = 1,
gestaltHasDirectPixMaps = 2,
gestaltHasGrayishTextOr = 3,
gestaltSupportsMirroring = 4,
gestaltQDHasLongRowBytes = 5
};
enum {
gestaltQDTextVersion = 'qdtx',
gestaltOriginalQDText = 0x0000,
gestaltAllegroQDText = 0x0100,
gestaltMacOSXQDText = 0x0200
};
enum {
gestaltQDTextFeatures = 'qdtf',
gestaltWSIISupport = 0,
gestaltSbitFontSupport = 1,
gestaltAntiAliasedTextAvailable = 2,
gestaltOFA2available = 3,
gestaltCreatesAliasFontRsrc = 4,
gestaltNativeType1FontSupport = 5,
gestaltCanUseCGTextRendering = 6
};
enum {
gestaltQuickTimeConferencingInfo = 'qtci'
};
enum {
gestaltQuickTimeVersion = 'qtim',
gestaltQuickTime = 'qtim'
};
enum {
gestaltQuickTimeFeatures = 'qtrs',
gestaltPPCQuickTimeLibPresent = 0
};
enum {
gestaltQuickTimeStreamingFeatures = 'qtsf'
};
enum {
gestaltQuickTimeStreamingVersion = 'qtst'
};
enum {
gestaltQuickTimeThreadSafeFeaturesAttr = 'qtth',
gestaltQuickTimeThreadSafeICM = 0,
gestaltQuickTimeThreadSafeMovieToolbox = 1,
gestaltQuickTimeThreadSafeMovieImport = 2,
gestaltQuickTimeThreadSafeMovieExport = 3,
gestaltQuickTimeThreadSafeGraphicsImport = 4,
gestaltQuickTimeThreadSafeGraphicsExport = 5,
gestaltQuickTimeThreadSafeMoviePlayback = 6
};
enum {
gestaltQTVRMgrAttr = 'qtvr',
gestaltQTVRMgrPresent = 0,
gestaltQTVRObjMoviesPresent = 1,
gestaltQTVRCylinderPanosPresent = 2,
gestaltQTVRCubicPanosPresent = 3
};
enum {
gestaltQTVRMgrVers = 'qtvv'
};
# 1861 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltPhysicalRAMSize = 'ram '
};
enum {
gestaltPhysicalRAMSizeInMegabytes = 'ramm'
};
enum {
gestaltRBVAddr = 'rbv '
};
enum {
gestaltROMSize = 'rom '
};
enum {
gestaltROMVersion = 'romv'
};
enum {
gestaltResourceMgrAttr = 'rsrc',
gestaltPartialRsrcs = 0,
gestaltHasResourceOverrides = 1
};
enum {
gestaltResourceMgrBugFixesAttrs = 'rmbg',
gestaltRMForceSysHeapRolledIn = 0,
gestaltRMFakeAppleMenuItemsRolledIn = 1,
gestaltSanityCheckResourceFiles = 2,
gestaltSupportsFSpResourceFileAlreadyOpenBit = 3,
gestaltRMSupportsFSCalls = 4,
gestaltRMTypeIndexOrderingReverse = 8
};
enum {
gestaltRealtimeMgrAttr = 'rtmr',
gestaltRealtimeMgrPresent = 0
};
enum {
gestaltSafeOFAttr = 'safe',
gestaltVMZerosPagesBit = 0,
gestaltInitHeapZerosOutHeapsBit = 1,
gestaltNewHandleReturnsZeroedMemoryBit = 2,
gestaltNewPtrReturnsZeroedMemoryBit = 3,
gestaltFileAllocationZeroedBlocksBit = 4
};
enum {
gestaltSCCReadAddr = 'sccr'
};
enum {
gestaltSCCWriteAddr = 'sccw'
};
enum {
gestaltScrapMgrAttr = 'scra',
gestaltScrapMgrTranslationAware = 0
};
enum {
gestaltScriptMgrVersion = 'scri'
};
enum {
gestaltScriptCount = 'scr#'
};
enum {
gestaltSCSI = 'scsi',
gestaltAsyncSCSI = 0,
gestaltAsyncSCSIINROM = 1,
gestaltSCSISlotBoot = 2,
gestaltSCSIPollSIH = 3
};
enum {
gestaltControlStripAttr = 'sdev',
gestaltControlStripExists = 0,
gestaltControlStripVersionFixed = 1,
gestaltControlStripUserFont = 2,
gestaltControlStripUserHotKey = 3
};
enum {
gestaltSDPStandardDirectoryVersion = 'sdvr'
};
enum {
gestaltSerialAttr = 'ser ',
gestaltHasGPIaToDCDa = 0,
gestaltHasGPIaToRTxCa = 1,
gestaltHasGPIbToDCDb = 2,
gestaltHidePortA = 3,
gestaltHidePortB = 4,
gestaltPortADisabled = 5,
gestaltPortBDisabled = 6
};
enum {
gestaltShutdownAttributes = 'shut',
gestaltShutdownHassdOnBootVolUnmount = 0
};
enum {
gestaltNuBusConnectors = 'sltc'
};
enum {
gestaltSlotAttr = 'slot',
gestaltSlotMgrExists = 0,
gestaltNuBusPresent = 1,
gestaltSESlotPresent = 2,
gestaltSE30SlotPresent = 3,
gestaltPortableSlotPresent = 4
};
enum {
gestaltFirstSlotNumber = 'slt1'
};
enum {
gestaltSoundAttr = 'snd ',
gestaltStereoCapability = 0,
gestaltStereoMixing = 1,
gestaltSoundIOMgrPresent = 3,
gestaltBuiltInSoundInput = 4,
gestaltHasSoundInputDevice = 5,
gestaltPlayAndRecord = 6,
gestalt16BitSoundIO = 7,
gestaltStereoInput = 8,
gestaltLineLevelInput = 9,
gestaltSndPlayDoubleBuffer = 10,
gestaltMultiChannels = 11,
gestalt16BitAudioSupport = 12
};
enum {
gestaltSplitOSAttr = 'spos',
gestaltSplitOSBootDriveIsNetworkVolume = 0,
gestaltSplitOSAware = 1,
gestaltSplitOSEnablerVolumeIsDifferentFromBootVolume = 2,
gestaltSplitOSMachineNameSetToNetworkNameTemp = 3,
gestaltSplitOSMachineNameStartupDiskIsNonPersistent = 5
};
enum {
gestaltSMPSPSendLetterVersion = 'spsl'
};
enum {
gestaltSpeechRecognitionAttr = 'srta',
gestaltDesktopSpeechRecognition = 1,
gestaltTelephoneSpeechRecognition = 2
};
enum {
gestaltSpeechRecognitionVersion = 'srtb'
};
enum {
gestaltSoftwareVendorCode = 'srad',
gestaltSoftwareVendorApple = 'Appl',
gestaltSoftwareVendorLicensee = 'Lcns'
};
enum {
gestaltStandardFileAttr = 'stdf',
gestaltStandardFile58 = 0,
gestaltStandardFileTranslationAware = 1,
gestaltStandardFileHasColorIcons = 2,
gestaltStandardFileUseGenericIcons = 3,
gestaltStandardFileHasDynamicVolumeAllocation = 4
};
enum {
gestaltSysArchitecture = 'sysa',
gestalt68k = 1,
gestaltPowerPC = 2,
gestaltIntel = 10
};
enum {
gestaltSystemUpdateVersion = 'sysu'
};
# 2080 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h" 3
enum {
gestaltSystemVersion = 'sysv',
gestaltSystemVersionMajor = 'sys1',
gestaltSystemVersionMinor = 'sys2',
gestaltSystemVersionBugFix = 'sys3'
};
enum {
gestaltToolboxTable = 'tbtt'
};
enum {
gestaltTextEditVersion = 'te ',
gestaltTE1 = 1,
gestaltTE2 = 2,
gestaltTE3 = 3,
gestaltTE4 = 4,
gestaltTE5 = 5
};
enum {
gestaltTE6 = 6
};
enum {
gestaltTEAttr = 'teat',
gestaltTEHasGetHiliteRgn = 0,
gestaltTESupportsInlineInput = 1,
gestaltTESupportsTextObjects = 2,
gestaltTEHasWhiteBackground = 3
};
enum {
gestaltTeleMgrAttr = 'tele',
gestaltTeleMgrPresent = 0,
gestaltTeleMgrPowerPCSupport = 1,
gestaltTeleMgrSoundStreams = 2,
gestaltTeleMgrAutoAnswer = 3,
gestaltTeleMgrIndHandset = 4,
gestaltTeleMgrSilenceDetect = 5,
gestaltTeleMgrNewTELNewSupport = 6
};
enum {
gestaltTermMgrAttr = 'term',
gestaltTermMgrPresent = 0,
gestaltTermMgrErrorString = 2
};
enum {
gestaltThreadMgrAttr = 'thds',
gestaltThreadMgrPresent = 0,
gestaltSpecificMatchSupport = 1,
gestaltThreadsLibraryPresent = 2
};
enum {
gestaltTimeMgrVersion = 'tmgr',
gestaltStandardTimeMgr = 1,
gestaltRevisedTimeMgr = 2,
gestaltExtendedTimeMgr = 3,
gestaltNativeTimeMgr = 4
};
enum {
gestaltTSMTEVersion = 'tmTV',
gestaltTSMTE1 = 0x0100,
gestaltTSMTE15 = 0x0150,
gestaltTSMTE152 = 0x0152
};
enum {
gestaltTSMTEAttr = 'tmTE',
gestaltTSMTEPresent = 0,
gestaltTSMTE = 0
};
enum {
gestaltAVLTreeAttr = 'tree',
gestaltAVLTreePresentBit = 0,
gestaltAVLTreeSupportsHandleBasedTreeBit = 1,
gestaltAVLTreeSupportsTreeLockingBit = 2
};
enum {
gestaltALMAttr = 'trip',
gestaltALMPresent = 0,
gestaltALMHasSFGroup = 1,
gestaltALMHasCFMSupport = 2,
gestaltALMHasRescanNotifiers = 3
};
enum {
gestaltALMHasSFLocation = gestaltALMHasSFGroup
};
enum {
gestaltTSMgrVersion = 'tsmv',
gestaltTSMgr15 = 0x0150,
gestaltTSMgr20 = 0x0200,
gestaltTSMgr22 = 0x0220,
gestaltTSMgr23 = 0x0230
};
enum {
gestaltTSMgrAttr = 'tsma',
gestaltTSMDisplayMgrAwareBit = 0,
gestaltTSMdoesTSMTEBit = 1
};
enum {
gestaltSpeechAttr = 'ttsc',
gestaltSpeechMgrPresent = 0,
gestaltSpeechHasPPCGlue = 1
};
enum {
gestaltTVAttr = 'tv ',
gestaltHasTVTuner = 0,
gestaltHasSoundFader = 1,
gestaltHasHWClosedCaptioning = 2,
gestaltHasIRRemote = 3,
gestaltHasVidDecoderScaler = 4,
gestaltHasStereoDecoder = 5,
gestaltHasSerialFader = 6,
gestaltHasFMTuner = 7,
gestaltHasSystemIRFunction = 8,
gestaltIRDisabled = 9,
gestaltINeedIRPowerOffConfirm = 10,
gestaltHasZoomedVideo = 11
};
enum {
gestaltATSUVersion = 'uisv',
gestaltOriginalATSUVersion = (1 << 16),
gestaltATSUUpdate1 = (2 << 16),
gestaltATSUUpdate2 = (3 << 16),
gestaltATSUUpdate3 = (4 << 16),
gestaltATSUUpdate4 = (5 << 16),
gestaltATSUUpdate5 = (6 << 16),
gestaltATSUUpdate6 = (7 << 16),
gestaltATSUUpdate7 = (8 << 16)
};
enum {
gestaltATSUFeatures = 'uisf',
gestaltATSUTrackingFeature = 0x00000001,
gestaltATSUMemoryFeature = 0x00000001,
gestaltATSUFallbacksFeature = 0x00000001,
gestaltATSUGlyphBoundsFeature = 0x00000001,
gestaltATSULineControlFeature = 0x00000001,
gestaltATSULayoutCreateAndCopyFeature = 0x00000001,
gestaltATSULayoutCacheClearFeature = 0x00000001,
gestaltATSUTextLocatorUsageFeature = 0x00000002,
gestaltATSULowLevelOrigFeatures = 0x00000004,
gestaltATSUFallbacksObjFeatures = 0x00000008,
gestaltATSUIgnoreLeadingFeature = 0x00000008,
gestaltATSUByCharacterClusterFeature = 0x00000010,
gestaltATSUAscentDescentControlsFeature = 0x00000010,
gestaltATSUHighlightInactiveTextFeature = 0x00000010,
gestaltATSUPositionToCursorFeature = 0x00000010,
gestaltATSUBatchBreakLinesFeature = 0x00000010,
gestaltATSUTabSupportFeature = 0x00000010,
gestaltATSUDirectAccess = 0x00000010,
gestaltATSUDecimalTabFeature = 0x00000020,
gestaltATSUBiDiCursorPositionFeature = 0x00000020,
gestaltATSUNearestCharLineBreakFeature = 0x00000020,
gestaltATSUHighlightColorControlFeature = 0x00000020,
gestaltATSUUnderlineOptionsStyleFeature = 0x00000020,
gestaltATSUStrikeThroughStyleFeature = 0x00000020,
gestaltATSUDropShadowStyleFeature = 0x00000020
};
enum {
gestaltUSBAttr = 'usb ',
gestaltUSBPresent = 0,
gestaltUSBHasIsoch = 1
};
enum {
gestaltUSBVersion = 'usbv'
};
enum {
gestaltVersion = 'vers',
gestaltValueImplementedVers = 5
};
enum {
gestaltVIA1Addr = 'via1'
};
enum {
gestaltVIA2Addr = 'via2'
};
enum {
gestaltVMAttr = 'vm ',
gestaltVMPresent = 0,
gestaltVMHasLockMemoryForOutput = 1,
gestaltVMFilemappingOn = 3,
gestaltVMHasPagingControl = 4
};
enum {
gestaltVMInfoType = 'vmin',
gestaltVMInfoSizeStorageType = 0,
gestaltVMInfoSizeType = 1,
gestaltVMInfoSimpleType = 2,
gestaltVMInfoNoneType = 3
};
enum {
gestaltVMBackingStoreFileRefNum = 'vmbs'
};
enum {
gestaltALMVers = 'walk'
};
enum {
gestaltWindowMgrAttr = 'wind',
gestaltWindowMgrPresent = (1L << 0),
gestaltWindowMgrPresentBit = 0,
gestaltExtendedWindowAttributes = 1,
gestaltExtendedWindowAttributesBit = 1,
gestaltHasFloatingWindows = 2,
gestaltHasFloatingWindowsBit = 2,
gestaltHasWindowBuffering = 3,
gestaltHasWindowBufferingBit = 3,
gestaltWindowLiveResizeBit = 4,
gestaltWindowMinimizeToDockBit = 5,
gestaltHasWindowShadowsBit = 6,
gestaltSheetsAreWindowModalBit = 7,
gestaltFrontWindowMayBeHiddenBit = 8,
gestaltWindowMgrPresentMask = (1L << gestaltWindowMgrPresentBit),
gestaltExtendedWindowAttributesMask = (1L << gestaltExtendedWindowAttributesBit),
gestaltHasFloatingWindowsMask = (1L << gestaltHasFloatingWindowsBit),
gestaltHasWindowBufferingMask = (1L << gestaltHasWindowBufferingBit),
gestaltWindowLiveResizeMask = (1L << gestaltWindowLiveResizeBit),
gestaltWindowMinimizeToDockMask = (1L << gestaltWindowMinimizeToDockBit),
gestaltHasWindowShadowsMask = (1L << gestaltHasWindowShadowsBit),
gestaltSheetsAreWindowModalMask = (1L << gestaltSheetsAreWindowModalBit),
gestaltFrontWindowMayBeHiddenMask = (1L << gestaltFrontWindowMayBeHiddenBit)
};
enum {
gestaltHasSingleWindowModeBit = 8,
gestaltHasSingleWindowModeMask = (1L << gestaltHasSingleWindowModeBit)
};
enum {
gestaltX86Features = 'x86f',
gestaltX86HasFPU = 0,
gestaltX86HasVME = 1,
gestaltX86HasDE = 2,
gestaltX86HasPSE = 3,
gestaltX86HasTSC = 4,
gestaltX86HasMSR = 5,
gestaltX86HasPAE = 6,
gestaltX86HasMCE = 7,
gestaltX86HasCX8 = 8,
gestaltX86HasAPIC = 9,
gestaltX86HasSEP = 11,
gestaltX86HasMTRR = 12,
gestaltX86HasPGE = 13,
gestaltX86HasMCA = 14,
gestaltX86HasCMOV = 15,
gestaltX86HasPAT = 16,
gestaltX86HasPSE36 = 17,
gestaltX86HasPSN = 18,
gestaltX86HasCLFSH = 19,
gestaltX86Serviced20 = 20,
gestaltX86HasDS = 21,
gestaltX86ResACPI = 22,
gestaltX86HasMMX = 23,
gestaltX86HasFXSR = 24,
gestaltX86HasSSE = 25,
gestaltX86HasSSE2 = 26,
gestaltX86HasSS = 27,
gestaltX86HasHTT = 28,
gestaltX86HasTM = 29
};
enum {
gestaltX86AdditionalFeatures = 'x86a',
gestaltX86HasSSE3 = 0,
gestaltX86HasMONITOR = 3,
gestaltX86HasDSCPL = 4,
gestaltX86HasVMX = 5,
gestaltX86HasSMX = 6,
gestaltX86HasEST = 7,
gestaltX86HasTM2 = 8,
gestaltX86HasSupplementalSSE3 = 9,
gestaltX86HasCID = 10,
gestaltX86HasCX16 = 13,
gestaltX86HasxTPR = 14
};
enum {
gestaltTranslationAttr = 'xlat',
gestaltTranslationMgrExists = 0,
gestaltTranslationMgrHintOrder = 1,
gestaltTranslationPPCAvail = 2,
gestaltTranslationGetPathAPIAvail = 3
};
enum {
gestaltExtToolboxTable = 'xttt'
};
enum {
gestaltUSBPrinterSharingVersion = 'zak ',
gestaltUSBPrinterSharingVersionMask = 0x0000FFFF,
gestaltUSBPrinterSharingAttr = 'zak ',
gestaltUSBPrinterSharingAttrMask = (long)0xFFFF0000,
gestaltUSBPrinterSharingAttrRunning = (long)0x80000000,
gestaltUSBPrinterSharingAttrBooted = 0x40000000
};
enum {
gestaltWorldScriptIIVersion = 'doub',
gestaltWorldScriptIIAttr = 'wsat',
gestaltWSIICanPrintWithoutPrGeneralBit = 0
};
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
#define __MACMEMORY__
# 40 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
#pragma pack(push, 2)
enum {
maxSize = 0x7FFFFFF0
};
#define __MAC_OS_X_MEMORY_MANAGER_CLEAN__ 0
enum {
defaultPhysicalEntryCount = 8
};
enum {
kPageInMemory = 0,
kPageOnDisk = 1,
kNotPaged = 2
};
enum {
k32BitHeap = 1,
kNewStyleHeap = 2,
kNewDebugHeap = 4
};
enum {
kHandleIsResourceBit = 5,
kHandlePurgeableBit = 6,
kHandleLockedBit = 7
};
enum {
kHandleIsResourceMask = 0x20,
kHandlePurgeableMask = 0x40,
kHandleLockedMask = 0x80
};
# 326 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
MemError(void) ;
# 377 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern SInt16
LMGetMemErr(void) ;
# 404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
LMSetMemErr(SInt16 value) ;
# 447 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
NewHandle(Size byteCount) ;
# 489 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
NewHandleClear(Size byteCount) ;
# 528 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
RecoverHandle(Ptr p) ;
# 564 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Ptr
NewPtr(Size byteCount) ;
# 601 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Ptr
NewPtrClear(Size byteCount) ;
# 672 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
NewEmptyHandle(void) ;
# 721 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HLock(Handle h) ;
# 754 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HLockHi(Handle h) ;
# 787 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HUnlock(Handle h) ;
# 911 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Handle
TempNewHandle(
Size logicalSize,
OSErr * resultCode) ;
# 1184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
DisposePtr(Ptr p) ;
# 1217 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Size
GetPtrSize(Ptr p) ;
# 1232 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
SetPtrSize(
Ptr p,
Size newSize) ;
# 1274 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
DisposeHandle(Handle h) ;
# 1317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
SetHandleSize(
Handle h,
Size newSize) ;
# 1352 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Size
GetHandleSize(Handle h) ;
# 1394 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
ReallocateHandle(
Handle h,
Size byteCount) ;
# 1442 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
EmptyHandle(Handle h) ;
# 1460 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HSetRBit(Handle h) ;
# 1478 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HClrRBit(Handle h) ;
# 1534 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern SInt8
HGetState(Handle h) ;
# 1565 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern void
HSetState(
Handle h,
SInt8 flags) ;
# 1690 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
HandToHand(Handle * theHndl) ;
# 1725 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
PtrToXHand(
const void * srcPtr,
Handle dstHndl,
long size) ;
# 1768 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
PtrToHand(
const void * srcPtr,
Handle * dstHndl,
long size) ;
# 1823 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
HandAndHand(
Handle hand1,
Handle hand2) ;
# 1865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern OSErr
PtrAndHand(
const void * ptr1,
Handle hand2,
long size) ;
# 2332 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Boolean
IsHeapValid(void) ;
# 2348 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Boolean
IsHandleValid(Handle h) ;
# 2364 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
extern Boolean
IsPointerValid(Ptr p) ;
# 2524 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h" 3
#pragma pack(pop)
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
#define __MATH64__
# 51 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Max(void);
#define S64Max() (9223372036854775807LL)
# 73 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Min(void);
#define S64Min() (-S64Max() - 1)
# 98 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Add(
SInt64 left,
SInt64 right);
#define S64Add(left,right) ((SInt64)(left) + (SInt64)(right))
# 125 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Subtract(
SInt64 left,
SInt64 right);
#define S64Subtract(left,right) ((SInt64)(left) - (SInt64)(right))
# 152 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Negate(SInt64 value);
#define S64Negate(value) (-(SInt64)(value))
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Multiply(
SInt64 left,
SInt64 right);
#define S64Multiply(left,right) ((SInt64)(left) * (SInt64)(right))
# 232 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Mod(
SInt64 dividend,
SInt64 divisor);
#define S64Mod(dividend,divisor) ((SInt64)(dividend) % (SInt64)(divisor))
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Divide(
SInt64 dividend,
SInt64 divisor,
SInt64 * remainder);
#define S64Divide(dividend,divisor,remainder) (( (void)((remainder) && (*((SInt64*)(remainder)) = ((SInt64)(dividend) % (SInt64)(divisor)))), ((SInt64)(dividend) / (SInt64)(divisor)) ))
# 289 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Div(
SInt64 dividend,
SInt64 divisor);
#define S64Div(dividend,divisor) (S64Divide((dividend), (divisor), NULL))
# 316 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64Set(SInt32 value);
#define S64Set(value) ((SInt64)(value))
# 339 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64SetU(UInt32 value);
#define S64SetU(value) ((SInt64)(value))
# 362 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt32
S32Set(SInt64 value);
#define S32Set(value) ((SInt32)(value))
# 385 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
S64And(
SInt64 left,
SInt64 right);
#define S64And(left,right) ((SInt64)(left) && (SInt64)(right))
# 410 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
S64Or(
SInt64 left,
SInt64 right);
#define S64Or(left,right) ((SInt64)(left) || (SInt64)(right))
# 435 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
S64Eor(
SInt64 left,
SInt64 right);
#define S64Eor(left,right) ((Boolean)(((SInt64)(left) ? 1 : 0) ^ ((SInt64)(right) ? 1 : 0)))
# 460 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
S64Not(SInt64 value);
#define S64Not(value) (!((SInt64)(value)))
# 492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt32
S64Compare(
SInt64 left,
SInt64 right) ;
# 510 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64BitwiseAnd(
SInt64 left,
SInt64 right);
#define S64BitwiseAnd(left,right) ((SInt64)(left) & (SInt64)(right))
# 535 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64BitwiseOr(
SInt64 left,
SInt64 right);
#define S64BitwiseOr(left,right) ((SInt64)(left) | (SInt64)(right))
# 560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64BitwiseEor(
SInt64 left,
SInt64 right);
#define S64BitwiseEor(left,right) ((SInt64)(left) ^ (SInt64)(right))
# 585 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64BitwiseNot(SInt64 value);
#define S64BitwiseNot(value) (~((SInt64)(value)))
# 608 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64ShiftRight(
SInt64 value,
UInt32 shift);
#define S64ShiftRight(value,shift) ((SInt64)(value) >> ((shift) & 0x7F))
# 633 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
S64ShiftLeft(
SInt64 value,
UInt32 shift);
#define S64ShiftLeft(value,shift) ((SInt64)(value) << ((shift) & 0x7F))
# 664 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern long double
SInt64ToLongDouble(SInt64 value);
#define SInt64ToLongDouble(value) ((long double)(value))
# 691 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
LongDoubleToSInt64(long double value);
#define LongDoubleToSInt64(value) ((SInt64)(value))
# 716 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Max(void);
#define U64Max() (0xffffffffffffffffULL)
# 740 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Add(
UInt64 left,
UInt64 right);
#define U64Add(left,right) ((UInt64)(left) + (UInt64)(right))
# 766 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Subtract(
UInt64 left,
UInt64 right);
#define U64Subtract(left,right) ((UInt64)(left) - (UInt64)(right))
# 794 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Multiply(
UInt64 left,
UInt64 right);
#define U64Multiply(left,right) ((UInt64)(left) * (UInt64)(right))
# 820 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Mod(
UInt64 dividend,
UInt64 divisor);
#define U64Mod(dividend,divisor) ((UInt64)(dividend) % (UInt64)(divisor))
# 852 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Divide(
UInt64 dividend,
UInt64 divisor,
UInt64 * remainder);
#define U64Divide(dividend,divisor,remainder) (( (void)((remainder) && (*((UInt64*)(remainder)) = ((UInt64)(dividend) % (UInt64)(divisor)))), ((UInt64)(dividend) / (UInt64)(divisor)) ))
# 878 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Div(
UInt64 dividend,
UInt64 divisor);
#define U64Div(dividend,divisor) (U64Divide((dividend), (divisor), NULL))
# 905 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64Set(SInt32 value);
#define U64Set(value) ((UInt64)(value))
# 928 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64SetU(UInt32 value);
#define U64SetU(value) ((UInt64)(value))
# 951 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt32
U32SetU(UInt64 value);
#define U32SetU(value) ((UInt32)(value))
# 974 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
U64And(
UInt64 left,
UInt64 right);
#define U64And(left,right) ((UInt64)(left) && (UInt64)(right))
# 999 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
U64Or(
UInt64 left,
UInt64 right);
#define U64Or(left,right) ((UInt64)(left) || (UInt64)(right))
# 1024 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
U64Eor(
UInt64 left,
UInt64 right);
#define U64Eor(left,right) ((Boolean)(((UInt64)(left) ? 1 : 0) ^ ((UInt64)(right) ? 1 : 0)))
# 1049 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern Boolean
U64Not(UInt64 value);
#define U64Not(value) (!((UInt64)(value)))
# 1081 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt32
U64Compare(
UInt64 left,
UInt64 right) ;
# 1098 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64BitwiseAnd(
UInt64 left,
UInt64 right);
#define U64BitwiseAnd(left,right) ((UInt64)(left) & (UInt64)(right))
# 1123 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64BitwiseOr(
UInt64 left,
UInt64 right);
#define U64BitwiseOr(left,right) ((UInt64)(left) | (UInt64)(right))
# 1148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64BitwiseEor(
UInt64 left,
UInt64 right);
#define U64BitwiseEor(left,right) ((UInt64)(left) ^ (UInt64)(right))
# 1173 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64BitwiseNot(UInt64 value);
#define U64BitwiseNot(value) (~((UInt64)(value)))
# 1196 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64ShiftRight(
UInt64 value,
UInt32 shift);
#define U64ShiftRight(value,shift) ((UInt64)(value) >> ((shift) & 0x7F))
# 1221 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
U64ShiftLeft(
UInt64 value,
UInt32 shift);
#define U64ShiftLeft(value,shift) ((UInt64)(value) << ((shift) & 0x7F))
# 1248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern long double
UInt64ToLongDouble(UInt64 value);
#define UInt64ToLongDouble(value) ((long double)(value))
# 1271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
LongDoubleToUInt64(long double value);
#define LongDoubleToUInt64(value) ((UInt64)(value))
# 1296 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern SInt64
UInt64ToSInt64(UInt64 value);
#define UInt64ToSInt64(value) ((SInt64)(value))
# 1319 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
extern UInt64
SInt64ToUInt64(SInt64 value);
#define SInt64ToUInt64(value) ((UInt64)(value))
# 1371 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Math64.h" 3
static __inline wide SInt64ToWide ( SInt64 s ) { wide result; result.hi = ( s >> 32 ); result.lo = ( s & 0xffffffffUL ); return result; }
static __inline SInt64 WideToSInt64 ( wide w ) { SInt64 result = w.hi; result = ( result << 32 ) | ( w.lo ); return result; }
static __inline UnsignedWide UInt64ToUnsignedWide ( UInt64 u ) { UnsignedWide result; result.hi = ( u >> 32 ); result.lo = ( u & 0xffffffffUL ); return result; }
static __inline UInt64 UnsignedWideToUInt64 ( UnsignedWide uw ) { UInt64 result = uw.hi ; result = ( result << 32 ) | ( uw.lo ); return result; }
# 70 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 81 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/BackupCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/BackupCore.h" 3
#define __BACKUPCORE__
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/BackupCore.h" 3
extern OSStatus
CSBackupSetItemExcluded(
CFURLRef item,
Boolean exclude,
Boolean excludeByPath) ;
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/BackupCore.h" 3
extern Boolean
CSBackupIsItemExcluded(
CFURLRef item,
Boolean * excludeByPath) ;
# 82 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
#define __COMPONENTS__
# 32 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
#define __FILES__
# 28 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
#define __OSUTILS__
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
#define __DATETIMEUTILS__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
#pragma pack(push, 2)
# 79 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
typedef SInt16 ToggleResults;
enum {
toggleUndefined = 0,
toggleOK = 1,
toggleBadField = 2,
toggleBadDelta = 3,
toggleBadChar = 4,
toggleUnknown = 5,
toggleBadNum = 6,
toggleOutOfRange = 7,
toggleErr3 = 7,
toggleErr4 = 8,
toggleErr5 = 9
};
enum {
smallDateBit = 31,
togChar12HourBit = 30,
togCharZCycleBit = 29,
togDelta12HourBit = 28,
genCdevRangeBit = 27,
validDateFields = -1,
maxDateField = 10
};
enum {
eraMask = 0x0001,
yearMask = 0x0002,
monthMask = 0x0004,
dayMask = 0x0008,
hourMask = 0x0010,
minuteMask = 0x0020,
secondMask = 0x0040,
dayOfWeekMask = 0x0080,
dayOfYearMask = 0x0100,
weekOfYearMask = 0x0200,
pmMask = 0x0400,
dateStdMask = 0x007F
};
typedef SInt8 LongDateField;
enum {
eraField = 0,
yearField = 1,
monthField = 2,
dayField = 3,
hourField = 4,
minuteField = 5,
secondField = 6,
dayOfWeekField = 7,
dayOfYearField = 8,
weekOfYearField = 9,
pmField = 10,
res1Field = 11,
res2Field = 12,
res3Field = 13
};
typedef SInt8 DateForm;
enum {
shortDate = 0,
longDate = 1,
abbrevDate = 2
};
enum {
fatalDateTime = 0x8000,
longDateFound = 1,
leftOverChars = 2,
sepNotIntlSep = 4,
fieldOrderNotIntl = 8,
extraneousStrings = 16,
tooManySeps = 32,
sepNotConsistent = 64,
tokenErr = 0x8100,
cantReadUtilities = 0x8200,
dateTimeNotFound = 0x8400,
dateTimeInvalid = 0x8800
};
typedef short StringToDateStatus;
typedef StringToDateStatus String2DateStatus;
struct DateCacheRecord {
short hidden[256];
};
typedef struct DateCacheRecord DateCacheRecord;
typedef DateCacheRecord * DateCachePtr;
struct DateTimeRec {
short year;
short month;
short day;
short hour;
short minute;
short second;
short dayOfWeek;
};
typedef struct DateTimeRec DateTimeRec;
typedef SInt64 LongDateTime;
# 191 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
union LongDateCvt {
SInt64 c;
struct {
UInt32 lLow;
UInt32 lHigh;
} hl;
};
typedef union LongDateCvt LongDateCvt;
union LongDateRec {
struct {
short era;
short year;
short month;
short day;
short hour;
short minute;
short second;
short dayOfWeek;
short dayOfYear;
short weekOfYear;
short pm;
short res1;
short res2;
short res3;
} ld;
short list[14];
struct {
short eraAlt;
DateTimeRec oldDate;
} od;
};
typedef union LongDateRec LongDateRec;
typedef SInt8 DateDelta;
struct TogglePB {
long togFlags;
ResType amChars;
ResType pmChars;
long reserved[4];
};
typedef struct TogglePB TogglePB;
# 264 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertUTCDateTimeToCFAbsoluteTime(
const UTCDateTime * iUTCDate,
CFAbsoluteTime * oCFTime) ;
# 297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertSecondsToCFAbsoluteTime(
UInt32 iSeconds,
CFAbsoluteTime * oCFTime) ;
# 330 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertLongDateTimeToCFAbsoluteTime(
LongDateTime iLongTime,
CFAbsoluteTime * oCFTime) ;
# 363 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertCFAbsoluteTimeToUTCDateTime(
CFAbsoluteTime iCFTime,
UTCDateTime * oUTCDate) ;
# 396 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertCFAbsoluteTimeToSeconds(
CFAbsoluteTime iCFTime,
UInt32 * oSeconds) ;
# 429 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
extern OSStatus
UCConvertCFAbsoluteTimeToLongDateTime(
CFAbsoluteTime iCFTime,
LongDateTime * oLongDate) ;
# 987 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h" 3
#pragma pack(pop)
# 35 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 2 3
# 52 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
#pragma pack(push, 2)
enum {
sortsBefore = -1,
sortsEqual = 0,
sortsAfter = 1
};
enum {
dummyType = 0,
vType = 1,
ioQType = 2,
drvQType = 3,
evType = 4,
fsQType = 5,
sIQType = 6,
dtQType = 7,
nmType = 8
};
typedef SignedByte QTypes;
struct QElem {
struct QElem * qLink;
short qType;
short qData[1];
};
typedef struct QElem QElem;
typedef QElem * QElemPtr;
struct QHdr {
volatile short qFlags;
volatile QElemPtr qHead;
volatile QElemPtr qTail;
};
typedef struct QHdr QHdr;
typedef QHdr * QHdrPtr;
# 117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
struct MachineLocation {
Fract latitude;
Fract longitude;
union {
long gmtDelta;
struct {
SInt8 pad[3];
SInt8 Delta;
} dls;
} u;
};
typedef struct MachineLocation MachineLocation;
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern Boolean
IsMetric(void) ;
# 198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
Delay(
unsigned long numTicks,
unsigned long * finalTicks) ;
# 233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
Enqueue(
QElemPtr qElement,
QHdrPtr qHeader) ;
# 267 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern OSErr
Dequeue(
QElemPtr qElement,
QHdrPtr qHeader) ;
# 359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
ReadLocation(MachineLocation * loc) ;
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern UInt32
TickCount(void) ;
# 423 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern CFStringRef
CSCopyUserName(Boolean useShortName) ;
# 446 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern CFStringRef
CSCopyMachineName(void) ;
enum {
useFree = 0,
useATalk = 1,
useAsync = 2,
useExtClk = 3,
useMIDI = 4
};
enum {
false32b = 0,
true32b = 1
};
# 480 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
typedef void * SysPPtr;
#define GetMMUMode() ((SInt8)true32b)
#define SwapMMUMode(x) (*(SInt8*)(x) = true32b)
# 512 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
typedef void ( * DeferredTaskProcPtr)(long dtParam);
typedef DeferredTaskProcPtr DeferredTaskUPP;
# 522 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern DeferredTaskUPP
NewDeferredTaskUPP(DeferredTaskProcPtr userRoutine) ;
# 533 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
DisposeDeferredTaskUPP(DeferredTaskUPP userUPP) ;
# 544 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
extern void
InvokeDeferredTaskUPP(
long dtParam,
DeferredTaskUPP userUPP) ;
#define NewDeferredTaskUPP(userRoutine) ((DeferredTaskUPP)userRoutine)
#define DisposeDeferredTaskUPP(userUPP)
#define InvokeDeferredTaskUPP(dtParam,userUPP) (*userUPP)(dtParam)
struct DeferredTask {
volatile QElemPtr qLink;
short qType;
volatile short dtFlags;
DeferredTaskUPP dtAddr;
long dtParam;
long dtReserved;
};
typedef struct DeferredTask DeferredTask;
typedef DeferredTask * DeferredTaskPtr;
# 785 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h" 3
#pragma pack(pop)
# 29 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 2 3
# 60 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
# 1 "/usr/include/sys/fcntl.h" 1 3 4
# 71 "/usr/include/sys/fcntl.h" 3 4
#define _SYS_FCNTL_H_
# 110 "/usr/include/sys/fcntl.h" 3 4
#define O_RDONLY 0x0000
#define O_WRONLY 0x0001
#define O_RDWR 0x0002
#define O_ACCMODE 0x0003
# 124 "/usr/include/sys/fcntl.h" 3 4
#define FREAD 0x0001
#define FWRITE 0x0002
#define O_NONBLOCK 0x0004
#define O_APPEND 0x0008
#define O_SYNC 0x0080
#define O_SHLOCK 0x0010
#define O_EXLOCK 0x0020
#define O_ASYNC 0x0040
#define O_FSYNC O_SYNC
#define O_NOFOLLOW 0x0100
#define O_CREAT 0x0200
#define O_TRUNC 0x0400
#define O_EXCL 0x0800
#define O_EVTONLY 0x8000
#define O_NOCTTY 0x20000
#define O_DIRECTORY 0x100000
#define O_SYMLINK 0x200000
# 162 "/usr/include/sys/fcntl.h" 3 4
#define FAPPEND O_APPEND
#define FASYNC O_ASYNC
#define FFSYNC O_FSYNC
#define FNONBLOCK O_NONBLOCK
#define FNDELAY O_NONBLOCK
#define O_NDELAY O_NONBLOCK
#define CPF_OVERWRITE 1
#define CPF_IGNORE_MODE 2
#define CPF_MASK (CPF_OVERWRITE|CPF_IGNORE_MODE)
#define F_DUPFD 0
#define F_GETFD 1
#define F_SETFD 2
#define F_GETFL 3
#define F_SETFL 4
#define F_GETOWN 5
#define F_SETOWN 6
#define F_GETLK 7
#define F_SETLK 8
#define F_SETLKW 9
#define F_CHKCLEAN 41
#define F_PREALLOCATE 42
#define F_SETSIZE 43
#define F_RDADVISE 44
#define F_RDAHEAD 45
#define F_READBOOTSTRAP 46
#define F_WRITEBOOTSTRAP 47
#define F_NOCACHE 48
#define F_LOG2PHYS 49
#define F_GETPATH 50
#define F_FULLFSYNC 51
#define F_PATHPKG_CHECK 52
#define F_FREEZE_FS 53
#define F_THAW_FS 54
#define F_GLOBAL_NOCACHE 55
#define F_ADDSIGS 59
#define F_MARKDEPENDENCY 60
#define FCNTL_FS_SPECIFIC_BASE 0x00010000
#define FD_CLOEXEC 1
#define F_RDLCK 1
#define F_UNLCK 2
#define F_WRLCK 3
# 246 "/usr/include/sys/fcntl.h" 3 4
#define S_IFMT 0170000
#define S_IFIFO 0010000
#define S_IFCHR 0020000
#define S_IFDIR 0040000
#define S_IFBLK 0060000
#define S_IFREG 0100000
#define S_IFLNK 0120000
#define S_IFSOCK 0140000
#define S_IFWHT 0160000
#define S_IFXATTR 0200000
#define S_IRWXU 0000700
#define S_IRUSR 0000400
#define S_IWUSR 0000200
#define S_IXUSR 0000100
#define S_IRWXG 0000070
#define S_IRGRP 0000040
#define S_IWGRP 0000020
#define S_IXGRP 0000010
#define S_IRWXO 0000007
#define S_IROTH 0000004
#define S_IWOTH 0000002
#define S_IXOTH 0000001
#define S_ISUID 0004000
#define S_ISGID 0002000
#define S_ISVTX 0001000
#define S_ISTXT S_ISVTX
#define S_IREAD S_IRUSR
#define S_IWRITE S_IWUSR
#define S_IEXEC S_IXUSR
#define F_ALLOCATECONTIG 0x00000002
#define F_ALLOCATEALL 0x00000004
#define F_PEOFPOSMODE 3
#define F_VOLPOSMODE 4
struct flock {
off_t l_start;
off_t l_len;
pid_t l_pid;
short l_type;
short l_whence;
};
struct radvisory {
off_t ra_offset;
int ra_count;
};
typedef struct fsignatures {
off_t fs_file_start;
void *fs_blob_start;
size_t fs_blob_size;
} fsignatures_t;
#define LOCK_SH 0x01
#define LOCK_EX 0x02
#define LOCK_NB 0x04
#define LOCK_UN 0x08
typedef struct fstore {
unsigned int fst_flags;
int fst_posmode;
off_t fst_offset;
off_t fst_length;
off_t fst_bytesalloc;
} fstore_t;
typedef struct fbootstraptransfer {
off_t fbt_offset;
size_t fbt_length;
void *fbt_buffer;
} fbootstraptransfer_t;
# 377 "/usr/include/sys/fcntl.h" 3 4
#pragma pack(4)
struct log2phys {
unsigned int l2p_flags;
off_t l2p_contigbytes;
off_t l2p_devoffset;
};
#pragma pack()
#define O_POPUP 0x80000000
#define O_ALERT 0x20000000
struct _filesec;
typedef struct _filesec *filesec_t;
#define _FILESEC_T
typedef enum {
FILESEC_OWNER = 1,
FILESEC_GROUP = 2,
FILESEC_UUID = 3,
FILESEC_MODE = 4,
FILESEC_ACL = 5,
FILESEC_GRPUUID = 6,
FILESEC_ACL_RAW = 100,
FILESEC_ACL_ALLOCSIZE = 101
} filesec_property_t;
#define FILESEC_GUID FILESEC_UUID
int open(const char *, int, ...) __asm("_" "open" );
int creat(const char *, mode_t) __asm("_" "creat" );
int fcntl(int, int, ...) __asm("_" "fcntl" );
int openx_np(const char *, int, filesec_t);
int flock(int, int);
filesec_t filesec_init(void);
filesec_t filesec_dup(filesec_t);
void filesec_free(filesec_t);
int filesec_get_property(filesec_t, filesec_property_t, void *);
int filesec_set_property(filesec_t, filesec_property_t, const void *);
int filesec_query_property(filesec_t, filesec_property_t, int *);
#define _FILESEC_UNSET_PROPERTY ((void *)0)
#define _FILESEC_REMOVE_ACL ((void *)1)
# 61 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 2 3
# 1 "/usr/include/sys/acl.h" 1 3 4
# 24 "/usr/include/sys/acl.h" 3 4
#define _SYS_ACL_H
# 1 "/usr/include/sys/kauth.h" 1 3 4
# 36 "/usr/include/sys/kauth.h" 3 4
#define _SYS_KAUTH_H
# 48 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_UID_NONE (~(uid_t)0 - 100)
#define KAUTH_GID_NONE (~(gid_t)0 - 100)
#define _KAUTH_GUID
typedef struct {
#define KAUTH_GUID_SIZE 16
unsigned char g_guid[16];
} guid_t;
#define _GUID_T
#pragma pack(1)
typedef struct {
u_int8_t sid_kind;
u_int8_t sid_authcount;
u_int8_t sid_authority[6];
#define KAUTH_NTSID_MAX_AUTHORITIES 16
u_int32_t sid_authorities[16];
} ntsid_t;
#pragma pack()
#define _NTSID_T
#define KAUTH_NTSID_HDRSIZE (8)
#define KAUTH_NTSID_SIZE(_s) (KAUTH_NTSID_HDRSIZE + ((_s)->sid_authcount * sizeof(u_int32_t)))
# 84 "/usr/include/sys/kauth.h" 3 4
struct kauth_identity_extlookup {
u_int32_t el_seqno;
u_int32_t el_result;
#define KAUTH_EXTLOOKUP_SUCCESS 0
#define KAUTH_EXTLOOKUP_BADRQ 1
#define KAUTH_EXTLOOKUP_FAILURE 2
#define KAUTH_EXTLOOKUP_FATAL 3
#define KAUTH_EXTLOOKUP_INPROG 100
u_int32_t el_flags;
#define KAUTH_EXTLOOKUP_VALID_UID (1<<0)
#define KAUTH_EXTLOOKUP_VALID_UGUID (1<<1)
#define KAUTH_EXTLOOKUP_VALID_USID (1<<2)
#define KAUTH_EXTLOOKUP_VALID_GID (1<<3)
#define KAUTH_EXTLOOKUP_VALID_GGUID (1<<4)
#define KAUTH_EXTLOOKUP_VALID_GSID (1<<5)
#define KAUTH_EXTLOOKUP_WANT_UID (1<<6)
#define KAUTH_EXTLOOKUP_WANT_UGUID (1<<7)
#define KAUTH_EXTLOOKUP_WANT_USID (1<<8)
#define KAUTH_EXTLOOKUP_WANT_GID (1<<9)
#define KAUTH_EXTLOOKUP_WANT_GGUID (1<<10)
#define KAUTH_EXTLOOKUP_WANT_GSID (1<<11)
#define KAUTH_EXTLOOKUP_WANT_MEMBERSHIP (1<<12)
#define KAUTH_EXTLOOKUP_VALID_MEMBERSHIP (1<<13)
#define KAUTH_EXTLOOKUP_ISMEMBER (1<<14)
uid_t el_uid;
guid_t el_uguid;
u_int32_t el_uguid_valid;
ntsid_t el_usid;
u_int32_t el_usid_valid;
gid_t el_gid;
guid_t el_gguid;
u_int32_t el_gguid_valid;
ntsid_t el_gsid;
u_int32_t el_gsid_valid;
u_int32_t el_member_valid;
};
#define KAUTH_EXTLOOKUP_REGISTER (0)
#define KAUTH_EXTLOOKUP_RESULT (1<<0)
#define KAUTH_EXTLOOKUP_WORKER (1<<1)
# 132 "/usr/include/sys/kauth.h" 3 4
typedef u_int32_t kauth_ace_rights_t;
struct kauth_ace {
guid_t ace_applicable;
u_int32_t ace_flags;
#define KAUTH_ACE_KINDMASK 0xf
#define KAUTH_ACE_PERMIT 1
#define KAUTH_ACE_DENY 2
#define KAUTH_ACE_AUDIT 3
#define KAUTH_ACE_ALARM 4
#define KAUTH_ACE_INHERITED (1<<4)
#define KAUTH_ACE_FILE_INHERIT (1<<5)
#define KAUTH_ACE_DIRECTORY_INHERIT (1<<6)
#define KAUTH_ACE_LIMIT_INHERIT (1<<7)
#define KAUTH_ACE_ONLY_INHERIT (1<<8)
#define KAUTH_ACE_SUCCESS (1<<9)
#define KAUTH_ACE_FAILURE (1<<10)
#define KAUTH_ACE_INHERIT_CONTROL_FLAGS (KAUTH_ACE_FILE_INHERIT | KAUTH_ACE_DIRECTORY_INHERIT | KAUTH_ACE_LIMIT_INHERIT | KAUTH_ACE_ONLY_INHERIT)
kauth_ace_rights_t ace_rights;
#define KAUTH_ACE_GENERIC_ALL (1<<21)
#define KAUTH_ACE_GENERIC_EXECUTE (1<<22)
#define KAUTH_ACE_GENERIC_WRITE (1<<23)
#define KAUTH_ACE_GENERIC_READ (1<<24)
};
#define _KAUTH_ACE
typedef struct kauth_ace *kauth_ace_t;
struct kauth_acl {
u_int32_t acl_entrycount;
u_int32_t acl_flags;
struct kauth_ace acl_ace[];
};
#define KAUTH_ACL_MAX_ENTRIES 128
#define KAUTH_ACL_FLAGS_PRIVATE (0xffff)
#define KAUTH_ACL_DEFER_INHERIT (1<<16)
#define KAUTH_ACL_NO_INHERIT (1<<17)
#define KAUTH_FILESEC_NOACL ((u_int32_t)(-1))
# 211 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_ACL_SIZE(c) (sizeof(struct kauth_acl) + ((u_int32_t)(c) != KAUTH_FILESEC_NOACL ? ((c) * sizeof(struct kauth_ace)) : 0))
#define KAUTH_ACL_COPYSIZE(p) KAUTH_ACL_SIZE((p)->acl_entrycount)
#define _KAUTH_ACL
typedef struct kauth_acl *kauth_acl_t;
# 227 "/usr/include/sys/kauth.h" 3 4
struct kauth_filesec {
u_int32_t fsec_magic;
#define KAUTH_FILESEC_MAGIC 0x012cc16d
guid_t fsec_owner;
guid_t fsec_group;
struct kauth_acl fsec_acl;
};
#define fsec_entrycount fsec_acl.acl_entrycount
#define fsec_flags fsec_acl.acl_flags
#define fsec_ace fsec_acl.acl_ace
#define KAUTH_FILESEC_FLAGS_PRIVATE KAUTH_ACL_FLAGS_PRIVATE
#define KAUTH_FILESEC_DEFER_INHERIT KAUTH_ACL_DEFER_INHERIT
#define KAUTH_FILESEC_NO_INHERIT KAUTH_ACL_NO_INHERIT
#define KAUTH_FILESEC_NONE ((kauth_filesec_t)0)
#define KAUTH_FILESEC_WANTED ((kauth_filesec_t)1)
#define _KAUTH_FILESEC
typedef struct kauth_filesec *kauth_filesec_t;
#define KAUTH_FILESEC_SIZE(c) (sizeof(struct kauth_filesec) + (c) * sizeof(struct kauth_ace))
#define KAUTH_FILESEC_COPYSIZE(p) KAUTH_FILESEC_SIZE(((p)->fsec_entrycount == KAUTH_FILESEC_NOACL) ? 0 : (p)->fsec_entrycount)
#define KAUTH_FILESEC_COUNT(s) ((s - sizeof(struct kauth_filesec)) / sizeof(struct kauth_ace))
#define KAUTH_FILESEC_VALID(s) ((s) >= sizeof(struct kauth_filesec) && (((s) - sizeof(struct kauth_filesec)) % sizeof(struct kauth_ace)) == 0)
#define KAUTH_FILESEC_XATTR "com.apple.system.Security"
#define KAUTH_ENDIAN_HOST 0x00000001
#define KAUTH_ENDIAN_DISK 0x00000002
# 269 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_VNODE_READ_DATA (1<<1)
#define KAUTH_VNODE_LIST_DIRECTORY KAUTH_VNODE_READ_DATA
#define KAUTH_VNODE_WRITE_DATA (1<<2)
#define KAUTH_VNODE_ADD_FILE KAUTH_VNODE_WRITE_DATA
#define KAUTH_VNODE_EXECUTE (1<<3)
#define KAUTH_VNODE_SEARCH KAUTH_VNODE_EXECUTE
#define KAUTH_VNODE_DELETE (1<<4)
#define KAUTH_VNODE_APPEND_DATA (1<<5)
#define KAUTH_VNODE_ADD_SUBDIRECTORY KAUTH_VNODE_APPEND_DATA
#define KAUTH_VNODE_DELETE_CHILD (1<<6)
#define KAUTH_VNODE_READ_ATTRIBUTES (1<<7)
#define KAUTH_VNODE_WRITE_ATTRIBUTES (1<<8)
#define KAUTH_VNODE_READ_EXTATTRIBUTES (1<<9)
#define KAUTH_VNODE_WRITE_EXTATTRIBUTES (1<<10)
#define KAUTH_VNODE_READ_SECURITY (1<<11)
#define KAUTH_VNODE_WRITE_SECURITY (1<<12)
#define KAUTH_VNODE_TAKE_OWNERSHIP (1<<13)
#define KAUTH_VNODE_CHANGE_OWNER KAUTH_VNODE_TAKE_OWNERSHIP
#define KAUTH_VNODE_SYNCHRONIZE (1<<20)
#define KAUTH_VNODE_LINKTARGET (1<<25)
#define KAUTH_VNODE_CHECKIMMUTABLE (1<<26)
# 316 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_VNODE_ACCESS (1<<31)
# 326 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_VNODE_NOIMMUTABLE (1<<30)
# 337 "/usr/include/sys/kauth.h" 3 4
#define KAUTH_VNODE_SEARCHBYANYONE (1<<29)
#define KAUTH_INVALIDATE_CACHED_RIGHTS ((kauth_action_t)~0)
#define KAUTH_VNODE_GENERIC_READ_BITS (KAUTH_VNODE_READ_DATA | KAUTH_VNODE_READ_ATTRIBUTES | KAUTH_VNODE_READ_EXTATTRIBUTES | KAUTH_VNODE_READ_SECURITY)
#define KAUTH_VNODE_GENERIC_WRITE_BITS (KAUTH_VNODE_WRITE_DATA | KAUTH_VNODE_APPEND_DATA | KAUTH_VNODE_DELETE | KAUTH_VNODE_DELETE_CHILD | KAUTH_VNODE_WRITE_ATTRIBUTES | KAUTH_VNODE_WRITE_EXTATTRIBUTES | KAUTH_VNODE_WRITE_SECURITY)
#define KAUTH_VNODE_GENERIC_EXECUTE_BITS (KAUTH_VNODE_EXECUTE)
#define KAUTH_VNODE_GENERIC_ALL_BITS (KAUTH_VNODE_GENERIC_READ_BITS | KAUTH_VNODE_GENERIC_WRITE_BITS | KAUTH_VNODE_GENERIC_EXECUTE_BITS)
#define KAUTH_VNODE_WRITE_RIGHTS (KAUTH_VNODE_ADD_FILE | KAUTH_VNODE_ADD_SUBDIRECTORY | KAUTH_VNODE_DELETE_CHILD | KAUTH_VNODE_WRITE_DATA | KAUTH_VNODE_APPEND_DATA | KAUTH_VNODE_DELETE | KAUTH_VNODE_WRITE_ATTRIBUTES | KAUTH_VNODE_WRITE_EXTATTRIBUTES | KAUTH_VNODE_WRITE_SECURITY | KAUTH_VNODE_TAKE_OWNERSHIP | KAUTH_VNODE_LINKTARGET | KAUTH_VNODE_CHECKIMMUTABLE)
# 27 "/usr/include/sys/acl.h" 2 3 4
# 35 "/usr/include/sys/acl.h" 3 4
#define ACL_MAX_ENTRIES 128
typedef enum {
ACL_READ_DATA = (1<<1),
ACL_LIST_DIRECTORY = (1<<1),
ACL_WRITE_DATA = (1<<2),
ACL_ADD_FILE = (1<<2),
ACL_EXECUTE = (1<<3),
ACL_SEARCH = (1<<3),
ACL_DELETE = (1<<4),
ACL_APPEND_DATA = (1<<5),
ACL_ADD_SUBDIRECTORY = (1<<5),
ACL_DELETE_CHILD = (1<<6),
ACL_READ_ATTRIBUTES = (1<<7),
ACL_WRITE_ATTRIBUTES = (1<<8),
ACL_READ_EXTATTRIBUTES = (1<<9),
ACL_WRITE_EXTATTRIBUTES = (1<<10),
ACL_READ_SECURITY = (1<<11),
ACL_WRITE_SECURITY = (1<<12),
ACL_CHANGE_OWNER = (1<<13)
} acl_perm_t;
typedef enum {
ACL_UNDEFINED_TAG = 0,
ACL_EXTENDED_ALLOW = 1,
ACL_EXTENDED_DENY = 2
} acl_tag_t;
typedef enum {
ACL_TYPE_EXTENDED = 0x00000100,
ACL_TYPE_ACCESS = 0x00000000,
ACL_TYPE_DEFAULT = 0x00000001,
ACL_TYPE_AFS = 0x00000002,
ACL_TYPE_CODA = 0x00000003,
ACL_TYPE_NTFS = 0x00000004,
ACL_TYPE_NWFS = 0x00000005
} acl_type_t;
#define ACL_UNDEFINED_ID NULL
typedef enum {
ACL_FIRST_ENTRY = 0,
ACL_NEXT_ENTRY = -1,
ACL_LAST_ENTRY = -2
} acl_entry_id_t;
typedef enum {
ACL_FLAG_DEFER_INHERIT = (1 << 0),
ACL_ENTRY_INHERITED = (1<<4),
ACL_ENTRY_FILE_INHERIT = (1<<5),
ACL_ENTRY_DIRECTORY_INHERIT = (1<<6),
ACL_ENTRY_LIMIT_INHERIT = (1<<7),
ACL_ENTRY_ONLY_INHERIT = (1<<8)
} acl_flag_t;
struct _acl;
struct _acl_entry;
struct _acl_permset;
struct _acl_flagset;
typedef struct _acl *acl_t;
typedef struct _acl_entry *acl_entry_t;
typedef struct _acl_permset *acl_permset_t;
typedef struct _acl_flagset *acl_flagset_t;
extern acl_t acl_dup(acl_t acl);
extern int acl_free(void *obj_p);
extern acl_t acl_init(int count);
extern int acl_copy_entry(acl_entry_t dest_d, acl_entry_t src_d);
extern int acl_create_entry(acl_t *acl_p, acl_entry_t *entry_p);
extern int acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int entry_index);
extern int acl_delete_entry(acl_t acl, acl_entry_t entry_d);
extern int acl_get_entry(acl_t acl, int entry_id, acl_entry_t *entry_p);
extern int acl_valid(acl_t acl);
extern int acl_valid_fd_np(int fd, acl_type_t type, acl_t acl);
extern int acl_valid_file_np(const char *path, acl_type_t type, acl_t acl);
extern int acl_valid_link_np(const char *path, acl_type_t type, acl_t acl);
extern int acl_add_perm(acl_permset_t permset_d, acl_perm_t perm);
extern int acl_calc_mask(acl_t *acl_p);
extern int acl_clear_perms(acl_permset_t permset_d);
extern int acl_delete_perm(acl_permset_t permset_d, acl_perm_t perm);
extern int acl_get_perm_np(acl_permset_t permset_d, acl_perm_t perm);
extern int acl_get_permset(acl_entry_t entry_d, acl_permset_t *permset_p);
extern int acl_set_permset(acl_entry_t entry_d, acl_permset_t permset_d);
extern int acl_add_flag_np(acl_flagset_t flagset_d, acl_flag_t flag);
extern int acl_clear_flags_np(acl_flagset_t flagset_d);
extern int acl_delete_flag_np(acl_flagset_t flagset_d, acl_flag_t flag);
extern int acl_get_flag_np(acl_flagset_t flagset_d, acl_flag_t flag);
extern int acl_get_flagset_np(void *obj_p, acl_flagset_t *flagset_p);
extern int acl_set_flagset_np(void *obj_p, acl_flagset_t flagset_d);
extern void *acl_get_qualifier(acl_entry_t entry_d);
extern int acl_get_tag_type(acl_entry_t entry_d, acl_tag_t *tag_type_p);
extern int acl_set_qualifier(acl_entry_t entry_d, const void *tag_qualifier_p);
extern int acl_set_tag_type(acl_entry_t entry_d, acl_tag_t tag_type);
extern int acl_delete_def_file(const char *path_p);
extern acl_t acl_get_fd(int fd);
extern acl_t acl_get_fd_np(int fd, acl_type_t type);
extern acl_t acl_get_file(const char *path_p, acl_type_t type);
extern acl_t acl_get_link_np(const char *path_p, acl_type_t type);
extern int acl_set_fd(int fd, acl_t acl);
extern int acl_set_fd_np(int fd, acl_t acl, acl_type_t acl_type);
extern int acl_set_file(const char *path_p, acl_type_t type, acl_t acl);
extern int acl_set_link_np(const char *path_p, acl_type_t type, acl_t acl);
extern ssize_t acl_copy_ext(void *buf_p, acl_t acl, ssize_t size);
extern ssize_t acl_copy_ext_native(void *buf_p, acl_t acl, ssize_t size);
extern acl_t acl_copy_int(const void *buf_p);
extern acl_t acl_copy_int_native(const void *buf_p);
extern acl_t acl_from_text(const char *buf_p);
extern ssize_t acl_size(acl_t acl);
extern char *acl_to_text(acl_t acl, ssize_t *len_p);
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 2 3
# 1 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 1 3
# 25 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
#define __DISKARBITRATION_DADISK__
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 1 3
# 32 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
#define _IOKIT_IOKITLIB_H
# 41 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
# 1 "/usr/include/mach/mach_types.h" 1 3 4
# 74 "/usr/include/mach/mach_types.h" 3 4
#define _MACH_MACH_TYPES_H_
# 1 "/usr/include/mach/host_info.h" 1 3 4
# 66 "/usr/include/mach/host_info.h" 3 4
#define _MACH_HOST_INFO_H_
# 1 "/usr/include/mach/message.h" 1 3 4
# 72 "/usr/include/mach/message.h" 3 4
#define _MACH_MESSAGE_H_
# 1 "/usr/include/mach/kern_return.h" 1 3 4
# 68 "/usr/include/mach/kern_return.h" 3 4
#define _MACH_KERN_RETURN_H_
# 1 "/usr/include/mach/machine/kern_return.h" 1 3 4
# 30 "/usr/include/mach/machine/kern_return.h" 3 4
#define _MACH_MACHINE_KERN_RETURN_H_
# 1 "/usr/include/mach/i386/kern_return.h" 1 3 4
# 68 "/usr/include/mach/i386/kern_return.h" 3 4
#define _MACH_I386_KERN_RETURN_H_
typedef int kern_return_t;
# 36 "/usr/include/mach/machine/kern_return.h" 2 3 4
# 71 "/usr/include/mach/kern_return.h" 2 3 4
#define KERN_SUCCESS 0
#define KERN_INVALID_ADDRESS 1
#define KERN_PROTECTION_FAILURE 2
#define KERN_NO_SPACE 3
#define KERN_INVALID_ARGUMENT 4
#define KERN_FAILURE 5
#define KERN_RESOURCE_SHORTAGE 6
#define KERN_NOT_RECEIVER 7
#define KERN_NO_ACCESS 8
#define KERN_MEMORY_FAILURE 9
#define KERN_MEMORY_ERROR 10
#define KERN_ALREADY_IN_SET 11
#define KERN_NOT_IN_SET 12
#define KERN_NAME_EXISTS 13
#define KERN_ABORTED 14
#define KERN_INVALID_NAME 15
#define KERN_INVALID_TASK 16
#define KERN_INVALID_RIGHT 17
#define KERN_INVALID_VALUE 18
#define KERN_UREFS_OVERFLOW 19
#define KERN_INVALID_CAPABILITY 20
#define KERN_RIGHT_EXISTS 21
#define KERN_INVALID_HOST 22
#define KERN_MEMORY_PRESENT 23
#define KERN_MEMORY_DATA_MOVED 24
# 198 "/usr/include/mach/kern_return.h" 3 4
#define KERN_MEMORY_RESTART_COPY 25
#define KERN_INVALID_PROCESSOR_SET 26
#define KERN_POLICY_LIMIT 27
#define KERN_INVALID_POLICY 28
#define KERN_INVALID_OBJECT 29
#define KERN_ALREADY_WAITING 30
#define KERN_DEFAULT_SET 31
#define KERN_EXCEPTION_PROTECTED 32
#define KERN_INVALID_LEDGER 33
#define KERN_INVALID_MEMORY_CONTROL 34
#define KERN_INVALID_SECURITY 35
#define KERN_NOT_DEPRESSED 36
#define KERN_TERMINATED 37
#define KERN_LOCK_SET_DESTROYED 38
#define KERN_LOCK_UNSTABLE 39
#define KERN_LOCK_OWNED 40
#define KERN_LOCK_OWNED_SELF 41
#define KERN_SEMAPHORE_DESTROYED 42
#define KERN_RPC_SERVER_TERMINATED 43
#define KERN_RPC_TERMINATE_ORPHAN 44
#define KERN_RPC_CONTINUE_ORPHAN 45
#define KERN_NOT_SUPPORTED 46
#define KERN_NODE_DOWN 47
#define KERN_NOT_WAITING 48
#define KERN_OPERATION_TIMED_OUT 49
#define KERN_RETURN_MAX 0x100
# 78 "/usr/include/mach/message.h" 2 3 4
# 89 "/usr/include/mach/message.h" 3 4
typedef natural_t mach_msg_timeout_t;
#define MACH_MSG_TIMEOUT_NONE ((mach_msg_timeout_t) 0)
# 123 "/usr/include/mach/message.h" 3 4
#define MACH_MSGH_BITS_ZERO 0x00000000
#define MACH_MSGH_BITS_REMOTE_MASK 0x000000ff
#define MACH_MSGH_BITS_LOCAL_MASK 0x0000ff00
#define MACH_MSGH_BITS_COMPLEX 0x80000000U
#define MACH_MSGH_BITS_USER 0x8000ffffU
#define MACH_MSGH_BITS_CIRCULAR 0x40000000
#define MACH_MSGH_BITS_USED 0xc000ffffU
#define MACH_MSGH_BITS_PORTS_MASK (MACH_MSGH_BITS_REMOTE_MASK|MACH_MSGH_BITS_LOCAL_MASK)
#define MACH_MSGH_BITS(remote,local) ((remote) | ((local) << 8))
#define MACH_MSGH_BITS_REMOTE(bits) ((bits) & MACH_MSGH_BITS_REMOTE_MASK)
#define MACH_MSGH_BITS_LOCAL(bits) (((bits) & MACH_MSGH_BITS_LOCAL_MASK) >> 8)
#define MACH_MSGH_BITS_PORTS(bits) ((bits) & MACH_MSGH_BITS_PORTS_MASK)
#define MACH_MSGH_BITS_OTHER(bits) ((bits) &~ MACH_MSGH_BITS_PORTS_MASK)
# 172 "/usr/include/mach/message.h" 3 4
typedef unsigned int mach_msg_bits_t;
typedef natural_t mach_msg_size_t;
typedef integer_t mach_msg_id_t;
#define MACH_MSG_SIZE_NULL (mach_msg_size_t *) 0
typedef unsigned int mach_msg_type_name_t;
#define MACH_MSG_TYPE_MOVE_RECEIVE 16
#define MACH_MSG_TYPE_MOVE_SEND 17
#define MACH_MSG_TYPE_MOVE_SEND_ONCE 18
#define MACH_MSG_TYPE_COPY_SEND 19
#define MACH_MSG_TYPE_MAKE_SEND 20
#define MACH_MSG_TYPE_MAKE_SEND_ONCE 21
#define MACH_MSG_TYPE_COPY_RECEIVE 22
typedef unsigned int mach_msg_copy_options_t;
#define MACH_MSG_PHYSICAL_COPY 0
#define MACH_MSG_VIRTUAL_COPY 1
#define MACH_MSG_ALLOCATE 2
#define MACH_MSG_OVERWRITE 3
typedef unsigned int mach_msg_descriptor_type_t;
#define MACH_MSG_PORT_DESCRIPTOR 0
#define MACH_MSG_OOL_DESCRIPTOR 1
#define MACH_MSG_OOL_PORTS_DESCRIPTOR 2
#define MACH_MSG_OOL_VOLATILE_DESCRIPTOR 3
#pragma pack(4)
typedef struct
{
natural_t pad1;
mach_msg_size_t pad2;
unsigned int pad3 : 24;
mach_msg_descriptor_type_t type : 8;
} mach_msg_type_descriptor_t;
typedef struct
{
mach_port_t name;
mach_msg_size_t pad1;
unsigned int pad2 : 16;
mach_msg_type_name_t disposition : 8;
mach_msg_descriptor_type_t type : 8;
} mach_msg_port_descriptor_t;
typedef struct
{
uint32_t address;
mach_msg_size_t size;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
unsigned int pad1: 8;
mach_msg_descriptor_type_t type: 8;
} mach_msg_ool_descriptor32_t;
typedef struct
{
uint64_t address;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
unsigned int pad1: 8;
mach_msg_descriptor_type_t type: 8;
mach_msg_size_t size;
} mach_msg_ool_descriptor64_t;
typedef struct
{
void* address;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
unsigned int pad1: 8;
mach_msg_descriptor_type_t type: 8;
mach_msg_size_t size;
} mach_msg_ool_descriptor_t;
typedef struct
{
uint32_t address;
mach_msg_size_t count;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
mach_msg_type_name_t disposition : 8;
mach_msg_descriptor_type_t type : 8;
} mach_msg_ool_ports_descriptor32_t;
typedef struct
{
uint64_t address;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
mach_msg_type_name_t disposition : 8;
mach_msg_descriptor_type_t type : 8;
mach_msg_size_t count;
} mach_msg_ool_ports_descriptor64_t;
typedef struct
{
void* address;
boolean_t deallocate: 8;
mach_msg_copy_options_t copy: 8;
mach_msg_type_name_t disposition : 8;
mach_msg_descriptor_type_t type : 8;
mach_msg_size_t count;
} mach_msg_ool_ports_descriptor_t;
typedef union
{
mach_msg_port_descriptor_t port;
mach_msg_ool_descriptor_t out_of_line;
mach_msg_ool_ports_descriptor_t ool_ports;
mach_msg_type_descriptor_t type;
} mach_msg_descriptor_t;
typedef struct
{
mach_msg_size_t msgh_descriptor_count;
} mach_msg_body_t;
#define MACH_MSG_BODY_NULL (mach_msg_body_t *) 0
#define MACH_MSG_DESCRIPTOR_NULL (mach_msg_descriptor_t *) 0
typedef struct
{
mach_msg_bits_t msgh_bits;
mach_msg_size_t msgh_size;
mach_port_t msgh_remote_port;
mach_port_t msgh_local_port;
mach_msg_size_t msgh_reserved;
mach_msg_id_t msgh_id;
} mach_msg_header_t;
#define MACH_MSG_NULL (mach_msg_header_t *) 0
typedef struct
{
mach_msg_header_t header;
mach_msg_body_t body;
} mach_msg_base_t;
typedef unsigned int mach_msg_trailer_type_t;
#define MACH_MSG_TRAILER_FORMAT_0 0
typedef unsigned int mach_msg_trailer_size_t;
typedef struct
{
mach_msg_trailer_type_t msgh_trailer_type;
mach_msg_trailer_size_t msgh_trailer_size;
} mach_msg_trailer_t;
typedef struct
{
mach_msg_trailer_type_t msgh_trailer_type;
mach_msg_trailer_size_t msgh_trailer_size;
mach_port_seqno_t msgh_seqno;
} mach_msg_seqno_trailer_t;
typedef struct
{
unsigned int val[2];
} security_token_t;
typedef struct
{
mach_msg_trailer_type_t msgh_trailer_type;
mach_msg_trailer_size_t msgh_trailer_size;
mach_port_seqno_t msgh_seqno;
security_token_t msgh_sender;
} mach_msg_security_trailer_t;
# 375 "/usr/include/mach/message.h" 3 4
typedef struct
{
unsigned int val[8];
} audit_token_t;
typedef struct
{
mach_msg_trailer_type_t msgh_trailer_type;
mach_msg_trailer_size_t msgh_trailer_size;
mach_port_seqno_t msgh_seqno;
security_token_t msgh_sender;
audit_token_t msgh_audit;
} mach_msg_audit_trailer_t;
typedef struct
{
mach_port_name_t sender;
} msg_labels_t;
typedef struct
{
mach_msg_trailer_type_t msgh_trailer_type;
mach_msg_trailer_size_t msgh_trailer_size;
mach_port_seqno_t msgh_seqno;
security_token_t msgh_sender;
audit_token_t msgh_audit;
msg_labels_t msgh_labels;
int msgh_ad;
} mach_msg_mac_trailer_t;
#define MACH_MSG_TRAILER_MINIMUM_SIZE sizeof(mach_msg_trailer_t)
# 421 "/usr/include/mach/message.h" 3 4
typedef mach_msg_mac_trailer_t mach_msg_max_trailer_t;
#define MAX_TRAILER_SIZE sizeof(mach_msg_max_trailer_t)
# 431 "/usr/include/mach/message.h" 3 4
typedef mach_msg_security_trailer_t mach_msg_format_0_trailer_t;
#define MACH_MSG_TRAILER_FORMAT_0_SIZE sizeof(mach_msg_format_0_trailer_t)
#define KERNEL_SECURITY_TOKEN_VALUE { {0, 1} }
extern security_token_t KERNEL_SECURITY_TOKEN;
#define KERNEL_AUDIT_TOKEN_VALUE { {0, 0, 0, 0, 0, 0, 0, 0} }
extern audit_token_t KERNEL_AUDIT_TOKEN;
typedef integer_t mach_msg_options_t;
typedef struct
{
mach_msg_header_t header;
} mach_msg_empty_send_t;
typedef struct
{
mach_msg_header_t header;
mach_msg_trailer_t trailer;
} mach_msg_empty_rcv_t;
typedef union
{
mach_msg_empty_send_t send;
mach_msg_empty_rcv_t rcv;
} mach_msg_empty_t;
#pragma pack()
#define round_msg(x) (((mach_msg_size_t)(x) + sizeof (natural_t) - 1) & ~(sizeof (natural_t) - 1))
#define MACH_MSG_SIZE_MAX ((mach_msg_size_t) ~0)
#define MACH_MSGH_KIND_NORMAL 0x00000000
#define MACH_MSGH_KIND_NOTIFICATION 0x00000001
#define msgh_kind msgh_seqno
#define mach_msg_kind_t mach_port_seqno_t
# 509 "/usr/include/mach/message.h" 3 4
typedef natural_t mach_msg_type_size_t;
typedef natural_t mach_msg_type_number_t;
# 521 "/usr/include/mach/message.h" 3 4
#define MACH_MSG_TYPE_PORT_NONE 0
#define MACH_MSG_TYPE_PORT_NAME 15
#define MACH_MSG_TYPE_PORT_RECEIVE MACH_MSG_TYPE_MOVE_RECEIVE
#define MACH_MSG_TYPE_PORT_SEND MACH_MSG_TYPE_MOVE_SEND
#define MACH_MSG_TYPE_PORT_SEND_ONCE MACH_MSG_TYPE_MOVE_SEND_ONCE
#define MACH_MSG_TYPE_LAST 22
#define MACH_MSG_TYPE_POLYMORPHIC ((mach_msg_type_name_t) -1)
#define MACH_MSG_TYPE_PORT_ANY(x) (((x) >= MACH_MSG_TYPE_MOVE_RECEIVE) && ((x) <= MACH_MSG_TYPE_MAKE_SEND_ONCE))
#define MACH_MSG_TYPE_PORT_ANY_SEND(x) (((x) >= MACH_MSG_TYPE_MOVE_SEND) && ((x) <= MACH_MSG_TYPE_MAKE_SEND_ONCE))
#define MACH_MSG_TYPE_PORT_ANY_RIGHT(x) (((x) >= MACH_MSG_TYPE_MOVE_RECEIVE) && ((x) <= MACH_MSG_TYPE_MOVE_SEND_ONCE))
typedef integer_t mach_msg_option_t;
#define MACH_MSG_OPTION_NONE 0x00000000
#define MACH_SEND_MSG 0x00000001
#define MACH_RCV_MSG 0x00000002
#define MACH_RCV_LARGE 0x00000004
#define MACH_SEND_TIMEOUT 0x00000010
#define MACH_SEND_INTERRUPT 0x00000040
#define MACH_SEND_CANCEL 0x00000080
#define MACH_SEND_ALWAYS 0x00010000
#define MACH_SEND_TRAILER 0x00020000
#define MACH_RCV_TIMEOUT 0x00000100
#define MACH_RCV_NOTIFY 0x00000200
#define MACH_RCV_INTERRUPT 0x00000400
#define MACH_RCV_OVERWRITE 0x00001000
# 582 "/usr/include/mach/message.h" 3 4
#define MACH_RCV_TRAILER_NULL 0
#define MACH_RCV_TRAILER_SEQNO 1
#define MACH_RCV_TRAILER_SENDER 2
#define MACH_RCV_TRAILER_AUDIT 3
#define MACH_RCV_TRAILER_LABELS 4
#define MACH_RCV_TRAILER_AV 8
#define MACH_RCV_TRAILER_TYPE(x) (((x) & 0xf) << 28)
#define MACH_RCV_TRAILER_ELEMENTS(x) (((x) & 0xf) << 24)
#define MACH_RCV_TRAILER_MASK ((0xff << 24))
#define GET_RCV_ELEMENTS(y) (((y) >> 24) & 0xf)
# 603 "/usr/include/mach/message.h" 3 4
#define REQUESTED_TRAILER_SIZE(y) ((mach_msg_trailer_size_t) ((GET_RCV_ELEMENTS(y) == MACH_RCV_TRAILER_NULL) ? sizeof(mach_msg_trailer_t) : ((GET_RCV_ELEMENTS(y) == MACH_RCV_TRAILER_SEQNO) ? sizeof(mach_msg_seqno_trailer_t) : ((GET_RCV_ELEMENTS(y) == MACH_RCV_TRAILER_SENDER) ? sizeof(mach_msg_security_trailer_t) : ((GET_RCV_ELEMENTS(y) == MACH_RCV_TRAILER_AUDIT) ? sizeof(mach_msg_audit_trailer_t) : sizeof(mach_msg_max_trailer_t))))))
# 626 "/usr/include/mach/message.h" 3 4
typedef kern_return_t mach_msg_return_t;
#define MACH_MSG_SUCCESS 0x00000000
#define MACH_MSG_MASK 0x00003e00
#define MACH_MSG_IPC_SPACE 0x00002000
#define MACH_MSG_VM_SPACE 0x00001000
#define MACH_MSG_IPC_KERNEL 0x00000800
#define MACH_MSG_VM_KERNEL 0x00000400
#define MACH_SEND_IN_PROGRESS 0x10000001
#define MACH_SEND_INVALID_DATA 0x10000002
#define MACH_SEND_INVALID_DEST 0x10000003
#define MACH_SEND_TIMED_OUT 0x10000004
#define MACH_SEND_INTERRUPTED 0x10000007
#define MACH_SEND_MSG_TOO_SMALL 0x10000008
#define MACH_SEND_INVALID_REPLY 0x10000009
#define MACH_SEND_INVALID_RIGHT 0x1000000a
#define MACH_SEND_INVALID_NOTIFY 0x1000000b
#define MACH_SEND_INVALID_MEMORY 0x1000000c
#define MACH_SEND_NO_BUFFER 0x1000000d
#define MACH_SEND_TOO_LARGE 0x1000000e
#define MACH_SEND_INVALID_TYPE 0x1000000f
#define MACH_SEND_INVALID_HEADER 0x10000010
#define MACH_SEND_INVALID_TRAILER 0x10000011
#define MACH_SEND_INVALID_RT_OOL_SIZE 0x10000015
#define MACH_RCV_IN_PROGRESS 0x10004001
#define MACH_RCV_INVALID_NAME 0x10004002
#define MACH_RCV_TIMED_OUT 0x10004003
#define MACH_RCV_TOO_LARGE 0x10004004
#define MACH_RCV_INTERRUPTED 0x10004005
#define MACH_RCV_PORT_CHANGED 0x10004006
#define MACH_RCV_INVALID_NOTIFY 0x10004007
#define MACH_RCV_INVALID_DATA 0x10004008
#define MACH_RCV_PORT_DIED 0x10004009
#define MACH_RCV_IN_SET 0x1000400a
#define MACH_RCV_HEADER_ERROR 0x1000400b
#define MACH_RCV_BODY_ERROR 0x1000400c
#define MACH_RCV_INVALID_TYPE 0x1000400d
#define MACH_RCV_SCATTER_SMALL 0x1000400e
#define MACH_RCV_INVALID_TRAILER 0x1000400f
#define MACH_RCV_IN_PROGRESS_TIMED 0x10004011
# 728 "/usr/include/mach/message.h" 3 4
extern mach_msg_return_t mach_msg_overwrite(
mach_msg_header_t *msg,
mach_msg_option_t option,
mach_msg_size_t send_size,
mach_msg_size_t rcv_size,
mach_port_name_t rcv_name,
mach_msg_timeout_t timeout,
mach_port_name_t notify,
mach_msg_header_t *rcv_msg,
mach_msg_size_t rcv_limit);
# 748 "/usr/include/mach/message.h" 3 4
extern mach_msg_return_t mach_msg(
mach_msg_header_t *msg,
mach_msg_option_t option,
mach_msg_size_t send_size,
mach_msg_size_t rcv_size,
mach_port_name_t rcv_name,
mach_msg_timeout_t timeout,
mach_port_name_t notify);
# 69 "/usr/include/mach/host_info.h" 2 3 4
# 1 "/usr/include/mach/vm_statistics.h" 1 3 4
# 67 "/usr/include/mach/vm_statistics.h" 3 4
#define _MACH_VM_STATISTICS_H_
struct vm_statistics {
natural_t free_count;
natural_t active_count;
natural_t inactive_count;
natural_t wire_count;
natural_t zero_fill_count;
natural_t reactivations;
natural_t pageins;
natural_t pageouts;
natural_t faults;
natural_t cow_faults;
natural_t lookups;
natural_t hits;
natural_t purgeable_count;
natural_t purges;
# 96 "/usr/include/mach/vm_statistics.h" 3 4
natural_t speculative_count;
};
typedef struct vm_statistics *vm_statistics_t;
typedef struct vm_statistics vm_statistics_data_t;
#define VM_PAGE_QUERY_PAGE_PRESENT 0x1
#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x2
#define VM_PAGE_QUERY_PAGE_REF 0x4
#define VM_PAGE_QUERY_PAGE_DIRTY 0x8
#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x10
#define VM_PAGE_QUERY_PAGE_COPIED 0x20
#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x40
# 142 "/usr/include/mach/vm_statistics.h" 3 4
#define VM_FLAGS_FIXED 0x0000
#define VM_FLAGS_ANYWHERE 0x0001
#define VM_FLAGS_PURGABLE 0x0002
#define VM_FLAGS_NO_CACHE 0x0010
#define VM_FLAGS_GUARD_BEFORE 0x0010
#define VM_FLAGS_GUARD_AFTER 0x0020
#define VM_FLAGS_ALIAS_MASK 0xFF000000
#define VM_GET_FLAGS_ALIAS(flags,alias) (alias) = ((flags) & VM_FLAGS_ALIAS_MASK) >> 24
#define VM_SET_FLAGS_ALIAS(flags,alias) (flags) = (((flags) & ~VM_FLAGS_ALIAS_MASK) | (((alias) & ~VM_FLAGS_ALIAS_MASK) << 24))
#define VM_FLAGS_USER_ALLOCATE (VM_FLAGS_FIXED | VM_FLAGS_ANYWHERE | VM_FLAGS_PURGABLE | VM_FLAGS_NO_CACHE | VM_FLAGS_ALIAS_MASK)
#define VM_FLAGS_USER_MAP VM_FLAGS_USER_ALLOCATE
#define VM_MEMORY_MALLOC 1
#define VM_MEMORY_MALLOC_SMALL 2
#define VM_MEMORY_MALLOC_LARGE 3
#define VM_MEMORY_MALLOC_HUGE 4
#define VM_MEMORY_SBRK 5
#define VM_MEMORY_REALLOC 6
#define VM_MEMORY_MALLOC_TINY 7
#define VM_MEMORY_ANALYSIS_TOOL 10
#define VM_MEMORY_MACH_MSG 20
#define VM_MEMORY_IOKIT 21
#define VM_MEMORY_STACK 30
#define VM_MEMORY_GUARD 31
#define VM_MEMORY_SHARED_PMAP 32
#define VM_MEMORY_DYLIB 33
#define VM_MEMORY_APPKIT 40
#define VM_MEMORY_FOUNDATION 41
#define VM_MEMORY_COREGRAPHICS 42
#define VM_MEMORY_CARBON 43
#define VM_MEMORY_JAVA 44
#define VM_MEMORY_ATS 50
#define VM_MEMORY_LAYERKIT 51
#define VM_MEMORY_CGIMAGE 52
#define VM_MEMORY_TCMALLOC 53
#define VM_MEMORY_COREGRAPHICS_DATA 54
#define VM_MEMORY_COREGRAPHICS_SHARED 55
#define VM_MEMORY_COREGRAPHICS_FRAMEBUFFERS 56
#define VM_MEMORY_COREGRAPHICS_BACKINGSTORES 57
#define VM_MEMORY_COREGRAPHICS_MISC VM_MEMORY_COREGRAPHICS
#define VM_MEMORY_DYLD 60
#define VM_MEMORY_DYLD_MALLOC 61
#define VM_MEMORY_APPLICATION_SPECIFIC_1 240
#define VM_MEMORY_APPLICATION_SPECIFIC_16 255
#define VM_MAKE_TAG(tag) ((tag) << 24)
# 70 "/usr/include/mach/host_info.h" 2 3 4
# 1 "/usr/include/mach/machine.h" 1 3 4
# 61 "/usr/include/mach/machine.h" 3 4
#define _MACH_MACHINE_H_
typedef integer_t cpu_type_t;
typedef integer_t cpu_subtype_t;
typedef integer_t cpu_threadtype_t;
#define CPU_STATE_MAX 4
#define CPU_STATE_USER 0
#define CPU_STATE_SYSTEM 1
#define CPU_STATE_IDLE 2
#define CPU_STATE_NICE 3
#define CPU_ARCH_MASK 0xff000000
#define CPU_ARCH_ABI64 0x01000000
#define CPU_TYPE_ANY ((cpu_type_t) -1)
#define CPU_TYPE_VAX ((cpu_type_t) 1)
#define CPU_TYPE_MC680x0 ((cpu_type_t) 6)
#define CPU_TYPE_X86 ((cpu_type_t) 7)
#define CPU_TYPE_I386 CPU_TYPE_X86
#define CPU_TYPE_X86_64 (CPU_TYPE_X86 | CPU_ARCH_ABI64)
#define CPU_TYPE_MC98000 ((cpu_type_t) 10)
#define CPU_TYPE_HPPA ((cpu_type_t) 11)
#define CPU_TYPE_ARM ((cpu_type_t) 12)
#define CPU_TYPE_MC88000 ((cpu_type_t) 13)
#define CPU_TYPE_SPARC ((cpu_type_t) 14)
#define CPU_TYPE_I860 ((cpu_type_t) 15)
#define CPU_TYPE_POWERPC ((cpu_type_t) 18)
#define CPU_TYPE_POWERPC64 (CPU_TYPE_POWERPC | CPU_ARCH_ABI64)
# 124 "/usr/include/mach/machine.h" 3 4
#define CPU_SUBTYPE_MASK 0xff000000
#define CPU_SUBTYPE_LIB64 0x80000000
# 139 "/usr/include/mach/machine.h" 3 4
#define CPU_SUBTYPE_MULTIPLE ((cpu_subtype_t) -1)
#define CPU_SUBTYPE_LITTLE_ENDIAN ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_BIG_ENDIAN ((cpu_subtype_t) 1)
#define CPU_THREADTYPE_NONE ((cpu_threadtype_t) 0)
#define CPU_SUBTYPE_VAX_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_VAX780 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_VAX785 ((cpu_subtype_t) 2)
#define CPU_SUBTYPE_VAX750 ((cpu_subtype_t) 3)
#define CPU_SUBTYPE_VAX730 ((cpu_subtype_t) 4)
#define CPU_SUBTYPE_UVAXI ((cpu_subtype_t) 5)
#define CPU_SUBTYPE_UVAXII ((cpu_subtype_t) 6)
#define CPU_SUBTYPE_VAX8200 ((cpu_subtype_t) 7)
#define CPU_SUBTYPE_VAX8500 ((cpu_subtype_t) 8)
#define CPU_SUBTYPE_VAX8600 ((cpu_subtype_t) 9)
#define CPU_SUBTYPE_VAX8650 ((cpu_subtype_t) 10)
#define CPU_SUBTYPE_VAX8800 ((cpu_subtype_t) 11)
#define CPU_SUBTYPE_UVAXIII ((cpu_subtype_t) 12)
# 185 "/usr/include/mach/machine.h" 3 4
#define CPU_SUBTYPE_MC680x0_ALL ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_MC68030 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_MC68040 ((cpu_subtype_t) 2)
#define CPU_SUBTYPE_MC68030_ONLY ((cpu_subtype_t) 3)
#define CPU_SUBTYPE_INTEL(f,m) ((cpu_subtype_t) (f) + ((m) << 4))
#define CPU_SUBTYPE_I386_ALL CPU_SUBTYPE_INTEL(3, 0)
#define CPU_SUBTYPE_386 CPU_SUBTYPE_INTEL(3, 0)
#define CPU_SUBTYPE_486 CPU_SUBTYPE_INTEL(4, 0)
#define CPU_SUBTYPE_486SX CPU_SUBTYPE_INTEL(4, 8)
#define CPU_SUBTYPE_586 CPU_SUBTYPE_INTEL(5, 0)
#define CPU_SUBTYPE_PENT CPU_SUBTYPE_INTEL(5, 0)
#define CPU_SUBTYPE_PENTPRO CPU_SUBTYPE_INTEL(6, 1)
#define CPU_SUBTYPE_PENTII_M3 CPU_SUBTYPE_INTEL(6, 3)
#define CPU_SUBTYPE_PENTII_M5 CPU_SUBTYPE_INTEL(6, 5)
#define CPU_SUBTYPE_CELERON CPU_SUBTYPE_INTEL(7, 6)
#define CPU_SUBTYPE_CELERON_MOBILE CPU_SUBTYPE_INTEL(7, 7)
#define CPU_SUBTYPE_PENTIUM_3 CPU_SUBTYPE_INTEL(8, 0)
#define CPU_SUBTYPE_PENTIUM_3_M CPU_SUBTYPE_INTEL(8, 1)
#define CPU_SUBTYPE_PENTIUM_3_XEON CPU_SUBTYPE_INTEL(8, 2)
#define CPU_SUBTYPE_PENTIUM_M CPU_SUBTYPE_INTEL(9, 0)
#define CPU_SUBTYPE_PENTIUM_4 CPU_SUBTYPE_INTEL(10, 0)
#define CPU_SUBTYPE_PENTIUM_4_M CPU_SUBTYPE_INTEL(10, 1)
#define CPU_SUBTYPE_ITANIUM CPU_SUBTYPE_INTEL(11, 0)
#define CPU_SUBTYPE_ITANIUM_2 CPU_SUBTYPE_INTEL(11, 1)
#define CPU_SUBTYPE_XEON CPU_SUBTYPE_INTEL(12, 0)
#define CPU_SUBTYPE_XEON_MP CPU_SUBTYPE_INTEL(12, 1)
#define CPU_SUBTYPE_INTEL_FAMILY(x) ((x) & 15)
#define CPU_SUBTYPE_INTEL_FAMILY_MAX 15
#define CPU_SUBTYPE_INTEL_MODEL(x) ((x) >> 4)
#define CPU_SUBTYPE_INTEL_MODEL_ALL 0
#define CPU_SUBTYPE_X86_ALL ((cpu_subtype_t)3)
#define CPU_SUBTYPE_X86_64_ALL ((cpu_subtype_t)3)
#define CPU_SUBTYPE_X86_ARCH1 ((cpu_subtype_t)4)
#define CPU_THREADTYPE_INTEL_HTT ((cpu_threadtype_t) 1)
#define CPU_SUBTYPE_MIPS_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_MIPS_R2300 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_MIPS_R2600 ((cpu_subtype_t) 2)
#define CPU_SUBTYPE_MIPS_R2800 ((cpu_subtype_t) 3)
#define CPU_SUBTYPE_MIPS_R2000a ((cpu_subtype_t) 4)
#define CPU_SUBTYPE_MIPS_R2000 ((cpu_subtype_t) 5)
#define CPU_SUBTYPE_MIPS_R3000a ((cpu_subtype_t) 6)
#define CPU_SUBTYPE_MIPS_R3000 ((cpu_subtype_t) 7)
#define CPU_SUBTYPE_MC98000_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_MC98601 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_HPPA_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_HPPA_7100 ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_HPPA_7100LC ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_MC88000_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_MC88100 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_MC88110 ((cpu_subtype_t) 2)
#define CPU_SUBTYPE_SPARC_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_I860_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_I860_860 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_POWERPC_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_POWERPC_601 ((cpu_subtype_t) 1)
#define CPU_SUBTYPE_POWERPC_602 ((cpu_subtype_t) 2)
#define CPU_SUBTYPE_POWERPC_603 ((cpu_subtype_t) 3)
#define CPU_SUBTYPE_POWERPC_603e ((cpu_subtype_t) 4)
#define CPU_SUBTYPE_POWERPC_603ev ((cpu_subtype_t) 5)
#define CPU_SUBTYPE_POWERPC_604 ((cpu_subtype_t) 6)
#define CPU_SUBTYPE_POWERPC_604e ((cpu_subtype_t) 7)
#define CPU_SUBTYPE_POWERPC_620 ((cpu_subtype_t) 8)
#define CPU_SUBTYPE_POWERPC_750 ((cpu_subtype_t) 9)
#define CPU_SUBTYPE_POWERPC_7400 ((cpu_subtype_t) 10)
#define CPU_SUBTYPE_POWERPC_7450 ((cpu_subtype_t) 11)
#define CPU_SUBTYPE_POWERPC_970 ((cpu_subtype_t) 100)
#define CPU_SUBTYPE_ARM_ALL ((cpu_subtype_t) 0)
#define CPU_SUBTYPE_ARM_V4T ((cpu_subtype_t) 5)
#define CPU_SUBTYPE_ARM_V6 ((cpu_subtype_t) 6)
# 316 "/usr/include/mach/machine.h" 3 4
#define CPUFAMILY_UNKNOWN 0
#define CPUFAMILY_POWERPC_G3 0xcee41549
#define CPUFAMILY_POWERPC_G4 0x77c184ae
#define CPUFAMILY_POWERPC_G5 0xed76d8aa
#define CPUFAMILY_INTEL_6_13 0xaa33392b
#define CPUFAMILY_INTEL_6_14 0x73d67300
#define CPUFAMILY_INTEL_6_15 0x426f69ef
#define CPUFAMILY_INTEL_6_23 0x78ea4fbc
#define CPUFAMILY_INTEL_6_26 0x6b5a4cd2
#define CPUFAMILY_ARM_9 0xe73283ae
#define CPUFAMILY_ARM_11 0x8ff620d8
#define CPUFAMILY_INTEL_YONAH CPUFAMILY_INTEL_6_14
#define CPUFAMILY_INTEL_MEROM CPUFAMILY_INTEL_6_15
#define CPUFAMILY_INTEL_PENRYN CPUFAMILY_INTEL_6_23
#define CPUFAMILY_INTEL_NEHALEM CPUFAMILY_INTEL_6_26
#define CPUFAMILY_INTEL_CORE CPUFAMILY_INTEL_6_14
#define CPUFAMILY_INTEL_CORE2 CPUFAMILY_INTEL_6_15
# 71 "/usr/include/mach/host_info.h" 2 3 4
# 1 "/usr/include/mach/time_value.h" 1 3 4
# 58 "/usr/include/mach/time_value.h" 3 4
#define _MACH_TIME_VALUE_H_
struct time_value {
integer_t seconds;
integer_t microseconds;
};
typedef struct time_value time_value_t;
#define TIME_MICROS_MAX (1000000)
#define time_value_add_usec(val,micros) { if (((val)->microseconds += (micros)) >= TIME_MICROS_MAX) { (val)->microseconds -= TIME_MICROS_MAX; (val)->seconds++; } }
#define time_value_add(result,addend) { (result)->microseconds += (addend)->microseconds; (result)->seconds += (addend)->seconds; if ((result)->microseconds >= TIME_MICROS_MAX) { (result)->microseconds -= TIME_MICROS_MAX; (result)->seconds++; } }
# 73 "/usr/include/mach/host_info.h" 2 3 4
typedef integer_t *host_info_t;
#define HOST_INFO_MAX (1024)
typedef integer_t host_info_data_t[(1024)];
#define KERNEL_VERSION_MAX (512)
typedef char kernel_version_t[(512)];
#define KERNEL_BOOT_INFO_MAX (4096)
typedef char kernel_boot_info_t[(4096)];
typedef integer_t host_flavor_t;
#define HOST_BASIC_INFO 1
#define HOST_SCHED_INFO 3
#define HOST_RESOURCE_SIZES 4
#define HOST_PRIORITY_INFO 5
#define HOST_SEMAPHORE_TRAPS 7
#define HOST_MACH_MSG_TRAP 8
#pragma pack(4)
struct host_basic_info {
integer_t max_cpus;
integer_t avail_cpus;
natural_t memory_size;
cpu_type_t cpu_type;
cpu_subtype_t cpu_subtype;
cpu_threadtype_t cpu_threadtype;
integer_t physical_cpu;
integer_t physical_cpu_max;
integer_t logical_cpu;
integer_t logical_cpu_max;
uint64_t max_mem;
};
#pragma pack()
typedef struct host_basic_info host_basic_info_data_t;
typedef struct host_basic_info *host_basic_info_t;
#define HOST_BASIC_INFO_COUNT ((mach_msg_type_number_t) (sizeof(host_basic_info_data_t)/sizeof(integer_t)))
struct host_sched_info {
integer_t min_timeout;
integer_t min_quantum;
};
typedef struct host_sched_info host_sched_info_data_t;
typedef struct host_sched_info *host_sched_info_t;
#define HOST_SCHED_INFO_COUNT ((mach_msg_type_number_t) (sizeof(host_sched_info_data_t)/sizeof(integer_t)))
struct kernel_resource_sizes {
natural_t task;
natural_t thread;
natural_t port;
natural_t memory_region;
natural_t memory_object;
};
typedef struct kernel_resource_sizes kernel_resource_sizes_data_t;
typedef struct kernel_resource_sizes *kernel_resource_sizes_t;
#define HOST_RESOURCE_SIZES_COUNT ((mach_msg_type_number_t) (sizeof(kernel_resource_sizes_data_t)/sizeof(integer_t)))
struct host_priority_info {
integer_t kernel_priority;
integer_t system_priority;
integer_t server_priority;
integer_t user_priority;
integer_t depress_priority;
integer_t idle_priority;
integer_t minimum_priority;
integer_t maximum_priority;
};
typedef struct host_priority_info host_priority_info_data_t;
typedef struct host_priority_info *host_priority_info_t;
#define HOST_PRIORITY_INFO_COUNT ((mach_msg_type_number_t) (sizeof(host_priority_info_data_t)/sizeof(integer_t)))
#define HOST_LOAD_INFO 1
#define HOST_VM_INFO 2
#define HOST_CPU_LOAD_INFO 3
struct host_load_info {
integer_t avenrun[3];
integer_t mach_factor[3];
};
typedef struct host_load_info host_load_info_data_t;
typedef struct host_load_info *host_load_info_t;
#define HOST_LOAD_INFO_COUNT ((mach_msg_type_number_t) (sizeof(host_load_info_data_t)/sizeof(integer_t)))
#define HOST_VM_INFO_COUNT ((mach_msg_type_number_t) (sizeof(vm_statistics_data_t)/sizeof(integer_t)))
#define HOST_VM_INFO_LATEST_COUNT HOST_VM_INFO_COUNT
#define HOST_VM_INFO_REV2_COUNT HOST_VM_INFO_LATEST_COUNT
#define HOST_VM_INFO_REV1_COUNT ((mach_msg_type_number_t) (HOST_VM_INFO_REV2_COUNT - 1))
#define HOST_VM_INFO_REV0_COUNT ((mach_msg_type_number_t) (HOST_VM_INFO_REV1_COUNT - 2))
struct host_cpu_load_info {
natural_t cpu_ticks[4];
};
typedef struct host_cpu_load_info host_cpu_load_info_data_t;
typedef struct host_cpu_load_info *host_cpu_load_info_t;
#define HOST_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) (sizeof (host_cpu_load_info_data_t) / sizeof (integer_t)))
# 81 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/host_notify.h" 1 3 4
# 30 "/usr/include/mach/host_notify.h" 3 4
#define _MACH_HOST_NOTIFY_H_
#define HOST_NOTIFY_CALENDAR_CHANGE 0
#define HOST_NOTIFY_TYPE_MAX 0
#define HOST_CALENDAR_CHANGED_REPLYID 950
# 82 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/host_special_ports.h" 1 3 4
# 65 "/usr/include/mach/host_special_ports.h" 3 4
#define _MACH_HOST_SPECIAL_PORTS_H_
#define HOST_SECURITY_PORT 0
#define HOST_PORT 1
#define HOST_PRIV_PORT 2
#define HOST_IO_MASTER_PORT 3
#define HOST_MAX_SPECIAL_KERNEL_PORT 7
#define HOST_DYNAMIC_PAGER_PORT (1 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_AUDIT_CONTROL_PORT (2 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_USER_NOTIFICATION_PORT (3 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_LOCKD_PORT (5 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_SEATBELT_PORT (7 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_MAX_SPECIAL_PORT (8 + HOST_MAX_SPECIAL_KERNEL_PORT)
#define HOST_LOCAL_NODE -1
# 103 "/usr/include/mach/host_special_ports.h" 3 4
#define host_get_host_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_PORT, (port)))
#define host_set_host_port(host,port) (KERN_INVALID_ARGUMENT)
#define host_get_host_priv_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_PRIV_PORT, (port)))
#define host_set_host_priv_port(host,port) (KERN_INVALID_ARGUMENT)
#define host_get_io_master_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_IO_MASTER_PORT, (port)))
#define host_set_io_master_port(host,port) (KERN_INVALID_ARGUMENT)
#define host_get_dynamic_pager_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_DYNAMIC_PAGER_PORT, (port)))
#define host_set_dynamic_pager_port(host,port) (host_set_special_port((host), HOST_DYNAMIC_PAGER_PORT, (port)))
#define host_get_audit_control_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_AUDIT_CONTROL_PORT, (port)))
#define host_set_audit_control_port(host,port) (host_set_special_port((host), HOST_AUDIT_CONTROL_PORT, (port)))
#define host_get_user_notification_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_USER_NOTIFICATION_PORT, (port)))
#define host_set_user_notification_port(host,port) (host_set_special_port((host), HOST_USER_NOTIFICATION_PORT, (port)))
#define host_get_lockd_port(host,port) (host_get_special_port((host), HOST_LOCAL_NODE, HOST_LOCKD_PORT, (port)))
#define host_set_lockd_port(host,port) (host_set_special_port((host), HOST_LOCKD_PORT, (port)))
# 83 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/memory_object_types.h" 1 3 4
# 66 "/usr/include/mach/memory_object_types.h" 3 4
#define _MACH_MEMORY_OBJECT_TYPES_H_
# 75 "/usr/include/mach/memory_object_types.h" 3 4
# 1 "/usr/include/mach/vm_prot.h" 1 3 4
# 67 "/usr/include/mach/vm_prot.h" 3 4
#define _MACH_VM_PROT_H_
typedef int vm_prot_t;
#define VM_PROT_NONE ((vm_prot_t) 0x00)
#define VM_PROT_READ ((vm_prot_t) 0x01)
#define VM_PROT_WRITE ((vm_prot_t) 0x02)
#define VM_PROT_EXECUTE ((vm_prot_t) 0x04)
#define VM_PROT_DEFAULT (VM_PROT_READ|VM_PROT_WRITE)
#define VM_PROT_ALL (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE)
# 106 "/usr/include/mach/vm_prot.h" 3 4
#define VM_PROT_NO_CHANGE ((vm_prot_t) 0x08)
# 116 "/usr/include/mach/vm_prot.h" 3 4
#define VM_PROT_COPY ((vm_prot_t) 0x10)
# 130 "/usr/include/mach/vm_prot.h" 3 4
#define VM_PROT_WANTS_COPY ((vm_prot_t) 0x10)
# 76 "/usr/include/mach/memory_object_types.h" 2 3 4
# 1 "/usr/include/mach/vm_sync.h" 1 3 4
# 64 "/usr/include/mach/vm_sync.h" 3 4
#define _MACH_VM_SYNC_H_
typedef unsigned vm_sync_t;
#define VM_SYNC_ASYNCHRONOUS ((vm_sync_t) 0x01)
#define VM_SYNC_SYNCHRONOUS ((vm_sync_t) 0x02)
#define VM_SYNC_INVALIDATE ((vm_sync_t) 0x04)
#define VM_SYNC_KILLPAGES ((vm_sync_t) 0x08)
#define VM_SYNC_DEACTIVATE ((vm_sync_t) 0x10)
#define VM_SYNC_CONTIGUOUS ((vm_sync_t) 0x20)
# 77 "/usr/include/mach/memory_object_types.h" 2 3 4
# 1 "/usr/include/mach/vm_types.h" 1 3 4
# 33 "/usr/include/mach/vm_types.h" 3 4
#define _MACH_VM_TYPES_H_
typedef vm_offset_t pointer_t;
typedef vm_offset_t vm_address_t;
typedef uint64_t addr64_t;
# 61 "/usr/include/mach/vm_types.h" 3 4
typedef uint32_t reg64_t;
typedef uint32_t ppnum_t;
#define PPNUM_MAX UINT32_MAX
typedef mach_port_t vm_map_t;
#define VM_MAP_NULL ((vm_map_t) 0)
typedef uint64_t vm_object_offset_t;
typedef uint64_t vm_object_size_t;
typedef mach_port_t upl_t;
typedef mach_port_t vm_named_entry_t;
#define UPL_NULL ((upl_t) 0)
#define VM_NAMED_ENTRY_NULL ((vm_named_entry_t) 0)
# 78 "/usr/include/mach/memory_object_types.h" 2 3 4
#define VM_64_BIT_DATA_OBJECTS
typedef unsigned long long memory_object_offset_t;
typedef unsigned long long memory_object_size_t;
typedef natural_t memory_object_cluster_size_t;
typedef natural_t * memory_object_fault_info_t;
typedef mach_port_t memory_object_t;
typedef mach_port_t memory_object_control_t;
typedef memory_object_t *memory_object_array_t;
typedef mach_port_t memory_object_name_t;
typedef mach_port_t memory_object_default_t;
#define MEMORY_OBJECT_NULL ((memory_object_t) 0)
#define MEMORY_OBJECT_CONTROL_NULL ((memory_object_control_t) 0)
#define MEMORY_OBJECT_NAME_NULL ((memory_object_name_t) 0)
#define MEMORY_OBJECT_DEFAULT_NULL ((memory_object_default_t) 0)
typedef int memory_object_copy_strategy_t;
#define MEMORY_OBJECT_COPY_NONE 0
#define MEMORY_OBJECT_COPY_CALL 1
#define MEMORY_OBJECT_COPY_DELAY 2
#define MEMORY_OBJECT_COPY_TEMPORARY 3
#define MEMORY_OBJECT_COPY_SYMMETRIC 4
# 144 "/usr/include/mach/memory_object_types.h" 3 4
#define MEMORY_OBJECT_COPY_INVALID 5
# 154 "/usr/include/mach/memory_object_types.h" 3 4
typedef int memory_object_return_t;
#define MEMORY_OBJECT_RETURN_NONE 0
#define MEMORY_OBJECT_RETURN_DIRTY 1
#define MEMORY_OBJECT_RETURN_ALL 2
#define MEMORY_OBJECT_RETURN_ANYTHING 3
#define MEMORY_OBJECT_DATA_FLUSH 0x1
#define MEMORY_OBJECT_DATA_NO_CHANGE 0x2
#define MEMORY_OBJECT_DATA_PURGE 0x4
#define MEMORY_OBJECT_COPY_SYNC 0x8
#define MEMORY_OBJECT_DATA_SYNC 0x10
#define MEMORY_OBJECT_IO_SYNC 0x20
#define MEMORY_OBJECT_INFO_MAX (1024)
typedef int *memory_object_info_t;
typedef int memory_object_flavor_t;
typedef int memory_object_info_data_t[(1024)];
#define MEMORY_OBJECT_PERFORMANCE_INFO 11
#define MEMORY_OBJECT_ATTRIBUTE_INFO 14
#define MEMORY_OBJECT_BEHAVIOR_INFO 15
struct memory_object_perf_info {
memory_object_cluster_size_t cluster_size;
boolean_t may_cache;
};
struct memory_object_attr_info {
memory_object_copy_strategy_t copy_strategy;
memory_object_cluster_size_t cluster_size;
boolean_t may_cache_object;
boolean_t temporary;
};
struct memory_object_behave_info {
memory_object_copy_strategy_t copy_strategy;
boolean_t temporary;
boolean_t invalidate;
boolean_t silent_overwrite;
boolean_t advisory_pageout;
};
typedef struct memory_object_behave_info *memory_object_behave_info_t;
typedef struct memory_object_behave_info memory_object_behave_info_data_t;
typedef struct memory_object_perf_info *memory_object_perf_info_t;
typedef struct memory_object_perf_info memory_object_perf_info_data_t;
typedef struct memory_object_attr_info *memory_object_attr_info_t;
typedef struct memory_object_attr_info memory_object_attr_info_data_t;
#define MEMORY_OBJECT_BEHAVE_INFO_COUNT ((mach_msg_type_number_t) (sizeof(memory_object_behave_info_data_t)/sizeof(int)))
#define MEMORY_OBJECT_PERF_INFO_COUNT ((mach_msg_type_number_t) (sizeof(memory_object_perf_info_data_t)/sizeof(int)))
#define MEMORY_OBJECT_ATTR_INFO_COUNT ((mach_msg_type_number_t) (sizeof(memory_object_attr_info_data_t)/sizeof(int)))
#define invalid_memory_object_flavor(f) (f != MEMORY_OBJECT_ATTRIBUTE_INFO && f != MEMORY_OBJECT_PERFORMANCE_INFO && f != OLD_MEMORY_OBJECT_BEHAVIOR_INFO && f != MEMORY_OBJECT_BEHAVIOR_INFO && f != OLD_MEMORY_OBJECT_ATTRIBUTE_INFO)
# 240 "/usr/include/mach/memory_object_types.h" 3 4
#define MEMORY_OBJECT_TERMINATE_IDLE 0x1
#define MEMORY_OBJECT_RESPECT_CACHE 0x2
#define MEMORY_OBJECT_RELEASE_NO_OP 0x4
#define MAP_MEM_NOOP 0
#define MAP_MEM_COPYBACK 1
#define MAP_MEM_IO 2
#define MAP_MEM_WTHRU 3
#define MAP_MEM_WCOMB 4
#define GET_MAP_MEM(flags) ((((unsigned int)(flags)) >> 24) & 0xFF)
#define SET_MAP_MEM(caching,flags) ((flags) = ((((unsigned int)(caching)) << 24) & 0xFF000000) | ((flags) & 0xFFFFFF));
#define MAP_MEM_ONLY 0x10000
#define MAP_MEM_NAMED_CREATE 0x20000
#define MAP_MEM_PURGABLE 0x40000
#define MAP_MEM_NAMED_REUSE 0x80000
# 86 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/exception_types.h" 1 3 4
# 60 "/usr/include/mach/exception_types.h" 3 4
#define _MACH_EXCEPTION_TYPES_H_
# 1 "/usr/include/mach/machine/exception.h" 1 3 4
# 30 "/usr/include/mach/machine/exception.h" 3 4
#define _MACH_MACHINE_EXCEPTION_H_
# 1 "/usr/include/mach/i386/exception.h" 1 3 4
# 60 "/usr/include/mach/i386/exception.h" 3 4
#define _MACH_I386_EXCEPTION_H_
#define EXC_TYPES_COUNT 11
#define EXCEPTION_CODE_MAX 2
#define EXC_I386_INVOP 1
#define EXC_I386_DIV 1
#define EXC_I386_INTO 2
#define EXC_I386_NOEXT 3
#define EXC_I386_EXTOVR 4
#define EXC_I386_EXTERR 5
#define EXC_I386_EMERR 6
#define EXC_I386_BOUND 7
#define EXC_I386_SSEEXTERR 8
# 106 "/usr/include/mach/i386/exception.h" 3 4
#define EXC_I386_SGL 1
#define EXC_I386_BPT 2
#define EXC_I386_DIVERR 0
#define EXC_I386_SGLSTP 1
#define EXC_I386_NMIFLT 2
#define EXC_I386_BPTFLT 3
#define EXC_I386_INTOFLT 4
#define EXC_I386_BOUNDFLT 5
#define EXC_I386_INVOPFLT 6
#define EXC_I386_NOEXTFLT 7
#define EXC_I386_DBLFLT 8
#define EXC_I386_EXTOVRFLT 9
#define EXC_I386_INVTSSFLT 10
#define EXC_I386_SEGNPFLT 11
#define EXC_I386_STKFLT 12
#define EXC_I386_GPFLT 13
#define EXC_I386_PGFLT 14
#define EXC_I386_EXTERRFLT 16
#define EXC_I386_ALIGNFLT 17
#define EXC_I386_ENDPERR 33
#define EXC_I386_ENOEXTFLT 32
#define EXC_MASK_MACHINE 0
# 36 "/usr/include/mach/machine/exception.h" 2 3 4
# 63 "/usr/include/mach/exception_types.h" 2 3 4
#define EXC_BAD_ACCESS 1
#define EXC_BAD_INSTRUCTION 2
#define EXC_ARITHMETIC 3
#define EXC_EMULATION 4
#define EXC_SOFTWARE 5
#define EXC_BREAKPOINT 6
#define EXC_SYSCALL 7
#define EXC_MACH_SYSCALL 8
#define EXC_RPC_ALERT 9
#define EXC_CRASH 10
#define EXCEPTION_DEFAULT 1
#define EXCEPTION_STATE 2
#define EXCEPTION_STATE_IDENTITY 3
#define MACH_EXCEPTION_CODES 0x80000000
#define EXC_MASK_BAD_ACCESS (1 << EXC_BAD_ACCESS)
#define EXC_MASK_BAD_INSTRUCTION (1 << EXC_BAD_INSTRUCTION)
#define EXC_MASK_ARITHMETIC (1 << EXC_ARITHMETIC)
#define EXC_MASK_EMULATION (1 << EXC_EMULATION)
#define EXC_MASK_SOFTWARE (1 << EXC_SOFTWARE)
#define EXC_MASK_BREAKPOINT (1 << EXC_BREAKPOINT)
#define EXC_MASK_SYSCALL (1 << EXC_SYSCALL)
#define EXC_MASK_MACH_SYSCALL (1 << EXC_MACH_SYSCALL)
#define EXC_MASK_RPC_ALERT (1 << EXC_RPC_ALERT)
#define EXC_MASK_CRASH (1 << EXC_CRASH)
#define EXC_MASK_ALL (EXC_MASK_BAD_ACCESS | EXC_MASK_BAD_INSTRUCTION | EXC_MASK_ARITHMETIC | EXC_MASK_EMULATION | EXC_MASK_SOFTWARE | EXC_MASK_BREAKPOINT | EXC_MASK_SYSCALL | EXC_MASK_MACH_SYSCALL | EXC_MASK_RPC_ALERT | EXC_MASK_CRASH | EXC_MASK_MACHINE)
# 148 "/usr/include/mach/exception_types.h" 3 4
#define FIRST_EXCEPTION 1
#define EXC_SOFT_SIGNAL 0x10003
# 1 "/usr/include/mach/thread_status.h" 1 3 4
# 69 "/usr/include/mach/thread_status.h" 3 4
#define _MACH_THREAD_STATUS_H_
# 1 "/usr/include/mach/machine/thread_status.h" 1 3 4
# 30 "/usr/include/mach/machine/thread_status.h" 3 4
#define _MACH_MACHINE_THREAD_STATUS_H_
# 1 "/usr/include/mach/i386/thread_status.h" 1 3 4
# 68 "/usr/include/mach/i386/thread_status.h" 3 4
#define _MACH_I386_THREAD_STATUS_H_
# 1 "/usr/include/mach/i386/fp_reg.h" 1 3 4
# 60 "/usr/include/mach/i386/fp_reg.h" 3 4
#define _I386_FP_SAVE_H_
struct x86_fx_save {
unsigned short fx_control;
unsigned short fx_status;
unsigned char fx_tag;
unsigned char fx_bbz1;
unsigned short fx_opcode;
unsigned int fx_eip;
unsigned short fx_cs;
unsigned short fx_bbz2;
unsigned int fx_dp;
unsigned short fx_ds;
unsigned short fx_bbz3;
unsigned int fx_MXCSR;
unsigned int fx_MXCSR_MASK;
unsigned short fx_reg_word[8][8];
unsigned short fx_XMM_reg[8][16];
unsigned char fx_reserved[16*6];
};
#define FPC_IE 0x0001
#define FPC_IM FPC_IE
#define FPC_DE 0x0002
#define FPC_DM FPC_DE
#define FPC_ZE 0x0004
#define FPC_ZM FPC_ZE
#define FPC_OE 0x0008
#define FPC_OM FPC_OE
#define FPC_UE 0x0010
#define FPC_PE 0x0020
#define FPC_PC 0x0300
#define FPC_PC_24 0x0000
#define FPC_PC_53 0x0200
#define FPC_PC_64 0x0300
#define FPC_RC 0x0c00
#define FPC_RC_RN 0x0000
#define FPC_RC_RD 0x0400
#define FPC_RC_RU 0x0800
#define FPC_RC_CHOP 0x0c00
#define FPC_IC 0x1000
#define FPC_IC_PROJ 0x0000
#define FPC_IC_AFF 0x1000
#define FPS_IE 0x0001
#define FPS_DE 0x0002
#define FPS_ZE 0x0004
#define FPS_OE 0x0008
#define FPS_UE 0x0010
#define FPS_PE 0x0020
#define FPS_SF 0x0040
#define FPS_ES 0x0080
#define FPS_C0 0x0100
#define FPS_C1 0x0200
#define FPS_C2 0x0400
#define FPS_TOS 0x3800
#define FPS_TOS_SHIFT 11
#define FPS_C3 0x4000
#define FPS_BUSY 0x8000
#define FP_NO 0
#define FP_SOFT 1
#define FP_287 2
#define FP_387 3
#define FP_FXSR 4
# 73 "/usr/include/mach/i386/thread_status.h" 2 3 4
# 1 "/usr/include/mach/i386/thread_state.h" 1 3 4
# 33 "/usr/include/mach/i386/thread_state.h" 3 4
#define _MACH_I386_THREAD_STATE_H_
#define I386_THREAD_STATE_MAX (144)
#define THREAD_STATE_MAX I386_THREAD_STATE_MAX
# 74 "/usr/include/mach/i386/thread_status.h" 2 3 4
# 1 "/usr/include/i386/eflags.h" 1 3 4
# 60 "/usr/include/i386/eflags.h" 3 4
#define _I386_EFLAGS_H_
#define EFL_CF 0x00000001
#define EFL_PF 0x00000004
#define EFL_AF 0x00000010
#define EFL_ZF 0x00000040
#define EFL_SF 0x00000080
#define EFL_TF 0x00000100
#define EFL_IF 0x00000200
#define EFL_DF 0x00000400
#define EFL_OF 0x00000800
#define EFL_IOPL 0x00003000
#define EFL_IOPL_KERNEL 0x00000000
#define EFL_IOPL_USER 0x00003000
#define EFL_NT 0x00004000
#define EFL_RF 0x00010000
#define EFL_VM 0x00020000
#define EFL_AC 0x00040000
#define EFL_VIF 0x00080000
#define EFL_VIP 0x00100000
#define EFL_ID 0x00200000
#define EFL_CLR 0xfff88028
#define EFL_SET 0x00000002
#define EFL_USER_SET (EFL_IF)
#define EFL_USER_CLEAR (EFL_IOPL|EFL_NT|EFL_RF)
# 75 "/usr/include/mach/i386/thread_status.h" 2 3 4
# 92 "/usr/include/mach/i386/thread_status.h" 3 4
#define i386_THREAD_STATE 1
#define i386_FLOAT_STATE 2
#define i386_EXCEPTION_STATE 3
#define x86_THREAD_STATE32 1
#define x86_FLOAT_STATE32 2
#define x86_EXCEPTION_STATE32 3
#define x86_THREAD_STATE64 4
#define x86_FLOAT_STATE64 5
#define x86_EXCEPTION_STATE64 6
#define x86_THREAD_STATE 7
#define x86_FLOAT_STATE 8
#define x86_EXCEPTION_STATE 9
#define x86_DEBUG_STATE32 10
#define x86_DEBUG_STATE64 11
#define x86_DEBUG_STATE 12
#define THREAD_STATE_NONE 13
#define THREAD_MACHINE_STATE_MAX THREAD_STATE_MAX
#define VALID_THREAD_STATE_FLAVOR(x) ((x == x86_THREAD_STATE32) || (x == x86_FLOAT_STATE32) || (x == x86_EXCEPTION_STATE32) || (x == x86_DEBUG_STATE32) || (x == x86_THREAD_STATE64) || (x == x86_FLOAT_STATE64) || (x == x86_EXCEPTION_STATE64) || (x == x86_DEBUG_STATE64) || (x == x86_THREAD_STATE) || (x == x86_FLOAT_STATE) || (x == x86_EXCEPTION_STATE) || (x == x86_DEBUG_STATE) || (x == THREAD_STATE_NONE))
# 141 "/usr/include/mach/i386/thread_status.h" 3 4
struct x86_state_hdr {
int flavor;
int count;
};
typedef struct x86_state_hdr x86_state_hdr_t;
#define USER_CODE_SELECTOR 0x0017
#define USER_DATA_SELECTOR 0x001f
#define KERN_CODE_SELECTOR 0x0008
#define KERN_DATA_SELECTOR 0x0010
typedef struct __darwin_i386_thread_state i386_thread_state_t;
#define i386_THREAD_STATE_COUNT ((mach_msg_type_number_t) ( sizeof (i386_thread_state_t) / sizeof (int) ))
typedef struct __darwin_i386_thread_state x86_thread_state32_t;
#define x86_THREAD_STATE32_COUNT ((mach_msg_type_number_t) ( sizeof (x86_thread_state32_t) / sizeof (int) ))
typedef struct __darwin_i386_float_state i386_float_state_t;
#define i386_FLOAT_STATE_COUNT ((mach_msg_type_number_t) (sizeof(i386_float_state_t)/sizeof(unsigned int)))
typedef struct __darwin_i386_float_state x86_float_state32_t;
#define x86_FLOAT_STATE32_COUNT ((mach_msg_type_number_t) (sizeof(x86_float_state32_t)/sizeof(unsigned int)))
typedef struct __darwin_i386_exception_state i386_exception_state_t;
#define i386_EXCEPTION_STATE_COUNT ((mach_msg_type_number_t) ( sizeof (i386_exception_state_t) / sizeof (int) ))
typedef struct __darwin_i386_exception_state x86_exception_state32_t;
#define x86_EXCEPTION_STATE32_COUNT ((mach_msg_type_number_t) ( sizeof (x86_exception_state32_t) / sizeof (int) ))
#define I386_EXCEPTION_STATE_COUNT i386_EXCEPTION_STATE_COUNT
typedef struct __darwin_x86_debug_state32 x86_debug_state32_t;
#define x86_DEBUG_STATE32_COUNT ((mach_msg_type_number_t) ( sizeof (x86_debug_state32_t) / sizeof (int) ))
#define X86_DEBUG_STATE32_COUNT x86_DEBUG_STATE32_COUNT
typedef struct __darwin_x86_thread_state64 x86_thread_state64_t;
#define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) ( sizeof (x86_thread_state64_t) / sizeof (int) ))
typedef struct __darwin_x86_float_state64 x86_float_state64_t;
#define x86_FLOAT_STATE64_COUNT ((mach_msg_type_number_t) (sizeof(x86_float_state64_t)/sizeof(unsigned int)))
typedef struct __darwin_x86_exception_state64 x86_exception_state64_t;
#define x86_EXCEPTION_STATE64_COUNT ((mach_msg_type_number_t) ( sizeof (x86_exception_state64_t) / sizeof (int) ))
#define X86_EXCEPTION_STATE64_COUNT x86_EXCEPTION_STATE64_COUNT
typedef struct __darwin_x86_debug_state64 x86_debug_state64_t;
#define x86_DEBUG_STATE64_COUNT ((mach_msg_type_number_t) ( sizeof (x86_debug_state64_t) / sizeof (int) ))
#define X86_DEBUG_STATE64_COUNT x86_DEBUG_STATE64_COUNT
struct x86_thread_state {
x86_state_hdr_t tsh;
union {
x86_thread_state32_t ts32;
x86_thread_state64_t ts64;
} uts;
};
struct x86_float_state {
x86_state_hdr_t fsh;
union {
x86_float_state32_t fs32;
x86_float_state64_t fs64;
} ufs;
};
struct x86_exception_state {
x86_state_hdr_t esh;
union {
x86_exception_state32_t es32;
x86_exception_state64_t es64;
} ues;
};
struct x86_debug_state {
x86_state_hdr_t dsh;
union {
x86_debug_state32_t ds32;
x86_debug_state64_t ds64;
} uds;
};
typedef struct x86_thread_state x86_thread_state_t;
#define x86_THREAD_STATE_COUNT ((mach_msg_type_number_t) ( sizeof (x86_thread_state_t) / sizeof (int) ))
typedef struct x86_float_state x86_float_state_t;
#define x86_FLOAT_STATE_COUNT ((mach_msg_type_number_t) (sizeof(x86_float_state_t)/sizeof(unsigned int)))
typedef struct x86_exception_state x86_exception_state_t;
#define x86_EXCEPTION_STATE_COUNT ((mach_msg_type_number_t) (sizeof(x86_exception_state_t)/sizeof(unsigned int)))
typedef struct x86_debug_state x86_debug_state_t;
#define x86_DEBUG_STATE_COUNT ((mach_msg_type_number_t) (sizeof(x86_debug_state_t)/sizeof(unsigned int)))
#define MACHINE_THREAD_STATE x86_THREAD_STATE
#define MACHINE_THREAD_STATE_COUNT x86_THREAD_STATE_COUNT
# 288 "/usr/include/mach/i386/thread_status.h" 3 4
struct x86_seg_load_fault32 {
unsigned int trapno;
unsigned int err;
unsigned int eip;
unsigned int cs;
unsigned int efl;
};
# 36 "/usr/include/mach/machine/thread_status.h" 2 3 4
# 77 "/usr/include/mach/thread_status.h" 2 3 4
# 1 "/usr/include/mach/machine/thread_state.h" 1 3 4
# 30 "/usr/include/mach/machine/thread_state.h" 3 4
#define _MACH_MACHINE_THREAD_STATE_H_
# 78 "/usr/include/mach/thread_status.h" 2 3 4
typedef natural_t *thread_state_t;
typedef natural_t thread_state_data_t[(144)];
#define THREAD_STATE_FLAVOR_LIST 0
#define THREAD_STATE_FLAVOR_LIST_NEW 128
typedef int thread_state_flavor_t;
typedef thread_state_flavor_t *thread_state_flavor_array_t;
# 161 "/usr/include/mach/exception_types.h" 2 3 4
typedef int exception_type_t;
typedef integer_t exception_data_type_t;
typedef int64_t mach_exception_data_type_t;
typedef int exception_behavior_t;
typedef exception_data_type_t *exception_data_t;
typedef mach_exception_data_type_t *mach_exception_data_t;
typedef unsigned int exception_mask_t;
typedef exception_mask_t *exception_mask_array_t;
typedef exception_behavior_t *exception_behavior_array_t;
typedef thread_state_flavor_t *exception_flavor_array_t;
typedef mach_port_t *exception_port_array_t;
typedef mach_exception_data_type_t mach_exception_code_t;
typedef mach_exception_data_type_t mach_exception_subcode_t;
# 88 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/processor_info.h" 1 3 4
# 68 "/usr/include/mach/processor_info.h" 3 4
#define _MACH_PROCESSOR_INFO_H_
# 1 "/usr/include/mach/machine/processor_info.h" 1 3 4
# 30 "/usr/include/mach/machine/processor_info.h" 3 4
#define _MACH_MACHINE_PROCESSOR_INFO_H_
# 1 "/usr/include/mach/i386/processor_info.h" 1 3 4
# 35 "/usr/include/mach/i386/processor_info.h" 3 4
#define _MACH_I386_PROCESSOR_INFO_H_
# 36 "/usr/include/mach/machine/processor_info.h" 2 3 4
# 73 "/usr/include/mach/processor_info.h" 2 3 4
typedef integer_t *processor_info_t;
typedef integer_t *processor_info_array_t;
#define PROCESSOR_INFO_MAX (1024)
typedef integer_t processor_info_data_t[(1024)];
typedef integer_t *processor_set_info_t;
#define PROCESSOR_SET_INFO_MAX (1024)
typedef integer_t processor_set_info_data_t[(1024)];
typedef int processor_flavor_t;
#define PROCESSOR_BASIC_INFO 1
#define PROCESSOR_CPU_LOAD_INFO 2
#define PROCESSOR_PM_REGS_INFO 0x10000001
#define PROCESSOR_TEMPERATURE 0x10000002
struct processor_basic_info {
cpu_type_t cpu_type;
cpu_subtype_t cpu_subtype;
boolean_t running;
int slot_num;
boolean_t is_master;
};
typedef struct processor_basic_info processor_basic_info_data_t;
typedef struct processor_basic_info *processor_basic_info_t;
#define PROCESSOR_BASIC_INFO_COUNT ((mach_msg_type_number_t) (sizeof(processor_basic_info_data_t)/sizeof(natural_t)))
struct processor_cpu_load_info {
unsigned int cpu_ticks[4];
};
typedef struct processor_cpu_load_info processor_cpu_load_info_data_t;
typedef struct processor_cpu_load_info *processor_cpu_load_info_t;
#define PROCESSOR_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) (sizeof(processor_cpu_load_info_data_t)/sizeof(natural_t)))
#define LOAD_SCALE 1000
typedef int processor_set_flavor_t;
#define PROCESSOR_SET_BASIC_INFO 5
struct processor_set_basic_info {
int processor_count;
int default_policy;
};
typedef struct processor_set_basic_info processor_set_basic_info_data_t;
typedef struct processor_set_basic_info *processor_set_basic_info_t;
#define PROCESSOR_SET_BASIC_INFO_COUNT ((mach_msg_type_number_t) (sizeof(processor_set_basic_info_data_t)/sizeof(natural_t)))
#define PROCESSOR_SET_LOAD_INFO 4
struct processor_set_load_info {
int task_count;
int thread_count;
integer_t load_average;
integer_t mach_factor;
};
typedef struct processor_set_load_info processor_set_load_info_data_t;
typedef struct processor_set_load_info *processor_set_load_info_t;
#define PROCESSOR_SET_LOAD_INFO_COUNT ((mach_msg_type_number_t) (sizeof(processor_set_load_info_data_t)/sizeof(natural_t)))
# 90 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/task_info.h" 1 3 4
# 66 "/usr/include/mach/task_info.h" 3 4
#define _MACH_TASK_INFO_H_
# 1 "/usr/include/mach/policy.h" 1 3 4
# 60 "/usr/include/mach/policy.h" 3 4
#define _MACH_POLICY_H_
# 79 "/usr/include/mach/policy.h" 3 4
typedef int policy_t;
typedef integer_t *policy_info_t;
typedef integer_t *policy_base_t;
typedef integer_t *policy_limit_t;
#define POLICY_NULL 0
#define POLICY_TIMESHARE 1
#define POLICY_RR 2
#define POLICY_FIFO 4
#define __NEW_SCHEDULING_FRAMEWORK__
#define POLICYCLASS_FIXEDPRI (POLICY_RR | POLICY_FIFO)
#define invalid_policy(policy) ((policy) != POLICY_TIMESHARE && (policy) != POLICY_RR && (policy) != POLICY_FIFO)
# 113 "/usr/include/mach/policy.h" 3 4
struct policy_timeshare_base {
integer_t base_priority;
};
struct policy_timeshare_limit {
integer_t max_priority;
};
struct policy_timeshare_info {
integer_t max_priority;
integer_t base_priority;
integer_t cur_priority;
boolean_t depressed;
integer_t depress_priority;
};
typedef struct policy_timeshare_base *policy_timeshare_base_t;
typedef struct policy_timeshare_limit *policy_timeshare_limit_t;
typedef struct policy_timeshare_info *policy_timeshare_info_t;
typedef struct policy_timeshare_base policy_timeshare_base_data_t;
typedef struct policy_timeshare_limit policy_timeshare_limit_data_t;
typedef struct policy_timeshare_info policy_timeshare_info_data_t;
#define POLICY_TIMESHARE_BASE_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_timeshare_base)/sizeof(integer_t)))
#define POLICY_TIMESHARE_LIMIT_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_timeshare_limit)/sizeof(integer_t)))
#define POLICY_TIMESHARE_INFO_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_timeshare_info)/sizeof(integer_t)))
struct policy_rr_base {
integer_t base_priority;
integer_t quantum;
};
struct policy_rr_limit {
integer_t max_priority;
};
struct policy_rr_info {
integer_t max_priority;
integer_t base_priority;
integer_t quantum;
boolean_t depressed;
integer_t depress_priority;
};
typedef struct policy_rr_base *policy_rr_base_t;
typedef struct policy_rr_limit *policy_rr_limit_t;
typedef struct policy_rr_info *policy_rr_info_t;
typedef struct policy_rr_base policy_rr_base_data_t;
typedef struct policy_rr_limit policy_rr_limit_data_t;
typedef struct policy_rr_info policy_rr_info_data_t;
#define POLICY_RR_BASE_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_rr_base)/sizeof(integer_t)))
#define POLICY_RR_LIMIT_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_rr_limit)/sizeof(integer_t)))
#define POLICY_RR_INFO_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_rr_info)/sizeof(integer_t)))
struct policy_fifo_base {
integer_t base_priority;
};
struct policy_fifo_limit {
integer_t max_priority;
};
struct policy_fifo_info {
integer_t max_priority;
integer_t base_priority;
boolean_t depressed;
integer_t depress_priority;
};
typedef struct policy_fifo_base *policy_fifo_base_t;
typedef struct policy_fifo_limit *policy_fifo_limit_t;
typedef struct policy_fifo_info *policy_fifo_info_t;
typedef struct policy_fifo_base policy_fifo_base_data_t;
typedef struct policy_fifo_limit policy_fifo_limit_data_t;
typedef struct policy_fifo_info policy_fifo_info_data_t;
#define POLICY_FIFO_BASE_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_fifo_base)/sizeof(integer_t)))
#define POLICY_FIFO_LIMIT_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_fifo_limit)/sizeof(integer_t)))
#define POLICY_FIFO_INFO_COUNT ((mach_msg_type_number_t) (sizeof(struct policy_fifo_info)/sizeof(integer_t)))
struct policy_bases {
policy_timeshare_base_data_t ts;
policy_rr_base_data_t rr;
policy_fifo_base_data_t fifo;
};
struct policy_limits {
policy_timeshare_limit_data_t ts;
policy_rr_limit_data_t rr;
policy_fifo_limit_data_t fifo;
};
struct policy_infos {
policy_timeshare_info_data_t ts;
policy_rr_info_data_t rr;
policy_fifo_info_data_t fifo;
};
typedef struct policy_bases policy_base_data_t;
typedef struct policy_limits policy_limit_data_t;
typedef struct policy_infos policy_info_data_t;
# 72 "/usr/include/mach/task_info.h" 2 3 4
typedef natural_t task_flavor_t;
typedef integer_t *task_info_t;
#define TASK_INFO_MAX (1024)
typedef integer_t task_info_data_t[(1024)];
#pragma pack(4)
#define TASK_BASIC_INFO_32 4
#define TASK_BASIC2_INFO_32 6
struct task_basic_info_32 {
integer_t suspend_count;
natural_t virtual_size;
natural_t resident_size;
time_value_t user_time;
time_value_t system_time;
policy_t policy;
};
typedef struct task_basic_info_32 task_basic_info_32_data_t;
typedef struct task_basic_info_32 *task_basic_info_32_t;
#define TASK_BASIC_INFO_32_COUNT (sizeof(task_basic_info_32_data_t) / sizeof(natural_t))
#define TASK_BASIC_INFO_64 5
struct task_basic_info_64 {
integer_t suspend_count;
mach_vm_size_t virtual_size;
mach_vm_size_t resident_size;
time_value_t user_time;
time_value_t system_time;
policy_t policy;
};
typedef struct task_basic_info_64 task_basic_info_64_data_t;
typedef struct task_basic_info_64 *task_basic_info_64_t;
#define TASK_BASIC_INFO_64_COUNT (sizeof(task_basic_info_64_data_t) / sizeof(natural_t))
struct task_basic_info {
integer_t suspend_count;
vm_size_t virtual_size;
vm_size_t resident_size;
time_value_t user_time;
time_value_t system_time;
policy_t policy;
};
typedef struct task_basic_info task_basic_info_data_t;
typedef struct task_basic_info *task_basic_info_t;
#define TASK_BASIC_INFO_COUNT (sizeof(task_basic_info_data_t) / sizeof(natural_t))
#define TASK_BASIC_INFO TASK_BASIC_INFO_64
#define TASK_EVENTS_INFO 2
struct task_events_info {
integer_t faults;
integer_t pageins;
integer_t cow_faults;
integer_t messages_sent;
integer_t messages_received;
integer_t syscalls_mach;
integer_t syscalls_unix;
integer_t csw;
};
typedef struct task_events_info task_events_info_data_t;
typedef struct task_events_info *task_events_info_t;
#define TASK_EVENTS_INFO_COUNT ((mach_msg_type_number_t) (sizeof(task_events_info_data_t) / sizeof(natural_t)))
#define TASK_THREAD_TIMES_INFO 3
struct task_thread_times_info {
time_value_t user_time;
time_value_t system_time;
};
typedef struct task_thread_times_info task_thread_times_info_data_t;
typedef struct task_thread_times_info *task_thread_times_info_t;
#define TASK_THREAD_TIMES_INFO_COUNT ((mach_msg_type_number_t) (sizeof(task_thread_times_info_data_t) / sizeof(natural_t)))
#define TASK_ABSOLUTETIME_INFO 1
struct task_absolutetime_info {
uint64_t total_user;
uint64_t total_system;
uint64_t threads_user;
uint64_t threads_system;
};
typedef struct task_absolutetime_info task_absolutetime_info_data_t;
typedef struct task_absolutetime_info *task_absolutetime_info_t;
#define TASK_ABSOLUTETIME_INFO_COUNT ((mach_msg_type_number_t) (sizeof (task_absolutetime_info_data_t) / sizeof (natural_t)))
#define TASK_SECURITY_TOKEN 13
#define TASK_SECURITY_TOKEN_COUNT ((mach_msg_type_number_t) (sizeof(security_token_t) / sizeof(natural_t)))
#define TASK_AUDIT_TOKEN 15
#define TASK_AUDIT_TOKEN_COUNT (sizeof(audit_token_t) / sizeof(natural_t))
#define TASK_AFFINITY_TAG_INFO 16
struct task_affinity_tag_info {
integer_t set_count;
integer_t min;
integer_t max;
integer_t task_count;
};
typedef struct task_affinity_tag_info task_affinity_tag_info_data_t;
typedef struct task_affinity_tag_info *task_affinity_tag_info_t;
#define TASK_AFFINITY_TAG_INFO_COUNT (sizeof(task_affinity_tag_info_data_t) / sizeof(natural_t))
#pragma pack()
#define TASK_SCHED_TIMESHARE_INFO 10
#define TASK_SCHED_RR_INFO 11
#define TASK_SCHED_FIFO_INFO 12
#define TASK_SCHED_INFO 14
# 91 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/task_policy.h" 1 3 4
# 30 "/usr/include/mach/task_policy.h" 3 4
#define _MACH_TASK_POLICY_H_
# 1 "/usr/include/mach/mach_types.h" 1 3 4
# 33 "/usr/include/mach/task_policy.h" 2 3 4
# 51 "/usr/include/mach/task_policy.h" 3 4
typedef natural_t task_policy_flavor_t;
typedef integer_t *task_policy_t;
# 104 "/usr/include/mach/task_policy.h" 3 4
#define TASK_CATEGORY_POLICY 1
enum task_role {
TASK_RENICED = -1,
TASK_UNSPECIFIED = 0,
TASK_FOREGROUND_APPLICATION,
TASK_BACKGROUND_APPLICATION,
TASK_CONTROL_APPLICATION,
TASK_GRAPHICS_SERVER
};
typedef enum task_role task_role_t;
struct task_category_policy {
task_role_t role;
};
typedef struct task_category_policy task_category_policy_data_t;
typedef struct task_category_policy *task_category_policy_t;
#define TASK_CATEGORY_POLICY_COUNT ((mach_msg_type_number_t) (sizeof (task_category_policy_data_t) / sizeof (integer_t)))
# 92 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/task_special_ports.h" 1 3 4
# 68 "/usr/include/mach/task_special_ports.h" 3 4
#define _MACH_TASK_SPECIAL_PORTS_H_
typedef int task_special_port_t;
#define TASK_KERNEL_PORT 1
#define TASK_HOST_PORT 2
#define TASK_NAME_PORT 3
#define TASK_BOOTSTRAP_PORT 4
#define TASK_WIRED_LEDGER_PORT 5
#define TASK_PAGED_LEDGER_PORT 6
#define TASK_SEATBELT_PORT 7
#define TASK_GSSD_PORT 8
#define TASK_ACCESS_PORT 9
#define TASK_AUTOMOUNTD_PORT 10
#define task_get_wired_ledger_port(task,port) (task_get_special_port((task), TASK_WIRED_LEDGER_PORT, (port)))
#define task_set_wired_ledger_port(task,port) (task_set_special_port((task), TASK_WIRED_LEDGER_PORT, (port)))
#define task_get_paged_ledger_port(task,port) (task_get_special_port((task), TASK_PAGED_LEDGER_PORT, (port)))
#define task_set_paged_ledger_port(task,port) (task_set_special_port((task), TASK_PAGED_LEDGER_PORT, (port)))
#define task_get_kernel_port(task,port) (task_get_special_port((task), TASK_KERNEL_PORT, (port)))
#define task_set_kernel_port(task,port) (task_set_special_port((task), TASK_KERNEL_PORT, (port)))
#define task_get_host_port(task,port) (task_get_special_port((task), TASK_HOST_PORT, (port)))
#define task_set_host_port(task,port) (task_set_special_port((task), TASK_HOST_PORT, (port)))
#define task_get_bootstrap_port(task,port) (task_get_special_port((task), TASK_BOOTSTRAP_PORT, (port)))
#define task_set_bootstrap_port(task,port) (task_set_special_port((task), TASK_BOOTSTRAP_PORT, (port)))
#define task_get_gssd_port(task,port) (task_get_special_port((task), TASK_GSSD_PORT, (port)))
#define task_set_gssd_port(task,port) (task_set_special_port((task), TASK_GSSD_PORT, (port)))
#define task_get_task_access_port(task,port) (task_get_special_port((task), TASK_ACCESS_PORT, (port)))
#define task_set_task_access_port(task,port) (task_set_special_port((task), TASK_ACCESS_PORT, (port)))
#define task_get_automountd_port(task,port) (task_get_special_port((task), TASK_AUTOMOUNTD_PORT, (port)))
#define task_set_automountd_port(task,port) (task_set_special_port((task), TASK_AUTOMOUNTD_PORT, (port)))
# 93 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/thread_info.h" 1 3 4
# 70 "/usr/include/mach/thread_info.h" 3 4
#define _MACH_THREAD_INFO_H_
# 81 "/usr/include/mach/thread_info.h" 3 4
typedef natural_t thread_flavor_t;
typedef integer_t *thread_info_t;
#define THREAD_INFO_MAX (1024)
typedef integer_t thread_info_data_t[(1024)];
#define THREAD_BASIC_INFO 3
struct thread_basic_info {
time_value_t user_time;
time_value_t system_time;
integer_t cpu_usage;
policy_t policy;
integer_t run_state;
integer_t flags;
integer_t suspend_count;
integer_t sleep_time;
};
typedef struct thread_basic_info thread_basic_info_data_t;
typedef struct thread_basic_info *thread_basic_info_t;
#define THREAD_BASIC_INFO_COUNT ((mach_msg_type_number_t) (sizeof(thread_basic_info_data_t) / sizeof(natural_t)))
#define TH_USAGE_SCALE 1000
#define TH_STATE_RUNNING 1
#define TH_STATE_STOPPED 2
#define TH_STATE_WAITING 3
#define TH_STATE_UNINTERRUPTIBLE 4
#define TH_STATE_HALTED 5
#define TH_FLAGS_SWAPPED 0x1
#define TH_FLAGS_IDLE 0x2
#define THREAD_SCHED_TIMESHARE_INFO 10
#define THREAD_SCHED_RR_INFO 11
#define THREAD_SCHED_FIFO_INFO 12
# 94 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/thread_policy.h" 1 3 4
# 30 "/usr/include/mach/thread_policy.h" 3 4
#define _MACH_THREAD_POLICY_H_
# 51 "/usr/include/mach/thread_policy.h" 3 4
typedef natural_t thread_policy_flavor_t;
typedef integer_t *thread_policy_t;
# 84 "/usr/include/mach/thread_policy.h" 3 4
#define THREAD_STANDARD_POLICY 1
struct thread_standard_policy {
natural_t no_data;
};
typedef struct thread_standard_policy thread_standard_policy_data_t;
typedef struct thread_standard_policy *thread_standard_policy_t;
#define THREAD_STANDARD_POLICY_COUNT 0
# 107 "/usr/include/mach/thread_policy.h" 3 4
#define THREAD_EXTENDED_POLICY 1
struct thread_extended_policy {
boolean_t timeshare;
};
typedef struct thread_extended_policy thread_extended_policy_data_t;
typedef struct thread_extended_policy *thread_extended_policy_t;
#define THREAD_EXTENDED_POLICY_COUNT ((mach_msg_type_number_t) (sizeof (thread_extended_policy_data_t) / sizeof (integer_t)))
# 146 "/usr/include/mach/thread_policy.h" 3 4
#define THREAD_TIME_CONSTRAINT_POLICY 2
struct thread_time_constraint_policy {
uint32_t period;
uint32_t computation;
uint32_t constraint;
boolean_t preemptible;
};
typedef struct thread_time_constraint_policy thread_time_constraint_policy_data_t;
typedef struct thread_time_constraint_policy *thread_time_constraint_policy_t;
#define THREAD_TIME_CONSTRAINT_POLICY_COUNT ((mach_msg_type_number_t) (sizeof (thread_time_constraint_policy_data_t) / sizeof (integer_t)))
# 174 "/usr/include/mach/thread_policy.h" 3 4
#define THREAD_PRECEDENCE_POLICY 3
struct thread_precedence_policy {
integer_t importance;
};
typedef struct thread_precedence_policy thread_precedence_policy_data_t;
typedef struct thread_precedence_policy *thread_precedence_policy_t;
#define THREAD_PRECEDENCE_POLICY_COUNT ((mach_msg_type_number_t) (sizeof (thread_precedence_policy_data_t) / sizeof (integer_t)))
# 204 "/usr/include/mach/thread_policy.h" 3 4
#define THREAD_AFFINITY_POLICY 4
struct thread_affinity_policy {
integer_t affinity_tag;
};
#define THREAD_AFFINITY_TAG_NULL 0
typedef struct thread_affinity_policy thread_affinity_policy_data_t;
typedef struct thread_affinity_policy *thread_affinity_policy_t;
#define THREAD_AFFINITY_POLICY_COUNT ((mach_msg_type_number_t) (sizeof (thread_affinity_policy_data_t) / sizeof (integer_t)))
# 95 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/thread_special_ports.h" 1 3 4
# 68 "/usr/include/mach/thread_special_ports.h" 3 4
#define _MACH_THREAD_SPECIAL_PORTS_H_
#define THREAD_KERNEL_PORT 1
#define thread_get_kernel_port(thread,port) (thread_get_special_port((thread), THREAD_KERNEL_PORT, (port)))
#define thread_set_kernel_port(thread,port) (thread_set_special_port((thread), THREAD_KERNEL_PORT, (port)))
# 96 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/clock_types.h" 1 3 4
# 43 "/usr/include/mach/clock_types.h" 3 4
#define _MACH_CLOCK_TYPES_H_
typedef int alarm_type_t;
typedef int sleep_type_t;
typedef int clock_id_t;
typedef int clock_flavor_t;
typedef int *clock_attr_t;
typedef int clock_res_t;
struct mach_timespec {
unsigned int tv_sec;
clock_res_t tv_nsec;
};
typedef struct mach_timespec mach_timespec_t;
#define SYSTEM_CLOCK 0
#define CALENDAR_CLOCK 1
#define REALTIME_CLOCK 0
#define CLOCK_GET_TIME_RES 1
#define CLOCK_ALARM_CURRES 3
#define CLOCK_ALARM_MINRES 4
#define CLOCK_ALARM_MAXRES 5
#define NSEC_PER_USEC 1000
#define USEC_PER_SEC 1000000
#define NSEC_PER_SEC 1000000000
#define BAD_MACH_TIMESPEC(t) ((t)->tv_nsec < 0 || (t)->tv_nsec >= NSEC_PER_SEC)
#define CMP_MACH_TIMESPEC(t1,t2) ((t1)->tv_sec > (t2)->tv_sec ? +NSEC_PER_SEC : ((t1)->tv_sec < (t2)->tv_sec ? -NSEC_PER_SEC : (t1)->tv_nsec - (t2)->tv_nsec))
#define ADD_MACH_TIMESPEC(t1,t2) do { if (((t1)->tv_nsec += (t2)->tv_nsec) >= NSEC_PER_SEC) { (t1)->tv_nsec -= NSEC_PER_SEC; (t1)->tv_sec += 1; } (t1)->tv_sec += (t2)->tv_sec; } while (0)
# 108 "/usr/include/mach/clock_types.h" 3 4
#define SUB_MACH_TIMESPEC(t1,t2) do { if (((t1)->tv_nsec -= (t2)->tv_nsec) < 0) { (t1)->tv_nsec += NSEC_PER_SEC; (t1)->tv_sec -= 1; } (t1)->tv_sec -= (t2)->tv_sec; } while (0)
# 120 "/usr/include/mach/clock_types.h" 3 4
#define ALRMTYPE 0xff
#define TIME_ABSOLUTE 0x00
#define TIME_RELATIVE 0x01
#define BAD_ALRMTYPE(t) (((t) &~ TIME_RELATIVE) != 0)
# 99 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/vm_attributes.h" 1 3 4
# 71 "/usr/include/mach/vm_attributes.h" 3 4
#define _MACH_VM_ATTRIBUTES_H_
typedef unsigned int vm_machine_attribute_t;
#define MATTR_CACHE 1
#define MATTR_MIGRATE 2
#define MATTR_REPLICATE 4
typedef int vm_machine_attribute_val_t;
#define MATTR_VAL_OFF 0
#define MATTR_VAL_ON 1
#define MATTR_VAL_GET 2
#define MATTR_VAL_CACHE_FLUSH 6
#define MATTR_VAL_DCACHE_FLUSH 7
#define MATTR_VAL_ICACHE_FLUSH 8
#define MATTR_VAL_CACHE_SYNC 9
#define MATTR_VAL_CACHE_SYNC 9
#define MATTR_VAL_GET_INFO 10
# 100 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/vm_inherit.h" 1 3 4
# 67 "/usr/include/mach/vm_inherit.h" 3 4
#define _MACH_VM_INHERIT_H_
typedef unsigned int vm_inherit_t;
#define VM_INHERIT_SHARE ((vm_inherit_t) 0)
#define VM_INHERIT_COPY ((vm_inherit_t) 1)
#define VM_INHERIT_NONE ((vm_inherit_t) 2)
#define VM_INHERIT_DONATE_COPY ((vm_inherit_t) 3)
#define VM_INHERIT_DEFAULT VM_INHERIT_COPY
#define VM_INHERIT_LAST_VALID VM_INHERIT_NONE
# 101 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/vm_purgable.h" 1 3 4
# 45 "/usr/include/mach/vm_purgable.h" 3 4
#define _MACH_VM_PURGABLE_H_
typedef int vm_purgable_t;
#define VM_PURGABLE_SET_STATE ((vm_purgable_t) 0)
#define VM_PURGABLE_GET_STATE ((vm_purgable_t) 1)
#define VM_VOLATILE_GROUP_SHIFT 8
#define VM_VOLATILE_GROUP_MASK (7 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_DEFAULT VM_VOLATILE_GROUP_7
#define VM_VOLATILE_GROUP_0 (0 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_1 (1 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_2 (2 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_3 (3 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_4 (4 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_5 (5 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_6 (6 << VM_VOLATILE_GROUP_SHIFT)
#define VM_VOLATILE_GROUP_7 (7 << VM_VOLATILE_GROUP_SHIFT)
#define VM_PURGABLE_BEHAVIOR_SHIFT 6
#define VM_PURGABLE_BEHAVIOR_MASK (1 << VM_PURGABLE_BEHAVIOR_SHIFT)
#define VM_PURGABLE_BEHAVIOR_FIFO (0 << VM_PURGABLE_BEHAVIOR_SHIFT)
#define VM_PURGABLE_BEHAVIOR_LIFO (1 << VM_PURGABLE_BEHAVIOR_SHIFT)
#define VM_PURGABLE_ORDERING_SHIFT 5
#define VM_PURGABLE_ORDERING_MASK (1 << VM_PURGABLE_ORDERING_SHIFT)
#define VM_PURGABLE_ORDERING_OBSOLETE (1 << VM_PURGABLE_ORDERING_SHIFT)
#define VM_PURGABLE_ORDERING_NORMAL (0 << VM_PURGABLE_ORDERING_SHIFT)
#define VM_VOLATILE_ORDER_SHIFT 4
#define VM_VOLATILE_ORDER_MASK (1 << VM_VOLATILE_ORDER_SHIFT)
#define VM_VOLATILE_MAKE_FIRST_IN_GROUP (1 << VM_VOLATILE_ORDER_SHIFT)
#define VM_VOLATILE_MAKE_LAST_IN_GROUP (0 << VM_VOLATILE_ORDER_SHIFT)
#define VM_PURGABLE_STATE_MIN 0
#define VM_PURGABLE_STATE_MAX 3
#define VM_PURGABLE_STATE_MASK 3
#define VM_PURGABLE_NONVOLATILE 0
#define VM_PURGABLE_VOLATILE 1
#define VM_PURGABLE_EMPTY 2
#define VM_PURGABLE_DENY 3
# 102 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/vm_behavior.h" 1 3 4
# 39 "/usr/include/mach/vm_behavior.h" 3 4
#define _MACH_VM_BEHAVIOR_H_
typedef int vm_behavior_t;
# 57 "/usr/include/mach/vm_behavior.h" 3 4
#define VM_BEHAVIOR_DEFAULT ((vm_behavior_t) 0)
#define VM_BEHAVIOR_RANDOM ((vm_behavior_t) 1)
#define VM_BEHAVIOR_SEQUENTIAL ((vm_behavior_t) 2)
#define VM_BEHAVIOR_RSEQNTL ((vm_behavior_t) 3)
#define VM_BEHAVIOR_WILLNEED ((vm_behavior_t) 4)
#define VM_BEHAVIOR_DONTNEED ((vm_behavior_t) 5)
# 103 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/vm_region.h" 1 3 4
# 39 "/usr/include/mach/vm_region.h" 3 4
#define _MACH_VM_REGION_H_
# 1 "/usr/include/mach/machine/vm_param.h" 1 3 4
# 30 "/usr/include/mach/machine/vm_param.h" 3 4
#define _MACH_MACHINE_VM_PARAM_H_
# 1 "/usr/include/mach/i386/vm_param.h" 1 3 4
# 91 "/usr/include/mach/i386/vm_param.h" 3 4
#define _MACH_I386_VM_PARAM_H_
#define BYTE_SIZE 8
#define I386_PGBYTES 4096
#define I386_PGSHIFT 12
#define PAGE_SIZE I386_PGBYTES
#define PAGE_SHIFT I386_PGSHIFT
#define PAGE_MASK (PAGE_SIZE - 1)
#define i386_btop(x) (((pmap_paddr_t)(x)) >> I386_PGSHIFT)
#define machine_btop(x) i386_btop(x)
#define i386_ptob(x) (((pmap_paddr_t)(x)) << I386_PGSHIFT)
#define i386_round_page(x) ((((pmap_paddr_t)(x)) + I386_PGBYTES - 1) & ~(I386_PGBYTES-1))
#define i386_trunc_page(x) (((pmap_paddr_t)(x)) & ~(I386_PGBYTES-1))
#define VM_MIN_ADDRESS64 ((user_addr_t) 0x0000000000000000ULL)
#define VM_USRSTACK64 ((user_addr_t) 0x00007FFF5FC00000ULL)
#define VM_DYLD64 ((user_addr_t) 0x00007FFF5FC00000ULL)
#define VM_LIB64_SHR_DATA ((user_addr_t) 0x00007FFF60000000ULL)
#define VM_LIB64_SHR_TEXT ((user_addr_t) 0x00007FFF80000000ULL)
#define VM_MAX_PAGE_ADDRESS ((user_addr_t) 0x00007FFFFFE00000ULL)
#define VM_MAX_USER_PAGE_ADDRESS ((user_addr_t)0x00007FFFFFFFF000ULL)
#define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t) 0)
#define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) VM_MAX_PAGE_ADDRESS)
#define VM_MIN_ADDRESS ((vm_offset_t) 0)
#define VM_USRSTACK32 ((vm_offset_t) 0xC0000000)
#define VM_MAX_ADDRESS ((vm_offset_t) 0xFFE00000)
# 36 "/usr/include/mach/machine/vm_param.h" 2 3 4
# 48 "/usr/include/mach/vm_region.h" 2 3 4
#pragma pack(4)
#define VM_REGION_INFO_MAX (1024)
typedef int *vm_region_info_t;
typedef int *vm_region_info_64_t;
typedef int *vm_region_recurse_info_t;
typedef int *vm_region_recurse_info_64_t;
typedef int vm_region_flavor_t;
typedef int vm_region_info_data_t[(1024)];
#define VM_REGION_BASIC_INFO_64 9
struct vm_region_basic_info_64 {
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
boolean_t shared;
boolean_t reserved;
memory_object_offset_t offset;
vm_behavior_t behavior;
unsigned short user_wired_count;
};
typedef struct vm_region_basic_info_64 *vm_region_basic_info_64_t;
typedef struct vm_region_basic_info_64 vm_region_basic_info_data_64_t;
#define VM_REGION_BASIC_INFO_COUNT_64 ((mach_msg_type_number_t) (sizeof(vm_region_basic_info_data_64_t)/sizeof(int)))
#define VM_REGION_BASIC_INFO 10
struct vm_region_basic_info {
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
boolean_t shared;
boolean_t reserved;
uint32_t offset;
vm_behavior_t behavior;
unsigned short user_wired_count;
};
typedef struct vm_region_basic_info *vm_region_basic_info_t;
typedef struct vm_region_basic_info vm_region_basic_info_data_t;
#define VM_REGION_BASIC_INFO_COUNT ((mach_msg_type_number_t) (sizeof(vm_region_basic_info_data_t)/sizeof(int)))
#define VM_REGION_EXTENDED_INFO 11
#define SM_COW 1
#define SM_PRIVATE 2
#define SM_EMPTY 3
#define SM_SHARED 4
#define SM_TRUESHARED 5
#define SM_PRIVATE_ALIASED 6
#define SM_SHARED_ALIASED 7
# 133 "/usr/include/mach/vm_region.h" 3 4
struct vm_region_extended_info {
vm_prot_t protection;
unsigned int user_tag;
unsigned int pages_resident;
unsigned int pages_shared_now_private;
unsigned int pages_swapped_out;
unsigned int pages_dirtied;
unsigned int ref_count;
unsigned short shadow_depth;
unsigned char external_pager;
unsigned char share_mode;
};
typedef struct vm_region_extended_info *vm_region_extended_info_t;
typedef struct vm_region_extended_info vm_region_extended_info_data_t;
#define VM_REGION_EXTENDED_INFO_COUNT ((mach_msg_type_number_t) (sizeof(vm_region_extended_info_data_t)/sizeof(int)))
#define VM_REGION_TOP_INFO 12
struct vm_region_top_info {
unsigned int obj_id;
unsigned int ref_count;
unsigned int private_pages_resident;
unsigned int shared_pages_resident;
unsigned char share_mode;
};
typedef struct vm_region_top_info *vm_region_top_info_t;
typedef struct vm_region_top_info vm_region_top_info_data_t;
#define VM_REGION_TOP_INFO_COUNT ((mach_msg_type_number_t) (sizeof(vm_region_top_info_data_t)/sizeof(int)))
# 191 "/usr/include/mach/vm_region.h" 3 4
struct vm_region_submap_info {
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
uint32_t offset;
unsigned int user_tag;
unsigned int pages_resident;
unsigned int pages_shared_now_private;
unsigned int pages_swapped_out;
unsigned int pages_dirtied;
unsigned int ref_count;
unsigned short shadow_depth;
unsigned char external_pager;
unsigned char share_mode;
boolean_t is_submap;
vm_behavior_t behavior;
vm_offset_t object_id;
unsigned short user_wired_count;
};
typedef struct vm_region_submap_info *vm_region_submap_info_t;
typedef struct vm_region_submap_info vm_region_submap_info_data_t;
#define VM_REGION_SUBMAP_INFO_COUNT ((mach_msg_type_number_t) (sizeof(vm_region_submap_info_data_t)/sizeof(int)))
struct vm_region_submap_info_64 {
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
memory_object_offset_t offset;
unsigned int user_tag;
unsigned int pages_resident;
unsigned int pages_shared_now_private;
unsigned int pages_swapped_out;
unsigned int pages_dirtied;
unsigned int ref_count;
unsigned short shadow_depth;
unsigned char external_pager;
unsigned char share_mode;
boolean_t is_submap;
vm_behavior_t behavior;
vm_offset_t object_id;
unsigned short user_wired_count;
};
typedef struct vm_region_submap_info_64 *vm_region_submap_info_64_t;
typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t;
#define VM_REGION_SUBMAP_INFO_COUNT_64 ((mach_msg_type_number_t) (sizeof(vm_region_submap_info_data_64_t)/sizeof(int)))
struct vm_region_submap_short_info_64 {
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
memory_object_offset_t offset;
unsigned int user_tag;
unsigned int ref_count;
unsigned short shadow_depth;
unsigned char external_pager;
unsigned char share_mode;
boolean_t is_submap;
vm_behavior_t behavior;
vm_offset_t object_id;
unsigned short user_wired_count;
};
typedef struct vm_region_submap_short_info_64 *vm_region_submap_short_info_64_t;
typedef struct vm_region_submap_short_info_64 vm_region_submap_short_info_data_64_t;
#define VM_REGION_SUBMAP_SHORT_INFO_COUNT_64 ((mach_msg_type_number_t) (sizeof(vm_region_submap_short_info_data_64_t)/sizeof(int)))
struct mach_vm_read_entry {
mach_vm_address_t address;
mach_vm_size_t size;
};
struct vm_read_entry {
vm_address_t address;
vm_size_t size;
};
#define VM_MAP_ENTRY_MAX (256)
typedef struct mach_vm_read_entry mach_vm_read_entry_t[(256)];
typedef struct vm_read_entry vm_read_entry_t[(256)];
#pragma pack()
# 108 "/usr/include/mach/mach_types.h" 2 3 4
# 1 "/usr/include/mach/kmod.h" 1 3 4
# 36 "/usr/include/mach/kmod.h" 3 4
#define _MACH_KMOD_H_
# 48 "/usr/include/mach/kmod.h" 3 4
#define KMOD_CNTL_START 1
#define KMOD_CNTL_STOP 2
#define KMOD_CNTL_RETAIN 3
#define KMOD_CNTL_RELEASE 4
#define KMOD_CNTL_GET_CMD 5
#define KMOD_CNTL_GET_KERNEL_SYMBOLS 6
#define KMOD_CNTL_FREE_LINKEDIT_DATA 7
#define KMOD_CNTL_GET_KERNEL_UUID 8
#define KMOD_CNTL_GET_UUID 8
#define KMOD_CNTL_DISABLE_LOAD 9
#define KMOD_PACK_IDS(from,to) (((unsigned long)from << 16) | (unsigned long)to)
#define KMOD_UNPACK_FROM_ID(i) ((unsigned long)i >> 16)
#define KMOD_UNPACK_TO_ID(i) ((unsigned long)i & 0xffff)
typedef int kmod_t;
typedef int kmod_control_flavor_t;
typedef void* kmod_args_t;
#define KMOD_MAX_NAME 64
#pragma pack(4)
typedef struct kmod_reference {
struct kmod_reference *next;
struct kmod_info *info;
} kmod_reference_t;
#pragma pack()
#define KMOD_RETURN_SUCCESS KERN_SUCCESS
#define KMOD_RETURN_FAILURE KERN_FAILURE
typedef kern_return_t kmod_start_func_t(struct kmod_info *ki, void *data);
typedef kern_return_t kmod_stop_func_t(struct kmod_info *ki, void *data);
#pragma pack(4)
typedef struct kmod_info {
struct kmod_info *next;
int info_version;
int id;
char name[64];
char version[64];
int reference_count;
kmod_reference_t *reference_list;
vm_address_t address;
vm_size_t size;
vm_size_t hdr_size;
kmod_start_func_t *start;
kmod_stop_func_t *stop;
} kmod_info_t;
#pragma pack()
typedef kmod_info_t *kmod_info_array_t;
#define KMOD_INFO_NAME kmod_info
#define KMOD_INFO_VERSION 1
#define KMOD_DECL(name,version) static kmod_start_func_t name ## _module_start; static kmod_stop_func_t name ## _module_stop; kmod_info_t KMOD_INFO_NAME = { 0, KMOD_INFO_VERSION, -1, { #name }, { version }, -1, 0, 0, 0, 0, name ## _module_start, name ## _module_stop };
#define KMOD_EXPLICIT_DECL(name,version,start,stop) kmod_info_t KMOD_INFO_NAME = { 0, KMOD_INFO_VERSION, -1, { #name }, { version }, -1, 0, 0, 0, 0, start, stop };
#define KMOD_LIB_DECL(name,version) kmod_info_t KMOD_INFO_NAME = { 0, KMOD_INFO_VERSION, -1, { #name }, { version }, -1, 0, 0, 0, 0, kmod_default_start, kmod_default_stop };
# 141 "/usr/include/mach/kmod.h" 3 4
#define KMOD_LOAD_EXTENSION_PACKET 1
#define KMOD_LOAD_WITH_DEPENDENCIES_PACKET 2
#define KMOD_IOKIT_START_RANGE_PACKET 0x1000
#define KMOD_IOKIT_END_RANGE_PACKET 0x1fff
typedef struct kmod_load_extension_cmd {
int type;
char name[64];
} kmod_load_extension_cmd_t;
typedef struct kmod_load_with_dependencies_cmd {
int type;
char name[64];
char dependencies[1][64];
} kmod_load_with_dependencies_cmd_t;
typedef struct kmod_generic_cmd {
int type;
char data[1];
} kmod_generic_cmd_t;
# 109 "/usr/include/mach/mach_types.h" 2 3 4
typedef mach_port_t task_t;
typedef mach_port_t task_name_t;
typedef mach_port_t thread_t;
typedef mach_port_t thread_act_t;
typedef mach_port_t ipc_space_t;
typedef mach_port_t host_t;
typedef mach_port_t host_priv_t;
typedef mach_port_t host_security_t;
typedef mach_port_t processor_t;
typedef mach_port_t processor_set_t;
typedef mach_port_t processor_set_control_t;
typedef mach_port_t semaphore_t;
typedef mach_port_t lock_set_t;
typedef mach_port_t ledger_t;
typedef mach_port_t alarm_t;
typedef mach_port_t clock_serv_t;
typedef mach_port_t clock_ctrl_t;
typedef processor_set_t processor_set_name_t;
typedef mach_port_t clock_reply_t;
typedef mach_port_t bootstrap_t;
typedef mach_port_t mem_entry_name_port_t;
typedef mach_port_t exception_handler_t;
typedef exception_handler_t *exception_handler_array_t;
typedef mach_port_t vm_task_entry_t;
typedef mach_port_t io_master_t;
typedef mach_port_t UNDServerRef;
# 160 "/usr/include/mach/mach_types.h" 3 4
typedef task_t *task_array_t;
typedef thread_t *thread_array_t;
typedef processor_set_t *processor_set_array_t;
typedef processor_set_t *processor_set_name_array_t;
typedef processor_t *processor_array_t;
typedef thread_act_t *thread_act_array_t;
typedef ledger_t *ledger_array_t;
typedef task_t task_port_t;
typedef task_array_t task_port_array_t;
typedef thread_t thread_port_t;
typedef thread_array_t thread_port_array_t;
typedef ipc_space_t ipc_space_port_t;
typedef host_t host_name_t;
typedef host_t host_name_port_t;
typedef processor_set_t processor_set_port_t;
typedef processor_set_t processor_set_name_port_t;
typedef processor_set_array_t processor_set_name_port_array_t;
typedef processor_set_t processor_set_control_port_t;
typedef processor_t processor_port_t;
typedef processor_array_t processor_port_array_t;
typedef thread_act_t thread_act_port_t;
typedef thread_act_array_t thread_act_port_array_t;
typedef semaphore_t semaphore_port_t;
typedef lock_set_t lock_set_port_t;
typedef ledger_t ledger_port_t;
typedef ledger_array_t ledger_port_array_t;
typedef alarm_t alarm_port_t;
typedef clock_serv_t clock_serv_port_t;
typedef clock_ctrl_t clock_ctrl_port_t;
typedef exception_handler_t exception_port_t;
typedef exception_handler_array_t exception_port_arrary_t;
#define TASK_NULL ((task_t) 0)
#define TASK_NAME_NULL ((task_name_t) 0)
#define THREAD_NULL ((thread_t) 0)
#define THR_ACT_NULL ((thread_act_t) 0)
#define IPC_SPACE_NULL ((ipc_space_t) 0)
#define HOST_NULL ((host_t) 0)
#define HOST_PRIV_NULL ((host_priv_t)0)
#define HOST_SECURITY_NULL ((host_security_t)0)
#define PROCESSOR_SET_NULL ((processor_set_t) 0)
#define PROCESSOR_NULL ((processor_t) 0)
#define SEMAPHORE_NULL ((semaphore_t) 0)
#define LOCK_SET_NULL ((lock_set_t) 0)
#define LEDGER_NULL ((ledger_t) 0)
#define ALARM_NULL ((alarm_t) 0)
#define CLOCK_NULL ((clock_t) 0)
#define UND_SERVER_NULL ((UNDServerRef) 0)
typedef natural_t ledger_item_t;
#define LEDGER_ITEM_INFINITY ((ledger_item_t) (~0))
typedef mach_vm_offset_t *emulation_vector_t;
typedef char *user_subsystem_t;
typedef char *labelstr_t;
# 1 "/usr/include/mach/std_types.h" 1 3 4
# 64 "/usr/include/mach/std_types.h" 3 4
#define _MACH_STD_TYPES_H_
# 229 "/usr/include/mach/mach_types.h" 2 3 4
# 42 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 2 3
# 1 "/usr/include/mach/mach_init.h" 1 3 4
# 59 "/usr/include/mach/mach_init.h" 3 4
#define _MACH_INIT_ 1
# 70 "/usr/include/mach/mach_init.h" 3 4
extern mach_port_t mach_task_self(void);
extern mach_port_t mach_host_self(void);
extern mach_port_t mach_thread_self(void);
extern kern_return_t host_page_size(host_t, vm_size_t *);
extern mach_port_t mach_task_self_;
#define mach_task_self() mach_task_self_
#define current_task() mach_task_self()
# 1 "/usr/include/mach/mach_traps.h" 1 3 4
# 67 "/usr/include/mach/mach_traps.h" 3 4
#define _MACH_MACH_TRAPS_H_
# 82 "/usr/include/mach/mach_traps.h" 3 4
extern boolean_t swtch_pri(int pri);
extern boolean_t swtch(void);
extern kern_return_t thread_switch(
mach_port_name_t thread_name,
int option,
mach_msg_timeout_t option_time);
extern mach_port_name_t task_self_trap(void);
extern kern_return_t task_for_pid(
mach_port_name_t target_tport,
int pid,
mach_port_name_t *t);
extern kern_return_t task_name_for_pid(
mach_port_name_t target_tport,
int pid,
mach_port_name_t *tn);
extern kern_return_t pid_for_task(
mach_port_name_t t,
int *x);
# 128 "/usr/include/mach/mach_traps.h" 3 4
# 82 "/usr/include/mach/mach_init.h" 2 3 4
extern mach_port_t bootstrap_port;
extern mach_port_t name_server_port;
extern mach_port_t environment_port;
extern mach_port_t service_port;
#define NAME_SERVER_SLOT 0
#define ENVIRONMENT_SLOT 1
#define SERVICE_SLOT 2
#define MACH_PORTS_SLOTS_USED 3
extern vm_size_t vm_page_size;
extern vm_size_t vm_page_mask;
extern int vm_page_shift;
#define trunc_page(x) ((x) & (~(vm_page_size - 1)))
#define round_page(x) trunc_page((x) + (vm_page_size - 1))
extern int (*vprintf_stderr_func)(const char *format, va_list ap);
# 43 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 1 3
# 29 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
#define __IOKIT_IOTYPES_H
#define IOKIT 1
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/IOReturn.h" 1 3
# 37 "/System/Library/Frameworks/IOKit.framework/Headers/IOReturn.h" 3
#define __IOKIT_IORETURN_H
# 1 "/usr/include/mach/error.h" 1 3 4
# 66 "/usr/include/mach/error.h" 3 4
#define _MACH_ERROR_H_
# 78 "/usr/include/mach/error.h" 3 4
#define err_none (mach_error_t)0
#define ERR_SUCCESS (mach_error_t)0
#define ERR_ROUTINE_NIL (mach_error_fn_t)0
#define err_system(x) (((x)&0x3f)<<26)
#define err_sub(x) (((x)&0xfff)<<14)
#define err_get_system(err) (((err)>>26)&0x3f)
#define err_get_sub(err) (((err)>>14)&0xfff)
#define err_get_code(err) ((err)&0x3fff)
#define system_emask (err_system(0x3f))
#define sub_emask (err_sub(0xfff))
#define code_emask (0x3fff)
#define err_kern err_system(0x0)
#define err_us err_system(0x1)
#define err_server err_system(0x2)
#define err_ipc err_system(0x3)
#define err_mach_ipc err_system(0x4)
#define err_dipc err_system(0x7)
#define err_local err_system(0x3e)
#define err_ipc_compat err_system(0x3f)
#define err_max_system 0x3f
#define unix_err(errno) (err_kern|err_sub(3)|errno)
typedef kern_return_t mach_error_t;
typedef mach_error_t (* mach_error_fn_t)( void );
# 44 "/System/Library/Frameworks/IOKit.framework/Headers/IOReturn.h" 2 3
typedef kern_return_t IOReturn;
#define sys_iokit err_system(0x38)
#define sub_iokit_common err_sub(0)
#define sub_iokit_usb err_sub(1)
#define sub_iokit_firewire err_sub(2)
#define sub_iokit_block_storage err_sub(4)
#define sub_iokit_graphics err_sub(5)
#define sub_iokit_networking err_sub(6)
#define sub_iokit_bluetooth err_sub(8)
#define sub_iokit_pmu err_sub(9)
#define sub_iokit_acpi err_sub(10)
#define sub_iokit_smbus err_sub(11)
#define sub_iokit_ahci err_sub(12)
#define sub_iokit_powermanagement err_sub(13)
#define sub_iokit_vendor_specific err_sub(-2)
#define sub_iokit_reserved err_sub(-1)
#define iokit_common_err(return) (sys_iokit|sub_iokit_common|return)
#define iokit_family_err(sub,return) (sys_iokit|sub|return)
#define iokit_vendor_specific_err(return) (sys_iokit|sub_iokit_vendor_specific|return)
#define kIOReturnSuccess KERN_SUCCESS
#define kIOReturnError iokit_common_err(0x2bc)
#define kIOReturnNoMemory iokit_common_err(0x2bd)
#define kIOReturnNoResources iokit_common_err(0x2be)
#define kIOReturnIPCError iokit_common_err(0x2bf)
#define kIOReturnNoDevice iokit_common_err(0x2c0)
#define kIOReturnNotPrivileged iokit_common_err(0x2c1)
#define kIOReturnBadArgument iokit_common_err(0x2c2)
#define kIOReturnLockedRead iokit_common_err(0x2c3)
#define kIOReturnLockedWrite iokit_common_err(0x2c4)
#define kIOReturnExclusiveAccess iokit_common_err(0x2c5)
#define kIOReturnBadMessageID iokit_common_err(0x2c6)
#define kIOReturnUnsupported iokit_common_err(0x2c7)
#define kIOReturnVMError iokit_common_err(0x2c8)
#define kIOReturnInternalError iokit_common_err(0x2c9)
#define kIOReturnIOError iokit_common_err(0x2ca)
#define kIOReturnCannotLock iokit_common_err(0x2cc)
#define kIOReturnNotOpen iokit_common_err(0x2cd)
#define kIOReturnNotReadable iokit_common_err(0x2ce)
#define kIOReturnNotWritable iokit_common_err(0x2cf)
#define kIOReturnNotAligned iokit_common_err(0x2d0)
#define kIOReturnBadMedia iokit_common_err(0x2d1)
#define kIOReturnStillOpen iokit_common_err(0x2d2)
#define kIOReturnRLDError iokit_common_err(0x2d3)
#define kIOReturnDMAError iokit_common_err(0x2d4)
#define kIOReturnBusy iokit_common_err(0x2d5)
#define kIOReturnTimeout iokit_common_err(0x2d6)
#define kIOReturnOffline iokit_common_err(0x2d7)
#define kIOReturnNotReady iokit_common_err(0x2d8)
#define kIOReturnNotAttached iokit_common_err(0x2d9)
#define kIOReturnNoChannels iokit_common_err(0x2da)
#define kIOReturnNoSpace iokit_common_err(0x2db)
#define kIOReturnPortExists iokit_common_err(0x2dd)
#define kIOReturnCannotWire iokit_common_err(0x2de)
#define kIOReturnNoInterrupt iokit_common_err(0x2df)
#define kIOReturnNoFrames iokit_common_err(0x2e0)
#define kIOReturnMessageTooLarge iokit_common_err(0x2e1)
#define kIOReturnNotPermitted iokit_common_err(0x2e2)
#define kIOReturnNoPower iokit_common_err(0x2e3)
#define kIOReturnNoMedia iokit_common_err(0x2e4)
#define kIOReturnUnformattedMedia iokit_common_err(0x2e5)
#define kIOReturnUnsupportedMode iokit_common_err(0x2e6)
#define kIOReturnUnderrun iokit_common_err(0x2e7)
#define kIOReturnOverrun iokit_common_err(0x2e8)
#define kIOReturnDeviceError iokit_common_err(0x2e9)
#define kIOReturnNoCompletion iokit_common_err(0x2ea)
#define kIOReturnAborted iokit_common_err(0x2eb)
#define kIOReturnNoBandwidth iokit_common_err(0x2ec)
#define kIOReturnNotResponding iokit_common_err(0x2ed)
#define kIOReturnIsoTooOld iokit_common_err(0x2ee)
#define kIOReturnIsoTooNew iokit_common_err(0x2ef)
#define kIOReturnNotFound iokit_common_err(0x2f0)
#define kIOReturnInvalid iokit_common_err(0x1)
# 39 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 2 3
# 65 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
typedef UInt32 IOOptionBits;
typedef SInt32 IOFixed;
typedef UInt32 IOVersion;
typedef UInt32 IOItemCount;
typedef UInt32 IOCacheMode;
typedef UInt32 IOByteCount;
typedef vm_address_t IOVirtualAddress;
typedef IOVirtualAddress IOLogicalAddress;
# 86 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
typedef UInt32 IOPhysicalAddress;
typedef UInt32 IOPhysicalLength;
#define IOPhysical32(hi,lo) (lo)
#define IOPhysSize 32
# 106 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
typedef struct
{
IOVirtualAddress address;
IOByteCount length;
} IOVirtualRange;
typedef struct
{
mach_vm_address_t address;
mach_vm_size_t length;
} IOAddressRange;
typedef struct {
int value;
const char *name;
} IONamedValue;
typedef unsigned int IOAlignment;
#define IO_NULL_VM_TASK ((vm_task_t)0)
# 145 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
#define __IOKIT_PORTS_DEFINED__
typedef mach_port_t io_object_t;
# 1 "/usr/include/device/device_types.h" 1 3 4
# 64 "/usr/include/device/device_types.h" 3 4
#define DEVICE_TYPES_H
# 77 "/usr/include/device/device_types.h" 3 4
typedef char * io_buf_ptr_t;
# 86 "/usr/include/device/device_types.h" 3 4
typedef char io_name_t[128];
typedef char io_string_t[512];
typedef char io_struct_inband_t[4096];
typedef uint64_t io_user_scalar_t;
typedef uint64_t io_user_reference_t;
typedef io_user_scalar_t io_scalar_inband_t[16];
typedef io_user_reference_t io_async_ref_t[8];
typedef io_user_scalar_t io_scalar_inband64_t[16];
typedef io_user_reference_t io_async_ref64_t[8];
# 150 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 2 3
typedef io_object_t io_connect_t;
typedef io_object_t io_enumerator_t;
typedef io_object_t io_iterator_t;
typedef io_object_t io_registry_entry_t;
typedef io_object_t io_service_t;
#define IO_OBJECT_NULL ((io_object_t) 0)
enum {
kIODefaultMemoryType = 0
};
enum {
kIODefaultCache = 0,
kIOInhibitCache = 1,
kIOWriteThruCache = 2,
kIOCopybackCache = 3,
kIOWriteCombineCache = 4
};
enum {
kIOMapAnywhere = 0x00000001,
kIOMapCacheMask = 0x00000700,
kIOMapCacheShift = 8,
kIOMapDefaultCache = kIODefaultCache << kIOMapCacheShift,
kIOMapInhibitCache = kIOInhibitCache << kIOMapCacheShift,
kIOMapWriteThruCache = kIOWriteThruCache << kIOMapCacheShift,
kIOMapCopybackCache = kIOCopybackCache << kIOMapCacheShift,
kIOMapWriteCombineCache = kIOWriteCombineCache << kIOMapCacheShift,
kIOMapUserOptionsMask = 0x00000fff,
kIOMapReadOnly = 0x00001000,
kIOMapStatic = 0x01000000,
kIOMapReference = 0x02000000,
kIOMapUnique = 0x04000000,
kIOMap64Bit = 0x08000000
};
# 204 "/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h" 3
enum {
kNanosecondScale = 1,
kMicrosecondScale = 1000,
kMillisecondScale = 1000 * 1000,
kSecondScale = 1000 * 1000 * 1000,
kTickScale = (kSecondScale / 100)
};
typedef enum {
IO_CacheOff,
IO_WriteThrough,
IO_CopyBack
} IOCache;
typedef unsigned int IODeviceNumber;
typedef unsigned int IOObjectNumber;
# 49 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitKeys.h" 1 3
# 39 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitKeys.h" 3
#define _IOKIT_IOKITKEYS_H
#define kIOKitBuildVersionKey "IOKitBuildVersion"
#define kIOKitDiagnosticsKey "IOKitDiagnostics"
#define kIORegistryPlanesKey "IORegistryPlanes"
#define kIOCatalogueKey "IOCatalogue"
#define kIOServicePlane "IOService"
#define kIOPowerPlane "IOPower"
#define kIODeviceTreePlane "IODeviceTree"
#define kIOAudioPlane "IOAudio"
#define kIOFireWirePlane "IOFireWire"
#define kIOUSBPlane "IOUSB"
#define kIOServiceClass "IOService"
#define kIOResourcesClass "IOResources"
#define kIOClassKey "IOClass"
#define kIOProbeScoreKey "IOProbeScore"
#define kIOKitDebugKey "IOKitDebug"
#define kIOProviderClassKey "IOProviderClass"
#define kIONameMatchKey "IONameMatch"
#define kIOPropertyMatchKey "IOPropertyMatch"
#define kIOPathMatchKey "IOPathMatch"
#define kIOLocationMatchKey "IOLocationMatch"
#define kIOParentMatchKey "IOParentMatch"
#define kIOResourceMatchKey "IOResourceMatch"
#define kIOMatchedServiceCountKey "IOMatchedServiceCountMatch"
#define kIONameMatchedKey "IONameMatched"
#define kIOMatchCategoryKey "IOMatchCategory"
#define kIODefaultMatchCategoryKey "IODefaultMatchCategory"
#define kIOUserClientClassKey "IOUserClientClass"
#define kIOUserClientCrossEndianKey "IOUserClientCrossEndian"
#define kIOUserClientCrossEndianCompatibleKey "IOUserClientCrossEndianCompatible"
#define kIOUserClientSharedInstanceKey "IOUserClientSharedInstance"
#define kIOPublishNotification "IOServicePublish"
#define kIOFirstPublishNotification "IOServiceFirstPublish"
#define kIOMatchedNotification "IOServiceMatched"
#define kIOFirstMatchNotification "IOServiceFirstMatch"
#define kIOTerminatedNotification "IOServiceTerminate"
#define kIOGeneralInterest "IOGeneralInterest"
#define kIOBusyInterest "IOBusyInterest"
#define kIOAppPowerStateInterest "IOAppPowerStateInterest"
#define kIOPriorityPowerStateInterest "IOPriorityPowerStateInterest"
#define kIOPlatformDeviceMessageKey "IOPlatformDeviceMessage"
#define kIOCFPlugInTypesKey "IOCFPlugInTypes"
#define kIOCommandPoolSizeKey "IOCommandPoolSize"
#define kIOMaximumBlockCountReadKey "IOMaximumBlockCountRead"
#define kIOMaximumBlockCountWriteKey "IOMaximumBlockCountWrite"
#define kIOMaximumByteCountReadKey "IOMaximumByteCountRead"
#define kIOMaximumByteCountWriteKey "IOMaximumByteCountWrite"
#define kIOMaximumSegmentCountReadKey "IOMaximumSegmentCountRead"
#define kIOMaximumSegmentCountWriteKey "IOMaximumSegmentCountWrite"
#define kIOMaximumSegmentByteCountReadKey "IOMaximumSegmentByteCountRead"
#define kIOMaximumSegmentByteCountWriteKey "IOMaximumSegmentByteCountWrite"
#define kIOMinimumSegmentAlignmentByteCountKey "IOMinimumSegmentAlignmentByteCount"
#define kIOMaximumSegmentAddressableBitCountKey "IOMaximumSegmentAddressableBitCount"
# 132 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitKeys.h" 3
#define kIOIconKey "IOIcon"
#define kIOBundleResourceFileKey "IOBundleResourceFile"
#define kIOBusBadgeKey "IOBusBadge"
#define kIODeviceIconKey "IODeviceIcon"
#define kIOPlatformSerialNumberKey "IOPlatformSerialNumber"
#define kIOPlatformUUIDKey "IOPlatformUUID"
#define kIONVRAMDeletePropertyKey "IONVRAM-DELETE-PROPERTY"
#define kIODTNVRAMPanicInfoKey "aapl,panic-info"
#define kIOBootDeviceKey "IOBootDevice"
#define kIOBootDevicePathKey "IOBootDevicePath"
#define kIOBootDeviceSizeKey "IOBootDeviceSize"
#define kOSBuildVersionKey "OS Build Version"
# 50 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h" 1 3
# 36 "/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h" 3
#define __OS_OSMESSAGENOTIFICATION_H
# 46 "/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h" 3
enum {
kFirstIOKitNotificationType = 100,
kIOServicePublishNotificationType = 100,
kIOServiceMatchedNotificationType = 101,
kIOServiceTerminatedNotificationType = 102,
kIOAsyncCompletionNotificationType = 150,
kIOServiceMessageNotificationType = 160,
kLastIOKitNotificationType = 199
};
enum {
kOSNotificationMessageID = 53,
kOSAsyncCompleteMessageID = 57,
kMaxAsyncArgs = 16
};
enum {
kIOAsyncReservedIndex = 0,
kIOAsyncReservedCount,
kIOAsyncCalloutFuncIndex = kIOAsyncReservedCount,
kIOAsyncCalloutRefconIndex,
kIOAsyncCalloutCount,
kIOMatchingCalloutFuncIndex = kIOAsyncReservedCount,
kIOMatchingCalloutRefconIndex,
kIOMatchingCalloutCount,
kIOInterestCalloutFuncIndex = kIOAsyncReservedCount,
kIOInterestCalloutRefconIndex,
kIOInterestCalloutServiceIndex,
kIOInterestCalloutCount
};
enum {
kOSAsyncRef64Count = 8,
kOSAsyncRef64Size = kOSAsyncRef64Count * sizeof(io_user_reference_t)
};
typedef io_user_reference_t OSAsyncReference64[kOSAsyncRef64Count];
struct OSNotificationHeader64 {
mach_msg_size_t size;
natural_t type;
OSAsyncReference64 reference;
unsigned char content[0];
};
struct IOServiceInterestContent64 {
natural_t messageType;
io_user_reference_t messageArgument[1];
};
enum {
kOSAsyncRefCount = 8,
kOSAsyncRefSize = 32
};
typedef natural_t OSAsyncReference[kOSAsyncRefCount];
struct OSNotificationHeader {
mach_msg_size_t size;
natural_t type;
OSAsyncReference reference;
unsigned char content[0];
};
#pragma pack(4)
struct IOServiceInterestContent {
natural_t messageType;
void * messageArgument[1];
};
#pragma pack()
struct IOAsyncCompletionContent {
IOReturn result;
void * args[0];
};
typedef struct OSNotificationHeader OSNotificationHeader;
typedef struct IOServiceInterestContent IOServiceInterestContent;
typedef struct IOAsyncCompletionContent IOAsyncCompletionContent;
# 52 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 2 3
# 64 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef struct IONotificationPort * IONotificationPortRef;
typedef void
(*IOServiceMatchingCallback)(
void * refcon,
io_iterator_t iterator );
# 85 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef void
(*IOServiceInterestCallback)(
void * refcon,
io_service_t service,
uint32_t messageType,
void * messageArgument );
# 99 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
extern
const mach_port_t kIOMasterPortDefault;
# 109 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOMasterPort( mach_port_t bootstrapPort,
mach_port_t * masterPort );
# 120 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
IONotificationPortRef
IONotificationPortCreate(
mach_port_t masterPort );
void
IONotificationPortDestroy(
IONotificationPortRef notify );
CFRunLoopSourceRef
IONotificationPortGetRunLoopSource(
IONotificationPortRef notify );
mach_port_t
IONotificationPortGetMachPort(
IONotificationPortRef notify );
# 159 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
void
IODispatchCalloutFromMessage(
void *unused,
mach_msg_header_t *msg,
void *reference );
# 176 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOCreateReceivePort( uint32_t msgType, mach_port_t * recvPort );
# 191 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOObjectRelease(
io_object_t object );
kern_return_t
IOObjectRetain(
io_object_t object );
# 212 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOObjectGetClass(
io_object_t object,
io_name_t className );
CFStringRef
IOObjectCopyClass(io_object_t object)
;
CFStringRef
IOObjectCopySuperclassForClass(CFStringRef classname)
;
CFStringRef
IOObjectCopyBundleIdentifierForClass(CFStringRef classname)
;
# 254 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
boolean_t
IOObjectConformsTo(
io_object_t object,
const io_name_t className );
# 266 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
boolean_t
IOObjectIsEqualTo(
io_object_t object,
io_object_t anObject );
uint32_t
IOObjectGetRetainCount(
io_object_t object );
# 293 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
io_object_t
IOIteratorNext(
io_iterator_t iterator );
void
IOIteratorReset(
io_iterator_t iterator );
boolean_t
IOIteratorIsValid(
io_iterator_t iterator );
# 331 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
io_service_t
IOServiceGetMatchingService(
mach_port_t masterPort,
CFDictionaryRef matching );
# 344 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceGetMatchingServices(
mach_port_t masterPort,
CFDictionaryRef matching,
io_iterator_t * existing );
kern_return_t
IOServiceAddNotification(
mach_port_t masterPort,
const io_name_t notificationType,
CFDictionaryRef matching,
mach_port_t wakePort,
uintptr_t reference,
io_iterator_t * notification ) __attribute__((deprecated));
# 376 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceAddMatchingNotification(
IONotificationPortRef notifyPort,
const io_name_t notificationType,
CFDictionaryRef matching,
IOServiceMatchingCallback callback,
void * refCon,
io_iterator_t * notification );
# 397 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceAddInterestNotification(
IONotificationPortRef notifyPort,
io_service_t service,
const io_name_t interestType,
IOServiceInterestCallback callback,
void * refCon,
io_object_t * notification );
# 414 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceMatchPropertyTable(
io_service_t service,
CFDictionaryRef matching,
boolean_t * matches );
# 427 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceGetBusyState(
io_service_t service,
uint32_t * busyState );
# 439 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceWaitQuiet(
io_service_t service,
mach_timespec_t * waitTime );
# 451 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOKitGetBusyState(
mach_port_t masterPort,
uint32_t * busyState );
# 463 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOKitWaitQuiet(
mach_port_t masterPort,
mach_timespec_t * waitTime );
# 477 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceOpen(
io_service_t service,
task_port_t owningTask,
uint32_t type,
io_connect_t * connect );
# 491 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceRequestProbe(
io_service_t service,
uint32_t options );
# 508 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceClose(
io_connect_t connect );
kern_return_t
IOConnectAddRef(
io_connect_t connect );
kern_return_t
IOConnectRelease(
io_connect_t connect );
# 539 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectGetService(
io_connect_t connect,
io_service_t * service );
# 553 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectSetNotificationPort(
io_connect_t connect,
uint32_t type,
mach_port_t port,
uintptr_t reference );
# 582 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t IOConnectMapMemory
(io_connect_t connect,
uint32_t memoryType,
task_port_t intoTask,
mach_vm_address_t *atAddress,
mach_vm_size_t *ofSize,
IOOptionBits options );
# 610 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t IOConnectUnmapMemory
(io_connect_t connect,
uint32_t memoryType,
task_port_t fromTask,
mach_vm_address_t atAddress );
# 624 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectSetCFProperties(
io_connect_t connect,
CFTypeRef properties );
# 637 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectSetCFProperty(
io_connect_t connect,
CFStringRef propertyName,
CFTypeRef property );
kern_return_t
IOConnectCallMethod(
mach_port_t connection,
uint32_t selector,
const uint64_t *input,
uint32_t inputCnt,
const void *inputStruct,
size_t inputStructCnt,
uint64_t *output,
uint32_t *outputCnt,
void *outputStruct,
size_t *outputStructCnt)
;
kern_return_t
IOConnectCallAsyncMethod(
mach_port_t connection,
uint32_t selector,
mach_port_t wake_port,
uint64_t *reference,
uint32_t referenceCnt,
const uint64_t *input,
uint32_t inputCnt,
const void *inputStruct,
size_t inputStructCnt,
uint64_t *output,
uint32_t *outputCnt,
void *outputStruct,
size_t *outputStructCnt)
;
kern_return_t
IOConnectCallStructMethod(
mach_port_t connection,
uint32_t selector,
const void *inputStruct,
size_t inputStructCnt,
void *outputStruct,
size_t *outputStructCnt)
;
kern_return_t
IOConnectCallAsyncStructMethod(
mach_port_t connection,
uint32_t selector,
mach_port_t wake_port,
uint64_t *reference,
uint32_t referenceCnt,
const void *inputStruct,
size_t inputStructCnt,
void *outputStruct,
size_t *outputStructCnt)
;
kern_return_t
IOConnectCallScalarMethod(
mach_port_t connection,
uint32_t selector,
const uint64_t *input,
uint32_t inputCnt,
uint64_t *output,
uint32_t *outputCnt)
;
kern_return_t
IOConnectCallAsyncScalarMethod(
mach_port_t connection,
uint32_t selector,
mach_port_t wake_port,
uint64_t *reference,
uint32_t referenceCnt,
const uint64_t *input,
uint32_t inputCnt,
uint64_t *output,
uint32_t *outputCnt)
;
kern_return_t
IOConnectTrap0(io_connect_t connect,
uint32_t index );
kern_return_t
IOConnectTrap1(io_connect_t connect,
uint32_t index,
uintptr_t p1 );
kern_return_t
IOConnectTrap2(io_connect_t connect,
uint32_t index,
uintptr_t p1,
uintptr_t p2);
kern_return_t
IOConnectTrap3(io_connect_t connect,
uint32_t index,
uintptr_t p1,
uintptr_t p2,
uintptr_t p3);
kern_return_t
IOConnectTrap4(io_connect_t connect,
uint32_t index,
uintptr_t p1,
uintptr_t p2,
uintptr_t p3,
uintptr_t p4);
kern_return_t
IOConnectTrap5(io_connect_t connect,
uint32_t index,
uintptr_t p1,
uintptr_t p2,
uintptr_t p3,
uintptr_t p4,
uintptr_t p5);
kern_return_t
IOConnectTrap6(io_connect_t connect,
uint32_t index,
uintptr_t p1,
uintptr_t p2,
uintptr_t p3,
uintptr_t p4,
uintptr_t p5,
uintptr_t p6);
# 784 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOConnectAddClient(
io_connect_t connect,
io_connect_t client );
# 801 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
io_registry_entry_t
IORegistryGetRootEntry(
mach_port_t masterPort );
# 812 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
io_registry_entry_t
IORegistryEntryFromPath(
mach_port_t masterPort,
const io_string_t path );
enum {
kIORegistryIterateRecursively = 0x00000001,
kIORegistryIterateParents = 0x00000002
};
# 832 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryCreateIterator(
mach_port_t masterPort,
const io_name_t plane,
IOOptionBits options,
io_iterator_t * iterator );
# 848 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryCreateIterator(
io_registry_entry_t entry,
const io_name_t plane,
IOOptionBits options,
io_iterator_t * iterator );
# 866 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryIteratorEnterEntry(
io_iterator_t iterator );
kern_return_t
IORegistryIteratorExitEntry(
io_iterator_t iterator );
# 892 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetName(
io_registry_entry_t entry,
io_name_t name );
# 905 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetNameInPlane(
io_registry_entry_t entry,
const io_name_t plane,
io_name_t name );
# 919 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetLocationInPlane(
io_registry_entry_t entry,
const io_name_t plane,
io_name_t location );
# 933 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetPath(
io_registry_entry_t entry,
const io_name_t plane,
io_string_t path );
# 948 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryCreateCFProperties(
io_registry_entry_t entry,
CFMutableDictionaryRef * properties,
CFAllocatorRef allocator,
IOOptionBits options );
# 964 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
CFTypeRef
IORegistryEntryCreateCFProperty(
io_registry_entry_t entry,
CFStringRef key,
CFAllocatorRef allocator,
IOOptionBits options );
# 982 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
CFTypeRef
IORegistryEntrySearchCFProperty(
io_registry_entry_t entry,
const io_name_t plane,
CFStringRef key,
CFAllocatorRef allocator,
IOOptionBits options );
kern_return_t
IORegistryEntryGetProperty(
io_registry_entry_t entry,
const io_name_t propertyName,
io_struct_inband_t buffer,
uint32_t * size );
# 1007 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntrySetCFProperties(
io_registry_entry_t entry,
CFTypeRef properties );
# 1020 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntrySetCFProperty(
io_registry_entry_t entry,
CFStringRef propertyName,
CFTypeRef property );
# 1034 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetChildIterator(
io_registry_entry_t entry,
const io_name_t plane,
io_iterator_t * iterator );
# 1048 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetChildEntry(
io_registry_entry_t entry,
const io_name_t plane,
io_registry_entry_t * child );
# 1062 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetParentIterator(
io_registry_entry_t entry,
const io_name_t plane,
io_iterator_t * iterator );
# 1076 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IORegistryEntryGetParentEntry(
io_registry_entry_t entry,
const io_name_t plane,
io_registry_entry_t * parent );
# 1089 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
boolean_t
IORegistryEntryInPlane(
io_registry_entry_t entry,
const io_name_t plane );
# 1106 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
CFMutableDictionaryRef
IOServiceMatching(
const char * name );
CFMutableDictionaryRef
IOServiceNameMatching(
const char * name );
# 1128 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
CFMutableDictionaryRef
IOBSDNameMatching(
mach_port_t masterPort,
uint32_t options,
const char * bsdName );
# 1142 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
CFMutableDictionaryRef
IOOpenFirmwarePathMatching(
mach_port_t masterPort,
uint32_t options,
const char * path );
# 1158 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
kern_return_t
IOServiceOFPathToBSDName(mach_port_t masterPort,
const io_name_t openFirmwarePath,
io_name_t bsdName);
# 1171 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef void (*IOAsyncCallback0)(void *refcon, IOReturn result);
# 1181 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef void (*IOAsyncCallback1)(void *refcon, IOReturn result, void *arg0);
# 1191 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef void (*IOAsyncCallback2)(void *refcon, IOReturn result, void *arg0, void *arg1);
# 1201 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
typedef void (*IOAsyncCallback)(void *refcon, IOReturn result, void **args,
uint32_t numArgs);
kern_return_t
OSGetNotificationFromMessage(
mach_msg_header_t * msg,
uint32_t index,
uint32_t * type,
uintptr_t * reference,
void ** content,
vm_size_t * size );
kern_return_t
IOCatalogueSendData(
mach_port_t masterPort,
uint32_t flag,
const char *buffer,
uint32_t size );
kern_return_t
IOCatalogueTerminate(
mach_port_t masterPort,
uint32_t flag,
io_name_t description );
kern_return_t
IOCatalogueGetData(
mach_port_t masterPort,
uint32_t flag,
char **buffer,
uint32_t *size );
kern_return_t
IOCatalogueModuleLoaded(
mach_port_t masterPort,
io_name_t name );
kern_return_t
IOCatalogueReset(
mach_port_t masterPort,
uint32_t flag );
# 1422 "/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h" 3
# 29 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 2 3
# 1 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 1 3
# 25 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
#define __DISKARBITRATION_DASESSION__
# 40 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
typedef struct __DASession * DASessionRef;
extern CFTypeID DASessionGetTypeID( void );
# 58 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern DASessionRef DASessionCreate( CFAllocatorRef allocator );
# 68 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern void DASessionScheduleWithRunLoop( DASessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
# 78 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern void DASessionUnscheduleFromRunLoop( DASessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
typedef struct __DAApprovalSession * DAApprovalSessionRef;
extern CFTypeID DAApprovalSessionGetTypeID( void );
# 103 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern DAApprovalSessionRef DAApprovalSessionCreate( CFAllocatorRef allocator );
# 113 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern void DAApprovalSessionScheduleWithRunLoop( DAApprovalSessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
# 123 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h" 3
extern void DAApprovalSessionUnscheduleFromRunLoop( DAApprovalSessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
# 31 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 2 3
extern const CFStringRef kDADiskDescriptionVolumeKindKey;
extern const CFStringRef kDADiskDescriptionVolumeMountableKey;
extern const CFStringRef kDADiskDescriptionVolumeNameKey;
extern const CFStringRef kDADiskDescriptionVolumeNetworkKey;
extern const CFStringRef kDADiskDescriptionVolumePathKey;
extern const CFStringRef kDADiskDescriptionVolumeUUIDKey;
extern const CFStringRef kDADiskDescriptionMediaBlockSizeKey;
extern const CFStringRef kDADiskDescriptionMediaBSDMajorKey;
extern const CFStringRef kDADiskDescriptionMediaBSDMinorKey;
extern const CFStringRef kDADiskDescriptionMediaBSDNameKey;
extern const CFStringRef kDADiskDescriptionMediaBSDUnitKey;
extern const CFStringRef kDADiskDescriptionMediaContentKey;
extern const CFStringRef kDADiskDescriptionMediaEjectableKey;
extern const CFStringRef kDADiskDescriptionMediaIconKey;
extern const CFStringRef kDADiskDescriptionMediaKindKey;
extern const CFStringRef kDADiskDescriptionMediaLeafKey;
extern const CFStringRef kDADiskDescriptionMediaNameKey;
extern const CFStringRef kDADiskDescriptionMediaPathKey;
extern const CFStringRef kDADiskDescriptionMediaRemovableKey;
extern const CFStringRef kDADiskDescriptionMediaSizeKey;
extern const CFStringRef kDADiskDescriptionMediaTypeKey;
extern const CFStringRef kDADiskDescriptionMediaUUIDKey;
extern const CFStringRef kDADiskDescriptionMediaWholeKey;
extern const CFStringRef kDADiskDescriptionMediaWritableKey;
extern const CFStringRef kDADiskDescriptionDeviceGUIDKey;
extern const CFStringRef kDADiskDescriptionDeviceInternalKey;
extern const CFStringRef kDADiskDescriptionDeviceModelKey;
extern const CFStringRef kDADiskDescriptionDevicePathKey;
extern const CFStringRef kDADiskDescriptionDeviceProtocolKey;
extern const CFStringRef kDADiskDescriptionDeviceRevisionKey;
extern const CFStringRef kDADiskDescriptionDeviceUnitKey;
extern const CFStringRef kDADiskDescriptionDeviceVendorKey;
extern const CFStringRef kDADiskDescriptionBusNameKey;
extern const CFStringRef kDADiskDescriptionBusPathKey;
# 81 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
typedef struct __DADisk * DADiskRef;
extern CFTypeID DADiskGetTypeID( void );
# 103 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern DADiskRef DADiskCreateFromBSDName( CFAllocatorRef allocator, DASessionRef session, const char * name );
# 118 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern DADiskRef DADiskCreateFromIOMedia( CFAllocatorRef allocator, DASessionRef session, io_service_t media );
# 129 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern const char * DADiskGetBSDName( DADiskRef disk );
# 142 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern io_service_t DADiskCopyIOMedia( DADiskRef disk );
# 160 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern CFDictionaryRef DADiskCopyDescription( DADiskRef disk );
# 173 "/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h" 3
extern DADiskRef DADiskCopyWholeDisk( DADiskRef disk );
# 63 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 2 3
# 74 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
#pragma pack(push, 2)
#define _HFSUNISTR255_DEFINED_
struct HFSUniStr255 {
UInt16 length;
UniChar unicode[255];
};
typedef struct HFSUniStr255 HFSUniStr255;
typedef const HFSUniStr255 * ConstHFSUniStr255Param;
#define kFSFileSecurityRemoveACL (acl_t) _FILESEC_REMOVE_ACL
# 97 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
fsCurPerm = 0x00,
fsRdPerm = 0x01,
fsWrPerm = 0x02,
fsRdWrPerm = 0x03,
fsRdWrShPerm = 0x04
};
# 115 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
fsRdAccessPerm = 0x01,
fsWrAccessPerm = 0x02,
fsRdDenyPerm = 0x10,
fsWrDenyPerm = 0x20
};
enum {
fsRtParID = 1,
fsRtDirID = 2
};
enum {
fsAtMark = 0,
fsFromStart = 1,
fsFromLEOF = 2,
fsFromMark = 3
};
enum {
kFSAllowConcurrentAsyncIOBit = 3,
kFSAllowConcurrentAsyncIOMask = 0x0008,
kFSPleaseCacheBit = 4,
kFSPleaseCacheMask = 0x0010,
kFSNoCacheBit = 5,
kFSNoCacheMask = 0x0020,
kFSRdVerifyBit = 6,
kFSRdVerifyMask = 0x0040,
kFSForceReadBit = 6,
kFSForceReadMask = 0x0040,
kFSNewLineBit = 7,
kFSNewLineMask = 0x0080,
kFSNewLineCharMask = 0xFF00
};
enum {
fsSBPartialName = 0x01,
fsSBFullName = 0x02,
fsSBFlAttrib = 0x04,
fsSBFlFndrInfo = 0x08,
fsSBFlLgLen = 0x20,
fsSBFlPyLen = 0x40,
fsSBFlRLgLen = 0x80,
fsSBFlRPyLen = 0x0100,
fsSBFlCrDat = 0x0200,
fsSBFlMdDat = 0x0400,
fsSBFlBkDat = 0x0800,
fsSBFlXFndrInfo = 0x1000,
fsSBFlParID = 0x2000,
fsSBNegate = 0x4000,
fsSBDrUsrWds = 0x08,
fsSBDrNmFls = 0x10,
fsSBDrCrDat = 0x0200,
fsSBDrMdDat = 0x0400,
fsSBDrBkDat = 0x0800,
fsSBDrFndrInfo = 0x1000,
fsSBDrParID = 0x2000,
fsSBNodeID = 0x8000,
fsSBAttributeModDate = 0x00010000,
fsSBAccessDate = 0x00020000,
fsSBPermissions = 0x00040000,
fsSBSkipPackageContents = 0x00080000,
fsSBSkipHiddenItems = 0x00100000,
fsSBUserID = 0x00200000,
fsSBGroupID = 0x00400000
};
enum {
fsSBPartialNameBit = 0,
fsSBFullNameBit = 1,
fsSBFlAttribBit = 2,
fsSBFlFndrInfoBit = 3,
fsSBFlLgLenBit = 5,
fsSBFlPyLenBit = 6,
fsSBFlRLgLenBit = 7,
fsSBFlRPyLenBit = 8,
fsSBFlCrDatBit = 9,
fsSBFlMdDatBit = 10,
fsSBFlBkDatBit = 11,
fsSBFlXFndrInfoBit = 12,
fsSBFlParIDBit = 13,
fsSBNegateBit = 14,
fsSBDrUsrWdsBit = 3,
fsSBDrNmFlsBit = 4,
fsSBDrCrDatBit = 9,
fsSBDrMdDatBit = 10,
fsSBDrBkDatBit = 11,
fsSBDrFndrInfoBit = 12,
fsSBDrParIDBit = 13,
fsSBNodeIDBit = 15,
fsSBAttributeModDateBit = 16,
fsSBAccessDateBit = 17,
fsSBPermissionsBit = 18,
fsSBSkipPackageContentsBit = 19,
fsSBSkipHiddenItemsBit = 20,
fsSBUserIDBit = 21,
fsSBGroupIDBit = 22
};
enum {
bLimitFCBs = 31,
bLocalWList = 30,
bNoMiniFndr = 29,
bNoVNEdit = 28,
bNoLclSync = 27,
bTrshOffLine = 26,
bNoSwitchTo = 25,
bNoDeskItems = 20,
bNoBootBlks = 19,
bAccessCntl = 18,
bNoSysDir = 17,
bHasExtFSVol = 16,
bHasOpenDeny = 15,
bHasCopyFile = 14,
bHasMoveRename = 13,
bHasDesktopMgr = 12,
bHasShortName = 11,
bHasFolderLock = 10,
bHasPersonalAccessPrivileges = 9,
bHasUserGroupList = 8,
bHasCatSearch = 7,
bHasFileIDs = 6,
bHasBTreeMgr = 5,
bHasBlankAccessPrivileges = 4,
bSupportsAsyncRequests = 3,
bSupportsTrashVolumeCache = 2
};
enum {
bHasDirectIO = 1
};
enum {
bIsEjectable = 0,
bSupportsHFSPlusAPIs = 1,
bSupportsFSCatalogSearch = 2,
bSupportsFSExchangeObjects = 3,
bSupports2TBFiles = 4,
bSupportsLongNames = 5,
bSupportsMultiScriptNames = 6,
bSupportsNamedForks = 7,
bSupportsSubtreeIterators = 8,
bL2PCanMapFileBlocks = 9,
bParentModDateChanges = 10,
bAncestorModDateChanges = 11,
bSupportsSymbolicLinks = 13,
bIsAutoMounted = 14,
bAllowCDiDataHandler = 17,
bSupportsExclusiveLocks = 18,
bSupportsJournaling = 19,
bNoVolumeSizes = 20,
bIsOnInternalBus = 21,
bIsCaseSensitive = 22,
bIsCasePreserving = 23,
bDoNotDisplay = 24,
bIsRemovable = 25,
bNoRootTimes = 26,
bIsOnExternalBus = 27,
bSupportsExtendedFileSecurity = 28
};
enum {
kWidePosOffsetBit = 8,
kUseWidePositioning = (1 << kWidePosOffsetBit),
kMaximumBlocksIn4GB = 0x007FFFFF
};
enum {
fsUnixPriv = 1
};
enum {
kNoUserAuthentication = 1,
kPassword = 2,
kEncryptPassword = 3,
kTwoWayEncryptPassword = 6
};
enum {
knoUser = 0,
kadministratorUser = 1
};
enum {
knoGroup = 0
};
typedef SInt16 FSVolumeRefNum;
typedef int FSIORefNum;
enum {
kFSInvalidVolumeRefNum = 0
};
struct FSRef {
UInt8 hidden[80];
};
typedef struct FSRef FSRef;
typedef FSRef * FSRefPtr;
typedef struct __FSFileSecurity* FSFileSecurityRef;
struct CatPositionRec {
SInt32 initialize;
SInt16 priv[6];
};
typedef struct CatPositionRec CatPositionRec;
struct FSSpec {
UInt8 hidden[70];
};
typedef struct FSSpec FSSpec;
# 357 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef FSSpec * FSSpecPtr;
typedef FSSpecPtr * FSSpecHandle;
typedef FSSpecPtr FSSpecArrayPtr;
typedef const FSSpec * ConstFSSpecPtr;
typedef union ParamBlockRec ParamBlockRec;
typedef void * ParmBlkPtr;
typedef void ( * IOCompletionProcPtr)(ParmBlkPtr paramBlock);
typedef IOCompletionProcPtr IOCompletionUPP;
# 1067 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
struct FSPermissionInfo {
UInt32 userID;
UInt32 groupID;
UInt8 reserved1;
UInt8 userAccess;
UInt16 mode;
FSFileSecurityRef fileSec;
};
typedef struct FSPermissionInfo FSPermissionInfo;
typedef UInt32 FSCatalogInfoBitmap;
enum {
kFSCatInfoNone = 0x00000000,
kFSCatInfoTextEncoding = 0x00000001,
kFSCatInfoNodeFlags = 0x00000002,
kFSCatInfoVolume = 0x00000004,
kFSCatInfoParentDirID = 0x00000008,
kFSCatInfoNodeID = 0x00000010,
kFSCatInfoCreateDate = 0x00000020,
kFSCatInfoContentMod = 0x00000040,
kFSCatInfoAttrMod = 0x00000080,
kFSCatInfoAccessDate = 0x00000100,
kFSCatInfoBackupDate = 0x00000200,
kFSCatInfoPermissions = 0x00000400,
kFSCatInfoFinderInfo = 0x00000800,
kFSCatInfoFinderXInfo = 0x00001000,
kFSCatInfoValence = 0x00002000,
kFSCatInfoDataSizes = 0x00004000,
kFSCatInfoRsrcSizes = 0x00008000,
kFSCatInfoSharingFlags = 0x00010000,
kFSCatInfoUserPrivs = 0x00020000,
kFSCatInfoUserAccess = 0x00080000,
kFSCatInfoSetOwnership = 0x00100000,
kFSCatInfoFSFileSecurityRef = 0x00400000,
kFSCatInfoAllDates = 0x000003E0,
kFSCatInfoGettableInfo = 0x0003FFFF,
kFSCatInfoSettableInfo = 0x00001FE3,
kFSCatInfoReserved = (long)0xFFFC0000
};
enum {
kFSNodeLockedBit = 0,
kFSNodeLockedMask = 0x0001,
kFSNodeResOpenBit = 2,
kFSNodeResOpenMask = 0x0004,
kFSNodeDataOpenBit = 3,
kFSNodeDataOpenMask = 0x0008,
kFSNodeIsDirectoryBit = 4,
kFSNodeIsDirectoryMask = 0x0010,
kFSNodeCopyProtectBit = 6,
kFSNodeCopyProtectMask = 0x0040,
kFSNodeForkOpenBit = 7,
kFSNodeForkOpenMask = 0x0080,
kFSNodeHardLinkBit = 8,
kFSNodeHardLinkMask = 0x00000100
};
enum {
kFSNodeInSharedBit = 2,
kFSNodeInSharedMask = 0x0004,
kFSNodeIsMountedBit = 3,
kFSNodeIsMountedMask = 0x0008,
kFSNodeIsSharePointBit = 5,
kFSNodeIsSharePointMask = 0x0020
};
# 1148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
struct FSCatalogInfo {
UInt16 nodeFlags;
FSVolumeRefNum volume;
UInt32 parentDirID;
UInt32 nodeID;
UInt8 sharingFlags;
UInt8 userPrivileges;
UInt8 reserved1;
UInt8 reserved2;
UTCDateTime createDate;
UTCDateTime contentModDate;
UTCDateTime attributeModDate;
UTCDateTime accessDate;
UTCDateTime backupDate;
FSPermissionInfo permissions;
UInt8 finderInfo[16];
UInt8 extFinderInfo[16];
UInt64 dataLogicalSize;
UInt64 dataPhysicalSize;
UInt64 rsrcLogicalSize;
UInt64 rsrcPhysicalSize;
UInt32 valence;
TextEncoding textEncodingHint;
};
typedef struct FSCatalogInfo FSCatalogInfo;
# 1300 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef FSCatalogInfo * FSCatalogInfoPtr;
struct FSRefParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
ConstStringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
SInt16 reserved1;
UInt8 reserved2;
UInt8 reserved3;
const FSRef * ref;
FSCatalogInfoBitmap whichInfo;
FSCatalogInfo * catInfo;
UniCharCount nameLength;
const UniChar * name;
UInt32 ioDirID;
FSSpecPtr spec;
FSRef * parentRef;
FSRef * newRef;
TextEncoding textEncodingHint;
HFSUniStr255 * outName;
};
typedef struct FSRefParam FSRefParam;
typedef FSRefParam * FSRefParamPtr;
struct FSRefForkIOParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
const FSRef * parentRef;
UniCharCount nameLength;
const UniChar * name;
FSCatalogInfoBitmap whichInfo;
const FSCatalogInfo * catInfo;
UniCharCount forkNameLength;
const UniChar * forkName;
SInt8 permissions;
UInt8 reserved1;
FSIORefNum forkRefNum;
FSRef * newRef;
};
typedef struct FSRefForkIOParam FSRefForkIOParam;
typedef FSRefForkIOParam * FSRefForkIOParamPtr;
typedef struct OpaqueFSIterator* FSIterator;
enum {
kFSIterateFlat = 0,
kFSIterateSubtree = 1,
kFSIterateDelete = 2,
kFSIterateReserved = (long)0xFFFFFFFC
};
typedef OptionBits FSIteratorFlags;
struct FSSearchParams {
Duration searchTime;
OptionBits searchBits;
UniCharCount searchNameLength;
const UniChar * searchName;
FSCatalogInfo * searchInfo1;
FSCatalogInfo * searchInfo2;
};
typedef struct FSSearchParams FSSearchParams;
typedef FSSearchParams * FSSearchParamsPtr;
struct FSCatalogBulkParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
Boolean containerChanged;
UInt8 reserved;
FSIteratorFlags iteratorFlags;
FSIterator iterator;
const FSRef * container;
ItemCount maximumItems;
ItemCount actualItems;
FSCatalogInfoBitmap whichInfo;
FSCatalogInfo * catalogInfo;
FSRef * refs;
FSSpecPtr specs;
HFSUniStr255 * names;
const FSSearchParams * searchParams;
};
typedef struct FSCatalogBulkParam FSCatalogBulkParam;
typedef FSCatalogBulkParam * FSCatalogBulkParamPtr;
typedef UInt16 FSAllocationFlags;
enum {
kFSAllocDefaultFlags = 0x0000,
kFSAllocAllOrNothingMask = 0x0001,
kFSAllocContiguousMask = 0x0002,
kFSAllocNoRoundUpMask = 0x0004,
kFSAllocReservedMask = 0xFFF8
};
struct FSForkIOParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
void * reserved1;
SInt16 reserved2;
FSIORefNum forkRefNum;
UInt8 reserved3;
SInt8 permissions;
const FSRef * ref;
Ptr buffer;
UInt32 requestCount;
UInt32 actualCount;
UInt16 positionMode;
SInt64 positionOffset;
FSAllocationFlags allocationFlags;
UInt64 allocationAmount;
UniCharCount forkNameLength;
const UniChar * forkName;
CatPositionRec forkIterator;
HFSUniStr255 * outForkName;
};
typedef struct FSForkIOParam FSForkIOParam;
typedef FSForkIOParam * FSForkIOParamPtr;
struct FSForkInfo {
SInt8 flags;
SInt8 permissions;
FSVolumeRefNum volume;
UInt32 reserved2;
UInt32 nodeID;
UInt32 forkID;
UInt64 currentPosition;
UInt64 logicalEOF;
UInt64 physicalEOF;
UInt64 process;
};
typedef struct FSForkInfo FSForkInfo;
typedef FSForkInfo * FSForkInfoPtr;
struct FSForkCBInfoParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
FSIORefNum desiredRefNum;
FSVolumeRefNum volumeRefNum;
FSIORefNum iterator;
FSVolumeRefNum actualRefNum;
FSRef * ref;
FSForkInfo * forkInfo;
HFSUniStr255 * forkName;
};
typedef struct FSForkCBInfoParam FSForkCBInfoParam;
typedef FSForkCBInfoParam * FSForkCBInfoParamPtr;
struct FSRangeLockParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
FSIORefNum forkRefNum;
UInt64 requestCount;
UInt16 positionMode;
SInt64 positionOffset;
UInt64 rangeStart;
};
typedef struct FSRangeLockParam FSRangeLockParam;
typedef FSRangeLockParam * FSRangeLockParamPtr;
typedef UInt32 FSVolumeInfoBitmap;
enum {
kFSVolInfoNone = 0x0000,
kFSVolInfoCreateDate = 0x0001,
kFSVolInfoModDate = 0x0002,
kFSVolInfoBackupDate = 0x0004,
kFSVolInfoCheckedDate = 0x0008,
kFSVolInfoFileCount = 0x0010,
kFSVolInfoDirCount = 0x0020,
kFSVolInfoSizes = 0x0040,
kFSVolInfoBlocks = 0x0080,
kFSVolInfoNextAlloc = 0x0100,
kFSVolInfoRsrcClump = 0x0200,
kFSVolInfoDataClump = 0x0400,
kFSVolInfoNextID = 0x0800,
kFSVolInfoFinderInfo = 0x1000,
kFSVolInfoFlags = 0x2000,
kFSVolInfoFSInfo = 0x4000,
kFSVolInfoDriveInfo = 0x8000,
kFSVolInfoGettableInfo = 0xFFFF,
kFSVolInfoSettableInfo = 0x3004
};
enum {
kFSVolFlagDefaultVolumeBit = 5,
kFSVolFlagDefaultVolumeMask = 0x0020,
kFSVolFlagFilesOpenBit = 6,
kFSVolFlagFilesOpenMask = 0x0040,
kFSVolFlagHardwareLockedBit = 7,
kFSVolFlagHardwareLockedMask = 0x0080,
kFSVolFlagJournalingActiveBit = 14,
kFSVolFlagJournalingActiveMask = 0x4000,
kFSVolFlagSoftwareLockedBit = 15,
kFSVolFlagSoftwareLockedMask = 0x8000
};
struct FSVolumeInfo {
UTCDateTime createDate;
UTCDateTime modifyDate;
UTCDateTime backupDate;
UTCDateTime checkedDate;
UInt32 fileCount;
UInt32 folderCount;
UInt64 totalBytes;
UInt64 freeBytes;
UInt32 blockSize;
UInt32 totalBlocks;
UInt32 freeBlocks;
UInt32 nextAllocation;
UInt32 rsrcClumpSize;
UInt32 dataClumpSize;
UInt32 nextCatalogID;
UInt8 finderInfo[32];
UInt16 flags;
UInt16 filesystemID;
UInt16 signature;
UInt16 driveNumber;
FSIORefNum driverRefNum;
};
typedef struct FSVolumeInfo FSVolumeInfo;
typedef FSVolumeInfo * FSVolumeInfoPtr;
struct FSVolumeInfoParam {
QElemPtr qLink;
SInt16 qType;
SInt16 ioTrap;
Ptr ioCmdAddr;
IOCompletionUPP ioCompletion;
volatile OSErr ioResult;
StringPtr ioNamePtr;
FSVolumeRefNum ioVRefNum;
UInt32 volumeIndex;
FSVolumeInfoBitmap whichInfo;
FSVolumeInfo * volumeInfo;
HFSUniStr255 * volumeName;
FSRef * ref;
};
typedef struct FSVolumeInfoParam FSVolumeInfoParam;
typedef FSVolumeInfoParam * FSVolumeInfoParamPtr;
struct GetVolParmsInfoBuffer {
SInt16 vMVersion;
SInt32 vMAttrib;
Handle vMLocalHand;
SInt32 vMServerAdr;
SInt32 vMVolumeGrade;
SInt16 vMForeignPrivID;
SInt32 vMExtendedAttributes;
void * vMDeviceID;
UniCharCount vMMaxNameLength;
};
typedef struct GetVolParmsInfoBuffer GetVolParmsInfoBuffer;
typedef OSType VolumeType;
enum {
AppleShareMediaType = 'afpm'
};
struct VolMountInfoHeader {
SInt16 length;
VolumeType media;
};
typedef struct VolMountInfoHeader VolMountInfoHeader;
typedef VolMountInfoHeader * VolMountInfoPtr;
struct VolumeMountInfoHeader {
SInt16 length;
VolumeType media;
SInt16 flags;
};
typedef struct VolumeMountInfoHeader VolumeMountInfoHeader;
typedef VolumeMountInfoHeader * VolumeMountInfoHeaderPtr;
enum {
volMountNoLoginMsgFlagBit = 0,
volMountNoLoginMsgFlagMask = 0x0001,
volMountExtendedFlagsBit = 7,
volMountExtendedFlagsMask = 0x0080,
volMountInteractBit = 15,
volMountInteractMask = 0x8000,
volMountChangedBit = 14,
volMountChangedMask = 0x4000,
volMountFSReservedMask = 0x00FF,
volMountSysReservedMask = 0xFF00
};
struct AFPVolMountInfo {
SInt16 length;
VolumeType media;
SInt16 flags;
SInt8 nbpInterval;
SInt8 nbpCount;
SInt16 uamType;
SInt16 zoneNameOffset;
SInt16 serverNameOffset;
SInt16 volNameOffset;
SInt16 userNameOffset;
SInt16 userPasswordOffset;
SInt16 volPasswordOffset;
char AFPData[144];
};
typedef struct AFPVolMountInfo AFPVolMountInfo;
typedef AFPVolMountInfo * AFPVolMountInfoPtr;
struct AFPXVolMountInfo {
SInt16 length;
VolumeType media;
SInt16 flags;
SInt8 nbpInterval;
SInt8 nbpCount;
SInt16 uamType;
SInt16 zoneNameOffset;
SInt16 serverNameOffset;
SInt16 volNameOffset;
SInt16 userNameOffset;
SInt16 userPasswordOffset;
SInt16 volPasswordOffset;
SInt16 extendedFlags;
SInt16 uamNameOffset;
SInt16 alternateAddressOffset;
char AFPData[176];
};
typedef struct AFPXVolMountInfo AFPXVolMountInfo;
typedef AFPXVolMountInfo * AFPXVolMountInfoPtr;
enum {
kAFPExtendedFlagsAlternateAddressMask = 1
};
enum {
kAFPTagTypeIP = 0x01,
kAFPTagTypeIPPort = 0x02,
kAFPTagTypeDDP = 0x03,
kAFPTagTypeDNS = 0x04
};
enum {
kAFPTagLengthIP = 0x06,
kAFPTagLengthIPPort = 0x08,
kAFPTagLengthDDP = 0x06
};
struct AFPTagData {
UInt8 fLength;
UInt8 fType;
UInt8 fData[1];
};
typedef struct AFPTagData AFPTagData;
struct AFPAlternateAddress {
UInt8 fVersion;
UInt8 fAddressCount;
UInt8 fAddressList[1];
};
typedef struct AFPAlternateAddress AFPAlternateAddress;
enum {
kLargeIconSize = 256,
kLarge4BitIconSize = 512,
kLarge8BitIconSize = 1024,
kSmallIconSize = 64,
kSmall4BitIconSize = 128,
kSmall8BitIconSize = 256
};
# 1730 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern IOCompletionUPP
NewIOCompletionUPP(IOCompletionProcPtr userRoutine) ;
# 1741 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
DisposeIOCompletionUPP(IOCompletionUPP userUPP) ;
# 1752 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
InvokeIOCompletionUPP(
ParmBlkPtr paramBlock,
IOCompletionUPP userUPP) ;
#define NewIOCompletionUPP(userRoutine) ((IOCompletionUPP)userRoutine)
#define DisposeIOCompletionUPP(userUPP)
#define InvokeIOCompletionUPP(paramBlock,userUPP) (*userUPP)(paramBlock)
# 1793 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSMakeFSRefUnicode(const FSRef *parentRef, UniCharCount nameLength, const UniChar *name, TextEncoding textEncodingHint, FSRef *newRef) ;
# 1807 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBMakeFSRefUnicodeSync(FSRefParam * paramBlock) ;
# 1821 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBMakeFSRefUnicodeAsync(FSRefParam * paramBlock) ;
# 1846 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCompareFSRefs(const FSRef *ref1, const FSRef *ref2) ;
# 1860 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCompareFSRefsSync(FSRefParam * paramBlock) ;
# 1874 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCompareFSRefsAsync(FSRefParam * paramBlock) ;
# 1903 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCreateFileUnicode(const FSRef *parentRef, UniCharCount nameLength, const UniChar *name, FSCatalogInfoBitmap whichInfo, const FSCatalogInfo *catalogInfo, FSRef *newRef, FSSpecPtr newSpec) ;
# 1917 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCreateFileUnicodeSync(FSRefParam * paramBlock) ;
# 1931 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCreateFileUnicodeAsync(FSRefParam * paramBlock) ;
# 1961 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCreateDirectoryUnicode(const FSRef *parentRef, UniCharCount nameLength, const UniChar *name, FSCatalogInfoBitmap whichInfo, const FSCatalogInfo *catalogInfo, FSRef *newRef, FSSpecPtr newSpec, UInt32 *newDirID) ;
# 1975 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCreateDirectoryUnicodeSync(FSRefParam * paramBlock) ;
# 1989 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCreateDirectoryUnicodeAsync(FSRefParam * paramBlock) ;
# 2011 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSDeleteObject(const FSRef * ref) ;
# 2025 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDeleteObjectSync(FSRefParam * paramBlock) ;
# 2039 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBDeleteObjectAsync(FSRefParam * paramBlock) ;
# 2062 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSUnlinkObject(const FSRef * ref) ;
# 2076 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBUnlinkObjectSync(FSRefParam * paramBlock) ;
# 2090 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBUnlinkObjectAsync(FSRefParam * paramBlock) ;
# 2119 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSMoveObject(const FSRef *ref, const FSRef *destDirectory, FSRef *newRef) ;
# 2133 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBMoveObjectSync(FSRefParam * paramBlock) ;
# 2147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBMoveObjectAsync(FSRefParam * paramBlock) ;
# 2170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSExchangeObjects(const FSRef *ref, const FSRef *destRef) ;
# 2184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBExchangeObjectsSync(FSRefParam * paramBlock) ;
# 2198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBExchangeObjectsAsync(FSRefParam * paramBlock) ;
# 2316 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSReplaceObjectDefaultOptions = 0,
kFSReplaceObjectReplaceMetadata = 0x01,
kFSReplaceObjectSaveOriginalAsABackup = 0x02,
kFSReplaceObjectReplacePermissionInfo = 0x04,
kFSReplaceObjectPreservePermissionInfo = 0x08,
# 2359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
kFSReplaceObjectDoNotCheckObjectWriteAccess = 0x10
};
# 2409 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSReplaceObject(const FSRef *originalObject, const FSRef *replacementObject, CFStringRef newName, CFStringRef temporaryName, const FSRef *temporaryDirectory, OptionBits flags, FSRef *resultObject) ;
# 2457 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathReplaceObject(const char *originalObjectPath, const char *replacementObjectPath, CFStringRef newName, CFStringRef temporaryName, const char *temporaryDirectoryPath, OptionBits flags) ;
# 2489 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetTemporaryDirectoryForReplaceObject(const FSRef *originalObject, FSRef *temporaryDirectory, OptionBits flags) ;
# 2525 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathGetTemporaryDirectoryForReplaceObject(const char *originalObjectPath, char *temporaryDirectoryPath, UInt32 maxPathSize, OptionBits flags) ;
# 2556 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSRenameUnicode(const FSRef *ref, UniCharCount nameLength, const UniChar *name, TextEncoding textEncodingHint, FSRef *newRef) ;
# 2570 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBRenameUnicodeSync(FSRefParam * paramBlock) ;
# 2584 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBRenameUnicodeAsync(FSRefParam * paramBlock) ;
# 2613 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetCatalogInfo(const FSRef *ref, FSCatalogInfoBitmap whichInfo, FSCatalogInfo *catalogInfo, HFSUniStr255 *outName, FSSpecPtr fsSpec, FSRef *parentRef) ;
# 2627 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetCatalogInfoSync(FSRefParam * paramBlock) ;
# 2641 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetCatalogInfoAsync(FSRefParam * paramBlock) ;
# 2683 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSSetCatalogInfo(const FSRef *ref, FSCatalogInfoBitmap whichInfo, const FSCatalogInfo *catalogInfo) ;
# 2705 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetCatalogInfoSync(FSRefParam * paramBlock) ;
# 2727 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBSetCatalogInfoAsync(FSRefParam * paramBlock) ;
# 2754 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSOpenIterator(const FSRef *container, FSIteratorFlags iteratorFlags, FSIterator *iterator) ;
# 2768 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBOpenIteratorSync(FSCatalogBulkParam * paramBlock) ;
# 2782 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBOpenIteratorAsync(FSCatalogBulkParam * paramBlock) ;
# 2804 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCloseIterator(FSIterator iterator) ;
# 2818 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCloseIteratorSync(FSCatalogBulkParam * paramBlock) ;
# 2832 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCloseIteratorAsync(FSCatalogBulkParam * paramBlock) ;
# 2865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetCatalogInfoBulk(FSIterator iterator, ItemCount maximumObjects, ItemCount *actualObjects, Boolean *containerChanged, FSCatalogInfoBitmap whichInfo, FSCatalogInfo *catalogInfos, FSRef *refs, FSSpecPtr specs, HFSUniStr255 *names) ;
# 2879 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetCatalogInfoBulkSync(FSCatalogBulkParam * paramBlock) ;
# 2893 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetCatalogInfoBulkAsync(FSCatalogBulkParam * paramBlock) ;
# 2929 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCatalogSearch(FSIterator iterator, const FSSearchParams *searchCriteria, ItemCount maximumObjects, ItemCount *actualObjects, Boolean *containerChanged, FSCatalogInfoBitmap whichInfo, FSCatalogInfo *catalogInfos, FSRef *refs, FSSpecPtr specs, HFSUniStr255 *names) ;
# 2943 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCatalogSearchSync(FSCatalogBulkParam * paramBlock) ;
# 2957 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCatalogSearchAsync(FSCatalogBulkParam * paramBlock) ;
# 2989 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCreateFileAndOpenForkUnicode(const FSRef *parentRef, UniCharCount nameLength, const UniChar *name, FSCatalogInfoBitmap whichInfo, const FSCatalogInfo *catalogInfo, UniCharCount forkNameLength, const UniChar *forkName, SInt8 permissions, FSIORefNum *forkRefNum, FSRef *newRef) ;
# 3003 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBCreateFileAndOpenForkUnicodeSync(FSRefForkIOParamPtr paramBlock) ;
# 3017 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCreateFileAndOpenForkUnicodeAsync(FSRefForkIOParamPtr paramBlock) ;
# 3040 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCreateFork(const FSRef *ref, UniCharCount forkNameLength, const UniChar *forkName) ;
# 3054 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCreateForkSync(FSForkIOParam * paramBlock) ;
# 3068 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCreateForkAsync(FSForkIOParam * paramBlock) ;
# 3092 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSDeleteFork(const FSRef *ref, UniCharCount forkNameLength, const UniChar *forkName) ;
# 3106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBDeleteForkSync(FSForkIOParam * paramBlock) ;
# 3120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBDeleteForkAsync(FSForkIOParam * paramBlock) ;
# 3148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSIterateForks(const FSRef *ref, CatPositionRec *forkIterator, HFSUniStr255 *forkName, SInt64 *forkSize, UInt64 *forkPhysicalSize) ;
# 3162 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBIterateForksSync(FSForkIOParam * paramBlock) ;
# 3176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBIterateForksAsync(FSForkIOParam * paramBlock) ;
# 3205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSOpenFork(const FSRef *ref, UniCharCount forkNameLength, const UniChar *forkName, SInt8 permissions, FSIORefNum *forkRefNum) ;
# 3219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBOpenForkSync(FSForkIOParam * paramBlock) ;
# 3233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBOpenForkAsync(FSForkIOParam * paramBlock) ;
# 3261 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSReadFork(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset, ByteCount requestCount, void *buffer, ByteCount *actualCount) ;
# 3275 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBReadForkSync(FSForkIOParam * paramBlock) ;
# 3289 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBReadForkAsync(FSForkIOParam * paramBlock) ;
# 3317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSWriteFork(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset, ByteCount requestCount, const void *buffer, ByteCount *actualCount) ;
# 3331 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBWriteForkSync(FSForkIOParam * paramBlock) ;
# 3345 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBWriteForkAsync(FSForkIOParam * paramBlock) ;
# 3369 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetForkPosition(FSIORefNum forkRefNum, SInt64 *position) ;
# 3383 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetForkPositionSync(FSForkIOParam * paramBlock) ;
# 3397 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetForkPositionAsync(FSForkIOParam * paramBlock) ;
# 3422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSSetForkPosition(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset) ;
# 3436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetForkPositionSync(FSForkIOParam * paramBlock) ;
# 3450 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBSetForkPositionAsync(FSForkIOParam * paramBlock) ;
# 3473 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetForkSize(FSIORefNum forkRefNum, SInt64 *forkSize) ;
# 3487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetForkSizeSync(FSForkIOParam * paramBlock) ;
# 3501 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetForkSizeAsync(FSForkIOParam * paramBlock) ;
# 3526 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSSetForkSize(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset) ;
# 3540 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetForkSizeSync(FSForkIOParam * paramBlock) ;
# 3554 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBSetForkSizeAsync(FSForkIOParam * paramBlock) ;
# 3594 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSAllocateFork(FSIORefNum forkRefNum, FSAllocationFlags flags, UInt16 positionMode, SInt64 positionOffset, UInt64 requestCount, UInt64 *actualCount) ;
# 3608 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBAllocateForkSync(FSForkIOParam * paramBlock) ;
# 3622 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBAllocateForkAsync(FSForkIOParam * paramBlock) ;
# 3645 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSFlushFork(FSIORefNum forkRefNum) ;
# 3659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBFlushForkSync(FSForkIOParam * paramBlock) ;
# 3673 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBFlushForkAsync(FSForkIOParam * paramBlock) ;
# 3696 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSCloseFork(FSIORefNum forkRefNum) ;
# 3710 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBCloseForkSync(FSForkIOParam * paramBlock) ;
# 3724 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBCloseForkAsync(FSForkIOParam * paramBlock) ;
# 3762 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetForkCBInfo(FSIORefNum desiredRefNum, FSVolumeRefNum volume, short *iterator, FSIORefNum *actualRefNum, FSForkInfo *forkInfo, FSRef *ref, HFSUniStr255 *outForkName) ;
# 3776 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetForkCBInfoSync(FSForkCBInfoParam * paramBlock) ;
# 3790 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetForkCBInfoAsync(FSForkCBInfoParam * paramBlock) ;
# 3816 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSLockRange(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset, UInt64 requestCount, UInt64 *rangeStart) ;
# 3830 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBXLockRangeSync(FSRangeLockParamPtr paramBlock) ;
# 3844 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBXLockRangeAsync(FSRangeLockParamPtr paramBlock) ;
# 3870 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSUnlockRange(FSIORefNum forkRefNum, UInt16 positionMode, SInt64 positionOffset, UInt64 requestCount, UInt64 *rangeStart) ;
# 3884 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBXUnlockRangeSync(FSRangeLockParamPtr paramBlock) ;
# 3898 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBXUnlockRangeAsync(FSRangeLockParamPtr paramBlock) ;
# 3929 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetVolumeInfo(FSVolumeRefNum volume, ItemCount volumeIndex, FSVolumeRefNum *actualVolume, FSVolumeInfoBitmap whichInfo, FSVolumeInfo *info, HFSUniStr255 *volumeName, FSRef *rootDirectory) ;
# 3943 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBGetVolumeInfoSync(FSVolumeInfoParam * paramBlock) ;
# 3957 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBGetVolumeInfoAsync(FSVolumeInfoParam * paramBlock) ;
# 3984 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSSetVolumeInfo(FSVolumeRefNum volume, FSVolumeInfoBitmap whichInfo, const FSVolumeInfo *info) ;
# 3998 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr PBSetVolumeInfoSync(FSVolumeInfoParam * paramBlock) ;
# 4012 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void PBSetVolumeInfoAsync(FSVolumeInfoParam * paramBlock) ;
# 4030 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetDataForkName(HFSUniStr255 * dataForkName) ;
# 4049 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSErr FSGetResourceForkName(HFSUniStr255 * resourceForkName) ;
# 4079 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSRefMakePath(const FSRef *ref, UInt8 *path, UInt32 pathBufferSize) ;
# 4108 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMakeRef(const UInt8 *path, FSRef *ref, Boolean *isDirectory) ;
# 4118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSPathMakeRefDefaultOptions = 0,
kFSPathMakeRefDoNotFollowLeafSymlink = 0x01
};
# 4153 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMakeRefWithOptions(const UInt8 *path, OptionBits options, FSRef *ref, Boolean *isDirectory) ;
# 4177 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern Boolean FSIsFSRefValid(const FSRef * ref) ;
# 4190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef UInt32 FNMessage;
enum {
kFNDirectoryModifiedMessage = 1
};
# 4231 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNNotify(const FSRef *ref, FNMessage message, OptionBits flags) ;
# 4260 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNNotifyByPath(const UInt8 *path, FNMessage message, OptionBits flags) ;
# 4288 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNNotifyAll(FNMessage message, OptionBits flags) ;
# 4303 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef struct OpaqueFNSubscriptionRef* FNSubscriptionRef;
enum {
kFNNoImplicitAllSubscription = (1 << 0),
kFNNotifyInBackground = (1 << 1)
};
# 4350 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef void ( * FNSubscriptionProcPtr)(FNMessage message, OptionBits flags, void *refcon, FNSubscriptionRef subscription);
typedef FNSubscriptionProcPtr FNSubscriptionUPP;
# 4360 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FNSubscriptionUPP
NewFNSubscriptionUPP(FNSubscriptionProcPtr userRoutine) ;
# 4371 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
DisposeFNSubscriptionUPP(FNSubscriptionUPP userUPP) ;
# 4382 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
InvokeFNSubscriptionUPP(
FNMessage message,
OptionBits flags,
void * refcon,
FNSubscriptionRef subscription,
FNSubscriptionUPP userUPP) ;
#define NewFNSubscriptionUPP(userRoutine) ((FNSubscriptionUPP)userRoutine)
#define DisposeFNSubscriptionUPP(userUPP)
#define InvokeFNSubscriptionUPP(message,flags,refcon,subscription,userUPP) (*userUPP)(message, flags, refcon, subscription)
# 4434 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNSubscribe(const FSRef *directoryRef, FNSubscriptionUPP callback, void *refcon, OptionBits flags, FNSubscriptionRef *subscription) ;
# 4469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNSubscribeByPath(const UInt8 *directoryPath, FNSubscriptionUPP callback, void *refcon, OptionBits flags, FNSubscriptionRef *subscription) ;
# 4492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNUnsubscribe(FNSubscriptionRef subscription) ;
# 4522 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FNGetDirectoryForSubscription(FNSubscriptionRef subscription, FSRef *ref) ;
enum {
kAsyncMountInProgress = 1,
kAsyncMountComplete = 2,
kAsyncUnmountInProgress = 3,
kAsyncUnmountComplete = 4,
kAsyncEjectInProgress = 5,
kAsyncEjectComplete = 6
};
typedef UInt32 FSMountStatus;
typedef UInt32 FSEjectStatus;
typedef UInt32 FSUnmountStatus;
typedef struct OpaqueFSVolumeOperation* FSVolumeOperation;
typedef void ( * FSVolumeMountProcPtr)(FSVolumeOperation volumeOp, void *clientData, OSStatus err, FSVolumeRefNum mountedVolumeRefNum);
typedef void ( * FSVolumeUnmountProcPtr)(FSVolumeOperation volumeOp, void *clientData, OSStatus err, FSVolumeRefNum volumeRefNum, pid_t dissenter);
typedef void ( * FSVolumeEjectProcPtr)(FSVolumeOperation volumeOp, void *clientData, OSStatus err, FSVolumeRefNum volumeRefNum, pid_t dissenter);
typedef FSVolumeMountProcPtr FSVolumeMountUPP;
typedef FSVolumeUnmountProcPtr FSVolumeUnmountUPP;
typedef FSVolumeEjectProcPtr FSVolumeEjectUPP;
# 4555 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSVolumeMountUPP
NewFSVolumeMountUPP(FSVolumeMountProcPtr userRoutine) ;
# 4566 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSVolumeUnmountUPP
NewFSVolumeUnmountUPP(FSVolumeUnmountProcPtr userRoutine) ;
# 4577 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSVolumeEjectUPP
NewFSVolumeEjectUPP(FSVolumeEjectProcPtr userRoutine) ;
# 4588 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
DisposeFSVolumeMountUPP(FSVolumeMountUPP userUPP) ;
# 4599 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
DisposeFSVolumeUnmountUPP(FSVolumeUnmountUPP userUPP) ;
# 4610 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
DisposeFSVolumeEjectUPP(FSVolumeEjectUPP userUPP) ;
# 4621 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
InvokeFSVolumeMountUPP(
FSVolumeOperation volumeOp,
void * clientData,
OSStatus err,
FSVolumeRefNum mountedVolumeRefNum,
FSVolumeMountUPP userUPP) ;
# 4637 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
InvokeFSVolumeUnmountUPP(
FSVolumeOperation volumeOp,
void * clientData,
OSStatus err,
FSVolumeRefNum volumeRefNum,
pid_t dissenter,
FSVolumeUnmountUPP userUPP) ;
# 4654 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern void
InvokeFSVolumeEjectUPP(
FSVolumeOperation volumeOp,
void * clientData,
OSStatus err,
FSVolumeRefNum volumeRefNum,
pid_t dissenter,
FSVolumeEjectUPP userUPP) ;
# 4675 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
#define NewFSVolumeMountUPP(userRoutine) ((FSVolumeMountUPP)userRoutine)
#define NewFSVolumeUnmountUPP(userRoutine) ((FSVolumeUnmountUPP)userRoutine)
#define NewFSVolumeEjectUPP(userRoutine) ((FSVolumeEjectUPP)userRoutine)
#define DisposeFSVolumeMountUPP(userUPP)
#define DisposeFSVolumeUnmountUPP(userUPP)
#define DisposeFSVolumeEjectUPP(userUPP)
#define InvokeFSVolumeMountUPP(volumeOp,clientData,err,mountedVolumeRefNum,userUPP) (*userUPP)(volumeOp, clientData, err, mountedVolumeRefNum)
#define InvokeFSVolumeUnmountUPP(volumeOp,clientData,err,volumeRefNum,dissenter,userUPP) (*userUPP)(volumeOp, clientData, err, volumeRefNum, dissenter)
#define InvokeFSVolumeEjectUPP(volumeOp,clientData,err,volumeRefNum,dissenter,userUPP) (*userUPP)(volumeOp, clientData, err, volumeRefNum, dissenter)
# 4693 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSMountServerMarkDoNotDisplay = (1 << 0),
kFSMountServerMountOnMountDir = (1 << 2)
};
# 4715 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSMountServerMountWithoutNotification = (1 << 1)
};
enum {
# 4740 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
kFSEjectVolumeForceEject = (1 << 0)
};
enum {
# 4758 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
kFSUnmountVolumeForceUnmount = (1 << 0)
};
# 4783 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCreateVolumeOperation(FSVolumeOperation * volumeOp) ;
# 4806 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSDisposeVolumeOperation(FSVolumeOperation volumeOp) ;
# 4839 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMountLocalVolumeSync(CFStringRef diskID, CFURLRef mountDir, FSVolumeRefNum *mountedVolumeRefNum, OptionBits flags) ;
# 4887 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMountLocalVolumeAsync(CFStringRef diskID, CFURLRef mountDir, FSVolumeOperation volumeOp, void *clientData, OptionBits flags, FSVolumeMountUPP callback, CFRunLoopRef runloop, CFStringRef runloopMode) ;
# 4929 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMountServerVolumeSync(CFURLRef url, CFURLRef mountDir, CFStringRef user, CFStringRef password, FSVolumeRefNum *mountedVolumeRefNum, OptionBits flags) ;
# 4986 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMountServerVolumeAsync(CFURLRef url, CFURLRef mountDir, CFStringRef user, CFStringRef password, FSVolumeOperation volumeOp, void *clientData, OptionBits flags, FSVolumeMountUPP callback, CFRunLoopRef runloop, CFStringRef runloopMode) ;
# 5029 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetAsyncMountStatus(FSVolumeOperation volumeOp, FSMountStatus *status, OSStatus *volumeOpStatus, FSVolumeRefNum *mountedVolumeRefNum, void **clientData) ;
# 5062 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSUnmountVolumeSync(FSVolumeRefNum vRefNum, OptionBits flags, pid_t *dissenter) ;
# 5106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSUnmountVolumeAsync(FSVolumeRefNum vRefNum, OptionBits flags, FSVolumeOperation volumeOp, void *clientData, FSVolumeUnmountUPP callback, CFRunLoopRef runloop, CFStringRef runloopMode) ;
# 5148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetAsyncUnmountStatus(FSVolumeOperation volumeOp, FSUnmountStatus *status, OSStatus *volumeOpStatus, FSVolumeRefNum *volumeRefNum, pid_t *dissenter, void **clientData) ;
# 5172 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCancelVolumeOperation(FSVolumeOperation volumeOp) ;
# 5205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSEjectVolumeSync(FSVolumeRefNum vRefNum, OptionBits flags, pid_t *dissenter) ;
# 5249 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSEjectVolumeAsync(FSVolumeRefNum vRefNum, OptionBits flags, FSVolumeOperation volumeOp, void *clientData, FSVolumeEjectUPP callback, CFRunLoopRef runloop, CFStringRef runloopMode) ;
# 5291 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetAsyncEjectStatus(FSVolumeOperation volumeOp, FSEjectStatus *status, OSStatus *volumeOpStatus, FSVolumeRefNum *volumeRefNum, pid_t *dissenter, void **clientData) ;
# 5318 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCopyDiskIDForVolume(FSVolumeRefNum vRefNum, CFStringRef *diskID) ;
# 5344 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCopyURLForVolume(FSVolumeRefNum vRefNum, CFURLRef *url) ;
# 5369 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetVolumeForDiskID(CFStringRef diskID, FSVolumeRefNum *vRefNum) ;
# 5396 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCopyDADiskForVolume(FSVolumeRefNum vRefNum, DADiskRef *disk) ;
# 5422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetVolumeForDADisk(DADiskRef disk, FSVolumeRefNum *vRefNum) ;
typedef struct __FSFileOperation* FSFileOperationRef;
typedef UInt32 FSFileOperationStage;
# 5437 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
struct FSFileOperationClientContext {
CFIndex version;
void * info;
# 5459 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
};
typedef struct FSFileOperationClientContext FSFileOperationClientContext;
# 5512 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef void ( * FSFileOperationStatusProcPtr)(FSFileOperationRef fileOp, const FSRef *currentItem, FSFileOperationStage stage, OSStatus error, CFDictionaryRef statusDictionary, void *info);
# 5551 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
typedef void ( * FSPathFileOperationStatusProcPtr)(FSFileOperationRef fileOp, const char *currentItem, FSFileOperationStage stage, OSStatus error, CFDictionaryRef statusDictionary, void *info);
# 5560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSFileOperationDefaultOptions = 0,
kFSFileOperationOverwrite = 0x01,
kFSFileOperationSkipSourcePermissionErrors = 0x02,
kFSFileOperationDoNotMoveAcrossVolumes = 0x04,
kFSFileOperationSkipPreflight = 0x08
};
# 5603 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
enum {
kFSOperationStageUndefined = 0,
kFSOperationStagePreflighting = 1,
kFSOperationStageRunning = 2,
kFSOperationStageComplete = 3
};
# 5643 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationTotalBytesKey ;
# 5659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationBytesCompleteKey ;
# 5675 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationBytesRemainingKey ;
# 5691 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationTotalObjectsKey ;
# 5707 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationObjectsCompleteKey ;
# 5723 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationObjectsRemainingKey ;
# 5741 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationTotalUserVisibleObjectsKey ;
# 5759 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationUserVisibleObjectsCompleteKey ;
# 5777 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationUserVisibleObjectsRemainingKey ;
# 5791 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern const CFStringRef kFSOperationThroughputKey ;
# 5827 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCopyObjectSync(const FSRef *source, const FSRef *destDir, CFStringRef destName, FSRef *target, OptionBits options) ;
# 5870 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMoveObjectSync(const FSRef *source, const FSRef *destDir, CFStringRef destName, FSRef *target, OptionBits options) ;
# 5904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMoveObjectToTrashSync(const FSRef *source, FSRef *target, OptionBits options) ;
# 5943 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathCopyObjectSync(const char *sourcePath, const char *destDirPath, CFStringRef destName, char **targetPath, OptionBits options) ;
# 5987 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMoveObjectSync(const char *sourcePath, const char *destDirPath, CFStringRef destName, char **targetPath, OptionBits options) ;
# 6022 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMoveObjectToTrashSync(const char *sourcePath, char **targetPath, OptionBits options) ;
# 6042 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern CFTypeID FSFileOperationGetTypeID(void) ;
# 6069 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSFileOperationRef FSFileOperationCreate(CFAllocatorRef alloc) ;
# 6101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileOperationScheduleWithRunLoop(FSFileOperationRef fileOp, CFRunLoopRef runLoop, CFStringRef runLoopMode) ;
# 6132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileOperationUnscheduleFromRunLoop(FSFileOperationRef fileOp, CFRunLoopRef runLoop, CFStringRef runLoopMode) ;
# 6185 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSCopyObjectAsync(FSFileOperationRef fileOp, const FSRef *source, const FSRef *destDir, CFStringRef destName, OptionBits flags, FSFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6241 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMoveObjectAsync(FSFileOperationRef fileOp, const FSRef *source, const FSRef *destDir, CFStringRef destName, OptionBits flags, FSFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6290 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSMoveObjectToTrashAsync(FSFileOperationRef fileOp, const FSRef *source, OptionBits flags, FSFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6343 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathCopyObjectAsync(FSFileOperationRef fileOp, const char *sourcePath, const char *destDirPath, CFStringRef destName, OptionBits flags, FSPathFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6399 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMoveObjectAsync(FSFileOperationRef fileOp, const char *sourcePath, const char *destDirPath, CFStringRef destName, OptionBits flags, FSPathFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6449 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathMoveObjectToTrashAsync(FSFileOperationRef fileOp, const char *sourcePath, OptionBits flags, FSPathFileOperationStatusProcPtr callback, CFTimeInterval statusChangeInterval, FSFileOperationClientContext *clientContext) ;
# 6472 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileOperationCancel(FSFileOperationRef fileOp) ;
# 6516 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileOperationCopyStatus(FSFileOperationRef fileOp, FSRef *currentItem, FSFileOperationStage *stage, OSStatus *error, CFDictionaryRef *statusDictionary, void **info) ;
# 6561 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSPathFileOperationCopyStatus(FSFileOperationRef fileOp, char **currentItem, FSFileOperationStage *stage, OSStatus *error, CFDictionaryRef *statusDictionary, void **info) ;
# 6590 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern CFStringRef FSCreateStringFromHFSUniStr(CFAllocatorRef alloc, const HFSUniStr255 *uniStr) ;
# 6616 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetHFSUniStrFromString(CFStringRef theString, HFSUniStr255 *uniStr) ;
# 6638 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern CFTypeID FSFileSecurityGetTypeID(void) ;
# 6665 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSFileSecurityRef FSFileSecurityCreate(CFAllocatorRef alloc) ;
# 6679 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSFileSecurityRef FSFileSecurityCreateWithFSPermissionInfo(CFAllocatorRef alloc, const FSPermissionInfo *permissions) ;
# 6693 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern FSFileSecurityRef FSFileSecurityRefCreateCopy(CFAllocatorRef alloc, FSFileSecurityRef fileSec) ;
# 6724 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityGetOwnerUUID(FSFileSecurityRef fileSec, CFUUIDBytes *owner) ;
# 6751 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetOwnerUUID(FSFileSecurityRef fileSec, const CFUUIDBytes *owner) ;
# 6780 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityGetGroupUUID(FSFileSecurityRef fileSec, CFUUIDBytes *group) ;
# 6807 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetGroupUUID(FSFileSecurityRef fileSec, const CFUUIDBytes *group) ;
# 6838 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityCopyAccessControlList(FSFileSecurityRef fileSec, acl_t *accessControlList) ;
# 6868 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetAccessControlList(FSFileSecurityRef fileSec, acl_t accessControlList) ;
# 6897 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityGetOwner(FSFileSecurityRef fileSec, UInt32 *owner) ;
# 6923 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetOwner(FSFileSecurityRef fileSec, UInt32 owner) ;
# 6951 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityGetGroup(FSFileSecurityRef fileSec, UInt32 *group) ;
# 6977 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetGroup(FSFileSecurityRef fileSec, UInt32 group) ;
# 7005 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecurityGetMode(FSFileSecurityRef fileSec, UInt16 *mode) ;
# 7031 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFileSecuritySetMode(FSFileSecurityRef fileSec, UInt16 mode) ;
enum {
pleaseCacheBit = 4,
pleaseCacheMask = 0x0010,
noCacheBit = 5,
noCacheMask = 0x0020,
rdVerifyBit = 6,
rdVerifyMask = 0x0040,
rdVerify = 64,
forceReadBit = 6,
forceReadMask = 0x0040,
newLineBit = 7,
newLineMask = 0x0080,
newLineCharMask = 0xFF00
};
enum {
kOwnerID2Name = 1,
kGroupID2Name = 2,
kOwnerName2ID = 3,
kGroupName2ID = 4,
kReturnNextUser = 1,
kReturnNextGroup = 2,
kReturnNextUG = 3
};
enum {
kVCBFlagsIdleFlushBit = 3,
kVCBFlagsIdleFlushMask = 0x0008,
kVCBFlagsHFSPlusAPIsBit = 4,
kVCBFlagsHFSPlusAPIsMask = 0x0010,
kVCBFlagsHardwareGoneBit = 5,
kVCBFlagsHardwareGoneMask = 0x0020,
kVCBFlagsVolumeDirtyBit = 15,
kVCBFlagsVolumeDirtyMask = 0x8000
};
enum {
kioVAtrbDefaultVolumeBit = 5,
kioVAtrbDefaultVolumeMask = 0x0020,
kioVAtrbFilesOpenBit = 6,
kioVAtrbFilesOpenMask = 0x0040,
kioVAtrbHardwareLockedBit = 7,
kioVAtrbHardwareLockedMask = 0x0080,
kioVAtrbSoftwareLockedBit = 15,
kioVAtrbSoftwareLockedMask = 0x8000
};
enum {
kioFlAttribLockedBit = 0,
kioFlAttribLockedMask = 0x01,
kioFlAttribResOpenBit = 2,
kioFlAttribResOpenMask = 0x04,
kioFlAttribDataOpenBit = 3,
kioFlAttribDataOpenMask = 0x08,
kioFlAttribDirBit = 4,
kioFlAttribDirMask = 0x10,
ioDirFlg = 4,
ioDirMask = 0x10,
kioFlAttribCopyProtBit = 6,
kioFlAttribCopyProtMask = 0x40,
kioFlAttribFileOpenBit = 7,
kioFlAttribFileOpenMask = 0x80,
kioFlAttribInSharedBit = 2,
kioFlAttribInSharedMask = 0x04,
kioFlAttribMountedBit = 3,
kioFlAttribMountedMask = 0x08,
kioFlAttribSharePointBit = 5,
kioFlAttribSharePointMask = 0x20
};
enum {
kioFCBWriteBit = 8,
kioFCBWriteMask = 0x0100,
kioFCBResourceBit = 9,
kioFCBResourceMask = 0x0200,
kioFCBWriteLockedBit = 10,
kioFCBWriteLockedMask = 0x0400,
kioFCBLargeFileBit = 11,
kioFCBLargeFileMask = 0x0800,
kioFCBSharedWriteBit = 12,
kioFCBSharedWriteMask = 0x1000,
kioFCBFileLockedBit = 13,
kioFCBFileLockedMask = 0x2000,
kioFCBOwnClumpBit = 14,
kioFCBOwnClumpMask = 0x4000,
kioFCBModifiedBit = 15,
kioFCBModifiedMask = 0x8000
};
enum {
kioACUserNoSeeFolderBit = 0,
kioACUserNoSeeFolderMask = 0x01,
kioACUserNoSeeFilesBit = 1,
kioACUserNoSeeFilesMask = 0x02,
kioACUserNoMakeChangesBit = 2,
kioACUserNoMakeChangesMask = 0x04,
kioACUserNotOwnerBit = 7,
kioACUserNotOwnerMask = 0x80
};
enum {
kioACAccessOwnerBit = 31,
kioACAccessOwnerMask = (long)0x80000000,
kioACAccessBlankAccessBit = 28,
kioACAccessBlankAccessMask = 0x10000000,
kioACAccessUserWriteBit = 26,
kioACAccessUserWriteMask = 0x04000000,
kioACAccessUserReadBit = 25,
kioACAccessUserReadMask = 0x02000000,
kioACAccessUserSearchBit = 24,
kioACAccessUserSearchMask = 0x01000000,
kioACAccessEveryoneWriteBit = 18,
kioACAccessEveryoneWriteMask = 0x00040000,
kioACAccessEveryoneReadBit = 17,
kioACAccessEveryoneReadMask = 0x00020000,
kioACAccessEveryoneSearchBit = 16,
kioACAccessEveryoneSearchMask = 0x00010000,
kioACAccessGroupWriteBit = 10,
kioACAccessGroupWriteMask = 0x00000400,
kioACAccessGroupReadBit = 9,
kioACAccessGroupReadMask = 0x00000200,
kioACAccessGroupSearchBit = 8,
kioACAccessGroupSearchMask = 0x00000100,
kioACAccessOwnerWriteBit = 2,
kioACAccessOwnerWriteMask = 0x00000004,
kioACAccessOwnerReadBit = 1,
kioACAccessOwnerReadMask = 0x00000002,
kioACAccessOwnerSearchBit = 0,
kioACAccessOwnerSearchMask = 0x00000001,
kfullPrivileges = 0x00070007,
kownerPrivileges = 0x00000007
};
# 7212 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetVolumeParms(FSVolumeRefNum volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) ;
# 7239 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetVolumeMountInfoSize(FSVolumeRefNum volume, ByteCount *size) ;
# 7273 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSGetVolumeMountInfo(FSVolumeRefNum volume, BytePtr buffer, ByteCount bufferSize, ByteCount *actualSize) ;
# 7299 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSVolumeMount(BytePtr buffer, FSVolumeRefNum *mountedVolume) ;
# 7314 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSFlushVolume(FSVolumeRefNum vRefNum) ;
# 7328 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFlushVolumeSync(FSRefParamPtr paramBlock) ;
# 7342 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFlushVolumeAsync(FSRefParamPtr paramBlock) ;
# 7369 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFSCopyFileSync(FSRefParamPtr paramBlock) ;
# 7383 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFSCopyFileAsync(FSRefParamPtr paramBlock) ;
# 7413 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus FSResolveNodeID(FSVolumeRefNum volume, UInt32 nodeID, FSRefPtr newRef) ;
# 7434 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFSResolveNodeIDSync(FSRefParamPtr paramBlock) ;
# 7448 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
extern OSStatus PBFSResolveNodeIDAsync(FSRefParamPtr paramBlock) ;
# 10469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h" 3
#pragma pack(pop)
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
#define __RESOURCES__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
typedef SInt16 ResID;
typedef SInt16 ResAttributes;
typedef SInt16 ResFileAttributes;
typedef SInt16 ResourceCount;
typedef SInt16 ResourceIndex;
typedef FSIORefNum ResFileRefNum;
enum {
resSysRefBit = 7,
resSysHeapBit = 6,
resPurgeableBit = 5,
resLockedBit = 4,
resProtectedBit = 3,
resPreloadBit = 2,
resChangedBit = 1
};
enum {
resSysHeap = 64,
resPurgeable = 32,
resLocked = 16,
resProtected = 8,
resPreload = 4,
resChanged = 2
};
enum {
mapReadOnlyBit = 7,
mapCompactBit = 6,
mapChangedBit = 5
};
enum {
mapReadOnly = 128,
mapCompact = 64,
mapChanged = 32
};
enum {
kResFileNotOpened = -1,
kSystemResFile = 0
};
typedef void ( * ResErrProcPtr)(OSErr thErr);
typedef ResErrProcPtr ResErrUPP;
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResErrUPP
NewResErrUPP(ResErrProcPtr userRoutine) ;
# 112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
DisposeResErrUPP(ResErrUPP userUPP) ;
# 123 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
InvokeResErrUPP(
OSErr thErr,
ResErrUPP userUPP) ;
#define NewResErrUPP(userRoutine) ((ResErrUPP)userRoutine)
#define DisposeResErrUPP(userUPP)
#define InvokeResErrUPP(thErr,userUPP) (*userUPP)(thErr)
typedef OSErr ( * ResourceEndianFilterPtr)(Handle theResource, Boolean currentlyNativeEndian);
# 153 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
CloseResFile(ResFileRefNum refNum) ;
# 168 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
ResError(void) ;
# 183 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileRefNum
CurResFile(void) ;
# 198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileRefNum
HomeResFile(Handle theResource) ;
# 213 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
UseResFile(ResFileRefNum refNum) ;
# 228 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResourceCount
CountTypes(void) ;
# 243 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResourceCount
Count1Types(void) ;
# 258 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
GetIndType(
ResType * theType,
ResourceIndex itemIndex) ;
# 275 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
Get1IndType(
ResType * theType,
ResourceIndex itemIndex) ;
# 292 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResLoad(Boolean load) ;
# 307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResourceCount
CountResources(ResType theType) ;
# 322 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResourceCount
Count1Resources(ResType theType) ;
# 337 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
GetIndResource(
ResType theType,
ResourceIndex itemIndex) ;
# 354 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
Get1IndResource(
ResType theType,
ResourceIndex itemIndex) ;
# 371 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
GetResource(
ResType theType,
ResID theID) ;
# 388 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
Get1Resource(
ResType theType,
ResID theID) ;
# 405 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
GetNamedResource(
ResType theType,
ConstStr255Param name) ;
# 422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
Get1NamedResource(
ResType theType,
ConstStr255Param name) ;
# 440 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
#define MacLoadResource LoadResource
extern void
LoadResource(Handle theResource) ;
# 457 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
ReleaseResource(Handle theResource) ;
# 472 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
DetachResource(Handle theResource) ;
# 487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResID
UniqueID(ResType theType) ;
# 502 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResID
Unique1ID(ResType theType) ;
# 517 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResAttributes
GetResAttrs(Handle theResource) ;
# 532 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
GetResInfo(
Handle theResource,
ResID * theID,
ResType * theType,
Str255 name) ;
# 551 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResInfo(
Handle theResource,
ResID theID,
ConstStr255Param name) ;
# 569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
AddResource(
Handle theData,
ResType theType,
ResID theID,
ConstStr255Param name) ;
# 588 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern long
GetResourceSizeOnDisk(Handle theResource) ;
# 603 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern long
GetMaxResourceSize(Handle theResource) ;
# 618 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResAttrs(
Handle theResource,
ResAttributes attrs) ;
# 635 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
ChangedResource(Handle theResource) ;
# 650 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
RemoveResource(Handle theResource) ;
# 665 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
UpdateResFile(ResFileRefNum refNum) ;
# 680 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
WriteResource(Handle theResource) ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResPurge(Boolean install) ;
# 710 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileAttributes
GetResFileAttrs(ResFileRefNum refNum) ;
# 725 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResFileAttrs(
ResFileRefNum refNum,
ResFileAttributes attrs) ;
# 742 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
ReadPartialResource(
Handle theResource,
long offset,
void * buffer,
long count) ;
# 761 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
WritePartialResource(
Handle theResource,
long offset,
const void * buffer,
long count) ;
# 780 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
SetResourceSize(
Handle theResource,
long newSize) ;
# 797 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Handle
GetNextFOND(Handle fondHandle) ;
# 820 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
typedef SInt16 RsrcChainLocation;
enum {
kRsrcChainBelowSystemMap = 0,
kRsrcChainBelowApplicationMap = 1,
kRsrcChainAboveApplicationMap = 2,
kRsrcChainAboveAllMaps = 4
};
# 844 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
InsertResourceFile(
ResFileRefNum refNum,
RsrcChainLocation where) ;
# 865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
DetachResourceFile(ResFileRefNum refNum) ;
# 884 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
GetTopResourceFile(ResFileRefNum * refNum) ;
# 905 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
GetNextResourceFile(
ResFileRefNum curRefNum,
ResFileRefNum * nextRefNum) ;
# 922 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern ResFileRefNum
FSOpenResFile(
const FSRef * ref,
SInt8 permission) ;
# 939 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern void
FSCreateResFile(
const FSRef * parentRef,
UniCharCount nameLength,
const UniChar * name,
FSCatalogInfoBitmap whichInfo,
const FSCatalogInfo * catalogInfo,
FSRef * newRef,
FSSpecPtr newSpec) ;
# 968 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern Boolean
FSResourceFileAlreadyOpen(
const FSRef * resourceFileRef,
Boolean * inChain,
ResFileRefNum * refNum) ;
# 996 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
FSOpenOrphanResFile(
const FSRef * ref,
SignedByte permission,
ResFileRefNum * refNum) ;
# 1054 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
FSCreateResourceFile(
const FSRef * parentRef,
UniCharCount nameLength,
const UniChar * name,
FSCatalogInfoBitmap whichInfo,
const FSCatalogInfo * catalogInfo,
UniCharCount forkNameLength,
const UniChar * forkName,
FSRef * newRef,
FSSpecPtr newSpec) ;
# 1103 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
FSCreateResourceFork(
const FSRef * ref,
UniCharCount forkNameLength,
const UniChar * forkName,
UInt32 flags) ;
# 1147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h" 3
extern OSErr
FSOpenResourceFile(
const FSRef * ref,
UniCharCount forkNameLength,
const UniChar * forkName,
SInt8 permissions,
ResFileRefNum * refNum) ;
# 37 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 2 3
# 51 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
#pragma pack(push, 2)
enum {
kAppleManufacturer = 'appl',
kComponentResourceType = 'thng',
kComponentAliasResourceType = 'thga'
};
enum {
kAnyComponentType = 0,
kAnyComponentSubType = 0,
kAnyComponentManufacturer = 0,
kAnyComponentFlagsMask = 0
};
enum {
cmpThreadSafe = 1L << 28,
cmpIsMissing = 1L << 29,
cmpWantsRegisterMessage = 1L << 31
};
enum {
kComponentOpenSelect = -1,
kComponentCloseSelect = -2,
kComponentCanDoSelect = -3,
kComponentVersionSelect = -4,
kComponentRegisterSelect = -5,
kComponentTargetSelect = -6,
kComponentUnregisterSelect = -7,
kComponentGetMPWorkFunctionSelect = -8,
kComponentExecuteWiredActionSelect = -9,
kComponentGetPublicResourceSelect = -10
};
enum {
componentDoAutoVersion = (1 << 0),
componentWantsUnregister = (1 << 1),
componentAutoVersionIncludeFlags = (1 << 2),
componentHasMultiplePlatforms = (1 << 3),
componentLoadResident = (1 << 4)
};
enum {
defaultComponentIdentical = 0,
defaultComponentAnyFlags = 1,
defaultComponentAnyManufacturer = 2,
defaultComponentAnySubType = 4,
defaultComponentAnyFlagsAnyManufacturer = (defaultComponentAnyFlags + defaultComponentAnyManufacturer),
defaultComponentAnyFlagsAnyManufacturerAnySubType = (defaultComponentAnyFlags + defaultComponentAnyManufacturer + defaultComponentAnySubType)
};
enum {
registerComponentGlobal = 1,
registerComponentNoDuplicates = 2,
registerComponentAfterExisting = 4,
registerComponentAliasesOnly = 8
};
struct ComponentDescription {
OSType componentType;
OSType componentSubType;
OSType componentManufacturer;
UInt32 componentFlags;
UInt32 componentFlagsMask;
};
typedef struct ComponentDescription ComponentDescription;
struct ResourceSpec {
OSType resType;
SInt16 resID;
};
typedef struct ResourceSpec ResourceSpec;
struct ComponentResource {
ComponentDescription cd;
ResourceSpec component;
ResourceSpec componentName;
ResourceSpec componentInfo;
ResourceSpec componentIcon;
};
typedef struct ComponentResource ComponentResource;
typedef ComponentResource * ComponentResourcePtr;
typedef ComponentResourcePtr * ComponentResourceHandle;
struct ComponentPlatformInfo {
SInt32 componentFlags;
ResourceSpec component;
SInt16 platformType;
};
typedef struct ComponentPlatformInfo ComponentPlatformInfo;
struct ComponentResourceExtension {
SInt32 componentVersion;
SInt32 componentRegisterFlags;
SInt16 componentIconFamily;
};
typedef struct ComponentResourceExtension ComponentResourceExtension;
struct ComponentPlatformInfoArray {
SInt32 count;
ComponentPlatformInfo platformArray[1];
};
typedef struct ComponentPlatformInfoArray ComponentPlatformInfoArray;
struct ExtComponentResource {
ComponentDescription cd;
ResourceSpec component;
ResourceSpec componentName;
ResourceSpec componentInfo;
ResourceSpec componentIcon;
SInt32 componentVersion;
SInt32 componentRegisterFlags;
SInt16 componentIconFamily;
SInt32 count;
ComponentPlatformInfo platformArray[1];
};
typedef struct ExtComponentResource ExtComponentResource;
typedef ExtComponentResource * ExtComponentResourcePtr;
typedef ExtComponentResourcePtr * ExtComponentResourceHandle;
struct ComponentAliasResource {
ComponentResource cr;
ComponentDescription aliasCD;
};
typedef struct ComponentAliasResource ComponentAliasResource;
struct ComponentParameters {
UInt8 flags;
UInt8 paramSize;
SInt16 what;
UInt32 padding;
long params[1];
};
typedef struct ComponentParameters ComponentParameters;
struct ComponentRecord {
long data[1];
};
typedef struct ComponentRecord ComponentRecord;
typedef ComponentRecord * Component;
struct ComponentInstanceRecord {
long data[1];
};
typedef struct ComponentInstanceRecord ComponentInstanceRecord;
typedef ComponentInstanceRecord * ComponentInstance;
struct RegisteredComponentRecord {
long data[1];
};
typedef struct RegisteredComponentRecord RegisteredComponentRecord;
typedef RegisteredComponentRecord * RegisteredComponentRecordPtr;
struct RegisteredComponentInstanceRecord {
long data[1];
};
typedef struct RegisteredComponentInstanceRecord RegisteredComponentInstanceRecord;
typedef RegisteredComponentInstanceRecord * RegisteredComponentInstanceRecordPtr;
typedef SInt32 ComponentResult;
enum {
platform68k = 1,
platformPowerPC = 2,
platformInterpreted = 3,
platformWin32 = 4,
platformPowerPCNativeEntryPoint = 5,
platformIA32NativeEntryPoint = 6,
platformPowerPC64NativeEntryPoint = 7,
platformX86_64NativeEntryPoint = 8
};
enum {
platformIRIXmips = 1000,
platformSunOSsparc = 1100,
platformSunOSintel = 1101,
platformLinuxppc = 1200,
platformLinuxintel = 1201,
platformAIXppc = 1300,
platformNeXTIntel = 1400,
platformNeXTppc = 1401,
platformNeXTsparc = 1402,
platformNeXT68k = 1403,
platformMacOSx86 = 1500
};
enum {
mpWorkFlagDoWork = (1 << 0),
mpWorkFlagDoCompletion = (1 << 1),
mpWorkFlagCopyWorkBlock = (1 << 2),
mpWorkFlagDontBlock = (1 << 3),
mpWorkFlagGetProcessorCount = (1 << 4),
mpWorkFlagGetIsRunning = (1 << 6)
};
enum {
cmpAliasNoFlags = 0,
cmpAliasOnlyThisFile = 1
};
typedef UInt32 CSComponentsThreadMode;
enum {
kCSAcceptAllComponentsMode = 0,
kCSAcceptThreadSafeComponentsOnlyMode = 1
};
# 287 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
CSSetComponentsThreadMode(CSComponentsThreadMode mode) ;
# 310 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern CSComponentsThreadMode
CSGetComponentsThreadMode(void) ;
struct ComponentMPWorkFunctionHeaderRecord {
UInt32 headerSize;
UInt32 recordSize;
UInt32 workFlags;
UInt16 processorCount;
UInt8 unused;
UInt8 isRunning;
};
typedef struct ComponentMPWorkFunctionHeaderRecord ComponentMPWorkFunctionHeaderRecord;
typedef ComponentMPWorkFunctionHeaderRecord * ComponentMPWorkFunctionHeaderRecordPtr;
typedef ComponentResult ( * ComponentMPWorkFunctionProcPtr)(void *globalRefCon, ComponentMPWorkFunctionHeaderRecordPtr header);
typedef ComponentResult ( * ComponentRoutineProcPtr)(ComponentParameters *cp, Handle componentStorage);
typedef OSErr ( * GetMissingComponentResourceProcPtr)(Component c, OSType resType, SInt16 resID, void *refCon, Handle *resource);
typedef ComponentMPWorkFunctionProcPtr ComponentMPWorkFunctionUPP;
typedef ComponentRoutineProcPtr ComponentRoutineUPP;
typedef GetMissingComponentResourceProcPtr GetMissingComponentResourceUPP;
typedef UniversalProcPtr ComponentFunctionUPP;
# 352 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentFunctionUPP
NewComponentFunctionUPP(
ProcPtr userRoutine,
ProcInfoType procInfo) ;
# 374 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
DisposeComponentFunctionUPP(ComponentFunctionUPP userUPP) ;
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
#define ComponentCallNow(callNumber,paramSize) FIVEWORDINLINE( 0x2F3C,paramSize,callNumber,0x7000,0xA82A )
# 418 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Component
RegisterComponent(
ComponentDescription * cd,
ComponentRoutineUPP componentEntryPoint,
SInt16 global,
Handle componentName,
Handle componentInfo,
Handle componentIcon) ;
# 440 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Component
RegisterComponentResource(
ComponentResourceHandle cr,
SInt16 global) ;
# 458 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
UnregisterComponent(Component aComponent) ;
# 474 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Component
FindNextComponent(
Component aComponent,
ComponentDescription * looking) ;
# 492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern long
CountComponents(ComponentDescription * looking) ;
# 508 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentInfo(
Component aComponent,
ComponentDescription * cd,
Handle componentName,
Handle componentInfo,
Handle componentIcon) ;
# 529 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern SInt32
GetComponentListModSeed(void) ;
# 545 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern SInt32
GetComponentTypeModSeed(OSType componentType) ;
# 564 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
OpenAComponent(
Component aComponent,
ComponentInstance * ci) ;
# 582 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentInstance
OpenComponent(Component aComponent) ;
# 598 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
CloseComponent(ComponentInstance aComponentInstance) ;
# 614 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentInstanceError(ComponentInstance aComponentInstance) ;
# 633 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Component
ResolveComponentAlias(Component aComponent) ;
# 652 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentPublicResource(
Component aComponent,
OSType resourceType,
SInt16 resourceID,
Handle * theResource) ;
# 671 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentPublicResourceList(
OSType resourceType,
SInt16 resourceID,
SInt32 flags,
ComponentDescription * cd,
GetMissingComponentResourceUPP missingProc,
void * refCon,
void * atomContainerPtr) ;
# 693 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentPublicIndString(
Component aComponent,
Str255 theString,
SInt16 strListID,
SInt16 index) ;
# 721 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
SetComponentInstanceError(
ComponentInstance aComponentInstance,
OSErr theError) ;
# 739 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern long
GetComponentRefcon(Component aComponent) ;
# 755 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
SetComponentRefcon(
Component aComponent,
long theRefcon) ;
# 773 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ResFileRefNum
OpenComponentResFile(Component aComponent) ;
# 789 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
OpenAComponentResFile(
Component aComponent,
ResFileRefNum * resRef) ;
# 807 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
CloseComponentResFile(ResFileRefNum refnum) ;
# 824 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentResource(
Component aComponent,
OSType resType,
SInt16 resID,
Handle * theResource) ;
# 844 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
GetComponentIndString(
Component aComponent,
Str255 theString,
SInt16 strListID,
SInt16 index) ;
# 867 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Handle
GetComponentInstanceStorage(ComponentInstance aComponentInstance) ;
# 883 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
SetComponentInstanceStorage(
ComponentInstance aComponentInstance,
Handle theStorage) ;
# 901 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern long
CountComponentInstances(Component aComponent) ;
# 917 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentFunction(
ComponentParameters * params,
ComponentFunctionUPP func) ;
# 935 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentFunctionWithStorage(
Handle storage,
ComponentParameters * params,
ComponentFunctionUPP func) ;
# 953 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentFunctionWithStorageProcInfo(
Handle storage,
ComponentParameters * params,
ProcPtr func,
ProcInfoType funcProcInfo) ;
# 973 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
DelegateComponentCall(
ComponentParameters * originalParams,
ComponentInstance ci) ;
# 991 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
SetDefaultComponent(
Component aComponent,
SInt16 flags) ;
# 1009 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentInstance
OpenDefaultComponent(
OSType componentType,
OSType componentSubType) ;
# 1027 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
OpenADefaultComponent(
OSType componentType,
OSType componentSubType,
ComponentInstance * ci) ;
# 1046 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern Component
CaptureComponent(
Component capturedComponent,
Component capturingComponent) ;
# 1064 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
UncaptureComponent(Component aComponent) ;
# 1080 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern SInt32
RegisterComponentResourceFile(
SInt16 resRefNum,
SInt16 global) ;
# 1168 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
RegisterComponentFileRef(
const FSRef * ref,
SInt16 global) ;
# 1185 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
RegisterComponentFileRefEntries(
const FSRef * ref,
SInt16 global,
const ComponentDescription * toRegister,
UInt32 registerCount) ;
# 1269 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentOpen(
ComponentInstance ci,
ComponentInstance self) ;
# 1287 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentClose(
ComponentInstance ci,
ComponentInstance self) ;
# 1305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentCanDo(
ComponentInstance ci,
SInt16 ftnNumber) ;
# 1323 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentVersion(ComponentInstance ci) ;
# 1339 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentRegister(ComponentInstance ci) ;
# 1355 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentTarget(
ComponentInstance ci,
ComponentInstance target) ;
# 1373 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentUnregister(ComponentInstance ci) ;
# 1389 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentGetMPWorkFunction(
ComponentInstance ci,
ComponentMPWorkFunctionUPP * workFunction,
void ** refCon) ;
# 1407 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentGetPublicResource(
ComponentInstance ci,
OSType resourceType,
SInt16 resourceID,
Handle * resource) ;
# 1431 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
CallComponentDispatch(ComponentParameters * cp) ;
# 1445 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentMPWorkFunctionUPP
NewComponentMPWorkFunctionUPP(ComponentMPWorkFunctionProcPtr userRoutine) ;
# 1456 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentRoutineUPP
NewComponentRoutineUPP(ComponentRoutineProcPtr userRoutine) ;
# 1467 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern GetMissingComponentResourceUPP
NewGetMissingComponentResourceUPP(GetMissingComponentResourceProcPtr userRoutine) ;
# 1478 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
DisposeComponentMPWorkFunctionUPP(ComponentMPWorkFunctionUPP userUPP) ;
# 1489 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
DisposeComponentRoutineUPP(ComponentRoutineUPP userUPP) ;
# 1500 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern void
DisposeGetMissingComponentResourceUPP(GetMissingComponentResourceUPP userUPP) ;
# 1511 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
InvokeComponentMPWorkFunctionUPP(
void * globalRefCon,
ComponentMPWorkFunctionHeaderRecordPtr header,
ComponentMPWorkFunctionUPP userUPP) ;
# 1525 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern ComponentResult
InvokeComponentRoutineUPP(
ComponentParameters * cp,
Handle componentStorage,
ComponentRoutineUPP userUPP) ;
# 1539 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
extern OSErr
InvokeGetMissingComponentResourceUPP(
Component c,
OSType resType,
SInt16 resID,
void * refCon,
Handle * resource,
GetMissingComponentResourceUPP userUPP) ;
# 1560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h" 3
#define NewComponentMPWorkFunctionUPP(userRoutine) ((ComponentMPWorkFunctionUPP)userRoutine)
#define NewComponentRoutineUPP(userRoutine) ((ComponentRoutineUPP)userRoutine)
#define NewGetMissingComponentResourceUPP(userRoutine) ((GetMissingComponentResourceUPP)userRoutine)
#define DisposeComponentMPWorkFunctionUPP(userUPP)
#define DisposeComponentRoutineUPP(userUPP)
#define DisposeGetMissingComponentResourceUPP(userUPP)
#define InvokeComponentMPWorkFunctionUPP(globalRefCon,header,userUPP) (*userUPP)(globalRefCon, header)
#define InvokeComponentRoutineUPP(cp,componentStorage,userUPP) (*userUPP)(cp, componentStorage)
#define InvokeGetMissingComponentResourceUPP(c,resType,resID,refCon,resource,userUPP) (*userUPP)(c, resType, resID, refCon, resource)
enum {
uppComponentFunctionImplementedProcInfo = 0x000002F0,
uppGetComponentVersionProcInfo = 0x000000F0,
uppComponentSetTargetProcInfo = 0x000003F0,
uppCallComponentOpenProcInfo = 0x000003F0,
uppCallComponentCloseProcInfo = 0x000003F0,
uppCallComponentCanDoProcInfo = 0x000002F0,
uppCallComponentVersionProcInfo = 0x000000F0,
uppCallComponentRegisterProcInfo = 0x000000F0,
uppCallComponentTargetProcInfo = 0x000003F0,
uppCallComponentUnregisterProcInfo = 0x000000F0,
uppCallComponentGetMPWorkFunctionProcInfo = 0x00000FF0,
uppCallComponentGetPublicResourceProcInfo = 0x00003BF0
};
#pragma pack(pop)
# 86 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 1 3
# 25 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
#define __CODEFRAGMENTS__
# 41 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 1 3
# 27 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
#define __MULTIPROCESSING__
# 45 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
#pragma options align=power
# 187 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
#define MPCopyrightNotice "Copyright © 1995-2000 Apple Computer, Inc.\n"
#define MPLibraryName "MPLibrary"
#define MPLibraryCName MPLibraryName
#define MPLibraryPName "\p" MPLibraryName
#define MP_API_Version "2.3"
enum {
MPLibrary_MajorVersion = 2,
MPLibrary_MinorVersion = 3,
MPLibrary_Release = 1,
MPLibrary_DevelopmentRevision = 1
};
typedef struct OpaqueMPProcessID* MPProcessID;
typedef struct OpaqueMPTaskID* MPTaskID;
typedef struct OpaqueMPQueueID* MPQueueID;
typedef struct OpaqueMPSemaphoreID* MPSemaphoreID;
typedef struct OpaqueMPCriticalRegionID* MPCriticalRegionID;
typedef struct OpaqueMPTimerID* MPTimerID;
typedef struct OpaqueMPEventID* MPEventID;
typedef struct OpaqueMPAddressSpaceID* MPAddressSpaceID;
typedef struct OpaqueMPNotificationID* MPNotificationID;
typedef struct OpaqueMPCoherenceID* MPCoherenceID;
typedef struct OpaqueMPCpuID* MPCpuID;
typedef struct OpaqueMPAreaID* MPAreaID;
typedef struct OpaqueMPConsoleID* MPConsoleID;
typedef struct OpaqueMPOpaqueID* MPOpaqueID;
enum {
kOpaqueAnyID = 0,
kOpaqueProcessID = 1,
kOpaqueTaskID = 2,
kOpaqueTimerID = 3,
kOpaqueQueueID = 4,
kOpaqueSemaphoreID = 5,
kOpaqueCriticalRegionID = 6,
kOpaqueCpuID = 7,
kOpaqueAddressSpaceID = 8,
kOpaqueEventID = 9,
kOpaqueCoherenceID = 10,
kOpaqueAreaID = 11,
kOpaqueNotificationID = 12,
kOpaqueConsoleID = 13
};
typedef UInt32 MPOpaqueIDClass;
enum {
kMPNoID = 0
};
typedef OptionBits MPTaskOptions;
typedef ItemCount TaskStorageIndex;
typedef LogicalAddress TaskStorageValue;
typedef ItemCount MPSemaphoreCount;
typedef UInt32 MPTaskWeight;
typedef UInt32 MPEventFlags;
typedef UInt32 MPExceptionKind;
typedef UInt32 MPTaskStateKind;
typedef UInt32 MPPageSizeClass;
enum {
kDurationImmediate = 0L,
kDurationForever = 0x7FFFFFFF,
kDurationMillisecond = 1,
kDurationMicrosecond = -1
};
# 280 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern ItemCount
MPProcessors(void) ;
# 297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern ItemCount
MPProcessorsScheduled(void) ;
# 312 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
enum {
kMPCreateTaskSuspendedMask = 1L << 0,
kMPCreateTaskTakesAllExceptionsMask = 1L << 1,
kMPCreateTaskNotDebuggableMask = 1L << 2,
kMPCreateTaskValidOptionsMask = kMPCreateTaskSuspendedMask | kMPCreateTaskTakesAllExceptionsMask | kMPCreateTaskNotDebuggableMask
};
typedef OSStatus ( * TaskProc)(void * parameter);
# 339 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateTask(
TaskProc entryPoint,
void * parameter,
ByteCount stackSize,
MPQueueID notifyQueue,
void * terminationParameter1,
void * terminationParameter2,
MPTaskOptions options,
MPTaskID * task) ;
# 364 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPTerminateTask(
MPTaskID task,
OSStatus terminationStatus) ;
# 383 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetTaskWeight(
MPTaskID task,
MPTaskWeight weight) ;
# 402 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern Boolean
MPTaskIsPreemptive(MPTaskID taskID) ;
# 419 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPExit(OSStatus status) ;
# 436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPYield(void) ;
# 453 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern MPTaskID
MPCurrentTaskID(void) ;
# 470 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetTaskType(
MPTaskID task,
OSType taskType) ;
# 498 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPAllocateTaskStorageIndex(TaskStorageIndex * taskIndex) ;
# 515 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeallocateTaskStorageIndex(TaskStorageIndex taskIndex) ;
# 532 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetTaskStorageValue(
TaskStorageIndex taskIndex,
TaskStorageValue value) ;
# 551 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern TaskStorageValue
MPGetTaskStorageValue(TaskStorageIndex taskIndex) ;
# 576 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateQueue(MPQueueID * queue) ;
# 593 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteQueue(MPQueueID queue) ;
# 610 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPNotifyQueue(
MPQueueID queue,
void * param1,
void * param2,
void * param3) ;
# 631 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPWaitOnQueue(
MPQueueID queue,
void ** param1,
void ** param2,
void ** param3,
Duration timeout) ;
# 653 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetQueueReserve(
MPQueueID queue,
ItemCount count) ;
# 675 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateSemaphore(
MPSemaphoreCount maximumValue,
MPSemaphoreCount initialValue,
MPSemaphoreID * semaphore) ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteSemaphore(MPSemaphoreID semaphore) ;
# 712 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSignalSemaphore(MPSemaphoreID semaphore) ;
# 729 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPWaitOnSemaphore(
MPSemaphoreID semaphore,
Duration timeout) ;
#define MPCreateBinarySemaphore(semaphore) MPCreateSemaphore ( 1, 1, (semaphore) )
# 754 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateCriticalRegion(MPCriticalRegionID * criticalRegion) ;
# 771 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteCriticalRegion(MPCriticalRegionID criticalRegion) ;
# 788 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPEnterCriticalRegion(
MPCriticalRegionID criticalRegion,
Duration timeout) ;
# 807 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPExitCriticalRegion(MPCriticalRegionID criticalRegion) ;
# 826 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateEvent(MPEventID * event) ;
# 842 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteEvent(MPEventID event) ;
# 859 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetEvent(
MPEventID event,
MPEventFlags flags) ;
# 877 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPWaitForEvent(
MPEventID event,
MPEventFlags * flags,
Duration timeout) ;
# 904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateNotification(MPNotificationID * notificationID) ;
# 921 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteNotification(MPNotificationID notificationID) ;
# 938 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPModifyNotification(
MPNotificationID notificationID,
MPOpaqueID anID,
void * notifyParam1,
void * notifyParam2,
void * notifyParam3) ;
# 960 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPModifyNotificationParameters(
MPNotificationID notificationID,
MPOpaqueIDClass kind,
void * notifyParam1,
void * notifyParam2,
void * notifyParam3) ;
# 982 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCauseNotification(MPNotificationID notificationID) ;
# 1002 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
enum {
kMPPreserveTimerIDMask = 1L << 0,
kMPTimeIsDeltaMask = 1L << 1,
kMPTimeIsDurationMask = 1L << 2
};
# 1022 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDelayUntil(AbsoluteTime * expirationTime) ;
# 1051 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCreateTimer(MPTimerID * timerID) ;
# 1068 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDeleteTimer(MPTimerID timerID) ;
# 1085 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetTimerNotify(
MPTimerID timerID,
MPOpaqueID anID,
void * notifyParam1,
void * notifyParam2,
void * notifyParam3) ;
# 1107 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPArmTimer(
MPTimerID timerID,
AbsoluteTime * expirationTime,
OptionBits options) ;
# 1127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPCancelTimer(
MPTimerID timerID,
AbsoluteTime * timeRemaining) ;
# 1142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
enum {
kMPMaxAllocSize = 1024L * 1024 * 1024
};
enum {
kMPAllocateDefaultAligned = 0,
kMPAllocate8ByteAligned = 3,
kMPAllocate16ByteAligned = 4,
kMPAllocate32ByteAligned = 5,
kMPAllocate1024ByteAligned = 10,
kMPAllocate4096ByteAligned = 12,
kMPAllocateMaxAlignment = 16,
kMPAllocateAltiVecAligned = kMPAllocate16ByteAligned,
kMPAllocateVMXAligned = kMPAllocateAltiVecAligned,
kMPAllocateVMPageAligned = 254,
kMPAllocateInterlockAligned = 255
};
enum {
kMPAllocateClearMask = 0x0001,
kMPAllocateGloballyMask = 0x0002,
kMPAllocateResidentMask = 0x0004,
kMPAllocateNoGrowthMask = 0x0010,
kMPAllocateNoCreateMask = 0x0020
};
# 1189 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern LogicalAddress
MPAllocateAligned(
ByteCount size,
UInt8 alignment,
OptionBits options) ;
# 1209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern LogicalAddress
MPAllocate(ByteCount size) ;
# 1226 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPFree(LogicalAddress object) ;
# 1243 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern ByteCount
MPGetAllocatedBlockSize(LogicalAddress object) ;
# 1263 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPBlockCopy(
LogicalAddress source,
LogicalAddress destination,
ByteCount size) ;
# 1283 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
MPBlockClear(
LogicalAddress address,
ByteCount size) ;
# 1359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
enum {
kMPTaskStateRegisters = 0,
kMPTaskStateFPU = 1,
kMPTaskStateVectors = 2,
kMPTaskStateMachine = 3,
kMPTaskState32BitMemoryException = 4,
kMPTaskStateTaskInfo = 5
};
enum {
kMPTaskPropagate = 0,
kMPTaskResumeStep = 1,
kMPTaskResumeBranch = 2,
kMPTaskResumeMask = 0x0000,
kMPTaskPropagateMask = 1 << kMPTaskPropagate,
kMPTaskResumeStepMask = 1 << kMPTaskResumeStep,
kMPTaskResumeBranchMask = 1 << kMPTaskResumeBranch
};
enum {
kMPTaskBlocked = 0,
kMPTaskReady = 1,
kMPTaskRunning = 2
};
enum {
kMPTaskInfoVersion = 3
};
struct MPTaskInfoVersion2 {
PBVersion version;
OSType name;
OSType queueName;
UInt16 runState;
UInt16 lastCPU;
UInt32 weight;
MPProcessID processID;
AbsoluteTime cpuTime;
AbsoluteTime schedTime;
AbsoluteTime creationTime;
ItemCount codePageFaults;
ItemCount dataPageFaults;
ItemCount preemptions;
MPCpuID cpuID;
};
typedef struct MPTaskInfoVersion2 MPTaskInfoVersion2;
struct MPTaskInfo {
PBVersion version;
OSType name;
OSType queueName;
UInt16 runState;
UInt16 lastCPU;
UInt32 weight;
MPProcessID processID;
AbsoluteTime cpuTime;
AbsoluteTime schedTime;
AbsoluteTime creationTime;
ItemCount codePageFaults;
ItemCount dataPageFaults;
ItemCount preemptions;
MPCpuID cpuID;
MPOpaqueID blockedObject;
MPAddressSpaceID spaceID;
LogicalAddress stackBase;
LogicalAddress stackLimit;
LogicalAddress stackCurr;
};
typedef struct MPTaskInfo MPTaskInfo;
# 1472 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetExceptionHandler(
MPTaskID task,
MPQueueID exceptionQ) ;
# 1491 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPDisposeTaskException(
MPTaskID task,
OptionBits action) ;
# 1510 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPExtractTaskState(
MPTaskID task,
MPTaskStateKind kind,
void * info) ;
# 1530 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPSetTaskState(
MPTaskID task,
MPTaskStateKind kind,
void * info) ;
# 1550 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPThrowException(
MPTaskID task,
MPExceptionKind kind) ;
typedef UInt32 MPDebuggerLevel;
enum {
kMPLowLevelDebugger = 0x00000000,
kMPMidLevelDebugger = 0x10000000,
kMPHighLevelDebugger = 0x20000000
};
# 1580 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPRegisterDebugger(
MPQueueID queue,
MPDebuggerLevel level) ;
# 1599 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern OSStatus
MPUnregisterDebugger(MPQueueID queue) ;
# 1613 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
typedef void * ( * MPRemoteProcedure)(void * parameter);
typedef UInt8 MPRemoteContext;
enum {
kMPAnyRemoteContext = 0,
kMPOwningProcessRemoteContext = 1,
kMPInterruptRemoteContext = 2,
kMPAsyncInterruptRemoteContext = 3
};
# 1683 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void *
MPRemoteCall(
MPRemoteProcedure remoteProc,
void * parameter,
MPRemoteContext context) ;
# 1743 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void *
MPRemoteCallCFM(
MPRemoteProcedure remoteProc,
void * parameter,
MPRemoteContext context) ;
# 1825 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern Boolean
_MPIsFullyInitialized(void) ;
typedef Boolean ( * MPIsFullyInitializedProc)(void);
#define kMPUnresolvedCFragSymbolAddress 0
#define MPLibraryIsLoaded() ( ( (UInt32)_MPIsFullyInitialized != (UInt32)kMPUnresolvedCFragSymbolAddress ) && ( _MPIsFullyInitialized () ) )
# 1850 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern void
_MPLibraryVersion(
const char ** versionCString,
UInt32 * major,
UInt32 * minor,
UInt32 * release,
UInt32 * revision) ;
# 1920 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
extern Boolean
_MPLibraryIsCompatible(
const char * versionCString,
UInt32 major,
UInt32 minor,
UInt32 release,
UInt32 revision) ;
#define MPRPC _MPRPC
#define MPTaskIsToolboxSafe _MPTaskIsToolboxSafe
# 2007 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h" 3
#pragma options align=reset
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 2 3
# 57 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
#pragma pack(push, 2)
# 640 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h" 3
#pragma pack(pop)
# 102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
#define __ALIASES__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
#pragma pack(push, 2)
typedef UInt32 FSAliasInfoBitmap;
enum {
kFSAliasInfoNone = 0x00000000,
kFSAliasInfoVolumeCreateDate = 0x00000001,
kFSAliasInfoTargetCreateDate = 0x00000002,
kFSAliasInfoFinderInfo = 0x00000004,
kFSAliasInfoIsDirectory = 0x00000008,
kFSAliasInfoIDs = 0x00000010,
kFSAliasInfoFSInfo = 0x00000020,
kFSAliasInfoVolumeFlags = 0x00000040
};
enum {
rAliasType = 'alis'
};
enum {
kARMMountVol = 0x00000001,
kARMNoUI = 0x00000002,
kARMMultVols = 0x00000008,
kARMSearch = 0x00000100,
kARMSearchMore = 0x00000200,
kARMSearchRelFirst = 0x00000400,
kARMTryFileIDFirst = 0x00000800
};
enum {
asiZoneName = -3,
asiServerName = -2,
asiVolumeName = -1,
asiAliasName = 0,
asiParentName = 1
};
enum {
kResolveAliasFileNoUI = 0x00000001,
kResolveAliasTryFileIDFirst = 0x00000002
};
#define __AL_USE_OPAQUE_RECORD__ 1
struct AliasRecord {
UInt8 hidden[6];
};
typedef struct AliasRecord AliasRecord;
# 102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
typedef AliasRecord * AliasPtr;
typedef AliasPtr * AliasHandle;
struct FSAliasInfo {
UTCDateTime volumeCreateDate;
UTCDateTime targetCreateDate;
OSType fileType;
OSType fileCreator;
UInt32 parentDirID;
UInt32 nodeID;
UInt16 filesystemID;
UInt16 signature;
Boolean volumeIsBootVolume;
Boolean volumeIsAutomounted;
Boolean volumeIsEjectable;
Boolean volumeHasPersistentFileIDs;
Boolean isDirectory;
};
typedef struct FSAliasInfo FSAliasInfo;
typedef FSAliasInfo * FSAliasInfoPtr;
typedef short AliasInfoType;
# 178 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
typedef Boolean ( * FSAliasFilterProcPtr)(const FSRef *ref, Boolean *quitFlag, Ptr myDataPtr);
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSNewAlias(
const FSRef * fromFile,
const FSRef * target,
AliasHandle * inAlias) ;
# 208 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSNewAliasMinimal(
const FSRef * target,
AliasHandle * inAlias) ;
# 225 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSIsAliasFile(
const FSRef * fileRef,
Boolean * aliasFileFlag,
Boolean * folderFlag) ;
# 244 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSResolveAliasWithMountFlags(
const FSRef * fromFile,
AliasHandle inAlias,
FSRef * target,
Boolean * wasChanged,
unsigned long mountFlags) ;
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSResolveAlias(
const FSRef * fromFile,
AliasHandle alias,
FSRef * target,
Boolean * wasChanged) ;
# 285 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSResolveAliasFileWithMountFlags(
FSRef * theRef,
Boolean resolveAliasChains,
Boolean * targetIsFolder,
Boolean * wasAliased,
unsigned long mountFlags) ;
# 306 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSResolveAliasFile(
FSRef * theRef,
Boolean resolveAliasChains,
Boolean * targetIsFolder,
Boolean * wasAliased) ;
# 326 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSFollowFinderAlias(
FSRef * fromFile,
AliasHandle alias,
Boolean logon,
FSRef * target,
Boolean * wasChanged) ;
# 346 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSUpdateAlias(
const FSRef * fromFile,
const FSRef * target,
AliasHandle alias,
Boolean * wasChanged) ;
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSNewAliasUnicode(
const FSRef * fromFile,
const FSRef * targetParentRef,
UniCharCount targetNameLength,
const UniChar * targetName,
AliasHandle * inAlias,
Boolean * isDirectory) ;
# 441 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSErr
FSNewAliasMinimalUnicode(
const FSRef * targetParentRef,
UniCharCount targetNameLength,
const UniChar * targetName,
AliasHandle * inAlias,
Boolean * isDirectory) ;
# 487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSStatus
FSNewAliasFromPath(
const char * fromFilePath,
const char * targetPath,
OptionBits flags,
AliasHandle * inAlias,
Boolean * isDirectory) ;
# 511 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSStatus
FSMatchAliasBulk(
const FSRef * fromFile,
unsigned long rulesMask,
AliasHandle inAlias,
short * aliasCount,
FSRef * aliasList,
Boolean * needsUpdate,
FSAliasFilterProcPtr aliasFilter,
void * yourDataPtr) ;
# 563 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSStatus
FSCopyAliasInfo(
AliasHandle inAlias,
HFSUniStr255 * targetName,
HFSUniStr255 * volumeName,
CFStringRef * pathString,
FSAliasInfoBitmap * whichInfo,
FSAliasInfo * info) ;
# 598 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern Size
GetAliasSize(AliasHandle alias) ;
# 625 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSType
GetAliasUserType(AliasHandle alias) ;
# 652 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern void
SetAliasUserType(
AliasHandle alias,
OSType userType) ;
# 681 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern Size
GetAliasSizeFromPtr(const AliasRecord * alias) ;
# 708 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern OSType
GetAliasUserTypeFromPtr(const AliasRecord * alias) ;
# 735 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
extern void
SetAliasUserTypeWithPtr(
AliasPtr alias,
OSType userType) ;
# 1204 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h" 3
#pragma pack(pop)
# 106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
#define __MACLOCALES__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
#pragma pack(push, 2)
# 48 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
typedef struct OpaqueLocaleRef* LocaleRef;
typedef UInt32 LocalePartMask;
enum {
kLocaleLanguageMask = 1L << 0,
kLocaleLanguageVariantMask = 1L << 1,
kLocaleScriptMask = 1L << 2,
kLocaleScriptVariantMask = 1L << 3,
kLocaleRegionMask = 1L << 4,
kLocaleRegionVariantMask = 1L << 5,
kLocaleAllPartsMask = 0x0000003F
};
typedef FourCharCode LocaleOperationClass;
typedef FourCharCode LocaleOperationVariant;
struct LocaleAndVariant {
LocaleRef locale;
LocaleOperationVariant opVariant;
};
typedef struct LocaleAndVariant LocaleAndVariant;
typedef UInt32 LocaleNameMask;
enum {
kLocaleNameMask = 1L << 0,
kLocaleOperationVariantNameMask = 1L << 1,
kLocaleAndVariantNameMask = 0x00000003
};
# 94 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleRefFromLangOrRegionCode(
LangCode lang,
RegionCode region,
LocaleRef * locale) ;
# 109 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleRefFromLocaleString(
const char localeString[],
LocaleRef * locale) ;
# 123 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleRefGetPartString(
LocaleRef locale,
LocalePartMask partMask,
ByteCount maxStringLen,
char partString[]) ;
# 140 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleStringToLangAndRegionCodes(
const char localeString[],
LangCode * lang,
RegionCode * region) ;
# 158 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleOperationCountLocales(
LocaleOperationClass opClass,
ItemCount * localeCount) ;
# 172 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleOperationGetLocales(
LocaleOperationClass opClass,
ItemCount maxLocaleCount,
ItemCount * actualLocaleCount,
LocaleAndVariant localeVariantList[]) ;
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleGetName(
LocaleRef locale,
LocaleOperationVariant opVariant,
LocaleNameMask nameMask,
LocaleRef displayLocale,
UniCharCount maxNameLen,
UniCharCount * actualNameLen,
UniChar displayName[]) ;
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleCountNames(
LocaleRef locale,
LocaleOperationVariant opVariant,
LocaleNameMask nameMask,
ItemCount * nameCount) ;
# 225 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleGetIndName(
LocaleRef locale,
LocaleOperationVariant opVariant,
LocaleNameMask nameMask,
ItemCount nameIndex,
UniCharCount maxNameLen,
UniCharCount * actualNameLen,
UniChar displayName[],
LocaleRef * displayLocale) ;
# 275 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleOperationGetName(
LocaleOperationClass opClass,
LocaleRef displayLocale,
UniCharCount maxNameLen,
UniCharCount * actualNameLen,
UniChar displayName[]) ;
# 292 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleOperationCountNames(
LocaleOperationClass opClass,
ItemCount * nameCount) ;
# 306 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacLocales.h" 3
extern OSStatus
LocaleOperationGetIndName(
LocaleOperationClass opClass,
ItemCount nameIndex,
UniCharCount maxNameLen,
UniCharCount * actualNameLen,
UniChar displayName[],
LocaleRef * displayLocale) ;
#pragma pack(pop)
# 110 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define __DEBUGGING__
# 92 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define kComponentSignatureString "Third Party Client"
#define COMPONENT_SIGNATURE '?*?*'
#define QuoteExceptionString(x) #x
#define DEBUG_LEVEL_PRODUCTION 0
#define DEBUG_LEVEL_BREAK_ONLY 1
#define DEBUG_LEVEL_EXTERNAL 3
#define DEBUG_LEVEL_INTERNAL 4
#define DEBUGFULL DEBUG_LEVEL_INTERNAL
# 129 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define DEBUGLEVEL DEBUG_LEVEL_PRODUCTION
#define DEBUG_NO_OPTIONS 0
# 185 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define DEBUGASSERTMSG(componentSignature,options,assertionString,exceptionLabelString,errorString,fileName,lineNumber,value)
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define DEBUG_ASSERT_COMPONENT_NAME_STRING kComponentSignatureString
#define DEBUG_ASSERT_PRODUCTION_CODE (DEBUGLEVEL==0)
#define DEBUG_ASSERT_MESSAGE(componentNameString,assertionString,exceptionLabelString,errorString,fileName,lineNumber,value) DEBUGASSERTMSG(COMPONENT_SIGNATURE, DEBUG_NO_OPTIONS, componentNameString ": " assertionString, exceptionLabelString, errorString, fileName, lineNumber, value)
# 1 "/usr/include/AssertMacros.h" 1 3 4
# 21 "/usr/include/AssertMacros.h" 3 4
#define __ASSERTMACROS__
# 197 "/usr/include/AssertMacros.h" 3 4
#define debug_string(message)
# 229 "/usr/include/AssertMacros.h" 3 4
#define check(assertion)
# 248 "/usr/include/AssertMacros.h" 3 4
#define ncheck(assertion) check(!(assertion))
# 270 "/usr/include/AssertMacros.h" 3 4
#define check_string(assertion,message)
# 289 "/usr/include/AssertMacros.h" 3 4
#define ncheck_string(assertion,message) check_string(!(assertion), message)
# 308 "/usr/include/AssertMacros.h" 3 4
#define check_noerr(errorCode)
# 348 "/usr/include/AssertMacros.h" 3 4
#define check_noerr_string(errorCode,message)
# 385 "/usr/include/AssertMacros.h" 3 4
#define verify(assertion) do { if ( !(assertion) ) { } } while ( 0 )
# 410 "/usr/include/AssertMacros.h" 3 4
#define nverify(assertion) verify(!(assertion))
# 433 "/usr/include/AssertMacros.h" 3 4
#define verify_string(assertion,message) do { if ( !(assertion) ) { } } while ( 0 )
# 458 "/usr/include/AssertMacros.h" 3 4
#define nverify_string(assertion,message) verify_string(!(assertion), message)
# 478 "/usr/include/AssertMacros.h" 3 4
#define verify_noerr(errorCode) do { if ( 0 != (errorCode) ) { } } while ( 0 )
# 524 "/usr/include/AssertMacros.h" 3 4
#define verify_noerr_string(errorCode,message) do { if ( 0 != (errorCode) ) { } } while ( 0 )
# 571 "/usr/include/AssertMacros.h" 3 4
#define verify_action(assertion,action) do { if ( __builtin_expect(!(assertion), 0) ) { action; } } while ( 0 )
# 618 "/usr/include/AssertMacros.h" 3 4
#define require(assertion,exceptionLabel) do { if ( __builtin_expect(!(assertion), 0) ) { goto exceptionLabel; } } while ( 0 )
# 645 "/usr/include/AssertMacros.h" 3 4
#define nrequire(assertion,exceptionLabel) require(!(assertion), exceptionLabel)
# 673 "/usr/include/AssertMacros.h" 3 4
#define require_action(assertion,exceptionLabel,action) do { if ( __builtin_expect(!(assertion), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 706 "/usr/include/AssertMacros.h" 3 4
#define nrequire_action(assertion,exceptionLabel,action) require_action(!(assertion), exceptionLabel, action)
# 724 "/usr/include/AssertMacros.h" 3 4
#define require_quiet(assertion,exceptionLabel) do { if ( __builtin_expect(!(assertion), 0) ) { goto exceptionLabel; } } while ( 0 )
# 733 "/usr/include/AssertMacros.h" 3 4
#define nrequire_quiet(assertion,exceptionLabel) require_quiet(!(assertion), exceptionLabel)
# 755 "/usr/include/AssertMacros.h" 3 4
#define require_action_quiet(assertion,exceptionLabel,action) do { if ( __builtin_expect(!(assertion), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 767 "/usr/include/AssertMacros.h" 3 4
#define nrequire_action_quiet(assertion,exceptionLabel,action) require_action_quiet(!(assertion), exceptionLabel, action)
# 793 "/usr/include/AssertMacros.h" 3 4
#define require_string(assertion,exceptionLabel,message) do { if ( __builtin_expect(!(assertion), 0) ) { goto exceptionLabel; } } while ( 0 )
# 820 "/usr/include/AssertMacros.h" 3 4
#define nrequire_string(assertion,exceptionLabel,string) require_string(!(assertion), exceptionLabel, string)
# 851 "/usr/include/AssertMacros.h" 3 4
#define require_action_string(assertion,exceptionLabel,action,message) do { if ( __builtin_expect(!(assertion), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 884 "/usr/include/AssertMacros.h" 3 4
#define nrequire_action_string(assertion,exceptionLabel,action,message) require_action_string(!(assertion), exceptionLabel, action, message)
# 907 "/usr/include/AssertMacros.h" 3 4
#define require_noerr(errorCode,exceptionLabel) do { if ( __builtin_expect(0 != (errorCode), 0) ) { goto exceptionLabel; } } while ( 0 )
# 959 "/usr/include/AssertMacros.h" 3 4
#define require_noerr_action(errorCode,exceptionLabel,action) do { if ( __builtin_expect(0 != (errorCode), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 1009 "/usr/include/AssertMacros.h" 3 4
#define require_noerr_quiet(errorCode,exceptionLabel) do { if ( __builtin_expect(0 != (errorCode), 0) ) { goto exceptionLabel; } } while ( 0 )
# 1038 "/usr/include/AssertMacros.h" 3 4
#define require_noerr_action_quiet(errorCode,exceptionLabel,action) do { if ( __builtin_expect(0 != (errorCode), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 1073 "/usr/include/AssertMacros.h" 3 4
#define require_noerr_string(errorCode,exceptionLabel,message) do { if ( __builtin_expect(0 != (errorCode), 0) ) { goto exceptionLabel; } } while ( 0 )
# 1129 "/usr/include/AssertMacros.h" 3 4
#define require_noerr_action_string(errorCode,exceptionLabel,action,message) do { if ( __builtin_expect(0 != (errorCode), 0) ) { { action; } goto exceptionLabel; } } while ( 0 )
# 220 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 2 3
#define ATTASKLEVEL0() (TaskLevel() == 0)
#define check_tasklevel0() check(ATTASKLEVEL0())
#define check_tasklevel0_string(cstring) check_string(ATTASKLEVEL0(), cstring)
#define verify_tasklevel0() verify(ATTASKLEVEL0())
#define verify_tasklevel0_string(cstring) verify_string(ATTASKLEVEL0(), cstring)
#define require_tasklevel0(exceptionLabel) require(ATTASKLEVEL0(), exceptionLabel)
#define require_tasklevel0_action(exceptionLabel,action) require_action(ATTASKLEVEL0(), exceptionLabel, action)
#define require_tasklevel0_quiet(exceptionLabel) require_quiet(ATTASKLEVEL0(), exceptionLabel)
#define require_tasklevel0_action_quiet(exceptionLabel,action) require_action_quiet(ATTASKLEVEL0(), exceptionLabel, action)
#define require_tasklevel0_string(exceptionLabel,cstring) require_string(ATTASKLEVEL0(), exceptionLabel, cstring)
#define require_tasklevel0_action_string(exceptionLabel,action,cstring) require_action_string(ATTASKLEVEL0(), exceptionLabel, action, cstring)
# 286 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define DPRINTF(x) { }
# 301 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
enum {
kBlessedBusErrorBait = 0x68F168F1
};
# 353 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
DebugAssert(
OSType componentSignature,
UInt32 options,
const char * assertionString,
const char * exceptionLabelString,
const char * errorString,
const char * fileName,
long lineNumber,
void * value) ;
enum {
k68kInterruptLevelMask = 0x00000007,
kInVBLTaskMask = 0x00000010,
kInDeferredTaskMask = 0x00000020,
kInSecondaryIntHandlerMask = 0x00000040,
kInNestedInterruptMask = 0x00000080
};
# 397 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern UInt32
TaskLevel(void) ;
enum {
kComponentDebugOption = 0
};
enum {
kGetDebugOption = 1,
kSetDebugOption = 2
};
# 438 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
typedef void ( * DebugComponentCallbackProcPtr)(SInt32 optionSelectorNum, UInt32 command, Boolean *optionSetting);
typedef DebugComponentCallbackProcPtr DebugComponentCallbackUPP;
# 470 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
NewDebugComponent(
OSType componentSignature,
ConstStr255Param componentName,
DebugComponentCallbackUPP componentCallback) ;
# 508 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
NewDebugOption(
OSType componentSignature,
SInt32 optionSelectorNum,
ConstStr255Param optionName) ;
# 539 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
DisposeDebugComponent(OSType componentSignature) ;
# 574 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
GetDebugComponentInfo(
UInt32 itemIndex,
OSType * componentSignature,
Str255 componentName) ;
# 621 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
GetDebugOptionInfo(
UInt32 itemIndex,
OSType componentSignature,
SInt32 * optionSelectorNum,
Str255 optionName,
Boolean * optionSetting) ;
# 659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern OSStatus
SetDebugOptionValue(
OSType componentSignature,
SInt32 optionSelectorNum,
Boolean newOptionSetting) ;
# 708 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
typedef void ( * DebugAssertOutputHandlerProcPtr)(OSType componentSignature, UInt32 options, const char *assertionString, const char *exceptionLabelString, const char *errorString, const char *fileName, long lineNumber, void *value, ConstStr255Param outputMsg);
typedef DebugAssertOutputHandlerProcPtr DebugAssertOutputHandlerUPP;
# 729 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
InstallDebugAssertOutputHandler(DebugAssertOutputHandlerUPP handler) ;
# 813 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern const char *
GetMacOSStatusErrorString(OSStatus err) ;
# 854 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern const char *
GetMacOSStatusCommentString(OSStatus err) ;
# 871 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern DebugComponentCallbackUPP
NewDebugComponentCallbackUPP(DebugComponentCallbackProcPtr userRoutine) ;
# 882 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern DebugAssertOutputHandlerUPP
NewDebugAssertOutputHandlerUPP(DebugAssertOutputHandlerProcPtr userRoutine) ;
# 893 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
DisposeDebugComponentCallbackUPP(DebugComponentCallbackUPP userUPP) ;
# 904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
DisposeDebugAssertOutputHandlerUPP(DebugAssertOutputHandlerUPP userUPP) ;
# 915 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
InvokeDebugComponentCallbackUPP(
SInt32 optionSelectorNum,
UInt32 command,
Boolean * optionSetting,
DebugComponentCallbackUPP userUPP) ;
# 930 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
extern void
InvokeDebugAssertOutputHandlerUPP(
OSType componentSignature,
UInt32 options,
const char * assertionString,
const char * exceptionLabelString,
const char * errorString,
const char * fileName,
long lineNumber,
void * value,
ConstStr255Param outputMsg,
DebugAssertOutputHandlerUPP userUPP) ;
# 952 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h" 3
#define NewDebugComponentCallbackUPP(userRoutine) ((DebugComponentCallbackUPP)userRoutine)
#define NewDebugAssertOutputHandlerUPP(userRoutine) ((DebugAssertOutputHandlerUPP)userRoutine)
#define DisposeDebugComponentCallbackUPP(userUPP)
#define DisposeDebugAssertOutputHandlerUPP(userUPP)
#define InvokeDebugComponentCallbackUPP(optionSelectorNum,command,optionSetting,userUPP) (*userUPP)(optionSelectorNum, command, optionSetting)
#define InvokeDebugAssertOutputHandlerUPP(componentSignature,options,assertionString,exceptionLabelString,errorString,fileName,lineNumber,value,outputMsg,userUPP) (*userUPP)(componentSignature, options, assertionString, exceptionLabelString, errorString, fileName, lineNumber, value, outputMsg)
# 114 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
#define __PLSTRINGFUNCS__
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern short
PLstrcmp(
ConstStr255Param str1,
ConstStr255Param str2) __attribute__((deprecated));
# 127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern short
PLstrncmp(
ConstStr255Param str1,
ConstStr255Param str2,
short num) __attribute__((deprecated));
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern StringPtr
PLstrcpy(
StringPtr dest,
ConstStr255Param source) __attribute__((deprecated));
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern StringPtr
PLstrncpy(
StringPtr dest,
ConstStr255Param source,
short num) __attribute__((deprecated));
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern StringPtr
PLstrcat(
StringPtr str,
ConstStr255Param append) __attribute__((deprecated));
# 315 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern StringPtr
PLstrncat(
StringPtr str1,
ConstStr255Param append,
short num) __attribute__((deprecated));
# 358 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern Ptr
PLstrchr(
ConstStr255Param str1,
short ch1) __attribute__((deprecated));
# 400 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern Ptr
PLstrrchr(
ConstStr255Param str1,
short ch1) __attribute__((deprecated));
# 444 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern Ptr
PLstrpbrk(
ConstStr255Param str1,
ConstStr255Param charSet) __attribute__((deprecated));
# 490 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern short
PLstrspn(
ConstStr255Param str1,
ConstStr255Param charSet) __attribute__((deprecated));
# 534 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern Ptr
PLstrstr(
ConstStr255Param str1,
ConstStr255Param searchStr) __attribute__((deprecated));
# 571 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern short
PLstrlen(ConstStr255Param str) __attribute__((deprecated));
# 614 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PLStringFuncs.h" 3
extern short
PLpos(
ConstStr255Param str1,
ConstStr255Param searchStr) __attribute__((deprecated));
# 118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
#define __DRIVERSYNCHRONIZATION__
# 77 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern Boolean
CompareAndSwap(
UInt32 oldValue,
UInt32 newValue,
UInt32 * address) ;
# 127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern Boolean
TestAndClear(
UInt32 bit,
UInt8 * address) ;
# 166 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern Boolean
TestAndSet(
UInt32 bit,
UInt8 * address) ;
# 201 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt8
IncrementAtomic8(SInt8 * address) ;
# 234 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt8
DecrementAtomic8(SInt8 * address) ;
# 270 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt8
AddAtomic8(
SInt32 amount,
SInt8 * address) ;
# 309 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt8
BitAndAtomic8(
UInt32 mask,
UInt8 * address) ;
# 348 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt8
BitOrAtomic8(
UInt32 mask,
UInt8 * address) ;
# 387 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt8
BitXorAtomic8(
UInt32 mask,
UInt8 * address) ;
# 422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt16
IncrementAtomic16(SInt16 * address) ;
# 455 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt16
DecrementAtomic16(SInt16 * address) ;
# 491 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt16
AddAtomic16(
SInt32 amount,
SInt16 * address) ;
# 530 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt16
BitAndAtomic16(
UInt32 mask,
UInt16 * address) ;
# 569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt16
BitOrAtomic16(
UInt32 mask,
UInt16 * address) ;
# 608 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt16
BitXorAtomic16(
UInt32 mask,
UInt16 * address) ;
# 643 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt32
IncrementAtomic(SInt32 * address) ;
# 676 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt32
DecrementAtomic(SInt32 * address) ;
# 712 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern SInt32
AddAtomic(
SInt32 amount,
SInt32 * address) ;
# 751 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt32
BitAndAtomic(
UInt32 mask,
UInt32 * address) ;
# 790 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt32
BitOrAtomic(
UInt32 mask,
UInt32 * address) ;
# 829 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverSynchronization.h" 3
extern UInt32
BitXorAtomic(
UInt32 mask,
UInt32 * address) ;
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
#define __DRIVERSERVICES__
# 32 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
#define __MACHINEEXCEPTIONS__
# 29 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _XMMINTRIN_H_INCLUDED
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mmintrin.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mmintrin.h" 3 4
#define _MMINTRIN_H_INCLUDED
typedef long long __m64 __attribute__ ((__vector_size__ (8)));
typedef int __v2si __attribute__ ((__vector_size__ (8)));
typedef short __v4hi __attribute__ ((__vector_size__ (8)));
typedef char __v8qi __attribute__ ((__vector_size__ (8)));
#define __always_inline__ __always_inline__, __nodebug__
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_empty (void)
{
__builtin_ia32_emms ();
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_m_empty (void)
{
_mm_empty ();
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi32_si64 (int __i)
{
return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_from_int (int __i)
{
return _mm_cvtsi32_si64 (__i);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_from_int64 (long long __i)
{
return (__m64) __i;
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64_m64 (long long __i)
{
return (__m64) __i;
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64x_si64 (long long __i)
{
return (__m64) __i;
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set_pi64x (long long __i)
{
return (__m64) __i;
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64_si32 (__m64 __i)
{
return __builtin_ia32_vec_ext_v2si ((__v2si)__i, 0);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_m_to_int (__m64 __i)
{
return _mm_cvtsi64_si32 (__i);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_m_to_int64 (__m64 __i)
{
return (long long)__i;
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvtm64_si64 (__m64 __i)
{
return (long long)__i;
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64_si64x (__m64 __i)
{
return (long long)__i;
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_packs_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_packsswb ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_packsswb (__m64 __m1, __m64 __m2)
{
return _mm_packs_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_packs_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_packssdw ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_packssdw (__m64 __m1, __m64 __m2)
{
return _mm_packs_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_packs_pu16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_packuswb ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_packuswb (__m64 __m1, __m64 __m2)
{
return _mm_packs_pu16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpckhbw ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpckhbw (__m64 __m1, __m64 __m2)
{
return _mm_unpackhi_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpckhwd ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpckhwd (__m64 __m1, __m64 __m2)
{
return _mm_unpackhi_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpckhdq ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpckhdq (__m64 __m1, __m64 __m2)
{
return _mm_unpackhi_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpcklbw ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpcklbw (__m64 __m1, __m64 __m2)
{
return _mm_unpacklo_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpcklwd ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpcklwd (__m64 __m1, __m64 __m2)
{
return _mm_unpacklo_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_punpckldq ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_punpckldq (__m64 __m1, __m64 __m2)
{
return _mm_unpacklo_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_add_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddb (__m64 __m1, __m64 __m2)
{
return _mm_add_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_add_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddw (__m64 __m1, __m64 __m2)
{
return _mm_add_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_add_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddd ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddd (__m64 __m1, __m64 __m2)
{
return _mm_add_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_add_si64 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddq (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_adds_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddsb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddsb (__m64 __m1, __m64 __m2)
{
return _mm_adds_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_adds_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddsw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddsw (__m64 __m1, __m64 __m2)
{
return _mm_adds_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_adds_pu8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddusb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddusb (__m64 __m1, __m64 __m2)
{
return _mm_adds_pu8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_adds_pu16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_paddusw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_paddusw (__m64 __m1, __m64 __m2)
{
return _mm_adds_pu16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sub_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubb (__m64 __m1, __m64 __m2)
{
return _mm_sub_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sub_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubw (__m64 __m1, __m64 __m2)
{
return _mm_sub_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sub_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubd ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubd (__m64 __m1, __m64 __m2)
{
return _mm_sub_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sub_si64 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubq (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_subs_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubsb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubsb (__m64 __m1, __m64 __m2)
{
return _mm_subs_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_subs_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubsw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubsw (__m64 __m1, __m64 __m2)
{
return _mm_subs_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_subs_pu8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubusb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubusb (__m64 __m1, __m64 __m2)
{
return _mm_subs_pu8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_subs_pu16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_psubusw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psubusw (__m64 __m1, __m64 __m2)
{
return _mm_subs_pu16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_madd_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pmaddwd ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmaddwd (__m64 __m1, __m64 __m2)
{
return _mm_madd_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_mulhi_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pmulhw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmulhw (__m64 __m1, __m64 __m2)
{
return _mm_mulhi_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_mullo_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pmullw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmullw (__m64 __m1, __m64 __m2)
{
return _mm_mullo_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sll_pi16 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psllw ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psllw (__m64 __m, __m64 __count)
{
return _mm_sll_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_slli_pi16 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psllwi ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psllwi (__m64 __m, int __count)
{
return _mm_slli_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sll_pi32 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_pslld ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pslld (__m64 __m, __m64 __count)
{
return _mm_sll_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_slli_pi32 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_pslldi ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pslldi (__m64 __m, int __count)
{
return _mm_slli_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sll_si64 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psllq (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psllq (__m64 __m, __m64 __count)
{
return _mm_sll_si64 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_slli_si64 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psllqi (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psllqi (__m64 __m, int __count)
{
return _mm_slli_si64 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sra_pi16 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psraw ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psraw (__m64 __m, __m64 __count)
{
return _mm_sra_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srai_pi16 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psrawi ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrawi (__m64 __m, int __count)
{
return _mm_srai_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sra_pi32 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psrad ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrad (__m64 __m, __m64 __count)
{
return _mm_sra_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srai_pi32 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psradi ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psradi (__m64 __m, int __count)
{
return _mm_srai_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srl_pi16 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psrlw ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrlw (__m64 __m, __m64 __count)
{
return _mm_srl_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srli_pi16 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psrlwi ((__v4hi)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrlwi (__m64 __m, int __count)
{
return _mm_srli_pi16 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srl_pi32 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psrld ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrld (__m64 __m, __m64 __count)
{
return _mm_srl_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srli_pi32 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psrldi ((__v2si)__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrldi (__m64 __m, int __count)
{
return _mm_srli_pi32 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srl_si64 (__m64 __m, __m64 __count)
{
return (__m64) __builtin_ia32_psrlq (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrlq (__m64 __m, __m64 __count)
{
return _mm_srl_si64 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_srli_si64 (__m64 __m, int __count)
{
return (__m64) __builtin_ia32_psrlqi (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psrlqi (__m64 __m, int __count)
{
return _mm_srli_si64 (__m, __count);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_and_si64 (__m64 __m1, __m64 __m2)
{
return __builtin_ia32_pand (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pand (__m64 __m1, __m64 __m2)
{
return _mm_and_si64 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_andnot_si64 (__m64 __m1, __m64 __m2)
{
return __builtin_ia32_pandn (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pandn (__m64 __m1, __m64 __m2)
{
return _mm_andnot_si64 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_or_si64 (__m64 __m1, __m64 __m2)
{
return __builtin_ia32_por (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_por (__m64 __m1, __m64 __m2)
{
return _mm_or_si64 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_xor_si64 (__m64 __m1, __m64 __m2)
{
return __builtin_ia32_pxor (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pxor (__m64 __m1, __m64 __m2)
{
return _mm_xor_si64 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpeqb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpeqb (__m64 __m1, __m64 __m2)
{
return _mm_cmpeq_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_pi8 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpgtb ((__v8qi)__m1, (__v8qi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpgtb (__m64 __m1, __m64 __m2)
{
return _mm_cmpgt_pi8 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpeqw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpeqw (__m64 __m1, __m64 __m2)
{
return _mm_cmpeq_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_pi16 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpgtw ((__v4hi)__m1, (__v4hi)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpgtw (__m64 __m1, __m64 __m2)
{
return _mm_cmpgt_pi16 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpeqd ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpeqd (__m64 __m1, __m64 __m2)
{
return _mm_cmpeq_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_pi32 (__m64 __m1, __m64 __m2)
{
return (__m64) __builtin_ia32_pcmpgtd ((__v2si)__m1, (__v2si)__m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pcmpgtd (__m64 __m1, __m64 __m2)
{
return _mm_cmpgt_pi32 (__m1, __m2);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_setzero_si64 (void)
{
return (__m64)0LL;
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set_pi32 (int __i1, int __i0)
{
return (__m64) __builtin_ia32_vec_init_v2si (__i0, __i1);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set_pi16 (short __w3, short __w2, short __w1, short __w0)
{
return (__m64) __builtin_ia32_vec_init_v4hi (__w0, __w1, __w2, __w3);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set_pi8 (char __b7, char __b6, char __b5, char __b4,
char __b3, char __b2, char __b1, char __b0)
{
return (__m64) __builtin_ia32_vec_init_v8qi (__b0, __b1, __b2, __b3,
__b4, __b5, __b6, __b7);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_setr_pi32 (int __i0, int __i1)
{
return _mm_set_pi32 (__i1, __i0);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_setr_pi16 (short __w0, short __w1, short __w2, short __w3)
{
return _mm_set_pi16 (__w3, __w2, __w1, __w0);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_setr_pi8 (char __b0, char __b1, char __b2, char __b3,
char __b4, char __b5, char __b6, char __b7)
{
return _mm_set_pi8 (__b7, __b6, __b5, __b4, __b3, __b2, __b1, __b0);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set1_pi32 (int __i)
{
return _mm_set_pi32 (__i, __i);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set1_pi16 (short __w)
{
return _mm_set_pi16 (__w, __w, __w, __w);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_set1_pi8 (char __b)
{
return _mm_set_pi8 (__b, __b, __b, __b, __b, __b, __b, __b);
}
#undef __always_inline__
# 40 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 2 3 4
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mm_malloc.h" 1 3 4
# 28 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mm_malloc.h" 3 4
#define _MM_MALLOC_H_INCLUDED
# 1 "/usr/include/errno.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mm_malloc.h" 2 3 4
static __inline__ void*
_mm_malloc (size_t size, size_t align)
{
void * malloc_ptr;
void * aligned_ptr;
if (align & (align - 1))
{
(*__error()) = 22;
return ((void*) 0);
}
if (size == 0)
return ((void *) 0);
if (align < 2 * sizeof (void *))
align = 2 * sizeof (void *);
malloc_ptr = malloc (size + align);
if (!malloc_ptr)
return ((void *) 0);
aligned_ptr = (void *) (((size_t) malloc_ptr + align)
& ~((size_t) (align) - 1));
((void **) aligned_ptr) [-1] = malloc_ptr;
return aligned_ptr;
}
static __inline__ void
_mm_free (void * aligned_ptr)
{
if (aligned_ptr)
free (((void **) aligned_ptr) [-1]);
}
# 43 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 2 3 4
typedef float __m128 __attribute__ ((__vector_size__ (16)));
typedef float __v4sf __attribute__ ((__vector_size__ (16)));
#define _MM_SHUFFLE(fp3,fp2,fp1,fp0) (((fp3) << 6) | ((fp2) << 4) | ((fp1) << 2) | (fp0))
enum _mm_hint
{
_MM_HINT_T0 = 3,
_MM_HINT_T1 = 2,
_MM_HINT_T2 = 1,
_MM_HINT_NTA = 0
};
#define _MM_EXCEPT_MASK 0x003f
#define _MM_EXCEPT_INVALID 0x0001
#define _MM_EXCEPT_DENORM 0x0002
#define _MM_EXCEPT_DIV_ZERO 0x0004
#define _MM_EXCEPT_OVERFLOW 0x0008
#define _MM_EXCEPT_UNDERFLOW 0x0010
#define _MM_EXCEPT_INEXACT 0x0020
#define _MM_MASK_MASK 0x1f80
#define _MM_MASK_INVALID 0x0080
#define _MM_MASK_DENORM 0x0100
#define _MM_MASK_DIV_ZERO 0x0200
#define _MM_MASK_OVERFLOW 0x0400
#define _MM_MASK_UNDERFLOW 0x0800
#define _MM_MASK_INEXACT 0x1000
#define _MM_ROUND_MASK 0x6000
#define _MM_ROUND_NEAREST 0x0000
#define _MM_ROUND_DOWN 0x2000
#define _MM_ROUND_UP 0x4000
#define _MM_ROUND_TOWARD_ZERO 0x6000
#define _MM_FLUSH_ZERO_MASK 0x8000
#define _MM_FLUSH_ZERO_ON 0x8000
#define _MM_FLUSH_ZERO_OFF 0x0000
#define __always_inline__ __always_inline__, __nodebug__
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_setzero_ps (void)
{
return __extension__ (__m128){ 0.0f, 0.0f, 0.0f, 0.0f };
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_add_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_addss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_sub_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_subss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_mul_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_mulss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_div_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_divss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_sqrt_ss (__m128 __A)
{
return (__m128) __builtin_ia32_sqrtss ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_rcp_ss (__m128 __A)
{
return (__m128) __builtin_ia32_rcpss ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_rsqrt_ss (__m128 __A)
{
return (__m128) __builtin_ia32_rsqrtss ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_min_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_minss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_max_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_maxss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_add_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_addps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_sub_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_subps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_mul_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_mulps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_div_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_divps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_sqrt_ps (__m128 __A)
{
return (__m128) __builtin_ia32_sqrtps ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_rcp_ps (__m128 __A)
{
return (__m128) __builtin_ia32_rcpps ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_rsqrt_ps (__m128 __A)
{
return (__m128) __builtin_ia32_rsqrtps ((__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_min_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_minps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_max_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_maxps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_and_ps (__m128 __A, __m128 __B)
{
return __builtin_ia32_andps (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_andnot_ps (__m128 __A, __m128 __B)
{
return __builtin_ia32_andnps (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_or_ps (__m128 __A, __m128 __B)
{
return __builtin_ia32_orps (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_xor_ps (__m128 __A, __m128 __B)
{
return __builtin_ia32_xorps (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpeqss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpltss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmple_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpless ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movss ((__v4sf) __A,
(__v4sf)
__builtin_ia32_cmpltss ((__v4sf) __B,
(__v4sf)
__A));
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpge_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movss ((__v4sf) __A,
(__v4sf)
__builtin_ia32_cmpless ((__v4sf) __B,
(__v4sf)
__A));
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpneq_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpneqss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnlt_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpnltss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnle_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpnless ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpngt_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movss ((__v4sf) __A,
(__v4sf)
__builtin_ia32_cmpnltss ((__v4sf) __B,
(__v4sf)
__A));
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnge_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movss ((__v4sf) __A,
(__v4sf)
__builtin_ia32_cmpnless ((__v4sf) __B,
(__v4sf)
__A));
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpord_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpordss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpunord_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpunordss ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpeqps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpltps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmple_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpleps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpgtps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpge_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpgeps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpneq_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpneqps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnlt_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpnltps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnle_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpnleps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpngt_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpngtps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpnge_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpngeps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpord_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpordps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cmpunord_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_cmpunordps ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comieq_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comieq ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comilt_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comilt ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comile_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comile ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comigt_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comigt ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comige_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comige ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comineq_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_comineq ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomieq_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomieq ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomilt_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomilt ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomile_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomile ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomigt_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomigt ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomige_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomige ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomineq_ss (__m128 __A, __m128 __B)
{
return __builtin_ia32_ucomineq ((__v4sf)__A, (__v4sf)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvtss_si32 (__m128 __A)
{
return __builtin_ia32_cvtss2si ((__v4sf) __A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvt_ss2si (__m128 __A)
{
return _mm_cvtss_si32 (__A);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvtss_si64 (__m128 __A)
{
return __builtin_ia32_cvtss2si64 ((__v4sf) __A);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvtss_si64x (__m128 __A)
{
return __builtin_ia32_cvtss2si64 ((__v4sf) __A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtps_pi32 (__m128 __A)
{
return (__m64) __builtin_ia32_cvtps2pi ((__v4sf) __A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvt_ps2pi (__m128 __A)
{
return _mm_cvtps_pi32 (__A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvttss_si32 (__m128 __A)
{
return __builtin_ia32_cvttss2si ((__v4sf) __A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvtt_ss2si (__m128 __A)
{
return _mm_cvttss_si32 (__A);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvttss_si64 (__m128 __A)
{
return __builtin_ia32_cvttss2si64 ((__v4sf) __A);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvttss_si64x (__m128 __A)
{
return __builtin_ia32_cvttss2si64 ((__v4sf) __A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvttps_pi32 (__m128 __A)
{
return (__m64) __builtin_ia32_cvttps2pi ((__v4sf) __A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtt_ps2pi (__m128 __A)
{
return _mm_cvttps_pi32 (__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi32_ss (__m128 __A, int __B)
{
return (__m128) __builtin_ia32_cvtsi2ss ((__v4sf) __A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvt_si2ss (__m128 __A, int __B)
{
return _mm_cvtsi32_ss (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64_ss (__m128 __A, long long __B)
{
return (__m128) __builtin_ia32_cvtsi642ss ((__v4sf) __A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64x_ss (__m128 __A, long long __B)
{
return (__m128) __builtin_ia32_cvtsi642ss ((__v4sf) __A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpi32_ps (__m128 __A, __m64 __B)
{
return (__m128) __builtin_ia32_cvtpi2ps ((__v4sf) __A, (__v2si)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvt_pi2ps (__m128 __A, __m64 __B)
{
return _mm_cvtpi32_ps (__A, __B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpi16_ps (__m64 __A)
{
__v4hi __sign;
__v2si __hisi, __losi;
__v4sf __r;
__sign = __builtin_ia32_pcmpgtw ((__v4hi)0LL, (__v4hi)__A);
__hisi = (__v2si) __builtin_ia32_punpckhwd ((__v4hi)__A, __sign);
__losi = (__v2si) __builtin_ia32_punpcklwd ((__v4hi)__A, __sign);
__r = (__v4sf) _mm_setzero_ps ();
__r = __builtin_ia32_cvtpi2ps (__r, __hisi);
__r = __builtin_ia32_movlhps (__r, __r);
__r = __builtin_ia32_cvtpi2ps (__r, __losi);
return (__m128) __r;
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpu16_ps (__m64 __A)
{
__v2si __hisi, __losi;
__v4sf __r;
__hisi = (__v2si) __builtin_ia32_punpckhwd ((__v4hi)__A, (__v4hi)0LL);
__losi = (__v2si) __builtin_ia32_punpcklwd ((__v4hi)__A, (__v4hi)0LL);
__r = (__v4sf) _mm_setzero_ps ();
__r = __builtin_ia32_cvtpi2ps (__r, __hisi);
__r = __builtin_ia32_movlhps (__r, __r);
__r = __builtin_ia32_cvtpi2ps (__r, __losi);
return (__m128) __r;
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpi8_ps (__m64 __A)
{
__v8qi __sign;
__sign = __builtin_ia32_pcmpgtb ((__v8qi)0LL, (__v8qi)__A);
__A = (__m64) __builtin_ia32_punpcklbw ((__v8qi)__A, __sign);
return _mm_cvtpi16_ps(__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpu8_ps(__m64 __A)
{
__A = (__m64) __builtin_ia32_punpcklbw ((__v8qi)__A, (__v8qi)0LL);
return _mm_cvtpu16_ps(__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpi32x2_ps(__m64 __A, __m64 __B)
{
__v4sf __zero = (__v4sf) _mm_setzero_ps ();
__v4sf __sfa = __builtin_ia32_cvtpi2ps (__zero, (__v2si)__A);
__v4sf __sfb = __builtin_ia32_cvtpi2ps (__zero, (__v2si)__B);
return (__m128) __builtin_ia32_movlhps (__sfa, __sfb);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtps_pi16(__m128 __A)
{
__v4sf __hisf = (__v4sf)__A;
__v4sf __losf = __builtin_ia32_movhlps (__hisf, __hisf);
__v2si __hisi = __builtin_ia32_cvtps2pi (__hisf);
__v2si __losi = __builtin_ia32_cvtps2pi (__losf);
return (__m64) __builtin_ia32_packssdw (__hisi, __losi);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtps_pi8(__m128 __A)
{
__v4hi __tmp = (__v4hi) _mm_cvtps_pi16 (__A);
return (__m64) __builtin_ia32_packsswb (__tmp, (__v4hi)0LL);
}
# 729 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _mm_shuffle_ps(A,B,MASK) ((__m128) __builtin_ia32_shufps ((__v4sf)(A), (__v4sf)(B), (MASK)))
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_unpckhps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_unpcklps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_loadh_pi (__m128 __A, __m64 const *__P)
{
return (__m128) __builtin_ia32_loadhps ((__v4sf)__A, (__v2si *)__P);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storeh_pi (__m64 *__P, __m128 __A)
{
__builtin_ia32_storehps ((__v2si *)__P, (__v4sf)__A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_movehl_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movhlps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_movelh_ps (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movlhps ((__v4sf)__A, (__v4sf)__B);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_loadl_pi (__m128 __A, __m64 const *__P)
{
return (__m128) __builtin_ia32_loadlps ((__v4sf)__A, (__v2si *)__P);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storel_pi (__m64 *__P, __m128 __A)
{
__builtin_ia32_storelps ((__v2si *)__P, (__v4sf)__A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_movemask_ps (__m128 __A)
{
return __builtin_ia32_movmskps ((__v4sf)__A);
}
static __inline unsigned int __attribute__((__always_inline__, __nodebug__))
_mm_getcsr (void)
{
return __builtin_ia32_stmxcsr ();
}
static __inline unsigned int __attribute__((__always_inline__, __nodebug__))
_MM_GET_EXCEPTION_STATE (void)
{
return _mm_getcsr() & 0x003f;
}
static __inline unsigned int __attribute__((__always_inline__, __nodebug__))
_MM_GET_EXCEPTION_MASK (void)
{
return _mm_getcsr() & 0x1f80;
}
static __inline unsigned int __attribute__((__always_inline__, __nodebug__))
_MM_GET_ROUNDING_MODE (void)
{
return _mm_getcsr() & 0x6000;
}
static __inline unsigned int __attribute__((__always_inline__, __nodebug__))
_MM_GET_FLUSH_ZERO_MODE (void)
{
return _mm_getcsr() & 0x8000;
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_setcsr (unsigned int __I)
{
__builtin_ia32_ldmxcsr (__I);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_MM_SET_EXCEPTION_STATE(unsigned int __mask)
{
_mm_setcsr((_mm_getcsr() & ~0x003f) | __mask);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_MM_SET_EXCEPTION_MASK (unsigned int __mask)
{
_mm_setcsr((_mm_getcsr() & ~0x1f80) | __mask);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_MM_SET_ROUNDING_MODE (unsigned int __mode)
{
_mm_setcsr((_mm_getcsr() & ~0x6000) | __mode);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_MM_SET_FLUSH_ZERO_MODE (unsigned int __mode)
{
_mm_setcsr((_mm_getcsr() & ~0x8000) | __mode);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_set_ss (float __F)
{
return __extension__ (__m128)(__v4sf){ __F, 0, 0, 0 };
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_set1_ps (float __F)
{
return __extension__ (__m128)(__v4sf){ __F, __F, __F, __F };
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_set_ps1 (float __F)
{
return _mm_set1_ps (__F);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_load_ss (float const *__P)
{
return _mm_set_ss (*__P);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_load1_ps (float const *__P)
{
return _mm_set1_ps (*__P);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_load_ps1 (float const *__P)
{
return _mm_load1_ps (__P);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_load_ps (float const *__P)
{
return (__m128) *(__v4sf *)__P;
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_loadu_ps (float const *__P)
{
return (__m128) __builtin_ia32_loadups (__P);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_loadr_ps (float const *__P)
{
__v4sf __tmp = *(__v4sf *)__P;
return (__m128) __builtin_ia32_shufps (__tmp, __tmp, (((0) << 6) | ((1) << 4) | ((2) << 2) | (3)));
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_set_ps (const float __Z, const float __Y, const float __X, const float __W)
{
return __extension__ (__m128)(__v4sf){ __W, __X, __Y, __Z };
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_setr_ps (float __Z, float __Y, float __X, float __W)
{
return __extension__ (__m128)(__v4sf){ __Z, __Y, __X, __W };
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_ss (float *__P, __m128 __A)
{
*__P = __builtin_ia32_vec_ext_v4sf ((__v4sf)__A, 0);
}
static __inline float __attribute__((__always_inline__, __nodebug__))
_mm_cvtss_f32 (__m128 __A)
{
return __builtin_ia32_vec_ext_v4sf ((__v4sf)__A, 0);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_ps (float *__P, __m128 __A)
{
*(__v4sf *)__P = (__v4sf)__A;
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storeu_ps (float *__P, __m128 __A)
{
__builtin_ia32_storeups (__P, (__v4sf)__A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store1_ps (float *__P, __m128 __A)
{
__v4sf __va = (__v4sf)__A;
__v4sf __tmp = __builtin_ia32_shufps (__va, __va, (((0) << 6) | ((0) << 4) | ((0) << 2) | (0)));
_mm_storeu_ps (__P, __tmp);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_ps1 (float *__P, __m128 __A)
{
_mm_store1_ps (__P, __A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storer_ps (float *__P, __m128 __A)
{
__v4sf __va = (__v4sf)__A;
__v4sf __tmp = __builtin_ia32_shufps (__va, __va, (((0) << 6) | ((1) << 4) | ((2) << 2) | (3)));
_mm_store_ps (__P, __tmp);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_move_ss (__m128 __A, __m128 __B)
{
return (__m128) __builtin_ia32_movss ((__v4sf)__A, (__v4sf)__B);
}
# 1011 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _mm_extract_pi16(A,N) __builtin_ia32_vec_ext_v4hi ((__v4hi)(A), (N))
#define _m_pextrw(A,N) _mm_extract_pi16((A), (N))
# 1030 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _mm_insert_pi16(A,D,N) ((__m64) __builtin_ia32_vec_set_v4hi ((__v4hi)(A), (D), (N)))
#define _m_pinsrw(A,D,N) _mm_insert_pi16((A), (D), (N))
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_max_pi16 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pmaxsw ((__v4hi)__A, (__v4hi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmaxsw (__m64 __A, __m64 __B)
{
return _mm_max_pi16 (__A, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_max_pu8 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pmaxub ((__v8qi)__A, (__v8qi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmaxub (__m64 __A, __m64 __B)
{
return _mm_max_pu8 (__A, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_min_pi16 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pminsw ((__v4hi)__A, (__v4hi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pminsw (__m64 __A, __m64 __B)
{
return _mm_min_pi16 (__A, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_min_pu8 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pminub ((__v8qi)__A, (__v8qi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pminub (__m64 __A, __m64 __B)
{
return _mm_min_pu8 (__A, __B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_movemask_pi8 (__m64 __A)
{
return __builtin_ia32_pmovmskb ((__v8qi)__A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_m_pmovmskb (__m64 __A)
{
return _mm_movemask_pi8 (__A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_mulhi_pu16 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pmulhuw ((__v4hi)__A, (__v4hi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pmulhuw (__m64 __A, __m64 __B)
{
return _mm_mulhi_pu16 (__A, __B);
}
# 1129 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _mm_shuffle_pi16(A,N) ((__m64) __builtin_ia32_pshufw ((__v4hi)(A), (N)))
#define _m_pshufw(A,N) _mm_shuffle_pi16 ((A), (N))
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_maskmove_si64 (__m64 __A, __m64 __N, char *__P)
{
__builtin_ia32_maskmovq ((__v8qi)__A, (__v8qi)__N, __P);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_m_maskmovq (__m64 __A, __m64 __N, char *__P)
{
_mm_maskmove_si64 (__A, __N, __P);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_avg_pu8 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pavgb ((__v8qi)__A, (__v8qi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pavgb (__m64 __A, __m64 __B)
{
return _mm_avg_pu8 (__A, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_avg_pu16 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_pavgw ((__v4hi)__A, (__v4hi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_pavgw (__m64 __A, __m64 __B)
{
return _mm_avg_pu16 (__A, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_sad_pu8 (__m64 __A, __m64 __B)
{
return (__m64) __builtin_ia32_psadbw ((__v8qi)__A, (__v8qi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_m_psadbw (__m64 __A, __m64 __B)
{
return _mm_sad_pu8 (__A, __B);
}
# 1199 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#define _mm_prefetch(P,I) __builtin_prefetch ((P), 0, (I))
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_stream_pi (__m64 *__P, __m64 __A)
{
__builtin_ia32_movntq (__P, __A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_stream_ps (float *__P, __m128 __A)
{
__builtin_ia32_movntps (__P, (__v4sf)__A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_sfence (void)
{
__builtin_ia32_sfence ();
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_pause (void)
{
__asm__ __volatile__ ("rep; nop" : : );
}
#define _MM_TRANSPOSE4_PS(row0,row1,row2,row3) do { __v4sf __r0 = (row0), __r1 = (row1), __r2 = (row2), __r3 = (row3); __v4sf __t0 = __builtin_ia32_unpcklps (__r0, __r1); __v4sf __t1 = __builtin_ia32_unpcklps (__r2, __r3); __v4sf __t2 = __builtin_ia32_unpckhps (__r0, __r1); __v4sf __t3 = __builtin_ia32_unpckhps (__r2, __r3); (row0) = __builtin_ia32_movlhps (__t0, __t1); (row1) = __builtin_ia32_movhlps (__t1, __t0); (row2) = __builtin_ia32_movlhps (__t2, __t3); (row3) = __builtin_ia32_movhlps (__t3, __t2); } while (0)
# 1253 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 3 4
#undef __always_inline__
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 1 3 4
# 32 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
#define _EMMINTRIN_H_INCLUDED
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 1 3 4
# 36 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 2 3 4
typedef double __v2df __attribute__ ((__vector_size__ (16)));
typedef long long __v2di __attribute__ ((__vector_size__ (16)));
typedef int __v4si __attribute__ ((__vector_size__ (16)));
typedef short __v8hi __attribute__ ((__vector_size__ (16)));
typedef char __v16qi __attribute__ ((__vector_size__ (16)));
typedef __v2di __m128i;
typedef __v2df __m128d;
#define _MM_SHUFFLE2(fp1,fp0) (((fp1) << 1) | (fp0))
#define __always_inline__ __always_inline__, __nodebug__
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_set_sd (double __F)
{
return __extension__ (__m128d){ __F, 0 };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_set1_pd (double __F)
{
return __extension__ (__m128d){ __F, __F };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_set_pd1 (double __F)
{
return _mm_set1_pd (__F);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_set_pd (double __W, double __X)
{
return __extension__ (__m128d){ __X, __W };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_setr_pd (double __W, double __X)
{
return __extension__ (__m128d){ __W, __X };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_setzero_pd (void)
{
return __extension__ (__m128d){ 0.0, 0.0 };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_move_sd (__m128d __A, __m128d __B)
{
return (__m128d) __builtin_ia32_movsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_load_pd (double const *__P)
{
return *(__m128d *)__P;
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_loadu_pd (double const *__P)
{
return __builtin_ia32_loadupd (__P);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_load1_pd (double const *__P)
{
return _mm_set1_pd (*__P);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_load_sd (double const *__P)
{
return _mm_set_sd (*__P);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_load_pd1 (double const *__P)
{
return _mm_load1_pd (__P);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_loadr_pd (double const *__P)
{
__m128d __tmp = _mm_load_pd (__P);
return __builtin_ia32_shufpd (__tmp, __tmp, (((0) << 1) | (1)));
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_pd (double *__P, __m128d __A)
{
*(__m128d *)__P = __A;
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storeu_pd (double *__P, __m128d __A)
{
__builtin_ia32_storeupd (__P, __A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_sd (double *__P, __m128d __A)
{
*__P = __builtin_ia32_vec_ext_v2df (__A, 0);
}
static __inline double __attribute__((__always_inline__, __nodebug__))
_mm_cvtsd_f64 (__m128d __A)
{
return __builtin_ia32_vec_ext_v2df (__A, 0);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storel_pd (double *__P, __m128d __A)
{
_mm_store_sd (__P, __A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storeh_pd (double *__P, __m128d __A)
{
*__P = __builtin_ia32_vec_ext_v2df (__A, 1);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store1_pd (double *__P, __m128d __A)
{
_mm_store_pd (__P, __builtin_ia32_shufpd (__A, __A, (((0) << 1) | (0))));
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_pd1 (double *__P, __m128d __A)
{
_mm_store1_pd (__P, __A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storer_pd (double *__P, __m128d __A)
{
_mm_store_pd (__P, __builtin_ia32_shufpd (__A, __A, (((0) << 1) | (1))));
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi128_si32 (__m128i __A)
{
return __builtin_ia32_vec_ext_v4si ((__v4si)__A, 0);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi128_si64 (__m128i __A)
{
return __builtin_ia32_vec_ext_v2di ((__v2di)__A, 0);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi128_si64x (__m128i __A)
{
return __builtin_ia32_vec_ext_v2di ((__v2di)__A, 0);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_add_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_addpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_add_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_addsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_sub_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_subpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_sub_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_subsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_mul_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_mulpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_mul_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_mulsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_div_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_divpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_div_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_divsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_sqrt_pd (__m128d __A)
{
return (__m128d)__builtin_ia32_sqrtpd ((__v2df)__A);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_sqrt_sd (__m128d __A, __m128d __B)
{
__v2df __tmp = __builtin_ia32_movsd ((__v2df)__A, (__v2df)__B);
return (__m128d)__builtin_ia32_sqrtsd ((__v2df)__tmp);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_min_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_minpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_min_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_minsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_max_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_maxpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_max_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_maxsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_and_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_andpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_andnot_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_andnpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_or_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_orpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_xor_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_xorpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpeqpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpltpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmple_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmplepd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpgtpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpge_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpgepd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpneq_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpneqpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnlt_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpnltpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnle_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpnlepd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpngt_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpngtpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnge_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpngepd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpord_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpordpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpunord_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpunordpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpeqsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpltsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmple_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmplesd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_sd (__m128d __A, __m128d __B)
{
return (__m128d) __builtin_ia32_movsd ((__v2df) __A,
(__v2df)
__builtin_ia32_cmpltsd ((__v2df) __B,
(__v2df)
__A));
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpge_sd (__m128d __A, __m128d __B)
{
return (__m128d) __builtin_ia32_movsd ((__v2df) __A,
(__v2df)
__builtin_ia32_cmplesd ((__v2df) __B,
(__v2df)
__A));
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpneq_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpneqsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnlt_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpnltsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnle_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpnlesd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpngt_sd (__m128d __A, __m128d __B)
{
return (__m128d) __builtin_ia32_movsd ((__v2df) __A,
(__v2df)
__builtin_ia32_cmpnltsd ((__v2df) __B,
(__v2df)
__A));
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpnge_sd (__m128d __A, __m128d __B)
{
return (__m128d) __builtin_ia32_movsd ((__v2df) __A,
(__v2df)
__builtin_ia32_cmpnlesd ((__v2df) __B,
(__v2df)
__A));
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpord_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpordsd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cmpunord_sd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_cmpunordsd ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comieq_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdeq ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comilt_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdlt ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comile_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdle ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comigt_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdgt ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comige_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdge ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_comineq_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_comisdneq ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomieq_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdeq ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomilt_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdlt ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomile_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdle ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomigt_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdgt ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomige_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdge ((__v2df)__A, (__v2df)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_ucomineq_sd (__m128d __A, __m128d __B)
{
return __builtin_ia32_ucomisdneq ((__v2df)__A, (__v2df)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set_epi64x (long long __q1, long long __q0)
{
return __extension__ (__m128i)(__v2di){ __q0, __q1 };
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set_epi64 (__m64 __q1, __m64 __q0)
{
return _mm_set_epi64x ((long long)__q1, (long long)__q0);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set_epi32 (int __q3, int __q2, int __q1, int __q0)
{
return __extension__ (__m128i)(__v4si){ __q0, __q1, __q2, __q3 };
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set_epi16 (short __q7, short __q6, short __q5, short __q4,
short __q3, short __q2, short __q1, short __q0)
{
return __extension__ (__m128i)(__v8hi){
__q0, __q1, __q2, __q3, __q4, __q5, __q6, __q7 };
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set_epi8 (char __q15, char __q14, char __q13, char __q12,
char __q11, char __q10, char __q09, char __q08,
char __q07, char __q06, char __q05, char __q04,
char __q03, char __q02, char __q01, char __q00)
{
return __extension__ (__m128i)(__v16qi){
__q00, __q01, __q02, __q03, __q04, __q05, __q06, __q07,
__q08, __q09, __q10, __q11, __q12, __q13, __q14, __q15
};
}
# 618 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_setr_epi64 (__m64 __q0, __m64 __q1)
{
return _mm_set_epi64 (__q1, __q0);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_setr_epi32 (int __q0, int __q1, int __q2, int __q3)
{
return _mm_set_epi32 (__q3, __q2, __q1, __q0);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_setr_epi16 (short __q0, short __q1, short __q2, short __q3,
short __q4, short __q5, short __q6, short __q7)
{
return _mm_set_epi16 (__q7, __q6, __q5, __q4, __q3, __q2, __q1, __q0);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_setr_epi8 (char __q00, char __q01, char __q02, char __q03,
char __q04, char __q05, char __q06, char __q07,
char __q08, char __q09, char __q10, char __q11,
char __q12, char __q13, char __q14, char __q15)
{
return _mm_set_epi8 (__q15, __q14, __q13, __q12, __q11, __q10, __q09, __q08,
__q07, __q06, __q05, __q04, __q03, __q02, __q01, __q00);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_load_si128 (__m128i const *__P)
{
return *__P;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_loadu_si128 (__m128i const *__P)
{
return (__m128i) __builtin_ia32_loaddqu ((char const *)__P);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_loadl_epi64 (__m128i const *__P)
{
return (__m128i)__builtin_ia32_loadlv4si ((__v2si *)__P);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_store_si128 (__m128i *__P, __m128i __B)
{
*__P = __B;
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storeu_si128 (__m128i *__P, __m128i __B)
{
__builtin_ia32_storedqu ((char *)__P, (__v16qi)__B);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_storel_epi64 (__m128i *__P, __m128i __B)
{
__builtin_ia32_storelv4si ((__v2si *)__P, __B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_movepi64_pi64 (__m128i __B)
{
return (__m64) __builtin_ia32_vec_ext_v2di ((__v2di)__B, 0);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_movpi64_epi64 (__m64 __A)
{
return _mm_set_epi64 ((__m64)0LL, __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_move_epi64 (__m128i __A)
{
return (__m128i)__builtin_ia32_movqv4si ((__v4si)__A) ;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_setzero_si128 (void)
{
return __extension__ (__m128i)(__v4si){ 0, 0, 0, 0 };
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtepi32_pd (__m128i __A)
{
return (__m128d)__builtin_ia32_cvtdq2pd ((__v4si) __A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtepi32_ps (__m128i __A)
{
return (__m128)__builtin_ia32_cvtdq2ps ((__v4si) __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvtpd_epi32 (__m128d __A)
{
return (__m128i)__builtin_ia32_cvtpd2dq ((__v2df) __A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpd_pi32 (__m128d __A)
{
return (__m64)__builtin_ia32_cvtpd2pi ((__v2df) __A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtpd_ps (__m128d __A)
{
return (__m128)__builtin_ia32_cvtpd2ps ((__v2df) __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvttpd_epi32 (__m128d __A)
{
return (__m128i)__builtin_ia32_cvttpd2dq ((__v2df) __A);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_cvttpd_pi32 (__m128d __A)
{
return (__m64)__builtin_ia32_cvttpd2pi ((__v2df) __A);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtpi32_pd (__m64 __A)
{
return (__m128d)__builtin_ia32_cvtpi2pd ((__v2si) __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvtps_epi32 (__m128 __A)
{
return (__m128i)__builtin_ia32_cvtps2dq ((__v4sf) __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvttps_epi32 (__m128 __A)
{
return (__m128i)__builtin_ia32_cvttps2dq ((__v4sf) __A);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtps_pd (__m128 __A)
{
return (__m128d)__builtin_ia32_cvtps2pd ((__v4sf) __A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvtsd_si32 (__m128d __A)
{
return __builtin_ia32_cvtsd2si ((__v2df) __A);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvtsd_si64 (__m128d __A)
{
return __builtin_ia32_cvtsd2si64 ((__v2df) __A);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvtsd_si64x (__m128d __A)
{
return __builtin_ia32_cvtsd2si64 ((__v2df) __A);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_cvttsd_si32 (__m128d __A)
{
return __builtin_ia32_cvttsd2si ((__v2df) __A);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvttsd_si64 (__m128d __A)
{
return __builtin_ia32_cvttsd2si64 ((__v2df) __A);
}
static __inline long long __attribute__((__always_inline__, __nodebug__))
_mm_cvttsd_si64x (__m128d __A)
{
return __builtin_ia32_cvttsd2si64 ((__v2df) __A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_cvtsd_ss (__m128 __A, __m128d __B)
{
return (__m128)__builtin_ia32_cvtsd2ss ((__v4sf) __A, (__v2df) __B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi32_sd (__m128d __A, int __B)
{
return (__m128d)__builtin_ia32_cvtsi2sd ((__v2df) __A, __B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64_sd (__m128d __A, long long __B)
{
return (__m128d)__builtin_ia32_cvtsi642sd ((__v2df) __A, __B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64x_sd (__m128d __A, long long __B)
{
return (__m128d)__builtin_ia32_cvtsi642sd ((__v2df) __A, __B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_cvtss_sd (__m128d __A, __m128 __B)
{
return (__m128d)__builtin_ia32_cvtss2sd ((__v2df) __A, (__v4sf)__B);
}
#define _mm_shuffle_pd(__A,__B,__C) ((__m128d)__builtin_ia32_shufpd ((__v2df)__A, (__v2df)__B, (__C)))
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_unpckhpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_pd (__m128d __A, __m128d __B)
{
return (__m128d)__builtin_ia32_unpcklpd ((__v2df)__A, (__v2df)__B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_loadh_pd (__m128d __A, double const *__B)
{
return (__m128d)__builtin_ia32_loadhpd ((__v2df)__A, __B);
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_loadl_pd (__m128d __A, double const *__B)
{
return (__m128d)__builtin_ia32_loadlpd ((__v2df)__A, __B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_movemask_pd (__m128d __A)
{
return __builtin_ia32_movmskpd ((__v2df)__A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_packs_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_packsswb128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_packs_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_packssdw128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_packus_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_packuswb128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpckhbw128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpckhwd128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpckhdq128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpackhi_epi64 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpckhqdq128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpcklbw128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpcklwd128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpckldq128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_unpacklo_epi64 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_punpcklqdq128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_add_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_add_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_add_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddd128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_add_epi64 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddq128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_adds_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddsb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_adds_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddsw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_adds_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddusb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_adds_epu16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_paddusw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sub_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sub_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sub_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubd128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sub_epi64 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubq128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_subs_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubsb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_subs_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubsw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_subs_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubusb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_subs_epu16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psubusw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_madd_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmaddwd128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_mulhi_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmulhw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_mullo_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmullw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_mul_su32 (__m64 __A, __m64 __B)
{
return (__m64)__builtin_ia32_pmuludq ((__v2si)__A, (__v2si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_mul_epu32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmuludq128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_slli_epi16 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psllwi128 ((__v8hi)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_slli_epi32 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_pslldi128 ((__v4si)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_slli_epi64 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psllqi128 ((__v2di)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srai_epi16 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psrawi128 ((__v8hi)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srai_epi32 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psradi128 ((__v4si)__A, __B);
}
# 1127 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
#define _mm_srli_si128(__A,__B) ((__m128i)__builtin_ia32_psrldqi128 (__A, (__B) * 8))
#define _mm_slli_si128(__A,__B) ((__m128i)__builtin_ia32_pslldqi128 (__A, (__B) * 8))
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srli_epi16 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psrlwi128 ((__v8hi)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srli_epi32 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psrldi128 ((__v4si)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srli_epi64 (__m128i __A, int __B)
{
return (__m128i)__builtin_ia32_psrlqi128 ((__v2di)__A, __B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sll_epi16 (__m128i __A, __m128i __B)
{
return _mm_slli_epi16 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sll_epi32 (__m128i __A, __m128i __B)
{
return _mm_slli_epi32 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sll_epi64 (__m128i __A, __m128i __B)
{
return _mm_slli_epi64 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sra_epi16 (__m128i __A, __m128i __B)
{
return _mm_srai_epi16 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sra_epi32 (__m128i __A, __m128i __B)
{
return _mm_srai_epi32 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srl_epi16 (__m128i __A, __m128i __B)
{
return _mm_srli_epi16 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srl_epi32 (__m128i __A, __m128i __B)
{
return _mm_srli_epi32 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_srl_epi64 (__m128i __A, __m128i __B)
{
return _mm_srli_epi64 (__A, _mm_cvtsi128_si32 (__B));
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_and_si128 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pand128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_andnot_si128 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pandn128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_or_si128 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_por128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_xor_si128 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pxor128 ((__v2di)__A, (__v2di)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpeqb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpeqw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpeq_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpeqd128 ((__v4si)__A, (__v4si)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtb128 ((__v16qi)__B, (__v16qi)__A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtw128 ((__v8hi)__B, (__v8hi)__A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmplt_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtd128 ((__v4si)__B, (__v4si)__A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_epi8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cmpgt_epi32 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pcmpgtd128 ((__v4si)__A, (__v4si)__B);
}
# 1290 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/emmintrin.h" 3 4
#define _mm_extract_epi16(A,N) ((int) __builtin_ia32_vec_ext_v8hi ((__v8hi)(A), (N)))
#define _mm_insert_epi16(A,D,N) ((__m128i) __builtin_ia32_vec_set_v8hi ((__v8hi)(A), (D), (N)))
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_max_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmaxsw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_max_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmaxub128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_min_epi16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pminsw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_min_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pminub128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline int __attribute__((__always_inline__, __nodebug__))
_mm_movemask_epi8 (__m128i __A)
{
return __builtin_ia32_pmovmskb128 ((__v16qi)__A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_mulhi_epu16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pmulhuw128 ((__v8hi)__A, (__v8hi)__B);
}
#define _mm_shufflehi_epi16(__A,__B) ((__m128i)__builtin_ia32_pshufhw ((__v8hi)__A, __B))
#define _mm_shufflelo_epi16(__A,__B) ((__m128i)__builtin_ia32_pshuflw ((__v8hi)__A, __B))
#define _mm_shuffle_epi32(__A,__B) ((__m128i)__builtin_ia32_pshufd ((__v4si)__A, __B))
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_maskmoveu_si128 (__m128i __A, __m128i __B, char *__C)
{
__builtin_ia32_maskmovdqu ((__v16qi)__A, (__v16qi)__B, __C);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_avg_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pavgb128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_avg_epu16 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_pavgw128 ((__v8hi)__A, (__v8hi)__B);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_sad_epu8 (__m128i __A, __m128i __B)
{
return (__m128i)__builtin_ia32_psadbw128 ((__v16qi)__A, (__v16qi)__B);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_stream_si32 (int *__A, int __B)
{
__builtin_ia32_movnti (__A, __B);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_stream_si128 (__m128i *__A, __m128i __B)
{
__builtin_ia32_movntdq ((__v2di *)__A, (__v2di)__B);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_stream_pd (double *__A, __m128d __B)
{
__builtin_ia32_movntpd (__A, (__v2df)__B);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_clflush (void const *__A)
{
__builtin_ia32_clflush (__A);
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_lfence (void)
{
__builtin_ia32_lfence ();
}
static __inline void __attribute__((__always_inline__, __nodebug__))
_mm_mfence (void)
{
__builtin_ia32_mfence ();
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi32_si128 (int __A)
{
return _mm_set_epi32 (0, 0, 0, __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64_si128 (long long __A)
{
return _mm_set_epi64x (0, __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_cvtsi64x_si128 (long long __A)
{
return _mm_set_epi64x (0, __A);
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_castpd_ps(__m128d __A)
{
return (__m128) __A;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_castpd_si128(__m128d __A)
{
return (__m128i) __A;
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_castps_pd(__m128 __A)
{
return (__m128d) __A;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_castps_si128(__m128 __A)
{
return (__m128i) __A;
}
static __inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_castsi128_ps(__m128i __A)
{
return (__m128) __A;
}
static __inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_castsi128_pd(__m128i __A)
{
return (__m128d) __A;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set1_epi64x (long long __A)
{
return _mm_set_epi64x (__A, __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set1_epi64 (__m64 __A)
{
return _mm_set_epi64 (__A, __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set1_epi32 (int __A)
{
return _mm_set_epi32 (__A, __A, __A, __A);
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set1_epi16 (short __A)
{
__m128i temp, temp2, temp3;
temp = _mm_cvtsi32_si128((int)__A);
temp2 = _mm_unpacklo_epi16(temp, temp);
temp3 = ((__m128i)__builtin_ia32_pshufd ((__v4si)temp2, 0));
return temp3;
}
static __inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_set1_epi8 (char __A)
{
__m128i temp, temp2, temp3, temp4;
temp = _mm_cvtsi32_si128 ((int)__A);
temp2 = _mm_unpacklo_epi8 (temp, temp);
temp3 = _mm_unpacklo_epi8 (temp2, temp2);
temp4 = ((__m128i)__builtin_ia32_pshufd ((__v4si)temp3, 0));
return temp4;
}
#undef __always_inline__
# 1258 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h" 2 3 4
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 2 3
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
#pragma options align=power
typedef struct OpaqueAreaID* AreaID;
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
struct MachineInformationPowerPC {
UnsignedWide CTR;
UnsignedWide LR;
UnsignedWide PC;
unsigned long CRRegister;
unsigned long XER;
unsigned long MSR;
unsigned long MQ;
unsigned long ExceptKind;
unsigned long DSISR;
UnsignedWide DAR;
UnsignedWide Reserved;
};
typedef struct MachineInformationPowerPC MachineInformationPowerPC;
struct RegisterInformationPowerPC {
UnsignedWide R0;
UnsignedWide R1;
UnsignedWide R2;
UnsignedWide R3;
UnsignedWide R4;
UnsignedWide R5;
UnsignedWide R6;
UnsignedWide R7;
UnsignedWide R8;
UnsignedWide R9;
UnsignedWide R10;
UnsignedWide R11;
UnsignedWide R12;
UnsignedWide R13;
UnsignedWide R14;
UnsignedWide R15;
UnsignedWide R16;
UnsignedWide R17;
UnsignedWide R18;
UnsignedWide R19;
UnsignedWide R20;
UnsignedWide R21;
UnsignedWide R22;
UnsignedWide R23;
UnsignedWide R24;
UnsignedWide R25;
UnsignedWide R26;
UnsignedWide R27;
UnsignedWide R28;
UnsignedWide R29;
UnsignedWide R30;
UnsignedWide R31;
};
typedef struct RegisterInformationPowerPC RegisterInformationPowerPC;
struct FPUInformationPowerPC {
UnsignedWide Registers[32];
unsigned long FPSCR;
unsigned long Reserved;
};
typedef struct FPUInformationPowerPC FPUInformationPowerPC;
union Vector128 {
unsigned long l[4];
unsigned short s[8];
unsigned char c[16];
};
typedef union Vector128 Vector128;
struct VectorInformationPowerPC {
Vector128 Registers[32];
Vector128 VSCR;
UInt32 VRsave;
};
typedef struct VectorInformationPowerPC VectorInformationPowerPC;
enum {
kWriteReference = 0,
kReadReference = 1,
kFetchReference = 2,
writeReference = kWriteReference,
readReference = kReadReference,
fetchReference = kFetchReference
};
typedef unsigned long MemoryReferenceKind;
struct MemoryExceptionInformation {
AreaID theArea;
LogicalAddress theAddress;
OSStatus theError;
MemoryReferenceKind theReference;
};
typedef struct MemoryExceptionInformation MemoryExceptionInformation;
enum {
kUnknownException = 0,
kIllegalInstructionException = 1,
kTrapException = 2,
kAccessException = 3,
kUnmappedMemoryException = 4,
kExcludedMemoryException = 5,
kReadOnlyMemoryException = 6,
kUnresolvablePageFaultException = 7,
kPrivilegeViolationException = 8,
kTraceException = 9,
kInstructionBreakpointException = 10,
kDataBreakpointException = 11,
kIntegerException = 12,
kFloatingPointException = 13,
kStackOverflowException = 14,
kTaskTerminationException = 15,
kTaskCreationException = 16,
kDataAlignmentException = 17
};
# 192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
typedef unsigned long ExceptionKind;
union ExceptionInfo {
MemoryExceptionInformation * memoryInfo;
};
typedef union ExceptionInfo ExceptionInfo;
struct ExceptionInformationPowerPC {
ExceptionKind theKind;
MachineInformationPowerPC * machineState;
RegisterInformationPowerPC * registerImage;
FPUInformationPowerPC * FPUImage;
ExceptionInfo info;
VectorInformationPowerPC * vectorImage;
};
typedef struct ExceptionInformationPowerPC ExceptionInformationPowerPC;
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
union Vector128Intel {
__m128 s;
__m128i si;
__m128d sd;
unsigned char c[16];
};
typedef union Vector128Intel Vector128Intel;
# 275 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
struct MachineInformationIntel64 {
unsigned long CS;
unsigned long FS;
unsigned long GS;
unsigned long RFLAGS;
unsigned long RIP;
unsigned long ExceptTrap;
unsigned long ExceptErr;
unsigned long ExceptAddr;
};
typedef struct MachineInformationIntel64 MachineInformationIntel64;
struct RegisterInformationIntel64 {
unsigned long RAX;
unsigned long RBX;
unsigned long RCX;
unsigned long RDX;
unsigned long RDI;
unsigned long RSI;
unsigned long RBP;
unsigned long RSP;
unsigned long R8;
unsigned long R9;
unsigned long R10;
unsigned long R11;
unsigned long R12;
unsigned long R13;
unsigned long R14;
unsigned long R15;
};
typedef struct RegisterInformationIntel64 RegisterInformationIntel64;
typedef unsigned char FPRegIntel[10];
struct FPUInformationIntel64 {
FPRegIntel Registers[8];
unsigned short Control;
unsigned short Status;
unsigned short Tag;
unsigned short Opcode;
unsigned int IP;
unsigned int DP;
unsigned int DS;
};
typedef struct FPUInformationIntel64 FPUInformationIntel64;
struct VectorInformationIntel64 {
Vector128Intel Registers[16];
};
typedef struct VectorInformationIntel64 VectorInformationIntel64;
typedef MachineInformationIntel64 MachineInformation;
typedef RegisterInformationIntel64 RegisterInformation;
typedef FPUInformationIntel64 FPUInformation;
typedef VectorInformationIntel64 VectorInformation;
struct ExceptionInformation {
ExceptionKind theKind;
MachineInformation * machineState;
RegisterInformation * registerImage;
FPUInformation * FPUImage;
ExceptionInfo info;
VectorInformation * vectorImage;
};
typedef struct ExceptionInformation ExceptionInformation;
# 347 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
typedef OSStatus ( * ExceptionHandlerProcPtr)(ExceptionInformation * theException);
typedef ExceptionHandlerProcPtr ExceptionHandlerUPP;
# 357 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
extern ExceptionHandlerUPP
NewExceptionHandlerUPP(ExceptionHandlerProcPtr userRoutine) ;
# 368 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
extern void
DisposeExceptionHandlerUPP(ExceptionHandlerUPP userUPP) ;
# 379 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
extern OSStatus
InvokeExceptionHandlerUPP(
ExceptionInformation * theException,
ExceptionHandlerUPP userUPP) ;
#define NewExceptionHandlerUPP(userRoutine) ((ExceptionHandlerUPP)userRoutine)
#define DisposeExceptionHandlerUPP(userUPP)
#define InvokeExceptionHandlerUPP(theException,userUPP) (*userUPP)(theException)
# 404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
typedef ExceptionHandlerUPP ExceptionHandlerTPP;
typedef ExceptionHandlerTPP ExceptionHandler;
# 415 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h" 3
extern ExceptionHandlerTPP InstallExceptionHandler(ExceptionHandlerTPP theHandler) ;
#pragma options align=reset
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 2 3
# 51 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
#pragma options align=power
enum {
durationMicrosecond = -1L,
durationMillisecond = 1L,
durationSecond = 1000L,
durationMinute = 60000L,
durationHour = 3600000L,
durationDay = 86400000L,
durationNoWait = 0L,
durationForever = 0x7FFFFFFF
};
typedef UnsignedWide Nanoseconds;
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
UpTime(void) ;
# 98 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Nanoseconds
AbsoluteToNanoseconds(AbsoluteTime absoluteTime) ;
# 110 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Duration
AbsoluteToDuration(AbsoluteTime absoluteTime) ;
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
NanosecondsToAbsolute(Nanoseconds nanoseconds) ;
# 134 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
DurationToAbsolute(Duration duration) ;
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
AddAbsoluteToAbsolute(
AbsoluteTime absoluteTime1,
AbsoluteTime absoluteTime2) ;
# 160 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
SubAbsoluteFromAbsolute(
AbsoluteTime leftAbsoluteTime,
AbsoluteTime rightAbsoluteTime) ;
# 174 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
AddNanosecondsToAbsolute(
Nanoseconds nanoseconds,
AbsoluteTime absoluteTime) ;
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
AddDurationToAbsolute(
Duration duration,
AbsoluteTime absoluteTime) ;
# 202 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
SubNanosecondsFromAbsolute(
Nanoseconds nanoseconds,
AbsoluteTime absoluteTime) ;
# 216 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern AbsoluteTime
SubDurationFromAbsolute(
Duration duration,
AbsoluteTime absoluteTime) ;
# 230 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Nanoseconds
AbsoluteDeltaToNanoseconds(
AbsoluteTime leftAbsoluteTime,
AbsoluteTime rightAbsoluteTime) ;
# 244 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Duration
AbsoluteDeltaToDuration(
AbsoluteTime leftAbsoluteTime,
AbsoluteTime rightAbsoluteTime) ;
# 258 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Nanoseconds
DurationToNanoseconds(Duration theDuration) ;
# 270 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h" 3
extern Duration
NanosecondsToDuration(Nanoseconds theNanoseconds) ;
#pragma options align=reset
# 126 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
#define __NUMBERFORMATTING__
# 44 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
#pragma pack(push, 2)
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
struct NumFormatString {
UInt8 fLength;
UInt8 fVersion;
char data[254];
};
typedef struct NumFormatString NumFormatString;
typedef NumFormatString NumFormatStringRec;
typedef short FormatStatus;
enum {
fVNumber = 0
};
typedef SInt8 FormatClass;
enum {
fPositive = 0,
fNegative = 1,
fZero = 2
};
typedef SInt8 FormatResultType;
enum {
fFormatOK = 0,
fBestGuess = 1,
fOutOfSynch = 2,
fSpuriousChars = 3,
fMissingDelimiter = 4,
fExtraDecimal = 5,
fMissingLiteral = 6,
fExtraExp = 7,
fFormatOverflow = 8,
fFormStrIsNAN = 9,
fBadPartsTable = 10,
fExtraPercent = 11,
fExtraSeparator = 12,
fEmptyFormatString = 13
};
struct FVector {
short start;
short length;
};
typedef struct FVector FVector;
typedef FVector TripleInt[3];
# 124 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
extern void
numtostring(
long theNum,
char * theString) ;
# 282 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/NumberFormatting.h" 3
#pragma pack(pop)
# 134 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
#define __STRINGCOMPARE__
# 77 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/StringCompare.h" 3
enum {
systemCurLang = -2,
systemDefLang = -3,
currentCurLang = -4,
currentDefLang = -5,
scriptCurLang = -6,
scriptDefLang = -7
};
enum {
iuSystemCurLang = systemCurLang,
iuSystemDefLang = systemDefLang,
iuCurrentCurLang = currentCurLang,
iuCurrentDefLang = currentDefLang,
iuScriptCurLang = scriptCurLang,
iuScriptDefLang = scriptDefLang
};
# 142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
#define __TEXTUTILS__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
#pragma pack(push, 2)
# 118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
extern long
Munger(
Handle h,
long offset,
const void * ptr1,
long len1,
const void * ptr2,
long len2) ;
# 717 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h" 3
#pragma pack(pop)
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
#define __TOOLUTILS__
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
#pragma pack(push, 2)
# 78 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern Boolean
BitTst(
const void * bytePtr,
long bitNum) ;
# 92 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern void
BitSet(
void * bytePtr,
long bitNum) ;
# 106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern void
BitClr(
void * bytePtr,
long bitNum) ;
# 120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern long
BitAnd(
long value1,
long value2) ;
# 134 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern long
BitOr(
long value1,
long value2) ;
# 148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern long
BitXor(
long value1,
long value2) ;
# 162 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern long
BitNot(long value) ;
# 174 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ToolUtils.h" 3
extern long
BitShift(
long value,
short count) ;
#define HiWord(x) ((short)((long)(x) >> 16))
#define LoWord(x) ((short)(x))
#pragma pack(pop)
# 150 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
#define __UNICODEUTILITIES__
# 52 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
#pragma pack(push, 2)
# 79 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
typedef UInt16 UCKeyOutput;
typedef UInt16 UCKeyCharSeq;
enum {
kUCKeyOutputStateIndexMask = 0x4000,
kUCKeyOutputSequenceIndexMask = 0x8000,
kUCKeyOutputTestForIndexMask = 0xC000,
kUCKeyOutputGetIndexMask = 0x3FFF
};
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
struct UCKeyStateRecord {
UCKeyCharSeq stateZeroCharData;
UInt16 stateZeroNextState;
UInt16 stateEntryCount;
UInt16 stateEntryFormat;
UInt32 stateEntryData[1];
};
typedef struct UCKeyStateRecord UCKeyStateRecord;
enum {
kUCKeyStateEntryTerminalFormat = 0x0001,
kUCKeyStateEntryRangeFormat = 0x0002
};
struct UCKeyStateEntryTerminal {
UInt16 curState;
UCKeyCharSeq charData;
};
typedef struct UCKeyStateEntryTerminal UCKeyStateEntryTerminal;
struct UCKeyStateEntryRange {
UInt16 curStateStart;
UInt8 curStateRange;
UInt8 deltaMultiplier;
UCKeyCharSeq charData;
UInt16 nextState;
};
typedef struct UCKeyStateEntryRange UCKeyStateEntryRange;
# 157 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
struct UCKeyboardTypeHeader {
UInt32 keyboardTypeFirst;
UInt32 keyboardTypeLast;
UInt32 keyModifiersToTableNumOffset;
UInt32 keyToCharTableIndexOffset;
UInt32 keyStateRecordsIndexOffset;
UInt32 keyStateTerminatorsOffset;
UInt32 keySequenceDataIndexOffset;
};
typedef struct UCKeyboardTypeHeader UCKeyboardTypeHeader;
struct UCKeyboardLayout {
UInt16 keyLayoutHeaderFormat;
UInt16 keyLayoutDataVersion;
UInt32 keyLayoutFeatureInfoOffset;
UInt32 keyboardTypeCount;
UCKeyboardTypeHeader keyboardTypeList[1];
};
typedef struct UCKeyboardLayout UCKeyboardLayout;
struct UCKeyLayoutFeatureInfo {
UInt16 keyLayoutFeatureInfoFormat;
UInt16 reserved;
UInt32 maxOutputStringLength;
};
typedef struct UCKeyLayoutFeatureInfo UCKeyLayoutFeatureInfo;
struct UCKeyModifiersToTableNum {
UInt16 keyModifiersToTableNumFormat;
UInt16 defaultTableNum;
UInt32 modifiersCount;
UInt8 tableNum[1];
};
typedef struct UCKeyModifiersToTableNum UCKeyModifiersToTableNum;
struct UCKeyToCharTableIndex {
UInt16 keyToCharTableIndexFormat;
UInt16 keyToCharTableSize;
UInt32 keyToCharTableCount;
UInt32 keyToCharTableOffsets[1];
};
typedef struct UCKeyToCharTableIndex UCKeyToCharTableIndex;
struct UCKeyStateRecordsIndex {
UInt16 keyStateRecordsIndexFormat;
UInt16 keyStateRecordCount;
UInt32 keyStateRecordOffsets[1];
};
typedef struct UCKeyStateRecordsIndex UCKeyStateRecordsIndex;
struct UCKeyStateTerminators {
UInt16 keyStateTerminatorsFormat;
UInt16 keyStateTerminatorCount;
UCKeyCharSeq keyStateTerminators[1];
};
typedef struct UCKeyStateTerminators UCKeyStateTerminators;
struct UCKeySequenceDataIndex {
UInt16 keySequenceDataIndexFormat;
UInt16 charSequenceCount;
UInt16 charSequenceOffsets[1];
};
typedef struct UCKeySequenceDataIndex UCKeySequenceDataIndex;
enum {
kUCKeyLayoutHeaderFormat = 0x1002,
kUCKeyLayoutFeatureInfoFormat = 0x2001,
kUCKeyModifiersToTableNumFormat = 0x3001,
kUCKeyToCharTableIndexFormat = 0x4001,
kUCKeyStateRecordsIndexFormat = 0x5001,
kUCKeyStateTerminatorsFormat = 0x6001,
kUCKeySequenceDataIndexFormat = 0x7001
};
# 260 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
enum {
kUCKeyActionDown = 0,
kUCKeyActionUp = 1,
kUCKeyActionAutoKey = 2,
kUCKeyActionDisplay = 3
};
enum {
kUCKeyTranslateNoDeadKeysBit = 0
};
enum {
kUCKeyTranslateNoDeadKeysMask = 1L << kUCKeyTranslateNoDeadKeysBit
};
# 288 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
enum {
kUnicodeCollationClass = 'ucol'
};
typedef struct OpaqueCollatorRef* CollatorRef;
typedef UInt32 UCCollateOptions;
enum {
kUCCollateComposeInsensitiveMask = 1L << 1,
kUCCollateWidthInsensitiveMask = 1L << 2,
kUCCollateCaseInsensitiveMask = 1L << 3,
kUCCollateDiacritInsensitiveMask = 1L << 4,
kUCCollatePunctuationSignificantMask = 1L << 15,
kUCCollateDigitsOverrideMask = 1L << 16,
kUCCollateDigitsAsNumberMask = 1L << 17
};
enum {
kUCCollateStandardOptions = kUCCollateComposeInsensitiveMask | kUCCollateWidthInsensitiveMask
};
enum {
kUCCollateTypeHFSExtended = 1
};
enum {
kUCCollateTypeSourceMask = 0x000000FF,
kUCCollateTypeShiftBits = 24
};
enum {
kUCCollateTypeMask = kUCCollateTypeSourceMask << kUCCollateTypeShiftBits
};
typedef UInt32 UCCollationValue;
# 340 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
typedef struct OpaqueUCTypeSelectRef* UCTypeSelectRef;
typedef SInt32 UCTypeSelectCompareResult;
typedef UInt16 UCTSWalkDirection;
enum {
kUCTSDirectionNext = 0,
kUCTSDirectionPrevious = 1
};
# 372 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
typedef UInt16 UCTypeSelectOptions;
enum {
kUCTSOptionsNoneMask = 0,
kUCTSOptionsReleaseStringMask = 1,
kUCTSOptionsDataIsOrderedMask = 2
};
typedef Boolean ( * IndexToUCStringProcPtr)(UInt32 index, void *listDataPtr, void *refcon, CFStringRef *outString, UCTypeSelectOptions *tsOptions);
typedef IndexToUCStringProcPtr IndexToUCStringUPP;
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern IndexToUCStringUPP
NewIndexToUCStringUPP(IndexToUCStringProcPtr userRoutine) ;
# 406 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern void
DisposeIndexToUCStringUPP(IndexToUCStringUPP userUPP) ;
# 417 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern Boolean
InvokeIndexToUCStringUPP(
UInt32 index,
void * listDataPtr,
void * refcon,
CFStringRef * outString,
UCTypeSelectOptions * tsOptions,
IndexToUCStringUPP userUPP) ;
#define NewIndexToUCStringUPP(userRoutine) ((IndexToUCStringUPP)userRoutine)
#define DisposeIndexToUCStringUPP(userUPP)
#define InvokeIndexToUCStringUPP(index,listDataPtr,refcon,outString,tsOptions,userUPP) (*userUPP)(index, listDataPtr, refcon, outString, tsOptions)
enum {
kUCTypeSelectMaxListSize = (UInt32)0xFFFFFFFF
};
# 454 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
enum {
kUnicodeTextBreakClass = 'ubrk'
};
typedef struct OpaqueTextBreakLocatorRef* TextBreakLocatorRef;
typedef UInt32 UCTextBreakType;
enum {
kUCTextBreakCharMask = 1L << 0,
# 485 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
kUCTextBreakClusterMask = 1L << 2,
kUCTextBreakWordMask = 1L << 4,
kUCTextBreakLineMask = 1L << 6,
kUCTextBreakParagraphMask = 1L << 8
};
typedef UInt32 UCTextBreakOptions;
enum {
kUCTextBreakLeadingEdgeMask = 1L << 0,
kUCTextBreakGoBackwardsMask = 1L << 1,
kUCTextBreakIterateMask = 1L << 2
};
# 525 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCKeyTranslate(
const UCKeyboardLayout * keyLayoutPtr,
UInt16 virtualKeyCode,
UInt16 keyAction,
UInt32 modifierKeyState,
UInt32 keyboardType,
OptionBits keyTranslateOptions,
UInt32 * deadKeyState,
UniCharCount maxStringLength,
UniCharCount * actualStringLength,
UniChar unicodeString[]) ;
# 549 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCreateCollator(
LocaleRef locale,
LocaleOperationVariant opVariant,
UCCollateOptions options,
CollatorRef * collatorRef) ;
# 565 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCGetCollationKey(
CollatorRef collatorRef,
const UniChar * textPtr,
UniCharCount textLength,
ItemCount maxKeySize,
ItemCount * actualKeySize,
UCCollationValue collationKey[]) ;
# 583 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCompareCollationKeys(
const UCCollationValue * key1Ptr,
ItemCount key1Length,
const UCCollationValue * key2Ptr,
ItemCount key2Length,
Boolean * equivalent,
SInt32 * order) ;
# 601 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCompareText(
CollatorRef collatorRef,
const UniChar * text1Ptr,
UniCharCount text1Length,
const UniChar * text2Ptr,
UniCharCount text2Length,
Boolean * equivalent,
SInt32 * order) ;
# 620 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCDisposeCollator(CollatorRef * collatorRef) ;
# 634 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCompareTextDefault(
UCCollateOptions options,
const UniChar * text1Ptr,
UniCharCount text1Length,
const UniChar * text2Ptr,
UniCharCount text2Length,
Boolean * equivalent,
SInt32 * order) ;
# 656 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCompareTextNoLocale(
UCCollateOptions options,
const UniChar * text1Ptr,
UniCharCount text1Length,
const UniChar * text2Ptr,
UniCharCount text2Length,
Boolean * equivalent,
SInt32 * order) ;
# 678 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCCreateTextBreakLocator(
LocaleRef locale,
LocaleOperationVariant opVariant,
UCTextBreakType breakTypes,
TextBreakLocatorRef * breakRef) ;
# 694 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCFindTextBreak(
TextBreakLocatorRef breakRef,
UCTextBreakType breakType,
UCTextBreakOptions options,
const UniChar * textPtr,
UniCharCount textLength,
UniCharArrayOffset startOffset,
UniCharArrayOffset * breakOffset) ;
# 713 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCDisposeTextBreakLocator(TextBreakLocatorRef * breakRef) ;
# 758 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectCreateSelector(
LocaleRef locale,
LocaleOperationVariant opVariant,
UCCollateOptions options,
UCTypeSelectRef * newSelector) ;
# 787 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectFlushSelectorData(UCTypeSelectRef ref) ;
# 814 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectReleaseSelector(UCTypeSelectRef * ref) ;
# 852 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern Boolean
UCTypeSelectWouldResetBuffer(
UCTypeSelectRef inRef,
CFStringRef inText,
double inEventTime) ;
# 904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectAddKeyToSelector(
UCTypeSelectRef inRef,
CFStringRef inText,
double inEventTime,
Boolean * updateFlag) ;
# 952 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectCompare(
UCTypeSelectRef ref,
CFStringRef inText,
UCTypeSelectCompareResult * result) ;
# 1018 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectFindItem(
UCTypeSelectRef ref,
UInt32 listSize,
void * listDataPtr,
void * refcon,
IndexToUCStringUPP userUPP,
UInt32 * closestItem) ;
# 1113 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h" 3
extern OSStatus
UCTypeSelectWalkList(
UCTypeSelectRef ref,
CFStringRef currSelect,
UCTSWalkDirection direction,
UInt32 listSize,
void * listDataPtr,
void * refcon,
IndexToUCStringUPP userUPP,
UInt32 * closestItem) ;
#pragma pack(pop)
# 154 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
#define __FP__
# 55 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
#pragma pack(push, 2)
# 1198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern const double_t pi ;
# 1227 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern double compound(double rate, double periods) ;
# 1238 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern double annuity(double rate, double periods) ;
# 1259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern double_t randomx(double_t * x) ;
# 1268 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
typedef short relop;
enum {
GREATERTHAN = 0,
LESSTHAN = 1,
EQUALTO = 2,
UNORDERED = 3
};
# 1285 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern relop relation(double_t x, double_t y) ;
# 1318 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
#define SIGDIGLEN 36
#define DECSTROUTLEN 80
#define FLOATDECIMAL ((char)(0))
#define FIXEDDECIMAL ((char)(1))
struct decimal {
char sgn;
char unused;
short exp;
struct {
unsigned char length;
unsigned char text[36];
unsigned char unused;
} sig;
};
typedef struct decimal decimal;
struct decform {
char style;
char unused;
short digits;
};
typedef struct decform decform;
# 1349 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void num2dec(const decform *f, double_t x, decimal *d) ;
# 1360 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern double_t dec2num(const decimal * d) ;
# 1371 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void dec2str(const decform *f, const decimal *d, char *s) ;
# 1382 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void str2dec(const char *s, short *ix, decimal *d, short *vp) ;
# 1393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern float dec2f(const decimal * d) ;
# 1404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern short dec2s(const decimal * d) ;
# 1415 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern long dec2l(const decimal * d) ;
# 2381 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern double x80tod(const extended80 * x80) ;
# 2392 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void dtox80(const double *x, extended80 *x80) ;
# 2411 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void x80told(const extended80 *x80, long double *x);
# 2430 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
extern void ldtox80(const long double *x, extended80 *x80);
# 2443 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h" 3
#pragma pack(pop)
# 158 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/usr/include/fenv.h" 1 3 4
# 23 "/usr/include/fenv.h" 3 4
#define __FENV_H__
#pragma GCC fenv
# 1 "/usr/include/architecture/i386/fenv.h" 1 3 4
# 32 "/usr/include/architecture/i386/fenv.h" 3 4
#define __FENV__
#pragma GCC fenv
# 87 "/usr/include/architecture/i386/fenv.h" 3 4
typedef struct {
unsigned short __control;
unsigned short __status;
unsigned int __mxcsr;
char __reserved[8];
} fenv_t;
typedef unsigned short fexcept_t;
enum {
_FE_INEXACT = 0x0020,
_FE_DIVBYZERO = 0x0004,
_FE_UNDERFLOW = 0x0010,
_FE_OVERFLOW = 0x0008,
_FE_INVALID = 0x0001,
_FE_ALL_EXCEPT = 0x003D
};
#define FE_INEXACT _FE_INEXACT
#define FE_DIVBYZERO _FE_DIVBYZERO
#define FE_UNDERFLOW _FE_UNDERFLOW
#define FE_OVERFLOW _FE_OVERFLOW
#define FE_INVALID _FE_INVALID
#define FE_ALL_EXCEPT _FE_ALL_EXCEPT
enum {
_FE_TONEAREST = 0x0000,
_FE_TOWARDZERO = 0x0C00,
_FE_UPWARD = 0x0800,
_FE_DOWNWARD = 0x0400
};
#define FE_TONEAREST _FE_TONEAREST
#define FE_TOWARDZERO _FE_TOWARDZERO
#define FE_UPWARD _FE_UPWARD
#define FE_DOWNWARD _FE_DOWNWARD
extern const fenv_t _FE_DFL_ENV;
#define FE_DFL_ENV &_FE_DFL_ENV
# 144 "/usr/include/architecture/i386/fenv.h" 3 4
extern const fenv_t _FE_DFL_DISABLE_SSE_DENORMS_ENV;
#define FE_DFL_DISABLE_SSE_DENORMS_ENV &_FE_DFL_DISABLE_SSE_DENORMS_ENV
# 158 "/usr/include/architecture/i386/fenv.h" 3 4
extern int feclearexcept(int );
# 168 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fegetexceptflag(fexcept_t * , int );
# 177 "/usr/include/architecture/i386/fenv.h" 3 4
extern int feraiseexcept(int );
# 190 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fesetexceptflag(const fexcept_t * , int );
# 205 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fetestexcept(int );
# 219 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fegetround(void);
# 230 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fesetround(int );
# 242 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fegetenv(fenv_t * );
# 252 "/usr/include/architecture/i386/fenv.h" 3 4
extern int feholdexcept(fenv_t * );
# 277 "/usr/include/architecture/i386/fenv.h" 3 4
extern int fesetenv(const fenv_t * );
# 290 "/usr/include/architecture/i386/fenv.h" 3 4
extern int feupdateenv(const fenv_t * );
# 33 "/usr/include/fenv.h" 2 3 4
# 161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
#define __TEXTENCODINGCONVERTER__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
#pragma pack(push, 2)
typedef OSType TECPluginSignature;
typedef UInt32 TECPluginVersion;
enum {
kTECSignature = 'encv',
kTECUnicodePluginSignature = 'puni',
kTECJapanesePluginSignature = 'pjpn',
kTECChinesePluginSignature = 'pzho',
kTECKoreanPluginSignature = 'pkor'
};
typedef struct OpaqueTECObjectRef* TECObjectRef;
typedef struct OpaqueTECSnifferObjectRef* TECSnifferObjectRef;
typedef OSType TECPluginSig;
struct TECConversionInfo {
TextEncoding sourceEncoding;
TextEncoding destinationEncoding;
UInt16 reserved1;
UInt16 reserved2;
};
typedef struct TECConversionInfo TECConversionInfo;
# 76 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
typedef UInt32 TECInternetNameUsageMask;
enum {
kTECInternetNameDefaultUsageMask = 0,
kTECInternetNameStrictUsageMask = 1,
# 99 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
kTECInternetNameTolerantUsageMask = 2
};
enum {
kTEC_MIBEnumDontCare = -1
};
# 117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountAvailableTextEncodings(ItemCount * numberEncodings) ;
# 130 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetAvailableTextEncodings(
TextEncoding availableEncodings[],
ItemCount maxAvailableEncodings,
ItemCount * actualAvailableEncodings) ;
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountDirectTextEncodingConversions(ItemCount * numberOfEncodings) ;
# 159 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetDirectTextEncodingConversions(
TECConversionInfo availableConversions[],
ItemCount maxAvailableConversions,
ItemCount * actualAvailableConversions) ;
# 175 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountDestinationTextEncodings(
TextEncoding inputEncoding,
ItemCount * numberOfEncodings) ;
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetDestinationTextEncodings(
TextEncoding inputEncoding,
TextEncoding destinationEncodings[],
ItemCount maxDestinationEncodings,
ItemCount * actualDestinationEncodings) ;
# 207 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetTextEncodingInternetName(
TextEncoding textEncoding,
Str255 encodingName) ;
# 221 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetTextEncodingFromInternetName(
TextEncoding * textEncoding,
ConstStr255Param encodingName) ;
# 236 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCreateConverter(
TECObjectRef * newEncodingConverter,
TextEncoding inputEncoding,
TextEncoding outputEncoding) ;
# 251 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCreateConverterFromPath(
TECObjectRef * newEncodingConverter,
const TextEncoding inPath[],
ItemCount inEncodings) ;
# 266 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECDisposeConverter(TECObjectRef newEncodingConverter) ;
# 279 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECClearConverterContextInfo(TECObjectRef encodingConverter) ;
# 291 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECConvertText(
TECObjectRef encodingConverter,
ConstTextPtr inputBuffer,
ByteCount inputBufferLength,
ByteCount * actualInputLength,
TextPtr outputBuffer,
ByteCount outputBufferLength,
ByteCount * actualOutputLength) ;
# 310 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECFlushText(
TECObjectRef encodingConverter,
TextPtr outputBuffer,
ByteCount outputBufferLength,
ByteCount * actualOutputLength) ;
# 327 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountSubTextEncodings(
TextEncoding inputEncoding,
ItemCount * numberOfEncodings) ;
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetSubTextEncodings(
TextEncoding inputEncoding,
TextEncoding subEncodings[],
ItemCount maxSubEncodings,
ItemCount * actualSubEncodings) ;
# 370 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetEncodingList(
TECObjectRef encodingConverter,
ItemCount * numEncodings,
Handle * encodingList) ;
# 385 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCreateOneToManyConverter(
TECObjectRef * newEncodingConverter,
TextEncoding inputEncoding,
ItemCount numOutputEncodings,
const TextEncoding outputEncodings[]) ;
# 401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECConvertTextToMultipleEncodings(
TECObjectRef encodingConverter,
ConstTextPtr inputBuffer,
ByteCount inputBufferLength,
ByteCount * actualInputLength,
TextPtr outputBuffer,
ByteCount outputBufferLength,
ByteCount * actualOutputLength,
TextEncodingRun outEncodingsBuffer[],
ItemCount maxOutEncodingRuns,
ItemCount * actualOutEncodingRuns) ;
# 423 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECFlushMultipleEncodings(
TECObjectRef encodingConverter,
TextPtr outputBuffer,
ByteCount outputBufferLength,
ByteCount * actualOutputLength,
TextEncodingRun outEncodingsBuffer[],
ItemCount maxOutEncodingRuns,
ItemCount * actualOutEncodingRuns) ;
# 443 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountWebTextEncodings(
RegionCode locale,
ItemCount * numberEncodings) ;
# 457 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetWebTextEncodings(
RegionCode locale,
TextEncoding availableEncodings[],
ItemCount maxAvailableEncodings,
ItemCount * actualAvailableEncodings) ;
# 473 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountMailTextEncodings(
RegionCode locale,
ItemCount * numberEncodings) ;
# 487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetMailTextEncodings(
RegionCode locale,
TextEncoding availableEncodings[],
ItemCount maxAvailableEncodings,
ItemCount * actualAvailableEncodings) ;
# 504 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCountAvailableSniffers(ItemCount * numberOfEncodings) ;
# 516 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetAvailableSniffers(
TextEncoding availableSniffers[],
ItemCount maxAvailableSniffers,
ItemCount * actualAvailableSniffers) ;
# 531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCreateSniffer(
TECSnifferObjectRef * encodingSniffer,
TextEncoding testEncodings[],
ItemCount numTextEncodings) ;
# 546 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECSniffTextEncoding(
TECSnifferObjectRef encodingSniffer,
ConstTextPtr inputBuffer,
ByteCount inputBufferLength,
TextEncoding testEncodings[],
ItemCount numTextEncodings,
ItemCount numErrsArray[],
ItemCount maxErrs,
ItemCount numFeaturesArray[],
ItemCount maxFeatures) ;
# 567 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECDisposeSniffer(TECSnifferObjectRef encodingSniffer) ;
# 579 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECClearSnifferContextInfo(TECSnifferObjectRef encodingSniffer) ;
# 591 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECSetBasicOptions(
TECObjectRef encodingConverter,
OptionBits controlFlags) ;
# 642 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECCopyTextEncodingInternetNameAndMIB(
TextEncoding textEncoding,
TECInternetNameUsageMask usage,
CFStringRef * encodingNamePtr,
SInt32 * mibEnumPtr) ;
# 676 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingConverter.h" 3
extern OSStatus
TECGetTextEncodingFromInternetNameOrMIB(
TextEncoding * textEncodingPtr,
TECInternetNameUsageMask usage,
CFStringRef encodingName,
SInt32 mibEnum) ;
#pragma pack(pop)
# 163 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
#define __UNICODECONVERTER__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
#pragma pack(push, 2)
typedef struct OpaqueTextToUnicodeInfo* TextToUnicodeInfo;
typedef struct OpaqueUnicodeToTextInfo* UnicodeToTextInfo;
typedef struct OpaqueUnicodeToTextRunInfo* UnicodeToTextRunInfo;
typedef const TextToUnicodeInfo ConstTextToUnicodeInfo;
typedef const UnicodeToTextInfo ConstUnicodeToTextInfo;
typedef SInt32 UnicodeMapVersion;
enum {
kUnicodeUseLatestMapping = -1,
kUnicodeUseHFSPlusMapping = 4
};
struct UnicodeMapping {
TextEncoding unicodeEncoding;
TextEncoding otherEncoding;
UnicodeMapVersion mappingVersion;
};
typedef struct UnicodeMapping UnicodeMapping;
typedef UnicodeMapping * UnicodeMappingPtr;
typedef const UnicodeMapping * ConstUnicodeMappingPtr;
enum {
kUnicodeUseFallbacksBit = 0,
kUnicodeKeepInfoBit = 1,
kUnicodeDirectionalityBits = 2,
kUnicodeVerticalFormBit = 4,
kUnicodeLooseMappingsBit = 5,
kUnicodeStringUnterminatedBit = 6,
kUnicodeTextRunBit = 7,
kUnicodeKeepSameEncodingBit = 8,
kUnicodeForceASCIIRangeBit = 9,
kUnicodeNoHalfwidthCharsBit = 10,
kUnicodeTextRunHeuristicsBit = 11,
kUnicodeMapLineFeedToReturnBit = 12,
kUnicodeUseExternalEncodingFormBit = 13
};
enum {
kUnicodeUseFallbacksMask = 1L << kUnicodeUseFallbacksBit,
kUnicodeKeepInfoMask = 1L << kUnicodeKeepInfoBit,
kUnicodeDirectionalityMask = 3L << kUnicodeDirectionalityBits,
kUnicodeVerticalFormMask = 1L << kUnicodeVerticalFormBit,
kUnicodeLooseMappingsMask = 1L << kUnicodeLooseMappingsBit,
kUnicodeStringUnterminatedMask = 1L << kUnicodeStringUnterminatedBit,
kUnicodeTextRunMask = 1L << kUnicodeTextRunBit,
kUnicodeKeepSameEncodingMask = 1L << kUnicodeKeepSameEncodingBit,
kUnicodeForceASCIIRangeMask = 1L << kUnicodeForceASCIIRangeBit,
kUnicodeNoHalfwidthCharsMask = 1L << kUnicodeNoHalfwidthCharsBit,
kUnicodeTextRunHeuristicsMask = 1L << kUnicodeTextRunHeuristicsBit,
kUnicodeMapLineFeedToReturnMask = 1L << kUnicodeMapLineFeedToReturnBit,
kUnicodeUseExternalEncodingFormMask = 1L << kUnicodeUseExternalEncodingFormBit
};
enum {
kUnicodeDefaultDirection = 0,
kUnicodeLeftToRight = 1,
kUnicodeRightToLeft = 2
};
enum {
kUnicodeDefaultDirectionMask = kUnicodeDefaultDirection << kUnicodeDirectionalityBits,
kUnicodeLeftToRightMask = kUnicodeLeftToRight << kUnicodeDirectionalityBits,
kUnicodeRightToLeftMask = kUnicodeRightToLeft << kUnicodeDirectionalityBits
};
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
enum {
kUnicodeMatchUnicodeBaseBit = 0,
kUnicodeMatchUnicodeVariantBit = 1,
kUnicodeMatchUnicodeFormatBit = 2,
kUnicodeMatchOtherBaseBit = 3,
kUnicodeMatchOtherVariantBit = 4,
kUnicodeMatchOtherFormatBit = 5
};
enum {
kUnicodeMatchUnicodeBaseMask = 1L << kUnicodeMatchUnicodeBaseBit,
kUnicodeMatchUnicodeVariantMask = 1L << kUnicodeMatchUnicodeVariantBit,
kUnicodeMatchUnicodeFormatMask = 1L << kUnicodeMatchUnicodeFormatBit,
kUnicodeMatchOtherBaseMask = 1L << kUnicodeMatchOtherBaseBit,
kUnicodeMatchOtherVariantMask = 1L << kUnicodeMatchOtherVariantBit,
kUnicodeMatchOtherFormatMask = 1L << kUnicodeMatchOtherFormatBit
};
enum {
kUnicodeFallbackSequencingBits = 0
};
enum {
kUnicodeFallbackSequencingMask = 3L << kUnicodeFallbackSequencingBits,
kUnicodeFallbackInterruptSafeMask = 1L << 2
};
enum {
kUnicodeFallbackDefaultOnly = 0L,
kUnicodeFallbackCustomOnly = 1L,
kUnicodeFallbackDefaultFirst = 2L,
kUnicodeFallbackCustomFirst = 3L
};
typedef OSStatus ( * UnicodeToTextFallbackProcPtr)(UniChar *iSrcUniStr, ByteCount iSrcUniStrLen, ByteCount *oSrcConvLen, TextPtr oDestStr, ByteCount iDestStrLen, ByteCount *oDestConvLen, LogicalAddress iInfoPtr, ConstUnicodeMappingPtr iUnicodeMappingPtr);
typedef UnicodeToTextFallbackProcPtr UnicodeToTextFallbackUPP;
# 194 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern UnicodeToTextFallbackUPP
NewUnicodeToTextFallbackUPP(UnicodeToTextFallbackProcPtr userRoutine) ;
# 205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern void
DisposeUnicodeToTextFallbackUPP(UnicodeToTextFallbackUPP userUPP) ;
# 216 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
InvokeUnicodeToTextFallbackUPP(
UniChar * iSrcUniStr,
ByteCount iSrcUniStrLen,
ByteCount * oSrcConvLen,
TextPtr oDestStr,
ByteCount iDestStrLen,
ByteCount * oDestConvLen,
LogicalAddress iInfoPtr,
ConstUnicodeMappingPtr iUnicodeMappingPtr,
UnicodeToTextFallbackUPP userUPP) ;
#define NewUnicodeToTextFallbackUPP(userRoutine) ((UnicodeToTextFallbackUPP)userRoutine)
#define DisposeUnicodeToTextFallbackUPP(userUPP)
#define InvokeUnicodeToTextFallbackUPP(iSrcUniStr,iSrcUniStrLen,oSrcConvLen,oDestStr,iDestStrLen,oDestConvLen,iInfoPtr,iUnicodeMappingPtr,userUPP) (*userUPP)(iSrcUniStr, iSrcUniStrLen, oSrcConvLen, oDestStr, iDestStrLen, oDestConvLen, iInfoPtr, iUnicodeMappingPtr)
# 249 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateTextToUnicodeInfo(
ConstUnicodeMappingPtr iUnicodeMapping,
TextToUnicodeInfo * oTextToUnicodeInfo) ;
# 263 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateTextToUnicodeInfoByEncoding(
TextEncoding iEncoding,
TextToUnicodeInfo * oTextToUnicodeInfo) ;
# 277 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateUnicodeToTextInfo(
ConstUnicodeMappingPtr iUnicodeMapping,
UnicodeToTextInfo * oUnicodeToTextInfo) ;
# 291 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateUnicodeToTextInfoByEncoding(
TextEncoding iEncoding,
UnicodeToTextInfo * oUnicodeToTextInfo) ;
# 305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateUnicodeToTextRunInfo(
ItemCount iNumberOfMappings,
const UnicodeMapping iUnicodeMappings[],
UnicodeToTextRunInfo * oUnicodeToTextInfo) ;
# 320 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateUnicodeToTextRunInfoByEncoding(
ItemCount iNumberOfEncodings,
const TextEncoding iEncodings[],
UnicodeToTextRunInfo * oUnicodeToTextInfo) ;
# 335 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CreateUnicodeToTextRunInfoByScriptCode(
ItemCount iNumberOfScriptCodes,
const ScriptCode iScripts[],
UnicodeToTextRunInfo * oUnicodeToTextInfo) ;
# 351 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ChangeTextToUnicodeInfo(
TextToUnicodeInfo ioTextToUnicodeInfo,
ConstUnicodeMappingPtr iUnicodeMapping) ;
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ChangeUnicodeToTextInfo(
UnicodeToTextInfo ioUnicodeToTextInfo,
ConstUnicodeMappingPtr iUnicodeMapping) ;
# 381 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
DisposeTextToUnicodeInfo(TextToUnicodeInfo * ioTextToUnicodeInfo) ;
# 393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
DisposeUnicodeToTextInfo(UnicodeToTextInfo * ioUnicodeToTextInfo) ;
# 405 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
DisposeUnicodeToTextRunInfo(UnicodeToTextRunInfo * ioUnicodeToTextRunInfo) ;
# 417 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromTextToUnicode(
TextToUnicodeInfo iTextToUnicodeInfo,
ByteCount iSourceLen,
ConstLogicalAddress iSourceStr,
OptionBits iControlFlags,
ItemCount iOffsetCount,
const ByteOffset iOffsetArray[],
ItemCount * oOffsetCount,
ByteOffset oOffsetArray[],
ByteCount iOutputBufLen,
ByteCount * oSourceRead,
ByteCount * oUnicodeLen,
UniChar oUnicodeStr[]) ;
# 441 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromUnicodeToText(
UnicodeToTextInfo iUnicodeToTextInfo,
ByteCount iUnicodeLen,
const UniChar iUnicodeStr[],
OptionBits iControlFlags,
ItemCount iOffsetCount,
const ByteOffset iOffsetArray[],
ItemCount * oOffsetCount,
ByteOffset oOffsetArray[],
ByteCount iOutputBufLen,
ByteCount * oInputRead,
ByteCount * oOutputLen,
LogicalAddress oOutputStr) ;
# 465 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromUnicodeToTextRun(
UnicodeToTextRunInfo iUnicodeToTextInfo,
ByteCount iUnicodeLen,
const UniChar iUnicodeStr[],
OptionBits iControlFlags,
ItemCount iOffsetCount,
const ByteOffset iOffsetArray[],
ItemCount * oOffsetCount,
ByteOffset oOffsetArray[],
ByteCount iOutputBufLen,
ByteCount * oInputRead,
ByteCount * oOutputLen,
LogicalAddress oOutputStr,
ItemCount iEncodingRunBufLen,
ItemCount * oEncodingRunOutLen,
TextEncodingRun oEncodingRuns[]) ;
# 492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromUnicodeToScriptCodeRun(
UnicodeToTextRunInfo iUnicodeToTextInfo,
ByteCount iUnicodeLen,
const UniChar iUnicodeStr[],
OptionBits iControlFlags,
ItemCount iOffsetCount,
const ByteOffset iOffsetArray[],
ItemCount * oOffsetCount,
ByteOffset oOffsetArray[],
ByteCount iOutputBufLen,
ByteCount * oInputRead,
ByteCount * oOutputLen,
LogicalAddress oOutputStr,
ItemCount iScriptRunBufLen,
ItemCount * oScriptRunOutLen,
ScriptCodeRun oScriptCodeRuns[]) ;
# 520 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
TruncateForTextToUnicode(
ConstTextToUnicodeInfo iTextToUnicodeInfo,
ByteCount iSourceLen,
ConstLogicalAddress iSourceStr,
ByteCount iMaxLen,
ByteCount * oTruncatedLen) ;
# 538 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
TruncateForUnicodeToText(
ConstUnicodeToTextInfo iUnicodeToTextInfo,
ByteCount iSourceLen,
const UniChar iSourceStr[],
OptionBits iControlFlags,
ByteCount iMaxLen,
ByteCount * oTruncatedLen) ;
# 557 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromPStringToUnicode(
TextToUnicodeInfo iTextToUnicodeInfo,
ConstStr255Param iPascalStr,
ByteCount iOutputBufLen,
ByteCount * oUnicodeLen,
UniChar oUnicodeStr[]) ;
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ConvertFromUnicodeToPString(
UnicodeToTextInfo iUnicodeToTextInfo,
ByteCount iUnicodeLen,
const UniChar iUnicodeStr[],
Str255 oPascalStr) ;
# 592 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
CountUnicodeMappings(
OptionBits iFilter,
ConstUnicodeMappingPtr iFindMapping,
ItemCount * oActualCount) ;
# 608 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
QueryUnicodeMappings(
OptionBits iFilter,
ConstUnicodeMappingPtr iFindMapping,
ItemCount iMaxCount,
ItemCount * oActualCount,
UnicodeMapping oReturnedMappings[]) ;
# 626 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
SetFallbackUnicodeToText(
UnicodeToTextInfo iUnicodeToTextInfo,
UnicodeToTextFallbackUPP iFallback,
OptionBits iControlFlags,
LogicalAddress iInfoPtr) ;
# 643 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
SetFallbackUnicodeToTextRun(
UnicodeToTextRunInfo iUnicodeToTextRunInfo,
UnicodeToTextFallbackUPP iFallback,
OptionBits iControlFlags,
LogicalAddress iInfoPtr) ;
# 660 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ResetTextToUnicodeInfo(TextToUnicodeInfo ioTextToUnicodeInfo) ;
# 673 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ResetUnicodeToTextInfo(UnicodeToTextInfo ioUnicodeToTextInfo) ;
# 686 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeConverter.h" 3
extern OSStatus
ResetUnicodeToTextRunInfo(UnicodeToTextRunInfo ioUnicodeToTextRunInfo) ;
#pragma pack(pop)
# 167 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
#define __THREADS__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
#pragma pack(push, 2)
typedef UInt16 ThreadState;
enum {
kReadyThreadState = 0,
kStoppedThreadState = 1,
kRunningThreadState = 2
};
typedef void * ThreadTaskRef;
typedef UInt32 ThreadStyle;
enum {
kCooperativeThread = 1L << 0,
kPreemptiveThread = 1L << 1
};
typedef unsigned long ThreadID;
enum {
kNoThreadID = 0,
kCurrentThreadID = 1,
kApplicationThreadID = 2
};
typedef UInt32 ThreadOptions;
enum {
kNewSuspend = (1 << 0),
kUsePremadeThread = (1 << 1),
kCreateIfNeeded = (1 << 2),
kFPUNotNeeded = (1 << 3),
kExactMatchThread = (1 << 4)
};
struct SchedulerInfoRec {
UInt32 InfoRecSize;
ThreadID CurrentThreadID;
ThreadID SuggestedThreadID;
ThreadID InterruptedCoopThreadID;
};
typedef struct SchedulerInfoRec SchedulerInfoRec;
typedef SchedulerInfoRec * SchedulerInfoRecPtr;
typedef void * voidPtr;
typedef voidPtr ( * ThreadEntryProcPtr)(void * threadParam);
typedef ThreadID ( * ThreadSchedulerProcPtr)(SchedulerInfoRecPtr schedulerInfo);
typedef void ( * ThreadSwitchProcPtr)(ThreadID threadBeingSwitched, void *switchProcParam);
typedef void ( * ThreadTerminationProcPtr)(ThreadID threadTerminated, void *terminationProcParam);
typedef void ( * DebuggerNewThreadProcPtr)(ThreadID threadCreated);
typedef void ( * DebuggerDisposeThreadProcPtr)(ThreadID threadDeleted);
typedef ThreadID ( * DebuggerThreadSchedulerProcPtr)(SchedulerInfoRecPtr schedulerInfo);
typedef ThreadEntryProcPtr ThreadEntryUPP;
typedef ThreadSchedulerProcPtr ThreadSchedulerUPP;
typedef ThreadSwitchProcPtr ThreadSwitchUPP;
typedef ThreadTerminationProcPtr ThreadTerminationUPP;
typedef DebuggerNewThreadProcPtr DebuggerNewThreadUPP;
typedef DebuggerDisposeThreadProcPtr DebuggerDisposeThreadUPP;
typedef DebuggerThreadSchedulerProcPtr DebuggerThreadSchedulerUPP;
# 127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadEntryUPP
NewThreadEntryUPP(ThreadEntryProcPtr userRoutine) ;
# 138 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadSchedulerUPP
NewThreadSchedulerUPP(ThreadSchedulerProcPtr userRoutine) ;
# 149 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadSwitchUPP
NewThreadSwitchUPP(ThreadSwitchProcPtr userRoutine) ;
# 160 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadTerminationUPP
NewThreadTerminationUPP(ThreadTerminationProcPtr userRoutine) ;
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern DebuggerNewThreadUPP
NewDebuggerNewThreadUPP(DebuggerNewThreadProcPtr userRoutine) ;
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern DebuggerDisposeThreadUPP
NewDebuggerDisposeThreadUPP(DebuggerDisposeThreadProcPtr userRoutine) ;
# 193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern DebuggerThreadSchedulerUPP
NewDebuggerThreadSchedulerUPP(DebuggerThreadSchedulerProcPtr userRoutine) ;
# 204 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeThreadEntryUPP(ThreadEntryUPP userUPP) ;
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeThreadSchedulerUPP(ThreadSchedulerUPP userUPP) ;
# 226 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeThreadSwitchUPP(ThreadSwitchUPP userUPP) ;
# 237 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeThreadTerminationUPP(ThreadTerminationUPP userUPP) ;
# 248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeDebuggerNewThreadUPP(DebuggerNewThreadUPP userUPP) ;
# 259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeDebuggerDisposeThreadUPP(DebuggerDisposeThreadUPP userUPP) ;
# 270 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
DisposeDebuggerThreadSchedulerUPP(DebuggerThreadSchedulerUPP userUPP) ;
# 281 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern voidPtr
InvokeThreadEntryUPP(
void * threadParam,
ThreadEntryUPP userUPP) ;
# 294 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadID
InvokeThreadSchedulerUPP(
SchedulerInfoRecPtr schedulerInfo,
ThreadSchedulerUPP userUPP) ;
# 307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
InvokeThreadSwitchUPP(
ThreadID threadBeingSwitched,
void * switchProcParam,
ThreadSwitchUPP userUPP) ;
# 321 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
InvokeThreadTerminationUPP(
ThreadID threadTerminated,
void * terminationProcParam,
ThreadTerminationUPP userUPP) ;
# 335 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
InvokeDebuggerNewThreadUPP(
ThreadID threadCreated,
DebuggerNewThreadUPP userUPP) ;
# 348 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern void
InvokeDebuggerDisposeThreadUPP(
ThreadID threadDeleted,
DebuggerDisposeThreadUPP userUPP) ;
# 361 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern ThreadID
InvokeDebuggerThreadSchedulerUPP(
SchedulerInfoRecPtr schedulerInfo,
DebuggerThreadSchedulerUPP userUPP) ;
# 390 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
#define NewThreadEntryUPP(userRoutine) ((ThreadEntryUPP)userRoutine)
#define NewThreadSchedulerUPP(userRoutine) ((ThreadSchedulerUPP)userRoutine)
#define NewThreadSwitchUPP(userRoutine) ((ThreadSwitchUPP)userRoutine)
#define NewThreadTerminationUPP(userRoutine) ((ThreadTerminationUPP)userRoutine)
#define NewDebuggerNewThreadUPP(userRoutine) ((DebuggerNewThreadUPP)userRoutine)
#define NewDebuggerDisposeThreadUPP(userRoutine) ((DebuggerDisposeThreadUPP)userRoutine)
#define NewDebuggerThreadSchedulerUPP(userRoutine) ((DebuggerThreadSchedulerUPP)userRoutine)
#define DisposeThreadEntryUPP(userUPP)
#define DisposeThreadSchedulerUPP(userUPP)
#define DisposeThreadSwitchUPP(userUPP)
#define DisposeThreadTerminationUPP(userUPP)
#define DisposeDebuggerNewThreadUPP(userUPP)
#define DisposeDebuggerDisposeThreadUPP(userUPP)
#define DisposeDebuggerThreadSchedulerUPP(userUPP)
#define InvokeThreadEntryUPP(threadParam,userUPP) (*userUPP)(threadParam)
#define InvokeThreadSchedulerUPP(schedulerInfo,userUPP) (*userUPP)(schedulerInfo)
#define InvokeThreadSwitchUPP(threadBeingSwitched,switchProcParam,userUPP) (*userUPP)(threadBeingSwitched, switchProcParam)
#define InvokeThreadTerminationUPP(threadTerminated,terminationProcParam,userUPP) (*userUPP)(threadTerminated, terminationProcParam)
#define InvokeDebuggerNewThreadUPP(threadCreated,userUPP) (*userUPP)(threadCreated)
#define InvokeDebuggerDisposeThreadUPP(threadDeleted,userUPP) (*userUPP)(threadDeleted)
#define InvokeDebuggerThreadSchedulerUPP(schedulerInfo,userUPP) (*userUPP)(schedulerInfo)
# 424 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
typedef ThreadEntryUPP ThreadEntryTPP;
typedef ThreadSchedulerUPP ThreadSchedulerTPP;
typedef ThreadSwitchUPP ThreadSwitchTPP;
typedef ThreadTerminationUPP ThreadTerminationTPP;
typedef DebuggerNewThreadUPP DebuggerNewThreadTPP;
typedef DebuggerDisposeThreadUPP DebuggerDisposeThreadTPP;
typedef DebuggerThreadSchedulerUPP DebuggerThreadSchedulerTPP;
# 439 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
NewThread(
ThreadStyle threadStyle,
ThreadEntryTPP threadEntry,
void * threadParam,
Size stackSize,
ThreadOptions options,
void ** threadResult,
ThreadID * threadMade) ;
# 458 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadScheduler(ThreadSchedulerTPP threadScheduler) ;
# 470 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadSwitcher(
ThreadID thread,
ThreadSwitchTPP threadSwitcher,
void * switchProcParam,
Boolean inOrOut) ;
# 486 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadTerminator(
ThreadID thread,
ThreadTerminationTPP threadTerminator,
void * terminationProcParam) ;
# 501 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetDebuggerNotificationProcs(
DebuggerNewThreadTPP notifyNewThread,
DebuggerDisposeThreadTPP notifyDisposeThread,
DebuggerThreadSchedulerTPP notifyThreadScheduler) ;
# 516 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
CreateThreadPool(
ThreadStyle threadStyle,
SInt16 numToCreate,
Size stackSize) ;
# 531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
GetDefaultThreadStackSize(
ThreadStyle threadStyle,
Size * stackSize) ;
# 545 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
ThreadCurrentStackSpace(
ThreadID thread,
ByteCount * freeStack) ;
# 559 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
DisposeThread(
ThreadID threadToDump,
void * threadResult,
Boolean recycleThread) ;
# 574 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
YieldToThread(ThreadID suggestedThread) ;
# 586 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
YieldToAnyThread(void) ;
# 599 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
#define MacGetCurrentThread GetCurrentThread
extern OSErr
GetCurrentThread(ThreadID * currentThreadID) ;
# 613 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
GetThreadState(
ThreadID threadToGet,
ThreadState * threadState) ;
# 627 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadState(
ThreadID threadToSet,
ThreadState newState,
ThreadID suggestedThread) ;
# 642 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadStateEndCritical(
ThreadID threadToSet,
ThreadState newState,
ThreadID suggestedThread) ;
# 657 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
ThreadBeginCritical(void) ;
# 669 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
ThreadEndCritical(void) ;
# 681 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
GetThreadCurrentTaskRef(ThreadTaskRef * threadTRef) ;
# 693 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
GetThreadStateGivenTaskRef(
ThreadTaskRef threadTRef,
ThreadID threadToGet,
ThreadState * threadState) ;
# 708 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
extern OSErr
SetThreadReadyGivenTaskRef(
ThreadTaskRef threadTRef,
ThreadID threadToSet) ;
# 749 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Threads.h" 3
#pragma pack(pop)
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
#define __FOLDERS__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
#pragma pack(push, 2)
# 69 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
enum {
kOnSystemDisk = -32768L,
kOnAppropriateDisk = -32767,
kSystemDomain = -32766,
kLocalDomain = -32765,
kNetworkDomain = -32764,
kUserDomain = -32763,
kClassicDomain = -32762,
kFolderManagerLastDomain = -32760
};
enum {
kLastDomainConstant = -32760
};
enum {
kCreateFolder = 1,
kDontCreateFolder = 0
};
# 177 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FindFolder(
FSVolumeRefNum vRefNum,
OSType folderType,
Boolean createFolder,
FSVolumeRefNum * foundVRefNum,
SInt32 * foundDirID) ;
# 219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
ReleaseFolder(
FSVolumeRefNum vRefNum,
OSType folderType) __attribute__((deprecated));
# 291 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FSFindFolder(
FSVolumeRefNum vRefNum,
OSType folderType,
Boolean createFolder,
FSRef * foundRef) ;
# 305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
enum {
kDesktopFolderType = 'desk',
kTrashFolderType = 'trsh',
kWhereToEmptyTrashFolderType = 'empt',
kFontsFolderType = 'font',
kPreferencesFolderType = 'pref',
kSystemPreferencesFolderType = 'sprf',
kTemporaryFolderType = 'temp',
# 329 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
kChewableItemsFolderType = 'flnt',
kTemporaryItemsInCacheDataFolderType = 'vtmp',
kApplicationsFolderType = 'apps',
kVolumeRootFolderType = 'root',
kDomainTopLevelFolderType = 'dtop',
kDomainLibraryFolderType = 'dlib',
kUsersFolderType = 'usrs',
kCurrentUserFolderType = 'cusr',
kSharedUserDataFolderType = 'sdat'
};
enum {
kDocumentsFolderType = 'docs',
kPictureDocumentsFolderType = 'pdoc',
kMovieDocumentsFolderType = 'mdoc',
kMusicDocumentsFolderType = 0xB5646F63 ,
kInternetSitesFolderType = 'site',
kPublicFolderType = 'pubb'
};
enum {
kSharedLibrariesFolderType = 0xC46C6962 ,
kVoicesFolderType = 'fvoc',
kUtilitiesFolderType = 0x757469C4 ,
kThemesFolderType = 'thme',
kFavoritesFolderType = 'favs',
kInternetSearchSitesFolderType = 'issf',
kInstallerLogsFolderType = 'ilgf',
kScriptsFolderType = 0x736372C4 ,
kFolderActionsFolderType = 'fasf',
kSpeakableItemsFolderType = 'spki',
kKeychainFolderType = 'kchn'
};
enum {
kColorSyncFolderType = 'sync',
kColorSyncCMMFolderType = 'ccmm',
kColorSyncScriptingFolderType = 'cscr',
kPrintersFolderType = 'impr',
kSpeechFolderType = 'spch',
kCarbonLibraryFolderType = 'carb',
kDocumentationFolderType = 'info',
kISSDownloadsFolderType = 'issd',
kUserSpecificTmpFolderType = 'utmp',
kCachedDataFolderType = 'cach',
kFrameworksFolderType = 'fram',
kPrivateFrameworksFolderType = 'pfrm',
kClassicDesktopFolderType = 'sdsk',
kSystemSoundsFolderType = 'ssnd',
kComponentsFolderType = 'cmpd',
kQuickTimeComponentsFolderType = 'wcmp',
kCoreServicesFolderType = 'csrv',
kAudioSupportFolderType = 'adio',
kAudioPresetsFolderType = 'apst',
kAudioSoundsFolderType = 'asnd',
kAudioSoundBanksFolderType = 'bank',
kAudioAlertSoundsFolderType = 'alrt',
kAudioPlugInsFolderType = 'aplg',
kAudioComponentsFolderType = 'acmp',
kKernelExtensionsFolderType = 'kext',
kDirectoryServicesFolderType = 'dsrv',
kDirectoryServicesPlugInsFolderType = 'dplg',
kInstallerReceiptsFolderType = 'rcpt',
kFileSystemSupportFolderType = 'fsys',
kAppleShareSupportFolderType = 'shar',
kAppleShareAuthenticationFolderType = 'auth',
kMIDIDriversFolderType = 'midi',
kKeyboardLayoutsFolderType = 'klay',
kIndexFilesFolderType = 'indx',
kFindByContentIndexesFolderType = 'fbcx',
kManagedItemsFolderType = 'mang',
kBootTimeStartupItemsFolderType = 'empz',
kAutomatorWorkflowsFolderType = 'flow',
kAutosaveInformationFolderType = 'asav',
kSpotlightSavedSearchesFolderType = 'spot',
kSpotlightImportersFolderType = 'simp',
kSpotlightMetadataCacheFolderType = 'scch',
kInputManagersFolderType = 'inpt',
kInputMethodsFolderType = 'inpf',
kLibraryAssistantsFolderType = 'astl',
kAudioDigidesignFolderType = 'adig',
kAudioVSTFolderType = 'avst',
kColorPickersFolderType = 'cpkr',
kCompositionsFolderType = 'cmps',
kFontCollectionsFolderType = 'fncl',
kiMovieFolderType = 'imov',
kiMoviePlugInsFolderType = 'impi',
kiMovieSoundEffectsFolderType = 'imse',
kDownloadsFolderType = 'down'
};
enum {
kColorSyncProfilesFolderType = 'prof',
kApplicationSupportFolderType = 'asup',
kTextEncodingsFolderType = 0xC4746578 ,
kPrinterDescriptionFolderType = 'ppdf',
kPrinterDriverFolderType = 0xC4707264 ,
kScriptingAdditionsFolderType = 0xC4736372
};
enum {
kClassicPreferencesFolderType = 'cprf'
};
enum {
kSystemFolderType = 'macs',
kSystemDesktopFolderType = 'sdsk',
kSystemTrashFolderType = 'strs',
kPrintMonitorDocsFolderType = 'prnt',
kALMModulesFolderType = 'walk',
kALMPreferencesFolderType = 'trip',
kALMLocationsFolderType = 'fall',
kAppleExtrasFolderType = 0x616578C4 ,
kContextualMenuItemsFolderType = 'cmnu',
kMacOSReadMesFolderType = 0x6D6F72C4 ,
kStartupFolderType = 'strt',
kShutdownFolderType = 'shdf',
kAppleMenuFolderType = 'amnu',
kControlPanelFolderType = 'ctrl',
kSystemControlPanelFolderType = 'sctl',
kExtensionFolderType = 'extn',
kExtensionDisabledFolderType = 'extD',
kControlPanelDisabledFolderType = 'ctrD',
kSystemExtensionDisabledFolderType = 'macD',
kStartupItemsDisabledFolderType = 'strD',
kShutdownItemsDisabledFolderType = 'shdD',
kAssistantsFolderType = 0x617374C4 ,
kStationeryFolderType = 'odst',
kOpenDocFolderType = 'odod',
kOpenDocShellPlugInsFolderType = 'odsp',
kEditorsFolderType = 'oded',
kOpenDocEditorsFolderType = 0xC46F6466 ,
kOpenDocLibrariesFolderType = 'odlb',
kGenEditorsFolderType = 0xC4656469 ,
kHelpFolderType = 0xC4686C70 ,
kInternetPlugInFolderType = 0xC46E6574 ,
kModemScriptsFolderType = 0xC46D6F64 ,
kControlStripModulesFolderType = 'sdev',
kInternetFolderType = 0x696E74C4 ,
kAppearanceFolderType = 'appr',
kSoundSetsFolderType = 'snds',
kDesktopPicturesFolderType = 0x647470C4 ,
kFindSupportFolderType = 'fnds',
kRecentApplicationsFolderType = 'rapp',
kRecentDocumentsFolderType = 'rdoc',
kRecentServersFolderType = 'rsvr',
kLauncherItemsFolderType = 'laun',
kQuickTimeExtensionsFolderType = 'qtex',
kDisplayExtensionsFolderType = 'dspl',
kMultiprocessingFolderType = 'mpxf',
kPrintingPlugInsFolderType = 'pplg',
kAppleshareAutomountServerAliasesFolderType = 0x737276C4 ,
kVolumeSettingsFolderType = 'vsfd',
kPreMacOS91ApplicationsFolderType = 0x8C707073 ,
kPreMacOS91InstallerLogsFolderType = 0x946C6766 ,
kPreMacOS91AssistantsFolderType = 0x8C7374C4 ,
kPreMacOS91UtilitiesFolderType = 0x9F7469C4 ,
kPreMacOS91AppleExtrasFolderType = 0x8C6578C4 ,
kPreMacOS91MacOSReadMesFolderType = 0xB56F72C4 ,
kPreMacOS91InternetFolderType = 0x946E74C4 ,
kPreMacOS91AutomountedServersFolderType = 0xA77276C4 ,
kPreMacOS91StationeryFolderType = 0xBF647374 ,
kLocalesFolderType = 0xC46C6F63 ,
kFindByContentPluginsFolderType = 'fbcp',
kFindByContentFolderType = 'fbcf'
};
enum {
kMagicTemporaryItemsFolderType = 'mtmp',
kTemporaryItemsInUserDomainFolderType = 'temq',
kCurrentUserRemoteFolderLocation = 'rusf',
kCurrentUserRemoteFolderType = 'rusr'
};
enum {
kDeveloperDocsFolderType = 'ddoc',
kDeveloperHelpFolderType = 'devh',
kDeveloperFolderType = 'devf',
kDeveloperApplicationsFolderType = 'dapp'
};
enum {
kCreateFolderAtBoot = 0x00000002,
kCreateFolderAtBootBit = 1,
kFolderCreatedInvisible = 0x00000004,
kFolderCreatedInvisibleBit = 2,
kFolderCreatedNameLocked = 0x00000008,
kFolderCreatedNameLockedBit = 3,
kFolderCreatedAdminPrivs = 0x00000010,
kFolderCreatedAdminPrivsBit = 4
};
enum {
kFolderInUserFolder = 0x00000020,
kFolderInUserFolderBit = 5,
kFolderTrackedByAlias = 0x00000040,
kFolderTrackedByAliasBit = 6,
kFolderInRemoteUserFolderIfAvailable = 0x00000080,
kFolderInRemoteUserFolderIfAvailableBit = 7,
kFolderNeverMatchedInIdentifyFolder = 0x00000100,
kFolderNeverMatchedInIdentifyFolderBit = 8,
kFolderMustStayOnSameVolume = 0x00000200,
kFolderMustStayOnSameVolumeBit = 9,
kFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledMask = 0x00000400,
kFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledBit = 10,
kFolderInLocalOrRemoteUserFolder = kFolderInUserFolder | kFolderInRemoteUserFolderIfAvailable,
kFolderManagerNotCreatedOnRemoteVolumesBit = 11,
kFolderManagerNotCreatedOnRemoteVolumesMask = (1 << kFolderManagerNotCreatedOnRemoteVolumesBit),
kFolderManagerNewlyCreatedFolderIsLocalizedBit = 12,
kFolderManagerNewlyCreatedFolderShouldHaveDotLocalizedCreatedWithinMask = (1 << kFolderManagerNewlyCreatedFolderIsLocalizedBit)
};
typedef UInt32 FolderDescFlags;
enum {
kRelativeFolder = 'relf',
kRedirectedRelativeFolder = 'rrel',
kSpecialFolder = 'spcf'
};
typedef OSType FolderClass;
enum {
kBlessedFolder = 'blsf',
kRootFolder = 'rotf'
};
enum {
kCurrentUserFolderLocation = 'cusf'
};
enum {
kDictionariesFolderType = 'dict',
kLogsFolderType = 'logs',
kPreferencePanesFolderType = 'ppan'
};
enum {
kWidgetsFolderType = 'wdgt',
kScreenSaversFolderType = 'scrn'
};
typedef OSType FolderType;
typedef OSType FolderLocation;
struct FolderDesc {
Size descSize;
FolderType foldType;
FolderDescFlags flags;
FolderClass foldClass;
FolderType foldLocation;
OSType badgeSignature;
OSType badgeType;
UInt32 reserved;
StrFileName name;
};
typedef struct FolderDesc FolderDesc;
typedef FolderDesc * FolderDescPtr;
typedef UInt32 RoutingFlags;
struct FolderRouting {
Size descSize;
OSType fileType;
FolderType routeFromFolder;
FolderType routeToFolder;
RoutingFlags flags;
};
typedef struct FolderRouting FolderRouting;
typedef FolderRouting * FolderRoutingPtr;
# 685 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
AddFolderDescriptor(
FolderType foldType,
FolderDescFlags flags,
FolderClass foldClass,
FolderLocation foldLocation,
OSType badgeSignature,
OSType badgeType,
ConstStrFileNameParam name,
Boolean replaceFlag) ;
# 737 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
GetFolderTypes(
UInt32 requestedTypeCount,
UInt32 * totalTypeCount,
FolderType * theTypes) ;
# 765 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
RemoveFolderDescriptor(FolderType foldType) ;
# 811 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSStatus
GetFolderNameUnicode(
FSVolumeRefNum vRefNum,
OSType foldType,
FSVolumeRefNum * foundVRefNum,
HFSUniStr255 * name) ;
# 858 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
InvalidateFolderDescriptorCache(
FSVolumeRefNum vRefNum,
SInt32 dirID) ;
# 903 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
IdentifyFolder(
FSVolumeRefNum vRefNum,
SInt32 dirID,
FolderType * foldType) ;
# 959 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
FSDetermineIfRefIsEnclosedByFolder(
FSVolumeRefNum domainOrVRefNum,
OSType folderType,
const FSRef * inRef,
Boolean * outResult) ;
# 1021 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSErr
DetermineIfPathIsEnclosedByFolder(
FSVolumeRefNum domainOrVRefNum,
OSType folderType,
const UInt8 * utf8Path,
Boolean pathIsRealPath,
Boolean * outResult) ;
# 1567 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
typedef OSStatus ( * FolderManagerNotificationProcPtr)(OSType message, void *arg, void *userRefCon);
typedef FolderManagerNotificationProcPtr FolderManagerNotificationUPP;
# 1577 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern FolderManagerNotificationUPP
NewFolderManagerNotificationUPP(FolderManagerNotificationProcPtr userRoutine) ;
# 1588 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern void
DisposeFolderManagerNotificationUPP(FolderManagerNotificationUPP userUPP) ;
# 1599 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
extern OSStatus
InvokeFolderManagerNotificationUPP(
OSType message,
void * arg,
void * userRefCon,
FolderManagerNotificationUPP userUPP) ;
#define NewFolderManagerNotificationUPP(userRoutine) ((FolderManagerNotificationUPP)userRoutine)
#define DisposeFolderManagerNotificationUPP(userUPP)
#define InvokeFolderManagerNotificationUPP(message,arg,userRefCon,userUPP) (*userUPP)(message, arg, userRefCon)
# 1720 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h" 3
#pragma pack(pop)
# 175 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
#define __TIMER__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
#pragma pack(push, 2)
# 74 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
Microseconds(UnsignedWide * microTickCount) ;
# 112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
enum {
kTMTaskActive = (1L << 15)
};
typedef struct TMTask TMTask;
typedef TMTask * TMTaskPtr;
typedef void ( * TimerProcPtr)(TMTaskPtr tmTaskPtr);
typedef TimerProcPtr TimerUPP;
struct TMTask {
QElemPtr qLink;
short qType;
TimerUPP tmAddr;
long tmCount;
long tmWakeUp;
long tmReserved;
};
# 141 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
InsTime(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 156 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
InsXTime(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
PrimeTime(
QElemPtr tmTaskPtr,
long count) __attribute__((deprecated));
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
RmvTime(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 228 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern OSErr
InstallTimeTask(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 278 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern OSErr
InstallXTimeTask(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern OSErr
PrimeTimeTask(
QElemPtr tmTaskPtr,
long count) __attribute__((deprecated));
# 391 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern OSErr
RemoveTimeTask(QElemPtr tmTaskPtr) __attribute__((deprecated));
# 404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern TimerUPP
NewTimerUPP(TimerProcPtr userRoutine) ;
# 415 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
DisposeTimerUPP(TimerUPP userUPP) ;
# 426 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h" 3
extern void
InvokeTimerUPP(
TMTaskPtr tmTaskPtr,
TimerUPP userUPP) ;
#define NewTimerUPP(userRoutine) ((TimerUPP)userRoutine)
#define DisposeTimerUPP(userUPP)
#define InvokeTimerUPP(tmTaskPtr,userUPP) (*userUPP)(tmTaskPtr)
#pragma pack(pop)
# 179 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 1 3
# 26 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
#define __MULTIPROCESSINGINFO__
# 48 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
#pragma options align=power
# 148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
extern OSStatus
MPGetNextCpuID(
MPCoherenceID owningCoherenceID,
MPCpuID * cpuID) ;
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
extern OSStatus
MPGetNextTaskID(
MPProcessID owningProcessID,
MPTaskID * taskID) ;
# 299 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
enum {
kMPQueueInfoVersion = 1L | (kOpaqueQueueID << 16),
kMPSemaphoreInfoVersion = 1L | (kOpaqueSemaphoreID << 16),
kMPEventInfoVersion = 1L | (kOpaqueEventID << 16),
kMPCriticalRegionInfoVersion = 1L | (kOpaqueCriticalRegionID << 16),
kMPNotificationInfoVersion = 1L | (kOpaqueNotificationID << 16),
kMPAddressSpaceInfoVersion = 1L | (kOpaqueAddressSpaceID << 16)
};
struct MPQueueInfo {
PBVersion version;
MPProcessID processID;
OSType queueName;
ItemCount nWaiting;
MPTaskID waitingTaskID;
ItemCount nMessages;
ItemCount nReserved;
void * p1;
void * p2;
void * p3;
};
typedef struct MPQueueInfo MPQueueInfo;
struct MPSemaphoreInfo {
PBVersion version;
MPProcessID processID;
OSType semaphoreName;
ItemCount nWaiting;
MPTaskID waitingTaskID;
ItemCount maximum;
ItemCount count;
};
typedef struct MPSemaphoreInfo MPSemaphoreInfo;
struct MPEventInfo {
PBVersion version;
MPProcessID processID;
OSType eventName;
ItemCount nWaiting;
MPTaskID waitingTaskID;
MPEventFlags events;
};
typedef struct MPEventInfo MPEventInfo;
struct MPCriticalRegionInfo {
PBVersion version;
MPProcessID processID;
OSType regionName;
ItemCount nWaiting;
MPTaskID waitingTaskID;
MPTaskID owningTask;
ItemCount count;
};
typedef struct MPCriticalRegionInfo MPCriticalRegionInfo;
struct MPNotificationInfo {
PBVersion version;
MPProcessID processID;
OSType notificationName;
MPQueueID queueID;
void * p1;
void * p2;
void * p3;
MPEventID eventID;
MPEventFlags events;
MPSemaphoreID semaphoreID;
};
typedef struct MPNotificationInfo MPNotificationInfo;
struct MPAddressSpaceInfo {
PBVersion version;
MPProcessID processID;
MPCoherenceID groupID;
ItemCount nTasks;
UInt32 vsid[16];
};
typedef struct MPAddressSpaceInfo MPAddressSpaceInfo;
# 460 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h" 3
#pragma options align=reset
# 183 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 194 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
#define __LOWMEM__
# 52 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
#pragma pack(push, 2)
# 262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetBootDrive(void) ;
# 273 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetBootDrive(SInt16 value) ;
# 939 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetApFontID(void) __attribute__((deprecated));
# 954 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetApFontID(SInt16 value) __attribute__((deprecated));
# 1012 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetSysMap(void) ;
# 1023 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSysMap(SInt16 value) ;
# 1034 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UInt8 LMGetResLoad(void) ;
# 1045 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetResLoad(UInt8 value) ;
# 1056 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetResErr(void) ;
# 1067 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetResErr(SInt16 value) ;
# 1078 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern UInt8 LMGetTmpResLoad(void) ;
# 1089 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetTmpResLoad(UInt8 value) ;
# 1101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern Ptr LMGetIntlSpec(void) ;
# 1112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetIntlSpec(Ptr value) ;
# 1146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSysFontFam(SInt16 value) __attribute__((deprecated));
# 1161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern SInt16 LMGetSysFontSize(void) __attribute__((deprecated));
# 1176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
extern void LMSetSysFontSize(SInt16 value) ;
# 1416 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/LowMem.h" 3
#pragma pack(pop)
# 195 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
#define __AVLTREE__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
#pragma pack(push, 2)
# 48 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef UInt16 AVLVisitStage;
enum {
kAVLPreOrder = 0,
kAVLInOrder = 1,
kAVLPostOrder = 2
};
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef UInt16 AVLOrder;
enum {
kLeftToRight = 0,
kRightToLeft = 1
};
# 96 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef UInt16 AVLNodeType;
enum {
kAVLIsTree = 0,
kAVLIsLeftBranch = 1,
kAVLIsRightBranch = 2,
kAVLIsLeaf = 3,
kAVLNullNode = 4
};
enum {
errItemAlreadyInTree = -960,
errNotValidTree = -961,
errItemNotFoundInTree = -962,
errCanNotInsertWhileWalkProcInProgress = -963,
errTreeIsLocked = -964
};
# 124 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
struct AVLTreeStruct {
OSType signature;
unsigned long privateStuff[8];
};
typedef struct AVLTreeStruct AVLTreeStruct;
typedef AVLTreeStruct * AVLTreePtr;
# 166 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef SInt32 ( * AVLCompareItemsProcPtr)(AVLTreePtr tree, const void *i1, const void *i2, AVLNodeType nd_typ);
# 192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef ByteCount ( * AVLItemSizeProcPtr)(AVLTreePtr tree, const void *itemPtr);
# 216 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef void ( * AVLDisposeItemProcPtr)(AVLTreePtr tree, const void *dataP);
# 269 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
typedef OSErr ( * AVLWalkProcPtr)(AVLTreePtr tree, const void *dataPtr, AVLVisitStage visitStage, AVLNodeType node, UInt32 level, SInt32 balance, void *refCon);
typedef AVLCompareItemsProcPtr AVLCompareItemsUPP;
typedef AVLItemSizeProcPtr AVLItemSizeUPP;
typedef AVLDisposeItemProcPtr AVLDisposeItemUPP;
typedef AVLWalkProcPtr AVLWalkUPP;
# 282 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern AVLCompareItemsUPP
NewAVLCompareItemsUPP(AVLCompareItemsProcPtr userRoutine) __attribute__((deprecated));
# 293 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern AVLItemSizeUPP
NewAVLItemSizeUPP(AVLItemSizeProcPtr userRoutine) __attribute__((deprecated));
# 304 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern AVLDisposeItemUPP
NewAVLDisposeItemUPP(AVLDisposeItemProcPtr userRoutine) __attribute__((deprecated));
# 315 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern AVLWalkUPP
NewAVLWalkUPP(AVLWalkProcPtr userRoutine) __attribute__((deprecated));
# 326 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern void
DisposeAVLCompareItemsUPP(AVLCompareItemsUPP userUPP) __attribute__((deprecated));
# 337 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern void
DisposeAVLItemSizeUPP(AVLItemSizeUPP userUPP) __attribute__((deprecated));
# 348 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern void
DisposeAVLDisposeItemUPP(AVLDisposeItemUPP userUPP) __attribute__((deprecated));
# 359 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern void
DisposeAVLWalkUPP(AVLWalkUPP userUPP) __attribute__((deprecated));
# 370 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern SInt32
InvokeAVLCompareItemsUPP(
AVLTreePtr tree,
const void * i1,
const void * i2,
AVLNodeType nd_typ,
AVLCompareItemsUPP userUPP) __attribute__((deprecated));
# 386 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern ByteCount
InvokeAVLItemSizeUPP(
AVLTreePtr tree,
const void * itemPtr,
AVLItemSizeUPP userUPP) __attribute__((deprecated));
# 400 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern void
InvokeAVLDisposeItemUPP(
AVLTreePtr tree,
const void * dataP,
AVLDisposeItemUPP userUPP) __attribute__((deprecated));
# 414 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
extern OSErr
InvokeAVLWalkUPP(
AVLTreePtr tree,
const void * dataPtr,
AVLVisitStage visitStage,
AVLNodeType node,
UInt32 level,
SInt32 balance,
void * refCon,
AVLWalkUPP userUPP) __attribute__((deprecated));
# 440 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
#define NewAVLCompareItemsUPP(userRoutine) ((AVLCompareItemsUPP)userRoutine)
#define NewAVLItemSizeUPP(userRoutine) ((AVLItemSizeUPP)userRoutine)
#define NewAVLDisposeItemUPP(userRoutine) ((AVLDisposeItemUPP)userRoutine)
#define NewAVLWalkUPP(userRoutine) ((AVLWalkUPP)userRoutine)
#define DisposeAVLCompareItemsUPP(userUPP)
#define DisposeAVLItemSizeUPP(userUPP)
#define DisposeAVLDisposeItemUPP(userUPP)
#define DisposeAVLWalkUPP(userUPP)
#define InvokeAVLCompareItemsUPP(tree,i1,i2,nd_typ,userUPP) (*userUPP)(tree, i1, i2, nd_typ)
#define InvokeAVLItemSizeUPP(tree,itemPtr,userUPP) (*userUPP)(tree, itemPtr)
#define InvokeAVLDisposeItemUPP(tree,dataP,userUPP) (*userUPP)(tree, dataP)
#define InvokeAVLWalkUPP(tree,dataPtr,visitStage,node,level,balance,refCon,userUPP) (*userUPP)(tree, dataPtr, visitStage, node, level, balance, refCon)
# 896 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AVLTree.h" 3
#pragma pack(pop)
# 199 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 1 3
# 19 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#define __PEFBINARYFORMAT__
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#pragma pack(push, 2)
# 102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFContainerHeader {
OSType tag1;
OSType tag2;
OSType architecture;
UInt32 formatVersion;
UInt32 dateTimeStamp;
UInt32 oldDefVersion;
UInt32 oldImpVersion;
UInt32 currentVersion;
UInt16 sectionCount;
UInt16 instSectionCount;
UInt32 reservedA;
};
typedef struct PEFContainerHeader PEFContainerHeader;
enum {
kPEFTag1 = 'Joy!',
kPEFTag2 = 'peff',
kPEFVersion = 0x00000001
};
enum {
kPEFFirstSectionHeaderOffset = sizeof(PEFContainerHeader)
};
#define PEFFirstSectionNameOffset(container) ( kPEFFirstSectionHeaderOffset + ((container)->sectionCount * sizeof ( PEFSectionHeader )) )
# 138 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFSectionHeader {
SInt32 nameOffset;
UInt32 defaultAddress;
UInt32 totalLength;
UInt32 unpackedLength;
UInt32 containerLength;
UInt32 containerOffset;
UInt8 sectionKind;
UInt8 shareKind;
UInt8 alignment;
UInt8 reservedA;
};
typedef struct PEFSectionHeader PEFSectionHeader;
enum {
kPEFCodeSection = 0,
kPEFUnpackedDataSection = 1,
kPEFPackedDataSection = 2,
kPEFConstantSection = 3,
kPEFExecDataSection = 6,
kPEFLoaderSection = 4,
kPEFDebugSection = 5,
kPEFExceptionSection = 7,
kPEFTracebackSection = 8
};
enum {
kPEFProcessShare = 1,
kPEFGlobalShare = 4,
kPEFProtectedShare = 5
};
# 197 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFPkDataZero = 0,
kPEFPkDataBlock = 1,
kPEFPkDataRepeat = 2,
kPEFPkDataRepeatBlock = 3,
kPEFPkDataRepeatZero = 4
};
enum {
kPEFPkDataOpcodeShift = 5,
kPEFPkDataCount5Mask = 0x1F,
kPEFPkDataMaxCount5 = 31,
kPEFPkDataVCountShift = 7,
kPEFPkDataVCountMask = 0x7F,
kPEFPkDataVCountEndMask = 0x80
};
#define PEFPkDataOpcode(byte) ( ((UInt8)(byte)) >> kPEFPkDataOpcodeShift )
#define PEFPkDataCount5(byte) ( ((UInt8)(byte)) & kPEFPkDataCount5Mask )
#define PEFPkDataComposeInstr(opcode,count5) ( (((UInt8)(opcode)) << kPEFPkDataOpcodeShift) | ((UInt8)(count5)) )
# 313 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFLoaderInfoHeader {
SInt32 mainSection;
UInt32 mainOffset;
SInt32 initSection;
UInt32 initOffset;
SInt32 termSection;
UInt32 termOffset;
UInt32 importedLibraryCount;
UInt32 totalImportedSymbolCount;
UInt32 relocSectionCount;
UInt32 relocInstrOffset;
UInt32 loaderStringsOffset;
UInt32 exportHashOffset;
UInt32 exportHashTablePower;
UInt32 exportedSymbolCount;
};
typedef struct PEFLoaderInfoHeader PEFLoaderInfoHeader;
struct PEFImportedLibrary {
UInt32 nameOffset;
UInt32 oldImpVersion;
UInt32 currentVersion;
UInt32 importedSymbolCount;
UInt32 firstImportedSymbol;
UInt8 options;
UInt8 reservedA;
UInt16 reservedB;
};
typedef struct PEFImportedLibrary PEFImportedLibrary;
enum {
kPEFWeakImportLibMask = 0x40,
kPEFInitLibBeforeMask = 0x80
};
# 375 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFImportedSymbol {
UInt32 classAndName;
};
typedef struct PEFImportedSymbol PEFImportedSymbol;
enum {
kPEFImpSymClassShift = 24,
kPEFImpSymNameOffsetMask = 0x00FFFFFF,
kPEFImpSymMaxNameOffset = 0x00FFFFFF
};
#define PEFImportedSymbolClass(classAndName) ((UInt8) ((classAndName) >> kPEFImpSymClassShift))
#define PEFImportedSymbolNameOffset(classAndName) ((classAndName) & kPEFImpSymNameOffsetMask)
#define PEFComposeImportedSymbol(class,nameOffset) ( ( ((UInt32)(class)) << kPEFImpSymClassShift ) | ( (UInt32)(nameOffset) ) )
enum {
kPEFCodeSymbol = 0x00,
kPEFDataSymbol = 0x01,
kPEFTVectorSymbol = 0x02,
kPEFTOCSymbol = 0x03,
kPEFGlueSymbol = 0x04,
kPEFUndefinedSymbol = 0x0F,
kPEFWeakImportSymMask = 0x80
};
# 469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFExportedSymbolHashSlot {
UInt32 countAndStart;
};
typedef struct PEFExportedSymbolHashSlot PEFExportedSymbolHashSlot;
enum {
kPEFHashSlotSymCountShift = 18,
kPEFHashSlotFirstKeyMask = 0x0003FFFF,
kPEFHashSlotMaxSymbolCount = 0x00003FFF,
kPEFHashSlotMaxKeyIndex = 0x0003FFFF
};
#define PEFHashTableIndex(fullHashWord,hashTablePower) ( ( (fullHashWord) ^ ((fullHashWord) >> (hashTablePower)) ) & ((1 << (hashTablePower)) - 1) )
#define PEFHashSlotSymbolCount(countAndStart) ((UInt32) ((countAndStart) >> kPEFHashSlotSymCountShift))
#define PEFHashSlotFirstKey(countAndStart) ((countAndStart) & kPEFHashSlotFirstKeyMask)
#define PEFComposeExportedSymbolHashSlot(symbolCount,firstKey) ( ( ((UInt32)(symbolCount)) << kPEFHashSlotSymCountShift ) | ( (UInt32)(firstKey) ) )
# 497 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFSplitHashWord {
UInt16 nameLength;
UInt16 hashValue;
};
typedef struct PEFSplitHashWord PEFSplitHashWord;
struct PEFExportedSymbolKey {
union {
UInt32 fullHashWord;
PEFSplitHashWord splitHashWord;
} u;
};
typedef struct PEFExportedSymbolKey PEFExportedSymbolKey;
enum {
kPEFHashLengthShift = 16,
kPEFHashValueMask = 0x0000FFFF,
kPEFHashMaxLength = 0x0000FFFF
};
#define PEFHashNameLength(fullHashWord) ((UInt32) ((fullHashWord) >> kPEFHashLengthShift))
#define PEFHashValue(fullHashWord) ((fullHashWord) & kPEFHashValueMask)
#define PEFComposeFullHashWord(nameLength,hashValue) ( ( ((UInt32)(nameLength)) << kPEFHashLengthShift ) | ( (UInt32)(hashValue) ) )
# 560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct PEFExportedSymbol {
UInt32 classAndName;
UInt32 symbolValue;
SInt16 sectionIndex;
};
typedef struct PEFExportedSymbol PEFExportedSymbol;
# 578 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFExpSymClassShift = 24,
kPEFExpSymNameOffsetMask = 0x00FFFFFF,
kPEFExpSymMaxNameOffset = 0x00FFFFFF
};
#define PEFExportedSymbolClass(classAndName) ((UInt8) ((classAndName) >> kPEFExpSymClassShift))
#define PEFExportedSymbolNameOffset(classAndName) ((classAndName) & kPEFExpSymNameOffsetMask)
#define PEFComposeExportedSymbol(class,nameOffset) ( ( ((UInt32)(class)) << kPEFExpSymClassShift ) | ( (UInt32)(nameOffset) ) )
enum {
kPEFAbsoluteExport = -2,
kPEFReexportedImport = -3
};
# 618 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
typedef UInt16 PEFRelocChunk;
struct PEFLoaderRelocationHeader {
UInt16 sectionIndex;
UInt16 reservedA;
UInt32 relocCount;
UInt32 firstRelocOffset;
};
typedef struct PEFLoaderRelocationHeader PEFLoaderRelocationHeader;
# 639 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#define PEFRFShift(offset,length) (16 - ((offset) + (length)))
#define PEFRFMask(length) ((1 << (length)) - 1)
#define PEFRelocField(chunk,offset,length) ( ( (chunk) >> (16 - ((offset) + (length))) ) & ((1 << (length)) - 1) )
# 662 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocBasicOpcodeRange = 128
};
#define PEFRelocBasicOpcode(firstChunk) (kPEFRelocBasicOpcodes[(firstChunk)>>9])
# 675 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocBySectDWithSkip = 0x00,
kPEFRelocBySectC = 0x20,
kPEFRelocBySectD = 0x21,
kPEFRelocTVector12 = 0x22,
kPEFRelocTVector8 = 0x23,
kPEFRelocVTable8 = 0x24,
kPEFRelocImportRun = 0x25,
kPEFRelocSmByImport = 0x30,
kPEFRelocSmSetSectC = 0x31,
kPEFRelocSmSetSectD = 0x32,
kPEFRelocSmBySection = 0x33,
kPEFRelocIncrPosition = 0x40,
kPEFRelocSmRepeat = 0x48,
kPEFRelocSetPosition = 0x50,
kPEFRelocLgByImport = 0x52,
kPEFRelocLgRepeat = 0x58,
kPEFRelocLgSetOrBySection = 0x5A,
kPEFRelocUndefinedOpcode = 0xFF
};
# 704 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocLgBySectionSubopcode = 0x00,
kPEFRelocLgSetSectCSubopcode = 0x01,
kPEFRelocLgSetSectDSubopcode = 0x02
};
#define PEFRelocLgSetOrBySubopcode(chunk) (((chunk) >> 6) & 0x0F)
# 720 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#define PEFMaskedBasicOpcodes kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectDWithSkip, kPEFRelocBySectC, kPEFRelocBySectD, kPEFRelocTVector12, kPEFRelocTVector8, kPEFRelocVTable8, kPEFRelocImportRun, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocSmByImport, kPEFRelocSmSetSectC, kPEFRelocSmSetSectD, kPEFRelocSmBySection, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocIncrPosition, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSmRepeat, kPEFRelocSetPosition, kPEFRelocSetPosition, kPEFRelocLgByImport, kPEFRelocLgByImport, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocLgRepeat, kPEFRelocLgRepeat, kPEFRelocLgSetOrBySection, kPEFRelocLgSetOrBySection, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode, kPEFRelocUndefinedOpcode
# 788 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocWithSkipMaxSkipCount = 255,
kPEFRelocWithSkipMaxRelocCount = 63
};
#define PEFRelocWithSkipSkipCount(chunk) PEFRelocField ( (chunk), 2, 8 )
#define PEFRelocWithSkipRelocCount(chunk) PEFRelocField ( (chunk), 10, 6 )
#define PEFRelocComposeWithSkip(skipCount,relocCount) ( 0x0000 | (((UInt16)(skipCount)) << 6) | ((UInt16)(relocCount)) )
# 822 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocRunMaxRunLength = 512
};
#define PEFRelocRunSubopcode(chunk) PEFRelocField ( (chunk), 3, 4 )
#define PEFRelocRunRunLength(chunk) (PEFRelocField ( (chunk), 7, 9 ) + 1)
#define PEFRelocComposeRun(subopcode,runLength) ( 0x4000 | (((UInt16)(subopcode)) << 9) | ((UInt16)((runLength)-1)) )
#define PEFRelocComposeBySectC(runLength) PEFRelocComposeRun ( 0, (runLength) )
#define PEFRelocComposeBySectD(runLength) PEFRelocComposeRun ( 1, (runLength) )
#define PEFRelocComposeTVector12(runLength) PEFRelocComposeRun ( 2, (runLength) )
#define PEFRelocComposeTVector8(runLength) PEFRelocComposeRun ( 3, (runLength) )
#define PEFRelocComposeVTable8(runLength) PEFRelocComposeRun ( 4, (runLength) )
#define PEFRelocComposeImportRun(runLength) PEFRelocComposeRun ( 5, (runLength) )
# 861 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocSmIndexMaxIndex = 511
};
#define PEFRelocSmIndexSubopcode(chunk) PEFRelocField ( (chunk), 3, 4 )
#define PEFRelocSmIndexIndex(chunk) PEFRelocField ( (chunk), 7, 9 )
#define PEFRelocComposeSmIndex(subopcode,index) ( 0x6000 | (((UInt16)(subopcode)) << 9) | ((UInt16)(index)) )
#define PEFRelocComposeSmByImport(index) PEFRelocComposeSmIndex ( 0, (index) )
#define PEFRelocComposeSmSetSectC(index) PEFRelocComposeSmIndex ( 1, (index) )
#define PEFRelocComposeSmSetSectD(index) PEFRelocComposeSmIndex ( 2, (index) )
#define PEFRelocComposeSmBySection(index) PEFRelocComposeSmIndex ( 3, (index) )
# 897 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocIncrPositionMaxOffset = 4096
};
#define PEFRelocIncrPositionOffset(chunk) (PEFRelocField ( (chunk), 4, 12 ) + 1)
#define PEFRelocComposeIncrPosition(offset) ( 0x8000 | ((UInt16)((offset)-1)) )
# 927 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocSmRepeatMaxChunkCount = 16,
kPEFRelocSmRepeatMaxRepeatCount = 256
};
#define PEFRelocSmRepeatChunkCount(chunk) (PEFRelocField ( (chunk), 4, 4 ) + 1)
#define PEFRelocSmRepeatRepeatCount(chunk) (PEFRelocField ( (chunk), 8, 8 ) + 1)
#define PEFRelocComposeSmRepeat(chunkCount,repeatCount) ( 0x9000 | ((((UInt16)(chunkCount))-1) << 8) | (((UInt16)(repeatCount))-1) )
# 958 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocSetPosMaxOffset = 0x03FFFFFF
};
#define PEFRelocSetPosOffsetHigh(chunk) PEFRelocField ( (chunk), 6, 10 )
#define PEFRelocSetPosFullOffset(firstChunk,secondChunk) ( ((((UInt32)(firstChunk)) & 0x03FF) << 16) | ((UInt32)(secondChunk)) )
#define PEFRelocComposeSetPosition_1st(fullOffset) ( 0xA000 | ((UInt16) (((UInt32)(fullOffset)) >> 16) ) )
#define PEFRelocComposeSetPosition_2nd(fullOffset) ( (UInt16) ((UInt32)(fullOffset) & 0xFFFF) )
# 992 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocLgByImportMaxIndex = 0x03FFFFFF
};
#define PEFRelocLgByImportIndexHigh(chunk) PEFRelocField ( (chunk), 6, 10 )
#define PEFRelocLgByImportFullIndex(firstChunk,secondChunk) ( ((((UInt32)(firstChunk)) & 0x03FF) << 16) | ((UInt32)(secondChunk)) )
#define PEFRelocComposeLgByImport_1st(fullIndex) ( 0xA400 | ((UInt16) (((UInt32)(fullIndex)) >> 16) ) )
#define PEFRelocComposeLgByImport_2nd(fullIndex) ( (UInt16) ((UInt32)(fullIndex) & 0xFFFF) )
# 1027 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocLgRepeatMaxChunkCount = 16,
kPEFRelocLgRepeatMaxRepeatCount = 0x003FFFFF
};
#define PEFRelocLgRepeatChunkCount(chunk) (PEFRelocField ( (chunk), 6, 4 ) + 1)
#define PEFRelocLgRepeatRepeatCountHigh(chunk) PEFRelocField ( (chunk), 10, 6 )
#define PEFRelocLgRepeatFullRepeatCount(firstChunk,secondChunk) ( ((((UInt32)(firstChunk)) & 0x003F) << 16) | ((UInt32)(secondChunk)) )
#define PEFRelocComposeLgRepeat_1st(chunkCount,fullRepeatCount) ( 0xB000 | ((((UInt16)(chunkCount))-1) << 6) | ((UInt16) (((UInt32)(fullRepeatCount)) >>16 ) ) )
#define PEFRelocComposeLgRepeat_2nd(chunkCount,fullRepeatCount) ( (UInt16) ((UInt32)(fullRepeatCount) & 0xFFFF) )
# 1065 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
enum {
kPEFRelocLgSetOrBySectionMaxIndex = 0x003FFFFF
};
#define PEFRelocLgSetOrBySectionSubopcode(chunk) PEFRelocField ( (chunk), 6, 4 )
#define PEFRelocLgSetOrBySectionIndexHigh(chunk) PEFRelocField ( (chunk), 10, 6 )
#define PEFRelocLgSetOrBySectionFullIndex(firstChunk,secondChunk) ( ((((UInt32)(firstChunk)) & 0x003F) << 16) | ((UInt32)(secondChunk)) )
#define PEFRelocComposeLgSetOrBySection_1st(subopcode,fullIndex) ( 0xB400 | (((UInt16)(subopcode)) << 6) | ((UInt16) (((UInt32)(fullIndex)) >> 16) ) )
#define PEFRelocComposeLgSetOrBySection_2nd(subopcode,fullIndex) ( (UInt16) ((UInt32)(fullIndex) & 0xFFFF) )
#define PEFRelocComposeLgBySection(fullIndex) PEFRelocComposeLgSetOrBySection ( 0x00, (fullIndex) )
#define PEFRelocComposeLgSetSectC(fullIndex) PEFRelocComposeLgSetOrBySection ( 0x01, (fullIndex) )
#define PEFRelocComposeLgSetSectD(fullIndex) PEFRelocComposeLgSetOrBySection ( 0x02, (fullIndex) )
# 1147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
struct XLibContainerHeader {
OSType tag1;
OSType tag2;
UInt32 currentFormat;
UInt32 containerStringsOffset;
UInt32 exportHashOffset;
UInt32 exportKeyOffset;
UInt32 exportSymbolOffset;
UInt32 exportNamesOffset;
UInt32 exportHashTablePower;
UInt32 exportedSymbolCount;
UInt32 fragNameOffset;
UInt32 fragNameLength;
UInt32 dylibPathOffset;
UInt32 dylibPathLength;
OSType cpuFamily;
OSType cpuModel;
UInt32 dateTimeStamp;
UInt32 currentVersion;
UInt32 oldDefVersion;
UInt32 oldImpVersion;
};
typedef struct XLibContainerHeader XLibContainerHeader;
enum {
kXLibTag1 = (long)0xF04D6163 ,
kVLibTag2 = 'VLib',
kBLibTag2 = 'BLib',
kXLibVersion = 0x00000001
};
typedef PEFExportedSymbolHashSlot XLibExportedSymbolHashSlot;
typedef PEFExportedSymbolKey XLibExportedSymbolKey;
struct XLibExportedSymbol {
UInt32 classAndName;
UInt32 bpOffset;
};
typedef struct XLibExportedSymbol XLibExportedSymbol;
# 1203 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#define IncludePEF2Declarations 0
# 1579 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/PEFBinaryFormat.h" 3
#pragma pack(pop)
# 203 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h" 3
#define __HFSVOLUMES__
# 32 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h" 3
# 1 "/usr/include/hfs/hfs_format.h" 1 3 4
# 29 "/usr/include/hfs/hfs_format.h" 3 4
#define __HFS_FORMAT__
# 51 "/usr/include/hfs/hfs_format.h" 3 4
enum {
kHFSSigWord = 0x4244,
kHFSPlusSigWord = 0x482B,
kHFSXSigWord = 0x4858,
kHFSPlusVersion = 0x0004,
kHFSXVersion = 0x0005,
kHFSPlusMountVersion = 0x31302E30,
kHFSJMountVersion = 0x4846534a,
kFSKMountVersion = 0x46534b21
};
# 73 "/usr/include/hfs/hfs_format.h" 3 4
#define HFSPLUSMETADATAFOLDER "\xE2\x90\x80\xE2\x90\x80\xE2\x90\x80\xE2\x90\x80HFS+ Private Data"
#define HFSPLUS_DIR_METADATA_FOLDER ".HFS+ Private Directory Data\xd"
# 85 "/usr/include/hfs/hfs_format.h" 3 4
#define HFS_INODE_PREFIX "iNode"
#define HFS_DELETE_PREFIX "temp"
#define HFS_DIRINODE_PREFIX "dir_"
# 105 "/usr/include/hfs/hfs_format.h" 3 4
#define FIRST_LINK_XATTR_NAME "com.apple.system.hfs.firstlink"
#define FIRST_LINK_XATTR_REC_SIZE (sizeof(HFSPlusAttrData) - 2 + 12)
enum {
kHardLinkFileType = 0x686C6E6B,
kHFSPlusCreator = 0x6866732B
};
enum {
kSymLinkFileType = 0x736C6E6B,
kSymLinkCreator = 0x72686170
};
# 139 "/usr/include/hfs/hfs_format.h" 3 4
enum {
kHFSMaxVolumeNameChars = 27,
kHFSMaxFileNameChars = 31,
kHFSPlusMaxFileNameChars = 255
};
struct HFSExtentKey {
u_int8_t keyLength;
u_int8_t forkType;
u_int32_t fileID;
u_int16_t startBlock;
} __attribute__((aligned(2), packed));
typedef struct HFSExtentKey HFSExtentKey;
struct HFSPlusExtentKey {
u_int16_t keyLength;
u_int8_t forkType;
u_int8_t pad;
u_int32_t fileID;
u_int32_t startBlock;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusExtentKey HFSPlusExtentKey;
enum {
kHFSExtentDensity = 3,
kHFSPlusExtentDensity = 8
};
struct HFSExtentDescriptor {
u_int16_t startBlock;
u_int16_t blockCount;
} __attribute__((aligned(2), packed));
typedef struct HFSExtentDescriptor HFSExtentDescriptor;
struct HFSPlusExtentDescriptor {
u_int32_t startBlock;
u_int32_t blockCount;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusExtentDescriptor HFSPlusExtentDescriptor;
typedef HFSExtentDescriptor HFSExtentRecord[3];
typedef HFSPlusExtentDescriptor HFSPlusExtentRecord[8];
struct FndrFileInfo {
u_int32_t fdType;
u_int32_t fdCreator;
u_int16_t fdFlags;
struct {
int16_t v;
int16_t h;
} fdLocation;
int16_t opaque;
} __attribute__((aligned(2), packed));
typedef struct FndrFileInfo FndrFileInfo;
struct FndrDirInfo {
struct {
int16_t top;
int16_t left;
int16_t bottom;
int16_t right;
} frRect;
unsigned short frFlags;
struct {
u_int16_t v;
u_int16_t h;
} frLocation;
int16_t opaque;
} __attribute__((aligned(2), packed));
typedef struct FndrDirInfo FndrDirInfo;
struct FndrOpaqueInfo {
int8_t opaque[16];
} __attribute__((aligned(2), packed));
typedef struct FndrOpaqueInfo FndrOpaqueInfo;
struct HFSPlusForkData {
u_int64_t logicalSize;
u_int32_t clumpSize;
u_int32_t totalBlocks;
HFSPlusExtentRecord extents;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusForkData HFSPlusForkData;
struct HFSPlusBSDInfo {
u_int32_t ownerID;
u_int32_t groupID;
u_int8_t adminFlags;
u_int8_t ownerFlags;
u_int16_t fileMode;
union {
u_int32_t iNodeNum;
u_int32_t linkCount;
u_int32_t rawDevice;
} special;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusBSDInfo HFSPlusBSDInfo;
# 269 "/usr/include/hfs/hfs_format.h" 3 4
#define hl_firstLinkID reserved1
#define hl_prevLinkID bsdInfo.ownerID
#define hl_nextLinkID bsdInfo.groupID
#define hl_linkReference bsdInfo.special.iNodeNum
#define hl_linkCount bsdInfo.special.linkCount
enum {
kHFSRootParentID = 1,
kHFSRootFolderID = 2,
kHFSExtentsFileID = 3,
kHFSCatalogFileID = 4,
kHFSBadBlockFileID = 5,
kHFSAllocationFileID = 6,
kHFSStartupFileID = 7,
kHFSAttributesFileID = 8,
kHFSAttributeDataFileID = 13,
kHFSRepairCatalogFileID = 14,
kHFSBogusExtentFileID = 15,
kHFSFirstUserCatalogNodeID = 16
};
struct HFSCatalogKey {
u_int8_t keyLength;
u_int8_t reserved;
u_int32_t parentID;
u_int8_t nodeName[kHFSMaxFileNameChars + 1];
} __attribute__((aligned(2), packed));
typedef struct HFSCatalogKey HFSCatalogKey;
struct HFSPlusCatalogKey {
u_int16_t keyLength;
u_int32_t parentID;
HFSUniStr255 nodeName;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusCatalogKey HFSPlusCatalogKey;
enum {
kHFSFolderRecord = 0x0100,
kHFSFileRecord = 0x0200,
kHFSFolderThreadRecord = 0x0300,
kHFSFileThreadRecord = 0x0400,
kHFSPlusFolderRecord = 1,
kHFSPlusFileRecord = 2,
kHFSPlusFolderThreadRecord = 3,
kHFSPlusFileThreadRecord = 4
};
enum {
kHFSFileLockedBit = 0x0000,
kHFSFileLockedMask = 0x0001,
kHFSThreadExistsBit = 0x0001,
kHFSThreadExistsMask = 0x0002,
kHFSHasAttributesBit = 0x0002,
kHFSHasAttributesMask = 0x0004,
kHFSHasSecurityBit = 0x0003,
kHFSHasSecurityMask = 0x0008,
kHFSHasFolderCountBit = 0x0004,
kHFSHasFolderCountMask = 0x0010,
kHFSHasLinkChainBit = 0x0005,
kHFSHasLinkChainMask = 0x0020,
kHFSHasChildLinkBit = 0x0006,
kHFSHasChildLinkMask = 0x0040
};
struct HFSCatalogFolder {
int16_t recordType;
u_int16_t flags;
u_int16_t valence;
u_int32_t folderID;
u_int32_t createDate;
u_int32_t modifyDate;
u_int32_t backupDate;
FndrDirInfo userInfo;
FndrOpaqueInfo finderInfo;
u_int32_t reserved[4];
} __attribute__((aligned(2), packed));
typedef struct HFSCatalogFolder HFSCatalogFolder;
struct HFSPlusCatalogFolder {
int16_t recordType;
u_int16_t flags;
u_int32_t valence;
u_int32_t folderID;
u_int32_t createDate;
u_int32_t contentModDate;
u_int32_t attributeModDate;
u_int32_t accessDate;
u_int32_t backupDate;
HFSPlusBSDInfo bsdInfo;
FndrDirInfo userInfo;
FndrOpaqueInfo finderInfo;
u_int32_t textEncoding;
u_int32_t folderCount;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusCatalogFolder HFSPlusCatalogFolder;
struct HFSCatalogFile {
int16_t recordType;
u_int8_t flags;
int8_t fileType;
FndrFileInfo userInfo;
u_int32_t fileID;
u_int16_t dataStartBlock;
int32_t dataLogicalSize;
int32_t dataPhysicalSize;
u_int16_t rsrcStartBlock;
int32_t rsrcLogicalSize;
int32_t rsrcPhysicalSize;
u_int32_t createDate;
u_int32_t modifyDate;
u_int32_t backupDate;
FndrOpaqueInfo finderInfo;
u_int16_t clumpSize;
HFSExtentRecord dataExtents;
HFSExtentRecord rsrcExtents;
u_int32_t reserved;
} __attribute__((aligned(2), packed));
typedef struct HFSCatalogFile HFSCatalogFile;
struct HFSPlusCatalogFile {
int16_t recordType;
u_int16_t flags;
u_int32_t reserved1;
u_int32_t fileID;
u_int32_t createDate;
u_int32_t contentModDate;
u_int32_t attributeModDate;
u_int32_t accessDate;
u_int32_t backupDate;
HFSPlusBSDInfo bsdInfo;
FndrFileInfo userInfo;
FndrOpaqueInfo finderInfo;
u_int32_t textEncoding;
u_int32_t reserved2;
HFSPlusForkData dataFork;
HFSPlusForkData resourceFork;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusCatalogFile HFSPlusCatalogFile;
struct HFSCatalogThread {
int16_t recordType;
int32_t reserved[2];
u_int32_t parentID;
u_int8_t nodeName[kHFSMaxFileNameChars + 1];
} __attribute__((aligned(2), packed));
typedef struct HFSCatalogThread HFSCatalogThread;
struct HFSPlusCatalogThread {
int16_t recordType;
int16_t reserved;
u_int32_t parentID;
HFSUniStr255 nodeName;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusCatalogThread HFSPlusCatalogThread;
enum {
kHFSPlusAttrInlineData = 0x10,
kHFSPlusAttrForkData = 0x20,
kHFSPlusAttrExtents = 0x30
};
# 471 "/usr/include/hfs/hfs_format.h" 3 4
struct HFSPlusAttrForkData {
u_int32_t recordType;
u_int32_t reserved;
HFSPlusForkData theFork;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusAttrForkData HFSPlusAttrForkData;
struct HFSPlusAttrExtents {
u_int32_t recordType;
u_int32_t reserved;
HFSPlusExtentRecord extents;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusAttrExtents HFSPlusAttrExtents;
struct HFSPlusAttrData {
u_int32_t recordType;
u_int32_t reserved[2];
u_int32_t attrSize;
u_int8_t attrData[2];
} __attribute__((aligned(2), packed));
typedef struct HFSPlusAttrData HFSPlusAttrData;
struct HFSPlusAttrInlineData {
u_int32_t recordType;
u_int32_t reserved;
u_int32_t logicalSize;
u_int8_t userData[2];
} __attribute__((aligned(2), packed));
typedef struct HFSPlusAttrInlineData HFSPlusAttrInlineData;
union HFSPlusAttrRecord {
u_int32_t recordType;
HFSPlusAttrInlineData inlineData;
HFSPlusAttrData attrData;
HFSPlusAttrForkData forkData;
HFSPlusAttrExtents overflowExtents;
};
typedef union HFSPlusAttrRecord HFSPlusAttrRecord;
enum { kHFSMaxAttrNameLen = 127 };
struct HFSPlusAttrKey {
u_int16_t keyLength;
u_int16_t pad;
u_int32_t fileID;
u_int32_t startBlock;
u_int16_t attrNameLen;
u_int16_t attrName[kHFSMaxAttrNameLen];
} __attribute__((aligned(2), packed));
typedef struct HFSPlusAttrKey HFSPlusAttrKey;
#define kHFSPlusAttrKeyMaximumLength (sizeof(HFSPlusAttrKey) - sizeof(u_int16_t))
#define kHFSPlusAttrKeyMinimumLength (kHFSPlusAttrKeyMaximumLength - kHFSMaxAttrNameLen*sizeof(u_int16_t))
enum {
kHFSPlusExtentKeyMaximumLength = sizeof(HFSPlusExtentKey) - sizeof(u_int16_t),
kHFSExtentKeyMaximumLength = sizeof(HFSExtentKey) - sizeof(u_int8_t),
kHFSPlusCatalogKeyMaximumLength = sizeof(HFSPlusCatalogKey) - sizeof(u_int16_t),
kHFSPlusCatalogKeyMinimumLength = kHFSPlusCatalogKeyMaximumLength - sizeof(HFSUniStr255) + sizeof(u_int16_t),
kHFSCatalogKeyMaximumLength = sizeof(HFSCatalogKey) - sizeof(u_int8_t),
kHFSCatalogKeyMinimumLength = kHFSCatalogKeyMaximumLength - (kHFSMaxFileNameChars + 1) + sizeof(u_int8_t),
kHFSPlusCatalogMinNodeSize = 4096,
kHFSPlusExtentMinNodeSize = 512,
kHFSPlusAttrMinNodeSize = 4096
};
enum {
kHFSVolumeHardwareLockBit = 7,
kHFSVolumeUnmountedBit = 8,
kHFSVolumeSparedBlocksBit = 9,
kHFSVolumeNoCacheRequiredBit = 10,
kHFSBootVolumeInconsistentBit = 11,
kHFSCatalogNodeIDsReusedBit = 12,
kHFSVolumeJournaledBit = 13,
kHFSVolumeInconsistentBit = 14,
kHFSVolumeSoftwareLockBit = 15,
kHFSVolumeHardwareLockMask = 1 << kHFSVolumeHardwareLockBit,
kHFSVolumeUnmountedMask = 1 << kHFSVolumeUnmountedBit,
kHFSVolumeSparedBlocksMask = 1 << kHFSVolumeSparedBlocksBit,
kHFSVolumeNoCacheRequiredMask = 1 << kHFSVolumeNoCacheRequiredBit,
kHFSBootVolumeInconsistentMask = 1 << kHFSBootVolumeInconsistentBit,
kHFSCatalogNodeIDsReusedMask = 1 << kHFSCatalogNodeIDsReusedBit,
kHFSVolumeJournaledMask = 1 << kHFSVolumeJournaledBit,
kHFSVolumeInconsistentMask = 1 << kHFSVolumeInconsistentBit,
kHFSVolumeSoftwareLockMask = 1 << kHFSVolumeSoftwareLockBit,
kHFSMDBAttributesMask = 0x8380
};
struct HFSMasterDirectoryBlock {
u_int16_t drSigWord;
u_int32_t drCrDate;
u_int32_t drLsMod;
u_int16_t drAtrb;
u_int16_t drNmFls;
u_int16_t drVBMSt;
u_int16_t drAllocPtr;
u_int16_t drNmAlBlks;
u_int32_t drAlBlkSiz;
u_int32_t drClpSiz;
u_int16_t drAlBlSt;
u_int32_t drNxtCNID;
u_int16_t drFreeBks;
u_int8_t drVN[kHFSMaxVolumeNameChars + 1];
u_int32_t drVolBkUp;
u_int16_t drVSeqNum;
u_int32_t drWrCnt;
u_int32_t drXTClpSiz;
u_int32_t drCTClpSiz;
u_int16_t drNmRtDirs;
u_int32_t drFilCnt;
u_int32_t drDirCnt;
u_int32_t drFndrInfo[8];
u_int16_t drEmbedSigWord;
HFSExtentDescriptor drEmbedExtent;
u_int32_t drXTFlSize;
HFSExtentRecord drXTExtRec;
u_int32_t drCTFlSize;
HFSExtentRecord drCTExtRec;
} __attribute__((aligned(2), packed));
typedef struct HFSMasterDirectoryBlock HFSMasterDirectoryBlock;
#define SET_HFS_TEXT_ENCODING(hint) (0x656e6300 | ((hint) & 0xff))
#define GET_HFS_TEXT_ENCODING(hint) (((hint) & 0xffffff00) == 0x656e6300 ? (hint) & 0x000000ff : 0xffffffffU)
struct HFSPlusVolumeHeader {
u_int16_t signature;
u_int16_t version;
u_int32_t attributes;
u_int32_t lastMountedVersion;
u_int32_t journalInfoBlock;
u_int32_t createDate;
u_int32_t modifyDate;
u_int32_t backupDate;
u_int32_t checkedDate;
u_int32_t fileCount;
u_int32_t folderCount;
u_int32_t blockSize;
u_int32_t totalBlocks;
u_int32_t freeBlocks;
u_int32_t nextAllocation;
u_int32_t rsrcClumpSize;
u_int32_t dataClumpSize;
u_int32_t nextCatalogID;
u_int32_t writeCount;
u_int64_t encodingsBitmap;
u_int8_t finderInfo[32];
HFSPlusForkData allocationFile;
HFSPlusForkData extentsFile;
HFSPlusForkData catalogFile;
HFSPlusForkData attributesFile;
HFSPlusForkData startupFile;
} __attribute__((aligned(2), packed));
typedef struct HFSPlusVolumeHeader HFSPlusVolumeHeader;
enum BTreeKeyLimits{
kMaxKeyLength = 520
};
union BTreeKey{
u_int8_t length8;
u_int16_t length16;
u_int8_t rawData [kMaxKeyLength+2];
};
typedef union BTreeKey BTreeKey;
struct BTNodeDescriptor {
u_int32_t fLink;
u_int32_t bLink;
int8_t kind;
u_int8_t height;
u_int16_t numRecords;
u_int16_t reserved;
} __attribute__((aligned(2), packed));
typedef struct BTNodeDescriptor BTNodeDescriptor;
enum {
kBTLeafNode = -1,
kBTIndexNode = 0,
kBTHeaderNode = 1,
kBTMapNode = 2
};
struct BTHeaderRec {
u_int16_t treeDepth;
u_int32_t rootNode;
u_int32_t leafRecords;
u_int32_t firstLeafNode;
u_int32_t lastLeafNode;
u_int16_t nodeSize;
u_int16_t maxKeyLength;
u_int32_t totalNodes;
u_int32_t freeNodes;
u_int16_t reserved1;
u_int32_t clumpSize;
u_int8_t btreeType;
u_int8_t keyCompareType;
u_int32_t attributes;
u_int32_t reserved3[16];
} __attribute__((aligned(2), packed));
typedef struct BTHeaderRec BTHeaderRec;
enum {
kBTBadCloseMask = 0x00000001,
kBTBigKeysMask = 0x00000002,
kBTVariableIndexKeysMask = 0x00000004
};
enum {
kHFSCaseFolding = 0xCF,
kHFSBinaryCompare = 0xBC
};
struct JournalInfoBlock {
u_int32_t flags;
u_int32_t device_signature[8];
u_int64_t offset;
u_int64_t size;
u_int32_t reserved[32];
} __attribute__((aligned(2), packed));
typedef struct JournalInfoBlock JournalInfoBlock;
enum {
kJIJournalInFSMask = 0x00000001,
kJIJournalOnOtherDeviceMask = 0x00000002,
kJIJournalNeedInitMask = 0x00000004
};
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h" 2 3
# 41 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h" 3
typedef UInt32 HFSCatalogNodeID;
# 207 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AIFF.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AIFF.h" 3
#define __AIFF__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AIFF.h" 3
#pragma pack(push, 2)
enum {
AIFFID = 'AIFF',
AIFCID = 'AIFC',
FormatVersionID = 'FVER',
CommonID = 'COMM',
FORMID = 'FORM',
SoundDataID = 'SSND',
MarkerID = 'MARK',
InstrumentID = 'INST',
MIDIDataID = 'MIDI',
AudioRecordingID = 'AESD',
ApplicationSpecificID = 'APPL',
CommentID = 'COMT',
NameID = 'NAME',
AuthorID = 'AUTH',
CopyrightID = '(c) ',
AnnotationID = 'ANNO'
};
enum {
NoLooping = 0,
ForwardLooping = 1,
ForwardBackwardLooping = 2
};
enum {
AIFCVersion1 = (uint32_t)0xA2805140
};
#define NoneName "\pnot compressed"
#define ACE2to1Name "\pACE 2-to-1"
#define ACE8to3Name "\pACE 8-to-3"
#define MACE3to1Name "\pMACE 3-to-1"
#define MACE6to1Name "\pMACE 6-to-1"
enum {
NoneType = 'NONE',
ACE2Type = 'ACE2',
ACE8Type = 'ACE8',
MACE3Type = 'MAC3',
MACE6Type = 'MAC6'
};
typedef UInt32 ID;
typedef SInt16 MarkerIdType;
struct ChunkHeader {
ID ckID;
SInt32 ckSize;
};
typedef struct ChunkHeader ChunkHeader;
struct ContainerChunk {
ID ckID;
SInt32 ckSize;
ID formType;
};
typedef struct ContainerChunk ContainerChunk;
struct FormatVersionChunk {
ID ckID;
SInt32 ckSize;
UInt32 timestamp;
};
typedef struct FormatVersionChunk FormatVersionChunk;
typedef FormatVersionChunk * FormatVersionChunkPtr;
struct CommonChunk {
ID ckID;
SInt32 ckSize;
SInt16 numChannels;
UInt32 numSampleFrames;
SInt16 sampleSize;
extended80 sampleRate;
};
typedef struct CommonChunk CommonChunk;
typedef CommonChunk * CommonChunkPtr;
struct ExtCommonChunk {
ID ckID;
SInt32 ckSize;
SInt16 numChannels;
UInt32 numSampleFrames;
SInt16 sampleSize;
extended80 sampleRate;
ID compressionType;
char compressionName[1];
};
typedef struct ExtCommonChunk ExtCommonChunk;
typedef ExtCommonChunk * ExtCommonChunkPtr;
struct SoundDataChunk {
ID ckID;
SInt32 ckSize;
UInt32 offset;
UInt32 blockSize;
};
typedef struct SoundDataChunk SoundDataChunk;
typedef SoundDataChunk * SoundDataChunkPtr;
struct Marker {
MarkerIdType id;
UInt32 position;
Str255 markerName;
};
typedef struct Marker Marker;
struct MarkerChunk {
ID ckID;
SInt32 ckSize;
UInt16 numMarkers;
Marker Markers[1];
};
typedef struct MarkerChunk MarkerChunk;
typedef MarkerChunk * MarkerChunkPtr;
struct AIFFLoop {
SInt16 playMode;
MarkerIdType beginLoop;
MarkerIdType endLoop;
};
typedef struct AIFFLoop AIFFLoop;
struct InstrumentChunk {
ID ckID;
SInt32 ckSize;
UInt8 baseFrequency;
UInt8 detune;
UInt8 lowFrequency;
UInt8 highFrequency;
UInt8 lowVelocity;
UInt8 highVelocity;
SInt16 gain;
AIFFLoop sustainLoop;
AIFFLoop releaseLoop;
};
typedef struct InstrumentChunk InstrumentChunk;
typedef InstrumentChunk * InstrumentChunkPtr;
struct MIDIDataChunk {
ID ckID;
SInt32 ckSize;
UInt8 MIDIdata[1];
};
typedef struct MIDIDataChunk MIDIDataChunk;
typedef MIDIDataChunk * MIDIDataChunkPtr;
struct AudioRecordingChunk {
ID ckID;
SInt32 ckSize;
UInt8 AESChannelStatus[24];
};
typedef struct AudioRecordingChunk AudioRecordingChunk;
typedef AudioRecordingChunk * AudioRecordingChunkPtr;
struct ApplicationSpecificChunk {
ID ckID;
SInt32 ckSize;
OSType applicationSignature;
UInt8 data[1];
};
typedef struct ApplicationSpecificChunk ApplicationSpecificChunk;
typedef ApplicationSpecificChunk * ApplicationSpecificChunkPtr;
struct Comment {
UInt32 timeStamp;
MarkerIdType marker;
UInt16 count;
char text[1];
};
typedef struct Comment Comment;
struct CommentsChunk {
ID ckID;
SInt32 ckSize;
UInt16 numComments;
Comment comments[1];
};
typedef struct CommentsChunk CommentsChunk;
typedef CommentsChunk * CommentsChunkPtr;
struct TextChunk {
ID ckID;
SInt32 ckSize;
char text[1];
};
typedef struct TextChunk TextChunk;
typedef TextChunk * TextChunkPtr;
#pragma pack(pop)
# 211 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 3
#define __TEXTENCODINGPLUGIN__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 3
#pragma pack(push, 2)
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 3
#define kTECMacOSXDispatchTableNameString "ConverterPluginGetPluginDispatchTable"
enum {
kTECAvailableEncodingsResType = 'cven',
kTECAvailableSniffersResType = 'cvsf',
kTECSubTextEncodingsResType = 'cvsb',
kTECConversionInfoResType = 'cvif',
kTECMailEncodingsResType = 'cvml',
kTECWebEncodingsResType = 'cvwb',
kTECInternetNamesResType = 'cvmm'
};
enum {
kTECPluginType = 'ecpg',
kTECPluginCreator = 'encv',
kTECPluginOneToOne = 'otoo',
kTECPluginOneToMany = 'otom',
kTECPluginManyToOne = 'mtoo',
kTECPluginSniffObj = 'snif'
};
enum {
verUnspecified = 32767,
kTECResourceID = 128
};
# 84 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 3
struct TextEncodingRec {
UInt32 base;
UInt32 variant;
UInt32 format;
};
typedef struct TextEncodingRec TextEncodingRec;
struct TECEncodingsListRec {
UInt32 count;
TextEncodingRec encodings;
};
typedef struct TECEncodingsListRec TECEncodingsListRec;
typedef TECEncodingsListRec * TECEncodingsListPtr;
typedef TECEncodingsListPtr * TECEncodingsListHandle;
struct TECSubTextEncodingRec {
UInt32 offset;
TextEncodingRec searchEncoding;
UInt32 count;
TextEncodingRec subEncodings;
};
typedef struct TECSubTextEncodingRec TECSubTextEncodingRec;
struct TECSubTextEncodingsRec {
UInt32 count;
TECSubTextEncodingRec subTextEncodingRec;
};
typedef struct TECSubTextEncodingsRec TECSubTextEncodingsRec;
typedef TECSubTextEncodingsRec * TECSubTextEncodingsPtr;
typedef TECSubTextEncodingsPtr * TECSubTextEncodingsHandle;
struct TECEncodingPairRec {
TextEncodingRec source;
TextEncodingRec dest;
};
typedef struct TECEncodingPairRec TECEncodingPairRec;
struct TECEncodingPairs {
TECEncodingPairRec encodingPair;
UInt32 flags;
UInt32 speed;
};
typedef struct TECEncodingPairs TECEncodingPairs;
struct TECEncodingPairsRec {
UInt32 count;
TECEncodingPairs encodingPairs;
};
typedef struct TECEncodingPairsRec TECEncodingPairsRec;
typedef TECEncodingPairsRec * TECEncodingPairsPtr;
typedef TECEncodingPairsPtr * TECEncodingPairsHandle;
struct TECLocaleListToEncodingListRec {
UInt32 offset;
UInt32 count;
RegionCode locales;
};
typedef struct TECLocaleListToEncodingListRec TECLocaleListToEncodingListRec;
typedef TECLocaleListToEncodingListRec * TECLocaleListToEncodingListPtr;
struct TECLocaleToEncodingsListRec {
UInt32 count;
TECLocaleListToEncodingListRec localeListToEncodingList;
};
typedef struct TECLocaleToEncodingsListRec TECLocaleToEncodingsListRec;
typedef TECLocaleToEncodingsListRec * TECLocaleToEncodingsListPtr;
typedef TECLocaleToEncodingsListPtr * TECLocaleToEncodingsListHandle;
struct TECInternetNameRec {
UInt32 offset;
TextEncodingRec searchEncoding;
UInt8 encodingNameLength;
UInt8 encodingName[1];
};
typedef struct TECInternetNameRec TECInternetNameRec;
struct TECInternetNamesRec {
UInt32 count;
TECInternetNameRec InternetNames;
};
typedef struct TECInternetNamesRec TECInternetNamesRec;
typedef TECInternetNamesRec * TECInternetNamesPtr;
typedef TECInternetNamesPtr * TECInternetNamesHandle;
struct TECBufferContextRec {
ConstTextPtr textInputBuffer;
ConstTextPtr textInputBufferEnd;
TextPtr textOutputBuffer;
TextPtr textOutputBufferEnd;
ConstTextEncodingRunPtr encodingInputBuffer;
ConstTextEncodingRunPtr encodingInputBufferEnd;
TextEncodingRunPtr encodingOutputBuffer;
TextEncodingRunPtr encodingOutputBufferEnd;
};
typedef struct TECBufferContextRec TECBufferContextRec;
struct TECPluginStateRec {
UInt8 state1;
UInt8 state2;
UInt8 state3;
UInt8 state4;
UInt32 longState1;
UInt32 longState2;
UInt32 longState3;
UInt32 longState4;
};
typedef struct TECPluginStateRec TECPluginStateRec;
struct TECConverterContextRec {
Ptr pluginRec;
TextEncoding sourceEncoding;
TextEncoding destEncoding;
UInt32 reserved1;
UInt32 reserved2;
TECBufferContextRec bufferContext;
URefCon contextRefCon;
ProcPtr conversionProc;
ProcPtr flushProc;
ProcPtr clearContextInfoProc;
UInt32 options1;
UInt32 options2;
TECPluginStateRec pluginState;
};
typedef struct TECConverterContextRec TECConverterContextRec;
struct TECSnifferContextRec {
Ptr pluginRec;
TextEncoding encoding;
ItemCount maxErrors;
ItemCount maxFeatures;
ConstTextPtr textInputBuffer;
ConstTextPtr textInputBufferEnd;
ItemCount numFeatures;
ItemCount numErrors;
URefCon contextRefCon;
ProcPtr sniffProc;
ProcPtr clearContextInfoProc;
TECPluginStateRec pluginState;
};
typedef struct TECSnifferContextRec TECSnifferContextRec;
typedef OSStatus ( * TECPluginNewEncodingConverterPtr)(TECObjectRef *newEncodingConverter, TECConverterContextRec *plugContext, TextEncoding inputEncoding, TextEncoding outputEncoding);
typedef OSStatus ( * TECPluginClearContextInfoPtr)(TECObjectRef encodingConverter, TECConverterContextRec *plugContext);
typedef OSStatus ( * TECPluginConvertTextEncodingPtr)(TECObjectRef encodingConverter, TECConverterContextRec *plugContext);
typedef OSStatus ( * TECPluginFlushConversionPtr)(TECObjectRef encodingConverter, TECConverterContextRec *plugContext);
typedef OSStatus ( * TECPluginDisposeEncodingConverterPtr)(TECObjectRef newEncodingConverter, TECConverterContextRec *plugContext);
typedef OSStatus ( * TECPluginNewEncodingSnifferPtr)(TECSnifferObjectRef *encodingSniffer, TECSnifferContextRec *snifContext, TextEncoding inputEncoding);
typedef OSStatus ( * TECPluginClearSnifferContextInfoPtr)(TECSnifferObjectRef encodingSniffer, TECSnifferContextRec *snifContext);
typedef OSStatus ( * TECPluginSniffTextEncodingPtr)(TECSnifferObjectRef encodingSniffer, TECSnifferContextRec *snifContext);
typedef OSStatus ( * TECPluginDisposeEncodingSnifferPtr)(TECSnifferObjectRef encodingSniffer, TECSnifferContextRec *snifContext);
typedef OSStatus ( * TECPluginGetCountAvailableTextEncodingsPtr)(TextEncoding *availableEncodings, ItemCount maxAvailableEncodings, ItemCount *actualAvailableEncodings);
typedef OSStatus ( * TECPluginGetCountAvailableTextEncodingPairsPtr)(TECConversionInfo *availableEncodings, ItemCount maxAvailableEncodings, ItemCount *actualAvailableEncodings);
typedef OSStatus ( * TECPluginGetCountDestinationTextEncodingsPtr)(TextEncoding inputEncoding, TextEncoding *destinationEncodings, ItemCount maxDestinationEncodings, ItemCount *actualDestinationEncodings);
typedef OSStatus ( * TECPluginGetCountSubTextEncodingsPtr)(TextEncoding inputEncoding, TextEncoding subEncodings[], ItemCount maxSubEncodings, ItemCount *actualSubEncodings);
typedef OSStatus ( * TECPluginGetCountAvailableSniffersPtr)(TextEncoding *availableEncodings, ItemCount maxAvailableEncodings, ItemCount *actualAvailableEncodings);
typedef OSStatus ( * TECPluginGetTextEncodingInternetNamePtr)(TextEncoding textEncoding, Str255 encodingName);
typedef OSStatus ( * TECPluginGetTextEncodingFromInternetNamePtr)(TextEncoding *textEncoding, ConstStr255Param encodingName);
typedef OSStatus ( * TECPluginGetCountWebEncodingsPtr)(TextEncoding *availableEncodings, ItemCount maxAvailableEncodings, ItemCount *actualAvailableEncodings);
typedef OSStatus ( * TECPluginGetCountMailEncodingsPtr)(TextEncoding *availableEncodings, ItemCount maxAvailableEncodings, ItemCount *actualAvailableEncodings);
enum {
kTECPluginDispatchTableVersion1 = 0x00010000,
kTECPluginDispatchTableVersion1_1 = 0x00010001,
kTECPluginDispatchTableVersion1_2 = 0x00010002,
kTECPluginDispatchTableCurrentVersion = kTECPluginDispatchTableVersion1_2
};
struct TECPluginDispatchTable {
TECPluginVersion version;
TECPluginVersion compatibleVersion;
TECPluginSignature PluginID;
TECPluginNewEncodingConverterPtr PluginNewEncodingConverter;
TECPluginClearContextInfoPtr PluginClearContextInfo;
TECPluginConvertTextEncodingPtr PluginConvertTextEncoding;
TECPluginFlushConversionPtr PluginFlushConversion;
TECPluginDisposeEncodingConverterPtr PluginDisposeEncodingConverter;
TECPluginNewEncodingSnifferPtr PluginNewEncodingSniffer;
TECPluginClearSnifferContextInfoPtr PluginClearSnifferContextInfo;
TECPluginSniffTextEncodingPtr PluginSniffTextEncoding;
TECPluginDisposeEncodingSnifferPtr PluginDisposeEncodingSniffer;
TECPluginGetCountAvailableTextEncodingsPtr PluginGetCountAvailableTextEncodings;
TECPluginGetCountAvailableTextEncodingPairsPtr PluginGetCountAvailableTextEncodingPairs;
TECPluginGetCountDestinationTextEncodingsPtr PluginGetCountDestinationTextEncodings;
TECPluginGetCountSubTextEncodingsPtr PluginGetCountSubTextEncodings;
TECPluginGetCountAvailableSniffersPtr PluginGetCountAvailableSniffers;
TECPluginGetCountWebEncodingsPtr PluginGetCountWebTextEncodings;
TECPluginGetCountMailEncodingsPtr PluginGetCountMailTextEncodings;
TECPluginGetTextEncodingInternetNamePtr PluginGetTextEncodingInternetName;
TECPluginGetTextEncodingFromInternetNamePtr PluginGetTextEncodingFromInternetName;
};
typedef struct TECPluginDispatchTable TECPluginDispatchTable;
# 301 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextEncodingPlugin.h" 3
typedef TECPluginDispatchTable * ( * TECPluginGetPluginDispatchTablePtr)(void);
#pragma pack(pop)
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
#define __FSEVENTS__
# 41 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
#pragma pack(push, 2)
# 194 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
typedef UInt32 FSEventStreamCreateFlags;
# 203 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
enum {
kFSEventStreamCreateFlagNone = 0x00000000,
kFSEventStreamCreateFlagUseCFTypes = 0x00000001,
# 235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamCreateFlagNoDefer = 0x00000002,
# 252 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamCreateFlagWatchRoot = 0x00000004
};
# 262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
typedef UInt32 FSEventStreamEventFlags;
enum {
kFSEventStreamEventFlagNone = 0x00000000,
# 291 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagMustScanSubDirs = 0x00000001,
# 306 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagUserDropped = 0x00000002,
kFSEventStreamEventFlagKernelDropped = 0x00000004,
kFSEventStreamEventFlagEventIdsWrapped = 0x00000008,
# 328 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagHistoryDone = 0x00000010,
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagRootChanged = 0x00000020,
# 355 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagMount = 0x00000040,
# 367 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
kFSEventStreamEventFlagUnmount = 0x00000080
};
# 380 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
typedef UInt64 FSEventStreamEventId;
enum {
kFSEventStreamEventIdSinceNow = 0xFFFFFFFFFFFFFFFFULL
};
# 393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
typedef struct __FSEventStream* FSEventStreamRef;
typedef const struct __FSEventStream* ConstFSEventStreamRef;
# 410 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
struct FSEventStreamContext {
CFIndex version;
# 426 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
void * info;
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
};
typedef struct FSEventStreamContext FSEventStreamContext;
# 510 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
typedef void ( * FSEventStreamCallback)(ConstFSEventStreamRef streamRef, void *clientCallBackInfo, size_t numEvents, void *eventPaths, const FSEventStreamEventFlags eventFlags[], const FSEventStreamEventId eventIds[]);
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamRef
FSEventStreamCreate(
CFAllocatorRef allocator,
FSEventStreamCallback callback,
FSEventStreamContext * context,
CFArrayRef pathsToWatch,
FSEventStreamEventId sinceWhen,
CFTimeInterval latency,
FSEventStreamCreateFlags flags) ;
# 658 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamRef
FSEventStreamCreateRelativeToDevice(
CFAllocatorRef allocator,
FSEventStreamCallback callback,
FSEventStreamContext * context,
dev_t deviceToWatch,
CFArrayRef pathsToWatchRelativeToDevice,
FSEventStreamEventId sinceWhen,
CFTimeInterval latency,
FSEventStreamCreateFlags flags) ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamEventId
FSEventStreamGetLatestEventId(ConstFSEventStreamRef streamRef) ;
# 719 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern dev_t
FSEventStreamGetDeviceBeingWatched(ConstFSEventStreamRef streamRef) ;
# 744 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern CFArrayRef
FSEventStreamCopyPathsBeingWatched(ConstFSEventStreamRef streamRef) ;
# 764 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamEventId
FSEventsGetCurrentEventId(void) ;
# 800 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern CFUUIDRef
FSEventsCopyUUIDForDevice(dev_t dev) ;
# 836 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamEventId
FSEventsGetLastEventIdForDeviceBeforeTime(
dev_t dev,
CFAbsoluteTime time) ;
# 865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern Boolean
FSEventsPurgeEventsForDeviceUpToEventId(
dev_t dev,
FSEventStreamEventId eventId) ;
# 891 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamRetain(FSEventStreamRef streamRef) ;
# 913 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamRelease(FSEventStreamRef streamRef) ;
# 949 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamScheduleWithRunLoop(
FSEventStreamRef streamRef,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 979 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamUnscheduleFromRunLoop(
FSEventStreamRef streamRef,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1006 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamInvalidate(FSEventStreamRef streamRef) ;
# 1039 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern Boolean
FSEventStreamStart(FSEventStreamRef streamRef) ;
# 1069 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern FSEventStreamEventId
FSEventStreamFlushAsync(FSEventStreamRef streamRef) ;
# 1096 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamFlushSync(FSEventStreamRef streamRef) ;
# 1121 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamStop(FSEventStreamRef streamRef) ;
# 1145 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern void
FSEventStreamShow(ConstFSEventStreamRef streamRef) ;
# 1165 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h" 3
extern CFStringRef
FSEventStreamCopyDescription(ConstFSEventStreamRef streamRef) ;
#pragma pack(pop)
# 219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h" 2 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
#define __AEDATAMODEL__
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
#pragma pack(push, 2)
enum {
typeBoolean = 'bool',
typeChar = 'TEXT'
};
enum {
typeStyledUnicodeText = 'sutx',
typeEncodedString = 'encs',
typeUnicodeText = 'utxt',
typeCString = 'cstr',
typePString = 'pstr'
};
enum {
typeUTF16ExternalRepresentation = 'ut16',
typeUTF8Text = 'utf8'
};
enum {
typeSInt16 = 'shor',
typeUInt16 = 'ushr',
typeSInt32 = 'long',
typeUInt32 = 'magn',
typeSInt64 = 'comp',
typeUInt64 = 'ucom',
typeIEEE32BitFloatingPoint = 'sing',
typeIEEE64BitFloatingPoint = 'doub',
type128BitFloatingPoint = 'ldbl',
typeDecimalStruct = 'decm'
};
# 118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
enum {
typeAEList = 'list',
typeAERecord = 'reco',
typeAppleEvent = 'aevt',
typeEventRecord = 'evrc',
typeTrue = 'true',
typeFalse = 'fals',
typeAlias = 'alis',
typeEnumerated = 'enum',
typeType = 'type',
typeAppParameters = 'appa',
typeProperty = 'prop',
typeFSRef = 'fsrf',
typeFileURL = 'furl',
typeKeyword = 'keyw',
typeSectionH = 'sect',
typeWildCard = '****',
typeApplSignature = 'sign',
typeQDRectangle = 'qdrt',
typeFixed = 'fixd',
typeProcessSerialNumber = 'psn ',
typeApplicationURL = 'aprl',
typeNull = 'null'
};
# 155 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
enum {
typeCFAttributedStringRef = 'cfas',
typeCFMutableAttributedStringRef = 'cfaa',
typeCFStringRef = 'cfst',
typeCFMutableStringRef = 'cfms',
typeCFArrayRef = 'cfar',
typeCFMutableArrayRef = 'cfma',
typeCFDictionaryRef = 'cfdc',
typeCFMutableDictionaryRef = 'cfmd',
typeCFNumberRef = 'cfnb',
typeCFBooleanRef = 'cftf',
typeCFTypeRef = 'cfty'
};
enum {
typeKernelProcessID = 'kpid',
typeMachPort = 'port'
};
enum {
typeApplicationBundleID = 'bund'
};
enum {
keyTransactionIDAttr = 'tran',
keyReturnIDAttr = 'rtid',
keyEventClassAttr = 'evcl',
keyEventIDAttr = 'evid',
keyAddressAttr = 'addr',
keyOptionalKeywordAttr = 'optk',
keyTimeoutAttr = 'timo',
keyInteractLevelAttr = 'inte',
keyEventSourceAttr = 'esrc',
keyMissedKeywordAttr = 'miss',
keyOriginalAddressAttr = 'from',
keyAcceptTimeoutAttr = 'actm',
keyReplyRequestedAttr = 'repq'
};
enum {
kAEDebugPOSTHeader = (1 << 0),
kAEDebugReplyHeader = (1 << 1),
kAEDebugXMLRequest = (1 << 2),
kAEDebugXMLResponse = (1 << 3),
kAEDebugXMLDebugAll = (long)0xFFFFFFFF
};
enum {
kSOAP1999Schema = 'ss99',
kSOAP2001Schema = 'ss01'
};
enum {
keyUserNameAttr = 'unam',
keyUserPasswordAttr = 'pass',
keyDisableAuthenticationAttr = 'auth',
keyXMLDebuggingAttr = 'xdbg',
kAERPCClass = 'rpc ',
kAEXMLRPCScheme = 'RPC2',
kAESOAPScheme = 'SOAP',
kAESharedScriptHandler = 'wscp',
keyRPCMethodName = 'meth',
keyRPCMethodParam = 'parm',
keyRPCMethodParamOrder = '/ord',
keyAEPOSTHeaderData = 'phed',
keyAEReplyHeaderData = 'rhed',
keyAEXMLRequestData = 'xreq',
keyAEXMLReplyData = 'xrep',
keyAdditionalHTTPHeaders = 'ahed',
keySOAPAction = 'sact',
keySOAPMethodNameSpace = 'mspc',
keySOAPMethodNameSpaceURI = 'mspu',
keySOAPSchemaVersion = 'ssch'
};
# 260 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
enum {
keySOAPStructureMetaData = '/smd',
keySOAPSMDNamespace = 'ssns',
keySOAPSMDNamespaceURI = 'ssnu',
keySOAPSMDType = 'sstp'
};
enum {
kAEUseHTTPProxyAttr = 'xupr',
kAEHTTPProxyPortAttr = 'xhtp',
kAEHTTPProxyHostAttr = 'xhth'
};
enum {
kAESocks4Protocol = 4,
kAESocks5Protocol = 5
};
enum {
kAEUseSocksAttr = 'xscs',
kAESocksProxyAttr = 'xsok',
kAESocksHostAttr = 'xshs',
kAESocksPortAttr = 'xshp',
kAESocksUserAttr = 'xshu',
kAESocksPasswordAttr = 'xshw'
};
enum {
kAEDescListFactorNone = 0,
kAEDescListFactorType = 4,
kAEDescListFactorTypeAndSize = 8
};
enum {
kAutoGenerateReturnID = -1,
kAnyTransactionID = 0
};
typedef ResType DescType;
typedef FourCharCode AEKeyword;
typedef struct OpaqueAEDataStorageType* AEDataStorageType;
typedef AEDataStorageType * AEDataStorage;
struct AEDesc {
DescType descriptorType;
AEDataStorage dataHandle;
};
typedef struct AEDesc AEDesc;
typedef AEDesc * AEDescPtr;
struct AEKeyDesc {
AEKeyword descKey;
AEDesc descContent;
};
typedef struct AEKeyDesc AEKeyDesc;
typedef AEDesc AEDescList;
typedef AEDescList AERecord;
typedef AEDesc AEAddressDesc;
typedef AERecord AppleEvent;
typedef AppleEvent * AppleEventPtr;
typedef SInt16 AEReturnID;
typedef SInt32 AETransactionID;
typedef FourCharCode AEEventClass;
typedef FourCharCode AEEventID;
typedef SInt8 AEArrayType;
enum {
kAEDataArray = 0,
kAEPackedArray = 1,
kAEDescArray = 3,
kAEKeyDescArray = 4
};
enum {
kAEHandleArray = 2
};
union AEArrayData {
SInt16 kAEDataArray[1];
char kAEPackedArray[1];
Handle kAEHandleArray[1];
AEDesc kAEDescArray[1];
AEKeyDesc kAEKeyDescArray[1];
};
typedef union AEArrayData AEArrayData;
typedef AEArrayData * AEArrayDataPointer;
typedef SInt16 AESendPriority;
enum {
kAENormalPriority = 0x00000000,
kAEHighPriority = 0x00000001
};
typedef SInt32 AESendMode;
enum {
kAENoReply = 0x00000001,
kAEQueueReply = 0x00000002,
kAEWaitReply = 0x00000003,
kAEDontReconnect = 0x00000080,
kAEWantReceipt = 0x00000200,
kAENeverInteract = 0x00000010,
kAECanInteract = 0x00000020,
kAEAlwaysInteract = 0x00000030,
kAECanSwitchLayer = 0x00000040,
kAEDontRecord = 0x00001000,
kAEDontExecute = 0x00002000,
kAEProcessNonReplyEvents = 0x00008000
};
enum {
kAEDefaultTimeout = -1,
kNoTimeOut = -2
};
typedef OSErr ( * AECoerceDescProcPtr)(const AEDesc *fromDesc, DescType toType, SRefCon handlerRefcon, AEDesc *toDesc);
typedef OSErr ( * AECoercePtrProcPtr)(DescType typeCode, const void *dataPtr, Size dataSize, DescType toType, SRefCon handlerRefcon, AEDesc *result);
typedef AECoerceDescProcPtr AECoerceDescUPP;
typedef AECoercePtrProcPtr AECoercePtrUPP;
# 425 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern AECoerceDescUPP
NewAECoerceDescUPP(AECoerceDescProcPtr userRoutine) ;
# 436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern AECoercePtrUPP
NewAECoercePtrUPP(AECoercePtrProcPtr userRoutine) ;
# 447 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
DisposeAECoerceDescUPP(AECoerceDescUPP userUPP) ;
# 458 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
DisposeAECoercePtrUPP(AECoercePtrUPP userUPP) ;
# 469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
InvokeAECoerceDescUPP(
const AEDesc * fromDesc,
DescType toType,
SRefCon handlerRefcon,
AEDesc * toDesc,
AECoerceDescUPP userUPP) ;
# 485 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
InvokeAECoercePtrUPP(
DescType typeCode,
const void * dataPtr,
Size dataSize,
DescType toType,
SRefCon handlerRefcon,
AEDesc * result,
AECoercePtrUPP userUPP) ;
# 504 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
#define NewAECoerceDescUPP(userRoutine) ((AECoerceDescUPP)userRoutine)
#define NewAECoercePtrUPP(userRoutine) ((AECoercePtrUPP)userRoutine)
#define DisposeAECoerceDescUPP(userUPP)
#define DisposeAECoercePtrUPP(userUPP)
#define InvokeAECoerceDescUPP(fromDesc,toType,handlerRefcon,toDesc,userUPP) (*userUPP)(fromDesc, toType, handlerRefcon, toDesc)
#define InvokeAECoercePtrUPP(typeCode,dataPtr,dataSize,toType,handlerRefcon,result,userUPP) (*userUPP)(typeCode, dataPtr, dataSize, toType, handlerRefcon, result)
typedef AECoerceDescUPP AECoercionHandlerUPP;
# 583 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEInstallCoercionHandler(
DescType fromType,
DescType toType,
AECoercionHandlerUPP handler,
SRefCon handlerRefcon,
Boolean fromTypeIsDesc,
Boolean isSysHandler) ;
# 629 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AERemoveCoercionHandler(
DescType fromType,
DescType toType,
AECoercionHandlerUPP handler,
Boolean isSysHandler) ;
# 684 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetCoercionHandler(
DescType fromType,
DescType toType,
AECoercionHandlerUPP * handler,
SRefCon * handlerRefcon,
Boolean * fromTypeIsDesc,
Boolean isSysHandler) ;
# 734 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECoercePtr(
DescType typeCode,
const void * dataPtr,
Size dataSize,
DescType toType,
AEDesc * result) ;
# 774 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECoerceDesc(
const AEDesc * theAEDesc,
DescType toType,
AEDesc * result) ;
# 810 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
AEInitializeDesc(AEDesc * desc) ;
#define AEInitializeDescInline(__d) do { AEDesc* d = __d; d->descriptorType = typeNull; d->dataHandle = NULL; } while (0)
# 865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECreateDesc(
DescType typeCode,
const void * dataPtr,
Size dataSize,
AEDesc * result) ;
# 907 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEDisposeDesc(AEDesc * theAEDesc) ;
# 951 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEDuplicateDesc(
const AEDesc * theAEDesc,
AEDesc * result) ;
typedef void ( * AEDisposeExternalProcPtr)(const void *dataPtr, Size dataLength, SRefCon refcon);
typedef AEDisposeExternalProcPtr AEDisposeExternalUPP;
# 1032 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSStatus
AECreateDescFromExternalPtr(
OSType descriptorType,
const void * dataPtr,
Size dataLength,
AEDisposeExternalUPP disposeCallback,
SRefCon disposeRefcon,
AEDesc * theDesc) ;
# 1088 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECreateList(
const void * factoringPtr,
Size factoredSize,
Boolean isRecord,
AEDescList * resultList) ;
# 1120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECountItems(
const AEDescList * theAEDescList,
long * theCount) ;
# 1165 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutPtr(
AEDescList * theAEDescList,
long index,
DescType typeCode,
const void * dataPtr,
Size dataSize) ;
# 1207 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutDesc(
AEDescList * theAEDescList,
long index,
const AEDesc * theAEDesc) ;
# 1266 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetNthPtr(
const AEDescList * theAEDescList,
long index,
DescType desiredType,
AEKeyword * theAEKeyword,
DescType * typeCode,
void * dataPtr,
Size maximumSize,
Size * actualSize) ;
# 1317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetNthDesc(
const AEDescList * theAEDescList,
long index,
DescType desiredType,
AEKeyword * theAEKeyword,
AEDesc * result) ;
# 1352 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AESizeOfNthItem(
const AEDescList * theAEDescList,
long index,
DescType * typeCode,
Size * dataSize) ;
# 1401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetArray(
const AEDescList * theAEDescList,
AEArrayType arrayType,
AEArrayDataPointer arrayPtr,
Size maximumSize,
DescType * itemType,
Size * itemSize,
long * itemCount) ;
# 1449 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutArray(
AEDescList * theAEDescList,
AEArrayType arrayType,
const AEArrayData * arrayPtr,
DescType itemType,
Size itemSize,
long itemCount) ;
# 1481 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEDeleteItem(
AEDescList * theAEDescList,
long index) ;
# 1508 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern Boolean
AECheckIsRecord(const AEDesc * theDesc) ;
# 1523 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
#define AEPutKeyPtr(theAERecord,theAEKeyword,typeCode,dataPtr,dataSize) AEPutParamPtr((theAERecord), (theAEKeyword), (typeCode), (dataPtr), (dataSize))
#define AEPutKeyDesc(theAERecord,theAEKeyword,theAEDesc) AEPutParamDesc((theAERecord), (theAEKeyword), (theAEDesc))
#define AEGetKeyPtr(theAERecord,theAEKeyword,desiredType,typeCode,dataPtr,maxSize,actualSize) AEGetParamPtr((theAERecord), (theAEKeyword), (desiredType), (typeCode), (dataPtr), (maxSize), (actualSize))
#define AEGetKeyDesc(theAERecord,theAEKeyword,desiredType,result) AEGetParamDesc((theAERecord), (theAEKeyword), (desiredType), (result))
#define AESizeOfKeyDesc(theAERecord,theAEKeyword,typeCode,dataSize) AESizeOfParam((theAERecord), (theAEKeyword), (typeCode), (dataSize))
#define AEDeleteKeyDesc(theAERecord,theAEKeyword) AEDeleteParam((theAERecord), (theAEKeyword))
# 1608 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AECreateAppleEvent(
AEEventClass theAEEventClass,
AEEventID theAEEventID,
const AEAddressDesc * target,
AEReturnID returnID,
AETransactionID transactionID,
AppleEvent * result) ;
# 1660 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutParamPtr(
AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType typeCode,
const void * dataPtr,
Size dataSize) ;
# 1698 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutParamDesc(
AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
const AEDesc * theAEDesc) ;
# 1793 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetParamPtr(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType desiredType,
DescType * actualType,
void * dataPtr,
Size maximumSize,
Size * actualSize) ;
# 1858 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetParamDesc(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType desiredType,
AEDesc * result) ;
# 1898 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AESizeOfParam(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType * typeCode,
Size * dataSize) ;
# 1930 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEDeleteParam(
AppleEvent * theAppleEvent,
AEKeyword theAEKeyword) ;
# 2020 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetAttributePtr(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType desiredType,
DescType * typeCode,
void * dataPtr,
Size maximumSize,
Size * actualSize) ;
# 2081 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetAttributeDesc(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType desiredType,
AEDesc * result) ;
# 2120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AESizeOfAttribute(
const AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType * typeCode,
Size * dataSize) ;
# 2164 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutAttributePtr(
AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
DescType typeCode,
const void * dataPtr,
Size dataSize) ;
# 2213 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEPutAttributeDesc(
AppleEvent * theAppleEvent,
AEKeyword theAEKeyword,
const AEDesc * theAEDesc) ;
# 2253 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern Size
AESizeOfFlattenedDesc(const AEDesc * theAEDesc) ;
# 2300 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSStatus
AEFlattenDesc(
const AEDesc * theAEDesc,
Ptr buffer,
Size bufferSize,
Size * actualSize) ;
# 2337 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSStatus
AEUnflattenDesc(
const void * buffer,
AEDesc * result) ;
# 2382 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEGetDescData(
const AEDesc * theAEDesc,
void * dataPtr,
Size maximumSize) ;
# 2409 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern Size
AEGetDescDataSize(const AEDesc * theAEDesc) ;
# 2443 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
AEReplaceDescData(
DescType typeCode,
const void * dataPtr,
Size dataSize,
AEDesc * theAEDesc) ;
# 2488 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSStatus
AEGetDescDataRange(
const AEDesc * dataDesc,
void * buffer,
Size offset,
Size length) ;
typedef OSErr ( * AEEventHandlerProcPtr)(const AppleEvent *theAppleEvent, AppleEvent *reply, SRefCon handlerRefcon);
typedef AEEventHandlerProcPtr AEEventHandlerUPP;
# 2509 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern AEDisposeExternalUPP
NewAEDisposeExternalUPP(AEDisposeExternalProcPtr userRoutine) ;
# 2520 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern AEEventHandlerUPP
NewAEEventHandlerUPP(AEEventHandlerProcPtr userRoutine) ;
# 2531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
DisposeAEDisposeExternalUPP(AEDisposeExternalUPP userUPP) ;
# 2542 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
DisposeAEEventHandlerUPP(AEEventHandlerUPP userUPP) ;
# 2553 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern void
InvokeAEDisposeExternalUPP(
const void * dataPtr,
Size dataLength,
SRefCon refcon,
AEDisposeExternalUPP userUPP) ;
# 2568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
extern OSErr
InvokeAEEventHandlerUPP(
const AppleEvent * theAppleEvent,
AppleEvent * reply,
SRefCon handlerRefcon,
AEEventHandlerUPP userUPP) ;
# 2584 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h" 3
#define NewAEDisposeExternalUPP(userRoutine) ((AEDisposeExternalUPP)userRoutine)
#define NewAEEventHandlerUPP(userRoutine) ((AEEventHandlerUPP)userRoutine)
#define DisposeAEDisposeExternalUPP(userUPP)
#define DisposeAEEventHandlerUPP(userUPP)
#define InvokeAEDisposeExternalUPP(dataPtr,dataLength,refcon,userUPP) (*userUPP)(dataPtr, dataLength, refcon)
#define InvokeAEEventHandlerUPP(theAppleEvent,reply,handlerRefcon,userUPP) (*userUPP)(theAppleEvent, reply, handlerRefcon)
#pragma pack(pop)
# 26 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
#define __APPLEEVENTS__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
#pragma pack(push, 2)
enum {
keyDirectObject = '----',
keyErrorNumber = 'errn',
keyErrorString = 'errs',
keyProcessSerialNumber = 'psn ',
keyPreDispatch = 'phac',
keySelectProc = 'selh',
keyAERecorderCount = 'recr',
keyAEVersion = 'vers'
};
enum {
kCoreEventClass = 'aevt'
};
enum {
kAEOpenApplication = 'oapp',
kAEOpenDocuments = 'odoc',
kAEPrintDocuments = 'pdoc',
kAEOpenContents = 'ocon',
kAEQuitApplication = 'quit',
kAEAnswer = 'ansr',
kAEApplicationDied = 'obit',
kAEShowPreferences = 'pref'
};
enum {
kAEStartRecording = 'reca',
kAEStopRecording = 'recc',
kAENotifyStartRecording = 'rec1',
kAENotifyStopRecording = 'rec0',
kAENotifyRecording = 'recr'
};
# 99 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
typedef SInt8 AEEventSource;
enum {
kAEUnknownSource = 0,
kAEDirectCall = 1,
kAESameProcess = 2,
kAELocalProcess = 3,
kAERemoteProcess = 4
};
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AEInstallEventHandler(
AEEventClass theAEEventClass,
AEEventID theAEEventID,
AEEventHandlerUPP handler,
SRefCon handlerRefcon,
Boolean isSysHandler) ;
# 142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AERemoveEventHandler(
AEEventClass theAEEventClass,
AEEventID theAEEventID,
AEEventHandlerUPP handler,
Boolean isSysHandler) ;
# 161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AEGetEventHandler(
AEEventClass theAEEventClass,
AEEventID theAEEventID,
AEEventHandlerUPP * handler,
SRefCon * handlerRefcon,
Boolean isSysHandler) ;
# 187 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AEInstallSpecialHandler(
AEKeyword functionClass,
AEEventHandlerUPP handler,
Boolean isSysHandler) ;
# 205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AERemoveSpecialHandler(
AEKeyword functionClass,
AEEventHandlerUPP handler,
Boolean isSysHandler) ;
# 223 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AEGetSpecialHandler(
AEKeyword functionClass,
AEEventHandlerUPP * handler,
Boolean isSysHandler) ;
# 248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern OSErr
AEManagerInfo(
AEKeyword keyWord,
long * result) ;
# 288 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern const CFStringRef kAERemoteProcessURLKey ;
# 301 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern const CFStringRef kAERemoteProcessNameKey ;
# 314 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern const CFStringRef kAERemoteProcessUserIDKey ;
# 327 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern const CFStringRef kAERemoteProcessProcessIDKey ;
# 337 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
struct AERemoteProcessResolverContext {
CFIndex version;
void * info;
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
};
typedef struct AERemoteProcessResolverContext AERemoteProcessResolverContext;
# 376 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
typedef struct AERemoteProcessResolver* AERemoteProcessResolverRef;
# 409 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern AERemoteProcessResolverRef
AECreateRemoteProcessResolver(
CFAllocatorRef allocator,
CFURLRef url) ;
# 436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern void
AEDisposeRemoteProcessResolver(AERemoteProcessResolverRef ref) ;
# 477 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern CFArrayRef
AERemoteProcessResolverGetProcesses(
AERemoteProcessResolverRef ref,
CFStreamError * outError) ;
# 492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
typedef void ( * AERemoteProcessResolverCallback)(AERemoteProcessResolverRef ref, void *info);
# 532 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AppleEvents.h" 3
extern void
AERemoteProcessResolverScheduleWithRunLoop(
AERemoteProcessResolverRef ref,
CFRunLoopRef runLoop,
CFStringRef runLoopMode,
AERemoteProcessResolverCallback callback,
const AERemoteProcessResolverContext * ctx) ;
#pragma pack(pop)
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
#define __AEPACKOBJECT__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
extern OSErr
CreateOffsetDescriptor(
long theOffset,
AEDesc * theDescriptor) ;
# 64 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
extern OSErr
CreateCompDescriptor(
DescType comparisonOperator,
AEDesc * operand1,
AEDesc * operand2,
Boolean disposeInputs,
AEDesc * theDescriptor) ;
# 84 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
extern OSErr
CreateLogicalDescriptor(
AEDescList * theLogicalTerms,
DescType theLogicOperator,
Boolean disposeInputs,
AEDesc * theDescriptor) ;
# 104 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
extern OSErr
CreateObjSpecifier(
DescType desiredClass,
AEDesc * theContainer,
DescType keyForm,
AEDesc * keyData,
Boolean disposeInputs,
AEDesc * objSpecifier) ;
# 125 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEPackObject.h" 3
extern OSErr
CreateRangeDescriptor(
AEDesc * rangeStart,
AEDesc * rangeStop,
Boolean disposeInputs,
AEDesc * theDescriptor) ;
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
#define __AEOBJECTS__
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
#pragma pack(push, 2)
enum {
kAEAND = 'AND ',
kAEOR = 'OR ',
kAENOT = 'NOT ',
kAEFirst = 'firs',
kAELast = 'last',
kAEMiddle = 'midd',
kAEAny = 'any ',
kAEAll = 'all ',
kAENext = 'next',
kAEPrevious = 'prev',
keyAECompOperator = 'relo',
keyAELogicalTerms = 'term',
keyAELogicalOperator = 'logc',
keyAEObject1 = 'obj1',
keyAEObject2 = 'obj2',
keyAEDesiredClass = 'want',
keyAEContainer = 'from',
keyAEKeyForm = 'form',
keyAEKeyData = 'seld'
};
enum {
keyAERangeStart = 'star',
keyAERangeStop = 'stop',
keyDisposeTokenProc = 'xtok',
keyAECompareProc = 'cmpr',
keyAECountProc = 'cont',
keyAEMarkTokenProc = 'mkid',
keyAEMarkProc = 'mark',
keyAEAdjustMarksProc = 'adjm',
keyAEGetErrDescProc = 'indc'
};
enum {
formAbsolutePosition = 'indx',
formRelativePosition = 'rele',
formTest = 'test',
formRange = 'rang',
formPropertyID = 'prop',
formName = 'name',
formUniqueID = 'ID ',
typeObjectSpecifier = 'obj ',
typeObjectBeingExamined = 'exmn',
typeCurrentContainer = 'ccnt',
typeToken = 'toke',
typeRelativeDescriptor = 'rel ',
typeAbsoluteOrdinal = 'abso',
typeIndexDescriptor = 'inde',
typeRangeDescriptor = 'rang',
typeLogicalDescriptor = 'logi',
typeCompDescriptor = 'cmpd',
typeOSLTokenList = 'ostl'
};
enum {
kAEIDoMinimum = 0x0000,
kAEIDoWhose = 0x0001,
kAEIDoMarking = 0x0004,
kAEPassSubDescs = 0x0008,
kAEResolveNestedLists = 0x0010,
kAEHandleSimpleRanges = 0x0020,
kAEUseRelativeIterators = 0x0040
};
enum {
typeWhoseDescriptor = 'whos',
formWhose = 'whos',
typeWhoseRange = 'wrng',
keyAEWhoseRangeStart = 'wstr',
keyAEWhoseRangeStop = 'wstp',
keyAEIndex = 'kidx',
keyAETest = 'ktst'
};
struct ccntTokenRecord {
DescType tokenClass;
AEDesc token;
};
typedef struct ccntTokenRecord ccntTokenRecord;
typedef ccntTokenRecord * ccntTokenRecPtr;
typedef ccntTokenRecPtr * ccntTokenRecHandle;
typedef OSErr ( * OSLAccessorProcPtr)(DescType desiredClass, const AEDesc *container, DescType containerClass, DescType form, const AEDesc *selectionData, AEDesc *value, SRefCon accessorRefcon);
typedef OSErr ( * OSLCompareProcPtr)(DescType oper, const AEDesc *obj1, const AEDesc *obj2, Boolean *result);
typedef OSErr ( * OSLCountProcPtr)(DescType desiredType, DescType containerClass, const AEDesc *container, long *result);
typedef OSErr ( * OSLDisposeTokenProcPtr)(AEDesc * unneededToken);
typedef OSErr ( * OSLGetMarkTokenProcPtr)(const AEDesc *dContainerToken, DescType containerClass, AEDesc *result);
typedef OSErr ( * OSLGetErrDescProcPtr)(AEDesc ** appDescPtr);
typedef OSErr ( * OSLMarkProcPtr)(const AEDesc *dToken, const AEDesc *markToken, long index);
typedef OSErr ( * OSLAdjustMarksProcPtr)(long newStart, long newStop, const AEDesc *markToken);
typedef OSLAccessorProcPtr OSLAccessorUPP;
typedef OSLCompareProcPtr OSLCompareUPP;
typedef OSLCountProcPtr OSLCountUPP;
typedef OSLDisposeTokenProcPtr OSLDisposeTokenUPP;
typedef OSLGetMarkTokenProcPtr OSLGetMarkTokenUPP;
typedef OSLGetErrDescProcPtr OSLGetErrDescUPP;
typedef OSLMarkProcPtr OSLMarkUPP;
typedef OSLAdjustMarksProcPtr OSLAdjustMarksUPP;
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLAccessorUPP
NewOSLAccessorUPP(OSLAccessorProcPtr userRoutine) ;
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLCompareUPP
NewOSLCompareUPP(OSLCompareProcPtr userRoutine) ;
# 193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLCountUPP
NewOSLCountUPP(OSLCountProcPtr userRoutine) ;
# 204 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLDisposeTokenUPP
NewOSLDisposeTokenUPP(OSLDisposeTokenProcPtr userRoutine) ;
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLGetMarkTokenUPP
NewOSLGetMarkTokenUPP(OSLGetMarkTokenProcPtr userRoutine) ;
# 226 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLGetErrDescUPP
NewOSLGetErrDescUPP(OSLGetErrDescProcPtr userRoutine) ;
# 237 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLMarkUPP
NewOSLMarkUPP(OSLMarkProcPtr userRoutine) ;
# 248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSLAdjustMarksUPP
NewOSLAdjustMarksUPP(OSLAdjustMarksProcPtr userRoutine) ;
# 259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLAccessorUPP(OSLAccessorUPP userUPP) ;
# 270 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLCompareUPP(OSLCompareUPP userUPP) ;
# 281 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLCountUPP(OSLCountUPP userUPP) ;
# 292 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLDisposeTokenUPP(OSLDisposeTokenUPP userUPP) ;
# 303 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLGetMarkTokenUPP(OSLGetMarkTokenUPP userUPP) ;
# 314 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLGetErrDescUPP(OSLGetErrDescUPP userUPP) ;
# 325 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLMarkUPP(OSLMarkUPP userUPP) ;
# 336 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern void
DisposeOSLAdjustMarksUPP(OSLAdjustMarksUPP userUPP) ;
# 347 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLAccessorUPP(
DescType desiredClass,
const AEDesc * container,
DescType containerClass,
DescType form,
const AEDesc * selectionData,
AEDesc * value,
SRefCon accessorRefcon,
OSLAccessorUPP userUPP) ;
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLCompareUPP(
DescType oper,
const AEDesc * obj1,
const AEDesc * obj2,
Boolean * result,
OSLCompareUPP userUPP) ;
# 382 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLCountUPP(
DescType desiredType,
DescType containerClass,
const AEDesc * container,
long * result,
OSLCountUPP userUPP) ;
# 398 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLDisposeTokenUPP(
AEDesc * unneededToken,
OSLDisposeTokenUPP userUPP) ;
# 411 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLGetMarkTokenUPP(
const AEDesc * dContainerToken,
DescType containerClass,
AEDesc * result,
OSLGetMarkTokenUPP userUPP) ;
# 426 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLGetErrDescUPP(
AEDesc ** appDescPtr,
OSLGetErrDescUPP userUPP) ;
# 439 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLMarkUPP(
const AEDesc * dToken,
const AEDesc * markToken,
long index,
OSLMarkUPP userUPP) ;
# 454 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
InvokeOSLAdjustMarksUPP(
long newStart,
long newStop,
const AEDesc * markToken,
OSLAdjustMarksUPP userUPP) ;
# 488 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
#define NewOSLAccessorUPP(userRoutine) ((OSLAccessorUPP)userRoutine)
#define NewOSLCompareUPP(userRoutine) ((OSLCompareUPP)userRoutine)
#define NewOSLCountUPP(userRoutine) ((OSLCountUPP)userRoutine)
#define NewOSLDisposeTokenUPP(userRoutine) ((OSLDisposeTokenUPP)userRoutine)
#define NewOSLGetMarkTokenUPP(userRoutine) ((OSLGetMarkTokenUPP)userRoutine)
#define NewOSLGetErrDescUPP(userRoutine) ((OSLGetErrDescUPP)userRoutine)
#define NewOSLMarkUPP(userRoutine) ((OSLMarkUPP)userRoutine)
#define NewOSLAdjustMarksUPP(userRoutine) ((OSLAdjustMarksUPP)userRoutine)
#define DisposeOSLAccessorUPP(userUPP)
#define DisposeOSLCompareUPP(userUPP)
#define DisposeOSLCountUPP(userUPP)
#define DisposeOSLDisposeTokenUPP(userUPP)
#define DisposeOSLGetMarkTokenUPP(userUPP)
#define DisposeOSLGetErrDescUPP(userUPP)
#define DisposeOSLMarkUPP(userUPP)
#define DisposeOSLAdjustMarksUPP(userUPP)
#define InvokeOSLAccessorUPP(desiredClass,container,containerClass,form,selectionData,value,accessorRefcon,userUPP) (*userUPP)(desiredClass, container, containerClass, form, selectionData, value, accessorRefcon)
#define InvokeOSLCompareUPP(oper,obj1,obj2,result,userUPP) (*userUPP)(oper, obj1, obj2, result)
#define InvokeOSLCountUPP(desiredType,containerClass,container,result,userUPP) (*userUPP)(desiredType, containerClass, container, result)
#define InvokeOSLDisposeTokenUPP(unneededToken,userUPP) (*userUPP)(unneededToken)
#define InvokeOSLGetMarkTokenUPP(dContainerToken,containerClass,result,userUPP) (*userUPP)(dContainerToken, containerClass, result)
#define InvokeOSLGetErrDescUPP(appDescPtr,userUPP) (*userUPP)(appDescPtr)
#define InvokeOSLMarkUPP(dToken,markToken,index,userUPP) (*userUPP)(dToken, markToken, index)
#define InvokeOSLAdjustMarksUPP(newStart,newStop,markToken,userUPP) (*userUPP)(newStart, newStop, markToken)
# 529 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AEObjectInit(void) ;
# 546 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AESetObjectCallbacks(
OSLCompareUPP myCompareProc,
OSLCountUPP myCountProc,
OSLDisposeTokenUPP myDisposeTokenProc,
OSLGetMarkTokenUPP myGetMarkTokenProc,
OSLMarkUPP myMarkProc,
OSLAdjustMarksUPP myAdjustMarksProc,
OSLGetErrDescUPP myGetErrDescProcPtr) ;
# 568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AEResolve(
const AEDesc * objectSpecifier,
short callbackFlags,
AEDesc * theToken) ;
# 586 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AEInstallObjectAccessor(
DescType desiredClass,
DescType containerType,
OSLAccessorUPP theAccessor,
SRefCon accessorRefcon,
Boolean isSysHandler) ;
# 606 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AERemoveObjectAccessor(
DescType desiredClass,
DescType containerType,
OSLAccessorUPP theAccessor,
Boolean isSysHandler) ;
# 625 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AEGetObjectAccessor(
DescType desiredClass,
DescType containerType,
OSLAccessorUPP * accessor,
SRefCon * accessorRefcon,
Boolean isSysHandler) ;
# 645 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AEDisposeToken(AEDesc * theToken) ;
# 660 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h" 3
extern OSErr
AECallObjectAccessor(
DescType desiredClass,
const AEDesc * containerToken,
DescType containerClass,
DescType keyForm,
const AEDesc * keyData,
AEDesc * token) ;
#pragma pack(pop)
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h" 3
#define __AEREGISTRY__
# 35 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h" 3
#pragma pack(push, 2)
enum {
cAEList = 'list',
cApplication = 'capp',
cArc = 'carc',
cBoolean = 'bool',
cCell = 'ccel',
cChar = 'cha ',
cColorTable = 'clrt',
cColumn = 'ccol',
cDocument = 'docu',
cDrawingArea = 'cdrw',
cEnumeration = 'enum',
cFile = 'file',
cFixed = 'fixd',
cFixedPoint = 'fpnt',
cFixedRectangle = 'frct',
cGraphicLine = 'glin',
cGraphicObject = 'cgob',
cGraphicShape = 'cgsh',
cGraphicText = 'cgtx',
cGroupedGraphic = 'cpic'
};
enum {
cInsertionLoc = 'insl',
cInsertionPoint = 'cins',
cIntlText = 'itxt',
cIntlWritingCode = 'intl',
cItem = 'citm',
cLine = 'clin',
cLongDateTime = 'ldt ',
cLongFixed = 'lfxd',
cLongFixedPoint = 'lfpt',
cLongFixedRectangle = 'lfrc',
cLongInteger = 'long',
cLongPoint = 'lpnt',
cLongRectangle = 'lrct',
cMachineLoc = 'mLoc',
cMenu = 'cmnu',
cMenuItem = 'cmen',
cObject = 'cobj',
cObjectSpecifier = 'obj ',
cOpenableObject = 'coob',
cOval = 'covl'
};
enum {
cParagraph = 'cpar',
cPICT = 'PICT',
cPixel = 'cpxl',
cPixelMap = 'cpix',
cPolygon = 'cpgn',
cProperty = 'prop',
cQDPoint = 'QDpt',
cQDRectangle = 'qdrt',
cRectangle = 'crec',
cRGBColor = 'cRGB',
cRotation = 'trot',
cRoundedRectangle = 'crrc',
cRow = 'crow',
cSelection = 'csel',
cShortInteger = 'shor',
cTable = 'ctbl',
cText = 'ctxt',
cTextFlow = 'cflo',
cTextStyles = 'tsty',
cType = 'type'
};
enum {
cVersion = 'vers',
cWindow = 'cwin',
cWord = 'cwor',
enumArrows = 'arro',
enumJustification = 'just',
enumKeyForm = 'kfrm',
enumPosition = 'posi',
enumProtection = 'prtn',
enumQuality = 'qual',
enumSaveOptions = 'savo',
enumStyle = 'styl',
enumTransferMode = 'tran',
kAEAbout = 'abou',
kAEAfter = 'afte',
kAEAliasSelection = 'sali',
kAEAllCaps = 'alcp',
kAEArrowAtEnd = 'aren',
kAEArrowAtStart = 'arst',
kAEArrowBothEnds = 'arbo'
};
enum {
kAEAsk = 'ask ',
kAEBefore = 'befo',
kAEBeginning = 'bgng',
kAEBeginsWith = 'bgwt',
kAEBeginTransaction = 'begi',
kAEBold = 'bold',
kAECaseSensEquals = 'cseq',
kAECentered = 'cent',
kAEChangeView = 'view',
kAEClone = 'clon',
kAEClose = 'clos',
kAECondensed = 'cond',
kAEContains = 'cont',
kAECopy = 'copy',
kAECoreSuite = 'core',
kAECountElements = 'cnte',
kAECreateElement = 'crel',
kAECreatePublisher = 'cpub',
kAECut = 'cut ',
kAEDelete = 'delo'
};
enum {
kAEDoObjectsExist = 'doex',
kAEDoScript = 'dosc',
kAEDrag = 'drag',
kAEDuplicateSelection = 'sdup',
kAEEditGraphic = 'edit',
kAEEmptyTrash = 'empt',
kAEEnd = 'end ',
kAEEndsWith = 'ends',
kAEEndTransaction = 'endt',
kAEEquals = '= ',
kAEExpanded = 'pexp',
kAEFast = 'fast',
kAEFinderEvents = 'FNDR',
kAEFormulaProtect = 'fpro',
kAEFullyJustified = 'full',
kAEGetClassInfo = 'qobj',
kAEGetData = 'getd',
kAEGetDataSize = 'dsiz',
kAEGetEventInfo = 'gtei',
kAEGetInfoSelection = 'sinf'
};
enum {
kAEGetPrivilegeSelection = 'sprv',
kAEGetSuiteInfo = 'gtsi',
kAEGreaterThan = '> ',
kAEGreaterThanEquals = '>= ',
kAEGrow = 'grow',
kAEHidden = 'hidn',
kAEHiQuality = 'hiqu',
kAEImageGraphic = 'imgr',
kAEIsUniform = 'isun',
kAEItalic = 'ital',
kAELeftJustified = 'left',
kAELessThan = '< ',
kAELessThanEquals = '<= ',
kAELowercase = 'lowc',
kAEMakeObjectsVisible = 'mvis',
kAEMiscStandards = 'misc',
kAEModifiable = 'modf',
kAEMove = 'move',
kAENo = 'no ',
kAENoArrow = 'arno'
};
enum {
kAENonmodifiable = 'nmod',
kAEOpen = 'odoc',
kAEOpenSelection = 'sope',
kAEOutline = 'outl',
kAEPageSetup = 'pgsu',
kAEPaste = 'past',
kAEPlain = 'plan',
kAEPrint = 'pdoc',
kAEPrintSelection = 'spri',
kAEPrintWindow = 'pwin',
kAEPutAwaySelection = 'sput',
kAEQDAddOver = 'addo',
kAEQDAddPin = 'addp',
kAEQDAdMax = 'admx',
kAEQDAdMin = 'admn',
kAEQDBic = 'bic ',
kAEQDBlend = 'blnd',
kAEQDCopy = 'cpy ',
kAEQDNotBic = 'nbic',
kAEQDNotCopy = 'ncpy'
};
enum {
kAEQDNotOr = 'ntor',
kAEQDNotXor = 'nxor',
kAEQDOr = 'or ',
kAEQDSubOver = 'subo',
kAEQDSubPin = 'subp',
kAEQDSupplementalSuite = 'qdsp',
kAEQDXor = 'xor ',
kAEQuickdrawSuite = 'qdrw',
kAEQuitAll = 'quia',
kAERedo = 'redo',
kAERegular = 'regl',
kAEReopenApplication = 'rapp',
kAEReplace = 'rplc',
kAERequiredSuite = 'reqd',
kAERestart = 'rest',
kAERevealSelection = 'srev',
kAERevert = 'rvrt',
kAERightJustified = 'rght',
kAESave = 'save',
kAESelect = 'slct',
kAESetData = 'setd'
};
enum {
kAESetPosition = 'posn',
kAEShadow = 'shad',
kAEShowClipboard = 'shcl',
kAEShutDown = 'shut',
kAESleep = 'slep',
kAESmallCaps = 'smcp',
kAESpecialClassProperties = 'c@#!',
kAEStrikethrough = 'strk',
kAESubscript = 'sbsc',
kAESuperscript = 'spsc',
kAETableSuite = 'tbls',
kAETextSuite = 'TEXT',
kAETransactionTerminated = 'ttrm',
kAEUnderline = 'undl',
kAEUndo = 'undo',
kAEWholeWordEquals = 'wweq',
kAEYes = 'yes ',
kAEZoom = 'zoom'
};
enum {
kAELogOut = 'logo',
kAEReallyLogOut = 'rlgo',
kAEShowRestartDialog = 'rrst',
kAEShowShutdownDialog = 'rsdn'
};
enum {
kAEMouseClass = 'mous',
kAEDown = 'down',
kAEUp = 'up ',
kAEMoved = 'move',
kAEStoppedMoving = 'stop',
kAEWindowClass = 'wind',
kAEUpdate = 'updt',
kAEActivate = 'actv',
kAEDeactivate = 'dact',
kAECommandClass = 'cmnd',
kAEKeyClass = 'keyc',
kAERawKey = 'rkey',
kAEVirtualKey = 'keyc',
kAENavigationKey = 'nave',
kAEAutoDown = 'auto',
kAEApplicationClass = 'appl',
kAESuspend = 'susp',
kAEResume = 'rsme',
kAEDiskEvent = 'disk',
kAENullEvent = 'null',
kAEWakeUpEvent = 'wake',
kAEScrapEvent = 'scrp',
kAEHighLevel = 'high'
};
enum {
keyAEAngle = 'kang',
keyAEArcAngle = 'parc'
};
enum {
keyAEBaseAddr = 'badd',
keyAEBestType = 'pbst',
keyAEBgndColor = 'kbcl',
keyAEBgndPattern = 'kbpt',
keyAEBounds = 'pbnd',
keyAECellList = 'kclt',
keyAEClassID = 'clID',
keyAEColor = 'colr',
keyAEColorTable = 'cltb',
keyAECurveHeight = 'kchd',
keyAECurveWidth = 'kcwd',
keyAEDashStyle = 'pdst',
keyAEData = 'data',
keyAEDefaultType = 'deft',
keyAEDefinitionRect = 'pdrt',
keyAEDescType = 'dstp',
keyAEDestination = 'dest',
keyAEDoAntiAlias = 'anta',
keyAEDoDithered = 'gdit',
keyAEDoRotate = 'kdrt'
};
enum {
keyAEDoScale = 'ksca',
keyAEDoTranslate = 'ktra',
keyAEEditionFileLoc = 'eloc',
keyAEElements = 'elms',
keyAEEndPoint = 'pend',
keyAEEventClass = 'evcl',
keyAEEventID = 'evti',
keyAEFile = 'kfil',
keyAEFileType = 'fltp',
keyAEFillColor = 'flcl',
keyAEFillPattern = 'flpt',
keyAEFlipHorizontal = 'kfho',
keyAEFlipVertical = 'kfvt',
keyAEFont = 'font',
keyAEFormula = 'pfor',
keyAEGraphicObjects = 'gobs',
keyAEID = 'ID ',
keyAEImageQuality = 'gqua',
keyAEInsertHere = 'insh',
keyAEKeyForms = 'keyf'
};
enum {
keyAEKeyword = 'kywd',
keyAELevel = 'levl',
keyAELineArrow = 'arro',
keyAEName = 'pnam',
keyAENewElementLoc = 'pnel',
keyAEObject = 'kobj',
keyAEObjectClass = 'kocl',
keyAEOffStyles = 'ofst',
keyAEOnStyles = 'onst',
keyAEParameters = 'prms',
keyAEParamFlags = 'pmfg',
keyAEPenColor = 'ppcl',
keyAEPenPattern = 'pppa',
keyAEPenWidth = 'ppwd',
keyAEPixelDepth = 'pdpt',
keyAEPixMapMinus = 'kpmm',
keyAEPMTable = 'kpmt',
keyAEPointList = 'ptlt',
keyAEPointSize = 'ptsz',
keyAEPosition = 'kpos'
};
enum {
keyAEPropData = 'prdt',
keyAEProperties = 'qpro',
keyAEProperty = 'kprp',
keyAEPropFlags = 'prfg',
keyAEPropID = 'prop',
keyAEProtection = 'ppro',
keyAERenderAs = 'kren',
keyAERequestedType = 'rtyp',
keyAEResult = '----',
keyAEResultInfo = 'rsin',
keyAERotation = 'prot',
keyAERotPoint = 'krtp',
keyAERowList = 'krls',
keyAESaveOptions = 'savo',
keyAEScale = 'pscl',
keyAEScriptTag = 'psct',
keyAESearchText = 'stxt',
keyAEShowWhere = 'show',
keyAEStartAngle = 'pang',
keyAEStartPoint = 'pstp',
keyAEStyles = 'ksty'
};
enum {
keyAESuiteID = 'suit',
keyAEText = 'ktxt',
keyAETextColor = 'ptxc',
keyAETextFont = 'ptxf',
keyAETextPointSize = 'ptps',
keyAETextStyles = 'txst',
keyAETextLineHeight = 'ktlh',
keyAETextLineAscent = 'ktas',
keyAETheText = 'thtx',
keyAETransferMode = 'pptm',
keyAETranslation = 'ptrs',
keyAETryAsStructGraf = 'toog',
keyAEUniformStyles = 'ustl',
keyAEUpdateOn = 'pupd',
keyAEUserTerm = 'utrm',
keyAEWindow = 'wndw',
keyAEWritingCode = 'wrcd'
};
enum {
keyMiscellaneous = 'fmsc',
keySelection = 'fsel',
keyWindow = 'kwnd',
keyWhen = 'when',
keyWhere = 'wher',
keyModifiers = 'mods',
keyKey = 'key ',
keyKeyCode = 'code',
keyKeyboard = 'keyb',
keyDriveNumber = 'drv#',
keyErrorCode = 'err#',
keyHighLevelClass = 'hcls',
keyHighLevelID = 'hid '
};
enum {
pArcAngle = 'parc',
pBackgroundColor = 'pbcl',
pBackgroundPattern = 'pbpt',
pBestType = 'pbst',
pBounds = 'pbnd',
pClass = 'pcls',
pClipboard = 'pcli',
pColor = 'colr',
pColorTable = 'cltb',
pContents = 'pcnt',
pCornerCurveHeight = 'pchd',
pCornerCurveWidth = 'pcwd',
pDashStyle = 'pdst',
pDefaultType = 'deft',
pDefinitionRect = 'pdrt',
pEnabled = 'enbl',
pEndPoint = 'pend',
pFillColor = 'flcl',
pFillPattern = 'flpt',
pFont = 'font'
};
enum {
pFormula = 'pfor',
pGraphicObjects = 'gobs',
pHasCloseBox = 'hclb',
pHasTitleBar = 'ptit',
pID = 'ID ',
pIndex = 'pidx',
pInsertionLoc = 'pins',
pIsFloating = 'isfl',
pIsFrontProcess = 'pisf',
pIsModal = 'pmod',
pIsModified = 'imod',
pIsResizable = 'prsz',
pIsStationeryPad = 'pspd',
pIsZoomable = 'iszm',
pIsZoomed = 'pzum',
pItemNumber = 'itmn',
pJustification = 'pjst',
pLineArrow = 'arro',
pMenuID = 'mnid',
pName = 'pnam'
};
enum {
pNewElementLoc = 'pnel',
pPenColor = 'ppcl',
pPenPattern = 'pppa',
pPenWidth = 'ppwd',
pPixelDepth = 'pdpt',
pPointList = 'ptlt',
pPointSize = 'ptsz',
pProtection = 'ppro',
pRotation = 'prot',
pScale = 'pscl',
pScript = 'scpt',
pScriptTag = 'psct',
pSelected = 'selc',
pSelection = 'sele',
pStartAngle = 'pang',
pStartPoint = 'pstp',
pTextColor = 'ptxc',
pTextFont = 'ptxf',
pTextItemDelimiters = 'txdl',
pTextPointSize = 'ptps'
};
enum {
pTextStyles = 'txst',
pTransferMode = 'pptm',
pTranslation = 'ptrs',
pUniformStyles = 'ustl',
pUpdateOn = 'pupd',
pUserSelection = 'pusl',
pVersion = 'vers',
pVisible = 'pvis'
};
enum {
typeAEText = 'tTXT',
typeArc = 'carc',
typeBest = 'best',
typeCell = 'ccel',
typeClassInfo = 'gcli',
typeColorTable = 'clrt',
typeColumn = 'ccol',
typeDashStyle = 'tdas',
typeData = 'tdta',
typeDrawingArea = 'cdrw',
typeElemInfo = 'elin',
typeEnumeration = 'enum',
typeEPS = 'EPS ',
typeEventInfo = 'evin'
};
enum {
typeFinderWindow = 'fwin',
typeFixedPoint = 'fpnt',
typeFixedRectangle = 'frct',
typeGraphicLine = 'glin',
typeGraphicText = 'cgtx',
typeGroupedGraphic = 'cpic',
typeInsertionLoc = 'insl',
typeIntlText = 'itxt',
typeIntlWritingCode = 'intl',
typeLongDateTime = 'ldt ',
typeCFAbsoluteTime = 'cfat',
typeISO8601DateTime = 'isot',
typeLongFixed = 'lfxd',
typeLongFixedPoint = 'lfpt',
typeLongFixedRectangle = 'lfrc',
typeLongPoint = 'lpnt',
typeLongRectangle = 'lrct',
typeMachineLoc = 'mLoc',
typeOval = 'covl',
typeParamInfo = 'pmin',
typePict = 'PICT'
};
enum {
typePixelMap = 'cpix',
typePixMapMinus = 'tpmm',
typePolygon = 'cpgn',
typePropInfo = 'pinf',
typePtr = 'ptr ',
typeQDPoint = 'QDpt',
typeQDRegion = 'Qrgn',
typeRectangle = 'crec',
typeRGB16 = 'tr16',
typeRGB96 = 'tr96',
typeRGBColor = 'cRGB',
typeRotation = 'trot',
typeRoundedRectangle = 'crrc',
typeRow = 'crow',
typeScrapStyles = 'styl',
typeScript = 'scpt',
typeStyledText = 'STXT',
typeSuiteInfo = 'suin',
typeTable = 'ctbl',
typeTextStyles = 'tsty'
};
enum {
typeTIFF = 'TIFF',
typeJPEG = 'JPEG',
typeGIF = 'GIFf',
typeVersion = 'vers'
};
enum {
kAEMenuClass = 'menu',
kAEMenuSelect = 'mhit',
kAEMouseDown = 'mdwn',
kAEMouseDownInBack = 'mdbk',
kAEKeyDown = 'kdwn',
kAEResized = 'rsiz',
kAEPromise = 'prom'
};
enum {
keyMenuID = 'mid ',
keyMenuItem = 'mitm',
keyCloseAllWindows = 'caw ',
keyOriginalBounds = 'obnd',
keyNewBounds = 'nbnd',
keyLocalWhere = 'lwhr'
};
enum {
typeHIMenu = 'mobj',
typeHIWindow = 'wobj'
};
enum {
kBySmallIcon = 0,
kByIconView = 1,
kByNameView = 2,
kByDateView = 3,
kBySizeView = 4,
kByKindView = 5,
kByCommentView = 6,
kByLabelView = 7,
kByVersionView = 8
};
enum {
kAEInfo = 11,
kAEMain = 0,
kAESharing = 13
};
enum {
kAEZoomIn = 7,
kAEZoomOut = 8
};
enum {
kTextServiceClass = 'tsvc',
kUpdateActiveInputArea = 'updt',
kShowHideInputWindow = 'shiw',
kPos2Offset = 'p2st',
kOffset2Pos = 'st2p',
kUnicodeNotFromInputMethod = 'unim',
kGetSelectedText = 'gtxt',
keyAETSMDocumentRefcon = 'refc',
keyAEServerInstance = 'srvi',
keyAETheData = 'kdat',
keyAEFixLength = 'fixl',
keyAEUpdateRange = 'udng',
keyAECurrentPoint = 'cpos',
keyAEBufferSize = 'buff',
keyAEMoveView = 'mvvw',
keyAENextBody = 'nxbd',
keyAETSMScriptTag = 'sclg',
keyAETSMTextFont = 'ktxf',
keyAETSMTextFMFont = 'ktxm',
keyAETSMTextPointSize = 'ktps',
keyAETSMEventRecord = 'tevt',
keyAETSMEventRef = 'tevr',
keyAETextServiceEncoding = 'tsen',
keyAETextServiceMacEncoding = 'tmen',
keyAETSMGlyphInfoArray = 'tgia',
typeTextRange = 'txrn',
typeComponentInstance = 'cmpi',
typeOffsetArray = 'ofay',
typeTextRangeArray = 'tray',
typeLowLevelEventRecord = 'evtr',
typeGlyphInfoArray = 'glia',
typeEventRef = 'evrf',
typeText = typeChar
};
enum {
kTSMOutsideOfBody = 1,
kTSMInsideOfBody = 2,
kTSMInsideOfActiveInputArea = 3
};
enum {
kNextBody = 1,
kPreviousBody = 2
};
struct TextRange {
SInt32 fStart;
SInt32 fEnd;
SInt16 fHiliteStyle;
};
typedef struct TextRange TextRange;
typedef TextRange * TextRangePtr;
typedef TextRangePtr * TextRangeHandle;
struct TextRangeArray {
SInt16 fNumOfRanges;
TextRange fRange[1];
};
typedef struct TextRangeArray TextRangeArray;
typedef TextRangeArray * TextRangeArrayPtr;
typedef TextRangeArrayPtr * TextRangeArrayHandle;
struct OffsetArray {
SInt16 fNumOfOffsets;
SInt32 fOffset[1];
};
typedef struct OffsetArray OffsetArray;
typedef OffsetArray * OffsetArrayPtr;
typedef OffsetArrayPtr * OffsetArrayHandle;
struct WritingCode {
ScriptCode theScriptCode;
LangCode theLangCode;
};
typedef struct WritingCode WritingCode;
struct IntlText {
ScriptCode theScriptCode;
LangCode theLangCode;
char theText[1];
};
typedef struct IntlText IntlText;
enum {
kTSMHiliteCaretPosition = 1,
kTSMHiliteRawText = 2,
kTSMHiliteSelectedRawText = 3,
kTSMHiliteConvertedText = 4,
kTSMHiliteSelectedConvertedText = 5,
kTSMHiliteBlockFillText = 6,
kTSMHiliteOutlineText = 7,
kTSMHiliteSelectedText = 8,
kTSMHiliteNoHilite = 9
};
# 744 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h" 3
enum {
keyAEHiliteRange = 'hrng',
keyAEPinRange = 'pnrg',
keyAEClauseOffsets = 'clau',
keyAEOffset = 'ofst',
keyAEPoint = 'gpos',
keyAELeftSide = 'klef',
keyAERegionClass = 'rgnc',
keyAEDragging = 'bool'
};
# 763 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h" 3
enum {
typeMeters = 'metr',
typeInches = 'inch',
typeFeet = 'feet',
typeYards = 'yard',
typeMiles = 'mile',
typeKilometers = 'kmtr',
typeCentimeters = 'cmtr',
typeSquareMeters = 'sqrm',
typeSquareFeet = 'sqft',
typeSquareYards = 'sqyd',
typeSquareMiles = 'sqmi',
typeSquareKilometers = 'sqkm',
typeLiters = 'litr',
typeQuarts = 'qrts',
typeGallons = 'galn',
typeCubicMeters = 'cmet',
typeCubicFeet = 'cfet',
typeCubicInches = 'cuin',
typeCubicCentimeter = 'ccmt',
typeCubicYards = 'cyrd',
typeKilograms = 'kgrm',
typeGrams = 'gram',
typeOunces = 'ozs ',
typePounds = 'lbs ',
typeDegreesC = 'degc',
typeDegreesF = 'degf',
typeDegreesK = 'degk'
};
enum {
kFAServerApp = 'ssrv',
kDoFolderActionEvent = 'fola',
kFolderActionCode = 'actn',
kFolderOpenedEvent = 'fopn',
kFolderClosedEvent = 'fclo',
kFolderWindowMovedEvent = 'fsiz',
kFolderItemsAddedEvent = 'fget',
kFolderItemsRemovedEvent = 'flos',
kItemList = 'flst',
kNewSizeParameter = 'fnsz',
kFASuiteCode = 'faco',
kFAAttachCommand = 'atfa',
kFARemoveCommand = 'rmfa',
kFAEditCommand = 'edfa',
kFAFileParam = 'faal',
kFAIndexParam = 'indx'
};
enum {
kAEInternetSuite = 'gurl',
kAEISWebStarSuite = 0x575757BD
};
enum {
kAEISGetURL = 'gurl',
KAEISHandleCGI = 'sdoc'
};
enum {
cURL = 'url ',
cInternetAddress = 'IPAD',
cHTML = 'html',
cFTPItem = 'ftp '
};
enum {
kAEISHTTPSearchArgs = 'kfor',
kAEISPostArgs = 'post',
kAEISMethod = 'meth',
kAEISClientAddress = 'addr',
kAEISUserName = 'user',
kAEISPassword = 'pass',
kAEISFromUser = 'frmu',
kAEISServerName = 'svnm',
kAEISServerPort = 'svpt',
kAEISScriptName = 'scnm',
kAEISContentType = 'ctyp',
kAEISReferrer = 'refr',
kAEISUserAgent = 'Agnt',
kAEISAction = 'Kact',
kAEISActionPath = 'Kapt',
kAEISClientIP = 'Kcip',
kAEISFullRequest = 'Kfrq'
};
enum {
pScheme = 'pusc',
pHost = 'HOST',
pPath = 'FTPc',
pUserName = 'RAun',
pUserPassword = 'RApw',
pDNSForm = 'pDNS',
pURL = 'pURL',
pTextEncoding = 'ptxe',
pFTPKind = 'kind'
};
enum {
eScheme = 'esch',
eurlHTTP = 'http',
eurlHTTPS = 'htps',
eurlFTP = 'ftp ',
eurlMail = 'mail',
eurlFile = 'file',
eurlGopher = 'gphr',
eurlTelnet = 'tlnt',
eurlNews = 'news',
eurlSNews = 'snws',
eurlNNTP = 'nntp',
eurlMessage = 'mess',
eurlMailbox = 'mbox',
eurlMulti = 'mult',
eurlLaunch = 'laun',
eurlAFP = 'afp ',
eurlAT = 'at ',
eurlEPPC = 'eppc',
eurlRTSP = 'rtsp',
eurlIMAP = 'imap',
eurlNFS = 'unfs',
eurlPOP = 'upop',
eurlLDAP = 'uldp',
eurlUnknown = 'url?'
};
enum {
kConnSuite = 'macc',
cDevSpec = 'cdev',
cAddressSpec = 'cadr',
cADBAddress = 'cadb',
cAppleTalkAddress = 'cat ',
cBusAddress = 'cbus',
cEthernetAddress = 'cen ',
cFireWireAddress = 'cfw ',
cIPAddress = 'cip ',
cLocalTalkAddress = 'clt ',
cSCSIAddress = 'cscs',
cTokenRingAddress = 'ctok',
cUSBAddress = 'cusb',
pDeviceType = 'pdvt',
pDeviceAddress = 'pdva',
pConduit = 'pcon',
pProtocol = 'pprt',
pATMachine = 'patm',
pATZone = 'patz',
pATType = 'patt',
pDottedDecimal = 'pipd',
pDNS = 'pdns',
pPort = 'ppor',
pNetwork = 'pnet',
pNode = 'pnod',
pSocket = 'psoc',
pSCSIBus = 'pscb',
pSCSILUN = 'pslu',
eDeviceType = 'edvt',
eAddressSpec = 'eads',
eConduit = 'econ',
eProtocol = 'epro',
eADB = 'eadb',
eAnalogAudio = 'epau',
eAppleTalk = 'epat',
eAudioLineIn = 'ecai',
eAudioLineOut = 'ecal',
eAudioOut = 'ecao',
eBus = 'ebus',
eCDROM = 'ecd ',
eCommSlot = 'eccm',
eDigitalAudio = 'epda',
eDisplay = 'edds',
eDVD = 'edvd',
eEthernet = 'ecen',
eFireWire = 'ecfw',
eFloppy = 'efd ',
eHD = 'ehd ',
eInfrared = 'ecir',
eIP = 'epip',
eIrDA = 'epir',
eIRTalk = 'epit',
eKeyboard = 'ekbd',
eLCD = 'edlc',
eLocalTalk = 'eclt',
eMacIP = 'epmi',
eMacVideo = 'epmv',
eMicrophone = 'ecmi',
eModemPort = 'ecmp',
eModemPrinterPort = 'empp',
eModem = 'edmm',
eMonitorOut = 'ecmn',
eMouse = 'emou',
eNuBusCard = 'ednb',
eNuBus = 'enub',
ePCcard = 'ecpc',
ePCIbus = 'ecpi',
ePCIcard = 'edpi',
ePDSslot = 'ecpd',
ePDScard = 'epds',
ePointingDevice = 'edpd',
ePostScript = 'epps',
ePPP = 'eppp',
ePrinterPort = 'ecpp',
ePrinter = 'edpr',
eSvideo = 'epsv',
eSCSI = 'ecsc',
eSerial = 'epsr',
eSpeakers = 'edsp',
eStorageDevice = 'edst',
eSVGA = 'epsg',
eTokenRing = 'etok',
eTrackball = 'etrk',
eTrackpad = 'edtp',
eUSB = 'ecus',
eVideoIn = 'ecvi',
eVideoMonitor = 'edvm',
eVideoOut = 'ecvo'
};
enum {
cKeystroke = 'kprs',
pKeystrokeKey = 'kMsg',
pModifiers = 'kMod',
pKeyKind = 'kknd',
eModifiers = 'eMds',
eOptionDown = 'Kopt',
eCommandDown = 'Kcmd',
eControlDown = 'Kctl',
eShiftDown = 'Ksft',
eCapsLockDown = 'Kclk',
eKeyKind = 'ekst',
eEscapeKey = 0x6B733500,
eDeleteKey = 0x6B733300,
eTabKey = 0x6B733000,
eReturnKey = 0x6B732400,
eClearKey = 0x6B734700,
eEnterKey = 0x6B734C00,
eUpArrowKey = 0x6B737E00,
eDownArrowKey = 0x6B737D00,
eLeftArrowKey = 0x6B737B00,
eRightArrowKey = 0x6B737C00,
eHelpKey = 0x6B737200,
eHomeKey = 0x6B737300,
ePageUpKey = 0x6B737400,
ePageDownKey = 0x6B737900,
eForwardDelKey = 0x6B737500,
eEndKey = 0x6B737700,
eF1Key = 0x6B737A00,
eF2Key = 0x6B737800,
eF3Key = 0x6B736300,
eF4Key = 0x6B737600,
eF5Key = 0x6B736000,
eF6Key = 0x6B736100,
eF7Key = 0x6B736200,
eF8Key = 0x6B736400,
eF9Key = 0x6B736500,
eF10Key = 0x6B736D00,
eF11Key = 0x6B736700,
eF12Key = 0x6B736F00,
eF13Key = 0x6B736900,
eF14Key = 0x6B736B00,
eF15Key = 0x6B737100
};
enum {
keyAELaunchedAsLogInItem = 'lgit',
keyAELaunchedAsServiceItem = 'svit'
};
#pragma pack(pop)
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEUserTermTypes.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEUserTermTypes.h" 3
#define __AEUSERTERMTYPES__
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEUserTermTypes.h" 3
#pragma pack(push, 2)
enum {
kAEUserTerminology = 'aeut',
kAETerminologyExtension = 'aete',
kAEScriptingSizeResource = 'scsz',
kAEOSAXSizeResource = 'osiz'
};
enum {
kAEUTHasReturningParam = 31,
kAEUTOptional = 15,
kAEUTlistOfItems = 14,
kAEUTEnumerated = 13,
kAEUTReadWrite = 12,
kAEUTChangesState = 12,
kAEUTTightBindingFunction = 12,
kAEUTEnumsAreTypes = 11,
kAEUTEnumListIsExclusive = 10,
kAEUTReplyIsReference = 9,
kAEUTDirectParamIsReference = 9,
kAEUTParamIsReference = 9,
kAEUTPropertyIsReference = 9,
kAEUTNotDirectParamIsTarget = 8,
kAEUTParamIsTarget = 8,
kAEUTApostrophe = 3,
kAEUTFeminine = 2,
kAEUTMasculine = 1,
kAEUTPlural = 0
};
struct TScriptingSizeResource {
SInt16 scriptingSizeFlags;
UInt32 minStackSize;
UInt32 preferredStackSize;
UInt32 maxStackSize;
UInt32 minHeapSize;
UInt32 preferredHeapSize;
UInt32 maxHeapSize;
};
typedef struct TScriptingSizeResource TScriptingSizeResource;
enum {
kLaunchToGetTerminology = (1 << 15),
kDontFindAppBySignature = (1 << 14),
kAlwaysSendSubject = (1 << 13)
};
enum {
kReadExtensionTermsMask = (1 << 15)
};
enum {
kOSIZDontOpenResourceFile = 15,
kOSIZdontAcceptRemoteEvents = 14,
kOSIZOpenWithReadPermission = 13,
kOSIZCodeInSharedLibraries = 11
};
#pragma pack(pop)
# 46 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 1 3
# 20 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
#define __AEHELPERS__
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
#pragma pack(push, 2)
# 63 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
typedef UInt32 AEBuildErrorCode;
enum {
aeBuildSyntaxNoErr = 0,
aeBuildSyntaxBadToken = 1,
aeBuildSyntaxBadEOF = 2,
aeBuildSyntaxNoEOF = 3,
aeBuildSyntaxBadNegative = 4,
aeBuildSyntaxMissingQuote = 5,
aeBuildSyntaxBadHex = 6,
aeBuildSyntaxOddHex = 7,
aeBuildSyntaxNoCloseHex = 8,
aeBuildSyntaxUncoercedHex = 9,
aeBuildSyntaxNoCloseString = 10,
aeBuildSyntaxBadDesc = 11,
aeBuildSyntaxBadData = 12,
aeBuildSyntaxNoCloseParen = 13,
aeBuildSyntaxNoCloseBracket = 14,
aeBuildSyntaxNoCloseBrace = 15,
aeBuildSyntaxNoKey = 16,
aeBuildSyntaxNoColon = 17,
aeBuildSyntaxCoercedList = 18,
aeBuildSyntaxUncoercedDoubleAt = 19
};
struct AEBuildError {
AEBuildErrorCode fError;
UInt32 fErrorPos;
};
typedef struct AEBuildError AEBuildError;
# 109 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEBuildDesc(
AEDesc * dst,
AEBuildError * error,
const char * src,
...) ;
# 129 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
vAEBuildDesc(
AEDesc * dst,
AEBuildError * error,
const char * src,
va_list args) ;
# 150 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEBuildParameters(
AppleEvent * event,
AEBuildError * error,
const char * format,
...) ;
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
vAEBuildParameters(
AppleEvent * event,
AEBuildError * error,
const char * format,
va_list args) ;
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEBuildAppleEvent(
AEEventClass theClass,
AEEventID theID,
DescType addressType,
const void * addressData,
Size addressLength,
SInt16 returnID,
SInt32 transactionID,
AppleEvent * result,
AEBuildError * error,
const char * paramsFmt,
...) ;
# 217 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
vAEBuildAppleEvent(
AEEventClass theClass,
AEEventID theID,
DescType addressType,
const void * addressData,
Size addressLength,
SInt16 returnID,
SInt32 transactionID,
AppleEvent * resultEvt,
AEBuildError * error,
const char * paramsFmt,
va_list args) ;
# 252 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEPrintDescToHandle(
const AEDesc * desc,
Handle * result) ;
# 268 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
typedef struct OpaqueAEStreamRef* AEStreamRef;
# 284 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern AEStreamRef
AEStreamOpen(void) ;
# 304 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamClose(
AEStreamRef ref,
AEDesc * desc) ;
# 325 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamOpenDesc(
AEStreamRef ref,
DescType newType) ;
# 343 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamWriteData(
AEStreamRef ref,
const void * data,
Size length) ;
# 365 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamCloseDesc(AEStreamRef ref) ;
# 381 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamWriteDesc(
AEStreamRef ref,
DescType newType,
const void * data,
Size length) ;
# 401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamWriteAEDesc(
AEStreamRef ref,
const AEDesc * desc) ;
# 422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamOpenList(AEStreamRef ref) ;
# 438 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamCloseList(AEStreamRef ref) ;
# 457 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamOpenRecord(
AEStreamRef ref,
DescType newType) ;
# 475 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamSetRecordType(
AEStreamRef ref,
DescType newType) ;
# 493 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamCloseRecord(AEStreamRef ref) ;
# 512 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamWriteKeyDesc(
AEStreamRef ref,
AEKeyword key,
DescType newType,
const void * data,
Size length) ;
# 536 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamOpenKeyDesc(
AEStreamRef ref,
AEKeyword key,
DescType newType) ;
# 555 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamWriteKey(
AEStreamRef ref,
AEKeyword key) ;
# 577 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern AEStreamRef
AEStreamCreateEvent(
AEEventClass clazz,
AEEventID id,
DescType targetType,
const void * targetData,
Size targetLength,
SInt16 returnID,
SInt32 transactionID) ;
# 607 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern AEStreamRef
AEStreamOpenEvent(AppleEvent * event) ;
# 623 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h" 3
extern OSStatus
AEStreamOptionalParam(
AEStreamRef ref,
AEKeyword key) ;
#pragma pack(pop)
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
#define __AEMACH__
# 83 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
enum {
keyReplyPortAttr = 'repp'
};
enum {
typeReplyPortAttr = keyReplyPortAttr
};
# 112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
extern mach_port_t
AEGetRegisteredMachPort(void) ;
# 151 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
extern OSStatus
AEDecodeMessage(
mach_msg_header_t * header,
AppleEvent * event,
AppleEvent * reply) ;
# 179 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
extern OSStatus
AEProcessMessage(mach_msg_header_t * header) ;
# 215 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEMach.h" 3
extern OSStatus
AESendMessage(
const AppleEvent * event,
AppleEvent * reply,
AESendMode sendMode,
long timeOutInTicks) ;
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h" 2 3
# 22 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 3
#define __OSSERVICES__
# 29 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/AppleDiskPartitions.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/AppleDiskPartitions.h" 3
#define __APPLEDISKPARTITIONS__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/AppleDiskPartitions.h" 3
#pragma pack(push, 2)
enum {
sbSIGWord = 0x4552,
sbMac = 1
};
enum {
pMapSIG = 0x504D,
pdSigWord = 0x5453,
oldPMSigWord = pdSigWord,
newPMSigWord = pMapSIG
};
struct Block0 {
UInt16 sbSig;
UInt16 sbBlkSize;
UInt32 sbBlkCount;
UInt16 sbDevType;
UInt16 sbDevId;
UInt32 sbData;
UInt16 sbDrvrCount;
UInt32 ddBlock;
UInt16 ddSize;
UInt16 ddType;
UInt16 ddPad[243];
};
typedef struct Block0 Block0;
struct DDMap {
UInt32 ddBlock;
UInt16 ddSize;
UInt16 ddType;
};
typedef struct DDMap DDMap;
enum {
kDriverTypeMacSCSI = 0x0001,
kDriverTypeMacATA = 0x0701,
kDriverTypeMacSCSIChained = 0xFFFF,
kDriverTypeMacATAChained = 0xF8FF
};
struct Partition {
UInt16 pmSig;
UInt16 pmSigPad;
UInt32 pmMapBlkCnt;
UInt32 pmPyPartStart;
UInt32 pmPartBlkCnt;
UInt8 pmPartName[32];
UInt8 pmParType[32];
UInt32 pmLgDataStart;
UInt32 pmDataCnt;
UInt32 pmPartStatus;
UInt32 pmLgBootStart;
UInt32 pmBootSize;
UInt32 pmBootAddr;
UInt32 pmBootAddr2;
UInt32 pmBootEntry;
UInt32 pmBootEntry2;
UInt32 pmBootCksum;
UInt8 pmProcessor[16];
UInt16 pmPad[188];
};
typedef struct Partition Partition;
enum {
kPartitionAUXIsValid = 0x00000001,
kPartitionAUXIsAllocated = 0x00000002,
kPartitionAUXIsInUse = 0x00000004,
kPartitionAUXIsBootValid = 0x00000008,
kPartitionAUXIsReadable = 0x00000010,
kPartitionAUXIsWriteable = 0x00000020,
kPartitionAUXIsBootCodePositionIndependent = 0x00000040,
kPartitionIsWriteable = 0x00000020,
kPartitionIsMountedAtStartup = 0x40000000,
kPartitionIsStartup = (long)0x80000000,
kPartitionIsChainCompatible = 0x00000100,
kPartitionIsRealDeviceDriver = 0x00000200,
kPartitionCanChainToNext = 0x00000400
};
enum {
kPatchDriverSignature = 'ptDR',
kSCSIDriverSignature = 0x00010600,
kATADriverSignature = 'wiki',
kSCSICDDriverSignature = 'CDvr',
kATAPIDriverSignature = 'ATPI',
kDriveSetupHFSSignature = 'DSU1'
};
#pragma pack(pop)
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
#define __CSIDENTITYAUTHORITY__
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
typedef struct __CSIdentityAuthority* CSIdentityAuthorityRef;
# 61 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
extern CFTypeID
CSIdentityAuthorityGetTypeID(void) ;
# 89 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
extern CSIdentityAuthorityRef
CSGetDefaultIdentityAuthority(void) ;
# 112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
extern CSIdentityAuthorityRef
CSGetLocalIdentityAuthority(void) ;
# 140 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
extern CSIdentityAuthorityRef
CSGetManagedIdentityAuthority(void) ;
# 167 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityAuthority.h" 3
extern CFStringRef
CSIdentityAuthorityCopyLocalizedName(CSIdentityAuthorityRef authority) ;
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
#define __CSIDENTITY__
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
#define _SECURITY_SECBASE_H_
# 39 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
#define __SEC_TYPES__
typedef struct OpaqueSecKeychainRef *SecKeychainRef;
typedef struct OpaqueSecKeychainItemRef *SecKeychainItemRef;
typedef struct OpaqueSecKeychainSearchRef *SecKeychainSearchRef;
typedef OSType SecKeychainAttrType;
# 72 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
struct SecKeychainAttribute
{
SecKeychainAttrType tag;
UInt32 length;
void *data;
};
typedef struct SecKeychainAttribute SecKeychainAttribute;
typedef SecKeychainAttribute *SecKeychainAttributePtr;
struct SecKeychainAttributeList
{
UInt32 count;
SecKeychainAttribute *attr;
};
typedef struct SecKeychainAttributeList SecKeychainAttributeList;
typedef UInt32 SecKeychainStatus;
typedef struct OpaqueSecTrustedApplicationRef *SecTrustedApplicationRef;
typedef struct OpaqueSecPolicyRef *SecPolicyRef;
typedef struct OpaqueSecCertificateRef *SecCertificateRef;
typedef struct OpaqueSecAccessRef *SecAccessRef;
typedef struct OpaqueSecIdentityRef *SecIdentityRef;
typedef struct OpaqueSecKeyRef *SecKeyRef;
typedef struct OpaqueSecTrustRef *SecACLRef;
typedef struct OpaqueSecPasswordRef *SecPasswordRef;
# 162 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
struct SecKeychainAttributeInfo
{
UInt32 count;
UInt32 *tag;
UInt32 *format;
};
typedef struct SecKeychainAttributeInfo SecKeychainAttributeInfo;
# 177 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
CFStringRef SecCopyErrorMessageString(OSStatus status, void *reserved);
# 236 "/System/Library/Frameworks/Security.framework/Headers/SecBase.h" 3
enum
{
errSecNotAvailable = -25291,
errSecReadOnly = -25292,
errSecAuthFailed = -25293,
errSecNoSuchKeychain = -25294,
errSecInvalidKeychain = -25295,
errSecDuplicateKeychain = -25296,
errSecDuplicateCallback = -25297,
errSecInvalidCallback = -25298,
errSecDuplicateItem = -25299,
errSecItemNotFound = -25300,
errSecBufferTooSmall = -25301,
errSecDataTooLarge = -25302,
errSecNoSuchAttr = -25303,
errSecInvalidItemRef = -25304,
errSecInvalidSearchRef = -25305,
errSecNoSuchClass = -25306,
errSecNoDefaultKeychain = -25307,
errSecInteractionNotAllowed = -25308,
errSecReadOnlyAttr = -25309,
errSecWrongSecVersion = -25310,
errSecKeySizeNotAllowed = -25311,
errSecNoStorageModule = -25312,
errSecNoCertificateModule = -25313,
errSecNoPolicyModule = -25314,
errSecInteractionRequired = -25315,
errSecDataNotAvailable = -25316,
errSecDataNotModifiable = -25317,
errSecCreateChainFailed = -25318,
errSecInvalidPrefsDomain = -25319,
errSecACLNotSimple = -25240,
errSecPolicyNotFound = -25241,
errSecInvalidTrustSetting = -25242,
errSecNoAccessForItem = -25243,
errSecInvalidOwnerEdit = -25244,
errSecTrustNotAvailable = -25245,
errSecUnsupportedFormat = -25256,
errSecUnknownFormat = -25257,
errSecKeyIsSensitive = -25258,
errSecMultiplePrivKeys = -25259,
errSecPassphraseRequired = -25260,
errSecInvalidPasswordRef = -25261,
errSecInvalidTrustSettings = -25262,
errSecNoTrustSettings = -25263,
errSecPkcs12VerifyFailure = -25264,
};
# 25 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 1 3
# 31 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
#define _SECURITY_AUTHORIZATION_H_
# 63 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
#define kAuthorizationEmptyEnvironment NULL
# 78 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
enum {
errAuthorizationSuccess = 0,
errAuthorizationInvalidSet = -60001,
errAuthorizationInvalidRef = -60002,
errAuthorizationInvalidTag = -60003,
errAuthorizationInvalidPointer = -60004,
errAuthorizationDenied = -60005,
errAuthorizationCanceled = -60006,
errAuthorizationInteractionNotAllowed = -60007,
errAuthorizationInternal = -60008,
errAuthorizationExternalizeNotAllowed = -60009,
errAuthorizationInternalizeNotAllowed = -60010,
errAuthorizationInvalidFlags = -60011,
errAuthorizationToolExecuteFailure = -60031,
errAuthorizationToolEnvironmentError = -60032,
errAuthorizationBadAddress = -60033,
};
enum {
kAuthorizationFlagDefaults = 0,
kAuthorizationFlagInteractionAllowed = (1 << 0),
kAuthorizationFlagExtendRights = (1 << 1),
kAuthorizationFlagPartialRights = (1 << 2),
kAuthorizationFlagDestroyRights = (1 << 3),
kAuthorizationFlagPreAuthorize = (1 << 4),
kAuthorizationFlagNoData = (1 << 20)
};
typedef UInt32 AuthorizationFlags;
enum {
kAuthorizationFlagCanNotPreAuthorize = (1 << 0)
};
typedef const struct AuthorizationOpaqueRef *AuthorizationRef;
typedef const char *AuthorizationString;
# 156 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
typedef struct {
AuthorizationString name;
size_t valueLength;
void *value;
UInt32 flags;
} AuthorizationItem;
# 171 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
typedef struct {
UInt32 count;
AuthorizationItem *items;
} AuthorizationItemSet;
# 189 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
enum {
kAuthorizationExternalFormLength = 32
};
typedef struct {
char bytes[kAuthorizationExternalFormLength];
} AuthorizationExternalForm;
# 204 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
typedef AuthorizationItemSet AuthorizationRights;
typedef AuthorizationItemSet AuthorizationEnvironment;
# 245 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationCreate(const AuthorizationRights *rights,
const AuthorizationEnvironment *environment,
AuthorizationFlags flags,
AuthorizationRef *authorization);
# 267 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationFree(AuthorizationRef authorization, AuthorizationFlags flags);
# 303 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationCopyRights(AuthorizationRef authorization,
const AuthorizationRights *rights,
const AuthorizationEnvironment *environment,
AuthorizationFlags flags,
AuthorizationRights **authorizedRights);
# 327 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationCopyInfo(AuthorizationRef authorization,
AuthorizationString tag,
AuthorizationItemSet **info);
# 351 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationMakeExternalForm(AuthorizationRef authorization,
AuthorizationExternalForm *extForm);
# 368 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationCreateFromExternalForm(const AuthorizationExternalForm *extForm,
AuthorizationRef *authorization);
# 383 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationFreeItemSet(AuthorizationItemSet *set);
# 403 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationExecuteWithPrivileges(AuthorizationRef authorization,
const char *pathToTool,
AuthorizationFlags options,
char * const *arguments,
FILE **communicationsPipe);
# 418 "/System/Library/Frameworks/Security.framework/Headers/Authorization.h" 3
OSStatus AuthorizationCopyPrivilegedReference(AuthorizationRef *authorization,
AuthorizationFlags flags);
# 29 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 2 3
# 48 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
#pragma pack(push, 2)
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern const CFStringRef kCSIdentityErrorDomain ;
enum {
kCSIdentityUnknownAuthorityErr = -1,
kCSIdentityAuthorityNotAccessibleErr = -2,
kCSIdentityPermissionErr = -3,
kCSIdentityDeletedErr = -4,
kCSIdentityInvalidFullNameErr = -5,
kCSIdentityDuplicateFullNameErr = -6,
kCSIdentityInvalidPosixNameErr = -7,
kCSIdentityDuplicatePosixNameErr = -8
};
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
typedef struct __CSIdentity* CSIdentityRef;
# 155 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
typedef struct __CSIdentityQuery* CSIdentityQueryRef;
# 170 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern const CFStringRef kCSIdentityGeneratePosixName ;
# 179 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
enum {
kCSIdentityClassUser = 1,
kCSIdentityClassGroup = 2
};
typedef CFIndex CSIdentityClass;
enum {
kCSIdentityFlagNone = 0,
# 214 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
kCSIdentityFlagHidden = 1
};
typedef CFOptionFlags CSIdentityFlags;
# 235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFTypeID
CSIdentityGetTypeID(void) ;
# 297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CSIdentityRef
CSIdentityCreate(
CFAllocatorRef allocator,
CSIdentityClass identityClass,
CFStringRef fullName,
CFStringRef posixName,
CSIdentityFlags flags,
CSIdentityAuthorityRef authority) ;
# 334 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CSIdentityRef
CSIdentityCreateCopy(
CFAllocatorRef allocator,
CSIdentityRef identity) ;
# 368 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CSIdentityClass
CSIdentityGetClass(CSIdentityRef identity) ;
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CSIdentityAuthorityRef
CSIdentityGetAuthority(CSIdentityRef identity) ;
# 423 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFUUIDRef
CSIdentityGetUUID(CSIdentityRef identity) ;
# 455 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFStringRef
CSIdentityGetFullName(CSIdentityRef identity) ;
# 482 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern id_t
CSIdentityGetPosixID(CSIdentityRef identity) ;
# 515 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFStringRef
CSIdentityGetPosixName(CSIdentityRef identity) ;
# 544 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFStringRef
CSIdentityGetEmailAddress(CSIdentityRef identity) ;
# 574 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFURLRef
CSIdentityGetImageURL(CSIdentityRef identity) ;
# 603 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFDataRef
CSIdentityGetImageData(CSIdentityRef identity) ;
# 632 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFStringRef
CSIdentityGetImageDataType(CSIdentityRef identity) ;
# 667 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFArrayRef
CSIdentityGetAliases(CSIdentityRef identity) ;
# 698 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityIsMemberOfGroup(
CSIdentityRef identity,
CSIdentityRef group) ;
# 727 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityIsHidden(CSIdentityRef identity) ;
# 770 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CFDataRef
CSIdentityCreatePersistentReference(
CFAllocatorRef allocator,
CSIdentityRef identity) ;
# 811 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityIsEnabled(CSIdentityRef user) ;
# 841 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityAuthenticateUsingPassword(
CSIdentityRef user,
CFStringRef password) ;
# 876 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern SecCertificateRef
CSIdentityGetCertificate(CSIdentityRef user) ;
# 917 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern CSIdentityQueryRef
CSIdentityCreateGroupMembershipQuery(
CFAllocatorRef allocator,
CSIdentityRef group) ;
# 955 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetFullName(
CSIdentityRef identity,
CFStringRef fullName) ;
# 988 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetEmailAddress(
CSIdentityRef identity,
CFStringRef emailAddress) ;
# 1021 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetImageURL(
CSIdentityRef identity,
CFURLRef url) ;
# 1057 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetImageData(
CSIdentityRef identity,
CFDataRef imageData,
CFStringRef imageDataType) ;
# 1090 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityAddAlias(
CSIdentityRef identity,
CFStringRef alias) ;
# 1122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityRemoveAlias(
CSIdentityRef identity,
CFStringRef alias) ;
# 1161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityAddMember(
CSIdentityRef group,
CSIdentityRef member) ;
# 1193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityRemoveMember(
CSIdentityRef group,
CSIdentityRef member) ;
# 1235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetIsEnabled(
CSIdentityRef user,
Boolean isEnabled) ;
# 1271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetPassword(
CSIdentityRef user,
CFStringRef password) ;
# 1307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentitySetCertificate(
CSIdentityRef user,
SecCertificateRef certificate) ;
# 1341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityDelete(CSIdentityRef identity) ;
# 1388 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityCommit(
CSIdentityRef identity,
AuthorizationRef authorization,
CFErrorRef * error) ;
# 1401 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
enum {
kCSIdentityCommitCompleted = 1
};
typedef void ( * CSIdentityStatusUpdatedCallback)(CSIdentityRef identity, CFIndex status, CFErrorRef error, void *info);
# 1419 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
struct CSIdentityClientContext {
CFIndex version;
void * info;
# 1440 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
CSIdentityStatusUpdatedCallback statusUpdated;
};
typedef struct CSIdentityClientContext CSIdentityClientContext;
# 1506 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityCommitAsynchronously(
CSIdentityRef identity,
const CSIdentityClientContext * clientContext,
CFRunLoopRef runLoop,
CFStringRef runLoopMode,
AuthorizationRef authorization) ;
# 1538 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern Boolean
CSIdentityIsCommitting(CSIdentityRef identity) ;
# 1569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h" 3
extern void
CSIdentityRemoveClient(CSIdentityRef identity) ;
#pragma pack(pop)
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
#define __CSIDENTITYQUERY__
# 36 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
#pragma pack(push, 2)
# 53 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CFTypeID
CSIdentityQueryGetTypeID(void) ;
# 68 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
enum {
kCSIdentityQueryGenerateUpdateEvents = 0x0001,
kCSIdentityQueryIncludeHiddenIdentities = 0x0002
};
typedef CFOptionFlags CSIdentityQueryFlags;
# 95 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
enum {
kCSIdentityQueryStringEquals = 1,
kCSIdentityQueryStringBeginsWith = 2
};
typedef CFIndex CSIdentityQueryStringComparisonMethod;
# 142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreate(
CFAllocatorRef allocator,
CSIdentityClass identityClass,
CSIdentityAuthorityRef authority) ;
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreateForName(
CFAllocatorRef allocator,
CFStringRef name,
CSIdentityQueryStringComparisonMethod comparisonMethod,
CSIdentityClass identityClass,
CSIdentityAuthorityRef authority) ;
# 229 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreateForUUID(
CFAllocatorRef allocator,
CFUUIDRef uuid,
CSIdentityAuthorityRef authority) ;
# 271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreateForPosixID(
CFAllocatorRef allocator,
id_t posixID,
CSIdentityClass identityClass,
CSIdentityAuthorityRef authority) ;
# 310 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreateForPersistentReference(
CFAllocatorRef allocator,
CFDataRef referenceData) ;
# 339 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CSIdentityQueryRef
CSIdentityQueryCreateForCurrentUser(CFAllocatorRef allocator) ;
# 370 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern CFArrayRef
CSIdentityQueryCopyResults(CSIdentityQueryRef query) ;
# 405 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern Boolean
CSIdentityQueryExecute(
CSIdentityQueryRef query,
CSIdentityQueryFlags flags,
CFErrorRef * error) ;
# 423 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
enum {
kCSIdentityQueryEventSearchPhaseFinished = 1,
kCSIdentityQueryEventResultsAdded = 2,
kCSIdentityQueryEventResultsChanged = 3,
kCSIdentityQueryEventResultsRemoved = 4,
kCSIdentityQueryEventErrorOccurred = 5
};
typedef CFIndex CSIdentityQueryEvent;
# 481 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
typedef void ( * CSIdentityQueryReceiveEventCallback)(CSIdentityQueryRef query, CSIdentityQueryEvent event, CFArrayRef identities, CFErrorRef error, void *info);
struct CSIdentityQueryClientContext {
CFIndex version;
void * info;
CFAllocatorRetainCallBack retainInfo;
CFAllocatorReleaseCallBack releaseInfo;
CFAllocatorCopyDescriptionCallBack copyInfoDescription;
CSIdentityQueryReceiveEventCallback receiveEvent;
};
typedef struct CSIdentityQueryClientContext CSIdentityQueryClientContext;
# 533 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern Boolean
CSIdentityQueryExecuteAsynchronously(
CSIdentityQueryRef query,
CSIdentityQueryFlags flags,
const CSIdentityQueryClientContext * clientContext,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h" 3
extern void
CSIdentityQueryStop(CSIdentityQueryRef query) ;
#pragma pack(pop)
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/IconStorage.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/IconStorage.h" 3
#define __ICONSTORAGE__
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/IconStorage.h" 3
#pragma pack(push, 2)
enum {
kIconServices16PixelDataARGB = 'ic04',
kIconServices32PixelDataARGB = 'ic05',
kIconServices48PixelDataARGB = 'ic06',
kIconServices128PixelDataARGB = 'ic07'
};
enum {
kIconServices256PixelDataARGB = 'ic08',
kIconServices512PixelDataARGB = 'ic09',
kThumbnail32BitData = 'it32',
kThumbnail8BitMask = 't8mk'
};
enum {
kHuge1BitMask = 'ich#',
kHuge4BitData = 'ich4',
kHuge8BitData = 'ich8',
kHuge32BitData = 'ih32',
kHuge8BitMask = 'h8mk'
};
enum {
kLarge1BitMask = 'ICN#',
kLarge4BitData = 'icl4',
kLarge8BitData = 'icl8',
kLarge32BitData = 'il32',
kLarge8BitMask = 'l8mk',
kSmall1BitMask = 'ics#',
kSmall4BitData = 'ics4',
kSmall8BitData = 'ics8',
kSmall32BitData = 'is32',
kSmall8BitMask = 's8mk',
kMini1BitMask = 'icm#',
kMini4BitData = 'icm4',
kMini8BitData = 'icm8'
};
enum {
large1BitMask = kLarge1BitMask,
large4BitData = kLarge4BitData,
large8BitData = kLarge8BitData,
small1BitMask = kSmall1BitMask,
small4BitData = kSmall4BitData,
small8BitData = kSmall8BitData,
mini1BitMask = kMini1BitMask,
mini4BitData = kMini4BitData,
mini8BitData = kMini8BitData
};
# 106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/IconStorage.h" 3
enum {
kIconFamilyType = 'icns'
};
struct IconFamilyElement {
OSType elementType;
SInt32 elementSize;
unsigned char elementData[1];
};
typedef struct IconFamilyElement IconFamilyElement;
struct IconFamilyResource {
OSType resourceType;
SInt32 resourceSize;
IconFamilyElement elements[1];
};
typedef struct IconFamilyResource IconFamilyResource;
typedef IconFamilyResource * IconFamilyPtr;
typedef IconFamilyPtr * IconFamilyHandle;
enum {
kTileIconVariant = 'tile',
kRolloverIconVariant = 'over',
kDropIconVariant = 'drop',
kOpenIconVariant = 'open',
kOpenDropIconVariant = 'odrp'
};
#pragma pack(pop)
# 46 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
#define __SYSTEMSOUND__
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
enum {
kSystemSoundNoError = 0,
kSystemSoundUnspecifiedError = -1500,
kSystemSoundClientTimedOutError = -1501
};
typedef UInt32 SystemSoundActionID;
typedef OSStatus ( * SystemSoundCompletionProcPtr)(SystemSoundActionID actionID, void *userData);
typedef SystemSoundCompletionProcPtr SystemSoundCompletionUPP;
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern SystemSoundCompletionUPP
NewSystemSoundCompletionUPP(SystemSoundCompletionProcPtr userRoutine) __attribute__((deprecated));
# 73 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern void
DisposeSystemSoundCompletionUPP(SystemSoundCompletionUPP userUPP) __attribute__((deprecated));
# 84 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern OSStatus
InvokeSystemSoundCompletionUPP(
SystemSoundActionID actionID,
void * userData,
SystemSoundCompletionUPP userUPP) __attribute__((deprecated));
#define NewSystemSoundCompletionUPP(userRoutine) ((SystemSoundCompletionUPP)userRoutine)
#define DisposeSystemSoundCompletionUPP(userUPP)
#define InvokeSystemSoundCompletionUPP(actionID,userData,userUPP) (*userUPP)(actionID, userData)
# 124 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern void
AlertSoundPlay(void) __attribute__((deprecated));
# 153 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern void
AlertSoundPlayCustomSound(SystemSoundActionID inAction) __attribute__((deprecated));
# 183 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern void
SystemSoundPlay(SystemSoundActionID inAction) __attribute__((deprecated));
# 223 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern OSStatus
SystemSoundGetActionID(
const FSRef * userFile,
SystemSoundActionID * outAction) __attribute__((deprecated));
# 256 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern OSStatus
SystemSoundRemoveActionID(SystemSoundActionID inAction) __attribute__((deprecated));
# 304 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern OSStatus
SystemSoundSetCompletionRoutine(
SystemSoundActionID inAction,
CFRunLoopRef inRunLoop,
CFStringRef inRunLoopMode,
SystemSoundCompletionUPP inCompletionRoutine,
void * inUserData) __attribute__((deprecated));
# 340 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SystemSound.h" 3
extern void
SystemSoundRemoveCompletionRoutine(SystemSoundActionID inAction) __attribute__((deprecated));
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
#define __WSTYPES__
# 45 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
#pragma pack(push, 2)
enum {
errWSInternalError = -65793L,
errWSTransportError = -65794L,
errWSParseError = -65795L,
errWSTimeoutError = -65796L
};
# 70 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
enum WSTypeID {
eWSUnknownType = 0,
eWSNullType = 1,
eWSBooleanType = 2,
eWSIntegerType = 3,
eWSDoubleType = 4,
eWSStringType = 5,
eWSDateType = 6,
eWSDataType = 7,
eWSArrayType = 8,
eWSDictionaryType = 9
};
typedef enum WSTypeID WSTypeID;
typedef void * ( * WSClientContextRetainCallBackProcPtr)(void * info);
typedef void ( * WSClientContextReleaseCallBackProcPtr)(void * info);
typedef CFStringRef ( * WSClientContextCopyDescriptionCallBackProcPtr)(void * info);
# 137 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
struct WSClientContext {
CFIndex version;
void * info;
WSClientContextRetainCallBackProcPtr retain;
WSClientContextReleaseCallBackProcPtr release;
WSClientContextCopyDescriptionCallBackProcPtr copyDescription;
};
typedef struct WSClientContext WSClientContext;
# 176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
extern CFStringRef kWSXMLRPCProtocol;
extern CFStringRef kWSSOAP1999Protocol;
extern CFStringRef kWSSOAP2001Protocol;
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
extern WSTypeID
WSGetWSTypeIDFromCFType(CFTypeRef ref);
# 234 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSTypes.h" 3
extern CFTypeID
WSGetCFTypeIDFromWSTypeID(WSTypeID typeID);
#pragma pack(pop)
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
#define __WSMETHODINVOCATION__
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFStringRef kWSMethodInvocationResult;
extern CFStringRef kWSFaultString;
extern CFStringRef kWSFaultCode;
extern CFStringRef kWSFaultExtra;
# 70 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFStringRef kWSNetworkStreamFaultString;
extern CFStringRef kWSStreamErrorMessage;
extern CFStringRef kWSStreamErrorDomain;
extern CFStringRef kWSStreamErrorError;
# 90 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFStringRef kWSHTTPMessage;
extern CFStringRef kWSHTTPResponseMessage;
extern CFStringRef kWSHTTPVersion;
extern CFStringRef kWSHTTPExtraHeaders;
extern CFStringRef kWSHTTPProxy;
extern CFStringRef kWSHTTPFollowsRedirects;
# 114 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFStringRef kWSDebugOutgoingHeaders;
extern CFStringRef kWSDebugOutgoingBody;
extern CFStringRef kWSDebugIncomingHeaders;
extern CFStringRef kWSDebugIncomingBody;
extern CFStringRef kWSSOAPMethodNamespaceURI;
extern CFStringRef kWSSOAPBodyEncodingStyle;
extern CFStringRef kWSSOAPStyleDoc;
extern CFStringRef kWSSOAPStyleRPC;
extern CFStringRef kWSSOAPMessageHeaders;
extern CFStringRef kWSRecordParameterOrder;
extern CFStringRef kWSRecordNamespaceURI;
extern CFStringRef kWSRecordType;
extern CFStringRef kWSMethodInvocationResultParameterName;
extern CFStringRef kWSMethodInvocationTimeoutValue;
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
typedef struct OpaqueWSMethodInvocationRef* WSMethodInvocationRef;
# 196 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFTypeID
WSMethodInvocationGetTypeID(void);
# 233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern WSMethodInvocationRef
WSMethodInvocationCreate(
CFURLRef url,
CFStringRef methodName,
CFStringRef protocol);
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern WSMethodInvocationRef
WSMethodInvocationCreateFromSerialization(CFDataRef contract);
# 293 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFDataRef
WSMethodInvocationCopySerialization(WSMethodInvocationRef invocation);
# 329 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationSetParameters(
WSMethodInvocationRef invocation,
CFDictionaryRef parameters,
CFArrayRef parameterOrder);
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFDictionaryRef
WSMethodInvocationCopyParameters(
WSMethodInvocationRef invocation,
CFArrayRef * parameterOrder);
# 406 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationSetProperty(
WSMethodInvocationRef invocation,
CFStringRef propertyName,
CFTypeRef propertyValue);
# 442 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFTypeRef
WSMethodInvocationCopyProperty(
WSMethodInvocationRef invocation,
CFStringRef propertyName);
# 476 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern CFDictionaryRef
WSMethodInvocationInvoke(WSMethodInvocationRef invocation);
# 526 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
typedef void ( * WSMethodInvocationCallBackProcPtr)(WSMethodInvocationRef invocation, void *info, CFDictionaryRef outRef);
# 554 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationSetCallBack(
WSMethodInvocationRef invocation,
WSMethodInvocationCallBackProcPtr clientCB,
WSClientContext * context);
# 587 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationScheduleWithRunLoop(
WSMethodInvocationRef invocation,
CFRunLoopRef runLoop,
CFStringRef runLoopMode);
# 623 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationUnscheduleFromRunLoop(
WSMethodInvocationRef invocation,
CFRunLoopRef runLoop,
CFStringRef runLoopMode);
# 662 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern Boolean
WSMethodResultIsFault(CFDictionaryRef methodResult);
# 701 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
typedef CFStringRef ( * WSMethodInvocationSerializationProcPtr)(WSMethodInvocationRef invocation, CFTypeRef obj, void *info);
# 734 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationAddSerializationOverride(
WSMethodInvocationRef invocation,
CFTypeID objType,
WSMethodInvocationSerializationProcPtr serializationProc,
WSClientContext * context);
# 773 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
typedef CFTypeRef ( * WSMethodInvocationDeserializationProcPtr)(WSMethodInvocationRef invocation, CFXMLTreeRef msgRoot, CFXMLTreeRef deserializeRoot, void *info);
# 810 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h" 3
extern void
WSMethodInvocationAddDeserializationOverride(
WSMethodInvocationRef invocation,
CFStringRef typeNamespace,
CFStringRef typeName,
WSMethodInvocationDeserializationProcPtr deserializationProc,
WSClientContext * context);
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
#define __WSPROTOCOLHANDLER__
# 63 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
typedef struct OpaqueWSProtocolHandlerRef* WSProtocolHandlerRef;
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFTypeID
WSProtocolHandlerGetTypeID(void);
# 107 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern WSProtocolHandlerRef
WSProtocolHandlerCreate(
CFAllocatorRef allocator,
CFStringRef protocol);
# 149 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFDictionaryRef
WSProtocolHandlerCopyRequestDictionary(
WSProtocolHandlerRef ref,
CFDataRef data);
# 189 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFDictionaryRef
WSProtocolHandlerCopyReplyDictionary(
WSProtocolHandlerRef ref,
CFStringRef methodName,
CFDataRef data);
# 227 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFDataRef
WSProtocolHandlerCopyReplyDocument(
WSProtocolHandlerRef ref,
CFDictionaryRef methodContext,
CFTypeRef resultValue);
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFDataRef
WSProtocolHandlerCopyFaultDocument(
WSProtocolHandlerRef ref,
CFDictionaryRef methodContext,
CFDictionaryRef faultDict);
# 309 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFDataRef
WSProtocolHandlerCopyRequestDocument(
WSProtocolHandlerRef ref,
CFStringRef methodName,
CFDictionaryRef methodParams,
CFArrayRef methodParamOrder,
CFDictionaryRef methodExtras);
# 347 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern CFTypeRef
WSProtocolHandlerCopyProperty(
WSProtocolHandlerRef ref,
CFStringRef propertyName);
# 378 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern void
WSProtocolHandlerSetProperty(
WSProtocolHandlerRef ref,
CFStringRef propertyName,
CFTypeRef propertyValue);
# 421 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
typedef CFStringRef ( * WSProtocolHandlerSerializationProcPtr)(WSProtocolHandlerRef protocol, CFTypeRef obj, void *info);
# 454 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern void
WSProtocolHandlerSetSerializationOverride(
WSProtocolHandlerRef protocol,
CFTypeID objType,
WSProtocolHandlerSerializationProcPtr serializationProc,
WSClientContext * context);
# 494 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
typedef CFTypeRef ( * WSProtocolHandlerDeserializationProcPtr)(WSProtocolHandlerRef protocol, CFXMLTreeRef msgRoot, CFXMLTreeRef deserializeRoot, void *info);
# 531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSProtocolHandler.h" 3
extern void
WSProtocolHandlerSetDeserializationOverride(
WSProtocolHandlerRef protocol,
CFStringRef typeNamespace,
CFStringRef typeName,
WSProtocolHandlerDeserializationProcPtr deserializationProc,
WSClientContext * context);
#define kWSMethodName CFSTR("/WSMethodName")
#define kWSMethodParameters CFSTR("/WSMethodParameters")
#define kWSMethodParameterOrder CFSTR("/WSMethodParameterOrder")
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 80 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
#define __NSLCORE__
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
#pragma pack(push, 2)
enum {
kNSLMinSystemVersion = 0x0900,
kNSLMinOTVersion = 0x0130
};
enum {
kNSLDefaultListSize = 256
};
enum {
kNSLURLDelimiter = ','
};
#define kNSLErrorNoErr {noErr, kNSLNoContext}
enum {
kNSLNoContext = 0
};
struct NSLError {
OSStatus theErr;
UInt32 theContext;
};
typedef struct NSLError NSLError;
typedef NSLError * NSLErrorPtr;
enum {
kNSLDuplicateSearchInProgress = 100,
kNSLUserCanceled = userCanceledErr,
kNSLInvalidEnumeratorRef = 0
};
typedef UInt16 NSLSearchState;
enum {
kNSLSearchStateBufferFull = 1,
kNSLSearchStateOnGoing = 2,
kNSLSearchStateComplete = 3,
kNSLSearchStateStalled = 4,
kNSLWaitingForContinue = 5
};
typedef UInt32 NSLEventCode;
enum {
kNSLServicesLookupDataEvent = 6,
kNSLNeighborhoodLookupDataEvent = 7,
kNSLNewDataEvent = 8,
kNSLContinueLookupEvent = 9
};
typedef UInt32 NSLClientRef;
typedef UInt32 NSLRequestRef;
typedef UInt32 NSLOneBasedIndex;
typedef char * NSLPath;
typedef char * NSLServiceType;
typedef Handle NSLServicesList;
typedef unsigned char * NSLNeighborhood;
struct NSLClientAsyncInfo {
void * clientContextPtr;
void * mgrContextPtr;
char * resultBuffer;
long bufferLen;
long maxBufferSize;
UInt32 startTime;
UInt32 intStartTime;
UInt32 maxSearchTime;
UInt32 alertInterval;
UInt32 totalItems;
UInt32 alertThreshold;
NSLSearchState searchState;
NSLError searchResult;
NSLEventCode searchDataType;
};
typedef struct NSLClientAsyncInfo NSLClientAsyncInfo;
typedef NSLClientAsyncInfo * NSLClientAsyncInfoPtr;
struct NSLPluginAsyncInfo {
void * mgrContextPtr;
void * pluginContextPtr;
void * pluginPtr;
char * resultBuffer;
long bufferLen;
long maxBufferSize;
UInt32 maxSearchTime;
UInt32 reserved1;
UInt32 reserved2;
UInt32 reserved3;
NSLClientRef clientRef;
NSLRequestRef requestRef;
NSLSearchState searchState;
OSStatus searchResult;
};
typedef struct NSLPluginAsyncInfo NSLPluginAsyncInfo;
typedef NSLPluginAsyncInfo * NSLPluginAsyncInfoPtr;
typedef void ( * NSLMgrNotifyProcPtr)(NSLPluginAsyncInfo * thePluginAsyncInfo);
typedef void ( * NSLClientNotifyProcPtr)(NSLClientAsyncInfo * theClientAsyncInfo);
typedef NSLMgrNotifyProcPtr NSLMgrNotifyUPP;
typedef NSLClientNotifyProcPtr NSLClientNotifyUPP;
# 162 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLMgrNotifyUPP
NewNSLMgrNotifyUPP(NSLMgrNotifyProcPtr userRoutine) __attribute__((deprecated));
# 173 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern NSLClientNotifyUPP
NewNSLClientNotifyUPP(NSLClientNotifyProcPtr userRoutine) __attribute__((deprecated));
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
DisposeNSLMgrNotifyUPP(NSLMgrNotifyUPP userUPP) __attribute__((deprecated));
# 195 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
DisposeNSLClientNotifyUPP(NSLClientNotifyUPP userUPP) __attribute__((deprecated));
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
InvokeNSLMgrNotifyUPP(
NSLPluginAsyncInfo * thePluginAsyncInfo,
NSLMgrNotifyUPP userUPP) __attribute__((deprecated));
# 219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
extern void
InvokeNSLClientNotifyUPP(
NSLClientAsyncInfo * theClientAsyncInfo,
NSLClientNotifyUPP userUPP) __attribute__((deprecated));
# 233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
#define NewNSLMgrNotifyUPP(userRoutine) ((NSLMgrNotifyUPP)userRoutine)
#define NewNSLClientNotifyUPP(userRoutine) ((NSLClientNotifyUPP)userRoutine)
#define DisposeNSLMgrNotifyUPP(userUPP)
#define DisposeNSLClientNotifyUPP(userUPP)
#define InvokeNSLMgrNotifyUPP(thePluginAsyncInfo,userUPP) (*userUPP)(thePluginAsyncInfo)
#define InvokeNSLClientNotifyUPP(theClientAsyncInfo,userUPP) (*userUPP)(theClientAsyncInfo)
# 247 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
struct NSLTypedData {
unsigned long dataType;
unsigned long lengthOfData;
};
typedef struct NSLTypedData NSLTypedData;
typedef NSLTypedData * NSLTypedDataPtr;
#define kNSLDataType 'NSL_'
struct NSLServicesListHeader {
unsigned long numServices;
unsigned long logicalLen;
};
typedef struct NSLServicesListHeader NSLServicesListHeader;
typedef NSLServicesListHeader * NSLServicesListHeaderPtr;
#define kSLPProtocolType "SLP"
#define kDNSProtocolType "DNS"
#define kLDAPProtocolType "LDAP"
#define kNBPProtocolType "NBP"
#define kNSLDirectoryServiceProtocolType "DirService"
struct NSLPluginData {
long reserved1;
long reserved2;
long reserved3;
Boolean supportsRegistration;
Boolean isPurgeable;
UInt16 totalLen;
UInt16 dataTypeOffset;
UInt16 serviceListOffset;
UInt16 protocolListOffset;
UInt16 commentStringOffset;
};
typedef struct NSLPluginData NSLPluginData;
typedef NSLPluginData * NSLPluginDataPtr;
# 325 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
#define NSLLibraryPresent() true
# 954 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h" 3
#pragma pack(pop)
# 81 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SecurityCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SecurityCore.h" 3
#define __SECURITYCORE__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
#define __KEYCHAINCORE__
# 51 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
#pragma pack(push, 2)
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
typedef SecKeychainRef KCRef;
typedef SecKeychainItemRef KCItemRef;
typedef SecKeychainSearchRef KCSearchRef;
typedef SecKeychainAttribute KCAttribute;
typedef SecKeychainAttributeList KCAttributeList;
typedef SecKeychainAttrType KCAttrType;
typedef SecKeychainStatus KCStatus;
typedef UInt16 KCEvent;
enum {
kIdleKCEvent = 0,
kLockKCEvent = 1,
kUnlockKCEvent = 2,
kAddKCEvent = 3,
kDeleteKCEvent = 4,
kUpdateKCEvent = 5,
kPasswordChangedKCEvent = 6,
kSystemKCEvent = 8,
kDefaultChangedKCEvent = 9,
kDataAccessKCEvent = 10,
kKeychainListChangedKCEvent = 11
};
typedef UInt16 KCEventMask;
enum {
kIdleKCEventMask = 1 << kIdleKCEvent,
kLockKCEventMask = 1 << kLockKCEvent,
kUnlockKCEventMask = 1 << kUnlockKCEvent,
kAddKCEventMask = 1 << kAddKCEvent,
kDeleteKCEventMask = 1 << kDeleteKCEvent,
kUpdateKCEventMask = 1 << kUpdateKCEvent,
kPasswordChangedKCEventMask = 1 << kPasswordChangedKCEvent,
kSystemEventKCEventMask = 1 << kSystemKCEvent,
kDefaultChangedKCEventMask = 1 << kDefaultChangedKCEvent,
kDataAccessKCEventMask = 1 << kDataAccessKCEvent,
kEveryKCEventMask = 0xFFFF
};
typedef UInt8 AFPServerSignature[16];
typedef UInt8 KCPublicKeyHash[20];
struct KCCallbackInfo {
UInt32 version;
KCItemRef item;
SInt32 processID[2];
SInt32 event[4];
KCRef keychain;
};
typedef struct KCCallbackInfo KCCallbackInfo;
enum {
kUnlockStateKCStatus = 1,
kRdPermKCStatus = 2,
kWrPermKCStatus = 4
};
enum {
kCertificateKCItemClass = 'cert',
kAppleSharePasswordKCItemClass = 'ashp',
kInternetPasswordKCItemClass = 'inet',
kGenericPasswordKCItemClass = 'genp'
};
typedef FourCharCode KCItemClass;
enum {
kClassKCItemAttr = 'clas',
kCreationDateKCItemAttr = 'cdat',
kModDateKCItemAttr = 'mdat',
kDescriptionKCItemAttr = 'desc',
kCommentKCItemAttr = 'icmt',
kCreatorKCItemAttr = 'crtr',
kTypeKCItemAttr = 'type',
kScriptCodeKCItemAttr = 'scrp',
kLabelKCItemAttr = 'labl',
kInvisibleKCItemAttr = 'invi',
kNegativeKCItemAttr = 'nega',
kCustomIconKCItemAttr = 'cusi',
kAccountKCItemAttr = 'acct',
kServiceKCItemAttr = 'svce',
kGenericKCItemAttr = 'gena',
kSecurityDomainKCItemAttr = 'sdmn',
kServerKCItemAttr = 'srvr',
kAuthTypeKCItemAttr = 'atyp',
kPortKCItemAttr = 'port',
kPathKCItemAttr = 'path',
kVolumeKCItemAttr = 'vlme',
kAddressKCItemAttr = 'addr',
kSignatureKCItemAttr = 'ssig',
kProtocolKCItemAttr = 'ptcl',
kSubjectKCItemAttr = 'subj',
kCommonNameKCItemAttr = 'cn ',
kIssuerKCItemAttr = 'issu',
kSerialNumberKCItemAttr = 'snbr',
kEMailKCItemAttr = 'mail',
kPublicKeyHashKCItemAttr = 'hpky',
kIssuerURLKCItemAttr = 'iurl',
kEncryptKCItemAttr = 'encr',
kDecryptKCItemAttr = 'decr',
kSignKCItemAttr = 'sign',
kVerifyKCItemAttr = 'veri',
kWrapKCItemAttr = 'wrap',
kUnwrapKCItemAttr = 'unwr',
kStartDateKCItemAttr = 'sdat',
kEndDateKCItemAttr = 'edat'
};
typedef FourCharCode KCItemAttr;
enum {
kKCAuthTypeNTLM = 'ntlm',
kKCAuthTypeMSN = 'msna',
kKCAuthTypeDPA = 'dpaa',
kKCAuthTypeRPA = 'rpaa',
kKCAuthTypeHTTPDigest = 'httd',
kKCAuthTypeDefault = 'dflt'
};
typedef FourCharCode KCAuthType;
enum {
kKCProtocolTypeFTP = 'ftp ',
kKCProtocolTypeFTPAccount = 'ftpa',
kKCProtocolTypeHTTP = 'http',
kKCProtocolTypeIRC = 'irc ',
kKCProtocolTypeNNTP = 'nntp',
kKCProtocolTypePOP3 = 'pop3',
kKCProtocolTypeSMTP = 'smtp',
kKCProtocolTypeSOCKS = 'sox ',
kKCProtocolTypeIMAP = 'imap',
kKCProtocolTypeLDAP = 'ldap',
kKCProtocolTypeAppleTalk = 'atlk',
kKCProtocolTypeAFP = 'afp ',
kKCProtocolTypeTelnet = 'teln'
};
typedef FourCharCode KCProtocolType;
typedef UInt32 KCCertAddOptions;
enum {
kSecOptionReserved = 0x000000FF,
kCertUsageShift = 8,
kCertUsageSigningAdd = 1 << (kCertUsageShift + 0),
kCertUsageSigningAskAndAdd = 1 << (kCertUsageShift + 1),
kCertUsageVerifyAdd = 1 << (kCertUsageShift + 2),
kCertUsageVerifyAskAndAdd = 1 << (kCertUsageShift + 3),
kCertUsageEncryptAdd = 1 << (kCertUsageShift + 4),
kCertUsageEncryptAskAndAdd = 1 << (kCertUsageShift + 5),
kCertUsageDecryptAdd = 1 << (kCertUsageShift + 6),
kCertUsageDecryptAskAndAdd = 1 << (kCertUsageShift + 7),
kCertUsageKeyExchAdd = 1 << (kCertUsageShift + 8),
kCertUsageKeyExchAskAndAdd = 1 << (kCertUsageShift + 9),
kCertUsageRootAdd = 1 << (kCertUsageShift + 10),
kCertUsageRootAskAndAdd = 1 << (kCertUsageShift + 11),
kCertUsageSSLAdd = 1 << (kCertUsageShift + 12),
kCertUsageSSLAskAndAdd = 1 << (kCertUsageShift + 13),
kCertUsageAllAdd = 0x7FFFFF00
};
typedef UInt16 KCVerifyStopOn;
enum {
kPolicyKCStopOn = 0,
kNoneKCStopOn = 1,
kFirstPassKCStopOn = 2,
kFirstFailKCStopOn = 3
};
typedef UInt32 KCCertSearchOptions;
enum {
kCertSearchShift = 0,
kCertSearchSigningIgnored = 0,
kCertSearchSigningAllowed = 1 << (kCertSearchShift + 0),
kCertSearchSigningDisallowed = 1 << (kCertSearchShift + 1),
kCertSearchSigningMask = ((kCertSearchSigningAllowed) | (kCertSearchSigningDisallowed)),
kCertSearchVerifyIgnored = 0,
kCertSearchVerifyAllowed = 1 << (kCertSearchShift + 2),
kCertSearchVerifyDisallowed = 1 << (kCertSearchShift + 3),
kCertSearchVerifyMask = ((kCertSearchVerifyAllowed) | (kCertSearchVerifyDisallowed)),
kCertSearchEncryptIgnored = 0,
kCertSearchEncryptAllowed = 1 << (kCertSearchShift + 4),
kCertSearchEncryptDisallowed = 1 << (kCertSearchShift + 5),
kCertSearchEncryptMask = ((kCertSearchEncryptAllowed) | (kCertSearchEncryptDisallowed)),
kCertSearchDecryptIgnored = 0,
kCertSearchDecryptAllowed = 1 << (kCertSearchShift + 6),
kCertSearchDecryptDisallowed = 1 << (kCertSearchShift + 7),
kCertSearchDecryptMask = ((kCertSearchDecryptAllowed) | (kCertSearchDecryptDisallowed)),
kCertSearchWrapIgnored = 0,
kCertSearchWrapAllowed = 1 << (kCertSearchShift + 8),
kCertSearchWrapDisallowed = 1 << (kCertSearchShift + 9),
kCertSearchWrapMask = ((kCertSearchWrapAllowed) | (kCertSearchWrapDisallowed)),
kCertSearchUnwrapIgnored = 0,
kCertSearchUnwrapAllowed = 1 << (kCertSearchShift + 10),
kCertSearchUnwrapDisallowed = 1 << (kCertSearchShift + 11),
kCertSearchUnwrapMask = ((kCertSearchUnwrapAllowed) | (kCertSearchUnwrapDisallowed)),
kCertSearchPrivKeyRequired = 1 << (kCertSearchShift + 12),
kCertSearchAny = 0
};
enum {
kAnyPort = 0
};
enum {
kAnyProtocol = 0,
kAnyAuthType = 0
};
# 294 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetKeychainManagerVersion(UInt32 * returnVers);
# 309 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
#define KeychainManagerAvailable() (true)
# 322 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCSetInteractionAllowed(Boolean state) ;
# 334 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern Boolean
KCIsInteractionAllowed(void) ;
# 365 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCMakeKCRefFromFSRef(
FSRef * keychainFSRef,
KCRef * keychain) ;
# 379 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCMakeKCRefFromAlias(
AliasHandle keychainAlias,
KCRef * keychain) ;
# 393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCMakeAliasFromKCRef(
KCRef keychain,
AliasHandle * keychainAlias) ;
# 407 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCReleaseKeychain(KCRef * keychain) ;
# 420 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetDefaultKeychain(KCRef * keychain) ;
# 432 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCSetDefaultKeychain(KCRef keychain) ;
# 445 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetStatus(
KCRef keychain,
UInt32 * keychainStatus) ;
# 459 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetKeychain(
KCItemRef item,
KCRef * keychain) ;
# 473 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetKeychainName(
KCRef keychain,
StringPtr keychainName) ;
# 488 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern UInt16
KCCountKeychains(void) ;
# 500 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetIndKeychain(
UInt16 index,
KCRef * keychain) ;
typedef OSStatus ( * KCCallbackProcPtr)(KCEvent keychainEvent, KCCallbackInfo *info, void *userContext);
typedef KCCallbackProcPtr KCCallbackUPP;
# 516 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern KCCallbackUPP
NewKCCallbackUPP(KCCallbackProcPtr userRoutine) ;
# 527 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern void
DisposeKCCallbackUPP(KCCallbackUPP userUPP) ;
# 538 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
InvokeKCCallbackUPP(
KCEvent keychainEvent,
KCCallbackInfo * info,
void * userContext,
KCCallbackUPP userUPP) ;
#define NewKCCallbackUPP(userRoutine) ((KCCallbackUPP)userRoutine)
#define DisposeKCCallbackUPP(userUPP)
#define InvokeKCCallbackUPP(keychainEvent,info,userContext,userUPP) (*userUPP)(keychainEvent, info, userContext)
# 566 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindAppleSharePassword(
AFPServerSignature * serverSignature,
ConstStringPtr serverAddress,
ConstStringPtr serverName,
ConstStringPtr volumeName,
ConstStringPtr accountName,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 587 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindInternetPassword(
ConstStringPtr serverName,
ConstStringPtr securityDomain,
ConstStringPtr accountName,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 609 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindInternetPasswordWithPath(
ConstStringPtr serverName,
ConstStringPtr securityDomain,
ConstStringPtr accountName,
ConstStringPtr path,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 632 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindGenericPassword(
ConstStringPtr serviceName,
ConstStringPtr accountName,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 651 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCAddCallback(
KCCallbackUPP callbackProc,
KCEventMask eventMask,
void * userContext) ;
# 666 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCRemoveCallback(KCCallbackUPP callbackProc) ;
# 679 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCNewItem(
KCItemClass itemClass,
OSType itemCreator,
UInt32 length,
const void * data,
KCItemRef * item) ;
# 696 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCSetAttribute(
KCItemRef item,
KCAttribute * attr) ;
# 710 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetAttribute(
KCItemRef item,
KCAttribute * attr,
UInt32 * actualLength) ;
# 725 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCSetData(
KCItemRef item,
UInt32 length,
const void * data) ;
# 741 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCUpdateItem(KCItemRef item) ;
# 753 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCReleaseItem(KCItemRef * item) ;
# 765 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCCopyItem(
KCItemRef item,
KCRef destKeychain,
KCItemRef * copy) ;
# 781 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindFirstItem(
KCRef keychain,
const KCAttributeList * attrList,
KCSearchRef * search,
KCItemRef * item) ;
# 797 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCFindNextItem(
KCSearchRef search,
KCItemRef * item) ;
# 811 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCReleaseSearch(KCSearchRef * search) ;
# 824 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCDeleteItem(KCItemRef item) ;
# 836 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCGetData(
KCItemRef item,
UInt32 maxLength,
void * data,
UInt32 * actualLength) ;
# 853 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
KCLock(KCRef keychain) ;
# 866 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
kcgetkeychainname(
KCRef keychain,
char * keychainName) ;
# 880 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
kcfindapplesharepassword(
AFPServerSignature * serverSignature,
const char * serverAddress,
const char * serverName,
const char * volumeName,
const char * accountName,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 901 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
kcfindinternetpassword(
const char * serverName,
const char * securityDomain,
const char * accountName,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 923 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
kcfindinternetpasswordwithpath(
const char * serverName,
const char * securityDomain,
const char * accountName,
const char * path,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
# 946 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/KeychainCore.h" 3
extern OSStatus
kcfindgenericpassword(
const char * serviceName,
const char * accountName,
UInt32 maxLength,
void * passwordData,
UInt32 * actualLength,
KCItemRef * item) ;
#pragma pack(pop)
# 26 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/SecurityCore.h" 2 3
# 82 "/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h" 2 3
# 30 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 3
#define __CFNETWORK__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 18 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 3
#define __CFNETWORK_DEFS_H_
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 3
#define APPLE_WIN_API extern
# 26 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
#define __CFNETWORKERRORS__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 2 3
# 55 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFErrorDomainCFNetwork ;
# 69 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFErrorDomainWinSock ;
# 79 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
enum CFNetworkErrors {
kCFHostErrorHostNotFound = 1,
kCFHostErrorUnknown = 2,
kCFSOCKSErrorUnknownClientVersion = 100,
kCFSOCKSErrorUnsupportedServerVersion = 101,
kCFSOCKS4ErrorRequestFailed = 110,
kCFSOCKS4ErrorIdentdFailed = 111,
kCFSOCKS4ErrorIdConflict = 112,
kCFSOCKS4ErrorUnknownStatusCode = 113,
kCFSOCKS5ErrorBadState = 120,
kCFSOCKS5ErrorBadResponseAddr = 121,
kCFSOCKS5ErrorBadCredentials = 122,
kCFSOCKS5ErrorUnsupportedNegotiationMethod = 123,
kCFSOCKS5ErrorNoAcceptableMethod = 124,
kCFNetServiceErrorUnknown = -72000L,
kCFNetServiceErrorCollision = -72001L,
kCFNetServiceErrorNotFound = -72002L,
kCFNetServiceErrorInProgress = -72003L,
kCFNetServiceErrorBadArgument = -72004L,
kCFNetServiceErrorCancel = -72005L,
kCFNetServiceErrorInvalid = -72006L,
kCFNetServiceErrorTimeout = -72007L,
kCFNetServiceErrorDNSServiceFailure = -73000L,
kCFFTPErrorUnexpectedStatusCode = 200,
kCFErrorHTTPAuthenticationTypeUnsupported = 300,
kCFErrorHTTPBadCredentials = 301,
kCFErrorHTTPConnectionLost = 302,
kCFErrorHTTPParseFailure = 303,
kCFErrorHTTPRedirectionLoopDetected = 304,
kCFErrorHTTPBadURL = 305,
kCFErrorHTTPProxyConnectionFailure = 306,
kCFErrorHTTPBadProxyCredentials = 307
};
typedef enum CFNetworkErrors CFNetworkErrors;
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFGetAddrInfoFailureKey ;
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFSOCKSStatusCodeKey ;
# 161 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFSOCKSVersionKey ;
# 176 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFSOCKSNegotiationMethodKey ;
# 191 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFDNSServiceFailureKey ;
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h" 3
extern const CFStringRef kCFFTPStatusCodeKey ;
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
#define __CFSOCKETSTREAM__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
#define __CFHOST__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 2 3
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
#pragma pack(push, 2)
# 56 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
typedef struct __CFHost* CFHostRef;
# 69 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern const SInt32 kCFStreamErrorDomainNetDB ;
# 83 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern const SInt32 kCFStreamErrorDomainSystemConfiguration ;
# 93 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
enum CFHostInfoType {
kCFHostAddresses = 0,
kCFHostNames = 1,
kCFHostReachability = 2
};
typedef enum CFHostInfoType CFHostInfoType;
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
struct CFHostClientContext {
CFIndex version;
void * info;
# 144 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
};
typedef struct CFHostClientContext CFHostClientContext;
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
typedef void ( * CFHostClientCallBack)(CFHostRef theHost, CFHostInfoType typeInfo, const CFStreamError *error, void *info);
# 201 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFTypeID
CFHostGetTypeID(void) ;
# 235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFHostRef
CFHostCreateWithName(
CFAllocatorRef allocator,
CFStringRef hostname) ;
# 271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFHostRef
CFHostCreateWithAddress(
CFAllocatorRef allocator,
CFDataRef addr) ;
# 308 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFHostRef
CFHostCreateCopy(
CFAllocatorRef alloc,
CFHostRef host) ;
# 352 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern Boolean
CFHostStartInfoResolution(
CFHostRef theHost,
CFHostInfoType info,
CFStreamError * error) ;
# 392 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFArrayRef
CFHostGetAddressing(
CFHostRef theHost,
Boolean * hasBeenResolved) ;
# 430 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFArrayRef
CFHostGetNames(
CFHostRef theHost,
Boolean * hasBeenResolved) ;
# 472 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern CFDataRef
CFHostGetReachability(
CFHostRef theHost,
Boolean * hasBeenResolved) ;
# 503 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern void
CFHostCancelInfoResolution(
CFHostRef theHost,
CFHostInfoType info) ;
# 547 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern Boolean
CFHostSetClient(
CFHostRef theHost,
CFHostClientCallBack clientCB,
CFHostClientContext * clientContext) ;
# 586 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern void
CFHostScheduleWithRunLoop(
CFHostRef theHost,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 625 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHost.h" 3
extern void
CFHostUnscheduleFromRunLoop(
CFHostRef theHost,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
#pragma pack(pop)
# 29 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
#define __CFNETSERVICES__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 2 3
# 44 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
#pragma pack(push, 2)
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef struct __CFNetService* CFNetServiceRef;
# 67 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef struct __CFNetServiceMonitor* CFNetServiceMonitorRef;
# 76 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef struct __CFNetServiceBrowser* CFNetServiceBrowserRef;
# 89 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern const SInt32 kCFStreamErrorDomainMach ;
# 106 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern const SInt32 kCFStreamErrorDomainNetServices ;
# 116 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
enum CFNetServicesError {
kCFNetServicesErrorUnknown = -72000L,
kCFNetServicesErrorCollision = -72001L,
kCFNetServicesErrorNotFound = -72002L,
kCFNetServicesErrorInProgress = -72003L,
kCFNetServicesErrorBadArgument = -72004L,
kCFNetServicesErrorCancel = -72005L,
kCFNetServicesErrorInvalid = -72006L,
kCFNetServicesErrorTimeout = -72007L
};
typedef enum CFNetServicesError CFNetServicesError;
# 174 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
enum CFNetServiceMonitorType {
kCFNetServiceMonitorTXT = 1
};
typedef enum CFNetServiceMonitorType CFNetServiceMonitorType;
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
enum {
kCFNetServiceFlagNoAutoRename = 1
};
# 201 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
enum {
kCFNetServiceFlagMoreComing = 1,
kCFNetServiceFlagIsDomain = 2,
kCFNetServiceFlagIsDefault = 4,
kCFNetServiceFlagIsRegistrationDomain = 4,
kCFNetServiceFlagRemove = 8
};
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
struct CFNetServiceClientContext {
CFIndex version;
void * info;
# 241 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
};
typedef struct CFNetServiceClientContext CFNetServiceClientContext;
# 280 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef void ( * CFNetServiceClientCallBack)(CFNetServiceRef theService, CFStreamError *error, void *info);
# 309 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef void ( * CFNetServiceMonitorClientCallBack)(CFNetServiceMonitorRef theMonitor, CFNetServiceRef theService, CFNetServiceMonitorType typeInfo, CFDataRef rdata, CFStreamError *error, void *info);
# 339 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
typedef void ( * CFNetServiceBrowserClientCallBack)(CFNetServiceBrowserRef browser, CFOptionFlags flags, CFTypeRef domainOrService, CFStreamError *error, void *info);
# 354 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFTypeID
CFNetServiceGetTypeID(void) ;
# 372 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFTypeID
CFNetServiceMonitorGetTypeID(void) ;
# 390 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFTypeID
CFNetServiceBrowserGetTypeID(void) ;
# 444 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFNetServiceRef
CFNetServiceCreate(
CFAllocatorRef alloc,
CFStringRef domain,
CFStringRef serviceType,
CFStringRef name,
SInt32 port) ;
# 485 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFNetServiceRef
CFNetServiceCreateCopy(
CFAllocatorRef alloc,
CFNetServiceRef service) ;
# 518 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFStringRef
CFNetServiceGetDomain(CFNetServiceRef theService) ;
# 549 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFStringRef
CFNetServiceGetType(CFNetServiceRef theService) ;
# 580 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFStringRef
CFNetServiceGetName(CFNetServiceRef theService) ;
# 627 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceRegisterWithOptions(
CFNetServiceRef theService,
CFOptionFlags options,
CFStreamError * error) ;
# 676 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceResolveWithTimeout(
CFNetServiceRef theService,
CFTimeInterval timeout,
CFStreamError * error) ;
# 703 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceCancel(CFNetServiceRef theService) ;
# 736 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFStringRef
CFNetServiceGetTargetHost(CFNetServiceRef theService) ;
# 766 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern SInt32
CFNetServiceGetPortNumber(CFNetServiceRef theService) ;
# 800 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFArrayRef
CFNetServiceGetAddressing(CFNetServiceRef theService) ;
# 834 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFDataRef
CFNetServiceGetTXTData(CFNetServiceRef theService) ;
# 865 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceSetTXTData(
CFNetServiceRef theService,
CFDataRef txtRecord) ;
# 904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFDictionaryRef
CFNetServiceCreateDictionaryWithTXTData(
CFAllocatorRef alloc,
CFDataRef txtRecord) ;
# 951 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFDataRef
CFNetServiceCreateTXTDataWithDictionary(
CFAllocatorRef alloc,
CFDictionaryRef keyValuePairs) ;
# 1001 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceSetClient(
CFNetServiceRef theService,
CFNetServiceClientCallBack clientCB,
CFNetServiceClientContext * clientContext) ;
# 1036 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceScheduleWithRunLoop(
CFNetServiceRef theService,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1072 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceUnscheduleFromRunLoop(
CFNetServiceRef theService,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFNetServiceMonitorRef
CFNetServiceMonitorCreate(
CFAllocatorRef alloc,
CFNetServiceRef theService,
CFNetServiceMonitorClientCallBack clientCB,
CFNetServiceClientContext * clientContext) ;
# 1147 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceMonitorInvalidate(CFNetServiceMonitorRef monitor) ;
# 1190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceMonitorStart(
CFNetServiceMonitorRef monitor,
CFNetServiceMonitorType recordType,
CFStreamError * error) ;
# 1225 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceMonitorStop(
CFNetServiceMonitorRef monitor,
CFStreamError * error) ;
# 1262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceMonitorScheduleWithRunLoop(
CFNetServiceMonitorRef monitor,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1297 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceMonitorUnscheduleFromRunLoop(
CFNetServiceMonitorRef monitor,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1338 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFNetServiceBrowserRef
CFNetServiceBrowserCreate(
CFAllocatorRef alloc,
CFNetServiceBrowserClientCallBack clientCB,
CFNetServiceClientContext * clientContext) ;
# 1364 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceBrowserInvalidate(CFNetServiceBrowserRef browser) ;
# 1409 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceBrowserSearchForDomains(
CFNetServiceBrowserRef browser,
Boolean registrationDomains,
CFStreamError * error) ;
# 1459 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceBrowserSearchForServices(
CFNetServiceBrowserRef browser,
CFStringRef domain,
CFStringRef serviceType,
CFStreamError * error) ;
# 1497 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceBrowserStopSearch(
CFNetServiceBrowserRef browser,
CFStreamError * error) ;
# 1534 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceBrowserScheduleWithRunLoop(
CFNetServiceBrowserRef browser,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceBrowserUnscheduleFromRunLoop(
CFNetServiceBrowserRef browser,
CFRunLoopRef runLoop,
CFStringRef runLoopMode) ;
# 1620 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceRegister(
CFNetServiceRef theService,
CFStreamError * error) __attribute__((deprecated));
# 1672 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern Boolean
CFNetServiceResolve(
CFNetServiceRef theService,
CFStreamError * error) __attribute__((deprecated));
# 1715 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern CFStringRef
CFNetServiceGetProtocolSpecificInformation(CFNetServiceRef theService) __attribute__((deprecated));
# 1748 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
extern void
CFNetServiceSetProtocolSpecificInformation(
CFNetServiceRef theService,
CFStringRef theInfo) __attribute__((deprecated));
# 1761 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetServices.h" 3
#pragma pack(pop)
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 2 3
# 74 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySSLPeerCertificates ;
# 89 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySSLSettings ;
# 104 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLLevel ;
# 120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLAllowsExpiredCertificates ;
# 136 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLAllowsExpiredRoots ;
# 152 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLAllowsAnyRoot ;
# 168 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLValidatesCertificateChain ;
# 185 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLPeerName ;
# 201 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLCertificates ;
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSSLIsServer ;
# 233 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFIndex kCFStreamErrorDomainWinSock ;
# 245 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const int kCFStreamErrorDomainSOCKS;
static __inline__ __attribute__((always_inline))
SInt32 CFSocketStreamSOCKSGetErrorSubdomain(CFStreamError* error) {
return ((error->error >> 16) & 0x0000FFFF);
}
static __inline__ __attribute__((always_inline))
SInt32 CFSocketStreamSOCKSGetError(CFStreamError* error) {
return (error->error & 0x0000FFFF);
}
enum {
kCFStreamErrorSOCKSSubDomainNone = 0,
kCFStreamErrorSOCKSSubDomainVersionCode = 1,
kCFStreamErrorSOCKS4SubDomainResponse = 2,
kCFStreamErrorSOCKS5SubDomainUserPass = 3,
kCFStreamErrorSOCKS5SubDomainMethod = 4,
kCFStreamErrorSOCKS5SubDomainResponse = 5
};
enum {
kCFStreamErrorSOCKS5BadResponseAddr = 1,
kCFStreamErrorSOCKS5BadState = 2,
kCFStreamErrorSOCKSUnknownClientVersion = 3
};
enum {
kCFStreamErrorSOCKS4RequestFailed = 91,
kCFStreamErrorSOCKS4IdentdFailed = 92,
kCFStreamErrorSOCKS4IdConflict = 93
};
enum {
kSOCKS5NoAcceptableMethod = 0xFF
};
# 308 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSProxy;
# 324 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSProxyHost;
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSProxyPort;
# 358 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSVersion;
# 372 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSOCKSVersion4;
# 386 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSOCKSVersion5;
# 404 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSUser;
# 422 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySOCKSPassword;
# 435 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const int kCFStreamErrorDomainSSL;
# 453 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySocketSecurityLevel;
# 467 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSecurityLevelNone;
# 481 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSecurityLevelSSLv2;
# 495 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSecurityLevelSSLv3;
# 509 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSecurityLevelTLSv1;
# 524 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamSocketSecurityLevelNegotiatedSSL;
# 545 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertyShouldCloseNativeSocket;
# 560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySocketRemoteHost ;
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertySocketRemoteNetService ;
# 616 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern void
CFStreamCreatePairWithSocketToCFHost(
CFAllocatorRef alloc,
CFHostRef host,
SInt32 port,
CFReadStreamRef * readStream,
CFWriteStreamRef * writeStream) ;
# 661 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern void
CFStreamCreatePairWithSocketToNetService(
CFAllocatorRef alloc,
CFNetServiceRef service,
CFReadStreamRef * readStream,
CFWriteStreamRef * writeStream) ;
# 680 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
enum CFStreamSocketSecurityProtocol {
kCFStreamSocketSecurityNone = 0,
kCFStreamSocketSecuritySSLv2 = 1,
kCFStreamSocketSecuritySSLv3 = 2,
kCFStreamSocketSecuritySSLv23 = 3,
kCFStreamSocketSecurityTLSv1 = 4
};
typedef enum CFStreamSocketSecurityProtocol CFStreamSocketSecurityProtocol;
# 744 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern Boolean
CFSocketStreamPairSetSecurityProtocol(
CFReadStreamRef socketReadStream,
CFWriteStreamRef socketWriteStream,
CFStreamSocketSecurityProtocol securityProtocol) __attribute__((deprecated));
# 767 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h" 3
extern const CFStringRef kCFStreamPropertyProxyLocalBypass ;
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
#define __CFFTPSTREAM__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 2 3
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const SInt32 kCFStreamErrorDomainFTP ;
# 75 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPUserName ;
# 91 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPPassword ;
# 107 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPUsePassiveMode ;
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPResourceSize ;
# 140 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPFetchResourceInfo ;
# 155 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPFileTransferOffset ;
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPAttemptPersistentConnection ;
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPProxy ;
# 206 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPProxyHost ;
# 224 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPProxyPort ;
# 234 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPProxyUser ;
# 243 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFStreamPropertyFTPProxyPassword ;
# 265 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceMode ;
# 280 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceName ;
# 295 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceOwner ;
# 310 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceGroup ;
# 326 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceLink ;
# 341 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceSize ;
# 356 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceType ;
# 371 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern const CFStringRef kCFFTPResourceModDate ;
# 410 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern CFReadStreamRef
CFReadStreamCreateWithFTPURL(
CFAllocatorRef alloc,
CFURLRef ftpURL) ;
# 458 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern CFIndex
CFFTPCreateParsedResourceListing(
CFAllocatorRef alloc,
const UInt8 * buffer,
CFIndex bufferLength,
CFDictionaryRef * parsed) ;
# 502 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h" 3
extern CFWriteStreamRef
CFWriteStreamCreateWithFTPURL(
CFAllocatorRef alloc,
CFURLRef ftpURL) ;
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
#define __CFHTTPMESSAGE__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 2 3
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPVersion1_0 ;
# 68 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPVersion1_1 ;
# 82 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPAuthenticationSchemeBasic ;
# 96 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPAuthenticationSchemeDigest ;
# 109 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPAuthenticationSchemeNTLM ;
# 122 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern const CFStringRef kCFHTTPAuthenticationSchemeNegotiate ;
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
typedef struct __CFHTTPMessage* CFHTTPMessageRef;
# 151 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFTypeID
CFHTTPMessageGetTypeID(void) ;
# 194 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFHTTPMessageRef
CFHTTPMessageCreateRequest(
CFAllocatorRef alloc,
CFStringRef requestMethod,
CFURLRef url,
CFStringRef httpVersion) ;
# 241 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFHTTPMessageRef
CFHTTPMessageCreateResponse(
CFAllocatorRef alloc,
CFIndex statusCode,
CFStringRef statusDescription,
CFStringRef httpVersion) ;
# 281 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFHTTPMessageRef
CFHTTPMessageCreateEmpty(
CFAllocatorRef alloc,
Boolean isRequest) ;
# 318 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFHTTPMessageRef
CFHTTPMessageCreateCopy(
CFAllocatorRef alloc,
CFHTTPMessageRef message) ;
# 349 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern Boolean
CFHTTPMessageIsRequest(CFHTTPMessageRef message) ;
# 377 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFStringRef
CFHTTPMessageCopyVersion(CFHTTPMessageRef message) ;
# 405 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFDataRef
CFHTTPMessageCopyBody(CFHTTPMessageRef message) ;
# 433 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern void
CFHTTPMessageSetBody(
CFHTTPMessageRef message,
CFDataRef bodyData) ;
# 467 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFStringRef
CFHTTPMessageCopyHeaderFieldValue(
CFHTTPMessageRef message,
CFStringRef headerField) ;
# 497 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFDictionaryRef
CFHTTPMessageCopyAllHeaderFields(CFHTTPMessageRef message) ;
# 529 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern void
CFHTTPMessageSetHeaderFieldValue(
CFHTTPMessageRef message,
CFStringRef headerField,
CFStringRef value) ;
# 568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern Boolean
CFHTTPMessageAppendBytes(
CFHTTPMessageRef message,
const UInt8 * newBytes,
CFIndex numBytes) ;
# 599 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern Boolean
CFHTTPMessageIsHeaderComplete(CFHTTPMessageRef message) ;
# 628 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFDataRef
CFHTTPMessageCopySerializedMessage(CFHTTPMessageRef request) ;
# 659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFURLRef
CFHTTPMessageCopyRequestURL(CFHTTPMessageRef request) ;
# 686 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFStringRef
CFHTTPMessageCopyRequestMethod(CFHTTPMessageRef request) ;
# 735 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern Boolean
CFHTTPMessageAddAuthentication(
CFHTTPMessageRef request,
CFHTTPMessageRef authenticationFailureResponse,
CFStringRef username,
CFStringRef password,
CFStringRef authenticationScheme,
Boolean forProxy) ;
# 772 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFIndex
CFHTTPMessageGetResponseStatusCode(CFHTTPMessageRef response) ;
# 801 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h" 3
extern CFStringRef
CFHTTPMessageCopyResponseStatusLine(CFHTTPMessageRef response) ;
# 46 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
#define __CFHTTPSTREAM__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 2 3
# 60 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const SInt32 kCFStreamErrorDomainHTTP ;
enum CFStreamErrorHTTP {
kCFStreamErrorHTTPParseFailure = -1,
kCFStreamErrorHTTPRedirectionLoop = -2,
kCFStreamErrorHTTPBadURL = -3
};
typedef enum CFStreamErrorHTTP CFStreamErrorHTTP;
# 99 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPResponseHeader ;
# 116 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPFinalURL ;
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPFinalRequest ;
# 152 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPProxy ;
# 167 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPProxyHost ;
# 181 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPProxyPort ;
# 196 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPSProxyHost ;
# 211 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPSProxyPort ;
# 227 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPShouldAutoredirect ;
# 245 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPAttemptPersistentConnection ;
# 262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern const CFStringRef kCFStreamPropertyHTTPRequestBytesWrittenCount ;
# 304 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern CFReadStreamRef
CFReadStreamCreateForHTTPRequest(
CFAllocatorRef alloc,
CFHTTPMessageRef request) ;
# 354 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern CFReadStreamRef
CFReadStreamCreateForStreamedHTTPRequest(
CFAllocatorRef alloc,
CFHTTPMessageRef requestHeaders,
CFReadStreamRef requestBody) ;
# 384 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern void
CFHTTPReadStreamSetRedirectsAutomatically(
CFReadStreamRef httpStream,
Boolean shouldAutoRedirect) __attribute__((deprecated));
# 415 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h" 3
extern void
CFHTTPReadStreamSetProxy(
CFReadStreamRef httpStream,
CFStringRef proxyHost,
CFIndex proxyPort) __attribute__((deprecated));
# 50 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
#define __CFHTTPAUTHENTICATION__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 2 3
# 56 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
typedef struct _CFHTTPAuthentication* CFHTTPAuthenticationRef;
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
enum CFStreamErrorHTTPAuthentication {
kCFStreamErrorHTTPAuthenticationTypeUnsupported = -1000,
kCFStreamErrorHTTPAuthenticationBadUserName = -1001,
kCFStreamErrorHTTPAuthenticationBadPassword = -1002
};
typedef enum CFStreamErrorHTTPAuthentication CFStreamErrorHTTPAuthentication;
# 102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern const CFStringRef kCFHTTPAuthenticationUsername ;
# 117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern const CFStringRef kCFHTTPAuthenticationPassword ;
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern const CFStringRef kCFHTTPAuthenticationAccountDomain ;
# 148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern CFTypeID
CFHTTPAuthenticationGetTypeID(void) ;
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern CFHTTPAuthenticationRef
CFHTTPAuthenticationCreateFromResponse(
CFAllocatorRef alloc,
CFHTTPMessageRef response) ;
# 230 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPAuthenticationIsValid(
CFHTTPAuthenticationRef auth,
CFStreamError * error) ;
# 267 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPAuthenticationAppliesToRequest(
CFHTTPAuthenticationRef auth,
CFHTTPMessageRef request) ;
# 302 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPAuthenticationRequiresOrderedRequests(CFHTTPAuthenticationRef auth) ;
# 351 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPMessageApplyCredentials(
CFHTTPMessageRef request,
CFHTTPAuthenticationRef auth,
CFStringRef username,
CFStringRef password,
CFStreamError * error) ;
# 403 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPMessageApplyCredentialDictionary(
CFHTTPMessageRef request,
CFHTTPAuthenticationRef auth,
CFDictionaryRef dict,
CFStreamError * error) ;
# 442 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern CFStringRef
CFHTTPAuthenticationCopyRealm(CFHTTPAuthenticationRef auth) ;
# 477 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern CFArrayRef
CFHTTPAuthenticationCopyDomains(CFHTTPAuthenticationRef auth) ;
# 510 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern CFStringRef
CFHTTPAuthenticationCopyMethod(CFHTTPAuthenticationRef auth) ;
# 542 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPAuthenticationRequiresUserNameAndPassword(CFHTTPAuthenticationRef auth) ;
# 575 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h" 3
extern Boolean
CFHTTPAuthenticationRequiresAccountDomain(CFHTTPAuthenticationRef auth) ;
# 54 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 1 3
# 18 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
#define __CFNETDIAGNOSTICS__
# 49 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
typedef struct __CFNetDiagnostic* CFNetDiagnosticRef;
enum CFNetDiagnosticStatusValues {
kCFNetDiagnosticNoErr = 0,
kCFNetDiagnosticErr = -66560L,
kCFNetDiagnosticConnectionUp = -66559L,
kCFNetDiagnosticConnectionIndeterminate = -66558L,
kCFNetDiagnosticConnectionDown = -66557L
};
typedef enum CFNetDiagnosticStatusValues CFNetDiagnosticStatusValues;
# 89 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
typedef CFIndex CFNetDiagnosticStatus;
# 118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
extern CFNetDiagnosticRef
CFNetDiagnosticCreateWithStreams(
CFAllocatorRef alloc,
CFReadStreamRef readStream,
CFWriteStreamRef writeStream) ;
# 148 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
extern CFNetDiagnosticRef
CFNetDiagnosticCreateWithURL(
CFAllocatorRef alloc,
CFURLRef url) ;
# 179 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
extern void
CFNetDiagnosticSetName(
CFNetDiagnosticRef details,
CFStringRef name) ;
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
extern CFNetDiagnosticStatus
CFNetDiagnosticDiagnoseProblemInteractively(CFNetDiagnosticRef details) ;
# 243 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h" 3
extern CFNetDiagnosticStatus
CFNetDiagnosticCopyNetworkStatusPassively(
CFNetDiagnosticRef details,
CFStringRef * description) ;
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
#define __CFPROXYSUPPORT__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h" 1 3
# 21 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 2 3
# 102 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern CFArrayRef
CFNetworkCopyProxiesForURL(
CFURLRef url,
CFDictionaryRef proxySettings) ;
# 136 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
typedef void ( * CFProxyAutoConfigurationResultCallback)(void *client, CFArrayRef proxyList, CFErrorRef error);
# 167 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern CFArrayRef
CFNetworkCopyProxiesForAutoConfigurationScript(
CFStringRef proxyAutoConfigurationScript,
CFURLRef targetURL) ;
# 187 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern CFRunLoopSourceRef
CFNetworkExecuteProxyAutoConfigurationURL(
CFURLRef proxyAutoConfigURL,
CFURLRef targetURL,
CFProxyAutoConfigurationResultCallback cb,
CFStreamClientContext * clientContext) ;
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeKey ;
# 223 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyHostNameKey ;
# 237 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyPortNumberKey ;
# 253 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyAutoConfigurationURLKey ;
# 269 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyUsernameKey ;
# 285 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyPasswordKey ;
# 304 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeNone ;
# 313 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeHTTP ;
# 322 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeHTTPS ;
# 331 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeSOCKS ;
# 340 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeFTP ;
# 349 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h" 3
extern const CFStringRef kCFProxyTypeAutoConfigurationURL ;
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetwork.h" 2 3
# 38 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 1 3
# 18 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 3
#define __LAUNCHSERVICES__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
#define __ICONSCORE__
# 40 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
enum {
kGenericDocumentIconResource = -4000,
kGenericStationeryIconResource = -3985,
kGenericEditionFileIconResource = -3989,
kGenericApplicationIconResource = -3996,
kGenericDeskAccessoryIconResource = -3991,
kGenericFolderIconResource = -3999,
kPrivateFolderIconResource = -3994,
kFloppyIconResource = -3998,
kTrashIconResource = -3993,
kGenericRAMDiskIconResource = -3988,
kGenericCDROMIconResource = -3987
};
enum {
kDesktopIconResource = -3992,
kOpenFolderIconResource = -3997,
kGenericHardDiskIconResource = -3995,
kGenericFileServerIconResource = -3972,
kGenericSuitcaseIconResource = -3970,
kGenericMoverObjectIconResource = -3969
};
enum {
kGenericPreferencesIconResource = -3971,
kGenericQueryDocumentIconResource = -16506,
kGenericExtensionIconResource = -16415,
kSystemFolderIconResource = -3983,
kHelpIconResource = -20271,
kAppleMenuFolderIconResource = -3982
};
enum {
genericDocumentIconResource = kGenericDocumentIconResource,
genericStationeryIconResource = kGenericStationeryIconResource,
genericEditionFileIconResource = kGenericEditionFileIconResource,
genericApplicationIconResource = kGenericApplicationIconResource,
genericDeskAccessoryIconResource = kGenericDeskAccessoryIconResource,
genericFolderIconResource = kGenericFolderIconResource,
privateFolderIconResource = kPrivateFolderIconResource,
floppyIconResource = kFloppyIconResource,
trashIconResource = kTrashIconResource,
genericRAMDiskIconResource = kGenericRAMDiskIconResource,
genericCDROMIconResource = kGenericCDROMIconResource,
desktopIconResource = kDesktopIconResource,
openFolderIconResource = kOpenFolderIconResource,
genericHardDiskIconResource = kGenericHardDiskIconResource,
genericFileServerIconResource = kGenericFileServerIconResource,
genericSuitcaseIconResource = kGenericSuitcaseIconResource,
genericMoverObjectIconResource = kGenericMoverObjectIconResource,
genericPreferencesIconResource = kGenericPreferencesIconResource,
genericQueryDocumentIconResource = kGenericQueryDocumentIconResource,
genericExtensionIconResource = kGenericExtensionIconResource,
systemFolderIconResource = kSystemFolderIconResource,
appleMenuFolderIconResource = kAppleMenuFolderIconResource
};
enum {
kStartupFolderIconResource = -3981,
kOwnedFolderIconResource = -3980,
kDropFolderIconResource = -3979,
kSharedFolderIconResource = -3978,
kMountedFolderIconResource = -3977,
kControlPanelFolderIconResource = -3976,
kPrintMonitorFolderIconResource = -3975,
kPreferencesFolderIconResource = -3974,
kExtensionsFolderIconResource = -3973,
kFontsFolderIconResource = -3968,
kFullTrashIconResource = -3984
};
enum {
startupFolderIconResource = kStartupFolderIconResource,
ownedFolderIconResource = kOwnedFolderIconResource,
dropFolderIconResource = kDropFolderIconResource,
sharedFolderIconResource = kSharedFolderIconResource,
mountedFolderIconResource = kMountedFolderIconResource,
controlPanelFolderIconResource = kControlPanelFolderIconResource,
printMonitorFolderIconResource = kPrintMonitorFolderIconResource,
preferencesFolderIconResource = kPreferencesFolderIconResource,
extensionsFolderIconResource = kExtensionsFolderIconResource,
fontsFolderIconResource = kFontsFolderIconResource,
fullTrashIconResource = kFullTrashIconResource
};
typedef struct OpaqueIconRef* IconRef;
# 152 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
enum {
kSystemIconsCreator = 'macs'
};
# 164 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
enum {
kClipboardIcon = 'CLIP',
kClippingUnknownTypeIcon = 'clpu',
kClippingPictureTypeIcon = 'clpp',
kClippingTextTypeIcon = 'clpt',
kClippingSoundTypeIcon = 'clps',
kDesktopIcon = 'desk',
kFinderIcon = 'FNDR',
kComputerIcon = 'root',
kFontSuitcaseIcon = 'FFIL',
kFullTrashIcon = 'ftrh',
kGenericApplicationIcon = 'APPL',
kGenericCDROMIcon = 'cddr',
kGenericControlPanelIcon = 'APPC',
kGenericControlStripModuleIcon = 'sdev',
kGenericComponentIcon = 'thng',
kGenericDeskAccessoryIcon = 'APPD',
kGenericDocumentIcon = 'docu',
kGenericEditionFileIcon = 'edtf',
kGenericExtensionIcon = 'INIT',
kGenericFileServerIcon = 'srvr',
kGenericFontIcon = 'ffil',
kGenericFontScalerIcon = 'sclr',
kGenericFloppyIcon = 'flpy',
kGenericHardDiskIcon = 'hdsk',
kGenericIDiskIcon = 'idsk',
kGenericRemovableMediaIcon = 'rmov',
kGenericMoverObjectIcon = 'movr',
kGenericPCCardIcon = 'pcmc',
kGenericPreferencesIcon = 'pref',
kGenericQueryDocumentIcon = 'qery',
kGenericRAMDiskIcon = 'ramd',
kGenericSharedLibaryIcon = 'shlb',
kGenericStationeryIcon = 'sdoc',
kGenericSuitcaseIcon = 'suit',
kGenericURLIcon = 'gurl',
kGenericWORMIcon = 'worm',
kInternationalResourcesIcon = 'ifil',
kKeyboardLayoutIcon = 'kfil',
kSoundFileIcon = 'sfil',
kSystemSuitcaseIcon = 'zsys',
kTrashIcon = 'trsh',
kTrueTypeFontIcon = 'tfil',
kTrueTypeFlatFontIcon = 'sfnt',
kTrueTypeMultiFlatFontIcon = 'ttcf',
kUserIDiskIcon = 'udsk',
kUnknownFSObjectIcon = 'unfs',
kInternationResourcesIcon = kInternationalResourcesIcon
};
enum {
kInternetLocationHTTPIcon = 'ilht',
kInternetLocationFTPIcon = 'ilft',
kInternetLocationAppleShareIcon = 'ilaf',
kInternetLocationAppleTalkZoneIcon = 'ilat',
kInternetLocationFileIcon = 'ilfi',
kInternetLocationMailIcon = 'ilma',
kInternetLocationNewsIcon = 'ilnw',
kInternetLocationNSLNeighborhoodIcon = 'ilns',
kInternetLocationGenericIcon = 'ilge'
};
enum {
kGenericFolderIcon = 'fldr',
kDropFolderIcon = 'dbox',
kMountedFolderIcon = 'mntd',
kOpenFolderIcon = 'ofld',
kOwnedFolderIcon = 'ownd',
kPrivateFolderIcon = 'prvf',
kSharedFolderIcon = 'shfl'
};
enum {
kSharingPrivsNotApplicableIcon = 'shna',
kSharingPrivsReadOnlyIcon = 'shro',
kSharingPrivsReadWriteIcon = 'shrw',
kSharingPrivsUnknownIcon = 'shuk',
kSharingPrivsWritableIcon = 'writ'
};
enum {
kUserFolderIcon = 'ufld',
kWorkgroupFolderIcon = 'wfld',
kGuestUserIcon = 'gusr',
kUserIcon = 'user',
kOwnerIcon = 'susr',
kGroupIcon = 'grup'
};
enum {
kAppearanceFolderIcon = 'appr',
kAppleExtrasFolderIcon = 0x616578C4 ,
kAppleMenuFolderIcon = 'amnu',
kApplicationsFolderIcon = 'apps',
kApplicationSupportFolderIcon = 'asup',
kAssistantsFolderIcon = 0x617374C4 ,
kColorSyncFolderIcon = 'prof',
kContextualMenuItemsFolderIcon = 'cmnu',
kControlPanelDisabledFolderIcon = 'ctrD',
kControlPanelFolderIcon = 'ctrl',
kControlStripModulesFolderIcon = 0x736476C4 ,
kDocumentsFolderIcon = 'docs',
kExtensionsDisabledFolderIcon = 'extD',
kExtensionsFolderIcon = 'extn',
kFavoritesFolderIcon = 'favs',
kFontsFolderIcon = 'font',
kHelpFolderIcon = (long)0xC4686C70 ,
kInternetFolderIcon = 0x696E74C4 ,
kInternetPlugInFolderIcon = (long)0xC46E6574 ,
kInternetSearchSitesFolderIcon = 'issf',
kLocalesFolderIcon = (long)0xC46C6F63 ,
kMacOSReadMeFolderIcon = 0x6D6F72C4 ,
kPublicFolderIcon = 'pubf',
kPreferencesFolderIcon = 0x707266C4 ,
kPrinterDescriptionFolderIcon = 'ppdf',
kPrinterDriverFolderIcon = (long)0xC4707264 ,
kPrintMonitorFolderIcon = 'prnt',
kRecentApplicationsFolderIcon = 'rapp',
kRecentDocumentsFolderIcon = 'rdoc',
kRecentServersFolderIcon = 'rsrv',
kScriptingAdditionsFolderIcon = (long)0xC4736372 ,
kSharedLibrariesFolderIcon = (long)0xC46C6962 ,
kScriptsFolderIcon = 0x736372C4 ,
kShutdownItemsDisabledFolderIcon = 'shdD',
kShutdownItemsFolderIcon = 'shdf',
kSpeakableItemsFolder = 'spki',
kStartupItemsDisabledFolderIcon = 'strD',
kStartupItemsFolderIcon = 'strt',
kSystemExtensionDisabledFolderIcon = 'macD',
kSystemFolderIcon = 'macs',
kTextEncodingsFolderIcon = (long)0xC4746578 ,
kUsersFolderIcon = 0x757372C4 ,
kUtilitiesFolderIcon = 0x757469C4 ,
kVoicesFolderIcon = 'fvoc'
};
enum {
kAppleScriptBadgeIcon = 'scrp',
kLockedBadgeIcon = 'lbdg',
kMountedBadgeIcon = 'mbdg',
kSharedBadgeIcon = 'sbdg',
kAliasBadgeIcon = 'abdg',
kAlertCautionBadgeIcon = 'cbdg'
};
enum {
kAlertNoteIcon = 'note',
kAlertCautionIcon = 'caut',
kAlertStopIcon = 'stop'
};
enum {
kAppleTalkIcon = 'atlk',
kAppleTalkZoneIcon = 'atzn',
kAFPServerIcon = 'afps',
kFTPServerIcon = 'ftps',
kHTTPServerIcon = 'htps',
kGenericNetworkIcon = 'gnet',
kIPFileServerIcon = 'isrv'
};
enum {
kToolbarCustomizeIcon = 'tcus',
kToolbarDeleteIcon = 'tdel',
kToolbarFavoritesIcon = 'tfav',
kToolbarHomeIcon = 'thom'
};
enum {
kAppleLogoIcon = 'capl',
kAppleMenuIcon = 'sapl',
kBackwardArrowIcon = 'baro',
kFavoriteItemsIcon = 'favr',
kForwardArrowIcon = 'faro',
kGridIcon = 'grid',
kHelpIcon = 'help',
kKeepArrangedIcon = 'arng',
kLockedIcon = 'lock',
kNoFilesIcon = 'nfil',
kNoFolderIcon = 'nfld',
kNoWriteIcon = 'nwrt',
kProtectedApplicationFolderIcon = 'papp',
kProtectedSystemFolderIcon = 'psys',
kRecentItemsIcon = 'rcnt',
kShortcutIcon = 'shrt',
kSortAscendingIcon = 'asnd',
kSortDescendingIcon = 'dsnd',
kUnlockedIcon = 'ulck',
kConnectToIcon = 'cnct',
kGenericWindowIcon = 'gwin',
kQuestionMarkIcon = 'ques',
kDeleteAliasIcon = 'dali',
kEjectMediaIcon = 'ejec',
kBurningIcon = 'burn',
kRightContainerArrowIcon = 'rcar'
};
typedef UInt32 IconServicesUsageFlags;
enum {
kIconServicesNormalUsageFlag = 0x00000000,
kIconServicesNoBadgeFlag = 0x00000001,
kIconServicesUpdateIfNeededFlag = 0x00000002
};
# 389 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
enum {
kIconServicesCatalogInfoMask = (kFSCatInfoNodeID | kFSCatInfoParentDirID | kFSCatInfoVolume | kFSCatInfoNodeFlags | kFSCatInfoFinderInfo | kFSCatInfoFinderXInfo | kFSCatInfoUserAccess | kFSCatInfoPermissions | kFSCatInfoContentMod)
};
# 420 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetIconRefOwners(
IconRef theIconRef,
UInt16 * owners) ;
# 443 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
AcquireIconRef(IconRef theIconRef) ;
# 469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
ReleaseIconRef(IconRef theIconRef) ;
# 546 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetIconRef(
SInt16 vRefNum,
OSType creator,
OSType iconType,
IconRef * theIconRef) ;
# 579 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetIconRefFromFolder(
SInt16 vRefNum,
SInt32 parentFolderID,
SInt32 folderID,
SInt8 attributes,
SInt8 accessPrivileges,
IconRef * theIconRef) ;
# 639 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSStatus
GetIconRefFromFileInfo(
const FSRef * inRef,
UniCharCount inFileNameLength,
const UniChar * inFileName,
FSCatalogInfoBitmap inWhichInfo,
const FSCatalogInfo * inCatalogInfo,
IconServicesUsageFlags inUsageFlags,
IconRef * outIconRef,
SInt16 * outLabel) ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetIconRefFromTypeInfo(
OSType inCreator,
OSType inType,
CFStringRef inExtension,
CFStringRef inMIMEType,
IconServicesUsageFlags inUsageFlags,
IconRef * outIconRef) ;
# 735 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSStatus
GetIconRefFromIconFamilyPtr(
const IconFamilyResource * inIconFamilyPtr,
Size inSize,
IconRef * outIconRef) ;
# 770 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSStatus
GetIconRefFromComponent(
Component inComponent,
IconRef * outIconRef) ;
# 806 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
RegisterIconRefFromIconFamily(
OSType creator,
OSType iconType,
IconFamilyHandle iconFamily,
IconRef * theIconRef) ;
# 879 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSStatus
RegisterIconRefFromFSRef(
OSType creator,
OSType iconType,
const FSRef * iconFile,
IconRef * theIconRef) ;
# 906 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
UnregisterIconRef(
OSType creator,
OSType iconType) ;
# 937 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
UpdateIconRef(IconRef theIconRef) ;
# 991 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
OverrideIconRef(
IconRef oldIconRef,
IconRef newIconRef) ;
# 1015 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
RemoveIconRefOverride(IconRef theIconRef) ;
# 1045 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
CompositeIconRef(
IconRef backgroundIconRef,
IconRef foregroundIconRef,
IconRef * compositeIconRef) ;
# 1070 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
IsIconRefComposite(
IconRef compositeIconRef,
IconRef * backgroundIconRef,
IconRef * foregroundIconRef) ;
# 1101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern Boolean
IsValidIconRef(IconRef theIconRef) ;
# 1133 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern Boolean
IsDataAvailableInIconRef(
OSType inIconKind,
IconRef inIconRef) ;
# 1224 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
SetCustomIconsEnabled(
SInt16 vRefNum,
Boolean enableCustomIcons) ;
# 1248 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSErr
GetCustomIconsEnabled(
SInt16 vRefNum,
Boolean * customIconsEnabled) ;
# 1367 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h" 3
extern OSStatus
ReadIconFromFSRef(
const FSRef * ref,
IconFamilyHandle * iconFamily) ;
# 22 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
#define __LSINFO__
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
#pragma pack(push, 2)
enum {
kLSAppInTrashErr = -10660,
kLSExecutableIncorrectFormat = -10661,
kLSAttributeNotFoundErr = -10662,
kLSAttributeNotSettableErr = -10663,
kLSUnknownErr = -10810,
kLSNotAnApplicationErr = -10811,
kLSNotInitializedErr = -10812,
kLSDataUnavailableErr = -10813,
kLSApplicationNotFoundErr = -10814,
kLSUnknownTypeErr = -10815,
kLSDataTooOldErr = -10816,
kLSDataErr = -10817,
kLSLaunchInProgressErr = -10818,
kLSNotRegisteredErr = -10819,
kLSAppDoesNotClaimTypeErr = -10820,
kLSAppDoesNotSupportSchemeWarning = -10821,
kLSServerCommunicationErr = -10822,
kLSCannotSetInfoErr = -10823,
kLSNoRegistrationInfoErr = -10824,
kLSIncompatibleSystemVersionErr = -10825,
kLSNoLaunchPermissionErr = -10826,
kLSNoExecutableErr = -10827,
kLSNoClassicEnvironmentErr = -10828,
kLSMultipleSessionsNotSupportedErr = -10829
};
typedef OptionBits LSInitializeFlags;
enum {
kLSInitializeDefaults = 0x00000001
};
enum {
kLSMinCatInfoBitmap = (kFSCatInfoNodeFlags | kFSCatInfoParentDirID | kFSCatInfoFinderInfo | kFSCatInfoFinderXInfo)
};
#define kLSInvalidExtensionIndex ULONG_MAX
typedef OptionBits LSRequestedInfo;
enum {
kLSRequestExtension = 0x00000001,
kLSRequestTypeCreator = 0x00000002,
kLSRequestBasicFlagsOnly = 0x00000004,
kLSRequestAppTypeFlags = 0x00000008,
kLSRequestAllFlags = 0x00000010,
kLSRequestIconAndKind = 0x00000020,
kLSRequestExtensionFlagsOnly = 0x00000040,
kLSRequestAllInfo = (UInt32)0xFFFFFFFF
};
typedef OptionBits LSItemInfoFlags;
enum {
kLSItemInfoIsPlainFile = 0x00000001,
kLSItemInfoIsPackage = 0x00000002,
kLSItemInfoIsApplication = 0x00000004,
kLSItemInfoIsContainer = 0x00000008,
kLSItemInfoIsAliasFile = 0x00000010,
kLSItemInfoIsSymlink = 0x00000020,
kLSItemInfoIsInvisible = 0x00000040,
kLSItemInfoIsNativeApp = 0x00000080,
kLSItemInfoIsClassicApp = 0x00000100,
kLSItemInfoAppPrefersNative = 0x00000200,
kLSItemInfoAppPrefersClassic = 0x00000400,
kLSItemInfoAppIsScriptable = 0x00000800,
kLSItemInfoIsVolume = 0x00001000,
kLSItemInfoExtensionIsHidden = 0x00100000
};
typedef OptionBits LSRolesMask;
enum {
kLSRolesNone = 0x00000001,
kLSRolesViewer = 0x00000002,
kLSRolesEditor = 0x00000004,
kLSRolesShell = 0x00000008,
kLSRolesAll = (UInt32)0xFFFFFFFF
};
# 127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
enum {
kLSUnknownType = 0,
kLSUnknownCreator = 0
};
struct LSItemInfoRecord {
LSItemInfoFlags flags;
OSType filetype;
OSType creator;
CFStringRef extension;
};
typedef struct LSItemInfoRecord LSItemInfoRecord;
typedef OptionBits LSAcceptanceFlags;
enum {
kLSAcceptDefault = 0x00000001,
kLSAcceptAllowLoginUI = 0x00000002
};
# 168 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSInit(LSInitializeFlags inFlags) __attribute__((deprecated));
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSTerm(void) __attribute__((deprecated));
# 218 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyItemInfoForRef(
const FSRef * inItemRef,
LSRequestedInfo inWhichInfo,
LSItemInfoRecord * outItemInfo) ;
# 254 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyItemInfoForURL(
CFURLRef inURL,
LSRequestedInfo inWhichInfo,
LSItemInfoRecord * outItemInfo) ;
# 293 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSGetExtensionInfo(
UniCharCount inNameLen,
const UniChar inNameBuffer[],
UniCharCount * outExtStartIndex) ;
# 328 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyDisplayNameForRef(
const FSRef * inRef,
CFStringRef * outDisplayName) ;
# 362 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyDisplayNameForURL(
CFURLRef inURL,
CFStringRef * outDisplayName) ;
# 397 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetExtensionHiddenForRef(
const FSRef * inRef,
Boolean inHide) ;
# 432 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetExtensionHiddenForURL(
CFURLRef inURL,
Boolean inHide) ;
# 466 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyKindStringForRef(
const FSRef * inFSRef,
CFStringRef * outKindString) ;
# 500 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyKindStringForURL(
CFURLRef inURL,
CFStringRef * outKindString) ;
# 551 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyKindStringForTypeInfo(
OSType inType,
OSType inCreator,
CFStringRef inExtension,
CFStringRef * outKindString) ;
# 587 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyKindStringForMIMEType(
CFStringRef inMIMEType,
CFStringRef * outKindString) ;
# 633 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSGetApplicationForItem(
const FSRef * inItemRef,
LSRolesMask inRoleMask,
FSRef * outAppRef,
CFURLRef * outAppURL) ;
# 690 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSGetApplicationForInfo(
OSType inType,
OSType inCreator,
CFStringRef inExtension,
LSRolesMask inRoleMask,
FSRef * outAppRef,
CFURLRef * outAppURL) ;
# 736 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyApplicationForMIMEType(
CFStringRef inMIMEType,
LSRolesMask inRoleMask,
CFURLRef * outAppURL) ;
# 784 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSGetApplicationForURL(
CFURLRef inURL,
LSRolesMask inRoleMask,
FSRef * outAppRef,
CFURLRef * outAppURL) ;
# 835 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSFindApplicationForInfo(
OSType inCreator,
CFStringRef inBundleID,
CFStringRef inName,
FSRef * outAppRef,
CFURLRef * outAppURL) ;
# 883 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCanRefAcceptItem(
const FSRef * inItemFSRef,
const FSRef * inTargetRef,
LSRolesMask inRoleMask,
LSAcceptanceFlags inFlags,
Boolean * outAcceptsItem) ;
# 931 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCanURLAcceptURL(
CFURLRef inItemURL,
CFURLRef inTargetURL,
LSRolesMask inRoleMask,
LSAcceptanceFlags inFlags,
Boolean * outAcceptsItem) ;
# 974 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSRegisterURL(
CFURLRef inURL,
Boolean inUpdate) ;
# 1013 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSRegisterFSRef(
const FSRef * inRef,
Boolean inUpdate) ;
# 1056 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern CFArrayRef
LSCopyApplicationURLsForURL(
CFURLRef inURL,
LSRolesMask inRoleMask) ;
# 1141 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemContentType ;
# 1150 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemFileType ;
# 1159 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemFileCreator ;
# 1168 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemExtension ;
# 1177 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemDisplayName ;
# 1186 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemDisplayKind ;
# 1195 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemRoleHandlerDisplayName ;
# 1204 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemIsInvisible ;
# 1213 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemExtensionIsHidden ;
# 1222 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern const CFStringRef kLSItemQuarantineProperties ;
# 1259 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyItemAttribute(
const FSRef * inItem,
LSRolesMask inRoles,
CFStringRef inAttributeName,
CFTypeRef * outValue) ;
# 1307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSCopyItemAttributes(
const FSRef * inItem,
LSRolesMask inRoles,
CFArrayRef inAttributeNames,
CFDictionaryRef * outValues) ;
# 1351 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetItemAttribute(
const FSRef * inItem,
LSRolesMask inRoles,
CFStringRef inAttributeName,
CFTypeRef inValue) ;
# 1383 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern CFStringRef
LSCopyDefaultRoleHandlerForContentType(
CFStringRef inContentType,
LSRolesMask inRole) ;
# 1411 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern CFArrayRef
LSCopyAllRoleHandlersForContentType(
CFStringRef inContentType,
LSRolesMask inRole) ;
# 1437 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetDefaultRoleHandlerForContentType(
CFStringRef inContentType,
LSRolesMask inRole,
CFStringRef inHandlerBundleID) ;
# 1456 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
typedef OptionBits LSHandlerOptions;
enum {
kLSHandlerOptionsDefault = 0,
kLSHandlerOptionsIgnoreCreator = 1
};
# 1479 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern LSHandlerOptions
LSGetHandlerOptionsForContentType(CFStringRef inContentType) ;
# 1500 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetHandlerOptionsForContentType(
CFStringRef inContentType,
LSHandlerOptions inOptions) ;
# 1525 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern CFStringRef
LSCopyDefaultHandlerForURLScheme(CFStringRef inURLScheme) ;
# 1550 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern CFArrayRef
LSCopyAllHandlersForURLScheme(CFStringRef inURLScheme) ;
# 1573 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h" 3
extern OSStatus
LSSetDefaultHandlerForURLScheme(
CFStringRef inURLScheme,
CFStringRef inHandlerBundleID) ;
#pragma pack(pop)
# 26 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
#define __LSOPEN__
# 48 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
#pragma pack(push, 2)
typedef OptionBits LSLaunchFlags;
enum {
kLSLaunchDefaults = 0x00000001,
kLSLaunchAndPrint = 0x00000002,
kLSLaunchReserved2 = 0x00000004,
kLSLaunchReserved3 = 0x00000008,
kLSLaunchReserved4 = 0x00000010,
kLSLaunchReserved5 = 0x00000020,
kLSLaunchAndDisplayErrors = 0x00000040,
kLSLaunchInhibitBGOnly = 0x00000080,
kLSLaunchDontAddToRecents = 0x00000100,
kLSLaunchDontSwitch = 0x00000200,
kLSLaunchNoParams = 0x00000800,
kLSLaunchAsync = 0x00010000,
kLSLaunchStartClassic = 0x00020000,
kLSLaunchInClassic = 0x00040000,
kLSLaunchNewInstance = 0x00080000,
kLSLaunchAndHide = 0x00100000,
kLSLaunchAndHideOthers = 0x00200000,
kLSLaunchHasUntrustedContents = 0x00400000
};
struct LSLaunchFSRefSpec {
const FSRef * appRef;
ItemCount numDocs;
const FSRef * itemRefs;
const AEDesc * passThruParams;
LSLaunchFlags launchFlags;
void * asyncRefCon;
};
typedef struct LSLaunchFSRefSpec LSLaunchFSRefSpec;
struct LSLaunchURLSpec {
CFURLRef appURL;
CFArrayRef itemURLs;
const AEDesc * passThruParams;
LSLaunchFlags launchFlags;
void * asyncRefCon;
};
typedef struct LSLaunchURLSpec LSLaunchURLSpec;
# 131 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenFSRef(
const FSRef * inRef,
FSRef * outLaunchedRef) ;
# 171 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenCFURLRef(
CFURLRef inURL,
CFURLRef * outLaunchedURL) ;
# 205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenFromRefSpec(
const LSLaunchFSRefSpec * inLaunchSpec,
FSRef * outLaunchedRef) ;
# 241 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenFromURLSpec(
const LSLaunchURLSpec * inLaunchSpec,
CFURLRef * outLaunchedURL) ;
# 262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
struct LSApplicationParameters {
CFIndex version;
LSLaunchFlags flags;
const FSRef * application;
void * asyncLaunchRefCon;
CFDictionaryRef environment;
CFArrayRef argv;
AppleEvent * initialEvent;
};
typedef struct LSApplicationParameters LSApplicationParameters;
# 301 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenApplication(
const LSApplicationParameters * appParams,
ProcessSerialNumber * outPSN) ;
# 346 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenItemsWithRole(
const FSRef * inItems,
CFIndex inItemCount,
LSRolesMask inRole,
const AEKeyDesc * inAEParam,
const LSApplicationParameters * inAppParams,
ProcessSerialNumber * outPSNs,
CFIndex inMaxPSNCount) ;
# 399 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSOpen.h" 3
extern OSStatus
LSOpenURLsWithRole(
CFArrayRef inURLs,
LSRolesMask inRole,
const AEKeyDesc * inAEParam,
const LSApplicationParameters * inAppParams,
ProcessSerialNumber * outPSNs,
CFIndex inMaxPSNCount) ;
#pragma pack(pop)
# 30 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
#define __LSQUARANTINE__
# 100 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineAgentNameKey ;
# 109 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineAgentBundleIdentifierKey ;
# 118 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTimeStampKey ;
# 127 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeKey ;
# 136 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeWebDownload ;
# 145 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeOtherDownload ;
# 154 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeEmailAttachment ;
# 163 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeInstantMessageAttachment ;
# 172 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeCalendarEventAttachment ;
# 181 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineTypeOtherAttachment ;
# 190 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineOriginURLKey ;
# 199 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSQuarantine.h" 3
extern const CFStringRef kLSQuarantineDataURLKey ;
# 34 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
#define __LSSHAREDFILELIST__
# 32 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 1 3
# 24 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h" 3
#define _CSSMCONFIG_H_ 1
# 1 "/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/ConditionalMacros.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h" 2 3
# 44 "/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h" 3
typedef int64_t sint64;
#define _SINT64
typedef uint64_t uint64;
#define _UINT64
typedef int32_t sint32;
#define _SINT32
typedef int16_t sint16;
#define _SINT16
typedef int8_t sint8;
#define _SINT8
typedef uint32_t uint32;
#define _UINT32
typedef uint16_t uint16;
#define _UINT16
typedef uint8_t uint8;
#define _UINT8
typedef intptr_t CSSM_INTPTR;
typedef size_t CSSM_SIZE;
#define CSSMACI
#define CSSMAPI
#define CSSMCLI
#define CSSMCSPI
#define CSSMDLI
#define CSSMKRI
#define CSSMSPI
#define CSSMTPI
# 25 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
#define _CSSMAPPLE_H_ 1
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmerr.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmerr.h" 3
#define _CSSMERR_H_ 1
# 43 "/System/Library/Frameworks/Security.framework/Headers/cssmerr.h" 3
enum {
CSSM_BASE_ERROR = -0x7FFF0000
};
enum {
CSSM_ERRORCODE_MODULE_EXTENT = 0x00000800,
CSSM_ERRORCODE_CUSTOM_OFFSET = 0x00000400,
CSSM_ERRORCODE_COMMON_EXTENT = 0x100
};
#define CSSM_ERRCODE(CODE) (((CODE) - CSSM_BASE_ERROR) & (CSSM_ERRORCODE_MODULE_EXTENT - 1))
#define CSSM_ERRBASE(CODE) ((((CODE) - CSSM_BASE_ERROR) & ~(CSSM_ERRORCODE_MODULE_EXTENT - 1)) + CSSM_BASE_ERROR)
#define CSSM_ERR_IS_CONVERTIBLE(CODE) (CSSM_ERRCODE(CODE) < CSSM_ERRORCODE_COMMON_EXTENT)
#define CSSM_ERR_TAG(CODE,BASE) (CSSM_ERRCODE(CODE) + (BASE))
enum {
CSSM_CSSM_BASE_ERROR = CSSM_BASE_ERROR,
CSSM_CSSM_PRIVATE_ERROR = CSSM_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET,
CSSM_CSP_BASE_ERROR = CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_CSP_PRIVATE_ERROR = CSSM_CSP_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET,
CSSM_DL_BASE_ERROR = CSSM_CSP_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_DL_PRIVATE_ERROR = CSSM_DL_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET,
CSSM_CL_BASE_ERROR = CSSM_DL_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_CL_PRIVATE_ERROR = CSSM_CL_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET,
CSSM_TP_BASE_ERROR = CSSM_CL_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_TP_PRIVATE_ERROR = CSSM_TP_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET ,
CSSM_KR_BASE_ERROR = CSSM_TP_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_KR_PRIVATE_ERROR = CSSM_KR_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET,
CSSM_AC_BASE_ERROR = CSSM_KR_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_AC_PRIVATE_ERROR = CSSM_AC_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET
};
enum {
CSSM_MDS_BASE_ERROR = CSSM_CSP_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT,
CSSM_MDS_PRIVATE_ERROR = CSSM_MDS_BASE_ERROR + CSSM_ERRORCODE_CUSTOM_OFFSET
};
enum {
CSSMERR_CSSM_INVALID_ADDIN_HANDLE =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 1,
CSSMERR_CSSM_NOT_INITIALIZED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 2,
CSSMERR_CSSM_INVALID_HANDLE_USAGE =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 3,
CSSMERR_CSSM_PVC_REFERENT_NOT_FOUND =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 4,
CSSMERR_CSSM_FUNCTION_INTEGRITY_FAIL =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 5
};
enum {
CSSM_ERRCODE_INTERNAL_ERROR = 0x0001,
CSSM_ERRCODE_MEMORY_ERROR = 0x0002,
CSSM_ERRCODE_MDS_ERROR = 0x0003,
CSSM_ERRCODE_INVALID_POINTER = 0x0004,
CSSM_ERRCODE_INVALID_INPUT_POINTER = 0x0005,
CSSM_ERRCODE_INVALID_OUTPUT_POINTER = 0x0006,
CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED = 0x0007,
CSSM_ERRCODE_SELF_CHECK_FAILED = 0x0008,
CSSM_ERRCODE_OS_ACCESS_DENIED = 0x0009,
CSSM_ERRCODE_FUNCTION_FAILED = 0x000A,
CSSM_ERRCODE_MODULE_MANIFEST_VERIFY_FAILED = 0x000B,
CSSM_ERRCODE_INVALID_GUID = 0x000C
};
enum {
CSSM_ERRCODE_OPERATION_AUTH_DENIED = 0x0020,
CSSM_ERRCODE_OBJECT_USE_AUTH_DENIED = 0x0021,
CSSM_ERRCODE_OBJECT_MANIP_AUTH_DENIED = 0x0022,
CSSM_ERRCODE_OBJECT_ACL_NOT_SUPPORTED = 0x0023,
CSSM_ERRCODE_OBJECT_ACL_REQUIRED = 0x0024,
CSSM_ERRCODE_INVALID_ACCESS_CREDENTIALS = 0x0025,
CSSM_ERRCODE_INVALID_ACL_BASE_CERTS = 0x0026,
CSSM_ERRCODE_ACL_BASE_CERTS_NOT_SUPPORTED = 0x0027,
CSSM_ERRCODE_INVALID_SAMPLE_VALUE = 0x0028,
CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED = 0x0029,
CSSM_ERRCODE_INVALID_ACL_SUBJECT_VALUE = 0x002A,
CSSM_ERRCODE_ACL_SUBJECT_TYPE_NOT_SUPPORTED = 0x002B,
CSSM_ERRCODE_INVALID_ACL_CHALLENGE_CALLBACK = 0x002C,
CSSM_ERRCODE_ACL_CHALLENGE_CALLBACK_FAILED = 0x002D,
CSSM_ERRCODE_INVALID_ACL_ENTRY_TAG = 0x002E,
CSSM_ERRCODE_ACL_ENTRY_TAG_NOT_FOUND = 0x002F,
CSSM_ERRCODE_INVALID_ACL_EDIT_MODE = 0x0030,
CSSM_ERRCODE_ACL_CHANGE_FAILED = 0x0031,
CSSM_ERRCODE_INVALID_NEW_ACL_ENTRY = 0x0032,
CSSM_ERRCODE_INVALID_NEW_ACL_OWNER = 0x0033,
CSSM_ERRCODE_ACL_DELETE_FAILED = 0x0034,
CSSM_ERRCODE_ACL_REPLACE_FAILED = 0x0035,
CSSM_ERRCODE_ACL_ADD_FAILED = 0x0036
};
enum {
CSSM_ERRCODE_INVALID_CONTEXT_HANDLE = 0x0040,
CSSM_ERRCODE_INCOMPATIBLE_VERSION = 0x0041,
CSSM_ERRCODE_INVALID_CERTGROUP_POINTER = 0x0042,
CSSM_ERRCODE_INVALID_CERT_POINTER = 0x0043,
CSSM_ERRCODE_INVALID_CRL_POINTER = 0x0044,
CSSM_ERRCODE_INVALID_FIELD_POINTER = 0x0045,
CSSM_ERRCODE_INVALID_DATA = 0x0046,
CSSM_ERRCODE_CRL_ALREADY_SIGNED = 0x0047,
CSSM_ERRCODE_INVALID_NUMBER_OF_FIELDS = 0x0048,
CSSM_ERRCODE_VERIFICATION_FAILURE = 0x0049,
CSSM_ERRCODE_INVALID_DB_HANDLE = 0x004A,
CSSM_ERRCODE_PRIVILEGE_NOT_GRANTED = 0x004B,
CSSM_ERRCODE_INVALID_DB_LIST = 0x004C,
CSSM_ERRCODE_INVALID_DB_LIST_POINTER = 0x004D,
CSSM_ERRCODE_UNKNOWN_FORMAT = 0x004E,
CSSM_ERRCODE_UNKNOWN_TAG = 0x004F,
CSSM_ERRCODE_INVALID_CSP_HANDLE = 0x0050,
CSSM_ERRCODE_INVALID_DL_HANDLE = 0x0051,
CSSM_ERRCODE_INVALID_CL_HANDLE = 0x0052,
CSSM_ERRCODE_INVALID_TP_HANDLE = 0x0053,
CSSM_ERRCODE_INVALID_KR_HANDLE = 0x0054,
CSSM_ERRCODE_INVALID_AC_HANDLE = 0x0055,
CSSM_ERRCODE_INVALID_PASSTHROUGH_ID = 0x0056,
CSSM_ERRCODE_INVALID_NETWORK_ADDR = 0x0057,
CSSM_ERRCODE_INVALID_CRYPTO_DATA = 0x0058
};
enum {
CSSMERR_CSSM_INTERNAL_ERROR =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_CSSM_MEMORY_ERROR =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_CSSM_MDS_ERROR =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_CSSM_INVALID_POINTER =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_CSSM_INVALID_INPUT_POINTER =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_CSSM_INVALID_OUTPUT_POINTER =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_CSSM_FUNCTION_NOT_IMPLEMENTED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_CSSM_SELF_CHECK_FAILED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_CSSM_OS_ACCESS_DENIED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_CSSM_FUNCTION_FAILED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED,
CSSMERR_CSSM_MODULE_MANIFEST_VERIFY_FAILED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_MODULE_MANIFEST_VERIFY_FAILED,
CSSMERR_CSSM_INVALID_GUID =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INVALID_GUID
};
enum {
CSSMERR_CSSM_INVALID_CONTEXT_HANDLE =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INVALID_CONTEXT_HANDLE,
CSSMERR_CSSM_INCOMPATIBLE_VERSION =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INCOMPATIBLE_VERSION,
CSSMERR_CSSM_PRIVILEGE_NOT_GRANTED =
CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_PRIVILEGE_NOT_GRANTED
};
enum {
CSSM_CSSM_BASE_CSSM_ERROR =
CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT + 0x10,
CSSMERR_CSSM_SCOPE_NOT_SUPPORTED = CSSM_CSSM_BASE_CSSM_ERROR + 1,
CSSMERR_CSSM_PVC_ALREADY_CONFIGURED = CSSM_CSSM_BASE_CSSM_ERROR + 2,
CSSMERR_CSSM_INVALID_PVC = CSSM_CSSM_BASE_CSSM_ERROR + 3,
CSSMERR_CSSM_EMM_LOAD_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 4,
CSSMERR_CSSM_EMM_UNLOAD_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 5,
CSSMERR_CSSM_ADDIN_LOAD_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 6,
CSSMERR_CSSM_INVALID_KEY_HIERARCHY = CSSM_CSSM_BASE_CSSM_ERROR + 7,
CSSMERR_CSSM_ADDIN_UNLOAD_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 8,
CSSMERR_CSSM_LIB_REF_NOT_FOUND = CSSM_CSSM_BASE_CSSM_ERROR + 9,
CSSMERR_CSSM_INVALID_ADDIN_FUNCTION_TABLE = CSSM_CSSM_BASE_CSSM_ERROR + 10,
CSSMERR_CSSM_EMM_AUTHENTICATE_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 11,
CSSMERR_CSSM_ADDIN_AUTHENTICATE_FAILED = CSSM_CSSM_BASE_CSSM_ERROR + 12,
CSSMERR_CSSM_INVALID_SERVICE_MASK = CSSM_CSSM_BASE_CSSM_ERROR + 13,
CSSMERR_CSSM_MODULE_NOT_LOADED = CSSM_CSSM_BASE_CSSM_ERROR + 14,
CSSMERR_CSSM_INVALID_SUBSERVICEID = CSSM_CSSM_BASE_CSSM_ERROR + 15,
CSSMERR_CSSM_BUFFER_TOO_SMALL = CSSM_CSSM_BASE_CSSM_ERROR + 16,
CSSMERR_CSSM_INVALID_ATTRIBUTE = CSSM_CSSM_BASE_CSSM_ERROR + 17,
CSSMERR_CSSM_ATTRIBUTE_NOT_IN_CONTEXT = CSSM_CSSM_BASE_CSSM_ERROR + 18,
CSSMERR_CSSM_MODULE_MANAGER_INITIALIZE_FAIL = CSSM_CSSM_BASE_CSSM_ERROR + 19,
CSSMERR_CSSM_MODULE_MANAGER_NOT_FOUND = CSSM_CSSM_BASE_CSSM_ERROR + 20,
CSSMERR_CSSM_EVENT_NOTIFICATION_CALLBACK_NOT_FOUND = CSSM_CSSM_BASE_CSSM_ERROR + 21
};
enum {
CSSMERR_CSP_INTERNAL_ERROR =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_CSP_MEMORY_ERROR =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_CSP_MDS_ERROR =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_CSP_INVALID_POINTER =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_CSP_INVALID_INPUT_POINTER =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_CSP_INVALID_OUTPUT_POINTER =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_CSP_FUNCTION_NOT_IMPLEMENTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_CSP_SELF_CHECK_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_CSP_OS_ACCESS_DENIED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_CSP_FUNCTION_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED
};
enum {
CSSMERR_CSP_OPERATION_AUTH_DENIED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OPERATION_AUTH_DENIED,
CSSMERR_CSP_OBJECT_USE_AUTH_DENIED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OBJECT_USE_AUTH_DENIED,
CSSMERR_CSP_OBJECT_MANIP_AUTH_DENIED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OBJECT_MANIP_AUTH_DENIED,
CSSMERR_CSP_OBJECT_ACL_NOT_SUPPORTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OBJECT_ACL_NOT_SUPPORTED,
CSSMERR_CSP_OBJECT_ACL_REQUIRED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_OBJECT_ACL_REQUIRED,
CSSMERR_CSP_INVALID_ACCESS_CREDENTIALS =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACCESS_CREDENTIALS,
CSSMERR_CSP_INVALID_ACL_BASE_CERTS =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_BASE_CERTS,
CSSMERR_CSP_ACL_BASE_CERTS_NOT_SUPPORTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_BASE_CERTS_NOT_SUPPORTED,
CSSMERR_CSP_INVALID_SAMPLE_VALUE =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_SAMPLE_VALUE,
CSSMERR_CSP_SAMPLE_VALUE_NOT_SUPPORTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED,
CSSMERR_CSP_INVALID_ACL_SUBJECT_VALUE =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_SUBJECT_VALUE,
CSSMERR_CSP_ACL_SUBJECT_TYPE_NOT_SUPPORTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_SUBJECT_TYPE_NOT_SUPPORTED,
CSSMERR_CSP_INVALID_ACL_CHALLENGE_CALLBACK =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_CHALLENGE_CALLBACK,
CSSMERR_CSP_ACL_CHALLENGE_CALLBACK_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_CHALLENGE_CALLBACK_FAILED,
CSSMERR_CSP_INVALID_ACL_ENTRY_TAG =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_ENTRY_TAG,
CSSMERR_CSP_ACL_ENTRY_TAG_NOT_FOUND =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_ENTRY_TAG_NOT_FOUND,
CSSMERR_CSP_INVALID_ACL_EDIT_MODE =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_EDIT_MODE,
CSSMERR_CSP_ACL_CHANGE_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_CHANGE_FAILED,
CSSMERR_CSP_INVALID_NEW_ACL_ENTRY =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_NEW_ACL_ENTRY,
CSSMERR_CSP_INVALID_NEW_ACL_OWNER =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_NEW_ACL_OWNER,
CSSMERR_CSP_ACL_DELETE_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_DELETE_FAILED,
CSSMERR_CSP_ACL_REPLACE_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_REPLACE_FAILED,
CSSMERR_CSP_ACL_ADD_FAILED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_ACL_ADD_FAILED
};
enum {
CSSMERR_CSP_INVALID_CONTEXT_HANDLE =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_CONTEXT_HANDLE,
CSSMERR_CSP_PRIVILEGE_NOT_GRANTED =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_PRIVILEGE_NOT_GRANTED,
CSSMERR_CSP_INVALID_DATA =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_DATA,
CSSMERR_CSP_INVALID_PASSTHROUGH_ID =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_PASSTHROUGH_ID,
CSSMERR_CSP_INVALID_CRYPTO_DATA =
CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INVALID_CRYPTO_DATA
};
enum {
CSSM_CSP_BASE_CSP_ERROR =
CSSM_CSP_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT,
CSSMERR_CSP_INPUT_LENGTH_ERROR = CSSM_CSP_BASE_CSP_ERROR + 1,
CSSMERR_CSP_OUTPUT_LENGTH_ERROR = CSSM_CSP_BASE_CSP_ERROR + 2,
CSSMERR_CSP_PRIVILEGE_NOT_SUPPORTED = CSSM_CSP_BASE_CSP_ERROR + 3,
CSSMERR_CSP_DEVICE_ERROR = CSSM_CSP_BASE_CSP_ERROR + 4,
CSSMERR_CSP_DEVICE_MEMORY_ERROR = CSSM_CSP_BASE_CSP_ERROR + 5,
CSSMERR_CSP_ATTACH_HANDLE_BUSY = CSSM_CSP_BASE_CSP_ERROR + 6,
CSSMERR_CSP_NOT_LOGGED_IN = CSSM_CSP_BASE_CSP_ERROR + 7,
CSSMERR_CSP_INVALID_KEY = CSSM_CSP_BASE_CSP_ERROR + 16,
CSSMERR_CSP_INVALID_KEY_REFERENCE = CSSM_CSP_BASE_CSP_ERROR + 17,
CSSMERR_CSP_INVALID_KEY_CLASS = CSSM_CSP_BASE_CSP_ERROR + 18,
CSSMERR_CSP_ALGID_MISMATCH = CSSM_CSP_BASE_CSP_ERROR + 19,
CSSMERR_CSP_KEY_USAGE_INCORRECT = CSSM_CSP_BASE_CSP_ERROR + 20,
CSSMERR_CSP_KEY_BLOB_TYPE_INCORRECT = CSSM_CSP_BASE_CSP_ERROR + 21,
CSSMERR_CSP_KEY_HEADER_INCONSISTENT = CSSM_CSP_BASE_CSP_ERROR + 22,
CSSMERR_CSP_UNSUPPORTED_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 23,
CSSMERR_CSP_UNSUPPORTED_KEY_SIZE = CSSM_CSP_BASE_CSP_ERROR + 24,
CSSMERR_CSP_INVALID_KEY_POINTER = CSSM_CSP_BASE_CSP_ERROR + 25,
CSSMERR_CSP_INVALID_KEYUSAGE_MASK = CSSM_CSP_BASE_CSP_ERROR + 26,
CSSMERR_CSP_UNSUPPORTED_KEYUSAGE_MASK = CSSM_CSP_BASE_CSP_ERROR + 27,
CSSMERR_CSP_INVALID_KEYATTR_MASK = CSSM_CSP_BASE_CSP_ERROR + 28,
CSSMERR_CSP_UNSUPPORTED_KEYATTR_MASK = CSSM_CSP_BASE_CSP_ERROR + 29,
CSSMERR_CSP_INVALID_KEY_LABEL = CSSM_CSP_BASE_CSP_ERROR + 30,
CSSMERR_CSP_UNSUPPORTED_KEY_LABEL = CSSM_CSP_BASE_CSP_ERROR + 31,
CSSMERR_CSP_INVALID_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 32,
CSSMERR_CSP_INVALID_DATA_COUNT = CSSM_CSP_BASE_CSP_ERROR + 40,
CSSMERR_CSP_VECTOR_OF_BUFS_UNSUPPORTED = CSSM_CSP_BASE_CSP_ERROR + 41,
CSSMERR_CSP_INVALID_INPUT_VECTOR = CSSM_CSP_BASE_CSP_ERROR + 42,
CSSMERR_CSP_INVALID_OUTPUT_VECTOR = CSSM_CSP_BASE_CSP_ERROR + 43,
CSSMERR_CSP_INVALID_CONTEXT = CSSM_CSP_BASE_CSP_ERROR + 48,
CSSMERR_CSP_INVALID_ALGORITHM = CSSM_CSP_BASE_CSP_ERROR + 49,
CSSMERR_CSP_INVALID_ATTR_KEY = CSSM_CSP_BASE_CSP_ERROR + 54,
CSSMERR_CSP_MISSING_ATTR_KEY = CSSM_CSP_BASE_CSP_ERROR + 55,
CSSMERR_CSP_INVALID_ATTR_INIT_VECTOR = CSSM_CSP_BASE_CSP_ERROR + 56,
CSSMERR_CSP_MISSING_ATTR_INIT_VECTOR = CSSM_CSP_BASE_CSP_ERROR + 57,
CSSMERR_CSP_INVALID_ATTR_SALT = CSSM_CSP_BASE_CSP_ERROR + 58,
CSSMERR_CSP_MISSING_ATTR_SALT = CSSM_CSP_BASE_CSP_ERROR + 59,
CSSMERR_CSP_INVALID_ATTR_PADDING = CSSM_CSP_BASE_CSP_ERROR + 60,
CSSMERR_CSP_MISSING_ATTR_PADDING = CSSM_CSP_BASE_CSP_ERROR + 61,
CSSMERR_CSP_INVALID_ATTR_RANDOM = CSSM_CSP_BASE_CSP_ERROR + 62,
CSSMERR_CSP_MISSING_ATTR_RANDOM = CSSM_CSP_BASE_CSP_ERROR + 63,
CSSMERR_CSP_INVALID_ATTR_SEED = CSSM_CSP_BASE_CSP_ERROR + 64,
CSSMERR_CSP_MISSING_ATTR_SEED = CSSM_CSP_BASE_CSP_ERROR + 65,
CSSMERR_CSP_INVALID_ATTR_PASSPHRASE = CSSM_CSP_BASE_CSP_ERROR + 66,
CSSMERR_CSP_MISSING_ATTR_PASSPHRASE = CSSM_CSP_BASE_CSP_ERROR + 67,
CSSMERR_CSP_INVALID_ATTR_KEY_LENGTH = CSSM_CSP_BASE_CSP_ERROR + 68,
CSSMERR_CSP_MISSING_ATTR_KEY_LENGTH = CSSM_CSP_BASE_CSP_ERROR + 69,
CSSMERR_CSP_INVALID_ATTR_BLOCK_SIZE = CSSM_CSP_BASE_CSP_ERROR + 70,
CSSMERR_CSP_MISSING_ATTR_BLOCK_SIZE = CSSM_CSP_BASE_CSP_ERROR + 71,
CSSMERR_CSP_INVALID_ATTR_OUTPUT_SIZE = CSSM_CSP_BASE_CSP_ERROR + 100,
CSSMERR_CSP_MISSING_ATTR_OUTPUT_SIZE = CSSM_CSP_BASE_CSP_ERROR + 101,
CSSMERR_CSP_INVALID_ATTR_ROUNDS = CSSM_CSP_BASE_CSP_ERROR + 102,
CSSMERR_CSP_MISSING_ATTR_ROUNDS = CSSM_CSP_BASE_CSP_ERROR + 103,
CSSMERR_CSP_INVALID_ATTR_ALG_PARAMS = CSSM_CSP_BASE_CSP_ERROR + 104,
CSSMERR_CSP_MISSING_ATTR_ALG_PARAMS = CSSM_CSP_BASE_CSP_ERROR + 105,
CSSMERR_CSP_INVALID_ATTR_LABEL = CSSM_CSP_BASE_CSP_ERROR + 106,
CSSMERR_CSP_MISSING_ATTR_LABEL = CSSM_CSP_BASE_CSP_ERROR + 107,
CSSMERR_CSP_INVALID_ATTR_KEY_TYPE = CSSM_CSP_BASE_CSP_ERROR + 108,
CSSMERR_CSP_MISSING_ATTR_KEY_TYPE = CSSM_CSP_BASE_CSP_ERROR + 109,
CSSMERR_CSP_INVALID_ATTR_MODE = CSSM_CSP_BASE_CSP_ERROR + 110,
CSSMERR_CSP_MISSING_ATTR_MODE = CSSM_CSP_BASE_CSP_ERROR + 111,
CSSMERR_CSP_INVALID_ATTR_EFFECTIVE_BITS = CSSM_CSP_BASE_CSP_ERROR + 112,
CSSMERR_CSP_MISSING_ATTR_EFFECTIVE_BITS = CSSM_CSP_BASE_CSP_ERROR + 113,
CSSMERR_CSP_INVALID_ATTR_START_DATE = CSSM_CSP_BASE_CSP_ERROR + 114,
CSSMERR_CSP_MISSING_ATTR_START_DATE = CSSM_CSP_BASE_CSP_ERROR + 115,
CSSMERR_CSP_INVALID_ATTR_END_DATE = CSSM_CSP_BASE_CSP_ERROR + 116,
CSSMERR_CSP_MISSING_ATTR_END_DATE = CSSM_CSP_BASE_CSP_ERROR + 117,
CSSMERR_CSP_INVALID_ATTR_VERSION = CSSM_CSP_BASE_CSP_ERROR + 118,
CSSMERR_CSP_MISSING_ATTR_VERSION = CSSM_CSP_BASE_CSP_ERROR + 119,
CSSMERR_CSP_INVALID_ATTR_PRIME = CSSM_CSP_BASE_CSP_ERROR + 120,
CSSMERR_CSP_MISSING_ATTR_PRIME = CSSM_CSP_BASE_CSP_ERROR + 121,
CSSMERR_CSP_INVALID_ATTR_BASE = CSSM_CSP_BASE_CSP_ERROR + 122,
CSSMERR_CSP_MISSING_ATTR_BASE = CSSM_CSP_BASE_CSP_ERROR + 123,
CSSMERR_CSP_INVALID_ATTR_SUBPRIME = CSSM_CSP_BASE_CSP_ERROR + 124,
CSSMERR_CSP_MISSING_ATTR_SUBPRIME = CSSM_CSP_BASE_CSP_ERROR + 125,
CSSMERR_CSP_INVALID_ATTR_ITERATION_COUNT = CSSM_CSP_BASE_CSP_ERROR + 126,
CSSMERR_CSP_MISSING_ATTR_ITERATION_COUNT = CSSM_CSP_BASE_CSP_ERROR + 127,
CSSMERR_CSP_INVALID_ATTR_DL_DB_HANDLE = CSSM_CSP_BASE_CSP_ERROR + 128,
CSSMERR_CSP_MISSING_ATTR_DL_DB_HANDLE = CSSM_CSP_BASE_CSP_ERROR + 129,
CSSMERR_CSP_INVALID_ATTR_ACCESS_CREDENTIALS = CSSM_CSP_BASE_CSP_ERROR + 130,
CSSMERR_CSP_MISSING_ATTR_ACCESS_CREDENTIALS = CSSM_CSP_BASE_CSP_ERROR + 131,
CSSMERR_CSP_INVALID_ATTR_PUBLIC_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 132,
CSSMERR_CSP_MISSING_ATTR_PUBLIC_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 133,
CSSMERR_CSP_INVALID_ATTR_PRIVATE_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 134,
CSSMERR_CSP_MISSING_ATTR_PRIVATE_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 135,
CSSMERR_CSP_INVALID_ATTR_SYMMETRIC_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 136,
CSSMERR_CSP_MISSING_ATTR_SYMMETRIC_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 137,
CSSMERR_CSP_INVALID_ATTR_WRAPPED_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 138,
CSSMERR_CSP_MISSING_ATTR_WRAPPED_KEY_FORMAT = CSSM_CSP_BASE_CSP_ERROR + 139,
CSSMERR_CSP_STAGED_OPERATION_IN_PROGRESS = CSSM_CSP_BASE_CSP_ERROR + 72,
CSSMERR_CSP_STAGED_OPERATION_NOT_STARTED = CSSM_CSP_BASE_CSP_ERROR + 73,
CSSMERR_CSP_VERIFY_FAILED = CSSM_CSP_BASE_CSP_ERROR + 74,
CSSMERR_CSP_INVALID_SIGNATURE = CSSM_CSP_BASE_CSP_ERROR + 75,
CSSMERR_CSP_QUERY_SIZE_UNKNOWN = CSSM_CSP_BASE_CSP_ERROR + 76,
CSSMERR_CSP_BLOCK_SIZE_MISMATCH = CSSM_CSP_BASE_CSP_ERROR + 77,
CSSMERR_CSP_PRIVATE_KEY_NOT_FOUND = CSSM_CSP_BASE_CSP_ERROR + 78,
CSSMERR_CSP_PUBLIC_KEY_INCONSISTENT = CSSM_CSP_BASE_CSP_ERROR + 79,
CSSMERR_CSP_DEVICE_VERIFY_FAILED = CSSM_CSP_BASE_CSP_ERROR + 80,
CSSMERR_CSP_INVALID_LOGIN_NAME = CSSM_CSP_BASE_CSP_ERROR + 81,
CSSMERR_CSP_ALREADY_LOGGED_IN = CSSM_CSP_BASE_CSP_ERROR + 82,
CSSMERR_CSP_PRIVATE_KEY_ALREADY_EXISTS = CSSM_CSP_BASE_CSP_ERROR + 83,
CSSMERR_CSP_KEY_LABEL_ALREADY_EXISTS = CSSM_CSP_BASE_CSP_ERROR + 84,
CSSMERR_CSP_INVALID_DIGEST_ALGORITHM = CSSM_CSP_BASE_CSP_ERROR + 85,
CSSMERR_CSP_CRYPTO_DATA_CALLBACK_FAILED = CSSM_CSP_BASE_CSP_ERROR + 86
};
enum {
CSSMERR_TP_INTERNAL_ERROR =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_TP_MEMORY_ERROR =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_TP_MDS_ERROR =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_TP_INVALID_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_TP_INVALID_INPUT_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_TP_INVALID_OUTPUT_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_TP_FUNCTION_NOT_IMPLEMENTED =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_TP_SELF_CHECK_FAILED =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_TP_OS_ACCESS_DENIED =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_TP_FUNCTION_FAILED =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED,
CSSMERR_TP_INVALID_CONTEXT_HANDLE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CONTEXT_HANDLE,
CSSMERR_TP_INVALID_DATA =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_DATA,
CSSMERR_TP_INVALID_DB_LIST =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_LIST,
CSSMERR_TP_INVALID_CERTGROUP_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CERTGROUP_POINTER,
CSSMERR_TP_INVALID_CERT_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CERT_POINTER,
CSSMERR_TP_INVALID_CRL_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CRL_POINTER,
CSSMERR_TP_INVALID_FIELD_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_FIELD_POINTER,
CSSMERR_TP_INVALID_NETWORK_ADDR =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_NETWORK_ADDR,
CSSMERR_TP_CRL_ALREADY_SIGNED =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_CRL_ALREADY_SIGNED,
CSSMERR_TP_INVALID_NUMBER_OF_FIELDS =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_NUMBER_OF_FIELDS,
CSSMERR_TP_VERIFICATION_FAILURE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_VERIFICATION_FAILURE,
CSSMERR_TP_INVALID_DB_HANDLE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_HANDLE,
CSSMERR_TP_UNKNOWN_FORMAT =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_UNKNOWN_FORMAT,
CSSMERR_TP_UNKNOWN_TAG =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_UNKNOWN_TAG,
CSSMERR_TP_INVALID_PASSTHROUGH_ID =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_PASSTHROUGH_ID,
CSSMERR_TP_INVALID_CSP_HANDLE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CSP_HANDLE,
CSSMERR_TP_INVALID_DL_HANDLE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_DL_HANDLE,
CSSMERR_TP_INVALID_CL_HANDLE =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_CL_HANDLE,
CSSMERR_TP_INVALID_DB_LIST_POINTER =
CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_LIST_POINTER
};
enum {
CSSM_TP_BASE_TP_ERROR =
CSSM_TP_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT,
CSSMERR_TP_INVALID_CALLERAUTH_CONTEXT_POINTER = CSSM_TP_BASE_TP_ERROR + 1,
CSSMERR_TP_INVALID_IDENTIFIER_POINTER = CSSM_TP_BASE_TP_ERROR + 2,
CSSMERR_TP_INVALID_KEYCACHE_HANDLE = CSSM_TP_BASE_TP_ERROR + 3,
CSSMERR_TP_INVALID_CERTGROUP = CSSM_TP_BASE_TP_ERROR + 4,
CSSMERR_TP_INVALID_CRLGROUP = CSSM_TP_BASE_TP_ERROR + 5,
CSSMERR_TP_INVALID_CRLGROUP_POINTER = CSSM_TP_BASE_TP_ERROR + 6,
CSSMERR_TP_AUTHENTICATION_FAILED = CSSM_TP_BASE_TP_ERROR + 7,
CSSMERR_TP_CERTGROUP_INCOMPLETE = CSSM_TP_BASE_TP_ERROR + 8,
CSSMERR_TP_CERTIFICATE_CANT_OPERATE = CSSM_TP_BASE_TP_ERROR + 9,
CSSMERR_TP_CERT_EXPIRED = CSSM_TP_BASE_TP_ERROR + 10,
CSSMERR_TP_CERT_NOT_VALID_YET = CSSM_TP_BASE_TP_ERROR + 11,
CSSMERR_TP_CERT_REVOKED = CSSM_TP_BASE_TP_ERROR + 12,
CSSMERR_TP_CERT_SUSPENDED = CSSM_TP_BASE_TP_ERROR + 13,
CSSMERR_TP_INSUFFICIENT_CREDENTIALS = CSSM_TP_BASE_TP_ERROR + 14,
CSSMERR_TP_INVALID_ACTION = CSSM_TP_BASE_TP_ERROR + 15,
CSSMERR_TP_INVALID_ACTION_DATA = CSSM_TP_BASE_TP_ERROR + 16,
CSSMERR_TP_INVALID_ANCHOR_CERT = CSSM_TP_BASE_TP_ERROR + 18,
CSSMERR_TP_INVALID_AUTHORITY = CSSM_TP_BASE_TP_ERROR + 19,
CSSMERR_TP_VERIFY_ACTION_FAILED = CSSM_TP_BASE_TP_ERROR + 20,
CSSMERR_TP_INVALID_CERTIFICATE = CSSM_TP_BASE_TP_ERROR + 21,
CSSMERR_TP_INVALID_CERT_AUTHORITY = CSSM_TP_BASE_TP_ERROR + 22,
CSSMERR_TP_INVALID_CRL_AUTHORITY = CSSM_TP_BASE_TP_ERROR + 23,
CSSMERR_TP_INVALID_CRL_ENCODING = CSSM_TP_BASE_TP_ERROR + 24,
CSSMERR_TP_INVALID_CRL_TYPE = CSSM_TP_BASE_TP_ERROR + 25,
CSSMERR_TP_INVALID_CRL = CSSM_TP_BASE_TP_ERROR + 26,
CSSMERR_TP_INVALID_FORM_TYPE = CSSM_TP_BASE_TP_ERROR + 27,
CSSMERR_TP_INVALID_ID = CSSM_TP_BASE_TP_ERROR + 28,
CSSMERR_TP_INVALID_IDENTIFIER = CSSM_TP_BASE_TP_ERROR + 29,
CSSMERR_TP_INVALID_INDEX = CSSM_TP_BASE_TP_ERROR + 30,
CSSMERR_TP_INVALID_NAME = CSSM_TP_BASE_TP_ERROR + 31,
CSSMERR_TP_INVALID_POLICY_IDENTIFIERS = CSSM_TP_BASE_TP_ERROR + 32,
CSSMERR_TP_INVALID_TIMESTRING = CSSM_TP_BASE_TP_ERROR + 33,
CSSMERR_TP_INVALID_REASON = CSSM_TP_BASE_TP_ERROR + 34,
CSSMERR_TP_INVALID_REQUEST_INPUTS = CSSM_TP_BASE_TP_ERROR + 35,
CSSMERR_TP_INVALID_RESPONSE_VECTOR = CSSM_TP_BASE_TP_ERROR + 36,
CSSMERR_TP_INVALID_SIGNATURE = CSSM_TP_BASE_TP_ERROR + 37,
CSSMERR_TP_INVALID_STOP_ON_POLICY = CSSM_TP_BASE_TP_ERROR + 38,
CSSMERR_TP_INVALID_CALLBACK = CSSM_TP_BASE_TP_ERROR + 39,
CSSMERR_TP_INVALID_TUPLE = CSSM_TP_BASE_TP_ERROR + 40,
CSSMERR_TP_NOT_SIGNER = CSSM_TP_BASE_TP_ERROR + 41,
CSSMERR_TP_NOT_TRUSTED = CSSM_TP_BASE_TP_ERROR + 42,
CSSMERR_TP_NO_DEFAULT_AUTHORITY = CSSM_TP_BASE_TP_ERROR + 43,
CSSMERR_TP_REJECTED_FORM = CSSM_TP_BASE_TP_ERROR + 44,
CSSMERR_TP_REQUEST_LOST = CSSM_TP_BASE_TP_ERROR + 45,
CSSMERR_TP_REQUEST_REJECTED = CSSM_TP_BASE_TP_ERROR + 46,
CSSMERR_TP_UNSUPPORTED_ADDR_TYPE = CSSM_TP_BASE_TP_ERROR + 47,
CSSMERR_TP_UNSUPPORTED_SERVICE = CSSM_TP_BASE_TP_ERROR + 48,
CSSMERR_TP_INVALID_TUPLEGROUP_POINTER = CSSM_TP_BASE_TP_ERROR + 49,
CSSMERR_TP_INVALID_TUPLEGROUP = CSSM_TP_BASE_TP_ERROR + 50
};
enum {
CSSMERR_AC_INTERNAL_ERROR =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_AC_MEMORY_ERROR =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_AC_MDS_ERROR =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_AC_INVALID_POINTER =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_AC_INVALID_INPUT_POINTER =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_AC_INVALID_OUTPUT_POINTER =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_AC_FUNCTION_NOT_IMPLEMENTED =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_AC_SELF_CHECK_FAILED =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_AC_OS_ACCESS_DENIED =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_AC_FUNCTION_FAILED =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED,
CSSMERR_AC_INVALID_CONTEXT_HANDLE =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_CONTEXT_HANDLE,
CSSMERR_AC_INVALID_DATA =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_DATA,
CSSMERR_AC_INVALID_DB_LIST =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_LIST,
CSSMERR_AC_INVALID_PASSTHROUGH_ID =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_PASSTHROUGH_ID,
CSSMERR_AC_INVALID_DL_HANDLE =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_DL_HANDLE,
CSSMERR_AC_INVALID_CL_HANDLE =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_CL_HANDLE,
CSSMERR_AC_INVALID_TP_HANDLE =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_TP_HANDLE,
CSSMERR_AC_INVALID_DB_HANDLE =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_HANDLE,
CSSMERR_AC_INVALID_DB_LIST_POINTER =
CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_LIST_POINTER
};
enum {
CSSM_AC_BASE_AC_ERROR =
CSSM_AC_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT,
CSSMERR_AC_INVALID_BASE_ACLS = CSSM_AC_BASE_AC_ERROR + 1,
CSSMERR_AC_INVALID_TUPLE_CREDENTIALS = CSSM_AC_BASE_AC_ERROR + 2,
CSSMERR_AC_INVALID_ENCODING = CSSM_AC_BASE_AC_ERROR + 3,
CSSMERR_AC_INVALID_VALIDITY_PERIOD = CSSM_AC_BASE_AC_ERROR + 4,
CSSMERR_AC_INVALID_REQUESTOR = CSSM_AC_BASE_AC_ERROR + 5,
CSSMERR_AC_INVALID_REQUEST_DESCRIPTOR = CSSM_AC_BASE_AC_ERROR + 6
};
enum {
CSSMERR_CL_INTERNAL_ERROR =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_CL_MEMORY_ERROR =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_CL_MDS_ERROR =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_CL_INVALID_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_CL_INVALID_INPUT_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_CL_INVALID_OUTPUT_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_CL_FUNCTION_NOT_IMPLEMENTED =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_CL_SELF_CHECK_FAILED =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_CL_OS_ACCESS_DENIED =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_CL_FUNCTION_FAILED =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED,
CSSMERR_CL_INVALID_CONTEXT_HANDLE =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_CONTEXT_HANDLE,
CSSMERR_CL_INVALID_CERTGROUP_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_CERTGROUP_POINTER,
CSSMERR_CL_INVALID_CERT_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_CERT_POINTER,
CSSMERR_CL_INVALID_CRL_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_CRL_POINTER,
CSSMERR_CL_INVALID_FIELD_POINTER =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_FIELD_POINTER,
CSSMERR_CL_INVALID_DATA =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_DATA,
CSSMERR_CL_CRL_ALREADY_SIGNED =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_CRL_ALREADY_SIGNED,
CSSMERR_CL_INVALID_NUMBER_OF_FIELDS =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_NUMBER_OF_FIELDS,
CSSMERR_CL_VERIFICATION_FAILURE =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_VERIFICATION_FAILURE,
CSSMERR_CL_UNKNOWN_FORMAT =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_UNKNOWN_FORMAT,
CSSMERR_CL_UNKNOWN_TAG =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_UNKNOWN_TAG,
CSSMERR_CL_INVALID_PASSTHROUGH_ID =
CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INVALID_PASSTHROUGH_ID
};
enum {
CSSM_CL_BASE_CL_ERROR =
CSSM_CL_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT,
CSSMERR_CL_INVALID_BUNDLE_POINTER = CSSM_CL_BASE_CL_ERROR + 1,
CSSMERR_CL_INVALID_CACHE_HANDLE = CSSM_CL_BASE_CL_ERROR + 2,
CSSMERR_CL_INVALID_RESULTS_HANDLE = CSSM_CL_BASE_CL_ERROR + 3,
CSSMERR_CL_INVALID_BUNDLE_INFO = CSSM_CL_BASE_CL_ERROR + 4,
CSSMERR_CL_INVALID_CRL_INDEX = CSSM_CL_BASE_CL_ERROR + 5,
CSSMERR_CL_INVALID_SCOPE = CSSM_CL_BASE_CL_ERROR + 6,
CSSMERR_CL_NO_FIELD_VALUES = CSSM_CL_BASE_CL_ERROR + 7,
CSSMERR_CL_SCOPE_NOT_SUPPORTED = CSSM_CL_BASE_CL_ERROR + 8
};
enum {
CSSMERR_DL_INTERNAL_ERROR =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INTERNAL_ERROR,
CSSMERR_DL_MEMORY_ERROR =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_MEMORY_ERROR,
CSSMERR_DL_MDS_ERROR =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_MDS_ERROR,
CSSMERR_DL_INVALID_POINTER =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_POINTER,
CSSMERR_DL_INVALID_INPUT_POINTER =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_INPUT_POINTER,
CSSMERR_DL_INVALID_OUTPUT_POINTER =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_OUTPUT_POINTER,
CSSMERR_DL_FUNCTION_NOT_IMPLEMENTED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED,
CSSMERR_DL_SELF_CHECK_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_SELF_CHECK_FAILED,
CSSMERR_DL_OS_ACCESS_DENIED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OS_ACCESS_DENIED,
CSSMERR_DL_FUNCTION_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED,
CSSMERR_DL_INVALID_CSP_HANDLE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_CSP_HANDLE,
CSSMERR_DL_INVALID_DL_HANDLE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_DL_HANDLE,
CSSMERR_DL_INVALID_CL_HANDLE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_CL_HANDLE,
CSSMERR_DL_INVALID_DB_LIST_POINTER =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_LIST_POINTER
};
enum {
CSSMERR_DL_OPERATION_AUTH_DENIED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OPERATION_AUTH_DENIED,
CSSMERR_DL_OBJECT_USE_AUTH_DENIED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OBJECT_USE_AUTH_DENIED,
CSSMERR_DL_OBJECT_MANIP_AUTH_DENIED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OBJECT_MANIP_AUTH_DENIED,
CSSMERR_DL_OBJECT_ACL_NOT_SUPPORTED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OBJECT_ACL_NOT_SUPPORTED,
CSSMERR_DL_OBJECT_ACL_REQUIRED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_OBJECT_ACL_REQUIRED,
CSSMERR_DL_INVALID_ACCESS_CREDENTIALS =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACCESS_CREDENTIALS,
CSSMERR_DL_INVALID_ACL_BASE_CERTS =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_BASE_CERTS,
CSSMERR_DL_ACL_BASE_CERTS_NOT_SUPPORTED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_BASE_CERTS_NOT_SUPPORTED,
CSSMERR_DL_INVALID_SAMPLE_VALUE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_SAMPLE_VALUE,
CSSMERR_DL_SAMPLE_VALUE_NOT_SUPPORTED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED,
CSSMERR_DL_INVALID_ACL_SUBJECT_VALUE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_SUBJECT_VALUE,
CSSMERR_DL_ACL_SUBJECT_TYPE_NOT_SUPPORTED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_SUBJECT_TYPE_NOT_SUPPORTED,
CSSMERR_DL_INVALID_ACL_CHALLENGE_CALLBACK =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_CHALLENGE_CALLBACK,
CSSMERR_DL_ACL_CHALLENGE_CALLBACK_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_CHALLENGE_CALLBACK_FAILED,
CSSMERR_DL_INVALID_ACL_ENTRY_TAG =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_ENTRY_TAG,
CSSMERR_DL_ACL_ENTRY_TAG_NOT_FOUND =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_ENTRY_TAG_NOT_FOUND,
CSSMERR_DL_INVALID_ACL_EDIT_MODE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_ACL_EDIT_MODE,
CSSMERR_DL_ACL_CHANGE_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_CHANGE_FAILED,
CSSMERR_DL_INVALID_NEW_ACL_ENTRY =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_NEW_ACL_ENTRY,
CSSMERR_DL_INVALID_NEW_ACL_OWNER =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_NEW_ACL_OWNER,
CSSMERR_DL_ACL_DELETE_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_DELETE_FAILED,
CSSMERR_DL_ACL_REPLACE_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_REPLACE_FAILED,
CSSMERR_DL_ACL_ADD_FAILED =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_ACL_ADD_FAILED
};
enum {
CSSMERR_DL_INVALID_DB_HANDLE =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_DB_HANDLE,
CSSMERR_DL_INVALID_PASSTHROUGH_ID =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_PASSTHROUGH_ID,
CSSMERR_DL_INVALID_NETWORK_ADDR =
CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INVALID_NETWORK_ADDR
};
enum {
CSSM_DL_BASE_DL_ERROR =
CSSM_DL_BASE_ERROR + CSSM_ERRORCODE_COMMON_EXTENT,
CSSMERR_DL_DATABASE_CORRUPT = CSSM_DL_BASE_DL_ERROR + 1,
CSSMERR_DL_INVALID_RECORD_INDEX = CSSM_DL_BASE_DL_ERROR + 8,
CSSMERR_DL_INVALID_RECORDTYPE = CSSM_DL_BASE_DL_ERROR + 9,
CSSMERR_DL_INVALID_FIELD_NAME = CSSM_DL_BASE_DL_ERROR + 10,
CSSMERR_DL_UNSUPPORTED_FIELD_FORMAT = CSSM_DL_BASE_DL_ERROR + 11,
CSSMERR_DL_UNSUPPORTED_INDEX_INFO = CSSM_DL_BASE_DL_ERROR + 12,
CSSMERR_DL_UNSUPPORTED_LOCALITY = CSSM_DL_BASE_DL_ERROR + 13,
CSSMERR_DL_UNSUPPORTED_NUM_ATTRIBUTES = CSSM_DL_BASE_DL_ERROR + 14,
CSSMERR_DL_UNSUPPORTED_NUM_INDEXES = CSSM_DL_BASE_DL_ERROR + 15,
CSSMERR_DL_UNSUPPORTED_NUM_RECORDTYPES = CSSM_DL_BASE_DL_ERROR + 16,
CSSMERR_DL_UNSUPPORTED_RECORDTYPE = CSSM_DL_BASE_DL_ERROR + 17,
CSSMERR_DL_FIELD_SPECIFIED_MULTIPLE = CSSM_DL_BASE_DL_ERROR + 18,
CSSMERR_DL_INCOMPATIBLE_FIELD_FORMAT = CSSM_DL_BASE_DL_ERROR + 19,
CSSMERR_DL_INVALID_PARSING_MODULE = CSSM_DL_BASE_DL_ERROR + 20,
CSSMERR_DL_INVALID_DB_NAME = CSSM_DL_BASE_DL_ERROR + 22,
CSSMERR_DL_DATASTORE_DOESNOT_EXIST = CSSM_DL_BASE_DL_ERROR + 23,
CSSMERR_DL_DATASTORE_ALREADY_EXISTS = CSSM_DL_BASE_DL_ERROR + 24,
CSSMERR_DL_DB_LOCKED = CSSM_DL_BASE_DL_ERROR + 25,
CSSMERR_DL_DATASTORE_IS_OPEN = CSSM_DL_BASE_DL_ERROR + 26,
CSSMERR_DL_RECORD_NOT_FOUND = CSSM_DL_BASE_DL_ERROR + 27,
CSSMERR_DL_MISSING_VALUE = CSSM_DL_BASE_DL_ERROR + 28,
CSSMERR_DL_UNSUPPORTED_QUERY = CSSM_DL_BASE_DL_ERROR + 29,
CSSMERR_DL_UNSUPPORTED_QUERY_LIMITS = CSSM_DL_BASE_DL_ERROR + 30,
CSSMERR_DL_UNSUPPORTED_NUM_SELECTION_PREDS = CSSM_DL_BASE_DL_ERROR + 31,
CSSMERR_DL_UNSUPPORTED_OPERATOR = CSSM_DL_BASE_DL_ERROR + 33,
CSSMERR_DL_INVALID_RESULTS_HANDLE = CSSM_DL_BASE_DL_ERROR + 34,
CSSMERR_DL_INVALID_DB_LOCATION = CSSM_DL_BASE_DL_ERROR + 35,
CSSMERR_DL_INVALID_ACCESS_REQUEST = CSSM_DL_BASE_DL_ERROR + 36,
CSSMERR_DL_INVALID_INDEX_INFO = CSSM_DL_BASE_DL_ERROR + 37,
CSSMERR_DL_INVALID_SELECTION_TAG = CSSM_DL_BASE_DL_ERROR + 38,
CSSMERR_DL_INVALID_NEW_OWNER = CSSM_DL_BASE_DL_ERROR + 39,
CSSMERR_DL_INVALID_RECORD_UID = CSSM_DL_BASE_DL_ERROR + 40,
CSSMERR_DL_INVALID_UNIQUE_INDEX_DATA = CSSM_DL_BASE_DL_ERROR + 41,
CSSMERR_DL_INVALID_MODIFY_MODE = CSSM_DL_BASE_DL_ERROR + 42,
CSSMERR_DL_INVALID_OPEN_PARAMETERS = CSSM_DL_BASE_DL_ERROR + 43,
CSSMERR_DL_RECORD_MODIFIED = CSSM_DL_BASE_DL_ERROR + 44,
CSSMERR_DL_ENDOFDATA = CSSM_DL_BASE_DL_ERROR + 45,
CSSMERR_DL_INVALID_QUERY = CSSM_DL_BASE_DL_ERROR + 46,
CSSMERR_DL_INVALID_VALUE = CSSM_DL_BASE_DL_ERROR + 47,
CSSMERR_DL_MULTIPLE_VALUES_UNSUPPORTED = CSSM_DL_BASE_DL_ERROR + 48,
CSSMERR_DL_STALE_UNIQUE_RECORD = CSSM_DL_BASE_DL_ERROR + 49
};
# 30 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmtype.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmtype.h" 3
#define _CSSMTYPE_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/cssmtype.h" 3
typedef CSSM_INTPTR CSSM_HANDLE, *CSSM_HANDLE_PTR;
typedef uint64 CSSM_LONG_HANDLE, *CSSM_LONG_HANDLE_PTR;
typedef CSSM_HANDLE CSSM_MODULE_HANDLE, *CSSM_MODULE_HANDLE_PTR;
typedef CSSM_LONG_HANDLE CSSM_CC_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_CSP_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_TP_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_AC_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_CL_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_DL_HANDLE;
typedef CSSM_MODULE_HANDLE CSSM_DB_HANDLE;
enum {
CSSM_INVALID_HANDLE = 0
};
typedef sint32 CSSM_BOOL;
enum {
CSSM_FALSE = 0,
CSSM_TRUE = !CSSM_FALSE
};
typedef sint32 CSSM_RETURN;
enum {
CSSM_OK = 0
};
enum {
CSSM_MODULE_STRING_SIZE = 64
};
typedef char CSSM_STRING [CSSM_MODULE_STRING_SIZE + 4];
typedef struct cssm_data {
CSSM_SIZE Length;
uint8 *Data;
} CSSM_DATA, *CSSM_DATA_PTR;
typedef struct cssm_guid {
uint32 Data1;
uint16 Data2;
uint16 Data3;
uint8 Data4[8];
} CSSM_GUID, *CSSM_GUID_PTR;
typedef uint32 CSSM_BITMASK;
typedef CSSM_BITMASK CSSM_KEY_HIERARCHY;
enum {
CSSM_KEY_HIERARCHY_NONE = 0,
CSSM_KEY_HIERARCHY_INTEG = 1,
CSSM_KEY_HIERARCHY_EXPORT = 2
};
typedef CSSM_BITMASK CSSM_PVC_MODE;
enum {
CSSM_PVC_NONE = 0,
CSSM_PVC_APP = 1,
CSSM_PVC_SP = 2
};
typedef uint32 CSSM_PRIVILEGE_SCOPE;
enum {
CSSM_PRIVILEGE_SCOPE_NONE = 0,
CSSM_PRIVILEGE_SCOPE_PROCESS = 1,
CSSM_PRIVILEGE_SCOPE_THREAD = 2
};
typedef struct cssm_version {
uint32 Major;
uint32 Minor;
} CSSM_VERSION, *CSSM_VERSION_PTR;
typedef uint32 CSSM_SERVICE_MASK;
enum {
CSSM_SERVICE_CSSM = 0x1,
CSSM_SERVICE_CSP = 0x2,
CSSM_SERVICE_DL = 0x4,
CSSM_SERVICE_CL = 0x8,
CSSM_SERVICE_TP = 0x10,
CSSM_SERVICE_AC = 0x20,
CSSM_SERVICE_KR = 0x40
};
typedef CSSM_SERVICE_MASK CSSM_SERVICE_TYPE;
typedef struct cssm_subservice_uid {
CSSM_GUID Guid;
CSSM_VERSION Version;
uint32 SubserviceId;
CSSM_SERVICE_TYPE SubserviceType;
} CSSM_SUBSERVICE_UID, *CSSM_SUBSERVICE_UID_PTR;
typedef uint32 CSSM_MODULE_EVENT, *CSSM_MODULE_EVENT_PTR;
enum {
CSSM_NOTIFY_INSERT = 1,
CSSM_NOTIFY_REMOVE = 2,
CSSM_NOTIFY_FAULT = 3
};
typedef CSSM_RETURN ( *CSSM_API_ModuleEventHandler)
(const CSSM_GUID *ModuleGuid,
void* AppNotifyCallbackCtx,
uint32 SubserviceId,
CSSM_SERVICE_TYPE ServiceType,
CSSM_MODULE_EVENT EventType);
typedef uint32 CSSM_ATTACH_FLAGS;
enum {
CSSM_ATTACH_READ_ONLY = 0x00000001
};
typedef uint64 CSSM_PRIVILEGE;
typedef CSSM_PRIVILEGE CSSM_USEE_TAG;
enum {
CSSM_USEE_LAST = 0xFF,
CSSM_USEE_NONE = 0,
CSSM_USEE_DOMESTIC = 1,
CSSM_USEE_FINANCIAL = 2,
CSSM_USEE_KRLE = 3,
CSSM_USEE_KRENT = 4,
CSSM_USEE_SSL = 5,
CSSM_USEE_AUTHENTICATION = 6,
CSSM_USEE_KEYEXCH = 7,
CSSM_USEE_MEDICAL = 8,
CSSM_USEE_INSURANCE = 9,
CSSM_USEE_WEAK = 10
};
typedef uint32 CSSM_NET_ADDRESS_TYPE;
enum {
CSSM_ADDR_NONE = 0,
CSSM_ADDR_CUSTOM = 1,
CSSM_ADDR_URL = 2,
CSSM_ADDR_SOCKADDR = 3,
CSSM_ADDR_NAME = 4
};
typedef struct cssm_net_address {
CSSM_NET_ADDRESS_TYPE AddressType;
CSSM_DATA Address;
} CSSM_NET_ADDRESS, *CSSM_NET_ADDRESS_PTR;
typedef uint32 CSSM_NET_PROTOCOL;
enum {
CSSM_NET_PROTO_NONE = 0,
CSSM_NET_PROTO_CUSTOM = 1,
CSSM_NET_PROTO_UNSPECIFIED = 2,
CSSM_NET_PROTO_LDAP = 3,
CSSM_NET_PROTO_LDAPS = 4,
CSSM_NET_PROTO_LDAPNS = 5,
CSSM_NET_PROTO_X500DAP = 6,
CSSM_NET_PROTO_FTP = 7,
CSSM_NET_PROTO_FTPS = 8,
CSSM_NET_PROTO_OCSP = 9,
CSSM_NET_PROTO_CMP = 10,
CSSM_NET_PROTO_CMPS = 11
};
typedef CSSM_RETURN ( *CSSM_CALLBACK)
(CSSM_DATA_PTR OutData, void *CallerCtx);
typedef struct cssm_crypto_data {
CSSM_DATA Param;
CSSM_CALLBACK Callback;
void *CallerCtx;
} CSSM_CRYPTO_DATA, *CSSM_CRYPTO_DATA_PTR;
typedef sint32 CSSM_WORDID_TYPE;
enum {
CSSM_WORDID__UNK_ = -1,
CSSM_WORDID__NLU_ = 0,
CSSM_WORDID__STAR_ = 1,
CSSM_WORDID_A = 2,
CSSM_WORDID_ACL = 3,
CSSM_WORDID_ALPHA = 4,
CSSM_WORDID_B = 5,
CSSM_WORDID_BER = 6,
CSSM_WORDID_BINARY = 7,
CSSM_WORDID_BIOMETRIC = 8,
CSSM_WORDID_C = 9,
CSSM_WORDID_CANCELED = 10,
CSSM_WORDID_CERT = 11,
CSSM_WORDID_COMMENT = 12,
CSSM_WORDID_CRL = 13,
CSSM_WORDID_CUSTOM = 14,
CSSM_WORDID_D = 15,
CSSM_WORDID_DATE = 16,
CSSM_WORDID_DB_DELETE = 17,
CSSM_WORDID_DB_EXEC_STORED_QUERY = 18,
CSSM_WORDID_DB_INSERT = 19,
CSSM_WORDID_DB_MODIFY = 20,
CSSM_WORDID_DB_READ = 21,
CSSM_WORDID_DBS_CREATE = 22,
CSSM_WORDID_DBS_DELETE = 23,
CSSM_WORDID_DECRYPT = 24,
CSSM_WORDID_DELETE = 25,
CSSM_WORDID_DELTA_CRL = 26,
CSSM_WORDID_DER = 27,
CSSM_WORDID_DERIVE = 28,
CSSM_WORDID_DISPLAY = 29,
CSSM_WORDID_DO = 30,
CSSM_WORDID_DSA = 31,
CSSM_WORDID_DSA_SHA1 = 32,
CSSM_WORDID_E = 33,
CSSM_WORDID_ELGAMAL = 34,
CSSM_WORDID_ENCRYPT = 35,
CSSM_WORDID_ENTRY = 36,
CSSM_WORDID_EXPORT_CLEAR = 37,
CSSM_WORDID_EXPORT_WRAPPED = 38,
CSSM_WORDID_G = 39,
CSSM_WORDID_GE = 40,
CSSM_WORDID_GENKEY = 41,
CSSM_WORDID_HASH = 42,
CSSM_WORDID_HASHED_PASSWORD = 43,
CSSM_WORDID_HASHED_SUBJECT = 44,
CSSM_WORDID_HAVAL = 45,
CSSM_WORDID_IBCHASH = 46,
CSSM_WORDID_IMPORT_CLEAR = 47,
CSSM_WORDID_IMPORT_WRAPPED = 48,
CSSM_WORDID_INTEL = 49,
CSSM_WORDID_ISSUER = 50,
CSSM_WORDID_ISSUER_INFO = 51,
CSSM_WORDID_K_OF_N = 52,
CSSM_WORDID_KEA = 53,
CSSM_WORDID_KEYHOLDER = 54,
CSSM_WORDID_L = 55,
CSSM_WORDID_LE = 56,
CSSM_WORDID_LOGIN = 57,
CSSM_WORDID_LOGIN_NAME = 58,
CSSM_WORDID_MAC = 59,
CSSM_WORDID_MD2 = 60,
CSSM_WORDID_MD2WITHRSA = 61,
CSSM_WORDID_MD4 = 62,
CSSM_WORDID_MD5 = 63,
CSSM_WORDID_MD5WITHRSA = 64,
CSSM_WORDID_N = 65,
CSSM_WORDID_NAME = 66,
CSSM_WORDID_NDR = 67,
CSSM_WORDID_NHASH = 68,
CSSM_WORDID_NOT_AFTER = 69,
CSSM_WORDID_NOT_BEFORE = 70,
CSSM_WORDID_NULL = 71,
CSSM_WORDID_NUMERIC = 72,
CSSM_WORDID_OBJECT_HASH = 73,
CSSM_WORDID_ONE_TIME = 74,
CSSM_WORDID_ONLINE = 75,
CSSM_WORDID_OWNER = 76,
CSSM_WORDID_P = 77,
CSSM_WORDID_PAM_NAME = 78,
CSSM_WORDID_PASSWORD = 79,
CSSM_WORDID_PGP = 80,
CSSM_WORDID_PREFIX = 81,
CSSM_WORDID_PRIVATE_KEY = 82,
CSSM_WORDID_PROMPTED_BIOMETRIC = 83,
CSSM_WORDID_PROMPTED_PASSWORD = 84,
CSSM_WORDID_PROPAGATE = 85,
CSSM_WORDID_PROTECTED_BIOMETRIC = 86,
CSSM_WORDID_PROTECTED_PASSWORD = 87,
CSSM_WORDID_PROTECTED_PIN = 88,
CSSM_WORDID_PUBLIC_KEY = 89,
CSSM_WORDID_PUBLIC_KEY_FROM_CERT = 90,
CSSM_WORDID_Q = 91,
CSSM_WORDID_RANGE = 92,
CSSM_WORDID_REVAL = 93,
CSSM_WORDID_RIPEMAC = 94,
CSSM_WORDID_RIPEMD = 95,
CSSM_WORDID_RIPEMD160 = 96,
CSSM_WORDID_RSA = 97,
CSSM_WORDID_RSA_ISO9796 = 98,
CSSM_WORDID_RSA_PKCS = 99,
CSSM_WORDID_RSA_PKCS_MD5 = 100,
CSSM_WORDID_RSA_PKCS_SHA1 = 101,
CSSM_WORDID_RSA_PKCS1 = 102,
CSSM_WORDID_RSA_PKCS1_MD5 = 103,
CSSM_WORDID_RSA_PKCS1_SHA1 = 104,
CSSM_WORDID_RSA_PKCS1_SIG = 105,
CSSM_WORDID_RSA_RAW = 106,
CSSM_WORDID_SDSIV1 = 107,
CSSM_WORDID_SEQUENCE = 108,
CSSM_WORDID_SET = 109,
CSSM_WORDID_SEXPR = 110,
CSSM_WORDID_SHA1 = 111,
CSSM_WORDID_SHA1WITHDSA = 112,
CSSM_WORDID_SHA1WITHECDSA = 113,
CSSM_WORDID_SHA1WITHRSA = 114,
CSSM_WORDID_SIGN = 115,
CSSM_WORDID_SIGNATURE = 116,
CSSM_WORDID_SIGNED_NONCE = 117,
CSSM_WORDID_SIGNED_SECRET = 118,
CSSM_WORDID_SPKI = 119,
CSSM_WORDID_SUBJECT = 120,
CSSM_WORDID_SUBJECT_INFO = 121,
CSSM_WORDID_TAG = 122,
CSSM_WORDID_THRESHOLD = 123,
CSSM_WORDID_TIME = 124,
CSSM_WORDID_URI = 125,
CSSM_WORDID_VERSION = 126,
CSSM_WORDID_X509_ATTRIBUTE = 127,
CSSM_WORDID_X509V1 = 128,
CSSM_WORDID_X509V2 = 129,
CSSM_WORDID_X509V3 = 130,
CSSM_WORDID_X9_ATTRIBUTE = 131,
CSSM_WORDID_VENDOR_START = 0x00010000,
CSSM_WORDID_VENDOR_END = 0x7FFF0000
};
typedef uint32 CSSM_LIST_ELEMENT_TYPE, *CSSM_LIST_ELEMENT_TYPE_PTR;
enum {
CSSM_LIST_ELEMENT_DATUM = 0x00,
CSSM_LIST_ELEMENT_SUBLIST = 0x01,
CSSM_LIST_ELEMENT_WORDID = 0x02
};
typedef uint32 CSSM_LIST_TYPE, *CSSM_LIST_TYPE_PTR;
enum {
CSSM_LIST_TYPE_UNKNOWN = 0,
CSSM_LIST_TYPE_CUSTOM = 1,
CSSM_LIST_TYPE_SEXPR = 2
};
typedef struct cssm_list_element *CSSM_LIST_ELEMENT_PTR;
typedef struct cssm_list {
CSSM_LIST_TYPE ListType;
CSSM_LIST_ELEMENT_PTR Head;
CSSM_LIST_ELEMENT_PTR Tail;
} CSSM_LIST, *CSSM_LIST_PTR;
typedef struct cssm_list_element {
struct cssm_list_element *NextElement;
CSSM_WORDID_TYPE WordID;
CSSM_LIST_ELEMENT_TYPE ElementType;
union {
CSSM_LIST Sublist;
CSSM_DATA Word;
} Element;
} CSSM_LIST_ELEMENT;
typedef struct {
CSSM_LIST Issuer;
CSSM_LIST Subject;
CSSM_BOOL Delegate;
CSSM_LIST AuthorizationTag;
CSSM_LIST ValidityPeriod;
} CSSM_TUPLE, *CSSM_TUPLE_PTR;
typedef struct cssm_tuplegroup {
uint32 NumberOfTuples;
CSSM_TUPLE_PTR Tuples;
} CSSM_TUPLEGROUP, *CSSM_TUPLEGROUP_PTR;
typedef CSSM_WORDID_TYPE CSSM_SAMPLE_TYPE;
enum {
CSSM_SAMPLE_TYPE_PASSWORD = CSSM_WORDID_PASSWORD,
CSSM_SAMPLE_TYPE_HASHED_PASSWORD = CSSM_WORDID_HASHED_PASSWORD,
CSSM_SAMPLE_TYPE_PROTECTED_PASSWORD = CSSM_WORDID_PROTECTED_PASSWORD,
CSSM_SAMPLE_TYPE_PROMPTED_PASSWORD = CSSM_WORDID_PROMPTED_PASSWORD,
CSSM_SAMPLE_TYPE_SIGNED_NONCE = CSSM_WORDID_SIGNED_NONCE,
CSSM_SAMPLE_TYPE_SIGNED_SECRET = CSSM_WORDID_SIGNED_SECRET,
CSSM_SAMPLE_TYPE_BIOMETRIC = CSSM_WORDID_BIOMETRIC,
CSSM_SAMPLE_TYPE_PROTECTED_BIOMETRIC = CSSM_WORDID_PROTECTED_BIOMETRIC,
CSSM_SAMPLE_TYPE_PROMPTED_BIOMETRIC = CSSM_WORDID_PROMPTED_BIOMETRIC,
CSSM_SAMPLE_TYPE_THRESHOLD = CSSM_WORDID_THRESHOLD
};
typedef struct cssm_sample {
CSSM_LIST TypedSample;
const CSSM_SUBSERVICE_UID *Verifier;
} CSSM_SAMPLE, *CSSM_SAMPLE_PTR;
typedef struct cssm_samplegroup {
uint32 NumberOfSamples;
const CSSM_SAMPLE *Samples;
} CSSM_SAMPLEGROUP, *CSSM_SAMPLEGROUP_PTR;
typedef void *( *CSSM_MALLOC)
(CSSM_SIZE size,
void *allocref);
typedef void ( *CSSM_FREE)
(void *memblock,
void *allocref);
typedef void *( *CSSM_REALLOC)
(void *memblock,
CSSM_SIZE size,
void *allocref);
typedef void *( *CSSM_CALLOC)
(uint32 num,
CSSM_SIZE size,
void *allocref);
typedef struct cssm_memory_funcs {
CSSM_MALLOC malloc_func;
CSSM_FREE free_func;
CSSM_REALLOC realloc_func;
CSSM_CALLOC calloc_func;
void *AllocRef;
} CSSM_MEMORY_FUNCS, *CSSM_MEMORY_FUNCS_PTR;
typedef CSSM_MEMORY_FUNCS CSSM_API_MEMORY_FUNCS;
typedef CSSM_API_MEMORY_FUNCS *CSSM_API_MEMORY_FUNCS_PTR;
typedef CSSM_RETURN ( * CSSM_CHALLENGE_CALLBACK)
(const CSSM_LIST *Challenge,
CSSM_SAMPLEGROUP_PTR Response,
void *CallerCtx,
const CSSM_MEMORY_FUNCS *MemFuncs);
typedef uint32 CSSM_CERT_TYPE, *CSSM_CERT_TYPE_PTR;
enum {
CSSM_CERT_UNKNOWN = 0x00,
CSSM_CERT_X_509v1 = 0x01,
CSSM_CERT_X_509v2 = 0x02,
CSSM_CERT_X_509v3 = 0x03,
CSSM_CERT_PGP = 0x04,
CSSM_CERT_SPKI = 0x05,
CSSM_CERT_SDSIv1 = 0x06,
CSSM_CERT_Intel = 0x08,
CSSM_CERT_X_509_ATTRIBUTE = 0x09,
CSSM_CERT_X9_ATTRIBUTE = 0x0A,
CSSM_CERT_TUPLE = 0x0B,
CSSM_CERT_ACL_ENTRY = 0x0C,
CSSM_CERT_MULTIPLE = 0x7FFE,
CSSM_CERT_LAST = 0x7FFF,
CSSM_CL_CUSTOM_CERT_TYPE = 0x08000
};
typedef uint32 CSSM_CERT_ENCODING, *CSSM_CERT_ENCODING_PTR;
enum {
CSSM_CERT_ENCODING_UNKNOWN = 0x00,
CSSM_CERT_ENCODING_CUSTOM = 0x01,
CSSM_CERT_ENCODING_BER = 0x02,
CSSM_CERT_ENCODING_DER = 0x03,
CSSM_CERT_ENCODING_NDR = 0x04,
CSSM_CERT_ENCODING_SEXPR = 0x05,
CSSM_CERT_ENCODING_PGP = 0x06,
CSSM_CERT_ENCODING_MULTIPLE = 0x7FFE,
CSSM_CERT_ENCODING_LAST = 0x7FFF,
CSSM_CL_CUSTOM_CERT_ENCODING = 0x8000
};
typedef struct cssm_encoded_cert {
CSSM_CERT_TYPE CertType;
CSSM_CERT_ENCODING CertEncoding;
CSSM_DATA CertBlob;
} CSSM_ENCODED_CERT, *CSSM_ENCODED_CERT_PTR;
typedef uint32 CSSM_CERT_PARSE_FORMAT, *CSSM_CERT_PARSE_FORMAT_PTR;
enum {
CSSM_CERT_PARSE_FORMAT_NONE = 0x00,
CSSM_CERT_PARSE_FORMAT_CUSTOM = 0x01,
CSSM_CERT_PARSE_FORMAT_SEXPR = 0x02,
CSSM_CERT_PARSE_FORMAT_COMPLEX = 0x03,
CSSM_CERT_PARSE_FORMAT_OID_NAMED = 0x04,
CSSM_CERT_PARSE_FORMAT_TUPLE = 0x05,
CSSM_CERT_PARSE_FORMAT_MULTIPLE = 0x7FFE,
CSSM_CERT_PARSE_FORMAT_LAST = 0x7FFF,
CSSM_CL_CUSTOM_CERT_PARSE_FORMAT = 0x8000
};
typedef struct cssm_parsed_cert {
CSSM_CERT_TYPE CertType;
CSSM_CERT_PARSE_FORMAT ParsedCertFormat;
void *ParsedCert;
} CSSM_PARSED_CERT, *CSSM_PARSED_CERT_PTR;
typedef struct cssm_cert_pair {
CSSM_ENCODED_CERT EncodedCert;
CSSM_PARSED_CERT ParsedCert;
} CSSM_CERT_PAIR, *CSSM_CERT_PAIR_PTR;
typedef uint32 CSSM_CERTGROUP_TYPE, *CSSM_CERTGROUP_TYPE_PTR;
enum {
CSSM_CERTGROUP_DATA = 0x00,
CSSM_CERTGROUP_ENCODED_CERT = 0x01,
CSSM_CERTGROUP_PARSED_CERT = 0x02,
CSSM_CERTGROUP_CERT_PAIR = 0x03
};
typedef struct cssm_certgroup {
CSSM_CERT_TYPE CertType;
CSSM_CERT_ENCODING CertEncoding;
uint32 NumCerts;
union {
CSSM_DATA_PTR CertList;
CSSM_ENCODED_CERT_PTR EncodedCertList;
CSSM_PARSED_CERT_PTR ParsedCertList;
CSSM_CERT_PAIR_PTR PairCertList;
} GroupList;
CSSM_CERTGROUP_TYPE CertGroupType;
void *Reserved;
} CSSM_CERTGROUP, *CSSM_CERTGROUP_PTR;
typedef struct cssm_base_certs {
CSSM_TP_HANDLE TPHandle;
CSSM_CL_HANDLE CLHandle;
CSSM_CERTGROUP Certs;
} CSSM_BASE_CERTS, *CSSM_BASE_CERTS_PTR;
typedef struct cssm_access_credentials {
CSSM_STRING EntryTag;
CSSM_BASE_CERTS BaseCerts;
CSSM_SAMPLEGROUP Samples;
CSSM_CHALLENGE_CALLBACK Callback;
void *CallerCtx;
} CSSM_ACCESS_CREDENTIALS, *CSSM_ACCESS_CREDENTIALS_PTR;
typedef sint32 CSSM_ACL_SUBJECT_TYPE;
enum {
CSSM_ACL_SUBJECT_TYPE_ANY = CSSM_WORDID__STAR_,
CSSM_ACL_SUBJECT_TYPE_THRESHOLD = CSSM_WORDID_THRESHOLD,
CSSM_ACL_SUBJECT_TYPE_PASSWORD = CSSM_WORDID_PASSWORD,
CSSM_ACL_SUBJECT_TYPE_PROTECTED_PASSWORD = CSSM_WORDID_PROTECTED_PASSWORD,
CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD = CSSM_WORDID_PROMPTED_PASSWORD,
CSSM_ACL_SUBJECT_TYPE_PUBLIC_KEY = CSSM_WORDID_PUBLIC_KEY,
CSSM_ACL_SUBJECT_TYPE_HASHED_SUBJECT = CSSM_WORDID_HASHED_SUBJECT,
CSSM_ACL_SUBJECT_TYPE_BIOMETRIC = CSSM_WORDID_BIOMETRIC,
CSSM_ACL_SUBJECT_TYPE_PROTECTED_BIOMETRIC = CSSM_WORDID_PROTECTED_BIOMETRIC,
CSSM_ACL_SUBJECT_TYPE_PROMPTED_BIOMETRIC = CSSM_WORDID_PROMPTED_BIOMETRIC,
CSSM_ACL_SUBJECT_TYPE_LOGIN_NAME = CSSM_WORDID_LOGIN_NAME,
CSSM_ACL_SUBJECT_TYPE_EXT_PAM_NAME = CSSM_WORDID_PAM_NAME
};
typedef sint32 CSSM_ACL_AUTHORIZATION_TAG;
enum {
CSSM_ACL_AUTHORIZATION_TAG_VENDOR_DEFINED_START = 0x00010000,
CSSM_ACL_AUTHORIZATION_ANY = CSSM_WORDID__STAR_,
CSSM_ACL_AUTHORIZATION_LOGIN = CSSM_WORDID_LOGIN,
CSSM_ACL_AUTHORIZATION_GENKEY = CSSM_WORDID_GENKEY,
CSSM_ACL_AUTHORIZATION_DELETE = CSSM_WORDID_DELETE,
CSSM_ACL_AUTHORIZATION_EXPORT_WRAPPED = CSSM_WORDID_EXPORT_WRAPPED,
CSSM_ACL_AUTHORIZATION_EXPORT_CLEAR = CSSM_WORDID_EXPORT_CLEAR,
CSSM_ACL_AUTHORIZATION_IMPORT_WRAPPED = CSSM_WORDID_IMPORT_WRAPPED,
CSSM_ACL_AUTHORIZATION_IMPORT_CLEAR = CSSM_WORDID_IMPORT_CLEAR,
CSSM_ACL_AUTHORIZATION_SIGN = CSSM_WORDID_SIGN,
CSSM_ACL_AUTHORIZATION_ENCRYPT = CSSM_WORDID_ENCRYPT,
CSSM_ACL_AUTHORIZATION_DECRYPT = CSSM_WORDID_DECRYPT,
CSSM_ACL_AUTHORIZATION_MAC = CSSM_WORDID_MAC,
CSSM_ACL_AUTHORIZATION_DERIVE = CSSM_WORDID_DERIVE,
CSSM_ACL_AUTHORIZATION_DBS_CREATE = CSSM_WORDID_DBS_CREATE,
CSSM_ACL_AUTHORIZATION_DBS_DELETE = CSSM_WORDID_DBS_DELETE,
CSSM_ACL_AUTHORIZATION_DB_READ = CSSM_WORDID_DB_READ,
CSSM_ACL_AUTHORIZATION_DB_INSERT = CSSM_WORDID_DB_INSERT,
CSSM_ACL_AUTHORIZATION_DB_MODIFY = CSSM_WORDID_DB_MODIFY,
CSSM_ACL_AUTHORIZATION_DB_DELETE = CSSM_WORDID_DB_DELETE
};
typedef struct cssm_authorizationgroup {
uint32 NumberOfAuthTags;
CSSM_ACL_AUTHORIZATION_TAG *AuthTags;
} CSSM_AUTHORIZATIONGROUP, *CSSM_AUTHORIZATIONGROUP_PTR;
typedef struct cssm_acl_validity_period {
CSSM_DATA StartDate;
CSSM_DATA EndDate;
} CSSM_ACL_VALIDITY_PERIOD, *CSSM_ACL_VALIDITY_PERIOD_PTR;
typedef struct cssm_acl_entry_prototype {
CSSM_LIST TypedSubject;
CSSM_BOOL Delegate;
CSSM_AUTHORIZATIONGROUP Authorization;
CSSM_ACL_VALIDITY_PERIOD TimeRange;
CSSM_STRING EntryTag;
} CSSM_ACL_ENTRY_PROTOTYPE, *CSSM_ACL_ENTRY_PROTOTYPE_PTR;
typedef struct cssm_acl_owner_prototype {
CSSM_LIST TypedSubject;
CSSM_BOOL Delegate;
} CSSM_ACL_OWNER_PROTOTYPE, *CSSM_ACL_OWNER_PROTOTYPE_PTR;
typedef CSSM_RETURN ( * CSSM_ACL_SUBJECT_CALLBACK)
(const CSSM_LIST *SubjectRequest,
CSSM_LIST_PTR SubjectResponse,
void *CallerContext,
const CSSM_MEMORY_FUNCS *MemFuncs);
typedef struct cssm_acl_entry_input {
CSSM_ACL_ENTRY_PROTOTYPE Prototype;
CSSM_ACL_SUBJECT_CALLBACK Callback;
void *CallerContext;
} CSSM_ACL_ENTRY_INPUT, *CSSM_ACL_ENTRY_INPUT_PTR;
typedef struct cssm_resource_control_context {
CSSM_ACCESS_CREDENTIALS_PTR AccessCred;
CSSM_ACL_ENTRY_INPUT InitialAclEntry;
} CSSM_RESOURCE_CONTROL_CONTEXT, *CSSM_RESOURCE_CONTROL_CONTEXT_PTR;
typedef CSSM_HANDLE CSSM_ACL_HANDLE;
typedef struct cssm_acl_entry_info {
CSSM_ACL_ENTRY_PROTOTYPE EntryPublicInfo;
CSSM_ACL_HANDLE EntryHandle;
} CSSM_ACL_ENTRY_INFO, *CSSM_ACL_ENTRY_INFO_PTR;
typedef uint32 CSSM_ACL_EDIT_MODE;
enum {
CSSM_ACL_EDIT_MODE_ADD = 1,
CSSM_ACL_EDIT_MODE_DELETE = 2,
CSSM_ACL_EDIT_MODE_REPLACE = 3
};
typedef struct cssm_acl_edit {
CSSM_ACL_EDIT_MODE EditMode;
CSSM_ACL_HANDLE OldEntryHandle;
const CSSM_ACL_ENTRY_INPUT *NewEntry;
} CSSM_ACL_EDIT, *CSSM_ACL_EDIT_PTR;
typedef void ( *CSSM_PROC_ADDR) ();
typedef CSSM_PROC_ADDR *CSSM_PROC_ADDR_PTR;
typedef struct cssm_func_name_addr {
CSSM_STRING Name;
CSSM_PROC_ADDR Address;
} CSSM_FUNC_NAME_ADDR, *CSSM_FUNC_NAME_ADDR_PTR;
typedef struct cssm_date {
uint8 Year[4];
uint8 Month[2];
uint8 Day[2];
} CSSM_DATE, *CSSM_DATE_PTR;
typedef struct cssm_range {
uint32 Min;
uint32 Max;
} CSSM_RANGE, *CSSM_RANGE_PTR;
typedef struct cssm_query_size_data {
uint32 SizeInputBlock;
uint32 SizeOutputBlock;
} CSSM_QUERY_SIZE_DATA, *CSSM_QUERY_SIZE_DATA_PTR;
typedef uint32 CSSM_HEADERVERSION;
enum {
CSSM_KEYHEADER_VERSION = 2
};
typedef struct cssm_key_size {
uint32 LogicalKeySizeInBits;
uint32 EffectiveKeySizeInBits;
} CSSM_KEY_SIZE, *CSSM_KEY_SIZE_PTR;
typedef uint32 CSSM_KEYBLOB_TYPE;
enum {
CSSM_KEYBLOB_RAW = 0,
CSSM_KEYBLOB_REFERENCE = 2,
CSSM_KEYBLOB_WRAPPED = 3,
CSSM_KEYBLOB_OTHER = 0xFFFFFFFF
};
typedef uint32 CSSM_KEYBLOB_FORMAT;
enum {
CSSM_KEYBLOB_RAW_FORMAT_NONE = 0,
CSSM_KEYBLOB_RAW_FORMAT_PKCS1 = 1,
CSSM_KEYBLOB_RAW_FORMAT_PKCS3 = 2,
CSSM_KEYBLOB_RAW_FORMAT_MSCAPI = 3,
CSSM_KEYBLOB_RAW_FORMAT_PGP = 4,
CSSM_KEYBLOB_RAW_FORMAT_FIPS186 = 5,
CSSM_KEYBLOB_RAW_FORMAT_BSAFE = 6,
CSSM_KEYBLOB_RAW_FORMAT_CCA = 9,
CSSM_KEYBLOB_RAW_FORMAT_PKCS8 = 10,
CSSM_KEYBLOB_RAW_FORMAT_SPKI = 11,
CSSM_KEYBLOB_RAW_FORMAT_OCTET_STRING = 12,
CSSM_KEYBLOB_RAW_FORMAT_OTHER = 0xFFFFFFFF
};
enum {
CSSM_KEYBLOB_WRAPPED_FORMAT_NONE = 0,
CSSM_KEYBLOB_WRAPPED_FORMAT_PKCS8 = 1,
CSSM_KEYBLOB_WRAPPED_FORMAT_PKCS7 = 2,
CSSM_KEYBLOB_WRAPPED_FORMAT_MSCAPI = 3,
CSSM_KEYBLOB_WRAPPED_FORMAT_OTHER = 0xFFFFFFFF
};
enum {
CSSM_KEYBLOB_REF_FORMAT_INTEGER = 0,
CSSM_KEYBLOB_REF_FORMAT_STRING = 1,
CSSM_KEYBLOB_REF_FORMAT_SPKI = 2,
CSSM_KEYBLOB_REF_FORMAT_OTHER = 0xFFFFFFFF
};
typedef uint32 CSSM_KEYCLASS;
enum {
CSSM_KEYCLASS_PUBLIC_KEY = 0,
CSSM_KEYCLASS_PRIVATE_KEY = 1,
CSSM_KEYCLASS_SESSION_KEY = 2,
CSSM_KEYCLASS_SECRET_PART = 3,
CSSM_KEYCLASS_OTHER = 0xFFFFFFFF
};
typedef uint32 CSSM_KEYATTR_FLAGS;
enum {
CSSM_KEYATTR_RETURN_DEFAULT = 0x00000000,
CSSM_KEYATTR_RETURN_DATA = 0x10000000,
CSSM_KEYATTR_RETURN_REF = 0x20000000,
CSSM_KEYATTR_RETURN_NONE = 0x40000000,
CSSM_KEYATTR_PERMANENT = 0x00000001,
CSSM_KEYATTR_PRIVATE = 0x00000002,
CSSM_KEYATTR_MODIFIABLE = 0x00000004,
CSSM_KEYATTR_SENSITIVE = 0x00000008,
CSSM_KEYATTR_EXTRACTABLE = 0x00000020,
CSSM_KEYATTR_ALWAYS_SENSITIVE = 0x00000010,
CSSM_KEYATTR_NEVER_EXTRACTABLE = 0x00000040
};
typedef uint32 CSSM_KEYUSE;
enum {
CSSM_KEYUSE_ANY = 0x80000000,
CSSM_KEYUSE_ENCRYPT = 0x00000001,
CSSM_KEYUSE_DECRYPT = 0x00000002,
CSSM_KEYUSE_SIGN = 0x00000004,
CSSM_KEYUSE_VERIFY = 0x00000008,
CSSM_KEYUSE_SIGN_RECOVER = 0x00000010,
CSSM_KEYUSE_VERIFY_RECOVER = 0x00000020,
CSSM_KEYUSE_WRAP = 0x00000040,
CSSM_KEYUSE_UNWRAP = 0x00000080,
CSSM_KEYUSE_DERIVE = 0x00000100
};
typedef uint32 CSSM_ALGORITHMS;
enum {
CSSM_ALGID_NONE = 0,
CSSM_ALGID_CUSTOM = CSSM_ALGID_NONE + 1,
CSSM_ALGID_DH = CSSM_ALGID_NONE + 2,
CSSM_ALGID_PH = CSSM_ALGID_NONE + 3,
CSSM_ALGID_KEA = CSSM_ALGID_NONE + 4,
CSSM_ALGID_MD2 = CSSM_ALGID_NONE + 5,
CSSM_ALGID_MD4 = CSSM_ALGID_NONE + 6,
CSSM_ALGID_MD5 = CSSM_ALGID_NONE + 7,
CSSM_ALGID_SHA1 = CSSM_ALGID_NONE + 8,
CSSM_ALGID_NHASH = CSSM_ALGID_NONE + 9,
CSSM_ALGID_HAVAL = CSSM_ALGID_NONE + 10,
CSSM_ALGID_RIPEMD = CSSM_ALGID_NONE + 11,
CSSM_ALGID_IBCHASH = CSSM_ALGID_NONE + 12,
CSSM_ALGID_RIPEMAC = CSSM_ALGID_NONE + 13,
CSSM_ALGID_DES = CSSM_ALGID_NONE + 14,
CSSM_ALGID_DESX = CSSM_ALGID_NONE + 15,
CSSM_ALGID_RDES = CSSM_ALGID_NONE + 16,
CSSM_ALGID_3DES_3KEY_EDE = CSSM_ALGID_NONE + 17,
CSSM_ALGID_3DES_2KEY_EDE = CSSM_ALGID_NONE + 18,
CSSM_ALGID_3DES_1KEY_EEE = CSSM_ALGID_NONE + 19,
CSSM_ALGID_3DES_3KEY = CSSM_ALGID_3DES_3KEY_EDE,
CSSM_ALGID_3DES_3KEY_EEE = CSSM_ALGID_NONE + 20,
CSSM_ALGID_3DES_2KEY = CSSM_ALGID_3DES_2KEY_EDE,
CSSM_ALGID_3DES_2KEY_EEE = CSSM_ALGID_NONE + 21,
CSSM_ALGID_3DES_1KEY = CSSM_ALGID_3DES_3KEY_EEE,
CSSM_ALGID_IDEA = CSSM_ALGID_NONE + 22,
CSSM_ALGID_RC2 = CSSM_ALGID_NONE + 23,
CSSM_ALGID_RC5 = CSSM_ALGID_NONE + 24,
CSSM_ALGID_RC4 = CSSM_ALGID_NONE + 25,
CSSM_ALGID_SEAL = CSSM_ALGID_NONE + 26,
CSSM_ALGID_CAST = CSSM_ALGID_NONE + 27,
CSSM_ALGID_BLOWFISH = CSSM_ALGID_NONE + 28,
CSSM_ALGID_SKIPJACK = CSSM_ALGID_NONE + 29,
CSSM_ALGID_LUCIFER = CSSM_ALGID_NONE + 30,
CSSM_ALGID_MADRYGA = CSSM_ALGID_NONE + 31,
CSSM_ALGID_FEAL = CSSM_ALGID_NONE + 32,
CSSM_ALGID_REDOC = CSSM_ALGID_NONE + 33,
CSSM_ALGID_REDOC3 = CSSM_ALGID_NONE + 34,
CSSM_ALGID_LOKI = CSSM_ALGID_NONE + 35,
CSSM_ALGID_KHUFU = CSSM_ALGID_NONE + 36,
CSSM_ALGID_KHAFRE = CSSM_ALGID_NONE + 37,
CSSM_ALGID_MMB = CSSM_ALGID_NONE + 38,
CSSM_ALGID_GOST = CSSM_ALGID_NONE + 39,
CSSM_ALGID_SAFER = CSSM_ALGID_NONE + 40,
CSSM_ALGID_CRAB = CSSM_ALGID_NONE + 41,
CSSM_ALGID_RSA = CSSM_ALGID_NONE + 42,
CSSM_ALGID_DSA = CSSM_ALGID_NONE + 43,
CSSM_ALGID_MD5WithRSA = CSSM_ALGID_NONE + 44,
CSSM_ALGID_MD2WithRSA = CSSM_ALGID_NONE + 45,
CSSM_ALGID_ElGamal = CSSM_ALGID_NONE + 46,
CSSM_ALGID_MD2Random = CSSM_ALGID_NONE + 47,
CSSM_ALGID_MD5Random = CSSM_ALGID_NONE + 48,
CSSM_ALGID_SHARandom = CSSM_ALGID_NONE + 49,
CSSM_ALGID_DESRandom = CSSM_ALGID_NONE + 50,
CSSM_ALGID_SHA1WithRSA = CSSM_ALGID_NONE + 51,
CSSM_ALGID_CDMF = CSSM_ALGID_NONE + 52,
CSSM_ALGID_CAST3 = CSSM_ALGID_NONE + 53,
CSSM_ALGID_CAST5 = CSSM_ALGID_NONE + 54,
CSSM_ALGID_GenericSecret = CSSM_ALGID_NONE + 55,
CSSM_ALGID_ConcatBaseAndKey = CSSM_ALGID_NONE + 56,
CSSM_ALGID_ConcatKeyAndBase = CSSM_ALGID_NONE + 57,
CSSM_ALGID_ConcatBaseAndData = CSSM_ALGID_NONE + 58,
CSSM_ALGID_ConcatDataAndBase = CSSM_ALGID_NONE + 59,
CSSM_ALGID_XORBaseAndData = CSSM_ALGID_NONE + 60,
CSSM_ALGID_ExtractFromKey = CSSM_ALGID_NONE + 61,
CSSM_ALGID_SSL3PreMasterGen = CSSM_ALGID_NONE + 62,
CSSM_ALGID_SSL3MasterDerive = CSSM_ALGID_NONE + 63,
CSSM_ALGID_SSL3KeyAndMacDerive = CSSM_ALGID_NONE + 64,
CSSM_ALGID_SSL3MD5_MAC = CSSM_ALGID_NONE + 65,
CSSM_ALGID_SSL3SHA1_MAC = CSSM_ALGID_NONE + 66,
CSSM_ALGID_PKCS5_PBKDF1_MD5 = CSSM_ALGID_NONE + 67,
CSSM_ALGID_PKCS5_PBKDF1_MD2 = CSSM_ALGID_NONE + 68,
CSSM_ALGID_PKCS5_PBKDF1_SHA1 = CSSM_ALGID_NONE + 69,
CSSM_ALGID_WrapLynks = CSSM_ALGID_NONE + 70,
CSSM_ALGID_WrapSET_OAEP = CSSM_ALGID_NONE + 71,
CSSM_ALGID_BATON = CSSM_ALGID_NONE + 72,
CSSM_ALGID_ECDSA = CSSM_ALGID_NONE + 73,
CSSM_ALGID_MAYFLY = CSSM_ALGID_NONE + 74,
CSSM_ALGID_JUNIPER = CSSM_ALGID_NONE + 75,
CSSM_ALGID_FASTHASH = CSSM_ALGID_NONE + 76,
CSSM_ALGID_3DES = CSSM_ALGID_NONE + 77,
CSSM_ALGID_SSL3MD5 = CSSM_ALGID_NONE + 78,
CSSM_ALGID_SSL3SHA1 = CSSM_ALGID_NONE + 79,
CSSM_ALGID_FortezzaTimestamp = CSSM_ALGID_NONE + 80,
CSSM_ALGID_SHA1WithDSA = CSSM_ALGID_NONE + 81,
CSSM_ALGID_SHA1WithECDSA = CSSM_ALGID_NONE + 82,
CSSM_ALGID_DSA_BSAFE = CSSM_ALGID_NONE + 83,
CSSM_ALGID_ECDH = CSSM_ALGID_NONE + 84,
CSSM_ALGID_ECMQV = CSSM_ALGID_NONE + 85,
CSSM_ALGID_PKCS12_SHA1_PBE = CSSM_ALGID_NONE + 86,
CSSM_ALGID_ECNRA = CSSM_ALGID_NONE + 87,
CSSM_ALGID_SHA1WithECNRA = CSSM_ALGID_NONE + 88,
CSSM_ALGID_ECES = CSSM_ALGID_NONE + 89,
CSSM_ALGID_ECAES = CSSM_ALGID_NONE + 90,
CSSM_ALGID_SHA1HMAC = CSSM_ALGID_NONE + 91,
CSSM_ALGID_FIPS186Random = CSSM_ALGID_NONE + 92,
CSSM_ALGID_ECC = CSSM_ALGID_NONE + 93,
CSSM_ALGID_MQV = CSSM_ALGID_NONE + 94,
CSSM_ALGID_NRA = CSSM_ALGID_NONE + 95,
CSSM_ALGID_IntelPlatformRandom = CSSM_ALGID_NONE + 96,
CSSM_ALGID_UTC = CSSM_ALGID_NONE + 97,
CSSM_ALGID_HAVAL3 = CSSM_ALGID_NONE + 98,
CSSM_ALGID_HAVAL4 = CSSM_ALGID_NONE + 99,
CSSM_ALGID_HAVAL5 = CSSM_ALGID_NONE + 100,
CSSM_ALGID_TIGER = CSSM_ALGID_NONE + 101,
CSSM_ALGID_MD5HMAC = CSSM_ALGID_NONE + 102,
CSSM_ALGID_PKCS5_PBKDF2 = CSSM_ALGID_NONE + 103,
CSSM_ALGID_RUNNING_COUNTER = CSSM_ALGID_NONE + 104,
CSSM_ALGID_LAST = CSSM_ALGID_NONE + 0x7FFFFFFF,
CSSM_ALGID_VENDOR_DEFINED = CSSM_ALGID_NONE + 0x80000000
};
typedef uint32 CSSM_ENCRYPT_MODE;
enum {
CSSM_ALGMODE_NONE = 0,
CSSM_ALGMODE_CUSTOM = CSSM_ALGMODE_NONE + 1,
CSSM_ALGMODE_ECB = CSSM_ALGMODE_NONE + 2,
CSSM_ALGMODE_ECBPad = CSSM_ALGMODE_NONE + 3,
CSSM_ALGMODE_CBC = CSSM_ALGMODE_NONE + 4,
CSSM_ALGMODE_CBC_IV8 = CSSM_ALGMODE_NONE + 5,
CSSM_ALGMODE_CBCPadIV8 = CSSM_ALGMODE_NONE + 6,
CSSM_ALGMODE_CFB = CSSM_ALGMODE_NONE + 7,
CSSM_ALGMODE_CFB_IV8 = CSSM_ALGMODE_NONE + 8,
CSSM_ALGMODE_CFBPadIV8 = CSSM_ALGMODE_NONE + 9,
CSSM_ALGMODE_OFB = CSSM_ALGMODE_NONE + 10,
CSSM_ALGMODE_OFB_IV8 = CSSM_ALGMODE_NONE + 11,
CSSM_ALGMODE_OFBPadIV8 = CSSM_ALGMODE_NONE + 12,
CSSM_ALGMODE_COUNTER = CSSM_ALGMODE_NONE + 13,
CSSM_ALGMODE_BC = CSSM_ALGMODE_NONE + 14,
CSSM_ALGMODE_PCBC = CSSM_ALGMODE_NONE + 15,
CSSM_ALGMODE_CBCC = CSSM_ALGMODE_NONE + 16,
CSSM_ALGMODE_OFBNLF = CSSM_ALGMODE_NONE + 17,
CSSM_ALGMODE_PBC = CSSM_ALGMODE_NONE + 18,
CSSM_ALGMODE_PFB = CSSM_ALGMODE_NONE + 19,
CSSM_ALGMODE_CBCPD = CSSM_ALGMODE_NONE + 20,
CSSM_ALGMODE_PUBLIC_KEY = CSSM_ALGMODE_NONE + 21,
CSSM_ALGMODE_PRIVATE_KEY = CSSM_ALGMODE_NONE + 22,
CSSM_ALGMODE_SHUFFLE = CSSM_ALGMODE_NONE + 23,
CSSM_ALGMODE_ECB64 = CSSM_ALGMODE_NONE + 24,
CSSM_ALGMODE_CBC64 = CSSM_ALGMODE_NONE + 25,
CSSM_ALGMODE_OFB64 = CSSM_ALGMODE_NONE + 26,
CSSM_ALGMODE_CFB32 = CSSM_ALGMODE_NONE + 28,
CSSM_ALGMODE_CFB16 = CSSM_ALGMODE_NONE + 29,
CSSM_ALGMODE_CFB8 = CSSM_ALGMODE_NONE + 30,
CSSM_ALGMODE_WRAP = CSSM_ALGMODE_NONE + 31,
CSSM_ALGMODE_PRIVATE_WRAP = CSSM_ALGMODE_NONE + 32,
CSSM_ALGMODE_RELAYX = CSSM_ALGMODE_NONE + 33,
CSSM_ALGMODE_ECB128 = CSSM_ALGMODE_NONE + 34,
CSSM_ALGMODE_ECB96 = CSSM_ALGMODE_NONE + 35,
CSSM_ALGMODE_CBC128 = CSSM_ALGMODE_NONE + 36,
CSSM_ALGMODE_OAEP_HASH = CSSM_ALGMODE_NONE + 37,
CSSM_ALGMODE_PKCS1_EME_V15 = CSSM_ALGMODE_NONE + 38,
CSSM_ALGMODE_PKCS1_EME_OAEP = CSSM_ALGMODE_NONE + 39,
CSSM_ALGMODE_PKCS1_EMSA_V15 = CSSM_ALGMODE_NONE + 40,
CSSM_ALGMODE_ISO_9796 = CSSM_ALGMODE_NONE + 41,
CSSM_ALGMODE_X9_31 = CSSM_ALGMODE_NONE + 42,
CSSM_ALGMODE_LAST = CSSM_ALGMODE_NONE + 0x7FFFFFFF,
CSSM_ALGMODE_VENDOR_DEFINED = CSSM_ALGMODE_NONE + 0x80000000
};
typedef struct cssm_keyheader {
CSSM_HEADERVERSION HeaderVersion;
CSSM_GUID CspId;
CSSM_KEYBLOB_TYPE BlobType;
CSSM_KEYBLOB_FORMAT Format;
CSSM_ALGORITHMS AlgorithmId;
CSSM_KEYCLASS KeyClass;
uint32 LogicalKeySizeInBits;
CSSM_KEYATTR_FLAGS KeyAttr;
CSSM_KEYUSE KeyUsage;
CSSM_DATE StartDate;
CSSM_DATE EndDate;
CSSM_ALGORITHMS WrapAlgorithmId;
CSSM_ENCRYPT_MODE WrapMode;
uint32 Reserved;
} CSSM_KEYHEADER, *CSSM_KEYHEADER_PTR;
typedef struct cssm_key {
CSSM_KEYHEADER KeyHeader;
CSSM_DATA KeyData;
} CSSM_KEY, *CSSM_KEY_PTR;
typedef CSSM_KEY CSSM_WRAP_KEY, *CSSM_WRAP_KEY_PTR;
typedef uint32 CSSM_CSPTYPE;
enum {
CSSM_CSP_SOFTWARE = 1,
CSSM_CSP_HARDWARE = CSSM_CSP_SOFTWARE + 1,
CSSM_CSP_HYBRID = CSSM_CSP_SOFTWARE + 2
};
typedef struct cssm_dl_db_handle {
CSSM_DL_HANDLE DLHandle;
CSSM_DB_HANDLE DBHandle;
} CSSM_DL_DB_HANDLE, *CSSM_DL_DB_HANDLE_PTR;
typedef uint32 CSSM_CONTEXT_TYPE;
enum {
CSSM_ALGCLASS_NONE = 0,
CSSM_ALGCLASS_CUSTOM = CSSM_ALGCLASS_NONE + 1,
CSSM_ALGCLASS_SIGNATURE = CSSM_ALGCLASS_NONE + 2,
CSSM_ALGCLASS_SYMMETRIC = CSSM_ALGCLASS_NONE + 3,
CSSM_ALGCLASS_DIGEST = CSSM_ALGCLASS_NONE + 4,
CSSM_ALGCLASS_RANDOMGEN = CSSM_ALGCLASS_NONE + 5,
CSSM_ALGCLASS_UNIQUEGEN = CSSM_ALGCLASS_NONE + 6,
CSSM_ALGCLASS_MAC = CSSM_ALGCLASS_NONE + 7,
CSSM_ALGCLASS_ASYMMETRIC = CSSM_ALGCLASS_NONE + 8,
CSSM_ALGCLASS_KEYGEN = CSSM_ALGCLASS_NONE + 9,
CSSM_ALGCLASS_DERIVEKEY = CSSM_ALGCLASS_NONE + 10
};
enum {
CSSM_ATTRIBUTE_DATA_NONE = 0x00000000,
CSSM_ATTRIBUTE_DATA_UINT32 = 0x10000000,
CSSM_ATTRIBUTE_DATA_CSSM_DATA = 0x20000000,
CSSM_ATTRIBUTE_DATA_CRYPTO_DATA = 0x30000000,
CSSM_ATTRIBUTE_DATA_KEY = 0x40000000,
CSSM_ATTRIBUTE_DATA_STRING = 0x50000000,
CSSM_ATTRIBUTE_DATA_DATE = 0x60000000,
CSSM_ATTRIBUTE_DATA_RANGE = 0x70000000,
CSSM_ATTRIBUTE_DATA_ACCESS_CREDENTIALS = 0x80000000,
CSSM_ATTRIBUTE_DATA_VERSION = 0x01000000,
CSSM_ATTRIBUTE_DATA_DL_DB_HANDLE = 0x02000000,
CSSM_ATTRIBUTE_DATA_KR_PROFILE = 0x03000000,
CSSM_ATTRIBUTE_TYPE_MASK = 0xFF000000
};
typedef uint32 CSSM_ATTRIBUTE_TYPE;
enum {
CSSM_ATTRIBUTE_NONE = 0,
CSSM_ATTRIBUTE_CUSTOM = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 1,
CSSM_ATTRIBUTE_DESCRIPTION = CSSM_ATTRIBUTE_DATA_STRING | 2,
CSSM_ATTRIBUTE_KEY = CSSM_ATTRIBUTE_DATA_KEY | 3,
CSSM_ATTRIBUTE_INIT_VECTOR = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 4,
CSSM_ATTRIBUTE_SALT = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 5,
CSSM_ATTRIBUTE_PADDING = CSSM_ATTRIBUTE_DATA_UINT32 | 6,
CSSM_ATTRIBUTE_RANDOM = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 7,
CSSM_ATTRIBUTE_SEED = CSSM_ATTRIBUTE_DATA_CRYPTO_DATA | 8,
CSSM_ATTRIBUTE_PASSPHRASE = CSSM_ATTRIBUTE_DATA_CRYPTO_DATA | 9,
CSSM_ATTRIBUTE_KEY_LENGTH = CSSM_ATTRIBUTE_DATA_UINT32 | 10,
CSSM_ATTRIBUTE_KEY_LENGTH_RANGE = CSSM_ATTRIBUTE_DATA_RANGE | 11,
CSSM_ATTRIBUTE_BLOCK_SIZE = CSSM_ATTRIBUTE_DATA_UINT32 | 12,
CSSM_ATTRIBUTE_OUTPUT_SIZE = CSSM_ATTRIBUTE_DATA_UINT32 | 13,
CSSM_ATTRIBUTE_ROUNDS = CSSM_ATTRIBUTE_DATA_UINT32 | 14,
CSSM_ATTRIBUTE_IV_SIZE = CSSM_ATTRIBUTE_DATA_UINT32 | 15,
CSSM_ATTRIBUTE_ALG_PARAMS = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 16,
CSSM_ATTRIBUTE_LABEL = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 17,
CSSM_ATTRIBUTE_KEY_TYPE = CSSM_ATTRIBUTE_DATA_UINT32 | 18,
CSSM_ATTRIBUTE_MODE = CSSM_ATTRIBUTE_DATA_UINT32 | 19,
CSSM_ATTRIBUTE_EFFECTIVE_BITS = CSSM_ATTRIBUTE_DATA_UINT32 | 20,
CSSM_ATTRIBUTE_START_DATE = CSSM_ATTRIBUTE_DATA_DATE | 21,
CSSM_ATTRIBUTE_END_DATE = CSSM_ATTRIBUTE_DATA_DATE | 22,
CSSM_ATTRIBUTE_KEYUSAGE = CSSM_ATTRIBUTE_DATA_UINT32 | 23,
CSSM_ATTRIBUTE_KEYATTR = CSSM_ATTRIBUTE_DATA_UINT32 | 24,
CSSM_ATTRIBUTE_VERSION = CSSM_ATTRIBUTE_DATA_VERSION | 25,
CSSM_ATTRIBUTE_PRIME = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 26,
CSSM_ATTRIBUTE_BASE = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 27,
CSSM_ATTRIBUTE_SUBPRIME = CSSM_ATTRIBUTE_DATA_CSSM_DATA | 28,
CSSM_ATTRIBUTE_ALG_ID = CSSM_ATTRIBUTE_DATA_UINT32 | 29,
CSSM_ATTRIBUTE_ITERATION_COUNT = CSSM_ATTRIBUTE_DATA_UINT32 | 30,
CSSM_ATTRIBUTE_ROUNDS_RANGE = CSSM_ATTRIBUTE_DATA_RANGE | 31,
CSSM_ATTRIBUTE_KRPROFILE_LOCAL = CSSM_ATTRIBUTE_DATA_KR_PROFILE | 32,
CSSM_ATTRIBUTE_KRPROFILE_REMOTE = CSSM_ATTRIBUTE_DATA_KR_PROFILE | 33,
CSSM_ATTRIBUTE_CSP_HANDLE = CSSM_ATTRIBUTE_DATA_UINT32 | 34,
CSSM_ATTRIBUTE_DL_DB_HANDLE = CSSM_ATTRIBUTE_DATA_DL_DB_HANDLE | 35,
CSSM_ATTRIBUTE_ACCESS_CREDENTIALS = CSSM_ATTRIBUTE_DATA_ACCESS_CREDENTIALS | 36,
CSSM_ATTRIBUTE_PUBLIC_KEY_FORMAT = CSSM_ATTRIBUTE_DATA_UINT32 | 37,
CSSM_ATTRIBUTE_PRIVATE_KEY_FORMAT = CSSM_ATTRIBUTE_DATA_UINT32 | 38,
CSSM_ATTRIBUTE_SYMMETRIC_KEY_FORMAT=CSSM_ATTRIBUTE_DATA_UINT32 | 39,
CSSM_ATTRIBUTE_WRAPPED_KEY_FORMAT = CSSM_ATTRIBUTE_DATA_UINT32 | 40
};
typedef uint32 CSSM_PADDING;
enum {
CSSM_PADDING_NONE = 0,
CSSM_PADDING_CUSTOM = CSSM_PADDING_NONE + 1,
CSSM_PADDING_ZERO = CSSM_PADDING_NONE + 2,
CSSM_PADDING_ONE = CSSM_PADDING_NONE + 3,
CSSM_PADDING_ALTERNATE = CSSM_PADDING_NONE + 4,
CSSM_PADDING_FF = CSSM_PADDING_NONE + 5,
CSSM_PADDING_PKCS5 = CSSM_PADDING_NONE + 6,
CSSM_PADDING_PKCS7 = CSSM_PADDING_NONE + 7,
CSSM_PADDING_CIPHERSTEALING = CSSM_PADDING_NONE + 8,
CSSM_PADDING_RANDOM = CSSM_PADDING_NONE + 9,
CSSM_PADDING_PKCS1 = CSSM_PADDING_NONE + 10,
CSSM_PADDING_VENDOR_DEFINED = CSSM_PADDING_NONE + 0x80000000
};
typedef CSSM_ALGORITHMS CSSM_KEY_TYPE;
typedef struct cssm_context_attribute {
CSSM_ATTRIBUTE_TYPE AttributeType;
uint32 AttributeLength;
union cssm_context_attribute_value {
char *String;
uint32 Uint32;
CSSM_ACCESS_CREDENTIALS_PTR AccessCredentials;
CSSM_KEY_PTR Key;
CSSM_DATA_PTR Data;
CSSM_PADDING Padding;
CSSM_DATE_PTR Date;
CSSM_RANGE_PTR Range;
CSSM_CRYPTO_DATA_PTR CryptoData;
CSSM_VERSION_PTR Version;
CSSM_DL_DB_HANDLE_PTR DLDBHandle;
struct cssm_kr_profile *KRProfile;
} Attribute;
} CSSM_CONTEXT_ATTRIBUTE, *CSSM_CONTEXT_ATTRIBUTE_PTR;
typedef struct cssm_context {
CSSM_CONTEXT_TYPE ContextType;
CSSM_ALGORITHMS AlgorithmType;
uint32 NumberOfAttributes;
CSSM_CONTEXT_ATTRIBUTE_PTR ContextAttributes;
CSSM_CSP_HANDLE CSPHandle;
CSSM_BOOL Privileged;
uint32 EncryptionProhibited;
uint32 WorkFactor;
uint32 Reserved;
} CSSM_CONTEXT, *CSSM_CONTEXT_PTR;
typedef uint32 CSSM_SC_FLAGS;
enum {
CSSM_CSP_TOK_RNG = 0x00000001,
CSSM_CSP_TOK_CLOCK_EXISTS = 0x00000040
};
typedef uint32 CSSM_CSP_READER_FLAGS;
enum {
CSSM_CSP_RDR_TOKENPRESENT = 0x00000001,
CSSM_CSP_RDR_EXISTS = 0x00000002,
CSSM_CSP_RDR_HW = 0x00000004
};
typedef uint32 CSSM_CSP_FLAGS;
enum {
CSSM_CSP_TOK_WRITE_PROTECTED = 0x00000002,
CSSM_CSP_TOK_LOGIN_REQUIRED = 0x00000004,
CSSM_CSP_TOK_USER_PIN_INITIALIZED = 0x00000008,
CSSM_CSP_TOK_PROT_AUTHENTICATION = 0x00000100,
CSSM_CSP_TOK_USER_PIN_EXPIRED = 0x00100000,
CSSM_CSP_TOK_SESSION_KEY_PASSWORD = 0x00200000,
CSSM_CSP_TOK_PRIVATE_KEY_PASSWORD = 0x00400000,
CSSM_CSP_STORES_PRIVATE_KEYS = 0x01000000,
CSSM_CSP_STORES_PUBLIC_KEYS = 0x02000000,
CSSM_CSP_STORES_SESSION_KEYS = 0x04000000,
CSSM_CSP_STORES_CERTIFICATES = 0x08000000,
CSSM_CSP_STORES_GENERIC = 0x10000000
};
typedef uint32 CSSM_PKCS_OAEP_MGF;
enum {
CSSM_PKCS_OAEP_MGF_NONE = 0,
CSSM_PKCS_OAEP_MGF1_SHA1 = CSSM_PKCS_OAEP_MGF_NONE + 1,
CSSM_PKCS_OAEP_MGF1_MD5 = CSSM_PKCS_OAEP_MGF_NONE + 2
};
typedef uint32 CSSM_PKCS_OAEP_PSOURCE;
enum {
CSSM_PKCS_OAEP_PSOURCE_NONE = 0,
CSSM_PKCS_OAEP_PSOURCE_Pspecified = CSSM_PKCS_OAEP_PSOURCE_NONE + 1
};
typedef struct cssm_pkcs1_oaep_params {
uint32 HashAlgorithm;
CSSM_DATA HashParams;
CSSM_PKCS_OAEP_MGF MGF;
CSSM_DATA MGFParams;
CSSM_PKCS_OAEP_PSOURCE PSource;
CSSM_DATA PSourceParams;
} CSSM_PKCS1_OAEP_PARAMS, *CSSM_PKCS1_OAEP_PARAMS_PTR;
typedef struct cssm_csp_operational_statistics {
CSSM_BOOL UserAuthenticated;
CSSM_CSP_FLAGS DeviceFlags;
uint32 TokenMaxSessionCount;
uint32 TokenOpenedSessionCount;
uint32 TokenMaxRWSessionCount;
uint32 TokenOpenedRWSessionCount;
uint32 TokenTotalPublicMem;
uint32 TokenFreePublicMem;
uint32 TokenTotalPrivateMem;
uint32 TokenFreePrivateMem;
} CSSM_CSP_OPERATIONAL_STATISTICS, *CSSM_CSP_OPERATIONAL_STATISTICS_PTR;
enum {
CSSM_VALUE_NOT_AVAILABLE = (uint32)(~0)
};
typedef struct cssm_pkcs5_pbkdf1_params {
CSSM_DATA Passphrase;
CSSM_DATA InitVector;
} CSSM_PKCS5_PBKDF1_PARAMS, *CSSM_PKCS5_PBKDF1_PARAMS_PTR;
typedef uint32 CSSM_PKCS5_PBKDF2_PRF;
enum {
CSSM_PKCS5_PBKDF2_PRF_HMAC_SHA1 = 0
};
typedef struct cssm_pkcs5_pbkdf2_params {
CSSM_DATA Passphrase;
CSSM_PKCS5_PBKDF2_PRF PseudoRandomFunction;
} CSSM_PKCS5_PBKDF2_PARAMS, *CSSM_PKCS5_PBKDF2_PARAMS_PTR;
typedef struct cssm_kea_derive_params {
CSSM_DATA Rb;
CSSM_DATA Yb;
} CSSM_KEA_DERIVE_PARAMS, *CSSM_KEA_DERIVE_PARAMS_PTR;
typedef struct cssm_tp_authority_id {
CSSM_DATA *AuthorityCert;
CSSM_NET_ADDRESS_PTR AuthorityLocation;
} CSSM_TP_AUTHORITY_ID, *CSSM_TP_AUTHORITY_ID_PTR;
typedef uint32 CSSM_TP_AUTHORITY_REQUEST_TYPE, *CSSM_TP_AUTHORITY_REQUEST_TYPE_PTR;
enum {
CSSM_TP_AUTHORITY_REQUEST_CERTISSUE = 0x01,
CSSM_TP_AUTHORITY_REQUEST_CERTREVOKE = 0x02,
CSSM_TP_AUTHORITY_REQUEST_CERTSUSPEND = 0x03,
CSSM_TP_AUTHORITY_REQUEST_CERTRESUME = 0x04,
CSSM_TP_AUTHORITY_REQUEST_CERTVERIFY = 0x05,
CSSM_TP_AUTHORITY_REQUEST_CERTNOTARIZE = 0x06,
CSSM_TP_AUTHORITY_REQUEST_CERTUSERECOVER = 0x07,
CSSM_TP_AUTHORITY_REQUEST_CRLISSUE = 0x100
};
typedef CSSM_RETURN ( * CSSM_TP_VERIFICATION_RESULTS_CALLBACK)
(CSSM_MODULE_HANDLE ModuleHandle,
void *CallerCtx,
CSSM_DATA_PTR VerifiedCert);
typedef CSSM_DATA CSSM_OID, *CSSM_OID_PTR;
typedef struct cssm_field {
CSSM_OID FieldOid;
CSSM_DATA FieldValue;
} CSSM_FIELD, *CSSM_FIELD_PTR;
typedef struct cssm_tp_policyinfo {
uint32 NumberOfPolicyIds;
CSSM_FIELD_PTR PolicyIds;
void *PolicyControl;
} CSSM_TP_POLICYINFO, *CSSM_TP_POLICYINFO_PTR;
typedef uint32 CSSM_TP_SERVICES;
enum {
CSSM_TP_KEY_ARCHIVE = 0x0001,
CSSM_TP_CERT_PUBLISH = 0x0002,
CSSM_TP_CERT_NOTIFY_RENEW = 0x0004,
CSSM_TP_CERT_DIR_UPDATE = 0x0008,
CSSM_TP_CRL_DISTRIBUTE = 0x0010
};
typedef uint32 CSSM_TP_ACTION;
enum {
CSSM_TP_ACTION_DEFAULT = 0
};
typedef uint32 CSSM_TP_STOP_ON;
enum {
CSSM_TP_STOP_ON_POLICY = 0,
CSSM_TP_STOP_ON_NONE = 1,
CSSM_TP_STOP_ON_FIRST_PASS = 2,
CSSM_TP_STOP_ON_FIRST_FAIL = 3
};
typedef char *CSSM_TIMESTRING;
typedef struct cssm_dl_db_list {
uint32 NumHandles;
CSSM_DL_DB_HANDLE_PTR DLDBHandle;
} CSSM_DL_DB_LIST, *CSSM_DL_DB_LIST_PTR;
typedef struct cssm_tp_callerauth_context {
CSSM_TP_POLICYINFO Policy;
CSSM_TIMESTRING VerifyTime;
CSSM_TP_STOP_ON VerificationAbortOn;
CSSM_TP_VERIFICATION_RESULTS_CALLBACK CallbackWithVerifiedCert;
uint32 NumberOfAnchorCerts;
CSSM_DATA_PTR AnchorCerts;
CSSM_DL_DB_LIST_PTR DBList;
CSSM_ACCESS_CREDENTIALS_PTR CallerCredentials;
} CSSM_TP_CALLERAUTH_CONTEXT, *CSSM_TP_CALLERAUTH_CONTEXT_PTR;
typedef uint32 CSSM_CRL_PARSE_FORMAT, * CSSM_CRL_PARSE_FORMAT_PTR;
enum {
CSSM_CRL_PARSE_FORMAT_NONE = 0x00,
CSSM_CRL_PARSE_FORMAT_CUSTOM = 0x01,
CSSM_CRL_PARSE_FORMAT_SEXPR = 0x02,
CSSM_CRL_PARSE_FORMAT_COMPLEX = 0x03,
CSSM_CRL_PARSE_FORMAT_OID_NAMED = 0x04,
CSSM_CRL_PARSE_FORMAT_TUPLE = 0x05,
CSSM_CRL_PARSE_FORMAT_MULTIPLE = 0x7FFE,
CSSM_CRL_PARSE_FORMAT_LAST = 0x7FFF,
CSSM_CL_CUSTOM_CRL_PARSE_FORMAT = 0x8000
};
typedef uint32 CSSM_CRL_TYPE, *CSSM_CRL_TYPE_PTR;
enum {
CSSM_CRL_TYPE_UNKNOWN = 0x00,
CSSM_CRL_TYPE_X_509v1 = 0x01,
CSSM_CRL_TYPE_X_509v2 = 0x02,
CSSM_CRL_TYPE_SPKI = 0x03,
CSSM_CRL_TYPE_MULTIPLE = 0x7FFE
};
typedef uint32 CSSM_CRL_ENCODING, *CSSM_CRL_ENCODING_PTR;
enum {
CSSM_CRL_ENCODING_UNKNOWN = 0x00,
CSSM_CRL_ENCODING_CUSTOM = 0x01,
CSSM_CRL_ENCODING_BER = 0x02,
CSSM_CRL_ENCODING_DER = 0x03,
CSSM_CRL_ENCODING_BLOOM = 0x04,
CSSM_CRL_ENCODING_SEXPR = 0x05,
CSSM_CRL_ENCODING_MULTIPLE = 0x7FFE
};
typedef struct cssm_encoded_crl {
CSSM_CRL_TYPE CrlType;
CSSM_CRL_ENCODING CrlEncoding;
CSSM_DATA CrlBlob;
} CSSM_ENCODED_CRL, *CSSM_ENCODED_CRL_PTR;
typedef struct cssm_parsed_crl {
CSSM_CRL_TYPE CrlType;
CSSM_CRL_PARSE_FORMAT ParsedCrlFormat;
void *ParsedCrl;
} CSSM_PARSED_CRL, *CSSM_PARSED_CRL_PTR;
typedef struct cssm_crl_pair {
CSSM_ENCODED_CRL EncodedCrl;
CSSM_PARSED_CRL ParsedCrl;
} CSSM_CRL_PAIR, *CSSM_CRL_PAIR_PTR;
typedef uint32 CSSM_CRLGROUP_TYPE, * CSSM_CRLGROUP_TYPE_PTR;
enum {
CSSM_CRLGROUP_DATA = 0x00,
CSSM_CRLGROUP_ENCODED_CRL = 0x01,
CSSM_CRLGROUP_PARSED_CRL = 0x02,
CSSM_CRLGROUP_CRL_PAIR = 0x03
};
typedef struct cssm_crlgroup {
CSSM_CRL_TYPE CrlType;
CSSM_CRL_ENCODING CrlEncoding;
uint32 NumberOfCrls;
union {
CSSM_DATA_PTR CrlList;
CSSM_ENCODED_CRL_PTR EncodedCrlList;
CSSM_PARSED_CRL_PTR ParsedCrlList;
CSSM_CRL_PAIR_PTR PairCrlList;
} GroupCrlList;
CSSM_CRLGROUP_TYPE CrlGroupType;
} CSSM_CRLGROUP, *CSSM_CRLGROUP_PTR;
typedef struct cssm_fieldgroup {
int NumberOfFields;
CSSM_FIELD_PTR Fields;
} CSSM_FIELDGROUP, *CSSM_FIELDGROUP_PTR;
typedef uint32 CSSM_EVIDENCE_FORM;
enum {
CSSM_EVIDENCE_FORM_UNSPECIFIC = 0x0,
CSSM_EVIDENCE_FORM_CERT = 0x1,
CSSM_EVIDENCE_FORM_CRL = 0x2,
CSSM_EVIDENCE_FORM_CERT_ID = 0x3,
CSSM_EVIDENCE_FORM_CRL_ID = 0x4,
CSSM_EVIDENCE_FORM_VERIFIER_TIME = 0x5,
CSSM_EVIDENCE_FORM_CRL_THISTIME = 0x6,
CSSM_EVIDENCE_FORM_CRL_NEXTTIME = 0x7,
CSSM_EVIDENCE_FORM_POLICYINFO = 0x8,
CSSM_EVIDENCE_FORM_TUPLEGROUP = 0x9
};
typedef struct cssm_evidence {
CSSM_EVIDENCE_FORM EvidenceForm;
void *Evidence;
} CSSM_EVIDENCE, *CSSM_EVIDENCE_PTR;
typedef struct cssm_tp_verify_context {
CSSM_TP_ACTION Action;
CSSM_DATA ActionData;
CSSM_CRLGROUP Crls;
CSSM_TP_CALLERAUTH_CONTEXT_PTR Cred;
} CSSM_TP_VERIFY_CONTEXT, *CSSM_TP_VERIFY_CONTEXT_PTR;
typedef struct cssm_tp_verify_context_result {
uint32 NumberOfEvidences;
CSSM_EVIDENCE_PTR Evidence;
} CSSM_TP_VERIFY_CONTEXT_RESULT, *CSSM_TP_VERIFY_CONTEXT_RESULT_PTR;
typedef struct cssm_tp_request_set {
uint32 NumberOfRequests;
void *Requests;
} CSSM_TP_REQUEST_SET, *CSSM_TP_REQUEST_SET_PTR;
typedef struct cssm_tp_result_set {
uint32 NumberOfResults;
void *Results;
} CSSM_TP_RESULT_SET, *CSSM_TP_RESULT_SET_PTR;
typedef uint32 CSSM_TP_CONFIRM_STATUS, *CSSM_TP_CONFIRM_STATUS_PTR;
enum {
CSSM_TP_CONFIRM_STATUS_UNKNOWN = 0x0,
CSSM_TP_CONFIRM_ACCEPT = 0x1,
CSSM_TP_CONFIRM_REJECT = 0x2
};
typedef struct cssm_tp_confirm_response {
uint32 NumberOfResponses;
CSSM_TP_CONFIRM_STATUS_PTR Responses;
} CSSM_TP_CONFIRM_RESPONSE, *CSSM_TP_CONFIRM_RESPONSE_PTR;
enum {
CSSM_ESTIMATED_TIME_UNKNOWN = -1
};
enum {
CSSM_ELAPSED_TIME_UNKNOWN = -1,
CSSM_ELAPSED_TIME_COMPLETE = -2
};
typedef struct cssm_tp_certissue_input {
CSSM_SUBSERVICE_UID CSPSubserviceUid;
CSSM_CL_HANDLE CLHandle;
uint32 NumberOfTemplateFields;
CSSM_FIELD_PTR SubjectCertFields;
CSSM_TP_SERVICES MoreServiceRequests;
uint32 NumberOfServiceControls;
CSSM_FIELD_PTR ServiceControls;
CSSM_ACCESS_CREDENTIALS_PTR UserCredentials;
} CSSM_TP_CERTISSUE_INPUT, *CSSM_TP_CERTISSUE_INPUT_PTR;
typedef uint32 CSSM_TP_CERTISSUE_STATUS;
enum {
CSSM_TP_CERTISSUE_STATUS_UNKNOWN = 0x0,
CSSM_TP_CERTISSUE_OK = 0x1,
CSSM_TP_CERTISSUE_OKWITHCERTMODS = 0x2,
CSSM_TP_CERTISSUE_OKWITHSERVICEMODS = 0x3,
CSSM_TP_CERTISSUE_REJECTED = 0x4,
CSSM_TP_CERTISSUE_NOT_AUTHORIZED = 0x5,
CSSM_TP_CERTISSUE_WILL_BE_REVOKED = 0x6
};
typedef struct cssm_tp_certissue_output {
CSSM_TP_CERTISSUE_STATUS IssueStatus;
CSSM_CERTGROUP_PTR CertGroup;
CSSM_TP_SERVICES PerformedServiceRequests;
} CSSM_TP_CERTISSUE_OUTPUT, *CSSM_TP_CERTISSUE_OUTPUT_PTR;
typedef uint32 CSSM_TP_CERTCHANGE_ACTION;
enum {
CSSM_TP_CERTCHANGE_NONE = 0x0,
CSSM_TP_CERTCHANGE_REVOKE = 0x1,
CSSM_TP_CERTCHANGE_HOLD = 0x2,
# 1532 "/System/Library/Frameworks/Security.framework/Headers/cssmtype.h" 3
CSSM_TP_CERTCHANGE_RELEASE = 0x3
};
typedef uint32 CSSM_TP_CERTCHANGE_REASON;
enum {
CSSM_TP_CERTCHANGE_REASON_UNKNOWN = 0x0,
CSSM_TP_CERTCHANGE_REASON_KEYCOMPROMISE = 0x1,
CSSM_TP_CERTCHANGE_REASON_CACOMPROMISE = 0x2,
CSSM_TP_CERTCHANGE_REASON_CEASEOPERATION = 0x3,
CSSM_TP_CERTCHANGE_REASON_AFFILIATIONCHANGE = 0x4,
CSSM_TP_CERTCHANGE_REASON_SUPERCEDED = 0x5,
CSSM_TP_CERTCHANGE_REASON_SUSPECTEDCOMPROMISE = 0x6,
CSSM_TP_CERTCHANGE_REASON_HOLDRELEASE = 0x7
};
typedef struct cssm_tp_certchange_input {
CSSM_TP_CERTCHANGE_ACTION Action;
CSSM_TP_CERTCHANGE_REASON Reason;
CSSM_CL_HANDLE CLHandle;
CSSM_DATA_PTR Cert;
CSSM_FIELD_PTR ChangeInfo;
CSSM_TIMESTRING StartTime;
CSSM_ACCESS_CREDENTIALS_PTR CallerCredentials;
} CSSM_TP_CERTCHANGE_INPUT, *CSSM_TP_CERTCHANGE_INPUT_PTR;
typedef uint32 CSSM_TP_CERTCHANGE_STATUS;
enum {
CSSM_TP_CERTCHANGE_STATUS_UNKNOWN = 0x0,
CSSM_TP_CERTCHANGE_OK = 0x1,
CSSM_TP_CERTCHANGE_OKWITHNEWTIME = 0x2,
CSSM_TP_CERTCHANGE_WRONGCA = 0x3,
CSSM_TP_CERTCHANGE_REJECTED = 0x4,
CSSM_TP_CERTCHANGE_NOT_AUTHORIZED = 0x5
};
typedef struct cssm_tp_certchange_output {
CSSM_TP_CERTCHANGE_STATUS ActionStatus;
CSSM_FIELD RevokeInfo;
} CSSM_TP_CERTCHANGE_OUTPUT, *CSSM_TP_CERTCHANGE_OUTPUT_PTR;
typedef struct cssm_tp_certverify_input {
CSSM_CL_HANDLE CLHandle;
CSSM_DATA_PTR Cert;
CSSM_TP_VERIFY_CONTEXT_PTR VerifyContext;
} CSSM_TP_CERTVERIFY_INPUT, *CSSM_TP_CERTVERIFY_INPUT_PTR;
typedef uint32 CSSM_TP_CERTVERIFY_STATUS;
enum {
CSSM_TP_CERTVERIFY_UNKNOWN = 0x0,
CSSM_TP_CERTVERIFY_VALID = 0x1,
CSSM_TP_CERTVERIFY_INVALID = 0x2,
CSSM_TP_CERTVERIFY_REVOKED = 0x3,
CSSM_TP_CERTVERIFY_SUSPENDED = 0x4,
CSSM_TP_CERTVERIFY_EXPIRED = 0x5,
CSSM_TP_CERTVERIFY_NOT_VALID_YET = 0x6,
CSSM_TP_CERTVERIFY_INVALID_AUTHORITY = 0x7,
CSSM_TP_CERTVERIFY_INVALID_SIGNATURE = 0x8,
CSSM_TP_CERTVERIFY_INVALID_CERT_VALUE = 0x9,
CSSM_TP_CERTVERIFY_INVALID_CERTGROUP = 0xA,
CSSM_TP_CERTVERIFY_INVALID_POLICY = 0xB,
CSSM_TP_CERTVERIFY_INVALID_POLICY_IDS = 0xC,
CSSM_TP_CERTVERIFY_INVALID_BASIC_CONSTRAINTS = 0xD,
CSSM_TP_CERTVERIFY_INVALID_CRL_DIST_PT = 0xE,
CSSM_TP_CERTVERIFY_INVALID_NAME_TREE = 0xF,
CSSM_TP_CERTVERIFY_UNKNOWN_CRITICAL_EXT = 0x10
};
typedef struct cssm_tp_certverify_output {
CSSM_TP_CERTVERIFY_STATUS VerifyStatus;
uint32 NumberOfEvidence;
CSSM_EVIDENCE_PTR Evidence;
} CSSM_TP_CERTVERIFY_OUTPUT, *CSSM_TP_CERTVERIFY_OUTPUT_PTR;
typedef struct cssm_tp_certnotarize_input {
CSSM_CL_HANDLE CLHandle;
uint32 NumberOfFields;
CSSM_FIELD_PTR MoreFields;
CSSM_FIELD_PTR SignScope;
uint32 ScopeSize;
CSSM_TP_SERVICES MoreServiceRequests;
uint32 NumberOfServiceControls;
CSSM_FIELD_PTR ServiceControls;
CSSM_ACCESS_CREDENTIALS_PTR UserCredentials;
} CSSM_TP_CERTNOTARIZE_INPUT, *CSSM_TP_CERTNOTARIZE_INPUT_PTR;
typedef uint32 CSSM_TP_CERTNOTARIZE_STATUS;
enum {
CSSM_TP_CERTNOTARIZE_STATUS_UNKNOWN = 0x0,
CSSM_TP_CERTNOTARIZE_OK = 0x1,
CSSM_TP_CERTNOTARIZE_OKWITHOUTFIELDS = 0x2,
CSSM_TP_CERTNOTARIZE_OKWITHSERVICEMODS = 0x3,
CSSM_TP_CERTNOTARIZE_REJECTED = 0x4,
CSSM_TP_CERTNOTARIZE_NOT_AUTHORIZED = 0x5
};
typedef struct cssm_tp_certnotarize_output {
CSSM_TP_CERTNOTARIZE_STATUS NotarizeStatus;
CSSM_CERTGROUP_PTR NotarizedCertGroup;
CSSM_TP_SERVICES PerformedServiceRequests;
} CSSM_TP_CERTNOTARIZE_OUTPUT, *CSSM_TP_CERTNOTARIZE_OUTPUT_PTR;
typedef struct cssm_tp_certreclaim_input {
CSSM_CL_HANDLE CLHandle;
uint32 NumberOfSelectionFields;
CSSM_FIELD_PTR SelectionFields;
CSSM_ACCESS_CREDENTIALS_PTR UserCredentials;
} CSSM_TP_CERTRECLAIM_INPUT, *CSSM_TP_CERTRECLAIM_INPUT_PTR;
typedef uint32 CSSM_TP_CERTRECLAIM_STATUS;
enum {
CSSM_TP_CERTRECLAIM_STATUS_UNKNOWN = 0x0,
CSSM_TP_CERTRECLAIM_OK = 0x1,
CSSM_TP_CERTRECLAIM_NOMATCH = 0x2,
CSSM_TP_CERTRECLAIM_REJECTED = 0x3,
CSSM_TP_CERTRECLAIM_NOT_AUTHORIZED = 0x4
};
typedef struct cssm_tp_certreclaim_output {
CSSM_TP_CERTRECLAIM_STATUS ReclaimStatus;
CSSM_CERTGROUP_PTR ReclaimedCertGroup;
CSSM_LONG_HANDLE KeyCacheHandle;
} CSSM_TP_CERTRECLAIM_OUTPUT, *CSSM_TP_CERTRECLAIM_OUTPUT_PTR;
typedef struct cssm_tp_crlissue_input {
CSSM_CL_HANDLE CLHandle;
uint32 CrlIdentifier;
CSSM_TIMESTRING CrlThisTime;
CSSM_FIELD_PTR PolicyIdentifier;
CSSM_ACCESS_CREDENTIALS_PTR CallerCredentials;
} CSSM_TP_CRLISSUE_INPUT, *CSSM_TP_CRLISSUE_INPUT_PTR;
typedef uint32 CSSM_TP_CRLISSUE_STATUS;
enum {
CSSM_TP_CRLISSUE_STATUS_UNKNOWN = 0x0,
CSSM_TP_CRLISSUE_OK = 0x1,
CSSM_TP_CRLISSUE_NOT_CURRENT = 0x2,
CSSM_TP_CRLISSUE_INVALID_DOMAIN = 0x3,
CSSM_TP_CRLISSUE_UNKNOWN_IDENTIFIER = 0x4,
CSSM_TP_CRLISSUE_REJECTED = 0x5,
CSSM_TP_CRLISSUE_NOT_AUTHORIZED = 0x6
};
typedef struct cssm_tp_crlissue_output {
CSSM_TP_CRLISSUE_STATUS IssueStatus;
CSSM_ENCODED_CRL_PTR Crl;
CSSM_TIMESTRING CrlNextTime;
} CSSM_TP_CRLISSUE_OUTPUT, *CSSM_TP_CRLISSUE_OUTPUT_PTR;
typedef uint32 CSSM_TP_FORM_TYPE;
enum {
CSSM_TP_FORM_TYPE_GENERIC = 0x0,
CSSM_TP_FORM_TYPE_REGISTRATION = 0x1
};
typedef uint32 CSSM_CL_TEMPLATE_TYPE;
enum {
CSSM_CL_TEMPLATE_INTERMEDIATE_CERT = 1,
CSSM_CL_TEMPLATE_PKIX_CERTTEMPLATE = 2
};
typedef uint32 CSSM_CERT_BUNDLE_TYPE;
enum {
CSSM_CERT_BUNDLE_UNKNOWN = 0x00,
CSSM_CERT_BUNDLE_CUSTOM = 0x01,
CSSM_CERT_BUNDLE_PKCS7_SIGNED_DATA = 0x02,
CSSM_CERT_BUNDLE_PKCS7_SIGNED_ENVELOPED_DATA = 0x03,
CSSM_CERT_BUNDLE_PKCS12 = 0x04,
CSSM_CERT_BUNDLE_PFX = 0x05,
CSSM_CERT_BUNDLE_SPKI_SEQUENCE = 0x06,
CSSM_CERT_BUNDLE_PGP_KEYRING = 0x07,
CSSM_CERT_BUNDLE_LAST = 0x7FFF,
CSSM_CL_CUSTOM_CERT_BUNDLE_TYPE = 0x8000
};
typedef uint32 CSSM_CERT_BUNDLE_ENCODING;
enum {
CSSM_CERT_BUNDLE_ENCODING_UNKNOWN = 0x00,
CSSM_CERT_BUNDLE_ENCODING_CUSTOM = 0x01,
CSSM_CERT_BUNDLE_ENCODING_BER = 0x02,
CSSM_CERT_BUNDLE_ENCODING_DER = 0x03,
CSSM_CERT_BUNDLE_ENCODING_SEXPR = 0x04,
CSSM_CERT_BUNDLE_ENCODING_PGP = 0x05
};
typedef struct cssm_cert_bundle_header {
CSSM_CERT_BUNDLE_TYPE BundleType;
CSSM_CERT_BUNDLE_ENCODING BundleEncoding;
} CSSM_CERT_BUNDLE_HEADER, *CSSM_CERT_BUNDLE_HEADER_PTR;
typedef struct cssm_cert_bundle {
CSSM_CERT_BUNDLE_HEADER BundleHeader;
CSSM_DATA Bundle;
} CSSM_CERT_BUNDLE, *CSSM_CERT_BUNDLE_PTR;
enum {
CSSM_FIELDVALUE_COMPLEX_DATA_TYPE = 0xFFFFFFFF
};
typedef uint32 CSSM_DB_ATTRIBUTE_NAME_FORMAT, *CSSM_DB_ATTRIBUTE_NAME_FORMAT_PTR;
enum {
CSSM_DB_ATTRIBUTE_NAME_AS_STRING = 0,
CSSM_DB_ATTRIBUTE_NAME_AS_OID = 1,
CSSM_DB_ATTRIBUTE_NAME_AS_INTEGER = 2
};
typedef uint32 CSSM_DB_ATTRIBUTE_FORMAT, *CSSM_DB_ATTRIBUTE_FORMAT_PTR;
enum {
CSSM_DB_ATTRIBUTE_FORMAT_STRING = 0,
CSSM_DB_ATTRIBUTE_FORMAT_SINT32 = 1,
CSSM_DB_ATTRIBUTE_FORMAT_UINT32 = 2,
CSSM_DB_ATTRIBUTE_FORMAT_BIG_NUM = 3,
CSSM_DB_ATTRIBUTE_FORMAT_REAL = 4,
CSSM_DB_ATTRIBUTE_FORMAT_TIME_DATE = 5,
CSSM_DB_ATTRIBUTE_FORMAT_BLOB = 6,
CSSM_DB_ATTRIBUTE_FORMAT_MULTI_UINT32 = 7,
CSSM_DB_ATTRIBUTE_FORMAT_COMPLEX = 8
};
typedef struct cssm_db_attribute_info {
CSSM_DB_ATTRIBUTE_NAME_FORMAT AttributeNameFormat;
union cssm_db_attribute_label {
char *AttributeName;
CSSM_OID AttributeOID;
uint32 AttributeID;
} Label;
CSSM_DB_ATTRIBUTE_FORMAT AttributeFormat;
} CSSM_DB_ATTRIBUTE_INFO, *CSSM_DB_ATTRIBUTE_INFO_PTR;
typedef struct cssm_db_attribute_data {
CSSM_DB_ATTRIBUTE_INFO Info;
uint32 NumberOfValues;
CSSM_DATA_PTR Value;
} CSSM_DB_ATTRIBUTE_DATA, *CSSM_DB_ATTRIBUTE_DATA_PTR;
typedef uint32 CSSM_DB_RECORDTYPE;
enum {
CSSM_DB_RECORDTYPE_SCHEMA_START = 0x00000000,
CSSM_DB_RECORDTYPE_SCHEMA_END = CSSM_DB_RECORDTYPE_SCHEMA_START + 4,
CSSM_DB_RECORDTYPE_OPEN_GROUP_START = 0x0000000A,
CSSM_DB_RECORDTYPE_OPEN_GROUP_END = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 8,
CSSM_DB_RECORDTYPE_APP_DEFINED_START = 0x80000000,
CSSM_DB_RECORDTYPE_APP_DEFINED_END = 0xffffffff,
CSSM_DL_DB_SCHEMA_INFO = CSSM_DB_RECORDTYPE_SCHEMA_START + 0,
CSSM_DL_DB_SCHEMA_INDEXES = CSSM_DB_RECORDTYPE_SCHEMA_START + 1,
CSSM_DL_DB_SCHEMA_ATTRIBUTES = CSSM_DB_RECORDTYPE_SCHEMA_START + 2,
CSSM_DL_DB_SCHEMA_PARSING_MODULE = CSSM_DB_RECORDTYPE_SCHEMA_START + 3,
CSSM_DL_DB_RECORD_ANY = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 0,
CSSM_DL_DB_RECORD_CERT = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 1,
CSSM_DL_DB_RECORD_CRL = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 2,
CSSM_DL_DB_RECORD_POLICY = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 3,
CSSM_DL_DB_RECORD_GENERIC = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 4,
CSSM_DL_DB_RECORD_PUBLIC_KEY = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 5,
CSSM_DL_DB_RECORD_PRIVATE_KEY = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 6,
CSSM_DL_DB_RECORD_SYMMETRIC_KEY = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 7,
CSSM_DL_DB_RECORD_ALL_KEYS = CSSM_DB_RECORDTYPE_OPEN_GROUP_START + 8
};
enum {
CSSM_DB_CERT_USE_TRUSTED = 0x00000001,
CSSM_DB_CERT_USE_SYSTEM = 0x00000002,
CSSM_DB_CERT_USE_OWNER = 0x00000004,
CSSM_DB_CERT_USE_REVOKED = 0x00000008,
CSSM_DB_CERT_USE_SIGNING = 0x00000010,
CSSM_DB_CERT_USE_PRIVACY = 0x00000020
};
typedef struct cssm_db_record_attribute_info {
CSSM_DB_RECORDTYPE DataRecordType;
uint32 NumberOfAttributes;
CSSM_DB_ATTRIBUTE_INFO_PTR AttributeInfo;
} CSSM_DB_RECORD_ATTRIBUTE_INFO, *CSSM_DB_RECORD_ATTRIBUTE_INFO_PTR;
typedef struct cssm_db_record_attribute_data {
CSSM_DB_RECORDTYPE DataRecordType;
uint32 SemanticInformation;
uint32 NumberOfAttributes;
CSSM_DB_ATTRIBUTE_DATA_PTR AttributeData;
} CSSM_DB_RECORD_ATTRIBUTE_DATA, *CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR;
typedef struct cssm_db_parsing_module_info {
CSSM_DB_RECORDTYPE RecordType;
CSSM_SUBSERVICE_UID ModuleSubserviceUid;
} CSSM_DB_PARSING_MODULE_INFO, *CSSM_DB_PARSING_MODULE_INFO_PTR;
typedef uint32 CSSM_DB_INDEX_TYPE;
enum {
CSSM_DB_INDEX_UNIQUE = 0,
CSSM_DB_INDEX_NONUNIQUE = 1
};
typedef uint32 CSSM_DB_INDEXED_DATA_LOCATION;
enum {
CSSM_DB_INDEX_ON_UNKNOWN = 0,
CSSM_DB_INDEX_ON_ATTRIBUTE = 1,
CSSM_DB_INDEX_ON_RECORD = 2
};
typedef struct cssm_db_index_info {
CSSM_DB_INDEX_TYPE IndexType;
CSSM_DB_INDEXED_DATA_LOCATION IndexedDataLocation;
CSSM_DB_ATTRIBUTE_INFO Info;
} CSSM_DB_INDEX_INFO, *CSSM_DB_INDEX_INFO_PTR;
typedef struct cssm_db_unique_record {
CSSM_DB_INDEX_INFO RecordLocator;
CSSM_DATA RecordIdentifier;
} CSSM_DB_UNIQUE_RECORD, *CSSM_DB_UNIQUE_RECORD_PTR;
typedef struct cssm_db_record_index_info {
CSSM_DB_RECORDTYPE DataRecordType;
uint32 NumberOfIndexes;
CSSM_DB_INDEX_INFO_PTR IndexInfo;
} CSSM_DB_RECORD_INDEX_INFO, *CSSM_DB_RECORD_INDEX_INFO_PTR;
typedef uint32 CSSM_DB_ACCESS_TYPE, *CSSM_DB_ACCESS_TYPE_PTR;
enum {
CSSM_DB_ACCESS_READ = 0x00001,
CSSM_DB_ACCESS_WRITE = 0x00002,
CSSM_DB_ACCESS_PRIVILEGED = 0x00004
};
typedef uint32 CSSM_DB_MODIFY_MODE;
enum {
CSSM_DB_MODIFY_ATTRIBUTE_NONE = 0,
CSSM_DB_MODIFY_ATTRIBUTE_ADD = CSSM_DB_MODIFY_ATTRIBUTE_NONE + 1,
CSSM_DB_MODIFY_ATTRIBUTE_DELETE = CSSM_DB_MODIFY_ATTRIBUTE_NONE + 2,
CSSM_DB_MODIFY_ATTRIBUTE_REPLACE = CSSM_DB_MODIFY_ATTRIBUTE_NONE + 3
};
typedef struct cssm_dbinfo {
uint32 NumberOfRecordTypes;
CSSM_DB_PARSING_MODULE_INFO_PTR DefaultParsingModules;
CSSM_DB_RECORD_ATTRIBUTE_INFO_PTR RecordAttributeNames;
CSSM_DB_RECORD_INDEX_INFO_PTR RecordIndexes;
CSSM_BOOL IsLocal;
char *AccessPath;
void *Reserved;
} CSSM_DBINFO, *CSSM_DBINFO_PTR;
typedef uint32 CSSM_DB_OPERATOR, *CSSM_DB_OPERATOR_PTR;
enum {
CSSM_DB_EQUAL = 0,
CSSM_DB_NOT_EQUAL = 1,
CSSM_DB_LESS_THAN = 2,
CSSM_DB_GREATER_THAN = 3,
CSSM_DB_CONTAINS = 4,
CSSM_DB_CONTAINS_INITIAL_SUBSTRING = 5,
CSSM_DB_CONTAINS_FINAL_SUBSTRING = 6
};
typedef uint32 CSSM_DB_CONJUNCTIVE, *CSSM_DB_CONJUNCTIVE_PTR;
enum {
CSSM_DB_NONE = 0,
CSSM_DB_AND = 1,
CSSM_DB_OR = 2
};
typedef struct cssm_selection_predicate {
CSSM_DB_OPERATOR DbOperator;
CSSM_DB_ATTRIBUTE_DATA Attribute;
} CSSM_SELECTION_PREDICATE, *CSSM_SELECTION_PREDICATE_PTR;
enum {
CSSM_QUERY_TIMELIMIT_NONE = 0
};
enum {
CSSM_QUERY_SIZELIMIT_NONE = 0
};
typedef struct cssm_query_limits {
uint32 TimeLimit;
uint32 SizeLimit;
} CSSM_QUERY_LIMITS, *CSSM_QUERY_LIMITS_PTR;
typedef uint32 CSSM_QUERY_FLAGS;
enum {
CSSM_QUERY_RETURN_DATA = 0x01
};
typedef struct cssm_query {
CSSM_DB_RECORDTYPE RecordType;
CSSM_DB_CONJUNCTIVE Conjunctive;
uint32 NumSelectionPredicates;
CSSM_SELECTION_PREDICATE_PTR SelectionPredicate;
CSSM_QUERY_LIMITS QueryLimits;
CSSM_QUERY_FLAGS QueryFlags;
} CSSM_QUERY, *CSSM_QUERY_PTR;
typedef uint32 CSSM_DLTYPE, *CSSM_DLTYPE_PTR;
enum {
CSSM_DL_UNKNOWN = 0,
CSSM_DL_CUSTOM = 1,
CSSM_DL_LDAP = 2,
CSSM_DL_ODBC = 3,
CSSM_DL_PKCS11 = 4,
CSSM_DL_FFS = 5,
CSSM_DL_MEMORY = 6,
CSSM_DL_REMOTEDIR = 7
};
typedef void *CSSM_DL_CUSTOM_ATTRIBUTES;
typedef void *CSSM_DL_LDAP_ATTRIBUTES;
typedef void *CSSM_DL_ODBC_ATTRIBUTES;
typedef void *CSSM_DL_FFS_ATTRIBUTES;
typedef struct cssm_dl_pkcs11_attributes {
uint32 DeviceAccessFlags;
} *CSSM_DL_PKCS11_ATTRIBUTE, *CSSM_DL_PKCS11_ATTRIBUTE_PTR;
enum {
CSSM_DB_DATASTORES_UNKNOWN = 0xFFFFFFFF
};
typedef struct cssm_name_list {
uint32 NumStrings;
char **String;
} CSSM_NAME_LIST, *CSSM_NAME_LIST_PTR;
typedef uint32 CSSM_DB_RETRIEVAL_MODES;
enum {
CSSM_DB_TRANSACTIONAL_MODE = 0,
CSSM_DB_FILESYSTEMSCAN_MODE = 1
};
typedef struct cssm_db_schema_attribute_info {
uint32 AttributeId;
char *AttributeName;
CSSM_OID AttributeNameID;
CSSM_DB_ATTRIBUTE_FORMAT DataType;
} CSSM_DB_SCHEMA_ATTRIBUTE_INFO, *CSSM_DB_SCHEMA_ATTRIBUTE_INFO_PTR;
typedef struct cssm_db_schema_index_info {
uint32 AttributeId;
uint32 IndexId;
CSSM_DB_INDEX_TYPE IndexType;
CSSM_DB_INDEXED_DATA_LOCATION IndexedDataLocation;
} CSSM_DB_SCHEMA_INDEX_INFO, *CSSM_DB_SCHEMA_INDEX_INFO_PTR;
# 31 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/x509defs.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/x509defs.h" 3
#define _X509DEFS_H_ 1
typedef uint8 CSSM_BER_TAG;
#define BER_TAG_UNKNOWN 0
#define BER_TAG_BOOLEAN 1
#define BER_TAG_INTEGER 2
#define BER_TAG_BIT_STRING 3
#define BER_TAG_OCTET_STRING 4
#define BER_TAG_NULL 5
#define BER_TAG_OID 6
#define BER_TAG_OBJECT_DESCRIPTOR 7
#define BER_TAG_EXTERNAL 8
#define BER_TAG_REAL 9
#define BER_TAG_ENUMERATED 10
#define BER_TAG_PKIX_UTF8_STRING 12
#define BER_TAG_SEQUENCE 16
#define BER_TAG_SET 17
#define BER_TAG_NUMERIC_STRING 18
#define BER_TAG_PRINTABLE_STRING 19
#define BER_TAG_T61_STRING 20
#define BER_TAG_TELETEX_STRING BER_TAG_T61_STRING
#define BER_TAG_VIDEOTEX_STRING 21
#define BER_TAG_IA5_STRING 22
#define BER_TAG_UTC_TIME 23
#define BER_TAG_GENERALIZED_TIME 24
#define BER_TAG_GRAPHIC_STRING 25
#define BER_TAG_ISO646_STRING 26
#define BER_TAG_GENERAL_STRING 27
#define BER_TAG_VISIBLE_STRING BER_TAG_ISO646_STRING
#define BER_TAG_PKIX_UNIVERSAL_STRING 28
#define BER_TAG_PKIX_BMP_STRING 30
typedef struct cssm_x509_algorithm_identifier {
CSSM_OID algorithm;
CSSM_DATA parameters;
} CSSM_X509_ALGORITHM_IDENTIFIER, *CSSM_X509_ALGORITHM_IDENTIFIER_PTR;
typedef struct cssm_x509_type_value_pair {
CSSM_OID type;
CSSM_BER_TAG valueType;
CSSM_DATA value;
} CSSM_X509_TYPE_VALUE_PAIR, *CSSM_X509_TYPE_VALUE_PAIR_PTR;
typedef struct cssm_x509_rdn {
uint32 numberOfPairs;
CSSM_X509_TYPE_VALUE_PAIR_PTR AttributeTypeAndValue;
} CSSM_X509_RDN, *CSSM_X509_RDN_PTR;
typedef struct cssm_x509_name {
uint32 numberOfRDNs;
CSSM_X509_RDN_PTR RelativeDistinguishedName;
} CSSM_X509_NAME, *CSSM_X509_NAME_PTR;
typedef struct cssm_x509_subject_public_key_info {
CSSM_X509_ALGORITHM_IDENTIFIER algorithm;
CSSM_DATA subjectPublicKey;
} CSSM_X509_SUBJECT_PUBLIC_KEY_INFO, *CSSM_X509_SUBJECT_PUBLIC_KEY_INFO_PTR;
typedef struct cssm_x509_time {
CSSM_BER_TAG timeType;
CSSM_DATA time;
} CSSM_X509_TIME, *CSSM_X509_TIME_PTR;
typedef struct x509_validity {
CSSM_X509_TIME notBefore;
CSSM_X509_TIME notAfter;
} CSSM_X509_VALIDITY, *CSSM_X509_VALIDITY_PTR;
#define CSSM_X509_OPTION_PRESENT CSSM_TRUE
#define CSSM_X509_OPTION_NOT_PRESENT CSSM_FALSE
typedef CSSM_BOOL CSSM_X509_OPTION;
typedef struct cssm_x509ext_basicConstraints {
CSSM_BOOL cA;
CSSM_X509_OPTION pathLenConstraintPresent;
uint32 pathLenConstraint;
} CSSM_X509EXT_BASICCONSTRAINTS, *CSSM_X509EXT_BASICCONSTRAINTS_PTR;
typedef enum extension_data_format {
CSSM_X509_DATAFORMAT_ENCODED = 0,
CSSM_X509_DATAFORMAT_PARSED,
CSSM_X509_DATAFORMAT_PAIR
} CSSM_X509EXT_DATA_FORMAT;
typedef struct cssm_x509_extensionTagAndValue {
CSSM_BER_TAG type;
CSSM_DATA value;
} CSSM_X509EXT_TAGandVALUE, *CSSM_X509EXT_TAGandVALUE_PTR;
typedef struct cssm_x509ext_pair {
CSSM_X509EXT_TAGandVALUE tagAndValue;
void *parsedValue;
} CSSM_X509EXT_PAIR, *CSSM_X509EXT_PAIR_PTR;
typedef struct cssm_x509_extension {
CSSM_OID extnId;
CSSM_BOOL critical;
CSSM_X509EXT_DATA_FORMAT format;
union cssm_x509ext_value {
CSSM_X509EXT_TAGandVALUE *tagAndValue;
void *parsedValue;
CSSM_X509EXT_PAIR *valuePair;
} value;
CSSM_DATA BERvalue;
} CSSM_X509_EXTENSION, *CSSM_X509_EXTENSION_PTR;
typedef struct cssm_x509_extensions {
uint32 numberOfExtensions;
CSSM_X509_EXTENSION_PTR extensions;
} CSSM_X509_EXTENSIONS, *CSSM_X509_EXTENSIONS_PTR;
typedef struct cssm_x509_tbs_certificate {
CSSM_DATA version;
CSSM_DATA serialNumber;
CSSM_X509_ALGORITHM_IDENTIFIER signature;
CSSM_X509_NAME issuer;
CSSM_X509_VALIDITY validity;
CSSM_X509_NAME subject;
CSSM_X509_SUBJECT_PUBLIC_KEY_INFO subjectPublicKeyInfo;
CSSM_DATA issuerUniqueIdentifier;
CSSM_DATA subjectUniqueIdentifier;
CSSM_X509_EXTENSIONS extensions;
} CSSM_X509_TBS_CERTIFICATE, *CSSM_X509_TBS_CERTIFICATE_PTR;
typedef struct cssm_x509_signature {
CSSM_X509_ALGORITHM_IDENTIFIER algorithmIdentifier;
CSSM_DATA encrypted;
} CSSM_X509_SIGNATURE, *CSSM_X509_SIGNATURE_PTR;
typedef struct cssm_x509_signed_certificate {
CSSM_X509_TBS_CERTIFICATE certificate;
CSSM_X509_SIGNATURE signature;
} CSSM_X509_SIGNED_CERTIFICATE, *CSSM_X509_SIGNED_CERTIFICATE_PTR;
typedef struct cssm_x509ext_policyQualifierInfo {
CSSM_OID policyQualifierId;
CSSM_DATA value;
} CSSM_X509EXT_POLICYQUALIFIERINFO, *CSSM_X509EXT_POLICYQUALIFIERINFO_PTR;
typedef struct cssm_x509ext_policyQualifiers {
uint32 numberOfPolicyQualifiers;
CSSM_X509EXT_POLICYQUALIFIERINFO *policyQualifier;
} CSSM_X509EXT_POLICYQUALIFIERS, *CSSM_X509EXT_POLICYQUALIFIERS_PTR;
typedef struct cssm_x509ext_policyInfo {
CSSM_OID policyIdentifier;
CSSM_X509EXT_POLICYQUALIFIERS policyQualifiers;
} CSSM_X509EXT_POLICYINFO, *CSSM_X509EXT_POLICYINFO_PTR;
typedef struct cssm_x509_revoked_cert_entry {
CSSM_DATA certificateSerialNumber;
CSSM_X509_TIME revocationDate;
CSSM_X509_EXTENSIONS extensions;
} CSSM_X509_REVOKED_CERT_ENTRY, *CSSM_X509_REVOKED_CERT_ENTRY_PTR;
typedef struct cssm_x509_revoked_cert_list {
uint32 numberOfRevokedCertEntries;
CSSM_X509_REVOKED_CERT_ENTRY_PTR revokedCertEntry;
} CSSM_X509_REVOKED_CERT_LIST, *CSSM_X509_REVOKED_CERT_LIST_PTR;
typedef struct cssm_x509_tbs_certlist {
CSSM_DATA version;
CSSM_X509_ALGORITHM_IDENTIFIER signature;
CSSM_X509_NAME issuer;
CSSM_X509_TIME thisUpdate;
CSSM_X509_TIME nextUpdate;
CSSM_X509_REVOKED_CERT_LIST_PTR revokedCertificates;
CSSM_X509_EXTENSIONS extensions;
} CSSM_X509_TBS_CERTLIST, *CSSM_X509_TBS_CERTLIST_PTR;
typedef struct cssm_x509_signed_crl {
CSSM_X509_TBS_CERTLIST tbsCertList;
CSSM_X509_SIGNATURE signature;
} CSSM_X509_SIGNED_CRL, *CSSM_X509_SIGNED_CRL_PTR;
# 32 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
#define _CERT_EXTENSIONS_H_
# 80 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef enum {
GNT_OtherName = 0,
GNT_RFC822Name,
GNT_DNSName,
GNT_X400Address,
GNT_DirectoryName,
GNT_EdiPartyName,
GNT_URI,
GNT_IPAddress,
GNT_RegisteredID
} CE_GeneralNameType;
typedef struct {
CSSM_OID typeId;
CSSM_DATA value;
} CE_OtherName;
typedef struct {
CE_GeneralNameType nameType;
CSSM_BOOL berEncoded;
CSSM_DATA name;
} CE_GeneralName;
typedef struct {
uint32 numNames;
CE_GeneralName *generalName;
} CE_GeneralNames;
# 120 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CSSM_BOOL keyIdentifierPresent;
CSSM_DATA keyIdentifier;
CSSM_BOOL generalNamesPresent;
CE_GeneralNames *generalNames;
CSSM_BOOL serialNumberPresent;
CSSM_DATA serialNumber;
} CE_AuthorityKeyID;
typedef CSSM_DATA CE_SubjectKeyID;
# 154 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef uint16 CE_KeyUsage;
#define CE_KU_DigitalSignature 0x8000
#define CE_KU_NonRepudiation 0x4000
#define CE_KU_KeyEncipherment 0x2000
#define CE_KU_DataEncipherment 0x1000
#define CE_KU_KeyAgreement 0x0800
#define CE_KU_KeyCertSign 0x0400
#define CE_KU_CRLSign 0x0200
#define CE_KU_EncipherOnly 0x0100
#define CE_KU_DecipherOnly 0x0080
# 184 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef uint32 CE_CrlReason;
#define CE_CR_Unspecified 0
#define CE_CR_KeyCompromise 1
#define CE_CR_CACompromise 2
#define CE_CR_AffiliationChanged 3
#define CE_CR_Superseded 4
#define CE_CR_CessationOfOperation 5
#define CE_CR_CertificateHold 6
#define CE_CR_RemoveFromCRL 8
# 214 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
uint32 numPurposes;
CSSM_OID_PTR purposes;
} CE_ExtendedKeyUsage;
# 228 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CSSM_BOOL cA;
CSSM_BOOL pathLenConstraintPresent;
uint32 pathLenConstraint;
} CE_BasicConstraints;
# 285 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CSSM_OID policyQualifierId;
CSSM_DATA qualifier;
} CE_PolicyQualifierInfo;
typedef struct {
CSSM_OID certPolicyId;
uint32 numPolicyQualifiers;
CE_PolicyQualifierInfo *policyQualifiers;
} CE_PolicyInformation;
typedef struct {
uint32 numPolicies;
CE_PolicyInformation *policies;
} CE_CertPolicies;
# 309 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef uint16 CE_NetscapeCertType;
# 351 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef uint8 CE_CrlDistReasonFlags;
#define CE_CD_Unspecified 0x80
#define CE_CD_KeyCompromise 0x40
#define CE_CD_CACompromise 0x20
#define CE_CD_AffiliationChanged 0x10
#define CE_CD_Superseded 0x08
#define CE_CD_CessationOfOperation 0x04
#define CE_CD_CertificateHold 0x02
typedef enum {
CE_CDNT_FullName,
CE_CDNT_NameRelativeToCrlIssuer
} CE_CrlDistributionPointNameType;
typedef struct {
CE_CrlDistributionPointNameType nameType;
union {
CE_GeneralNames *fullName;
CSSM_X509_RDN_PTR rdn;
} dpn;
} CE_DistributionPointName;
typedef struct {
CE_DistributionPointName *distPointName;
CSSM_BOOL reasonsPresent;
CE_CrlDistReasonFlags reasons;
CE_GeneralNames *crlIssuer;
} CE_CRLDistributionPoint;
typedef struct {
uint32 numDistPoints;
CE_CRLDistributionPoint *distPoints;
} CE_CRLDistPointsSyntax;
# 403 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CSSM_OID accessMethod;
CE_GeneralName accessLocation;
} CE_AccessDescription;
typedef struct {
uint32 numAccessDescriptions;
CE_AccessDescription *accessDescriptions;
} CE_AuthorityInfoAccess;
# 420 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef CE_GeneralNames CE_NameRegistrationAuthorities;
typedef struct {
CSSM_OID *semanticsIdentifier;
CE_NameRegistrationAuthorities *nameRegistrationAuthorities;
} CE_SemanticsInformation;
# 441 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CSSM_OID statementId;
CE_SemanticsInformation *semanticsInfo;
CSSM_DATA *otherInfo;
} CE_QC_Statement;
typedef struct {
uint32 numQCStatements;
CE_QC_Statement *qcStatements;
} CE_QC_Statements;
# 462 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef uint32 CE_CrlNumber;
typedef uint32 CE_DeltaCrl;
# 485 "/System/Library/Frameworks/Security.framework/Headers/certextensions.h" 3
typedef struct {
CE_DistributionPointName *distPointName;
CSSM_BOOL onlyUserCertsPresent;
CSSM_BOOL onlyUserCerts;
CSSM_BOOL onlyCACertsPresent;
CSSM_BOOL onlyCACerts;
CSSM_BOOL onlySomeReasonsPresent;
CE_CrlDistReasonFlags onlySomeReasons;
CSSM_BOOL indirectCrlPresent;
CSSM_BOOL indirectCrl;
} CE_IssuingDistributionPoint;
typedef enum {
DT_AuthorityKeyID,
DT_SubjectKeyID,
DT_KeyUsage,
DT_SubjectAltName,
DT_IssuerAltName,
DT_ExtendedKeyUsage,
DT_BasicConstraints,
DT_CertPolicies,
DT_NetscapeCertType,
DT_CrlNumber,
DT_DeltaCrl,
DT_CrlReason,
DT_CrlDistributionPoints,
DT_IssuingDistributionPoint,
DT_AuthorityInfoAccess,
DT_Other,
DT_QC_Statements
} CE_DataType;
typedef union {
CE_AuthorityKeyID authorityKeyID;
CE_SubjectKeyID subjectKeyID;
CE_KeyUsage keyUsage;
CE_GeneralNames subjectAltName;
CE_GeneralNames issuerAltName;
CE_ExtendedKeyUsage extendedKeyUsage;
CE_BasicConstraints basicConstraints;
CE_CertPolicies certPolicies;
CE_NetscapeCertType netscapeCertType;
CE_CrlNumber crlNumber;
CE_DeltaCrl deltaCrl;
CE_CrlReason crlReason;
CE_CRLDistPointsSyntax crlDistPoints;
CE_IssuingDistributionPoint issuingDistPoint;
CE_AuthorityInfoAccess authorityInfoAccess;
CE_QC_Statements qualifiedCertStatements;
CSSM_DATA rawData;
} CE_Data;
typedef struct {
CE_DataType type;
CE_Data extension;
CSSM_BOOL critical;
} CE_DataAndType;
# 33 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 2 3
# 43 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
extern const CSSM_GUID gGuidCssm;
extern const CSSM_GUID gGuidAppleFileDL;
extern const CSSM_GUID gGuidAppleCSP;
extern const CSSM_GUID gGuidAppleCSPDL;
extern const CSSM_GUID gGuidAppleX509CL;
extern const CSSM_GUID gGuidAppleX509TP;
extern const CSSM_GUID gGuidAppleLDAPDL;
extern const CSSM_GUID gGuidAppleDotMacTP;
extern const CSSM_GUID gGuidAppleSdCSPDL;
extern const CSSM_GUID gGuidAppleDotMacDL;
enum
{
CSSM_WORDID_KEYCHAIN_PROMPT = CSSM_WORDID_VENDOR_START,
CSSM_WORDID_KEYCHAIN_LOCK,
CSSM_WORDID_KEYCHAIN_CHANGE_LOCK,
CSSM_WORDID_PROCESS,
CSSM_WORDID__RESERVED_1,
CSSM_WORDID_SYMMETRIC_KEY,
CSSM_WORDID_SYSTEM,
CSSM_WORDID_KEY,
CSSM_WORDID_PIN,
CSSM_WORDID_PREAUTH,
CSSM_WORDID_PREAUTH_SOURCE,
CSSM_WORDID_ASYMMETRIC_KEY,
CSSM_WORDID__FIRST_UNUSED
};
enum
{
CSSM_ACL_SUBJECT_TYPE_KEYCHAIN_PROMPT = CSSM_WORDID_KEYCHAIN_PROMPT,
CSSM_ACL_SUBJECT_TYPE_PROCESS = CSSM_WORDID_PROCESS,
CSSM_ACL_SUBJECT_TYPE_CODE_SIGNATURE = CSSM_WORDID_SIGNATURE,
CSSM_ACL_SUBJECT_TYPE_COMMENT = CSSM_WORDID_COMMENT,
CSSM_ACL_SUBJECT_TYPE_SYMMETRIC_KEY = CSSM_WORDID_SYMMETRIC_KEY,
CSSM_ACL_SUBJECT_TYPE_PREAUTH = CSSM_WORDID_PREAUTH,
CSSM_ACL_SUBJECT_TYPE_PREAUTH_SOURCE = CSSM_WORDID_PREAUTH_SOURCE,
CSSM_ACL_SUBJECT_TYPE_ASYMMETRIC_KEY = CSSM_WORDID_ASYMMETRIC_KEY
};
enum
{
CSSM_SAMPLE_TYPE_KEYCHAIN_PROMPT = CSSM_WORDID_KEYCHAIN_PROMPT,
CSSM_SAMPLE_TYPE_KEYCHAIN_LOCK = CSSM_WORDID_KEYCHAIN_LOCK,
CSSM_SAMPLE_TYPE_KEYCHAIN_CHANGE_LOCK = CSSM_WORDID_KEYCHAIN_CHANGE_LOCK,
CSSM_SAMPLE_TYPE_PROCESS = CSSM_WORDID_PROCESS,
CSSM_SAMPLE_TYPE_COMMENT = CSSM_WORDID_COMMENT,
CSSM_SAMPLE_TYPE_RETRY_ID = CSSM_WORDID_PROPAGATE,
CSSM_SAMPLE_TYPE_SYMMETRIC_KEY = CSSM_WORDID_SYMMETRIC_KEY,
CSSM_SAMPLE_TYPE_PREAUTH = CSSM_WORDID_PREAUTH,
CSSM_SAMPLE_TYPE_ASYMMETRIC_KEY = CSSM_WORDID_ASYMMETRIC_KEY
};
enum {
CSSM_ACL_AUTHORIZATION_CHANGE_ACL = CSSM_ACL_AUTHORIZATION_TAG_VENDOR_DEFINED_START,
CSSM_ACL_AUTHORIZATION_CHANGE_OWNER,
CSSM_ACL_AUTHORIZATION_PREAUTH_BASE =
CSSM_ACL_AUTHORIZATION_TAG_VENDOR_DEFINED_START + 0x1000000,
CSSM_ACL_AUTHORIZATION_PREAUTH_END = CSSM_ACL_AUTHORIZATION_PREAUTH_BASE + 0x10000
};
#define CSSM_ACL_AUTHORIZATION_PREAUTH(slot) (CSSM_ACL_AUTHORIZATION_PREAUTH_BASE + (slot))
#define CSSM_ACL_AUTHORIZATION_PREAUTH_SLOT(auth) ((auth) - CSSM_ACL_AUTHORIZATION_PREAUTH_BASE)
#define CSSM_ACL_AUTHORIZATION_IS_PREAUTH(auth) ((auth) >= CSSM_ACL_AUTHORIZATION_PREAUTH_BASE && (auth) < CSSM_ACL_AUTHORIZATION_PREAUTH_END)
enum {
CSSM_ACL_CODE_SIGNATURE_INVALID = 0,
CSSM_ACL_CODE_SIGNATURE_OSX = 1
};
enum {
CSSM_ACL_MATCH_UID = 0x01,
CSSM_ACL_MATCH_GID = 0x02,
CSSM_ACL_MATCH_HONOR_ROOT = 0x100,
CSSM_ACL_MATCH_BITS = CSSM_ACL_MATCH_UID | CSSM_ACL_MATCH_GID
};
enum {
CSSM_ACL_PROCESS_SELECTOR_CURRENT_VERSION = 0x101
};
typedef struct cssm_acl_process_subject_selector {
uint16 version;
uint16 mask;
uint32 uid;
uint32 gid;
} CSSM_ACL_PROCESS_SUBJECT_SELECTOR;
enum {
CSSM_ACL_KEYCHAIN_PROMPT_CURRENT_VERSION = 0x101
};
enum {
CSSM_ACL_KEYCHAIN_PROMPT_REQUIRE_PASSPHRASE = 0x0001,
CSSM_ACL_KEYCHAIN_PROMPT_UNSIGNED = 0x0010,
CSSM_ACL_KEYCHAIN_PROMPT_UNSIGNED_ACT = 0x0020,
CSSM_ACL_KEYCHAIN_PROMPT_INVALID = 0x0040,
CSSM_ACL_KEYCHAIN_PROMPT_INVALID_ACT = 0x0080,
};
typedef struct cssm_acl_keychain_prompt_selector {
uint16 version;
uint16 flags;
} CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR;
typedef uint32 CSSM_ACL_PREAUTH_TRACKING_STATE;
enum {
CSSM_ACL_PREAUTH_TRACKING_COUNT_MASK = 0xff,
CSSM_ACL_PREAUTH_TRACKING_BLOCKED = 0,
CSSM_ACL_PREAUTH_TRACKING_UNKNOWN = 0x40000000,
CSSM_ACL_PREAUTH_TRACKING_AUTHORIZED = 0x80000000
};
enum {
CSSM_DB_ACCESS_RESET = 0x10000
};
enum
{
CSSM_ALGID_APPLE_YARROW = CSSM_ALGID_VENDOR_DEFINED,
CSSM_ALGID_AES,
CSSM_ALGID_FEE,
CSSM_ALGID_FEE_MD5,
CSSM_ALGID_FEE_SHA1,
CSSM_ALGID_FEED,
CSSM_ALGID_FEEDEXP,
CSSM_ALGID_ASC,
CSSM_ALGID_SHA1HMAC_LEGACY,
CSSM_ALGID_KEYCHAIN_KEY,
CSSM_ALGID_PKCS12_PBE_ENCR,
CSSM_ALGID_PKCS12_PBE_MAC,
CSSM_ALGID_SECURE_PASSPHRASE,
CSSM_ALGID_PBE_OPENSSL_MD5,
CSSM_ALGID_SHA256,
CSSM_ALGID_SHA384,
CSSM_ALGID_SHA512,
CSSM_ALGID_ENTROPY_DEFAULT,
CSSM_ALGID_SHA224,
CSSM_ALGID_SHA224WithRSA,
CSSM_ALGID_SHA256WithRSA,
CSSM_ALGID_SHA384WithRSA,
CSSM_ALGID_SHA512WithRSA,
CSSM_ALGID_OPENSSH1,
CSSM_ALGID__FIRST_UNUSED
};
enum
{
CSSM_PADDING_APPLE_SSLv2 = CSSM_PADDING_VENDOR_DEFINED
};
enum {
CSSM_KEYBLOB_RAW_FORMAT_VENDOR_DEFINED = 0x80000000
};
enum {
CSSM_KEYBLOB_RAW_FORMAT_X509 = CSSM_KEYBLOB_RAW_FORMAT_VENDOR_DEFINED,
CSSM_KEYBLOB_RAW_FORMAT_OPENSSH,
CSSM_KEYBLOB_RAW_FORMAT_OPENSSL,
CSSM_KEYBLOB_RAW_FORMAT_OPENSSH2
};
enum
{
CSSM_CUSTOM_COMMON_ERROR_EXTENT = 0x00e0,
CSSM_ERRCODE_NO_USER_INTERACTION = 0x00e0,
CSSM_ERRCODE_USER_CANCELED = 0x00e1,
CSSM_ERRCODE_SERVICE_NOT_AVAILABLE = 0x00e2,
CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION = 0x00e3,
CSSM_ERRCODE_DEVICE_RESET = 0x00e4,
CSSM_ERRCODE_DEVICE_FAILED = 0x00e5
};
enum {
CSSMERR_CSSM_NO_USER_INTERACTION = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_AC_NO_USER_INTERACTION = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_CSP_NO_USER_INTERACTION = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_CL_NO_USER_INTERACTION = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_DL_NO_USER_INTERACTION = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_TP_NO_USER_INTERACTION = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_NO_USER_INTERACTION,
CSSMERR_CSSM_USER_CANCELED = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_AC_USER_CANCELED = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_CSP_USER_CANCELED = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_CL_USER_CANCELED = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_DL_USER_CANCELED = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_TP_USER_CANCELED = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_USER_CANCELED,
CSSMERR_CSSM_SERVICE_NOT_AVAILABLE = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_AC_SERVICE_NOT_AVAILABLE = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_CSP_SERVICE_NOT_AVAILABLE = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_CL_SERVICE_NOT_AVAILABLE = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_DL_SERVICE_NOT_AVAILABLE = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_TP_SERVICE_NOT_AVAILABLE = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_SERVICE_NOT_AVAILABLE,
CSSMERR_CSSM_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_AC_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_CSP_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_CL_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_DL_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_TP_INSUFFICIENT_CLIENT_IDENTIFICATION = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION,
CSSMERR_CSSM_DEVICE_RESET = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_AC_DEVICE_RESET = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_CSP_DEVICE_RESET = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_CL_DEVICE_RESET = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_DL_DEVICE_RESET = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_TP_DEVICE_RESET = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_DEVICE_RESET,
CSSMERR_CSSM_DEVICE_FAILED = CSSM_CSSM_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED,
CSSMERR_AC_DEVICE_FAILED = CSSM_AC_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED,
CSSMERR_CSP_DEVICE_FAILED = CSSM_CSP_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED,
CSSMERR_CL_DEVICE_FAILED = CSSM_CL_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED,
CSSMERR_DL_DEVICE_FAILED = CSSM_DL_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED,
CSSMERR_TP_DEVICE_FAILED = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_DEVICE_FAILED
};
enum {
CSSMERR_CSP_APPLE_ADD_APPLICATION_ACL_SUBJECT = CSSM_CSP_PRIVATE_ERROR + 0,
CSSMERR_CSP_APPLE_PUBLIC_KEY_INCOMPLETE = CSSM_CSP_PRIVATE_ERROR + 1,
CSSMERR_CSP_APPLE_SIGNATURE_MISMATCH = CSSM_CSP_PRIVATE_ERROR + 2,
CSSMERR_CSP_APPLE_INVALID_KEY_START_DATE = CSSM_CSP_PRIVATE_ERROR + 3,
CSSMERR_CSP_APPLE_INVALID_KEY_END_DATE = CSSM_CSP_PRIVATE_ERROR + 4,
CSSMERR_CSPDL_APPLE_DL_CONVERSION_ERROR = CSSM_CSP_PRIVATE_ERROR + 5,
CSSMERR_CSP_APPLE_SSLv2_ROLLBACK = CSSM_CSP_PRIVATE_ERROR + 6
};
enum
{
CSSM_DL_DB_RECORD_GENERIC_PASSWORD = CSSM_DB_RECORDTYPE_APP_DEFINED_START + 0,
CSSM_DL_DB_RECORD_INTERNET_PASSWORD = CSSM_DB_RECORDTYPE_APP_DEFINED_START + 1,
CSSM_DL_DB_RECORD_APPLESHARE_PASSWORD = CSSM_DB_RECORDTYPE_APP_DEFINED_START + 2,
CSSM_DL_DB_RECORD_X509_CERTIFICATE = CSSM_DB_RECORDTYPE_APP_DEFINED_START + 0x1000,
CSSM_DL_DB_RECORD_USER_TRUST,
CSSM_DL_DB_RECORD_X509_CRL,
CSSM_DL_DB_RECORD_UNLOCK_REFERRAL,
CSSM_DL_DB_RECORD_EXTENDED_ATTRIBUTE,
CSSM_DL_DB_RECORD_METADATA = CSSM_DB_RECORDTYPE_APP_DEFINED_START + 0x8000
};
enum {
CSSM_APPLEFILEDL_TOGGLE_AUTOCOMMIT,
CSSM_APPLEFILEDL_COMMIT,
CSSM_APPLEFILEDL_ROLLBACK
};
enum {
CSSM_APPLE_UNLOCK_TYPE_KEY_DIRECT = 1,
CSSM_APPLE_UNLOCK_TYPE_WRAPPED_PRIVATE = 2
};
enum
{
CSSMERR_APPLEDL_INVALID_OPEN_PARAMETERS = CSSM_DL_PRIVATE_ERROR + 0,
CSSMERR_APPLEDL_DISK_FULL = CSSM_DL_PRIVATE_ERROR + 1,
CSSMERR_APPLEDL_QUOTA_EXCEEDED = CSSM_DL_PRIVATE_ERROR + 2,
CSSMERR_APPLEDL_FILE_TOO_BIG = CSSM_DL_PRIVATE_ERROR + 3,
CSSMERR_APPLEDL_INVALID_DATABASE_BLOB = CSSM_DL_PRIVATE_ERROR + 4,
CSSMERR_APPLEDL_INVALID_KEY_BLOB = CSSM_DL_PRIVATE_ERROR + 5,
CSSMERR_APPLEDL_INCOMPATIBLE_DATABASE_BLOB = CSSM_DL_PRIVATE_ERROR + 6,
CSSMERR_APPLEDL_INCOMPATIBLE_KEY_BLOB = CSSM_DL_PRIVATE_ERROR + 7,
};
enum
{
CSSMERR_APPLETP_HOSTNAME_MISMATCH = CSSM_TP_PRIVATE_ERROR + 0,
CSSMERR_APPLETP_UNKNOWN_CRITICAL_EXTEN = CSSM_TP_PRIVATE_ERROR + 1,
CSSMERR_APPLETP_NO_BASIC_CONSTRAINTS = CSSM_TP_PRIVATE_ERROR + 2,
CSSMERR_APPLETP_INVALID_CA = CSSM_TP_PRIVATE_ERROR + 3,
CSSMERR_APPLETP_INVALID_AUTHORITY_ID = CSSM_TP_PRIVATE_ERROR + 4,
CSSMERR_APPLETP_INVALID_SUBJECT_ID = CSSM_TP_PRIVATE_ERROR + 5,
CSSMERR_APPLETP_INVALID_KEY_USAGE = CSSM_TP_PRIVATE_ERROR + 6,
CSSMERR_APPLETP_INVALID_EXTENDED_KEY_USAGE = CSSM_TP_PRIVATE_ERROR + 7,
CSSMERR_APPLETP_INVALID_ID_LINKAGE = CSSM_TP_PRIVATE_ERROR + 8,
CSSMERR_APPLETP_PATH_LEN_CONSTRAINT = CSSM_TP_PRIVATE_ERROR + 9,
CSSMERR_APPLETP_INVALID_ROOT = CSSM_TP_PRIVATE_ERROR + 10,
CSSMERR_APPLETP_CRL_EXPIRED = CSSM_TP_PRIVATE_ERROR + 11,
CSSMERR_APPLETP_CRL_NOT_VALID_YET = CSSM_TP_PRIVATE_ERROR + 12,
CSSMERR_APPLETP_CRL_NOT_FOUND = CSSM_TP_PRIVATE_ERROR + 13,
CSSMERR_APPLETP_CRL_SERVER_DOWN = CSSM_TP_PRIVATE_ERROR + 14,
CSSMERR_APPLETP_CRL_BAD_URI = CSSM_TP_PRIVATE_ERROR + 15,
CSSMERR_APPLETP_UNKNOWN_CERT_EXTEN = CSSM_TP_PRIVATE_ERROR + 16,
CSSMERR_APPLETP_UNKNOWN_CRL_EXTEN = CSSM_TP_PRIVATE_ERROR + 17,
CSSMERR_APPLETP_CRL_NOT_TRUSTED = CSSM_TP_PRIVATE_ERROR + 18,
CSSMERR_APPLETP_CRL_INVALID_ANCHOR_CERT = CSSM_TP_PRIVATE_ERROR + 19,
CSSMERR_APPLETP_CRL_POLICY_FAIL = CSSM_TP_PRIVATE_ERROR + 20,
CSSMERR_APPLETP_IDP_FAIL = CSSM_TP_PRIVATE_ERROR + 21,
CSSMERR_APPLETP_CERT_NOT_FOUND_FROM_ISSUER = CSSM_TP_PRIVATE_ERROR + 22,
CSSMERR_APPLETP_BAD_CERT_FROM_ISSUER = CSSM_TP_PRIVATE_ERROR + 23,
CSSMERR_APPLETP_SMIME_EMAIL_ADDRS_NOT_FOUND = CSSM_TP_PRIVATE_ERROR + 24,
CSSMERR_APPLETP_SMIME_BAD_EXT_KEY_USE = CSSM_TP_PRIVATE_ERROR + 25,
CSSMERR_APPLETP_SMIME_BAD_KEY_USE = CSSM_TP_PRIVATE_ERROR + 26,
CSSMERR_APPLETP_SMIME_KEYUSAGE_NOT_CRITICAL = CSSM_TP_PRIVATE_ERROR + 27,
CSSMERR_APPLETP_SMIME_NO_EMAIL_ADDRS = CSSM_TP_PRIVATE_ERROR + 28,
CSSMERR_APPLETP_SMIME_SUBJ_ALT_NAME_NOT_CRIT = CSSM_TP_PRIVATE_ERROR + 29,
CSSMERR_APPLETP_SSL_BAD_EXT_KEY_USE = CSSM_TP_PRIVATE_ERROR + 30,
CSSMERR_APPLETP_OCSP_BAD_RESPONSE = CSSM_TP_PRIVATE_ERROR + 31,
CSSMERR_APPLETP_OCSP_BAD_REQUEST = CSSM_TP_PRIVATE_ERROR + 32,
CSSMERR_APPLETP_OCSP_UNAVAILABLE = CSSM_TP_PRIVATE_ERROR + 33,
CSSMERR_APPLETP_OCSP_STATUS_UNRECOGNIZED = CSSM_TP_PRIVATE_ERROR + 34,
CSSMERR_APPLETP_INCOMPLETE_REVOCATION_CHECK = CSSM_TP_PRIVATE_ERROR + 35,
CSSMERR_APPLETP_NETWORK_FAILURE = CSSM_TP_PRIVATE_ERROR + 36,
CSSMERR_APPLETP_OCSP_NOT_TRUSTED = CSSM_TP_PRIVATE_ERROR + 37,
CSSMERR_APPLETP_OCSP_INVALID_ANCHOR_CERT = CSSM_TP_PRIVATE_ERROR + 38,
CSSMERR_APPLETP_OCSP_SIG_ERROR = CSSM_TP_PRIVATE_ERROR + 39,
CSSMERR_APPLETP_OCSP_NO_SIGNER = CSSM_TP_PRIVATE_ERROR + 40,
CSSMERR_APPLETP_OCSP_RESP_MALFORMED_REQ = CSSM_TP_PRIVATE_ERROR + 41,
CSSMERR_APPLETP_OCSP_RESP_INTERNAL_ERR = CSSM_TP_PRIVATE_ERROR + 42,
CSSMERR_APPLETP_OCSP_RESP_TRY_LATER = CSSM_TP_PRIVATE_ERROR + 43,
CSSMERR_APPLETP_OCSP_RESP_SIG_REQUIRED = CSSM_TP_PRIVATE_ERROR + 44,
CSSMERR_APPLETP_OCSP_RESP_UNAUTHORIZED = CSSM_TP_PRIVATE_ERROR + 45,
CSSMERR_APPLETP_OCSP_NONCE_MISMATCH = CSSM_TP_PRIVATE_ERROR + 46,
CSSMERR_APPLETP_CS_BAD_CERT_CHAIN_LENGTH = CSSM_TP_PRIVATE_ERROR + 47,
CSSMERR_APPLETP_CS_NO_BASIC_CONSTRAINTS = CSSM_TP_PRIVATE_ERROR + 48,
CSSMERR_APPLETP_CS_BAD_PATH_LENGTH = CSSM_TP_PRIVATE_ERROR + 49,
CSSMERR_APPLETP_CS_NO_EXTENDED_KEY_USAGE = CSSM_TP_PRIVATE_ERROR + 50,
CSSMERR_APPLETP_CODE_SIGN_DEVELOPMENT = CSSM_TP_PRIVATE_ERROR + 51,
CSSMERR_APPLETP_RS_BAD_CERT_CHAIN_LENGTH = CSSM_TP_PRIVATE_ERROR + 52,
CSSMERR_APPLETP_RS_BAD_EXTENDED_KEY_USAGE = CSSM_TP_PRIVATE_ERROR + 53,
CSSMERR_APPLETP_TRUST_SETTING_DENY = CSSM_TP_PRIVATE_ERROR + 54,
CSSMERR_APPLETP_INVALID_EMPTY_SUBJECT = CSSM_TP_PRIVATE_ERROR + 55,
CSSMERR_APPLETP_UNKNOWN_QUAL_CERT_STATEMENT = CSSM_TP_PRIVATE_ERROR + 56
};
enum
{
CSSMERR_APPLE_DOTMAC_REQ_QUEUED = CSSM_TP_PRIVATE_ERROR + 100,
CSSMERR_APPLE_DOTMAC_REQ_REDIRECT = CSSM_TP_PRIVATE_ERROR + 101,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_ERR = CSSM_TP_PRIVATE_ERROR + 102,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_PARAM = CSSM_TP_PRIVATE_ERROR + 103,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_AUTH = CSSM_TP_PRIVATE_ERROR + 104,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_UNIMPL = CSSM_TP_PRIVATE_ERROR + 105,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_NOT_AVAIL = CSSM_TP_PRIVATE_ERROR + 106,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_ALREADY_EXIST = CSSM_TP_PRIVATE_ERROR + 107,
CSSMERR_APPLE_DOTMAC_REQ_SERVER_SERVICE_ERROR = CSSM_TP_PRIVATE_ERROR + 108,
CSSMERR_APPLE_DOTMAC_REQ_IS_PENDING = CSSM_TP_PRIVATE_ERROR + 109,
CSSMERR_APPLE_DOTMAC_NO_REQ_PENDING = CSSM_TP_PRIVATE_ERROR + 110,
CSSMERR_APPLE_DOTMAC_CSR_VERIFY_FAIL = CSSM_TP_PRIVATE_ERROR + 111,
CSSMERR_APPLE_DOTMAC_FAILED_CONSISTENCY_CHECK = CSSM_TP_PRIVATE_ERROR + 112
};
enum
{
CSSM_APPLEDL_OPEN_PARAMETERS_VERSION = 1
};
enum cssm_appledl_open_parameters_mask
{
kCSSM_APPLEDL_MASK_MODE = (1 << 0)
};
typedef struct cssm_appledl_open_parameters
{
uint32 length;
uint32 version;
# 577 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
CSSM_BOOL autoCommit;
uint32 mask;
mode_t mode;
} CSSM_APPLEDL_OPEN_PARAMETERS, *CSSM_APPLEDL_OPEN_PARAMETERS_PTR;
enum
{
CSSM_APPLECSPDL_DB_LOCK = 0,
CSSM_APPLECSPDL_DB_UNLOCK = 1,
# 612 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
CSSM_APPLECSPDL_DB_GET_SETTINGS = 2,
CSSM_APPLECSPDL_DB_SET_SETTINGS = 3,
# 631 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
CSSM_APPLECSPDL_DB_IS_LOCKED = 4,
# 647 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
CSSM_APPLECSPDL_DB_CHANGE_PASSWORD =5,
CSSM_APPLECSPDL_DB_GET_HANDLE = 6,
CSSM_APPLESCPDL_CSP_GET_KEYHANDLE = 7,
CSSM_APPLE_PRIVATE_CSPDL_CODE_8 = 8,
CSSM_APPLE_PRIVATE_CSPDL_CODE_9 = 9,
CSSM_APPLE_PRIVATE_CSPDL_CODE_10 = 10,
CSSM_APPLE_PRIVATE_CSPDL_CODE_11 = 11,
CSSM_APPLE_PRIVATE_CSPDL_CODE_12 = 12,
CSSM_APPLE_PRIVATE_CSPDL_CODE_13 = 13,
CSSM_APPLE_PRIVATE_CSPDL_CODE_14 = 14,
CSSM_APPLE_PRIVATE_CSPDL_CODE_15 = 15,
CSSM_APPLECSP_KEYDIGEST = 0x100
};
typedef struct cssm_applecspdl_db_settings_parameters
{
uint32 idleTimeout;
uint8 lockOnSleep;
} CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS, *CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS_PTR;
typedef struct cssm_applecspdl_db_is_locked_parameters
{
uint8 isLocked;
} CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS, *CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS_PTR;
typedef struct cssm_applecspdl_db_change_password_parameters
{
CSSM_ACCESS_CREDENTIALS *accessCredentials;
} CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS, *CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS_PTR;
enum {
CSSM_KEYBLOB_WRAPPED_FORMAT_APPLE_CUSTOM = 100,
CSSM_KEYBLOB_WRAPPED_FORMAT_OPENSSL,
CSSM_KEYBLOB_WRAPPED_FORMAT_OPENSSH1
};
enum {
CSSM_ATTRIBUTE_VENDOR_DEFINED = 0x800000
};
enum {
CSSM_ATTRIBUTE_PUBLIC_KEY =
(CSSM_ATTRIBUTE_DATA_KEY | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 0)),
CSSM_ATTRIBUTE_FEE_PRIME_TYPE =
(CSSM_ATTRIBUTE_DATA_UINT32 | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 1)),
CSSM_ATTRIBUTE_FEE_CURVE_TYPE =
(CSSM_ATTRIBUTE_DATA_UINT32 | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 2)),
CSSM_ATTRIBUTE_ASC_OPTIMIZATION =
(CSSM_ATTRIBUTE_DATA_UINT32 | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 3)),
CSSM_ATTRIBUTE_RSA_BLINDING =
(CSSM_ATTRIBUTE_DATA_UINT32 | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 4)),
CSSM_ATTRIBUTE_PARAM_KEY =
(CSSM_ATTRIBUTE_DATA_KEY | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 5)),
CSSM_ATTRIBUTE_PROMPT =
(CSSM_ATTRIBUTE_DATA_CSSM_DATA | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 6)),
CSSM_ATTRIBUTE_ALERT_TITLE =
(CSSM_ATTRIBUTE_DATA_CSSM_DATA | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 7)),
CSSM_ATTRIBUTE_VERIFY_PASSPHRASE =
(CSSM_ATTRIBUTE_DATA_UINT32 | (CSSM_ATTRIBUTE_VENDOR_DEFINED + 8))
};
enum {
CSSM_FEE_PRIME_TYPE_DEFAULT = 0,
CSSM_FEE_PRIME_TYPE_MERSENNE,
CSSM_FEE_PRIME_TYPE_FEE,
CSSM_FEE_PRIME_TYPE_GENERAL
};
enum {
CSSM_FEE_CURVE_TYPE_DEFAULT = 0,
CSSM_FEE_CURVE_TYPE_MONTGOMERY,
CSSM_FEE_CURVE_TYPE_WEIERSTRASS
};
enum {
CSSM_ASC_OPTIMIZE_DEFAULT = 0,
CSSM_ASC_OPTIMIZE_SIZE,
CSSM_ASC_OPTIMIZE_SECURITY,
CSSM_ASC_OPTIMIZE_TIME,
CSSM_ASC_OPTIMIZE_TIME_SIZE,
CSSM_ASC_OPTIMIZE_ASCII,
};
enum {
CSSM_KEYATTR_PARTIAL = 0x00010000,
CSSM_KEYATTR_PUBLIC_KEY_ENCRYPT = 0x00020000
};
typedef struct {
const char *string;
const CSSM_OID *oid;
} CSSM_APPLE_TP_NAME_OID;
typedef struct {
CSSM_CSP_HANDLE cspHand;
CSSM_CL_HANDLE clHand;
uint32 serialNumber;
uint32 numSubjectNames;
CSSM_APPLE_TP_NAME_OID *subjectNames;
uint32 numIssuerNames;
CSSM_APPLE_TP_NAME_OID *issuerNames;
CSSM_X509_NAME_PTR issuerNameX509;
const CSSM_KEY *certPublicKey;
const CSSM_KEY *issuerPrivateKey;
CSSM_ALGORITHMS signatureAlg;
CSSM_OID signatureOid;
uint32 notBefore;
uint32 notAfter;
uint32 numExtensions;
CE_DataAndType *extensions;
const char *challengeString;
} CSSM_APPLE_TP_CERT_REQUEST;
#define CSSM_APPLE_TP_SSL_OPTS_VERSION 1
#define CSSM_APPLE_TP_SSL_CLIENT 0x00000001
typedef struct {
uint32 Version;
uint32 ServerNameLen;
const char *ServerName;
uint32 Flags;
} CSSM_APPLE_TP_SSL_OPTIONS;
#define CSSM_APPLE_TP_CRL_OPTS_VERSION 0
typedef uint32 CSSM_APPLE_TP_CRL_OPT_FLAGS;
enum {
CSSM_TP_ACTION_REQUIRE_CRL_PER_CERT = 0x00000001,
CSSM_TP_ACTION_FETCH_CRL_FROM_NET = 0x00000002,
CSSM_TP_ACTION_CRL_SUFFICIENT = 0x00000004,
CSSM_TP_ACTION_REQUIRE_CRL_IF_PRESENT = 0x00000008
};
typedef struct {
uint32 Version;
CSSM_APPLE_TP_CRL_OPT_FLAGS CrlFlags;
CSSM_DL_DB_HANDLE_PTR crlStore;
} CSSM_APPLE_TP_CRL_OPTIONS;
#define CSSM_APPLE_TP_SMIME_OPTS_VERSION 0
typedef struct {
uint32 Version;
CE_KeyUsage IntendedUsage;
# 953 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
uint32 SenderEmailLen;
const char *SenderEmail;
} CSSM_APPLE_TP_SMIME_OPTIONS;
typedef uint32 CSSM_APPLE_TP_ACTION_FLAGS;
enum {
CSSM_TP_ACTION_ALLOW_EXPIRED = 0x00000001,
CSSM_TP_ACTION_LEAF_IS_CA = 0x00000002,
CSSM_TP_ACTION_FETCH_CERT_FROM_NET = 0x00000004,
CSSM_TP_ACTION_ALLOW_EXPIRED_ROOT = 0x00000008,
CSSM_TP_ACTION_REQUIRE_REV_PER_CERT = 0x00000010,
CSSM_TP_ACTION_TRUST_SETTINGS = 0x00000020,
CSSM_TP_ACTION_IMPLICIT_ANCHORS = 0x00000040
};
#define CSSM_APPLE_TP_ACTION_VERSION 0
typedef struct {
uint32 Version;
CSSM_APPLE_TP_ACTION_FLAGS ActionFlags;
} CSSM_APPLE_TP_ACTION_DATA;
# 990 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
typedef uint32 CSSM_TP_APPLE_CERT_STATUS;
enum
{
CSSM_CERT_STATUS_EXPIRED = 0x00000001,
CSSM_CERT_STATUS_NOT_VALID_YET = 0x00000002,
CSSM_CERT_STATUS_IS_IN_INPUT_CERTS = 0x00000004,
CSSM_CERT_STATUS_IS_IN_ANCHORS = 0x00000008,
CSSM_CERT_STATUS_IS_ROOT = 0x00000010,
CSSM_CERT_STATUS_IS_FROM_NET = 0x00000020,
CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_USER = 0x00000040,
CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_ADMIN = 0x00000080,
CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_SYSTEM = 0x00000100,
CSSM_CERT_STATUS_TRUST_SETTINGS_TRUST = 0x00000200,
CSSM_CERT_STATUS_TRUST_SETTINGS_DENY = 0x00000400,
CSSM_CERT_STATUS_TRUST_SETTINGS_IGNORED_ERROR = 0x00000800
};
typedef struct {
CSSM_TP_APPLE_CERT_STATUS StatusBits;
uint32 NumStatusCodes;
CSSM_RETURN *StatusCodes;
uint32 Index;
CSSM_DL_DB_HANDLE DlDbHandle;
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecord;
} CSSM_TP_APPLE_EVIDENCE_INFO;
#define CSSM_TP_APPLE_EVIDENCE_VERSION 0
typedef struct
{
uint32 Version;
} CSSM_TP_APPLE_EVIDENCE_HEADER;
# 1050 "/System/Library/Frameworks/Security.framework/Headers/cssmapple.h" 3
#define CSSM_EVIDENCE_FORM_APPLE_CUSTOM 0x80000000
enum
{
CSSM_EVIDENCE_FORM_APPLE_HEADER = 0x80000000 + 0,
CSSM_EVIDENCE_FORM_APPLE_CERTGROUP = 0x80000000 + 1,
CSSM_EVIDENCE_FORM_APPLE_CERT_INFO = 0x80000000 + 2
};
enum {
CSSM_APPLEX509CL_OBTAIN_CSR,
CSSM_APPLEX509CL_VERIFY_CSR
};
typedef struct {
CSSM_X509_NAME_PTR subjectNameX509;
CSSM_ALGORITHMS signatureAlg;
CSSM_OID signatureOid;
CSSM_CSP_HANDLE cspHand;
const CSSM_KEY *subjectPublicKey;
const CSSM_KEY *subjectPrivateKey;
const char *challengeString;
} CSSM_APPLE_CL_CSR_REQUEST;
#define CSSM_APPLE_CRL_END_OF_TIME "99991231235959"
#define kKeychainSuffix ".keychain"
#define kSystemKeychainName "System.keychain"
#define kSystemKeychainDir "/Library/Keychains/"
#define kSystemUnlockFile "/var/db/SystemKey"
void cssmPerror(const char *how, CSSM_RETURN error);
_Bool cssmOidToAlg(const CSSM_OID *oid, CSSM_ALGORITHMS *alg);
const CSSM_OID *cssmAlgToOid(CSSM_ALGORITHMS algId);
#define errSecErrnoBase 100000
#define errSecErrnoLimit 100255
# 26 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssm.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssm.h" 3
#define _CSSM_H_ 1
# 1 "/System/Library/Frameworks/Security.framework/Headers/emmtype.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/emmtype.h" 3
#define _EMMTYPE_H_ 1
#define CSSM_HINT_CALLBACK (1)
typedef uint32 CSSM_MANAGER_EVENT_TYPES;
#define CSSM_MANAGER_SERVICE_REQUEST 1
#define CSSM_MANAGER_REPLY 2
typedef struct cssm_manager_event_notification {
CSSM_SERVICE_MASK DestinationModuleManagerType;
CSSM_SERVICE_MASK SourceModuleManagerType;
CSSM_MANAGER_EVENT_TYPES Event;
uint32 EventId;
CSSM_DATA EventData;
} CSSM_MANAGER_EVENT_NOTIFICATION, *CSSM_MANAGER_EVENT_NOTIFICATION_PTR;
# 31 "/System/Library/Frameworks/Security.framework/Headers/cssm.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmapi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmapi.h" 3
#define _CSSMAPI_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/cssmapi.h" 3
CSSM_RETURN
CSSM_Init (const CSSM_VERSION *Version,
CSSM_PRIVILEGE_SCOPE Scope,
const CSSM_GUID *CallerGuid,
CSSM_KEY_HIERARCHY KeyHierarchy,
CSSM_PVC_MODE *PvcPolicy,
const void *Reserved);
CSSM_RETURN
CSSM_Terminate (void);
CSSM_RETURN
CSSM_ModuleLoad (const CSSM_GUID *ModuleGuid,
CSSM_KEY_HIERARCHY KeyHierarchy,
CSSM_API_ModuleEventHandler AppNotifyCallback,
void *AppNotifyCallbackCtx);
CSSM_RETURN
CSSM_ModuleUnload (const CSSM_GUID *ModuleGuid,
CSSM_API_ModuleEventHandler AppNotifyCallback,
void *AppNotifyCallbackCtx);
CSSM_RETURN
CSSM_Introduce (const CSSM_GUID *ModuleID,
CSSM_KEY_HIERARCHY KeyHierarchy);
CSSM_RETURN
CSSM_Unintroduce (const CSSM_GUID *ModuleID);
CSSM_RETURN
CSSM_ModuleAttach (const CSSM_GUID *ModuleGuid,
const CSSM_VERSION *Version,
const CSSM_API_MEMORY_FUNCS *MemoryFuncs,
uint32 SubserviceID,
CSSM_SERVICE_TYPE SubServiceType,
CSSM_ATTACH_FLAGS AttachFlags,
CSSM_KEY_HIERARCHY KeyHierarchy,
CSSM_FUNC_NAME_ADDR *FunctionTable,
uint32 NumFunctionTable,
const void *Reserved,
CSSM_MODULE_HANDLE_PTR NewModuleHandle);
CSSM_RETURN
CSSM_ModuleDetach (CSSM_MODULE_HANDLE ModuleHandle);
CSSM_RETURN
CSSM_SetPrivilege (CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_GetPrivilege (CSSM_PRIVILEGE *Privilege);
CSSM_RETURN
CSSM_GetModuleGUIDFromHandle (CSSM_MODULE_HANDLE ModuleHandle,
CSSM_GUID_PTR ModuleGUID);
CSSM_RETURN
CSSM_GetSubserviceUIDFromHandle (CSSM_MODULE_HANDLE ModuleHandle,
CSSM_SUBSERVICE_UID_PTR SubserviceUID);
CSSM_RETURN
CSSM_ListAttachedModuleManagers (uint32 *NumberOfModuleManagers,
CSSM_GUID_PTR ModuleManagerGuids);
CSSM_RETURN
CSSM_GetAPIMemoryFunctions (CSSM_MODULE_HANDLE AddInHandle,
CSSM_API_MEMORY_FUNCS_PTR AppMemoryFuncs);
CSSM_RETURN
CSSM_CSP_CreateSignatureContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateSymmetricContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
CSSM_ENCRYPT_MODE Mode,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_DATA *InitVector,
CSSM_PADDING Padding,
void *Reserved,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateDigestContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateMacContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
const CSSM_KEY *Key,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateRandomGenContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
const CSSM_CRYPTO_DATA *Seed,
CSSM_SIZE Length,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateAsymmetricContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
CSSM_PADDING Padding,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateDeriveKeyContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
CSSM_KEY_TYPE DeriveKeyType,
uint32 DeriveKeyLengthInBits,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *BaseKey,
uint32 IterationCount,
const CSSM_DATA *Salt,
const CSSM_CRYPTO_DATA *Seed,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreateKeyGenContext (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS AlgorithmID,
uint32 KeySizeInBits,
const CSSM_CRYPTO_DATA *Seed,
const CSSM_DATA *Salt,
const CSSM_DATE *StartDate,
const CSSM_DATE *EndDate,
const CSSM_DATA *Params,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_CSP_CreatePassThroughContext (CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *Key,
CSSM_CC_HANDLE *NewContextHandle);
CSSM_RETURN
CSSM_GetContext (CSSM_CC_HANDLE CCHandle,
CSSM_CONTEXT_PTR *Context);
CSSM_RETURN
CSSM_FreeContext (CSSM_CONTEXT_PTR Context);
CSSM_RETURN
CSSM_SetContext (CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN
CSSM_DeleteContext (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_GetContextAttribute (const CSSM_CONTEXT *Context,
uint32 AttributeType,
CSSM_CONTEXT_ATTRIBUTE_PTR *ContextAttribute);
CSSM_RETURN
CSSM_UpdateContextAttributes (CSSM_CC_HANDLE CCHandle,
uint32 NumberOfAttributes,
const CSSM_CONTEXT_ATTRIBUTE *ContextAttributes);
CSSM_RETURN
CSSM_DeleteContextAttributes (CSSM_CC_HANDLE CCHandle,
uint32 NumberOfAttributes,
const CSSM_CONTEXT_ATTRIBUTE *ContextAttributes);
CSSM_RETURN
CSSM_CSP_Login (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_DATA *LoginName,
const void *Reserved);
CSSM_RETURN
CSSM_CSP_Logout (CSSM_CSP_HANDLE CSPHandle);
CSSM_RETURN
CSSM_CSP_GetLoginAcl (CSSM_CSP_HANDLE CSPHandle,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN
CSSM_CSP_ChangeLoginAcl (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit);
CSSM_RETURN
CSSM_GetKeyAcl (CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *Key,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN
CSSM_ChangeKeyAcl (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit,
const CSSM_KEY *Key);
CSSM_RETURN
CSSM_GetKeyOwner (CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *Key,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN
CSSM_ChangeKeyOwner (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
CSSM_RETURN
CSSM_CSP_GetLoginOwner (CSSM_CSP_HANDLE CSPHandle,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN
CSSM_CSP_ChangeLoginOwner (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
CSSM_RETURN
CSSM_SignData (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_ALGORITHMS DigestAlgorithm,
CSSM_DATA_PTR Signature);
CSSM_RETURN
CSSM_SignDataInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_SignDataUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN
CSSM_SignDataFinal (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Signature);
CSSM_RETURN
CSSM_VerifyData (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_ALGORITHMS DigestAlgorithm,
const CSSM_DATA *Signature);
CSSM_RETURN
CSSM_VerifyDataInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_VerifyDataUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN
CSSM_VerifyDataFinal (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Signature);
CSSM_RETURN
CSSM_DigestData (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_DATA_PTR Digest);
CSSM_RETURN
CSSM_DigestDataInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_DigestDataUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN
CSSM_DigestDataClone (CSSM_CC_HANDLE CCHandle,
CSSM_CC_HANDLE *ClonednewCCHandle);
CSSM_RETURN
CSSM_DigestDataFinal (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Digest);
CSSM_RETURN
CSSM_GenerateMac (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_DATA_PTR Mac);
CSSM_RETURN
CSSM_GenerateMacInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_GenerateMacUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN
CSSM_GenerateMacFinal (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Mac);
CSSM_RETURN
CSSM_VerifyMac (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
const CSSM_DATA *Mac);
CSSM_RETURN
CSSM_VerifyMacInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_VerifyMacUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN
CSSM_VerifyMacFinal (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Mac);
CSSM_RETURN
CSSM_QuerySize (CSSM_CC_HANDLE CCHandle,
CSSM_BOOL Encrypt,
uint32 QuerySizeCount,
CSSM_QUERY_SIZE_DATA_PTR DataBlockSizes);
CSSM_RETURN
CSSM_EncryptData (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *ClearBufs,
uint32 ClearBufCount,
CSSM_DATA_PTR CipherBufs,
uint32 CipherBufCount,
CSSM_SIZE *bytesEncrypted,
CSSM_DATA_PTR RemData);
CSSM_RETURN
CSSM_EncryptDataP (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *ClearBufs,
uint32 ClearBufCount,
CSSM_DATA_PTR CipherBufs,
uint32 CipherBufCount,
CSSM_SIZE *bytesEncrypted,
CSSM_DATA_PTR RemData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_EncryptDataInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_EncryptDataInitP (CSSM_CC_HANDLE CCHandle,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_EncryptDataUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *ClearBufs,
uint32 ClearBufCount,
CSSM_DATA_PTR CipherBufs,
uint32 CipherBufCount,
CSSM_SIZE *bytesEncrypted);
CSSM_RETURN
CSSM_EncryptDataFinal (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR RemData);
CSSM_RETURN
CSSM_DecryptData (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CipherBufs,
uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs,
uint32 ClearBufCount,
CSSM_SIZE *bytesDecrypted,
CSSM_DATA_PTR RemData);
CSSM_RETURN
CSSM_DecryptDataP (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CipherBufs,
uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs,
uint32 ClearBufCount,
CSSM_SIZE *bytesDecrypted,
CSSM_DATA_PTR RemData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_DecryptDataInit (CSSM_CC_HANDLE CCHandle);
CSSM_RETURN
CSSM_DecryptDataInitP (CSSM_CC_HANDLE CCHandle,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_DecryptDataUpdate (CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CipherBufs,
uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs,
uint32 ClearBufCount,
CSSM_SIZE *bytesDecrypted);
CSSM_RETURN
CSSM_DecryptDataFinal (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR RemData);
CSSM_RETURN
CSSM_QueryKeySizeInBits (CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_KEY *Key,
CSSM_KEY_SIZE_PTR KeySize);
CSSM_RETURN
CSSM_GenerateKey (CSSM_CC_HANDLE CCHandle,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR Key);
CSSM_RETURN
CSSM_GenerateKeyP (CSSM_CC_HANDLE CCHandle,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR Key,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_GenerateKeyPair (CSSM_CC_HANDLE CCHandle,
uint32 PublicKeyUsage,
uint32 PublicKeyAttr,
const CSSM_DATA *PublicKeyLabel,
CSSM_KEY_PTR PublicKey,
uint32 PrivateKeyUsage,
uint32 PrivateKeyAttr,
const CSSM_DATA *PrivateKeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR PrivateKey);
CSSM_RETURN
CSSM_GenerateKeyPairP (CSSM_CC_HANDLE CCHandle,
uint32 PublicKeyUsage,
uint32 PublicKeyAttr,
const CSSM_DATA *PublicKeyLabel,
CSSM_KEY_PTR PublicKey,
uint32 PrivateKeyUsage,
uint32 PrivateKeyAttr,
const CSSM_DATA *PrivateKeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR PrivateKey,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_GenerateRandom (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR RandomNumber);
CSSM_RETURN
CSSM_CSP_ObtainPrivateKeyFromPublicKey (CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *PublicKey,
CSSM_KEY_PTR PrivateKey);
CSSM_RETURN
CSSM_WrapKey (CSSM_CC_HANDLE CCHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_DATA *DescriptiveData,
CSSM_WRAP_KEY_PTR WrappedKey);
CSSM_RETURN
CSSM_UnwrapKey (CSSM_CC_HANDLE CCHandle,
const CSSM_KEY *PublicKey,
const CSSM_WRAP_KEY *WrappedKey,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR UnwrappedKey,
CSSM_DATA_PTR DescriptiveData);
CSSM_RETURN
CSSM_WrapKeyP (CSSM_CC_HANDLE CCHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_DATA *DescriptiveData,
CSSM_WRAP_KEY_PTR WrappedKey,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_UnwrapKeyP (CSSM_CC_HANDLE CCHandle,
const CSSM_KEY *PublicKey,
const CSSM_WRAP_KEY *WrappedKey,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR UnwrappedKey,
CSSM_DATA_PTR DescriptiveData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN
CSSM_DeriveKey (CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Param,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR DerivedKey);
CSSM_RETURN
CSSM_FreeKey (CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
CSSM_KEY_PTR KeyPtr,
CSSM_BOOL Delete);
CSSM_RETURN
CSSM_GenerateAlgorithmParams (CSSM_CC_HANDLE CCHandle,
uint32 ParamBits,
CSSM_DATA_PTR Param);
CSSM_RETURN
CSSM_CSP_GetOperationalStatistics (CSSM_CSP_HANDLE CSPHandle,
CSSM_CSP_OPERATIONAL_STATISTICS *Statistics);
CSSM_RETURN
CSSM_GetTimeValue (CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS TimeAlgorithm,
CSSM_DATA *TimeData);
CSSM_RETURN
CSSM_RetrieveUniqueId (CSSM_CSP_HANDLE CSPHandle,
CSSM_DATA_PTR UniqueID);
CSSM_RETURN
CSSM_RetrieveCounter (CSSM_CSP_HANDLE CSPHandle,
CSSM_DATA_PTR Counter);
CSSM_RETURN
CSSM_VerifyDevice (CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *DeviceCert);
CSSM_RETURN
CSSM_CSP_PassThrough (CSSM_CC_HANDLE CCHandle,
uint32 PassThroughId,
const void *InData,
void **OutData);
CSSM_RETURN
CSSM_TP_SubmitCredRequest (CSSM_TP_HANDLE TPHandle,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority,
CSSM_TP_AUTHORITY_REQUEST_TYPE RequestType,
const CSSM_TP_REQUEST_SET *RequestInput,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthContext,
sint32 *EstimatedTime,
CSSM_DATA_PTR ReferenceIdentifier);
CSSM_RETURN
CSSM_TP_RetrieveCredResult (CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthCredentials,
sint32 *EstimatedTime,
CSSM_BOOL *ConfirmationRequired,
CSSM_TP_RESULT_SET_PTR *RetrieveOutput);
CSSM_RETURN
CSSM_TP_ConfirmCredResult (CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthCredentials,
const CSSM_TP_CONFIRM_RESPONSE *Responses,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority);
CSSM_RETURN
CSSM_TP_ReceiveConfirmation (CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
CSSM_TP_CONFIRM_RESPONSE_PTR *Responses,
sint32 *ElapsedTime);
CSSM_RETURN
CSSM_TP_CertReclaimKey (CSSM_TP_HANDLE TPHandle,
const CSSM_CERTGROUP *CertGroup,
uint32 CertIndex,
CSSM_LONG_HANDLE KeyCacheHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry);
CSSM_RETURN
CSSM_TP_CertReclaimAbort (CSSM_TP_HANDLE TPHandle,
CSSM_LONG_HANDLE KeyCacheHandle);
CSSM_RETURN
CSSM_TP_FormRequest (CSSM_TP_HANDLE TPHandle,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority,
CSSM_TP_FORM_TYPE FormType,
CSSM_DATA_PTR BlankForm);
CSSM_RETURN
CSSM_TP_FormSubmit (CSSM_TP_HANDLE TPHandle,
CSSM_TP_FORM_TYPE FormType,
const CSSM_DATA *Form,
const CSSM_TP_AUTHORITY_ID *ClearanceAuthority,
const CSSM_TP_AUTHORITY_ID *RepresentedAuthority,
CSSM_ACCESS_CREDENTIALS_PTR Credentials);
CSSM_RETURN
CSSM_TP_CertGroupVerify (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_CERTGROUP *CertGroupToBeVerified,
const CSSM_TP_VERIFY_CONTEXT *VerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR VerifyContextResult);
CSSM_RETURN
CSSM_TP_CertCreateTemplate (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CertFields,
CSSM_DATA_PTR CertTemplate);
CSSM_RETURN
CSSM_TP_CertGetAllTemplateFields (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *CertTemplate,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN
CSSM_TP_CertSign (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertTemplateToBeSigned,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *SignerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR SignerVerifyResult,
CSSM_DATA_PTR SignedCert);
CSSM_RETURN
CSSM_TP_CrlVerify (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_ENCODED_CRL *CrlToBeVerified,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *VerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult);
CSSM_RETURN
CSSM_TP_CrlCreateTemplate (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlFields,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN
CSSM_TP_CertRevoke (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *OldCrlTemplate,
const CSSM_CERTGROUP *CertGroupToBeRevoked,
const CSSM_CERTGROUP *RevokerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *RevokerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult,
CSSM_TP_CERTCHANGE_REASON Reason,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN
CSSM_TP_CertRemoveFromCrlTemplate (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *OldCrlTemplate,
const CSSM_CERTGROUP *CertGroupToBeRemoved,
const CSSM_CERTGROUP *RevokerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *RevokerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN
CSSM_TP_CrlSign (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_ENCODED_CRL *CrlToBeSigned,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *SignerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR SignerVerifyResult,
CSSM_DATA_PTR SignedCrl);
CSSM_RETURN
CSSM_TP_ApplyCrlToDb (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_ENCODED_CRL *CrlToBeApplied,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *ApplyCrlVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR ApplyCrlVerifyResult);
CSSM_RETURN
CSSM_TP_CertGroupConstruct (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DL_DB_LIST *DBList,
const void *ConstructParams,
const CSSM_CERTGROUP *CertGroupFrag,
CSSM_CERTGROUP_PTR *CertGroup);
CSSM_RETURN
CSSM_TP_CertGroupPrune (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_DL_DB_LIST *DBList,
const CSSM_CERTGROUP *OrderedCertGroup,
CSSM_CERTGROUP_PTR *PrunedCertGroup);
CSSM_RETURN
CSSM_TP_CertGroupToTupleGroup (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_CERTGROUP *CertGroup,
CSSM_TUPLEGROUP_PTR *TupleGroup);
CSSM_RETURN
CSSM_TP_TupleGroupToCertGroup (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_TUPLEGROUP *TupleGroup,
CSSM_CERTGROUP_PTR *CertTemplates);
CSSM_RETURN
CSSM_TP_PassThrough (CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DL_DB_LIST *DBList,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
CSSM_RETURN
CSSM_AC_AuthCompute (CSSM_AC_HANDLE ACHandle,
const CSSM_TUPLEGROUP *BaseAuthorizations,
const CSSM_TUPLEGROUP *Credentials,
uint32 NumberOfRequestors,
const CSSM_LIST *Requestors,
const CSSM_LIST *RequestedAuthorizationPeriod,
const CSSM_LIST *RequestedAuthorization,
CSSM_TUPLEGROUP_PTR AuthorizationResult);
CSSM_RETURN
CSSM_AC_PassThrough (CSSM_AC_HANDLE ACHandle,
CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DL_DB_LIST *DBList,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
CSSM_RETURN
CSSM_CL_CertCreateTemplate (CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CertFields,
CSSM_DATA_PTR CertTemplate);
CSSM_RETURN
CSSM_CL_CertGetAllTemplateFields (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *CertTemplate,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN
CSSM_CL_CertSign (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertTemplate,
const CSSM_FIELD *SignScope,
uint32 ScopeSize,
CSSM_DATA_PTR SignedCert);
CSSM_RETURN
CSSM_CL_CertVerify (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertToBeVerified,
const CSSM_DATA *SignerCert,
const CSSM_FIELD *VerifyScope,
uint32 ScopeSize);
CSSM_RETURN
CSSM_CL_CertVerifyWithKey (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertToBeVerified);
CSSM_RETURN
CSSM_CL_CertGetFirstFieldValue (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_OID *CertField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CertGetNextFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CertAbortQuery (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN
CSSM_CL_CertGetKeyInfo (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_KEY_PTR *Key);
CSSM_RETURN
CSSM_CL_CertGetAllFields (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN
CSSM_CL_FreeFields (CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
CSSM_FIELD_PTR *Fields);
CSSM_RETURN
CSSM_CL_FreeFieldValue (CSSM_CL_HANDLE CLHandle,
const CSSM_OID *CertOrCrlOid,
CSSM_DATA_PTR Value);
CSSM_RETURN
CSSM_CL_CertCache (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_HANDLE_PTR CertHandle);
CSSM_RETURN
CSSM_CL_CertGetFirstCachedFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CertHandle,
const CSSM_OID *CertField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CertGetNextCachedFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CertAbortCache (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CertHandle);
CSSM_RETURN
CSSM_CL_CertGroupToSignedBundle (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CERTGROUP *CertGroupToBundle,
const CSSM_CERT_BUNDLE_HEADER *BundleInfo,
CSSM_DATA_PTR SignedBundle);
CSSM_RETURN
CSSM_CL_CertGroupFromVerifiedBundle (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CERT_BUNDLE *CertBundle,
const CSSM_DATA *SignerCert,
CSSM_CERTGROUP_PTR *CertGroup);
CSSM_RETURN
CSSM_CL_CertDescribeFormat (CSSM_CL_HANDLE CLHandle,
uint32 *NumberOfFields,
CSSM_OID_PTR *OidList);
CSSM_RETURN
CSSM_CL_CrlCreateTemplate (CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlTemplate,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN
CSSM_CL_CrlSetFields (CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlTemplate,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR ModifiedCrl);
CSSM_RETURN
CSSM_CL_CrlAddCert (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Cert,
uint32 NumberOfFields,
const CSSM_FIELD *CrlEntryFields,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN
CSSM_CL_CrlRemoveCert (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN
CSSM_CL_CrlSign (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *UnsignedCrl,
const CSSM_FIELD *SignScope,
uint32 ScopeSize,
CSSM_DATA_PTR SignedCrl);
CSSM_RETURN
CSSM_CL_CrlVerify (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CrlToBeVerified,
const CSSM_DATA *SignerCert,
const CSSM_FIELD *VerifyScope,
uint32 ScopeSize);
CSSM_RETURN
CSSM_CL_CrlVerifyWithKey (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CrlToBeVerified);
CSSM_RETURN
CSSM_CL_IsCertInCrl (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_DATA *Crl,
CSSM_BOOL *CertFound);
CSSM_RETURN
CSSM_CL_CrlGetFirstFieldValue (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
const CSSM_OID *CrlField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CrlGetNextFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CrlAbortQuery (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN
CSSM_CL_CrlGetAllFields (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
uint32 *NumberOfCrlFields,
CSSM_FIELD_PTR *CrlFields);
CSSM_RETURN
CSSM_CL_CrlCache (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
CSSM_HANDLE_PTR CrlHandle);
CSSM_RETURN
CSSM_CL_IsCertInCachedCrl (CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_HANDLE CrlHandle,
CSSM_BOOL *CertFound,
CSSM_DATA_PTR CrlRecordIndex);
CSSM_RETURN
CSSM_CL_CrlGetFirstCachedFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle,
const CSSM_DATA *CrlRecordIndex,
const CSSM_OID *CrlField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CrlGetNextCachedFieldValue (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN
CSSM_CL_CrlGetAllCachedRecordFields (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle,
const CSSM_DATA *CrlRecordIndex,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CrlFields);
CSSM_RETURN
CSSM_CL_CrlAbortCache (CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle);
CSSM_RETURN
CSSM_CL_CrlDescribeFormat (CSSM_CL_HANDLE CLHandle,
uint32 *NumberOfFields,
CSSM_OID_PTR *OidList);
CSSM_RETURN
CSSM_CL_PassThrough (CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
CSSM_RETURN
CSSM_DL_DbOpen (CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const void *OpenParameters,
CSSM_DB_HANDLE *DbHandle);
CSSM_RETURN
CSSM_DL_DbClose (CSSM_DL_DB_HANDLE DLDBHandle);
CSSM_RETURN
CSSM_DL_DbCreate (CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
const CSSM_DBINFO *DBInfo,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
const void *OpenParameters,
CSSM_DB_HANDLE *DbHandle);
CSSM_RETURN
CSSM_DL_DbDelete (CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
const CSSM_ACCESS_CREDENTIALS *AccessCred);
CSSM_RETURN
CSSM_DL_CreateRelation (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RelationID,
const char *RelationName,
uint32 NumberOfAttributes,
const CSSM_DB_SCHEMA_ATTRIBUTE_INFO *pAttributeInfo,
uint32 NumberOfIndexes,
const CSSM_DB_SCHEMA_INDEX_INFO *pIndexInfo);
CSSM_RETURN
CSSM_DL_DestroyRelation (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RelationID);
CSSM_RETURN
CSSM_DL_Authenticate (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_ACCESS_CREDENTIALS *AccessCred);
CSSM_RETURN
CSSM_DL_GetDbAcl (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN
CSSM_DL_ChangeDbAcl (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit);
CSSM_RETURN
CSSM_DL_GetDbOwner (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN
CSSM_DL_ChangeDbOwner (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
CSSM_RETURN
CSSM_DL_GetDbNames (CSSM_DL_HANDLE DLHandle,
CSSM_NAME_LIST_PTR *NameList);
CSSM_RETURN
CSSM_DL_GetDbNameFromHandle (CSSM_DL_DB_HANDLE DLDBHandle,
char **DbName);
CSSM_RETURN
CSSM_DL_FreeNameList (CSSM_DL_HANDLE DLHandle,
CSSM_NAME_LIST_PTR NameList);
CSSM_RETURN
CSSM_DL_DataInsert (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RecordType,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *Attributes,
const CSSM_DATA *Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN
CSSM_DL_DataDelete (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecordIdentifier);
CSSM_RETURN
CSSM_DL_DataModify (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RecordType,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecordIdentifier,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *AttributesToBeModified,
const CSSM_DATA *DataToBeModified,
CSSM_DB_MODIFY_MODE ModifyMode);
CSSM_RETURN
CSSM_DL_DataGetFirst (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_QUERY *Query,
CSSM_HANDLE_PTR ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN
CSSM_DL_DataGetNext (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN
CSSM_DL_DataAbortQuery (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN
CSSM_DL_DataGetFromUniqueRecordId (CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecord,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data);
CSSM_RETURN
CSSM_DL_FreeUniqueRecord (CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecord);
CSSM_RETURN
CSSM_DL_PassThrough (CSSM_DL_DB_HANDLE DLDBHandle,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
# 32 "/System/Library/Frameworks/Security.framework/Headers/cssm.h" 2 3
# 28 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmaci.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmaci.h" 3
#define _CSSMACI_H_ 1
typedef struct cssm_spi_ac_funcs {
CSSM_RETURN ( *AuthCompute)
(CSSM_AC_HANDLE ACHandle,
const CSSM_TUPLEGROUP *BaseAuthorizations,
const CSSM_TUPLEGROUP *Credentials,
uint32 NumberOfRequestors,
const CSSM_LIST *Requestors,
const CSSM_LIST *RequestedAuthorizationPeriod,
const CSSM_LIST *RequestedAuthorization,
CSSM_TUPLEGROUP_PTR AuthorizationResult);
CSSM_RETURN ( *PassThrough)
(CSSM_AC_HANDLE ACHandle,
CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DL_DB_LIST *DBList,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
} CSSM_SPI_AC_FUNCS, *CSSM_SPI_AC_FUNCS_PTR;
# 29 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmcli.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmcli.h" 3
#define _CSSMCLI_H_ 1
typedef struct cssm_spi_cl_funcs {
CSSM_RETURN ( *CertCreateTemplate)
(CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CertFields,
CSSM_DATA_PTR CertTemplate);
CSSM_RETURN ( *CertGetAllTemplateFields)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *CertTemplate,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN ( *CertSign)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertTemplate,
const CSSM_FIELD *SignScope,
uint32 ScopeSize,
CSSM_DATA_PTR SignedCert);
CSSM_RETURN ( *CertVerify)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertToBeVerified,
const CSSM_DATA *SignerCert,
const CSSM_FIELD *VerifyScope,
uint32 ScopeSize);
CSSM_RETURN ( *CertVerifyWithKey)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertToBeVerified);
CSSM_RETURN ( *CertGetFirstFieldValue)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_OID *CertField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CertGetNextFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CertAbortQuery)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN ( *CertGetKeyInfo)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_KEY_PTR *Key);
CSSM_RETURN ( *CertGetAllFields)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN ( *FreeFields)
(CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
CSSM_FIELD_PTR *FieldArray);
CSSM_RETURN ( *FreeFieldValue)
(CSSM_CL_HANDLE CLHandle,
const CSSM_OID *CertOrCrlOid,
CSSM_DATA_PTR Value);
CSSM_RETURN ( *CertCache)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_HANDLE_PTR CertHandle);
CSSM_RETURN ( *CertGetFirstCachedFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CertHandle,
const CSSM_OID *CertField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CertGetNextCachedFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CertAbortCache)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CertHandle);
CSSM_RETURN ( *CertGroupToSignedBundle)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CERTGROUP *CertGroupToBundle,
const CSSM_CERT_BUNDLE_HEADER *BundleInfo,
CSSM_DATA_PTR SignedBundle);
CSSM_RETURN ( *CertGroupFromVerifiedBundle)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CERT_BUNDLE *CertBundle,
const CSSM_DATA *SignerCert,
CSSM_CERTGROUP_PTR *CertGroup);
CSSM_RETURN ( *CertDescribeFormat)
(CSSM_CL_HANDLE CLHandle,
uint32 *NumberOfFields,
CSSM_OID_PTR *OidList);
CSSM_RETURN ( *CrlCreateTemplate)
(CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlTemplate,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN ( *CrlSetFields)
(CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlTemplate,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR ModifiedCrl);
CSSM_RETURN ( *CrlAddCert)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Cert,
uint32 NumberOfFields,
const CSSM_FIELD *CrlEntryFields,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN ( *CrlRemoveCert)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_DATA *OldCrl,
CSSM_DATA_PTR NewCrl);
CSSM_RETURN ( *CrlSign)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *UnsignedCrl,
const CSSM_FIELD *SignScope,
uint32 ScopeSize,
CSSM_DATA_PTR SignedCrl);
CSSM_RETURN ( *CrlVerify)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CrlToBeVerified,
const CSSM_DATA *SignerCert,
const CSSM_FIELD *VerifyScope,
uint32 ScopeSize);
CSSM_RETURN ( *CrlVerifyWithKey)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CrlToBeVerified);
CSSM_RETURN ( *IsCertInCrl)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
const CSSM_DATA *Crl,
CSSM_BOOL *CertFound);
CSSM_RETURN ( *CrlGetFirstFieldValue)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
const CSSM_OID *CrlField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CrlGetNextFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CrlAbortQuery)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN ( *CrlGetAllFields)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
uint32 *NumberOfCrlFields,
CSSM_FIELD_PTR *CrlFields);
CSSM_RETURN ( *CrlCache)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Crl,
CSSM_HANDLE_PTR CrlHandle);
CSSM_RETURN ( *IsCertInCachedCrl)
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_HANDLE CrlHandle,
CSSM_BOOL *CertFound,
CSSM_DATA_PTR CrlRecordIndex);
CSSM_RETURN ( *CrlGetFirstCachedFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle,
const CSSM_DATA *CrlRecordIndex,
const CSSM_OID *CrlField,
CSSM_HANDLE_PTR ResultsHandle,
uint32 *NumberOfMatchedFields,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CrlGetNextCachedFieldValue)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DATA_PTR *Value);
CSSM_RETURN ( *CrlGetAllCachedRecordFields)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle,
const CSSM_DATA *CrlRecordIndex,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CrlFields);
CSSM_RETURN ( *CrlAbortCache)
(CSSM_CL_HANDLE CLHandle,
CSSM_HANDLE CrlHandle);
CSSM_RETURN ( *CrlDescribeFormat)
(CSSM_CL_HANDLE CLHandle,
uint32 *NumberOfFields,
CSSM_OID_PTR *OidList);
CSSM_RETURN ( *PassThrough)
(CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
} CSSM_SPI_CL_FUNCS, *CSSM_SPI_CL_FUNCS_PTR;
# 31 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmcspi.h" 1 3
# 28 "/System/Library/Frameworks/Security.framework/Headers/cssmcspi.h" 3
#define _CSSMCSPI_H_ 1
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmspi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmspi.h" 3
#define _CSSMSPI_H_ 1
typedef CSSM_RETURN ( *CSSM_SPI_ModuleEventHandler)
(const CSSM_GUID *ModuleGuid,
void *CssmNotifyCallbackCtx,
uint32 SubserviceId,
CSSM_SERVICE_TYPE ServiceType,
CSSM_MODULE_EVENT EventType);
typedef uint32 CSSM_CONTEXT_EVENT;
enum {
CSSM_CONTEXT_EVENT_CREATE = 1,
CSSM_CONTEXT_EVENT_DELETE = 2,
CSSM_CONTEXT_EVENT_UPDATE = 3
};
typedef struct cssm_module_funcs {
CSSM_SERVICE_TYPE ServiceType;
uint32 NumberOfServiceFuncs;
const CSSM_PROC_ADDR *ServiceFuncs;
} CSSM_MODULE_FUNCS, *CSSM_MODULE_FUNCS_PTR;
typedef void *( *CSSM_UPCALLS_MALLOC)
(CSSM_HANDLE AddInHandle,
uint32 size);
typedef void ( *CSSM_UPCALLS_FREE)
(CSSM_HANDLE AddInHandle,
void *memblock);
typedef void *( *CSSM_UPCALLS_REALLOC)
(CSSM_HANDLE AddInHandle,
void *memblock,
uint32 size);
typedef void *( *CSSM_UPCALLS_CALLOC)
(CSSM_HANDLE AddInHandle,
uint32 num,
uint32 size);
typedef struct cssm_upcalls {
CSSM_UPCALLS_MALLOC malloc_func;
CSSM_UPCALLS_FREE free_func;
CSSM_UPCALLS_REALLOC realloc_func;
CSSM_UPCALLS_CALLOC calloc_func;
CSSM_RETURN ( *CcToHandle_func)
(CSSM_CC_HANDLE Cc,
CSSM_MODULE_HANDLE_PTR ModuleHandle);
CSSM_RETURN ( *GetModuleInfo_func)
(CSSM_MODULE_HANDLE Module,
CSSM_GUID_PTR Guid,
CSSM_VERSION_PTR Version,
uint32 *SubServiceId,
CSSM_SERVICE_TYPE *SubServiceType,
CSSM_ATTACH_FLAGS *AttachFlags,
CSSM_KEY_HIERARCHY *KeyHierarchy,
CSSM_API_MEMORY_FUNCS_PTR AttachedMemFuncs,
CSSM_FUNC_NAME_ADDR_PTR FunctionTable,
uint32 NumFunctions);
} CSSM_UPCALLS, *CSSM_UPCALLS_PTR;
CSSM_RETURN
CSSM_SPI_ModuleLoad (const CSSM_GUID *CssmGuid,
const CSSM_GUID *ModuleGuid,
CSSM_SPI_ModuleEventHandler CssmNotifyCallback,
void *CssmNotifyCallbackCtx);
CSSM_RETURN
CSSM_SPI_ModuleUnload (const CSSM_GUID *CssmGuid,
const CSSM_GUID *ModuleGuid,
CSSM_SPI_ModuleEventHandler CssmNotifyCallback,
void *CssmNotifyCallbackCtx);
CSSM_RETURN
CSSM_SPI_ModuleAttach (const CSSM_GUID *ModuleGuid,
const CSSM_VERSION *Version,
uint32 SubserviceID,
CSSM_SERVICE_TYPE SubServiceType,
CSSM_ATTACH_FLAGS AttachFlags,
CSSM_MODULE_HANDLE ModuleHandle,
CSSM_KEY_HIERARCHY KeyHierarchy,
const CSSM_GUID *CssmGuid,
const CSSM_GUID *ModuleManagerGuid,
const CSSM_GUID *CallerGuid,
const CSSM_UPCALLS *Upcalls,
CSSM_MODULE_FUNCS_PTR *FuncTbl);
CSSM_RETURN
CSSM_SPI_ModuleDetach (CSSM_MODULE_HANDLE ModuleHandle);
# 31 "/System/Library/Frameworks/Security.framework/Headers/cssmcspi.h" 2 3
typedef struct cssm_spi_csp_funcs {
CSSM_RETURN ( *EventNotify)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CONTEXT_EVENT Event,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *QuerySize)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
CSSM_BOOL Encrypt,
uint32 QuerySizeCount,
CSSM_QUERY_SIZE_DATA_PTR DataBlock);
CSSM_RETURN ( *SignData)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_ALGORITHMS DigestAlgorithm,
CSSM_DATA_PTR Signature);
CSSM_RETURN ( *SignDataInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *SignDataUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN ( *SignDataFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Signature);
CSSM_RETURN ( *VerifyData)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_ALGORITHMS DigestAlgorithm,
const CSSM_DATA *Signature);
CSSM_RETURN ( *VerifyDataInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *VerifyDataUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN ( *VerifyDataFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Signature);
CSSM_RETURN ( *DigestData)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_DATA_PTR Digest);
CSSM_RETURN ( *DigestDataInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *DigestDataUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN ( *DigestDataClone)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_CC_HANDLE ClonedCCHandle);
CSSM_RETURN ( *DigestDataFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Digest);
CSSM_RETURN ( *GenerateMac)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
CSSM_DATA_PTR Mac);
CSSM_RETURN ( *GenerateMacInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *GenerateMacUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN ( *GenerateMacFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR Mac);
CSSM_RETURN ( *VerifyMac)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *DataBufs,
uint32 DataBufCount,
const CSSM_DATA *Mac);
CSSM_RETURN ( *VerifyMacInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context);
CSSM_RETURN ( *VerifyMacUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *DataBufs,
uint32 DataBufCount);
CSSM_RETURN ( *VerifyMacFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *Mac);
CSSM_RETURN ( *EncryptData)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *ClearBufs,
uint32 ClearBufCount,
CSSM_DATA_PTR CipherBufs,
uint32 CipherBufCount,
CSSM_SIZE *bytesEncrypted,
CSSM_DATA_PTR RemData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *EncryptDataInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *EncryptDataUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *ClearBufs,
uint32 ClearBufCount,
CSSM_DATA_PTR CipherBufs,
uint32 CipherBufCount,
CSSM_SIZE *bytesEncrypted);
CSSM_RETURN ( *EncryptDataFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR RemData);
CSSM_RETURN ( *DecryptData)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_DATA *CipherBufs,
uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs,
uint32 ClearBufCount,
CSSM_SIZE *bytesDecrypted,
CSSM_DATA_PTR RemData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *DecryptDataInit)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *DecryptDataUpdate)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CipherBufs,
uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs,
uint32 ClearBufCount,
CSSM_SIZE *bytesDecrypted);
CSSM_RETURN ( *DecryptDataFinal)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
CSSM_DATA_PTR RemData);
CSSM_RETURN ( *QueryKeySizeInBits)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_KEY *Key,
CSSM_KEY_SIZE_PTR KeySize);
CSSM_RETURN ( *GenerateKey)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR Key,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *GenerateKeyPair)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
uint32 PublicKeyUsage,
uint32 PublicKeyAttr,
const CSSM_DATA *PublicKeyLabel,
CSSM_KEY_PTR PublicKey,
uint32 PrivateKeyUsage,
uint32 PrivateKeyAttr,
const CSSM_DATA *PrivateKeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR PrivateKey,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *GenerateRandom)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
CSSM_DATA_PTR RandomNumber);
CSSM_RETURN ( *GenerateAlgorithmParams)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
uint32 ParamBits,
CSSM_DATA_PTR Param,
uint32 *NumberOfUpdatedAttibutes,
CSSM_CONTEXT_ATTRIBUTE_PTR *UpdatedAttributes);
CSSM_RETURN ( *WrapKey)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_DATA *DescriptiveData,
CSSM_WRAP_KEY_PTR WrappedKey,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *UnwrapKey)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
const CSSM_KEY *PublicKey,
const CSSM_WRAP_KEY *WrappedKey,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR UnwrappedKey,
CSSM_DATA_PTR DescriptiveData,
CSSM_PRIVILEGE Privilege);
CSSM_RETURN ( *DeriveKey)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
CSSM_DATA_PTR Param,
uint32 KeyUsage,
uint32 KeyAttr,
const CSSM_DATA *KeyLabel,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
CSSM_KEY_PTR DerivedKey);
CSSM_RETURN ( *FreeKey)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
CSSM_KEY_PTR KeyPtr,
CSSM_BOOL Delete);
CSSM_RETURN ( *PassThrough)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context,
uint32 PassThroughId,
const void *InData,
void **OutData);
CSSM_RETURN ( *Login)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_DATA *LoginName,
const void *Reserved);
CSSM_RETURN ( *Logout)
(CSSM_CSP_HANDLE CSPHandle);
CSSM_RETURN ( *ChangeLoginAcl)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit);
CSSM_RETURN ( *ObtainPrivateKeyFromPublicKey)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *PublicKey,
CSSM_KEY_PTR PrivateKey);
CSSM_RETURN ( *RetrieveUniqueId)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_DATA_PTR UniqueID);
CSSM_RETURN ( *RetrieveCounter)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_DATA_PTR Counter);
CSSM_RETURN ( *VerifyDevice)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *DeviceCert);
CSSM_RETURN ( *GetTimeValue)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_ALGORITHMS TimeAlgorithm,
CSSM_DATA *TimeData);
CSSM_RETURN ( *GetOperationalStatistics)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CSP_OPERATIONAL_STATISTICS *Statistics);
CSSM_RETURN ( *GetLoginAcl)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN ( *GetKeyAcl)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *Key,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN ( *ChangeKeyAcl)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit,
const CSSM_KEY *Key);
CSSM_RETURN ( *GetKeyOwner)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_KEY *Key,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN ( *ChangeKeyOwner)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_KEY *Key,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
CSSM_RETURN ( *GetLoginOwner)
(CSSM_CSP_HANDLE CSPHandle,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN ( *ChangeLoginOwner)
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
} CSSM_SPI_CSP_FUNCS, *CSSM_SPI_CSP_FUNCS_PTR;
# 32 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmdli.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmdli.h" 3
#define _CSSMDLI_H_ 1
typedef struct cssm_spi_dl_funcs {
CSSM_RETURN ( *DbOpen)
(CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const void *OpenParameters,
CSSM_DB_HANDLE *DbHandle);
CSSM_RETURN ( *DbClose)
(CSSM_DL_DB_HANDLE DLDBHandle);
CSSM_RETURN ( *DbCreate)
(CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
const CSSM_DBINFO *DBInfo,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
const void *OpenParameters,
CSSM_DB_HANDLE *DbHandle);
CSSM_RETURN ( *DbDelete)
(CSSM_DL_HANDLE DLHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
const CSSM_ACCESS_CREDENTIALS *AccessCred);
CSSM_RETURN ( *CreateRelation)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RelationID,
const char *RelationName,
uint32 NumberOfAttributes,
const CSSM_DB_SCHEMA_ATTRIBUTE_INFO *pAttributeInfo,
uint32 NumberOfIndexes,
const CSSM_DB_SCHEMA_INDEX_INFO *pIndexInfo);
CSSM_RETURN ( *DestroyRelation)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RelationID);
CSSM_RETURN ( *Authenticate)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_ACCESS_CREDENTIALS *AccessCred);
CSSM_RETURN ( *GetDbAcl)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_STRING *SelectionTag,
uint32 *NumberOfAclInfos,
CSSM_ACL_ENTRY_INFO_PTR *AclInfos);
CSSM_RETURN ( *ChangeDbAcl)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_EDIT *AclEdit);
CSSM_RETURN ( *GetDbOwner)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_ACL_OWNER_PROTOTYPE_PTR Owner);
CSSM_RETURN ( *ChangeDbOwner)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
CSSM_RETURN ( *GetDbNames)
(CSSM_DL_HANDLE DLHandle,
CSSM_NAME_LIST_PTR *NameList);
CSSM_RETURN ( *GetDbNameFromHandle)
(CSSM_DL_DB_HANDLE DLDBHandle,
char **DbName);
CSSM_RETURN ( *FreeNameList)
(CSSM_DL_HANDLE DLHandle,
CSSM_NAME_LIST_PTR NameList);
CSSM_RETURN ( *DataInsert)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RecordType,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *Attributes,
const CSSM_DATA *Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataDelete)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecordIdentifier);
CSSM_RETURN ( *DataModify)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_RECORDTYPE RecordType,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecordIdentifier,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *AttributesToBeModified,
const CSSM_DATA *DataToBeModified,
CSSM_DB_MODIFY_MODE ModifyMode);
CSSM_RETURN ( *DataGetFirst)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_QUERY *Query,
CSSM_HANDLE_PTR ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataGetNext)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataAbortQuery)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN ( *DataGetFromUniqueRecordId)
(CSSM_DL_DB_HANDLE DLDBHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecord,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data);
CSSM_RETURN ( *FreeUniqueRecord)
(CSSM_DL_DB_HANDLE DLDBHandle,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecord);
CSSM_RETURN ( *PassThrough)
(CSSM_DL_DB_HANDLE DLDBHandle,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
} CSSM_SPI_DL_FUNCS, *CSSM_SPI_DL_FUNCS_PTR;
# 33 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmkrapi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmkrapi.h" 3
#define _CSSMKRAPI_H_ 1
typedef uint32 CSSM_KRSP_HANDLE;
typedef struct cssm_kr_name {
uint8 Type;
uint8 Length;
char *Name;
} CSSM_KR_NAME;
typedef struct cssm_kr_profile {
CSSM_KR_NAME UserName;
CSSM_CERTGROUP_PTR UserCertificate;
CSSM_CERTGROUP_PTR KRSCertChain;
uint8 LE_KRANum;
CSSM_CERTGROUP_PTR LE_KRACertChainList;
uint8 ENT_KRANum;
CSSM_CERTGROUP_PTR ENT_KRACertChainList;
uint8 INDIV_KRANum;
CSSM_CERTGROUP_PTR INDIV_KRACertChainList;
CSSM_DATA_PTR INDIV_AuthenticationInfo;
uint32 KRSPFlags;
CSSM_DATA_PTR KRSPExtensions;
} CSSM_KR_PROFILE, *CSSM_KR_PROFILE_PTR;
typedef struct cssm_kr_wrappedproductinfo {
CSSM_VERSION StandardVersion;
CSSM_STRING StandardDescription;
CSSM_VERSION ProductVersion;
CSSM_STRING ProductDescription;
CSSM_STRING ProductVendor;
uint32 ProductFlags;
} CSSM_KR_WRAPPEDPRODUCT_INFO, *CSSM_KR_WRAPPEDPRODUCT_INFO_PTR;
typedef struct cssm_krsubservice {
uint32 SubServiceId;
char *Description;
CSSM_KR_WRAPPEDPRODUCT_INFO WrappedProduct;
} CSSM_KRSUBSERVICE, *CSSM_KRSUBSERVICE_PTR;
typedef uint32 CSSM_KR_POLICY_TYPE;
#define CSSM_KR_INDIV_POLICY (0x00000001)
#define CSSM_KR_ENT_POLICY (0x00000002)
#define CSSM_KR_LE_MAN_POLICY (0x00000003)
#define CSSM_KR_LE_USE_POLICY (0x00000004)
typedef uint32 CSSM_KR_POLICY_FLAGS;
#define CSSM_KR_INDIV (0x00000001)
#define CSSM_KR_ENT (0x00000002)
#define CSSM_KR_LE_MAN (0x00000004)
#define CSSM_KR_LE_USE (0x00000008)
#define CSSM_KR_LE (CSSM_KR_LE_MAN | CSSM_KR_LE_USE)
#define CSSM_KR_OPTIMIZE (0x00000010)
#define CSSM_KR_DROP_WORKFACTOR (0x00000020)
typedef struct cssm_kr_policy_list_item {
struct kr_policy_list_item *next;
CSSM_ALGORITHMS AlgorithmId;
CSSM_ENCRYPT_MODE Mode;
uint32 MaxKeyLength;
uint32 MaxRounds;
uint8 WorkFactor;
CSSM_KR_POLICY_FLAGS PolicyFlags;
CSSM_CONTEXT_TYPE AlgClass;
} CSSM_KR_POLICY_LIST_ITEM, *CSSM_KR_POLICY_LIST_ITEM_PTR;
typedef struct cssm_kr_policy_info {
CSSM_BOOL krbNotAllowed;
uint32 numberOfEntries;
CSSM_KR_POLICY_LIST_ITEM *policyEntry;
} CSSM_KR_POLICY_INFO, *CSSM_KR_POLICY_INFO_PTR;
CSSM_RETURN
CSSM_KR_SetEnterpriseRecoveryPolicy (const CSSM_DATA *RecoveryPolicyFileName,
const CSSM_ACCESS_CREDENTIALS *OldPassPhrase,
const CSSM_ACCESS_CREDENTIALS *NewPassPhrase);
CSSM_RETURN
CSSM_KR_CreateRecoveryRegistrationContext (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE *NewContext);
CSSM_RETURN
CSSM_KR_CreateRecoveryEnablementContext (CSSM_KRSP_HANDLE KRSPHandle,
const CSSM_KR_PROFILE *LocalProfile,
const CSSM_KR_PROFILE *RemoteProfile,
CSSM_CC_HANDLE *NewContext);
CSSM_RETURN
CSSM_KR_CreateRecoveryRequestContext (CSSM_KRSP_HANDLE KRSPHandle,
const CSSM_KR_PROFILE *LocalProfile,
CSSM_CC_HANDLE *NewContext);
CSSM_RETURN
CSSM_KR_GetPolicyInfo (CSSM_CC_HANDLE CCHandle,
CSSM_KR_POLICY_FLAGS *EncryptionProhibited,
uint32 *WorkFactor);
CSSM_RETURN
CSSM_KR_RegistrationRequest (CSSM_CC_HANDLE RecoveryRegistrationContext,
const CSSM_DATA *KRInData,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
CSSM_KR_POLICY_FLAGS KRFlags,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR ReferenceHandle);
CSSM_RETURN
CSSM_KR_RegistrationRetrieve (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE ReferenceHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
sint32 *EstimatedTime,
CSSM_KR_PROFILE_PTR KRProfile);
CSSM_RETURN
CSSM_KR_GenerateRecoveryFields (CSSM_CC_HANDLE KeyRecoveryContext,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *KRSPOptions,
CSSM_KR_POLICY_FLAGS KRFlags,
CSSM_DATA_PTR KRFields,
CSSM_CC_HANDLE *NewCCHandle);
CSSM_RETURN
CSSM_KR_ProcessRecoveryFields (CSSM_CC_HANDLE KeyRecoveryContext,
CSSM_CC_HANDLE CryptoContext,
const CSSM_DATA *KRSPOptions,
CSSM_KR_POLICY_FLAGS KRFlags,
const CSSM_DATA *KRFields,
CSSM_CC_HANDLE *NewCryptoContext);
CSSM_RETURN
CSSM_KR_RecoveryRequest (CSSM_CC_HANDLE RecoveryRequestContext,
const CSSM_DATA *KRInData,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR ReferenceHandle);
CSSM_RETURN
CSSM_KR_RecoveryRetrieve (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE ReferenceHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR CacheHandle,
uint32 *NumberOfRecoveredKeys);
CSSM_RETURN
CSSM_KR_GetRecoveredObject (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE CacheHandle,
uint32 IndexInResults,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
uint32 Flags,
CSSM_KEY_PTR RecoveredKey,
CSSM_DATA_PTR OtherInfo);
CSSM_RETURN
CSSM_KR_RecoveryRequestAbort (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE CacheHandle);
CSSM_RETURN
CSSM_KR_QueryPolicyInfo (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_ALGORITHMS AlgorithmID,
CSSM_ENCRYPT_MODE Mode,
CSSM_CONTEXT_TYPE Class,
CSSM_KR_POLICY_INFO_PTR *PolicyInfoData);
CSSM_RETURN
CSSM_KR_PassThrough (CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KeyRecoveryContext,
CSSM_CC_HANDLE CryptoContext,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
# 35 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmkrspi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmkrspi.h" 3
#define _CSSMKRSPI_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/cssmkrspi.h" 3
typedef struct cssm_spi_kr_funcs {
CSSM_RETURN ( *RegistrationRequest)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KRRegistrationContextHandle,
const CSSM_CONTEXT *KRRegistrationContext,
const CSSM_DATA *KRInData,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
CSSM_KR_POLICY_FLAGS KRFlags,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR ReferenceHandle);
CSSM_RETURN ( *RegistrationRetrieve)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE ReferenceHandle,
sint32 *EstimatedTime,
CSSM_KR_PROFILE_PTR KRProfile);
CSSM_RETURN ( *GenerateRecoveryFields)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KREnablementContextHandle,
const CSSM_CONTEXT *KREnablementContext,
CSSM_CC_HANDLE CryptoContextHandle,
const CSSM_CONTEXT *CryptoContext,
const CSSM_DATA *KRSPOptions,
CSSM_KR_POLICY_FLAGS KRFlags,
CSSM_DATA_PTR KRFields);
CSSM_RETURN ( *ProcessRecoveryFields)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KREnablementContextHandle,
const CSSM_CONTEXT *KREnablementContext,
CSSM_CC_HANDLE CryptoContextHandle,
const CSSM_CONTEXT *CryptoContext,
const CSSM_DATA *KRSPOptions,
CSSM_KR_POLICY_FLAGS KRFlags,
const CSSM_DATA *KRFields);
CSSM_RETURN ( *RecoveryRequest)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KRRequestContextHandle,
const CSSM_CONTEXT *KRRequestContext,
const CSSM_DATA *KRInData,
const CSSM_ACCESS_CREDENTIALS *AccessCredentials,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR ReferenceHandle);
CSSM_RETURN ( *RecoveryRetrieve)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE ReferenceHandle,
sint32 *EstimatedTime,
CSSM_HANDLE_PTR CacheHandle,
uint32 *NumberOfRecoveredKeys);
CSSM_RETURN ( *GetRecoveredObject)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE CacheHandle,
uint32 IndexInResults,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
uint32 Flags,
CSSM_KEY_PTR RecoveredKey,
CSSM_DATA_PTR OtherInfo);
CSSM_RETURN ( *RecoveryRequestAbort)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN ( *PassThrough)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KeyRecoveryContextHandle,
const CSSM_CONTEXT *KeyRecoveryContext,
CSSM_CC_HANDLE CryptoContextHandle,
const CSSM_CONTEXT *CryptoContext,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
} CSSM_SPI_KR_FUNCS, *CSSM_SPI_KR_FUNCS_PTR;
# 36 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/cssmtpi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/cssmtpi.h" 3
#define _CSSMTPI_H_ 1
typedef struct cssm_spi_tp_funcs {
CSSM_RETURN ( *SubmitCredRequest)
(CSSM_TP_HANDLE TPHandle,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority,
CSSM_TP_AUTHORITY_REQUEST_TYPE RequestType,
const CSSM_TP_REQUEST_SET *RequestInput,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthContext,
sint32 *EstimatedTime,
CSSM_DATA_PTR ReferenceIdentifier);
CSSM_RETURN ( *RetrieveCredResult)
(CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthCredentials,
sint32 *EstimatedTime,
CSSM_BOOL *ConfirmationRequired,
CSSM_TP_RESULT_SET_PTR *RetrieveOutput);
CSSM_RETURN ( *ConfirmCredResult)
(CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthCredentials,
const CSSM_TP_CONFIRM_RESPONSE *Responses,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority);
CSSM_RETURN ( *ReceiveConfirmation)
(CSSM_TP_HANDLE TPHandle,
const CSSM_DATA *ReferenceIdentifier,
CSSM_TP_CONFIRM_RESPONSE_PTR *Responses,
sint32 *ElapsedTime);
CSSM_RETURN ( *CertReclaimKey)
(CSSM_TP_HANDLE TPHandle,
const CSSM_CERTGROUP *CertGroup,
uint32 CertIndex,
CSSM_LONG_HANDLE KeyCacheHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry);
CSSM_RETURN ( *CertReclaimAbort)
(CSSM_TP_HANDLE TPHandle,
CSSM_LONG_HANDLE KeyCacheHandle);
CSSM_RETURN ( *FormRequest)
(CSSM_TP_HANDLE TPHandle,
const CSSM_TP_AUTHORITY_ID *PreferredAuthority,
CSSM_TP_FORM_TYPE FormType,
CSSM_DATA_PTR BlankForm);
CSSM_RETURN ( *FormSubmit)
(CSSM_TP_HANDLE TPHandle,
CSSM_TP_FORM_TYPE FormType,
const CSSM_DATA *Form,
const CSSM_TP_AUTHORITY_ID *ClearanceAuthority,
const CSSM_TP_AUTHORITY_ID *RepresentedAuthority,
CSSM_ACCESS_CREDENTIALS_PTR Credentials);
CSSM_RETURN ( *CertGroupVerify)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_CERTGROUP *CertGroupToBeVerified,
const CSSM_TP_VERIFY_CONTEXT *VerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR VerifyContextResult);
CSSM_RETURN ( *CertCreateTemplate)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CertFields,
CSSM_DATA_PTR CertTemplate);
CSSM_RETURN ( *CertGetAllTemplateFields)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *CertTemplate,
uint32 *NumberOfFields,
CSSM_FIELD_PTR *CertFields);
CSSM_RETURN ( *CertSign)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA *CertTemplateToBeSigned,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *SignerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR SignerVerifyResult,
CSSM_DATA_PTR SignedCert);
CSSM_RETURN ( *CrlVerify)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_ENCODED_CRL *CrlToBeVerified,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *VerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult);
CSSM_RETURN ( *CrlCreateTemplate)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
uint32 NumberOfFields,
const CSSM_FIELD *CrlFields,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN ( *CertRevoke)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *OldCrlTemplate,
const CSSM_CERTGROUP *CertGroupToBeRevoked,
const CSSM_CERTGROUP *RevokerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *RevokerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult,
CSSM_TP_CERTCHANGE_REASON Reason,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN ( *CertRemoveFromCrlTemplate)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA *OldCrlTemplate,
const CSSM_CERTGROUP *CertGroupToBeRemoved,
const CSSM_CERTGROUP *RevokerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *RevokerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR RevokerVerifyResult,
CSSM_DATA_PTR NewCrlTemplate);
CSSM_RETURN ( *CrlSign)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_ENCODED_CRL *CrlToBeSigned,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *SignerVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR SignerVerifyResult,
CSSM_DATA_PTR SignedCrl);
CSSM_RETURN ( *ApplyCrlToDb)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_ENCODED_CRL *CrlToBeApplied,
const CSSM_CERTGROUP *SignerCertGroup,
const CSSM_TP_VERIFY_CONTEXT *ApplyCrlVerifyContext,
CSSM_TP_VERIFY_CONTEXT_RESULT_PTR ApplyCrlVerifyResult);
CSSM_RETURN ( *CertGroupConstruct)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CSP_HANDLE CSPHandle,
const CSSM_DL_DB_LIST *DBList,
const void *ConstructParams,
const CSSM_CERTGROUP *CertGroupFrag,
CSSM_CERTGROUP_PTR *CertGroup);
CSSM_RETURN ( *CertGroupPrune)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_DL_DB_LIST *DBList,
const CSSM_CERTGROUP *OrderedCertGroup,
CSSM_CERTGROUP_PTR *PrunedCertGroup);
CSSM_RETURN ( *CertGroupToTupleGroup)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_CERTGROUP *CertGroup,
CSSM_TUPLEGROUP_PTR *TupleGroup);
CSSM_RETURN ( *TupleGroupToCertGroup)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
const CSSM_TUPLEGROUP *TupleGroup,
CSSM_CERTGROUP_PTR *CertTemplates);
CSSM_RETURN ( *PassThrough)
(CSSM_TP_HANDLE TPHandle,
CSSM_CL_HANDLE CLHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DL_DB_LIST *DBList,
uint32 PassThroughId,
const void *InputParams,
void **OutputParams);
} CSSM_SPI_TP_FUNCS, *CSSM_SPI_TP_FUNCS_PTR;
# 38 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/emmspi.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/emmspi.h" 3
#define _EMMSPI_H_ 1
typedef struct cssm_state_funcs {
CSSM_RETURN ( *cssm_GetAttachFunctions)
(CSSM_MODULE_HANDLE hAddIn,
CSSM_SERVICE_MASK AddinType,
void **SPFunctions,
CSSM_GUID_PTR Guid,
CSSM_BOOL *Serialized);
CSSM_RETURN ( *cssm_ReleaseAttachFunctions)
(CSSM_MODULE_HANDLE hAddIn);
CSSM_RETURN ( *cssm_GetAppMemoryFunctions)
(CSSM_MODULE_HANDLE hAddIn,
CSSM_UPCALLS_PTR UpcallTable);
CSSM_RETURN ( *cssm_IsFuncCallValid)
(CSSM_MODULE_HANDLE hAddin,
CSSM_PROC_ADDR SrcAddress,
CSSM_PROC_ADDR DestAddress,
CSSM_PRIVILEGE InPriv,
CSSM_PRIVILEGE *OutPriv,
CSSM_BITMASK Hints,
CSSM_BOOL *IsOK);
CSSM_RETURN ( *cssm_DeregisterManagerServices)
(const CSSM_GUID *GUID);
CSSM_RETURN ( *cssm_DeliverModuleManagerEvent)
(const CSSM_MANAGER_EVENT_NOTIFICATION *EventDescription);
} CSSM_STATE_FUNCS, *CSSM_STATE_FUNCS_PTR;
typedef struct cssm_manager_registration_info {
CSSM_RETURN ( *Initialize)
(uint32 VerMajor,
uint32 VerMinor);
CSSM_RETURN ( *Terminate) (void);
CSSM_RETURN ( *RegisterDispatchTable)
(CSSM_STATE_FUNCS_PTR CssmStateCallTable);
CSSM_RETURN ( *DeregisterDispatchTable) (void);
CSSM_RETURN ( *EventNotifyManager)
(const CSSM_MANAGER_EVENT_NOTIFICATION *EventDescription);
CSSM_RETURN ( *RefreshFunctionTable)
(CSSM_FUNC_NAME_ADDR_PTR FuncNameAddrPtr,
uint32 NumOfFuncNameAddr);
} CSSM_MANAGER_REGISTRATION_INFO, *CSSM_MANAGER_REGISTRATION_INFO_PTR;
enum {
CSSM_HINT_NONE = 0,
CSSM_HINT_ADDRESS_APP = 1 << 0,
CSSM_HINT_ADDRESS_SP = 1 << 1
};
CSSM_RETURN
ModuleManagerAuthenticate (CSSM_KEY_HIERARCHY KeyHierarchy,
const CSSM_GUID *CssmGuid,
const CSSM_GUID *AppGuid,
CSSM_MANAGER_REGISTRATION_INFO_PTR FunctionTable);
# 40 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/mds.h" 1 3
# 28 "/System/Library/Frameworks/Security.framework/Headers/mds.h" 3
#define _MDS_H_ 1
typedef CSSM_DL_HANDLE MDS_HANDLE;
typedef CSSM_DL_DB_HANDLE MDS_DB_HANDLE;
typedef struct mds_funcs {
CSSM_RETURN ( *DbOpen)
(MDS_HANDLE MdsHandle,
const char *DbName,
const CSSM_NET_ADDRESS *DbLocation,
CSSM_DB_ACCESS_TYPE AccessRequest,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const void *OpenParameters,
CSSM_DB_HANDLE *hMds);
CSSM_RETURN ( *DbClose)
(MDS_DB_HANDLE MdsDbHandle);
CSSM_RETURN ( *GetDbNames)
(MDS_HANDLE MdsHandle,
CSSM_NAME_LIST_PTR *NameList);
CSSM_RETURN ( *GetDbNameFromHandle)
(MDS_DB_HANDLE MdsDbHandle,
char **DbName);
CSSM_RETURN ( *FreeNameList)
(MDS_HANDLE MdsHandle,
CSSM_NAME_LIST_PTR NameList);
CSSM_RETURN ( *DataInsert)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_DB_RECORDTYPE RecordType,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *Attributes,
const CSSM_DATA *Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataDelete)
(MDS_DB_HANDLE MdsDbHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecordIdentifier);
CSSM_RETURN ( *DataModify)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_DB_RECORDTYPE RecordType,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecordIdentifier,
const CSSM_DB_RECORD_ATTRIBUTE_DATA *AttributesToBeModified,
const CSSM_DATA *DataToBeModified,
CSSM_DB_MODIFY_MODE ModifyMode);
CSSM_RETURN ( *DataGetFirst)
(MDS_DB_HANDLE MdsDbHandle,
const CSSM_QUERY *Query,
CSSM_HANDLE_PTR ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataGetNext)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_HANDLE ResultsHandle,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data,
CSSM_DB_UNIQUE_RECORD_PTR *UniqueId);
CSSM_RETURN ( *DataAbortQuery)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_HANDLE ResultsHandle);
CSSM_RETURN ( *DataGetFromUniqueRecordId)
(MDS_DB_HANDLE MdsDbHandle,
const CSSM_DB_UNIQUE_RECORD *UniqueRecord,
CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes,
CSSM_DATA_PTR Data);
CSSM_RETURN ( *FreeUniqueRecord)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_DB_UNIQUE_RECORD_PTR UniqueRecord);
CSSM_RETURN ( *CreateRelation)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_DB_RECORDTYPE RelationID,
const char *RelationName,
uint32 NumberOfAttributes,
const CSSM_DB_SCHEMA_ATTRIBUTE_INFO *pAttributeInfo,
uint32 NumberOfIndexes,
const CSSM_DB_SCHEMA_INDEX_INFO *pIndexInfo);
CSSM_RETURN ( *DestroyRelation)
(MDS_DB_HANDLE MdsDbHandle,
CSSM_DB_RECORDTYPE RelationID);
} MDS_FUNCS, *MDS_FUNCS_PTR;
CSSM_RETURN
MDS_Initialize (const CSSM_GUID *pCallerGuid,
const CSSM_MEMORY_FUNCS *pMemoryFunctions,
MDS_FUNCS_PTR pDlFunctions,
MDS_HANDLE *hMds);
CSSM_RETURN
MDS_Terminate (MDS_HANDLE MdsHandle);
CSSM_RETURN
MDS_Install (MDS_HANDLE MdsHandle);
CSSM_RETURN
MDS_Uninstall (MDS_HANDLE MdsHandle);
# 42 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/mds_schema.h" 1 3
# 28 "/System/Library/Frameworks/Security.framework/Headers/mds_schema.h" 3
#define _MDS_SCHEMA_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/mds_schema.h" 3
#define MDS_OBJECT_DIRECTORY_NAME "MDS Object Directory"
#define MDS_CDSA_DIRECTORY_NAME "MDS CDSA Directory"
#define CSSM_DB_RELATIONID_MDS_START (0x40000000)
#define CSSM_DB_RELATIONID_MDS_END (0x40004000)
#define MDS_OBJECT_RECORDTYPE (CSSM_DB_RELATIONID_MDS_START)
#define MDS_CDSA_SCHEMA_START (MDS_OBJECT_RECORDTYPE)
#define MDS_CDSADIR_CSSM_RECORDTYPE (MDS_CDSA_SCHEMA_START + 1)
#define MDS_CDSADIR_KRMM_RECORDTYPE (MDS_CDSA_SCHEMA_START + 2)
#define MDS_CDSADIR_EMM_RECORDTYPE (MDS_CDSA_SCHEMA_START + 3)
#define MDS_CDSADIR_COMMON_RECORDTYPE (MDS_CDSA_SCHEMA_START + 4)
#define MDS_CDSADIR_CSP_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 5)
#define MDS_CDSADIR_CSP_CAPABILITY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 6)
#define MDS_CDSADIR_CSP_ENCAPSULATED_PRODUCT_RECORDTYPE (MDS_CDSA_SCHEMA_START + 7)
#define MDS_CDSADIR_CSP_SC_INFO_RECORDTYPE (MDS_CDSA_SCHEMA_START + 8)
#define MDS_CDSADIR_DL_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 9)
#define MDS_CDSADIR_DL_ENCAPSULATED_PRODUCT_RECORDTYPE (MDS_CDSA_SCHEMA_START + 10)
#define MDS_CDSADIR_CL_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 11)
#define MDS_CDSADIR_CL_ENCAPSULATED_PRODUCT_RECORDTYPE (MDS_CDSA_SCHEMA_START + 12)
#define MDS_CDSADIR_TP_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 13)
#define MDS_CDSADIR_TP_OIDS_RECORDTYPE (MDS_CDSA_SCHEMA_START + 14)
#define MDS_CDSADIR_TP_ENCAPSULATED_PRODUCT_RECORDTYPE (MDS_CDSA_SCHEMA_START + 15)
#define MDS_CDSADIR_EMM_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 16)
#define MDS_CDSADIR_AC_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 17)
#define MDS_CDSADIR_KR_PRIMARY_RECORDTYPE (MDS_CDSA_SCHEMA_START + 18)
#define MDS_CDSADIR_MDS_SCHEMA_RELATIONS (MDS_CDSA_SCHEMA_START + 19)
#define MDS_CDSADIR_MDS_SCHEMA_ATTRIBUTES (MDS_CDSA_SCHEMA_START + 20)
#define MDS_CDSADIR_MDS_SCHEMA_INDEXES (MDS_CDSA_SCHEMA_START + 21)
#define CSSM_DB_ATTRIBUTE_MDS_START (0x40000000)
#define CSSM_DB_ATTRIBUTE_MDS_END (0x40004000)
#define MDS_CDSAATTR_MODULE_ID (CSSM_DB_ATTRIBUTE_MDS_START + 1)
#define MDS_CDSAATTR_MANIFEST (CSSM_DB_ATTRIBUTE_MDS_START + 2)
#define MDS_CDSAATTR_MODULE_NAME (CSSM_DB_ATTRIBUTE_MDS_START + 3)
#define MDS_CDSAATTR_PATH (CSSM_DB_ATTRIBUTE_MDS_START + 4)
#define MDS_CDSAATTR_CDSAVERSION (CSSM_DB_ATTRIBUTE_MDS_START + 5)
#define MDS_CDSAATTR_VENDOR (CSSM_DB_ATTRIBUTE_MDS_START + 6)
#define MDS_CDSAATTR_DESC (CSSM_DB_ATTRIBUTE_MDS_START + 8)
#define MDS_CDSAATTR_INTERFACE_GUID (CSSM_DB_ATTRIBUTE_MDS_START + 9)
#define MDS_CDSAATTR_POLICY_STMT (CSSM_DB_ATTRIBUTE_MDS_START + 10)
#define MDS_CDSAATTR_EMMSPECVERSION (CSSM_DB_ATTRIBUTE_MDS_START + 11)
#define MDS_CDSAATTR_EMM_VERSION (CSSM_DB_ATTRIBUTE_MDS_START + 12)
#define MDS_CDSAATTR_EMM_VENDOR (CSSM_DB_ATTRIBUTE_MDS_START + 13)
#define MDS_CDSAATTR_EMM_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 14)
#define MDS_CDSAATTR_SSID (CSSM_DB_ATTRIBUTE_MDS_START + 15)
#define MDS_CDSAATTR_SERVICE_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 16)
#define MDS_CDSAATTR_NATIVE_SERVICES (CSSM_DB_ATTRIBUTE_MDS_START + 17)
#define MDS_CDSAATTR_DYNAMIC_FLAG (CSSM_DB_ATTRIBUTE_MDS_START + 18)
#define MDS_CDSAATTR_MULTITHREAD_FLAG (CSSM_DB_ATTRIBUTE_MDS_START + 19)
#define MDS_CDSAATTR_SERVICE_MASK (CSSM_DB_ATTRIBUTE_MDS_START + 20)
#define MDS_CDSAATTR_CSP_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 21)
#define MDS_CDSAATTR_CSP_FLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 22)
#define MDS_CDSAATTR_CSP_CUSTOMFLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 23)
#define MDS_CDSAATTR_USEE_TAGS (CSSM_DB_ATTRIBUTE_MDS_START + 24)
#define MDS_CDSAATTR_CONTEXT_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 25)
#define MDS_CDSAATTR_ALG_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 26)
#define MDS_CDSAATTR_GROUP_ID (CSSM_DB_ATTRIBUTE_MDS_START + 27)
#define MDS_CDSAATTR_ATTRIBUTE_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 28)
#define MDS_CDSAATTR_ATTRIBUTE_VALUE (CSSM_DB_ATTRIBUTE_MDS_START + 29)
#define MDS_CDSAATTR_PRODUCT_DESC (CSSM_DB_ATTRIBUTE_MDS_START + 30)
#define MDS_CDSAATTR_PRODUCT_VENDOR (CSSM_DB_ATTRIBUTE_MDS_START + 31)
#define MDS_CDSAATTR_PRODUCT_VERSION (CSSM_DB_ATTRIBUTE_MDS_START + 32)
#define MDS_CDSAATTR_PRODUCT_FLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 33)
#define MDS_CDSAATTR_PRODUCT_CUSTOMFLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 34)
#define MDS_CDSAATTR_STANDARD_DESC (CSSM_DB_ATTRIBUTE_MDS_START + 35)
#define MDS_CDSAATTR_STANDARD_VERSION (CSSM_DB_ATTRIBUTE_MDS_START + 36)
#define MDS_CDSAATTR_READER_DESC (CSSM_DB_ATTRIBUTE_MDS_START + 37)
#define MDS_CDSAATTR_READER_VENDOR (CSSM_DB_ATTRIBUTE_MDS_START + 38)
#define MDS_CDSAATTR_READER_VERSION (CSSM_DB_ATTRIBUTE_MDS_START + 39)
#define MDS_CDSAATTR_READER_FWVERSION (CSSM_DB_ATTRIBUTE_MDS_START + 40)
#define MDS_CDSAATTR_READER_FLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 41)
#define MDS_CDSAATTR_READER_CUSTOMFLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 42)
#define MDS_CDSAATTR_READER_SERIALNUMBER (CSSM_DB_ATTRIBUTE_MDS_START + 43)
#define MDS_CDSAATTR_SC_DESC (CSSM_DB_ATTRIBUTE_MDS_START + 44)
#define MDS_CDSAATTR_SC_VENDOR (CSSM_DB_ATTRIBUTE_MDS_START + 45)
#define MDS_CDSAATTR_SC_VERSION (CSSM_DB_ATTRIBUTE_MDS_START + 46)
#define MDS_CDSAATTR_SC_FWVERSION (CSSM_DB_ATTRIBUTE_MDS_START + 47)
#define MDS_CDSAATTR_SC_FLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 48)
#define MDS_CDSAATTR_SC_CUSTOMFLAGS (CSSM_DB_ATTRIBUTE_MDS_START + 49)
#define MDS_CDSAATTR_SC_SERIALNUMBER (CSSM_DB_ATTRIBUTE_MDS_START + 50)
#define MDS_CDSAATTR_DL_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 51)
#define MDS_CDSAATTR_QUERY_LIMITS (CSSM_DB_ATTRIBUTE_MDS_START + 52)
#define MDS_CDSAATTR_CONJUNCTIVE_OPS (CSSM_DB_ATTRIBUTE_MDS_START + 53)
#define MDS_CDSAATTR_RELATIONAL_OPS (CSSM_DB_ATTRIBUTE_MDS_START + 54)
#define MDS_CDSAATTR_PROTOCOL (CSSM_DB_ATTRIBUTE_MDS_START + 55)
#define MDS_CDSAATTR_CERT_TYPEFORMAT (CSSM_DB_ATTRIBUTE_MDS_START + 56)
#define MDS_CDSAATTR_CRL_TYPEFORMAT (CSSM_DB_ATTRIBUTE_MDS_START + 57)
#define MDS_CDSAATTR_CERT_FIELDNAMES (CSSM_DB_ATTRIBUTE_MDS_START + 58)
#define MDS_CDSAATTR_BUNDLE_TYPEFORMAT (CSSM_DB_ATTRIBUTE_MDS_START + 59)
#define MDS_CDSAATTR_CERT_CLASSNAME (CSSM_DB_ATTRIBUTE_MDS_START + 60)
#define MDS_CDSAATTR_ROOTCERT (CSSM_DB_ATTRIBUTE_MDS_START + 61)
#define MDS_CDSAATTR_ROOTCERT_TYPEFORMAT (CSSM_DB_ATTRIBUTE_MDS_START + 62)
#define MDS_CDSAATTR_VALUE (CSSM_DB_ATTRIBUTE_MDS_START + 63)
#define MDS_CDSAATTR_REQCREDENTIALS (CSSM_DB_ATTRIBUTE_MDS_START + 64)
#define MDS_CDSAATTR_SAMPLETYPES (CSSM_DB_ATTRIBUTE_MDS_START + 65)
#define MDS_CDSAATTR_ACLSUBJECTTYPES (CSSM_DB_ATTRIBUTE_MDS_START + 66)
#define MDS_CDSAATTR_AUTHTAGS (CSSM_DB_ATTRIBUTE_MDS_START + 67)
#define MDS_CDSAATTR_USEETAG (CSSM_DB_ATTRIBUTE_MDS_START + 68)
#define MDS_CDSAATTR_RETRIEVALMODE (CSSM_DB_ATTRIBUTE_MDS_START + 69)
#define MDS_CDSAATTR_OID (CSSM_DB_ATTRIBUTE_MDS_START + 70)
#define MDS_CDSAATTR_XLATIONTYPEFORMAT (CSSM_DB_ATTRIBUTE_MDS_START + 71)
#define MDS_CDSAATTR_DEFAULT_TEMPLATE_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 72)
#define MDS_CDSAATTR_TEMPLATE_FIELD_NAMES (CSSM_DB_ATTRIBUTE_MDS_START + 73)
#define MDS_CDSAATTR_AUTHORITY_REQUEST_TYPE (CSSM_DB_ATTRIBUTE_MDS_START + 74)
#define MDS_OBJECT_NUM_RELATIONS (1)
#define MDS_OBJECT_NUM_ATTRIBUTES (4)
#define MDS_CDSADIR_NUM_RELATIONS (19)
#define MDS_CDSADIR_CSSM_NUM_ATTRIBUTES (4)
#define MDS_CDSADIR_EMM_NUM_ATTRIBUTES (11)
#define MDS_CDSADIR_COMMON_NUM_ATTRIBUTES (9)
#define MDS_CDSADIR_CSP_PRIMARY_NUM_ATTRIBUTES (13)
#define MDS_CDSADIR_CSP_CAPABILITY_NUM_ATTRIBUTES (9)
#define MDS_CDSADIR_CSP_ENCAPSULATED_PRODUCT_NUM_ATTRIBUTES (16)
#define MDS_CDSADIR_CSP_SC_INFO_NUM_ATTRIBUTES (9)
#define MDS_CDSADIR_DL_PRIMARY_NUM_ATTRIBUTES (13)
#define MDS_CDSADIR_DL_ENCAPSULATED_PRODUCT_NUM_ATTRIBUTES (10)
#define MDS_CDSADIR_CL_PRIMARY_NUM_ATTRIBUTES (13)
#define MDS_CDSADIR_CL_ENCAPSULATED_PRODUCT_NUM_ATTRIBUTES (8)
#define MDS_CDSADIR_TP_PRIMARY_NUM_ATTRIBUTES (10)
#define MDS_CDSADIR_TP_OIDS_NUM_ATTRIBUTES (4)
#define MDS_CDSADIR_TP_ENCAPSULATED_PRODUCT_NUM_ATTRIBUTES (14)
#define MDS_CDSADIR_EMM_PRIMARY_NUM_ATTRIBUTES (9)
#define MDS_CDSADIR_AC_PRIMARY_NUM_ATTRIBUTES (6)
#define MDS_CDSADIR_SCHEMA_RELATONS_NUM_ATTRIBUTES (2)
#define MDS_CDSADIR_SCHEMA_ATTRIBUTES_NUM_ATTRIBUTES (6)
#define MDS_CDSADIR_SCHEMA_INDEXES_NUM_ATTRIBUTES (5)
# 43 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/oidsalg.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/oidsalg.h" 3
#define _OIDS_ALG_H_
extern const CSSM_OID
CSSMOID_MD2,
CSSMOID_MD4,
CSSMOID_MD5,
CSSMOID_RSA,
CSSMOID_MD2WithRSA,
CSSMOID_MD4WithRSA,
CSSMOID_MD5WithRSA,
CSSMOID_SHA1WithRSA,
CSSMOID_SHA224WithRSA,
CSSMOID_SHA256WithRSA,
CSSMOID_SHA384WithRSA,
CSSMOID_SHA512WithRSA,
CSSMOID_SHA1WithRSA_OIW,
CSSMOID_RSAWithOAEP,
CSSMOID_OAEP_MGF1,
CSSMOID_OAEP_ID_PSPECIFIED,
CSSMOID_DES_CBC,
CSSMOID_ANSI_DH_PUB_NUMBER,
CSSMOID_ANSI_DH_STATIC,
CSSMOID_ANSI_DH_ONE_FLOW,
CSSMOID_ANSI_DH_EPHEM,
CSSMOID_ANSI_DH_HYBRID1,
CSSMOID_ANSI_DH_HYBRID2,
CSSMOID_ANSI_DH_HYBRID_ONEFLOW,
CSSMOID_ANSI_MQV1,
CSSMOID_ANSI_MQV2,
CSSMOID_ANSI_DH_STATIC_SHA1,
CSSMOID_ANSI_DH_ONE_FLOW_SHA1,
CSSMOID_ANSI_DH_EPHEM_SHA1,
CSSMOID_ANSI_DH_HYBRID1_SHA1,
CSSMOID_ANSI_DH_HYBRID2_SHA1,
CSSMOID_ANSI_MQV1_SHA1,
CSSMOID_ANSI_MQV2_SHA1,
CSSMOID_PKCS3,
CSSMOID_DH,
CSSMOID_DSA,
CSSMOID_DSA_CMS,
CSSMOID_DSA_JDK,
CSSMOID_SHA1WithDSA,
CSSMOID_SHA1WithDSA_CMS,
CSSMOID_SHA1WithDSA_JDK,
CSSMOID_SHA1,
CSSMOID_SHA224,
CSSMOID_SHA256,
CSSMOID_SHA384,
CSSMOID_SHA512,
CSSMOID_APPLE_ISIGN,
CSSMOID_APPLE_X509_BASIC,
CSSMOID_APPLE_TP_SSL,
CSSMOID_APPLE_TP_LOCAL_CERT_GEN,
CSSMOID_APPLE_TP_CSR_GEN,
CSSMOID_APPLE_TP_REVOCATION_CRL,
CSSMOID_APPLE_TP_REVOCATION_OCSP,
CSSMOID_APPLE_TP_SMIME,
CSSMOID_APPLE_TP_EAP,
CSSMOID_APPLE_TP_CODE_SIGN,
CSSMOID_APPLE_TP_SW_UPDATE_SIGNING,
CSSMOID_APPLE_TP_IP_SEC,
CSSMOID_APPLE_TP_ICHAT,
CSSMOID_APPLE_TP_RESOURCE_SIGN,
CSSMOID_APPLE_TP_PKINIT_CLIENT,
CSSMOID_APPLE_TP_PKINIT_SERVER,
CSSMOID_APPLE_TP_CODE_SIGNING,
CSSMOID_APPLE_TP_PACKAGE_SIGNING,
CSSMOID_APPLE_FEE,
CSSMOID_APPLE_ASC,
CSSMOID_APPLE_FEE_MD5,
CSSMOID_APPLE_FEE_SHA1,
CSSMOID_APPLE_FEED,
CSSMOID_APPLE_FEEDEXP,
CSSMOID_APPLE_ECDSA,
CSSMOID_DOTMAC_CERT,
CSSMOID_DOTMAC_CERT_REQ,
CSSMOID_DOTMAC_CERT_REQ_IDENTITY,
CSSMOID_DOTMAC_CERT_REQ_EMAIL_SIGN,
CSSMOID_DOTMAC_CERT_REQ_EMAIL_ENCRYPT,
CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_LIST,
CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_STORE,
CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_FETCH,
CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_REMOVE,
CSSMOID_DOTMAC_CERT_REQ_SHARED_SERVICES,
CSSMOID_DOTMAC_CERT_REQ_VALUE_USERNAME,
CSSMOID_DOTMAC_CERT_REQ_VALUE_PASSWORD,
CSSMOID_DOTMAC_CERT_REQ_VALUE_HOSTNAME,
CSSMOID_DOTMAC_CERT_REQ_VALUE_RENEW,
CSSMOID_DOTMAC_CERT_REQ_VALUE_ASYNC,
CSSMOID_DOTMAC_CERT_REQ_VALUE_IS_PENDING,
CSSMOID_PKCS5_DIGEST_ALG,
CSSMOID_PKCS5_ENCRYPT_ALG,
CSSMOID_PKCS5_HMAC_SHA1,
CSSMOID_PKCS5_pbeWithMD2AndDES,
CSSMOID_PKCS5_pbeWithMD2AndRC2,
CSSMOID_PKCS5_pbeWithMD5AndDES,
CSSMOID_PKCS5_pbeWithMD5AndRC2,
CSSMOID_PKCS5_pbeWithSHA1AndDES,
CSSMOID_PKCS5_pbeWithSHA1AndRC2,
CSSMOID_PKCS5_PBKDF2,
CSSMOID_PKCS5_PBES2,
CSSMOID_PKCS5_PBMAC1,
CSSMOID_PKCS5_RC2_CBC,
CSSMOID_PKCS5_DES_EDE3_CBC,
CSSMOID_PKCS5_RC5_CBC,
CSSMOID_PKCS12_pbeWithSHAAnd128BitRC4,
CSSMOID_PKCS12_pbeWithSHAAnd40BitRC4,
CSSMOID_PKCS12_pbeWithSHAAnd3Key3DESCBC,
CSSMOID_PKCS12_pbeWithSHAAnd2Key3DESCBC,
CSSMOID_PKCS12_pbeWithSHAAnd128BitRC2CBC,
CSSMOID_PKCS12_pbewithSHAAnd40BitRC2CBC;
# 44 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/oidsattr.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/oidsattr.h" 3
#define _CDSA_OIDSATTR_H_
# 1 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define _OIDSBASE_H_ 1
#define INTEL 96, 134, 72, 1, 134, 248, 77
#define INTEL_LENGTH 7
#define INTEL_CDSASECURITY INTEL, 2
#define INTEL_CDSASECURITY_LENGTH (INTEL_LENGTH + 1)
#define INTEL_SEC_FORMATS INTEL_CDSASECURITY, 1
#define INTEL_SEC_FORMATS_LENGTH (INTEL_CDSASECURITY_LENGTH + 1)
#define INTEL_SEC_ALGS INTEL_CDSASECURITY, 2, 5
#define INTEL_SEC_ALGS_LENGTH (INTEL_CDSASECURITY_LENGTH + 2)
#define INTEL_SEC_OBJECT_BUNDLE INTEL_SEC_FORMATS, 4
#define INTEL_SEC_OBJECT_BUNDLE_LENGTH (INTEL_SEC_FORMATS_LENGTH + 1)
#define INTEL_CERT_AND_PRIVATE_KEY_2_0 INTEL_SEC_OBJECT_BUNDLE, 1
#define INTEL_CERT_AND_PRIVATE_KEY_2_0_LENGTH (INTEL_SEC_OBJECT_BUNDLE_LENGTH + 1)
#define INTEL_X509_C_DATATYPE 1
#define INTEL_X509_LDAPSTRING_DATATYPE 2
#define OID_ISO_CCITT_DIR_SERVICE 85
#define OID_DS OID_ISO_CCITT_DIR_SERVICE
#define OID_DS_LENGTH 1
#define OID_ATTR_TYPE OID_DS, 4
#define OID_ATTR_TYPE_LENGTH OID_DS_LENGTH + 1
#define OID_EXTENSION OID_DS, 29
#define OID_EXTENSION_LENGTH OID_DS_LENGTH + 1
#define OID_ISO_STANDARD 40
#define OID_ISO_MEMBER 42
#define OID_US OID_ISO_MEMBER, 134, 72
#define OID_ISO_IDENTIFIED_ORG 43
#define OID_OSINET OID_ISO_IDENTIFIED_ORG, 4
#define OID_GOSIP OID_ISO_IDENTIFIED_ORG, 5
#define OID_DOD OID_ISO_IDENTIFIED_ORG, 6
#define OID_OIW OID_ISO_IDENTIFIED_ORG, 14
#define OID_ISO_MEMBER_LENGTH 1
#define OID_US_LENGTH OID_ISO_MEMBER_LENGTH + 2
#define OID_RSA OID_US, 134, 247, 13
#define OID_RSA_LENGTH OID_US_LENGTH + 3
#define OID_RSA_HASH OID_RSA, 2
#define OID_RSA_HASH_LENGTH OID_RSA_LENGTH + 1
#define OID_RSA_ENCRYPT OID_RSA, 3
#define OID_RSA_ENCRYPT_LENGTH OID_RSA_LENGTH + 1
#define OID_PKCS OID_RSA, 1
#define OID_PKCS_LENGTH OID_RSA_LENGTH +1
#define OID_PKCS_1 OID_PKCS, 1
#define OID_PKCS_1_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_2 OID_PKCS, 2
#define OID_PKCS_3 OID_PKCS, 3
#define OID_PKCS_3_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_4 OID_PKCS, 4
#define OID_PKCS_5 OID_PKCS, 5
#define OID_PKCS_5_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_6 OID_PKCS, 6
#define OID_PKCS_7 OID_PKCS, 7
#define OID_PKCS_7_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_8 OID_PKCS, 8
#define OID_PKCS_9 OID_PKCS, 9
#define OID_PKCS_9_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_10 OID_PKCS, 10
#define OID_PKCS_11 OID_PKCS, 11
#define OID_PKCS_11_LENGTH OID_PKCS_LENGTH +1
#define OID_PKCS_12 OID_PKCS, 12
#define OID_PKCS_12_LENGTH OID_PKCS_LENGTH +1
#define OID_ANSI_X9_42 OID_US, 206, 62, 2
#define OID_ANSI_X9_42_LEN OID_US_LENGTH + 3
#define OID_ANSI_X9_42_SCHEME OID_ANSI_X9_42, 3
#define OID_ANSI_X9_42_SCHEME_LEN OID_ANSI_X9_42_LEN + 1
#define OID_ANSI_X9_42_NAMED_SCHEME OID_ANSI_X9_42, 4
#define OID_ANSI_X9_42_NAMED_SCHEME_LEN OID_ANSI_X9_42_LEN + 1
#define OID_PKIX OID_DOD, 1, 5, 5, 7
#define OID_PKIX_LENGTH 6
#define OID_PE OID_PKIX, 1
#define OID_PE_LENGTH OID_PKIX_LENGTH + 1
#define OID_QT OID_PKIX, 2
#define OID_QT_LENGTH OID_PKIX_LENGTH + 1
#define OID_KP OID_PKIX, 3
#define OID_KP_LENGTH OID_PKIX_LENGTH + 1
#define OID_OTHER_NAME OID_PKIX, 8
#define OID_OTHER_NAME_LENGTH OID_PKIX_LENGTH + 1
#define OID_PDA OID_PKIX, 9
#define OID_PDA_LENGTH OID_PKIX_LENGTH + 1
#define OID_QCS OID_PKIX, 11
#define OID_QCS_LENGTH OID_PKIX_LENGTH + 1
#define OID_AD OID_PKIX, 48
#define OID_AD_LENGTH OID_PKIX_LENGTH + 1
#define OID_AD_OCSP OID_AD, 1
#define OID_AD_OCSP_LENGTH OID_AD_LENGTH + 1
#define OID_ETSI 0x04, 0x00
#define OID_ETSI_LENGTH 2
#define OID_ETSI_QCS 0x04, 0x00, 0x8E, 0x46, 0x01
#define OID_ETSI_QCS_LENGTH 5
#define OID_OIW_SECSIG OID_OIW, 3
#define OID_OIW_LENGTH 2
#define OID_OIW_SECSIG_LENGTH OID_OIW_LENGTH +1
#define OID_OIW_ALGORITHM OID_OIW_SECSIG, 2
#define OID_OIW_ALGORITHM_LENGTH OID_OIW_SECSIG_LENGTH +1
#define OID_NIST_HASHALG 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02
#define OID_NIST_HASHALG_LENGTH 8
#define OID_KERBv5 0x2b, 6, 1, 5, 2
#define OID_KERBv5_LEN 5
#define OID_KERBv5_PKINIT OID_KERBv5, 3
#define OID_KERBv5_PKINIT_LEN OID_KERBv5_LEN + 1
# 168 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_OID OID_US, 0x86, 0xf7, 0x63
#define APPLE_OID_LENGTH OID_US_LENGTH + 3
#define APPLE_ADS_OID APPLE_OID, 0x64
#define APPLE_ADS_OID_LENGTH APPLE_OID_LENGTH + 1
# 187 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_TP_OID APPLE_ADS_OID, 1
#define APPLE_TP_OID_LENGTH APPLE_ADS_OID_LENGTH + 1
# 197 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_ALG_OID APPLE_ADS_OID, 2
#define APPLE_ALG_OID_LENGTH APPLE_ADS_OID_LENGTH + 1
#define APPLE_DOTMAC_CERT_OID APPLE_ADS_OID, 3
#define APPLE_DOTMAC_CERT_OID_LENGTH APPLE_ADS_OID_LENGTH + 1
# 215 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_DOTMAC_CERT_REQ_OID APPLE_DOTMAC_CERT_OID, 1
#define APPLE_DOTMAC_CERT_REQ_OID_LENGTH APPLE_DOTMAC_CERT_OID_LENGTH + 1
# 225 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_DOTMAC_CERT_EXTEN_OID APPLE_DOTMAC_CERT_OID, 2
#define APPLE_DOTMAC_CERT_EXTEN_OID_LENGTH APPLE_DOTMAC_CERT_OID_LENGTH + 1
# 235 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_DOTMAC_CERT_REQ_VALUE_OID APPLE_DOTMAC_CERT_OID, 3
#define APPLE_DOTMAC_CERT_REQ_VALUE_OID_LENGTH APPLE_DOTMAC_CERT_OID_LENGTH + 1
# 245 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define APPLE_EKU_OID APPLE_ADS_OID, 4
#define APPLE_EKU_OID_LENGTH APPLE_ADS_OID_LENGTH + 1
#define APPLE_EKU_CODE_SIGNING APPLE_EKU_OID, 1
#define APPLE_EKU_CODE_SIGNING_LENGTH APPLE_EKU_OID_LENGTH + 1
#define APPLE_CERT_POLICIES APPLE_ADS_OID, 5
#define APPLE_CERT_POLICIES_LENGTH APPLE_ADS_OID_LENGTH + 1
#define NETSCAPE_BASE_OID 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42
#define NETSCAPE_BASE_OID_LEN 7
# 280 "/System/Library/Frameworks/Security.framework/Headers/oidsbase.h" 3
#define NETSCAPE_CERT_EXTEN NETSCAPE_BASE_OID, 0x01
#define NETSCAPE_CERT_EXTEN_LENGTH NETSCAPE_BASE_OID_LEN + 1
#define NETSCAPE_CERT_POLICY NETSCAPE_BASE_OID, 0x04
#define NETSCAPE_CERT_POLICY_LENGTH NETSCAPE_BASE_OID_LEN + 1
# 31 "/System/Library/Frameworks/Security.framework/Headers/oidsattr.h" 2 3
extern const CSSM_OID
CSSMOID_ObjectClass,
CSSMOID_AliasedEntryName,
CSSMOID_KnowledgeInformation,
CSSMOID_CommonName,
CSSMOID_Surname,
CSSMOID_SerialNumber,
CSSMOID_CountryName,
CSSMOID_LocalityName,
CSSMOID_StateProvinceName,
CSSMOID_CollectiveStateProvinceName,
CSSMOID_StreetAddress,
CSSMOID_CollectiveStreetAddress,
CSSMOID_OrganizationName,
CSSMOID_CollectiveOrganizationName,
CSSMOID_OrganizationalUnitName,
CSSMOID_CollectiveOrganizationalUnitName,
CSSMOID_Title,
CSSMOID_Description,
CSSMOID_SearchGuide,
CSSMOID_BusinessCategory,
CSSMOID_PostalAddress,
CSSMOID_CollectivePostalAddress,
CSSMOID_PostalCode,
CSSMOID_CollectivePostalCode,
CSSMOID_PostOfficeBox,
CSSMOID_CollectivePostOfficeBox,
CSSMOID_PhysicalDeliveryOfficeName,
CSSMOID_CollectivePhysicalDeliveryOfficeName,
CSSMOID_TelephoneNumber,
CSSMOID_CollectiveTelephoneNumber,
CSSMOID_TelexNumber,
CSSMOID_CollectiveTelexNumber,
CSSMOID_TelexTerminalIdentifier,
CSSMOID_CollectiveTelexTerminalIdentifier,
CSSMOID_FacsimileTelephoneNumber,
CSSMOID_CollectiveFacsimileTelephoneNumber,
CSSMOID_X_121Address,
CSSMOID_InternationalISDNNumber,
CSSMOID_CollectiveInternationalISDNNumber,
CSSMOID_RegisteredAddress,
CSSMOID_DestinationIndicator,
CSSMOID_PreferredDeliveryMethod,
CSSMOID_PresentationAddress,
CSSMOID_SupportedApplicationContext,
CSSMOID_Member,
CSSMOID_Owner,
CSSMOID_RoleOccupant,
CSSMOID_SeeAlso,
CSSMOID_UserPassword,
CSSMOID_UserCertificate,
CSSMOID_CACertificate,
CSSMOID_AuthorityRevocationList,
CSSMOID_CertificateRevocationList,
CSSMOID_CrossCertificatePair,
CSSMOID_Name,
CSSMOID_GivenName,
CSSMOID_Initials,
CSSMOID_GenerationQualifier,
CSSMOID_UniqueIdentifier,
CSSMOID_DNQualifier,
CSSMOID_EnhancedSearchGuide,
CSSMOID_ProtocolInformation,
CSSMOID_DistinguishedName,
CSSMOID_UniqueMember,
CSSMOID_HouseIdentifier;
extern const CSSM_OID
CSSMOID_EmailAddress,
CSSMOID_UnstructuredName,
CSSMOID_ContentType,
CSSMOID_MessageDigest,
CSSMOID_SigningTime,
CSSMOID_CounterSignature,
CSSMOID_ChallengePassword,
CSSMOID_UnstructuredAddress,
CSSMOID_ExtendedCertificateAttributes;
extern const CSSM_OID
CSSMOID_QT_CPS,
CSSMOID_QT_UNOTICE,
CSSMOID_AD_OCSP,
CSSMOID_AD_CA_ISSUERS,
CSSMOID_AD_TIME_STAMPING,
CSSMOID_AD_CA_REPOSITORY,
CSSMOID_PDA_DATE_OF_BIRTH,
CSSMOID_PDA_PLACE_OF_BIRTH,
CSSMOID_PDA_GENDER,
CSSMOID_PDA_COUNTRY_CITIZEN,
CSSMOID_PDA_COUNTRY_RESIDENCE,
CSSMOID_OID_QCS_SYNTAX_V1,
CSSMOID_OID_QCS_SYNTAX_V2;
extern const CSSM_OID
CSSMOID_ETSI_QCS_QC_COMPLIANCE,
CSSMOID_ETSI_QCS_QC_LIMIT_VALUE,
CSSMOID_ETSI_QCS_QC_RETENTION,
CSSMOID_ETSI_QCS_QC_SSCD;
extern const CSSM_OID
CSSMOID_PKCS7_Data,
CSSMOID_PKCS7_SignedData,
CSSMOID_PKCS7_EnvelopedData,
CSSMOID_PKCS7_SignedAndEnvelopedData,
CSSMOID_PKCS7_DigestedData,
CSSMOID_PKCS7_EncryptedData,
CSSMOID_PKCS7_DataWithAttributes,
CSSMOID_PKCS7_EncryptedPrivateKeyInfo,
CSSMOID_PKCS9_FriendlyName,
CSSMOID_PKCS9_LocalKeyId,
CSSMOID_PKCS9_CertTypes,
CSSMOID_PKCS9_CrlTypes,
CSSMOID_PKCS9_X509Certificate,
CSSMOID_PKCS9_SdsiCertificate,
CSSMOID_PKCS9_X509Crl,
CSSMOID_PKCS12_keyBag,
CSSMOID_PKCS12_shroudedKeyBag,
CSSMOID_PKCS12_certBag,
CSSMOID_PKCS12_crlBag,
CSSMOID_PKCS12_secretBag,
CSSMOID_PKCS12_safeContentsBag,
CSSMOID_KERBv5_PKINIT_AUTH_DATA,
CSSMOID_KERBv5_PKINIT_DH_KEY_DATA,
CSSMOID_KERBv5_PKINIT_RKEY_DATA;
# 45 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/oidscert.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/oidscert.h" 3
#define _OIDSCERT_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/oidscert.h" 3
#define INTEL_X509V3_CERT_R08 INTEL_SEC_FORMATS, 1, 1
#define INTEL_X509V3_CERT_R08_LENGTH INTEL_SEC_FORMATS_LENGTH + 2
#define INTEL_X509V3_CERT_PRIVATE_EXTENSIONS INTEL_X509V3_CERT_R08, 50
#define INTEL_X509V3_CERT_PRIVATE_EXTENSIONS_LENGTH INTEL_X509V3_CERT_R08_LENGTH + 1
#define INTEL_X509V3_SIGN_R08 INTEL_SEC_FORMATS, 3, 2
#define INTEL_X509V3_SIGN_R08_LENGTH INTEL_SEC_FORMATS_LENGTH + 2
#define INTEL_X509_C_DATATYPE 1
#define INTEL_X509_LDAPSTRING_DATATYPE 2
extern const CSSM_OID
CSSMOID_X509V3SignedCertificate,
CSSMOID_X509V3SignedCertificateCStruct,
CSSMOID_X509V3Certificate,
CSSMOID_X509V3CertificateCStruct,
CSSMOID_X509V1Version,
CSSMOID_X509V1SerialNumber,
CSSMOID_X509V1IssuerName,
CSSMOID_X509V1IssuerNameStd,
CSSMOID_X509V1IssuerNameCStruct,
CSSMOID_X509V1IssuerNameLDAP,
CSSMOID_X509V1ValidityNotBefore,
CSSMOID_X509V1ValidityNotAfter,
CSSMOID_X509V1SubjectName,
CSSMOID_X509V1SubjectNameStd,
CSSMOID_X509V1SubjectNameCStruct,
CSSMOID_X509V1SubjectNameLDAP,
CSSMOID_CSSMKeyStruct,
CSSMOID_X509V1SubjectPublicKeyCStruct,
CSSMOID_X509V1SubjectPublicKeyAlgorithm,
CSSMOID_X509V1SubjectPublicKeyAlgorithmParameters,
CSSMOID_X509V1SubjectPublicKey,
CSSMOID_X509V1CertificateIssuerUniqueId,
CSSMOID_X509V1CertificateSubjectUniqueId,
CSSMOID_X509V3CertificateExtensionsStruct,
CSSMOID_X509V3CertificateExtensionsCStruct,
CSSMOID_X509V3CertificateNumberOfExtensions,
CSSMOID_X509V3CertificateExtensionStruct,
CSSMOID_X509V3CertificateExtensionCStruct,
CSSMOID_X509V3CertificateExtensionId,
CSSMOID_X509V3CertificateExtensionCritical,
CSSMOID_X509V3CertificateExtensionType,
CSSMOID_X509V3CertificateExtensionValue,
CSSMOID_X509V1SignatureStruct,
CSSMOID_X509V1SignatureCStruct,
CSSMOID_X509V1SignatureAlgorithm,
CSSMOID_X509V1SignatureAlgorithmTBS,
CSSMOID_X509V1SignatureAlgorithmParameters,
CSSMOID_X509V1Signature,
CSSMOID_SubjectSignatureBitmap,
CSSMOID_SubjectPicture,
CSSMOID_SubjectEmailAddress,
CSSMOID_UseExemptions;
# 111 "/System/Library/Frameworks/Security.framework/Headers/oidscert.h" 3
extern const CSSM_OID
CSSMOID_SubjectDirectoryAttributes,
CSSMOID_SubjectKeyIdentifier,
CSSMOID_KeyUsage,
CSSMOID_PrivateKeyUsagePeriod,
CSSMOID_SubjectAltName,
CSSMOID_IssuerAltName,
CSSMOID_BasicConstraints,
CSSMOID_CrlNumber,
CSSMOID_CrlReason,
CSSMOID_HoldInstructionCode,
CSSMOID_InvalidityDate,
CSSMOID_DeltaCrlIndicator,
CSSMOID_IssuingDistributionPoint,
CSSMOID_IssuingDistributionPoints,
CSSMOID_CertIssuer,
CSSMOID_NameConstraints,
CSSMOID_CrlDistributionPoints,
CSSMOID_CertificatePolicies,
CSSMOID_PolicyMappings,
CSSMOID_PolicyConstraints,
CSSMOID_AuthorityKeyIdentifier,
CSSMOID_ExtendedKeyUsage,
CSSMOID_AuthorityInfoAccess,
CSSMOID_BiometricInfo,
CSSMOID_QC_Statements,
CSSMOID_SubjectInfoAccess,
CSSMOID_ExtendedKeyUsageAny,
CSSMOID_ServerAuth,
CSSMOID_ClientAuth,
CSSMOID_ExtendedUseCodeSigning,
CSSMOID_EmailProtection,
CSSMOID_TimeStamping,
CSSMOID_OCSPSigning,
CSSMOID_KERBv5_PKINIT_KP_CLIENT_AUTH,
CSSMOID_KERBv5_PKINIT_KP_KDC,
CSSMOID_EKU_IPSec,
CSSMOID_DOTMAC_CERT_EXTENSION,
CSSMOID_DOTMAC_CERT_IDENTITY,
CSSMOID_DOTMAC_CERT_EMAIL_SIGN,
CSSMOID_DOTMAC_CERT_EMAIL_ENCRYPT,
CSSMOID_APPLE_CERT_POLICY,
CSSMOID_DOTMAC_CERT_POLICY,
CSSMOID_APPLE_EKU_CODE_SIGNING,
CSSMOID_APPLE_EKU_CODE_SIGNING_DEV,
CSSMOID_APPLE_EKU_RESOURCE_SIGNING,
CSSMOID_APPLE_EKU_ICHAT_SIGNING,
CSSMOID_APPLE_EKU_ICHAT_ENCRYPTION,
CSSMOID_APPLE_EKU_SYSTEM_IDENTITY
;
extern const CSSM_OID
CSSMOID_NetscapeCertType,
CSSMOID_NetscapeCertSequence,
CSSMOID_NetscapeSGC;
extern const CSSM_OID CSSMOID_MicrosoftSGC;
#define CE_NCT_SSL_Client 0x8000
#define CE_NCT_SSL_Server 0x4000
#define CE_NCT_SMIME 0x2000
#define CE_NCT_ObjSign 0x1000
#define CE_NCT_Reserved 0x0800
#define CE_NCT_SSL_CA 0x0400
#define CE_NCT_SMIME_CA 0x0200
#define CE_NCT_ObjSignCA 0x0100
# 47 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/oidscrl.h" 1 3
# 27 "/System/Library/Frameworks/Security.framework/Headers/oidscrl.h" 3
#define _OIDSCRL_H_ 1
# 37 "/System/Library/Frameworks/Security.framework/Headers/oidscrl.h" 3
#define INTEL_X509V2_CRL_R08 INTEL_SEC_FORMATS, 2, 1
#define INTEL_X509V2_CRL_R08_LENGTH INTEL_SEC_FORMATS_LENGTH+2
extern const CSSM_OID
CSSMOID_X509V2CRLSignedCrlStruct,
CSSMOID_X509V2CRLSignedCrlCStruct,
CSSMOID_X509V2CRLTbsCertListStruct,
CSSMOID_X509V2CRLTbsCertListCStruct,
CSSMOID_X509V2CRLVersion,
CSSMOID_X509V1CRLIssuerStruct,
CSSMOID_X509V1CRLIssuerNameCStruct,
CSSMOID_X509V1CRLIssuerNameLDAP,
CSSMOID_X509V1CRLThisUpdate,
CSSMOID_X509V1CRLNextUpdate,
CSSMOID_X509V1CRLRevokedCertificatesStruct,
CSSMOID_X509V1CRLRevokedCertificatesCStruct,
CSSMOID_X509V1CRLNumberOfRevokedCertEntries,
CSSMOID_X509V1CRLRevokedEntryStruct,
CSSMOID_X509V1CRLRevokedEntryCStruct,
CSSMOID_X509V1CRLRevokedEntrySerialNumber,
CSSMOID_X509V1CRLRevokedEntryRevocationDate,
CSSMOID_X509V2CRLRevokedEntryAllExtensionsStruct,
CSSMOID_X509V2CRLRevokedEntryAllExtensionsCStruct,
CSSMOID_X509V2CRLRevokedEntryNumberOfExtensions,
CSSMOID_X509V2CRLRevokedEntrySingleExtensionStruct,
CSSMOID_X509V2CRLRevokedEntrySingleExtensionCStruct,
CSSMOID_X509V2CRLRevokedEntryExtensionId,
CSSMOID_X509V2CRLRevokedEntryExtensionCritical,
CSSMOID_X509V2CRLRevokedEntryExtensionType,
CSSMOID_X509V2CRLRevokedEntryExtensionValue,
CSSMOID_X509V2CRLAllExtensionsStruct,
CSSMOID_X509V2CRLAllExtensionsCStruct,
CSSMOID_X509V2CRLNumberOfExtensions,
CSSMOID_X509V2CRLSingleExtensionStruct,
CSSMOID_X509V2CRLSingleExtensionCStruct,
CSSMOID_X509V2CRLExtensionId,
CSSMOID_X509V2CRLExtensionCritical,
CSSMOID_X509V2CRLExtensionType,
CSSMOID_PKIX_OCSP,
CSSMOID_PKIX_OCSP_BASIC,
CSSMOID_PKIX_OCSP_NONCE,
CSSMOID_PKIX_OCSP_CRL,
CSSMOID_PKIX_OCSP_RESPONSE,
CSSMOID_PKIX_OCSP_NOCHECK,
CSSMOID_PKIX_OCSP_ARCHIVE_CUTOFF,
CSSMOID_PKIX_OCSP_SERVICE_LOCATOR;
# 48 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 1 3
# 31 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
#define _SECURITY_SECACCESS_H_
# 47 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
CFTypeID SecAccessGetTypeID(void);
# 62 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
OSStatus SecAccessCreate(CFStringRef descriptor, CFArrayRef trustedlist, SecAccessRef *accessRef);
# 73 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
OSStatus SecAccessCreateFromOwnerAndACL(const CSSM_ACL_OWNER_PROTOTYPE *owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls, SecAccessRef *accessRef);
# 84 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
OSStatus SecAccessGetOwnerAndACL(SecAccessRef accessRef, CSSM_ACL_OWNER_PROTOTYPE_PTR *owner, uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls);
# 93 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
OSStatus SecAccessCopyACLList(SecAccessRef accessRef, CFArrayRef *aclList);
# 103 "/System/Library/Frameworks/Security.framework/Headers/SecAccess.h" 3
OSStatus SecAccessCopySelectedACLList(SecAccessRef accessRef, CSSM_ACL_AUTHORIZATION_TAG action, CFArrayRef *aclList);
# 52 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
#define _SECURITY_SECACL_H_
# 47 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
CFTypeID SecACLGetTypeID(void);
# 59 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
OSStatus SecACLCreateFromSimpleContents(SecAccessRef access,
CFArrayRef applicationList,
CFStringRef description, const CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR *promptSelector,
SecACLRef *newAcl);
OSStatus SecACLRemove(SecACLRef aclRef);
# 81 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
OSStatus SecACLCopySimpleContents(SecACLRef acl,
CFArrayRef *applicationList,
CFStringRef *description, CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR *promptSelector);
# 94 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
OSStatus SecACLSetSimpleContents(SecACLRef acl,
CFArrayRef applicationList,
CFStringRef description, const CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR *promptSelector);
# 106 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
OSStatus SecACLGetAuthorizations(SecACLRef acl,
CSSM_ACL_AUTHORIZATION_TAG *tags, uint32 *tagCount);
# 117 "/System/Library/Frameworks/Security.framework/Headers/SecACL.h" 3
OSStatus SecACLSetAuthorizations(SecACLRef acl,
CSSM_ACL_AUTHORIZATION_TAG *tags, uint32 tagCount);
# 53 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 1 3
# 32 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
#define _SECURITY_SECCERTIFICATE_H_
# 58 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
enum
{
kSecSubjectItemAttr = 'subj',
kSecIssuerItemAttr = 'issu',
kSecSerialNumberItemAttr = 'snbr',
kSecPublicKeyHashItemAttr = 'hpky',
kSecSubjectKeyIdentifierItemAttr = 'skid',
kSecCertTypeItemAttr = 'ctyp',
kSecCertEncodingItemAttr = 'cenc'
};
CFTypeID SecCertificateGetTypeID(void);
#pragma mark ---- Certificate Operations ----
# 87 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateCreateFromData(const CSSM_DATA *data, CSSM_CERT_TYPE type, CSSM_CERT_ENCODING encoding, SecCertificateRef *certificate);
# 97 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateAddToKeychain(SecCertificateRef certificate, SecKeychainRef keychain);
# 106 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetData(SecCertificateRef certificate, CSSM_DATA_PTR data);
# 115 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetType(SecCertificateRef certificate, CSSM_CERT_TYPE *certificateType);
# 131 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetSubject(SecCertificateRef certificate, const CSSM_X509_NAME **subject);
# 147 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetIssuer(SecCertificateRef certificate, const CSSM_X509_NAME **issuer);
# 156 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetCLHandle(SecCertificateRef certificate, CSSM_CL_HANDLE *clHandle);
# 165 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateGetAlgorithmID(SecCertificateRef certificate, const CSSM_X509_ALGORITHM_IDENTIFIER **algid);
# 174 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateCopyPublicKey(SecCertificateRef certificate, SecKeyRef *key);
# 183 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateCopyCommonName(SecCertificateRef certificate, CFStringRef *commonName);
# 192 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateCopyEmailAddresses(SecCertificateRef certificate, CFArrayRef *emailAddresses);
# 203 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateCopyPreference(CFStringRef name, CSSM_KEYUSE keyUsage, SecCertificateRef *certificate);
# 215 "/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h" 3
OSStatus SecCertificateSetPreference(SecCertificateRef certificate, CFStringRef name, CSSM_KEYUSE keyUsage, CFDateRef date);
# 54 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
#define _SECURITY_SECIDENTITY_H_
# 47 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
CFTypeID SecIdentityGetTypeID(void);
# 57 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentityCreateWithCertificate(
CFTypeRef keychainOrArray,
SecCertificateRef certificateRef,
SecIdentityRef *identityRef);
# 69 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentityCopyCertificate(
SecIdentityRef identityRef,
SecCertificateRef *certificateRef);
# 80 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentityCopyPrivateKey(
SecIdentityRef identityRef,
SecKeyRef *privateKeyRef);
# 94 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentityCopyPreference(CFStringRef name, CSSM_KEYUSE keyUsage, CFArrayRef validIssuers, SecIdentityRef *identity);
# 104 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentitySetPreference(SecIdentityRef identity, CFStringRef name, CSSM_KEYUSE keyUsage);
# 124 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentityCopySystemIdentity(
CFStringRef domain,
SecIdentityRef *idRef,
CFStringRef *actualDomain);
# 142 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
OSStatus SecIdentitySetSystemIdentity(
CFStringRef domain,
SecIdentityRef idRef);
# 154 "/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h" 3
extern const CFStringRef kSecIdentityDomainDefault;
extern const CFStringRef kSecIdentityDomainKerberosKDC;
# 55 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecIdentitySearch.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecIdentitySearch.h" 3
#define _SECURITY_SECIDENTITYSEARCH_H_
# 48 "/System/Library/Frameworks/Security.framework/Headers/SecIdentitySearch.h" 3
typedef struct OpaqueSecIdentitySearchRef *SecIdentitySearchRef;
CFTypeID SecIdentitySearchGetTypeID(void);
# 66 "/System/Library/Frameworks/Security.framework/Headers/SecIdentitySearch.h" 3
OSStatus SecIdentitySearchCreate(CFTypeRef keychainOrArray, CSSM_KEYUSE keyUsage, SecIdentitySearchRef *searchRef);
# 75 "/System/Library/Frameworks/Security.framework/Headers/SecIdentitySearch.h" 3
OSStatus SecIdentitySearchCopyNext(SecIdentitySearchRef searchRef, SecIdentityRef *identity);
# 56 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 1 3
# 32 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
#define _SECURITY_SECKEY_H_
# 110 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
enum
{
kSecKeyKeyClass = 0,
kSecKeyPrintName = 1,
kSecKeyAlias = 2,
kSecKeyPermanent = 3,
kSecKeyPrivate = 4,
kSecKeyModifiable = 5,
kSecKeyLabel = 6,
kSecKeyApplicationTag = 7,
kSecKeyKeyCreator = 8,
kSecKeyKeyType = 9,
kSecKeyKeySizeInBits = 10,
kSecKeyEffectiveKeySize = 11,
kSecKeyStartDate = 12,
kSecKeyEndDate = 13,
kSecKeySensitive = 14,
kSecKeyAlwaysSensitive = 15,
kSecKeyExtractable = 16,
kSecKeyNeverExtractable = 17,
kSecKeyEncrypt = 18,
kSecKeyDecrypt = 19,
kSecKeyDerive = 20,
kSecKeySign = 21,
kSecKeyVerify = 22,
kSecKeySignRecover = 23,
kSecKeyVerifyRecover = 24,
kSecKeyWrap = 25,
kSecKeyUnwrap = 26
};
typedef uint32 SecCredentialType;
# 154 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
enum
{
kSecCredentialTypeDefault = 0,
kSecCredentialTypeWithUI,
kSecCredentialTypeNoUI
};
CFTypeID SecKeyGetTypeID(void);
# 185 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
OSStatus SecKeyCreatePair(
SecKeychainRef keychainRef,
CSSM_ALGORITHMS algorithm,
uint32 keySizeInBits,
CSSM_CC_HANDLE contextHandle,
CSSM_KEYUSE publicKeyUsage,
uint32 publicKeyAttr,
CSSM_KEYUSE privateKeyUsage,
uint32 privateKeyAttr,
SecAccessRef initialAccess,
SecKeyRef* publicKey,
SecKeyRef* privateKey);
# 211 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
OSStatus SecKeyGenerate(
SecKeychainRef keychainRef,
CSSM_ALGORITHMS algorithm,
uint32 keySizeInBits,
CSSM_CC_HANDLE contextHandle,
CSSM_KEYUSE keyUsage,
uint32 keyAttr,
SecAccessRef initialAccess,
SecKeyRef* keyRef);
# 229 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
OSStatus SecKeyGetCSSMKey(SecKeyRef key, const CSSM_KEY **cssmKey);
# 238 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
OSStatus SecKeyGetCSPHandle(SecKeyRef keyRef, CSSM_CSP_HANDLE *cspHandle);
# 249 "/System/Library/Frameworks/Security.framework/Headers/SecKey.h" 3
OSStatus SecKeyGetCredentials(
SecKeyRef keyRef,
CSSM_ACL_AUTHORIZATION_TAG operation,
SecCredentialType credentialType,
const CSSM_ACCESS_CREDENTIALS **outCredentials);
# 57 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
#define _SECURITY_SECKEYCHAIN_H_
# 47 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
enum
{
kSecUnlockStateStatus = 1,
kSecReadPermStatus = 2,
kSecWritePermStatus = 4
};
#define SEC_KEYCHAIN_SETTINGS_VERS1 1
# 65 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
struct SecKeychainSettings
{
UInt32 version;
Boolean lockOnSleep;
Boolean useLockInterval;
UInt32 lockInterval;
};
typedef struct SecKeychainSettings SecKeychainSettings;
typedef FourCharCode SecAuthenticationType;
# 94 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
#define AUTH_TYPE_FIX_(x) ((x >> 24) | ((x >> 8) & 0xff00) | ((x << 8) & 0xff0000) | (x & 0xff) << 24)
enum
{
kSecAuthenticationTypeNTLM = (('ntlm' >> 24) | (('ntlm' >> 8) & 0xff00) | (('ntlm' << 8) & 0xff0000) | ('ntlm' & 0xff) << 24),
kSecAuthenticationTypeMSN = (('msna' >> 24) | (('msna' >> 8) & 0xff00) | (('msna' << 8) & 0xff0000) | ('msna' & 0xff) << 24),
kSecAuthenticationTypeDPA = (('dpaa' >> 24) | (('dpaa' >> 8) & 0xff00) | (('dpaa' << 8) & 0xff0000) | ('dpaa' & 0xff) << 24),
kSecAuthenticationTypeRPA = (('rpaa' >> 24) | (('rpaa' >> 8) & 0xff00) | (('rpaa' << 8) & 0xff0000) | ('rpaa' & 0xff) << 24),
kSecAuthenticationTypeHTTPBasic = (('http' >> 24) | (('http' >> 8) & 0xff00) | (('http' << 8) & 0xff0000) | ('http' & 0xff) << 24),
kSecAuthenticationTypeHTTPDigest = (('httd' >> 24) | (('httd' >> 8) & 0xff00) | (('httd' << 8) & 0xff0000) | ('httd' & 0xff) << 24),
kSecAuthenticationTypeHTMLForm = (('form' >> 24) | (('form' >> 8) & 0xff00) | (('form' << 8) & 0xff0000) | ('form' & 0xff) << 24),
kSecAuthenticationTypeDefault = (('dflt' >> 24) | (('dflt' >> 8) & 0xff00) | (('dflt' << 8) & 0xff0000) | ('dflt' & 0xff) << 24),
kSecAuthenticationTypeAny = ((0 >> 24) | ((0 >> 8) & 0xff00) | ((0 << 8) & 0xff0000) | (0 & 0xff) << 24)
};
typedef FourCharCode SecProtocolType;
# 157 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
enum
{
kSecProtocolTypeFTP = 'ftp ',
kSecProtocolTypeFTPAccount = 'ftpa',
kSecProtocolTypeHTTP = 'http',
kSecProtocolTypeIRC = 'irc ',
kSecProtocolTypeNNTP = 'nntp',
kSecProtocolTypePOP3 = 'pop3',
kSecProtocolTypeSMTP = 'smtp',
kSecProtocolTypeSOCKS = 'sox ',
kSecProtocolTypeIMAP = 'imap',
kSecProtocolTypeLDAP = 'ldap',
kSecProtocolTypeAppleTalk = 'atlk',
kSecProtocolTypeAFP = 'afp ',
kSecProtocolTypeTelnet = 'teln',
kSecProtocolTypeSSH = 'ssh ',
kSecProtocolTypeFTPS = 'ftps',
kSecProtocolTypeHTTPS = 'htps',
kSecProtocolTypeHTTPProxy = 'htpx',
kSecProtocolTypeHTTPSProxy = 'htsx',
kSecProtocolTypeFTPProxy = 'ftpx',
kSecProtocolTypeCIFS = 'cifs',
kSecProtocolTypeSMB = 'smb ',
kSecProtocolTypeRTSP = 'rtsp',
kSecProtocolTypeRTSPProxy = 'rtsx',
kSecProtocolTypeDAAP = 'daap',
kSecProtocolTypeEPPC = 'eppc',
kSecProtocolTypeIPP = 'ipp ',
kSecProtocolTypeNNTPS = 'ntps',
kSecProtocolTypeLDAPS = 'ldps',
kSecProtocolTypeTelnetS = 'tels',
kSecProtocolTypeIMAPS = 'imps',
kSecProtocolTypeIRCS = 'ircs',
kSecProtocolTypePOP3S = 'pops',
kSecProtocolTypeCVSpserver = 'cvsp',
kSecProtocolTypeSVN = 'svn ',
kSecProtocolTypeAny = 0
};
typedef UInt32 SecKeychainEvent;
# 216 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
enum
{
kSecLockEvent = 1,
kSecUnlockEvent = 2,
kSecAddEvent = 3,
kSecDeleteEvent = 4,
kSecUpdateEvent = 5,
kSecPasswordChangedEvent = 6,
kSecDefaultChangedEvent = 9,
kSecDataAccessEvent = 10,
kSecKeychainListChangedEvent = 11,
kSecTrustSettingsChangedEvent = 12
};
typedef UInt32 SecKeychainEventMask;
# 250 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
enum
{
kSecLockEventMask = 1 << kSecLockEvent,
kSecUnlockEventMask = 1 << kSecUnlockEvent,
kSecAddEventMask = 1 << kSecAddEvent,
kSecDeleteEventMask = 1 << kSecDeleteEvent,
kSecUpdateEventMask = 1 << kSecUpdateEvent,
kSecPasswordChangedEventMask = 1 << kSecPasswordChangedEvent,
kSecDefaultChangedEventMask = 1 << kSecDefaultChangedEvent,
kSecDataAccessEventMask = 1 << kSecDataAccessEvent,
kSecKeychainListChangedMask = 1 << kSecKeychainListChangedEvent,
kSecTrustSettingsChangedEventMask = 1 << kSecTrustSettingsChangedEvent,
kSecEveryEventMask = 0xffffffff
};
# 274 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
struct SecKeychainCallbackInfo
{
UInt32 version;
SecKeychainItemRef item;
SecKeychainRef keychain;
pid_t pid;
};
typedef struct SecKeychainCallbackInfo SecKeychainCallbackInfo;
CFTypeID SecKeychainGetTypeID(void);
OSStatus SecKeychainGetVersion(UInt32 *returnVers);
#pragma mark ---- Keychain Management ----
# 308 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainOpen(const char *pathName, SecKeychainRef *keychain);
# 321 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainCreate(const char *pathName, UInt32 passwordLength, const void *password, Boolean promptUser, SecAccessRef initialAccess, SecKeychainRef *keychain);
OSStatus SecKeychainDelete(SecKeychainRef keychainOrArray);
# 338 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainSetSettings(SecKeychainRef keychain, const SecKeychainSettings *newSettings);
# 347 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainCopySettings(SecKeychainRef keychain, SecKeychainSettings *outSettings);
# 359 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainUnlock(SecKeychainRef keychain, UInt32 passwordLength, const void *password, Boolean usePassword);
OSStatus SecKeychainLock(SecKeychainRef keychain);
OSStatus SecKeychainLockAll(void);
OSStatus SecKeychainCopyDefault(SecKeychainRef *keychain);
OSStatus SecKeychainSetDefault(SecKeychainRef keychain);
OSStatus SecKeychainCopySearchList(CFArrayRef *searchList);
OSStatus SecKeychainSetSearchList(CFArrayRef searchList);
typedef enum {
kSecPreferencesDomainUser,
kSecPreferencesDomainSystem,
kSecPreferencesDomainCommon,
kSecPreferencesDomainDynamic
} SecPreferencesDomain;
OSStatus SecKeychainCopyDomainDefault(SecPreferencesDomain domain, SecKeychainRef *keychain);
OSStatus SecKeychainSetDomainDefault(SecPreferencesDomain domain, SecKeychainRef keychain);
OSStatus SecKeychainCopyDomainSearchList(SecPreferencesDomain domain, CFArrayRef *searchList);
OSStatus SecKeychainSetDomainSearchList(SecPreferencesDomain domain, CFArrayRef searchList);
OSStatus SecKeychainSetPreferenceDomain(SecPreferencesDomain domain);
OSStatus SecKeychainGetPreferenceDomain(SecPreferencesDomain *domain);
# 435 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainGetStatus(SecKeychainRef keychain, SecKeychainStatus *keychainStatus);
# 445 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainGetPath(SecKeychainRef keychain, UInt32 *ioPathLength, char *pathName);
#pragma mark ---- Keychain Item Attribute Information ----
# 457 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainAttributeInfoForItemID(SecKeychainRef keychain, UInt32 itemID, SecKeychainAttributeInfo **info);
OSStatus SecKeychainFreeAttributeInfo(SecKeychainAttributeInfo *info);
#pragma mark ---- Keychain Manager Callbacks ----
# 484 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
typedef OSStatus (*SecKeychainCallback)(SecKeychainEvent keychainEvent, SecKeychainCallbackInfo *info, void *context);
# 494 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainAddCallback(SecKeychainCallback callbackFunction, SecKeychainEventMask eventMask, void* userContext);
OSStatus SecKeychainRemoveCallback(SecKeychainCallback callbackFunction);
#pragma mark ---- High Level Keychain Manager Calls ----
# 526 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainAddInternetPassword(SecKeychainRef keychain, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef);
# 549 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainFindInternetPassword(CFTypeRef keychainOrArray, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef);
# 565 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainAddGenericPassword(SecKeychainRef keychain, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef);
# 581 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainFindGenericPassword(CFTypeRef keychainOrArray, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef);
#pragma mark ---- Managing User Interaction ----
OSStatus SecKeychainSetUserInteractionAllowed(Boolean state);
OSStatus SecKeychainGetUserInteractionAllowed(Boolean *state);
#pragma mark ---- CSSM Bridge Functions ----
OSStatus SecKeychainGetCSPHandle(SecKeychainRef keychain, CSSM_CSP_HANDLE *cspHandle);
# 617 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainGetDLDBHandle(SecKeychainRef keychain, CSSM_DL_DB_HANDLE *dldbHandle);
#pragma mark ---- Keychain Access Management ----
OSStatus SecKeychainCopyAccess(SecKeychainRef keychain, SecAccessRef *access);
# 636 "/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h" 3
OSStatus SecKeychainSetAccess(SecKeychainRef keychain, SecAccessRef access);
# 58 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 1 3
# 32 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
#define _SECURITY_SECKEYCHAINITEM_H_
# 45 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
typedef FourCharCode SecItemClass;
# 59 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
enum
{
kSecInternetPasswordItemClass = 'inet',
kSecGenericPasswordItemClass = 'genp',
kSecAppleSharePasswordItemClass = 'ashp',
kSecCertificateItemClass = CSSM_DL_DB_RECORD_X509_CERTIFICATE,
kSecPublicKeyItemClass = CSSM_DL_DB_RECORD_PUBLIC_KEY,
kSecPrivateKeyItemClass = CSSM_DL_DB_RECORD_PRIVATE_KEY,
kSecSymmetricKeyItemClass = CSSM_DL_DB_RECORD_SYMMETRIC_KEY
};
typedef FourCharCode SecItemAttr;
# 110 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
enum
{
kSecCreationDateItemAttr = 'cdat',
kSecModDateItemAttr = 'mdat',
kSecDescriptionItemAttr = 'desc',
kSecCommentItemAttr = 'icmt',
kSecCreatorItemAttr = 'crtr',
kSecTypeItemAttr = 'type',
kSecScriptCodeItemAttr = 'scrp',
kSecLabelItemAttr = 'labl',
kSecInvisibleItemAttr = 'invi',
kSecNegativeItemAttr = 'nega',
kSecCustomIconItemAttr = 'cusi',
kSecAccountItemAttr = 'acct',
kSecServiceItemAttr = 'svce',
kSecGenericItemAttr = 'gena',
kSecSecurityDomainItemAttr = 'sdmn',
kSecServerItemAttr = 'srvr',
kSecAuthenticationTypeItemAttr = 'atyp',
kSecPortItemAttr = 'port',
kSecPathItemAttr = 'path',
kSecVolumeItemAttr = 'vlme',
kSecAddressItemAttr = 'addr',
kSecSignatureItemAttr = 'ssig',
kSecProtocolItemAttr = 'ptcl',
kSecCertificateType = 'ctyp',
kSecCertificateEncoding = 'cenc',
kSecCrlType = 'crtp',
kSecCrlEncoding = 'crnc',
kSecAlias = 'alis'
};
typedef UInt8 SecAFPServerSignature[16];
typedef UInt8 SecPublicKeyHash[20];
#pragma mark ---- Keychain Item Management ----
CFTypeID SecKeychainItemGetTypeID(void);
# 172 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemModifyAttributesAndData(SecKeychainItemRef itemRef, const SecKeychainAttributeList *attrList, UInt32 length, const void *data);
# 186 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemCreateFromContent(SecItemClass itemClass, SecKeychainAttributeList *attrList,
UInt32 length, const void *data, SecKeychainRef keychainRef,
SecAccessRef initialAccess, SecKeychainItemRef *itemRef);
# 199 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemModifyContent(SecKeychainItemRef itemRef, const SecKeychainAttributeList *attrList, UInt32 length, const void *data);
# 211 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemCopyContent(SecKeychainItemRef itemRef, SecItemClass *itemClass, SecKeychainAttributeList *attrList, UInt32 *length, void **outData);
OSStatus SecKeychainItemFreeContent(SecKeychainAttributeList *attrList, void *data);
# 232 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemCopyAttributesAndData(SecKeychainItemRef itemRef, SecKeychainAttributeInfo *info, SecItemClass *itemClass, SecKeychainAttributeList **attrList, UInt32 *length, void **outData);
# 241 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemFreeAttributesAndData(SecKeychainAttributeList *attrList, void *data);
# 250 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemDelete(SecKeychainItemRef itemRef);
# 259 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemCopyKeychain(SecKeychainItemRef itemRef, SecKeychainRef *keychainRef);
# 270 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemCreateCopy(SecKeychainItemRef itemRef, SecKeychainRef destKeychainRef,
SecAccessRef initialAccess, SecKeychainItemRef *itemCopy);
#pragma mark ---- CSSM Bridge Functions ----
OSStatus SecKeychainItemGetDLDBHandle(SecKeychainItemRef keyItemRef, CSSM_DL_DB_HANDLE *dldbHandle);
# 291 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemGetUniqueRecordID(SecKeychainItemRef itemRef, const CSSM_DB_UNIQUE_RECORD **uniqueRecordID);
#pragma mark ---- Keychain Item Access Management ----
OSStatus SecKeychainItemCopyAccess(SecKeychainItemRef itemRef, SecAccessRef *access);
# 310 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h" 3
OSStatus SecKeychainItemSetAccess(SecKeychainItemRef itemRef, SecAccessRef access);
# 59 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h" 3
#define _SECURITY_SECKEYCHAINSEARCH_H_
# 44 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h" 3
CFTypeID SecKeychainSearchGetTypeID(void);
# 55 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h" 3
OSStatus SecKeychainSearchCreateFromAttributes(CFTypeRef keychainOrArray, SecItemClass itemClass, const SecKeychainAttributeList *attrList, SecKeychainSearchRef *searchRef);
# 64 "/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h" 3
OSStatus SecKeychainSearchCopyNext(SecKeychainSearchRef searchRef, SecKeychainItemRef *itemRef);
# 60 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
#define _SECURITY_SECPOLICY_H_
# 45 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
CFTypeID SecPolicyGetTypeID(void);
# 54 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
OSStatus SecPolicyGetOID(SecPolicyRef policyRef, CSSM_OID *oid);
# 63 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
OSStatus SecPolicyGetValue(SecPolicyRef policyRef, CSSM_DATA *value);
# 72 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
OSStatus SecPolicySetValue(SecPolicyRef policyRef, const CSSM_DATA *value);
# 81 "/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h" 3
OSStatus SecPolicyGetTPHandle(SecPolicyRef policyRef, CSSM_TP_HANDLE *tpHandle);
# 61 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecPolicySearch.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecPolicySearch.h" 3
#define _SECURITY_SECPOLICYSEARCH_H_
# 44 "/System/Library/Frameworks/Security.framework/Headers/SecPolicySearch.h" 3
typedef struct OpaquePolicySearchRef *SecPolicySearchRef;
CFTypeID SecPolicySearchGetTypeID(void);
# 62 "/System/Library/Frameworks/Security.framework/Headers/SecPolicySearch.h" 3
OSStatus SecPolicySearchCreate(CSSM_CERT_TYPE certType, const CSSM_OID *policyOID, const CSSM_DATA *value, SecPolicySearchRef *searchRef);
# 71 "/System/Library/Frameworks/Security.framework/Headers/SecPolicySearch.h" 3
OSStatus SecPolicySearchCopyNext(SecPolicySearchRef searchRef, SecPolicyRef *policyRef);
# 62 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
#define _SECURITY_SECTRUST_H_
# 55 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
typedef enum {
kSecTrustResultInvalid,
kSecTrustResultProceed,
kSecTrustResultConfirm,
kSecTrustResultDeny,
kSecTrustResultUnspecified,
kSecTrustResultRecoverableTrustFailure,
kSecTrustResultFatalTrustFailure,
kSecTrustResultOtherError
} SecTrustResultType;
typedef SecTrustResultType SecTrustUserSetting;
typedef struct OpaqueSecTrustRef *SecTrustRef;
CFTypeID SecTrustGetTypeID(void);
# 93 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustCreateWithCertificates(CFArrayRef certificates, CFTypeRef policies, SecTrustRef *trustRef);
# 102 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetPolicies(SecTrustRef trust, CFTypeRef policies);
# 112 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetParameters(SecTrustRef trustRef, CSSM_TP_ACTION action, CFDataRef actionData);
# 121 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetAnchorCertificates(SecTrustRef trust, CFArrayRef anchorCertificates);
# 130 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetKeychains(SecTrustRef trust, CFTypeRef keychainOrArray);
# 139 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetVerifyDate(SecTrustRef trust, CFDateRef verifyDate);
# 148 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustEvaluate(SecTrustRef trust, SecTrustResultType *result);
# 159 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetResult(SecTrustRef trustRef, SecTrustResultType *result, CFArrayRef *certChain, CSSM_TP_APPLE_EVIDENCE_INFO **statusChain);
# 168 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetCssmResult(SecTrustRef trust, CSSM_TP_VERIFY_CONTEXT_RESULT_PTR *result);
# 177 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetCssmResultCode(SecTrustRef trust, OSStatus *resultCode);
# 186 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetTPHandle(SecTrustRef trust, CSSM_TP_HANDLE *handle);
# 195 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustCopyPolicies(SecTrustRef trust, CFArrayRef *policies);
# 205 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustCopyCustomAnchorCertificates(SecTrustRef trust, CFArrayRef *anchors);
OSStatus SecTrustCopyAnchorCertificates(CFArrayRef *anchors);
# 223 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetCSSMAnchorCertificates(const CSSM_DATA **cssmAnchors, uint32 *cssmAnchorCount)
__attribute__((deprecated));
# 235 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustGetUserTrust(SecCertificateRef certificate, SecPolicyRef policy, SecTrustUserSetting *trustSetting)
__attribute__((deprecated));
# 249 "/System/Library/Frameworks/Security.framework/Headers/SecTrust.h" 3
OSStatus SecTrustSetUserTrust(SecCertificateRef certificate, SecPolicyRef policy, SecTrustUserSetting trustSetting)
__attribute__((deprecated));
# 63 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 1 3
# 31 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 3
#define _SECURITY_SECTRUSTEDAPPLICATION_H_
# 46 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 3
CFTypeID SecTrustedApplicationGetTypeID(void);
# 57 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 3
OSStatus SecTrustedApplicationCreateFromPath(const char *path, SecTrustedApplicationRef *app);
# 66 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 3
OSStatus SecTrustedApplicationCopyData(SecTrustedApplicationRef appRef, CFDataRef *data);
# 75 "/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h" 3
OSStatus SecTrustedApplicationSetData(SecTrustedApplicationRef appRef, CFDataRef data);
# 64 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 3
#define _SECURITY_SEC_TRUST_SETTINGS_H_
# 171 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 3
#define kSecTrustSettingsPolicy CFSTR("kSecTrustSettingsPolicy")
#define kSecTrustSettingsApplication CFSTR("kSecTrustSettingsApplication")
#define kSecTrustSettingsPolicyString CFSTR("kSecTrustSettingsPolicyString")
#define kSecTrustSettingsKeyUsage CFSTR("kSecTrustSettingsKeyUsage")
#define kSecTrustSettingsAllowedError CFSTR("kSecTrustSettingsAllowedError")
#define kSecTrustSettingsResult CFSTR("kSecTrustSettingsResult")
enum {
kSecTrustSettingsKeyUseSignature = 0x00000001,
kSecTrustSettingsKeyUseEnDecryptData = 0x00000002,
kSecTrustSettingsKeyUseEnDecryptKey = 0x00000004,
kSecTrustSettingsKeyUseSignCert = 0x00000008,
kSecTrustSettingsKeyUseSignRevocation = 0x00000010,
kSecTrustSettingsKeyUseKeyExchange = 0x00000020,
kSecTrustSettingsKeyUseAny = 0xffffffff
};
typedef uint32 SecTrustSettingsKeyUsage;
enum {
kSecTrustSettingsResultInvalid = 0,
kSecTrustSettingsResultTrustRoot,
kSecTrustSettingsResultTrustAsRoot,
kSecTrustSettingsResultDeny,
kSecTrustSettingsResultUnspecified
};
typedef uint32 SecTrustSettingsResult;
enum {
kSecTrustSettingsDomainUser = 0,
kSecTrustSettingsDomainAdmin,
kSecTrustSettingsDomainSystem
};
typedef uint32 SecTrustSettingsDomain;
# 242 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 3
#define kSecTrustSettingsDefaultRootCertSetting ((SecCertificateRef)-1)
OSStatus SecTrustSettingsCopyTrustSettings(
SecCertificateRef certRef,
SecTrustSettingsDomain domain,
CFArrayRef *trustSettings);
# 262 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 3
OSStatus SecTrustSettingsSetTrustSettings(
SecCertificateRef certRef,
SecTrustSettingsDomain domain,
CFTypeRef trustSettingsDictOrArray);
OSStatus SecTrustSettingsRemoveTrustSettings(
SecCertificateRef certRef,
SecTrustSettingsDomain domain);
# 283 "/System/Library/Frameworks/Security.framework/Headers/SecTrustSettings.h" 3
OSStatus SecTrustSettingsCopyCertificates(
SecTrustSettingsDomain domain,
CFArrayRef *certArray);
OSStatus SecTrustSettingsCopyModificationDate(
SecCertificateRef certRef,
SecTrustSettingsDomain domain,
CFDateRef *modificationDate);
OSStatus SecTrustSettingsCreateExternalRepresentation(
SecTrustSettingsDomain domain,
CFDataRef *trustSettings);
OSStatus SecTrustSettingsImportExternalRepresentation(
SecTrustSettingsDomain domain,
CFDataRef trustSettings);
# 65 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 3
#define _SECURITY_SEC_IMPORT_EXPORT_H_
# 45 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 3
enum
{
kSecFormatUnknown = 0,
kSecFormatOpenSSL,
kSecFormatSSH,
kSecFormatBSAFE,
kSecFormatRawKey,
kSecFormatWrappedPKCS8,
kSecFormatWrappedOpenSSL,
kSecFormatWrappedSSH,
kSecFormatWrappedLSH,
kSecFormatX509Cert,
kSecFormatPEMSequence,
kSecFormatPKCS7,
kSecFormatPKCS12,
kSecFormatNetscapeCertSequence,
kSecFormatSSHv2
};
typedef uint32_t SecExternalFormat;
enum {
kSecItemTypeUnknown,
kSecItemTypePrivateKey,
kSecItemTypePublicKey,
kSecItemTypeSessionKey,
kSecItemTypeCertificate,
kSecItemTypeAggregate
};
typedef uint32_t SecExternalItemType;
enum
{
kSecItemPemArmour = 0x00000001,
};
typedef uint32_t SecItemImportExportFlags;
enum
{
kSecKeyImportOnlyOne = 0x00000001,
# 127 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 3
kSecKeySecurePassphrase = 0x00000002,
kSecKeyNoAccessControl = 0x00000004
};
typedef uint32_t SecKeyImportExportFlags;
#define SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION 0
typedef struct
{
uint32_t version;
SecKeyImportExportFlags flags;
CFTypeRef passphrase;
CFStringRef alertTitle;
CFStringRef alertPrompt;
SecAccessRef accessRef;
CSSM_KEYUSE keyUsage;
CSSM_KEYATTR_FLAGS keyAttributes;
} SecKeyImportExportParameters;
# 215 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 3
OSStatus SecKeychainItemExport(
CFTypeRef keychainItemOrArray,
SecExternalFormat outputFormat,
SecItemImportExportFlags flags,
const SecKeyImportExportParameters *keyParams,
CFDataRef *exportedData);
# 370 "/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h" 3
OSStatus SecKeychainItemImport(
CFDataRef importedData,
CFStringRef fileNameOrExtension,
SecExternalFormat *inputFormat,
SecExternalItemType *itemType,
SecItemImportExportFlags flags,
const SecKeyImportExportParameters *keyParams,
SecKeychainRef importKeychain,
CFArrayRef *outItems);
# 66 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationTags.h" 1 3
# 31 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationTags.h" 3
#define _SECURITY_AUTHORIZATIONTAGS_H_
# 45 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationTags.h" 3
#define kAuthorizationEnvironmentUsername "username"
#define kAuthorizationEnvironmentPassword "password"
#define kAuthorizationEnvironmentShared "shared"
#define kAuthorizationRightExecute "system.privilege.admin"
#define kAuthorizationEnvironmentPrompt "prompt"
#define kAuthorizationEnvironmentIcon "icon"
# 69 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 1 3
# 30 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 3
#define _SECURITY_AUTHORIZATIONDB_H_
# 61 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 3
#define kAuthorizationRightRule "rule"
#define kAuthorizationRuleIsAdmin "is-admin"
#define kAuthorizationRuleAuthenticateAsSessionUser "authenticate-session-owner"
#define kAuthorizationRuleAuthenticateAsAdmin "authenticate-admin"
#define kAuthorizationRuleClassAllow "allow"
#define kAuthorizationRuleClassDeny "deny"
#define kAuthorizationComment "comment"
# 109 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 3
OSStatus AuthorizationRightGet(const char *rightName,
CFDictionaryRef *rightDefinition);
# 133 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 3
OSStatus AuthorizationRightSet(AuthorizationRef authRef,
const char *rightName,
CFTypeRef rightDefinition,
CFStringRef descriptionKey,
CFBundleRef bundle,
CFStringRef localeTableName);
# 151 "/System/Library/Frameworks/Security.framework/Headers/AuthorizationDB.h" 3
OSStatus AuthorizationRightRemove(AuthorizationRef authRef,
const char *rightName);
# 70 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h" 1 3
# 28 "/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h" 3
#define _SECURITY_CIPHERSUITE_H_
# 37 "/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h" 3
typedef UInt32 SSLCipherSuite;
enum
{ SSL_NULL_WITH_NULL_NULL = 0x0000,
SSL_RSA_WITH_NULL_MD5 = 0x0001,
SSL_RSA_WITH_NULL_SHA = 0x0002,
SSL_RSA_EXPORT_WITH_RC4_40_MD5 = 0x0003,
SSL_RSA_WITH_RC4_128_MD5 = 0x0004,
SSL_RSA_WITH_RC4_128_SHA = 0x0005,
SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5 = 0x0006,
SSL_RSA_WITH_IDEA_CBC_SHA = 0x0007,
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA = 0x0008,
SSL_RSA_WITH_DES_CBC_SHA = 0x0009,
SSL_RSA_WITH_3DES_EDE_CBC_SHA = 0x000A,
SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA = 0x000B,
SSL_DH_DSS_WITH_DES_CBC_SHA = 0x000C,
SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA = 0x000D,
SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA = 0x000E,
SSL_DH_RSA_WITH_DES_CBC_SHA = 0x000F,
SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA = 0x0010,
SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA = 0x0011,
SSL_DHE_DSS_WITH_DES_CBC_SHA = 0x0012,
SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA = 0x0013,
SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA = 0x0014,
SSL_DHE_RSA_WITH_DES_CBC_SHA = 0x0015,
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA = 0x0016,
SSL_DH_anon_EXPORT_WITH_RC4_40_MD5 = 0x0017,
SSL_DH_anon_WITH_RC4_128_MD5 = 0x0018,
SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA = 0x0019,
SSL_DH_anon_WITH_DES_CBC_SHA = 0x001A,
SSL_DH_anon_WITH_3DES_EDE_CBC_SHA = 0x001B,
SSL_FORTEZZA_DMS_WITH_NULL_SHA = 0x001C,
SSL_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA = 0x001D,
TLS_RSA_WITH_AES_128_CBC_SHA = 0x002F,
TLS_DH_DSS_WITH_AES_128_CBC_SHA = 0x0030,
TLS_DH_RSA_WITH_AES_128_CBC_SHA = 0x0031,
TLS_DHE_DSS_WITH_AES_128_CBC_SHA = 0x0032,
TLS_DHE_RSA_WITH_AES_128_CBC_SHA = 0x0033,
TLS_DH_anon_WITH_AES_128_CBC_SHA = 0x0034,
TLS_RSA_WITH_AES_256_CBC_SHA = 0x0035,
TLS_DH_DSS_WITH_AES_256_CBC_SHA = 0x0036,
TLS_DH_RSA_WITH_AES_256_CBC_SHA = 0x0037,
TLS_DHE_DSS_WITH_AES_256_CBC_SHA = 0x0038,
TLS_DHE_RSA_WITH_AES_256_CBC_SHA = 0x0039,
TLS_DH_anon_WITH_AES_256_CBC_SHA = 0x003A,
SSL_RSA_WITH_RC2_CBC_MD5 = 0xFF80,
SSL_RSA_WITH_IDEA_CBC_MD5 = 0xFF81,
SSL_RSA_WITH_DES_CBC_MD5 = 0xFF82,
SSL_RSA_WITH_3DES_EDE_CBC_MD5 = 0xFF83,
SSL_NO_SUCH_CIPHERSUITE = 0xFFFF
};
# 72 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 1 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 1 3
# 29 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
#define _SECURITY_SECURETRANSPORT_H_
# 74 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
struct SSLContext;
typedef struct SSLContext *SSLContextRef;
typedef const void * SSLConnectionRef;
typedef enum {
kSSLProtocolUnknown,
kSSLProtocol2,
kSSLProtocol3,
kSSLProtocol3Only,
kTLSProtocol1,
kTLSProtocol1Only,
kSSLProtocolAll
} SSLProtocol;
typedef enum {
kSSLIdle,
kSSLHandshake,
kSSLConnected,
kSSLClosed,
kSSLAborted
} SSLSessionState;
typedef enum {
kSSLClientCertNone,
kSSLClientCertRequested,
kSSLClientCertSent,
kSSLClientCertRejected
} SSLClientCertificateState;
# 141 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
typedef OSStatus
(*SSLReadFunc) (SSLConnectionRef connection,
void *data,
size_t *dataLength);
typedef OSStatus
(*SSLWriteFunc) (SSLConnectionRef connection,
const void *data,
size_t *dataLength);
# 164 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
enum {
errSSLProtocol = -9800,
errSSLNegotiation = -9801,
errSSLFatalAlert = -9802,
errSSLWouldBlock = -9803,
errSSLSessionNotFound = -9804,
errSSLClosedGraceful = -9805,
errSSLClosedAbort = -9806,
errSSLXCertChainInvalid = -9807,
errSSLBadCert = -9808,
errSSLCrypto = -9809,
errSSLInternal = -9810,
errSSLModuleAttach = -9811,
errSSLUnknownRootCert = -9812,
errSSLNoRootCert = -9813,
errSSLCertExpired = -9814,
errSSLCertNotYetValid = -9815,
errSSLClosedNoNotify = -9816,
errSSLBufferOverflow = -9817,
errSSLBadCipherSuite = -9818,
errSSLPeerUnexpectedMsg = -9819,
errSSLPeerBadRecordMac = -9820,
errSSLPeerDecryptionFail = -9821,
errSSLPeerRecordOverflow = -9822,
errSSLPeerDecompressFail = -9823,
errSSLPeerHandshakeFail = -9824,
errSSLPeerBadCert = -9825,
errSSLPeerUnsupportedCert = -9826,
errSSLPeerCertRevoked = -9827,
errSSLPeerCertExpired = -9828,
errSSLPeerCertUnknown = -9829,
errSSLIllegalParam = -9830,
errSSLPeerUnknownCA = -9831,
errSSLPeerAccessDenied = -9832,
errSSLPeerDecodeError = -9833,
errSSLPeerDecryptError = -9834,
errSSLPeerExportRestriction = -9835,
errSSLPeerProtocolVersion = -9836,
errSSLPeerInsufficientSecurity = -9837,
errSSLPeerInternalError = -9838,
errSSLPeerUserCancelled = -9839,
errSSLPeerNoRenegotiation = -9840,
errSSLHostNameMismatch = -9843,
errSSLConnectionRefused = -9844,
errSSLDecryptionFail = -9845,
errSSLBadRecordMac = -9846,
errSSLRecordOverflow = -9847,
errSSLBadConfiguration = -9848,
errSSLLast = -9849
};
# 227 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLNewContext (Boolean isServer,
SSLContextRef *contextPtr);
OSStatus
SSLDisposeContext (SSLContextRef context);
OSStatus
SSLGetSessionState (SSLContextRef context,
SSLSessionState *state);
# 254 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetIOFuncs (SSLContextRef context,
SSLReadFunc read,
SSLWriteFunc write);
# 272 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetProtocolVersionEnabled (SSLContextRef context,
SSLProtocol protocol,
Boolean enable);
OSStatus
SSLGetProtocolVersionEnabled(SSLContextRef context,
SSLProtocol protocol,
Boolean *enable);
# 294 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetProtocolVersion (SSLContextRef context,
SSLProtocol version);
# 306 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLGetProtocolVersion (SSLContextRef context,
SSLProtocol *protocol);
# 334 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetCertificate (SSLContextRef context,
CFArrayRef certRefs);
# 348 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetConnection (SSLContextRef context,
SSLConnectionRef connection);
OSStatus
SSLGetConnection (SSLContextRef context,
SSLConnectionRef *connection);
# 363 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetPeerDomainName (SSLContextRef context,
const char *peerName,
size_t peerNameLen);
OSStatus
SSLGetPeerDomainNameLength (SSLContextRef context,
size_t *peerNameLen);
OSStatus
SSLGetPeerDomainName (SSLContextRef context,
char *peerName,
size_t *peerNameLen);
OSStatus
SSLGetNegotiatedProtocolVersion (SSLContextRef context,
SSLProtocol *protocol);
OSStatus
SSLGetNumberSupportedCiphers (SSLContextRef context,
size_t *numCiphers);
OSStatus
SSLGetSupportedCiphers (SSLContextRef context,
SSLCipherSuite *ciphers,
size_t *numCiphers);
OSStatus
SSLSetEnabledCiphers (SSLContextRef context,
const SSLCipherSuite *ciphers,
size_t numCiphers);
OSStatus
SSLGetNumberEnabledCiphers (SSLContextRef context,
size_t *numCiphers);
OSStatus
SSLGetEnabledCiphers (SSLContextRef context,
SSLCipherSuite *ciphers,
size_t *numCiphers);
# 441 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetEnableCertVerify (SSLContextRef context,
Boolean enableVerify);
OSStatus
SSLGetEnableCertVerify (SSLContextRef context,
Boolean *enableVerify);
# 456 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetAllowsExpiredCerts (SSLContextRef context,
Boolean allowsExpired);
OSStatus
SSLGetAllowsExpiredCerts (SSLContextRef context,
Boolean *allowsExpired);
OSStatus
SSLSetAllowsExpiredRoots (SSLContextRef context,
Boolean allowsExpired);
OSStatus
SSLGetAllowsExpiredRoots (SSLContextRef context,
Boolean *allowsExpired);
# 496 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetAllowsAnyRoot (SSLContextRef context,
Boolean anyRoot);
OSStatus
SSLGetAllowsAnyRoot (SSLContextRef context,
Boolean *anyRoot);
# 519 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetTrustedRoots (SSLContextRef context,
CFArrayRef trustedRoots,
Boolean replaceExisting);
# 533 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLGetTrustedRoots (SSLContextRef context,
CFArrayRef *trustedRoots)
__attribute__((deprecated));
# 545 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLCopyTrustedRoots (SSLContextRef context,
CFArrayRef *trustedRoots);
# 563 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLGetPeerCertificates (SSLContextRef context,
CFArrayRef *certs)
__attribute__((deprecated));
# 579 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLCopyPeerCertificates (SSLContextRef context,
CFArrayRef *certs);
# 597 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetPeerID (SSLContextRef context,
const void *peerID,
size_t peerIDLen);
OSStatus
SSLGetPeerID (SSLContextRef context,
const void **peerID,
size_t *peerIDLen);
OSStatus
SSLGetNegotiatedCipher (SSLContextRef context,
SSLCipherSuite *cipherSuite);
# 656 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetEncryptionCertificate (SSLContextRef context,
CFArrayRef certRefs);
typedef enum {
kNeverAuthenticate,
kAlwaysAuthenticate,
kTryAuthenticate
} SSLAuthenticate;
OSStatus
SSLSetClientSideAuthenticate (SSLContextRef context,
SSLAuthenticate auth);
OSStatus
SSLAddDistinguishedName (SSLContextRef context,
const void *derDN,
size_t derDNLen);
# 699 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLSetCertificateAuthorities(SSLContextRef context,
CFTypeRef certificateOrArray,
Boolean replaceExisting);
OSStatus
SSLCopyCertificateAuthorities(SSLContextRef context,
CFArrayRef *certificates);
# 727 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLCopyDistinguishedNames (SSLContextRef context,
CFArrayRef *names);
# 738 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLGetClientCertificateState (SSLContextRef context,
SSLClientCertificateState *clientState);
OSStatus SSLSetDiffieHellmanParams (SSLContextRef context,
const void *dhParams,
size_t dhParamsLen);
OSStatus SSLGetDiffieHellmanParams (SSLContextRef context,
const void **dhParams,
size_t *dhParamsLen);
OSStatus SSLSetRsaBlinding (SSLContextRef context,
Boolean blinding);
OSStatus SSLGetRsaBlinding (SSLContextRef context,
Boolean *blinding);
# 809 "/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h" 3
OSStatus
SSLHandshake (SSLContextRef context);
OSStatus
SSLWrite (SSLContextRef context,
const void * data,
size_t dataLength,
size_t *processed);
OSStatus
SSLRead (SSLContextRef context,
void * data,
size_t dataLength,
size_t *processed);
OSStatus
SSLGetBufferedReadSize (SSLContextRef context,
size_t *bufSize);
OSStatus
SSLClose (SSLContextRef context);
# 72 "/System/Library/Frameworks/Security.framework/Headers/Security.h" 2 3
# 33 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 2 3
# 53 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
typedef struct OpaqueLSSharedFileListRef* LSSharedFileListRef;
typedef struct OpaqueLSSharedFileListItemRef* LSSharedFileListItemRef;
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListFavoriteVolumes ;
# 77 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListFavoriteItems ;
# 88 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListRecentApplicationItems ;
# 99 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListRecentDocumentItems ;
# 110 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListRecentServerItems ;
# 121 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListSessionLoginItems ;
# 132 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListGlobalLoginItems ;
# 150 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListRecentItemsMaxAmount ;
# 164 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListVolumesComputerVisible ;
# 178 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListVolumesIDiskVisible ;
# 192 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListVolumesNetworkVisible ;
# 209 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern LSSharedFileListItemRef kLSSharedFileListItemBeforeFirst ;
# 223 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern LSSharedFileListItemRef kLSSharedFileListItemLast ;
# 240 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef kLSSharedFileListItemHidden ;
enum {
kLSSharedFileListNoUserInteraction = 1 << 0,
kLSSharedFileListDoNotMountVolumes = 1 << 1
};
# 257 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
typedef void ( * LSSharedFileListChangedProcPtr)(LSSharedFileListRef inList, void *context);
# 277 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFTypeID
LSSharedFileListGetTypeID(void) ;
# 299 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFTypeID
LSSharedFileListItemGetTypeID(void) ;
# 340 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern LSSharedFileListRef
LSSharedFileListCreate(
CFAllocatorRef inAllocator,
CFStringRef inListType,
CFTypeRef listOptions) ;
# 376 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListSetAuthorization(
LSSharedFileListRef inList,
AuthorizationRef inAuthorization) ;
# 418 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern void
LSSharedFileListAddObserver(
LSSharedFileListRef inList,
CFRunLoopRef inRunloop,
CFStringRef inRunloopMode,
LSSharedFileListChangedProcPtr callback,
void * context) ;
# 461 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern void
LSSharedFileListRemoveObserver(
LSSharedFileListRef inList,
CFRunLoopRef inRunloop,
CFStringRef inRunloopMode,
LSSharedFileListChangedProcPtr callback,
void * context) ;
# 492 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern UInt32
LSSharedFileListGetSeedValue(LSSharedFileListRef inList) ;
# 526 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFTypeRef
LSSharedFileListCopyProperty(
LSSharedFileListRef inList,
CFStringRef inPropertyName) ;
# 560 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListSetProperty(
LSSharedFileListRef inList,
CFStringRef inPropertyName,
CFTypeRef inPropertyData) ;
# 597 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFArrayRef
LSSharedFileListCopySnapshot(
LSSharedFileListRef inList,
UInt32 * outSnapshotSeed) ;
# 654 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern LSSharedFileListItemRef
LSSharedFileListInsertItemURL(
LSSharedFileListRef inList,
LSSharedFileListItemRef insertAfterThisItem,
CFStringRef inDisplayName,
IconRef inIconRef,
CFURLRef inURL,
CFDictionaryRef inPropertiesToSet,
CFArrayRef inPropertiesToClear) ;
# 716 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern LSSharedFileListItemRef
LSSharedFileListInsertItemFSRef(
LSSharedFileListRef inList,
LSSharedFileListItemRef insertAfterThisItem,
CFStringRef inDisplayName,
IconRef inIconRef,
const FSRef * inFSRef,
CFDictionaryRef inPropertiesToSet,
CFArrayRef inPropertiesToClear) ;
# 757 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListItemMove(
LSSharedFileListRef inList,
LSSharedFileListItemRef inItem,
LSSharedFileListItemRef inMoveAfterItem) ;
# 789 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListItemRemove(
LSSharedFileListRef inList,
LSSharedFileListItemRef inItem) ;
# 817 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListRemoveAllItems(LSSharedFileListRef inList) ;
# 838 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern UInt32
LSSharedFileListItemGetID(LSSharedFileListItemRef inItem) ;
# 863 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern IconRef
LSSharedFileListItemCopyIconRef(LSSharedFileListItemRef inItem) ;
# 885 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFStringRef
LSSharedFileListItemCopyDisplayName(LSSharedFileListItemRef inItem) ;
# 921 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListItemResolve(
LSSharedFileListItemRef inItem,
UInt32 inFlags,
CFURLRef * outURL,
FSRef * outRef) ;
# 947 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern CFTypeRef
LSSharedFileListItemCopyProperty(
LSSharedFileListItemRef inItem,
CFStringRef inPropertyName) ;
# 970 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSSharedFileList.h" 3
extern OSStatus
LSSharedFileListItemSetProperty(
LSSharedFileListItemRef inItem,
CFStringRef inPropertyName,
CFTypeRef inPropertyData) ;
# 38 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
#define __UTCORETYPES__
# 101 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeItem ;
# 110 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeContent ;
# 119 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeCompositeContent ;
# 128 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeApplication ;
# 137 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMessage ;
# 146 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeContact ;
# 155 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeArchive ;
# 164 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeDiskImage ;
# 251 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeData ;
# 260 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeDirectory ;
# 269 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeResolvable ;
# 278 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeSymLink ;
# 287 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMountPoint ;
# 296 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAliasFile ;
# 305 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAliasRecord ;
# 314 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeURL ;
# 323 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeFileURL ;
# 469 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeText ;
# 478 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypePlainText ;
# 487 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeUTF8PlainText ;
# 496 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeUTF16ExternalPlainText ;
# 505 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeUTF16PlainText ;
# 514 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeRTF ;
# 523 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeHTML ;
# 532 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeXML ;
# 541 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeSourceCode ;
# 550 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeCSource ;
# 559 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeObjectiveCSource ;
# 568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeCPlusPlusSource ;
# 577 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeObjectiveCPlusPlusSource ;
# 586 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeCHeader ;
# 595 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeCPlusPlusHeader ;
# 604 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeJavaSource ;
# 659 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypePDF ;
# 668 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeRTFD ;
# 677 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeFlatRTFD ;
# 686 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeTXNTextAndMultimediaData ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeWebArchive ;
# 796 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeImage ;
# 805 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeJPEG ;
# 814 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeJPEG2000 ;
# 823 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeTIFF ;
# 832 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypePICT ;
# 841 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeGIF ;
# 850 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypePNG ;
# 859 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeQuickTimeImage ;
# 868 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAppleICNS ;
# 877 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeBMP ;
# 886 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeICO ;
# 982 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAudiovisualContent ;
# 991 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMovie ;
# 1000 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeVideo ;
# 1009 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAudio ;
# 1018 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeQuickTimeMovie ;
# 1027 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMPEG ;
# 1036 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMPEG4 ;
# 1045 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMP3 ;
# 1054 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeMPEG4Audio ;
# 1063 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeAppleProtectedMPEG4Audio ;
# 1115 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeFolder ;
# 1124 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeVolume ;
# 1133 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypePackage ;
# 1142 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeBundle ;
# 1151 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeFramework ;
# 1179 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeApplicationBundle ;
# 1188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeApplicationFile ;
# 1208 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeVCard ;
# 1228 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h" 3
extern const CFStringRef kUTTypeInkText ;
# 42 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
#define __UTTYPE__
# 217 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTExportedTypeDeclarationsKey ;
# 226 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTImportedTypeDeclarationsKey ;
# 235 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeIdentifierKey ;
# 244 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeTagSpecificationKey ;
# 253 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeConformsToKey ;
# 262 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeDescriptionKey ;
# 271 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeIconFileKey ;
# 280 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeReferenceURLKey ;
# 289 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTypeVersionKey ;
# 307 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTagClassFilenameExtension ;
# 316 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTagClassMIMEType ;
# 325 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTagClassNSPboardType ;
# 334 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern const CFStringRef kUTTagClassOSType ;
# 385 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFStringRef
UTTypeCreatePreferredIdentifierForTag(
CFStringRef inTagClass,
CFStringRef inTag,
CFStringRef inConformingToUTI) ;
# 436 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFArrayRef
UTTypeCreateAllIdentifiersForTag(
CFStringRef inTagClass,
CFStringRef inTag,
CFStringRef inConformingToUTI) ;
# 474 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFStringRef
UTTypeCopyPreferredTagWithClass(
CFStringRef inUTI,
CFStringRef inTagClass) ;
# 508 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern Boolean
UTTypeEqual(
CFStringRef inUTI1,
CFStringRef inUTI2) ;
# 539 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern Boolean
UTTypeConformsTo(
CFStringRef inUTI,
CFStringRef inConformsToUTI) ;
# 568 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFStringRef
UTTypeCopyDescription(CFStringRef inUTI) ;
# 598 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFDictionaryRef
UTTypeCopyDeclaration(CFStringRef inUTI) ;
# 626 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFURLRef
UTTypeCopyDeclaringBundleURL(CFStringRef inUTI) ;
# 655 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern CFStringRef
UTCreateStringForOSType(OSType inOSType) ;
# 684 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTType.h" 3
extern OSType
UTGetOSTypeFromString(CFStringRef inString) ;
# 46 "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h" 2 3
# 42 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 1 3
# 22 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 3
#define __SEARCHKIT__
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
#define __SKDOCUMENT__
# 51 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
typedef CFTypeRef SKDocumentRef;
# 66 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern CFTypeID
SKDocumentGetTypeID(void) ;
# 97 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern SKDocumentRef
SKDocumentCreateWithURL(CFURLRef inURL) ;
# 115 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern CFURLRef
SKDocumentCopyURL(SKDocumentRef inDocument) ;
# 156 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern SKDocumentRef
SKDocumentCreate(
CFStringRef inScheme,
SKDocumentRef inParent,
CFStringRef inName) ;
# 182 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern CFStringRef
SKDocumentGetSchemeName(SKDocumentRef inDocument) ;
# 205 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern CFStringRef
SKDocumentGetName(SKDocumentRef inDocument) ;
# 229 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKDocument.h" 3
extern SKDocumentRef
SKDocumentGetParent(SKDocumentRef inDocument) ;
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
#define __SKANALYSIS__
# 58 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKLanguageTypes ;
# 77 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKMinTermLength ;
# 94 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKSubstitutions ;
# 111 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKStopWords ;
# 130 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKProximityIndexing ;
# 150 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKMaximumTerms ;
# 169 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKTermChars ;
# 188 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKStartTermChars ;
# 207 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKAnalysis.h" 3
extern const CFStringRef kSKEndTermChars ;
# 35 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
#define __SKINDEX__
# 62 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
typedef struct __SKIndex* SKIndexRef;
# 74 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFTypeID
SKIndexGetTypeID(void) ;
# 86 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
typedef struct __SKIndexDocumentIterator* SKIndexDocumentIteratorRef;
# 98 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFTypeID
SKIndexDocumentIteratorGetTypeID(void) ;
# 112 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
enum SKIndexType {
kSKIndexUnknown = 0,
kSKIndexInverted = 1,
kSKIndexVector = 2,
kSKIndexInvertedVector = 3
};
typedef enum SKIndexType SKIndexType;
# 144 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
enum SKDocumentIndexState {
kSKDocumentStateNotIndexed = 0,
kSKDocumentStateIndexed = 1,
kSKDocumentStateAddPending = 2,
kSKDocumentStateDeletePending = 3
};
typedef enum SKDocumentIndexState SKDocumentIndexState;
# 213 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexRef
SKIndexCreateWithURL(
CFURLRef inURL,
CFStringRef inIndexName,
SKIndexType inIndexType,
CFDictionaryRef inAnalysisProperties) ;
# 254 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexRef
SKIndexOpenWithURL(
CFURLRef inURL,
CFStringRef inIndexName,
Boolean inWriteAccess) ;
# 293 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexRef
SKIndexCreateWithMutableData(
CFMutableDataRef inData,
CFStringRef inIndexName,
SKIndexType inIndexType,
CFDictionaryRef inAnalysisProperties) ;
# 330 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexRef
SKIndexOpenWithData(
CFDataRef inData,
CFStringRef inIndexName) ;
# 366 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexRef
SKIndexOpenWithMutableData(
CFMutableDataRef inData,
CFStringRef inIndexName) ;
# 393 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexFlush(SKIndexRef inIndex) ;
# 408 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern void
SKIndexSetMaximumBytesBeforeFlush(
SKIndexRef inIndex,
CFIndex inBytesForUpdate) ;
# 429 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetMaximumBytesBeforeFlush(SKIndexRef inIndex) ;
# 455 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexCompact(SKIndexRef inIndex) ;
# 478 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexType
SKIndexGetIndexType(SKIndexRef inIndex) ;
# 497 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFDictionaryRef
SKIndexGetAnalysisProperties(SKIndexRef inIndex) ;
# 521 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetDocumentCount(SKIndexRef inIndex) ;
# 536 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern void
SKIndexClose(SKIndexRef inIndex) ;
typedef CFIndex SKDocumentID;
# 574 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexAddDocumentWithText(
SKIndexRef inIndex,
SKDocumentRef inDocument,
CFStringRef inDocumentText,
Boolean inCanReplace) ;
# 623 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexAddDocument(
SKIndexRef inIndex,
SKDocumentRef inDocument,
CFStringRef inMIMETypeHint,
Boolean inCanReplace) ;
# 655 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexRemoveDocument(
SKIndexRef inIndex,
SKDocumentRef inDocument) ;
# 676 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFDictionaryRef
SKIndexCopyDocumentProperties(
SKIndexRef inIndex,
SKDocumentRef inDocument) ;
# 695 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern void
SKIndexSetDocumentProperties(
SKIndexRef inIndex,
SKDocumentRef inDocument,
CFDictionaryRef inProperties) ;
# 720 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKDocumentIndexState
SKIndexGetDocumentState(
SKIndexRef inIndex,
SKDocumentRef inDocument) ;
# 741 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKDocumentID
SKIndexGetDocumentID(
SKIndexRef inIndex,
SKDocumentRef inDocument) ;
# 758 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKDocumentRef
SKIndexCopyDocumentForDocumentID(
SKIndexRef inIndex,
SKDocumentID inDocumentID) ;
# 775 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexRenameDocument(
SKIndexRef inIndex,
SKDocumentRef inDocument,
CFStringRef inNewName) ;
# 793 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern Boolean
SKIndexMoveDocument(
SKIndexRef inIndex,
SKDocumentRef inDocument,
SKDocumentRef inNewParent) ;
# 812 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKIndexDocumentIteratorRef
SKIndexDocumentIteratorCreate(
SKIndexRef inIndex,
SKDocumentRef inParentDocument) ;
# 834 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKDocumentRef
SKIndexDocumentIteratorCopyNext(SKIndexDocumentIteratorRef inIterator) ;
# 852 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern SKDocumentID
SKIndexGetMaximumDocumentID(SKIndexRef inIndex) ;
# 867 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetDocumentTermCount(
SKIndexRef inIndex,
SKDocumentID inDocumentID) ;
# 887 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFArrayRef
SKIndexCopyTermIDArrayForDocumentID(
SKIndexRef inIndex,
SKDocumentID inDocumentID) ;
# 904 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetDocumentTermFrequency(
SKIndexRef inIndex,
SKDocumentID inDocumentID,
CFIndex inTermID) ;
# 927 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetMaximumTermID(SKIndexRef inIndex) ;
# 942 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetTermDocumentCount(
SKIndexRef inIndex,
CFIndex inTermID) ;
# 962 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFArrayRef
SKIndexCopyDocumentIDArrayForTermID(
SKIndexRef inIndex,
CFIndex inTermID) ;
# 979 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFStringRef
SKIndexCopyTermStringForTermID(
SKIndexRef inIndex,
CFIndex inTermID) ;
# 999 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern CFIndex
SKIndexGetTermIDForTermString(
SKIndexRef inIndex,
CFStringRef inTermString) ;
# 1025 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKIndex.h" 3
extern void
SKLoadDefaultExtractorPlugIns(void) ;
# 39 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
#define __SKSEARCH__
# 69 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
typedef struct __SKSearchGroup* SKSearchGroupRef;
# 81 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFTypeID
SKSearchGroupGetTypeID(void) ;
# 92 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
typedef struct __SKSearchResults* SKSearchResultsRef;
# 104 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFTypeID
SKSearchResultsGetTypeID(void) ;
# 120 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
enum SKSearchType {
kSKSearchRanked = 0,
kSKSearchBooleanRanked = 1,
kSKSearchRequiredRanked = 2,
kSKSearchPrefixRanked = 3
};
typedef enum SKSearchType SKSearchType;
# 157 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
typedef Boolean ( * SKSearchResultsFilterCallBack)(SKIndexRef inIndex, SKDocumentRef inDocument, void *inContext);
# 180 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern SKSearchGroupRef
SKSearchGroupCreate(CFArrayRef inArrayOfInIndexes) __attribute__((deprecated));
# 198 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFArrayRef
SKSearchGroupCopyIndexes(SKSearchGroupRef inSearchGroup) __attribute__((deprecated));
# 244 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern SKSearchResultsRef
SKSearchResultsCreateWithQuery(
SKSearchGroupRef inSearchGroup,
CFStringRef inQuery,
SKSearchType inSearchType,
CFIndex inMaxFoundDocuments,
void * inContext,
SKSearchResultsFilterCallBack inFilterCallBack) __attribute__((deprecated));
# 294 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern SKSearchResultsRef
SKSearchResultsCreateWithDocuments(
SKSearchGroupRef inSearchGroup,
CFArrayRef inExampleDocuments,
CFIndex inMaxFoundDocuments,
void * inContext,
SKSearchResultsFilterCallBack inFilterCallBack) __attribute__((deprecated));
# 314 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFIndex
SKSearchResultsGetCount(SKSearchResultsRef inSearchResults) __attribute__((deprecated));
# 363 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFIndex
SKSearchResultsGetInfoInRange(
SKSearchResultsRef inSearchResults,
CFRange inRange,
SKDocumentRef * outDocumentsArray,
SKIndexRef * outIndexesArray,
float * outScoresArray) __attribute__((deprecated));
# 395 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFArrayRef
SKSearchResultsCopyMatchingTerms(
SKSearchResultsRef inSearchResults,
CFIndex inItem) __attribute__((deprecated));
# 411 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
typedef struct __SKSearch* SKSearchRef;
# 423 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern CFTypeID
SKSearchGetTypeID(void) ;
# 435 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
typedef UInt32 SKSearchOptions;
enum {
kSKSearchOptionDefault = 0,
kSKSearchOptionNoRelevanceScores = 1L << 0,
kSKSearchOptionSpaceMeansOR = 1L << 1,
kSKSearchOptionFindSimilar = 1L << 2
};
# 473 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern SKSearchRef
SKSearchCreate(
SKIndexRef inIndex,
CFStringRef inQuery,
SKSearchOptions inSearchOptions) ;
# 491 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern void
SKSearchCancel(SKSearchRef inSearch) ;
# 539 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern Boolean
SKSearchFindMatches(
SKSearchRef inSearch,
CFIndex inMaximumCount,
SKDocumentID * outDocumentIDsArray,
float * outScoresArray,
CFTimeInterval maximumTime,
CFIndex * outFoundCount) ;
# 580 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern void
SKIndexCopyInfoForDocumentIDs(
SKIndexRef inIndex,
CFIndex inCount,
SKDocumentID * inDocumentIDsArray,
CFStringRef * outNamesArray,
SKDocumentID * outParentIDsArray) ;
# 614 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern void
SKIndexCopyDocumentRefsForDocumentIDs(
SKIndexRef inIndex,
CFIndex inCount,
SKDocumentID * inDocumentIDsArray,
SKDocumentRef * outDocumentRefsArray) ;
# 647 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSearch.h" 3
extern void
SKIndexCopyDocumentURLsForDocumentIDs(
SKIndexRef inIndex,
CFIndex inCount,
SKDocumentID * inDocumentIDsArray,
CFURLRef * outDocumentURLsArray) ;
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
#define __SKSUMMARY__
# 53 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
typedef struct __SKSummary* SKSummaryRef;
# 68 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFTypeID
SKSummaryGetTypeID(void) ;
# 96 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern SKSummaryRef
SKSummaryCreateWithString(CFStringRef inString) ;
# 116 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFIndex
SKSummaryGetSentenceCount(SKSummaryRef summary) ;
# 136 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFIndex
SKSummaryGetParagraphCount(SKSummaryRef summary) ;
# 159 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFStringRef
SKSummaryCopySentenceAtIndex(
SKSummaryRef summary,
CFIndex i) ;
# 184 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFStringRef
SKSummaryCopyParagraphAtIndex(
SKSummaryRef summary,
CFIndex i) ;
# 210 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFStringRef
SKSummaryCopySentenceSummaryString(
SKSummaryRef summary,
CFIndex numSentences) ;
# 236 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFStringRef
SKSummaryCopyParagraphSummaryString(
SKSummaryRef summary,
CFIndex numParagraphs) ;
# 277 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFIndex
SKSummaryGetSentenceSummaryInfo(
SKSummaryRef summary,
CFIndex numSentencesInSummary,
CFIndex * outRankOrderOfSentences,
CFIndex * outSentenceIndexOfSentences,
CFIndex * outParagraphIndexOfSentences) ;
# 317 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SKSummary.h" 3
extern CFIndex
SKSummaryGetParagraphSummaryInfo(
SKSummaryRef summary,
CFIndex numParagraphsInSummary,
CFIndex * outRankOrderOfParagraphs,
CFIndex * outParagraphIndexOfParagraphs) ;
# 47 "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework/Headers/SearchKit.h" 2 3
# 46 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h" 1 3
#define __METADATA_METADATA__ 1
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 1 3
# 31 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
#define __MDITEM__ 1
# 43 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
#define MD_EXPORT extern
#define MD_AVAIL AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER
#define MD_AVAIL_LEOPARD AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER
#define MD_BEGIN_C_DECLS
#define MD_END_C_DECLS
#define MD_DEPRECATED __attribute__ ((deprecated))
typedef struct __MDItem *MDItemRef;
extern CFTypeID MDItemGetTypeID(void) ;
# 88 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern MDItemRef MDItemCreate(CFAllocatorRef allocator, CFStringRef path) ;
# 98 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern CFTypeRef MDItemCopyAttribute(MDItemRef item, CFStringRef name) ;
# 111 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern CFDictionaryRef MDItemCopyAttributes(MDItemRef item, CFArrayRef names) ;
# 125 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern CFDictionaryRef MDItemCopyAttributeList(MDItemRef item, ... ) ;
# 134 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern CFArrayRef MDItemCopyAttributeNames(MDItemRef item) ;
# 400 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemAttributeChangeDate ;
extern const CFStringRef kMDItemContentType ;
extern const CFStringRef kMDItemContentTypeTree ;
extern const CFStringRef kMDItemKeywords ;
extern const CFStringRef kMDItemTitle ;
extern const CFStringRef kMDItemAuthors ;
extern const CFStringRef kMDItemEditors ;
extern const CFStringRef kMDItemProjects ;
extern const CFStringRef kMDItemWhereFroms ;
extern const CFStringRef kMDItemComment ;
extern const CFStringRef kMDItemCopyright ;
extern const CFStringRef kMDItemLastUsedDate ;
extern const CFStringRef kMDItemContentCreationDate ;
extern const CFStringRef kMDItemContentModificationDate ;
extern const CFStringRef kMDItemDurationSeconds ;
extern const CFStringRef kMDItemContactKeywords ;
extern const CFStringRef kMDItemVersion ;
extern const CFStringRef kMDItemPixelHeight ;
extern const CFStringRef kMDItemPixelWidth ;
extern const CFStringRef kMDItemColorSpace ;
extern const CFStringRef kMDItemBitsPerSample ;
extern const CFStringRef kMDItemFlashOnOff ;
extern const CFStringRef kMDItemFocalLength ;
extern const CFStringRef kMDItemAcquisitionMake ;
extern const CFStringRef kMDItemAcquisitionModel ;
extern const CFStringRef kMDItemISOSpeed ;
extern const CFStringRef kMDItemOrientation ;
extern const CFStringRef kMDItemLayerNames ;
extern const CFStringRef kMDItemWhiteBalance ;
extern const CFStringRef kMDItemAperture ;
extern const CFStringRef kMDItemProfileName ;
extern const CFStringRef kMDItemResolutionWidthDPI ;
extern const CFStringRef kMDItemResolutionHeightDPI ;
extern const CFStringRef kMDItemExposureMode ;
extern const CFStringRef kMDItemExposureTimeSeconds ;
extern const CFStringRef kMDItemEXIFVersion ;
extern const CFStringRef kMDItemEXIFGPSVersion ;
extern const CFStringRef kMDItemAltitude ;
extern const CFStringRef kMDItemLatitude ;
extern const CFStringRef kMDItemLongitude ;
extern const CFStringRef kMDItemSpeed ;
extern const CFStringRef kMDItemTimestamp ;
extern const CFStringRef kMDItemGPSTrack ;
extern const CFStringRef kMDItemImageDirection ;
extern const CFStringRef kMDItemCodecs ;
extern const CFStringRef kMDItemMediaTypes ;
extern const CFStringRef kMDItemStreamable ;
extern const CFStringRef kMDItemTotalBitRate ;
extern const CFStringRef kMDItemVideoBitRate ;
extern const CFStringRef kMDItemAudioBitRate ;
extern const CFStringRef kMDItemDeliveryType ;
extern const CFStringRef kMDItemAlbum ;
extern const CFStringRef kMDItemHasAlphaChannel ;
extern const CFStringRef kMDItemRedEyeOnOff ;
extern const CFStringRef kMDItemMeteringMode ;
extern const CFStringRef kMDItemMaxAperture ;
extern const CFStringRef kMDItemFNumber ;
extern const CFStringRef kMDItemExposureProgram ;
extern const CFStringRef kMDItemExposureTimeString ;
extern const CFStringRef kMDItemHeadline ;
extern const CFStringRef kMDItemInstructions ;
extern const CFStringRef kMDItemCity ;
extern const CFStringRef kMDItemStateOrProvince ;
extern const CFStringRef kMDItemCountry ;
# 531 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemFSName ;
extern const CFStringRef kMDItemDisplayName ;
extern const CFStringRef kMDItemPath ;
extern const CFStringRef kMDItemFSSize ;
extern const CFStringRef kMDItemFSCreationDate ;
extern const CFStringRef kMDItemFSContentChangeDate ;
extern const CFStringRef kMDItemFSOwnerUserID ;
extern const CFStringRef kMDItemFSOwnerGroupID ;
extern const CFStringRef kMDItemFSExists __attribute__((deprecated));
extern const CFStringRef kMDItemFSIsReadable __attribute__((deprecated));
extern const CFStringRef kMDItemFSIsWriteable __attribute__((deprecated));
extern const CFStringRef kMDItemFSHasCustomIcon ;
extern const CFStringRef kMDItemFSIsExtensionHidden ;
extern const CFStringRef kMDItemFSIsStationery ;
extern const CFStringRef kMDItemFSInvisible ;
extern const CFStringRef kMDItemFSLabel ;
extern const CFStringRef kMDItemFSNodeCount ;
extern const CFStringRef kMDItemTextContent ;
# 611 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemAudioSampleRate ;
extern const CFStringRef kMDItemAudioChannelCount ;
extern const CFStringRef kMDItemTempo ;
extern const CFStringRef kMDItemKeySignature ;
extern const CFStringRef kMDItemTimeSignature ;
extern const CFStringRef kMDItemAudioEncodingApplication ;
extern const CFStringRef kMDItemComposer ;
extern const CFStringRef kMDItemLyricist ;
extern const CFStringRef kMDItemAudioTrackNumber ;
extern const CFStringRef kMDItemRecordingDate ;
extern const CFStringRef kMDItemMusicalGenre ;
extern const CFStringRef kMDItemIsGeneralMIDISequence ;
extern const CFStringRef kMDItemRecordingYear ;
# 694 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemOrganizations ;
extern const CFStringRef kMDItemLanguages ;
extern const CFStringRef kMDItemRights ;
extern const CFStringRef kMDItemPublishers ;
extern const CFStringRef kMDItemContributors ;
extern const CFStringRef kMDItemCoverage ;
extern const CFStringRef kMDItemSubject ;
extern const CFStringRef kMDItemTheme ;
extern const CFStringRef kMDItemDescription ;
extern const CFStringRef kMDItemIdentifier ;
extern const CFStringRef kMDItemAudiences ;
# 763 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemNumberOfPages ;
extern const CFStringRef kMDItemPageWidth ;
extern const CFStringRef kMDItemPageHeight ;
extern const CFStringRef kMDItemSecurityMethod ;
extern const CFStringRef kMDItemCreator ;
extern const CFStringRef kMDItemEncodingApplications ;
extern const CFStringRef kMDItemDueDate ;
extern const CFStringRef kMDItemStarRating ;
extern const CFStringRef kMDItemPhoneNumbers ;
extern const CFStringRef kMDItemEmailAddresses ;
extern const CFStringRef kMDItemInstantMessageAddresses ;
extern const CFStringRef kMDItemKind ;
extern const CFStringRef kMDItemRecipients ;
extern const CFStringRef kMDItemFinderComment ;
extern const CFStringRef kMDItemFonts ;
# 836 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemAppleLoopsRootKey ;
extern const CFStringRef kMDItemAppleLoopsKeyFilterType ;
extern const CFStringRef kMDItemAppleLoopsLoopMode ;
extern const CFStringRef kMDItemAppleLoopDescriptors ;
extern const CFStringRef kMDItemMusicalInstrumentCategory ;
extern const CFStringRef kMDItemMusicalInstrumentName ;
extern const CFStringRef kMDItemCFBundleIdentifier ;
extern const CFStringRef kMDItemSupportFileType ;
# 880 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 3
extern const CFStringRef kMDItemInformation ;
extern const CFStringRef kMDItemDirector ;
extern const CFStringRef kMDItemProducer ;
extern const CFStringRef kMDItemGenre ;
extern const CFStringRef kMDItemPerformers ;
extern const CFStringRef kMDItemOriginalFormat ;
extern const CFStringRef kMDItemOriginalSource ;
extern const CFStringRef kMDItemAuthorEmailAddresses ;
extern const CFStringRef kMDItemRecipientEmailAddresses ;
extern const CFStringRef kMDItemURL ;
#define MDItemCopyAttributeList(item,...) __MDItemCopyAttributesEllipsis1(item, __VA_ARGS__, NULL)
extern CFDictionaryRef __MDItemCopyAttributesEllipsis1(MDItemRef item, ...) ;
# 11 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 1 3
# 64 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
#define __MDQUERY__ 1
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 1 3
# 73 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 2 3
typedef struct __MDQuery *MDQueryRef;
typedef enum {
kMDQuerySynchronous = 1,
kMDQueryWantsUpdates = 4
} MDQueryOptionFlags;
# 117 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFTypeID MDQueryGetTypeID(void) ;
# 153 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern MDQueryRef MDQueryCreate(CFAllocatorRef allocator, CFStringRef queryString, CFArrayRef valueListAttrs, CFArrayRef sortingAttrs) ;
# 193 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern MDQueryRef MDQueryCreateSubset(CFAllocatorRef allocator, MDQueryRef query, CFStringRef queryString, CFArrayRef valueListAttrs, CFArrayRef sortingAttrs) ;
extern CFStringRef MDQueryCopyQueryString(MDQueryRef query) ;
# 210 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFArrayRef MDQueryCopyValueListAttributes(MDQueryRef query) ;
# 219 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFArrayRef MDQueryCopySortingAttributes(MDQueryRef query) ;
# 264 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
typedef struct {
size_t first_max_num;
size_t first_max_ms;
size_t progress_max_num;
size_t progress_max_ms;
size_t update_max_num;
size_t update_max_ms;
} MDQueryBatchingParams;
# 281 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern MDQueryBatchingParams MDQueryGetBatchingParameters(MDQueryRef query) ;
extern void MDQuerySetBatchingParameters(MDQueryRef query, MDQueryBatchingParams params) ;
# 320 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
typedef const void *(*MDQueryCreateResultFunction)(MDQueryRef query, MDItemRef item, void *context);
# 387 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQuerySetCreateResultFunction(MDQueryRef query, MDQueryCreateResultFunction func, void *context, const CFArrayCallBacks *cb) ;
# 411 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
typedef const void *(*MDQueryCreateValueFunction)(MDQueryRef query, CFStringRef attrName, CFTypeRef attrValue, void *context);
# 476 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQuerySetCreateValueFunction(MDQueryRef query, MDQueryCreateValueFunction func, void *context, const CFArrayCallBacks *cb) ;
# 512 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern Boolean MDQueryExecute(MDQueryRef query, CFOptionFlags optionFlags) ;
# 537 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQueryStop(MDQueryRef query) ;
# 548 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQueryDisableUpdates(MDQueryRef query) ;
# 559 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQueryEnableUpdates(MDQueryRef query) ;
# 569 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern Boolean MDQueryIsGatheringComplete(MDQueryRef query) ;
# 579 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFIndex MDQueryGetResultCount(MDQueryRef query) ;
# 600 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const void *MDQueryGetResultAtIndex(MDQueryRef query, CFIndex idx) ;
# 622 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFIndex MDQueryGetIndexOfResult(MDQueryRef query, const void *result) ;
# 639 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void *MDQueryGetAttributeValueOfResultAtIndex(MDQueryRef query, CFStringRef name, CFIndex idx) ;
# 655 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFArrayRef MDQueryCopyValuesOfAttribute(MDQueryRef query, CFStringRef name) ;
# 674 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern CFIndex MDQueryGetCountOfResultsWithAttributeValue(MDQueryRef query, CFStringRef name, CFTypeRef value) ;
# 705 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
typedef CFComparisonResult (*MDQuerySortComparatorFunction)(const CFTypeRef attrs1[], const CFTypeRef attrs2[], void *context);
# 736 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQuerySetSortComparator(MDQueryRef query, MDQuerySortComparatorFunction comparator, void *context) ;
# 755 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryProgressNotification ;
# 768 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryDidFinishNotification ;
# 783 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryDidUpdateNotification ;
# 794 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryUpdateAddedItems ;
# 811 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryUpdateChangedItems ;
# 826 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryUpdateRemovedItems ;
# 854 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern const CFStringRef kMDQueryResultContentRelevance ;
# 874 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQuerySetSearchScope(MDQueryRef query, CFArrayRef scopeDirectories, OptionBits scopeOptions) ;
extern const CFStringRef kMDQueryScopeHome ;
extern const CFStringRef kMDQueryScopeComputer ;
extern const CFStringRef kMDQueryScopeNetwork ;
# 906 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h" 3
extern void MDQuerySetMaxCount(MDQueryRef query, CFIndex size) ;
# 12 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 1 3
# 14 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 3
#define __MDSCHEMA__ 1
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 1 3
# 20 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 2 3
# 32 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 3
extern CFDictionaryRef MDSchemaCopyAttributesForContentType(CFStringRef contentTypeUTI) ;
extern CFDictionaryRef MDSchemaCopyMetaAttributesForAttribute(CFStringRef name) ;
extern CFArrayRef MDSchemaCopyAllAttributes(void) ;
# 56 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 3
extern CFStringRef MDSchemaCopyDisplayNameForAttribute(CFStringRef name) ;
# 65 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDSchema.h" 3
extern CFStringRef MDSchemaCopyDisplayDescriptionForAttribute(CFStringRef name) ;
extern const CFStringRef kMDAttributeDisplayValues ;
extern const CFStringRef kMDAttributeAllValues ;
extern const CFStringRef kMDAttributeReadOnlyValues ;
extern const CFStringRef kMDExporterAvaliable ;
extern const CFStringRef kMDAttributeName ;
extern const CFStringRef kMDAttributeType ;
extern const CFStringRef kMDAttributeMultiValued ;
# 13 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDImporter.h" 1 3
# 17 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDImporter.h" 3
#define __MDIMPORTER__ 1
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h" 1 3
# 23 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDImporter.h" 2 3
# 40 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDImporter.h" 3
#define kMDImporterTypeID CFUUIDGetConstantUUIDWithBytes(kCFAllocatorDefault,0x8B,0x08,0xC4,0xBF,0x41,0x5B,0x11,0xD8,0xB3,0xF9,0x00,0x03,0x93,0x67,0x26,0xFC)
#define kMDImporterInterfaceID CFUUIDGetConstantUUIDWithBytes(kCFAllocatorDefault,0x6E,0xBC,0x27,0xC4,0x89,0x9C,0x11,0xD8,0x84,0xAE,0x00,0x03,0x93,0x67,0x26,0xFC)
#define kMDExporterInterfaceID CFUUIDGetConstantUUIDWithBytes(kCFAllocatorDefault,0xB4,0x1C,0x60,0x74,0x7D,0xFB,0x40,0x57,0x96,0x9D,0x31,0xC8,0xE8,0x61,0xA8,0xD4)
# 14 "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h" 2 3
# 49 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 1 "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h" 1 3
# 9 "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h" 3
#define __DICTIONARYSERVICES__
# 23 "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h" 3
typedef const struct __DCSDictionary* DCSDictionaryRef;
# 40 "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h" 3
extern CFRange DCSGetTermRangeInString( DCSDictionaryRef dictionary, CFStringRef textString, CFIndex offset );
# 53 "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h" 3
extern CFStringRef DCSCopyTextDefinition( DCSDictionaryRef dictionary, CFStringRef textString, CFRange range );
# 50 "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" 2 3
# 21 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 3
#define __APPLICATIONSERVICES__
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h" 3
#define __ATS__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
#define __ATSLAYOUTTYPES__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 3
#define __SFNTLAYOUTTYPES__
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 3
#pragma pack(push, 2)
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 3
enum {
kAllTypographicFeaturesType = 0,
kLigaturesType = 1,
kCursiveConnectionType = 2,
kLetterCaseType = 3,
kVerticalSubstitutionType = 4,
kLinguisticRearrangementType = 5,
kNumberSpacingType = 6,
kSmartSwashType = 8,
kDiacriticsType = 9,
kVerticalPositionType = 10,
kFractionsType = 11,
kOverlappingCharactersType = 13,
kTypographicExtrasType = 14,
kMathematicalExtrasType = 15,
kOrnamentSetsType = 16,
kCharacterAlternativesType = 17,
kDesignComplexityType = 18,
kStyleOptionsType = 19,
kCharacterShapeType = 20,
kNumberCaseType = 21,
kTextSpacingType = 22,
kTransliterationType = 23,
kAnnotationType = 24,
kKanaSpacingType = 25,
kIdeographicSpacingType = 26,
kUnicodeDecompositionType = 27,
kRubyKanaType = 28,
kCJKSymbolAlternativesType = 29,
kIdeographicAlternativesType = 30,
kCJKVerticalRomanPlacementType = 31,
kItalicCJKRomanType = 32,
kCJKRomanSpacingType = 103,
kLastFeatureType = -1
};
enum {
kAllTypeFeaturesOnSelector = 0,
kAllTypeFeaturesOffSelector = 1
};
enum {
kRequiredLigaturesOnSelector = 0,
kRequiredLigaturesOffSelector = 1,
kCommonLigaturesOnSelector = 2,
kCommonLigaturesOffSelector = 3,
kRareLigaturesOnSelector = 4,
kRareLigaturesOffSelector = 5,
kLogosOnSelector = 6,
kLogosOffSelector = 7,
kRebusPicturesOnSelector = 8,
kRebusPicturesOffSelector = 9,
kDiphthongLigaturesOnSelector = 10,
kDiphthongLigaturesOffSelector = 11,
kSquaredLigaturesOnSelector = 12,
kSquaredLigaturesOffSelector = 13,
kAbbrevSquaredLigaturesOnSelector = 14,
kAbbrevSquaredLigaturesOffSelector = 15,
kSymbolLigaturesOnSelector = 16,
kSymbolLigaturesOffSelector = 17
};
enum {
kUnconnectedSelector = 0,
kPartiallyConnectedSelector = 1,
kCursiveSelector = 2
};
enum {
kUpperAndLowerCaseSelector = 0,
kAllCapsSelector = 1,
kAllLowerCaseSelector = 2,
kSmallCapsSelector = 3,
kInitialCapsSelector = 4,
kInitialCapsAndSmallCapsSelector = 5
};
enum {
kSubstituteVerticalFormsOnSelector = 0,
kSubstituteVerticalFormsOffSelector = 1
};
enum {
kLinguisticRearrangementOnSelector = 0,
kLinguisticRearrangementOffSelector = 1
};
enum {
kMonospacedNumbersSelector = 0,
kProportionalNumbersSelector = 1,
kThirdWidthNumbersSelector = 2,
kQuarterWidthNumbersSelector = 3
};
enum {
kWordInitialSwashesOnSelector = 0,
kWordInitialSwashesOffSelector = 1,
kWordFinalSwashesOnSelector = 2,
kWordFinalSwashesOffSelector = 3,
kLineInitialSwashesOnSelector = 4,
kLineInitialSwashesOffSelector = 5,
kLineFinalSwashesOnSelector = 6,
kLineFinalSwashesOffSelector = 7,
kNonFinalSwashesOnSelector = 8,
kNonFinalSwashesOffSelector = 9
};
enum {
kShowDiacriticsSelector = 0,
kHideDiacriticsSelector = 1,
kDecomposeDiacriticsSelector = 2
};
enum {
kNormalPositionSelector = 0,
kSuperiorsSelector = 1,
kInferiorsSelector = 2,
kOrdinalsSelector = 3
};
enum {
kNoFractionsSelector = 0,
kVerticalFractionsSelector = 1,
kDiagonalFractionsSelector = 2
};
enum {
kPreventOverlapOnSelector = 0,
kPreventOverlapOffSelector = 1
};
enum {
kHyphensToEmDashOnSelector = 0,
kHyphensToEmDashOffSelector = 1,
kHyphenToEnDashOnSelector = 2,
kHyphenToEnDashOffSelector = 3,
kSlashedZeroOnSelector = 4,
kSlashedZeroOffSelector = 5,
kFormInterrobangOnSelector = 6,
kFormInterrobangOffSelector = 7,
kSmartQuotesOnSelector = 8,
kSmartQuotesOffSelector = 9,
kPeriodsToEllipsisOnSelector = 10,
kPeriodsToEllipsisOffSelector = 11
};
enum {
kHyphenToMinusOnSelector = 0,
kHyphenToMinusOffSelector = 1,
kAsteriskToMultiplyOnSelector = 2,
kAsteriskToMultiplyOffSelector = 3,
kSlashToDivideOnSelector = 4,
kSlashToDivideOffSelector = 5,
kInequalityLigaturesOnSelector = 6,
kInequalityLigaturesOffSelector = 7,
kExponentsOnSelector = 8,
kExponentsOffSelector = 9
};
enum {
kNoOrnamentsSelector = 0,
kDingbatsSelector = 1,
kPiCharactersSelector = 2,
kFleuronsSelector = 3,
kDecorativeBordersSelector = 4,
kInternationalSymbolsSelector = 5,
kMathSymbolsSelector = 6
};
enum {
kNoAlternatesSelector = 0
};
enum {
kDesignLevel1Selector = 0,
kDesignLevel2Selector = 1,
kDesignLevel3Selector = 2,
kDesignLevel4Selector = 3,
kDesignLevel5Selector = 4
};
enum {
kNoStyleOptionsSelector = 0,
kDisplayTextSelector = 1,
kEngravedTextSelector = 2,
kIlluminatedCapsSelector = 3,
kTitlingCapsSelector = 4,
kTallCapsSelector = 5
};
enum {
kTraditionalCharactersSelector = 0,
kSimplifiedCharactersSelector = 1,
kJIS1978CharactersSelector = 2,
kJIS1983CharactersSelector = 3,
kJIS1990CharactersSelector = 4,
kTraditionalAltOneSelector = 5,
kTraditionalAltTwoSelector = 6,
kTraditionalAltThreeSelector = 7,
kTraditionalAltFourSelector = 8,
kTraditionalAltFiveSelector = 9,
kExpertCharactersSelector = 10
};
enum {
kLowerCaseNumbersSelector = 0,
kUpperCaseNumbersSelector = 1
};
enum {
kProportionalTextSelector = 0,
kMonospacedTextSelector = 1,
kHalfWidthTextSelector = 2
};
enum {
kNoTransliterationSelector = 0,
kHanjaToHangulSelector = 1,
kHiraganaToKatakanaSelector = 2,
kKatakanaToHiraganaSelector = 3,
kKanaToRomanizationSelector = 4,
kRomanizationToHiraganaSelector = 5,
kRomanizationToKatakanaSelector = 6,
kHanjaToHangulAltOneSelector = 7,
kHanjaToHangulAltTwoSelector = 8,
kHanjaToHangulAltThreeSelector = 9
};
enum {
kNoAnnotationSelector = 0,
kBoxAnnotationSelector = 1,
kRoundedBoxAnnotationSelector = 2,
kCircleAnnotationSelector = 3,
kInvertedCircleAnnotationSelector = 4,
kParenthesisAnnotationSelector = 5,
kPeriodAnnotationSelector = 6,
kRomanNumeralAnnotationSelector = 7,
kDiamondAnnotationSelector = 8,
kInvertedBoxAnnotationSelector = 9,
kInvertedRoundedBoxAnnotationSelector = 10
};
enum {
kFullWidthKanaSelector = 0,
kProportionalKanaSelector = 1
};
enum {
kFullWidthIdeographsSelector = 0,
kProportionalIdeographsSelector = 1,
kHalfWidthIdeographsSelector = 2
};
enum {
kCanonicalCompositionOnSelector = 0,
kCanonicalCompositionOffSelector = 1,
kCompatibilityCompositionOnSelector = 2,
kCompatibilityCompositionOffSelector = 3,
kTranscodingCompositionOnSelector = 4,
kTranscodingCompositionOffSelector = 5
};
enum {
kNoRubyKanaSelector = 0,
kRubyKanaSelector = 1,
kRubyKanaOnSelector = 2,
kRubyKanaOffSelector = 3
};
enum {
kNoCJKSymbolAlternativesSelector = 0,
kCJKSymbolAltOneSelector = 1,
kCJKSymbolAltTwoSelector = 2,
kCJKSymbolAltThreeSelector = 3,
kCJKSymbolAltFourSelector = 4,
kCJKSymbolAltFiveSelector = 5
};
enum {
kNoIdeographicAlternativesSelector = 0,
kIdeographicAltOneSelector = 1,
kIdeographicAltTwoSelector = 2,
kIdeographicAltThreeSelector = 3,
kIdeographicAltFourSelector = 4,
kIdeographicAltFiveSelector = 5
};
enum {
kCJKVerticalRomanCenteredSelector = 0,
kCJKVerticalRomanHBaselineSelector = 1
};
enum {
kNoCJKItalicRomanSelector = 0,
kCJKItalicRomanSelector = 1,
kCJKItalicRomanOnSelector = 2,
kCJKItalicRomanOffSelector = 3
};
enum {
kHalfWidthCJKRomanSelector = 0,
kProportionalCJKRomanSelector = 1,
kDefaultCJKRomanSelector = 2,
kFullWidthCJKRomanSelector = 3
};
enum {
kSFNTLookupSimpleArray = 0,
kSFNTLookupSegmentSingle = 2,
kSFNTLookupSegmentArray = 4,
kSFNTLookupSingleTable = 6,
kSFNTLookupTrimmedArray = 8
};
typedef UInt16 SFNTLookupTableFormat;
typedef UInt16 SFNTLookupValue;
typedef UInt16 SFNTLookupOffset;
typedef UInt32 SFNTLookupKind;
struct SFNTLookupBinarySearchHeader {
UInt16 unitSize;
UInt16 nUnits;
UInt16 searchRange;
UInt16 entrySelector;
UInt16 rangeShift;
};
typedef struct SFNTLookupBinarySearchHeader SFNTLookupBinarySearchHeader;
struct SFNTLookupArrayHeader {
SFNTLookupValue lookupValues[1];
};
typedef struct SFNTLookupArrayHeader SFNTLookupArrayHeader;
struct SFNTLookupTrimmedArrayHeader {
UInt16 firstGlyph;
UInt16 count;
SFNTLookupValue valueArray[1];
};
typedef struct SFNTLookupTrimmedArrayHeader SFNTLookupTrimmedArrayHeader;
struct SFNTLookupSegment {
UInt16 lastGlyph;
UInt16 firstGlyph;
UInt16 value[1];
};
typedef struct SFNTLookupSegment SFNTLookupSegment;
struct SFNTLookupSegmentHeader {
SFNTLookupBinarySearchHeader binSearch;
SFNTLookupSegment segments[1];
};
typedef struct SFNTLookupSegmentHeader SFNTLookupSegmentHeader;
struct SFNTLookupSingle {
UInt16 glyph;
UInt16 value[1];
};
typedef struct SFNTLookupSingle SFNTLookupSingle;
struct SFNTLookupSingleHeader {
SFNTLookupBinarySearchHeader binSearch;
SFNTLookupSingle entries[1];
};
typedef struct SFNTLookupSingleHeader SFNTLookupSingleHeader;
union SFNTLookupFormatSpecificHeader {
SFNTLookupArrayHeader theArray;
SFNTLookupSegmentHeader segment;
SFNTLookupSingleHeader single;
SFNTLookupTrimmedArrayHeader trimmedArray;
};
typedef union SFNTLookupFormatSpecificHeader SFNTLookupFormatSpecificHeader;
struct SFNTLookupTable {
SFNTLookupTableFormat format;
SFNTLookupFormatSpecificHeader fsHeader;
};
typedef struct SFNTLookupTable SFNTLookupTable;
typedef SFNTLookupTable * SFNTLookupTablePtr;
typedef SFNTLookupTablePtr * SFNTLookupTableHandle;
enum {
kSTClassEndOfText = 0,
kSTClassOutOfBounds = 1,
kSTClassDeletedGlyph = 2,
kSTClassEndOfLine = 3,
kSTSetMark = 0x8000,
kSTNoAdvance = 0x4000,
kSTMarkEnd = 0x2000,
kSTLigActionMask = 0x3FFF,
kSTRearrVerbMask = 0x000F
};
typedef UInt8 STClass;
typedef UInt8 STEntryIndex;
struct STHeader {
UInt8 filler;
STClass nClasses;
UInt16 classTableOffset;
UInt16 stateArrayOffset;
UInt16 entryTableOffset;
};
typedef struct STHeader STHeader;
struct STClassTable {
UInt16 firstGlyph;
UInt16 nGlyphs;
STClass classes[1];
};
typedef struct STClassTable STClassTable;
struct STEntryZero {
UInt16 newState;
UInt16 flags;
};
typedef struct STEntryZero STEntryZero;
struct STEntryOne {
UInt16 newState;
UInt16 flags;
UInt16 offset1;
};
typedef struct STEntryOne STEntryOne;
struct STEntryTwo {
UInt16 newState;
UInt16 flags;
UInt16 offset1;
UInt16 offset2;
};
typedef struct STEntryTwo STEntryTwo;
enum {
kSTXHasLigAction = 0x2000
};
typedef UInt16 STXClass;
typedef UInt16 STXStateIndex;
typedef UInt16 STXEntryIndex;
struct STXHeader {
UInt32 nClasses;
UInt32 classTableOffset;
UInt32 stateArrayOffset;
UInt32 entryTableOffset;
};
typedef struct STXHeader STXHeader;
typedef SFNTLookupTable STXClassTable;
struct STXEntryZero {
STXStateIndex newState;
UInt16 flags;
};
typedef struct STXEntryZero STXEntryZero;
struct STXEntryOne {
STXStateIndex newState;
UInt16 flags;
UInt16 index1;
};
typedef struct STXEntryOne STXEntryOne;
struct STXEntryTwo {
STXStateIndex newState;
UInt16 flags;
UInt16 index1;
UInt16 index2;
};
typedef struct STXEntryTwo STXEntryTwo;
enum {
kLCARTag = 0x6C636172,
kLCARCurrentVersion = 0x00010000,
kLCARLinearFormat = 0,
kLCARCtlPointFormat = 1
};
struct LcarCaretClassEntry {
UInt16 count;
UInt16 partials[1];
};
typedef struct LcarCaretClassEntry LcarCaretClassEntry;
struct LcarCaretTable {
Fixed version;
UInt16 format;
SFNTLookupTable lookup;
};
typedef struct LcarCaretTable LcarCaretTable;
typedef LcarCaretTable * LcarCaretTablePtr;
enum {
kJUSTTag = 0x6A757374,
kJUSTCurrentVersion = 0x00010000,
kJUSTStandardFormat = 0,
kJUSTnoGlyphcode = 0xFFFF,
kJUSTpcDecompositionAction = 0,
kJUSTpcUnconditionalAddAction = 1,
kJUSTpcConditionalAddAction = 2,
kJUSTpcGlyphStretchAction = 3,
kJUSTpcDuctilityAction = 4,
kJUSTpcGlyphRepeatAddAction = 5
};
enum {
kJUSTKashidaPriority = 0,
kJUSTSpacePriority = 1,
kJUSTLetterPriority = 2,
kJUSTNullPriority = 3,
kJUSTPriorityCount = 4
};
enum {
kJUSTOverridePriority = 0x8000,
kJUSTOverrideLimits = 0x4000,
kJUSTOverrideUnlimited = 0x2000,
kJUSTUnlimited = 0x1000,
kJUSTPriorityMask = 0x0003
};
typedef UInt16 JustPCActionType;
typedef UInt16 JustificationFlags;
struct JustPCDecompositionAction {
Fixed lowerLimit;
Fixed upperLimit;
UInt16 order;
UInt16 count;
UInt16 glyphs[1];
};
typedef struct JustPCDecompositionAction JustPCDecompositionAction;
typedef UInt16 JustPCUnconditionalAddAction;
struct JustPCConditionalAddAction {
Fixed substThreshhold;
UInt16 addGlyph;
UInt16 substGlyph;
};
typedef struct JustPCConditionalAddAction JustPCConditionalAddAction;
struct JustPCDuctilityAction {
UInt32 ductilityAxis;
Fixed minimumLimit;
Fixed noStretchValue;
Fixed maximumLimit;
};
typedef struct JustPCDuctilityAction JustPCDuctilityAction;
struct JustPCGlyphRepeatAddAction {
UInt16 flags;
UInt16 glyph;
};
typedef struct JustPCGlyphRepeatAddAction JustPCGlyphRepeatAddAction;
struct JustPCActionSubrecord {
UInt16 theClass;
JustPCActionType theType;
UInt32 length;
UInt32 data;
};
typedef struct JustPCActionSubrecord JustPCActionSubrecord;
struct JustPCAction {
UInt32 actionCount;
JustPCActionSubrecord actions[1];
};
typedef struct JustPCAction JustPCAction;
struct JustWidthDeltaEntry {
UInt32 justClass;
Fixed beforeGrowLimit;
Fixed beforeShrinkLimit;
Fixed afterGrowLimit;
Fixed afterShrinkLimit;
JustificationFlags growFlags;
JustificationFlags shrinkFlags;
};
typedef struct JustWidthDeltaEntry JustWidthDeltaEntry;
struct JustWidthDeltaGroup {
UInt32 count;
JustWidthDeltaEntry entries[1];
};
typedef struct JustWidthDeltaGroup JustWidthDeltaGroup;
struct JustPostcompTable {
SFNTLookupTable lookupTable;
};
typedef struct JustPostcompTable JustPostcompTable;
struct JustDirectionTable {
UInt16 justClass;
UInt16 widthDeltaClusters;
UInt16 postcomp;
SFNTLookupTable lookup;
};
typedef struct JustDirectionTable JustDirectionTable;
struct JustTable {
Fixed version;
UInt16 format;
UInt16 horizHeaderOffset;
UInt16 vertHeaderOffset;
};
typedef struct JustTable JustTable;
enum {
kOPBDTag = 0x6F706264,
kOPBDCurrentVersion = 0x00010000,
kOPBDDistanceFormat = 0,
kOPBDControlPointFormat = 1
};
typedef UInt16 OpbdTableFormat;
struct OpbdSideValues {
SInt16 leftSideShift;
SInt16 topSideShift;
SInt16 rightSideShift;
SInt16 bottomSideShift;
};
typedef struct OpbdSideValues OpbdSideValues;
struct OpbdTable {
Fixed version;
OpbdTableFormat format;
SFNTLookupTable lookupTable;
};
typedef struct OpbdTable OpbdTable;
enum {
kMORTTag = 0x6D6F7274,
kMORTCurrentVersion = 0x00010000,
kMORTCoverVertical = 0x8000,
kMORTCoverDescending = 0x4000,
kMORTCoverIgnoreVertical = 0x2000,
kMORTCoverTypeMask = 0x000F,
kMORTRearrangementType = 0,
kMORTContextualType = 1,
kMORTLigatureType = 2,
kMORTSwashType = 4,
kMORTInsertionType = 5,
kMORTLigLastAction = (long)0x80000000,
kMORTLigStoreLigature = 0x40000000,
kMORTLigFormOffsetMask = 0x3FFFFFFF,
kMORTLigFormOffsetShift = 2,
kMORTraNoAction = 0,
kMORTraxA = 1,
kMORTraDx = 2,
kMORTraDxA = 3,
kMORTraxAB = 4,
kMORTraxBA = 5,
kMORTraCDx = 6,
kMORTraDCx = 7,
kMORTraCDxA = 8,
kMORTraDCxA = 9,
kMORTraDxAB = 10,
kMORTraDxBA = 11,
kMORTraCDxAB = 12,
kMORTraCDxBA = 13,
kMORTraDCxAB = 14,
kMORTraDCxBA = 15,
kMORTDoInsertionsBefore = 0x80,
kMORTIsSplitVowelPiece = 0x40,
kMORTInsertionsCountMask = 0x3F,
kMORTCurrInsertKashidaLike = 0x2000,
kMORTMarkInsertKashidaLike = 0x1000,
kMORTCurrInsertBefore = 0x0800,
kMORTMarkInsertBefore = 0x0400,
kMORTMarkJustTableCountMask = 0x3F80,
kMORTMarkJustTableCountShift = 7,
kMORTCurrJustTableCountMask = 0x007F,
kMORTCurrJustTableCountShift = 0,
kMORTCurrInsertCountMask = 0x03E0,
kMORTCurrInsertCountShift = 5,
kMORTMarkInsertCountMask = 0x001F,
kMORTMarkInsertCountShift = 0
};
typedef UInt32 MortSubtableMaskFlags;
typedef UInt32 MortLigatureActionEntry;
struct MortRearrangementSubtable {
STHeader header;
};
typedef struct MortRearrangementSubtable MortRearrangementSubtable;
struct MortContextualSubtable {
STHeader header;
UInt16 substitutionTableOffset;
};
typedef struct MortContextualSubtable MortContextualSubtable;
struct MortLigatureSubtable {
STHeader header;
UInt16 ligatureActionTableOffset;
UInt16 componentTableOffset;
UInt16 ligatureTableOffset;
};
typedef struct MortLigatureSubtable MortLigatureSubtable;
struct MortSwashSubtable {
SFNTLookupTable lookup;
};
typedef struct MortSwashSubtable MortSwashSubtable;
struct MortInsertionSubtable {
STHeader header;
};
typedef struct MortInsertionSubtable MortInsertionSubtable;
union MortSpecificSubtable {
MortRearrangementSubtable rearrangement;
MortContextualSubtable contextual;
MortLigatureSubtable ligature;
MortSwashSubtable swash;
MortInsertionSubtable insertion;
};
typedef union MortSpecificSubtable MortSpecificSubtable;
struct MortSubtable {
UInt16 length;
UInt16 coverage;
MortSubtableMaskFlags flags;
MortSpecificSubtable u;
};
typedef struct MortSubtable MortSubtable;
struct MortFeatureEntry {
UInt16 featureType;
UInt16 featureSelector;
MortSubtableMaskFlags enableFlags;
MortSubtableMaskFlags disableFlags;
};
typedef struct MortFeatureEntry MortFeatureEntry;
struct MortChain {
MortSubtableMaskFlags defaultFlags;
UInt32 length;
UInt16 nFeatures;
UInt16 nSubtables;
MortFeatureEntry featureEntries[1];
};
typedef struct MortChain MortChain;
struct MortTable {
Fixed version;
UInt32 nChains;
MortChain chains[1];
};
typedef struct MortTable MortTable;
enum {
kMORXTag = 0x6D6F7278,
kMORXCurrentVersion = 0x00020000,
kMORXCoverVertical = (long)0x80000000,
kMORXCoverDescending = 0x40000000,
kMORXCoverIgnoreVertical = 0x20000000,
kMORXCoverTypeMask = 0x000000FF
};
struct MorxRearrangementSubtable {
STXHeader header;
};
typedef struct MorxRearrangementSubtable MorxRearrangementSubtable;
struct MorxContextualSubtable {
STXHeader header;
UInt32 substitutionTableOffset;
};
typedef struct MorxContextualSubtable MorxContextualSubtable;
struct MorxLigatureSubtable {
STXHeader header;
UInt32 ligatureActionTableOffset;
UInt32 componentTableOffset;
UInt32 ligatureTableOffset;
};
typedef struct MorxLigatureSubtable MorxLigatureSubtable;
struct MorxInsertionSubtable {
STXHeader header;
UInt32 insertionGlyphTableOffset;
};
typedef struct MorxInsertionSubtable MorxInsertionSubtable;
union MorxSpecificSubtable {
MorxRearrangementSubtable rearrangement;
MorxContextualSubtable contextual;
MorxLigatureSubtable ligature;
MortSwashSubtable swash;
MorxInsertionSubtable insertion;
};
typedef union MorxSpecificSubtable MorxSpecificSubtable;
struct MorxSubtable {
UInt32 length;
UInt32 coverage;
MortSubtableMaskFlags flags;
MorxSpecificSubtable u;
};
typedef struct MorxSubtable MorxSubtable;
struct MorxChain {
MortSubtableMaskFlags defaultFlags;
UInt32 length;
UInt32 nFeatures;
UInt32 nSubtables;
MortFeatureEntry featureEntries[1];
};
typedef struct MorxChain MorxChain;
struct MorxTable {
Fixed version;
UInt32 nChains;
MorxChain chains[1];
};
typedef struct MorxTable MorxTable;
enum {
kPROPTag = 0x70726F70,
kPROPCurrentVersion = 0x00030000,
kPROPPairOffsetShift = 8,
kPROPPairOffsetSign = 7,
kPROPIsFloaterMask = 0x8000,
kPROPCanHangLTMask = 0x4000,
kPROPCanHangRBMask = 0x2000,
kPROPUseRLPairMask = 0x1000,
kPROPPairOffsetMask = 0x0F00,
kPROPRightConnectMask = 0x0080,
kPROPZeroReserved = 0x0060,
kPROPDirectionMask = 0x001F
};
enum {
kPROPLDirectionClass = 0,
kPROPRDirectionClass = 1,
kPROPALDirectionClass = 2,
kPROPENDirectionClass = 3,
kPROPESDirectionClass = 4,
kPROPETDirectionClass = 5,
kPROPANDirectionClass = 6,
kPROPCSDirectionClass = 7,
kPROPPSDirectionClass = 8,
kPROPSDirectionClass = 9,
kPROPWSDirectionClass = 10,
kPROPONDirectionClass = 11,
kPROPSENDirectionClass = 12,
kPROPLREDirectionClass = 13,
kPROPLRODirectionClass = 14,
kPROPRLEDirectionClass = 15,
kPROPRLODirectionClass = 16,
kPROPPDFDirectionClass = 17,
kPROPNSMDirectionClass = 18,
kPROPBNDirectionClass = 19,
kPROPNumDirectionClasses = 20
};
typedef UInt16 PropCharProperties;
struct PropTable {
Fixed version;
UInt16 format;
PropCharProperties defaultProps;
SFNTLookupTable lookup;
};
typedef struct PropTable PropTable;
struct PropLookupSegment {
UInt16 lastGlyph;
UInt16 firstGlyph;
UInt16 value;
};
typedef struct PropLookupSegment PropLookupSegment;
struct PropLookupSingle {
UInt16 glyph;
PropCharProperties props;
};
typedef struct PropLookupSingle PropLookupSingle;
enum {
kTRAKTag = 0x7472616B,
kTRAKCurrentVersion = 0x00010000,
kTRAKUniformFormat = 0
};
typedef SInt16 TrakValue;
struct TrakTableEntry {
Fixed track;
UInt16 nameTableIndex;
UInt16 sizesOffset;
};
typedef struct TrakTableEntry TrakTableEntry;
struct TrakTableData {
UInt16 nTracks;
UInt16 nSizes;
UInt32 sizeTableOffset;
TrakTableEntry trakTable[1];
};
typedef struct TrakTableData TrakTableData;
struct TrakTable {
Fixed version;
UInt16 format;
UInt16 horizOffset;
UInt16 vertOffset;
};
typedef struct TrakTable TrakTable;
enum {
kKERNTag = 0x6B65726E,
kKERNCurrentVersion = 0x00010000,
kKERNVertical = 0x8000,
kKERNResetCrossStream = 0x8000,
kKERNCrossStream = 0x4000,
kKERNVariation = 0x2000,
kKERNUnusedBits = 0x1F00,
kKERNFormatMask = 0x00FF
};
enum {
kKERNOrderedList = 0,
kKERNStateTable = 1,
kKERNSimpleArray = 2,
kKERNIndexArray = 3
};
enum {
kKERNLineStart = 0x00000001,
kKERNLineEndKerning = 0x00000002,
kKERNNoCrossKerning = 0x00000004,
kKERNNotesRequested = 0x00000008,
kKERNNoStakeNote = 1,
kKERNCrossStreamResetNote = 2,
kKERNNotApplied = 0x00000001
};
typedef UInt8 KernTableFormat;
typedef UInt16 KernSubtableInfo;
typedef SInt16 KernKerningValue;
typedef UInt16 KernArrayOffset;
struct KernVersion0Header {
UInt16 version;
UInt16 nTables;
UInt16 firstSubtable[1];
};
typedef struct KernVersion0Header KernVersion0Header;
struct KernTableHeader {
Fixed version;
SInt32 nTables;
UInt16 firstSubtable[1];
};
typedef struct KernTableHeader KernTableHeader;
typedef KernTableHeader * KernTableHeaderPtr;
typedef KernTableHeaderPtr * KernTableHeaderHandle;
# 1213 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 3
struct KernKerningPair {
UInt16 left;
UInt16 right;
};
typedef struct KernKerningPair KernKerningPair;
struct KernOrderedListEntry {
KernKerningPair pair;
KernKerningValue value;
};
typedef struct KernOrderedListEntry KernOrderedListEntry;
typedef KernOrderedListEntry * KernOrderedListEntryPtr;
struct KernOrderedListHeader {
UInt16 nPairs;
UInt16 searchRange;
UInt16 entrySelector;
UInt16 rangeShift;
UInt16 table[1];
};
typedef struct KernOrderedListHeader KernOrderedListHeader;
struct KernStateHeader {
STHeader header;
UInt16 valueTable;
UInt8 firstTable[1];
};
typedef struct KernStateHeader KernStateHeader;
struct KernStateEntry {
UInt16 newState;
UInt16 flags;
};
typedef struct KernStateEntry KernStateEntry;
struct KernOffsetTable {
UInt16 firstGlyph;
UInt16 nGlyphs;
KernArrayOffset offsetTable[1];
};
typedef struct KernOffsetTable KernOffsetTable;
typedef KernOffsetTable * KernOffsetTablePtr;
# 1278 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h" 3
struct KernSimpleArrayHeader {
UInt16 rowWidth;
UInt16 leftOffsetTable;
UInt16 rightOffsetTable;
KernArrayOffset theArray;
UInt16 firstTable[1];
};
typedef struct KernSimpleArrayHeader KernSimpleArrayHeader;
struct KernIndexArrayHeader {
UInt16 glyphCount;
UInt8 kernValueCount;
UInt8 leftClassCount;
UInt8 rightClassCount;
UInt8 flags;
SInt16 kernValue[1];
UInt8 leftClass[1];
UInt8 rightClass[1];
UInt8 kernIndex[1];
};
typedef struct KernIndexArrayHeader KernIndexArrayHeader;
union KernFormatSpecificHeader {
KernOrderedListHeader orderedList;
KernStateHeader stateTable;
KernSimpleArrayHeader simpleArray;
KernIndexArrayHeader indexArray;
};
typedef union KernFormatSpecificHeader KernFormatSpecificHeader;
struct KernVersion0SubtableHeader {
UInt16 version;
UInt16 length;
KernSubtableInfo stInfo;
KernFormatSpecificHeader fsHeader;
};
typedef struct KernVersion0SubtableHeader KernVersion0SubtableHeader;
struct KernSubtableHeader {
SInt32 length;
KernSubtableInfo stInfo;
SInt16 tupleIndex;
KernFormatSpecificHeader fsHeader;
};
typedef struct KernSubtableHeader KernSubtableHeader;
typedef KernSubtableHeader * KernSubtableHeaderPtr;
enum {
kBSLNTag = 0x62736C6E,
kBSLNCurrentVersion = 0x00010000,
kBSLNDistanceFormatNoMap = 0,
kBSLNDistanceFormatWithMap = 1,
kBSLNControlPointFormatNoMap = 2,
kBSLNControlPointFormatWithMap = 3
};
enum {
kBSLNRomanBaseline = 0,
kBSLNIdeographicCenterBaseline = 1,
kBSLNIdeographicLowBaseline = 2,
kBSLNHangingBaseline = 3,
kBSLNMathBaseline = 4,
kBSLNLastBaseline = 31,
kBSLNNumBaselineClasses = kBSLNLastBaseline + 1,
kBSLNNoBaselineOverride = 255
};
typedef UInt32 BslnBaselineClass;
typedef Fixed BslnBaselineRecord[32];
struct BslnFormat0Part {
SInt16 deltas[32];
};
typedef struct BslnFormat0Part BslnFormat0Part;
struct BslnFormat1Part {
SInt16 deltas[32];
SFNTLookupTable mappingData;
};
typedef struct BslnFormat1Part BslnFormat1Part;
struct BslnFormat2Part {
UInt16 stdGlyph;
SInt16 ctlPoints[32];
};
typedef struct BslnFormat2Part BslnFormat2Part;
struct BslnFormat3Part {
UInt16 stdGlyph;
SInt16 ctlPoints[32];
SFNTLookupTable mappingData;
};
typedef struct BslnFormat3Part BslnFormat3Part;
union BslnFormatUnion {
BslnFormat0Part fmt0Part;
BslnFormat1Part fmt1Part;
BslnFormat2Part fmt2Part;
BslnFormat3Part fmt3Part;
};
typedef union BslnFormatUnion BslnFormatUnion;
typedef UInt16 BslnTableFormat;
struct BslnTable {
Fixed version;
BslnTableFormat format;
UInt16 defaultBaseline;
BslnFormatUnion parts;
};
typedef struct BslnTable BslnTable;
typedef BslnTable * BslnTablePtr;
#pragma pack(pop)
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
#define __ATSTYPES__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
#define CGGEOMETRY_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
#define CGBASE_H_
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 2 3
#define CG_EXTERN_C_BEGIN
#define CG_EXTERN_C_END
#define CG_EXTERN extern
#define CG_PRIVATE_EXTERN __private_extern__
#define CG_LOCAL CG_PRIVATE_EXTERN
#define CG_OBSOLETE __attribute__((deprecated))
# 60 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 3
#define CG_INLINE static __inline__
# 71 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 3
typedef double CGFloat;
#define CGFLOAT_MIN DBL_MIN
#define CGFLOAT_MAX DBL_MAX
#define CGFLOAT_IS_DOUBLE 1
#define CGFLOAT_DEFINED 1
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 2 3
struct CGPoint {
CGFloat x;
CGFloat y;
};
typedef struct CGPoint CGPoint;
struct CGSize {
CGFloat width;
CGFloat height;
};
typedef struct CGSize CGSize;
struct CGRect {
CGPoint origin;
CGSize size;
};
typedef struct CGRect CGRect;
enum CGRectEdge {
CGRectMinXEdge, CGRectMinYEdge, CGRectMaxXEdge, CGRectMaxYEdge
};
typedef enum CGRectEdge CGRectEdge;
extern const CGPoint CGPointZero;
extern const CGSize CGSizeZero;
extern const CGRect CGRectZero;
extern const CGRect CGRectNull;
extern const CGRect CGRectInfinite
;
static __inline__ CGPoint CGPointMake(CGFloat x, CGFloat y);
static __inline__ CGSize CGSizeMake(CGFloat width, CGFloat height);
static __inline__ CGRect CGRectMake(CGFloat x, CGFloat y, CGFloat width,
CGFloat height);
extern CGFloat CGRectGetMinX(CGRect rect);
extern CGFloat CGRectGetMidX(CGRect rect);
extern CGFloat CGRectGetMaxX(CGRect rect);
extern CGFloat CGRectGetMinY(CGRect rect);
extern CGFloat CGRectGetMidY(CGRect rect);
extern CGFloat CGRectGetMaxY(CGRect rect);
extern CGFloat CGRectGetWidth(CGRect rect);
extern CGFloat CGRectGetHeight(CGRect rect);
extern _Bool CGPointEqualToPoint(CGPoint point1, CGPoint point2);
extern _Bool CGSizeEqualToSize(CGSize size1, CGSize size2);
extern _Bool CGRectEqualToRect(CGRect rect1, CGRect rect2);
extern CGRect CGRectStandardize(CGRect rect);
extern _Bool CGRectIsEmpty(CGRect rect);
extern _Bool CGRectIsNull(CGRect rect);
extern _Bool CGRectIsInfinite(CGRect rect) ;
extern CGRect CGRectInset(CGRect rect, CGFloat dx, CGFloat dy);
extern CGRect CGRectIntegral(CGRect rect);
extern CGRect CGRectUnion(CGRect r1, CGRect r2);
extern CGRect CGRectIntersection(CGRect r1, CGRect r2);
extern CGRect CGRectOffset(CGRect rect, CGFloat dx, CGFloat dy);
extern void CGRectDivide(CGRect rect, CGRect *slice, CGRect *remainder,
CGFloat amount, CGRectEdge edge);
extern _Bool CGRectContainsPoint(CGRect rect, CGPoint point);
extern _Bool CGRectContainsRect(CGRect rect1, CGRect rect2);
extern _Bool CGRectIntersectsRect(CGRect rect1, CGRect rect2);
extern CFDictionaryRef CGPointCreateDictionaryRepresentation(CGPoint point)
;
extern _Bool CGPointMakeWithDictionaryRepresentation(CFDictionaryRef dict,
CGPoint *point) ;
extern CFDictionaryRef CGSizeCreateDictionaryRepresentation(CGSize size)
;
extern _Bool CGSizeMakeWithDictionaryRepresentation(CFDictionaryRef dict,
CGSize *size) ;
extern CFDictionaryRef CGRectCreateDictionaryRepresentation(CGRect)
;
extern _Bool CGRectMakeWithDictionaryRepresentation(CFDictionaryRef dict,
CGRect *rect) ;
static __inline__ CGPoint
CGPointMake(CGFloat x, CGFloat y)
{
CGPoint p; p.x = x; p.y = y; return p;
}
static __inline__ CGSize
CGSizeMake(CGFloat width, CGFloat height)
{
CGSize size; size.width = width; size.height = height; return size;
}
static __inline__ CGRect
CGRectMake(CGFloat x, CGFloat y, CGFloat width, CGFloat height)
{
CGRect rect;
rect.origin.x = x; rect.origin.y = y;
rect.size.width = width; rect.size.height = height;
return rect;
}
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 2 3
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
#pragma pack(push, 2)
# 61 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
typedef CGPoint ATSPoint;
# 71 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
struct ATSFSSpec {
FSVolumeRefNum vRefNum;
SInt32 parID;
StrFileName name;
};
typedef struct ATSFSSpec ATSFSSpec;
typedef UInt32 FMGeneration;
typedef SInt16 FMFontFamily;
typedef SInt16 FMFontStyle;
typedef SInt16 FMFontSize;
typedef UInt32 FMFont;
struct FMFontFamilyInstance {
FMFontFamily fontFamily;
FMFontStyle fontStyle;
};
typedef struct FMFontFamilyInstance FMFontFamilyInstance;
struct FMFontFamilyIterator {
UInt32 reserved[16];
};
typedef struct FMFontFamilyIterator FMFontFamilyIterator;
struct FMFontIterator {
UInt32 reserved[16];
};
typedef struct FMFontIterator FMFontIterator;
struct FMFontFamilyInstanceIterator {
UInt32 reserved[16];
};
typedef struct FMFontFamilyInstanceIterator FMFontFamilyInstanceIterator;
enum {
kInvalidGeneration = 0L,
kInvalidFontFamily = -1,
kInvalidFont = 0L
};
enum {
kFMCurrentFilterFormat = 0L
};
typedef UInt32 FMFilterSelector;
enum {
kFMFontTechnologyFilterSelector = 1L,
kFMFontContainerFilterSelector = 2L,
kFMGenerationFilterSelector = 3L,
kFMFontFamilyCallbackFilterSelector = 4L,
kFMFontCallbackFilterSelector = 5L,
kFMFontDirectoryFilterSelector = 6L,
kFMFontFileRefFilterSelector = 10L
};
enum {
kFMTrueTypeFontTechnology = 'true',
kFMPostScriptFontTechnology = 'typ1'
};
typedef OSStatus ( * FMFontFamilyCallbackFilterProcPtr)(FMFontFamily iFontFamily, void *iRefCon);
typedef OSStatus ( * FMFontCallbackFilterProcPtr)(FMFont iFont, void *iRefCon);
typedef FMFontFamilyCallbackFilterProcPtr FMFontFamilyCallbackFilterUPP;
typedef FMFontCallbackFilterProcPtr FMFontCallbackFilterUPP;
# 156 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern FMFontFamilyCallbackFilterUPP
NewFMFontFamilyCallbackFilterUPP(FMFontFamilyCallbackFilterProcPtr userRoutine) ;
# 167 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern FMFontCallbackFilterUPP
NewFMFontCallbackFilterUPP(FMFontCallbackFilterProcPtr userRoutine) ;
# 178 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern void
DisposeFMFontFamilyCallbackFilterUPP(FMFontFamilyCallbackFilterUPP userUPP) ;
# 189 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern void
DisposeFMFontCallbackFilterUPP(FMFontCallbackFilterUPP userUPP) ;
# 200 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern OSStatus
InvokeFMFontFamilyCallbackFilterUPP(
FMFontFamily iFontFamily,
void * iRefCon,
FMFontFamilyCallbackFilterUPP userUPP) ;
# 214 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
extern OSStatus
InvokeFMFontCallbackFilterUPP(
FMFont iFont,
void * iRefCon,
FMFontCallbackFilterUPP userUPP) ;
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 3
#define NewFMFontFamilyCallbackFilterUPP(userRoutine) ((FMFontFamilyCallbackFilterUPP)userRoutine)
#define NewFMFontCallbackFilterUPP(userRoutine) ((FMFontCallbackFilterUPP)userRoutine)
#define DisposeFMFontFamilyCallbackFilterUPP(userUPP)
#define DisposeFMFontCallbackFilterUPP(userUPP)
#define InvokeFMFontFamilyCallbackFilterUPP(iFontFamily,iRefCon,userUPP) (*userUPP)(iFontFamily, iRefCon)
#define InvokeFMFontCallbackFilterUPP(iFont,iRefCon,userUPP) (*userUPP)(iFont, iRefCon)
struct FMFontDirectoryFilter {
SInt16 fontFolderDomain;
UInt32 reserved[2];
};
typedef struct FMFontDirectoryFilter FMFontDirectoryFilter;
struct FMFilter {
UInt32 format;
FMFilterSelector selector;
union {
FourCharCode fontTechnologyFilter;
ATSFSSpec fontContainerFilter;
FMGeneration generationFilter;
FMFontFamilyCallbackFilterUPP fontFamilyCallbackFilter;
FMFontCallbackFilterUPP fontCallbackFilter;
FMFontDirectoryFilter fontDirectoryFilter;
const FSRef * fontFileRefFilter;
} filter;
};
typedef struct FMFilter FMFilter;
typedef OptionBits ATSOptionFlags;
typedef UInt32 ATSGeneration;
typedef UInt32 ATSFontContainerRef;
typedef UInt32 ATSFontFamilyRef;
typedef UInt32 ATSFontRef;
typedef UInt16 ATSGlyphRef;
typedef CGFloat ATSFontSize;
typedef UInt32 ATSFontFormat;
enum {
kATSFontFormatUnspecified = 0
};
enum {
kATSGenerationUnspecified = 0L,
kATSFontContainerRefUnspecified = 0L,
kATSFontFamilyRefUnspecified = 0L,
kATSFontRefUnspecified = 0L
};
struct ATSFontMetrics {
UInt32 version;
CGFloat ascent;
CGFloat descent;
CGFloat leading;
CGFloat avgAdvanceWidth;
CGFloat maxAdvanceWidth;
CGFloat minLeftSideBearing;
CGFloat minRightSideBearing;
CGFloat stemWidth;
CGFloat stemHeight;
CGFloat capHeight;
CGFloat xHeight;
CGFloat italicAngle;
CGFloat underlinePosition;
CGFloat underlineThickness;
};
typedef struct ATSFontMetrics ATSFontMetrics;
enum {
kATSItalicQDSkew = (1 << 16) / 4,
kATSBoldQDStretch = (1 << 16) * 3 / 2,
kATSRadiansFactor = 1144
};
typedef UInt16 ATSCurveType;
enum {
kATSCubicCurveType = 0x0001,
kATSQuadCurveType = 0x0002,
kATSOtherCurveType = 0x0003
};
enum {
kATSDeletedGlyphcode = 0xFFFF
};
struct ATSUCurvePath {
UInt32 vectors;
UInt32 controlBits[1];
ATSPoint vector[1];
};
typedef struct ATSUCurvePath ATSUCurvePath;
struct ATSUCurvePaths {
UInt32 contours;
ATSUCurvePath contour[1];
};
typedef struct ATSUCurvePaths ATSUCurvePaths;
struct ATSGlyphIdealMetrics {
ATSPoint advance;
ATSPoint sideBearing;
ATSPoint otherSideBearing;
};
typedef struct ATSGlyphIdealMetrics ATSGlyphIdealMetrics;
struct ATSGlyphScreenMetrics {
ATSPoint deviceAdvance;
ATSPoint topLeft;
UInt32 height;
UInt32 width;
ATSPoint sideBearing;
ATSPoint otherSideBearing;
};
typedef struct ATSGlyphScreenMetrics ATSGlyphScreenMetrics;
typedef ATSGlyphRef GlyphID;
#pragma pack(pop)
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 2 3
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
#pragma pack(push, 2)
enum {
kATSUseGlyphAdvance = 0x7FFFFFFF,
kATSUseLineHeight = 0x7FFFFFFF,
kATSNoTracking = (long)0x80000000
};
# 65 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
enum {
kATSUseCaretOrigins = 0,
kATSUseDeviceOrigins = 1,
# 89 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
kATSUseFractionalOrigins = 2,
kATSUseOriginFlags = 3
};
# 102 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef UInt32 ATSULayoutOperationSelector;
enum {
kATSULayoutOperationNone = 0x00000000,
kATSULayoutOperationJustification = 0x00000001,
kATSULayoutOperationMorph = 0x00000002,
kATSULayoutOperationKerningAdjustment = 0x00000004,
kATSULayoutOperationBaselineAdjustment = 0x00000008,
kATSULayoutOperationTrackingAdjustment = 0x00000010,
kATSULayoutOperationPostLayoutAdjustment = 0x00000020,
kATSULayoutOperationAppleReserved = (UInt32)0xFFFFFFC0
};
# 153 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef UInt32 ATSULayoutOperationCallbackStatus;
enum {
kATSULayoutOperationCallbackStatusHandled = 0x00000000,
kATSULayoutOperationCallbackStatusContinue = 0x00000001
};
# 181 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef UInt32 ATSLineLayoutOptions;
enum {
kATSLineNoLayoutOptions = 0x00000000,
kATSLineIsDisplayOnly = 0x00000001,
kATSLineHasNoHangers = 0x00000002,
kATSLineHasNoOpticalAlignment = 0x00000004,
kATSLineKeepSpacesOutOfMargin = 0x00000008,
kATSLineNoSpecialJustification = 0x00000010,
kATSLineLastNoJustification = 0x00000020,
kATSLineFractDisable = 0x00000040,
kATSLineImposeNoAngleForEnds = 0x00000080,
kATSLineFillOutToWidth = 0x00000100,
kATSLineTabAdjustEnabled = 0x00000200,
kATSLineIgnoreFontLeading = 0x00000400,
kATSLineApplyAntiAliasing = 0x00000800,
kATSLineNoAntiAliasing = 0x00001000,
kATSLineDisableNegativeJustification = 0x00002000,
kATSLineDisableAutoAdjustDisplayPos = 0x00004000,
kATSLineUseQDRendering = 0x00008000,
kATSLineDisableAllJustification = 0x00010000,
kATSLineDisableAllGlyphMorphing = 0x00020000,
kATSLineDisableAllKerningAdjustments = 0x00040000,
kATSLineDisableAllBaselineAdjustments = 0x00080000,
kATSLineDisableAllTrackingAdjustments = 0x00100000,
kATSLineDisableAllLayoutOperations = kATSLineDisableAllJustification | kATSLineDisableAllGlyphMorphing | kATSLineDisableAllKerningAdjustments | kATSLineDisableAllBaselineAdjustments | kATSLineDisableAllTrackingAdjustments,
kATSLineUseDeviceMetrics = 0x01000000,
kATSLineBreakToNearestCharacter = 0x02000000,
kATSLineAppleReserved = (UInt32)0xFCE00000
};
# 343 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef UInt32 ATSStyleRenderingOptions;
enum {
kATSStyleNoOptions = 0x00000000,
kATSStyleNoHinting = 0x00000001,
kATSStyleApplyAntiAliasing = 0x00000002,
kATSStyleNoAntiAliasing = 0x00000004,
kATSStyleAppleReserved = (UInt32)0xFFFFFFF8,
kATSStyleApplyHints = kATSStyleNoOptions
};
# 398 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef UInt32 ATSGlyphInfoFlags;
enum {
kATSGlyphInfoAppleReserved = 0x1FFBFFE8,
kATSGlyphInfoIsAttachment = (UInt32)0x80000000,
kATSGlyphInfoIsLTHanger = 0x40000000,
kATSGlyphInfoIsRBHanger = 0x20000000,
kATSGlyphInfoTerminatorGlyph = 0x00080000,
kATSGlyphInfoIsWhiteSpace = 0x00040000,
kATSGlyphInfoHasImposedWidth = 0x00000010,
kATSGlyphInfoByteSizeMask = 0x00000007
};
# 460 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
struct ATSLayoutRecord {
ATSGlyphRef glyphID;
ATSGlyphInfoFlags flags;
ByteCount originalOffset;
Fixed realPos;
};
typedef struct ATSLayoutRecord ATSLayoutRecord;
# 492 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
struct ATSTrapezoid {
FixedPoint upperLeft;
FixedPoint upperRight;
FixedPoint lowerRight;
FixedPoint lowerLeft;
};
typedef struct ATSTrapezoid ATSTrapezoid;
# 512 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
struct ATSJustWidthDeltaEntryOverride {
Fixed beforeGrowLimit;
Fixed beforeShrinkLimit;
Fixed afterGrowLimit;
Fixed afterShrinkLimit;
JustificationFlags growFlags;
JustificationFlags shrinkFlags;
};
typedef struct ATSJustWidthDeltaEntryOverride ATSJustWidthDeltaEntryOverride;
typedef ATSJustWidthDeltaEntryOverride ATSJustPriorityWidthDeltaOverrides[4];
# 559 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef struct ATSGlyphVector* ATSULineRef;
# 598 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
typedef OSStatus ( * ATSUDirectLayoutOperationOverrideProcPtr)(ATSULayoutOperationSelector iCurrentOperation, ATSULineRef iLineRef, URefCon iRefCon, void *iOperationCallbackParameterPtr, ATSULayoutOperationCallbackStatus *oCallbackStatus);
typedef ATSUDirectLayoutOperationOverrideProcPtr ATSUDirectLayoutOperationOverrideUPP;
# 608 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
extern ATSUDirectLayoutOperationOverrideUPP
NewATSUDirectLayoutOperationOverrideUPP(ATSUDirectLayoutOperationOverrideProcPtr userRoutine) ;
# 619 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
extern void
DisposeATSUDirectLayoutOperationOverrideUPP(ATSUDirectLayoutOperationOverrideUPP userUPP) ;
# 630 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
extern OSStatus
InvokeATSUDirectLayoutOperationOverrideUPP(
ATSULayoutOperationSelector iCurrentOperation,
ATSULineRef iLineRef,
URefCon iRefCon,
void * iOperationCallbackParameterPtr,
ATSULayoutOperationCallbackStatus * oCallbackStatus,
ATSUDirectLayoutOperationOverrideUPP userUPP) ;
#define NewATSUDirectLayoutOperationOverrideUPP(userRoutine) ((ATSUDirectLayoutOperationOverrideUPP)userRoutine)
#define DisposeATSUDirectLayoutOperationOverrideUPP(userUPP)
#define InvokeATSUDirectLayoutOperationOverrideUPP(iCurrentOperation,iLineRef,iRefCon,iOperationCallbackParameterPtr,oCallbackStatus,userUPP) (*userUPP)(iCurrentOperation, iLineRef, iRefCon, iOperationCallbackParameterPtr, oCallbackStatus)
# 662 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h" 3
struct ATSULayoutOperationOverrideSpecifier {
ATSULayoutOperationSelector operationSelector;
ATSUDirectLayoutOperationOverrideUPP overrideUPP;
};
typedef struct ATSULayoutOperationOverrideSpecifier ATSULayoutOperationOverrideSpecifier;
#pragma pack(pop)
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define __ATSFONT__
# 32 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTTypes.h" 3
#define __SFNTTYPES__
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTTypes.h" 3
#pragma pack(push, 2)
struct sfntDirectoryEntry {
FourCharCode tableTag;
UInt32 checkSum;
UInt32 offset;
UInt32 length;
};
typedef struct sfntDirectoryEntry sfntDirectoryEntry;
struct sfntDirectory {
FourCharCode format;
UInt16 numOffsets;
UInt16 searchRange;
UInt16 entrySelector;
UInt16 rangeShift;
sfntDirectoryEntry table[1];
};
typedef struct sfntDirectory sfntDirectory;
enum {
sizeof_sfntDirectory = 12
};
enum {
cmapFontTableTag = 'cmap'
};
enum {
kFontUnicodePlatform = 0,
kFontMacintoshPlatform = 1,
kFontReservedPlatform = 2,
kFontMicrosoftPlatform = 3,
kFontCustomPlatform = 4
};
enum {
kFontUnicodeDefaultSemantics = 0,
kFontUnicodeV1_1Semantics = 1,
kFontISO10646_1993Semantics = 2
};
enum {
kFontRomanScript = 0,
kFontJapaneseScript = 1,
kFontTraditionalChineseScript = 2,
kFontChineseScript = kFontTraditionalChineseScript,
kFontKoreanScript = 3,
kFontArabicScript = 4,
kFontHebrewScript = 5,
kFontGreekScript = 6,
kFontCyrillicScript = 7,
kFontRussian = kFontCyrillicScript,
kFontRSymbolScript = 8,
kFontDevanagariScript = 9,
kFontGurmukhiScript = 10,
kFontGujaratiScript = 11,
kFontOriyaScript = 12,
kFontBengaliScript = 13,
kFontTamilScript = 14,
kFontTeluguScript = 15,
kFontKannadaScript = 16,
kFontMalayalamScript = 17,
kFontSinhaleseScript = 18,
kFontBurmeseScript = 19,
kFontKhmerScript = 20,
kFontThaiScript = 21,
kFontLaotianScript = 22,
kFontGeorgianScript = 23,
kFontArmenianScript = 24,
kFontSimpleChineseScript = 25,
kFontTibetanScript = 26,
kFontMongolianScript = 27,
kFontGeezScript = 28,
kFontEthiopicScript = kFontGeezScript,
kFontAmharicScript = kFontGeezScript,
kFontSlavicScript = 29,
kFontEastEuropeanRomanScript = kFontSlavicScript,
kFontVietnameseScript = 30,
kFontExtendedArabicScript = 31,
kFontSindhiScript = kFontExtendedArabicScript,
kFontUninterpretedScript = 32
};
enum {
kFontMicrosoftSymbolScript = 0,
kFontMicrosoftStandardScript = 1,
kFontMicrosoftUCS4Script = 10
};
enum {
kFontCustom8BitScript = 0,
kFontCustom816BitScript = 1,
kFontCustom16BitScript = 2
};
enum {
kFontEnglishLanguage = 0,
kFontFrenchLanguage = 1,
kFontGermanLanguage = 2,
kFontItalianLanguage = 3,
kFontDutchLanguage = 4,
kFontSwedishLanguage = 5,
kFontSpanishLanguage = 6,
kFontDanishLanguage = 7,
kFontPortugueseLanguage = 8,
kFontNorwegianLanguage = 9,
kFontHebrewLanguage = 10,
kFontJapaneseLanguage = 11,
kFontArabicLanguage = 12,
kFontFinnishLanguage = 13,
kFontGreekLanguage = 14,
kFontIcelandicLanguage = 15,
kFontMalteseLanguage = 16,
kFontTurkishLanguage = 17,
kFontCroatianLanguage = 18,
kFontTradChineseLanguage = 19,
kFontUrduLanguage = 20,
kFontHindiLanguage = 21,
kFontThaiLanguage = 22,
kFontKoreanLanguage = 23,
kFontLithuanianLanguage = 24,
kFontPolishLanguage = 25,
kFontHungarianLanguage = 26,
kFontEstonianLanguage = 27,
kFontLettishLanguage = 28,
kFontLatvianLanguage = kFontLettishLanguage,
kFontSaamiskLanguage = 29,
kFontLappishLanguage = kFontSaamiskLanguage,
kFontFaeroeseLanguage = 30,
kFontFarsiLanguage = 31,
kFontPersianLanguage = kFontFarsiLanguage,
kFontRussianLanguage = 32,
kFontSimpChineseLanguage = 33,
kFontFlemishLanguage = 34,
kFontIrishLanguage = 35,
kFontAlbanianLanguage = 36,
kFontRomanianLanguage = 37,
kFontCzechLanguage = 38,
kFontSlovakLanguage = 39,
kFontSlovenianLanguage = 40,
kFontYiddishLanguage = 41,
kFontSerbianLanguage = 42,
kFontMacedonianLanguage = 43,
kFontBulgarianLanguage = 44,
kFontUkrainianLanguage = 45,
kFontByelorussianLanguage = 46,
kFontUzbekLanguage = 47,
kFontKazakhLanguage = 48,
kFontAzerbaijaniLanguage = 49,
kFontAzerbaijanArLanguage = 50,
kFontArmenianLanguage = 51,
kFontGeorgianLanguage = 52,
kFontMoldavianLanguage = 53,
kFontKirghizLanguage = 54,
kFontTajikiLanguage = 55,
kFontTurkmenLanguage = 56,
kFontMongolianLanguage = 57,
kFontMongolianCyrLanguage = 58,
kFontPashtoLanguage = 59,
kFontKurdishLanguage = 60,
kFontKashmiriLanguage = 61,
kFontSindhiLanguage = 62,
kFontTibetanLanguage = 63,
kFontNepaliLanguage = 64,
kFontSanskritLanguage = 65,
kFontMarathiLanguage = 66,
kFontBengaliLanguage = 67,
kFontAssameseLanguage = 68,
kFontGujaratiLanguage = 69,
kFontPunjabiLanguage = 70,
kFontOriyaLanguage = 71,
kFontMalayalamLanguage = 72,
kFontKannadaLanguage = 73,
kFontTamilLanguage = 74,
kFontTeluguLanguage = 75,
kFontSinhaleseLanguage = 76,
kFontBurmeseLanguage = 77,
kFontKhmerLanguage = 78,
kFontLaoLanguage = 79,
kFontVietnameseLanguage = 80,
kFontIndonesianLanguage = 81,
kFontTagalogLanguage = 82,
kFontMalayRomanLanguage = 83,
kFontMalayArabicLanguage = 84,
kFontAmharicLanguage = 85,
kFontTigrinyaLanguage = 86,
kFontGallaLanguage = 87,
kFontOromoLanguage = kFontGallaLanguage,
kFontSomaliLanguage = 88,
kFontSwahiliLanguage = 89,
kFontRuandaLanguage = 90,
kFontRundiLanguage = 91,
kFontChewaLanguage = 92,
kFontMalagasyLanguage = 93,
kFontEsperantoLanguage = 94,
kFontWelshLanguage = 128,
kFontBasqueLanguage = 129,
kFontCatalanLanguage = 130,
kFontLatinLanguage = 131,
kFontQuechuaLanguage = 132,
kFontGuaraniLanguage = 133,
kFontAymaraLanguage = 134,
kFontTatarLanguage = 135,
kFontUighurLanguage = 136,
kFontDzongkhaLanguage = 137,
kFontJavaneseRomLanguage = 138,
kFontSundaneseRomLanguage = 139
};
enum {
kFontNoPlatformCode = (unsigned int)(~0),
kFontNoScriptCode = (unsigned int)(~0),
kFontNoLanguageCode = (unsigned int)(~0)
};
struct sfntCMapSubHeader {
UInt16 format;
UInt16 length;
UInt16 languageID;
};
typedef struct sfntCMapSubHeader sfntCMapSubHeader;
enum {
sizeof_sfntCMapSubHeader = 6
};
struct sfntCMapExtendedSubHeader {
UInt16 format;
UInt16 reserved;
UInt32 length;
UInt32 language;
};
typedef struct sfntCMapExtendedSubHeader sfntCMapExtendedSubHeader;
enum {
sizeof_sfntCMapExtendedSubHeader = 12
};
struct sfntCMapEncoding {
UInt16 platformID;
UInt16 scriptID;
UInt32 offset;
};
typedef struct sfntCMapEncoding sfntCMapEncoding;
enum {
sizeof_sfntCMapEncoding = 8
};
struct sfntCMapHeader {
UInt16 version;
UInt16 numTables;
sfntCMapEncoding encoding[1];
};
typedef struct sfntCMapHeader sfntCMapHeader;
enum {
sizeof_sfntCMapHeader = 4
};
enum {
nameFontTableTag = 'name'
};
enum {
kFontCopyrightName = 0,
kFontFamilyName = 1,
kFontStyleName = 2,
kFontUniqueName = 3,
kFontFullName = 4,
kFontVersionName = 5,
kFontPostscriptName = 6,
kFontTrademarkName = 7,
kFontManufacturerName = 8,
kFontDesignerName = 9,
kFontDescriptionName = 10,
kFontVendorURLName = 11,
kFontDesignerURLName = 12,
kFontLicenseDescriptionName = 13,
kFontLicenseInfoURLName = 14,
kFontPreferredFamilyName = 16,
kFontPreferredSubfamilyName = 17,
kFontMacCompatibleFullName = 18,
kFontSampleTextName = 19,
kFontPostScriptCIDName = 20,
kFontLastReservedName = 255
};
enum {
kFontNoNameCode = (unsigned int)(~0)
};
struct sfntNameRecord {
UInt16 platformID;
UInt16 scriptID;
UInt16 languageID;
UInt16 nameID;
UInt16 length;
UInt16 offset;
};
typedef struct sfntNameRecord sfntNameRecord;
enum {
sizeof_sfntNameRecord = 12
};
struct sfntNameHeader {
UInt16 format;
UInt16 count;
UInt16 stringOffset;
sfntNameRecord rec[1];
};
typedef struct sfntNameHeader sfntNameHeader;
enum {
sizeof_sfntNameHeader = 6
};
enum {
variationFontTableTag = 'fvar'
};
struct sfntVariationAxis {
FourCharCode axisTag;
Fixed minValue;
Fixed defaultValue;
Fixed maxValue;
SInt16 flags;
SInt16 nameID;
};
typedef struct sfntVariationAxis sfntVariationAxis;
enum {
sizeof_sfntVariationAxis = 20
};
struct sfntInstance {
SInt16 nameID;
SInt16 flags;
Fixed coord[1];
};
typedef struct sfntInstance sfntInstance;
enum {
sizeof_sfntInstance = 4
};
struct sfntVariationHeader {
Fixed version;
UInt16 offsetToData;
UInt16 countSizePairs;
UInt16 axisCount;
UInt16 axisSize;
UInt16 instanceCount;
UInt16 instanceSize;
sfntVariationAxis axis[1];
sfntInstance instance[1];
};
typedef struct sfntVariationHeader sfntVariationHeader;
enum {
sizeof_sfntVariationHeader = 16
};
enum {
descriptorFontTableTag = 'fdsc'
};
struct sfntFontDescriptor {
FourCharCode name;
Fixed value;
};
typedef struct sfntFontDescriptor sfntFontDescriptor;
struct sfntDescriptorHeader {
Fixed version;
SInt32 descriptorCount;
sfntFontDescriptor descriptor[1];
};
typedef struct sfntDescriptorHeader sfntDescriptorHeader;
enum {
sizeof_sfntDescriptorHeader = 8
};
enum {
featureFontTableTag = 'feat'
};
struct sfntFeatureName {
UInt16 featureType;
UInt16 settingCount;
SInt32 offsetToSettings;
UInt16 featureFlags;
UInt16 nameID;
};
typedef struct sfntFeatureName sfntFeatureName;
struct sfntFontFeatureSetting {
UInt16 setting;
UInt16 nameID;
};
typedef struct sfntFontFeatureSetting sfntFontFeatureSetting;
struct sfntFontRunFeature {
UInt16 featureType;
UInt16 setting;
};
typedef struct sfntFontRunFeature sfntFontRunFeature;
struct sfntFeatureHeader {
SInt32 version;
UInt16 featureNameCount;
UInt16 featureSetCount;
SInt32 reserved;
sfntFeatureName names[1];
sfntFontFeatureSetting settings[1];
sfntFontRunFeature runs[1];
};
typedef struct sfntFeatureHeader sfntFeatureHeader;
enum {
os2FontTableTag = 'OS/2'
};
enum {
nonGlyphID = 65535L
};
enum {
kFontNoPlatform = (unsigned int)(~0),
kFontNoScript = (unsigned int)(~0),
kFontNoLanguage = (unsigned int)(~0),
kFontNoName = (unsigned int)(~0)
};
typedef UInt32 FontNameCode;
typedef UInt32 FontPlatformCode;
typedef UInt32 FontScriptCode;
typedef UInt32 FontLanguageCode;
struct FontVariation {
FourCharCode name;
Fixed value;
};
typedef struct FontVariation FontVariation;
#pragma pack(pop)
# 33 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 2 3
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#pragma pack(push, 2)
enum {
kATSOptionFlagsDefault = kNilOptions,
kATSOptionFlagsComposeFontPostScriptName = 1 << 0,
kATSOptionFlagsUseDataForkAsResourceFork = 1 << 8,
kATSOptionFlagsUseResourceFork = 2 << 8,
kATSOptionFlagsUseDataFork = 3 << 8
};
enum {
kATSIterationCompleted = -980L,
kATSInvalidFontFamilyAccess = -981L,
kATSInvalidFontAccess = -982L,
kATSIterationScopeModified = -983L,
kATSInvalidFontTableAccess = -984L,
kATSInvalidFontContainerAccess = -985L,
kATSInvalidGlyphAccess = -986L
};
typedef UInt32 ATSFontContext;
enum {
kATSFontContextUnspecified = 0,
kATSFontContextGlobal = 1,
kATSFontContextLocal = 2
};
enum {
kATSOptionFlagsActivateDisabled = 0x00000001 << 5,
kATSOptionFlagsProcessSubdirectories = 0x00000001 << 6,
kATSOptionFlagsDoNotNotify = 0x00000001 << 7,
kATSOptionFlagsRecordPersistently = 0x00000001 << 18
};
enum {
kATSOptionFlagsIterateByPrecedenceMask = 0x00000001 << 5,
kATSOptionFlagsIncludeDisabledMask = 0x00000001 << 7,
kATSOptionFlagsIterationScopeMask = 0x00000007 << 12,
kATSOptionFlagsDefaultScope = 0x00000000 << 12,
kATSOptionFlagsUnRestrictedScope = 0x00000001 << 12,
kATSOptionFlagsRestrictedScope = 0x00000002 << 12
};
typedef OSStatus ( * ATSFontFamilyApplierFunction)(ATSFontFamilyRef iFamily, void *iRefCon);
typedef OSStatus ( * ATSFontApplierFunction)(ATSFontRef iFont, void *iRefCon);
typedef struct ATSFontFamilyIterator_* ATSFontFamilyIterator;
typedef struct ATSFontIterator_* ATSFontIterator;
enum {
kATSFontFilterCurrentVersion = 0
};
enum ATSFontFilterSelector {
kATSFontFilterSelectorUnspecified = 0,
kATSFontFilterSelectorGeneration = 3,
kATSFontFilterSelectorFontFamily = 7,
kATSFontFilterSelectorFontFamilyApplierFunction = 8,
kATSFontFilterSelectorFontApplierFunction = 9,
kATSFileReferenceFilterSelector = 10
};
typedef enum ATSFontFilterSelector ATSFontFilterSelector;
struct ATSFontFilter {
UInt32 version;
ATSFontFilterSelector filterSelector;
union {
ATSGeneration generationFilter;
ATSFontFamilyRef fontFamilyFilter;
ATSFontFamilyApplierFunction fontFamilyApplierFunctionFilter;
ATSFontApplierFunction fontApplierFunctionFilter;
const FSRef * fontFileRefFilter;
} filter;
};
typedef struct ATSFontFilter ATSFontFilter;
typedef struct ATSFontNotificationRef_* ATSFontNotificationRef;
typedef struct ATSFontNotificationInfoRef_* ATSFontNotificationInfoRef;
# 138 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
enum ATSFontNotifyOption {
kATSFontNotifyOptionDefault = 0,
# 153 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
kATSFontNotifyOptionReceiveWhileSuspended = 1L << 0
};
typedef enum ATSFontNotifyOption ATSFontNotifyOption;
# 168 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
enum ATSFontNotifyAction {
# 177 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
kATSFontNotifyActionFontsChanged = 1,
# 187 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
kATSFontNotifyActionDirectoriesChanged = 2
};
typedef enum ATSFontNotifyAction ATSFontNotifyAction;
# 208 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
typedef void ( * ATSNotificationCallback)(ATSFontNotificationInfoRef info, void *refCon);
# 223 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSGeneration
ATSGetGeneration(void) ;
# 333 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontActivateFromFileReference(
const FSRef * iFile,
ATSFontContext iContext,
ATSFontFormat iFormat,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ;
# 354 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontActivateFromMemory(
LogicalAddress iData,
ByteCount iLength,
ATSFontContext iContext,
ATSFontFormat iFormat,
void * iReserved,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ;
# 376 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontDeactivate(
ATSFontContainerRef iContainer,
void * iRefCon,
ATSOptionFlags iOptions) ;
# 427 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetContainerFromFileReference(
const FSRef * iFile,
ATSFontContext iContext,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ;
# 466 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetContainer(
ATSFontRef iFont,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ;
# 504 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontSetEnabled(
ATSFontRef iFont,
ATSOptionFlags iOptions,
Boolean iEnabled) ;
# 533 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern Boolean
ATSFontIsEnabled(ATSFontRef iFont) ;
# 551 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyApplyFunction(
ATSFontFamilyApplierFunction iFunction,
void * iRefCon) ;
# 568 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyIteratorCreate(
ATSFontContext iContext,
const ATSFontFilter * iFilter,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontFamilyIterator * ioIterator) ;
# 588 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyIteratorRelease(ATSFontFamilyIterator * ioIterator) ;
# 603 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyIteratorReset(
ATSFontContext iContext,
const ATSFontFilter * iFilter,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontFamilyIterator * ioIterator) ;
# 623 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyIteratorNext(
ATSFontFamilyIterator iIterator,
ATSFontFamilyRef * oFamily) ;
# 640 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontFamilyRef
ATSFontFamilyFindFromName(
CFStringRef iName,
ATSOptionFlags iOptions) ;
# 657 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSGeneration
ATSFontFamilyGetGeneration(ATSFontFamilyRef iFamily) ;
# 672 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyGetName(
ATSFontFamilyRef iFamily,
ATSOptionFlags iOptions,
CFStringRef * oName) ;
# 690 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern TextEncoding
ATSFontFamilyGetEncoding(ATSFontFamilyRef iFamily) ;
# 708 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontApplyFunction(
ATSFontApplierFunction iFunction,
void * iRefCon) ;
# 725 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontIteratorCreate(
ATSFontContext iContext,
const ATSFontFilter * iFilter,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontIterator * ioIterator) ;
# 745 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontIteratorRelease(ATSFontIterator * ioIterator) ;
# 760 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontIteratorReset(
ATSFontContext iContext,
const ATSFontFilter * iFilter,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontIterator * ioIterator) ;
# 780 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontIteratorNext(
ATSFontIterator iIterator,
ATSFontRef * oFont) ;
# 797 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontRef
ATSFontFindFromName(
CFStringRef iName,
ATSOptionFlags iOptions) ;
# 814 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontRef
ATSFontFindFromPostScriptName(
CFStringRef iName,
ATSOptionFlags iOptions) ;
# 831 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFindFromContainer(
ATSFontContainerRef iContainer,
ATSOptionFlags iOptions,
ItemCount iCount,
ATSFontRef ioArray[],
ItemCount * oCount) ;
# 851 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSGeneration
ATSFontGetGeneration(ATSFontRef iFont) ;
# 866 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetName(
ATSFontRef iFont,
ATSOptionFlags iOptions,
CFStringRef * oName) ;
# 884 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetPostScriptName(
ATSFontRef iFont,
ATSOptionFlags iOptions,
CFStringRef * oName) ;
# 902 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetTableDirectory(
ATSFontRef iFont,
ByteCount iBufferSize,
void * ioBuffer,
ByteCount * oSize) ;
# 921 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetTable(
ATSFontRef iFont,
FourCharCode iTag,
ByteOffset iOffset,
ByteCount iBufferSize,
void * ioBuffer,
ByteCount * oSize) ;
# 942 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetHorizontalMetrics(
ATSFontRef iFont,
ATSOptionFlags iOptions,
ATSFontMetrics * oMetrics) ;
# 960 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetVerticalMetrics(
ATSFontRef iFont,
ATSOptionFlags iOptions,
ATSFontMetrics * oMetrics) ;
# 981 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontFamilyRef
ATSFontFamilyFindFromQuickDrawName(ConstStr255Param iName) ;
# 996 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontFamilyGetQuickDrawName(
ATSFontFamilyRef iFamily,
Str255 oName) ;
# 1070 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetFileReference(
ATSFontRef iFont,
FSRef * oFile) ;
# 1088 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontGetFontFamilyResource(
ATSFontRef iFont,
ByteCount iBufferSize,
void * ioBuffer,
ByteCount * oSize) ;
# 1128 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontNotify(
ATSFontNotifyAction action,
void * info) ;
# 1173 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontNotificationSubscribe(
ATSNotificationCallback callback,
ATSFontNotifyOption options,
void * iRefcon,
ATSFontNotificationRef * oNotificationRef) ;
# 1209 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontNotificationUnsubscribe(ATSFontNotificationRef notificationRef) ;
# 1225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
struct ATSFontQuerySourceContext {
UInt32 version;
void * refCon;
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
};
typedef struct ATSFontQuerySourceContext ATSFontQuerySourceContext;
enum ATSFontQueryMessageID {
kATSQueryActivateFontMessage = 'atsa'
};
typedef enum ATSFontQueryMessageID ATSFontQueryMessageID;
# 1293 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
typedef CFPropertyListRef ( * ATSFontQueryCallback)(ATSFontQueryMessageID msgid, CFPropertyListRef data, void *refCon);
# 1333 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern CFRunLoopSourceRef
ATSCreateFontQueryRunLoopSource(
CFIndex queryOrder,
CFIndex sourceOrder,
ATSFontQueryCallback callout,
const ATSFontQuerySourceContext * context) ;
# 1354 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSQueryClientPID CFSTR("ATS client pid")
# 1364 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSQueryQDFamilyName CFSTR("font family name")
# 1374 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSQueryFontName CFSTR("font name")
# 1386 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSQueryFontPostScriptName CFSTR("font PS name")
# 1397 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSQueryFontNameTableEntries CFSTR("font name table entries")
# 1407 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSFontNameTableCode CFSTR("font name code")
# 1416 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSFontNameTablePlatform CFSTR("font platform code")
# 1425 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSFontNameTableScript CFSTR("font script code")
# 1434 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSFontNameTableLanguage CFSTR("font language code")
# 1443 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
#define kATSFontNameTableBytes CFSTR("font name table bytes")
# 1454 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
enum {
kATSFontAutoActivationDefault = 0,
kATSFontAutoActivationDisabled = 1,
kATSFontAutoActivationEnabled = 2,
kATSFontAutoActivationAsk = 4
};
typedef UInt32 ATSFontAutoActivationSetting;
# 1498 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontSetGlobalAutoActivationSetting(ATSFontAutoActivationSetting iSetting) ;
# 1520 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontAutoActivationSetting
ATSFontGetGlobalAutoActivationSetting(void) ;
# 1561 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern OSStatus
ATSFontSetAutoActivationSettingForApplication(
ATSFontAutoActivationSetting iSetting,
CFURLRef iApplicationFileURL) ;
# 1598 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h" 3
extern ATSFontAutoActivationSetting
ATSFontGetAutoActivationSettingForApplication(CFURLRef iApplicationFileURL) ;
#pragma pack(pop)
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ScalerStreamTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ScalerStreamTypes.h" 3
#define __SCALERSTREAMTYPES__
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ScalerStreamTypes.h" 3
#pragma pack(push, 2)
enum {
cexec68K = 0x00000001,
truetypeStreamType = 0x00000001,
type1StreamType = 0x00000002,
type3StreamType = 0x00000004,
type42StreamType = 0x00000008,
type42GXStreamType = 0x00000010,
portableStreamType = 0x00000020,
flattenedStreamType = 0x00000040,
cidType2StreamType = 0x00000080,
cidType0StreamType = 0x00000100,
type1CFFStreamType = 0x00000200,
evenOddModifierStreamType = 0x00008000,
eexecBinaryModifierStreamType = 0x00010000,
unicodeMappingModifierStreamType = 0x00020000,
scalerSpecifcModifierMask = 0x0000F000,
streamTypeModifierMask = (long)0xFFFFF000
};
typedef UInt32 scalerStreamTypeFlag;
enum {
downloadStreamAction = 0,
asciiDownloadStreamAction = 1,
fontSizeQueryStreamAction = 2,
encodingOnlyStreamAction = 3,
prerequisiteQueryStreamAction = 4,
prerequisiteItemStreamAction = 5,
variationQueryStreamAction = 6,
variationPSOperatorStreamAction = 7
};
typedef SInt32 scalerStreamAction;
enum {
selectAllVariations = -1
};
struct scalerPrerequisiteItem {
SInt32 enumeration;
SInt32 size;
unsigned char name[1];
};
typedef struct scalerPrerequisiteItem scalerPrerequisiteItem;
struct scalerStream {
const void * streamRefCon;
const char * targetVersion;
scalerStreamTypeFlag types;
scalerStreamAction action;
UInt32 memorySize;
SInt32 variationCount;
const void * variations;
union {
struct {
const unsigned short * encoding;
SInt32 * glyphBits;
char * name;
} font;
struct {
SInt32 size;
void * list;
} prerequisiteQuery;
SInt32 prerequisiteItem;
SInt32 variationQueryResult;
} info;
};
typedef struct scalerStream scalerStream;
struct scalerStreamData {
SInt32 hexFlag;
SInt32 byteCount;
const void * data;
};
typedef struct scalerStreamData scalerStreamData;
#pragma pack(pop)
# 38 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h" 2 3
# 27 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 3
#define __QD__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 1 3
#define COREGRAPHICS_H_
#define __COREGRAPHICS__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 1 3
#define CGAFFINETRANSFORM_H_
typedef struct CGAffineTransform CGAffineTransform;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 2 3
struct CGAffineTransform {
CGFloat a, b, c, d;
CGFloat tx, ty;
};
extern const CGAffineTransform CGAffineTransformIdentity;
extern CGAffineTransform CGAffineTransformMake(CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty);
extern CGAffineTransform CGAffineTransformMakeTranslation(CGFloat tx, CGFloat ty);
extern CGAffineTransform CGAffineTransformMakeScale(CGFloat sx, CGFloat sy);
extern CGAffineTransform CGAffineTransformMakeRotation(CGFloat angle);
extern _Bool CGAffineTransformIsIdentity(CGAffineTransform t) ;
extern CGAffineTransform CGAffineTransformTranslate(CGAffineTransform t, CGFloat tx, CGFloat ty);
extern CGAffineTransform CGAffineTransformScale(CGAffineTransform t, CGFloat sx, CGFloat sy);
extern CGAffineTransform CGAffineTransformRotate(CGAffineTransform t, CGFloat angle);
extern CGAffineTransform CGAffineTransformInvert(CGAffineTransform t);
extern CGAffineTransform CGAffineTransformConcat(CGAffineTransform t1, CGAffineTransform t2);
extern _Bool CGAffineTransformEqualToTransform(CGAffineTransform t1, CGAffineTransform t2) ;
extern CGPoint CGPointApplyAffineTransform(CGPoint point, CGAffineTransform t);
extern CGSize CGSizeApplyAffineTransform(CGSize size, CGAffineTransform t);
# 96 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 3
extern CGRect CGRectApplyAffineTransform(CGRect rect, CGAffineTransform t) ;
static __inline__ CGAffineTransform
__CGAffineTransformMake(CGFloat a, CGFloat b, CGFloat c, CGFloat d,
CGFloat tx, CGFloat ty)
{
CGAffineTransform t;
t.a = a; t.b = b; t.c = c; t.d = d; t.tx = tx; t.ty = ty;
return t;
}
#define CGAffineTransformMake __CGAffineTransformMake
static __inline__ CGPoint
__CGPointApplyAffineTransform(CGPoint point, CGAffineTransform t)
{
CGPoint p;
p.x = (CGFloat)((double)t.a * point.x + (double)t.c * point.y + t.tx);
p.y = (CGFloat)((double)t.b * point.x + (double)t.d * point.y + t.ty);
return p;
}
#define CGPointApplyAffineTransform __CGPointApplyAffineTransform
static __inline__ CGSize
__CGSizeApplyAffineTransform(CGSize size, CGAffineTransform t)
{
CGSize s;
s.width = (CGFloat)((double)t.a * size.width + (double)t.c * size.height);
s.height = (CGFloat)((double)t.b * size.width + (double)t.d * size.height);
return s;
}
#define CGSizeApplyAffineTransform __CGSizeApplyAffineTransform
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h" 1 3
#define CGBITMAPCONTEXT_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
#define CGCONTEXT_H_
typedef struct CGContext *CGContextRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 1 3
#define CGCOLOR_H_
typedef struct CGColor *CGColorRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
#define CGCOLORSPACE_H_
typedef struct CGColorSpace *CGColorSpaceRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
#define CGDATAPROVIDER_H_
typedef struct CGDataProvider *CGDataProviderRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 2 3
typedef size_t (*CGDataProviderGetBytesCallback)(void *info, void *buffer, size_t count);
typedef off_t (*CGDataProviderSkipForwardCallback)(void *info, off_t count);
typedef void (*CGDataProviderRewindCallback)(void *info);
typedef void (*CGDataProviderReleaseInfoCallback)(void *info);
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 3
struct CGDataProviderSequentialCallbacks {
unsigned int version;
CGDataProviderGetBytesCallback getBytes;
CGDataProviderSkipForwardCallback skipForward;
CGDataProviderRewindCallback rewind;
CGDataProviderReleaseInfoCallback releaseInfo;
};
typedef struct CGDataProviderSequentialCallbacks CGDataProviderSequentialCallbacks;
typedef const void *(*CGDataProviderGetBytePointerCallback)(void *info);
typedef void (*CGDataProviderReleaseBytePointerCallback)(void *info, const void *pointer);
typedef size_t (*CGDataProviderGetBytesAtPositionCallback)(void *info, void *buffer, off_t position, size_t count);
# 89 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 3
struct CGDataProviderDirectCallbacks {
unsigned int version;
CGDataProviderGetBytePointerCallback getBytePointer;
CGDataProviderReleaseBytePointerCallback releaseBytePointer;
CGDataProviderGetBytesAtPositionCallback getBytesAtPosition;
CGDataProviderReleaseInfoCallback releaseInfo;
};
typedef struct CGDataProviderDirectCallbacks CGDataProviderDirectCallbacks;
extern CFTypeID CGDataProviderGetTypeID(void) ;
extern CGDataProviderRef CGDataProviderCreateSequential(void *info, const CGDataProviderSequentialCallbacks *callbacks) ;
extern CGDataProviderRef CGDataProviderCreateDirect(void *info, off_t size, const CGDataProviderDirectCallbacks *callbacks) ;
typedef void (*CGDataProviderReleaseDataCallback)(void *info, const void *data, size_t size);
extern CGDataProviderRef CGDataProviderCreateWithData(void *info, const void *data, size_t size, CGDataProviderReleaseDataCallback releaseData);
extern CGDataProviderRef CGDataProviderCreateWithCFData(CFDataRef data) ;
extern CGDataProviderRef CGDataProviderCreateWithURL(CFURLRef url);
extern CGDataProviderRef CGDataProviderCreateWithFilename(const char *filename);
extern CGDataProviderRef CGDataProviderRetain(CGDataProviderRef provider);
extern void CGDataProviderRelease(CGDataProviderRef provider);
extern CFDataRef CGDataProviderCopyData(CGDataProviderRef provider);
typedef void (*CGDataProviderSkipBytesCallback)(void *info, size_t count);
# 168 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 3
struct CGDataProviderCallbacks {
CGDataProviderGetBytesCallback getBytes;
CGDataProviderSkipBytesCallback skipBytes;
CGDataProviderRewindCallback rewind;
CGDataProviderReleaseInfoCallback releaseProvider;
};
typedef struct CGDataProviderCallbacks CGDataProviderCallbacks;
typedef size_t (*CGDataProviderGetBytesAtOffsetCallback)(void *info, void *buffer, size_t offset, size_t count);
# 193 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 3
struct CGDataProviderDirectAccessCallbacks {
CGDataProviderGetBytePointerCallback getBytePointer;
CGDataProviderReleaseBytePointerCallback releaseBytePointer;
CGDataProviderGetBytesAtOffsetCallback getBytes;
CGDataProviderReleaseInfoCallback releaseProvider;
};
typedef struct CGDataProviderDirectAccessCallbacks CGDataProviderDirectAccessCallbacks;
extern CGDataProviderRef CGDataProviderCreate(void *info, const CGDataProviderCallbacks *callbacks) __attribute__((deprecated));
extern CGDataProviderRef CGDataProviderCreateDirectAccess(void *info, size_t size, const CGDataProviderDirectAccessCallbacks *callbacks) __attribute__((deprecated));
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 2 3
enum CGColorRenderingIntent {
kCGRenderingIntentDefault,
kCGRenderingIntentAbsoluteColorimetric,
kCGRenderingIntentRelativeColorimetric,
kCGRenderingIntentPerceptual,
kCGRenderingIntentSaturation
};
typedef enum CGColorRenderingIntent CGColorRenderingIntent;
enum CGColorSpaceModel {
kCGColorSpaceModelUnknown = -1,
kCGColorSpaceModelMonochrome,
kCGColorSpaceModelRGB,
kCGColorSpaceModelCMYK,
kCGColorSpaceModelLab,
kCGColorSpaceModelDeviceN,
kCGColorSpaceModelIndexed,
kCGColorSpaceModelPattern
};
typedef enum CGColorSpaceModel CGColorSpaceModel;
extern const CFStringRef kCGColorSpaceGenericGray ;
extern const CFStringRef kCGColorSpaceGenericRGB ;
extern const CFStringRef kCGColorSpaceGenericCMYK ;
extern const CFStringRef kCGColorSpaceGenericRGBLinear ;
extern const CFStringRef kCGColorSpaceAdobeRGB1998 ;
extern const CFStringRef kCGColorSpaceSRGB ;
extern CGColorSpaceRef CGColorSpaceCreateDeviceGray(void);
extern CGColorSpaceRef CGColorSpaceCreateDeviceRGB(void);
extern CGColorSpaceRef CGColorSpaceCreateDeviceCMYK(void);
extern CGColorSpaceRef CGColorSpaceCreateCalibratedGray(const CGFloat whitePoint[3], const CGFloat blackPoint[3], CGFloat gamma);
# 102 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 3
extern CGColorSpaceRef CGColorSpaceCreateCalibratedRGB(const CGFloat whitePoint[3], const CGFloat blackPoint[3], const CGFloat gamma[3], const CGFloat matrix[9]);
# 111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 3
extern CGColorSpaceRef CGColorSpaceCreateLab(const CGFloat whitePoint[3], const CGFloat blackPoint[3], const CGFloat range[4]);
# 127 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 3
extern CGColorSpaceRef CGColorSpaceCreateICCBased(size_t nComponents, const CGFloat *range, CGDataProviderRef profile, CGColorSpaceRef alternate);
# 139 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 3
extern CGColorSpaceRef CGColorSpaceCreateIndexed(CGColorSpaceRef baseSpace, size_t lastIndex, const unsigned char *colorTable);
extern CGColorSpaceRef CGColorSpaceCreatePattern(CGColorSpaceRef baseSpace);
extern CGColorSpaceRef CGColorSpaceCreateWithPlatformColorSpace(void *ref);
extern CGColorSpaceRef CGColorSpaceCreateWithName(CFStringRef name) ;
extern CGColorSpaceRef CGColorSpaceRetain(CGColorSpaceRef space);
extern void CGColorSpaceRelease(CGColorSpaceRef space);
extern CFTypeID CGColorSpaceGetTypeID(void) ;
extern size_t CGColorSpaceGetNumberOfComponents(CGColorSpaceRef space);
extern CGColorSpaceModel CGColorSpaceGetModel(CGColorSpaceRef space) ;
extern CGColorSpaceRef CGColorSpaceGetBaseColorSpace(CGColorSpaceRef space) ;
extern size_t CGColorSpaceGetColorTableCount(CGColorSpaceRef space) ;
# 200 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 3
extern void CGColorSpaceGetColorTable(CGColorSpaceRef space, unsigned char *table) ;
extern CFDataRef CGColorSpaceCopyICCProfile(CGColorSpaceRef space) ;
#define kCGColorSpaceUserGray CFSTR("kCGColorSpaceUserGray")
#define kCGColorSpaceUserRGB CFSTR("kCGColorSpaceUserRGB")
#define kCGColorSpaceUserCMYK CFSTR("kCGColorSpaceUserCMYK")
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 1 3
#define CGPATTERN_H_
typedef struct CGPattern *CGPatternRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 2 3
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 3
enum CGPatternTiling {
kCGPatternTilingNoDistortion,
kCGPatternTilingConstantSpacingMinimalDistortion,
kCGPatternTilingConstantSpacing
};
typedef enum CGPatternTiling CGPatternTiling;
# 49 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 3
typedef void (*CGPatternDrawPatternCallback)(void *info, CGContextRef c);
typedef void (*CGPatternReleaseInfoCallback)(void *info);
struct CGPatternCallbacks {
unsigned int version;
CGPatternDrawPatternCallback drawPattern;
CGPatternReleaseInfoCallback releaseInfo;
};
typedef struct CGPatternCallbacks CGPatternCallbacks;
extern CFTypeID CGPatternGetTypeID(void) ;
extern CGPatternRef CGPatternCreate(void *info, CGRect bounds, CGAffineTransform matrix, CGFloat xStep, CGFloat yStep, CGPatternTiling tiling, _Bool isColored, const CGPatternCallbacks *callbacks);
extern CGPatternRef CGPatternRetain(CGPatternRef pattern);
extern void CGPatternRelease(CGPatternRef pattern);
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 2 3
extern CGColorRef CGColorCreate(CGColorSpaceRef space, const CGFloat components[]) ;
extern CGColorRef CGColorCreateGenericGray(CGFloat gray, CGFloat alpha) ;
extern CGColorRef CGColorCreateGenericRGB(CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha) ;
extern CGColorRef CGColorCreateGenericCMYK(CGFloat cyan, CGFloat magenta, CGFloat yellow, CGFloat black, CGFloat alpha) ;
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 3
extern CGColorRef CGColorGetConstantColor(CFStringRef colorName) ;
extern CGColorRef CGColorCreateWithPattern(CGColorSpaceRef space, CGPatternRef pattern, const CGFloat components[]) ;
extern CGColorRef CGColorCreateCopy(CGColorRef color) ;
extern CGColorRef CGColorCreateCopyWithAlpha(CGColorRef color, CGFloat alpha) ;
extern CGColorRef CGColorRetain(CGColorRef color) ;
extern void CGColorRelease(CGColorRef color) ;
extern _Bool CGColorEqualToColor(CGColorRef color1, CGColorRef color2) ;
extern size_t CGColorGetNumberOfComponents(CGColorRef color) ;
extern const CGFloat *CGColorGetComponents(CGColorRef color) ;
extern CGFloat CGColorGetAlpha(CGColorRef color) ;
extern CGColorSpaceRef CGColorGetColorSpace(CGColorRef color) ;
extern CGPatternRef CGColorGetPattern(CGColorRef color) ;
extern CFTypeID CGColorGetTypeID(void) ;
extern const CFStringRef kCGColorWhite ;
extern const CFStringRef kCGColorBlack ;
extern const CFStringRef kCGColorClear ;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 1 3
#define CGFONT_H_
typedef struct CGFont *CGFontRef;
typedef unsigned short CGFontIndex;
typedef CGFontIndex CGGlyph;
enum CGFontPostScriptFormat {
kCGFontPostScriptFormatType1 = 1,
kCGFontPostScriptFormatType3 = 3,
kCGFontPostScriptFormatType42 = 42
};
typedef enum CGFontPostScriptFormat CGFontPostScriptFormat;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 36 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 2 3
enum {
kCGFontIndexMax = ((1 << 16) - 2),
kCGFontIndexInvalid = ((1 << 16) - 1),
kCGGlyphMax = kCGFontIndexMax
};
extern CFTypeID CGFontGetTypeID(void) ;
extern CGFontRef CGFontCreateWithPlatformFont(void *platformFontReference);
extern CGFontRef CGFontCreateWithDataProvider(CGDataProviderRef provider) ;
extern CGFontRef CGFontCreateWithFontName(CFStringRef name) ;
# 82 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 3
extern CGFontRef CGFontCreateCopyWithVariations(CGFontRef font, CFDictionaryRef variations) ;
extern CGFontRef CGFontRetain(CGFontRef font);
extern void CGFontRelease(CGFontRef font);
extern size_t CGFontGetNumberOfGlyphs(CGFontRef font);
extern int CGFontGetUnitsPerEm(CGFontRef font);
extern CFStringRef CGFontCopyPostScriptName(CGFontRef font) ;
extern CFStringRef CGFontCopyFullName(CGFontRef font) ;
extern int CGFontGetAscent(CGFontRef font) ;
extern int CGFontGetDescent(CGFontRef font) ;
extern int CGFontGetLeading(CGFontRef font) ;
extern int CGFontGetCapHeight(CGFontRef font) ;
extern int CGFontGetXHeight(CGFontRef font) ;
extern CGRect CGFontGetFontBBox(CGFontRef font) ;
extern CGFloat CGFontGetItalicAngle(CGFontRef font) ;
extern CGFloat CGFontGetStemV(CGFontRef font) ;
extern CFArrayRef CGFontCopyVariationAxes(CGFontRef font) ;
# 171 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 3
extern CFDictionaryRef CGFontCopyVariations(CGFontRef font) ;
extern _Bool CGFontGetGlyphAdvances(CGFontRef font, const CGGlyph glyphs[], size_t count, int advances[]);
extern _Bool CGFontGetGlyphBBoxes(CGFontRef font, const CGGlyph glyphs[], size_t count, CGRect bboxes[]) ;
extern CGGlyph CGFontGetGlyphWithGlyphName(CGFontRef font, CFStringRef name) ;
extern CFStringRef CGFontCopyGlyphNameForGlyph(CGFontRef font, CGGlyph glyph) ;
extern _Bool CGFontCanCreatePostScriptSubset(CGFontRef font, CGFontPostScriptFormat format) ;
extern CFDataRef CGFontCreatePostScriptSubset(CGFontRef font, CFStringRef subsetName, CGFontPostScriptFormat format, const CGGlyph glyphs[], size_t count, const CGGlyph encoding[256]) ;
extern CFDataRef CGFontCreatePostScriptEncoding(CGFontRef font, const CGGlyph encoding[256]) ;
extern CFArrayRef CGFontCopyTableTags(CGFontRef font) ;
extern CFDataRef CGFontCopyTableForTag(CGFontRef font, uint32_t tag) ;
extern const CFStringRef kCGFontVariationAxisName ;
extern const CFStringRef kCGFontVariationAxisMinValue ;
extern const CFStringRef kCGFontVariationAxisMaxValue ;
extern const CFStringRef kCGFontVariationAxisDefaultValue ;
enum {
CGGlyphMin = 0,
CGGlyphMax = kCGGlyphMax
};
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 1 3
#define CGGRADIENT_H_
typedef struct CGGradient *CGGradientRef;
enum {
kCGGradientDrawsBeforeStartLocation = (1 << 0),
kCGGradientDrawsAfterEndLocation = (1 << 1)
};
typedef uint32_t CGGradientDrawingOptions;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 2 3
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 3
extern CFTypeID CGGradientGetTypeID(void) ;
# 50 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 3
extern CGGradientRef CGGradientCreateWithColorComponents(CGColorSpaceRef space, const CGFloat components[], const CGFloat locations[], size_t count) ;
# 68 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 3
extern CGGradientRef CGGradientCreateWithColors(CGColorSpaceRef space, CFArrayRef colors, const CGFloat locations[]) ;
extern CGGradientRef CGGradientRetain(CGGradientRef gradient) ;
extern void CGGradientRelease(CGGradientRef gradient) ;
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 1 3
#define CGIMAGE_H_
typedef struct CGImage *CGImageRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 2 3
enum CGImageAlphaInfo {
kCGImageAlphaNone,
kCGImageAlphaPremultipliedLast,
kCGImageAlphaPremultipliedFirst,
kCGImageAlphaLast,
kCGImageAlphaFirst,
kCGImageAlphaNoneSkipLast,
kCGImageAlphaNoneSkipFirst,
kCGImageAlphaOnly
};
typedef enum CGImageAlphaInfo CGImageAlphaInfo;
enum {
kCGBitmapAlphaInfoMask = 0x1F,
kCGBitmapFloatComponents = (1 << 8),
kCGBitmapByteOrderMask = 0x7000,
kCGBitmapByteOrderDefault = (0 << 12),
kCGBitmapByteOrder16Little = (1 << 12),
kCGBitmapByteOrder32Little = (2 << 12),
kCGBitmapByteOrder16Big = (3 << 12),
kCGBitmapByteOrder32Big = (4 << 12)
};
typedef uint32_t CGBitmapInfo;
#define kCGBitmapByteOrder16Host kCGBitmapByteOrder16Little
#define kCGBitmapByteOrder32Host kCGBitmapByteOrder32Little
extern CFTypeID CGImageGetTypeID(void) ;
extern CGImageRef CGImageCreate(size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGColorSpaceRef colorspace, CGBitmapInfo bitmapInfo, CGDataProviderRef provider, const CGFloat decode[], _Bool shouldInterpolate, CGColorRenderingIntent intent);
extern CGImageRef CGImageMaskCreate(size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGDataProviderRef provider, const CGFloat decode[], _Bool shouldInterpolate);
extern CGImageRef CGImageCreateCopy(CGImageRef image) ;
extern CGImageRef CGImageCreateWithJPEGDataProvider(CGDataProviderRef source, const CGFloat decode[], _Bool shouldInterpolate, CGColorRenderingIntent intent) ;
extern CGImageRef CGImageCreateWithPNGDataProvider(CGDataProviderRef source, const CGFloat decode[], _Bool shouldInterpolate, CGColorRenderingIntent intent) ;
# 96 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 3
extern CGImageRef CGImageCreateWithImageInRect(CGImageRef image, CGRect rect) ;
# 124 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 3
extern CGImageRef CGImageCreateWithMask(CGImageRef image, CGImageRef mask) ;
# 142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 3
extern CGImageRef CGImageCreateWithMaskingColors(CGImageRef image, const CGFloat components[]) ;
extern CGImageRef CGImageCreateCopyWithColorSpace(CGImageRef image, CGColorSpaceRef colorspace) ;
extern CGImageRef CGImageRetain(CGImageRef image);
extern void CGImageRelease(CGImageRef image);
extern _Bool CGImageIsMask(CGImageRef image);
extern size_t CGImageGetWidth(CGImageRef image);
extern size_t CGImageGetHeight(CGImageRef image);
extern size_t CGImageGetBitsPerComponent(CGImageRef image);
extern size_t CGImageGetBitsPerPixel(CGImageRef image);
extern size_t CGImageGetBytesPerRow(CGImageRef image);
extern CGColorSpaceRef CGImageGetColorSpace(CGImageRef image);
extern CGImageAlphaInfo CGImageGetAlphaInfo(CGImageRef image);
extern CGDataProviderRef CGImageGetDataProvider(CGImageRef image);
extern const CGFloat *CGImageGetDecode(CGImageRef image);
extern _Bool CGImageGetShouldInterpolate(CGImageRef image);
extern CGColorRenderingIntent CGImageGetRenderingIntent(CGImageRef image);
extern CGBitmapInfo CGImageGetBitmapInfo(CGImageRef image) ;
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 1 3
#define CGPATH_H_
typedef struct CGPath *CGMutablePathRef;
typedef const struct CGPath *CGPathRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 2 3
extern CFTypeID CGPathGetTypeID(void) ;
extern CGMutablePathRef CGPathCreateMutable(void) ;
extern CGPathRef CGPathCreateCopy(CGPathRef path) ;
extern CGMutablePathRef CGPathCreateMutableCopy(CGPathRef path) ;
extern CGPathRef CGPathRetain(CGPathRef path) ;
extern void CGPathRelease(CGPathRef path) ;
extern _Bool CGPathEqualToPath(CGPathRef path1, CGPathRef path2) ;
extern void CGPathMoveToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x, CGFloat y) ;
extern void CGPathAddLineToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x, CGFloat y) ;
extern void CGPathAddQuadCurveToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat cpx, CGFloat cpy, CGFloat x, CGFloat y) ;
extern void CGPathAddCurveToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat cp1x, CGFloat cp1y, CGFloat cp2x, CGFloat cp2y, CGFloat x, CGFloat y) ;
extern void CGPathCloseSubpath(CGMutablePathRef path) ;
extern void CGPathAddRect(CGMutablePathRef path, const CGAffineTransform *m, CGRect rect) ;
extern void CGPathAddRects(CGMutablePathRef path, const CGAffineTransform *m, const CGRect rects[], size_t count) ;
extern void CGPathAddLines(CGMutablePathRef path, const CGAffineTransform *m, const CGPoint points[], size_t count) ;
# 109 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 3
extern void CGPathAddEllipseInRect(CGMutablePathRef path, const CGAffineTransform *m, CGRect rect) ;
# 121 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 3
extern void CGPathAddArc(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x, CGFloat y, CGFloat radius, CGFloat startAngle, CGFloat endAngle, _Bool clockwise) ;
# 131 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 3
extern void CGPathAddArcToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat radius) ;
extern void CGPathAddPath(CGMutablePathRef path1, const CGAffineTransform *m, CGPathRef path2) ;
extern _Bool CGPathIsEmpty(CGPathRef path) ;
extern _Bool CGPathIsRect(CGPathRef path, CGRect *rect) ;
extern CGPoint CGPathGetCurrentPoint(CGPathRef path) ;
extern CGRect CGPathGetBoundingBox(CGPathRef path) ;
# 167 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 3
extern _Bool CGPathContainsPoint(CGPathRef path, const CGAffineTransform *m, CGPoint point, _Bool eoFill) ;
enum CGPathElementType {
kCGPathElementMoveToPoint,
kCGPathElementAddLineToPoint,
kCGPathElementAddQuadCurveToPoint,
kCGPathElementAddCurveToPoint,
kCGPathElementCloseSubpath
};
typedef enum CGPathElementType CGPathElementType;
struct CGPathElement {
CGPathElementType type;
CGPoint *points;
};
typedef struct CGPathElement CGPathElement;
typedef void (*CGPathApplierFunction)(void *info, const CGPathElement *element);
extern void CGPathApply(CGPathRef path, void *info, CGPathApplierFunction function) ;
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 1 3
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 1 3
#define CGPDFDOCUMENT_H_
typedef struct CGPDFDocument *CGPDFDocumentRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 1 3
#define CGPDFPAGE_H_
typedef struct CGPDFPage *CGPDFPageRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 1 3
#define CGPDFDICTIONARY_H_
typedef struct CGPDFDictionary *CGPDFDictionaryRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 1 3
#define CGPDFARRAY_H_
typedef struct CGPDFArray *CGPDFArrayRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h" 1 3
#define CGPDFOBJECT_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h" 2 3
typedef unsigned char CGPDFBoolean;
typedef long int CGPDFInteger;
typedef CGFloat CGPDFReal;
typedef union CGPDFObject *CGPDFObjectRef;
enum CGPDFObjectType {
kCGPDFObjectTypeNull = 1,
kCGPDFObjectTypeBoolean,
kCGPDFObjectTypeInteger,
kCGPDFObjectTypeReal,
kCGPDFObjectTypeName,
kCGPDFObjectTypeString,
kCGPDFObjectTypeArray,
kCGPDFObjectTypeDictionary,
kCGPDFObjectTypeStream
};
typedef enum CGPDFObjectType CGPDFObjectType;
extern CGPDFObjectType CGPDFObjectGetType(CGPDFObjectRef object) ;
# 55 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h" 3
extern _Bool CGPDFObjectGetValue(CGPDFObjectRef object, CGPDFObjectType type, void *value) ;
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 1 3
#define CGPDFSTREAM_H_
typedef struct CGPDFStream *CGPDFStreamRef;
enum CGPDFDataFormat {
CGPDFDataFormatRaw, CGPDFDataFormatJPEGEncoded, CGPDFDataFormatJPEG2000
};
typedef enum CGPDFDataFormat CGPDFDataFormat;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 2 3
extern CGPDFDictionaryRef CGPDFStreamGetDictionary(CGPDFStreamRef stream) ;
extern CFDataRef CGPDFStreamCopyData(CGPDFStreamRef stream, CGPDFDataFormat *format) ;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h" 1 3
#define CGPDFSTRING_H_
typedef struct CGPDFString *CGPDFStringRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h" 2 3
extern size_t CGPDFStringGetLength(CGPDFStringRef string) ;
extern const unsigned char *CGPDFStringGetBytePtr(CGPDFStringRef string) ;
extern CFStringRef CGPDFStringCopyTextString(CGPDFStringRef string) ;
extern CFDateRef CGPDFStringCopyDate(CGPDFStringRef string) ;
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 2 3
extern size_t CGPDFArrayGetCount(CGPDFArrayRef array) ;
extern _Bool CGPDFArrayGetObject(CGPDFArrayRef array, size_t index, CGPDFObjectRef *value) ;
extern _Bool CGPDFArrayGetNull(CGPDFArrayRef array, size_t index) ;
extern _Bool CGPDFArrayGetBoolean(CGPDFArrayRef array, size_t index, CGPDFBoolean *value) ;
extern _Bool CGPDFArrayGetInteger(CGPDFArrayRef array, size_t index, CGPDFInteger *value) ;
extern _Bool CGPDFArrayGetNumber(CGPDFArrayRef array, size_t index, CGPDFReal *value) ;
extern _Bool CGPDFArrayGetName(CGPDFArrayRef array, size_t index, const char **value) ;
extern _Bool CGPDFArrayGetString(CGPDFArrayRef array, size_t index, CGPDFStringRef *value) ;
extern _Bool CGPDFArrayGetArray(CGPDFArrayRef array, size_t index, CGPDFArrayRef *value) ;
extern _Bool CGPDFArrayGetDictionary(CGPDFArrayRef array, size_t index, CGPDFDictionaryRef *value) ;
extern _Bool CGPDFArrayGetStream(CGPDFArrayRef array, size_t index, CGPDFStreamRef *value) ;
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 2 3
extern size_t CGPDFDictionaryGetCount(CGPDFDictionaryRef dict) ;
extern _Bool CGPDFDictionaryGetObject(CGPDFDictionaryRef dict, const char *key, CGPDFObjectRef *value) ;
extern _Bool CGPDFDictionaryGetBoolean(CGPDFDictionaryRef dict, const char *key, CGPDFBoolean *value) ;
extern _Bool CGPDFDictionaryGetInteger(CGPDFDictionaryRef dict, const char *key, CGPDFInteger *value) ;
extern _Bool CGPDFDictionaryGetNumber(CGPDFDictionaryRef dict, const char *key, CGPDFReal *value) ;
extern _Bool CGPDFDictionaryGetName(CGPDFDictionaryRef dict, const char *key, const char **value) ;
extern _Bool CGPDFDictionaryGetString(CGPDFDictionaryRef dict, const char *key, CGPDFStringRef *value) ;
extern _Bool CGPDFDictionaryGetArray(CGPDFDictionaryRef dict, const char *key, CGPDFArrayRef *value) ;
extern _Bool CGPDFDictionaryGetDictionary(CGPDFDictionaryRef dict, const char *key, CGPDFDictionaryRef *value) ;
extern _Bool CGPDFDictionaryGetStream(CGPDFDictionaryRef dict, const char *key, CGPDFStreamRef *value) ;
typedef void (*CGPDFDictionaryApplierFunction)(const char *key, CGPDFObjectRef value, void *info);
extern void CGPDFDictionaryApplyFunction(CGPDFDictionaryRef dict, CGPDFDictionaryApplierFunction function, void *info) ;
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 2 3
enum CGPDFBox {
kCGPDFMediaBox = 0,
kCGPDFCropBox = 1,
kCGPDFBleedBox = 2,
kCGPDFTrimBox = 3,
kCGPDFArtBox = 4
};
typedef enum CGPDFBox CGPDFBox;
extern CGPDFPageRef CGPDFPageRetain(CGPDFPageRef page) ;
extern void CGPDFPageRelease(CGPDFPageRef page) ;
extern CGPDFDocumentRef CGPDFPageGetDocument(CGPDFPageRef page) ;
extern size_t CGPDFPageGetPageNumber(CGPDFPageRef page) ;
extern CGRect CGPDFPageGetBoxRect(CGPDFPageRef page, CGPDFBox box) ;
extern int CGPDFPageGetRotationAngle(CGPDFPageRef page) ;
# 68 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 3
extern CGAffineTransform CGPDFPageGetDrawingTransform(CGPDFPageRef page, CGPDFBox box, CGRect rect, int rotate, _Bool preserveAspectRatio) ;
extern CGPDFDictionaryRef CGPDFPageGetDictionary(CGPDFPageRef page) ;
extern CFTypeID CGPDFPageGetTypeID(void) ;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 2 3
extern CGPDFDocumentRef CGPDFDocumentCreateWithProvider(CGDataProviderRef provider);
extern CGPDFDocumentRef CGPDFDocumentCreateWithURL(CFURLRef url);
extern CGPDFDocumentRef CGPDFDocumentRetain(CGPDFDocumentRef document);
extern void CGPDFDocumentRelease(CGPDFDocumentRef document);
extern void CGPDFDocumentGetVersion(CGPDFDocumentRef document, int *majorVersion, int *minorVersion) ;
extern _Bool CGPDFDocumentIsEncrypted(CGPDFDocumentRef document) ;
extern _Bool CGPDFDocumentUnlockWithPassword(CGPDFDocumentRef document, const char *password) ;
extern _Bool CGPDFDocumentIsUnlocked(CGPDFDocumentRef document) ;
extern _Bool CGPDFDocumentAllowsPrinting(CGPDFDocumentRef document) ;
extern _Bool CGPDFDocumentAllowsCopying(CGPDFDocumentRef document) ;
extern size_t CGPDFDocumentGetNumberOfPages(CGPDFDocumentRef document);
extern CGPDFPageRef CGPDFDocumentGetPage(CGPDFDocumentRef document, size_t pageNumber) ;
extern CGPDFDictionaryRef CGPDFDocumentGetCatalog(CGPDFDocumentRef document) ;
extern CGPDFDictionaryRef CGPDFDocumentGetInfo(CGPDFDocumentRef document) ;
extern CGPDFArrayRef CGPDFDocumentGetID(CGPDFDocumentRef document) ;
extern CFTypeID CGPDFDocumentGetTypeID(void) ;
extern CGRect CGPDFDocumentGetMediaBox(CGPDFDocumentRef document, int page) __attribute__((deprecated));
extern CGRect CGPDFDocumentGetCropBox(CGPDFDocumentRef document, int page) __attribute__((deprecated));
extern CGRect CGPDFDocumentGetBleedBox(CGPDFDocumentRef document, int page) __attribute__((deprecated));
extern CGRect CGPDFDocumentGetTrimBox(CGPDFDocumentRef document, int page) __attribute__((deprecated));
extern CGRect CGPDFDocumentGetArtBox(CGPDFDocumentRef document, int page) __attribute__((deprecated));
extern int CGPDFDocumentGetRotationAngle(CGPDFDocumentRef document, int page) __attribute__((deprecated));
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 1 3
#define CGSHADING_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFunction.h" 1 3
#define CGFUNCTION_H_
typedef struct CGFunction *CGFunctionRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFunction.h" 2 3
typedef void (*CGFunctionEvaluateCallback)(void *info, const CGFloat *in, CGFloat *out);
typedef void (*CGFunctionReleaseInfoCallback)(void *info);
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFunction.h" 3
struct CGFunctionCallbacks {
unsigned int version;
CGFunctionEvaluateCallback evaluate;
CGFunctionReleaseInfoCallback releaseInfo;
};
typedef struct CGFunctionCallbacks CGFunctionCallbacks;
extern CFTypeID CGFunctionGetTypeID(void) ;
# 79 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFunction.h" 3
extern CGFunctionRef CGFunctionCreate(void *info, size_t domainDimension, const CGFloat *domain, size_t rangeDimension, const CGFloat *range, const CGFunctionCallbacks *callbacks) ;
extern CGFunctionRef CGFunctionRetain(CGFunctionRef function) ;
extern void CGFunctionRelease(CGFunctionRef function) ;
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 2 3
typedef struct CGShading *CGShadingRef;
extern CFTypeID CGShadingGetTypeID(void) ;
# 52 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 3
extern CGShadingRef CGShadingCreateAxial(CGColorSpaceRef colorspace, CGPoint start, CGPoint end, CGFunctionRef function, _Bool extendStart, _Bool extendEnd) ;
# 87 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 3
extern CGShadingRef CGShadingCreateRadial(CGColorSpaceRef colorspace, CGPoint start, CGFloat startRadius, CGPoint end, CGFloat endRadius, CGFunctionRef function, _Bool extendStart, _Bool extendEnd) ;
extern CGShadingRef CGShadingRetain(CGShadingRef shading) ;
extern void CGShadingRelease(CGShadingRef shading) ;
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 2 3
enum CGLineJoin {
kCGLineJoinMiter,
kCGLineJoinRound,
kCGLineJoinBevel
};
typedef enum CGLineJoin CGLineJoin;
enum CGLineCap {
kCGLineCapButt,
kCGLineCapRound,
kCGLineCapSquare
};
typedef enum CGLineCap CGLineCap;
enum CGPathDrawingMode {
kCGPathFill,
kCGPathEOFill,
kCGPathStroke,
kCGPathFillStroke,
kCGPathEOFillStroke
};
typedef enum CGPathDrawingMode CGPathDrawingMode;
enum CGTextDrawingMode {
kCGTextFill,
kCGTextStroke,
kCGTextFillStroke,
kCGTextInvisible,
kCGTextFillClip,
kCGTextStrokeClip,
kCGTextFillStrokeClip,
kCGTextClip
};
typedef enum CGTextDrawingMode CGTextDrawingMode;
enum CGTextEncoding {
kCGEncodingFontSpecific,
kCGEncodingMacRoman
};
typedef enum CGTextEncoding CGTextEncoding;
enum CGInterpolationQuality {
kCGInterpolationDefault,
kCGInterpolationNone,
kCGInterpolationLow,
kCGInterpolationHigh
};
typedef enum CGInterpolationQuality CGInterpolationQuality;
# 97 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
enum CGBlendMode {
kCGBlendModeNormal,
kCGBlendModeMultiply,
kCGBlendModeScreen,
kCGBlendModeOverlay,
kCGBlendModeDarken,
kCGBlendModeLighten,
kCGBlendModeColorDodge,
kCGBlendModeColorBurn,
kCGBlendModeSoftLight,
kCGBlendModeHardLight,
kCGBlendModeDifference,
kCGBlendModeExclusion,
kCGBlendModeHue,
kCGBlendModeSaturation,
kCGBlendModeColor,
kCGBlendModeLuminosity,
# 127 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
kCGBlendModeClear,
kCGBlendModeCopy,
kCGBlendModeSourceIn,
kCGBlendModeSourceOut,
kCGBlendModeSourceAtop,
kCGBlendModeDestinationOver,
kCGBlendModeDestinationIn,
kCGBlendModeDestinationOut,
kCGBlendModeDestinationAtop,
kCGBlendModeXOR,
kCGBlendModePlusDarker,
kCGBlendModePlusLighter
};
typedef enum CGBlendMode CGBlendMode;
extern CFTypeID CGContextGetTypeID(void) ;
extern void CGContextSaveGState(CGContextRef c);
extern void CGContextRestoreGState(CGContextRef c);
extern void CGContextScaleCTM(CGContextRef c, CGFloat sx, CGFloat sy);
extern void CGContextTranslateCTM(CGContextRef c, CGFloat tx, CGFloat ty);
extern void CGContextRotateCTM(CGContextRef c, CGFloat angle);
extern void CGContextConcatCTM(CGContextRef c, CGAffineTransform transform);
extern CGAffineTransform CGContextGetCTM(CGContextRef c);
extern void CGContextSetLineWidth(CGContextRef c, CGFloat width);
extern void CGContextSetLineCap(CGContextRef c, CGLineCap cap);
extern void CGContextSetLineJoin(CGContextRef c, CGLineJoin join);
extern void CGContextSetMiterLimit(CGContextRef c, CGFloat limit);
extern void CGContextSetLineDash(CGContextRef c, CGFloat phase, const CGFloat lengths[], size_t count);
extern void CGContextSetFlatness(CGContextRef c, CGFloat flatness);
extern void CGContextSetAlpha(CGContextRef c, CGFloat alpha);
extern void CGContextSetBlendMode(CGContextRef context, CGBlendMode mode) ;
# 230 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextBeginPath(CGContextRef c);
extern void CGContextMoveToPoint(CGContextRef c, CGFloat x, CGFloat y);
extern void CGContextAddLineToPoint(CGContextRef c, CGFloat x, CGFloat y);
extern void CGContextAddCurveToPoint(CGContextRef c, CGFloat cp1x, CGFloat cp1y, CGFloat cp2x, CGFloat cp2y, CGFloat x, CGFloat y);
extern void CGContextAddQuadCurveToPoint(CGContextRef c, CGFloat cpx, CGFloat cpy, CGFloat x, CGFloat y);
extern void CGContextClosePath(CGContextRef c);
extern void CGContextAddRect(CGContextRef c, CGRect rect);
extern void CGContextAddRects(CGContextRef c, const CGRect rects[], size_t count);
extern void CGContextAddLines(CGContextRef c, const CGPoint points[], size_t count);
extern void CGContextAddEllipseInRect(CGContextRef context, CGRect rect) ;
# 281 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextAddArc(CGContextRef c, CGFloat x, CGFloat y, CGFloat radius, CGFloat startAngle, CGFloat endAngle, int clockwise);
extern void CGContextAddArcToPoint(CGContextRef c, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat radius);
extern void CGContextAddPath(CGContextRef context, CGPathRef path) ;
# 305 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextReplacePathWithStrokedPath(CGContextRef c) ;
extern _Bool CGContextIsPathEmpty(CGContextRef c);
extern CGPoint CGContextGetPathCurrentPoint(CGContextRef c);
extern CGRect CGContextGetPathBoundingBox(CGContextRef c);
extern _Bool CGContextPathContainsPoint(CGContextRef context, CGPoint point, CGPathDrawingMode mode) ;
extern void CGContextDrawPath(CGContextRef c, CGPathDrawingMode mode);
extern void CGContextFillPath(CGContextRef c);
extern void CGContextEOFillPath(CGContextRef c);
extern void CGContextStrokePath(CGContextRef c);
extern void CGContextFillRect(CGContextRef c, CGRect rect);
extern void CGContextFillRects(CGContextRef c, const CGRect rects[], size_t count);
extern void CGContextStrokeRect(CGContextRef c, CGRect rect);
extern void CGContextStrokeRectWithWidth(CGContextRef c, CGRect rect, CGFloat width);
extern void CGContextClearRect(CGContextRef c, CGRect rect);
extern void CGContextFillEllipseInRect(CGContextRef context, CGRect rect) ;
extern void CGContextStrokeEllipseInRect(CGContextRef context, CGRect rect) ;
# 394 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextStrokeLineSegments(CGContextRef c, const CGPoint points[], size_t count) ;
extern void CGContextClip(CGContextRef c);
extern void CGContextEOClip(CGContextRef c);
# 437 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextClipToMask(CGContextRef c, CGRect rect, CGImageRef mask) ;
extern CGRect CGContextGetClipBoundingBox(CGContextRef c) ;
extern void CGContextClipToRect(CGContextRef c, CGRect rect);
extern void CGContextClipToRects(CGContextRef c, const CGRect rects[], size_t count);
extern void CGContextSetFillColorWithColor(CGContextRef c, CGColorRef color) ;
extern void CGContextSetStrokeColorWithColor(CGContextRef c, CGColorRef color) ;
extern void CGContextSetFillColorSpace(CGContextRef c, CGColorSpaceRef colorspace);
extern void CGContextSetStrokeColorSpace(CGContextRef c, CGColorSpaceRef colorspace);
# 490 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextSetFillColor(CGContextRef c, const CGFloat components[]);
extern void CGContextSetStrokeColor(CGContextRef c, const CGFloat components[]);
# 509 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextSetFillPattern(CGContextRef c, CGPatternRef pattern, const CGFloat components[]);
# 518 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextSetStrokePattern(CGContextRef c, CGPatternRef pattern, const CGFloat components[]);
extern void CGContextSetPatternPhase(CGContextRef c, CGSize phase);
extern void CGContextSetGrayFillColor(CGContextRef c, CGFloat gray, CGFloat alpha);
extern void CGContextSetGrayStrokeColor(CGContextRef c, CGFloat gray, CGFloat alpha);
extern void CGContextSetRGBFillColor(CGContextRef c, CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha);
extern void CGContextSetRGBStrokeColor(CGContextRef c, CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha);
extern void CGContextSetCMYKFillColor(CGContextRef c, CGFloat cyan, CGFloat magenta, CGFloat yellow, CGFloat black, CGFloat alpha);
extern void CGContextSetCMYKStrokeColor(CGContextRef c, CGFloat cyan, CGFloat magenta, CGFloat yellow, CGFloat black, CGFloat alpha);
extern void CGContextSetRenderingIntent(CGContextRef c, CGColorRenderingIntent intent);
extern void CGContextDrawImage(CGContextRef c, CGRect rect, CGImageRef image);
# 582 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextDrawTiledImage(CGContextRef c, CGRect rect, CGImageRef image) ;
extern CGInterpolationQuality CGContextGetInterpolationQuality(CGContextRef c);
extern void CGContextSetInterpolationQuality(CGContextRef c, CGInterpolationQuality quality);
# 608 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextSetShadowWithColor(CGContextRef context, CGSize offset, CGFloat blur, CGColorRef color) ;
extern void CGContextSetShadow(CGContextRef context, CGSize offset, CGFloat blur) ;
# 627 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextDrawLinearGradient(CGContextRef context, CGGradientRef gradient, CGPoint startPoint, CGPoint endPoint, CGGradientDrawingOptions options) ;
# 638 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextDrawRadialGradient(CGContextRef context, CGGradientRef gradient, CGPoint startCenter, CGFloat startRadius, CGPoint endCenter, CGFloat endRadius, CGGradientDrawingOptions options) ;
extern void CGContextDrawShading(CGContextRef context, CGShadingRef shading) ;
extern void CGContextSetCharacterSpacing(CGContextRef c, CGFloat spacing);
extern void CGContextSetTextPosition(CGContextRef c, CGFloat x, CGFloat y);
extern CGPoint CGContextGetTextPosition(CGContextRef c);
extern void CGContextSetTextMatrix(CGContextRef c, CGAffineTransform t);
extern CGAffineTransform CGContextGetTextMatrix(CGContextRef c);
extern void CGContextSetTextDrawingMode(CGContextRef c, CGTextDrawingMode mode);
extern void CGContextSetFont(CGContextRef c, CGFontRef font);
extern void CGContextSetFontSize(CGContextRef c, CGFloat size);
extern void CGContextSelectFont(CGContextRef c, const char *name, CGFloat size, CGTextEncoding textEncoding);
extern void CGContextShowGlyphsAtPositions(CGContextRef context, const CGGlyph glyphs[], const CGPoint positions[], size_t count) ;
# 705 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextShowText(CGContextRef c, const char *string, size_t length);
extern void CGContextShowTextAtPoint(CGContextRef c, CGFloat x, CGFloat y, const char *string, size_t length);
extern void CGContextShowGlyphs(CGContextRef c, const CGGlyph g[], size_t count);
extern void CGContextShowGlyphsAtPoint(CGContextRef c, CGFloat x, CGFloat y, const CGGlyph glyphs[], size_t count);
extern void CGContextShowGlyphsWithAdvances(CGContextRef c, const CGGlyph glyphs[], const CGSize advances[], size_t count) ;
extern void CGContextDrawPDFPage(CGContextRef c, CGPDFPageRef page) ;
extern void CGContextDrawPDFDocument(CGContextRef c, CGRect rect, CGPDFDocumentRef document, int page);
extern void CGContextBeginPage(CGContextRef c, const CGRect *mediaBox);
extern void CGContextEndPage(CGContextRef c);
extern CGContextRef CGContextRetain(CGContextRef c);
extern void CGContextRelease(CGContextRef c);
extern void CGContextFlush(CGContextRef c);
extern void CGContextSynchronize(CGContextRef c);
extern void CGContextSetShouldAntialias(CGContextRef c, _Bool shouldAntialias);
extern void CGContextSetAllowsAntialiasing(CGContextRef context, _Bool allowsAntialiasing) ;
# 795 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextSetShouldSmoothFonts(CGContextRef c, _Bool shouldSmoothFonts) ;
# 815 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 3
extern void CGContextBeginTransparencyLayer(CGContextRef context, CFDictionaryRef auxiliaryInfo) ;
extern void CGContextBeginTransparencyLayerWithRect(CGContextRef context, CGRect rect, CFDictionaryRef auxiliaryInfo) ;
extern void CGContextEndTransparencyLayer(CGContextRef context) ;
extern CGAffineTransform CGContextGetUserSpaceToDeviceSpaceTransform(CGContextRef c) ;
extern CGPoint CGContextConvertPointToDeviceSpace(CGContextRef c, CGPoint point) ;
extern CGPoint CGContextConvertPointToUserSpace(CGContextRef c, CGPoint point) ;
extern CGSize CGContextConvertSizeToDeviceSpace(CGContextRef c, CGSize size) ;
extern CGSize CGContextConvertSizeToUserSpace(CGContextRef c, CGSize size) ;
extern CGRect CGContextConvertRectToDeviceSpace(CGContextRef c, CGRect rect) ;
extern CGRect CGContextConvertRectToUserSpace(CGContextRef c, CGRect rect) ;
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h" 2 3
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h" 3
extern CGContextRef CGBitmapContextCreate(void *data, size_t width, size_t height, size_t bitsPerComponent, size_t bytesPerRow, CGColorSpaceRef colorspace, CGBitmapInfo bitmapInfo);
extern void *CGBitmapContextGetData(CGContextRef c) ;
extern size_t CGBitmapContextGetWidth(CGContextRef c) ;
extern size_t CGBitmapContextGetHeight(CGContextRef c) ;
extern size_t CGBitmapContextGetBitsPerComponent(CGContextRef c) ;
extern size_t CGBitmapContextGetBitsPerPixel(CGContextRef c) ;
extern size_t CGBitmapContextGetBytesPerRow(CGContextRef c) ;
extern CGColorSpaceRef CGBitmapContextGetColorSpace(CGContextRef c) ;
extern CGImageAlphaInfo CGBitmapContextGetAlphaInfo(CGContextRef c) ;
extern CGBitmapInfo CGBitmapContextGetBitmapInfo(CGContextRef c) ;
# 88 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h" 3
extern CGImageRef CGBitmapContextCreateImage(CGContextRef c) ;
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 1 3
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h" 1 3
#define CGDATACONSUMER_H_
typedef struct CGDataConsumer *CGDataConsumerRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h" 2 3
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h" 2 3
typedef size_t (*CGDataConsumerPutBytesCallback)(void *info, const void *buffer, size_t count);
typedef void (*CGDataConsumerReleaseInfoCallback)(void *info);
struct CGDataConsumerCallbacks {
CGDataConsumerPutBytesCallback putBytes;
CGDataConsumerReleaseInfoCallback releaseConsumer;
};
typedef struct CGDataConsumerCallbacks CGDataConsumerCallbacks;
extern CFTypeID CGDataConsumerGetTypeID(void) ;
extern CGDataConsumerRef CGDataConsumerCreate(void *info, const CGDataConsumerCallbacks *callbacks);
extern CGDataConsumerRef CGDataConsumerCreateWithURL(CFURLRef url);
extern CGDataConsumerRef CGDataConsumerCreateWithCFData(CFMutableDataRef data) ;
extern CGDataConsumerRef CGDataConsumerRetain(CGDataConsumerRef consumer);
extern void CGDataConsumerRelease(CGDataConsumerRef consumer);
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
#define __CGDIRECT_DISPLAY_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 3
#define __CGERROR_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 2 3
enum _CGError {
kCGErrorSuccess = 0,
kCGErrorFirst = 1000,
kCGErrorFailure = kCGErrorFirst,
kCGErrorIllegalArgument = 1001,
kCGErrorInvalidConnection = 1002,
kCGErrorInvalidContext = 1003,
kCGErrorCannotComplete = 1004,
kCGErrorNameTooLong = 1005,
kCGErrorNotImplemented = 1006,
kCGErrorRangeCheck = 1007,
kCGErrorTypeCheck = 1008,
kCGErrorNoCurrentPoint = 1009,
kCGErrorInvalidOperation = 1010,
kCGErrorNoneAvailable = 1011,
kCGErrorApplicationRequiresNewerSystem = 1015,
kCGErrorApplicationNotPermittedToExecute = 1016,
kCGErrorApplicationIncorrectExecutableFormatFound = 1023,
kCGErrorApplicationIsLaunching = 1024,
kCGErrorApplicationAlreadyRunning = 1025,
kCGErrorApplicationCanOnlyBeRunInOneSessionAtATime = 1026,
kCGErrorClassicApplicationsMustBeLaunchedByClassic = 1027,
kCGErrorForkFailed = 1028,
kCGErrorRetryRegistration = 1029,
kCGErrorLast = kCGErrorRetryRegistration
};
typedef int32_t CGError;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 2 3
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
typedef uint32_t CGDirectDisplayID;
typedef struct _CGDirectPaletteRef * CGDirectPaletteRef;
typedef uint32_t CGDisplayCount;
typedef uint32_t CGTableCount;
typedef int32_t CGDisplayCoord;
typedef uint8_t CGByteValue;
typedef uint32_t CGOpenGLDisplayMask;
typedef uint32_t CGBeamPosition;
typedef int32_t CGMouseDelta;
typedef double CGRefreshRate;
typedef uint32_t CGCaptureOptions;
typedef CGError CGDisplayErr;
#define CGDisplayNoErr kCGErrorSuccess
#define kCGNullDirectDisplay ((CGDirectDisplayID)0)
extern CGDirectDisplayID CGMainDisplayID(void) ;
#define kCGDirectMainDisplay CGMainDisplayID()
# 63 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGGetDisplaysWithPoint(CGPoint point,
CGDisplayCount maxDisplays,
CGDirectDisplayID * dspys,
CGDisplayCount * dspyCnt) ;
extern CGDisplayErr CGGetDisplaysWithRect(CGRect rect,
CGDisplayCount maxDisplays,
CGDirectDisplayID * dspys,
CGDisplayCount * dspyCnt) ;
extern CGDisplayErr CGGetDisplaysWithOpenGLDisplayMask(CGOpenGLDisplayMask mask,
CGDisplayCount maxDisplays,
CGDirectDisplayID * dspys,
CGDisplayCount * dspyCnt) ;
# 89 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGGetActiveDisplayList(CGDisplayCount maxDisplays,
CGDirectDisplayID * activeDspys,
CGDisplayCount * dspyCnt) ;
# 100 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGGetOnlineDisplayList(CGDisplayCount maxDisplays,
CGDirectDisplayID * onlineDspys,
CGDisplayCount * dspyCnt) ;
extern CGOpenGLDisplayMask CGDisplayIDToOpenGLDisplayMask(CGDirectDisplayID display) ;
extern CGDirectDisplayID CGOpenGLDisplayMaskToDisplayID(CGOpenGLDisplayMask mask) ;
extern CGRect CGDisplayBounds(CGDirectDisplayID display) ;
extern size_t CGDisplayPixelsWide(CGDirectDisplayID display) ;
extern size_t CGDisplayPixelsHigh(CGDirectDisplayID display) ;
# 142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
#define kCGDisplayWidth CFSTR("Width")
#define kCGDisplayHeight CFSTR("Height")
#define kCGDisplayMode CFSTR("Mode")
#define kCGDisplayBitsPerPixel CFSTR("BitsPerPixel")
#define kCGDisplayBitsPerSample CFSTR("BitsPerSample")
#define kCGDisplaySamplesPerPixel CFSTR("SamplesPerPixel")
#define kCGDisplayRefreshRate CFSTR("RefreshRate")
#define kCGDisplayModeUsableForDesktopGUI CFSTR("UsableForDesktopGUI")
#define kCGDisplayIOFlags CFSTR("IOFlags")
#define kCGDisplayBytesPerRow CFSTR("kCGDisplayBytesPerRow")
#define kCGIODisplayModeID CFSTR("IODisplayModeID")
# 166 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
#define kCGDisplayModeIsSafeForHardware CFSTR("kCGDisplayModeIsSafeForHardware")
#define kCGDisplayModeIsInterlaced CFSTR("kCGDisplayModeIsInterlaced")
#define kCGDisplayModeIsStretched CFSTR("kCGDisplayModeIsStretched")
#define kCGDisplayModeIsTelevisionOutput CFSTR("kCGDisplayModeIsTelevisionOutput" )
extern CFArrayRef CGDisplayAvailableModes(CGDirectDisplayID display) ;
# 197 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CFDictionaryRef CGDisplayBestModeForParameters(CGDirectDisplayID display, size_t bitsPerPixel, size_t width, size_t height, boolean_t * exactMatch) ;
extern CFDictionaryRef CGDisplayBestModeForParametersAndRefreshRate(CGDirectDisplayID display, size_t bitsPerPixel, size_t width, size_t height, CGRefreshRate refresh, boolean_t * exactMatch) ;
extern CFDictionaryRef CGDisplayBestModeForParametersAndRefreshRateWithProperty(CGDirectDisplayID display, size_t bitsPerPixel, size_t width, size_t height, CGRefreshRate refresh, CFStringRef property, boolean_t * exactMatch) ;
extern CFDictionaryRef CGDisplayCurrentMode(CGDirectDisplayID display) ;
# 223 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGDisplaySwitchToMode(CGDirectDisplayID display, CFDictionaryRef mode) ;
extern size_t CGDisplayBitsPerPixel(CGDirectDisplayID display) ;
extern size_t CGDisplayBitsPerSample(CGDirectDisplayID display) ;
extern size_t CGDisplaySamplesPerPixel(CGDirectDisplayID display) ;
extern size_t CGDisplayBytesPerRow(CGDirectDisplayID display) ;
# 246 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
typedef float CGGammaValue;
extern CGDisplayErr CGSetDisplayTransferByFormula(CGDirectDisplayID display,
CGGammaValue redMin,
CGGammaValue redMax,
CGGammaValue redGamma,
CGGammaValue greenMin,
CGGammaValue greenMax,
CGGammaValue greenGamma,
CGGammaValue blueMin,
CGGammaValue blueMax,
CGGammaValue blueGamma) ;
extern CGDisplayErr CGGetDisplayTransferByFormula(CGDirectDisplayID display,
CGGammaValue *redMin,
CGGammaValue *redMax,
CGGammaValue *redGamma,
CGGammaValue *greenMin,
CGGammaValue *greenMax,
CGGammaValue *greenGamma,
CGGammaValue *blueMin,
CGGammaValue *blueMax,
CGGammaValue *blueGamma) ;
extern CGTableCount CGDisplayGammaTableCapacity(CGDirectDisplayID display) ;
# 283 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGSetDisplayTransferByTable(CGDirectDisplayID display,
CGTableCount tableSize,
const CGGammaValue *redTable,
const CGGammaValue *greenTable,
const CGGammaValue *blueTable) ;
extern CGDisplayErr CGGetDisplayTransferByTable(CGDirectDisplayID display,
CGTableCount capacity,
CGGammaValue *redTable,
CGGammaValue *greenTable,
CGGammaValue *blueTable,
CGTableCount *sampleCount) ;
extern CGDisplayErr CGSetDisplayTransferByByteTable(CGDirectDisplayID display,
CGTableCount tableSize,
const CGByteValue *redTable,
const CGByteValue *greenTable,
const CGByteValue *blueTable) ;
extern void CGDisplayRestoreColorSyncSettings(void) ;
enum {
kCGCaptureNoOptions = 0,
kCGCaptureNoFill = (1 << 0)
};
extern boolean_t CGDisplayIsCaptured(CGDirectDisplayID display) ;
extern CGDisplayErr CGDisplayCapture(CGDirectDisplayID display) ;
extern CGDisplayErr CGDisplayCaptureWithOptions(CGDirectDisplayID display, CGCaptureOptions options) ;
extern CGDisplayErr CGDisplayRelease(CGDirectDisplayID display) ;
extern CGDisplayErr CGCaptureAllDisplays(void) ;
extern CGDisplayErr CGCaptureAllDisplaysWithOptions(CGCaptureOptions options) ;
extern CGDisplayErr CGReleaseAllDisplays(void) ;
extern uint32_t CGShieldingWindowID(CGDirectDisplayID display) ;
extern int32_t CGShieldingWindowLevel(void) ;
extern void * CGDisplayBaseAddress(CGDirectDisplayID display) ;
extern void * CGDisplayAddressForPosition(CGDirectDisplayID display, CGDisplayCoord x, CGDisplayCoord y) ;
extern CGDisplayErr CGDisplayHideCursor(CGDirectDisplayID display) ;
extern CGDisplayErr CGDisplayShowCursor(CGDirectDisplayID display) ;
extern CGDisplayErr CGDisplayMoveCursorToPoint(CGDirectDisplayID display, CGPoint point) ;
extern void CGGetLastMouseDelta( CGMouseDelta * deltaX, CGMouseDelta * deltaY ) ;
# 395 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern boolean_t CGDisplayCanSetPalette(CGDirectDisplayID display) ;
# 404 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGDisplaySetPalette(CGDirectDisplayID display, const CGDirectPaletteRef palette) ;
# 436 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGDisplayErr CGDisplayWaitForBeamPositionOutsideLines( CGDirectDisplayID display,
CGBeamPosition upperScanLine,
CGBeamPosition lowerScanLine ) ;
extern CGBeamPosition CGDisplayBeamPosition( CGDirectDisplayID display ) ;
# 466 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 3
extern CGContextRef CGDisplayGetDrawingContext(CGDirectDisplayID display) ;
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectPalette.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectPalette.h" 3
#define __CGDIRECT_PALETTE_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectPalette.h" 2 3
typedef float CGPaletteBlendFraction;
struct _CGDeviceColor
{
float red;
float green;
float blue;
};
typedef struct _CGDeviceColor CGDeviceColor;
struct _CGDeviceByteColor
{
CGByteValue red;
CGByteValue green;
CGByteValue blue;
};
typedef struct _CGDeviceByteColor CGDeviceByteColor;
extern CGDirectPaletteRef CGPaletteCreateDefaultColorPalette(void) ;
extern CGDirectPaletteRef CGPaletteCreateWithDisplay(CGDirectDisplayID display) ;
extern CGDirectPaletteRef CGPaletteCreateWithCapacity( CGTableCount capacity ) ;
extern CGDirectPaletteRef CGPaletteCreateWithSamples(CGDeviceColor * sampleTable, CGTableCount sampleCount) ;
extern CGDirectPaletteRef CGPaletteCreateWithByteSamples(CGDeviceByteColor * sampleTable, CGTableCount sampleCount) ;
extern void CGPaletteRelease( CGDirectPaletteRef palette ) ;
extern CGDeviceColor CGPaletteGetColorAtIndex(CGDirectPaletteRef palette, CGTableCount index) ;
extern CGTableCount CGPaletteGetIndexForColor(CGDirectPaletteRef palette, CGDeviceColor color) ;
extern CGTableCount CGPaletteGetNumberOfSamples(CGDirectPaletteRef palette) ;
extern void CGPaletteSetColorAtIndex(CGDirectPaletteRef palette, CGDeviceColor color, CGTableCount index) ;
extern CGDirectPaletteRef CGPaletteCreateCopy(CGDirectPaletteRef palette) ;
extern Boolean CGPaletteIsEqualToPalette(CGDirectPaletteRef palette1, CGDirectPaletteRef palette2) ;
extern CGDirectPaletteRef CGPaletteCreateFromPaletteBlendedWithColor(
CGDirectPaletteRef palette,
CGPaletteBlendFraction fraction,
CGDeviceColor color) ;
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
#define __CGDISPLAY_CONFIGURATION_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 2 3
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
typedef struct _CGDisplayConfigRef * CGDisplayConfigRef;
extern CGError CGBeginDisplayConfiguration(CGDisplayConfigRef *pConfigRef) ;
# 45 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGError CGConfigureDisplayOrigin(CGDisplayConfigRef configRef,
CGDirectDisplayID display,
CGDisplayCoord x,
CGDisplayCoord y) ;
# 60 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGError CGConfigureDisplayMode(CGDisplayConfigRef configRef,
CGDirectDisplayID display,
CFDictionaryRef mode) ;
# 89 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGError CGConfigureDisplayStereoOperation(CGDisplayConfigRef configRef, CGDirectDisplayID display, boolean_t stereo, boolean_t forceBlueLine);
# 113 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGError CGConfigureDisplayMirrorOfDisplay(CGDisplayConfigRef configRef,
CGDirectDisplayID display,
CGDirectDisplayID masterDisplay) ;
extern CGError CGCancelDisplayConfiguration(CGDisplayConfigRef configRef) ;
# 142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
enum {
kCGConfigureForAppOnly = 0,
kCGConfigureForSession = 1,
kCGConfigurePermanently = 2
};
typedef u_int32_t CGConfigureOption;
extern CGError CGCompleteDisplayConfiguration( CGDisplayConfigRef configRef, CGConfigureOption option ) ;
extern void CGRestorePermanentDisplayConfiguration(void) ;
# 185 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
enum {
kCGDisplayBeginConfigurationFlag = (1 << 0),
kCGDisplayMovedFlag = (1 << 1),
kCGDisplaySetMainFlag = (1 << 2),
kCGDisplaySetModeFlag = (1 << 3),
kCGDisplayAddFlag = (1 << 4),
kCGDisplayRemoveFlag = (1 << 5),
kCGDisplayEnabledFlag = (1 << 8),
kCGDisplayDisabledFlag = (1 << 9),
kCGDisplayMirrorFlag = (1 << 10),
kCGDisplayUnMirrorFlag = (1 << 11),
kCGDisplayDesktopShapeChangedFlag = (1 << 12)
};
typedef u_int32_t CGDisplayChangeSummaryFlags;
typedef void(*CGDisplayReconfigurationCallBack)(CGDirectDisplayID display,
CGDisplayChangeSummaryFlags flags,
void *userInfo);
extern CGError CGDisplayRegisterReconfigurationCallback(CGDisplayReconfigurationCallBack proc, void *userInfo) ;
extern CGError CGDisplayRemoveReconfigurationCallback(CGDisplayReconfigurationCallBack proc, void *userInfo) ;
# 257 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGError CGDisplaySetStereoOperation(CGDirectDisplayID display, boolean_t stereo, boolean_t forceBlueLine, CGConfigureOption option);
# 277 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern boolean_t CGDisplayIsActive(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsAsleep(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsOnline(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsMain(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsBuiltin(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsInMirrorSet(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsAlwaysInMirrorSet(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsInHWMirrorSet(CGDirectDisplayID display) ;
extern CGDirectDisplayID CGDisplayMirrorsDisplay(CGDirectDisplayID display) ;
extern boolean_t CGDisplayUsesOpenGLAcceleration(CGDirectDisplayID display) ;
extern boolean_t CGDisplayIsStereo(CGDirectDisplayID display);
extern CGDirectDisplayID CGDisplayPrimaryDisplay(CGDirectDisplayID display) ;
extern uint32_t CGDisplayUnitNumber(CGDirectDisplayID display) ;
extern uint32_t CGDisplayVendorNumber(CGDirectDisplayID display) ;
extern uint32_t CGDisplayModelNumber(CGDirectDisplayID display) ;
extern uint32_t CGDisplaySerialNumber(CGDirectDisplayID display) ;
extern io_service_t CGDisplayIOServicePort(CGDirectDisplayID display) ;
# 339 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern CGSize CGDisplayScreenSize(CGDirectDisplayID display) ;
# 352 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 3
extern double CGDisplayRotation(CGDirectDisplayID display) ;
extern CGColorSpaceRef CGDisplayCopyColorSpace(CGDirectDisplayID display) ;
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 3
#define __CGDISPLAY_FADE_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h" 1 3
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 2 3
typedef uint32_t CGDisplayFadeReservationToken;
#define kCGDisplayFadeReservationInvalidToken (0)
typedef float CGDisplayBlendFraction;
#define kCGDisplayBlendNormal (0.0)
#define kCGDisplayBlendSolidColor (1.0)
typedef float CGDisplayFadeInterval;
# 59 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 3
extern CGError CGConfigureDisplayFadeEffect(CGDisplayConfigRef configRef,
CGDisplayFadeInterval fadeOutSeconds,
CGDisplayFadeInterval fadeInSeconds,
float fadeRed,
float fadeGreen,
float fadeBlue) ;
typedef float CGDisplayReservationInterval;
#define kCGMaxDisplayReservationInterval (15.0)
# 88 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 3
extern CGError CGAcquireDisplayFadeReservation(CGDisplayReservationInterval seconds,
CGDisplayFadeReservationToken * pNewToken) ;
# 103 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 3
extern CGError CGReleaseDisplayFadeReservation(CGDisplayFadeReservationToken myToken) ;
# 154 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDisplayFade.h" 3
extern CGError CGDisplayFade(CGDisplayFadeReservationToken myToken,
CGDisplayFadeInterval seconds,
CGDisplayBlendFraction startBlend,
CGDisplayBlendFraction endBlend,
float redBlend, float greenBlend, float blueBlend,
boolean_t synchronous ) ;
extern boolean_t CGDisplayFadeOperationInProgress(void) ;
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 1 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
#define __CGEVENT_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
#define __CGREMOTE_OPERATION_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGError.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 2 3
typedef CGError CGEventErr;
#define CGEventNoErr kCGErrorSuccess
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
typedef u_int32_t CGRectCount;
typedef void (*CGScreenRefreshCallback)(CGRectCount count, const CGRect * rectArray, void * userParameter);
# 56 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGRegisterScreenRefreshCallback( CGScreenRefreshCallback function, void * userParameter ) ;
extern void CGUnregisterScreenRefreshCallback( CGScreenRefreshCallback function, void * userParameter ) ;
# 75 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGWaitForScreenRefreshRects( CGRect ** pRectArray, CGRectCount * pCount ) ;
# 84 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
enum _CGScreenUpdateOperation
{
kCGScreenUpdateOperationRefresh = 0,
kCGScreenUpdateOperationMove = (1 << 0),
kCGScreenUpdateOperationReducedDirtyRectangleCount = (1 << 31)
};
typedef uint32_t CGScreenUpdateOperation;
# 102 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
struct _CGScreenUpdateMoveDelta {
int32_t dX, dY;
};
typedef struct _CGScreenUpdateMoveDelta CGScreenUpdateMoveDelta;
# 133 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
typedef void (*CGScreenUpdateMoveCallback)(CGScreenUpdateMoveDelta delta,
size_t count,
const CGRect * rectArray,
void * userParameter);
extern CGError CGScreenRegisterMoveCallback( CGScreenUpdateMoveCallback function, void * userParameter ) ;
extern void CGScreenUnregisterMoveCallback( CGScreenUpdateMoveCallback function, void * userParameter ) ;
# 172 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGWaitForScreenUpdateRects( CGScreenUpdateOperation requestedOperations,
CGScreenUpdateOperation * currentOperation,
CGRect ** pRectArray,
size_t * pCount,
CGScreenUpdateMoveDelta *pDelta ) ;
extern void CGReleaseScreenRefreshRects( CGRect * rectArray ) ;
# 190 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern boolean_t CGCursorIsVisible(void) ;
extern boolean_t CGCursorIsDrawnInFramebuffer(void) ;
# 219 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
typedef u_int32_t CGButtonCount;
extern CGError CGPostMouseEvent( CGPoint mouseCursorPosition,
boolean_t updateMouseCursorPosition,
CGButtonCount buttonCount,
boolean_t mouseButtonDown, ... ) ;
# 239 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
typedef u_int32_t CGWheelCount;
extern CGError CGPostScrollWheelEvent( CGWheelCount wheelCount,
int32_t wheel1, ... ) ;
# 258 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
typedef u_int16_t CGCharCode;
typedef u_int16_t CGKeyCode;
extern CGError CGPostKeyboardEvent( CGCharCode keyChar,
CGKeyCode virtualKey,
boolean_t keyDown ) ;
extern CGError CGWarpMouseCursorPosition( CGPoint newCursorPosition ) ;
# 283 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGInhibitLocalEvents( boolean_t doInhibit) ;
extern CGError CGSetLocalEventsSuppressionInterval(CFTimeInterval seconds) ;
# 307 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGEnableEventStateCombining(boolean_t doCombineState) ;
# 323 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
enum
{
kCGEventFilterMaskPermitLocalMouseEvents = 0x00000001,
kCGEventFilterMaskPermitLocalKeyboardEvents = 0x00000002,
kCGEventFilterMaskPermitSystemDefinedEvents = 0x00000004
};
typedef uint32_t CGEventFilterMask;
enum
{
kCGEventSuppressionStateSuppressionInterval = 0,
kCGEventSuppressionStateRemoteMouseDrag,
kCGNumberOfEventSuppressionStates
};
typedef uint32_t CGEventSuppressionState;
#define kCGEventFilterMaskPermitAllEvents (kCGEventFilterMaskPermitLocalMouseEvents | kCGEventFilterMaskPermitLocalKeyboardEvents | kCGEventFilterMaskPermitSystemDefinedEvents)
extern CGError CGSetLocalEventsFilterDuringSuppressionState(CGEventFilterMask filter,
CGEventSuppressionState state) ;
# 355 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
#define kCGMouseDownEventMaskingDeadSwitchTimeout (60.0)
# 376 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CGError CGAssociateMouseAndMouseCursorPosition(boolean_t connected) ;
# 416 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 3
extern CFMachPortRef CGWindowServerCFMachPort(void) ;
#define kCGEventSupressionStateSupressionInterval kCGEventSuppressionStateSuppressionInterval
#define kCGEventSupressionStateRemoteMouseDrag kCGEventSuppressionStateRemoteMouseDrag
#define kCGNumberOfEventSupressionStates kCGNumberOfEventSuppressionStates
#define CGEventSupressionState CGEventSuppressionState
#define CGSetLocalEventsFilterDuringSupressionState(filter,state) CGSetLocalEventsFilterDuringSuppressionState(filter, state)
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
#define __CGEVENTSOURCE_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
#define __CGEVENTTYPES_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 1 3
# 46 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define _DEV_EVENT_H
# 1 "/usr/include/libkern/OSTypes.h" 1 3 4
# 36 "/usr/include/libkern/OSTypes.h" 3 4
#define _OS_OSTYPES_H
typedef unsigned int UInt;
typedef signed int SInt;
# 49 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 1 3
# 36 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 3
#define _DEV_EV_TYPES_H
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/IOSharedLock.h" 1 3
# 54 "/System/Library/Frameworks/IOKit.framework/Headers/IOSharedLock.h" 3
#define _IOKIT_IOSHAREDLOCK_H
typedef volatile int IOSharedLockData;
typedef IOSharedLockData * IOSharedLock;
#define IOSpinLockInit(l) (*(l) = (IOSharedLockData)0)
extern void IOSpinLock(IOSharedLock l);
extern void IOSpinUnlock(IOSharedLock l);
extern boolean_t IOTrySpinLock(IOSharedLock l);
typedef IOSharedLockData ev_lock_data_t;
typedef ev_lock_data_t * ev_lock_t;
#define ev_init_lock(l) (*(l) = (ev_lock_data_t)0)
extern void ev_lock(ev_lock_t l);
extern void ev_unlock(ev_lock_t l);
extern boolean_t ev_try_lock(ev_lock_t l);
# 40 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 2 3
# 1 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 1 3
# 24 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
#define _IOKIT_IOGRAPHICSTYPES_H
# 34 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
#define IOGRAPHICSTYPES_REV 13
typedef SInt32 IOIndex;
typedef UInt32 IOSelect;
typedef UInt32 IOFixed1616;
typedef UInt32 IODisplayVendorID;
typedef UInt32 IODisplayProductID;
typedef SInt32 IODisplayModeID;
enum {
kIODisplayModeIDBootProgrammable = (long)0xFFFFFFFB,
kIODisplayModeIDReservedBase = (long)0x80000000
};
enum {
kIOMaxPixelBits = 64
};
typedef char IOPixelEncoding[ kIOMaxPixelBits ];
#define IO1BitIndexedPixels "P"
#define IO2BitIndexedPixels "PP"
#define IO4BitIndexedPixels "PPPP"
#define IO8BitIndexedPixels "PPPPPPPP"
#define IO16BitDirectPixels "-RRRRRGGGGGBBBBB"
#define IO32BitDirectPixels "--------RRRRRRRRGGGGGGGGBBBBBBBB"
#define kIO30BitDirectPixels "--RRRRRRRRRRGGGGGGGGGGBBBBBBBBBB"
#define kIO64BitDirectPixels "-16R16G16B16"
#define kIO16BitFloatPixels "-16FR16FG16FB16"
#define kIO32BitFloatPixels "-32FR32FG32FB32"
#define IOYUV422Pixels "Y4U2V2"
#define IO8BitOverlayPixels "O8"
#define IOPagedPixels "Page1"
#define IO_SampleTypeAlpha 'A'
#define IO_SampleTypeSkip '-'
enum {
kIOCLUTPixels = 0,
kIOFixedCLUTPixels = 1,
kIORGBDirectPixels = 2,
kIOMonoDirectPixels = 3,
kIOMonoInverseDirectPixels = 4,
kIORGBSignedDirectPixels = 5,
kIORGBSignedFloatingPointPixels = 6
};
# 109 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IOPixelInformation {
IOByteCount bytesPerRow;
IOByteCount bytesPerPlane;
UInt32 bitsPerPixel;
UInt32 pixelType;
UInt32 componentCount;
UInt32 bitsPerComponent;
UInt32 componentMasks[ 8 * 2 ];
IOPixelEncoding pixelFormat;
UInt32 flags;
UInt32 activeWidth;
UInt32 activeHeight;
UInt32 reserved[ 2 ];
};
typedef struct IOPixelInformation IOPixelInformation;
typedef UInt32 IOAppleTimingID;
# 144 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IODisplayModeInformation {
UInt32 nominalWidth;
UInt32 nominalHeight;
IOFixed1616 refreshRate;
IOIndex maxDepthIndex;
UInt32 flags;
UInt32 reserved[ 4 ];
};
typedef struct IODisplayModeInformation IODisplayModeInformation;
enum {
kDisplayModeSafetyFlags = 0x00000007,
kDisplayModeAlwaysShowFlag = 0x00000008,
kDisplayModeNeverShowFlag = 0x00000080,
kDisplayModeNotResizeFlag = 0x00000010,
kDisplayModeRequiresPanFlag = 0x00000020,
kDisplayModeInterlacedFlag = 0x00000040,
kDisplayModeSimulscanFlag = 0x00000100,
kDisplayModeBuiltInFlag = 0x00000400,
kDisplayModeNotPresetFlag = 0x00000200,
kDisplayModeStretchedFlag = 0x00000800,
kDisplayModeNotGraphicsQualityFlag = 0x00001000,
kDisplayModeValidateAgainstDisplay = 0x00002000,
kDisplayModeTelevisionFlag = 0x00100000,
kDisplayModeValidForMirroringFlag = 0x00200000
};
enum {
kDisplayModeValidFlag = 0x00000001,
kDisplayModeSafeFlag = 0x00000002,
kDisplayModeDefaultFlag = 0x00000004
};
struct IOFramebufferInformation {
IOPhysicalAddress baseAddress;
UInt32 activeWidth;
UInt32 activeHeight;
IOByteCount bytesPerRow;
IOByteCount bytesPerPlane;
UInt32 bitsPerPixel;
UInt32 pixelType;
UInt32 flags;
UInt32 reserved[ 4 ];
};
typedef struct IOFramebufferInformation IOFramebufferInformation;
enum {
kFramebufferSupportsCopybackCache = 0x00010000,
kFramebufferSupportsWritethruCache = 0x00020000,
kFramebufferSupportsGammaCorrection = 0x00040000,
kFramebufferDisableAltivecAccess = 0x00080000
};
typedef IOIndex IOPixelAperture;
enum {
kIOFBSystemAperture = 0
};
typedef UInt16 IOColorComponent;
# 223 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IOColorEntry {
UInt16 index;
IOColorComponent red;
IOColorComponent green;
IOColorComponent blue;
};
typedef struct IOColorEntry IOColorEntry;
enum {
kSetCLUTByValue = 0x00000001,
kSetCLUTImmediately = 0x00000002,
kSetCLUTWithLuminance = 0x00000004
};
enum {
kIOPowerAttribute = 'powr',
kIOHardwareCursorAttribute = 'crsr',
kIOMirrorAttribute = 'mirr',
kIOMirrorDefaultAttribute = 'mrdf',
kIOCapturedAttribute = 'capd',
kIOCursorControlAttribute = 'crsc',
kIOSystemPowerAttribute = 'spwr',
kIOVRAMSaveAttribute = 'vrsv',
kIODeferCLUTSetAttribute = 'vclt',
kIOClamshellStateAttribute = 'clam'
};
enum {
kIOMirrorIsPrimary = 0x80000000,
kIOMirrorHWClipped = 0x40000000
};
enum {
kIOMirrorDefault = 0x00000001,
kIOMirrorForced = 0x00000002
};
struct IODetailedTimingInformationV1 {
UInt32 pixelClock;
UInt32 horizontalActive;
UInt32 horizontalBlanking;
UInt32 horizontalBorder;
UInt32 horizontalSyncOffset;
UInt32 horizontalSyncWidth;
UInt32 verticalActive;
UInt32 verticalBlanking;
UInt32 verticalBorder;
UInt32 verticalSyncOffset;
UInt32 verticalSyncWidth;
};
typedef struct IODetailedTimingInformationV1 IODetailedTimingInformationV1;
# 335 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IODetailedTimingInformationV2 {
UInt32 __reservedA[3];
UInt32 horizontalScaledInset;
UInt32 verticalScaledInset;
UInt32 scalerFlags;
UInt32 horizontalScaled;
UInt32 verticalScaled;
UInt32 signalConfig;
UInt32 signalLevels;
UInt64 pixelClock;
UInt64 minPixelClock;
UInt64 maxPixelClock;
UInt32 horizontalActive;
UInt32 horizontalBlanking;
UInt32 horizontalSyncOffset;
UInt32 horizontalSyncPulseWidth;
UInt32 verticalActive;
UInt32 verticalBlanking;
UInt32 verticalSyncOffset;
UInt32 verticalSyncPulseWidth;
UInt32 horizontalBorderLeft;
UInt32 horizontalBorderRight;
UInt32 verticalBorderTop;
UInt32 verticalBorderBottom;
UInt32 horizontalSyncConfig;
UInt32 horizontalSyncLevel;
UInt32 verticalSyncConfig;
UInt32 verticalSyncLevel;
UInt32 numLinks;
UInt32 __reservedB[7];
};
typedef struct IODetailedTimingInformationV2 IODetailedTimingInformationV2;
typedef struct IODetailedTimingInformationV2 IODetailedTimingInformation;
struct IOTimingInformation {
IOAppleTimingID appleTimingID;
UInt32 flags;
union {
IODetailedTimingInformationV1 v1;
IODetailedTimingInformationV2 v2;
} detailedInfo;
};
typedef struct IOTimingInformation IOTimingInformation;
enum {
kIODetailedTimingValid = 0x80000000,
kIOScalingInfoValid = 0x40000000
};
enum {
kIOScaleStretchToFit = 0x00000001,
kIOScaleRotateFlags = 0x000000f0,
kIOScaleSwapAxes = 0x00000010,
kIOScaleInvertX = 0x00000020,
kIOScaleInvertY = 0x00000040,
kIOScaleRotate0 = 0x00000000,
kIOScaleRotate90 = kIOScaleSwapAxes | kIOScaleInvertX,
kIOScaleRotate180 = kIOScaleInvertX | kIOScaleInvertY,
kIOScaleRotate270 = kIOScaleSwapAxes | kIOScaleInvertY
};
struct IOFBDisplayModeDescription {
IODisplayModeInformation info;
IOTimingInformation timingInfo;
};
typedef struct IOFBDisplayModeDescription IOFBDisplayModeDescription;
# 499 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IODisplayTimingRange
{
UInt32 __reservedA[2];
UInt32 version;
UInt32 __reservedB[5];
UInt64 minPixelClock;
UInt64 maxPixelClock;
UInt32 maxPixelError;
UInt32 supportedSyncFlags;
UInt32 supportedSignalLevels;
UInt32 supportedSignalConfigs;
UInt32 minFrameRate;
UInt32 maxFrameRate;
UInt32 minLineRate;
UInt32 maxLineRate;
UInt32 maxHorizontalTotal;
UInt32 maxVerticalTotal;
UInt32 __reservedD[2];
UInt8 charSizeHorizontalActive;
UInt8 charSizeHorizontalBlanking;
UInt8 charSizeHorizontalSyncOffset;
UInt8 charSizeHorizontalSyncPulse;
UInt8 charSizeVerticalActive;
UInt8 charSizeVerticalBlanking;
UInt8 charSizeVerticalSyncOffset;
UInt8 charSizeVerticalSyncPulse;
UInt8 charSizeHorizontalBorderLeft;
UInt8 charSizeHorizontalBorderRight;
UInt8 charSizeVerticalBorderTop;
UInt8 charSizeVerticalBorderBottom;
UInt8 charSizeHorizontalTotal;
UInt8 charSizeVerticalTotal;
UInt16 __reservedE;
UInt32 minHorizontalActiveClocks;
UInt32 maxHorizontalActiveClocks;
UInt32 minHorizontalBlankingClocks;
UInt32 maxHorizontalBlankingClocks;
UInt32 minHorizontalSyncOffsetClocks;
UInt32 maxHorizontalSyncOffsetClocks;
UInt32 minHorizontalPulseWidthClocks;
UInt32 maxHorizontalPulseWidthClocks;
UInt32 minVerticalActiveClocks;
UInt32 maxVerticalActiveClocks;
UInt32 minVerticalBlankingClocks;
UInt32 maxVerticalBlankingClocks;
UInt32 minVerticalSyncOffsetClocks;
UInt32 maxVerticalSyncOffsetClocks;
UInt32 minVerticalPulseWidthClocks;
UInt32 maxVerticalPulseWidthClocks;
UInt32 minHorizontalBorderLeft;
UInt32 maxHorizontalBorderLeft;
UInt32 minHorizontalBorderRight;
UInt32 maxHorizontalBorderRight;
UInt32 minVerticalBorderTop;
UInt32 maxVerticalBorderTop;
UInt32 minVerticalBorderBottom;
UInt32 maxVerticalBorderBottom;
UInt32 maxNumLinks;
UInt32 minLink0PixelClock;
UInt32 maxLink0PixelClock;
UInt32 minLink1PixelClock;
UInt32 maxLink1PixelClock;
UInt32 __reservedF[3];
};
typedef struct IODisplayTimingRange IODisplayTimingRange;
enum {
kIORangeSupportsSignal_0700_0300 = 0x00000001,
kIORangeSupportsSignal_0714_0286 = 0x00000002,
kIORangeSupportsSignal_1000_0400 = 0x00000004,
kIORangeSupportsSignal_0700_0000 = 0x00000008
};
enum {
kIORangeSupportsSeparateSyncs = 0x00000001,
kIORangeSupportsSyncOnGreen = 0x00000002,
kIORangeSupportsCompositeSync = 0x00000004,
kIORangeSupportsVSyncSerration = 0x00000008
};
enum {
kIORangeSupportsInterlacedCEATiming = 0x00000004,
kIORangeSupportsInterlacedCEATimingWithConfirm = 0x00000008
};
enum {
kIODigitalSignal = 0x00000001,
kIOAnalogSetupExpected = 0x00000002,
kIOInterlacedCEATiming = 0x00000004,
kIONTSCTiming = 0x00000008,
kIOPALTiming = 0x00000010
};
enum {
kIOAnalogSignalLevel_0700_0300 = 0,
kIOAnalogSignalLevel_0714_0286 = 1,
kIOAnalogSignalLevel_1000_0400 = 2,
kIOAnalogSignalLevel_0700_0000 = 3
};
enum {
kIOSyncPositivePolarity = 0x00000001
};
# 642 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IODisplayScalerInformation {
UInt32 __reservedA[1];
UInt32 version;
UInt32 __reservedB[2];
IOOptionBits scalerFeatures;
UInt32 maxHorizontalPixels;
UInt32 maxVerticalPixels;
UInt32 __reservedC[5];
};
typedef struct IODisplayScalerInformation IODisplayScalerInformation;
enum {
kIOScaleStretchOnly = 0x00000001,
kIOScaleCanUpSamplePixels = 0x00000002,
kIOScaleCanDownSamplePixels = 0x00000004,
kIOScaleCanScaleInterlaced = 0x00000008,
kIOScaleCanSupportInset = 0x00000010,
kIOScaleCanRotate = 0x00000020,
kIOScaleCanBorderInsetOnly = 0x00000040
};
enum {
kOrConnections = 0xffffffe,
kAndConnections = 0xffffffd
};
enum {
kConnectionFlags = 'flgs',
kConnectionSyncEnable = 'sync',
kConnectionSyncFlags = 'sycf',
kConnectionSupportsAppleSense = 'asns',
kConnectionSupportsLLDDCSense = 'lddc',
kConnectionSupportsHLDDCSense = 'hddc',
kConnectionEnable = 'enab',
kConnectionProbe = 'prob',
kConnectionChanged = 'chng',
kConnectionPower = 'powr',
kConnectionPostWake = 'pwak',
kConnectionDisplayParameterCount = 'pcnt',
kConnectionDisplayParameters = 'parm',
kConnectionOverscan = 'oscn',
kConnectionVideoBest = 'vbst'
};
enum {
kIOConnectionBuiltIn = 0x00000800,
kIOConnectionStereoSync = 0x00008000
};
enum {
kIOHSyncDisable = 0x00000001,
kIOVSyncDisable = 0x00000002,
kIOCSyncDisable = 0x00000004,
kIONoSeparateSyncControl = 0x00000040,
kIOTriStateSyncs = 0x00000080,
kIOSyncOnBlue = 0x00000008,
kIOSyncOnGreen = 0x00000010,
kIOSyncOnRed = 0x00000020
};
#define IO_DISPLAY_CAN_FILL 0x00000040
#define IO_DISPLAY_CAN_BLIT 0x00000020
#define IO_24BPP_TRANSFER_TABLE_SIZE 256
#define IO_15BPP_TRANSFER_TABLE_SIZE 256
#define IO_8BPP_TRANSFER_TABLE_SIZE 256
#define IO_12BPP_TRANSFER_TABLE_SIZE 256
#define IO_2BPP_TRANSFER_TABLE_SIZE 256
#define STDFB_BM256_TO_BM38_MAP_SIZE 256
#define STDFB_BM38_TO_BM256_MAP_SIZE 256
#define STDFB_BM38_TO_256_WITH_LOGICAL_SIZE (STDFB_BM38_TO_BM256_MAP_SIZE + (256/sizeof(int)))
#define STDFB_4BPS_TO_5BPS_MAP_SIZE 16
#define STDFB_5BPS_TO_4BPS_MAP_SIZE 32
enum {
kIOFBServerConnectType = 0,
kIOFBSharedConnectType = 1
};
enum {
kIOFBUserRequestProbe = 0x00000001
};
struct IOGPoint {
SInt16 x;
SInt16 y;
};
typedef struct IOGPoint IOGPoint;
struct IOGSize {
SInt16 width;
SInt16 height;
};
typedef struct IOGSize IOGSize;
struct IOGBounds {
SInt16 minx;
SInt16 maxx;
SInt16 miny;
SInt16 maxy;
};
typedef struct IOGBounds IOGBounds;
# 773 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
enum {
kTransparentEncoding = 0,
kInvertingEncoding
};
enum {
kTransparentEncodingShift = (kTransparentEncoding << 1),
kTransparentEncodedPixel = (0x01 << kTransparentEncodingShift),
kInvertingEncodingShift = (kInvertingEncoding << 1),
kInvertingEncodedPixel = (0x01 << kInvertingEncodingShift)
};
enum {
kHardwareCursorDescriptorMajorVersion = 0x0001,
kHardwareCursorDescriptorMinorVersion = 0x0000
};
# 808 "/System/Library/Frameworks/IOKit.framework/Headers/graphics/IOGraphicsTypes.h" 3
struct IOHardwareCursorDescriptor {
UInt16 majorVersion;
UInt16 minorVersion;
UInt32 height;
UInt32 width;
UInt32 bitDepth;
UInt32 maskBitDepth;
UInt32 numColors;
UInt32 * colorEncodings;
UInt32 flags;
UInt32 supportedSpecialEncodings;
UInt32 specialEncodings[16];
};
typedef struct IOHardwareCursorDescriptor IOHardwareCursorDescriptor;
enum {
kIOFBVBLInterruptType = 'vbl ',
kIOFBHBLInterruptType = 'hbl ',
kIOFBFrameInterruptType = 'fram',
kIOFBConnectInterruptType = 'dci ',
kIOFBChangedInterruptType = 'chng',
kIOFBOfflineInterruptType = 'remv',
kIOFBOnlineInterruptType = 'add '
};
enum {
kIOTimingIDInvalid = 0,
kIOTimingIDApple_FixedRateLCD = 42,
kIOTimingIDApple_512x384_60hz = 130,
kIOTimingIDApple_560x384_60hz = 135,
kIOTimingIDApple_640x480_67hz = 140,
kIOTimingIDApple_640x400_67hz = 145,
kIOTimingIDVESA_640x480_60hz = 150,
kIOTimingIDVESA_640x480_72hz = 152,
kIOTimingIDVESA_640x480_75hz = 154,
kIOTimingIDVESA_640x480_85hz = 158,
kIOTimingIDGTF_640x480_120hz = 159,
kIOTimingIDApple_640x870_75hz = 160,
kIOTimingIDApple_640x818_75hz = 165,
kIOTimingIDApple_832x624_75hz = 170,
kIOTimingIDVESA_800x600_56hz = 180,
kIOTimingIDVESA_800x600_60hz = 182,
kIOTimingIDVESA_800x600_72hz = 184,
kIOTimingIDVESA_800x600_75hz = 186,
kIOTimingIDVESA_800x600_85hz = 188,
kIOTimingIDVESA_1024x768_60hz = 190,
kIOTimingIDVESA_1024x768_70hz = 200,
kIOTimingIDVESA_1024x768_75hz = 204,
kIOTimingIDVESA_1024x768_85hz = 208,
kIOTimingIDApple_1024x768_75hz = 210,
kIOTimingIDApple_1152x870_75hz = 220,
kIOTimingIDAppleNTSC_ST = 230,
kIOTimingIDAppleNTSC_FF = 232,
kIOTimingIDAppleNTSC_STconv = 234,
kIOTimingIDAppleNTSC_FFconv = 236,
kIOTimingIDApplePAL_ST = 238,
kIOTimingIDApplePAL_FF = 240,
kIOTimingIDApplePAL_STconv = 242,
kIOTimingIDApplePAL_FFconv = 244,
kIOTimingIDVESA_1280x960_75hz = 250,
kIOTimingIDVESA_1280x960_60hz = 252,
kIOTimingIDVESA_1280x960_85hz = 254,
kIOTimingIDVESA_1280x1024_60hz = 260,
kIOTimingIDVESA_1280x1024_75hz = 262,
kIOTimingIDVESA_1280x1024_85hz = 268,
kIOTimingIDVESA_1600x1200_60hz = 280,
kIOTimingIDVESA_1600x1200_65hz = 282,
kIOTimingIDVESA_1600x1200_70hz = 284,
kIOTimingIDVESA_1600x1200_75hz = 286,
kIOTimingIDVESA_1600x1200_80hz = 288,
kIOTimingIDVESA_1600x1200_85hz = 289,
kIOTimingIDVESA_1792x1344_60hz = 296,
kIOTimingIDVESA_1792x1344_75hz = 298,
kIOTimingIDVESA_1856x1392_60hz = 300,
kIOTimingIDVESA_1856x1392_75hz = 302,
kIOTimingIDVESA_1920x1440_60hz = 304,
kIOTimingIDVESA_1920x1440_75hz = 306,
kIOTimingIDSMPTE240M_60hz = 400,
kIOTimingIDFilmRate_48hz = 410,
kIOTimingIDSony_1600x1024_76hz = 500,
kIOTimingIDSony_1920x1080_60hz = 510,
kIOTimingIDSony_1920x1080_72hz = 520,
kIOTimingIDSony_1920x1200_76hz = 540,
kIOTimingIDApple_0x0_0hz_Offline = 550,
kIOTimingIDVESA_848x480_60hz = 570,
kIOTimingIDVESA_1360x768_60hz = 590
};
#define kIOFramebufferInfoKey "IOFramebufferInformation"
#define kIOFBWidthKey "IOFBWidth"
#define kIOFBHeightKey "IOFBHeight"
#define kIOFBRefreshRateKey "IOFBRefreshRate"
#define kIOFBFlagsKey "IOFBFlags"
#define kIOFBBytesPerRowKey "IOFBBytesPerRow"
#define kIOFBBytesPerPlaneKey "IOFBBytesPerPlane"
#define kIOFBBitsPerPixelKey "IOFBBitsPerPixel"
#define kIOFBComponentCountKey "IOFBComponentCount"
#define kIOFBBitsPerComponentKey "IOFBBitsPerComponent"
#define kIOFBDetailedTimingsKey "IOFBDetailedTimings"
#define kIOFBTimingRangeKey "IOFBTimingRange"
#define kIOFBScalerInfoKey "IOFBScalerInfo"
#define kIOFBCursorInfoKey "IOFBCursorInfo"
#define kIOFBHostAccessFlagsKey "IOFBHostAccessFlags"
#define kIOFBMemorySizeKey "IOFBMemorySize"
#define kIOFBProbeOptionsKey "IOFBProbeOptions"
#define kIOFBGammaWidthKey "IOFBGammaWidth"
#define kIOFBGammaCountKey "IOFBGammaCount"
#define kIOFBCLUTDeferKey "IOFBCLUTDefer"
#define kIOHibernatePreviewActiveKey "IOHibernatePreviewActive"
enum {
kIOHibernatePreviewActive = 0x00000001,
kIOHibernatePreviewUpdates = 0x00000002
};
#define kIOFBConfigKey "IOFBConfig"
#define kIOFBModesKey "IOFBModes"
#define kIOFBModeIDKey "ID"
#define kIOFBModeDMKey "DM"
#define kIOFBModeTMKey "TM"
#define kIOFBModeAIDKey "AID"
#define kIOFBModeDFKey "DF"
#define kIODisplayEDIDKey "IODisplayEDID"
#define kIODisplayLocationKey "IODisplayLocation"
#define kIODisplayConnectFlagsKey "IODisplayConnectFlags"
#define kIODisplayHasBacklightKey "IODisplayHasBacklight"
#define kIODisplayIsDigitalKey "IODisplayIsDigital"
#define kDisplayBundleKey "DisplayBundle"
#define kAppleDisplayTypeKey "AppleDisplayType"
#define kAppleSenseKey "AppleSense"
enum {
kDisplayVendorIDUnknown = 'unkn',
kDisplayProductIDGeneric = 0x717
};
#define kDisplayVendorID "DisplayVendorID"
#define kDisplayProductID "DisplayProductID"
#define kDisplaySerialNumber "DisplaySerialNumber"
#define kDisplaySerialString "DisplaySerialString"
#define kDisplayWeekOfManufacture "DisplayWeekManufacture"
#define kDisplayYearOfManufacture "DisplayYearManufacture"
#define kDisplayProductName "DisplayProductName"
#define kDisplayWhitePointX "DisplayWhitePointX"
#define kDisplayWhitePointY "DisplayWhitePointY"
#define kDisplayRedPointX "DisplayRedPointX"
#define kDisplayRedPointY "DisplayRedPointY"
#define kDisplayGreenPointX "DisplayGreenPointX"
#define kDisplayGreenPointY "DisplayGreenPointY"
#define kDisplayBluePointX "DisplayBluePointX"
#define kDisplayBluePointY "DisplayBluePointY"
#define kDisplayWhiteGamma "DisplayWhiteGamma"
#define kDisplayRedGamma "DisplayRedGamma"
#define kDisplayGreenGamma "DisplayGreenGamma"
#define kDisplayBlueGamma "DisplayBlueGamma"
#define kDisplayGammaChannels "DisplayGammaChannels"
#define kDisplayGammaEntryCount "DisplayGammaEntryCount"
#define kDisplayGammaEntrySize "DisplayGammaEntrySize"
#define kDisplayGammaTable "DisplayGammaTable"
#define kDisplayBrightnessAffectsGamma "DisplayBrightnessAffectsGamma"
#define kDisplayViewAngleAffectsGamma "DisplayViewAngleAffectsGamma"
#define kDisplayCSProfile "DisplayCSProfile"
#define kDisplayHorizontalImageSize "DisplayHorizontalImageSize"
#define kDisplayVerticalImageSize "DisplayVerticalImageSize"
#define kDisplayFixedPixelFormat "DisplayFixedPixelFormat"
enum {
kDisplaySubPixelLayoutUndefined = 0x00000000,
kDisplaySubPixelLayoutRGB = 0x00000001,
kDisplaySubPixelLayoutBGR = 0x00000002,
kDisplaySubPixelLayoutQuadGBL = 0x00000003,
kDisplaySubPixelLayoutQuadGBR = 0x00000004,
kDisplaySubPixelConfigurationUndefined = 0x00000000,
kDisplaySubPixelConfigurationDelta = 0x00000001,
kDisplaySubPixelConfigurationStripe = 0x00000002,
kDisplaySubPixelConfigurationStripeOffset = 0x00000003,
kDisplaySubPixelConfigurationQuad = 0x00000004,
kDisplaySubPixelShapeUndefined = 0x00000000,
kDisplaySubPixelShapeRound = 0x00000001,
kDisplaySubPixelShapeSquare = 0x00000002,
kDisplaySubPixelShapeRectangular = 0x00000003,
kDisplaySubPixelShapeOval = 0x00000004,
kDisplaySubPixelShapeElliptical = 0x00000005
};
#define kDisplaySubPixelLayout "DisplaySubPixelLayout"
#define kDisplaySubPixelConfiguration "DisplaySubPixelConfiguration"
#define kDisplaySubPixelShape "DisplaySubPixelShape"
#define kIODisplayOverrideMatchingKey "IODisplayOverrideMatching"
#define kIODisplayParametersKey "IODisplayParameters"
#define kIODisplayGUIDKey "IODisplayGUID"
#define kIODisplayValueKey "value"
#define kIODisplayMinValueKey "min"
#define kIODisplayMaxValueKey "max"
#define kIODisplayBrightnessKey "brightness"
#define kIODisplayContrastKey "contrast"
#define kIODisplayHorizontalPositionKey "horizontal-position"
#define kIODisplayHorizontalSizeKey "horizontal-size"
#define kIODisplayVerticalPositionKey "vertical-position"
#define kIODisplayVerticalSizeKey "vertical-size"
#define kIODisplayTrapezoidKey "trapezoid"
#define kIODisplayPincushionKey "pincushion"
#define kIODisplayParallelogramKey "parallelogram"
#define kIODisplayRotationKey "rotation"
#define kIODisplayTheatreModeKey "theatre-mode"
#define kIODisplayTheatreModeWindowKey "theatre-mode-window"
#define kIODisplayOverscanKey "oscn"
#define kIODisplayVideoBestKey "vbst"
#define kIODisplayParametersCommitKey "commit"
#define kIODisplayParametersDefaultKey "defaults"
# 41 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 2 3
#define EVENT_SYSTEM_VERSION 2
#define NX_MAXMOUSESCALINGS 20
typedef struct evsioKeymapping
{
int size;
char *mapping;
} NXKeyMapping;
typedef struct evsioMouseScaling
{
int numScaleLevels;
short scaleThresholds[20];
short scaleFactors[20];
} NXMouseScaling;
typedef enum {
NX_OneButton,
NX_LeftButton,
NX_RightButton
} NXMouseButton;
# 83 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 3
typedef int *NXEventSystemInfoType;
#define NX_EVS_INFO_MAX (1024)
typedef int NXEventSystemInfoData[(1024)];
#define NX_EVS_DEVICE_MAX 16
#define NX_EVS_DEVICE_INTERFACE_OTHER 0
#define NX_EVS_DEVICE_INTERFACE_NeXT 1
#define NX_EVS_DEVICE_INTERFACE_ADB 2
#define NX_EVS_DEVICE_INTERFACE_ACE 3
#define NX_EVS_DEVICE_INTERFACE_SERIAL_ACE 4
#define NX_EVS_DEVICE_INTERFACE_BUS_ACE 5
#define NX_EVS_DEVICE_INTERFACE_HIL 6
#define NX_EVS_DEVICE_INTERFACE_TYPE5 7
# 108 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 3
#define NUM_SUPPORTED_INTERFACES (NX_EVS_DEVICE_INTERFACE_TYPE5 + 1)
#define NX_EVS_DEVICE_TYPE_OTHER 0
#define NX_EVS_DEVICE_TYPE_KEYBOARD 1
#define NX_EVS_DEVICE_TYPE_MOUSE 2
#define NX_EVS_DEVICE_TYPE_TABLET 3
typedef struct {
int interface;
int interface_addr;
int dev_type;
int id;
} NXEventSystemDevice;
typedef struct {
NXEventSystemDevice dev[16];
} NXEventSystemDeviceList;
#define __OLD_NX_EVS_DEVICE_INFO 1
#define NX_EVS_DEVICE_INFO "Evs_EventDeviceInfo"
#define NX_EVS_DEVICE_INFO_COUNT (sizeof (NXEventSystemDeviceList) / sizeof (int))
typedef enum {EVNOP, EVHIDE, EVSHOW, EVMOVE, EVLEVEL} EvCmd;
#define EV_SCREEN_MIN_BRIGHTNESS 0
#define EV_SCREEN_MAX_BRIGHTNESS 64
#define EV_SCALE_BRIGHTNESS(scale,datum) ((((UInt32)(datum))*((UInt32)scale)) >> 6)
# 151 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDTypes.h" 3
#define EV_TICK_TIME 16
#define EV_TICKS_PER_SEC (1000/EV_TICK_TIME)
#define EV_RB (0x01)
#define EV_LB (0x04)
#define EV_MOUSEBUTTONMASK (EV_LB | EV_RB)
#define EV_MINPRESSURE 0
#define EV_MAXPRESSURE 255
#define EV_CURSOR_WIDTH 16
#define EV_CURSOR_HEIGHT 16
#define kAppleOnboardGUID 0x0610000000000000ULL
# 50 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 2 3
#define EVENT_H
#define _NXSIZE_ 1
typedef float NXCoord;
typedef struct _NXPoint {
NXCoord x, y;
} NXPoint;
typedef struct _NXSize {
NXCoord width, height;
} NXSize;
#define _NXSize_ NXSize
#define NX_NULLEVENT 0
#define NX_LMOUSEDOWN 1
#define NX_LMOUSEUP 2
#define NX_RMOUSEDOWN 3
#define NX_RMOUSEUP 4
#define NX_MOUSEMOVED 5
#define NX_LMOUSEDRAGGED 6
#define NX_RMOUSEDRAGGED 7
#define NX_MOUSEENTERED 8
#define NX_MOUSEEXITED 9
#define NX_OMOUSEDOWN 25
#define NX_OMOUSEUP 26
#define NX_OMOUSEDRAGGED 27
#define NX_KEYDOWN 10
#define NX_KEYUP 11
#define NX_FLAGSCHANGED 12
#define NX_KITDEFINED 13
#define NX_SYSDEFINED 14
#define NX_APPDEFINED 15
#define NX_SCROLLWHEELMOVED 22
#define NX_ZOOM 28
#define NX_TABLETPOINTER 23
#define NX_TABLETPROXIMITY 24
#define NX_FIRSTEVENT 0
#define NX_LASTEVENT 28
#define NX_NUMPROCS (NX_LASTEVENT-NX_FIRSTEVENT+1)
#define NX_NULLEVENTMASK (1 << NX_NULLEVENT)
#define NX_LMOUSEDOWNMASK (1 << NX_LMOUSEDOWN)
#define NX_LMOUSEUPMASK (1 << NX_LMOUSEUP)
#define NX_RMOUSEDOWNMASK (1 << NX_RMOUSEDOWN)
#define NX_RMOUSEUPMASK (1 << NX_RMOUSEUP)
#define NX_OMOUSEDOWNMASK (1 << NX_OMOUSEDOWN)
#define NX_OMOUSEUPMASK (1 << NX_OMOUSEUP)
#define NX_MOUSEMOVEDMASK (1 << NX_MOUSEMOVED)
#define NX_LMOUSEDRAGGEDMASK (1 << NX_LMOUSEDRAGGED)
#define NX_RMOUSEDRAGGEDMASK (1 << NX_RMOUSEDRAGGED)
#define NX_OMOUSEDRAGGEDMASK (1 << NX_OMOUSEDRAGGED)
#define NX_MOUSEENTEREDMASK (1 << NX_MOUSEENTERED)
#define NX_MOUSEEXITEDMASK (1 << NX_MOUSEEXITED)
#define NX_KEYDOWNMASK (1 << NX_KEYDOWN)
#define NX_KEYUPMASK (1 << NX_KEYUP)
#define NX_FLAGSCHANGEDMASK (1 << NX_FLAGSCHANGED)
#define NX_KITDEFINEDMASK (1 << NX_KITDEFINED)
#define NX_SYSDEFINEDMASK (1 << NX_SYSDEFINED)
#define NX_APPDEFINEDMASK (1 << NX_APPDEFINED)
#define NX_SCROLLWHEELMOVEDMASK (1 << NX_SCROLLWHEELMOVED)
#define NX_ZOOMMASK (1 << NX_ZOOM)
#define NX_TABLETPOINTERMASK (1 << NX_TABLETPOINTER)
#define NX_TABLETPROXIMITYMASK (1 << NX_TABLETPROXIMITY)
#define EventCodeMask(type) (1 << (type))
#define NX_ALLEVENTS -1
#define NX_SUBTYPE_DEFAULT 0
#define NX_SUBTYPE_TABLET_POINT 1
#define NX_SUBTYPE_TABLET_PROXIMITY 2
#define NX_SUBTYPE_POWER_KEY 1
#define NX_SUBTYPE_AUX_MOUSE_BUTTONS 7
# 184 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define NX_SUBTYPE_AUX_CONTROL_BUTTONS 8
#define NX_SUBTYPE_EJECT_KEY 10
#define NX_SUBTYPE_SLEEP_EVENT 11
#define NX_SUBTYPE_RESTART_EVENT 12
#define NX_SUBTYPE_SHUTDOWN_EVENT 13
#define NX_SUBTYPE_STICKYKEYS_ON 100
#define NX_SUBTYPE_STICKYKEYS_OFF 101
#define NX_SUBTYPE_STICKYKEYS_SHIFT 102
#define NX_SUBTYPE_STICKYKEYS_CONTROL 103
#define NX_SUBTYPE_STICKYKEYS_ALTERNATE 104
#define NX_SUBTYPE_STICKYKEYS_COMMAND 105
#define NX_SUBTYPE_STICKYKEYS_RELEASE 106
#define NX_SUBTYPE_STICKYKEYS_TOGGLEMOUSEDRIVING 107
#define NX_SUBTYPE_STICKYKEYS_SHIFT_DOWN 110
#define NX_SUBTYPE_STICKYKEYS_CONTROL_DOWN 111
#define NX_SUBTYPE_STICKYKEYS_ALTERNATE_DOWN 112
#define NX_SUBTYPE_STICKYKEYS_COMMAND_DOWN 113
#define NX_SUBTYPE_STICKYKEYS_FN_DOWN 114
#define NX_SUBTYPE_STICKYKEYS_SHIFT_LOCK 120
#define NX_SUBTYPE_STICKYKEYS_CONTROL_LOCK 121
#define NX_SUBTYPE_STICKYKEYS_ALTERNATE_LOCK 122
#define NX_SUBTYPE_STICKYKEYS_COMMAND_LOCK 123
#define NX_SUBTYPE_STICKYKEYS_FN_LOCK 124
#define NX_SUBTYPE_STICKYKEYS_SHIFT_UP 130
#define NX_SUBTYPE_STICKYKEYS_CONTROL_UP 131
#define NX_SUBTYPE_STICKYKEYS_ALTERNATE_UP 132
#define NX_SUBTYPE_STICKYKEYS_COMMAND_UP 133
#define NX_SUBTYPE_STICKYKEYS_FN_UP 134
#define NX_SUBTYPE_SLOWKEYS_START 200
#define NX_SUBTYPE_SLOWKEYS_ABORT 201
#define NX_SUBTYPE_SLOWKEYS_END 202
#define NX_SUBTYPE_HIDPARAMETER_MODIFIED 210
#define NX_ALPHASHIFTMASK 0x00010000
#define NX_SHIFTMASK 0x00020000
#define NX_CONTROLMASK 0x00040000
#define NX_ALTERNATEMASK 0x00080000
#define NX_COMMANDMASK 0x00100000
#define NX_NUMERICPADMASK 0x00200000
#define NX_HELPMASK 0x00400000
#define NX_SECONDARYFNMASK 0x00800000
#define NX_DEVICELCTLKEYMASK 0x00000001
#define NX_DEVICELSHIFTKEYMASK 0x00000002
#define NX_DEVICERSHIFTKEYMASK 0x00000004
#define NX_DEVICELCMDKEYMASK 0x00000008
#define NX_DEVICERCMDKEYMASK 0x00000010
#define NX_DEVICELALTKEYMASK 0x00000020
#define NX_DEVICERALTKEYMASK 0x00000040
#define NX_DEVICERCTLKEYMASK 0x00002000
#define NX_STYLUSPROXIMITYMASK 0x00000080
#define NX_NONCOALSESCEDMASK 0x00000100
# 277 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define NX_ASCIISET 0
#define NX_SYMBOLSET 1
#define NX_DINGBATSSET 2
# 297 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define NX_TABLET_BUTTON_PENTIPMASK 0x0001
#define NX_TABLET_BUTTON_PENLOWERSIDEMASK 0x0002
#define NX_TABLET_BUTTON_PENUPPERSIDEMASK 0x0004
# 308 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define NX_TABLET_CAPABILITY_DEVICEIDMASK 0x0001
#define NX_TABLET_CAPABILITY_ABSXMASK 0x0002
#define NX_TABLET_CAPABILITY_ABSYMASK 0x0004
#define NX_TABLET_CAPABILITY_VENDOR1MASK 0x0008
#define NX_TABLET_CAPABILITY_VENDOR2MASK 0x0010
#define NX_TABLET_CAPABILITY_VENDOR3MASK 0x0020
#define NX_TABLET_CAPABILITY_BUTTONSMASK 0x0040
#define NX_TABLET_CAPABILITY_TILTXMASK 0x0080
#define NX_TABLET_CAPABILITY_TILTYMASK 0x0100
#define NX_TABLET_CAPABILITY_ABSZMASK 0x0200
#define NX_TABLET_CAPABILITY_PRESSUREMASK 0x0400
#define NX_TABLET_CAPABILITY_TANGENTIALPRESSUREMASK 0x0800
#define NX_TABLET_CAPABILITY_ORIENTINFOMASK 0x1000
#define NX_TABLET_CAPABILITY_ROTATIONMASK 0x2000
#define NX_TABLET_POINTER_UNKNOWN 0
#define NX_TABLET_POINTER_PEN 1
#define NX_TABLET_POINTER_CURSOR 2
#define NX_TABLET_POINTER_ERASER 3
typedef struct _NXTabletPointData {
SInt32 x;
SInt32 y;
SInt32 z;
UInt16 buttons;
UInt16 pressure;
struct {
SInt16 x;
SInt16 y;
} tilt;
UInt16 rotation;
SInt16 tangentialPressure;
UInt16 deviceID;
SInt16 vendor1;
SInt16 vendor2;
SInt16 vendor3;
} NXTabletPointData, *NXTabletPointDataPtr;
typedef struct _NXTabletProximityData {
UInt16 vendorID;
UInt16 tabletID;
UInt16 pointerID;
UInt16 deviceID;
UInt16 systemTabletID;
UInt16 vendorPointerType;
UInt32 pointerSerialNumber;
UInt64 uniqueID;
UInt32 capabilityMask;
UInt8 pointerType;
UInt8 enterProximity;
SInt16 reserved1;
} NXTabletProximityData, *NXTabletProximityDataPtr;
typedef union {
struct {
UInt8 subx;
UInt8 suby;
SInt16 eventNum;
SInt32 click;
UInt8 pressure;
UInt8 buttonNumber;
UInt8 subType;
UInt8 reserved2;
SInt32 reserved3;
union {
NXTabletPointData point;
NXTabletProximityData proximity;
} tablet;
} mouse;
struct {
SInt32 dx;
SInt32 dy;
UInt8 subx;
UInt8 suby;
UInt8 subType;
UInt8 reserved1;
SInt32 reserved2;
union {
NXTabletPointData point;
NXTabletProximityData proximity;
} tablet;
} mouseMove;
struct {
UInt16 origCharSet;
SInt16 repeat;
UInt16 charSet;
UInt16 charCode;
UInt16 keyCode;
UInt16 origCharCode;
SInt32 reserved1;
UInt32 keyboardType;
SInt32 reserved2;
SInt32 reserved3;
SInt32 reserved4;
SInt32 reserved5[4];
} key;
struct {
SInt16 reserved;
SInt16 eventNum;
SInt32 trackingNum;
SInt32 userData;
SInt32 reserved1;
SInt32 reserved2;
SInt32 reserved3;
SInt32 reserved4;
SInt32 reserved5;
SInt32 reserved6[4];
} tracking;
struct {
SInt16 deltaAxis1;
SInt16 deltaAxis2;
SInt16 deltaAxis3;
SInt16 reserved1;
SInt32 fixedDeltaAxis1;
SInt32 fixedDeltaAxis2;
SInt32 fixedDeltaAxis3;
SInt32 pointDeltaAxis1;
SInt32 pointDeltaAxis2;
SInt32 pointDeltaAxis3;
SInt32 reserved8[4];
} scrollWheel, zoom;
struct {
SInt16 reserved;
SInt16 subType;
union {
float F[11];
SInt32 L[11];
SInt16 S[22];
char C[44];
} misc;
} compound;
struct {
SInt32 x;
SInt32 y;
SInt32 z;
UInt16 buttons;
UInt16 pressure;
struct {
SInt16 x;
SInt16 y;
} tilt;
UInt16 rotation;
SInt16 tangentialPressure;
UInt16 deviceID;
SInt16 vendor1;
SInt16 vendor2;
SInt16 vendor3;
SInt32 reserved[4];
} tablet;
struct {
UInt16 vendorID;
UInt16 tabletID;
UInt16 pointerID;
UInt16 deviceID;
UInt16 systemTabletID;
UInt16 vendorPointerType;
UInt32 pointerSerialNumber;
UInt64 uniqueID;
UInt32 capabilityMask;
UInt8 pointerType;
UInt8 enterProximity;
SInt16 reserved1;
SInt32 reserved2[4];
} proximity;
} NXEventData;
#define kNXEventDataVersion 2
typedef struct _NXEvent {
SInt32 type;
struct {
SInt32 x, y;
} location;
UInt64 time;
SInt32 flags;
UInt32 window;
UInt64 service_id;
SInt32 ext_pid;
NXEventData data;
} NXEvent, *NXEventPtr;
# 526 "/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h" 3
#define kNXEventVersion 2
#define NX_NOWINDOW -1
#define NX_BYTYPE 0
#define NX_BROADCAST 1
#define NX_TOPWINDOW 2
#define NX_FIRSTWINDOW 3
#define NX_MOUSEWINDOW 4
#define NX_NEXTWINDOW 5
#define NX_LASTLEFT 6
#define NX_LASTRIGHT 7
#define NX_LASTKEY 8
#define NX_EXPLICIT 9
#define NX_TRANSMIT 10
#define NX_BYPSCONTEXT 11
#define NX_UNDIMMASK (NX_KEYDOWNMASK | NX_KEYUPMASK | NX_LMOUSEDOWNMASK | NX_LMOUSEUPMASK | NX_RMOUSEDOWNMASK | NX_RMOUSEUPMASK | NX_MOUSEMOVEDMASK | NX_FLAGSCHANGEDMASK | NX_MOUSEENTEREDMASK | NX_MOUSEEXITEDMASK | NX_LMOUSEDRAGGEDMASK | NX_RMOUSEDRAGGEDMASK | NX_SCROLLWHEELMOVEDMASK | NX_TABLETPOINTERMASK | NX_TABLETPROXIMITYMASK | NX_NULLEVENTMASK)
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 2 3
typedef struct __CGEvent *CGEventRef;
enum _CGMouseButton
{
kCGMouseButtonLeft = 0,
kCGMouseButtonRight = 1,
kCGMouseButtonCenter = 2
};
typedef uint32_t CGMouseButton;
enum {
kCGScrollEventUnitPixel = 0,
kCGScrollEventUnitLine = 1,
};
typedef uint32_t CGScrollEventUnit;
enum _CGEventFlags
{
kCGEventFlagMaskAlphaShift = 0x00010000,
kCGEventFlagMaskShift = 0x00020000,
kCGEventFlagMaskControl = 0x00040000,
kCGEventFlagMaskAlternate = 0x00080000,
kCGEventFlagMaskCommand = 0x00100000,
kCGEventFlagMaskHelp = 0x00400000,
kCGEventFlagMaskSecondaryFn = 0x00800000,
kCGEventFlagMaskNumericPad = 0x00200000,
kCGEventFlagMaskNonCoalesced = 0x00000100
};
typedef uint64_t CGEventFlags;
# 85 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
enum _CGEventType {
kCGEventNull = 0,
kCGEventLeftMouseDown = 1,
kCGEventLeftMouseUp = 2,
kCGEventRightMouseDown = 3,
kCGEventRightMouseUp = 4,
kCGEventMouseMoved = 5,
kCGEventLeftMouseDragged = 6,
kCGEventRightMouseDragged = 7,
kCGEventKeyDown = 10,
kCGEventKeyUp = 11,
kCGEventFlagsChanged = 12,
kCGEventScrollWheel = 22,
kCGEventTabletPointer = 23,
kCGEventTabletProximity = 24,
kCGEventOtherMouseDown = 25,
kCGEventOtherMouseUp = 26,
kCGEventOtherMouseDragged = 27,
kCGEventTapDisabledByTimeout = 0xFFFFFFFE,
kCGEventTapDisabledByUserInput = 0xFFFFFFFF
};
typedef uint32_t CGEventType;
typedef uint64_t CGEventTimestamp;
enum _CGEventField {
kCGMouseEventNumber = 0,
kCGMouseEventClickState = 1,
kCGMouseEventPressure = 2,
kCGMouseEventButtonNumber = 3,
kCGMouseEventDeltaX = 4,
kCGMouseEventDeltaY = 5,
kCGMouseEventInstantMouser = 6,
kCGMouseEventSubtype = 7,
# 161 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
kCGKeyboardEventAutorepeat = 8,
kCGKeyboardEventKeycode = 9,
kCGKeyboardEventKeyboardType = 10,
kCGScrollWheelEventDeltaAxis1 = 11,
kCGScrollWheelEventDeltaAxis2 = 12,
kCGScrollWheelEventDeltaAxis3 = 13,
kCGScrollWheelEventFixedPtDeltaAxis1 = 93,
kCGScrollWheelEventFixedPtDeltaAxis2 = 94,
kCGScrollWheelEventFixedPtDeltaAxis3 = 95,
kCGScrollWheelEventPointDeltaAxis1 = 96,
kCGScrollWheelEventPointDeltaAxis2 = 97,
kCGScrollWheelEventPointDeltaAxis3 = 98,
kCGScrollWheelEventInstantMouser = 14,
# 197 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
kCGTabletEventPointX = 15,
kCGTabletEventPointY = 16,
kCGTabletEventPointZ = 17,
kCGTabletEventPointButtons = 18,
kCGTabletEventPointPressure = 19,
kCGTabletEventTiltX = 20,
kCGTabletEventTiltY = 21,
kCGTabletEventRotation = 22,
kCGTabletEventTangentialPressure = 23,
kCGTabletEventDeviceID = 24,
kCGTabletEventVendor1 = 25,
kCGTabletEventVendor2 = 26,
kCGTabletEventVendor3 = 27,
# 232 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
kCGTabletProximityEventVendorID = 28,
kCGTabletProximityEventTabletID = 29,
kCGTabletProximityEventPointerID = 30,
kCGTabletProximityEventDeviceID = 31,
kCGTabletProximityEventSystemTabletID = 32,
kCGTabletProximityEventVendorPointerType = 33,
kCGTabletProximityEventVendorPointerSerialNumber = 34,
kCGTabletProximityEventVendorUniqueID = 35,
kCGTabletProximityEventCapabilityMask = 36,
kCGTabletProximityEventPointerType = 37,
kCGTabletProximityEventEnterProximity = 38,
kCGEventTargetProcessSerialNumber = 39,
kCGEventTargetUnixProcessID = 40,
kCGEventSourceUnixProcessID = 41,
kCGEventSourceUserData = 42,
kCGEventSourceUserID = 43,
kCGEventSourceGroupID = 44,
kCGEventSourceStateID = 45,
kCGScrollWheelEventIsContinuous = 88
};
typedef uint32_t CGEventField;
enum _CGEventMouseSubtype {
kCGEventMouseSubtypeDefault = 0,
kCGEventMouseSubtypeTabletPoint = 1,
kCGEventMouseSubtypeTabletProximity = 2
};
typedef uint32_t CGEventMouseSubtype;
# 338 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
enum _CGEventTapLocation {
kCGHIDEventTap = 0,
kCGSessionEventTap,
kCGAnnotatedSessionEventTap
};
typedef uint32_t CGEventTapLocation;
enum _CGEventTapPlacement {
kCGHeadInsertEventTap = 0,
kCGTailAppendEventTap
};
typedef uint32_t CGEventTapPlacement;
# 365 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
enum _CGEventTapOptions {
kCGEventTapOptionDefault = 0x00000000,
kCGEventTapOptionListenOnly = 0x00000001
};
typedef uint32_t CGEventTapOptions;
typedef uint64_t CGEventMask;
#define CGEventMaskBit(eventType) ((CGEventMask)1 << (eventType))
#define kCGEventMaskForAllEvents (~(CGEventMask)0)
typedef struct __CGEventTapProxy * CGEventTapProxy;
# 391 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
typedef CGEventRef (*CGEventTapCallBack)(CGEventTapProxy proxy, CGEventType type, CGEventRef event, void *refcon);
#define kCGNotifyEventTapAdded "com.apple.coregraphics.eventTapAdded"
#define kCGNotifyEventTapRemoved "com.apple.coregraphics.eventTapRemoved"
typedef struct CGEventTapInformation
{
uint32_t eventTapID;
CGEventTapLocation tapPoint;
CGEventTapOptions options;
CGEventMask eventsOfInterest;
pid_t tappingProcess;
pid_t processBeingTapped;
_Bool enabled;
float minUsecLatency;
float avgUsecLatency;
float maxUsecLatency;
} CGEventTapInformation;
# 426 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 3
typedef struct __CGEventSource * CGEventSourceRef;
typedef uint32_t CGEventSourceStateID;
enum {
kCGEventSourceStatePrivate = -1,
kCGEventSourceStateCombinedSessionState = 0,
kCGEventSourceStateHIDSystemState = 1
};
typedef uint32_t CGEventSourceKeyboardType;
#define kCGAnyInputEventType ((CGEventType)(~0))
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 2 3
extern CFTypeID CGEventSourceGetTypeID(void) ;
# 75 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern CGEventSourceRef CGEventSourceCreate(CGEventSourceStateID sourceState) ;
extern CGEventSourceKeyboardType CGEventSourceGetKeyboardType(CGEventSourceRef source) ;
extern void CGEventSourceSetKeyboardType(CGEventSourceRef source, CGEventSourceKeyboardType keyboardType) ;
# 92 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern void CGEventSourceSetPixelsPerLine( CGEventSourceRef source, double pixelsPerLine );
extern double CGEventSourceGetPixelsPerLine( CGEventSourceRef source );
# 112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern CGEventSourceStateID CGEventSourceGetSourceStateID(CGEventSourceRef source) ;
extern _Bool CGEventSourceButtonState( CGEventSourceStateID sourceState, CGMouseButton button ) ;
extern _Bool CGEventSourceKeyState( CGEventSourceStateID sourceState, CGKeyCode key ) ;
extern CGEventFlags CGEventSourceFlagsState( CGEventSourceStateID sourceState ) ;
# 136 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern CFTimeInterval CGEventSourceSecondsSinceLastEventType( CGEventSourceStateID source, CGEventType eventType ) ;
# 163 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern uint32_t CGEventSourceCounterForEventType(CGEventSourceStateID source, CGEventType evType) ;
# 172 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern void CGEventSourceSetUserData(CGEventSourceRef source, int64_t userData) ;
extern int64_t CGEventSourceGetUserData(CGEventSourceRef source) ;
# 215 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern void CGEventSourceSetLocalEventsFilterDuringSuppressionState(CGEventSourceRef source,
CGEventFilterMask filter,
CGEventSuppressionState state);
extern CGEventFilterMask CGEventSourceGetLocalEventsFilterDuringSuppressionState(CGEventSourceRef source,
CGEventSuppressionState state);
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 3
extern void CGEventSourceSetLocalEventsSuppressionInterval(CGEventSourceRef source, CFTimeInterval seconds);
extern CFTimeInterval CGEventSourceGetLocalEventsSuppressionInterval(CGEventSourceRef source);
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 1 3
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 2 3
extern CFTypeID CGEventGetTypeID(void) ;
extern CGEventRef CGEventCreate(CGEventSourceRef source) ;
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGEventRef CGEventCreateFromData(CFAllocatorRef allocator, CFDataRef eventData) ;
extern CFDataRef CGEventCreateData(CFAllocatorRef allocator, CGEventRef event) ;
# 63 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGEventRef CGEventCreateMouseEvent( CGEventSourceRef source,
CGEventType mouseType,
CGPoint mouseCursorPosition,
CGMouseButton mouseButton) ;
# 85 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGEventRef CGEventCreateKeyboardEvent( CGEventSourceRef source,
CGKeyCode virtualKey,
_Bool keyDown ) ;
# 106 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGEventRef CGEventCreateScrollWheelEvent (CGEventSourceRef source,
CGScrollEventUnit units,
CGWheelCount wheelCount,
int32_t wheel1,
... ) ;
extern CGEventRef CGEventCreateCopy(CGEventRef event) ;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGEventSourceRef CGEventCreateSourceFromEvent(CGEventRef event) ;
extern void CGEventSetSource(CGEventRef event, CGEventSourceRef source) ;
extern CGEventType CGEventGetType(CGEventRef event) ;
extern void CGEventSetType(CGEventRef event, CGEventType type) ;
extern CGEventTimestamp CGEventGetTimestamp(CGEventRef event) ;
extern void CGEventSetTimestamp(CGEventRef event, CGEventTimestamp timestamp) ;
extern CGPoint CGEventGetLocation(CGEventRef event) ;
extern CGPoint CGEventGetUnflippedLocation(CGEventRef event) ;
extern void CGEventSetLocation(CGEventRef event, CGPoint location) ;
extern CGEventFlags CGEventGetFlags(CGEventRef event) ;
extern void CGEventSetFlags(CGEventRef event, CGEventFlags flags) ;
# 159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern void CGEventKeyboardGetUnicodeString(CGEventRef event,
UniCharCount maxStringLength,
UniCharCount * actualStringLength,
UniChar unicodeString[]) ;
extern void CGEventKeyboardSetUnicodeString(CGEventRef event,
UniCharCount stringLength,
const UniChar unicodeString[]) ;
# 189 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern int64_t CGEventGetIntegerValueField(CGEventRef event, CGEventField field) ;
extern double CGEventGetDoubleValueField(CGEventRef event, CGEventField field) ;
# 205 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern void CGEventSetIntegerValueField(CGEventRef event, CGEventField field, int64_t value) ;
extern void CGEventSetDoubleValueField(CGEventRef event, CGEventField field, double value) ;
# 259 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CFMachPortRef CGEventTapCreate(CGEventTapLocation tap,
CGEventTapPlacement place,
CGEventTapOptions options,
CGEventMask eventsOfInterest,
CGEventTapCallBack callback,
void * refcon ) ;
# 273 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CFMachPortRef CGEventTapCreateForPSN(void *processSerialNumber,
CGEventTapPlacement place,
CGEventTapOptions options,
CGEventMask eventsOfInterest,
CGEventTapCallBack callback,
void * refcon ) ;
# 290 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern void CGEventTapEnable(CFMachPortRef myTap, _Bool enable) ;
extern _Bool CGEventTapIsEnabled(CFMachPortRef myTap) ;
# 308 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern void CGEventTapPostEvent( CGEventTapProxy proxy,
CGEventRef event ) ;
# 325 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern void CGEventPost( CGEventTapLocation tap,
CGEventRef event ) ;
extern void CGEventPostToPSN( void *processSerialNumber,
CGEventRef event ) ;
# 346 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEvent.h" 3
extern CGError CGGetEventTapList( CGTableCount maxNumberOfTaps,
CGEventTapInformation tapList[],
CGTableCount *eventTapCount ) ;
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventSource.h" 1 3
# 27 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h" 1 3
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 1 3
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFunction.h" 1 3
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 31 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGLContext.h" 1 3
#define CGGLCONTEXT_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGLContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGLContext.h" 2 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGLContext.h" 3
extern CGContextRef CGGLContextCreate(void *glContext, CGSize size, CGColorSpaceRef colorspace) ;
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGLContext.h" 3
extern void CGGLContextUpdateViewportSize(CGContextRef c, CGSize size) ;
# 32 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGradient.h" 1 3
# 33 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 1 3
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGLayer.h" 1 3
#define CGLAYER_H_
typedef struct CGLayer *CGLayerRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGLayer.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGLayer.h" 2 3
extern CGLayerRef CGLayerCreateWithContext(CGContextRef context, CGSize size, CFDictionaryRef auxiliaryInfo) ;
extern CGLayerRef CGLayerRetain(CGLayerRef layer) ;
extern void CGLayerRelease(CGLayerRef layer) ;
extern CGSize CGLayerGetSize(CGLayerRef layer) ;
extern CGContextRef CGLayerGetContext(CGLayerRef layer) ;
extern void CGContextDrawLayerInRect(CGContextRef context, CGRect rect, CGLayerRef layer) ;
extern void CGContextDrawLayerAtPoint(CGContextRef context, CGPoint point, CGLayerRef layer) ;
extern CFTypeID CGLayerGetTypeID(void) ;
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h" 1 3
# 36 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h" 1 3
#define CGPDFCONTENTSTREAM_H_
typedef struct CGPDFContentStream *CGPDFContentStreamRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h" 2 3
extern CGPDFContentStreamRef CGPDFContentStreamCreateWithPage(CGPDFPageRef page) ;
extern CGPDFContentStreamRef CGPDFContentStreamCreateWithStream(CGPDFStreamRef stream, CGPDFDictionaryRef streamResources, CGPDFContentStreamRef parent) ;
extern CGPDFContentStreamRef CGPDFContentStreamRetain(CGPDFContentStreamRef cs) ;
extern void CGPDFContentStreamRelease(CGPDFContentStreamRef cs) ;
extern CFArrayRef CGPDFContentStreamGetStreams(CGPDFContentStreamRef cs) ;
extern CGPDFObjectRef CGPDFContentStreamGetResource(CGPDFContentStreamRef cs, const char *category, const char *name) ;
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 1 3
#define CGPDFCONTEXT_H_
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 2 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern CGContextRef CGPDFContextCreate(CGDataConsumerRef consumer, const CGRect *mediaBox, CFDictionaryRef auxiliaryInfo);
extern CGContextRef CGPDFContextCreateWithURL(CFURLRef url, const CGRect *mediaBox, CFDictionaryRef auxiliaryInfo);
extern void CGPDFContextClose(CGContextRef context) ;
extern void CGPDFContextBeginPage(CGContextRef context, CFDictionaryRef pageInfo) ;
extern void CGPDFContextEndPage(CGContextRef context) ;
extern void CGPDFContextSetURLForRect(CGContextRef context, CFURLRef url, CGRect rect) ;
extern void CGPDFContextAddDestinationAtPoint(CGContextRef context, CFStringRef name, CGPoint point) ;
extern void CGPDFContextSetDestinationForRect(CGContextRef context, CFStringRef name, CGRect rect) ;
extern const CFStringRef kCGPDFContextMediaBox ;
extern const CFStringRef kCGPDFContextCropBox ;
extern const CFStringRef kCGPDFContextBleedBox ;
extern const CFStringRef kCGPDFContextTrimBox ;
extern const CFStringRef kCGPDFContextArtBox ;
extern const CFStringRef kCGPDFContextTitle ;
extern const CFStringRef kCGPDFContextAuthor ;
extern const CFStringRef kCGPDFContextSubject ;
# 121 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextKeywords ;
extern const CFStringRef kCGPDFContextCreator ;
# 139 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextOwnerPassword ;
# 150 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextUserPassword ;
# 159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextEncryptionKeyLength ;
extern const CFStringRef kCGPDFContextAllowsPrinting ;
extern const CFStringRef kCGPDFContextAllowsCopying ;
# 180 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextOutputIntent ;
extern const CFStringRef kCGPDFXOutputIntentSubtype ;
extern const CFStringRef kCGPDFXOutputConditionIdentifier ;
extern const CFStringRef kCGPDFXOutputCondition ;
extern const CFStringRef kCGPDFXRegistryName ;
# 220 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFXInfo ;
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFXDestinationOutputProfile ;
# 241 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h" 3
extern const CFStringRef kCGPDFContextOutputIntents ;
# 38 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h" 1 3
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h" 1 3
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h" 1 3
# 41 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h" 1 3
#define CGPDFOPERATORTABLE_H_
typedef struct CGPDFOperatorTable *CGPDFOperatorTableRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h" 1 3
#define CGPDFSCANNER_H_
typedef struct CGPDFScanner *CGPDFScannerRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h" 2 3
extern CGPDFScannerRef CGPDFScannerCreate(CGPDFContentStreamRef cs, CGPDFOperatorTableRef table, void *info) ;
extern CGPDFScannerRef CGPDFScannerRetain(CGPDFScannerRef scanner) ;
extern void CGPDFScannerRelease(CGPDFScannerRef scanner) ;
extern _Bool CGPDFScannerScan(CGPDFScannerRef scanner) ;
extern CGPDFContentStreamRef CGPDFScannerGetContentStream(CGPDFScannerRef scanner) ;
extern _Bool CGPDFScannerPopObject(CGPDFScannerRef scanner, CGPDFObjectRef *value) ;
extern _Bool CGPDFScannerPopBoolean(CGPDFScannerRef scanner, CGPDFBoolean *value) ;
extern _Bool CGPDFScannerPopInteger(CGPDFScannerRef scanner, CGPDFInteger *value) ;
extern _Bool CGPDFScannerPopNumber(CGPDFScannerRef scanner, CGPDFReal *value) ;
extern _Bool CGPDFScannerPopName(CGPDFScannerRef scanner, const char **value) ;
extern _Bool CGPDFScannerPopString(CGPDFScannerRef scanner, CGPDFStringRef *value) ;
extern _Bool CGPDFScannerPopArray(CGPDFScannerRef scanner, CGPDFArrayRef *value) ;
extern _Bool CGPDFScannerPopDictionary(CGPDFScannerRef scanner, CGPDFDictionaryRef *value) ;
extern _Bool CGPDFScannerPopStream(CGPDFScannerRef scanner, CGPDFStreamRef *value) ;
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h" 2 3
typedef void (*CGPDFOperatorCallback)(CGPDFScannerRef scanner, void *info);
extern CGPDFOperatorTableRef CGPDFOperatorTableCreate(void) ;
extern CGPDFOperatorTableRef CGPDFOperatorTableRetain(CGPDFOperatorTableRef table) ;
extern void CGPDFOperatorTableRelease(CGPDFOperatorTableRef table) ;
extern void CGPDFOperatorTableSetCallback(CGPDFOperatorTableRef table, const char *name, CGPDFOperatorCallback callback) ;
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h" 1 3
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h" 1 3
# 44 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h" 1 3
# 45 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h" 1 3
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPSConverter.h" 1 3
#define CGPSCONVERTER_H_
typedef struct CGPSConverter *CGPSConverterRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPSConverter.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPSConverter.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPSConverter.h" 2 3
# 44 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPSConverter.h" 3
typedef void (*CGPSConverterBeginDocumentCallback)(void *info);
typedef void (*CGPSConverterEndDocumentCallback)(void *info, _Bool success);
typedef void (*CGPSConverterBeginPageCallback)(void *info, size_t pageNumber,
CFDictionaryRef pageInfo);
typedef void (*CGPSConverterEndPageCallback)(void *info, size_t pageNumber,
CFDictionaryRef pageInfo);
typedef void (*CGPSConverterProgressCallback)(void *info);
typedef void (*CGPSConverterMessageCallback)(void *info, CFStringRef message);
typedef void (*CGPSConverterReleaseInfoCallback)(void *info);
struct CGPSConverterCallbacks {
unsigned int version;
CGPSConverterBeginDocumentCallback beginDocument;
CGPSConverterEndDocumentCallback endDocument;
CGPSConverterBeginPageCallback beginPage;
CGPSConverterEndPageCallback endPage;
CGPSConverterProgressCallback noteProgress;
CGPSConverterMessageCallback noteMessage;
CGPSConverterReleaseInfoCallback releaseInfo;
};
typedef struct CGPSConverterCallbacks CGPSConverterCallbacks;
extern CGPSConverterRef CGPSConverterCreate(void *info,
const CGPSConverterCallbacks *callbacks, CFDictionaryRef options)
;
extern _Bool CGPSConverterConvert(CGPSConverterRef converter,
CGDataProviderRef provider, CGDataConsumerRef consumer,
CFDictionaryRef options) ;
extern _Bool CGPSConverterAbort(CGPSConverterRef converter)
;
extern _Bool CGPSConverterIsConverting(CGPSConverterRef converter)
;
extern CFTypeID CGPSConverterGetTypeID(void)
;
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 1 3
# 48 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPattern.h" 1 3
# 49 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h" 1 3
# 50 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGSession.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGSession.h" 3
#define __CGSESSION_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGSession.h" 2 3
extern CFDictionaryRef CGSessionCopyCurrentDictionary(void) ;
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGSession.h" 3
#define kCGSessionUserIDKey CFSTR("kCGSSessionUserIDKey")
#define kCGSessionUserNameKey CFSTR("kCGSSessionUserNameKey")
#define kCGSessionConsoleSetKey CFSTR("kCGSSessionConsoleSetKey")
#define kCGSessionOnConsoleKey CFSTR("kCGSSessionOnConsoleKey")
#define kCGSessionLoginDoneKey CFSTR("kCGSessionLoginDoneKey")
#define kCGNotifyGUIConsoleSessionChanged "com.apple.coregraphics.GUIConsoleSessionChanged"
#define kCGNotifyGUISessionUserChanged "com.apple.coregraphics.GUISessionUserChanged"
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGShading.h" 1 3
# 52 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindowLevel.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindowLevel.h" 3
#define __CGWINDOWLEVEL_H__ 1
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindowLevel.h" 2 3
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindowLevel.h" 3
typedef int32_t CGWindowLevel;
typedef int32_t CGWindowLevelKey;
enum _CGCommonWindowLevelKey {
kCGBaseWindowLevelKey = 0,
kCGMinimumWindowLevelKey,
kCGDesktopWindowLevelKey,
kCGBackstopMenuLevelKey,
kCGNormalWindowLevelKey,
kCGFloatingWindowLevelKey,
kCGTornOffMenuWindowLevelKey,
kCGDockWindowLevelKey,
kCGMainMenuWindowLevelKey,
kCGStatusWindowLevelKey,
kCGModalPanelWindowLevelKey,
kCGPopUpMenuWindowLevelKey,
kCGDraggingWindowLevelKey,
kCGScreenSaverWindowLevelKey,
kCGMaximumWindowLevelKey,
kCGOverlayWindowLevelKey,
kCGHelpWindowLevelKey,
kCGUtilityWindowLevelKey,
kCGDesktopIconWindowLevelKey,
kCGCursorWindowLevelKey,
kCGAssistiveTechHighWindowLevelKey,
kCGNumberOfWindowLevelKeys
};
extern CGWindowLevel CGWindowLevelForKey( CGWindowLevelKey key ) ;
#define kCGNumReservedWindowLevels (16)
#define kCGBaseWindowLevel CGWindowLevelForKey(kCGBaseWindowLevelKey)
#define kCGMinimumWindowLevel CGWindowLevelForKey(kCGMinimumWindowLevelKey)
#define kCGDesktopWindowLevel CGWindowLevelForKey(kCGDesktopWindowLevelKey)
#define kCGDesktopIconWindowLevel CGWindowLevelForKey(kCGDesktopIconWindowLevelKey)
#define kCGBackstopMenuLevel CGWindowLevelForKey(kCGBackstopMenuLevelKey)
#define kCGNormalWindowLevel CGWindowLevelForKey(kCGNormalWindowLevelKey)
#define kCGFloatingWindowLevel CGWindowLevelForKey(kCGFloatingWindowLevelKey)
#define kCGTornOffMenuWindowLevel CGWindowLevelForKey(kCGTornOffMenuWindowLevelKey)
#define kCGDockWindowLevel CGWindowLevelForKey(kCGDockWindowLevelKey)
#define kCGMainMenuWindowLevel CGWindowLevelForKey(kCGMainMenuWindowLevelKey)
#define kCGStatusWindowLevel CGWindowLevelForKey(kCGStatusWindowLevelKey)
#define kCGModalPanelWindowLevel CGWindowLevelForKey(kCGModalPanelWindowLevelKey)
#define kCGPopUpMenuWindowLevel CGWindowLevelForKey(kCGPopUpMenuWindowLevelKey)
#define kCGDraggingWindowLevel CGWindowLevelForKey(kCGDraggingWindowLevelKey)
#define kCGScreenSaverWindowLevel CGWindowLevelForKey(kCGScreenSaverWindowLevelKey)
#define kCGCursorWindowLevel CGWindowLevelForKey(kCGCursorWindowLevelKey)
#define kCGOverlayWindowLevel CGWindowLevelForKey(kCGOverlayWindowLevelKey)
#define kCGHelpWindowLevel CGWindowLevelForKey(kCGHelpWindowLevelKey)
#define kCGUtilityWindowLevel CGWindowLevelForKey(kCGUtilityWindowLevelKey)
#define kCGAssistiveTechHighWindowLevel CGWindowLevelForKey(kCGAssistiveTechHighWindowLevelKey)
#define kCGMaximumWindowLevel CGWindowLevelForKey(kCGMaximumWindowLevelKey)
# 53 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 1 3
#define CGWINDOW_H_
typedef uint32_t CGWindowID;
typedef uint32_t CGWindowListOption;
typedef uint32_t CGWindowImageOption;
typedef uint32_t CGWindowSharingType;
typedef uint32_t CGWindowBackingType;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGImage.h" 1 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 2 3
#define kCGWindowIDCFNumberType kCFNumberSInt32Type
#define kCGNullWindowID ((CGWindowID)0)
enum {
kCGWindowSharingNone = 0,
kCGWindowSharingReadOnly = 1,
kCGWindowSharingReadWrite = 2
};
#define kCGWindowSharingCFNumberType kCFNumberSInt32Type
enum {
kCGBackingStoreRetained = 0,
kCGBackingStoreNonretained = 1,
kCGBackingStoreBuffered = 2
};
#define kCGWindowBackingCFNumberType kCFNumberSInt32Type
extern const CFStringRef kCGWindowNumber ;
extern const CFStringRef kCGWindowStoreType ;
extern const CFStringRef kCGWindowLayer ;
extern const CFStringRef kCGWindowBounds ;
extern const CFStringRef kCGWindowSharingState ;
extern const CFStringRef kCGWindowAlpha ;
extern const CFStringRef kCGWindowOwnerPID ;
extern const CFStringRef kCGWindowMemoryUsage ;
extern const CFStringRef kCGWindowWorkspace ;
extern const CFStringRef kCGWindowOwnerName ;
extern const CFStringRef kCGWindowName ;
extern const CFStringRef kCGWindowIsOnscreen ;
extern const CFStringRef kCGWindowBackingLocationVideoMemory ;
enum
{
kCGWindowListOptionAll = 0,
kCGWindowListOptionOnScreenOnly = (1 << 0),
kCGWindowListOptionOnScreenAboveWindow = (1 << 1),
kCGWindowListOptionOnScreenBelowWindow = (1 << 2),
kCGWindowListOptionIncludingWindow = (1 << 3),
kCGWindowListExcludeDesktopElements = (1 << 4)
};
extern CFArrayRef CGWindowListCopyWindowInfo( CGWindowListOption option, CGWindowID relativeToWindow ) ;
extern CFArrayRef CGWindowListCreate( CGWindowListOption option, CGWindowID relativeToWindow ) ;
# 171 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 3
extern CFArrayRef CGWindowListCreateDescriptionFromArray(CFArrayRef windowArray) ;
# 223 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 3
enum {
kCGWindowImageDefault = 0,
kCGWindowImageBoundsIgnoreFraming = (1 << 0),
kCGWindowImageShouldBeOpaque = (1 << 1),
kCGWindowImageOnlyShadows = (1 << 2)
};
extern CGImageRef CGWindowListCreateImage( CGRect screenBounds,
CGWindowListOption windowOption, CGWindowID windowID,
CGWindowImageOption imageOption ) ;
# 269 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGWindow.h" 3
extern CGImageRef CGWindowListCreateImageFromArray( CGRect screenBounds,
CFArrayRef windowArray,
CGWindowImageOption imageOption ) ;
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 2 3
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 3
#define __COLORSYNC__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
#define __CMTYPES__
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h" 1 3 4
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 3
#define __CMBASE__
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 3
#define CSEXTERN __attribute__((visibility("default"))) extern
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 3
#define CSEXPORT __attribute__((visibility("default")))
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 2 3
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
typedef OSStatus CMError;
typedef struct OpaqueCMProfileRef* CMProfileRef;
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
typedef struct OpaqueCMWorldRef* CMWorldRef;
typedef UInt32 CMDisplayIDType;
typedef UInt32 CMChromaticAdaptation;
enum {
cmUseDefaultChromaticAdaptation = 0,
cmLinearChromaticAdaptation = 1,
cmVonKriesChromaticAdaptation = 2,
cmBradfordChromaticAdaptation = 3
};
typedef OSErr ( * CMFlattenProcPtr)(SInt32 command, long *size, void *data, void *refCon);
typedef CMFlattenProcPtr CMFlattenUPP;
# 87 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
static __inline__ __attribute__((always_inline)) CMFlattenUPP NewCMFlattenUPP(CMFlattenProcPtr userRoutine)
{ return (CMFlattenUPP)userRoutine; }
static __inline__ __attribute__((always_inline)) OSErr InvokeCMFlattenUPP(SInt32 command, long * size, void * data, void * refCon, CMFlattenUPP userUPP)
{ return (*((CMFlattenProcPtr)userUPP))(command, size, data, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMFlattenUPP(CMFlattenUPP userUPP)
{
#pragma unused (userUPP)
}
typedef Boolean ( * CMBitmapCallBackProcPtr)(SInt32 progress, void *refCon);
typedef CMBitmapCallBackProcPtr CMBitmapCallBackUPP;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
static __inline__ __attribute__((always_inline)) CMBitmapCallBackUPP NewCMBitmapCallBackUPP(CMBitmapCallBackProcPtr userRoutine)
{ return (CMBitmapCallBackUPP)userRoutine; }
static __inline__ __attribute__((always_inline)) Boolean InvokeCMBitmapCallBackUPP(SInt32 progress, void * refCon, CMBitmapCallBackUPP userUPP)
{ return (*((CMBitmapCallBackProcPtr)userUPP))(progress, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMBitmapCallBackUPP(CMBitmapCallBackUPP userUPP)
{
#pragma unused (userUPP)
}
typedef Boolean ( * CMConcatCallBackProcPtr)(SInt32 progress, void *refCon);
typedef CMConcatCallBackProcPtr CMConcatCallBackUPP;
# 163 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMTypes.h" 3
static __inline__ __attribute__((always_inline)) CMConcatCallBackUPP NewCMConcatCallBackUPP(CMConcatCallBackProcPtr userRoutine)
{ return (CMConcatCallBackUPP)userRoutine; }
static __inline__ __attribute__((always_inline))
Boolean InvokeCMConcatCallBackUPP(SInt32 progress, void * refCon, CMConcatCallBackUPP userUPP)
{ return (*((CMConcatCallBackProcPtr)userUPP))(progress, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMConcatCallBackUPP(CMConcatCallBackUPP userUPP)
{
#pragma unused (userUPP)
}
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
#define __CMAPPLICATION__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
#define __CMICCPROFILE__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 2 3
#pragma pack(push, 2)
enum {
cmICCProfileVersion4 = 0x04000000,
cmICCProfileVersion2 = 0x02000000,
cmICCProfileVersion21 = 0x02100000,
cmCS2ProfileVersion = cmICCProfileVersion2,
cmCS1ProfileVersion = 0x00000100
};
enum {
cmProfileMajorVersionMask = (int)0xFF000000,
cmCurrentProfileMajorVersion = 0x02000000
};
enum {
cmMagicNumber = 'acsp'
};
enum {
cmICCReservedFlagsMask = 0x0000FFFF,
cmEmbeddedMask = 0x00000001,
cmEmbeddedUseMask = 0x00000002,
cmBlackPointCompensationMask = 0x00000004,
cmCMSReservedFlagsMask = (int)0xFFFF0000,
cmQualityMask = 0x00030000,
cmInterpolationMask = 0x00040000,
cmGamutCheckingMask = 0x00080000
};
enum {
cmEmbeddedProfile = 0,
cmEmbeddedUse = 1
};
enum {
cmNormalMode = 0,
cmDraftMode = 1,
cmBestMode = 2
};
enum {
cmBlackPointCompensation = 1
};
enum {
cmReflectiveTransparentMask = 0x00000001,
cmGlossyMatteMask = 0x00000002
};
enum {
cmReflective = 0,
cmGlossy = 1
};
enum {
cmPerceptual = 0,
cmRelativeColorimetric = 1,
cmSaturation = 2,
cmAbsoluteColorimetric = 3
};
enum {
cmAsciiData = 0,
cmBinaryData = 1
};
enum {
cmPrtrDefaultScreens = 0,
cmLinesPer = 1
};
enum {
cmNumHeaderElements = 10
};
enum {
cmAToB0Tag = 'A2B0',
cmAToB1Tag = 'A2B1',
cmAToB2Tag = 'A2B2',
cmBlueColorantTag = 'bXYZ',
cmBlueTRCTag = 'bTRC',
cmBToA0Tag = 'B2A0',
cmBToA1Tag = 'B2A1',
cmBToA2Tag = 'B2A2',
cmCalibrationDateTimeTag = 'calt',
cmChromaticAdaptationTag = 'chad',
cmCharTargetTag = 'targ',
cmCopyrightTag = 'cprt',
cmDeviceMfgDescTag = 'dmnd',
cmDeviceModelDescTag = 'dmdd',
cmGamutTag = 'gamt',
cmGrayTRCTag = 'kTRC',
cmGreenColorantTag = 'gXYZ',
cmGreenTRCTag = 'gTRC',
cmLuminanceTag = 'lumi',
cmMeasurementTag = 'meas',
cmMediaBlackPointTag = 'bkpt',
cmMediaWhitePointTag = 'wtpt',
cmNamedColorTag = 'ncol',
cmNamedColor2Tag = 'ncl2',
cmPreview0Tag = 'pre0',
cmPreview1Tag = 'pre1',
cmPreview2Tag = 'pre2',
cmProfileDescriptionTag = 'desc',
cmProfileSequenceDescTag = 'pseq',
cmPS2CRD0Tag = 'psd0',
cmPS2CRD1Tag = 'psd1',
cmPS2CRD2Tag = 'psd2',
cmPS2CRD3Tag = 'psd3',
cmPS2CSATag = 'ps2s',
cmPS2RenderingIntentTag = 'ps2i',
cmRedColorantTag = 'rXYZ',
cmRedTRCTag = 'rTRC',
cmScreeningDescTag = 'scrd',
cmScreeningTag = 'scrn',
cmTechnologyTag = 'tech',
cmUcrBgTag = 'bfd ',
cmViewingConditionsDescTag = 'vued',
cmViewingConditionsTag = 'view'
};
enum {
cmPS2CRDVMSizeTag = 'psvm',
cmVideoCardGammaTag = 'vcgt',
cmMakeAndModelTag = 'mmod',
cmProfileDescriptionMLTag = 'dscm',
cmNativeDisplayInfoTag = 'ndin'
};
enum {
cmSigCrdInfoType = 'crdi',
cmSigCurveType = 'curv',
cmSigDataType = 'data',
cmSigDateTimeType = 'dtim',
cmSigLut16Type = 'mft2',
cmSigLut8Type = 'mft1',
cmSigMeasurementType = 'meas',
cmSigMultiFunctA2BType = 'mAB ',
cmSigMultiFunctB2AType = 'mBA ',
cmSigNamedColorType = 'ncol',
cmSigNamedColor2Type = 'ncl2',
cmSigParametricCurveType = 'para',
cmSigProfileDescriptionType = 'desc',
cmSigProfileSequenceDescType = 'pseq',
cmSigScreeningType = 'scrn',
cmSigS15Fixed16Type = 'sf32',
cmSigSignatureType = 'sig ',
cmSigTextType = 'text',
cmSigU16Fixed16Type = 'uf32',
cmSigU1Fixed15Type = 'uf16',
cmSigUInt8Type = 'ui08',
cmSigUInt16Type = 'ui16',
cmSigUInt32Type = 'ui32',
cmSigUInt64Type = 'ui64',
cmSigUcrBgType = 'bfd ',
cmSigUnicodeTextType = 'utxt',
cmSigViewingConditionsType = 'view',
cmSigXYZType = 'XYZ '
};
enum {
cmSigPS2CRDVMSizeType = 'psvm',
cmSigVideoCardGammaType = 'vcgt',
cmSigMakeAndModelType = 'mmod',
cmSigNativeDisplayInfoType = 'ndin',
cmSigMultiLocalizedUniCodeType = 'mluc'
};
enum {
cmTechnologyDigitalCamera = 'dcam',
cmTechnologyFilmScanner = 'fscn',
cmTechnologyReflectiveScanner = 'rscn',
cmTechnologyInkJetPrinter = 'ijet',
cmTechnologyThermalWaxPrinter = 'twax',
cmTechnologyElectrophotographicPrinter = 'epho',
cmTechnologyElectrostaticPrinter = 'esta',
cmTechnologyDyeSublimationPrinter = 'dsub',
cmTechnologyPhotographicPaperPrinter = 'rpho',
cmTechnologyFilmWriter = 'fprn',
cmTechnologyVideoMonitor = 'vidm',
cmTechnologyVideoCamera = 'vidc',
cmTechnologyProjectionTelevision = 'pjtv',
cmTechnologyCRTDisplay = 'CRT ',
cmTechnologyPMDisplay = 'PMD ',
cmTechnologyAMDisplay = 'AMD ',
cmTechnologyPhotoCD = 'KPCD',
cmTechnologyPhotoImageSetter = 'imgs',
cmTechnologyGravure = 'grav',
cmTechnologyOffsetLithography = 'offs',
cmTechnologySilkscreen = 'silk',
cmTechnologyFlexography = 'flex'
};
enum {
cmFlare0 = 0x00000000,
cmFlare100 = 0x00000001
};
enum {
cmGeometryUnknown = 0x00000000,
cmGeometry045or450 = 0x00000001,
cmGeometry0dord0 = 0x00000002
};
enum {
cmStdobsUnknown = 0x00000000,
cmStdobs1931TwoDegrees = 0x00000001,
cmStdobs1964TenDegrees = 0x00000002
};
enum {
cmIlluminantUnknown = 0x00000000,
cmIlluminantD50 = 0x00000001,
cmIlluminantD65 = 0x00000002,
cmIlluminantD93 = 0x00000003,
cmIlluminantF2 = 0x00000004,
cmIlluminantD55 = 0x00000005,
cmIlluminantA = 0x00000006,
cmIlluminantEquiPower = 0x00000007,
cmIlluminantF8 = 0x00000008
};
enum {
cmSpotFunctionUnknown = 0,
cmSpotFunctionDefault = 1,
cmSpotFunctionRound = 2,
cmSpotFunctionDiamond = 3,
cmSpotFunctionEllipse = 4,
cmSpotFunctionLine = 5,
cmSpotFunctionSquare = 6,
cmSpotFunctionCross = 7
};
enum {
cmXYZData = 'XYZ ',
cmLabData = 'Lab ',
cmLuvData = 'Luv ',
cmYCbCrData = 'YCbr',
cmYxyData = 'Yxy ',
cmRGBData = 'RGB ',
cmSRGBData = 'sRGB',
cmGrayData = 'GRAY',
cmHSVData = 'HSV ',
cmHLSData = 'HLS ',
cmCMYKData = 'CMYK',
cmCMYData = 'CMY ',
cmMCH5Data = 'MCH5',
cmMCH6Data = 'MCH6',
cmMCH7Data = 'MCH7',
cmMCH8Data = 'MCH8',
cm3CLRData = '3CLR',
cm4CLRData = '4CLR',
cm5CLRData = '5CLR',
cm6CLRData = '6CLR',
cm7CLRData = '7CLR',
cm8CLRData = '8CLR',
cm9CLRData = '9CLR',
cm10CLRData = 'ACLR',
cm11CLRData = 'BCLR',
cm12CLRData = 'CCLR',
cm13CLRData = 'DCLR',
cm14CLRData = 'ECLR',
cm15CLRData = 'FCLR',
cmNamedData = 'NAME'
};
enum {
cmInputClass = 'scnr',
cmDisplayClass = 'mntr',
cmOutputClass = 'prtr',
cmLinkClass = 'link',
cmAbstractClass = 'abst',
cmColorSpaceClass = 'spac',
cmNamedColorClass = 'nmcl'
};
enum {
cmMacintosh = 'APPL',
cmMicrosoft = 'MSFT',
cmSolaris = 'SUNW',
cmSiliconGraphics = 'SGI ',
cmTaligent = 'TGNT'
};
enum {
cmParametricType0 = 0,
cmParametricType1 = 1,
cmParametricType2 = 2,
cmParametricType3 = 3,
cmParametricType4 = 4
};
enum {
cmCS1ChromTag = 'chrm',
cmCS1TRCTag = 'trc ',
cmCS1NameTag = 'name',
cmCS1CustTag = 'cust'
};
typedef struct CMDateTime {
UInt16 year;
UInt16 month;
UInt16 dayOfTheMonth;
UInt16 hours;
UInt16 minutes;
UInt16 seconds;
} CMDateTime;
typedef struct CMFixedXYColor {
Fixed x;
Fixed y;
} CMFixedXYColor;
typedef struct CMFixedXYZColor {
Fixed X;
Fixed Y;
Fixed Z;
} CMFixedXYZColor;
typedef UInt16 CMXYZComponent;
typedef struct CMXYZColor {
CMXYZComponent X;
CMXYZComponent Y;
CMXYZComponent Z;
} CMXYZColor;
typedef unsigned char CMProfileMD5[16];
typedef CMProfileMD5 * CMProfileMD5Ptr;
# 416 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
#define CMProfileMD5AreEqual(a,b) ( ((UInt32*)a)[0]==((UInt32*)b)[0] && ((UInt32*)a)[1]==((UInt32*)b)[1] && ((UInt32*)a)[2]==((UInt32*)b)[2] && ((UInt32*)a)[3]==((UInt32*)b)[3])
typedef struct CM2Header {
UInt32 size;
OSType CMMType;
UInt32 profileVersion;
OSType profileClass;
OSType dataColorSpace;
OSType profileConnectionSpace;
CMDateTime dateTime;
OSType CS2profileSignature;
OSType platform;
UInt32 flags;
OSType deviceManufacturer;
UInt32 deviceModel;
UInt32 deviceAttributes[2];
UInt32 renderingIntent;
CMFixedXYZColor white;
OSType creator;
char reserved[44];
} CM2Header;
typedef struct CM4Header {
UInt32 size;
OSType CMMType;
UInt32 profileVersion;
OSType profileClass;
OSType dataColorSpace;
OSType profileConnectionSpace;
CMDateTime dateTime;
OSType CS2profileSignature;
OSType platform;
UInt32 flags;
OSType deviceManufacturer;
UInt32 deviceModel;
UInt32 deviceAttributes[2];
UInt32 renderingIntent;
CMFixedXYZColor white;
OSType creator;
CMProfileMD5 digest;
char reserved[28];
} CM4Header;
typedef struct CMTagRecord {
OSType tag;
UInt32 elementOffset;
UInt32 elementSize;
} CMTagRecord;
typedef struct CMTagElemTable {
UInt32 count;
CMTagRecord tagList[1];
} CMTagElemTable;
typedef struct CM2Profile {
CM2Header header;
CMTagElemTable tagTable;
char elemData[1];
} CM2Profile, *CM2ProfilePtr, **CM2ProfileHandle;
typedef struct CMAdaptationMatrixType {
OSType typeDescriptor;
UInt32 reserved;
Fixed adaptationMatrix[9];
} CMAdaptationMatrixType;
typedef struct CMCurveType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 countValue;
UInt16 data[1];
} CMCurveType;
typedef struct CMDataType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 dataFlag;
char data[1];
} CMDataType;
typedef struct CMDateTimeType {
OSType typeDescriptor;
UInt32 reserved;
CMDateTime dateTime;
} CMDateTimeType;
typedef struct CMLut16Type {
OSType typeDescriptor;
UInt32 reserved;
UInt8 inputChannels;
UInt8 outputChannels;
UInt8 gridPoints;
UInt8 reserved2;
Fixed matrix[3][3];
UInt16 inputTableEntries;
UInt16 outputTableEntries;
UInt16 inputTable[1];
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
} CMLut16Type;
typedef struct CMLut8Type {
OSType typeDescriptor;
UInt32 reserved;
UInt8 inputChannels;
UInt8 outputChannels;
UInt8 gridPoints;
UInt8 reserved2;
Fixed matrix[3][3];
UInt8 inputTable[1];
# 544 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
} CMLut8Type;
typedef struct CMMultiFunctLutType {
OSType typeDescriptor;
UInt32 reserved;
UInt8 inputChannels;
UInt8 outputChannels;
UInt16 reserved2;
UInt32 offsetBcurves;
UInt32 offsetMatrix;
UInt32 offsetMcurves;
UInt32 offsetCLUT;
UInt32 offsetAcurves;
UInt8 data[1];
} CMMultiFunctLutType, CMMultiFunctLutA2BType, CMMultiFunctLutB2AType;
typedef struct CMMultiFunctCLUTType {
UInt8 gridPoints[16];
UInt8 entrySize;
UInt8 reserved[3];
UInt8 data[2];
} CMMultiFunctCLUTType;
typedef struct CMMeasurementType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 standardObserver;
CMFixedXYZColor backingXYZ;
UInt32 geometry;
UInt32 flare;
UInt32 illuminant;
} CMMeasurementType;
typedef struct CMNamedColorType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 vendorFlag;
UInt32 count;
UInt8 prefixName[1];
# 594 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
} CMNamedColorType;
typedef struct CMNamedColor2EntryType {
UInt8 rootName[32];
UInt16 PCSColorCoords[3];
UInt16 DeviceColorCoords[1];
} CMNamedColor2EntryType;
typedef struct CMNamedColor2Type {
OSType typeDescriptor;
UInt32 reserved;
UInt32 vendorFlag;
UInt32 count;
UInt32 deviceChannelCount;
UInt8 prefixName[32];
UInt8 suffixName[32];
char data[1];
} CMNamedColor2Type;
typedef struct CMNativeDisplayInfo {
UInt32 dataSize;
CMFixedXYColor redPhosphor;
CMFixedXYColor greenPhosphor;
CMFixedXYColor bluePhosphor;
CMFixedXYColor whitePoint;
Fixed redGammaValue;
Fixed greenGammaValue;
Fixed blueGammaValue;
UInt16 gammaChannels;
UInt16 gammaEntryCount;
UInt16 gammaEntrySize;
char gammaData[1];
} CMNativeDisplayInfo;
typedef struct CMNativeDisplayInfoType {
OSType typeDescriptor;
UInt32 reserved;
CMNativeDisplayInfo nativeDisplayInfo;
} CMNativeDisplayInfoType;
typedef struct CMParametricCurveType {
OSType typeDescriptor;
UInt32 reserved;
UInt16 functionType;
UInt16 reserved2;
Fixed value[1];
} CMParametricCurveType;
typedef struct CMTextDescriptionType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 ASCIICount;
UInt8 ASCIIName[2];
# 662 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
} CMTextDescriptionType;
typedef struct CMTextType {
OSType typeDescriptor;
UInt32 reserved;
UInt8 text[1];
} CMTextType;
typedef struct CMUnicodeTextType {
OSType typeDescriptor;
UInt32 reserved;
UniChar text[1];
} CMUnicodeTextType;
typedef struct CMScreeningChannelRec {
Fixed frequency;
Fixed angle;
UInt32 spotFunction;
} CMScreeningChannelRec;
typedef struct CMScreeningType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 screeningFlag;
UInt32 channelCount;
CMScreeningChannelRec channelInfo[1];
} CMScreeningType;
typedef struct CMSignatureType {
OSType typeDescriptor;
UInt32 reserved;
OSType signature;
} CMSignatureType;
typedef struct CMS15Fixed16ArrayType {
OSType typeDescriptor;
UInt32 reserved;
Fixed value[1];
} CMS15Fixed16ArrayType;
typedef struct CMU16Fixed16ArrayType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 value[1];
} CMU16Fixed16ArrayType;
typedef struct CMUInt8ArrayType {
OSType typeDescriptor;
UInt32 reserved;
UInt8 value[1];
} CMUInt8ArrayType;
typedef struct CMUInt16ArrayType {
OSType typeDescriptor;
UInt32 reserved;
UInt16 value[1];
} CMUInt16ArrayType;
typedef struct CMUInt32ArrayType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 value[1];
} CMUInt32ArrayType;
typedef struct CMUInt64ArrayType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 value[1];
} CMUInt64ArrayType;
typedef struct CMViewingConditionsType {
OSType typeDescriptor;
UInt32 reserved;
CMFixedXYZColor illuminant;
CMFixedXYZColor surround;
UInt32 stdIlluminant;
} CMViewingConditionsType;
typedef struct CMXYZType {
OSType typeDescriptor;
UInt32 reserved;
CMFixedXYZColor XYZ[1];
} CMXYZType;
typedef struct CMProfileSequenceDescType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 count;
char data[1];
} CMProfileSequenceDescType;
typedef struct CMUcrBgType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 ucrCount;
UInt16 ucrValues[1];
# 767 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
} CMUcrBgType;
typedef struct CMIntentCRDVMSize {
UInt32 renderingIntent;
UInt32 VMSize;
} CMIntentCRDVMSize;
typedef struct CMPS2CRDVMSizeType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 count;
CMIntentCRDVMSize intentCRD[1];
} CMPS2CRDVMSizeType;
enum {
cmVideoCardGammaTableType = 0,
cmVideoCardGammaFormulaType = 1
};
typedef struct CMVideoCardGammaTable {
UInt16 channels;
UInt16 entryCount;
UInt16 entrySize;
char data[1];
} CMVideoCardGammaTable;
typedef struct CMVideoCardGammaFormula {
Fixed redGamma;
Fixed redMin;
Fixed redMax;
Fixed greenGamma;
Fixed greenMin;
Fixed greenMax;
Fixed blueGamma;
Fixed blueMin;
Fixed blueMax;
} CMVideoCardGammaFormula;
typedef struct CMVideoCardGamma {
UInt32 tagType;
union {
CMVideoCardGammaTable table;
CMVideoCardGammaFormula formula;
} u;
} CMVideoCardGamma;
typedef struct CMVideoCardGammaType {
OSType typeDescriptor;
UInt32 reserved;
CMVideoCardGamma gamma;
} CMVideoCardGammaType;
typedef struct CMMakeAndModel {
OSType manufacturer;
UInt32 model;
UInt32 serialNumber;
UInt32 manufactureDate;
UInt32 reserved1;
UInt32 reserved2;
UInt32 reserved3;
UInt32 reserved4;
} CMMakeAndModel;
typedef struct CMMakeAndModelType {
OSType typeDescriptor;
UInt32 reserved;
CMMakeAndModel makeAndModel;
} CMMakeAndModelType;
typedef struct CMMultiLocalizedUniCodeEntryRec {
char languageCode[2];
char regionCode[2];
UInt32 textLength;
UInt32 textOffset;
} CMMultiLocalizedUniCodeEntryRec;
typedef struct CMMultiLocalizedUniCodeType {
OSType typeDescriptor;
UInt32 reserved;
UInt32 entryCount;
UInt32 entrySize;
} CMMultiLocalizedUniCodeType;
# 948 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMICCProfile.h" 3
#pragma pack(pop)
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 27 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 2 3
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
enum {
kDefaultCMMSignature = 'appl'
};
# 99 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
enum {
cmPS7bit = 1,
cmPS8bit = 2
};
# 113 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
enum {
cmOpenReadSpool = 1,
cmOpenWriteSpool = 2,
cmReadSpool = 3,
cmWriteSpool = 4,
cmCloseSpool = 5
};
enum {
cmOpenReadAccess = 1,
cmOpenWriteAccess = 2,
cmReadAccess = 3,
cmWriteAccess = 4,
cmCloseAccess = 5,
cmCreateNewAccess = 6,
cmAbortWriteAccess = 7,
cmBeginAccess = 8,
cmEndAccess = 9
};
enum {
cmInputUse = 'inpt',
cmOutputUse = 'outp',
cmDisplayUse = 'dply',
cmProofUse = 'pruf'
};
union CMAppleProfileHeader {
CM2Header cm2;
CM4Header cm4;
};
typedef union CMAppleProfileHeader CMAppleProfileHeader;
typedef struct CMConcatProfileSet {
UInt16 keyIndex;
UInt16 count;
CMProfileRef profileSet[1];
} CMConcatProfileSet;
typedef struct NCMConcatProfileSpec {
UInt32 renderingIntent;
UInt32 transformTag;
CMProfileRef profile;
} NCMConcatProfileSpec;
typedef struct NCMConcatProfileSet {
OSType cmm;
UInt32 flags;
UInt32 flagsMask;
UInt32 profileCount;
NCMConcatProfileSpec profileSpecs[1];
} NCMConcatProfileSet;
enum {
kNoTransform = 0,
kUseAtoB = 1,
kUseBtoA = 2,
kUseBtoB = 3,
kDeviceToPCS = kUseAtoB,
kPCSToDevice = kUseBtoA,
kPCSToPCS = kUseBtoB,
kUseProfileIntent = (int)0xFFFFFFFF
};
typedef struct CMRGBColor {
UInt16 red;
UInt16 green;
UInt16 blue;
} CMRGBColor;
typedef struct CMCMYKColor {
UInt16 cyan;
UInt16 magenta;
UInt16 yellow;
UInt16 black;
} CMCMYKColor;
typedef struct CMCMYColor {
UInt16 cyan;
UInt16 magenta;
UInt16 yellow;
} CMCMYColor;
typedef struct CMHLSColor {
UInt16 hue;
UInt16 lightness;
UInt16 saturation;
} CMHLSColor;
typedef struct CMHSVColor {
UInt16 hue;
UInt16 saturation;
UInt16 value;
} CMHSVColor;
typedef struct CMLabColor {
UInt16 L;
UInt16 a;
UInt16 b;
} CMLabColor;
typedef struct CMLuvColor {
UInt16 L;
UInt16 u;
UInt16 v;
} CMLuvColor;
typedef struct CMYxyColor {
UInt16 capY;
UInt16 x;
UInt16 y;
} CMYxyColor;
typedef struct CMGrayColor {
UInt16 gray;
} CMGrayColor;
typedef struct CMMultichannel5Color {
UInt8 components[5];
} CMMultichannel5Color;
typedef struct CMMultichannel6Color {
UInt8 components[6];
} CMMultichannel6Color;
typedef struct CMMultichannel7Color {
UInt8 components[7];
} CMMultichannel7Color;
typedef struct CMMultichannel8Color {
UInt8 components[8];
} CMMultichannel8Color;
typedef struct CMNamedColor {
UInt32 namedColorIndex;
} CMNamedColor;
typedef union CMColor {
CMRGBColor rgb;
CMHSVColor hsv;
CMHLSColor hls;
CMXYZColor XYZ;
CMLabColor Lab;
CMLuvColor Luv;
CMYxyColor Yxy;
CMCMYKColor cmyk;
CMCMYColor cmy;
CMGrayColor gray;
CMMultichannel5Color mc5;
CMMultichannel6Color mc6;
CMMultichannel7Color mc7;
CMMultichannel8Color mc8;
CMNamedColor namedColor;
} CMColor;
# 304 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
typedef struct CMMInfo {
size_t dataSize;
OSType CMMType;
OSType CMMMfr;
UInt32 CMMVersion;
unsigned char ASCIIName[32];
unsigned char ASCIIDesc[256];
UniCharCount UniCodeNameCount;
UniChar UniCodeName[32];
UniCharCount UniCodeDescCount;
UniChar UniCodeDesc[256];
} CMMInfo;
# 341 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
enum {
cmColorSpaceSpaceMask = 0x0000003F,
cmColorSpacePremulAlphaMask = 0x00000040,
cmColorSpaceAlphaMask = 0x00000080,
cmColorSpaceSpaceAndAlphaMask = 0x000000FF,
cmColorSpacePackingMask = 0x0000FF00,
cmColorSpaceEncodingMask = 0x000F0000,
cmColorSpaceReservedMask = (int)0xFFF00000
};
enum {
cmNoColorPacking = 0x0000,
cmWord5ColorPacking = 0x0500,
cmWord565ColorPacking = 0x0600,
cmLong8ColorPacking = 0x0800,
cmLong10ColorPacking = 0x0A00,
cmAlphaFirstPacking = 0x1000,
cmOneBitDirectPacking = 0x0B00,
cmAlphaLastPacking = 0x0000,
cm8_8ColorPacking = 0x2800,
cm16_8ColorPacking = 0x2000,
cm24_8ColorPacking = 0x2100,
cm32_8ColorPacking = cmLong8ColorPacking,
cm40_8ColorPacking = 0x2200,
cm48_8ColorPacking = 0x2300,
cm56_8ColorPacking = 0x2400,
cm64_8ColorPacking = 0x2500,
cm32_16ColorPacking = 0x2600,
cm48_16ColorPacking = 0x2900,
cm64_16ColorPacking = 0x2A00,
cm32_32ColorPacking = 0x2700,
cmLittleEndianPacking = 0x4000,
cmReverseChannelPacking = 0x8000
};
enum {
cmSRGB16ChannelEncoding = 0x00010000
};
enum {
cmNoSpace = 0x0000,
cmRGBSpace = 0x0001,
cmCMYKSpace = 0x0002,
cmHSVSpace = 0x0003,
cmHLSSpace = 0x0004,
cmYXYSpace = 0x0005,
cmXYZSpace = 0x0006,
cmLUVSpace = 0x0007,
cmLABSpace = 0x0008,
cmReservedSpace1 = 0x0009,
cmGraySpace = 0x000A,
cmReservedSpace2 = 0x000B,
cmGamutResultSpace = 0x000C,
cmNamedIndexedSpace = 0x0010,
cmMCFiveSpace = 0x0011,
cmMCSixSpace = 0x0012,
cmMCSevenSpace = 0x0013,
cmMCEightSpace = 0x0014,
cmAlphaPmulSpace = 0x0040,
cmAlphaSpace = 0x0080,
cmRGBASpace = cmRGBSpace + cmAlphaSpace,
cmGrayASpace = cmGraySpace + cmAlphaSpace,
cmRGBAPmulSpace = cmRGBASpace + cmAlphaPmulSpace,
cmGrayAPmulSpace = cmGrayASpace + cmAlphaPmulSpace
};
enum {
cmGray8Space = cmGraySpace + cm8_8ColorPacking,
cmGray16Space = cmGraySpace,
cmGray16LSpace = cmGraySpace + cmLittleEndianPacking,
cmGrayA16Space = cmGrayASpace + cm16_8ColorPacking,
cmGrayA32Space = cmGrayASpace,
cmGrayA32LSpace = cmGrayASpace + cmLittleEndianPacking,
cmGrayA16PmulSpace = cmGrayAPmulSpace + cm16_8ColorPacking,
cmGrayA32PmulSpace = cmGrayAPmulSpace,
cmGrayA32LPmulSpace = cmGrayAPmulSpace + cmLittleEndianPacking,
cmRGB16Space = cmRGBSpace + cmWord5ColorPacking,
cmRGB16LSpace = cmRGBSpace + cmWord5ColorPacking + cmLittleEndianPacking,
cmRGB565Space = cmRGBSpace + cmWord565ColorPacking,
cmRGB565LSpace = cmRGBSpace + cmWord565ColorPacking + cmLittleEndianPacking,
cmRGB24Space = cmRGBSpace + cm24_8ColorPacking,
cmRGB32Space = cmRGBSpace + cm32_8ColorPacking,
cmRGB48Space = cmRGBSpace + cm48_16ColorPacking,
cmRGB48LSpace = cmRGBSpace + cm48_16ColorPacking + cmLittleEndianPacking,
cmARGB32Space = cmRGBASpace + cm32_8ColorPacking + cmAlphaFirstPacking,
cmARGB64Space = cmRGBASpace + cm64_16ColorPacking + cmAlphaFirstPacking,
cmARGB64LSpace = cmRGBASpace + cm64_16ColorPacking + cmAlphaFirstPacking + cmLittleEndianPacking,
cmRGBA32Space = cmRGBASpace + cm32_8ColorPacking + cmAlphaLastPacking,
cmRGBA64Space = cmRGBASpace + cm64_16ColorPacking + cmAlphaLastPacking,
cmRGBA64LSpace = cmRGBASpace + cm64_16ColorPacking + cmAlphaLastPacking + cmLittleEndianPacking,
cmARGB32PmulSpace = cmRGBAPmulSpace + cm32_8ColorPacking + cmAlphaFirstPacking,
cmARGB64PmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaFirstPacking,
cmARGB64LPmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaFirstPacking + cmLittleEndianPacking,
cmRGBA32PmulSpace = cmRGBAPmulSpace + cm32_8ColorPacking + cmAlphaLastPacking,
cmRGBA64PmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaLastPacking,
cmRGBA64LPmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaLastPacking + cmLittleEndianPacking,
cmCMYK32Space = cmCMYKSpace + cm32_8ColorPacking,
cmCMYK64Space = cmCMYKSpace + cm64_16ColorPacking,
cmCMYK64LSpace = cmCMYKSpace + cm64_16ColorPacking + cmLittleEndianPacking,
cmHSV32Space = cmHSVSpace + cmLong10ColorPacking,
cmHLS32Space = cmHLSSpace + cmLong10ColorPacking,
cmYXY32Space = cmYXYSpace + cmLong10ColorPacking,
cmXYZ24Space = cmXYZSpace + cm24_8ColorPacking,
cmXYZ32Space = cmXYZSpace + cmLong10ColorPacking,
cmXYZ48Space = cmXYZSpace + cm48_16ColorPacking,
cmXYZ48LSpace = cmXYZSpace + cm48_16ColorPacking + cmLittleEndianPacking,
cmLUV32Space = cmLUVSpace + cmLong10ColorPacking,
cmLAB24Space = cmLABSpace + cm24_8ColorPacking,
cmLAB32Space = cmLABSpace + cmLong10ColorPacking,
cmLAB48Space = cmLABSpace + cm48_16ColorPacking,
cmLAB48LSpace = cmLABSpace + cm48_16ColorPacking + cmLittleEndianPacking,
cmGamutResult1Space = cmOneBitDirectPacking + cmGamutResultSpace,
cmNamedIndexed32Space = cm32_32ColorPacking + cmNamedIndexedSpace,
cmNamedIndexed32LSpace = cm32_32ColorPacking + cmNamedIndexedSpace + cmLittleEndianPacking,
cmMCFive8Space = cm40_8ColorPacking + cmMCFiveSpace,
cmMCSix8Space = cm48_8ColorPacking + cmMCSixSpace,
cmMCSeven8Space = cm56_8ColorPacking + cmMCSevenSpace,
cmMCEight8Space = cm64_8ColorPacking + cmMCEightSpace
};
typedef UInt32 CMBitmapColorSpace;
typedef struct CMBitmap {
char * image;
size_t width;
size_t height;
size_t rowBytes;
size_t pixelSize;
CMBitmapColorSpace space;
UInt32 user1;
UInt32 user2;
} CMBitmap;
enum {
CS_MAX_PATH = 1024
};
enum {
cmNoProfileBase = 0,
cmPathBasedProfile = 5,
cmBufferBasedProfile = 6
};
# 516 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
typedef struct CMHandleLocation {
Handle h;
} CMHandleLocation;
# 533 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
typedef struct CMPathLocation {
char path[CS_MAX_PATH];
} CMPathLocation;
typedef struct CMBufferLocation {
void * buffer;
UInt32 size;
} CMBufferLocation;
typedef union CMProfLoc {
CMHandleLocation handleLoc;
CMPathLocation pathLoc;
CMBufferLocation bufferLoc;
} CMProfLoc;
typedef struct CMProfileLocation {
short locType;
CMProfLoc u;
} CMProfileLocation;
enum {
cmOriginalProfileLocationSize = 72,
cmCurrentProfileLocationSize = sizeof(CMProfileLocation)
};
enum {
cmProfileIterateDataVersion1 = 0x00010000,
cmProfileIterateDataVersion2 = 0x00020000,
cmProfileIterateDataVersion3 = 0x00030000
};
typedef struct CMProfileIterateData {
UInt32 dataVersion;
CM2Header header;
ScriptCode code;
Str255 name;
CMProfileLocation location;
UniCharCount uniCodeNameCount;
UniChar * uniCodeName;
unsigned char * asciiName;
CMMakeAndModel * makeAndModel;
CMProfileMD5 * digest;
} CMProfileIterateData;
typedef OSErr ( * CMProfileIterateProcPtr)(CMProfileIterateData *iterateData, void *refCon);
typedef CMProfileIterateProcPtr CMProfileIterateUPP;
# 611 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
static __inline__ __attribute__((always_inline)) CMProfileIterateUPP NewCMProfileIterateUPP(CMProfileIterateProcPtr userRoutine)
{ return (CMProfileIterateUPP)userRoutine; }
static __inline__ __attribute__((always_inline)) OSErr InvokeCMProfileIterateUPP(CMProfileIterateData * iterateData, void * refCon, CMProfileIterateUPP userUPP)
{ return (*((CMProfileIterateProcPtr)userUPP))(iterateData, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMProfileIterateUPP(CMProfileIterateUPP userUPP) {}
typedef OSErr ( * CMMIterateProcPtr)(CMMInfo *iterateData, void *refCon);
typedef CMMIterateProcPtr CMMIterateUPP;
# 644 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
static __inline__ __attribute__((always_inline)) CMMIterateUPP NewCMMIterateUPP(CMMIterateProcPtr userRoutine)
{ return (CMMIterateUPP)userRoutine; }
static __inline__ __attribute__((always_inline)) OSErr InvokeCMMIterateUPP(CMMInfo * iterateData, void * refCon, CMMIterateUPP userUPP)
{ return (*((CMMIterateProcPtr)userUPP))(iterateData, refCon); }
static __inline__ __attribute__((always_inline)) void DisposeCMMIterateUPP(CMMIterateUPP userUPP) {}
typedef void ( * CMLabToLabProcPtr)(float *L, float *a, float *b, void *refcon);
__attribute__((visibility("default"))) extern CMError
CMNewProfile(
CMProfileRef * prof,
const CMProfileLocation * theProfile) ;
# 679 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
NCWNewLinkProfile(
CMProfileRef * prof,
const CMProfileLocation * targetLocation,
NCMConcatProfileSet * profileSet,
CMConcatCallBackUPP proc,
void * refCon) ;
# 749 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMMakeProfile(
CMProfileRef prof,
CFDictionaryRef spec) ;
__attribute__((visibility("default"))) extern CMError
CMOpenProfile(
CMProfileRef * prof,
const CMProfileLocation * theProfile) ;
__attribute__((visibility("default"))) extern CMError
CMCloseProfile(CMProfileRef prof) ;
__attribute__((visibility("default"))) extern CMError
CMUpdateProfile(CMProfileRef prof) ;
__attribute__((visibility("default"))) extern CMError
CMCopyProfile(
CMProfileRef * targetProf,
const CMProfileLocation * targetLocation,
CMProfileRef srcProf) ;
__attribute__((visibility("default"))) extern CMError
CMValidateProfile(
CMProfileRef prof,
Boolean * valid,
Boolean * preferredCMMnotfound) ;
# 794 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
NCMGetProfileLocation(
CMProfileRef prof,
CMProfileLocation * theProfile,
UInt32 * locationSize) ;
# 807 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CFDataRef
CMProfileCopyICCData(
CFAllocatorRef allocator,
CMProfileRef prof) ;
# 836 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetProfileHeader(
CMProfileRef prof,
CMAppleProfileHeader * header) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileHeader(
CMProfileRef prof,
const CMAppleProfileHeader * header) ;
__attribute__((visibility("default"))) extern CMError
CMCloneProfileRef(CMProfileRef prof) ;
__attribute__((visibility("default"))) extern CMError
CMGetProfileRefCount(
CMProfileRef prof,
long * count) ;
__attribute__((visibility("default"))) extern CMError
CMProfileModified(
CMProfileRef prof,
Boolean * modified) ;
__attribute__((visibility("default"))) extern CMError
CMGetProfileMD5(
CMProfileRef prof,
CMProfileMD5 digest) ;
__attribute__((visibility("default"))) extern CMError
CMCountProfileElements(
CMProfileRef prof,
UInt32 * elementCount) ;
__attribute__((visibility("default"))) extern CMError
CMProfileElementExists(
CMProfileRef prof,
OSType tag,
Boolean * found) ;
__attribute__((visibility("default"))) extern CMError
CMGetProfileElement(
CMProfileRef prof,
OSType tag,
UInt32 * elementSize,
void * elementData) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileElement(
CMProfileRef prof,
OSType tag,
UInt32 elementSize,
const void * elementData) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileElementSize(
CMProfileRef prof,
OSType tag,
UInt32 elementSize) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileElementReference(
CMProfileRef prof,
OSType elementTag,
OSType referenceTag) ;
__attribute__((visibility("default"))) extern CMError
CMGetPartialProfileElement(
CMProfileRef prof,
OSType tag,
UInt32 offset,
UInt32 * byteCount,
void * elementData) ;
__attribute__((visibility("default"))) extern CMError
CMSetPartialProfileElement(
CMProfileRef prof,
OSType tag,
UInt32 offset,
UInt32 byteCount,
const void * elementData) ;
__attribute__((visibility("default"))) extern CMError
CMGetIndProfileElementInfo(
CMProfileRef prof,
UInt32 index,
OSType * tag,
UInt32 * elementSize,
Boolean * refs) ;
__attribute__((visibility("default"))) extern CMError
CMGetIndProfileElement(
CMProfileRef prof,
UInt32 index,
UInt32 * elementSize,
void * elementData) ;
__attribute__((visibility("default"))) extern CMError
CMRemoveProfileElement(
CMProfileRef prof,
OSType tag) ;
# 968 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetProfileDescriptions(
CMProfileRef prof,
char * aName,
UInt32 * aCount,
Str255 mName,
ScriptCode * mCode,
UniChar * uName,
UniCharCount * uCount) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileDescriptions(
CMProfileRef prof,
const char * aName,
UInt32 aCount,
ConstStr255Param mName,
ScriptCode mCode,
const UniChar * uName,
UniCharCount uCount) ;
__attribute__((visibility("default"))) extern CMError
CMCopyProfileLocalizedStringDictionary(
CMProfileRef prof,
OSType tag,
CFDictionaryRef * theDict) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileLocalizedStringDictionary(
CMProfileRef prof,
OSType tag,
CFDictionaryRef theDict) ;
__attribute__((visibility("default"))) extern CMError
CMCopyProfileLocalizedString(
CMProfileRef prof,
OSType tag,
CFStringRef reqLocale,
CFStringRef * locale,
CFStringRef * str) ;
# 1020 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMCopyProfileDescriptionString(
CMProfileRef prof,
CFStringRef * str) ;
__attribute__((visibility("default"))) extern CMError
CMGetNamedColorInfo(
CMProfileRef prof,
UInt32 * deviceChannels,
OSType * deviceColorSpace,
OSType * PCSColorSpace,
UInt32 * count,
StringPtr prefix,
StringPtr suffix) ;
__attribute__((visibility("default"))) extern CMError
CMGetNamedColorValue(
CMProfileRef prof,
StringPtr name,
CMColor * deviceColor,
CMColor * PCSColor) ;
__attribute__((visibility("default"))) extern CMError
CMGetIndNamedColorValue(
CMProfileRef prof,
UInt32 index,
CMColor * deviceColor,
CMColor * PCSColor) ;
__attribute__((visibility("default"))) extern CMError
CMGetNamedColorIndex(
CMProfileRef prof,
StringPtr name,
UInt32 * index) ;
__attribute__((visibility("default"))) extern CMError
CMGetNamedColorName(
CMProfileRef prof,
UInt32 index,
StringPtr name) ;
__attribute__((visibility("default"))) extern CMError
NCWNewColorWorld(
CMWorldRef * cw,
CMProfileRef src,
CMProfileRef dst) ;
# 1086 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
NCWConcatColorWorld(
CMWorldRef * cw,
NCMConcatProfileSet * profileSet,
CMConcatCallBackUPP proc,
void * refCon) ;
# 1103 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern void
CWDisposeColorWorld(CMWorldRef cw) ;
__attribute__((visibility("default"))) extern CMError
CWMatchColors(
CMWorldRef cw,
CMColor * myColors,
size_t count) ;
__attribute__((visibility("default"))) extern CMError
CWCheckColors(
CMWorldRef cw,
CMColor * myColors,
size_t count,
UInt8 * result) ;
__attribute__((visibility("default"))) extern CMError
CWMatchBitmap(
CMWorldRef cw,
CMBitmap * bitmap,
CMBitmapCallBackUPP progressProc,
void * refCon,
CMBitmap * matchedBitmap) ;
__attribute__((visibility("default"))) extern CMError
CWCheckBitmap(
CMWorldRef cw,
const CMBitmap * bitmap,
CMBitmapCallBackUPP progressProc,
void * refCon,
CMBitmap * resultBitmap) ;
__attribute__((visibility("default"))) extern UInt32
CWGetCMMSignature(
CMWorldRef cw) ;
enum {
cmTextureRGBtoRGBX8 = 0,
cmTextureRGBtoRGBX16 = 1,
cmTextureRGBtoRGBXFloat32 = 2
};
# 1161 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CWFillLookupTexture(
CMWorldRef cw,
UInt32 gridPoints,
UInt32 format,
UInt32 dataSize,
void * data) ;
__attribute__((visibility("default"))) extern CMError
CMGetSystemProfile(CMProfileRef * prof) ;
# 1190 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDefaultProfileBySpace(
OSType dataColorSpace,
CMProfileRef * prof) ;
# 1205 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDefaultProfileByUse(
OSType use,
CMProfileRef * prof) ;
# 1220 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetProfileByAVID(
CMDisplayIDType theID,
CMProfileRef * prof) ;
__attribute__((visibility("default"))) extern CMError
CMSetProfileByAVID(
CMDisplayIDType theID,
CMProfileRef prof) ;
__attribute__((visibility("default"))) extern CMError
CMGetGammaByAVID(
CMDisplayIDType theID,
CMVideoCardGamma * gamma,
UInt32 * size) ;
__attribute__((visibility("default"))) extern CMError
CMSetGammaByAVID(
CMDisplayIDType theID,
CMVideoCardGamma * gamma) ;
__attribute__((visibility("default"))) extern CMError
CMIterateColorSyncFolder(
CMProfileIterateUPP proc,
UInt32 * seed,
UInt32 * count,
void * refCon) ;
# 1349 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMIterateCMMInfo(
CMMIterateUPP proc,
UInt32 * count,
void * refCon) ;
__attribute__((visibility("default"))) extern CMError
CMGetColorSyncVersion(UInt32 * version) ;
__attribute__((visibility("default"))) extern CMError
CMLaunchControlPanel(UInt32 flags) ;
# 1491 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetPS2ColorSpace(
CMProfileRef srcProf,
UInt32 flags,
CMFlattenUPP proc,
void * refCon,
Boolean * preferredCMMnotfound) ;
__attribute__((visibility("default"))) extern CMError
CMGetPS2ColorRenderingIntent(
CMProfileRef srcProf,
UInt32 flags,
CMFlattenUPP proc,
void * refCon,
Boolean * preferredCMMnotfound) ;
__attribute__((visibility("default"))) extern CMError
CMGetPS2ColorRendering(
CMProfileRef srcProf,
CMProfileRef dstProf,
UInt32 flags,
CMFlattenUPP proc,
void * refCon,
Boolean * preferredCMMnotfound) ;
__attribute__((visibility("default"))) extern CMError
CMGetPS2ColorRenderingVMSize(
CMProfileRef srcProf,
CMProfileRef dstProf,
UInt32 * vmSize,
Boolean * preferredCMMnotfound) ;
# 1539 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMApplication.h" 3
#define kCMPrefsChangedNotification CFSTR("AppleColorSyncPreferencesChangedNotification")
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
#define __CMFLOATBITMAP__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 2 3
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
enum CMFloatBitmapFlags {
kCMFloatBitmapFlagsNone = 0,
kCMFloatBitmapFlagsAlpha = 1,
kCMFloatBitmapFlagsAlphaPremul = 2,
kCMFloatBitmapFlagsRangeClipped = 4
};
typedef enum CMFloatBitmapFlags CMFloatBitmapFlags;
# 106 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
typedef struct CMFloatBitmap {
unsigned long version;
float * buffers[16];
size_t height;
size_t width;
ptrdiff_t rowStride;
ptrdiff_t colStride;
OSType space;
CMFloatBitmapFlags flags;
} CMFloatBitmap;
__attribute__((visibility("default"))) extern const float kCMIlluminantD50[3] ;
__attribute__((visibility("default"))) extern const float kCMIlluminantD65[3] ;
# 138 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
__attribute__((visibility("default"))) extern CMFloatBitmap
CMFloatBitmapMakeChunky(
float * buffer,
size_t height,
size_t width,
OSType space) ;
# 157 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
__attribute__((visibility("default"))) extern CMError
CMConvertXYZFloatBitmap(
const CMFloatBitmap * src,
const float srcIlluminantXYZ[3],
CMFloatBitmap * dst,
const float dstIlluminantXYZ[3],
CMChromaticAdaptation method) ;
# 174 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
__attribute__((visibility("default"))) extern CMError
CMConvertRGBFloatBitmap(
const CMFloatBitmap * src,
CMFloatBitmap * dst) ;
# 190 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMFloatBitmap.h" 3
__attribute__((visibility("default"))) extern CMError
CMMatchFloatBitmap(
CMWorldRef cw,
const CMFloatBitmap * src,
CMFloatBitmap * dst) ;
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
#define __CMDEVICEINTEGRATION__
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 27 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 2 3
# 50 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
enum {
cmDeviceInfoVersion1 = 0x00010000,
cmDeviceProfileInfoVersion1 = 0x00010000,
cmDeviceProfileInfoVersion2 = 0x00020000
};
enum {
cmCurrentDeviceInfoVersion = cmDeviceInfoVersion1,
cmCurrentProfileInfoVersion = cmDeviceProfileInfoVersion1
};
enum {
cmDefaultDeviceID = 0,
cmDefaultProfileID = 0
};
enum {
cmDeviceStateDefault = 0x00000000,
cmDeviceStateOffline = 0x00000001,
cmDeviceStateBusy = 0x00000002,
cmDeviceStateForceNotify = (int)0x80000000,
cmDeviceStateDeviceRsvdBits = 0x00FF0000,
cmDeviceStateAppleRsvdBits = (int)0xFF00FFFF
};
# 111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
enum {
cmIterateFactoryDeviceProfiles = 0x00000001,
cmIterateCustomDeviceProfiles = 0x00000002,
cmIterateCurrentDeviceProfiles = 0x00000003,
cmIterateAllDeviceProfiles = 0x00000004,
cmIterateDeviceProfilesMask = 0x0000000F
};
enum {
cmDeviceDBNotFoundErr = -4227,
cmDeviceAlreadyRegistered = -4228,
cmDeviceNotRegistered = -4229,
cmDeviceProfilesNotFound = -4230,
cmInternalCFErr = -4231
};
# 145 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
#define kCMDeviceRegisteredNotification CFSTR("CMDeviceRegisteredNotification")
#define kCMDeviceUnregisteredNotification CFSTR("CMDeviceUnregisteredNotification")
#define kCMDeviceOnlineNotification CFSTR("CMDeviceOnlineNotification")
#define kCMDeviceOfflineNotification CFSTR("CMDeviceOfflineNotification")
#define kCMDeviceStateNotification CFSTR("CMDeviceStateNotification")
#define kCMDefaultDeviceNotification CFSTR("CMDefaultDeviceNotification")
#define kCMDeviceProfilesNotification CFSTR("CMDeviceProfilesNotification")
#define kCMDefaultDeviceProfileNotification CFSTR("CMDefaultDeviceProfileNotification")
#define kCMDisplayDeviceProfilesNotification CFSTR("CMDisplayDeviceProfilesNotification")
typedef UInt32 CMDeviceState;
typedef UInt32 CMDeviceID;
typedef UInt32 CMDeviceProfileID;
enum {
cmScannerDeviceClass = 'scnr',
cmCameraDeviceClass = 'cmra',
cmDisplayDeviceClass = 'mntr',
cmPrinterDeviceClass = 'prtr',
cmProofDeviceClass = 'pruf'
};
typedef OSType CMDeviceClass;
typedef struct CMDeviceScope {
CFStringRef deviceUser;
CFStringRef deviceHost;
} CMDeviceScope, CMDeviceProfileScope;
typedef struct CMDeviceInfo {
UInt32 dataVersion;
CMDeviceClass deviceClass;
CMDeviceID deviceID;
CMDeviceScope deviceScope;
CMDeviceState deviceState;
CMDeviceProfileID defaultProfileID;
CFDictionaryRef * deviceName;
UInt32 profileCount;
UInt32 reserved;
} CMDeviceInfo, *CMDeviceInfoPtr;
typedef struct CMDeviceProfileInfo {
UInt32 dataVersion;
CMDeviceProfileID profileID;
CMProfileLocation profileLoc;
CFDictionaryRef profileName;
UInt32 reserved;
} CMDeviceProfileInfo;
typedef struct NCMDeviceProfileInfo {
UInt32 dataVersion;
CMDeviceProfileID profileID;
CMProfileLocation profileLoc;
CFDictionaryRef profileName;
CMDeviceProfileScope profileScope;
UInt32 reserved;
} NCMDeviceProfileInfo;
typedef struct CMDeviceProfileArray {
UInt32 profileCount;
CMDeviceProfileInfo profiles[1];
} CMDeviceProfileArray, *CMDeviceProfileArrayPtr;
typedef OSErr ( * CMIterateDeviceInfoProcPtr)(const CMDeviceInfo *deviceInfo, void *refCon);
typedef OSErr ( * CMIterateDeviceProfileProcPtr)(const CMDeviceInfo *deviceInfo, const NCMDeviceProfileInfo *profileInfo, void *refCon);
# 266 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMRegisterColorDevice(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CFDictionaryRef deviceName,
const CMDeviceScope * deviceScope) ;
# 285 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMUnregisterColorDevice(
CMDeviceClass deviceClass,
CMDeviceID deviceID) ;
# 301 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDefaultDevice(
CMDeviceClass deviceClass,
CMDeviceID deviceID) ;
# 313 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDefaultDevice(
CMDeviceClass deviceClass,
CMDeviceID * deviceID) ;
# 334 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDeviceFactoryProfiles(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceProfileID defaultProfID,
const CMDeviceProfileArray * deviceProfiles) ;
# 354 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceFactoryProfiles(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceProfileID * defaultProfID,
UInt32 * arraySize,
CMDeviceProfileArray * deviceProfiles) ;
# 413 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDeviceDefaultProfileID(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceProfileID defaultProfID) ;
# 427 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceDefaultProfileID(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceProfileID * defaultProfID) ;
# 447 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDeviceProfile(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
const CMDeviceProfileScope * profileScope,
CMDeviceProfileID profileID,
const CMProfileLocation * profileLoc) ;
# 465 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceProfile(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceProfileID profileID,
CMProfileLocation * profileLoc) ;
# 488 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMSetDeviceState(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceState deviceState) ;
# 502 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceState(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceState * deviceState) ;
# 522 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMGetDeviceInfo(
CMDeviceClass deviceClass,
CMDeviceID deviceID,
CMDeviceInfo * deviceInfo) ;
# 547 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMIterateColorDevices(
CMIterateDeviceInfoProcPtr proc,
UInt32 * seed,
UInt32 * count,
void * refCon) ;
# 574 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMDeviceIntegration.h" 3
__attribute__((visibility("default"))) extern CMError
CMIterateDeviceProfiles(
CMIterateDeviceProfileProcPtr proc,
UInt32 * seed,
UInt32 * count,
UInt32 flags,
void * refCon) ;
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMMComponent.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMMComponent.h" 3
#define __CMMCOMPONENT__
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMMComponent.h" 3
__attribute__((visibility("default"))) extern void
CWColorWorldSetProperty(
CMWorldRef cw,
CFStringRef key,
CFTypeRef value) ;
__attribute__((visibility("default"))) extern const void*
CWColorWorldGetProperty(
CMWorldRef cw,
CFStringRef key) ;
extern CMError
CMM_ConcatColorWorld(
CMWorldRef cw,
NCMConcatProfileSet * profileSet,
CMConcatCallBackUPP proc,
void * refCon);
extern CMError
CMM_MatchColors(
CMWorldRef cw,
CMColor * colors,
UInt32 count);
extern CMError
CMM_CheckColors(
CMWorldRef cw,
CMColor * colors,
UInt32 count,
UInt8 * result);
extern CMError
CMM_ValidateProfile(
CMProfileRef prof,
Boolean * valid);
extern CMError
CMM_MatchBitmap(
CMWorldRef cw,
CMBitmap * bitmap,
CMBitmapCallBackUPP progressProc,
void * refCon,
CMBitmap * matchedBitmap);
extern CMError
CMM_CheckBitmap(
CMWorldRef cw,
const CMBitmap * bitmap,
CMBitmapCallBackUPP progressProc,
void * refCon,
CMBitmap * resultBitmap);
extern CMError
CMM_MatchFloatBitmap(
CMWorldRef cw,
const CMFloatBitmap * bitmap,
CMFloatBitmap * resultBitmap);
extern CMError
CMM_CreateLinkProfile(
CMProfileRef prof,
NCMConcatProfileSet * profileSet,
CMConcatCallBackUPP proc,
void * refCon);
extern CFTypeRef
CMM_GetProperty(
CMWorldRef cw,
CFStringRef requestedKey);
# 41 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMScriptingPlugin.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMScriptingPlugin.h" 3
#define __CMSCRIPTINGPLUGIN__
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMScriptingPlugin.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMBase.h" 1 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/CMScriptingPlugin.h" 2 3
# 45 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 2 3
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
#define __QUICKDRAWTYPES__
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
#define __QUICKDRAWTEXT__
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
#pragma pack(push, 2)
# 52 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
enum {
leftCaret = 0,
rightCaret = -1,
kHilite = 1
};
enum {
smLeftCaret = 0,
smRightCaret = -1,
smHilite = 1
};
enum {
onlyStyleRun = 0,
leftStyleRun = 1,
rightStyleRun = 2,
middleStyleRun = 3,
smOnlyStyleRun = 0,
smLeftStyleRun = 1,
smRightStyleRun = 2,
smMiddleStyleRun = 3
};
typedef short JustStyleCode;
typedef short TruncCode;
enum {
truncEnd = 0,
truncMiddle = 0x4000,
smTruncEnd = 0,
smTruncMiddle = 0x4000
};
enum {
notTruncated = 0,
truncated = 1,
truncErr = -1,
smNotTruncated = 0,
smTruncated = 1,
smTruncErr = -1
};
typedef SInt8 StyledLineBreakCode;
enum {
smBreakWord = 0,
smBreakChar = 1,
smBreakOverflow = 2
};
enum {
tfAntiAlias = 1 << 0,
tfUnicode = 1 << 1
};
struct FontInfo {
short ascent;
short descent;
short widMax;
short leading;
};
typedef struct FontInfo FontInfo;
typedef short FormatOrder[1];
typedef FormatOrder * FormatOrderPtr;
# 146 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
typedef Boolean ( * StyleRunDirectionProcPtr)(short styleRunIndex, void *dirParam);
typedef StyleRunDirectionProcPtr StyleRunDirectionUPP;
# 156 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern StyleRunDirectionUPP
NewStyleRunDirectionUPP(StyleRunDirectionProcPtr userRoutine) __attribute__((deprecated));
# 167 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern void
DisposeStyleRunDirectionUPP(StyleRunDirectionUPP userUPP) __attribute__((deprecated));
# 178 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
extern Boolean
InvokeStyleRunDirectionUPP(
short styleRunIndex,
void * dirParam,
StyleRunDirectionUPP userUPP) __attribute__((deprecated));
#define NewStyleRunDirectionUPP(userRoutine) ((StyleRunDirectionUPP)userRoutine)
#define DisposeStyleRunDirectionUPP(userUPP)
#define InvokeStyleRunDirectionUPP(styleRunIndex,dirParam,userUPP) (*userUPP)(styleRunIndex, dirParam)
# 728 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h" 3
#pragma pack(pop)
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 2 3
# 48 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
#pragma pack(push, 2)
enum {
invalColReq = -1
};
enum {
srcCopy = 0,
srcOr = 1,
srcXor = 2,
srcBic = 3,
notSrcCopy = 4,
notSrcOr = 5,
notSrcXor = 6,
notSrcBic = 7,
patCopy = 8,
patOr = 9,
patXor = 10,
patBic = 11,
notPatCopy = 12,
notPatOr = 13,
notPatXor = 14,
notPatBic = 15,
grayishTextOr = 49,
hilitetransfermode = 50,
hilite = 50,
blend = 32,
addPin = 33,
addOver = 34,
subPin = 35,
addMax = 37,
adMax = 37,
subOver = 38,
adMin = 39,
ditherCopy = 64,
transparent = 36
};
enum {
italicBit = 1,
ulineBit = 2,
outlineBit = 3,
shadowBit = 4,
condenseBit = 5,
extendBit = 6
};
enum {
normalBit = 0,
inverseBit = 1,
redBit = 4,
greenBit = 3,
blueBit = 2,
cyanBit = 8,
magentaBit = 7,
yellowBit = 6,
blackBit = 5
};
enum {
blackColor = 33,
whiteColor = 30,
redColor = 205,
greenColor = 341,
blueColor = 409,
cyanColor = 273,
magentaColor = 137,
yellowColor = 69
};
enum {
picLParen = 0,
picRParen = 1
};
enum {
clutType = 0,
fixedType = 1,
directType = 2
};
enum {
gdDevType = 0,
interlacedDevice = 2,
hwMirroredDevice = 4,
roundedDevice = 5,
hasAuxMenuBar = 6,
burstDevice = 7,
ext32Device = 8,
ramInit = 10,
mainScreen = 11,
allInit = 12,
screenDevice = 13,
noDriver = 14,
screenActive = 15
};
enum {
hiliteBit = 7,
pHiliteBit = 0
};
enum {
defQDColors = 127,
RGBDirect = 16,
baseAddr32 = 4
};
enum {
sysPatListID = 0,
iBeamCursor = 1,
crossCursor = 2,
plusCursor = 3,
watchCursor = 4
};
enum {
kQDGrafVerbFrame = 0,
kQDGrafVerbPaint = 1,
kQDGrafVerbErase = 2,
kQDGrafVerbInvert = 3,
kQDGrafVerbFill = 4
};
# 188 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
typedef SInt8 GrafVerb;
enum {
chunky = 0,
chunkyPlanar = 1,
planar = 2
};
typedef SInt8 PixelType;
typedef short Bits16[16];
# 208 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
struct Pattern {
UInt8 pat[8];
};
typedef struct Pattern Pattern;
typedef const Pattern * ConstPatternParam;
typedef Pattern * PatPtr;
typedef PatPtr * PatHandle;
typedef SignedByte QDByte;
typedef QDByte * QDPtr;
typedef QDPtr * QDHandle;
typedef short QDErr;
enum {
singleDevicesBit = 0,
dontMatchSeedsBit = 1,
allDevicesBit = 2
};
enum {
singleDevices = 1 << singleDevicesBit,
dontMatchSeeds = 1 << dontMatchSeedsBit,
allDevices = 1 << allDevicesBit
};
typedef unsigned long DeviceLoopFlags;
typedef SInt32 PrinterStatusOpcode;
enum {
kPrinterFontStatus = 0,
kPrinterScalingStatus = 1
};
struct PrinterFontStatus {
SInt32 oResult;
SInt16 iFondID;
Style iStyle;
};
typedef struct PrinterFontStatus PrinterFontStatus;
struct PrinterScalingStatus {
Point oScalingFactors;
};
typedef struct PrinterScalingStatus PrinterScalingStatus;
struct BitMap {
Ptr baseAddr;
short rowBytes;
Rect bounds;
};
typedef struct BitMap BitMap;
typedef BitMap * BitMapPtr;
typedef BitMapPtr * BitMapHandle;
struct Cursor {
Bits16 data;
Bits16 mask;
Point hotSpot;
};
typedef struct Cursor Cursor;
typedef Cursor * CursPtr;
typedef CursPtr * CursHandle;
struct PenState {
Point pnLoc;
Point pnSize;
short pnMode;
Pattern pnPat;
};
typedef struct PenState PenState;
# 293 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
typedef struct OpaqueRgnHandle* RgnHandle;
struct Picture {
short picSize;
Rect picFrame;
};
typedef struct Picture Picture;
typedef Picture * PicPtr;
typedef PicPtr * PicHandle;
struct MacPolygon {
short polySize;
Rect polyBBox;
Point polyPoints[1];
};
typedef struct MacPolygon MacPolygon;
typedef MacPolygon Polygon;
typedef MacPolygon * PolyPtr;
typedef PolyPtr * PolyHandle;
typedef void ( * QDTextProcPtr)(short byteCount, const void *textBuf, Point numer, Point denom);
typedef void ( * QDLineProcPtr)(Point newPt);
typedef void ( * QDRectProcPtr)(GrafVerb verb, const Rect *r);
typedef void ( * QDRRectProcPtr)(GrafVerb verb, const Rect *r, short ovalWidth, short ovalHeight);
typedef void ( * QDOvalProcPtr)(GrafVerb verb, const Rect *r);
typedef void ( * QDArcProcPtr)(GrafVerb verb, const Rect *r, short startAngle, short arcAngle);
typedef void ( * QDPolyProcPtr)(GrafVerb verb, PolyHandle poly);
typedef void ( * QDRgnProcPtr)(GrafVerb verb, RgnHandle rgn);
typedef void ( * QDBitsProcPtr)(const BitMap *srcBits, const Rect *srcRect, const Rect *dstRect, short mode, RgnHandle maskRgn);
typedef void ( * QDCommentProcPtr)(short kind, short dataSize, Handle dataHandle);
typedef short ( * QDTxMeasProcPtr)(short byteCount, const void *textAddr, Point *numer, Point *denom, FontInfo *info);
typedef void ( * QDGetPicProcPtr)(void *dataPtr, short byteCount);
typedef void ( * QDPutPicProcPtr)(const void *dataPtr, short byteCount);
typedef void ( * QDOpcodeProcPtr)(const Rect *fromRect, const Rect *toRect, UInt16 opcode, SInt16 version);
typedef OSStatus ( * QDStdGlyphsProcPtr)(void *dataStream, ByteCount size);
typedef void ( * QDJShieldCursorProcPtr)(short left, short top, short right, short bottom);
typedef QDTextProcPtr QDTextUPP;
typedef QDLineProcPtr QDLineUPP;
typedef QDRectProcPtr QDRectUPP;
typedef QDRRectProcPtr QDRRectUPP;
typedef QDOvalProcPtr QDOvalUPP;
typedef QDArcProcPtr QDArcUPP;
typedef QDPolyProcPtr QDPolyUPP;
typedef QDRgnProcPtr QDRgnUPP;
typedef QDBitsProcPtr QDBitsUPP;
typedef QDCommentProcPtr QDCommentUPP;
typedef QDTxMeasProcPtr QDTxMeasUPP;
typedef QDGetPicProcPtr QDGetPicUPP;
typedef QDPutPicProcPtr QDPutPicUPP;
typedef QDOpcodeProcPtr QDOpcodeUPP;
typedef QDStdGlyphsProcPtr QDStdGlyphsUPP;
typedef QDJShieldCursorProcPtr QDJShieldCursorUPP;
struct QDProcs {
QDTextUPP textProc;
QDLineUPP lineProc;
QDRectUPP rectProc;
QDRRectUPP rRectProc;
QDOvalUPP ovalProc;
QDArcUPP arcProc;
QDPolyUPP polyProc;
QDRgnUPP rgnProc;
QDBitsUPP bitsProc;
QDCommentUPP commentProc;
QDTxMeasUPP txMeasProc;
QDGetPicUPP getPicProc;
QDPutPicUPP putPicProc;
};
typedef struct QDProcs QDProcs;
typedef QDProcs * QDProcsPtr;
# 374 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDTextUPP
NewQDTextUPP(QDTextProcPtr userRoutine) __attribute__((deprecated));
# 385 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDLineUPP
NewQDLineUPP(QDLineProcPtr userRoutine) __attribute__((deprecated));
# 396 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDRectUPP
NewQDRectUPP(QDRectProcPtr userRoutine) __attribute__((deprecated));
# 407 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDRRectUPP
NewQDRRectUPP(QDRRectProcPtr userRoutine) __attribute__((deprecated));
# 418 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDOvalUPP
NewQDOvalUPP(QDOvalProcPtr userRoutine) __attribute__((deprecated));
# 429 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDArcUPP
NewQDArcUPP(QDArcProcPtr userRoutine) __attribute__((deprecated));
# 440 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDPolyUPP
NewQDPolyUPP(QDPolyProcPtr userRoutine) __attribute__((deprecated));
# 451 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDRgnUPP
NewQDRgnUPP(QDRgnProcPtr userRoutine) __attribute__((deprecated));
# 462 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDBitsUPP
NewQDBitsUPP(QDBitsProcPtr userRoutine) __attribute__((deprecated));
# 473 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDCommentUPP
NewQDCommentUPP(QDCommentProcPtr userRoutine) __attribute__((deprecated));
# 484 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDTxMeasUPP
NewQDTxMeasUPP(QDTxMeasProcPtr userRoutine) __attribute__((deprecated));
# 495 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDGetPicUPP
NewQDGetPicUPP(QDGetPicProcPtr userRoutine) __attribute__((deprecated));
# 506 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDPutPicUPP
NewQDPutPicUPP(QDPutPicProcPtr userRoutine) __attribute__((deprecated));
# 517 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDOpcodeUPP
NewQDOpcodeUPP(QDOpcodeProcPtr userRoutine) __attribute__((deprecated));
# 528 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDStdGlyphsUPP
NewQDStdGlyphsUPP(QDStdGlyphsProcPtr userRoutine) __attribute__((deprecated));
# 539 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern QDJShieldCursorUPP
NewQDJShieldCursorUPP(QDJShieldCursorProcPtr userRoutine) __attribute__((deprecated));
# 550 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDTextUPP(QDTextUPP userUPP) __attribute__((deprecated));
# 561 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDLineUPP(QDLineUPP userUPP) __attribute__((deprecated));
# 572 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDRectUPP(QDRectUPP userUPP) __attribute__((deprecated));
# 583 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDRRectUPP(QDRRectUPP userUPP) __attribute__((deprecated));
# 594 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDOvalUPP(QDOvalUPP userUPP) __attribute__((deprecated));
# 605 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDArcUPP(QDArcUPP userUPP) __attribute__((deprecated));
# 616 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDPolyUPP(QDPolyUPP userUPP) __attribute__((deprecated));
# 627 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDRgnUPP(QDRgnUPP userUPP) __attribute__((deprecated));
# 638 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDBitsUPP(QDBitsUPP userUPP) __attribute__((deprecated));
# 649 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDCommentUPP(QDCommentUPP userUPP) __attribute__((deprecated));
# 660 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDTxMeasUPP(QDTxMeasUPP userUPP) __attribute__((deprecated));
# 671 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDGetPicUPP(QDGetPicUPP userUPP) __attribute__((deprecated));
# 682 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDPutPicUPP(QDPutPicUPP userUPP) __attribute__((deprecated));
# 693 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDOpcodeUPP(QDOpcodeUPP userUPP) __attribute__((deprecated));
# 704 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDStdGlyphsUPP(QDStdGlyphsUPP userUPP) __attribute__((deprecated));
# 715 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeQDJShieldCursorUPP(QDJShieldCursorUPP userUPP) __attribute__((deprecated));
# 726 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDTextUPP(
short byteCount,
const void * textBuf,
Point numer,
Point denom,
QDTextUPP userUPP) __attribute__((deprecated));
# 742 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDLineUPP(
Point newPt,
QDLineUPP userUPP) __attribute__((deprecated));
# 755 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDRectUPP(
GrafVerb verb,
const Rect * r,
QDRectUPP userUPP) __attribute__((deprecated));
# 769 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDRRectUPP(
GrafVerb verb,
const Rect * r,
short ovalWidth,
short ovalHeight,
QDRRectUPP userUPP) __attribute__((deprecated));
# 785 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDOvalUPP(
GrafVerb verb,
const Rect * r,
QDOvalUPP userUPP) __attribute__((deprecated));
# 799 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDArcUPP(
GrafVerb verb,
const Rect * r,
short startAngle,
short arcAngle,
QDArcUPP userUPP) __attribute__((deprecated));
# 815 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDPolyUPP(
GrafVerb verb,
PolyHandle poly,
QDPolyUPP userUPP) __attribute__((deprecated));
# 829 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDRgnUPP(
GrafVerb verb,
RgnHandle rgn,
QDRgnUPP userUPP) __attribute__((deprecated));
# 843 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDBitsUPP(
const BitMap * srcBits,
const Rect * srcRect,
const Rect * dstRect,
short mode,
RgnHandle maskRgn,
QDBitsUPP userUPP) __attribute__((deprecated));
# 860 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDCommentUPP(
short kind,
short dataSize,
Handle dataHandle,
QDCommentUPP userUPP) __attribute__((deprecated));
# 875 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern short
InvokeQDTxMeasUPP(
short byteCount,
const void * textAddr,
Point * numer,
Point * denom,
FontInfo * info,
QDTxMeasUPP userUPP) __attribute__((deprecated));
# 892 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDGetPicUPP(
void * dataPtr,
short byteCount,
QDGetPicUPP userUPP) __attribute__((deprecated));
# 906 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDPutPicUPP(
const void * dataPtr,
short byteCount,
QDPutPicUPP userUPP) __attribute__((deprecated));
# 920 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDOpcodeUPP(
const Rect * fromRect,
const Rect * toRect,
UInt16 opcode,
SInt16 version,
QDOpcodeUPP userUPP) __attribute__((deprecated));
# 936 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern OSStatus
InvokeQDStdGlyphsUPP(
void * dataStream,
ByteCount size,
QDStdGlyphsUPP userUPP) __attribute__((deprecated));
# 950 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeQDJShieldCursorUPP(
short left,
short top,
short right,
short bottom,
QDJShieldCursorUPP userUPP) __attribute__((deprecated));
# 1009 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
#define NewQDTextUPP(userRoutine) ((QDTextUPP)userRoutine)
#define NewQDLineUPP(userRoutine) ((QDLineUPP)userRoutine)
#define NewQDRectUPP(userRoutine) ((QDRectUPP)userRoutine)
#define NewQDRRectUPP(userRoutine) ((QDRRectUPP)userRoutine)
#define NewQDOvalUPP(userRoutine) ((QDOvalUPP)userRoutine)
#define NewQDArcUPP(userRoutine) ((QDArcUPP)userRoutine)
#define NewQDPolyUPP(userRoutine) ((QDPolyUPP)userRoutine)
#define NewQDRgnUPP(userRoutine) ((QDRgnUPP)userRoutine)
#define NewQDBitsUPP(userRoutine) ((QDBitsUPP)userRoutine)
#define NewQDCommentUPP(userRoutine) ((QDCommentUPP)userRoutine)
#define NewQDTxMeasUPP(userRoutine) ((QDTxMeasUPP)userRoutine)
#define NewQDGetPicUPP(userRoutine) ((QDGetPicUPP)userRoutine)
#define NewQDPutPicUPP(userRoutine) ((QDPutPicUPP)userRoutine)
#define NewQDOpcodeUPP(userRoutine) ((QDOpcodeUPP)userRoutine)
#define NewQDStdGlyphsUPP(userRoutine) ((QDStdGlyphsUPP)userRoutine)
#define NewQDJShieldCursorUPP(userRoutine) ((QDJShieldCursorUPP)userRoutine)
#define DisposeQDTextUPP(userUPP)
#define DisposeQDLineUPP(userUPP)
#define DisposeQDRectUPP(userUPP)
#define DisposeQDRRectUPP(userUPP)
#define DisposeQDOvalUPP(userUPP)
#define DisposeQDArcUPP(userUPP)
#define DisposeQDPolyUPP(userUPP)
#define DisposeQDRgnUPP(userUPP)
#define DisposeQDBitsUPP(userUPP)
#define DisposeQDCommentUPP(userUPP)
#define DisposeQDTxMeasUPP(userUPP)
#define DisposeQDGetPicUPP(userUPP)
#define DisposeQDPutPicUPP(userUPP)
#define DisposeQDOpcodeUPP(userUPP)
#define DisposeQDStdGlyphsUPP(userUPP)
#define DisposeQDJShieldCursorUPP(userUPP)
#define InvokeQDTextUPP(byteCount,textBuf,numer,denom,userUPP) (*userUPP)(byteCount, textBuf, numer, denom)
#define InvokeQDLineUPP(newPt,userUPP) (*userUPP)(newPt)
#define InvokeQDRectUPP(verb,r,userUPP) (*userUPP)(verb, r)
#define InvokeQDRRectUPP(verb,r,ovalWidth,ovalHeight,userUPP) (*userUPP)(verb, r, ovalWidth, ovalHeight)
#define InvokeQDOvalUPP(verb,r,userUPP) (*userUPP)(verb, r)
#define InvokeQDArcUPP(verb,r,startAngle,arcAngle,userUPP) (*userUPP)(verb, r, startAngle, arcAngle)
#define InvokeQDPolyUPP(verb,poly,userUPP) (*userUPP)(verb, poly)
#define InvokeQDRgnUPP(verb,rgn,userUPP) (*userUPP)(verb, rgn)
#define InvokeQDBitsUPP(srcBits,srcRect,dstRect,mode,maskRgn,userUPP) (*userUPP)(srcBits, srcRect, dstRect, mode, maskRgn)
#define InvokeQDCommentUPP(kind,dataSize,dataHandle,userUPP) (*userUPP)(kind, dataSize, dataHandle)
#define InvokeQDTxMeasUPP(byteCount,textAddr,numer,denom,info,userUPP) (*userUPP)(byteCount, textAddr, numer, denom, info)
#define InvokeQDGetPicUPP(dataPtr,byteCount,userUPP) (*userUPP)(dataPtr, byteCount)
#define InvokeQDPutPicUPP(dataPtr,byteCount,userUPP) (*userUPP)(dataPtr, byteCount)
#define InvokeQDOpcodeUPP(fromRect,toRect,opcode,version,userUPP) (*userUPP)(fromRect, toRect, opcode, version)
#define InvokeQDStdGlyphsUPP(dataStream,size,userUPP) (*userUPP)(dataStream, size)
#define InvokeQDJShieldCursorUPP(left,top,right,bottom,userUPP) (*userUPP)(left, top, right, bottom)
# 1100 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
typedef struct OpaqueWindowPtr* WindowPtr;
typedef struct OpaqueDialogPtr* DialogPtr;
typedef struct OpaqueGrafPtr* GrafPtr;
typedef WindowPtr WindowRef;
typedef UInt16 DragConstraint;
enum {
kNoConstraint = 0,
kVerticalConstraint = 1,
kHorizontalConstraint = 2
};
typedef void ( * DragGrayRgnProcPtr)(void);
struct RGBColor {
unsigned short red;
unsigned short green;
unsigned short blue;
};
typedef struct RGBColor RGBColor;
typedef RGBColor * RGBColorPtr;
typedef RGBColorPtr * RGBColorHdl;
typedef Boolean ( * ColorSearchProcPtr)(RGBColor *rgb, long *position);
typedef Boolean ( * ColorComplementProcPtr)(RGBColor * rgb);
typedef DragGrayRgnProcPtr DragGrayRgnUPP;
typedef ColorSearchProcPtr ColorSearchUPP;
typedef ColorComplementProcPtr ColorComplementUPP;
# 1142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern DragGrayRgnUPP
NewDragGrayRgnUPP(DragGrayRgnProcPtr userRoutine) __attribute__((deprecated));
# 1153 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern ColorSearchUPP
NewColorSearchUPP(ColorSearchProcPtr userRoutine) __attribute__((deprecated));
# 1164 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern ColorComplementUPP
NewColorComplementUPP(ColorComplementProcPtr userRoutine) __attribute__((deprecated));
# 1175 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeDragGrayRgnUPP(DragGrayRgnUPP userUPP) __attribute__((deprecated));
# 1186 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeColorSearchUPP(ColorSearchUPP userUPP) __attribute__((deprecated));
# 1197 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeColorComplementUPP(ColorComplementUPP userUPP) __attribute__((deprecated));
# 1208 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeDragGrayRgnUPP(DragGrayRgnUPP userUPP) __attribute__((deprecated));
# 1219 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern Boolean
InvokeColorSearchUPP(
RGBColor * rgb,
long * position,
ColorSearchUPP userUPP) __attribute__((deprecated));
# 1233 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern Boolean
InvokeColorComplementUPP(
RGBColor * rgb,
ColorComplementUPP userUPP) __attribute__((deprecated));
# 1250 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
#define NewDragGrayRgnUPP(userRoutine) ((DragGrayRgnUPP)userRoutine)
#define NewColorSearchUPP(userRoutine) ((ColorSearchUPP)userRoutine)
#define NewColorComplementUPP(userRoutine) ((ColorComplementUPP)userRoutine)
#define DisposeDragGrayRgnUPP(userUPP)
#define DisposeColorSearchUPP(userUPP)
#define DisposeColorComplementUPP(userUPP)
#define InvokeDragGrayRgnUPP(userUPP) (*userUPP)()
#define InvokeColorSearchUPP(rgb,position,userUPP) (*userUPP)(rgb, position)
#define InvokeColorComplementUPP(rgb,userUPP) (*userUPP)(rgb)
struct ColorSpec {
short value;
RGBColor rgb;
};
typedef struct ColorSpec ColorSpec;
typedef ColorSpec * ColorSpecPtr;
typedef ColorSpec CSpecArray[1];
struct ColorTable {
SInt32 ctSeed;
short ctFlags;
short ctSize;
CSpecArray ctTable;
};
typedef struct ColorTable ColorTable;
typedef ColorTable * CTabPtr;
typedef CTabPtr * CTabHandle;
struct xColorSpec {
short value;
RGBColor rgb;
short xalpha;
};
typedef struct xColorSpec xColorSpec;
typedef xColorSpec * xColorSpecPtr;
typedef xColorSpec xCSpecArray[1];
struct MatchRec {
unsigned short red;
unsigned short green;
unsigned short blue;
long matchData;
};
typedef struct MatchRec MatchRec;
#define OLDPIXMAPSTRUCT 0
#define NON_MAC_PIXEL_FORMATS 1
#define GETPIXMAPPIXELFORMAT(pm) ( ((pm)->pixelFormat != 0) ? (UInt32)(pm)->pixelFormat : (UInt32)(pm)->pixelSize )
# 1310 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
enum {
k1MonochromePixelFormat = 0x00000001,
k2IndexedPixelFormat = 0x00000002,
k4IndexedPixelFormat = 0x00000004,
k8IndexedPixelFormat = 0x00000008,
k16BE555PixelFormat = 0x00000010,
k24RGBPixelFormat = 0x00000018,
k32ARGBPixelFormat = 0x00000020,
k1IndexedGrayPixelFormat = 0x00000021,
k2IndexedGrayPixelFormat = 0x00000022,
k4IndexedGrayPixelFormat = 0x00000024,
k8IndexedGrayPixelFormat = 0x00000028,
k16LE555PixelFormat = 'L555',
k16LE5551PixelFormat = '5551',
k16BE565PixelFormat = 'B565',
k16LE565PixelFormat = 'L565',
k24BGRPixelFormat = '24BG',
k32BGRAPixelFormat = 'BGRA',
k32ABGRPixelFormat = 'ABGR',
k32RGBAPixelFormat = 'RGBA',
kYUVSPixelFormat = 'yuvs',
kYUVUPixelFormat = 'yuvu',
kYVU9PixelFormat = 'YVU9',
kYUV411PixelFormat = 'Y411',
kYVYU422PixelFormat = 'YVYU',
kUYVY422PixelFormat = 'UYVY',
kYUV211PixelFormat = 'Y211',
k2vuyPixelFormat = '2vuy'
};
struct PixMap {
Ptr baseAddr;
short rowBytes;
Rect bounds;
short pmVersion;
short packType;
SInt32 packSize;
Fixed hRes;
Fixed vRes;
short pixelType;
short pixelSize;
short cmpCount;
short cmpSize;
OSType pixelFormat;
CTabHandle pmTable;
void * pmExt;
};
typedef struct PixMap PixMap;
typedef PixMap * PixMapPtr;
typedef PixMapPtr * PixMapHandle;
struct PixPat {
short patType;
PixMapHandle patMap;
Handle patData;
Handle patXData;
short patXValid;
Handle patXMap;
Pattern pat1Data;
};
typedef struct PixPat PixPat;
typedef PixPat * PixPatPtr;
typedef PixPatPtr * PixPatHandle;
struct CCrsr {
short crsrType;
PixMapHandle crsrMap;
Handle crsrData;
Handle crsrXData;
short crsrXValid;
Handle crsrXHandle;
Bits16 crsr1Data;
Bits16 crsrMask;
Point crsrHotSpot;
SInt32 crsrXTable;
SInt32 crsrID;
};
typedef struct CCrsr CCrsr;
typedef CCrsr * CCrsrPtr;
typedef CCrsrPtr * CCrsrHandle;
struct GammaTbl {
short gVersion;
short gType;
short gFormulaSize;
short gChanCnt;
short gDataCnt;
short gDataWidth;
short gFormulaData[1];
};
typedef struct GammaTbl GammaTbl;
typedef GammaTbl * GammaTblPtr;
typedef GammaTblPtr * GammaTblHandle;
struct ITab {
SInt32 iTabSeed;
short iTabRes;
Byte iTTable[1];
};
typedef struct ITab ITab;
typedef ITab * ITabPtr;
typedef ITabPtr * ITabHandle;
struct SProcRec {
Handle nxtSrch;
ColorSearchUPP srchProc;
};
typedef struct SProcRec SProcRec;
typedef SProcRec * SProcPtr;
typedef SProcPtr * SProcHndl;
struct CProcRec {
Handle nxtComp;
ColorComplementUPP compProc;
};
typedef struct CProcRec CProcRec;
typedef CProcRec * CProcPtr;
typedef CProcPtr * CProcHndl;
#define OLDGDEVICESTRUCT 0
typedef struct GDevice GDevice;
typedef GDevice * GDPtr;
typedef GDPtr * GDHandle;
struct GDevice {
short gdRefNum;
short gdID;
short gdType;
ITabHandle gdITable;
short gdResPref;
SProcHndl gdSearchProc;
CProcHndl gdCompProc;
short gdFlags;
PixMapHandle gdPMap;
SInt32 gdRefCon;
GDHandle gdNextGD;
Rect gdRect;
SInt32 gdMode;
short gdCCBytes;
short gdCCDepth;
Handle gdCCXData;
Handle gdCCXMask;
Handle gdExt;
};
struct GrafVars {
RGBColor rgbOpColor;
RGBColor rgbHiliteColor;
Handle pmFgColor;
short pmFgIndex;
Handle pmBkColor;
short pmBkIndex;
short pmFlags;
};
typedef struct GrafVars GrafVars;
typedef GrafVars * GVarPtr;
typedef GVarPtr * GVarHandle;
typedef GrafPtr CGrafPtr;
typedef OSStatus ( * QDPrinterStatusProcPtr)(PrinterStatusOpcode opcode, CGrafPtr currentPort, void *printerStatus);
typedef QDPrinterStatusProcPtr QDPrinterStatusUPP;
struct CQDProcs {
QDTextUPP textProc;
QDLineUPP lineProc;
QDRectUPP rectProc;
QDRRectUPP rRectProc;
QDOvalUPP ovalProc;
QDArcUPP arcProc;
QDPolyUPP polyProc;
QDRgnUPP rgnProc;
QDBitsUPP bitsProc;
QDCommentUPP commentProc;
QDTxMeasUPP txMeasProc;
QDGetPicUPP getPicProc;
QDPutPicUPP putPicProc;
QDOpcodeUPP opcodeProc;
UniversalProcPtr newProc1;
QDStdGlyphsUPP glyphsProc;
QDPrinterStatusUPP printerStatusProc;
UniversalProcPtr newProc4;
UniversalProcPtr newProc5;
UniversalProcPtr newProc6;
};
typedef struct CQDProcs CQDProcs;
typedef CQDProcs * CQDProcsPtr;
# 1537 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
typedef WindowPtr CWindowPtr;
struct ReqListRec {
short reqLSize;
short reqLData[1];
};
typedef struct ReqListRec ReqListRec;
struct OpenCPicParams {
Rect srcRect;
Fixed hRes;
Fixed vRes;
short version;
short reserved1;
SInt32 reserved2;
};
typedef struct OpenCPicParams OpenCPicParams;
typedef void ( * DeviceLoopDrawingProcPtr)(short depth, short deviceFlags, GDHandle targetDevice, SRefCon userData);
typedef DeviceLoopDrawingProcPtr DeviceLoopDrawingUPP;
# 1575 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern DeviceLoopDrawingUPP
NewDeviceLoopDrawingUPP(DeviceLoopDrawingProcPtr userRoutine) __attribute__((deprecated));
# 1595 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
DisposeDeviceLoopDrawingUPP(DeviceLoopDrawingUPP userUPP) __attribute__((deprecated));
# 1615 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
extern void
InvokeDeviceLoopDrawingUPP(
short depth,
short deviceFlags,
GDHandle targetDevice,
SRefCon userData,
DeviceLoopDrawingUPP userUPP) __attribute__((deprecated));
#define NewDeviceLoopDrawingUPP(userRoutine) ((DeviceLoopDrawingUPP)userRoutine)
#define DisposeDeviceLoopDrawingUPP(userUPP)
#define InvokeDeviceLoopDrawingUPP(depth,deviceFlags,targetDevice,userData,userUPP) (*userUPP)(depth, deviceFlags, targetDevice, userData)
# 1667 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h" 3
#pragma pack(pop)
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define __QUICKDRAWAPI__
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#pragma pack(push, 2)
# 70 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
enum {
kQDRegionToRectsMsgInit = 1,
kQDRegionToRectsMsgParse = 2,
kQDRegionToRectsMsgTerminate = 3
};
enum {
kQDParseRegionFromTop = (1 << 0),
kQDParseRegionFromBottom = (1 << 1),
kQDParseRegionFromLeft = (1 << 2),
kQDParseRegionFromRight = (1 << 3),
kQDParseRegionFromTopLeft = kQDParseRegionFromTop | kQDParseRegionFromLeft,
kQDParseRegionFromBottomRight = kQDParseRegionFromBottom | kQDParseRegionFromRight
};
typedef SInt32 QDRegionParseDirection;
typedef OSStatus ( * RegionToRectsProcPtr)(UInt16 message, RgnHandle rgn, const Rect *rect, void *refCon);
typedef RegionToRectsProcPtr RegionToRectsUPP;
# 96 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern RegionToRectsUPP
NewRegionToRectsUPP(RegionToRectsProcPtr userRoutine) __attribute__((deprecated));
# 107 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
DisposeRegionToRectsUPP(RegionToRectsUPP userUPP) __attribute__((deprecated));
# 118 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
InvokeRegionToRectsUPP(
UInt16 message,
RgnHandle rgn,
const Rect * rect,
void * refCon,
RegionToRectsUPP userUPP) __attribute__((deprecated));
#define NewRegionToRectsUPP(userRoutine) ((RegionToRectsUPP)userRoutine)
#define DisposeRegionToRectsUPP(userUPP)
#define InvokeRegionToRectsUPP(message,rgn,rect,refCon,userUPP) (*userUPP)(message, rgn, rect, refCon)
# 149 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern OSStatus
QDRegionToRects(
RgnHandle rgn,
QDRegionParseDirection dir,
RegionToRectsUPP proc,
void * userData) ;
# 844 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacSetRect SetRect
extern void
SetRect(
Rect * r,
short left,
short top,
short right,
short bottom) ;
# 867 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacOffsetRect OffsetRect
extern void
OffsetRect(
Rect * r,
short dh,
short dv) ;
# 888 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacInsetRect InsetRect
extern void
InsetRect(
Rect * r,
short dh,
short dv) ;
# 908 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
SectRect(
const Rect * src1,
const Rect * src2,
Rect * dstRect) ;
# 927 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacUnionRect UnionRect
extern void
UnionRect(
const Rect * src1,
const Rect * src2,
Rect * dstRect) ;
# 948 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacEqualRect EqualRect
extern Boolean
EqualRect(
const Rect * rect1,
const Rect * rect2) ;
# 967 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
EmptyRect(const Rect * r) ;
# 2146 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SetPt(
Point * pt,
short h,
short v) ;
# 2249 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
ScalePt(
Point * pt,
const Rect * srcRect,
const Rect * dstRect) ;
# 2267 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
MapPt(
Point * pt,
const Rect * srcRect,
const Rect * dstRect) ;
# 2285 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
MapRect(
Rect * r,
const Rect * srcRect,
const Rect * dstRect) ;
# 2554 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
AddPt(
Point src,
Point * dst) ;
# 2571 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern Boolean
EqualPt(
Point pt1,
Point pt2) ;
# 2589 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#define MacPtInRect PtInRect
extern Boolean
PtInRect(
Point pt,
const Rect * r) ;
# 2608 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
Pt2Rect(
Point pt1,
Point pt2,
Rect * dstRect) ;
# 2626 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
PtToAngle(
const Rect * r,
Point pt,
short * angle) ;
# 2644 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
extern void
SubPt(
Point src,
Point * dst) ;
# 4006 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
enum {
colorXorXFer = 52,
noiseXFer = 53,
customXFer = 54
};
enum {
kXFer1PixelAtATime = 0x00000001,
kXFerConvertPixelToRGB32 = 0x00000002
};
struct CustomXFerRec {
UInt32 version;
void * srcPixels;
void * destPixels;
void * resultPixels;
UInt32 refCon;
UInt32 pixelSize;
UInt32 pixelCount;
Point firstPixelHV;
Rect destBounds;
};
typedef struct CustomXFerRec CustomXFerRec;
typedef CustomXFerRec * CustomXFerRecPtr;
typedef void ( * CustomXFerProcPtr)(CustomXFerRecPtr info);
# 4074 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
enum {
kCursorComponentsVersion = 0x00010001
};
enum {
kCursorComponentType = 'curs'
};
enum {
cursorDoesAnimate = 1L << 0,
cursorDoesHardware = 1L << 1,
cursorDoesUnreadableScreenBits = 1L << 2
};
enum {
kRenderCursorInHardware = 1L << 0,
kRenderCursorInSoftware = 1L << 1
};
struct CursorInfo {
long version;
long capabilities;
long animateDuration;
Rect bounds;
Point hotspot;
long reserved;
};
typedef struct CursorInfo CursorInfo;
enum {
kCursorComponentInit = 0x0001,
kCursorComponentGetInfo = 0x0002,
kCursorComponentSetOutputMode = 0x0003,
kCursorComponentSetData = 0x0004,
kCursorComponentReconfigure = 0x0005,
kCursorComponentDraw = 0x0006,
kCursorComponentErase = 0x0007,
kCursorComponentMove = 0x0008,
kCursorComponentAnimate = 0x0009,
kCursorComponentLastReserved = 0x0050
};
# 5930 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
typedef struct OpaqueQDRegionBitsRef* QDRegionBitsRef;
# 6286 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
enum {
kQDXArrowCursor = 0,
kQDXIBeamCursor = 1,
kQDXIBeamXORCursor = 2,
kQDXAliasCursor = 3,
kQDXCopyCursor = 4,
kQDXMoveCursor = 5,
kQDXNumberOfSystemCursors = 6
};
typedef UInt32 QDXSystemCursorID;
# 6421 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
enum {
kQDUseDefaultTextRendering = 0,
kQDUseTrueTypeScalerGlyphs = (1 << 0),
kQDUseCGTextRendering = (1 << 1),
kQDUseCGTextMetrics = (1 << 2),
kQDSupportedFlags = kQDUseTrueTypeScalerGlyphs | kQDUseCGTextRendering | kQDUseCGTextMetrics,
kQDDontChangeFlags = (long)0xFFFFFFFF
};
# 6986 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h" 3
#pragma pack(pop)
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h" 3
#define __QUICKDRAW__
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
#define __QDOFFSCREEN__
# 44 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
enum {
pixPurgeBit = 0,
noNewDeviceBit = 1,
useTempMemBit = 2,
keepLocalBit = 3,
useDistantHdwrMemBit = 4,
useLocalHdwrMemBit = 5,
pixelsPurgeableBit = 6,
pixelsLockedBit = 7,
nativeEndianPixMapBit = 8,
mapPixBit = 16,
newDepthBit = 17,
alignPixBit = 18,
newRowBytesBit = 19,
reallocPixBit = 20,
clipPixBit = 28,
stretchPixBit = 29,
ditherPixBit = 30,
gwFlagErrBit = 31
};
enum {
pixPurge = 1L << pixPurgeBit,
noNewDevice = 1L << noNewDeviceBit,
useTempMem = 1L << useTempMemBit,
keepLocal = 1L << keepLocalBit,
useDistantHdwrMem = 1L << useDistantHdwrMemBit,
useLocalHdwrMem = 1L << useLocalHdwrMemBit,
pixelsPurgeable = 1L << pixelsPurgeableBit,
pixelsLocked = 1L << pixelsLockedBit,
kNativeEndianPixMap = 1L << nativeEndianPixMapBit,
kAllocDirectDrawSurface = 1L << 14,
mapPix = 1L << mapPixBit,
newDepth = 1L << newDepthBit,
alignPix = 1L << alignPixBit,
newRowBytes = 1L << newRowBytesBit,
reallocPix = 1L << reallocPixBit,
clipPix = 1L << clipPixBit,
stretchPix = 1L << stretchPixBit,
ditherPix = 1L << ditherPixBit,
gwFlagErr = 1L << gwFlagErrBit
};
typedef unsigned long GWorldFlags;
typedef CGrafPtr GWorldPtr;
# 112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h" 3
enum {
deviceIsIndirect = (1L << 0),
deviceNeedsLock = (1L << 1),
deviceIsStatic = (1L << 2),
deviceIsExternalBuffer = (1L << 3),
deviceIsDDSurface = (1L << 4),
deviceIsDCISurface = (1L << 5),
deviceIsGDISurface = (1L << 6),
deviceIsAScreen = (1L << 7),
deviceIsOverlaySurface = (1L << 8)
};
# 55 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
#define __QDPICTTOCGCONTEXT__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 2 3
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDPictToCGContext.h" 3
typedef struct QDPict* QDPictRef;
# 59 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
#define __FONTS__
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
#pragma pack(push, 2)
# 158 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
enum {
systemFont = 0,
applFont = 1
};
enum {
kFMDefaultOptions = kNilOptions
};
enum {
kFMDefaultActivationContext = kFMDefaultOptions,
kFMGlobalActivationContext = 0x00000001,
kFMLocalActivationContext = kFMDefaultActivationContext
};
enum {
kFMDefaultIterationScope = kFMDefaultOptions,
kFMGlobalIterationScope = 0x00000001,
kFMLocalIterationScope = kFMDefaultIterationScope
};
enum {
kPlatformDefaultGuiFontID = applFont
};
enum {
commandMark = 17,
checkMark = 18,
diamondMark = 19,
appleMark = 20
};
enum {
propFont = 36864L,
prpFntH = 36865L,
prpFntW = 36866L,
prpFntHW = 36867L,
fixedFont = 45056L,
fxdFntH = 45057L,
fxdFntW = 45058L,
fxdFntHW = 45059L,
fontWid = 44208L
};
struct FMInput {
short family;
short size;
Style face;
Boolean needBits;
short device;
Point numer;
Point denom;
};
typedef struct FMInput FMInput;
struct FMOutput {
short errNum;
Handle fontHandle;
UInt8 boldPixels;
UInt8 italicPixels;
UInt8 ulOffset;
UInt8 ulShadow;
UInt8 ulThick;
UInt8 shadowPixels;
SInt8 extra;
UInt8 ascent;
UInt8 descent;
UInt8 widMax;
SInt8 leading;
SInt8 curStyle;
Point numer;
Point denom;
};
typedef struct FMOutput FMOutput;
typedef FMOutput * FMOutputPtr;
typedef FMOutputPtr FMOutPtr;
struct FMetricRec {
Fixed ascent;
Fixed descent;
Fixed leading;
Fixed widMax;
Handle wTabHandle;
};
typedef struct FMetricRec FMetricRec;
typedef FMetricRec * FMetricRecPtr;
typedef FMetricRecPtr * FMetricRecHandle;
# 1148 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
typedef FMFontFamily FontFamilyID;
typedef FMFontSize FontPointSize;
enum {
kFMUseGlobalScopeOption = 0x00000001
};
enum {
kFontIDNewYork = 2,
kFontIDGeneva = 3,
kFontIDMonaco = 4,
kFontIDVenice = 5,
kFontIDLondon = 6,
kFontIDAthens = 7,
kFontIDSanFrancisco = 8,
kFontIDToronto = 9,
kFontIDCairo = 11,
kFontIDLosAngeles = 12,
kFontIDTimes = 20,
kFontIDHelvetica = 21,
kFontIDCourier = 22,
kFontIDSymbol = 23,
kFontIDMobile = 24
};
# 1185 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
struct WidEntry {
SInt16 widStyle;
};
typedef struct WidEntry WidEntry;
struct WidTable {
SInt16 numWidths;
};
typedef struct WidTable WidTable;
struct AsscEntry {
SInt16 fontSize;
SInt16 fontStyle;
SInt16 fontID;
};
typedef struct AsscEntry AsscEntry;
struct FontAssoc {
SInt16 numAssoc;
};
typedef struct FontAssoc FontAssoc;
struct StyleTable {
SInt16 fontClass;
SInt32 offset;
SInt32 reserved;
char indexes[48];
};
typedef struct StyleTable StyleTable;
struct NameTable {
SInt16 stringCount;
Str255 baseFontName;
};
typedef struct NameTable NameTable;
struct KernPair {
char kernFirst;
char kernSecond;
SInt16 kernWidth;
};
typedef struct KernPair KernPair;
struct KernEntry {
SInt16 kernStyle;
SInt16 kernLength;
};
typedef struct KernEntry KernEntry;
struct KernTable {
SInt16 numKerns;
};
typedef struct KernTable KernTable;
struct WidthTable {
Fixed tabData[256];
Handle tabFont;
long sExtra;
long style;
short fID;
short fSize;
short face;
short device;
Point inNumer;
Point inDenom;
short aFID;
Handle fHand;
Boolean usedFam;
UInt8 aFace;
short vOutput;
short hOutput;
short vFactor;
short hFactor;
short aSize;
short tabSize;
};
typedef struct WidthTable WidthTable;
typedef WidthTable * WidthTablePtr;
typedef WidthTablePtr * WidthTableHdl;
struct FamRec {
SInt16 ffFlags;
SInt16 ffFamID;
SInt16 ffFirstChar;
SInt16 ffLastChar;
SInt16 ffAscent;
SInt16 ffDescent;
SInt16 ffLeading;
SInt16 ffWidMax;
SInt32 ffWTabOff;
SInt32 ffKernOff;
SInt32 ffStylOff;
SInt16 ffProperty[9];
SInt16 ffIntl[2];
SInt16 ffVersion;
};
typedef struct FamRec FamRec;
struct FontRec {
SInt16 fontType;
SInt16 firstChar;
SInt16 lastChar;
SInt16 widMax;
SInt16 kernMax;
SInt16 nDescent;
SInt16 fRectWidth;
SInt16 fRectHeight;
UInt16 owTLoc;
SInt16 ascent;
SInt16 descent;
SInt16 leading;
SInt16 rowWords;
};
typedef struct FontRec FontRec;
typedef FontRec * FontRecPtr;
typedef FontRecPtr * FontRecHdl;
# 1312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h" 3
#pragma pack(pop)
# 67 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
#define __PALETTES__
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
#pragma pack(push, 2)
enum {
pmCourteous = 0,
pmDithered = 0x0001,
pmTolerant = 0x0002,
pmAnimated = 0x0004,
pmExplicit = 0x0008,
pmWhite = 0x0010,
pmBlack = 0x0020,
pmInhibitG2 = 0x0100,
pmInhibitC2 = 0x0200,
pmInhibitG4 = 0x0400,
pmInhibitC4 = 0x0800,
pmInhibitG8 = 0x1000,
pmInhibitC8 = 0x2000,
pmNoUpdates = 0x8000,
pmBkUpdates = 0xA000,
pmFgUpdates = 0xC000,
pmAllUpdates = 0xE000
};
struct ColorInfo {
RGBColor ciRGB;
short ciUsage;
short ciTolerance;
short ciDataFields[3];
};
typedef struct ColorInfo ColorInfo;
typedef ColorInfo * ColorInfoPtr;
typedef ColorInfoPtr * ColorInfoHandle;
struct Palette {
short pmEntries;
short pmDataFields[7];
ColorInfo pmInfo[1];
};
typedef struct Palette Palette;
typedef Palette * PalettePtr;
typedef PalettePtr * PaletteHandle;
# 528 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Palettes.h" 3
#pragma pack(pop)
# 71 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
#define __PICTUTILS__
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
#pragma pack(push, 2)
enum {
returnColorTable = 0x0001,
returnPalette = 0x0002,
recordComments = 0x0004,
recordFontInfo = 0x0008,
suppressBlackAndWhite = 0x0010
};
enum {
systemMethod = 0,
popularMethod = 1,
medianMethod = 2
};
enum {
ColorBankIsCustom = -1,
ColorBankIsExactAnd555 = 0,
ColorBankIs555 = 1
};
typedef long PictInfoID;
struct CommentSpec {
short count;
short ID;
};
typedef struct CommentSpec CommentSpec;
typedef CommentSpec * CommentSpecPtr;
typedef CommentSpecPtr * CommentSpecHandle;
struct FontSpec {
short pictFontID;
short sysFontID;
long size[4];
short style;
long nameOffset;
};
typedef struct FontSpec FontSpec;
typedef FontSpec * FontSpecPtr;
typedef FontSpecPtr * FontSpecHandle;
struct PictInfo {
short version;
long uniqueColors;
PaletteHandle thePalette;
CTabHandle theColorTable;
Fixed hRes;
Fixed vRes;
short depth;
Rect sourceRect;
long textCount;
long lineCount;
long rectCount;
long rRectCount;
long ovalCount;
long arcCount;
long polyCount;
long regionCount;
long bitMapCount;
long pixMapCount;
long commentCount;
long uniqueComments;
CommentSpecHandle commentHandle;
long uniqueFonts;
FontSpecHandle fontHandle;
Handle fontNamesHandle;
long reserved1;
long reserved2;
};
typedef struct PictInfo PictInfo;
typedef PictInfo * PictInfoPtr;
typedef PictInfoPtr * PictInfoHandle;
typedef OSErr ( * InitPickMethodProcPtr)(SInt16 colorsRequested, UInt32 *dataRef, SInt16 *colorBankType);
typedef OSErr ( * RecordColorsProcPtr)(UInt32 dataRef, RGBColor *colorsArray, SInt32 colorCount, SInt32 *uniqueColors);
typedef OSErr ( * CalcColorTableProcPtr)(UInt32 dataRef, SInt16 colorsRequested, void *colorBankPtr, CSpecArray resultPtr);
typedef OSErr ( * DisposeColorPickMethodProcPtr)(UInt32 dataRef);
typedef InitPickMethodProcPtr InitPickMethodUPP;
typedef RecordColorsProcPtr RecordColorsUPP;
typedef CalcColorTableProcPtr CalcColorTableUPP;
typedef DisposeColorPickMethodProcPtr DisposeColorPickMethodUPP;
# 129 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern InitPickMethodUPP
NewInitPickMethodUPP(InitPickMethodProcPtr userRoutine) __attribute__((deprecated));
# 140 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern RecordColorsUPP
NewRecordColorsUPP(RecordColorsProcPtr userRoutine) __attribute__((deprecated));
# 151 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern CalcColorTableUPP
NewCalcColorTableUPP(CalcColorTableProcPtr userRoutine) __attribute__((deprecated));
# 162 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern DisposeColorPickMethodUPP
NewDisposeColorPickMethodUPP(DisposeColorPickMethodProcPtr userRoutine) __attribute__((deprecated));
# 173 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern void
DisposeInitPickMethodUPP(InitPickMethodUPP userUPP) __attribute__((deprecated));
# 184 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern void
DisposeRecordColorsUPP(RecordColorsUPP userUPP) __attribute__((deprecated));
# 195 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern void
DisposeCalcColorTableUPP(CalcColorTableUPP userUPP) __attribute__((deprecated));
# 206 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern void
DisposeDisposeColorPickMethodUPP(DisposeColorPickMethodUPP userUPP) __attribute__((deprecated));
# 217 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
InvokeInitPickMethodUPP(
SInt16 colorsRequested,
UInt32 * dataRef,
SInt16 * colorBankType,
InitPickMethodUPP userUPP) __attribute__((deprecated));
# 232 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
InvokeRecordColorsUPP(
UInt32 dataRef,
RGBColor * colorsArray,
SInt32 colorCount,
SInt32 * uniqueColors,
RecordColorsUPP userUPP) __attribute__((deprecated));
# 248 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
InvokeCalcColorTableUPP(
UInt32 dataRef,
SInt16 colorsRequested,
void * colorBankPtr,
CSpecArray resultPtr,
CalcColorTableUPP userUPP) __attribute__((deprecated));
# 264 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
extern OSErr
InvokeDisposeColorPickMethodUPP(
UInt32 dataRef,
DisposeColorPickMethodUPP userUPP) __attribute__((deprecated));
# 284 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
#define NewInitPickMethodUPP(userRoutine) ((InitPickMethodUPP)userRoutine)
#define NewRecordColorsUPP(userRoutine) ((RecordColorsUPP)userRoutine)
#define NewCalcColorTableUPP(userRoutine) ((CalcColorTableUPP)userRoutine)
#define NewDisposeColorPickMethodUPP(userRoutine) ((DisposeColorPickMethodUPP)userRoutine)
#define DisposeInitPickMethodUPP(userUPP)
#define DisposeRecordColorsUPP(userUPP)
#define DisposeCalcColorTableUPP(userUPP)
#define DisposeDisposeColorPickMethodUPP(userUPP)
#define InvokeInitPickMethodUPP(colorsRequested,dataRef,colorBankType,userUPP) (*userUPP)(colorsRequested, dataRef, colorBankType)
#define InvokeRecordColorsUPP(dataRef,colorsArray,colorCount,uniqueColors,userUPP) (*userUPP)(dataRef, colorsArray, colorCount, uniqueColors)
#define InvokeCalcColorTableUPP(dataRef,colorsRequested,colorBankPtr,resultPtr,userUPP) (*userUPP)(dataRef, colorsRequested, colorBankPtr, resultPtr)
#define InvokeDisposeColorPickMethodUPP(dataRef,userUPP) (*userUPP)(dataRef)
# 418 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/PictUtils.h" 3
#pragma pack(pop)
# 75 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
#define __VIDEO__
# 31 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
#pragma pack(push, 2)
# 45 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
enum {
mBaseOffset = 1,
mRowBytes = 2,
mBounds = 3,
mVersion = 4,
mHRes = 5,
mVRes = 6,
mPixelType = 7,
mPixelSize = 8,
mCmpCount = 9,
mCmpSize = 10,
mPlaneBytes = 11,
mVertRefRate = 14,
mVidParams = 1,
mTable = 2,
mPageCnt = 3,
mDevType = 4,
oneBitMode = 128,
twoBitMode = 129,
fourBitMode = 130,
eightBitMode = 131
};
enum {
sixteenBitMode = 132,
thirtyTwoBitMode = 133,
firstVidMode = 128,
secondVidMode = 129,
thirdVidMode = 130,
fourthVidMode = 131,
fifthVidMode = 132,
sixthVidMode = 133,
spGammaDir = 64,
spVidNamesDir = 65
};
enum {
kDeclROMtables = 'decl',
kDetailedTimingFormat = 'arba'
};
enum {
kDDCBlockSize = 128
};
enum {
kDDCBlockTypeEDID = 0
};
enum {
kDDCForceReadBit = 0,
kDDCForceReadMask = (1 << kDDCForceReadBit)
};
# 114 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
enum {
timingInvalid = 0,
timingInvalid_SM_T24 = 8,
timingApple_FixedRateLCD = 42,
timingApple_512x384_60hz = 130,
timingApple_560x384_60hz = 135,
timingApple_640x480_67hz = 140,
timingApple_640x400_67hz = 145,
timingVESA_640x480_60hz = 150,
timingVESA_640x480_72hz = 152,
timingVESA_640x480_75hz = 154,
timingVESA_640x480_85hz = 158,
timingGTF_640x480_120hz = 159,
timingApple_640x870_75hz = 160,
timingApple_640x818_75hz = 165,
timingApple_832x624_75hz = 170,
timingVESA_800x600_56hz = 180,
timingVESA_800x600_60hz = 182,
timingVESA_800x600_72hz = 184,
timingVESA_800x600_75hz = 186,
timingVESA_800x600_85hz = 188,
timingVESA_1024x768_60hz = 190,
timingVESA_1024x768_70hz = 200,
timingVESA_1024x768_75hz = 204,
timingVESA_1024x768_85hz = 208,
timingApple_1024x768_75hz = 210,
timingApple_1152x870_75hz = 220,
timingAppleNTSC_ST = 230,
timingAppleNTSC_FF = 232,
timingAppleNTSC_STconv = 234,
timingAppleNTSC_FFconv = 236,
timingApplePAL_ST = 238,
timingApplePAL_FF = 240,
timingApplePAL_STconv = 242,
timingApplePAL_FFconv = 244,
timingVESA_1280x960_75hz = 250,
timingVESA_1280x960_60hz = 252,
timingVESA_1280x960_85hz = 254,
timingVESA_1280x1024_60hz = 260,
timingVESA_1280x1024_75hz = 262,
timingVESA_1280x1024_85hz = 268,
timingVESA_1600x1200_60hz = 280,
timingVESA_1600x1200_65hz = 282,
timingVESA_1600x1200_70hz = 284,
timingVESA_1600x1200_75hz = 286,
timingVESA_1600x1200_80hz = 288,
timingVESA_1600x1200_85hz = 289,
timingVESA_1792x1344_60hz = 296,
timingVESA_1792x1344_75hz = 298,
timingVESA_1856x1392_60hz = 300,
timingVESA_1856x1392_75hz = 302,
timingVESA_1920x1440_60hz = 304,
timingVESA_1920x1440_75hz = 306,
timingSMPTE240M_60hz = 400,
timingFilmRate_48hz = 410,
timingSony_1600x1024_76hz = 500,
timingSony_1920x1080_60hz = 510,
timingSony_1920x1080_72hz = 520,
timingSony_1920x1200_76hz = 540,
timingApple_0x0_0hz_Offline = 550
};
enum {
timingApple12 = timingApple_512x384_60hz,
timingApple12x = timingApple_560x384_60hz,
timingApple13 = timingApple_640x480_67hz,
timingApple13x = timingApple_640x400_67hz,
timingAppleVGA = timingVESA_640x480_60hz,
timingApple15 = timingApple_640x870_75hz,
timingApple15x = timingApple_640x818_75hz,
timingApple16 = timingApple_832x624_75hz,
timingAppleSVGA = timingVESA_800x600_56hz,
timingApple1Ka = timingVESA_1024x768_60hz,
timingApple1Kb = timingVESA_1024x768_70hz,
timingApple19 = timingApple_1024x768_75hz,
timingApple21 = timingApple_1152x870_75hz,
timingSony_1900x1200_74hz = 530,
timingSony_1900x1200_76hz = timingSony_1920x1200_76hz
};
enum {
kAllModesValid = 0,
kAllModesSafe = 1,
kReportsTagging = 2,
kHasDirectConnection = 3,
kIsMonoDev = 4,
kUncertainConnection = 5,
kTaggingInfoNonStandard = 6,
kReportsDDCConnection = 7,
kHasDDCConnection = 8,
kConnectionInactive = 9,
kDependentConnection = 10,
kBuiltInConnection = 11,
kOverrideConnection = 12,
kFastCheckForDDC = 13,
kReportsHotPlugging = 14
};
enum {
kUnknownConnect = 1,
kPanelConnect = 2,
kPanelTFTConnect = 2,
kFixedModeCRTConnect = 3,
kMultiModeCRT1Connect = 4,
kMultiModeCRT2Connect = 5,
kMultiModeCRT3Connect = 6,
kMultiModeCRT4Connect = 7,
kModelessConnect = 8,
kFullPageConnect = 9,
kVGAConnect = 10,
kNTSCConnect = 11,
kPALConnect = 12,
kHRConnect = 13,
kPanelFSTNConnect = 14,
kMonoTwoPageConnect = 15,
kColorTwoPageConnect = 16,
kColor16Connect = 17,
kColor19Connect = 18,
kGenericCRT = 19,
kGenericLCD = 20,
kDDCConnect = 21,
kNoConnect = 22
};
enum {
kModeValid = 0,
kModeSafe = 1,
kModeDefault = 2,
kModeShowNow = 3,
kModeNotResize = 4,
kModeRequiresPan = 5,
kModeInterlaced = 6,
kModeShowNever = 7,
kModeSimulscan = 8,
kModeNotPreset = 9,
kModeBuiltIn = 10,
kModeStretched = 11
};
enum {
kDepthDependent = 0
};
enum {
kResolutionHasMultipleDepthSizes = 0
};
enum {
kAVPowerOff = 0,
kAVPowerStandby = 1,
kAVPowerSuspend = 2,
kAVPowerOn = 3,
kHardwareSleep = 128,
kHardwareWake = 129,
kHardwareWakeFromSuspend = 130,
kHardwareWakeToDoze = 131,
kHardwareWakeToDozeFromSuspend = 132
};
enum {
kPowerStateNeedsRefresh = 0,
kPowerStateSleepAwareBit = 1,
kPowerStateSleepForbiddenBit = 2,
kPowerStateSleepCanPowerOffBit = 3,
kPowerStateSleepNoDPMSBit = 4,
kPowerStateSleepWaketoDozeBit = 5,
kPowerStateNeedsRefreshMask = (1L << kPowerStateNeedsRefresh),
kPowerStateSleepAwareMask = (1L << kPowerStateSleepAwareBit),
kPowerStateSleepForbiddenMask = (1L << kPowerStateSleepForbiddenBit),
kPowerStateSleepCanPowerOffMask = (1L << kPowerStateSleepCanPowerOffBit),
kPowerStateSleepNoDPMSMask = (1L << kPowerStateSleepNoDPMSBit),
kPowerStateSleepWaketoDozeMask = (1L << kPowerStateSleepWaketoDozeBit)
};
enum {
cscReset = 0,
cscKillIO = 1,
cscSetMode = 2,
cscSetEntries = 3,
cscSetGamma = 4,
cscGrayPage = 5,
cscGrayScreen = 5,
cscSetGray = 6,
cscSetInterrupt = 7,
cscDirectSetEntries = 8,
cscSetDefaultMode = 9,
cscSwitchMode = 10,
cscSetSync = 11,
cscSavePreferredConfiguration = 16,
cscSetHardwareCursor = 22,
cscDrawHardwareCursor = 23,
cscSetConvolution = 24,
cscSetPowerState = 25,
cscPrivateControlCall = 26,
cscSetMultiConnect = 28,
cscSetClutBehavior = 29,
cscSetDetailedTiming = 31,
cscDoCommunication = 33,
cscProbeConnection = 34,
cscUnusedCall = 127
};
enum {
cscGetMode = 2,
cscGetEntries = 3,
cscGetPageCnt = 4,
cscGetPages = 4,
cscGetPageBase = 5,
cscGetBaseAddr = 5,
cscGetGray = 6,
cscGetInterrupt = 7,
cscGetGamma = 8,
cscGetDefaultMode = 9,
cscGetCurMode = 10,
cscGetSync = 11,
cscGetConnection = 12,
cscGetModeTiming = 13,
cscGetModeBaseAddress = 14,
cscGetScanProc = 15,
cscGetPreferredConfiguration = 16,
cscGetNextResolution = 17,
cscGetVideoParameters = 18,
cscGetGammaInfoList = 20,
cscRetrieveGammaTable = 21,
cscSupportsHardwareCursor = 22,
cscGetHardwareCursorDrawState = 23,
cscGetConvolution = 24,
cscGetPowerState = 25,
cscPrivateStatusCall = 26,
cscGetDDCBlock = 27,
cscGetMultiConnect = 28,
cscGetClutBehavior = 29,
cscGetTimingRanges = 30,
cscGetDetailedTiming = 31,
cscGetCommunicationInfo = 32
};
enum {
kDisableHorizontalSyncBit = 0,
kDisableVerticalSyncBit = 1,
kDisableCompositeSyncBit = 2,
kEnableSyncOnBlue = 3,
kEnableSyncOnGreen = 4,
kEnableSyncOnRed = 5,
kNoSeparateSyncControlBit = 6,
kTriStateSyncBit = 7,
kHorizontalSyncMask = 0x01,
kVerticalSyncMask = 0x02,
kCompositeSyncMask = 0x04,
kDPMSSyncMask = 0x07,
kTriStateSyncMask = 0x80,
kSyncOnBlueMask = 0x08,
kSyncOnGreenMask = 0x10,
kSyncOnRedMask = 0x20,
kSyncOnMask = 0x38
};
enum {
kDPMSSyncOn = 0,
kDPMSSyncStandby = 1,
kDPMSSyncSuspend = 2,
kDPMSSyncOff = 7
};
enum {
kConvolved = 0,
kLiveVideoPassThru = 1,
kConvolvedMask = 0x01,
kLiveVideoPassThruMask = 0x02
};
struct VPBlock {
long vpBaseOffset;
short vpRowBytes;
Rect vpBounds;
short vpVersion;
short vpPackType;
long vpPackSize;
long vpHRes;
long vpVRes;
short vpPixelType;
short vpPixelSize;
short vpCmpCount;
short vpCmpSize;
long vpPlaneBytes;
};
typedef struct VPBlock VPBlock;
typedef VPBlock * VPBlockPtr;
struct VDEntryRecord {
Ptr csTable;
};
typedef struct VDEntryRecord VDEntryRecord;
typedef VDEntryRecord * VDEntRecPtr;
struct VDGrayRecord {
Boolean csMode;
SInt8 filler;
};
typedef struct VDGrayRecord VDGrayRecord;
typedef VDGrayRecord * VDGrayPtr;
struct VDFlagRecord {
SInt8 csMode;
SInt8 filler;
};
typedef struct VDFlagRecord VDFlagRecord;
typedef VDFlagRecord * VDFlagRecPtr;
struct VDSetEntryRecord {
ColorSpec * csTable;
short csStart;
short csCount;
};
typedef struct VDSetEntryRecord VDSetEntryRecord;
typedef VDSetEntryRecord * VDSetEntryPtr;
struct VDGammaRecord {
Ptr csGTable;
};
typedef struct VDGammaRecord VDGammaRecord;
typedef VDGammaRecord * VDGamRecPtr;
struct VDBaseAddressInfoRec {
long csDevData;
long csDevBase;
short csModeReserved;
long csModeBase;
};
typedef struct VDBaseAddressInfoRec VDBaseAddressInfoRec;
typedef VDBaseAddressInfoRec * VDBaseAddressInfoPtr;
struct VDSwitchInfoRec {
unsigned short csMode;
unsigned long csData;
unsigned short csPage;
Ptr csBaseAddr;
unsigned long csReserved;
};
typedef struct VDSwitchInfoRec VDSwitchInfoRec;
typedef VDSwitchInfoRec * VDSwitchInfoPtr;
struct VDTimingInfoRec {
unsigned long csTimingMode;
unsigned long csTimingReserved;
unsigned long csTimingFormat;
unsigned long csTimingData;
unsigned long csTimingFlags;
};
typedef struct VDTimingInfoRec VDTimingInfoRec;
typedef VDTimingInfoRec * VDTimingInfoPtr;
struct VDDisplayConnectInfoRec {
unsigned short csDisplayType;
unsigned char csConnectTaggedType;
unsigned char csConnectTaggedData;
unsigned long csConnectFlags;
unsigned long csDisplayComponent;
unsigned long csConnectReserved;
};
typedef struct VDDisplayConnectInfoRec VDDisplayConnectInfoRec;
typedef VDDisplayConnectInfoRec * VDDisplayConnectInfoPtr;
struct VDMultiConnectInfoRec {
unsigned long csDisplayCountOrNumber;
VDDisplayConnectInfoRec csConnectInfo;
};
typedef struct VDMultiConnectInfoRec VDMultiConnectInfoRec;
typedef VDMultiConnectInfoRec * VDMultiConnectInfoPtr;
# 508 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
typedef unsigned char RawSenseCode;
enum {
kRSCZero = 0,
kRSCOne = 1,
kRSCTwo = 2,
kRSCThree = 3,
kRSCFour = 4,
kRSCFive = 5,
kRSCSix = 6,
kRSCSeven = 7
};
# 539 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
typedef unsigned char ExtendedSenseCode;
enum {
kESCZero21Inch = 0x00,
kESCOnePortraitMono = 0x14,
kESCTwo12Inch = 0x21,
kESCThree21InchRadius = 0x31,
kESCThree21InchMonoRadius = 0x34,
kESCThree21InchMono = 0x35,
kESCFourNTSC = 0x0A,
kESCFivePortrait = 0x1E,
kESCSixMSB1 = 0x03,
kESCSixMSB2 = 0x0B,
kESCSixMSB3 = 0x23,
kESCSixStandard = 0x2B,
kESCSevenPAL = 0x00,
kESCSevenNTSC = 0x14,
kESCSevenVGA = 0x17,
kESCSeven16Inch = 0x2D,
kESCSevenPALAlternate = 0x30,
kESCSeven19Inch = 0x3A,
kESCSevenDDC = 0x3E,
kESCSevenNoDisplay = 0x3F
};
# 575 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
typedef unsigned short DepthMode;
enum {
kDepthMode1 = 128,
kDepthMode2 = 129,
kDepthMode3 = 130,
kDepthMode4 = 131,
kDepthMode5 = 132,
kDepthMode6 = 133
};
enum {
kFirstDepthMode = 128,
kSecondDepthMode = 129,
kThirdDepthMode = 130,
kFourthDepthMode = 131,
kFifthDepthMode = 132,
kSixthDepthMode = 133
};
struct VDPageInfo {
short csMode;
long csData;
short csPage;
Ptr csBaseAddr;
};
typedef struct VDPageInfo VDPageInfo;
typedef VDPageInfo * VDPgInfoPtr;
struct VDSizeInfo {
short csHSize;
short csHPos;
short csVSize;
short csVPos;
};
typedef struct VDSizeInfo VDSizeInfo;
typedef VDSizeInfo * VDSzInfoPtr;
struct VDSettings {
short csParamCnt;
short csBrightMax;
short csBrightDef;
short csBrightVal;
short csCntrstMax;
short csCntrstDef;
short csCntrstVal;
short csTintMax;
short csTintDef;
short csTintVal;
short csHueMax;
short csHueDef;
short csHueVal;
short csHorizDef;
short csHorizVal;
short csHorizMax;
short csVertDef;
short csVertVal;
short csVertMax;
};
typedef struct VDSettings VDSettings;
typedef VDSettings * VDSettingsPtr;
struct VDDefMode {
UInt8 csID;
SInt8 filler;
};
typedef struct VDDefMode VDDefMode;
typedef VDDefMode * VDDefModePtr;
struct VDSyncInfoRec {
UInt8 csMode;
UInt8 csFlags;
};
typedef struct VDSyncInfoRec VDSyncInfoRec;
typedef VDSyncInfoRec * VDSyncInfoPtr;
typedef UInt32 AVIDType;
typedef AVIDType DisplayIDType;
typedef UInt32 DisplayModeID;
typedef UInt32 VideoDeviceType;
typedef UInt32 GammaTableID;
enum {
kDisplayModeIDCurrent = 0x00,
kDisplayModeIDInvalid = (long)0xFFFFFFFF,
kDisplayModeIDFindFirstResolution = (long)0xFFFFFFFE,
kDisplayModeIDNoMoreResolutions = (long)0xFFFFFFFD,
kDisplayModeIDFindFirstProgrammable = (long)0xFFFFFFFC,
kDisplayModeIDBootProgrammable = (long)0xFFFFFFFB,
kDisplayModeIDReservedBase = (long)0x80000000
};
enum {
kGammaTableIDFindFirst = (long)0xFFFFFFFE,
kGammaTableIDNoMoreTables = (long)0xFFFFFFFD,
kGammaTableIDSpecific = 0x00
};
enum {
kGetConnectionCount = (long)0xFFFFFFFF,
kActivateConnection = (0 << kConnectionInactive),
kDeactivateConnection = (1 << kConnectionInactive)
};
enum {
kVideoDefaultBus = 0
};
enum {
kVideoBusTypeInvalid = 0,
kVideoBusTypeI2C = 1
};
enum {
kVideoNoTransactionType = 0,
kVideoSimpleI2CType = 1,
kVideoDDCciReplyType = 2
};
enum {
kVideoReplyMicroSecDelayMask = (1 << 0)
};
struct VDResolutionInfoRec {
DisplayModeID csPreviousDisplayModeID;
DisplayModeID csDisplayModeID;
unsigned long csHorizontalPixels;
unsigned long csVerticalLines;
Fixed csRefreshRate;
DepthMode csMaxDepthMode;
unsigned long csResolutionFlags;
unsigned long csReserved;
};
typedef struct VDResolutionInfoRec VDResolutionInfoRec;
typedef VDResolutionInfoRec * VDResolutionInfoPtr;
struct VDVideoParametersInfoRec {
DisplayModeID csDisplayModeID;
DepthMode csDepthMode;
VPBlockPtr csVPBlockPtr;
unsigned long csPageCount;
VideoDeviceType csDeviceType;
UInt32 csDepthFlags;
};
typedef struct VDVideoParametersInfoRec VDVideoParametersInfoRec;
typedef VDVideoParametersInfoRec * VDVideoParametersInfoPtr;
struct VDGammaInfoRec {
GammaTableID csLastGammaID;
GammaTableID csNextGammaID;
Ptr csGammaPtr;
unsigned long csReserved;
};
typedef struct VDGammaInfoRec VDGammaInfoRec;
typedef VDGammaInfoRec * VDGammaInfoPtr;
struct VDGetGammaListRec {
GammaTableID csPreviousGammaTableID;
GammaTableID csGammaTableID;
unsigned long csGammaTableSize;
char * csGammaTableName;
};
typedef struct VDGetGammaListRec VDGetGammaListRec;
typedef VDGetGammaListRec * VDGetGammaListPtr;
struct VDRetrieveGammaRec {
GammaTableID csGammaTableID;
GammaTbl * csGammaTablePtr;
};
typedef struct VDRetrieveGammaRec VDRetrieveGammaRec;
typedef VDRetrieveGammaRec * VDRetrieveGammaPtr;
struct VDSetHardwareCursorRec {
void * csCursorRef;
UInt32 csReserved1;
UInt32 csReserved2;
};
typedef struct VDSetHardwareCursorRec VDSetHardwareCursorRec;
typedef VDSetHardwareCursorRec * VDSetHardwareCursorPtr;
struct VDDrawHardwareCursorRec {
SInt32 csCursorX;
SInt32 csCursorY;
UInt32 csCursorVisible;
UInt32 csReserved1;
UInt32 csReserved2;
};
typedef struct VDDrawHardwareCursorRec VDDrawHardwareCursorRec;
typedef VDDrawHardwareCursorRec * VDDrawHardwareCursorPtr;
struct VDSupportsHardwareCursorRec {
UInt32 csSupportsHardwareCursor;
UInt32 csReserved1;
UInt32 csReserved2;
};
typedef struct VDSupportsHardwareCursorRec VDSupportsHardwareCursorRec;
typedef VDSupportsHardwareCursorRec * VDSupportsHardwareCursorPtr;
struct VDHardwareCursorDrawStateRec {
SInt32 csCursorX;
SInt32 csCursorY;
UInt32 csCursorVisible;
UInt32 csCursorSet;
UInt32 csReserved1;
UInt32 csReserved2;
};
typedef struct VDHardwareCursorDrawStateRec VDHardwareCursorDrawStateRec;
typedef VDHardwareCursorDrawStateRec * VDHardwareCursorDrawStatePtr;
struct VDConvolutionInfoRec {
DisplayModeID csDisplayModeID;
DepthMode csDepthMode;
unsigned long csPage;
UInt32 csFlags;
UInt32 csReserved;
};
typedef struct VDConvolutionInfoRec VDConvolutionInfoRec;
typedef VDConvolutionInfoRec * VDConvolutionInfoPtr;
struct VDPowerStateRec {
unsigned long powerState;
unsigned long powerFlags;
unsigned long powerReserved1;
unsigned long powerReserved2;
};
typedef struct VDPowerStateRec VDPowerStateRec;
typedef VDPowerStateRec * VDPowerStatePtr;
# 813 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
struct VDPrivateSelectorDataRec {
LogicalAddress privateParameters;
ByteCount privateParametersSize;
LogicalAddress privateResults;
ByteCount privateResultsSize;
};
typedef struct VDPrivateSelectorDataRec VDPrivateSelectorDataRec;
struct VDPrivateSelectorRec {
UInt32 reserved;
VDPrivateSelectorDataRec data[1];
};
typedef struct VDPrivateSelectorRec VDPrivateSelectorRec;
struct VDDDCBlockRec {
UInt32 ddcBlockNumber;
ResType ddcBlockType;
UInt32 ddcFlags;
UInt32 ddcReserved;
Byte ddcBlockData[128];
};
typedef struct VDDDCBlockRec VDDDCBlockRec;
typedef VDDDCBlockRec * VDDDCBlockPtr;
enum {
kSyncInterlaceMask = (1 << 7),
kSyncAnalogCompositeMask = 0,
kSyncAnalogCompositeSerrateMask = (1 << 2),
kSyncAnalogCompositeRGBSyncMask = (1 << 1),
kSyncAnalogBipolarMask = (1 << 3),
kSyncAnalogBipolarSerrateMask = (1 << 2),
kSyncAnalogBipolarSRGBSyncMask = (1 << 1),
kSyncDigitalCompositeMask = (1 << 4),
kSyncDigitalCompositeSerrateMask = (1 << 2),
kSyncDigitalCompositeMatchHSyncMask = (1 << 2),
kSyncDigitalSeperateMask = (1 << 4) + (1 << 3),
kSyncDigitalVSyncPositiveMask = (1 << 2),
kSyncDigitalHSyncPositiveMask = (1 << 1)
};
struct VDDisplayTimingRangeRec {
UInt32 csRangeSize;
UInt32 csRangeType;
UInt32 csRangeVersion;
UInt32 csRangeReserved;
UInt32 csRangeBlockIndex;
UInt32 csRangeGroup;
UInt32 csRangeBlockCount;
UInt32 csRangeFlags;
UInt64 csMinPixelClock;
UInt64 csMaxPixelClock;
UInt32 csMaxPixelError;
UInt32 csTimingRangeSyncFlags;
UInt32 csTimingRangeSignalLevels;
UInt32 csReserved0;
UInt32 csMinFrameRate;
UInt32 csMaxFrameRate;
UInt32 csMinLineRate;
UInt32 csMaxLineRate;
UInt32 csMaxHorizontalTotal;
UInt32 csMaxVerticalTotal;
UInt32 csMaxTotalReserved1;
UInt32 csMaxTotalReserved2;
# 893 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Video.h" 3
UInt8 csCharSizeHorizontalActive;
UInt8 csCharSizeHorizontalBlanking;
UInt8 csCharSizeHorizontalSyncOffset;
UInt8 csCharSizeHorizontalSyncPulse;
UInt8 csCharSizeVerticalActive;
UInt8 csCharSizeVerticalBlanking;
UInt8 csCharSizeVerticalSyncOffset;
UInt8 csCharSizeVerticalSyncPulse;
UInt8 csCharSizeHorizontalBorderLeft;
UInt8 csCharSizeHorizontalBorderRight;
UInt8 csCharSizeVerticalBorderTop;
UInt8 csCharSizeVerticalBorderBottom;
UInt8 csCharSizeHorizontalTotal;
UInt8 csCharSizeVerticalTotal;
UInt16 csCharSizeReserved1;
UInt32 csMinHorizontalActiveClocks;
UInt32 csMaxHorizontalActiveClocks;
UInt32 csMinHorizontalBlankingClocks;
UInt32 csMaxHorizontalBlankingClocks;
UInt32 csMinHorizontalSyncOffsetClocks;
UInt32 csMaxHorizontalSyncOffsetClocks;
UInt32 csMinHorizontalPulseWidthClocks;
UInt32 csMaxHorizontalPulseWidthClocks;
UInt32 csMinVerticalActiveClocks;
UInt32 csMaxVerticalActiveClocks;
UInt32 csMinVerticalBlankingClocks;
UInt32 csMaxVerticalBlankingClocks;
UInt32 csMinVerticalSyncOffsetClocks;
UInt32 csMaxVerticalSyncOffsetClocks;
UInt32 csMinVerticalPulseWidthClocks;
UInt32 csMaxVerticalPulseWidthClocks;
UInt32 csMinHorizontalBorderLeft;
UInt32 csMaxHorizontalBorderLeft;
UInt32 csMinHorizontalBorderRight;
UInt32 csMaxHorizontalBorderRight;
UInt32 csMinVerticalBorderTop;
UInt32 csMaxVerticalBorderTop;
UInt32 csMinVerticalBorderBottom;
UInt32 csMaxVerticalBorderBottom;
UInt32 csReserved1;
UInt32 csReserved2;
UInt32 csReserved3;
UInt32 csReserved4;
UInt32 csReserved5;
UInt32 csReserved6;
UInt32 csReserved7;
UInt32 csReserved8;
};
typedef struct VDDisplayTimingRangeRec VDDisplayTimingRangeRec;
typedef VDDisplayTimingRangeRec * VDDisplayTimingRangePtr;
enum {
kDMSModeReady = 0,
kDMSModeNotReady = 1,
kDMSModeFree = 2
};
enum {
kTimingChangeRestrictedErr = -10930,
kVideoI2CReplyPendingErr = -10931,
kVideoI2CTransactionErr = -10932,
kVideoI2CBusyErr = -10933,
kVideoI2CTransactionTypeErr = -10934,
kVideoBufferSizeErr = -10935
};
enum {
kRangeSupportsSignal_0700_0300_Bit = 0,
kRangeSupportsSignal_0714_0286_Bit = 1,
kRangeSupportsSignal_1000_0400_Bit = 2,
kRangeSupportsSignal_0700_0000_Bit = 3,
kRangeSupportsSignal_0700_0300_Mask = (1 << kRangeSupportsSignal_0700_0300_Bit),
kRangeSupportsSignal_0714_0286_Mask = (1 << kRangeSupportsSignal_0714_0286_Bit),
kRangeSupportsSignal_1000_0400_Mask = (1 << kRangeSupportsSignal_1000_0400_Bit),
kRangeSupportsSignal_0700_0000_Mask = (1 << kRangeSupportsSignal_0700_0000_Bit)
};
enum {
kDigitalSignalBit = 0,
kAnalogSetupExpectedBit = 1,
kDigitalSignalMask = (1 << kDigitalSignalBit),
kAnalogSetupExpectedMask = (1 << kAnalogSetupExpectedBit)
};
enum {
kAnalogSignalLevel_0700_0300 = 0,
kAnalogSignalLevel_0714_0286 = 1,
kAnalogSignalLevel_1000_0400 = 2,
kAnalogSignalLevel_0700_0000 = 3
};
enum {
kRangeSupportsSeperateSyncsBit = 0,
kRangeSupportsSyncOnGreenBit = 1,
kRangeSupportsCompositeSyncBit = 2,
kRangeSupportsVSyncSerrationBit = 3,
kRangeSupportsSeperateSyncsMask = (1 << kRangeSupportsSeperateSyncsBit),
kRangeSupportsSyncOnGreenMask = (1 << kRangeSupportsSyncOnGreenBit),
kRangeSupportsCompositeSyncMask = (1 << kRangeSupportsCompositeSyncBit),
kRangeSupportsVSyncSerrationMask = (1 << kRangeSupportsVSyncSerrationBit)
};
enum {
kSyncPositivePolarityBit = 0,
kSyncPositivePolarityMask = (1 << kSyncPositivePolarityBit)
};
struct VDDetailedTimingRec {
UInt32 csTimingSize;
UInt32 csTimingType;
UInt32 csTimingVersion;
UInt32 csTimingReserved;
DisplayModeID csDisplayModeID;
UInt32 csDisplayModeSeed;
UInt32 csDisplayModeState;
UInt32 csDisplayModeAlias;
UInt32 csSignalConfig;
UInt32 csSignalLevels;
UInt64 csPixelClock;
UInt64 csMinPixelClock;
UInt64 csMaxPixelClock;
UInt32 csHorizontalActive;
UInt32 csHorizontalBlanking;
UInt32 csHorizontalSyncOffset;
UInt32 csHorizontalSyncPulseWidth;
UInt32 csVerticalActive;
UInt32 csVerticalBlanking;
UInt32 csVerticalSyncOffset;
UInt32 csVerticalSyncPulseWidth;
UInt32 csHorizontalBorderLeft;
UInt32 csHorizontalBorderRight;
UInt32 csVerticalBorderTop;
UInt32 csVerticalBorderBottom;
UInt32 csHorizontalSyncConfig;
UInt32 csHorizontalSyncLevel;
UInt32 csVerticalSyncConfig;
UInt32 csVerticalSyncLevel;
UInt32 csReserved1;
UInt32 csReserved2;
UInt32 csReserved3;
UInt32 csReserved4;
UInt32 csReserved5;
UInt32 csReserved6;
UInt32 csReserved7;
UInt32 csReserved8;
};
typedef struct VDDetailedTimingRec VDDetailedTimingRec;
typedef VDDetailedTimingRec * VDDetailedTimingPtr;
typedef UInt32 VDClutBehavior;
typedef VDClutBehavior * VDClutBehaviorPtr;
enum {
kSetClutAtSetEntries = 0,
kSetClutAtVBL = 1
};
struct VDCommunicationRec {
SInt32 csBusID;
UInt32 csCommFlags;
UInt32 csMinReplyDelay;
UInt32 csReserved2;
UInt32 csSendAddress;
UInt32 csSendType;
LogicalAddress csSendBuffer;
ByteCount csSendSize;
UInt32 csReplyAddress;
UInt32 csReplyType;
LogicalAddress csReplyBuffer;
ByteCount csReplySize;
UInt32 csReserved3;
UInt32 csReserved4;
UInt32 csReserved5;
UInt32 csReserved6;
};
typedef struct VDCommunicationRec VDCommunicationRec;
typedef VDCommunicationRec * VDCommunicationPtr;
struct VDCommunicationInfoRec {
SInt32 csBusID;
UInt32 csBusType;
SInt32 csMinBus;
SInt32 csMaxBus;
UInt32 csSupportedTypes;
UInt32 csSupportedCommFlags;
UInt32 csReserved2;
UInt32 csReserved3;
UInt32 csReserved4;
UInt32 csReserved5;
UInt32 csReserved6;
UInt32 csReserved7;
};
typedef struct VDCommunicationInfoRec VDCommunicationInfoRec;
typedef VDCommunicationInfoRec * VDCommunicationInfoPtr;
#pragma pack(pop)
# 79 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
#define __DISPLAYS__
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
#pragma pack(push, 2)
# 57 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
typedef void * DMProcessInfoPtr;
typedef void * DMModalFilterUPP;
enum {
kAESystemConfigNotice = 'cnfg',
kAEDisplayNotice = 'dspl',
kAEDisplaySummary = 'dsum',
keyDMConfigVersion = 'dmcv',
keyDMConfigFlags = 'dmcf',
keyDMConfigReserved = 'dmcr',
keyDisplayID = 'dmid',
keyDisplayComponent = 'dmdc',
keyDisplayDevice = 'dmdd',
keyDisplayFlags = 'dmdf',
keyDisplayMode = 'dmdm',
keyDisplayModeReserved = 'dmmr',
keyDisplayReserved = 'dmdr',
keyDisplayMirroredId = 'dmmi',
keyDeviceFlags = 'dddf',
keyDeviceDepthMode = 'dddm',
keyDeviceRect = 'dddr',
keyPixMapRect = 'dpdr',
keyPixMapHResolution = 'dphr',
keyPixMapVResolution = 'dpvr',
keyPixMapPixelType = 'dppt',
keyPixMapPixelSize = 'dpps',
keyPixMapCmpCount = 'dpcc',
keyPixMapCmpSize = 'dpcs',
keyPixMapAlignment = 'dppa',
keyPixMapResReserved = 'dprr',
keyPixMapReserved = 'dppr',
keyPixMapColorTableSeed = 'dpct',
keySummaryMenubar = 'dsmb',
keySummaryChanges = 'dsch',
keyDisplayOldConfig = 'dold',
keyDisplayNewConfig = 'dnew'
};
enum {
dmOnlyActiveDisplays = 1,
dmAllDisplays = 0
};
enum {
kDependentNotifyClassShowCursor = 'shcr',
kDependentNotifyClassDriverOverride = 'ndrv',
kDependentNotifyClassDisplayMgrOverride = 'dmgr',
kDependentNotifyClassProfileChanged = 'prof'
};
enum {
kNoSwitchConfirmBit = 0,
kDepthNotAvailableBit = 1,
kShowModeBit = 3,
kModeNotResizeBit = 4,
kNeverShowModeBit = 5
};
enum {
kBeginEndConfigureBit = 0,
kMovedDisplayBit = 1,
kSetMainDisplayBit = 2,
kSetDisplayModeBit = 3,
kAddDisplayBit = 4,
kRemoveDisplayBit = 5,
kNewDisplayBit = 6,
kDisposeDisplayBit = 7,
kEnabledDisplayBit = 8,
kDisabledDisplayBit = 9,
kMirrorDisplayBit = 10,
kUnMirrorDisplayBit = 11
};
enum {
kDMNotifyRequestConnectionProbe = 0,
kDMNotifyInstalled = 1,
kDMNotifyEvent = 2,
kDMNotifyRemoved = 3,
kDMNotifyPrep = 4,
kDMNotifyExtendEvent = 5,
kDMNotifyDependents = 6,
kDMNotifySuspendConfigure = 7,
kDMNotifyResumeConfigure = 8,
kDMNotifyRequestDisplayProbe = 9,
kDMNotifyDisplayWillSleep = 10,
kDMNotifyDisplayDidWake = 11,
kExtendedNotificationProc = (1L << 16)
};
enum {
kFullNotify = 0,
kFullDependencyNotify = 1
};
enum {
kDummyDeviceID = 0x00FF,
kInvalidDisplayID = 0x0000,
kFirstDisplayID = 0x0100
};
enum {
kAllowDuplicatesBit = 0
};
enum {
kSuppressNumberBit = 0,
kSuppressNumberMask = 1,
kForceNumberBit = 1,
kForceNumberMask = 2,
kSuppressNameBit = 2,
kSuppressNameMask = 4
};
enum {
kDMSupressNumbersMask = (1 << 0),
kDMForceNumbersMask = (1 << 1),
kDMSupressNameMask = (1 << 2)
};
enum {
kNoFidelity = 0,
kMinimumFidelity = 1,
kDefaultFidelity = 500,
kDefaultManufacturerFidelity = 1000
};
enum {
kAnyPanelType = 0,
kAnyEngineType = 0,
kAnyDeviceType = 0,
kAnyPortType = 0
};
enum {
kPLIncludeOfflineDevicesBit = 0
};
enum {
kForceConfirmBit = 0,
kForceConfirmMask = (1 << kForceConfirmBit)
};
enum {
kDisplayModeListNotPreferredBit = 0,
kDisplayModeListNotPreferredMask = (1 << kDisplayModeListNotPreferredBit)
};
enum {
kComponentListNotPreferredBit = 0,
kComponentListNotPreferredMask = (1 << kComponentListNotPreferredBit)
};
enum {
kDisplayTimingInfoVersionZero = 1,
kDisplayTimingInfoReservedCountVersionZero = 16,
kDisplayModeEntryVersionZero = 0,
kDisplayModeEntryVersionOne = 1
};
enum {
kMakeAndModelReservedCount = 4
};
enum {
kDisplayGestaltDisplayCommunicationAttr = 'comm',
kDisplayGestaltForbidI2CMask = (1 << 0),
kDisplayGestaltUseI2CPowerMask = (1 << 1),
kDisplayGestaltCalibratorAttr = 'cali',
kDisplayGestaltBrightnessAffectsGammaMask = (1 << 0),
kDisplayGestaltViewAngleAffectsGammaMask = (1 << 1)
};
typedef UInt32 DMFidelityType;
typedef void * DMListType;
typedef UInt32 DMListIndexType;
typedef VDPowerStateRec AVPowerStateRec;
typedef VDPowerStateRec * AVPowerStatePtr;
struct DMDisplayTimingInfoRec {
UInt32 timingInfoVersion;
UInt32 timingInfoAttributes;
SInt32 timingInfoRelativeQuality;
SInt32 timingInfoRelativeDefault;
UInt32 timingInfoReserved[16];
};
typedef struct DMDisplayTimingInfoRec DMDisplayTimingInfoRec;
typedef DMDisplayTimingInfoRec * DMDisplayTimingInfoPtr;
struct DMComponentListEntryRec {
DisplayIDType itemID;
Component itemComponent;
ComponentDescription itemDescription;
ResType itemClass;
DMFidelityType itemFidelity;
ResType itemSubClass;
Point itemSort;
UInt32 itemFlags;
ResType itemReserved;
UInt32 itemFuture1;
UInt32 itemFuture2;
UInt32 itemFuture3;
UInt32 itemFuture4;
};
typedef struct DMComponentListEntryRec DMComponentListEntryRec;
typedef DMComponentListEntryRec * DMComponentListEntryPtr;
struct AVLocationRec {
UInt32 locationConstant;
};
typedef struct AVLocationRec AVLocationRec;
typedef AVLocationRec * AVLocationPtr;
struct DMDepthInfoRec {
VDSwitchInfoPtr depthSwitchInfo;
VPBlockPtr depthVPBlock;
UInt32 depthFlags;
UInt32 depthReserved1;
UInt32 depthReserved2;
};
typedef struct DMDepthInfoRec DMDepthInfoRec;
typedef DMDepthInfoRec * DMDepthInfoPtr;
struct DMDepthInfoBlockRec {
UInt32 depthBlockCount;
DMDepthInfoPtr depthVPBlock;
UInt32 depthBlockFlags;
UInt32 depthBlockReserved1;
UInt32 depthBlockReserved2;
};
typedef struct DMDepthInfoBlockRec DMDepthInfoBlockRec;
typedef DMDepthInfoBlockRec * DMDepthInfoBlockPtr;
struct DMDisplayModeListEntryRec {
UInt32 displayModeFlags;
VDSwitchInfoPtr displayModeSwitchInfo;
VDResolutionInfoPtr displayModeResolutionInfo;
VDTimingInfoPtr displayModeTimingInfo;
DMDepthInfoBlockPtr displayModeDepthBlockInfo;
UInt32 displayModeVersion;
StringPtr displayModeName;
DMDisplayTimingInfoPtr displayModeDisplayInfo;
};
typedef struct DMDisplayModeListEntryRec DMDisplayModeListEntryRec;
typedef DMDisplayModeListEntryRec * DMDisplayModeListEntryPtr;
struct DependentNotifyRec {
ResType notifyType;
ResType notifyClass;
DisplayIDType notifyPortID;
ComponentInstance notifyComponent;
UInt32 notifyVersion;
UInt32 notifyFlags;
UInt32 notifyReserved;
UInt32 notifyFuture;
};
typedef struct DependentNotifyRec DependentNotifyRec;
typedef DependentNotifyRec * DependentNotifyPtr;
struct DMMakeAndModelRec {
ResType manufacturer;
UInt32 model;
UInt32 serialNumber;
UInt32 manufactureDate;
UInt32 makeReserved[4];
};
typedef struct DMMakeAndModelRec DMMakeAndModelRec;
typedef DMMakeAndModelRec * DMMakeAndModelPtr;
enum {
kIncludeOnlineActiveDisplaysMask = (1 << 0),
kIncludeOnlineDisabledDisplaysMask = (1 << 1),
kIncludeOfflineDisplaysMask = (1 << 2),
kIncludeOfflineDummyDisplaysMask = (1 << 3),
kIncludeHardwareMirroredDisplaysMask = (1 << 4)
};
enum {
kDMModeListIncludeAllModesMask = (1 << 0),
kDMModeListIncludeOfflineModesMask = (1 << 1),
kDMModeListExcludeDriverModesMask = (1 << 2),
kDMModeListExcludeDisplayModesMask = (1 << 3),
kDMModeListExcludeCustomModesMask = (1 << 4),
kDMModeListPreferStretchedModesMask = (1 << 5),
kDMModeListPreferSafeModesMask = (1 << 6)
};
struct DisplayListEntryRec {
GDHandle displayListEntryGDevice;
DisplayIDType displayListEntryDisplayID;
UInt32 displayListEntryIncludeFlags;
UInt32 displayListEntryReserved1;
UInt32 displayListEntryReserved2;
UInt32 displayListEntryReserved3;
UInt32 displayListEntryReserved4;
UInt32 displayListEntryReserved5;
};
typedef struct DisplayListEntryRec DisplayListEntryRec;
typedef DisplayListEntryRec * DisplayListEntryPtr;
struct DMProfileListEntryRec {
CMProfileRef profileRef;
Ptr profileReserved1;
Ptr profileReserved2;
Ptr profileReserved3;
};
typedef struct DMProfileListEntryRec DMProfileListEntryRec;
typedef DMProfileListEntryRec * DMProfileListEntryPtr;
typedef void ( * DMNotificationProcPtr)(AppleEvent * theEvent);
typedef void ( * DMExtendedNotificationProcPtr)(void *userData, short theMessage, void *notifyData);
typedef void ( * DMComponentListIteratorProcPtr)(void *userData, DMListIndexType itemIndex, DMComponentListEntryPtr componentInfo);
typedef void ( * DMDisplayModeListIteratorProcPtr)(void *userData, DMListIndexType itemIndex, DMDisplayModeListEntryPtr displaymodeInfo);
typedef void ( * DMProfileListIteratorProcPtr)(void *userData, DMListIndexType itemIndex, DMProfileListEntryPtr profileInfo);
typedef void ( * DMDisplayListIteratorProcPtr)(void *userData, DMListIndexType itemIndex, DisplayListEntryPtr displaymodeInfo);
typedef DMNotificationProcPtr DMNotificationUPP;
typedef DMExtendedNotificationProcPtr DMExtendedNotificationUPP;
typedef DMComponentListIteratorProcPtr DMComponentListIteratorUPP;
typedef DMDisplayModeListIteratorProcPtr DMDisplayModeListIteratorUPP;
typedef DMProfileListIteratorProcPtr DMProfileListIteratorUPP;
typedef DMDisplayListIteratorProcPtr DMDisplayListIteratorUPP;
# 426 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMNotificationUPP
NewDMNotificationUPP(DMNotificationProcPtr userRoutine) __attribute__((deprecated));
# 437 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMExtendedNotificationUPP
NewDMExtendedNotificationUPP(DMExtendedNotificationProcPtr userRoutine) __attribute__((deprecated));
# 448 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMComponentListIteratorUPP
NewDMComponentListIteratorUPP(DMComponentListIteratorProcPtr userRoutine) __attribute__((deprecated));
# 459 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMDisplayModeListIteratorUPP
NewDMDisplayModeListIteratorUPP(DMDisplayModeListIteratorProcPtr userRoutine) __attribute__((deprecated));
# 470 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMProfileListIteratorUPP
NewDMProfileListIteratorUPP(DMProfileListIteratorProcPtr userRoutine) __attribute__((deprecated));
# 481 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern DMDisplayListIteratorUPP
NewDMDisplayListIteratorUPP(DMDisplayListIteratorProcPtr userRoutine) __attribute__((deprecated));
# 492 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMNotificationUPP(DMNotificationUPP userUPP) __attribute__((deprecated));
# 503 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMExtendedNotificationUPP(DMExtendedNotificationUPP userUPP) __attribute__((deprecated));
# 514 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMComponentListIteratorUPP(DMComponentListIteratorUPP userUPP) __attribute__((deprecated));
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMDisplayModeListIteratorUPP(DMDisplayModeListIteratorUPP userUPP) __attribute__((deprecated));
# 536 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMProfileListIteratorUPP(DMProfileListIteratorUPP userUPP) __attribute__((deprecated));
# 547 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
DisposeDMDisplayListIteratorUPP(DMDisplayListIteratorUPP userUPP) __attribute__((deprecated));
# 558 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMNotificationUPP(
AppleEvent * theEvent,
DMNotificationUPP userUPP) __attribute__((deprecated));
# 571 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMExtendedNotificationUPP(
void * userData,
short theMessage,
void * notifyData,
DMExtendedNotificationUPP userUPP) __attribute__((deprecated));
# 586 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMComponentListIteratorUPP(
void * userData,
DMListIndexType itemIndex,
DMComponentListEntryPtr componentInfo,
DMComponentListIteratorUPP userUPP) __attribute__((deprecated));
# 601 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMDisplayModeListIteratorUPP(
void * userData,
DMListIndexType itemIndex,
DMDisplayModeListEntryPtr displaymodeInfo,
DMDisplayModeListIteratorUPP userUPP) __attribute__((deprecated));
# 616 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMProfileListIteratorUPP(
void * userData,
DMListIndexType itemIndex,
DMProfileListEntryPtr profileInfo,
DMProfileListIteratorUPP userUPP) __attribute__((deprecated));
# 631 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
extern void
InvokeDMDisplayListIteratorUPP(
void * userData,
DMListIndexType itemIndex,
DisplayListEntryPtr displaymodeInfo,
DMDisplayListIteratorUPP userUPP) __attribute__((deprecated));
# 659 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
#define NewDMNotificationUPP(userRoutine) ((DMNotificationUPP)userRoutine)
#define NewDMExtendedNotificationUPP(userRoutine) ((DMExtendedNotificationUPP)userRoutine)
#define NewDMComponentListIteratorUPP(userRoutine) ((DMComponentListIteratorUPP)userRoutine)
#define NewDMDisplayModeListIteratorUPP(userRoutine) ((DMDisplayModeListIteratorUPP)userRoutine)
#define NewDMProfileListIteratorUPP(userRoutine) ((DMProfileListIteratorUPP)userRoutine)
#define NewDMDisplayListIteratorUPP(userRoutine) ((DMDisplayListIteratorUPP)userRoutine)
#define DisposeDMNotificationUPP(userUPP)
#define DisposeDMExtendedNotificationUPP(userUPP)
#define DisposeDMComponentListIteratorUPP(userUPP)
#define DisposeDMDisplayModeListIteratorUPP(userUPP)
#define DisposeDMProfileListIteratorUPP(userUPP)
#define DisposeDMDisplayListIteratorUPP(userUPP)
#define InvokeDMNotificationUPP(theEvent,userUPP) (*userUPP)(theEvent)
#define InvokeDMExtendedNotificationUPP(userData,theMessage,notifyData,userUPP) (*userUPP)(userData, theMessage, notifyData)
#define InvokeDMComponentListIteratorUPP(userData,itemIndex,componentInfo,userUPP) (*userUPP)(userData, itemIndex, componentInfo)
#define InvokeDMDisplayModeListIteratorUPP(userData,itemIndex,displaymodeInfo,userUPP) (*userUPP)(userData, itemIndex, displaymodeInfo)
#define InvokeDMProfileListIteratorUPP(userData,itemIndex,profileInfo,userUPP) (*userUPP)(userData, itemIndex, profileInfo)
#define InvokeDMDisplayListIteratorUPP(userData,itemIndex,displaymodeInfo,userUPP) (*userUPP)(userData, itemIndex, displaymodeInfo)
# 1684 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h" 3
#pragma pack(pop)
# 83 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
#define __FONTSYNC__
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
#pragma options align=power
typedef UInt32 FNSMatchOptions;
enum {
kFNSMatchNames = 0x00000001,
kFNSMatchTechnology = 0x00000002,
kFNSMatchGlyphs = 0x00000004,
kFNSMatchEncodings = 0x00000008,
kFNSMatchQDMetrics = 0x00000010,
kFNSMatchATSUMetrics = 0x00000020,
kFNSMatchKerning = 0x00000040,
kFNSMatchWSLayout = 0x00000080,
kFNSMatchAATLayout = 0x00000100,
kFNSMatchPrintEncoding = 0x00000200,
kFNSMissingDataNoMatch = (UInt32)0x80000000,
kFNSMatchAll = (UInt32)0xFFFFFFFF,
kFNSMatchDefaults = 0
};
# 81 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
typedef UInt32 FNSObjectVersion;
enum {
kFNSVersionDontCare = 0,
kFNSCurSysInfoVersion = 1
};
typedef UInt32 FNSFeatureFlags;
struct FNSSysInfo {
FNSObjectVersion iSysInfoVersion;
FNSFeatureFlags oFeatures;
FNSObjectVersion oCurRefVersion;
FNSObjectVersion oMinRefVersion;
FNSObjectVersion oCurProfileVersion;
FNSObjectVersion oMinProfileVersion;
UInt16 oFontSyncVersion;
};
typedef struct FNSSysInfo FNSSysInfo;
# 120 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
typedef struct OpaqueFNSFontReference* FNSFontReference;
# 212 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
enum {
kFNSCreatorDefault = 0,
kFNSProfileFileType = 'fnsp'
};
typedef struct OpaqueFNSFontProfile* FNSFontProfile;
# 585 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/FontSync.h" 3
#pragma options align=reset
# 87 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 3
#define __ATSUNICODE__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
#define __ATSUNICODETYPES__
# 59 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
#pragma pack(push, 2)
# 76 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef struct OpaqueATSUTextLayout* ATSUTextLayout;
# 91 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef struct OpaqueATSUStyle* ATSUStyle;
# 102 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef struct OpaqueATSUFontFallbacks* ATSUFontFallbacks;
# 114 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef Fixed ATSUTextMeasurement;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef FMFont ATSUFontID;
# 136 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUFontFeatureType;
# 146 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUFontFeatureSelector;
# 156 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef FourCharCode ATSUFontVariationAxis;
# 166 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef Fixed ATSUFontVariationValue;
# 183 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt32 ATSUAttributeTag;
enum {
kATSULineWidthTag = 1L,
kATSULineRotationTag = 2L,
kATSULineDirectionTag = 3L,
kATSULineJustificationFactorTag = 4L,
kATSULineFlushFactorTag = 5L,
kATSULineBaselineValuesTag = 6L,
kATSULineLayoutOptionsTag = 7L,
# 239 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSULineAscentTag = 8L,
# 248 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSULineDescentTag = 9L,
kATSULineLangRegionTag = 10L,
kATSULineTextLocatorTag = 11L,
kATSULineTruncationTag = 12L,
# 282 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSULineFontFallbacksTag = 13L,
kATSULineDecimalTabCharacterTag = 14L,
kATSULayoutOperationOverrideTag = 15L,
kATSULineHighlightCGColorTag = 17L,
kATSUMaxLineTag = 18L,
kATSULineLanguageTag = 10L,
# 325 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSUCGContextTag = 32767L,
kATSUQDBoldfaceTag = 256L,
kATSUQDItalicTag = 257L,
kATSUQDUnderlineTag = 258L,
kATSUQDCondensedTag = 259L,
kATSUQDExtendedTag = 260L,
kATSUFontTag = 261L,
kATSUSizeTag = 262L,
kATSUColorTag = 263L,
kATSULangRegionTag = 264L,
kATSUVerticalCharacterTag = 265L,
kATSUImposeWidthTag = 266L,
kATSUBeforeWithStreamShiftTag = 267L,
kATSUAfterWithStreamShiftTag = 268L,
kATSUCrossStreamShiftTag = 269L,
kATSUTrackingTag = 270L,
kATSUHangingInhibitFactorTag = 271L,
kATSUKerningInhibitFactorTag = 272L,
kATSUDecompositionFactorTag = 273L,
kATSUBaselineClassTag = 274L,
kATSUPriorityJustOverrideTag = 275L,
kATSUNoLigatureSplitTag = 276L,
kATSUNoCaretAngleTag = 277L,
kATSUSuppressCrossKerningTag = 278L,
kATSUNoOpticalAlignmentTag = 279L,
kATSUForceHangingTag = 280L,
kATSUNoSpecialJustificationTag = 281L,
kATSUStyleTextLocatorTag = 282L,
kATSUStyleRenderingOptionsTag = 283L,
# 516 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSUAscentTag = 284L,
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSUDescentTag = 285L,
# 534 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSULeadingTag = 286L,
kATSUGlyphSelectorTag = 287L,
kATSURGBAlphaColorTag = 288L,
kATSUFontMatrixTag = 289L,
kATSUStyleUnderlineCountOptionTag = 290L,
kATSUStyleUnderlineColorOptionTag = 291L,
kATSUStyleStrikeThroughTag = 292L,
kATSUStyleStrikeThroughCountOptionTag = 293L,
kATSUStyleStrikeThroughColorOptionTag = 294L,
kATSUStyleDropShadowTag = 295L,
kATSUStyleDropShadowBlurOptionTag = 296L,
kATSUStyleDropShadowOffsetOptionTag = 297L,
kATSUStyleDropShadowColorOptionTag = 298L,
kATSUMaxStyleTag = 299L,
kATSULanguageTag = 264L,
kATSUMaxATSUITagValue = 65535L
};
# 641 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef void * ATSUAttributeValuePtr;
typedef const void * ConstATSUAttributeValuePtr;
# 660 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUAttributeInfo {
ATSUAttributeTag fTag;
ByteCount fValueSize;
};
typedef struct ATSUAttributeInfo ATSUAttributeInfo;
# 679 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUCaret {
Fixed fX;
Fixed fY;
Fixed fDeltaX;
Fixed fDeltaY;
};
typedef struct ATSUCaret ATSUCaret;
# 696 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUCursorMovementType;
enum {
kATSUByCharacter = 0,
kATSUByTypographicCluster = 1,
kATSUByWord = 2,
kATSUByCharacterCluster = 3,
kATSUByCluster = 1
};
# 747 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt32 ATSULineTruncation;
enum {
kATSUTruncateNone = 0,
kATSUTruncateStart = 1,
kATSUTruncateEnd = 2,
kATSUTruncateMiddle = 3,
kATSUTruncateSpecificationMask = 0x00000007,
kATSUTruncFeatNoSquishing = 0x00000008
};
# 766 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUStyleLineCountType;
enum {
kATSUStyleSingleLineCount = 1,
kATSUStyleDoubleLineCount = 2
};
# 782 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUVerticalCharacterType;
enum {
kATSUStronglyHorizontal = 0,
kATSUStronglyVertical = 1
};
# 799 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUStyleComparison;
enum {
kATSUStyleUnequal = 0,
kATSUStyleContains = 1,
kATSUStyleEquals = 2,
kATSUStyleContainedBy = 3
};
# 818 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUFontFallbackMethod;
enum {
kATSUDefaultFontFallbacks = 0,
kATSULastResortOnlyFallback = 1,
# 840 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSUSequentialFallbacksPreferred = 2,
# 850 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
kATSUSequentialFallbacksExclusive = 3
};
# 871 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 ATSUTabType;
enum {
kATSULeftTab = 0,
kATSUCenterTab = 1,
kATSURightTab = 2,
kATSUDecimalTab = 3,
kATSUNumberTabTypes = 4
};
# 889 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUTab {
ATSUTextMeasurement tabPosition;
ATSUTabType tabType;
};
typedef struct ATSUTab ATSUTab;
# 903 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSURGBAlphaColor {
float red;
float green;
float blue;
float alpha;
};
typedef struct ATSURGBAlphaColor ATSURGBAlphaColor;
# 922 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt16 GlyphCollection;
enum {
kGlyphCollectionGID = 0,
kGlyphCollectionAdobeCNS1 = 1,
kGlyphCollectionAdobeGB1 = 2,
kGlyphCollectionAdobeJapan1 = 3,
kGlyphCollectionAdobeJapan2 = 4,
kGlyphCollectionAdobeKorea1 = 5,
kGlyphCollectionUnspecified = 0xFF
};
# 944 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUGlyphSelector {
GlyphCollection collection;
GlyphID glyphID;
};
typedef struct ATSUGlyphSelector ATSUGlyphSelector;
# 974 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUGlyphInfo {
GlyphID glyphID;
UInt16 reserved;
UInt32 layoutFlags;
UniCharArrayOffset charIndex;
ATSUStyle style;
Float32 deltaY;
Float32 idealX;
SInt16 screenX;
SInt16 caretX;
};
typedef struct ATSUGlyphInfo ATSUGlyphInfo;
# 1002 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUGlyphInfoArray {
ATSUTextLayout layout;
ItemCount numGlyphs;
ATSUGlyphInfo glyphs[1];
};
typedef struct ATSUGlyphInfoArray ATSUGlyphInfoArray;
# 1029 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt32 ATSUHighlightMethod;
enum {
kInvertHighlighting = 0,
kRedrawHighlighting = 1
};
# 1046 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef UInt32 ATSUBackgroundDataType;
enum {
kATSUBackgroundColor = 0,
kATSUBackgroundCallback = 1
};
# 1063 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef ATSURGBAlphaColor ATSUBackgroundColor;
# 1110 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
typedef Boolean ( * RedrawBackgroundProcPtr)(ATSUTextLayout iLayout, UniCharArrayOffset iTextOffset, UniCharCount iTextLength, ATSTrapezoid iUnhighlightArea[], ItemCount iTrapezoidCount);
typedef RedrawBackgroundProcPtr RedrawBackgroundUPP;
# 1120 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
extern RedrawBackgroundUPP
NewRedrawBackgroundUPP(RedrawBackgroundProcPtr userRoutine) ;
# 1131 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
extern void
DisposeRedrawBackgroundUPP(RedrawBackgroundUPP userUPP) ;
# 1142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
extern Boolean
InvokeRedrawBackgroundUPP(
ATSUTextLayout iLayout,
UniCharArrayOffset iTextOffset,
UniCharCount iTextLength,
ATSTrapezoid iUnhighlightArea[],
ItemCount iTrapezoidCount,
RedrawBackgroundUPP userUPP) ;
#define NewRedrawBackgroundUPP(userRoutine) ((RedrawBackgroundUPP)userRoutine)
#define DisposeRedrawBackgroundUPP(userUPP)
#define InvokeRedrawBackgroundUPP(iLayout,iTextOffset,iTextLength,iUnhighlightArea,iTrapezoidCount,userUPP) (*userUPP)(iLayout, iTextOffset, iTextLength, iUnhighlightArea, iTrapezoidCount)
# 1180 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
union ATSUBackgroundData {
ATSUBackgroundColor backgroundColor;
RedrawBackgroundUPP backgroundUPP;
};
typedef union ATSUBackgroundData ATSUBackgroundData;
# 1217 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
struct ATSUUnhighlightData {
ATSUBackgroundDataType dataType;
ATSUBackgroundData unhighlightData;
};
typedef struct ATSUUnhighlightData ATSUUnhighlightData;
# 1247 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
enum {
kATSULeftToRightBaseDirection = 0,
kATSURightToLeftBaseDirection = 1
};
#define kATSUStartAlignment ((Fract) 0x00000000L)
#define kATSUEndAlignment ((Fract) 0x40000000L)
#define kATSUCenterAlignment ((Fract) 0x20000000L)
#define kATSUNoJustification ((Fract) 0x00000000L)
#define kATSUFullJustification ((Fract) 0x40000000L)
enum {
kATSUInvalidFontID = 0
};
# 1284 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
enum {
kATSUUseLineControlWidth = 0x7FFFFFFF
};
# 1295 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
enum {
kATSUNoSelector = 0x0000FFFF
};
# 1310 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h" 3
enum {
kATSUFromTextBeginning = (UInt32)0xFFFFFFFF,
kATSUToTextEnd = (UInt32)0xFFFFFFFF,
kATSUFromPreviousLayout = (UInt32)0xFFFFFFFE,
kATSUFromFollowingLayout = (UInt32)0xFFFFFFFD
};
enum {
kATSUUseGrafPortPenLoc = (UInt32)0xFFFFFFFF,
kATSUClearAll = (UInt32)0xFFFFFFFF
};
#pragma pack(pop)
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
#define __ATSUNICODEOBJECTS__
# 74 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCreateStyle(ATSUStyle * oStyle) ;
# 153 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUDisposeStyle(ATSUStyle iStyle) ;
# 630 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetAttributes(
ATSUStyle iStyle,
ItemCount iAttributeCount,
const ATSUAttributeTag iTag[],
const ByteCount iValueSize[],
const ATSUAttributeValuePtr iValue[]) ;
# 1000 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUCreateTextLayoutWithTextPtr(
ConstUniCharArrayPtr iText,
UniCharArrayOffset iTextOffset,
UniCharCount iTextLength,
UniCharCount iTextTotalLength,
ItemCount iNumberOfRuns,
const UniCharCount iRunLengths[],
ATSUStyle iStyles[],
ATSUTextLayout * oTextLayout) ;
# 1066 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUClearLayoutCache(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineStart) ;
# 1107 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUDisposeTextLayout(ATSUTextLayout iTextLayout) ;
# 1147 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetTextLayoutRefCon(
ATSUTextLayout iTextLayout,
URefCon iRefCon) ;
# 1494 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUTextMoved(
ATSUTextLayout iTextLayout,
ConstUniCharArrayPtr iNewLocation) ;
# 1608 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetLayoutControls(
ATSUTextLayout iTextLayout,
ItemCount iAttributeCount,
const ATSUAttributeTag iTag[],
const ByteCount iValueSize[],
const ATSUAttributeValuePtr iValue[]) ;
# 2204 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetRunStyle(
ATSUTextLayout iTextLayout,
ATSUStyle iStyle,
UniCharArrayOffset iRunStart,
UniCharCount iRunLength) ;
# 2708 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUMatchFontsToText(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iTextStart,
UniCharCount iTextLength,
ATSUFontID * oFontID,
UniCharArrayOffset * oChangedOffset,
UniCharCount * oChangedLength) ;
# 2751 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h" 3
extern OSStatus
ATSUSetTransientFontMatching(
ATSUTextLayout iTextLayout,
Boolean iTransientFontMatching) ;
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
#define __ATSUNICODEDRAWING__
# 121 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUDrawText(
ATSUTextLayout iTextLayout,
UniCharArrayOffset iLineOffset,
UniCharCount iLineLength,
ATSUTextMeasurement iLocationX,
ATSUTextMeasurement iLocationY) ;
# 431 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUGetGlyphBounds(
ATSUTextLayout iTextLayout,
ATSUTextMeasurement iTextBasePointX,
ATSUTextMeasurement iTextBasePointY,
UniCharArrayOffset iBoundsCharStart,
UniCharCount iBoundsCharLength,
UInt16 iTypeOfBounds,
ItemCount iMaxNumberOfBounds,
ATSTrapezoid oGlyphBounds[],
ItemCount * oActualNumberOfBounds) ;
# 1236 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h" 3
extern OSStatus
ATSUPositionToOffset(
ATSUTextLayout iTextLayout,
ATSUTextMeasurement iLocationX,
ATSUTextMeasurement iLocationY,
UniCharArrayOffset * ioPrimaryOffset,
Boolean * oIsLeading,
UniCharArrayOffset * oSecondaryOffset) ;
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
#define __ATSUNICODEFONTS__
# 90 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h" 3
extern OSStatus
ATSUSetFontFeatures(
ATSUStyle iStyle,
ItemCount iFeatureCount,
const ATSUFontFeatureType iType[],
const ATSUFontFeatureSelector iSelector[]) ;
# 33 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
#define __ATSUNICODEGLYPHS__
# 246 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSQuadraticNewPathProcPtr)(void * callBackDataPtr);
typedef ATSQuadraticNewPathProcPtr ATSQuadraticNewPathUPP;
# 256 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSQuadraticNewPathUPP
NewATSQuadraticNewPathUPP(ATSQuadraticNewPathProcPtr userRoutine) ;
# 267 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSQuadraticNewPathUPP(ATSQuadraticNewPathUPP userUPP) ;
# 278 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSQuadraticNewPathUPP(
void * callBackDataPtr,
ATSQuadraticNewPathUPP userUPP) ;
#define NewATSQuadraticNewPathUPP(userRoutine) ((ATSQuadraticNewPathUPP)userRoutine)
#define DisposeATSQuadraticNewPathUPP(userUPP)
#define InvokeATSQuadraticNewPathUPP(callBackDataPtr,userUPP) (*userUPP)(callBackDataPtr)
# 323 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSQuadraticLineProcPtr)(const Float32Point *pt1, const Float32Point *pt2, void *callBackDataPtr);
typedef ATSQuadraticLineProcPtr ATSQuadraticLineUPP;
# 333 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSQuadraticLineUPP
NewATSQuadraticLineUPP(ATSQuadraticLineProcPtr userRoutine) ;
# 344 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSQuadraticLineUPP(ATSQuadraticLineUPP userUPP) ;
# 355 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSQuadraticLineUPP(
const Float32Point * pt1,
const Float32Point * pt2,
void * callBackDataPtr,
ATSQuadraticLineUPP userUPP) ;
#define NewATSQuadraticLineUPP(userRoutine) ((ATSQuadraticLineUPP)userRoutine)
#define DisposeATSQuadraticLineUPP(userUPP)
#define InvokeATSQuadraticLineUPP(pt1,pt2,callBackDataPtr,userUPP) (*userUPP)(pt1, pt2, callBackDataPtr)
# 407 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSQuadraticCurveProcPtr)(const Float32Point *pt1, const Float32Point *controlPt, const Float32Point *pt2, void *callBackDataPtr);
typedef ATSQuadraticCurveProcPtr ATSQuadraticCurveUPP;
# 417 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSQuadraticCurveUPP
NewATSQuadraticCurveUPP(ATSQuadraticCurveProcPtr userRoutine) ;
# 428 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSQuadraticCurveUPP(ATSQuadraticCurveUPP userUPP) ;
# 439 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSQuadraticCurveUPP(
const Float32Point * pt1,
const Float32Point * controlPt,
const Float32Point * pt2,
void * callBackDataPtr,
ATSQuadraticCurveUPP userUPP) ;
#define NewATSQuadraticCurveUPP(userRoutine) ((ATSQuadraticCurveUPP)userRoutine)
#define DisposeATSQuadraticCurveUPP(userUPP)
#define InvokeATSQuadraticCurveUPP(pt1,controlPt,pt2,callBackDataPtr,userUPP) (*userUPP)(pt1, controlPt, pt2, callBackDataPtr)
# 481 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSQuadraticClosePathProcPtr)(void * callBackDataPtr);
typedef ATSQuadraticClosePathProcPtr ATSQuadraticClosePathUPP;
# 491 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSQuadraticClosePathUPP
NewATSQuadraticClosePathUPP(ATSQuadraticClosePathProcPtr userRoutine) ;
# 502 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSQuadraticClosePathUPP(ATSQuadraticClosePathUPP userUPP) ;
# 513 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSQuadraticClosePathUPP(
void * callBackDataPtr,
ATSQuadraticClosePathUPP userUPP) ;
#define NewATSQuadraticClosePathUPP(userRoutine) ((ATSQuadraticClosePathUPP)userRoutine)
#define DisposeATSQuadraticClosePathUPP(userUPP)
#define InvokeATSQuadraticClosePathUPP(callBackDataPtr,userUPP) (*userUPP)(callBackDataPtr)
# 644 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSCubicMoveToProcPtr)(const Float32Point *pt, void *callBackDataPtr);
typedef ATSCubicMoveToProcPtr ATSCubicMoveToUPP;
# 654 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSCubicMoveToUPP
NewATSCubicMoveToUPP(ATSCubicMoveToProcPtr userRoutine) ;
# 665 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSCubicMoveToUPP(ATSCubicMoveToUPP userUPP) ;
# 676 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSCubicMoveToUPP(
const Float32Point * pt,
void * callBackDataPtr,
ATSCubicMoveToUPP userUPP) ;
#define NewATSCubicMoveToUPP(userRoutine) ((ATSCubicMoveToUPP)userRoutine)
#define DisposeATSCubicMoveToUPP(userUPP)
#define InvokeATSCubicMoveToUPP(pt,callBackDataPtr,userUPP) (*userUPP)(pt, callBackDataPtr)
# 720 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSCubicLineToProcPtr)(const Float32Point *pt, void *callBackDataPtr);
typedef ATSCubicLineToProcPtr ATSCubicLineToUPP;
# 730 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSCubicLineToUPP
NewATSCubicLineToUPP(ATSCubicLineToProcPtr userRoutine) ;
# 741 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSCubicLineToUPP(ATSCubicLineToUPP userUPP) ;
# 752 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSCubicLineToUPP(
const Float32Point * pt,
void * callBackDataPtr,
ATSCubicLineToUPP userUPP) ;
#define NewATSCubicLineToUPP(userRoutine) ((ATSCubicLineToUPP)userRoutine)
#define DisposeATSCubicLineToUPP(userUPP)
#define InvokeATSCubicLineToUPP(pt,callBackDataPtr,userUPP) (*userUPP)(pt, callBackDataPtr)
# 803 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSCubicCurveToProcPtr)(const Float32Point *pt1, const Float32Point *pt2, const Float32Point *pt3, void *callBackDataPtr);
typedef ATSCubicCurveToProcPtr ATSCubicCurveToUPP;
# 813 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSCubicCurveToUPP
NewATSCubicCurveToUPP(ATSCubicCurveToProcPtr userRoutine) ;
# 824 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSCubicCurveToUPP(ATSCubicCurveToUPP userUPP) ;
# 835 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSCubicCurveToUPP(
const Float32Point * pt1,
const Float32Point * pt2,
const Float32Point * pt3,
void * callBackDataPtr,
ATSCubicCurveToUPP userUPP) ;
#define NewATSCubicCurveToUPP(userRoutine) ((ATSCubicCurveToUPP)userRoutine)
#define DisposeATSCubicCurveToUPP(userUPP)
#define InvokeATSCubicCurveToUPP(pt1,pt2,pt3,callBackDataPtr,userUPP) (*userUPP)(pt1, pt2, pt3, callBackDataPtr)
# 877 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
typedef OSStatus ( * ATSCubicClosePathProcPtr)(void * callBackDataPtr);
typedef ATSCubicClosePathProcPtr ATSCubicClosePathUPP;
# 887 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern ATSCubicClosePathUPP
NewATSCubicClosePathUPP(ATSCubicClosePathProcPtr userRoutine) ;
# 898 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern void
DisposeATSCubicClosePathUPP(ATSCubicClosePathUPP userUPP) ;
# 909 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h" 3
extern OSStatus
InvokeATSCubicClosePathUPP(
void * callBackDataPtr,
ATSCubicClosePathUPP userUPP) ;
#define NewATSCubicClosePathUPP(userRoutine) ((ATSCubicClosePathUPP)userRoutine)
#define DisposeATSCubicClosePathUPP(userUPP)
#define InvokeATSCubicClosePathUPP(callBackDataPtr,userUPP) (*userUPP)(callBackDataPtr)
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
#define __ATSUNICODEFLATTENING__
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
#pragma pack(push, 2)
typedef UInt32 ATSUFlattenedDataStreamFormat;
enum {
kATSUDataStreamUnicodeStyledText = 'ustl'
};
typedef UInt32 ATSUFlattenStyleRunOptions;
enum {
kATSUFlattenOptionNoOptionsMask = 0x00000000
};
typedef UInt32 ATSUUnFlattenStyleRunOptions;
enum {
kATSUUnFlattenOptionNoOptionsMask = 0x00000000
};
# 82 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSUStyleRunInfo {
UniCharCount runLength;
ItemCount styleObjectIndex;
};
typedef struct ATSUStyleRunInfo ATSUStyleRunInfo;
# 106 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
enum {
kATSFlatDataUstlVersion0 = 0,
kATSFlatDataUstlVersion1 = 1,
kATSFlatDataUstlVersion2 = 2,
kATSFlatDataUstlCurrentVersion = kATSFlatDataUstlVersion2
};
# 121 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSFlatDataMainHeaderBlock {
UInt32 version;
ByteCount sizeOfDataBlock;
ByteCount offsetToTextLayouts;
ByteCount offsetToStyleRuns;
ByteCount offsetToStyleList;
};
typedef struct ATSFlatDataMainHeaderBlock ATSFlatDataMainHeaderBlock;
# 159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSFlatDataTextLayoutDataHeader {
ByteCount sizeOfLayoutData;
ByteCount textLayoutLength;
ByteCount offsetToLayoutControls;
ByteCount offsetToLineInfo;
};
typedef struct ATSFlatDataTextLayoutDataHeader ATSFlatDataTextLayoutDataHeader;
struct ATSFlatDataTextLayoutHeader {
ItemCount numFlattenedTextLayouts;
ATSFlatDataTextLayoutDataHeader flattenedTextLayouts[1];
};
typedef struct ATSFlatDataTextLayoutHeader ATSFlatDataTextLayoutHeader;
struct ATSFlatDataLayoutControlsDataHeader {
ItemCount numberOfLayoutControls;
# 222 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
ATSUAttributeInfo controlArray[1];
};
typedef struct ATSFlatDataLayoutControlsDataHeader ATSFlatDataLayoutControlsDataHeader;
struct ATSFlatDataLineInfoData {
UniCharCount lineLength;
ItemCount numberOfLineControls;
};
typedef struct ATSFlatDataLineInfoData ATSFlatDataLineInfoData;
struct ATSFlatDataLineInfoHeader {
ItemCount numberOfLines;
ATSFlatDataLineInfoData lineInfoArray[1];
};
typedef struct ATSFlatDataLineInfoHeader ATSFlatDataLineInfoHeader;
# 273 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSFlatDataStyleRunDataHeader {
ItemCount numberOfStyleRuns;
ATSUStyleRunInfo styleRunArray[1];
};
typedef struct ATSFlatDataStyleRunDataHeader ATSFlatDataStyleRunDataHeader;
# 297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSFlatDataStyleListStyleDataHeader {
ByteCount sizeOfStyleInfo;
ItemCount numberOfSetAttributes;
ItemCount numberOfSetFeatures;
ItemCount numberOfSetVariations;
# 338 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
};
typedef struct ATSFlatDataStyleListStyleDataHeader ATSFlatDataStyleListStyleDataHeader;
struct ATSFlatDataStyleListHeader {
ItemCount numberOfStyles;
ATSFlatDataStyleListStyleDataHeader styleDataArray[1];
};
typedef struct ATSFlatDataStyleListHeader ATSFlatDataStyleListHeader;
struct ATSFlatDataStyleListFeatureData {
ATSUFontFeatureType theFeatureType;
ATSUFontFeatureSelector theFeatureSelector;
};
typedef struct ATSFlatDataStyleListFeatureData ATSFlatDataStyleListFeatureData;
struct ATSFlatDataStyleListVariationData {
ATSUFontVariationAxis theVariationAxis;
ATSUFontVariationValue theVariationValue;
};
typedef struct ATSFlatDataStyleListVariationData ATSFlatDataStyleListVariationData;
# 401 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
typedef UInt32 ATSFlatDataFontSpeciferType;
enum {
kATSFlattenedFontSpecifierRawNameData = 'namd'
};
struct ATSFlatDataFontNameDataHeader {
ATSFlatDataFontSpeciferType nameSpecifierType;
ByteCount nameSpecifierSize;
};
typedef struct ATSFlatDataFontNameDataHeader ATSFlatDataFontNameDataHeader;
struct ATSFlatDataFontSpecRawNameData {
FontNameCode fontNameType;
FontPlatformCode fontNamePlatform;
FontScriptCode fontNameScript;
FontLanguageCode fontNameLanguage;
ByteCount fontNameLength;
};
typedef struct ATSFlatDataFontSpecRawNameData ATSFlatDataFontSpecRawNameData;
# 481 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
struct ATSFlatDataFontSpecRawNameDataHeader {
ItemCount numberOfFlattenedNames;
ATSFlatDataFontSpecRawNameData nameDataArray[1];
};
typedef struct ATSFlatDataFontSpecRawNameDataHeader ATSFlatDataFontSpecRawNameDataHeader;
# 770 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h" 3
#pragma pack(pop)
# 41 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
#define __ATSUNICODEDIRECTACCESS__
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
typedef UInt32 ATSUDirectDataSelector;
enum {
# 59 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataAdvanceDeltaFixedArray = 0L,
# 70 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataBaselineDeltaFixedArray = 1L,
# 85 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataDeviceDeltaSInt16Array = 2L,
# 100 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataStyleIndexUInt16Array = 3L,
# 109 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataStyleSettingATSUStyleSettingRefArray = 4L,
# 125 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataLayoutRecordATSLayoutRecordVersion1 = 100L,
# 138 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
kATSUDirectDataLayoutRecordATSLayoutRecordCurrent = kATSUDirectDataLayoutRecordATSLayoutRecordVersion1
};
# 152 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
typedef struct LLCStyleInfo* ATSUStyleSettingRef;
# 225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
extern OSStatus
ATSUDirectGetLayoutDataArrayPtrFromLineRef(
ATSULineRef iLineRef,
ATSUDirectDataSelector iDataSelector,
Boolean iCreate,
void * oLayoutDataArrayPtr[],
ItemCount * oLayoutDataCount) ;
# 353 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h" 3
extern OSStatus
ATSUDirectReleaseLayoutDataArrayPtr(
ATSULineRef iLineRef,
ATSUDirectDataSelector iDataSelector,
void * iLayoutDataArrayPtr[]) ;
# 45 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h" 2 3
# 91 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h" 2 3
# 31 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 3
#define __HISERVICES__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
#define __HISHAPE__
# 68 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
typedef const struct __HIShape* HIShapeRef;
typedef struct __HIShape* HIMutableShapeRef;
enum {
kHIShapeEnumerateInit = 1,
kHIShapeEnumerateRect = 2,
kHIShapeEnumerateTerminate = 3
};
enum {
kHIShapeParseFromTop = 0,
kHIShapeParseFromBottom = (1 << 0),
kHIShapeParseFromLeft = 0,
kHIShapeParseFromRight = (1 << 1),
kHIShapeParseFromTopLeft = kHIShapeParseFromTop | kHIShapeParseFromLeft,
kHIShapeParseFromBottomRight = kHIShapeParseFromBottom | kHIShapeParseFromRight
};
# 170 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
typedef OSStatus ( * HIShapeEnumerateProcPtr)(int inMessage, HIShapeRef inShape, const CGRect *inRect, void *inRefcon);
# 193 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern CFTypeID
HIShapeGetTypeID(void) ;
# 224 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateEmpty(void) ;
# 255 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateWithQDRgn(RgnHandle inRgn) ;
# 286 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateWithRect(const CGRect * inRect) ;
# 317 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateCopy(HIShapeRef inShape) ;
# 351 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateIntersection(
HIShapeRef inShape1,
HIShapeRef inShape2) ;
# 387 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateDifference(
HIShapeRef inShape1,
HIShapeRef inShape2) ;
# 423 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateUnion(
HIShapeRef inShape1,
HIShapeRef inShape2) ;
# 459 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIShapeRef
HIShapeCreateXor(
HIShapeRef inShape1,
HIShapeRef inShape2) ;
# 492 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern Boolean
HIShapeIsEmpty(HIShapeRef inShape) ;
# 522 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern Boolean
HIShapeIsRectangular(HIShapeRef inShape) ;
# 556 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern Boolean
HIShapeContainsPoint(
HIShapeRef inShape,
const CGPoint * inPoint) ;
# 592 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern Boolean
HIShapeIntersectsRect(
HIShapeRef inShape,
const CGRect * inRect) ;
# 627 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern CGRect *
HIShapeGetBounds(
HIShapeRef inShape,
CGRect * outRect) ;
# 665 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeGetAsQDRgn(
HIShapeRef inShape,
RgnHandle outRgn) ;
# 703 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeReplacePathInCGContext(
HIShapeRef inShape,
CGContextRef inContext) ;
# 786 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeEnumerate(
HIShapeRef inShape,
OptionBits inOptions,
HIShapeEnumerateProcPtr inProc,
void * inRefcon) ;
# 819 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIMutableShapeRef
HIShapeCreateMutable(void) ;
# 850 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIMutableShapeRef
HIShapeCreateMutableCopy(HIShapeRef inOrig) ;
# 877 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern HIMutableShapeRef
HIShapeCreateMutableWithRect(const CGRect * inRect) ;
# 907 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeSetEmpty(HIMutableShapeRef inShape) ;
# 942 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeSetWithShape(
HIMutableShapeRef inDestShape,
HIShapeRef inSrcShape) ;
# 982 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeIntersect(
HIShapeRef inShape1,
HIShapeRef inShape2,
HIMutableShapeRef outResult) ;
# 1023 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeDifference(
HIShapeRef inShape1,
HIShapeRef inShape2,
HIMutableShapeRef outResult) ;
# 1071 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeUnion(
HIShapeRef inShape1,
HIShapeRef inShape2,
HIMutableShapeRef outResult) ;
# 1112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeXor(
HIShapeRef inShape1,
HIShapeRef inShape2,
HIMutableShapeRef outResult) ;
# 1151 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeOffset(
HIMutableShapeRef inShape,
CGFloat inDX,
CGFloat inDY) ;
# 1192 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeInset(
HIMutableShapeRef inShape,
CGFloat inDX,
CGFloat inDY) ;
# 1225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIShape.h" 3
extern OSStatus
HIShapeUnionWithRect(
HIMutableShapeRef inShape,
const CGRect * inRect) ;
# 26 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
#define __ICONS__
# 28 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 2 3
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
#pragma pack(push, 2)
enum {
kAlignNone = 0x00,
kAlignVerticalCenter = 0x01,
kAlignTop = 0x02,
kAlignBottom = 0x03,
kAlignHorizontalCenter = 0x04,
kAlignAbsoluteCenter = kAlignVerticalCenter | kAlignHorizontalCenter,
kAlignCenterTop = kAlignTop | kAlignHorizontalCenter,
kAlignCenterBottom = kAlignBottom | kAlignHorizontalCenter,
kAlignLeft = 0x08,
kAlignCenterLeft = kAlignVerticalCenter | kAlignLeft,
kAlignTopLeft = kAlignTop | kAlignLeft,
kAlignBottomLeft = kAlignBottom | kAlignLeft,
kAlignRight = 0x0C,
kAlignCenterRight = kAlignVerticalCenter | kAlignRight,
kAlignTopRight = kAlignTop | kAlignRight,
kAlignBottomRight = kAlignBottom | kAlignRight
};
enum {
atNone = kAlignNone,
atVerticalCenter = kAlignVerticalCenter,
atTop = kAlignTop,
atBottom = kAlignBottom,
atHorizontalCenter = kAlignHorizontalCenter,
atAbsoluteCenter = kAlignAbsoluteCenter,
atCenterTop = kAlignCenterTop,
atCenterBottom = kAlignCenterBottom,
atLeft = kAlignLeft,
atCenterLeft = kAlignCenterLeft,
atTopLeft = kAlignTopLeft,
atBottomLeft = kAlignBottomLeft,
atRight = kAlignRight,
atCenterRight = kAlignCenterRight,
atTopRight = kAlignTopRight,
atBottomRight = kAlignBottomRight
};
typedef SInt16 IconAlignmentType;
enum {
kTransformNone = 0x00,
kTransformDisabled = 0x01,
kTransformOffline = 0x02,
kTransformOpen = 0x03,
kTransformLabel1 = 0x0100,
kTransformLabel2 = 0x0200,
kTransformLabel3 = 0x0300,
kTransformLabel4 = 0x0400,
kTransformLabel5 = 0x0500,
kTransformLabel6 = 0x0600,
kTransformLabel7 = 0x0700,
kTransformSelected = 0x4000,
kTransformSelectedDisabled = kTransformSelected | kTransformDisabled,
kTransformSelectedOffline = kTransformSelected | kTransformOffline,
kTransformSelectedOpen = kTransformSelected | kTransformOpen
};
enum {
ttNone = kTransformNone,
ttDisabled = kTransformDisabled,
ttOffline = kTransformOffline,
ttOpen = kTransformOpen,
ttLabel1 = kTransformLabel1,
ttLabel2 = kTransformLabel2,
ttLabel3 = kTransformLabel3,
ttLabel4 = kTransformLabel4,
ttLabel5 = kTransformLabel5,
ttLabel6 = kTransformLabel6,
ttLabel7 = kTransformLabel7,
ttSelected = kTransformSelected,
ttSelectedDisabled = kTransformSelectedDisabled,
ttSelectedOffline = kTransformSelectedOffline,
ttSelectedOpen = kTransformSelectedOpen
};
typedef SInt16 IconTransformType;
enum {
kSelectorLarge1Bit = 0x00000001,
kSelectorLarge4Bit = 0x00000002,
kSelectorLarge8Bit = 0x00000004,
kSelectorLarge32Bit = 0x00000008,
kSelectorLarge8BitMask = 0x00000010,
kSelectorSmall1Bit = 0x00000100,
kSelectorSmall4Bit = 0x00000200,
kSelectorSmall8Bit = 0x00000400,
kSelectorSmall32Bit = 0x00000800,
kSelectorSmall8BitMask = 0x00001000,
kSelectorMini1Bit = 0x00010000,
kSelectorMini4Bit = 0x00020000,
kSelectorMini8Bit = 0x00040000,
kSelectorHuge1Bit = 0x01000000,
kSelectorHuge4Bit = 0x02000000,
kSelectorHuge8Bit = 0x04000000,
kSelectorHuge32Bit = 0x08000000,
kSelectorHuge8BitMask = 0x10000000,
kSelectorAllLargeData = 0x000000FF,
kSelectorAllSmallData = 0x0000FF00,
kSelectorAllMiniData = 0x00FF0000,
kSelectorAllHugeData = (UInt32)0xFF000000,
kSelectorAll1BitData = kSelectorLarge1Bit | kSelectorSmall1Bit | kSelectorMini1Bit | kSelectorHuge1Bit,
kSelectorAll4BitData = kSelectorLarge4Bit | kSelectorSmall4Bit | kSelectorMini4Bit | kSelectorHuge4Bit,
kSelectorAll8BitData = kSelectorLarge8Bit | kSelectorSmall8Bit | kSelectorMini8Bit | kSelectorHuge8Bit,
kSelectorAll32BitData = kSelectorLarge32Bit | kSelectorSmall32Bit | kSelectorHuge32Bit,
kSelectorAllAvailableData = (UInt32)0xFFFFFFFF
};
typedef UInt32 IconSelectorValue;
enum {
svLarge1Bit = kSelectorLarge1Bit,
svLarge4Bit = kSelectorLarge4Bit,
svLarge8Bit = kSelectorLarge8Bit,
svSmall1Bit = kSelectorSmall1Bit,
svSmall4Bit = kSelectorSmall4Bit,
svSmall8Bit = kSelectorSmall8Bit,
svMini1Bit = kSelectorMini1Bit,
svMini4Bit = kSelectorMini4Bit,
svMini8Bit = kSelectorMini8Bit,
svAllLargeData = kSelectorAllLargeData,
svAllSmallData = kSelectorAllSmallData,
svAllMiniData = kSelectorAllMiniData,
svAll1BitData = kSelectorAll1BitData,
svAll4BitData = kSelectorAll4BitData,
svAll8BitData = kSelectorAll8BitData,
svAllAvailableData = kSelectorAllAvailableData
};
typedef OSErr ( * IconActionProcPtr)(ResType theType, Handle *theIcon, void *yourDataPtr);
typedef Handle ( * IconGetterProcPtr)(ResType theType, void *yourDataPtr);
typedef IconActionProcPtr IconActionUPP;
typedef IconGetterProcPtr IconGetterUPP;
# 192 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern IconActionUPP
NewIconActionUPP(IconActionProcPtr userRoutine) ;
# 203 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern IconGetterUPP
NewIconGetterUPP(IconGetterProcPtr userRoutine) ;
# 214 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern void
DisposeIconActionUPP(IconActionUPP userUPP) ;
# 225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern void
DisposeIconGetterUPP(IconGetterUPP userUPP) ;
# 236 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
InvokeIconActionUPP(
ResType theType,
Handle * theIcon,
void * yourDataPtr,
IconActionUPP userUPP) ;
# 251 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Handle
InvokeIconGetterUPP(
ResType theType,
void * yourDataPtr,
IconGetterUPP userUPP) ;
# 266 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
#define NewIconActionUPP(userRoutine) ((IconActionUPP)userRoutine)
#define NewIconGetterUPP(userRoutine) ((IconGetterUPP)userRoutine)
#define DisposeIconActionUPP(userUPP)
#define DisposeIconGetterUPP(userUPP)
#define InvokeIconActionUPP(theType,theIcon,yourDataPtr,userUPP) (*userUPP)(theType, theIcon, yourDataPtr)
#define InvokeIconGetterUPP(theType,yourDataPtr,userUPP) (*userUPP)(theType, yourDataPtr)
# 933 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
typedef UInt32 PlotIconRefFlags;
enum {
kPlotIconRefNormalFlags = 0L,
kPlotIconRefNoImage = (1 << 1),
kPlotIconRefNoMask = (1 << 2)
};
# 978 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
IconRefToIconFamily(
IconRef theIconRef,
IconSelectorValue whichIcons,
IconFamilyHandle * iconFamily) ;
# 1055 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
SetIconFamilyData(
IconFamilyHandle iconFamily,
OSType iconType,
Handle h) ;
# 1083 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSErr
GetIconFamilyData(
IconFamilyHandle iconFamily,
OSType iconType,
Handle h) ;
# 1161 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern OSStatus
PlotIconRefInContext(
CGContextRef inContext,
const CGRect * inRect,
IconAlignmentType inAlign,
IconTransformType inTransform,
const RGBColor * inLabelColor,
PlotIconRefFlags inFlags,
IconRef inIconRef) ;
# 1305 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
IconRefContainsCGPoint(
const CGPoint * testPt,
const CGRect * iconRect,
IconAlignmentType align,
IconServicesUsageFlags iconServicesUsageFlags,
IconRef theIconRef) ;
# 1352 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
IconRefIntersectsCGRect(
const CGRect * testRect,
const CGRect * iconRect,
IconAlignmentType align,
IconServicesUsageFlags iconServicesUsageFlags,
IconRef theIconRef) ;
# 1393 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern HIShapeRef
IconRefToHIShape(
const CGRect * iconRect,
IconAlignmentType align,
IconServicesUsageFlags iconServicesUsageFlags,
IconRef theIconRef) ;
# 1460 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern Boolean
IsIconRefMaskEmpty(IconRef iconRef) ;
# 1487 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
extern IconRef
GetIconRefVariant(
IconRef inIconRef,
OSType inVariant,
IconTransformType * outTransform) ;
# 1507 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Icons.h" 3
#pragma pack(pop)
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 1 3
# 36 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
#define __INTERNETCONFIG__
# 57 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
#pragma pack(push, 2)
enum {
icPrefNotFoundErr = -666,
icPermErr = -667,
icPrefDataErr = -668,
icInternalErr = -669,
icTruncatedErr = -670,
icNoMoreWritersErr = -671,
icNothingToOverrideErr = -672,
icNoURLErr = -673,
icConfigNotFoundErr = -674,
icConfigInappropriateErr = -675,
icProfileNotFoundErr = -676,
icTooManyProfilesErr = -677
};
enum {
kICComponentInterfaceVersion0 = 0x00000000,
kICComponentInterfaceVersion1 = 0x00010000,
kICComponentInterfaceVersion2 = 0x00020000,
kICComponentInterfaceVersion3 = 0x00030000,
kICComponentInterfaceVersion4 = 0x00040000,
kICComponentInterfaceVersion = kICComponentInterfaceVersion4
};
typedef struct OpaqueICInstance* ICInstance;
# 112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
typedef UInt32 ICAttr;
enum {
kICAttrLockedBit = 0,
kICAttrVolatileBit = 1
};
enum {
kICAttrNoChange = (UInt32)0xFFFFFFFF,
kICAttrLockedMask = 0x00000001,
kICAttrVolatileMask = 0x00000002
};
typedef UInt8 ICPerm;
enum {
icNoPerm = 0,
icReadOnlyPerm = 1,
icReadWritePerm = 2
};
typedef SInt32 ICProfileID;
typedef ICProfileID * ICProfileIDPtr;
enum {
kICNilProfileID = 0
};
enum {
kICNoUserInteractionBit = 0
};
enum {
kICNoUserInteractionMask = 0x00000001
};
enum {
kICFileType = 'ICAp',
kICCreator = 'ICAp'
};
enum {
kInternetEventClass = 'GURL',
kAEGetURL = 'GURL',
kAEFetchURL = 'FURL',
keyAEAttaching = 'Atch'
};
enum {
kICEditPreferenceEventClass = 'ICAp',
kICEditPreferenceEvent = 'ICAp',
keyICEditPreferenceDestination = 'dest'
};
enum {
kICComponentVersion = 0,
kICNumVersion = 1
};
struct ICFontRecord {
SInt16 size;
Style face;
char pad;
Str255 font;
};
typedef struct ICFontRecord ICFontRecord;
typedef ICFontRecord * ICFontRecordPtr;
typedef ICFontRecordPtr * ICFontRecordHandle;
struct ICCharTable {
unsigned char netToMac[256];
unsigned char macToNet[256];
};
typedef struct ICCharTable ICCharTable;
typedef ICCharTable * ICCharTablePtr;
typedef ICCharTablePtr * ICCharTableHandle;
struct ICAppSpec {
OSType fCreator;
Str63 name;
};
typedef struct ICAppSpec ICAppSpec;
typedef ICAppSpec * ICAppSpecPtr;
typedef ICAppSpecPtr * ICAppSpecHandle;
struct ICAppSpecList {
SInt16 numberOfItems;
ICAppSpec appSpecs[1];
};
typedef struct ICAppSpecList ICAppSpecList;
typedef ICAppSpecList * ICAppSpecListPtr;
typedef ICAppSpecListPtr * ICAppSpecListHandle;
struct ICFileSpec {
Str31 volName;
SInt32 volCreationDate;
FSSpec fss;
AliasRecord alias;
};
typedef struct ICFileSpec ICFileSpec;
typedef ICFileSpec * ICFileSpecPtr;
typedef ICFileSpecPtr * ICFileSpecHandle;
enum {
kICFileSpecHeaderSize = sizeof(ICFileSpec) - sizeof(AliasRecord)
};
typedef SInt32 ICMapEntryFlags;
typedef SInt16 ICFixedLength;
struct ICMapEntry {
SInt16 totalLength;
ICFixedLength fixedLength;
SInt16 version;
OSType fileType;
OSType fileCreator;
OSType postCreator;
ICMapEntryFlags flags;
Str255 extension;
Str255 creatorAppName;
Str255 postAppName;
Str255 MIMEType;
Str255 entryName;
};
typedef struct ICMapEntry ICMapEntry;
typedef ICMapEntry * ICMapEntryPtr;
typedef ICMapEntryPtr * ICMapEntryHandle;
enum {
kICMapFixedLength = 22
};
enum {
kICMapBinaryBit = 0,
kICMapResourceForkBit = 1,
kICMapDataForkBit = 2,
kICMapPostBit = 3,
kICMapNotIncomingBit = 4,
kICMapNotOutgoingBit = 5
};
enum {
kICMapBinaryMask = 0x00000001,
kICMapResourceForkMask = 0x00000002,
kICMapDataForkMask = 0x00000004,
kICMapPostMask = 0x00000008,
kICMapNotIncomingMask = 0x00000010,
kICMapNotOutgoingMask = 0x00000020
};
typedef SInt16 ICServiceEntryFlags;
struct ICServiceEntry {
Str255 name;
SInt16 port;
ICServiceEntryFlags flags;
};
typedef struct ICServiceEntry ICServiceEntry;
typedef ICServiceEntry * ICServiceEntryPtr;
typedef ICServiceEntryPtr * ICServiceEntryHandle;
enum {
kICServicesTCPBit = 0,
kICServicesUDPBit = 1
};
enum {
kICServicesTCPMask = 0x00000001,
kICServicesUDPMask = 0x00000002
};
struct ICServices {
SInt16 count;
ICServiceEntry services[1];
};
typedef struct ICServices ICServices;
typedef ICServices * ICServicesPtr;
typedef ICServicesPtr * ICServicesHandle;
#define kICReservedKey "\pkICReservedKey"
#define kICArchieAll "\pArchieAll"
#define kICArchiePreferred "\pArchiePreferred"
#define kICCharacterSet "\pCharacterSet"
#define kICDocumentFont "\pDocumentFont"
#define kICDownloadFolder "\pDownloadFolder"
#define kICEmail "\pEmail"
#define kICFTPHost "\pFTPHost"
#define kICFTPProxyAccount "\pFTPProxyAccount"
#define kICFTPProxyHost "\pFTPProxyHost"
#define kICFTPProxyPassword "\pFTPProxyPassword"
#define kICFTPProxyUser "\pFTPProxyUser"
#define kICFingerHost "\pFingerHost"
#define kICGopherHost "\pGopherHost"
#define kICGopherProxy "\pGopherProxy"
#define kICHTTPProxyHost "\pHTTPProxyHost"
#define kICHelper "\pHelper¥"
#define kICHelperDesc "\pHelperDesc¥"
#define kICHelperList "\pHelperList¥"
#define kICIRCHost "\pIRCHost"
#define kICInfoMacAll "\pInfoMacAll"
#define kICInfoMacPreferred "\pInfoMacPreferred"
#define kICLDAPSearchbase "\pLDAPSearchbase"
#define kICLDAPServer "\pLDAPServer"
#define kICListFont "\pListFont"
#define kICMacSearchHost "\pMacSearchHost"
#define kICMailAccount "\pMailAccount"
#define kICMailHeaders "\pMailHeaders"
#define kICMailPassword "\pMailPassword"
#define kICMapping "\pMapping"
#define kICNNTPHost "\pNNTPHost"
#define kICNTPHost "\pNTPHost"
#define kICNewMailDialog "\pNewMailDialog"
#define kICNewMailFlashIcon "\pNewMailFlashIcon"
#define kICNewMailPlaySound "\pNewMailPlaySound"
#define kICNewMailSoundName "\pNewMailSoundName"
#define kICNewsAuthPassword "\pNewsAuthPassword"
#define kICNewsAuthUsername "\pNewsAuthUsername"
#define kICNewsHeaders "\pNewsHeaders"
#define kICNoProxyDomains "\pNoProxyDomains"
#define kICOrganization "\pOrganization"
#define kICPhHost "\pPhHost"
#define kICPlan "\pPlan"
#define kICPrinterFont "\pPrinterFont"
#define kICQuotingString "\pQuotingString"
#define kICRealName "\pRealName"
#define kICRTSPProxyHost "\pRTSPProxyHost"
#define kICSMTPHost "\pSMTPHost"
#define kICScreenFont "\pScreenFont"
#define kICServices "\pServices"
#define kICSignature "\pSignature"
#define kICSnailMailAddress "\pSnailMailAddress"
#define kICSocksHost "\pSocksHost"
#define kICTelnetHost "\pTelnetHost"
#define kICUMichAll "\pUMichAll"
#define kICUMichPreferred "\pUMichPreferred"
#define kICUseFTPProxy "\pUseFTPProxy"
#define kICUseGopherProxy "\pUseGopherProxy"
#define kICUseHTTPProxy "\pUseHTTPProxy"
#define kICUsePassiveFTP "\pUsePassiveFTP"
#define kICUseRTSPProxy "\pUseRTSPProxy"
#define kICUseSocks "\pUseSocks"
#define kICWAISGateway "\pWAISGateway"
#define kICWWWHomePage "\pWWWHomePage"
#define kICWebBackgroundColour "\pWebBackgroundColour"
#define kICWebReadColor "\p646F6777¥WebReadColor"
#define kICWebSearchPagePrefs "\pWebSearchPagePrefs"
#define kICWebTextColor "\pWebTextColor"
#define kICWebUnderlineLinks "\p646F6777¥WebUnderlineLinks"
#define kICWebUnreadColor "\p646F6777¥WebUnreadColor"
#define kICWhoisHost "\pWhoisHost"
# 660 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICStart(
ICInstance * inst,
OSType signature) ;
# 681 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICStop(ICInstance inst) ;
# 700 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetVersion(
ICInstance inst,
long whichVersion,
UInt32 * version) ;
# 723 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetConfigName(
ICInstance inst,
Boolean longname,
Str255 name) ;
# 751 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetSeed(
ICInstance inst,
long * seed) ;
# 773 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetPerm(
ICInstance inst,
ICPerm * perm) ;
# 796 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICBegin(
ICInstance inst,
ICPerm perm) ;
# 822 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetPref(
ICInstance inst,
ConstStr255Param key,
ICAttr * attr,
void * buf,
long * size) ;
# 857 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSetPref(
ICInstance inst,
ConstStr255Param key,
ICAttr attr,
const void * buf,
long size) ;
# 890 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICFindPrefHandle(
ICInstance inst,
ConstStr255Param key,
ICAttr * attr,
Handle prefh) ;
# 918 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetPrefHandle(
ICInstance inst,
ConstStr255Param key,
ICAttr * attr,
Handle * prefh) ;
# 949 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSetPrefHandle(
ICInstance inst,
ConstStr255Param key,
ICAttr attr,
Handle prefh) ;
# 980 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICCountPref(
ICInstance inst,
long * count) ;
# 1001 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetIndPref(
ICInstance inst,
long index,
Str255 key) ;
# 1025 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICDeletePref(
ICInstance inst,
ConstStr255Param key) ;
# 1047 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICEnd(ICInstance inst) ;
# 1066 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetDefaultPref(
ICInstance inst,
ConstStr255Param key,
Handle prefH) ;
# 1089 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICEditPreferences(
ICInstance inst,
ConstStr255Param key) ;
# 1119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICLaunchURL(
ICInstance inst,
ConstStr255Param hint,
const void * data,
long len,
long * selStart,
long * selEnd) ;
# 1157 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICParseURL(
ICInstance inst,
ConstStr255Param hint,
const void * data,
long len,
long * selStart,
long * selEnd,
Handle url) ;
# 1196 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICCreateGURLEvent(
ICInstance inst,
OSType helperCreator,
Handle urlH,
AppleEvent * theEvent) ;
# 1219 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSendGURLEvent(
ICInstance inst,
AppleEvent * theEvent) ;
# 1245 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICMapFilename(
ICInstance inst,
ConstStr255Param filename,
ICMapEntry * entry) ;
# 1269 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICMapTypeCreator(
ICInstance inst,
OSType fType,
OSType fCreator,
ConstStr255Param filename,
ICMapEntry * entry) ;
# 1297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICMapEntriesFilename(
ICInstance inst,
Handle entries,
ConstStr255Param filename,
ICMapEntry * entry) ;
# 1323 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICMapEntriesTypeCreator(
ICInstance inst,
Handle entries,
OSType fType,
OSType fCreator,
ConstStr255Param filename,
ICMapEntry * entry) ;
# 1353 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICCountMapEntries(
ICInstance inst,
Handle entries,
long * count) ;
# 1376 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetIndMapEntry(
ICInstance inst,
Handle entries,
long index,
long * pos,
ICMapEntry * entry) ;
# 1405 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetMapEntry(
ICInstance inst,
Handle entries,
long pos,
ICMapEntry * entry) ;
# 1431 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSetMapEntry(
ICInstance inst,
Handle entries,
long pos,
const ICMapEntry * entry) ;
# 1459 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICDeleteMapEntry(
ICInstance inst,
Handle entries,
long pos) ;
# 1484 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICAddMapEntry(
ICInstance inst,
Handle entries,
const ICMapEntry * entry) ;
# 1509 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetCurrentProfile(
ICInstance inst,
ICProfileID * currentID) ;
# 1529 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSetCurrentProfile(
ICInstance inst,
ICProfileID newID) ;
# 1549 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICCountProfiles(
ICInstance inst,
long * count) ;
# 1569 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetIndProfile(
ICInstance inst,
long index,
ICProfileID * thisID) ;
# 1592 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICGetProfileName(
ICInstance inst,
ICProfileID thisID,
Str255 name) ;
# 1615 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICSetProfileName(
ICInstance inst,
ICProfileID thisID,
ConstStr255Param name) ;
# 1637 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICAddProfile(
ICInstance inst,
ICProfileID prototypeID,
ICProfileID * newID) ;
# 1663 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
extern OSStatus
ICDeleteProfile(
ICInstance inst,
ICProfileID thisID) ;
# 1675 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h" 3
#pragma pack(pop)
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
#define __PROCESSES__
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
#pragma pack(push, 2)
enum {
kNoProcess = 0,
kSystemProcess = 1,
kCurrentProcess = 2
};
typedef UInt16 LaunchFlags;
enum {
launchContinue = 0x4000,
launchNoFileFlags = 0x0800,
launchUseMinimum = 0x0400,
launchDontSwitch = 0x0200,
launchAllow24Bit = 0x0100,
launchInhibitDaemon = 0x0080
};
struct AppParameters {
struct {
UInt16 what;
UInt32 message;
UInt32 when;
Point where;
UInt16 modifiers;
} theMsgEvent;
UInt32 eventRefCon;
UInt32 messageLength;
};
typedef struct AppParameters AppParameters;
typedef AppParameters * AppParametersPtr;
struct LaunchParamBlockRec {
UInt32 reserved1;
UInt16 reserved2;
UInt16 launchBlockID;
UInt32 launchEPBLength;
UInt16 launchFileFlags;
LaunchFlags launchControlFlags;
FSRefPtr launchAppRef;
ProcessSerialNumber launchProcessSN;
UInt32 launchPreferredSize;
UInt32 launchMinimumSize;
UInt32 launchAvailableSize;
AppParametersPtr launchAppParameters;
};
typedef struct LaunchParamBlockRec LaunchParamBlockRec;
# 106 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
typedef LaunchParamBlockRec * LaunchPBPtr;
enum {
extendedBlock = 0x4C43,
extendedBlockLen = sizeof(LaunchParamBlockRec) - 12
};
enum {
modeReserved = 0x01000000,
modeControlPanel = 0x00080000,
modeLaunchDontSwitch = 0x00040000,
modeDeskAccessory = 0x00020000,
modeMultiLaunch = 0x00010000,
modeNeedSuspendResume = 0x00004000,
modeCanBackground = 0x00001000,
modeDoesActivateOnFGSwitch = 0x00000800,
modeOnlyBackground = 0x00000400,
modeGetFrontClicks = 0x00000200,
modeGetAppDiedMsg = 0x00000100,
mode32BitCompatible = 0x00000080,
modeHighLevelEventAware = 0x00000040,
modeLocalAndRemoteHLEvents = 0x00000020,
modeStationeryAware = 0x00000010,
modeUseTextEditServices = 0x00000008,
modeDisplayManagerAware = 0x00000004
};
typedef UInt32 ProcessApplicationTransformState;
enum {
kProcessTransformToForegroundApplication = 1L
};
# 163 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
struct ProcessInfoRec {
UInt32 processInfoLength;
StringPtr processName;
ProcessSerialNumber processNumber;
UInt32 processType;
OSType processSignature;
UInt32 processMode;
Ptr processLocation;
UInt32 processSize;
UInt32 processFreeMem;
ProcessSerialNumber processLauncher;
UInt32 processLaunchDate;
UInt32 processActiveTime;
FSRefPtr processAppRef;
};
typedef struct ProcessInfoRec ProcessInfoRec;
# 198 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
typedef ProcessInfoRec * ProcessInfoRecPtr;
# 222 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
struct ProcessInfoExtendedRec {
UInt32 processInfoLength;
StringPtr processName;
ProcessSerialNumber processNumber;
UInt32 processType;
OSType processSignature;
UInt32 processMode;
Ptr processLocation;
UInt32 processSize;
UInt32 processFreeMem;
ProcessSerialNumber processLauncher;
UInt32 processLaunchDate;
UInt32 processActiveTime;
FSRefPtr processAppRef;
UInt32 processTempMemTotal;
UInt32 processPurgeableTempMemTotal;
};
typedef struct ProcessInfoExtendedRec ProcessInfoExtendedRec;
# 261 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
typedef ProcessInfoExtendedRec * ProcessInfoExtendedRecPtr;
struct SizeResourceRec {
UInt16 flags;
UInt32 preferredHeapSize;
UInt32 minimumHeapSize;
};
typedef struct SizeResourceRec SizeResourceRec;
typedef SizeResourceRec * SizeResourceRecPtr;
typedef SizeResourceRecPtr * SizeResourceRecHandle;
enum {
kProcessDictionaryIncludeAllInformationMask = (long)0xFFFFFFFF
};
# 292 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
enum {
kQuitBeforeNormalTimeMask = 1,
kQuitAtNormalTimeMask = 2,
kQuitBeforeFBAsQuitMask = 4,
kQuitBeforeShellQuitsMask = 8,
kQuitBeforeTerminatorAppQuitsMask = 16,
kQuitNeverMask = 32,
kQuitOptionsMask = 0x7F,
kQuitNotQuitDuringInstallMask = 0x0100,
kQuitNotQuitDuringLogoutMask = 0x0200
};
# 316 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
LaunchApplication(LaunchPBPtr LaunchParams) ;
# 404 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
#define MacGetCurrentProcess GetCurrentProcess
extern OSErr
GetCurrentProcess(ProcessSerialNumber * PSN) ;
# 421 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
GetFrontProcess(ProcessSerialNumber * PSN) ;
# 436 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
GetNextProcess(ProcessSerialNumber * PSN) ;
# 487 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
GetProcessInformation(
const ProcessSerialNumber * PSN,
ProcessInfoRec * info) ;
# 550 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern CFDictionaryRef
ProcessInformationCopyDictionary(
const ProcessSerialNumber * PSN,
UInt32 infoToReturn) ;
# 567 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
SetFrontProcess(const ProcessSerialNumber * PSN) ;
enum {
kSetFrontProcessFrontWindowOnly = (1 << 0)
};
# 618 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
SetFrontProcessWithOptions(
const ProcessSerialNumber * inProcess,
OptionBits inOptions) ;
# 635 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
WakeUpProcess(const ProcessSerialNumber * PSN) ;
# 650 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
SameProcess(
const ProcessSerialNumber * PSN1,
const ProcessSerialNumber * PSN2,
Boolean * result) ;
# 677 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
void ExitToShell() __attribute__ (( __noreturn__ ));
# 710 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
KillProcess(const ProcessSerialNumber * inProcess) ;
# 760 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
GetProcessBundleLocation(
const ProcessSerialNumber * psn,
FSRef * location) ;
# 798 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
CopyProcessName(
const ProcessSerialNumber * psn,
CFStringRef * name) ;
# 832 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
GetProcessPID(
const ProcessSerialNumber * psn,
pid_t * pid) ;
# 866 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
GetProcessForPID(
pid_t pid,
ProcessSerialNumber * psn) ;
# 898 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern Boolean
IsProcessVisible(const ProcessSerialNumber * psn) ;
# 930 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSErr
ShowHideProcess(
const ProcessSerialNumber * psn,
Boolean visible) ;
# 970 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h" 3
extern OSStatus
TransformProcessType(
const ProcessSerialNumber * psn,
ProcessApplicationTransformState transformState) ;
enum {
initDev = 0,
hitDev = 1,
closeDev = 2,
nulDev = 3,
updateDev = 4,
activDev = 5,
deactivDev = 6,
keyEvtDev = 7,
macDev = 8,
undoDev = 9,
cutDev = 10,
copyDev = 11,
pasteDev = 12,
clearDev = 13,
cursorDev = 14
};
enum {
cdevGenErr = -1,
cdevMemErr = 0,
cdevResErr = 1,
cdevUnset = 3
};
#pragma pack(pop)
# 38 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
#define __PASTEBOARD__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h" 1 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 2 3
# 100 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
typedef struct OpaquePasteboardRef* PasteboardRef;
typedef void * PasteboardItemID;
enum {
badPasteboardSyncErr = -25130,
badPasteboardIndexErr = -25131,
badPasteboardItemErr = -25132,
badPasteboardFlavorErr = -25133,
duplicatePasteboardFlavorErr = -25134,
notPasteboardOwnerErr = -25135,
noPasteboardPromiseKeeperErr = -25136
};
# 122 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
typedef OptionBits PasteboardSyncFlags;
enum {
# 134 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
kPasteboardModified = (1 << 0),
kPasteboardClientIsOwner = (1 << 1)
};
# 184 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
#define kPasteboardTypeFileURLPromise CFSTR("com.apple.pasteboard.promised-file-url")
# 193 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
#define kPasteboardTypeFilePromiseContent CFSTR("com.apple.pasteboard.promised-file-content-type")
# 207 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
typedef OptionBits PasteboardFlavorFlags;
enum {
kPasteboardFlavorNoFlags = 0,
kPasteboardFlavorSenderOnly = (1 << 0),
kPasteboardFlavorSenderTranslated = (1 << 1),
kPasteboardFlavorNotSaved = (1 << 2),
# 248 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
kPasteboardFlavorRequestOnly = (1 << 3),
# 257 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
kPasteboardFlavorSystemTranslated = (1 << 8),
# 267 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
kPasteboardFlavorPromised = (1 << 9)
};
# 280 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
typedef OSType PasteboardStandardLocation;
enum {
kPasteboardStandardLocationTrash = 'trsh',
kPasteboardStandardLocationUnknown = 'unkn'
};
# 314 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern CFTypeID
PasteboardGetTypeID(void) ;
#define kPasteboardClipboard CFSTR("com.apple.pasteboard.clipboard")
#define kPasteboardFind CFSTR("com.apple.pasteboard.find")
#define kPasteboardUniqueName (CFStringRef)NULL
# 365 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardCreate(
CFStringRef inName,
PasteboardRef * outPasteboard) ;
# 398 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern PasteboardSyncFlags
PasteboardSynchronize(PasteboardRef inPasteboard) ;
# 429 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardClear(PasteboardRef inPasteboard) ;
# 461 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardCopyName(
PasteboardRef inPasteboard,
CFStringRef * outName) ;
# 493 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardGetItemCount(
PasteboardRef inPasteboard,
ItemCount * outItemCount) ;
# 528 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardGetItemIdentifier(
PasteboardRef inPasteboard,
CFIndex inIndex,
PasteboardItemID * outItem) ;
# 566 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardCopyItemFlavors(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFArrayRef * outFlavorTypes) ;
# 607 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardGetItemFlavorFlags(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFStringRef inFlavorType,
PasteboardFlavorFlags * outFlags) ;
# 648 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardCopyItemFlavorData(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFStringRef inFlavorType,
CFDataRef * outData) ;
#define kPasteboardPromisedData (CFDataRef)NULL
# 708 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardPutItemFlavor(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFStringRef inFlavorType,
CFDataRef inData,
PasteboardFlavorFlags inFlags) ;
# 744 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardCopyPasteLocation(
PasteboardRef inPasteboard,
CFURLRef * outPasteLocation) ;
# 779 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardSetPasteLocation(
PasteboardRef inPasteboard,
CFURLRef inPasteLocation) ;
# 810 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
typedef OSStatus ( * PasteboardPromiseKeeperProcPtr)(PasteboardRef pasteboard, PasteboardItemID item, CFStringRef flavorType, void *context);
# 842 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardSetPromiseKeeper(
PasteboardRef inPasteboard,
PasteboardPromiseKeeperProcPtr inPromiseKeeper,
void * inContext) ;
#define kPasteboardResolveAllPromises (PasteboardRef)NULL
# 878 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h" 3
extern OSStatus
PasteboardResolvePromises(PasteboardRef inPasteboard) ;
# 42 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
#define __TRANSLATIONSERVICES__
# 119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
typedef struct OpaqueTranslationRef* TranslationRef;
enum {
badTranslationRefErr = -3031
};
# 142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
typedef OptionBits TranslationFlags;
enum {
kTranslationDataTranslation = (1 << 0),
kTranslationFileTranslation = (1 << 1)
};
# 175 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern CFTypeID
TranslationGetTypeID(void) ;
# 217 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationCreate(
CFStringRef inSourceType,
CFStringRef inDestinationType,
TranslationFlags inTranslationFlags,
TranslationRef * outTranslation) ;
# 271 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationCreateWithSourceArray(
CFArrayRef inSourceTypes,
TranslationFlags inTranslationFlags,
CFArrayRef * outDestinationTypes,
CFDictionaryRef * outTranslations) ;
# 312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationPerformForData(
TranslationRef inTranslation,
CFDataRef inSourceData,
CFDataRef * outDestinationData) ;
# 370 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationPerformForFile(
TranslationRef inTranslation,
const FSRef * inSourceFile,
const FSRef * inDestinationDirectory,
CFStringRef inDestinationName,
FSRef * outTranslatedFile) ;
# 429 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationPerformForURL(
TranslationRef inTranslation,
CFURLRef inSourceURL,
CFURLRef inDestinationURL,
CFURLRef * outTranslatedURL) ;
# 462 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationCopySourceType(
TranslationRef inTranslation,
CFStringRef * outSourceType) ;
# 494 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationCopyDestinationType(
TranslationRef inTranslation,
CFStringRef * outDestinationType) ;
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h" 3
extern OSStatus
TranslationGetTranslationFlags(
TranslationRef inTranslation,
TranslationFlags * outTranslationFlags) ;
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 3
#define __ACCESSIBILITY__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXError.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXError.h" 3
#define __AXERROR__
enum {
kAXErrorSuccess = 0,
kAXErrorFailure = -25200,
kAXErrorIllegalArgument = -25201,
kAXErrorInvalidUIElement = -25202,
kAXErrorInvalidUIElementObserver = -25203,
kAXErrorCannotComplete = -25204,
kAXErrorAttributeUnsupported = -25205,
kAXErrorActionUnsupported = -25206,
kAXErrorNotificationUnsupported = -25207,
kAXErrorNotImplemented = -25208,
kAXErrorNotificationAlreadyRegistered = -25209,
kAXErrorNotificationNotRegistered = -25210,
kAXErrorAPIDisabled = -25211,
kAXErrorNoValue = -25212,
kAXErrorParameterizedAttributeUnsupported = -25213,
kAXErrorNotEnoughPrecision = -25214
};
typedef SInt32 AXError;
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 3
#define __AXCONSTANTS__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXRoleConstants.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXRoleConstants.h" 3
#define __AXROLECONSTANTS__
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXRoleConstants.h" 3
#define kAXApplicationRole CFSTR("AXApplication")
#define kAXSystemWideRole CFSTR("AXSystemWide")
#define kAXWindowRole CFSTR("AXWindow")
#define kAXSheetRole CFSTR("AXSheet")
#define kAXDrawerRole CFSTR("AXDrawer")
#define kAXGrowAreaRole CFSTR("AXGrowArea")
#define kAXImageRole CFSTR("AXImage")
#define kAXUnknownRole CFSTR("AXUnknown")
#define kAXButtonRole CFSTR("AXButton")
#define kAXRadioButtonRole CFSTR("AXRadioButton")
#define kAXCheckBoxRole CFSTR("AXCheckBox")
#define kAXPopUpButtonRole CFSTR("AXPopUpButton")
#define kAXMenuButtonRole CFSTR("AXMenuButton")
#define kAXTabGroupRole CFSTR("AXTabGroup")
#define kAXTableRole CFSTR("AXTable")
#define kAXColumnRole CFSTR("AXColumn")
#define kAXRowRole CFSTR("AXRow")
# 119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXRoleConstants.h" 3
#define kAXOutlineRole CFSTR("AXOutline")
# 162 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXRoleConstants.h" 3
#define kAXBrowserRole CFSTR("AXBrowser")
#define kAXScrollAreaRole CFSTR("AXScrollArea")
#define kAXScrollBarRole CFSTR("AXScrollBar")
#define kAXRadioGroupRole CFSTR("AXRadioGroup")
#define kAXListRole CFSTR("AXList")
#define kAXGroupRole CFSTR("AXGroup")
#define kAXValueIndicatorRole CFSTR("AXValueIndicator")
#define kAXComboBoxRole CFSTR("AXComboBox")
#define kAXSliderRole CFSTR("AXSlider")
#define kAXIncrementorRole CFSTR("AXIncrementor")
#define kAXBusyIndicatorRole CFSTR("AXBusyIndicator")
#define kAXProgressIndicatorRole CFSTR("AXProgressIndicator")
#define kAXRelevanceIndicatorRole CFSTR("AXRelevanceIndicator")
#define kAXToolbarRole CFSTR("AXToolbar")
#define kAXDisclosureTriangleRole CFSTR("AXDisclosureTriangle")
#define kAXTextFieldRole CFSTR("AXTextField")
#define kAXTextAreaRole CFSTR("AXTextArea")
#define kAXStaticTextRole CFSTR("AXStaticText")
#define kAXMenuBarRole CFSTR("AXMenuBar")
#define kAXMenuBarItemRole CFSTR("AXMenuBarItem")
#define kAXMenuRole CFSTR("AXMenu")
#define kAXMenuItemRole CFSTR("AXMenuItem")
#define kAXSplitGroupRole CFSTR("AXSplitGroup")
#define kAXSplitterRole CFSTR("AXSplitter")
#define kAXColorWellRole CFSTR("AXColorWell")
#define kAXTimeFieldRole CFSTR("AXTimeField")
#define kAXDateFieldRole CFSTR("AXDateField")
#define kAXHelpTagRole CFSTR("AXHelpTag")
#define kAXMatteRole CFSTR("AXMatteRole")
#define kAXDockItemRole CFSTR("AXDockItem")
#define kAXRulerRole CFSTR("AXRuler")
#define kAXRulerMarkerRole CFSTR("AXRulerMarker")
#define kAXGridRole CFSTR("AXGrid")
#define kAXCloseButtonSubrole CFSTR("AXCloseButton")
#define kAXMinimizeButtonSubrole CFSTR("AXMinimizeButton")
#define kAXZoomButtonSubrole CFSTR("AXZoomButton")
#define kAXToolbarButtonSubrole CFSTR("AXToolbarButton")
#define kAXSecureTextFieldSubrole CFSTR("AXSecureTextField")
#define kAXTableRowSubrole CFSTR("AXTableRow")
#define kAXOutlineRowSubrole CFSTR("AXOutlineRow")
#define kAXUnknownSubrole CFSTR("AXUnknown")
#define kAXStandardWindowSubrole CFSTR("AXStandardWindow")
#define kAXDialogSubrole CFSTR("AXDialog")
#define kAXSystemDialogSubrole CFSTR("AXSystemDialog")
#define kAXFloatingWindowSubrole CFSTR("AXFloatingWindow")
#define kAXSystemFloatingWindowSubrole CFSTR("AXSystemFloatingWindow")
#define kAXIncrementArrowSubrole CFSTR("AXIncrementArrow")
#define kAXDecrementArrowSubrole CFSTR("AXDecrementArrow")
#define kAXIncrementPageSubrole CFSTR("AXIncrementPage")
#define kAXDecrementPageSubrole CFSTR("AXDecrementPage")
#define kAXSortButtonSubrole CFSTR("AXSortButton")
#define kAXSearchFieldSubrole CFSTR("AXSearchField")
#define kAXTimelineSubrole CFSTR("AXTimeline")
#define kAXApplicationDockItemSubrole CFSTR("AXApplicationDockItem")
#define kAXDocumentDockItemSubrole CFSTR("AXDocumentDockItem")
#define kAXFolderDockItemSubrole CFSTR("AXFolderDockItem")
#define kAXMinimizedWindowDockItemSubrole CFSTR("AXMinimizedWindowDockItem")
#define kAXURLDockItemSubrole CFSTR("AXURLDockItem")
#define kAXDockExtraDockItemSubrole CFSTR("AXDockExtraDockItem")
#define kAXTrashDockItemSubrole CFSTR("AXTrashDockItem")
#define kAXProcessSwitcherListSubrole CFSTR("AXProcessSwitcherList")
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define __AXATTRIBUTECONSTANTS__
# 175 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXRoleAttribute CFSTR("AXRole")
# 203 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSubroleAttribute CFSTR("AXSubrole")
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXRoleDescriptionAttribute CFSTR("AXRoleDescription")
# 244 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXHelpAttribute CFSTR("AXHelp")
# 260 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXTitleAttribute CFSTR("AXTitle")
# 286 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXValueAttribute CFSTR("AXValue")
# 307 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXValueDescriptionAttribute CFSTR("AXValueDescription")
# 325 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMinValueAttribute CFSTR("AXMinValue")
# 343 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMaxValueAttribute CFSTR("AXMaxValue")
# 360 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXValueIncrementAttribute CFSTR("AXValueIncrement")
# 377 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXAllowedValuesAttribute CFSTR("AXAllowedValues")
# 392 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXEnabledAttribute CFSTR("AXEnabled")
# 411 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXFocusedAttribute CFSTR("AXFocused")
# 429 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXParentAttribute CFSTR("AXParent")
# 450 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXChildrenAttribute CFSTR("AXChildren")
# 470 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSelectedChildrenAttribute CFSTR("AXSelectedChildren")
# 487 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXVisibleChildrenAttribute CFSTR("AXVisibleChildren")
# 505 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXWindowAttribute CFSTR("AXWindow")
# 523 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXTopLevelUIElementAttribute CFSTR("AXTopLevelUIElement")
# 543 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXPositionAttribute CFSTR("AXPosition")
# 559 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSizeAttribute CFSTR("AXSize")
# 577 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXOrientationAttribute CFSTR("AXOrientation")
# 597 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXDescriptionAttribute CFSTR("AXDescription")
#define kAXDescription CFSTR("AXDescription")
# 612 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSelectedTextAttribute CFSTR("AXSelectedText")
# 627 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSelectedTextRangeAttribute CFSTR("AXSelectedTextRange")
# 641 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSelectedTextRangesAttribute CFSTR("AXSelectedTextRanges")
# 658 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXVisibleCharacterRangeAttribute CFSTR("AXVisibleCharacterRange")
# 672 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXNumberOfCharactersAttribute CFSTR("AXNumberOfCharacters")
# 684 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSharedTextUIElementsAttribute CFSTR("AXSharedTextUIElements")
# 696 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSharedCharacterRangeAttribute CFSTR("AXSharedCharacterRange")
#define kAXInsertionPointLineNumberAttribute CFSTR("AXInsertionPointLineNumber")
# 714 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMainAttribute CFSTR("AXMain")
# 728 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMinimizedAttribute CFSTR("AXMinimized")
# 743 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXCloseButtonAttribute CFSTR("AXCloseButton")
# 758 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXZoomButtonAttribute CFSTR("AXZoomButton")
# 773 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMinimizeButtonAttribute CFSTR("AXMinimizeButton")
# 788 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXToolbarButtonAttribute CFSTR("AXToolbarButton")
# 803 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXProxyAttribute CFSTR("AXProxy")
# 818 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXGrowAreaAttribute CFSTR("AXGrowArea")
# 832 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXModalAttribute CFSTR("AXModal")
# 847 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXDefaultButtonAttribute CFSTR("AXDefaultButton")
# 862 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXCancelButtonAttribute CFSTR("AXCancelButton")
#define kAXMenuItemCmdCharAttribute CFSTR("AXMenuItemCmdChar")
#define kAXMenuItemCmdVirtualKeyAttribute CFSTR("AXMenuItemCmdVirtualKey")
#define kAXMenuItemCmdGlyphAttribute CFSTR("AXMenuItemCmdGlyph")
#define kAXMenuItemCmdModifiersAttribute CFSTR("AXMenuItemCmdModifiers")
#define kAXMenuItemMarkCharAttribute CFSTR("AXMenuItemMarkChar")
#define kAXMenuItemPrimaryUIElementAttribute CFSTR("AXMenuItemPrimaryUIElement")
#define kAXMenuBarAttribute CFSTR("AXMenuBar")
#define kAXWindowsAttribute CFSTR("AXWindows")
#define kAXFrontmostAttribute CFSTR("AXFrontmost")
#define kAXHiddenAttribute CFSTR("AXHidden")
#define kAXMainWindowAttribute CFSTR("AXMainWindow")
#define kAXFocusedWindowAttribute CFSTR("AXFocusedWindow")
#define kAXFocusedUIElementAttribute CFSTR("AXFocusedUIElement")
# 897 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXHeaderAttribute CFSTR("AXHeader")
#define kAXEditedAttribute CFSTR("AXEdited")
#define kAXValueWrapsAttribute CFSTR("AXValueWraps")
#define kAXTabsAttribute CFSTR("AXTabs")
#define kAXTitleUIElementAttribute CFSTR("AXTitleUIElement")
#define kAXHorizontalScrollBarAttribute CFSTR("AXHorizontalScrollBar")
#define kAXVerticalScrollBarAttribute CFSTR("AXVerticalScrollBar")
#define kAXOverflowButtonAttribute CFSTR("AXOverflowButton")
#define kAXFilenameAttribute CFSTR("AXFilename")
#define kAXExpandedAttribute CFSTR("AXExpanded")
#define kAXSelectedAttribute CFSTR("AXSelected")
#define kAXSplittersAttribute CFSTR("AXSplitters")
#define kAXNextContentsAttribute CFSTR("AXNextContents")
#define kAXDocumentAttribute CFSTR("AXDocument")
#define kAXDecrementButtonAttribute CFSTR("AXDecrementButton")
#define kAXIncrementButtonAttribute CFSTR("AXIncrementButton")
#define kAXPreviousContentsAttribute CFSTR("AXPreviousContents")
# 932 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXContentsAttribute CFSTR("AXContents")
# 947 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXIncrementorAttribute CFSTR("AXIncrementor")
# 962 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXHourFieldAttribute CFSTR("AXHourField")
# 977 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMinuteFieldAttribute CFSTR("AXMinuteField")
# 992 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXSecondFieldAttribute CFSTR("AXSecondField")
# 1007 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXAMPMFieldAttribute CFSTR("AXAMPMField")
# 1022 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXDayFieldAttribute CFSTR("AXDayField")
# 1037 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXMonthFieldAttribute CFSTR("AXMonthField")
# 1052 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXYearFieldAttribute CFSTR("AXYearField")
#define kAXColumnTitleAttribute CFSTR("AXColumnTitles")
# 1070 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXURLAttribute CFSTR("AXURL")
#define kAXLabelUIElementsAttribute CFSTR("AXLabelUIElements")
#define kAXLabelValueAttribute CFSTR("AXLabelValue")
#define kAXShownMenuUIElementAttribute CFSTR("AXShownMenuUIElement")
#define kAXServesAsTitleForUIElementsAttribute CFSTR("AXServesAsTitleForUIElements")
#define kAXLinkedUIElementsAttribute CFSTR("AXLinkedUIElements")
#define kAXRowsAttribute CFSTR("AXRows")
#define kAXVisibleRowsAttribute CFSTR("AXVisibleRows")
#define kAXSelectedRowsAttribute CFSTR("AXSelectedRows")
#define kAXColumnsAttribute CFSTR("AXColumns")
# 1100 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXAttributeConstants.h" 3
#define kAXVisibleColumnsAttribute CFSTR("AXVisibleColumns")
#define kAXSelectedColumnsAttribute CFSTR("AXSelectedColumns")
#define kAXSortDirectionAttribute CFSTR("AXSortDirection")
#define kAXColumnHeaderUIElementsAttribute CFSTR("AXColumnHeaderUIElements")
#define kAXIndexAttribute CFSTR("AXIndex")
#define kAXDisclosingAttribute CFSTR("AXDisclosing")
#define kAXDisclosedRowsAttribute CFSTR("AXDisclosedRows")
#define kAXDisclosedByRowAttribute CFSTR("AXDisclosedByRow")
#define kAXDisclosureLevelAttribute CFSTR("AXDisclosureLevel")
#define kAXMatteHoleAttribute CFSTR("AXMatteHole")
#define kAXMatteContentUIElementAttribute CFSTR("AXMatteContentUIElement")
#define kAXMarkerUIElementsAttribute CFSTR("AXMarkerUIElements")
#define kAXUnitsAttribute CFSTR("AXUnits")
#define kAXUnitDescriptionAttribute CFSTR("AXUnitDescription")
#define kAXMarkerTypeAttribute CFSTR("AXMarkerType")
#define kAXMarkerTypeDescriptionAttribute CFSTR("AXMarkerTypeDescription")
#define kAXIsApplicationRunningAttribute CFSTR("AXIsApplicationRunning")
#define kAXSearchButtonAttribute CFSTR("AXSearchButton")
#define kAXClearButtonAttribute CFSTR("AXClearButton")
#define kAXFocusedApplicationAttribute CFSTR("AXFocusedApplication")
#define kAXRowCountAttribute CFSTR("AXRowCount")
#define kAXColumnCountAttribute CFSTR("AXColumnCount")
#define kAXOrderedByRowAttribute CFSTR("AXOrderedByRow")
#define kAXTextAttribute CFSTR("AXText")
#define kAXVisibleTextAttribute CFSTR("AXVisibleText")
#define kAXIsEditableAttribute CFSTR("AXIsEditable")
#define kAXColumnTitlesAttribute CFSTR("AXColumnTitles")
#define kAXLineForIndexParameterizedAttribute CFSTR("AXLineForIndex")
#define kAXRangeForLineParameterizedAttribute CFSTR("AXRangeForLine")
#define kAXStringForRangeParameterizedAttribute CFSTR("AXStringForRange")
#define kAXRangeForPositionParameterizedAttribute CFSTR("AXRangeForPosition")
#define kAXRangeForIndexParameterizedAttribute CFSTR("AXRangeForIndex")
#define kAXBoundsForRangeParameterizedAttribute CFSTR("AXBoundsForRange")
#define kAXRTFForRangeParameterizedAttribute CFSTR("AXRTFForRange")
#define kAXAttributedStringForRangeParameterizedAttribute CFSTR("AXAttributedStringForRange")
#define kAXStyleRangeForIndexParameterizedAttribute CFSTR("AXStyleRangeForIndex")
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXActionConstants.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXActionConstants.h" 3
#define __AXACTIONCONSTANTS__
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXActionConstants.h" 3
#define kAXPressAction CFSTR("AXPress")
#define kAXIncrementAction CFSTR("AXIncrement")
#define kAXDecrementAction CFSTR("AXDecrement")
#define kAXConfirmAction CFSTR("AXConfirm")
#define kAXCancelAction CFSTR("AXCancel")
#define kAXRaiseAction CFSTR("AXRaise")
#define kAXShowMenuAction CFSTR("AXShowMenu")
#define kAXPickAction CFSTR("AXPick")
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXNotificationConstants.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXNotificationConstants.h" 3
#define __AXNOTIFICATIONCONSTANTS__
#define kAXMainWindowChangedNotification CFSTR("AXMainWindowChanged")
#define kAXFocusedWindowChangedNotification CFSTR("AXFocusedWindowChanged")
#define kAXFocusedUIElementChangedNotification CFSTR("AXFocusedUIElementChanged")
#define kAXApplicationActivatedNotification CFSTR("AXApplicationActivated")
#define kAXApplicationDeactivatedNotification CFSTR("AXApplicationDeactivated")
#define kAXApplicationHiddenNotification CFSTR("AXApplicationHidden")
#define kAXApplicationShownNotification CFSTR("AXApplicationShown")
#define kAXWindowCreatedNotification CFSTR("AXWindowCreated")
#define kAXWindowMovedNotification CFSTR("AXWindowMoved")
#define kAXWindowResizedNotification CFSTR("AXWindowResized")
#define kAXWindowMiniaturizedNotification CFSTR("AXWindowMiniaturized")
#define kAXWindowDeminiaturizedNotification CFSTR("AXWindowDeminiaturized")
#define kAXDrawerCreatedNotification CFSTR("AXDrawerCreated")
#define kAXSheetCreatedNotification CFSTR("AXSheetCreated")
#define kAXHelpTagCreatedNotification CFSTR("AXHelpTagCreated")
#define kAXValueChangedNotification CFSTR("AXValueChanged")
#define kAXUIElementDestroyedNotification CFSTR("AXUIElementDestroyed")
#define kAXMenuOpenedNotification CFSTR("AXMenuOpened")
#define kAXMenuClosedNotification CFSTR("AXMenuClosed")
#define kAXMenuItemSelectedNotification CFSTR("AXMenuItemSelected")
#define kAXRowCountChangedNotification CFSTR("AXRowCountChanged")
#define kAXSelectedChildrenChangedNotification CFSTR("AXSelectedChildrenChanged")
#define kAXResizedNotification CFSTR("AXResized")
#define kAXMovedNotification CFSTR("AXMoved")
#define kAXCreatedNotification CFSTR("AXCreated")
#define kAXSelectedRowsChangedNotification CFSTR("AXSelectedRowsChanged")
#define kAXSelectedColumnsChangedNotification CFSTR("AXSelectedColumnsChanged")
#define kAXSelectedTextChangedNotification CFSTR("AXSelectedTextChanged")
#define kAXTitleChangedNotification CFSTR("AXTitleChangedNotification")
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValueConstants.h" 1 3
# 11 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValueConstants.h" 3
#define __AXVALUECONSTANTS__
#define kAXHorizontalOrientationValue CFSTR("AXHorizontalOrientation")
#define kAXVerticalOrientationValue CFSTR("AXVerticalOrientation")
#define kAXUnknownOrientationValue CFSTR("AXUnknownOrientation")
#define kAXAscendingSortDirectionValue CFSTR("AXAscendingSortDirection")
#define kAXDescendingSortDirectionValue CFSTR("AXDescendingSortDirection")
#define kAXUnknownSortDirectionValue CFSTR("AXUnknownSortDirection")
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h" 2 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h" 1 3
# 9 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h" 3
#define __AXUIELEMENT__
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 1 3
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h" 2 3
extern Boolean AXAPIEnabled ();
extern Boolean AXIsProcessTrusted () ;
extern AXError AXMakeProcessTrusted (CFStringRef executablePath) ;
typedef const struct __AXUIElement *AXUIElementRef;
enum {
kAXCopyMultipleAttributeOptionStopOnError = 0x1
};
typedef UInt32 AXCopyMultipleAttributeOptions;
extern CFTypeID AXUIElementGetTypeID (void);
extern AXError AXUIElementCopyAttributeNames (AXUIElementRef element, CFArrayRef *names);
extern AXError AXUIElementCopyAttributeValue (AXUIElementRef element, CFStringRef attribute, CFTypeRef *value);
extern AXError AXUIElementGetAttributeValueCount (AXUIElementRef element, CFStringRef attribute, CFIndex *count);
extern AXError AXUIElementCopyAttributeValues (AXUIElementRef element, CFStringRef attribute, CFIndex index, CFIndex maxValues, CFArrayRef *values);
extern AXError AXUIElementIsAttributeSettable (AXUIElementRef element, CFStringRef attribute, Boolean *settable);
extern AXError AXUIElementSetAttributeValue (AXUIElementRef element, CFStringRef attribute, CFTypeRef value);
extern AXError AXUIElementCopyMultipleAttributeValues (AXUIElementRef element, CFArrayRef attributes, AXCopyMultipleAttributeOptions options, CFArrayRef *values) ;
extern AXError AXUIElementCopyParameterizedAttributeNames (AXUIElementRef element, CFArrayRef *names) ;
extern AXError AXUIElementCopyParameterizedAttributeValue (AXUIElementRef element, CFStringRef parameterizedAttribute, CFTypeRef parameter, CFTypeRef *result) ;
extern AXError AXUIElementCopyActionNames (AXUIElementRef element, CFArrayRef *names);
extern AXError AXUIElementCopyActionDescription (AXUIElementRef element, CFStringRef action, CFStringRef *description);
extern AXError AXUIElementPerformAction (AXUIElementRef element, CFStringRef action);
extern AXError AXUIElementCopyElementAtPosition (AXUIElementRef application, float x,float y, AXUIElementRef *element);
extern AXUIElementRef AXUIElementCreateApplication (pid_t pid);
extern AXUIElementRef AXUIElementCreateSystemWide (void);
extern AXError AXUIElementGetPid (AXUIElementRef element, pid_t *pid);
extern AXError AXUIElementSetMessagingTimeout (AXUIElementRef element, float timeoutInSeconds) ;
extern AXError AXUIElementPostKeyboardEvent (AXUIElementRef application, CGCharCode keyChar, CGKeyCode virtualKey, Boolean keyDown);
typedef struct __AXObserver *AXObserverRef;
typedef void (*AXObserverCallback)(AXObserverRef observer, AXUIElementRef element, CFStringRef notification, void *refcon);
CFTypeID AXObserverGetTypeID (void);
extern AXError AXObserverCreate (pid_t application, AXObserverCallback callback, AXObserverRef *outObserver);
extern AXError AXObserverAddNotification (AXObserverRef observer, AXUIElementRef element, CFStringRef notification, void *refcon);
extern AXError AXObserverRemoveNotification (AXObserverRef observer, AXUIElementRef element, CFStringRef notification);
extern CFRunLoopSourceRef AXObserverGetRunLoopSource (AXObserverRef observer);
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValue.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValue.h" 3
#define __AXVALUE__
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValue.h" 3
typedef enum {
kAXValueCGPointType = 1,
kAXValueCGSizeType = 2,
kAXValueCGRectType = 3,
kAXValueCFRangeType = 4,
kAXValueAXErrorType = 5,
kAXValueIllegalType = 0
} AXValueType;
typedef const struct __AXValue *AXValueRef;
extern CFTypeID AXValueGetTypeID() ;
extern AXValueRef AXValueCreate (AXValueType theType, const void *valuePtr);
extern AXValueType AXValueGetType(AXValueRef value);
extern Boolean AXValueGetValue(AXValueRef value, AXValueType theType, void *valuePtr);
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXTextAttributedString.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXTextAttributedString.h" 3
#define AXTEXTATTRIBUTEDSTRING_H
extern CFStringRef kAXFontTextAttribute;
extern CFStringRef kAXForegroundColorTextAttribute;
extern CFStringRef kAXBackgroundColorTextAttribute;
extern CFStringRef kAXUnderlineColorTextAttribute;
extern CFStringRef kAXStrikethroughColorTextAttribute;
extern CFStringRef kAXUnderlineTextAttribute;
extern CFStringRef kAXSuperscriptTextAttribute;
extern CFStringRef kAXStrikethroughTextAttribute;
extern CFStringRef kAXShadowTextAttribute;
extern CFStringRef kAXAttachmentTextAttribute;
extern CFStringRef kAXLinkTextAttribute;
extern CFStringRef kAXNaturalLanguageTextAttribute;
extern CFStringRef kAXReplacementStringTextAttribute;
extern CFStringRef kAXMisspelledTextAttribute;
extern CFStringRef kAXFontNameKey;
extern CFStringRef kAXFontFamilyKey;
extern CFStringRef kAXVisibleNameKey;
extern CFStringRef kAXFontSizeKey;
enum {
kAXUnderlineStyleNone = 0x0,
kAXUnderlineStyleSingle = 0x1,
kAXUnderlineStyleThick = 0x2,
kAXUnderlineStyleDouble = 0x9
};
typedef UInt32 AXUnderlineStyle;
extern CFStringRef kAXForegoundColorTextAttribute;
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h" 2 3
# 50 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h" 3
#define __UNIVERSALACCESS__
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h" 3
typedef UInt32 UAZoomChangeFocusType;
enum {
kUAZoomFocusTypeOther = 0,
kUAZoomFocusTypeInsertionPoint = 1
};
# 90 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h" 3
extern Boolean
UAZoomEnabled(void) ;
# 132 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h" 3
extern OSStatus
UAZoomChangeFocus(
const CGRect * inRect,
const CGRect * inHighlightRect,
UAZoomChangeFocusType inType) ;
# 53 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h" 2 3
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 3
#define __PRINTCORE__
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitions.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitions.h" 3
#define __PMDEFINITIONS__
# 32 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitions.h" 3
typedef const void * PMObject;
typedef struct OpaquePMPrintSettings* PMPrintSettings;
typedef struct OpaquePMPageFormat* PMPageFormat;
typedef struct OpaquePMPrintSession* PMPrintSession;
typedef struct OpaquePMPrinter* PMPrinter;
typedef struct OpaquePMServer* PMServer;
typedef struct OpaquePMPreset* PMPreset;
typedef struct OpaquePMPaper* PMPaper;
enum {
kPMCancel = 0x0080
};
#define kPMNoData NULL
#define kPMDontWantSize NULL
#define kPMDontWantData NULL
#define kPMDontWantBoolean NULL
#define kPMNoReference NULL
#define kPMDuplexDefault kPMDuplexNone
#define kPMNoPrintSettings ((PMPrintSettings)NULL)
#define kPMNoPageFormat ((PMPageFormat)NULL)
#define kPMServerLocal ((PMServer)NULL)
typedef UInt16 PMDestinationType;
enum {
kPMDestinationInvalid = 0,
kPMDestinationPrinter = 1,
kPMDestinationFile = 2,
kPMDestinationFax = 3,
kPMDestinationPreview = 4,
kPMDestinationProcessPDF = 5
};
#define kPMDestinationTypeDefault kPMDestinationPrinter
typedef UInt16 PMOrientation;
enum {
kPMPortrait = 1,
kPMLandscape = 2,
kPMReversePortrait = 3,
kPMReverseLandscape = 4
};
typedef UInt16 PMPrinterState;
enum {
kPMPrinterIdle = 3,
kPMPrinterProcessing = 4,
kPMPrinterStopped = 5
};
typedef UInt32 PMColorSpaceModel;
enum {
kPMUnknownColorSpaceModel = 0,
kPMGrayColorSpaceModel = 1,
kPMRGBColorSpaceModel = 2,
kPMCMYKColorSpaceModel = 3,
kPMDevNColorSpaceModel = 4
};
#define kPMColorSpaceModelCount 4
typedef UInt32 PMQualityMode;
enum {
kPMQualityLowest = 0x0000,
kPMQualityInkSaver = 0x0001,
kPMQualityDraft = 0x0004,
kPMQualityNormal = 0x0008,
kPMQualityPhoto = 0x000B,
kPMQualityBest = 0x000D,
kPMQualityHighest = 0x000F
};
typedef UInt32 PMPaperType;
enum {
kPMPaperTypeUnknown = 0x0000,
kPMPaperTypePlain = 0x0001,
kPMPaperTypeCoated = 0x0002,
kPMPaperTypePremium = 0x0003,
kPMPaperTypeGlossy = 0x0004,
kPMPaperTypeTransparency = 0x0005,
kPMPaperTypeTShirt = 0x0006
};
typedef UInt16 PMScalingAlignment;
enum {
kPMScalingPinTopLeft = 1,
kPMScalingPinTopRight = 2,
kPMScalingPinBottomLeft = 3,
kPMScalingPinBottomRight = 4,
kPMScalingCenterOnPaper = 5,
kPMScalingCenterOnImgArea = 6
};
typedef UInt32 PMDuplexMode;
enum {
kPMDuplexNone = 0x0001,
kPMDuplexNoTumble = 0x0002,
kPMDuplexTumble = 0x0003,
kPMSimplexTumble = 0x0004
};
typedef UInt16 PMLayoutDirection;
enum {
kPMLayoutLeftRightTopBottom = 1,
kPMLayoutLeftRightBottomTop = 2,
kPMLayoutRightLeftTopBottom = 3,
kPMLayoutRightLeftBottomTop = 4,
kPMLayoutTopBottomLeftRight = 5,
kPMLayoutTopBottomRightLeft = 6,
kPMLayoutBottomTopLeftRight = 7,
kPMLayoutBottomTopRightLeft = 8
};
typedef UInt16 PMBorderType;
enum {
kPMBorderSingleHairline = 1,
kPMBorderDoubleHairline = 2,
kPMBorderSingleThickline = 3,
kPMBorderDoubleThickline = 4
};
typedef UInt16 PMPPDDomain;
enum {
kAllPPDDomains = 1,
kSystemPPDDomain = 2,
kLocalPPDDomain = 3,
kNetworkPPDDomain = 4,
kUserPPDDomain = 5,
kCUPSPPDDomain = 6
};
#define kPMPPDDescriptionType CFSTR("PMPPDDescriptionType")
#define kPMDocumentFormatDefault CFSTR("com.apple.documentformat.default")
#define kPMDocumentFormatPDF CFSTR("application/pdf")
#define kPMDocumentFormatPostScript CFSTR("application/postscript")
#define kPMGraphicsContextDefault CFSTR("com.apple.graphicscontext.default")
#define kPMGraphicsContextCoreGraphics CFSTR("com.apple.graphicscontext.coregraphics")
#define kPDFWorkFlowItemURLKey CFSTR("itemURL")
#define kPDFWorkflowFolderURLKey CFSTR("folderURL")
#define kPDFWorkflowDisplayNameKey CFSTR("displayName")
#define kPDFWorkflowItemsKey CFSTR("items")
enum {
kPMNoError = noErr,
kPMGeneralError = -30870,
kPMOutOfScope = -30871,
kPMInvalidParameter = paramErr,
kPMNoDefaultPrinter = -30872,
kPMNotImplemented = -30873,
kPMNoSuchEntry = -30874,
kPMInvalidPrintSettings = -30875,
kPMInvalidPageFormat = -30876,
kPMValueOutOfRange = -30877,
kPMLockIgnored = -30878
};
enum {
kPMInvalidPrintSession = -30879,
kPMInvalidPrinter = -30880,
kPMObjectInUse = -30881,
kPMInvalidPreset = -30899
};
enum {
kPMPrintAllPages = -1
};
enum {
kPMUnlocked = 0
};
struct PMRect {
double top;
double left;
double bottom;
double right;
};
typedef struct PMRect PMRect;
struct PMResolution {
double hRes;
double vRes;
};
typedef struct PMResolution PMResolution;
struct PMLanguageInfo {
Str32 level;
Str32 version;
Str32 release;
};
typedef struct PMLanguageInfo PMLanguageInfo;
typedef PMRect PMPaperMargins;
# 263 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitions.h" 3
enum PMDataFormat {
kPMDataFormatXMLDefault = 0,
kPMDataFormatXMLMinimal = 1,
kPMDataFormatXMLCompressed = 2
};
typedef enum PMDataFormat PMDataFormat;
# 31 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
#define __PMCORE__
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
#define PM_USE_SESSION_APIS 1
#pragma mark
#pragma mark Retain/Release
#pragma mark
# 73 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMRetain(PMObject object) ;
# 106 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMRelease(PMObject object) ;
#pragma mark
#pragma mark Session
#pragma mark
# 128 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCreateSession(PMPrintSession * printSession) ;
# 140 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionError(PMPrintSession printSession) ;
# 152 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionSetError(
PMPrintSession printSession,
OSStatus printError) ;
#pragma mark
#pragma mark Session: Printing Loop
#pragma mark
# 182 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionBeginCGDocumentNoDialog(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMPageFormat pageFormat) ;
# 197 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionEndDocumentNoDialog(PMPrintSession printSession) ;
# 216 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionBeginPageNoDialog(
PMPrintSession printSession,
PMPageFormat pageFormat,
const PMRect * pageFrame) ;
# 238 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionEndPageNoDialog(PMPrintSession printSession) ;
# 272 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionGetCGGraphicsContext(
PMPrintSession printSession,
CGContextRef * context) ;
#pragma mark
#pragma mark Session: Other routines
#pragma mark -
# 324 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionGetDestinationType(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMDestinationType * destTypeP) ;
# 364 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionCopyDestinationFormat(
PMPrintSession printSession,
PMPrintSettings printSettings,
CFStringRef * destFormatP) ;
# 411 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionCopyDestinationLocation(
PMPrintSession printSession,
PMPrintSettings printSettings,
CFURLRef * destLocationP) ;
# 477 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionSetDestination(
PMPrintSession printSession,
PMPrintSettings printSettings,
PMDestinationType destType,
CFStringRef destFormat,
CFURLRef destLocation) ;
# 525 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionCopyOutputFormatList(
PMPrintSession printSession,
PMDestinationType destType,
CFArrayRef * documentFormatP) ;
# 574 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionCreatePageFormatList(
PMPrintSession printSession,
PMPrinter printer,
CFArrayRef * pageFormatList) ;
# 591 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionCreatePrinterList(
PMPrintSession printSession,
CFArrayRef * printerList,
CFIndex * currentIndex,
PMPrinter * currentPrinter) ;
# 609 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionGetCurrentPrinter(
PMPrintSession printSession,
PMPrinter * currentPrinter) ;
# 625 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionSetCurrentPMPrinter(
PMPrintSession session,
PMPrinter printer) ;
# 638 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionGetDataFromSession(
PMPrintSession printSession,
CFStringRef key,
CFTypeRef * data) ;
# 652 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionSetDataInSession(
PMPrintSession printSession,
CFStringRef key,
CFTypeRef data) ;
#pragma mark -
#pragma mark PageFormat
#pragma mark
# 677 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCreatePageFormat(PMPageFormat * pageFormat) ;
# 688 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionDefaultPageFormat(
PMPrintSession printSession,
PMPageFormat pageFormat) ;
# 701 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionValidatePageFormat(
PMPrintSession printSession,
PMPageFormat pageFormat,
Boolean * result) ;
# 717 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCopyPageFormat(
PMPageFormat formatSrc,
PMPageFormat formatDest) ;
# 742 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCreatePageFormatWithPMPaper(
PMPageFormat * pageFormat,
PMPaper paper) ;
# 767 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPageFormatCreateDataRepresentation(
PMPageFormat pageFormat,
CFDataRef * data,
PMDataFormat format) ;
# 787 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPageFormatCreateWithDataRepresentation(
CFDataRef data,
PMPageFormat * pageFormat) ;
#pragma mark -
# 803 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetAdjustedPageRect(
PMPageFormat pageFormat,
PMRect * pageRect) ;
# 817 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetAdjustedPaperRect(
PMPageFormat pageFormat,
PMRect * paperRect) ;
# 831 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetOrientation(
PMPageFormat pageFormat,
PMOrientation * orientation) ;
# 845 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetPageFormatExtendedData(
PMPageFormat pageFormat,
OSType dataID,
UInt32 * size,
void * extendedData) ;
# 875 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPageFormatGetPrinterID(
PMPageFormat pageFormat,
CFStringRef* printerID ) ;
# 896 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetScale(
PMPageFormat pageFormat,
double * scale) ;
# 919 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetUnadjustedPageRect(
PMPageFormat pageFormat,
PMRect * pageRect) ;
# 942 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetUnadjustedPaperRect(
PMPageFormat pageFormat,
PMRect * paperRect) ;
#pragma mark -
# 972 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetOrientation(
PMPageFormat pageFormat,
PMOrientation orientation,
Boolean lock) ;
# 987 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetPageFormatExtendedData(
PMPageFormat pageFormat,
OSType dataID,
UInt32 size,
void * extendedData) ;
# 1003 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetScale(
PMPageFormat pageFormat,
double scale) ;
#pragma mark -
#pragma mark PrintSettings
#pragma mark
# 1029 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCreatePrintSettings(PMPrintSettings * printSettings) ;
# 1040 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionDefaultPrintSettings(
PMPrintSession printSession,
PMPrintSettings printSettings) ;
# 1053 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSessionValidatePrintSettings(
PMPrintSession printSession,
PMPrintSettings printSettings,
Boolean * result) ;
# 1069 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCopyPrintSettings(
PMPrintSettings settingSrc,
PMPrintSettings settingDest) ;
# 1096 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsCreateDataRepresentation(
PMPrintSettings printSettings,
CFDataRef * data,
PMDataFormat format) ;
# 1117 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsCreateWithDataRepresentation(
CFDataRef data,
PMPrintSettings *printSettings) ;
#pragma mark -
# 1133 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetCollate(
PMPrintSettings printSettings,
Boolean * collate) ;
# 1147 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetCopies(
PMPrintSettings printSettings,
UInt32 * copies) ;
# 1161 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetDuplex(
PMPrintSettings printSettings,
PMDuplexMode * duplexSetting) ;
# 1175 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetFirstPage(
PMPrintSettings printSettings,
UInt32 * first) ;
# 1189 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetLastPage(
PMPrintSettings printSettings,
UInt32 * last) ;
# 1212 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetPageRange(
PMPrintSettings printSettings,
UInt32 * minPage,
UInt32 * maxPage) ;
# 1227 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetPrintSettingsExtendedData(
PMPrintSettings printSettings,
OSType dataID,
UInt32 * size,
void * extendedData) ;
# 1242 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsGetJobName(
PMPrintSettings printSettings,
CFStringRef * name) ;
# 1267 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsGetValue(
PMPrintSettings printSettings,
CFStringRef key,
CFTypeRef * value) ;
#pragma mark -
# 1283 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetCollate(
PMPrintSettings printSettings,
Boolean collate) ;
# 1297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetCopies(
PMPrintSettings printSettings,
UInt32 copies,
Boolean lock) ;
# 1312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetDuplex(
PMPrintSettings printSettings,
PMDuplexMode duplexSetting) ;
# 1326 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetFirstPage(
PMPrintSettings printSettings,
UInt32 first,
Boolean lock) ;
# 1341 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetLastPage(
PMPrintSettings printSettings,
UInt32 last,
Boolean lock) ;
# 1364 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetPageRange(
PMPrintSettings printSettings,
UInt32 minPage,
UInt32 maxPage) ;
# 1378 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMSetPrintSettingsExtendedData(
PMPrintSettings printSettings,
OSType dataID,
UInt32 size,
void * extendedData) ;
# 1394 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsSetJobName(
PMPrintSettings printSettings,
CFStringRef name) ;
# 1424 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsSetValue(
PMPrintSettings printSettings,
CFStringRef key,
CFTypeRef value,
Boolean locked) ;
# 1451 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsCopyAsDictionary(
PMPrintSettings printSettings,
CFDictionaryRef *settingsDictionary) ;
# 1476 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsCopyKeys(
PMPrintSettings printSettings,
CFArrayRef *settingsKeys) ;
#pragma mark -
#pragma mark Printer
#pragma mark
# 1503 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCreateGenericPrinter( PMPrinter* printer ) ;
# 1528 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMServerCreatePrinterList(
PMServer server,
CFArrayRef * printerList) ;
# 1560 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMServerLaunchPrinterBrowser(
PMServer server,
CFDictionaryRef options) ;
# 1588 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern PMPrinter
PMPrinterCreateFromPrinterID(CFStringRef printerID) ;
# 1620 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterCopyDescriptionURL(
PMPrinter printer,
CFStringRef descriptionType,
CFURLRef * fileURL) ;
# 1649 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterCopyDeviceURI(
PMPrinter printer,
CFURLRef * deviceURI) ;
# 1666 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterCopyHostName(
PMPrinter printer,
CFStringRef * hostNameP) ;
# 1703 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterCopyPresets(
PMPrinter printer,
CFArrayRef * presetList) ;
# 1748 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetCommInfo(
PMPrinter printer,
Boolean * supportsControlCharRangeP,
Boolean * supportsEightBitP) ;
# 1763 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern CFStringRef
PMPrinterGetID(PMPrinter printer) ;
# 1775 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern CFStringRef
PMPrinterGetLocation(PMPrinter printer) ;
# 1787 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetDriverCreator(
PMPrinter printer,
OSType * creator) ;
# 1801 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetDriverReleaseInfo(
PMPrinter printer,
VersRec * release) ;
# 1827 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetPrinterResolutionCount(
PMPrinter printer,
UInt32 * countP) ;
# 1856 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetIndexedPrinterResolution(
PMPrinter printer,
UInt32 index,
PMResolution * resolutionP) ;
# 1903 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
OSStatus PMPrinterGetOutputResolution(
PMPrinter printer,
PMPrintSettings printSettings,
PMResolution *resolutionP) ;
# 1942 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
OSStatus PMPrinterSetOutputResolution(
PMPrinter printer,
PMPrintSettings printSettings,
const PMResolution *resolutionP) ;
# 1956 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetLanguageInfo(
PMPrinter printer,
PMLanguageInfo * info) ;
# 1970 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetMakeAndModelName(
PMPrinter printer,
CFStringRef * makeAndModel) ;
# 2006 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetMimeTypes(
PMPrinter printer,
PMPrintSettings settings,
CFArrayRef * mimeTypes) ;
# 2021 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern CFStringRef
PMPrinterGetName(PMPrinter printer) ;
# 2046 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetPaperList(
PMPrinter printer,
CFArrayRef * paperList) ;
# 2060 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterGetState(
PMPrinter printer,
PMPrinterState * state) ;
# 2074 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern Boolean
PMPrinterIsDefault(PMPrinter printer) ;
# 2089 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern Boolean
PMPrinterIsFavorite(PMPrinter printer) ;
# 2101 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern Boolean
PMPrinterIsPostScriptCapable(PMPrinter printer) ;
# 2115 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterIsPostScriptPrinter(PMPrinter printer, Boolean *isPSPrinter) ;
# 2141 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterIsRemote(
PMPrinter printer,
Boolean * isRemoteP) ;
# 2168 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus PMPrinterSetDefault(PMPrinter printer) ;
#pragma mark
#pragma mark Preset
#pragma mark
# 2195 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPresetCopyName(
PMPreset preset,
CFStringRef * name) ;
# 2227 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPresetCreatePrintSettings(
PMPreset preset,
PMPrintSession session,
PMPrintSettings * printSettings) ;
# 2263 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPresetGetAttributes(
PMPreset preset,
CFDictionaryRef * attributes) ;
#pragma mark
#pragma mark Paper
#pragma mark
# 2293 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMGetPageFormatPaper(
PMPageFormat format,
PMPaper * paper) ;
# 2341 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperCreateCustom(
PMPrinter printer,
CFStringRef id,
CFStringRef name,
double width,
double height,
const PMPaperMargins * margins,
PMPaper * paperP) ;
# 2371 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetWidth(
PMPaper paper,
double * paperWidth) ;
# 2396 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetHeight(
PMPaper paper,
double * paperHeight) ;
# 2421 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetMargins(
PMPaper paper,
PMPaperMargins * paperMargins) ;
# 2447 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetID(
PMPaper paper,
CFStringRef * paperID) ;
# 2473 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetName(
PMPaper paper,
CFStringRef * paperName) ;
# 2504 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetPPDPaperName(
PMPaper paper,
CFStringRef * paperName) ;
# 2537 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperCreateLocalizedName(
PMPaper paper,
PMPrinter printer,
CFStringRef * paperName) ;
# 2564 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPaperGetPrinterID(
PMPaper paper,
CFStringRef * printerID) ;
# 2585 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern Boolean
PMPaperIsCustom(
PMPaper paper ) ;
#pragma mark
#pragma mark PDF Workflow
#pragma mark
# 2622 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMWorkflowCopyItems(CFArrayRef * workflowItems) ;
# 2669 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMWorkflowSubmitPDFWithOptions(
CFURLRef workflowItem,
CFStringRef title,
const char * options,
CFURLRef pdfFile) ;
# 2715 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMWorkflowSubmitPDFWithSettings(
CFURLRef workflowItem,
PMPrintSettings settings,
CFURLRef pdfFile) ;
#pragma mark
#pragma mark Job Submission
#pragma mark
# 2759 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterPrintWithProvider(
PMPrinter printer,
PMPrintSettings settings,
PMPageFormat format,
CFStringRef mimeType,
CGDataProviderRef provider) ;
# 2807 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterPrintWithFile(
PMPrinter printer,
PMPrintSettings settings,
PMPageFormat format,
CFStringRef mimeType,
CFURLRef fileURL) ;
# 2858 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrinterWritePostScriptToURL(
PMPrinter printer,
PMPrintSettings settings,
PMPageFormat format,
CFStringRef mimeType,
CFURLRef sourceFileURL,
CFURLRef destinationFileURL) ;
# 2892 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsToOptions(
PMPrintSettings settings,
char ** options) ;
# 2928 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMPrintSettingsToOptionsWithPrinterAndPageFormat(
PMPrintSettings settings,
PMPrinter printer,
PMPageFormat pageFormat,
char ** options) ;
#pragma mark
#pragma mark PPD related
#pragma mark
# 2962 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCopyAvailablePPDs(
PMPPDDomain domain,
CFArrayRef * ppds) ;
# 2991 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCopyLocalizedPPD(
CFURLRef ppd,
CFURLRef * localizedPPD) ;
# 3021 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern OSStatus
PMCopyPPDData(
CFURLRef ppd,
CFDataRef * data) ;
#pragma mark
#pragma mark EPS related
#pragma mark
# 3089 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h" 3
extern CGImageRef
PMCGImageCreateWithEPSDataProvider(
CGDataProviderRef epsDataProvider,
CGImageRef epsPreview) ;
# 35 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitionsDeprecated.h" 1 3
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
#define __PMCORE_DEPRECATED__
# 61 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMFlattenPageFormatToCFData(
PMPageFormat pageFormat,
CFDataRef * flatFormat) __attribute__((deprecated));
# 81 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMFlattenPageFormatToURL(
PMPageFormat pageFormat,
CFURLRef flattenFileURL) __attribute__((deprecated));
# 111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMUnflattenPageFormatWithCFData(
CFDataRef flattenCFData,
PMPageFormat * pageFormat) __attribute__((deprecated));
# 142 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMUnflattenPageFormatWithURL(
CFURLRef flattenFileURL,
PMPageFormat * pageFormat) __attribute__((deprecated));
# 161 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMFlattenPrintSettingsToCFData(
PMPrintSettings printSettings,
CFDataRef * flatSetting) __attribute__((deprecated));
# 181 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMFlattenPrintSettingsToURL(
PMPrintSettings printSettings,
CFURLRef flattenFileURL) __attribute__((deprecated));
# 212 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMUnflattenPrintSettingsWithCFData(
CFDataRef flattenCFData,
PMPrintSettings * printSettings) __attribute__((deprecated));
# 243 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCoreDeprecated.h" 3
extern OSStatus
PMUnflattenPrintSettingsWithURL(
CFURLRef flattenFileURL,
PMPrintSettings * printSettings) __attribute__((deprecated));
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintAETypes.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintAETypes.h" 3
#define __PMPrintAETypes__
# 30 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintAETypes.h" 3
#define kPMPrintSettingsAEType 'pset'
#define kPMShowPrintDialogAEType 'pdlg'
#define kPMPrinterAEType 'trpr'
#define kPMCopiesAEProp "copies"
#define kPMCopiesAEKey 'lwcp'
#define kPMCopieAEType typeSInt32
#define kPMCollateAEProp "collating"
#define kPMCollateAEKey 'lwcl'
#define kPMCollateAEType typeBoolean
#define kPMFirstPageAEProp "starting page"
#define kPMFirstPageAEKey 'lwfp'
#define kPMFirstPageAEType typeSInt32
#define kPMLastPageAEProp "ending page"
#define kPMLastPageAEKey 'lwlp'
#define kPMLastPageAEType typeSInt32
#define kPMLayoutAcrossAEProp "pages across"
#define kPMLayoutAcrossAEKey 'lwla'
#define kPMLayoutAcrossAEType typeSInt32
#define kPMLayoutDownAEProp "pages down"
#define kPMLayoutDownAEKey 'lwld'
#define kPMLayoutDownAEType typeSInt32
#define kPMErrorHandlingAEProp "error handling"
#define kPMErrorHandlingAEKey 'lweh'
#define kPMErrorHandlingAEType typeEnumerated
#define kPMPrintTimeAEProp "requested print time"
#define kPMPrintTimeAEKey 'lwqt'
#define kPMPrintTimeAEType cLongDateTime
#define kPMFeatureAEProp "printer features"
#define kPMFeatureAEKey 'lwpf'
#define kPMFeatureAEType typeAEList
#define kPMFaxNumberAEProp "fax number"
#define kPMFaxNumberAEKey 'faxn'
#define kPMFaxNumberAEType typeChar
#define kPMTargetPrinterAEProp "target printer"
#define kPMTargetPrinterAEKey 'trpr'
#define kPMTargetPrinterAEType typeChar
#define kPMErrorHandlingStandardEnum 'lwst'
#define kPMErrorHandlingDetailedEnum 'lwdt'
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h" 2 3
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LangAnalysis.framework/Headers/LangAnalysis.h" 1 3
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
#define __SPEECHSYNTHESIS__
# 40 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
#pragma pack(push, 2)
enum {
kTextToSpeechSynthType = 'ttsc',
kTextToSpeechVoiceType = 'ttvd',
kTextToSpeechVoiceFileType = 'ttvf',
kTextToSpeechVoiceBundleType = 'ttvb'
};
enum {
kNoEndingProsody = 1,
kNoSpeechInterrupt = 2,
kPreflightThenPause = 4
};
enum {
kImmediate = 0,
kEndOfWord = 1,
kEndOfSentence = 2
};
enum {
soStatus = 'stat',
soErrors = 'erro',
soInputMode = 'inpt',
soCharacterMode = 'char',
soNumberMode = 'nmbr',
soRate = 'rate',
soPitchBase = 'pbas',
soPitchMod = 'pmod',
soVolume = 'volm',
soSynthType = 'vers',
soRecentSync = 'sync',
soPhonemeSymbols = 'phsy',
soCurrentVoice = 'cvox',
soCommandDelimiter = 'dlim',
soReset = 'rset',
soCurrentA5 = 'myA5',
soRefCon = 'refc',
soTextDoneCallBack = 'tdcb',
soSpeechDoneCallBack = 'sdcb',
soSyncCallBack = 'sycb',
soErrorCallBack = 'ercb',
soPhonemeCallBack = 'phcb',
soWordCallBack = 'wdcb',
soSynthExtension = 'xtnd',
soSoundOutput = 'sndo',
soOutputToFileWithCFURL = 'opaf'
};
enum {
kSpeechImmediateBoundary = 0,
kSpeechWordBoundary = 1,
kSpeechSentenceBoundary = 2
};
typedef UInt32 SpeechBoundary;
enum {
modeText = 'TEXT',
modePhonemes = 'PHON',
modeNormal = 'NORM',
modeLiteral = 'LTRL'
};
enum {
soVoiceDescription = 'info',
soVoiceFile = 'fref'
};
enum {
kAudioUnitSubType_SpeechSynthesis = 'ttsp',
kAudioUnitProperty_Voice = 3330,
kAudioUnitProperty_SpeechChannel = 3331
};
struct SpeechChannelRecord {
long data[1];
};
typedef struct SpeechChannelRecord SpeechChannelRecord;
typedef SpeechChannelRecord * SpeechChannel;
struct VoiceSpec {
OSType creator;
OSType id;
};
typedef struct VoiceSpec VoiceSpec;
typedef VoiceSpec * VoiceSpecPtr;
enum {
kNeuter = 0,
kMale = 1,
kFemale = 2
};
struct VoiceDescription {
SInt32 length;
VoiceSpec voice;
SInt32 version;
Str63 name;
Str255 comment;
SInt16 gender;
SInt16 age;
SInt16 script;
SInt16 language;
SInt16 region;
SInt32 reserved[4];
};
typedef struct VoiceDescription VoiceDescription;
struct VoiceFileInfo {
FSSpec fileSpec;
SInt16 resID;
};
typedef struct VoiceFileInfo VoiceFileInfo;
struct SpeechStatusInfo {
Boolean outputBusy;
Boolean outputPaused;
long inputBytesLeft;
SInt16 phonemeCode;
};
typedef struct SpeechStatusInfo SpeechStatusInfo;
struct SpeechErrorInfo {
SInt16 count;
OSErr oldest;
long oldPos;
OSErr newest;
long newPos;
};
typedef struct SpeechErrorInfo SpeechErrorInfo;
struct SpeechVersionInfo {
OSType synthType;
OSType synthSubType;
OSType synthManufacturer;
SInt32 synthFlags;
NumVersion synthVersion;
};
typedef struct SpeechVersionInfo SpeechVersionInfo;
struct PhonemeInfo {
SInt16 opcode;
Str15 phStr;
Str31 exampleStr;
SInt16 hiliteStart;
SInt16 hiliteEnd;
};
typedef struct PhonemeInfo PhonemeInfo;
struct PhonemeDescriptor {
SInt16 phonemeCount;
PhonemeInfo thePhonemes[1];
};
typedef struct PhonemeDescriptor PhonemeDescriptor;
struct SpeechXtndData {
OSType synthCreator;
Byte synthData[2];
};
typedef struct SpeechXtndData SpeechXtndData;
struct DelimiterInfo {
Byte startDelimiter[2];
Byte endDelimiter[2];
};
typedef struct DelimiterInfo DelimiterInfo;
# 238 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechStatusProperty ;
# 247 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorsProperty ;
# 256 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechInputModeProperty ;
# 265 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechCharacterModeProperty ;
# 274 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechNumberModeProperty ;
# 283 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechRateProperty ;
# 292 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPitchBaseProperty ;
# 301 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPitchModProperty ;
# 310 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechVolumeProperty ;
# 319 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSynthesizerInfoProperty ;
# 328 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechRecentSyncProperty ;
# 337 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeSymbolsProperty ;
# 346 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechCurrentVoiceProperty ;
# 355 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechCommandDelimiterProperty ;
# 364 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechResetProperty ;
# 373 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechOutputToFileURLProperty ;
# 382 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechRefConProperty ;
# 391 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechTextDoneCallBack ;
# 400 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSpeechDoneCallBack ;
# 409 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSyncCallBack ;
# 418 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeCallBack ;
# 427 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorCFCallBack ;
# 436 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechWordCFCallBack ;
# 446 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechModeText ;
# 455 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechModePhoneme ;
# 464 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechModeNormal ;
# 473 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechModeLiteral ;
# 483 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechNoEndingProsody ;
# 492 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechNoSpeechInterrupt ;
# 501 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPreflightThenPause ;
# 511 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechStatusOutputBusy ;
# 520 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechStatusOutputPaused ;
# 529 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechStatusNumberOfCharactersLeft ;
# 538 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechStatusPhonemeCode ;
# 548 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorCount ;
# 557 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorOldest ;
# 566 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorOldestCharacterOffset ;
# 575 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorNewest ;
# 584 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorNewestCharacterOffset ;
# 594 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSynthesizerInfoIdentifier ;
# 603 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSynthesizerInfoManufacturer ;
# 612 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechSynthesizerInfoVersion ;
# 622 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeInfoOpcode ;
# 631 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeInfoSymbol ;
# 640 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeInfoExample ;
# 649 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeInfoHiliteStart ;
# 658 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechPhonemeInfoHiliteEnd ;
# 668 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechVoiceCreator ;
# 677 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechVoiceID ;
# 687 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechCommandPrefix ;
# 696 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechCommandSuffix ;
# 706 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryLocaleIdentifier ;
# 715 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryModificationDate ;
# 724 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryPronunciations ;
# 733 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryAbbreviations ;
# 742 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryEntrySpelling ;
# 751 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechDictionaryEntryPhonemes ;
# 761 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorCallbackSpokenString ;
# 770 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern CFStringRef kSpeechErrorCallbackCharacterOffset ;
typedef void ( * SpeechTextDoneProcPtr)(SpeechChannel chan, SRefCon refCon, const void **nextBuf, unsigned long *byteLen, SInt32 *controlFlags);
typedef void ( * SpeechDoneProcPtr)(SpeechChannel chan, SRefCon refCon);
typedef void ( * SpeechSyncProcPtr)(SpeechChannel chan, SRefCon refCon, OSType syncMessage);
typedef void ( * SpeechErrorProcPtr)(SpeechChannel chan, SRefCon refCon, OSErr theError, long bytePos);
typedef void ( * SpeechPhonemeProcPtr)(SpeechChannel chan, SRefCon refCon, SInt16 phonemeOpcode);
typedef void ( * SpeechWordProcPtr)(SpeechChannel chan, SRefCon refCon, unsigned long wordPos, UInt16 wordLen);
typedef SpeechTextDoneProcPtr SpeechTextDoneUPP;
typedef SpeechDoneProcPtr SpeechDoneUPP;
typedef SpeechSyncProcPtr SpeechSyncUPP;
typedef SpeechErrorProcPtr SpeechErrorUPP;
typedef SpeechPhonemeProcPtr SpeechPhonemeUPP;
typedef SpeechWordProcPtr SpeechWordUPP;
# 792 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechTextDoneUPP
NewSpeechTextDoneUPP(SpeechTextDoneProcPtr userRoutine) ;
# 803 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechDoneUPP
NewSpeechDoneUPP(SpeechDoneProcPtr userRoutine) ;
# 814 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechSyncUPP
NewSpeechSyncUPP(SpeechSyncProcPtr userRoutine) ;
# 825 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechErrorUPP
NewSpeechErrorUPP(SpeechErrorProcPtr userRoutine) ;
# 836 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechPhonemeUPP
NewSpeechPhonemeUPP(SpeechPhonemeProcPtr userRoutine) ;
# 847 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SpeechWordUPP
NewSpeechWordUPP(SpeechWordProcPtr userRoutine) ;
# 858 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechTextDoneUPP(SpeechTextDoneUPP userUPP) ;
# 869 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechDoneUPP(SpeechDoneUPP userUPP) ;
# 880 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechSyncUPP(SpeechSyncUPP userUPP) ;
# 891 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechErrorUPP(SpeechErrorUPP userUPP) ;
# 902 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechPhonemeUPP(SpeechPhonemeUPP userUPP) ;
# 913 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
DisposeSpeechWordUPP(SpeechWordUPP userUPP) ;
# 924 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechTextDoneUPP(
SpeechChannel chan,
SRefCon refCon,
const void ** nextBuf,
unsigned long * byteLen,
SInt32 * controlFlags,
SpeechTextDoneUPP userUPP) ;
# 941 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechDoneUPP(
SpeechChannel chan,
SRefCon refCon,
SpeechDoneUPP userUPP) ;
# 955 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechSyncUPP(
SpeechChannel chan,
SRefCon refCon,
OSType syncMessage,
SpeechSyncUPP userUPP) ;
# 970 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechErrorUPP(
SpeechChannel chan,
SRefCon refCon,
OSErr theError,
long bytePos,
SpeechErrorUPP userUPP) ;
# 986 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechPhonemeUPP(
SpeechChannel chan,
SRefCon refCon,
SInt16 phonemeOpcode,
SpeechPhonemeUPP userUPP) ;
# 1001 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern void
InvokeSpeechWordUPP(
SpeechChannel chan,
SRefCon refCon,
unsigned long wordPos,
UInt16 wordLen,
SpeechWordUPP userUPP) ;
# 1030 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
#define NewSpeechTextDoneUPP(userRoutine) ((SpeechTextDoneUPP)userRoutine)
#define NewSpeechDoneUPP(userRoutine) ((SpeechDoneUPP)userRoutine)
#define NewSpeechSyncUPP(userRoutine) ((SpeechSyncUPP)userRoutine)
#define NewSpeechErrorUPP(userRoutine) ((SpeechErrorUPP)userRoutine)
#define NewSpeechPhonemeUPP(userRoutine) ((SpeechPhonemeUPP)userRoutine)
#define NewSpeechWordUPP(userRoutine) ((SpeechWordUPP)userRoutine)
#define DisposeSpeechTextDoneUPP(userUPP)
#define DisposeSpeechDoneUPP(userUPP)
#define DisposeSpeechSyncUPP(userUPP)
#define DisposeSpeechErrorUPP(userUPP)
#define DisposeSpeechPhonemeUPP(userUPP)
#define DisposeSpeechWordUPP(userUPP)
#define InvokeSpeechTextDoneUPP(chan,refCon,nextBuf,byteLen,controlFlags,userUPP) (*userUPP)(chan, refCon, nextBuf, byteLen, controlFlags)
#define InvokeSpeechDoneUPP(chan,refCon,userUPP) (*userUPP)(chan, refCon)
#define InvokeSpeechSyncUPP(chan,refCon,syncMessage,userUPP) (*userUPP)(chan, refCon, syncMessage)
#define InvokeSpeechErrorUPP(chan,refCon,theError,bytePos,userUPP) (*userUPP)(chan, refCon, theError, bytePos)
#define InvokeSpeechPhonemeUPP(chan,refCon,phonemeOpcode,userUPP) (*userUPP)(chan, refCon, phonemeOpcode)
#define InvokeSpeechWordUPP(chan,refCon,wordPos,wordLen,userUPP) (*userUPP)(chan, refCon, wordPos, wordLen)
typedef void ( * SpeechErrorCFProcPtr)(SpeechChannel chan, SRefCon refCon, CFErrorRef theError);
typedef void ( * SpeechWordCFProcPtr)(SpeechChannel chan, SRefCon refCon, CFStringRef aString, CFRange wordRange);
# 1062 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern NumVersion
SpeechManagerVersion(void) ;
# 1074 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
MakeVoiceSpec(
OSType creator,
OSType id,
VoiceSpec * voice) ;
# 1089 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
CountVoices(SInt16 * numVoices) ;
# 1101 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetIndVoice(
SInt16 index,
VoiceSpec * voice) ;
# 1115 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetVoiceDescription(
const VoiceSpec * voice,
VoiceDescription * info,
long infoLength) ;
# 1130 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetVoiceInfo(
const VoiceSpec * voice,
OSType selector,
void * voiceInfo) ;
# 1145 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
NewSpeechChannel(
VoiceSpec * voice,
SpeechChannel * chan) ;
# 1159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
DisposeSpeechChannel(SpeechChannel chan) ;
# 1171 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SpeakString(ConstStr255Param textToBeSpoken) ;
# 1183 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SpeakText(
SpeechChannel chan,
const void * textBuf,
unsigned long textBytes) ;
# 1198 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SpeakBuffer(
SpeechChannel chan,
const void * textBuf,
unsigned long textBytes,
SInt32 controlFlags) ;
# 1214 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
StopSpeech(SpeechChannel chan) ;
# 1226 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
StopSpeechAt(
SpeechChannel chan,
SInt32 whereToStop) ;
# 1240 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
PauseSpeechAt(
SpeechChannel chan,
SInt32 whereToPause) ;
# 1254 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
ContinueSpeech(SpeechChannel chan) ;
# 1266 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SInt16
SpeechBusy(void) ;
# 1278 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern SInt16
SpeechBusySystemWide(void) ;
# 1290 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SetSpeechRate(
SpeechChannel chan,
Fixed rate) ;
# 1304 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetSpeechRate(
SpeechChannel chan,
Fixed * rate) ;
# 1318 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SetSpeechPitch(
SpeechChannel chan,
Fixed pitch) ;
# 1332 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetSpeechPitch(
SpeechChannel chan,
Fixed * pitch) ;
# 1346 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SetSpeechInfo(
SpeechChannel chan,
OSType selector,
const void * speechInfo) ;
# 1361 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
GetSpeechInfo(
SpeechChannel chan,
OSType selector,
void * speechInfo) ;
# 1376 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
TextToPhonemes(
SpeechChannel chan,
const void * textBuf,
unsigned long textBytes,
Handle phonemeBuf,
long * phonemeBytes) ;
# 1393 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
UseDictionary(
SpeechChannel chan,
Handle dictionary) ;
# 1408 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SpeakCFString(
SpeechChannel chan,
CFStringRef aString,
CFDictionaryRef options) ;
# 1424 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
UseSpeechDictionary(
SpeechChannel chan,
CFDictionaryRef speechDictionary) ;
# 1439 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
CopyPhonemesFromText(
SpeechChannel chan,
CFStringRef text,
CFStringRef * phonemes) ;
# 1455 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
CopySpeechProperty(
SpeechChannel chan,
CFStringRef property,
CFTypeRef * object) ;
# 1471 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h" 3
extern OSErr
SetSpeechProperty(
SpeechChannel chan,
CFStringRef property,
CFTypeRef object) ;
#pragma pack(pop)
# 51 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 3
#define __CORETEXT__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
#define __CTFONT__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
#define __CTFONTDESCRIPTOR__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
#define __CTFONTTRAITS__
# 32 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
extern const CFStringRef kCTFontSymbolicTrait ;
# 41 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
extern const CFStringRef kCTFontWeightTrait ;
# 52 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
extern const CFStringRef kCTFontWidthTrait ;
# 62 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
extern const CFStringRef kCTFontSlantTrait ;
enum {
kCTFontClassMaskShift = 28
};
# 86 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
enum {
kCTFontItalicTrait = (1 << 0),
kCTFontBoldTrait = (1 << 1),
kCTFontExpandedTrait = (1 << 5),
kCTFontCondensedTrait = (1 << 6),
kCTFontMonoSpaceTrait = (1 << 10),
kCTFontVerticalTrait = (1 << 11),
kCTFontUIOptimizedTrait = (1 << 12),
kCTFontClassMaskTrait = (15 << kCTFontClassMaskShift)
};
typedef uint32_t CTFontSymbolicTraits;
# 108 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 3
enum {
kCTFontUnknownClass = (0 << kCTFontClassMaskShift),
kCTFontOldStyleSerifsClass = (1 << kCTFontClassMaskShift),
kCTFontTransitionalSerifsClass = (2 << kCTFontClassMaskShift),
kCTFontModernSerifsClass = (3 << kCTFontClassMaskShift),
kCTFontClarendonSerifsClass = (4 << kCTFontClassMaskShift),
kCTFontSlabSerifsClass = (5 << kCTFontClassMaskShift),
kCTFontFreeformSerifsClass = (7 << kCTFontClassMaskShift),
kCTFontSansSerifClass = (8 << kCTFontClassMaskShift),
kCTFontOrnamentalsClass = (9 << kCTFontClassMaskShift),
kCTFontScriptsClass = (10 << kCTFontClassMaskShift),
kCTFontSymbolicClass = (12 << kCTFontClassMaskShift)
};
typedef uint32_t CTFontStylisticClass;
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h" 1 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 2 3
# 39 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
typedef const struct __CTFontDescriptor * CTFontDescriptorRef;
# 52 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontNameAttribute ;
# 61 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontDisplayNameAttribute ;
extern const CFStringRef kCTFontFamilyNameAttribute ;
# 78 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontStyleNameAttribute ;
extern const CFStringRef kCTFontTraitsAttribute ;
# 95 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontVariationAttribute ;
extern const CFStringRef kCTFontSizeAttribute ;
extern const CFStringRef kCTFontMatrixAttribute ;
# 120 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontCascadeListAttribute ;
# 130 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontCharacterSetAttribute ;
# 141 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontLanguagesAttribute ;
# 151 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontBaselineAdjustAttribute ;
# 160 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontMacintoshEncodingsAttribute ;
# 170 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontFeaturesAttribute ;
# 184 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontFeatureSettingsAttribute ;
# 193 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontFixedAdvanceAttribute ;
# 203 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
extern const CFStringRef kCTFontOrientationAttribute ;
enum {
kCTFontDefaultOrientation = 0,
kCTFontHorizontalOrientation = 1,
kCTFontVerticalOrientation = 2
};
typedef uint32_t CTFontOrientation;
# 237 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateWithNameAndSize(
CFStringRef name,
CGFloat size ) ;
# 255 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateWithAttributes(
CFDictionaryRef attributes ) ;
# 274 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateCopyWithAttributes(
CTFontDescriptorRef original,
CFDictionaryRef attributes ) ;
# 297 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateCopyWithVariation(
CTFontDescriptorRef original,
CFNumberRef variationIdentifier,
CGFloat variationValue ) ;
# 319 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateCopyWithFeature(
CTFontDescriptorRef original,
CFNumberRef featureTypeIdentifier,
CFNumberRef featureSelectorIdentifier ) ;
# 341 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CFArrayRef CTFontDescriptorCreateMatchingFontDescriptors(
CTFontDescriptorRef descriptor,
CFSetRef mandatoryAttributes ) ;
# 362 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CTFontDescriptorRef CTFontDescriptorCreateMatchingFontDescriptor(
CTFontDescriptorRef descriptor,
CFSetRef mandatoryAttributes ) ;
# 382 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CFDictionaryRef CTFontDescriptorCopyAttributes(
CTFontDescriptorRef descriptor ) ;
# 400 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CFTypeRef CTFontDescriptorCopyAttribute(
CTFontDescriptorRef descriptor,
CFStringRef attribute ) ;
# 426 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CFTypeRef CTFontDescriptorCopyLocalizedAttribute(
CTFontDescriptorRef descriptor,
CFStringRef attribute,
CFStringRef *language) ;
# 441 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 3
CFTypeID CTFontDescriptorGetTypeID( void ) ;
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h" 1 3
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGFont.h" 1 3
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGPath.h" 1 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 2 3
# 38 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
typedef const struct __CTFont * CTFontRef;
# 49 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontCopyrightNameKey ;
extern const CFStringRef kCTFontFamilyNameKey ;
extern const CFStringRef kCTFontSubFamilyNameKey ;
extern const CFStringRef kCTFontStyleNameKey ;
extern const CFStringRef kCTFontUniqueNameKey ;
extern const CFStringRef kCTFontFullNameKey ;
extern const CFStringRef kCTFontVersionNameKey ;
extern const CFStringRef kCTFontPostScriptNameKey ;
extern const CFStringRef kCTFontTrademarkNameKey ;
extern const CFStringRef kCTFontManufacturerNameKey ;
extern const CFStringRef kCTFontDesignerNameKey ;
extern const CFStringRef kCTFontDescriptionNameKey ;
extern const CFStringRef kCTFontVendorURLNameKey ;
extern const CFStringRef kCTFontDesignerURLNameKey ;
extern const CFStringRef kCTFontLicenseNameKey ;
extern const CFStringRef kCTFontLicenseURLNameKey ;
extern const CFStringRef kCTFontSampleTextNameKey ;
extern const CFStringRef kCTFontPostScriptCIDNameKey ;
# 165 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateWithName(
CFStringRef name,
CGFloat size,
const CGAffineTransform *matrix ) ;
# 194 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateWithFontDescriptor(
CTFontDescriptorRef descriptor,
CGFloat size,
const CGAffineTransform *matrix ) ;
# 207 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
enum {
kCTFontNoFontType = (uint32_t)-1,
kCTFontUserFontType = 0,
kCTFontUserFixedPitchFontType = 1,
kCTFontSystemFontType = 2,
kCTFontEmphasizedSystemFontType = 3,
kCTFontSmallSystemFontType = 4,
kCTFontSmallEmphasizedSystemFontType = 5,
kCTFontMiniSystemFontType = 6,
kCTFontMiniEmphasizedSystemFontType = 7,
kCTFontViewsFontType = 8,
kCTFontApplicationFontType = 9,
kCTFontLabelFontType = 10,
kCTFontMenuTitleFontType = 11,
kCTFontMenuItemFontType = 12,
kCTFontMenuItemMarkFontType = 13,
kCTFontMenuItemCmdKeyFontType = 14,
kCTFontWindowTitleFontType = 15,
kCTFontPushButtonFontType = 16,
kCTFontUtilityWindowTitleFontType = 17,
kCTFontAlertHeaderFontType = 18,
kCTFontSystemDetailFontType = 19,
kCTFontEmphasizedSystemDetailFontType = 20,
kCTFontToolbarFontType = 21,
kCTFontSmallToolbarFontType = 22,
kCTFontMessageFontType = 23,
kCTFontPaletteFontType = 24,
kCTFontToolTipFontType = 25,
kCTFontControlContentFontType = 26
};
typedef uint32_t CTFontUIFontType;
# 260 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateUIFontForLanguage(
CTFontUIFontType uiType,
CGFloat size,
CFStringRef language ) ;
# 291 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateCopyWithAttributes(
CTFontRef font,
CGFloat size,
const CGAffineTransform *matrix,
CTFontDescriptorRef attributes ) ;
# 325 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateCopyWithSymbolicTraits(
CTFontRef font,
CGFloat size,
const CGAffineTransform *matrix,
CTFontSymbolicTraits symTraitValue,
CTFontSymbolicTraits symTraitMask ) ;
# 354 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateCopyWithFamily(
CTFontRef font,
CGFloat size,
const CGAffineTransform *matrix,
CFStringRef family ) ;
# 385 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateForString(
CTFontRef currentFont,
CFStringRef string,
CFRange range ) ;
# 406 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontDescriptorRef CTFontCopyFontDescriptor(
CTFontRef font ) ;
# 424 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFTypeRef CTFontCopyAttribute(
CTFontRef font,
CFStringRef attribute ) ;
# 438 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetSize( CTFontRef font ) ;
# 451 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGAffineTransform CTFontGetMatrix( CTFontRef font ) ;
# 464 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontSymbolicTraits CTFontGetSymbolicTraits( CTFontRef font ) ;
# 478 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFDictionaryRef CTFontCopyTraits( CTFontRef font ) ;
# 494 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyPostScriptName( CTFontRef font ) ;
# 506 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyFamilyName( CTFontRef font ) ;
# 518 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyFullName( CTFontRef font ) ;
# 530 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyDisplayName( CTFontRef font ) ;
# 547 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyName(
CTFontRef font,
CFStringRef nameKey ) ;
# 572 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringRef CTFontCopyLocalizedName(
CTFontRef font,
CFStringRef nameKey,
CFStringRef *language ) ;
# 592 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFCharacterSetRef CTFontCopyCharacterSet( CTFontRef font ) ;
# 603 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFStringEncoding CTFontGetStringEncoding( CTFontRef font ) ;
# 617 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFArrayRef CTFontCopySupportedLanguages( CTFontRef font ) ;
# 645 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
Boolean CTFontGetGlyphsForCharacters(
CTFontRef font,
const UniChar characters[],
CGGlyph glyphs[],
CFIndex count ) ;
# 665 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetAscent( CTFontRef font ) ;
# 677 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetDescent( CTFontRef font ) ;
# 689 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetLeading( CTFontRef font ) ;
# 700 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
unsigned CTFontGetUnitsPerEm( CTFontRef font ) ;
# 711 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFIndex CTFontGetGlyphCount( CTFontRef font ) ;
# 724 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGRect CTFontGetBoundingBox( CTFontRef font ) ;
# 736 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetUnderlinePosition( CTFontRef font ) ;
# 748 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetUnderlineThickness( CTFontRef font ) ;
# 761 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetSlantAngle( CTFontRef font ) ;
# 773 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetCapHeight( CTFontRef font ) ;
# 785 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFloat CTFontGetXHeight( CTFontRef font ) ;
# 806 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGGlyph CTFontGetGlyphWithName(
CTFontRef font,
CFStringRef glyphName ) ;
# 839 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGRect CTFontGetBoundingRectsForGlyphs(
CTFontRef font,
CTFontOrientation orientation,
const CGGlyph glyphs[],
CGRect boundingRects[],
CFIndex count ) ;
# 874 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
double CTFontGetAdvancesForGlyphs(
CTFontRef font,
CTFontOrientation orientation,
const CGGlyph glyphs[],
CGSize advances[],
CFIndex count ) ;
# 899 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
void CTFontGetVerticalTranslationsForGlyphs(
CTFontRef font,
const CGGlyph glyphs[],
CGSize translations[],
CFIndex count ) ;
# 928 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGPathRef CTFontCreatePathForGlyph(
CTFontRef font,
CGGlyph glyph,
const CGAffineTransform * transform ) ;
# 942 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontVariationAxisIdentifierKey ;
extern const CFStringRef kCTFontVariationAxisMinimumValueKey ;
extern const CFStringRef kCTFontVariationAxisMaximumValueKey ;
extern const CFStringRef kCTFontVariationAxisDefaultValueKey ;
extern const CFStringRef kCTFontVariationAxisNameKey ;
# 983 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFArrayRef CTFontCopyVariationAxes( CTFontRef font ) ;
# 997 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFDictionaryRef CTFontCopyVariation( CTFontRef font ) ;
# 1008 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontFeatureTypeIdentifierKey ;
extern const CFStringRef kCTFontFeatureTypeNameKey ;
# 1024 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontFeatureTypeExclusiveKey ;
# 1033 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontFeatureTypeSelectorsKey ;
extern const CFStringRef kCTFontFeatureSelectorIdentifierKey ;
extern const CFStringRef kCTFontFeatureSelectorNameKey ;
# 1057 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontFeatureSelectorDefaultKey ;
# 1066 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
extern const CFStringRef kCTFontFeatureSelectorSettingKey ;
# 1078 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFArrayRef CTFontCopyFeatures( CTFontRef font ) ;
# 1097 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFArrayRef CTFontCopyFeatureSettings( CTFontRef font ) ;
# 1120 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CGFontRef CTFontCopyGraphicsFont(
CTFontRef font,
CTFontDescriptorRef *attributes ) ;
# 1147 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateWithGraphicsFont(
CGFontRef graphicsFont,
CGFloat size,
const CGAffineTransform *matrix,
CTFontDescriptorRef attributes ) ;
# 1169 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
ATSFontRef CTFontGetPlatformFont(
CTFontRef font,
CTFontDescriptorRef *attributes ) ;
# 1195 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateWithPlatformFont(
ATSFontRef platformFont,
CGFloat size,
const CGAffineTransform *matrix,
CTFontDescriptorRef attributes ) ;
# 1225 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CTFontRef CTFontCreateWithQuickdrawInstance(
ConstStr255Param name,
int16_t identifier,
uint8_t style,
CGFloat size ) ;
enum {
kCTFontTableBASE = 'BASE',
kCTFontTableCFF = 'CFF ',
kCTFontTableDSIG = 'DSIG',
kCTFontTableEBDT = 'EBDT',
kCTFontTableEBLC = 'EBLC',
kCTFontTableEBSC = 'EBSC',
kCTFontTableGDEF = 'GDEF',
kCTFontTableGPOS = 'GPOS',
kCTFontTableGSUB = 'GSUB',
kCTFontTableJSTF = 'JSTF',
kCTFontTableLTSH = 'LTSH',
kCTFontTableOS2 = 'OS/2',
kCTFontTablePCLT = 'PCLT',
kCTFontTableVDMX = 'VDMX',
kCTFontTableVORG = 'VORG',
kCTFontTableZapf = 'Zapf',
kCTFontTableAcnt = 'acnt',
kCTFontTableAvar = 'avar',
kCTFontTableBdat = 'bdat',
kCTFontTableBhed = 'bhed',
kCTFontTableBloc = 'bloc',
kCTFontTableBsln = 'bsln',
kCTFontTableCmap = 'cmap',
kCTFontTableCvar = 'cvar',
kCTFontTableCvt = 'cvt ',
kCTFontTableFdsc = 'fdsc',
kCTFontTableFeat = 'feat',
kCTFontTableFmtx = 'fmtx',
kCTFontTableFpgm = 'fpgm',
kCTFontTableFvar = 'fvar',
kCTFontTableGasp = 'gasp',
kCTFontTableGlyf = 'glyf',
kCTFontTableGvar = 'gvar',
kCTFontTableHdmx = 'hdmx',
kCTFontTableHead = 'head',
kCTFontTableHhea = 'hhea',
kCTFontTableHmtx = 'hmtx',
kCTFontTableHsty = 'hsty',
kCTFontTableJust = 'just',
kCTFontTableKern = 'kern',
kCTFontTableLcar = 'lcar',
kCTFontTableLoca = 'loca',
kCTFontTableMaxp = 'maxp',
kCTFontTableMort = 'mort',
kCTFontTableMorx = 'morx',
kCTFontTableName = 'name',
kCTFontTableOpbd = 'opbd',
kCTFontTablePost = 'post',
kCTFontTablePrep = 'prep',
kCTFontTableProp = 'prop',
kCTFontTableTrak = 'trak',
kCTFontTableVhea = 'vhea',
kCTFontTableVmtx = 'vmtx'
};
typedef uint32_t CTFontTableTag;
enum {
kCTFontTableOptionNoOptions = 0,
kCTFontTableOptionExcludeSynthetic = (1 << 0)
};
typedef uint32_t CTFontTableOptions;
# 1312 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFArrayRef CTFontCopyAvailableTables(
CTFontRef font,
CTFontTableOptions options ) ;
# 1332 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFDataRef CTFontCopyTable(
CTFontRef font,
CTFontTableTag table,
CTFontTableOptions options ) ;
# 1346 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 3
CFTypeID CTFontGetTypeID( void ) ;
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
#define __CTFONTCOLLECTION__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 1 3
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 2 3
# 32 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
typedef const struct __CTFontCollection * CTFontCollectionRef;
# 41 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
typedef CFComparisonResult (*CTFontCollectionSortDescriptorsCallback)(CTFontDescriptorRef first, CTFontDescriptorRef second, void *refCon);
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
extern const CFStringRef kCTFontCollectionRemoveDuplicatesOption ;
# 70 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CTFontCollectionRef CTFontCollectionCreateFromAvailableFonts( CFDictionaryRef options ) ;
# 87 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CTFontCollectionRef CTFontCollectionCreateWithFontDescriptors(
CFArrayRef descriptors,
CFDictionaryRef options ) ;
# 111 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CTFontCollectionRef CTFontCollectionCreateCopyWithFontDescriptors(
CTFontCollectionRef original,
CFArrayRef descriptors,
CFDictionaryRef options ) ;
# 130 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CFArrayRef CTFontCollectionCreateMatchingFontDescriptors( CTFontCollectionRef collection ) ;
# 150 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CFArrayRef CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(
CTFontCollectionRef collection,
CTFontCollectionSortDescriptorsCallback sortCallback,
void *refCon) ;
# 165 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontCollection.h" 3
CFTypeID CTFontCollectionGetTypeID( void ) ;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFontTraits.h" 1 3
# 16 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
#define __CTFRAME__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 2 3
# 27 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
typedef const struct __CTFrame * CTFrameRef;
CFTypeID CTFrameGetTypeID( void ) ;
# 59 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
enum
{
kCTFrameProgressionTopToBottom = 0,
kCTFrameProgressionRightToLeft = 1
};
typedef uint32_t CTFrameProgression;
# 77 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
extern const CFStringRef kCTFrameProgressionAttributeName ;
# 98 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
CFRange CTFrameGetStringRange(
CTFrameRef frame ) ;
# 121 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
CFRange CTFrameGetVisibleStringRange(
CTFrameRef frame ) ;
# 133 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
CGPathRef CTFrameGetPath(
CTFrameRef frame ) ;
# 155 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
CFDictionaryRef CTFrameGetFrameAttributes(
CTFrameRef frame ) ;
# 177 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
CFArrayRef CTFrameGetLines(
CTFrameRef frame ) ;
# 212 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
void CTFrameGetLineOrigins(
CTFrameRef frame,
CFRange range,
CGPoint origins[] ) ;
# 236 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 3
void CTFrameDraw(
CTFrameRef frame,
CGContextRef context ) ;
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 3
#define __CTFRAMESETTER__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFrame.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
#define __CTTYPESETTER__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
#define __CTLINE__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 2 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
typedef const struct __CTLine * CTLineRef;
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
enum
{
kCTLineTruncationStart = 0,
kCTLineTruncationEnd = 1,
kCTLineTruncationMiddle = 2
};
typedef uint32_t CTLineTruncationType;
CFTypeID CTLineGetTypeID( void ) ;
# 86 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CTLineRef CTLineCreateWithAttributedString(
CFAttributedStringRef string ) ;
# 119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CTLineRef CTLineCreateTruncatedLine(
CTLineRef line,
double width,
CTLineTruncationType truncationType,
CTLineRef truncationToken ) ;
# 150 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CTLineRef CTLineCreateJustifiedLine(
CTLineRef line,
CGFloat justificationFactor,
double justificationWidth ) ;
# 173 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CFIndex CTLineGetGlyphCount(
CTLineRef line ) ;
# 187 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CFArrayRef CTLineGetGlyphRuns(
CTLineRef line ) ;
# 204 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CFRange CTLineGetStringRange(
CTLineRef line ) ;
# 229 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
double CTLineGetPenOffsetForFlush(
CTLineRef line,
CGFloat flushFactor,
double flushWidth ) ;
# 252 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
void CTLineDraw(
CTLineRef line,
CGContextRef context ) ;
# 278 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CGRect CTLineGetImageBounds(
CTLineRef line,
CGContextRef context ) ;
# 306 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
double CTLineGetTypographicBounds(
CTLineRef line,
CGFloat* ascent,
CGFloat* descent,
CGFloat* leading ) ;
# 329 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
double CTLineGetTrailingWhitespaceWidth(
CTLineRef line ) ;
# 360 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CFIndex CTLineGetStringIndexForPosition(
CTLineRef line,
CGPoint position ) ;
# 397 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 3
CGFloat CTLineGetOffsetForStringIndex(
CTLineRef line,
CFIndex charIndex,
CGFloat* secondaryOffset ) ;
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 2 3
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
typedef const struct __CTTypesetter * CTTypesetterRef;
CFTypeID CTTypesetterGetTypeID( void ) ;
# 47 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
extern const CFStringRef kCTTypesetterOptionDisableBidiProcessing;
# 71 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
CTTypesetterRef CTTypesetterCreateWithAttributedString(
CFAttributedStringRef string ) ;
# 95 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
CTTypesetterRef CTTypesetterCreateWithAttributedStringAndOptions(
CFAttributedStringRef string,
CFDictionaryRef options ) ;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
CTLineRef CTTypesetterCreateLine(
CTTypesetterRef typesetter,
CFRange stringRange ) ;
# 159 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
CFIndex CTTypesetterSuggestLineBreak(
CTTypesetterRef typesetter,
CFIndex startIndex,
double width ) ;
# 194 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 3
CFIndex CTTypesetterSuggestClusterBreak(
CTTypesetterRef typesetter,
CFIndex startIndex,
double width ) ;
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 2 3
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 3
typedef const struct __CTFramesetter * CTFramesetterRef;
CFTypeID CTFramesetterGetTypeID( void ) ;
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 3
CTFramesetterRef CTFramesetterCreateWithAttributedString(
CFAttributedStringRef string ) ;
# 93 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 3
CTFrameRef CTFramesetterCreateFrame(
CTFramesetterRef framesetter,
CFRange stringRange,
CGPathRef path,
CFDictionaryRef frameAttributes ) ;
# 119 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFramesetter.h" 3
CTTypesetterRef CTFramesetterGetTypesetter(
CTFramesetterRef framesetter ) ;
# 18 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
#define __CTGLYPHINFO__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 2 3
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
typedef const struct __CTGlyphInfo * CTGlyphInfoRef;
CFTypeID CTGlyphInfoGetTypeID( void ) ;
# 60 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
enum
{
kCTIdentityMappingCharacterCollection = 0,
kCTAdobeCNS1CharacterCollection = 1,
kCTAdobeGB1CharacterCollection = 2,
kCTAdobeJapan1CharacterCollection = 3,
kCTAdobeJapan2CharacterCollection = 4,
kCTAdobeKorea1CharacterCollection = 5
};
typedef uint16_t CTCharacterCollection;
# 98 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CTGlyphInfoRef CTGlyphInfoCreateWithGlyphName(
CFStringRef glyphName,
CTFontRef font,
CFStringRef baseString ) ;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CTGlyphInfoRef CTGlyphInfoCreateWithGlyph(
CGGlyph glyph,
CTFontRef font,
CFStringRef baseString ) ;
# 154 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CTGlyphInfoRef CTGlyphInfoCreateWithCharacterIdentifier(
CGFontIndex cid,
CTCharacterCollection collection,
CFStringRef baseString ) ;
# 178 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CFStringRef CTGlyphInfoGetGlyphName(
CTGlyphInfoRef glyphInfo ) ;
# 196 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CGFontIndex CTGlyphInfoGetCharacterIdentifier(
CTGlyphInfoRef glyphInfo ) ;
# 217 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h" 3
CTCharacterCollection CTGlyphInfoGetCharacterCollection(
CTGlyphInfoRef glyphInfo ) ;
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTLine.h" 1 3
# 20 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
#define __CTPARAGRAPHSTYLE__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 2 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
typedef const struct __CTParagraphStyle * CTParagraphStyleRef;
CFTypeID CTParagraphStyleGetTypeID( void ) ;
# 60 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
enum
{
kCTLeftTextAlignment = 0,
kCTRightTextAlignment = 1,
kCTCenterTextAlignment = 2,
kCTJustifiedTextAlignment = 3,
kCTNaturalTextAlignment = 4
};
typedef uint8_t CTTextAlignment;
# 101 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
enum
{
kCTLineBreakByWordWrapping = 0,
kCTLineBreakByCharWrapping = 1,
kCTLineBreakByClipping = 2,
kCTLineBreakByTruncatingHead = 3,
kCTLineBreakByTruncatingTail = 4,
kCTLineBreakByTruncatingMiddle = 5
};
typedef uint8_t CTLineBreakMode;
# 127 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
enum
{
kCTWritingDirectionNatural = -1,
kCTWritingDirectionLeftToRight = 0,
kCTWritingDirectionRightToLeft = 1
};
typedef int8_t CTWritingDirection;
# 289 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
enum
{
kCTParagraphStyleSpecifierAlignment = 0,
kCTParagraphStyleSpecifierFirstLineHeadIndent = 1,
kCTParagraphStyleSpecifierHeadIndent = 2,
kCTParagraphStyleSpecifierTailIndent = 3,
kCTParagraphStyleSpecifierTabStops = 4,
kCTParagraphStyleSpecifierDefaultTabInterval = 5,
kCTParagraphStyleSpecifierLineBreakMode = 6,
kCTParagraphStyleSpecifierLineHeightMultiple = 7,
kCTParagraphStyleSpecifierMaximumLineHeight = 8,
kCTParagraphStyleSpecifierMinimumLineHeight = 9,
kCTParagraphStyleSpecifierLineSpacing = 10,
kCTParagraphStyleSpecifierParagraphSpacing = 11,
kCTParagraphStyleSpecifierParagraphSpacingBefore = 12,
kCTParagraphStyleSpecifierBaseWritingDirection = 13,
kCTParagraphStyleSpecifierCount = 14
};
typedef uint32_t CTParagraphStyleSpecifier;
# 328 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
typedef struct CTParagraphStyleSetting
{
CTParagraphStyleSpecifier spec;
size_t valueSize;
const void* value;
} CTParagraphStyleSetting;
# 370 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
CTParagraphStyleRef CTParagraphStyleCreate(
const CTParagraphStyleSetting* settings,
CFIndex settingCount ) ;
# 389 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
CTParagraphStyleRef CTParagraphStyleCreateCopy(
CTParagraphStyleRef paragraphStyle ) ;
# 434 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 3
_Bool CTParagraphStyleGetValueForSpecifier(
CTParagraphStyleRef paragraphStyle,
CTParagraphStyleSpecifier spec,
size_t valueBufferSize,
void* valueBuffer ) ;
# 21 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
#define __CTRUN__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h" 1 3
# 14 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 2 3
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
typedef const struct __CTRun * CTRunRef;
# 49 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
enum
{
kCTRunStatusNoStatus = 0,
kCTRunStatusRightToLeft = (1 << 0),
kCTRunStatusNonMonotonic = (1 << 1),
kCTRunStatusHasNonIdentityMatrix = (1 << 2)
};
typedef uint32_t CTRunStatus;
CFTypeID CTRunGetTypeID( void ) ;
# 83 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CFIndex CTRunGetGlyphCount(
CTRunRef run ) ;
# 104 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CFDictionaryRef CTRunGetAttributes(
CTRunRef run ) ;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CTRunStatus CTRunGetStatus(
CTRunRef run ) ;
# 147 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
const CGGlyph* CTRunGetGlyphsPtr(
CTRunRef run ) ;
# 168 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
void CTRunGetGlyphs(
CTRunRef run,
CFRange range,
CGGlyph buffer[] ) ;
# 193 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
const CGPoint* CTRunGetPositionsPtr(
CTRunRef run ) ;
# 218 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
void CTRunGetPositions(
CTRunRef run,
CFRange range,
CGPoint buffer[] ) ;
# 244 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
const CFIndex* CTRunGetStringIndicesPtr(
CTRunRef run ) ;
# 270 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
void CTRunGetStringIndices(
CTRunRef run,
CFRange range,
CFIndex buffer[] ) ;
# 288 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CFRange CTRunGetStringRange(
CTRunRef run ) ;
# 320 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
double CTRunGetTypographicBounds(
CTRunRef run,
CFRange range,
CGFloat* ascent,
CGFloat* descent,
CGFloat* leading ) ;
# 352 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CGRect CTRunGetImageBounds(
CTRunRef run,
CGContextRef context,
CFRange range ) ;
# 372 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
CGAffineTransform CTRunGetTextMatrix(
CTRunRef run ) ;
# 400 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTRun.h" 3
void CTRunDraw(
CTRunRef run,
CGContextRef context,
CFRange range ) ;
# 22 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
#define __CTSTRINGATTRIBUTES__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGColor.h" 1 3
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 2 3
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTFontAttributeName ;
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTKernAttributeName ;
# 75 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTLigatureAttributeName ;
# 85 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTForegroundColorAttributeName ;
# 98 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTParagraphStyleAttributeName ;
# 113 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTUnderlineStyleAttributeName ;
# 125 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTVerticalFormsAttributeName ;
# 139 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
extern const CFStringRef kCTGlyphInfoAttributeName ;
# 151 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
enum
{
kCTUnderlineStyleNone = 0x00,
kCTUnderlineStyleSingle = 0x01,
kCTUnderlineStyleThick = 0x02,
kCTUnderlineStyleDouble = 0x09
};
typedef int32_t CTUnderlineStyle;
# 170 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTStringAttributes.h" 3
enum
{
kCTUnderlinePatternSolid = 0x0000,
kCTUnderlinePatternDot = 0x0100,
kCTUnderlinePatternDash = 0x0200,
kCTUnderlinePatternDashDot = 0x0300,
kCTUnderlinePatternDashDotDot = 0x0400
};
typedef int32_t CTUnderlineStyleModifiers;
# 23 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 1 3
# 10 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
#define __CTTEXTTAB__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 2 3
# 37 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
typedef const struct __CTTextTab * CTTextTabRef;
CFTypeID CTTextTabGetTypeID( void ) ;
# 64 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
extern const CFStringRef kCTTabColumnTerminatorsAttributeName ;
# 92 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
CTTextTabRef CTTextTabCreate(
CTTextAlignment alignment,
double location,
CFDictionaryRef options ) ;
# 112 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
CTTextAlignment CTTextTabGetAlignment(
CTTextTabRef tab ) ;
# 126 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
double CTTextTabGetLocation(
CTTextTabRef tab ) ;
# 141 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTextTab.h" 3
CFDictionaryRef CTTextTabGetOptions(
CTTextTabRef tab ) ;
# 24 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTTypesetter.h" 1 3
# 25 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 2 3
# 50 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h" 3
uint32_t CTGetCoreTextVersion( void ) ;
#define kCTVersionNumber10_5 0x00020000
# 54 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h" 1 3
# 55 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/ImageIO.h" 1 3
#define __IMAGEIO__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 1 3
#define CGIMAGESOURCE_H_
typedef struct CGImageSource *CGImageSourceRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 2 3
enum CGImageSourceStatus {
kCGImageStatusUnexpectedEOF = -5,
kCGImageStatusInvalidData = -4,
kCGImageStatusUnknownType = -3,
kCGImageStatusReadingHeader = -2,
kCGImageStatusIncomplete = -1,
kCGImageStatusComplete = 0
};
typedef enum CGImageSourceStatus CGImageSourceStatus;
# 34 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 3
extern const CFStringRef kCGImageSourceTypeIdentifierHint ;
# 43 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 3
extern const CFStringRef kCGImageSourceShouldCache ;
extern const CFStringRef kCGImageSourceShouldAllowFloat ;
# 65 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 3
extern const CFStringRef kCGImageSourceCreateThumbnailFromImageIfAbsent ;
# 75 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 3
extern const CFStringRef kCGImageSourceCreateThumbnailFromImageAlways ;
extern const CFStringRef kCGImageSourceThumbnailMaxPixelSize ;
extern const CFStringRef kCGImageSourceCreateThumbnailWithTransform ;
extern CFTypeID CGImageSourceGetTypeID (void) ;
extern CFArrayRef CGImageSourceCopyTypeIdentifiers(void) ;
extern CGImageSourceRef CGImageSourceCreateWithDataProvider(CGDataProviderRef provider, CFDictionaryRef options) ;
extern CGImageSourceRef CGImageSourceCreateWithData(CFDataRef data, CFDictionaryRef options) ;
extern CGImageSourceRef CGImageSourceCreateWithURL(CFURLRef url, CFDictionaryRef options) ;
extern CFStringRef CGImageSourceGetType(CGImageSourceRef isrc) ;
extern size_t CGImageSourceGetCount(CGImageSourceRef isrc) ;
extern CFDictionaryRef CGImageSourceCopyProperties(CGImageSourceRef isrc, CFDictionaryRef options) ;
extern CFDictionaryRef CGImageSourceCopyPropertiesAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options) ;
extern CGImageRef CGImageSourceCreateImageAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options) ;
extern CGImageRef CGImageSourceCreateThumbnailAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options) ;
extern CGImageSourceRef CGImageSourceCreateIncremental(CFDictionaryRef options) ;
extern void CGImageSourceUpdateData(CGImageSourceRef isrc, CFDataRef data, _Bool final) ;
extern void CGImageSourceUpdateDataProvider(CGImageSourceRef isrc, CGDataProviderRef provider, _Bool final) ;
extern CGImageSourceStatus CGImageSourceGetStatus(CGImageSourceRef isrc) ;
extern CGImageSourceStatus CGImageSourceGetStatusAtIndex(CGImageSourceRef isrc, size_t index) ;
# 15 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/ImageIO.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 1 3
#define CGIMAGEDESTINATION_H_
typedef struct CGImageDestination *CGImageDestinationRef;
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageSource.h" 1 3
# 13 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 2 3
# 29 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 3
extern const CFStringRef kCGImageDestinationLossyCompressionQuality ;
# 38 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 3
extern const CFStringRef kCGImageDestinationBackgroundColor ;
extern CFTypeID CGImageDestinationGetTypeID(void) ;
extern CFArrayRef CGImageDestinationCopyTypeIdentifiers(void) ;
# 57 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 3
extern CGImageDestinationRef CGImageDestinationCreateWithDataConsumer(CGDataConsumerRef consumer, CFStringRef type, size_t count, CFDictionaryRef options) ;
extern CGImageDestinationRef CGImageDestinationCreateWithData(CFMutableDataRef data, CFStringRef type, size_t count, CFDictionaryRef options) ;
# 74 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 3
extern CGImageDestinationRef CGImageDestinationCreateWithURL(CFURLRef url, CFStringRef type, size_t count, CFDictionaryRef options) ;
extern void CGImageDestinationSetProperties(CGImageDestinationRef idst, CFDictionaryRef properties) ;
extern void CGImageDestinationAddImage(CGImageDestinationRef idst, CGImageRef image, CFDictionaryRef properties) ;
# 95 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageDestination.h" 3
extern void CGImageDestinationAddImageFromSource(CGImageDestinationRef idst, CGImageSourceRef isrc, size_t index, CFDictionaryRef properties) ;
extern _Bool CGImageDestinationFinalize(CGImageDestinationRef idst) ;
# 17 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/ImageIO.h" 2 3
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageProperties.h" 1 3
#define __CGIMAGEPROPERTIES__
# 1 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h" 1 3
# 12 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageProperties.h" 2 3
extern const CFStringRef kCGImagePropertyTIFFDictionary ;
extern const CFStringRef kCGImagePropertyGIFDictionary ;
extern const CFStringRef kCGImagePropertyJFIFDictionary ;
extern const CFStringRef kCGImagePropertyExifDictionary ;
extern const CFStringRef kCGImagePropertyPNGDictionary ;
extern const CFStringRef kCGImagePropertyIPTCDictionary ;
extern const CFStringRef kCGImagePropertyGPSDictionary ;
extern const CFStringRef kCGImagePropertyRawDictionary ;
extern const CFStringRef kCGImagePropertyCIFFDictionary ;
extern const CFStringRef kCGImagePropertyMakerCanonDictionary;
extern const CFStringRef kCGImagePropertyMakerNikonDictionary;
extern const CFStringRef kCGImagePropertyMakerMinoltaDictionary ;
extern const CFStringRef kCGImagePropertyMakerFujiDictionary ;
extern const CFStringRef kCGImagePropertyMakerOlympusDictionary ;
extern const CFStringRef kCGImagePropertyMakerPentaxDictionary ;
extern const CFStringRef kCGImageProperty8BIMDictionary ;
extern const CFStringRef kCGImagePropertyDNGDictionary;
extern const CFStringRef kCGImagePropertyExifAuxDictionary ;
# 46 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageProperties.h" 3
extern const CFStringRef kCGImagePropertyFileSize ;
# 55 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageProperties.h" 3
extern const CFStringRef kCGImagePropertyPixelHeight ;
extern const CFStringRef kCGImagePropertyPixelWidth ;
extern const CFStringRef kCGImagePropertyDPIHeight ;
extern const CFStringRef kCGImagePropertyDPIWidth ;
extern const CFStringRef kCGImagePropertyDepth ;
# 82 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/CGImageProperties.h" 3
extern const CFStringRef kCGImagePropertyOrientation ;
extern const CFStringRef kCGImagePropertyIsFloat ;
extern const CFStringRef kCGImagePropertyIsIndexed ;
extern const CFStringRef kCGImagePropertyHasAlpha ;
extern const CFStringRef kCGImagePropertyColorModel ;
extern const CFStringRef kCGImagePropertyProfileName ;
extern const CFStringRef kCGImagePropertyColorModelRGB ;
extern const CFStringRef kCGImagePropertyColorModelGray ;
extern const CFStringRef kCGImagePropertyColorModelCMYK ;
extern const CFStringRef kCGImagePropertyColorModelLab ;
extern const CFStringRef kCGImagePropertyTIFFCompression ;
extern const CFStringRef kCGImagePropertyTIFFPhotometricInterpretation ;
extern const CFStringRef kCGImagePropertyTIFFDocumentName ;
extern const CFStringRef kCGImagePropertyTIFFImageDescription ;
extern const CFStringRef kCGImagePropertyTIFFMake ;
extern const CFStringRef kCGImagePropertyTIFFModel ;
extern const CFStringRef kCGImagePropertyTIFFOrientation ;
extern const CFStringRef kCGImagePropertyTIFFXResolution ;
extern const CFStringRef kCGImagePropertyTIFFYResolution ;
extern const CFStringRef kCGImagePropertyTIFFResolutionUnit ;
extern const CFStringRef kCGImagePropertyTIFFSoftware ;
extern const CFStringRef kCGImagePropertyTIFFTransferFunction ;
extern const CFStringRef kCGImagePropertyTIFFDateTime ;
extern const CFStringRef kCGImagePropertyTIFFArtist ;
extern const CFStringRef kCGImagePropertyTIFFHostComputer ;
extern const CFStringRef kCGImagePropertyTIFFCopyright ;
extern const CFStringRef kCGImagePropertyTIFFWhitePoint ;
extern const CFStringRef kCGImagePropertyTIFFPrimaryChromaticities ;
extern const CFStringRef kCGImagePropertyJFIFVersion ;
extern const CFStringRef kCGImagePropertyJFIFXDensity ;
extern const CFStringRef kCGImagePropertyJFIFYDensity ;
extern const CFStringRef kCGImagePropertyJFIFDensityUnit ;
extern const CFStringRef kCGImagePropertyJFIFIsProgressive ;
extern const CFStringRef kCGImagePropertyExifExposureTime ;
extern const CFStringRef kCGImagePropertyExifFNumber ;
extern const CFStringRef kCGImagePropertyExifExposureProgram ;
extern const CFStringRef kCGImagePropertyExifSpectralSensitivity ;
extern const CFStringRef kCGImagePropertyExifISOSpeedRatings ;
extern const CFStringRef kCGImagePropertyExifOECF ;
extern const CFStringRef kCGImagePropertyExifVersion ;
extern const CFStringRef kCGImagePropertyExifDateTimeOriginal ;
extern const CFStringRef kCGImagePropertyExifDateTimeDigitized ;
extern const CFStringRef kCGImagePropertyExifComponentsConfiguration ;
extern const CFStringRef kCGImagePropertyExifCompressedBitsPerPixel ;
extern const CFStringRef kCGImagePropertyExifShutterSpeedValue ;
extern const CFStringRef kCGImagePropertyExifApertureValue ;
extern const CFStringRef kCGImagePropertyExifBrightnessValue ;
extern const CFStringRef kCGImagePropertyExifExposureBiasValue ;
extern const CFStringRef kCGImagePropertyExifMaxApertureValue ;
extern const CFStringRef kCGImagePropertyExifSubjectDistance ;
extern const CFStringRef kCGImagePropertyExifMeteringMode ;
extern const CFStringRef kCGImagePropertyExifLightSource ;
extern const CFStringRef kCGImagePropertyExifFlash ;
extern const CFStringRef kCGImagePropertyExifFocalLength ;
extern const CFStringRef kCGImagePropertyExifSubjectArea ;
extern const CFStringRef kCGImagePropertyExifMakerNote ;
extern const CFStringRef kCGImagePropertyExifUserComment ;
extern const CFStringRef kCGImagePropertyExifSubsecTime ;
extern const CFStringRef kCGImagePropertyExifSubsecTimeOrginal ;
extern const CFStringRef kCGImagePropertyExifSubsecTimeDigitized ;
extern const CFStringRef kCGImagePropertyExifFlashPixVersion ;
extern const CFStringRef kCGImagePropertyExifColorSpace ;
extern const CFStringRef kCGImagePropertyExifPixelXDimension ;
extern const CFStringRef kCGImagePropertyExifPixelYDimension ;
extern const CFStringRef kCGImagePropertyExifRelatedSoundFile ;
extern const CFStringRef kCGImagePropertyExifFlashEnergy ;
extern const CFStringRef kCGImagePropertyExifSpatialFrequencyResponse ;
extern const CFStringRef kCGImagePropertyExifFocalPlaneXResolution ;
extern const CFStringRef kCGImagePropertyExifFocalPlaneYResolution ;
extern const CFStringRef kCGImagePropertyExifFocalPlaneResolutionUnit ;
extern const CFStringRef kCGImagePropertyExifSubjectLocation ;
extern const CFStringRef kCGImagePropertyExifExposureIndex ;
extern const CFStringRef kCGImagePropertyExifSensingMethod ;
extern const CFStringRef kCGImagePropertyExifFileSource ;
extern const CFStringRef kCGImagePropertyExifSceneType ;
extern const CFStringRef kCGImagePropertyExifCFAPattern ;
extern const CFStringRef kCGImagePropertyExifCustomRendered ;
extern const CFStringRef kCGImagePropertyExifExposureMode ;
extern const CFStringRef kCGImagePropertyExifWhiteBalance ;
extern const CFStringRef kCGImagePropertyExifDigitalZoomRatio ;
extern const CFStringRef kCGImagePropertyExifFocalLenIn35mmFilm ;
extern const CFStringRef kCGImagePropertyExifSceneCaptureType ;
extern const CFStringRef kCGImagePropertyExifGainControl ;
extern const CFStringRef kCGImagePropertyExifContrast ;
extern const CFStringRef kCGImagePropertyExifSaturation ;
extern const CFStringRef kCGImagePropertyExifSharpness ;
extern const CFStringRef kCGImagePropertyExifDeviceSettingDescription ;
extern const CFStringRef kCGImagePropertyExifSubjectDistRange ;
extern const CFStringRef kCGImagePropertyExifImageUniqueID ;
extern const CFStringRef kCGImagePropertyExifGamma ;
extern const CFStringRef kCGImagePropertyExifAuxLensInfo ;
extern const CFStringRef kCGImagePropertyExifAuxLensModel ;
extern const CFStringRef kCGImagePropertyExifAuxSerialNumber ;
extern const CFStringRef kCGImagePropertyExifAuxLensID ;
extern const CFStringRef kCGImagePropertyExifAuxLensSerialNumber ;
extern const CFStringRef kCGImagePropertyExifAuxImageNumber ;
extern const CFStringRef kCGImagePropertyExifAuxFlashCompensation ;
extern const CFStringRef kCGImagePropertyExifAuxOwnerName ;
extern const CFStringRef kCGImagePropertyExifAuxFirmware ;
extern const CFStringRef kCGImagePropertyGIFLoopCount ;
extern const CFStringRef kCGImagePropertyGIFDelayTime ;
extern const CFStringRef kCGImagePropertyGIFImageColorMap ;
extern const CFStringRef kCGImagePropertyGIFHasGlobalColorMap ;
extern const CFStringRef kCGImagePropertyPNGGamma ;
extern const CFStringRef kCGImagePropertyPNGInterlaceType ;
extern const CFStringRef kCGImagePropertyPNGXPixelsPerMeter ;
extern const CFStringRef kCGImagePropertyPNGYPixelsPerMeter ;
extern const CFStringRef kCGImagePropertyPNGsRGBIntent ;
extern const CFStringRef kCGImagePropertyPNGChromaticities ;
extern const CFStringRef kCGImagePropertyGPSVersion ;
extern const CFStringRef kCGImagePropertyGPSLatitudeRef ;
extern const CFStringRef kCGImagePropertyGPSLatitude ;
extern const CFStringRef kCGImagePropertyGPSLongitudeRef ;
extern const CFStringRef kCGImagePropertyGPSLongitude ;
extern const CFStringRef kCGImagePropertyGPSAltitudeRef ;
extern const CFStringRef kCGImagePropertyGPSAltitude ;
extern const CFStringRef kCGImagePropertyGPSTimeStamp ;
extern const CFStringRef kCGImagePropertyGPSSatellites ;
extern const CFStringRef kCGImagePropertyGPSStatus ;
extern const CFStringRef kCGImagePropertyGPSMeasureMode ;
extern const CFStringRef kCGImagePropertyGPSDOP ;
extern const CFStringRef kCGImagePropertyGPSSpeedRef ;
extern const CFStringRef kCGImagePropertyGPSSpeed ;
extern const CFStringRef kCGImagePropertyGPSTrackRef ;
extern const CFStringRef kCGImagePropertyGPSTrack ;
extern const CFStringRef kCGImagePropertyGPSImgDirectionRef ;
extern const CFStringRef kCGImagePropertyGPSImgDirection ;
extern const CFStringRef kCGImagePropertyGPSMapDatum ;
extern const CFStringRef kCGImagePropertyGPSDestLatitudeRef ;
extern const CFStringRef kCGImagePropertyGPSDestLatitude ;
extern const CFStringRef kCGImagePropertyGPSDestLongitudeRef ;
extern const CFStringRef kCGImagePropertyGPSDestLongitude ;
extern const CFStringRef kCGImagePropertyGPSDestBearingRef ;
extern const CFStringRef kCGImagePropertyGPSDestBearing ;
extern const CFStringRef kCGImagePropertyGPSDestDistanceRef ;
extern const CFStringRef kCGImagePropertyGPSDestDistance ;
extern const CFStringRef kCGImagePropertyGPSProcessingMethod ;
extern const CFStringRef kCGImagePropertyGPSAreaInformation ;
extern const CFStringRef kCGImagePropertyGPSDateStamp ;
extern const CFStringRef kCGImagePropertyGPSDifferental ;
extern const CFStringRef kCGImagePropertyIPTCObjectTypeReference ;
extern const CFStringRef kCGImagePropertyIPTCObjectAttributeReference ;
extern const CFStringRef kCGImagePropertyIPTCObjectName ;
extern const CFStringRef kCGImagePropertyIPTCEditStatus ;
extern const CFStringRef kCGImagePropertyIPTCEditorialUpdate ;
extern const CFStringRef kCGImagePropertyIPTCUrgency ;
extern const CFStringRef kCGImagePropertyIPTCSubjectReference ;
extern const CFStringRef kCGImagePropertyIPTCCategory ;
extern const CFStringRef kCGImagePropertyIPTCSupplementalCategory ;
extern const CFStringRef kCGImagePropertyIPTCFixtureIdentifier ;
extern const CFStringRef kCGImagePropertyIPTCKeywords ;
extern const CFStringRef kCGImagePropertyIPTCContentLocationCode ;
extern const CFStringRef kCGImagePropertyIPTCContentLocationName ;
extern const CFStringRef kCGImagePropertyIPTCReleaseDate ;
extern const CFStringRef kCGImagePropertyIPTCReleaseTime ;
extern const CFStringRef kCGImagePropertyIPTCExpirationDate ;
extern const CFStringRef kCGImagePropertyIPTCExpirationTime ;
extern const CFStringRef kCGImagePropertyIPTCSpecialInstructions ;
extern const CFStringRef kCGImagePropertyIPTCActionAdvised ;
extern const CFStringRef kCGImagePropertyIPTCReferenceService ;
extern const CFStringRef kCGImagePropertyIPTCReferenceDate ;
extern const CFStringRef kCGImagePropertyIPTCReferenceNumber ;
extern const CFStringRef kCGImagePropertyIPTCDateCreated ;
extern const CFStringRef kCGImagePropertyIPTCTimeCreated ;
extern const CFStringRef kCGImagePropertyIPTCDigitalCreationDate ;
extern const CFStringRef kCGImagePropertyIPTCDigitalCreationTime ;
extern const CFStringRef kCGImagePropertyIPTCOriginatingProgram ;
extern const CFStringRef kCGImagePropertyIPTCProgramVersion ;
extern const CFStringRef kCGImagePropertyIPTCObjectCycle ;
extern const CFStringRef kCGImagePropertyIPTCByline ;
extern const CFStringRef kCGImagePropertyIPTCBylineTitle ;
extern const CFStringRef kCGImagePropertyIPTCCity ;
extern const CFStringRef kCGImagePropertyIPTCSubLocation ;
extern const CFStringRef kCGImagePropertyIPTCProvinceState ;
extern const CFStringRef kCGImagePropertyIPTCCountryPrimaryLocationCode ;
extern const CFStringRef kCGImagePropertyIPTCCountryPrimaryLocationName ;
extern const CFStringRef kCGImagePropertyIPTCOriginalTransmissionReference ;
extern const CFStringRef kCGImagePropertyIPTCHeadline ;
extern const CFStringRef kCGImagePropertyIPTCCredit ;
extern const CFStringRef kCGImagePropertyIPTCSource ;
extern const CFStringRef kCGImagePropertyIPTCCopyrightNotice ;
extern const CFStringRef kCGImagePropertyIPTCContact ;
extern const CFStringRef kCGImagePropertyIPTCCaptionAbstract ;
extern const CFStringRef kCGImagePropertyIPTCWriterEditor ;
extern const CFStringRef kCGImagePropertyIPTCImageType ;
extern const CFStringRef kCGImagePropertyIPTCImageOrientation ;
extern const CFStringRef kCGImagePropertyIPTCLanguageIdentifier ;
extern const CFStringRef kCGImagePropertyIPTCStarRating ;
extern const CFStringRef kCGImageProperty8BIMLayerNames;
extern const CFStringRef kCGImagePropertyDNGVersion;
extern const CFStringRef kCGImagePropertyDNGBackwardVersion;
extern const CFStringRef kCGImagePropertyDNGUniqueCameraModel;
extern const CFStringRef kCGImagePropertyDNGLocalizedCameraModel;
extern const CFStringRef kCGImagePropertyDNGCameraSerialNumber;
extern const CFStringRef kCGImagePropertyDNGLensInfo;
extern const CFStringRef kCGImagePropertyCIFFDescription;
extern const CFStringRef kCGImagePropertyCIFFFirmware;
extern const CFStringRef kCGImagePropertyCIFFOwnerName;
extern const CFStringRef kCGImagePropertyCIFFImageName;
extern const CFStringRef kCGImagePropertyCIFFImageFileName;
extern const CFStringRef kCGImagePropertyCIFFReleaseMethod;
extern const CFStringRef kCGImagePropertyCIFFReleaseTiming;
extern const CFStringRef kCGImagePropertyCIFFRecordID;
extern const CFStringRef kCGImagePropertyCIFFSelfTimingTime;
extern const CFStringRef kCGImagePropertyCIFFCameraSerialNumber;
extern const CFStringRef kCGImagePropertyCIFFImageSerialNumber;
extern const CFStringRef kCGImagePropertyCIFFContinuousDrive;
extern const CFStringRef kCGImagePropertyCIFFFocusMode;
extern const CFStringRef kCGImagePropertyCIFFMeteringMode;
extern const CFStringRef kCGImagePropertyCIFFShootingMode;
extern const CFStringRef kCGImagePropertyCIFFLensModel;
extern const CFStringRef kCGImagePropertyCIFFLensMaxMM;
extern const CFStringRef kCGImagePropertyCIFFLensMinMM;
extern const CFStringRef kCGImagePropertyCIFFWhiteBalanceIndex;
extern const CFStringRef kCGImagePropertyCIFFFlashExposureComp;
extern const CFStringRef kCGImagePropertyCIFFMeasuredEV;
extern const CFStringRef kCGImagePropertyMakerNikonISOSetting;
extern const CFStringRef kCGImagePropertyMakerNikonColorMode;
extern const CFStringRef kCGImagePropertyMakerNikonQuality;
extern const CFStringRef kCGImagePropertyMakerNikonWhiteBalanceMode;
extern const CFStringRef kCGImagePropertyMakerNikonSharpenMode;
extern const CFStringRef kCGImagePropertyMakerNikonFocusMode;
extern const CFStringRef kCGImagePropertyMakerNikonFlashSetting;
extern const CFStringRef kCGImagePropertyMakerNikonISOSelection;
extern const CFStringRef kCGImagePropertyMakerNikonFlashExposureComp;
extern const CFStringRef kCGImagePropertyMakerNikonImageAdjustment;
extern const CFStringRef kCGImagePropertyMakerNikonLensAdapter;
extern const CFStringRef kCGImagePropertyMakerNikonLensType;
extern const CFStringRef kCGImagePropertyMakerNikonLensInfo;
extern const CFStringRef kCGImagePropertyMakerNikonFocusDistance;
extern const CFStringRef kCGImagePropertyMakerNikonDigitalZoom;
extern const CFStringRef kCGImagePropertyMakerNikonShootingMode;
extern const CFStringRef kCGImagePropertyMakerNikonCameraSerialNumber;
extern const CFStringRef kCGImagePropertyMakerNikonShutterCount;
extern const CFStringRef kCGImagePropertyMakerCanonOwnerName;
extern const CFStringRef kCGImagePropertyMakerCanonCameraSerialNumber;
extern const CFStringRef kCGImagePropertyMakerCanonImageSerialNumber;
extern const CFStringRef kCGImagePropertyMakerCanonFlashExposureComp;
extern const CFStringRef kCGImagePropertyMakerCanonContinuousDrive;
extern const CFStringRef kCGImagePropertyMakerCanonLensModel;
extern const CFStringRef kCGImagePropertyMakerCanonFirmware ;
extern const CFStringRef kCGImagePropertyMakerCanonAspectRatioInfo ;
# 19 "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/ImageIO.h" 2 3
# 56 "/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h" 2 3
# 25 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 3
#define __HITOOLBOX__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
#define __HIOBJECT__
# 28 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
#define __CARBONEVENTSCORE__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
#define __HIGEOMETRY__
# 35 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
#pragma pack(push, 2)
# 53 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
typedef CGPoint HIPoint;
# 62 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
typedef CGSize HISize;
# 74 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
typedef CGRect HIRect;
# 108 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
typedef UInt32 HICoordinateSpace;
enum {
# 118 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
kHICoordSpace72DPIGlobal = 1,
kHICoordSpaceScreenPixel = 2,
kHICoordSpaceWindow = 3,
# 142 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
kHICoordSpaceView = 4
};
# 192 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
extern void
HIPointConvert(
HIPoint * ioPoint,
HICoordinateSpace inSourceSpace,
void * inSourceObject,
HICoordinateSpace inDestinationSpace,
void * inDestinationObject) ;
# 248 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
extern void
HIRectConvert(
HIRect * ioRect,
HICoordinateSpace inSourceSpace,
void * inSourceObject,
HICoordinateSpace inDestinationSpace,
void * inDestinationObject) ;
# 304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIGeometry.h" 3
extern void
HISizeConvert(
HISize * ioSize,
HICoordinateSpace inSourceSpace,
void * inSourceObject,
HICoordinateSpace inDestinationSpace,
void * inDestinationObject) ;
#pragma pack(pop)
# 25 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 2 3
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
#pragma pack(push, 2)
typedef struct OpaqueEventRef* EventRef;
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
enum {
eventAlreadyPostedErr = -9860,
eventTargetBusyErr = -9861,
eventClassInvalidErr = -9862,
eventClassIncorrectErr = -9864,
# 92 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
eventDeferAccessibilityEventErr = -9865,
eventHandlerAlreadyInstalledErr = -9866,
eventInternalErr = -9868,
eventKindIncorrectErr = -9869,
eventParameterNotFoundErr = -9870,
# 125 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
eventNotHandledErr = -9874,
eventLoopTimedOutErr = -9875,
eventLoopQuitErr = -9876,
eventNotInQueueErr = -9877,
# 154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
eventHotKeyExistsErr = -9878,
eventHotKeyInvalidErr = -9879,
# 170 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
eventPassToNextTargetErr = -9880
};
enum {
kEventParamDirectObject = '----',
kEventParamDragRef = 'drag'
};
# 222 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
enum {
typeDragRef = 'drag',
typeCTFontRef = 'ctfr',
typeCTGlyphInfoRef = 'ctgi'
};
# 244 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef SInt16 EventPriority;
enum {
kEventPriorityLow = 0,
kEventPriorityStandard = 1,
kEventPriorityHigh = 2
};
enum {
kEventLeaveInQueue = 0,
kEventRemoveFromQueue = 1
};
typedef double EventTime;
typedef EventTime EventTimeout;
typedef EventTime EventTimerInterval;
#define kEventDurationSecond ((EventTime)1.0)
#define kEventDurationMillisecond ((EventTime)(kEventDurationSecond/1000))
#define kEventDurationMicrosecond ((EventTime)(kEventDurationSecond/1000000))
#define kEventDurationNanosecond ((EventTime)(kEventDurationSecond/1000000000))
#define kEventDurationMinute ((EventTime)(kEventDurationSecond*60))
#define kEventDurationHour ((EventTime)(kEventDurationMinute*60))
#define kEventDurationDay ((EventTime)(kEventDurationHour*24))
#define kEventDurationNoWait ((EventTime)0.0)
#define kEventDurationForever ((EventTime)(-1.0))
#define TicksToEventTime(t) ((EventTime)( (t) / 60.0 ))
#define EventTimeToTicks(t) ((UInt32)( ((t) * 60) + 0.5 ))
# 313 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
struct EventTypeSpec {
OSType eventClass;
UInt32 eventKind;
};
typedef struct EventTypeSpec EventTypeSpec;
#define GetEventTypeCount(t) (sizeof( (t) ) / sizeof( EventTypeSpec ))
typedef OSType EventParamName;
typedef OSType EventParamType;
# 343 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef struct OpaqueEventLoopRef* EventLoopRef;
# 363 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventLoopRef
GetCurrentEventLoop(void) ;
# 384 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventLoopRef
GetMainEventLoop(void) ;
# 413 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RunCurrentEventLoop(EventTimeout inTimeout) ;
# 449 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
QuitEventLoop(EventLoopRef inEventLoop) ;
# 482 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern CFTypeRef
GetCFRunLoopFromEventLoop(EventLoopRef inEventLoop) ;
# 533 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
ReceiveNextEvent(
ItemCount inNumTypes,
const EventTypeSpec * inList,
EventTimeout inTimeout,
Boolean inPullEvent,
EventRef * outEvent) ;
# 552 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef UInt32 EventAttributes;
enum {
kEventAttributeNone = 0,
kEventAttributeUserEvent = 1 << 0,
# 574 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
kEventAttributeMonitored = 1 << 3
};
# 615 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
#define MacCreateEvent CreateEvent
extern OSStatus
CreateEvent(
CFAllocatorRef inAllocator,
OSType inClassID,
UInt32 inKind,
EventTime inWhen,
EventAttributes inAttributes,
EventRef * outEvent) ;
# 651 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
CopyEvent(EventRef inOther) ;
# 695 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
CopyEventAs(
CFAllocatorRef inAllocator,
EventRef inOther,
OSType inEventClass,
UInt32 inEventKind) ;
# 729 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
RetainEvent(EventRef inEvent) ;
# 760 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern ItemCount
GetEventRetainCount(EventRef inEvent) ;
# 789 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
ReleaseEvent(EventRef inEvent) ;
# 834 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
SetEventParameter(
EventRef inEvent,
EventParamName inName,
EventParamType inType,
ByteCount inSize,
const void * inDataPtr) ;
# 894 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
GetEventParameter(
EventRef inEvent,
EventParamName inName,
EventParamType inDesiredType,
EventParamType * outActualType,
ByteCount inBufferSize,
ByteCount * outActualSize,
void * outData) ;
# 931 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveEventParameter(
EventRef inEvent,
EventParamName inName) ;
# 964 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSType
GetEventClass(EventRef inEvent) ;
# 993 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern UInt32
GetEventKind(EventRef inEvent) ;
# 1021 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventTime
GetEventTime(EventRef inEvent) ;
# 1056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
SetEventTime(
EventRef inEvent,
EventTime inTime) ;
# 1106 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
CreateEventWithCGEvent(
CFAllocatorRef inAllocator,
CGEventRef inEvent,
EventAttributes inAttributes,
EventRef * outEvent) ;
# 1149 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern CGEventRef
CopyEventCGEvent(EventRef inEvent) ;
typedef struct OpaqueEventQueueRef* EventQueueRef;
# 1177 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventQueueRef
GetCurrentEventQueue(void) ;
# 1204 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventQueueRef
GetMainEventQueue(void) ;
# 1227 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef Boolean ( * EventComparatorProcPtr)(EventRef inEvent, void *inCompareData);
typedef EventComparatorProcPtr EventComparatorUPP;
# 1237 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventComparatorUPP
NewEventComparatorUPP(EventComparatorProcPtr userRoutine) ;
# 1248 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
DisposeEventComparatorUPP(EventComparatorUPP userUPP) ;
# 1259 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern Boolean
InvokeEventComparatorUPP(
EventRef inEvent,
void * inCompareData,
EventComparatorUPP userUPP) ;
#define NewEventComparatorUPP(userRoutine) ((EventComparatorUPP)userRoutine)
#define DisposeEventComparatorUPP(userUPP)
#define InvokeEventComparatorUPP(inEvent,inCompareData,userUPP) (*userUPP)(inEvent, inCompareData)
# 1334 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
PostEventToQueue(
EventQueueRef inQueue,
EventRef inEvent,
EventPriority inPriority) ;
# 1376 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
FlushEventsMatchingListFromQueue(
EventQueueRef inQueue,
ItemCount inNumTypes,
const EventTypeSpec * inList) ;
# 1417 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
FlushSpecificEventsFromQueue(
EventQueueRef inQueue,
EventComparatorUPP inComparator,
void * inCompareData) ;
# 1452 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
FlushEventQueue(EventQueueRef inQueue) ;
# 1488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
FindSpecificEventInQueue(
EventQueueRef inQueue,
EventComparatorUPP inComparator,
void * inCompareData) ;
# 1517 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern ItemCount
GetNumEventsInQueue(EventQueueRef inQueue) ;
# 1550 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveEventFromQueue(
EventQueueRef inQueue,
EventRef inEvent) ;
# 1581 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern Boolean
IsEventInQueue(
EventQueueRef inQueue,
EventRef inEvent) ;
enum {
kEventQueueOptionsNone = 0
};
# 1644 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
AcquireFirstMatchingEventInQueue(
EventQueueRef inQueue,
ItemCount inNumTypes,
const EventTypeSpec * inList,
OptionBits inOptions) ;
# 1685 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventRef
GetCurrentEvent(void) ;
# 1767 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern UInt32
GetCurrentEventButtonState(void) ;
# 1848 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern UInt32
GetCurrentEventKeyModifiers(void) ;
# 1891 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern HIPoint *
HIGetMousePosition(
HICoordinateSpace inSpace,
void * inObject,
HIPoint * outPoint) ;
# 1962 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern UInt32
GetCurrentButtonState(void) ;
# 2004 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern UInt32
GetCurrentKeyModifiers(void) ;
# 2030 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventTime
GetCurrentEventTime(void) ;
# 2069 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef struct __EventLoopTimer* EventLoopTimerRef;
# 2085 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef void ( * EventLoopTimerProcPtr)(EventLoopTimerRef inTimer, void *inUserData);
enum {
kEventLoopIdleTimerStarted = 1,
# 2108 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
kEventLoopIdleTimerIdling = 2,
kEventLoopIdleTimerStopped = 3
};
typedef UInt16 EventLoopIdleTimerMessage;
# 2136 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef void ( * EventLoopIdleTimerProcPtr)(EventLoopTimerRef inTimer, EventLoopIdleTimerMessage inState, void *inUserData);
typedef EventLoopTimerProcPtr EventLoopTimerUPP;
typedef EventLoopIdleTimerProcPtr EventLoopIdleTimerUPP;
# 2147 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventLoopTimerUPP
NewEventLoopTimerUPP(EventLoopTimerProcPtr userRoutine) ;
# 2158 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventLoopIdleTimerUPP
NewEventLoopIdleTimerUPP(EventLoopIdleTimerProcPtr userRoutine) ;
# 2169 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
DisposeEventLoopTimerUPP(EventLoopTimerUPP userUPP) ;
# 2180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
DisposeEventLoopIdleTimerUPP(EventLoopIdleTimerUPP userUPP) ;
# 2191 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
InvokeEventLoopTimerUPP(
EventLoopTimerRef inTimer,
void * inUserData,
EventLoopTimerUPP userUPP) ;
# 2205 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
InvokeEventLoopIdleTimerUPP(
EventLoopTimerRef inTimer,
EventLoopIdleTimerMessage inState,
void * inUserData,
EventLoopIdleTimerUPP userUPP) ;
# 2221 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
#define NewEventLoopTimerUPP(userRoutine) ((EventLoopTimerUPP)userRoutine)
#define NewEventLoopIdleTimerUPP(userRoutine) ((EventLoopIdleTimerUPP)userRoutine)
#define DisposeEventLoopTimerUPP(userUPP)
#define DisposeEventLoopIdleTimerUPP(userUPP)
#define InvokeEventLoopTimerUPP(inTimer,inUserData,userUPP) (*userUPP)(inTimer, inUserData)
#define InvokeEventLoopIdleTimerUPP(inTimer,inState,inUserData,userUPP) (*userUPP)(inTimer, inState, inUserData)
# 2280 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
InstallEventLoopTimer(
EventLoopRef inEventLoop,
EventTimerInterval inFireDelay,
EventTimerInterval inInterval,
EventLoopTimerUPP inTimerProc,
void * inTimerData,
EventLoopTimerRef * outTimer) ;
# 2384 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveEventLoopTimer(EventLoopTimerRef inTimer) ;
# 2422 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
SetEventLoopTimerNextFireTime(
EventLoopTimerRef inTimer,
EventTimerInterval inNextFire) ;
# 2434 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef struct OpaqueEventHandlerRef* EventHandlerRef;
typedef struct OpaqueEventHandlerCallRef* EventHandlerCallRef;
# 2475 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
typedef OSStatus ( * EventHandlerProcPtr)(EventHandlerCallRef inHandlerCallRef, EventRef inEvent, void *inUserData);
typedef EventHandlerProcPtr EventHandlerUPP;
# 2485 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern EventHandlerUPP
NewEventHandlerUPP(EventHandlerProcPtr userRoutine) ;
# 2496 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern void
DisposeEventHandlerUPP(EventHandlerUPP userUPP) ;
# 2507 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
InvokeEventHandlerUPP(
EventHandlerCallRef inHandlerCallRef,
EventRef inEvent,
void * inUserData,
EventHandlerUPP userUPP) ;
#define NewEventHandlerUPP(userRoutine) ((EventHandlerUPP)userRoutine)
#define DisposeEventHandlerUPP(userUPP)
#define InvokeEventHandlerUPP(inHandlerCallRef,inEvent,inUserData,userUPP) (*userUPP)(inHandlerCallRef, inEvent, inUserData)
typedef struct OpaqueEventTargetRef* EventTargetRef;
# 2593 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
InstallEventHandler(
EventTargetRef inTarget,
EventHandlerUPP inHandler,
ItemCount inNumTypes,
const EventTypeSpec * inList,
void * inUserData,
EventHandlerRef * outRef) ;
# 2632 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveEventHandler(EventHandlerRef inHandlerRef) ;
# 2760 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
AddEventTypesToHandler(
EventHandlerRef inHandlerRef,
ItemCount inNumTypes,
const EventTypeSpec * inList) ;
# 2796 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
RemoveEventTypesFromHandler(
EventHandlerRef inHandlerRef,
ItemCount inNumTypes,
const EventTypeSpec * inList) ;
# 2843 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
CallNextEventHandler(
EventHandlerCallRef inCallRef,
EventRef inEvent) ;
# 2858 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
enum {
# 2867 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
kEventTargetDontPropagate = (1 << 0),
# 2879 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
kEventTargetSendToAllHandlers = (1 << 1)
};
# 2915 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
SendEventToEventTarget(
EventRef inEvent,
EventTargetRef inTarget) ;
# 2961 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
SendEventToEventTargetWithOptions(
EventRef inEvent,
EventTargetRef inTarget,
OptionBits inOptions) ;
# 3005 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
EnableSecureEventInput(void) ;
# 3041 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern OSStatus
DisableSecureEventInput(void) ;
# 3065 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h" 3
extern Boolean
IsSecureEventInputEnabled(void) ;
#pragma pack(pop)
# 29 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 2 3
# 140 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
typedef struct OpaqueHIObjectClassRef* HIObjectClassRef;
typedef struct OpaqueHIObjectRef* HIObjectRef;
# 150 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
hiObjectClassExistsErr = -22080,
hiObjectClassHasInstancesErr = -22081,
hiObjectClassHasSubclassesErr = -22082,
hiObjectClassIsAbstractErr = -22083,
hiObjectCannotSubclassSingletonErr = -22084,
hiObjectDelegateAlreadyExistsErr = -22090,
hiObjectDelegateNotFoundErr = -22091
};
enum {
# 204 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kHIClassOptionSingleton = 1 << 0
};
enum {
kEventClassHIObject = 'hiob'
};
enum {
kEventParamHIObjectInstance = 'hioi',
# 240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kEventParamHIArchive = 'hiac',
# 249 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kEventParamBeforeDelegates = 'bdel',
# 258 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kEventParamAfterDelegates = 'adel',
# 267 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kEventParamDecodingForEditor = 'defe',
kEventParamInitParameters = 'para',
typeHIObjectRef = 'hiob'
};
# 302 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectInitParamUserName ;
# 318 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectInitParamDescription ;
# 335 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectInitParamEventName ;
# 352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectInitParamEventType ;
# 409 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectConstruct = 1
};
# 463 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectInitialize = 2
};
# 493 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectDestruct = 3
};
# 527 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectIsEqual = 4
};
# 549 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectPrintDebugInfo = 5
};
# 581 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectEncode = 6
};
# 634 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectCreatedFromArchive = 7
};
# 677 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventHIObjectGetInitParameters = 8
};
enum {
kEventClassDelegate = 'dele',
kEventParamDelegateTarget = 'delt',
kEventParamDelegateTargetClasses = 'trgc',
kEventParamDelegateGroupClasses = 'grpc',
# 720 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kEventParamDelegateGroupParameters = 'grpp'
};
# 763 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventDelegateInstalled = 1
};
# 795 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventDelegateRemoved = 2
};
# 830 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventDelegateGetTargetClasses = 3
};
# 861 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventDelegateIsGroup = 4
};
# 889 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
enum {
kEventDelegateGetGroupClasses = 5
};
# 964 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectRegisterSubclass(
CFStringRef inClassID,
CFStringRef inBaseClassID,
OptionBits inOptions,
EventHandlerUPP inConstructProc,
ItemCount inNumEvents,
const EventTypeSpec * inEventList,
void * inConstructData,
HIObjectClassRef * outClassRef) ;
# 998 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectUnregisterClass(HIObjectClassRef inClassRef) ;
# 1039 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectCreate(
CFStringRef inClassID,
EventRef inConstructData,
HIObjectRef * outObject) ;
# 1068 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern EventTargetRef
HIObjectGetEventTarget(HIObjectRef inObject) ;
# 1092 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern void
HIObjectPrintDebugInfo(HIObjectRef inObject) ;
# 1122 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern CFStringRef
HIObjectCopyClassID(HIObjectRef inObject) ;
# 1154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern Boolean
HIObjectIsOfClass(
HIObjectRef inObject,
CFStringRef inObjectClassID) ;
# 1194 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern void *
HIObjectDynamicCast(
HIObjectRef inObject,
CFStringRef inClassID) ;
# 1232 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectCreateFromBundle(
CFBundleRef inBundle,
HIObjectRef * outObject) ;
# 1261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern HIObjectRef
HIObjectFromEventTarget(EventTargetRef inTarget) ;
# 1294 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern Boolean
HIObjectIsArchivingIgnored(HIObjectRef inObject) ;
# 1361 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataParameterNamesKey ;
# 1373 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataParameterTypesKey ;
# 1385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataParameterValuesKey ;
# 1401 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataClassIDKey ;
# 1413 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataSuperClassIDKey ;
# 1431 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataCDEFProcIDKey ;
# 1450 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIObjectCustomDataDelegateGroupParametersKey ;
# 1564 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
typedef UInt32 HIDelegatePosition;
enum {
kHIDelegateAll = 0,
kHIDelegateBefore = 1,
# 1592 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
kHIDelegateAfter = 2
};
# 1610 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIDelegateBeforeKey ;
# 1626 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern const CFStringRef kHIDelegateAfterKey ;
# 1664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectAddDelegate(
HIObjectRef inObject,
HIObjectRef inDelegate,
HIDelegatePosition inPosition) ;
# 1707 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectRemoveDelegate(
HIObjectRef inObject,
HIObjectRef inDelegate,
HIDelegatePosition inPosition) ;
# 1751 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern OSStatus
HIObjectCopyDelegates(
HIObjectRef inObject,
CFDictionaryRef * outDelegates) ;
# 1802 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
extern HIObjectRef
HIObjectGetEventHandlerObject(EventHandlerCallRef inRef) ;
# 1813 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIObject.h" 3
typedef struct OpaqueControlRef* ControlRef;
typedef ControlRef ControlHandle;
typedef ControlRef HIViewRef;
# 26 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
#define __HIARCHIVE__
# 132 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
typedef struct OpaqueHIArchiveRef* HIArchiveRef;
enum {
hiArchiveTypeMismatchErr = -6780,
hiArchiveKeyNotAvailableErr = -6781,
hiArchiveEncodingCompleteErr = -6782,
hiArchiveHIObjectIgnoresArchivingErr = -6783
};
enum {
# 187 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
kHIArchiveDecodeSuperclassForUnregisteredObjects = (1 << 0),
# 196 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIArchive.h" 3
kHIArchiveDecodingForEditor = (1 << 1)
};
# 30 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
#define __HITOOLBAR__
# 28 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define __MENUS__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
#define __APPEARANCE__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
#pragma pack(push, 2)
enum {
kAppearanceEventClass = 'appr',
kAEAppearanceChanged = 'thme',
kAESystemFontChanged = 'sysf',
kAESmallSystemFontChanged = 'ssfn',
kAEViewsFontChanged = 'vfnt'
};
enum {
kThemeDataFileType = 'thme',
kThemePlatinumFileType = 'pltn',
kThemeCustomThemesFileType = 'scen',
kThemeSoundTrackFileType = 'tsnd'
};
#define kThemeAppearancePlatinum CFSTR( "com.apple.theme.appearance.platinum" )
#define kThemeAppearanceAqua CFSTR( "com.apple.theme.appearance.aqua" )
#define kThemeAppearanceAquaBlue CFSTR( "com.apple.theme.appearance.aqua.blue" )
#define kThemeAppearanceAquaGraphite CFSTR( "com.apple.theme.appearance.aqua.graphite" )
# 86 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
typedef SInt16 AppearancePartCode;
enum {
kAppearancePartMetaNone = 0,
kAppearancePartMetaDisabled = 254,
kAppearancePartMetaInactive = 255,
kAppearancePartIndicator = 129,
kAppearancePartUpButton = 20,
kAppearancePartDownButton = 21,
kAppearancePartLeftButton = kAppearancePartUpButton,
kAppearancePartRightButton = kAppearancePartDownButton,
kAppearancePartPageUpArea = 22,
kAppearancePartPageDownArea = 23,
kAppearancePartPageLeftArea = kAppearancePartPageUpArea,
kAppearancePartPageRightArea = kAppearancePartPageDownArea
};
# 173 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
typedef UInt16 AppearanceRegionCode;
enum {
kAppearanceRegionTitleBar = 0,
kAppearanceRegionTitleText = 1,
kAppearanceRegionCloseBox = 2,
kAppearanceRegionZoomBox = 3,
kAppearanceRegionDrag = 5,
kAppearanceRegionGrow = 6,
kAppearanceRegionCollapseBox = 7,
kAppearanceRegionTitleProxyIcon = 8,
kAppearanceRegionStructure = 32,
kAppearanceRegionContent = 33,
kAppearanceRegionToolbarButton = 41
};
enum {
kThemeBrushDialogBackgroundActive = 1,
kThemeBrushDialogBackgroundInactive = 2,
kThemeBrushAlertBackgroundActive = 3,
kThemeBrushAlertBackgroundInactive = 4,
kThemeBrushModelessDialogBackgroundActive = 5,
kThemeBrushModelessDialogBackgroundInactive = 6,
kThemeBrushUtilityWindowBackgroundActive = 7,
kThemeBrushUtilityWindowBackgroundInactive = 8,
kThemeBrushListViewSortColumnBackground = 9,
kThemeBrushListViewBackground = 10,
kThemeBrushIconLabelBackground = 11,
kThemeBrushListViewSeparator = 12,
kThemeBrushChasingArrows = 13,
kThemeBrushDragHilite = 14,
kThemeBrushDocumentWindowBackground = 15,
kThemeBrushFinderWindowBackground = 16
};
enum {
kThemeBrushScrollBarDelimiterActive = 17,
kThemeBrushScrollBarDelimiterInactive = 18,
kThemeBrushFocusHighlight = 19,
kThemeBrushPopupArrowActive = 20,
kThemeBrushPopupArrowPressed = 21,
kThemeBrushPopupArrowInactive = 22,
kThemeBrushAppleGuideCoachmark = 23,
kThemeBrushIconLabelBackgroundSelected = 24,
kThemeBrushStaticAreaFill = 25,
kThemeBrushActiveAreaFill = 26,
kThemeBrushButtonFrameActive = 27,
kThemeBrushButtonFrameInactive = 28,
kThemeBrushButtonFaceActive = 29,
kThemeBrushButtonFaceInactive = 30,
kThemeBrushButtonFacePressed = 31,
kThemeBrushButtonActiveDarkShadow = 32,
kThemeBrushButtonActiveDarkHighlight = 33,
kThemeBrushButtonActiveLightShadow = 34,
kThemeBrushButtonActiveLightHighlight = 35,
kThemeBrushButtonInactiveDarkShadow = 36,
kThemeBrushButtonInactiveDarkHighlight = 37,
kThemeBrushButtonInactiveLightShadow = 38,
kThemeBrushButtonInactiveLightHighlight = 39,
kThemeBrushButtonPressedDarkShadow = 40,
kThemeBrushButtonPressedDarkHighlight = 41,
kThemeBrushButtonPressedLightShadow = 42,
kThemeBrushButtonPressedLightHighlight = 43,
kThemeBrushBevelActiveLight = 44,
kThemeBrushBevelActiveDark = 45,
kThemeBrushBevelInactiveLight = 46,
kThemeBrushBevelInactiveDark = 47
};
enum {
kThemeBrushNotificationWindowBackground = 48
};
enum {
kThemeBrushMovableModalBackground = 49,
kThemeBrushSheetBackgroundOpaque = 50,
kThemeBrushDrawerBackground = 51
};
enum {
kThemeBrushToolbarBackground = 52
};
enum {
kThemeBrushSheetBackgroundTransparent = 53,
kThemeBrushMenuBackground = 54,
kThemeBrushMenuBackgroundSelected = 55
};
enum {
kThemeBrushListViewOddRowBackground = 56,
kThemeBrushListViewEvenRowBackground = 57,
kThemeBrushListViewColumnDivider = 58
};
enum {
kThemeBrushSheetBackground = kThemeBrushSheetBackgroundOpaque
};
enum {
kThemeBrushBlack = -1,
kThemeBrushWhite = -2,
kThemeBrushPrimaryHighlightColor = -3,
kThemeBrushSecondaryHighlightColor = -4,
kThemeBrushAlternatePrimaryHighlightColor = -5
};
typedef SInt16 ThemeBrush;
enum {
kThemeTextColorDialogActive = 1,
kThemeTextColorDialogInactive = 2,
kThemeTextColorAlertActive = 3,
kThemeTextColorAlertInactive = 4,
kThemeTextColorModelessDialogActive = 5,
kThemeTextColorModelessDialogInactive = 6,
kThemeTextColorWindowHeaderActive = 7,
kThemeTextColorWindowHeaderInactive = 8,
kThemeTextColorPlacardActive = 9,
kThemeTextColorPlacardInactive = 10,
kThemeTextColorPlacardPressed = 11,
kThemeTextColorPushButtonActive = 12,
kThemeTextColorPushButtonInactive = 13,
kThemeTextColorPushButtonPressed = 14,
kThemeTextColorBevelButtonActive = 15,
kThemeTextColorBevelButtonInactive = 16,
kThemeTextColorBevelButtonPressed = 17,
kThemeTextColorPopupButtonActive = 18,
kThemeTextColorPopupButtonInactive = 19,
kThemeTextColorPopupButtonPressed = 20,
kThemeTextColorIconLabel = 21,
kThemeTextColorListView = 22
};
enum {
kThemeTextColorDocumentWindowTitleActive = 23,
kThemeTextColorDocumentWindowTitleInactive = 24,
kThemeTextColorMovableModalWindowTitleActive = 25,
kThemeTextColorMovableModalWindowTitleInactive = 26,
kThemeTextColorUtilityWindowTitleActive = 27,
kThemeTextColorUtilityWindowTitleInactive = 28,
kThemeTextColorPopupWindowTitleActive = 29,
kThemeTextColorPopupWindowTitleInactive = 30,
kThemeTextColorRootMenuActive = 31,
kThemeTextColorRootMenuSelected = 32,
kThemeTextColorRootMenuDisabled = 33,
kThemeTextColorMenuItemActive = 34,
kThemeTextColorMenuItemSelected = 35,
kThemeTextColorMenuItemDisabled = 36,
kThemeTextColorPopupLabelActive = 37,
kThemeTextColorPopupLabelInactive = 38
};
enum {
kThemeTextColorTabFrontActive = 39,
kThemeTextColorTabNonFrontActive = 40,
kThemeTextColorTabNonFrontPressed = 41,
kThemeTextColorTabFrontInactive = 42,
kThemeTextColorTabNonFrontInactive = 43,
kThemeTextColorIconLabelSelected = 44,
kThemeTextColorBevelButtonStickyActive = 45,
kThemeTextColorBevelButtonStickyInactive = 46
};
enum {
kThemeTextColorNotification = 47
};
enum {
kThemeTextColorSystemDetail = 48
};
enum {
kThemeTextColorBlack = -1,
kThemeTextColorWhite = -2
};
typedef SInt16 ThemeTextColor;
enum {
kThemeStateInactive = 0,
kThemeStateActive = 1,
kThemeStatePressed = 2,
kThemeStateRollover = 6,
kThemeStateUnavailable = 7,
kThemeStateUnavailableInactive = 8
};
enum {
kThemeStateDisabled = 0
};
enum {
kThemeStatePressedUp = 2,
kThemeStatePressedDown = 3
};
typedef UInt32 ThemeDrawState;
enum {
kThemeArrowCursor = 0,
kThemeCopyArrowCursor = 1,
kThemeAliasArrowCursor = 2,
kThemeContextualMenuArrowCursor = 3,
kThemeIBeamCursor = 4,
kThemeCrossCursor = 5,
kThemePlusCursor = 6,
kThemeWatchCursor = 7,
kThemeClosedHandCursor = 8,
kThemeOpenHandCursor = 9,
kThemePointingHandCursor = 10,
kThemeCountingUpHandCursor = 11,
kThemeCountingDownHandCursor = 12,
kThemeCountingUpAndDownHandCursor = 13,
kThemeSpinningCursor = 14,
kThemeResizeLeftCursor = 15,
kThemeResizeRightCursor = 16,
kThemeResizeLeftRightCursor = 17,
kThemeNotAllowedCursor = 18,
kThemeResizeUpCursor = 19,
kThemeResizeDownCursor = 20,
kThemeResizeUpDownCursor = 21,
# 586 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePoofCursor = 22
};
typedef UInt32 ThemeCursor;
enum {
kThemeMenuBarNormal = 0,
kThemeMenuBarSelected = 1
};
typedef UInt16 ThemeMenuBarState;
enum {
kThemeMenuSquareMenuBar = (1 << 0)
};
enum {
kThemeMenuActive = 0,
kThemeMenuSelected = 1,
kThemeMenuDisabled = 3
};
typedef UInt16 ThemeMenuState;
enum {
kThemeMenuTypePullDown = 0,
kThemeMenuTypePopUp = 1,
kThemeMenuTypeHierarchical = 2,
kThemeMenuTypeInactive = 0x0100
};
typedef UInt16 ThemeMenuType;
enum {
kThemeMenuItemPlain = 0,
kThemeMenuItemHierarchical = 1,
kThemeMenuItemScrollUpArrow = 2,
kThemeMenuItemScrollDownArrow = 3,
kThemeMenuItemAtTop = 0x0100,
kThemeMenuItemAtBottom = 0x0200,
kThemeMenuItemHierBackground = 0x0400,
kThemeMenuItemPopUpBackground = 0x0800,
kThemeMenuItemHasIcon = 0x8000,
kThemeMenuItemNoBackground = 0x4000
};
typedef UInt16 ThemeMenuItemType;
enum {
kThemeBackgroundTabPane = 1,
kThemeBackgroundPlacard = 2,
kThemeBackgroundWindowHeader = 3,
kThemeBackgroundListViewWindowHeader = 4,
kThemeBackgroundSecondaryGroupBox = 5,
kThemeBackgroundMetal = 6
};
typedef UInt32 ThemeBackgroundKind;
# 694 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeNameTag = 'name',
kThemeVariantNameTag = 'varn',
kThemeVariantBaseTintTag = 'tint',
kThemeHighlightColorTag = 'hcol',
kThemeScrollBarArrowStyleTag = 'sbar',
kThemeScrollBarThumbStyleTag = 'sbth',
kThemeSoundsEnabledTag = 'snds',
kThemeDblClickCollapseTag = 'coll'
};
enum {
kThemeAppearanceFileNameTag = 'thme',
kThemeSystemFontTag = 'lgsf',
kThemeSmallSystemFontTag = 'smsf',
kThemeViewsFontTag = 'vfnt',
kThemeViewsFontSizeTag = 'vfsz',
kThemeDesktopPatternNameTag = 'patn',
kThemeDesktopPatternTag = 'patt',
kThemeDesktopPictureNameTag = 'dpnm',
kThemeDesktopPictureAliasTag = 'dpal',
kThemeDesktopPictureAlignmentTag = 'dpan',
kThemeHighlightColorNameTag = 'hcnm',
kThemeExamplePictureIDTag = 'epic',
kThemeSoundTrackNameTag = 'sndt',
kThemeSoundMaskTag = 'smsk',
kThemeUserDefinedTag = 'user',
kThemeSmoothFontEnabledTag = 'smoo',
kThemeSmoothFontMinSizeTag = 'smos'
};
enum {
kTiledOnScreen = 1,
kCenterOnScreen = 2,
kFitToScreen = 3,
kFillScreen = 4,
kUseBestGuess = 5
};
enum {
kThemeCheckBoxClassicX = 0,
kThemeCheckBoxCheckMark = 1
};
typedef UInt16 ThemeCheckBoxStyle;
enum {
kThemeScrollBarArrowsSingle = 0,
kThemeScrollBarArrowsLowerRight = 1
};
typedef UInt16 ThemeScrollBarArrowStyle;
enum {
kThemeScrollBarThumbNormal = 0,
kThemeScrollBarThumbProportional = 1
};
typedef UInt16 ThemeScrollBarThumbStyle;
# 771 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
# 780 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemeSystemFont = 0,
kThemeSmallSystemFont = 1,
kThemeSmallEmphasizedSystemFont = 2,
kThemeViewsFont = 3,
kThemeEmphasizedSystemFont = 4,
kThemeApplicationFont = 5,
kThemeLabelFont = 6,
kThemeSystemFontDetail = 7,
kThemeSystemFontDetailEmphasized = 8,
kThemeMenuTitleFont = 100,
kThemeMenuItemFont = 101,
kThemeMenuItemMarkFont = 102,
kThemeMenuItemCmdKeyFont = 103,
kThemeWindowTitleFont = 104,
kThemePushButtonFont = 105,
kThemeUtilityWindowTitleFont = 106,
kThemeAlertHeaderFont = 107,
kThemeToolbarFont = 108,
kThemeMiniSystemFont = 109,
# 910 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemeCurrentPortFont = 200,
# 921 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemeSpecifiedFont = 201
};
enum {
kPublicThemeFontCount = 21
};
typedef UInt16 ThemeFontID;
enum {
kThemeTabNonFront = 0,
kThemeTabNonFrontPressed = 1,
kThemeTabNonFrontInactive = 2,
kThemeTabFront = 3,
kThemeTabFrontInactive = 4,
kThemeTabNonFrontUnavailable = 5,
kThemeTabFrontUnavailable = 6
};
typedef UInt16 ThemeTabStyle;
enum {
kThemeTabNorth = 0,
kThemeTabSouth = 1,
kThemeTabEast = 2,
kThemeTabWest = 3
};
typedef UInt16 ThemeTabDirection;
# 962 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeSmallTabHeight = 16,
kThemeLargeTabHeight = 21,
kThemeTabPaneOverlap = 3,
kThemeSmallTabHeightMax = 19,
kThemeLargeTabHeightMax = 24
};
enum {
kThemeScrollBarMedium = 0,
kThemeScrollBarSmall = 1,
kThemeSliderMedium = 2,
kThemeProgressBarMedium = 3,
kThemeIndeterminateBarMedium = 4,
kThemeRelevanceBar = 5,
kThemeSliderSmall = 6,
kThemeProgressBarLarge = 7,
kThemeIndeterminateBarLarge = 8
};
enum {
kThemeScrollBarMini = 9,
kThemeSliderMini = 10,
kThemeProgressBarMini = 11,
kThemeIndeterminateBarMini = 12
};
enum {
kThemeMediumScrollBar = kThemeScrollBarMedium,
kThemeSmallScrollBar = kThemeScrollBarSmall,
kThemeMediumSlider = kThemeSliderMedium,
kThemeMediumProgressBar = kThemeProgressBarMedium,
kThemeMediumIndeterminateBar = kThemeIndeterminateBarMedium,
kThemeSmallSlider = kThemeSliderSmall,
kThemeLargeProgressBar = kThemeProgressBarLarge,
kThemeLargeIndeterminateBar = kThemeIndeterminateBarLarge,
kThemeMiniScrollBar = kThemeScrollBarMini,
kThemeMiniSlider = kThemeSliderMini,
kThemeMiniProgressBar = kThemeProgressBarMini,
kThemeMiniIndeterminateBar = kThemeIndeterminateBarMini
};
typedef UInt16 ThemeTrackKind;
enum {
kThemeTrackActive = 0,
kThemeTrackDisabled = 1,
kThemeTrackNothingToScroll = 2,
kThemeTrackInactive = 3
};
typedef UInt8 ThemeTrackEnableState;
enum {
kThemeLeftOutsideArrowPressed = 0x01,
kThemeLeftInsideArrowPressed = 0x02,
kThemeLeftTrackPressed = 0x04,
kThemeThumbPressed = 0x08,
kThemeRightTrackPressed = 0x10,
kThemeRightInsideArrowPressed = 0x20,
kThemeRightOutsideArrowPressed = 0x40,
kThemeTopOutsideArrowPressed = kThemeLeftOutsideArrowPressed,
kThemeTopInsideArrowPressed = kThemeLeftInsideArrowPressed,
kThemeTopTrackPressed = kThemeLeftTrackPressed,
kThemeBottomTrackPressed = kThemeRightTrackPressed,
kThemeBottomInsideArrowPressed = kThemeRightInsideArrowPressed,
kThemeBottomOutsideArrowPressed = kThemeRightOutsideArrowPressed
};
typedef UInt8 ThemeTrackPressState;
enum {
kThemeThumbPlain = 0,
kThemeThumbUpward = 1,
kThemeThumbDownward = 2
};
typedef UInt8 ThemeThumbDirection;
# 1159 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeTrackHorizontal = (1 << 0),
kThemeTrackRightToLeft = (1 << 1),
kThemeTrackShowThumb = (1 << 2),
kThemeTrackThumbRgnIsNotGhost = (1 << 3),
kThemeTrackNoScrollBarArrows = (1 << 4),
kThemeTrackHasFocus = (1 << 5),
kThemeTrackHideTrack = (1 << 6)
};
typedef UInt16 ThemeTrackAttributes;
# 1213 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
struct ScrollBarTrackInfo {
SInt32 viewsize;
ThemeTrackPressState pressState;
};
typedef struct ScrollBarTrackInfo ScrollBarTrackInfo;
# 1237 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
struct SliderTrackInfo {
ThemeThumbDirection thumbDir;
ThemeTrackPressState pressState;
};
typedef struct SliderTrackInfo SliderTrackInfo;
# 1261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
struct ProgressTrackInfo {
UInt8 phase;
};
typedef struct ProgressTrackInfo ProgressTrackInfo;
# 1280 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
struct ThemeTrackDrawInfo {
ThemeTrackKind kind;
Rect bounds;
SInt32 min;
SInt32 max;
SInt32 value;
UInt32 reserved;
ThemeTrackAttributes attributes;
ThemeTrackEnableState enableState;
UInt8 filler1;
union {
ScrollBarTrackInfo scrollbar;
SliderTrackInfo slider;
ProgressTrackInfo progress;
} trackInfo;
};
typedef struct ThemeTrackDrawInfo ThemeTrackDrawInfo;
# 1346 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeWindowHasGrow = (1 << 0),
kThemeWindowHasHorizontalZoom = (1 << 3),
kThemeWindowHasVerticalZoom = (1 << 4),
kThemeWindowHasFullZoom = kThemeWindowHasHorizontalZoom + kThemeWindowHasVerticalZoom,
kThemeWindowHasCloseBox = (1 << 5),
kThemeWindowHasCollapseBox = (1 << 6),
kThemeWindowHasTitleText = (1 << 7),
kThemeWindowIsCollapsed = (1 << 8),
kThemeWindowHasDirty = (1 << 9),
kThemeWindowHasToolbarButton = (1 << 11)
};
typedef UInt32 ThemeWindowAttributes;
# 1418 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeDocumentWindow = 0,
kThemeDialogWindow = 1,
kThemeMovableDialogWindow = 2,
kThemeAlertWindow = 3,
kThemeMovableAlertWindow = 4,
kThemePlainDialogWindow = 5,
kThemeShadowDialogWindow = 6,
kThemePopupWindow = 7,
kThemeUtilityWindow = 8,
kThemeUtilitySideWindow = 9,
kThemeSheetWindow = 10,
kThemeDrawerWindow = 11
};
typedef UInt16 ThemeWindowType;
# 1442 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeWidgetCloseBox = 0,
kThemeWidgetZoomBox = 1,
kThemeWidgetCollapseBox = 2,
kThemeWidgetDirtyCloseBox = 6
};
enum {
kThemeWidgetABox = 3,
kThemeWidgetBBox = 4,
kThemeWidgetBOffBox = 5
};
typedef UInt16 ThemeTitleBarWidget;
# 1465 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeArrowLeft = 0,
kThemeArrowDown = 1,
kThemeArrowRight = 2,
kThemeArrowUp = 3
};
typedef UInt16 ThemeArrowOrientation;
# 1481 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeArrow3pt = 0,
kThemeArrow5pt = 1,
kThemeArrow7pt = 2,
kThemeArrow9pt = 3
};
typedef UInt16 ThemePopupArrowSize;
# 1497 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeGrowLeft = (1 << 0),
kThemeGrowRight = (1 << 1),
kThemeGrowUp = (1 << 2),
kThemeGrowDown = (1 << 3)
};
typedef UInt16 ThemeGrowDirection;
enum {
# 1520 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePushButton = 0,
kThemeCheckBox = 1,
kThemeRadioButton = 2,
kThemeBevelButton = 3,
kThemeArrowButton = 4,
# 1545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePopupButton = 5,
kThemeDisclosureTriangle = 6,
kThemeIncDecButton = 7,
kThemeBevelButtonSmall = 8,
kThemeBevelButtonMedium = 3,
kThemeBevelButtonLarge = 9,
kThemeListHeaderButton = 10,
kThemeRoundButton = 11,
kThemeRoundButtonLarge = 12,
kThemeCheckBoxSmall = 13,
kThemeRadioButtonSmall = 14,
kThemeRoundedBevelButton = 15,
kThemeComboBox = 16,
kThemeComboBoxSmall = 17
};
enum {
kThemeComboBoxMini = 18,
kThemeCheckBoxMini = 19,
kThemeRadioButtonMini = 20,
kThemeIncDecButtonSmall = 21,
kThemeIncDecButtonMini = 22,
kThemeArrowButtonSmall = 23,
kThemeArrowButtonMini = 24,
# 1681 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePushButtonNormal = 25,
# 1690 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePushButtonSmall = 26,
# 1702 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePushButtonMini = 27,
# 1711 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePopupButtonNormal = 28,
# 1720 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePopupButtonSmall = 29,
# 1732 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemePopupButtonMini = 30
};
enum {
kThemeBevelButtonInset = 31,
kThemePushButtonInset = 32,
kThemePushButtonInsetSmall = 33,
kThemeRoundButtonHelp = 34
};
# 1774 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeNormalCheckBox = kThemeCheckBox,
kThemeNormalRadioButton = kThemeRadioButton,
kThemeLargeBevelButton = kThemeBevelButtonLarge,
kThemeMediumBevelButton = kThemeBevelButtonMedium,
kThemeMiniCheckBox = kThemeCheckBoxMini,
kThemeMiniRadioButton = kThemeRadioButtonMini,
kThemeSmallBevelButton = kThemeBevelButtonSmall,
kThemeSmallCheckBox = kThemeCheckBoxSmall,
kThemeSmallRadioButton = kThemeRadioButtonSmall,
kThemeLargeRoundButton = kThemeRoundButtonLarge,
kThemeDisclosureButton = kThemeDisclosureTriangle
};
typedef UInt16 ThemeButtonKind;
# 1797 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeButtonOff = 0,
kThemeButtonOn = 1,
kThemeButtonMixed = 2,
kThemeDisclosureRight = 0,
kThemeDisclosureDown = 1,
kThemeDisclosureLeft = 2
};
typedef UInt16 ThemeButtonValue;
# 1818 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeAdornmentNone = 0,
kThemeAdornmentDefault = (1 << 0),
kThemeAdornmentFocus = (1 << 2),
kThemeAdornmentRightToLeft = (1 << 4),
kThemeAdornmentDrawIndicatorOnly = (1 << 5),
kThemeAdornmentHeaderButtonLeftNeighborSelected = (1 << 6),
kThemeAdornmentHeaderButtonRightNeighborSelected = (1 << 7),
kThemeAdornmentHeaderButtonSortUp = (1 << 8),
kThemeAdornmentHeaderMenuButton = (1 << 9),
kThemeAdornmentHeaderButtonNoShadow = (1 << 10),
kThemeAdornmentHeaderButtonShadowOnly = (1 << 11),
kThemeAdornmentHeaderButtonNoSortArrow = (1 << 12),
kThemeAdornmentArrowLeftArrow = (1 << 6),
kThemeAdornmentArrowDownArrow = (1 << 7),
kThemeAdornmentArrowDoubleArrow = (1 << 8),
kThemeAdornmentArrowUpArrow = (1 << 9),
kThemeAdornmentArrowRightArrow = (1 << 10)
};
enum {
kThemeAdornmentNoShadow = kThemeAdornmentHeaderButtonNoShadow,
kThemeAdornmentShadowOnly = kThemeAdornmentHeaderButtonShadowOnly
};
typedef UInt16 ThemeButtonAdornment;
# 1938 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
struct ThemeButtonDrawInfo {
ThemeDrawState state;
ThemeButtonValue value;
ThemeButtonAdornment adornment;
};
typedef struct ThemeButtonDrawInfo ThemeButtonDrawInfo;
typedef ThemeButtonDrawInfo * ThemeButtonDrawInfoPtr;
# 1969 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeNoSounds = 0,
kThemeWindowSoundsMask = (1 << 0),
kThemeMenuSoundsMask = (1 << 1),
kThemeControlSoundsMask = (1 << 2),
kThemeFinderSoundsMask = (1 << 3)
};
# 1990 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeDragSoundNone = 0,
kThemeDragSoundMoveWindow = 'wmov',
kThemeDragSoundGrowWindow = 'wgro',
kThemeDragSoundMoveUtilWindow = 'umov',
kThemeDragSoundGrowUtilWindow = 'ugro',
kThemeDragSoundMoveDialog = 'dmov',
kThemeDragSoundMoveAlert = 'amov',
kThemeDragSoundMoveIcon = 'imov',
kThemeDragSoundSliderThumb = 'slth',
kThemeDragSoundSliderGhost = 'slgh',
kThemeDragSoundScrollBarThumb = 'sbth',
kThemeDragSoundScrollBarGhost = 'sbgh',
kThemeDragSoundScrollBarArrowDecreasing = 'sbad',
kThemeDragSoundScrollBarArrowIncreasing = 'sbai',
kThemeDragSoundDragging = 'drag'
};
typedef OSType ThemeDragSoundKind;
# 2017 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeSoundNone = 0,
kThemeSoundMenuOpen = 'mnuo',
kThemeSoundMenuClose = 'mnuc',
kThemeSoundMenuItemHilite = 'mnui',
kThemeSoundMenuItemRelease = 'mnus',
kThemeSoundWindowClosePress = 'wclp',
kThemeSoundWindowCloseEnter = 'wcle',
kThemeSoundWindowCloseExit = 'wclx',
kThemeSoundWindowCloseRelease = 'wclr',
kThemeSoundWindowZoomPress = 'wzmp',
kThemeSoundWindowZoomEnter = 'wzme',
kThemeSoundWindowZoomExit = 'wzmx',
kThemeSoundWindowZoomRelease = 'wzmr',
kThemeSoundWindowCollapsePress = 'wcop',
kThemeSoundWindowCollapseEnter = 'wcoe',
kThemeSoundWindowCollapseExit = 'wcox',
kThemeSoundWindowCollapseRelease = 'wcor',
kThemeSoundWindowDragBoundary = 'wdbd',
kThemeSoundUtilWinClosePress = 'uclp',
kThemeSoundUtilWinCloseEnter = 'ucle',
kThemeSoundUtilWinCloseExit = 'uclx',
kThemeSoundUtilWinCloseRelease = 'uclr',
kThemeSoundUtilWinZoomPress = 'uzmp',
kThemeSoundUtilWinZoomEnter = 'uzme',
kThemeSoundUtilWinZoomExit = 'uzmx',
kThemeSoundUtilWinZoomRelease = 'uzmr',
kThemeSoundUtilWinCollapsePress = 'ucop',
kThemeSoundUtilWinCollapseEnter = 'ucoe',
kThemeSoundUtilWinCollapseExit = 'ucox',
kThemeSoundUtilWinCollapseRelease = 'ucor',
kThemeSoundUtilWinDragBoundary = 'udbd',
kThemeSoundWindowOpen = 'wopn',
kThemeSoundWindowClose = 'wcls',
kThemeSoundWindowZoomIn = 'wzmi',
kThemeSoundWindowZoomOut = 'wzmo',
kThemeSoundWindowCollapseUp = 'wcol',
kThemeSoundWindowCollapseDown = 'wexp',
kThemeSoundWindowActivate = 'wact',
kThemeSoundUtilWindowOpen = 'uopn',
kThemeSoundUtilWindowClose = 'ucls',
kThemeSoundUtilWindowZoomIn = 'uzmi',
kThemeSoundUtilWindowZoomOut = 'uzmo',
kThemeSoundUtilWindowCollapseUp = 'ucol',
kThemeSoundUtilWindowCollapseDown = 'uexp',
kThemeSoundUtilWindowActivate = 'uact',
kThemeSoundDialogOpen = 'dopn',
kThemeSoundDialogClose = 'dlgc',
kThemeSoundAlertOpen = 'aopn',
kThemeSoundAlertClose = 'altc',
kThemeSoundPopupWindowOpen = 'pwop',
kThemeSoundPopupWindowClose = 'pwcl',
kThemeSoundButtonPress = 'btnp',
kThemeSoundButtonEnter = 'btne',
kThemeSoundButtonExit = 'btnx',
kThemeSoundButtonRelease = 'btnr',
kThemeSoundDefaultButtonPress = 'dbtp',
kThemeSoundDefaultButtonEnter = 'dbte',
kThemeSoundDefaultButtonExit = 'dbtx',
kThemeSoundDefaultButtonRelease = 'dbtr',
kThemeSoundCancelButtonPress = 'cbtp',
kThemeSoundCancelButtonEnter = 'cbte',
kThemeSoundCancelButtonExit = 'cbtx',
kThemeSoundCancelButtonRelease = 'cbtr',
kThemeSoundCheckboxPress = 'chkp',
kThemeSoundCheckboxEnter = 'chke',
kThemeSoundCheckboxExit = 'chkx',
kThemeSoundCheckboxRelease = 'chkr',
kThemeSoundRadioPress = 'radp',
kThemeSoundRadioEnter = 'rade',
kThemeSoundRadioExit = 'radx',
kThemeSoundRadioRelease = 'radr',
kThemeSoundScrollArrowPress = 'sbap',
kThemeSoundScrollArrowEnter = 'sbae',
kThemeSoundScrollArrowExit = 'sbax',
kThemeSoundScrollArrowRelease = 'sbar',
kThemeSoundScrollEndOfTrack = 'sbte',
kThemeSoundScrollTrackPress = 'sbtp',
kThemeSoundSliderEndOfTrack = 'slte',
kThemeSoundSliderTrackPress = 'sltp',
kThemeSoundBalloonOpen = 'blno',
kThemeSoundBalloonClose = 'blnc',
kThemeSoundBevelPress = 'bevp',
kThemeSoundBevelEnter = 'beve',
kThemeSoundBevelExit = 'bevx',
kThemeSoundBevelRelease = 'bevr',
kThemeSoundLittleArrowUpPress = 'laup',
kThemeSoundLittleArrowDnPress = 'ladp',
kThemeSoundLittleArrowEnter = 'lare',
kThemeSoundLittleArrowExit = 'larx',
kThemeSoundLittleArrowUpRelease = 'laur',
kThemeSoundLittleArrowDnRelease = 'ladr',
kThemeSoundPopupPress = 'popp',
kThemeSoundPopupEnter = 'pope',
kThemeSoundPopupExit = 'popx',
kThemeSoundPopupRelease = 'popr',
kThemeSoundDisclosurePress = 'dscp',
kThemeSoundDisclosureEnter = 'dsce',
kThemeSoundDisclosureExit = 'dscx',
kThemeSoundDisclosureRelease = 'dscr',
kThemeSoundTabPressed = 'tabp',
kThemeSoundTabEnter = 'tabe',
kThemeSoundTabExit = 'tabx',
kThemeSoundTabRelease = 'tabr',
kThemeSoundDragTargetHilite = 'dthi',
kThemeSoundDragTargetUnhilite = 'dtuh',
kThemeSoundDragTargetDrop = 'dtdr',
kThemeSoundEmptyTrash = 'ftrs',
kThemeSoundSelectItem = 'fsel',
kThemeSoundNewItem = 'fnew',
kThemeSoundReceiveDrop = 'fdrp',
kThemeSoundCopyDone = 'fcpd',
kThemeSoundResolveAlias = 'fral',
kThemeSoundLaunchApp = 'flap',
kThemeSoundDiskInsert = 'dski',
kThemeSoundDiskEject = 'dske',
kThemeSoundFinderDragOnIcon = 'fdon',
kThemeSoundFinderDragOffIcon = 'fdof'
};
typedef OSType ThemeSoundKind;
# 2161 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemePopupTabNormalPosition = 0,
kThemePopupTabCenterOnWindow = 1,
kThemePopupTabCenterOnOffset = 2
};
struct ThemeWindowMetrics {
UInt16 metricSize;
SInt16 titleHeight;
SInt16 titleWidth;
SInt16 popupTabOffset;
SInt16 popupTabWidth;
UInt16 popupTabPosition;
};
typedef struct ThemeWindowMetrics ThemeWindowMetrics;
typedef ThemeWindowMetrics * ThemeWindowMetricsPtr;
# 2186 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
enum {
kThemeMetricScrollBarWidth = 0,
kThemeMetricSmallScrollBarWidth = 1,
kThemeMetricCheckBoxHeight = 2,
kThemeMetricRadioButtonHeight = 3,
# 2215 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemeMetricEditTextWhitespace = 4,
kThemeMetricEditTextFrameOutset = 5,
kThemeMetricListBoxFrameOutset = 6,
kThemeMetricFocusRectOutset = 7,
kThemeMetricImageWellThickness = 8,
kThemeMetricScrollBarOverlap = 9,
kThemeMetricLargeTabHeight = 10,
kThemeMetricLargeTabCapsWidth = 11,
kThemeMetricTabFrameOverlap = 12,
# 2277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
kThemeMetricTabIndentOrStyle = 13,
kThemeMetricTabOverlap = 14,
kThemeMetricSmallTabHeight = 15,
kThemeMetricSmallTabCapsWidth = 16,
kThemeMetricPushButtonHeight = 19,
kThemeMetricListHeaderHeight = 20,
kThemeMetricDisclosureTriangleHeight = 25,
kThemeMetricDisclosureTriangleWidth = 26,
kThemeMetricLittleArrowsHeight = 27,
kThemeMetricLittleArrowsWidth = 28,
kThemeMetricPopupButtonHeight = 30,
kThemeMetricSmallPopupButtonHeight = 31,
kThemeMetricLargeProgressBarThickness = 32,
kThemeMetricPullDownHeight = 33,
kThemeMetricSmallPullDownHeight = 34,
kThemeMetricResizeControlHeight = 38,
kThemeMetricSmallResizeControlHeight = 39,
kThemeMetricHSliderHeight = 41,
kThemeMetricHSliderTickHeight = 42,
kThemeMetricVSliderWidth = 45,
kThemeMetricVSliderTickWidth = 46,
kThemeMetricTitleBarControlsHeight = 49,
kThemeMetricCheckBoxWidth = 50,
kThemeMetricRadioButtonWidth = 52,
kThemeMetricNormalProgressBarThickness = 58,
kThemeMetricProgressBarShadowOutset = 59,
kThemeMetricSmallProgressBarShadowOutset = 60,
kThemeMetricPrimaryGroupBoxContentInset = 61,
kThemeMetricSecondaryGroupBoxContentInset = 62,
kThemeMetricMenuMarkColumnWidth = 63,
kThemeMetricMenuExcludedMarkColumnWidth = 64,
kThemeMetricMenuMarkIndent = 65,
kThemeMetricMenuTextLeadingEdgeMargin = 66,
kThemeMetricMenuTextTrailingEdgeMargin = 67,
kThemeMetricMenuIndentWidth = 68,
kThemeMetricMenuIconTrailingEdgeMargin = 69
};
enum {
kThemeMetricDisclosureButtonHeight = 17,
kThemeMetricRoundButtonSize = 18,
kThemeMetricSmallCheckBoxHeight = 21,
kThemeMetricDisclosureButtonWidth = 22,
kThemeMetricSmallDisclosureButtonHeight = 23,
kThemeMetricSmallDisclosureButtonWidth = 24,
kThemeMetricPaneSplitterHeight = 29,
kThemeMetricSmallPushButtonHeight = 35,
kThemeMetricSmallRadioButtonHeight = 36,
kThemeMetricRelevanceIndicatorHeight = 37,
kThemeMetricLargeRoundButtonSize = 40,
kThemeMetricSmallHSliderHeight = 43,
kThemeMetricSmallHSliderTickHeight = 44,
kThemeMetricSmallVSliderWidth = 47,
kThemeMetricSmallVSliderTickWidth = 48,
kThemeMetricSmallCheckBoxWidth = 51,
kThemeMetricSmallRadioButtonWidth = 53,
kThemeMetricSmallHSliderMinThumbWidth = 54,
kThemeMetricSmallVSliderMinThumbHeight = 55,
kThemeMetricSmallHSliderTickOffset = 56,
kThemeMetricSmallVSliderTickOffset = 57
};
enum {
kThemeMetricComboBoxLargeBottomShadowOffset = 70,
kThemeMetricComboBoxLargeRightShadowOffset = 71,
kThemeMetricComboBoxSmallBottomShadowOffset = 72,
kThemeMetricComboBoxSmallRightShadowOffset = 73,
kThemeMetricComboBoxLargeDisclosureWidth = 74,
kThemeMetricComboBoxSmallDisclosureWidth = 75,
kThemeMetricRoundTextFieldContentInsetLeft = 76,
kThemeMetricRoundTextFieldContentInsetRight = 77,
kThemeMetricRoundTextFieldContentInsetBottom = 78,
kThemeMetricRoundTextFieldContentInsetTop = 79,
kThemeMetricRoundTextFieldContentHeight = 80,
kThemeMetricComboBoxMiniBottomShadowOffset = 81,
kThemeMetricComboBoxMiniDisclosureWidth = 82,
kThemeMetricComboBoxMiniRightShadowOffset = 83,
kThemeMetricLittleArrowsMiniHeight = 84,
kThemeMetricLittleArrowsMiniWidth = 85,
kThemeMetricLittleArrowsSmallHeight = 86,
kThemeMetricLittleArrowsSmallWidth = 87,
kThemeMetricMiniCheckBoxHeight = 88,
kThemeMetricMiniCheckBoxWidth = 89,
kThemeMetricMiniDisclosureButtonHeight = 90,
kThemeMetricMiniDisclosureButtonWidth = 91,
kThemeMetricMiniHSliderHeight = 92,
kThemeMetricMiniHSliderMinThumbWidth = 93,
kThemeMetricMiniHSliderTickHeight = 94,
kThemeMetricMiniHSliderTickOffset = 95,
kThemeMetricMiniPopupButtonHeight = 96,
kThemeMetricMiniPullDownHeight = 97,
kThemeMetricMiniPushButtonHeight = 98,
kThemeMetricMiniRadioButtonHeight = 99,
kThemeMetricMiniRadioButtonWidth = 100,
kThemeMetricMiniTabCapsWidth = 101,
kThemeMetricMiniTabFrameOverlap = 102,
kThemeMetricMiniTabHeight = 103,
kThemeMetricMiniTabOverlap = 104,
kThemeMetricMiniVSliderMinThumbHeight = 105,
kThemeMetricMiniVSliderTickOffset = 106,
kThemeMetricMiniVSliderTickWidth = 107,
kThemeMetricMiniVSliderWidth = 108,
kThemeMetricRoundTextFieldContentInsetWithIconLeft = 109,
kThemeMetricRoundTextFieldContentInsetWithIconRight = 110,
kThemeMetricRoundTextFieldMiniContentHeight = 111,
kThemeMetricRoundTextFieldMiniContentInsetBottom = 112,
kThemeMetricRoundTextFieldMiniContentInsetLeft = 113,
kThemeMetricRoundTextFieldMiniContentInsetRight = 114,
kThemeMetricRoundTextFieldMiniContentInsetTop = 115,
kThemeMetricRoundTextFieldMiniContentInsetWithIconLeft = 116,
kThemeMetricRoundTextFieldMiniContentInsetWithIconRight = 117,
kThemeMetricRoundTextFieldSmallContentHeight = 118,
kThemeMetricRoundTextFieldSmallContentInsetBottom = 119,
kThemeMetricRoundTextFieldSmallContentInsetLeft = 120,
kThemeMetricRoundTextFieldSmallContentInsetRight = 121,
kThemeMetricRoundTextFieldSmallContentInsetTop = 122,
kThemeMetricRoundTextFieldSmallContentInsetWithIconLeft = 123,
kThemeMetricRoundTextFieldSmallContentInsetWithIconRight = 124,
kThemeMetricSmallTabFrameOverlap = 125,
kThemeMetricSmallTabOverlap = 126,
kThemeMetricSmallPaneSplitterHeight = 127
};
enum {
kThemeMetricHSliderTickOffset = 128,
kThemeMetricVSliderTickOffset = 129,
kThemeMetricSliderMinThumbHeight = 130,
kThemeMetricSliderMinThumbWidth = 131,
kThemeMetricScrollBarMinThumbHeight = 132,
kThemeMetricScrollBarMinThumbWidth = 133,
kThemeMetricSmallScrollBarMinThumbHeight = 134,
kThemeMetricSmallScrollBarMinThumbWidth = 135,
kThemeMetricButtonRoundedHeight = 136,
kThemeMetricButtonRoundedRecessedHeight = 137
};
enum {
kThemeMetricSeparatorSize = 138,
kThemeMetricTexturedPushButtonHeight = 139,
kThemeMetricTexturedSmallPushButtonHeight = 140
};
typedef UInt32 ThemeMetric;
typedef struct OpaqueThemeDrawingState* ThemeDrawingState;
# 2758 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
typedef void ( * ThemeTabTitleDrawProcPtr)(const Rect *bounds, ThemeTabStyle style, ThemeTabDirection direction, SInt16 depth, Boolean isColorDev, URefCon userData);
# 2767 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
typedef void ( * ThemeEraseProcPtr)(const Rect *bounds, URefCon eraseData, SInt16 depth, Boolean isColorDev);
typedef void ( * ThemeButtonDrawProcPtr)(const Rect *bounds, ThemeButtonKind kind, const ThemeButtonDrawInfo *info, URefCon userData, SInt16 depth, Boolean isColorDev);
typedef void ( * WindowTitleDrawingProcPtr)(const Rect *bounds, SInt16 depth, Boolean colorDevice, URefCon userData);
typedef Boolean ( * ThemeIteratorProcPtr)(ConstStr255Param inFileName, SInt16 resID, Collection inThemeSettings, PRefCon inUserData);
typedef ThemeTabTitleDrawProcPtr ThemeTabTitleDrawUPP;
typedef ThemeEraseProcPtr ThemeEraseUPP;
typedef ThemeButtonDrawProcPtr ThemeButtonDrawUPP;
typedef WindowTitleDrawingProcPtr WindowTitleDrawingUPP;
typedef ThemeIteratorProcPtr ThemeIteratorUPP;
# 2805 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern ThemeTabTitleDrawUPP
NewThemeTabTitleDrawUPP(ThemeTabTitleDrawProcPtr userRoutine) __attribute__((deprecated));
# 2816 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern ThemeEraseUPP
NewThemeEraseUPP(ThemeEraseProcPtr userRoutine) __attribute__((deprecated));
# 2827 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern ThemeButtonDrawUPP
NewThemeButtonDrawUPP(ThemeButtonDrawProcPtr userRoutine) __attribute__((deprecated));
# 2838 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern WindowTitleDrawingUPP
NewWindowTitleDrawingUPP(WindowTitleDrawingProcPtr userRoutine) __attribute__((deprecated));
# 2849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern ThemeIteratorUPP
NewThemeIteratorUPP(ThemeIteratorProcPtr userRoutine) __attribute__((deprecated));
# 2860 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeThemeTabTitleDrawUPP(ThemeTabTitleDrawUPP userUPP) __attribute__((deprecated));
# 2871 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeThemeEraseUPP(ThemeEraseUPP userUPP) __attribute__((deprecated));
# 2882 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeThemeButtonDrawUPP(ThemeButtonDrawUPP userUPP) __attribute__((deprecated));
# 2893 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeWindowTitleDrawingUPP(WindowTitleDrawingUPP userUPP) __attribute__((deprecated));
# 2904 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeThemeIteratorUPP(ThemeIteratorUPP userUPP) __attribute__((deprecated));
# 2915 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeThemeTabTitleDrawUPP(
const Rect * bounds,
ThemeTabStyle style,
ThemeTabDirection direction,
SInt16 depth,
Boolean isColorDev,
URefCon userData,
ThemeTabTitleDrawUPP userUPP) __attribute__((deprecated));
# 2933 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeThemeEraseUPP(
const Rect * bounds,
URefCon eraseData,
SInt16 depth,
Boolean isColorDev,
ThemeEraseUPP userUPP) __attribute__((deprecated));
# 2949 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeThemeButtonDrawUPP(
const Rect * bounds,
ThemeButtonKind kind,
const ThemeButtonDrawInfo * info,
URefCon userData,
SInt16 depth,
Boolean isColorDev,
ThemeButtonDrawUPP userUPP) __attribute__((deprecated));
# 2967 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeWindowTitleDrawingUPP(
const Rect * bounds,
SInt16 depth,
Boolean colorDevice,
URefCon userData,
WindowTitleDrawingUPP userUPP) __attribute__((deprecated));
# 2983 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern Boolean
InvokeThemeIteratorUPP(
ConstStr255Param inFileName,
SInt16 resID,
Collection inThemeSettings,
PRefCon inUserData,
ThemeIteratorUPP userUPP) __attribute__((deprecated));
# 3009 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
#define NewThemeTabTitleDrawUPP(userRoutine) ((ThemeTabTitleDrawUPP)userRoutine)
#define NewThemeEraseUPP(userRoutine) ((ThemeEraseUPP)userRoutine)
#define NewThemeButtonDrawUPP(userRoutine) ((ThemeButtonDrawUPP)userRoutine)
#define NewWindowTitleDrawingUPP(userRoutine) ((WindowTitleDrawingUPP)userRoutine)
#define NewThemeIteratorUPP(userRoutine) ((ThemeIteratorUPP)userRoutine)
#define DisposeThemeTabTitleDrawUPP(userUPP)
#define DisposeThemeEraseUPP(userUPP)
#define DisposeThemeButtonDrawUPP(userUPP)
#define DisposeWindowTitleDrawingUPP(userUPP)
#define DisposeThemeIteratorUPP(userUPP)
#define InvokeThemeTabTitleDrawUPP(bounds,style,direction,depth,isColorDev,userData,userUPP) (*userUPP)(bounds, style, direction, depth, isColorDev, userData)
#define InvokeThemeEraseUPP(bounds,eraseData,depth,isColorDev,userUPP) (*userUPP)(bounds, eraseData, depth, isColorDev)
#define InvokeThemeButtonDrawUPP(bounds,kind,info,userData,depth,isColorDev,userUPP) (*userUPP)(bounds, kind, info, userData, depth, isColorDev)
#define InvokeWindowTitleDrawingUPP(bounds,depth,colorDevice,userData,userUPP) (*userUPP)(bounds, depth, colorDevice, userData)
#define InvokeThemeIteratorUPP(inFileName,resID,inThemeSettings,inUserData,userUPP) (*userUPP)(inFileName, resID, inThemeSettings, inUserData)
# 3037 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
typedef void ( * MenuTitleDrawingProcPtr)(const Rect *inBounds, SInt16 inDepth, Boolean inIsColorDevice, SRefCon inUserData);
typedef void ( * MenuItemDrawingProcPtr)(const Rect *inBounds, SInt16 inDepth, Boolean inIsColorDevice, SRefCon inUserData);
typedef MenuTitleDrawingProcPtr MenuTitleDrawingUPP;
typedef MenuItemDrawingProcPtr MenuItemDrawingUPP;
# 3056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern MenuTitleDrawingUPP
NewMenuTitleDrawingUPP(MenuTitleDrawingProcPtr userRoutine) __attribute__((deprecated));
# 3067 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern MenuItemDrawingUPP
NewMenuItemDrawingUPP(MenuItemDrawingProcPtr userRoutine) __attribute__((deprecated));
# 3078 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeMenuTitleDrawingUPP(MenuTitleDrawingUPP userUPP) __attribute__((deprecated));
# 3089 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
DisposeMenuItemDrawingUPP(MenuItemDrawingUPP userUPP) __attribute__((deprecated));
# 3100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeMenuTitleDrawingUPP(
const Rect * inBounds,
SInt16 inDepth,
Boolean inIsColorDevice,
SRefCon inUserData,
MenuTitleDrawingUPP userUPP) __attribute__((deprecated));
# 3116 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern void
InvokeMenuItemDrawingUPP(
const Rect * inBounds,
SInt16 inDepth,
Boolean inIsColorDevice,
SRefCon inUserData,
MenuItemDrawingUPP userUPP) __attribute__((deprecated));
# 3133 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
#define NewMenuTitleDrawingUPP(userRoutine) ((MenuTitleDrawingUPP)userRoutine)
#define NewMenuItemDrawingUPP(userRoutine) ((MenuItemDrawingUPP)userRoutine)
#define DisposeMenuTitleDrawingUPP(userUPP)
#define DisposeMenuItemDrawingUPP(userUPP)
#define InvokeMenuTitleDrawingUPP(inBounds,inDepth,inIsColorDevice,inUserData,userUPP) (*userUPP)(inBounds, inDepth, inIsColorDevice, inUserData)
#define InvokeMenuItemDrawingUPP(inBounds,inDepth,inIsColorDevice,inUserData,userUPP) (*userUPP)(inBounds, inDepth, inIsColorDevice, inUserData)
# 3839 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeMenuSeparatorHeight(SInt16 * outHeight) ;
# 3869 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeMenuItemExtra(
ThemeMenuItemType inItemType,
SInt16 * outHeight,
SInt16 * outWidth) ;
# 3899 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeMenuTitleExtra(
SInt16 * outWidth,
Boolean inIsSquished) ;
# 5666 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
GetThemeMetric(
ThemeMetric inMetric,
SInt32 * outMetric) ;
# 5693 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Appearance.h" 3
extern OSStatus
CopyThemeIdentifier(CFStringRef * outIdentifier) ;
enum {
appearanceBadBrushIndexErr = themeInvalidBrushErr,
appearanceProcessRegisteredErr = themeProcessRegisteredErr,
appearanceProcessNotRegisteredErr = themeProcessNotRegisteredErr,
appearanceBadTextColorIndexErr = themeBadTextColorErr,
appearanceThemeHasNoAccents = themeHasNoAccentsErr,
appearanceBadCursorIndexErr = themeBadCursorIndexErr
};
enum {
kThemeActiveDialogBackgroundBrush = kThemeBrushDialogBackgroundActive,
kThemeInactiveDialogBackgroundBrush = kThemeBrushDialogBackgroundInactive,
kThemeActiveAlertBackgroundBrush = kThemeBrushAlertBackgroundActive,
kThemeInactiveAlertBackgroundBrush = kThemeBrushAlertBackgroundInactive,
kThemeActiveModelessDialogBackgroundBrush = kThemeBrushModelessDialogBackgroundActive,
kThemeInactiveModelessDialogBackgroundBrush = kThemeBrushModelessDialogBackgroundInactive,
kThemeActiveUtilityWindowBackgroundBrush = kThemeBrushUtilityWindowBackgroundActive,
kThemeInactiveUtilityWindowBackgroundBrush = kThemeBrushUtilityWindowBackgroundInactive,
kThemeListViewSortColumnBackgroundBrush = kThemeBrushListViewSortColumnBackground,
kThemeListViewBackgroundBrush = kThemeBrushListViewBackground,
kThemeIconLabelBackgroundBrush = kThemeBrushIconLabelBackground,
kThemeListViewSeparatorBrush = kThemeBrushListViewSeparator,
kThemeChasingArrowsBrush = kThemeBrushChasingArrows,
kThemeDragHiliteBrush = kThemeBrushDragHilite,
kThemeDocumentWindowBackgroundBrush = kThemeBrushDocumentWindowBackground,
kThemeFinderWindowBackgroundBrush = kThemeBrushFinderWindowBackground
};
enum {
kThemeActiveScrollBarDelimiterBrush = kThemeBrushScrollBarDelimiterActive,
kThemeInactiveScrollBarDelimiterBrush = kThemeBrushScrollBarDelimiterInactive,
kThemeFocusHighlightBrush = kThemeBrushFocusHighlight,
kThemeActivePopupArrowBrush = kThemeBrushPopupArrowActive,
kThemePressedPopupArrowBrush = kThemeBrushPopupArrowPressed,
kThemeInactivePopupArrowBrush = kThemeBrushPopupArrowInactive,
kThemeAppleGuideCoachmarkBrush = kThemeBrushAppleGuideCoachmark
};
enum {
kThemeActiveDialogTextColor = kThemeTextColorDialogActive,
kThemeInactiveDialogTextColor = kThemeTextColorDialogInactive,
kThemeActiveAlertTextColor = kThemeTextColorAlertActive,
kThemeInactiveAlertTextColor = kThemeTextColorAlertInactive,
kThemeActiveModelessDialogTextColor = kThemeTextColorModelessDialogActive,
kThemeInactiveModelessDialogTextColor = kThemeTextColorModelessDialogInactive,
kThemeActiveWindowHeaderTextColor = kThemeTextColorWindowHeaderActive,
kThemeInactiveWindowHeaderTextColor = kThemeTextColorWindowHeaderInactive,
kThemeActivePlacardTextColor = kThemeTextColorPlacardActive,
kThemeInactivePlacardTextColor = kThemeTextColorPlacardInactive,
kThemePressedPlacardTextColor = kThemeTextColorPlacardPressed,
kThemeActivePushButtonTextColor = kThemeTextColorPushButtonActive,
kThemeInactivePushButtonTextColor = kThemeTextColorPushButtonInactive,
kThemePressedPushButtonTextColor = kThemeTextColorPushButtonPressed,
kThemeActiveBevelButtonTextColor = kThemeTextColorBevelButtonActive,
kThemeInactiveBevelButtonTextColor = kThemeTextColorBevelButtonInactive,
kThemePressedBevelButtonTextColor = kThemeTextColorBevelButtonPressed,
kThemeActivePopupButtonTextColor = kThemeTextColorPopupButtonActive,
kThemeInactivePopupButtonTextColor = kThemeTextColorPopupButtonInactive,
kThemePressedPopupButtonTextColor = kThemeTextColorPopupButtonPressed,
kThemeIconLabelTextColor = kThemeTextColorIconLabel,
kThemeListViewTextColor = kThemeTextColorListView
};
enum {
kThemeActiveDocumentWindowTitleTextColor = kThemeTextColorDocumentWindowTitleActive,
kThemeInactiveDocumentWindowTitleTextColor = kThemeTextColorDocumentWindowTitleInactive,
kThemeActiveMovableModalWindowTitleTextColor = kThemeTextColorMovableModalWindowTitleActive,
kThemeInactiveMovableModalWindowTitleTextColor = kThemeTextColorMovableModalWindowTitleInactive,
kThemeActiveUtilityWindowTitleTextColor = kThemeTextColorUtilityWindowTitleActive,
kThemeInactiveUtilityWindowTitleTextColor = kThemeTextColorUtilityWindowTitleInactive,
kThemeActivePopupWindowTitleColor = kThemeTextColorPopupWindowTitleActive,
kThemeInactivePopupWindowTitleColor = kThemeTextColorPopupWindowTitleInactive,
kThemeActiveRootMenuTextColor = kThemeTextColorRootMenuActive,
kThemeSelectedRootMenuTextColor = kThemeTextColorRootMenuSelected,
kThemeDisabledRootMenuTextColor = kThemeTextColorRootMenuDisabled,
kThemeActiveMenuItemTextColor = kThemeTextColorMenuItemActive,
kThemeSelectedMenuItemTextColor = kThemeTextColorMenuItemSelected,
kThemeDisabledMenuItemTextColor = kThemeTextColorMenuItemDisabled,
kThemeActivePopupLabelTextColor = kThemeTextColorPopupLabelActive,
kThemeInactivePopupLabelTextColor = kThemeTextColorPopupLabelInactive
};
enum {
kAEThemeSwitch = kAEAppearanceChanged
};
enum {
kThemeNoAdornment = kThemeAdornmentNone,
kThemeDefaultAdornment = kThemeAdornmentDefault,
kThemeFocusAdornment = kThemeAdornmentFocus,
kThemeRightToLeftAdornment = kThemeAdornmentRightToLeft,
kThemeDrawIndicatorOnly = kThemeAdornmentDrawIndicatorOnly
};
enum {
kThemeBrushPassiveAreaFill = kThemeBrushStaticAreaFill
};
enum {
kThemeMetricCheckBoxGlyphHeight = kThemeMetricCheckBoxHeight,
kThemeMetricRadioButtonGlyphHeight = kThemeMetricRadioButtonHeight,
kThemeMetricDisclosureButtonSize = kThemeMetricDisclosureButtonHeight,
kThemeMetricBestListHeaderHeight = kThemeMetricListHeaderHeight,
kThemeMetricSmallProgressBarThickness = kThemeMetricNormalProgressBarThickness,
kThemeMetricProgressBarThickness = kThemeMetricLargeProgressBarThickness
};
enum {
kThemeScrollBar = kThemeMediumScrollBar,
kThemeSlider = kThemeMediumSlider,
kThemeProgressBar = kThemeMediumProgressBar,
kThemeIndeterminateBar = kThemeMediumIndeterminateBar
};
#pragma pack(pop)
# 25 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 2 3
# 36 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
#define __EVENTS__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
#pragma pack(push, 2)
typedef UInt16 EventKind;
typedef UInt16 EventMask;
enum {
nullEvent = 0,
mouseDown = 1,
mouseUp = 2,
keyDown = 3,
keyUp = 4,
autoKey = 5,
updateEvt = 6,
diskEvt = 7,
activateEvt = 8,
osEvt = 15,
kHighLevelEvent = 23
};
enum {
mDownMask = 1 << mouseDown,
mUpMask = 1 << mouseUp,
keyDownMask = 1 << keyDown,
keyUpMask = 1 << keyUp,
autoKeyMask = 1 << autoKey,
updateMask = 1 << updateEvt,
diskMask = 1 << diskEvt,
activMask = 1 << activateEvt,
highLevelEventMask = 0x0400,
osMask = 1 << osEvt,
everyEvent = 0xFFFF
};
enum {
charCodeMask = 0x000000FF,
keyCodeMask = 0x0000FF00,
adbAddrMask = 0x00FF0000,
osEvtMessageMask = (UInt32)0xFF000000
};
enum {
mouseMovedMessage = 0x00FA,
suspendResumeMessage = 0x0001
};
enum {
resumeFlag = 1
};
# 107 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
typedef UInt16 EventModifiers;
enum {
activeFlagBit = 0,
btnStateBit = 7,
cmdKeyBit = 8,
shiftKeyBit = 9,
alphaLockBit = 10,
optionKeyBit = 11,
controlKeyBit = 12,
rightShiftKeyBit = 13,
rightOptionKeyBit = 14,
rightControlKeyBit = 15
};
enum {
activeFlag = 1 << activeFlagBit,
btnState = 1 << btnStateBit,
cmdKey = 1 << cmdKeyBit,
shiftKey = 1 << shiftKeyBit,
alphaLock = 1 << alphaLockBit,
optionKey = 1 << optionKeyBit,
controlKey = 1 << controlKeyBit,
rightShiftKey = 1 << rightShiftKeyBit,
rightOptionKey = 1 << rightOptionKeyBit,
rightControlKey = 1 << rightControlKeyBit
};
enum {
kNullCharCode = 0,
kHomeCharCode = 1,
kEnterCharCode = 3,
kEndCharCode = 4,
kHelpCharCode = 5,
kBellCharCode = 7,
kBackspaceCharCode = 8,
kTabCharCode = 9,
kLineFeedCharCode = 10,
kVerticalTabCharCode = 11,
kPageUpCharCode = 11,
kFormFeedCharCode = 12,
kPageDownCharCode = 12,
kReturnCharCode = 13,
kFunctionKeyCharCode = 16,
kCommandCharCode = 17,
kCheckCharCode = 18,
kDiamondCharCode = 19,
kAppleLogoCharCode = 20,
kEscapeCharCode = 27,
kClearCharCode = 27,
kLeftArrowCharCode = 28,
kRightArrowCharCode = 29,
kUpArrowCharCode = 30,
kDownArrowCharCode = 31,
kSpaceCharCode = 32,
kDeleteCharCode = 127,
kBulletCharCode = 165,
kNonBreakingSpaceCharCode = 202
};
enum {
kShiftUnicode = 0x21E7,
kControlUnicode = 0x2303,
kOptionUnicode = 0x2325,
kCommandUnicode = 0x2318,
kPencilUnicode = 0x270E,
kPencilLeftUnicode = 0xF802,
kCheckUnicode = 0x2713,
kDiamondUnicode = 0x25C6,
kBulletUnicode = 0x2022,
kAppleLogoUnicode = 0xF8FF
};
# 198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
enum {
kVK_ANSI_A = 0x00,
kVK_ANSI_S = 0x01,
kVK_ANSI_D = 0x02,
kVK_ANSI_F = 0x03,
kVK_ANSI_H = 0x04,
kVK_ANSI_G = 0x05,
kVK_ANSI_Z = 0x06,
kVK_ANSI_X = 0x07,
kVK_ANSI_C = 0x08,
kVK_ANSI_V = 0x09,
kVK_ANSI_B = 0x0B,
kVK_ANSI_Q = 0x0C,
kVK_ANSI_W = 0x0D,
kVK_ANSI_E = 0x0E,
kVK_ANSI_R = 0x0F,
kVK_ANSI_Y = 0x10,
kVK_ANSI_T = 0x11,
kVK_ANSI_1 = 0x12,
kVK_ANSI_2 = 0x13,
kVK_ANSI_3 = 0x14,
kVK_ANSI_4 = 0x15,
kVK_ANSI_6 = 0x16,
kVK_ANSI_5 = 0x17,
kVK_ANSI_Equal = 0x18,
kVK_ANSI_9 = 0x19,
kVK_ANSI_7 = 0x1A,
kVK_ANSI_Minus = 0x1B,
kVK_ANSI_8 = 0x1C,
kVK_ANSI_0 = 0x1D,
kVK_ANSI_RightBracket = 0x1E,
kVK_ANSI_O = 0x1F,
kVK_ANSI_U = 0x20,
kVK_ANSI_LeftBracket = 0x21,
kVK_ANSI_I = 0x22,
kVK_ANSI_P = 0x23,
kVK_ANSI_L = 0x25,
kVK_ANSI_J = 0x26,
kVK_ANSI_Quote = 0x27,
kVK_ANSI_K = 0x28,
kVK_ANSI_Semicolon = 0x29,
kVK_ANSI_Backslash = 0x2A,
kVK_ANSI_Comma = 0x2B,
kVK_ANSI_Slash = 0x2C,
kVK_ANSI_N = 0x2D,
kVK_ANSI_M = 0x2E,
kVK_ANSI_Period = 0x2F,
kVK_ANSI_Grave = 0x32,
kVK_ANSI_KeypadDecimal = 0x41,
kVK_ANSI_KeypadMultiply = 0x43,
kVK_ANSI_KeypadPlus = 0x45,
kVK_ANSI_KeypadClear = 0x47,
kVK_ANSI_KeypadDivide = 0x4B,
kVK_ANSI_KeypadEnter = 0x4C,
kVK_ANSI_KeypadMinus = 0x4E,
kVK_ANSI_KeypadEquals = 0x51,
kVK_ANSI_Keypad0 = 0x52,
kVK_ANSI_Keypad1 = 0x53,
kVK_ANSI_Keypad2 = 0x54,
kVK_ANSI_Keypad3 = 0x55,
kVK_ANSI_Keypad4 = 0x56,
kVK_ANSI_Keypad5 = 0x57,
kVK_ANSI_Keypad6 = 0x58,
kVK_ANSI_Keypad7 = 0x59,
kVK_ANSI_Keypad8 = 0x5B,
kVK_ANSI_Keypad9 = 0x5C
};
enum {
kVK_Return = 0x24,
kVK_Tab = 0x30,
kVK_Space = 0x31,
kVK_Delete = 0x33,
kVK_Escape = 0x35,
kVK_Command = 0x37,
kVK_Shift = 0x38,
kVK_CapsLock = 0x39,
kVK_Option = 0x3A,
kVK_Control = 0x3B,
kVK_RightShift = 0x3C,
kVK_RightOption = 0x3D,
kVK_RightControl = 0x3E,
kVK_Function = 0x3F,
kVK_F17 = 0x40,
kVK_VolumeUp = 0x48,
kVK_VolumeDown = 0x49,
kVK_Mute = 0x4A,
kVK_F18 = 0x4F,
kVK_F19 = 0x50,
kVK_F20 = 0x5A,
kVK_F5 = 0x60,
kVK_F6 = 0x61,
kVK_F7 = 0x62,
kVK_F3 = 0x63,
kVK_F8 = 0x64,
kVK_F9 = 0x65,
kVK_F11 = 0x67,
kVK_F13 = 0x69,
kVK_F16 = 0x6A,
kVK_F14 = 0x6B,
kVK_F10 = 0x6D,
kVK_F12 = 0x6F,
kVK_F15 = 0x71,
kVK_Help = 0x72,
kVK_Home = 0x73,
kVK_PageUp = 0x74,
kVK_ForwardDelete = 0x75,
kVK_F4 = 0x76,
kVK_End = 0x77,
kVK_F2 = 0x78,
kVK_PageDown = 0x79,
kVK_F1 = 0x7A,
kVK_LeftArrow = 0x7B,
kVK_RightArrow = 0x7C,
kVK_DownArrow = 0x7D,
kVK_UpArrow = 0x7E
};
enum {
kVK_ISO_Section = 0x0A
};
enum {
kVK_JIS_Yen = 0x5D,
kVK_JIS_Underscore = 0x5E,
kVK_JIS_KeypadComma = 0x5F,
kVK_JIS_Eisu = 0x66,
kVK_JIS_Kana = 0x68
};
struct EventRecord {
EventKind what;
unsigned long message;
UInt32 when;
Point where;
EventModifiers modifiers;
};
typedef struct EventRecord EventRecord;
typedef void ( * FKEYProcPtr)(void);
typedef FKEYProcPtr FKEYUPP;
# 400 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern Boolean
Button(void) ;
# 481 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
typedef BigEndianLong KeyMap[4];
typedef UInt8 KeyMapByteArray[16];
# 496 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
GetKeys(KeyMap theKeys) ;
enum {
networkEvt = 10,
driverEvt = 11,
app1Evt = 12,
app2Evt = 13,
app3Evt = 14,
app4Evt = 15,
networkMask = 0x0400,
driverMask = 0x0800,
app1Mask = 0x1000,
app2Mask = 0x2000,
app3Mask = 0x4000,
app4Mask = 0x8000
};
struct EvQEl {
QElemPtr qLink;
SInt16 qType;
EventKind evtQWhat;
unsigned long evtQMessage;
UInt32 evtQWhen;
Point evtQWhere;
EventModifiers evtQModifiers;
};
typedef struct EvQEl EvQEl;
typedef EvQEl * EvQElPtr;
typedef void ( * GetNextEventFilterProcPtr)(EventRecord *theEvent, Boolean *result);
typedef GetNextEventFilterProcPtr GetNextEventFilterUPP;
# 556 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
typedef GetNextEventFilterUPP GNEFilterUPP;
# 671 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern void
FlushEvents(
EventMask whichMask,
EventMask stopMask) ;
# 719 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern Boolean
IsCmdChar(
const EventRecord * event,
short test) ;
# 740 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern SInt16
LMGetKeyThresh(void) ;
# 774 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern SInt16
LMGetKeyRepThresh(void) ;
# 807 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern UInt8
LMGetKbdLast(void) ;
# 841 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
extern UInt8
LMGetKbdType(void) ;
# 864 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h" 3
#pragma pack(pop)
# 37 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 2 3
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#pragma pack(push, 2)
# 67 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
textMenuProc = 0,
kHIMenuAppendItem = 0x0000FFFF
};
enum {
noMark = 0
};
enum {
kMenuStdMenuProc = 63,
kMenuStdMenuBarProc = 63
};
enum {
kMenuNoModifiers = 0,
kMenuShiftModifier = (1 << 0),
kMenuOptionModifier = (1 << 1),
kMenuControlModifier = (1 << 2),
kMenuNoCommandModifier = (1 << 3)
};
enum {
kMenuNoIcon = 0,
kMenuIconType = 1,
kMenuShrinkIconType = 2,
kMenuSmallIconType = 3,
kMenuColorIconType = 4,
kMenuIconSuiteType = 5,
kMenuIconRefType = 6,
kMenuCGImageRefType = 7,
kMenuSystemIconSelectorType = 8,
kMenuIconResourceType = 9
};
enum {
kMenuNullGlyph = 0x00,
kMenuTabRightGlyph = 0x02,
kMenuTabLeftGlyph = 0x03,
kMenuEnterGlyph = 0x04,
kMenuShiftGlyph = 0x05,
kMenuControlGlyph = 0x06,
kMenuOptionGlyph = 0x07,
kMenuSpaceGlyph = 0x09,
kMenuDeleteRightGlyph = 0x0A,
kMenuReturnGlyph = 0x0B,
kMenuReturnR2LGlyph = 0x0C,
kMenuNonmarkingReturnGlyph = 0x0D,
kMenuPencilGlyph = 0x0F,
kMenuDownwardArrowDashedGlyph = 0x10,
kMenuCommandGlyph = 0x11,
kMenuCheckmarkGlyph = 0x12,
kMenuDiamondGlyph = 0x13,
kMenuAppleLogoFilledGlyph = 0x14,
kMenuParagraphKoreanGlyph = 0x15,
kMenuDeleteLeftGlyph = 0x17,
kMenuLeftArrowDashedGlyph = 0x18,
kMenuUpArrowDashedGlyph = 0x19,
kMenuRightArrowDashedGlyph = 0x1A,
kMenuEscapeGlyph = 0x1B,
kMenuClearGlyph = 0x1C,
kMenuLeftDoubleQuotesJapaneseGlyph = 0x1D,
kMenuRightDoubleQuotesJapaneseGlyph = 0x1E,
kMenuTrademarkJapaneseGlyph = 0x1F,
kMenuBlankGlyph = 0x61,
kMenuPageUpGlyph = 0x62,
kMenuCapsLockGlyph = 0x63,
kMenuLeftArrowGlyph = 0x64,
kMenuRightArrowGlyph = 0x65,
kMenuNorthwestArrowGlyph = 0x66,
kMenuHelpGlyph = 0x67,
kMenuUpArrowGlyph = 0x68,
kMenuSoutheastArrowGlyph = 0x69,
kMenuDownArrowGlyph = 0x6A,
kMenuPageDownGlyph = 0x6B,
kMenuAppleLogoOutlineGlyph = 0x6C,
kMenuContextualMenuGlyph = 0x6D,
kMenuPowerGlyph = 0x6E,
kMenuF1Glyph = 0x6F,
kMenuF2Glyph = 0x70,
kMenuF3Glyph = 0x71,
kMenuF4Glyph = 0x72,
kMenuF5Glyph = 0x73,
kMenuF6Glyph = 0x74,
kMenuF7Glyph = 0x75,
kMenuF8Glyph = 0x76,
kMenuF9Glyph = 0x77,
kMenuF10Glyph = 0x78,
kMenuF11Glyph = 0x79,
kMenuF12Glyph = 0x7A,
kMenuF13Glyph = 0x87,
kMenuF14Glyph = 0x88,
kMenuF15Glyph = 0x89,
kMenuControlISOGlyph = 0x8A,
kMenuEjectGlyph = 0x8C,
kMenuEisuGlyph = 0x8D,
kMenuKanaGlyph = 0x8E
};
# 190 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef UInt32 MenuAttributes;
enum {
kMenuAttrExcludesMarkColumn = (1 << 0),
kMenuAttrAutoDisable = (1 << 2),
kMenuAttrUsePencilGlyph = (1 << 3),
# 221 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuAttrHidden = (1 << 4),
# 231 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuAttrCondenseSeparators = (1 << 5),
# 242 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuAttrDoNotCacheImage = (1 << 6),
# 257 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuAttrDoNotUseUserCommandKeys = (1 << 7)
};
# 269 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef UInt32 MenuItemAttributes;
enum {
kMenuItemAttrDisabled = (1 << 0),
kMenuItemAttrIconDisabled = (1 << 1),
kMenuItemAttrSubmenuParentChoosable = (1 << 2),
kMenuItemAttrDynamic = (1 << 3),
kMenuItemAttrNotPreviousAlternate = (1 << 4),
kMenuItemAttrHidden = (1 << 5),
kMenuItemAttrSeparator = (1 << 6),
kMenuItemAttrSectionHeader = (1 << 7),
kMenuItemAttrIgnoreMeta = (1 << 8),
kMenuItemAttrAutoRepeat = (1 << 9),
kMenuItemAttrUseVirtualKey = (1 << 10),
kMenuItemAttrCustomDraw = (1 << 11),
# 353 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemAttrIncludeInCmdKeyMatching = (1 << 12),
# 370 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemAttrAutoDisable = (1 << 13),
# 389 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemAttrUpdateSingleItem = (1 << 14)
};
# 402 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef UInt32 MenuTrackingMode;
enum {
kMenuTrackingModeMouse = 1,
kMenuTrackingModeKeyboard = 2
};
# 425 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef UInt32 MenuEventOptions;
enum {
kMenuEventIncludeDisabledItems = 0x0001,
kMenuEventQueryOnly = 0x0002,
kMenuEventDontCheckSubmenus = 0x0004
};
typedef SInt16 MenuID;
typedef UInt16 MenuItemIndex;
typedef OSType MenuCommand;
# 463 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef struct OpaqueMenuRef* MenuRef;
typedef MenuRef MenuHandle;
# 474 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef Handle MenuBarHandle;
# 492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MenuBarHeader {
UInt16 lastMenu;
SInt16 lastRight;
SInt16 mbResID;
};
typedef struct MenuBarHeader MenuBarHeader;
# 528 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct HMenuBarHeader {
UInt16 lastHMenu;
PixMapHandle menuTitleBits;
};
typedef struct HMenuBarHeader HMenuBarHeader;
# 551 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MenuBarMenu {
MenuRef menu;
SInt16 menuLeft;
};
typedef struct MenuBarMenu MenuBarMenu;
# 574 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct HMenuBarMenu {
MenuRef menu;
SInt16 reserved;
};
typedef struct HMenuBarMenu HMenuBarMenu;
# 618 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MenuTrackingData {
MenuRef menu;
MenuItemIndex itemSelected;
MenuItemIndex itemUnderMouse;
Rect itemRect;
SInt32 virtualMenuTop;
SInt32 virtualMenuBottom;
};
typedef struct MenuTrackingData MenuTrackingData;
typedef MenuTrackingData * MenuTrackingDataPtr;
# 638 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
# 653 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataText = (1 << 0),
kMenuItemDataMark = (1 << 1),
kMenuItemDataCmdKey = (1 << 2),
kMenuItemDataCmdKeyGlyph = (1 << 3),
kMenuItemDataCmdKeyModifiers = (1 << 4),
kMenuItemDataStyle = (1 << 5),
kMenuItemDataEnabled = (1 << 6),
kMenuItemDataIconEnabled = (1 << 7),
kMenuItemDataIconID = (1 << 8),
# 721 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataIconHandle = (1 << 9),
kMenuItemDataCommandID = (1 << 10),
# 736 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataTextEncoding = (1 << 11),
kMenuItemDataSubmenuID = (1 << 12),
kMenuItemDataSubmenuHandle = (1 << 13),
kMenuItemDataFontID = (1 << 14),
kMenuItemDataRefcon = (1 << 15),
# 773 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataAttributes = (1 << 16),
# 791 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataCFString = (1 << 17),
# 806 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataProperties = (1 << 18),
kMenuItemDataIndent = (1 << 19),
# 821 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataCmdVirtualKey = (1 << 20),
# 834 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataAttributedText = (1 << 21),
# 846 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kMenuItemDataFont = (1 << 22),
kMenuItemDataAllDataVersionOne = 0x000FFFFF,
kMenuItemDataAllDataVersionTwo = kMenuItemDataAllDataVersionOne | kMenuItemDataCmdVirtualKey,
kMenuItemDataAllDataVersionThree = kMenuItemDataAllDataVersionTwo | kMenuItemDataAttributedText | kMenuItemDataFont
};
typedef UInt64 MenuItemDataFlags;
# 874 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MenuItemDataRec {
MenuItemDataFlags whichData;
StringPtr text;
UniChar mark;
UniChar cmdKey;
UInt32 cmdKeyGlyph;
UInt32 cmdKeyModifiers;
Style style;
Boolean enabled;
Boolean iconEnabled;
UInt8 filler1;
SInt32 iconID;
UInt32 iconType;
Handle iconHandle;
MenuCommand cmdID;
TextEncoding encoding;
MenuID submenuID;
MenuRef submenuHandle;
SInt32 fontID;
URefCon refcon;
OptionBits attr;
CFStringRef cfText;
Collection properties;
UInt32 indent;
UInt16 cmdVirtualKey;
CFAttributedStringRef attributedText;
CTFontRef font;
};
typedef struct MenuItemDataRec MenuItemDataRec;
typedef MenuItemDataRec * MenuItemDataPtr;
typedef UInt32 MenuItemID;
enum {
kMenuDefProcPtr = 0,
kMenuDefClassID = 1
};
typedef UInt32 MenuDefType;
typedef void * MenuDefUPP;
# 1001 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MenuDefSpec {
MenuDefType defType;
union {
MenuDefUPP defProc;
struct {
CFStringRef classID;
EventRef initEvent;
} view;
} u;
};
typedef struct MenuDefSpec MenuDefSpec;
typedef MenuDefSpec * MenuDefSpecPtr;
# 2380 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
kHIMenuDismissedBySelection = 1,
kHIMenuDismissedByUserCancel = 2,
kHIMenuDismissedByMouseDown = 3,
kHIMenuDismissedByMouseUp = 4,
kHIMenuDismissedByKeyEvent = 5,
kHIMenuDismissedByAppSwitch = 6,
kHIMenuDismissedByTimeout = 7,
kHIMenuDismissedByCancelMenuTracking = 8,
kHIMenuDismissedByActivationChange = 9,
kHIMenuDismissedByFocusChange = 10
};
# 4228 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
kMenuPropertyPersistent = 0x00000001
};
# 4666 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
GetMenuTrackingData(
MenuRef theMenu,
MenuTrackingData * outData) ;
# 5466 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
kHierarchicalFontMenuOption = 0x00000001
};
# 5536 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
gestaltContextualMenuAttr = 'cmnu',
gestaltContextualMenuUnusedBit = 0,
gestaltContextualMenuTrapAvailable = 1,
gestaltContextualMenuHasAttributeAndModifierKeys = 2,
gestaltContextualMenuHasUnicodeSupport = 3
};
enum {
kCMHelpItemNoHelp = 0,
kCMHelpItemAppleGuide = 1,
# 5572 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kCMHelpItemOtherHelp = 2,
# 5581 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kCMHelpItemRemoveHelp = 3
};
enum {
kCMNothingSelected = 0,
kCMMenuItemSelected = 1,
kCMShowHelpSelected = 3
};
# 5621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
# 5635 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
keyContextualMenuName = 'pnam',
keyContextualMenuCommandID = 'cmcd',
keyContextualMenuSubmenu = 'cmsb',
keyContextualMenuAttributes = 'cmat',
# 5666 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
keyContextualMenuModifiers = 'cmmd'
};
# 5897 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#define kContextualMenuTypeID ( CFUUIDGetConstantUUIDWithBytes( NULL, 0x2F, 0x65, 0x22, 0xE9, 0x3E, 0x66, 0x11, 0xD5, 0x80, 0xA7, 0x00, 0x30, 0x65, 0xB3, 0x00, 0xBC ) )
#define kContextualMenuInterfaceID ( CFUUIDGetConstantUUIDWithBytes( NULL, 0x32, 0x99, 0x7B, 0x62, 0x3E, 0x66, 0x11, 0xD5, 0xBE, 0xAB, 0x00, 0x30, 0x65, 0xB3, 0x00, 0xBC ) )
#define CM_IUNKNOWN_C_GUTS void *_reserved; SInt32 (*QueryInterface)(void *thisPointer, CFUUIDBytes iid, void ** ppv); UInt32 (*AddRef)(void *thisPointer); UInt32 (*Release)(void *thisPointer)
struct ContextualMenuInterfaceStruct
{
void *_reserved; SInt32 (*QueryInterface)(void *thisPointer, CFUUIDBytes iid, void ** ppv); UInt32 (*AddRef)(void *thisPointer); UInt32 (*Release)(void *thisPointer);
OSStatus ( *ExamineContext )(
void* thisInstance,
const AEDesc* inContext,
AEDescList* outCommandPairs );
OSStatus ( *HandleSelection )(
void* thisInstance,
AEDesc* inContext,
SInt32 inCommandID );
void ( *PostMenuCleanup )(
void* thisInstance );
};
typedef struct ContextualMenuInterfaceStruct ContextualMenuInterfaceStruct;
extern OSStatus
CMPluginExamineContext(
void * thisInstance,
const AEDesc * inContext,
AEDescList * outCommandPairs);
# 5950 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern OSStatus
CMPluginHandleSelection(
void * thisInstance,
AEDesc * inContext,
SInt32 inCommandID);
# 5963 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
extern void
CMPluginPostMenuCleanup(void * thisInstance);
# 6284 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
kMenuDrawMsg = 0,
kMenuSizeMsg = 2,
kMenuPopUpMsg = 3,
kMenuCalcItemMsg = 5,
kMenuThemeSavvyMsg = 7,
kMenuInitMsg = 8,
kMenuDisposeMsg = 9,
kMenuFindItemMsg = 10,
kMenuHiliteItemMsg = 11,
kMenuDrawItemsMsg = 12,
mDrawMsg = kMenuDrawMsg,
mSizeMsg = kMenuSizeMsg,
mPopUpMsg = kMenuPopUpMsg,
mCalcItemMsg = kMenuCalcItemMsg
};
# 6316 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
enum {
kThemeSavvyMenuResponse = 0x7473
};
# 6331 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MDEFHiliteItemData {
MenuItemIndex previousItem;
MenuItemIndex newItem;
void * context;
};
typedef struct MDEFHiliteItemData MDEFHiliteItemData;
typedef MDEFHiliteItemData * MDEFHiliteItemDataPtr;
typedef MDEFHiliteItemData HiliteMenuItemData;
typedef MDEFHiliteItemDataPtr HiliteMenuItemDataPtr;
# 6365 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MDEFDrawData {
MenuTrackingData trackingData;
void * context;
};
typedef struct MDEFDrawData MDEFDrawData;
typedef MDEFDrawData * MDEFDrawDataPtr;
# 6393 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MDEFFindItemData {
MenuTrackingData trackingData;
void * context;
};
typedef struct MDEFFindItemData MDEFFindItemData;
typedef MDEFFindItemData * MDEFFindItemDataPtr;
# 6421 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
struct MDEFDrawItemsData {
MenuItemIndex firstItem;
MenuItemIndex lastItem;
MenuTrackingData * trackingData;
void * context;
};
typedef struct MDEFDrawItemsData MDEFDrawItemsData;
typedef MDEFDrawItemsData * MDEFDrawItemsDataPtr;
enum {
mctAllItems = -98,
mctLastIDIndic = -99
};
struct MCEntry {
MenuID mctID;
short mctItem;
RGBColor mctRGB1;
RGBColor mctRGB2;
RGBColor mctRGB3;
RGBColor mctRGB4;
short mctReserved;
};
typedef struct MCEntry MCEntry;
typedef MCEntry * MCEntryPtr;
typedef MCEntry MCTable[1];
typedef MCEntry * MCTablePtr;
typedef MCTablePtr * MCTableHandle;
struct MenuCRsrc {
short numEntries;
MCTable mcEntryRecs;
};
typedef struct MenuCRsrc MenuCRsrc;
typedef MenuCRsrc * MenuCRsrcPtr;
typedef MenuCRsrcPtr * MenuCRsrcHandle;
enum {
hMenuCmd = 27,
# 6495 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
kInsertHierarchicalMenu = -1,
hierMenu = -1
};
# 7464 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
typedef long ( * MenuBarDefProcPtr)(short selector, short message, short parameter1, long parameter2);
typedef void ( * MenuHookProcPtr)(void);
typedef short ( * MBarHookProcPtr)(Rect * menuRect);
typedef MenuBarDefProcPtr MenuBarDefUPP;
typedef MenuHookProcPtr MenuHookUPP;
typedef MBarHookProcPtr MBarHookUPP;
# 7572 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Menus.h" 3
#pragma pack(pop)
# 29 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 2 3
# 43 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
typedef HIObjectRef HIToolbarRef;
typedef HIObjectRef HIToolbarItemRef;
#define kHIToolbarIdentifierKey CFSTR("identifier")
#define kHIToolbarDataKey CFSTR("data")
#define kHIToolbarSeparatorIdentifier CFSTR("com.apple.hitoolbox.toolbar.separator")
#define kHIToolbarSpaceIdentifier CFSTR("com.apple.hitoolbox.toolbar.space")
#define kHIToolbarFlexibleSpaceIdentifier CFSTR("com.apple.hitoolbox.toolbar.flexiblespace")
#define kHIToolbarCustomizeIdentifier CFSTR("com.apple.hitoolbox.toolbar.customize")
#define kHIToolbarPrintItemIdentifier CFSTR("com.apple.hitoolbox.toolbar.print")
#define kHIToolbarFontsItemIdentifier CFSTR("com.apple.hitoolbox.toolbar.fonts")
enum {
kHIToolbarDisplayModeDefault = 0,
kHIToolbarDisplayModeIconAndLabel = 1,
kHIToolbarDisplayModeIconOnly = 2,
kHIToolbarDisplayModeLabelOnly = 3
};
typedef UInt32 HIToolbarDisplayMode;
enum {
kHIToolbarDisplaySizeDefault = 0,
kHIToolbarDisplaySizeNormal = 1,
kHIToolbarDisplaySizeSmall = 2
};
typedef UInt32 HIToolbarDisplaySize;
enum {
kHIToolbarNoAttributes = 0,
# 138 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarAutoSavesConfig = (1 << 0),
kHIToolbarIsConfigurable = (1 << 1),
kHIToolbarValidAttrs = kHIToolbarAutoSavesConfig | kHIToolbarIsConfigurable
};
enum {
kHICommandCustomizeToolbar = 'tcfg',
kHICommandShowToolbar = 'tbsh',
kHICommandHideToolbar = 'tbhd',
# 189 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHICommandToggleToolbar = 'tbtg',
# 198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHICommandToggleAllToolbars = 'tbta',
# 209 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHICommandCycleToolbarModeSmaller = 'tbms',
# 220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHICommandCycleToolbarModeLarger = 'tbml',
# 230 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarCommandPressAction = 'tbpr'
};
# 251 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventParamToolbar = 'tbar',
kEventParamToolbarItem = 'tbit',
kEventParamToolbarItemIdentifier = 'tbii',
kEventParamToolbarItemConfigData = 'tbid',
typeHIToolbarRef = 'tbar',
typeHIToolbarItemRef = 'tbit'
};
# 282 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarGetDefaultIdentifiers = 1
};
# 310 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarGetAllowedIdentifiers = 2
};
# 349 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarGetSelectableIdentifiers = 10
};
# 383 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarCreateItemWithIdentifier = 3
};
# 414 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarCreateItemFromDrag = 4
};
# 441 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemAdded = 5
};
# 466 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemRemoved = 6
};
# 486 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarDisplayModeChanged = 7
};
# 506 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarDisplaySizeChanged = 8
};
# 528 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarLayoutChanged = 9
};
# 553 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarBeginMultiChange = 12
};
# 574 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarEndMultiChange = 13
};
# 608 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemImageChanged = 1
};
# 627 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemLabelChanged = 2
};
# 646 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemHelpTextChanged = 3
};
# 665 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemCommandIDChanged = 4
};
# 692 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemGetPersistentData = 5
};
# 717 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemCreateCustomView = 6
};
# 745 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemEnabledStateChanged = 7
};
# 773 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemSelectedStateChanged = 12
};
# 793 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemPerformAction = 8
};
# 828 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemWouldAcceptDrop = 10
};
# 852 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemAcceptDrop = 11
};
# 864 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventParamToolbarDisplayMode = 'tbdm',
kEventParamToolbarDisplaySize = 'tbds',
typeHIToolbarDisplayMode = 'tbdm',
typeHIToolbarDisplaySize = 'tbds'
};
# 898 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemViewConfigForMode = 3
};
# 928 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemViewConfigForSize = 4
};
# 952 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemViewEnterConfigMode = 5
};
# 975 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
enum {
kEventToolbarItemViewExitConfigMode = 6
};
enum {
kHIToolbarItemNoAttributes = 0,
# 998 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarItemAllowDuplicates = (1 << 0),
kHIToolbarItemCantBeRemoved = (1 << 1),
# 1015 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarItemAnchoredLeft = (1 << 2),
# 1024 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarItemIsSeparator = (1 << 3),
kHIToolbarItemSendCmdToUserFocus = (1 << 4),
# 1048 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
kHIToolbarItemLabelDisabled = (1 << 5),
kHIToolbarItemDisabled = (1 << 6),
kHIToolbarItemSelected = (1 << 7),
kHIToolbarItemValidAttrs = kHIToolbarItemAllowDuplicates | kHIToolbarItemIsSeparator | kHIToolbarItemCantBeRemoved | kHIToolbarItemAnchoredLeft | kHIToolbarItemSendCmdToUserFocus | kHIToolbarItemLabelDisabled | kHIToolbarItemDisabled | kHIToolbarItemSelected,
kHIToolbarItemMutableAttrs = kHIToolbarItemCantBeRemoved | kHIToolbarItemAnchoredLeft | kHIToolbarItemLabelDisabled | kHIToolbarItemDisabled | kHIToolbarItemSelected
};
# 1645 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbar.h" 3
#define kHIToolbarItemClassID CFSTR("com.apple.hitoolbaritem")
# 38 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
#define __HIVIEW__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
#define __CONTROLS__
# 40 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 1 3
# 25 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
#define __TEXTEDIT__
# 42 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
#pragma pack(push, 2)
typedef struct TERec TERec;
typedef TERec * TEPtr;
typedef TEPtr * TEHandle;
typedef void ( * HighHookProcPtr)(const Rect *r, TEPtr pTE);
typedef Boolean ( * EOLHookProcPtr)(char theChar, TEPtr pTE, TEHandle hTE);
typedef void ( * CaretHookProcPtr)(const Rect *r, TEPtr pTE);
typedef unsigned short ( * WidthHookProcPtr)(unsigned short textLen, unsigned short textOffset, void *textBufferPtr, TEPtr pTE, TEHandle hTE);
typedef unsigned short ( * TextWidthHookProcPtr)(unsigned short textLen, unsigned short textOffset, void *textBufferPtr, TEPtr pTE, TEHandle hTE);
typedef unsigned short ( * NWidthHookProcPtr)(unsigned short styleRunLen, unsigned short styleRunOffset, short slop, short direction, void *textBufferPtr, short *lineStart, TEPtr pTE, TEHandle hTE);
typedef void ( * DrawHookProcPtr)(unsigned short textOffset, unsigned short drawLen, void *textBufferPtr, TEPtr pTE, TEHandle hTE);
typedef Boolean ( * HitTestHookProcPtr)(unsigned short styleRunLen, unsigned short styleRunOffset, unsigned short slop, void *textBufferPtr, TEPtr pTE, TEHandle hTE, unsigned short *pixelWidth, unsigned short *charOffset, Boolean *pixelInChar);
typedef void ( * TEFindWordProcPtr)(unsigned short currentPos, short caller, TEPtr pTE, TEHandle hTE, unsigned short *wordStart, unsigned short *wordEnd);
typedef void ( * TERecalcProcPtr)(TEPtr pTE, unsigned short changeLength, unsigned short *lineStart, unsigned short *firstChar, unsigned short *lastChar);
typedef void ( * TEDoTextProcPtr)(TEPtr pTE, unsigned short firstChar, unsigned short lastChar, short selector, GrafPtr *currentGrafPort, short *charPosition);
typedef Boolean ( * TEClickLoopProcPtr)(TEPtr pTE);
typedef Boolean ( * WordBreakProcPtr)(Ptr text, short charPos);
# 206 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
typedef HighHookProcPtr HighHookUPP;
typedef EOLHookProcPtr EOLHookUPP;
typedef CaretHookProcPtr CaretHookUPP;
typedef WidthHookProcPtr WidthHookUPP;
typedef TextWidthHookProcPtr TextWidthHookUPP;
typedef NWidthHookProcPtr NWidthHookUPP;
typedef DrawHookProcPtr DrawHookUPP;
typedef HitTestHookProcPtr HitTestHookUPP;
typedef TEFindWordProcPtr TEFindWordUPP;
typedef TERecalcProcPtr TERecalcUPP;
typedef TEDoTextProcPtr TEDoTextUPP;
typedef TEClickLoopProcPtr TEClickLoopUPP;
typedef WordBreakProcPtr WordBreakUPP;
struct TERec {
Rect destRect;
Rect viewRect;
Rect selRect;
short lineHeight;
short fontAscent;
Point selPoint;
short selStart;
short selEnd;
short active;
WordBreakUPP wordBreak;
TEClickLoopUPP clickLoop;
long clickTime;
short clickLoc;
long caretTime;
short caretState;
short just;
short teLength;
Handle hText;
long hDispatchRec;
short clikStuff;
short crOnly;
short txFont;
StyleField txFace;
short txMode;
short txSize;
GrafPtr inPort;
HighHookUPP highHook;
CaretHookUPP caretHook;
short nLines;
short lineStarts[16001];
};
enum {
teJustLeft = 0,
teJustCenter = 1,
teJustRight = -1,
teForceLeft = -2,
teFlushDefault = 0,
teCenter = 1,
teFlushRight = -1,
teFlushLeft = -2
};
enum {
fontBit = 0,
faceBit = 1,
sizeBit = 2,
clrBit = 3,
addSizeBit = 4,
toggleBit = 5
};
enum {
doFont = 1,
doFace = 2,
doSize = 4,
doColor = 8,
doAll = 15,
addSize = 16,
doToggle = 32
};
enum {
EOLHook = 0,
DRAWHook = 4,
WIDTHHook = 8,
HITTESTHook = 12,
nWIDTHHook = 24,
TextWidthHook = 28
};
enum {
intEOLHook = 0,
intDrawHook = 1,
intWidthHook = 2,
intHitTestHook = 3,
intNWidthHook = 6,
intTextWidthHook = 7,
intInlineInputTSMTEPreUpdateHook = 8,
intInlineInputTSMTEPostUpdateHook = 9
};
enum {
teFAutoScroll = 0,
teFTextBuffering = 1,
teFOutlineHilite = 2,
teFInlineInput = 3,
teFUseWhiteBackground = 4,
teFUseInlineInput = 5,
teFInlineInputAutoScroll = 6
};
enum {
teFIdleWithEventLoopTimer = 7
};
enum {
teBitClear = 0,
teBitSet = 1,
teBitTest = -1
};
enum {
teWordSelect = 4,
teWordDrag = 8,
teFromFind = 12,
teFromRecal = 16
};
enum {
teFind = 0,
teHighlight = 1,
teDraw = -1,
teCaret = -2
};
typedef char Chars[32001];
typedef char * CharsPtr;
typedef CharsPtr * CharsHandle;
struct StyleRun {
short startChar;
short styleIndex;
};
typedef struct StyleRun StyleRun;
struct STElement {
short stCount;
short stHeight;
short stAscent;
short stFont;
StyleField stFace;
short stSize;
RGBColor stColor;
};
typedef struct STElement STElement;
typedef STElement TEStyleTable[1777];
typedef STElement * STPtr;
typedef STPtr * STHandle;
struct LHElement {
short lhHeight;
short lhAscent;
};
typedef struct LHElement LHElement;
typedef LHElement LHTable[8001];
typedef LHElement * LHPtr;
typedef LHPtr * LHHandle;
struct ScrpSTElement {
SInt32 scrpStartChar;
SInt16 scrpHeight;
SInt16 scrpAscent;
SInt16 scrpFont;
StyleField scrpFace;
SInt16 scrpSize;
RGBColor scrpColor;
};
typedef struct ScrpSTElement ScrpSTElement;
typedef ScrpSTElement ScrpSTTable[1601];
struct StScrpRec {
short scrpNStyles;
ScrpSTTable scrpStyleTab;
};
typedef struct StScrpRec StScrpRec;
typedef StScrpRec * StScrpPtr;
typedef StScrpPtr * StScrpHandle;
struct NullStRec {
long teReserved;
StScrpHandle nullScrap;
};
typedef struct NullStRec NullStRec;
typedef NullStRec * NullStPtr;
typedef NullStPtr * NullStHandle;
struct TEStyleRec {
short nRuns;
short nStyles;
STHandle styleTab;
LHHandle lhTab;
long teRefCon;
NullStHandle nullStyle;
StyleRun runs[8001];
};
typedef struct TEStyleRec TEStyleRec;
typedef TEStyleRec * TEStylePtr;
typedef TEStylePtr * TEStyleHandle;
struct TextStyle {
short tsFont;
StyleField tsFace;
short tsSize;
RGBColor tsColor;
};
typedef struct TextStyle TextStyle;
typedef TextStyle * TextStylePtr;
typedef TextStylePtr * TextStyleHandle;
typedef short TEIntHook;
# 437 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern HighHookUPP
NewHighHookUPP(HighHookProcPtr userRoutine) __attribute__((deprecated));
# 448 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern EOLHookUPP
NewEOLHookUPP(EOLHookProcPtr userRoutine) __attribute__((deprecated));
# 459 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern CaretHookUPP
NewCaretHookUPP(CaretHookProcPtr userRoutine) __attribute__((deprecated));
# 470 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern WidthHookUPP
NewWidthHookUPP(WidthHookProcPtr userRoutine) __attribute__((deprecated));
# 481 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TextWidthHookUPP
NewTextWidthHookUPP(TextWidthHookProcPtr userRoutine) __attribute__((deprecated));
# 492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern NWidthHookUPP
NewNWidthHookUPP(NWidthHookProcPtr userRoutine) __attribute__((deprecated));
# 503 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern DrawHookUPP
NewDrawHookUPP(DrawHookProcPtr userRoutine) __attribute__((deprecated));
# 514 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern HitTestHookUPP
NewHitTestHookUPP(HitTestHookProcPtr userRoutine) __attribute__((deprecated));
# 525 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEFindWordUPP
NewTEFindWordUPP(TEFindWordProcPtr userRoutine) __attribute__((deprecated));
# 536 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TERecalcUPP
NewTERecalcUPP(TERecalcProcPtr userRoutine) __attribute__((deprecated));
# 547 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEDoTextUPP
NewTEDoTextUPP(TEDoTextProcPtr userRoutine) __attribute__((deprecated));
# 558 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern TEClickLoopUPP
NewTEClickLoopUPP(TEClickLoopProcPtr userRoutine) __attribute__((deprecated));
# 578 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeHighHookUPP(HighHookUPP userUPP) __attribute__((deprecated));
# 589 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeEOLHookUPP(EOLHookUPP userUPP) __attribute__((deprecated));
# 600 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeCaretHookUPP(CaretHookUPP userUPP) __attribute__((deprecated));
# 611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeWidthHookUPP(WidthHookUPP userUPP) __attribute__((deprecated));
# 622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeTextWidthHookUPP(TextWidthHookUPP userUPP) __attribute__((deprecated));
# 633 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeNWidthHookUPP(NWidthHookUPP userUPP) __attribute__((deprecated));
# 644 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeDrawHookUPP(DrawHookUPP userUPP) __attribute__((deprecated));
# 655 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeHitTestHookUPP(HitTestHookUPP userUPP) __attribute__((deprecated));
# 666 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeTEFindWordUPP(TEFindWordUPP userUPP) __attribute__((deprecated));
# 677 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeTERecalcUPP(TERecalcUPP userUPP) __attribute__((deprecated));
# 688 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeTEDoTextUPP(TEDoTextUPP userUPP) __attribute__((deprecated));
# 699 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
DisposeTEClickLoopUPP(TEClickLoopUPP userUPP) __attribute__((deprecated));
# 719 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeHighHookUPP(
const Rect * r,
TEPtr pTE,
HighHookUPP userUPP) __attribute__((deprecated));
# 733 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern Boolean
InvokeEOLHookUPP(
char theChar,
TEPtr pTE,
TEHandle hTE,
EOLHookUPP userUPP) __attribute__((deprecated));
# 748 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeCaretHookUPP(
const Rect * r,
TEPtr pTE,
CaretHookUPP userUPP) __attribute__((deprecated));
# 762 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern unsigned short
InvokeWidthHookUPP(
unsigned short textLen,
unsigned short textOffset,
void * textBufferPtr,
TEPtr pTE,
TEHandle hTE,
WidthHookUPP userUPP) __attribute__((deprecated));
# 779 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern unsigned short
InvokeTextWidthHookUPP(
unsigned short textLen,
unsigned short textOffset,
void * textBufferPtr,
TEPtr pTE,
TEHandle hTE,
TextWidthHookUPP userUPP) __attribute__((deprecated));
# 796 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern unsigned short
InvokeNWidthHookUPP(
unsigned short styleRunLen,
unsigned short styleRunOffset,
short slop,
short direction,
void * textBufferPtr,
short * lineStart,
TEPtr pTE,
TEHandle hTE,
NWidthHookUPP userUPP) __attribute__((deprecated));
# 816 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeDrawHookUPP(
unsigned short textOffset,
unsigned short drawLen,
void * textBufferPtr,
TEPtr pTE,
TEHandle hTE,
DrawHookUPP userUPP) __attribute__((deprecated));
# 833 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern Boolean
InvokeHitTestHookUPP(
unsigned short styleRunLen,
unsigned short styleRunOffset,
unsigned short slop,
void * textBufferPtr,
TEPtr pTE,
TEHandle hTE,
unsigned short * pixelWidth,
unsigned short * charOffset,
Boolean * pixelInChar,
HitTestHookUPP userUPP) __attribute__((deprecated));
# 854 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeTEFindWordUPP(
unsigned short currentPos,
short caller,
TEPtr pTE,
TEHandle hTE,
unsigned short * wordStart,
unsigned short * wordEnd,
TEFindWordUPP userUPP) __attribute__((deprecated));
# 872 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeTERecalcUPP(
TEPtr pTE,
unsigned short changeLength,
unsigned short * lineStart,
unsigned short * firstChar,
unsigned short * lastChar,
TERecalcUPP userUPP) __attribute__((deprecated));
# 889 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern void
InvokeTEDoTextUPP(
TEPtr pTE,
unsigned short firstChar,
unsigned short lastChar,
short selector,
GrafPtr * currentGrafPort,
short * charPosition,
TEDoTextUPP userUPP) __attribute__((deprecated));
# 907 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
extern Boolean
InvokeTEClickLoopUPP(
TEPtr pTE,
TEClickLoopUPP userUPP) __attribute__((deprecated));
# 960 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
#define NewHighHookUPP(userRoutine) ((HighHookUPP)userRoutine)
#define NewEOLHookUPP(userRoutine) ((EOLHookUPP)userRoutine)
#define NewCaretHookUPP(userRoutine) ((CaretHookUPP)userRoutine)
#define NewWidthHookUPP(userRoutine) ((WidthHookUPP)userRoutine)
#define NewTextWidthHookUPP(userRoutine) ((TextWidthHookUPP)userRoutine)
#define NewNWidthHookUPP(userRoutine) ((NWidthHookUPP)userRoutine)
#define NewDrawHookUPP(userRoutine) ((DrawHookUPP)userRoutine)
#define NewHitTestHookUPP(userRoutine) ((HitTestHookUPP)userRoutine)
#define NewTEFindWordUPP(userRoutine) ((TEFindWordUPP)userRoutine)
#define NewTERecalcUPP(userRoutine) ((TERecalcUPP)userRoutine)
#define NewTEDoTextUPP(userRoutine) ((TEDoTextUPP)userRoutine)
#define NewTEClickLoopUPP(userRoutine) ((TEClickLoopUPP)userRoutine)
#define DisposeHighHookUPP(userUPP)
#define DisposeEOLHookUPP(userUPP)
#define DisposeCaretHookUPP(userUPP)
#define DisposeWidthHookUPP(userUPP)
#define DisposeTextWidthHookUPP(userUPP)
#define DisposeNWidthHookUPP(userUPP)
#define DisposeDrawHookUPP(userUPP)
#define DisposeHitTestHookUPP(userUPP)
#define DisposeTEFindWordUPP(userUPP)
#define DisposeTERecalcUPP(userUPP)
#define DisposeTEDoTextUPP(userUPP)
#define DisposeTEClickLoopUPP(userUPP)
#define InvokeHighHookUPP(r,pTE,userUPP) (*userUPP)(r, pTE)
#define InvokeEOLHookUPP(theChar,pTE,hTE,userUPP) (*userUPP)(theChar, pTE, hTE)
#define InvokeCaretHookUPP(r,pTE,userUPP) (*userUPP)(r, pTE)
#define InvokeWidthHookUPP(textLen,textOffset,textBufferPtr,pTE,hTE,userUPP) (*userUPP)(textLen, textOffset, textBufferPtr, pTE, hTE)
#define InvokeTextWidthHookUPP(textLen,textOffset,textBufferPtr,pTE,hTE,userUPP) (*userUPP)(textLen, textOffset, textBufferPtr, pTE, hTE)
#define InvokeNWidthHookUPP(styleRunLen,styleRunOffset,slop,direction,textBufferPtr,lineStart,pTE,hTE,userUPP) (*userUPP)(styleRunLen, styleRunOffset, slop, direction, textBufferPtr, lineStart, pTE, hTE)
#define InvokeDrawHookUPP(textOffset,drawLen,textBufferPtr,pTE,hTE,userUPP) (*userUPP)(textOffset, drawLen, textBufferPtr, pTE, hTE)
#define InvokeHitTestHookUPP(styleRunLen,styleRunOffset,slop,textBufferPtr,pTE,hTE,pixelWidth,charOffset,pixelInChar,userUPP) (*userUPP)(styleRunLen, styleRunOffset, slop, textBufferPtr, pTE, hTE, pixelWidth, charOffset, pixelInChar)
#define InvokeTEFindWordUPP(currentPos,caller,pTE,hTE,wordStart,wordEnd,userUPP) (*userUPP)(currentPos, caller, pTE, hTE, wordStart, wordEnd)
#define InvokeTERecalcUPP(pTE,changeLength,lineStart,firstChar,lastChar,userUPP) (*userUPP)(pTE, changeLength, lineStart, firstChar, lastChar)
#define InvokeTEDoTextUPP(pTE,firstChar,lastChar,selector,currentGrafPort,charPosition,userUPP) (*userUPP)(pTE, firstChar, lastChar, selector, currentGrafPort, charPosition)
#define InvokeTEClickLoopUPP(pTE,userUPP) (*userUPP)(pTE)
enum {
teFUseTextServices = 4
};
# 1996 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextEdit.h" 3
#pragma pack(pop)
# 41 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
#define __DRAG__
# 51 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
#pragma pack(push, 2)
typedef struct OpaqueDragRef* DragRef;
typedef URefCon DragItemRef;
typedef OSType FlavorType;
typedef OptionBits DragAttributes;
enum {
kDragHasLeftSenderWindow = (1L << 0),
kDragInsideSenderApplication = (1L << 1),
kDragInsideSenderWindow = (1L << 2)
};
# 82 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef OptionBits DragBehaviors;
enum {
kDragBehaviorNone = 0,
kDragBehaviorZoomBackAnimation = (1L << 0)
};
# 102 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef OptionBits DragImageFlags;
enum {
kDragRegionAndImage = 1 << 4,
# 120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
kDragDoNotScaleImage = 1 << 5
};
# 130 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
enum {
kDragStandardTranslucency = 0L,
kDragDarkTranslucency = 1L,
kDragDarkerTranslucency = 2L,
kDragOpaqueTranslucency = 3L
};
# 144 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef UInt32 FlavorFlags;
enum {
flavorSenderOnly = (1 << 0),
flavorSenderTranslated = (1 << 1),
flavorNotSaved = (1 << 2),
flavorSystemTranslated = (1 << 8),
flavorDataPromised = (1 << 9)
};
# 160 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
enum {
kFlavorTypeClippingName = 'clnm',
kFlavorTypeClippingFilename = 'clfn',
kFlavorTypeUnicodeClippingName = 'ucln',
kFlavorTypeUnicodeClippingFilename = 'uclf',
kFlavorTypeDragToTrashOnly = 'fdtt',
kFlavorTypeFinderNoTrackingBehavior = 'fntb'
};
# 176 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef OptionBits DragActions;
# 191 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
enum {
kDragActionNothing = 0L,
kDragActionCopy = 1L,
kDragActionAlias = (1L << 1),
kDragActionGeneric = (1L << 2),
kDragActionPrivate = (1L << 3),
kDragActionMove = (1L << 4),
kDragActionDelete = (1L << 5),
kDragActionAll = (UInt32)0xFFFFFFFF
};
# 245 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef OSErr ( * DragInputProcPtr)(Point *mouse, SInt16 *modifiers, void *dragInputRefCon, DragRef theDrag);
typedef DragInputProcPtr DragInputUPP;
# 255 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern DragInputUPP
NewDragInputUPP(DragInputProcPtr userRoutine) ;
# 266 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern void
DisposeDragInputUPP(DragInputUPP userUPP) ;
# 277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InvokeDragInputUPP(
Point * mouse,
SInt16 * modifiers,
void * dragInputRefCon,
DragRef theDrag,
DragInputUPP userUPP) ;
#define NewDragInputUPP(userRoutine) ((DragInputUPP)userRoutine)
#define DisposeDragInputUPP(userUPP)
#define InvokeDragInputUPP(mouse,modifiers,dragInputRefCon,theDrag,userUPP) (*userUPP)(mouse, modifiers, dragInputRefCon, theDrag)
# 890 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
enum {
kDragFlavorTypeHFS = 'hfs ',
kDragFlavorTypePromiseHFS = 'phfs',
flavorTypeHFS = kDragFlavorTypeHFS,
flavorTypePromiseHFS = kDragFlavorTypePromiseHFS
};
enum {
kDragPromisedFlavorFindFile = 'rWm1',
kDragPromisedFlavor = 'fssP'
};
enum {
kDragPseudoCreatorVolumeOrDirectory = 'MACS',
kDragPseudoFileTypeVolume = 'disk',
kDragPseudoFileTypeDirectory = 'fold'
};
struct HFSFlavor {
OSType fileType;
OSType fileCreator;
UInt16 fdFlags;
FSSpec fileSpec;
};
typedef struct HFSFlavor HFSFlavor;
struct PromiseHFSFlavor {
OSType fileType;
OSType fileCreator;
UInt16 fdFlags;
FlavorType promisedFlavor;
};
typedef struct PromiseHFSFlavor PromiseHFSFlavor;
typedef SInt16 DragTrackingMessage;
enum {
kDragTrackingEnterHandler = 1,
kDragTrackingEnterWindow = 2,
kDragTrackingInWindow = 3,
kDragTrackingLeaveWindow = 4,
kDragTrackingLeaveHandler = 5
};
typedef SInt16 DragRegionMessage;
enum {
kDragRegionBegin = 1,
kDragRegionDraw = 2,
kDragRegionHide = 3,
kDragRegionIdle = 4,
kDragRegionEnd = 5
};
typedef SInt16 ZoomAcceleration;
enum {
kZoomNoAcceleration = 0,
kZoomAccelerate = 1,
kZoomDecelerate = 2
};
# 962 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
enum {
kDragStandardDropLocationTrash = 'trsh',
kDragStandardDropLocationUnknown = 'unkn'
};
typedef OSType StandardDropLocation;
typedef OSErr ( * DragSendDataProcPtr)(FlavorType theType, void *dragSendRefCon, DragItemRef theItemRef, DragRef theDrag);
typedef OSErr ( * DragTrackingHandlerProcPtr)(DragTrackingMessage message, WindowRef theWindow, void *handlerRefCon, DragRef theDrag);
typedef OSErr ( * DragReceiveHandlerProcPtr)(WindowRef theWindow, void *handlerRefCon, DragRef theDrag);
typedef OSErr ( * DragDrawingProcPtr)(DragRegionMessage message, RgnHandle showRegion, Point showOrigin, RgnHandle hideRegion, Point hideOrigin, void *dragDrawingRefCon, DragRef theDrag);
typedef DragSendDataProcPtr DragSendDataUPP;
typedef DragTrackingHandlerProcPtr DragTrackingHandlerUPP;
typedef DragReceiveHandlerProcPtr DragReceiveHandlerUPP;
typedef DragDrawingProcPtr DragDrawingUPP;
# 996 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern DragSendDataUPP
NewDragSendDataUPP(DragSendDataProcPtr userRoutine) __attribute__((deprecated));
# 1007 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern DragTrackingHandlerUPP
NewDragTrackingHandlerUPP(DragTrackingHandlerProcPtr userRoutine) __attribute__((deprecated));
# 1018 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern DragReceiveHandlerUPP
NewDragReceiveHandlerUPP(DragReceiveHandlerProcPtr userRoutine) __attribute__((deprecated));
# 1029 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern DragDrawingUPP
NewDragDrawingUPP(DragDrawingProcPtr userRoutine) __attribute__((deprecated));
# 1040 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern void
DisposeDragSendDataUPP(DragSendDataUPP userUPP) __attribute__((deprecated));
# 1051 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern void
DisposeDragTrackingHandlerUPP(DragTrackingHandlerUPP userUPP) __attribute__((deprecated));
# 1062 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern void
DisposeDragReceiveHandlerUPP(DragReceiveHandlerUPP userUPP) __attribute__((deprecated));
# 1073 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern void
DisposeDragDrawingUPP(DragDrawingUPP userUPP) __attribute__((deprecated));
# 1084 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InvokeDragSendDataUPP(
FlavorType theType,
void * dragSendRefCon,
DragItemRef theItemRef,
DragRef theDrag,
DragSendDataUPP userUPP) __attribute__((deprecated));
# 1100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InvokeDragTrackingHandlerUPP(
DragTrackingMessage message,
WindowRef theWindow,
void * handlerRefCon,
DragRef theDrag,
DragTrackingHandlerUPP userUPP) __attribute__((deprecated));
# 1116 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InvokeDragReceiveHandlerUPP(
WindowRef theWindow,
void * handlerRefCon,
DragRef theDrag,
DragReceiveHandlerUPP userUPP) __attribute__((deprecated));
# 1131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
extern OSErr
InvokeDragDrawingUPP(
DragRegionMessage message,
RgnHandle showRegion,
Point showOrigin,
RgnHandle hideRegion,
Point hideOrigin,
void * dragDrawingRefCon,
DragRef theDrag,
DragDrawingUPP userUPP) __attribute__((deprecated));
# 1157 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
#define NewDragSendDataUPP(userRoutine) ((DragSendDataUPP)userRoutine)
#define NewDragTrackingHandlerUPP(userRoutine) ((DragTrackingHandlerUPP)userRoutine)
#define NewDragReceiveHandlerUPP(userRoutine) ((DragReceiveHandlerUPP)userRoutine)
#define NewDragDrawingUPP(userRoutine) ((DragDrawingUPP)userRoutine)
#define DisposeDragSendDataUPP(userUPP)
#define DisposeDragTrackingHandlerUPP(userUPP)
#define DisposeDragReceiveHandlerUPP(userUPP)
#define DisposeDragDrawingUPP(userUPP)
#define InvokeDragSendDataUPP(theType,dragSendRefCon,theItemRef,theDrag,userUPP) (*userUPP)(theType, dragSendRefCon, theItemRef, theDrag)
#define InvokeDragTrackingHandlerUPP(message,theWindow,handlerRefCon,theDrag,userUPP) (*userUPP)(message, theWindow, handlerRefCon, theDrag)
#define InvokeDragReceiveHandlerUPP(theWindow,handlerRefCon,theDrag,userUPP) (*userUPP)(theWindow, handlerRefCon, theDrag)
#define InvokeDragDrawingUPP(message,showRegion,showOrigin,hideRegion,hideOrigin,dragDrawingRefCon,theDrag,userUPP) (*userUPP)(message, showRegion, showOrigin, hideRegion, hideOrigin, dragDrawingRefCon, theDrag)
# 1876 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
typedef DragRef DragReference;
typedef DragItemRef ItemReference;
# 1917 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Drag.h" 3
#pragma pack(pop)
# 45 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 2 3
# 60 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
#pragma pack(push, 2)
enum {
kControlDefProcType = 'CDEF',
kControlTemplateResourceType = 'CNTL',
kControlColorTableResourceType = 'cctb',
kControlDefProcResourceType = 'CDEF'
};
struct ControlTemplate {
Rect controlRect;
SInt16 controlValue;
Boolean controlVisible;
UInt8 fill;
SInt16 controlMaximum;
SInt16 controlMinimum;
SInt16 controlDefProcID;
SInt32 controlReference;
Str255 controlTitle;
};
typedef struct ControlTemplate ControlTemplate;
typedef ControlTemplate * ControlTemplatePtr;
typedef ControlTemplatePtr * ControlTemplateHandle;
typedef SInt16 ControlPartCode;
typedef void ( * ControlActionProcPtr)(ControlRef theControl, ControlPartCode partCode);
typedef ControlActionProcPtr ControlActionUPP;
# 130 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlActionUPP
NewControlActionUPP(ControlActionProcPtr userRoutine) ;
# 141 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DisposeControlActionUPP(ControlActionUPP userUPP) ;
# 152 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
InvokeControlActionUPP(
ControlRef theControl,
ControlPartCode partCode,
ControlActionUPP userUPP) ;
#define NewControlActionUPP(userRoutine) ((ControlActionUPP)userRoutine)
#define DisposeControlActionUPP(userUPP)
#define InvokeControlActionUPP(theControl,partCode,userUPP) (*userUPP)(theControl, partCode)
enum {
cFrameColor = 0,
cBodyColor = 1,
cTextColor = 2,
cThumbColor = 3,
kNumberCtlCTabEntries = 4
};
struct CtlCTab {
SInt32 ccSeed;
SInt16 ccRider;
SInt16 ctSize;
ColorSpec ctTable[4];
};
typedef struct CtlCTab CtlCTab;
typedef CtlCTab * CCTabPtr;
typedef CCTabPtr * CCTabHandle;
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
typedef SInt16 ControlVariant;
enum {
kControlNoVariant = 0,
kControlUsesOwningWindowsFontVariant = 1 << 3
};
enum {
kControlNoPart = kAppearancePartMetaNone,
kControlIndicatorPart = kAppearancePartIndicator,
kControlDisabledPart = kAppearancePartMetaDisabled,
kControlInactivePart = kAppearancePartMetaInactive
};
enum {
kControlEntireControl = kControlNoPart
};
# 251 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
# 268 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlStructureMetaPart = -1,
# 278 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlContentMetaPart = -2,
# 293 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlOpaqueMetaPart = -3,
# 313 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlClickableMetaPart = -4
};
enum {
kControlFocusNoPart = kControlNoPart,
kControlFocusNextPart = -1,
kControlFocusPrevPart = -2
};
typedef ControlPartCode ControlFocusPart;
# 342 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlCollectionTagBounds = 'boun',
kControlCollectionTagValue = 'valu',
kControlCollectionTagMinimum = 'min ',
kControlCollectionTagMaximum = 'max ',
kControlCollectionTagViewSize = 'view',
kControlCollectionTagVisibility = 'visi',
kControlCollectionTagRefCon = 'refc',
kControlCollectionTagTitle = 'titl',
kControlCollectionTagUnicodeTitle = 'uttl',
kControlCollectionTagIDSignature = 'idsi',
kControlCollectionTagIDID = 'idid',
kControlCollectionTagCommand = 'cmd ',
kControlCollectionTagVarCode = 'varc'
};
# 422 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlContentTextOnly = 0,
kControlNoContent = 0,
kControlContentIconSuiteRes = 1,
kControlContentCIconRes = 2,
kControlContentPictRes = 3,
kControlContentICONRes = 4,
# 471 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlContentAlertIconRes = 5,
kControlContentIconSuiteHandle = 129,
kControlContentCIconHandle = 130,
kControlContentPictHandle = 131,
kControlContentIconRef = 132,
kControlContentICON = 133,
kControlContentCGImageRef = 134
};
typedef SInt16 ControlContentType;
struct ControlImageContentInfo {
ControlContentType contentType;
union {
SInt16 resID;
IconRef iconRef;
CGImageRef imageRef;
# 526 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
} u;
};
typedef struct ControlImageContentInfo ControlImageContentInfo;
typedef ControlImageContentInfo * ControlImageContentInfoPtr;
typedef ControlImageContentInfo ControlButtonContentInfo;
typedef ControlButtonContentInfo * ControlButtonContentInfoPtr;
enum {
kControlKeyScriptBehaviorAllowAnyScript = 'any ',
kControlKeyScriptBehaviorPrefersRoman = 'prmn',
kControlKeyScriptBehaviorRequiresRoman = 'rrmn'
};
typedef UInt32 ControlKeyScriptBehavior;
# 560 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlFontBigSystemFont = -1,
kControlFontSmallSystemFont = -2,
kControlFontSmallBoldSystemFont = -3,
kControlFontViewSystemFont = -4,
kControlFontMiniSystemFont = -5
};
enum {
kControlUseFontMask = 0x0001,
kControlUseFaceMask = 0x0002,
kControlUseSizeMask = 0x0004,
kControlUseForeColorMask = 0x0008,
kControlUseBackColorMask = 0x0010,
kControlUseModeMask = 0x0020,
kControlUseJustMask = 0x0040,
kControlUseAllMask = 0x00FF,
kControlAddFontSizeMask = 0x0100
};
enum {
kControlAddToMetaFontMask = 0x0200
};
enum {
kControlUseThemeFontIDMask = 0x0080
};
struct ControlFontStyleRec {
SInt16 flags;
SInt16 font;
SInt16 size;
SInt16 style;
SInt16 mode;
SInt16 just;
RGBColor foreColor;
RGBColor backColor;
};
typedef struct ControlFontStyleRec ControlFontStyleRec;
typedef ControlFontStyleRec * ControlFontStylePtr;
# 622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kDoNotActivateAndIgnoreClick = 0,
kDoNotActivateAndHandleClick = 1,
kActivateAndIgnoreClick = 2,
kActivateAndHandleClick = 3
};
typedef UInt32 ClickActivationResult;
# 638 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlFontStyleTag = 'font',
kControlKeyFilterTag = 'fltr',
kControlKindTag = 'kind',
# 686 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlSizeTag = 'size',
# 703 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlContentTag = 'cont',
# 712 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlThemeTextFontTag = 'thft',
kControlThemeTextHorizontalFlushTag = 'thhf',
kControlThemeTextVerticalFlushTag = 'thvf',
kControlThemeTextTruncationTag = 'thtt',
# 740 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlThemeTextInfoTag = 'thti'
};
# 751 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlSupportsGhosting = 1 << 0,
kControlSupportsEmbedding = 1 << 1,
kControlSupportsFocus = 1 << 2,
kControlWantsIdle = 1 << 3,
kControlWantsActivate = 1 << 4,
kControlHandlesTracking = 1 << 5,
kControlSupportsDataAccess = 1 << 6,
kControlHasSpecialBackground = 1 << 7,
kControlGetsFocusOnClick = 1 << 8,
kControlSupportsCalcBestRect = 1 << 9,
kControlSupportsLiveFeedback = 1 << 10,
kControlHasRadioBehavior = 1 << 11,
kControlSupportsDragAndDrop = 1 << 12,
kControlAutoToggles = 1 << 14,
kControlSupportsGetRegion = 1 << 17,
kControlSupportsFlattening = 1 << 19,
kControlSupportsSetCursor = 1 << 20,
kControlSupportsContextualMenus = 1 << 21,
kControlSupportsClickActivation = 1 << 22,
kControlIdlesWithTimer = 1 << 23,
# 782 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlInvertsUpDownValueMeaning = 1 << 24
};
# 843 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlSizeNormal = 0,
# 858 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlSizeSmall = 1,
kControlSizeLarge = 2,
# 874 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlSizeMini = 3,
# 884 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
kControlSizeAuto = 0xFFFF
};
typedef UInt16 ControlSize;
enum {
kDrawControlEntireControl = 0,
kDrawControlIndicatorOnly = 129
};
# 910 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
struct IndicatorDragConstraint {
Rect limitRect;
Rect slopRect;
DragConstraint axis;
};
typedef struct IndicatorDragConstraint IndicatorDragConstraint;
typedef IndicatorDragConstraint * IndicatorDragConstraintPtr;
# 1117 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlKeyFilterBlockKey = 0,
kControlKeyFilterPassKey = 1
};
typedef SInt16 ControlKeyFilterResult;
typedef ControlKeyFilterResult ( * ControlKeyFilterProcPtr)(ControlRef theControl, SInt16 *keyCode, SInt16 *charCode, EventModifiers *modifiers);
typedef ControlKeyFilterProcPtr ControlKeyFilterUPP;
# 1133 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlKeyFilterUPP
NewControlKeyFilterUPP(ControlKeyFilterProcPtr userRoutine) ;
# 1144 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern void
DisposeControlKeyFilterUPP(ControlKeyFilterUPP userUPP) ;
# 1155 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
extern ControlKeyFilterResult
InvokeControlKeyFilterUPP(
ControlRef theControl,
SInt16 * keyCode,
SInt16 * charCode,
EventModifiers * modifiers,
ControlKeyFilterUPP userUPP) ;
#define NewControlKeyFilterUPP(userRoutine) ((ControlKeyFilterUPP)userRoutine)
#define DisposeControlKeyFilterUPP(userUPP)
#define InvokeControlKeyFilterUPP(theControl,keyCode,charCode,modifiers,userUPP) (*userUPP)(theControl, keyCode, charCode, modifiers)
# 1181 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
noConstraint = kNoConstraint,
hAxisOnly = 1,
vAxisOnly = 2
};
# 2888 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
struct ControlID {
OSType signature;
SInt32 id;
};
typedef struct ControlID ControlID;
# 3023 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
struct ControlKind {
OSType signature;
OSType kind;
};
typedef struct ControlKind ControlKind;
enum {
kControlKindSignatureApple = 'appl'
};
# 3089 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kControlPropertyPersistent = 0x00000001
};
# 4079 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
enum {
kDragTrackingEnterControl = 2,
kDragTrackingInControl = 3,
kDragTrackingLeaveControl = 4
};
# 4728 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h" 3
#pragma pack(pop)
# 21 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define __CARBONEVENTS__
# 40 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define __MACWINDOWS__
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#pragma pack(push, 2)
# 64 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef WindowRef HIWindowRef;
typedef OSType PropertyCreator;
typedef OSType PropertyTag;
# 87 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowClass;
enum {
# 105 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kAlertWindowClass = 1,
# 122 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kMovableAlertWindowClass = 2,
# 139 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kModalWindowClass = 3,
# 159 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kMovableModalWindowClass = 4,
# 177 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kFloatingWindowClass = 5,
# 192 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kDocumentWindowClass = 6,
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kUtilityWindowClass = 8,
# 225 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHelpWindowClass = 10,
# 248 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kSheetWindowClass = 11,
# 267 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kToolbarWindowClass = 12,
# 284 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kPlainWindowClass = 13,
# 327 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kOverlayWindowClass = 14,
# 351 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kSheetAlertWindowClass = 15,
# 370 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kAltPlainWindowClass = 16,
# 386 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kSimpleWindowClass = 18,
# 403 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kDrawerWindowClass = 20,
# 412 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kAllWindowClasses = (UInt32)0xFFFFFFFF
};
# 424 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowBitCloseBox = 1,
# 443 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitZoomBox = 2,
# 453 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitCollapseBox = 4,
kHIWindowBitResizable = 5,
kHIWindowBitSideTitlebar = 6,
kHIWindowBitToolbarButton = 7,
# 488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitUnifiedTitleAndToolbar = 8,
# 498 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitTextured = 9,
kHIWindowBitNoTitleBar = 10,
# 519 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitTexturedSquareCorners = 11,
kHIWindowBitNoTexturedContentSeparator = 12,
# 540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitRoundBottomBarCorners = 13,
kHIWindowBitDoesNotCycle = 16,
kHIWindowBitNoUpdates = 17,
kHIWindowBitNoActivates = 18,
kHIWindowBitOpaqueForEvents = 19,
# 577 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitCompositing = 20,
# 590 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitFrameworkScaled = 21,
kHIWindowBitNoShadow = 22,
# 609 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitCanBeVisibleWithoutLogin = 23,
# 621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitAsyncDrag = 24,
kHIWindowBitHideOnSuspend = 25,
kHIWindowBitStandardHandler = 26,
kHIWindowBitHideOnFullScreen = 27,
kHIWindowBitInWindowMenu = 28,
kHIWindowBitLiveResize = 29,
kHIWindowBitIgnoreClicks = 30,
kHIWindowBitNoConstrain = 32,
kHIWindowBitDoesNotHide = 33,
# 689 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowBitAutoViewDragTracking = 34
};
# 704 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowNoAttributes = 0L,
kWindowCloseBoxAttribute = (1L << (kHIWindowBitCloseBox - 1)),
kWindowHorizontalZoomAttribute = (1L << (kHIWindowBitZoomBox - 1)),
kWindowVerticalZoomAttribute = (1L << kHIWindowBitZoomBox),
kWindowFullZoomAttribute = (kWindowVerticalZoomAttribute | kWindowHorizontalZoomAttribute),
kWindowCollapseBoxAttribute = (1L << (kHIWindowBitCollapseBox - 1)),
kWindowResizableAttribute = (1L << (kHIWindowBitResizable - 1)),
kWindowSideTitlebarAttribute = (1L << (kHIWindowBitSideTitlebar - 1)),
kWindowToolbarButtonAttribute = (1L << (kHIWindowBitToolbarButton - 1)),
kWindowUnifiedTitleAndToolbarAttribute = (1L << (kHIWindowBitUnifiedTitleAndToolbar - 1)),
kWindowMetalAttribute = (1L << (kHIWindowBitTextured - 1)),
kWindowNoTitleBarAttribute = (1L << (kHIWindowBitNoTitleBar - 1)),
kWindowTexturedSquareCornersAttribute = (1L << (kHIWindowBitTexturedSquareCorners - 1)),
kWindowMetalNoContentSeparatorAttribute = (1L << (kHIWindowBitNoTexturedContentSeparator - 1)),
kWindowHasRoundBottomBarCornersAttribute = (1L << (kHIWindowBitRoundBottomBarCorners - 1)),
kWindowDoesNotCycleAttribute = (1L << (kHIWindowBitDoesNotCycle - 1)),
kWindowNoUpdatesAttribute = (1L << (kHIWindowBitNoUpdates - 1)),
kWindowNoActivatesAttribute = (1L << (kHIWindowBitNoActivates - 1)),
kWindowOpaqueForEventsAttribute = (1L << (kHIWindowBitOpaqueForEvents - 1)),
kWindowCompositingAttribute = (1L << (kHIWindowBitCompositing - 1)),
kWindowNoShadowAttribute = (1L << (kHIWindowBitNoShadow - 1)),
kWindowCanBeVisibleWithoutLoginAttribute = (1L << (kHIWindowBitCanBeVisibleWithoutLogin - 1)),
kWindowHideOnSuspendAttribute = (1L << (kHIWindowBitHideOnSuspend - 1)),
kWindowAsyncDragAttribute = (1L << (kHIWindowBitAsyncDrag - 1)),
kWindowStandardHandlerAttribute = (1L << (kHIWindowBitStandardHandler - 1)),
kWindowHideOnFullScreenAttribute = (1L << (kHIWindowBitHideOnFullScreen - 1)),
kWindowInWindowMenuAttribute = (1L << (kHIWindowBitInWindowMenu - 1)),
kWindowLiveResizeAttribute = (1L << (kHIWindowBitLiveResize - 1)),
kWindowIgnoreClicksAttribute = (1L << (kHIWindowBitIgnoreClicks - 1)),
kWindowFrameworkScaledAttribute = (1L << (kHIWindowBitFrameworkScaled - 1)),
kWindowStandardDocumentAttributes = (kWindowCloseBoxAttribute | kWindowFullZoomAttribute | kWindowCollapseBoxAttribute | kWindowResizableAttribute),
kWindowStandardFloatingAttributes = (kWindowCloseBoxAttribute | kWindowCollapseBoxAttribute)
};
enum
{
kWindowNoConstrainAttribute = 0x80000000
};
typedef OptionBits WindowAttributes;
enum {
kWindowDefProcType = 'WDEF'
};
enum {
kStandardWindowDefinition = 0,
kRoundWindowDefinition = 1,
kFloatingWindowDefinition = 124
};
enum {
kDocumentWindowVariantCode = 0,
kModalDialogVariantCode = 1,
kPlainDialogVariantCode = 2,
kShadowDialogVariantCode = 3,
kMovableModalDialogVariantCode = 5,
kAlertVariantCode = 7,
kMovableAlertVariantCode = 9,
kSideFloaterVariantCode = 8
};
enum {
documentProc = 0,
dBoxProc = 1,
plainDBox = 2,
altDBoxProc = 3,
noGrowDocProc = 4,
movableDBoxProc = 5,
zoomDocProc = 8,
zoomNoGrow = 12,
floatProc = 1985,
floatGrowProc = 1987,
floatZoomProc = 1989,
floatZoomGrowProc = 1991,
floatSideProc = 1993,
floatSideGrowProc = 1995,
floatSideZoomProc = 1997,
floatSideZoomGrowProc = 1999
};
enum {
kWindowDocumentDefProcResID = 64,
kWindowDialogDefProcResID = 65,
kWindowUtilityDefProcResID = 66,
kWindowUtilitySideTitleDefProcResID = 67,
kWindowSheetDefProcResID = 68,
kWindowSimpleDefProcResID = 69,
kWindowSheetAlertDefProcResID = 70
};
enum {
kWindowDocumentProc = 1024,
kWindowGrowDocumentProc = 1025,
kWindowVertZoomDocumentProc = 1026,
kWindowVertZoomGrowDocumentProc = 1027,
kWindowHorizZoomDocumentProc = 1028,
kWindowHorizZoomGrowDocumentProc = 1029,
kWindowFullZoomDocumentProc = 1030,
kWindowFullZoomGrowDocumentProc = 1031
};
enum {
kWindowPlainDialogProc = 1040,
kWindowShadowDialogProc = 1041,
kWindowModalDialogProc = 1042,
kWindowMovableModalDialogProc = 1043,
kWindowAlertProc = 1044,
kWindowMovableAlertProc = 1045
};
enum {
kWindowMovableModalGrowProc = 1046
};
enum {
kWindowFloatProc = 1057,
kWindowFloatGrowProc = 1059,
kWindowFloatVertZoomProc = 1061,
kWindowFloatVertZoomGrowProc = 1063,
kWindowFloatHorizZoomProc = 1065,
kWindowFloatHorizZoomGrowProc = 1067,
kWindowFloatFullZoomProc = 1069,
kWindowFloatFullZoomGrowProc = 1071
};
enum {
kWindowFloatSideProc = 1073,
kWindowFloatSideGrowProc = 1075,
kWindowFloatSideVertZoomProc = 1077,
kWindowFloatSideVertZoomGrowProc = 1079,
kWindowFloatSideHorizZoomProc = 1081,
kWindowFloatSideHorizZoomGrowProc = 1083,
kWindowFloatSideFullZoomProc = 1085,
kWindowFloatSideFullZoomGrowProc = 1087
};
enum {
kWindowSheetProc = 1088,
kWindowSheetAlertProc = 1120
};
enum {
kWindowSimpleProc = 1104,
kWindowSimpleFrameProc = 1105
};
enum {
kWindowOverlayProc = 1136
};
# 1045 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowNoPosition = 0x0000,
kWindowDefaultPosition = 0x0000,
kWindowCenterMainScreen = 0x280A,
kWindowAlertPositionMainScreen = 0x300A,
kWindowStaggerMainScreen = 0x380A,
kWindowCenterParentWindow = 0xA80A,
kWindowAlertPositionParentWindow = 0xB00A,
kWindowStaggerParentWindow = 0xB80A,
kWindowCenterParentWindowScreen = 0x680A,
kWindowAlertPositionParentWindowScreen = 0x700A,
kWindowStaggerParentWindowScreen = 0x780A
};
# 1077 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowPositionMethod;
enum {
kWindowCenterOnMainScreen = 1,
kWindowCenterOnParentWindow = 2,
# 1098 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowCenterOnParentWindowScreen = 3,
kWindowCascadeOnMainScreen = 4,
kWindowCascadeOnParentWindow = 5,
# 1118 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowCascadeOnParentWindowScreen = 6,
# 1127 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowCascadeStartAtParentWindowScreen = 10,
kWindowAlertPositionOnMainScreen = 7,
kWindowAlertPositionOnParentWindow = 8,
# 1147 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowAlertPositionOnParentWindowScreen = 9
};
typedef UInt16 WindowRegionCode;
enum {
kWindowTitleBarRgn = 0,
kWindowTitleTextRgn = 1,
kWindowCloseBoxRgn = 2,
kWindowZoomBoxRgn = 3,
kWindowDragRgn = 5,
kWindowGrowRgn = 6,
kWindowCollapseBoxRgn = 7,
kWindowTitleProxyIconRgn = 8,
kWindowStructureRgn = 32,
kWindowContentRgn = 33,
kWindowUpdateRgn = 34,
kWindowOpaqueRgn = 35,
kWindowGlobalPortRgn = 40,
kWindowToolbarButtonRgn = 41
};
enum {
dialogKind = 2,
userKind = 8,
kDialogWindowKind = 2,
kApplicationWindowKind = 8
};
typedef SInt16 WindowPartCode;
enum {
inDesk = 0,
inNoWindow = 0,
inMenuBar = 1,
inSysWindow = 2,
inContent = 3,
inDrag = 4,
inGrow = 5,
inGoAway = 6,
inZoomIn = 7,
inZoomOut = 8,
inCollapseBox = 11,
inProxyIcon = 12,
inToolbarButton = 13,
inStructure = 15
};
typedef SInt16 WindowDefPartCode;
enum {
wNoHit = 0,
wInContent = 1,
wInDrag = 2,
wInGrow = 3,
wInGoAway = 4,
wInZoomIn = 5,
wInZoomOut = 6,
wInCollapseBox = 9,
wInProxyIcon = 10,
wInToolbarButton = 11,
wInStructure = 13
};
# 1240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowCanGrow = (1 << 0),
kWindowCanZoom = (1 << 1),
kWindowCanCollapse = (1 << 2),
kWindowIsModal = (1 << 3),
# 1276 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowCanGetWindowRegion = (1 << 4),
kWindowIsAlert = (1 << 5),
kWindowHasTitleBar = (1 << 6),
kWindowSupportsDragHilite = (1 << 7),
kWindowSupportsModifiedBit = (1 << 8),
kWindowCanDrawInCurrentPort = (1 << 9),
kWindowCanSetupProxyDragImage = (1 << 10),
kWindowCanMeasureTitle = (1 << 11),
kWindowWantsDisposeAtProcessDeath = (1 << 12),
kWindowSupportsGetGrowImageRegion = (1 << 13),
# 1347 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowIsOpaque = (1 << 14),
kWindowDefSupportsColorGrafPort = 0x40000002
};
enum {
kMouseUpOutOfSlop = (long)0x80008000
};
#define kFirstWindowOfClass ((WindowRef)(-1))
#define kLastWindowOfClass ((WindowRef)0)
struct WStateData {
Rect userState;
Rect stdState;
};
typedef struct WStateData WStateData;
typedef WStateData * WStateDataPtr;
typedef WStateDataPtr * WStateDataHandle;
typedef void * WindowDefUPP;
# 1453 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowDefProcPtr = 0,
kWindowDefObjectClass = 1,
kWindowDefProcID = 2,
kWindowDefHIView = 3
};
typedef UInt32 WindowDefType;
struct WindowDefSpec {
WindowDefType defType;
union {
WindowDefUPP defProc;
void * classRef;
short procID;
void * rootView;
} u;
};
typedef struct WindowDefSpec WindowDefSpec;
typedef WindowDefSpec * WindowDefSpecPtr;
# 2162 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowBackingLocationDefault = 0,
kHIWindowBackingLocationVideoMemory = 1,
kHIWindowBackingLocationMainMemory = 2
};
typedef UInt32 HIWindowBackingLocation;
# 2321 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowSharingNone = 0,
kHIWindowSharingReadOnly = 1,
kHIWindowSharingReadWrite = 2
};
typedef UInt32 HIWindowSharingType;
# 2418 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowModality;
enum {
kWindowModalityNone = 0,
kWindowModalitySystemModal = 1,
kWindowModalityAppModal = 2,
kWindowModalityWindowModal = 3
};
# 2625 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef struct OpaqueWindowGroupRef* WindowGroupRef;
#define kFirstWindowOfGroup ((WindowRef)(-1))
#define kLastWindowOfGroup ((WindowRef)NULL)
#define kFirstWindowGroup ((WindowGroupRef)(-1))
#define kLastWindowGroup ((WindowGroupRef)NULL)
typedef UInt32 WindowGroupAttributes;
enum {
kWindowGroupAttrSelectAsLayer = 1 << 0,
kWindowGroupAttrMoveTogether = 1 << 1,
# 2664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowGroupAttrLayerTogether = 1 << 2,
kWindowGroupAttrSharedActivation = 1 << 3,
# 2681 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowGroupAttrHideOnCollapse = 1 << 4,
kWindowGroupAttrFixedLevel = 1 << 5
};
# 2701 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowActivationScope;
enum {
# 2712 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowActivationScopeNone = 0,
kWindowActivationScopeIndependent = 1,
kWindowActivationScopeAll = 2
};
enum {
kNextWindowGroup = 1,
kPreviousWindowGroup = 0
};
# 2761 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowGroupContentOptions;
enum {
kWindowGroupContentsReturnWindows = 1 << 0,
kWindowGroupContentsRecurse = 1 << 1,
kWindowGroupContentsVisible = 1 << 2
};
# 3151 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
# 3162 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowGroupLevelActive = 1,
kWindowGroupLevelInactive = 2,
# 3183 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowGroupLevelPromoted = 3
};
# 3940 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define kUserFocusAuto ((WindowRef)(-1))
# 4297 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 ScrollWindowOptions;
enum {
kScrollWindowNoOptions = 0,
kScrollWindowInvalidate = (1L << 0),
kScrollWindowEraseToPortBackground = (1L << 1)
};
# 4378 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowIgnoreObscuringWindows = 1 << 0
};
# 4600 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowMenuIncludeRotate = 1 << 0
};
# 4616 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowMenuCreator = 'wind',
# 4631 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowMenuWindowTag = 'wind'
};
# 6070 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowTransitionEffect;
enum {
kWindowZoomTransitionEffect = 1,
kWindowSheetTransitionEffect = 2,
kWindowSlideTransitionEffect = 3,
kWindowFadeTransitionEffect = 4,
kWindowGenieTransitionEffect = 5
};
# 6115 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowTransitionAction;
enum {
# 6127 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowShowTransitionAction = 1,
# 6138 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowHideTransitionAction = 2,
kWindowMoveTransitionAction = 3,
kWindowResizeTransitionAction = 4
};
# 6276 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
struct TransitionWindowOptions {
UInt32 version;
# 6290 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
EventTime duration;
WindowRef window;
void * userData;
};
typedef struct TransitionWindowOptions TransitionWindowOptions;
# 7675 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowConstrainOptions;
enum {
kWindowConstrainMayResize = (1L << 0),
kWindowConstrainMoveRegardlessOfFit = (1L << 1),
kWindowConstrainAllowPartial = (1L << 2),
kWindowConstrainCalcOnly = (1L << 3),
kWindowConstrainUseTransitionWindow = (1L << 4),
# 7716 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowConstrainMoveMinimum = (1L << 6),
# 7729 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kWindowConstrainUseSpecifiedBounds = (1L << 8),
kWindowConstrainStandardOptions = kWindowConstrainMoveRegardlessOfFit
};
# 8120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 WindowLatentVisibility;
enum {
kWindowLatentVisibleFloater = 1 << 0,
kWindowLatentVisibleSuspend = 1 << 1,
kWindowLatentVisibleFullScreen = 1 << 2,
kWindowLatentVisibleAppHidden = 1 << 3,
kWindowLatentVisibleCollapsedOwner = 1 << 4,
kWindowLatentVisibleCollapsedGroup = 1 << 5
};
# 8228 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kHIWindowExposeHidden = 1 << 0,
kHIWindowCanJoinAllSpaces = 1 << 8,
# 8254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIWindowMoveToActiveSpace = 1 << 9,
kHIWindowVisibleInAllSpaces = kHIWindowCanJoinAllSpaces
};
typedef OptionBits HIWindowAvailability;
# 8659 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowEdgeDefault = 0,
kWindowEdgeTop = 1 << 0,
kWindowEdgeLeft = 1 << 1,
kWindowEdgeBottom = 1 << 2,
kWindowEdgeRight = 1 << 3
};
enum {
kWindowDrawerOpening = 1,
kWindowDrawerOpen = 2,
kWindowDrawerClosing = 3,
kWindowDrawerClosed = 4
};
typedef UInt32 WindowDrawerState;
# 8919 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#define kWindowOffsetUnchanged ((float)(-1.0))
# 9479 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
# 9492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
kHIToolbarViewDrawBackgroundTag = 'back'
};
# 9678 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef UInt32 HIWindowScaleMode;
enum {
kHIWindowScaleModeUnscaled = 0,
kHIWindowScaleModeMagnified = 1,
kHIWindowScaleModeFrameworkScaled = 2
};
# 9764 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
struct HIContentBorderMetrics {
CGFloat top;
CGFloat left;
CGFloat bottom;
CGFloat right;
};
typedef struct HIContentBorderMetrics HIContentBorderMetrics;
# 9959 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowPropertyPersistent = 0x00000001
};
# 10483 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowMsgDraw = 0,
kWindowMsgHitTest = 1,
kWindowMsgCalculateShape = 2,
kWindowMsgInitialize = 3,
kWindowMsgCleanUp = 4,
kWindowMsgDrawGrowOutline = 5,
kWindowMsgDrawGrowBox = 6
};
enum {
kWindowMsgGetFeatures = 7,
kWindowMsgGetRegion = 8
};
enum {
kWindowMsgDragHilite = 9,
kWindowMsgModified = 10,
kWindowMsgDrawInCurrentPort = 11,
kWindowMsgSetupProxyDragImage = 12,
kWindowMsgStateChanged = 13,
kWindowMsgMeasureTitle = 14
};
enum {
kWindowMsgGetGrowImageRegion = 19
};
enum {
wDraw = kWindowMsgDraw,
wHit = kWindowMsgHitTest,
wCalcRgns = kWindowMsgCalculateShape,
wNew = kWindowMsgInitialize,
wDispose = kWindowMsgCleanUp,
wGrow = kWindowMsgDrawGrowOutline,
wDrawGIcon = kWindowMsgDrawGrowBox
};
enum {
kWindowStateTitleChanged = (1 << 0)
};
# 10543 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
struct SetupWindowProxyDragImageRec {
GWorldPtr imageGWorld;
RgnHandle imageRgn;
RgnHandle outlineRgn;
};
typedef struct SetupWindowProxyDragImageRec SetupWindowProxyDragImageRec;
struct MeasureWindowTitleRec {
SInt16 fullTitleWidth;
SInt16 titleTextWidth;
Boolean isUnicodeTitle;
Boolean unused;
};
typedef struct MeasureWindowTitleRec MeasureWindowTitleRec;
typedef MeasureWindowTitleRec * MeasureWindowTitleRecPtr;
struct GetGrowImageRegionRec {
Rect growRect;
RgnHandle growImageRegion;
};
typedef struct GetGrowImageRegionRec GetGrowImageRegionRec;
struct GetWindowRegionRec {
RgnHandle winRgn;
WindowRegionCode regionCode;
};
typedef struct GetWindowRegionRec GetWindowRegionRec;
typedef GetWindowRegionRec * GetWindowRegionPtr;
typedef GetWindowRegionRec * GetWindowRegionRecPtr;
enum {
deskPatID = 16
};
enum {
wContentColor = 0,
wFrameColor = 1,
wTextColor = 2,
wHiliteColor = 3,
wTitleBarColor = 4
};
struct WinCTab {
long wCSeed;
short wCReserved;
short ctSize;
ColorSpec ctTable[5];
};
typedef struct WinCTab WinCTab;
typedef WinCTab * WCTabPtr;
typedef WCTabPtr * WCTabHandle;
# 10690 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowDefinitionVersionOne = 1,
kWindowDefinitionVersionTwo = 2
};
enum {
kWindowIsCollapsedState = (1 << 0L)
};
struct BasicWindowDescription {
UInt32 descriptionSize;
Rect windowContentRect;
Rect windowZoomRect;
URefCon windowRefCon;
UInt32 windowStateFlags;
WindowPositionMethod windowPositionMethod;
UInt32 windowDefinitionVersion;
union {
struct {
SInt16 windowDefProc;
Boolean windowHasCloseBox;
} versionOne;
struct {
WindowClass windowClass;
WindowAttributes windowAttributes;
} versionTwo;
} windowDefinition;
};
typedef struct BasicWindowDescription BasicWindowDescription;
enum {
kStoredWindowSystemTag = 'appl',
kStoredBasicWindowDescriptionID = 'sbas',
kStoredWindowPascalTitleID = 's255',
kStoredWindowTitleCFStringID = 'cfst'
};
# 10739 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
typedef void ( * DeskHookProcPtr)(Boolean mouseClick, EventRecord *theEvent);
typedef OSStatus ( * WindowPaintProcPtr)(GDHandle device, GrafPtr qdContext, WindowRef window, RgnHandle inClientPaintRgn, RgnHandle outSystemPaintRgn, void *refCon);
typedef DeskHookProcPtr DeskHookUPP;
typedef WindowPaintProcPtr WindowPaintUPP;
# 10767 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern WindowPaintUPP
NewWindowPaintUPP(WindowPaintProcPtr userRoutine) __attribute__((deprecated));
# 10787 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern void
DisposeWindowPaintUPP(WindowPaintUPP userUPP) __attribute__((deprecated));
# 10807 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
extern OSStatus
InvokeWindowPaintUPP(
GDHandle device,
GrafPtr qdContext,
WindowRef window,
RgnHandle inClientPaintRgn,
RgnHandle outSystemPaintRgn,
void * refCon,
WindowPaintUPP userUPP) __attribute__((deprecated));
#define NewWindowPaintUPP(userRoutine) ((WindowPaintUPP)userRoutine)
#define DisposeWindowPaintUPP(userUPP)
#define InvokeWindowPaintUPP(device,qdContext,window,inClientPaintRgn,outSystemPaintRgn,refCon,userUPP) (*userUPP)(device, qdContext, window, inClientPaintRgn, outSystemPaintRgn, refCon)
# 11190 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowPaintProcOptionsNone = 0
};
typedef OptionBits WindowPaintProcOptions;
# 11750 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
enum {
kWindowGroupAttrSelectable = kWindowGroupAttrSelectAsLayer,
kWindowGroupAttrPositionFixed = kWindowGroupAttrMoveTogether,
kWindowGroupAttrZOrderFixed = kWindowGroupAttrLayerTogether
};
# 11765 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 3
#pragma pack(pop)
# 41 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 2 3
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#pragma pack(push, 2)
enum {
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kEventParamPostTarget = 'ptrg',
typeEventTargetRef = 'etrg',
# 104 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kEventParamPostOptions = 'popt',
typeEventTargetOptions = 'etop'
};
# 146 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventParamWindowRef = 'wind',
kEventParamGrafPort = 'graf',
kEventParamMenuRef = 'menu',
kEventParamEventRef = 'evnt',
kEventParamControlRef = 'ctrl',
kEventParamRgnHandle = 'rgnh',
kEventParamEnabled = 'enab',
kEventParamDimensions = 'dims',
kEventParamBounds = 'boun',
kEventParamAvailableBounds = 'avlb',
kEventParamAEEventID = keyAEEventID,
kEventParamAEEventClass = keyAEEventClass,
kEventParamCGContextRef = 'cntx',
kEventParamCGImageRef = 'cgim',
kEventParamDeviceDepth = 'devd',
kEventParamDeviceColor = 'devc',
kEventParamMutableArray = 'marr',
kEventParamResult = 'ansr',
kEventParamMinimumSize = 'mnsz',
kEventParamMaximumSize = 'mxsz',
kEventParamAttributes = 'attr',
kEventParamReason = 'why?',
kEventParamTransactionID = 'trns',
kEventParamDisplayDevice = 'gdev',
kEventParamGDevice = kEventParamDisplayDevice,
kEventParamIndex = 'indx',
kEventParamUserData = 'usrd',
kEventParamShape = 'shap',
typeWindowRef = 'wind',
typeGrafPtr = 'graf',
typeGWorldPtr = 'gwld',
typeMenuRef = 'menu',
typeControlRef = 'ctrl',
typeCollection = 'cltn',
typeQDRgnHandle = 'rgnh',
typeOSStatus = 'osst',
typeCFIndex = 'cfix',
typeCGContextRef = 'cntx',
typeCGImageRef = 'cgim',
typeHIPoint = 'hipt',
typeHISize = 'hisz',
typeHIRect = 'hirc',
typeHIShapeRef = 'shap',
typeVoidPtr = 'void',
typeGDHandle = 'gdev',
typeCGDisplayID = 'cgid',
typeCGFloat = 'cgfl',
typeHIPoint72DPIGlobal = 'hipg',
typeHIPointScreenPixel = 'hips',
typeHISize72DPIGlobal = 'hisg',
typeHISizeScreenPixel = 'hiss',
typeHIRect72DPIGlobal = 'hirg',
typeHIRectScreenPixel = 'hirs',
typeCGFloat72DPIGlobal = 'hifg',
typeCGFloatScreenPixel = 'hifs',
kEventParamDisplayChangeFlags = 'cgdp',
typeCGDisplayChangeFlags = 'cgdf'
};
# 310 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum
{
typeRefCon = typeVoidPtr
};
# 323 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum
{
typeByteCount = typeUInt64,
typeByteOffset = typeUInt64,
typeSignedByteCount = typeSInt64,
typeSignedByteOffset = typeSInt64
};
# 343 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventParamMouseLocation = 'mloc',
kEventParamWindowMouseLocation = 'wmou',
kEventParamMouseButton = 'mbtn',
kEventParamClickCount = 'ccnt',
kEventParamMouseWheelAxis = 'mwax',
kEventParamMouseWheelDelta = 'mwdl',
kEventParamMouseWheelSmoothVerticalDelta = 'saxy',
kEventParamMouseWheelSmoothHorizontalDelta = 'saxx',
kEventParamMouseDelta = 'mdta',
kEventParamMouseChord = 'chor',
kEventParamTabletEventType = 'tblt',
kEventParamMouseTrackingRef = 'mtrf',
typeMouseButton = 'mbtn',
typeMouseWheelAxis = 'mwax',
typeMouseTrackingRef = 'mtrf'
};
enum {
kEventParamKeyCode = 'kcod',
kEventParamKeyMacCharCodes = 'kchr',
kEventParamKeyModifiers = 'kmod',
kEventParamKeyUnicodes = 'kuni',
kEventParamKeyboardType = 'kbdt',
typeEventHotKeyID = 'hkid'
};
enum {
kEventParamTSMSendRefCon = 'tsrc',
kEventParamTSMSendComponentInstance = 'tsci'
};
enum {
kEventParamTextInputSendRefCon = kEventParamTSMSendRefCon,
kEventParamTextInputSendComponentInstance = kEventParamTSMSendComponentInstance,
kEventParamTextInputSendSLRec = 'tssl',
kEventParamTextInputReplySLRec = 'trsl',
kEventParamTextInputSendText = 'tstx',
kEventParamTextInputReplyText = 'trtx',
kEventParamTextInputSendAttributedString = 'tsas',
kEventParamTextInputReplyAttributedString = 'tras',
kEventParamTextInputSendUpdateRng = 'tsup',
kEventParamTextInputSendHiliteRng = 'tshi',
kEventParamTextInputSendClauseRng = 'tscl',
kEventParamTextInputSendPinRng = 'tspn',
kEventParamTextInputSendFixLen = 'tsfx',
kEventParamTextInputSendLeadingEdge = 'tsle',
kEventParamTextInputReplyLeadingEdge = 'trle',
kEventParamTextInputSendTextOffset = 'tsto',
kEventParamTextInputReplyTextOffset = 'trto',
kEventParamTextInputReplyRegionClass = 'trrg',
kEventParamTextInputSendCurrentPoint = 'tscp',
kEventParamTextInputSendDraggingMode = 'tsdm',
kEventParamTextInputReplyPoint = 'trpt',
kEventParamTextInputReplyFont = 'trft',
kEventParamTextInputReplyFMFont = 'trfm',
kEventParamTextInputReplyPointSize = 'trpz',
kEventParamTextInputReplyLineHeight = 'trlh',
kEventParamTextInputReplyLineAscent = 'trla',
kEventParamTextInputReplyCTFontRef = 'trcf',
kEventParamTextInputReplyATSFont = 'traf',
kEventParamTextInputReplyTextAngle = 'trta',
kEventParamTextInputSendShowHide = 'tssh',
kEventParamTextInputReplyShowHide = 'trsh',
kEventParamTextInputSendKeyboardEvent = 'tske',
kEventParamTextInputSendTextServiceEncoding = 'tsse',
kEventParamTextInputSendTextServiceMacEncoding = 'tssm',
kEventParamTextInputReplyMacEncoding = 'trme',
kEventParamTextInputGlyphInfoArray = 'glph',
kEventParamTextInputSendGlyphInfoArray = kEventParamTextInputGlyphInfoArray,
kEventParamTextInputReplyGlyphInfoArray = 'rgph',
kEventParamTextInputSendReplaceRange = 'tsrp',
kEventParamTextInputSendMouseEvent = 'tsme'
};
enum {
kEventParamTSMDocAccessSendRefCon = kEventParamTSMSendRefCon,
kEventParamTSMDocAccessSendComponentInstance = kEventParamTSMSendComponentInstance,
kEventParamTSMDocAccessCharacterCount = 'tdct',
kEventParamTSMDocAccessReplyCharacterRange = 'tdrr',
kEventParamTSMDocAccessReplyCharactersPtr = 'tdrp',
kEventParamTSMDocAccessSendCharacterIndex = 'tdsi',
kEventParamTSMDocAccessSendCharacterRange = 'tdsr',
kEventParamTSMDocAccessSendCharactersPtr = 'tdsp',
kEventParamTSMDocAccessRequestedCharacterAttributes = 'tdca',
kEventParamTSMDocAccessReplyCTFontRef = 'tdcf',
kEventParamTSMDocAccessReplyATSFont = 'tdaf',
kEventParamTSMDocAccessReplyFontSize = 'tdrs',
kEventParamTSMDocAccessEffectiveRange = 'tder',
kEventParamTSMDocAccessReplyCTGlyphInfoRef = 'tdri',
kEventParamTSMDocAccessReplyATSUGlyphSelector = 'tdrg',
kEventParamTSMDocAccessLockCount = 'tdlc',
kEventParamTSMDocAccessLineBounds = 'tdlb',
kEventParamTSMDocAccessBaselineDelta = 'tdbd',
typeATSFontRef = 'atsf',
typeGlyphSelector = 'glfs'
};
enum {
kEventParamHICommand = 'hcmd',
typeHICommand = 'hcmd'
};
enum {
kEventParamWindowFeatures = 'wftr',
kEventParamWindowDefPart = 'wdpc',
kEventParamWindowPartCode = 'wpar',
kEventParamCurrentBounds = 'crct',
kEventParamOriginalBounds = 'orct',
kEventParamPreviousBounds = 'prct',
kEventParamClickActivation = 'clac',
kEventParamWindowRegionCode = 'wshp',
kEventParamWindowContentBounds = 'wcbn',
kEventParamWindowDragHiliteFlag = 'wdhf',
kEventParamWindowModifiedFlag = 'wmff',
kEventParamWindowProxyGWorldPtr = 'wpgw',
kEventParamWindowProxyImageRgn = 'wpir',
kEventParamWindowProxyOutlineRgn = 'wpor',
kEventParamWindowStateChangedFlags = 'wscf',
kEventParamWindowTitleFullWidth = 'wtfw',
kEventParamWindowTitleTextWidth = 'wttw',
kEventParamWindowGrowRect = 'grct',
kEventParamPreviousDockRect = 'pdrc',
kEventParamPreviousDockDevice = 'pdgd',
kEventParamCurrentDockRect = 'cdrc',
kEventParamCurrentDockDevice = 'cdgd',
kEventParamWindowTransitionAction = 'wtac',
kEventParamWindowTransitionEffect = 'wtef',
typeWindowRegionCode = 'wshp',
typeWindowDefPartCode = 'wdpt',
typeWindowPartCode = 'wpar',
typeClickActivationResult = 'clac',
typeWindowTransitionAction = 'wtac',
typeWindowTransitionEffect = 'wtef'
};
enum {
kEventParamControlPart = 'cprt',
kEventParamInitCollection = 'icol',
kEventParamControlMessage = 'cmsg',
kEventParamControlParam = 'cprm',
kEventParamControlResult = 'crsl',
kEventParamControlRegion = 'crgn',
kEventParamControlAction = 'caup',
kEventParamControlIndicatorDragConstraint = 'cidc',
kEventParamControlIndicatorRegion = 'cirn',
kEventParamControlIsGhosting = 'cgst',
kEventParamControlIndicatorOffset = 'ciof',
kEventParamControlClickActivationResult = 'ccar',
kEventParamControlSubControl = 'csub',
kEventParamControlOptimalBounds = 'cobn',
kEventParamControlOptimalBaselineOffset = 'cobo',
kEventParamControlDataTag = 'cdtg',
kEventParamControlDataBuffer = 'cdbf',
kEventParamControlDataBufferSize = 'cdbs',
kEventParamControlDrawDepth = 'cddp',
kEventParamControlDrawInColor = 'cdic',
kEventParamControlDrawEngraved = 'cden',
kEventParamControlFeatures = 'cftr',
kEventParamControlPartBounds = 'cpbd',
kEventParamControlOriginalOwningWindow = 'coow',
kEventParamControlCurrentOwningWindow = 'ccow',
kEventParamControlFocusEverything = 'cfev',
kEventParamNextControl = 'cnxc',
kEventParamStartControl = 'cstc',
kEventParamControlSubview = 'csvw',
kEventParamControlPreviousPart = 'copc',
kEventParamControlCurrentPart = 'cnpc',
kEventParamControlInvalRgn = 'civr',
kEventParamControlValue = 'cval',
kEventParamControlHit = 'chit',
kEventParamControlPartAutoRepeats = 'caur',
kEventParamControlFrameMetrics = 'cfmt',
kEventParamControlWouldAcceptDrop = 'cldg',
kEventParamControlPrefersShape = 'cpsh',
typeControlActionUPP = 'caup',
typeIndicatorDragConstraint = 'cidc',
typeControlPartCode = 'cprt',
typeControlFrameMetrics = 'cins'
};
enum {
kEventParamCurrentMenuTrackingMode = 'cmtm',
kEventParamNewMenuTrackingMode = 'nmtm',
kEventParamMenuFirstOpen = '1sto',
kEventParamMenuItemIndex = 'item',
kEventParamMenuCommand = 'mcmd',
kEventParamEnableMenuForKeyEvent = 'fork',
kEventParamMenuEventOptions = 'meop',
kEventParamMenuContext = 'mctx',
kEventParamMenuDismissed = 'mdis',
kEventParamMenuItemBounds = 'mitb',
kEventParamMenuMarkBounds = 'mmkb',
kEventParamMenuIconBounds = 'micb',
kEventParamMenuTextBounds = 'mtxb',
kEventParamMenuTextBaseline = 'mtbl',
kEventParamMenuCommandKeyBounds = 'mcmb',
kEventParamMenuVirtualTop = 'mvrt',
kEventParamMenuVirtualBottom = 'mvrb',
kEventParamMenuDrawState = 'mdrs',
kEventParamMenuItemType = 'mitp',
kEventParamMenuItemWidth = 'mitw',
kEventParamMenuItemHeight = 'mith',
kEventParamMenuFrameView = 'mfrv',
kEventParamMenuType = 'mtyp',
kEventParamMenuIsPopup = 'mpop',
kEventParamMenuDirection = 'mdir',
kEventParamParentMenu = 'mprm',
kEventParamParentMenuItem = 'mpri',
kEventParamMenuPopupItem = 'mpit',
kEventParamMenuContextHeight = 'mcht',
typeMenuItemIndex = 'midx',
typeMenuCommand = 'mcmd',
typeMenuTrackingMode = 'mtmd',
typeMenuEventOptions = 'meop',
typeThemeMenuState = 'tmns',
typeThemeMenuItemType = 'tmit',
typeMenuDirection = 'mdir',
typeThemeMenuType = 'tmty'
};
enum {
kEventParamProcessID = 'psn ',
kEventParamLaunchRefCon = 'lref',
kEventParamLaunchErr = 'err ',
kEventParamSystemUIMode = 'uimd',
kEventParamIsInInstantMouser = 'imou',
kEventParamPreviousWindow = 'prvw',
kEventParamCurrentWindow = 'curw'
};
enum {
kEventParamTabletPointRec = 'tbrc',
kEventParamTabletProximityRec = 'tbpx',
typeTabletPointRec = 'tbrc',
typeTabletProximityRec = 'tbpx'
};
enum {
kEventParamNewScrollBarVariant = 'nsbv'
};
enum {
kEventParamPasteboardRef = 'pbrd',
kEventParamScrapRef = 'scrp',
kEventParamServiceCopyTypes = 'svsd',
kEventParamServicePasteTypes = 'svpt',
kEventParamServiceMessageName = 'svmg',
kEventParamServiceUserData = 'svud',
typePasteboardRef = 'pbrd',
typeScrapRef = 'scrp'
};
enum {
kEventParamAccessibleObject = 'aobj',
kEventParamAccessibleChild = 'achl',
kEventParamAccessibleAttributeName = 'atnm',
kEventParamAccessibleAttributeNames = 'atns',
kEventParamAccessibleAttributeValue = 'atvl',
kEventParamAccessibleAttributeSettable = 'atst',
kEventParamAccessibleAttributeParameter = 'atpa',
kEventParamAccessibleActionName = 'acnm',
kEventParamAccessibleActionNames = 'acns',
kEventParamAccessibleActionDescription = 'acds',
kEventParamAccessibilityEventQueued = 'aequ'
};
enum {
typeCFRange = 'cfrn'
};
enum {
kEventParamAppleEvent = 'aevt',
kEventParamAppleEventReply = 'aerp'
};
# 671 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
typedef UInt16 MouseTrackingResult;
enum {
kMouseTrackingMouseDown = 1,
kMouseTrackingMouseUp = 2,
kMouseTrackingMouseExited = 3,
kMouseTrackingMouseEntered = 4,
# 709 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseTrackingMouseDragged = 5,
kMouseTrackingKeyModifiersChanged = 6,
kMouseTrackingUserCancelled = 7,
kMouseTrackingTimedOut = 8,
# 740 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseTrackingMouseMoved = 9,
kMouseTrackingClientEvent = 10,
# 758 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseTrackingScrollWheel = 11
};
# 768 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kTrackMouseLocationOptionDontConsumeMouseUp = (1 << 0),
kTrackMouseLocationOptionIncludeScrollWheel = (1 << 3)
};
# 804 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern Boolean
CheckEventQueueForUserCancel(void) ;
# 828 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern Boolean
IsUserCancelEventRef(EventRef event) ;
# 1049 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
# 1059 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseParamsSticky = 'stic',
# 1072 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseParamsProxyIcon = 'prox',
# 1084 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseParamsClickAndHold = 'clho',
# 1094 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMouseParamsDragInitiation = 'drag'
};
# 1133 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
HIMouseTrackingGetParameters(
OSType inSelector,
EventTime * outTime,
HISize * outDistance) ;
# 1321 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventClassMouse = 'mous',
kEventClassKeyboard = 'keyb',
kEventClassTextInput = 'text',
kEventClassApplication = 'appl',
kEventClassAppleEvent = 'eppc',
kEventClassMenu = 'menu',
kEventClassWindow = 'wind',
kEventClassControl = 'cntl',
kEventClassCommand = 'cmds',
kEventClassTablet = 'tblt',
kEventClassVolume = 'vol ',
kEventClassAppearance = 'appm',
kEventClassService = 'serv',
kEventClassToolbar = 'tbar',
kEventClassToolbarItem = 'tbit',
kEventClassToolbarItemView = 'tbiv',
kEventClassAccessibility = 'acce',
kEventClassSystem = 'macs',
kEventClassInk = 'ink ',
kEventClassTSMDocumentAccess = 'tdac'
};
# 1451 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
typedef UInt16 EventMouseButton;
enum {
kEventMouseButtonPrimary = 1,
kEventMouseButtonSecondary = 2,
kEventMouseButtonTertiary = 3
};
typedef UInt16 EventMouseWheelAxis;
enum {
kEventMouseWheelAxisX = 0,
kEventMouseWheelAxisY = 1
};
# 1567 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseDown = 1
};
# 1640 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseUp = 2
};
# 1707 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseMoved = 5
};
# 1774 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseDragged = 6
};
# 1812 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseEntered = 8
};
# 1849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseExited = 9
};
# 1916 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseWheelMoved = 10
};
# 1999 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMouseScroll = 11
};
# 2110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetLength = 1
};
# 2155 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetSelectedRange = 2
};
# 2216 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetCharactersPtr = 3
};
# 2290 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetCharactersPtrForLargestBuffer = 4
};
# 2343 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetCharacters = 5
};
# 2372 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
# 2387 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kTSMDocAccessFontSizeAttributeBit = 0,
kTSMDocAccessEffectiveRangeAttributeBit = 1
};
typedef UInt32 TSMDocAccessAttributes;
enum {
kTSMDocAccessFontSizeAttribute = 1L << kTSMDocAccessFontSizeAttributeBit,
kTSMDocAccessEffectiveRangeAttribute = 1L << kTSMDocAccessEffectiveRangeAttributeBit
};
# 2564 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetFont = 6
};
# 2661 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetGlyphInfo = 7
};
# 2736 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessGetFirstRectForRange = 11
};
# 2819 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessLockDocument = 8
};
# 2867 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTSMDocumentAccessUnlockDocument = 9
};
# 3162 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputUpdateActiveInputArea = 1
};
# 3305 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputUnicodeForKeyEvent = 2
};
# 3651 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputOffsetToPos = 3
};
# 3778 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputPosToOffset = 4
};
# 3839 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputShowHideBottomWindow = 5
};
# 3985 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputGetSelectedText = 6
};
# 4093 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputUnicodeText = 7
};
# 4152 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputFilterText = 14
};
# 4220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTextInputIsMouseEventInInlineInputArea = 16
};
# 4279 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventRawKeyDown = 1
};
# 4320 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventRawKeyRepeat = 2
};
# 4354 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventRawKeyUp = 3
};
# 4382 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventRawKeyModifiersChanged = 4
};
# 4404 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventHotKeyPressed = 5
};
# 4426 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventHotKeyReleased = 6
};
# 4439 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
# 4448 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kEventKeyModifierNumLockBit = 16,
kEventKeyModifierFnBit = 17
};
enum {
kEventKeyModifierNumLockMask = 1L << kEventKeyModifierNumLockBit,
kEventKeyModifierFnMask = 1L << kEventKeyModifierFnBit
};
# 4520 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppActivated = 1
};
# 4540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppDeactivated = 2
};
# 4571 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppQuit = 3
};
# 4614 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppLaunchNotification = 4
};
# 4639 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppLaunched = 5
};
# 4664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppTerminated = 6
};
# 4690 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFrontSwitched = 7
};
# 4710 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppHidden = 107
};
# 4730 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppShown = 108
};
# 4756 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppSystemUIModeChanged = 109
};
enum {
kAvailBoundsChangedForDock = 1 << 0,
kAvailBoundsChangedForDisplay = 1 << 1
};
# 4879 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppAvailableWindowBoundsChanged = 110
};
# 4927 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppActiveWindowChanged = 111
};
# 4962 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppGetDockTileMenu = 20
};
# 5007 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppUpdateDockTile = 21
};
# 5037 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFocusMenuBar = 8
};
# 5083 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFocusNextDocumentWindow = 9
};
# 5122 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFocusNextFloatingWindow = 10
};
# 5153 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFocusToolbar = 11
};
# 5187 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppFocusDrawer = 12
};
# 5216 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppIsEventInInstantMouser = 104
};
# 5277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppleEvent = 1
};
# 5553 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowActivated = 5
};
# 5592 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDeactivated = 6
};
# 5622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHandleActivate = 91
};
# 5652 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHandleDeactivate = 92
};
# 5727 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetClickActivation = 7
};
enum {
# 5748 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHIModalClickIsModal = 1 << 0,
kHIModalClickAllowEvent = 1 << 1,
# 5765 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHIModalClickAnnounce = 1 << 2,
# 5775 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHIModalClickRaiseWindow = 1 << 3
};
typedef UInt32 HIModalClickResult;
enum {
typeModalClickResult = 'wmcr',
typeWindowModality = 'wmod',
kEventParamModalClickResult = typeModalClickResult,
kEventParamModalWindow = 'mwin',
kEventParamWindowModality = typeWindowModality
};
# 5882 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetClickModality = 8
};
# 5899 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kWindowBoundsChangeUserDrag = (1 << 0),
kWindowBoundsChangeUserResize = (1 << 1),
kWindowBoundsChangeSizeChanged = (1 << 2),
kWindowBoundsChangeOriginChanged = (1 << 3),
# 5930 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kWindowBoundsChangeZoom = (1 << 4)
};
# 5954 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowShowing = 22
};
# 5979 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHiding = 23
};
# 6004 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowShown = 24
};
# 6037 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHidden = 25
};
# 6062 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCollapsing = 86
};
# 6087 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCollapsed = 67
};
# 6112 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowExpanding = 87
};
# 6137 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowExpanded = 70
};
# 6172 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowZoomed = 76
};
# 6234 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowBoundsChanging = 26
};
# 6277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowBoundsChanged = 27
};
# 6302 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowResizeStarted = 28
};
# 6327 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowResizeCompleted = 29
};
# 6352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDragStarted = 30
};
# 6377 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDragCompleted = 31
};
# 6410 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClosed = 73
};
# 6450 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowTransitionStarted = 88
};
# 6490 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowTransitionCompleted = 89
};
# 7325 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCursorChange = 40
};
# 7357 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCollapse = 66
};
# 7389 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCollapseAll = 68
};
# 7428 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowExpand = 69
};
# 7462 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowExpandAll = 71
};
# 7502 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowClose = 72
};
# 7531 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowCloseAll = 74
};
# 7575 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowZoom = 75
};
# 7613 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowZoomAll = 77
};
# 7701 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowContextualMenuSelect = 78
};
# 7752 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowPathSelect = 79
};
# 7796 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetIdealSize = 80
};
# 7846 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetIdealStandardState = 93
};
# 7885 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetMinimumSize = 81
};
# 7923 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetMaximumSize = 82
};
# 8065 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowConstrain = 83
};
# 8095 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowProxyBeginDrag = 128
};
# 8124 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowProxyEndDrag = 129
};
# 8255 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetDockTileMenu = 90
};
# 8291 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowUpdateDockTile = 94
};
# 8375 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowToolbarSwitchMode = 150
};
# 8409 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusAcquired = 200
};
# 8443 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusRelinquish = 201
};
# 8478 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusLost = 205
};
# 8515 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusRestored = 206
};
# 8545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusContent = 202
};
# 8575 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusToolbar = 203
};
# 8611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowFocusDrawer = 204
};
# 8643 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowSheetOpening = 210
};
# 8670 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowSheetOpened = 211
};
# 8702 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowSheetClosing = 212
};
# 8729 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowSheetClosed = 213
};
# 8761 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawerOpening = 220
};
# 8788 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawerOpened = 221
};
# 8820 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawerClosing = 222
};
# 8847 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawerClosed = 223
};
# 8875 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawFrame = 1000
};
# 8904 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawPart = 1001
};
# 8960 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetRegion = 1002
};
# 8990 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowHitTest = 1003
};
# 9023 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowInit = 1004
};
# 9058 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDispose = 1005
};
# 9087 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDragHilite = 1006
};
# 9116 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowModified = 1007
};
# 9172 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowSetupProxyDragImage = 1008
};
# 9200 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowStateChanged = 1009
};
# 9229 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowMeasureTitle = 1010
};
# 9258 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowDrawGrowBox = 1011
};
# 9293 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowGetGrowImageRegion = 1012
};
# 9324 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowPaint = 1013
};
# 9356 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowAttributesChanged = 1019
};
# 9388 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventWindowTitleChanged = 1020
};
# 9437 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kMenuContextMenuBar = 1 << 0
};
# 9456 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kMenuContextPullDown = 1 << 8,
kMenuContextPopUp = 1 << 9,
kMenuContextSubmenu = 1 << 10
};
# 9485 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kMenuContextMenuBarTracking = 1 << 16,
kMenuContextPopUpTracking = 1 << 17,
kMenuContextKeyMatching = 1 << 18,
# 9514 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMenuContextMenuEnabling = 1 << 19,
# 9525 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMenuContextCommandIDSearch = 1 << 20,
# 9537 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kMenuContextInspection = 1 << 22
};
# 9556 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kMenuContextDontUpdateText = 1 << 24,
kMenuContextDontUpdateKey = 1 << 25,
kMenuContextDontUpdateIcon = 1 << 26,
kMenuContextDontUpdateEnabled = 1 << 27
};
enum {
kHIMenuRightDirection = 0,
kHIMenuLeftDirection = 1,
kHIMenuCenterDirection = 2
};
# 9646 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuBeginTracking = 1
};
# 9705 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuEndTracking = 2
};
# 9750 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuChangeTrackingMode = 3
};
# 9792 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuOpening = 4
};
# 9822 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuClosed = 5
};
# 9858 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuTargetItem = 6
};
# 9943 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuMatchKey = 7
};
# 10016 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuEnableItems = 8
};
# 10083 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuPopulate = 9
};
# 10109 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuDispose = 1001
};
# 10145 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuMeasureItemWidth = 100
};
# 10182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuMeasureItemHeight = 101
};
# 10286 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuDrawItem = 102
};
# 10392 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuDrawItemContent = 103
};
# 10457 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuCalculateSize = 1004
};
# 10497 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuCreateFrameView = 1005
};
# 10595 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuGetFrameBounds = 1006
};
# 10631 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuBecomeScrollable = 1007
};
# 10662 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuCeaseToBeScrollable = 1008
};
# 10686 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuBarShown = 2000
};
# 10710 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventMenuBarHidden = 2001
};
# 10793 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventCommandProcess = 1
};
# 10859 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventCommandUpdateStatus = 2
};
enum {
kHICommandOK = 'ok ',
kHICommandCancel = 'not!',
kHICommandQuit = 'quit',
kHICommandUndo = 'undo',
kHICommandRedo = 'redo',
kHICommandCut = 'cut ',
kHICommandCopy = 'copy',
kHICommandPaste = 'past',
kHICommandClear = 'clea',
kHICommandSelectAll = 'sall',
kHICommandHide = 'hide',
kHICommandHideOthers = 'hido',
kHICommandShowAll = 'shal',
kHICommandPreferences = 'pref',
# 10954 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandZoomWindow = 'zoom',
kHICommandMinimizeWindow = 'mini',
kHICommandMinimizeAll = 'mina',
kHICommandMaximizeWindow = 'maxi',
kHICommandMaximizeAll = 'maxa',
kHICommandArrangeInFront = 'frnt',
kHICommandBringAllToFront = 'bfrt',
# 11007 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandWindowListSeparator = 'wldv',
# 11017 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandWindowListTerminator = 'wlst',
# 11042 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandSelectWindow = 'swin',
# 11051 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandRotateWindowsForward = 'rotw',
# 11060 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandRotateWindowsBackward = 'rotb',
# 11069 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandRotateFloatingWindowsForward = 'rtfw',
# 11078 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandRotateFloatingWindowsBackward = 'rtfb',
# 11087 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandAbout = 'abou',
kHICommandNew = 'new ',
kHICommandOpen = 'open',
# 11106 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandClose = 'clos',
kHICommandCloseFile = 'clof',
kHICommandSave = 'save',
kHICommandSaveAs = 'svas',
kHICommandRevert = 'rvrt',
kHICommandPrint = 'prnt',
kHICommandPageSetup = 'page',
# 11150 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kHICommandAppHelp = 'ahlp',
kHICommandShowCharacterPalette = 'chrp',
kHICommandShowSpellingPanel = 'shsp',
kHICommandCheckSpelling = 'cksp',
kHICommandChangeSpelling = 'chsp',
kHICommandCheckSpellingAsYouType = 'aspc',
kHICommandIgnoreSpelling = 'igsp',
kHICommandLearnWord = 'lrwd'
};
# 11214 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kHICommandFromMenu = (1L << 0),
kHICommandFromControl = (1L << 1),
kHICommandFromWindow = (1L << 2)
};
# 11254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
struct HICommand {
UInt32 attributes;
UInt32 commandID;
struct {
MenuRef menuRef;
MenuItemIndex menuItemIndex;
} menu;
};
typedef struct HICommand HICommand;
# 11304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
struct HICommandExtended {
UInt32 attributes;
UInt32 commandID;
union {
ControlRef control;
WindowRef window;
struct {
MenuRef menuRef;
MenuItemIndex menuItemIndex;
} menu;
} source;
};
typedef struct HICommandExtended HICommandExtended;
# 11488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlClick = 13
};
# 11543 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlHit = 1
};
# 11577 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlInitialize = 1000
};
# 11599 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDispose = 1001
};
# 11632 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetOptimalBounds = 1003
};
# 11663 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlOptimalBoundsChanged = 1004
};
# 11707 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlSimulateHit = 2
};
# 11740 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlHitTest = 3
};
# 11803 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDraw = 4
};
# 11917 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlApplyTextColor = 6
};
# 11961 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetNextFocusCandidate = 14
};
# 11998 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetAutoToggleValue = 15
};
# 12043 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlInterceptSubviewClick = 16
};
# 12135 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetClickActivation = 17
};
# 12182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDragEnter = 18
};
# 12219 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDragWithin = 19
};
# 12254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDragLeave = 20
};
# 12286 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDragReceive = 21
};
# 12330 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlSetFocusPart = 7
};
# 12362 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetFocusPart = 8
};
# 12385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlActivate = 9
};
# 12408 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlDeactivate = 10
};
# 12448 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlSetCursor = 11
};
# 12528 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlContextualMenuClick = 12
};
# 12664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlTrack = 51
};
# 12700 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetScrollToHereStartPoint = 52
};
# 12734 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetIndicatorDragConstraint = 53
};
# 12766 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlIndicatorMoved = 54
};
# 12792 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGhostingFinished = 55
};
# 12833 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetActionProcPart = 56
};
# 12932 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetPartRegion = 101
};
# 12961 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetPartBounds = 102
};
# 13005 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlSetData = 103
};
# 13050 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetData = 104
};
# 13086 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetSizeConstraints = 105
};
# 13120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlGetFrameMetrics = 106
};
# 13144 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlValueFieldChanged = 151
};
# 13169 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlAddedSubControl = 152
};
# 13195 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlRemovingSubControl = 153
};
# 13245 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlBoundsChanged = 154
};
# 13280 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlInvalidateForSizeChange = 22
};
# 13304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlVisibilityChanged = 157
};
# 13337 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlOwningWindowChanged = 159
};
# 13359 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlTitleChanged = 158
};
# 13389 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlHiliteChanged = 160
};
# 13413 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlEnabledStateChanged = 161
};
# 13435 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlLayoutInfoChanged = 162
};
# 13468 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventControlFocusPartChanged = 164
};
# 13527 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kControlBoundsChangeSizeChanged = (1 << 2),
kControlBoundsChangePositionChanged = (1 << 3)
};
# 13570 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTabletPoint = 1
};
# 13593 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventTabletProximity = 2
};
struct TabletPointRec {
SInt32 absX;
SInt32 absY;
SInt32 absZ;
UInt16 buttons;
UInt16 pressure;
SInt16 tiltX;
SInt16 tiltY;
UInt16 rotation;
SInt16 tangentialPressure;
UInt16 deviceID;
SInt16 vendor1;
SInt16 vendor2;
SInt16 vendor3;
};
typedef struct TabletPointRec TabletPointRec;
typedef TabletPointRec TabletPointerRec;
struct TabletProximityRec {
UInt16 vendorID;
UInt16 tabletID;
UInt16 pointerID;
UInt16 deviceID;
UInt16 systemTabletID;
UInt16 vendorPointerType;
UInt32 pointerSerialNumber;
UInt64 uniqueID;
UInt32 capabilityMask;
UInt8 pointerType;
UInt8 enterProximity;
};
typedef struct TabletProximityRec TabletProximityRec;
# 13639 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
typeFSVolumeRefNum = 'voln'
};
# 13664 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventVolumeMounted = 1
};
# 13693 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventVolumeUnmounted = 2
};
# 13728 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventAppearanceScrollBarVariantChanged = 1
};
# 13792 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventServiceCopy = 1
};
# 13833 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventServicePaste = 2
};
# 13873 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventServiceGetTypes = 3
};
# 13916 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventServicePerform = 4
};
# 13963 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHIServicesMenuProviderName CFSTR("kHIServicesMenuProviderName")
# 13973 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHIServicesMenuItemName CFSTR("kHIServicesMenuItemName")
# 13984 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHIServicesMenuCharCode CFSTR("kHIServicesMenuCharCode")
# 13995 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHIServicesMenuKeyModifiers CFSTR("kHIServicesMenuKeyModifiers")
# 14069 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemTimeDateChanged = 2
};
# 14090 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemDisplaysAsleep = 3
};
# 14111 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemDisplaysAwake = 4
};
# 14142 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemDisplayReconfigured = 6
};
# 14165 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemUserSessionActivated = 10
};
# 14188 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventSystemUserSessionDeactivated = 11
};
# 14357 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern EventTargetRef
GetEventDispatcherTarget(void) ;
# 14422 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern EventTargetRef
GetEventMonitorTarget(void) ;
#define InstallApplicationEventHandler(handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( GetApplicationEventTarget(), (handler), (numTypes), (list), (userData), (outHandlerRef) )
#define InstallHIObjectEventHandler(target,handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( HIObjectGetEventTarget( target ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
#define InstallWindowEventHandler(target,handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( GetWindowEventTarget( target ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
#define InstallControlEventHandler(target,handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( GetControlEventTarget( target ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
#define InstallMenuEventHandler(target,handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( GetMenuEventTarget( target ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
#define HIViewInstallEventHandler(target,handler,numTypes,list,userData,outHandlerRef) InstallEventHandler( HIObjectGetEventTarget( (HIObjectRef) (target) ), (handler), (numTypes), (list), (userData), (outHandlerRef) )
# 14451 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define DEFINE_ONE_SHOT_HANDLER_GETTER(x) EventHandlerUPP Get ## x ## UPP() { static EventHandlerUPP sHandler = NULL; if ( sHandler == NULL ) sHandler = NewEventHandlerUPP( x ); return sHandler; }
# 14465 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define SendEventToApplication(e) SendEventToEventTarget( (e), GetApplicationEventTarget() )
#define SendEventToHIObject(e,t) SendEventToEventTarget( (e), HIObjectGetEventTarget( t ) )
#define SendEventToWindow(e,t) SendEventToEventTarget( (e), GetWindowEventTarget( t ) )
#define SendEventToControl(e,t) SendEventToEventTarget( (e), GetControlEventTarget( t ) )
#define SendEventToMenu(e,t) SendEventToEventTarget( (e), GetMenuEventTarget( t ) )
#define SendEventToUserFocus(e) SendEventToEventTarget( (e), GetUserFocusEventTarget() )
# 14714 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
struct EventHotKeyID {
OSType signature;
UInt32 id;
};
typedef struct EventHotKeyID EventHotKeyID;
typedef struct OpaqueEventHotKeyRef* EventHotKeyRef;
enum {
kEventHotKeyNoOptions = 0,
# 14754 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
kEventHotKeyExclusive = (1 << 0)
};
# 14813 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
RegisterEventHotKey(
UInt32 inHotKeyCode,
UInt32 inHotKeyModifiers,
EventHotKeyID inHotKeyID,
EventTargetRef inTarget,
OptionBits inOptions,
EventHotKeyRef * outRef) ;
# 14850 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
UnregisterEventHotKey(EventHotKeyRef inHotKey) ;
# 14863 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHISymbolicHotKeyCode CFSTR("kHISymbolicHotKeyCode")
# 14873 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHISymbolicHotKeyModifiers CFSTR("kHISymbolicHotKeyModifiers")
# 14883 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
#define kHISymbolicHotKeyEnabled CFSTR("kHISymbolicHotKeyEnabled")
# 14930 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OSStatus
CopySymbolicHotKeys(CFArrayRef * outHotKeyArray) ;
enum {
kHIHotKeyModeAllEnabled = 0,
kHIHotKeyModeAllDisabled = (1 << 0),
kHIHotKeyModeAllDisabledExceptUniversalAccess = (1 << 1)
};
# 15000 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern void *
PushSymbolicHotKeyMode(OptionBits inOptions) ;
# 15030 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern void
PopSymbolicHotKeyMode(void * inToken) ;
# 15062 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
extern OptionBits
GetSymbolicHotKeyMode(void) ;
# 15072 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventParamInkTextRef = 'iwrd',
kEventParamInkKeyboardShortcut = 'ikbd',
kEventParamInkGestureKind = 'gknd',
kEventParamInkGestureBounds = 'gbnd',
kEventParamInkGestureHotspot = 'ghot'
};
# 15110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventInkPoint = 10
};
# 15148 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventInkGesture = 11
};
# 15182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventInkText = 12
};
# 15878 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
typedef struct OpaqueToolboxObjectClassRef* ToolboxObjectClassRef;
# 15923 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h" 3
enum {
kEventParamTabletPointerRec = 'tbrc',
typeTabletPointerRec = 'tbrc'
};
enum {
kEventWindowDefDrawFrame = kEventWindowDrawFrame,
kEventWindowDefDrawPart = kEventWindowDrawPart,
kEventWindowDefGetRegion = kEventWindowGetRegion,
kEventWindowDefHitTest = kEventWindowHitTest,
kEventWindowDefInit = kEventWindowInit,
kEventWindowDefDispose = kEventWindowDispose,
kEventWindowDefDragHilite = kEventWindowDragHilite,
kEventWindowDefModified = kEventWindowModified,
kEventWindowDefSetupProxyDragImage = kEventWindowSetupProxyDragImage,
kEventWindowDefStateChanged = kEventWindowStateChanged,
kEventWindowDefMeasureTitle = kEventWindowMeasureTitle,
kEventWindowDefDrawGrowBox = kEventWindowDrawGrowBox,
kEventWindowDefGetGrowImageRegion = kEventWindowGetGrowImageRegion
};
enum {
kEventClassEPPC = kEventClassAppleEvent,
kEventHighLevelEvent = kEventAppleEvent
};
enum {
kEventUpdateActiveInputArea = kEventTextInputUpdateActiveInputArea,
kEventUnicodeForKeyEvent = kEventTextInputUnicodeForKeyEvent,
kEventOffsetToPos = kEventTextInputOffsetToPos,
kEventPosToOffset = kEventTextInputPosToOffset,
kEventShowHideBottomWindow = kEventTextInputShowHideBottomWindow,
kEventGetSelectedText = kEventTextInputGetSelectedText
};
enum {
kEventProcessCommand = kEventCommandProcess,
kEventTabletPointer = kEventTabletPoint
};
typedef UInt32 EventClassID;
typedef UInt32 EventClass;
typedef UInt32 EventType;
enum {
kMouseTrackingMousePressed = kMouseTrackingMouseDown,
kMouseTrackingMouseReleased = kMouseTrackingMouseUp
};
enum {
kEventControlGetSubviewForMouseEvent = kEventControlInterceptSubviewClick
};
#pragma pack(pop)
# 25 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
#define __HITHEME__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
#pragma pack(push, 2)
enum {
kHIThemeOrientationNormal = 0,
kHIThemeOrientationInverted = 1
};
typedef UInt32 HIThemeOrientation;
enum {
kHIThemeSplitterAdornmentNone = 0,
kHIThemeSplitterAdornmentMetal = 1
};
typedef UInt32 HIThemeSplitterAdornment;
enum {
kHIThemeGrowBoxKindNormal = 0,
kHIThemeGrowBoxKindNone = 1
};
typedef UInt32 HIThemeGrowBoxKind;
enum {
kHIThemeGrowBoxSizeNormal = 0,
kHIThemeGrowBoxSizeSmall = 1
};
typedef UInt32 HIThemeGrowBoxSize;
enum {
kHIThemeGroupBoxKindPrimary = 0,
kHIThemeGroupBoxKindSecondary = 1,
# 153 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
kHIThemeGroupBoxKindPrimaryOpaque = 3,
# 162 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
kHIThemeGroupBoxKindSecondaryOpaque = 4
};
typedef UInt32 HIThemeGroupBoxKind;
enum {
kHIThemeHeaderKindWindow = 0,
kHIThemeHeaderKindList = 1
};
typedef UInt32 HIThemeHeaderKind;
enum {
kHIThemeFrameTextFieldSquare = 0,
kHIThemeFrameListBox = 1
};
typedef UInt32 HIThemeFrameKind;
enum {
kHIThemeMenuTitleDrawCondensed = 1 << 0
};
# 227 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIScrollBarTrackInfo {
UInt32 version;
ThemeTrackEnableState enableState;
ThemeTrackPressState pressState;
CGFloat viewsize;
};
typedef struct HIScrollBarTrackInfo HIScrollBarTrackInfo;
# 261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTrackDrawInfo {
UInt32 version;
ThemeTrackKind kind;
HIRect bounds;
SInt32 min;
SInt32 max;
SInt32 value;
UInt32 reserved;
ThemeTrackAttributes attributes;
ThemeTrackEnableState enableState;
UInt8 filler1;
union {
ScrollBarTrackInfo scrollbar;
SliderTrackInfo slider;
ProgressTrackInfo progress;
} trackInfo;
};
typedef struct HIThemeTrackDrawInfo HIThemeTrackDrawInfo;
# 334 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeAnimationTimeInfo {
CFAbsoluteTime start;
CFAbsoluteTime current;
};
typedef struct HIThemeAnimationTimeInfo HIThemeAnimationTimeInfo;
# 364 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeAnimationFrameInfo {
UInt32 index;
};
typedef struct HIThemeAnimationFrameInfo HIThemeAnimationFrameInfo;
# 385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeButtonDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeButtonKind kind;
ThemeButtonValue value;
ThemeButtonAdornment adornment;
union {
HIThemeAnimationTimeInfo time;
HIThemeAnimationFrameInfo frame;
} animation;
};
typedef struct HIThemeButtonDrawInfo HIThemeButtonDrawInfo;
typedef HIThemeButtonDrawInfo * HIThemeButtonDrawInfoPtr;
# 430 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeSplitterDrawInfo {
UInt32 version;
ThemeDrawState state;
HIThemeSplitterAdornment adornment;
};
typedef struct HIThemeSplitterDrawInfo HIThemeSplitterDrawInfo;
typedef HIThemeSplitterDrawInfo * HIThemeSplitterDrawInfoPtr;
enum {
kHIThemeTabAdornmentNone = 0,
kHIThemeTabAdornmentFocus = (1 << 2),
kHIThemeTabAdornmentLeadingSeparator = (1 << 3),
kHIThemeTabAdornmentTrailingSeparator = (1 << 4)
};
typedef UInt32 HIThemeTabAdornment;
enum {
kHIThemeTabSizeNormal = 0,
kHIThemeTabSizeSmall = 1,
kHIThemeTabSizeMini = 3
};
typedef UInt32 HIThemeTabSize;
enum {
kHIThemeTabPositionFirst = 0,
kHIThemeTabPositionMiddle = 1,
kHIThemeTabPositionLast = 2,
kHIThemeTabPositionOnly = 3
};
typedef UInt32 HIThemeTabPosition;
enum {
kHIThemeTabKindNormal = 0
};
typedef UInt32 HIThemeTabKind;
# 561 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTabDrawInfo {
UInt32 version;
ThemeTabStyle style;
ThemeTabDirection direction;
HIThemeTabSize size;
HIThemeTabAdornment adornment;
HIThemeTabKind kind;
HIThemeTabPosition position;
};
typedef struct HIThemeTabDrawInfo HIThemeTabDrawInfo;
# 613 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTabDrawInfoVersionZero {
UInt32 version;
ThemeTabStyle style;
ThemeTabDirection direction;
HIThemeTabSize size;
HIThemeTabAdornment adornment;
};
typedef struct HIThemeTabDrawInfoVersionZero HIThemeTabDrawInfoVersionZero;
enum {
kHIThemeTabPaneAdornmentNormal = 0
};
typedef UInt32 HIThemeTabPaneAdornment;
# 643 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTabPaneDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeTabDirection direction;
HIThemeTabSize size;
HIThemeTabKind kind;
HIThemeTabPaneAdornment adornment;
};
typedef struct HIThemeTabPaneDrawInfo HIThemeTabPaneDrawInfo;
# 691 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTabPaneDrawInfoVersionZero {
UInt32 version;
ThemeDrawState state;
ThemeTabDirection direction;
HIThemeTabSize size;
};
typedef struct HIThemeTabPaneDrawInfoVersionZero HIThemeTabPaneDrawInfoVersionZero;
# 709 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeMenuDrawInfo {
UInt32 version;
ThemeMenuType menuType;
};
typedef struct HIThemeMenuDrawInfo HIThemeMenuDrawInfo;
typedef HIThemeMenuDrawInfo * HIThemeMenuDrawInfoPtr;
# 734 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeMenuItemDrawInfo {
UInt32 version;
ThemeMenuItemType itemType;
ThemeMenuState state;
};
typedef struct HIThemeMenuItemDrawInfo HIThemeMenuItemDrawInfo;
typedef HIThemeMenuItemDrawInfo * HIThemeMenuItemDrawInfoPtr;
# 765 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeFrameDrawInfo {
UInt32 version;
HIThemeFrameKind kind;
ThemeDrawState state;
Boolean isFocused;
};
typedef struct HIThemeFrameDrawInfo HIThemeFrameDrawInfo;
typedef HIThemeFrameDrawInfo * HIThemeFrameDrawInfoPtr;
# 801 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeGroupBoxDrawInfo {
UInt32 version;
ThemeDrawState state;
HIThemeGroupBoxKind kind;
};
typedef struct HIThemeGroupBoxDrawInfo HIThemeGroupBoxDrawInfo;
typedef HIThemeGroupBoxDrawInfo * HIThemeGroupBoxDrawInfoPtr;
# 832 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeGrabberDrawInfo {
UInt32 version;
ThemeDrawState state;
};
typedef struct HIThemeGrabberDrawInfo HIThemeGrabberDrawInfo;
typedef HIThemeGrabberDrawInfo * HIThemeGrabberDrawInfoPtr;
# 857 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemePlacardDrawInfo {
UInt32 version;
ThemeDrawState state;
};
typedef struct HIThemePlacardDrawInfo HIThemePlacardDrawInfo;
typedef HIThemePlacardDrawInfo * HIThemePlacardDrawInfoPtr;
# 882 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeHeaderDrawInfo {
UInt32 version;
ThemeDrawState state;
HIThemeHeaderKind kind;
};
typedef struct HIThemeHeaderDrawInfo HIThemeHeaderDrawInfo;
typedef HIThemeHeaderDrawInfo * HIThemeHeaderDrawInfoPtr;
# 911 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeMenuBarDrawInfo {
UInt32 version;
ThemeMenuBarState state;
OptionBits attributes;
};
typedef struct HIThemeMenuBarDrawInfo HIThemeMenuBarDrawInfo;
typedef HIThemeMenuBarDrawInfo * HIThemeMenuBarDrawInfoPtr;
# 940 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeMenuTitleDrawInfo {
UInt32 version;
ThemeMenuState state;
OptionBits attributes;
# 968 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
CGFloat condensedTitleExtra;
};
typedef struct HIThemeMenuTitleDrawInfo HIThemeMenuTitleDrawInfo;
typedef HIThemeMenuTitleDrawInfo * HIThemeMenuTitleDrawInfoPtr;
# 983 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTickMarkDrawInfo {
UInt32 version;
ThemeDrawState state;
};
typedef struct HIThemeTickMarkDrawInfo HIThemeTickMarkDrawInfo;
typedef HIThemeTickMarkDrawInfo * HIThemeTickMarkDrawInfoPtr;
# 1008 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeWindowDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeWindowType windowType;
ThemeWindowAttributes attributes;
CGFloat titleHeight;
CGFloat titleWidth;
};
typedef struct HIThemeWindowDrawInfo HIThemeWindowDrawInfo;
typedef HIThemeWindowDrawInfo * HIThemeWindowDrawInfoPtr;
# 1054 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeWindowWidgetDrawInfo {
UInt32 version;
ThemeDrawState widgetState;
ThemeTitleBarWidget widgetType;
ThemeDrawState windowState;
ThemeWindowType windowType;
ThemeWindowAttributes attributes;
CGFloat titleHeight;
CGFloat titleWidth;
};
typedef struct HIThemeWindowWidgetDrawInfo HIThemeWindowWidgetDrawInfo;
typedef HIThemeWindowWidgetDrawInfo * HIThemeWindowWidgetDrawInfoPtr;
# 1112 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeSeparatorDrawInfo {
UInt32 version;
ThemeDrawState state;
};
typedef struct HIThemeSeparatorDrawInfo HIThemeSeparatorDrawInfo;
typedef HIThemeSeparatorDrawInfo * HIThemeSeparatorDrawInfoPtr;
# 1137 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeScrollBarDelimitersDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeWindowType windowType;
ThemeWindowAttributes attributes;
};
typedef struct HIThemeScrollBarDelimitersDrawInfo HIThemeScrollBarDelimitersDrawInfo;
typedef HIThemeScrollBarDelimitersDrawInfo * HIThemeScrollBarDelimitersDrawInfoPtr;
# 1174 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeChasingArrowsDrawInfo {
UInt32 version;
ThemeDrawState state;
UInt32 index;
};
typedef struct HIThemeChasingArrowsDrawInfo HIThemeChasingArrowsDrawInfo;
typedef HIThemeChasingArrowsDrawInfo * HIThemeChasingArrowsDrawInfoPtr;
# 1205 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemePopupArrowDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeArrowOrientation orientation;
ThemePopupArrowSize size;
};
typedef struct HIThemePopupArrowDrawInfo HIThemePopupArrowDrawInfo;
typedef HIThemePopupArrowDrawInfo * HIThemePopupArrowDrawInfoPtr;
# 1241 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeGrowBoxDrawInfo {
UInt32 version;
ThemeDrawState state;
HIThemeGrowBoxKind kind;
ThemeGrowDirection direction;
HIThemeGrowBoxSize size;
};
typedef struct HIThemeGrowBoxDrawInfo HIThemeGrowBoxDrawInfo;
typedef HIThemeGrowBoxDrawInfo * HIThemeGrowBoxDrawInfoPtr;
struct HIThemeBackgroundDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeBackgroundKind kind;
};
typedef struct HIThemeBackgroundDrawInfo HIThemeBackgroundDrawInfo;
typedef HIThemeBackgroundDrawInfo * HIThemeBackgroundDrawInfoPtr;
# 1340 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawButton(
const HIRect * inBounds,
const HIThemeButtonDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation,
HIRect * outLabelRect) ;
# 1381 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetButtonShape(
const HIRect * inBounds,
const HIThemeButtonDrawInfo * inDrawInfo,
HIShapeRef * outShape) ;
# 1415 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetButtonContentBounds(
const HIRect * inBounds,
const HIThemeButtonDrawInfo * inDrawInfo,
HIRect * outBounds) ;
# 1449 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetButtonBackgroundBounds(
const HIRect * inBounds,
const HIThemeButtonDrawInfo * inDrawInfo,
HIRect * outBounds) ;
# 1490 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawChasingArrows(
const HIRect * inBounds,
const HIThemeChasingArrowsDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 1528 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawPopupArrow(
const HIRect * inBounds,
const HIThemePopupArrowDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 1568 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawMenuBarBackground(
const HIRect * inBounds,
const HIThemeMenuBarDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 1621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawMenuTitle(
const HIRect * inMenuBarRect,
const HIRect * inTitleRect,
const HIThemeMenuTitleDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation,
HIRect * outLabelRect) ;
# 1662 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawMenuBackground(
const HIRect * inMenuRect,
const HIThemeMenuDrawInfo * inMenuDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 1708 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawMenuItem(
const HIRect * inMenuRect,
const HIRect * inItemRect,
const HIThemeMenuItemDrawInfo * inItemDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation,
HIRect * outContentRect) ;
# 1752 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawMenuSeparator(
const HIRect * inMenuRect,
const HIRect * inItemRect,
const HIThemeMenuItemDrawInfo * inItemDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 1792 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetMenuBackgroundShape(
const HIRect * inMenuRect,
const HIThemeMenuDrawInfo * inMenuDrawInfo,
HIShapeRef * outShape) ;
# 1808 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
enum {
kHIThemeSegmentPositionFirst = 0,
kHIThemeSegmentPositionMiddle = 1,
kHIThemeSegmentPositionLast = 2,
kHIThemeSegmentPositionOnly = 3
};
typedef UInt32 HIThemeSegmentPosition;
enum {
kHIThemeSegmentKindNormal = 0,
kHIThemeSegmentKindInset = 1
};
typedef UInt32 HIThemeSegmentKind;
enum {
kHIThemeSegmentSizeNormal = 0,
kHIThemeSegmentSizeSmall = 1,
kHIThemeSegmentSizeMini = 3
};
typedef UInt32 HIThemeSegmentSize;
enum {
kHIThemeSegmentAdornmentNone = 0,
kHIThemeSegmentAdornmentFocus = (1 << 2),
kHIThemeSegmentAdornmentLeadingSeparator = (1 << 3),
kHIThemeSegmentAdornmentTrailingSeparator = (1 << 4)
};
typedef UInt32 HIThemeSegmentAdornment;
# 1921 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeSegmentDrawInfo {
UInt32 version;
ThemeDrawState state;
ThemeButtonValue value;
HIThemeSegmentSize size;
HIThemeSegmentKind kind;
HIThemeSegmentPosition position;
HIThemeSegmentAdornment adornment;
};
typedef struct HIThemeSegmentDrawInfo HIThemeSegmentDrawInfo;
typedef HIThemeSegmentDrawInfo * HIThemeSegmentDrawInfoPtr;
# 1992 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawSegment(
const HIRect * inBounds,
const HIThemeSegmentDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2032 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTabPane(
const HIRect * inRect,
const HIThemeTabPaneDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2072 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTab(
const HIRect * inRect,
const HIThemeTabDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation,
HIRect * outLabelRect) ;
# 2117 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTabPaneDrawShape(
const HIRect * inRect,
ThemeTabDirection inDirection,
HIThemeTabSize inTabSize,
HIShapeRef * outShape) ;
# 2161 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTabPaneContentShape(
const HIRect * inRect,
ThemeTabDirection inDirection,
HIThemeTabSize inTabSize,
HIShapeRef * outShape) ;
# 2201 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTabDrawShape(
const HIRect * inRect,
const HIThemeTabDrawInfo * inDrawInfo,
HIShapeRef * outShape) ;
# 2240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTabShape(
const HIRect * inRect,
const HIThemeTabDrawInfo * inDrawInfo,
HIShapeRef * outShape) ;
# 2253 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
enum {
kHIThemeTextTruncationNone = 0,
kHIThemeTextTruncationMiddle = 1,
kHIThemeTextTruncationEnd = 2,
kHIThemeTextTruncationDefault = 3
};
typedef UInt32 HIThemeTextTruncation;
enum {
kHIThemeTextHorizontalFlushLeft = 0,
kHIThemeTextHorizontalFlushCenter = 1,
kHIThemeTextHorizontalFlushRight = 2,
kHIThemeTextHorizontalFlushDefault = 3
};
typedef UInt32 HIThemeTextHorizontalFlush;
enum {
kHIThemeTextVerticalFlushTop = 0,
kHIThemeTextVerticalFlushCenter = 1,
kHIThemeTextVerticalFlushBottom = 2,
kHIThemeTextVerticalFlushDefault = 3
};
typedef UInt32 HIThemeTextVerticalFlush;
enum {
kHIThemeTextBoxOptionNone = 0,
kHIThemeTextBoxOptionStronglyVertical = (1 << 1),
kHIThemeTextBoxOptionEngraved = (1 << 2)
};
typedef OptionBits HIThemeTextBoxOptions;
enum {
kHIThemeTextInfoVersionZero = 0,
kHIThemeTextInfoVersionOne = 1
};
# 2377 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
struct HIThemeTextInfo {
UInt32 version;
ThemeDrawState state;
ThemeFontID fontID;
# 2402 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
HIThemeTextHorizontalFlush horizontalFlushness;
# 2412 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
HIThemeTextVerticalFlush verticalFlushness;
HIThemeTextBoxOptions options;
HIThemeTextTruncation truncationPosition;
UInt32 truncationMaxLines;
Boolean truncationHappened;
UInt8 filler1;
CTFontRef font;
};
typedef struct HIThemeTextInfo HIThemeTextInfo;
# 2518 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTextDimensions(
CFTypeRef inString,
CGFloat inWidth,
HIThemeTextInfo * inTextInfo,
CGFloat * outWidth,
CGFloat * outHeight,
CGFloat * outBaseline) ;
# 2580 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTextBox(
CFTypeRef inString,
const HIRect * inBounds,
HIThemeTextInfo * inTextInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern CTFontUIFontType
HIThemeGetUIFontType(ThemeFontID inFontID) ;
# 2663 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTrack(
const HIThemeTrackDrawInfo * inDrawInfo,
const HIRect * inGhostRect,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2707 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTrackTickMarks(
const HIThemeTrackDrawInfo * inDrawInfo,
ItemCount inNumTicks,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2750 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTickMark(
const HIRect * inBounds,
const HIThemeTickMarkDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 2786 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackThumbShape(
const HIThemeTrackDrawInfo * inDrawInfo,
HIShapeRef * outThumbShape) ;
# 2822 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern Boolean
HIThemeHitTestTrack(
const HIThemeTrackDrawInfo * inDrawInfo,
const HIPoint * inMousePoint,
ControlPartCode * outPartHit) ;
# 2852 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackBounds(
const HIThemeTrackDrawInfo * inDrawInfo,
HIRect * outBounds) ;
# 2892 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackPartBounds(
const HIThemeTrackDrawInfo * inDrawInfo,
ControlPartCode inPartCode,
HIRect * outPartBounds) ;
# 2940 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackParts(
const HIThemeTrackDrawInfo * inDrawInfo,
UInt32 * outNumberOfParts,
UInt32 inMaxParts,
ControlPartCode * ioPartsBuffer) ;
# 2971 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackDragRect(
const HIThemeTrackDrawInfo * inDrawInfo,
HIRect * outDragRect) ;
# 3004 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackThumbPositionFromOffset(
const HIThemeTrackDrawInfo * inDrawInfo,
const HIPoint * inThumbOffset,
CGFloat * outRelativePosition) ;
# 3039 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackThumbPositionFromBounds(
const HIThemeTrackDrawInfo * inDrawInfo,
const HIRect * inThumbBounds,
CGFloat * outRelativePosition) ;
# 3073 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTrackLiveValue(
const HIThemeTrackDrawInfo * inDrawInfo,
CGFloat inRelativePosition,
SInt32 * outValue) ;
# 3113 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetScrollBarTrackRect(
const HIRect * inBounds,
const HIScrollBarTrackInfo * inTrackInfo,
Boolean inIsHoriz,
HIRect * outTrackBounds) ;
# 3164 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern Boolean
HIThemeHitTestScrollBarArrows(
const HIRect * inScrollBarBounds,
const HIScrollBarTrackInfo * inTrackInfo,
Boolean inIsHoriz,
const HIPoint * inPtHit,
HIRect * outTrackBounds,
ControlPartCode * outPartCode) ;
# 3209 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawScrollBarDelimiters(
const HIRect * inContRect,
const HIThemeScrollBarDelimitersDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawWindowFrame(
const HIRect * inContRect,
const HIThemeWindowDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation,
HIRect * outTitleRect) ;
# 3307 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawTitleBarWidget(
const HIRect * inContRect,
const HIThemeWindowWidgetDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3345 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawGrowBox(
const HIPoint * inOrigin,
const HIThemeGrowBoxDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3380 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetGrowBoxBounds(
const HIPoint * inOrigin,
const HIThemeGrowBoxDrawInfo * inDrawInfo,
HIRect * outBounds) ;
# 3423 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetWindowShape(
const HIRect * inContRect,
const HIThemeWindowDrawInfo * inDrawInfo,
WindowRegionCode inWinRegion,
HIShapeRef * outShape) ;
# 3463 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern Boolean
HIThemeGetWindowRegionHit(
const HIRect * inContRect,
const HIThemeWindowDrawInfo * inDrawInfo,
const HIPoint * inPoint,
WindowRegionCode * outRegionHit) ;
# 3504 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawFrame(
const HIRect * inRect,
const HIThemeFrameDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3542 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawGroupBox(
const HIRect * inRect,
const HIThemeGroupBoxDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3582 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawGenericWell(
const HIRect * inRect,
const HIThemeButtonDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3619 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawPaneSplitter(
const HIRect * inRect,
const HIThemeSplitterDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3656 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawGrabber(
const HIRect * inRect,
const HIThemeGrabberDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3693 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawPlacard(
const HIRect * inRect,
const HIThemePlacardDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3730 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawHeader(
const HIRect * inRect,
const HIThemeHeaderDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3768 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawFocusRect(
const HIRect * inRect,
Boolean inHasFocus,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
enum {
kHIThemeFocusRingOnly = 0,
kHIThemeFocusRingAbove = 1,
kHIThemeFocusRingBelow = 2
};
typedef UInt32 HIThemeFocusRing;
# 3849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeBeginFocus(
CGContextRef inContext,
HIThemeFocusRing inRing,
void * inReserved) ;
# 3885 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeEndFocus(CGContextRef inContext) ;
# 3918 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawSeparator(
const HIRect * inRect,
const HIThemeSeparatorDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 3962 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeSetFill(
ThemeBrush inBrush,
void * inInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 4006 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeSetStroke(
ThemeBrush inBrush,
void * inInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 4050 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeSetTextFill(
ThemeTextColor inColor,
void * inInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 4095 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeApplyBackground(
const HIRect * inBounds,
const HIThemeBackgroundDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 4142 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeDrawBackground(
const HIRect * inBounds,
const HIThemeBackgroundDrawInfo * inDrawInfo,
CGContextRef inContext,
HIThemeOrientation inOrientation) ;
# 4179 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeBrushCreateCGColor(
ThemeBrush inBrush,
CGColorRef * outColor) ;
# 4228 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITheme.h" 3
extern OSStatus
HIThemeGetTextColorForThemeBrush(
ThemeBrush inBrush,
Boolean inWindowIsActive,
ThemeTextColor * outColor) ;
#pragma pack(pop)
# 33 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 2 3
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
#pragma pack(push, 2)
typedef ControlID HIViewID;
enum {
kHIViewZOrderAbove = 1,
kHIViewZOrderBelow = 2
};
typedef UInt32 HIViewZOrderOp;
# 85 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HIViewFrameMetrics {
CGFloat top;
CGFloat left;
CGFloat bottom;
CGFloat right;
};
typedef struct HIViewFrameMetrics HIViewFrameMetrics;
# 121 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHIViewAttributeSendCommandToUserFocus = 1 << 0,
# 138 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewAttributeIsFieldEditor = 1 << 1,
kHIViewSendCommandToUserFocus = kHIViewAttributeSendCommandToUserFocus
};
# 155 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHIViewFeatureSupportsGhosting = 1 << 0,
kHIViewFeatureAllowsSubviews = 1 << 1,
kHIViewFeatureGetsFocusOnClick = 1 << 8,
kHIViewFeatureSupportsLiveFeedback = 1 << 10,
kHIViewFeatureSupportsRadioBehavior = 1 << 11,
# 194 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFeatureAutoToggles = 1 << 14,
kHIViewFeatureIdlesWithTimer = 1 << 23,
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFeatureInvertsUpDownValueMeaning = 1 << 24,
kHIViewFeatureIsOpaque = 1 << 25,
# 227 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFeatureDoesNotDraw = 1 << 27,
kHIViewFeatureDoesNotUseSpecialParts = 1 << 28,
# 244 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFeatureIgnoresClicks = 1 << 29
};
# 255 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHIViewValidFeaturesForPanther = 0x3B804D03
};
# 267 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHIViewSupportsGhosting = kHIViewFeatureSupportsGhosting,
kHIViewAllowsSubviews = kHIViewFeatureAllowsSubviews,
kHIViewGetsFocusOnClick = kHIViewFeatureGetsFocusOnClick,
kHIViewSupportsLiveFeedback = kHIViewFeatureSupportsLiveFeedback,
kHIViewSupportsRadioBehavior = kHIViewFeatureSupportsRadioBehavior,
kHIViewAutoToggles = kHIViewFeatureAutoToggles,
kHIViewIdlesWithTimer = kHIViewFeatureIdlesWithTimer,
kHIViewInvertsUpDownValueMeaning = kHIViewFeatureInvertsUpDownValueMeaning,
kHIViewIsOpaque = kHIViewFeatureIsOpaque,
kHIViewDoesNotDraw = kHIViewFeatureDoesNotDraw,
kHIViewDoesNotUseSpecialParts = kHIViewFeatureDoesNotUseSpecialParts,
kHIViewIgnoresClicks = kHIViewFeatureIgnoresClicks
};
typedef UInt64 HIViewFeatures;
typedef ControlPartCode HIViewPartCode;
enum {
kHIViewNoPart = 0,
kHIViewIndicatorPart = 129,
kHIViewDisabledPart = 254,
kHIViewInactivePart = 255,
kHIViewEntireView = kHIViewNoPart
};
# 320 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
# 337 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewStructureMetaPart = -1,
# 347 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewContentMetaPart = -2,
# 362 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewOpaqueMetaPart = -3,
# 382 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewClickableMetaPart = -4
};
enum {
kHIViewFocusNoPart = kHIViewNoPart,
kHIViewFocusNextPart = -1,
kHIViewFocusPrevPart = -2
};
typedef ControlContentType HIViewImageContentType;
typedef ControlImageContentInfo HIViewImageContentInfo;
typedef SInt16 HIViewContentType;
enum {
kHIViewContentTextOnly = 0,
kHIViewContentNone = 0,
kHIViewContentIconSuiteRef = 129,
kHIViewContentIconRef = 132,
kHIViewContentCGImageRef = 134,
kHIViewContentImageResource = 135,
kHIViewContentImageFile = 136,
kHIViewContentIconTypeAndCreator = 137,
# 486 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewContentAlertIconType = 138,
kHIViewContentNSImage = 139
};
# 503 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HITypeAndCreator {
OSType type;
OSType creator;
};
typedef struct HITypeAndCreator HITypeAndCreator;
# 545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HIViewContentInfo {
HIViewContentType contentType;
union {
IconRef iconRef;
HITypeAndCreator iconTypeAndCreator;
CGImageRef imageRef;
CFStringRef imageResource;
CFURLRef imageFile;
} u;
};
typedef struct HIViewContentInfo HIViewContentInfo;
typedef HIViewContentInfo * HIViewContentInfoPtr;
# 579 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
# 590 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
errNeedsCompositedWindow = -30598
};
# 603 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
#define kHIViewClassID CFSTR("com.apple.hiview")
# 960 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HIViewKind {
OSType signature;
OSType kind;
};
typedef struct HIViewKind HIViewKind;
enum {
kHIViewKindSignatureApple = 'appl'
};
# 2729 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
typedef struct OpaqueHIViewTrackingAreaRef* HIViewTrackingAreaRef;
enum {
kEventParamHIViewTrackingArea = 'ctra',
typeHIViewTrackingAreaRef = 'ctra'
};
# 2771 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kEventControlTrackingAreaEntered = 23
};
# 2814 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kEventControlTrackingAreaExited = 24
};
typedef UInt64 HIViewTrackingAreaID;
# 3597 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
# 3606 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFocusOnAnyControl = 1 << 0,
# 3616 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFocusTraditionally = 1 << 1,
# 3626 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
kHIViewFocusWithoutWrapping = 1 << 2
};
# 4000 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHILayoutBindNone = 0,
kHILayoutBindMin = 1,
kHILayoutBindMax = 2,
kHILayoutBindLeft = kHILayoutBindMin,
kHILayoutBindRight = kHILayoutBindMax,
kHILayoutBindTop = kHILayoutBindMin,
kHILayoutBindBottom = kHILayoutBindMax
};
typedef UInt16 HIBindingKind;
# 4041 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HISideBinding {
HIViewRef toView;
HIBindingKind kind;
CGFloat offset;
};
typedef struct HISideBinding HISideBinding;
struct HIBinding {
HISideBinding top;
HISideBinding left;
HISideBinding bottom;
HISideBinding right;
};
typedef struct HIBinding HIBinding;
enum {
kHILayoutScaleAbsolute = 0
};
typedef UInt16 HIScaleKind;
struct HIAxisScale {
HIViewRef toView;
HIScaleKind kind;
CGFloat ratio;
};
typedef struct HIAxisScale HIAxisScale;
struct HIScaling {
HIAxisScale x;
HIAxisScale y;
};
typedef struct HIScaling HIScaling;
# 4167 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHILayoutPositionNone = 0,
kHILayoutPositionCenter = 1,
kHILayoutPositionMin = 2,
kHILayoutPositionMax = 3,
kHILayoutPositionLeft = kHILayoutPositionMin,
kHILayoutPositionRight = kHILayoutPositionMax,
kHILayoutPositionTop = kHILayoutPositionMin,
kHILayoutPositionBottom = kHILayoutPositionMax
};
typedef UInt16 HIPositionKind;
struct HIAxisPosition {
HIViewRef toView;
HIPositionKind kind;
CGFloat offset;
};
typedef struct HIAxisPosition HIAxisPosition;
struct HIPositioning {
HIAxisPosition x;
HIAxisPosition y;
};
typedef struct HIPositioning HIPositioning;
# 4270 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
struct HILayoutInfo {
UInt32 version;
HIBinding binding;
HIScaling scale;
HIPositioning position;
};
typedef struct HILayoutInfo HILayoutInfo;
enum {
kHILayoutInfoVersionZero = 0
};
# 5047 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
enum {
kHITransformNone = 0x00,
kHITransformDisabled = 0x01,
kHITransformSelected = 0x4000
};
# 5179 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIView.h" 3
#pragma pack(pop)
# 42 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextUtils.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextUtils.h" 3
#define __HITEXTUTILS__
# 46 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
#define __HIACCESSIBILITY__
# 121 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetChildAtPoint = 1
};
# 156 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetFocusedChild = 2
};
# 187 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetAllAttributeNames = 21
};
# 218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetAllParameterizedAttributeNames = 25
};
# 264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetNamedAttribute = 22
};
# 303 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleSetNamedAttribute = 23
};
# 340 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleIsNamedAttributeSettable = 24
};
# 371 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetAllActionNames = 41
};
# 424 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessiblePerformNamedAction = 42
};
# 466 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIAccessibility.h" 3
enum {
kEventAccessibleGetNamedActionDescription = 44
};
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
#define __NOTIFICATION__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
#pragma pack(push, 2)
typedef struct NMRec NMRec;
typedef NMRec * NMRecPtr;
typedef void ( * NMProcPtr)(NMRecPtr nmReqPtr);
typedef NMProcPtr NMUPP;
struct NMRec {
QElemPtr qLink;
short qType;
short nmFlags;
SRefCon nmPrivate;
short nmReserved;
short nmMark;
Handle nmIcon;
Handle nmSound;
StringPtr nmStr;
NMUPP nmResp;
SRefCon nmRefCon;
};
# 62 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
extern NMUPP
NewNMUPP(NMProcPtr userRoutine) ;
# 73 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
extern void
DisposeNMUPP(NMUPP userUPP) ;
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
extern void
InvokeNMUPP(
NMRecPtr nmReqPtr,
NMUPP userUPP) ;
#define NewNMUPP(userRoutine) ((NMUPP)userRoutine)
#define DisposeNMUPP(userUPP)
#define InvokeNMUPP(nmReqPtr,userUPP) (*userUPP)(nmReqPtr)
# 136 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Notification.h" 3
#pragma pack(pop)
# 58 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 85 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
#define __DIALOGS__
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
#pragma pack(push, 2)
enum {
kControlDialogItem = 4,
kButtonDialogItem = kControlDialogItem | 0,
kCheckBoxDialogItem = kControlDialogItem | 1,
kRadioButtonDialogItem = kControlDialogItem | 2,
kResourceControlDialogItem = kControlDialogItem | 3,
kStaticTextDialogItem = 8,
kEditTextDialogItem = 16,
kIconDialogItem = 32,
kPictureDialogItem = 64,
kUserDialogItem = 0,
kHelpDialogItem = 1,
kItemDisableBit = 128
};
enum {
ctrlItem = 4,
btnCtrl = 0,
chkCtrl = 1,
radCtrl = 2,
resCtrl = 3,
statText = 8,
editText = 16,
iconItem = 32,
picItem = 64,
userItem = 0,
itemDisable = 128
};
enum {
kStdOkItemIndex = 1,
kStdCancelItemIndex = 2,
ok = kStdOkItemIndex,
cancel = kStdCancelItemIndex
};
enum {
kStopIcon = 0,
kNoteIcon = 1,
kCautionIcon = 2,
stopIcon = kStopIcon,
noteIcon = kNoteIcon,
cautionIcon = kCautionIcon
};
# 124 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
typedef SInt16 DITLMethod;
enum {
overlayDITL = 0,
appendDITLRight = 1,
appendDITLBottom = 2
};
typedef SInt16 StageList;
typedef DialogPtr DialogRef;
# 147 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
struct DialogTemplate {
Rect boundsRect;
SInt16 procID;
Boolean visible;
Boolean filler1;
Boolean goAwayFlag;
Boolean filler2;
SInt32 refCon;
SInt16 itemsID;
Str255 title;
};
typedef struct DialogTemplate DialogTemplate;
typedef DialogTemplate * DialogTPtr;
typedef DialogTPtr * DialogTHndl;
struct AlertTemplate {
Rect boundsRect;
SInt16 itemsID;
StageList stages;
};
typedef struct AlertTemplate AlertTemplate;
typedef AlertTemplate * AlertTPtr;
typedef AlertTPtr * AlertTHndl;
typedef SInt16 DialogItemIndexZeroBased;
typedef SInt16 DialogItemIndex;
typedef SInt16 DialogItemType;
typedef void ( * SoundProcPtr)(SInt16 soundNumber);
typedef Boolean ( * ModalFilterProcPtr)(DialogRef theDialog, EventRecord *theEvent, DialogItemIndex *itemHit);
typedef Boolean ( * ModalFilterYDProcPtr)(DialogRef theDialog, EventRecord *theEvent, short *itemHit, void *yourDataPtr);
typedef void ( * UserItemProcPtr)(DialogRef theDialog, DialogItemIndex itemNo);
typedef SoundProcPtr SoundUPP;
typedef ModalFilterProcPtr ModalFilterUPP;
typedef ModalFilterYDProcPtr ModalFilterYDUPP;
typedef UserItemProcPtr UserItemUPP;
# 200 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern ModalFilterUPP
NewModalFilterUPP(ModalFilterProcPtr userRoutine) ;
# 211 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern ModalFilterYDUPP
NewModalFilterYDUPP(ModalFilterYDProcPtr userRoutine) ;
# 222 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern UserItemUPP
NewUserItemUPP(UserItemProcPtr userRoutine) ;
# 242 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DisposeModalFilterUPP(ModalFilterUPP userUPP) ;
# 253 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DisposeModalFilterYDUPP(ModalFilterYDUPP userUPP) ;
# 264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
DisposeUserItemUPP(UserItemUPP userUPP) ;
# 284 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern Boolean
InvokeModalFilterUPP(
DialogRef theDialog,
EventRecord * theEvent,
DialogItemIndex * itemHit,
ModalFilterUPP userUPP) ;
# 299 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern Boolean
InvokeModalFilterYDUPP(
DialogRef theDialog,
EventRecord * theEvent,
short * itemHit,
void * yourDataPtr,
ModalFilterYDUPP userUPP) ;
# 315 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
extern void
InvokeUserItemUPP(
DialogRef theDialog,
DialogItemIndex itemNo,
UserItemUPP userUPP) ;
# 333 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
#define NewModalFilterUPP(userRoutine) ((ModalFilterUPP)userRoutine)
#define NewModalFilterYDUPP(userRoutine) ((ModalFilterYDUPP)userRoutine)
#define NewUserItemUPP(userRoutine) ((UserItemUPP)userRoutine)
#define DisposeModalFilterUPP(userUPP)
#define DisposeModalFilterYDUPP(userUPP)
#define DisposeUserItemUPP(userUPP)
#define InvokeModalFilterUPP(theDialog,theEvent,itemHit,userUPP) (*userUPP)(theDialog, theEvent, itemHit)
#define InvokeModalFilterYDUPP(theDialog,theEvent,itemHit,yourDataPtr,userUPP) (*userUPP)(theDialog, theEvent, itemHit, yourDataPtr)
#define InvokeUserItemUPP(theDialog,itemNo,userUPP) (*userUPP)(theDialog, itemNo)
# 351 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
enum {
kAlertStopAlert = 0,
kAlertNoteAlert = 1,
kAlertCautionAlert = 2,
kAlertPlainAlert = 3
};
typedef SInt16 AlertType;
enum {
kAlertDefaultOKText = -1,
kAlertDefaultCancelText = -1,
kAlertDefaultOtherText = -1
};
enum {
kAlertStdAlertOKButton = 1,
kAlertStdAlertCancelButton = 2,
kAlertStdAlertOtherButton = 3,
kAlertStdAlertHelpButton = 4
};
# 382 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
enum {
kDialogFlagsUseThemeBackground = (1 << 0),
kDialogFlagsUseControlHierarchy = (1 << 1),
kDialogFlagsHandleMovableModal = (1 << 2),
# 414 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
kDialogFlagsUseThemeControls = (1 << 3),
# 423 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
kDialogFlagsUseCompositing = (1 << 8)
};
# 433 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
enum {
# 442 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
kAlertFlagsUseThemeBackground = (1 << 0),
kAlertFlagsUseControlHierarchy = (1 << 1),
kAlertFlagsAlertIsMovable = (1 << 2),
# 466 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
kAlertFlagsUseThemeControls = (1 << 3),
kAlertFlagsUseCompositing = (1 << 8)
};
enum {
kDialogFontNoFontStyle = 0,
kDialogFontUseFontMask = 0x0001,
kDialogFontUseFaceMask = 0x0002,
kDialogFontUseSizeMask = 0x0004,
kDialogFontUseForeColorMask = 0x0008,
kDialogFontUseBackColorMask = 0x0010,
kDialogFontUseModeMask = 0x0020,
kDialogFontUseJustMask = 0x0040,
kDialogFontUseAllMask = 0x00FF,
kDialogFontAddFontSizeMask = 0x0100,
kDialogFontUseFontNameMask = 0x0200,
kDialogFontAddToMetaFontMask = 0x0400
};
enum {
kDialogFontUseThemeFontIDMask = 0x0080
};
# 511 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
struct AlertStdAlertParamRec {
Boolean movable;
Boolean helpButton;
ModalFilterUPP filterProc;
ConstStringPtr defaultText;
ConstStringPtr cancelText;
ConstStringPtr otherText;
# 554 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
SInt16 defaultButton;
SInt16 cancelButton;
UInt16 position;
};
typedef struct AlertStdAlertParamRec AlertStdAlertParamRec;
typedef AlertStdAlertParamRec * AlertStdAlertParamPtr;
enum {
kHICommandOther = 'othr'
};
enum {
kStdCFStringAlertVersionOne = 1,
kStdCFStringAlertVersionTwo = 2
};
enum {
kStdAlertDoNotDisposeSheet = 1 << 0,
kStdAlertDoNotAnimateOnDefault = 1 << 1,
kStdAlertDoNotAnimateOnCancel = 1 << 2,
kStdAlertDoNotAnimateOnOther = 1 << 3,
# 639 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
kStdAlertDoNotCloseOnHelp = 1 << 4
};
# 655 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
struct AlertStdCFStringAlertParamRec {
UInt32 version;
Boolean movable;
Boolean helpButton;
CFStringRef defaultText;
CFStringRef cancelText;
CFStringRef otherText;
# 698 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
SInt16 defaultButton;
SInt16 cancelButton;
UInt16 position;
OptionBits flags;
IconRef icon;
};
typedef struct AlertStdCFStringAlertParamRec AlertStdCFStringAlertParamRec;
typedef AlertStdCFStringAlertParamRec * AlertStdCFStringAlertParamPtr;
# 2175 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Dialogs.h" 3
#pragma pack(pop)
# 86 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 97 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#define __TEXTSERVICES__
# 32 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
#define __AEINTERACTION__
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
typedef Boolean ( * AEIdleProcPtr)(EventRecord *theEvent, SInt32 *sleepTime, RgnHandle *mouseRgn);
typedef Boolean ( * AEFilterProcPtr)(EventRecord *theEvent, SInt32 returnID, AETransactionID transactionID, const AEAddressDesc *sender);
typedef AEIdleProcPtr AEIdleUPP;
typedef AEFilterProcPtr AEFilterUPP;
# 70 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AESend(
const AppleEvent * theAppleEvent,
AppleEvent * reply,
AESendMode sendMode,
AESendPriority sendPriority,
SInt32 timeOutInTicks,
AEIdleUPP idleProc,
AEFilterUPP filterProc) ;
# 92 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEProcessAppleEvent(const EventRecord * theEventRecord) ;
# 133 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSStatus
AEProcessEvent(EventRef inEvent) ;
# 154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEResetTimer(const AppleEvent * reply) ;
# 164 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
typedef SInt8 AEInteractAllowed;
enum {
kAEInteractWithSelf = 0,
kAEInteractWithLocal = 1,
kAEInteractWithAll = 2
};
# 182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEGetInteractionAllowed(AEInteractAllowed * level) ;
# 197 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AESetInteractionAllowed(AEInteractAllowed level) ;
# 212 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEInteractWithUser(
SInt32 timeOutInTicks,
NMRecPtr nmReqPtr,
AEIdleUPP idleProc) ;
# 240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AESuspendTheCurrentEvent(const AppleEvent * theAppleEvent) ;
# 258 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
enum {
kAEDoNotIgnoreHandler = 0x00000000,
kAEIgnoreAppPhacHandler = 0x00000001,
kAEIgnoreAppEventHandler = 0x00000002,
kAEIgnoreSysPhacHandler = 0x00000004,
kAEIgnoreSysEventHandler = 0x00000008,
kAEIngoreBuiltInEventHandler = 0x00000010,
kAEDontDisposeOnResume = (long)0x80000000
};
enum {
kAENoDispatch = 0,
kAEUseStandardDispatch = (long)0xFFFFFFFF
};
# 285 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEResumeTheCurrentEvent(
const AppleEvent * theAppleEvent,
const AppleEvent * reply,
AEEventHandlerUPP dispatcher,
SRefCon handlerRefcon) ;
# 304 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AEGetTheCurrentEvent(AppleEvent * theAppleEvent) ;
# 319 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern OSErr
AESetTheCurrentEvent(const AppleEvent * theAppleEvent) ;
# 335 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern AEIdleUPP
NewAEIdleUPP(AEIdleProcPtr userRoutine) ;
# 346 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern AEFilterUPP
NewAEFilterUPP(AEFilterProcPtr userRoutine) ;
# 357 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern void
DisposeAEIdleUPP(AEIdleUPP userUPP) ;
# 368 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern void
DisposeAEFilterUPP(AEFilterUPP userUPP) ;
# 379 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern Boolean
InvokeAEIdleUPP(
EventRecord * theEvent,
SInt32 * sleepTime,
RgnHandle * mouseRgn,
AEIdleUPP userUPP) ;
# 394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
extern Boolean
InvokeAEFilterUPP(
EventRecord * theEvent,
SInt32 returnID,
AETransactionID transactionID,
const AEAddressDesc * sender,
AEFilterUPP userUPP) ;
# 411 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/AEInteraction.h" 3
#define NewAEIdleUPP(userRoutine) ((AEIdleUPP)userRoutine)
#define NewAEFilterUPP(userRoutine) ((AEFilterUPP)userRoutine)
#define DisposeAEIdleUPP(userUPP)
#define DisposeAEFilterUPP(userUPP)
#define InvokeAEIdleUPP(theEvent,sleepTime,mouseRgn,userUPP) (*userUPP)(theEvent, sleepTime, mouseRgn)
#define InvokeAEFilterUPP(theEvent,returnID,transactionID,sender,userUPP) (*userUPP)(theEvent, returnID, transactionID, sender)
# 33 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 2 3
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#pragma pack(push, 2)
enum {
kTextService = 'tsvc'
};
# 70 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
enum {
kTSMVersion = 0x0150,
kTSM15Version = kTSMVersion,
kTSM20Version = 0x0200,
kTSM22Version = 0x0220,
kTSM23Version = 0x0230,
kTSM24Version = 0x0240
};
typedef OSType InterfaceTypeList[1];
typedef OSType TSMDocumentInterfaceType;
# 94 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
enum {
# 104 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTextServiceDocumentInterfaceType = kTextService,
kTSMTEDocumentInterfaceType = 'tmTE',
kUnicodeDocumentInterfaceType = 'udoc',
kUnicodeDocument = kUnicodeDocumentInterfaceType
};
typedef OSType TextServiceClass;
# 149 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
enum {
# 158 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kKeyboardInputMethodClass = 'inpm',
# 176 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kInkInputMethodClass = 'ink ',
# 203 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kCharacterPaletteInputMethodClass = 'cplt',
# 212 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kSpeechInputMethodClass = 'voic',
# 221 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kOCRInputMethodClass = 'ocr '
};
typedef struct OpaqueTSMDocumentID* TSMDocumentID;
# 234 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
typedef OSType TSMDocumentPropertyTag;
# 262 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
enum {
# 277 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentTextServicePropertyTag = kTextServiceDocumentInterfaceType,
kTSMDocumentUnicodePropertyTag = kUnicodeDocumentInterfaceType,
kTSMDocumentTSMTEPropertyTag = kTSMTEDocumentInterfaceType,
# 309 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentSupportGlyphInfoPropertyTag = 'dpgi',
# 321 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentUseFloatingWindowPropertyTag = 'uswm',
# 333 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentUnicodeInputWindowPropertyTag = 'dpub',
# 347 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentSupportDocumentAccessPropertyTag = 'dapy',
kTSMDocumentPropertySupportGlyphInfo = kTSMDocumentSupportGlyphInfoPropertyTag,
kTSMDocumentPropertyUnicodeInputWindow = kTSMDocumentUnicodeInputWindowPropertyTag,
# 360 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentRefconPropertyTag = 'refc',
# 378 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentInputModePropertyTag = 'imim',
# 394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentWindowLevelPropertyTag = 'twlp',
# 409 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentInputSourceOverridePropertyTag = 'inis',
# 431 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTSMDocumentEnabledInputSourcesPropertyTag = 'enis'
};
# 462 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
TSMSetDocumentProperty(
TSMDocumentID docID,
TSMDocumentPropertyTag propertyTag,
UInt32 propertySize,
void * propertyData) ;
# 498 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
TSMGetDocumentProperty(
TSMDocumentID docID,
TSMDocumentPropertyTag propertyTag,
UInt32 bufferSize,
UInt32 * actualSize,
void * propertyBuffer) ;
# 518 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern OSStatus
TSMRemoveDocumentProperty(
TSMDocumentID docID,
TSMDocumentPropertyTag propertyTag) ;
enum {
kUnknownLanguage = 0xFFFF,
kUnknownScript = 0xFFFF,
kNeutralScript = 0xFFFF
};
enum {
bTakeActiveEvent = 15,
bHandleAERecording = 16,
bScriptMask = 0x00007F00,
bLanguageMask = 0x000000FF,
bScriptLanguageMask = bScriptMask + bLanguageMask
};
enum {
kCMGetScriptLangSupport = 0x0001,
kCMInitiateTextService = 0x0002,
kCMTerminateTextService = 0x0003,
kCMActivateTextService = 0x0004,
kCMDeactivateTextService = 0x0005,
kCMTextServiceEvent = 0x0006,
kCMTextServiceEventRef = kCMTextServiceEvent,
kCMGetTextServiceMenu = 0x0007,
kCMTextServiceMenuSelect = 0x0008,
kCMFixTextService = 0x0009,
kCMSetTextServiceCursor = 0x000A,
kCMHidePaletteWindows = 0x000B,
kCMGetTextServiceProperty = 0x000C,
kCMSetTextServiceProperty = 0x000D,
kCMUCTextServiceEvent = 0x000E,
kCMCopyTextServiceInputModeList = 0x000F,
kCMInputModePaletteItemHit = 0x0010,
kCMGetInputModePaletteMenu = 0x0011
};
#define mGetScriptCode(cdRec) ((ScriptCode) ((cdRec.componentFlags & bScriptMask) >> 8))
#define mGetLanguageCode(cdRec) ((LangCode) cdRec.componentFlags & bLanguageMask)
struct TextServiceInfo {
Component fComponent;
Str255 fItemName;
};
typedef struct TextServiceInfo TextServiceInfo;
typedef TextServiceInfo * TextServiceInfoPtr;
struct TextServiceList {
short fTextServiceCount;
TextServiceInfo fServices[1];
};
typedef struct TextServiceList TextServiceList;
typedef TextServiceList * TextServiceListPtr;
typedef TextServiceListPtr * TextServiceListHandle;
struct ScriptLanguageRecord {
ScriptCode fScript;
LangCode fLanguage;
};
typedef struct ScriptLanguageRecord ScriptLanguageRecord;
struct ScriptLanguageSupport {
SInt16 fScriptLanguageCount;
ScriptLanguageRecord fScriptLanguageArray[1];
};
typedef struct ScriptLanguageSupport ScriptLanguageSupport;
typedef ScriptLanguageSupport * ScriptLanguageSupportPtr;
typedef ScriptLanguageSupportPtr * ScriptLanguageSupportHandle;
struct TSMGlyphInfo {
CFRange range;
ATSFontRef fontRef;
UInt16 collection;
UInt16 glyphID;
};
typedef struct TSMGlyphInfo TSMGlyphInfo;
struct TSMGlyphInfoArray {
ItemCount numGlyphInfo;
TSMGlyphInfo glyphInfo[1];
};
typedef struct TSMGlyphInfoArray TSMGlyphInfoArray;
# 1130 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
typedef OSType TextServicePropertyTag;
# 1146 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
enum {
# 1157 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTextServiceJaTypingMethodPropertyTag = 'jtyp',
# 1194 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
kTextServiceInputModePropertyTag = kTSMDocumentInputModePropertyTag,
kIMJaTypingMethodProperty = kTextServiceJaTypingMethodPropertyTag,
kIMJaTypingMethodRoman = 'roma',
kIMJaTypingMethodKana = 'kana'
};
typedef void * TextServicePropertyValue;
# 1217 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#define kTextServiceInputModeRoman CFSTR("com.apple.inputmethod.Roman")
#define kTextServiceInputModePassword CFSTR("com.apple.inputmethod.Password")
#define kTextServiceInputModeJapaneseHiragana CFSTR("com.apple.inputmethod.Japanese.Hiragana")
#define kTextServiceInputModeJapaneseKatakana CFSTR("com.apple.inputmethod.Japanese.Katakana")
#define kTextServiceInputModeJapaneseFullWidthRoman CFSTR("com.apple.inputmethod.Japanese.FullWidthRoman")
#define kTextServiceInputModeJapaneseHalfWidthKana CFSTR("com.apple.inputmethod.Japanese.HalfWidthKana")
#define kTextServiceInputModeJapanesePlaceName CFSTR("com.apple.inputmethod.Japanese.PlaceName")
#define kTextServiceInputModeJapaneseFirstName CFSTR("com.apple.inputmethod.Japanese.FirstName")
#define kTextServiceInputModeJapaneseLastName CFSTR("com.apple.inputmethod.Japanese.LastName")
#define kTextServiceInputModeBopomofo CFSTR("com.apple.inputmethod.TradChinese.Bopomofo")
#define kTextServiceInputModeTradChinesePlaceName CFSTR("com.apple.inputmethod.TradChinese.PlaceName")
#define kTextServiceInputModeHangul CFSTR("com.apple.inputmethod.Korean.Hangul")
#define kTextServiceInputModeJapanese CFSTR("com.apple.inputmethod.Japanese")
#define kTextServiceInputModeTradChinese CFSTR("com.apple.inputmethod.TradChinese")
#define kTextServiceInputModeSimpChinese CFSTR("com.apple.inputmethod.SimpChinese")
#define kTextServiceInputModeKorean CFSTR("com.apple.inputmethod.Korean")
# 1368 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#define kComponentBundleInputModeDictKey CFSTR("ComponentInputModeDict")
#define kTSInputModeListKey CFSTR("tsInputModeListKey")
#define kTSInputModeMenuIconFileKey CFSTR("tsInputModeMenuIconFileKey")
#define kTSInputModeAlternateMenuIconFileKey CFSTR("tsInputModeAlternateMenuIconFileKey")
#define kTSInputModePaletteIconFileKey CFSTR("tsInputModePaletteIconFileKey")
#define kTSInputModeDefaultStateKey CFSTR("tsInputModeDefaultStateKey")
#define kTSInputModeScriptKey CFSTR("tsInputModeScriptKey")
#define kTSInputModePrimaryInScriptKey CFSTR("tsInputModePrimaryInScriptKey")
#define kTSInputModeIsVisibleKey CFSTR("tsInputModeIsVisibleKey")
#define kTSInputModeKeyEquivalentModifiersKey CFSTR("tsInputModeKeyEquivalentModifiersKey")
#define kTSInputModeKeyEquivalentKey CFSTR("tsInputModeKeyEquivalentKey")
#define kTSInputModeJISKeyboardShortcutKey CFSTR("tsInputModeJISKeyboardShortcutKey")
#define kTSVisibleInputModeOrderedArrayKey CFSTR("tsVisibleInputModeOrderedArrayKey")
#define kComponentBundleInvisibleInSystemUIKey CFSTR("ComponentInvisibleInSystemUI")
# 1492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
extern TSMDocumentID
TSMGetActiveDocument(void) ;
# 1772 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#define kTSInputModePaletteItemTypeKey CFSTR("tsInputModePaletteItemTypeKey")
#define kTSInputModePaletteItemIconKey CFSTR("tsInputModePaletteItemIconKey")
#define kTSInputModePaletteItemAltIconKey CFSTR("tsInputModePaletteItemAltIconKey")
#define kTSInputModePaletteItemStateKey CFSTR("tsInputModePaletteItemStateKey")
#define kTSInputModePaletteItemEnabledKey CFSTR("tsInputModePaletteItemEnabledKey")
#define kTSInputModePaletteItemIDKey CFSTR("tsInputModePaletteItemIDKey")
# 1923 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextServices.h" 3
#define kTSInputModePaletteItemTitleKey CFSTR("tsInputModePaletteItemTitleKey")
#define kTSInputModePaletteItemKeyEquivalentKey CFSTR("tsInputModePaletteItemKeyEquivalentKey")
#define kTSInputModePaletteItemKeyEquivalentModifiersKey CFSTR("tsInputModePaletteItemKeyEquivalentModifiersKey")
#pragma pack(pop)
# 98 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
#define __SCRAP__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
#pragma pack(push, 2)
# 51 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
typedef FourCharCode ScrapFlavorType;
enum {
kScrapFlavorTypePicture = 'PICT',
kScrapFlavorTypeText = 'TEXT',
kScrapFlavorTypeTextStyle = 'styl',
kScrapFlavorTypeMovie = 'moov',
kScrapFlavorTypeSound = 'snd ',
kScrapFlavorTypeUnicode = 'utxt',
kScrapFlavorTypeUTF16External = 'ut16',
kScrapFlavorTypeUnicodeStyle = 'ustl'
};
# 126 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
enum {
kScrapFlavorSizeUnknown = -1
};
enum {
kScrapReservedFlavorType = 'srft'
};
# 155 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
enum {
kScrapFlavorMaskNone = 0x00000000,
kScrapFlavorMaskSenderOnly = 0x00000001,
kScrapFlavorMaskTranslated = 0x00000002
};
typedef UInt32 ScrapFlavorFlags;
struct ScrapFlavorInfo {
ScrapFlavorType flavorType;
ScrapFlavorFlags flavorFlags;
};
typedef struct ScrapFlavorInfo ScrapFlavorInfo;
typedef struct OpaqueScrapRef* ScrapRef;
#define kScrapRefNone ((ScrapRef)NULL)
#define kScrapClipboardScrap CFSTR("com.apple.scrap.clipboard")
#define kScrapFindScrap CFSTR("com.apple.scrap.find")
enum {
kScrapGetNamedScrap = 0,
kScrapClearNamedScrap = (1L << 0)
};
# 475 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
typedef OSStatus ( * ScrapPromiseKeeperProcPtr)(ScrapRef scrap, ScrapFlavorType flavorType, void *userData);
typedef ScrapPromiseKeeperProcPtr ScrapPromiseKeeperUPP;
# 485 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern ScrapPromiseKeeperUPP
NewScrapPromiseKeeperUPP(ScrapPromiseKeeperProcPtr userRoutine) __attribute__((deprecated));
# 496 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern void
DisposeScrapPromiseKeeperUPP(ScrapPromiseKeeperUPP userUPP) __attribute__((deprecated));
# 507 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
extern OSStatus
InvokeScrapPromiseKeeperUPP(
ScrapRef scrap,
ScrapFlavorType flavorType,
void * userData,
ScrapPromiseKeeperUPP userUPP) __attribute__((deprecated));
#define NewScrapPromiseKeeperUPP(userRoutine) ((ScrapPromiseKeeperUPP)userRoutine)
#define DisposeScrapPromiseKeeperUPP(userUPP)
#define InvokeScrapPromiseKeeperUPP(scrap,flavorType,userData,userUPP) (*userUPP)(scrap, flavorType, userData)
# 655 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Scrap.h" 3
#pragma pack(pop)
# 102 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
#define __MACTEXTEDITOR__
# 63 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
#pragma pack(push, 2)
typedef struct OpaqueTXNObject* TXNObject;
typedef UInt32 TXNVersionValue;
# 78 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNFrameID;
enum {
kTXNDisabledFunctionalityErr = -22019,
kTXNOperationNotAllowedErr = -22020
};
enum {
kTXNWillDefaultToATSUIBit = 0,
kTXNWillDefaultToCarbonEventBit = 1
};
typedef OptionBits TXNFeatureBits;
enum {
kTXNWillDefaultToATSUIMask = 1L << kTXNWillDefaultToATSUIBit,
kTXNWillDefaultToCarbonEventMask = 1L << kTXNWillDefaultToCarbonEventBit
};
# 145 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
enum {
kTXNDrawGrowIconBit = 0,
kTXNShowWindowBit = 1,
kTXNWantHScrollBarBit = 2,
kTXNWantVScrollBarBit = 3,
kTXNReadOnlyBit = 5,
kTXNNoSelectionBit = 7,
kTXNSaveStylesAsSTYLResourceBit = 8,
kOutputTextInUnicodeEncodingBit = 9,
kTXNDoNotInstallDragProcsBit = 10,
kTXNAlwaysWrapAtViewEdgeBit = 11,
kTXNDontDrawSelectionWhenInactiveBit = 13,
kTXNSingleLineOnlyBit = 14,
kTXNDisableDragAndDropBit = 15,
kTXNMonostyledTextBit = 17,
kTXNDoFontSubstitutionBit = 22
};
# 176 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef OptionBits TXNFrameOptions;
enum {
kTXNDrawGrowIconMask = 1L << kTXNDrawGrowIconBit,
kTXNShowWindowMask = 1L << kTXNShowWindowBit,
# 199 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNWantHScrollBarMask = 1L << kTXNWantHScrollBarBit,
# 208 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNWantVScrollBarMask = 1L << kTXNWantVScrollBarBit,
# 217 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNReadOnlyMask = 1L << kTXNReadOnlyBit,
kTXNNoSelectionMask = 1L << kTXNNoSelectionBit,
# 239 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSaveStylesAsSTYLResourceMask = 1L << kTXNSaveStylesAsSTYLResourceBit,
kOutputTextInUnicodeEncodingMask = 1L << kOutputTextInUnicodeEncodingBit,
kTXNDoNotInstallDragProcsMask = 1L << kTXNDoNotInstallDragProcsBit,
kTXNAlwaysWrapAtViewEdgeMask = 1L << kTXNAlwaysWrapAtViewEdgeBit,
kTXNDontDrawSelectionWhenInactiveMask = 1L << kTXNDontDrawSelectionWhenInactiveBit,
kTXNSingleLineOnlyMask = 1L << kTXNSingleLineOnlyBit,
kTXNDisableDragAndDropMask = 1L << kTXNDisableDragAndDropBit,
kTXNMonostyledTextMask = 1L << kTXNMonostyledTextBit,
kTXNDoFontSubstitutionMask = 1L << kTXNDoFontSubstitutionBit
};
# 416 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef OSType TXNFileType;
enum {
kTXNTextFile = 'TEXT',
kTXNAIFFFile = 'AIFF',
kTXNUnicodeTextFile = 'utxt',
kTXNTextensionFile = 'txtn'
};
# 443 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNPermanentTextEncodingType;
enum {
kTXNSystemDefaultEncoding = 0,
kTXNMacOSEncoding = 1,
kTXNUnicodeEncoding = 2
};
typedef OSType TXNDataType;
enum {
kTXNTextData = 'TEXT',
kTXNUnicodeTextData = 'utxt',
kTXNRichTextFormatData = 'RTF '
};
# 492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionTyping ;
# 508 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionCut ;
# 524 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionPaste ;
# 540 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionClear ;
# 556 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeFont ;
# 572 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeColor ;
# 588 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeSize ;
# 604 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeStyle ;
# 620 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionAlignLeft ;
# 636 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionAlignCenter ;
# 652 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionAlignRight ;
# 668 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionDrop ;
# 684 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionMove ;
# 700 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeFontFeature ;
# 716 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeFontVariation ;
# 732 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeGlyphVariation ;
# 750 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionChangeTextPosition ;
# 766 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionUndoLast ;
typedef SInt8 TXNTabType;
enum {
kTXNRightTab = -1,
kTXNLeftTab = 0,
kTXNCenterTab = 1
};
struct TXNTab {
SInt16 value;
TXNTabType tabType;
UInt8 filler;
};
typedef struct TXNTab TXNTab;
enum {
kTXNLeftToRight = 0,
kTXNRightToLeft = 1
};
enum {
kTXNFlushDefault = 0,
kTXNFlushLeft = 1,
kTXNFlushRight = 2,
kTXNCenter = 4,
kTXNFullJust = 8,
kTXNForceFullJust = 16
};
# 808 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
struct TXNMargins {
SInt16 topMargin;
SInt16 leftMargin;
SInt16 bottomMargin;
SInt16 rightMargin;
};
typedef struct TXNMargins TXNMargins;
# 829 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef FourCharCode TXNControlTag;
enum {
kTXNLineDirectionTag = 'lndr',
kTXNJustificationTag = 'just',
kTXNIOPrivilegesTag = 'iopv',
kTXNSelectionStateTag = 'slst',
kTXNInlineStateTag = 'inst',
kTXNWordWrapStateTag = 'wwrs',
kTXNAutoIndentStateTag = 'auin',
kTXNTabSettingsTag = 'tabs',
kTXNRefConTag = 'rfcn',
kTXNMarginsTag = 'marg',
kTXNFlattenMoviesTag = 'flat',
kTXNDoFontSubstitution = 'fSub',
kTXNNoUserIOTag = 'nuio',
kTXNUseCarbonEvents = 'cbcb',
kTXNDrawSelectionWhenInactiveTag = 'dsln',
kTXNDisableDragAndDropTag = 'drag',
kTXNSingleLevelUndoTag = 'undo',
kTXNVisibilityTag = 'visb',
kTXNDisableLayoutAndDrawTag = kTXNVisibilityTag,
kTXNAutoScrollBehaviorTag = 'sbev'
};
enum {
kTXNClearThisControl = -1,
kTXNClearTheseFontFeatures = (long)0x80000000
};
enum {
kTXNReadWrite = 0,
kTXNReadOnly = 1
};
enum {
kTXNSelectionOn = 1,
kTXNSelectionOff = 0
};
enum {
kTXNUseInline = 0,
kTXNUseBottomline = 1
};
enum {
kTXNAutoWrap = 0,
kTXNNoAutoWrap = 1
};
enum {
kTXNAutoIndentOff = 0,
kTXNAutoIndentOn = 1
};
enum {
kTXNDontDrawSelectionWhenInactive = 0,
kTXNDrawSelectionWhenInactive = 1
};
enum {
kTXNEnableDragAndDrop = 0,
kTXNDisableDragAndDrop = 1
};
enum {
kTXNDisableLayoutAndDraw = 1,
kTXNEnableLayoutAndDraw = 0
};
union TXNControlData {
unsigned long uValue;
long sValue;
TXNTab tabValue;
TXNMargins * marginsPtr;
};
typedef union TXNControlData TXNControlData;
# 953 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNAutoScrollBehavior;
enum {
kTXNAutoScrollInsertionIntoView = 0,
kTXNAutoScrollNever = 1,
# 979 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNAutoScrollWhenInsertionVisible = 2
};
typedef UInt32 TXNOffset;
enum {
kTXNUseCurrentSelection = (UInt32)0xFFFFFFFF,
kTXNStartOffset = 0,
kTXNEndOffset = 0x7FFFFFFF
};
enum {
kTXNShowStart = 0,
kTXNShowEnd = 1
};
enum {
kTXNSingleStylePerTextDocumentResType = 'MPSR',
kTXNMultipleStylesPerTextDocumentResType = 'styl'
};
# 1019 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNHyperLinkState;
enum {
kTXNLinkNotPressed = 0,
kTXNLinkWasPressed = 1,
kTXNLinkTracking = 3
};
# 1035 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef FourCharCode TXNTypeRunAttributes;
enum {
kTXNTextEncodingAttribute = 'encd',
kTXNATSUIFontFeaturesAttribute = 'atfe',
kTXNATSUIFontVariationsAttribute = 'atva',
kTXNURLAttribute = 'urla',
kTXNATSUIStyle = 'astl'
};
typedef ByteCount TXNTypeRunAttributeSizes;
enum {
kTXNTextEncodingAttributeSize = sizeof(TextEncoding),
kTXNATSUIStyleSize = sizeof(ATSUStyle)
};
struct TXNATSUIFeatures {
ItemCount featureCount;
ATSUFontFeatureType * featureTypes;
ATSUFontFeatureSelector * featureSelectors;
};
typedef struct TXNATSUIFeatures TXNATSUIFeatures;
struct TXNATSUIVariations {
ItemCount variationCount;
ATSUFontVariationAxis * variationAxis;
ATSUFontVariationValue * variationValues;
};
typedef struct TXNATSUIVariations TXNATSUIVariations;
union TXNAttributeData {
void * dataPtr;
UInt32 dataValue;
TXNATSUIFeatures * atsuFeatures;
TXNATSUIVariations * atsuVariations;
CFURLRef urlReference;
};
typedef union TXNAttributeData TXNAttributeData;
struct TXNTypeAttributes {
TXNTypeRunAttributes tag;
ByteCount size;
TXNAttributeData data;
};
typedef struct TXNTypeAttributes TXNTypeAttributes;
enum {
kTXNDontCareTypeSize = -1,
kTXNDontCareTypeStyle = 0xFF,
kTXNIncrementTypeSize = 0x00000001,
kTXNDecrementTypeSize = (long)0x80000000,
kTXNUseScriptDefaultValue = -1,
kTXNNoFontVariations = 0x7FFF
};
enum {
kTXNFontContinuousBit = 0,
kTXNSizeContinuousBit = 1,
kTXNStyleContinuousBit = 2,
kTXNColorContinuousBit = 3,
kTXNATSUIStyleContinuousBit = 4
};
typedef OptionBits TXNContinuousFlags;
enum {
kTXNFontContinuousMask = 1L << kTXNFontContinuousBit,
kTXNSizeContinuousMask = 1L << kTXNSizeContinuousBit,
kTXNStyleContinuousMask = 1L << kTXNStyleContinuousBit,
kTXNColorContinuousMask = 1L << kTXNColorContinuousBit,
kTXNATSUIStyleContinuousMask = 1L << kTXNATSUIStyleContinuousBit
};
enum {
kTXNIgnoreCaseBit = 0,
kTXNEntireWordBit = 1,
kTXNUseEncodingWordRulesBit = 31
};
typedef OptionBits TXNMatchOptions;
enum {
kTXNIgnoreCaseMask = 1L << kTXNIgnoreCaseBit,
kTXNEntireWordMask = 1L << kTXNEntireWordBit,
kTXNUseEncodingWordRulesMask = (unsigned long)(1L << kTXNUseEncodingWordRulesBit)
};
struct TXNMatchTextRecord {
const void * iTextPtr;
long iTextToMatchLength;
TextEncoding iTextEncoding;
};
typedef struct TXNMatchTextRecord TXNMatchTextRecord;
# 1167 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNBackgroundType;
enum {
kTXNBackgroundTypeRGB = 1
};
# 1180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
struct TXNBackgroundData {
RGBColor color;
};
typedef struct TXNBackgroundData TXNBackgroundData;
struct TXNBackground {
TXNBackgroundType bgType;
TXNBackgroundData bg;
};
typedef struct TXNBackground TXNBackground;
# 1220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionCountOfTextChanges ;
# 1240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionCountOfStyleChanges ;
# 1257 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNActionCountOfAllChanges ;
# 1269 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNScrollUnit;
enum {
kTXNScrollUnitsInPixels = 0,
kTXNScrollUnitsInLines = 1,
kTXNScrollUnitsInViewRects = 2
};
# 1283 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNScrollBarOrientation;
enum {
kTXNHorizontal = 0,
kTXNVertical = 1
};
# 1296 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef Boolean TXNScrollBarState;
enum {
kScrollBarsAlwaysActive = 1,
kScrollBarsSyncWithFocus = 0
};
enum {
kTXNDrawItemScrollbarsBit = 0,
kTXNDrawItemTextBit = 1,
kTXNDrawItemTextAndSelectionBit = 2
};
typedef OptionBits TXNDrawItems;
enum {
kTXNDrawItemScrollbarsMask = 1L << kTXNDrawItemScrollbarsBit,
kTXNDrawItemTextMask = 1L << kTXNDrawItemTextBit,
kTXNDrawItemTextAndSelectionMask = 1L << kTXNDrawItemTextAndSelectionBit,
kTXNDrawItemAllMask = (unsigned long)(-1)
};
typedef UInt32 TXNRectKey;
enum {
kTXNViewRectKey = 0,
kTXNDestinationRectKey = 1,
kTXNTextRectKey = 2,
kTXNVerticalScrollBarRectKey = 3,
kTXNHorizontalScrollBarRectKey = 4
};
#define kTXNTextHandlerKey CFSTR("TextInput")
#define kTXNWindowEventHandlerKey CFSTR("WindowEvent")
#define kTXNWindowResizeEventHandlerKey CFSTR("WindowResize")
#define kTXNCommandTargetKey CFSTR("CommandTarget")
#define kTXNCommandUpdateKey CFSTR("CommandUpdate")
#define kTXNActionNameMapperKey CFSTR("ActionNameMapper")
#define kTXNWheelMouseEventHandlerKey CFSTR("WheelMouseEvent")
#define kTXNTSMDocumentAccessHandlerKey CFSTR("TSMDocumentAccess")
#define kTXNFontPanelEventHandlerKey CFSTR("FontPanel")
# 1357 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
struct TXNCarbonEventInfo {
Boolean useCarbonEvents;
UInt8 filler;
UInt16 flags;
CFDictionaryRef fDictionary;
};
typedef struct TXNCarbonEventInfo TXNCarbonEventInfo;
# 1407 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeTitleKey ;
# 1423 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeCompanyNameKey ;
# 1439 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeSubjectKey ;
# 1456 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeAuthorKey ;
# 1472 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeKeywordsKey ;
# 1488 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeCommentKey ;
# 1504 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeEditorKey ;
# 1522 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeCreationTimeKey ;
# 1539 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeModificationTimeKey ;
# 1554 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDocumentAttributeCopyrightKey ;
# 1577 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDataOptionDocumentTypeKey ;
# 1594 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNDataOptionCharacterEncodingKey ;
# 1612 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNPlainTextDocumentType ;
# 1628 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNMLTEDocumentType ;
# 1644 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNRTFDocumentType ;
# 1661 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern const CFStringRef kTXNQuickTimeDocumentType ;
typedef OSStatus ( * TXNFindProcPtr)(const TXNMatchTextRecord *matchData, TXNDataType iDataType, TXNMatchOptions iMatchOptions, const void *iSearchTextPtr, TextEncoding encoding, TXNOffset absStartOffset, ByteCount searchTextLength, TXNOffset *oStartMatch, TXNOffset *oEndMatch, Boolean *ofound, URefCon refCon);
typedef CFStringRef ( * TXNActionNameMapperProcPtr)(CFStringRef actionName, UInt32 commandID, void *inUserData);
typedef void ( * TXNContextualMenuSetupProcPtr)(MenuRef iContextualMenu, TXNObject object, void *inUserData);
typedef void ( * TXNScrollInfoProcPtr)(SInt32 iValue, SInt32 iMaximumValue, TXNScrollBarOrientation iScrollBarOrientation, SRefCon iRefCon);
typedef TXNFindProcPtr TXNFindUPP;
typedef TXNActionNameMapperProcPtr TXNActionNameMapperUPP;
typedef TXNContextualMenuSetupProcPtr TXNContextualMenuSetupUPP;
typedef TXNScrollInfoProcPtr TXNScrollInfoUPP;
# 1682 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNFindUPP
NewTXNFindUPP(TXNFindProcPtr userRoutine) ;
# 1693 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNActionNameMapperUPP
NewTXNActionNameMapperUPP(TXNActionNameMapperProcPtr userRoutine) ;
# 1704 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNContextualMenuSetupUPP
NewTXNContextualMenuSetupUPP(TXNContextualMenuSetupProcPtr userRoutine) ;
# 1715 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNScrollInfoUPP
NewTXNScrollInfoUPP(TXNScrollInfoProcPtr userRoutine) ;
# 1726 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
DisposeTXNFindUPP(TXNFindUPP userUPP) ;
# 1737 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
DisposeTXNActionNameMapperUPP(TXNActionNameMapperUPP userUPP) ;
# 1748 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
DisposeTXNContextualMenuSetupUPP(TXNContextualMenuSetupUPP userUPP) ;
# 1759 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
DisposeTXNScrollInfoUPP(TXNScrollInfoUPP userUPP) ;
# 1770 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern OSStatus
InvokeTXNFindUPP(
const TXNMatchTextRecord * matchData,
TXNDataType iDataType,
TXNMatchOptions iMatchOptions,
const void * iSearchTextPtr,
TextEncoding encoding,
TXNOffset absStartOffset,
ByteCount searchTextLength,
TXNOffset * oStartMatch,
TXNOffset * oEndMatch,
Boolean * ofound,
URefCon refCon,
TXNFindUPP userUPP) ;
# 1793 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern CFStringRef
InvokeTXNActionNameMapperUPP(
CFStringRef actionName,
UInt32 commandID,
void * inUserData,
TXNActionNameMapperUPP userUPP) ;
# 1808 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
InvokeTXNContextualMenuSetupUPP(
MenuRef iContextualMenu,
TXNObject object,
void * inUserData,
TXNContextualMenuSetupUPP userUPP) ;
# 1823 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
InvokeTXNScrollInfoUPP(
SInt32 iValue,
SInt32 iMaximumValue,
TXNScrollBarOrientation iScrollBarOrientation,
SRefCon iRefCon,
TXNScrollInfoUPP userUPP) ;
# 1846 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
#define NewTXNFindUPP(userRoutine) ((TXNFindUPP)userRoutine)
#define NewTXNActionNameMapperUPP(userRoutine) ((TXNActionNameMapperUPP)userRoutine)
#define NewTXNContextualMenuSetupUPP(userRoutine) ((TXNContextualMenuSetupUPP)userRoutine)
#define NewTXNScrollInfoUPP(userRoutine) ((TXNScrollInfoUPP)userRoutine)
#define DisposeTXNFindUPP(userUPP)
#define DisposeTXNActionNameMapperUPP(userUPP)
#define DisposeTXNContextualMenuSetupUPP(userUPP)
#define DisposeTXNScrollInfoUPP(userUPP)
#define InvokeTXNFindUPP(matchData,iDataType,iMatchOptions,iSearchTextPtr,encoding,absStartOffset,searchTextLength,oStartMatch,oEndMatch,ofound,refCon,userUPP) (*userUPP)(matchData, iDataType, iMatchOptions, iSearchTextPtr, encoding, absStartOffset, searchTextLength, oStartMatch, oEndMatch, ofound, refCon)
#define InvokeTXNActionNameMapperUPP(actionName,commandID,inUserData,userUPP) (*userUPP)(actionName, commandID, inUserData)
#define InvokeTXNContextualMenuSetupUPP(iContextualMenu,object,inUserData,userUPP) (*userUPP)(iContextualMenu, object, inUserData)
#define InvokeTXNScrollInfoUPP(iValue,iMaximumValue,iScrollBarOrientation,iRefCon,userUPP) (*userUPP)(iValue, iMaximumValue, iScrollBarOrientation, iRefCon)
# 5126 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef OptionBits TXNCommandEventSupportOptions;
enum {
kTXNSupportEditCommandProcessing = 1 << 0,
# 5159 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSupportEditCommandUpdating = 1 << 1,
# 5168 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSupportSpellCheckCommandProcessing = 1 << 2,
# 5198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSupportSpellCheckCommandUpdating = 1 << 3,
# 5209 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSupportFontCommandProcessing = 1 << 4,
# 5218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
kTXNSupportFontCommandUpdating = 1 << 5
};
# 5679 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef FourCharCode TXTNTag;
typedef OSStatus TXNErrors;
# 5696 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef void * TXNObjectRefcon;
# 5705 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
struct TXNLongRect {
SInt32 top;
SInt32 left;
SInt32 bottom;
SInt32 right;
};
typedef struct TXNLongRect TXNLongRect;
# 5720 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
typedef UInt32 TXNFrameType;
enum {
kTXNTextEditStyleFrameType = 1,
kTXNPageFrameType = 2,
kTXNMultipleFrameType = 3
};
enum {
kTXNQDFontNameAttribute = 'fntn',
kTXNQDFontFamilyIDAttribute = 'font',
kTXNQDFontSizeAttribute = 'size',
kTXNQDFontStyleAttribute = 'face',
kTXNQDFontColorAttribute = 'klor'
};
enum {
kTXNQDFontNameAttributeSize = sizeof(Str255),
kTXNQDFontFamilyIDAttributeSize = sizeof(SInt16),
kTXNFontSizeAttributeSize = sizeof(Fixed),
kTXNQDFontSizeAttributeSize = sizeof(SInt16),
kTXNQDFontStyleAttributeSize = sizeof(Style),
kTXNQDFontColorAttributeSize = sizeof(RGBColor)
};
enum {
kTXNUseQDforImagingBit = 16
};
enum {
kTXNUseQDforImagingMask = 1L << kTXNUseQDforImagingBit
};
enum {
kTXNImageWithQDBit = 8
};
enum {
kTXNImageWithQDMask = 1L << kTXNImageWithQDBit
};
enum {
kTXNDrawCaretWhenInactiveTag = 'dcrt'
};
enum {
kTXNDontDrawCaretWhenInactive = 0,
kTXNDrawCaretWhenInactive = 1
};
enum {
kTXNDontDrawCaretWhenInactiveBit = 12
};
enum {
kTXNDontDrawCaretWhenInactiveMask = 1L << kTXNDontDrawCaretWhenInactiveBit
};
# 5797 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
enum {
kTXNNoTSMEverBit = 4
};
enum {
kTXNNoTSMEverMask = 1L << kTXNNoTSMEverBit
};
enum {
kTXNNoAppleEventHandlersBit = 0,
kTXNRestartAppleEventHandlersBit = 1
};
enum {
kTXNNoAppleEventHandlersMask = 1 << kTXNNoAppleEventHandlersBit,
kTXNRestartAppleEventHandlersMask = 1 << kTXNRestartAppleEventHandlersBit
};
typedef UInt32 TXNActionKey;
enum {
kTXNTypingAction = 0,
kTXNCutAction = 1,
kTXNPasteAction = 2,
kTXNClearAction = 3,
kTXNChangeFontAction = 4,
kTXNChangeFontColorAction = 5,
kTXNChangeFontSizeAction = 6,
kTXNChangeStyleAction = 7,
kTXNAlignLeftAction = 8,
kTXNAlignCenterAction = 9,
kTXNAlignRightAction = 10,
kTXNDropAction = 11,
kTXNMoveAction = 12,
kTXNFontFeatureAction = 13,
kTXNFontVariationAction = 14,
kTXNUndoLastAction = 1024
};
#define kTXNActionKeyMapperKey CFSTR("ActionKeyMapper")
typedef CFStringRef ( * TXNActionKeyMapperProcPtr)(TXNActionKey actionKey, UInt32 commandID);
typedef TXNActionKeyMapperProcPtr TXNActionKeyMapperUPP;
# 5865 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern TXNActionKeyMapperUPP
NewTXNActionKeyMapperUPP(TXNActionKeyMapperProcPtr userRoutine) __attribute__((deprecated));
# 5876 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern void
DisposeTXNActionKeyMapperUPP(TXNActionKeyMapperUPP userUPP) __attribute__((deprecated));
# 5887 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
extern CFStringRef
InvokeTXNActionKeyMapperUPP(
TXNActionKey actionKey,
UInt32 commandID,
TXNActionKeyMapperUPP userUPP) __attribute__((deprecated));
#define NewTXNActionKeyMapperUPP(userRoutine) ((TXNActionKeyMapperUPP)userRoutine)
#define DisposeTXNActionKeyMapperUPP(userUPP)
#define InvokeTXNActionKeyMapperUPP(actionKey,commandID,userUPP) (*userUPP)(actionKey, commandID)
# 5910 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
enum {
kTXNTextInputCountBit = 0,
kTXNRunCountBit = 1
};
typedef OptionBits TXNCountOptions;
enum {
kTXNTextInputCountMask = 1L << kTXNTextInputCountBit,
kTXNRunCountMask = 1L << kTXNRunCountBit,
kTXNAllCountMask = kTXNTextInputCountMask | kTXNRunCountMask
};
# 7208 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacTextEditor.h" 3
#pragma pack(pop)
# 106 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
#define __MACHELP__
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
#pragma pack(push, 2)
enum {
kMacHelpVersion = 0x0003
};
enum {
kHMHelpMenuID = -16490
};
typedef SInt16 HMContentRequest;
enum {
kHMSupplyContent = 0,
kHMDisposeContent = 1
};
# 82 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
typedef UInt32 HMContentType;
enum {
kHMNoContent = 'none',
# 103 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
kHMCFStringContent = 'cfst',
# 120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
kHMCFStringLocalizedContent = 'cfsl',
kHMPascalStrContent = 'pstr',
kHMTextResContent = 'text',
# 151 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
kHMTEHandleContent = 'txth',
kHMStringResContent = 'str#',
kHMStrResContent = 'str '
};
# 177 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
typedef SInt16 HMTagDisplaySide;
enum {
kHMDefaultSide = 0,
kHMOutsideTopScriptAligned = 1,
kHMOutsideLeftCenterAligned = 2,
kHMOutsideBottomScriptAligned = 3,
kHMOutsideRightCenterAligned = 4,
kHMOutsideTopLeftAligned = 5,
kHMOutsideTopRightAligned = 6,
kHMOutsideLeftTopAligned = 7,
kHMOutsideLeftBottomAligned = 8,
kHMOutsideBottomLeftAligned = 9,
kHMOutsideBottomRightAligned = 10,
kHMOutsideRightTopAligned = 11,
kHMOutsideRightBottomAligned = 12,
kHMOutsideTopCenterAligned = 13,
kHMOutsideBottomCenterAligned = 14,
kHMInsideRightCenterAligned = 15,
kHMInsideLeftCenterAligned = 16,
kHMInsideBottomCenterAligned = 17,
kHMInsideTopCenterAligned = 18,
kHMInsideTopLeftCorner = 19,
kHMInsideTopRightCorner = 20,
kHMInsideBottomLeftCorner = 21,
kHMInsideBottomRightCorner = 22,
kHMAbsoluteCenterAligned = 23
};
enum {
kHMTopSide = kHMOutsideTopScriptAligned,
kHMLeftSide = kHMOutsideLeftCenterAligned,
kHMBottomSide = kHMOutsideBottomScriptAligned,
kHMRightSide = kHMOutsideRightCenterAligned,
kHMTopLeftCorner = kHMOutsideTopLeftAligned,
kHMTopRightCorner = kHMOutsideTopRightAligned,
kHMLeftTopCorner = kHMOutsideLeftTopAligned,
kHMLeftBottomCorner = kHMOutsideLeftBottomAligned,
kHMBottomLeftCorner = kHMOutsideBottomLeftAligned,
kHMBottomRightCorner = kHMOutsideBottomRightAligned,
kHMRightTopCorner = kHMOutsideRightTopAligned,
kHMRightBottomCorner = kHMOutsideRightBottomAligned
};
typedef SInt16 HMContentProvidedType;
enum {
kHMContentProvided = 0,
kHMContentNotProvided = 1,
kHMContentNotProvidedDontPropagate = 2
};
enum {
kHMMinimumContentIndex = 0,
kHMMaximumContentIndex = 1
};
enum {
errHMIllegalContentForMinimumState = -10980,
errHMIllegalContentForMaximumState = -10981
};
enum {
kHMIllegalContentForMinimumState = errHMIllegalContentForMinimumState
};
enum {
kHelpTagEventHandlerTag = 'hevt'
};
struct HMStringResType {
short hmmResID;
short hmmIndex;
};
typedef struct HMStringResType HMStringResType;
struct HMHelpContent {
HMContentType contentType;
union {
CFStringRef tagCFString;
Str255 tagString;
HMStringResType tagStringRes;
TEHandle tagTEHandle;
SInt16 tagTextRes;
SInt16 tagStrRes;
} u;
};
typedef struct HMHelpContent HMHelpContent;
struct HMHelpContentRec {
SInt32 version;
Rect absHotRect;
HMTagDisplaySide tagSide;
HMHelpContent content[2];
};
typedef struct HMHelpContentRec HMHelpContentRec;
typedef HMHelpContentRec * HMHelpContentPtr;
typedef OSStatus ( * HMControlContentProcPtr)(ControlRef inControl, Point inGlobalMouse, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentRec *ioHelpContent);
typedef OSStatus ( * HMWindowContentProcPtr)(WindowRef inWindow, Point inGlobalMouse, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentRec *ioHelpContent);
typedef OSStatus ( * HMMenuTitleContentProcPtr)(MenuRef inMenu, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentRec *ioHelpContent);
typedef OSStatus ( * HMMenuItemContentProcPtr)(const MenuTrackingData *inTrackingData, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentRec *ioHelpContent);
typedef HMControlContentProcPtr HMControlContentUPP;
typedef HMWindowContentProcPtr HMWindowContentUPP;
typedef HMMenuTitleContentProcPtr HMMenuTitleContentUPP;
typedef HMMenuItemContentProcPtr HMMenuItemContentUPP;
# 387 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern HMControlContentUPP
NewHMControlContentUPP(HMControlContentProcPtr userRoutine) ;
# 398 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern HMWindowContentUPP
NewHMWindowContentUPP(HMWindowContentProcPtr userRoutine) ;
# 409 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern HMMenuTitleContentUPP
NewHMMenuTitleContentUPP(HMMenuTitleContentProcPtr userRoutine) ;
# 420 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern HMMenuItemContentUPP
NewHMMenuItemContentUPP(HMMenuItemContentProcPtr userRoutine) ;
# 431 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern void
DisposeHMControlContentUPP(HMControlContentUPP userUPP) ;
# 442 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern void
DisposeHMWindowContentUPP(HMWindowContentUPP userUPP) ;
# 453 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern void
DisposeHMMenuTitleContentUPP(HMMenuTitleContentUPP userUPP) ;
# 464 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern void
DisposeHMMenuItemContentUPP(HMMenuItemContentUPP userUPP) ;
# 475 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
InvokeHMControlContentUPP(
ControlRef inControl,
Point inGlobalMouse,
HMContentRequest inRequest,
HMContentProvidedType * outContentProvided,
HMHelpContentRec * ioHelpContent,
HMControlContentUPP userUPP) ;
# 492 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
InvokeHMWindowContentUPP(
WindowRef inWindow,
Point inGlobalMouse,
HMContentRequest inRequest,
HMContentProvidedType * outContentProvided,
HMHelpContentRec * ioHelpContent,
HMWindowContentUPP userUPP) ;
# 509 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
InvokeHMMenuTitleContentUPP(
MenuRef inMenu,
HMContentRequest inRequest,
HMContentProvidedType * outContentProvided,
HMHelpContentRec * ioHelpContent,
HMMenuTitleContentUPP userUPP) ;
# 525 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
extern OSStatus
InvokeHMMenuItemContentUPP(
const MenuTrackingData * inTrackingData,
HMContentRequest inRequest,
HMContentProvidedType * outContentProvided,
HMHelpContentRec * ioHelpContent,
HMMenuItemContentUPP userUPP) ;
# 548 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
#define NewHMControlContentUPP(userRoutine) ((HMControlContentUPP)userRoutine)
#define NewHMWindowContentUPP(userRoutine) ((HMWindowContentUPP)userRoutine)
#define NewHMMenuTitleContentUPP(userRoutine) ((HMMenuTitleContentUPP)userRoutine)
#define NewHMMenuItemContentUPP(userRoutine) ((HMMenuItemContentUPP)userRoutine)
#define DisposeHMControlContentUPP(userUPP)
#define DisposeHMWindowContentUPP(userUPP)
#define DisposeHMMenuTitleContentUPP(userUPP)
#define DisposeHMMenuItemContentUPP(userUPP)
#define InvokeHMControlContentUPP(inControl,inGlobalMouse,inRequest,outContentProvided,ioHelpContent,userUPP) (*userUPP)(inControl, inGlobalMouse, inRequest, outContentProvided, ioHelpContent)
#define InvokeHMWindowContentUPP(inWindow,inGlobalMouse,inRequest,outContentProvided,ioHelpContent,userUPP) (*userUPP)(inWindow, inGlobalMouse, inRequest, outContentProvided, ioHelpContent)
#define InvokeHMMenuTitleContentUPP(inMenu,inRequest,outContentProvided,ioHelpContent,userUPP) (*userUPP)(inMenu, inRequest, outContentProvided, ioHelpContent)
#define InvokeHMMenuItemContentUPP(inTrackingData,inRequest,outContentProvided,ioHelpContent,userUPP) (*userUPP)(inTrackingData, inRequest, outContentProvided, ioHelpContent)
# 969 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
enum {
kHMHideTagFade = 1 << 0,
kHMHideTagImmediately = 1 << 1
};
# 1076 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacHelp.h" 3
#pragma pack(pop)
# 110 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
#define __HIBUTTONVIEWS__
# 75 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlPushButtonProc = 368,
kControlPushButLeftIconProc = 374,
kControlPushButRightIconProc = 375
};
typedef UInt16 ControlPushButtonIconAlignment;
enum {
kControlPushButtonIconOnLeft = 6,
kControlPushButtonIconOnRight = 7
};
enum {
kControlKindPushButton = 'push',
kControlKindPushIconButton = 'picn'
};
#define kHIPushButtonClassID CFSTR("com.apple.HIPushButton")
# 189 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlPushButtonDefaultTag = 'dflt',
kControlPushButtonCancelTag = 'cncl',
# 213 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
kControlPushButtonContentTag = kControlContentTag,
kControlPushButtonIconAlignmentTag = 'cpia',
kControlPushButtonAnimatingTag = 'anim'
};
# 241 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlCheckBoxProc = 369
};
enum {
kControlCheckBoxAutoToggleProc = 371
};
enum {
kControlKindCheckBox = 'cbox'
};
#define kHICheckBoxClassID CFSTR("com.apple.HICheckBox")
# 311 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlCheckBoxUncheckedValue = 0,
kControlCheckBoxCheckedValue = 1,
kControlCheckBoxMixedValue = 2
};
# 328 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlRadioButtonProc = 370
};
enum {
kControlRadioButtonAutoToggleProc = 372
};
enum {
kControlRadioButtonUncheckedValue = 0,
kControlRadioButtonCheckedValue = 1,
kControlRadioButtonMixedValue = 2
};
enum {
kControlKindRadioButton = 'rdio'
};
#define kHIRadioButtonClassID CFSTR("com.apple.HIRadioButton")
# 426 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlRadioGroupProc = 416
};
enum {
kControlKindRadioGroup = 'rgrp'
};
#define kHIRadioGroupClassID CFSTR("com.apple.HIRadioGroup")
# 533 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
enum {
kControlBevelButtonSmallBevelProc = 32,
kControlBevelButtonNormalBevelProc = 33,
kControlBevelButtonLargeBevelProc = 34
};
enum {
kControlBevelButtonSmallBevelVariant = 0,
kControlBevelButtonNormalBevelVariant = (1 << 0),
kControlBevelButtonLargeBevelVariant = (1 << 1),
kControlBevelButtonMenuOnRightVariant = (1 << 2)
};
typedef UInt16 ControlBevelThickness;
enum {
kControlBevelButtonSmallBevel = 0,
kControlBevelButtonNormalBevel = 1,
kControlBevelButtonLargeBevel = 2
};
enum {
kControlBehaviorPushbutton = 0,
kControlBehaviorToggles = 0x0100,
kControlBehaviorSticky = 0x0200,
kControlBehaviorOffsetContents = 0x8000,
kControlBehaviorSingleValueMenu = 0,
kControlBehaviorMultiValueMenu = 0x4000
};
enum {
kControlBehaviorCommandMenu = 0x2000
};
typedef UInt16 ControlBevelButtonBehavior;
typedef UInt16 ControlBevelButtonMenuBehavior;
typedef UInt16 ControlBevelButtonMenuPlacement;
enum {
kControlBevelButtonMenuOnBottom = 0,
kControlBevelButtonMenuOnRight = (1 << 2)
};
enum {
kControlKindBevelButton = 'bevl'
};
#define kHIBevelButtonClassID CFSTR("com.apple.HIBevelButton")
# 621 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
typedef SInt16 ControlButtonGraphicAlignment;
enum {
kControlBevelButtonAlignSysDirection = -1,
kControlBevelButtonAlignCenter = 0,
kControlBevelButtonAlignLeft = 1,
kControlBevelButtonAlignRight = 2,
kControlBevelButtonAlignTop = 3,
kControlBevelButtonAlignBottom = 4,
kControlBevelButtonAlignTopLeft = 5,
kControlBevelButtonAlignBottomLeft = 6,
kControlBevelButtonAlignTopRight = 7,
kControlBevelButtonAlignBottomRight = 8
};
typedef SInt16 ControlButtonTextAlignment;
enum {
kControlBevelButtonAlignTextSysDirection = teFlushDefault,
kControlBevelButtonAlignTextCenter = teCenter,
kControlBevelButtonAlignTextFlushRight = teFlushRight,
kControlBevelButtonAlignTextFlushLeft = teFlushLeft
};
typedef SInt16 ControlButtonTextPlacement;
enum {
kControlBevelButtonPlaceSysDirection = -1,
kControlBevelButtonPlaceNormally = 0,
kControlBevelButtonPlaceToRightOfGraphic = 1,
kControlBevelButtonPlaceToLeftOfGraphic = 2,
kControlBevelButtonPlaceBelowGraphic = 3,
kControlBevelButtonPlaceAboveGraphic = 4
};
enum {
kControlBevelButtonContentTag = kControlContentTag,
kControlBevelButtonTransformTag = 'tran',
kControlBevelButtonTextAlignTag = 'tali',
kControlBevelButtonTextOffsetTag = 'toff',
kControlBevelButtonGraphicAlignTag = 'gali',
kControlBevelButtonGraphicOffsetTag = 'goff',
kControlBevelButtonTextPlaceTag = 'tplc',
kControlBevelButtonMenuValueTag = 'mval',
kControlBevelButtonMenuHandleTag = 'mhnd',
kControlBevelButtonMenuRefTag = 'mhnd',
kControlBevelButtonCenterPopupGlyphTag = 'pglc'
};
enum {
kControlBevelButtonLastMenuTag = 'lmnu',
kControlBevelButtonMenuDelayTag = 'mdly'
};
enum {
kControlBevelButtonScaleIconTag = 'scal'
};
enum {
kControlBevelButtonOwnedMenuRefTag = 'omrf',
kControlBevelButtonKindTag = 'bebk'
};
enum {
kControlBevelButtonIsMultiValueMenuTag = 'mult'
};
# 880 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIButtonViews.h" 3
typedef SInt16 ControlRoundButtonSize;
enum {
kControlRoundButtonNormalSize = kControlSizeNormal,
kControlRoundButtonLargeSize = kControlSizeLarge
};
enum {
kControlRoundButtonContentTag = kControlContentTag,
kControlRoundButtonSizeTag = kControlSizeTag
};
enum {
kControlKindRoundButton = 'rndb'
};
#define kHIRoundButtonClassID CFSTR("com.apple.HIRoundButton")
# 114 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 3
#define __HICLOCKVIEW__
# 57 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 3
enum {
kEventClassClockView = 'cloc'
};
# 87 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 3
enum {
kEventClockDateOrTimeChanged = 1
};
# 109 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 3
enum {
kControlClockTimeProc = 240,
kControlClockTimeSecondsProc = 241,
kControlClockDateProc = 242,
kControlClockMonthYearProc = 243
};
typedef UInt16 ControlClockType;
enum {
kControlClockTypeHourMinute = 0,
kControlClockTypeHourMinuteSecond = 1,
kControlClockTypeMonthDayYear = 2,
kControlClockTypeMonthYear = 3
};
typedef UInt32 ControlClockFlags;
enum {
kControlClockFlagStandard = 0,
kControlClockNoFlags = 0,
kControlClockFlagDisplayOnly = 1,
kControlClockIsDisplayOnly = 1,
kControlClockFlagLive = 2,
kControlClockIsLive = 2
};
enum {
kControlKindClock = 'clck'
};
#define kHIClockViewClassID CFSTR("com.apple.HIClock")
# 170 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIClockView.h" 3
enum {
kControlClockLongDateTag = 'date',
kControlClockAbsoluteTimeTag = 'abst',
kControlClockFontStyleTag = kControlFontStyleTag,
kControlClockAnimatingTag = 'anim'
};
# 118 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HICocoaView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HICocoaView.h" 3
#define __HICOCOAVIEW__
# 122 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
#define __HICOMBOBOX__
# 63 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
#define kHIComboBoxClassID CFSTR("com.apple.HIComboBox")
enum {
kEventClassHIComboBox = 'hicb'
};
enum {
kEventParamComboBoxListSelectedItemIndex = 'cbli'
};
# 107 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
enum {
kEventComboBoxListItemSelected = 1
};
enum {
kHIComboBoxNoAttributes = 0L,
kHIComboBoxAutoCompletionAttribute = (1L << 0),
kHIComboBoxAutoDisclosureAttribute = (1L << 1),
kHIComboBoxAutoSortAttribute = (1L << 2),
kHIComboBoxAutoSizeListAttribute = (1L << 3),
kHIComboBoxStandardAttributes = (kHIComboBoxAutoCompletionAttribute | kHIComboBoxAutoDisclosureAttribute | kHIComboBoxAutoSizeListAttribute)
};
enum {
kControlKindHIComboBox = 'cbbx'
};
enum {
kHIComboBoxEditTextPart = 5,
kHIComboBoxDisclosurePart = 28
};
# 185 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIComboBox.h" 3
enum {
kHIComboBoxListTag = 'cbls',
kHIComboBoxListPixelWidthTag = 'cblw',
kHIComboBoxListPixelHeightTag = 'cblh',
kHIComboBoxNumVisibleItemsTag = 'cbni'
};
# 126 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
#define __HICONTAINERVIEWS__
# 62 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
enum {
kControlGroupBoxTextTitleProc = 160,
kControlGroupBoxCheckBoxProc = 161,
kControlGroupBoxPopupButtonProc = 162,
kControlGroupBoxSecondaryTextTitleProc = 164,
kControlGroupBoxSecondaryCheckBoxProc = 165,
kControlGroupBoxSecondaryPopupButtonProc = 166
};
enum {
kControlKindGroupBox = 'grpb',
kControlKindCheckGroupBox = 'cgrp',
kControlKindPopupGroupBox = 'pgrp'
};
#define kHIGroupBoxClassID CFSTR("com.apple.HIGroupBox")
#define kHICheckBoxGroupClassID CFSTR("com.apple.HICheckBoxGroup")
# 243 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
enum {
kControlGroupBoxMenuHandleTag = 'mhan',
kControlGroupBoxMenuRefTag = 'mhan',
kControlGroupBoxFontStyleTag = kControlFontStyleTag
};
enum {
kControlGroupBoxTitleRectTag = 'trec'
};
enum {
kControlGroupBoxFrameRectTag = 'frec'
};
enum {
kControlPlacardProc = 224
};
enum {
kControlKindPlacard = 'plac'
};
#define kHIPlacardViewClassID CFSTR("com.apple.HIPlacardView")
# 325 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
enum {
kControlWindowHeaderProc = 336,
kControlWindowListViewHeaderProc = 337
};
enum {
kControlKindWindowHeader = 'whed'
};
enum {
kControlWindowHeaderIsListHeaderTag = 'islh'
};
#define kHIWindowHeaderViewClassID CFSTR("com.apple.HIWindowHeaderView")
# 398 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
enum {
kControlUserPaneProc = 256
};
enum {
kControlKindUserPane = 'upan'
};
#define kHIUserPaneClassID CFSTR("com.apple.HIUserPane")
# 434 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
enum {
kControlUserItemDrawProcTag = 'uidp',
kControlUserPaneDrawProcTag = 'draw',
kControlUserPaneHitTestProcTag = 'hitt',
kControlUserPaneTrackingProcTag = 'trak',
kControlUserPaneIdleProcTag = 'idle',
kControlUserPaneKeyDownProcTag = 'keyd',
kControlUserPaneActivateProcTag = 'acti',
kControlUserPaneFocusProcTag = 'foci',
kControlUserPaneBackgroundProcTag = 'back'
};
typedef void ( * ControlUserPaneDrawProcPtr)(ControlRef control, ControlPartCode part);
typedef ControlPartCode ( * ControlUserPaneHitTestProcPtr)(ControlRef control, Point where);
typedef ControlPartCode ( * ControlUserPaneTrackingProcPtr)(ControlRef control, Point startPt, ControlActionUPP actionProc);
typedef void ( * ControlUserPaneIdleProcPtr)(ControlRef control);
typedef ControlPartCode ( * ControlUserPaneKeyDownProcPtr)(ControlRef control, SInt16 keyCode, SInt16 charCode, SInt16 modifiers);
typedef void ( * ControlUserPaneActivateProcPtr)(ControlRef control, Boolean activating);
typedef ControlPartCode ( * ControlUserPaneFocusProcPtr)(ControlRef control, ControlFocusPart action);
typedef ControlUserPaneDrawProcPtr ControlUserPaneDrawUPP;
typedef ControlUserPaneHitTestProcPtr ControlUserPaneHitTestUPP;
typedef ControlUserPaneTrackingProcPtr ControlUserPaneTrackingUPP;
typedef ControlUserPaneIdleProcPtr ControlUserPaneIdleUPP;
typedef ControlUserPaneKeyDownProcPtr ControlUserPaneKeyDownUPP;
typedef ControlUserPaneActivateProcPtr ControlUserPaneActivateUPP;
typedef ControlUserPaneFocusProcPtr ControlUserPaneFocusUPP;
# 468 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneDrawUPP
NewControlUserPaneDrawUPP(ControlUserPaneDrawProcPtr userRoutine) ;
# 479 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneHitTestUPP
NewControlUserPaneHitTestUPP(ControlUserPaneHitTestProcPtr userRoutine) ;
# 490 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneTrackingUPP
NewControlUserPaneTrackingUPP(ControlUserPaneTrackingProcPtr userRoutine) ;
# 501 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneIdleUPP
NewControlUserPaneIdleUPP(ControlUserPaneIdleProcPtr userRoutine) ;
# 512 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneKeyDownUPP
NewControlUserPaneKeyDownUPP(ControlUserPaneKeyDownProcPtr userRoutine) ;
# 523 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneActivateUPP
NewControlUserPaneActivateUPP(ControlUserPaneActivateProcPtr userRoutine) ;
# 534 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlUserPaneFocusUPP
NewControlUserPaneFocusUPP(ControlUserPaneFocusProcPtr userRoutine) ;
# 545 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneDrawUPP(ControlUserPaneDrawUPP userUPP) ;
# 556 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneHitTestUPP(ControlUserPaneHitTestUPP userUPP) ;
# 567 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneTrackingUPP(ControlUserPaneTrackingUPP userUPP) ;
# 578 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneIdleUPP(ControlUserPaneIdleUPP userUPP) ;
# 589 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneKeyDownUPP(ControlUserPaneKeyDownUPP userUPP) ;
# 600 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneActivateUPP(ControlUserPaneActivateUPP userUPP) ;
# 611 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
DisposeControlUserPaneFocusUPP(ControlUserPaneFocusUPP userUPP) ;
# 622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
InvokeControlUserPaneDrawUPP(
ControlRef control,
ControlPartCode part,
ControlUserPaneDrawUPP userUPP) ;
# 636 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlPartCode
InvokeControlUserPaneHitTestUPP(
ControlRef control,
Point where,
ControlUserPaneHitTestUPP userUPP) ;
# 650 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlPartCode
InvokeControlUserPaneTrackingUPP(
ControlRef control,
Point startPt,
ControlActionUPP actionProc,
ControlUserPaneTrackingUPP userUPP) ;
# 665 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
InvokeControlUserPaneIdleUPP(
ControlRef control,
ControlUserPaneIdleUPP userUPP) ;
# 678 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlPartCode
InvokeControlUserPaneKeyDownUPP(
ControlRef control,
SInt16 keyCode,
SInt16 charCode,
SInt16 modifiers,
ControlUserPaneKeyDownUPP userUPP) ;
# 694 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern void
InvokeControlUserPaneActivateUPP(
ControlRef control,
Boolean activating,
ControlUserPaneActivateUPP userUPP) ;
# 708 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
extern ControlPartCode
InvokeControlUserPaneFocusUPP(
ControlRef control,
ControlFocusPart action,
ControlUserPaneFocusUPP userUPP) ;
# 738 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIContainerViews.h" 3
#define NewControlUserPaneDrawUPP(userRoutine) ((ControlUserPaneDrawUPP)userRoutine)
#define NewControlUserPaneHitTestUPP(userRoutine) ((ControlUserPaneHitTestUPP)userRoutine)
#define NewControlUserPaneTrackingUPP(userRoutine) ((ControlUserPaneTrackingUPP)userRoutine)
#define NewControlUserPaneIdleUPP(userRoutine) ((ControlUserPaneIdleUPP)userRoutine)
#define NewControlUserPaneKeyDownUPP(userRoutine) ((ControlUserPaneKeyDownUPP)userRoutine)
#define NewControlUserPaneActivateUPP(userRoutine) ((ControlUserPaneActivateUPP)userRoutine)
#define NewControlUserPaneFocusUPP(userRoutine) ((ControlUserPaneFocusUPP)userRoutine)
#define DisposeControlUserPaneDrawUPP(userUPP)
#define DisposeControlUserPaneHitTestUPP(userUPP)
#define DisposeControlUserPaneTrackingUPP(userUPP)
#define DisposeControlUserPaneIdleUPP(userUPP)
#define DisposeControlUserPaneKeyDownUPP(userUPP)
#define DisposeControlUserPaneActivateUPP(userUPP)
#define DisposeControlUserPaneFocusUPP(userUPP)
#define InvokeControlUserPaneDrawUPP(control,part,userUPP) (*userUPP)(control, part)
#define InvokeControlUserPaneHitTestUPP(control,where,userUPP) (*userUPP)(control, where)
#define InvokeControlUserPaneTrackingUPP(control,startPt,actionProc,userUPP) (*userUPP)(control, startPt, actionProc)
#define InvokeControlUserPaneIdleUPP(control,userUPP) (*userUPP)(control)
#define InvokeControlUserPaneKeyDownUPP(control,keyCode,charCode,modifiers,userUPP) (*userUPP)(control, keyCode, charCode, modifiers)
#define InvokeControlUserPaneActivateUPP(control,activating,userUPP) (*userUPP)(control, activating)
#define InvokeControlUserPaneFocusUPP(control,action,userUPP) (*userUPP)(control, action)
# 130 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
#define __HIDATABROWSER__
# 82 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
#pragma pack(push, 2)
#define kHIDataBrowserClassID CFSTR("com.apple.HIDataBrowser")
enum {
kControlKindDataBrowser = 'datb'
};
enum {
errDataBrowserNotConfigured = -4970,
errDataBrowserItemNotFound = -4971,
errDataBrowserItemNotAdded = -4975,
errDataBrowserPropertyNotFound = -4972,
errDataBrowserInvalidPropertyPart = -4973,
errDataBrowserInvalidPropertyData = -4974,
errDataBrowserPropertyNotSupported = -4979
};
enum {
kControlDataBrowserIncludesFrameAndFocusTag = 'brdr',
kControlDataBrowserKeyFilterTag = kControlKeyFilterTag,
kControlDataBrowserEditTextKeyFilterTag = kControlDataBrowserKeyFilterTag,
kControlDataBrowserEditTextValidationProcTag = 'vali'
};
typedef OSType DataBrowserViewStyle;
enum {
kDataBrowserNoView = 0x3F3F3F3F,
kDataBrowserListView = 'lstv',
kDataBrowserColumnView = 'clmv'
};
typedef UInt32 DataBrowserSelectionFlags;
enum {
kDataBrowserDragSelect = 1 << 0,
kDataBrowserSelectOnlyOne = 1 << 1,
kDataBrowserResetSelection = 1 << 2,
kDataBrowserCmdTogglesSelection = 1 << 3,
kDataBrowserNoDisjointSelection = 1 << 4,
kDataBrowserAlwaysExtendSelection = 1 << 5,
kDataBrowserNeverEmptySelectionSet = 1 << 6
};
typedef UInt16 DataBrowserSortOrder;
enum {
kDataBrowserOrderUndefined = 0,
kDataBrowserOrderIncreasing = 1,
kDataBrowserOrderDecreasing = 2
};
typedef unsigned long DataBrowserItemID;
enum {
kDataBrowserNoItem = 0L
};
typedef UInt32 DataBrowserItemState;
enum {
kDataBrowserItemNoState = 0,
kDataBrowserItemAnyState = (unsigned long)(-1),
kDataBrowserItemIsSelected = 1 << 0,
kDataBrowserContainerIsOpen = 1 << 1,
kDataBrowserItemIsDragTarget = 1 << 2
};
typedef UInt8 DataBrowserRevealOptions;
enum {
kDataBrowserRevealOnly = 0,
kDataBrowserRevealAndCenterInView = 1 << 0,
kDataBrowserRevealWithoutSelecting = 1 << 1
};
typedef UInt32 DataBrowserSetOption;
enum {
kDataBrowserItemsAdd = 0,
kDataBrowserItemsAssign = 1,
kDataBrowserItemsToggle = 2,
kDataBrowserItemsRemove = 3
};
typedef UInt32 DataBrowserSelectionAnchorDirection;
enum {
kDataBrowserSelectionAnchorUp = 0,
kDataBrowserSelectionAnchorDown = 1,
kDataBrowserSelectionAnchorLeft = 2,
kDataBrowserSelectionAnchorRight = 3
};
typedef UInt32 DataBrowserEditCommand;
enum {
kDataBrowserEditMsgUndo = kHICommandUndo,
kDataBrowserEditMsgRedo = kHICommandRedo,
kDataBrowserEditMsgCut = kHICommandCut,
kDataBrowserEditMsgCopy = kHICommandCopy,
kDataBrowserEditMsgPaste = kHICommandPaste,
kDataBrowserEditMsgClear = kHICommandClear,
kDataBrowserEditMsgSelectAll = kHICommandSelectAll
};
typedef UInt32 DataBrowserItemNotification;
enum {
kDataBrowserItemAdded = 1,
kDataBrowserItemRemoved = 2,
kDataBrowserEditStarted = 3,
kDataBrowserEditStopped = 4,
kDataBrowserItemSelected = 5,
kDataBrowserItemDeselected = 6,
kDataBrowserItemDoubleClicked = 7,
kDataBrowserContainerOpened = 8,
kDataBrowserContainerClosing = 9,
kDataBrowserContainerClosed = 10,
kDataBrowserContainerSorting = 11,
kDataBrowserContainerSorted = 12,
kDataBrowserUserToggledContainer = 16,
kDataBrowserTargetChanged = 15,
kDataBrowserUserStateChanged = 13,
kDataBrowserSelectionSetChanged = 14
};
# 219 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kDataBrowserItemNoProperty = 0L,
kDataBrowserItemIsActiveProperty = 1L,
kDataBrowserItemIsSelectableProperty = 2L,
kDataBrowserItemIsEditableProperty = 3L,
kDataBrowserItemIsContainerProperty = 4L,
kDataBrowserContainerIsOpenableProperty = 5L,
kDataBrowserContainerIsClosableProperty = 6L,
kDataBrowserContainerIsSortableProperty = 7L,
kDataBrowserItemSelfIdentityProperty = 8L,
# 245 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserContainerAliasIDProperty = 9L,
# 261 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserColumnViewPreviewProperty = 10L,
# 288 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserItemParentContainerProperty = 11L
};
typedef unsigned long DataBrowserPropertyID;
typedef OSType DataBrowserPropertyType;
enum {
kDataBrowserCustomType = 0x3F3F3F3F,
kDataBrowserIconType = 'icnr',
kDataBrowserTextType = 'text',
kDataBrowserDateTimeType = 'date',
kDataBrowserSliderType = 'sldr',
kDataBrowserCheckboxType = 'chbx',
kDataBrowserProgressBarType = 'prog',
kDataBrowserRelevanceRankType = 'rank',
kDataBrowserPopupMenuType = 'menu',
kDataBrowserIconAndTextType = 'ticn'
};
typedef OSType DataBrowserPropertyPart;
enum {
kDataBrowserPropertyEnclosingPart = 0L,
kDataBrowserPropertyContentPart = '----',
kDataBrowserPropertyDisclosurePart = 'disc',
kDataBrowserPropertyTextPart = kDataBrowserTextType,
kDataBrowserPropertyIconPart = kDataBrowserIconType,
kDataBrowserPropertySliderPart = kDataBrowserSliderType,
kDataBrowserPropertyCheckboxPart = kDataBrowserCheckboxType,
kDataBrowserPropertyProgressBarPart = kDataBrowserProgressBarType,
kDataBrowserPropertyRelevanceRankPart = kDataBrowserRelevanceRankType
};
typedef UInt32 DataBrowserPropertyFlags;
enum {
kDataBrowserUniversalPropertyFlagsMask = 0xFF,
kDataBrowserPropertyIsMutable = 1 << 0,
kDataBrowserDefaultPropertyFlags = 0 << 0,
kDataBrowserUniversalPropertyFlags = kDataBrowserUniversalPropertyFlagsMask,
kDataBrowserPropertyIsEditable = kDataBrowserPropertyIsMutable
};
enum {
kDataBrowserPropertyFlagsOffset = 8,
kDataBrowserPropertyFlagsMask = 0xFF << kDataBrowserPropertyFlagsOffset,
kDataBrowserCheckboxTriState = 1 << kDataBrowserPropertyFlagsOffset,
kDataBrowserDateTimeRelative = 1 << (kDataBrowserPropertyFlagsOffset),
kDataBrowserDateTimeDateOnly = 1 << (kDataBrowserPropertyFlagsOffset + 1),
kDataBrowserDateTimeTimeOnly = 1 << (kDataBrowserPropertyFlagsOffset + 2),
kDataBrowserDateTimeSecondsToo = 1 << (kDataBrowserPropertyFlagsOffset + 3),
kDataBrowserSliderPlainThumb = kThemeThumbPlain << kDataBrowserPropertyFlagsOffset,
kDataBrowserSliderUpwardThumb = kThemeThumbUpward << kDataBrowserPropertyFlagsOffset,
kDataBrowserSliderDownwardThumb = kThemeThumbDownward << kDataBrowserPropertyFlagsOffset,
kDataBrowserDoNotTruncateText = 3 << kDataBrowserPropertyFlagsOffset,
kDataBrowserTruncateTextAtEnd = 2 << kDataBrowserPropertyFlagsOffset,
kDataBrowserTruncateTextMiddle = 0 << kDataBrowserPropertyFlagsOffset,
kDataBrowserTruncateTextAtStart = 1 << kDataBrowserPropertyFlagsOffset,
# 366 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserPopupMenuButtonless = 1 << kDataBrowserPropertyFlagsOffset,
kDataBrowserPropertyModificationFlags = kDataBrowserPropertyFlagsMask,
kDataBrowserRelativeDateTime = kDataBrowserDateTimeRelative
};
enum {
kDataBrowserViewSpecificFlagsOffset = 16,
kDataBrowserViewSpecificFlagsMask = 0xFF << kDataBrowserViewSpecificFlagsOffset,
kDataBrowserViewSpecificPropertyFlags = kDataBrowserViewSpecificFlagsMask
};
enum {
kDataBrowserClientPropertyFlagsOffset = 24,
kDataBrowserClientPropertyFlagsMask = 0xFF << kDataBrowserClientPropertyFlagsOffset
};
struct DataBrowserPropertyDesc {
DataBrowserPropertyID propertyID;
DataBrowserPropertyType propertyType;
DataBrowserPropertyFlags propertyFlags;
};
typedef struct DataBrowserPropertyDesc DataBrowserPropertyDesc;
typedef void ( * DataBrowserItemProcPtr)(DataBrowserItemID item, DataBrowserItemState state, void *clientData);
typedef DataBrowserItemProcPtr DataBrowserItemUPP;
# 405 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemUPP
NewDataBrowserItemUPP(DataBrowserItemProcPtr userRoutine) ;
# 416 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemUPP(DataBrowserItemUPP userUPP) ;
# 427 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserItemUPP(
DataBrowserItemID item,
DataBrowserItemState state,
void * clientData,
DataBrowserItemUPP userUPP) ;
#define NewDataBrowserItemUPP(userRoutine) ((DataBrowserItemUPP)userRoutine)
#define DisposeDataBrowserItemUPP(userUPP)
#define InvokeDataBrowserItemUPP(item,state,clientData,userUPP) (*userUPP)(item, state, clientData)
# 512 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kDataBrowserAttributeNone = 0,
# 531 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserAttributeColumnViewResizeWindow = (1 << 0),
kDataBrowserAttributeListViewAlternatingRowColors = (1 << 1),
kDataBrowserAttributeListViewDrawColumnDividers = (1 << 2),
# 568 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserAttributeAutoHideScrollBars = (1 << 3),
# 577 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserAttributeReserveGrowBoxSpace = (1 << 4)
};
# 659 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kDataBrowserMetricCellContentInset = 1,
kDataBrowserMetricIconAndTextGap = 2,
# 683 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserMetricDisclosureColumnEdgeInset = 3,
kDataBrowserMetricDisclosureTriangleAndContentGap = 4,
kDataBrowserMetricDisclosureColumnPerDepthGap = 5,
kDataBrowserMetricLast = kDataBrowserMetricDisclosureColumnPerDepthGap
};
typedef UInt32 DataBrowserMetric;
# 1594 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
typedef void * DataBrowserItemDataRef;
# 2099 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
typedef OSStatus ( * DataBrowserItemDataProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserPropertyID property, DataBrowserItemDataRef itemData, Boolean setValue);
typedef DataBrowserItemDataProcPtr DataBrowserItemDataUPP;
typedef Boolean ( * DataBrowserItemCompareProcPtr)(ControlRef browser, DataBrowserItemID itemOne, DataBrowserItemID itemTwo, DataBrowserPropertyID sortProperty);
typedef DataBrowserItemCompareProcPtr DataBrowserItemCompareUPP;
# 2121 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
typedef void ( * DataBrowserItemNotificationWithItemProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserItemNotification message, DataBrowserItemDataRef itemData);
typedef void ( * DataBrowserItemNotificationProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserItemNotification message);
typedef DataBrowserItemNotificationWithItemProcPtr DataBrowserItemNotificationWithItemUPP;
typedef DataBrowserItemNotificationProcPtr DataBrowserItemNotificationUPP;
typedef Boolean ( * DataBrowserAddDragItemProcPtr)(ControlRef browser, DragReference theDrag, DataBrowserItemID item, ItemReference *itemRef);
typedef Boolean ( * DataBrowserAcceptDragProcPtr)(ControlRef browser, DragReference theDrag, DataBrowserItemID item);
typedef Boolean ( * DataBrowserReceiveDragProcPtr)(ControlRef browser, DragReference theDrag, DataBrowserItemID item);
typedef void ( * DataBrowserPostProcessDragProcPtr)(ControlRef browser, DragReference theDrag, OSStatus trackDragResult);
typedef DataBrowserAddDragItemProcPtr DataBrowserAddDragItemUPP;
typedef DataBrowserAcceptDragProcPtr DataBrowserAcceptDragUPP;
typedef DataBrowserReceiveDragProcPtr DataBrowserReceiveDragUPP;
typedef DataBrowserPostProcessDragProcPtr DataBrowserPostProcessDragUPP;
typedef void ( * DataBrowserGetContextualMenuProcPtr)(ControlRef browser, MenuRef *menu, UInt32 *helpType, CFStringRef *helpItemString, AEDesc *selection);
typedef void ( * DataBrowserSelectContextualMenuProcPtr)(ControlRef browser, MenuRef menu, UInt32 selectionType, SInt16 menuID, MenuItemIndex menuItem);
typedef DataBrowserGetContextualMenuProcPtr DataBrowserGetContextualMenuUPP;
typedef DataBrowserSelectContextualMenuProcPtr DataBrowserSelectContextualMenuUPP;
typedef void ( * DataBrowserItemHelpContentProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserPropertyID property, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentRec *ioHelpContent);
typedef DataBrowserItemHelpContentProcPtr DataBrowserItemHelpContentUPP;
# 2154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemDataUPP
NewDataBrowserItemDataUPP(DataBrowserItemDataProcPtr userRoutine) ;
# 2165 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemCompareUPP
NewDataBrowserItemCompareUPP(DataBrowserItemCompareProcPtr userRoutine) ;
# 2176 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemNotificationWithItemUPP
NewDataBrowserItemNotificationWithItemUPP(DataBrowserItemNotificationWithItemProcPtr userRoutine) ;
# 2187 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemNotificationUPP
NewDataBrowserItemNotificationUPP(DataBrowserItemNotificationProcPtr userRoutine) ;
# 2198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserAddDragItemUPP
NewDataBrowserAddDragItemUPP(DataBrowserAddDragItemProcPtr userRoutine) ;
# 2209 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserAcceptDragUPP
NewDataBrowserAcceptDragUPP(DataBrowserAcceptDragProcPtr userRoutine) ;
# 2220 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserReceiveDragUPP
NewDataBrowserReceiveDragUPP(DataBrowserReceiveDragProcPtr userRoutine) ;
# 2231 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserPostProcessDragUPP
NewDataBrowserPostProcessDragUPP(DataBrowserPostProcessDragProcPtr userRoutine) ;
# 2242 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserGetContextualMenuUPP
NewDataBrowserGetContextualMenuUPP(DataBrowserGetContextualMenuProcPtr userRoutine) ;
# 2253 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserSelectContextualMenuUPP
NewDataBrowserSelectContextualMenuUPP(DataBrowserSelectContextualMenuProcPtr userRoutine) ;
# 2264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemHelpContentUPP
NewDataBrowserItemHelpContentUPP(DataBrowserItemHelpContentProcPtr userRoutine) ;
# 2275 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemDataUPP(DataBrowserItemDataUPP userUPP) ;
# 2286 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemCompareUPP(DataBrowserItemCompareUPP userUPP) ;
# 2297 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemNotificationWithItemUPP(DataBrowserItemNotificationWithItemUPP userUPP) ;
# 2308 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemNotificationUPP(DataBrowserItemNotificationUPP userUPP) ;
# 2319 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserAddDragItemUPP(DataBrowserAddDragItemUPP userUPP) ;
# 2330 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserAcceptDragUPP(DataBrowserAcceptDragUPP userUPP) ;
# 2341 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserReceiveDragUPP(DataBrowserReceiveDragUPP userUPP) ;
# 2352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserPostProcessDragUPP(DataBrowserPostProcessDragUPP userUPP) ;
# 2363 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserGetContextualMenuUPP(DataBrowserGetContextualMenuUPP userUPP) ;
# 2374 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserSelectContextualMenuUPP(DataBrowserSelectContextualMenuUPP userUPP) ;
# 2385 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemHelpContentUPP(DataBrowserItemHelpContentUPP userUPP) ;
# 2396 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern OSStatus
InvokeDataBrowserItemDataUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID property,
DataBrowserItemDataRef itemData,
Boolean setValue,
DataBrowserItemDataUPP userUPP) ;
# 2413 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserItemCompareUPP(
ControlRef browser,
DataBrowserItemID itemOne,
DataBrowserItemID itemTwo,
DataBrowserPropertyID sortProperty,
DataBrowserItemCompareUPP userUPP) ;
# 2429 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserItemNotificationWithItemUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserItemNotification message,
DataBrowserItemDataRef itemData,
DataBrowserItemNotificationWithItemUPP userUPP) ;
# 2445 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserItemNotificationUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserItemNotification message,
DataBrowserItemNotificationUPP userUPP) ;
# 2460 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserAddDragItemUPP(
ControlRef browser,
DragReference theDrag,
DataBrowserItemID item,
ItemReference * itemRef,
DataBrowserAddDragItemUPP userUPP) ;
# 2476 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserAcceptDragUPP(
ControlRef browser,
DragReference theDrag,
DataBrowserItemID item,
DataBrowserAcceptDragUPP userUPP) ;
# 2491 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserReceiveDragUPP(
ControlRef browser,
DragReference theDrag,
DataBrowserItemID item,
DataBrowserReceiveDragUPP userUPP) ;
# 2506 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserPostProcessDragUPP(
ControlRef browser,
DragReference theDrag,
OSStatus trackDragResult,
DataBrowserPostProcessDragUPP userUPP) ;
# 2521 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserGetContextualMenuUPP(
ControlRef browser,
MenuRef * menu,
UInt32 * helpType,
CFStringRef * helpItemString,
AEDesc * selection,
DataBrowserGetContextualMenuUPP userUPP) ;
# 2538 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserSelectContextualMenuUPP(
ControlRef browser,
MenuRef menu,
UInt32 selectionType,
SInt16 menuID,
MenuItemIndex menuItem,
DataBrowserSelectContextualMenuUPP userUPP) ;
# 2555 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserItemHelpContentUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID property,
HMContentRequest inRequest,
HMContentProvidedType * outContentProvided,
HMHelpContentRec * ioHelpContent,
DataBrowserItemHelpContentUPP userUPP) ;
# 2601 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
#define NewDataBrowserItemDataUPP(userRoutine) ((DataBrowserItemDataUPP)userRoutine)
#define NewDataBrowserItemCompareUPP(userRoutine) ((DataBrowserItemCompareUPP)userRoutine)
#define NewDataBrowserItemNotificationWithItemUPP(userRoutine) ((DataBrowserItemNotificationWithItemUPP)userRoutine)
#define NewDataBrowserItemNotificationUPP(userRoutine) ((DataBrowserItemNotificationUPP)userRoutine)
#define NewDataBrowserAddDragItemUPP(userRoutine) ((DataBrowserAddDragItemUPP)userRoutine)
#define NewDataBrowserAcceptDragUPP(userRoutine) ((DataBrowserAcceptDragUPP)userRoutine)
#define NewDataBrowserReceiveDragUPP(userRoutine) ((DataBrowserReceiveDragUPP)userRoutine)
#define NewDataBrowserPostProcessDragUPP(userRoutine) ((DataBrowserPostProcessDragUPP)userRoutine)
#define NewDataBrowserGetContextualMenuUPP(userRoutine) ((DataBrowserGetContextualMenuUPP)userRoutine)
#define NewDataBrowserSelectContextualMenuUPP(userRoutine) ((DataBrowserSelectContextualMenuUPP)userRoutine)
#define NewDataBrowserItemHelpContentUPP(userRoutine) ((DataBrowserItemHelpContentUPP)userRoutine)
#define DisposeDataBrowserItemDataUPP(userUPP)
#define DisposeDataBrowserItemCompareUPP(userUPP)
#define DisposeDataBrowserItemNotificationWithItemUPP(userUPP)
#define DisposeDataBrowserItemNotificationUPP(userUPP)
#define DisposeDataBrowserAddDragItemUPP(userUPP)
#define DisposeDataBrowserAcceptDragUPP(userUPP)
#define DisposeDataBrowserReceiveDragUPP(userUPP)
#define DisposeDataBrowserPostProcessDragUPP(userUPP)
#define DisposeDataBrowserGetContextualMenuUPP(userUPP)
#define DisposeDataBrowserSelectContextualMenuUPP(userUPP)
#define DisposeDataBrowserItemHelpContentUPP(userUPP)
#define InvokeDataBrowserItemDataUPP(browser,item,property,itemData,setValue,userUPP) (*userUPP)(browser, item, property, itemData, setValue)
#define InvokeDataBrowserItemCompareUPP(browser,itemOne,itemTwo,sortProperty,userUPP) (*userUPP)(browser, itemOne, itemTwo, sortProperty)
#define InvokeDataBrowserItemNotificationWithItemUPP(browser,item,message,itemData,userUPP) (*userUPP)(browser, item, message, itemData)
#define InvokeDataBrowserItemNotificationUPP(browser,item,message,userUPP) (*userUPP)(browser, item, message)
#define InvokeDataBrowserAddDragItemUPP(browser,theDrag,item,itemRef,userUPP) (*userUPP)(browser, theDrag, item, itemRef)
#define InvokeDataBrowserAcceptDragUPP(browser,theDrag,item,userUPP) (*userUPP)(browser, theDrag, item)
#define InvokeDataBrowserReceiveDragUPP(browser,theDrag,item,userUPP) (*userUPP)(browser, theDrag, item)
#define InvokeDataBrowserPostProcessDragUPP(browser,theDrag,trackDragResult,userUPP) (*userUPP)(browser, theDrag, trackDragResult)
#define InvokeDataBrowserGetContextualMenuUPP(browser,menu,helpType,helpItemString,selection,userUPP) (*userUPP)(browser, menu, helpType, helpItemString, selection)
#define InvokeDataBrowserSelectContextualMenuUPP(browser,menu,selectionType,menuID,menuItem,userUPP) (*userUPP)(browser, menu, selectionType, menuID, menuItem)
#define InvokeDataBrowserItemHelpContentUPP(browser,item,property,inRequest,outContentProvided,ioHelpContent,userUPP) (*userUPP)(browser, item, property, inRequest, outContentProvided, ioHelpContent)
enum {
kDataBrowserLatestCallbacks = 0
};
struct DataBrowserCallbacks {
UInt32 version;
union {
struct {
DataBrowserItemDataUPP itemDataCallback;
DataBrowserItemCompareUPP itemCompareCallback;
DataBrowserItemNotificationUPP itemNotificationCallback;
DataBrowserAddDragItemUPP addDragItemCallback;
DataBrowserAcceptDragUPP acceptDragCallback;
DataBrowserReceiveDragUPP receiveDragCallback;
DataBrowserPostProcessDragUPP postProcessDragCallback;
DataBrowserItemHelpContentUPP itemHelpContentCallback;
DataBrowserGetContextualMenuUPP getContextualMenuCallback;
DataBrowserSelectContextualMenuUPP selectContextualMenuCallback;
} v1;
} u;
};
typedef struct DataBrowserCallbacks DataBrowserCallbacks;
# 2728 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kEventClassDataBrowser = 'hidb'
};
# 2744 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kEventParamDataBrowserItemID = 'dbid',
kEventParamDataBrowserPropertyID = 'dbpd',
kEventParamDataBrowserItemState = 'dbis'
};
# 2801 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kEventDataBrowserDrawCustomItem = 1
};
typedef UInt32 DataBrowserDragFlags;
typedef SInt16 DataBrowserTrackingResult;
enum {
kDataBrowserContentHit = 1,
kDataBrowserNothingHit = 0,
kDataBrowserStopTracking = -1
};
typedef void ( * DataBrowserDrawItemProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserPropertyID property, DataBrowserItemState itemState, const Rect *theRect, SInt16 gdDepth, Boolean colorDevice);
typedef Boolean ( * DataBrowserEditItemProcPtr)(ControlRef browser, DataBrowserItemID item, DataBrowserPropertyID property, CFStringRef theString, Rect *maxEditTextRect, Boolean *shrinkToFit);
typedef Boolean ( * DataBrowserHitTestProcPtr)(ControlRef browser, DataBrowserItemID itemID, DataBrowserPropertyID property, const Rect *theRect, const Rect *mouseRect);
typedef DataBrowserTrackingResult ( * DataBrowserTrackingProcPtr)(ControlRef browser, DataBrowserItemID itemID, DataBrowserPropertyID property, const Rect *theRect, Point startPt, EventModifiers modifiers);
typedef void ( * DataBrowserItemDragRgnProcPtr)(ControlRef browser, DataBrowserItemID itemID, DataBrowserPropertyID property, const Rect *theRect, RgnHandle dragRgn);
typedef DataBrowserDragFlags ( * DataBrowserItemAcceptDragProcPtr)(ControlRef browser, DataBrowserItemID itemID, DataBrowserPropertyID property, const Rect *theRect, DragReference theDrag);
typedef Boolean ( * DataBrowserItemReceiveDragProcPtr)(ControlRef browser, DataBrowserItemID itemID, DataBrowserPropertyID property, DataBrowserDragFlags dragFlags, DragReference theDrag);
typedef DataBrowserDrawItemProcPtr DataBrowserDrawItemUPP;
typedef DataBrowserEditItemProcPtr DataBrowserEditItemUPP;
typedef DataBrowserHitTestProcPtr DataBrowserHitTestUPP;
typedef DataBrowserTrackingProcPtr DataBrowserTrackingUPP;
typedef DataBrowserItemDragRgnProcPtr DataBrowserItemDragRgnUPP;
typedef DataBrowserItemAcceptDragProcPtr DataBrowserItemAcceptDragUPP;
typedef DataBrowserItemReceiveDragProcPtr DataBrowserItemReceiveDragUPP;
# 2838 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserDrawItemUPP
NewDataBrowserDrawItemUPP(DataBrowserDrawItemProcPtr userRoutine) ;
# 2849 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserEditItemUPP
NewDataBrowserEditItemUPP(DataBrowserEditItemProcPtr userRoutine) ;
# 2860 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserHitTestUPP
NewDataBrowserHitTestUPP(DataBrowserHitTestProcPtr userRoutine) ;
# 2871 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserTrackingUPP
NewDataBrowserTrackingUPP(DataBrowserTrackingProcPtr userRoutine) ;
# 2882 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemDragRgnUPP
NewDataBrowserItemDragRgnUPP(DataBrowserItemDragRgnProcPtr userRoutine) ;
# 2893 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemAcceptDragUPP
NewDataBrowserItemAcceptDragUPP(DataBrowserItemAcceptDragProcPtr userRoutine) ;
# 2904 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserItemReceiveDragUPP
NewDataBrowserItemReceiveDragUPP(DataBrowserItemReceiveDragProcPtr userRoutine) ;
# 2915 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserDrawItemUPP(DataBrowserDrawItemUPP userUPP) ;
# 2926 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserEditItemUPP(DataBrowserEditItemUPP userUPP) ;
# 2937 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserHitTestUPP(DataBrowserHitTestUPP userUPP) ;
# 2948 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserTrackingUPP(DataBrowserTrackingUPP userUPP) ;
# 2959 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemDragRgnUPP(DataBrowserItemDragRgnUPP userUPP) ;
# 2970 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemAcceptDragUPP(DataBrowserItemAcceptDragUPP userUPP) ;
# 2981 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
DisposeDataBrowserItemReceiveDragUPP(DataBrowserItemReceiveDragUPP userUPP) ;
# 2992 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserDrawItemUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID property,
DataBrowserItemState itemState,
const Rect * theRect,
SInt16 gdDepth,
Boolean colorDevice,
DataBrowserDrawItemUPP userUPP) ;
# 3011 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserEditItemUPP(
ControlRef browser,
DataBrowserItemID item,
DataBrowserPropertyID property,
CFStringRef theString,
Rect * maxEditTextRect,
Boolean * shrinkToFit,
DataBrowserEditItemUPP userUPP) ;
# 3029 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserHitTestUPP(
ControlRef browser,
DataBrowserItemID itemID,
DataBrowserPropertyID property,
const Rect * theRect,
const Rect * mouseRect,
DataBrowserHitTestUPP userUPP) ;
# 3046 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserTrackingResult
InvokeDataBrowserTrackingUPP(
ControlRef browser,
DataBrowserItemID itemID,
DataBrowserPropertyID property,
const Rect * theRect,
Point startPt,
EventModifiers modifiers,
DataBrowserTrackingUPP userUPP) ;
# 3064 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern void
InvokeDataBrowserItemDragRgnUPP(
ControlRef browser,
DataBrowserItemID itemID,
DataBrowserPropertyID property,
const Rect * theRect,
RgnHandle dragRgn,
DataBrowserItemDragRgnUPP userUPP) ;
# 3081 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern DataBrowserDragFlags
InvokeDataBrowserItemAcceptDragUPP(
ControlRef browser,
DataBrowserItemID itemID,
DataBrowserPropertyID property,
const Rect * theRect,
DragReference theDrag,
DataBrowserItemAcceptDragUPP userUPP) ;
# 3098 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
extern Boolean
InvokeDataBrowserItemReceiveDragUPP(
ControlRef browser,
DataBrowserItemID itemID,
DataBrowserPropertyID property,
DataBrowserDragFlags dragFlags,
DragReference theDrag,
DataBrowserItemReceiveDragUPP userUPP) ;
# 3131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
#define NewDataBrowserDrawItemUPP(userRoutine) ((DataBrowserDrawItemUPP)userRoutine)
#define NewDataBrowserEditItemUPP(userRoutine) ((DataBrowserEditItemUPP)userRoutine)
#define NewDataBrowserHitTestUPP(userRoutine) ((DataBrowserHitTestUPP)userRoutine)
#define NewDataBrowserTrackingUPP(userRoutine) ((DataBrowserTrackingUPP)userRoutine)
#define NewDataBrowserItemDragRgnUPP(userRoutine) ((DataBrowserItemDragRgnUPP)userRoutine)
#define NewDataBrowserItemAcceptDragUPP(userRoutine) ((DataBrowserItemAcceptDragUPP)userRoutine)
#define NewDataBrowserItemReceiveDragUPP(userRoutine) ((DataBrowserItemReceiveDragUPP)userRoutine)
#define DisposeDataBrowserDrawItemUPP(userUPP)
#define DisposeDataBrowserEditItemUPP(userUPP)
#define DisposeDataBrowserHitTestUPP(userUPP)
#define DisposeDataBrowserTrackingUPP(userUPP)
#define DisposeDataBrowserItemDragRgnUPP(userUPP)
#define DisposeDataBrowserItemAcceptDragUPP(userUPP)
#define DisposeDataBrowserItemReceiveDragUPP(userUPP)
#define InvokeDataBrowserDrawItemUPP(browser,item,property,itemState,theRect,gdDepth,colorDevice,userUPP) (*userUPP)(browser, item, property, itemState, theRect, gdDepth, colorDevice)
#define InvokeDataBrowserEditItemUPP(browser,item,property,theString,maxEditTextRect,shrinkToFit,userUPP) (*userUPP)(browser, item, property, theString, maxEditTextRect, shrinkToFit)
#define InvokeDataBrowserHitTestUPP(browser,itemID,property,theRect,mouseRect,userUPP) (*userUPP)(browser, itemID, property, theRect, mouseRect)
#define InvokeDataBrowserTrackingUPP(browser,itemID,property,theRect,startPt,modifiers,userUPP) (*userUPP)(browser, itemID, property, theRect, startPt, modifiers)
#define InvokeDataBrowserItemDragRgnUPP(browser,itemID,property,theRect,dragRgn,userUPP) (*userUPP)(browser, itemID, property, theRect, dragRgn)
#define InvokeDataBrowserItemAcceptDragUPP(browser,itemID,property,theRect,theDrag,userUPP) (*userUPP)(browser, itemID, property, theRect, theDrag)
#define InvokeDataBrowserItemReceiveDragUPP(browser,itemID,property,dragFlags,theDrag,userUPP) (*userUPP)(browser, itemID, property, dragFlags, theDrag)
enum {
kDataBrowserLatestCustomCallbacks = 0
};
struct DataBrowserCustomCallbacks {
UInt32 version;
union {
struct {
DataBrowserDrawItemUPP drawItemCallback;
DataBrowserEditItemUPP editTextCallback;
DataBrowserHitTestUPP hitTestCallback;
DataBrowserTrackingUPP trackingCallback;
DataBrowserItemDragRgnUPP dragRegionCallback;
DataBrowserItemAcceptDragUPP acceptDragCallback;
DataBrowserItemReceiveDragUPP receiveDragCallback;
} v1;
} u;
};
typedef struct DataBrowserCustomCallbacks DataBrowserCustomCallbacks;
# 3238 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
typedef UInt32 DataBrowserTableViewHiliteStyle;
enum {
kDataBrowserTableViewMinimalHilite = 0,
kDataBrowserTableViewFillHilite = 1
};
typedef UInt32 DataBrowserTableViewPropertyFlags;
enum {
kDataBrowserTableViewSelectionColumn = 1 << kDataBrowserViewSpecificFlagsOffset
};
typedef unsigned long DataBrowserTableViewRowIndex;
typedef unsigned long DataBrowserTableViewColumnIndex;
typedef DataBrowserPropertyID DataBrowserTableViewColumnID;
typedef DataBrowserPropertyDesc DataBrowserTableViewColumnDesc;
enum {
kDataBrowserTableViewLastColumn = -1
};
# 3629 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
enum {
kDataBrowserListViewSelectionColumn = kDataBrowserTableViewSelectionColumn,
kDataBrowserListViewMovableColumn = 1 << (kDataBrowserViewSpecificFlagsOffset + 1),
kDataBrowserListViewSortableColumn = 1 << (kDataBrowserViewSpecificFlagsOffset + 2),
# 3649 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserListViewTypeSelectColumn = 1 << (kDataBrowserViewSpecificFlagsOffset + 3),
# 3662 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
kDataBrowserListViewNoGapForIconInHeaderButton = 1 << (kDataBrowserViewSpecificFlagsOffset + 4),
kDataBrowserListViewDefaultColumnFlags = kDataBrowserListViewMovableColumn + kDataBrowserListViewSortableColumn
};
typedef DataBrowserPropertyFlags DataBrowserListViewPropertyFlags;
enum {
kDataBrowserListViewLatestHeaderDesc = 0
};
struct DataBrowserListViewHeaderDesc {
UInt32 version;
UInt16 minimumWidth;
UInt16 maximumWidth;
SInt16 titleOffset;
CFStringRef titleString;
DataBrowserSortOrder initialOrder;
ControlFontStyleRec btnFontStyle;
ControlButtonContentInfo btnContentInfo;
};
typedef struct DataBrowserListViewHeaderDesc DataBrowserListViewHeaderDesc;
struct DataBrowserListViewColumnDesc {
DataBrowserTableViewColumnDesc propertyDesc;
DataBrowserListViewHeaderDesc headerBtnDesc;
};
typedef struct DataBrowserListViewColumnDesc DataBrowserListViewColumnDesc;
enum {
kDataBrowserListViewAppendColumn = kDataBrowserTableViewLastColumn
};
# 4074 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
struct DataBrowserAccessibilityItemInfoV0 {
# 4086 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserItemID container;
# 4097 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserItemID item;
# 4112 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserPropertyID columnProperty;
# 4125 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserPropertyPart propertyPart;
};
typedef struct DataBrowserAccessibilityItemInfoV0 DataBrowserAccessibilityItemInfoV0;
# 4151 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
struct DataBrowserAccessibilityItemInfoV1 {
# 4163 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserItemID container;
# 4174 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserItemID item;
# 4189 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserPropertyID columnProperty;
# 4202 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserPropertyPart propertyPart;
# 4217 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserTableViewRowIndex rowIndex;
# 4232 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
DataBrowserTableViewColumnIndex columnIndex;
};
typedef struct DataBrowserAccessibilityItemInfoV1 DataBrowserAccessibilityItemInfoV1;
# 4247 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
struct DataBrowserAccessibilityItemInfo {
# 4256 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
UInt32 version;
union {
DataBrowserAccessibilityItemInfoV0 v0;
DataBrowserAccessibilityItemInfoV1 v1;
} u;
};
typedef struct DataBrowserAccessibilityItemInfo DataBrowserAccessibilityItemInfo;
# 4350 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDataBrowser.h" 3
#pragma pack(pop)
# 134 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
#define __HIDISCLOSUREVIEWS__
# 48 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
#define kHIDisclosureButtonClassID CFSTR("com.apple.HIDisclosureButton")
# 106 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
enum {
kControlKindDisclosureButton = 'disb'
};
enum {
kControlDisclosureButtonClosed = 0,
kControlDisclosureButtonDisclosed = 1
};
# 152 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
enum {
kControlTriangleProc = 64,
kControlTriangleLeftFacingProc = 65,
kControlTriangleAutoToggleProc = 66,
kControlTriangleLeftFacingAutoToggleProc = 67
};
# 166 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
typedef UInt16 ControlDisclosureTriangleOrientation;
enum {
kControlDisclosureTrianglePointDefault = 0,
kControlDisclosureTrianglePointRight = 1,
kControlDisclosureTrianglePointLeft = 2
};
enum {
kControlKindDisclosureTriangle = 'dist'
};
#define kHIDisclosureTriangleClassID CFSTR("com.apple.HIDisclosureTriangle")
# 275 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIDisclosureViews.h" 3
enum {
kControlTriangleLastValueTag = 'last'
};
# 138 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
#define __HIIMAGEVIEWS__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
#define kHIImageViewClassID CFSTR("com.apple.HIImageView")
enum {
kControlKindHIImageView = 'imag'
};
# 364 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
typedef UInt32 HIImageViewAutoTransformOptions;
enum {
kHIImageViewAutoTransformNone = 0,
kHIImageViewAutoTransformOnDisable = 1 << 0,
kHIImageViewAutoTransformOnDeactivate = 1 << 1
};
# 450 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
enum {
kHIImageViewImageTag = 'imag'
};
# 468 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
enum {
kControlIconProc = 320,
kControlIconNoTrackProc = 321,
kControlIconSuiteProc = 322,
kControlIconSuiteNoTrackProc = 323
};
enum {
kControlIconRefProc = 324,
kControlIconRefNoTrackProc = 325
};
enum {
kControlKindIcon = 'icon'
};
#define kHIIconViewClassID CFSTR("com.apple.HIIconView")
# 552 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
enum {
kControlIconTransformTag = 'trfm',
kControlIconAlignmentTag = 'algn'
};
enum {
kControlIconResourceIDTag = 'ires',
kControlIconContentTag = kControlContentTag
};
# 587 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
enum {
kControlImageWellProc = 176
};
enum {
kControlKindImageWell = 'well'
};
#define kHIImageWellClassID CFSTR("com.apple.HIImageWell")
# 622 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIImageViews.h" 3
enum {
kControlImageWellContentTag = kControlContentTag,
kControlImageWellTransformTag = 'tran',
kControlImageWellIsDragDestinationTag = 'drag'
};
# 142 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HILittleArrows.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HILittleArrows.h" 3
#define __HILITTLEARROWS__
# 59 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HILittleArrows.h" 3
enum {
kControlLittleArrowsProc = 96
};
enum {
kControlKindLittleArrows = 'larr'
};
enum {
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HILittleArrows.h" 3
kControlLittleArrowsIncrementValueTag = 'incr'
};
#define kHILittleArrowsClassID CFSTR("com.apple.HILittleArrows")
# 146 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIMenuView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIMenuView.h" 3
#define __HIMENUVIEW__
# 67 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIMenuView.h" 3
#define kHIMenuViewClassID CFSTR("com.apple.HIMenuView")
#define kHIStandardMenuViewClassID CFSTR("com.apple.HIStandardMenuView")
enum {
kControlKindHIMenuView = 'menu',
kControlKindHIStandardMenuView = 'smnu'
};
# 99 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIMenuView.h" 3
extern const HIViewID kHIViewMenuContentID ;
# 150 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
#define __HIPOPUPBUTTON__
# 69 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
enum {
kControlPopupButtonProc = 400,
kControlPopupFixedWidthVariant = 1 << 0,
kControlPopupVariableWidthVariant = 1 << 1,
kControlPopupUseAddResMenuVariant = 1 << 2,
kControlPopupUseWFontVariant = kControlUsesOwningWindowsFontVariant
};
enum {
kControlKindPopupButton = 'popb'
};
#define kHIPopupButtonClassID CFSTR("com.apple.HIPopupButton")
# 154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
enum {
kControlPopupButtonMenuHandleTag = 'mhan',
kControlPopupButtonMenuRefTag = 'mhan',
kControlPopupButtonMenuIDTag = 'mnid'
};
enum {
kControlPopupButtonExtraHeightTag = 'exht',
kControlPopupButtonOwnedMenuRefTag = 'omrf'
};
enum {
kControlPopupButtonCheckCurrentTag = 'chck'
};
# 180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
enum {
kControlPopupArrowEastProc = 192,
kControlPopupArrowWestProc = 193,
kControlPopupArrowNorthProc = 194,
kControlPopupArrowSouthProc = 195,
kControlPopupArrowSmallEastProc = 196,
kControlPopupArrowSmallWestProc = 197,
kControlPopupArrowSmallNorthProc = 198,
kControlPopupArrowSmallSouthProc = 199
};
enum {
kControlPopupArrowOrientationEast = 0,
kControlPopupArrowOrientationWest = 1,
kControlPopupArrowOrientationNorth = 2,
kControlPopupArrowOrientationSouth = 3
};
typedef UInt16 ControlPopupArrowOrientation;
enum {
kControlPopupArrowSizeNormal = 0,
kControlPopupArrowSizeSmall = 1
};
typedef UInt16 ControlPopupArrowSize;
enum {
kControlKindPopupArrow = 'parr'
};
#define kHIPopupArrowClassID CFSTR("com.apple.hipopuparrow")
# 269 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIPopupButton.h" 3
enum {
popupFixedWidth = 1 << 0,
popupVariableWidth = 1 << 1,
popupUseAddResMenu = 1 << 2,
popupUseWFont = 1 << 3
};
enum {
popupTitleBold = 1 << 8,
popupTitleItalic = 1 << 9,
popupTitleUnderline = 1 << 10,
popupTitleOutline = 1 << 11,
popupTitleShadow = 1 << 12,
popupTitleCondense = 1 << 13,
popupTitleExtend = 1 << 14,
popupTitleNoStyle = 1 << 15
};
enum {
popupTitleLeftJust = 0x00000000,
popupTitleCenterJust = 0x00000001,
popupTitleRightJust = 0x000000FF
};
# 154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIProgressViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIProgressViews.h" 3
#define __HIPROGRESSVIEWS__
# 62 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIProgressViews.h" 3
enum {
kControlProgressBarProc = 80,
kControlRelevanceBarProc = 81
};
enum {
kControlKindProgressBar = 'prgb',
kControlKindRelevanceBar = 'relb'
};
#define kHIProgressBarClassID CFSTR("com.apple.HIProgressBar")
# 102 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIProgressViews.h" 3
enum {
kControlProgressBarIndeterminateTag = 'inde',
kControlProgressBarAnimatingTag = 'anim'
};
enum {
kControlChasingArrowsProc = 112
};
enum {
kControlKindChasingArrows = 'carr'
};
#define kHIChasingArrowsClassID CFSTR("com.apple.HIChasingArrows")
# 147 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIProgressViews.h" 3
enum {
kControlChasingArrowsAnimatingTag = 'anim'
};
# 158 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIRelevanceBar.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIRelevanceBar.h" 3
#define __HIRELEVANCEBAR__
# 58 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIRelevanceBar.h" 3
#define kHIRelevanceBarClassID CFSTR("com.apple.HIRelevanceBar")
# 162 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
#define __HISCROLLVIEW__
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kControlScrollBarProc = 384,
kControlScrollBarLiveProc = 386
};
enum {
kControlKindScrollBar = 'sbar'
};
#define kHIScrollBarClassID CFSTR("com.apple.HIScrollBar")
# 167 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kControlScrollBarShowsArrowsTag = 'arro'
};
# 199 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
#define kHIScrollViewClassID CFSTR("com.apple.HIScrollView")
enum {
kControlKindHIScrollView = 'scrl'
};
# 212 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kEventClassScrollable = 'scrl'
};
enum {
# 228 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
kEventParamImageSize = 'imsz',
kEventParamViewSize = 'vwsz',
kEventParamLineSize = 'lnsz',
# 260 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
kEventParamOrigin = 'orgn'
};
# 300 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kEventScrollableGetInfo = 1
};
# 329 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kEventScrollableInfoChanged = 2
};
# 371 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
enum {
kEventScrollableScrollTo = 10
};
enum {
kHIScrollViewOptionsVertScroll = (1 << 0),
kHIScrollViewOptionsHorizScroll = (1 << 1),
# 402 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
kHIScrollViewOptionsAllowGrow = (1 << 2),
kHIScrollViewOptionsFillGrowArea = (1 << 3),
kHIScrollViewOptionsDisableSmoothScrolling = 1 << 4,
kHIScrollViewValidOptions = (kHIScrollViewOptionsVertScroll | kHIScrollViewOptionsHorizScroll | kHIScrollViewOptionsAllowGrow | kHIScrollViewOptionsFillGrowArea | kHIScrollViewOptionsDisableSmoothScrolling)
};
# 428 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIScrollView.h" 3
typedef UInt32 HIScrollViewAction;
enum {
kHIScrollViewScrollToTop = (1 << 0),
kHIScrollViewScrollToBottom = (1 << 1),
kHIScrollViewScrollToLeft = (1 << 2),
kHIScrollViewScrollToRight = (1 << 3),
kHIScrollViewPageUp = (1 << 4),
kHIScrollViewPageDown = (1 << 5),
kHIScrollViewPageLeft = (1 << 6),
kHIScrollViewPageRight = (1 << 7)
};
# 166 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
#define __HISEARCHFIELD__
# 68 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
#define kHISearchFieldClassID CFSTR("com.apple.HISearchField")
enum {
kControlKindHISearchField = 'srfd'
};
enum {
kControlSearchFieldCancelPart = 30,
kControlSearchFieldMenuPart = 31
};
# 100 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
enum {
kHISearchFieldNoAttributes = 0,
kHISearchFieldAttributesCancel = (1 << 0),
kHISearchFieldAttributesSearchIcon = (1 << 1)
};
enum {
kEventClassSearchField = 'srfd'
};
# 149 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
enum {
kEventSearchFieldCancelClicked = 1
};
# 180 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISearchField.h" 3
enum {
kEventSearchFieldSearchClicked = 2
};
# 170 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
#define __HISEGMENTEDVIEW__
# 61 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
#define kHISegmentedViewClassID CFSTR("com.apple.HISegmentedView")
enum {
kHISegmentedViewKind = 'sgmt'
};
# 194 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
enum {
kHISegmentBehaviorMomentary = 1,
kHISegmentBehaviorRadio = 2,
kHISegmentBehaviorToggles = 3,
kHISegmentBehaviorSticky = 4
};
typedef UInt32 HISegmentBehavior;
# 310 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISegmentedView.h" 3
enum {
kHISegmentNoAttributes = 0,
kHISegmentSendCmdToUserFocus = (1 << 0)
};
# 174 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISeparator.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISeparator.h" 3
#define __HISEPARATOR__
# 60 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISeparator.h" 3
enum {
kControlSeparatorLineProc = 144
};
enum {
kControlKindSeparator = 'sepa'
};
#define kHIVisualSeparatorClassID CFSTR("com.apple.HIVisualSeparator")
# 178 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
#define __HISLIDER__
# 79 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
enum {
kControlSliderProc = 48,
kControlSliderLiveFeedback = (1 << 0),
kControlSliderHasTickMarks = (1 << 1),
kControlSliderReverseDirection = (1 << 2),
kControlSliderNonDirectional = (1 << 3)
};
# 94 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HISlider.h" 3
typedef UInt16 ControlSliderOrientation;
enum {
kControlSliderPointsDownOrRight = 0,
kControlSliderPointsUpOrLeft = 1,
kControlSliderDoesNotPoint = 2
};
enum {
kControlKindSlider = 'sldr'
};
#define kHISliderClassID CFSTR("com.apple.HISlider")
# 182 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
#define __HITABBEDVIEW__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
#pragma pack(push, 2)
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
enum {
kControlTabLargeProc = 128,
kControlTabSmallProc = 129,
kControlTabLargeNorthProc = 128,
kControlTabSmallNorthProc = 129,
kControlTabLargeSouthProc = 130,
kControlTabSmallSouthProc = 131,
kControlTabLargeEastProc = 132,
kControlTabSmallEastProc = 133,
kControlTabLargeWestProc = 134,
kControlTabSmallWestProc = 135
};
typedef UInt16 ControlTabDirection;
enum {
kControlTabDirectionNorth = 0,
kControlTabDirectionSouth = 1,
kControlTabDirectionEast = 2,
kControlTabDirectionWest = 3
};
typedef UInt16 ControlTabSize;
enum {
kControlTabSizeLarge = kControlSizeNormal,
kControlTabSizeSmall = kControlSizeSmall,
kControlTabSizeMini = kControlSizeMini
};
struct ControlTabEntry {
ControlButtonContentInfo * icon;
CFStringRef name;
Boolean enabled;
};
typedef struct ControlTabEntry ControlTabEntry;
enum {
kControlKindTabs = 'tabs'
};
#define kHITabbedViewClassID CFSTR("com.apple.HITabbedView")
# 163 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
enum {
kControlTabContentRectTag = 'rect',
kControlTabEnabledFlagTag = 'enab',
kControlTabFontStyleTag = kControlFontStyleTag,
kControlTabInfoTag = 'tabi',
# 202 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
kControlTabImageContentTag = kControlContentTag
};
enum {
kControlTabInfoVersionZero = 0,
kControlTabInfoVersionOne = 1
};
struct ControlTabInfoRec {
SInt16 version;
SInt16 iconSuiteID;
Str255 name;
};
typedef struct ControlTabInfoRec ControlTabInfoRec;
struct ControlTabInfoRecV1 {
SInt16 version;
SInt16 iconSuiteID;
CFStringRef name;
};
typedef struct ControlTabInfoRecV1 ControlTabInfoRecV1;
# 265 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITabbedView.h" 3
enum {
kControlTabListResType = 'tab#'
};
#pragma pack(pop)
# 186 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
#define __HITEXTVIEWS__
# 51 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
#pragma pack(push, 2)
# 66 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kControlStaticTextProc = 288
};
enum {
kControlKindStaticText = 'stxt'
};
#define kHIStaticTextViewClassID CFSTR("com.apple.HIStaticTextView")
# 131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kControlStaticTextStyleTag = kControlFontStyleTag,
# 148 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
kControlStaticTextTextTag = 'text',
kControlStaticTextTextHeightTag = 'thei',
# 164 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
kControlStaticTextTruncTag = 'trun',
# 177 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
kControlStaticTextCFStringTag = 'cfst',
# 186 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
kControlStaticTextIsMultilineTag = 'stim'
};
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kEventClassTextField = 'txfd'
};
enum {
kEventParamTextSelection = 'txsl',
kEventParamCandidateText = 'tstx',
kEventParamReplacementText = 'trtx',
kEventParamUnconfirmedRange = 'tunr',
kEventParamUnconfirmedText = 'txun'
};
# 254 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kEventTextAccepted = 1
};
# 352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kEventTextShouldChangeInRange = 2
};
# 417 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kEventTextDidChange = 3
};
# 454 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern const CFStringRef kHITextViewClassID ;
enum {
kControlKindHITextView = 'hitx'
};
# 613 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kControlEditUnicodeTextProc = 912,
kControlEditUnicodeTextPasswordProc = 914
};
enum {
kControlKindEditUnicodeText = 'eutx'
};
#define kHITextFieldClassID CFSTR("com.apple.HITextField")
# 687 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
enum {
kControlEditTextStyleTag = kControlFontStyleTag,
kControlEditTextTextTag = 'text',
kControlEditTextKeyFilterTag = kControlKeyFilterTag,
kControlEditTextSelectionTag = 'sele',
kControlEditTextPasswordTag = 'pass',
kControlEditTextCharCount = 'chrc'
};
enum {
kControlEditTextKeyScriptBehaviorTag = 'kscr',
kControlEditTextLockedTag = 'lock',
kControlEditTextFixedTextTag = 'ftxt',
kControlEditTextValidationProcTag = 'vali'
};
enum {
kControlEditTextCFStringTag = 'cfst',
kControlEditTextPasswordCFStringTag = 'pwcf'
};
enum {
kControlEditTextSingleLineTag = 'sglc',
kControlEditTextInsertTextBufferTag = 'intx',
kControlEditTextInsertCFStringRefTag = 'incf',
kControlEditUnicodeTextPostUpdateProcTag = 'upup',
kControlEditTextSpellCheckingTag = 'spck',
kControlEditTextSpellCheckAsYouTypeTag = 'scat'
};
struct ControlEditTextSelectionRec {
SInt16 selStart;
SInt16 selEnd;
};
typedef struct ControlEditTextSelectionRec ControlEditTextSelectionRec;
typedef ControlEditTextSelectionRec * ControlEditTextSelectionPtr;
typedef void ( * ControlEditTextValidationProcPtr)(ControlRef control);
typedef Boolean ( * EditUnicodePostUpdateProcPtr)(UniCharArrayHandle uniText, UniCharCount uniTextLength, UniCharArrayOffset iStartOffset, UniCharArrayOffset iEndOffset, void *refcon);
typedef ControlEditTextValidationProcPtr ControlEditTextValidationUPP;
typedef EditUnicodePostUpdateProcPtr EditUnicodePostUpdateUPP;
# 761 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern ControlEditTextValidationUPP
NewControlEditTextValidationUPP(ControlEditTextValidationProcPtr userRoutine) ;
# 772 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern EditUnicodePostUpdateUPP
NewEditUnicodePostUpdateUPP(EditUnicodePostUpdateProcPtr userRoutine) ;
# 783 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern void
DisposeControlEditTextValidationUPP(ControlEditTextValidationUPP userUPP) ;
# 794 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern void
DisposeEditUnicodePostUpdateUPP(EditUnicodePostUpdateUPP userUPP) ;
# 805 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern void
InvokeControlEditTextValidationUPP(
ControlRef control,
ControlEditTextValidationUPP userUPP) ;
# 818 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
extern Boolean
InvokeEditUnicodePostUpdateUPP(
UniCharArrayHandle uniText,
UniCharCount uniTextLength,
UniCharArrayOffset iStartOffset,
UniCharArrayOffset iEndOffset,
void * refcon,
EditUnicodePostUpdateUPP userUPP) ;
# 836 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextViews.h" 3
#define NewControlEditTextValidationUPP(userRoutine) ((ControlEditTextValidationUPP)userRoutine)
#define NewEditUnicodePostUpdateUPP(userRoutine) ((EditUnicodePostUpdateUPP)userRoutine)
#define DisposeControlEditTextValidationUPP(userUPP)
#define DisposeEditUnicodePostUpdateUPP(userUPP)
#define InvokeControlEditTextValidationUPP(control,userUPP) (*userUPP)(control)
#define InvokeEditUnicodePostUpdateUPP(uniText,uniTextLength,iStartOffset,iEndOffset,refcon,userUPP) (*userUPP)(uniText, uniTextLength, iStartOffset, iEndOffset, refcon)
#pragma pack(pop)
# 190 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
#define __HIWINDOWVIEWS__
# 81 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowContentID ;
# 102 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowCloseBoxID ;
# 123 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowCollapseBoxID ;
# 144 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowZoomBoxID ;
# 165 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowToolbarButtonID ;
# 186 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowTitleID ;
# 207 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowToolbarID ;
# 224 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
extern const HIViewID kHIViewWindowGrowBoxID ;
# 240 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
enum {
kHIWindowTitleBarPart = 2,
kHIWindowDragPart = 3,
# 264 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
kHIWindowTitleProxyIconPart = 2
};
# 276 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIWindowViews.h" 3
#define kHIGrowBoxViewClassID CFSTR("com.apple.higrowboxview")
enum {
kControlKindHIGrowBoxView = 'grow'
};
# 194 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextLengthFilter.h" 1 3
# 38 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextLengthFilter.h" 3
#define __HITEXTLENGTHFILTER__
# 54 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HITextLengthFilter.h" 3
#define kHITextLengthFilterClassID CFSTR("com.apple.appobjects.HITextLengthFilter")
enum {
kEventParamTextLength = 'TLEN'
};
# 198 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
#define __CONTROLDEFINITIONS__
# 36 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
#define __LISTS__
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
#pragma pack(push, 2)
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
typedef Point Cell;
typedef Rect ListBounds;
typedef char DataArray[32001];
typedef char * DataPtr;
typedef DataPtr * DataHandle;
typedef short ( * ListSearchProcPtr)(Ptr aPtr, Ptr bPtr, short aLen, short bLen);
typedef Boolean ( * ListClickLoopProcPtr)(void);
typedef ListSearchProcPtr ListSearchUPP;
typedef ListClickLoopProcPtr ListClickLoopUPP;
struct ListRec {
Rect rView;
GrafPtr port;
Point indent;
Point cellSize;
ListBounds visible;
ControlRef vScroll;
ControlRef hScroll;
SInt8 selFlags;
Boolean lActive;
SInt8 lReserved;
SInt8 listFlags;
long clikTime;
Point clikLoc;
Point mouseLoc;
ListClickLoopUPP lClickLoop;
Cell lastClick;
long refCon;
Handle listDefProc;
Handle userHandle;
ListBounds dataBounds;
DataHandle cells;
short maxIndex;
short cellArray[1];
};
typedef struct ListRec ListRec;
typedef ListRec * ListPtr;
typedef ListPtr * ListHandle;
typedef ListHandle ListRef;
enum {
lDrawingModeOffBit = 3,
lDoVAutoscrollBit = 1,
lDoHAutoscrollBit = 0
};
enum {
lDrawingModeOff = 8,
lDoVAutoscroll = 2,
lDoHAutoscroll = 1
};
enum {
lOnlyOneBit = 7,
lExtendDragBit = 6,
lNoDisjointBit = 5,
lNoExtendBit = 4,
lNoRectBit = 3,
lUseSenseBit = 2,
lNoNilHiliteBit = 1
};
enum {
lOnlyOne = -128,
lExtendDrag = 64,
lNoDisjoint = 32,
lNoExtend = 16,
lNoRect = 8,
lUseSense = 4,
lNoNilHilite = 2
};
enum {
lInitMsg = 0,
lDrawMsg = 1,
lHiliteMsg = 2,
lCloseMsg = 3
};
struct StandardIconListCellDataRec {
Handle iconHandle;
short font;
short face;
short size;
Str255 name;
};
typedef struct StandardIconListCellDataRec StandardIconListCellDataRec;
typedef StandardIconListCellDataRec * StandardIconListCellDataPtr;
typedef void ( * ListDefProcPtr)(short lMessage, Boolean lSelect, Rect *lRect, Cell lCell, short lDataOffset, short lDataLen, ListHandle lHandle);
typedef ListDefProcPtr ListDefUPP;
# 163 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ListSearchUPP
NewListSearchUPP(ListSearchProcPtr userRoutine) __attribute__((deprecated));
# 174 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ListClickLoopUPP
NewListClickLoopUPP(ListClickLoopProcPtr userRoutine) __attribute__((deprecated));
# 185 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern ListDefUPP
NewListDefUPP(ListDefProcPtr userRoutine) __attribute__((deprecated));
# 196 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
DisposeListSearchUPP(ListSearchUPP userUPP) __attribute__((deprecated));
# 207 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
DisposeListClickLoopUPP(ListClickLoopUPP userUPP) __attribute__((deprecated));
# 218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
DisposeListDefUPP(ListDefUPP userUPP) __attribute__((deprecated));
# 229 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern short
InvokeListSearchUPP(
Ptr aPtr,
Ptr bPtr,
short aLen,
short bLen,
ListSearchUPP userUPP) __attribute__((deprecated));
# 245 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern Boolean
InvokeListClickLoopUPP(ListClickLoopUPP userUPP) __attribute__((deprecated));
# 256 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
extern void
InvokeListDefUPP(
short lMessage,
Boolean lSelect,
Rect * lRect,
Cell lCell,
short lDataOffset,
short lDataLen,
ListHandle lHandle,
ListDefUPP userUPP) __attribute__((deprecated));
# 279 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
#define NewListSearchUPP(userRoutine) ((ListSearchUPP)userRoutine)
#define NewListClickLoopUPP(userRoutine) ((ListClickLoopUPP)userRoutine)
#define NewListDefUPP(userRoutine) ((ListDefUPP)userRoutine)
#define DisposeListSearchUPP(userUPP)
#define DisposeListClickLoopUPP(userUPP)
#define DisposeListDefUPP(userUPP)
#define InvokeListSearchUPP(aPtr,bPtr,aLen,bLen,userUPP) (*userUPP)(aPtr, bPtr, aLen, bLen)
#define InvokeListClickLoopUPP(userUPP) (*userUPP)()
#define InvokeListDefUPP(lMessage,lSelect,lRect,lCell,lDataOffset,lDataLen,lHandle,userUPP) (*userUPP)(lMessage, lSelect, lRect, lCell, lDataOffset, lDataLen, lHandle)
enum {
kListDefProcPtr = 0,
kListDefUserProcType = kListDefProcPtr,
kListDefStandardTextType = 1,
kListDefStandardIconType = 2
};
typedef UInt32 ListDefType;
struct ListDefSpec {
ListDefType defType;
union {
ListDefUPP userProc;
} u;
};
typedef struct ListDefSpec ListDefSpec;
typedef ListDefSpec * ListDefSpecPtr;
# 1327 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Lists.h" 3
#pragma pack(pop)
# 37 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 2 3
# 72 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
pushButProc = 0,
checkBoxProc = 1,
radioButProc = 2,
scrollBarProc = 16,
popupMenuProc = 1008
};
enum {
kControlLabelPart = 1,
kControlMenuPart = 2,
kControlTrianglePart = 4,
kControlEditTextPart = 5,
kControlPicturePart = 6,
kControlIconPart = 7,
kControlClockPart = 8,
kControlListBoxPart = 24,
kControlListBoxDoubleClickPart = 25,
kControlImageWellPart = 26,
kControlRadioGroupPart = 27,
kControlButtonPart = 10,
kControlCheckBoxPart = 11,
kControlRadioButtonPart = 11,
kControlUpButtonPart = kAppearancePartUpButton,
kControlDownButtonPart = kAppearancePartDownButton,
kControlPageUpPart = kAppearancePartPageUpArea,
kControlPageDownPart = kAppearancePartPageDownArea,
kControlClockHourDayPart = 9,
kControlClockMinuteMonthPart = 10,
kControlClockSecondYearPart = 11,
kControlClockAMPMPart = 12,
kControlDataBrowserPart = 24,
kControlDataBrowserDraggedPart = 25
};
# 126 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlEditTextProc = 272,
kControlEditTextPasswordProc = 274
};
enum {
kControlEditTextInlineInputProc = 276
};
enum {
kControlKindEditText = 'etxt'
};
# 212 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlEditTextTEHandleTag = 'than',
kControlEditTextInlinePreUpdateProcTag = 'prup',
kControlEditTextInlinePostUpdateProcTag = 'poup'
};
# 241 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlPictureProc = 304,
kControlPictureNoTrackProc = 305
};
enum {
kControlKindPicture = 'pict'
};
#define kHIPictureViewClassID CFSTR("com.apple.HIPictureView")
# 299 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlPictureHandleTag = 'pich'
};
# 314 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlListBoxProc = 352,
kControlListBoxAutoSizeProc = 353
};
enum {
kControlKindListBox = 'lbox'
};
# 355 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlListBoxListHandleTag = 'lhan',
kControlListBoxKeyFilterTag = kControlKeyFilterTag,
kControlListBoxFontStyleTag = kControlFontStyleTag
};
enum {
kControlListBoxDoubleClickTag = 'dblc',
kControlListBoxLDEFTag = 'ldef'
};
enum {
kControlListDescResType = 'ldes'
};
# 390 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlScrollTextBoxProc = 432,
kControlScrollTextBoxAutoScrollProc = 433
};
enum {
kControlKindScrollingTextBox = 'stbx'
};
# 427 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/ControlDefinitions.h" 3
enum {
kControlScrollTextBoxDelayBeforeAutoScrollTag = 'stdl',
kControlScrollTextBoxDelayBetweenAutoScrollTag = 'scdl',
kControlScrollTextBoxAutoScrollAmountTag = 'samt',
kControlScrollTextBoxContentsTag = 'tres',
kControlScrollTextBoxAnimatingTag = 'anim'
};
# 202 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
#define __TRANSLATIONEXTENSIONS__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
#pragma pack(push, 2)
enum {
kSupportsFileTranslation = 1,
kSupportsScrapTranslation = 2,
kTranslatorCanGenerateFilename = 4
};
typedef OSType FileType;
typedef ResType ScrapType;
typedef UInt32 TranslationAttributes;
enum {
taDstDocNeedsResourceFork = 1,
taDstIsAppTranslation = 2
};
struct FileTypeSpec {
FileType format;
long hint;
TranslationAttributes flags;
OSType catInfoType;
OSType catInfoCreator;
};
typedef struct FileTypeSpec FileTypeSpec;
struct FileTranslationList {
unsigned long modDate;
unsigned long groupCount;
# 79 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
};
typedef struct FileTranslationList FileTranslationList;
typedef FileTranslationList * FileTranslationListPtr;
typedef FileTranslationListPtr * FileTranslationListHandle;
struct ScrapTypeSpec {
ScrapType format;
long hint;
};
typedef struct ScrapTypeSpec ScrapTypeSpec;
struct ScrapTranslationList {
unsigned long modDate;
unsigned long groupCount;
# 101 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
};
typedef struct ScrapTranslationList ScrapTranslationList;
typedef ScrapTranslationList * ScrapTranslationListPtr;
typedef ScrapTranslationListPtr * ScrapTranslationListHandle;
typedef long TranslationRefNum;
# 190 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TranslationExtensions.h" 3
enum {
kTranslateGetFileTranslationList = 0,
kTranslateIdentifyFile = 1,
kTranslateTranslateFile = 2,
kTranslateGetTranslatedFilename = 3,
kTranslateGetScrapTranslationList = 10,
kTranslateIdentifyScrap = 11,
kTranslateTranslateScrap = 12,
kTranslateGetScrapTranslationListConsideringData = 13
};
typedef ComponentResult ( * DoGetFileTranslationListProcPtr)(ComponentInstance self, FileTranslationListHandle translationList);
typedef ComponentResult ( * DoIdentifyFileProcPtr)(ComponentInstance self, const FSSpec *theDocument, FileType *docType);
typedef ComponentResult ( * DoTranslateFileProcPtr)(ComponentInstance self, TranslationRefNum refNum, const FSSpec *sourceDocument, FileType srcType, long srcTypeHint, const FSSpec *dstDoc, FileType dstType, long dstTypeHint);
typedef ComponentResult ( * DoGetTranslatedFilenameProcPtr)(ComponentInstance self, FileType dstType, long dstTypeHint, FSSpec *theDocument);
typedef ComponentResult ( * DoGetScrapTranslationListProcPtr)(ComponentInstance self, ScrapTranslationListHandle list);
typedef ComponentResult ( * DoIdentifyScrapProcPtr)(ComponentInstance self, const void *dataPtr, Size dataLength, ScrapType *dataFormat);
typedef ComponentResult ( * DoTranslateScrapProcPtr)(ComponentInstance self, TranslationRefNum refNum, const void *srcDataPtr, Size srcDataLength, ScrapType srcType, long srcTypeHint, Handle dstData, ScrapType dstType, long dstTypeHint);
#pragma pack(pop)
# 206 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
#define __TRANSLATION__
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
#pragma pack(push, 2)
typedef short DocOpenMethod;
enum {
domCannot = 0,
domNative = 1,
domTranslateFirst = 2,
domWildcard = 3
};
typedef OSType TypesBlock[64];
typedef OSType * TypesBlockPtr;
enum {
kTranslationScrapProgressDialogID = -16555
};
struct FileTranslationSpec {
OSType componentSignature;
const void * translationSystemInfo;
FileTypeSpec src;
FileTypeSpec dst;
};
typedef struct FileTranslationSpec FileTranslationSpec;
typedef FileTranslationSpec * FileTranslationSpecArrayPtr;
typedef FileTranslationSpecArrayPtr * FileTranslationSpecArrayHandle;
# 262 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
typedef OSErr ( * GetScrapDataProcPtr)(ScrapType requestedFormat, Handle dataH, void *srcDataGetterRefCon);
typedef GetScrapDataProcPtr GetScrapDataUPP;
# 272 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern GetScrapDataUPP
NewGetScrapDataUPP(GetScrapDataProcPtr userRoutine) __attribute__((deprecated));
# 283 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern void
DisposeGetScrapDataUPP(GetScrapDataUPP userUPP) __attribute__((deprecated));
# 294 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
extern OSErr
InvokeGetScrapDataUPP(
ScrapType requestedFormat,
Handle dataH,
void * srcDataGetterRefCon,
GetScrapDataUPP userUPP) __attribute__((deprecated));
#define NewGetScrapDataUPP(userRoutine) ((GetScrapDataUPP)userRoutine)
#define DisposeGetScrapDataUPP(userUPP)
#define InvokeGetScrapDataUPP(requestedFormat,dataH,srcDataGetterRefCon,userUPP) (*userUPP)(requestedFormat, dataH, srcDataGetterRefCon)
typedef GetScrapDataUPP GetScrapData;
# 342 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Translation.h" 3
#pragma pack(pop)
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
#define __TYPESELECT__
# 35 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
#pragma pack(push, 2)
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
typedef SInt16 TSCode;
enum {
tsPreviousSelectMode = -1,
tsNormalSelectMode = 0,
tsNextSelectMode = 1
};
struct TypeSelectRecord {
UInt32 tsrLastKeyTime;
ScriptCode tsrScript;
Str63 tsrKeyStrokes;
};
typedef struct TypeSelectRecord TypeSelectRecord;
# 218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TypeSelect.h" 3
#pragma pack(pop)
# 218 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
#define __MACAPPLICATION__
# 57 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern const float kHIToolboxVersionNumber ;
#define kHIToolboxVersionNumber10_3 (145.0)
#define kHIToolboxVersionNumber10_3_2 (145.35)
#define kHIToolboxVersionNumber10_3_3 (145.38)
#define kHIToolboxVersionNumber10_3_4 (145.41)
#define kHIToolboxVersionNumber10_3_5 (145.43)
#define kHIToolboxVersionNumber10_3_9 (145.48)
#define kHIToolboxVersionNumber10_4 (219)
#define kHIToolboxVersionNumber10_4_1 (219.1)
#define kHIToolboxVersionNumber10_4_2 (220)
#define kHIToolboxVersionNumber10_4_2_SecUpdate (221)
#define kHIToolboxVersionNumber10_4_4 (222)
#define kHIToolboxVersionNumber10_4_4_Intel (223)
#define kHIToolboxVersionNumber10_4_6 (225)
#define kHIToolboxVersionNumber10_4_7 (226)
#define kHIToolboxVersionNumber10_4_9 (227)
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
#define kHIApplicationClassID CFSTR("com.apple.HIApplication")
# 98 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
enum {
kUIModeNormal = 0,
# 113 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
kUIModeContentSuppressed = 1,
kUIModeContentHidden = 2,
# 131 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
kUIModeAllSuppressed = 4,
# 140 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
kUIModeAllHidden = 3
};
typedef UInt32 SystemUIMode;
enum {
kUIOptionAutoShowMenuBar = 1 << 0,
kUIOptionDisableAppleMenu = 1 << 2,
# 173 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
kUIOptionDisableProcessSwitch = 1 << 3,
kUIOptionDisableForceQuit = 1 << 4,
kUIOptionDisableSessionTerminate = 1 << 5,
kUIOptionDisableHide = 1 << 6,
kUIOptionDisableMenuBarTransparency = 1 << 7
};
typedef OptionBits SystemUIOptions;
# 252 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern OSStatus
SetSystemUIMode(
SystemUIMode inMode,
SystemUIOptions inOptions) ;
# 293 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern void
GetSystemUIMode(
SystemUIMode * outMode,
SystemUIOptions * outOptions) ;
# 736 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern TextEncoding
GetApplicationTextEncoding(void) ;
# 772 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
#define kHIAboutBoxNameKey CFSTR("HIAboutBoxName")
#define kHIAboutBoxVersionKey CFSTR("HIAboutBoxVersion")
#define kHIAboutBoxCopyrightKey CFSTR("HIAboutBoxCopyright")
#define kHIAboutBoxDescriptionKey CFSTR("HIAboutBoxDescription")
#define kHIAboutBoxStringFileKey CFSTR("HIAboutBoxStringFile")
# 879 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern OSStatus
HISearchWindowShow(
CFStringRef inSearchString,
OptionBits inFlags) ;
# 941 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h" 3
extern void
HIDictionaryWindowShow(
DCSDictionaryRef dictionary,
CFTypeRef textString,
CFRange selectionRange,
CTFontRef textFont,
CGPoint textOrigin,
Boolean verticalText,
const CGAffineTransform * viewTransform) ;
# 222 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
#define __KEYBOARDS__
# 45 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
typedef OSType PhysicalKeyboardLayoutType;
enum {
kKeyboardJIS = 'JIS ',
kKeyboardANSI = 'ANSI',
kKeyboardISO = 'ISO ',
kKeyboardUnknown = kUnknownType
};
# 85 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
typedef struct OpaqueKeyboardLayoutRef* KeyboardLayoutRef;
# 94 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
typedef UInt32 KeyboardLayoutPropertyTag;
enum {
kKLKCHRData = 0,
kKLuchrData = 1,
kKLIdentifier = 2,
kKLIcon = 3,
kKLLocalizedName = 4,
kKLName = 5,
kKLGroupIdentifier = 6,
kKLKind = 7,
kKLLanguageCode = 9
};
# 155 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
typedef SInt32 KeyboardLayoutKind;
enum {
kKLKCHRuchrKind = 0,
kKLKCHRKind = 1,
kKLuchrKind = 2
};
# 181 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
typedef SInt32 KeyboardLayoutIdentifier;
enum {
kKLUSKeyboard = 0
};
# 208 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
extern PhysicalKeyboardLayoutType
KBGetLayoutType(SInt16 iKeyboardType) ;
# 493 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Keyboards.h" 3
enum {
_KeyboardDispatch = 0xAA7A
};
enum {
gestaltKeyboardsAttr = 'kbds',
gestaltKBPS2Keyboards = 1,
gestaltKBPS2SetIDToAny = 2,
gestaltKBPS2SetTranslationTable = 4
};
enum {
errKBPS2KeyboardNotAvailable = -30850,
errKBIlligalParameters = -30851,
errKBFailSettingID = -30852,
errKBFailSettingTranslationTable = -30853,
errKBFailWritePreference = -30854
};
# 226 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
#define __IBCARBONRUNTIME__
# 48 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IBCarbonRuntime.h" 3
enum {
kIBCarbonRuntimeCantFindNibFile = -10960,
kIBCarbonRuntimeObjectNotOfRequestedType = -10961,
kIBCarbonRuntimeCantFindObject = -10962
};
typedef struct OpaqueIBNibRef* IBNibRef;
# 230 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 1 3
# 15 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
#define __TEXTINPUTSOURCES__
# 120 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
typedef struct __TISInputSource* TISInputSourceRef;
# 136 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern CFTypeID
TISInputSourceGetTypeID(void) ;
# 172 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceCategory ;
# 192 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceType ;
# 205 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceIsASCIICapable ;
# 242 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceIsEnableCapable ;
# 281 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceIsSelectCapable ;
# 294 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceIsEnabled ;
# 307 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceIsSelected ;
# 335 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceID ;
# 352 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyBundleID ;
# 375 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputModeID ;
# 394 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyLocalizedName ;
# 425 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyInputSourceLanguages ;
# 447 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyUnicodeKeyLayoutData ;
# 468 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyIconRef ;
# 491 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISPropertyIconImageURL ;
# 516 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISCategoryKeyboardInputSource ;
# 533 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISCategoryPaletteInputSource ;
# 549 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISCategoryInkInputSource ;
# 570 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeKeyboardLayout ;
# 586 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeKeyboardInputMethodWithoutModes ;
# 602 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeKeyboardInputMethodModeEnabled ;
# 618 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeKeyboardInputMode ;
# 634 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeCharacterPalette ;
# 650 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeKeyboardViewer ;
# 669 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISTypeInk ;
# 704 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern void *
TISGetInputSourceProperty(
TISInputSourceRef inputSource,
CFStringRef propertyKey) ;
# 761 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern CFArrayRef
TISCreateInputSourceList(
CFDictionaryRef properties,
Boolean includeAllInstalled) ;
# 784 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyCurrentKeyboardInputSource(void) ;
# 804 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyCurrentKeyboardLayoutInputSource(void) ;
# 825 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyCurrentASCIICapableKeyboardInputSource(void) ;
# 853 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyCurrentASCIICapableKeyboardLayoutInputSource(void) ;
# 899 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyInputSourceForLanguage(CFStringRef language) ;
# 928 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern CFArrayRef
TISCreateASCIICapableInputSourceList(void) ;
# 970 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISSelectInputSource(TISInputSourceRef inputSource) ;
# 996 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISDeselectInputSource(TISInputSourceRef inputSource) ;
# 1028 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISEnableInputSource(TISInputSourceRef inputSource) ;
# 1056 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISDisableInputSource(TISInputSourceRef inputSource) ;
# 1077 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISNotifySelectedKeyboardInputSourceChanged ;
# 1090 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern const CFStringRef kTISNotifyEnabledKeyboardInputSourcesChanged ;
# 1154 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISSetInputMethodKeyboardLayoutOverride(TISInputSourceRef keyboardLayout) ;
# 1175 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern TISInputSourceRef
TISCopyInputMethodKeyboardLayoutOverride(void) ;
# 1239 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/TextInputSources.h" 3
extern OSStatus
TISRegisterInputSource(CFURLRef location) ;
# 234 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 1 3
#define __HITOOLBOXDEBUGGING__
# 114 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintMainEventQueue(void) ;
# 126 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h" 3
extern void
DebugPrintEvent(EventRef inEvent) ;
# 238 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IMKInputSession.h" 1 3
# 16 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IMKInputSession.h" 3
#define __IMKINPUTSESSION__
# 243 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h" 2 3
# 30 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 40 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 3
#define __OPENSCRIPTING__
# 30 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
#define __OSA__
# 46 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAComponentType = 'osa '
};
enum {
kOSAGenericScriptingComponentSubtype = 'scpt'
};
enum {
kOSAFileType = 'osas'
};
enum {
kOSASuite = 'ascr'
};
enum {
kOSARecordedText = 'recd'
};
enum {
kOSAScriptIsModified = 'modi'
};
enum {
kOSAScriptIsTypeCompiledScript = 'cscr'
};
enum {
kOSAScriptIsTypeScriptValue = 'valu'
};
enum {
kOSAScriptIsTypeScriptContext = 'cntx'
};
enum {
kOSAScriptBestType = 'best'
};
enum {
kOSACanGetSource = 'gsrc'
};
enum {
typeOSADialectInfo = 'difo',
keyOSADialectName = 'dnam',
keyOSADialectCode = 'dcod',
keyOSADialectLangCode = 'dlcd',
keyOSADialectScriptCode = 'dscd'
};
typedef ComponentResult OSAError;
typedef UInt32 OSAID;
enum {
kOSANullScript = 0
};
enum {
kOSANullMode = 0,
kOSAModeNull = 0
};
typedef OSErr ( * OSACreateAppleEventProcPtr)(AEEventClass theAEEventClass, AEEventID theAEEventID, const AEAddressDesc *target, short returnID, SInt32 transactionID, AppleEvent *result, SRefCon refCon);
typedef OSErr ( * OSASendProcPtr)(const AppleEvent *theAppleEvent, AppleEvent *reply, AESendMode sendMode, AESendPriority sendPriority, SInt32 timeOutInTicks, AEIdleUPP idleProc, AEFilterUPP filterProc, SRefCon refCon);
typedef OSACreateAppleEventProcPtr OSACreateAppleEventUPP;
typedef OSASendProcPtr OSASendUPP;
# 157 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSACreateAppleEventUPP
NewOSACreateAppleEventUPP(OSACreateAppleEventProcPtr userRoutine) ;
# 168 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSASendUPP
NewOSASendUPP(OSASendProcPtr userRoutine) ;
# 179 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern void
DisposeOSACreateAppleEventUPP(OSACreateAppleEventUPP userUPP) ;
# 190 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern void
DisposeOSASendUPP(OSASendUPP userUPP) ;
# 201 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSErr
InvokeOSACreateAppleEventUPP(
AEEventClass theAEEventClass,
AEEventID theAEEventID,
const AEAddressDesc * target,
short returnID,
SInt32 transactionID,
AppleEvent * result,
SRefCon refCon,
OSACreateAppleEventUPP userUPP) ;
# 220 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSErr
InvokeOSASendUPP(
const AppleEvent * theAppleEvent,
AppleEvent * reply,
AESendMode sendMode,
AESendPriority sendPriority,
SInt32 timeOutInTicks,
AEIdleUPP idleProc,
AEFilterUPP filterProc,
SRefCon refCon,
OSASendUPP userUPP) ;
# 241 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
#define NewOSACreateAppleEventUPP(userRoutine) ((OSACreateAppleEventUPP)userRoutine)
#define NewOSASendUPP(userRoutine) ((OSASendUPP)userRoutine)
#define DisposeOSACreateAppleEventUPP(userUPP)
#define DisposeOSASendUPP(userUPP)
#define InvokeOSACreateAppleEventUPP(theAEEventClass,theAEEventID,target,returnID,transactionID,result,refCon,userUPP) (*userUPP)(theAEEventClass, theAEEventID, target, returnID, transactionID, result, refCon)
#define InvokeOSASendUPP(theAppleEvent,reply,sendMode,sendPriority,timeOutInTicks,idleProc,filterProc,refCon,userUPP) (*userUPP)(theAppleEvent, reply, sendMode, sendPriority, timeOutInTicks, idleProc, filterProc, refCon)
# 262 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSASupportsCompiling = 0x0002,
kOSASupportsGetSource = 0x0004,
kOSASupportsAECoercion = 0x0008,
kOSASupportsAESending = 0x0010,
kOSASupportsRecording = 0x0020,
kOSASupportsConvenience = 0x0040,
kOSASupportsDialects = 0x0080,
kOSASupportsEventHandling = 0x0100
};
enum {
kOSASelectLoad = 0x0001,
kOSASelectStore = 0x0002,
kOSASelectExecute = 0x0003,
kOSASelectDisplay = 0x0004,
kOSASelectScriptError = 0x0005,
kOSASelectDispose = 0x0006,
kOSASelectSetScriptInfo = 0x0007,
kOSASelectGetScriptInfo = 0x0008,
kOSASelectSetActiveProc = 0x0009,
kOSASelectGetActiveProc = 0x000A,
kOSASelectCopyDisplayString = 0x000B
};
enum {
kOSASelectScriptingComponentName = 0x0102,
kOSASelectCompile = 0x0103,
kOSASelectCopyID = 0x0104
};
enum {
kOSASelectCopyScript = 0x0105
};
enum {
kOSASelectGetSource = 0x0201,
kOSASelectCopySourceString = 0x0202
};
enum {
kOSASelectCoerceFromDesc = 0x0301,
kOSASelectCoerceToDesc = 0x0302
};
enum {
kOSASelectSetSendProc = 0x0401,
kOSASelectGetSendProc = 0x0402,
kOSASelectSetCreateProc = 0x0403,
kOSASelectGetCreateProc = 0x0404,
kOSASelectSetDefaultTarget = 0x0405
};
enum {
kOSASelectStartRecording = 0x0501,
kOSASelectStopRecording = 0x0502
};
enum {
kOSASelectLoadExecute = 0x0601,
kOSASelectCompileExecute = 0x0602,
kOSASelectDoScript = 0x0603
};
enum {
kOSASelectSetCurrentDialect = 0x0701,
kOSASelectGetCurrentDialect = 0x0702,
kOSASelectAvailableDialects = 0x0703,
kOSASelectGetDialectInfo = 0x0704,
kOSASelectAvailableDialectCodeList = 0x0705
};
enum {
kOSASelectSetResumeDispatchProc = 0x0801,
kOSASelectGetResumeDispatchProc = 0x0802,
kOSASelectExecuteEvent = 0x0803,
kOSASelectDoEvent = 0x0804,
kOSASelectMakeContext = 0x0805
};
enum {
kOSASelectComponentSpecificStart = 0x1001
};
# 373 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModePreventGetSource = 0x00000001
};
# 384 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeNeverInteract = kAENeverInteract,
kOSAModeCanInteract = kAECanInteract,
kOSAModeAlwaysInteract = kAEAlwaysInteract,
kOSAModeDontReconnect = kAEDontReconnect
};
# 402 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeCantSwitchLayer = 0x00000040
};
# 416 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeDoRecord = 0x00001000
};
# 427 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeCompileIntoContext = 0x00000002
};
# 440 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeAugmentContext = 0x00000004
};
enum {
kOSAModeDisplayForHumans = 0x00000008
};
enum {
kOSAModeDontStoreParent = 0x00010000
};
# 472 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAModeDispatchToDirectObject = 0x00020000
};
enum {
kOSAModeDontGetDataForArguments = 0x00040000
};
enum {
kOSAModeFullyQualifyDescriptors = 0x00080000
};
# 505 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAScriptResourceType = kOSAGenericScriptingComponentSubtype
};
enum {
typeOSAGenericStorage = kOSAScriptResourceType
};
# 525 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSALoad(
ComponentInstance scriptingComponent,
const AEDesc * scriptData,
SInt32 modeFlags,
OSAID * resultingScriptID) ;
# 555 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAStore(
ComponentInstance scriptingComponent,
OSAID scriptID,
DescType desiredType,
SInt32 modeFlags,
AEDesc * resultingScriptData) ;
# 586 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAExecute(
ComponentInstance scriptingComponent,
OSAID compiledScriptID,
OSAID contextID,
SInt32 modeFlags,
OSAID * resultingScriptValueID) ;
# 629 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSADisplay(
ComponentInstance scriptingComponent,
OSAID scriptValueID,
DescType desiredType,
SInt32 modeFlags,
AEDesc * resultingText) ;
# 671 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACopyDisplayString(
ComponentInstance scriptingComponent,
OSAID scriptID,
SInt32 modeFlags,
CFAttributedStringRef * result) ;
# 688 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAScriptError(
ComponentInstance scriptingComponent,
OSType selector,
DescType desiredType,
AEDesc * resultingErrorDescription) ;
# 718 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorNumber = keyErrorNumber
};
# 731 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorMessage = keyErrorString
};
# 745 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorBriefMessage = 'errb'
};
# 758 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorApp = 'erap'
};
# 770 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorPartialResult = 'ptlr'
};
# 782 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorOffendingObject = 'erob'
};
enum {
kOSAErrorExpectedType = 'errt'
};
# 802 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAErrorRange = 'erng'
};
enum {
typeOSAErrorRange = 'erng'
};
enum {
keyOSASourceStart = 'srcs'
};
enum {
keyOSASourceEnd = 'srce'
};
# 836 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSADispose(
ComponentInstance scriptingComponent,
OSAID scriptID) ;
# 860 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetScriptInfo(
ComponentInstance scriptingComponent,
OSAID scriptID,
OSType selector,
long value) ;
# 886 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetScriptInfo(
ComponentInstance scriptingComponent,
OSAID scriptID,
OSType selector,
long * result) ;
# 909 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
typedef OSErr ( * OSAActiveProcPtr)(SRefCon refCon);
typedef OSAActiveProcPtr OSAActiveUPP;
# 919 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAActiveUPP
NewOSAActiveUPP(OSAActiveProcPtr userRoutine) ;
# 930 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern void
DisposeOSAActiveUPP(OSAActiveUPP userUPP) ;
# 941 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSErr
InvokeOSAActiveUPP(
SRefCon refCon,
OSAActiveUPP userUPP) ;
#define NewOSAActiveUPP(userRoutine) ((OSAActiveUPP)userRoutine)
#define DisposeOSAActiveUPP(userUPP)
#define InvokeOSAActiveUPP(refCon,userUPP) (*userUPP)(refCon)
# 966 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetActiveProc(
ComponentInstance scriptingComponent,
OSAActiveUPP activeProc,
SRefCon refCon) ;
# 989 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetActiveProc(
ComponentInstance scriptingComponent,
OSAActiveUPP * activeProc,
SRefCon * refCon) ;
# 1017 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAScriptingComponentName(
ComponentInstance scriptingComponent,
AEDesc * resultingScriptingComponentName) ;
# 1043 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACompile(
ComponentInstance scriptingComponent,
const AEDesc * sourceData,
SInt32 modeFlags,
OSAID * previousAndResultingScriptID) ;
# 1087 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACopyID(
ComponentInstance scriptingComponent,
OSAID fromID,
OSAID * toID) ;
# 1139 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetSource(
ComponentInstance scriptingComponent,
OSAID scriptID,
DescType desiredType,
AEDesc * resultingSourceData) ;
# 1171 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACopySourceString(
ComponentInstance scriptingComponent,
OSAID scriptID,
SInt32 modeFlags,
CFAttributedStringRef * result) ;
# 1193 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACoerceFromDesc(
ComponentInstance scriptingComponent,
const AEDesc * scriptData,
SInt32 modeFlags,
OSAID * resultingScriptID) ;
# 1230 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACoerceToDesc(
ComponentInstance scriptingComponent,
OSAID scriptID,
DescType desiredType,
SInt32 modeFlags,
AEDesc * result) ;
# 1268 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetSendProc(
ComponentInstance scriptingComponent,
OSASendUPP sendProc,
SRefCon refCon) ;
# 1291 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetSendProc(
ComponentInstance scriptingComponent,
OSASendUPP * sendProc,
SRefCon * refCon) ;
# 1313 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetCreateProc(
ComponentInstance scriptingComponent,
OSACreateAppleEventUPP createProc,
SRefCon refCon) ;
# 1336 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetCreateProc(
ComponentInstance scriptingComponent,
OSACreateAppleEventUPP * createProc,
SRefCon * refCon) ;
# 1358 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetDefaultTarget(
ComponentInstance scriptingComponent,
const AEAddressDesc * target) ;
# 1390 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAStartRecording(
ComponentInstance scriptingComponent,
OSAID * compiledScriptToModifyID) ;
# 1418 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAStopRecording(
ComponentInstance scriptingComponent,
OSAID compiledScriptID) ;
# 1448 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSALoadExecute(
ComponentInstance scriptingComponent,
const AEDesc * scriptData,
OSAID contextID,
SInt32 modeFlags,
OSAID * resultingScriptValueID) ;
# 1489 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSACompileExecute(
ComponentInstance scriptingComponent,
const AEDesc * sourceData,
OSAID contextID,
SInt32 modeFlags,
OSAID * resultingScriptValueID) ;
# 1529 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSADoScript(
ComponentInstance scriptingComponent,
const AEDesc * sourceData,
OSAID contextID,
DescType desiredType,
SInt32 modeFlags,
AEDesc * resultingText) ;
# 1587 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetCurrentDialect(
ComponentInstance scriptingComponent,
short dialectCode) ;
# 1609 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetCurrentDialect(
ComponentInstance scriptingComponent,
short * resultingDialectCode) ;
# 1630 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAAvailableDialects(
ComponentInstance scriptingComponent,
AEDesc * resultingDialectInfoList) ;
# 1656 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetDialectInfo(
ComponentInstance scriptingComponent,
short dialectCode,
OSType selector,
AEDesc * resultingDialectInfo) ;
# 1686 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAAvailableDialectCodeList(
ComponentInstance scriptingComponent,
AEDesc * resultingDialectCodeList) ;
# 1728 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSASetResumeDispatchProc(
ComponentInstance scriptingComponent,
AEEventHandlerUPP resumeDispatchProc,
SRefCon refCon) ;
# 1749 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSAUseStandardDispatch = kAEUseStandardDispatch
};
# 1763 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSANoDispatch = kAENoDispatch
};
# 1776 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
enum {
kOSADontUsePhac = 0x0001
};
# 1797 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAGetResumeDispatchProc(
ComponentInstance scriptingComponent,
AEEventHandlerUPP * resumeDispatchProc,
SRefCon * refCon) ;
# 1821 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAExecuteEvent(
ComponentInstance scriptingComponent,
const AppleEvent * theAppleEvent,
OSAID contextID,
SInt32 modeFlags,
OSAID * resultingScriptValueID) ;
# 1864 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSADoEvent(
ComponentInstance scriptingComponent,
const AppleEvent * theAppleEvent,
OSAID contextID,
SInt32 modeFlags,
AppleEvent * reply) ;
# 1911 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAMakeContext(
ComponentInstance scriptingComponent,
const AEDesc * contextName,
OSAID parentContext,
OSAID * resultingContextID) ;
# 1945 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSALoadFile(
ComponentInstance scriptingComponent,
const FSRef * scriptFile,
Boolean * storable,
SInt32 modeFlags,
OSAID * resultingScriptID) ;
# 1974 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSAStoreFile(
ComponentInstance scriptingComponent,
OSAID scriptID,
DescType desiredType,
SInt32 modeFlags,
const FSRef * scriptFile) ;
# 2000 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSALoadExecuteFile(
ComponentInstance scriptingComponent,
const FSRef * scriptFile,
OSAID contextID,
SInt32 modeFlags,
OSAID * resultingScriptValueID) ;
# 2028 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSA.h" 3
extern OSAError
OSADoScriptFile(
ComponentInstance scriptingComponent,
const FSRef * scriptFile,
OSAID contextID,
DescType desiredType,
SInt32 modeFlags,
AEDesc * resultingText) ;
# 31 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAComp.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAComp.h" 3
#define __OSACOMP__
# 48 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAComp.h" 3
extern OSErr
OSAGetStorageType(
AEDataStorage scriptData,
DescType * dscType) ;
# 62 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAComp.h" 3
extern OSErr
OSAAddStorageType(
AEDataStorage scriptData,
DescType dscType) ;
# 76 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAComp.h" 3
extern OSErr
OSARemoveStorageType(AEDataStorage scriptData) ;
# 35 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
#define __OSAGENERIC__
# 48 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
enum {
kGenericComponentVersion = 0x0100
};
enum {
kGSSSelectGetDefaultScriptingComponent = 0x1001,
kGSSSelectSetDefaultScriptingComponent = 0x1002,
kGSSSelectGetScriptingComponent = 0x1003,
kGSSSelectGetScriptingComponentFromStored = 0x1004,
kGSSSelectGenericToRealID = 0x1005,
kGSSSelectRealToGenericID = 0x1006,
kGSSSelectOutOfRange = 0x1007
};
typedef OSType ScriptingComponentSelector;
typedef OSAID GenericID;
# 74 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSAGetDefaultScriptingComponent(
ComponentInstance genericScriptingComponent,
ScriptingComponentSelector * scriptingSubType) ;
# 88 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSASetDefaultScriptingComponent(
ComponentInstance genericScriptingComponent,
ScriptingComponentSelector scriptingSubType) ;
# 103 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSAGetScriptingComponent(
ComponentInstance genericScriptingComponent,
ScriptingComponentSelector scriptingSubType,
ComponentInstance * scriptingInstance) ;
# 119 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSAGetScriptingComponentFromStored(
ComponentInstance genericScriptingComponent,
const AEDesc * scriptData,
ScriptingComponentSelector * scriptingSubType) ;
# 135 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSAGenericToRealID(
ComponentInstance genericScriptingComponent,
OSAID * theScriptID,
ComponentInstance * theExactComponent) ;
# 151 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OSAGeneric.h" 3
extern OSAError
OSARealToGenericID(
ComponentInstance genericScriptingComponent,
OSAID * theScriptID,
ComponentInstance theExactComponent) ;
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
#define __APPLESCRIPT__
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
enum {
typeAppleScript = 'ascr',
kAppleScriptSubtype = typeAppleScript,
typeASStorage = typeAppleScript
};
enum {
kASSelectInit = 0x1001,
kASSelectSetSourceStyles = 0x1002,
kASSelectGetSourceStyles = 0x1003,
kASSelectGetSourceStyleNames = 0x1004,
kASSelectCopySourceAttributes = 0x1005,
kASSelectSetSourceAttributes = 0x1006
};
enum {
kASHasOpenHandler = 'hsod'
};
# 95 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASInit(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
UInt32 minStackSize,
UInt32 preferredStackSize,
UInt32 maxStackSize,
UInt32 minHeapSize,
UInt32 preferredHeapSize,
UInt32 maxHeapSize) ;
# 122 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
enum {
kASDefaultMinStackSize = 4 * 1024,
kASDefaultPreferredStackSize = 16 * 1024,
kASDefaultMaxStackSize = 16 * 1024,
kASDefaultMinHeapSize = 4 * 1024,
kASDefaultPreferredHeapSize = 16 * 1024,
kASDefaultMaxHeapSize = 32L * 1024 * 1024
};
# 145 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASSetSourceStyles(
ComponentInstance scriptingComponent,
STHandle sourceStyles) __attribute__((deprecated));
# 162 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASGetSourceStyles(
ComponentInstance scriptingComponent,
STHandle * resultingSourceStyles) __attribute__((deprecated));
# 197 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASCopySourceAttributes(
ComponentInstance scriptingComponent,
CFArrayRef * resultingSourceAttributes) ;
# 232 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASSetSourceAttributes(
ComponentInstance scriptingComponent,
CFArrayRef sourceAttributes) ;
# 256 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/AppleScript.h" 3
extern OSAError
ASGetSourceStyleNames(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
AEDescList * resultingSourceStyleNamesList) ;
enum {
kASSourceStyleUncompiledText = 0,
kASSourceStyleNormalText = 1,
kASSourceStyleLanguageKeyword = 2,
kASSourceStyleApplicationKeyword = 3,
kASSourceStyleComment = 4,
kASSourceStyleLiteral = 5,
kASSourceStyleUserSymbol = 6,
kASSourceStyleObjectSpecifier = 7,
kASNumberOfSourceStyles = 8
};
# 43 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
#define __ASDEBUGGING__
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
enum {
kOSAModeDontDefine = 0x0001
};
enum {
kASSelectSetPropertyObsolete = 0x1101,
kASSelectGetPropertyObsolete = 0x1102,
kASSelectSetHandlerObsolete = 0x1103,
kASSelectGetHandlerObsolete = 0x1104,
kASSelectGetAppTerminologyObsolete = 0x1105,
kASSelectSetProperty = 0x1106,
kASSelectGetProperty = 0x1107,
kASSelectSetHandler = 0x1108,
kASSelectGetHandler = 0x1109,
kASSelectGetAppTerminology = 0x110A,
kASSelectGetSysTerminology = 0x110B,
kASSelectGetPropertyNames = 0x110C,
kASSelectGetHandlerNames = 0x110D
};
# 81 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSASetProperty(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
const AEDesc * variableName,
OSAID scriptValueID) ;
# 98 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetProperty(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
const AEDesc * variableName,
OSAID * resultingScriptValueID) ;
# 115 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetPropertyNames(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
AEDescList * resultingPropertyNames) ;
# 131 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSASetHandler(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
const AEDesc * handlerName,
OSAID compiledScriptID) ;
# 148 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetHandler(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
const AEDesc * handlerName,
OSAID * resultingCompiledScriptID) ;
# 165 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetHandlerNames(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
OSAID contextID,
AEDescList * resultingHandlerNames) ;
# 210 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSAGetSysTerminology(
ComponentInstance scriptingComponent,
SInt32 modeFlags,
short terminologyID,
AEDesc * terminologyList) ;
# 241 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASDebugging.h" 3
extern OSAError
OSACopyScriptingDefinition(
const FSRef * ref,
SInt32 modeFlags,
CFDataRef * sdef) ;
# 47 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASRegistry.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASRegistry.h" 3
#define __ASREGISTRY__
# 31 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASRegistry.h" 3
enum {
keyAETarget = 'targ',
keySubjectAttr = 'subj',
keyASReturning = 'Krtn',
kASAppleScriptSuite = 'ascr',
kASScriptEditorSuite = 'ToyS',
kASTypeNamesSuite = 'tpnm',
typeAETE = 'aete',
typeAEUT = 'aeut',
kGetAETE = 'gdte',
kGetAEUT = 'gdut',
kUpdateAEUT = 'udut',
kUpdateAETE = 'udte',
kCleanUpAEUT = 'cdut',
kASComment = 'cmnt',
kASLaunchEvent = 'noop',
keyScszResource = 'scsz',
typeScszResource = 'scsz',
kASSubroutineEvent = 'psbr',
keyASSubroutineName = 'snam',
kASPrepositionalSubroutine = 'psbr',
keyASPositionalArgs = 'parg'
};
enum {
keyAppHandledCoercion = 'idas'
};
enum {
kASStartLogEvent = 'log1',
kASStopLogEvent = 'log0',
kASCommentEvent = 'cmnt'
};
enum {
kASAdd = '+ ',
kASSubtract = '- ',
kASMultiply = '* ',
kASDivide = '/ ',
kASQuotient = 'div ',
kASRemainder = 'mod ',
kASPower = '^ ',
kASEqual = kAEEquals,
kASNotEqual = (long)0xAD202020,
kASGreaterThan = kAEGreaterThan,
kASGreaterThanOrEqual = kAEGreaterThanEquals,
kASLessThan = kAELessThan,
kASLessThanOrEqual = kAELessThanEquals,
kASComesBefore = 'cbfr',
kASComesAfter = 'cafr',
kASConcatenate = 'ccat',
kASStartsWith = kAEBeginsWith,
kASEndsWith = kAEEndsWith,
kASContains = kAEContains
};
enum {
kASAnd = kAEAND,
kASOr = kAEOR,
kASNot = kAENOT,
kASNegate = 'neg ',
keyASArg = 'arg '
};
enum {
kASErrorEventCode = 'err ',
kOSAErrorArgs = 'erra',
keyAEErrorObject = 'erob',
pLength = 'leng',
pReverse = 'rvse',
pRest = 'rest',
pInherits = 'c@#^',
pProperties = 'pALL',
keyASUserRecordFields = 'usrf',
typeUserRecordFields = typeAEList
};
enum {
keyASPrepositionAt = 'at ',
keyASPrepositionIn = 'in ',
keyASPrepositionFrom = 'from',
keyASPrepositionFor = 'for ',
keyASPrepositionTo = 'to ',
keyASPrepositionThru = 'thru',
keyASPrepositionThrough = 'thgh',
keyASPrepositionBy = 'by ',
keyASPrepositionOn = 'on ',
keyASPrepositionInto = 'into',
keyASPrepositionOnto = 'onto',
keyASPrepositionBetween = 'btwn',
keyASPrepositionAgainst = 'agst',
keyASPrepositionOutOf = 'outo',
keyASPrepositionInsteadOf = 'isto',
keyASPrepositionAsideFrom = 'asdf',
keyASPrepositionAround = 'arnd',
keyASPrepositionBeside = 'bsid',
keyASPrepositionBeneath = 'bnth',
keyASPrepositionUnder = 'undr'
};
enum {
keyASPrepositionOver = 'over',
keyASPrepositionAbove = 'abve',
keyASPrepositionBelow = 'belw',
keyASPrepositionApartFrom = 'aprt',
keyASPrepositionGiven = 'givn',
keyASPrepositionWith = 'with',
keyASPrepositionWithout = 'wout',
keyASPrepositionAbout = 'abou',
keyASPrepositionSince = 'snce',
keyASPrepositionUntil = 'till'
};
enum {
kDialectBundleResType = 'Dbdl',
cConstant = typeEnumerated,
cClassIdentifier = pClass,
cObjectBeingExamined = typeObjectBeingExamined,
cList = typeAEList,
cSmallReal = typeIEEE32BitFloatingPoint,
cReal = typeIEEE64BitFloatingPoint,
cRecord = typeAERecord,
cReference = cObjectSpecifier,
cUndefined = 'undf',
cMissingValue = 'msng',
cSymbol = 'symb',
cLinkedList = 'llst',
cVector = 'vect',
cEventIdentifier = 'evnt',
cKeyIdentifier = 'kyid',
cUserIdentifier = 'uid ',
cPreposition = 'prep',
cKeyForm = enumKeyForm,
cScript = 'scpt',
cHandler = 'hand',
cProcedure = 'proc'
};
enum {
cHandleBreakpoint = 'brak'
};
enum {
cClosure = 'clsr',
cRawData = 'rdat',
cStringClass = typeChar,
cNumber = 'nmbr',
cListElement = 'celm',
cListOrRecord = 'lr ',
cListOrString = 'ls ',
cListRecordOrString = 'lrs ',
cNumberOrString = 'ns ',
cNumberOrDateTime = 'nd ',
cNumberDateTimeOrString = 'nds ',
cAliasOrString = 'sf ',
cSeconds = 'scnd',
typeSound = 'snd ',
enumBooleanValues = 'boov',
kAETrue = typeTrue,
kAEFalse = typeFalse,
enumMiscValues = 'misc',
kASCurrentApplication = 'cura',
formUserPropertyID = 'usrp'
};
enum {
cString = cStringClass
};
enum {
pASIt = 'it ',
pASMe = 'me ',
pASResult = 'rslt',
pASSpace = 'spac',
pASReturn = 'ret ',
pASTab = 'tab ',
pASPi = 'pi ',
pASParent = 'pare',
kASInitializeEventCode = 'init',
pASPrintLength = 'prln',
pASPrintDepth = 'prdp',
pASTopLevelScript = 'ascr'
};
enum {
kAECase = 'case',
kAEDiacritic = 'diac',
kAEWhiteSpace = 'whit',
kAEHyphens = 'hyph',
kAEExpansion = 'expa',
kAEPunctuation = 'punc',
kAEZenkakuHankaku = 'zkhk',
kAESmallKana = 'skna',
kAEKataHiragana = 'hika',
kASConsiderReplies = 'rmte',
kASNumericStrings = 'nume',
enumConsiderations = 'cons'
};
enum {
kAECaseConsiderMask = 0x00000001,
kAEDiacriticConsiderMask = 0x00000002,
kAEWhiteSpaceConsiderMask = 0x00000004,
kAEHyphensConsiderMask = 0x00000008,
kAEExpansionConsiderMask = 0x00000010,
kAEPunctuationConsiderMask = 0x00000020,
kASConsiderRepliesConsiderMask = 0x00000040,
kASNumericStringsConsiderMask = 0x00000080,
kAECaseIgnoreMask = 0x00010000,
kAEDiacriticIgnoreMask = 0x00020000,
kAEWhiteSpaceIgnoreMask = 0x00040000,
kAEHyphensIgnoreMask = 0x00080000,
kAEExpansionIgnoreMask = 0x00100000,
kAEPunctuationIgnoreMask = 0x00200000,
kASConsiderRepliesIgnoreMask = 0x00400000,
kASNumericStringsIgnoreMask = 0x00800000,
enumConsidsAndIgnores = 'csig'
};
enum {
cCoercion = 'coec',
cCoerceUpperCase = 'txup',
cCoerceLowerCase = 'txlo',
cCoerceRemoveDiacriticals = 'txdc',
cCoerceRemovePunctuation = 'txpc',
cCoerceRemoveHyphens = 'txhy',
cCoerceOneByteToTwoByte = 'txex',
cCoerceRemoveWhiteSpace = 'txws',
cCoerceSmallKana = 'txsk',
cCoerceZenkakuhankaku = 'txze',
cCoerceKataHiragana = 'txkh',
cZone = 'zone',
cMachine = 'mach',
cAddress = 'addr',
cRunningAddress = 'radd',
cStorage = 'stor'
};
enum {
pASWeekday = 'wkdy',
pASMonth = 'mnth',
pASDay = 'day ',
pASYear = 'year',
pASTime = 'time',
pASDateString = 'dstr',
pASTimeString = 'tstr',
cMonth = pASMonth,
cJanuary = 'jan ',
cFebruary = 'feb ',
cMarch = 'mar ',
cApril = 'apr ',
cMay = 'may ',
cJune = 'jun ',
cJuly = 'jul ',
cAugust = 'aug ',
cSeptember = 'sep ',
cOctober = 'oct ',
cNovember = 'nov ',
cDecember = 'dec '
};
enum {
cWeekday = pASWeekday,
cSunday = 'sun ',
cMonday = 'mon ',
cTuesday = 'tue ',
cWednesday = 'wed ',
cThursday = 'thu ',
cFriday = 'fri ',
cSaturday = 'sat ',
pASQuote = 'quot',
pASSeconds = 'secs',
pASMinutes = 'min ',
pASHours = 'hour',
pASDays = 'days',
pASWeeks = 'week',
cWritingCodeInfo = 'citl',
pScriptCode = 'pscd',
pLangCode = 'plcd',
kASMagicTellEvent = 'tell',
kASMagicEndTellEvent = 'tend'
};
# 51 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
#define __FINDERREGISTRY__
# 46 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
kAEFinderSuite = 'fndr'
};
enum {
kAECleanUp = 'fclu',
kAEEject = 'ejct',
kAEEmpty = 'empt',
kAEErase = 'fera',
kAEGestalt = 'gstl',
kAEPutAway = 'ptwy',
kAERebuildDesktopDB = 'rddb',
kAESync = 'fupd',
kAEInterceptOpen = 'fopn'
};
enum {
kAEDatabaseSuite = 'DATA',
kAESort = 'SORT'
};
# 81 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
cInternalFinderObject = 'obj '
};
enum {
cAliasFile = 'alia',
cApplicationFile = 'appf',
cControlPanelFile = 'ccdv',
cDeskAccessoryFile = 'dafi',
cDocumentFile = 'docf',
cFontFile = 'fntf',
cSoundFile = 'sndf',
cClippingFile = 'clpf',
cContainer = 'ctnr',
cDesktop = 'cdsk',
cSharableContainer = 'sctr',
cDisk = 'cdis',
cFolder = 'cfol',
cSuitcase = 'stcs',
cAccessorySuitcase = 'dsut',
cFontSuitcase = 'fsut',
cTrash = 'ctrs',
cDesktopPrinter = 'dskp',
cPackage = 'pack',
cContentSpace = 'dwnd',
cContainerWindow = 'cwnd',
cInfoWindow = 'iwnd',
cSharingWindow = 'swnd',
cStatusWindow = 'qwnd',
cClippingWindow = 'lwnd',
cPreferencesWindow = 'pwnd',
cDTPWindow = 'dtpw',
cProcess = 'prcs',
cAccessoryProcess = 'pcda',
cApplicationProcess = 'pcap',
cGroup = 'sgrp',
cUser = 'cuse',
cSharingPrivileges = 'priv',
cPreferences = 'cprf',
cLabel = 'clbl',
cSound = 'snd ',
cAliasList = 'alst',
cSpecialFolders = 'spfl',
cOnlineDisk = 'cods',
cOnlineLocalDisk = 'clds',
cOnlineRemoteDisk = 'crds',
cEntireContents = 'ects',
cIconFamily = 'ifam'
};
# 146 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
pComment = 'comt',
pContainer = cContainer,
pContentSpace = cContentSpace,
pCreationDateOld = 'crtd',
pCreationDate = 'ascd',
pDescription = 'dscr',
pDisk = cDisk,
pFolderOld = cFolder,
pFolder = 'asdr',
pIconBitmap = 'iimg',
pInfoWindow = cInfoWindow,
pKind = 'kind',
pLabelIndex = 'labi',
pModificationDateOld = 'modd',
pModificationDate = 'asmo',
pPhysicalSize = 'phys',
pPosition = 'posn',
pIsSelected = 'issl',
pSize = pPointSize,
pWindow = cWindow,
pPreferencesWindow = cPreferencesWindow
};
enum {
pFileCreator = 'fcrt',
pFileType = 'asty',
pFileTypeOld = 'fitp',
pIsLocked = 'aslk',
pIsLockedOld = 'islk',
pProductVersion = 'ver2'
};
enum {
pOriginalItem = 'orig'
};
enum {
pMinAppPartition = 'mprt',
pAppPartition = 'appt',
pSuggestedAppPartition = 'sprt',
pIsScriptable = 'isab'
};
enum {
pInternetLocation = 'iloc'
};
enum {
pSound = 'snd '
};
# 216 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
pShowFolderSize = 'sfsz',
pShowComment = 'scom',
pShowDate = 'sdat',
pShowCreationDate = 'scda',
pShowKind = 'sknd',
pShowLabel = 'slbl',
pShowSize = 'ssiz',
pShowVersion = 'svrs',
pSortDirection = 'sord',
pShowDiskInfo = 'sdin',
pListViewIconSize = 'lvis',
pGridIcons = 'fgrd',
pStaggerIcons = 'fstg',
pViewFont = 'vfnt',
pViewFontSize = 'vfsz'
};
enum {
pCompletelyExpanded = 'pexc',
pContainerWindow = cContainerWindow,
pEntireContents = cEntireContents,
pExpandable = 'pexa',
pExpanded = 'pexp',
pPreviousView = 'svew',
pView = 'pvew',
pIconSize = pListViewIconSize,
pKeepArranged = 'arrg',
pKeepArrangedBy = 'arby'
};
enum {
pStartupDisk = 'sdsk',
pTrash = 'trsh'
};
enum {
pOwner = 'sown',
pOwnerPrivileges = 'ownr',
pGroup = cGroup,
pGroupPrivileges = 'gppr',
pGuestPrivileges = 'gstp',
pArePrivilegesInherited = 'iprv',
pExported = 'sexp',
pMounted = 'smou',
pSharingProtection = 'spro',
pSharing = 'shar',
pSharingWindow = cSharingWindow
};
enum {
pCapacity = 'capa',
pEjectable = 'isej',
pFreeSpace = 'frsp',
pLocal = 'isrv',
pIsStartup = 'istd'
};
enum {
pWarnOnEmpty = 'warn'
};
enum {
# 296 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
pIsZoomedFull = 'zumf',
pIsPopup = 'drwr',
pIsPulledOpen = 'pull',
pIsCollapsed = 'wshd'
};
enum {
pObject = cObject
};
enum {
pSharableContainer = cSharableContainer
};
enum {
pInfoPanel = 'panl'
};
enum {
pFileShareOn = 'fshr',
pFileShareStartingUp = 'fsup',
pProgramLinkingOn = 'iac '
};
enum {
pShowModificationDate = pShowDate,
# 342 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
pUseRelativeDate = 'urdt',
pDelayBeforeSpringing = 'dela',
pSpringOpenFolders = 'sprg',
pUseShortMenus = 'usme',
pUseWideGrid = 'uswg',
pLabel1 = 'lbl1',
pLabel2 = 'lbl2',
pLabel3 = 'lbl3',
pLabel4 = 'lbl4',
pLabel5 = 'lbl5',
pLabel6 = 'lbl6',
pLabel7 = 'lbl7',
pDefaultIconViewIconSize = 'iisz',
pDefaultButtonViewIconSize = 'bisz',
pDefaultListViewIconSize = 'lisz',
pIconViewArrangement = 'iarr',
pButtonViewArrangement = 'barr'
};
enum {
pNoArrangement = 'narr',
pSnapToGridArrangement = 'grda',
pByNameArrangement = 'nama',
pByModificationDateArrangement = 'mdta',
pByCreationDateArrangement = 'cdta',
pBySizeArrangement = 'siza',
pByKindArrangement = 'kina',
pByLabelArrangement = 'laba'
};
enum {
pFile = cFile,
pPartitionSpaceUsed = 'pusd',
pLocalAndRemoteEvents = 'revt',
pHasScriptingTerminology = 'hscr'
};
enum {
pDeskAccessoryFile = cDeskAccessoryFile
};
enum {
pApplicationFile = cApplicationFile
};
# 414 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
pCanConnect = 'ccon',
pCanChangePassword = 'ccpw',
pCanDoProgramLinking = 'ciac',
pIsOwner = 'isow',
pARADialIn = 'arad',
pShouldCallBack = 'calb',
pCallBackNumber = 'cbnm'
};
enum {
pAboutMacintosh = 'abbx',
pAppleMenuItemsFolder = 'amnu',
pControlPanelsFolder = 'ctrl',
pDesktop = 'desk',
pExtensionsFolder = 'extn',
pFinderPreferences = 'pfrp',
pFontsFolder = 'font',
pFontsFolderPreAllegro = 'ffnt',
pLargestFreeBlock = 'mfre',
pPreferencesFolder = 'pref',
pShortCuts = 'scut',
pShutdownFolder = 'shdf',
pStartupItemsFolder = 'strt',
pSystemFolder = 'macs',
pTemporaryFolder = 'temp',
pViewPreferences = 'pvwp',
pStartingUp = 'awak'
};
enum {
pSeeFiles = 'prvr',
pSeeFolders = 'prvs',
pMakeChanges = 'prvw'
};
# 514 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
pSmallIcon = 'smic',
pSmallButton = 'smbu',
pLargeButton = 'lgbu',
pGrid = 'grid'
};
enum {
enumViewBy = 'vwby',
enumGestalt = 'gsen',
enumConflicts = 'cflc',
enumExistingItems = 'exsi',
enumOlderItems = 'oldr'
};
enum {
enumDate = 'enda',
enumAnyDate = 'anyd',
enumToday = 'tday',
enumYesterday = 'yday',
enumThisWeek = 'twek',
enumLastWeek = 'lwek',
enumThisMonth = 'tmon',
enumLastMonth = 'lmon',
enumThisYear = 'tyer',
enumLastYear = 'lyer',
enumBeforeDate = 'bfdt',
enumAfterDate = 'afdt',
enumBetweenDate = 'btdt',
enumOnDate = 'ondt'
};
enum {
enumAllDocuments = 'alld',
enumFolders = 'fold',
enumAliases = 'alia',
enumStationery = 'stat'
};
enum {
enumWhere = 'wher',
enumAllLocalDisks = 'aldk',
enumAllRemoteDisks = 'ardk',
enumAllDisks = 'alld',
enumAllOpenFolders = 'aofo'
};
enum {
enumIconSize = 'isiz',
enumSmallIconSize = pSmallIcon,
enumMiniIconSize = 'miic',
enumLargeIconSize = 'lgic'
};
enum {
enumSortDirection = 'sodr',
enumSortDirectionNormal = 'snrm',
enumSortDirectionReverse = 'srvs'
};
enum {
enumArrangement = 'earr'
};
enum {
enumInfoWindowPanel = 'ipnl',
enumGeneralPanel = 'gpnl',
enumSharingPanel = 'spnl',
enumStatusNConfigPanel = 'scnl',
enumFontsPanel = 'fpnl',
enumMemoryPanel = 'mpnl'
};
enum {
enumPrefsWindowPanel = 'pple',
enumPrefsGeneralPanel = 'pgnp',
enumPrefsLabelPanel = 'plbp',
enumPrefsIconViewPanel = 'pivp',
enumPrefsButtonViewPanel = 'pbvp',
enumPrefsListViewPanel = 'plvp'
};
enum {
typeIconFamily = cIconFamily,
typeIconAndMask = 'ICN#',
type8BitMask = 'l8mk',
type32BitIcon = 'il32',
type8BitIcon = 'icl8',
type4BitIcon = 'icl4',
typeSmallIconAndMask = 'ics#',
typeSmall8BitMask = 's8mk',
typeSmall32BitIcon = 'is32',
typeSmall8BitIcon = 'ics8',
typeSmall4BitIcon = 'ics4',
typeRelativeTime = 'rtim',
typeConceptualTime = 'timc'
};
enum {
keyIconAndMask = 'ICN#',
key32BitIcon = 'il32',
key8BitIcon = 'icl8',
key4BitIcon = 'icl4',
key8BitMask = 'l8mk',
keySmallIconAndMask = 'ics#',
keySmall8BitIcon = 'ics8',
keySmall4BitIcon = 'ics4',
keySmall32BitIcon = 'is32',
keySmall8BitMask = 's8mk',
keyMini1BitMask = 'icm#',
keyMini4BitIcon = 'icm4',
keyMini8BitIcon = 'icm8',
keyAEUsing = 'usin',
keyAEReplacing = 'alrp',
keyAENoAutoRouting = 'rout',
keyLocalPositionList = 'mvpl',
keyGlobalPositionList = 'mvpg',
keyRedirectedDocumentList = 'fpdl'
};
enum {
keyASPrepositionHas = 'has ',
keyAll = 'kyal',
keyOldFinderItems = 'fsel'
};
enum {
formAlias = typeAlias,
formCreator = pFileCreator
};
# 686 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h" 3
enum {
errFinderIsBusy = -15260,
errFinderWindowNotOpen = -15261,
errFinderCannotPutAway = -15262,
errFinderWindowMustBeIconView = -15263,
errFinderWindowMustBeListView = -15264,
errFinderCantMoveToDestination = -15265,
errFinderCantMoveSource = -15266,
errFinderCantOverwrite = -15267,
errFinderIncestuousMove = -15268,
errFinderCantMoveToAncestor = -15269,
errFinderCantUseTrashedItems = -15270,
errFinderItemAlreadyInDest = -15271,
errFinderUnknownUser = -15272,
errFinderSharePointsCantInherit = -15273,
errFinderWindowWrongType = -15274,
errFinderPropertyNowWindowBased = -15275,
errFinderAppFolderProtected = -15276,
errFinderSysFolderProtected = -15277,
errFinderBoundsWrong = -15278,
errAEValueOutOfRange = -15279,
errFinderPropertyDoesNotApply = -15280,
errFinderFileSharingMustBeOn = -15281,
errFinderMustBeActive = -15282,
errFinderVolumeNotFound = -15283,
errFinderLockedItemsInTrash = -15284,
errFinderOnlyLockedItemsInTrash = -15285,
errFinderProgramLinkingMustBeOn = -15286,
errFinderWindowMustBeButtonView = -15287,
errFinderBadPackageContents = -15288,
errFinderUnsupportedInsidePackages = -15289,
errFinderCorruptOpenFolderList = -15290,
errFinderNoInvisibleFiles = -15291,
errFinderCantDeleteImmediately = -15292,
errFinderLastReserved = -15379
};
# 55 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/DigitalHubRegistry.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/DigitalHubRegistry.h" 3
#define __DIGITALHUBREGISTRY__
# 36 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/DigitalHubRegistry.h" 3
enum {
kDigiHubEventClass = 'dhub'
};
enum {
kDigiHubMusicCD = 'aucd',
kDigiHubPictureCD = 'picd',
kDigiHubVideoDVD = 'vdvd',
kDigiHubBlankCD = 'bcd ',
kDigiHubBlankDVD = 'bdvd'
};
# 59 "/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/OpenScripting.h" 2 3
# 41 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h" 1 3
# 15 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h" 3
#define __PRINT__
# 28 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 1 3
# 15 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplication.h" 3
#define __PMAPPLICATION__
# 29 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 1 3
# 16 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/PMApplicationDeprecated.h" 3
#define __PMAPPLICATION_DEPRECATED__
# 33 "/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h" 2 3
# 45 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/NavigationServices.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/NavigationServices.h" 3
#define __NAVIGATIONSERVICES__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
#define __NAVIGATION__
# 43 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
#pragma pack(push, 2)
# 70 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
typedef UInt32 NavAskSaveChangesAction;
enum {
kNavSaveChangesClosingDocument = 1,
kNavSaveChangesQuittingApplication = 2,
kNavSaveChangesOther = 0
};
typedef UInt32 NavAskSaveChangesResult;
enum {
kNavAskSaveChangesSave = 1,
kNavAskSaveChangesCancel = 2,
kNavAskSaveChangesDontSave = 3
};
typedef UInt32 NavAskDiscardChangesResult;
enum {
kNavAskDiscardChanges = 1,
kNavAskDiscardChangesCancel = 2
};
typedef SInt16 NavFilterModes;
enum {
kNavFilteringBrowserList = 0,
kNavFilteringFavorites = 1,
kNavFilteringRecents = 2,
kNavFilteringShortCutVolumes = 3,
kNavFilteringLocationPopup = 4
};
enum {
kNavFileOrFolderVersion = 1
};
struct NavFileOrFolderInfo {
UInt16 version;
Boolean isFolder;
Boolean visible;
UInt32 creationDate;
UInt32 modificationDate;
union {
struct {
Boolean locked;
Boolean resourceOpen;
Boolean dataOpen;
Boolean reserved1;
ByteCount dataSize;
ByteCount resourceSize;
FInfo finderInfo;
FXInfo finderXInfo;
} fileInfo;
struct {
Boolean shareable;
Boolean sharePoint;
Boolean mounted;
Boolean readable;
Boolean writeable;
Boolean reserved2;
ItemCount numberOfFiles;
DInfo finderDInfo;
DXInfo finderDXInfo;
OSType folderType;
OSType folderCreator;
char reserved3[206];
} folderInfo;
} fileAndFolder;
};
typedef struct NavFileOrFolderInfo NavFileOrFolderInfo;
union NavEventDataInfo {
EventRecord * event;
void * param;
};
typedef union NavEventDataInfo NavEventDataInfo;
struct NavEventData {
NavEventDataInfo eventDataParms;
SInt16 itemHit;
};
typedef struct NavEventData NavEventData;
# 174 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
typedef struct __NavDialog* NavDialogRef;
# 201 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
typedef UInt32 NavUserAction;
enum {
kNavUserActionNone = 0,
kNavUserActionCancel = 1,
kNavUserActionOpen = 2,
kNavUserActionSaveAs = 3,
kNavUserActionChoose = 4,
kNavUserActionNewFolder = 5,
kNavUserActionSaveChanges = 6,
kNavUserActionDontSaveChanges = 7,
kNavUserActionDiscardChanges = 8,
kNavUserActionReviewDocuments = 9,
kNavUserActionDiscardDocuments = 10
};
enum {
kNavCBRecVersion = 1
};
# 283 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
struct NavCBRec {
UInt16 version;
NavDialogRef context;
WindowRef window;
Rect customRect;
Rect previewRect;
NavEventData eventData;
NavUserAction userAction;
char reserved[218];
};
typedef struct NavCBRec NavCBRec;
typedef NavCBRec * NavCBRecPtr;
typedef SInt32 NavEventCallbackMessage;
enum {
kNavCBEvent = 0,
kNavCBCustomize = 1,
kNavCBStart = 2,
kNavCBTerminate = 3,
kNavCBAdjustRect = 4,
kNavCBNewLocation = 5,
kNavCBShowDesktop = 6,
kNavCBSelectEntry = 7,
# 404 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
kNavCBPopupMenuSelect = 8,
kNavCBAccept = 9,
kNavCBCancel = 10,
kNavCBAdjustPreview = 11,
kNavCBUserAction = 12,
kNavCBOpenSelection = (SInt32)0x80000000
};
typedef void * NavCallBackUserData;
typedef void ( * NavEventProcPtr)(NavEventCallbackMessage callBackSelector, NavCBRecPtr callBackParms, void *callBackUD);
typedef Boolean ( * NavPreviewProcPtr)(NavCBRecPtr callBackParms, void *callBackUD);
typedef Boolean ( * NavObjectFilterProcPtr)(AEDesc *theItem, void *info, void *callBackUD, NavFilterModes filterMode);
typedef NavEventProcPtr NavEventUPP;
typedef NavPreviewProcPtr NavPreviewUPP;
typedef NavObjectFilterProcPtr NavObjectFilterUPP;
# 458 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern NavEventUPP
NewNavEventUPP(NavEventProcPtr userRoutine) ;
# 469 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern NavPreviewUPP
NewNavPreviewUPP(NavPreviewProcPtr userRoutine) ;
# 480 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern NavObjectFilterUPP
NewNavObjectFilterUPP(NavObjectFilterProcPtr userRoutine) ;
# 491 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern void
DisposeNavEventUPP(NavEventUPP userUPP) ;
# 502 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern void
DisposeNavPreviewUPP(NavPreviewUPP userUPP) ;
# 513 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern void
DisposeNavObjectFilterUPP(NavObjectFilterUPP userUPP) ;
# 524 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern void
InvokeNavEventUPP(
NavEventCallbackMessage callBackSelector,
NavCBRecPtr callBackParms,
void * callBackUD,
NavEventUPP userUPP) ;
# 539 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern Boolean
InvokeNavPreviewUPP(
NavCBRecPtr callBackParms,
void * callBackUD,
NavPreviewUPP userUPP) ;
# 553 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern Boolean
InvokeNavObjectFilterUPP(
AEDesc * theItem,
void * info,
void * callBackUD,
NavFilterModes filterMode,
NavObjectFilterUPP userUPP) ;
# 573 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
#define NewNavEventUPP(userRoutine) ((NavEventUPP)userRoutine)
#define NewNavPreviewUPP(userRoutine) ((NavPreviewUPP)userRoutine)
#define NewNavObjectFilterUPP(userRoutine) ((NavObjectFilterUPP)userRoutine)
#define DisposeNavEventUPP(userUPP)
#define DisposeNavPreviewUPP(userUPP)
#define DisposeNavObjectFilterUPP(userUPP)
#define InvokeNavEventUPP(callBackSelector,callBackParms,callBackUD,userUPP) (*userUPP)(callBackSelector, callBackParms, callBackUD)
#define InvokeNavPreviewUPP(callBackParms,callBackUD,userUPP) (*userUPP)(callBackParms, callBackUD)
#define InvokeNavObjectFilterUPP(theItem,info,callBackUD,filterMode,userUPP) (*userUPP)(theItem, info, callBackUD, filterMode)
typedef SInt32 NavCustomControlMessage;
enum {
kNavCtlShowDesktop = 0,
kNavCtlSortBy = 1,
kNavCtlSortOrder = 2,
kNavCtlScrollHome = 3,
kNavCtlScrollEnd = 4,
kNavCtlPageUp = 5,
kNavCtlPageDown = 6,
kNavCtlGetLocation = 7,
kNavCtlSetLocation = 8,
kNavCtlGetSelection = 9,
kNavCtlSetSelection = 10,
kNavCtlShowSelection = 11,
kNavCtlOpenSelection = 12,
kNavCtlEjectVolume = 13,
kNavCtlNewFolder = 14,
kNavCtlCancel = 15,
kNavCtlAccept = 16,
kNavCtlIsPreviewShowing = 17,
kNavCtlAddControl = 18,
kNavCtlAddControlList = 19,
kNavCtlGetFirstControlID = 20,
kNavCtlSelectCustomType = 21,
kNavCtlSelectAllType = 22,
kNavCtlGetEditFileName = 23,
kNavCtlSetEditFileName = 24,
kNavCtlSelectEditFileName = 25,
kNavCtlBrowserSelectAll = 26,
kNavCtlGotoParent = 27,
kNavCtlSetActionState = 28,
kNavCtlBrowserRedraw = 29,
kNavCtlTerminate = 30
};
typedef UInt32 NavActionState;
enum {
kNavNormalState = 0x00000000,
kNavDontOpenState = 0x00000001,
kNavDontSaveState = 0x00000002,
kNavDontChooseState = 0x00000004,
kNavDontNewFolderState = 0x00000010
};
typedef UInt16 NavPopupMenuItem;
enum {
kNavAllKnownFiles = 0,
kNavAllReadableFiles = 1,
kNavAllFiles = 2
};
typedef UInt16 NavSortKeyField;
enum {
kNavSortNameField = 0,
kNavSortDateField = 1
};
typedef UInt16 NavSortOrder;
enum {
kNavSortAscending = 0,
kNavSortDescending = 1
};
typedef OptionBits NavDialogOptionFlags;
enum {
kNavDefaultNavDlogOptions = 0x000000E4,
kNavNoTypePopup = 0x00000001,
kNavDontAutoTranslate = 0x00000002,
kNavDontAddTranslateItems = 0x00000004,
kNavAllFilesInPopup = 0x00000010,
kNavAllowStationery = 0x00000020,
kNavAllowPreviews = 0x00000040,
kNavAllowMultipleFiles = 0x00000080,
kNavAllowInvisibleFiles = 0x00000100,
kNavDontResolveAliases = 0x00000200,
kNavSelectDefaultLocation = 0x00000400,
kNavSelectAllReadableItem = 0x00000800,
kNavSupportPackages = 0x00001000,
kNavAllowOpenPackages = 0x00002000,
kNavDontAddRecents = 0x00004000,
kNavDontUseCustomFrame = 0x00008000,
kNavDontConfirmReplacement = 0x00010000,
kNavPreserveSaveFileExtension = 0x00020000
};
typedef UInt32 NavTranslationOptions;
enum {
kNavTranslateInPlace = 0,
kNavTranslateCopy = 1
};
enum {
kNavMenuItemSpecVersion = 0
};
struct NavMenuItemSpec {
UInt16 version;
OSType menuCreator;
OSType menuType;
Str255 menuItemName;
char reserved[245];
};
typedef struct NavMenuItemSpec NavMenuItemSpec;
typedef NavMenuItemSpec * NavMenuItemSpecArrayPtr;
typedef NavMenuItemSpecArrayPtr * NavMenuItemSpecArrayHandle;
typedef NavMenuItemSpecArrayPtr NavMenuItemSpecPtr;
typedef NavMenuItemSpecArrayHandle NavMenuItemSpecHandle;
enum {
kNavGenericSignature = '****'
};
enum {
kNavClientPopupExtensionTag = 'extn'
};
struct NavTypeList {
OSType componentSignature;
short reserved;
short osTypeCount;
OSType osType[1];
};
typedef struct NavTypeList NavTypeList;
typedef NavTypeList * NavTypeListPtr;
typedef NavTypeListPtr * NavTypeListHandle;
enum {
kNavReplyRecordVersion = 2
};
# 733 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
struct NavReplyRecord {
UInt16 version;
Boolean validRecord;
Boolean replacing;
Boolean isStationery;
Boolean translationNeeded;
# 783 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
AEDescList selection;
ScriptCode keyScript;
FileTranslationSpecArrayHandle fileTranslation;
UInt32 reserved1;
CFStringRef saveFileName;
# 823 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
Boolean saveFileExtensionHidden;
UInt8 reserved2;
char reserved[225];
};
typedef struct NavReplyRecord NavReplyRecord;
# 844 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavCompleteSave(
const NavReplyRecord * reply,
NavTranslationOptions howToTranslate) ;
# 858 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavCustomControl(
NavDialogRef dialog,
NavCustomControlMessage selector,
void * parms) ;
# 892 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavDisposeReply(NavReplyRecord * reply) ;
enum {
kNavDialogCreationOptionsVersion = 0
};
# 922 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
struct NavDialogCreationOptions {
UInt16 version;
NavDialogOptionFlags optionFlags;
Point location;
# 951 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
CFStringRef clientName;
CFStringRef windowTitle;
CFStringRef actionButtonLabel;
CFStringRef cancelButtonLabel;
CFStringRef saveFileName;
CFStringRef message;
# 992 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
UInt32 preferenceKey;
CFArrayRef popupExtension;
WindowModality modality;
WindowRef parentWindow;
char reserved[16];
};
typedef struct NavDialogCreationOptions NavDialogCreationOptions;
# 1045 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavGetDefaultDialogCreationOptions(NavDialogCreationOptions * outOptions) ;
# 1099 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateGetFileDialog(
const NavDialogCreationOptions * inOptions,
NavTypeListHandle inTypeList,
NavEventUPP inEventProc,
NavPreviewUPP inPreviewProc,
NavObjectFilterUPP inFilterProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1158 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreatePutFileDialog(
const NavDialogCreationOptions * inOptions,
OSType inFileType,
OSType inFileCreator,
NavEventUPP inEventProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1221 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateAskReviewDocumentsDialog(
const NavDialogCreationOptions * inOptions,
ItemCount inDocumentCount,
NavEventUPP inEventProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1275 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateAskSaveChangesDialog(
const NavDialogCreationOptions * inOptions,
NavAskSaveChangesAction inAction,
NavEventUPP inEventProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1324 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateAskDiscardChangesDialog(
const NavDialogCreationOptions * inOptions,
NavEventUPP inEventProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1383 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateChooseFileDialog(
const NavDialogCreationOptions * inOptions,
NavTypeListHandle inTypeList,
NavEventUPP inEventProc,
NavPreviewUPP inPreviewProc,
NavObjectFilterUPP inFilterProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1436 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateChooseFolderDialog(
const NavDialogCreationOptions * inOptions,
NavEventUPP inEventProc,
NavObjectFilterUPP inFilterProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1487 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateChooseVolumeDialog(
const NavDialogCreationOptions * inOptions,
NavEventUPP inEventProc,
NavObjectFilterUPP inFilterProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1543 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateChooseObjectDialog(
const NavDialogCreationOptions * inOptions,
NavEventUPP inEventProc,
NavPreviewUPP inPreviewProc,
NavObjectFilterUPP inFilterProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1593 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavCreateNewFolderDialog(
const NavDialogCreationOptions * inOptions,
NavEventUPP inEventProc,
void * inClientData,
NavDialogRef * outDialog) ;
# 1640 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavDialogRun(NavDialogRef inDialog) ;
# 1668 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern void
NavDialogDispose(NavDialogRef inDialog) ;
# 1697 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern WindowRef
NavDialogGetWindow(NavDialogRef inDialog) ;
# 1736 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern NavUserAction
NavDialogGetUserAction(NavDialogRef inDialog) ;
# 1772 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavDialogGetReply(
NavDialogRef inDialog,
NavReplyRecord * outReply) ;
# 1810 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern CFStringRef
NavDialogGetSaveFileName(NavDialogRef inPutFileDialog) ;
# 1846 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavDialogSetSaveFileName(
NavDialogRef inPutFileDialog,
CFStringRef inFileName) ;
# 1877 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern Boolean
NavDialogGetSaveFileExtensionHidden(NavDialogRef inPutFileDialog) ;
# 1910 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavDialogSetSaveFileExtensionHidden(
NavDialogRef inPutFileDialog,
Boolean inHidden) ;
# 1948 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSStatus
NavDialogSetFilterTypeIdentifiers(
NavDialogRef inGetFileDialog,
CFArrayRef inTypeIdentifiers) ;
#pragma mark -
enum {
kNavDialogOptionsVersion = 0
};
struct NavDialogOptions {
UInt16 version;
NavDialogOptionFlags dialogOptionFlags;
Point location;
Str255 clientName;
Str255 windowTitle;
Str255 actionButtonLabel;
Str255 cancelButtonLabel;
Str255 savedFileName;
Str255 message;
UInt32 preferenceKey;
NavMenuItemSpecArrayHandle popupExtension;
char reserved[494];
};
typedef struct NavDialogOptions NavDialogOptions;
# 1992 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavLoad(void);
# 2007 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavUnload(void);
# 2022 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern UInt32
NavLibraryVersion(void) __attribute__((deprecated));
# 2037 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavGetDefaultDialogOptions(NavDialogOptions * dialogOptions) __attribute__((deprecated));
# 2053 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavGetFile(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
NavPreviewUPP previewProc,
NavObjectFilterUPP filterProc,
NavTypeListHandle typeList,
void * callBackUD) __attribute__((deprecated));
# 2076 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavPutFile(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
OSType fileType,
OSType fileCreator,
void * callBackUD) __attribute__((deprecated));
# 2098 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavAskSaveChanges(
NavDialogOptions * dialogOptions,
NavAskSaveChangesAction action,
NavAskSaveChangesResult * reply,
NavEventUPP eventProc,
void * callBackUD) __attribute__((deprecated));
# 2118 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavCustomAskSaveChanges(
NavDialogOptions * dialogOptions,
NavAskSaveChangesResult * reply,
NavEventUPP eventProc,
void * callBackUD) __attribute__((deprecated));
# 2137 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavAskDiscardChanges(
NavDialogOptions * dialogOptions,
NavAskDiscardChangesResult * reply,
NavEventUPP eventProc,
void * callBackUD) __attribute__((deprecated));
# 2156 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavChooseFile(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
NavPreviewUPP previewProc,
NavObjectFilterUPP filterProc,
NavTypeListHandle typeList,
void * callBackUD) __attribute__((deprecated));
# 2179 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavChooseFolder(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
NavObjectFilterUPP filterProc,
void * callBackUD) __attribute__((deprecated));
# 2200 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavChooseVolume(
AEDesc * defaultSelection,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
NavObjectFilterUPP filterProc,
void * callBackUD) __attribute__((deprecated));
# 2221 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavChooseObject(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
NavObjectFilterUPP filterProc,
void * callBackUD) __attribute__((deprecated));
# 2242 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavNewFolder(
AEDesc * defaultLocation,
NavReplyRecord * reply,
NavDialogOptions * dialogOptions,
NavEventUPP eventProc,
void * callBackUD) __attribute__((deprecated));
# 2263 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern OSErr
NavTranslateFile(
const NavReplyRecord * reply,
NavTranslationOptions howToTranslate) __attribute__((deprecated));
# 2280 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
extern Boolean
NavServicesCanRun(void);
# 2296 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
#define NavServicesAvailable() (true)
# 2313 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/Navigation.h" 3
#pragma pack(pop)
# 26 "/System/Library/Frameworks/Carbon.framework/Frameworks/NavigationServices.framework/Headers/NavigationServices.h" 2 3
# 49 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 3
#define __COMMONPANELS__
# 33 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
#define __COLORPICKER__
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
#pragma pack(push, 2)
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
enum {
kDefaultColorPickerWidth = 383,
kDefaultColorPickerHeight = 238
};
typedef SInt16 DialogPlacementSpec;
enum {
kAtSpecifiedOrigin = 0,
kDeepestColorScreen = 1,
kCenterOnMainScreen = 2
};
enum {
kColorPickerDialogIsMoveable = 1,
kColorPickerDialogIsModal = 2,
kColorPickerCanModifyPalette = 4,
kColorPickerCanAnimatePalette = 8,
kColorPickerAppIsColorSyncAware = 16,
kColorPickerInSystemDialog = 32,
kColorPickerInApplicationDialog = 64,
kColorPickerInPickerDialog = 128,
kColorPickerDetachedFromChoices = 256,
kColorPickerCallColorProcLive = 512
};
# 138 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
struct NPMColor {
CMProfileRef profile;
CMColor color;
};
typedef struct NPMColor NPMColor;
typedef NPMColor * NPMColorPtr;
typedef struct OpaquePicker* Picker;
typedef Picker picker;
struct PickerMenuItemInfo {
SInt16 editMenuID;
SInt16 cutItem;
SInt16 copyItem;
SInt16 pasteItem;
SInt16 clearItem;
SInt16 undoItem;
};
typedef struct PickerMenuItemInfo PickerMenuItemInfo;
typedef void ( * NColorChangedProcPtr)(SRefCon userData, NPMColor *newColor);
typedef NColorChangedProcPtr NColorChangedUPP;
# 167 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern NColorChangedUPP
NewNColorChangedUPP(NColorChangedProcPtr userRoutine) ;
# 178 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
DisposeNColorChangedUPP(NColorChangedUPP userUPP) ;
# 189 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern void
InvokeNColorChangedUPP(
SRefCon userData,
NPMColor * newColor,
NColorChangedUPP userUPP) ;
#define NewNColorChangedUPP(userRoutine) ((NColorChangedUPP)userRoutine)
#define DisposeNColorChangedUPP(userUPP)
#define InvokeNColorChangedUPP(userData,newColor,userUPP) (*userUPP)(userData, newColor)
typedef void * ColorChangedUPP;
typedef void * UserEventUPP;
# 326 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
struct NColorPickerInfo {
NPMColor theColor;
CMProfileRef dstProfile;
UInt32 flags;
DialogPlacementSpec placeWhere;
Point dialogOrigin;
OSType pickerType;
NColorChangedUPP colorProc;
URefCon colorProcData;
Str255 prompt;
PickerMenuItemInfo mInfo;
Boolean newColorChosen;
UInt8 reserved;
};
typedef struct NColorPickerInfo NColorPickerInfo;
# 466 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern Boolean
GetColor(
Point where,
ConstStr255Param prompt,
const RGBColor * inColor,
RGBColor * outColor) ;
# 497 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/ColorPicker.h" 3
extern OSErr
NPickColor(NColorPickerInfo * theColorInfo) ;
#pragma pack(pop)
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
#define __CMCALIBRATOR__
# 40 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
#pragma pack(push, 2)
typedef void ( * CalibrateEventProcPtr)(EventRecord * event);
typedef CalibrateEventProcPtr CalibrateEventUPP;
enum {
kCalibratorNamePrefix = 'cali'
};
struct CalibratorInfo {
UInt32 dataSize;
CMDisplayIDType displayID;
UInt32 profileLocationSize;
CMProfileLocation * profileLocationPtr;
CalibrateEventUPP eventProc;
Boolean isGood;
};
typedef struct CalibratorInfo CalibratorInfo;
typedef Boolean ( * CanCalibrateProcPtr)(CMDisplayIDType displayID, Str255 errMessage);
typedef OSErr ( * CalibrateProcPtr)(CalibratorInfo * theInfo);
typedef CanCalibrateProcPtr CanCalibrateUPP;
typedef CalibrateProcPtr CalibrateUPP;
# 73 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern CalibrateEventUPP
NewCalibrateEventUPP(CalibrateEventProcPtr userRoutine) ;
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern CanCalibrateUPP
NewCanCalibrateUPP(CanCalibrateProcPtr userRoutine);
# 95 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern CalibrateUPP
NewCalibrateUPP(CalibrateProcPtr userRoutine);
# 106 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern void
DisposeCalibrateEventUPP(CalibrateEventUPP userUPP) ;
# 117 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern void
DisposeCanCalibrateUPP(CanCalibrateUPP userUPP);
# 128 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern void
DisposeCalibrateUPP(CalibrateUPP userUPP);
# 139 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern void
InvokeCalibrateEventUPP(
EventRecord * event,
CalibrateEventUPP userUPP) ;
# 152 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern Boolean
InvokeCanCalibrateUPP(
CMDisplayIDType displayID,
Str255 errMessage,
CanCalibrateUPP userUPP);
# 166 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern OSErr
InvokeCalibrateUPP(
CalibratorInfo * theInfo,
CalibrateUPP userUPP);
# 183 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
#define NewCalibrateEventUPP(userRoutine) ((CalibrateEventUPP)userRoutine)
#define NewCanCalibrateUPP(userRoutine) ((CanCalibrateUPP)userRoutine)
#define NewCalibrateUPP(userRoutine) ((CalibrateUPP)userRoutine)
#define DisposeCalibrateEventUPP(userUPP)
#define DisposeCanCalibrateUPP(userUPP)
#define DisposeCalibrateUPP(userUPP)
#define InvokeCalibrateEventUPP(event,userUPP) (*userUPP)(event)
#define InvokeCanCalibrateUPP(displayID,errMessage,userUPP) (*userUPP)(displayID, errMessage)
#define InvokeCalibrateUPP(theInfo,userUPP) (*userUPP)(theInfo)
# 203 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CMCalibrator.h" 3
extern OSErr
CMCalibrateDisplay(CalibratorInfo * theInfo) ;
#pragma pack(pop)
# 38 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
#define __NSL__
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
#pragma pack(push, 2)
typedef UInt32 NSLDialogOptionFlags;
enum {
kNSLDefaultNSLDlogOptions = 0x00000000,
kNSLNoURLTEField = 0x00000001,
kNSLAddServiceTypes = 0x00000002,
kNSLClientHandlesRecents = 0x00000004
};
struct NSLDialogOptions {
UInt16 version;
NSLDialogOptionFlags dialogOptionFlags;
Str255 windowTitle;
Str255 actionButtonLabel;
Str255 cancelButtonLabel;
Str255 message;
};
typedef struct NSLDialogOptions NSLDialogOptions;
typedef Boolean ( * NSLURLFilterProcPtr)(char *url, Str255 displayString);
typedef void ( * NSLEventProcPtr)(EventRecord *newEvent, void *userContext);
typedef NSLURLFilterProcPtr NSLURLFilterUPP;
typedef NSLEventProcPtr NSLEventUPP;
# 72 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern NSLURLFilterUPP
NewNSLURLFilterUPP(NSLURLFilterProcPtr userRoutine) ;
# 83 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern NSLEventUPP
NewNSLEventUPP(NSLEventProcPtr userRoutine) ;
# 94 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern void
DisposeNSLURLFilterUPP(NSLURLFilterUPP userUPP) ;
# 105 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern void
DisposeNSLEventUPP(NSLEventUPP userUPP) ;
# 116 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern Boolean
InvokeNSLURLFilterUPP(
char * url,
Str255 displayString,
NSLURLFilterUPP userUPP) ;
# 130 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern void
InvokeNSLEventUPP(
EventRecord * newEvent,
void * userContext,
NSLEventUPP userUPP) ;
# 145 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
#define NewNSLURLFilterUPP(userRoutine) ((NSLURLFilterUPP)userRoutine)
#define NewNSLEventUPP(userRoutine) ((NSLEventUPP)userRoutine)
#define DisposeNSLURLFilterUPP(userUPP)
#define DisposeNSLEventUPP(userUPP)
#define InvokeNSLURLFilterUPP(url,displayString,userUPP) (*userUPP)(url, displayString)
#define InvokeNSLEventUPP(newEvent,userContext,userUPP) (*userUPP)(newEvent, userContext)
# 242 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern OSStatus
NSLStandardGetURL(
NSLDialogOptions * dialogOptions,
NSLEventUPP eventProc,
void * eventProcContextPtr,
NSLURLFilterUPP filterProc,
char * serviceTypeList,
char ** userSelectedURL) ;
# 260 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern OSStatus
NSLGetDefaultDialogOptions(NSLDialogOptions * dialogOptions) ;
# 274 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern char *
NSLFreeURL(char * url) ;
# 290 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/NSL.h" 3
extern OSErr
NSLSaveURLAliasToFolder(
OSType folderSelectorType,
const char * url,
const char * userFriendlyName) ;
#pragma pack(pop)
# 42 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
#define __FONTPANEL__
# 43 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
#pragma pack(push, 2)
# 53 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
enum {
kEventClassFont = 'font'
};
enum {
kHICommandShowHideFontPanel = 'shfp'
};
# 98 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
enum {
kEventFontPanelClosed = 1,
# 114 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
kEventFontSelection = 2
};
# 134 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
enum {
typeCTFontDescriptorRef = typeCFTypeRef,
typeATSUFontID = typeUInt32,
typeATSUSize = typeFixed,
typeFMFontFamily = typeSInt16,
typeFMFontStyle = typeSInt16,
typeFMFontSize = typeSInt16,
typeFontColor = typeRGBColor,
kEventParamCTFontDescriptor = 'ctfd',
kEventParamATSUFontID = 'auid',
kEventParamATSUFontSize = 'ausz',
kEventParamFMFontFamily = 'fmfm',
kEventParamFMFontStyle = 'fmst',
kEventParamFMFontSize = 'fmsz',
kEventParamFontColor = 'fclr',
kEventParamDictionary = 'dict',
kEventParamViewAttributesDictionary = 'dadc'
};
# 165 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelATSUFontIDKey ;
# 175 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelVariationAxesKey ;
# 185 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelVariationValuesKey ;
# 195 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelFeatureTypesKey ;
# 205 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelFeatureSelectorsKey ;
# 215 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelAttributesKey ;
# 256 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelAttributeTagsKey ;
# 266 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelAttributeSizesKey ;
# 276 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelAttributeValuesKey ;
# 291 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelMouseTrackingState ;
# 311 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFontPanelBackgroundColorAttributeName ;
enum {
fontPanelShowErr = -8880,
fontPanelSelectionStyleErr = -8881,
fontPanelFontSelectionQDStyleVersionErr = -8882
};
enum {
kFontSelectionATSUIType = 'astl',
kFontSelectionQDType = 'qstl',
kFontSelectionCoreTextType = 'ctfd'
};
enum {
kFontSelectionQDStyleVersionZero = 0
};
# 352 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
struct FontSelectionQDStyle {
UInt32 version;
FMFontFamilyInstance instance;
FMFontSize size;
Boolean hasColor;
UInt8 reserved;
RGBColor color;
};
typedef struct FontSelectionQDStyle FontSelectionQDStyle;
typedef FontSelectionQDStyle * FontSelectionQDStylePtr;
# 373 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern Boolean
FPIsFontPanelVisible(void) ;
# 385 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
FPShowHideFontPanel(void) ;
# 397 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
SetFontInfoForSelection(
OSType iStyleType,
UInt32 iNumStyles,
void * iStyles,
EventTargetRef iFPEventTarget) ;
# 417 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
typedef struct OpaqueFCFontDescriptorRef* FCFontDescriptorRef;
# 437 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern CFArrayRef
FCCopyCollectionNames(void) ;
# 467 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern CFArrayRef
FCCopyFontDescriptorsInCollection(CFStringRef iCollection) ;
# 494 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
FCAddCollection(
CFStringRef iCollection,
OptionBits iCollectionOptions) ;
# 519 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
FCRemoveCollection(CFStringRef iCollection) ;
# 548 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
FCAddFontDescriptorToCollection(
FCFontDescriptorRef iDescriptor,
CFStringRef iCollection) ;
# 576 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern OSStatus
FCRemoveFontDescriptorFromCollection(
FCFontDescriptorRef iDescriptor,
CFStringRef iCollection) ;
# 603 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontFamilyAttribute ;
# 616 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontNameAttribute ;
# 628 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontFaceAttribute ;
# 640 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontSizeAttribute ;
# 653 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontVisibleNameAttribute ;
# 665 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern const CFStringRef kFCFontCGColorAttribute ;
# 687 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern FCFontDescriptorRef
FCFontDescriptorCreateWithFontAttributes(CFDictionaryRef iAttributes) ;
# 714 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/FontPanel.h" 3
extern FCFontDescriptorRef
FCFontDescriptorCreateWithName(
CFStringRef iFontName,
CGFloat iSize) ;
#pragma pack(pop)
# 50 "/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/Headers/CommonPanels.h" 2 3
# 53 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 63 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
#define __SPEECHRECOGNITION__
# 36 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
#pragma pack(push, 2)
enum {
kSRNotAvailable = -5100,
kSRInternalError = -5101,
kSRComponentNotFound = -5102,
kSROutOfMemory = -5103,
kSRNotASpeechObject = -5104,
kSRBadParameter = -5105,
kSRParamOutOfRange = -5106,
kSRBadSelector = -5107,
kSRBufferTooSmall = -5108,
kSRNotARecSystem = -5109,
kSRFeedbackNotAvail = -5110,
kSRCantSetProperty = -5111,
kSRCantGetProperty = -5112,
kSRCantSetDuringRecognition = -5113,
kSRAlreadyListening = -5114,
kSRNotListeningState = -5115,
kSRModelMismatch = -5116,
kSRNoClientLanguageModel = -5117,
kSRNoPendingUtterances = -5118,
kSRRecognitionCanceled = -5119,
kSRRecognitionDone = -5120,
kSROtherRecAlreadyModal = -5121,
kSRHasNoSubItems = -5122,
kSRSubItemNotFound = -5123,
kSRLanguageModelTooBig = -5124,
kSRAlreadyReleased = -5125,
kSRAlreadyFinished = -5126,
kSRWordNotFound = -5127,
kSRNotFinishedWithRejection = -5128,
kSRExpansionTooDeep = -5129,
kSRTooManyElements = -5130,
kSRCantAdd = -5131,
kSRSndInSourceDisconnected = -5132,
kSRCantReadLanguageObject = -5133,
kSRNotImplementedYet = -5199
};
typedef struct OpaqueSRSpeechObject* SRSpeechObject;
typedef SRSpeechObject SRRecognitionSystem;
typedef SRSpeechObject SRRecognizer;
typedef SRSpeechObject SRSpeechSource;
typedef SRSpeechSource SRRecognitionResult;
typedef SRSpeechObject SRLanguageObject;
typedef SRLanguageObject SRLanguageModel;
typedef SRLanguageObject SRPath;
typedef SRLanguageObject SRPhrase;
typedef SRLanguageObject SRWord;
typedef UInt16 SRSpeedSetting;
typedef UInt16 SRRejectionLevel;
struct SRCallBackStruct {
UInt32 what;
long message;
SRRecognizer instance;
OSErr status;
SInt16 flags;
SRefCon refCon;
};
typedef struct SRCallBackStruct SRCallBackStruct;
typedef void ( * SRCallBackProcPtr)(SRCallBackStruct * param);
typedef SRCallBackProcPtr SRCallBackUPP;
# 117 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern SRCallBackUPP
NewSRCallBackUPP(SRCallBackProcPtr userRoutine) ;
# 128 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern void
DisposeSRCallBackUPP(SRCallBackUPP userUPP) ;
# 139 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern void
InvokeSRCallBackUPP(
SRCallBackStruct * param,
SRCallBackUPP userUPP) ;
#define NewSRCallBackUPP(userRoutine) ((SRCallBackUPP)userRoutine)
#define DisposeSRCallBackUPP(userUPP)
#define InvokeSRCallBackUPP(param,userUPP) (*userUPP)(param)
struct SRCallBackParam {
SRCallBackUPP callBack;
SRefCon refCon;
};
typedef struct SRCallBackParam SRCallBackParam;
enum {
kSRDefaultRecognitionSystemID = 0
};
enum {
kSRFeedbackAndListeningModes = 'fbwn',
kSRRejectedWord = 'rejq',
kSRCleanupOnClientExit = 'clup'
};
enum {
kSRNoFeedbackNoListenModes = 0,
kSRHasFeedbackHasListenModes = 1,
kSRNoFeedbackHasListenModes = 2
};
enum {
kSRDefaultSpeechSource = 0,
kSRLiveDesktopSpeechSource = 'dklv',
kSRCanned22kHzSpeechSource = 'ca22'
};
enum {
kSRNotifyRecognitionBeginning = 1L << 0,
kSRNotifyRecognitionDone = 1L << 1
};
enum {
kAESpeechSuite = 'sprc'
};
enum {
kAESpeechDone = 'srsd',
kAESpeechDetected = 'srbd'
};
enum {
keySRRecognizer = 'krec',
keySRSpeechResult = 'kspr',
keySRSpeechStatus = 'ksst'
};
enum {
typeSRRecognizer = 'trec',
typeSRSpeechResult = 'tspr'
};
enum {
kSRNotificationParam = 'noti',
kSRCallBackParam = 'call',
kSRSearchStatusParam = 'stat',
kSRAutoFinishingParam = 'afin',
kSRForegroundOnly = 'fgon',
kSRBlockBackground = 'blbg',
kSRBlockModally = 'blmd',
kSRWantsResultTextDrawn = 'txfb',
kSRWantsAutoFBGestures = 'dfbr',
kSRSoundInVolume = 'volu',
kSRReadAudioFSSpec = 'aurd',
kSRCancelOnSoundOut = 'caso',
kSRSpeedVsAccuracyParam = 'sped'
};
enum {
kSRUseToggleListen = 0,
kSRUsePushToTalk = 1
};
enum {
kSRListenKeyMode = 'lkmd',
kSRListenKeyCombo = 'lkey',
kSRListenKeyName = 'lnam',
kSRKeyWord = 'kwrd',
kSRKeyExpected = 'kexp'
};
enum {
kSRIdleRecognizer = 1L << 0,
kSRSearchInProgress = 1L << 1,
kSRSearchWaitForAllClients = 1L << 2,
kSRMustCancelSearch = 1L << 3,
kSRPendingSearch = 1L << 4
};
enum {
kSRTEXTFormat = 'TEXT',
kSRPhraseFormat = 'lmph',
kSRPathFormat = 'lmpt',
kSRLanguageModelFormat = 'lmfm'
};
enum {
kSRSpelling = 'spel',
kSRLMObjType = 'lmtp',
kSRRefCon = 'refc',
kSROptional = 'optl',
kSREnabled = 'enbl',
kSRRepeatable = 'rptb',
kSRRejectable = 'rjbl',
kSRRejectionLevel = 'rjct'
};
enum {
kSRLanguageModelType = 'lmob',
kSRPathType = 'path',
kSRPhraseType = 'phra',
kSRWordType = 'word'
};
enum {
kSRDefaultRejectionLevel = 50
};
# 331 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SROpenRecognitionSystem(
SRRecognitionSystem * system,
OSType systemID) ;
# 345 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRCloseRecognitionSystem(SRRecognitionSystem system) ;
# 358 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRSetProperty(
SRSpeechObject srObject,
OSType selector,
const void * property,
Size propertyLen) ;
# 374 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRGetProperty(
SRSpeechObject srObject,
OSType selector,
void * property,
Size * propertyLen) ;
# 391 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRReleaseObject(SRSpeechObject srObject) ;
# 403 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRGetReference(
SRSpeechObject srObject,
SRSpeechObject * newObjectRef) ;
# 418 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewRecognizer(
SRRecognitionSystem system,
SRRecognizer * recognizer,
OSType sourceID) ;
# 433 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRStartListening(SRRecognizer recognizer) ;
# 445 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRStopListening(SRRecognizer recognizer) ;
# 457 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRSetLanguageModel(
SRRecognizer recognizer,
SRLanguageModel languageModel) ;
# 471 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRGetLanguageModel(
SRRecognizer recognizer,
SRLanguageModel * languageModel) ;
# 485 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRContinueRecognition(SRRecognizer recognizer) ;
# 497 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRCancelRecognition(SRRecognizer recognizer) ;
# 509 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRIdle(void) ;
# 522 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewLanguageModel(
SRRecognitionSystem system,
SRLanguageModel * model,
const void * name,
SInt32 nameLength) ;
# 538 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewPath(
SRRecognitionSystem system,
SRPath * path) ;
# 552 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewPhrase(
SRRecognitionSystem system,
SRPhrase * phrase,
const void * text,
SInt32 textLength) ;
# 568 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewWord(
SRRecognitionSystem system,
SRWord * word,
const void * text,
SInt32 textLength) ;
# 585 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRPutLanguageObjectIntoHandle(
SRLanguageObject languageObject,
Handle lobjHandle) ;
# 599 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRPutLanguageObjectIntoDataFile(
SRLanguageObject languageObject,
short fRefNum) ;
# 613 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewLanguageObjectFromHandle(
SRRecognitionSystem system,
SRLanguageObject * languageObject,
Handle lObjHandle) ;
# 628 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRNewLanguageObjectFromDataFile(
SRRecognitionSystem system,
SRLanguageObject * languageObject,
short fRefNum) ;
# 643 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SREmptyLanguageObject(SRLanguageObject languageObject) ;
# 655 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRChangeLanguageObject(
SRLanguageObject languageObject,
const void * text,
SInt32 textLength) ;
# 670 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRAddLanguageObject(
SRLanguageObject base,
SRLanguageObject addon) ;
# 684 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRAddText(
SRLanguageObject base,
const void * text,
SInt32 textLength,
SRefCon refCon) ;
# 700 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRRemoveLanguageObject(
SRLanguageObject base,
SRLanguageObject toRemove) ;
# 715 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRCountItems(
SRSpeechObject container,
long * count) ;
# 729 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRGetIndexedItem(
SRSpeechObject container,
SRSpeechObject * item,
long index) ;
# 744 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRSetIndexedItem(
SRSpeechObject container,
SRSpeechObject item,
long index) ;
# 759 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRRemoveIndexedItem(
SRSpeechObject container,
long index) ;
# 774 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRDrawText(
SRRecognizer recognizer,
const void * dispText,
SInt32 dispLength) ;
# 789 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRDrawRecognizedText(
SRRecognizer recognizer,
const void * dispText,
SInt32 dispLength) ;
# 804 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRSpeakText(
SRRecognizer recognizer,
const void * speakText,
SInt32 speakLength) ;
# 819 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRSpeakAndDrawText(
SRRecognizer recognizer,
const void * text,
SInt32 textLength) ;
# 834 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRStopSpeech(SRRecognizer recognizer) ;
# 846 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern Boolean
SRSpeechBusy(SRRecognizer recognizer) ;
# 858 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRProcessBegin(
SRRecognizer recognizer,
Boolean failed) ;
# 872 "/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h" 3
extern OSErr
SRProcessEnd(
SRRecognizer recognizer,
Boolean failed) ;
#pragma pack(pop)
# 64 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecurityHI.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecurityHI.h" 3
#define __SECURITYHI__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
#define __KEYCHAINHI__
# 43 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCAddAppleSharePassword(
AFPServerSignature * serverSignature,
StringPtr serverAddress,
StringPtr serverName,
StringPtr volumeName,
StringPtr accountName,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 63 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCAddInternetPassword(
StringPtr serverName,
StringPtr securityDomain,
StringPtr accountName,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCAddInternetPasswordWithPath(
StringPtr serverName,
StringPtr securityDomain,
StringPtr accountName,
StringPtr path,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 106 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCAddGenericPassword(
StringPtr serviceName,
StringPtr accountName,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 124 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCAddItem(KCItemRef item) ;
# 137 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCUnlock(
KCRef keychain,
StringPtr password) ;
# 151 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCCreateKeychain(
StringPtr password,
KCRef * keychain) ;
# 165 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
KCChangeSettings(KCRef keychain) ;
# 177 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kcunlock(
KCRef keychain,
const char * password) ;
# 191 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kccreatekeychain(
const char * password,
KCRef * keychain) ;
# 205 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kcaddapplesharepassword(
AFPServerSignature * serverSignature,
const char * serverAddress,
const char * serverName,
const char * volumeName,
const char * accountName,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 225 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kcaddinternetpassword(
const char * serverName,
const char * securityDomain,
const char * accountName,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 246 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kcaddinternetpasswordwithpath(
const char * serverName,
const char * securityDomain,
const char * accountName,
const char * path,
UInt16 port,
OSType protocol,
OSType authType,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 268 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/KeychainHI.h" 3
extern OSStatus
kcaddgenericpassword(
const char * serviceName,
const char * accountName,
UInt32 passwordLength,
const void * passwordData,
KCItemRef * item) ;
# 26 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecurityHI.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
#define __URLACCESS__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
#pragma pack(push, 2)
typedef struct OpaqueURLReference* URLReference;
typedef UInt32 URLOpenFlags;
enum {
kURLReplaceExistingFlag = 1 << 0,
kURLBinHexFileFlag = 1 << 1,
kURLExpandFileFlag = 1 << 2,
kURLDisplayProgressFlag = 1 << 3,
kURLDisplayAuthFlag = 1 << 4,
kURLUploadFlag = 1 << 5,
kURLIsDirectoryHintFlag = 1 << 6,
kURLDoNotTryAnonymousFlag = 1 << 7,
kURLDirectoryListingFlag = 1 << 8,
kURLExpandAndVerifyFlag = 1 << 9,
kURLNoAutoRedirectFlag = 1 << 10,
kURLDebinhexOnlyFlag = 1 << 11,
kURLDoNotDeleteOnErrorFlag = 1 << 12,
kURLResumeDownloadFlag = 1 << 13,
kURLReservedFlag = (unsigned long)(1 << 31)
};
typedef UInt32 URLState;
enum {
kURLNullState = 0,
kURLInitiatingState = 1,
kURLLookingUpHostState = 2,
kURLConnectingState = 3,
kURLResourceFoundState = 4,
kURLDownloadingState = 5,
kURLDataAvailableState = 0x10 + kURLDownloadingState,
kURLTransactionCompleteState = 6,
kURLErrorOccurredState = 7,
kURLAbortingState = 8,
kURLCompletedState = 9,
kURLUploadingState = 10
};
typedef UInt32 URLEvent;
enum {
kURLInitiatedEvent = kURLInitiatingState,
kURLResourceFoundEvent = kURLResourceFoundState,
kURLDownloadingEvent = kURLDownloadingState,
kURLAbortInitiatedEvent = kURLAbortingState,
kURLCompletedEvent = kURLCompletedState,
kURLErrorOccurredEvent = kURLErrorOccurredState,
kURLDataAvailableEvent = kURLDataAvailableState,
kURLTransactionCompleteEvent = kURLTransactionCompleteState,
kURLUploadingEvent = kURLUploadingState,
kURLSystemEvent = 29,
kURLPercentEvent = 30,
kURLPeriodicEvent = 31,
kURLPropertyChangedEvent = 32
};
typedef unsigned long URLEventMask;
enum {
kURLInitiatedEventMask = 1 << (kURLInitiatedEvent - 1),
kURLResourceFoundEventMask = 1 << (kURLResourceFoundEvent - 1),
kURLDownloadingMask = 1 << (kURLDownloadingEvent - 1),
kURLUploadingMask = 1 << (kURLUploadingEvent - 1),
kURLAbortInitiatedMask = 1 << (kURLAbortInitiatedEvent - 1),
kURLCompletedEventMask = 1 << (kURLCompletedEvent - 1),
kURLErrorOccurredEventMask = 1 << (kURLErrorOccurredEvent - 1),
kURLDataAvailableEventMask = 1 << (kURLDataAvailableEvent - 1),
kURLTransactionCompleteEventMask = 1 << (kURLTransactionCompleteEvent - 1),
kURLSystemEventMask = 1 << (kURLSystemEvent - 1),
kURLPercentEventMask = 1 << (kURLPercentEvent - 1),
kURLPeriodicEventMask = 1 << (kURLPeriodicEvent - 1),
kURLPropertyChangedEventMask = 1 << (kURLPropertyChangedEvent - 1),
kURLAllBufferEventsMask = kURLDataAvailableEventMask + kURLTransactionCompleteEventMask,
kURLAllNonBufferEventsMask = kURLInitiatedEventMask + kURLDownloadingMask + kURLUploadingMask + kURLAbortInitiatedMask + kURLCompletedEventMask + kURLErrorOccurredEventMask + kURLPercentEventMask + kURLPeriodicEventMask + kURLPropertyChangedEventMask,
kURLAllEventsMask = (long)0xFFFFFFFF
};
struct URLCallbackInfo {
UInt32 version;
URLReference urlRef;
const char * property;
UInt32 currentSize;
EventRecord * systemEvent;
};
typedef struct URLCallbackInfo URLCallbackInfo;
enum {
kUserNameAndPasswordFlag = 0x00000001
};
#define kURLURL "URLString"
#define kURLResourceSize "URLResourceSize"
#define kURLLastModifiedTime "URLLastModifiedTime"
#define kURLMIMEType "URLMIMEType"
#define kURLFileType "URLFileType"
#define kURLFileCreator "URLFileCreator"
#define kURLCharacterSet "URLCharacterSet"
#define kURLResourceName "URLResourceName"
#define kURLHost "URLHost"
#define kURLAuthType "URLAuthType"
#define kURLUserName "URLUserName"
#define kURLPassword "URLPassword"
#define kURLStatusString "URLStatusString"
#define kURLIsSecure "URLIsSecure"
#define kURLCertificate "URLCertificate"
#define kURLTotalItems "URLTotalItems"
#define kURLConnectTimeout "URLConnectTimeout"
#define kURLHTTPRequestMethod "URLHTTPRequestMethod"
#define kURLHTTPRequestHeader "URLHTTPRequestHeader"
#define kURLHTTPRequestBody "URLHTTPRequestBody"
#define kURLHTTPRespHeader "URLHTTPRespHeader"
#define kURLHTTPUserAgent "URLHTTPUserAgent"
#define kURLHTTPRedirectedURL "URLHTTPRedirectedURL"
#define kURLSSLCipherSuite "URLSSLCipherSuite"
# 174 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetURLAccessVersion(UInt32 * returnVers) __attribute__((deprecated));
# 190 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
#define URLAccessAvailable() (true)
typedef OSStatus ( * URLNotifyProcPtr)(void *userContext, URLEvent event, URLCallbackInfo *callbackInfo);
typedef OSStatus ( * URLSystemEventProcPtr)(void *userContext, EventRecord *event);
typedef URLNotifyProcPtr URLNotifyUPP;
typedef URLSystemEventProcPtr URLSystemEventUPP;
# 206 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern URLNotifyUPP
NewURLNotifyUPP(URLNotifyProcPtr userRoutine) __attribute__((deprecated));
# 217 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern URLSystemEventUPP
NewURLSystemEventUPP(URLSystemEventProcPtr userRoutine) __attribute__((deprecated));
# 228 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern void
DisposeURLNotifyUPP(URLNotifyUPP userUPP) __attribute__((deprecated));
# 239 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern void
DisposeURLSystemEventUPP(URLSystemEventUPP userUPP) __attribute__((deprecated));
# 250 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
InvokeURLNotifyUPP(
void * userContext,
URLEvent event,
URLCallbackInfo * callbackInfo,
URLNotifyUPP userUPP) __attribute__((deprecated));
# 265 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
InvokeURLSystemEventUPP(
void * userContext,
EventRecord * event,
URLSystemEventUPP userUPP) __attribute__((deprecated));
# 280 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
#define NewURLNotifyUPP(userRoutine) ((URLNotifyUPP)userRoutine)
#define NewURLSystemEventUPP(userRoutine) ((URLSystemEventUPP)userRoutine)
#define DisposeURLNotifyUPP(userUPP)
#define DisposeURLSystemEventUPP(userUPP)
#define InvokeURLNotifyUPP(userContext,event,callbackInfo,userUPP) (*userUPP)(userContext, event, callbackInfo)
#define InvokeURLSystemEventUPP(userContext,event,userUPP) (*userUPP)(userContext, event)
# 297 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLSimpleDownload(
const char * url,
FSSpec * destination,
Handle destinationHandle,
URLOpenFlags openFlags,
URLSystemEventUPP eventProc,
void * userContext) __attribute__((deprecated));
# 315 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLDownload(
URLReference urlRef,
FSSpec * destination,
Handle destinationHandle,
URLOpenFlags openFlags,
URLSystemEventUPP eventProc,
void * userContext) __attribute__((deprecated));
# 333 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLSimpleUpload(
const char * url,
const FSSpec * source,
URLOpenFlags openFlags,
URLSystemEventUPP eventProc,
void * userContext) __attribute__((deprecated));
# 350 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLUpload(
URLReference urlRef,
const FSSpec * source,
URLOpenFlags openFlags,
URLSystemEventUPP eventProc,
void * userContext) __attribute__((deprecated));
# 367 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLNewReference(
const char * url,
URLReference * urlRef) __attribute__((deprecated));
# 381 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLDisposeReference(URLReference urlRef) __attribute__((deprecated));
# 393 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLOpen(
URLReference urlRef,
FSSpec * fileSpec,
URLOpenFlags openFlags,
URLNotifyUPP notifyProc,
URLEventMask eventRegister,
void * userContext) __attribute__((deprecated));
# 411 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLAbort(URLReference urlRef) __attribute__((deprecated));
# 423 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetDataAvailable(
URLReference urlRef,
Size * dataSize) __attribute__((deprecated));
# 437 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetBuffer(
URLReference urlRef,
void ** buffer,
Size * bufferSize) __attribute__((deprecated));
# 452 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLReleaseBuffer(
URLReference urlRef,
void * buffer) __attribute__((deprecated));
# 466 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetProperty(
URLReference urlRef,
const char * property,
void * propertyBuffer,
Size bufferSize) __attribute__((deprecated));
# 482 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetPropertySize(
URLReference urlRef,
const char * property,
Size * propertySize) __attribute__((deprecated));
# 497 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLSetProperty(
URLReference urlRef,
const char * property,
void * propertyBuffer,
Size bufferSize) __attribute__((deprecated));
# 513 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetCurrentState(
URLReference urlRef,
URLState * state) __attribute__((deprecated));
# 527 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetError(
URLReference urlRef,
OSStatus * urlError) __attribute__((deprecated));
# 541 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLIdle(void) __attribute__((deprecated));
# 553 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/URLAccess.h" 3
extern OSStatus
URLGetFileInfo(
StringPtr fName,
OSType * fType,
OSType * fCreator) __attribute__((deprecated));
#pragma pack(pop)
# 30 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecurityHI.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 1 3
# 36 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
#define __SECCERTIFICATESUPPORT__ 1
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h" 1 3
# 39 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 2 3
# 52 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
enum {
typeSecIdentityRef = 'sidy'
};
# 64 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecChooseIdentity(CFStringRef displayInfo, CFArrayRef identities, SecIdentityRef *identityRef) ;
# 75 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecChooseIdentityAsSheet(WindowRef parentWindow, EventTargetRef inTarget, CFStringRef displayInfo, CFArrayRef identities) ;
# 84 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecDisplayCertificate(SecCertificateRef certificate, CFArrayRef keychainList) ;
# 93 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecDisplayCertificateGroup(const CSSM_CERTGROUP *certificates, CFArrayRef keychainList) ;
# 103 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecEditTrust(CFStringRef displayInfo, SecTrustRef trust) ;
# 114 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h" 3
OSStatus SecEditTrustAsSheet(WindowRef parentWindow, EventTargetRef inTarget, CFStringRef displayInfo, SecTrustRef trust) ;
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecurityHI.h" 2 3
# 68 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
#define __INK__
# 40 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
#pragma pack(push, 2)
# 200 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef struct OpaqueInkTextRef* InkTextRef;
# 222 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef struct OpaqueInkStrokeRef* InkStrokeRef;
# 231 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
struct InkPoint {
HIPoint point;
TabletPointRec tabletPointData;
UInt32 keyModifiers;
};
typedef struct InkPoint InkPoint;
typedef InkPoint * InkPointPtr;
# 262 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef CFIndex InkAlternateCount;
# 274 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef FourCharCode InkUserWritingModeType;
enum {
kInkWriteNowhere = 'nowh',
kInkWriteAnywhere = 'anyw',
kInkWriteInInkAwareAppsOnly = 'iapp'
};
# 289 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef FourCharCode InkApplicationWritingModeType;
enum {
kInkWriteNowhereInApp = 'nowa',
kInkWriteAnywhereInApp = 'anya'
};
# 303 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef UInt32 InkDrawingModeType;
enum {
kInkDrawNothing = 0,
kInkDrawInkOnly = 1,
kInkDrawInkAndWritingGuides = 2
};
# 318 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef UInt32 InkTextDrawFlagsType;
enum {
kInkTextDrawDefault = 0,
kInkTextDrawIgnorePressure = 1,
kInkTextDrawHonorContext = 1 << 1
};
# 361 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef UInt32 InkTerminationType;
enum {
kInkTerminationNone = 0,
kInkTerminationTimeOut = 1,
# 387 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
kInkTerminationOutOfProximity = 1 << 1,
kInkTerminationRecognizerHorizontalBreak = 1 << 2,
kInkTerminationRecognizerVerticalBreak = 1 << 3,
kInkTerminationStroke = 1 << 4,
kInkTerminationDefault = 0x0F,
# 411 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
kInkTerminationAll = (UInt32)0xFFFFFFFF
};
# 427 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef UInt32 InkSourceType;
enum {
kInkSourceUser = 1,
kInkSourceApplication = 2
};
# 454 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef UInt32 InkRecognitionType;
enum {
kInkRecognitionNone = 0,
kInkRecognitionText = 1,
kInkRecognitionGesture = 1 << 1,
kInkRecognitionDefault = 3
};
# 546 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
typedef FourCharCode InkGestureKind;
enum {
kInkGestureUndo = 'undo',
kInkGestureCut = 'cut ',
kInkGestureCopy = 'copy',
kInkGesturePaste = 'past',
kInkGestureClear = 'clea',
kInkGestureSelectAll = 'sall',
kInkGestureEscape = 'not!',
kInkGestureTab = 'tab ',
kInkGestureLeftSpace = 'lspc',
kInkGestureRightSpace = 'rspc',
# 587 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
kInkGestureLeftReturn = 'lrtn',
kInkGestureRightReturn = 'rrtn',
# 599 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
kInkGestureDelete = 'del ',
# 623 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
kInkGestureJoin = 'join'
};
enum {
kInkAlternateCommand = 'inka',
kInkSeparatorCommand = 'inks',
kInkDrawingCommand = 'inkd'
};
# 671 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
enum {
kInkTabletPointerUnknown = 0 + 0,
kInkTabletPointerPen = 1 + 0,
kInkTabletPointerCursor = 2 + 0,
kInkTabletPointerEraser = 3 + 0
};
# 714 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
enum {
kInkPenTipButtonMask = 0x0001 + 0,
kInkPenLowerSideButtonMask = 0x0002 + 0,
kInkPenUpperSideButtonMask = 0x0004 + 0
};
# 775 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern InkUserWritingModeType
InkUserWritingMode(void) ;
# 809 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkSetApplicationWritingMode(InkApplicationWritingModeType iWriteWhere) ;
# 836 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkSetApplicationRecognitionMode(InkRecognitionType iRecognitionType) ;
# 898 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkSetPhraseTerminationMode(
InkSourceType iSource,
InkTerminationType iAllowedTerminationTypes) ;
# 933 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern Boolean
InkIsPhraseInProgress(void) ;
#define InkIsInking InkIsPhraseInProgress
# 969 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkSetDrawingMode(InkDrawingModeType iDrawingMode) ;
# 1013 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkAddStrokeToCurrentPhrase(
unsigned long iPointCount,
InkPoint * iPointArray) ;
# 1049 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkTerminateCurrentPhrase(InkSourceType iSource) ;
# 1077 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFIndex
InkTextAlternatesCount(InkTextRef iTextRef) ;
# 1109 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFStringRef
InkTextCreateCFString(
InkTextRef iTextRef,
CFIndex iAlternateIndex) ;
# 1238 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern UInt32
InkTextKeyModifiers(InkTextRef iTextRef) ;
# 1268 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern InkTextRef
InkTextCopy(InkTextRef iTextRef) ;
# 1295 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern HIRect
InkTextBounds(InkTextRef iTextRef) ;
# 1334 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern void
InkTextDraw(
InkTextRef iTextRef,
CGContextRef iContext,
const CGRect * iBounds,
InkTextDrawFlagsType iFlags) ;
# 1380 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFIndex
InkTextFlatten(
InkTextRef iTextRef,
CFMutableDataRef ioDataRef,
CFIndex iIndex) ;
# 1419 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern InkTextRef
InkTextCreateFromCFData(
CFDataRef iFlattenedInkText,
CFIndex iIndex) ;
# 1446 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFTypeID
InkTextGetTypeID(void) ;
# 1475 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFIndex
InkTextGetStrokeCount(InkTextRef iTextRef) ;
# 1520 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern InkStrokeRef
InkTextGetStroke(
InkTextRef iTextRef,
CFIndex iStrokeIndex) ;
# 1554 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFIndex
InkStrokeGetPointCount(InkStrokeRef iStrokeRef) ;
# 1591 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern InkPoint *
InkStrokeGetPoints(
InkStrokeRef iStrokeRef,
InkPoint * oPointBuffer) ;
# 1618 "/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Headers/Ink.h" 3
extern CFTypeID
InkStrokeGetTypeID(void) ;
#pragma pack(pop)
# 72 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/Help.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/Help.h" 3
#define __HELP__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 1 3
# 17 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
#define __APPLEHELP__
# 35 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
enum {
kAHInternalErr = -10790,
kAHInternetConfigPrefErr = -10791
};
typedef SInt16 AHTOCType;
enum {
kAHTOCTypeUser = 0,
kAHTOCTypeDeveloper = 1
};
# 74 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
extern OSStatus
AHSearch(
CFStringRef bookname,
CFStringRef query) ;
# 104 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
extern OSStatus
AHGotoMainTOC(AHTOCType toctype) __attribute__((deprecated));
# 144 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
extern OSStatus
AHGotoPage(
CFStringRef bookname,
CFStringRef path,
CFStringRef anchor) ;
# 180 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
extern OSStatus
AHLookupAnchor(
CFStringRef bookname,
CFStringRef anchor) ;
# 214 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h" 3
extern OSStatus
AHRegisterHelpBook(const FSRef * appBundleRef) ;
# 26 "/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/Help.h" 2 3
# 76 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h" 1 3
# 10 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h" 3
#define __IMAGECAPTURE__
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 1 3
# 9 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
#define __ICAAPPLICATION__
# 34 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
#pragma pack(push, 2)
# 46 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef OSErr ICAError;
# 56 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAPBVersion = 0x00010000
};
# 110 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICACommunicationErr = -9900,
kICADeviceNotFoundErr = -9901,
kICADeviceNotOpenErr = -9902,
kICAFileCorruptedErr = -9903,
kICAIOPendingErr = -9904,
kICAInvalidObjectErr = -9905,
kICAInvalidPropertyErr = -9906,
kICAIndexOutOfRangeErr = -9907,
kICAPropertyTypeNotFoundErr = -9908,
kICACannotYieldDevice = -9909,
kICADataTypeNotFoundErr = -9910,
kICADeviceMemoryAllocationErr = -9911,
kICADeviceInternalErr = -9912,
kICADeviceInvalidParamErr = -9913,
kICADeviceAlreadyOpenErr = -9914,
kICADeviceLocationIDNotFoundErr = -9915,
kICADeviceGUIDNotFoundErr = -9916,
kICADeviceIOServicePathNotFoundErr = -9917,
kICADeviceUnsupportedErr = -9918,
kICAFrameworkInternalErr = -9919,
kICAExtensionInternalErr = -9920,
kICAInvalidSessionErr = -9921
};
# 172 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICADevice = 'icdv',
kICADeviceCamera = 'cmra',
kICADeviceScanner = 'scan',
kICADeviceMFP = 'mfp ',
kICADevicePhone = 'phon',
kICADevicePDA = 'pda ',
kICADeviceOther = 'doth',
kICAList = 'objl',
kICADirectory = 'dire',
kICAFile = 'file',
kICAFileImage = 'imag',
kICAFileMovie = 'moov',
kICAFileAudio = 'audo',
kICAFileFirmware = 'firm',
kICAFileOther = 'othe'
};
# 233 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAProperty = 'prop',
kICAPropertyImageWidth = '0100',
kICAPropertyImageHeight = '0101',
kICAPropertyImageBitDepth = '0102',
kICAPropertyImageDPI = '011A',
kICAPropertyImageExposureTime = '829A',
kICAPropertyImageFNumber = '829D',
kICAPropertyImageDateOriginal = '9003',
kICAPropertyImageDateDigitized = '9004',
kICAPropertyImageShutterSpeed = '9201',
kICAPropertyImageAperture = '9202',
kICAPropertyImageFlash = '9209',
kICAPropertyColorSpace = 'A001',
kICAPropertyImageFilename = 'ifil',
kICAPropertyImageSize = 'isiz',
kICAPropertyImageData = 'idat',
kICAPropertyImageThumbnail = 'thum',
kICAPropertyColorSyncProfile = 'prof'
};
# 287 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICATypeUInt8 = 'ui08',
kICATypeUInt16 = 'ui16',
kICATypeUInt32 = 'ui32',
kICATypeUInt64 = 'ui64',
kICATypeSInt16 = 'si16',
kICATypeSInt32 = 'si32',
kICATypeSInt64 = 'si64',
kICATypeFloat = 'floa',
kICATypeFixed = 'sing',
kICATypeBoolean = 'bool',
kICATypeString = 'TEXT',
kICATypeData = 'data',
kICATypeThumbnail = 'thum'
};
# 314 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAFlagReadWriteAccess = 1L << 0,
kICAFlagReadAccess = 1L << 1
};
# 361 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAEventCancelTransaction = 'ecnt',
kICAEventObjectAdded = 'eoba',
kICAEventObjectRemoved = 'eobr',
kICAEventStoreAdded = 'esta',
kICAEventStoreRemoved = 'estr',
kICAEventDeviceAdded = 'edea',
kICAEventDeviceRemoved = 'eder',
kICAEventDevicePropChanged = 'edpc',
kICAEventObjectInfoChanged = 'eoic',
kICAEventDeviceInfoChanged = 'edic',
kICAEventRequestObjectTransfer = 'erot',
kICAEventStoreFull = 'estf',
kICAEventDeviceReset = 'edvr',
kICAEventStorageInfoChanged = 'esic',
kICAEventCaptureComplete = 'ecpc',
kICAEventUnreportedStatus = 'eurs',
kICAExtendedNotificationPB = 'extd',
kExtendedNotificationPB = 'extd'
};
# 398 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAEventClassPTPStandard = 'PTPs',
kICAEventClassPTPVendor = 'PTPv',
kEventClassPTPStandard = 'PTPs',
kEventClassPTPVendor = 'PTPv'
};
# 420 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAButtonScan = 'scan',
kICAButtonCopy = 'copy',
kICAButtonEMail = 'mail',
kICAButtonWeb = 'web '
};
# 440 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICACameraPassThruSend = 0,
kICACameraPassThruReceive = 1,
kICACameraPassThruNotUsed = 2
};
# 469 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAPTPPassThroughPB
{
UInt32 commandCode;
UInt32 resultCode;
UInt32 numOfInputParams;
UInt32 numOfOutputParams;
UInt32 params[4];
UInt32 dataUsageMode;
UInt32 flags;
UInt32 dataSize;
UInt8 data[1];
} ICAPTPPassThroughPB;
# 496 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAPTPEventDataset
{
UInt32 dataLength;
UInt16 containerType;
UInt16 eventCode;
UInt32 transactionID;
UInt32 params[3];
} ICAPTPEventDataset;
#pragma mark -
#pragma mark TODO: document the data types of values for these keys
extern const CFStringRef kICADevicesArrayKey ;
extern const CFStringRef kICAObjectKey ;
extern const CFStringRef kICAObjectNameKey ;
extern const CFStringRef kICAUSBVendorIDKey ;
extern const CFStringRef kICAUSBProductIDKey ;
extern const CFStringRef kICADeviceTypeKey ;
extern const CFStringRef kICAExecutableArchitectureKey ;
extern const CFStringRef kICARemoteDeviceKey ;
extern const CFStringRef kICADeviceSharedKey ;
extern const CFStringRef kICADeviceWebSharedKey ;
extern const CFStringRef kICADeviceUsedKey ;
extern const CFStringRef kICABonjourServiceTypeKey ;
extern const CFStringRef kICABonjourServiceNameKey ;
extern const CFStringRef kICABonjourTXTRecordKey ;
extern const CFStringRef kICADeviceCapabilitiesKey ;
extern const CFStringRef kICALockStatusKey ;
extern const CFStringRef kICADataPropertyKey ;
extern const CFStringRef kICADataTypeKey ;
extern const CFStringRef kICADataSizeKey ;
extern const CFStringRef kICAThumbnailPropertyKey ;
extern const CFStringRef kICAThumbnailSizeKey ;
extern const CFStringRef kICARawKey ;
extern const CFStringRef kICAMediaHeightKey ;
extern const CFStringRef kICAMediaWidthKey ;
extern const CFStringRef kICACreationDateStringKey ;
extern const CFStringRef kICAModificationDateStringKey ;
extern const CFStringRef kMetaDataDictionaryKey ;
extern const CFStringRef kICAMediaDurationInSecondsKey ;
extern const CFStringRef kICADeviceTypeCamera ;
extern const CFStringRef kICADeviceTypeScanner ;
# 555 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern const CFStringRef kICAUSBTransportType ;
extern const CFStringRef kICAFireWireTransportType ;
extern const CFStringRef kICABluetoothTransportType ;
extern const CFStringRef kICATCPIPTransportType ;
extern const CFStringRef kICASCSITransportType ;
extern const CFStringRef kICATWAINTransportType ;
extern const CFStringRef kICAManualConnectDeviceRefKey __attribute__((deprecated));
extern const CFStringRef kICADeviceBrowserDeviceRefKey ;
extern const CFStringRef kICADeviceModulePathKey ;
extern const CFStringRef kICADeviceIconPathKey ;
extern const CFStringRef kICATransportTypeKey ;
extern const CFStringRef kICABluetoothAddressKey ;
extern const CFStringRef kICAUSBLocationIDKey ;
extern const CFStringRef kICAFireWireGUIDKey ;
extern const CFStringRef kICAIOServicePathKey ;
extern const CFStringRef kICAIPAddressKey ;
extern const CFStringRef kICAIPPortKey ;
extern const CFStringRef kICAIPNameKey ;
extern const CFStringRef kICAIPGUIDKey ;
extern const CFStringRef kICATWAINDSPathKey ;
# 590 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAHeader {
ICAError err;
unsigned long refcon;
} ICAHeader;
typedef void ( * ICACompletion)(ICAHeader* pb);
typedef Boolean ( * ICAImportFilterProc)(CFDictionaryRef imageInfo, unsigned long refcon);
typedef void ( * ICANotificationProc)(CFStringRef notificationType, CFDictionaryRef notificationDictionary);
typedef UInt32 ICAObject;
typedef UInt32 ICAProperty;
typedef UInt32 ICAConnectionID;
typedef UInt32 ICASessionID;
typedef ICASessionID ICAScannerSessionID;
typedef UInt32 ICAEventDataCookie;
#pragma mark -
#pragma mark General APIs
# 624 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAAllowMultipleImages = 0x00000001,
kICADownloadAndReturnPathArray = 0x00000002
};
# 645 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAImportImagePB {
ICAHeader header;
ICAObject deviceObject;
UInt32 flags;
CFArrayRef supportedFileTypes;
ICAImportFilterProc filterProc;
CFArrayRef* importedImages;
} ICAImportImagePB;
# 696 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAImportImage(
ICAImportImagePB* pb,
ICACompletion completion
) ;
# 718 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAShowDeviceBrowser(
CFDictionaryRef options
) ;
# 753 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef void ( * ICANotification)(CFStringRef notificationType, CFDictionaryRef notificationDictionary);
extern const CFStringRef kICANotificationTypeObjectAdded ;
extern const CFStringRef kICANotificationTypeObjectRemoved ;
extern const CFStringRef kICANotificationTypeObjectInfoChanged ;
extern const CFStringRef kICANotificationTypeStoreAdded ;
extern const CFStringRef kICANotificationTypeStoreRemoved ;
extern const CFStringRef kICANotificationTypeStoreFull ;
extern const CFStringRef kICANotificationTypeStoreInfoChanged ;
extern const CFStringRef kICANotificationTypeDeviceAdded ;
extern const CFStringRef kICANotificationTypeDeviceRemoved ;
extern const CFStringRef kICANotificationTypeDeviceInfoChanged ;
extern const CFStringRef kICANotificationTypeDevicePropertyChanged ;
extern const CFStringRef kICANotificationTypeDeviceWasReset ;
extern const CFStringRef kICANotificationTypeCaptureComplete ;
extern const CFStringRef kICANotificationTypeRequestObjectTransfer ;
extern const CFStringRef kICANotificationTypeTransactionCanceled ;
extern const CFStringRef kICANotificationTypeUnreportedStatus ;
extern const CFStringRef kICANotificationTypeProprietary ;
extern const CFStringRef kICANotificationTypeDeviceConnectionProgress ;
extern const CFStringRef kICANotificationTypeDownloadProgressStatus ;
extern const CFStringRef kICANotificationTypeScanProgressStatus ;
extern const CFStringRef kICANotificationTypeScannerSessionClosed ;
extern const CFStringRef kICANotificationTypeScannerScanDone ;
extern const CFStringRef kICANotificationTypeScannerPageDone ;
extern const CFStringRef kICANotificationTypeScannerButtonPressed ;
extern const CFStringRef kICAErrorKey ;
extern const CFStringRef kICARefconKey ;
extern const CFStringRef kICANotificationICAObjectKey ;
extern const CFStringRef kICANotificationDeviceICAObjectKey ;
extern const CFStringRef kICANotificationDeviceListICAObjectKey ;
extern const CFStringRef kICANotificationClassKey ;
extern const CFStringRef kICANotificationTypeKey ;
extern const CFStringRef kICANotificationRawEventKey ;
extern const CFStringRef kICANotificationDataKey ;
extern const CFStringRef kICANotificationDataSizeKey ;
extern const CFStringRef kICANotificationDataCookieKey ;
extern const CFStringRef kICANotificationImageKey ;
extern const CFStringRef kICANotificationImageWidthKey ;
extern const CFStringRef kICANotificationImageHeightKey ;
extern const CFStringRef kICANotificationImageBytesPerRowKey ;
extern const CFStringRef kICANotificationImageStartRowKey ;
extern const CFStringRef kICANotificationImageNumberOfRowsKey ;
extern const CFStringRef kICANotificationImageDataKey ;
extern const CFStringRef kICANotificationImageDataSizeKey ;
extern const CFStringRef kICANotificationDataIsBigEndianKey ;
extern const CFStringRef kICANotificationScannerDocumentNameKey ;
extern const CFStringRef kICANotificationScannerButtonTypeKey ;
extern const CFStringRef kICANotificationNumerOfImagesRemainingKey ;
extern const CFStringRef kICANotificationPercentDownloadedKey ;
extern const CFStringRef kICANotificationClassPTPStandard ;
extern const CFStringRef kICANotificationClassPTPVendor ;
extern const CFStringRef kICANotificationClassProprietary ;
extern const CFStringRef kICADevicePropUndefined ;
extern const CFStringRef kICADevicePropBatteryLevel ;
extern const CFStringRef kICADevicePropFunctionalMode ;
extern const CFStringRef kICADevicePropImageSize ;
extern const CFStringRef kICADevicePropCompressionSetting ;
extern const CFStringRef kICADevicePropWhiteBalance ;
extern const CFStringRef kICADevicePropRGBGain ;
extern const CFStringRef kICADevicePropFNumber ;
extern const CFStringRef kICADevicePropFocalLength ;
extern const CFStringRef kICADevicePropFocusDistance ;
extern const CFStringRef kICADevicePropFocusMode ;
extern const CFStringRef kICADevicePropExposureMeteringMode ;
extern const CFStringRef kICADevicePropFlashMode ;
extern const CFStringRef kICADevicePropExposureTime ;
extern const CFStringRef kICADevicePropExposureProgramMode ;
extern const CFStringRef kICADevicePropExposureIndex ;
extern const CFStringRef kICADevicePropExposureBiasCompensation ;
extern const CFStringRef kICADevicePropDateTime ;
extern const CFStringRef kICADevicePropCaptureDelay ;
extern const CFStringRef kICADevicePropStillCaptureMode ;
extern const CFStringRef kICADevicePropContrast ;
extern const CFStringRef kICADevicePropSharpness ;
extern const CFStringRef kICADevicePropDigitalZoom ;
extern const CFStringRef kICADevicePropEffectMode ;
extern const CFStringRef kICADevicePropBurstNumber ;
extern const CFStringRef kICADevicePropBurstInterval ;
extern const CFStringRef kICADevicePropTimelapseNumber ;
extern const CFStringRef kICADevicePropTimelapseInterval ;
extern const CFStringRef kICADevicePropFocusMeteringMode ;
extern const CFStringRef kICADevicePropUploadURL ;
extern const CFStringRef kICADevicePropArtist ;
extern const CFStringRef kICADevicePropCopyrightInfo ;
# 879 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICARegisterForEventNotificationPB {
ICAHeader header;
ICAObject objectOfInterest;
CFArrayRef eventsOfInterest;
ICANotification notificationProc;
CFDictionaryRef options;
} ICARegisterForEventNotificationPB;
# 900 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICARegisterForEventNotification(
ICARegisterForEventNotificationPB* params,
ICACompletion completionProc
) ;
typedef struct ICASendNotificationPB
{
ICAHeader header;
CFMutableDictionaryRef notificationDictionary;
UInt32 replyCode;
} ICASendNotificationPB;
extern ICAError ICASendNotification( ICASendNotificationPB* pb );
extern ICAError ICASendNotificationAndWaitForReply( ICASendNotificationPB* pb );
#pragma mark -
#pragma mark Object related APIs
# 930 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetDeviceListPB {
ICAHeader header;
ICAObject object;
} ICAGetDeviceListPB;
# 971 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetDeviceList(
ICAGetDeviceListPB* pb,
ICACompletion completion
) ;
# 987 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICACopyObjectPropertyDictionaryPB {
ICAHeader header;
ICAObject object;
CFDictionaryRef* theDict;
} ICACopyObjectPropertyDictionaryPB;
# 1033 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICACopyObjectPropertyDictionary(
ICACopyObjectPropertyDictionaryPB* pb,
ICACompletion completion
) ;
# 1053 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAThumbnailFormatICA = 'ica ',
kICAThumbnailFormatJPEG = 'jpeg',
kICAThumbnailFormatTIFF = 'tiff',
kICAThumbnailFormatPNG = 'png '
};
# 1072 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICACopyObjectThumbnailPB {
ICAHeader header;
ICAObject object;
OSType thumbnailFormat;
CFDataRef* thumbnailData;
} ICACopyObjectThumbnailPB;
# 1120 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICACopyObjectThumbnail(
ICACopyObjectThumbnailPB* pb,
ICACompletion completion
) ;
# 1141 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICACopyObjectDataPB {
ICAHeader header;
ICAObject object;
size_t startByte;
size_t requestedSize;
CFDataRef* data;
} ICACopyObjectDataPB;
# 1163 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICACopyObjectData(
ICACopyObjectDataPB* params,
ICACompletion completionProc
) ;
# 1183 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAMessage {
OSType messageType;
UInt32 startByte;
void * dataPtr;
UInt32 dataSize;
OSType dataType;
} ICAMessage;
# 1214 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAMessageConnect = 'open',
kICAMessageDisconnect = 'clos',
kICAMessageReset = 'rese',
kICAMessageCheckDevice = 'chkd',
kICAMessageCameraReadClock = 'rclk',
kICAMessageGetLastButtonPressed = 'btn?',
kMessageGetEventData = 'mged',
kICAMessageGetEventData = 'mged',
kICAMessageDeviceYield = 'yiel',
kICAMessageCameraPassThrough = 'pass'
};
# 1239 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAObjectSendMessagePB {
ICAHeader header;
ICAObject object;
ICAMessage message;
UInt32 result;
} ICAObjectSendMessagePB;
# 1259 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAObjectSendMessage(
ICAObjectSendMessagePB* pb,
ICACompletion completion
) ;
# 1285 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kDeleteAfterDownload = 0x00000001,
kCreateCustomIcon = 0x00000002,
kAddMetaDataToFinderComment = 0x00000004,
kAdjustCreationDate = 0x00000008,
kSetFileTypeAndCreator = 0x00000010,
kRotateImage = 0x00000040,
kDontEmbedColorSyncProfile = 0x00000080
};
# 1316 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICADownloadFilePB {
ICAHeader header;
ICAObject object;
FSRef * dirFSRef;
UInt32 flags;
OSType fileType;
OSType fileCreator;
Fixed rotationAngle;
FSRef * fileFSRef;
} ICADownloadFilePB;
# 1371 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICADownloadFile(
ICADownloadFilePB* pb,
ICACompletion completion
) ;
# 1387 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAUploadFileAsIs = 0x00000000,
kICAUploadFileScaleToFit = 0x00000001
};
# 1404 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAUploadFilePB {
ICAHeader header;
ICAObject parentObject;
FSRef* fileFSRef;
UInt32 flags;
} ICAUploadFilePB;
# 1452 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAUploadFile(
ICAUploadFilePB* pb,
ICACompletion completion
) ;
#pragma mark -
#pragma mark Device related APIs
# 1487 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICALoadDeviceModulePB {
ICAHeader header;
CFDictionaryRef paramDictionary;
} ICALoadDeviceModulePB;
# 1505 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICALoadDeviceModule(
ICALoadDeviceModulePB* pb,
ICACompletion completion
) ;
# 1519 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAUnloadDeviceModulePB {
ICAHeader header;
ICAObject deviceObject;
} ICAUnloadDeviceModulePB;
# 1537 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAUnloadDeviceModule(
ICAUnloadDeviceModulePB* pb,
ICACompletion completion
) ;
# 1553 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAOpenSessionPB {
ICAHeader header;
ICAObject deviceObject;
ICASessionID sessionID;
} ICAOpenSessionPB;
# 1572 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAOpenSession(
ICAOpenSessionPB* pb,
ICACompletion completion
) ;
# 1586 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICACloseSessionPB {
ICAHeader header;
ICASessionID sessionID;
} ICACloseSessionPB;
# 1604 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICACloseSession(
ICACloseSessionPB* pb,
ICACompletion completion
) ;
# 1620 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerOpenSessionPB {
ICAHeader header;
ICAObject object;
ICAScannerSessionID sessionID;
} ICAScannerOpenSessionPB;
# 1639 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerOpenSession(
ICAScannerOpenSessionPB* pb,
ICACompletion completion
) ;
# 1653 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerCloseSessionPB {
ICAHeader header;
ICAScannerSessionID sessionID;
} ICAScannerCloseSessionPB;
# 1671 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerCloseSession(
ICAScannerCloseSessionPB* pb,
ICACompletion completion
) ;
# 1685 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerInitializePB {
ICAHeader header;
ICAScannerSessionID sessionID;
} ICAScannerInitializePB;
# 1703 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerInitialize(
ICAScannerInitializePB* pb,
ICACompletion completion
) ;
# 1719 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerGetParametersPB {
ICAHeader header;
ICAScannerSessionID sessionID;
CFMutableDictionaryRef theDict;
} ICAScannerGetParametersPB;
# 1738 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerGetParameters(
ICAScannerGetParametersPB* pb,
ICACompletion completion
) ;
# 1754 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerSetParametersPB {
ICAHeader header;
ICAScannerSessionID sessionID;
CFMutableDictionaryRef theDict;
} ICAScannerSetParametersPB;
# 1773 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerSetParameters(
ICAScannerSetParametersPB* pb,
ICACompletion completion
) ;
# 1789 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerStatusPB {
ICAHeader header;
ICAScannerSessionID sessionID;
UInt32 status;
} ICAScannerStatusPB;
# 1808 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerStatus(
ICAScannerStatusPB* pb,
ICACompletion completion
) ;
# 1822 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAScannerStartPB {
ICAHeader header;
ICAScannerSessionID sessionID;
} ICAScannerStartPB;
# 1840 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAScannerStart(
ICAScannerStartPB* pb,
ICACompletion completion
) ;
#pragma mark -
#pragma mark Deprecated APIs
# 1863 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAThumbnail {
UInt32 width;
UInt32 height;
UInt32 dataSize;
UInt8 data[1];
} ICAThumbnail __attribute__((deprecated));
# 1880 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetChildCountPB {
ICAHeader header;
ICAObject object;
UInt32 count;
} ICAGetChildCountPB __attribute__((deprecated));
# 1918 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetChildCount(
ICAGetChildCountPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 1932 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAObjectInfo {
OSType objectType;
OSType objectSubtype;
} ICAObjectInfo;
# 1950 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetNthChildPB {
ICAHeader header;
ICAObject parentObject;
UInt32 index;
ICAObject childObject;
ICAObjectInfo childInfo;
} ICAGetNthChildPB __attribute__((deprecated));
# 1999 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetNthChild(
ICAGetNthChildPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2015 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetObjectInfoPB {
ICAHeader header;
ICAObject object;
ICAObjectInfo objectInfo;
} ICAGetObjectInfoPB __attribute__((deprecated));
# 2034 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetObjectInfo(
ICAGetObjectInfoPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2052 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetParentOfObjectPB {
ICAHeader header;
ICAObject object;
ICAObject parentObject;
ICAObjectInfo parentInfo;
} ICAGetParentOfObjectPB __attribute__((deprecated));
# 2072 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetParentOfObject(
ICAGetParentOfObjectPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2090 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetRootOfObjectPB {
ICAHeader header;
ICAObject object;
ICAObject rootObject;
ICAObjectInfo rootInfo;
} ICAGetRootOfObjectPB __attribute__((deprecated));
# 2110 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetRootOfObject(
ICAGetRootOfObjectPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2126 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetObjectRefConPB {
ICAHeader header;
ICAObject object;
unsigned long objectRefCon;
} ICAGetObjectRefConPB __attribute__((deprecated));
# 2145 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetObjectRefCon(
ICAGetObjectRefConPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2161 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICASetObjectRefConPB {
ICAHeader header;
ICAObject object;
unsigned long objectRefCon;
} ICASetObjectRefConPB __attribute__((deprecated));
# 2180 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICASetObjectRefCon(
ICASetObjectRefConPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2196 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetPropertyCountPB {
ICAHeader header;
ICAObject object;
UInt32 count;
} ICAGetPropertyCountPB __attribute__((deprecated));
# 2215 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetPropertyCount(
ICAGetPropertyCountPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2233 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAPropertyInfo {
OSType propertyType;
OSType dataType;
UInt32 dataSize;
UInt32 dataFlags;
} ICAPropertyInfo;
# 2253 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetNthPropertyPB {
ICAHeader header;
ICAObject object;
UInt32 index;
ICAProperty property;
ICAPropertyInfo propertyInfo;
} ICAGetNthPropertyPB __attribute__((deprecated));
# 2274 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetNthProperty(
ICAGetNthPropertyPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2294 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetPropertyByTypePB {
ICAHeader header;
ICAObject object;
OSType propertyType;
ICAProperty property;
ICAPropertyInfo propertyInfo;
} ICAGetPropertyByTypePB __attribute__((deprecated));
# 2315 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetPropertyByType(
ICAGetPropertyByTypePB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2331 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetPropertyInfoPB {
ICAHeader header;
ICAProperty property;
ICAPropertyInfo propertyInfo;
} ICAGetPropertyInfoPB __attribute__((deprecated));
# 2350 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetPropertyInfo(
ICAGetPropertyInfoPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2368 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetParentOfPropertyPB {
ICAHeader header;
ICAProperty property;
ICAObject parentObject;
ICAObjectInfo parentInfo;
} ICAGetParentOfPropertyPB __attribute__((deprecated));
# 2388 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetParentOfProperty(
ICAGetParentOfPropertyPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2406 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetRootOfPropertyPB {
ICAHeader header;
ICAProperty property;
ICAObject rootObject;
ICAObjectInfo rootInfo;
} ICAGetRootOfPropertyPB __attribute__((deprecated));
# 2426 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetRootOfProperty(
ICAGetRootOfPropertyPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2442 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
enum
{
kICAStartAtBeginning = 0,
kICAEntireLength = -1
};
# 2465 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetPropertyDataPB {
ICAHeader header;
ICAProperty property;
UInt32 startByte;
UInt32 requestedSize;
void * dataPtr;
UInt32 actualSize;
OSType dataType;
} ICAGetPropertyDataPB __attribute__((deprecated));
# 2488 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetPropertyData(
ICAGetPropertyDataPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2510 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICASetPropertyDataPB {
ICAHeader header;
ICAProperty property;
UInt32 startByte;
void * dataPtr;
UInt32 dataSize;
OSType dataType;
} ICASetPropertyDataPB __attribute__((deprecated));
# 2532 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICASetPropertyData(
ICASetPropertyDataPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2548 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAGetPropertyRefConPB {
ICAHeader header;
ICAProperty property;
UInt32 propertyRefCon;
} ICAGetPropertyRefConPB __attribute__((deprecated));
# 2567 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICAGetPropertyRefCon(
ICAGetPropertyRefConPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2583 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICASetPropertyRefConPB {
ICAHeader header;
ICAProperty property;
UInt32 propertyRefCon;
} ICASetPropertyRefConPB __attribute__((deprecated));
# 2602 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICASetPropertyRefCon(
ICASetPropertyRefConPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2622 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICARegisterEventNotificationPB {
ICAHeader header;
ICAObject object;
OSType notifyType;
ICACompletion notifyProc;
} ICARegisterEventNotificationPB __attribute__((deprecated));
# 2642 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
extern ICAError
ICARegisterEventNotification(
ICARegisterEventNotificationPB* pb,
ICACompletion completion
) __attribute__((deprecated));
# 2673 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICAApplication.h" 3
typedef struct ICAExtendedRegisterEventNotificationPB {
ICAHeader header;
ICAObject object;
OSType extd;
ICACompletion notifyProc;
UInt32 rawEventType;
OSType eventType;
OSType eventClass;
UInt32 eventDataSize;
ICAEventDataCookie eventDataCookie;
ICAObject deviceObject;
} ICAExtendedRegisterEventNotificationPB __attribute__((deprecated));
#pragma pack(pop)
# 14 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 1 3
# 12 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
#define __ICADEVICE__
# 33 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
#pragma pack(push, 2)
# 54 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef struct ICDHeader {
ICAError err;
unsigned long refcon;
} ICDHeader;
# 69 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef void ( * ICDCompletion)(ICDHeader * pb);
# 86 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef struct ICD_NewObjectPB {
ICDHeader header;
ICAObject parentObject;
ICAObjectInfo objectInfo;
ICAObject object;
} ICD_NewObjectPB;
# 107 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
extern ICAError
ICDNewObject(
ICD_NewObjectPB* pb,
ICDCompletion completion
) ;
# 124 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef struct ICD_DisposeObjectPB {
ICDHeader header;
ICAObject object;
} ICD_DisposeObjectPB;
# 143 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
extern ICAError
ICDDisposeObject(
ICD_DisposeObjectPB* pb,
ICDCompletion completion
) ;
# 164 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef struct ICD_NewPropertyPB {
ICDHeader header;
ICAObject object;
ICAPropertyInfo propertyInfo;
ICAProperty property;
} ICD_NewPropertyPB;
# 185 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
extern ICAError
ICDNewProperty(
ICD_NewPropertyPB* pb,
ICDCompletion completion
) ;
# 202 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
typedef struct ICD_DisposePropertyPB {
ICDHeader header;
ICAProperty property;
} ICD_DisposePropertyPB;
# 221 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICADevice.h" 3
extern ICAError
ICDDisposeProperty(
ICD_DisposePropertyPB* pb,
ICDCompletion completion
) ;
#pragma pack(pop)
# 18 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h" 2 3
# 1 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 1 3
# 12 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
#define __ICACAMERA__
# 53 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum {
kICAPropertyCameraStorageType = 'stor',
kICAPropertyCameraFilesystemType = 'fsys',
kICAPropertyCameraAccessCapability = 'acap',
kICAPropertyCameraMaxCapacity = 'maxc',
kICAPropertyCameraFreeSpaceInBytes = 'fres',
kICAPropertyCameraFreeSpaceInImages = 'frei',
kICAPropertyCameraStorageDescription = 'stod',
kICAPropertyCameraVolumeLabel = 'voll'
};
# 79 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum {
kICAStorageUndefined = 0x0000,
kICAStorageFixedROM = 0x0001,
kICAStorageRemovableROM = 0x0002,
kICAStorageFixedRAM = 0x0003,
kICAStorageRemovableRAM = 0x0004
};
# 100 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum {
kICAFileystemUndefined = 0x0000,
kICAFileystemGenericFlat = 0x0001,
kICAFileystemGenericHierarchical = 0x0002,
kICAFileystemDCF = 0x0003
};
# 118 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum {
kICAAccessReadWrite = 0x0000,
kICAAccessReadOnly = 0x0001,
kICAAccessReadOnlyWithObjectDeletion = 0x0002
};
# 191 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum
{
kICAPropertyCameraBatteryLevel = '5001',
kICAPropertyCameraFunctionalMode = '5002',
kICAPropertyCameraImageSize = '5003',
kICAPropertyCameraCompressionSetting = '5004',
kICAPropertyCameraWhiteBalance = '5005',
kICAPropertyCameraRGBGain = '5006',
kICAPropertyCameraFNumber = '5007',
kICAPropertyCameraFocalLength = '5008',
kICAPropertyCameraFocusDistance = '5009',
kICAPropertyCameraFocusMode = '500A',
kICAPropertyCameraExposureMeteringMode = '500B',
kICAPropertyCameraFlashMode = '500C',
kICAPropertyCameraExposureTime = '500D',
kICAPropertyCameraExposureProgramMode = '500E',
kICAPropertyCameraExposureIndex = '500F',
kICAPropertyCameraExposureBiasCompensation = '5010',
kICAPropertyCameraDateTime = '5011',
kICAPropertyCameraCaptureDelay = '5012',
kICAPropertyCameraStillCaptureMode = '5013',
kICAPropertyCameraContrast = '5014',
kICAPropertyCameraSharpness = '5015',
kICAPropertyCameraDigitalZoom = '5016',
kICAPropertyCameraEffectMode = '5017',
kICAPropertyCameraBurstNumber = '5018',
kICAPropertyCameraBurstInterval = '5019',
kICAPropertyCameraTimelapseNumber = '501A',
kICAPropertyCameraTimelapseInterval = '501B',
kICAPropertyCameraFocusMeteringMode = '501C',
kICAPropertyCameraUploadURL = '501D',
kICAPropertyCameraArtist = '501E',
kICAPropertyCameraCopyrightInfo = '501F'
};
# 235 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum
{
kICAPropertyCameraIcon = 'icon',
kICAPropertyCameraSupportedMessages = 'msgs'
};
# 256 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum
{
kICAMessageCameraCaptureNewImage = 'ccni',
kICAMessageCameraDeleteOne = 'del1',
kICAMessageCameraDeleteAll = 'dela',
kICAMessageCameraSyncClock = 'sclk',
kICAMessageCameraUploadData = 'load'
};
# 280 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ICACamera.h" 3
enum
{
kICACapabilityCanCameraCaptureNewImage = 'ccni',
kICACapabilityCanCameraDeleteOne = 'del1',
kICACapabilityCanCameraDeleteAll = 'dela',
kICACapabilityCanCameraSyncClock = 'sclk',
kICACapabilityCanCameraUploadData = 'load',
kICACapabilityMayStoreNewImagesInTempStore = 'temp'
};
# 22 "/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h" 2 3
# 80 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" 2 3
# 49 "macgui.h" 2
#undef mktime
#define mktime emacs_mktime
#undef free
#define free unexec_free
#undef malloc
#define malloc unexec_malloc
#undef realloc
#define realloc unexec_realloc
#undef min
#define min(a,b) ((a) < (b) ? (a) : (b))
#undef max
#define max(a,b) ((a) > (b) ? (a) : (b))
#undef init_process
#define init_process emacs_init_process
#undef INFINITY
#undef Z
#define Z (current_buffer->text->z)
# 86 "macgui.h"
#define USE_ATSUI 1
#define USE_CG_TEXT_DRAWING 1
#define USE_CG_DRAWING 1
#define USE_MAC_FONT_PANEL 1
#define USE_MAC_TSM 1
#define USE_MAC_TOOLBAR 1
typedef WindowRef Window;
typedef ScrapRef Selection;
#define mac_set_window_title SetWindowTitleWithCFString
#define mac_set_window_modified SetWindowModified
#define mac_is_window_visible IsWindowVisible
#define mac_is_window_collapsed IsWindowCollapsed
#define mac_bring_window_to_front BringToFront
#define mac_send_window_behind SendBehind
#define mac_hide_window HideWindow
#define mac_show_window ShowWindow
#define mac_collapse_window CollapseWindow
#define mac_front_non_floating_window FrontNonFloatingWindow
#define mac_active_non_floating_window ActiveNonFloatingWindow
#define mac_activate_window ActivateWindow
#define mac_move_window_structure MoveWindowStructure
#define mac_move_window MoveWindow
#define mac_size_window SizeWindow
#define mac_get_global_mouse GetGlobalMouse
#define mac_is_window_toolbar_visible IsWindowToolbarVisible
#define mac_rect_make(f,x,y,w,h) CGRectMake (x, y, w, h)
typedef GWorldPtr Pixmap;
#define Cursor ThemeCursor
#define No_Cursor (-1)
#define FACE_DEFAULT (~0)
# 170 "macgui.h"
typedef struct _XCharStruct
{
short lbearing;
short rbearing;
short width;
short ascent;
short descent;
} XCharStruct;
enum pcm_status
{
PCM_VALID = 0,
PCM_INVALID = -1,
};
#define STORE_XCHARSTRUCT(xcs,w,bds) ((xcs).width = (w), (xcs).lbearing = (bds).left, (xcs).rbearing = (bds).right, (xcs).ascent = -(bds).top, (xcs).descent = (bds).bottom)
struct MacFontStruct {
char *full_name;
short mac_fontnum;
int mac_fontsize;
short mac_fontface;
int mac_scriptcode;
ATSUStyle mac_style;
CGFontRef cg_font;
CGGlyph *cg_glyphs;
# 220 "macgui.h"
unsigned min_char_or_byte2;
unsigned max_char_or_byte2;
unsigned min_byte1;
unsigned max_byte1;
XCharStruct min_bounds;
XCharStruct max_bounds;
union {
XCharStruct *per_char;
XCharStruct **rows;
} bounds;
int ascent;
int descent;
};
typedef struct MacFontStruct MacFontStruct;
typedef struct MacFontStruct XFontStruct;
typedef struct {
unsigned char byte1;
unsigned char byte2;
} XChar2b;
#define STORE_XCHAR2B(chp,b1,b2) ((chp)->byte1 = (b1), (chp)->byte2 = (b2))
#define XCHAR2B_BYTE1(chp) ((chp)->byte1)
#define XCHAR2B_BYTE2(chp) ((chp)->byte2)
typedef struct _XGCValues
{
unsigned long foreground;
unsigned long background;
XFontStruct *font;
} XGCValues;
typedef struct _XGC
{
XGCValues xgcv;
RGBColor fore_color;
RGBColor back_color;
CGColorRef cg_fore_color;
CGColorRef cg_back_color;
#define MAX_CLIP_RECTS 2
int n_clip_rects;
RgnHandle clip_region;
CGRect clip_rects[2];
} *GC;
#define GCForeground (1L<<2)
#define GCBackground (1L<<3)
#define GCFont (1L<<14)
#define GCGraphicsExposures 0
#define ForgetGravity 0
#define NorthWestGravity 1
#define NorthGravity 2
#define NorthEastGravity 3
#define WestGravity 4
#define CenterGravity 5
#define EastGravity 6
#define SouthWestGravity 7
#define SouthGravity 8
#define SouthEastGravity 9
#define StaticGravity 10
#define NoValue 0x0000
#define XValue 0x0001
#define YValue 0x0002
#define WidthValue 0x0004
#define HeightValue 0x0008
#define AllValues 0x000F
#define XNegative 0x0010
#define YNegative 0x0020
typedef struct {
long flags;
int min_width, min_height;
int width_inc, height_inc;
int base_width, base_height;
} XSizeHints;
#define USPosition (1L << 0)
#define USSize (1L << 1)
#define PPosition (1L << 2)
#define PSize (1L << 3)
#define PMinSize (1L << 4)
#define PMaxSize (1L << 5)
#define PResizeInc (1L << 6)
#define PAspect (1L << 7)
#define PBaseSize (1L << 8)
#define PWinGravity (1L << 9)
typedef struct {
int x, y;
unsigned width, height;
} XRectangle;
#define NativeRectangle Rect
#define CONVERT_TO_XRECT(xr,nr) ((xr).x = (nr).left, (xr).y = (nr).top, (xr).width = ((nr).right - (nr).left), (xr).height = ((nr).bottom - (nr).top))
#define CONVERT_FROM_XRECT(xr,nr) ((nr).left = (xr).x, (nr).top = (xr).y, (nr).right = ((xr).x + (xr).width), (nr).bottom = ((xr).y + (xr).height))
#define STORE_NATIVE_RECT(nr,x,y,width,height) ((nr).left = (x), (nr).top = (y), (nr).right = ((nr).left + (width)), (nr).bottom = ((nr).top + (height)))
typedef void * XtPointer;
enum button_type
{
BUTTON_TYPE_NONE,
BUTTON_TYPE_TOGGLE,
BUTTON_TYPE_RADIO
};
typedef struct _widget_value
{
Lisp_Object lname;
char* name;
char* value;
Lisp_Object lkey;
char* key;
Lisp_Object help;
Boolean enabled;
Boolean selected;
enum button_type button_type;
Boolean title;
# 436 "macgui.h"
struct _widget_value* contents;
XtPointer call_data;
struct _widget_value* next;
# 453 "macgui.h"
} widget_value;
# 466 "macgui.h"
#define DIALOG_LEFT_MARGIN (112)
#define DIALOG_TOP_MARGIN (24)
#define DIALOG_RIGHT_MARGIN (24)
#define DIALOG_BOTTOM_MARGIN (20)
#define DIALOG_MIN_INNER_WIDTH (338)
#define DIALOG_MAX_INNER_WIDTH (564)
#define DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE (12)
#define DIALOG_BUTTON_BUTTON_VERTICAL_SPACE (12)
#define DIALOG_BUTTON_MIN_WIDTH (68)
#define DIALOG_TEXT_MIN_HEIGHT (50)
#define DIALOG_TEXT_BUTTONS_VERTICAL_SPACE (10)
#define DIALOG_ICON_WIDTH (64)
#define DIALOG_ICON_HEIGHT (64)
#define DIALOG_ICON_LEFT_MARGIN (24)
#define DIALOG_ICON_TOP_MARGIN (15)
# 25 "macterm.h" 2
# 1 "frame.h" 1
# 27 "frame.h"
#define EMACS_FRAME_H
extern int frame_garbaged;
extern int message_buf_print;
extern int focus_follows_mouse;
enum output_method
{
output_termcap,
output_x_window,
output_msdos_raw,
output_w32,
output_mac
};
enum vertical_scroll_bar_type
{
vertical_scroll_bar_none,
vertical_scroll_bar_left,
vertical_scroll_bar_right
};
enum text_cursor_kinds
{
DEFAULT_CURSOR = -2,
NO_CURSOR = -1,
FILLED_BOX_CURSOR,
HOLLOW_BOX_CURSOR,
BAR_CURSOR,
HBAR_CURSOR
};
# 101 "frame.h"
struct frame
{
long size;
struct Lisp_Vector *next;
Lisp_Object name;
Lisp_Object icon_name;
Lisp_Object title;
# 133 "frame.h"
Lisp_Object focus_frame;
Lisp_Object root_window;
Lisp_Object selected_window;
Lisp_Object minibuffer_window;
Lisp_Object param_alist;
# 164 "frame.h"
Lisp_Object scroll_bars;
Lisp_Object condemned_scroll_bars;
Lisp_Object menu_bar_items;
Lisp_Object face_alist;
Lisp_Object menu_bar_vector;
long menu_bar_items_used;
Lisp_Object buffer_predicate;
Lisp_Object buffer_list;
Lisp_Object menu_bar_window;
Lisp_Object tool_bar_window;
Lisp_Object tool_bar_items;
Lisp_Object desired_tool_bar_string, current_tool_bar_string;
struct face_cache *face_cache;
char *namebuf;
struct glyph_pool *current_pool;
struct glyph_pool *desired_pool;
struct glyph_matrix *desired_matrix;
struct glyph_matrix *current_matrix;
unsigned glyphs_initialized_p : 1;
int external_tool_bar;
int tool_bar_lines;
int n_tool_bar_rows;
int n_tool_bar_items;
char *decode_mode_spec_buffer;
int *insert_line_cost;
int *delete_line_cost;
int *insert_n_lines_cost;
int *delete_n_lines_cost;
long text_lines, text_cols;
long total_lines, total_cols;
int new_text_lines, new_text_cols;
int left_pos, top_pos;
int pixel_height, pixel_width;
int x_pixels_diff, y_pixels_diff;
int win_gravity;
int size_hint_flags;
int border_width;
int internal_border_width;
int column_width;
int space_width;
int line_height;
enum output_method output_method;
union output_data
{
struct x_output *x;
struct w32_output *w32;
struct mac_output *mac;
long nothing;
}
output_data;
int fringe_cols;
int left_fringe_width, right_fringe_width;
# 327 "frame.h"
int want_fullscreen;
int menu_bar_lines;
int external_menu_bar;
char display_preempted;
# 369 "frame.h"
char visible, iconified;
volatile char async_visible, async_iconified;
volatile char garbaged;
char has_minibuffer;
char wants_modeline;
char can_have_scroll_bars;
enum vertical_scroll_bar_type vertical_scroll_bar_type;
enum text_cursor_kinds desired_cursor;
int cursor_width;
enum text_cursor_kinds blink_off_cursor;
int blink_off_cursor_width;
char auto_raise;
char auto_lower;
char no_split;
char explicit_name;
char window_sizes_changed;
char *message_buf;
int scroll_bottom_vpos;
int config_scroll_bar_width;
int config_scroll_bar_cols;
int scroll_bar_actual_width;
int cost_calculation_baud_rate;
char mouse_moved;
double gamma;
int extra_line_spacing;
unsigned resized_p : 1;
unsigned force_flush_display_p : 1;
unsigned default_face_done_p : 1;
unsigned already_hscrolled_p : 1;
unsigned updated_p : 1;
unsigned minimize_tool_bar_window_p : 1;
};
#define FRAME_KBOARD(f) (&the_only_kboard)
typedef struct frame *FRAME_PTR;
#define XFRAME(p) (eassert (GC_FRAMEP(p)),(struct frame *) XPNTR (p))
#define XSETFRAME(a,b) (XSETPSEUDOVECTOR (a, b, PVEC_FRAME))
#define WINDOW_FRAME(w) (w)->frame
#define FRAME_TERMCAP_P(f) ((f)->output_method == output_termcap)
#define FRAME_X_P(f) ((f)->output_method == output_x_window)
#define FRAME_W32_P(f) ((f)->output_method == output_w32)
#define FRAME_MSDOS_P(f) ((f)->output_method == output_msdos_raw)
#define FRAME_MAC_P(f) ((f)->output_method == output_mac)
# 517 "frame.h"
#define FRAME_WINDOW_P(f) FRAME_MAC_P (f)
#define FRAME_LIVE_P(f) ((f)->output_data.nothing != 0)
#define FRAME_MINIBUF_ONLY_P(f) EQ (FRAME_ROOT_WINDOW (f), FRAME_MINIBUF_WINDOW (f))
#define FRAME_HAS_MINIBUF_P(f) ((f)->has_minibuffer)
#define FRAME_PIXEL_HEIGHT(f) ((f)->pixel_height)
#define FRAME_PIXEL_WIDTH(f) ((f)->pixel_width)
#define FRAME_LINES(f) (f)->text_lines
#define FRAME_COLS(f) (f)->text_cols
#define FRAME_MENU_BAR_LINES(f) (f)->menu_bar_lines
#define FRAME_EXTERNAL_TOOL_BAR(f) (f)->external_tool_bar
#define FRAME_TOOL_BAR_LINES(f) (f)->tool_bar_lines
#define FRAME_TOP_MARGIN(F) (FRAME_MENU_BAR_LINES (F) + FRAME_TOOL_BAR_LINES (F))
#define FRAME_EXTERNAL_MENU_BAR(f) (f)->external_menu_bar
#define FRAME_VISIBLE_P(f) ((f)->visible != 0)
#define FRAME_OBSCURED_P(f) ((f)->visible > 1)
#define FRAME_ICONIFIED_P(f) (f)->iconified
#define FRAME_SET_VISIBLE(f,p) ((f)->async_visible = (p), FRAME_SAMPLE_VISIBILITY (f))
#define SET_FRAME_GARBAGED(f) (frame_garbaged = 1, f->garbaged = 1)
#define FRAME_GARBAGED_P(f) (f)->garbaged
#define FRAME_NO_SPLIT_P(f) (f)->no_split
#define FRAME_WANTS_MODELINE_P(f) (f)->wants_modeline
#define FRAME_WINDOW_SIZES_CHANGED(f) (f)->window_sizes_changed
#define FRAME_MINIBUF_WINDOW(f) (f)->minibuffer_window
#define FRAME_ROOT_WINDOW(f) (f)->root_window
#define FRAME_SELECTED_WINDOW(f) (f)->selected_window
#define FRAME_INSERT_COST(f) (f)->insert_line_cost
#define FRAME_DELETE_COST(f) (f)->delete_line_cost
#define FRAME_INSERTN_COST(f) (f)->insert_n_lines_cost
#define FRAME_DELETEN_COST(f) (f)->delete_n_lines_cost
#define FRAME_MESSAGE_BUF(f) (f)->message_buf
#define FRAME_SCROLL_BOTTOM_VPOS(f) (f)->scroll_bottom_vpos
#define FRAME_FOCUS_FRAME(f) (f)->focus_frame
#define FRAME_CAN_HAVE_SCROLL_BARS(f) ((f)->can_have_scroll_bars)
#define FRAME_VERTICAL_SCROLL_BAR_TYPE(f) ((f)->vertical_scroll_bar_type)
#define FRAME_HAS_VERTICAL_SCROLL_BARS(f) ((f)->vertical_scroll_bar_type != vertical_scroll_bar_none)
#define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT(f) ((f)->vertical_scroll_bar_type == vertical_scroll_bar_left)
#define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT(f) ((f)->vertical_scroll_bar_type == vertical_scroll_bar_right)
#define FRAME_CONFIG_SCROLL_BAR_WIDTH(f) ((f)->config_scroll_bar_width)
#define FRAME_CONFIG_SCROLL_BAR_COLS(f) ((f)->config_scroll_bar_cols)
#define FRAME_LEFT_SCROLL_BAR_COLS(f) (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) ? FRAME_CONFIG_SCROLL_BAR_COLS (f) : 0)
#define FRAME_LEFT_SCROLL_BAR_AREA_WIDTH(f) (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) ? (FRAME_CONFIG_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f)) : 0)
# 667 "frame.h"
#define FRAME_RIGHT_SCROLL_BAR_COLS(f) (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f) ? FRAME_CONFIG_SCROLL_BAR_COLS (f) : 0)
#define FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH(f) (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f) ? (FRAME_CONFIG_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f)) : 0)
#define FRAME_SCROLL_BAR_COLS(f) (FRAME_HAS_VERTICAL_SCROLL_BARS (f) ? FRAME_CONFIG_SCROLL_BAR_COLS (f) : 0)
#define FRAME_SCROLL_BAR_AREA_WIDTH(f) (FRAME_HAS_VERTICAL_SCROLL_BARS (f) ? (FRAME_CONFIG_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f)) : 0)
#define FRAME_TOTAL_COLS(f) ((f)->total_cols)
#define SET_FRAME_COLS(f,val) (FRAME_COLS (f) = (val), (f)->total_cols = FRAME_TOTAL_COLS_ARG (f, FRAME_COLS (f)))
#define FRAME_TOTAL_COLS_ARG(f,width) ((width) + FRAME_SCROLL_BAR_COLS (f) + FRAME_FRINGE_COLS (f))
#define FRAME_CURSOR_X_LIMIT(f) (FRAME_COLS (f) + FRAME_LEFT_SCROLL_BAR_COLS (f))
#define FRAME_SCROLL_BARS(f) ((f)->scroll_bars)
#define FRAME_CONDEMNED_SCROLL_BARS(f) ((f)->condemned_scroll_bars)
#define FRAME_MENU_BAR_ITEMS(f) ((f)->menu_bar_items)
#define FRAME_COST_BAUD_RATE(f) ((f)->cost_calculation_baud_rate)
#define FRAME_DESIRED_CURSOR(f) ((f)->desired_cursor)
#define FRAME_BLINK_OFF_CURSOR(f) ((f)->blink_off_cursor)
#define FRAME_CURSOR_WIDTH(f) ((f)->cursor_width)
#define FRAME_BLINK_OFF_CURSOR_WIDTH(f) ((f)->blink_off_cursor_width)
#define FRAME_FACE_CACHE(F) (F)->face_cache
#define FRAME_MESSAGE_BUF_SIZE(f) (((int) FRAME_COLS (f)) * 4)
# 766 "frame.h"
#define FRAME_SAMPLE_VISIBILITY(f) (((f)->async_visible && (f)->visible != (f)->async_visible) ? SET_FRAME_GARBAGED (f) : 0, (f)->visible = (f)->async_visible, (f)->iconified = (f)->async_iconified)
#define CHECK_FRAME(x) CHECK_TYPE (FRAMEP (x), Qframep, x)
#define CHECK_LIVE_FRAME(x) CHECK_TYPE (FRAMEP (x) && FRAME_LIVE_P (XFRAME (x)), Qframe_live_p, x)
# 789 "frame.h"
#define FOR_EACH_FRAME(list_var,frame_var) for ((list_var) = Vframe_list; (CONSP (list_var) && (frame_var = XCAR (list_var), 1)); list_var = XCDR (list_var))
extern Lisp_Object Qframep, Qframe_live_p;
extern struct frame *last_nonminibuf_frame;
extern struct frame *make_terminal_frame (void);
extern struct frame *make_frame (int);
extern struct frame *make_minibuffer_frame (void);
extern struct frame *make_frame_without_minibuffer (Lisp_Object, struct kboard *, Lisp_Object);
extern int other_visible_frames (struct frame *);
extern Lisp_Object Vframe_list;
extern Lisp_Object Vdefault_frame_alist;
extern Lisp_Object Vterminal_frame;
extern Lisp_Object Vmouse_highlight;
extern Lisp_Object selected_frame;
#define SELECTED_FRAME() ((FRAMEP (selected_frame) && FRAME_LIVE_P (XFRAME (selected_frame))) ? XFRAME (selected_frame) : (abort (), (struct frame *) 0))
# 839 "frame.h"
#define FRAME_LINE_HEIGHT(F) ((F)->line_height)
#define FRAME_COLUMN_WIDTH(F) ((F)->column_width)
#define FRAME_SPACE_WIDTH(F) ((F)->space_width)
# 862 "frame.h"
#define FRAME_FRINGE_COLS(F) ((F)->fringe_cols)
#define FRAME_LEFT_FRINGE_WIDTH(F) ((F)->left_fringe_width)
#define FRAME_RIGHT_FRINGE_WIDTH(F) ((F)->right_fringe_width)
#define FRAME_TOTAL_FRINGE_WIDTH(F) (FRAME_LEFT_FRINGE_WIDTH (F) + FRAME_RIGHT_FRINGE_WIDTH (F))
#define FRAME_INTERNAL_BORDER_WIDTH(F) ((F)->internal_border_width)
# 904 "frame.h"
#define FRAME_PIXEL_X_FROM_CANON_X(F,X) (INTEGERP (X) ? XINT (X) * FRAME_COLUMN_WIDTH (F) : (int) (XFLOAT_DATA (X) * FRAME_COLUMN_WIDTH (F)))
# 913 "frame.h"
#define FRAME_PIXEL_Y_FROM_CANON_Y(F,Y) (INTEGERP (Y) ? XINT (Y) * FRAME_LINE_HEIGHT (F) : (int) (XFLOAT_DATA (Y) * FRAME_LINE_HEIGHT (F)))
# 923 "frame.h"
#define FRAME_CANON_X_FROM_PIXEL_X(F,X) ((X) % FRAME_COLUMN_WIDTH (F) != 0 ? make_float ((double) (X) / FRAME_COLUMN_WIDTH (F)) : make_number ((X) / FRAME_COLUMN_WIDTH (F)))
# 933 "frame.h"
#define FRAME_CANON_Y_FROM_PIXEL_Y(F,Y) ((Y) % FRAME_LINE_HEIGHT (F) ? make_float ((double) (Y) / FRAME_LINE_HEIGHT (F)) : make_number ((Y) / FRAME_LINE_HEIGHT (F)))
# 947 "frame.h"
#define FRAME_LINE_TO_PIXEL_Y(f,row) (FRAME_INTERNAL_BORDER_WIDTH (f) + (row) * FRAME_LINE_HEIGHT (f))
#define FRAME_COL_TO_PIXEL_X(f,col) (FRAME_INTERNAL_BORDER_WIDTH (f) + (col) * FRAME_COLUMN_WIDTH (f))
#define FRAME_TEXT_COLS_TO_PIXEL_WIDTH(f,cols) (FRAME_COL_TO_PIXEL_X (f, cols) + (f)->scroll_bar_actual_width + FRAME_TOTAL_FRINGE_WIDTH (f) + FRAME_INTERNAL_BORDER_WIDTH (f))
#define FRAME_TEXT_LINES_TO_PIXEL_HEIGHT(f,lines) (FRAME_LINE_TO_PIXEL_Y (f, lines) + FRAME_INTERNAL_BORDER_WIDTH (f))
#define FRAME_PIXEL_Y_TO_LINE(f,y) (((y) - FRAME_INTERNAL_BORDER_WIDTH (f)) / FRAME_LINE_HEIGHT (f))
#define FRAME_PIXEL_X_TO_COL(f,x) (((x) - FRAME_INTERNAL_BORDER_WIDTH (f)) / FRAME_COLUMN_WIDTH (f))
#define FRAME_PIXEL_WIDTH_TO_TEXT_COLS(f,width) (FRAME_PIXEL_X_TO_COL (f, ((width) - FRAME_INTERNAL_BORDER_WIDTH (f) - FRAME_TOTAL_FRINGE_WIDTH (f) - (f)->scroll_bar_actual_width)))
#define FRAME_PIXEL_HEIGHT_TO_TEXT_LINES(f,height) (FRAME_PIXEL_Y_TO_LINE (f, ((height) - FRAME_INTERNAL_BORDER_WIDTH (f))))
# 998 "frame.h"
extern Lisp_Object Qauto_raise, Qauto_lower;
extern Lisp_Object Qborder_color, Qborder_width;
extern Lisp_Object Qbuffer_predicate, Qbuffer_list;
extern Lisp_Object Qcursor_color, Qcursor_type;
extern Lisp_Object Qfont;
extern Lisp_Object Qbackground_color, Qforeground_color;
extern Lisp_Object Qicon, Qicon_name, Qicon_type, Qicon_left, Qicon_top;
extern Lisp_Object Qinternal_border_width;
extern Lisp_Object Qmenu_bar_lines, Qtool_bar_lines;
extern Lisp_Object Qmouse_color;
extern Lisp_Object Qname, Qtitle;
extern Lisp_Object Qparent_id;
extern Lisp_Object Qunsplittable, Qvisibility;
extern Lisp_Object Qscroll_bar_width, Qvertical_scroll_bars;
extern Lisp_Object Qscroll_bar_foreground, Qscroll_bar_background;
extern Lisp_Object Qscreen_gamma;
extern Lisp_Object Qline_spacing;
extern Lisp_Object Qwait_for_wm;
extern Lisp_Object Qfullscreen;
extern Lisp_Object Qleft_fringe, Qright_fringe;
extern Lisp_Object Qheight, Qwidth;
extern Lisp_Object Qminibuffer, Qmodeline;
extern Lisp_Object Qonly;
extern Lisp_Object Qx, Qw32, Qmac, Qpc;
extern Lisp_Object Qvisible;
extern Lisp_Object Qdisplay_type;
extern Lisp_Object Qbackground_mode;
extern Lisp_Object Qx_resource_name;
extern Lisp_Object Qleft, Qright, Qtop, Qbox;
extern Lisp_Object Qdisplay;
#define EMACS_CLASS "Emacs"
enum
{
FULLSCREEN_NONE = 0,
FULLSCREEN_WIDTH = 1,
FULLSCREEN_HEIGHT = 2,
FULLSCREEN_BOTH = 3,
FULLSCREEN_WAIT = 4
};
extern void x_set_scroll_bar_default_width (struct frame *);
extern void x_set_offset (struct frame *, int, int, int);
extern void x_wm_set_icon_position (struct frame *, int, int);
extern Lisp_Object x_new_font (struct frame *, char *);
extern Lisp_Object x_new_fontset (struct frame *, char *);
extern Lisp_Object Vx_resource_name;
extern Lisp_Object Vx_resource_class;
extern Lisp_Object Qface_set_after_frame_default;
extern void x_fullscreen_adjust (struct frame *f, int *, int *, int *, int *);
extern void x_set_frame_parameters (struct frame *, Lisp_Object);
extern void x_report_frame_params (struct frame *, Lisp_Object *);
extern void x_set_fullscreen (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_line_spacing (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_screen_gamma (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_font (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_fringe_width (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_border_width (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_internal_border_width (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_visibility (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_autoraise (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_autolower (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_unsplittable (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_vertical_scroll_bars (struct frame *, Lisp_Object, Lisp_Object);
extern void x_set_scroll_bar_width (struct frame *, Lisp_Object, Lisp_Object);
extern Lisp_Object x_icon_type (struct frame *);
extern int x_figure_window_size (struct frame *, Lisp_Object, int);
extern void validate_x_resource_name (void);
# 26 "macterm.h" 2
#define RGB_TO_ULONG(r,g,b) (((r) << 16) | ((g) << 8) | (b))
#define RED_FROM_ULONG(color) ((color) >> 16)
#define GREEN_FROM_ULONG(color) (((color) >> 8) & 0xff)
#define BLUE_FROM_ULONG(color) ((color) & 0xff)
#define RED16_FROM_ULONG(color) (RED_FROM_ULONG(color) * 0x101)
#define GREEN16_FROM_ULONG(color) (GREEN_FROM_ULONG(color) * 0x101)
#define BLUE16_FROM_ULONG(color) (BLUE_FROM_ULONG(color) * 0x101)
#define BLACK_PIX_DEFAULT(f) RGB_TO_ULONG(0,0,0)
#define WHITE_PIX_DEFAULT(f) RGB_TO_ULONG(255,255,255)
#define FONT_WIDTH(f) ((f)->max_bounds.width)
#define FONT_HEIGHT(f) ((f)->ascent + (f)->descent)
#define FONT_BASE(f) ((f)->ascent)
#define FONT_DESCENT(f) ((f)->descent)
struct mac_bitmap_record
{
char *bitmap_data;
char *file;
int refcount;
int height, width;
};
struct mac_display_info
{
struct mac_display_info *next;
Lisp_Object name_list_element;
int reference_count;
double resx, resy;
int n_planes;
int color_p;
int height, width;
int grabbed;
# 96 "macterm.h"
Window root_window;
ThemeCursor vertical_scroll_bar_cursor;
XrmDatabase xrdb;
struct font_info *font_table;
int font_table_size;
int smallest_char_width;
int smallest_font_height;
GC scratch_cursor_gc;
int mouse_face_beg_row, mouse_face_beg_col;
int mouse_face_beg_x, mouse_face_beg_y;
int mouse_face_end_row, mouse_face_end_col;
int mouse_face_end_x, mouse_face_end_y;
int mouse_face_past_end;
Lisp_Object mouse_face_window;
int mouse_face_face_id;
Lisp_Object mouse_face_overlay;
int mouse_face_deferred_gc;
struct frame *mouse_face_mouse_frame;
int mouse_face_mouse_x, mouse_face_mouse_y;
int mouse_face_defer;
int mouse_face_hidden;
int mouse_face_image_state;
char *mac_id_name;
int n_fonts;
struct mac_bitmap_record *bitmaps;
int bitmaps_size;
int bitmaps_last;
struct frame *x_focus_frame;
struct frame *x_focus_event_frame;
struct frame *x_highlight_frame;
struct image_cache *image_cache;
};
extern void check_mac (void);
#define x_display_info mac_display_info
extern struct mac_display_info *x_display_list;
extern struct mac_display_info one_mac_display_info;
extern Lisp_Object x_display_name_list;
extern struct mac_display_info *x_display_info_for_name (Lisp_Object);
extern struct mac_display_info *mac_term_init (Lisp_Object, char *, char *);
extern Lisp_Object x_list_fonts (struct frame *, Lisp_Object, int, int);
extern struct font_info *x_get_font_info (struct frame *f, int);
extern struct font_info *x_load_font (struct frame *, char *, int);
extern struct font_info *x_query_font (struct frame *, char *);
extern void x_find_ccl_program (struct font_info *);
struct x_output
{
unsigned long background_pixel;
unsigned long foreground_pixel;
};
struct mac_output
{
struct x_output x_compatible;
int menubar_widget;
FRAME_PTR mFP;
GC normal_gc;
GC reverse_gc;
GC cursor_gc;
Window window_desc;
Window parent_desc;
XFontStruct *font;
int baseline_offset;
int fontset;
unsigned long cursor_pixel;
unsigned long border_pixel;
unsigned long mouse_pixel;
unsigned long cursor_foreground_pixel;
# 282 "macterm.h"
ThemeCursor text_cursor;
ThemeCursor nontext_cursor;
ThemeCursor modeline_cursor;
ThemeCursor hand_cursor;
ThemeCursor hourglass_cursor;
ThemeCursor horizontal_drag_cursor;
# 304 "macterm.h"
ControlRef hourglass_control;
char explicit_parent;
char asked_for_visible;
struct relief
{
GC gc;
unsigned long pixel;
int allocated_p;
}
black_relief, white_relief;
unsigned long relief_background;
int internal_border_width;
XSizeHints *size_hints;
# 343 "macterm.h"
int toolbar_win_gravity;
CGContextRef cg_context;
};
typedef struct mac_output mac_output;
#define FRAME_X_OUTPUT(f) ((f)->output_data.mac)
#define FRAME_MAC_WINDOW(f) ((f)->output_data.mac->window_desc)
#define FRAME_X_WINDOW(f) ((f)->output_data.mac->window_desc)
#define FRAME_FOREGROUND_PIXEL(f) ((f)->output_data.x->foreground_pixel)
#define FRAME_BACKGROUND_PIXEL(f) ((f)->output_data.x->background_pixel)
#define FRAME_FONT(f) ((f)->output_data.mac->font)
#define FRAME_FONTSET(f) ((f)->output_data.mac->fontset)
#define FRAME_BASELINE_OFFSET(f) ((f)->output_data.mac->baseline_offset)
#define FRAME_SIZE_HINTS(f) ((f)->output_data.mac->size_hints)
#define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info)
#define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info)
#define FRAME_MAC_DISPLAY(f) (0)
#define FRAME_X_DISPLAY(f) (0)
#define FRAME_MAC_FONT_TABLE(f) (FRAME_MAC_DISPLAY_INFO (f)->font_table)
#define FRAME_SMALLEST_CHAR_WIDTH(F) FRAME_MAC_DISPLAY_INFO(F)->smallest_char_width
#define FRAME_SMALLEST_FONT_HEIGHT(F) FRAME_MAC_DISPLAY_INFO(F)->smallest_font_height
#define FRAME_X_IMAGE_CACHE(F) FRAME_MAC_DISPLAY_INFO ((F))->image_cache
# 407 "macterm.h"
struct scroll_bar {
long size_from_Lisp_Vector_struct;
struct Lisp_Vector *next_from_Lisp_Vector_struct;
Lisp_Object window;
Lisp_Object next, prev;
Lisp_Object control_ref_low, control_ref_high;
Lisp_Object top, left, width, height;
# 438 "macterm.h"
Lisp_Object start, end;
Lisp_Object dragging;
Lisp_Object fringe_extended_p;
Lisp_Object redraw_needed_p;
Lisp_Object track_top, track_height;
Lisp_Object min_handle;
};
#define SCROLL_BAR_VEC_SIZE ((sizeof (struct scroll_bar) - sizeof (EMACS_INT) - sizeof (struct Lisp_Vector *)) / sizeof (Lisp_Object))
#define XSCROLL_BAR(vec) ((struct scroll_bar *) XVECTOR (vec))
#define SCROLL_BAR_PACK(low,high) (XINT (high) << 16 | XINT (low))
#define SCROLL_BAR_UNPACK(low,high,ulong) (XSETINT ((low), (ulong) & 0xffff), XSETINT ((high), (ulong) >> 16))
#define SCROLL_BAR_CONTROL_REF(ptr) ((ControlRef) SCROLL_BAR_PACK ((ptr)->control_ref_low, (ptr)->control_ref_high))
#define SET_SCROLL_BAR_CONTROL_REF(ptr,ref) (SCROLL_BAR_UNPACK ((ptr)->control_ref_low, (ptr)->control_ref_high, (unsigned long) (ref)))
#define VERTICAL_SCROLL_BAR_INSIDE_WIDTH(f,width) ((width) - VERTICAL_SCROLL_BAR_LEFT_BORDER - VERTICAL_SCROLL_BAR_RIGHT_BORDER - VERTICAL_SCROLL_BAR_WIDTH_TRIM * 2)
# 512 "macterm.h"
#define VERTICAL_SCROLL_BAR_TOP_RANGE(f,height) (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, height) - VERTICAL_SCROLL_BAR_MIN_HANDLE - UP_AND_DOWN_ARROWS)
#define VERTICAL_SCROLL_BAR_INSIDE_HEIGHT(f,height) ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER)
# 534 "macterm.h"
#define VERTICAL_SCROLL_BAR_LEFT_BORDER (0)
#define VERTICAL_SCROLL_BAR_RIGHT_BORDER (0)
#define VERTICAL_SCROLL_BAR_TOP_BORDER (0)
#define VERTICAL_SCROLL_BAR_BOTTOM_BORDER (0)
#define VERTICAL_SCROLL_BAR_MIN_HANDLE (16)
#define UP_AND_DOWN_ARROWS (32)
#define VERTICAL_SCROLL_BAR_WIDTH_TRIM (0)
#define MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH (15)
#define MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH (11)
#define HOURGLASS_WIDTH (15)
#define HOURGLASS_HEIGHT (15)
enum {
MAC_EMACS_CREATOR_CODE = 'EMAx'
};
enum {
TYPE_FILE_NAME = 'fNam'
};
enum {
KEY_EMACS_SUSPENSION_ID_ATTR = 'esId'
};
enum {
EVENT_PARAM_TEXT_INPUT_SEQUENCE_NUMBER = 'tsSn'
};
# 609 "macterm.h"
struct frame;
struct face;
struct image;
Lisp_Object display_x_get_resource (struct mac_display_info *, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
struct frame *check_x_frame (Lisp_Object);
extern Lisp_Object Fx_display_color_p (Lisp_Object);
extern Lisp_Object Fx_display_grayscale_p (Lisp_Object);
extern Lisp_Object Fx_display_planes (Lisp_Object);
extern void x_free_gcs (struct frame *);
extern int XParseGeometry (char *, int *, int *, unsigned int *, unsigned int *);
extern void x_set_window_size (struct frame *, int, int, int);
extern void x_set_mouse_position (struct frame *, int, int);
extern void x_set_mouse_pixel_position (struct frame *, int, int);
extern void x_raise_frame (struct frame *);
extern void x_lower_frame (struct frame *);
extern void x_make_frame_visible (struct frame *);
extern void x_make_frame_invisible (struct frame *);
extern void x_iconify_frame (struct frame *);
extern void x_free_frame_resources (struct frame *);
extern void x_destroy_window (struct frame *);
extern void x_wm_set_size_hint (struct frame *, long, int);
extern void x_delete_display (struct mac_display_info *);
extern void mac_initialize (void);
extern Pixmap XCreatePixmap (Display *, Window, unsigned int, unsigned int, unsigned int);
extern Pixmap XCreatePixmapFromBitmapData (Display *, Window, char *, unsigned int, unsigned int, unsigned long, unsigned long, unsigned int);
extern void XFreePixmap (Display *, Pixmap);
extern GC XCreateGC (Display *, void *, unsigned long, XGCValues *);
extern void XFreeGC (Display *, GC);
extern void XSetForeground (Display *, GC, unsigned long);
extern void XSetBackground (Display *, GC, unsigned long);
extern void XDrawLine (Display *, Pixmap, GC, int, int, int, int);
extern void mac_clear_area (struct frame *, int, int, unsigned int, unsigned int);
extern void mac_unload_font (struct mac_display_info *, XFontStruct *);
extern OSStatus mac_post_mouse_moved_event (void);
extern int mac_quit_char_key_p (UInt32, UInt32);
#define FONT_TYPE_FOR_UNIBYTE(font,ch) 0
#define FONT_TYPE_FOR_MULTIBYTE(font,ch) 0
extern void x_clear_frame_selections (struct frame *);
extern Lisp_Object Fx_selection_owner_p (Lisp_Object);
extern int have_menus_p (void);
extern void x_real_positions (struct frame *, int *, int *);
extern void x_set_menu_bar_lines (struct frame *, Lisp_Object, Lisp_Object);
extern int x_pixel_width (struct frame *);
extern int x_pixel_height (struct frame *);
extern int x_char_width (struct frame *);
extern int x_char_height (struct frame *);
extern void x_sync (struct frame *);
extern void x_set_tool_bar_lines (struct frame *, Lisp_Object, Lisp_Object);
extern void mac_update_title_bar (struct frame *, int);
extern Lisp_Object x_get_focus_frame (struct frame *);
extern void mac_clear_font_name_table (void);
extern Lisp_Object mac_aedesc_to_lisp (const AEDesc *);
extern OSErr mac_ae_put_lisp (AEDescList *, UInt32, Lisp_Object);
extern OSErr create_apple_event (AEEventClass, AEEventID, AppleEvent *);
extern Lisp_Object mac_event_parameters_to_lisp (EventRef, UInt32, const EventParamName *, const EventParamType *);
extern CFStringRef cfstring_create_with_utf8_cstring (const char *);
extern CFStringRef cfstring_create_with_string (Lisp_Object);
extern Lisp_Object cfdata_to_lisp (CFDataRef);
extern Lisp_Object cfstring_to_lisp_nodecode (CFStringRef);
extern Lisp_Object cfstring_to_lisp (CFStringRef);
extern Lisp_Object cfnumber_to_lisp (CFNumberRef);
extern Lisp_Object cfdate_to_lisp (CFDateRef);
extern Lisp_Object cfboolean_to_lisp (CFBooleanRef);
extern Lisp_Object cfobject_desc_to_lisp (CFTypeRef);
extern Lisp_Object cfproperty_list_to_lisp (CFPropertyListRef, int, int);
extern void mac_wakeup_from_rne (void);
extern void xrm_merge_string_database (XrmDatabase, const char *);
extern Lisp_Object xrm_get_resource (XrmDatabase, const char *, const char *);
extern XrmDatabase xrm_get_preference_database (const char *);
extern Lisp_Object Fmac_get_preference (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern void mac_alert_sound_play (void);
extern OSStatus install_application_handler (void);
extern void mac_get_window_bounds (struct frame *, Rect *, Rect *);
extern Rect *mac_get_frame_bounds (struct frame *, Rect *);
extern void mac_get_frame_mouse (struct frame *, Point *);
extern void mac_convert_frame_point_to_global (struct frame *, int *, int *);
extern void mac_update_proxy_icon (struct frame *);
extern void mac_set_frame_window_background (struct frame *, unsigned long);
extern void mac_update_begin (struct frame *);
extern void mac_update_end (struct frame *);
extern void mac_frame_up_to_date (struct frame *);
extern void x_flush (struct frame *);
extern void mac_create_frame_window (struct frame *, int);
extern void mac_dispose_frame_window (struct frame *);
extern CGContextRef mac_begin_cg_clip (struct frame *, GC);
extern void mac_end_cg_clip (struct frame *);
extern void mac_begin_clip (struct frame *, GC);
extern void mac_end_clip (struct frame *, GC);
extern void mac_create_scroll_bar (struct scroll_bar *, const Rect *, Boolean);
extern void mac_dispose_scroll_bar (struct scroll_bar *);
extern void mac_set_scroll_bar_bounds (struct scroll_bar *, const Rect *);
extern void mac_redraw_scroll_bar (struct scroll_bar *);
extern void x_set_toolkit_scroll_bar_thumb (struct scroll_bar *, int, int, int);
extern int mac_font_panel_visible_p (void);
extern OSStatus mac_show_hide_font_panel (void);
extern OSStatus mac_set_font_info_for_selection (struct frame *, int, int);
extern Boolean mac_run_loop_run_once (EventTimeout);
extern void update_frame_tool_bar (FRAME_PTR f);
extern void free_frame_tool_bar (FRAME_PTR f);
extern void mac_show_hourglass (struct frame *);
extern void mac_hide_hourglass (struct frame *);
extern void mac_reposition_hourglass (struct frame *);
extern Lisp_Object mac_file_dialog (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object);
extern void x_activate_menubar (struct frame *);
extern void free_frame_menubar (struct frame *);
extern void mac_fill_menubar (widget_value *, int);
extern void create_and_show_popup_menu (FRAME_PTR, widget_value *, int, int, int);
extern void create_and_show_dialog (FRAME_PTR, widget_value *);
extern OSStatus mac_get_selection_from_symbol (Lisp_Object, int, Selection *);
extern int mac_valid_selection_target_p (Lisp_Object);
extern OSStatus mac_clear_selection (Selection *);
extern Lisp_Object mac_get_selection_ownership_info (Selection);
extern int mac_valid_selection_value_p (Lisp_Object, Lisp_Object);
extern OSStatus mac_put_selection_value (Selection, Lisp_Object, Lisp_Object);
extern int mac_selection_has_target_p (Selection, Lisp_Object);
extern Lisp_Object mac_get_selection_value (Selection, Lisp_Object);
extern Lisp_Object mac_get_selection_target_list (Selection);
extern Lisp_Object mac_dnd_default_known_types (void);
# 39 "mac.c" 2
# 1 "charset.h" 1
# 27 "charset.h"
#define EMACS_CHARSET_H
# 96 "charset.h"
#define LEADING_CODE_PRIVATE_11 0x9A
#define LEADING_CODE_PRIVATE_12 0x9B
#define LEADING_CODE_PRIVATE_21 0x9C
#define LEADING_CODE_PRIVATE_22 0x9D
#define LEADING_CODE_8_BIT_CONTROL 0x9E
#define LEADING_CODE_EXT_11 0xA0
#define LEADING_CODE_EXT_12 0xE0
#define LEADING_CODE_EXT_21 0xF0
#define LEADING_CODE_EXT_22 0xF5
#define LEADING_CODE_EXT_MAX 0xFE
#define MIN_CHARSET_OFFICIAL_DIMENSION1 0x80
#define MAX_CHARSET_OFFICIAL_DIMENSION1 0x8F
#define MIN_CHARSET_OFFICIAL_DIMENSION2 0x90
#define MAX_CHARSET_OFFICIAL_DIMENSION2 0x99
#define MIN_CHARSET_PRIVATE_DIMENSION1 LEADING_CODE_EXT_11
#define MIN_CHARSET_PRIVATE_DIMENSION2 LEADING_CODE_EXT_21
#define MAX_CHARSET 0xFE
#define CHARSET_ASCII 0
#define CHARSET_8_BIT_CONTROL 0x9E
#define CHARSET_8_BIT_GRAPHIC 0x80
extern int charset_latin_iso8859_1;
extern int charset_jisx0208_1978;
extern int charset_jisx0208;
extern int charset_katakana_jisx0201;
extern int charset_latin_jisx0201;
extern int charset_big5_1;
extern int charset_big5_2;
extern int charset_mule_unicode_0100_24ff;
extern int charset_mule_unicode_2500_33ff;
extern int charset_mule_unicode_e000_ffff;
#define CHAR_HEAD_P(ch) ((unsigned char) (ch) < 0xA0)
# 203 "charset.h"
#define CHAR_FIELD1_MASK (0x1F << 14)
#define CHAR_FIELD2_MASK (0x7F << 7)
#define CHAR_FIELD3_MASK 0x7F
#define CHAR_FIELD1(c) (((c) & CHAR_FIELD1_MASK) >> 14)
#define CHAR_FIELD2(c) (((c) & CHAR_FIELD2_MASK) >> 7)
#define CHAR_FIELD3(c) ((c) & CHAR_FIELD3_MASK)
#define MIN_CHAR_OFFICIAL_DIMENSION1 ((0x81 - 0x70) << 7)
#define MIN_CHAR_PRIVATE_DIMENSION1 ((MIN_CHARSET_PRIVATE_DIMENSION1 - 0x70) << 7)
#define MIN_CHAR_OFFICIAL_DIMENSION2 ((MIN_CHARSET_OFFICIAL_DIMENSION2 - 0x8F) << 14)
#define MIN_CHAR_PRIVATE_DIMENSION2 ((MIN_CHARSET_PRIVATE_DIMENSION2 - 0xE0) << 14)
#define MAX_CHAR (0x1F << 14)
#define SINGLE_BYTE_CHAR_P(c) (((unsigned)(c) & 0xFF) == (c))
#define ASCII_BYTE_P(byte) ((byte) < 0x80)
# 286 "charset.h"
extern Lisp_Object Vcharset_table;
#define CHARSET_TABLE_ENTRY(charset) XCHAR_TABLE (Vcharset_table)->contents[((charset) == CHARSET_ASCII ? 0 : (charset) + 128)]
#define CHARSET_TABLE_INFO(charset,info_idx) XVECTOR (CHARSET_TABLE_ENTRY (charset))->contents[info_idx]
#define CHARSET_ID_IDX (0)
#define CHARSET_BYTES_IDX (1)
#define CHARSET_DIMENSION_IDX (2)
#define CHARSET_CHARS_IDX (3)
#define CHARSET_WIDTH_IDX (4)
#define CHARSET_DIRECTION_IDX (5)
#define CHARSET_LEADING_CODE_BASE_IDX (6)
#define CHARSET_LEADING_CODE_EXT_IDX (7)
#define CHARSET_ISO_FINAL_CHAR_IDX (8)
#define CHARSET_ISO_GRAPHIC_PLANE_IDX (9)
#define CHARSET_REVERSE_CHARSET_IDX (10)
#define CHARSET_SHORT_NAME_IDX (11)
#define CHARSET_LONG_NAME_IDX (12)
#define CHARSET_DESCRIPTION_IDX (13)
#define CHARSET_PLIST_IDX (14)
#define CHARSET_MAX_IDX (15)
#define CHARSET_BYTES(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_BYTES_IDX))
#define CHARSET_DIMENSION(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_DIMENSION_IDX))
#define CHARSET_CHARS(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_CHARS_IDX))
#define CHARSET_WIDTH(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_WIDTH_IDX))
#define CHARSET_DIRECTION(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_DIRECTION_IDX))
#define CHARSET_LEADING_CODE_BASE(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_LEADING_CODE_BASE_IDX))
#define CHARSET_LEADING_CODE_EXT(charset) XFASTINT (CHARSET_TABLE_INFO (charset, CHARSET_LEADING_CODE_EXT_IDX))
#define CHARSET_ISO_FINAL_CHAR(charset) XINT (CHARSET_TABLE_INFO (charset, CHARSET_ISO_FINAL_CHAR_IDX))
#define CHARSET_ISO_GRAPHIC_PLANE(charset) XINT (CHARSET_TABLE_INFO (charset, CHARSET_ISO_GRAPHIC_PLANE_IDX))
#define CHARSET_REVERSE_CHARSET(charset) XINT (CHARSET_TABLE_INFO (charset, CHARSET_REVERSE_CHARSET_IDX))
#define CHARSET_DIRECTION_LEFT_TO_RIGHT 0
#define CHARSET_DIRECTION_RIGHT_TO_LEFT 1
extern Lisp_Object Vcharset_symbol_table;
#define CHARSET_SYMBOL(charset) XVECTOR (Vcharset_symbol_table)->contents[charset]
#define CHARSET_VALID_P(charset) ((charset) == 0 || ((charset) > 0x80 && (charset) <= MAX_CHARSET_OFFICIAL_DIMENSION2) || ((charset) >= MIN_CHARSET_PRIVATE_DIMENSION1 && (charset) <= MAX_CHARSET) || ((charset) == CHARSET_8_BIT_CONTROL) || ((charset) == CHARSET_8_BIT_GRAPHIC))
# 362 "charset.h"
#define CHARSET_DEFINED_P(charset) (((charset) >= 0) && ((charset) <= MAX_CHARSET) && !NILP (CHARSET_TABLE_ENTRY (charset)))
# 371 "charset.h"
extern int bytes_by_char_head[256];
extern int width_by_char_head[256];
#define BYTES_BY_CHAR_HEAD(char_head) (ASCII_BYTE_P (char_head) ? 1 : bytes_by_char_head[char_head])
#define WIDTH_BY_CHAR_HEAD(char_head) (ASCII_BYTE_P (char_head) ? 1 : width_by_char_head[char_head])
#define CHAR_CHARSET(c) (SINGLE_BYTE_CHAR_P (c) ? (ASCII_BYTE_P (c) ? CHARSET_ASCII : (c) < 0xA0 ? CHARSET_8_BIT_CONTROL : CHARSET_8_BIT_GRAPHIC) : ((c) < MIN_CHAR_OFFICIAL_DIMENSION2 ? CHAR_FIELD2 (c) + 0x70 : ((c) < MIN_CHAR_PRIVATE_DIMENSION2 ? CHAR_FIELD1 (c) + 0x8F : CHAR_FIELD1 (c) + 0xE0)))
# 392 "charset.h"
#define SAME_CHARSET_P(c1,c2) (c1 < MIN_CHAR_OFFICIAL_DIMENSION2 ? (c1 & CHAR_FIELD2_MASK) == (c2 & CHAR_FIELD2_MASK) : (c1 & CHAR_FIELD1_MASK) == (c2 & CHAR_FIELD1_MASK))
#define MAKE_CHAR(charset,c1,c2) ((charset) == CHARSET_ASCII ? (c1) & 0x7F : (((charset) == CHARSET_8_BIT_CONTROL || (charset) == CHARSET_8_BIT_GRAPHIC) ? ((c1) & 0x7F) | 0x80 : ((CHARSET_DEFINED_P (charset) ? CHARSET_DIMENSION (charset) == 1 : (charset) < MIN_CHARSET_PRIVATE_DIMENSION2) ? (((charset) - 0x70) << 7) | ((c1) <= 0 ? 0 : ((c1) & 0x7F)) : ((((charset) - ((charset) < MIN_CHARSET_PRIVATE_DIMENSION2 ? 0x8F : 0xE0)) << 14) | ((c2) <= 0 ? 0 : ((c2) & 0x7F)) | ((c1) <= 0 ? 0 : (((c1) & 0x7F) << 7))))))
# 419 "charset.h"
#define CHAR_VALID_P(c,genericp) ((c) >= 0 && (SINGLE_BYTE_CHAR_P (c) || char_valid_p (c, genericp)))
#define DEFAULT_NONASCII_INSERT_OFFSET 0x800
# 445 "charset.h"
#define PARSE_MULTIBYTE_SEQ(str,length,bytes) ((void)(length), (bytes) = BYTES_BY_CHAR_HEAD ((str)[0]))
#define VALID_LEADING_CODE_P(code) (! NILP (CHARSET_TABLE_ENTRY (code)))
#define UNIBYTE_STR_AS_MULTIBYTE_P(str,length,bytes) (((str)[0] < 0x80 || (str)[0] >= 0xA0) ? ((bytes) = 1) : (((bytes) = BYTES_BY_CHAR_HEAD ((str)[0])), ((bytes) <= (length) && !CHAR_HEAD_P ((str)[1]) && ((bytes) == 2 ? (str)[0] != LEADING_CODE_8_BIT_CONTROL : (!CHAR_HEAD_P ((str)[2]) && ((bytes) == 3 ? (((str)[0] != LEADING_CODE_PRIVATE_11 && (str)[0] != LEADING_CODE_PRIVATE_12) || VALID_LEADING_CODE_P (str[1])) : (!CHAR_HEAD_P ((str)[3]) && VALID_LEADING_CODE_P (str[1]))))))))
# 478 "charset.h"
#define MULTIBYTE_STR_AS_UNIBYTE_P(str,bytes) ((bytes) = BYTES_BY_CHAR_HEAD ((str)[0]), (str)[0] != LEADING_CODE_8_BIT_CONTROL)
#define SPLIT_CHAR(c,charset,c1,c2) (SINGLE_BYTE_CHAR_P (c) ? ((charset = (ASCII_BYTE_P (c) ? CHARSET_ASCII : ((c) < 0xA0 ? CHARSET_8_BIT_CONTROL : CHARSET_8_BIT_GRAPHIC))), c1 = (c), c2 = -1) : ((c) & CHAR_FIELD1_MASK ? (charset = (CHAR_FIELD1 (c) + ((c) < MIN_CHAR_PRIVATE_DIMENSION2 ? 0x8F : 0xE0)), c1 = CHAR_FIELD2 (c), c2 = CHAR_FIELD3 (c)) : (charset = CHAR_FIELD2 (c) + 0x70, c1 = CHAR_FIELD3 (c), c2 = -1)))
# 503 "charset.h"
#define CHAR_PRINTABLE_P(c) (ASCII_BYTE_P (c) || char_printable_p (c))
#define SPLIT_STRING(str,len,charset,c1,c2) ((BYTES_BY_CHAR_HEAD ((unsigned char) *(str)) < 2 || BYTES_BY_CHAR_HEAD ((unsigned char) *(str)) > len || split_string (str, len, &charset, &c1, &c2) < 0) ? c1 = *(str), charset = CHARSET_ASCII : charset)
# 519 "charset.h"
extern int iso_charset_table[2][2][128];
#define ISO_CHARSET_TABLE(dimension,chars,final_char) iso_charset_table[XINT (dimension) - 1][XINT (chars) > 94][XINT (final_char)]
#define BASE_LEADING_CODE_P(c) (BYTES_BY_CHAR_HEAD ((unsigned char) (c)) > 1)
#define CHAR_BYTES(c) (SINGLE_BYTE_CHAR_P (c) ? ((ASCII_BYTE_P (c) || (c) >= 0xA0) ? 1 : 2) : char_bytes (c))
# 542 "charset.h"
#define CHAR_STRING(c,str) (SINGLE_BYTE_CHAR_P (c) ? ((ASCII_BYTE_P (c) || c >= 0xA0) ? (*(str) = (unsigned char)(c), 1) : (*(str) = LEADING_CODE_8_BIT_CONTROL, *((str)+ 1) = c + 0x20, 2)) : char_to_string (c, (unsigned char *) str))
# 552 "charset.h"
#define CHAR_STRING_NO_SIGNAL(c,str) (SINGLE_BYTE_CHAR_P (c) ? ((ASCII_BYTE_P (c) || c >= 0xA0) ? (*(str) = (unsigned char)(c), 1) : (*(str) = LEADING_CODE_8_BIT_CONTROL, *((str)+ 1) = c + 0x20, 2)) : char_to_string_1 (c, (unsigned char *) str))
# 563 "charset.h"
#define STRING_CHAR(str,len) (BYTES_BY_CHAR_HEAD ((unsigned char) *(str)) == 1 ? (unsigned char) *(str) : string_to_char (str, len, 0))
# 572 "charset.h"
#define STRING_CHAR_AND_LENGTH(str,len,actual_len) (BYTES_BY_CHAR_HEAD ((unsigned char) *(str)) == 1 ? ((actual_len) = 1), (unsigned char) *(str) : string_to_char (str, len, &(actual_len)))
# 584 "charset.h"
#define FETCH_STRING_CHAR_ADVANCE(OUTPUT,STRING,CHARIDX,BYTEIDX) if (1) { CHARIDX++; if (STRING_MULTIBYTE (STRING)) { const unsigned char *ptr = SDATA (STRING) + BYTEIDX; int space_left = SBYTES (STRING) - BYTEIDX; int actual_len; OUTPUT = STRING_CHAR_AND_LENGTH (ptr, space_left, actual_len); BYTEIDX += actual_len; } else OUTPUT = SREF (STRING, BYTEIDX++); } else
# 604 "charset.h"
#define FETCH_STRING_CHAR_ADVANCE_NO_CHECK(OUTPUT,STRING,CHARIDX,BYTEIDX) if (1) { const unsigned char *fetch_string_char_ptr = SDATA (STRING) + BYTEIDX; int fetch_string_char_space_left = SBYTES (STRING) - BYTEIDX; int actual_len; OUTPUT = STRING_CHAR_AND_LENGTH (fetch_string_char_ptr, fetch_string_char_space_left, actual_len); BYTEIDX += actual_len; CHARIDX++; } else
# 623 "charset.h"
#define FETCH_CHAR_ADVANCE(OUTPUT,CHARIDX,BYTEIDX) if (1) { CHARIDX++; if (!NILP (current_buffer->enable_multibyte_characters)) { unsigned char *ptr = BYTE_POS_ADDR (BYTEIDX); int space_left = ((CHARIDX < GPT ? GPT_BYTE : Z_BYTE) - BYTEIDX); int actual_len; OUTPUT= STRING_CHAR_AND_LENGTH (ptr, space_left, actual_len); BYTEIDX += actual_len; } else { OUTPUT = *(BYTE_POS_ADDR (BYTEIDX)); BYTEIDX++; } } else
# 646 "charset.h"
#define MULTIBYTE_FORM_LENGTH(str,len) (BYTES_BY_CHAR_HEAD (*(unsigned char *)(str)) == 1 ? 1 : multibyte_form_length (str, len))
# 655 "charset.h"
#define NEXT_CHAR_BOUNDARY(p,limit) do { if ((p) < (limit)) (p) += BYTES_BY_CHAR_HEAD (*(p)); } while (0)
# 664 "charset.h"
#define PREV_CHAR_BOUNDARY(p,limit) do { if ((p) > (limit)) { const unsigned char *p0 = (p); const unsigned char *p_limit = max (limit, p0 - MAX_MULTIBYTE_LENGTH); do { p0--; } while (p0 >= p_limit && ! CHAR_HEAD_P (*p0)); (p) = (BYTES_BY_CHAR_HEAD (*p0) >= (p) - p0) ? p0 : (p) - 1; } } while (0)
# 678 "charset.h"
#define AT_CHAR_BOUNDARY_P(result,p,limit) do { if (CHAR_HEAD_P (*(p)) || (p) <= limit) (result) = 1; else { const unsigned char *p_aux = (p)+1; PREV_CHAR_BOUNDARY (p_aux, limit); (result) = (p_aux == (p)); } } while (0)
# 716 "charset.h"
#define INC_POS(pos_byte) do { unsigned char *p = BYTE_POS_ADDR (pos_byte); pos_byte += BYTES_BY_CHAR_HEAD (*p); } while (0)
# 726 "charset.h"
#define DEC_POS(pos_byte) do { unsigned char *p, *p_min; pos_byte--; if (pos_byte < GPT_BYTE) p = BEG_ADDR + pos_byte - BEG_BYTE, p_min = BEG_ADDR; else p = BEG_ADDR + GAP_SIZE + pos_byte - BEG_BYTE, p_min = GAP_END_ADDR; if (p > p_min && !CHAR_HEAD_P (*p)) { unsigned char *pend = p--; int len, bytes; if (p_min < p - MAX_MULTIBYTE_LENGTH) p_min = p - MAX_MULTIBYTE_LENGTH; while (p > p_min && !CHAR_HEAD_P (*p)) p--; len = pend + 1 - p; PARSE_MULTIBYTE_SEQ (p, len, bytes); if (bytes == len) pos_byte -= len - 1; } } while (0)
# 751 "charset.h"
#define INC_BOTH(charpos,bytepos) do { (charpos)++; if (NILP (current_buffer->enable_multibyte_characters)) (bytepos)++; else INC_POS ((bytepos)); } while (0)
# 764 "charset.h"
#define DEC_BOTH(charpos,bytepos) do { (charpos)--; if (NILP (current_buffer->enable_multibyte_characters)) (bytepos)--; else DEC_POS ((bytepos)); } while (0)
# 798 "charset.h"
#define BUF_INC_POS(buf,pos_byte) do { unsigned char *p = BUF_BYTE_ADDRESS (buf, pos_byte); pos_byte += BYTES_BY_CHAR_HEAD (*p); } while (0)
# 808 "charset.h"
#define BUF_DEC_POS(buf,pos_byte) do { unsigned char *p, *p_min; pos_byte--; if (pos_byte < BUF_GPT_BYTE (buf)) { p = BUF_BEG_ADDR (buf) + pos_byte - BEG_BYTE; p_min = BUF_BEG_ADDR (buf); } else { p = BUF_BEG_ADDR (buf) + BUF_GAP_SIZE (buf) + pos_byte - BEG_BYTE; p_min = BUF_GAP_END_ADDR (buf); } if (p > p_min && !CHAR_HEAD_P (*p)) { unsigned char *pend = p--; int len, bytes; if (p_min < p - MAX_MULTIBYTE_LENGTH) p_min = p - MAX_MULTIBYTE_LENGTH; while (p > p_min && !CHAR_HEAD_P (*p)) p--; len = pend + 1 - p; PARSE_MULTIBYTE_SEQ (p, len, bytes); if (bytes == len) pos_byte -= len - 1; } } while (0)
# 839 "charset.h"
#define MAX_MULTIBYTE_LENGTH 4
extern void invalid_character (int) __attribute__ ((__noreturn__));
extern int translate_char (Lisp_Object, int, int, int, int);
extern int split_string (const unsigned char *, int, int *, unsigned char *, unsigned char *);
extern int char_to_string (int, unsigned char *);
extern int char_to_string_1 (int, unsigned char *);
extern int string_to_char (const unsigned char *, int, int *);
extern int char_printable_p (int c);
extern int multibyte_form_length (const unsigned char *, int);
extern void parse_str_as_multibyte (const unsigned char *, int, int *, int *);
extern int str_as_multibyte (unsigned char *, int, int, int *);
extern int parse_str_to_multibyte (unsigned char *, int);
extern int str_to_multibyte (unsigned char *, int, int);
extern int str_as_unibyte (unsigned char *, int);
extern int get_charset_id (Lisp_Object);
extern int find_charset_in_text (const unsigned char *, int, int, int *, Lisp_Object);
extern int strwidth (unsigned char *, int);
extern int c_string_width (const unsigned char *, int, int, int *, int *);
extern int lisp_string_width (Lisp_Object, int, int *, int *);
extern int char_bytes (int);
extern int char_valid_p (int, int);
extern Lisp_Object Funibyte_char_to_multibyte (Lisp_Object);
extern Lisp_Object Vtranslation_table_vector;
#define GET_TRANSLATION_TABLE(id) (XCDR(XVECTOR(Vtranslation_table_vector)->contents[(id)]))
extern Lisp_Object Vauto_fill_chars;
#define BCOPY_SHORT(from,to,len) do { int i = len; const unsigned char *from_p = from; unsigned char *to_p = to; while (i--) *to_p++ = *from_p++; } while (0)
# 41 "mac.c" 2
# 1 "coding.h" 1
# 27 "coding.h"
#define EMACS_CODING_H
# 1 "ccl.h" 1
# 25 "ccl.h"
#define EMACS_CCL_H
#define CCL_STAT_SUCCESS 0
#define CCL_STAT_SUSPEND_BY_SRC 1
#define CCL_STAT_SUSPEND_BY_DST 2
#define CCL_STAT_INVALID_CMD 3
#define CCL_STAT_QUIT 4
struct ccl_program {
int idx;
int size;
Lisp_Object *prog;
int ic;
int eof_ic;
int reg[8];
int private_state;
int last_block;
int status;
int buf_magnification;
int stack_idx;
int eol_type;
int multibyte;
int cr_consumed;
int suppress_error;
int eight_bit_control;
int quit_silently;
};
struct ccl_spec {
struct ccl_program decoder;
struct ccl_program encoder;
unsigned char valid_codes[256];
int cr_carryover;
unsigned char eight_bit_carryover[4];
};
extern Lisp_Object Vfont_ccl_encoder_alist;
extern int setup_ccl_program (struct ccl_program *, Lisp_Object);
extern int check_ccl_update (struct ccl_program *);
extern int ccl_driver (struct ccl_program *, unsigned char *, unsigned char *, int, int, int *);
extern Lisp_Object Vccl_program_table;
extern Lisp_Object Qccl_program_idx;
# 30 "coding.h" 2
enum emacs_code_class_type
{
EMACS_control_code,
EMACS_linefeed_code,
EMACS_carriage_return_code,
EMACS_ascii_code,
EMACS_leading_code_2,
EMACS_leading_code_3,
EMACS_leading_code_4,
EMACS_invalid_code
};
extern enum emacs_code_class_type emacs_code_class[256];
#define ISO_CODE_LF 0x0A
#define ISO_CODE_CR 0x0D
#define ISO_CODE_SO 0x0E
#define ISO_CODE_SI 0x0F
#define ISO_CODE_SS2_7 0x19
#define ISO_CODE_ESC 0x1B
#define ISO_CODE_SS2 0x8E
#define ISO_CODE_SS3 0x8F
#define ISO_CODE_CSI 0x9B
enum iso_code_class_type
{
ISO_control_0,
ISO_carriage_return,
ISO_shift_out,
ISO_shift_in,
ISO_single_shift_2_7,
ISO_escape,
ISO_control_1,
ISO_single_shift_2,
ISO_single_shift_3,
ISO_control_sequence_introducer,
ISO_0x20_or_0x7F,
ISO_graphic_plane_0,
ISO_0xA0_or_0xFF,
ISO_graphic_plane_1
};
#define CODING_FLAG_ISO_SHORT_FORM 0x0001
#define CODING_FLAG_ISO_RESET_AT_EOL 0x0002
#define CODING_FLAG_ISO_RESET_AT_CNTL 0x0004
#define CODING_FLAG_ISO_SEVEN_BITS 0x0008
#define CODING_FLAG_ISO_LOCKING_SHIFT 0x0010
#define CODING_FLAG_ISO_SINGLE_SHIFT 0x0020
#define CODING_FLAG_ISO_USE_ROMAN 0x0040
#define CODING_FLAG_ISO_USE_OLDJIS 0x0080
#define CODING_FLAG_ISO_NO_DIRECTION 0x0100
#define CODING_FLAG_ISO_INIT_AT_BOL 0x0200
#define CODING_FLAG_ISO_DESIGNATE_AT_BOL 0x0400
#define CODING_FLAG_ISO_SAFE 0x0800
#define CODING_FLAG_ISO_LATIN_EXTRA 0x1000
#define CODING_FLAG_ISO_DESIGNATION 0x10000
#define CODING_REPLACEMENT_CHARACTER '?'
struct iso2022_spec
{
int current_invocation[2];
int current_designation[4];
int initial_designation[4];
int last_invalid_designation_register;
unsigned char requested_designation[0xFE + 1];
unsigned char charset_revision_number[0xFE + 1];
int single_shifting;
int bol;
};
#define CODING_SPEC_ISO_INVOCATION(coding,plane) (coding)->spec.iso2022.current_invocation[plane]
#define CODING_SPEC_ISO_DESIGNATION(coding,reg) (coding)->spec.iso2022.current_designation[reg]
#define CODING_SPEC_ISO_INITIAL_DESIGNATION(coding,reg) (coding)->spec.iso2022.initial_designation[reg]
#define CODING_SPEC_ISO_REQUESTED_DESIGNATION(coding,charset) (coding)->spec.iso2022.requested_designation[charset]
#define CODING_SPEC_ISO_REVISION_NUMBER(coding,charset) (coding)->spec.iso2022.charset_revision_number[charset]
#define CODING_SPEC_ISO_SINGLE_SHIFTING(coding) (coding)->spec.iso2022.single_shifting
#define CODING_SPEC_ISO_BOL(coding) (coding)->spec.iso2022.bol
#define CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION 4
#define CODING_SPEC_ISO_PLANE_CHARSET(coding,plane) ((CODING_SPEC_ISO_INVOCATION (coding, plane) < 0) ? -1 : CODING_SPEC_ISO_DESIGNATION (coding, CODING_SPEC_ISO_INVOCATION (coding, plane)))
# 220 "coding.h"
#define CODING_FLAG_BIG5_HKU 0x00
#define CODING_FLAG_BIG5_ETEN 0x01
enum coding_type
{
coding_type_no_conversion,
coding_type_emacs_mule,
coding_type_undecided,
coding_type_sjis,
coding_type_iso2022,
coding_type_big5,
coding_type_ccl,
coding_type_raw_text
};
#define CODING_EOL_LF 0
#define CODING_EOL_CRLF 1
#define CODING_EOL_CR 2
#define CODING_EOL_UNDECIDED 3
#define CODING_EOL_INCONSISTENT 4
#define COMPOSING_P(coding) ((int) coding->composing > (int) COMPOSITION_NO)
#define COMPOSITION_DATA_SIZE 4080
#define COMPOSITION_DATA_MAX_BUNCH_LENGTH (4 + MAX_COMPOSITION_COMPONENTS*2)
# 288 "coding.h"
struct composition_data
{
int char_offset;
# 308 "coding.h"
int data[4080];
int used;
struct composition_data *prev, *next;
};
#define CODING_FINISH_NORMAL 0
#define CODING_FINISH_INSUFFICIENT_SRC 1
#define CODING_FINISH_INSUFFICIENT_DST 2
#define CODING_FINISH_INCONSISTENT_EOL 3
#define CODING_FINISH_INSUFFICIENT_CMP 4
#define CODING_FINISH_INTERRUPT 5
#define CODING_MODE_INHIBIT_INCONSISTENT_EOL 0x01
#define CODING_MODE_LAST_BLOCK 0x02
#define CODING_MODE_SELECTIVE_DISPLAY 0x04
#define CODING_MODE_INHIBIT_UNENCODABLE_CHAR 0x08
#define CODING_MODE_DIRECTION 0x10
struct coding_system
{
enum coding_type type;
int eol_type;
unsigned int common_flags;
unsigned int flags;
unsigned int mode;
int composing;
int composition_rule_follows;
struct composition_data *cmp_data;
int cmp_data_start;
int cmp_data_index;
union spec
{
struct iso2022_spec iso2022;
struct ccl_spec ccl;
} spec;
int category_idx;
unsigned src_multibyte : 1;
unsigned dst_multibyte : 1;
int heading_ascii;
int produced, produced_char, consumed, consumed_char;
int errors;
int result;
int suppress_error;
Lisp_Object symbol;
Lisp_Object post_read_conversion;
Lisp_Object pre_write_conversion;
Lisp_Object translation_table_for_decode;
Lisp_Object translation_table_for_encode;
};
#define CODING_REQUIRE_FLUSHING_MASK 0x01
#define CODING_REQUIRE_DECODING_MASK 0x02
#define CODING_REQUIRE_ENCODING_MASK 0x04
#define CODING_REQUIRE_DETECTION_MASK 0x08
#define CODING_ASCII_INCOMPATIBLE_MASK 0x10
#define CODING_REQUIRE_FLUSHING(coding) ((coding)->common_flags & CODING_REQUIRE_FLUSHING_MASK)
#define CODING_REQUIRE_DECODING(coding) ((coding)->dst_multibyte || (coding)->common_flags & CODING_REQUIRE_DECODING_MASK)
# 470 "coding.h"
#define CODING_REQUIRE_ENCODING(coding) ((coding)->src_multibyte || (coding)->common_flags & CODING_REQUIRE_ENCODING_MASK)
#define CODING_REQUIRE_DETECTION(coding) ((coding)->common_flags & CODING_REQUIRE_DETECTION_MASK)
#define CODING_MAY_REQUIRE_DECODING(coding) (CODING_REQUIRE_DECODING (coding) || CODING_REQUIRE_DETECTION (coding))
#define CODING_CATEGORY_IDX_EMACS_MULE 0
#define CODING_CATEGORY_IDX_SJIS 1
#define CODING_CATEGORY_IDX_ISO_7 2
#define CODING_CATEGORY_IDX_ISO_7_TIGHT 3
#define CODING_CATEGORY_IDX_ISO_8_1 4
#define CODING_CATEGORY_IDX_ISO_8_2 5
#define CODING_CATEGORY_IDX_ISO_7_ELSE 6
#define CODING_CATEGORY_IDX_ISO_8_ELSE 7
#define CODING_CATEGORY_IDX_CCL 8
#define CODING_CATEGORY_IDX_BIG5 9
#define CODING_CATEGORY_IDX_UTF_8 10
#define CODING_CATEGORY_IDX_UTF_16_BE 11
#define CODING_CATEGORY_IDX_UTF_16_LE 12
#define CODING_CATEGORY_IDX_RAW_TEXT 13
#define CODING_CATEGORY_IDX_BINARY 14
#define CODING_CATEGORY_IDX_MAX 15
#define CODING_CATEGORY_MASK_EMACS_MULE (1 << CODING_CATEGORY_IDX_EMACS_MULE)
#define CODING_CATEGORY_MASK_SJIS (1 << CODING_CATEGORY_IDX_SJIS)
#define CODING_CATEGORY_MASK_ISO_7 (1 << CODING_CATEGORY_IDX_ISO_7)
#define CODING_CATEGORY_MASK_ISO_7_TIGHT (1 << CODING_CATEGORY_IDX_ISO_7_TIGHT)
#define CODING_CATEGORY_MASK_ISO_8_1 (1 << CODING_CATEGORY_IDX_ISO_8_1)
#define CODING_CATEGORY_MASK_ISO_8_2 (1 << CODING_CATEGORY_IDX_ISO_8_2)
#define CODING_CATEGORY_MASK_ISO_7_ELSE (1 << CODING_CATEGORY_IDX_ISO_7_ELSE)
#define CODING_CATEGORY_MASK_ISO_8_ELSE (1 << CODING_CATEGORY_IDX_ISO_8_ELSE)
#define CODING_CATEGORY_MASK_CCL (1 << CODING_CATEGORY_IDX_CCL)
#define CODING_CATEGORY_MASK_BIG5 (1 << CODING_CATEGORY_IDX_BIG5)
#define CODING_CATEGORY_MASK_UTF_8 (1 << CODING_CATEGORY_IDX_UTF_8)
#define CODING_CATEGORY_MASK_UTF_16_BE (1 << CODING_CATEGORY_IDX_UTF_16_BE)
#define CODING_CATEGORY_MASK_UTF_16_LE (1 << CODING_CATEGORY_IDX_UTF_16_LE)
#define CODING_CATEGORY_MASK_RAW_TEXT (1 << CODING_CATEGORY_IDX_RAW_TEXT)
#define CODING_CATEGORY_MASK_BINARY (1 << CODING_CATEGORY_IDX_BINARY)
#define CODING_CATEGORY_MASK_ANY ( CODING_CATEGORY_MASK_EMACS_MULE | CODING_CATEGORY_MASK_SJIS | CODING_CATEGORY_MASK_ISO_7 | CODING_CATEGORY_MASK_ISO_7_TIGHT | CODING_CATEGORY_MASK_ISO_8_1 | CODING_CATEGORY_MASK_ISO_8_2 | CODING_CATEGORY_MASK_ISO_7_ELSE | CODING_CATEGORY_MASK_ISO_8_ELSE | CODING_CATEGORY_MASK_CCL | CODING_CATEGORY_MASK_BIG5 | CODING_CATEGORY_MASK_UTF_8 | CODING_CATEGORY_MASK_UTF_16_BE | CODING_CATEGORY_MASK_UTF_16_LE)
# 538 "coding.h"
#define CODING_CATEGORY_MASK_ISO_7BIT (CODING_CATEGORY_MASK_ISO_7 | CODING_CATEGORY_MASK_ISO_7_TIGHT)
#define CODING_CATEGORY_MASK_ISO_8BIT (CODING_CATEGORY_MASK_ISO_8_1 | CODING_CATEGORY_MASK_ISO_8_2)
#define CODING_CATEGORY_MASK_ISO_SHIFT (CODING_CATEGORY_MASK_ISO_7_ELSE | CODING_CATEGORY_MASK_ISO_8_ELSE)
#define CODING_CATEGORY_MASK_ISO ( CODING_CATEGORY_MASK_ISO_7BIT | CODING_CATEGORY_MASK_ISO_SHIFT | CODING_CATEGORY_MASK_ISO_8BIT)
#define CODING_CATEGORY_MASK_UTF_16_BE_LE (CODING_CATEGORY_MASK_UTF_16_BE | CODING_CATEGORY_MASK_UTF_16_LE)
#define DECODE_SJIS(s1,s2,c1,c2) do { if (s2 >= 0x9F) c1 = s1 * 2 - (s1 >= 0xE0 ? 0x160 : 0xE0), c2 = s2 - 0x7E; else c1 = s1 * 2 - ((s1 >= 0xE0) ? 0x161 : 0xE1), c2 = s2 - ((s2 >= 0x7F) ? 0x20 : 0x1F); } while (0)
# 570 "coding.h"
#define ENCODE_SJIS(c1,c2,s1,s2) do { if (c1 & 1) s1 = c1 / 2 + ((c1 < 0x5F) ? 0x71 : 0xB1), s2 = c2 + ((c2 >= 0x60) ? 0x20 : 0x1F); else s1 = c1 / 2 + ((c1 < 0x5F) ? 0x70 : 0xB0), s2 = c2 + 0x7E; } while (0)
# 582 "coding.h"
#define ENCODE_FILE(name) (! NILP (Vfile_name_coding_system) && !EQ (Vfile_name_coding_system, make_number (0)) ? code_convert_string_norecord (name, Vfile_name_coding_system, 1) : (! NILP (Vdefault_file_name_coding_system) && !EQ (Vdefault_file_name_coding_system, make_number (0)) ? code_convert_string_norecord (name, Vdefault_file_name_coding_system, 1) : name))
# 593 "coding.h"
#define DECODE_FILE(name) (! NILP (Vfile_name_coding_system) && !EQ (Vfile_name_coding_system, make_number (0)) ? code_convert_string_norecord (name, Vfile_name_coding_system, 0) : (! NILP (Vdefault_file_name_coding_system) && !EQ (Vdefault_file_name_coding_system, make_number (0)) ? code_convert_string_norecord (name, Vdefault_file_name_coding_system, 0) : name))
# 604 "coding.h"
#define ENCODE_SYSTEM(str) (! NILP (Vlocale_coding_system) && !EQ (Vlocale_coding_system, make_number (0)) ? code_convert_string_norecord (str, Vlocale_coding_system, 1) : str)
#define DECODE_SYSTEM(str) (! NILP (Vlocale_coding_system) && !EQ (Vlocale_coding_system, make_number (0)) ? code_convert_string_norecord (str, Vlocale_coding_system, 0) : str)
#define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1)
extern int decode_coding (struct coding_system *, const unsigned char *, unsigned char *, int, int);
extern int encode_coding (struct coding_system *, const unsigned char *, unsigned char *, int, int);
extern void coding_save_composition (struct coding_system *, int, int, Lisp_Object);
extern void coding_free_composition_data (struct coding_system *);
extern void coding_adjust_composition_offset (struct coding_system *, int);
extern void coding_allocate_composition_data (struct coding_system *, int);
extern void coding_restore_composition (struct coding_system *, Lisp_Object);
extern int code_convert_region (int, int, int, int, struct coding_system *, int, int);
extern Lisp_Object run_pre_post_conversion_on_str (Lisp_Object, struct coding_system *, int);
extern void run_pre_write_conversin_on_c_str (unsigned char **, int *, int, int, struct coding_system *);
extern int decoding_buffer_size (struct coding_system *, int);
extern int encoding_buffer_size (struct coding_system *, int);
extern void detect_coding (struct coding_system *, const unsigned char *, int);
extern void detect_eol (struct coding_system *, const unsigned char *, int);
extern int setup_coding_system (Lisp_Object, struct coding_system *);
extern Lisp_Object code_convert_string (Lisp_Object, struct coding_system *, int, int);
extern Lisp_Object code_convert_string1 (Lisp_Object, Lisp_Object, Lisp_Object, int);
extern Lisp_Object code_convert_string_norecord (Lisp_Object, Lisp_Object, int);
extern void setup_raw_text_coding_system (struct coding_system *);
extern Lisp_Object encode_coding_string (Lisp_Object, struct coding_system *, int);
extern Lisp_Object decode_coding_string (Lisp_Object, struct coding_system *, int);
extern Lisp_Object Qcoding_system, Qeol_type, Qcoding_category_index;
extern Lisp_Object Qraw_text, Qemacs_mule;
extern Lisp_Object Qbuffer_file_coding_system;
extern Lisp_Object Vcoding_category_list;
extern Lisp_Object Qutf_8;
extern Lisp_Object Qtranslation_table;
extern Lisp_Object Qtranslation_table_id;
extern Lisp_Object eol_mnemonic_unix, eol_mnemonic_dos, eol_mnemonic_mac;
extern Lisp_Object eol_mnemonic_undecided;
extern int system_eol_type;
extern Lisp_Object Qfile_coding_system;
extern Lisp_Object Qcall_process, Qcall_process_region;
extern Lisp_Object Qstart_process, Qopen_network_stream;
extern Lisp_Object Qwrite_region;
extern char *emacs_strerror (int);
extern Lisp_Object Vcoding_system_for_read;
extern Lisp_Object Vcoding_system_for_write;
extern Lisp_Object Vlast_coding_system_used;
extern Lisp_Object Vlocale_coding_system;
extern int inherit_process_coding_system;
extern struct coding_system terminal_coding;
extern struct coding_system safe_terminal_coding;
extern struct coding_system keyboard_coding;
extern struct coding_system default_buffer_file_coding;
extern Lisp_Object Vdefault_process_coding_system;
extern Lisp_Object Vselect_safe_coding_system_function;
extern int coding_system_require_warning;
extern Lisp_Object Vfile_name_coding_system;
extern Lisp_Object Vdefault_file_name_coding_system;
extern Lisp_Object Qcoding_system_error;
# 42 "mac.c" 2
# 59 "mac.c"
# 1 "/usr/include/utime.h" 1 3 4
# 59 "/usr/include/utime.h" 3 4
#define _UTIME_H_
# 68 "/usr/include/utime.h" 3 4
struct utimbuf {
time_t actime;
time_t modtime;
};
int utime(const char *, const struct utimbuf *);
# 60 "mac.c" 2
# 1 "/usr/include/dirent.h" 1 3 4
# 59 "/usr/include/dirent.h" 3 4
#define _DIRENT_H_
# 1 "/usr/include/sys/dirent.h" 1 3 4
# 76 "/usr/include/sys/dirent.h" 3 4
#define _SYS_DIRENT_H
# 87 "/usr/include/sys/dirent.h" 3 4
#define __DARWIN_MAXNAMLEN 255
#pragma pack(4)
struct dirent {
ino_t d_ino;
__uint16_t d_reclen;
__uint8_t d_type;
__uint8_t d_namlen;
char d_name[255 + 1];
};
#pragma pack()
#define __DARWIN_MAXPATHLEN 1024
#define __DARWIN_STRUCT_DIRENTRY { __uint64_t d_ino; __uint64_t d_seekoff; __uint16_t d_reclen; __uint16_t d_namlen; __uint8_t d_type; char d_name[__DARWIN_MAXPATHLEN]; }
# 121 "/usr/include/sys/dirent.h" 3 4
#define d_fileno d_ino
#define MAXNAMLEN __DARWIN_MAXNAMLEN
#define DT_UNKNOWN 0
#define DT_FIFO 1
#define DT_CHR 2
#define DT_DIR 4
#define DT_BLK 6
#define DT_REG 8
#define DT_LNK 10
#define DT_SOCK 12
#define DT_WHT 14
#define IFTODT(mode) (((mode) & 0170000) >> 12)
#define DTTOIF(dirtype) ((dirtype) << 12)
# 67 "/usr/include/dirent.h" 2 3 4
struct _telldir;
typedef struct {
int __dd_fd;
long __dd_loc;
long __dd_size;
char *__dd_buf;
int __dd_len;
long __dd_seek;
long __dd_rewind;
int __dd_flags;
__darwin_pthread_mutex_t __dd_lock;
struct _telldir *__dd_td;
} DIR;
#define DIRBLKSIZ 1024
#define dirfd(dirp) ((dirp)->__dd_fd)
#define DTF_HIDEW 0x0001
#define DTF_NODUP 0x0002
#define DTF_REWIND 0x0004
#define __DTF_READALL 0x0008
int alphasort(const void *, const void *) __asm("_" "alphasort" );
int closedir(DIR *) __asm("_" "closedir" );
int getdirentries(int, char *, int, long *);
DIR *opendir(const char *) __asm("_" "opendir" );
DIR *__opendir2(const char *, int) __asm("_" "__opendir2" );
struct dirent *readdir(DIR *) __asm("_" "readdir" );
int readdir_r(DIR *, struct dirent *, struct dirent **) __asm("_" "readdir_r" );
void rewinddir(DIR *) __asm("_" "rewinddir" );
int scandir(const char *, struct dirent ***,
int (*)(struct dirent *), int (*)(const void *, const void *)) __asm("_" "scandir" );
void seekdir(DIR *, long) __asm("_" "seekdir" );
long telldir(DIR *) __asm("_" "telldir" );
# 61 "mac.c" 2
# 1 "/usr/include/sys/stat.h" 1 3 4
# 71 "/usr/include/sys/stat.h" 3 4
#define _SYS_STAT_H_
#define __need_struct_timespec
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 85 "/usr/include/sys/_structs.h" 3 4
#undef __need_struct_timespec
# 79 "/usr/include/sys/stat.h" 2 3 4
# 152 "/usr/include/sys/stat.h" 3 4
struct ostat {
__uint16_t st_dev;
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
__uint16_t st_uid;
__uint16_t st_gid;
__uint16_t st_rdev;
__int32_t st_size;
struct timespec st_atimespec;
struct timespec st_mtimespec;
struct timespec st_ctimespec;
__int32_t st_blksize;
__int32_t st_blocks;
__uint32_t st_flags;
__uint32_t st_gen;
};
#define __DARWIN_STRUCT_STAT64_TIMES struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec;
# 200 "/usr/include/sys/stat.h" 3 4
#define __DARWIN_STRUCT_STAT64 { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; __DARWIN_STRUCT_STAT64_TIMES off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; }
# 228 "/usr/include/sys/stat.h" 3 4
struct stat {
dev_t st_dev;
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
struct timespec st_atimespec;
struct timespec st_mtimespec;
struct timespec st_ctimespec;
# 248 "/usr/include/sys/stat.h" 3 4
off_t st_size;
blkcnt_t st_blocks;
blksize_t st_blksize;
__uint32_t st_flags;
__uint32_t st_gen;
__int32_t st_lspare;
__int64_t st_qspare[2];
};
struct stat64 { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec; off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; };
#define st_atime st_atimespec.tv_sec
#define st_mtime st_mtimespec.tv_sec
#define st_ctime st_ctimespec.tv_sec
#define st_birthtime st_birthtimespec.tv_sec
# 329 "/usr/include/sys/stat.h" 3 4
#define S_ISBLK(m) (((m) & 0170000) == 0060000)
#define S_ISCHR(m) (((m) & 0170000) == 0020000)
#define S_ISDIR(m) (((m) & 0170000) == 0040000)
#define S_ISFIFO(m) (((m) & 0170000) == 0010000)
#define S_ISREG(m) (((m) & 0170000) == 0100000)
#define S_ISLNK(m) (((m) & 0170000) == 0120000)
#define S_ISSOCK(m) (((m) & 0170000) == 0140000)
#define S_ISWHT(m) (((m) & 0170000) == 0160000)
#define S_ISXATTR(m) (((m) & 0200000) == 0200000)
# 356 "/usr/include/sys/stat.h" 3 4
#define S_TYPEISMQ(buf) (0)
#define S_TYPEISSEM(buf) (0)
#define S_TYPEISSHM(buf) (0)
# 374 "/usr/include/sys/stat.h" 3 4
#define S_TYPEISTMO(buf) (0)
#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
#define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
#define S_BLKSIZE 512
#define UF_SETTABLE 0x0000ffff
#define UF_NODUMP 0x00000001
#define UF_IMMUTABLE 0x00000002
#define UF_APPEND 0x00000004
#define UF_OPAQUE 0x00000008
#define UF_HIDDEN 0x00008000
#define SF_SETTABLE 0xffff0000
#define SF_ARCHIVED 0x00010000
#define SF_IMMUTABLE 0x00020000
#define SF_APPEND 0x00040000
# 422 "/usr/include/sys/stat.h" 3 4
int chmod(const char *, mode_t) __asm("_" "chmod" );
int fchmod(int, mode_t) __asm("_" "fchmod" );
int fstat(int, struct stat *) __asm("_" "fstat" );
int lstat(const char *, struct stat *) __asm("_" "lstat" );
int mkdir(const char *, mode_t);
int mkfifo(const char *, mode_t);
int stat(const char *, struct stat *) __asm("_" "stat" );
int mknod(const char *, mode_t, dev_t);
mode_t umask(mode_t);
int chflags(const char *, __uint32_t);
int chmodx_np(const char *, filesec_t);
int fchflags(int, __uint32_t);
int fchmodx_np(int, filesec_t);
int fstatx_np(int, struct stat *, filesec_t) __asm("_" "fstatx_np" );
int lchflags(const char *, __uint32_t);
int lchmod(const char *, mode_t);
int lstatx_np(const char *, struct stat *, filesec_t) __asm("_" "lstatx_np" );
int mkdirx_np(const char *, filesec_t);
int mkfifox_np(const char *, filesec_t);
int statx_np(const char *, struct stat *, filesec_t) __asm("_" "statx_np" );
int umaskx_np(filesec_t);
int fstatx64_np(int, struct stat64 *, filesec_t);
int lstatx64_np(const char *, struct stat64 *, filesec_t);
int statx64_np(const char *, struct stat64 *, filesec_t);
int fstat64(int, struct stat64 *);
int lstat64(const char *, struct stat64 *);
int stat64(const char *, struct stat64 *);
# 63 "mac.c" 2
# 1 "/usr/include/pwd.h" 1 3 4
# 67 "/usr/include/pwd.h" 3 4
#define _PWD_H_
# 87 "/usr/include/pwd.h" 3 4
#define _PATH_PWD "/etc"
#define _PATH_PASSWD "/etc/passwd"
#define _PASSWD "passwd"
#define _PATH_MASTERPASSWD "/etc/master.passwd"
#define _PATH_MASTERPASSWD_LOCK "/etc/ptmp"
#define _MASTERPASSWD "master.passwd"
#define _PATH_MP_DB "/etc/pwd.db"
#define _MP_DB "pwd.db"
#define _PATH_SMP_DB "/etc/spwd.db"
#define _SMP_DB "spwd.db"
#define _PATH_PWD_MKDB "/usr/sbin/pwd_mkdb"
#define _PW_KEYBYNAME '1'
#define _PW_KEYBYNUM '2'
#define _PW_KEYBYUID '3'
#define _PASSWORD_EFMT1 '_'
#define _PASSWORD_LEN 128
#define _PASSWORD_NOUID 0x01
#define _PASSWORD_NOGID 0x02
#define _PASSWORD_NOCHG 0x04
#define _PASSWORD_NOEXP 0x08
#define _PASSWORD_WARNDAYS 14
#define _PASSWORD_CHGNOW -1
struct passwd {
char *pw_name;
char *pw_passwd;
uid_t pw_uid;
gid_t pw_gid;
__darwin_time_t pw_change;
char *pw_class;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
__darwin_time_t pw_expire;
};
struct passwd *getpwuid(uid_t);
struct passwd *getpwnam(const char *);
int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **);
int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **);
struct passwd *getpwent(void);
int setpassent(int);
char *user_from_uid(uid_t, int);
void setpwent(void);
void endpwent(void);
# 64 "mac.c" 2
# 1 "/usr/include/grp.h" 1 3 4
# 64 "/usr/include/grp.h" 3 4
#define _GRP_H_
# 84 "/usr/include/grp.h" 3 4
#define _PATH_GROUP "/etc/group"
struct group {
char *gr_name;
char *gr_passwd;
gid_t gr_gid;
char **gr_mem;
};
struct group *getgrgid(gid_t);
struct group *getgrnam(const char *);
int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **);
int getgrnam_r(const char *, struct group *, char *, size_t, struct group **);
struct group *getgrent(void);
void setgrent(void);
void endgrent(void);
char *group_from_gid(gid_t, int);
void setgrfile(const char *);
int setgroupent(int);
# 65 "mac.c" 2
# 1 "/usr/include/sys/param.h" 1 3 4
# 70 "/usr/include/sys/param.h" 3 4
#define _SYS_PARAM_H_
#define BSD 199506
#define BSD4_3 1
#define BSD4_4 1
#define NeXTBSD 1995064
#define NeXTBSD4_0 0
# 98 "/usr/include/sys/param.h" 3 4
#define MAXCOMLEN 16
#define MAXINTERP 64
#define MAXLOGNAME 255
#define MAXUPRC CHILD_MAX
#define NCARGS ARG_MAX
#define NGROUPS NGROUPS_MAX
#define NOFILE 256
#define NOGROUP 65535
#define MAXHOSTNAMELEN 256
#define MAXDOMNAMELEN 256
# 1 "/usr/include/machine/param.h" 1 3 4
# 32 "/usr/include/machine/param.h" 3 4
#define _BSD_MACHINE_PARAM_H_
# 1 "/usr/include/i386/param.h" 1 3 4
# 73 "/usr/include/i386/param.h" 3 4
#define _I386_PARAM_H_
# 1 "/usr/include/i386/_param.h" 1 3 4
# 30 "/usr/include/i386/_param.h" 3 4
#define _I386__PARAM_H_
# 39 "/usr/include/i386/_param.h" 3 4
#define __DARWIN_ALIGNBYTES (sizeof(__darwin_size_t) - 1)
#define __DARWIN_ALIGN(p) ((__darwin_size_t)((char *)(p) + __DARWIN_ALIGNBYTES) &~ __DARWIN_ALIGNBYTES)
# 76 "/usr/include/i386/param.h" 2 3 4
#define ALIGNBYTES __DARWIN_ALIGNBYTES
#define ALIGN(p) __DARWIN_ALIGN(p)
#define NBPG 4096
#define PGOFSET (NBPG-1)
#define PGSHIFT 12
#define DEV_BSIZE 512
#define DEV_BSHIFT 9
#define BLKDEV_IOSIZE 2048
#define MAXPHYS (128 * 1024)
#define CLSIZE 1
#define CLSIZELOG2 0
# 104 "/usr/include/i386/param.h" 3 4
#define MSIZE 256
#define MCLBYTES 2048
#define MCLSHIFT 11
#define MCLOFSET (MCLBYTES - 1)
#define NMBCLUSTERS ((1024 * 512) / MCLBYTES)
#define ctos(x) (x)
#define stoc(x) (x)
#define ctod(x) ((x)<<(PGSHIFT-DEV_BSHIFT))
#define dtoc(x) ((x)>>(PGSHIFT-DEV_BSHIFT))
#define dtob(x) ((x)<<DEV_BSHIFT)
#define ctob(x) ((x)<<PGSHIFT)
#define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT)
#define btodb(bytes,devBlockSize) ((unsigned)(bytes) / devBlockSize)
#define dbtob(db,devBlockSize) ((unsigned)(db) * devBlockSize)
# 152 "/usr/include/i386/param.h" 3 4
#define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
#define STATUS_WORD(rpl,ipl) (((ipl) << 8) | (rpl))
#define USERMODE(x) (((x) & 3) == 3)
#define BASEPRI(x) (((x) & (255 << 8)) == 0)
#define DELAY(n) { register int N = (n); while (--N > 0); }
# 38 "/usr/include/machine/param.h" 2 3 4
# 111 "/usr/include/sys/param.h" 2 3 4
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 1 3 4
# 1 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/syslimits.h" 1 3 4
#define _GCC_NEXT_LIMITS_H
# 8 "/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/limits.h" 2 3 4
#undef _GCC_NEXT_LIMITS_H
# 114 "/usr/include/sys/param.h" 2 3 4
# 122 "/usr/include/sys/param.h" 3 4
#define PSWP 0
#define PVM 4
#define PINOD 8
#define PRIBIO 16
#define PVFS 20
#define PZERO 22
#define PSOCK 24
#define PWAIT 32
#define PLOCK 36
#define PPAUSE 40
#define PUSER 50
#define MAXPRI 127
#define PRIMASK 0x0ff
#define PCATCH 0x100
#define PTTYBLOCK 0x200
#define PDROP 0x400
#define NBPW sizeof(int)
#define CMASK 022
#define NODEV (dev_t)(-1)
#define CLBYTES (CLSIZE*NBPG)
#define CLOFSET (CLSIZE*NBPG-1)
#define claligned(x) ((((int)(x))&CLOFSET)==0)
#define CLOFF CLOFSET
#define CLSHIFT (PGSHIFT+CLSIZELOG2)
#define clbase(i) (i)
#define clrnd(i) (i)
#define CBLOCK 64
#define CBQSIZE (CBLOCK/NBBY)
#define CBSIZE (CBLOCK - sizeof(struct cblock *) - CBQSIZE)
#define CROUND (CBLOCK - 1)
# 183 "/usr/include/sys/param.h" 3 4
#define MAXBSIZE (256 * 4096)
#define MAXPHYSIO MAXPHYS
#define MAXFRAG 8
#define MAXPHYSIO_WIRED (16 * 1024 * 1024)
# 198 "/usr/include/sys/param.h" 3 4
#define MAXPATHLEN PATH_MAX
#define MAXSYMLINKS 32
#define setbit(a,i) (((char *)(a))[(i)/NBBY] |= 1<<((i)%NBBY))
#define clrbit(a,i) (((char *)(a))[(i)/NBBY] &= ~(1<<((i)%NBBY)))
#define isset(a,i) (((char *)(a))[(i)/NBBY] & (1<<((i)%NBBY)))
#define isclr(a,i) ((((char *)(a))[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
#define roundup(x,y) ((((x)+((y)-1))/(y))*(y))
#define powerof2(x) ((((x)-1)&(x))==0)
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))
# 237 "/usr/include/sys/param.h" 3 4
#define MINBUCKET 4
#define MAXALLOCSAVE (2 * CLBYTES)
# 251 "/usr/include/sys/param.h" 3 4
#define FSHIFT 11
#define FSCALE (1<<FSHIFT)
# 66 "mac.c" 2
# 1 "/usr/include/fcntl.h" 1 3 4
# 67 "mac.c" 2
static int mac_system_script_code;
static Lisp_Object Vmac_system_locale;
static ComponentInstance as_scripting_component;
static OSAID as_script_context;
# 103 "mac.c"
void
string_cat_and_replace (char *s1, const char *s2, int n, char a, char b)
{
int l1 = strlen (s1);
int l2 = strlen (s2);
char *p = s1 + l1;
int i;
strncat (s1, s2, n);
for (i = 0; i < l2; i++)
{
if (*p == a)
*p = b;
p++;
}
}
# 130 "mac.c"
int
mac_to_posix_pathname (const char *mfn, char *ufn, int ufnbuflen)
{
const char *p, *q, *pe;
strcpy (ufn, "");
if (*mfn == '\0')
return 1;
p = strchr (mfn, ':');
if (p != 0 && p != mfn)
strcat (ufn, "/");
p = mfn;
if (*p == ':')
p++;
pe = mfn + strlen (mfn);
while (p < pe)
{
q = strchr (p, ':');
if (q)
{
if (q == p)
{
if (strlen (ufn) + 3 >= ufnbuflen)
return 0;
strcat (ufn, "../");
}
else
{
if (strlen (ufn) + (q - p) + 1 >= ufnbuflen)
return 0;
string_cat_and_replace (ufn, p, q - p, '/', ':');
strcat (ufn, "/");
}
p = q + 1;
}
else
{
if (strlen (ufn) + (pe - p) >= ufnbuflen)
return 0;
string_cat_and_replace (ufn, p, pe - p, '/', ':');
p = pe;
}
}
return 1;
}
extern char *get_temp_dir_name ();
int
posix_to_mac_pathname (const char *ufn, char *mfn, int mfnbuflen)
{
const char *p, *q, *pe;
char expanded_pathname[1024 +1];
strcpy (mfn, "");
if (*ufn == '\0')
return 1;
p = ufn;
if (*p == '/' && strchr (p+1, '/') == ((void *)0) && strcmp (p, "/.emacs") != 0)
{
if (strlen (p) + 1 > mfnbuflen)
return 0;
strcpy (mfn, p+1);
strcat (mfn, ":");
return 1;
}
if (strncmp (p, "~emacs/", 7) == 0)
{
struct passwd *pw = getpwnam ("emacs");
p += 7;
if (strlen (pw->pw_dir) + strlen (p) > 1024)
return 0;
strcpy (expanded_pathname, pw->pw_dir);
strcat (expanded_pathname, p);
p = expanded_pathname;
}
else if (strncmp (p, "/tmp/", 5) == 0)
{
char *t = get_temp_dir_name ();
p += 5;
if (strlen (t) + strlen (p) > 1024)
return 0;
strcpy (expanded_pathname, t);
strcat (expanded_pathname, p);
p = expanded_pathname;
}
else if (*p != '/')
strcat (mfn, ":");
if (*p == '/')
p++;
pe = p + strlen (p);
while (p < pe)
{
q = strchr (p, '/');
if (q)
{
if (q - p == 2 && *p == '.' && *(p+1) == '.')
{
if (strlen (mfn) + 1 >= mfnbuflen)
return 0;
strcat (mfn, ":");
}
else
{
if (strlen (mfn) + (q - p) + 1 >= mfnbuflen)
return 0;
string_cat_and_replace (mfn, p, q - p, ':', '/');
strcat (mfn, ":");
}
p = q + 1;
}
else
{
if (strlen (mfn) + (pe - p) >= mfnbuflen)
return 0;
string_cat_and_replace (mfn, p, pe - p, ':', '/');
p = pe;
}
}
return 1;
}
static Lisp_Object Qundecoded_file_name;
static struct {
AEKeyword keyword;
char *name;
Lisp_Object symbol;
} ae_attr_table [] =
{{keyTransactionIDAttr, "transaction-id"},
{keyReturnIDAttr, "return-id"},
{keyEventClassAttr, "event-class"},
{keyEventIDAttr, "event-id"},
{keyAddressAttr, "address"},
{keyOptionalKeywordAttr, "optional-keyword"},
{keyTimeoutAttr, "timeout"},
{keyInteractLevelAttr, "interact-level"},
{keyEventSourceAttr, "event-source"},
{keyOriginalAddressAttr, "original-address"},
{keyReplyRequestedAttr, "reply-requested"},
{KEY_EMACS_SUSPENSION_ID_ATTR, "emacs-suspension-id"}
};
static Lisp_Object
mac_aelist_to_lisp (desc_list)
const AEDescList *desc_list;
{
OSErr err;
long count;
Lisp_Object result, elem;
DescType desc_type;
Size size;
AEKeyword keyword;
AEDesc desc;
int attribute_p = 0;
err = AECountItems (desc_list, &count);
if (err != noErr)
return Qnil;
result = Qnil;
again:
while (count > 0)
{
if (attribute_p)
{
keyword = ae_attr_table[count - 1].keyword;
err = AESizeOfAttribute (desc_list, keyword, &desc_type, &size);
}
else
err = AESizeOfNthItem (desc_list, count, &desc_type, &size);
if (err == noErr)
switch (desc_type)
{
case typeAEList:
case typeAERecord:
case typeAppleEvent:
if (attribute_p)
err = AEGetAttributeDesc (desc_list, keyword, typeWildCard,
&desc);
else
err = AEGetNthDesc (desc_list, count, typeWildCard,
&keyword, &desc);
if (err != noErr)
break;
elem = mac_aelist_to_lisp (&desc);
AEDisposeDesc (&desc);
break;
default:
if (desc_type == typeNull)
elem = Qnil;
else
{
elem = make_uninit_string (size);
if (attribute_p)
err = AEGetAttributePtr (desc_list, keyword, typeWildCard,
&desc_type, (((void) 0,(struct Lisp_String *) ((long) ((elem) & ~((((long) 1) << 3) - 1))))->data + 0),
size, &size);
else
err = AEGetNthPtr (desc_list, count, typeWildCard, &keyword,
&desc_type, (((void) 0,(struct Lisp_String *) ((long) ((elem) & ~((((long) 1) << 3) - 1))))->data + 0), size, &size);
}
if (err != noErr)
break;
desc_type = ((UInt32)(UInt32) (__builtin_constant_p(desc_type) ? ((__uint32_t)((((__uint32_t)(desc_type) & 0xff000000) >> 24) | (((__uint32_t)(desc_type) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_type) & 0x0000ff00) << 8) | (((__uint32_t)(desc_type) & 0x000000ff) << 24))) : (__builtin_constant_p(desc_type) ? ((__uint32_t)((((__uint32_t)(desc_type) & 0xff000000) >> 24) | (((__uint32_t)(desc_type) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_type) & 0x0000ff00) << 8) | (((__uint32_t)(desc_type) & 0x000000ff) << 24))) : _OSSwapInt32(desc_type))));
elem = Fcons (make_unibyte_string ((char *) &desc_type, 4), elem);
break;
}
if (err == noErr || desc_list->descriptorType == typeAEList)
{
if (err != noErr)
elem = Qnil;
else if (desc_list->descriptorType != typeAEList)
{
if (attribute_p)
elem = Fcons (ae_attr_table[count-1].symbol, elem);
else
{
keyword = ((UInt32)(UInt32) (__builtin_constant_p(keyword) ? ((__uint32_t)((((__uint32_t)(keyword) & 0xff000000) >> 24) | (((__uint32_t)(keyword) & 0x00ff0000) >> 8) | (((__uint32_t)(keyword) & 0x0000ff00) << 8) | (((__uint32_t)(keyword) & 0x000000ff) << 24))) : (__builtin_constant_p(keyword) ? ((__uint32_t)((((__uint32_t)(keyword) & 0xff000000) >> 24) | (((__uint32_t)(keyword) & 0x00ff0000) >> 8) | (((__uint32_t)(keyword) & 0x0000ff00) << 8) | (((__uint32_t)(keyword) & 0x000000ff) << 24))) : _OSSwapInt32(keyword))));
elem = Fcons (make_unibyte_string ((char *) &keyword, 4),
elem);
}
}
result = Fcons (elem, result);
}
count--;
}
if (desc_list->descriptorType == typeAppleEvent && !attribute_p)
{
attribute_p = 1;
count = sizeof (ae_attr_table) / sizeof (ae_attr_table[0]);
goto again;
}
desc_type = ((UInt32)(UInt32) (__builtin_constant_p(desc_list->descriptorType) ? ((__uint32_t)((((__uint32_t)(desc_list->descriptorType) & 0xff000000) >> 24) | (((__uint32_t)(desc_list->descriptorType) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_list->descriptorType) & 0x0000ff00) << 8) | (((__uint32_t)(desc_list->descriptorType) & 0x000000ff) << 24))) : (__builtin_constant_p(desc_list->descriptorType) ? ((__uint32_t)((((__uint32_t)(desc_list->descriptorType) & 0xff000000) >> 24) | (((__uint32_t)(desc_list->descriptorType) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_list->descriptorType) & 0x0000ff00) << 8) | (((__uint32_t)(desc_list->descriptorType) & 0x000000ff) << 24))) : _OSSwapInt32(desc_list->descriptorType))));
return Fcons (make_unibyte_string ((char *) &desc_type, 4), result);
}
Lisp_Object
mac_aedesc_to_lisp (desc)
const AEDesc *desc;
{
OSErr err = noErr;
DescType desc_type = desc->descriptorType;
Lisp_Object result;
switch (desc_type)
{
case typeNull:
result = Qnil;
break;
case typeAEList:
case typeAERecord:
case typeAppleEvent:
return mac_aelist_to_lisp (desc);
# 451 "mac.c"
break;
default:
result = make_uninit_string (AEGetDescDataSize (desc));
err = AEGetDescData (desc, (((void) 0,(struct Lisp_String *) ((long) ((result) & ~((((long) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((long) ((result) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((result) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((result) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0));
break;
}
if (err != noErr)
return Qnil;
desc_type = ((UInt32)(UInt32) (__builtin_constant_p(desc_type) ? ((__uint32_t)((((__uint32_t)(desc_type) & 0xff000000) >> 24) | (((__uint32_t)(desc_type) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_type) & 0x0000ff00) << 8) | (((__uint32_t)(desc_type) & 0x000000ff) << 24))) : (__builtin_constant_p(desc_type) ? ((__uint32_t)((((__uint32_t)(desc_type) & 0xff000000) >> 24) | (((__uint32_t)(desc_type) & 0x00ff0000) >> 8) | (((__uint32_t)(desc_type) & 0x0000ff00) << 8) | (((__uint32_t)(desc_type) & 0x000000ff) << 24))) : _OSSwapInt32(desc_type))));
return Fcons (make_unibyte_string ((char *) &desc_type, 4), result);
}
OSErr
mac_ae_put_lisp (desc, keyword_or_index, obj)
AEDescList *desc;
UInt32 keyword_or_index;
Lisp_Object obj;
{
OSErr err;
if (!(desc->descriptorType == typeAppleEvent
|| desc->descriptorType == typeAERecord
|| desc->descriptorType == typeAEList))
return errAEWrongDataType;
if ((((enum Lisp_Type) (((unsigned long) ((obj))) & ((((long) 1) << 3) - 1))) == Lisp_Cons) && (((enum Lisp_Type) (((unsigned long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))))) & ((((long) 1) << 3) - 1))) == Lisp_String) && (((((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0) == 4)
{
DescType desc_type1 = ((UInt32)(UInt32) (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : _OSSwapInt32(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))))));
Lisp_Object data = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((obj)) & ~((((long) 1) << 3) - 1))))->u.cdr))), rest;
AEDesc desc1;
switch (desc_type1)
{
case typeNull:
case typeAppleEvent:
break;
case typeAEList:
case typeAERecord:
err = AECreateList (((void *)0), 0, desc_type1 == typeAERecord, &desc1);
if (err == noErr)
{
for (rest = data; (((enum Lisp_Type) (((unsigned long) ((rest))) & ((((long) 1) << 3) - 1))) == Lisp_Cons); rest = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((rest)) & ~((((long) 1) << 3) - 1))))->u.cdr))))
{
UInt32 keyword_or_index1 = 0;
Lisp_Object elem = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((rest)) & ~((((long) 1) << 3) - 1))))->car)));
if (desc_type1 == typeAERecord)
{
if ((((enum Lisp_Type) (((unsigned long) ((elem))) & ((((long) 1) << 3) - 1))) == Lisp_Cons) && (((enum Lisp_Type) (((unsigned long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))))) & ((((long) 1) << 3) - 1))) == Lisp_String)
&& (((((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0) == 4)
{
keyword_or_index1 =
((UInt32)(UInt32) (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : _OSSwapInt32(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0))))));
elem = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((elem)) & ~((((long) 1) << 3) - 1))))->u.cdr)));
}
else
continue;
}
err = mac_ae_put_lisp (&desc1, keyword_or_index1, elem);
if (err != noErr)
break;
}
if (err == noErr)
{
if (desc->descriptorType == typeAEList)
err = AEPutDesc (desc, keyword_or_index, &desc1);
else
err = AEPutParamDesc (desc, keyword_or_index, &desc1);
}
AEDisposeDesc (&desc1);
}
return err;
default:
if (!(((enum Lisp_Type) (((unsigned long) ((data))) & ((((long) 1) << 3) - 1))) == Lisp_String))
break;
if (desc->descriptorType == typeAEList)
err = AEPutPtr (desc, keyword_or_index, desc_type1,
(((void) 0,(struct Lisp_String *) ((long) ((data) & ~((((long) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((long) ((data) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((data) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((data) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0));
else
err = AEPutParamPtr (desc, keyword_or_index, desc_type1,
(((void) 0,(struct Lisp_String *) ((long) ((data) & ~((((long) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((long) ((data) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((data) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((data) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0));
return err;
}
}
if (desc->descriptorType == typeAEList)
err = AEPutPtr (desc, keyword_or_index, typeNull, ((void *)0), 0);
else
err = AEPutParamPtr (desc, keyword_or_index, typeNull, ((void *)0), 0);
return err;
}
static OSErr
mac_coerce_file_name_ptr (type_code, data_ptr, data_size,
to_type, handler_refcon, result)
DescType type_code;
const void *data_ptr;
Size data_size;
DescType to_type;
long handler_refcon;
AEDesc *result;
{
OSErr err;
if (type_code == typeNull)
err = errAECoercionFail;
else if (type_code == to_type || to_type == typeWildCard)
err = AECreateDesc (TYPE_FILE_NAME, data_ptr, data_size, result);
else if (type_code == TYPE_FILE_NAME)
{
CFStringRef str;
CFURLRef url = ((void *)0);
CFDataRef data = ((void *)0);
str = CFStringCreateWithBytes (((void *)0), data_ptr, data_size,
kCFStringEncodingUTF8, 0);
if (str)
{
url = CFURLCreateWithFileSystemPath (((void *)0), str,
kCFURLPOSIXPathStyle, 0);
CFRelease (str);
}
if (url)
{
data = CFURLCreateData (((void *)0), url, kCFStringEncodingUTF8, 1);
CFRelease (url);
}
if (data)
{
err = AECoercePtr (typeFileURL, CFDataGetBytePtr (data),
CFDataGetLength (data), to_type, result);
CFRelease (data);
}
else
err = memFullErr;
if (err != noErr)
{
FSRef fref;
char *buf;
buf = xmalloc (data_size + 1);
memcpy (buf, data_ptr, data_size);
buf[data_size] = '\0';
err = FSPathMakeRef (buf, &fref, ((void *)0));
xfree (buf);
if (err == noErr)
err = AECoercePtr (typeFSRef, &fref, sizeof (FSRef),
to_type, result);
}
# 631 "mac.c"
}
else if (to_type == TYPE_FILE_NAME)
{
CFURLRef url = ((void *)0);
CFStringRef str = ((void *)0);
CFDataRef data = ((void *)0);
if (type_code == typeFileURL)
url = CFURLCreateWithBytes (((void *)0), data_ptr, data_size,
kCFStringEncodingUTF8, ((void *)0));
else
{
AEDesc desc;
Size size;
char *buf;
err = AECoercePtr (type_code, data_ptr, data_size,
typeFileURL, &desc);
if (err == noErr)
{
size = AEGetDescDataSize (&desc);
buf = xmalloc (size);
err = AEGetDescData (&desc, buf, size);
if (err == noErr)
url = CFURLCreateWithBytes (((void *)0), buf, size,
kCFStringEncodingUTF8, ((void *)0));
xfree (buf);
AEDisposeDesc (&desc);
}
}
if (url)
{
str = CFURLCopyFileSystemPath (url, kCFURLPOSIXPathStyle);
CFRelease (url);
}
if (str)
{
data = CFStringCreateExternalRepresentation (((void *)0), str,
kCFStringEncodingUTF8,
'\0');
CFRelease (str);
}
if (data)
{
err = AECreateDesc (TYPE_FILE_NAME, CFDataGetBytePtr (data),
CFDataGetLength (data), result);
CFRelease (data);
}
if (err != noErr)
{
char file_name[1024];
if (type_code == typeFSRef && data_size == sizeof (FSRef))
err = FSRefMakePath (data_ptr, file_name, sizeof (file_name));
else
{
AEDesc desc;
FSRef fref;
err = AECoercePtr (type_code, data_ptr, data_size,
typeFSRef, &desc);
if (err == noErr)
{
err = AEGetDescData (&desc, &fref, sizeof (FSRef));
AEDisposeDesc (&desc);
}
if (err == noErr)
err = FSRefMakePath (&fref, file_name, sizeof (file_name));
}
if (err == noErr)
err = AECreateDesc (TYPE_FILE_NAME, file_name,
strlen (file_name), result);
}
# 738 "mac.c"
}
else
abort ();
if (err != noErr)
return errAECoercionFail;
return noErr;
}
static OSErr
mac_coerce_file_name_desc (from_desc, to_type, handler_refcon, result)
const AEDesc *from_desc;
DescType to_type;
long handler_refcon;
AEDesc *result;
{
OSErr err = noErr;
DescType from_type = from_desc->descriptorType;
if (from_type == typeNull)
err = errAECoercionFail;
else if (from_type == to_type || to_type == typeWildCard)
err = AEDuplicateDesc (from_desc, result);
else
{
char *data_ptr;
Size data_size;
data_size = AEGetDescDataSize (from_desc);
data_ptr = xmalloc (data_size);
err = AEGetDescData (from_desc, data_ptr, data_size);
if (err == noErr)
err = mac_coerce_file_name_ptr (from_type, data_ptr,
data_size, to_type,
handler_refcon, result);
xfree (data_ptr);
}
if (err != noErr)
return errAECoercionFail;
return noErr;
}
OSErr
init_coercion_handler ()
{
OSErr err;
static AECoercePtrUPP coerce_file_name_ptrUPP = ((void *)0);
static AECoerceDescUPP coerce_file_name_descUPP = ((void *)0);
if (coerce_file_name_ptrUPP == ((void *)0))
{
coerce_file_name_ptrUPP = ((AECoercePtrUPP)mac_coerce_file_name_ptr);
coerce_file_name_descUPP = ((AECoerceDescUPP)mac_coerce_file_name_desc);
}
err = AEInstallCoercionHandler (TYPE_FILE_NAME, typeWildCard,
(AECoercionHandlerUPP)
coerce_file_name_ptrUPP, 0, 0, 0);
if (err == noErr)
err = AEInstallCoercionHandler (typeWildCard, TYPE_FILE_NAME,
(AECoercionHandlerUPP)
coerce_file_name_ptrUPP, 0, 0, 0);
if (err == noErr)
err = AEInstallCoercionHandler (TYPE_FILE_NAME, typeWildCard,
coerce_file_name_descUPP, 0, 1, 0);
if (err == noErr)
err = AEInstallCoercionHandler (typeWildCard, TYPE_FILE_NAME,
coerce_file_name_descUPP, 0, 1, 0);
return err;
}
OSErr
create_apple_event (class, id, result)
AEEventClass class;
AEEventID id;
AppleEvent *result;
{
OSErr err;
static const ProcessSerialNumber psn = {0, kCurrentProcess};
AEAddressDesc address_desc;
err = AECreateDesc (typeProcessSerialNumber, &psn,
sizeof (ProcessSerialNumber), &address_desc);
if (err == noErr)
{
err = AECreateAppleEvent (class, id,
&address_desc,
kAutoGenerateReturnID,
kAnyTransactionID, result);
AEDisposeDesc (&address_desc);
}
return err;
}
Lisp_Object
mac_event_parameters_to_lisp (event, num_params, names, types)
EventRef event;
UInt32 num_params;
const EventParamName *names;
const EventParamType *types;
{
OSStatus err;
Lisp_Object result = Qnil;
UInt32 i;
ByteCount size;
CFStringRef string;
CFDataRef data;
char *buf = ((void *)0);
for (i = 0; i < num_params; i++)
{
EventParamName name = names[i];
EventParamType type = types[i];
switch (type)
{
case typeCFStringRef:
err = GetEventParameter (event, name, typeCFStringRef, ((void *)0),
sizeof (CFStringRef), ((void *)0), &string);
if (err != noErr)
break;
data = CFStringCreateExternalRepresentation (((void *)0), string,
kCFStringEncodingUTF8,
'?');
if (data == ((void *)0))
break;
name = ((UInt32)(UInt32) (__builtin_constant_p(name) ? ((__uint32_t)((((__uint32_t)(name) & 0xff000000) >> 24) | (((__uint32_t)(name) & 0x00ff0000) >> 8) | (((__uint32_t)(name) & 0x0000ff00) << 8) | (((__uint32_t)(name) & 0x000000ff) << 24))) : (__builtin_constant_p(name) ? ((__uint32_t)((((__uint32_t)(name) & 0xff000000) >> 24) | (((__uint32_t)(name) & 0x00ff0000) >> 8) | (((__uint32_t)(name) & 0x0000ff00) << 8) | (((__uint32_t)(name) & 0x000000ff) << 24))) : _OSSwapInt32(name))));
type = ((UInt32)(UInt32) (__builtin_constant_p(typeUTF8Text) ? ((__uint32_t)((((__uint32_t)(typeUTF8Text) & 0xff000000) >> 24) | (((__uint32_t)(typeUTF8Text) & 0x00ff0000) >> 8) | (((__uint32_t)(typeUTF8Text) & 0x0000ff00) << 8) | (((__uint32_t)(typeUTF8Text) & 0x000000ff) << 24))) : (__builtin_constant_p(typeUTF8Text) ? ((__uint32_t)((((__uint32_t)(typeUTF8Text) & 0xff000000) >> 24) | (((__uint32_t)(typeUTF8Text) & 0x00ff0000) >> 8) | (((__uint32_t)(typeUTF8Text) & 0x0000ff00) << 8) | (((__uint32_t)(typeUTF8Text) & 0x000000ff) << 24))) : _OSSwapInt32(typeUTF8Text))));
result =
Fcons (Fcons (make_unibyte_string ((char *) &name, 4),
Fcons (make_unibyte_string ((char *) &type, 4),
make_unibyte_string (CFDataGetBytePtr (data),
CFDataGetLength (data)))),
result);
CFRelease (data);
break;
default:
err = GetEventParameter (event, name, type, ((void *)0), 0, &size, ((void *)0));
if (err != noErr)
break;
buf = xrealloc (buf, size);
err = GetEventParameter (event, name, type, ((void *)0), size, ((void *)0), buf);
if (err == noErr)
{
name = ((UInt32)(UInt32) (__builtin_constant_p(name) ? ((__uint32_t)((((__uint32_t)(name) & 0xff000000) >> 24) | (((__uint32_t)(name) & 0x00ff0000) >> 8) | (((__uint32_t)(name) & 0x0000ff00) << 8) | (((__uint32_t)(name) & 0x000000ff) << 24))) : (__builtin_constant_p(name) ? ((__uint32_t)((((__uint32_t)(name) & 0xff000000) >> 24) | (((__uint32_t)(name) & 0x00ff0000) >> 8) | (((__uint32_t)(name) & 0x0000ff00) << 8) | (((__uint32_t)(name) & 0x000000ff) << 24))) : _OSSwapInt32(name))));
type = ((UInt32)(UInt32) (__builtin_constant_p(type) ? ((__uint32_t)((((__uint32_t)(type) & 0xff000000) >> 24) | (((__uint32_t)(type) & 0x00ff0000) >> 8) | (((__uint32_t)(type) & 0x0000ff00) << 8) | (((__uint32_t)(type) & 0x000000ff) << 24))) : (__builtin_constant_p(type) ? ((__uint32_t)((((__uint32_t)(type) & 0xff000000) >> 24) | (((__uint32_t)(type) & 0x00ff0000) >> 8) | (((__uint32_t)(type) & 0x0000ff00) << 8) | (((__uint32_t)(type) & 0x000000ff) << 24))) : _OSSwapInt32(type))));
result =
Fcons (Fcons (make_unibyte_string ((char *) &name, 4),
Fcons (make_unibyte_string ((char *) &type, 4),
make_unibyte_string (buf, size))),
result);
}
break;
}
}
if (buf)
xfree (buf);
return result;
}
static Lisp_Object Qstring, Qnumber, Qboolean, Qdate, Qdata;
static Lisp_Object Qarray, Qdictionary;
struct cfdict_context
{
Lisp_Object *result;
int with_tag, hash_bound;
};
CFStringRef
cfstring_create_with_utf8_cstring (c_str)
const char *c_str;
{
CFStringRef str;
str = CFStringCreateWithCString (((void *)0), c_str, kCFStringEncodingUTF8);
if (str == ((void *)0))
str = CFStringCreateWithCString (((void *)0), c_str, kCFStringEncodingMacRoman);
return str;
}
CFStringRef
cfstring_create_with_string (s)
Lisp_Object s;
{
CFStringRef string = ((void *)0);
if ((((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1))))->size_byte >= 0))
{
char *p, *end = (((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1))))->data + 0) + (((((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0);
for (p = (((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1))))->data + 0); p < end; p++)
if (!isascii (*p))
{
s = code_convert_string_norecord (s, Qutf_8, 1);
break;
}
string = CFStringCreateWithBytes (((void *)0), (((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0),
kCFStringEncodingUTF8, 0);
}
if (string == ((void *)0))
string = CFStringCreateWithBytes (((void *)0), (((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((s) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0),
kCFStringEncodingMacRoman, 0);
return string;
}
Lisp_Object
cfdata_to_lisp (data)
CFDataRef data;
{
CFIndex len = CFDataGetLength (data);
Lisp_Object result = make_uninit_string (len);
CFDataGetBytes (data, CFRangeMake (0, len), (((void) 0,(struct Lisp_String *) ((long) ((result) & ~((((long) 1) << 3) - 1))))->data + 0));
return result;
}
Lisp_Object
cfstring_to_lisp_nodecode (string)
CFStringRef string;
{
Lisp_Object result = Qnil;
const char *s = CFStringGetCStringPtr (string, kCFStringEncodingUTF8);
if (s)
result = make_unibyte_string (s, strlen (s));
else
{
CFDataRef data =
CFStringCreateExternalRepresentation (((void *)0), string,
kCFStringEncodingUTF8, '?');
if (data)
{
result = cfdata_to_lisp (data);
CFRelease (data);
}
}
return result;
}
Lisp_Object
cfstring_to_lisp (string)
CFStringRef string;
{
Lisp_Object result = cfstring_to_lisp_nodecode (string);
if (!((result) == (Qnil)))
{
result = code_convert_string_norecord (result, Qutf_8, 0);
result = string_to_multibyte (result);
}
return result;
}
Lisp_Object
cfnumber_to_lisp (number)
CFNumberRef number;
{
Lisp_Object result = Qnil;
SInt64 int_val;
CFNumberType emacs_int_type = kCFNumberSInt64Type;
double float_val;
if (CFNumberGetValue (number, emacs_int_type, &int_val)
&& !((long)(int_val) > (((long) 1 << ((64 - 3) - 1)) - 1) || (long) (int_val) < - ((long) 1 << ((64 - 3) - 1))))
result = (((long) (int_val)) << 3);
else
if (CFNumberGetValue (number, kCFNumberDoubleType, &float_val))
result = make_float (float_val);
return result;
}
Lisp_Object
cfdate_to_lisp (date)
CFDateRef date;
{
CFTimeInterval sec;
int high, low, microsec;
sec = CFDateGetAbsoluteTime (date) + kCFAbsoluteTimeIntervalSince1970;
high = sec / 65536.0;
low = sec - high * 65536.0;
microsec = (sec - floor (sec)) * 1000000.0;
return list3 ((((long) (high)) << 3), (((long) (low)) << 3), (((long) (microsec)) << 3));
}
Lisp_Object
cfboolean_to_lisp (boolean)
CFBooleanRef boolean;
{
return CFBooleanGetValue (boolean) ? Qt : Qnil;
}
Lisp_Object
cfobject_desc_to_lisp (object)
CFTypeRef object;
{
Lisp_Object result = Qnil;
CFStringRef desc = CFCopyDescription (object);
if (desc)
{
result = cfstring_to_lisp (desc);
CFRelease (desc);
}
return result;
}
static void
cfdictionary_add_to_list (key, value, context)
const void *key;
const void *value;
void *context;
{
struct cfdict_context *cxt = (struct cfdict_context *)context;
*cxt->result =
Fcons (Fcons (cfstring_to_lisp (key),
cfproperty_list_to_lisp (value, cxt->with_tag,
cxt->hash_bound)),
*cxt->result);
}
static void
cfdictionary_puthash (key, value, context)
const void *key;
const void *value;
void *context;
{
Lisp_Object lisp_key = cfstring_to_lisp (key);
struct cfdict_context *cxt = (struct cfdict_context *)context;
struct Lisp_Hash_Table *h = ((struct Lisp_Hash_Table *) ((long) ((*(cxt->result)) & ~((((long) 1) << 3) - 1))));
unsigned hash_code;
hash_lookup (h, lisp_key, &hash_code);
hash_put (h, lisp_key,
cfproperty_list_to_lisp (value, cxt->with_tag, cxt->hash_bound),
hash_code);
}
# 1164 "mac.c"
Lisp_Object
cfproperty_list_to_lisp (plist, with_tag, hash_bound)
CFPropertyListRef plist;
int with_tag, hash_bound;
{
CFTypeID type_id = CFGetTypeID (plist);
Lisp_Object tag = Qnil, result = Qnil;
struct gcpro gcpro1, gcpro2;
(((void) gcpro2, (void) gcpro1));
if (type_id == CFStringGetTypeID ())
{
tag = Qstring;
result = cfstring_to_lisp (plist);
}
else if (type_id == CFNumberGetTypeID ())
{
tag = Qnumber;
result = cfnumber_to_lisp (plist);
}
else if (type_id == CFBooleanGetTypeID ())
{
tag = Qboolean;
result = cfboolean_to_lisp (plist);
}
else if (type_id == CFDateGetTypeID ())
{
tag = Qdate;
result = cfdate_to_lisp (plist);
}
else if (type_id == CFDataGetTypeID ())
{
tag = Qdata;
result = cfdata_to_lisp (plist);
}
else if (type_id == CFArrayGetTypeID ())
{
CFIndex index, count = CFArrayGetCount (plist);
tag = Qarray;
result = Fmake_vector ((((long) (count)) << 3), Qnil);
for (index = 0; index < count; index++)
((void) 0,(struct Lisp_Vector *) ((long) ((result) & ~((((long) 1) << 3) - 1))))->contents[index] =
cfproperty_list_to_lisp (CFArrayGetValueAtIndex (plist, index),
with_tag, hash_bound);
}
else if (type_id == CFDictionaryGetTypeID ())
{
struct cfdict_context context;
CFIndex count = CFDictionaryGetCount (plist);
tag = Qdictionary;
context.result = &result;
context.with_tag = with_tag;
context.hash_bound = hash_bound;
if (hash_bound < 0 || count < hash_bound)
{
result = Qnil;
CFDictionaryApplyFunction (plist, cfdictionary_add_to_list,
&context);
}
else
{
result = make_hash_table (Qequal,
(((long) (count)) << 3),
make_float (1.5),
make_float (0.8),
Qnil, Qnil, Qnil);
CFDictionaryApplyFunction (plist, cfdictionary_puthash,
&context);
}
}
else
abort ();
((void) 0);
if (with_tag)
result = Fcons (tag, result);
return result;
}
# 1266 "mac.c"
#define P (*p)
#define LOOSE_BINDING Qlambda
#define SINGLE_COMPONENT Qquote
static void
skip_white_space (p)
const char **p;
{
while (*(*p) == ' ' || *(*p) == '\t')
(*p)++;
}
static int
parse_comment (p)
const char **p;
{
if (*(*p) == '!')
{
(*p)++;
while (*(*p))
if (*(*p)++ == '\n')
break;
return 1;
}
else
return 0;
}
static int
parse_include_file (p)
const char **p;
{
if (*(*p) == '#')
{
(*p)++;
while (*(*p))
if (*(*p)++ == '\n')
break;
return 1;
}
else
return 0;
}
static char
parse_binding (p)
const char **p;
{
if (*(*p) == '.' || *(*p) == '*')
{
char binding = *(*p)++;
while (*(*p) == '.' || *(*p) == '*')
if (*(*p)++ == '*')
binding = '*';
return binding;
}
else
return '\0';
}
static Lisp_Object
parse_component (p)
const char **p;
{
if (*(*p) == '?')
{
(*p)++;
return Qquote;
}
else if (isalnum (*(*p)) || *(*p) == '_' || *(*p) == '-')
{
const char *start = (*p)++;
while (isalnum (*(*p)) || *(*p) == '_' || *(*p) == '-')
(*p)++;
return make_unibyte_string (start, (*p) - start);
}
else
return Qnil;
}
static Lisp_Object
parse_resource_name (p)
const char **p;
{
Lisp_Object result = Qnil, component;
char binding;
if (parse_binding (p) == '*')
result = Fcons (Qlambda, result);
component = parse_component (p);
if (((component) == (Qnil)))
return Qnil;
result = Fcons (component, result);
while ((binding = parse_binding (p)) != '\0')
{
if (binding == '*')
result = Fcons (Qlambda, result);
component = parse_component (p);
if (((component) == (Qnil)))
return Qnil;
else
result = Fcons (component, result);
}
if (((component) == (Qquote)))
return Qnil;
return Fnreverse (result);
}
static Lisp_Object
parse_value (p)
const char **p;
{
char *q, *buf;
Lisp_Object seq = Qnil, result;
int buf_len, total_len = 0, len, continue_p;
q = strchr ((*p), '\n');
buf_len = q ? q - (*p) : strlen ((*p));
buf = xmalloc (buf_len);
while (1)
{
q = buf;
continue_p = 0;
while (*(*p))
{
if (*(*p) == '\n')
{
(*p)++;
break;
}
else if (*(*p) == '\\')
{
(*p)++;
if (*(*p) == '\0')
break;
else if (*(*p) == '\n')
{
(*p)++;
continue_p = 1;
break;
}
else if (*(*p) == 'n')
{
*q++ = '\n';
(*p)++;
}
else if ('0' <= (*p)[0] && (*p)[0] <= '7'
&& '0' <= (*p)[1] && (*p)[1] <= '7'
&& '0' <= (*p)[2] && (*p)[2] <= '7')
{
*q++ = (((*p)[0] - '0') << 6) + (((*p)[1] - '0') << 3) + ((*p)[2] - '0');
(*p) += 3;
}
else
*q++ = *(*p)++;
}
else
*q++ = *(*p)++;
}
len = q - buf;
seq = Fcons (make_unibyte_string (buf, len), seq);
total_len += len;
if (continue_p)
{
q = strchr ((*p), '\n');
len = q ? q - (*p) : strlen ((*p));
if (len > buf_len)
{
xfree (buf);
buf_len = len;
buf = xmalloc (buf_len);
}
}
else
break;
}
xfree (buf);
if ((((((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((seq)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((seq)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((seq)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0) == total_len)
return make_string ((((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((seq)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0), total_len);
else
{
buf = xmalloc (total_len);
q = buf + total_len;
for (; (((enum Lisp_Type) (((unsigned long) ((seq))) & ((((long) 1) << 3) - 1))) == Lisp_Cons); seq = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((seq)) & ~((((long) 1) << 3) - 1))))->u.cdr))))
{
len = (((((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((seq)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((seq)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((seq)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0);
q -= len;
memcpy (q, (((void) 0,(struct Lisp_String *) ((long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((seq)) & ~((((long) 1) << 3) - 1))))->car)))) & ~((((long) 1) << 3) - 1))))->data + 0), len);
}
result = make_string (buf, total_len);
xfree (buf);
return result;
}
}
static Lisp_Object
parse_resource_line (p)
const char **p;
{
Lisp_Object quarks, value;
if (parse_comment (p) || parse_include_file (p))
return Qnil;
skip_white_space (p);
quarks = parse_resource_name (p);
if (((quarks) == (Qnil)))
goto cleanup;
skip_white_space (p);
if (*(*p) != ':')
goto cleanup;
(*p)++;
skip_white_space (p);
value = parse_value (p);
return Fcons (quarks, value);
cleanup:
parse_value (p);
return Qnil;
}
#undef P
# 1529 "mac.c"
#define HASHKEY_MAX_NID (make_number (0))
#define HASHKEY_QUERY_CACHE (make_number (-1))
static XrmDatabase
xrm_create_database ()
{
XrmDatabase database;
database = make_hash_table (Qequal, (((long) (65)) << 3),
make_float (1.5),
make_float (0.8),
Qnil, Qnil, Qnil);
Fputhash (((((long) (0)) << 3)), (((long) (0)) << 3), database);
Fputhash (((((long) (-1)) << 3)), Qnil, database);
return database;
}
static void
xrm_q_put_resource (database, quarks, value)
XrmDatabase database;
Lisp_Object quarks, value;
{
struct Lisp_Hash_Table *h = ((struct Lisp_Hash_Table *) ((long) ((database) & ~((((long) 1) << 3) - 1))));
unsigned hash_code;
int max_nid, i;
Lisp_Object node_id, key;
max_nid = (((long) (Fgethash (((((long) (0)) << 3)), database, Qnil))) >> 3);
(node_id) = (((long) (0)) << 3);
for (; (((enum Lisp_Type) (((unsigned long) ((quarks))) & ((((long) 1) << 3) - 1))) == Lisp_Cons); quarks = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((quarks)) & ~((((long) 1) << 3) - 1))))->u.cdr))))
{
key = Fcons (node_id, (0+((((void) 0,(struct Lisp_Cons *) ((long) (((quarks)) & ~((((long) 1) << 3) - 1))))->car))));
i = hash_lookup (h, key, &hash_code);
if (i < 0)
{
max_nid++;
(node_id) = (((long) (max_nid)) << 3);
hash_put (h, key, node_id, hash_code);
}
else
node_id = ((void) 0,(struct Lisp_Vector *) ((long) ((((h)->key_and_value)) & ~((((long) 1) << 3) - 1))))->contents[2 * (i) + 1];
}
Fputhash (node_id, value, database);
Fputhash (((((long) (0)) << 3)), (((long) (max_nid)) << 3), database);
Fputhash (((((long) (-1)) << 3)), Qnil, database);
}
void
xrm_merge_string_database (database, data)
XrmDatabase database;
const char *data;
{
Lisp_Object quarks_value;
while (*data)
{
quarks_value = parse_resource_line (&data);
if (!((quarks_value) == (Qnil)))
xrm_q_put_resource (database,
(0+((((void) 0,(struct Lisp_Cons *) ((long) (((quarks_value)) & ~((((long) 1) << 3) - 1))))->car))), (0+((((void) 0,(struct Lisp_Cons *) ((long) (((quarks_value)) & ~((((long) 1) << 3) - 1))))->u.cdr))));
}
}
static Lisp_Object
xrm_q_get_resource_1 (database, node_id, quark_name, quark_class)
XrmDatabase database;
Lisp_Object node_id, quark_name, quark_class;
{
struct Lisp_Hash_Table *h = ((struct Lisp_Hash_Table *) ((long) ((database) & ~((((long) 1) << 3) - 1))));
Lisp_Object key, labels[3], value;
int i, k;
if (!(((enum Lisp_Type) (((unsigned long) ((quark_name))) & ((((long) 1) << 3) - 1))) == Lisp_Cons))
return Fgethash (node_id, database, Qnil);
labels[0] = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((quark_name)) & ~((((long) 1) << 3) - 1))))->car)));
labels[1] = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((quark_class)) & ~((((long) 1) << 3) - 1))))->car)));
labels[2] = Qquote;
key = Fcons (node_id, Qnil);
for (k = 0; k < sizeof (labels) / sizeof (*labels); k++)
{
((((void) 0,(struct Lisp_Cons *) ((long) (((key)) & ~((((long) 1) << 3) - 1))))->u.cdr) = (labels[k]));
i = hash_lookup (h, key, ((void *)0));
if (i >= 0)
{
value = xrm_q_get_resource_1 (database, ((void) 0,(struct Lisp_Vector *) ((long) ((((h)->key_and_value)) & ~((((long) 1) << 3) - 1))))->contents[2 * (i) + 1],
(0+((((void) 0,(struct Lisp_Cons *) ((long) (((quark_name)) & ~((((long) 1) << 3) - 1))))->u.cdr))), (0+((((void) 0,(struct Lisp_Cons *) ((long) (((quark_class)) & ~((((long) 1) << 3) - 1))))->u.cdr))));
if (!((value) == (Qnil)))
return value;
}
}
((((void) 0,(struct Lisp_Cons *) ((long) (((key)) & ~((((long) 1) << 3) - 1))))->u.cdr) = (Qlambda));
i = hash_lookup (h, key, ((void *)0));
if (i >= 0)
{
value = xrm_q_get_resource_1 (database, ((void) 0,(struct Lisp_Vector *) ((long) ((((h)->key_and_value)) & ~((((long) 1) << 3) - 1))))->contents[2 * (i) + 1],
quark_name, quark_class);
if (!((value) == (Qnil)))
return value;
else
return xrm_q_get_resource_1 (database, node_id,
(0+((((void) 0,(struct Lisp_Cons *) ((long) (((quark_name)) & ~((((long) 1) << 3) - 1))))->u.cdr))), (0+((((void) 0,(struct Lisp_Cons *) ((long) (((quark_class)) & ~((((long) 1) << 3) - 1))))->u.cdr))));
}
else
return Qnil;
}
static Lisp_Object
xrm_q_get_resource (database, quark_name, quark_class)
XrmDatabase database;
Lisp_Object quark_name, quark_class;
{
return xrm_q_get_resource_1 (database, (((long) (0)) << 3),
quark_name, quark_class);
}
Lisp_Object
xrm_get_resource (database, name, class)
XrmDatabase database;
const char *name, *class;
{
Lisp_Object key, query_cache, quark_name, quark_class, tmp;
int i, nn, nc;
struct Lisp_Hash_Table *h;
unsigned hash_code;
nn = strlen (name);
nc = strlen (class);
key = make_uninit_string (nn + nc + 1);
strcpy ((((void) 0,(struct Lisp_String *) ((long) ((key) & ~((((long) 1) << 3) - 1))))->data + 0), name);
strncpy ((((void) 0,(struct Lisp_String *) ((long) ((key) & ~((((long) 1) << 3) - 1))))->data + 0) + nn + 1, class, nc);
query_cache = Fgethash (((((long) (-1)) << 3)), database, Qnil);
if (((query_cache) == (Qnil)))
{
query_cache = make_hash_table (Qequal, (((long) (65)) << 3),
make_float (1.5),
make_float (0.8),
Qnil, Qnil, Qnil);
Fputhash (((((long) (-1)) << 3)), query_cache, database);
}
h = ((struct Lisp_Hash_Table *) ((long) ((query_cache) & ~((((long) 1) << 3) - 1))));
i = hash_lookup (h, key, &hash_code);
if (i >= 0)
return ((void) 0,(struct Lisp_Vector *) ((long) ((((h)->key_and_value)) & ~((((long) 1) << 3) - 1))))->contents[2 * (i) + 1];
quark_name = parse_resource_name (&name);
if (*name != '\0')
return Qnil;
for (tmp = quark_name, nn = 0; (((enum Lisp_Type) (((unsigned long) ((tmp))) & ((((long) 1) << 3) - 1))) == Lisp_Cons); tmp = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((tmp)) & ~((((long) 1) << 3) - 1))))->u.cdr))), nn++)
if (!(((enum Lisp_Type) (((unsigned long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((tmp)) & ~((((long) 1) << 3) - 1))))->car)))))) & ((((long) 1) << 3) - 1))) == Lisp_String))
return Qnil;
quark_class = parse_resource_name (&class);
if (*class != '\0')
return Qnil;
for (tmp = quark_class, nc = 0; (((enum Lisp_Type) (((unsigned long) ((tmp))) & ((((long) 1) << 3) - 1))) == Lisp_Cons); tmp = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((tmp)) & ~((((long) 1) << 3) - 1))))->u.cdr))), nc++)
if (!(((enum Lisp_Type) (((unsigned long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((tmp)) & ~((((long) 1) << 3) - 1))))->car)))))) & ((((long) 1) << 3) - 1))) == Lisp_String))
return Qnil;
if (nn != nc)
return Qnil;
else
{
tmp = xrm_q_get_resource (database, quark_name, quark_class);
hash_put (h, key, tmp, hash_code);
return tmp;
}
}
static Lisp_Object
xrm_cfproperty_list_to_value (plist)
CFPropertyListRef plist;
{
CFTypeID type_id = CFGetTypeID (plist);
if (type_id == CFStringGetTypeID ())
return cfstring_to_lisp (plist);
else if (type_id == CFNumberGetTypeID ())
{
CFStringRef string;
Lisp_Object result = Qnil;
string = CFStringCreateWithFormat (((void *)0), ((void *)0), ((CFStringRef) __builtin___CFStringMakeConstantString ("" "%@" "")), plist);
if (string)
{
result = cfstring_to_lisp (string);
CFRelease (string);
}
return result;
}
else if (type_id == CFBooleanGetTypeID ())
return build_string (CFBooleanGetValue (plist) ? "true" : "false");
else if (type_id == CFDataGetTypeID ())
return cfdata_to_lisp (plist);
else
return Qnil;
}
XrmDatabase
xrm_get_preference_database (application)
const char *application;
{
CFStringRef app_id, *keys, user_doms[2], host_doms[2];
CFMutableSetRef key_set = ((void *)0);
CFArrayRef key_array;
CFIndex index, count;
char *res_name;
XrmDatabase database;
Lisp_Object quarks = Qnil, value = Qnil;
CFPropertyListRef plist;
int iu, ih;
struct gcpro gcpro1, gcpro2, gcpro3;
user_doms[0] = kCFPreferencesCurrentUser;
user_doms[1] = kCFPreferencesAnyUser;
host_doms[0] = kCFPreferencesCurrentHost;
host_doms[1] = kCFPreferencesAnyHost;
database = xrm_create_database ();
(((void) gcpro3, (void) gcpro2, (void) gcpro1));
app_id = kCFPreferencesCurrentApplication;
if (application)
{
app_id = cfstring_create_with_utf8_cstring (application);
if (app_id == ((void *)0))
goto out;
}
if (!CFPreferencesAppSynchronize (app_id))
goto out;
key_set = CFSetCreateMutable (((void *)0), 0, &kCFCopyStringSetCallBacks);
if (key_set == ((void *)0))
goto out;
for (iu = 0; iu < sizeof (user_doms) / sizeof (*user_doms) ; iu++)
for (ih = 0; ih < sizeof (host_doms) / sizeof (*host_doms); ih++)
{
key_array = CFPreferencesCopyKeyList (app_id, user_doms[iu],
host_doms[ih]);
if (key_array)
{
count = CFArrayGetCount (key_array);
for (index = 0; index < count; index++)
CFSetAddValue (key_set,
CFArrayGetValueAtIndex (key_array, index));
CFRelease (key_array);
}
}
count = CFSetGetCount (key_set);
keys = xmalloc (sizeof (CFStringRef) * count);
CFSetGetValues (key_set, (const void **)keys);
for (index = 0; index < count; index++)
{
res_name = (((void) 0,(struct Lisp_String *) ((long) ((cfstring_to_lisp_nodecode (keys[index])) & ~((((long) 1) << 3) - 1))))->data + 0);
quarks = parse_resource_name (&res_name);
if (!(((quarks) == (Qnil)) || *res_name))
{
plist = CFPreferencesCopyAppValue (keys[index], app_id);
value = xrm_cfproperty_list_to_value (plist);
CFRelease (plist);
if (!((value) == (Qnil)))
xrm_q_put_resource (database, quarks, value);
}
}
xfree (keys);
out:
if (key_set)
CFRelease (key_set);
CFRelease (app_id);
((void) 0);
return database;
}
# 2994 "mac.c"
static int
path_from_vol_dir_name (char *path, int man_path_len, short vol_ref_num,
long dir_id, ConstStr255Param name)
{
Str255 dir_name;
CInfoPBRec cipb;
OSErr err;
if (strlen (name) > man_path_len)
return 0;
memcpy (dir_name, name, name[0]+1);
memcpy (path, name, name[0]+1);
p2cstr (path);
cipb.dirInfo.ioDrParID = dir_id;
cipb.dirInfo.ioNamePtr = dir_name;
do
{
cipb.dirInfo.ioVRefNum = vol_ref_num;
cipb.dirInfo.ioFDirIndex = -1;
cipb.dirInfo.ioDrDirID = cipb.dirInfo.ioDrParID;
err = PBGetCatInfo (&cipb, 0);
if (err != noErr)
return 0;
p2cstr (dir_name);
if (strlen (dir_name) + strlen (path) + 1 >= man_path_len)
return 0;
strcat (dir_name, ":");
strcat (dir_name, path);
strcpy (path, dir_name);
}
while (cipb.dirInfo.ioDrDirID != fsRtDirID);
return 1;
}
# 3322 "mac.c"
char *
get_temp_dir_name ()
{
static char *temp_dir_name = ((void *)0);
short vol_ref_num;
long dir_id;
OSErr err;
Str255 full_path;
char unix_dir_name[1024 +1];
DIR *dir;
if (!temp_dir_name)
{
err = FindFolder (kOnSystemDisk, kPreferencesFolderType, kCreateFolder,
&vol_ref_num, &dir_id);
if (err != noErr)
return ((void *)0);
if (!path_from_vol_dir_name (full_path, 255, vol_ref_num, dir_id, "\p"))
return ((void *)0);
if (strlen (full_path) + 6 <= 1024)
strcat (full_path, "Emacs:");
else
return ((void *)0);
if (!mac_to_posix_pathname (full_path, unix_dir_name, 1024 +1))
return ((void *)0);
dir = opendir (unix_dir_name);
if (dir)
closedir (dir);
else if (mkdir (unix_dir_name, 0700) != 0)
return ((void *)0);
temp_dir_name = (char *) unexec_malloc (strlen (unix_dir_name) + 1);
strcpy (temp_dir_name, unix_dir_name);
}
return temp_dir_name;
}
# 4076 "mac.c"
void
initialize_applescript ()
{
AEDesc null_desc;
OSAError osaerror;
as_scripting_component = OpenDefaultComponent (kOSAComponentType,
kAppleScriptSubtype);
null_desc.descriptorType = typeNull;
null_desc.dataHandle = 0;
osaerror = OSAMakeContext (as_scripting_component, &null_desc,
kOSANullScript, &as_script_context);
if (osaerror)
as_script_context = kOSANullScript;
}
void
terminate_applescript()
{
OSADispose (as_scripting_component, as_script_context);
CloseComponent (as_scripting_component);
}
OSType
mac_get_code_from_arg(Lisp_Object arg, OSType defCode)
{
OSType result;
if (((arg) == (Qnil)))
{
result = defCode;
}
else
{
do { if (!((((enum Lisp_Type) (((unsigned long) ((arg))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (arg)); } while (0);
if ((((((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0) != 4)
{
error ("Wrong argument: need string of length 4 for code");
}
result = ((UInt32)(UInt32) (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : (__builtin_constant_p(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))) ? ((__uint32_t)((((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0xff000000) >> 24) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x00ff0000) >> 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x0000ff00) << 8) | (((__uint32_t)(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))) & 0x000000ff) << 24))) : _OSSwapInt32(*((UInt32 *) (((void) 0,(struct Lisp_String *) ((long) ((arg) & ~((((long) 1) << 3) - 1))))->data + 0))))));
}
return result;
}
Lisp_Object
mac_get_object_from_code(OSType defCode)
{
UInt32 code = ((UInt32)(UInt32) (__builtin_constant_p(defCode) ? ((__uint32_t)((((__uint32_t)(defCode) & 0xff000000) >> 24) | (((__uint32_t)(defCode) & 0x00ff0000) >> 8) | (((__uint32_t)(defCode) & 0x0000ff00) << 8) | (((__uint32_t)(defCode) & 0x000000ff) << 24))) : (__builtin_constant_p(defCode) ? ((__uint32_t)((((__uint32_t)(defCode) & 0xff000000) >> 24) | (((__uint32_t)(defCode) & 0x00ff0000) >> 8) | (((__uint32_t)(defCode) & 0x0000ff00) << 8) | (((__uint32_t)(defCode) & 0x000000ff) << 24))) : _OSSwapInt32(defCode))));
return make_unibyte_string ((char *)&code, 4);
}
Lisp_Object Fmac_get_file_creator (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_get_file_creator = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fmac_get_file_creator, 1, 1, "mac-get-file-creator", 0, 0}; Lisp_Object Fmac_get_file_creator
(filename)
Lisp_Object filename;
{
OSStatus status;
FSRef fref;
Lisp_Object result = Qnil;
do { if (!((((enum Lisp_Type) (((unsigned long) ((filename))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
if (((Ffile_exists_p(filename)) == (Qnil)) || !((Ffile_directory_p(filename)) == (Qnil))) {
return Qnil;
}
filename = Fexpand_file_name (filename, Qnil);
(interrupt_input_blocked++);
status = FSPathMakeRef((((void) 0,(struct Lisp_String *) ((long) (((! ((Vfile_name_coding_system) == (Qnil)) && !((Vfile_name_coding_system) == ((((long) (0)) << 3))) ? code_convert_string_norecord (filename, Vfile_name_coding_system, 1) : (! ((Vdefault_file_name_coding_system) == (Qnil)) && !((Vdefault_file_name_coding_system) == ((((long) (0)) << 3))) ? code_convert_string_norecord (filename, Vdefault_file_name_coding_system, 1) : filename))) & ~((((long) 1) << 3) - 1))))->data + 0), &fref, ((void *)0));
if (status == noErr)
{
FSCatalogInfo catalogInfo;
status = FSGetCatalogInfo(&fref, kFSCatInfoFinderInfo,
&catalogInfo, ((void *)0), ((void *)0), ((void *)0));
if (status == noErr)
{
result = mac_get_object_from_code(((FileInfo*)&catalogInfo.finderInfo)->fileCreator);
}
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (status != noErr) {
error ("Error while getting file information.");
}
return result;
}
Lisp_Object Fmac_get_file_type (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_get_file_type = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fmac_get_file_type, 1, 1, "mac-get-file-type", 0, 0}; Lisp_Object Fmac_get_file_type
(filename)
Lisp_Object filename;
{
OSStatus status;
FSRef fref;
Lisp_Object result = Qnil;
do { if (!((((enum Lisp_Type) (((unsigned long) ((filename))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
if (((Ffile_exists_p(filename)) == (Qnil)) || !((Ffile_directory_p(filename)) == (Qnil))) {
return Qnil;
}
filename = Fexpand_file_name (filename, Qnil);
(interrupt_input_blocked++);
status = FSPathMakeRef((((void) 0,(struct Lisp_String *) ((long) (((! ((Vfile_name_coding_system) == (Qnil)) && !((Vfile_name_coding_system) == ((((long) (0)) << 3))) ? code_convert_string_norecord (filename, Vfile_name_coding_system, 1) : (! ((Vdefault_file_name_coding_system) == (Qnil)) && !((Vdefault_file_name_coding_system) == ((((long) (0)) << 3))) ? code_convert_string_norecord (filename, Vdefault_file_name_coding_system, 1) : filename))) & ~((((long) 1) << 3) - 1))))->data + 0), &fref, ((void *)0));
if (status == noErr)
{
FSCatalogInfo catalogInfo;
status = FSGetCatalogInfo(&fref, kFSCatInfoFinderInfo,
&catalogInfo, ((void *)0), ((void *)0), ((void *)0));
if (status == noErr)
{
result = mac_get_object_from_code(((FileInfo*)&catalogInfo.finderInfo)->fileType);
}
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (status != noErr) {
error ("Error while getting file information.");
}
return result;
}
Lisp_Object Fmac_set_file_creator (Lisp_Object, Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_set_file_creator = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fmac_set_file_creator, 1, 2, "mac-set-file-creator", 0, 0}; Lisp_Object Fmac_set_file_creator
(filename, code)
Lisp_Object filename, code;
{
OSStatus status;
FSRef fref;
OSType cCode;
do { if (!((((enum Lisp_Type) (((unsigned long) ((filename))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
cCode = mac_get_code_from_arg(code, MAC_EMACS_CREATOR_CODE);
if (((Ffile_exists_p(filename)) == (Qnil)) || !((Ffile_directory_p(filename)) == (Qnil))) {
return Qnil;
}
filename = Fexpand_file_name (filename, Qnil);
(interrupt_input_blocked++);
status = FSPathMakeRef((((void) 0,(struct Lisp_String *) ((long) (((! ((Vfile_name_coding_system) == (Qnil)) && !((Vfile_name_coding_system) == ((((long) (0)) << 3))) ? code_convert_string_norecord (filename, Vfile_name_coding_system, 1) : (! ((Vdefault_file_name_coding_system) == (Qnil)) && !((Vdefault_file_name_coding_system) == ((((long) (0)) << 3))) ? code_convert_string_norecord (filename, Vdefault_file_name_coding_system, 1) : filename))) & ~((((long) 1) << 3) - 1))))->data + 0), &fref, ((void *)0));
if (status == noErr)
{
FSCatalogInfo catalogInfo;
FSRef parentDir;
status = FSGetCatalogInfo(&fref, kFSCatInfoFinderInfo,
&catalogInfo, ((void *)0), ((void *)0), &parentDir);
if (status == noErr)
{
((FileInfo*)&catalogInfo.finderInfo)->fileCreator = cCode;
status = FSSetCatalogInfo(&fref, kFSCatInfoFinderInfo, &catalogInfo);
}
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (status != noErr) {
error ("Error while setting creator information.");
}
return Qt;
}
Lisp_Object Fmac_set_file_type (Lisp_Object, Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_set_file_type = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fmac_set_file_type, 2, 2, "mac-set-file-type", 0, 0}; Lisp_Object Fmac_set_file_type
(filename, code)
Lisp_Object filename, code;
{
OSStatus status;
FSRef fref;
OSType cCode;
do { if (!((((enum Lisp_Type) (((unsigned long) ((filename))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
cCode = mac_get_code_from_arg(code, 0);
if (((Ffile_exists_p(filename)) == (Qnil)) || !((Ffile_directory_p(filename)) == (Qnil))) {
return Qnil;
}
filename = Fexpand_file_name (filename, Qnil);
(interrupt_input_blocked++);
status = FSPathMakeRef((((void) 0,(struct Lisp_String *) ((long) (((! ((Vfile_name_coding_system) == (Qnil)) && !((Vfile_name_coding_system) == ((((long) (0)) << 3))) ? code_convert_string_norecord (filename, Vfile_name_coding_system, 1) : (! ((Vdefault_file_name_coding_system) == (Qnil)) && !((Vdefault_file_name_coding_system) == ((((long) (0)) << 3))) ? code_convert_string_norecord (filename, Vdefault_file_name_coding_system, 1) : filename))) & ~((((long) 1) << 3) - 1))))->data + 0), &fref, ((void *)0));
if (status == noErr)
{
FSCatalogInfo catalogInfo;
FSRef parentDir;
status = FSGetCatalogInfo(&fref, kFSCatInfoFinderInfo,
&catalogInfo, ((void *)0), ((void *)0), &parentDir);
if (status == noErr)
{
((FileInfo*)&catalogInfo.finderInfo)->fileType = cCode;
status = FSSetCatalogInfo(&fref, kFSCatInfoFinderInfo, &catalogInfo);
}
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (status != noErr) {
error ("Error while setting creator information.");
}
return Qt;
}
# 4378 "mac.c"
static long
do_applescript (script, result)
Lisp_Object script, *result;
{
AEDesc script_desc, result_desc, error_desc, *desc = ((void *)0);
OSErr error;
OSAError osaerror;
*result = Qnil;
if (!as_scripting_component)
initialize_applescript();
error = AECreateDesc (typeChar, (((void) 0,(struct Lisp_String *) ((long) ((script) & ~((((long) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((long) ((script) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((script) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((script) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0),
&script_desc);
if (error)
return error;
osaerror = OSADoScript (as_scripting_component, &script_desc, kOSANullScript,
typeChar, kOSAModeNull, &result_desc);
if (osaerror == noErr)
desc = &result_desc;
else if (osaerror == errOSAScriptError)
if (!OSAScriptError (as_scripting_component, kOSAErrorMessage, typeChar,
&error_desc))
desc = &error_desc;
if (desc)
{
*result = make_uninit_string (AEGetDescDataSize (desc));
AEGetDescData (desc, (((void) 0,(struct Lisp_String *) ((long) ((*result) & ~((((long) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((long) ((*result) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((*result) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((*result) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0));
AEDisposeDesc (desc);
}
AEDisposeDesc (&script_desc);
return osaerror;
}
Lisp_Object Fdo_applescript (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Sdo_applescript = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fdo_applescript, 1, 1, "do-applescript", 0, 0}; Lisp_Object Fdo_applescript
(script)
Lisp_Object script;
{
Lisp_Object result;
long status;
do { if (!((((enum Lisp_Type) (((unsigned long) ((script))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (script)); } while (0);
(interrupt_input_blocked++);
status = do_applescript (script, &result);
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (status == 0)
return result;
else if (!(((enum Lisp_Type) (((unsigned long) ((result))) & ((((long) 1) << 3) - 1))) == Lisp_String))
error ("AppleScript error %d", status);
else
error ("%s", (((void) 0,(struct Lisp_String *) ((long) ((result) & ~((((long) 1) << 3) - 1))))->data + 0));
}
Lisp_Object Fmac_file_name_to_posix (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_file_name_to_posix = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fmac_file_name_to_posix, 1, 1, "mac-file-name-to-posix", 0, 0}; Lisp_Object Fmac_file_name_to_posix
(filename)
Lisp_Object filename;
{
char posix_filename[1024 +1];
do { if (!((((enum Lisp_Type) (((unsigned long) ((filename))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
if (mac_to_posix_pathname ((((void) 0,(struct Lisp_String *) ((long) ((filename) & ~((((long) 1) << 3) - 1))))->data + 0), posix_filename, 1024))
return build_string (posix_filename);
else
return Qnil;
}
Lisp_Object Fposix_file_name_to_mac (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Sposix_file_name_to_mac = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fposix_file_name_to_mac, 1, 1, "posix-file-name-to-mac", 0, 0}; Lisp_Object Fposix_file_name_to_mac
(filename)
Lisp_Object filename;
{
char mac_filename[1024 +1];
do { if (!((((enum Lisp_Type) (((unsigned long) ((filename))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (filename)); } while (0);
if (posix_to_mac_pathname ((((void) 0,(struct Lisp_String *) ((long) ((filename) & ~((((long) 1) << 3) - 1))))->data + 0), mac_filename, 1024))
return build_string (mac_filename);
else
return Qnil;
}
Lisp_Object Fmac_coerce_ae_data (Lisp_Object, Lisp_Object, Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_coerce_ae_data = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fmac_coerce_ae_data, 3, 3, "mac-coerce-ae-data", 0, 0}; Lisp_Object Fmac_coerce_ae_data
(src_type, src_data, dst_type)
Lisp_Object src_type, src_data, dst_type;
{
OSErr err;
Lisp_Object result = Qnil;
DescType src_desc_type, dst_desc_type;
AEDesc dst_desc;
do { if (!((((enum Lisp_Type) (((unsigned long) ((src_data))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (src_data)); } while (0);
if (((src_type) == (Qundecoded_file_name)))
src_desc_type = TYPE_FILE_NAME;
else
src_desc_type = mac_get_code_from_arg (src_type, 0);
if (((dst_type) == (Qundecoded_file_name)))
dst_desc_type = TYPE_FILE_NAME;
else
dst_desc_type = mac_get_code_from_arg (dst_type, 0);
(interrupt_input_blocked++);
err = AECoercePtr (src_desc_type, (((void) 0,(struct Lisp_String *) ((long) ((src_data) & ~((((long) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((long) ((src_data) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((src_data) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((src_data) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0),
dst_desc_type, &dst_desc);
if (err == noErr)
{
result = Fcdr (mac_aedesc_to_lisp (&dst_desc));
AEDisposeDesc (&dst_desc);
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
return result;
}
static Lisp_Object Qxml, Qmime_charset;
static Lisp_Object QNFD, QNFKD, QNFC, QNFKC, QHFS_plus_D, QHFS_plus_C;
Lisp_Object Fmac_get_preference (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_get_preference = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fmac_get_preference, 1, 4, "mac-get-preference", 0, 0}; Lisp_Object Fmac_get_preference
# 4563 "mac.c"
(key, application, format, hash_bound)
Lisp_Object key, application, format, hash_bound;
{
CFStringRef app_id, key_str;
CFPropertyListRef app_plist = ((void *)0), plist;
Lisp_Object result = Qnil, tmp;
struct gcpro gcpro1, gcpro2;
if ((((enum Lisp_Type) (((unsigned long) ((key))) & ((((long) 1) << 3) - 1))) == Lisp_String))
key = Fcons (key, Qnil);
else
{
do { if (!((((enum Lisp_Type) (((unsigned long) ((key))) & ((((long) 1) << 3) - 1))) == Lisp_Cons))) wrong_type_argument (Qconsp, (key)); } while (0);
for (tmp = key; (((enum Lisp_Type) (((unsigned long) ((tmp))) & ((((long) 1) << 3) - 1))) == Lisp_Cons); tmp = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((tmp)) & ~((((long) 1) << 3) - 1))))->u.cdr))))
do { if (!((((enum Lisp_Type) (((unsigned long) (((0+((((void) 0,(struct Lisp_Cons *) ((long) (((tmp)) & ~((((long) 1) << 3) - 1))))->car)))))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, ((0+((((void) 0,(struct Lisp_Cons *) ((long) (((tmp)) & ~((((long) 1) << 3) - 1))))->car))))); } while (0);
do { if (!(((tmp) == (Qnil)))) wrong_type_argument (Qlistp, (key)); } while (0);
}
if (!((application) == (Qnil)))
do { if (!((((enum Lisp_Type) (((unsigned long) ((application))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (application)); } while (0);
do { if (!((((enum Lisp_Type) (((unsigned long) ((format))) & ((((long) 1) << 3) - 1))) == Lisp_Symbol))) wrong_type_argument (Qsymbolp, (format)); } while (0);
if (!((hash_bound) == (Qnil)))
do { if (!((((enum Lisp_Type) (((unsigned long) ((hash_bound))) & ((((long) 1) << 3) - 1))) == Lisp_Int))) wrong_type_argument (Qintegerp, (hash_bound)); } while (0);
(((void) gcpro2, (void) gcpro1));
(interrupt_input_blocked++);
app_id = kCFPreferencesCurrentApplication;
if (!((application) == (Qnil)))
{
app_id = cfstring_create_with_string (application);
if (app_id == ((void *)0))
goto out;
}
if (!CFPreferencesAppSynchronize (app_id))
goto out;
key_str = cfstring_create_with_string ((0+((((void) 0,(struct Lisp_Cons *) ((long) (((key)) & ~((((long) 1) << 3) - 1))))->car))));
if (key_str == ((void *)0))
goto out;
app_plist = CFPreferencesCopyAppValue (key_str, app_id);
CFRelease (key_str);
if (app_plist == ((void *)0))
goto out;
plist = app_plist;
for (key = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((key)) & ~((((long) 1) << 3) - 1))))->u.cdr))); (((enum Lisp_Type) (((unsigned long) ((key))) & ((((long) 1) << 3) - 1))) == Lisp_Cons); key = (0+((((void) 0,(struct Lisp_Cons *) ((long) (((key)) & ~((((long) 1) << 3) - 1))))->u.cdr))))
{
if (CFGetTypeID (plist) != CFDictionaryGetTypeID ())
break;
key_str = cfstring_create_with_string ((0+((((void) 0,(struct Lisp_Cons *) ((long) (((key)) & ~((((long) 1) << 3) - 1))))->car))));
if (key_str == ((void *)0))
goto out;
plist = CFDictionaryGetValue (plist, key_str);
CFRelease (key_str);
if (plist == ((void *)0))
goto out;
}
if (((key) == (Qnil)))
{
if (((format) == (Qxml)))
{
CFDataRef data = CFPropertyListCreateXMLData (((void *)0), plist);
if (data == ((void *)0))
goto out;
result = cfdata_to_lisp (data);
CFRelease (data);
}
else
result =
cfproperty_list_to_lisp (plist, ((format) == (Qt)),
((hash_bound) == (Qnil)) ? -1 : (((long) (hash_bound)) >> 3));
}
out:
if (app_plist)
CFRelease (app_plist);
CFRelease (app_id);
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
((void) 0);
return result;
}
static CFStringEncoding
get_cfstring_encoding_from_lisp (obj)
Lisp_Object obj;
{
CFStringRef iana_name;
CFStringEncoding encoding = (0xffffffffU);
if (((obj) == (Qnil)))
return kCFStringEncodingUnicode;
if ((((enum Lisp_Type) (((unsigned long) ((obj))) & ((((long) 1) << 3) - 1))) == Lisp_Int))
return (((long) (obj)) >> 3);
if ((((enum Lisp_Type) (((unsigned long) ((obj))) & ((((long) 1) << 3) - 1))) == Lisp_Symbol) && !((Fcoding_system_p (obj)) == (Qnil)))
{
Lisp_Object coding_spec, plist;
coding_spec = Fget (obj, Qcoding_system);
plist = ((void) 0,(struct Lisp_Vector *) ((long) ((coding_spec) & ~((((long) 1) << 3) - 1))))->contents[3];
obj = Fplist_get (((void) 0,(struct Lisp_Vector *) ((long) ((coding_spec) & ~((((long) 1) << 3) - 1))))->contents[3], Qmime_charset);
}
if ((((enum Lisp_Type) (((unsigned long) ((obj))) & ((((long) 1) << 3) - 1))) == Lisp_Symbol))
obj = (0+(((void) 0,(struct Lisp_Symbol *) ((long) ((obj) & ~((((long) 1) << 3) - 1))))->xname));
if ((((enum Lisp_Type) (((unsigned long) ((obj))) & ((((long) 1) << 3) - 1))) == Lisp_String))
{
iana_name = cfstring_create_with_string (obj);
if (iana_name)
{
encoding = CFStringConvertIANACharSetNameToEncoding (iana_name);
CFRelease (iana_name);
}
}
return encoding;
}
static CFStringRef
cfstring_create_normalized (str, symbol)
CFStringRef str;
Lisp_Object symbol;
{
int form = -1;
TextEncodingVariant variant;
float initial_mag = 0.0;
CFStringRef result = ((void *)0);
if (((symbol) == (QNFD)))
form = kCFStringNormalizationFormD;
else if (((symbol) == (QNFKD)))
form = kCFStringNormalizationFormKD;
else if (((symbol) == (QNFC)))
form = kCFStringNormalizationFormC;
else if (((symbol) == (QNFKC)))
form = kCFStringNormalizationFormKC;
else if (((symbol) == (QHFS_plus_D)))
{
variant = kUnicodeHFSPlusDecompVariant;
initial_mag = 1.5;
}
else if (((symbol) == (QHFS_plus_C)))
{
variant = kUnicodeHFSPlusCompVariant;
initial_mag = 1.0;
}
if (form >= 0)
{
CFMutableStringRef mut_str = CFStringCreateMutableCopy (((void *)0), 0, str);
if (mut_str)
{
CFStringNormalize (mut_str, form);
result = mut_str;
}
}
else if (initial_mag > 0.0)
{
UnicodeToTextInfo uni = ((void *)0);
UnicodeMapping map;
CFIndex length;
UniChar *in_text, *buffer = ((void *)0), *out_buf = ((void *)0);
OSStatus err = noErr;
ByteCount out_read, out_size, out_len;
map.unicodeEncoding = CreateTextEncoding (kTextEncodingUnicodeDefault,
kUnicodeNoSubset,
kTextEncodingDefaultFormat);
map.otherEncoding = CreateTextEncoding (kTextEncodingUnicodeDefault,
variant,
kTextEncodingDefaultFormat);
map.mappingVersion = kUnicodeUseLatestMapping;
length = CFStringGetLength (str);
out_size = (int)((float)length * initial_mag) * sizeof (UniChar);
if (out_size < 32)
out_size = 32;
in_text = (UniChar *)CFStringGetCharactersPtr (str);
if (in_text == ((void *)0))
{
buffer = xmalloc (sizeof (UniChar) * length);
CFStringGetCharacters (str, CFRangeMake (0, length), buffer);
in_text = buffer;
}
if (in_text)
err = CreateUnicodeToTextInfo (&map, &uni);
while (err == noErr)
{
out_buf = xmalloc (out_size);
err = ConvertFromUnicodeToText (uni, length * sizeof (UniChar),
in_text,
kUnicodeDefaultDirectionMask,
0, ((void *)0), ((void *)0), ((void *)0),
out_size, &out_read, &out_len,
out_buf);
if (err == noErr && out_read < length * sizeof (UniChar))
{
xfree (out_buf);
out_size += length;
}
else
break;
}
if (err == noErr)
result = CFStringCreateWithCharacters (((void *)0), out_buf,
out_len / sizeof (UniChar));
if (uni)
DisposeUnicodeToTextInfo (&uni);
if (out_buf)
xfree (out_buf);
if (buffer)
xfree (buffer);
}
else
{
result = str;
CFRetain (result);
}
return result;
}
Lisp_Object Fmac_code_convert_string (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_code_convert_string = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fmac_code_convert_string, 3, 4, "mac-code-convert-string", 0, 0}; Lisp_Object Fmac_code_convert_string
# 4808 "mac.c"
(string, source, target, normalization_form)
Lisp_Object string, source, target, normalization_form;
{
Lisp_Object result = Qnil;
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
CFStringEncoding src_encoding, tgt_encoding;
CFStringRef str = ((void *)0);
do { if (!((((enum Lisp_Type) (((unsigned long) ((string))) & ((((long) 1) << 3) - 1))) == Lisp_String))) wrong_type_argument (Qstringp, (string)); } while (0);
if (!(((enum Lisp_Type) (((unsigned long) ((source))) & ((((long) 1) << 3) - 1))) == Lisp_Int) && !(((enum Lisp_Type) (((unsigned long) ((source))) & ((((long) 1) << 3) - 1))) == Lisp_String))
do { if (!((((enum Lisp_Type) (((unsigned long) ((source))) & ((((long) 1) << 3) - 1))) == Lisp_Symbol))) wrong_type_argument (Qsymbolp, (source)); } while (0);
if (!(((enum Lisp_Type) (((unsigned long) ((target))) & ((((long) 1) << 3) - 1))) == Lisp_Int) && !(((enum Lisp_Type) (((unsigned long) ((target))) & ((((long) 1) << 3) - 1))) == Lisp_String))
do { if (!((((enum Lisp_Type) (((unsigned long) ((target))) & ((((long) 1) << 3) - 1))) == Lisp_Symbol))) wrong_type_argument (Qsymbolp, (target)); } while (0);
do { if (!((((enum Lisp_Type) (((unsigned long) ((normalization_form))) & ((((long) 1) << 3) - 1))) == Lisp_Symbol))) wrong_type_argument (Qsymbolp, (normalization_form)); } while (0);
(((void) gcpro4, (void) gcpro3, (void) gcpro2, (void) gcpro1));
(interrupt_input_blocked++);
src_encoding = get_cfstring_encoding_from_lisp (source);
tgt_encoding = get_cfstring_encoding_from_lisp (target);
string = Fstring_as_unibyte (string);
if (src_encoding != (0xffffffffU)
&& tgt_encoding != (0xffffffffU))
str = CFStringCreateWithBytes (((void *)0), (((void) 0,(struct Lisp_String *) ((long) ((string) & ~((((long) 1) << 3) - 1))))->data + 0), (((((void) 0,(struct Lisp_String *) ((long) ((string) & ~((((long) 1) << 3) - 1)))))->size_byte < 0 ? (((void) 0,(struct Lisp_String *) ((long) ((string) & ~((((long) 1) << 3) - 1)))))->size : (((void) 0,(struct Lisp_String *) ((long) ((string) & ~((((long) 1) << 3) - 1)))))->size_byte) + 0),
src_encoding, !((source) == (Qnil)));
if (str)
{
CFStringRef saved_str = str;
str = cfstring_create_normalized (saved_str, normalization_form);
CFRelease (saved_str);
}
if (str)
{
CFIndex str_len, buf_len;
str_len = CFStringGetLength (str);
if (CFStringGetBytes (str, CFRangeMake (0, str_len), tgt_encoding, 0,
!((target) == (Qnil)), ((void *)0), 0, &buf_len) == str_len)
{
result = make_uninit_string (buf_len);
CFStringGetBytes (str, CFRangeMake (0, str_len), tgt_encoding, 0,
!((target) == (Qnil)), (((void) 0,(struct Lisp_String *) ((long) ((result) & ~((((long) 1) << 3) - 1))))->data + 0), buf_len, ((void *)0));
}
CFRelease (str);
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
((void) 0);
return result;
}
Lisp_Object Fmac_process_hi_command (Lisp_Object) ; struct Lisp_Subr __attribute__ ((__aligned__ (1 << 3))) Smac_process_hi_command = { PVEC_SUBR | (sizeof (struct Lisp_Subr) / sizeof (long)), Fmac_process_hi_command, 1, 1, "mac-process-hi-command", 0, 0}; Lisp_Object Fmac_process_hi_command
(command_id)
Lisp_Object command_id;
{
OSStatus err;
HICommand command;
bzero (&command, sizeof (HICommand));
command.commandID = mac_get_code_from_arg (command_id, 0);
(interrupt_input_blocked++);
err = ProcessHICommand (&command);
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (err != noErr)
error ("HI command (command ID: '%s') not handled.", (((void) 0,(struct Lisp_String *) ((long) ((command_id) & ~((((long) 1) << 3) - 1))))->data + 0));
return Qnil;
}
static Lisp_Object
mac_get_system_locale ()
{
OSStatus err;
LangCode lang;
RegionCode region;
LocaleRef locale;
Str255 str;
lang = GetScriptVariable (smSystemScript, smScriptLang);
region = GetScriptManagerVariable (smRegionCode);
err = LocaleRefFromLangOrRegionCode (lang, region, &locale);
if (err == noErr)
err = LocaleRefGetPartString (locale, kLocaleAllPartsMask,
sizeof (str), str);
if (err == noErr)
return build_string (str);
else
return Qnil;
}
extern int inhibit_window_system;
extern int noninteractive;
# 4947 "mac.c"
#define SELECT_USE_CFSOCKET 1
#define SELECT_POLLING_PERIOD_USEC 100000
#define SELECT_TIMEOUT_THRESHOLD_RUNLOOP 0.2
static CFMutableDictionaryRef cfsockets_for_select;
static pid_t mac_emacs_pid;
static void
socket_callback (s, type, address, data, info)
CFSocketRef s;
CFSocketCallBackType type;
CFDataRef address;
const void *data;
void *info;
{
}
static int
select_and_poll_event (nfds, rfds, wfds, efds, timeout)
int nfds;
fd_set *rfds, *wfds, *efds;
struct timeval *timeout;
{
int timedout_p = 0;
int r = 0;
struct timeval select_timeout;
EventTimeout timeoutval =
(timeout
? (((*timeout).tv_sec + 0) * ((EventTime)1.0)
+ ((*timeout).tv_usec + 0) * ((EventTime)(((EventTime)1.0)/1000000)))
: ((EventTime)(-1.0)));
fd_set orfds, owfds, oefds;
if (timeout == ((void *)0))
{
if (rfds) orfds = *rfds;
if (wfds) owfds = *wfds;
if (efds) oefds = *efds;
}
(interrupt_input_blocked++);
while (1)
{
if (detect_input_pending ())
break;
(((select_timeout).tv_sec = (0)), ((select_timeout).tv_usec = (0)));
r = select (nfds, rfds, wfds, efds, &select_timeout);
if (r != 0)
break;
if (timeoutval == 0.0)
timedout_p = 1;
else
timedout_p = mac_run_loop_run_once (timeoutval);
if (timeout == ((void *)0) && timedout_p)
{
if (rfds) *rfds = orfds;
if (wfds) *wfds = owfds;
if (efds) *efds = oefds;
}
else
break;
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (r != 0)
return r;
else if (!timedout_p)
{
detect_input_pending ();
(*__error()) = 4;
return -1;
}
else
return 0;
}
int
mac_try_close_socket (fd)
int fd;
{
if (getpid () == mac_emacs_pid && cfsockets_for_select)
{
void *key = (void *) fd;
CFSocketRef socket =
(CFSocketRef) CFDictionaryGetValue (cfsockets_for_select, key);
if (socket)
{
CFOptionFlags flags = CFSocketGetSocketFlags (socket);
if (!(flags & kCFSocketCloseOnInvalidate))
CFSocketSetSocketFlags (socket, flags | kCFSocketCloseOnInvalidate);
(interrupt_input_blocked++);
CFSocketInvalidate (socket);
CFDictionaryRemoveValue (cfsockets_for_select, key);
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
return 1;
}
}
return 0;
}
int
sys_select (nfds, rfds, wfds, efds, timeout)
int nfds;
fd_set *rfds, *wfds, *efds;
struct timeval *timeout;
{
int timedout_p = 0;
int r;
struct timeval select_timeout;
fd_set orfds, owfds, oefds;
if (inhibit_window_system || noninteractive
|| nfds < 1 || rfds == ((void *)0) || !__darwin_fd_isset((0), (rfds)))
return select (nfds, rfds, wfds, efds, timeout);
do { int __fd = (0); ((rfds)->fds_bits[__fd/(sizeof(__int32_t) * 8)] &= ~(1<<(__fd % (sizeof(__int32_t) * 8)))); } while(0);
orfds = *rfds;
if (wfds)
owfds = *wfds;
else
__builtin_bzero(&owfds, sizeof(*(&owfds)));
if (efds)
oefds = *efds;
else
{
EventTimeout timeoutval =
(timeout
? (((*timeout).tv_sec + 0) * ((EventTime)1.0)
+ ((*timeout).tv_usec + 0) * ((EventTime)(((EventTime)1.0)/1000000)))
: ((EventTime)(-1.0)));
do { int __fd = (0); ((rfds)->fds_bits[__fd/(sizeof(__int32_t) * 8)] |= (1<<(__fd % (sizeof(__int32_t) * 8)))); } while(0);
do
{
nfds--;
}
while (!(__darwin_fd_isset((nfds), (rfds)) || (wfds && __darwin_fd_isset((nfds), (wfds)))));
nfds++;
do { int __fd = (0); ((rfds)->fds_bits[__fd/(sizeof(__int32_t) * 8)] &= ~(1<<(__fd % (sizeof(__int32_t) * 8)))); } while(0);
if (nfds == 1)
return select_and_poll_event (nfds, rfds, wfds, efds, timeout);
(((select_timeout).tv_sec = (0)), ((select_timeout).tv_usec = (0)));
r = select_and_poll_event (nfds, rfds, wfds, efds, &select_timeout);
if (r != 0 || timeoutval == 0.0)
return r;
*rfds = orfds;
if (wfds)
*wfds = owfds;
if (timeoutval > 0 && timeoutval <= 0.2)
goto poll_periodically;
(interrupt_input_blocked++);
if (!detect_input_pending ())
{
int minfd, fd;
CFRunLoopRef runloop =
(CFRunLoopRef) GetCFRunLoopFromEventLoop (GetCurrentEventLoop ());
static CFMutableDictionaryRef sources;
if (sources == ((void *)0))
sources =
CFDictionaryCreateMutable (((void *)0), 0, ((void *)0),
&kCFTypeDictionaryValueCallBacks);
if (cfsockets_for_select == ((void *)0))
cfsockets_for_select =
CFDictionaryCreateMutable (((void *)0), 0, ((void *)0),
&kCFTypeDictionaryValueCallBacks);
for (minfd = 1; ; minfd++)
if (__darwin_fd_isset((minfd), (rfds)) || (wfds && __darwin_fd_isset((minfd), (wfds))))
break;
for (fd = minfd; fd < nfds; fd++)
if (__darwin_fd_isset((fd), (rfds)) || (wfds && __darwin_fd_isset((fd), (wfds))))
{
void *key = (void *) fd;
CFRunLoopSourceRef source =
(CFRunLoopSourceRef) CFDictionaryGetValue (sources, key);
if (source == ((void *)0) || !CFRunLoopSourceIsValid (source))
{
CFSocketRef socket =
CFSocketCreateWithNative (((void *)0), fd,
(kCFSocketReadCallBack
| kCFSocketConnectCallBack),
socket_callback, ((void *)0));
if (socket == ((void *)0))
continue;
CFDictionarySetValue (cfsockets_for_select, key, socket);
source = CFSocketCreateRunLoopSource (((void *)0), socket, 0);
CFRelease (socket);
if (source == ((void *)0))
continue;
CFDictionarySetValue (sources, key, source);
CFRelease (source);
}
CFRunLoopAddSource (runloop, source, kCFRunLoopDefaultMode);
}
timedout_p = mac_run_loop_run_once (timeoutval);
for (fd = minfd; fd < nfds; fd++)
if (__darwin_fd_isset((fd), (rfds)) || (wfds && __darwin_fd_isset((fd), (wfds))))
{
void *key = (void *) fd;
CFRunLoopSourceRef source =
(CFRunLoopSourceRef) CFDictionaryGetValue (sources, key);
CFRunLoopRemoveSource (runloop, source, kCFRunLoopDefaultMode);
}
}
do { --interrupt_input_blocked; if (interrupt_input_blocked == 0) { if (interrupt_input_pending) reinvoke_input_signal (); if (pending_atimers) do_pending_atimers (); } else if (interrupt_input_blocked < 0) abort (); } while (0);
if (!timedout_p)
{
(((select_timeout).tv_sec = (0)), ((select_timeout).tv_usec = (0)));
return select_and_poll_event (nfds, rfds, wfds, efds,
&select_timeout);
}
else
{
__builtin_bzero(rfds, sizeof(*(rfds)));
if (wfds)
__builtin_bzero(wfds, sizeof(*(wfds)));
return 0;
}
}
poll_periodically:
{
struct timeval end_time, now, remaining_time;
if (timeout)
{
remaining_time = *timeout;
gettimeofday (&(now), ((void *)0));
do { (end_time).tv_sec = (now).tv_sec + (remaining_time).tv_sec; (end_time).tv_usec = (now).tv_usec + (remaining_time).tv_usec; if ((end_time).tv_usec > 1000000) (end_time).tv_usec -= 1000000, (end_time).tv_sec++; } while (0);
}
do
{
(((select_timeout).tv_sec = (0)), ((select_timeout).tv_usec = (100000)));
if (timeout && ((((remaining_time).tv_sec + 0) - ((select_timeout).tv_sec + 0) + (((remaining_time).tv_sec + 0) == ((select_timeout).tv_sec + 0) ? ((remaining_time).tv_usec + 0) - ((select_timeout).tv_usec + 0) : 0)) < 0))
select_timeout = remaining_time;
r = select_and_poll_event (nfds, rfds, wfds, efds, &select_timeout);
if (r != 0)
return r;
*rfds = orfds;
if (wfds)
*wfds = owfds;
if (efds)
*efds = oefds;
if (timeout)
{
gettimeofday (&(now), ((void *)0));
do { (remaining_time).tv_sec = (end_time).tv_sec - (now).tv_sec; (remaining_time).tv_usec = (end_time).tv_usec - (now).tv_usec; if ((remaining_time).tv_usec < 0) (remaining_time).tv_usec += 1000000, (remaining_time).tv_sec--; } while (0);
}
}
while (!timeout || ((((now).tv_sec + 0) - ((end_time).tv_sec + 0) + (((now).tv_sec + 0) == ((end_time).tv_sec + 0) ? ((now).tv_usec + 0) - ((end_time).tv_usec + 0) : 0)) < 0));
(((select_timeout).tv_sec = (0)), ((select_timeout).tv_usec = (0)));
return select_and_poll_event (nfds, rfds, wfds, efds, &select_timeout);
}
}
# 5267 "mac.c"
void
init_mac_osx_environment ()
{
CFBundleRef bundle;
CFURLRef bundleURL;
CFStringRef cf_app_bundle_pathname;
int app_bundle_pathname_len;
char *app_bundle_pathname;
char *p, *q;
struct stat st;
mac_emacs_pid = getpid ();
mac_system_script_code =
(ScriptCode) GetScriptManagerVariable (smSysScript);
Vmac_system_locale = mac_get_system_locale ();
bundle = CFBundleGetMainBundle ();
if (!bundle || CFBundleGetIdentifier (bundle) == ((void *)0))
{
inhibit_window_system = 1;
return;
}
bundleURL = CFBundleCopyBundleURL (bundle);
if (!bundleURL)
return;
cf_app_bundle_pathname = CFURLCopyFileSystemPath (bundleURL,
kCFURLPOSIXPathStyle);
app_bundle_pathname_len = CFStringGetLength (cf_app_bundle_pathname);
app_bundle_pathname = (char *) __builtin_alloca(app_bundle_pathname_len + 1);
if (!CFStringGetCString (cf_app_bundle_pathname,
app_bundle_pathname,
app_bundle_pathname_len + 1,
kCFStringEncodingISOLatin1))
{
CFRelease (cf_app_bundle_pathname);
return;
}
CFRelease (cf_app_bundle_pathname);
p = (char *) __builtin_alloca(app_bundle_pathname_len + 50);
q = (char *) __builtin_alloca(3 * app_bundle_pathname_len + 150);
if (!getenv ("EMACSLOADPATH"))
{
q[0] = '\0';
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/site-lisp");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
strcat (q, p);
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/lisp");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
{
if (q[0] != '\0')
strcat (q, ":");
strcat (q, p);
}
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/leim");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
{
if (q[0] != '\0')
strcat (q, ":");
strcat (q, p);
}
if (q[0] != '\0')
setenv ("EMACSLOADPATH", q, 1);
}
if (!getenv ("EMACSPATH"))
{
q[0] = '\0';
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/MacOS/libexec");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
strcat (q, p);
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/MacOS/bin");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
{
if (q[0] != '\0')
strcat (q, ":");
strcat (q, p);
}
if (q[0] != '\0')
setenv ("EMACSPATH", q, 1);
}
if (!getenv ("EMACSDATA"))
{
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/etc");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
setenv ("EMACSDATA", p, 1);
}
if (!getenv ("EMACSDOC"))
{
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/etc");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
setenv ("EMACSDOC", p, 1);
}
if (!getenv ("INFOPATH"))
{
strcpy (p, app_bundle_pathname);
strcat (p, "/Contents/Resources/info");
if (stat (p, &st) == 0 && (st.st_mode & 0170000) == 0040000)
setenv ("INFOPATH", p, 1);
}
}
void
mac_wakeup_from_rne ()
{
}
void
syms_of_mac ()
{
Qundecoded_file_name = intern ("undecoded-file-name");
staticpro (&Qundecoded_file_name);
Qstring = intern ("string"); staticpro (&Qstring);
Qnumber = intern ("number"); staticpro (&Qnumber);
Qboolean = intern ("boolean"); staticpro (&Qboolean);
Qdate = intern ("date"); staticpro (&Qdate);
Qdata = intern ("data"); staticpro (&Qdata);
Qarray = intern ("array"); staticpro (&Qarray);
Qdictionary = intern ("dictionary"); staticpro (&Qdictionary);
Qxml = intern ("xml");
staticpro (&Qxml);
Qmime_charset = intern ("mime-charset");
staticpro (&Qmime_charset);
QNFD = intern ("NFD"); staticpro (&QNFD);
QNFKD = intern ("NFKD"); staticpro (&QNFKD);
QNFC = intern ("NFC"); staticpro (&QNFC);
QNFKC = intern ("NFKC"); staticpro (&QNFKC);
QHFS_plus_D = intern ("HFS+D"); staticpro (&QHFS_plus_D);
QHFS_plus_C = intern ("HFS+C"); staticpro (&QHFS_plus_C);
{
int i;
for (i = 0; i < sizeof (ae_attr_table) / sizeof (ae_attr_table[0]); i++)
{
ae_attr_table[i].symbol = intern (ae_attr_table[i].name);
staticpro (&ae_attr_table[i].symbol);
}
}
defsubr (&Smac_coerce_ae_data);
defsubr (&Smac_get_preference);
defsubr (&Smac_code_convert_string);
defsubr (&Smac_process_hi_command);
defsubr (&Smac_set_file_creator);
defsubr (&Smac_set_file_type);
defsubr (&Smac_get_file_creator);
defsubr (&Smac_get_file_type);
defsubr (&Sdo_applescript);
defsubr (&Smac_file_name_to_posix);
defsubr (&Sposix_file_name_to_mac);
defvar_int ("mac-system-script-code", &mac_system_script_code);
mac_system_script_code = (ScriptCode) GetScriptManagerVariable (smSysScript);
defvar_lisp ("mac-system-locale", &Vmac_system_locale);
Vmac_system_locale = mac_get_system_locale ();
}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-21 8:19 ` William Xu
@ 2008-04-21 21:24 ` Nick Roberts
2008-04-22 3:24 ` William Xu
0 siblings, 1 reply; 16+ messages in thread
From: Nick Roberts @ 2008-04-21 21:24 UTC (permalink / raw)
To: help-gnu-emacs, william.xwl
Your 7.5Mb attachment takes about 20 minutes to receive on dialup and is not
of interest to most subscribers. Messages posted to this list are generally
no longer than 100kB. If attachments are larger than this then you can upload
them somewhere and point to an URL. Please show some consideration for
others.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-21 21:24 ` Nick Roberts
@ 2008-04-22 3:24 ` William Xu
2008-04-22 8:20 ` Peter Dyballa
0 siblings, 1 reply; 16+ messages in thread
From: William Xu @ 2008-04-22 3:24 UTC (permalink / raw)
To: help-gnu-emacs
Nick Roberts <nickrob <at> snap.net.nz> writes:
>
> Your 7.5Mb attachment takes about 20 minutes to receive on dialup and
> is not
> of interest to most subscribers. Messages posted to this list are generally
> no longer than 100kB. If attachments are larger than this then you can
> upload
> them somewhere and point to an URL. Please show some consideration for
> others.
Sorry, as it responds very fast(i send mail through postfix at background), i
didn't realize this problem.
I'm going to repeat the body part here, excluding the attachments:
Peter Dyballa <Peter_Dyballa <at> Web.DE> writes:
> Now try to preprocess with -E (and -dD, that macros get defined) the
> same file, once in 32-bit mood, once in 64-bit mood. With -o you can
> send GCC's output to a file, or with >. Then compare the two pre-
> processed files. The difference should give an explanation why in 64-
> bit mode CInfoPBRec stays undefined. It might be an Apple bug ...
The outputs are too big... around 3M to 4M, as in attachments. And
there are too many differences.
[see my last post for the attachments]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-22 3:24 ` William Xu
@ 2008-04-22 8:20 ` Peter Dyballa
2008-04-22 9:24 ` Peter Dyballa
0 siblings, 1 reply; 16+ messages in thread
From: Peter Dyballa @ 2008-04-22 8:20 UTC (permalink / raw)
To: William Xu; +Cc: help-gnu-emacs
Am 22.04.2008 um 05:24 schrieb William Xu:
> there are too many differences
Concentrate on the important ones, learn about their systematics. No-
one else will do it, presumingly ... Or wait 'til Christmas! (I have
no plans to go to 64 bit hardware.)
--
Greetings
Pete
$ sumascii BILL GATES
B I L L G A T E S
66+ 73+ 76+ 76+ 71+ 65+ 84+ 69+ 83 = 663
and add 3 because he's Bill Gates the third.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-22 8:20 ` Peter Dyballa
@ 2008-04-22 9:24 ` Peter Dyballa
2008-04-22 14:21 ` William Xu
0 siblings, 1 reply; 16+ messages in thread
From: Peter Dyballa @ 2008-04-22 9:24 UTC (permalink / raw)
To: William Xu; +Cc: help-gnu-emacs@gnu.org list
Am 22.04.2008 um 10:20 schrieb Peter Dyballa:
>> there are too many differences
>
>
> Concentrate on the important ones
The important differences affect the way Apple's File.h gets
included. In the output of 'gcc E' you can see when a header file's
contents is included (and also which header files the included files
include themselves). Find the reason why CInfoPBRec does not get
defined! And then you'll have a reason to open a bug report at Apple
(https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa).
--
Greetings
Pete
It's not the valleys in life I dread so much as the dips.
– Garfield
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-22 9:24 ` Peter Dyballa
@ 2008-04-22 14:21 ` William Xu
2008-04-22 15:18 ` Peter Dyballa
0 siblings, 1 reply; 16+ messages in thread
From: William Xu @ 2008-04-22 14:21 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> The important differences affect the way Apple's File.h gets
> included. In the output of 'gcc E' you can see when a header file's
> contents is included (and also which header files the included files
> include themselves). Find the reason why CInfoPBRec does not get
> defined!
Honestly, the work is really tough...
Anyway, I found the following, saying CInfoPBRec is not availabile for
64-bit applications... so maybe that part of emacs needs updated/rewritten.
http://developer.apple.com/documentation/Carbon/Reference/File_Manager/Reference/reference.html#//apple_ref/c/tdef/CInfoPBRec
,----
| CInfoPBRec
|
| Defines a catalog information parameter block for file and directory information.
|
| union CInfoPBRec {
| HFileInfo hFileInfo;
| DirInfo dirInfo;
| };
| typedef union CInfoPBRec CInfoPBRec;
| typedef CInfoPBRec * CInfoPBPtr;
|
| Fields
|
| hFileInfo
| dirInfo
|
| Availability
|
| * Available in Mac OS X v10.0 and later.
| * Not available to 64-bit applications.
|
| Declared In
| Files.h
`----
--
William
http://williamxu.net9.org
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-22 14:21 ` William Xu
@ 2008-04-22 15:18 ` Peter Dyballa
2008-04-22 15:53 ` William Xu
0 siblings, 1 reply; 16+ messages in thread
From: Peter Dyballa @ 2008-04-22 15:18 UTC (permalink / raw)
To: William Xu; +Cc: help-gnu-emacs
Am 22.04.2008 um 16:21 schrieb William Xu:
> Anyway, I found the following, saying CInfoPBRec is not availabile for
> 64-bit applications... so maybe that part of emacs needs updated/
> rewritten.
Right! I think YAMAMOTO Mitsuharu, mailto:mituharu@math.s.chiba-
u.ac.jp, is the one who works on integration of GNU Emacs into Mac OS X.
Maybe it's best to send a bug report (from Help menu). Some developer
might start to answer, a discussion would develop, a solution found.
--
Greetings
Pete
We also sponsor National Invisible Chronic Illness Awareness Week
annually in September.
Join the millions
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Does emacs 22.2 support compiled as 64bit?
2008-04-22 15:18 ` Peter Dyballa
@ 2008-04-22 15:53 ` William Xu
0 siblings, 0 replies; 16+ messages in thread
From: William Xu @ 2008-04-22 15:53 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Maybe it's best to send a bug report (from Help menu).
Sent to the bug list.
--
William
http://williamxu.net9.org
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2008-04-22 15:53 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.10604.1208691319.18990.help-gnu-emacs@gnu.org>
2008-04-20 14:14 ` Does emacs 22.2 support compiled as 64bit? David Kastrup
2008-04-20 15:04 ` William Xu
2008-04-20 15:33 ` Peter Dyballa
2008-04-20 18:52 ` William Xu
2008-04-20 22:10 ` Peter Dyballa
2008-04-21 2:48 ` William Xu
2008-04-21 7:53 ` Peter Dyballa
2008-04-21 8:19 ` William Xu
2008-04-21 21:24 ` Nick Roberts
2008-04-22 3:24 ` William Xu
2008-04-22 8:20 ` Peter Dyballa
2008-04-22 9:24 ` Peter Dyballa
2008-04-22 14:21 ` William Xu
2008-04-22 15:18 ` Peter Dyballa
2008-04-22 15:53 ` William Xu
2008-04-20 11:34 William Xu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.