Skip to content

Instantly share code, notes, and snippets.

@ethanc8
Created June 4, 2024 16:44
Show Gist options
  • Save ethanc8/46be627ad36326f9b32843fe6409d77d to your computer and use it in GitHub Desktop.
Save ethanc8/46be627ad36326f9b32843fe6409d77d to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
# 1 "CAAnimation.m"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 404 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "CAAnimation.m" 2
# 30 "CAAnimation.m"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 1
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSVersionMacros.h" 1
# 218 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSVersionMacros.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 1
# 156 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h"
typedef signed char gss8;
typedef unsigned char gsu8;
typedef signed short gss16;
typedef unsigned short gsu16;
typedef signed int gss32;
typedef unsigned int gsu32;
typedef signed long gss64;
typedef unsigned long gsu64;
typedef struct { gsu8 a[16]; } gss128;
typedef struct { gsu8 a[16]; } gsu128;
typedef float gsf32;
typedef double gsf64;
typedef unsigned long gsuaddr;
typedef long gssaddr;
typedef gsuaddr gsaddr;
# 185 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h"
# 1 "/usr/lib/llvm-18/lib/clang/18/include/inttypes.h" 1 3
# 21 "/usr/lib/llvm-18/lib/clang/18/include/inttypes.h" 3
# 1 "/usr/include/inttypes.h" 1 3 4
# 25 "/usr/include/inttypes.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 392 "/usr/include/features.h" 3 4
# 1 "/usr/include/features-time64.h" 1 3 4
# 20 "/usr/include/features-time64.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 21 "/usr/include/features-time64.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/timesize.h" 1 3 4
# 19 "/usr/include/x86_64-linux-gnu/bits/timesize.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 20 "/usr/include/x86_64-linux-gnu/bits/timesize.h" 2 3 4
# 22 "/usr/include/features-time64.h" 2 3 4
# 393 "/usr/include/features.h" 2 3 4
# 464 "/usr/include/features.h" 3 4
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 465 "/usr/include/features.h" 2 3 4
# 486 "/usr/include/features.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 1 3 4
# 559 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 560 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/long-double.h" 1 3 4
# 561 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4
# 487 "/usr/include/features.h" 2 3 4
# 510 "/usr/include/features.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 1 3 4
# 10 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/gnu/stubs-64.h" 1 3 4
# 11 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 2 3 4
# 511 "/usr/include/features.h" 2 3 4
# 26 "/usr/include/inttypes.h" 2 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stdint.h" 1 3 4
# 52 "/usr/lib/llvm-18/lib/clang/18/include/stdint.h" 3 4
# 1 "/usr/include/stdint.h" 1 3 4
# 26 "/usr/include/stdint.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
# 27 "/usr/include/stdint.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types.h" 1 3 4
# 27 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 28 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/timesize.h" 1 3 4
# 19 "/usr/include/x86_64-linux-gnu/bits/timesize.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 20 "/usr/include/x86_64-linux-gnu/bits/timesize.h" 2 3 4
# 29 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
typedef unsigned char __u_char;
typedef unsigned short int __u_short;
typedef unsigned int __u_int;
typedef unsigned long int __u_long;
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef signed short int __int16_t;
typedef unsigned short int __uint16_t;
typedef signed int __int32_t;
typedef unsigned int __uint32_t;
typedef signed long int __int64_t;
typedef unsigned long int __uint64_t;
typedef __int8_t __int_least8_t;
typedef __uint8_t __uint_least8_t;
typedef __int16_t __int_least16_t;
typedef __uint16_t __uint_least16_t;
typedef __int32_t __int_least32_t;
typedef __uint32_t __uint_least32_t;
typedef __int64_t __int_least64_t;
typedef __uint64_t __uint_least64_t;
typedef long int __quad_t;
typedef unsigned long int __u_quad_t;
typedef long int __intmax_t;
typedef unsigned long int __uintmax_t;
# 141 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/typesizes.h" 1 3 4
# 142 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/time64.h" 1 3 4
# 143 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
typedef unsigned long int __dev_t;
typedef unsigned int __uid_t;
typedef unsigned int __gid_t;
typedef unsigned long int __ino_t;
typedef unsigned long int __ino64_t;
typedef unsigned int __mode_t;
typedef unsigned long int __nlink_t;
typedef long int __off_t;
typedef long int __off64_t;
typedef int __pid_t;
typedef struct { int __val[2]; } __fsid_t;
typedef long int __clock_t;
typedef unsigned long int __rlim_t;
typedef unsigned long int __rlim64_t;
typedef unsigned int __id_t;
typedef long int __time_t;
typedef unsigned int __useconds_t;
typedef long int __suseconds_t;
typedef long int __suseconds64_t;
typedef int __daddr_t;
typedef int __key_t;
typedef int __clockid_t;
typedef void * __timer_t;
typedef long int __blksize_t;
typedef long int __blkcnt_t;
typedef long int __blkcnt64_t;
typedef unsigned long int __fsblkcnt_t;
typedef unsigned long int __fsblkcnt64_t;
typedef unsigned long int __fsfilcnt_t;
typedef unsigned long int __fsfilcnt64_t;
typedef long int __fsword_t;
typedef long int __ssize_t;
typedef long int __syscall_slong_t;
typedef unsigned long int __syscall_ulong_t;
typedef __off64_t __loff_t;
typedef char *__caddr_t;
typedef long int __intptr_t;
typedef unsigned int __socklen_t;
typedef int __sig_atomic_t;
# 28 "/usr/include/stdint.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wchar.h" 1 3 4
# 29 "/usr/include/stdint.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 30 "/usr/include/stdint.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/stdint-intn.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/stdint-intn.h" 3 4
typedef __int8_t int8_t;
typedef __int16_t int16_t;
typedef __int32_t int32_t;
typedef __int64_t int64_t;
# 35 "/usr/include/stdint.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h" 3 4
typedef __uint8_t uint8_t;
typedef __uint16_t uint16_t;
typedef __uint32_t uint32_t;
typedef __uint64_t uint64_t;
# 38 "/usr/include/stdint.h" 2 3 4
typedef __int_least8_t int_least8_t;
typedef __int_least16_t int_least16_t;
typedef __int_least32_t int_least32_t;
typedef __int_least64_t int_least64_t;
typedef __uint_least8_t uint_least8_t;
typedef __uint_least16_t uint_least16_t;
typedef __uint_least32_t uint_least32_t;
typedef __uint_least64_t uint_least64_t;
typedef signed char int_fast8_t;
typedef long int int_fast16_t;
typedef long int int_fast32_t;
typedef long int int_fast64_t;
# 71 "/usr/include/stdint.h" 3 4
typedef unsigned char uint_fast8_t;
typedef unsigned long int uint_fast16_t;
typedef unsigned long int uint_fast32_t;
typedef unsigned long int uint_fast64_t;
# 87 "/usr/include/stdint.h" 3 4
typedef long int intptr_t;
typedef unsigned long int uintptr_t;
# 101 "/usr/include/stdint.h" 3 4
typedef __intmax_t intmax_t;
typedef __uintmax_t uintmax_t;
# 53 "/usr/lib/llvm-18/lib/clang/18/include/stdint.h" 2 3 4
# 28 "/usr/include/inttypes.h" 2 3 4
typedef int __gwchar_t;
# 271 "/usr/include/inttypes.h" 3 4
typedef struct
{
long int quot;
long int rem;
} imaxdiv_t;
# 290 "/usr/include/inttypes.h" 3 4
extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern intmax_t strtoimax (const char *__restrict __nptr,
char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ ));
extern uintmax_t strtoumax (const char *__restrict __nptr,
char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ ));
extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr,
__gwchar_t **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ ));
extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr,
__gwchar_t ** __restrict __endptr, int __base)
__attribute__ ((__nothrow__ ));
# 22 "/usr/lib/llvm-18/lib/clang/18/include/inttypes.h" 2 3
# 186 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 255 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h"
typedef struct {
uint8_t dummy[48];
} gs_cond_public_t __attribute__((aligned (8)));
typedef struct {
uint8_t dummy[40];
} gs_cond_mutex_public_t __attribute__((aligned (8)));
typedef struct {
uint8_t dummy[40];
} gs_mutex_public_t __attribute__((aligned (8)));
# 356 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h"
# 1 "/usr/include/x86_64-linux-gnu/sys/param.h" 1 3 4
# 23 "/usr/include/x86_64-linux-gnu/sys/param.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 92 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_null.h" 1 3 4
# 93 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 24 "/usr/include/x86_64-linux-gnu/sys/param.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/sys/types.h" 1 3 4
# 47 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
typedef __ino_t ino_t;
# 59 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
typedef __dev_t dev_t;
typedef __gid_t gid_t;
typedef __mode_t mode_t;
typedef __nlink_t nlink_t;
typedef __uid_t uid_t;
typedef __off_t off_t;
# 97 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
typedef __pid_t pid_t;
# 108 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
typedef __ssize_t ssize_t;
# 128 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h" 1 3 4
typedef __clockid_t clockid_t;
# 129 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/time_t.h" 1 3 4
# 10 "/usr/include/x86_64-linux-gnu/bits/types/time_t.h" 3 4
typedef __time_t time_t;
# 130 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/timer_t.h" 1 3 4
typedef __timer_t timer_t;
# 131 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 144 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 77 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 1 3 4
# 18 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 3 4
typedef long unsigned int size_t;
# 78 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 145 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 158 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
typedef __uint8_t u_int8_t;
typedef __uint16_t u_int16_t;
typedef __uint32_t u_int32_t;
typedef __uint64_t u_int64_t;
typedef int register_t __attribute__ ((__mode__ (__word__)));
# 192 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
typedef __blkcnt_t blkcnt_t;
typedef __fsblkcnt_t fsblkcnt_t;
typedef __fsfilcnt_t fsfilcnt_t;
# 227 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 1 3 4
# 23 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 1 3 4
# 44 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 1 3 4
# 21 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 22 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 2 3 4
# 45 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h" 1 3 4
# 25 "/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h" 3 4
typedef union
{
__extension__ unsigned long long int __value64;
struct
{
unsigned int __low;
unsigned int __high;
} __value32;
} __atomic_wide_counter;
# 47 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
typedef struct __pthread_internal_list
{
struct __pthread_internal_list *__prev;
struct __pthread_internal_list *__next;
} __pthread_list_t;
typedef struct __pthread_internal_slist
{
struct __pthread_internal_slist *__next;
} __pthread_slist_t;
# 76 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/struct_mutex.h" 1 3 4
# 22 "/usr/include/x86_64-linux-gnu/bits/struct_mutex.h" 3 4
struct __pthread_mutex_s
{
int __lock;
unsigned int __count;
int __owner;
unsigned int __nusers;
int __kind;
short __spins;
short __elision;
__pthread_list_t __list;
# 53 "/usr/include/x86_64-linux-gnu/bits/struct_mutex.h" 3 4
};
# 77 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
# 89 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h" 1 3 4
# 23 "/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h" 3 4
struct __pthread_rwlock_arch_t
{
unsigned int __readers;
unsigned int __writers;
unsigned int __wrphase_futex;
unsigned int __writers_futex;
unsigned int __pad3;
unsigned int __pad4;
int __cur_writer;
int __shared;
signed char __rwelision;
unsigned char __pad1[7];
unsigned long int __pad2;
unsigned int __flags;
# 55 "/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h" 3 4
};
# 90 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
struct __pthread_cond_s
{
__atomic_wide_counter __wseq;
__atomic_wide_counter __g1_start;
unsigned int __g_refs[2] ;
unsigned int __g_size[2];
unsigned int __g1_orig_size;
unsigned int __wrefs;
unsigned int __g_signals[2];
};
typedef unsigned int __tss_t;
typedef unsigned long int __thrd_t;
typedef struct
{
int __data ;
} __once_flag;
# 24 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 2 3 4
typedef unsigned long int pthread_t;
typedef union
{
char __size[4];
int __align;
} pthread_mutexattr_t;
typedef union
{
char __size[4];
int __align;
} pthread_condattr_t;
typedef unsigned int pthread_key_t;
typedef int pthread_once_t;
union pthread_attr_t
{
char __size[56];
long int __align;
};
typedef union pthread_attr_t pthread_attr_t;
typedef union
{
struct __pthread_mutex_s __data;
char __size[40];
long int __align;
} pthread_mutex_t;
typedef union
{
struct __pthread_cond_s __data;
char __size[48];
__extension__ long long int __align;
} pthread_cond_t;
# 228 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
# 26 "/usr/include/x86_64-linux-gnu/sys/param.h" 2 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/limits.h" 1 3 4
# 21 "/usr/lib/llvm-18/lib/clang/18/include/limits.h" 3 4
# 1 "/usr/include/limits.h" 1 3 4
# 26 "/usr/include/limits.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
# 27 "/usr/include/limits.h" 2 3 4
# 195 "/usr/include/limits.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/posix1_lim.h" 1 3 4
# 27 "/usr/include/x86_64-linux-gnu/bits/posix1_lim.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 28 "/usr/include/x86_64-linux-gnu/bits/posix1_lim.h" 2 3 4
# 161 "/usr/include/x86_64-linux-gnu/bits/posix1_lim.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/local_lim.h" 1 3 4
# 38 "/usr/include/x86_64-linux-gnu/bits/local_lim.h" 3 4
# 1 "/usr/include/linux/limits.h" 1 3 4
# 39 "/usr/include/x86_64-linux-gnu/bits/local_lim.h" 2 3 4
# 81 "/usr/include/x86_64-linux-gnu/bits/local_lim.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h" 1 3 4
# 29 "/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/pthread_stack_min.h" 1 3 4
# 30 "/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h" 2 3 4
# 82 "/usr/include/x86_64-linux-gnu/bits/local_lim.h" 2 3 4
# 162 "/usr/include/x86_64-linux-gnu/bits/posix1_lim.h" 2 3 4
# 196 "/usr/include/limits.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/posix2_lim.h" 1 3 4
# 200 "/usr/include/limits.h" 2 3 4
# 22 "/usr/lib/llvm-18/lib/clang/18/include/limits.h" 2 3 4
# 27 "/usr/include/x86_64-linux-gnu/sys/param.h" 2 3 4
# 1 "/usr/include/endian.h" 1 3 4
# 24 "/usr/include/endian.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/endian.h" 1 3 4
# 35 "/usr/include/x86_64-linux-gnu/bits/endian.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/endianness.h" 1 3 4
# 36 "/usr/include/x86_64-linux-gnu/bits/endian.h" 2 3 4
# 25 "/usr/include/endian.h" 2 3 4
# 28 "/usr/include/x86_64-linux-gnu/sys/param.h" 2 3 4
# 1 "/usr/include/signal.h" 1 3 4
# 30 "/usr/include/signal.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/signum-generic.h" 1 3 4
# 76 "/usr/include/x86_64-linux-gnu/bits/signum-generic.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/signum-arch.h" 1 3 4
# 77 "/usr/include/x86_64-linux-gnu/bits/signum-generic.h" 2 3 4
# 31 "/usr/include/signal.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/sig_atomic_t.h" 1 3 4
typedef __sig_atomic_t sig_atomic_t;
# 33 "/usr/include/signal.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h" 1 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h" 1 3 4
typedef struct
{
unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
} __sigset_t;
# 5 "/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h" 2 3 4
typedef __sigset_t sigset_t;
# 36 "/usr/include/signal.h" 2 3 4
# 53 "/usr/include/signal.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h" 1 3 4
# 11 "/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h" 3 4
struct timespec
{
__time_t tv_sec;
__syscall_slong_t tv_nsec;
# 31 "/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h" 3 4
};
# 54 "/usr/include/signal.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h" 1 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 5 "/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__sigval_t.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/types/__sigval_t.h" 3 4
union sigval
{
int sival_int;
void *sival_ptr;
};
typedef union sigval __sigval_t;
# 7 "/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h" 2 3 4
# 16 "/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/siginfo-arch.h" 1 3 4
# 17 "/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h" 2 3 4
# 36 "/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h" 3 4
typedef struct
{
int si_signo;
int si_errno;
int si_code;
int __pad0;
union
{
int _pad[((128 / sizeof (int)) - 4)];
struct
{
__pid_t si_pid;
__uid_t si_uid;
} _kill;
struct
{
int si_tid;
int si_overrun;
__sigval_t si_sigval;
} _timer;
struct
{
__pid_t si_pid;
__uid_t si_uid;
__sigval_t si_sigval;
} _rt;
struct
{
__pid_t si_pid;
__uid_t si_uid;
int si_status;
__clock_t si_utime;
__clock_t si_stime;
} _sigchld;
struct
{
void *si_addr;
short int si_addr_lsb;
union
{
struct
{
void *_lower;
void *_upper;
} _addr_bnd;
__uint32_t _pkey;
} _bounds;
} _sigfault;
struct
{
long int si_band;
int si_fd;
} _sigpoll;
struct
{
void *_call_addr;
int _syscall;
unsigned int _arch;
} _sigsys;
} _sifields;
} siginfo_t ;
# 58 "/usr/include/signal.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/siginfo-consts.h" 1 3 4
# 35 "/usr/include/x86_64-linux-gnu/bits/siginfo-consts.h" 3 4
enum
{
SI_ASYNCNL = -60,
SI_DETHREAD = -7,
SI_TKILL,
SI_SIGIO,
SI_ASYNCIO,
SI_MESGQ,
SI_TIMER,
SI_QUEUE,
SI_USER,
SI_KERNEL = 0x80
# 66 "/usr/include/x86_64-linux-gnu/bits/siginfo-consts.h" 3 4
};
# 59 "/usr/include/signal.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h" 1 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 5 "/usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h" 2 3 4
# 22 "/usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h" 3 4
typedef struct sigevent
{
__sigval_t sigev_value;
int sigev_signo;
int sigev_notify;
union
{
int _pad[((64 / sizeof (int)) - 4)];
__pid_t _tid;
struct
{
void (*_function) (__sigval_t);
pthread_attr_t *_attribute;
} _sigev_thread;
} _sigev_un;
} sigevent_t;
# 67 "/usr/include/signal.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/sigevent-consts.h" 1 3 4
# 27 "/usr/include/x86_64-linux-gnu/bits/sigevent-consts.h" 3 4
enum
{
SIGEV_SIGNAL = 0,
SIGEV_NONE,
SIGEV_THREAD,
SIGEV_THREAD_ID = 4
};
# 68 "/usr/include/signal.h" 2 3 4
typedef void (*__sighandler_t) (int);
extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
__attribute__ ((__nothrow__ ));
# 93 "/usr/include/signal.h" 3 4
extern __sighandler_t signal (int __sig, __sighandler_t __handler) __asm__ ("" "__sysv_signal") __attribute__ ((__nothrow__ ));
# 112 "/usr/include/signal.h" 3 4
extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ ));
# 123 "/usr/include/signal.h" 3 4
extern int raise (int __sig) __attribute__ ((__nothrow__ ));
# 199 "/usr/include/signal.h" 3 4
extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern int sigismember (const sigset_t *__set, int __signo)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
# 229 "/usr/include/signal.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/sigaction.h" 1 3 4
# 27 "/usr/include/x86_64-linux-gnu/bits/sigaction.h" 3 4
struct sigaction
{
union
{
__sighandler_t sa_handler;
void (*sa_sigaction) (int, siginfo_t *, void *);
}
__sigaction_handler;
__sigset_t sa_mask;
int sa_flags;
void (*sa_restorer) (void);
};
# 230 "/usr/include/signal.h" 2 3 4
extern int sigprocmask (int __how, const sigset_t *__restrict __set,
sigset_t *__restrict __oset) __attribute__ ((__nothrow__ ));
extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
extern int sigaction (int __sig, const struct sigaction *__restrict __act,
struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ ));
extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig)
__attribute__ ((__nonnull__ (1, 2)));
extern int sigwaitinfo (const sigset_t *__restrict __set,
siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
extern int sigtimedwait (const sigset_t *__restrict __set,
siginfo_t *__restrict __info,
const struct timespec *__restrict __timeout)
__attribute__ ((__nonnull__ (1)));
# 292 "/usr/include/signal.h" 3 4
extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val)
__attribute__ ((__nothrow__ ));
# 376 "/usr/include/signal.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/sigthread.h" 1 3 4
# 31 "/usr/include/x86_64-linux-gnu/bits/sigthread.h" 3 4
extern int pthread_sigmask (int __how,
const __sigset_t *__restrict __newmask,
__sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ ));
extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ ));
# 377 "/usr/include/signal.h" 2 3 4
extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ ));
extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ ));
# 1 "/usr/include/x86_64-linux-gnu/bits/signal_ext.h" 1 3 4
# 392 "/usr/include/signal.h" 2 3 4
# 29 "/usr/include/x86_64-linux-gnu/sys/param.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/param.h" 1 3 4
# 28 "/usr/include/x86_64-linux-gnu/bits/param.h" 3 4
# 1 "/usr/include/linux/param.h" 1 3 4
# 1 "/usr/include/x86_64-linux-gnu/asm/param.h" 1 3 4
# 1 "/usr/include/asm-generic/param.h" 1 3 4
# 2 "/usr/include/x86_64-linux-gnu/asm/param.h" 2 3 4
# 6 "/usr/include/linux/param.h" 2 3 4
# 29 "/usr/include/x86_64-linux-gnu/bits/param.h" 2 3 4
# 32 "/usr/include/x86_64-linux-gnu/sys/param.h" 2 3 4
# 357 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 438 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h"
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 1 3
# 55 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stdarg___gnuc_va_list.h" 1 3
# 12 "/usr/lib/llvm-18/lib/clang/18/include/__stdarg___gnuc_va_list.h" 3
typedef __builtin_va_list __gnuc_va_list;
# 56 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 2 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stdarg_va_list.h" 1 3
# 12 "/usr/lib/llvm-18/lib/clang/18/include/__stdarg_va_list.h" 3
typedef __builtin_va_list va_list;
# 61 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 2 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stdarg_va_arg.h" 1 3
# 66 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 2 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stdarg___va_copy.h" 1 3
# 71 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 2 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stdarg_va_copy.h" 1 3
# 76 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 2 3
# 439 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/include/assert.h" 1 3 4
# 69 "/usr/include/assert.h" 3 4
extern void __assert_fail (const char *__assertion, const char *__file,
unsigned int __line, const char *__function)
__attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
extern void __assert_perror_fail (int __errnum, const char *__file,
unsigned int __line, const char *__function)
__attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
extern void __assert (const char *__assertion, const char *__file, int __line)
__attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
# 440 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/include/ctype.h" 1 3 4
# 46 "/usr/include/ctype.h" 3 4
enum
{
_ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)),
_ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)),
_ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)),
_ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)),
_ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)),
_ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)),
_ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)),
_ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)),
_ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)),
_IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)),
_ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)),
_ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8))
};
# 79 "/usr/include/ctype.h" 3 4
extern const unsigned short int **__ctype_b_loc (void)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern const __int32_t **__ctype_tolower_loc (void)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern const __int32_t **__ctype_toupper_loc (void)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__));
# 108 "/usr/include/ctype.h" 3 4
extern int isalnum (int) __attribute__ ((__nothrow__ ));
extern int isalpha (int) __attribute__ ((__nothrow__ ));
extern int iscntrl (int) __attribute__ ((__nothrow__ ));
extern int isdigit (int) __attribute__ ((__nothrow__ ));
extern int islower (int) __attribute__ ((__nothrow__ ));
extern int isgraph (int) __attribute__ ((__nothrow__ ));
extern int isprint (int) __attribute__ ((__nothrow__ ));
extern int ispunct (int) __attribute__ ((__nothrow__ ));
extern int isspace (int) __attribute__ ((__nothrow__ ));
extern int isupper (int) __attribute__ ((__nothrow__ ));
extern int isxdigit (int) __attribute__ ((__nothrow__ ));
extern int tolower (int __c) __attribute__ ((__nothrow__ ));
extern int toupper (int __c) __attribute__ ((__nothrow__ ));
extern int isblank (int) __attribute__ ((__nothrow__ ));
# 206 "/usr/include/ctype.h" 3 4
extern __inline __attribute__ ((__gnu_inline__)) int
__attribute__ ((__nothrow__ )) tolower (int __c)
{
return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
}
extern __inline __attribute__ ((__gnu_inline__)) int
__attribute__ ((__nothrow__ )) toupper (int __c)
{
return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
}
# 441 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/include/errno.h" 1 3 4
# 28 "/usr/include/errno.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/errno.h" 1 3 4
# 26 "/usr/include/x86_64-linux-gnu/bits/errno.h" 3 4
# 1 "/usr/include/linux/errno.h" 1 3 4
# 1 "/usr/include/x86_64-linux-gnu/asm/errno.h" 1 3 4
# 1 "/usr/include/asm-generic/errno.h" 1 3 4
# 1 "/usr/include/asm-generic/errno-base.h" 1 3 4
# 6 "/usr/include/asm-generic/errno.h" 2 3 4
# 2 "/usr/include/x86_64-linux-gnu/asm/errno.h" 2 3 4
# 2 "/usr/include/linux/errno.h" 2 3 4
# 27 "/usr/include/x86_64-linux-gnu/bits/errno.h" 2 3 4
# 29 "/usr/include/errno.h" 2 3 4
extern int *__errno_location (void) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
# 442 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/lib/llvm-18/lib/clang/18/include/float.h" 1 3
# 443 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/lib/llvm-18/lib/clang/18/include/limits.h" 1 3
# 444 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/include/locale.h" 1 3 4
# 28 "/usr/include/locale.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 92 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_null.h" 1 3 4
# 93 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 29 "/usr/include/locale.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/locale.h" 1 3 4
# 30 "/usr/include/locale.h" 2 3 4
# 51 "/usr/include/locale.h" 3 4
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_p_sep_by_space;
char int_n_cs_precedes;
char int_n_sep_by_space;
char int_p_sign_posn;
char int_n_sign_posn;
# 118 "/usr/include/locale.h" 3 4
};
extern char *setlocale (int __category, const char *__locale) __attribute__ ((__nothrow__ ));
extern struct lconv *localeconv (void) __attribute__ ((__nothrow__ ));
# 445 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/include/math.h" 1 3 4
# 27 "/usr/include/math.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
# 28 "/usr/include/math.h" 2 3 4
# 40 "/usr/include/math.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/math-vector.h" 1 3 4
# 25 "/usr/include/x86_64-linux-gnu/bits/math-vector.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h" 1 3 4
# 26 "/usr/include/x86_64-linux-gnu/bits/math-vector.h" 2 3 4
# 41 "/usr/include/math.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 1 3 4
# 119 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/long-double.h" 1 3 4
# 25 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 2 3 4
# 214 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
typedef float _Float32;
# 251 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
typedef double _Float64;
# 268 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
typedef double _Float32x;
# 285 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
typedef long double _Float64x;
# 120 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 2 3 4
# 44 "/usr/include/math.h" 2 3 4
# 152 "/usr/include/math.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/flt-eval-method.h" 1 3 4
# 153 "/usr/include/math.h" 2 3 4
# 163 "/usr/include/math.h" 3 4
typedef float float_t;
typedef double double_t;
# 204 "/usr/include/math.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/fp-logb.h" 1 3 4
# 205 "/usr/include/math.h" 2 3 4
# 247 "/usr/include/math.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/fp-fast.h" 1 3 4
# 248 "/usr/include/math.h" 2 3 4
# 312 "/usr/include/math.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h" 1 3 4
# 20 "/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h" 3 4
extern int __fpclassify (double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __signbit (double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __isinf (double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __finite (double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __isnan (double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __iseqsig (double __x, double __y) __attribute__ ((__nothrow__ ));
extern int __issignaling (double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
# 313 "/usr/include/math.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 1 3 4
# 53 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern double acos (double __x) __attribute__ ((__nothrow__ )); extern double __acos (double __x) __attribute__ ((__nothrow__ ));
extern double asin (double __x) __attribute__ ((__nothrow__ )); extern double __asin (double __x) __attribute__ ((__nothrow__ ));
extern double atan (double __x) __attribute__ ((__nothrow__ )); extern double __atan (double __x) __attribute__ ((__nothrow__ ));
extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__ )); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__ ));
extern double cos (double __x) __attribute__ ((__nothrow__ )); extern double __cos (double __x) __attribute__ ((__nothrow__ ));
extern double sin (double __x) __attribute__ ((__nothrow__ )); extern double __sin (double __x) __attribute__ ((__nothrow__ ));
extern double tan (double __x) __attribute__ ((__nothrow__ )); extern double __tan (double __x) __attribute__ ((__nothrow__ ));
extern double cosh (double __x) __attribute__ ((__nothrow__ )); extern double __cosh (double __x) __attribute__ ((__nothrow__ ));
extern double sinh (double __x) __attribute__ ((__nothrow__ )); extern double __sinh (double __x) __attribute__ ((__nothrow__ ));
extern double tanh (double __x) __attribute__ ((__nothrow__ )); extern double __tanh (double __x) __attribute__ ((__nothrow__ ));
# 85 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern double acosh (double __x) __attribute__ ((__nothrow__ )); extern double __acosh (double __x) __attribute__ ((__nothrow__ ));
extern double asinh (double __x) __attribute__ ((__nothrow__ )); extern double __asinh (double __x) __attribute__ ((__nothrow__ ));
extern double atanh (double __x) __attribute__ ((__nothrow__ )); extern double __atanh (double __x) __attribute__ ((__nothrow__ ));
extern double exp (double __x) __attribute__ ((__nothrow__ )); extern double __exp (double __x) __attribute__ ((__nothrow__ ));
extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ )); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ ));
extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ )); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ ));
extern double log (double __x) __attribute__ ((__nothrow__ )); extern double __log (double __x) __attribute__ ((__nothrow__ ));
extern double log10 (double __x) __attribute__ ((__nothrow__ )); extern double __log10 (double __x) __attribute__ ((__nothrow__ ));
extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__ )); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2)));
# 119 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern double expm1 (double __x) __attribute__ ((__nothrow__ )); extern double __expm1 (double __x) __attribute__ ((__nothrow__ ));
extern double log1p (double __x) __attribute__ ((__nothrow__ )); extern double __log1p (double __x) __attribute__ ((__nothrow__ ));
extern double logb (double __x) __attribute__ ((__nothrow__ )); extern double __logb (double __x) __attribute__ ((__nothrow__ ));
extern double exp2 (double __x) __attribute__ ((__nothrow__ )); extern double __exp2 (double __x) __attribute__ ((__nothrow__ ));
extern double log2 (double __x) __attribute__ ((__nothrow__ )); extern double __log2 (double __x) __attribute__ ((__nothrow__ ));
extern double pow (double __x, double __y) __attribute__ ((__nothrow__ )); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__ ));
extern double sqrt (double __x) __attribute__ ((__nothrow__ )); extern double __sqrt (double __x) __attribute__ ((__nothrow__ ));
extern double hypot (double __x, double __y) __attribute__ ((__nothrow__ )); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__ ));
extern double cbrt (double __x) __attribute__ ((__nothrow__ )); extern double __cbrt (double __x) __attribute__ ((__nothrow__ ));
extern double ceil (double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern double fabs (double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern double floor (double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern double fmod (double __x, double __y) __attribute__ ((__nothrow__ )); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__ ));
# 198 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern double copysign (double __x, double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern double nan (const char *__tagb) __attribute__ ((__nothrow__ )); extern double __nan (const char *__tagb) __attribute__ ((__nothrow__ ));
# 231 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern double erf (double) __attribute__ ((__nothrow__ )); extern double __erf (double) __attribute__ ((__nothrow__ ));
extern double erfc (double) __attribute__ ((__nothrow__ )); extern double __erfc (double) __attribute__ ((__nothrow__ ));
extern double lgamma (double) __attribute__ ((__nothrow__ )); extern double __lgamma (double) __attribute__ ((__nothrow__ ));
extern double tgamma (double) __attribute__ ((__nothrow__ )); extern double __tgamma (double) __attribute__ ((__nothrow__ ));
# 259 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern double rint (double __x) __attribute__ ((__nothrow__ )); extern double __rint (double __x) __attribute__ ((__nothrow__ ));
extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__ )); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__ ));
extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ )); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ ));
# 275 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern double remainder (double __x, double __y) __attribute__ ((__nothrow__ )); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__ ));
extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__ )); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__ ));
extern int ilogb (double __x) __attribute__ ((__nothrow__ )); extern int __ilogb (double __x) __attribute__ ((__nothrow__ ));
# 293 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__ )); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__ ));
extern double nearbyint (double __x) __attribute__ ((__nothrow__ )); extern double __nearbyint (double __x) __attribute__ ((__nothrow__ ));
extern double round (double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern double trunc (double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ )); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ ));
extern long int lrint (double __x) __attribute__ ((__nothrow__ )); extern long int __lrint (double __x) __attribute__ ((__nothrow__ ));
__extension__
extern long long int llrint (double __x) __attribute__ ((__nothrow__ )); extern long long int __llrint (double __x) __attribute__ ((__nothrow__ ));
extern long int lround (double __x) __attribute__ ((__nothrow__ )); extern long int __lround (double __x) __attribute__ ((__nothrow__ ));
__extension__
extern long long int llround (double __x) __attribute__ ((__nothrow__ )); extern long long int __llround (double __x) __attribute__ ((__nothrow__ ));
extern double fdim (double __x, double __y) __attribute__ ((__nothrow__ )); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__ ));
extern double fmax (double __x, double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern double fmin (double __x, double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ )); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ ));
# 314 "/usr/include/math.h" 2 3 4
# 329 "/usr/include/math.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h" 1 3 4
# 20 "/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h" 3 4
extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __signbitf (float __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __isinff (float __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __finitef (float __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __isnanf (float __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __iseqsigf (float __x, float __y) __attribute__ ((__nothrow__ ));
extern int __issignalingf (float __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
# 330 "/usr/include/math.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 1 3 4
# 53 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern float acosf (float __x) __attribute__ ((__nothrow__ )); extern float __acosf (float __x) __attribute__ ((__nothrow__ ));
extern float asinf (float __x) __attribute__ ((__nothrow__ )); extern float __asinf (float __x) __attribute__ ((__nothrow__ ));
extern float atanf (float __x) __attribute__ ((__nothrow__ )); extern float __atanf (float __x) __attribute__ ((__nothrow__ ));
extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__ )); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__ ));
extern float cosf (float __x) __attribute__ ((__nothrow__ )); extern float __cosf (float __x) __attribute__ ((__nothrow__ ));
extern float sinf (float __x) __attribute__ ((__nothrow__ )); extern float __sinf (float __x) __attribute__ ((__nothrow__ ));
extern float tanf (float __x) __attribute__ ((__nothrow__ )); extern float __tanf (float __x) __attribute__ ((__nothrow__ ));
extern float coshf (float __x) __attribute__ ((__nothrow__ )); extern float __coshf (float __x) __attribute__ ((__nothrow__ ));
extern float sinhf (float __x) __attribute__ ((__nothrow__ )); extern float __sinhf (float __x) __attribute__ ((__nothrow__ ));
extern float tanhf (float __x) __attribute__ ((__nothrow__ )); extern float __tanhf (float __x) __attribute__ ((__nothrow__ ));
# 85 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern float acoshf (float __x) __attribute__ ((__nothrow__ )); extern float __acoshf (float __x) __attribute__ ((__nothrow__ ));
extern float asinhf (float __x) __attribute__ ((__nothrow__ )); extern float __asinhf (float __x) __attribute__ ((__nothrow__ ));
extern float atanhf (float __x) __attribute__ ((__nothrow__ )); extern float __atanhf (float __x) __attribute__ ((__nothrow__ ));
extern float expf (float __x) __attribute__ ((__nothrow__ )); extern float __expf (float __x) __attribute__ ((__nothrow__ ));
extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ )); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ ));
extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ )); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ ));
extern float logf (float __x) __attribute__ ((__nothrow__ )); extern float __logf (float __x) __attribute__ ((__nothrow__ ));
extern float log10f (float __x) __attribute__ ((__nothrow__ )); extern float __log10f (float __x) __attribute__ ((__nothrow__ ));
extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__ )); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2)));
# 119 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern float expm1f (float __x) __attribute__ ((__nothrow__ )); extern float __expm1f (float __x) __attribute__ ((__nothrow__ ));
extern float log1pf (float __x) __attribute__ ((__nothrow__ )); extern float __log1pf (float __x) __attribute__ ((__nothrow__ ));
extern float logbf (float __x) __attribute__ ((__nothrow__ )); extern float __logbf (float __x) __attribute__ ((__nothrow__ ));
extern float exp2f (float __x) __attribute__ ((__nothrow__ )); extern float __exp2f (float __x) __attribute__ ((__nothrow__ ));
extern float log2f (float __x) __attribute__ ((__nothrow__ )); extern float __log2f (float __x) __attribute__ ((__nothrow__ ));
extern float powf (float __x, float __y) __attribute__ ((__nothrow__ )); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__ ));
extern float sqrtf (float __x) __attribute__ ((__nothrow__ )); extern float __sqrtf (float __x) __attribute__ ((__nothrow__ ));
extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__ )); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__ ));
extern float cbrtf (float __x) __attribute__ ((__nothrow__ )); extern float __cbrtf (float __x) __attribute__ ((__nothrow__ ));
extern float ceilf (float __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern float fabsf (float __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern float floorf (float __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__ )); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__ ));
# 198 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern float nanf (const char *__tagb) __attribute__ ((__nothrow__ )); extern float __nanf (const char *__tagb) __attribute__ ((__nothrow__ ));
# 231 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern float erff (float) __attribute__ ((__nothrow__ )); extern float __erff (float) __attribute__ ((__nothrow__ ));
extern float erfcf (float) __attribute__ ((__nothrow__ )); extern float __erfcf (float) __attribute__ ((__nothrow__ ));
extern float lgammaf (float) __attribute__ ((__nothrow__ )); extern float __lgammaf (float) __attribute__ ((__nothrow__ ));
extern float tgammaf (float) __attribute__ ((__nothrow__ )); extern float __tgammaf (float) __attribute__ ((__nothrow__ ));
# 259 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern float rintf (float __x) __attribute__ ((__nothrow__ )); extern float __rintf (float __x) __attribute__ ((__nothrow__ ));
extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__ )); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__ ));
extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ )); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ ));
# 275 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__ )); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__ ));
extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__ )); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__ ));
extern int ilogbf (float __x) __attribute__ ((__nothrow__ )); extern int __ilogbf (float __x) __attribute__ ((__nothrow__ ));
# 293 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ )); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ ));
extern float nearbyintf (float __x) __attribute__ ((__nothrow__ )); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__ ));
extern float roundf (float __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern float truncf (float __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ )); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ ));
extern long int lrintf (float __x) __attribute__ ((__nothrow__ )); extern long int __lrintf (float __x) __attribute__ ((__nothrow__ ));
__extension__
extern long long int llrintf (float __x) __attribute__ ((__nothrow__ )); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__ ));
extern long int lroundf (float __x) __attribute__ ((__nothrow__ )); extern long int __lroundf (float __x) __attribute__ ((__nothrow__ ));
__extension__
extern long long int llroundf (float __x) __attribute__ ((__nothrow__ )); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__ ));
extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__ )); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__ ));
extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern float fminf (float __x, float __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ )); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ ));
# 331 "/usr/include/math.h" 2 3 4
# 398 "/usr/include/math.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h" 1 3 4
# 20 "/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h" 3 4
extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __signbitl (long double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __isinfl (long double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __finitel (long double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __isnanl (long double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
extern int __iseqsigl (long double __x, long double __y) __attribute__ ((__nothrow__ ));
extern int __issignalingl (long double __value) __attribute__ ((__nothrow__ ))
__attribute__ ((__const__));
# 399 "/usr/include/math.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 1 3 4
# 53 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern long double acosl (long double __x) __attribute__ ((__nothrow__ )); extern long double __acosl (long double __x) __attribute__ ((__nothrow__ ));
extern long double asinl (long double __x) __attribute__ ((__nothrow__ )); extern long double __asinl (long double __x) __attribute__ ((__nothrow__ ));
extern long double atanl (long double __x) __attribute__ ((__nothrow__ )); extern long double __atanl (long double __x) __attribute__ ((__nothrow__ ));
extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ )); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ ));
extern long double cosl (long double __x) __attribute__ ((__nothrow__ )); extern long double __cosl (long double __x) __attribute__ ((__nothrow__ ));
extern long double sinl (long double __x) __attribute__ ((__nothrow__ )); extern long double __sinl (long double __x) __attribute__ ((__nothrow__ ));
extern long double tanl (long double __x) __attribute__ ((__nothrow__ )); extern long double __tanl (long double __x) __attribute__ ((__nothrow__ ));
extern long double coshl (long double __x) __attribute__ ((__nothrow__ )); extern long double __coshl (long double __x) __attribute__ ((__nothrow__ ));
extern long double sinhl (long double __x) __attribute__ ((__nothrow__ )); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__ ));
extern long double tanhl (long double __x) __attribute__ ((__nothrow__ )); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__ ));
# 85 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern long double acoshl (long double __x) __attribute__ ((__nothrow__ )); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__ ));
extern long double asinhl (long double __x) __attribute__ ((__nothrow__ )); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__ ));
extern long double atanhl (long double __x) __attribute__ ((__nothrow__ )); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__ ));
extern long double expl (long double __x) __attribute__ ((__nothrow__ )); extern long double __expl (long double __x) __attribute__ ((__nothrow__ ));
extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ )); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ ));
extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ )); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ ));
extern long double logl (long double __x) __attribute__ ((__nothrow__ )); extern long double __logl (long double __x) __attribute__ ((__nothrow__ ));
extern long double log10l (long double __x) __attribute__ ((__nothrow__ )); extern long double __log10l (long double __x) __attribute__ ((__nothrow__ ));
extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ )); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2)));
# 119 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern long double expm1l (long double __x) __attribute__ ((__nothrow__ )); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__ ));
extern long double log1pl (long double __x) __attribute__ ((__nothrow__ )); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__ ));
extern long double logbl (long double __x) __attribute__ ((__nothrow__ )); extern long double __logbl (long double __x) __attribute__ ((__nothrow__ ));
extern long double exp2l (long double __x) __attribute__ ((__nothrow__ )); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__ ));
extern long double log2l (long double __x) __attribute__ ((__nothrow__ )); extern long double __log2l (long double __x) __attribute__ ((__nothrow__ ));
extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__ )); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__ ));
extern long double sqrtl (long double __x) __attribute__ ((__nothrow__ )); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__ ));
extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ )); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ ));
extern long double cbrtl (long double __x) __attribute__ ((__nothrow__ )); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__ ));
extern long double ceill (long double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern long double fabsl (long double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern long double floorl (long double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ )); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ ));
# 198 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern long double nanl (const char *__tagb) __attribute__ ((__nothrow__ )); extern long double __nanl (const char *__tagb) __attribute__ ((__nothrow__ ));
# 231 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern long double erfl (long double) __attribute__ ((__nothrow__ )); extern long double __erfl (long double) __attribute__ ((__nothrow__ ));
extern long double erfcl (long double) __attribute__ ((__nothrow__ )); extern long double __erfcl (long double) __attribute__ ((__nothrow__ ));
extern long double lgammal (long double) __attribute__ ((__nothrow__ )); extern long double __lgammal (long double) __attribute__ ((__nothrow__ ));
extern long double tgammal (long double) __attribute__ ((__nothrow__ )); extern long double __tgammal (long double) __attribute__ ((__nothrow__ ));
# 259 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern long double rintl (long double __x) __attribute__ ((__nothrow__ )); extern long double __rintl (long double __x) __attribute__ ((__nothrow__ ));
extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ )); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ ));
extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ )); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ ));
# 275 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ )); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ ));
extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ )); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ ));
extern int ilogbl (long double __x) __attribute__ ((__nothrow__ )); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__ ));
# 293 "/usr/include/x86_64-linux-gnu/bits/mathcalls.h" 3 4
extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ )); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ ));
extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__ )); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__ ));
extern long double roundl (long double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern long double truncl (long double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ )); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ ));
extern long int lrintl (long double __x) __attribute__ ((__nothrow__ )); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__ ));
__extension__
extern long long int llrintl (long double __x) __attribute__ ((__nothrow__ )); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__ ));
extern long int lroundl (long double __x) __attribute__ ((__nothrow__ )); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__ ));
__extension__
extern long long int llroundl (long double __x) __attribute__ ((__nothrow__ )); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__ ));
extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ )); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ ));
extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ )); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ ));
# 400 "/usr/include/math.h" 2 3 4
# 934 "/usr/include/math.h" 3 4
enum
{
FP_NAN =
0,
FP_INFINITE =
1,
FP_ZERO =
2,
FP_SUBNORMAL =
3,
FP_NORMAL =
4
};
# 446 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/include/setjmp.h" 1 3 4
# 29 "/usr/include/setjmp.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/setjmp.h" 1 3 4
# 26 "/usr/include/x86_64-linux-gnu/bits/setjmp.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 27 "/usr/include/x86_64-linux-gnu/bits/setjmp.h" 2 3 4
typedef long int __jmp_buf[8];
# 30 "/usr/include/setjmp.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h" 1 3 4
# 26 "/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h" 3 4
struct __jmp_buf_tag
{
__jmp_buf __jmpbuf;
int __mask_was_saved;
__sigset_t __saved_mask;
};
# 31 "/usr/include/setjmp.h" 2 3 4
typedef struct __jmp_buf_tag jmp_buf[1];
extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__));
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__));
extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__));
# 54 "/usr/include/setjmp.h" 3 4
extern void longjmp (struct __jmp_buf_tag __env[1], int __val)
__attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
# 70 "/usr/include/setjmp.h" 3 4
typedef struct __jmp_buf_tag sigjmp_buf[1];
# 80 "/usr/include/setjmp.h" 3 4
extern void siglongjmp (sigjmp_buf __env, int __val)
__attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
# 447 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3
# 72 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_ptrdiff_t.h" 1 3
# 18 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_ptrdiff_t.h" 3
typedef long int ptrdiff_t;
# 73 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 1 3
# 78 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3
# 87 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_wchar_t.h" 1 3
# 24 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_wchar_t.h" 3
typedef int wchar_t;
# 88 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_null.h" 1 3
# 93 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3
# 112 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_offsetof.h" 1 3
# 113 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3
# 449 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/include/stdio.h" 1 3 4
# 27 "/usr/include/stdio.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
# 28 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 77 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 1 3 4
# 78 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 92 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_null.h" 1 3 4
# 93 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 34 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 1 3 4
# 37 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h" 1 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h" 1 3 4
# 13 "/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h" 3 4
typedef struct
{
int __count;
union
{
unsigned int __wch;
char __wchb[4];
} __value;
} __mbstate_t;
# 6 "/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h" 2 3 4
typedef struct _G_fpos_t
{
__off_t __pos;
__mbstate_t __state;
} __fpos_t;
# 40 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h" 1 3 4
# 10 "/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h" 3 4
typedef struct _G_fpos64_t
{
__off64_t __pos;
__mbstate_t __state;
} __fpos64_t;
# 41 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/__FILE.h" 1 3 4
struct _IO_FILE;
typedef struct _IO_FILE __FILE;
# 42 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/FILE.h" 1 3 4
struct _IO_FILE;
typedef struct _IO_FILE FILE;
# 43 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h" 1 3 4
# 35 "/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h" 3 4
struct _IO_FILE;
struct _IO_marker;
struct _IO_codecvt;
struct _IO_wide_data;
typedef void _IO_lock_t;
struct _IO_FILE
{
int _flags;
char *_IO_read_ptr;
char *_IO_read_end;
char *_IO_read_base;
char *_IO_write_base;
char *_IO_write_ptr;
char *_IO_write_end;
char *_IO_buf_base;
char *_IO_buf_end;
char *_IO_save_base;
char *_IO_backup_base;
char *_IO_save_end;
struct _IO_marker *_markers;
struct _IO_FILE *_chain;
int _fileno;
int _flags2;
__off_t _old_offset;
unsigned short _cur_column;
signed char _vtable_offset;
char _shortbuf[1];
_IO_lock_t *_lock;
__off64_t _offset;
struct _IO_codecvt *_codecvt;
struct _IO_wide_data *_wide_data;
struct _IO_FILE *_freeres_list;
void *_freeres_buf;
size_t __pad5;
int _mode;
char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
};
# 44 "/usr/include/stdio.h" 2 3 4
# 84 "/usr/include/stdio.h" 3 4
typedef __fpos_t fpos_t;
# 133 "/usr/include/stdio.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/stdio_lim.h" 1 3 4
# 134 "/usr/include/stdio.h" 2 3 4
# 143 "/usr/include/stdio.h" 3 4
extern FILE *stdin;
extern FILE *stdout;
extern FILE *stderr;
extern int remove (const char *__filename) __attribute__ ((__nothrow__ ));
extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ ));
# 178 "/usr/include/stdio.h" 3 4
extern int fclose (FILE *__stream);
# 188 "/usr/include/stdio.h" 3 4
extern FILE *tmpfile (void)
__attribute__ ((__malloc__)) ;
# 205 "/usr/include/stdio.h" 3 4
extern char *tmpnam (char[20]) __attribute__ ((__nothrow__ )) ;
# 230 "/usr/include/stdio.h" 3 4
extern int fflush (FILE *__stream);
# 258 "/usr/include/stdio.h" 3 4
extern FILE *fopen (const char *__restrict __filename,
const char *__restrict __modes)
__attribute__ ((__malloc__)) ;
extern FILE *freopen (const char *__restrict __filename,
const char *__restrict __modes,
FILE *__restrict __stream) ;
# 293 "/usr/include/stdio.h" 3 4
extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ ))
__attribute__ ((__malloc__)) ;
# 328 "/usr/include/stdio.h" 3 4
extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ ));
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
int __modes, size_t __n) __attribute__ ((__nothrow__ ));
# 350 "/usr/include/stdio.h" 3 4
extern int fprintf (FILE *__restrict __stream,
const char *__restrict __format, ...);
extern int printf (const char *__restrict __format, ...);
extern int sprintf (char *__restrict __s,
const char *__restrict __format, ...) __attribute__ ((__nothrow__));
extern int vfprintf (FILE *__restrict __s, const char *__restrict __format,
__gnuc_va_list __arg);
extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg);
extern int vsprintf (char *__restrict __s, const char *__restrict __format,
__gnuc_va_list __arg) __attribute__ ((__nothrow__));
extern int snprintf (char *__restrict __s, size_t __maxlen,
const char *__restrict __format, ...)
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
extern int vsnprintf (char *__restrict __s, size_t __maxlen,
const char *__restrict __format, __gnuc_va_list __arg)
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
# 415 "/usr/include/stdio.h" 3 4
extern int fscanf (FILE *__restrict __stream,
const char *__restrict __format, ...) ;
extern int scanf (const char *__restrict __format, ...) ;
extern int sscanf (const char *__restrict __s,
const char *__restrict __format, ...) __attribute__ ((__nothrow__ ));
# 434 "/usr/include/stdio.h" 3 4
extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") ;
extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") ;
extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ ));
# 459 "/usr/include/stdio.h" 3 4
extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
__gnuc_va_list __arg)
__attribute__ ((__format__ (__scanf__, 2, 0))) ;
extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg)
__attribute__ ((__format__ (__scanf__, 1, 0))) ;
extern int vsscanf (const char *__restrict __s,
const char *__restrict __format, __gnuc_va_list __arg)
__attribute__ ((__nothrow__ )) __attribute__ ((__format__ (__scanf__, 2, 0)));
extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf")
__attribute__ ((__format__ (__scanf__, 2, 0))) ;
extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
__attribute__ ((__format__ (__scanf__, 1, 0))) ;
extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ ))
__attribute__ ((__format__ (__scanf__, 2, 0)));
# 513 "/usr/include/stdio.h" 3 4
extern int fgetc (FILE *__stream);
extern int getc (FILE *__stream);
extern int getchar (void);
extern int getc_unlocked (FILE *__stream);
extern int getchar_unlocked (void);
# 549 "/usr/include/stdio.h" 3 4
extern int fputc (int __c, FILE *__stream);
extern int putc (int __c, FILE *__stream);
extern int putchar (int __c);
# 573 "/usr/include/stdio.h" 3 4
extern int putc_unlocked (int __c, FILE *__stream);
extern int putchar_unlocked (int __c);
# 592 "/usr/include/stdio.h" 3 4
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
;
# 605 "/usr/include/stdio.h" 3 4
extern char *gets (char *__s) __attribute__ ((__deprecated__));
# 655 "/usr/include/stdio.h" 3 4
extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
extern int puts (const char *__s);
extern int ungetc (int __c, FILE *__stream);
extern size_t fread (void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __stream) ;
extern size_t fwrite (const void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __s);
# 713 "/usr/include/stdio.h" 3 4
extern int fseek (FILE *__stream, long int __off, int __whence);
extern long int ftell (FILE *__stream) ;
extern void rewind (FILE *__stream);
# 760 "/usr/include/stdio.h" 3 4
extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
extern int fsetpos (FILE *__stream, const fpos_t *__pos);
# 786 "/usr/include/stdio.h" 3 4
extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ ));
extern int feof (FILE *__stream) __attribute__ ((__nothrow__ )) ;
extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ )) ;
# 804 "/usr/include/stdio.h" 3 4
extern void perror (const char *__s);
extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ )) ;
# 823 "/usr/include/stdio.h" 3 4
extern int pclose (FILE *__stream);
extern FILE *popen (const char *__command, const char *__modes)
__attribute__ ((__malloc__)) ;
extern char *ctermid (char *__s) __attribute__ ((__nothrow__ ))
;
# 867 "/usr/include/stdio.h" 3 4
extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ ));
extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ )) ;
extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ ));
# 885 "/usr/include/stdio.h" 3 4
extern int __uflow (FILE *);
extern int __overflow (FILE *, int);
# 1 "/usr/include/x86_64-linux-gnu/bits/stdio.h" 1 3 4
# 38 "/usr/include/x86_64-linux-gnu/bits/stdio.h" 3 4
extern __inline __attribute__ ((__gnu_inline__)) int
vprintf (const char *__restrict __fmt, __gnuc_va_list __arg)
{
return vfprintf (stdout, __fmt, __arg);
}
extern __inline __attribute__ ((__gnu_inline__)) int
getchar (void)
{
return getc (stdin);
}
# 65 "/usr/include/x86_64-linux-gnu/bits/stdio.h" 3 4
extern __inline __attribute__ ((__gnu_inline__)) int
getc_unlocked (FILE *__fp)
{
return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
}
extern __inline __attribute__ ((__gnu_inline__)) int
getchar_unlocked (void)
{
return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
}
extern __inline __attribute__ ((__gnu_inline__)) int
putchar (int __c)
{
return putc (__c, stdout);
}
# 100 "/usr/include/x86_64-linux-gnu/bits/stdio.h" 3 4
extern __inline __attribute__ ((__gnu_inline__)) int
putc_unlocked (int __c, FILE *__stream)
{
return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
}
extern __inline __attribute__ ((__gnu_inline__)) int
putchar_unlocked (int __c)
{
return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
}
# 892 "/usr/include/stdio.h" 2 3 4
# 450 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/include/stdlib.h" 1 3 4
# 26 "/usr/include/stdlib.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
# 27 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 77 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 1 3 4
# 78 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 87 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_wchar_t.h" 1 3 4
# 88 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_null.h" 1 3 4
# 93 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 33 "/usr/include/stdlib.h" 2 3 4
# 59 "/usr/include/stdlib.h" 3 4
typedef struct
{
int quot;
int rem;
} div_t;
typedef struct
{
long int quot;
long int rem;
} ldiv_t;
__extension__ typedef struct
{
long long int quot;
long long int rem;
} lldiv_t;
# 98 "/usr/include/stdlib.h" 3 4
extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ )) ;
extern double atof (const char *__nptr)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
extern int atoi (const char *__nptr)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
extern long int atol (const char *__nptr)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
__extension__ extern long long int atoll (const char *__nptr)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
extern double strtod (const char *__restrict __nptr,
char **__restrict __endptr)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern float strtof (const char *__restrict __nptr,
char **__restrict __endptr) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern long double strtold (const char *__restrict __nptr,
char **__restrict __endptr)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
# 177 "/usr/include/stdlib.h" 3 4
extern long int strtol (const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern unsigned long int strtoul (const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
# 200 "/usr/include/stdlib.h" 3 4
__extension__
extern long long int strtoll (const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
__extension__
extern unsigned long long int strtoull (const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
# 361 "/usr/include/stdlib.h" 3 4
extern __inline __attribute__ ((__gnu_inline__)) int
__attribute__ ((__nothrow__ )) atoi (const char *__nptr)
{
return (int) strtol (__nptr, (char **) ((void*)0), 10);
}
extern __inline __attribute__ ((__gnu_inline__)) long int
__attribute__ ((__nothrow__ )) atol (const char *__nptr)
{
return strtol (__nptr, (char **) ((void*)0), 10);
}
__extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int
__attribute__ ((__nothrow__ )) atoll (const char *__nptr)
{
return strtoll (__nptr, (char **) ((void*)0), 10);
}
# 454 "/usr/include/stdlib.h" 3 4
extern int rand (void) __attribute__ ((__nothrow__ ));
extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ ));
extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ ));
# 540 "/usr/include/stdlib.h" 3 4
extern void *malloc (size_t __size) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__))
;
extern void *calloc (size_t __nmemb, size_t __size)
__attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
extern void *realloc (void *__ptr, size_t __size)
__attribute__ ((__nothrow__ )) __attribute__ ((__warn_unused_result__)) ;
extern void free (void *__ptr) __attribute__ ((__nothrow__ ));
# 598 "/usr/include/stdlib.h" 3 4
extern void abort (void) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
# 624 "/usr/include/stdlib.h" 3 4
extern void exit (int __status) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
# 636 "/usr/include/stdlib.h" 3 4
extern void _Exit (int __status) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
extern char *getenv (const char *__name) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
# 791 "/usr/include/stdlib.h" 3 4
extern int system (const char *__command) ;
# 816 "/usr/include/stdlib.h" 3 4
typedef int (*__compar_fn_t) (const void *, const void *);
# 828 "/usr/include/stdlib.h" 3 4
extern void *bsearch (const void *__key, const void *__base,
size_t __nmemb, size_t __size, __compar_fn_t __compar)
__attribute__ ((__nonnull__ (1, 2, 5))) ;
# 1 "/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h" 1 3 4
# 19 "/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h" 3 4
extern __inline __attribute__ ((__gnu_inline__)) void *
bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
__compar_fn_t __compar)
{
size_t __l, __u, __idx;
const void *__p;
int __comparison;
__l = 0;
__u = __nmemb;
while (__l < __u)
{
__idx = (__l + __u) / 2;
__p = (const void *) (((const char *) __base) + (__idx * __size));
__comparison = (*__compar) (__key, __p);
if (__comparison < 0)
__u = __idx;
else if (__comparison > 0)
__l = __idx + 1;
else
{
return (void *) __p;
}
}
return ((void*)0);
}
# 834 "/usr/include/stdlib.h" 2 3 4
extern void qsort (void *__base, size_t __nmemb, size_t __size,
__compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
# 848 "/usr/include/stdlib.h" 3 4
extern int abs (int __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
extern long int labs (long int __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
__extension__ extern long long int llabs (long long int __x)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
extern div_t div (int __numer, int __denom)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
extern ldiv_t ldiv (long int __numer, long int __denom)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
__extension__ extern lldiv_t lldiv (long long int __numer,
long long int __denom)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
# 930 "/usr/include/stdlib.h" 3 4
extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ ));
extern int mbtowc (wchar_t *__restrict __pwc,
const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ ));
extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ ));
extern size_t mbstowcs (wchar_t *__restrict __pwcs,
const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ ))
;
extern size_t wcstombs (char *__restrict __s,
const wchar_t *__restrict __pwcs, size_t __n)
__attribute__ ((__nothrow__ ))
;
# 1023 "/usr/include/stdlib.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/stdlib-float.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/stdlib-float.h" 3 4
extern __inline __attribute__ ((__gnu_inline__)) double
__attribute__ ((__nothrow__ )) atof (const char *__nptr)
{
return strtod (__nptr, (char **) ((void*)0));
}
# 1024 "/usr/include/stdlib.h" 2 3 4
# 451 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/include/string.h" 1 3 4
# 26 "/usr/include/string.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
# 27 "/usr/include/string.h" 2 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 77 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 1 3 4
# 78 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 92 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_null.h" 1 3 4
# 93 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 34 "/usr/include/string.h" 2 3 4
# 43 "/usr/include/string.h" 3 4
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
size_t __n) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
extern void *memmove (void *__dest, const void *__src, size_t __n)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
# 61 "/usr/include/string.h" 3 4
extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern int memcmp (const void *__s1, const void *__s2, size_t __n)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
# 80 "/usr/include/string.h" 3 4
extern int __memcmpeq (const void *__s1, const void *__s2, size_t __n)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
# 107 "/usr/include/string.h" 3 4
extern void *memchr (const void *__s, int __c, size_t __n)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
# 141 "/usr/include/string.h" 3 4
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
extern char *strncpy (char *__restrict __dest,
const char *__restrict __src, size_t __n)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
extern char *strcat (char *__restrict __dest, const char *__restrict __src)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
extern char *strncat (char *__restrict __dest, const char *__restrict __src,
size_t __n) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
extern int strcmp (const char *__s1, const char *__s2)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
extern int strcoll (const char *__s1, const char *__s2)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
extern size_t strxfrm (char *__restrict __dest,
const char *__restrict __src, size_t __n)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2))) ;
# 246 "/usr/include/string.h" 3 4
extern char *strchr (const char *__s, int __c)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
# 273 "/usr/include/string.h" 3 4
extern char *strrchr (const char *__s, int __c)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
# 293 "/usr/include/string.h" 3 4
extern size_t strcspn (const char *__s, const char *__reject)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
extern size_t strspn (const char *__s, const char *__accept)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
# 323 "/usr/include/string.h" 3 4
extern char *strpbrk (const char *__s, const char *__accept)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
# 350 "/usr/include/string.h" 3 4
extern char *strstr (const char *__haystack, const char *__needle)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2)));
extern char *__strtok_r (char *__restrict __s,
const char *__restrict __delim,
char **__restrict __save_ptr)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2, 3)));
extern char *strtok_r (char *__restrict __s, const char *__restrict __delim,
char **__restrict __save_ptr)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2, 3)));
# 407 "/usr/include/string.h" 3 4
extern size_t strlen (const char *__s)
__attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
# 419 "/usr/include/string.h" 3 4
extern char *strerror (int __errnum) __attribute__ ((__nothrow__ ));
# 452 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/include/time.h" 1 3 4
# 29 "/usr/include/time.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 77 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 1 3 4
# 78 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 92 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_null.h" 1 3 4
# 93 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 30 "/usr/include/time.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/time.h" 1 3 4
# 40 "/usr/include/x86_64-linux-gnu/bits/time.h" 3 4
extern long int __sysconf (int);
# 34 "/usr/include/time.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/clock_t.h" 1 3 4
typedef __clock_t clock_t;
# 38 "/usr/include/time.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h" 1 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 int __tm_gmtoff;
const char *__tm_zone;
};
# 40 "/usr/include/time.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h" 1 3 4
struct itimerspec
{
struct timespec it_interval;
struct timespec it_value;
};
# 49 "/usr/include/time.h" 2 3 4
struct sigevent;
# 72 "/usr/include/time.h" 3 4
extern clock_t clock (void) __attribute__ ((__nothrow__ ));
extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ ));
extern double difftime (time_t __time1, time_t __time0)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ ));
# 100 "/usr/include/time.h" 3 4
extern size_t strftime (char *__restrict __s, size_t __maxsize,
const char *__restrict __format,
const struct tm *__restrict __tp) __attribute__ ((__nothrow__ ));
# 132 "/usr/include/time.h" 3 4
extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ ));
extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ ));
# 154 "/usr/include/time.h" 3 4
extern struct tm *gmtime_r (const time_t *__restrict __timer,
struct tm *__restrict __tp) __attribute__ ((__nothrow__ ));
extern struct tm *localtime_r (const time_t *__restrict __timer,
struct tm *__restrict __tp) __attribute__ ((__nothrow__ ));
# 179 "/usr/include/time.h" 3 4
extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ ));
extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ ));
# 197 "/usr/include/time.h" 3 4
extern char *asctime_r (const struct tm *__restrict __tp,
char *__restrict __buf) __attribute__ ((__nothrow__ ));
extern char *ctime_r (const time_t *__restrict __timer,
char *__restrict __buf) __attribute__ ((__nothrow__ ));
# 217 "/usr/include/time.h" 3 4
extern char *__tzname[2];
extern int __daylight;
extern long int __timezone;
extern char *tzname[2];
extern void tzset (void) __attribute__ ((__nothrow__ ));
# 272 "/usr/include/time.h" 3 4
extern int nanosleep (const struct timespec *__requested_time,
struct timespec *__remaining);
extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ ));
extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ ));
extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp)
__attribute__ ((__nothrow__ ));
# 331 "/usr/include/time.h" 3 4
extern int timer_create (clockid_t __clock_id,
struct sigevent *__restrict __evp,
timer_t *__restrict __timerid) __attribute__ ((__nothrow__ ));
extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ ));
extern int timer_settime (timer_t __timerid, int __flags,
const struct itimerspec *__restrict __value,
struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ ));
extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
__attribute__ ((__nothrow__ ));
# 364 "/usr/include/time.h" 3 4
extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ ));
# 453 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stdbool.h" 1 3
# 454 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h" 2
# 219 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSVersionMacros.h" 2
# 344 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSVersionMacros.h"
static inline void gs_consumed(id __attribute__((ns_consumed)) o) __attribute__((unused));
static inline void gs_consumed(id __attribute__((ns_consumed)) __attribute__((unused)) o) { return; }
# 360 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSVersionMacros.h"
# 1 "/usr/GNUstep/Local/Library/Headers/Block.h" 1
# 1 "/usr/GNUstep/Local/Library/Headers/objc/blocks_runtime.h" 1
# 3 "/usr/GNUstep/Local/Library/Headers/objc/blocks_runtime.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/Availability.h" 1 3
# 3 "/usr/GNUstep/Local/Library/Headers/objc/Availability.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/objc-visibility.h" 1 3
# 6 "/usr/GNUstep/Local/Library/Headers/objc/Availability.h" 2 3
# 10 "/usr/GNUstep/Local/Library/Headers/objc/blocks_runtime.h" 2 3
extern void *_Block_copy(const void *);
extern void _Block_release(const void *);
extern const char *block_getType_np(const void *b) ;
extern _Bool _Block_has_signature(void *);
extern const char * _Block_signature(void *);
# 2 "/usr/GNUstep/Local/Library/Headers/Block.h" 2
# 361 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSVersionMacros.h" 2
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/objc/objc.h" 1
# 1 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 1
# 3 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/objc-visibility.h" 1 3
# 5 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 2 3
# 41 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/limits.h" 1 3
# 42 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 2 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3
# 43 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 2 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/Availability.h" 1 3
# 3 "/usr/GNUstep/Local/Library/Headers/objc/Availability.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/objc-visibility.h" 1 3
# 6 "/usr/GNUstep/Local/Library/Headers/objc/Availability.h" 2 3
# 45 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 2 3
# 63 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
typedef struct objc_ivar* Ivar;
# 78 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
typedef struct objc_selector *SEL;
typedef struct objc_class *Class;
typedef struct objc_object
{
__attribute__((deprecated))
Class isa;
} *id;
struct objc_super
{
__attribute__((objc_ownership(none))) id receiver;
Class super_class;
};
typedef id (*IMP)(id, SEL, ...);
typedef struct objc_method *Method;
# 137 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
typedef unsigned char BOOL;
# 150 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
typedef struct objc_property* objc_property_t;
@class Protocol;
struct objc_method_description
{
SEL name;
const char *types;
};
# 185 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
typedef struct
{
const char *name;
const char *value;
} objc_property_attribute_t;
# 227 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/slot.h" 1 3
# 3 "/usr/GNUstep/Local/Library/Headers/objc/slot.h" 3
# 21 "/usr/GNUstep/Local/Library/Headers/objc/slot.h" 3
struct objc_slot2
{
IMP method;
} ;
# 36 "/usr/GNUstep/Local/Library/Headers/objc/slot.h" 3
extern _Atomic(uint64_t) objc_method_cache_version;
struct objc_slot
{
Class owner;
Class cachedFor;
const char *types;
int version;
IMP method;
SEL selector;
} ;
# 228 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 2 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/message.h" 1 3
# 3 "/usr/GNUstep/Local/Library/Headers/objc/message.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/objc-visibility.h" 1 3
# 5 "/usr/GNUstep/Local/Library/Headers/objc/message.h" 2 3
# 36 "/usr/GNUstep/Local/Library/Headers/objc/message.h" 3
id objc_msgSend(id self, SEL _cmd, ...);
# 56 "/usr/GNUstep/Local/Library/Headers/objc/message.h" 3
void objc_msgSend_stret(id self, SEL _cmd, ...);
# 101 "/usr/GNUstep/Local/Library/Headers/objc/message.h" 3
long double objc_msgSend_fpret(id self, SEL _cmd, ...);
# 229 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 2 3
BOOL class_addIvar(Class cls,
const char *name,
size_t size,
uint8_t alignment,
const char *types);
BOOL class_addMethod(Class cls, SEL name, IMP imp, const char *types);
BOOL class_addProtocol(Class cls, Protocol *protocol);
BOOL class_conformsToProtocol(Class cls, Protocol *protocol);
Ivar* class_copyIvarList(Class cls, unsigned int *outCount);
Method * class_copyMethodList(Class cls, unsigned int *outCount);
objc_property_t* class_copyPropertyList(Class cls, unsigned int *outCount);
Protocol *__attribute__((objc_ownership(none)))* class_copyProtocolList(Class cls, unsigned int *outCount);
__attribute__((ns_returns_retained))
id class_createInstance(Class cls, size_t extraBytes);
Method class_getClassMethod(Class aClass, SEL aSelector);
Ivar class_getClassVariable(Class cls, const char* name);
Method class_getInstanceMethod(Class aClass, SEL aSelector);
size_t class_getInstanceSize(Class cls);
Ivar class_getInstanceVariable(Class cls, const char* name);
void object_setIvar(id object, Ivar ivar, id value);
Ivar object_setInstanceVariable(id obj, const char *name, void *value);
id object_getIvar(id object, Ivar ivar);
# 367 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
Ivar object_getInstanceVariable(id obj, const char *name, void **outValue);
IMP class_getMethodImplementation(Class cls, SEL name);
IMP class_getMethodImplementation_stret(Class cls, SEL name);
const char * class_getName(Class cls);
objc_property_t class_getProperty(Class cls, const char *name);
Class class_getSuperclass(Class cls);
int class_getVersion(Class theClass);
void class_setVersion(Class theClass, int version);
const char *class_getWeakIvarLayout(Class cls);
BOOL class_isMetaClass(Class cls);
BOOL class_registerAlias_np(Class cls, const char *alias);
IMP class_replaceMethod(Class cls, SEL name, IMP imp, const char *types);
# 447 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
BOOL class_respondsToSelector(Class cls, SEL sel);
const char *class_getIvarLayout(Class cls);
void class_setIvarLayout(Class cls, const char *layout);
__attribute__((deprecated))
Class class_setSuperclass(Class cls, Class newSuper);
void class_setWeakIvarLayout(Class cls, const char *layout);
const char* ivar_getName(Ivar ivar);
ptrdiff_t ivar_getOffset(Ivar ivar);
const char* ivar_getTypeEncoding(Ivar ivar);
# 499 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
char* method_copyArgumentType(Method method, unsigned int index);
char* method_copyReturnType(Method method);
void method_exchangeImplementations(Method m1, Method m2);
# 524 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
void method_getArgumentType(Method method, unsigned int index, char *dst, size_t dst_len);
IMP method_getImplementation(Method method);
# 540 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
SEL method_getName(Method method);
unsigned method_getNumberOfArguments(Method method);
# 557 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
void method_getReturnType(Method method, char *dst, size_t dst_len);
const char * method_getTypeEncoding(Method method);
IMP method_setImplementation(Method method, IMP imp);
# 582 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
Class objc_allocateClassPair(Class superclass, const char *name, size_t extraBytes);
void objc_disposeClassPair(Class cls);
# 599 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
id objc_getClass(const char *name);
# 608 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
int objc_getClassList(Class *buffer, int bufferLen);
Class *objc_copyClassList(unsigned int *outCount);
id objc_getMetaClass(const char *name);
id objc_getRequiredClass(const char *name);
id objc_lookUpClass(const char *name);
Protocol *objc_getProtocol(const char *name);
# 652 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
Protocol *objc_allocateProtocol(const char *name);
void objc_registerProtocol(Protocol *proto);
void protocol_addMethodDescription(Protocol *aProtocol,
SEL name,
const char *types,
BOOL isRequiredMethod,
BOOL isInstanceMethod);
void protocol_addProtocol(Protocol *aProtocol, Protocol *addition);
void protocol_addProperty(Protocol *aProtocol,
const char *name,
const objc_property_attribute_t *attributes,
unsigned int attributeCount,
BOOL isRequiredProperty,
BOOL isInstanceProperty);
# 692 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
void objc_registerClassPair(Class cls);
void *object_getIndexedIvars(id obj);
# 709 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
id object_dispose(id obj);
Class object_getClass(id obj);
Class object_setClass(id obj, Class cls);
const char *object_getClassName(id obj);
const char *property_getName(objc_property_t property);
# 746 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
const char *property_getAttributes(objc_property_t property);
objc_property_attribute_t *property_copyAttributeList(objc_property_t property,
unsigned int *outCount);
BOOL class_addProperty(Class cls,
const char *name,
const objc_property_attribute_t *attributes,
unsigned int attributeCount);
void class_replaceProperty(Class cls,
const char *name,
const objc_property_attribute_t *attributes,
unsigned int attributeCount);
char *property_copyAttributeValue(objc_property_t property,
const char *attributeName);
BOOL protocol_conformsToProtocol(Protocol *p, Protocol *other);
struct objc_method_description *protocol_copyMethodDescriptionList(Protocol *p,
BOOL isRequiredMethod, BOOL isInstanceMethod, unsigned int *count);
objc_property_t *protocol_copyPropertyList(Protocol *p, unsigned int *count);
objc_property_t *protocol_copyPropertyList2(Protocol *p, unsigned int *count,
BOOL isRequiredProperty, BOOL isInstanceProperty);
Protocol *__attribute__((objc_ownership(none)))*protocol_copyProtocolList(Protocol *p, unsigned int *count);
# 831 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
Protocol *__attribute__((objc_ownership(none)))*objc_copyProtocolList(unsigned int *outCount);
struct objc_method_description protocol_getMethodDescription(Protocol *p,
SEL aSel, BOOL isRequiredMethod, BOOL isInstanceMethod);
# 848 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
const char *_protocol_getMethodTypeEncoding(Protocol *p, SEL aSel,
BOOL isRequiredMethod, BOOL isInstanceMethod);
const char* protocol_getName(Protocol *p);
objc_property_t protocol_getProperty(Protocol *p, const char *name,
BOOL isRequiredProperty, BOOL isInstanceProperty);
# 871 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
BOOL protocol_isEqual(Protocol *p, Protocol *other);
IMP objc_msg_lookup(id, SEL) ;
IMP objc_msg_lookup_super(struct objc_super*, SEL) ;
const char *sel_getName(SEL sel);
SEL sel_getUid(const char *selName);
# 910 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
BOOL sel_isEqual(SEL sel1, SEL sel2);
SEL sel_registerName(const char *selName);
SEL sel_registerTypedName_np(const char *selName, const char *types) ;
const char *sel_getType_np(SEL aSel) ;
# 940 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
unsigned sel_copyTypes_np(const char *selName, const char **types, unsigned count) ;
# 951 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
unsigned sel_copyTypedSelectors_np(const char *selName, SEL *const sels, unsigned count) ;
extern struct objc_slot *objc_msg_lookup_sender(id *receiver, SEL selector, id sender)
;
extern struct objc_slot *objc_get_slot(Class, SEL)
;
# 976 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
extern struct objc_slot2 *objc_get_slot2(Class, SEL, uint64_t*)
;
# 986 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
extern struct objc_slot2 *objc_slot_lookup_version(id *receiver, SEL selector, uint64_t*)
;
extern IMP objc_msg_lookup2(id *receiver, SEL selector) ;
BOOL objc_registerSmallObjectClass_np(Class cls, uintptr_t classId);
# 1032 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
enum
{
OBJC_ASSOCIATION_ASSIGN = 0,
OBJC_ASSOCIATION_RETAIN_NONATOMIC = 1,
OBJC_ASSOCIATION_COPY_NONATOMIC = 3,
OBJC_ASSOCIATION_RETAIN = 0x301,
OBJC_ASSOCIATION_COPY = 0x303
};
typedef uintptr_t objc_AssociationPolicy;
id objc_getAssociatedObject(id object, const void *key);
# 1075 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
void objc_setAssociatedObject(id object, const void *key, id value, objc_AssociationPolicy policy);
void objc_removeAssociatedObjects(id object);
IMP imp_implementationWithBlock(id block);
char *block_copyIMPTypeEncoding_np(id block);
id imp_getBlock(IMP anImp);
BOOL imp_removeBlock(IMP anImp);
BOOL object_addMethod_np(id object, SEL name, IMP imp, const char *types);
IMP object_replaceMethod_np(id object, SEL name, IMP imp, const char *types);
id object_clone_np(id object);
id object_getPrototype_np(id object);
# 1159 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
int objc_set_apple_compatible_objcxx_exceptions(int newValue) ;
void __attribute__((weak)) objc_enumerationMutation(id obj);
# 1176 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
void objc_send_initialize(id object) ;
# 1221 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/runtime-deprecated.h" 1 3
# 3 "/usr/GNUstep/Local/Library/Headers/objc/runtime-deprecated.h" 3
# 16 "/usr/GNUstep/Local/Library/Headers/objc/runtime-deprecated.h" 3
__attribute__((deprecated))
void *objc_malloc(size_t size);
__attribute__((deprecated))
void *objc_atomic_malloc(size_t size);
__attribute__((deprecated))
void *objc_valloc(size_t size);
__attribute__((deprecated))
void *objc_realloc(void *mem, size_t size);
__attribute__((deprecated))
void * objc_calloc(size_t nelem, size_t size);
__attribute__((deprecated))
void objc_free(void *mem);
__attribute__((deprecated))
id objc_get_class(const char *name);
__attribute__((deprecated))
id objc_lookup_class(const char *name);
__attribute__((deprecated))
id objc_get_meta_class(const char *name);
__attribute__((deprecated))
Class objc_next_class(void **enum_state);
__attribute__((deprecated))
Class class_pose_as(Class impostor, Class super_class);
__attribute__((deprecated))
SEL sel_get_typed_uid (const char *name, const char *types);
__attribute__((deprecated))
SEL sel_get_any_typed_uid (const char *name);
__attribute__((deprecated))
SEL sel_get_any_uid (const char *name);
__attribute__((deprecated))
SEL sel_get_uid(const char *name);
__attribute__((deprecated))
const char *sel_get_name(SEL selector);
__attribute__((deprecated))
BOOL sel_is_mapped(SEL selector);
__attribute__((deprecated))
const char *sel_get_type(SEL selector);
__attribute__((deprecated))
SEL sel_register_name(const char *name);
__attribute__((deprecated))
SEL sel_register_typed_name(const char *name, const char *type);
__attribute__((deprecated))
BOOL sel_eq(SEL s1, SEL s2);
# 1222 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 2 3
# 2 "/usr/GNUstep/Local/Library/Headers/objc/objc.h" 2
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/FoundationErrors.h" 1
# 29 "/usr/GNUstep/System/Library/Headers/Foundation/FoundationErrors.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" 1
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" 1
# 40 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GNUstep.h" 1
# 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSBlocks.h" 1
# 117 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSBlocks.h"
# 1 "/usr/GNUstep/Local/Library/Headers/objc/blocks_runtime.h" 1
# 3 "/usr/GNUstep/Local/Library/Headers/objc/blocks_runtime.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/Availability.h" 1 3
# 3 "/usr/GNUstep/Local/Library/Headers/objc/Availability.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/objc-visibility.h" 1 3
# 6 "/usr/GNUstep/Local/Library/Headers/objc/Availability.h" 2 3
# 10 "/usr/GNUstep/Local/Library/Headers/objc/blocks_runtime.h" 2 3
extern void *_Block_copy(const void *);
extern void _Block_release(const void *);
extern const char *block_getType_np(const void *b) ;
extern _Bool _Block_has_signature(void *);
extern const char * _Block_signature(void *);
# 118 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSBlocks.h" 2
# 42 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" 2
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 1 3
# 44 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" 2
# 1 "/usr/lib/llvm-18/lib/clang/18/include/limits.h" 1 3
# 45 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" 2
# 97 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h"
typedef intptr_t NSInteger;
typedef uintptr_t NSUInteger;
# 107 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h"
typedef double CGFloat;
# 231 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h"
typedef enum NSEnumerationOptions : NSUInteger NSEnumerationOptions; enum NSEnumerationOptions : NSUInteger
{
NSEnumerationConcurrent = (1UL << 0),
NSEnumerationReverse = (1UL << 1)
};
typedef enum NSSortOptions : NSUInteger NSSortOptions; enum NSSortOptions : NSUInteger
{
NSSortConcurrent = (1UL << 0),
NSSortStable = (1UL << 4),
};
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" 1
# 62 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
# 1 "/usr/GNUstep/Local/Library/Headers/objc/objc-api.h" 1
# 3 "/usr/GNUstep/Local/Library/Headers/objc/objc-api.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 1 3
# 3 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/objc-visibility.h" 1 3
# 5 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 2 3
# 6 "/usr/GNUstep/Local/Library/Headers/objc/objc-api.h" 2 3
# 63 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/objc/encoding.h" 1
# 3 "/usr/GNUstep/Local/Library/Headers/objc/encoding.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/objc-visibility.h" 1 3
# 5 "/usr/GNUstep/Local/Library/Headers/objc/encoding.h" 2 3
# 14 "/usr/GNUstep/Local/Library/Headers/objc/encoding.h" 3
const char *objc_skip_type_qualifiers (const char *type);
const char *objc_skip_typespec(const char *type);
const char *objc_skip_argspec(const char *type);
size_t objc_sizeof_type(const char *type);
size_t objc_alignof_type(const char *type);
size_t objc_aligned_size(const char *type);
size_t objc_promoted_size(const char *type);
void method_getReturnType(Method method, char *dst, size_t dst_len);
const char *method_getTypeEncoding(Method method);
void method_getArgumentType(Method method,
unsigned int index,
char *dst,
size_t dst_len);
unsigned method_getNumberOfArguments(Method method);
unsigned method_get_number_of_arguments(struct objc_method *method);
char * method_copyArgumentType(Method method, unsigned int index);
char * method_copyReturnType(Method method);
unsigned objc_get_type_qualifiers (const char *type);
struct objc_struct_layout
{
const char *original_type;
const char *type;
const char *prev_type;
unsigned int record_size;
unsigned int record_align;
};
void objc_layout_structure (const char *type,
struct objc_struct_layout *layout);
BOOL objc_layout_structure_next_member(struct objc_struct_layout *layout);
void objc_layout_structure_get_info (struct objc_struct_layout *layout,
unsigned int *offset,
unsigned int *align,
const char **type);
# 64 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" 2
# 81 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
# 1 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 1
# 3 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 3
# 1 "/usr/GNUstep/Local/Library/Headers/objc/objc-visibility.h" 1 3
# 5 "/usr/GNUstep/Local/Library/Headers/objc/runtime.h" 2 3
# 82 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" 2
# 92 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
@class NSArray;
@class NSDictionary;
@class NSObject;
@class NSString;
@class NSValue;
# 139 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
extern BOOL
GSObjCFindVariable(id obj, const char *name,
const char **type, unsigned int *size, int *offset);
extern void
GSObjCGetVariable(id obj, int offset, unsigned int size, void *data);
extern void
GSObjCSetVariable(id obj, int offset, unsigned int size, const void *data);
extern NSArray *
GSObjCMethodNames(id obj, BOOL recurse);
extern NSArray *
GSObjCVariableNames(id obj, BOOL recurse);
# 183 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
extern void
GSObjCAddClassBehavior(Class receiver, Class behavior);
# 212 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
extern void
GSObjCAddClassOverride(Class receiver, Class override);
extern BOOL GSObjCBehaviorDebug(int setget);
extern NSValue *
GSObjCMakeClass(NSString *name, NSString *superName, NSDictionary *iVars);
extern void
GSObjCAddClasses(NSArray *classes);
# 234 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
extern void
GSObjCAddMethods(Class cls, Method *list, BOOL replace);
extern id
GSObjCGetVal(NSObject *self, const char *key, SEL sel,
const char *type, unsigned size, int offset);
extern void
GSObjCSetVal(NSObject *self, const char *key, id val, SEL sel,
const char *type, unsigned size, int offset);
# 261 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
extern unsigned int
GSClassList(Class *buffer, unsigned int max, BOOL clearCache);
extern Class GSObjCClass(id obj);
extern Class GSObjCSuper(Class cls);
extern BOOL GSObjCIsInstance(id obj);
extern BOOL GSObjCIsClass(Class cls);
extern BOOL GSObjCIsKindOf(Class cls, Class other);
extern Class GSClassFromName(const char *name);
extern const char *GSNameFromClass(Class cls);
extern const char *GSClassNameFromObject(id obj);
extern const char *GSNameFromSelector(SEL sel);
extern SEL
GSSelectorFromName(const char *name);
extern SEL
GSSelectorFromNameAndTypes(const char *name, const char *types);
extern const char *
GSTypesFromSelector(SEL sel);
extern BOOL
GSSelectorTypesMatch(const char *types1, const char *types2);
extern const char *
GSSkipTypeQualifierAndLayoutInfo(const char *types);
# 360 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
extern Protocol *
GSProtocolFromName(const char *name);
extern void
GSRegisterProtocol(Protocol *proto);
# 377 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
extern struct objc_method_description
GSProtocolGetMethodDescriptionRecursive(Protocol *aProtocol, SEL aSel, BOOL isRequired, BOOL isInstance);
typedef Method GSMethod;
typedef Ivar GSIVar;
# 403 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
extern GSMethod
GSGetMethod(Class cls, SEL sel,
BOOL searchInstanceMethods,
BOOL searchSuperClasses);
extern void
GSFlushMethodCacheForClass (Class cls);
extern GSIVar
GSCGetInstanceVariableDefinition(Class cls, const char *name);
extern GSIVar
GSObjCGetInstanceVariableDefinition(Class cls, NSString *name);
extern int GSObjCVersion(Class cls);
extern void *
GSAutoreleasedBuffer(unsigned size);
# 451 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h"
extern BOOL
GSPrintf (FILE *fptr, NSString *format, ...);
extern NSArray *
GSObjCAllSubclassesOfClass(Class cls);
extern NSArray *
GSObjCDirectSubclassesOfClass(Class cls);
extern void
GSClassSwizzle(id instance, Class newClass);
extern const char *
GSLastErrorStr(long error_id) __attribute__((deprecated));
# 259 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" 2
extern NSString *NSStringFromProtocol(Protocol *aProtocol);
extern Protocol *NSProtocolFromString(NSString *aProtocolName);
extern SEL NSSelectorFromString(NSString *aSelectorName);
extern NSString *NSStringFromSelector(SEL aSelector);
extern SEL NSSelectorFromString(NSString *aSelectorName);
extern Class NSClassFromString(NSString *aClassName);
extern NSString *NSStringFromClass(Class aClass);
extern const char *NSGetSizeAndAlignment(const char *typePtr,
NSUInteger *sizep, NSUInteger *alignp);
# 279 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h"
typedef void NSLog_printf_handler (NSString* message);
extern NSLog_printf_handler *_NSLog_printf_handler;
extern int _NSLogDescriptor;
@class NSRecursiveLock;
extern NSRecursiveLock *GSLogLock(void);
extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
extern void NSLogv(NSString *format, va_list args) __attribute__((format(__NSString__, 1, 0)));
# 304 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h"
typedef enum NSComparisonResult : NSInteger NSComparisonResult; enum NSComparisonResult : NSInteger
{
NSOrderedAscending = (NSInteger)-1, NSOrderedSame, NSOrderedDescending
};
enum {NSNotFound = (9223372036854775807L)};
typedef NSComparisonResult(^NSComparator)(id, id);
# 321 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h"
typedef NSString* NSExceptionName;
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" 1
# 55 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
typedef struct _NSZone NSZone;
@class NSString;
struct _NSZone
{
void *(*malloc)(struct _NSZone *zone, size_t size);
void *(*realloc)(struct _NSZone *zone, void *ptr, size_t size);
void (*free)(struct _NSZone *zone, void *ptr);
void (*recycle)(struct _NSZone *zone);
BOOL (*check)(struct _NSZone *zone);
BOOL (*lookup)(struct _NSZone *zone, void *ptr);
struct NSZoneStats (*stats)(struct _NSZone *zone);
size_t gran;
__attribute__((objc_ownership(none))) NSString *name;
NSZone *next;
};
# 92 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
extern NSZone*
NSCreateZone (NSUInteger start, NSUInteger gran, BOOL canFree);
extern NSZone*
NSDefaultMallocZone (void);
extern NSZone*
NSZoneFromPointer (void *ptr);
# 120 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
extern void*
NSZoneMalloc (NSZone *zone, NSUInteger size);
# 133 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
extern void*
NSZoneCalloc (NSZone *zone, NSUInteger elems, NSUInteger bytes);
# 144 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
extern void*
NSZoneRealloc (NSZone *zone, void *ptr, NSUInteger size);
# 155 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
extern void
NSRecycleZone (NSZone *zone);
# 166 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
extern void
NSZoneFree (NSZone *zone, void *ptr);
extern void
NSSetZoneName (NSZone *zone, NSString *name);
extern NSString*
NSZoneName (NSZone *zone);
BOOL
NSZoneCheck (NSZone *zone);
# 210 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
struct NSZoneStats
{
size_t bytes_total;
size_t chunks_used;
size_t bytes_used;
size_t chunks_free;
size_t bytes_free;
};
struct NSZoneStats
NSZoneStats (NSZone *zone);
void*
GSOutOfMemory(NSUInteger size, BOOL retry);
# 245 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
extern void
GSMakeWeakPointer(Class theClass, const char *iVarName);
# 265 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
extern BOOL
GSAssignZeroingWeakPointer(void **destination, void *source);
extern NSUInteger
NSPageSize (void) __attribute__ ((const));
extern NSUInteger
NSLogPageSize (void) __attribute__ ((const));
extern NSUInteger
NSRoundDownToMultipleOfPageSize (NSUInteger bytes) __attribute__ ((const));
extern NSUInteger
NSRoundUpToMultipleOfPageSize (NSUInteger bytes) __attribute__ ((const));
extern NSUInteger
NSRealMemoryAvailable (void);
extern void*
NSAllocateMemoryPages (NSUInteger bytes);
extern void
NSDeallocateMemoryPages (void *ptr, NSUInteger bytes);
extern void
NSCopyMemoryPages (const void *src, void *dest, NSUInteger bytes);
enum {
NSScannedOption = (1<<0),
NSCollectorDisabledOption = (1<<1)
};
# 311 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h"
extern void *
NSAllocateCollectable(NSUInteger size, NSUInteger options);
extern void *
NSReallocateCollectable(void *ptr, NSUInteger size, NSUInteger options);
static inline id NSMakeCollectable(const void *cf) {
return (id)cf;
}
# 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" 2
@class NSArchiver;
@class NSArray;
@class NSCoder;
@class NSDictionary;
@class NSPortCoder;
@class NSMethodSignature;
@class NSMutableString;
@class NSRecursiveLock;
@class NSString;
@class NSInvocation;
@class Protocol;
@protocol NSObject
- (Class) class;
# 75 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (Class) superclass;
# 94 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (BOOL) isEqual: (id)anObject;
- (BOOL) isKindOfClass: (Class)aClass;
# 113 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (BOOL) isMemberOfClass: (Class)aClass;
- (BOOL) isProxy;
# 133 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (NSUInteger) hash;
- (id) self;
- (id) performSelector: (SEL)aSelector;
- (id) performSelector: (SEL)aSelector
withObject: (id)anObject;
- (id) performSelector: (SEL)aSelector
withObject: (id)object1
withObject: (id)object2;
# 171 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (BOOL) respondsToSelector: (SEL)aSelector;
- (BOOL) conformsToProtocol: (Protocol*)aProtocol;
- (id) retain ;
- (oneway void) release ;
# 203 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (id) autorelease ;
# 216 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (NSUInteger) retainCount ;
- (NSString*) description;
- (NSZone*) zone ;
@end
@protocol NSCopying
# 250 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (id) copyWithZone: (NSZone*)zone;
@end
@protocol NSMutableCopying
# 272 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (id) mutableCopyWithZone: (NSZone*)zone;
@end
@protocol NSCoding
- (void) encodeWithCoder: (NSCoder*)aCoder;
# 297 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (id) initWithCoder: (NSCoder*)aDecoder;
@end
@protocol NSSecureCoding <NSCoding>
+ (BOOL)supportsSecureCoding;
@end
__attribute__((objc_root_class))
@interface NSObject <NSObject>
{
Class isa;
}
- (void) finalize;
- (NSString*) className;
+ (id) allocWithZone: (NSZone*)z;
+ (id) alloc;
+ (Class) class;
# 353 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
+ (void) load;
# 378 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
+ (void) initialize;
+ (IMP) instanceMethodForSelector: (SEL)aSelector;
+ (NSMethodSignature*) instanceMethodSignatureForSelector: (SEL)aSelector;
+ (BOOL) instancesRespondToSelector: (SEL)aSelector;
+ (BOOL) isSubclassOfClass: (Class)aClass;
+ (id) new;
+ (void) poseAsClass: (Class)aClassObject;
+ (void) setVersion: (NSInteger)aVersion;
+ (NSInteger) version;
- (id) awakeAfterUsingCoder: (NSCoder*)aDecoder;
- (Class) classForArchiver;
- (Class) classForCoder;
- (id) copy;
- (void) dealloc;
- (void) doesNotRecognizeSelector: (SEL)aSelector;
- (void) forwardInvocation: (NSInvocation*)anInvocation;
- (id) init;
- (IMP) methodForSelector: (SEL)aSelector;
- (NSMethodSignature*) methodSignatureForSelector: (SEL)aSelector;
- (id) mutableCopy;
- (id) replacementObjectForArchiver: (NSArchiver*)anArchiver;
- (id) replacementObjectForCoder: (NSCoder*)anEncoder;
- (Class) superclass;
# 413 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
+ (BOOL) resolveClassMethod: (SEL)name;
# 425 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
+ (BOOL) resolveInstanceMethod: (SEL)name;
# 440 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (id) autoContentAccessingProxy;
# 454 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
- (id) forwardingTargetForSelector: (SEL)aSelector;
@end
# 466 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
extern id
NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
extern void
NSDeallocateObject(id anObject);
extern NSObject *
NSCopyObject(NSObject *anObject, NSUInteger extraBytes, NSZone *zone);
extern BOOL
NSShouldRetainWithZone(NSObject *anObject, NSZone *requestedZone);
extern BOOL
NSDecrementExtraRefCountWasZero(id anObject);
extern NSUInteger
NSExtraRefCount(id anObject);
extern void
NSIncrementExtraRefCount(id anObject);
@interface NSObject (NEXTSTEP)
- (id) error:(const char *)aString, ...;
@end
@interface NSObject (GNUstep)
+ (void) enableDoubleReleaseCheck: (BOOL)enable;
@end
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDate.h" 1
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSDate.h"
extern NSString * const NSSystemClockDidChangeNotification;
typedef double NSTimeInterval;
# 47 "/usr/GNUstep/System/Library/Headers/Foundation/NSDate.h"
extern const NSTimeInterval NSTimeIntervalSince1970;
@class NSArray;
@class NSCalendarDate;
@class NSData;
@class NSDictionary;
@class NSString;
@class NSTimeZone;
@class NSTimeZoneDetail;
@interface NSDate : NSObject <NSCoding,NSCopying>
{
}
+ (instancetype) date;
+ (instancetype) dateWithNaturalLanguageString: (NSString*)string;
# 123 "/usr/GNUstep/System/Library/Headers/Foundation/NSDate.h"
+ (instancetype) dateWithNaturalLanguageString: (NSString*)string
locale: (NSDictionary*)locale;
+ (instancetype) dateWithString: (NSString*)description;
+ (instancetype) dateWithTimeInterval: (NSTimeInterval)seconds
sinceDate: (NSDate*)date;
+ (instancetype) dateWithTimeIntervalSince1970: (NSTimeInterval)seconds;
+ (instancetype) dateWithTimeIntervalSinceNow: (NSTimeInterval)seconds;
+ (instancetype) dateWithTimeIntervalSinceReferenceDate: (NSTimeInterval)seconds;
+ (instancetype) distantPast;
+ (instancetype) distantFuture;
+ (instancetype) now;
+ (NSTimeInterval) timeIntervalSinceReferenceDate;
- (instancetype) addTimeInterval: (NSTimeInterval)seconds;
- (NSComparisonResult) compare: (NSDate*)otherDate;
- (instancetype) dateByAddingTimeInterval: (NSTimeInterval)ti;
- (NSCalendarDate*) dateWithCalendarFormat: (NSString*)formatString
timeZone: (NSTimeZone*)timeZone;
- (NSString*) description;
- (NSString*) descriptionWithCalendarFormat: (NSString*)format
timeZone: (NSTimeZone*)aTimeZone
locale: (NSDictionary*)l;
- (NSString*) descriptionWithLocale: (id)locale;
- (NSDate*) earlierDate: (NSDate*)otherDate;
- (instancetype) init;
- (instancetype) initWithString: (NSString*)description;
- (instancetype) initWithTimeInterval: (NSTimeInterval)secsToBeAdded
sinceDate: (NSDate*)anotherDate;
- (instancetype) initWithTimeIntervalSince1970: (NSTimeInterval)seconds;
- (instancetype) initWithTimeIntervalSinceNow: (NSTimeInterval)secsToBeAdded;
- (instancetype) initWithTimeIntervalSinceReferenceDate: (NSTimeInterval)secs;
- (BOOL) isEqual: (id)other;
# 271 "/usr/GNUstep/System/Library/Headers/Foundation/NSDate.h"
- (BOOL) isEqualToDate: (NSDate*)other;
- (NSDate*) laterDate: (NSDate*)otherDate;
- (NSTimeInterval) timeIntervalSince1970;
- (NSTimeInterval) timeIntervalSinceDate: (NSDate*)otherDate;
- (NSTimeInterval) timeIntervalSinceNow;
- (NSTimeInterval) timeIntervalSinceReferenceDate;
@end
# 520 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" 2
@interface NSObject (TimedPerformers)
+ (void) cancelPreviousPerformRequestsWithTarget: (id)obj;
# 539 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h"
+ (void) cancelPreviousPerformRequestsWithTarget: (id)obj
selector: (SEL)s
object: (id)arg;
- (void) performSelector: (SEL)s
withObject: (id)arg
afterDelay: (NSTimeInterval)seconds;
- (void) performSelector: (SEL)s
withObject: (id)arg
afterDelay: (NSTimeInterval)seconds
inModes: (NSArray*)modes;
@end
@protocol NSDiscardableContent
- (BOOL) beginContentAccess;
- (void) discardContentIfPossible;
- (void) endContentAccess;
- (BOOL) isContentDiscarded;
@end
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
@class NSHashTable;
@interface NSObject (GNUstepBase)
# 53 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
- (NSComparisonResult) compare: (id)anObject;
- (BOOL) isInstance;
# 72 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
- (id) makeImmutableCopyOnFail: (BOOL)force;
# 85 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
- (BOOL) makeImmutable;
- (id) notImplemented: (SEL)aSel __attribute__((__noreturn__));
# 101 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
- (id) subclassResponsibility: (SEL)aSel __attribute__((__noreturn__));
# 110 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
- (id) shouldNotImplement: (SEL)aSel __attribute__((__noreturn__));
@end
@interface NSObject(MemoryFootprint)
# 154 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
+ (NSUInteger) contentSizeOf: (NSObject*)obj
excluding: (NSHashTable*)exclude;
# 174 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
- (NSUInteger) sizeInBytesExcluding: (NSHashTable*)exclude;
- (NSUInteger) sizeInBytes;
# 191 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
- (NSUInteger) sizeOfContentExcluding: (NSHashTable*)exclude;
- (NSUInteger) sizeOfInstance;
@end
@interface NSObject(GSAtExit)
# 213 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
+ (void) atExit;
@end
# 239 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
@interface NSObject(GSCleanup)
+ (id) __attribute__((ns_returns_retained)) leak: (id)anObject;
+ (id) __attribute__((ns_returns_retained)) leakAt: (id*)anAddress;
# 264 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
+ (BOOL) registerAtExit;
+ (BOOL) registerAtExit: (SEL)aSelector;
# 281 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSObject+GNUstepBase.h"
+ (void) setShouldCleanUp: (BOOL)aFlag;
+ (BOOL) shouldCleanUp;
@end
# 602 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" 2
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/FoundationErrors.h" 2
enum
{
NSFileErrorMaximum = 1023,
NSFileErrorMinimum = 0,
NSFileLockingError = 255,
NSFileNoSuchFileError = 4,
NSFileReadCorruptFileError = 259,
NSFileReadInapplicableStringEncodingError = 261,
NSFileReadInvalidFileNameError = 258,
NSFileReadNoPermissionError = 257,
NSFileReadNoSuchFileError = 260,
NSFileReadUnknownError = 256,
NSFileReadUnsupportedSchemeError = 262,
NSFileWriteInapplicableStringEncodingError = 517,
NSFileWriteInvalidFileNameError = 514,
NSFileWriteFileExistsError = 516,
NSFileWriteNoPermissionError = 513,
NSFileWriteOutOfSpaceError = 640,
NSFileWriteUnknownError = 512,
NSFileWriteUnsupportedSchemeError = 518,
NSFormattingError = 2048,
NSFormattingErrorMaximum = 2559,
NSFormattingErrorMinimum = 2048,
NSKeyValueValidationError = 1024,
NSUserCancelledError = 3072,
NSValidationErrorMaximum = 2047,
NSValidationErrorMinimum = 1024,
NSExecutableArchitectureMismatchError = 3585,
NSExecutableErrorMaximum = 3839,
NSExecutableErrorMinimum = 3584,
NSExecutableLinkError = 3588,
NSExecutableLoadError = 3587,
NSExecutableNotLoadableError = 3584,
NSExecutableRuntimeMismatchError = 3586,
NSFileReadTooLargeError = 263,
NSFileReadUnknownStringEncodingError = 264,
NSFileWriteVolumeReadOnlyError = 642,
NSPropertyListErrorMaximum = 4095,
NSPropertyListErrorMinimum = 3840,
NSPropertyListReadCorruptError = 3840,
NSPropertyListReadStreamError = 3842,
NSPropertyListReadUnknownVersionError = 3841,
NSPropertyListWriteStreamError = 3851,
NSFeatureUnsupportedError = 3328,
NSXPCConnectionErrorMaximum = 4224,
NSXPCConnectionErrorMinimum = 4096,
NSXPCConnectionInterrupted = 4097,
NSXPCConnectionInvalid = 4099,
NSXPCConnectionReplyInvalid = 4101,
NSUbiquitousFileErrorMaximum = 4607,
NSUbiquitousFileErrorMinimum = 4352,
NSUbiquitousFileNotUploadedDueToQuotaError = 4354,
NSUbiquitousFileUbiquityServerNotAvailable = 4355,
NSUbiquitousFileUnavailableError = 4353,
NSPropertyListWriteInvalidError = 3852,
NSUserActivityConnectionUnavailableError = 4609,
NSUserActivityErrorMaximum = 4863,
NSUserActivityErrorMinimum = 4608,
NSUserActivityHandoffFailedError = 4608,
NSUserActivityHandoffUserInfoTooLargeError = 4611,
NSUserActivityRemoteApplicationTimedOutError = 4610,
NSBundleErrorMaximum = 5119,
NSBundleErrorMinimum = 4992,
NSCoderErrorMaximum = 4991,
NSCoderErrorMinimum = 4864,
NSCoderReadCorruptError = 4864,
NSCoderValueNotFoundError = 4865,
NSCloudSharingConflictError = 5123,
NSCloudSharingErrorMaximum = 5375,
NSCloudSharingErrorMinimum = 5120,
NSCloudSharingNetworkFailureError = 5120,
NSCloudSharingNoPermissionError = 5124,
NSCloudSharingOtherError = 5375,
NSCloudSharingQuotaExceededError = 5121,
NSCloudSharingTooManyParticipantsError = 5122,
NSCoderInvalidValueError = 4866,
GSFoundationPlaceHolderError = 9999
};
# 34 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/FoundationLegacySwiftCompatibility.h" 1
# 35 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSDebug+GNUstepBase.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSDebug+GNUstepBase.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h" 1
# 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h"
@class NSArray;
@class NSMutableArray;
@class NSDictionary;
@class NSData;
@class NSMutableSet;
typedef uint64_t NSActivityOptions;
enum
{
NSActivityIdleDisplaySleepDisabled = (1ULL << 40),
NSActivityIdleSystemSleepDisabled = (1ULL << 20),
NSActivitySuddenTerminationDisabled = (1ULL << 14),
NSActivityAutomaticTerminationDisabled = (1ULL << 15),
NSActivityUserInitiated = (0x00FFFFFFULL | NSActivityIdleSystemSleepDisabled),
NSActivityUserInitiatedAllowingIdleSystemSleep = (NSActivityUserInitiated & ~NSActivityIdleSystemSleepDisabled),
NSActivityBackground = 0x000000FFULL,
NSActivityLatencyCritical = 0xFF00000000ULL,
};
# 74 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h"
enum {
NSWindowsNTOperatingSystem = 1,
NSWindows95OperatingSystem,
NSSolarisOperatingSystem,
NSHPUXOperatingSystem,
NSMACHOperatingSystem,
NSSunOSOperatingSystem,
NSOSF1OperatingSystem,
GSGNULinuxOperatingSystem = 100,
GSBSDOperatingSystem,
GSBeOperatingSystem,
GSCygwinOperatingSystem
# 97 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h"
};
@interface NSProcessInfo: NSObject
+ (NSProcessInfo*) processInfo;
@property (readonly) NSUInteger systemUptime;
# 131 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h"
- (NSArray*) arguments;
- (NSDictionary*) environment;
# 147 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h"
- (NSString*) globallyUniqueString;
- (NSString*) hostName;
# 175 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h"
- (NSUInteger) operatingSystem;
# 194 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h"
- (NSString*) operatingSystemName;
- (NSString *) operatingSystemVersionString;
- (int) processIdentifier;
- (NSString*) processName;
- (void) setProcessName: (NSString*)newName;
- (NSUInteger) processorCount;
- (NSUInteger) activeProcessorCount;
- (unsigned long long) physicalMemory;
- (void) enableSuddenTermination;
- (void) disableSuddenTermination;
typedef void(^GSPerformActivityBlock)();
typedef void(^GSPerformExpiringActivityBlock)(BOOL);
- (id) beginActivityWithOptions: (NSActivityOptions)options
reason: (NSString *)reason;
- (void) endActivity:(id<NSObject>)activity;
- (void) performActivityWithOptions:(NSActivityOptions)options
reason: (NSString *)reason
usingBlock: (GSPerformActivityBlock)block;
- (void) performExpiringActivityWithReason: (NSString *)reason
usingBlock: (GSPerformExpiringActivityBlock)block;
@end
@interface NSProcessInfo (GNUstep)
- (BOOL) setLogFile: (NSString*)path;
+ (void) initializeWithArguments: (char**)argv
count: (int)argc
environment: (char**)env;
@end
# 291 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h"
extern void GSInitializeProcess(int argc, char **argv, char **envp);
# 310 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h"
extern BOOL GSDebugSet(NSString *level);
# 319 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSProcessInfo+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSProcessInfo+GNUstepBase.h"
@interface NSProcessInfo(GNUstepBase)
- (BOOL) debugLoggingEnabled;
# 56 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSProcessInfo+GNUstepBase.h"
- (NSMutableSet*) debugSet;
- (void) setDebugLoggingEnabled: (BOOL)flag;
@end
# 320 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h" 2
# 37 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSDebug+GNUstepBase.h" 2
extern BOOL GSDebugSet(NSString *level);
extern NSString* GSDebugFunctionMsg(const char *func, const char *file,
int line, NSString *fmt);
extern NSString* GSDebugMethodMsg(id obj, SEL sel, const char *file,
int line, NSString *fmt);
# 40 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" 2
# 55 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
@protocol GSLogDelegate <NSObject>
- (BOOL) getBytes: (const uint8_t*)bytes
ofLength: (NSUInteger)length
byHandle: (NSObject*)handle;
- (BOOL) putBytes: (const uint8_t*)bytes
ofLength: (NSUInteger)length
byHandle: (NSObject*)handle;
@end
# 112 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern BOOL NSDebugEnabled;
extern void GSDebugAllocationAdd(Class c, id o);
extern void GSDebugAllocationRemove(Class c, id o);
# 138 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern BOOL GSDebugAllocationActive(BOOL active);
# 148 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern BOOL GSDebugAllocationBytes(BOOL active);
# 173 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern int GSDebugAllocationCount(Class c);
# 187 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern int GSDebugAllocationPeak(Class c);
# 206 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern int GSDebugAllocationTotal(Class c);
# 217 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern Class* GSDebugAllocationClassList(void);
# 228 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern const char* GSDebugAllocationList(BOOL changeFlag);
# 239 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern const char* GSDebugAllocationListAll(void);
extern void GSDebugAllocationActiveRecordingObjects(Class c);
# 267 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern BOOL GSDebugAllocationRecordObjects(Class c, BOOL newState);
# 279 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern NSArray *GSDebugAllocationListRecordedObjects(Class c);
# 292 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern id GSDebugAllocationTagRecordedObject(id object, id tag);
extern void GSSetDebugAllocationFunctions(
void (*newAddObjectFunc)(Class c, id o),
void (*newRemoveObjectFunc)(Class c, id o));
# 323 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern BOOL NSZombieEnabled;
# 339 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h"
extern BOOL NSDeallocateZombies;
extern void *NSFrameAddress(NSUInteger offset);
extern void *NSReturnAddress(NSUInteger offset);
extern NSUInteger NSCountFrames(void);
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSAffineTransform.h" 1
# 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSAffineTransform.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h" 1
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" 1
# 90 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSRange.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSRange.h"
@class NSException;
@class NSConstantString;
# 83 "/usr/GNUstep/System/Library/Headers/Foundation/NSRange.h"
typedef struct _NSRange NSRange;
struct _NSRange
{
NSUInteger location;
NSUInteger length;
};
typedef NSRange *NSRangePointer;
# 112 "/usr/GNUstep/System/Library/Headers/Foundation/NSRange.h"
static inline NSUInteger
NSMaxRange(NSRange range) __attribute__((unused));
static inline NSUInteger
NSMaxRange(NSRange range)
{
return range.location + range.length;
}
static inline BOOL
NSLocationInRange(NSUInteger location, NSRange range) __attribute__((unused));
static inline BOOL
NSLocationInRange(NSUInteger location, NSRange range)
{
return (location >= range.location) && (location < NSMaxRange(range));
}
extern void _NSRangeExceptionRaise (void);
# 144 "/usr/GNUstep/System/Library/Headers/Foundation/NSRange.h"
static inline NSRange
NSMakeRange(NSUInteger location, NSUInteger length) __attribute__((unused));
static inline NSRange
NSMakeRange(NSUInteger location, NSUInteger length)
{
NSRange range;
NSUInteger end = location + length;
if (end < location || end < length)
{
_NSRangeExceptionRaise ();
}
range.location = location;
range.length = length;
return range;
}
static inline BOOL
NSEqualRanges(NSRange range1, NSRange range2) __attribute__((unused));
static inline BOOL
NSEqualRanges(NSRange range1, NSRange range2)
{
return ((range1.location == range2.location)
&& (range1.length == range2.length));
}
static inline NSRange
NSUnionRange(NSRange range1, NSRange range2) __attribute__((unused));
static inline NSRange
NSUnionRange(NSRange aRange, NSRange bRange)
{
NSRange range;
range.location = (((aRange.location)<(bRange.location))?(aRange.location):(bRange.location));
range.length = (((NSMaxRange(aRange))>(NSMaxRange(bRange)))?(NSMaxRange(aRange)):(NSMaxRange(bRange)))
- range.location;
return range;
}
static inline NSRange
NSIntersectionRange(NSRange range1, NSRange range2) __attribute__((unused));
static inline NSRange
NSIntersectionRange (NSRange aRange, NSRange bRange)
{
NSRange range;
if (NSMaxRange(aRange) < bRange.location
|| NSMaxRange(bRange) < aRange.location)
return NSMakeRange(0, 0);
range.location = (((aRange.location)>(bRange.location))?(aRange.location):(bRange.location));
range.length = (((NSMaxRange(aRange))<(NSMaxRange(bRange)))?(NSMaxRange(aRange)):(NSMaxRange(bRange)))
- range.location;
return range;
}
@class NSString;
extern NSString *NSStringFromRange(NSRange range);
extern NSRange NSRangeFromString(NSString *aString);
# 91 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" 2
typedef uint16_t unichar;
@class NSArray<ElementT>;
@class NSCharacterSet;
@class NSData;
@class NSDictionary;
@class NSError;
@class NSLocale;
@class NSURL;
enum
{
NSCaseInsensitiveSearch = 1,
NSLiteralSearch = 2,
NSBackwardsSearch = 4,
NSAnchoredSearch = 8,
NSNumericSearch = 64
,
NSDiacriticInsensitiveSearch = 128,
NSWidthInsensitiveSearch = 256,
NSForcedOrderingSearch = 512
,
NSRegularExpressionSearch = 1024
};
typedef NSUInteger NSStringCompareOptions;
# 181 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
typedef enum _NSStringEncoding
{
GSUndefinedEncoding = 0,
NSASCIIStringEncoding = 1,
NSNEXTSTEPStringEncoding = 2,
NSJapaneseEUCStringEncoding = 3,
NSUTF8StringEncoding = 4,
NSISOLatin1StringEncoding = 5,
NSSymbolStringEncoding = 6,
NSNonLossyASCIIStringEncoding = 7,
NSShiftJISStringEncoding = 8,
NSISOLatin2StringEncoding = 9,
NSUnicodeStringEncoding = 10,
NSWindowsCP1251StringEncoding = 11,
NSWindowsCP1252StringEncoding = 12,
NSWindowsCP1253StringEncoding = 13,
NSWindowsCP1254StringEncoding = 14,
NSWindowsCP1250StringEncoding = 15,
NSISO2022JPStringEncoding = 21,
NSMacOSRomanStringEncoding = 30,
NSUTF16StringEncoding = NSUnicodeStringEncoding,
NSUTF16BigEndianStringEncoding = 0x90000100,
NSUTF16LittleEndianStringEncoding = 0x94000100,
NSUTF32StringEncoding = 0x8c000100,
NSUTF32BigEndianStringEncoding = 0x98000100,
NSUTF32LittleEndianStringEncoding = 0x9c000100,
NSProprietaryStringEncoding = 0x00010000,
NSGSM0338StringEncoding = 65,
NSMacOSJapaneseStringEncoding = 0x80000001,
NSMacOSTraditionalChineseStringEncoding = 0x80000002,
NSMacOSKoreanStringEncoding = 0x80000003,
NSMacOSArabicStringEncoding = 0x80000004,
NSMacOSHebrewStringEncoding = 0x80000005,
NSMacOSGreekStringEncoding = 0x80000006,
NSMacOSCyrillicStringEncoding = 0x80000007,
NSMacOSDevanagariStringEncoding = 0x80000009,
NSMacOSGurmukhiStringEncoding = 0x8000000a,
NSMacOSGujaratiStringEncoding = 0x8000000b,
NSMacOSOriyaStringEncoding = 0x8000000c,
NSMacOSBengaliStringEncoding = 0x8000000d,
NSMacOSTamilStringEncoding = 0x8000000e,
NSMacOSTeluguStringEncoding = 0x8000000f,
NSMacOSKannadaStringEncoding = 0x80000010,
NSMacOSMalayalamStringEncoding = 0x80000011,
NSMacOSSinhaleseStringEncoding = 0x80000012,
NSMacOSBurmeseStringEncoding = 0x80000013,
NSMacOSKhmerStringEncoding = 0x80000014,
NSMacOSThaiStringEncoding = 0x80000015,
NSMacOSLaotianStringEncoding = 0x80000016,
NSMacOSGeorgianStringEncoding = 0x80000017,
NSMacOSArmenianStringEncoding = 0x80000018,
NSMacOSSimplifiedChineseStringEncoding = 0x80000019,
NSMacOSTibetanStringEncoding = 0x8000001a,
NSMacOSMongolianStringEncoding = 0x8000001b,
NSMacOSEthiopicStringEncoding = 0x8000001c,
NSMacOSCentralEuropeanRomanStringEncoding = 0x8000001d,
NSMacOSVietnameseStringEncoding = 0x8000001e,
NSMacOSExtendedArabicStringEncoding = 0x8000001f,
NSMacOSSymbolStringEncoding = 0x80000021,
NSMacOSDingbatsStringEncoding = 0x80000022,
NSMacOSTurkishStringEncoding = 0x80000023,
NSMacOSCroatianStringEncoding = 0x80000024,
NSMacOSIcelandicStringEncoding = 0x80000025,
NSMacOSRomanianStringEncoding = 0x80000026,
NSMacOSCelticStringEncoding = 0x80000027,
NSMacOSGaelicStringEncoding = 0x80000028,
NSMacOSKeyboardSymbolsStringEncoding = 0x80000029,
NSMacOSFarsiStringEncoding = 0x8000008c,
NSMacOSUkrainianStringEncoding = 0x80000098,
NSMacOSInuitStringEncoding = 0x800000ec,
NSMacVT100StringEncoding = 0x800000fc,
NSMacHFSStringEncoding = 0x800000ff,
# 283 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
NSUTF7StringEncoding = 0x84000100,
NSUTF7IMAPStringEncoding = 0x80000A10,
NSISOLatin3StringEncoding = 0x80000203,
NSISOLatin4StringEncoding = 0x80000204,
NSISOCyrillicStringEncoding = 0x80000205,
NSISOArabicStringEncoding = 0x80000206,
NSISOGreekStringEncoding = 0x80000207,
NSISOHebrewStringEncoding = 0x80000208,
NSISOLatin5StringEncoding = 0x80000209,
NSISOLatin6StringEncoding = 0x8000020a,
NSISOThaiStringEncoding = 0x8000020b,
NSISOLatin7StringEncoding = 0x8000020d,
NSISOLatin8StringEncoding = 0x8000020e,
NSISOLatin9StringEncoding = 0x8000020f,
NSISOLatin10StringEncoding = 0x80000210,
NSISOLatinArabicStringEncoding = NSISOArabicStringEncoding,
NSISOLatinBalticRimStringEncoding = NSISOLatin7StringEncoding,
NSISOLatinCelticStringEncoding = NSISOLatin8StringEncoding,
NSISOLatinCyrillicStringEncoding = NSISOCyrillicStringEncoding,
NSISOLatinGreekStringEncoding = NSISOGreekStringEncoding,
NSISOLatinHebrewStringEncoding = NSISOHebrewStringEncoding,
NSISOLatinNordicStringEncoding = NSISOLatin6StringEncoding,
NSISOLatinThaiStringEncoding = NSISOThaiStringEncoding,
NSISOLatinTurkishStringEncoding = NSISOLatin5StringEncoding,
NSDOSLatinUSStringEncoding = 0x80000400,
NSDOSGreekStringEncoding = 0x80000405,
NSDOSBalticRimStringEncoding = 0x80000406,
NSDOSLatin1StringEncoding = 0x80000410,
NSDOSGreek1StringEncoding = 0x80000411,
NSDOSLatin2StringEncoding = 0x80000412,
NSDOSCyrillicStringEncoding = 0x80000413,
NSDOSTurkishStringEncoding = 0x80000414,
NSDOICortugueseStringEncoding = 0x80000415,
NSDOSIcelandicStringEncoding = 0x80000416,
NSDOSHebrewStringEncoding = 0x80000417,
NSDOSCanadianFrenchStringEncoding = 0x80000418,
NSDOSArabicStringEncoding = 0x80000419,
NSDOSNordicStringEncoding = 0x8000041A,
NSDOSRussianStringEncoding = 0x8000041B,
NSDOSGreek2StringEncoding = 0x8000041C,
NSDOSThaiStringEncoding = 0x8000041D,
NSDOSJapaneseStringEncoding = 0x80000420,
NSDOSChineseSimplifStringEncoding = 0x80000421,
NSDOSKoreanStringEncoding = 0x80000422,
NSDOSChineseTradStringEncoding = 0x80000423,
NSWindowsLatin1StringEncoding = 0x80000500,
NSWindowsLatin2StringEncoding = 0x80000501,
NSWindowsCyrillicStringEncoding = 0x80000502,
NSWindowsGreekStringEncoding = 0x80000503,
NSWindowsLatin5StringEncoding = 0x80000504,
NSWindowsHebrewStringEncoding = 0x80000505,
NSWindowsArabicStringEncoding = 0x80000506,
NSWindowsBalticRimStringEncoding = 0x80000507,
NSWindowsVietnameseStringEncoding = 0x80000508,
NSWindowsKoreanJohabStringEncoding = 0x80000510,
NSJIS_X0201_76StringEncoding = 0x80000620,
NSJIS_X0208_83StringEncoding = 0x80000621,
NSJIS_X0208_90StringEncoding = 0x80000622,
NSJIS_X0212_90StringEncoding = 0x80000623,
NSJIS_C6226_78StringEncoding = 0x80000624,
NSShiftJIS_X0213StringEncoding = 0x80000628,
NSShiftJIS_X0213_MenKuTenStringEncoding = 0x80000629,
NSShiftJIS_X0213_00StringEncoding = 0x80000629,
NSGB_2312_80StringEncoding = 0x80000630,
NSGBK_95StringEncoding = 0x80000631,
NSGB_18030_2000StringEncoding = 0x80000632,
NSKSC_5601_87StringEncoding = 0x80000640,
NSKSC_5601_92_JohabStringEncoding = 0x80000641,
NSCNS_11643_92_P1StringEncoding = 0x80000651,
NSCNS_11643_92_P2StringEncoding = 0x80000652,
NSCNS_11643_92_P3StringEncoding = 0x80000653,
NSISO2022JapaneseStringEncoding = 0x80000820,
NSISO2022Japanese2StringEncoding = 0x80000821,
NSISO2022Japanese1StringEncoding = 0x80000822,
NSISO2022Japanese3StringEncoding = 0x80000823,
NSISO2022ChineseStringEncoding = 0x80000830,
NSISO2022ExtendedChineseStringEncoding = 0x80000831,
NSISO2022KoreanStringEncoding = 0x80000840,
NSEUCJapaneseStringEncoding = 0x80000920,
NSEUCChineseStringEncoding = 0x80000930,
NSEUCTaiwanChineseStringEncoding = 0x80000931,
NSEUCKoreanStringEncoding = 0x80000940,
NSKoreanEUCStringEncoding = NSEUCKoreanStringEncoding,
NSChineseEUCStringEncoding = NSEUCChineseStringEncoding,
NSTaiwanChineseEUCStringEncoding = NSEUCTaiwanChineseStringEncoding,
NSKOI8RStringEncoding = 0x80000A02,
NSBig5StringEncoding = 0x80000A03,
NSMacRomanLatin1StringEncoding = 0x80000A04,
NSHZ_GB_2312StringEncoding = 0x80000A05,
NSBig5_HKSCS_1999StringEncoding = 0x80000A06,
NSVISCIIStringEncoding = 0x80000A07,
NSKOI8UStringEncoding = 0x80000A08,
NSBig5EStringEncoding = 0x80000A09,
NSNextStepLatinStringEncoding = 0x80000B01,
NSNextStepJapaneseStringEncoding = 0x80000B02,
NSEBCDICUSStringEncoding = 0x80000C01,
NSEBCDICCP037StringEncoding = 0x80000C02,
} NSStringEncoding;
enum {
NSOpenStepUnicodeReservedBase = 0xF400
};
enum {
NSStringEncodingConversionAllowLossy = 1,
NSStringEncodingConversionExternalRepresentation = 2
};
typedef NSUInteger NSStringEncodingConversionOptions;
enum {
NSStringEnumerationByLines = 0,
NSStringEnumerationByParagraphs = 1,
NSStringEnumerationByComposedCharacterSequences = 2,
NSStringEnumerationByWords = 3,
NSStringEnumerationBySentences = 4,
NSStringEnumerationByCaretPositions = 5,
NSStringEnumerationByDeletionClusters = 6,
NSStringEnumerationReverse = 1UL << 8,
NSStringEnumerationSubstringNotRequired = 1UL << 9,
NSStringEnumerationLocalized = 1UL << 10
};
typedef NSUInteger NSStringEnumerationOptions;
typedef void(^GSNSStringEnumerationBlock)(NSString* substring, NSRange substringRange, NSRange enclosingRange, BOOL* stop);
# 517 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
@interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying>
+ (instancetype) string;
+ (instancetype) stringWithCharacters: (const unichar*)chars
length: (NSUInteger)length;
+ (instancetype) stringWithCString: (const char*)byteString
encoding: (NSStringEncoding)encoding;
+ (instancetype) stringWithCString: (const char*)byteString
length: (NSUInteger)length;
+ (instancetype) stringWithCString: (const char*)byteString;
+ (instancetype) stringWithFormat: (NSString*)format, ... __attribute__((format(__NSString__, 1, 2)));
+ (instancetype) stringWithContentsOfFile: (NSString *)path;
- (instancetype) init;
- (instancetype) initWithBytes: (const void*)bytes
length: (NSUInteger)length
encoding: (NSStringEncoding)encoding;
- (instancetype) initWithBytesNoCopy: (void*)bytes
length: (NSUInteger)length
encoding: (NSStringEncoding)encoding
freeWhenDone: (BOOL)flag;
+ (instancetype) stringWithContentsOfFile: (NSString*)path
usedEncoding: (NSStringEncoding*)enc
error: (NSError**)error;
- (instancetype) initWithContentsOfFile: (NSString*)path
usedEncoding: (NSStringEncoding*)enc
error: (NSError**)error;
+ (instancetype) stringWithContentsOfFile: (NSString*)path
encoding: (NSStringEncoding)enc
error: (NSError**)error;
- (instancetype) initWithContentsOfFile: (NSString*)path
encoding: (NSStringEncoding)enc
error: (NSError**)error;
+ (instancetype) stringWithContentsOfURL: (NSURL*)url
usedEncoding: (NSStringEncoding*)enc
error: (NSError**)error;
- (instancetype) initWithContentsOfURL: (NSURL*)url
usedEncoding: (NSStringEncoding*)enc
error: (NSError**)error;
+ (instancetype) stringWithContentsOfURL: (NSURL*)url
encoding: (NSStringEncoding)enc
error: (NSError**)error;
- (instancetype) initWithContentsOfURL: (NSURL*)url
encoding: (NSStringEncoding)enc
error: (NSError**)error;
- (BOOL) writeToFile: (NSString*)path
atomically: (BOOL)atomically
encoding: (NSStringEncoding)enc
error: (NSError**)error;
- (BOOL) writeToURL: (NSURL*)url
atomically: (BOOL)atomically
encoding: (NSStringEncoding)enc
error: (NSError**)error;
- (NSString*)stringByReplacingOccurrencesOfString: (NSString*)replace
withString: (NSString*)by
options: (NSStringCompareOptions)opts
range: (NSRange)searchRange;
- (NSString*)stringByReplacingOccurrencesOfString: (NSString*)replace
withString: (NSString*)by;
- (NSString*) stringByReplacingCharactersInRange: (NSRange)aRange
withString: (NSString*)by;
- (instancetype) initWithCharactersNoCopy: (unichar*)chars
length: (NSUInteger)length
freeWhenDone: (BOOL)flag;
- (instancetype) initWithCharacters: (const unichar*)chars
length: (NSUInteger)length;
- (instancetype) initWithCStringNoCopy: (char*)byteString
length: (NSUInteger)length
freeWhenDone: (BOOL)flag;
- (instancetype) initWithCString: (const char*)byteString
length: (NSUInteger)length;
- (instancetype) initWithCString: (const char*)byteString;
- (instancetype) initWithString: (NSString*)string;
- (instancetype) initWithFormat: (NSString*)format, ... __attribute__((format(__NSString__, 1, 2)));
- (instancetype) initWithFormat: (NSString*)format
arguments: (va_list)argList __attribute__((format(__NSString__, 1, 0)));
- (instancetype) initWithData: (NSData*)data
encoding: (NSStringEncoding)encoding;
- (instancetype) initWithContentsOfFile: (NSString*)path;
- (NSUInteger) length;
- (unichar) characterAtIndex: (NSUInteger)index;
- (void) getCharacters: (unichar*)buffer;
- (void) getCharacters: (unichar*)buffer
range: (NSRange)aRange;
- (NSString*) stringByAppendingFormat: (NSString*)format, ...
__attribute__((format(__NSString__, 1, 2)));
- (NSString*) stringByAppendingString: (NSString*)aString;
- (NSArray<NSString*> *) componentsSeparatedByString: (NSString*)separator;
- (NSString*) substringFromIndex: (NSUInteger)index;
- (NSString*) substringToIndex: (NSUInteger)index;
- (NSRange) rangeOfCharacterFromSet: (NSCharacterSet*)aSet;
- (NSRange) rangeOfCharacterFromSet: (NSCharacterSet*)aSet
options: (NSUInteger)mask;
- (NSRange) rangeOfCharacterFromSet: (NSCharacterSet*)aSet
options: (NSUInteger)mask
range: (NSRange)aRange;
- (NSRange) rangeOfString: (NSString*)string;
- (NSRange) rangeOfString: (NSString*)string
options: (NSUInteger)mask;
- (NSRange) rangeOfString: (NSString*)aString
options: (NSUInteger)mask
range: (NSRange)aRange;
- (NSRange) rangeOfComposedCharacterSequenceAtIndex: (NSUInteger)anIndex;
- (NSString *) decomposedStringWithCompatibilityMapping;
- (NSString *) decomposedStringWithCanonicalMapping;
- (NSString *) precomposedStringWithCompatibilityMapping;
- (NSString *) precomposedStringWithCanonicalMapping;
- (id) propertyList;
- (NSDictionary*) propertyListFromStringsFileFormat;
- (NSComparisonResult) compare: (NSString*)aString;
- (NSComparisonResult) compare: (NSString*)aString
options: (NSUInteger)mask;
- (NSComparisonResult) compare: (NSString*)aString
options: (NSUInteger)mask
range: (NSRange)aRange;
- (BOOL) hasPrefix: (NSString*)aString;
- (BOOL) hasSuffix: (NSString*)aString;
- (BOOL) isEqual: (id)anObject;
- (BOOL) isEqualToString: (NSString*)aString;
- (NSUInteger) hash;
- (NSString*) commonPrefixWithString: (NSString*)aString
options: (NSUInteger)mask;
- (NSString*) capitalizedString;
- (NSString*) lowercaseString;
- (NSString*) uppercaseString;
- (const char*) cString;
- (const char*) cStringUsingEncoding: (NSStringEncoding)encoding;
- (BOOL) getCString: (char*)buffer
maxLength: (NSUInteger)maxLength
encoding: (NSStringEncoding)encoding;
- (instancetype) initWithCString: (const char*)byteString
encoding: (NSStringEncoding)encoding;
- (NSUInteger) lengthOfBytesUsingEncoding: (NSStringEncoding)encoding;
- (NSUInteger) maximumLengthOfBytesUsingEncoding: (NSStringEncoding)encoding;
- (NSUInteger) cStringLength;
- (void) getCString: (char*)buffer;
- (void) getCString: (char*)buffer
maxLength: (NSUInteger)maxLength;
- (void) getCString: (char*)buffer
maxLength: (NSUInteger)maxLength
range: (NSRange)aRange
remainingRange: (NSRange*)leftoverRange;
- (float) floatValue;
- (int) intValue;
- (BOOL) canBeConvertedToEncoding: (NSStringEncoding)encoding;
- (NSData*) dataUsingEncoding: (NSStringEncoding)encoding;
- (NSData*) dataUsingEncoding: (NSStringEncoding)encoding
allowLossyConversion: (BOOL)flag;
+ (NSStringEncoding) defaultCStringEncoding;
- (NSString*) description;
- (NSStringEncoding) fastestEncoding;
- (NSStringEncoding) smallestEncoding;
# 739 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSUInteger) completePathIntoString: (NSString**)outputName
caseSensitive: (BOOL)flag
matchesIntoArray: (NSArray**)outputArray
filterTypes: (NSArray*)filterTypes;
# 755 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (const char*) fileSystemRepresentation;
# 769 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (BOOL) getFileSystemRepresentation: (char*)buffer
maxLength: (NSUInteger)size;
# 795 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSString*) lastPathComponent;
# 812 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSString*) pathExtension;
- (NSString*) stringByAbbreviatingWithTildeInPath;
# 842 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSString*) stringByAppendingPathComponent: (NSString*)aString;
# 867 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSString*) stringByAppendingPathExtension: (NSString*)aString;
# 893 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSString*) stringByDeletingLastPathComponent;
# 917 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSString*) stringByDeletingPathExtension;
# 926 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSString*) stringByExpandingTildeInPath;
# 935 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSString*) stringByResolvingSymlinksInPath;
# 955 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSString*) stringByStandardizingPath;
- (int) _baseLength;
# 968 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
+ (NSString*) pathWithComponents: (NSArray*)components;
# 983 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (BOOL) isAbsolutePath;
# 994 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (NSArray*) pathComponents;
- (NSArray*) stringsByAppendingPaths: (NSArray*)paths;
+ (NSString*) localizedStringWithFormat: (NSString*)format, ...
__attribute__((format(__NSString__, 1, 2)));
+ (instancetype) stringWithString: (NSString*)aString;
+ (instancetype) stringWithContentsOfURL: (NSURL*)url;
+ (instancetype) stringWithUTF8String: (const char*)bytes;
- (instancetype) initWithFormat: (NSString*)format
locale: (NSDictionary*)locale, ... __attribute__((format(__NSString__, 1, 3)));
- (instancetype) initWithFormat: (NSString*)format
locale: (NSDictionary*)locale
arguments: (va_list)argList __attribute__((format(__NSString__, 1, 0)));
- (instancetype) initWithUTF8String: (const char *)bytes;
- (instancetype) initWithContentsOfURL: (NSURL*)url;
- (NSString*) substringWithRange: (NSRange)aRange;
- (NSComparisonResult) caseInsensitiveCompare: (NSString*)aString;
- (NSComparisonResult) compare: (NSString*)string
options: (NSUInteger)mask
range: (NSRange)compareRange
locale: (id)locale;
- (NSComparisonResult) localizedCompare: (NSString *)string;
- (NSComparisonResult) localizedCaseInsensitiveCompare: (NSString *)string;
- (BOOL) writeToFile: (NSString*)filename
atomically: (BOOL)useAuxiliaryFile;
- (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)atomically;
- (double) doubleValue;
+ (NSStringEncoding*) availableStringEncodings;
+ (NSString*) localizedNameOfStringEncoding: (NSStringEncoding)encoding;
- (void) getLineStart: (NSUInteger *)startIndex
end: (NSUInteger *)lineEndIndex
contentsEnd: (NSUInteger *)contentsEndIndex
forRange: (NSRange)aRange;
- (NSRange) lineRangeForRange: (NSRange)aRange;
- (const char*) lossyCString;
- (NSString*) stringByAddingPercentEscapesUsingEncoding: (NSStringEncoding)e;
- (NSString*) stringByPaddingToLength: (NSUInteger)newLength
withString: (NSString*)padString
startingAtIndex: (NSUInteger)padIndex;
- (NSString*) stringByReplacingPercentEscapesUsingEncoding: (NSStringEncoding)e;
- (NSString*) stringByTrimmingCharactersInSet: (NSCharacterSet*)aSet;
- (const char *)UTF8String;
- (NSString *) stringByAddingPercentEncodingWithAllowedCharacters: (NSCharacterSet *)aSet;
- (NSString *) stringByRemovingPercentEncoding;
- (void) getParagraphStart: (NSUInteger *)startIndex
end: (NSUInteger *)parEndIndex
contentsEnd: (NSUInteger *)contentsEndIndex
forRange: (NSRange)range;
- (NSRange) paragraphRangeForRange: (NSRange)range;
# 1068 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (BOOL) boolValue;
- (NSArray<NSString*> *) componentsSeparatedByCharactersInSet: (NSCharacterSet *)separator;
- (NSInteger) integerValue;
- (long long) longLongValue;
- (NSRange) rangeOfComposedCharacterSequencesForRange: (NSRange)range;
- (NSRange) rangeOfString: (NSString *)aString
options: (NSStringCompareOptions)mask
range: (NSRange)searchRange
locale: (NSLocale *)locale;
# 1087 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
- (BOOL) containsString: (NSString *)string;
+ (Class) constantStringClass;
- (void) enumerateSubstringsInRange: (NSRange)range
options: (NSStringEnumerationOptions)opts
usingBlock: (GSNSStringEnumerationBlock)block;
@end
@interface NSMutableString : NSString
+ (instancetype) string;
+ (instancetype) stringWithCharacters: (const unichar*)characters
length: (NSUInteger)length;
+ (instancetype) stringWithCString: (const char*)byteString
length: (NSUInteger)length;
+ (instancetype) stringWithCString: (const char*)byteString;
+ (instancetype) stringWithFormat: (NSString*)format, ... __attribute__((format(__NSString__, 1, 2)));
+ (instancetype) stringWithContentsOfFile: (NSString*)path;
+ (NSMutableString*) stringWithCapacity: (NSUInteger)capacity;
- (instancetype) initWithCapacity: (NSUInteger)capacity;
- (void) appendFormat: (NSString*)format, ... __attribute__((format(__NSString__, 1, 2)));
- (void) appendString: (NSString*)aString;
- (void) deleteCharactersInRange: (NSRange)range;
- (void) insertString: (NSString*)aString atIndex: (NSUInteger)loc;
- (void) replaceCharactersInRange: (NSRange)range
withString: (NSString*)aString;
- (NSUInteger) replaceOccurrencesOfString: (NSString*)replace
withString: (NSString*)by
options: (NSUInteger)opts
range: (NSRange)searchRange;
- (void) setString: (NSString*)aString;
@end
# 1167 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
@interface NSConstantString : NSString
{
@public
# 1182 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
uint32_t flags;
uint32_t nxcslen;
uint32_t size;
uint32_t hash;
const char * const nxcsptr;
}
@end
# 1221 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSString+GNUstepBase.h" 1
# 40 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSString+GNUstepBase.h"
extern const char*
GSPathHandling(const char *mode);
@interface NSString (GNUstepBase)
+ (id) stringWithFormat: (NSString*)format
arguments: (va_list)argList __attribute__((format(__NSString__, 1, 0)));
- (NSString*) stringByDeletingPrefix: (NSString*)prefix;
- (NSString*) stringByDeletingSuffix: (NSString*)suffix;
- (NSString*) stringByTrimmingLeadSpaces;
- (NSString*) stringByTrimmingTailSpaces;
- (NSString*) stringByTrimmingSpaces;
# 94 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSString+GNUstepBase.h"
- (NSString*) stringByReplacingString: (NSString*)replace
withString: (NSString*)by;
- (NSString*) substringFromRange: (NSRange)aRange;
@end
# 1222 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSMutableString+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSMutableString+GNUstepBase.h"
@interface NSMutableString (GNUstepBase)
- (void) deleteSuffix: (NSString*)suffix;
- (void) deletePrefix: (NSString*)prefix;
- (NSString*) immutableProxy;
- (void) replaceString: (NSString*)replace
withString: (NSString*)by;
- (void) trimLeadSpaces;
- (void) trimTailSpaces;
- (void) trimSpaces;
@end
# 1223 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" 2
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h" 2
# 59 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h"
typedef struct _NSPoint NSPoint;
struct _NSPoint
{
CGFloat x;
CGFloat y;
};
typedef NSPoint *NSPointArray;
typedef NSPoint *NSPointPointer;
# 79 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h"
typedef struct _NSSize NSSize;
struct _NSSize
{
CGFloat width;
CGFloat height;
};
typedef NSSize *NSSizeArray;
typedef NSSize *NSSizePointer;
# 100 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h"
typedef struct _NSRect NSRect;
struct _NSRect
{
NSPoint origin;
NSSize size;
};
typedef NSRect *NSRectArray;
typedef NSRect *NSRectPointer;
enum
{
NSMinXEdge = 0,
NSMinYEdge = 1,
NSMaxXEdge = 2,
NSMaxYEdge = 3
};
# 131 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h"
typedef NSUInteger NSRectEdge;
# 143 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h"
typedef struct NSEdgeInsets {
CGFloat top;
CGFloat left;
CGFloat bottom;
CGFloat right;
} NSEdgeInsets;
static const NSPoint NSZeroPoint __attribute__((unused)) = {0.0,0.0};
static const NSRect NSZeroRect __attribute__((unused)) = {{0.0,0.0},{0.0,0.0}};
static const NSSize NSZeroSize __attribute__((unused)) = {0.0,0.0};
static const NSEdgeInsets NSEdgeInsetsZero __attribute__((unused)) = {0.0,0.0,0.0,0.0};
# 182 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h"
static inline NSPoint
NSMakePoint(CGFloat x, CGFloat y) __attribute__((unused));
static inline NSPoint
NSMakePoint(CGFloat x, CGFloat y)
{
NSPoint point;
point.x = x;
point.y = y;
return point;
}
static inline NSSize
NSMakeSize(CGFloat w, CGFloat h) __attribute__((unused));
static inline NSSize
NSMakeSize(CGFloat w, CGFloat h)
{
NSSize size;
size.width = w;
size.height = h;
return size;
}
static inline NSRect
NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h) __attribute__((unused));
static inline NSRect
NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h)
{
NSRect rect;
rect.origin.x = x;
rect.origin.y = y;
rect.size.width = w;
rect.size.height = h;
return rect;
}
static inline NSEdgeInsets
NSEdgeInsetsMake(CGFloat top, CGFloat left,
CGFloat bottom, CGFloat right) __attribute__((unused));
static inline NSEdgeInsets
NSEdgeInsetsMake(CGFloat top, CGFloat left, CGFloat bottom, CGFloat right)
{
NSEdgeInsets edgeInsets;
edgeInsets.top = top;
edgeInsets.left = left;
edgeInsets.bottom = bottom;
edgeInsets.right = right;
return edgeInsets;
}
extern BOOL
NSEdgeInsetsEqual(NSEdgeInsets e1, NSEdgeInsets e2);
static inline CGFloat
NSMaxX(NSRect aRect) __attribute__((unused));
static inline CGFloat
NSMaxX(NSRect aRect)
{
return aRect.origin.x + aRect.size.width;
}
static inline CGFloat
NSMaxY(NSRect aRect) __attribute__((unused));
static inline CGFloat
NSMaxY(NSRect aRect)
{
return aRect.origin.y + aRect.size.height;
}
static inline CGFloat
NSMidX(NSRect aRect) __attribute__((unused));
static inline CGFloat
NSMidX(NSRect aRect)
{
return aRect.origin.x + (aRect.size.width / 2.0);
}
static inline CGFloat
NSMidY(NSRect aRect) __attribute__((unused));
static inline CGFloat
NSMidY(NSRect aRect)
{
return aRect.origin.y + (aRect.size.height / 2.0);
}
static inline CGFloat
NSMinX(NSRect aRect) __attribute__((unused));
static inline CGFloat
NSMinX(NSRect aRect)
{
return aRect.origin.x;
}
static inline CGFloat
NSMinY(NSRect aRect) __attribute__((unused));
static inline CGFloat
NSMinY(NSRect aRect)
{
return aRect.origin.y;
}
static inline CGFloat
NSWidth(NSRect aRect) __attribute__((unused));
static inline CGFloat
NSWidth(NSRect aRect)
{
return aRect.size.width;
}
static inline CGFloat
NSHeight(NSRect aRect) __attribute__((unused));
static inline CGFloat
NSHeight(NSRect aRect)
{
return aRect.size.height;
}
static inline BOOL
NSIsEmptyRect(NSRect aRect) __attribute__((unused));
static inline BOOL
NSIsEmptyRect(NSRect aRect)
{
return ((NSWidth(aRect) > 0) && (NSHeight(aRect) > 0)) ? __objc_no : __objc_yes;
}
static inline NSRect
NSOffsetRect(NSRect aRect, CGFloat dx, CGFloat dy) __attribute__((unused));
static inline NSRect
NSOffsetRect(NSRect aRect, CGFloat dx, CGFloat dy)
{
NSRect rect = aRect;
rect.origin.x += dx;
rect.origin.y += dy;
return rect;
}
static inline NSRect
NSInsetRect(NSRect aRect, CGFloat dX, CGFloat dY) __attribute__((unused));
static inline NSRect
NSInsetRect(NSRect aRect, CGFloat dX, CGFloat dY)
{
NSRect rect;
rect = NSOffsetRect(aRect, dX, dY);
rect.size.width -= (2 * dX);
rect.size.height -= (2 * dY);
return rect;
}
extern void
NSDivideRect(NSRect aRect,
NSRect *slice,
NSRect *remainder,
CGFloat amount,
NSRectEdge edge);
extern NSRect
NSIntegralRect(NSRect aRect);
static inline NSRect
NSUnionRect(NSRect aRect, NSRect bRect) __attribute__((unused));
static inline NSRect
NSUnionRect(NSRect aRect, NSRect bRect)
{
NSRect rect;
if (NSIsEmptyRect(aRect) && NSIsEmptyRect(bRect))
return NSMakeRect(0.0,0.0,0.0,0.0);
else if (NSIsEmptyRect(aRect))
return bRect;
else if (NSIsEmptyRect(bRect))
return aRect;
rect = NSMakeRect((((NSMinX(aRect))<(NSMinX(bRect)))?(NSMinX(aRect)):(NSMinX(bRect))),
(((NSMinY(aRect))<(NSMinY(bRect)))?(NSMinY(aRect)):(NSMinY(bRect))), 0.0, 0.0);
rect = NSMakeRect(NSMinX(rect),
NSMinY(rect),
(((NSMaxX(aRect))>(NSMaxX(bRect)))?(NSMaxX(aRect)):(NSMaxX(bRect))) - NSMinX(rect),
(((NSMaxY(aRect))>(NSMaxY(bRect)))?(NSMaxY(aRect)):(NSMaxY(bRect))) - NSMinY(rect));
return rect;
}
static inline NSRect
NSIntersectionRect(NSRect aRect, NSRect bRect) __attribute__((unused));
static inline NSRect
NSIntersectionRect (NSRect aRect, NSRect bRect)
{
if (NSMaxX(aRect) <= NSMinX(bRect) || NSMaxX(bRect) <= NSMinX(aRect)
|| NSMaxY(aRect) <= NSMinY(bRect) || NSMaxY(bRect) <= NSMinY(aRect))
{
return NSMakeRect(0.0, 0.0, 0.0, 0.0);
}
else
{
NSRect rect;
if (NSMinX(aRect) <= NSMinX(bRect))
rect.origin.x = bRect.origin.x;
else
rect.origin.x = aRect.origin.x;
if (NSMinY(aRect) <= NSMinY(bRect))
rect.origin.y = bRect.origin.y;
else
rect.origin.y = aRect.origin.y;
if (NSMaxX(aRect) >= NSMaxX(bRect))
rect.size.width = NSMaxX(bRect) - rect.origin.x;
else
rect.size.width = NSMaxX(aRect) - rect.origin.x;
if (NSMaxY(aRect) >= NSMaxY(bRect))
rect.size.height = NSMaxY(bRect) - rect.origin.y;
else
rect.size.height = NSMaxY(aRect) - rect.origin.y;
return rect;
}
}
extern BOOL
NSEqualRects(NSRect aRect, NSRect bRect) __attribute__((unused));
extern BOOL
NSEqualSizes(NSSize aSize, NSSize bSize) __attribute__((unused));
extern BOOL
NSEqualPoints(NSPoint aPoint, NSPoint bPoint) __attribute__((unused));
static inline BOOL
NSMouseInRect(NSPoint aPoint, NSRect aRect, BOOL flipped) __attribute__((unused));
static inline BOOL
NSMouseInRect(NSPoint aPoint, NSRect aRect, BOOL flipped)
{
if (flipped)
{
return ((aPoint.x >= NSMinX(aRect))
&& (aPoint.y >= NSMinY(aRect))
&& (aPoint.x < NSMaxX(aRect))
&& (aPoint.y < NSMaxY(aRect))) ? __objc_yes : __objc_no;
}
else
{
return ((aPoint.x >= NSMinX(aRect))
&& (aPoint.y > NSMinY(aRect))
&& (aPoint.x < NSMaxX(aRect))
&& (aPoint.y <= NSMaxY(aRect))) ? __objc_yes : __objc_no;
}
}
static inline BOOL
NSPointInRect(NSPoint aPoint, NSRect aRect) __attribute__((unused));
static inline BOOL
NSPointInRect(NSPoint aPoint, NSRect aRect)
{
return NSMouseInRect(aPoint, aRect, __objc_yes);
}
static inline BOOL
NSContainsRect(NSRect aRect, NSRect bRect) __attribute__((unused));
static inline BOOL
NSContainsRect(NSRect aRect, NSRect bRect)
{
return (!NSIsEmptyRect(bRect)
&& (NSMinX(aRect) <= NSMinX(bRect))
&& (NSMinY(aRect) <= NSMinY(bRect))
&& (NSMaxX(aRect) >= NSMaxX(bRect))
&& (NSMaxY(aRect) >= NSMaxY(bRect))) ? __objc_yes : __objc_no;
}
static inline BOOL
NSIntersectsRect(NSRect aRect, NSRect bRect) __attribute__((unused));
static inline BOOL
NSIntersectsRect(NSRect aRect, NSRect bRect)
{
return (NSMaxX(aRect) <= NSMinX(bRect)
|| NSMaxX(bRect) <= NSMinX(aRect)
|| NSMaxY(aRect) <= NSMinY(bRect)
|| NSMaxY(bRect) <= NSMinY(aRect)
|| NSIsEmptyRect(aRect)
|| NSIsEmptyRect(bRect)) ? __objc_no : __objc_yes;
}
extern NSString *
NSStringFromPoint(NSPoint aPoint);
extern NSString *
NSStringFromRect(NSRect aRect);
extern NSString *
NSStringFromSize(NSSize aSize);
extern NSPoint NSPointFromString(NSString* string);
extern NSSize NSSizeFromString(NSString* string);
extern NSRect NSRectFromString(NSString* string);
# 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSAffineTransform.h" 2
typedef struct {
CGFloat m11;
CGFloat m12;
CGFloat m21;
CGFloat m22;
CGFloat tX;
CGFloat tY;
} NSAffineTransformStruct;
@interface NSAffineTransform : NSObject <NSCopying, NSCoding>
{
# 55 "/usr/GNUstep/System/Library/Headers/Foundation/NSAffineTransform.h"
}
+ (NSAffineTransform*) transform;
- (void) appendTransform: (NSAffineTransform*)aTransform;
- (id) initWithTransform: (NSAffineTransform*)aTransform;
- (void) invert;
- (void) prependTransform: (NSAffineTransform*)aTransform;
- (void) rotateByDegrees: (CGFloat)angle;
- (void) rotateByRadians: (CGFloat)angleRad;
- (void) scaleBy: (CGFloat)scale;
- (void) scaleXBy: (CGFloat)scaleX yBy: (CGFloat)scaleY;
- (void) setTransformStruct: (NSAffineTransformStruct)val;
- (NSPoint) transformPoint: (NSPoint)aPoint;
- (NSSize) transformSize: (NSSize)aSize;
- (NSAffineTransformStruct) transformStruct;
- (void) translateXBy: (CGFloat)tranX yBy: (CGFloat)tranY;
@end
# 41 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSAppleEventDescriptor.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSAppleEventDescriptor.h"
@interface NSAppleEventDescriptor : NSObject
@end
# 42 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSAppleEventManager.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSAppleEventManager.h"
@interface NSAppleEventManager : NSObject
@end
# 43 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSAppleScript.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSAppleScript.h"
@interface NSAppleScript : NSObject
@end
# 44 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h" 1
# 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h" 1
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h" 1
# 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSEnumerator.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSEnumerator.h"
@class NSArray<ElementT>;
typedef struct
{
unsigned long state;
__attribute__((objc_ownership(none))) id *itemsPtr;
unsigned long *mutationsPtr;
unsigned long extra[5];
} NSFastEnumerationState;
@protocol NSFastEnumeration
- (NSUInteger) countByEnumeratingWithState: (NSFastEnumerationState *)state
objects: (__attribute__((objc_ownership(none))) id[])stackbuf
count: (NSUInteger)len;
@end
@interface NSEnumerator<IterT> : NSObject <NSFastEnumeration>
- (NSArray<IterT> *) allObjects;
- (IterT) nextObject;
@end
# 35 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h" 2
@class NSArray<ElementT>;
@class NSEnumerator<ElementT>;
@class NSDictionary<KeyT:id<NSCopying>, ValT>;
@class NSString;
@interface NSSet<__covariant ElementT> : NSObject <NSCoding,
NSCopying,
NSMutableCopying,
NSFastEnumeration>
+ (instancetype) set;
+ (instancetype) setWithArray: (NSArray<ElementT>*)objects;
+ (instancetype) setWithObject: (ElementT)anObject;
+ (instancetype) setWithObjects: (ElementT)firstObject, ...;
+ (instancetype) setWithObjects: (const ElementT[])objects
count: (NSUInteger)count;
+ (instancetype) setWithSet: (NSSet<ElementT>*)aSet;
- (NSArray<ElementT>*) allObjects;
- (ElementT) anyObject;
- (BOOL) containsObject: (ElementT)anObject;
- (NSUInteger) count;
- (NSString*) description;
- (NSString*) descriptionWithLocale: (id)locale;
- (instancetype) init;
- (instancetype) initWithArray: (NSArray<ElementT>*)other;
- (instancetype) initWithObjects: (ElementT)firstObject, ...;
- (instancetype) initWithObjects: (const ElementT[])objects
count: (NSUInteger)count;
- (instancetype) initWithSet: (NSSet<ElementT>*)other;
- (instancetype) initWithSet: (NSSet<ElementT>*)other
copyItems: (BOOL)flag;
- (BOOL) intersectsSet: (NSSet<ElementT>*)otherSet;
- (BOOL) isEqualToSet: (NSSet<ElementT>*)other;
- (BOOL) isSubsetOfSet: (NSSet<ElementT>*)otherSet;
- (void) makeObjectsPerform: (SEL)aSelector;
- (void) makeObjectsPerform: (SEL)aSelector withObject: (id)argument;
- (void) makeObjectsPerformSelector: (SEL)aSelector;
- (void) makeObjectsPerformSelector: (SEL)aSelector withObject: (id)argument;
- (ElementT) member: (ElementT)anObject;
- (NSEnumerator<ElementT>*) objectEnumerator;
typedef void(^GSSetEnumeratorBlock)(ElementT, BOOL*);
typedef BOOL(^GSSetFilterBlock)(ElementT, BOOL*);
- (void) enumerateObjectsUsingBlock:(GSSetEnumeratorBlock)aBlock;
# 114 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h"
- (void) enumerateObjectsWithOptions: (NSEnumerationOptions)opts
usingBlock: (GSSetEnumeratorBlock)aBlock;
- (NSSet<ElementT> *) objectsPassingTest:
(GSSetFilterBlock)aBlock;
- (NSSet<ElementT> *) objectsWithOptions:
(NSEnumerationOptions)opts
passingTest: (GSSetFilterBlock)aBlock;
- (NSSet<ElementT> *) setByAddingObject:
(ElementT)anObject;
- (NSSet<ElementT> *) setByAddingObjectsFromSet:
(NSSet<ElementT> *)other;
- (NSSet<ElementT> *) setByAddingObjectsFromArray:
(NSArray<ElementT> *)other;
@end
@interface NSMutableSet<ElementT>:
NSSet<ElementT>
+ (instancetype) setWithCapacity: (NSUInteger)numItems;
- (void) addObject: (ElementT)anObject;
- (void) addObjectsFromArray: (NSArray<ElementT>*)array;
- (instancetype) initWithCapacity: (NSUInteger)numItems;
- (void) intersectSet: (NSSet<ElementT>*)other;
- (void) minusSet: (NSSet<ElementT>*)other;
- (void) removeAllObjects;
- (void) removeObject: (ElementT)anObject;
- (void) setSet: (NSSet<ElementT>*)other;
- (void) unionSet: (NSSet<ElementT>*)other;
@end
@interface NSCountedSet<ElementT> :
NSMutableSet<ElementT>
- (NSUInteger) countForObject: (ElementT)anObject;
@end
@interface NSCountedSet<ElementT> (GNU_Uniquing)
# 179 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h"
- (void) purge: (NSInteger)level;
# 197 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h"
- (ElementT) unique:
(ElementT) __attribute__((ns_consumed)) anObject __attribute__((ns_returns_retained));
@end
# 210 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h"
void GSUniquing(BOOL flag);
# 219 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h"
id GSUnique(id __attribute__((ns_consumed)) anObject) __attribute__((ns_returns_retained));
# 230 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h"
void GSUPurge(NSUInteger count);
id GSUSet(id anObject, NSUInteger count);
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h" 2
@class NSMutableData, NSData, NSString;
# 52 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h"
@interface NSCoder : NSObject
# 61 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h"
- (void) encodeArrayOfObjCType: (const char*)type
count: (NSUInteger)count
at: (const void*)array;
- (void) encodeBycopyObject: (id)anObject;
- (void) encodeByrefObject: (id)anObject;
- (void) encodeBytes: (void*)d length: (NSUInteger)l;
- (void) encodeConditionalObject: (id)anObject;
- (void) encodeDataObject: (NSData*)data;
- (void) encodeObject: (id)anObject;
- (void) encodePropertyList: (id)plist;
- (void) encodePoint: (NSPoint)point;
- (void) encodeRect: (NSRect)rect;
- (void) encodeRootObject: (id)rootObject;
- (void) encodeSize: (NSSize)size;
- (void) encodeValueOfObjCType: (const char*)type
at: (const void*)address;
- (void) encodeValuesOfObjCTypes: (const char*)types,...;
# 145 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h"
- (void) decodeArrayOfObjCType: (const char*)type
count: (NSUInteger)count
at: (void*)address;
- (void*) decodeBytesWithReturnedLength: (NSUInteger*)l;
- (NSData*) decodeDataObject;
- (id) decodeObject;
- (id) decodePropertyList;
- (NSPoint) decodePoint;
- (NSRect) decodeRect;
- (NSSize) decodeSize;
- (void) decodeValueOfObjCType: (const char*)type
at: (void*)address;
- (void) decodeValuesOfObjCTypes: (const char*)types,...;
- (NSZone*) objectZone;
- (void) setObjectZone: (NSZone*)zone;
# 220 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h"
- (unsigned int) systemVersion;
- (NSInteger) versionForClassName: (NSString*)className;
# 241 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h"
- (BOOL) allowsKeyedCoding;
- (BOOL) containsValueForKey: (NSString*)aKey;
- (BOOL) decodeBoolForKey: (NSString*)aKey;
- (const uint8_t*) decodeBytesForKey: (NSString*)aKey
returnedLength: (NSUInteger*)alength;
- (double) decodeDoubleForKey: (NSString*)aKey;
- (float) decodeFloatForKey: (NSString*)aKey;
- (int) decodeIntForKey: (NSString*)aKey;
- (int32_t) decodeInt32ForKey: (NSString*)aKey;
- (int64_t) decodeInt64ForKey: (NSString*)aKey;
- (id) decodeObjectForKey: (NSString*)aKey;
- (void) encodeBool: (BOOL) aBool forKey: (NSString*)aKey;
- (void) encodeBytes: (const uint8_t*)aPointer
length: (NSUInteger)length
forKey: (NSString*)aKey;
- (void) encodeConditionalObject: (id)anObject forKey: (NSString*)aKey;
- (void) encodeDouble: (double)aDouble forKey: (NSString*)aKey;
- (void) encodeFloat: (float)aFloat forKey: (NSString*)aKey;
- (void) encodeInt: (int)anInteger forKey: (NSString*)aKey;
- (void) encodeInt32: (int32_t)anInteger forKey: (NSString*)aKey;
- (void) encodeInt64: (int64_t)anInteger forKey: (NSString*)aKey;
- (void) encodeObject: (id)anObject forKey: (NSString*)aKey;
- (void) encodeInteger: (NSInteger)anInteger forKey: (NSString *)key;
- (NSInteger) decodeIntegerForKey: (NSString *)key;
@property (nonatomic, assign) BOOL requiresSecureCoding;
- (id) decodeObjectOfClass: (Class)cls forKey: (NSString *)key;
- (id) decodeObjectOfClasses: (NSSet *)classes forKey: (NSString *)key;
@end
# 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h" 2
@class NSMutableArray, NSMutableDictionary, NSMutableData, NSData, NSString;
@interface NSArchiver : NSCoder
{
# 83 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h"
}
- (id) initForWritingWithMutableData: (NSMutableData*)mdata;
+ (NSData*) archivedDataWithRootObject: (id)rootObject;
+ (BOOL) archiveRootObject: (id)rootObject toFile: (NSString*)path;
- (NSMutableData*) archiverData;
- (NSString*) classNameEncodedForTrueClassName: (NSString*) trueName;
- (void) encodeClassName: (NSString*)trueName
intoClassName: (NSString*)inArchiveName;
- (void) replaceObject: (id)object
withObject: (id)newObject;
@end
@interface NSArchiver (GNUstep)
# 118 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h"
- (void) resetArchiver;
# 152 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h"
- (BOOL) directDataAccess;
- (void) serializeHeaderAt: (unsigned)positionInData
version: (unsigned)systemVersion
classes: (unsigned)classCount
objects: (unsigned)objectCount
pointers: (unsigned)pointerCount;
@end
@interface NSUnarchiver : NSCoder
{
# 198 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h"
}
- (id) initForReadingWithData: (NSData*)anObject;
+ (id) unarchiveObjectWithData: (NSData*)anObject;
+ (id) unarchiveObjectWithFile: (NSString*)path;
- (BOOL) isAtEnd;
- (NSZone*) objectZone;
- (void) setObjectZone: (NSZone*)aZone;
- (unsigned int) systemVersion;
+ (NSString*) classNameDecodedForArchiveClassName: (NSString*)nameInArchive;
+ (void) decodeClassName: (NSString*)nameInArchive
asClassName: (NSString*)trueName;
- (NSString*) classNameDecodedForArchiveClassName: (NSString*)nameInArchive;
- (void) decodeClassName: (NSString*)nameInArchive
asClassName: (NSString*)trueName;
- (void) replaceObject: (id)anObject withObject: (id)replacement;
@end
@interface NSUnarchiver (GNUstep)
- (unsigned) cursor;
- (void) resetUnarchiverWithData: (NSData*)anObject
atIndex: (unsigned)pos;
- (BOOL) directDataAccess;
- (void) deserializeHeaderAt: (unsigned*)pos
version: (unsigned*)v
classes: (unsigned*)c
objects: (unsigned*)o
pointers: (unsigned*)p;
@end
# 251 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h"
extern NSString * const NSInconsistentArchiveException;
# 45 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h"
@class NSString;
@class NSURL;
@class NSIndexSet;
enum
{
NSBinarySearchingFirstEqual = (1UL << 8),
NSBinarySearchingLastEqual = (1UL << 9),
NSBinarySearchingInsertionIndex = (1UL << 10),
};
typedef NSUInteger NSBinarySearchingOptions;
@interface NSArray<__covariant ElementT> : NSObject
<NSCoding, NSCopying, NSMutableCopying, NSFastEnumeration>
+ (instancetype) array;
+ (instancetype) arrayWithArray: (NSArray<ElementT> *)array;
+ (instancetype) arrayWithContentsOfFile: (NSString*)file;
+ (instancetype) arrayWithContentsOfURL: (NSURL*)aURL;
+ (instancetype) arrayWithObject: (id)anObject;
+ (instancetype) arrayWithObjects: (id)firstObject, ...;
+ (instancetype) arrayWithObjects: (const id[])objects count: (NSUInteger)count;
- (NSArray<ElementT> *) arrayByAddingObject:
(ElementT)anObject;
- (NSArray<ElementT> *) arrayByAddingObjectsFromArray:
(NSArray<ElementT>*)anotherArray;
- (BOOL) containsObject: (ElementT)anObject;
- (NSUInteger) count;
- (void) getObjects: (__attribute__((objc_ownership(none))) ElementT[])aBuffer;
- (void) getObjects: (__attribute__((objc_ownership(none))) ElementT[])aBuffer
range: (NSRange)aRange;
- (NSUInteger) indexOfObject: (ElementT)anObject;
- (NSUInteger) indexOfObject: (ElementT)anObject
inRange: (NSRange)aRange;
- (NSUInteger) indexOfObjectIdenticalTo: (ElementT)anObject;
- (NSUInteger) indexOfObjectIdenticalTo: (ElementT)anObject
inRange: (NSRange)aRange;
- (instancetype) init;
- (instancetype) initWithArray: (NSArray<ElementT>*)array;
- (instancetype) initWithArray: (NSArray<ElementT>*)array
copyItems: (BOOL)shouldCopy;
- (instancetype) initWithContentsOfFile: (NSString*)file;
- (instancetype) initWithContentsOfURL: (NSURL*)aURL;
- (instancetype) initWithObjects: (ElementT) firstObject, ...;
# 112 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h"
- (instancetype) initWithObjects: (const ElementT[])objects
count: (NSUInteger)count;
- (ElementT) lastObject;
- (ElementT) firstObject;
- (ElementT) objectAtIndex: (NSUInteger)index;
- (NSArray<ElementT> *) objectsAtIndexes:
(NSIndexSet *)indexes;
- (ElementT) firstObjectCommonWithArray:
(NSArray<ElementT> *)otherArray;
- (BOOL) isEqualToArray: (NSArray*)otherArray;
- (void) makeObjectsPerform: (SEL)aSelector;
- (void) makeObjectsPerform: (SEL)aSelector withObject: (id)argument;
- (void) makeObjectsPerformSelector: (SEL)aSelector;
- (void) makeObjectsPerformSelector: (SEL)aSelector withObject: (id)arg;
- (NSData*) sortedArrayHint;
- (NSArray<ElementT>*) sortedArrayUsingFunction:
(NSComparisonResult (*)(id, id, void*))comparator
context: (void*)context;
- (NSArray<ElementT>*) sortedArrayUsingFunction:
(NSComparisonResult (*)(id, id, void*))comparator
context: (void*)context
hint: (NSData*)hint;
- (NSArray<ElementT>*) sortedArrayUsingSelector:
(SEL)comparator;
- (NSArray<ElementT>*) subarrayWithRange: (NSRange)aRange;
- (NSString*) componentsJoinedByString: (NSString*)separator;
- (NSArray<NSString*>*) pathsMatchingExtensions:
(NSArray<NSString*>*)extensions;
- (NSEnumerator<ElementT>*) objectEnumerator;
- (NSEnumerator<ElementT>*) reverseObjectEnumerator;
- (NSString*) description;
- (NSString*) descriptionWithLocale: (id)locale;
- (NSString*) descriptionWithLocale: (id)locale
indent: (NSUInteger)level;
- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)useAuxiliaryFile;
- (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)useAuxiliaryFile;
- (id) valueForKey: (NSString*)key;
- (void) setValue: (id)value forKey: (NSString*)key;
typedef void(^GSEnumeratorBlock)(ElementT, NSUInteger, BOOL*);
typedef BOOL(^GSPredicateBlock)(ElementT, NSUInteger, BOOL*);
- (void) enumerateObjectsUsingBlock: (GSEnumeratorBlock)aBlock;
# 196 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h"
- (void) enumerateObjectsWithOptions: (NSEnumerationOptions)opts
usingBlock: (GSEnumeratorBlock)aBlock;
# 209 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h"
- (void) enumerateObjectsAtIndexes: (NSIndexSet*)indexSet
options: (NSEnumerationOptions)opts
usingBlock: (GSEnumeratorBlock)block;
# 220 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h"
- (NSIndexSet *) indexesOfObjectsWithOptions: (NSEnumerationOptions)opts
passingTest: (GSPredicateBlock)predicate;
- (NSIndexSet*) indexesOfObjectsPassingTest: (GSPredicateBlock)predicate;
# 237 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h"
- (NSIndexSet*) indexesOfObjectsAtIndexes: (NSIndexSet*)indexSet
options: (NSEnumerationOptions)opts
passingTest: (GSPredicateBlock)predicate;
# 249 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h"
- (NSUInteger) indexOfObjectWithOptions: (NSEnumerationOptions)opts
passingTest: (GSPredicateBlock)predicate;
- (NSUInteger) indexOfObjectPassingTest: (GSPredicateBlock)predicate;
# 266 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h"
- (NSUInteger) indexOfObjectAtIndexes: (NSIndexSet*)indexSet
options: (NSEnumerationOptions)opts
passingTest: (GSPredicateBlock)predicate;
- (NSArray<ElementT> *) sortedArrayUsingComparator:
(NSComparator)comparator;
- (NSArray<ElementT> *)
sortedArrayWithOptions: (NSSortOptions)options
usingComparator: (NSComparator)comparator;
- (NSUInteger) indexOfObject: (id)key
inSortedRange: (NSRange)range
options: (NSBinarySearchingOptions)options
usingComparator: (NSComparator)comparator;
- (ElementT) objectAtIndexedSubscript: (NSUInteger)anIndex;
@end
@interface NSMutableArray<ElementT> : NSArray<ElementT>
+ (instancetype) arrayWithCapacity: (NSUInteger)numItems;
- (void) addObject: (ElementT)anObject;
- (void) addObjectsFromArray: (NSArray<ElementT>*)otherArray;
- (void) exchangeObjectAtIndex: (NSUInteger)i1
withObjectAtIndex: (NSUInteger)i2;
# 328 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h"
- (instancetype) initWithCapacity: (NSUInteger)numItems;
- (void) insertObject: (ElementT)anObject
atIndex: (NSUInteger)index;
- (void) insertObjects: (NSArray<ElementT> *)objects
atIndexes: (NSIndexSet *)indexes;
- (void) removeObjectAtIndex: (NSUInteger)index;
- (void) removeObjectsAtIndexes: (NSIndexSet *)indexes;
- (void) replaceObjectAtIndex: (NSUInteger)index
withObject: (ElementT)anObject;
- (void) replaceObjectsAtIndexes: (NSIndexSet *)indexes
withObjects: (NSArray<ElementT>*)objects;
- (void) replaceObjectsInRange: (NSRange)aRange
withObjectsFromArray: (NSArray<ElementT>*)anArray;
- (void) replaceObjectsInRange: (NSRange)aRange
withObjectsFromArray: (NSArray<ElementT>*)anArray
range: (NSRange)anotherRange;
- (void) setArray: (NSArray<ElementT> *)otherArray;
- (void) removeAllObjects;
- (void) removeLastObject;
- (void) removeObject: (ElementT)anObject;
- (void) removeObject: (ElementT)anObject
inRange: (NSRange)aRange;
- (void) removeObjectIdenticalTo: (ElementT)anObject;
- (void) removeObjectIdenticalTo: (ElementT)anObject
inRange: (NSRange)aRange;
- (void) removeObjectsInArray: (NSArray<ElementT>*)otherArray;
- (void) removeObjectsInRange: (NSRange)aRange;
- (void) removeObjectsFromIndices: (NSUInteger*)indices
numIndices: (NSUInteger)count;
- (void) sortUsingFunction:
(NSComparisonResult (*)(ElementT,
ElementT,void*))compare
context: (void*)context;
- (void) sortUsingSelector: (SEL)comparator;
- (void) sortUsingComparator: (NSComparator)comparator;
- (void) sortWithOptions: (NSSortOptions)options
usingComparator: (NSComparator)comparator;
- (void) setObject: (ElementT)anObject
atIndexedSubscript: (NSUInteger)anIndex;
@end
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSArray+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSArray+GNUstepBase.h"
@interface NSArray (GNUstepBase)
# 53 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSArray+GNUstepBase.h"
- (NSUInteger) insertionPosition: (id)item
usingFunction: (NSComparisonResult (*)(id, id, void *))sorter
context: (void *)context;
# 67 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSArray+GNUstepBase.h"
- (NSUInteger) insertionPosition: (id)item
usingSelector: (SEL)comp;
@end
# 422 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h" 2
# 46 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSAttributedString.h" 1
# 60 "/usr/GNUstep/System/Library/Headers/Foundation/NSAttributedString.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDictionary.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSDictionary.h"
@class NSArray<ElementT>;
@class NSSet<ElementT>;
@class NSString, NSURL;
@interface NSDictionary<__covariant KeyT:id<NSCopying>, __covariant ValT>
: NSObject <NSCoding, NSCopying, NSMutableCopying, NSFastEnumeration>
+ (instancetype) dictionary;
+ (instancetype) dictionaryWithContentsOfFile: (NSString*)path;
+ (instancetype) dictionaryWithContentsOfURL: (NSURL*)aURL;
+ (instancetype) dictionaryWithDictionary: (NSDictionary*)otherDictionary;
+ (instancetype) dictionaryWithObject: (ValT)object
forKey: (KeyT)key;
+ (instancetype) dictionaryWithObjects: (NSArray<ValT>*)objects
forKeys: (NSArray<KeyT>*)keys;
+ (instancetype) dictionaryWithObjects: (const ValT[])objects
forKeys: (const KeyT[])keys
count: (NSUInteger)count;
+ (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...;
- (NSArray<KeyT>*) allKeys;
- (NSArray<KeyT>*) allKeysForObject:
(ValT)anObject;
- (NSArray<ValT>*) allValues;
- (NSUInteger) count;
- (NSString*) description;
- (NSString*) descriptionInStringsFileFormat;
- (NSString*) descriptionWithLocale: (id)locale;
- (NSString*) descriptionWithLocale: (id)locale
indent: (NSUInteger)level;
typedef void(^GSKeysAndObjectsEnumeratorBlock)(KeyT, ValT, BOOL*);
- (void) enumerateKeysAndObjectsUsingBlock:
(GSKeysAndObjectsEnumeratorBlock)aBlock;
- (void) enumerateKeysAndObjectsWithOptions: (NSEnumerationOptions)opts
usingBlock: (GSKeysAndObjectsEnumeratorBlock)aBlock;
- (void) getObjects: (__attribute__((objc_ownership(none))) ValT[])objects
andKeys: (__attribute__((objc_ownership(none))) KeyT[])keys;
- (instancetype) init;
- (instancetype) initWithContentsOfFile: (NSString*)path;
- (instancetype) initWithContentsOfURL: (NSURL*)aURL;
- (instancetype) initWithDictionary:
(NSDictionary<KeyT, ValT>*)otherDictionary;
- (id) initWithDictionary: (NSDictionary<KeyT, ValT>*)other
copyItems: (BOOL)shouldCopy;
- (id) initWithObjects: (NSArray<KeyT>*)objects
forKeys: (NSArray<ValT>*)keys;
- (id) initWithObjectsAndKeys: (ValT)firstObject, ...;
- (id) initWithObjects: (const ValT[])objects
forKeys: (const KeyT[])keys
count: (NSUInteger)count;
- (BOOL) isEqualToDictionary: (NSDictionary<KeyT, ValT>*)other;
- (NSEnumerator<KeyT>*) keyEnumerator;
typedef BOOL(^GSKeysAndObjectsPredicateBlock)(KeyT, ValT, BOOL*);
- (NSSet<KeyT>*) keysOfEntriesPassingTest:
(GSKeysAndObjectsPredicateBlock)aPredicate;
- (NSSet<KeyT>*) keysOfEntriesWithOptions:
(NSEnumerationOptions)opts
passingTest: (GSKeysAndObjectsPredicateBlock)aPredicate;
- (NSArray<ValT>*) keysSortedByValueUsingSelector: (SEL)comp;
- (NSArray<ValT>*) keysSortedByValueUsingComparator:(NSComparator)cmptr;
- (NSArray<ValT>*) keysSortedByValueWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr;
- (NSEnumerator<ValT>*) objectEnumerator;
- (ValT) objectForKey:
(KeyT)aKey;
- (NSArray<ValT>*) objectsForKeys:
(NSArray<KeyT>*)keys
notFoundMarker: (ValT)marker;
- (ValT) valueForKey: (NSString*)key;
- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)useAuxiliaryFile;
- (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)useAuxiliaryFile;
- (ValT) objectForKeyedSubscript:
(KeyT)aKey;
@end
@interface NSMutableDictionary<KeyT:id<NSCopying>, ValT> :
NSDictionary<KeyT, ValT>
+ (instancetype) dictionaryWithCapacity: (NSUInteger)numItems;
- (void) addEntriesFromDictionary:
(NSDictionary<KeyT, ValT>*)otherDictionary;
- (instancetype) initWithCapacity: (NSUInteger)numItems;
- (void) removeAllObjects;
- (void) removeObjectForKey: (KeyT)aKey;
- (void) removeObjectsForKeys: (NSArray<KeyT> *)keyArray;
- (void) setObject: (ValT)anObject
forKey: (KeyT)aKey;
- (void) setDictionary:
(NSDictionary<KeyT, ValT>*)otherDictionary;
- (void) setValue: (ValT)value forKey: (NSString*)key;
- (void) takeStoredValue: (ValT)value forKey: (NSString*)key;
- (void) takeValue: (ValT)value forKey: (NSString*)key;
- (void) setObject: (ValT)anObject
forKeyedSubscript: (KeyT)aKey;
@end
# 61 "/usr/GNUstep/System/Library/Headers/Foundation/NSAttributedString.h" 2
@interface NSAttributedString : NSObject <NSCoding, NSCopying, NSMutableCopying>
{
}
- (id) initWithString: (NSString*)aString;
- (id) initWithAttributedString: (NSAttributedString*)attributedString;
- (id) initWithString: (NSString*)aString attributes: (NSDictionary*)attributes;
- (NSUInteger) length;
- (NSString*) string;
- (NSDictionary*) attributesAtIndex: (NSUInteger)index
effectiveRange: (NSRange*)aRange;
- (NSDictionary*) attributesAtIndex: (NSUInteger)index
longestEffectiveRange: (NSRange*)aRange
inRange: (NSRange)rangeLimit;
- (id) attribute: (NSString*)attributeName
atIndex: (NSUInteger)index
effectiveRange: (NSRange*)aRange;
- (id) attribute: (NSString*)attributeName atIndex: (NSUInteger)index
longestEffectiveRange: (NSRange*)aRange inRange: (NSRange)rangeLimit;
- (BOOL) isEqualToAttributedString: (NSAttributedString*)otherString;
- (NSAttributedString*) attributedSubstringFromRange: (NSRange)aRange;
@end
@interface NSMutableAttributedString : NSAttributedString
{
}
- (NSMutableString*) mutableString;
- (void) deleteCharactersInRange: (NSRange)aRange;
- (void) setAttributes: (NSDictionary*)attributes
range: (NSRange)aRange;
- (void) addAttribute: (NSString*)name value: (id)value range: (NSRange)aRange;
- (void) addAttributes: (NSDictionary*)attributes range: (NSRange)aRange;
- (void) removeAttribute: (NSString*)name range: (NSRange)aRange;
- (void) appendAttributedString: (NSAttributedString*)attributedString;
- (void) insertAttributedString: (NSAttributedString*)attributedString
atIndex: (NSUInteger)index;
- (void) replaceCharactersInRange: (NSRange)aRange
withAttributedString: (NSAttributedString*)attributedString;
- (void) replaceCharactersInRange: (NSRange)aRange
withString: (NSString*)aString;
- (void) setAttributedString: (NSAttributedString*)attributedString;
- (void) beginEditing;
- (void) endEditing;
@end
typedef NSString* NSAttributedStringKey;
# 147 "/usr/GNUstep/System/Library/Headers/Foundation/NSAttributedString.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSAttributedString+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSAttributedString+GNUstepBase.h"
@interface NSAttributedString (GNUstepBase)
- (NSAttributedString*) attributedSubstringWithRange: (NSRange)aRange;
@end
# 148 "/usr/GNUstep/System/Library/Headers/Foundation/NSAttributedString.h" 2
# 47 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" 1
# 35 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
@class NSAutoreleasePool;
@class NSThread;
# 51 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
typedef struct autorelease_thread_vars
{
__attribute__((objc_ownership(none))) NSAutoreleasePool *current_pool;
unsigned total_objects_count;
__attribute__((objc_ownership(none))) id *pool_cache;
int pool_cache_size;
int pool_cache_count;
} thread_vars_struct;
# 90 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
typedef struct autorelease_array_list
{
struct autorelease_array_list *next;
unsigned size;
unsigned count;
__attribute__((objc_ownership(none))) id objects[0];
} array_list_struct;
# 182 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
@interface NSAutoreleasePool : NSObject
{
# 207 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
}
+ (void) addObject: (id)anObj;
+ (id) allocWithZone: (NSZone*)zone;
- (void) addObject: (id)anObj;
- (id) autorelease;
# 241 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
- (void) drain;
- (oneway void) release;
- (id) retain;
# 265 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
+ (unsigned) autoreleaseCountForObject: (id)anObject;
+ (id) currentPool;
# 281 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
+ (void) enableRelease: (BOOL)enable;
# 294 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
+ (void) freeCache;
# 310 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
+ (void) setPoolCountThreshold: (unsigned)c;
- (unsigned) autoreleaseCount;
# 325 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h"
- (void) emptyPool;
@end
# 48 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSBackgroundActivityScheduler.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSBackgroundActivityScheduler.h"
enum {
NSBackgroundActivityResultFinished = 1,
NSBackgroundActivityResultDeferred = 2,
};
typedef NSInteger NSBackgroundActivityResult;
enum {
NSQualityOfServiceUserInteractive = 0x21,
NSQualityOfServiceUserInitiated = 0x19,
NSQualityOfServiceUtility = 0x11,
NSQualityOfServiceBackground = 0x09,
NSQualityOfServiceDefault = -1
};
typedef NSInteger NSQualityOfService;
@class NSString, NSTimer;
# 64 "/usr/GNUstep/System/Library/Headers/Foundation/NSBackgroundActivityScheduler.h"
typedef void(^NSBackgroundActivityCompletionHandler)(NSBackgroundActivityResult);
typedef void(^GSScheduledBlock)(NSBackgroundActivityCompletionHandler);
@interface NSBackgroundActivityScheduler : NSObject
{
NSString *_identifier;
NSQualityOfService _qualityOfService;
NSTimeInterval _interval;
NSTimeInterval _tolerance;
BOOL _repeats;
BOOL _shouldDefer;
NSTimer *_timer;
NSActivityOptions _opts;
id _token;
NSString *_reason;
__attribute__((__blocks__(byref))) GSScheduledBlock _block;
}
- (instancetype) initWithIdentifier: (NSString *)identifier;
- (NSString *) identifier;
- (void) setIdentifier: (NSString *)identifier;
- (NSQualityOfService) qualityOfService;
- (void) setQualityOfService: (NSQualityOfService)qualityOfService;
- (BOOL) repeats;
- (void) setRepeats: (BOOL)flag;
- (NSTimeInterval) interval;
- (void) setInterval: (NSTimeInterval)interval;
- (NSTimeInterval) tolerance;
- (void) setTolerance: (NSTimeInterval)tolerance;
- (BOOL) shouldDefer;
- (void) setShouldDefer: (BOOL)flag;
- (void) scheduleWithBlock: (GSScheduledBlock)block;
- (void) invalidate;
@end
# 49 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" 1
# 43 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
@class NSString;
@class NSArray;
@class NSDictionary;
@class NSMutableArray;
@class NSMutableDictionary;
enum {
NSBundleExecutableArchitectureI386 = 0x00000007,
NSBundleExecutableArchitecturePPC = 0x00000012,
NSBundleExecutableArchitecturePPC64 = 0x01000012,
NSBundleExecutableArchitectureX86_64 = 0x01000007
};
# 65 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
extern NSString* const NSBundleDidLoadNotification;
# 74 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
extern NSString* const NSShowNonLocalizedStrings;
extern NSString* const NSLoadedClasses;
# 113 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
@interface NSBundle : NSObject
{
# 136 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
}
+ (NSArray*) allBundles;
+ (NSArray*) allFrameworks;
# 164 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
+ (NSBundle*) mainBundle;
# 180 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
+ (NSBundle*) bundleForClass: (Class)aClass;
+ (NSBundle*) bundleWithIdentifier: (NSString*)identifier;
+ (NSBundle*) bundleWithPath: (NSString*)path;
+ (NSBundle*) bundleWithURL: (NSURL*)url;
# 202 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
+ (NSString*) pathForResource: (NSString*)name
ofType: (NSString*)extension
inDirectory: (NSString*)bundlePath;
+ (NSString*) pathForResource: (NSString*)name
ofType: (NSString*)extension
inDirectory: (NSString*)bundlePath
withVersion: (int)version;
+ (NSURL*) URLForResource: (NSString*)name
withExtension: (NSString*)extension
subdirectory: (NSString*)subpath
inBundleWithURL: (NSURL*)bundleURL;
# 242 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
- (id) initWithPath: (NSString*)path;
- (id) initWithURL: (NSURL*)url;
- (NSString*) bundlePath;
- (NSURL*) bundleURL;
- (Class) classNamed: (NSString*)className;
- (Class) principalClass;
# 279 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
+ (NSArray*) pathsForResourcesOfType: (NSString*)extension
inDirectory: (NSString*)bundlePath;
# 289 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
- (NSArray*) pathsForResourcesOfType: (NSString*)extension
inDirectory: (NSString*)subPath;
# 313 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
- (NSString*) pathForResource: (NSString*)name
ofType: (NSString*)extension
inDirectory: (NSString*)subPath;
- (NSString*) pathForResource: (NSString*)name
ofType: (NSString*)extension;
- (NSURL*) URLForResource: (NSString*)name
withExtension: (NSString*)extension;
- (NSURL*) URLForResource: (NSString*)name
withExtension: (NSString*)extension
subdirectory: (NSString*)subpath;
- (NSURL*) URLForResource: (NSString*)name
withExtension: (NSString*)extension
subdirectory: (NSString*)subpath
localization: (NSString*)localizationName;
# 346 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
- (NSString*) localizedStringForKey: (NSString*)key
value: (NSString*)value
table: (NSString*)tableName __attribute__((format_arg(1)));
- (NSString*) resourcePath;
- (NSURL *) resourceURL;
- (NSString *) builtInPlugInsPath;
- (NSURL *) builtInPlugInsURL;
- (NSString *) privateFrameworksPath;
- (NSURL *) privateFrameworksURL;
- (NSString *) bundleIdentifier;
- (unsigned) bundleVersion;
- (void) setBundleVersion: (unsigned)version;
+ (NSArray *) preferredLocalizationsFromArray: (NSArray *)localizationsArray;
+ (NSArray *) preferredLocalizationsFromArray: (NSArray *)localizationsArray
forPreferences: (NSArray *)preferencesArray;
- (BOOL) isLoaded;
# 417 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
- (NSArray*) pathsForResourcesOfType: (NSString*)extension
inDirectory: (NSString*)subPath
forLocalization: (NSString*)localizationName;
- (NSString*) pathForResource: (NSString*)name
ofType: (NSString*)extension
inDirectory: (NSString*)subPath
forLocalization: (NSString*)localizationName;
- (NSDictionary*) infoDictionary;
- (NSDictionary*) localizedInfoDictionary;
- (NSString*) developmentLocalization;
- (id) objectForInfoDictionaryKey: (NSString *)key;
- (NSArray*) localizations;
- (NSArray*) preferredLocalizations;
- (BOOL) load;
- (BOOL) unload;
- (NSString *) executablePath;
- (NSURL *) executableURL;
- (NSString *) pathForAuxiliaryExecutable: (NSString *) executableName;
- (NSURL *)URLForAuxiliaryExecutable: (NSString *) executableName;
- (NSArray *) executableArchitectures;
- (BOOL) preflightAndReturnError: (NSError **)error;
- (BOOL) loadAndReturnError: (NSError **)error;
@end
@interface NSBundle (GNUstep)
# 533 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
+ (NSBundle *) bundleForLibrary: (NSString*)libraryName
version: (NSString*)interfaceVersion;
+ (NSBundle*) bundleForLibrary: (NSString*)libraryName ;
+ (NSString*) pathForLibraryResource: (NSString*)name
ofType: (NSString*)extension
inDirectory: (NSString*)bundlePath;
- (void) cleanPathCache;
# 588 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
@end
# 693 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSBundle+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSBundle+GNUstepBase.h"
@interface NSBundle(GNUstepBase)
+ (NSString *) pathForLibraryResource: (NSString *)name
ofType: (NSString *)ext
inDirectory: (NSString *)bundlePath;
@end
# 694 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" 2
# 50 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteCountFormatter.h" 1
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteCountFormatter.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h"
enum {
NSFormattingContextUnknown = 0,
NSFormattingContextDynamic,
NSFormattingContextStandalone,
NSFormattingContextListItem,
NSFormattingContextBeginningOfSentence,
NSFormattingContextMiddleOfSentence,
};
typedef NSInteger NSFormattingContext;
enum {
NSFormattingUnitStyleShort = 1,
NSFormattingUnitStyleMedium,
NSFormattingUnitStyleLong,
};
typedef NSInteger NSFormattingUnitStyle;
@class NSString, NSAttributedString, NSDictionary;
# 66 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h"
@interface NSFormatter : NSObject <NSCopying, NSCoding>
# 75 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h"
- (NSAttributedString*) attributedStringForObjectValue: (id)anObject
withDefaultAttributes: (NSDictionary*)attr;
# 87 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h"
- (NSString*) editingStringForObjectValue: (id)anObject;
# 98 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h"
- (BOOL) getObjectValue: (id*)anObject
forString: (NSString*)string
errorDescription: (NSString**)error;
# 111 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h"
- (BOOL) isPartialStringValid: (NSString*)partialString
newEditingString: (NSString**)newString
errorDescription: (NSString**)error;
# 126 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h"
- (BOOL) isPartialStringValid: (NSString**)partialStringPtr
proposedSelectedRange: (NSRange*)proposedSelRangePtr
originalString: (NSString*)origString
originalSelectedRange: (NSRange)originalSelRangePtr
errorDescription: (NSString**)error;
# 140 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h"
- (NSString*) stringForObjectValue: (id)anObject;
@end
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteCountFormatter.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" 1
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimal.h" 1
# 53 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimal.h"
enum {
NSRoundPlain,
NSRoundDown,
NSRoundUp,
NSRoundBankers
};
typedef NSUInteger NSRoundingMode;
# 77 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimal.h"
enum {
NSCalculationNoError = 0,
NSCalculationLossOfPrecision,
NSCalculationUnderflow,
NSCalculationOverflow,
NSCalculationDivideByZero
};
typedef NSUInteger NSCalculationError;
# 110 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimal.h"
typedef struct {
signed char exponent;
BOOL isNegative;
BOOL validNumber;
unsigned char length;
unsigned char cMantissa[38];
} NSDecimal;
static inline BOOL
NSDecimalIsNotANumber(const NSDecimal *decimal)
{
return (decimal->validNumber == __objc_no);
}
extern void
NSDecimalCopy(NSDecimal *destination, const NSDecimal *source);
extern void
NSDecimalCompact(NSDecimal *number);
extern NSComparisonResult
NSDecimalCompare(const NSDecimal *leftOperand, const NSDecimal *rightOperand);
extern void
NSDecimalRound(NSDecimal *result, const NSDecimal *number, NSInteger scale,
NSRoundingMode mode);
extern NSCalculationError
NSDecimalNormalize(NSDecimal *n1, NSDecimal *n2, NSRoundingMode mode);
extern NSCalculationError
NSDecimalAdd(NSDecimal *result, const NSDecimal *left, const NSDecimal *right, NSRoundingMode mode);
extern NSCalculationError
NSDecimalSubtract(NSDecimal *result, const NSDecimal *left, const NSDecimal *right, NSRoundingMode mode);
extern NSCalculationError
NSDecimalMultiply(NSDecimal *result, const NSDecimal *l, const NSDecimal *r, NSRoundingMode mode);
extern NSCalculationError
NSDecimalDivide(NSDecimal *result, const NSDecimal *l, const NSDecimal *rr, NSRoundingMode mode);
extern NSCalculationError
NSDecimalPower(NSDecimal *result, const NSDecimal *n, NSUInteger power,
NSRoundingMode mode);
extern NSCalculationError
NSDecimalMultiplyByPowerOf10(NSDecimal *result, const NSDecimal *n, short power, NSRoundingMode mode);
extern NSString*
NSDecimalString(const NSDecimal *decimal, NSDictionary *locale);
extern void
NSDecimalMax(NSDecimal *result);
extern void
NSDecimalMin(NSDecimal *result);
extern double
NSDecimalDouble(NSDecimal *number);
extern void
NSDecimalFromComponents(NSDecimal *result, unsigned long long mantissa,
short exponent, BOOL negative);
extern void
NSDecimalFromString(NSDecimal *result, NSString *numberValue,
NSDictionary *locale);
# 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h"
@class NSString;
# 49 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h"
@interface NSValue : NSObject <NSCopying, NSCoding>
# 61 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h"
+ (NSValue*) value: (const void*)value withObjCType: (const char*)type;
+ (NSValue*) valueWithNonretainedObject: (id)anObject;
+ (NSValue*) valueWithPoint: (NSPoint)point;
+ (NSValue*) valueWithPointer: (const void*)pointer;
+ (NSValue*) valueWithRange: (NSRange)range;
+ (NSValue*) valueWithRect: (NSRect)rect;
+ (NSValue*) valueWithSize: (NSSize)size;
+ (NSValue*) valueWithBytes: (const void*)value objCType: (const char*)type;
- (id) initWithBytes: (const void*)data objCType: (const char*)type;
- (BOOL) isEqualToValue: (NSValue*)other;
# 126 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h"
- (void) getValue: (void*)value;
- (const char*) objCType;
- (id) nonretainedObjectValue;
- (void*) pointerValue;
- (NSRange) rangeValue;
- (NSRect) rectValue;
- (NSSize) sizeValue;
- (NSPoint) pointValue;
@end
@interface NSNumber : NSValue <NSCopying,NSCoding>
+ (NSNumber*) numberWithBool: (BOOL)value;
+ (NSNumber*) numberWithChar: (signed char)value;
+ (NSNumber*) numberWithDouble: (double)value;
+ (NSNumber*) numberWithFloat: (float)value;
+ (NSNumber*) numberWithInt: (signed int)value;
+ (NSNumber*) numberWithLong: (signed long)value;
+ (NSNumber*) numberWithLongLong: (signed long long)value;
+ (NSNumber*) numberWithShort: (signed short)value;
+ (NSNumber*) numberWithUnsignedChar: (unsigned char)value;
+ (NSNumber*) numberWithUnsignedInt: (unsigned int)value;
+ (NSNumber*) numberWithUnsignedLong: (unsigned long)value;
+ (NSNumber*) numberWithUnsignedLongLong: (unsigned long long)value;
+ (NSNumber*) numberWithUnsignedShort: (unsigned short)value;
- (id) initWithBool: (BOOL)value;
- (id) initWithChar: (signed char)value;
- (id) initWithDouble: (double)value;
- (id) initWithFloat: (float)value;
- (id) initWithInt: (signed int)value;
- (id) initWithLong: (signed long)value;
- (id) initWithLongLong: (signed long long)value;
- (id) initWithShort: (signed short)value;
- (id) initWithUnsignedChar: (unsigned char)value;
- (id) initWithUnsignedInt: (unsigned int)value;
- (id) initWithUnsignedLong: (unsigned long)value;
- (id) initWithUnsignedLongLong: (unsigned long long)value;
- (id) initWithUnsignedShort: (unsigned short)value;
# 243 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h"
- (BOOL) boolValue;
- (signed char) charValue;
- (double) doubleValue;
- (float) floatValue;
- (signed int) intValue;
- (signed long) longValue;
- (signed long long) longLongValue;
- (signed short) shortValue;
- (unsigned char) unsignedCharValue;
- (unsigned int) unsignedIntValue;
- (unsigned long) unsignedLongValue;
- (unsigned long long) unsignedLongLongValue;
- (unsigned short) unsignedShortValue;
- (NSString*) stringValue;
- (NSString*) description;
# 313 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h"
- (NSString*) descriptionWithLocale: (id)locale;
- (NSComparisonResult) compare: (NSNumber*)otherNumber;
- (BOOL) isEqualToNumber: (NSNumber*)otherNumber;
+ (NSNumber*) numberWithInteger: (NSInteger)value;
+ (NSNumber*) numberWithUnsignedInteger: (NSUInteger)value;
- (id) initWithInteger: (NSInteger)value;
- (id) initWithUnsignedInteger: (NSUInteger)value;
- (NSInteger) integerValue;
- (NSUInteger) unsignedIntegerValue;
@end
@interface NSValue (Subclassing)
+ (Class) valueClassWithObjCType: (const char*)type;
@end
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSNumber+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSNumber+GNUstepBase.h"
@interface NSNumber(GNUstepBase)
+ (NSValue*) valueFromString: (NSString *)string;
@end
# 370 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h" 2
# 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" 2
@class NSDecimalNumber;
# 48 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h"
@protocol NSDecimalNumberBehaviors
# 81 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h"
- (NSDecimalNumber*) exceptionDuringOperation: (SEL)method
error: (NSCalculationError)error
leftOperand: (NSDecimalNumber*)leftOperand
rightOperand: (NSDecimalNumber*)rightOperand;
# 104 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h"
- (NSRoundingMode) roundingMode;
# 113 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h"
- (short) scale;
@end
# 123 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h"
@interface NSDecimalNumberHandler : NSObject <NSDecimalNumberBehaviors>
{
# 142 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h"
}
+ (id)defaultDecimalNumberHandler;
+ (id)decimalNumberHandlerWithRoundingMode:(NSRoundingMode)roundingMode
scale:(short)scale
raiseOnExactness:(BOOL)raiseOnExactness
raiseOnOverflow:(BOOL)raiseOnOverflow
raiseOnUnderflow:(BOOL)raiseOnUnderflow
raiseOnDivideByZero:(BOOL)raiseOnDivideByZero;
- (id)initWithRoundingMode:(NSRoundingMode)roundingMode
scale:(short)scale
raiseOnExactness:(BOOL)raiseOnExactness
raiseOnOverflow:(BOOL)raiseOnOverflow
raiseOnUnderflow:(BOOL)raiseOnUnderflow
raiseOnDivideByZero:(BOOL)raiseOnDivideByZero;
@end
# 192 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h"
@interface NSDecimalNumber : NSNumber <NSDecimalNumberBehaviors>
{
}
+ (id <NSDecimalNumberBehaviors>)defaultBehavior;
+ (void)setDefaultBehavior:(id <NSDecimalNumberBehaviors>)behavior;
+ (NSDecimalNumber *)maximumDecimalNumber;
+ (NSDecimalNumber *)minimumDecimalNumber;
+ (NSDecimalNumber *)notANumber;
+ (NSDecimalNumber *)one;
+ (NSDecimalNumber *)zero;
+ (NSDecimalNumber *)decimalNumberWithDecimal:(NSDecimal)decimal;
+ (NSDecimalNumber *)decimalNumberWithMantissa:(unsigned long long)mantissa
exponent:(short)exponent
isNegative:(BOOL)isNegative;
+ (NSDecimalNumber *)decimalNumberWithString:(NSString *)numericString;
+ (NSDecimalNumber *)decimalNumberWithString:(NSString *)numericString
locale:(NSDictionary *)locale;
- (id)initWithDecimal:(NSDecimal)decimal;
- (id)initWithMantissa:(unsigned long long)mantissa
exponent:(short)exponent
isNegative:(BOOL)flag;
- (id)initWithString:(NSString *)numberValue;
- (id)initWithString:(NSString *)numberValue
locale:(NSDictionary *)locale;
- (const char *)objCType;
- (NSDecimal)decimalValue;
- (NSString *)descriptionWithLocale:(id)locale;
- (double)doubleValue;
- (NSComparisonResult)compare:(NSNumber *)decimalNumber;
- (NSDecimalNumber *)decimalNumberByAdding:(NSDecimalNumber *)decimalNumber;
- (NSDecimalNumber *)decimalNumberByAdding:(NSDecimalNumber *)decimalNumber
withBehavior:(id<NSDecimalNumberBehaviors>)behavior;
- (NSDecimalNumber *)decimalNumberByDividingBy:(NSDecimalNumber *)decimalNumber;
- (NSDecimalNumber *)decimalNumberByDividingBy:(NSDecimalNumber *)decimalNumber
withBehavior:(id <NSDecimalNumberBehaviors>)behavior;
- (NSDecimalNumber *)decimalNumberByMultiplyingBy:(NSDecimalNumber *)decimalNumber;
- (NSDecimalNumber *)decimalNumberByMultiplyingBy:(NSDecimalNumber *)decimalNumber
withBehavior:(id <NSDecimalNumberBehaviors>)behavior;
- (NSDecimalNumber *)decimalNumberByMultiplyingByPowerOf10:(short)power;
- (NSDecimalNumber *)decimalNumberByMultiplyingByPowerOf10:(short)power
withBehavior:(id <NSDecimalNumberBehaviors>)behavior;
- (NSDecimalNumber *)decimalNumberByRaisingToPower:(NSUInteger)power;
- (NSDecimalNumber *)decimalNumberByRaisingToPower:(NSUInteger)power
withBehavior:(id <NSDecimalNumberBehaviors>)behavior;
- (NSDecimalNumber *)decimalNumberBySubtracting:
(NSDecimalNumber *)decimalNumber;
- (NSDecimalNumber *)decimalNumberBySubtracting:
(NSDecimalNumber *)decimalNumber
withBehavior:(id <NSDecimalNumberBehaviors>)behavior;
- (NSDecimalNumber *)decimalNumberByRoundingAccordingToBehavior:(id <NSDecimalNumberBehaviors>)behavior;
@end
@interface NSNumber (NSDecimalNumber)
- (NSDecimal) decimalValue;
@end
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteCountFormatter.h" 2
@class NSString, NSAttributedString, NSDictionary,
NSError, NSLocale, NSNumber;
enum {
NSByteCountFormatterUseDefault = 0,
NSByteCountFormatterUseBytes = 1UL << 0,
NSByteCountFormatterUseKB = 1UL << 1,
NSByteCountFormatterUseMB = 1UL << 2,
NSByteCountFormatterUseGB = 1UL << 3,
NSByteCountFormatterUseTB = 1UL << 4,
NSByteCountFormatterUsePB = 1UL << 5,
NSByteCountFormatterUseEB = 1UL << 6,
NSByteCountFormatterUseZB = 1UL << 7,
NSByteCountFormatterUseYBOrHigher = 0x0FFUL << 8,
NSByteCountFormatterUseAll = 0x0FFFFUL
};
typedef NSInteger NSByteCountFormatterUnits;
enum {
NSByteCountFormatterCountStyleFile = 0,
NSByteCountFormatterCountStyleMemory = 1,
NSByteCountFormatterCountStyleDecimal = 2,
NSByteCountFormatterCountStyleBinary = 3,
};
typedef NSInteger NSByteCountFormatterCountStyle;
@interface NSByteCountFormatter : NSFormatter
{
# 82 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteCountFormatter.h"
}
- (NSFormattingContext) formattingContext;
- (void) setFormattingContext: (NSFormattingContext)ctx;
- (NSByteCountFormatterCountStyle) countStyle;
- (void) setCountStyle: (NSByteCountFormatterCountStyle)style;
- (BOOL) allowsNonnumericFormatting;
- (void) setAllowsNonnumericFormatting: (BOOL)flag;
- (BOOL) includesActualByteCount;
- (void) setIncludesActualByteCount: (BOOL)flag;
- (BOOL) isAdaptive;
- (void) setAdaptive: (BOOL)flag;
- (NSByteCountFormatterUnits) allowedUnits;
- (void) setAllowedUnits: (NSByteCountFormatterUnits)units;
- (BOOL) includesCount;
- (void) setIncludesCount: (BOOL)flag;
- (BOOL) includesUnit;
- (void) setIncludesUnit: (BOOL)flag;
- (BOOL) zeroPadsFractionDigits;
- (void) setZeroPadsFractionDigits: (BOOL)flag;
- (NSString *) stringForObjectValue: (id)obj;
- (NSString *)stringFromByteCount: (long long)byteCount;
+ (NSString *)stringFromByteCount: (long long)byteCount
countStyle: (NSByteCountFormatterCountStyle)countStyle;
@end
# 51 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h"
typedef uint32_t NSSwappedFloat;
typedef uint64_t NSSwappedDouble;
typedef enum {
NS_UnknownByteOrder,
NS_LittleEndian,
NS_BigEndian
} NSByteOrder;
# 58 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h"
static inline uint16_t
GSSwapI16(uint16_t in) __attribute__((unused));
static inline uint32_t
GSSwapI32(uint32_t in) __attribute__((unused));
static inline uint64_t
GSSwapI64(uint64_t in) __attribute__((unused));
static inline gsu128
GSSwapI128(gsu128 in) __attribute__((unused));
static inline uint16_t
GSSwapBigI16ToHost(uint16_t in) __attribute__((unused));
static inline uint32_t
GSSwapBigI32ToHost(uint32_t in) __attribute__((unused));
static inline uint64_t
GSSwapBigI64ToHost(uint64_t in) __attribute__((unused));
static inline gsu128
GSSwapBigI128ToHost(gsu128 in) __attribute__((unused));
static inline uint16_t
GSSwapHostI16ToBig(uint16_t in) __attribute__((unused));
static inline uint32_t
GSSwapHostI32ToBig(uint32_t in) __attribute__((unused));
static inline uint64_t
GSSwapHostI64ToBig(uint64_t in) __attribute__((unused));
static inline gsu128
GSSwapHostI128ToBig(gsu128 in) __attribute__((unused));
static inline uint16_t
GSSwapLittleI16ToHost(uint16_t in) __attribute__((unused));
static inline uint32_t
GSSwapLittleI32ToHost(uint32_t in) __attribute__((unused));
static inline uint64_t
GSSwapLittleI64ToHost(uint64_t in) __attribute__((unused));
static inline gsu128
GSSwapLittleI128ToHost(gsu128 in) __attribute__((unused));
static inline uint16_t
GSSwapHostI16ToLittle(uint16_t in) __attribute__((unused));
static inline uint32_t
GSSwapHostI32ToLittle(uint32_t in) __attribute__((unused));
static inline uint64_t
GSSwapHostI64ToLittle(uint64_t in) __attribute__((unused));
static inline gsu128
GSSwapHostI128ToLittle(gsu128 in) __attribute__((unused));
# 110 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h"
static inline uint16_t
GSSwapI16(uint16_t in)
{
union swap {
uint16_t num;
uint8_t byt[2];
} dst;
union swap *src = (union swap*)&in;
dst.byt[0] = src->byt[1];
dst.byt[1] = src->byt[0];
return dst.num;
}
static inline uint32_t
GSSwapI32(uint32_t in)
{
union swap {
uint32_t num;
uint8_t byt[4];
} dst;
union swap *src = (union swap*)&in;
dst.byt[0] = src->byt[3];
dst.byt[1] = src->byt[2];
dst.byt[2] = src->byt[1];
dst.byt[3] = src->byt[0];
return dst.num;
}
static inline uint64_t
GSSwapI64(uint64_t in)
{
union swap {
uint64_t num;
uint8_t byt[8];
} dst;
union swap *src = (union swap*)&in;
dst.byt[0] = src->byt[7];
dst.byt[1] = src->byt[6];
dst.byt[2] = src->byt[5];
dst.byt[3] = src->byt[4];
dst.byt[4] = src->byt[3];
dst.byt[5] = src->byt[2];
dst.byt[6] = src->byt[1];
dst.byt[7] = src->byt[0];
return dst.num;
}
static inline gsu128
GSSwapI128(gsu128 in)
{
union swap {
gsu128 num;
uint8_t byt[16];
} dst;
union swap *src = (union swap*)&in;
dst.byt[0] = src->byt[15];
dst.byt[1] = src->byt[14];
dst.byt[2] = src->byt[13];
dst.byt[3] = src->byt[12];
dst.byt[4] = src->byt[11];
dst.byt[5] = src->byt[10];
dst.byt[6] = src->byt[9];
dst.byt[7] = src->byt[8];
dst.byt[8] = src->byt[7];
dst.byt[9] = src->byt[6];
dst.byt[10] = src->byt[5];
dst.byt[11] = src->byt[4];
dst.byt[12] = src->byt[3];
dst.byt[13] = src->byt[2];
dst.byt[14] = src->byt[1];
dst.byt[15] = src->byt[0];
return dst.num;
}
static inline NSSwappedDouble
NSConvertHostDoubleToSwapped(double num) __attribute__((unused));
static inline NSSwappedFloat
NSConvertHostFloatToSwapped(float num) __attribute__((unused));
static inline double
NSConvertSwappedDoubleToHost(NSSwappedDouble num) __attribute__((unused));
static inline float
NSConvertSwappedFloatToHost(NSSwappedFloat num) __attribute__((unused));
static inline unsigned int
NSSwapInt(unsigned int in) __attribute__((unused));
static inline unsigned long long
NSSwapLongLong(unsigned long long in) __attribute__((unused));
static inline unsigned long
NSSwapLong(unsigned long in) __attribute__((unused));
static inline unsigned short
NSSwapShort(unsigned short in) __attribute__((unused));
static inline NSSwappedDouble
NSSwapDouble(NSSwappedDouble num) __attribute__((unused));
static inline NSSwappedFloat
NSSwapFloat(NSSwappedFloat num) __attribute__((unused));
static inline NSByteOrder
NSHostByteOrder(void) __attribute__((unused));
static inline double
NSSwapBigDoubleToHost(NSSwappedDouble num) __attribute__((unused));
static inline float
NSSwapBigFloatToHost(NSSwappedFloat num) __attribute__((unused));
static inline unsigned int
NSSwapBigIntToHost(unsigned int num) __attribute__((unused));
static inline unsigned long long
NSSwapBigLongLongToHost(unsigned long long num) __attribute__((unused));
static inline unsigned long
NSSwapBigLongToHost(unsigned long num) __attribute__((unused));
static inline unsigned short
NSSwapBigShortToHost(unsigned short num) __attribute__((unused));
static inline NSSwappedDouble
NSSwapHostDoubleToBig(double num) __attribute__((unused));
static inline NSSwappedFloat
NSSwapHostFloatToBig(float num) __attribute__((unused));
static inline unsigned int
NSSwapHostIntToBig(unsigned int num) __attribute__((unused));
static inline unsigned long long
NSSwapHostLongLongToBig(unsigned long long num) __attribute__((unused));
static inline unsigned long
NSSwapHostLongToBig(unsigned long num) __attribute__((unused));
static inline unsigned short
NSSwapHostShortToBig(unsigned short num) __attribute__((unused));
static inline double
NSSwapLittleDoubleToHost(NSSwappedDouble num) __attribute__((unused));
static inline float
NSSwapLittleFloatToHost(NSSwappedFloat num) __attribute__((unused));
static inline unsigned int
NSSwapLittleIntToHost(unsigned int num) __attribute__((unused));
static inline unsigned long long
NSSwapLittleLongLongToHost(unsigned long long num) __attribute__((unused));
static inline unsigned long
NSSwapLittleLongToHost(unsigned long num) __attribute__((unused));
static inline unsigned short
NSSwapLittleShortToHost(unsigned short num) __attribute__((unused));
static inline NSSwappedDouble
NSSwapHostDoubleToLittle(double num) __attribute__((unused));
static inline NSSwappedFloat
NSSwapHostFloatToLittle(float num) __attribute__((unused));
static inline unsigned int
NSSwapHostIntToLittle(unsigned int num) __attribute__((unused));
static inline unsigned long long
NSSwapHostLongLongToLittle(unsigned long long num) __attribute__((unused));
static inline unsigned long
NSSwapHostLongToLittle(unsigned long num) __attribute__((unused));
static inline unsigned short
NSSwapHostShortToLittle(unsigned short num) __attribute__((unused));
static inline NSSwappedDouble
NSConvertHostDoubleToSwapped(double num)
{
union dconv {
double number;
NSSwappedDouble sd;
};
return ((union dconv *)&num)->sd;
}
static inline NSSwappedFloat
NSConvertHostFloatToSwapped(float num)
{
union fconv {
float number;
NSSwappedFloat sf;
};
return ((union fconv *)&num)->sf;
}
static inline double
NSConvertSwappedDoubleToHost(NSSwappedDouble num)
{
union dconv {
double number;
NSSwappedDouble sd;
};
return ((union dconv *)&num)->number;
}
static inline float
NSConvertSwappedFloatToHost(NSSwappedFloat num)
{
union fconv {
float number;
NSSwappedFloat sf;
};
return ((union fconv *)&num)->number;
}
static inline unsigned int
NSSwapInt(unsigned int in)
{
return GSSwapI32(in);
# 329 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h"
}
static inline unsigned long long
NSSwapLongLong(unsigned long long in)
{
return GSSwapI64(in);
}
static inline unsigned long
NSSwapLong(unsigned long in)
{
return GSSwapI64(in);
}
static inline unsigned short
NSSwapShort(unsigned short in)
{
return GSSwapI16(in);
# 383 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h"
}
static inline NSSwappedDouble
NSSwapDouble(NSSwappedDouble num)
{
return GSSwapI64(num);
}
static inline NSSwappedFloat
NSSwapFloat(NSSwappedFloat num)
{
return GSSwapI32(num);
}
# 648 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h"
static inline NSByteOrder
NSHostByteOrder(void)
{
return NS_LittleEndian;
}
static inline uint16_t
GSSwapBigI16ToHost(uint16_t in)
{
return GSSwapI16(in);
}
static inline uint32_t
GSSwapBigI32ToHost(uint32_t in)
{
return GSSwapI32(in);
}
static inline uint64_t
GSSwapBigI64ToHost(uint64_t in)
{
return GSSwapI64(in);
}
static inline gsu128
GSSwapBigI128ToHost(gsu128 in)
{
return GSSwapI128(in);
}
static inline double
NSSwapBigDoubleToHost(NSSwappedDouble num)
{
return NSConvertSwappedDoubleToHost(NSSwapDouble(num));
}
static inline float
NSSwapBigFloatToHost(NSSwappedFloat num)
{
return NSConvertSwappedFloatToHost(NSSwapFloat(num));
}
static inline unsigned int
NSSwapBigIntToHost(unsigned int num)
{
return NSSwapInt(num);
}
static inline unsigned long long
NSSwapBigLongLongToHost(unsigned long long num)
{
return NSSwapLongLong(num);
}
static inline unsigned long
NSSwapBigLongToHost(unsigned long num)
{
return NSSwapLong(num);
}
static inline unsigned short
NSSwapBigShortToHost(unsigned short num)
{
return NSSwapShort(num);
}
static inline uint16_t
GSSwapHostI16ToBig(uint16_t in)
{
return GSSwapI16(in);
}
static inline uint32_t
GSSwapHostI32ToBig(uint32_t in)
{
return GSSwapI32(in);
}
static inline uint64_t
GSSwapHostI64ToBig(uint64_t in)
{
return GSSwapI64(in);
}
static inline gsu128
GSSwapHostI128ToBig(gsu128 in)
{
return GSSwapI128(in);
}
static inline NSSwappedDouble
NSSwapHostDoubleToBig(double num)
{
return NSSwapDouble(NSConvertHostDoubleToSwapped(num));
}
static inline NSSwappedFloat
NSSwapHostFloatToBig(float num)
{
return NSSwapFloat(NSConvertHostFloatToSwapped(num));
}
static inline unsigned int
NSSwapHostIntToBig(unsigned int num)
{
return NSSwapInt(num);
}
static inline unsigned long long
NSSwapHostLongLongToBig(unsigned long long num)
{
return NSSwapLongLong(num);
}
static inline unsigned long
NSSwapHostLongToBig(unsigned long num)
{
return NSSwapLong(num);
}
static inline unsigned short
NSSwapHostShortToBig(unsigned short num)
{
return NSSwapShort(num);
}
static inline uint16_t
GSSwapLittleI16ToHost(uint16_t in)
{
return in;
}
static inline uint32_t
GSSwapLittleI32ToHost(uint32_t in)
{
return in;
}
static inline uint64_t
GSSwapLittleI64ToHost(uint64_t in)
{
return in;
}
static inline gsu128
GSSwapLittleI128ToHost(gsu128 in)
{
return in;
}
static inline double
NSSwapLittleDoubleToHost(NSSwappedDouble num)
{
return NSConvertSwappedDoubleToHost(num);
}
static inline float
NSSwapLittleFloatToHost(NSSwappedFloat num)
{
return NSConvertSwappedFloatToHost(num);
}
static inline unsigned int
NSSwapLittleIntToHost(unsigned int num)
{
return num;
}
static inline unsigned long long
NSSwapLittleLongLongToHost(unsigned long long num)
{
return num;
}
static inline unsigned long
NSSwapLittleLongToHost(unsigned long num)
{
return num;
}
static inline unsigned short
NSSwapLittleShortToHost(unsigned short num)
{
return num;
}
static inline uint16_t
GSSwapHostI16ToLittle(uint16_t in)
{
return in;
}
static inline uint32_t
GSSwapHostI32ToLittle(uint32_t in)
{
return in;
}
static inline uint64_t
GSSwapHostI64ToLittle(uint64_t in)
{
return in;
}
static inline gsu128
GSSwapHostI128ToLittle(gsu128 in)
{
return in;
}
static inline NSSwappedDouble
NSSwapHostDoubleToLittle(double num)
{
return NSConvertHostDoubleToSwapped(num);
}
static inline NSSwappedFloat
NSSwapHostFloatToLittle(float num)
{
return NSConvertHostFloatToSwapped(num);
}
static inline unsigned int
NSSwapHostIntToLittle(unsigned int num)
{
return num;
}
static inline unsigned long long
NSSwapHostLongLongToLittle(unsigned long long num)
{
return num;
}
static inline unsigned long
NSSwapHostLongToLittle(unsigned long num)
{
return num;
}
static inline unsigned short
NSSwapHostShortToLittle(unsigned short num)
{
return num;
}
# 52 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSCache.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSCache.h"
@class NSString;
@class NSMapTable;
@class NSRecursiveLock;
@class NSMutableArray<ElementT>;
@interface NSCache<KeyT, ValT> : NSObject
{
# 77 "/usr/GNUstep/System/Library/Headers/Foundation/NSCache.h"
}
- (NSUInteger) countLimit;
- (NSUInteger) totalCostLimit;
- (id) delegate;
- (BOOL) evictsObjectsWithDiscardedContent;
- (NSString*) name;
- (ValT) objectForKey:
(KeyT)key;
- (void) removeAllObjects;
- (void) removeObjectForKey: (KeyT)key;
- (void) setCountLimit: (NSUInteger)lim;
- (void) setDelegate: (id)del;
- (void) setEvictsObjectsWithDiscardedContent: (BOOL)b;
- (void) setName: (NSString*)cacheName;
- (void) setObject: (ValT)obj
forKey: (KeyT)key
cost: (NSUInteger)num;
- (void) setObject: (ValT)obj
forKey: (KeyT)key;
- (void) setTotalCostLimit: (NSUInteger)lim;
@end
@protocol NSCacheDelegate
- (void) cache: (NSCache*)cache willEvictObject: (id)obj;
@end
# 53 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendar.h" 1
# 35 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendar.h"
@class NSDate;
@class NSCalendar;
@class NSLocale;
@class NSString;
@class NSTimeZone;
extern NSString *const NSCalendarIdentifierGregorian;
extern NSString *const NSCalendarIdentifierBuddhist;
extern NSString *const NSCalendarIdentifierChinese;
extern NSString *const NSCalendarIdentifierCoptic;
extern NSString *const NSCalendarIdentifierEthiopicAmeteMihret;
extern NSString *const NSCalendarIdentifierEthiopicAmeteAlem;
extern NSString *const NSCalendarIdentifierHebrew;
extern NSString *const NSCalendarIdentifierISO8601;
extern NSString *const NSCalendarIdentifierIndian;
extern NSString *const NSCalendarIdentifierIslamic;
extern NSString *const NSCalendarIdentifierIslamicCivil;
extern NSString *const NSCalendarIdentifierJapanese;
extern NSString *const NSCalendarIdentifierPersian;
extern NSString *const NSCalendarIdentifierRepublicOfChina;
extern NSString *const NSCalendarIdentifierIslamicTabular;
extern NSString *const NSCalendarIdentifierIslamicUmmAlQura;
typedef NSUInteger NSCalendarOptions;
enum
{
NSCalendarWrapComponents = (1UL << 0),
NSCalendarMatchStrictly = (1ULL << 1),
NSCalendarSearchBackwards = (1ULL << 2),
NSCalendarMatchPreviousTimePreservingSmallerUnits = (1ULL << 8),
NSCalendarMatchNextTimePreservingSmallerUnits = (1ULL << 9),
NSCalendarMatchNextTime = (1ULL << 10),
NSCalendarMatchFirst = (1ULL << 12),
NSCalendarMatchLast = (1ULL << 13)
};
typedef NSUInteger NSCalendarUnit;
enum
{
NSEraCalendarUnit = (1UL << 1),
NSYearCalendarUnit = (1UL << 2),
NSMonthCalendarUnit = (1UL << 3),
NSDayCalendarUnit = (1UL << 4),
NSHourCalendarUnit = (1UL << 5),
NSMinuteCalendarUnit = (1UL << 6),
NSSecondCalendarUnit = (1UL << 7),
NSWeekCalendarUnit = (1UL << 8),
NSWeekdayCalendarUnit = (1UL << 9),
NSWeekdayOrdinalCalendarUnit = (1UL << 10),
NSQuarterCalendarUnit = (1UL << 11),
NSWeekOfMonthCalendarUnit = (1UL << 12),
NSWeekOfYearCalendarUnit = (1UL << 13),
NSYearForWeekOfYearCalendarUnit = (1UL << 14),
};
enum
{
NSCalendarUnitEra = (1UL << 1),
NSCalendarUnitYear = (1UL << 2),
NSCalendarUnitMonth = (1UL << 3),
NSCalendarUnitDay = (1UL << 4),
NSCalendarUnitHour = (1UL << 5),
NSCalendarUnitMinute = (1UL << 6),
NSCalendarUnitSecond = (1UL << 7),
NSCalendarUnitWeekday = (1UL << 9),
NSCalendarUnitWeekdayOrdinal = (1UL << 10),
NSCalendarUnitQuarter = (1UL << 11),
NSCalendarUnitWeekOfMonth = (1UL << 12),
NSCalendarUnitWeekOfYear = (1UL << 13),
NSCalendarUnitYearForWeekOfYear = (1UL << 14),
NSCalendarUnitNanosecond = (1 << 15),
NSCalendarUnitCalendar = (1 << 20),
NSCalendarUnitTimeZone = (1 << 21)
};
enum
{
NSWrapCalendarComponents = (1UL << 0)
};
enum
{
NSDateComponentUndefined = (9223372036854775807L),
NSUndefinedDateComponent = NSDateComponentUndefined
};
@interface NSDateComponents : NSObject <NSCopying>
{
@private
void *_NSDateComponentsInternal;
void *_dummy1;
void *_dummy2;
void *_dummy3;
void *_dummy4;
void *_dummy5;
void *_dummy6;
void *_dummy7;
void *_dummy8;
void *_dummy9;
void *_dummy10;
void *_dummy11;
void *_dummy12;
}
- (NSInteger) day;
- (NSInteger) era;
- (NSInteger) hour;
- (NSInteger) minute;
- (NSInteger) month;
- (NSInteger) second;
- (NSInteger) week;
- (NSInteger) weekday;
- (NSInteger) weekdayOrdinal;
- (NSInteger) year;
- (void) setDay: (NSInteger) v;
- (void) setEra: (NSInteger) v;
- (void) setHour: (NSInteger) v;
- (void) setMinute: (NSInteger) v;
- (void) setMonth: (NSInteger) v;
- (void) setSecond: (NSInteger) v;
- (void) setWeek: (NSInteger) v;
- (void) setWeekday: (NSInteger) v;
- (void) setWeekdayOrdinal: (NSInteger) v;
- (void) setYear: (NSInteger) v;
- (NSInteger) quarter;
- (void) setQuarter: (NSInteger) v;
- (NSCalendar *) calendar;
- (NSTimeZone *) timeZone;
- (void) setCalendar: (NSCalendar *) cal;
- (void) setTimeZone: (NSTimeZone *) tz;
# 215 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendar.h"
- (NSDate *) date;
- (NSInteger) weekOfMonth;
- (NSInteger) weekOfYear;
- (NSInteger) yearForWeekOfYear;
- (NSInteger) nanosecond;
- (void) setWeekOfMonth: (NSInteger) v;
- (void) setWeekOfYear: (NSInteger) v;
- (void) setYearForWeekOfYear: (NSInteger) v;
- (void) setNanosecond: (NSInteger) v;
- (BOOL) leapMonth;
- (void) setLeapMonth: (BOOL) v;
- (BOOL) isValidDate;
- (BOOL) isValidDateInCalendar: (NSCalendar *) calendar;
- (NSInteger) valueForComponent: (NSCalendarUnit) unit;
- (void) setValue: (NSInteger) value
forComponent: (NSCalendarUnit) unit;
@end
@interface NSCalendar : NSObject <NSCoding, NSCopying>
{
@private
void *_NSCalendarInternal;
void *_dummy1;
void *_dummy2;
void *_dummy3;
}
+ (id) currentCalendar;
+ (id) calendarWithIdentifier: (NSString *) string;
- (id) initWithCalendarIdentifier: (NSString *) string;
- (NSString *) calendarIdentifier;
- (NSDateComponents *) components: (NSUInteger) unitFlags
fromDate: (NSDate *) date;
# 314 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendar.h"
- (NSDateComponents *) components: (NSUInteger) unitFlags
fromDate: (NSDate *) startingDate
toDate: (NSDate *) resultDate
options: (NSUInteger) opts;
- (NSDate *) dateByAddingComponents: (NSDateComponents *) comps
toDate: (NSDate *) date
options: (NSUInteger) opts;
- (NSDate *) dateFromComponents: (NSDateComponents *) comps;
- (NSLocale *) locale;
- (void)setLocale: (NSLocale *) locale;
- (NSUInteger) firstWeekday;
- (void) setFirstWeekday: (NSUInteger) weekday;
- (NSUInteger) minimumDaysInFirstWeek;
- (void) setMinimumDaysInFirstWeek: (NSUInteger) mdw;
- (NSTimeZone *) timeZone;
- (void) setTimeZone: (NSTimeZone *) tz;
- (NSRange) maximumRangeOfUnit: (NSCalendarUnit) unit;
- (NSRange) minimumRangeofUnit: (NSCalendarUnit) unit;
- (NSUInteger) ordinalityOfUnit: (NSCalendarUnit) smaller
inUnit: (NSCalendarUnit) larger
forDate: (NSDate *) date;
- (NSRange) rangeOfUnit: (NSCalendarUnit) smaller
inUnit: (NSCalendarUnit) larger
forDate: (NSDate *) date;
+ (id) autoupdatingCurrentCalendar;
- (BOOL) rangeOfUnit: (NSCalendarUnit) unit
startDate: (NSDate **) datep
interval: (NSTimeInterval *)tip
forDate: (NSDate *)date;
- (void) getEra: (NSInteger *)eraValuePointer
year: (NSInteger *)yearValuePointer
month: (NSInteger *)monthValuePointer
day: (NSInteger *)dayValuePointer
fromDate: (NSDate *)date;
- (void) getHour: (NSInteger *)hourValuePointer
minute: (NSInteger *)minuteValuePointer
second: (NSInteger *)secondValuePointer
nanosecond: (NSInteger *)nanosecondValuePointer
fromDate: (NSDate *)date;
- (void) getEra: (NSInteger *)eraValuePointer
yearForWeekOfYear: (NSInteger *)yearValuePointer
weekOfYear: (NSInteger *)weekValuePointer
weekday: (NSInteger *)weekdayValuePointer
fromDate: (NSDate *)date;
- (NSInteger) component: (NSCalendarUnit)unit
fromDate: (NSDate *)date;
@end
# 54 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendarDate.h" 1
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendarDate.h"
@class NSTimeZone;
@class NSTimeZoneDetail;
@interface NSCalendarDate : NSDate
{
}
+ (id) calendarDate;
+ (id) dateWithString: (NSString*)description
calendarFormat: (NSString*)format;
+ (id) dateWithString: (NSString*)description
calendarFormat: (NSString*)format
locale: (NSDictionary*)dictionary;
+ (id) dateWithYear: (NSInteger)year
month: (NSUInteger)month
day: (NSUInteger)day
hour: (NSUInteger)hour
minute: (NSUInteger)minute
second: (NSUInteger)second
timeZone: (NSTimeZone*)aTimeZone;
- (id) initWithString: (NSString*)description;
- (id) initWithString: (NSString*)description
calendarFormat: (NSString*)format;
- (id) initWithString: (NSString*)description
calendarFormat: (NSString*)fmt
locale: (NSDictionary*)locale;
- (id) initWithYear: (NSInteger)year
month: (NSUInteger)month
day: (NSUInteger)day
hour: (NSUInteger)hour
minute: (NSUInteger)minute
second: (NSUInteger)second
timeZone: (NSTimeZone*)aTimeZone;
- (NSInteger) dayOfCommonEra;
- (NSInteger) dayOfMonth;
- (NSInteger) dayOfWeek;
- (NSInteger) dayOfYear;
- (NSInteger) hourOfDay;
- (NSInteger) minuteOfHour;
- (NSInteger) monthOfYear;
- (NSInteger) secondOfMinute;
- (NSInteger) yearOfCommonEra;
# 98 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendarDate.h"
- (NSCalendarDate*) addYear: (NSInteger)year
month: (NSInteger)month
day: (NSInteger)day
hour: (NSInteger)hour
minute: (NSInteger)minute
second: (NSInteger)second;
- (NSString*) description;
- (NSString*) descriptionWithCalendarFormat: (NSString*)format;
- (NSString*) descriptionWithCalendarFormat: (NSString*)format
locale: (NSDictionary*)locale;
- (NSString*) descriptionWithLocale: (id)locale;
- (NSString*) calendarFormat;
- (void) setCalendarFormat: (NSString*)format;
- (void) setTimeZone: (NSTimeZone*)aTimeZone;
- (NSTimeZone*) timeZone;
- (NSTimeZoneDetail*) timeZoneDetail;
@end
@interface NSCalendarDate (GregorianDate)
- (NSInteger) lastDayOfGregorianMonth: (NSInteger)month year: (NSInteger)year;
- (NSInteger) absoluteGregorianDay: (NSInteger)day
month: (NSInteger)month
year: (NSInteger)year;
- (void) gregorianDateFromAbsolute: (NSInteger)d
day: (NSInteger*)day
month: (NSInteger*)month
year: (NSInteger*)year;
@end
@interface NSCalendarDate (OPENSTEP)
- (NSCalendarDate*) dateByAddingYears: (NSInteger)years
months: (NSInteger)months
days: (NSInteger)days
hours: (NSInteger)hours
minutes: (NSInteger)minutes
seconds: (NSInteger)seconds;
- (void) years: (NSInteger*)years
months: (NSInteger*)months
days: (NSInteger*)days
hours: (NSInteger*)hours
minutes: (NSInteger*)minutes
seconds: (NSInteger*)seconds
sinceDate: (NSDate*)date;
@end
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSCalendarDate+GNUstepBase.h" 1
# 40 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSCalendarDate+GNUstepBase.h"
@interface NSCalendarDate (GNUstepBase)
# 49 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSCalendarDate+GNUstepBase.h"
- (NSUInteger) isoYear;
# 61 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSCalendarDate+GNUstepBase.h"
- (NSInteger) weekOfYear;
@end
# 166 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendarDate.h" 2
# 55 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSCharacterSet.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSCharacterSet.h"
@class NSData;
@interface NSCharacterSet : NSObject <NSCoding, NSCopying, NSMutableCopying>
+ (id) alphanumericCharacterSet;
+ (id) capitalizedLetterCharacterSet;
+ (id) controlCharacterSet;
+ (id) decimalDigitCharacterSet;
+ (id) decomposableCharacterSet;
+ (id) illegalCharacterSet;
+ (id) letterCharacterSet;
+ (id) lowercaseLetterCharacterSet;
+ (id) newlineCharacterSet;
+ (id) URLFragmentAllowedCharacterSet;
+ (id) URLHostAllowedCharacterSet;
+ (id) URLPasswordAllowedCharacterSet;
+ (id) URLPathAllowedCharacterSet;
+ (id) URLQueryAllowedCharacterSet;
+ (id) URLUserAllowedCharacterSet;
+ (id) nonBaseCharacterSet;
+ (id) punctuationCharacterSet;
+ (id) symbolCharacterSet;
+ (id) uppercaseLetterCharacterSet;
+ (id) whitespaceAndNewlineCharacterSet;
+ (id) whitespaceCharacterSet;
+ (id) characterSetWithBitmapRepresentation: (NSData*)data;
+ (id) characterSetWithCharactersInString: (NSString*)aString;
+ (id) characterSetWithRange: (NSRange)aRange;
# 197 "/usr/GNUstep/System/Library/Headers/Foundation/NSCharacterSet.h"
+ (id) characterSetWithContentsOfFile: (NSString*)aFile;
- (NSData*) bitmapRepresentation;
- (BOOL) characterIsMember: (unichar)aCharacter;
- (BOOL) hasMemberInPlane: (uint8_t)aPlane;
- (NSCharacterSet*) invertedSet;
- (BOOL) isSupersetOfSet: (NSCharacterSet*)aSet;
- (BOOL) longCharacterIsMember: (uint32_t)aCharacter;
@end
@interface NSMutableCharacterSet : NSCharacterSet
- (void) addCharactersInRange: (NSRange)aRange;
- (void) addCharactersInString: (NSString*)aString;
- (void) formIntersectionWithCharacterSet: (NSCharacterSet*)otherSet;
- (void) formUnionWithCharacterSet: (NSCharacterSet*)otherSet;
- (void) removeCharactersInRange: (NSRange)aRange;
- (void) removeCharactersInString: (NSString*)aString;
- (void) invert;
@end
# 56 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSClassDescription.h" 1
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSClassDescription.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h" 1
# 55 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h"
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 1 3
# 56 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h" 2
@class NSDictionary;
# 103 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h"
@interface NSException : NSObject <NSCoding, NSCopying>
{
}
+ (NSException*) exceptionWithName: (NSString*)name
reason: (NSString*)reason
userInfo: (NSDictionary*)userInfo;
+ (void) raise: (NSString*)name
format: (NSString*)format,...
__attribute__((format(__NSString__, 2, 3))) __attribute__((__noreturn__));
+ (void) raise: (NSString*)name
format: (NSString*)format
arguments: (va_list)argList
__attribute__((format(__NSString__, 2, 0))) __attribute__((__noreturn__));
- (NSArray*) callStackReturnAddresses;
# 158 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h"
- (NSArray*) callStackSymbols;
- (id) initWithName: (NSString*)name
reason: (NSString*)reason
userInfo: (NSDictionary*)userInfo;
- (NSString*) name;
# 186 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h"
- (void) raise __attribute__((__noreturn__));
- (NSString*) reason;
- (NSDictionary*) userInfo;
@end
extern NSString* const NSCharacterConversionException;
extern NSString* const NSDestinationInvalidException;
extern NSString* const NSGenericException;
extern NSString* const NSInternalInconsistencyException;
extern NSString* const NSInvalidArgumentException;
extern NSString * const NSInvalidReceivePortException;
extern NSString * const NSInvalidSendPortException;
extern NSString* const NSMallocException;
extern NSString* const NSObjectInaccessibleException;
extern NSString* const NSObjectNotAvailableException;
extern NSString* const NSOldStyleException;
extern NSString* const NSParseErrorException;
extern NSString * const NSPortReceiveException;
extern NSString * const NSPortSendException;
extern NSString * const NSPortTimeoutException;
extern NSString* const NSRangeException;
typedef struct _NSHandler
{
jmp_buf jumpState;
struct _NSHandler *next;
__attribute__((objc_ownership(none))) NSException *exception;
} NSHandler;
typedef void NSUncaughtExceptionHandler(NSException *exception);
# 294 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h"
extern NSUncaughtExceptionHandler *
NSGetUncaughtExceptionHandler();
# 321 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h"
extern void
NSSetUncaughtExceptionHandler(NSUncaughtExceptionHandler *handler);
# 414 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h"
@interface NSAssertionHandler : NSObject
+ (NSAssertionHandler*) currentHandler;
- (void) handleFailureInFunction: (NSString*)functionName
file: (NSString*)fileName
lineNumber: (NSInteger)line
description: (NSString*)format,... __attribute__((__noreturn__));
- (void) handleFailureInMethod: (SEL)aSelector
object: object
file: (NSString*)fileName
lineNumber: (NSInteger)line
description: (NSString*)format,... __attribute__((__noreturn__));
@end
extern NSString *const NSAssertionHandlerKey;
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSClassDescription.h" 2
@class NSArray;
@class NSDictionary;
@class NSString;
extern NSString* const NSClassDescriptionNeededForClassNotification;
@interface NSClassDescription : NSObject
+ (NSClassDescription*) classDescriptionForClass: (Class)aClass;
+ (void) invalidateClassDescriptionCache;
+ (void) registerClassDescription: (NSClassDescription*)aDescription
forClass: (Class)aClass;
- (NSArray*) attributeKeys;
- (NSString*) inverseForRelationshipKey: (NSString*)aKey;
- (NSArray*) toManyRelationshipKeys;
- (NSArray*) toOneRelationshipKeys;
@end
@interface NSObject (NSClassDescriptionPrimitives)
- (NSArray*) attributeKeys;
- (NSClassDescription*) classDescription;
- (NSString*) inverseForRelationshipKey: (NSString*)aKey;
- (NSArray*) toManyRelationshipKeys;
- (NSArray*) toOneRelationshipKeys;
@end
# 57 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSComparisonPredicate.h" 1
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSComparisonPredicate.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSExpression.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSExpression.h"
@class NSArray;
@class NSMutableDictionary;
@class NSString;
enum
{
NSConstantValueExpressionType=0,
NSEvaluatedObjectExpressionType,
NSVariableExpressionType,
NSKeyPathExpressionType,
NSFunctionExpressionType,
NSKeyPathCompositionExpressionType
};
typedef NSUInteger NSExpressionType;
@interface NSExpression : NSObject <NSCoding, NSCopying>
{
}
+ (NSExpression *) expressionForConstantValue: (id)obj;
+ (NSExpression *) expressionForEvaluatedObject;
+ (NSExpression *) expressionForFunction: (NSString *)name
arguments: (NSArray *)args;
+ (NSExpression *) expressionForKeyPath: (NSString *)path;
+ (NSExpression *) expressionForVariable: (NSString *)string;
- (NSArray *) arguments;
- (id) constantValue;
- (NSExpressionType) expressionType;
- (id) expressionValueWithObject: (id)object
context: (NSMutableDictionary *)context;
- (NSString *) function;
- (id) initWithExpressionType: (NSExpressionType) type;
- (NSString *) keyPath;
- (NSExpression *) operand;
- (NSString *) variable;
@end
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSComparisonPredicate.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPredicate.h" 1
# 42 "/usr/GNUstep/System/Library/Headers/Foundation/NSPredicate.h"
typedef BOOL(^GSBlockPredicateBlock)(id, NSDictionary<NSString*,id>*);
@interface NSPredicate : NSObject <NSCoding, NSCopying>
+ (NSPredicate *) predicateWithFormat: (NSString *)format, ...;
+ (NSPredicate *) predicateWithFormat: (NSString *)format
argumentArray: (NSArray *)args;
+ (NSPredicate *) predicateWithFormat: (NSString *)format
arguments: (va_list)args;
+ (NSPredicate *) predicateWithValue: (BOOL)value;
+ (NSPredicate *) predicateWithBlock: (GSBlockPredicateBlock)block;
- (BOOL) evaluateWithObject: (id)object;
- (NSString *) predicateFormat;
- (NSPredicate *) predicateWithSubstitutionVariables:
(NSDictionary<NSString*,id>*)variables;
- (BOOL) evaluateWithObject: (id)object
substitutionVariables:
(NSDictionary<NSString*,id>*)variables;
@end
@interface NSArray<ElementT> (NSPredicate)
- (NSArray<ElementT> *) filteredArrayUsingPredicate: (NSPredicate *)predicate;
@end
@interface NSMutableArray (NSPredicate)
- (void) filterUsingPredicate: (NSPredicate *)predicate;
@end
@interface NSSet<ElementT> (NSPredicate)
- (NSSet<ElementT> *) filteredSetUsingPredicate: (NSPredicate *)predicate;
@end
@interface NSMutableSet (NSPredicate)
- (void) filterUsingPredicate: (NSPredicate *)predicate;
@end
# 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSComparisonPredicate.h" 2
typedef enum _NSComparisonPredicateModifier
{
NSDirectPredicateModifier=0,
NSAllPredicateModifier,
NSAnyPredicateModifier
} NSComparisonPredicateModifier;
typedef enum _NSComparisonPredicateOptions
{
NSCaseInsensitivePredicateOption=0x01,
NSDiacriticInsensitivePredicateOption=0x02
} NSComparisonPredicateOptions;
typedef enum _NSPredicateOperatorType
{
NSLessThanPredicateOperatorType = 0,
NSLessThanOrEqualToPredicateOperatorType,
NSGreaterThanPredicateOperatorType,
NSGreaterThanOrEqualToPredicateOperatorType,
NSEqualToPredicateOperatorType,
NSNotEqualToPredicateOperatorType,
NSMatchesPredicateOperatorType,
NSLikePredicateOperatorType,
NSBeginsWithPredicateOperatorType,
NSEndsWithPredicateOperatorType,
NSInPredicateOperatorType,
NSCustomSelectorPredicateOperatorType
,
NSContainsPredicateOperatorType = 99,
NSBetweenPredicateOperatorType
} NSPredicateOperatorType;
@interface NSComparisonPredicate : NSPredicate
{
# 90 "/usr/GNUstep/System/Library/Headers/Foundation/NSComparisonPredicate.h"
@public
NSExpression *_left;
NSExpression *_right;
}
+ (NSPredicate *) predicateWithLeftExpression: (NSExpression *)left
rightExpression: (NSExpression *)right
customSelector: (SEL)sel;
+ (NSPredicate *) predicateWithLeftExpression: (NSExpression *)left
rightExpression: (NSExpression *)right
modifier: (NSComparisonPredicateModifier)modifier
type: (NSPredicateOperatorType)type
options: (NSUInteger) opts;
- (NSComparisonPredicateModifier) comparisonPredicateModifier;
- (SEL) customSelector;
- (NSPredicate *) initWithLeftExpression: (NSExpression *)left
rightExpression: (NSExpression *)right
customSelector: (SEL)sel;
- (id) initWithLeftExpression: (NSExpression *)left
rightExpression: (NSExpression *)right
modifier: (NSComparisonPredicateModifier)modifier
type: (NSPredicateOperatorType)type
options: (NSUInteger) opts;
- (NSExpression *) leftExpression;
- (NSUInteger) options;
- (NSPredicateOperatorType) predicateOperatorType;
- (NSExpression *) rightExpression;
@end
# 59 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSCompoundPredicate.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSCompoundPredicate.h"
enum
{
NSNotPredicateType = 0,
NSAndPredicateType,
NSOrPredicateType
};
typedef NSUInteger NSCompoundPredicateType;
@interface NSCompoundPredicate : NSPredicate
{
}
+ (NSPredicate *) andPredicateWithSubpredicates: (NSArray *)list;
+ (NSPredicate *) notPredicateWithSubpredicate: (NSPredicate *)predicate;
+ (NSPredicate *) orPredicateWithSubpredicates: (NSArray *)list;
- (NSCompoundPredicateType) compoundPredicateType;
- (id) initWithType: (NSCompoundPredicateType)type
subpredicates: (NSArray *)list;
- (NSArray *) subpredicates;
@end
# 60 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" 1
# 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSTimer.h" 1
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSTimer.h"
@class NSTimer;
typedef void(^GSTimerBlock)(NSTimer*);
# 46 "/usr/GNUstep/System/Library/Headers/Foundation/NSTimer.h"
@interface NSTimer : NSObject
{
# 68 "/usr/GNUstep/System/Library/Headers/Foundation/NSTimer.h"
}
+ (NSTimer*) scheduledTimerWithTimeInterval: (NSTimeInterval)ti
invocation: (NSInvocation*)invocation
repeats: (BOOL)f;
+ (NSTimer*) scheduledTimerWithTimeInterval: (NSTimeInterval)ti
target: (id)object
selector: (SEL)selector
userInfo: (id)info
repeats: (BOOL)f;
+ (NSTimer *) scheduledTimerWithTimeInterval: (NSTimeInterval)ti
repeats: (BOOL)f
block: (GSTimerBlock)block;
+ (NSTimer*) timerWithTimeInterval: (NSTimeInterval)ti
invocation: (NSInvocation*)invocation
repeats: (BOOL)f;
+ (NSTimer*) timerWithTimeInterval: (NSTimeInterval)ti
target: (id)object
selector: (SEL)selector
userInfo: (id)info
repeats: (BOOL)f;
+ (NSTimer*) timerWithTimeInterval: (NSTimeInterval)ti
repeats: (BOOL)f
block: (GSTimerBlock)block;
- (void) fire;
- (NSDate*) fireDate;
- (void) invalidate;
- (id) userInfo;
- (BOOL) isValid;
- (NSTimeInterval) timeInterval;
- (id) initWithFireDate: (NSDate*)fd
interval: (NSTimeInterval)ti
target: (id)object
selector: (SEL)selector
userInfo: (id)info
repeats: (BOOL)f;
- (void) setFireDate: (NSDate*)fireDate;
- (instancetype) initWithFireDate: (NSDate *)date
interval: (NSTimeInterval)interval
repeats: (BOOL)repeats
block: (GSTimerBlock)block;
@end
# 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h" 1
# 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSMapTable.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSMapTable.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPointerFunctions.h" 1
# 42 "/usr/GNUstep/System/Library/Headers/Foundation/NSPointerFunctions.h"
enum {
NSPointerFunctionsStrongMemory = (0<<0),
NSPointerFunctionsZeroingWeakMemory = (1<<0),
NSPointerFunctionsOpaqueMemory = (2<<0),
NSPointerFunctionsMallocMemory = (3<<0),
NSPointerFunctionsMachVirtualMemory = (4<<0),
NSPointerFunctionsWeakMemory = (5<<0),
NSPointerFunctionsObjectPersonality = (0<<8),
NSPointerFunctionsOpaquePersonality = (1<<8),
NSPointerFunctionsObjectPointerPersonality = (2<<8),
NSPointerFunctionsCStringPersonality = (3<<8),
NSPointerFunctionsStructPersonality = (4<<8),
NSPointerFunctionsIntegerPersonality = (5<<8),
NSPointerFunctionsCopyIn = (1<<16)
};
typedef NSUInteger NSPointerFunctionsOptions;
@interface NSPointerFunctions : NSObject <NSCopying>
+ (id) pointerFunctionsWithOptions: (NSPointerFunctionsOptions)options;
- (id) initWithOptions: (NSPointerFunctionsOptions)options;
- (void* (*)(const void *item,
NSUInteger (*size)(const void *item), BOOL shouldCopy)) acquireFunction;
- (NSString *(*)(const void *item)) descriptionFunction;
- (NSUInteger (*)(const void *item,
NSUInteger (*size)(const void *item))) hashFunction;
- (BOOL (*)(const void *item1, const void *item2,
NSUInteger (*size)(const void *item))) isEqualFunction;
- (void (*)(const void *item,
NSUInteger (*size)(const void *item))) relinquishFunction;
- (void) setAcquireFunction: (void* (*)(const void *item,
NSUInteger (*size)(const void *item), BOOL shouldCopy))func;
- (void) setDescriptionFunction: (NSString *(*)(const void *item))func;
- (void) setHashFunction: (NSUInteger (*)(const void *item,
NSUInteger (*size)(const void *item)))func;
- (void) setIsEqualFunction: (BOOL (*)(const void *item1, const void *item2,
NSUInteger (*size)(const void *item)))func;
- (void) setRelinquishFunction: (void (*)(const void *item,
NSUInteger (*size)(const void *item))) func;
- (void) setSizeFunction: (NSUInteger (*)(const void *item))func;
- (void) setUsesStrongWriteBarrier: (BOOL)flag;
- (void) setUsesWeakReadAndWriteBarriers: (BOOL)flag;
- (NSUInteger (*)(const void *item)) sizeFunction;
- (BOOL) usesStrongWriteBarrier;
- (BOOL) usesWeakReadAndWriteBarriers;
@end
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSMapTable.h" 2
enum {
NSMapTableStrongMemory
= NSPointerFunctionsStrongMemory,
NSMapTableZeroingWeakMemory
= NSPointerFunctionsZeroingWeakMemory,
NSMapTableCopyIn
= NSPointerFunctionsCopyIn,
NSMapTableObjectPointerPersonality
= NSPointerFunctionsObjectPointerPersonality,
NSMapTableWeakMemory
= NSPointerFunctionsWeakMemory
};
typedef NSUInteger NSMapTableOptions;
@interface NSMapTable<KeyT, ValT>
: NSObject <NSCopying, NSCoding, NSFastEnumeration>
+ (instancetype) mapTableWithKeyOptions: (NSPointerFunctionsOptions)keyOptions
valueOptions: (NSPointerFunctionsOptions)valueOptions;
+ (instancetype) mapTableWithStrongToStrongObjects;
+ (instancetype) mapTableWithStrongToWeakObjects;
+ (instancetype) mapTableWithWeakToStrongObjects;
+ (instancetype) mapTableWithWeakToWeakObjects;
+ (instancetype) strongToStrongObjectsMapTable;
+ (instancetype) strongToWeakObjectsMapTable;
+ (instancetype) weakToStrongObjectsMapTable;
+ (instancetype) weakToWeakObjectsMapTable;
- (instancetype) initWithKeyOptions: (NSPointerFunctionsOptions)keyOptions
valueOptions: (NSPointerFunctionsOptions)valueOptions
capacity: (NSUInteger)initialCapacity;
- (instancetype) initWithKeyPointerFunctions: (NSPointerFunctions*)keyFunctions
valuePointerFunctions: (NSPointerFunctions*)valueFunctions
capacity: (NSUInteger)initialCapacity;
- (NSUInteger) count;
- (NSDictionary*) dictionaryRepresentation;
- (NSEnumerator<KeyT>*) keyEnumerator;
- (NSPointerFunctions*) keyPointerFunctions;
- (NSEnumerator<ValT>*) objectEnumerator;
- (ValT) objectForKey: (KeyT)aKey;
- (void) removeAllObjects;
- (void) removeObjectForKey: (KeyT)aKey;
- (void) setObject: (ValT)anObject forKey: (KeyT)aKey;
- (NSPointerFunctions*) valuePointerFunctions;
@end
typedef struct { void *map; void *node; size_t bucket; } NSMapEnumerator;
typedef struct _NSMapTableKeyCallBacks
{
NSUInteger (*hash)(NSMapTable *, const void *);
BOOL (*isEqual)(NSMapTable *, const void *, const void *);
# 200 "/usr/GNUstep/System/Library/Headers/Foundation/NSMapTable.h"
void (*retain)(NSMapTable *, const void *);
void (*release)(NSMapTable *, void *);
NSString *(*describe)(NSMapTable *, const void *);
const void *notAKeyMarker;
} NSMapTableKeyCallBacks;
typedef struct _NSMapTableValueCallBacks NSMapTableValueCallBacks;
struct _NSMapTableValueCallBacks
{
void (*retain)(NSMapTable *, const void *);
void (*release)(NSMapTable *, void *);
NSString *(*describe)(NSMapTable *, const void *);
};
extern const NSMapTableKeyCallBacks NSIntegerMapKeyCallBacks;
extern const NSMapTableKeyCallBacks NSIntMapKeyCallBacks;
extern const NSMapTableKeyCallBacks NSNonOwnedPointerMapKeyCallBacks;
extern const NSMapTableKeyCallBacks NSNonOwnedPointerOrNullMapKeyCallBacks;
extern const NSMapTableKeyCallBacks NSNonRetainedObjectMapKeyCallBacks;
extern const NSMapTableKeyCallBacks NSObjectMapKeyCallBacks;
extern const NSMapTableKeyCallBacks NSOwnedPointerMapKeyCallBacks;
extern const NSMapTableValueCallBacks NSIntegerMapValueCallBacks;
extern const NSMapTableValueCallBacks NSIntMapValueCallBacks;
extern const NSMapTableValueCallBacks NSNonOwnedPointerMapValueCallBacks;
extern const NSMapTableValueCallBacks NSNonRetainedObjectMapValueCallBacks;
extern const NSMapTableValueCallBacks NSObjectMapValueCallBacks;
extern const NSMapTableValueCallBacks NSOwnedPointerMapValueCallBacks;
extern NSMapTable *
NSCreateMapTable(NSMapTableKeyCallBacks keyCallBacks,
NSMapTableValueCallBacks valueCallBacks,
NSUInteger capacity);
extern NSMapTable *
NSCreateMapTableWithZone(NSMapTableKeyCallBacks keyCallBacks,
NSMapTableValueCallBacks valueCallBacks,
NSUInteger capacity,
NSZone *zone);
extern NSMapTable *
NSCopyMapTableWithZone(NSMapTable *table, NSZone *zone);
extern void
NSFreeMapTable(NSMapTable *table);
extern void
NSResetMapTable(NSMapTable *table);
extern BOOL
NSCompareMapTables(NSMapTable *table1, NSMapTable *table2);
extern NSUInteger
NSCountMapTable(NSMapTable *table);
extern BOOL
NSMapMember(NSMapTable *table,
const void *key,
void **originalKey,
void **value);
extern void *
NSMapGet(NSMapTable *table, const void *key);
extern void
NSEndMapTableEnumeration(NSMapEnumerator *enumerator);
extern NSMapEnumerator
NSEnumerateMapTable(NSMapTable *table);
extern BOOL
NSNextMapEnumeratorPair(NSMapEnumerator *enumerator,
void **key,
void **value);
extern NSArray *
NSAllMapTableKeys(NSMapTable *table);
extern NSArray *
NSAllMapTableValues(NSMapTable *table);
extern void
NSMapInsert(NSMapTable *table, const void *key, const void *value);
extern void *
NSMapInsertIfAbsent(NSMapTable *table, const void *key, const void *value);
extern void
NSMapInsertKnownAbsent(NSMapTable *table,
const void *key,
const void *value);
extern void
NSMapRemove(NSMapTable *table, const void *key);
extern NSString *NSStringFromMapTable (NSMapTable *table);
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h" 2
@class NSTimer, NSDate, NSPort;
typedef NSString* NSRunLoopMode;
extern NSRunLoopMode const NSDefaultRunLoopMode;
extern NSRunLoopMode const NSRunLoopCommonModes;
@interface NSRunLoop : NSObject
{
# 58 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h"
}
+ (NSRunLoop*) currentRunLoop;
+ (NSRunLoop*) mainRunLoop;
- (void) acceptInputForMode: (NSString*)mode
beforeDate: (NSDate*)limit_date;
- (void) addTimer: (NSTimer*)timer
forMode: (NSString*)mode;
- (NSString*) currentMode;
- (NSDate*) limitDateForMode: (NSString*)mode;
- (void) run;
# 96 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h"
- (BOOL) runMode: (NSString*)mode
beforeDate: (NSDate*)date;
- (void) runUntilDate: (NSDate*)date;
@end
@interface NSRunLoop(OPENSTEP)
- (void) addPort: (NSPort*)port
forMode: (NSString*)mode;
- (void) cancelPerformSelectorsWithTarget: (id)target;
- (void) cancelPerformSelector: (SEL)aSelector
target: (id)target
argument: (id)argument;
- (void) configureAsServer;
- (void) performSelector: (SEL)aSelector
target: (id)target
argument: (id)argument
order: (NSUInteger)order
modes: (NSArray*)modes;
- (void) removePort: (NSPort*)port
forMode: (NSString*)mode;
@end
typedef enum {
ET_RDESC,
ET_WDESC,
ET_RPORT,
ET_EDESC,
ET_TRIGGER
} RunLoopEventType;
@protocol RunLoopEvents
# 163 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h"
- (void) receivedEvent: (void*)data
type: (RunLoopEventType)type
extra: (void*)extra
forMode: (NSString*)mode;
@end
@interface NSObject (RunLoopEvents)
- (BOOL) runLoopShouldBlock: (BOOL*)shouldTrigger;
@end
# 190 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h"
@interface NSRunLoop(GNUstepExtensions)
- (void) addEvent: (void*)data
type: (RunLoopEventType)type
watcher: (id<RunLoopEvents>)watcher
forMode: (NSString*)mode;
- (void) removeEvent: (void*)data
type: (RunLoopEventType)type
forMode: (NSString*)mode
all: (BOOL)removeAll;
@end
# 35 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" 2
@class NSDistantObject;
@class NSPort;
@class NSPortNameServer;
@class NSData;
@class NSInvocation;
# 55 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h"
extern NSString* const NSConnectionRepliesReceived;
extern NSString* const NSConnectionRepliesSent;
extern NSString* const NSConnectionRequestsReceived;
extern NSString* const NSConnectionRequestsSent;
extern NSString* const NSConnectionLocalCount;
extern NSString* const NSConnectionProxyCount;
# 96 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h"
@interface NSConnection : NSObject
{
# 106 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h"
}
+ (NSArray*) allConnections;
+ (NSConnection*) connectionWithReceivePort: (NSPort*)r
sendPort: (NSPort*)s;
+ (NSConnection*) connectionWithRegisteredName: (NSString*)n
host: (NSString*)h;
+ (NSConnection*) connectionWithRegisteredName: (NSString*)n
host: (NSString*)h
usingNameServer: (NSPortNameServer*)s;
+ (id) currentConversation;
+ (NSConnection*) defaultConnection;
+ (NSDistantObject*) rootProxyForConnectionWithRegisteredName: (NSString*)n
host: (NSString*)h;
+ (NSDistantObject*) rootProxyForConnectionWithRegisteredName: (NSString*)n
host: (NSString*)h usingNameServer: (NSPortNameServer*)s;
+ (id) serviceConnectionWithName: (NSString *)name
rootObject: (id)root;
+ (id) serviceConnectionWithName: (NSString *)name
rootObject: (id)root
usingNameServer: (NSPortNameServer *)server;
- (void) addRequestMode: (NSString*)mode;
- (void) addRunLoop: (NSRunLoop*)loop;
- (id) delegate;
- (void) enableMultipleThreads;
- (BOOL) independentConversationQueueing;
- (id) initWithReceivePort: (NSPort*)r
sendPort: (NSPort*)s;
- (void) invalidate;
- (BOOL) isValid;
- (NSArray*)localObjects;
- (BOOL) multipleThreadsEnabled;
- (NSPort*) receivePort;
- (BOOL) registerName: (NSString*)name;
- (BOOL) registerName: (NSString*)name withNameServer: (NSPortNameServer*)svr;
- (NSArray*) remoteObjects;
- (void) removeRequestMode: (NSString*)mode;
- (void) removeRunLoop: (NSRunLoop *)loop;
- (NSTimeInterval) replyTimeout;
- (NSArray*) requestModes;
- (NSTimeInterval) requestTimeout;
- (id) rootObject;
- (NSDistantObject*) rootProxy;
- (void) runInNewThread;
- (NSPort*) sendPort;
- (void) setDelegate: anObj;
- (void) setIndependentConversationQueueing: (BOOL)flag;
- (void) setReplyTimeout: (NSTimeInterval)to;
- (void) setRequestMode: (NSString*)mode;
- (void) setRequestTimeout: (NSTimeInterval)to;
- (void) setRootObject: anObj;
- (NSDictionary*) statistics;
@end
# 171 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h"
@interface NSObject (NSConnectionDelegate)
# 195 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h"
- (BOOL) authenticateComponents: (NSMutableArray*)components
withData: (NSData*)authenticationData;
# 221 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h"
- (NSData*) authenticationDataForComponents: (NSMutableArray*)components;
# 238 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h"
- (BOOL) connection: (NSConnection*)parent
shouldMakeNewConnection: (NSConnection*)newConnection;
- (NSConnection*) connection: (NSConnection*)ancestorConn
didConnect: (NSConnection*)newConn;
- (BOOL) makeNewConnection: (NSConnection*)newConnection
sender: (NSConnection*)parent;
@end
# 260 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h"
extern NSString * const NSConnectionReplyMode;
extern NSString * const NSConnectionDidDieNotification;
extern NSString * const NSConnectionDidInitializeNotification;
extern NSString * const NSFailedAuthenticationException;
extern NSString * const NSDestinationInvalidException;
extern NSString * const NSObjectInaccessibleException;
extern NSString * const NSObjectNotAvailableException;
# 61 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h" 1
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
@class NSData, NSMutableData;
# 46 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
@protocol NSObjCTypeSerializationCallBack
- (void) deserializeObjectAt: (id*)object
ofObjCType: (const char *)type
fromData: (NSData*)data
atCursor: (unsigned*)cursor;
- (void) serializeObjectAt: (id*)object
ofObjCType: (const char *)type
intoData: (NSMutableData*)data;
@end
# 74 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
@interface NSSerializer: NSObject
# 83 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
+ (NSData*) serializePropertyList: (id)propertyList;
# 92 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
+ (void) serializePropertyList: (id)propertyList
intoData: (NSMutableData*)d;
@end
# 109 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
@interface NSSerializer (GNUstep)
+ (void) shouldBeCompact: (BOOL)flag;
+ (void) serializePropertyList: (id)propertyList
intoData: (NSMutableData*)d
compact: (BOOL)flag;
@end
# 134 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
@interface NSDeserializer: NSObject
# 143 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
+ (id) deserializePropertyListFromData: (NSData*)data
atCursor: (unsigned int*)cursor
mutableContainers: (BOOL)flag;
# 154 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
+ (id) deserializePropertyListFromData: (NSData*)data
mutableContainers: (BOOL)flag;
# 166 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
+ (id) deserializePropertyListLazilyFromData: (NSData*)data
atCursor: (unsigned*)cursor
length: (unsigned)length
mutableContainers: (BOOL)flag;
@end
# 187 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h"
@interface NSDeserializer (GNUstep)
+ (void) uniquing: (BOOL)flag;
@end
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h" 2
@class NSError;
@class NSURL;
enum {
NSDataSearchBackwards = (1UL << 0),
NSDataSearchAnchored = (1UL << 1),
};
typedef NSUInteger NSDataSearchOptions;
enum {
NSDataBase64DecodingIgnoreUnknownCharacters = (1UL << 0)
};
typedef NSUInteger NSDataBase64DecodingOptions;
enum {
NSDataBase64Encoding64CharacterLineLength = (1UL << 0),
NSDataBase64Encoding76CharacterLineLength = (1UL << 1),
NSDataBase64EncodingEndLineWithCarriageReturn = (1UL << 4),
NSDataBase64EncodingEndLineWithLineFeed = (1UL << 5),
};
typedef NSUInteger NSDataBase64EncodingOptions;
enum {
NSMappedRead = 1,
NSUncachedRead = 2
};
enum {
NSDataWritingAtomic = 1
};
typedef void(^GSDataDeallocatorBlock)(void*, NSUInteger);
@interface NSData : NSObject <NSCoding, NSCopying, NSMutableCopying>
+ (id) data;
+ (id) dataWithBytes: (const void*)bytes
length: (NSUInteger)length;
+ (id) dataWithBytesNoCopy: (void*)bytes
length: (NSUInteger)length;
+ (id) dataWithBytesNoCopy: (void*)aBuffer
length: (NSUInteger)bufferSize
freeWhenDone: (BOOL)shouldFree;
+ (id) dataWithContentsOfFile: (NSString*)path;
+ (id) dataWithContentsOfMappedFile: (NSString*)path;
+ (id) dataWithContentsOfURL: (NSURL*)url;
+ (id) dataWithData: (NSData*)data;
- (id) initWithBase64EncodedData: (NSData*)base64Data
options: (NSDataBase64DecodingOptions)options;
- (id) initWithBase64EncodedString: (NSString*)base64String
options: (NSDataBase64DecodingOptions)options;
- (instancetype) initWithBytesNoCopy: (void*)bytes
length: (NSUInteger)length
deallocator: (GSDataDeallocatorBlock)deallocBlock;
- (id) initWithBytes: (const void*)aBuffer
length: (NSUInteger)bufferSize;
- (id) initWithBytesNoCopy: (void*)aBuffer
length: (NSUInteger)bufferSize;
- (id) initWithBytesNoCopy: (void*)aBuffer
length: (NSUInteger)bufferSize
freeWhenDone: (BOOL)shouldFree;
- (id) initWithContentsOfFile: (NSString*)path;
- (id) initWithContentsOfMappedFile: (NSString*)path;
- (id) initWithContentsOfURL: (NSURL*)url;
- (id) initWithData: (NSData*)data;
- (const void*) bytes;
- (NSString*) description;
- (void) getBytes: (void*)buffer;
- (void) getBytes: (void*)buffer
length: (NSUInteger)length;
- (void) getBytes: (void*)buffer
range: (NSRange)aRange;
- (NSData*) subdataWithRange: (NSRange)aRange;
- (NSRange) rangeOfData: (NSData *)dataToFind
options: (NSDataSearchOptions)mask
range: (NSRange)searchRange;
- (NSData *) base64EncodedDataWithOptions: (NSDataBase64EncodingOptions)options;
- (NSString *) base64EncodedStringWithOptions: (NSDataBase64EncodingOptions)options;
- (BOOL) isEqualToData: (NSData*)other;
- (NSUInteger) length;
# 175 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h"
- (BOOL) writeToFile: (NSString*)path
atomically: (BOOL)useAuxiliaryFile;
- (BOOL) writeToURL: (NSURL*)anURL atomically: (BOOL)flag;
- (unsigned int) deserializeAlignedBytesLengthAtCursor: (unsigned int*)cursor;
- (void) deserializeBytes: (void*)buffer
length: (unsigned int)bytes
atCursor: (unsigned int*)cursor;
- (void) deserializeDataAt: (void*)data
ofObjCType: (const char*)type
atCursor: (unsigned int*)cursor
context: (id <NSObjCTypeSerializationCallBack>)callback;
- (int) deserializeIntAtCursor: (unsigned int*)cursor;
- (int) deserializeIntAtIndex: (unsigned int)index;
- (void) deserializeInts: (int*)intBuffer
count: (unsigned int)numInts
atCursor: (unsigned int*)cursor;
- (void) deserializeInts: (int*)intBuffer
count: (unsigned int)numInts
atIndex: (unsigned int)index;
# 215 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h"
- (BOOL) writeToFile: (NSString *)path
options: (NSUInteger)writeOptionsMask
error: (NSError **)errorPtr;
- (BOOL) writeToURL: (NSURL *)url
options: (NSUInteger)writeOptionsMask
error: (NSError **)errorPtr;
@end
# 301 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h"
@interface NSData (GNUstepExtensions)
+ (id) dataWithShmID: (int)anID length: (NSUInteger) length;
+ (id) dataWithSharedBytes: (const void*)bytes length: (NSUInteger) length;
- (void) deserializeTypeTag: (unsigned char*)tag
andCrossRef: (unsigned int*)ref
atCursor: (unsigned int*)cursor;
@end
@interface NSMutableData : NSData
+ (id) dataWithCapacity: (NSUInteger)numBytes;
+ (id) dataWithLength: (NSUInteger)length;
- (id) initWithCapacity: (NSUInteger)capacity;
- (id) initWithLength: (NSUInteger)length;
- (void) increaseLengthBy: (NSUInteger)extraLength;
- (void) setLength: (NSUInteger)size;
- (void*) mutableBytes;
- (void) appendBytes: (const void*)aBuffer
length: (NSUInteger)bufferSize;
- (void) appendData: (NSData*)other;
- (void) replaceBytesInRange: (NSRange)aRange
withBytes: (const void*)bytes;
- (void) replaceBytesInRange: (NSRange)aRange
withBytes: (const void*)bytes
length: (NSUInteger)length;
- (void) resetBytesInRange: (NSRange)aRange;
- (void) setData: (NSData*)data;
- (void) serializeAlignedBytesLength: (unsigned int)length;
- (void) serializeDataAt: (const void*)data
ofObjCType: (const char*)type
context: (id <NSObjCTypeSerializationCallBack>)callback;
- (void) serializeInt: (int)value;
- (void) serializeInt: (int)value
atIndex: (unsigned int)index;
- (void) serializeInts: (int*)intBuffer
count: (unsigned int)numInts;
- (void) serializeInts: (int*)intBuffer
count: (unsigned int)numInts
atIndex: (unsigned int)index;
@end
@interface NSMutableData (GNUstepExtensions)
- (NSUInteger) capacity;
- (id) setCapacity: (NSUInteger)newCapacity;
- (int) shmID;
- (void) serializeTypeTag: (unsigned char)tag;
- (void) serializeTypeTag: (unsigned char)tag
andCrossRef: (unsigned int)xref;
@end
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSData+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSData+GNUstepBase.h"
@interface NSData (GNUstepBase)
# 48 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSData+GNUstepBase.h"
+ (id) dataWithRandomBytesOfLength: (NSUInteger)length;
- (NSString*) escapedRepresentation;
- (char*) escapedRepresentation: (NSUInteger*)length;
- (NSData*) gunzipped;
# 78 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSData+GNUstepBase.h"
- (NSData*) gzipped: (int)level;
- (BOOL) isGzipped;
# 93 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSData+GNUstepBase.h"
- (NSString*) hexadecimalRepresentation;
- (char*) hexadecimalRepresentation: (NSUInteger*)length;
# 110 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSData+GNUstepBase.h"
- (id) initWithHexadecimalRepresentation: (NSString*)string
__attribute__((ns_consumes_self)) __attribute__((ns_returns_retained));
# 127 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSData+GNUstepBase.h"
- (NSData*) md5Digest;
- (BOOL) uudecodeInto: (NSMutableData*)decoded
name: (NSString**)namePtr
mode: (NSInteger*)modePtr;
- (BOOL) uuencodeInto: (NSMutableData*)encoded
name: (NSString*)name
mode: (NSInteger)mode;
@end
# 396 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h" 2
# 62 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateComponentsFormatter.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateComponentsFormatter.h"
enum
{
NSDateComponentsFormatterUnitsStylePositional = 0,
NSDateComponentsFormatterUnitsStyleAbbreviated,
NSDateComponentsFormatterUnitsStyleShort,
NSDateComponentsFormatterUnitsStyleFull,
NSDateComponentsFormatterUnitsStyleSpellOut,
NSDateComponentsFormatterUnitsStyleBrief,
};
typedef NSInteger NSDateComponentsFormatterUnitsStyle;
enum
{
NSDateComponentsFormatterZeroFormattingBehaviorNone = (0),
NSDateComponentsFormatterZeroFormattingBehaviorDefault = (1 << 0),
NSDateComponentsFormatterZeroFormattingBehaviorDropLeading = (1 << 1),
NSDateComponentsFormatterZeroFormattingBehaviorDropMiddle = (1 << 2),
NSDateComponentsFormatterZeroFormattingBehaviorDropTrailing = (1 << 3),
NSDateComponentsFormatterZeroFormattingBehaviorDropAll = (NSDateComponentsFormatterZeroFormattingBehaviorDropLeading |
NSDateComponentsFormatterZeroFormattingBehaviorDropMiddle |
NSDateComponentsFormatterZeroFormattingBehaviorDropTrailing),
NSDateComponentsFormatterZeroFormattingBehaviorPad = (1 << 16),
};
typedef NSUInteger NSDateComponentsFormatterZeroFormattingBehavior;
@class NSString, NSDate;
@interface NSDateComponentsFormatter : NSFormatter
{
NSCalendar *_calendar;
NSDate *_referenceDate;
BOOL _allowsFractionalUnits;
BOOL _collapsesLargestUnit;
BOOL _includesApproximationPhrase;
NSFormattingContext _formattingContext;
NSInteger _maximumUnitCount;
NSDateComponentsFormatterZeroFormattingBehavior _zeroFormattingBehavior;
NSCalendarUnit _allowedUnits;
NSDateComponentsFormatterUnitsStyle _unitsStyle;
}
- (NSString *) stringForObjectValue: (id)obj;
- (NSString *) stringFromDateComponents: (NSDateComponents *)components;
- (NSString *) stringFromDate: (NSDate *)startDate toDate: (NSDate *)endDate;
- (NSString *) stringFromTimeInterval: (NSTimeInterval)ti;
- (NSDateComponentsFormatterUnitsStyle) unitsStyle;
- (void) setUnitsStyle: (NSDateComponentsFormatterUnitsStyle)style;
- (NSCalendarUnit) allowedUnits;
- (void) setAllowedUnits: (NSCalendarUnit)units;
- (NSDateComponentsFormatterZeroFormattingBehavior) zeroFormattingBehavior;
- (void) setZeroFormattingBehavior: (NSDateComponentsFormatterZeroFormattingBehavior)behavior;
- (NSCalendar *) calendar;
- (void) setCalender: (NSCalendar *)calendar;
- (NSDate *) referenceDate;
- (void) setReferenceDate: (NSDate *)referenceDate;
- (BOOL) allowsFractionalUnits;
- (void) setAllowsFractionalUnits: (BOOL)allowsFractionalUnits;
- (NSInteger) maximumUnitCount;
- (void) setMaximumUnitCount: (NSInteger)maximumUnitCount;
- (BOOL) collapsesLargestUnit;
- (void) setCollapsesLargestUnit: (BOOL)collapsesLargestUnit;
- (BOOL) includesApproximationPhrase;
- (void) setIncludesApproximationPhrase: (BOOL)includesApproximationPhrase;
- (NSFormattingContext) formattingContext;
- (void) setFormattingContext: (NSFormattingContext)formattingContext;
- (BOOL) getObjectValue: (id*)obj forString: (NSString *)string errorDescription: (NSString **)error;
+ (NSString *) localizedStringFromDateComponents: (NSDateComponents *)components
unitsStyle: (NSDateComponentsFormatterUnitsStyle)unitsStyle;
@end
# 63 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h" 1
# 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h"
@class NSCalendar, NSLocale, NSArray;
enum
{
NSDateFormatterNoStyle = 0,
NSDateFormatterShortStyle = 1,
NSDateFormatterMediumStyle = 2,
NSDateFormatterLongStyle = 3,
NSDateFormatterFullStyle = 4
};
typedef NSUInteger NSDateFormatterStyle;
enum
{
NSDateFormatterBehaviorDefault = 0,
NSDateFormatterBehavior10_0 = 1000,
NSDateFormatterBehavior10_4 = 1040
};
typedef NSUInteger NSDateFormatterBehavior;
# 126 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h"
@interface NSDateFormatter : NSFormatter <NSCoding, NSCopying>
{
# 145 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h"
}
# 156 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h"
- (id) initWithDateFormat: (NSString *)format
allowNaturalLanguage: (BOOL)flag;
# 168 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h"
- (BOOL) allowsNaturalLanguage;
- (NSString *) dateFormat;
+ (NSDateFormatterBehavior) defaultFormatterBehavior;
+ (void) setDefaultFormatterBehavior: (NSDateFormatterBehavior) behavior;
- (NSDateFormatterBehavior) formatterBehavior;
- (void) setFormatterBehavior: (NSDateFormatterBehavior) behavior;
- (BOOL) generatesCalendarDates;
- (void) setGeneratesCalendarDates: (BOOL) flag;
- (BOOL) isLenient;
- (void) setLenient: (BOOL) flag;
- (NSDate *) dateFromString: (NSString *) string;
- (NSString *) stringFromDate: (NSDate *) date;
- (BOOL) getObjectValue: (out id *) obj
forString: (NSString *) string
range: (inout NSRange *) range
error: (out NSError **) error;
- (void) setDateFormat: (NSString *) string;
- (NSDateFormatterStyle) dateStyle;
- (void) setDateStyle: (NSDateFormatterStyle) style;
- (NSDateFormatterStyle) timeStyle;
- (void) setTimeStyle: (NSDateFormatterStyle) style;
- (NSCalendar *) calendar;
- (void) setCalendar: (NSCalendar *) calendar;
- (NSDate *) defaultDate;
- (void) setDefaultDate: (NSDate *) date;
- (NSLocale *) locale;
- (void) setLocale: (NSLocale *) locale;
- (NSTimeZone *) timeZone;
- (void) setTimeZone: (NSTimeZone *) tz;
- (NSDate *) twoDigitStartDate;
- (void) setTwoDigitStartDate: (NSDate *) date;
- (NSString *) AMSymbol;
- (void) setAMSymbol: (NSString *) string;
- (NSString *) PMSymbol;
- (void) setPMSymbol: (NSString *) string;
- (NSArray *) weekdaySymbols;
- (void) setWeekdaySymbols: (NSArray *) array;
- (NSArray *) shortWeekdaySymbols;
- (void) setShortWeekdaySymbols: (NSArray *) array;
- (NSArray *) monthSymbols;
- (void) setMonthSymbols: (NSArray *) array;
- (NSArray *) shortMonthSymbols;
- (void) setShortMonthSymbols: (NSArray *) array;
- (NSArray *) eraSymbols;
- (void) setEraSymbols: (NSArray *) array;
- (NSDate *) gregorianStartDate;
- (void) setGregorianStartDate: (NSDate *) date;
- (NSArray *) longEraSymbols;
- (void) setLongEraSymbols: (NSArray *) array;
- (NSArray *) quarterSymbols;
- (void) setQuarterSymbols: (NSArray *) array;
- (NSArray *) shortQuarterSymbols;
- (void) setShortQuarterSymbols: (NSArray *) array;
- (NSArray *) standaloneQuarterSymbols;
- (void) setStandaloneQuarterSymbols: (NSArray *) array;
- (NSArray *) shortStandaloneQuarterSymbols;
- (void) setShortStandaloneQuarterSymbols: (NSArray *) array;
- (NSArray *) shortStandaloneMonthSymbols;
- (void) setShortStandaloneMonthSymbols: (NSArray *) array;
- (NSArray *) standaloneMonthSymbols;
- (void) setStandaloneMonthSymbols: (NSArray *) array;
- (NSArray *) veryShortMonthSymbols;
- (void) setVeryShortMonthSymbols: (NSArray *) array;
- (NSArray *) veryShortStandaloneMonthSymbols;
- (void) setVeryShortStandaloneMonthSymbols: (NSArray *) array;
- (NSArray *) shortStandaloneWeekdaySymbols;
- (void) setShortStandaloneWeekdaySymbols: (NSArray *) array;
- (NSArray *) standaloneWeekdaySymbols;
- (void) setStandaloneWeekdaySymbols: (NSArray *) array;
- (NSArray *) veryShortWeekdaySymbols;
- (void) setVeryShortWeekdaySymbols: (NSArray *) array;
- (NSArray *) veryShortStandaloneWeekdaySymbols;
- (void) setVeryShortStandaloneWeekdaySymbols: (NSArray *) array;
+ (NSString *) localizedStringFromDate: (NSDate *) date
dateStyle: (NSDateFormatterStyle) dateStyle
timeStyle: (NSDateFormatterStyle) timeStyle;
+ (NSString *) dateFormatFromTemplate: (NSString *) aTemplate
options: (NSUInteger) opts
locale: (NSLocale *) locale;
- (BOOL) doesRelativeDateFormatting;
- (void) setDoesRelativeDateFormatting: (BOOL) flag;
@end
# 64 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateInterval.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateInterval.h"
@interface NSDateInterval : NSObject <NSCoding, NSCopying>
{
NSTimeInterval _duration;
NSDate *_startDate;
}
- (instancetype) init;
- (instancetype) initWithStartDate: (NSDate *)startDate
duration: (NSTimeInterval)duration;
- (instancetype) initWithStartDate: (NSDate *)startDate
endDate: (NSDate *)endDate;
- (NSDate *) startDate;
- (void) setStartDate: (NSDate *)startDate;
- (NSDate *) endDate;
- (void) setEndDate: (NSDate *)endDate;
- (NSTimeInterval)duration;
- (void) setDuration: (NSTimeInterval)duration;
- (NSComparisonResult) compare: (NSDateInterval *)dateInterval;
- (BOOL) isEqualToDateInterval: (NSDateInterval *)dateInterval;
- (BOOL) intersectsDateInterval: (NSDateInterval *)dateInterval;
- (NSDateInterval *) intersectionWithDateInterval: (NSDateInterval *)dateInterval;
- (BOOL) containsDate: (NSDate *)date;
@end
# 65 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateIntervalFormatter.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateIntervalFormatter.h"
enum {
NSDateIntervalFormatterNoStyle = 0,
NSDateIntervalFormatterShortStyle = 1,
NSDateIntervalFormatterMediumStyle = 2,
NSDateIntervalFormatterLongStyle = 3,
NSDateIntervalFormatterFullStyle = 4
};
typedef NSUInteger NSDateIntervalFormatterStyle;
@class NSCalendar, NSLocale, NSDateInterval;
@interface NSDateIntervalFormatter : NSFormatter
{
NSLocale *_locale;
NSCalendar *_calendar;
NSTimeZone *_timeZone;
NSString *_dateTemplate;
NSDateIntervalFormatterStyle _dateStyle;
NSDateIntervalFormatterStyle _timeStyle;
}
- (NSLocale *) locale;
- (void) setLocale: (NSLocale *)locale;
- (NSCalendar *) calendar;
- (void) setCalendar: (NSCalendar *)calendar;
- (NSTimeZone *) timeZone;
- (void) setTimeZone: (NSTimeZone *)timeZone;
- (NSString *) dateTemplate;
- (void) setDateTemplate: (NSString *)dateTemplate;
- (NSDateIntervalFormatterStyle) dateStyle;
- (void) setDateStyle: (NSDateIntervalFormatterStyle)dateStyle;
- (NSDateIntervalFormatterStyle) timeStyle;
- (void) setTimeStyle: (NSDateIntervalFormatterStyle)timeStyle;
- (NSString *)stringFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
- (NSString *)stringFromDateInterval:(NSDateInterval *)dateInterval;
@end
# 66 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistantObject.h" 1
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistantObject.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSProxy.h" 1
# 35 "/usr/GNUstep/System/Library/Headers/Foundation/NSProxy.h"
__attribute__((objc_root_class))
@interface NSProxy <NSObject>
{
@public
Class isa;
}
+ (id) alloc;
+ (id) allocWithZone: (NSZone*)z;
+ (id) autorelease;
+ (Class) class;
+ (NSString*) description;
+ (BOOL) isKindOfClass: (Class)aClass;
+ (BOOL) isMemberOfClass: (Class)aClass;
+ (void) load;
+ (oneway void) release;
+ (BOOL) respondsToSelector: (SEL)aSelector;
+ (id) retain;
+ (NSUInteger) retainCount;
- (id) autorelease;
- (Class) class;
- (BOOL) conformsToProtocol: (Protocol*)aProtocol;
- (void) dealloc;
- (NSString*) description;
- (void) forwardInvocation: (NSInvocation*)anInvocation;
- (NSUInteger) hash;
- (id) init;
- (BOOL) isEqual: (id)anObject;
- (BOOL) isKindOfClass: (Class)aClass;
- (BOOL) isMemberOfClass: (Class)aClass;
- (BOOL) isProxy;
- (NSMethodSignature*) methodSignatureForSelector: (SEL)aSelector;
- (oneway void) release;
- (BOOL) respondsToSelector: (SEL)aSelector;
- (id) retain;
- (NSUInteger) retainCount;
- (id) self;
- (Class) superclass;
- (NSZone*) zone;
@end
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistantObject.h" 2
@class NSConnection;
@interface NSDistantObject : NSProxy <NSCoding>
{
# 50 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistantObject.h"
}
+ (NSDistantObject*) proxyWithLocal: (id)anObject
connection: (NSConnection*)aConnection;
+ (NSDistantObject*) proxyWithTarget: (unsigned)anObject
connection: (NSConnection*)aConnection;
- (NSConnection*) connectionForProxy;
- (id) initWithLocal: (id)anObject
connection: (NSConnection*)aConnection;
- (id) initWithTarget: (unsigned)target
connection: (NSConnection*)aConnection;
- (NSMethodSignature*) methodSignatureForSelector: (SEL)aSelector;
- (void) setProtocolForProxy: (Protocol*)aProtocol;
@end
# 70 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedLock.h" 1
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedLock.h"
@class NSDate;
@class NSLock;
@class NSString;
@interface NSDistributedLock : NSObject
{
# 56 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedLock.h"
}
+ (NSDistributedLock*) lockWithPath: (NSString*)aPath;
- (id) initWithPath: (NSString*)aPath;
- (void) breakLock;
- (NSDate*) lockDate;
- (BOOL) tryLock;
- (void) unlock;
@end
# 71 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h" 1
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h" 1
# 46 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h"
@protocol NSLocking
- (void) lock;
- (void) unlock;
@end
# 73 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h"
@interface NSLock : NSObject <NSLocking>
{
}
- (BOOL) isLockedByCurrentThread;
- (BOOL) lockBeforeDate: (NSDate*)limit;
- (void) lock;
- (BOOL) tryLock;
- (void) unlock;
- (NSString*) name;
- (void) setName: (NSString*)name;
@end
@interface NSCondition : NSObject <NSLocking>
{
}
- (void) wait;
- (BOOL) waitUntilDate: (NSDate*)limit;
- (void) signal;
- (void) broadcast;
- (void) setName: (NSString*)newName;
- (NSString*) name;
@end
@interface NSConditionLock : NSObject <NSLocking>
{
}
- (id) initWithCondition: (NSInteger)value;
- (NSInteger) condition;
- (BOOL) isLockedByCurrentThread;
# 211 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h"
- (void) lockWhenCondition: (NSInteger)value;
- (void) unlockWithCondition: (NSInteger)value;
- (BOOL) tryLock;
- (BOOL) tryLockWhenCondition: (NSInteger)value;
# 237 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h"
- (BOOL) lockBeforeDate: (NSDate*)limit;
- (BOOL) lockWhenCondition: (NSInteger)condition_to_meet
beforeDate: (NSDate*)limitDate;
- (void) lock;
- (void) unlock;
- (NSString*) name;
- (void) setName: (NSString*)name;
@end
# 277 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h"
@interface NSRecursiveLock : NSObject <NSLocking>
{
}
- (BOOL) isLockedByCurrentThread;
- (BOOL) tryLock;
- (BOOL) lockBeforeDate: (NSDate*)limit;
- (void) lock;
- (void) unlock;
- (NSString*) name;
- (void) setName: (NSString*)name;
@end
typedef void NSLock_error_handler(id obj, SEL _cmd, BOOL stop, NSString *msg);
extern NSLock_error_handler *_NSLock_error_handler;
@interface NSObject (GSTraceLocks)
+ (BOOL) shouldCreateTraceableLocks: (BOOL)shouldTrace;
+ (NSCondition*) tracedCondition;
+ (NSConditionLock*) tracedConditionLockWithCondition: (NSInteger)value;
+ (NSLock*) tracedLock;
+ (NSRecursiveLock*) tracedRecursiveLock;
@end
# 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotification.h" 1
# 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotification.h"
@class NSString;
@class NSDictionary;
@class NSLock;
@class NSOperationQueue;
typedef NSString* NSNotificationName;
@interface NSNotification : NSObject <NSCopying, NSCoding>
+ (NSNotification*) notificationWithName: (NSString*)name
object: (id)object;
+ (NSNotification*) notificationWithName: (NSString*)name
object: (id)object
userInfo: (NSDictionary*)info;
- (NSString*) name;
- (id) object;
- (NSDictionary*) userInfo;
@end
typedef void(^GSNotificationBlock)(NSNotification *);
@interface NSNotificationCenter : NSObject
{
}
+ (NSNotificationCenter*) defaultCenter;
- (void) addObserver: (id)observer
selector: (SEL)selector
name: (NSString*)name
object: (id)object;
- (id) addObserverForName: (NSString *)name
object: (id)object
queue: (NSOperationQueue *)queue
usingBlock: (GSNotificationBlock)block;
- (void) removeObserver: (id)observer;
- (void) removeObserver: (id)observer
name: (NSString*)name
object: (id)object;
- (void) postNotification: (NSNotification*)notification;
- (void) postNotificationName: (NSString*)name
object: (id)object;
- (void) postNotificationName: (NSString*)name
object: (id)object
userInfo: (NSDictionary*)info;
@end
# 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h" 2
# 53 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h"
enum {
NSNotificationSuspensionBehaviorDrop = 1,
NSNotificationSuspensionBehaviorCoalesce = 2,
NSNotificationSuspensionBehaviorHold = 3,
NSNotificationSuspensionBehaviorDeliverImmediately = 4
};
typedef NSUInteger NSNotificationSuspensionBehavior;
extern NSString* const NSLocalNotificationCenterType;
extern NSString* const GSPublicNotificationCenterType;
extern NSString* const GSNetworkNotificationCenterType;
@interface NSDistributedNotificationCenter : NSNotificationCenter
{
# 99 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h"
}
+ (id) defaultCenter;
+ (NSDistributedNotificationCenter*) notificationCenterForType: (NSString*)type;
- (void) addObserver: (id)anObserver
selector: (SEL)aSelector
name: (NSString*)notificationName
object: (NSString*)anObject;
- (void) addObserver: (id)anObserver
selector: (SEL)aSelector
name: (NSString*)notificationName
object: (NSString*)anObject
suspensionBehavior: (NSNotificationSuspensionBehavior)suspensionBehavior;
- (void) postNotification: (NSNotification*)notification;
- (void) postNotificationName: (NSString*)notificationName
object: (NSString*)anObject;
- (void) postNotificationName: (NSString*)notificationName
object: (NSString*)anObject
userInfo: (NSDictionary*)userInfo;
- (void) postNotificationName: (NSString*)notificationName
object: (NSString*)anObject
userInfo: (NSDictionary*)userInfo
deliverImmediately: (BOOL)deliverImmediately;
- (void) removeObserver: (id)anObserver
name: (NSString*)notificationName
object: (NSString*)anObject;
- (void) setSuspended: (BOOL)flag;
- (BOOL) suspended;
@end
# 72 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSEnergyFormatter.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSEnergyFormatter.h"
@class NSNumberFormatter, NSString;
enum {
NSEnergyFormatterUnitJoule = 11,
NSEnergyFormatterUnitKilojoule = 14,
NSEnergyFormatterUnitCalorie = (7 << 8) + 1,
NSEnergyFormatterUnitKilocalorie = (7 << 8) + 2,
};
typedef NSInteger NSEnergyFormatterUnit;
@interface NSEnergyFormatter : NSFormatter
{
BOOL _isForFoodEnergyUse;
NSNumberFormatter *_numberFormatter;
NSFormattingUnitStyle _unitStyle;
}
- (NSNumberFormatter *) numberFormatter;
- (void) setNumberFormatter: (NSNumberFormatter *)formatter;
- (NSFormattingUnitStyle) unitStyle;
- (void) setUnitStyle: (NSFormattingUnitStyle)style;
- (BOOL) isForFoodEnergyUse;
- (void) setForFoodEnergyUse: (BOOL)flag;
- (NSString *) stringFromValue: (double)value unit: (NSEnergyFormatterUnit)unit;
- (NSString *) stringFromJoules: (double)numberInJoules;
- (NSString *) unitStringFromValue: (double)value unit: (NSEnergyFormatterUnit)unit;
- (NSString *) unitStringFromJoules: (double)numberInJoules usedUnit: (NSEnergyFormatterUnit *)unitp;
- (BOOL) getObjectValue:(id *)obj forString: (NSString *)string errorDescription: (NSString **)error;
@end
# 73 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h"
@class NSArray, NSDictionary, NSString;
typedef NSString* NSErrorDomain;
extern NSString* const NSLocalizedDescriptionKey;
extern NSString* const NSUnderlyingErrorKey;
extern NSString* const NSFilePathErrorKey;
extern NSString* const NSStringEncodingErrorKey;
extern NSString* const NSURLErrorKey;
extern NSString* const NSLocalizedFailureReasonErrorKey;
extern NSString* const NSLocalizedRecoveryOptionsErrorKey;
extern NSString* const NSLocalizedRecoverySuggestionErrorKey;
extern NSString* const NSRecoveryAttempterErrorKey;
extern NSString* const NSURLErrorFailingURLErrorKey;
extern NSString* const NSURLErrorFailingURLStringErrorKey;
extern NSErrorDomain const NSMACHErrorDomain;
extern NSErrorDomain const NSOSStatusErrorDomain;
extern NSErrorDomain const NSPOSIXErrorDomain;
extern NSErrorDomain const NSCocoaErrorDomain;
# 133 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h"
@interface NSError : NSObject <NSCopying, NSCoding>
{
# 150 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h"
}
+ (id) errorWithDomain: (NSErrorDomain)aDomain
code: (NSInteger)aCode
userInfo: (NSDictionary*)aDictionary;
- (NSInteger) code;
- (NSErrorDomain) domain;
- (id) initWithDomain: (NSErrorDomain)aDomain
code: (NSInteger)aCode
userInfo: (NSDictionary*)aDictionary;
- (NSString *) localizedDescription;
# 195 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h"
- (NSString *) localizedFailureReason;
# 204 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h"
- (NSArray *) localizedRecoveryOptions;
# 213 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h"
- (NSString *) localizedRecoverySuggestion;
- (id) recoveryAttempter;
# 231 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h"
- (NSDictionary*) userInfo;
@end
# 75 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSExtensionContext.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSExtensionContext.h"
typedef void(^GSExtensionContextReturningItemsCompletionHandler)(BOOL);
typedef void(^GSOpenURLCompletionHandler)(BOOL);
@class NSError, NSArray, NSURL;
@interface NSExtensionContext : NSObject
{
NSArray *_inputItems;
}
- (void) setInputItems: (NSArray *)inputItems;
- (NSArray *) inputItems;
- (void)completeRequestReturningItems: (NSArray *)items completionHandler: (GSExtensionContextReturningItemsCompletionHandler)completionHandler;
- (void)cancelRequestWithError:(NSError *)error;
- (void)openURL: (NSURL *)URL completionHandler: (GSOpenURLCompletionHandler)completionHandler;
@end
extern NSString* const NSExtensionItemsAndErrorsKey;
extern NSString* const NSExtensionHostWillEnterForegroundNotification;
extern NSString* const NSExtensionHostDidEnterBackgroundNotification;
extern NSString* const NSExtensionHostWillResignActiveNotification;
extern NSString* const NSExtensionHostDidBecomeActiveNotification;
# 78 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSExtensionItem.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSExtensionItem.h"
@class NSAttributedString, NSArray, NSDictionary;
@interface NSExtensionItem : NSObject
{
NSAttributedString *_attributedTitle;
NSAttributedString *_attributedContentText;
NSArray *_attachments;
NSDictionary *_userInfo;
}
- (NSAttributedString *) attributedTitle;
- (void) setAttributedTitle: (NSAttributedString *)string;
- (NSAttributedString *) attributedContentText;
- (void) setAttributedContentText: (NSAttributedString *)string;
- (NSArray *) attachments;
- (void) setAttachments: (NSArray *)attachments;
- (NSDictionary *) userInfo;
- (void) setUserInfo: (NSDictionary *) userInfo;
@end
extern NSString * const NSExtensionItemAttributedTitleKey;
extern NSString * const NSExtensionItemAttributedContentTextKey;
extern NSString * const NSExtensionItemAttachmentsKey;
# 79 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSExtensionRequestHandling.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSExtensionRequestHandling.h"
@class NSExtensionContext;
@protocol NSExtensionRequestHandling <NSObject>
- (void) beginRequestWithExtensionContext: (NSExtensionContext *)context;
@end
# 80 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileCoordinator.h" 1
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileCoordinator.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h" 1
# 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLHandle.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLHandle.h"
@class NSData;
@class NSString;
@class NSMutableArray;
@class NSMutableData;
@class NSURLHandle;
@class NSURL;
extern NSString * const NSHTTPPropertyStatusCodeKey;
extern NSString * const NSHTTPPropertyStatusReasonKey;
extern NSString * const NSHTTPPropertyServerHTTPVersionKey;
extern NSString * const NSHTTPPropertyRedirectionHeadersKey;
extern NSString * const NSHTTPPropertyErrorPageDataKey;
extern NSString * const GSHTTPPropertyLocalHostKey;
extern NSString * const GSHTTPPropertyMethodKey;
extern NSString * const GSHTTPPropertyProxyHostKey;
extern NSString * const GSHTTPPropertyProxyPortKey;
extern NSString * const GSHTTPPropertyCertificateFileKey;
extern NSString * const GSHTTPPropertyKeyFileKey;
extern NSString * const GSHTTPPropertyPasswordKey;
# 131 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLHandle.h"
enum
{
NSURLHandleNotLoaded = 0,
NSURLHandleLoadSucceeded,
NSURLHandleLoadInProgress,
NSURLHandleLoadFailed
};
typedef NSUInteger NSURLHandleStatus;
@protocol NSURLHandleClient
- (void) URLHandle: (NSURLHandle*)sender
resourceDataDidBecomeAvailable: (NSData*)newData;
- (void) URLHandle: (NSURLHandle*)sender
resourceDidFailLoadingWithReason: (NSString*)reason;
- (void) URLHandleResourceDidBeginLoading: (NSURLHandle*)sender;
- (void) URLHandleResourceDidCancelLoading: (NSURLHandle*)sender;
- (void) URLHandleResourceDidFinishLoading: (NSURLHandle*)sender;
@end
@interface NSURLHandle : NSObject
{
}
+ (NSURLHandle*) cachedHandleForURL: (NSURL*)url;
+ (BOOL) canInitWithURL: (NSURL*)url;
+ (void) registerURLHandleClass: (Class)urlHandleSubclass;
+ (Class) URLHandleClassForURL: (NSURL*)url;
- (void) addClient: (id <NSURLHandleClient>)client;
- (NSData*) availableResourceData;
- (void) backgroundLoadDidFailWithReason: (NSString*)reason;
- (void) beginLoadInBackground;
- (void) cancelLoadInBackground;
- (void) didLoadBytes: (NSData*)newData
loadComplete: (BOOL)loadComplete;
- (void) endLoadInBackground;
- (NSString*) failureReason;
- (void) flushCachedData;
- (id) initWithURL: (NSURL*)url
cached: (BOOL)cached;
- (void) loadInBackground;
- (NSData*) loadInForeground;
- (id) propertyForKey: (NSString*)propertyKey;
- (id) propertyForKeyIfAvailable: (NSString*)propertyKey;
- (void) removeClient: (id <NSURLHandleClient>)client;
- (NSData*) resourceData;
- (int) setDebug: (int)flag;
- (void) setReturnAll: (BOOL)flag;
- (void) setURL: (NSURL*)newUrl;
- (NSURLHandleStatus) status;
- (BOOL) writeData: (NSData*)data;
- (BOOL) writeProperty: (id)propertyValue
forKey: (NSString*)propertyKey;
@end
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h" 2
@class NSError;
@class NSNumber;
@class NSString;
@class NSDictionary;
@class NSArray;
extern NSString* const NSURLFileScheme;
typedef NSUInteger NSURLBookmarkResolutionOptions;
enum
{
NSURLBookmarkResolutionWithoutUI = (1 << 8),
NSURLBookmarkResolutionWithoutMounting = (1 << 9),
NSURLBookmarkResolutionWithSecurityScope = (1 << 10)
};
# 72 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
@interface NSURL: NSObject <NSCoding, NSCopying, NSURLHandleClient>
{
}
+ (instancetype) fileURLWithPath: (NSString*)aPath;
+ (instancetype) fileURLWithPathComponents: (NSArray*)components;
+ (instancetype) fileURLWithPath: (NSString*)aPath isDirectory: (BOOL)isDir;
+ (instancetype) fileURLWithPath: (NSString *)aPath
isDirectory: (BOOL)isDir
relativeToURL: (NSURL *)baseURL;
+ (instancetype) fileURLWithPath: (NSString *)aPath
relativeToURL: (NSURL *)baseURL;
# 118 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
+ (instancetype) URLWithString: (NSString*)aUrlString;
+ (instancetype) URLByResolvingAliasFileAtURL: (NSURL*)url
options: (NSURLBookmarkResolutionOptions)options
error: (NSError**)error;
# 132 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
+ (instancetype) URLWithString: (NSString*)aUrlString
relativeToURL: (NSURL*)aBaseUrl;
# 144 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (instancetype) initFileURLWithPath: (NSString*)aPath;
# 156 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (instancetype) initFileURLWithPath: (NSString*)aPath
isDirectory: (BOOL)isDir;
# 170 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (instancetype) initFileURLWithPath: (NSString *)aPath
relativeToURL: (NSURL *)baseURL;
# 182 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (instancetype) initFileURLWithPath: (NSString *)aPath
isDirectory: (BOOL)isDir
relativeToURL: (NSURL *)baseURL;
# 198 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (instancetype) initWithScheme: (NSString*)aScheme
host: (NSString*)aHost
path: (NSString*)aPath;
- (instancetype) initWithString: (NSString*)aUrlString;
# 216 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (instancetype) initWithString: (NSString*)aUrlString
relativeToURL: (NSURL*)aBaseUrl;
@property (readonly, getter=isFileURL) BOOL fileURL;
- (NSString*) absoluteString;
- (NSURL*) absoluteURL;
- (NSURL*) baseURL;
- (BOOL) checkResourceIsReachableAndReturnError: (NSError **)error;
# 256 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (NSString*) fragment;
# 266 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (NSString*) host;
- (NSString*) lastPathComponent;
# 296 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (void) loadResourceDataNotifyingClient: (id)client
usingCache: (BOOL)shouldUseCache;
# 306 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (NSString*) parameterString;
# 316 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (NSString*) password;
# 329 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (NSString*) path;
- (NSArray*) pathComponents;
- (NSString*) pathExtension;
# 350 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (NSNumber*) port;
- (id) propertyForKey: (NSString*)propertyKey;
# 365 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (NSString*) query;
- (NSString*) relativePath;
- (NSString*) relativeString;
- (NSData*) resourceDataUsingCache: (BOOL)shouldUseCache;
- (NSString*) resourceSpecifier;
- (NSString*) scheme;
- (BOOL) setProperty: (id)property
forKey: (NSString*)propertyKey;
- (BOOL) setResourceData: (NSData*)data;
- (NSURL*) standardizedURL;
- (NSURL*) URLByAppendingPathComponent: (NSString*)pathComponent;
- (NSURL*) URLByAppendingPathExtension: (NSString*)pathExtension;
- (NSURL*) URLByDeletingLastPathComponent;
- (NSURL*) URLByDeletingPathExtension;
- (NSURL*) URLByResolvingSymlinksInPath;
- (NSURL*) URLByStandardizingPath;
# 460 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (NSURL *) URLByAppendingPathComponent: (NSString *)pathComponent
isDirectory: (BOOL)isDirectory;
- (BOOL) isFileReferenceURL;
- (NSURL *) fileReferenceURL;
- (NSURL *) filePathURL;
- (BOOL) getResourceValue: (id*)value
forKey: (NSString *)key
error: (NSError**)error;
- (NSURLHandle*)URLHandleUsingCache: (BOOL)shouldUseCache;
# 491 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
- (NSString*) user;
@end
@interface NSObject (NSURLClient)
- (void) URL: (NSURL*)sender
resourceDataDidBecomeAvailable: (NSData*)newBytes;
- (void) URLResourceDidFinishLoading: (NSURL*)sender;
- (void) URLResourceDidCancelLoading: (NSURL*)sender;
- (void) URL: (NSURL*)sender
resourceDidFailLoadingWithReason: (NSString*)reason;
@end
extern NSString* const NSURLNameKey;
extern NSString* const NSURLLocalizedNameKey;
extern NSString* const NSURLIsRegularFileKey;
extern NSString* const NSURLIsDirectoryKey;
extern NSString* const NSURLIsSymbolicLinkKey;
extern NSString* const NSURLIsVolumeKey;
extern NSString* const NSURLIsPackageKey;
extern NSString* const NSURLIsSystemImmutableKey;
extern NSString* const NSURLIsUserImmutableKey;
extern NSString* const NSURLIsHiddenKey;
extern NSString* const NSURLHasHiddenExtensionKey;
extern NSString* const NSURLCreationDateKey;
extern NSString* const NSURLContentAccessDateKey;
extern NSString* const NSURLContentModificationDateKey;
extern NSString* const NSURLAttributeModificationDateKey;
extern NSString* const NSURLLinkCountKey;
extern NSString* const NSURLParentDirectoryURLKey;
extern NSString* const NSURLVolumeURLKey;
extern NSString* const NSURLTypeIdentifierKey;
extern NSString* const NSURLLocalizedTypeDescriptionKey;
extern NSString* const NSURLLabelNumberKey;
extern NSString* const NSURLLabelColorKey;
extern NSString* const NSURLLocalizedLabelKey;
extern NSString* const NSURLEffectiveIconKey;
extern NSString* const NSURLCustomIconKey;
extern NSString* const NSURLFileSizeKey;
extern NSString* const NSURLFileAllocatedSizeKey;
extern NSString* const NSURLIsAliasFileKey;
extern NSString* const NSURLVolumeLocalizedFormatDescriptionKey;
extern NSString* const NSURLVolumeTotalCapacityKey;
extern NSString* const NSURLVolumeAvailableCapacityKey;
extern NSString* const NSURLVolumeResourceCountKey;
extern NSString* const NSURLVolumeSupportsPersistentIDsKey;
extern NSString* const NSURLVolumeSupportsSymbolicLinksKey;
extern NSString* const NSURLVolumeSupportsHardLinksKey;
extern NSString* const NSURLVolumeSupportsJournalingKey;
extern NSString* const NSURLVolumeIsJournalingKey;
extern NSString* const NSURLVolumeSupportsSparseFilesKey;
extern NSString* const NSURLVolumeSupportsZeroRunsKey;
extern NSString* const NSURLVolumeSupportsCaseSensitiveNamesKey;
extern NSString* const NSURLVolumeSupportsCasePreservedNamesKey;
extern NSString* const NSURLFileResourceIdentifierKey;
extern NSString* const NSURLVolumeIdentifierKey;
extern NSString* const NSURLPreferredIOBlockSizeKey;
extern NSString* const NSURLIsReadableKey;
extern NSString* const NSURLIsWritableKey;
extern NSString* const NSURLIsExecutableKey;
extern NSString* const NSURLFileSecurityKey;
extern NSString* const NSURLIsMountTriggerKey;
extern NSString* const NSURLFileResourceTypeKey;
extern NSString* const NSURLTotalFileSizeKey;
extern NSString* const NSURLTotalFileAllocatedSizeKey;
extern NSString* const NSURLVolumeSupportsRootDirectoryDatesKey;
extern NSString* const NSURLVolumeSupportsVolumeSizesKey;
extern NSString* const NSURLVolumeSupportsRenamingKey;
extern NSString* const NSURLVolumeSupportsAdvisoryFileLockingKey;
extern NSString* const NSURLVolumeSupportsExtendedSecurityKey;
extern NSString* const NSURLVolumeIsBrowsableKey;
extern NSString* const NSURLVolumeMaximumFileSizeKey;
extern NSString* const NSURLVolumeIsEjectableKey;
extern NSString* const NSURLVolumeIsRemovableKey;
extern NSString* const NSURLVolumeIsInternalKey;
extern NSString* const NSURLVolumeIsAutomountedKey;
extern NSString* const NSURLVolumeIsLocalKey;
extern NSString* const NSURLVolumeIsReadOnlyKey;
extern NSString* const NSURLVolumeCreationDateKey;
extern NSString* const NSURLVolumeURLForRemountingKey;
extern NSString* const NSURLVolumeUUIDStringKey;
extern NSString* const NSURLVolumeNameKey;
extern NSString* const NSURLVolumeLocalizedNameKey;
extern NSString* const NSURLIsUbiquitousItemKey;
extern NSString* const NSURLUbiquitousItemHasUnresolvedConflictsKey;
extern NSString* const NSURLUbiquitousItemIsDownloadingKey;
extern NSString* const NSURLUbiquitousItemIsUploadedKey;
extern NSString* const NSURLUbiquitousItemIsUploadingKey;
extern NSString* const NSURLIsExcludedFromBackupKey;
extern NSString* const NSURLPathKey;
extern NSString* const NSURLTagNamesKey;
extern NSString* const NSURLUbiquitousItemDownloadingStatusKey;
extern NSString* const NSURLUbiquitousItemDownloadingErrorKey;
extern NSString* const NSURLUbiquitousItemUploadingErrorKey;
extern NSString* const NSURLGenerationIdentifierKey;
extern NSString* const NSURLDocumentIdentifierKey;
extern NSString* const NSURLAddedToDirectoryDateKey;
extern NSString* const NSURLQuarantinePropertiesKey;
extern NSString* const NSThumbnail1024x1024SizeKey;
extern NSString* const NSURLUbiquitousItemDownloadRequestedKey;
extern NSString* const NSURLUbiquitousItemContainerDisplayNameKey;
extern NSString* const NSURLIsApplicationKey;
extern NSString* const NSURLApplicationIsScriptableKey;
extern NSString* const NSURLFileResourceTypeNamedPipe;
extern NSString* const NSURLFileResourceTypeCharacterSpecial;
extern NSString* const NSURLFileResourceTypeDirectory;
extern NSString* const NSURLFileResourceTypeBlockSpecial;
extern NSString* const NSURLFileResourceTypeRegular;
extern NSString* const NSURLFileResourceTypeSymbolicLink;
extern NSString* const NSURLFileResourceTypeSocket;
extern NSString* const NSURLFileResourceTypeUnknown;
extern NSString* const NSURLUbiquitousItemDownloadingStatusNotDownloaded;
extern NSString* const NSURLUbiquitousItemDownloadingStatusDownloaded;
extern NSString* const NSURLUbiquitousItemDownloadingStatusCurrent;
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSURL+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSURL+GNUstepBase.h"
@interface NSURL (GNUstepBaseAdditions)
- (NSString*) cacheKey;
- (id) initWithScheme: (NSString*)scheme
user: (NSString*)user
password: (NSString*)password
host: (NSString*)host
port: (NSNumber*)port
fullPath: (NSString*)fullPath
parameterString: (NSString*)parameterString
query: (NSString*)query
fragment: (NSString*)fragment;
@end
@interface NSURL (GNUstepBase)
- (NSString*) fullPath;
- (NSString*) pathWithEscapes;
@end
# 649 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h" 2
@interface NSURLQueryItem : NSObject <NSCopying, NSCoding>
{
# 671 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
}
+ (instancetype)queryItemWithName: (NSString *)name
value: (NSString *)value;
- (instancetype)initWithName: (NSString *)name
value: (NSString *)value;
- (NSString *) name;
- (NSString *) value;
@end
@interface NSURLComponents : NSObject <NSCopying>
{
# 706 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h"
}
+ (instancetype) componentsWithString: (NSString *)URLString;
+ (instancetype) componentsWithURL: (NSURL *)url
resolvingAgainstBaseURL: (BOOL)resolve;
- (instancetype) init;
- (instancetype) initWithString: (NSString *)URLString;
- (instancetype) initWithURL: (NSURL *)url
resolvingAgainstBaseURL: (BOOL)resolve;
- (NSString *) string;
- (void) setString: (NSString *)urlString;
- (NSURL *) URL;
- (void) setURL: (NSURL *)url;
- (NSURL *)URLRelativeToURL: (NSURL *)baseURL;
- (NSString *) fragment;
- (void) setFragment: (NSString *)fragment;
- (NSString *) host;
- (void) setHost: (NSString *)host;
- (NSString *) password;
- (void) setPassword: (NSString *)password;
- (NSString *) path;
- (void) setPath: (NSString *)path;
- (NSNumber *) port;
- (void) setPort: (NSNumber *)port;
- (NSString *) query;
- (void) setQuery: (NSString *)query;
- (NSArray *) queryItems;
- (void) setQueryItems: (NSArray *)queryItems;
- (NSString *) scheme;
- (void) setScheme: (NSString *)scheme;
- (NSString *) user;
- (void) setUser: (NSString *)user;
- (NSString *) percentEncodedFragment;
- (void) setPercentEncodedFragment: (NSString *)fragment;
- (NSString *) percentEncodedHost;
- (void) setPercentEncodedHost: (NSString *)host;
- (NSString *) percentEncodedPassword;
- (void) setPercentEncodedPassword: (NSString *)password;
- (NSString *) percentEncodedPath;
- (void) setPercentEncodedPath: (NSString *)path;
- (NSString *) percentEncodedQuery;
- (void) setPercentEncodedQuery: (NSString *)query;
- (NSArray *) percentEncodedQueryItems;
- (void) setPercentEncodedQueryItems: (NSArray *)queryItems;
- (NSString *) percentEncodedUser;
- (void) setPercentEncodedUser: (NSString *)user;
- (NSRange) rangeOfFragment;
- (NSRange) rangeOfHost;
- (NSRange) rangeOfPassword;
- (NSRange) rangeOfPath;
- (NSRange) rangeOfPort;
- (NSRange) rangeOfQuery;
- (NSRange) rangeOfScheme;
- (NSRange) rangeOfUser;
@end
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileCoordinator.h" 2
@class NSArray, NSError, NSMutableDictionary, NSOperationQueue, NSSet;
@protocol NSFilePresenter;
enum {
NSFileCoordinatorReadingWithoutChanges = 1 << 0,
NSFileCoordinatorReadingResolvesSymbolicLink = 1 << 1,
NSFileCoordinatorReadingImmediatelyAvailableMetadataOnly = 1 << 2,
NSFileCoordinatorReadingForUploading = 1 << 3,
};
typedef NSUInteger NSFileCoordinatorReadingOptions;
enum {
NSFileCoordinatorWritingForDeleting = 1 << 0,
NSFileCoordinatorWritingForMoving = 1 << 1,
NSFileCoordinatorWritingForMerging = 1 << 2,
NSFileCoordinatorWritingForReplacing = 1 << 3,
NSFileCoordinatorWritingContentIndependentMetadataOnly = 1 << 4,
};
typedef NSUInteger NSFileCoordinatorWritingOptions;
@interface NSFileAccessIntent : NSObject
{
NSURL *_url;
BOOL _isRead;
NSInteger _options;
}
+ (instancetype) readingIntentWithURL: (NSURL *)url
options: (NSFileCoordinatorReadingOptions)options;
+ (instancetype) writingIntentWithURL: (NSURL *)url
options: (NSFileCoordinatorWritingOptions)options;
- (NSURL *) URL;
@end
typedef void(^GSNoEscapeReadWriteHandler)(NSURL*, NSURL*);
typedef void(^GSNoEscapeNewURLHandler)(NSURL*);
typedef void(^GSAccessorCallbackHandler)(NSError*);
typedef void(^GSDualWriteURLCallbackHandler)(NSURL*, NSURL*);
typedef void(^GSBatchAccessorCompletionHandler)();
typedef void(^GSBatchAccessorCompositeBlock)(GSBatchAccessorCompletionHandler);
@interface NSFileCoordinator : NSObject
{
id _purposeIdentifier;
BOOL _isCancelled;
}
+ (NSArray *) filePresenters;
- (NSString *) purposeIdentifier;
- (void) setPurposeIdentifier: (NSString *)ident;
- (void)cancel;
- (void)coordinateAccessWithIntents: (NSArray *)intents
queue: (NSOperationQueue *)queue
byAccessor: (GSAccessorCallbackHandler)accessor;
- (void)coordinateReadingItemAtURL: (NSURL *)readingURL
options: (NSFileCoordinatorReadingOptions)readingOptions
writingItemAtURL: (NSURL *)writingURL
options: (NSFileCoordinatorWritingOptions)writingOptions
error: (NSError **)outError
byAccessor: (GSNoEscapeReadWriteHandler)readerWriter;
- (void)coordinateReadingItemAtURL: (NSURL *)url
options: (NSFileCoordinatorReadingOptions)options
error: (NSError **)outError
byAccessor: (GSNoEscapeNewURLHandler)reader;
- (void)coordinateWritingItemAtURL: (NSURL *)url
options: (NSFileCoordinatorWritingOptions)options error:(NSError **)outError
byAccessor: (GSNoEscapeNewURLHandler)writer;
- (void)coordinateWritingItemAtURL: (NSURL *)url1
options: (NSFileCoordinatorWritingOptions)options1
writingItemAtURL: (NSURL *)url2
options: (NSFileCoordinatorWritingOptions)options2
error: (NSError **)outError
byAccessor: (GSDualWriteURLCallbackHandler)writer;
- (void)itemAtURL: (NSURL *)oldURL didMoveToURL: (NSURL *)newURL;
- (void)itemAtURL: (NSURL *)oldURL willMoveToURL: (NSURL *)newURL;
- (void)itemAtURL: (NSURL *)url didChangeUbiquityAttributes: (NSSet *)attributes;
- (void)prepareForReadingItemsAtURLs: (NSArray *)readingURLs
options: (NSFileCoordinatorReadingOptions)readingOptions
writingItemsAtURLs: (NSArray *)writingURLs
options: (NSFileCoordinatorWritingOptions)writingOptions
error: (NSError **)outError
byAccessor: (GSBatchAccessorCompositeBlock)batchAccessor;
@end
# 81 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h"
@class NSData;
@class NSError;
@class NSString;
@class NSURL;
@interface NSFileHandle : NSObject
+ (instancetype) fileHandleForReadingAtPath: (NSString*)path;
+ (instancetype) fileHandleForWritingAtPath: (NSString*)path;
+ (instancetype) fileHandleForUpdatingAtPath: (NSString*)path;
+ (instancetype) fileHandleWithStandardError;
+ (instancetype) fileHandleWithStandardInput;
+ (instancetype) fileHandleWithStandardOutput;
+ (instancetype) fileHandleWithNullDevice;
+ (instancetype) fileHandleForReadingFromURL: (NSURL*)url error:(NSError**)error;
+ (instancetype) fileHandleForWritingToURL: (NSURL*)url error:(NSError**)error;
+ (instancetype) fileHandleForUpdatingURL: (NSURL*)url error:(NSError**)error;
- (id) initWithFileDescriptor: (int)desc;
- (id) initWithFileDescriptor: (int)desc closeOnDealloc: (BOOL)flag;
- (id) initWithNativeHandle: (void*)hdl;
- (id) initWithNativeHandle: (void*)hdl closeOnDealloc: (BOOL)flag;
- (int) fileDescriptor;
- (void*) nativeHandle;
- (NSData*) availableData;
- (NSData*) readDataToEndOfFile;
- (NSData*) readDataOfLength: (unsigned int)len;
- (void) writeData: (NSData*)item;
- (void) acceptConnectionInBackgroundAndNotify;
- (void) acceptConnectionInBackgroundAndNotifyForModes: (NSArray*)modes;
- (void) readInBackgroundAndNotify;
- (void) readInBackgroundAndNotifyForModes: (NSArray*)modes;
- (void) readToEndOfFileInBackgroundAndNotify;
- (void) readToEndOfFileInBackgroundAndNotifyForModes: (NSArray*)modes;
- (void) waitForDataInBackgroundAndNotify;
- (void) waitForDataInBackgroundAndNotifyForModes: (NSArray*)modes;
- (unsigned long long) offsetInFile;
- (unsigned long long) seekToEndOfFile;
- (void) seekToFileOffset: (unsigned long long)pos;
- (void) closeFile;
- (void) synchronizeFile;
- (void) truncateFileAtOffset: (unsigned long long)pos;
@end
# 115 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h"
extern NSString * const NSFileHandleConnectionAcceptedNotification;
extern NSString * const NSFileHandleDataAvailableNotification;
extern NSString * const NSFileHandleReadCompletionNotification;
extern NSString * const NSFileHandleReadToEndOfFileCompletionNotification;
extern NSString * const NSFileHandleNotificationDataItem;
extern NSString * const NSFileHandleNotificationFileHandleItem;
extern NSString * const NSFileHandleNotificationMonitorModes;
extern NSString * const NSFileHandleOperationException;
@interface NSPipe : NSObject
{
# 184 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h"
}
+ (id) pipe;
- (NSFileHandle*) fileHandleForReading;
- (NSFileHandle*) fileHandleForWriting;
@end
@interface NSFileHandle (GNUstepExtensions)
+ (id) fileHandleAsServerAtAddress: (NSString*)address
service: (NSString*)service
protocol: (NSString*)protocol;
+ (id) fileHandleAsClientAtAddress: (NSString*)address
service: (NSString*)service
protocol: (NSString*)protocol;
+ (id) fileHandleAsClientInBackgroundAtAddress: (NSString*)address
service: (NSString*)service
protocol: (NSString*)protocol;
+ (id) fileHandleAsClientInBackgroundAtAddress: (NSString*)address
service: (NSString*)service
protocol: (NSString*)protocol
forModes: (NSArray*)modes;
- (void) readDataInBackgroundAndNotifyLength: (unsigned)len;
- (void) readDataInBackgroundAndNotifyLength: (unsigned)len
forModes: (NSArray*)modes;
- (BOOL) readInProgress;
- (NSString*) socketAddress;
- (NSString*) socketLocalAddress;
- (NSString*) socketLocalService;
- (NSString*) socketService;
- (NSString*) socketProtocol;
- (BOOL) useCompression;
- (void) writeInBackgroundAndNotify: (NSData*)item forModes: (NSArray*)modes;
- (void) writeInBackgroundAndNotify: (NSData*)item;
- (BOOL) writeInProgress;
@end
# 244 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h"
@interface NSFileHandle (GNUstepTLS)
+ (Class) sslClass;
- (BOOL) sslAccept;
- (BOOL) sslConnect;
- (void) sslDisconnect;
# 274 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h"
- (BOOL) sslHandshakeEstablished: (BOOL*)result outgoing: (BOOL)isOutgoing;
- (NSString*) sslIssuer;
- (NSString*) sslOwner;
- (void) sslSetCertificate: (NSString*)certFile
privateKey: (NSString*)privateKey
PEMpasswd: (NSString*)PEMpasswd;
# 373 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h"
- (NSString*) sslSetOptions: (NSDictionary*)options;
# 382 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h"
+ (void) setData: (NSData*)data forTLSFile: (NSString*)fileName;
@end
extern NSString * const GSTLSCAFile;
extern NSString * const GSTLSCertificateFile;
extern NSString * const GSTLSCertificateKeyFile;
extern NSString * const GSTLSCertificateKeyPassword;
extern NSString * const GSTLSDebug;
extern NSString * const GSTLSPriority;
extern NSString * const GSTLSIssuers;
extern NSString * const GSTLSOwners;
extern NSString * const GSTLSRemoteHosts;
extern NSString * const GSTLSRevokeFile;
extern NSString * const GSTLSServerName;
extern NSString * const GSTLSVerify;
extern NSString * const GSFileHandleConnectCompletionNotification;
extern NSString * const GSFileHandleWriteCompletionNotification;
extern NSString * const GSFileHandleNotificationError;
# 467 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSFileHandle+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSFileHandle+GNUstepBase.h"
@interface NSFileHandle(GNUstepBase)
+ (id) fileHandleAsServerAtAddress: (NSString*)address
service: (NSString*)service
protocol: (NSString*)protocol;
- (NSString*) socketAddress;
@end
# 468 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h" 2
# 82 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h" 1
# 178 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h"
@class NSDictionary;
@class NSMutableDictionary;
@class NSString;
# 51 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h"
extern void
GSSetUserName(NSString *aName);
# 79 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h"
extern NSMutableDictionary*
GNUstepConfig(NSDictionary *newConfig);
extern NSString*
GSDefaultsRootForUser(NSString *userName);
# 100 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h"
extern void
GNUstepUserConfig(NSMutableDictionary *config, NSString *userName);
extern NSString *NSUserName(void);
extern NSString *NSHomeDirectory(void);
extern NSString *NSHomeDirectoryForUser(NSString *loginName);
enum
{
NSApplicationDirectory = 1,
NSDemoApplicationDirectory,
NSDeveloperApplicationDirectory,
NSAdminApplicationDirectory,
NSLibraryDirectory,
NSDeveloperDirectory,
NSUserDirectory,
NSDocumentationDirectory,
NSDocumentDirectory,
NSCoreServicesDirectory,
NSDesktopDirectory = 12,
NSCachesDirectory = 13,
NSApplicationSupportDirectory = 14,
NSDownloadsDirectory = 15,
NSMoviesDirectory = 17,
NSMusicDirectory = 18,
NSPicturesDirectory = 19,
NSItemReplacementDirectory = 99,
NSAllApplicationsDirectory = 100,
NSAllLibrariesDirectory = 101,
NSTrashDirectory = 102,
GSLibrariesDirectory = 1000,
GSToolsDirectory,
GSFontsDirectory,
GSFrameworksDirectory,
GSWebApplicationsDirectory,
GSAdminToolsDirectory
};
# 192 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h"
typedef NSUInteger NSSearchPathDirectory;
enum
{
NSUserDomainMask = 1,
NSLocalDomainMask = 2,
NSNetworkDomainMask = 4,
NSSystemDomainMask = 8,
NSAllDomainsMask = 0x0ffff
};
typedef NSUInteger NSSearchPathDomainMask;
# 221 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h"
extern NSArray *NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory directoryKey, NSSearchPathDomainMask domainMask, BOOL expandTilde);
extern NSString *NSFullUserName(void);
extern NSArray *NSStandardApplicationPaths(void);
extern NSArray *NSStandardLibraryPaths(void);
# 250 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h"
extern NSString *NSTemporaryDirectory(void);
# 263 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h"
extern NSString *NSOpenStepRootDirectory(void);
# 179 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h" 2
@class NSNumber;
@class NSString;
@class NSData;
@class NSDate;
@class NSArray;
@class NSMutableArray;
@class NSEnumerator;
@class NSDirectoryEnumerator;
@class NSError;
@class NSURL;
@protocol NSFileManagerDelegate;
typedef uint32_t OSType;
typedef BOOL(^GSDirEnumErrorHandler)(NSURL*, NSError*);
enum _NSDirectoryEnumerationOptions
{
NSDirectoryEnumerationSkipsSubdirectoryDescendants = 1L << 0,
NSDirectoryEnumerationSkipsPackageDescendants = 1L << 1,
NSDirectoryEnumerationSkipsHiddenFiles = 1L << 2
};
typedef NSUInteger NSDirectoryEnumerationOptions;
@interface NSFileManager : NSObject
{
# 229 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
}
+ (NSFileManager*) defaultManager;
@property (assign) id<NSFileManagerDelegate> delegate;
- (NSDictionary *) attributesOfItemAtPath: (NSString*)path
error: (NSError**)error;
# 257 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
- (BOOL) copyItemAtPath: (NSString*)src
toPath: (NSString*)dst
error: (NSError**)error;
- (BOOL) moveItemAtPath: (NSString*)src
toPath: (NSString*)dst
error: (NSError**)error;
- (BOOL) removeItemAtPath: (NSString*)path
error: (NSError**)error;
# 286 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
- (BOOL) copyItemAtURL: (NSURL*)src
toURL: (NSURL*)dst
error: (NSError**)error;
- (BOOL) moveItemAtURL: (NSURL*)src
toURL: (NSURL*)dst
error: (NSError**)error;
- (BOOL) removeItemAtURL: (NSURL*)url
error: (NSError**)error;
- (BOOL) createSymbolicLinkAtPath: (NSString*)path
withDestinationPath: (NSString*)destPath
error: (NSError**)error;
- (BOOL) setAttributes:(NSDictionary *)attributes ofItemAtPath:(NSString *)path error:(NSError **)error;
# 326 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
- (BOOL) changeCurrentDirectoryPath: (NSString*)path;
- (BOOL) changeFileAttributes: (NSDictionary*)attributes
atPath: (NSString*)path;
- (NSArray*) componentsToDisplayForPath: (NSString*)path;
- (NSData*) contentsAtPath: (NSString*)path;
- (BOOL) contentsEqualAtPath: (NSString*)path1
andPath: (NSString*)path2;
# 344 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
- (NSArray*) contentsOfDirectoryAtURL: (NSURL*)url
includingPropertiesForKeys: (NSArray*)keys
options: (NSDirectoryEnumerationOptions)mask
error: (NSError **)error;
- (NSURL *)URLForDirectory: (NSSearchPathDirectory)directory
inDomain: (NSSearchPathDomainMask)domain
appropriateForURL: (NSURL *)url
create: (BOOL)shouldCreate
error: (NSError **)error;
- (NSDirectoryEnumerator *)enumeratorAtURL: (NSURL *)url
includingPropertiesForKeys: (NSArray *)keys
options: (NSDirectoryEnumerationOptions)mask
errorHandler: (GSDirEnumErrorHandler)handler;
# 377 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
- (NSArray*) contentsOfDirectoryAtPath: (NSString*)path error: (NSError**)error;
- (NSDictionary*) attributesOfFileSystemForPath: (NSString*)path
error: (NSError**)error;
- (BOOL) copyPath: (NSString*)source
toPath: (NSString*)destination
handler: (id)handler;
- (BOOL) createDirectoryAtPath: (NSString *)path
withIntermediateDirectories: (BOOL)flag
attributes: (NSDictionary *)attributes
error: (NSError **) error;
- (BOOL) createDirectoryAtURL: (NSURL *)url
withIntermediateDirectories: (BOOL)flag
attributes: (NSDictionary *)attributes
error: (NSError **) error;
- (BOOL) createDirectoryAtPath: (NSString*)path
attributes: (NSDictionary*)attributes;
- (BOOL) createFileAtPath: (NSString*)path
contents: (NSData*)contents
attributes: (NSDictionary*)attributes;
- (BOOL) createSymbolicLinkAtPath: (NSString*)path
pathContent: (NSString*)otherPath;
- (NSString*) currentDirectoryPath;
- (NSArray*) directoryContentsAtPath: (NSString*)path;
- (NSString*) displayNameAtPath: (NSString*)path;
# 415 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
- (NSDirectoryEnumerator*) enumeratorAtPath: (NSString*)path;
- (NSDictionary*) fileAttributesAtPath: (NSString*)path
traverseLink: (BOOL)flag;
- (BOOL) fileExistsAtPath: (NSString*)path;
- (BOOL) fileExistsAtPath: (NSString*)path isDirectory: (BOOL*)isDirectory;
- (NSDictionary*) fileSystemAttributesAtPath: (NSString*)path;
# 449 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
- (const char*) fileSystemRepresentationWithPath: (NSString*)path;
- (BOOL) isExecutableFileAtPath: (NSString*)path;
- (BOOL) isDeletableFileAtPath: (NSString*)path;
- (BOOL) isReadableFileAtPath: (NSString*)path;
- (BOOL) isWritableFileAtPath: (NSString*)path;
- (BOOL) linkPath: (NSString*)source
toPath: (NSString*)destination
handler: (id)handler;
- (BOOL) movePath: (NSString*)source
toPath: (NSString*)destination
handler: (id)handler;
- (NSString*) pathContentOfSymbolicLinkAtPath: (NSString*)path;
# 470 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
- (BOOL) removeFileAtPath: (NSString*)path
handler: (id)handler;
# 485 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
- (NSString*) stringWithFileSystemRepresentation: (const char*)string
length: (NSUInteger)len;
- (NSArray*) subpathsAtPath: (NSString*)path;
@end
@interface NSObject (NSFileManagerHandler)
# 536 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
- (BOOL) fileManager: (NSFileManager*)fileManager
shouldProceedAfterError: (NSDictionary*)errorDictionary;
- (void) fileManager: (NSFileManager*)fileManager
willProcessPath: (NSString*)path;
@end
# 563 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
@interface NSDirectoryEnumerator : NSEnumerator
{
# 589 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h"
}
- (NSDictionary*) directoryAttributes;
- (NSDictionary*) fileAttributes;
- (void) skipDescendents;
@end
extern NSString* const NSFileAppendOnly;
extern NSString* const NSFileCreationDate;
extern NSString* const NSFileDeviceIdentifier;
extern NSString* const NSFileExtensionHidden;
extern NSString* const NSFileGroupOwnerAccountID;
extern NSString* const NSFileGroupOwnerAccountName;
extern NSString* const NSFileHFSCreatorCode;
extern NSString* const NSFileHFSTypeCode;
extern NSString* const NSFileImmutable;
extern NSString* const NSFileModificationDate;
extern NSString* const NSFileOwnerAccountID;
extern NSString* const NSFileOwnerAccountName;
extern NSString* const NSFilePosixPermissions;
extern NSString* const NSFileReferenceCount;
extern NSString* const NSFileSize;
extern NSString* const NSFileSystemFileNumber;
extern NSString* const NSFileSystemNumber;
extern NSString* const NSFileType;
extern NSString* const NSFileTypeDirectory;
extern NSString* const NSFileTypeRegular;
extern NSString* const NSFileTypeSymbolicLink;
extern NSString* const NSFileTypeSocket;
extern NSString* const NSFileTypeFifo;
extern NSString* const NSFileTypeCharacterSpecial;
extern NSString* const NSFileTypeBlockSpecial;
extern NSString* const NSFileTypeUnknown;
extern NSString* const NSFileSystemSize;
extern NSString* const NSFileSystemFreeSize;
extern NSString* const NSFileSystemNodes;
extern NSString* const NSFileSystemFreeNodes;
@interface NSDictionary(NSFileAttributes)
- (NSDate*) fileCreationDate;
- (BOOL) fileExtensionHidden;
- (OSType) fileHFSCreatorCode;
- (OSType) fileHFSTypeCode;
- (BOOL) fileIsAppendOnly;
- (BOOL) fileIsImmutable;
- (unsigned long long) fileSize;
- (NSString*) fileType;
- (NSNumber*) fileOwnerAccountID;
- (NSString*) fileOwnerAccountName;
- (NSNumber*) fileGroupOwnerAccountID;
- (NSString*) fileGroupOwnerAccountName;
- (NSDate*) fileModificationDate;
- (NSUInteger) filePosixPermissions;
- (NSUInteger) fileSystemNumber;
- (NSUInteger) fileSystemFileNumber;
@end
@protocol NSFileManagerDelegate <NSObject>
@optional
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldCopyItemAtPath: (NSString *)srcPath
toPath: (NSString *)dstPath;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldCopyItemAtURL: (NSURL *)srcURL
toURL: (NSURL *)dstURL;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldProceedAfterError: (NSError *)error
copyingItemAtPath: (NSString *)srcPath
toPath: (NSString *)dstPath;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldProceedAfterError: (NSError *)error
copyingItemAtURL: (NSURL *)srcURL
toURL: (NSURL *)dstURL;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldMoveItemAtPath: (NSString *)srcPath
toPath: (NSString *)dstPath;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldMoveItemAtURL: (NSURL *)srcURL
toURL: (NSURL *)dstURL;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldProceedAfterError: (NSError *)error
movingItemAtPath: (NSString *)srcPath
toPath: (NSString *)dstPath;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldProceedAfterError: (NSError *)error
movingItemAtURL: (NSURL *)srcURL
toURL: (NSURL *)dstURL;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldLinkItemAtPath: (NSString *)srcPath
toPath: (NSString *)dstPath;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldLinkItemAtURL: (NSURL *)srcURL
toURL: (NSURL *)dstURL;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldProceedAfterError: (NSError *)error
linkingItemAtPath: (NSString *)srcPath
toPath: (NSString *)dstPath;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldProceedAfterError: (NSError *)error
linkingItemAtURL: (NSURL *)srcURL
toURL: (NSURL *)dstURL;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldRemoveItemAtPath: (NSString *)path;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldRemoveItemAtURL: (NSURL *)URL;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldProceedAfterError: (NSError *)error
removingItemAtPath: (NSString *)path;
- (BOOL)fileManager: (NSFileManager *)fileManager
shouldProceedAfterError: (NSError *)error
removingItemAtURL: (NSURL *)URL;
@end
# 83 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSFilePresenter.h" 1
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSFilePresenter.h"
@class NSError, NSFileVersion, NSOperationQueue, NSSet;
typedef void(^GSFilePresenterCompletionHandler)();
typedef void(^GSFilePresenterSubitemDeletionHandler)(NSError*);
typedef void(^GSFilePresenterReacquirer)();
typedef void(^GSFilePresentedItemChangesWithCompletionHandler)(NSError*);
@protocol NSFilePresenter <NSObject>
- (NSURL *) presentedItemURL;
- (NSOperationQueue *) presentedItemOperationQueue;
@optional
- (NSURL *) primaryPresentedItemURL;
- (NSString *) observedPresentedItemUbiquityAttributes;
- (void) accommodatePresentedItemDeletionWithCompletionHandler: (GSFilePresenterCompletionHandler)completionHandler;
- (void) accommodatePresentedSubitemDeletionAtURL:(NSURL *)url completionHandler: (GSFilePresenterSubitemDeletionHandler)completionHandler;
- (void) presentedItemDidChange;
- (void) presentedItemDidChangeUbiquityAttributes: (NSSet *)attributes;
- (void) presentedItemDidGainVersion: (NSFileVersion *)version;
- (void) presentedItemDidLoseVersion: (NSFileVersion *)version;
- (void) presentedItemDidMoveToURL: (NSURL *)newURL;
- (void) presentedItemDidResolveConflictVersion: (NSFileVersion *)version;
- (void) presentedSubitemAtURL: (NSURL *)oldURL didMoveToURL: (NSURL *)newURL;
- (void) presentedSubitemAtURL: (NSURL *)url didGainVersion: (NSFileVersion *)version;
- (void) presentedSubitemAtURL: (NSURL *)url didLoseVersion: (NSFileVersion *)version;
- (void) presentedSubitemAtURL: (NSURL *)url didResolveConflictVersion: (NSFileVersion *)version;
- (void) presentedSubitemDidAppearAtURL: (NSURL *)url;
- (void) presentedSubitemDidChangeAtURL: (NSURL *)url;
- (void) relinquishPresentedItemToReader: (GSFilePresenterReacquirer)reader;
- (void) relinquishPresentedItemToWriter: (GSFilePresenterReacquirer)writer;
- (void) savePresentedItemChangesWithCompletionHandler: (GSFilePresentedItemChangesWithCompletionHandler)completionHandler;
@end
# 84 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileVersion.h" 1
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileVersion.h"
@class NSArray, NSDate, NSDictionary, NSError, NSString, NSURL, NSPersonNameComponents;
enum {
NSFileVersionReplacingByMoving = 1 << 0
};
typedef NSUInteger NSFileVersionReplacingOptions;
enum {
NSFileVersionAddingByMoving = 1 << 0
};
typedef NSUInteger NSFileVersionAddingOptions;
@interface NSFileVersion : NSObject
{
@private
NSURL *_fileURL;
NSURL *_contentsURL;
id _persistentIdentifier;
id _nonLocalVersion;
BOOL _isResolved;
BOOL _isDiscardable;
BOOL _hasThumbnail;
BOOL _hasLocalContents;
BOOL _conflict;
NSString *_localizedName;
NSString *_localizedNameOfSavingComputer;
NSDate *_modificationDate;
}
+ (NSFileVersion *)currentVersionOfItemAtURL: (NSURL *)url;
+ (NSArray *)otherVersionsOfItemAtURL: (NSURL *)url;
+ (NSFileVersion *)versionOfItemAtURL: (NSURL *)url
forPersistentIdentifier: (id)persistentIdentifier;
+ (NSURL *)temporaryDirectoryURLForNewVersionOfItemAtURL: (NSURL *)url;
+ (NSFileVersion *)addVersionOfItemAtURL: (NSURL *)url
withContentsOfURL: (NSURL *)contentsURL
options: (NSFileVersionAddingOptions)options
error: (NSError **)outError;
+ (NSArray *)unresolvedConflictVersionsOfItemAtURL: (NSURL *)url;
+ (BOOL)removeOtherVersionsOfItemAtURL: (NSURL *)url
error: (NSError **)outError;
- (BOOL) isDiscardable;
- (void) setDiscardable: (BOOL)flag;
- (BOOL) isResolved;
- (void) setResolved: (BOOL)flag;
- (NSDate *) modificationDate;
- (NSPersonNameComponents *) originatorNameComponents;
- (NSString *) localizedName;
- (NSString *) localizedNameOfSavingComputer;
- (BOOL) hasLocalContents;
- (BOOL) hasThumbnail;
- (NSURL *) URL;
- (BOOL) conflict;
- (id<NSCoding>) persistentIdentifier;
- (BOOL) removeAndReturnError: (NSError **)outError;
- (NSURL *) replaceItemAtURL: (NSURL *)url
options: (NSFileVersionReplacingOptions)options
error: (NSError **)error;
@end
# 85 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileWrapper.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileWrapper.h"
@class NSData;
@class NSDictionary;
@class NSError;
@class NSMutableDictionary;
@class NSString;
@class NSURL;
typedef enum
{
GSFileWrapperDirectoryType,
GSFileWrapperRegularFileType,
GSFileWrapperSymbolicLinkType
} GSFileWrapperType;
enum {
NSFileWrapperReadingImmediate = 1,
NSFileWrapperReadingWithoutMapping = 2,
};
typedef NSUInteger NSFileWrapperReadingOptions;
enum {
NSFileWrapperWritingAtomic = 1,
NSFileWrapperWritingWithNameUpdating = 2,
};
typedef NSUInteger NSFileWrapperWritingOptions;
@interface NSFileWrapper : NSObject
{
NSString *_filename;
NSString *_preferredFilename;
NSMutableDictionary *_fileAttributes;
GSFileWrapperType _wrapperType;
id _wrapperData;
id _icon;
}
- (id)initDirectoryWithFileWrappers:(NSDictionary *)docs;
- (id)initRegularFileWithContents:(NSData *)data;
- (id)initSymbolicLinkWithDestination:(NSString *)path;
- (id)initWithPath:(NSString *)path;
- (id)initWithSerializedRepresentation:(NSData *)data;
# 104 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileWrapper.h"
- (BOOL)writeToFile:(NSString *)path
atomically:(BOOL)atomicFlag
updateFilenames:(BOOL)updateFilenamesFlag;
- (NSData *)serializedRepresentation;
- (void)setFilename:(NSString *)filename;
- (NSString *)filename;
- (void)setPreferredFilename:(NSString *)filename;
- (NSString *)preferredFilename;
- (void)setFileAttributes:(NSDictionary *)attributes;
- (NSDictionary *)fileAttributes;
- (BOOL)isRegularFile;
- (BOOL)isDirectory;
- (BOOL)isSymbolicLink;
- (BOOL)needsToBeUpdatedFromPath:(NSString *)path;
- (BOOL)updateFromPath:(NSString *)path;
- (NSString *)addFileWrapper:(NSFileWrapper *)doc;
- (void)removeFileWrapper:(NSFileWrapper *)doc;
- (NSDictionary *)fileWrappers;
- (NSString *)keyForFileWrapper:(NSFileWrapper *)doc;
- (NSString *)addFileWithPath:(NSString *)path;
- (NSString *)addRegularFileWithContents:(NSData *)data
preferredFilename:(NSString *)filename;
- (NSString *)addSymbolicLinkWithDestination:(NSString *)path
preferredFilename:(NSString *)filename;
- (NSData *)regularFileContents;
- (NSString *)symbolicLinkDestination;
- (id)initSymbolicLinkWithDestinationURL:(NSURL *)url;
- (id)initWithURL:(NSURL *)url
options:(NSFileWrapperReadingOptions)options
error:(NSError **)outError;
- (BOOL)matchesContentsOfURL:(NSURL *)url;
- (BOOL)readFromURL:(NSURL *)url
options:(NSFileWrapperReadingOptions)options
error:(NSError **)outError;
- (NSURL *)symbolicLinkDestinationURL;
- (BOOL)writeToURL:(NSURL *)url
options:(NSFileWrapperWritingOptions)options
originalContentsURL:(NSURL *)originalContentsURL
error:(NSError **)outError;
@end
# 86 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSGarbageCollector.h" 1
# 42 "/usr/GNUstep/System/Library/Headers/Foundation/NSGarbageCollector.h"
@interface NSGarbageCollector : NSObject
+ (id) defaultCollector;
- (void) collectIfNeeded;
- (void) collectExhaustively;
- (void) disable;
- (void) disableCollectorForPointer: (void *)ptr;
- (void) enable;
- (void) enableCollectorForPointer: (void *)ptr;
- (BOOL) isCollecting;
- (BOOL) isEnabled;
- (NSZone*) zone;
@end
# 88 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSHashTable.h" 1
# 44 "/usr/GNUstep/System/Library/Headers/Foundation/NSHashTable.h"
@class NSArray<ElementT>;
@class NSSet<ElementT>;
enum {
NSHashTableStrongMemory
= NSPointerFunctionsStrongMemory,
NSHashTableZeroingWeakMemory
= NSPointerFunctionsZeroingWeakMemory,
NSHashTableCopyIn
= NSPointerFunctionsCopyIn,
NSHashTableObjectPointerPersonality
= NSPointerFunctionsObjectPointerPersonality,
NSHashTableWeakMemory
= NSPointerFunctionsWeakMemory
};
typedef NSUInteger NSHashTableOptions;
@interface NSHashTable<ElementT> : NSObject <NSCopying, NSCoding, NSFastEnumeration>
+ (instancetype) hashTableWithOptions: (NSPointerFunctionsOptions)options;
+ (instancetype) hashTableWithWeakObjects;
+ (instancetype) weakObjectsHashTable;
- (instancetype) initWithOptions: (NSPointerFunctionsOptions)options
capacity: (NSUInteger)initialCapacity;
- (instancetype) initWithPointerFunctions: (NSPointerFunctions*)functions
capacity: (NSUInteger)initialCapacity;
- (void) addObject: (ElementT)object;
- (NSArray<ElementT>*) allObjects;
- (ElementT) anyObject;
- (BOOL) containsObject: (ElementT)anObject;
- (NSUInteger) count;
- (void) intersectHashTable: (NSHashTable<ElementT>*)other;
- (BOOL) intersectsHashTable: (NSHashTable<ElementT>*)other;
- (BOOL) isEqualToHashTable: (NSHashTable<ElementT>*)other;
- (BOOL) isSubsetOfHashTable: (NSHashTable<ElementT>*)other;
- (ElementT) member: (ElementT)object;
- (void) minusHashTable: (NSHashTable<ElementT>*)other;
- (NSEnumerator<ElementT>*) objectEnumerator;
- (NSPointerFunctions*) pointerFunctions;
- (void) removeAllObjects;
- (void) removeObject: (ElementT)object;
- (NSSet<ElementT>*) setRepresentation;
- (void) unionHashTable: (NSHashTable<ElementT>*)other;
@end
typedef struct { void *map; void *node; size_t bucket; } NSHashEnumerator;
typedef struct _NSHashTableCallBacks
{
NSUInteger (*hash)(NSHashTable *, const void *);
BOOL (*isEqual)(NSHashTable *, const void *, const void *);
void (*retain)(NSHashTable *, const void *);
void (*release)(NSHashTable *, void *);
NSString *(*describe)(NSHashTable *, const void *);
} NSHashTableCallBacks;
extern const NSHashTableCallBacks NSIntegerHashCallBacks;
extern const NSHashTableCallBacks NSIntHashCallBacks;
extern const NSHashTableCallBacks NSNonOwnedPointerHashCallBacks;
extern const NSHashTableCallBacks NSNonRetainedObjectHashCallBacks;
extern const NSHashTableCallBacks NSObjectHashCallBacks;
extern const NSHashTableCallBacks NSOwnedPointerHashCallBacks;
extern const NSHashTableCallBacks NSPointerToStructHashCallBacks;
extern NSHashTable *
NSCreateHashTable(NSHashTableCallBacks callBacks,
NSUInteger capacity);
extern NSHashTable *
NSCreateHashTableWithZone(NSHashTableCallBacks callBacks,
NSUInteger capacity,
NSZone *zone);
extern NSHashTable *
NSCopyHashTableWithZone(NSHashTable *table, NSZone *zone);
extern void
NSFreeHashTable(NSHashTable *table);
extern void
NSResetHashTable(NSHashTable *table);
extern BOOL
NSCompareHashTables(NSHashTable *table1, NSHashTable *table2);
extern NSUInteger
NSCountHashTable(NSHashTable *table);
extern void *
NSHashGet(NSHashTable *table, const void *element);
extern NSArray *
NSAllHashTableObjects(NSHashTable *table);
extern void
NSEndHashTableEnumeration(NSHashEnumerator *enumerator);
extern NSHashEnumerator
NSEnumerateHashTable(NSHashTable *table);
extern void *
NSNextHashEnumeratorItem(NSHashEnumerator *enumerator);
extern void
NSHashInsert(NSHashTable *table, const void *element);
extern void
NSHashInsertKnownAbsent(NSHashTable *table, const void *element);
extern void *
NSHashInsertIfAbsent(NSHashTable *table, const void *element);
extern void
NSHashRemove(NSHashTable *table, const void *element);
extern NSString *
NSStringFromHashTable(NSHashTable *table);
# 90 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSHFSFileTypes.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSHFSFileTypes.h"
@class NSString;
extern NSString *NSFileTypeForHFSTypeCode(NSUInteger hfsFileTypeCode);
extern NSUInteger NSHFSTypeCodeFromFileType(NSString *fileTypeString);
extern NSString *NSHFSTypeOfFile(NSString *fullFilePath);
# 91 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSHost.h" 1
# 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSHost.h"
@class NSString, NSArray, NSSet;
@interface NSHost : NSObject
{
# 57 "/usr/GNUstep/System/Library/Headers/Foundation/NSHost.h"
}
+ (NSHost*) currentHost;
+ (NSHost*) hostWithName: (NSString*)name;
# 76 "/usr/GNUstep/System/Library/Headers/Foundation/NSHost.h"
+ (NSHost*) hostWithAddress: (NSString*)address;
+ (void) setHostCacheEnabled: (BOOL)flag;
+ (BOOL) isHostCacheEnabled;
+ (void) flushHostCache;
- (BOOL) isEqualToHost: (NSHost*) aHost;
- (NSString*) localizedName;
- (NSString*) name;
- (NSArray*) names;
- (NSString*) address;
- (NSArray*) addresses;
@end
@interface NSHost (GNUstep)
+ (NSHost*) localHost;
@end
# 92 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSHTTPCookie.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSHTTPCookie.h"
@class NSArray;
@class NSDate;
@class NSDictionary;
@class NSString;
@class NSURL;
extern NSString * const NSHTTPCookieComment;
extern NSString * const NSHTTPCookieCommentURL;
extern NSString * const NSHTTPCookieDiscard;
extern NSString * const NSHTTPCookieDomain;
extern NSString * const NSHTTPCookieExpires;
extern NSString * const NSHTTPCookieMaximumAge;
extern NSString * const NSHTTPCookieName;
extern NSString * const NSHTTPCookieOriginURL;
extern NSString * const NSHTTPCookiePath;
extern NSString * const NSHTTPCookiePort;
extern NSString * const NSHTTPCookieSecure;
extern NSString * const NSHTTPCookieValue;
extern NSString * const NSHTTPCookieVersion;
# 67 "/usr/GNUstep/System/Library/Headers/Foundation/NSHTTPCookie.h"
@interface NSHTTPCookie : NSObject
{
}
+ (id) cookieWithProperties: (NSDictionary *)properties;
# 88 "/usr/GNUstep/System/Library/Headers/Foundation/NSHTTPCookie.h"
+ (NSArray *) cookiesWithResponseHeaderFields: (NSDictionary *)headerFields
forURL: (NSURL *)URL;
+ (NSDictionary *) requestHeaderFieldsWithCookies: (NSArray *)cookies;
- (NSString *) comment;
- (NSURL *) commentURL;
- (NSString *) domain;
- (NSDate *) expiresDate;
# 202 "/usr/GNUstep/System/Library/Headers/Foundation/NSHTTPCookie.h"
- (id) initWithProperties: (NSDictionary *)properties;
@property (readonly, getter=isSecure) BOOL secure;
# 219 "/usr/GNUstep/System/Library/Headers/Foundation/NSHTTPCookie.h"
@property (readonly, getter=isSessionOnly) BOOL sessionOnly;
@property (readonly, getter=isHTTPOnly) BOOL HTTPOnly;
# 235 "/usr/GNUstep/System/Library/Headers/Foundation/NSHTTPCookie.h"
- (NSString *) name;
- (NSString *) path;
- (NSArray *) portList;
- (NSDictionary *) properties;
- (NSString *) value;
- (NSUInteger) version;
@end
# 93 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSHTTPCookieStorage.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSHTTPCookieStorage.h"
@class NSArray;
@class NSHTTPCookie;
@class NSURL;
enum {
NSHTTPCookieAcceptPolicyAlways,
NSHTTPCookieAcceptPolicyNever,
NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain
};
typedef NSUInteger NSHTTPCookieAcceptPolicy;
extern NSString * const NSHTTPCookieManagerAcceptPolicyChangedNotification;
extern NSString * const NSHTTPCookieManagerCookiesChangedNotification;
@interface NSHTTPCookieStorage : NSObject
{
}
+ (NSHTTPCookieStorage *) sharedHTTPCookieStorage;
- (NSHTTPCookieAcceptPolicy) cookieAcceptPolicy;
- (NSArray *) cookies;
- (NSArray *) cookiesForURL: (NSURL *)URL;
- (void) deleteCookie: (NSHTTPCookie *)cookie;
- (void) setCookie: (NSHTTPCookie *)cookie;
- (void) setCookieAcceptPolicy: (NSHTTPCookieAcceptPolicy)cookieAcceptPolicy;
- (void) setCookies: (NSArray *)cookies
forURL: (NSURL *)URL
mainDocumentURL: (NSURL *)mainDocumentURL;
@end
# 94 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexPath.h" 1
# 46 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexPath.h"
@interface NSIndexPath : NSObject <NSCopying, NSCoding>
{
# 63 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexPath.h"
}
+ (id) indexPathWithIndex: (NSUInteger)anIndex;
+ (id) indexPathWithIndexes: (NSUInteger*)indexes length: (NSUInteger)length;
+ (NSIndexPath *) indexPathForItem: (NSInteger)item inSection: (NSInteger)section;
- (NSInteger) item;
- (NSInteger) section;
+ (NSIndexPath *) indexPathForRow: (NSInteger)item inSection: (NSInteger)section;
- (NSInteger) item;
# 111 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexPath.h"
- (NSComparisonResult) compare: (NSIndexPath*)other;
- (void) getIndexes: (NSUInteger*)aBuffer;
- (NSUInteger) indexAtPosition: (NSUInteger)position;
- (NSIndexPath *) indexPathByAddingIndex: (NSUInteger)anIndex;
- (NSIndexPath *) indexPathByRemovingLastIndex;
- (id) initWithIndex: (NSUInteger)anIndex;
- (id) initWithIndexes: (NSUInteger*)indexes length: (NSUInteger)length;
- (NSUInteger) length;
@end
# 95 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexSet.h" 1
# 48 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexSet.h"
@interface NSIndexSet : NSObject <NSCopying, NSMutableCopying, NSCoding>
{
}
+ (id) indexSet;
+ (id) indexSetWithIndex: (NSUInteger)anIndex;
+ (id) indexSetWithIndexesInRange: (NSRange)aRange;
- (BOOL) containsIndex: (NSUInteger)anIndex;
- (BOOL) containsIndexes: (NSIndexSet*)aSet;
- (BOOL) containsIndexesInRange: (NSRange)aRange;
- (NSUInteger) count;
- (NSUInteger) countOfIndexesInRange: (NSRange)range;
typedef void(^GSIndexSetEnumerationBlock)(NSUInteger, BOOL*);
- (void) enumerateIndexesInRange: (NSRange)range
options: (NSEnumerationOptions)opts
usingBlock: (GSIndexSetEnumerationBlock)aBlock;
- (void) enumerateIndexesUsingBlock: (GSIndexSetEnumerationBlock)aBlock;
- (void) enumerateIndexesWithOptions: (NSEnumerationOptions)opts
usingBlock: (GSIndexSetEnumerationBlock)aBlock;
typedef void(^GSIndexSetRangeEnumerationBlock)(NSRange, BOOL*);
- (void) enumerateRangesInRange: (NSRange)range
options: (NSEnumerationOptions)opts
usingBlock: (GSIndexSetRangeEnumerationBlock)aBlock;
- (void) enumerateRangesUsingBlock: (GSIndexSetRangeEnumerationBlock)aBlock;
- (void) enumerateRangesWithOptions: (NSEnumerationOptions)opts
usingBlock: (GSIndexSetRangeEnumerationBlock)aBlock;
- (NSUInteger) firstIndex;
# 144 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexSet.h"
- (NSUInteger) getIndexes: (NSUInteger*)aBuffer
maxCount: (NSUInteger)aCount
inIndexRange: (NSRangePointer)aRange;
- (NSUInteger) indexGreaterThanIndex: (NSUInteger)anIndex;
- (NSUInteger) indexGreaterThanOrEqualToIndex: (NSUInteger)anIndex;
- (NSUInteger) indexLessThanIndex: (NSUInteger)anIndex;
- (NSUInteger) indexLessThanOrEqualToIndex: (NSUInteger)anIndex;
- (id) initWithIndex: (NSUInteger)anIndex;
- (id) initWithIndexesInRange: (NSRange)aRange;
- (id) initWithIndexSet: (NSIndexSet*)aSet;
- (BOOL) intersectsIndexesInRange: (NSRange)aRange;
- (BOOL) isEqualToIndexSet: (NSIndexSet*)aSet;
- (NSUInteger) lastIndex;
@end
@interface NSMutableIndexSet : NSIndexSet
- (void) addIndex: (NSUInteger)anIndex;
- (void) addIndexes: (NSIndexSet*)aSet;
- (void) addIndexesInRange: (NSRange)aRange;
- (void) removeAllIndexes;
- (void) removeIndex: (NSUInteger)anIndex;
- (void) removeIndexes: (NSIndexSet*)aSet;
- (void) removeIndexesInRange: (NSRange)aRange;
# 255 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexSet.h"
- (void) shiftIndexesStartingAtIndex: (NSUInteger)anIndex
by: (NSInteger)amount;
@end
# 96 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSInvocation.h" 1
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSInvocation.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSMethodSignature.h" 1
# 51 "/usr/GNUstep/System/Library/Headers/Foundation/NSMethodSignature.h"
@interface NSMethodSignature : NSObject
{
}
+ (NSMethodSignature*) signatureWithObjCTypes: (const char*)t;
- (NSUInteger) frameLength;
# 81 "/usr/GNUstep/System/Library/Headers/Foundation/NSMethodSignature.h"
- (const char*) getArgumentTypeAtIndex: (NSUInteger)index;
- (BOOL) isOneway;
- (NSUInteger) methodReturnLength;
- (const char*) methodReturnType;
- (NSUInteger) numberOfArguments;
@end
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSInvocation.h" 2
@interface NSInvocation : NSObject
{
# 63 "/usr/GNUstep/System/Library/Headers/Foundation/NSInvocation.h"
}
+ (NSInvocation*) invocationWithMethodSignature: (NSMethodSignature*)_signature;
- (void) getArgument: (void*)buffer
atIndex: (NSInteger)index;
- (void) getReturnValue: (void*)buffer;
- (SEL) selector;
- (void) setArgument: (void*)buffer
atIndex: (NSInteger)index;
- (void) setReturnValue: (void*)buffer;
- (void) setSelector: (SEL)aSelector;
- (void) setTarget: (id)anObject;
- (id) target;
- (BOOL) argumentsRetained;
- (void) retainArguments;
- (BOOL) targetRetained;
- (void) retainArgumentsIncludingTarget: (BOOL)retainTargetFlag;
- (void) invoke;
- (void) invokeWithTarget: (id)anObject;
- (NSMethodSignature*) methodSignature;
@end
@interface NSInvocation (GNUstep)
- (BOOL) sendsToSuper;
- (void) setSendsToSuper: (BOOL)flag;
@end
@interface NSInvocation (MacroSetup)
- (id) initWithMethodSignature: (NSMethodSignature*)aSignature;
+ (id) _newProxyForInvocation: (id)target;
+ (id) _newProxyForMessage: (id)target;
+ (NSInvocation*) _returnInvocationAndDestroyProxy: (id)proxy;
@end
# 97 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSInvocationOperation.h" 1
# 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSInvocationOperation.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSOperation.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSOperation.h"
typedef void(^GSOperationCompletionBlock)();
typedef void(^GSBlockOperationBlock)();
@class NSMutableArray;
enum {
NSOperationQueuePriorityVeryLow = -8,
NSOperationQueuePriorityLow = -4,
NSOperationQueuePriorityNormal = 0,
NSOperationQueuePriorityHigh = 4,
NSOperationQueuePriorityVeryHigh = 8
};
typedef NSInteger NSOperationQueuePriority;
@interface NSOperation : NSObject
{
}
- (void) addDependency: (NSOperation *)op;
# 84 "/usr/GNUstep/System/Library/Headers/Foundation/NSOperation.h"
- (void) cancel;
- (GSOperationCompletionBlock) completionBlock;
- (NSArray *) dependencies;
- (BOOL) isCancelled;
- (BOOL) isConcurrent;
- (BOOL) isExecuting;
- (BOOL) isFinished;
# 128 "/usr/GNUstep/System/Library/Headers/Foundation/NSOperation.h"
- (BOOL) isReady;
# 140 "/usr/GNUstep/System/Library/Headers/Foundation/NSOperation.h"
- (void) main;
- (NSOperationQueuePriority) queuePriority;
- (void) removeDependency: (NSOperation *)op;
- (void) setCompletionBlock: (GSOperationCompletionBlock)aBlock;
- (void) setQueuePriority: (NSOperationQueuePriority)priority;
- (void) setThreadPriority: (double)prio;
# 186 "/usr/GNUstep/System/Library/Headers/Foundation/NSOperation.h"
- (void) start;
- (double) threadPriority;
- (void) waitUntilFinished;
@end
@interface NSBlockOperation : NSOperation
{
@private
NSMutableArray *_executionBlocks;
void *_reserved;
}
+ (instancetype) blockOperationWithBlock: (GSBlockOperationBlock)block;
- (void) addExecutionBlock: (GSBlockOperationBlock)block;
- (NSArray *) executionBlocks;
@end
enum {
NSOperationQueueDefaultMaxConcurrentOperationCount = -1
};
@interface NSOperationQueue : NSObject
{
}
+ (id) currentQueue;
+ (id) mainQueue;
- (void) addOperation: (NSOperation *)op;
- (void) addOperations: (NSArray *)ops
waitUntilFinished: (BOOL)shouldWait;
- (void) addOperationWithBlock: (GSBlockOperationBlock)block;
- (void) cancelAllOperations;
- (BOOL) isSuspended;
- (NSInteger) maxConcurrentOperationCount;
- (NSString*) name;
- (NSUInteger) operationCount;
- (NSArray *) operations;
- (void) setMaxConcurrentOperationCount: (NSInteger)cnt;
- (void) setName: (NSString*)s;
- (void) setSuspended: (BOOL)flag;
- (void) waitUntilAllOperationsAreFinished;
@end
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSInvocationOperation.h" 2
@class NSInvocation;
@class NSException;
@interface NSInvocationOperation : NSOperation
{
@private
NSInvocation *_invocation;
NSException *_exception;
void *_reserved;
}
- (id) initWithInvocation: (NSInvocation *)inv;
- (id) initWithTarget: (id)target selector: (SEL)aSelector object: (id)arg;
- (NSInvocation *) invocation;
- (id) result;
@end
extern NSString* const NSInvocationOperationVoidResultException;
extern NSString* const NSInvocationOperationCancelledException;
# 98 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSISO8601DateFormatter.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSISO8601DateFormatter.h"
enum
{
NSISO8601DateFormatWithYear = (1UL << 0),
NSISO8601DateFormatWithMonth = (1UL << 1),
NSISO8601DateFormatWithWeekOfYear = (1UL << 2),
NSISO8601DateFormatWithDay = (1UL << 4),
NSISO8601DateFormatWithTime = (1UL << 5),
NSISO8601DateFormatWithTimeZone = (1UL << 6),
NSISO8601DateFormatWithSpaceBetweenDateAndTime = (1UL << 7),
NSISO8601DateFormatWithDashSeparatorInDate = (1UL << 8),
NSISO8601DateFormatWithColonSeparatorInTime = (1UL << 9),
NSISO8601DateFormatWithColonSeparatorInTimeZone = (1UL << 10),
NSISO8601DateFormatWithFractionalSeconds = (1UL << 11),
NSISO8601DateFormatWithFullDate = NSISO8601DateFormatWithYear |
NSISO8601DateFormatWithMonth |
NSISO8601DateFormatWithDay |
NSISO8601DateFormatWithDashSeparatorInDate,
NSISO8601DateFormatWithFullTime = NSISO8601DateFormatWithTime |
NSISO8601DateFormatWithColonSeparatorInTime |
NSISO8601DateFormatWithTimeZone |
NSISO8601DateFormatWithColonSeparatorInTimeZone,
NSISO8601DateFormatWithInternetDateTime = (NSISO8601DateFormatWithFullDate | NSISO8601DateFormatWithFullTime),
};
typedef NSUInteger NSISO8601DateFormatOptions;
@class NSTimeZone, NSString, NSDate, NSDateFormatter;
@interface NSISO8601DateFormatter : NSFormatter <NSCoding>
{
NSTimeZone *_timeZone;
NSISO8601DateFormatOptions _formatOptions;
NSDateFormatter *_formatter;
}
- (NSTimeZone *) timeZone;
- (void) setTimeZone: (NSTimeZone *)tz;
- (NSISO8601DateFormatOptions) formatOptions;
- (void) setFormatOptions: (NSISO8601DateFormatOptions)options;
- (NSString *) stringFromDate: (NSDate *)date;
- (NSDate *) dateFromString: (NSString *)string;
+ (NSString *) stringFromDate: (NSDate *)date
timeZone: (NSTimeZone *)timeZone
formatOptions: (NSISO8601DateFormatOptions)formatOptions;
@end
# 99 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSItemProvider.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSItemProvider.h"
@class NSItemProvider, NSProgress, NSData, NSError, NSURL, NSProgress, NSDictionary;;
typedef void(^GSProviderCompletionHandler)(NSData*, NSError**);
typedef void(^GSProviderURLCompletionHandler)(NSURL*, NSError**);
typedef void(^GSProviderURLBOOLCompletionHandler)(NSURL*, BOOL, NSError**);
typedef NSProgress*(^GSProgressHandler)(GSProviderCompletionHandler);
typedef NSProgress*(^GSProgressURLBOOLHandler)(GSProviderURLBOOLCompletionHandler);
typedef id(^GSItemProviderWritingHandler)(NSError**);
typedef id(^GSItemProviderReadingHandler)(NSError**);
typedef NSProgress*(^GSProgressItemProviderWritingLoadHandler)(GSItemProviderWritingHandler);
typedef NSProgress*(^GSProgressItemProviderReadingLoadHandler)(GSItemProviderReadingHandler);
typedef void(^NSItemProviderCompletionHandler)(id, NSError**);
typedef NSItemProviderCompletionHandler(^NSItemProviderLoadHandler)(Class, NSDictionary*);
enum
{
NSItemProviderRepresentationVisibilityAll = 0,
NSItemProviderRepresentationVisibilityTeam = 1,
NSItemProviderRepresentationVisibilityGroup = 2 ,
NSItemProviderRepresentationVisibilityOwnProcess = 3,
};
typedef NSInteger NSItemProviderRepresentationVisibility;
enum
{
NSItemProviderFileOptionOpenInPlace = 1,
};
typedef NSInteger NSItemProviderFileOptions;
@protocol NSItemProviderWriting <NSObject>
- (NSArray *) writableTypeIdentifiersForItemProvider;
- (void) setWritableTypeIdentifiersForItemProvider: (NSArray *)anArray;
+ (NSItemProviderRepresentationVisibility) itemProviderVisibilityForRepresentationWithTypeIdentifier: (NSString *)typeIdentifier;
- (NSItemProviderRepresentationVisibility) itemProviderVisibilityForRepresentationWithTypeIdentifier: (NSString *)typeIdentifier;
- (NSProgress *) loadDataWithTypeIdentifier: (NSString *)typeIdentifier
forItemProviderCompletionHandler: (GSProviderCompletionHandler)completionHandler;
@end
@protocol NSItemProviderReading <NSObject>
- (NSArray *) readableTypeIdentifiersForItemProvider;
- (void) setReadableTypeIdentifiersForItemProvider: (NSArray *)array;
+ (instancetype) objectWithItemProviderData: (NSData *)data
typeIdentifier: (NSString *)typeIdentifier
error: (NSError **)outError;
@end
@interface NSItemProvider : NSObject <NSCopying>
- (instancetype) init;
- (void) registerDataRepresentationForTypeIdentifier: (NSString *)typeIdentifier
visibility: (NSItemProviderRepresentationVisibility)visibility
loadHandler: (GSProgressHandler)loadHandler;
- (void) registerFileRepresentationForTypeIdentifier: (NSString *)typeIdentifier
fileOptions: (NSItemProviderFileOptions)fileOptions
visibility: (NSItemProviderRepresentationVisibility)visibility
loadHandler: (GSProgressURLBOOLHandler)loadHandler;
- (NSArray *) registeredTypeIdentifiers;
- (NSArray *) registeredTypeIdentifiersWithFileOptions: (NSItemProviderFileOptions)fileOptions;
- (BOOL) hasItemConformingToTypeIdentifier: (NSString *)typeIdentifier;
- (BOOL) hasRepresentationConformingToTypeIdentifier: (NSString *)typeIdentifier
fileOptions: (NSItemProviderFileOptions)fileOptions;
- (NSProgress *) loadDataRepresentationForTypeIdentifier: (NSString *)typeIdentifier
completionHandler: (GSProviderCompletionHandler)completionHandler;
- (NSProgress *) loadFileRepresentationForTypeIdentifier: (NSString *)typeIdentifier
completionHandler: (GSProviderURLCompletionHandler)completionHandler;
- (NSProgress *) loadInPlaceFileRepresentationForTypeIdentifier: (NSString *)typeIdentifier
completionHandler: (GSProviderURLBOOLCompletionHandler)completionHandler;
- (NSString *) suggestedName;
- (void) setSuggestedName: (NSString *)suggestedName;
- (instancetype) initWithObject: (id<NSItemProviderWriting>)object;
- (void) registerObject: (id<NSItemProviderWriting>)object visibility: (NSItemProviderRepresentationVisibility)visibility;
- (void) registerObjectOfClass: (Class<NSItemProviderWriting>)aClass
visibility: (NSItemProviderRepresentationVisibility)visibility
loadHandler: (GSItemProviderWritingHandler)loadHandler;
- (BOOL) canLoadObjectOfClass: (Class<NSItemProviderReading>)aClass;
- (NSProgress *) loadObjectOfClass: (Class<NSItemProviderReading>)aClass
completionHandler: (GSItemProviderReadingHandler)completionHandler;
- (instancetype) initWithItem: (id<NSSecureCoding>)item typeIdentifier: (NSString *)typeIdentifier;
- (instancetype) initWithContentsOfURL: (NSURL *)fileURL;
- (void) registerItemForTypeIdentifier: (NSString *)typeIdentifier loadHandler: (NSItemProviderLoadHandler)loadHandler;
- (void)loadItemForTypeIdentifier: (NSString *)typeIdentifier
options: (NSDictionary *)options
completionHandler: (NSItemProviderCompletionHandler)completionHandler;
@end
extern NSString * const NSItemProviderPreferredImageSizeKey;
@interface NSItemProvider (NSPreviewSupport)
- (NSItemProviderLoadHandler) previewImageHandler;
- (void) setPreviewImageHandler: (NSItemProviderLoadHandler) previewImageHandler;
- (void) loadPreviewImageWithOptions: (NSDictionary *)options
completionHandler: (NSItemProviderCompletionHandler)completionHandler;
@end
extern NSString * const NSExtensionJavaScriptPreprocessingResultsKey;
extern NSString * const NSExtensionJavaScriptFinalizeArgumentKey;
extern NSString * const NSItemProviderErrorDomain;
enum {
NSItemProviderUnknownError = -1,
NSItemProviderItemUnavailableError = -1000,
NSItemProviderUnexpectedValueClassError = -1100,
NSItemProviderUnavailableCoercionError = -1200
};
typedef NSInteger NSItemProviderErrorCode;
# 100 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSItemProviderReadingWriting.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSItemProviderReadingWriting.h"
@interface NSItemProviderReadingWriting : NSObject
@end
# 101 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSJSONSerialization.h" 1
# 27 "/usr/GNUstep/System/Library/Headers/Foundation/NSJSONSerialization.h"
@class NSData;
@class NSError;
@class NSInputStream;
@class NSOutputStream;
enum
{
NSJSONReadingMutableContainers = (1UL << 0),
NSJSONReadingMutableLeaves = (1UL << 1),
NSJSONReadingAllowFragments = (1UL << 2)
};
enum
{
NSJSONWritingPrettyPrinted = (1UL << 0)
};
typedef NSUInteger NSJSONWritingOptions;
typedef NSUInteger NSJSONReadingOptions;
@interface NSJSONSerialization : NSObject
+ (NSData*) dataWithJSONObject: (id)obj
options: (NSJSONWritingOptions)opt
error: (NSError **)error;
+ (BOOL) isValidJSONObject: (id)obj;
+ (id) JSONObjectWithData: (NSData *)data
options: (NSJSONReadingOptions)opt
error: (NSError **)error;
+ (id) JSONObjectWithStream: (NSInputStream *)stream
options: (NSJSONReadingOptions)opt
error: (NSError **)error;
+ (NSInteger) writeJSONObject: (id)obj
toStream: (NSOutputStream *)stream
options: (NSJSONWritingOptions)opt
error: (NSError **)error;
@end
# 102 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" 1
# 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPropertyList.h" 1
# 40 "/usr/GNUstep/System/Library/Headers/Foundation/NSPropertyList.h"
@class NSData, NSString, NSInputStream, NSOutputStream;
enum {
NSPropertyListImmutable = 0,
NSPropertyListMutableContainers,
NSPropertyListMutableContainersAndLeaves
};
# 57 "/usr/GNUstep/System/Library/Headers/Foundation/NSPropertyList.h"
typedef NSUInteger NSPropertyListMutabilityOptions;
enum {
NSPropertyListOpenStepFormat = 1,
NSPropertyListXMLFormat_v1_0 = 100,
NSPropertyListBinaryFormat_v1_0 = 200,
NSPropertyListGNUstepFormat = 1000,
NSPropertyListGNUstepBinaryFormat
};
typedef NSUInteger NSPropertyListWriteOptions;
typedef NSUInteger NSPropertyListReadOptions;
@class NSError;
# 89 "/usr/GNUstep/System/Library/Headers/Foundation/NSPropertyList.h"
typedef NSUInteger NSPropertyListFormat;
# 233 "/usr/GNUstep/System/Library/Headers/Foundation/NSPropertyList.h"
@interface NSPropertyListSerialization : NSObject
{
}
+ (NSData*) dataFromPropertyList: (id)aPropertyList
format: (NSPropertyListFormat)aFormat
errorDescription: (NSString**)anErrorString;
+ (BOOL) propertyList: (id)aPropertyList
isValidForFormat: (NSPropertyListFormat)aFormat;
# 264 "/usr/GNUstep/System/Library/Headers/Foundation/NSPropertyList.h"
+ (id) propertyListFromData: (NSData*)data
mutabilityOption: (NSPropertyListMutabilityOptions)anOption
format: (NSPropertyListFormat*)aFormat
errorDescription: (NSString**)anErrorString;
+ (NSData *) dataWithPropertyList: (id)aPropertyList
format: (NSPropertyListFormat)aFormat
options: (NSPropertyListWriteOptions)anOption
error: (out NSError**)error;
+ (id) propertyListWithData: (NSData*)data
options: (NSPropertyListReadOptions)anOption
format: (NSPropertyListFormat*)aFormat
error: (out NSError**)error;
+ (id) propertyListWithStream: (NSInputStream*)stream
options: (NSPropertyListReadOptions)anOption
format: (NSPropertyListFormat*)aFormat
error: (out NSError**)error;
+ (NSInteger) writePropertyList: (id)aPropertyList
toStream: (NSOutputStream*)stream
format: (NSPropertyListFormat)aFormat
options: (NSPropertyListWriteOptions)anOption
error: (out NSError**)error;
@end
# 42 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" 2
@class NSSet<ElementT>;
@class NSMutableDictionary, NSMutableData, NSData, NSString;
# 55 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
@interface NSKeyedArchiver : NSCoder
{
# 86 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
}
+ (NSData*) archivedDataWithRootObject: (id)anObject;
# 100 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
+ (NSData *) archivedDataWithRootObject: (id)anObject
requiringSecureCoding: (BOOL)requiresSecureCoding
error: (NSError **)error;
+ (BOOL) archiveRootObject: (id)anObject toFile: (NSString*)aPath;
+ (NSString*) classNameForClass: (Class)aClass;
# 125 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
+ (void) setClassName: (NSString*)aString forClass: (Class)aClass;
- (BOOL) requiresSecureCoding;
- (void) setRequiresSecureCoding: (BOOL)flag;
- (NSString*) classNameForClass: (Class)aClass;
- (id) delegate;
- (void) encodeBool: (BOOL)aBool forKey: (NSString*)aKey;
- (void) encodeBytes: (const uint8_t*)aPointer
length: (NSUInteger)length
forKey: (NSString*)aKey;
- (void) encodeConditionalObject: (id)anObject forKey: (NSString*)aKey;
- (void) encodeDouble: (double)aDouble forKey: (NSString*)aKey;
- (void) encodeFloat: (float)aFloat forKey: (NSString*)aKey;
- (void) encodeInt: (int)anInteger forKey: (NSString*)aKey;
- (void) encodeInt32: (int32_t)anInteger forKey: (NSString*)aKey;
- (void) encodeInt64: (int64_t)anInteger forKey: (NSString*)aKey;
- (void) encodeObject: (id)anObject forKey: (NSString*)aKey;
- (void) finishEncoding;
- (id) initForWritingWithMutableData: (NSMutableData*)data;
- (NSPropertyListFormat) outputFormat;
- (void) setClassName: (NSString*)aString forClass: (Class)aClass;
- (void) setDelegate: (id)anObject;
- (void) setOutputFormat: (NSPropertyListFormat)format;
@end
# 256 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
@interface NSKeyedUnarchiver : NSCoder
{
# 287 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
}
+ (Class) classForClassName: (NSString*)aString;
+ (void) setClass: (Class)aClass forClassName: (NSString*)aString;
+ (id) unarchiveObjectWithData: (NSData*)data;
+ (id) unarchiveObjectWithFile: (NSString*)aPath;
+ (id) unarchivedObjectOfClass: (Class)cls
fromData: (NSData*)data
error: (NSError**)error;
+ (id) unarchivedObjectOfClasses: (NSSet<Class>*)classes
fromData: (NSData*)data
error: (NSError**)error;
+ (NSArray*) unarchivedArrayOfObjectsOfClass: (Class)cls
fromData: (NSData*)data
error: (NSError**)error;
+ (NSArray*) unarchivedArrayOfObjectsOfClasses: (NSSet<Class>*)classes
fromData: (NSData*)data
error: (NSError**)error;
+ (NSDictionary*) unarchivedDictionaryWithKeysOfClass: (Class)keyCls
objectsOfClass: (Class)valueCls
fromData: (NSData*)data
error: (NSError**)error;
+ (NSDictionary*) unarchivedDictionaryWithKeysOfClasses: (NSSet<Class>*)keyClasses
objectsOfClasses: (NSSet<Class>*)valueClasses
fromData: (NSData*)data
error: (NSError**)error;
- (BOOL) requiresSecureCoding;
- (void) setRequiresSecureCoding: (BOOL)flag;
- (Class) classForClassName: (NSString*)aString;
- (BOOL) containsValueForKey: (NSString*)aKey;
- (void) setClass: (Class)aClass forClassName: (NSString*)aString;
- (BOOL) decodeBoolForKey: (NSString*)aKey;
- (const uint8_t*) decodeBytesForKey: (NSString*)aKey
returnedLength: (NSUInteger*)length;
- (double) decodeDoubleForKey: (NSString*)aKey;
- (float) decodeFloatForKey: (NSString*)aKey;
- (int) decodeIntForKey: (NSString*)aKey;
- (int32_t) decodeInt32ForKey: (NSString*)aKey;
- (int64_t) decodeInt64ForKey: (NSString*)aKey;
- (id) decodeObjectForKey: (NSString*)aKey;
- (id) delegate;
- (void) finishDecoding;
- (id) initForReadingWithData: (NSData*)data;
- (void) setDelegate: (id)delegate;
@end
@interface NSKeyedArchiver (Internal)
- (void) _encodeArrayOfObjects: (NSArray*)anArray forKey: (NSString*)aKey;
- (void) _encodePropertyList: (id)anObject forKey: (NSString*)aKey;
@end
@interface NSKeyedUnarchiver (Internal)
- (id) _decodeArrayOfObjectsForKey: (NSString*)aKey;
- (id) _decodePropertyListForKey: (NSString*)aKey;
- (BOOL) replaceObject: (id)oldObj withObject: (id)newObj;
@end
extern NSString * const NSInvalidArchiveOperationException;
extern NSString * const NSInvalidUnarchiveOperationException;
@interface NSObject (NSKeyedArchiverDelegate)
- (void) archiver: (NSKeyedArchiver*)anArchiver didEncodeObject: (id)anObject;
# 515 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
- (id) archiver: (NSKeyedArchiver*)anArchiver willEncodeObject: (id)anObject;
- (void) archiverDidFinish: (NSKeyedArchiver*)anArchiver;
- (void) archiverWillFinish: (NSKeyedArchiver*)anArchiver;
- (void) archiver: (NSKeyedArchiver*)anArchiver
willReplaceObject: (id)anObject
withObject: (id)newObject;
@end
@interface NSObject (NSKeyedUnarchiverDelegate)
# 554 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
- (Class) unarchiver: (NSKeyedUnarchiver*)anUnarchiver
cannotDecodeObjectOfClassName: (NSString*)aName
originalClasses: (NSArray*)classNames;
- (id) unarchiver: (NSKeyedUnarchiver*)anUnarchiver
didDecodeObject: (id)anObject;
- (void) unarchiverDidFinish: (NSKeyedUnarchiver*)anUnarchiver;
- (void) unarchiverWillFinish: (NSKeyedUnarchiver*)anUnarchiver;
- (void) unarchiver: (NSKeyedUnarchiver*)anUnarchiver
willReplaceObject: (id)anObject
withObject: (id)newObject;
@end
@interface NSObject (NSKeyedArchiverObjectSubstitution)
# 602 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
- (Class) classForKeyedArchiver;
# 611 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h"
- (id) replacementObjectForKeyedArchiver: (NSKeyedArchiver*)archiver;
@end
@interface NSObject (NSKeyedUnarchiverObjectSubstitution)
+ (Class) classForKeyedUnarchiver;
@end
@interface NSCoder (NSGeometryKeyedCoding)
- (void) encodePoint: (NSPoint)aPoint forKey: (NSString*)aKey;
- (void) encodeRect: (NSRect)aRect forKey: (NSString*)aKey;
- (void) encodeSize: (NSSize)aSize forKey: (NSString*)aKey;
- (NSPoint) decodePointForKey: (NSString*)aKey;
- (NSRect) decodeRectForKey: (NSString*)aKey;
- (NSSize) decodeSizeForKey: (NSString*)aKey;
@end
# 103 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
@class NSArray;
@class NSMutableArray;
@class NSSet;
@class NSMutableSet;
@class NSDictionary;
@class NSError;
@class NSString;
extern NSString* const NSUndefinedKeyException;
# 60 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
@interface NSObject (NSKeyValueCoding)
+ (BOOL) accessInstanceVariablesDirectly;
# 76 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
+ (BOOL) useStoredAccessor;
- (NSDictionary*) dictionaryWithValuesForKeys: (NSArray*)keys;
- (id) handleQueryWithUnboundKey: (NSString*)aKey;
- (void) handleTakeValue: (id)anObject forUnboundKey: (NSString*)aKey;
# 118 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (NSMutableArray*) mutableArrayValueForKey: (NSString*)aKey;
- (NSMutableArray*) mutableArrayValueForKeyPath: (NSString*)aKey;
# 150 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (NSMutableSet*) mutableSetValueForKey: (NSString *)aKey;
- (NSMutableSet*) mutableSetValueForKeyPath: (NSString*)aKey;
- (void) setNilValueForKey: (NSString*)aKey;
# 186 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (void) setValue: (id)anObject forKey: (NSString*)aKey;
# 197 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (void) setValue: (id)anObject forKeyPath: (NSString*)aKey;
# 208 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (void) setValue: (id)anObject forUndefinedKey: (NSString*)aKey;
- (void) setValuesForKeysWithDictionary: (NSDictionary*)aDictionary;
# 243 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (id) storedValueForKey: (NSString*)aKey;
# 274 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (void) takeStoredValue: (id)anObject forKey: (NSString*)aKey;
- (void) takeStoredValuesFromDictionary: (NSDictionary*)aDictionary;
# 307 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (void) takeValue: (id)anObject forKey: (NSString*)aKey;
# 319 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (void) takeValue: (id)anObject forKeyPath: (NSString*)aKey;
- (void) takeValuesFromDictionary: (NSDictionary*)aDictionary;
- (void) unableToSetNilForKey: (NSString*)aKey;
# 343 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (BOOL) validateValue: (id*)aValue
forKey: (NSString*)aKey
error: (out NSError**)anError;
- (BOOL) validateValue: (id*)aValue
forKeyPath: (NSString*)aKey
error: (out NSError**)anError;
# 381 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (id) valueForKey: (NSString*)aKey;
# 391 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (id) valueForKeyPath: (NSString*)aKey;
# 401 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h"
- (id) valueForUndefinedKey: (NSString*)aKey;
- (NSDictionary*) valuesForKeys: (NSArray*)keys;
@end
# 104 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueObserving.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueObserving.h"
@class NSIndexSet;
@class NSSet;
@class NSString;
enum {
NSKeyValueObservingOptionNew = 1,
NSKeyValueObservingOptionOld = 2
, NSKeyValueObservingOptionInitial = 4,
NSKeyValueObservingOptionPrior = 8
};
typedef NSUInteger NSKeyValueObservingOptions;
enum {
NSKeyValueChangeSetting = 1,
NSKeyValueChangeInsertion = 2,
NSKeyValueChangeRemoval = 3,
NSKeyValueChangeReplacement = 4
};
typedef NSUInteger NSKeyValueChange;
enum {
NSKeyValueUnionSetMutation = 1,
NSKeyValueMinusSetMutation = 2,
NSKeyValueIntersectSetMutation = 3,
NSKeyValueSetSetMutation = 4
};
typedef NSUInteger NSKeyValueSetMutationKind;
extern NSString *const NSKeyValueChangeIndexesKey;
extern NSString *const NSKeyValueChangeKindKey;
extern NSString *const NSKeyValueChangeNewKey;
extern NSString *const NSKeyValueChangeOldKey;
extern NSString *const NSKeyValueChangeNotificationIsPriorKey;
# 123 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueObserving.h"
@interface NSObject (NSKeyValueObserving)
- (void) observeValueForKeyPath: (NSString*)aPath
ofObject: (id)anObject
change: (NSDictionary*)aChange
context: (void*)aContext;
@end
@interface NSObject (NSKeyValueObserverRegistration)
- (void) addObserver: (NSObject*)anObserver
forKeyPath: (NSString*)aPath
options: (NSKeyValueObservingOptions)options
context: (void*)aContext;
- (void) removeObserver: (NSObject*)anObserver
forKeyPath: (NSString*)aPath;
- (void) removeObserver: (NSObject*)anObserver
forKeyPath: (NSString*)aPath
context: (void *)context;
@end
@interface NSArray (NSKeyValueObserverRegistration)
- (void) addObserver: (NSObject*)anObserver
toObjectsAtIndexes: (NSIndexSet*)indexes
forKeyPath: (NSString*)aPath
options: (NSKeyValueObservingOptions)options
context: (void*)aContext;
- (void) removeObserver: (NSObject*)anObserver
fromObjectsAtIndexes: (NSIndexSet*)indexes
forKeyPath: (NSString*)aPath;
- (void) removeObserver: (NSObject*)anObserver
fromObjectsAtIndexes: (NSIndexSet *)indexes
forKeyPath: (NSString*)aPath
context: (void *)context;
@end
@interface NSObject (NSKeyValueObserverNotification)
- (void) didChangeValueForKey: (NSString*)aKey;
- (void) didChange: (NSKeyValueChange)changeKind
valuesAtIndexes: (NSIndexSet*)indexes
forKey: (NSString*)aKey;
- (void) willChangeValueForKey: (NSString*)aKey;
- (void) willChange: (NSKeyValueChange)changeKind
valuesAtIndexes: (NSIndexSet*)indexes
forKey: (NSString*)aKey;
- (void) didChangeValueForKey: (NSString*)aKey
withSetMutation: (NSKeyValueSetMutationKind)mutationKind
usingObjects: (NSSet*)objects;
- (void) willChangeValueForKey: (NSString*)aKey
withSetMutation: (NSKeyValueSetMutationKind)mutationKind
usingObjects: (NSSet*)objects;
@end
@interface NSObject(NSKeyValueObservingCustomization)
+ (BOOL) automaticallyNotifiesObserversForKey: (NSString*)aKey;
+ (void) setKeys: (NSArray*)triggerKeys
triggerChangeNotificationsForDependentKey: (NSString*)dependentKey;
+ (NSSet*) keyPathsForValuesAffectingValueForKey: (NSString*)dependentKey;
- (void*) observationInfo;
- (void) setObservationInfo: (void*)observationInfo;
@end
# 105 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSLengthFormatter.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSLengthFormatter.h"
enum {
NSLengthFormatterUnitMillimeter = 8,
NSLengthFormatterUnitCentimeter = 9,
NSLengthFormatterUnitMeter = 11,
NSLengthFormatterUnitKilometer = 14,
NSLengthFormatterUnitInch = (5 << 8) + 1,
NSLengthFormatterUnitFoot = (5 << 8) + 2,
NSLengthFormatterUnitYard = (5 << 8) + 3,
NSLengthFormatterUnitMile = (5 << 8) + 4,
};
typedef NSInteger NSLengthFormatterUnit;
@class NSNumberFormatter, NSString;
@interface NSLengthFormatter : NSFormatter
{
BOOL _isForPersonHeightUse;
NSNumberFormatter *_numberFormatter;
NSFormattingUnitStyle _unitStyle;
}
- (NSNumberFormatter *) numberFormatter;
- (void) setNumberFormatter: (NSNumberFormatter *)formatter;
- (NSFormattingUnitStyle) unitStyle;
- (void) setUnitStyle: (NSFormattingUnitStyle)style;
- (BOOL) isForPersonHeightUse;
- (void) setForPersonHeightUse: (BOOL)flag;
- (NSString *) stringFromValue: (double)value unit: (NSLengthFormatterUnit)unit;
- (NSString *) stringFromMeters: (double)numberInMeters;
- (NSString *) unitStringFromValue: (double)value unit: (NSLengthFormatterUnit)unit;
- (NSString *) unitStringFromMeters: (double)numberInMeters usedUnit: (NSLengthFormatterUnit *)unit;
- (BOOL) getObjectValue: (id *)obj forString: (NSString *)string errorDescription: (NSString **)error;
@end
# 106 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSLinguisticTagger.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSLinguisticTagger.h"
@class NSString, NSArray, NSOrthography;
typedef NSString* NSLinguisticTagScheme;
extern NSLinguisticTagScheme const NSLinguisticTagSchemeTokenType;
extern NSLinguisticTagScheme const NSLinguisticTagSchemeLexicalClass;
extern NSLinguisticTagScheme const NSLinguisticTagSchemeNameType;
extern NSLinguisticTagScheme const NSLinguisticTagSchemeNameTypeOrLexicalClass;
extern NSLinguisticTagScheme const NSLinguisticTagSchemeLemma;
extern NSLinguisticTagScheme const NSLinguisticTagSchemeLanguage;
extern NSLinguisticTagScheme const NSLinguisticTagSchemeScript;
typedef NSString* NSLinguisticTag;
extern NSLinguisticTag const NSLinguisticTagWord;
extern NSLinguisticTag const NSLinguisticTagPunctuation;
extern NSLinguisticTag const NSLinguisticTagWhitespace;
extern NSLinguisticTag const NSLinguisticTagOther;
extern NSLinguisticTag const NSLinguisticTagNoun;
extern NSLinguisticTag const NSLinguisticTagVerb;
extern NSLinguisticTag const NSLinguisticTagAdjective;
extern NSLinguisticTag const NSLinguisticTagAdverb;
extern NSLinguisticTag const NSLinguisticTagPronoun;
extern NSLinguisticTag const NSLinguisticTagDeterminer;
extern NSLinguisticTag const NSLinguisticTagParticle;
extern NSLinguisticTag const NSLinguisticTagPreposition;
extern NSLinguisticTag const NSLinguisticTagNumber;
extern NSLinguisticTag const NSLinguisticTagConjunction;
extern NSLinguisticTag const NSLinguisticTagInterjection;
extern NSLinguisticTag const NSLinguisticTagClassifier;
extern NSLinguisticTag const NSLinguisticTagIdiom;
extern NSLinguisticTag const NSLinguisticTagOtherWord;
extern NSLinguisticTag const NSLinguisticTagSentenceTerminator;
extern NSLinguisticTag const NSLinguisticTagOpenQuote;
extern NSLinguisticTag const NSLinguisticTagCloseQuote;
extern NSLinguisticTag const NSLinguisticTagOpenParenthesis;
extern NSLinguisticTag const NSLinguisticTagCloseParenthesis;
extern NSLinguisticTag const NSLinguisticTagWordJoiner;
extern NSLinguisticTag const NSLinguisticTagDash;
extern NSLinguisticTag const NSLinguisticTagOtherPunctuation;
extern NSLinguisticTag const NSLinguisticTagParagraphBreak;
extern NSLinguisticTag const NSLinguisticTagOtherWhitespace;
extern NSLinguisticTag const NSLinguisticTagPersonalName;
extern NSLinguisticTag const NSLinguisticTagPlaceName;
extern NSLinguisticTag const NSLinguisticTagOrganizationName;
enum
{
NSLinguisticTaggerUnitWord,
NSLinguisticTaggerUnitSentence,
NSLinguisticTaggerUnitParagraph,
NSLinguisticTaggerUnitDocument
};
typedef NSUInteger NSLinguisticTaggerUnit;
enum
{
NSLinguisticTaggerOmitWords = 1 << 0,
NSLinguisticTaggerOmitPunctuation = 1 << 1,
NSLinguisticTaggerOmitWhitespace = 1 << 2,
NSLinguisticTaggerOmitOther = 1 << 3,
NSLinguisticTaggerJoinNames = 1 << 4
};
typedef NSUInteger NSLinguisticTaggerOptions;
typedef void(^GSLinguisticTagRangeBoolBlock)(NSLinguisticTag, NSRange, BOOL);
typedef void(^GSLinguisticTagRangeRangeBoolBlock)(NSLinguisticTag, NSRange, NSRange, BOOL);
@interface NSLinguisticTagger : NSObject
{
NSArray *_schemes;
NSString *_string;
NSString *_dominantLanguage;
NSArray *_tokenArray;
NSArray *_orthographyArray;
NSUInteger _options;
}
- (instancetype) initWithTagSchemes: (NSArray *)tagSchemes
options: (NSUInteger)opts;
- (NSArray *) tagSchemes;
- (NSString *) string;
- (void) setString: (NSString *)string;
+ (NSArray *) availableTagSchemesForUnit: (NSLinguisticTaggerUnit)unit
language: (NSString *)language;
+ (NSArray *) availableTagSchemesForLanguage: (NSString *)language;
- (void) setOrthography: (NSOrthography *)orthography
range: (NSRange)range;
- (NSOrthography *) orthographyAtIndex: (NSUInteger)charIndex
effectiveRange: (NSRangePointer)effectiveRange;
- (void) stringEditedInRange: (NSRange)newRange
changeInLength: (NSInteger)delta;
- (NSRange) tokenRangeAtIndex: (NSUInteger)charIndex
unit: (NSLinguisticTaggerUnit)unit;
- (NSRange) sentenceRangeForRange: (NSRange)range;
- (void) enumerateTagsInRange: (NSRange)range
unit: (NSLinguisticTaggerUnit)unit
scheme: (NSLinguisticTagScheme)scheme
options: (NSLinguisticTaggerOptions)options
usingBlock: (GSLinguisticTagRangeBoolBlock)block;
- (NSLinguisticTag) tagAtIndex: (NSUInteger)charIndex
unit: (NSLinguisticTaggerUnit)unit
scheme: (NSLinguisticTagScheme)scheme
tokenRange: (NSRangePointer)tokenRange;
- (NSArray *) tagsInRange: (NSRange)range
unit: (NSLinguisticTaggerUnit)unit
scheme: (NSLinguisticTagScheme)scheme
options: (NSLinguisticTaggerOptions)options
tokenRanges: (NSArray **)tokenRanges;
- (void) enumerateTagsInRange: (NSRange)range
scheme: (NSLinguisticTagScheme)tagScheme
options: (NSLinguisticTaggerOptions)opts
usingBlock: (GSLinguisticTagRangeRangeBoolBlock)block;
- (NSLinguisticTag) tagAtIndex: (NSUInteger)charIndex
scheme: (NSLinguisticTagScheme)scheme
tokenRange: (NSRangePointer)tokenRange
sentenceRange: (NSRangePointer)sentenceRange;
- (NSArray *) tagsInRange: (NSRange)range
scheme: (NSString *)tagScheme
options: (NSLinguisticTaggerOptions)opts
tokenRanges: (NSArray **)tokenRanges;
- (NSString *) dominantLanguage;
+ (NSString *) dominantLanguageForString: (NSString *)string;
+ (NSLinguisticTag) tagForString: (NSString *)string
atIndex: (NSUInteger)charIndex
unit: (NSLinguisticTaggerUnit)unit
scheme: (NSLinguisticTagScheme)scheme
orthography: (NSOrthography *)orthography
tokenRange: (NSRangePointer)tokenRange;
+ (NSArray *)tagsForString: (NSString *)string
range: (NSRange)range
unit: (NSLinguisticTaggerUnit)unit
scheme: (NSLinguisticTagScheme)scheme
options: (NSLinguisticTaggerOptions)options
orthography: (NSOrthography *)orthography
tokenRanges: (NSArray **)tokenRanges;
+ (void) enumerateTagsForString: (NSString *)string
range: (NSRange)range
unit: (NSLinguisticTaggerUnit)unit
scheme: (NSLinguisticTagScheme)scheme
options: (NSLinguisticTaggerOptions)options
orthography: (NSOrthography *)orthography
usingBlock: (GSLinguisticTagRangeBoolBlock)block;
- (NSArray *) possibleTagsAtIndex: (NSUInteger)charIndex
scheme: (NSString *)tagScheme
tokenRange: (NSRangePointer)tokenRange
sentenceRange: (NSRangePointer)sentenceRange
scores: (NSArray **)scores;
@end
@interface NSString (NSLinguisticAnalysis)
- (NSArray *) linguisticTagsInRange: (NSRange)range
scheme: (NSLinguisticTagScheme)scheme
options: (NSLinguisticTaggerOptions)options
orthography: (NSOrthography *)orthography
tokenRanges: (NSArray **)tokenRanges;
- (void) enumerateLinguisticTagsInRange: (NSRange)range
scheme: (NSLinguisticTagScheme)scheme
options: (NSLinguisticTaggerOptions)options
orthography: (NSOrthography *)orthography
usingBlock: (GSLinguisticTagRangeRangeBoolBlock)block;
@end
# 107 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSLocale.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSLocale.h"
@class NSMutableDictionary;
@class NSString;
@class NSCharacterSet;
typedef NSUInteger NSLocaleLanguageDirection;
enum
{
NSLocaleLanguageDirectionUnknown = 0,
NSLocaleLanguageDirectionLeftToRight = 1,
NSLocaleLanguageDirectionRightToLeft = 2,
NSLocaleLanguageDirectionTopToBottom = 3,
NSLocaleLanguageDirectionBottomToTop = 4
};
extern NSString * const NSCurrentLocaleDidChangeNotification;
extern NSString * const NSLocaleIdentifier;
extern NSString * const NSLocaleLanguageCode;
extern NSString * const NSLocaleCountryCode;
extern NSString * const NSLocaleScriptCode;
extern NSString * const NSLocaleVariantCode;
extern NSString * const NSLocaleExemplarCharacterSet;
extern NSString * const NSLocaleCalendarIdentifier;
extern NSString * const NSLocaleCalendar;
extern NSString * const NSLocaleCollationIdentifier;
extern NSString * const NSLocaleUsesMetricSystem;
extern NSString * const NSLocaleMeasurementSystem;
extern NSString * const NSLocaleDecimalSeparator;
extern NSString * const NSLocaleGroupingSeparator;
extern NSString * const NSLocaleCurrencySymbol;
extern NSString * const NSLocaleCurrencyCode;
extern NSString * const NSLocaleCollatorIdentifier;
extern NSString * const NSLocaleQuotationBeginDelimiterKey;
extern NSString * const NSLocaleQuotationEndDelimiterKey;
extern NSString * const NSLocaleAlternateQuotationBeginDelimiterKey;
extern NSString * const NSLocaleAlternateQuotationEndDelimiterKey;
extern NSString * const NSGregorianCalendar;
extern NSString * const NSBuddhistCalendar;
extern NSString * const NSChineseCalendar;
extern NSString * const NSHebrewCalendar;
extern NSString * const NSIslamicCalendar;
extern NSString * const NSIslamicCivilCalendar;
extern NSString * const NSJapaneseCalendar;
extern NSString * const NSRepublicOfChinaCalendar;
extern NSString * const NSPersianCalendar;
extern NSString * const NSIndianCalendar;
extern NSString * const NSISO8601Calendar;
@interface NSLocale : NSObject <NSCoding, NSCopying>
{
# 119 "/usr/GNUstep/System/Library/Headers/Foundation/NSLocale.h"
}
+ (id) autoupdatingCurrentLocale;
+ (NSArray *) availableLocaleIdentifiers;
+ (NSString *) canonicalLanguageIdentifierFromString: (NSString *)string;
+ (NSString *) canonicalLocaleIdentifierFromString: (NSString *)string;
+ (NSLocaleLanguageDirection) characterDirectionForLanguage:
(NSString *)isoLangCode;
+ (NSArray *) commonISOCurrencyCodes;
+ (NSDictionary *) componentsFromLocaleIdentifier: (NSString *)string;
+ (instancetype) currentLocale;
+ (NSArray *) ISOCountryCodes;
+ (NSArray *) ISOCurrencyCodes;
+ (NSArray *) ISOLanguageCodes;
+ (NSLocaleLanguageDirection) lineDirectionForLanguage: (NSString*)isoLangCode;
+ (NSString *) localeIdentifierFromComponents: (NSDictionary*)dict;
+ (NSString *) localeIdentifierFromWindowsLocaleCode: (uint32_t)lcid;
+ (instancetype) localeWithLocaleIdentifier:(NSString *)string;
+ (NSArray *) preferredLanguages;
+ (instancetype) systemLocale;
+ (uint32_t) windowsLocaleCodeFromLocaleIdentifier:
(NSString *)localeIdentifier;
- (NSString *) displayNameForKey: (NSString *)key value: (id)value;
- (instancetype) initWithLocaleIdentifier: (NSString *)string;
- (NSString *) localeIdentifier;
- (id) objectForKey: (id)key;
- (NSString *) languageCode;
- (NSString *) countryCode;
- (NSString *) scriptCode;
- (NSString *) variantCode;
- (NSCharacterSet *) exemplarCharacterSet;
- (NSString *) collationIdentifier;
- (NSString *) collatorIdentifier;
@end
# 109 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSMeasurement.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSMeasurement.h"
@class NSUnit;
@interface NSMeasurement : NSObject <NSCopying, NSCoding>
{
NSUnit *_unit;
double _doubleValue;
}
- (instancetype) initWithDoubleValue: (double)doubleValue
unit: (NSUnit *)unit;
- (NSUnit *) unit;
- (double) doubleValue;
- (BOOL) canBeConvertedToUnit: (NSUnit *)unit;
- (NSMeasurement *) measurementByConvertingToUnit: (NSUnit *)unit;
- (NSMeasurement *) measurementByAddingMeasurement: (NSMeasurement *)measurement;
- (NSMeasurement *) measurementBySubtractingMeasurement: (NSMeasurement *)measurement;
@end
# 111 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSMeasurementFormatter.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSMeasurementFormatter.h"
@class NSLocale, NSMeasurement, NSNumberFormatter, NSUnit;
enum {
NSMeasurementFormatterUnitOptionsProvidedUnit = (1UL << 0),
NSMeasurementFormatterUnitOptionsNaturalScale = (1UL << 1),
NSMeasurementFormatterUnitOptionsTemperatureWithoutUnit = (1UL << 2),
};
typedef NSUInteger NSMeasurementFormatterUnitOptions;
@interface NSMeasurementFormatter : NSFormatter <NSCoding>
{
NSMeasurementFormatterUnitOptions _unitOptions;
NSFormattingUnitStyle _unitStyle;
NSLocale *_locale;
NSNumberFormatter *_numberFormatter;
}
- (NSMeasurementFormatterUnitOptions) unitOptions;
- (void) setUnitOptions: (NSMeasurementFormatterUnitOptions) unitOptions;
- (NSFormattingUnitStyle) unitStyle;
- (void) setUnitStyle: (NSFormattingUnitStyle)style;
- (NSLocale *) locale;
- (void) setLocale: (NSLocale *)locale;
- (NSNumberFormatter *) numberFormatter;
- (void) setNumberFormatter: (NSNumberFormatter *)numberFormatter;
- (NSString *)stringFromMeasurement: (NSMeasurement *)measurement;
- (NSString *)stringFromUnit: (NSUnit *)unit;
@end
# 112 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSMetadata.h" 1
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSMetadata.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSMetadataAttributes.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSMetadataAttributes.h"
@class NSString;
extern NSString* const NSMetadataItemAcquisitionMakeKey;
extern NSString* const NSMetadataItemAcquisitionModelKey;
extern NSString* const NSMetadataItemAlbumKey;
extern NSString* const NSMetadataItemAltitudeKey;
extern NSString* const NSMetadataItemApertureKey;
extern NSString* const NSMetadataItemAppleLoopDescriptorsKey;
extern NSString* const NSMetadataItemAppleLoopsKeyFilterTypeKey;
extern NSString* const NSMetadataItemAppleLoopsLoopModeKey;
extern NSString* const NSMetadataItemAppleLoopsRootKeyKey;
extern NSString* const NSMetadataItemApplicationCategoriesKey;
extern NSString* const NSMetadataItemAttributeChangeDateKey;
extern NSString* const NSMetadataItemAudiencesKey;
extern NSString* const NSMetadataItemAudioBitRateKey;
extern NSString* const NSMetadataItemAudioChannelCountKey;
extern NSString* const NSMetadataItemAudioEncodingApplicationKey;
extern NSString* const NSMetadataItemAudioSampleRateKey;
extern NSString* const NSMetadataItemAudioTrackNumberKey;
extern NSString* const NSMetadataItemAuthorAddressesKey;
extern NSString* const NSMetadataItemAuthorEmailAddressesKey;
extern NSString* const NSMetadataItemAuthorsKey;
extern NSString* const NSMetadataItemBitsPerSampleKey;
extern NSString* const NSMetadataItemCameraOwnerKey;
extern NSString* const NSMetadataItemCFBundleIdentifierKey;
extern NSString* const NSMetadataItemCityKey;
extern NSString* const NSMetadataItemCodecsKey;
extern NSString* const NSMetadataItemColorSpaceKey;
extern NSString* const NSMetadataItemCommentKey;
extern NSString* const NSMetadataItemComposerKey;
extern NSString* const NSMetadataItemContactKeywordsKey;
extern NSString* const NSMetadataItemContentCreationDateKey;
extern NSString* const NSMetadataItemContentModificationDateKey;
extern NSString* const NSMetadataItemContentTypeKey;
extern NSString* const NSMetadataItemContentTypeTreeKey;
extern NSString* const NSMetadataItemContributorsKey;
extern NSString* const NSMetadataItemCopyrightKey;
extern NSString* const NSMetadataItemCountryKey;
extern NSString* const NSMetadataItemCoverageKey;
extern NSString* const NSMetadataItemCreatorKey;
extern NSString* const NSMetadataItemDateAddedKey;
extern NSString* const NSMetadataItemDeliveryTypeKey;
extern NSString* const NSMetadataItemDescriptionKey;
extern NSString* const NSMetadataItemDirectorKey;
extern NSString* const NSMetadataItemDisplayNameKey;
extern NSString* const NSMetadataItemDownloadedDateKey;
extern NSString* const NSMetadataItemDueDateKey;
extern NSString* const NSMetadataItemDurationSecondsKey;
extern NSString* const NSMetadataItemEditorsKey;
extern NSString* const NSMetadataItemEmailAddressesKey;
extern NSString* const NSMetadataItemEncodingApplicationsKey;
extern NSString* const NSMetadataItemExecutableArchitecturesKey;
extern NSString* const NSMetadataItemExecutablePlatformKey;
extern NSString* const NSMetadataItemEXIFGPSVersionKey;
extern NSString* const NSMetadataItemEXIFVersionKey;
extern NSString* const NSMetadataItemExposureModeKey;
extern NSString* const NSMetadataItemExposureProgramKey;
extern NSString* const NSMetadataItemExposureTimeSecondsKey;
extern NSString* const NSMetadataItemExposureTimeStringKey;
extern NSString* const NSMetadataItemFinderCommentKey;
extern NSString* const NSMetadataItemFlashOnOffKey;
extern NSString* const NSMetadataItemFNumberKey;
extern NSString* const NSMetadataItemFocalLength35mmKey;
extern NSString* const NSMetadataItemFocalLengthKey;
extern NSString* const NSMetadataItemFontsKey;
extern NSString* const NSMetadataItemFSContentChangeDateKey;
extern NSString* const NSMetadataItemFSCreationDateKey;
extern NSString* const NSMetadataItemFSNameKey;
extern NSString* const NSMetadataItemFSSizeKey;
extern NSString* const NSMetadataItemGenreKey;
extern NSString* const NSMetadataItemGPSAreaInformationKey;
extern NSString* const NSMetadataItemGPSDateStampKey;
extern NSString* const NSMetadataItemGPSDestBearingKey;
extern NSString* const NSMetadataItemGPSDestDistanceKey;
extern NSString* const NSMetadataItemGPSDestLatitudeKey;
extern NSString* const NSMetadataItemGPSDestLongitudeKey;
extern NSString* const NSMetadataItemGPSDifferentalKey;
extern NSString* const NSMetadataItemGPSDOPKey;
extern NSString* const NSMetadataItemGPSMapDatumKey;
extern NSString* const NSMetadataItemGPSMeasureModeKey;
extern NSString* const NSMetadataItemGPSProcessingMethodKey;
extern NSString* const NSMetadataItemGPSStatusKey;
extern NSString* const NSMetadataItemGPSTrackKey;
extern NSString* const NSMetadataItemHasAlphaChannelKey;
extern NSString* const NSMetadataItemHeadlineKey;
extern NSString* const NSMetadataItemIdentifierKey;
extern NSString* const NSMetadataItemImageDirectionKey;
extern NSString* const NSMetadataItemInformationKey;
extern NSString* const NSMetadataItemInstantMessageAddressesKey;
extern NSString* const NSMetadataItemInstructionsKey;
extern NSString* const NSMetadataItemIsApplicationManagedKey;
extern NSString* const NSMetadataItemIsGeneralMIDISequenceKey;
extern NSString* const NSMetadataItemIsLikelyJunkKey;
extern NSString* const NSMetadataItemISOSpeedKey;
extern NSString* const NSMetadataItemIsUbiquitousKey;
extern NSString* const NSMetadataItemKeySignatureKey;
extern NSString* const NSMetadataItemKeywordsKey;
extern NSString* const NSMetadataItemKindKey;
extern NSString* const NSMetadataItemLanguagesKey;
extern NSString* const NSMetadataItemLastUsedDateKey;
extern NSString* const NSMetadataItemLatitudeKey;
extern NSString* const NSMetadataItemLayerNamesKey;
extern NSString* const NSMetadataItemLensModelKey;
extern NSString* const NSMetadataItemLongitudeKey;
extern NSString* const NSMetadataItemLyricistKey;
extern NSString* const NSMetadataItemMaxApertureKey;
extern NSString* const NSMetadataItemMediaTypesKey;
extern NSString* const NSMetadataItemMeteringModeKey;
extern NSString* const NSMetadataItemMusicalGenreKey;
extern NSString* const NSMetadataItemMusicalInstrumentCategoryKey;
extern NSString* const NSMetadataItemMusicalInstrumentNameKey;
extern NSString* const NSMetadataItemNamedLocationKey;
extern NSString* const NSMetadataItemNumberOfPagesKey;
extern NSString* const NSMetadataItemOrganizationsKey;
extern NSString* const NSMetadataItemOrientationKey;
extern NSString* const NSMetadataItemOriginalFormatKey;
extern NSString* const NSMetadataItemOriginalSourceKey;
extern NSString* const NSMetadataItemPageHeightKey;
extern NSString* const NSMetadataItemPageWidthKey;
extern NSString* const NSMetadataItemParticipantsKey;
extern NSString* const NSMetadataItemPathKey;
extern NSString* const NSMetadataItemPerformersKey;
extern NSString* const NSMetadataItemPhoneNumbersKey;
extern NSString* const NSMetadataItemPixelCountKey;
extern NSString* const NSMetadataItemPixelHeightKey;
extern NSString* const NSMetadataItemPixelWidthKey;
extern NSString* const NSMetadataItemProducerKey;
extern NSString* const NSMetadataItemProfileNameKey;
extern NSString* const NSMetadataItemProjectsKey;
extern NSString* const NSMetadataItemPublishersKey;
extern NSString* const NSMetadataItemRecipientAddressesKey;
extern NSString* const NSMetadataItemRecipientEmailAddressesKey;
extern NSString* const NSMetadataItemRecipientsKey;
extern NSString* const NSMetadataItemRecordingDateKey;
extern NSString* const NSMetadataItemRecordingYearKey;
extern NSString* const NSMetadataItemRedEyeOnOffKey;
extern NSString* const NSMetadataItemResolutionHeightDPIKey;
extern NSString* const NSMetadataItemResolutionWidthDPIKey;
extern NSString* const NSMetadataItemRightsKey;
extern NSString* const NSMetadataItemSecurityMethodKey;
extern NSString* const NSMetadataItemSpeedKey;
extern NSString* const NSMetadataItemStarRatingKey;
extern NSString* const NSMetadataItemStateOrProvinceKey;
extern NSString* const NSMetadataItemStreamableKey;
extern NSString* const NSMetadataItemSubjectKey;
extern NSString* const NSMetadataItemTempoKey;
extern NSString* const NSMetadataItemTextContentKey;
extern NSString* const NSMetadataItemThemeKey;
extern NSString* const NSMetadataItemTimeSignatureKey;
extern NSString* const NSMetadataItemTimestampKey;
extern NSString* const NSMetadataItemTitleKey;
extern NSString* const NSMetadataItemTotalBitRateKey;
extern NSString* const NSMetadataItemURLKey;
extern NSString* const NSMetadataItemVersionKey;
extern NSString* const NSMetadataItemVideoBitRateKey;
extern NSString* const NSMetadataItemWhereFromsKey;
extern NSString* const NSMetadataItemWhiteBalanceKey;
extern NSString* const NSMetadataUbiquitousItemContainerDisplayNameKey;
extern NSString* const NSMetadataUbiquitousItemDownloadingErrorKey;
extern NSString* const NSMetadataUbiquitousItemDownloadingStatusCurrent;
extern NSString* const NSMetadataUbiquitousItemDownloadingStatusDownloaded;
extern NSString* const NSMetadataUbiquitousItemDownloadingStatusKey;
extern NSString* const NSMetadataUbiquitousItemDownloadingStatusNotDownloaded;
extern NSString* const NSMetadataUbiquitousItemDownloadRequestedKey;
extern NSString* const NSMetadataUbiquitousItemHasUnresolvedConflictsKey;
extern NSString* const NSMetadataUbiquitousItemIsDownloadedKey;
extern NSString* const NSMetadataUbiquitousItemIsDownloadingKey;
extern NSString* const NSMetadataUbiquitousItemIsExternalDocumentKey;
extern NSString* const NSMetadataUbiquitousItemIsSharedKey;
extern NSString* const NSMetadataUbiquitousItemIsUploadedKey;
extern NSString* const NSMetadataUbiquitousItemIsUploadingKey;
extern NSString* const NSMetadataUbiquitousItemPercentDownloadedKey;
extern NSString* const NSMetadataUbiquitousItemPercentUploadedKey;
extern NSString* const NSMetadataUbiquitousItemUploadingErrorKey;
extern NSString* const NSMetadataUbiquitousItemURLInLocalContainerKey;
extern NSString* const NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey;
extern NSString* const NSMetadataUbiquitousSharedItemCurrentUserRoleKey;
extern NSString* const NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey;
extern NSString* const NSMetadataUbiquitousSharedItemOwnerNameComponentsKey;
extern NSString* const NSMetadataUbiquitousSharedItemPermissionsReadOnly;
extern NSString* const NSMetadataUbiquitousSharedItemPermissionsReadWrite;
extern NSString* const NSMetadataUbiquitousSharedItemRoleOwner;
extern NSString* const NSMetadataUbiquitousSharedItemRoleParticipant;
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSMetadata.h" 2
@class NSPredicate, NSMutableDictionary, NSDictionary, NSMutableArray;
@protocol NSMetadataQueryDelegate;
@interface NSMetadataItem : NSObject
{
}
- (NSArray *) attributes;
- (id) valueForAttribute: (NSString *)key;
- (NSDictionary *) valuesForAttributes: (NSArray *)keys;
@end
extern NSString * const NSMetadataQueryUserHomeScope;
extern NSString * const NSMetadataQueryLocalComputerScope;
extern NSString * const NSMetadataQueryNetworkScope;
extern NSString * const NSMetadataQueryUbiquitousDocumentsScope;
extern NSString * const NSMetadataQueryUbiquitousDataScope;
extern NSString * const NSMetadataQueryDidFinishGatheringNotification;
extern NSString * const NSMetadataQueryDidStartGatheringNotification;
extern NSString * const NSMetadataQueryDidUpdateNotification;
extern NSString * const NSMetadataQueryGatheringProgressNotification;
@interface NSMetadataQuery : NSObject
{
}
- (id) valueOfAttribute: (id)attr forResultAtIndex: (NSUInteger)index;
- (NSArray *) groupedResults;
- (NSDictionary *) valueLists;
- (NSUInteger) indexOfResult: (id)result;
- (NSArray *) results;
- (id) resultAtIndex: (NSUInteger)index;
- (NSUInteger) resultCount;
- (void) enableUpdates;
- (void) disableUpdates;
- (BOOL) isStopped;
- (BOOL) isGathering;
- (BOOL) isStarted;
- (void) stopQuery;
- (BOOL) startQuery;
- (void) setSearchItemURLs: (NSArray *)urls;
- (NSArray *) searchItemURLs;
- (void) setSearchScopes: (NSArray *)scopes;
- (NSArray *) searchScopes;
- (void) setNotificationBatchingInterval: (NSTimeInterval)interval;
- (NSTimeInterval) notificationBatchingInterval;
- (void) setGroupingAttributes: (NSArray *)attrs;
- (NSArray *) groupingAttributes;
- (void) setValueListAttributes: (NSArray *)attrs;
- (NSArray *) valueListAttributes;
- (void) setSortDescriptors: (NSArray *)attrs;
- (NSArray *) sortDescriptors;
- (void) setPredicate: (NSPredicate *)predicate;
- (NSPredicate *) predicate;
- (void) setDelegate: (id<NSMetadataQueryDelegate>)delegate;
- (id<NSMetadataQueryDelegate>) delegate;
@end
@protocol NSMetadataQueryDelegate
@optional
- (id) metadataQuery: (NSMetadataQuery *)query
replacementObjectForResultObject: (NSMetadataItem *)result;
- (id) metadataQuery: (NSMetadataQuery *)query
replacementValueForAttribute: (NSString *)attribute
value: (id)attributeValue;
@end
@interface NSMetadataQueryAttributeValueTuple : NSObject
{
}
- (NSString *) attribute;
- (id) value;
- (NSUInteger) count;
@end
@interface NSMetadataQueryResultGroup : NSObject
{
}
- (NSString *) attribute;
- (id) value;
- (NSArray *) subgroups;
- (NSUInteger) resultCount;
- (id) resultAtIndex: (NSUInteger)index;
- (NSArray *) results;
@end
# 113 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotificationQueue.h" 1
# 57 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotificationQueue.h"
@class NSArray;
@class NSNotification;
@class NSNotificationCenter;
# 76 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotificationQueue.h"
enum {
NSPostWhenIdle = 1,
NSPostASAP = 2,
NSPostNow = 3
};
typedef NSUInteger NSPostingStyle;
# 94 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotificationQueue.h"
enum {
NSNotificationNoCoalescing = 0,
NSNotificationCoalescingOnName = 1,
NSNotificationCoalescingOnSender = 2
};
typedef NSUInteger NSNotificationCoalescing;
# 108 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotificationQueue.h"
struct _NSNotificationQueueList;
@interface NSNotificationQueue : NSObject
{
}
+ (NSNotificationQueue*) defaultQueue;
- (id) initWithNotificationCenter: (NSNotificationCenter*)notificationCenter;
- (void) dequeueNotificationsMatching: (NSNotification*)notification
coalesceMask: (NSUInteger)coalesceMask;
- (void) enqueueNotification: (NSNotification*)notification
postingStyle: (NSPostingStyle)postingStyle;
- (void) enqueueNotification: (NSNotification*)notification
postingStyle: (NSPostingStyle)postingStyle
coalesceMask: (NSUInteger)coalesceMask
forModes: (NSArray*)modes;
@end
# 117 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
enum
{
NSNetServicesUnknownError = -72000L,
NSNetServicesCollisionError = -72001L,
NSNetServicesNotFoundError = -72002L,
NSNetServicesActivityInProgress = -72003L,
NSNetServicesBadArgumentError = -72004L,
NSNetServicesCancelledError = -72005L,
NSNetServicesInvalidError = -72006L,
NSNetServicesTimeoutError = -72007L
};
# 93 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
typedef NSUInteger NSNetServicesError;
enum {
NSNetServiceNoAutoRename = 1 << 0
,NSNetServiceListenForConnections = 1 << 1
};
typedef NSUInteger NSNetServiceOptions;
extern NSString * const NSNetServicesErrorCode;
extern NSString * const NSNetServicesErrorDomain;
@class NSInputStream;
@class NSOutputStream;
@class NSRunLoop;
@class NSNetService;
@class NSNetServiceBrowser;
@protocol NSNetServiceDelegate
@optional
# 132 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceWillPublish: (NSNetService *) sender;
# 142 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceDidPublish: (NSNetService *) sender;
# 152 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netService: (NSNetService *) sender
didNotPublish: (NSDictionary *) errorDict;
# 163 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceWillResolve: (NSNetService *) sender;
# 173 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceDidResolveAddress: (NSNetService *) sender;
# 183 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netService: (NSNetService *) sender
didNotResolve: (NSDictionary *) errorDict;
# 194 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceDidStop: (NSNetService *) sender;
# 205 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netService: (NSNetService *) sender
didUpdateTXTRecordData: (NSData *) data;
# 218 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netService: (NSNetService *) sender
didAcceptConnectionWithInputStream: (NSInputStream *) inputStream
outputStream: (NSOutputStream *)outputStream;
@end
# 233 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
@protocol NSNetServiceBrowserDelegate
@optional
# 249 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceBrowserWillSearch: (NSNetServiceBrowser *)aNetServiceBrowser;
# 259 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceBrowser: (NSNetServiceBrowser *) aNetServiceBrowser
didNotSearch: (NSDictionary *) errorDict;
# 270 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceBrowserDidStopSearch:
(NSNetServiceBrowser *)aNetServiceBrowser;
# 282 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceBrowser: (NSNetServiceBrowser *) aNetServiceBrowser
didFindDomain: (NSString *) domainString
moreComing: (BOOL) moreComing;
# 294 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceBrowser: (NSNetServiceBrowser *) aNetServiceBrowser
didRemoveDomain: (NSString *) domainString
moreComing: (BOOL) moreComing;
# 306 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceBrowser: (NSNetServiceBrowser *) aNetServiceBrowser
didFindService: (NSNetService *) aNetService
moreComing: (BOOL) moreComing;
# 318 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
- (void) netServiceBrowser: (NSNetServiceBrowser *) aNetServiceBrowser
didRemoveService: (NSNetService *) aNetService
moreComing: (BOOL) moreComing;
@end
# 335 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
@interface NSNetService : NSObject
{
}
+ (NSData *) dataFromTXTRecordDictionary: (NSDictionary *) txtDictionary;
+ (NSDictionary *) dictionaryFromTXTRecordData: (NSData *) txtData;
- (id) initWithDomain: (NSString *) domain
type: (NSString *) type
name: (NSString *) name;
- (id) initWithDomain: (NSString *) domain
type: (NSString *) type
name: (NSString *) name
port: (NSInteger) port;
- (void) removeFromRunLoop: (NSRunLoop *) aRunLoop
forMode: (NSString *) mode;
- (void) scheduleInRunLoop: (NSRunLoop *) aRunLoop
forMode: (NSString *) mode;
- (NSInteger) port;
- (void) publishWithOptions: (NSNetServiceOptions)options;
- (void) publish;
- (void) resolve;
- (void) resolveWithTimeout: (NSTimeInterval) timeout;
- (void) stop;
- (void) startMonitoring;
- (void) stopMonitoring;
- (id<NSNetServiceDelegate>) delegate;
- (void) setDelegate: (id<NSNetServiceDelegate>) delegate;
- (NSArray *) addresses;
- (NSString *) domain;
- (NSString *) hostName;
- (NSString *) name;
- (NSString *) type;
- (NSString *) protocolSpecificInformation;
- (void) setProtocolSpecificInformation: (NSString *) specificInformation;
- (NSData *) TXTRecordData;
- (BOOL) setTXTRecordData: (NSData *) recordData;
- (BOOL) getInputStream: (NSInputStream **) inputStream
outputStream: (NSOutputStream **) outputStream;
@end
# 409 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
@interface NSNetServiceBrowser : NSObject
{
}
- (id) init;
- (void) removeFromRunLoop: (NSRunLoop *) aRunLoop
forMode: (NSString *) mode;
- (void) scheduleInRunLoop: (NSRunLoop *) aRunLoop
forMode: (NSString *) mode;
- (void) searchForAllDomains;
- (void) searchForBrowsableDomains;
- (void) searchForRegistrationDomains;
- (void) searchForServicesOfType: (NSString *) serviceType
inDomain: (NSString *) domainName;
- (void) stop;
- (id<NSNetServiceBrowserDelegate>) delegate;
- (void) setDelegate: (id<NSNetServiceBrowserDelegate>) delegate;
@end
# 448 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSNetServices+GNUstepBase.h" 1
# 33 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSNetServices+GNUstepBase.h"
@interface NSNetService (GNUstepBase)
- (void) startMonitoringForRecordType: (NSString*)recordType;
- (void) stopMonitoringForRecordType: (NSString*)recordType;
- (BOOL) addServiceRecord;
# 66 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSNetServices+GNUstepBase.h"
- (BOOL) addRecordData: (NSData*)data
forRecordType: (NSString*)type;
- (id) recordDataForRecordType: (NSString*)type;
- (NSString*) fullServiceName;
@end
@protocol GSNetServiceDelegate <NSNetServiceDelegate>
@optional
# 95 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSNetServices+GNUstepBase.h"
- (void)netService: (NSNetService*)service
didUpdateAddresses: (NSArray*)addresses;
- (void)netService: (NSNetService*)service
didUpdateRecordData: (id)newData
forRecordType: (NSString*)type;
- (void)netService: (NSNetService*)service
didNotMonitor: (NSDictionary*)errorDict
forRecordType: (NSString*)type;
@end
# 449 "/usr/GNUstep/System/Library/Headers/Foundation/NSNetServices.h" 2
# 118 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSNull.h" 1
# 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSNull.h"
@interface NSNull : NSObject <NSCoding, NSCopying>
+ (NSNull*) null;
@end
# 119 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSNumberFormatter.h" 1
# 40 "/usr/GNUstep/System/Library/Headers/Foundation/NSNumberFormatter.h"
@class NSString, NSAttributedString, NSDictionary,
NSError, NSLocale, NSNumber;
enum
{
NSNumberFormatterNoStyle = 0,
NSNumberFormatterDecimalStyle = 1,
NSNumberFormatterCurrencyStyle = 2,
NSNumberFormatterPercentStyle = 3,
NSNumberFormatterScientificStyle = 4,
NSNumberFormatterSpellOutStyle = 5
};
typedef NSUInteger NSNumberFormatterStyle;
enum
{
NSNumberFormatterBehaviorDefault = 0,
NSNumberFormatterBehavior10_0 = 1000,
NSNumberFormatterBehavior10_4 = 1040
};
typedef NSUInteger NSNumberFormatterBehavior;
enum
{
NSNumberFormatterPadBeforePrefix = 0,
NSNumberFormatterPadAfterPrefix = 1,
NSNumberFormatterPadBeforeSuffix = 2,
NSNumberFormatterPadAfterSuffix = 3
};
typedef NSUInteger NSNumberFormatterPadPosition;
enum
{
NSNumberFormatterRoundCeiling = 0,
NSNumberFormatterRoundFloor = 1,
NSNumberFormatterRoundDown = 2,
NSNumberFormatterRoundUp = 3,
NSNumberFormatterRoundHalfEven = 4,
NSNumberFormatterRoundHalfDown = 5,
NSNumberFormatterRoundHalfUp = 6
};
typedef NSUInteger NSNumberFormatterRoundingMode;
# 122 "/usr/GNUstep/System/Library/Headers/Foundation/NSNumberFormatter.h"
@interface NSNumberFormatter : NSFormatter
{
# 155 "/usr/GNUstep/System/Library/Headers/Foundation/NSNumberFormatter.h"
}
- (NSString*) format;
- (void) setFormat: (NSString*)aFormat;
- (BOOL) localizesFormat;
- (void) setLocalizesFormat: (BOOL)flag;
- (NSString*) negativeFormat;
- (void) setNegativeFormat: (NSString*)aFormat;
- (NSString*) positiveFormat;
- (void) setPositiveFormat: (NSString*)aFormat;
- (NSAttributedString*) attributedStringForNil;
- (void) setAttributedStringForNil: (NSAttributedString*)newAttributedString;
- (NSAttributedString*) attributedStringForNotANumber;
- (void) setAttributedStringForNotANumber: (NSAttributedString*)newAttributedString;
- (NSAttributedString*) attributedStringForZero;
- (void) setAttributedStringForZero: (NSAttributedString*)newAttributedString;
- (NSDictionary*) textAttributesForNegativeValues;
- (void) setTextAttributesForNegativeValues: (NSDictionary*)newAttributes;
- (NSDictionary*) textAttributesForPositiveValues;
- (void) setTextAttributesForPositiveValues: (NSDictionary*)newAttributes;
# 278 "/usr/GNUstep/System/Library/Headers/Foundation/NSNumberFormatter.h"
- (NSDecimalNumberHandler*) roundingBehavior;
- (void) setRoundingBehavior: (NSDecimalNumberHandler*)newRoundingBehavior;
- (BOOL) hasThousandSeparators;
- (void) setHasThousandSeparators: (BOOL)flag;
- (NSString*) thousandSeparator;
- (void) setThousandSeparator: (NSString*)newSeparator;
- (BOOL) allowsFloats;
- (void) setAllowsFloats: (BOOL)flag;
- (NSString*) decimalSeparator;
- (void) setDecimalSeparator: (NSString*)newSeparator;
- (NSNumber*) maximum;
- (void) setMaximum: (NSNumber*)aMaximum;
- (NSNumber*) minimum;
- (void) setMinimum: (NSNumber*)aMinimum;
- (void) setFormatterBehavior: (NSNumberFormatterBehavior) behavior;
- (NSNumberFormatterBehavior) formatterBehavior;
+ (void) setDefaultFormatterBehavior: (NSNumberFormatterBehavior) behavior;
+ (NSNumberFormatterBehavior) defaultFormatterBehavior;
- (void) setNumberStyle: (NSNumberFormatterStyle) style;
- (NSNumberFormatterStyle) numberStyle;
- (void) setGeneratesDecimalNumbers: (BOOL) flag;
- (BOOL) generatesDecimalNumbers;
- (void) setLocale: (NSLocale *) locale;
- (NSLocale *) locale;
- (void) setRoundingIncrement: (NSNumber *) number;
- (NSNumber *) roundingIncrement;
- (void) setRoundingMode: (NSNumberFormatterRoundingMode) mode;
- (NSNumberFormatterRoundingMode) roundingMode;
- (void) setFormatWidth: (NSUInteger) number;
- (NSUInteger) formatWidth;
- (void) setMultiplier: (NSNumber *) number;
- (NSNumber *) multiplier;
- (void) setPercentSymbol: (NSString *) string;
- (NSString *) percentSymbol;
- (void) setPerMillSymbol: (NSString *) string;
- (NSString *) perMillSymbol;
- (void) setMinusSign: (NSString *) string;
- (NSString *) minusSign;
- (void) setPlusSign: (NSString *) string;
- (NSString *) plusSign;
- (void) setExponentSymbol: (NSString *) string;
- (NSString *) exponentSymbol;
- (void) setZeroSymbol: (NSString *) string;
- (NSString *) zeroSymbol;
- (void) setNilSymbol: (NSString *) string;
- (NSString *) nilSymbol;
- (void) setNotANumberSymbol: (NSString *) string;
- (NSString *) notANumberSymbol;
- (void) setNegativeInfinitySymbol: (NSString *) string;
- (NSString *) negativeInfinitySymbol;
- (void) setPositiveInfinitySymbol: (NSString *) string;
- (NSString *) positiveInfinitySymbol;
- (void) setCurrencySymbol: (NSString *) string;
- (NSString *) currencySymbol;
- (void) setCurrencyCode: (NSString *) string;
- (NSString *) currencyCode;
- (void) setInternationalCurrencySymbol: (NSString *) string;
- (NSString *) internationalCurrencySymbol;
- (void) setPositivePrefix: (NSString *) string;
- (NSString *) positivePrefix;
- (void) setPositiveSuffix: (NSString *) string;
- (NSString *) positiveSuffix;
- (void) setNegativePrefix: (NSString *) string;
- (NSString *) negativePrefix;
- (void) setNegativeSuffix: (NSString *) string;
- (NSString *) negativeSuffix;
- (void) setTextAttributesForZero: (NSDictionary *) newAttributes;
- (NSDictionary *) textAttributesForZero;
- (void) setTextAttributesForNil: (NSDictionary *) newAttributes;
- (NSDictionary *) textAttributesForNil;
- (void) setTextAttributesForNotANumber: (NSDictionary *) newAttributes;
- (NSDictionary *) textAttributesForNotANumber;
- (void) setTextAttributesForPositiveInfinity: (NSDictionary *) newAttributes;
- (NSDictionary *) textAttributesForPositiveInfinity;
- (void) setTextAttributesForNegativeInfinity: (NSDictionary *) newAttributes;
- (NSDictionary *) textAttributesForNegativeInfinity;
- (void) setGroupingSeparator: (NSString *) string;
- (NSString *) groupingSeparator;
- (void) setUsesGroupingSeparator: (BOOL) flag;
- (BOOL) usesGroupingSeparator;
- (void) setAlwaysShowsDecimalSeparator: (BOOL) flag;
- (BOOL) alwaysShowsDecimalSeparator;
- (void) setCurrencyDecimalSeparator: (NSString *) string;
- (NSString *) currencyDecimalSeparator;
- (void) setGroupingSize: (NSUInteger) number;
- (NSUInteger) groupingSize;
- (void) setSecondaryGroupingSize: (NSUInteger) number;
- (NSUInteger) secondaryGroupingSize;
- (void) setPaddingCharacter: (NSString *) string;
- (NSString *) paddingCharacter;
- (void) setPaddingPosition: (NSNumberFormatterPadPosition) position;
- (NSNumberFormatterPadPosition) paddingPosition;
- (void) setMinimumIntegerDigits: (NSUInteger) number;
- (NSUInteger) minimumIntegerDigits;
- (void) setMinimumFractionDigits: (NSUInteger) number;
- (NSUInteger) minimumFractionDigits;
- (void) setMaximumIntegerDigits: (NSUInteger) number;
- (NSUInteger) maximumIntegerDigits;
- (void) setMaximumFractionDigits: (NSUInteger) number;
- (NSUInteger) maximumFractionDigits;
- (NSNumber *) numberFromString: (NSString *) string;
- (NSString *) stringFromNumber: (NSNumber *) number;
- (BOOL) getObjectValue: (out id *) anObject
forString: (NSString *) aString
range: (NSRange *) rangep
error: (out NSError **) error;
- (void) setUsesSignificantDigits: (BOOL) flag;
- (BOOL) usesSignificantDigits;
- (void) setMinimumSignificantDigits: (NSUInteger) number;
- (NSUInteger) minimumSignificantDigits;
- (void) setMaximumSignificantDigits: (NSUInteger) number;
- (NSUInteger) maximumSignificantDigits;
- (void) setCurrencyGroupingSeparator: (NSString *) string;
- (NSString *) currencyGroupingSeparator;
- (void) setLenient: (BOOL) flag;
- (BOOL) isLenient;
- (void) setPartialStringValidationEnabled: (BOOL) enabled;
- (BOOL) isPartialStringValidationEnabled;
+ (NSString *) localizedStringFromNumber: (NSNumber *) num
numberStyle: (NSNumberFormatterStyle) localizationStyle;
@end
# 120 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjectScripting.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjectScripting.h"
@interface NSObjectScripting : NSObject
@end
# 121 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSOrderedSet.h" 1
# 43 "/usr/GNUstep/System/Library/Headers/Foundation/NSOrderedSet.h"
@class NSArray<ElementT>;
@class NSEnumerator<ElementT>;
@class NSSet<ElementT>;
@class NSDictionary<KeyT:id<NSCopying>, ValT>;
@class NSString;
@class NSPredicate;
@interface NSOrderedSet<__covariant ElementT> : NSObject <NSCoding,
NSCopying,
NSMutableCopying,
NSFastEnumeration>
+ (instancetype) orderedSet;
+ (instancetype) orderedSetWithArray:(NSArray<ElementT>*)objects;
+ (instancetype) orderedSetWithArray:(NSArray<ElementT>*)objects
range: (NSRange)range
copyItems:(BOOL)flag;
+ (instancetype) orderedSetWithObject:(ElementT)anObject;
+ (instancetype) orderedSetWithObjects:(ElementT)firstObject, ...;
+ (instancetype) orderedSetWithObjects:(const ElementT[])objects
count:(NSUInteger) count;
+ (instancetype) orderedSetWithOrderedSet:(NSOrderedSet<ElementT>*)aSet;
+ (instancetype) orderedSetWithSet:(NSSet<ElementT>*)aSet;
+ (instancetype) orderedSetWithSet:(NSSet<ElementT>*)aSet
copyItems:(BOOL)flag;
- (instancetype) initWithArray:(NSArray<ElementT>*)array;
- (instancetype) initWithArray:(NSArray<ElementT>*)array copyItems:(BOOL)flag;
- (instancetype) initWithArray:(NSArray<ElementT>*)array
range:(NSRange)range
copyItems:(BOOL)flag;
- (instancetype) initWithObject:(id)object;
- (instancetype) initWithObjects:(ElementT)firstObject, ...;
- (instancetype) initWithObjects:(const ElementT[])objects
count:(NSUInteger)count;
- (instancetype) initWithOrderedSet:(NSOrderedSet<ElementT>*)aSet;
- (instancetype) initWithOrderedSet:(NSOrderedSet<ElementT>*)aSet
copyItems:(BOOL)flag;
- (instancetype) initWithOrderedSet:(NSOrderedSet<ElementT>*)aSet
range: (NSRange)range
copyItems:(BOOL)flag;
- (instancetype) initWithSet:(NSSet<ElementT>*)aSet;
- (instancetype) initWithSet:(NSSet<ElementT>*)aSet copyItems:(BOOL)flag;
- (instancetype) init;
- (NSUInteger) count;
- (BOOL)containsObject:(ElementT)anObject;
- (void) enumerateObjectsAtIndexes:(NSIndexSet *)indexSet
options:(NSEnumerationOptions)opts
usingBlock:(GSEnumeratorBlock)aBlock;
- (void) enumerateObjectsUsingBlock: (GSEnumeratorBlock)aBlock;
- (void) enumerateObjectsWithOptions:(NSEnumerationOptions)opts
usingBlock:(GSEnumeratorBlock)aBlock;
- (ElementT) firstObject;
- (ElementT) lastObject;
- (ElementT) objectAtIndex: (NSUInteger)index;
- (ElementT) objectAtIndexedSubscript:(NSUInteger)index;
- (NSArray<ElementT>*) objectsAtIndexes:(NSIndexSet *)indexes;
- (NSUInteger) indexOfObject:(ElementT)objects;
- (NSUInteger) indexOfObject: (id)key
inSortedRange: (NSRange)range
options: (NSBinarySearchingOptions)options
usingComparator: (NSComparator)comparator;
- (NSUInteger) indexOfObjectAtIndexes:(NSIndexSet *)indexSet
options:(NSEnumerationOptions)opts
passingTest:(GSPredicateBlock)predicate;
- (NSUInteger) indexOfObjectPassingTest:(GSPredicateBlock)predicate;
- (NSUInteger) indexOfObjectWithOptions:(NSEnumerationOptions)opts
passingTest:(GSPredicateBlock)predicate;
- (NSIndexSet *) indexesOfObjectsAtIndexes:(NSIndexSet *)indexSet
options:(NSEnumerationOptions)opts
passingTest:(GSPredicateBlock)predicate;
- (NSIndexSet *)indexesOfObjectsPassingTest:(GSPredicateBlock)predicate;
- (NSIndexSet *) indexesOfObjectsWithOptions:(NSEnumerationOptions)opts
passingTest:(GSPredicateBlock)predicate;
- (NSEnumerator<ElementT>*) objectEnumerator;
- (NSEnumerator<ElementT>*) reverseObjectEnumerator;
- (NSOrderedSet *)reversedOrderedSet;
- (void) getObjects: (__attribute__((objc_ownership(none))) ElementT[])aBuffer
range: (NSRange)aRange;
- (void) setValue: (id)value forKey: (NSString*)key;
- (id) valueForKey: (NSString*)key;
- (BOOL) isEqualToOrderedSet: (NSOrderedSet *)aSet;
- (BOOL) intersectsOrderedSet: (NSOrderedSet *)aSet;
- (BOOL) intersectsSet: (NSSet *)aSet;
- (BOOL) isSubsetOfOrderedSet: (NSOrderedSet *)aSet;
- (BOOL) isSubsetOfSet:(NSSet *)aSet;
- (NSArray<ElementT> *) sortedArrayUsingDescriptors:(NSArray *)sortDescriptors;
- (NSArray<ElementT> *) sortedArrayUsingComparator:
(NSComparator)comparator;
- (NSArray<ElementT> *)
sortedArrayWithOptions: (NSSortOptions)options
usingComparator: (NSComparator)comparator;
- (NSOrderedSet *)filteredOrderedSetUsingPredicate: (NSPredicate *)predicate;
- (NSString *) description;
- (NSString *) descriptionWithLocale: (NSLocale *)locale;
- (NSString *) descriptionWithLocale: (NSLocale *)locale indent: (BOOL)flag;
- (NSArray<ElementT> *) array;
- (NSSet<ElementT> *) set;
@end
@interface NSMutableOrderedSet<ElementT> : NSOrderedSet<ElementT>
+ (instancetype)orderedSetWithCapacity: (NSUInteger)capacity;
- (instancetype)initWithCapacity: (NSUInteger)capacity;
- (instancetype) init;
- (void)addObject:(ElementT)anObject;
- (void)addObjects:(const ElementT[])objects count:(NSUInteger)count;
- (void)addObjectsFromArray:(NSArray<ElementT>*)otherArray;
- (void)insertObject:(ElementT)object atIndex:(NSUInteger)index;
- (void)setObject:(ElementT)object atIndexedSubscript:(NSUInteger)index;
- (void)insertObjects:(NSArray<ElementT>*)array atIndexes:(NSIndexSet *)indexes;
- (void)removeObject:(ElementT)object;
- (void)removeObjectAtIndex:(NSUInteger)index;
- (void)removeObjectsAtIndexes:(NSIndexSet *)indexes;
- (void)removeObjectsInArray:(NSArray<ElementT>*)otherArray;
- (void)removeObjectsInRange:(NSRange)range;
- (void)removeAllObjects;
- (void)replaceObjectAtIndex:(NSUInteger)index
withObject:(ElementT)object;
- (void) replaceObjectsAtIndexes: (NSIndexSet *)indexes
withObjects: (NSArray<ElementT>*)objects;
- (void) replaceObjectsInRange:(NSRange)range
withObjects:(const ElementT[])objects
count: (NSUInteger)count;
- (void)setObject:(ElementT)object atIndex:(NSUInteger)index;
- (void)moveObjectsAtIndexes:(NSIndexSet *)indexes toIndex:(NSUInteger)index;
- (void) exchangeObjectAtIndex:(NSUInteger)index withObjectAtIndex:(NSUInteger)otherIndex;
- (void)filterUsingPredicate:(NSPredicate *)predicate;
- (void) sortUsingDescriptors:(NSArray *)descriptors;
- (void) sortUsingComparator: (NSComparator)comparator;
- (void) sortWithOptions: (NSSortOptions)options
usingComparator: (NSComparator)comparator;
- (void) sortRange: (NSRange)range
options:(NSSortOptions)options
usingComparator: (NSComparator)comparator;
- (void) intersectOrderedSet:(NSOrderedSet<ElementT>*)aSet;
- (void) intersectSet:(NSSet<ElementT>*)aSet;
- (void) minusOrderedSet:(NSOrderedSet<ElementT>*)aSet;
- (void) minusSet:(NSSet<ElementT>*)aSet;
- (void) unionOrderedSet:(NSOrderedSet<ElementT>*)aSet;
- (void) unionSet:(NSSet<ElementT>*)aSet;
- (instancetype) initWithCoder: (NSCoder *)coder;
@end
# 123 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSOrthography.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSOrthography.h"
@class NSDictionary, NSString, NSArray;
@interface NSOrthography : NSObject <NSCopying, NSCoding>
{
NSDictionary *_languageMap;
NSString *_dominantScript;
}
- (instancetype) initWithDominantScript: (NSString *)script
languageMap: (NSDictionary *)map;
- (NSString *) dominantScript;
- (NSDictionary *) languationMap;
- (NSArray *) languagesForScript: (NSString *)script;
- (NSString *) dominantLanguageForScript: (NSString *)script;
- (NSString *) dominantLanguage;
- (NSArray *) allScripts;
- (NSArray *) allLanguages;
+ (instancetype) defaultOrthographyForLanguage: (NSString *)language;
+ (instancetype) orthographyWithDominantScript: (NSString *)script languageMap: (NSDictionary *)map;
@end
# 124 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPersonNameComponents.h" 1
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSPersonNameComponents.h"
@class NSString;
@interface NSPersonNameComponents : NSObject <NSCopying, NSCoding>
{
@private
NSString *_namePrefix;
NSString *_givenName;
NSString *_middleName;
NSString *_familyName;
NSString *_nameSuffix;
NSString *_nickname;
NSPersonNameComponents *_phoneticRepresentation;
}
- (NSString *) namePrefix;
- (void) setNamePrefix: (NSString *)namePrefix;
- (NSString *) givenName;
- (void) setGivenName: (NSString *)givenName;
- (NSString *) middleName;
- (void) setMiddleName: (NSString *)middleName;
- (NSString *) familyName;
- (void) setFamilyName: (NSString *)familyName;
- (NSString *) nameSuffix;
- (void) setNameSuffix: (NSString *)nameSuffix;
- (NSString *) nickname;
- (void) setNickname: (NSString *)nickname;
- (NSPersonNameComponents *) phoneticRepresentation;
- (void) setPhoneticRepresentation: (NSPersonNameComponents *)pr;
@end
# 126 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPersonNameComponentsFormatter.h" 1
# 35 "/usr/GNUstep/System/Library/Headers/Foundation/NSPersonNameComponentsFormatter.h"
enum {
NSPersonNameComponentsFormatterStyleDefault = 0,
NSPersonNameComponentsFormatterStyleShort,
NSPersonNameComponentsFormatterStyleMedium,
NSPersonNameComponentsFormatterStyleLong,
NSPersonNameComponentsFormatterStyleAbbreviated
};
typedef NSUInteger NSPersonNameComponentsFormatterStyle;
enum { NSPersonNameComponentsFormatterPhonetic = (1UL << 1) };
typedef NSUInteger NSPersonNameComponentsFormatterOptions;
@class NSString;
@interface NSPersonNameComponentsFormatter : NSFormatter
{
@private
BOOL _phonetic;
NSPersonNameComponentsFormatterStyle _style;
NSPersonNameComponentsFormatterOptions _nameOptions;
}
+ (NSString *) localizedStringFromPersonNameComponents: (NSPersonNameComponents *)components
style: (NSPersonNameComponentsFormatterStyle)nameFormatStyle
options: (NSPersonNameComponentsFormatterOptions)nameOptions;
- (NSPersonNameComponentsFormatterStyle) style;
- (void) setStyle: (NSPersonNameComponentsFormatterStyle)style;
- (BOOL) isPhonetic;
- (void) setPhonetic: (BOOL)flag;
- (NSString *) stringFromPersonNameComponents: (NSPersonNameComponents *)components;
- (NSAttributedString *) annotatedStringFromPersonNameComponents: (NSPersonNameComponents *)components;
- (NSPersonNameComponents *) personNameComponentsFromString: (NSString *)string;
- (BOOL)getObjectValue: (id *)obj
forString: (NSString *)string
errorDescription: (NSString **)error;
@end
extern NSString * const NSPersonNameComponentKey;
extern NSString * const NSPersonNameComponentGivenName;
extern NSString * const NSPersonNameComponentFamilyName;
extern NSString * const NSPersonNameComponentMiddleName;
extern NSString * const NSPersonNameComponentPrefix;
extern NSString * const NSPersonNameComponentSuffix;
extern NSString * const NSPersonNameComponentNickname;
extern NSString * const NSPersonNameComponentDelimiter;
# 127 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPointerArray.h" 1
# 46 "/usr/GNUstep/System/Library/Headers/Foundation/NSPointerArray.h"
@interface NSPointerArray : NSObject <NSCopying, NSCoding>
+ (id) pointerArrayWithOptions: (NSPointerFunctionsOptions)options;
+ (id) pointerArrayWithPointerFunctions: (NSPointerFunctions *)functions;
+ (id) strongObjectsPointerArray;
+ (id) weakObjectsPointerArray;
- (void) compact;
- (NSUInteger) count;
- (id) initWithOptions: (NSPointerFunctionsOptions)options;
- (id) initWithPointerFunctions: (NSPointerFunctions*)functions;
- (void) addPointer: (void*)pointer;
# 95 "/usr/GNUstep/System/Library/Headers/Foundation/NSPointerArray.h"
- (void) insertPointer: (void*)pointer atIndex: (NSUInteger)index;
- (void*) pointerAtIndex: (NSUInteger)index;
- (NSPointerFunctions*) pointerFunctions;
- (void) removePointerAtIndex: (NSUInteger)index;
- (void) replacePointerAtIndex: (NSUInteger)index withPointer: (void*)item;
- (void) setCount: (NSUInteger)count;
@end
@interface NSPointerArray (NSArrayConveniences)
+ (id) pointerArrayWithStrongObjects;
+ (id) pointerArrayWithWeakObjects;
- (NSArray*) allObjects;
@end
# 128 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortCoder.h" 1
# 35 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortCoder.h"
@class NSMutableArray;
@class NSMutableDictionary;
@class NSConnection;
@class NSPort;
# 52 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortCoder.h"
@interface NSPortCoder : NSCoder
{
# 107 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortCoder.h"
}
+ (NSPortCoder*) portCoderWithReceivePort: (NSPort*)recv
sendPort: (NSPort*)send
components: (NSArray*)comp;
- (id) initWithReceivePort: (NSPort*)recv
sendPort: (NSPort*)send
components: (NSArray*)comp;
- (NSConnection*) connection;
- (NSPort*) decodePortObject;
- (void) dispatch;
- (void) encodePortObject: (NSPort*)aPort;
- (BOOL) isBycopy;
- (BOOL) isByref;
@end
@interface NSObject (NSPortCoder)
# 180 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortCoder.h"
- (Class) classForPortCoder;
# 189 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortCoder.h"
- (id) replacementObjectForPortCoder: (NSPortCoder*)aCoder;
@end
# 130 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortMessage.h" 1
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortMessage.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h" 1
# 40 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h"
# 1 "/usr/include/x86_64-linux-gnu/sys/socket.h" 1 3 4
# 26 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h" 1 3 4
# 23 "/usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 77 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 1 3 4
# 78 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h" 2 3 4
struct iovec
{
void *iov_base;
size_t iov_len;
};
# 27 "/usr/include/x86_64-linux-gnu/sys/socket.h" 2 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 77 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 1 3 4
# 78 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 29 "/usr/include/x86_64-linux-gnu/sys/socket.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/socket.h" 1 3 4
# 27 "/usr/include/x86_64-linux-gnu/bits/socket.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 77 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 1 3 4
# 78 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 28 "/usr/include/x86_64-linux-gnu/bits/socket.h" 2 3 4
typedef __socklen_t socklen_t;
# 1 "/usr/include/x86_64-linux-gnu/bits/socket_type.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/socket_type.h" 3 4
enum __socket_type
{
SOCK_STREAM = 1,
SOCK_DGRAM = 2,
SOCK_RAW = 3,
SOCK_RDM = 4,
SOCK_SEQPACKET = 5,
SOCK_DCCP = 6,
SOCK_PACKET = 10,
SOCK_CLOEXEC = 02000000,
SOCK_NONBLOCK = 00004000
};
# 39 "/usr/include/x86_64-linux-gnu/bits/socket.h" 2 3 4
# 177 "/usr/include/x86_64-linux-gnu/bits/socket.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/sockaddr.h" 1 3 4
# 28 "/usr/include/x86_64-linux-gnu/bits/sockaddr.h" 3 4
typedef unsigned short int sa_family_t;
# 178 "/usr/include/x86_64-linux-gnu/bits/socket.h" 2 3 4
struct sockaddr
{
sa_family_t sa_family;
char sa_data[14];
};
# 193 "/usr/include/x86_64-linux-gnu/bits/socket.h" 3 4
struct sockaddr_storage
{
sa_family_t ss_family;
char __ss_padding[(128 - (sizeof (unsigned short int)) - sizeof (unsigned long int))];
unsigned long int __ss_align;
};
enum
{
MSG_OOB = 0x01,
MSG_PEEK = 0x02,
MSG_DONTROUTE = 0x04,
MSG_CTRUNC = 0x08,
MSG_PROXY = 0x10,
MSG_TRUNC = 0x20,
MSG_DONTWAIT = 0x40,
MSG_EOR = 0x80,
MSG_WAITALL = 0x100,
MSG_FIN = 0x200,
MSG_SYN = 0x400,
MSG_CONFIRM = 0x800,
MSG_RST = 0x1000,
MSG_ERRQUEUE = 0x2000,
MSG_NOSIGNAL = 0x4000,
MSG_MORE = 0x8000,
MSG_WAITFORONE = 0x10000,
MSG_BATCH = 0x40000,
MSG_ZEROCOPY = 0x4000000,
MSG_FASTOPEN = 0x20000000,
MSG_CMSG_CLOEXEC = 0x40000000
};
struct msghdr
{
void *msg_name;
socklen_t msg_namelen;
struct iovec *msg_iov;
size_t msg_iovlen;
void *msg_control;
size_t msg_controllen;
int msg_flags;
};
struct cmsghdr
{
size_t cmsg_len;
int cmsg_level;
int cmsg_type;
__extension__ unsigned char __cmsg_data [];
};
# 307 "/usr/include/x86_64-linux-gnu/bits/socket.h" 3 4
extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ ));
extern __inline __attribute__ ((__gnu_inline__)) struct cmsghdr *
__attribute__ ((__nothrow__ )) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
{
if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
return (struct cmsghdr *) 0;
__cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
+ (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)));
if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control
+ __mhdr->msg_controllen)
|| ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))
> ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen)))
return (struct cmsghdr *) 0;
return __cmsg;
}
enum
{
SCM_RIGHTS = 0x01
};
# 359 "/usr/include/x86_64-linux-gnu/bits/socket.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/socket-constants.h" 1 3 4
# 23 "/usr/include/x86_64-linux-gnu/bits/socket-constants.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/timesize.h" 1 3 4
# 19 "/usr/include/x86_64-linux-gnu/bits/timesize.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
# 20 "/usr/include/x86_64-linux-gnu/bits/timesize.h" 2 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/socket-constants.h" 2 3 4
# 360 "/usr/include/x86_64-linux-gnu/bits/socket.h" 2 3 4
struct linger
{
int l_onoff;
int l_linger;
};
# 34 "/usr/include/x86_64-linux-gnu/sys/socket.h" 2 3 4
enum
{
SHUT_RD = 0,
SHUT_WR,
SHUT_RDWR
};
# 102 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ ));
extern int socketpair (int __domain, int __type, int __protocol,
int __fds[2]) __attribute__ ((__nothrow__ ));
extern int bind (int __fd, const struct sockaddr * __addr, socklen_t __len)
__attribute__ ((__nothrow__ ));
extern int getsockname (int __fd, struct sockaddr *__restrict __addr,
socklen_t *__restrict __len) __attribute__ ((__nothrow__ ));
# 126 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
extern int connect (int __fd, const struct sockaddr * __addr, socklen_t __len);
extern int getpeername (int __fd, struct sockaddr *__restrict __addr,
socklen_t *__restrict __len) __attribute__ ((__nothrow__ ));
extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
extern ssize_t sendto (int __fd, const void *__buf, size_t __n,
int __flags, const struct sockaddr * __addr,
socklen_t __addr_len);
# 163 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
int __flags, struct sockaddr *__restrict __addr,
socklen_t *__restrict __addr_len);
# 174 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
extern ssize_t sendmsg (int __fd, const struct msghdr *__message,
int __flags);
# 216 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags);
# 255 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
extern int getsockopt (int __fd, int __level, int __optname,
void *__restrict __optval,
socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ ));
# 277 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
extern int setsockopt (int __fd, int __level, int __optname,
const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ ));
# 296 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ ));
# 306 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
extern int accept (int __fd, struct sockaddr *__restrict __addr,
socklen_t *__restrict __addr_len);
# 324 "/usr/include/x86_64-linux-gnu/sys/socket.h" 3 4
extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ ));
# 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h" 2
@class NSMutableArray;
@class NSConnection;
@class NSDate;
@class NSRunLoop;
@class NSString;
@class NSPortMessage;
@class NSHost;
@interface NSObject(NSPortDelegateMethods)
- (void) handlePortMessage: (NSPortMessage*)aMessage;
@end
# 76 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h"
@interface NSPort : NSObject <NSCoding, NSCopying>
{
}
# 92 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h"
+ (NSPort*) port;
+ (NSPort*) portWithMachPort: (NSInteger)machPort;
- (id) delegate;
- (void) setDelegate: (id)anObject;
- (id) init;
- (id) initWithMachPort: (NSInteger)machPort;
- (NSInteger) machPort;
- (void) invalidate;
- (BOOL) isValid;
- (void) addConnection: (NSConnection*)aConnection
toRunLoop: (NSRunLoop*)aLoop
forMode: (NSString*)aMode;
- (void) removeConnection: (NSConnection*)aConnection
fromRunLoop: (NSRunLoop*)aLoop
forMode: (NSString*)aMode;
- (NSUInteger) reservedSpaceLength;
- (BOOL) sendBeforeDate: (NSDate*)when
msgid: (NSInteger)msgid
components: (NSMutableArray*)components
from: (NSPort*)receivingPort
reserved: (NSUInteger)length;
- (BOOL) sendBeforeDate: (NSDate*)when
components: (NSMutableArray*)components
from: (NSPort*)receivingPort
reserved: (NSUInteger)length;
@end
extern NSString* const NSPortDidBecomeInvalidNotification;
# 191 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h"
typedef int NSSocketNativeHandle;
# 202 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h"
@interface NSSocketPort : NSPort
{
# 227 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h"
}
+ (NSSocketPort*) existingPortWithNumber: (uint16_t)number
onHost: (NSHost*)aHost;
# 248 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h"
+ (NSSocketPort*) portWithNumber: (uint16_t)number
onHost: (NSHost*)aHost
forceAddress: (NSString*)addr
listener: (BOOL)shouldListen;
- (NSString*) address;
- (void) getFds: (NSInteger*)fds count: (NSInteger*)count;
- (void) handlePortMessage: (NSPortMessage*)m;
- (NSHost*) host;
- (uint16_t) portNumber;
+ (void) setClientOptionsForTLS: (NSDictionary*)opts;
+ (void) setServerOptionsForTLS: (NSDictionary*)opts;
- (void) setClientOptionsForTLS: (NSDictionary*)opts;
- (void) setServerOptionsForTLS: (NSDictionary*)opts;
@end
# 315 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h"
@interface NSMessagePort : NSPort
{
}
@end
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortMessage.h" 2
# 45 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortMessage.h"
@interface NSPortMessage : NSObject
{
# 63 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortMessage.h"
}
- (id) initWithMachMessage: (void*)buffer;
- (id) initWithSendPort: (NSPort*)aPort
receivePort: (NSPort*)anotherPort
components: (NSArray*)items;
- (BOOL) sendBeforeDate: (NSDate*)when;
- (NSArray*) components;
- (NSPort*) sendPort;
- (NSPort*) receivePort;
- (void) setMsgid: (unsigned)anId;
- (unsigned) msgid;
@end
# 131 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortNameServer.h" 1
# 45 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortNameServer.h"
@class NSPort, NSString, NSMutableArray;
@interface NSPortNameServer : NSObject
+ (id) systemDefaultPortNameServer;
- (NSPort*) portForName: (NSString*)name;
- (NSPort*) portForName: (NSString*)name
onHost: (NSString*)host;
- (BOOL) registerPort: (NSPort*)port
forName: (NSString*)name;
- (BOOL) removePortForName: (NSString*)name;
@end
@interface NSSocketPortNameServer : NSPortNameServer
{
# 74 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortNameServer.h"
}
+ (id) sharedInstance;
- (NSPort*) portForName: (NSString*)name
onHost: (NSString*)host;
- (BOOL) registerPort: (NSPort*)port
forName: (NSString*)name;
- (BOOL) removePortForName: (NSString*)name;
@end
@interface NSMessagePortNameServer : NSPortNameServer
+ (id) sharedInstance;
- (NSPort*) portForName: (NSString*)name;
- (NSPort*) portForName: (NSString*)name
onHost: (NSString*)host;
@end
# 132 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSProgress.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSProgress.h"
@class NSArray<ElementT>;
@class NSDictionary<KeyT:id<NSCopying>, ValT>;
@class NSNumber, NSURL, NSProgress;
typedef NSString* NSProgressKind;
typedef NSString* NSProgressUserInfoKey;
typedef NSString* NSProgressFileOperationKind;
typedef void(^GSProgressCancellationHandler)();
typedef void(^GSProgressPausingHandler)();
typedef void(^NSProgressPublishingHandler)(NSProgress*);
typedef void(^NSProgressUnpublishingHandler)();
typedef void(^GSProgressPendingUnitCountBlock)();
typedef void(^GSProgressResumingHandler)();
@interface NSProgress : NSObject
{
# 72 "/usr/GNUstep/System/Library/Headers/Foundation/NSProgress.h"
}
- (instancetype) initWithParent: (NSProgress *)parent
userInfo: (NSDictionary *)userInfo;
+ (NSProgress *) discreteProgressWithTotalUnitCount: (int64_t)unitCount;
+ (NSProgress *) progressWithTotalUnitCount: (int64_t)unitCount;
+ (NSProgress *) progressWithTotalUnitCount: (int64_t)unitCount
parent: (NSProgress *)parent
pendingUnitCount: (int64_t)portionOfParentTotalUnitCount;
+ (NSProgress *) currentProgress;
- (void) becomeCurrentWithPendingUnitCount: (int64_t)unitCount;
- (void) addChild: (NSProgress *)child
withPendingUnitCount: (int64_t)inUnitCount;
- (void) resignCurrent;
- (int64_t) totalUnitCount;
- (void) setTotalUnitCount: (int64_t)unitCount;
- (int64_t) completedUnitCount;
- (void) setCompletedUnitCount: (int64_t)unitCount;
- (NSString *) localizedDescription;
- (NSString *) localizedAdditionalDescription;
- (double) fractionCompleted;
- (BOOL) isCancellable;
- (BOOL) isCancelled;
- (void) cancel;
- (void) setCancellationHandler: (GSProgressCancellationHandler) handler;
- (BOOL) isPausable;
- (BOOL) isPaused;
- (void) pause;
- (void) setPausingHandler: (GSProgressPausingHandler) handler;
- (void) resume;
- (void) setResumingHandler: (GSProgressResumingHandler) handler;
- (BOOL) isIndeterminate;
- (void) setIndeterminate: (BOOL)flag;
- (NSProgressKind) kind;
- (void) setKind: (NSProgressKind)k;
- (void) setUserInfoObject: (id)obj
forKey: (NSProgressUserInfoKey)key;
- (NSDictionary<NSProgressUserInfoKey,id> *)userInfo;
- (void) setFileOperationKind: (NSProgressFileOperationKind)k;
- (NSProgressFileOperationKind) fileOperationKind;
- (void) setFileUrl: (NSURL *)u;
- (NSURL *) fileUrl;
- (BOOL) isFinished;
- (BOOL) isOld;
- (void) setEstimatedTimeRemaining: (NSNumber *)n;
- (NSNumber *) estimatedTimeRemaining;
- (void) setFileCompletedCount: (NSNumber *)n;
- (NSNumber *) fileCompletedCount;
- (void) setFileTotalCount: (NSNumber *)n;
- (NSNumber *) fileTotalCount;
- (void) setThroughput: (NSNumber *)n;
- (NSNumber *) throughtput;
- (void) publish;
- (void) unpublish;
- (void) performAsCurrentWithPendingUnitCount: (int64_t)unitCount
usingBlock: (GSProgressPendingUnitCountBlock)work;
+ (id) addSubscriberForFileURL: (NSURL *)url
withPublishingHandler: (NSProgressPublishingHandler)publishingHandler;
+ (void) removeSubscriber: (id)subscriber;
@end
@protocol NSProgressReporting
- (NSProgress *) progress;
@end
# 135 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSProtocolChecker.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSProtocolChecker.h"
@class Protocol;
@interface NSProtocolChecker : NSProxy
{
# 55 "/usr/GNUstep/System/Library/Headers/Foundation/NSProtocolChecker.h"
}
+ (id) protocolCheckerWithTarget: (NSObject*)anObject
protocol: (Protocol*)aProtocol;
- (id) initWithTarget: (NSObject*)anObject
protocol: (Protocol*)aProtocol;
- (void) forwardInvocation: (NSInvocation*)anInvocation;
- (Protocol*) protocol;
- (NSObject*) target;
@end
# 136 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSRegularExpression.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSRegularExpression.h"
@class NSString, NSTextCheckingResult;
typedef NSUInteger NSRegularExpressionOptions;
static const NSRegularExpressionOptions
NSRegularExpressionCaseInsensitive = 1<<0;
static const NSRegularExpressionOptions
NSRegularExpressionAllowCommentsAndWhitespace = 1<<1;
static const NSRegularExpressionOptions
NSRegularExpressionIgnoreMetacharacters = 1<<2;
static const NSRegularExpressionOptions
NSRegularExpressionDotMatchesLineSeparators = 1<<3;
static const NSRegularExpressionOptions
NSRegularExpressionAnchorsMatchLines = 1<<4;
static const NSRegularExpressionOptions
NSRegularExpressionUseUnixLineSeparators = 1<<5;
static const NSRegularExpressionOptions
NSRegularExpressionUseUnicodeWordBoundaries = 1<<6;
typedef NSUInteger NSMatchingFlags;
static const NSMatchingFlags NSMatchingProgress = 1<<0;
static const NSMatchingFlags NSMatchingCompleted = 1<<1;
static const NSMatchingFlags NSMatchingHitEnd = 1<<2;
static const NSMatchingFlags NSMatchingRequiredEnd = 1<<3;
static const NSMatchingFlags NSMatchingInternalError = 1<<4;
typedef NSUInteger NSMatchingOptions;
static const NSMatchingOptions NSMatchingReportProgress = 1<<0;
static const NSMatchingOptions NSMatchingReportCompletion = 1<<1;
static const NSMatchingOptions NSMatchingAnchored = 1<<2;
static const NSMatchingOptions NSMatchingWithTransparentBounds = 1<<3;
static const NSMatchingOptions NSMatchingWithoutAnchoringBounds = 1<<4;
typedef void(^GSRegexBlock)(NSTextCheckingResult*, NSMatchingFlags, BOOL*);
# 89 "/usr/GNUstep/System/Library/Headers/Foundation/NSRegularExpression.h"
@interface NSRegularExpression : NSObject <NSCoding, NSCopying>
{
# 105 "/usr/GNUstep/System/Library/Headers/Foundation/NSRegularExpression.h"
}
+ (NSRegularExpression*) regularExpressionWithPattern: (NSString*)aPattern
options: (NSRegularExpressionOptions)opts
error: (NSError**)e;
- (id) initWithPattern: (NSString*)aPattern
options: (NSRegularExpressionOptions)opts
error: (NSError**)e;
+ (NSRegularExpression*) regularExpressionWithPattern: (NSString*)aPattern
options: (NSRegularExpressionOptions)opts
error: (NSError**)e;
- (id) initWithPattern: (NSString*)aPattern
options: (NSRegularExpressionOptions)opts
error: (NSError**)e;
- (NSString*) pattern;
- (void) enumerateMatchesInString: (NSString*)string
options: (NSMatchingOptions)options
range: (NSRange)range
usingBlock: (GSRegexBlock)block;
- (NSUInteger) numberOfMatchesInString: (NSString*)string
options: (NSMatchingOptions)options
range: (NSRange)range;
- (NSTextCheckingResult*) firstMatchInString: (NSString*)string
options: (NSMatchingOptions)options
range: (NSRange)range;
- (NSArray*) matchesInString: (NSString*)string
options: (NSMatchingOptions)options
range: (NSRange)range;
- (NSRange) rangeOfFirstMatchInString: (NSString*)string
options: (NSMatchingOptions)options
range: (NSRange)range;
- (NSUInteger) replaceMatchesInString: (NSMutableString*)string
options: (NSMatchingOptions)options
range: (NSRange)range
withTemplate: (NSString*)templat;
- (NSString*) stringByReplacingMatchesInString: (NSString*)string
options: (NSMatchingOptions)options
range: (NSRange)range
withTemplate: (NSString*)templat;
- (NSString*) replacementStringForResult: (NSTextCheckingResult*)result
inString: (NSString*)string
offset: (NSInteger)offset
template: (NSString*)templat;
+ (NSString *) escapedPatternForString: (NSString *)string;
@property (readonly) NSRegularExpressionOptions options;
@property (readonly) NSUInteger numberOfCaptureGroups;
@end
# 139 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScanner.h" 1
# 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSScanner.h"
@interface NSScanner : NSObject <NSCopying>
{
# 63 "/usr/GNUstep/System/Library/Headers/Foundation/NSScanner.h"
}
+ (id) localizedScannerWithString: (NSString*)aString;
+ (id) scannerWithString: (NSString*)aString;
- (id) initWithString: (NSString*)aString;
- (NSString*) string;
- (NSUInteger) scanLocation;
- (void) setScanLocation: (NSUInteger)anIndex;
- (BOOL) caseSensitive;
- (void) setCaseSensitive: (BOOL)flag;
- (NSCharacterSet*) charactersToBeSkipped;
- (void) setCharactersToBeSkipped: (NSCharacterSet *)aSet;
- (NSDictionary*)locale;
- (void)setLocale:(NSDictionary*)localeDictionary;
- (BOOL) scanInt: (int*)value;
- (BOOL) scanHexInt: (unsigned int*)value;
- (BOOL) scanLongLong: (long long*)value;
- (BOOL) scanFloat: (float*)value;
- (BOOL) scanDouble: (double*)value;
- (BOOL) scanString: (NSString*)string intoString: (NSString**)value;
- (BOOL) scanCharactersFromSet: (NSCharacterSet*)aSet
intoString: (NSString**)value;
- (BOOL) scanUpToString: (NSString*)string intoString: (NSString**)value;
- (BOOL) scanUpToCharactersFromSet: (NSCharacterSet*)aSet
intoString: (NSString**)value;
- (BOOL) isAtEnd;
- (BOOL) scanRadixUnsignedInt: (unsigned int*)value;
- (BOOL) scanRadixUnsignedLongLong: (unsigned long long*)value;
- (BOOL) scanDecimal: (NSDecimal*)value;
- (BOOL) scanHexLongLong: (unsigned long long*)value;
- (BOOL) scanHexDouble: (double *)result;
- (BOOL) scanHexFloat: (float *)result;
- (BOOL) scanInteger: (NSInteger *)value;
@end
# 141 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptClassDescription.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptClassDescription.h"
@interface NSScriptClassDescription : NSClassDescription
@end
# 142 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptCoercionHandler.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptCoercionHandler.h"
@interface NSScriptCoercionHandler : NSObject
@end
# 143 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptCommand.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptCommand.h"
@interface NSScriptCommand : NSObject
@end
# 144 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptCommandDescription.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptCommandDescription.h"
@interface NSScriptCommandDescription : NSObject
@end
# 145 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptExecutionContext.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptExecutionContext.h"
@interface NSScriptExecutionContext : NSObject
@end
# 146 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptKeyValueCoding.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptKeyValueCoding.h"
@interface NSScriptKeyValueCoding : NSObject
@end
# 147 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptObjectSpecifiers.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptObjectSpecifiers.h"
@interface NSScriptObjectSpecifiers : NSObject
@end
# 148 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptStandardSuiteCommands.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptStandardSuiteCommands.h"
@interface NSScriptStandardSuiteCommands : NSObject
@end
# 149 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptSuiteRegistry.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptSuiteRegistry.h"
@interface NSScriptSuiteRegistry : NSObject
@end
# 150 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptWhoseTests.h" 1
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSScriptWhoseTests.h"
@interface NSObject (NSComparisonMethods)
- (BOOL) doesContain: (id) object;
- (BOOL) isCaseInsensitiveLike: (id) object;
- (BOOL) isEqualTo: (id) object;
- (BOOL) isGreaterThan: (id) object;
- (BOOL) isGreaterThanOrEqualTo: (id) object;
- (BOOL) isLessThan: (id) object;
- (BOOL) isLessThanOrEqualTo: (id) object;
- (BOOL) isLike: (NSString *)object;
- (BOOL) isNotEqualTo: (id) object;
@end
# 151 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSSortDescriptor.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSSortDescriptor.h"
@class NSString;
@interface NSSortDescriptor : NSObject <NSCopying, NSCoding>
{
# 65 "/usr/GNUstep/System/Library/Headers/Foundation/NSSortDescriptor.h"
}
- (BOOL) ascending;
- (NSComparisonResult) compareObject: (id)object1 toObject: (id)object2;
+ (id) sortDescriptorWithKey: (NSString *)aKey ascending: (BOOL)ascending;
+ (id) sortDescriptorWithKey: (NSString *)aKey
ascending: (BOOL)ascending
selector: (SEL)aSelector;
+ (id)sortDescriptorWithKey: (NSString *)key
ascending: (BOOL)ascending
comparator: (NSComparator)cmptr;
- (id) initWithKey: (NSString *)key
ascending: (BOOL)ascending
comparator: (NSComparator)cmptr;
- (id) initWithKey: (NSString *)key
ascending: (BOOL)ascending;
- (id) initWithKey: (NSString *)key
ascending: (BOOL)ascending
selector: (SEL)selector;
- (NSString *) key;
- (SEL) selector;
- (id) reversedSortDescriptor;
@end
@interface NSArray<ElementT> (NSSortDescriptorSorting)
- (NSArray<ElementT> *) sortedArrayUsingDescriptors: (NSArray *)sortDescriptors;
@end
@interface NSMutableArray (NSSortDescriptorSorting)
# 169 "/usr/GNUstep/System/Library/Headers/Foundation/NSSortDescriptor.h"
- (void) sortUsingDescriptors: (NSArray *)sortDescriptors;
@end
@interface NSSet<ElementT> (NSSortDescriptorSorting)
- (NSArray<ElementT> *) sortedArrayUsingDescriptors: (NSArray *)sortDescriptors;
@end
# 154 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSSpellServer.h" 1
# 46 "/usr/GNUstep/System/Library/Headers/Foundation/NSSpellServer.h"
@class NSConnection;
@class NSMutableArray;
@class NSMutableDictionary;
extern NSString *const NSGrammarCorrections;
extern NSString *const NSGrammarRange;
extern NSString *const NSGrammarUserDescription;
@interface NSSpellServer : NSObject
{
# 77 "/usr/GNUstep/System/Library/Headers/Foundation/NSSpellServer.h"
}
- (BOOL) registerLanguage: (NSString *)language
byVendor: (NSString *)vendor;
- (id) delegate;
- (void) setDelegate: (id)anObject;
- (void) run;
- (BOOL) isWordInUserDictionaries: (NSString *)word
caseSensitive: (BOOL)flag;
@end
# 104 "/usr/GNUstep/System/Library/Headers/Foundation/NSSpellServer.h"
@interface NSObject (NSSpellServerDelegate)
# 120 "/usr/GNUstep/System/Library/Headers/Foundation/NSSpellServer.h"
- (NSRange) spellServer: (NSSpellServer *)sender
findMisspelledWordInString: (NSString *)stringToCheck
language: (NSString *)language
wordCount: (int32_t *)wordCount
countOnly: (BOOL)countOnly;
- (NSArray *) spellServer: (NSSpellServer *)sender
suggestGuessesForWord: (NSString *)word
inLanguage: (NSString *)language;
- (void) spellServer: (NSSpellServer *)sender
didLearnWord: (NSString *)word
inLanguage: (NSString *)language;
- (void) spellServer: (NSSpellServer *)sender
didForgetWord: (NSString *)word
inLanguage: (NSString *)language;
- (NSArray *) spellServer: (NSSpellServer *)sender
suggestCompletionsForPartialWordRange: (NSRange)range
inString: (NSString *)string
language: (NSString *)language;
- (NSRange) spellServer: (NSSpellServer *)sender
checkGrammarInString: (NSString *)stringToCheck
language: (NSString *)language
details: (NSArray **)details;
@end
extern NSString*
GSSpellServerName(NSString *vendor, NSString *language);
# 155 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSStream.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSStream.h"
enum {
NSStreamStatusNotOpen = 0,
NSStreamStatusOpening = 1,
NSStreamStatusOpen = 2,
NSStreamStatusReading = 3,
NSStreamStatusWriting = 4,
NSStreamStatusAtEnd = 5,
NSStreamStatusClosed = 6,
NSStreamStatusError = 7
};
typedef NSUInteger NSStreamStatus;
enum {
NSStreamEventNone = 0,
NSStreamEventOpenCompleted = 1,
NSStreamEventHasBytesAvailable = 2,
NSStreamEventHasSpaceAvailable = 4,
NSStreamEventErrorOccurred = 8,
NSStreamEventEndEncountered = 16
};
typedef NSUInteger NSStreamEvent;
@class NSError;
@class NSHost;
@class NSInputStream;
@class NSOutputStream;
@class NSString;
@class NSRunLoop;
@class NSURL;
@interface NSStream : NSObject
+ (void) getStreamsToHost: (NSHost *)host
port: (NSInteger)port
inputStream: (NSInputStream **)inputStream
outputStream: (NSOutputStream **)outputStream;
- (void) close;
- (id) delegate;
- (void) open;
- (id) propertyForKey: (NSString *)key;
- (void) removeFromRunLoop: (NSRunLoop *)aRunLoop forMode: (NSString *)mode;
- (void) scheduleInRunLoop: (NSRunLoop *)aRunLoop forMode: (NSString *)mode;
- (void) setDelegate: (id)delegate;
- (BOOL) setProperty: (id)property forKey: (NSString *)key;
- (NSError *) streamError;
- (NSStreamStatus) streamStatus;
@end
@class NSData;
@interface NSInputStream : NSStream
+ (id) inputStreamWithData: (NSData *)data;
+ (id) inputStreamWithFileAtPath: (NSString *)path;
+ (id) inputStreamWithURL: (NSURL *)url;
- (BOOL) getBuffer: (uint8_t **)buffer length: (NSUInteger *)len;
- (BOOL) hasBytesAvailable;
- (id) initWithData: (NSData *)data;
- (id) initWithFileAtPath: (NSString *)path;
- (id) initWithURL: (NSURL *)url;
- (NSInteger) read: (uint8_t *)buffer maxLength: (NSUInteger)len;
@end
@interface NSOutputStream : NSStream
+ (id) outputStreamToBuffer: (uint8_t *)buffer capacity: (NSUInteger)capacity;
+ (id) outputStreamToFileAtPath: (NSString *)path append: (BOOL)shouldAppend;
+ (id) outputStreamToMemory;
- (BOOL) hasSpaceAvailable;
- (id) initToBuffer: (uint8_t *)buffer capacity: (NSUInteger)capacity;
- (id) initToFileAtPath: (NSString *)path append: (BOOL)shouldAppend;
- (id) initToMemory;
- (NSInteger) write: (const uint8_t *)buffer maxLength: (NSUInteger)len;
@end
extern NSString * const NSStreamDataWrittenToMemoryStreamKey;
extern NSString * const NSStreamFileCurrentOffsetKey;
extern NSString * const NSStreamSocketSecurityLevelKey;
extern NSString * const NSStreamSocketSecurityLevelNone;
extern NSString * const NSStreamSocketSecurityLevelSSLv2;
extern NSString * const NSStreamSocketSecurityLevelSSLv3;
extern NSString * const NSStreamSocketSecurityLevelTLSv1;
extern NSString * const NSStreamSocketSecurityLevelNegotiatedSSL;
extern NSString * const NSStreamSocketSSLErrorDomain;
extern NSString * const NSStreamSOCKSErrorDomain;
extern NSString * const NSStreamSOCKSProxyConfigurationKey;
extern NSString * const NSStreamSOCKSProxyHostKey;
extern NSString * const NSStreamSOCKSProxyPasswordKey;
extern NSString * const NSStreamSOCKSProxyPortKey;
extern NSString * const NSStreamSOCKSProxyUserKey;
extern NSString * const NSStreamSOCKSProxyVersion4;
extern NSString * const NSStreamSOCKSProxyVersion5;
extern NSString * const NSStreamSOCKSProxyVersionKey;
@protocol NSStreamDelegate <NSObject>
@optional
- (void) stream: (NSStream*)sStream handleEvent: (NSStreamEvent)anEvent;
@end
# 308 "/usr/GNUstep/System/Library/Headers/Foundation/NSStream.h"
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSStream+GNUstepBase.h" 1
# 43 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSStream+GNUstepBase.h"
@interface NSStream (GNUstepBase)
+ (void) getLocalStreamsToPath: (NSString *)path
inputStream: (NSInputStream **)inputStream
outputStream: (NSOutputStream **)outputStream;
+ (void) pipeWithInputStream: (NSInputStream **)inputStream
outputStream: (NSOutputStream **)outputStream;
@end
# 72 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSStream+GNUstepBase.h"
@interface GSServerStream : NSStream
+ (id) serverStreamToAddr: (NSString*)addr port: (NSInteger)port;
+ (id) serverStreamToAddr: (NSString*)addr;
# 95 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSStream+GNUstepBase.h"
- (void) acceptWithInputStream: (NSInputStream **)inputStream
outputStream: (NSOutputStream **)outputStream;
- (id) initToAddr: (NSString*)addr port: (NSInteger)port;
- (id) initToAddr: (NSString*)addr;
@end
extern NSString * const GSStreamLocalAddressKey;
extern NSString * const GSStreamLocalPortKey;
extern NSString * const GSStreamRemoteAddressKey;
extern NSString * const GSStreamRemotePortKey;
# 309 "/usr/GNUstep/System/Library/Headers/Foundation/NSStream.h" 2
# 156 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSTask.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSTask.h"
typedef void(^GSTaskTerminationHandler)();
@class NSThread;
enum {
NSTaskTerminationReasonExit = 1,
NSTaskTerminationReasonUncaughtSignal = 2
};
typedef NSInteger NSTaskTerminationReason;
@interface NSTask : NSObject
{
# 82 "/usr/GNUstep/System/Library/Headers/Foundation/NSTask.h"
}
+ (NSTask*) launchedTaskWithLaunchPath: (NSString*)path
arguments: (NSArray*)args;
- (NSArray*) arguments;
- (NSString*) currentDirectoryPath;
- (NSDictionary*) environment;
- (NSString*) launchPath;
- (id) standardError;
- (id) standardInput;
- (id) standardOutput;
- (void) setArguments: (NSArray*)args;
- (void) setCurrentDirectoryPath: (NSString*)path;
- (void) setEnvironment: (NSDictionary*)env;
- (void) setLaunchPath: (NSString*)path;
- (void) setStandardError: (id)hdl;
- (void) setStandardInput: (id)hdl;
- (void) setStandardOutput: (id)hdl;
- (BOOL) isRunning;
- (int) processIdentifier;
- (NSTaskTerminationReason) terminationReason;
- (int) terminationStatus;
- (void) interrupt;
- (void) launch;
- (BOOL) resume;
- (BOOL) suspend;
- (void) terminate;
- (void) waitUntilExit;
- (BOOL) usePseudoTerminal;
- (NSString*) validatedLaunchPath;
+ (NSTask *) launchedTaskWithExecutableURL: (NSURL *)url
arguments: (NSArray *)arguments
error: (NSError **)error
terminationHandler: (GSTaskTerminationHandler)terminationHandler;
- (BOOL) launchAndReturnError: (NSError **)error;
- (NSURL *) executableURL;
- (NSURL *) currentDirectoryURL;
@end
extern NSString* const NSTaskDidTerminateNotification;
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSTask+GNUstepBase.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSTask+GNUstepBase.h"
@interface NSTask (GNUstepBase)
+ (NSSet*) executableExtensions;
+ (NSString*) executablePath: (NSString*)aFile;
# 58 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSTask+GNUstepBase.h"
+ (NSString*) launchPathForTool: (NSString*)name;
@end
# 165 "/usr/GNUstep/System/Library/Headers/Foundation/NSTask.h" 2
# 158 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSTextCheckingResult.h" 1
# 24 "/usr/GNUstep/System/Library/Headers/Foundation/NSTextCheckingResult.h"
@class NSArray;
@class NSDate;
@class NSDictionary;
@class NSOrthography;
@class NSRegularExpression;
@class NSString;
@class NSTimeZone;
@class NSURL;
typedef uint64_t NSTextCheckingType;
enum
{
NSTextCheckingTypeOrthography = 1ULL << 0,
NSTextCheckingTypeSpelling = 1ULL << 1,
NSTextCheckingTypeGrammar = 1ULL << 2,
NSTextCheckingTypeDate = 1ULL << 3,
NSTextCheckingTypeAddress = 1ULL << 4,
NSTextCheckingTypeLink = 1ULL << 5,
NSTextCheckingTypeQuote = 1ULL << 6,
NSTextCheckingTypeDash = 1ULL << 7,
NSTextCheckingTypeReplacement = 1ULL << 8,
NSTextCheckingTypeCorrection = 1ULL << 9,
NSTextCheckingTypeRegularExpression = 1ULL << 10,
NSTextCheckingTypePhoneNumber = 1ULL << 11,
NSTextCheckingTypeTransitInformation = 1ULL << 12
};
typedef uint64_t NSTextCheckingTypes;
enum
{
NSTextCheckingAllSystemTypes = 0xffffffffULL,
NSTextCheckingAllCustomTypes = 0xffffffffULL << 32,
NSTextCheckingAllTypes = (NSTextCheckingAllSystemTypes | NSTextCheckingAllCustomTypes)
};
# 69 "/usr/GNUstep/System/Library/Headers/Foundation/NSTextCheckingResult.h"
@interface NSTextCheckingResult : NSObject
@property(readonly) NSDictionary *addressComponents;
@property(readonly) NSDictionary *components;
@property(readonly) NSDate *date;
@property(readonly) NSTimeInterval duration;
@property(readonly) NSArray *grammarDetails;
@property(readonly) NSUInteger numberOfRanges;
@property(readonly) NSOrthography *orthography;
@property(readonly) NSString *phoneNumber;
@property(readonly) NSRange range;
@property(readonly) NSRegularExpression *regularExpression;
@property(readonly) NSString *replacementString;
@property(readonly) NSTextCheckingType resultType;
@property(readonly) NSTimeZone *timeZone;
@property(readonly) NSURL *URL;
# 101 "/usr/GNUstep/System/Library/Headers/Foundation/NSTextCheckingResult.h"
+ (NSTextCheckingResult*)
regularExpressionCheckingResultWithRanges: (NSRangePointer)ranges
count: (NSUInteger)count
regularExpression: (NSRegularExpression*)regularExpression;
- (NSRange) rangeAtIndex: (NSUInteger)idx;
- (NSTextCheckingResult*) resultByAdjustingRangesWithOffset: (NSInteger)offset;
@end
# 159 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
@class NSArray;
@class NSDate;
@class NSMutableDictionary;
# 58 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
@interface NSThread : NSObject
{
# 88 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
}
# 101 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
+ (NSThread*) currentThread;
# 110 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
+ (void) detachNewThreadSelector: (SEL)aSelector
toTarget: (id)aTarget
withObject: (id)anArgument;
+ (void) exit;
# 130 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
+ (BOOL) isMultiThreaded;
+ (void) sleepUntilDate: (NSDate*)date;
- (NSMutableDictionary*) threadDictionary;
+ (BOOL) setThreadPriority: (double)pri;
+ (double) threadPriority;
+ (NSArray*) callStackReturnAddresses;
+ (BOOL) isMainThread;
+ (NSThread*) mainThread;
+ (void) sleepForTimeInterval: (NSTimeInterval)ti;
- (void) cancel;
- (id) init;
- (id) initWithTarget: (id)aTarget
selector: (SEL)aSelector
object: (id)anArgument;
- (BOOL) isCancelled;
- (BOOL) isExecuting;
- (BOOL) isFinished;
- (BOOL) isMainThread;
- (void) main;
- (NSString*) name;
- (void) setName: (NSString*)aName;
- (void) setStackSize: (NSUInteger)stackSize;
- (NSUInteger) stackSize;
- (void) start;
@end
# 232 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
@interface NSObject(NSThreadPerformAdditions)
# 263 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
- (void) performSelectorOnMainThread: (SEL)aSelector
withObject: (id)anObject
waitUntilDone: (BOOL)aFlag
modes: (NSArray*)anArray;
- (void) performSelectorOnMainThread: (SEL)aSelector
withObject: (id)anObject
waitUntilDone: (BOOL)aFlag;
# 307 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
- (void) performSelector: (SEL)aSelector
onThread: (NSThread*)aThread
withObject: (id)anObject
waitUntilDone: (BOOL)aFlag
modes: (NSArray*)anArray;
- (void) performSelector: (SEL)aSelector
onThread: (NSThread*)aThread
withObject: (id)anObject
waitUntilDone: (BOOL)aFlag;
- (void) performSelectorInBackground: (SEL)aSelector
withObject: (id)anObject;
@end
@interface NSThread (CallStackSymbols)
+ (NSArray *) callStackSymbols;
@end
# 364 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
extern BOOL GSRegisterCurrentThread (void);
# 373 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
extern void GSUnregisterCurrentThread (void);
@interface NSThread (GSLockInfo)
- (NSString *) mutexDrop: (id)mutex;
- (NSString *) mutexHold: (id)mutex;
- (NSString *) mutexWait: (id)mutex;
@end
# 414 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
extern NSString* const NSWillBecomeMultiThreadedNotification;
extern NSString* const NSThreadWillExitNotification;
# 430 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h"
extern NSString* const NSThreadDidStartNotification;
# 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSThread+GNUstepBase.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/GNUstepBase/NSThread+GNUstepBase.h"
@interface NSThread (GNUstepBase)
@end
extern NSThread *GSCurrentThread(void);
extern NSMutableDictionary *GSCurrentThreadDictionary(void);
# 439 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h" 2
# 160 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSTimeZone.h" 1
# 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSTimeZone.h"
@class NSArray;
@class NSDate;
@class NSDictionary;
@class NSLocale;
@class NSString;
enum {
NSTimeZoneNameStyleStandard,
NSTimeZoneNameStyleShortStandard,
NSTimeZoneNameStyleDaylightSaving,
NSTimeZoneNameStyleShortDaylightSaving
};
typedef NSInteger NSTimeZoneNameStyle;
extern NSString * const NSSystemTimeZoneDidChangeNotification;
@interface NSTimeZone : NSObject
+ (NSTimeZone*) localTimeZone;
+ (NSTimeZone*) timeZoneForSecondsFromGMT: (NSInteger)seconds;
+ (NSTimeZone*) timeZoneWithName: (NSString*)aTimeZoneName;
+ (void) setDefaultTimeZone: (NSTimeZone*)aTimeZone;
+ (NSDictionary*) abbreviationDictionary;
+ (NSArray*) knownTimeZoneNames;
+ (NSArray*) timeZoneArray;
- (NSArray*) timeZoneDetailArray;
+ (NSDictionary*) abbreviationMap;
+ (void) resetSystemTimeZone;
+ (NSTimeZone*) systemTimeZone;
+ (NSTimeZone*) timeZoneWithName: (NSString*)name data: (NSData*)data;
- (NSString*) abbreviation;
- (NSString*) abbreviationForDate: (NSDate*)aDate;
- (NSData*) data;
- (id) initWithName: (NSString*)name;
- (id) initWithName: (NSString*)name data: (NSData*)data;
- (BOOL) isDaylightSavingTime;
- (BOOL) isDaylightSavingTimeForDate: (NSDate*)aDate;
- (BOOL) isEqualToTimeZone: (NSTimeZone*)aTimeZone;
- (NSString*) name;
- (NSInteger) secondsFromGMT;
- (NSInteger) secondsFromGMTForDate: (NSDate*)aDate;
- (NSTimeInterval) daylightSavingTimeOffsetForDate: (NSDate*)aDate;
- (NSDate*) nextDaylightSavingTimeTransitionAfterDate: (NSDate*)aDate;
- (NSTimeInterval) daylightSavingTimeOffset;
- (NSDate*) nextDaylightSavingTimeTransition;
- (NSString*) localizedName: (NSTimeZoneNameStyle)style
locale: (NSLocale*)locale;
- (NSTimeZoneDetail*) timeZoneDetailForDate: (NSDate*)date;
- (NSString*) timeZoneName;
+ (NSTimeZone*) defaultTimeZone;
+ (NSTimeZone*) timeZoneWithAbbreviation: (NSString*)abbreviation;
@end
@interface NSTimeZoneDetail : NSTimeZone
- (BOOL) isDaylightSavingTimeZone;
- (NSString*) timeZoneAbbreviation;
- (NSInteger) timeZoneSecondsFromGMT;
@end
# 162 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSUbiquitousKeyValueStore.h" 1
# 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSUbiquitousKeyValueStore.h"
@class NSArray<ElementT>;
@class NSDictionary<KeyT:id<NSCopying>, ValT>;
@class NSData;
@class NSString;
@interface NSUbiquitousKeyValueStore : NSObject
+ (NSUbiquitousKeyValueStore *) defaultStore;
- (NSArray *) arrayForKey: (NSString *)key;
- (BOOL) boolForKey: (NSString *)key;
- (NSData*) dataForKey: (NSString *)key;
- (NSDictionary *) dictionaryForKey: (NSString *)key;
- (double) doubleForKey: (NSString *)key;
- (long long) longLongForKey: (NSString *)key;
- (id) objectForKey: (NSString *)key;
- (NSString *) stringForKey: (NSString *)key;
- (void) setArray: (NSArray *)array forKey: (NSString *)key;
- (void) setBool: (BOOL)flag forKey: (NSString *)key;
- (void) setData: (NSData *)data forKey: (NSString *)key;
- (void) setDictionary: (NSDictionary *)dict forKey: (NSString *)key;
- (void) setDouble: (double)val forKey: (NSString *)key;
- (void) setLongLong: (long long)val forKey: (NSString *)key;
- (void) setObject: (id) obj forKey: (NSString *)key;
- (void) setString: (NSString *)string forKey: (NSString *)key;
- (void) synchronize;
- (void) removeObjectForKey: (NSString *)key;
- (NSDictionary *) dictionaryRepresentation;
@end
extern NSString* const NSUbiquitousKeyValueStoreDidChangeExternallyNotification;
extern NSString* const NSUbiquitousKeyValueStoreChangeReasonKey;
# 163 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSUndoManager.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSUndoManager.h"
@class NSArray;
@class NSString;
@class NSMutableArray;
@class NSInvocation;
enum {
NSUndoCloseGroupingRunLoopOrdering = 350000
};
# 53 "/usr/GNUstep/System/Library/Headers/Foundation/NSUndoManager.h"
extern NSString* const NSUndoManagerCheckpointNotification;
extern NSString* const NSUndoManagerDidOpenUndoGroupNotification;
extern NSString* const NSUndoManagerDidRedoChangeNotification;
extern NSString* const NSUndoManagerDidUndoChangeNotification;
extern NSString* const NSUndoManagerWillCloseUndoGroupNotification;
extern NSString* const NSUndoManagerWillRedoChangeNotification;
extern NSString* const NSUndoManagerWillUndoChangeNotification;
@interface NSUndoManager : NSObject
{
# 111 "/usr/GNUstep/System/Library/Headers/Foundation/NSUndoManager.h"
}
- (void) beginUndoGrouping;
- (BOOL) canRedo;
- (BOOL) canUndo;
- (void) disableUndoRegistration;
- (void) enableUndoRegistration;
- (void) endUndoGrouping;
- (void) forwardInvocation: (NSInvocation*)anInvocation;
- (NSInteger) groupingLevel;
- (BOOL) groupsByEvent;
- (BOOL) isRedoing;
- (BOOL) isUndoing;
- (BOOL) isUndoRegistrationEnabled;
- (NSUInteger) levelsOfUndo;
- (id) prepareWithInvocationTarget: (id)target;
- (void) redo;
- (NSString*) redoActionName;
- (NSString*) redoMenuItemTitle;
- (NSString*) redoMenuTitleForUndoActionName: (NSString*)actionName;
- (void) registerUndoWithTarget: (id)target
selector: (SEL)aSelector
object: (id)anObject;
- (void) removeAllActions;
- (void) removeAllActionsWithTarget: (id)target;
- (NSArray*) runLoopModes;
- (void) setActionName: (NSString*)name;
- (void) setGroupsByEvent: (BOOL)flag;
- (void) setLevelsOfUndo: (NSUInteger)num;
- (void) setRunLoopModes: (NSArray*)newModes;
- (void) undo;
- (NSString*) undoActionName;
- (NSString*) undoMenuItemTitle;
- (NSString*) undoMenuTitleForUndoActionName: (NSString*)actionName;
- (void) undoNestedGroup;
@end
# 164 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSUnit.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSUnit.h"
@interface NSUnitConverter : NSObject
- (double) baseUnitValueFromValue: (double)value;
- (double) valueFromBaseUnitValue: (double)baseUnitValue;
@end
@interface NSUnitConverterLinear : NSUnitConverter <NSCoding>
{
double _coefficient;
double _constant;
}
- (instancetype) initWithCoefficient: (double)coefficient;
- (instancetype) initWithCoefficient: (double)coefficient
constant: (double)constant;
- (double) coefficient;
- (double) constant;
@end
@interface NSUnit : NSObject <NSCopying, NSCoding>
{
NSString *_symbol;
}
- (instancetype) init;
- (instancetype) initWithSymbol: (NSString *)symbol;
- (NSString *) symbol;
@end
@interface NSDimension : NSUnit <NSCoding>
{
double _value;
NSUnitConverter *_converter;
}
- (NSUnitConverter *) converter;
- (instancetype) initWithSymbol: (NSString *)symbol converter: (NSUnitConverter *)converter;
+ (instancetype) baseUnit;
@end
@interface NSUnitAcceleration : NSDimension
+ (NSUnitAcceleration *) metersPerSecondSquared;
+ (NSUnitAcceleration *) gravity;
@end
@interface NSUnitAngle : NSDimension
+ (NSUnitAngle *) degrees;
+ (NSUnitAngle *) arcMinutes;
+ (NSUnitAngle *) arcSeconds;
+ (NSUnitAngle *) radians;
+ (NSUnitAngle *) gradians;
+ (NSUnitAngle *) revolutions;
@end
@interface NSUnitArea : NSDimension
+ (NSUnitArea *) squareMegameters;
+ (NSUnitArea *) squareKilometers;
+ (NSUnitArea *) squareMeters;
+ (NSUnitArea *) squareCentimeters;
+ (NSUnitArea *) squareMillimeters;
+ (NSUnitArea *) squareMicrometers;
+ (NSUnitArea *) squareNanometers;
+ (NSUnitArea *) squareInches;
+ (NSUnitArea *) squareFeet;
+ (NSUnitArea *) squareYards;
+ (NSUnitArea *) squareMiles;
+ (NSUnitArea *) acres;
+ (NSUnitArea *) ares;
+ (NSUnitArea *) hectares;
@end
@interface NSUnitConcentrationMass : NSDimension
+ (NSUnitConcentrationMass *) gramsPerLiter;
+ (NSUnitConcentrationMass *) milligramsPerDeciliter;
+ (NSUnitConcentrationMass *) millimolesPerLiterWithGramsPerMole: (double)gramsPerMole;
@end
@interface NSUnitDispersion : NSDimension
+ (NSUnitDispersion *) partsPerMillion;
@end
@interface NSUnitDuration : NSDimension
+ (NSUnitDuration *) seconds;
+ (NSUnitDuration *) minutes;
+ (NSUnitDuration *) hours;
@end
@interface NSUnitElectricCharge : NSDimension
+ (NSUnitElectricCharge *) coulombs;
+ (NSUnitElectricCharge *) megaampereHours;
+ (NSUnitElectricCharge *) kiloampereHours;
+ (NSUnitElectricCharge *) ampereHours;
+ (NSUnitElectricCharge *) milliampereHours;
+ (NSUnitElectricCharge *) microampereHours;
@end
@interface NSUnitElectricCurrent : NSDimension
+ (NSUnitElectricCurrent *) megaamperes;
+ (NSUnitElectricCurrent *) kiloamperes;
+ (NSUnitElectricCurrent *) amperes;
+ (NSUnitElectricCurrent *) milliamperes;
+ (NSUnitElectricCurrent *) microamperes;
@end
@interface NSUnitElectricPotentialDifference : NSDimension
+ (NSUnitElectricPotentialDifference *) megavolts;
+ (NSUnitElectricPotentialDifference *) kilovolts;
+ (NSUnitElectricPotentialDifference *) volts;
+ (NSUnitElectricPotentialDifference *) millivolts;
+ (NSUnitElectricPotentialDifference *) microvolts;
@end
@interface NSUnitElectricResistance : NSDimension
+ (NSUnitElectricResistance *) megaohms;
+ (NSUnitElectricResistance *) kiloohms;
+ (NSUnitElectricResistance *) ohms;
+ (NSUnitElectricResistance *) milliohms;
+ (NSUnitElectricResistance *) microohms;
@end
@interface NSUnitEnergy : NSDimension
+ (NSUnitEnergy *) kilojoules;
+ (NSUnitEnergy *) joules;
+ (NSUnitEnergy *) kilocalories;
+ (NSUnitEnergy *) calories;
+ (NSUnitEnergy *) kilowattHours;
@end
@interface NSUnitFrequency : NSDimension
+ (NSUnitFrequency *) terahertz;
+ (NSUnitFrequency *) gigahertz;
+ (NSUnitFrequency *) megahertz;
+ (NSUnitFrequency *) kilohertz;
+ (NSUnitFrequency *) hertz;
+ (NSUnitFrequency *) millihertz;
+ (NSUnitFrequency *) microhertz;
+ (NSUnitFrequency *) nanohertz;
@end
@interface NSUnitFuelEfficiency : NSDimension
+ (NSUnitFuelEfficiency *) litersPer100Kilometers;
+ (NSUnitFuelEfficiency *) milesPerImperialGallon;
+ (NSUnitFuelEfficiency *) milesPerGallon;
@end
@interface NSUnitLength : NSDimension
+ (NSUnitLength *) megameters;
+ (NSUnitLength *) kilometers;
+ (NSUnitLength *) hectometers;
+ (NSUnitLength *) decameters;
+ (NSUnitLength *) meters;
+ (NSUnitLength *) decimeters;
+ (NSUnitLength *) centimeters;
+ (NSUnitLength *) millimeters;
+ (NSUnitLength *) micrometers;
+ (NSUnitLength *) nanometers;
+ (NSUnitLength *) picometers;
+ (NSUnitLength *) inches;
+ (NSUnitLength *) feet;
+ (NSUnitLength *) yards;
+ (NSUnitLength *) miles;
+ (NSUnitLength *) scandinavianMiles;
+ (NSUnitLength *) lightyears;
+ (NSUnitLength *) nauticalMiles;
+ (NSUnitLength *) fathoms;
+ (NSUnitLength *) furlongs;
+ (NSUnitLength *) astronomicalUnits;
+ (NSUnitLength *) parsecs;
@end
@interface NSUnitIlluminance : NSDimension
+ (NSUnitIlluminance *) lux;
@end
@interface NSUnitMass : NSDimension
+ (NSUnitMass *) kilograms;
+ (NSUnitMass *) grams;
+ (NSUnitMass *) decigrams;
+ (NSUnitMass *) centigrams;
+ (NSUnitMass *) milligrams;
+ (NSUnitMass *) micrograms;
+ (NSUnitMass *) nanograms;
+ (NSUnitMass *) picograms;
+ (NSUnitMass *) ounces;
+ (NSUnitMass *) pounds;
+ (NSUnitMass *) stones;
+ (NSUnitMass *) metricTons;
+ (NSUnitMass *) shortTons;
+ (NSUnitMass *) carats;
+ (NSUnitMass *) ouncesTroy;
+ (NSUnitMass *) slugs;
@end
@interface NSUnitPower : NSDimension
+ (NSUnitPower *) terawatts;
+ (NSUnitPower *) gigawatts;
+ (NSUnitPower *) megawatts;
+ (NSUnitPower *) kilowatts;
+ (NSUnitPower *) watts;
+ (NSUnitPower *) milliwatts;
+ (NSUnitPower *) microwatts;
+ (NSUnitPower *) nanowatts;
+ (NSUnitPower *) picowatts;
+ (NSUnitPower *) femtowatts;
+ (NSUnitPower *) horsepower;
@end
@interface NSUnitPressure : NSDimension
+ (NSUnitPressure *) newtonsPerMetersSquared;
+ (NSUnitPressure *) gigapascals;
+ (NSUnitPressure *) megapascals;
+ (NSUnitPressure *) kilopascals;
+ (NSUnitPressure *) hectopascals;
+ (NSUnitPressure *) inchesOfMercury;
+ (NSUnitPressure *) bars;
+ (NSUnitPressure *) millibars;
+ (NSUnitPressure *) millimetersOfMercury;
+ (NSUnitPressure *) poundsForcePerSquareInch;
@end
@interface NSUnitSpeed : NSDimension
+ (NSUnitSpeed *) metersPerSecond;
+ (NSUnitSpeed *) kilometersPerHour;
+ (NSUnitSpeed *) milesPerHour;
+ (NSUnitSpeed *) knots;
@end
@interface NSUnitTemperature : NSDimension
+ (NSUnitTemperature *) kelvin;
+ (NSUnitTemperature *) celsius;
+ (NSUnitTemperature *) fahrenheit;
@end
@interface NSUnitVolume : NSDimension
+ (NSUnitVolume *) megaliters;
+ (NSUnitVolume *) kiloliters;
+ (NSUnitVolume *) liters;
+ (NSUnitVolume *) deciliters;
+ (NSUnitVolume *) centiliters;
+ (NSUnitVolume *) milliliters;
+ (NSUnitVolume *) cubicKilometers;
+ (NSUnitVolume *) cubicMeters;
+ (NSUnitVolume *) cubicDecimeters;
+ (NSUnitVolume *) cubicCentimeters;
+ (NSUnitVolume *) cubicMillimeters;
+ (NSUnitVolume *) cubicInches;
+ (NSUnitVolume *) cubicFeet;
+ (NSUnitVolume *) cubicYards;
+ (NSUnitVolume *) cubicMiles;
+ (NSUnitVolume *) acreFeet;
+ (NSUnitVolume *) bushels;
+ (NSUnitVolume *) teaspoons;
+ (NSUnitVolume *) tablespoons;
+ (NSUnitVolume *) fluidOunces;
+ (NSUnitVolume *) cups;
+ (NSUnitVolume *) pints;
+ (NSUnitVolume *) quarts;
+ (NSUnitVolume *) gallons;
+ (NSUnitVolume *) imperialTeaspoons;
+ (NSUnitVolume *) imperialTablespoons;
+ (NSUnitVolume *) imperialFluidOunces;
+ (NSUnitVolume *) imperialPints;
+ (NSUnitVolume *) imperialQuarts;
+ (NSUnitVolume *) imperialGallons;
+ (NSUnitVolume *) metricCups;
@end
# 165 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserActivity.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserActivity.h"
@interface NSUserActivity : NSObject
@end
# 166 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLAuthenticationChallenge.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLAuthenticationChallenge.h"
@class NSError;
@class NSURLAuthenticationChallenge;
@class NSURLCredential;
@class NSURLProtectionSpace;
@class NSURLResponse;
@protocol NSURLAuthenticationChallengeSender <NSObject>
- (void) cancelAuthenticationChallenge:
(NSURLAuthenticationChallenge *)challenge;
- (void) continueWithoutCredentialForAuthenticationChallenge:
(NSURLAuthenticationChallenge *)challenge;
- (void) useCredential: (NSURLCredential *)credential
forAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge;
@end
@interface NSURLAuthenticationChallenge : NSObject
{
}
- (NSError *) error;
- (NSURLResponse *) failureResponse;
- (id) initWithAuthenticationChallenge:
(NSURLAuthenticationChallenge *)challenge
sender:
(id<NSURLAuthenticationChallengeSender>)sender;
# 119 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLAuthenticationChallenge.h"
- (id) initWithProtectionSpace: (NSURLProtectionSpace *)space
proposedCredential: (NSURLCredential *)credential
previousFailureCount: (NSInteger)previousFailureCount
failureResponse: (NSURLResponse *)response
error: (NSError *)error
sender: (id<NSURLAuthenticationChallengeSender>)sender;
- (NSInteger) previousFailureCount;
- (NSURLCredential *) proposedCredential;
- (NSURLProtectionSpace *) protectionSpace;
- (id<NSURLAuthenticationChallengeSender>) sender;
@end
# 167 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLCache.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLCache.h"
@class NSData;
@class NSDictionary;
@class NSURLRequest;
@class NSURLRequest;
@class NSURLResponse;
typedef enum
{
NSURLCacheStorageAllowed,
NSURLCacheStorageAllowedInMemoryOnly,
NSURLCacheStorageNotAllowed
} NSURLCacheStoragePolicy;
@interface NSCachedURLResponse : NSObject <NSCoding, NSCopying>
{
}
- (NSData *) data;
- (id) initWithResponse: (NSURLResponse *)response data: (NSData *)data;
- (id) initWithResponse: (NSURLResponse *)response
data: (NSData *)data
userInfo: (NSDictionary *)userInfo
storagePolicy: (NSURLCacheStoragePolicy)storagePolicy;
- (NSURLResponse *) response;
- (NSURLCacheStoragePolicy) storagePolicy;
- (NSDictionary *) userInfo;
@end
@interface NSURLCache : NSObject
{
}
+ (void) setSharedURLCache: (NSURLCache *)cache;
# 132 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLCache.h"
+ (NSURLCache *) sharedURLCache;
- (NSCachedURLResponse *) cachedResponseForRequest: (NSURLRequest *)request;
- (NSUInteger) currentDiskUsage;
- (NSUInteger) currentMemoryUsage;
- (NSUInteger) diskCapacity;
- (id) initWithMemoryCapacity: (NSUInteger)memoryCapacity
diskCapacity: (NSUInteger)diskCapacity
diskPath: (NSString *)path;
- (NSUInteger) memoryCapacity;
- (void) removeAllCachedResponses;
- (void) removeCachedResponseForRequest: (NSURLRequest *)request;
- (void) setDiskCapacity: (NSUInteger)diskCapacity;
- (void) setMemoryCapacity: (NSUInteger)memoryCapacity;
- (void) storeCachedResponse: (NSCachedURLResponse *)cachedResponse
forRequest: (NSURLRequest *)request;
@end
@class NSURLSessionDataTask;
@interface NSURLCache (NSURLSessionTaskAdditions)
- (void) storeCachedResponse: (NSCachedURLResponse*)cachedResponse
forDataTask: (NSURLSessionDataTask*)dataTask;
- (NSCachedURLResponse*) cachedResponseForDataTask: (NSURLSessionDataTask*)dataTask;
- (void) removeCachedResponseForDataTask: (NSURLSessionDataTask*)dataTask;
@end
# 168 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLConnection.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLConnection.h"
@class NSCachedURLResponse;
@class NSData;
@class NSError;
@class NSInputStream;
@class NSURLAuthenticationChallenge;
@class NSURLRequest;
@class NSURLResponse;
@interface NSURLConnection : NSObject
{
}
# 64 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLConnection.h"
+ (BOOL) canHandleRequest: (NSURLRequest *)request;
+ (NSURLConnection *) connectionWithRequest: (NSURLRequest *)request
delegate: (id)delegate;
- (void) start;
- (void) cancel;
- (void) scheduleInRunLoop: (NSRunLoop *)aRunLoop
forMode: (NSRunLoopMode)mode;
- (void) unscheduleFromRunLoop: (NSRunLoop *)aRunLoop
forMode: (NSRunLoopMode)mode;
# 107 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLConnection.h"
- (id) initWithRequest: (NSURLRequest *)request delegate: (id)delegate;
# 124 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLConnection.h"
- (id) initWithRequest: (NSURLRequest *)request delegate: (id)delegate startImmediately: (BOOL)startImmediately;
@end
# 185 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLConnection.h"
@protocol NSURLConnectionDelegate <NSObject>
@optional
# 203 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLConnection.h"
- (void) connection: (NSURLConnection *)connection
didCancelAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge;
- (void) connection: (NSURLConnection *)connection
didFailWithError: (NSError *)error;
- (void) connectionDidFinishLoading: (NSURLConnection *)connection;
- (void) connection: (NSURLConnection *)connection
didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge;
- (void) connection: (NSURLConnection *)connection
didReceiveData: (NSData *)data;
- (void) connection: (NSURLConnection *)connection
didReceiveResponse: (NSURLResponse *)response;
- (NSCachedURLResponse *) connection: (NSURLConnection *)connection
willCacheResponse: (NSCachedURLResponse *)cachedResponse;
# 263 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLConnection.h"
- (NSURLRequest *) connection: (NSURLConnection *)connection
willSendRequest: (NSURLRequest *)request
redirectResponse: (NSURLResponse *)response;
@end
@protocol NSURLConnectionDataDelegate <NSURLConnectionDelegate>
@optional
- (NSURLRequest *) connection: (NSURLConnection *)connection
willSendRequest: (NSURLRequest *)request
redirectResponse: (NSURLResponse *)response;
- (void) connection: (NSURLConnection *)connection
didReceiveResponse: (NSURLResponse *)response;
- (void) connection: (NSURLConnection *) connection didReceiveData: (NSData *)data;
- (NSInputStream *) connection: (NSURLConnection *)connection
needNewBodyStream: (NSURLRequest *)request;
- (void) connection: (NSURLConnection *)connection
didSendBodyData: (NSInteger)bytesWritten
totalBytesWritten: (NSInteger)totalBytesWritten
totalBytesExpectedToWrite: (NSInteger)totalBytesExpectedToWrite;
- (NSCachedURLResponse *) connection: (NSURLConnection *)connection
willCacheResponse:(NSCachedURLResponse *)cachedResponse;
- (void) connectionDidFinishLoading: (NSURLConnection *)connection;
@end
@interface NSURLConnection (NSURLConnectionSynchronousLoading)
+ (NSData *) sendSynchronousRequest: (NSURLRequest *)request
returningResponse: (NSURLResponse **)response
error: (NSError **)error;
@end
# 169 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLCredential.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLCredential.h"
@class NSString;
typedef enum {
NSURLCredentialPersistenceNone,
NSURLCredentialPersistenceForSession,
NSURLCredentialPersistencePermanent,
NSURLCredentialPersistenceSynchronizable
} NSURLCredentialPersistence;
@interface NSURLCredential : NSObject <NSCopying>
{
}
+ (NSURLCredential *) credentialWithUser: (NSString *)user
password: (NSString *)password
persistence: (NSURLCredentialPersistence)persistence;
- (BOOL) hasPassword;
- (id) initWithUser: (NSString *)user
password: (NSString *)password
persistence: (NSURLCredentialPersistence)persistence;
- (BOOL) isEqual: (id)other;
# 99 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLCredential.h"
- (NSString *) password;
- (NSURLCredentialPersistence) persistence;
- (NSString *) user;
@end
# 170 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLCredentialStorage.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLCredentialStorage.h"
@class NSDictionary;
@class NSString;
@class NSURLCredential;
@class NSURLProtectionSpace;
extern NSString *const NSURLCredentialStorageChangedNotification;
@interface NSURLCredentialStorage : NSObject
{
}
+ (NSURLCredentialStorage *) sharedCredentialStorage;
- (NSDictionary *) allCredentials;
- (NSDictionary *) credentialsForProtectionSpace: (NSURLProtectionSpace *)space;
- (NSURLCredential *) defaultCredentialForProtectionSpace:
(NSURLProtectionSpace *)space;
- (void) removeCredential: (NSURLCredential *)credential
forProtectionSpace: (NSURLProtectionSpace *)space;
- (void) setCredential: (NSURLCredential *)credential
forProtectionSpace: (NSURLProtectionSpace *)space;
- (void) setDefaultCredential: (NSURLCredential *)credential
forProtectionSpace: (NSURLProtectionSpace *)space;
@end
# 171 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLDownload.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLDownload.h"
@class NSData;
@class NSError;
@class NSString;
@class NSURLAuthenticationChallenge;
@class NSURLRequest;
@class NSURLResponse;
@interface NSURLDownload : NSObject
{
}
+ (BOOL) canResumeDownloadDecodedWithEncodingMIMEType: (NSString *)MIMEType;
- (void) cancel;
- (BOOL) deletesFileUponFailure;
- (id) initWithRequest: (NSURLRequest *)request delegate: (id)delegate;
- (id) initWithResumeData: (NSData *)resumeData
delegate: (id)delegate
path: (NSString *)path;
- (NSURLRequest *) request;
# 98 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLDownload.h"
- (NSData *) resumeData;
- (void) setDeletesFileUponFailure: (BOOL)deletesFileUponFailure;
# 116 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLDownload.h"
- (void) setDestination: (NSString *)path allowOverwrite: (BOOL)allowOverwrite;
@end
@protocol NSURLDownloadDelegate <NSObject>
@optional
# 141 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLDownload.h"
- (void) downloadDidBegin: (NSURLDownload *)download;
- (void) downloadDidFinish: (NSURLDownload *)download;
- (void) download: (NSURLDownload *)download
decideDestinationWithSuggestedFilename: (NSString *)filename;
- (void) download: (NSURLDownload *)download
didCancelAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge;
- (void) download: (NSURLDownload *)download
didCreateDestination: (NSString *)path;
- (void) download: (NSURLDownload *)download didFailWithError: (NSError *)error;
- (void) download: (NSURLDownload *)download
didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge;
- (void) download: (NSURLDownload *)download
didReceiveDataOfLength: (NSUInteger)length;
- (void) download: (NSURLDownload *)download
didReceiveResponse: (NSURLResponse *)response;
- (BOOL) download: (NSURLDownload *)download
shouldDecodeSourceDataOfMIMEType: (NSString *)encodingType;
# 211 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLDownload.h"
- (void) download: (NSURLDownload *)download
willResumeWithResponse: (NSURLResponse *)response
fromByte: (long long)startingByte;
- (NSURLRequest *) download: (NSURLDownload *)download
willSendRequest: (NSURLRequest *)request
redirectResponse: (NSURLResponse *)redirectResponse;
@end
# 172 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLError.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLError.h"
@class NSString;
extern NSString * const NSURLErrorDomain;
extern NSString * const NSErrorFailingURLStringKey;
enum
{
NSURLErrorUnknown = -1,
NSURLErrorCancelled = -999,
NSURLErrorBadURL = -1000,
NSURLErrorTimedOut = -1001,
NSURLErrorUnsupportedURL = -1002,
NSURLErrorCannotFindHost = -1003,
NSURLErrorCannotConnectToHost = -1004,
NSURLErrorNetworkConnectionLost = -1005,
NSURLErrorDNSLookupFailed = -1006,
NSURLErrorHTTPTooManyRedirects = -1007,
NSURLErrorResourceUnavailable = -1008,
NSURLErrorNotConnectedToInternet = -1009,
NSURLErrorRedirectToNonExistentLocation = -1010,
NSURLErrorBadServerResponse = -1011,
NSURLErrorUserCancelledAuthentication = -1012,
NSURLErrorUserAuthenticationRequired = -1013,
NSURLErrorZeroByteResource = -1014,
NSURLErrorFileDoesNotExist = -1100,
NSURLErrorFileIsDirectory = -1101,
NSURLErrorNoPermissionsToReadFile = -1102,
NSURLErrorDataLengthExceedsMaximum = -1103,
NSURLErrorSecureConnectionFailed = -1200,
NSURLErrorServerCertificateHasBadDate = -1201,
NSURLErrorServerCertificateUntrusted = -1202,
NSURLErrorServerCertificateHasUnknownRoot = -1203,
NSURLErrorServerCertificateNotYetValid = -1204,
NSURLErrorClientCertificateRejected = -1205,
NSURLErrorCannotLoadFromNetwork = -2000,
NSURLErrorCannotCreateFile = -3000,
NSURLErrorCannotOpenFile = -3001,
NSURLErrorCannotCloseFile = -3002,
NSURLErrorCannotWriteToFile = -3003,
NSURLErrorCannotRemoveFile = -3004,
NSURLErrorCannotMoveFile = -3005,
NSURLErrorDownloadDecodingFailedMidStream = -3006,
NSURLErrorDownloadDecodingFailedToComplete = -3007
};
# 173 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLProtectionSpace.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLProtectionSpace.h"
@class NSString;
extern NSString * const NSURLProtectionSpaceFTPProxy;
extern NSString * const NSURLProtectionSpaceHTTPProxy;
extern NSString * const NSURLProtectionSpaceHTTPSProxy;
extern NSString * const NSURLProtectionSpaceSOCKSProxy;
extern NSString * const NSURLAuthenticationMethodDefault;
extern NSString * const NSURLAuthenticationMethodHTMLForm;
extern NSString * const NSURLAuthenticationMethodHTTPBasic;
extern NSString * const NSURLAuthenticationMethodHTTPDigest;
extern NSString * const NSURLAuthenticationMethodNTLM;
extern NSString * const NSURLAuthenticationMethodNegotiate;
extern NSString * const NSURLAuthenticationMethodClientCertificate;
extern NSString * const NSURLAuthenticationMethodServerTrust;
@interface NSURLProtectionSpace : NSObject <NSCopying>
{
}
- (NSString *) authenticationMethod;
- (NSString *) host;
- (id) initWithHost: (NSString *)host
port: (NSInteger)port
protocol: (NSString *)protocol
realm: (NSString *)realm
authenticationMethod: (NSString *)authenticationMethod;
- (id) initWithProxyHost: (NSString *)host
port: (NSInteger)port
type: (NSString *)type
realm: (NSString *)realm
authenticationMethod: (NSString *)authenticationMethod;
- (BOOL) isProxy;
- (NSInteger) port;
- (NSString *) protocol;
- (NSString *) proxyType;
- (NSString *) realm;
- (BOOL) receivesCredentialSecurely;
@property (readonly, copy) NSArray *distinguishedNames;
@end
# 176 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLProtocol.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLProtocol.h"
@class NSCachedURLResponse;
@class NSError;
@class NSMutableURLRequest;
@class NSURLAuthenticationChallenge;
@class NSURLConnection;
@class NSURLProtocol;
@class NSURLRequest;
@class NSURLResponse;
@class NSURLSessionTask;
@protocol NSURLProtocolClient <NSObject>
- (void) URLProtocol: (NSURLProtocol *)protocol
cachedResponseIsValid: (NSCachedURLResponse *)cachedResponse;
- (void) URLProtocol: (NSURLProtocol *)protocol
didFailWithError: (NSError *)error;
- (void) URLProtocol: (NSURLProtocol *)protocol
didLoadData: (NSData *)data;
- (void) URLProtocol: (NSURLProtocol *)protocol
didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge;
- (void) URLProtocol: (NSURLProtocol *)protocol
didReceiveResponse: (NSURLResponse *)response
cacheStoragePolicy: (NSURLCacheStoragePolicy)policy;
- (void) URLProtocol: (NSURLProtocol *)protocol
wasRedirectedToRequest: (NSURLRequest *)request
redirectResponse: (NSURLResponse *)redirectResponse;
- (void) URLProtocolDidFinishLoading: (NSURLProtocol *)protocol;
- (void) URLProtocol: (NSURLProtocol *)protocol
didCancelAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge;
@end
# 121 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLProtocol.h"
@interface NSURLProtocol : NSObject
{
}
+ (id) propertyForKey: (NSString *)key inRequest: (NSURLRequest *)request;
# 145 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLProtocol.h"
+ (BOOL) registerClass: (Class)protocolClass;
+ (void) setProperty: (id)value
forKey: (NSString *)key
inRequest: (NSMutableURLRequest *)request;
+ (void) unregisterClass: (Class)protocolClass;
- (NSCachedURLResponse *) cachedResponse;
- (id <NSURLProtocolClient>) client;
# 179 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLProtocol.h"
- (id) initWithRequest: (NSURLRequest *)request
cachedResponse: (NSCachedURLResponse *)cachedResponse
client: (id <NSURLProtocolClient>)client;
- (instancetype) initWithTask: (NSURLSessionTask*)task
cachedResponse: (NSCachedURLResponse*)cachedResponse
client: (id<NSURLProtocolClient>)client;
- (NSURLRequest *) request;
- (NSURLSessionTask *) task;
@end
@interface NSURLProtocol (Subclassing)
+ (BOOL) canInitWithRequest: (NSURLRequest *)request;
+ (BOOL) canInitWithTask: (NSURLSessionTask*)task;
+ (NSURLRequest *) canonicalRequestForRequest: (NSURLRequest *)request;
+ (BOOL) requestIsCacheEquivalent: (NSURLRequest *)a
toRequest: (NSURLRequest *)b;
- (void) startLoading;
- (void) stopLoading;
@end
# 177 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLRequest.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLRequest.h"
@class NSData;
@class NSDate;
@class NSDictionary;
@class NSInputStream;
@class NSString;
@class NSURL;
enum {
NSURLRequestUseProtocolCachePolicy = 0,
NSURLRequestReloadIgnoringLocalCacheData = 1,
NSURLRequestReloadIgnoringLocalAndRemoteCacheData = 4,
NSURLRequestReloadIgnoringCacheData = NSURLRequestReloadIgnoringLocalCacheData,
NSURLRequestReturnCacheDataElseLoad = 2,
NSURLRequestReturnCacheDataDontLoad = 3,
NSURLRequestReloadRevalidatingCacheData = 5
};
# 82 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLRequest.h"
typedef NSUInteger NSURLRequestCachePolicy;
enum
{
NSURLNetworkServiceTypeDefault = 0,
NSURLNetworkServiceTypeVoIP = 1,
NSURLNetworkServiceTypeVideo = 2,
NSURLNetworkServiceTypeBackground = 3,
NSURLNetworkServiceTypeVoice = 4,
NSURLNetworkServiceTypeCallSignaling = 11
};
# 125 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLRequest.h"
typedef NSUInteger NSURLRequestNetworkServiceType;
# 134 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLRequest.h"
@interface NSURLRequest : NSObject <NSCoding, NSCopying, NSMutableCopying>
{
}
+ (instancetype) requestWithURL: (NSURL *)URL;
+ (instancetype) requestWithURL: (NSURL *)URL
cachePolicy: (NSURLRequestCachePolicy)cachePolicy
timeoutInterval: (NSTimeInterval)timeoutInterval;
- (NSURLRequestCachePolicy) cachePolicy;
- (instancetype) initWithURL: (NSURL *)URL;
- (instancetype) initWithURL: (NSURL *)URL
cachePolicy: (NSURLRequestCachePolicy)cachePolicy
timeoutInterval: (NSTimeInterval)timeoutInterval;
- (NSURL *) mainDocumentURL;
- (NSTimeInterval) timeoutInterval;
- (NSURL *) URL;
@end
@interface NSMutableURLRequest : NSURLRequest
- (void) setCachePolicy: (NSURLRequestCachePolicy)cachePolicy;
- (void) setMainDocumentURL: (NSURL *)URL;
- (void) setTimeoutInterval: (NSTimeInterval)seconds;
- (void) setURL: (NSURL *)URL;
@end
@interface NSURLRequest (NSHTTPURLRequest)
- (NSDictionary *) allHTTPHeaderFields;
- (NSData *) HTTPBody;
# 253 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLRequest.h"
- (NSInputStream *) HTTPBodyStream;
- (NSString *) HTTPMethod;
- (BOOL) HTTPShouldHandleCookies;
- (NSString *) valueForHTTPHeaderField: (NSString *)field;
@end
@interface NSMutableURLRequest (NSMutableHTTPURLRequest)
- (void) addValue: (NSString *)value forHTTPHeaderField: (NSString *)field;
- (void) setAllHTTPHeaderFields: (NSDictionary *)headerFields;
# 303 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLRequest.h"
- (void) setHTTPBodyStream: (NSInputStream *)inputStream;
- (void) setHTTPBody: (NSData *)data;
- (void) setHTTPMethod: (NSString *)method;
- (void) setHTTPShouldHandleCookies: (BOOL)should;
- (void) setValue: (NSString *)value forHTTPHeaderField: (NSString *)field;
@end
@protocol GSLogDelegate;
@interface NSMutableURLRequest (GNUstep)
- (int) setDebug: (int)d;
# 348 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLRequest.h"
- (id<GSLogDelegate>) setDebugLogDelegate: (id<GSLogDelegate>)d;
@end
# 178 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLResponse.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLResponse.h"
@class NSDictionary;
@class NSString;
@class NSURL;
@interface NSURLResponse : NSObject <NSCoding, NSCopying>
{
}
- (long long) expectedContentLength;
- (id) initWithURL: (NSURL *)URL
MIMEType: (NSString *)MIMEType
expectedContentLength: (NSInteger)length
textEncodingName: (NSString *)name;
- (id) initWithURL: (NSURL*)URL
statusCode: (NSInteger)statusCode
HTTPVersion: (NSString*)HTTPVersion
headerFields: (NSDictionary*)headerFields;
- (NSString *) MIMEType;
# 100 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLResponse.h"
- (NSString *) suggestedFilename;
- (NSString *) textEncodingName;
- (NSURL *) URL;
@end
@interface NSHTTPURLResponse : NSURLResponse
+ (NSString *) localizedStringForStatusCode: (NSInteger)statusCode;
- (NSDictionary *) allHeaderFields;
- (NSInteger) statusCode;
@end
# 179 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLSession.h" 1
# 40 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLSession.h"
@protocol NSURLSessionDelegate;
@protocol NSURLSessionTaskDelegate;
@class GSMultiHandle;
@class GSURLSessionTaskBody;
@class NSError;
@class NSHTTPURLResponse;
@class NSOperationQueue;
@class NSURL;
@class NSURLAuthenticationChallenge;
@class NSURLCache;
@class NSURLCredential;
@class NSURLCredentialStorage;
@class NSURLRequest;
@class NSURLResponse;
@class NSURLSessionConfiguration;
@class NSURLSessionTask;
@class NSURLSessionDataTask;
@class NSURLSessionUploadTask;
@class NSURLSessionDownloadTask;
# 88 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLSession.h"
@interface NSURLSession : NSObject
{
NSOperationQueue *_delegateQueue;
id <NSURLSessionDelegate> _delegate;
NSURLSessionConfiguration *_configuration;
NSString *_sessionDescription;
GSMultiHandle *_multiHandle;
}
+ (NSURLSession*) sharedSession;
+ (NSURLSession*) sessionWithConfiguration: (NSURLSessionConfiguration*)configuration;
+ (NSURLSession*) sessionWithConfiguration: (NSURLSessionConfiguration*)configuration
delegate: (id <NSURLSessionDelegate>)delegate
delegateQueue: (NSOperationQueue*)queue;
- (NSOperationQueue*) delegateQueue;
- (id <NSURLSessionDelegate>) delegate;
- (NSURLSessionConfiguration*) configuration;
- (NSString*) sessionDescription;
- (void) setSessionDescription: (NSString*)sessionDescription;
# 129 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLSession.h"
- (void) finishTasksAndInvalidate;
- (void) invalidateAndCancel;
# 145 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLSession.h"
- (NSURLSessionDataTask*) dataTaskWithRequest: (NSURLRequest*)request;
- (NSURLSessionDataTask*) dataTaskWithURL: (NSURL*)url;
- (NSURLSessionUploadTask*) uploadTaskWithRequest: (NSURLRequest*)request
fromFile: (NSURL*)fileURL;
- (NSURLSessionUploadTask*) uploadTaskWithRequest: (NSURLRequest*)request
fromData: (NSData*)bodyData;
- (NSURLSessionUploadTask*) uploadTaskWithStreamedRequest: (NSURLRequest*)request;
- (NSURLSessionDownloadTask*) downloadTaskWithRequest: (NSURLRequest*)request;
- (NSURLSessionDownloadTask*) downloadTaskWithURL: (NSURL*)url;
- (NSURLSessionDownloadTask *) downloadTaskWithResumeData: (NSData *)resumeData;
- (void) getTasksWithCompletionHandler: (void (^)(NSArray<NSURLSessionDataTask*> *dataTasks, NSArray<NSURLSessionUploadTask*> *uploadTasks, NSArray<NSURLSessionDownloadTask*> *downloadTasks))completionHandler;
- (void) getAllTasksWithCompletionHandler: (void (^)(NSArray<__kindof NSURLSessionTask*> *tasks))completionHandler;
@end
# 185 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLSession.h"
@interface NSURLSession (NSURLSessionAsynchronousConvenience)
# 194 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLSession.h"
- (NSURLSessionDataTask*) dataTaskWithRequest: (NSURLRequest*)request
completionHandler: (void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler;
- (NSURLSessionDataTask*) dataTaskWithURL: (NSURL*)url
completionHandler: (void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler;
- (NSURLSessionUploadTask*) uploadTaskWithRequest: (NSURLRequest*)request
fromFile: (NSURL*)fileURL
completionHandler: (void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler;
- (NSURLSessionUploadTask*) uploadTaskWithRequest: (NSURLRequest*)request
fromData: (NSData*)bodyData
completionHandler: (void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler;
- (NSURLSessionDownloadTask*) downloadTaskWithRequest: (NSURLRequest*)request
completionHandler: (void (^)(NSURL *location, NSURLResponse *response, NSError *error))completionHandler;
- (NSURLSessionDownloadTask*) downloadTaskWithURL: (NSURL *)url
completionHandler: (void (^)(NSURL *location, NSURLResponse *response, NSError *error))completionHandler;
- (NSURLSessionDownloadTask*) downloadTaskWithResumeData: (NSData*)resumeData
completionHandler: (void (^)(NSURL *location, NSURLResponse *response, NSError *error))completionHandler;
@end
typedef enum NSURLSessionTaskState : NSUInteger NSURLSessionTaskState; enum NSURLSessionTaskState : NSUInteger {
NSURLSessionTaskStateRunning = 0,
NSURLSessionTaskStateSuspended = 1,
NSURLSessionTaskStateCanceling = 2,
NSURLSessionTaskStateCompleted = 3,
};
extern const float NSURLSessionTaskPriorityDefault;
extern const float NSURLSessionTaskPriorityLow;
extern const float NSURLSessionTaskPriorityHigh;
extern const int64_t NSURLSessionTransferSizeUnknown;
@interface NSURLSessionTask : NSObject <NSCopying>
{
NSUInteger _taskIdentifier;
NSURLRequest *_originalRequest;
NSURLRequest *_currentRequest;
NSURLResponse *_response;
int64_t _countOfBytesReceived;
int64_t _countOfBytesSent;
int64_t _countOfBytesExpectedToSend;
int64_t _countOfBytesExpectedToReceive;
NSString *_taskDescription;
NSURLSessionTaskState _state;
NSError *_error;
void *_workQueue;
NSUInteger _suspendCount;
GSURLSessionTaskBody *_knownBody;
void (^_dataCompletionHandler)(NSData *data, NSURLResponse *response, NSError *error);
void (^_downloadCompletionHandler)(NSURL *location, NSURLResponse *response, NSError *error);
}
- (NSUInteger) taskIdentifier;
- (NSURLRequest*) originalRequest;
- (NSURLRequest*) currentRequest;
- (NSURLResponse*) response;
- (void) setResponse: (NSURLResponse*)response;
- (int64_t) countOfBytesReceived;
- (int64_t) countOfBytesSent;
- (int64_t) countOfBytesExpectedToSend;
- (int64_t) countOfBytesExpectedToReceive;
- (NSString*) taskDescription;
- (void) setTaskDescription: (NSString*)taskDescription;
- (NSURLSessionTaskState) state;
- (NSError*) error;
- (NSURLSession*) session;
- (void) cancel;
# 359 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLSession.h"
- (void) suspend;
- (void) resume;
- (float) priority;
- (void) setPriority: (float)priority;
@end
@interface NSURLSessionDataTask : NSURLSessionTask
@end
@interface NSURLSessionUploadTask : NSURLSessionDataTask
@end
@interface NSURLSessionDownloadTask : NSURLSessionTask
@end
@interface NSURLSessionStreamTask : NSURLSessionTask
@end
# 391 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLSession.h"
@interface NSURLSessionConfiguration : NSObject <NSCopying>
{
NSString *_identifier;
NSURLCache *_URLCache;
NSURLRequestCachePolicy _requestCachePolicy;
NSArray *_protocolClasses;
NSInteger _HTTPMaximumConnectionLifetime;
NSInteger _HTTPMaximumConnectionsPerHost;
BOOL _HTTPShouldUsePipelining;
NSHTTPCookieAcceptPolicy _HTTPCookieAcceptPolicy;
NSHTTPCookieStorage *_HTTPCookieStorage;
NSURLCredentialStorage *_URLCredentialStorage;
BOOL _HTTPShouldSetCookies;
NSDictionary *_HTTPAdditionalHeaders;
}
- (NSURLRequest*) configureRequest: (NSURLRequest*)request;
+ (NSURLSessionConfiguration*) defaultSessionConfiguration;
+ (NSURLSessionConfiguration*) ephemeralSessionConfiguration;
+ (NSURLSessionConfiguration*) backgroundSessionConfigurationWithIdentifier:(NSString*)identifier;
- (NSDictionary*) HTTPAdditionalHeaders;
- (void) setHTTPAdditionalHeaders: (NSDictionary*)headers;
- (NSHTTPCookieAcceptPolicy) HTTPCookieAcceptPolicy;
- (void) setHTTPCookieAcceptPolicy: (NSHTTPCookieAcceptPolicy)policy;
- (NSHTTPCookieStorage*) HTTPCookieStorage;
- (void) setHTTPCookieStorage: (NSHTTPCookieStorage*)storage;
- (NSInteger) HTTPMaximumConnectionsPerHost;
- (void) setHTTPMaximumConnectionsPerHost: (NSInteger)n;
- (BOOL) HTTPShouldSetCookies;
- (void) setHTTPShouldSetCookies: (BOOL)flag;
- (BOOL) HTTPShouldUsePipelining;
- (void) setHTTPShouldUsePipelining: (BOOL)flag;
- (NSString*) identifier;
- (NSArray*) protocolClasses;
- (NSURLRequestCachePolicy) requestCachePolicy;
- (void) setRequestCachePolicy: (NSURLRequestCachePolicy)policy;
- (NSURLCache*) URLCache;
- (void) setURLCache: (NSURLCache*)cache;
- (NSURLCredentialStorage*) URLCredentialStorage;
- (void) setURLCredentialStorage: (NSURLCredentialStorage*)storage;
- (NSInteger) HTTPMaximumConnectionLifetime;
- (void) setHTTPMaximumConnectionLifetime: (NSInteger)n;
@end
typedef enum NSURLSessionAuthChallengeDisposition : NSInteger NSURLSessionAuthChallengeDisposition; enum NSURLSessionAuthChallengeDisposition : NSInteger {
NSURLSessionAuthChallengeUseCredential = 0,
NSURLSessionAuthChallengePerformDefaultHandling = 1,
NSURLSessionAuthChallengeCancelAuthenticationChallenge = 2,
NSURLSessionAuthChallengeRejectProtectionSpace = 3
};
typedef enum NSURLSessionResponseDisposition : NSInteger NSURLSessionResponseDisposition; enum NSURLSessionResponseDisposition : NSInteger {
NSURLSessionResponseCancel = 0,
NSURLSessionResponseAllow = 1,
NSURLSessionResponseBecomeDownload = 2,
NSURLSessionResponseBecomeStream = 3
};
@protocol NSURLSessionDelegate <NSObject>
@optional
- (void) URLSession: (NSURLSession*)session
didBecomeInvalidWithError: (NSError*)error;
- (void) URLSession: (NSURLSession*)session
didReceiveChallenge: (NSURLAuthenticationChallenge*)challenge
completionHandler: (void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))handler;
@end
@protocol NSURLSessionTaskDelegate <NSURLSessionDelegate>
@optional
- (void ) URLSession: (NSURLSession*)session
task: (NSURLSessionTask*)task
didCompleteWithError: (NSError*)error;
- (void) URLSession: (NSURLSession*)session
task: (NSURLSessionTask*)task
didReceiveChallenge: (NSURLAuthenticationChallenge*)challenge
completionHandler: (void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))handler;
- (void) URLSession: (NSURLSession*)session
task: (NSURLSessionTask*)task
didSendBodyData: (int64_t)bytesSent
totalBytesSent: (int64_t)totalBytesSent
totalBytesExpectedToSend: (int64_t)totalBytesExpectedToSend;
# 523 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLSession.h"
- (void) URLSession: (NSURLSession*)session
task: (NSURLSessionTask*)task
willPerformHTTPRedirection: (NSHTTPURLResponse*)response
newRequest: (NSURLRequest*)request
completionHandler: (void (^)(NSURLRequest*))completionHandler;
@end
@protocol NSURLSessionDataDelegate <NSURLSessionTaskDelegate>
@optional
- (void) URLSession: (NSURLSession*)session
dataTask: (NSURLSessionDataTask*)dataTask
didReceiveData: (NSData*)data;
- (void) URLSession: (NSURLSession*)session
dataTask: (NSURLSessionDataTask*)dataTask
didReceiveResponse: (NSURLResponse*)response
completionHandler: (void (^)(NSURLSessionResponseDisposition disposition))completionHandler;
@end
@protocol NSURLSessionDownloadDelegate <NSURLSessionTaskDelegate>
- (void) URLSession: (NSURLSession *)session
downloadTask: (NSURLSessionDownloadTask *)downloadTask
didFinishDownloadingToURL: (NSURL *)location;
@optional
- (void) URLSession: (NSURLSession *)session
downloadTask: (NSURLSessionDownloadTask *)downloadTask
didWriteData: (int64_t)bytesWritten
totalBytesWritten: (int64_t)totalBytesWritten
totalBytesExpectedToWrite: (int64_t)totalBytesExpectedToWrite;
- (void) URLSession: (NSURLSession *)session
downloadTask: (NSURLSessionDownloadTask *)downloadTask
didResumeAtOffset: (int64_t)fileOffset
expectedTotalBytes: (int64_t)expectedTotalBytes;
@end
# 180 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
@class NSArray;
@class NSMutableArray;
@class NSDictionary;
@class NSMutableDictionary;
@class NSData;
@class NSTimer;
@class NSRecursiveLock;
@class NSDistributedLock;
# 59 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
extern NSString* const NSArgumentDomain;
extern NSString* const NSGlobalDomain;
extern NSString* const NSRegistrationDomain;
extern NSString* const GSConfigDomain;
# 86 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
extern NSString* const NSUserDefaultsDidChangeNotification;
extern NSString* const NSWeekDayNameArray;
extern NSString* const NSShortWeekDayNameArray;
extern NSString* const NSMonthNameArray;
extern NSString* const NSShortMonthNameArray;
extern NSString* const NSTimeFormatString;
extern NSString* const NSDateFormatString;
extern NSString* const NSShortDateFormatString;
extern NSString* const NSTimeDateFormatString;
extern NSString* const NSShortTimeDateFormatString;
extern NSString* const NSCurrencySymbol;
extern NSString* const NSDecimalSeparator;
extern NSString* const NSThousandsSeparator;
extern NSString* const NSInternationalCurrencyString;
extern NSString* const NSCurrencyString;
extern NSString* const NSDecimalDigits;
extern NSString* const NSAMPMDesignation;
# 148 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
extern NSString* const NSHourNameDesignations;
extern NSString* const NSYearMonthWeekDesignations;
extern NSString* const NSEarlierTimeDesignations;
extern NSString* const NSLaterTimeDesignations;
extern NSString* const NSThisDayDesignations;
extern NSString* const NSNextDayDesignations;
extern NSString* const NSNextNextDayDesignations;
extern NSString* const NSPriorDayDesignations;
extern NSString* const NSDateTimeOrdering;
extern NSString* const NSLanguageName;
extern NSString* const NSLanguageCode;
extern NSString* const NSFormalName;
extern NSString* const GSLocale;
# 216 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
@interface NSUserDefaults : NSObject
{
# 240 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
}
# 249 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
+ (NSUserDefaults*) standardUserDefaults;
# 259 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
+ (void) resetStandardUserDefaults;
# 269 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
+ (NSArray*) userLanguages;
+ (void) setUserLanguages: (NSArray*)languages;
# 284 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
- (void) addSuiteNamed: (NSString*)aName;
- (NSArray*) arrayForKey: (NSString*)defaultName;
# 303 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
- (BOOL) boolForKey: (NSString*)defaultName;
- (NSData*) dataForKey: (NSString*)defaultName;
- (NSDictionary*) dictionaryForKey: (NSString*)defaultName;
- (double) doubleForKey: (NSString*)defaultName;
- (float) floatForKey: (NSString*)defaultName;
- (id) init;
- (id) initWithUser: (NSString*)userName;
- (NSInteger) integerForKey: (NSString*)defaultName;
- (id) objectForKey: (NSString*)defaultName;
- (void) removeObjectForKey: (NSString*)defaultName;
- (void) removeSuiteNamed: (NSString*)aName;
- (NSArray*) searchList;
- (void) setBool: (BOOL)value forKey: (NSString*)defaultName;
- (void) setDouble: (double)value forKey: (NSString*)defaultName;
- (void) setFloat: (float)value forKey: (NSString*)defaultName;
- (void) setInteger: (NSInteger)value forKey: (NSString*)defaultName;
# 420 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
- (void) setObject: (id)value forKey: (NSString*)defaultName;
- (void) setSearchList: (NSArray*)newList;
- (NSArray*) stringArrayForKey: (NSString*)defaultName;
- (NSString*) stringForKey: (NSString*)defaultName;
- (NSDictionary*) persistentDomainForName: (NSString*)domainName;
- (NSArray*) persistentDomainNames;
# 459 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
- (void) removePersistentDomainForName: (NSString*)domainName;
# 470 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
- (void) setPersistentDomain: (NSDictionary*)domain
forName: (NSString*)domainName;
# 480 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
- (BOOL) synchronize;
- (void) removeVolatileDomainForName: (NSString*)domainName;
- (void) setVolatileDomain: (NSDictionary*)domain
forName: (NSString*)domainName;
- (NSDictionary*) volatileDomainForName: (NSString*)domainName;
- (NSArray*) volatileDomainNames;
- (NSDictionary*) dictionaryRepresentation;
# 521 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h"
- (void) registerDefaults: (NSDictionary*)newVals;
@end
# 181 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserNotification.h" 1
# 40 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserNotification.h"
@class NSString, NSDictionary, NSArray, NSDateComponents, NSDate, NSTimeZone, NSImage, NSAttributedString;
@class NSMutableArray;
@protocol NSUserNotificationCenterDelegate;
enum
{
NSUserNotificationActivationTypeNone = 0,
NSUserNotificationActivationTypeContentsClicked = 1,
NSUserNotificationActivationTypeActionButtonClicked = 2
,NSUserNotificationActivationTypeReplied = 3
};
typedef NSInteger NSUserNotificationActivationType;
@interface NSUserNotification : NSObject <NSCopying>
{
}
@property (copy) NSString *title;
@property (copy) NSString *subtitle;
@property (copy) NSString *informativeText;
@property (copy) NSString *actionButtonTitle;
@property (copy) NSDictionary *userInfo;
@property (copy) NSDate *deliveryDate;
@property (copy) NSTimeZone *deliveryTimeZone;
@property (copy) NSDateComponents *deliveryRepeatInterval;
@property (readonly) NSDate *actualDeliveryDate;
@property (readonly, getter=isPresented) BOOL presented;
@property (readonly, getter=isRemote) BOOL remote;
@property (copy) NSString *soundName;
@property BOOL hasActionButton;
@property (readonly) NSUserNotificationActivationType activationType;
@property (copy) NSString *otherButtonTitle;
@property (copy) NSString *identifier;
@property (copy) NSImage *contentImage;
@property BOOL hasReplyButton;
@property (copy) NSString *responsePlaceholder;
@property (readonly) NSAttributedString *response;
@end
extern NSString * const NSUserNotificationDefaultSoundName;
@interface NSUserNotificationCenter : NSObject
{
}
+ (NSUserNotificationCenter *)defaultUserNotificationCenter;
@property (assign) id <NSUserNotificationCenterDelegate> delegate;
@property (copy) NSArray *scheduledNotifications;
- (void) scheduleNotification: (NSUserNotification *)notification;
- (void) removeScheduledNotification: (NSUserNotification *)notification;
@property (readonly) NSArray *deliveredNotifications;
- (void) deliverNotification: (NSUserNotification *)notification;
- (void) removeDeliveredNotification: (NSUserNotification *)notification;
- (void) removeAllDeliveredNotifications;
@end
@protocol NSUserNotificationCenterDelegate <NSObject>
@optional
- (void) userNotificationCenter: (NSUserNotificationCenter *)center
didDeliverNotification: (NSUserNotification *)notification;
- (void) userNotificationCenter: (NSUserNotificationCenter *)center
didActivateNotification: (NSUserNotification *)notification;
- (BOOL) userNotificationCenter: (NSUserNotificationCenter *)center
shouldPresentNotification: (NSUserNotification *)notification;
@end
# 182 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSUUID.h" 1
# 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSUUID.h"
typedef uint8_t gsuuid_t[16];
@class NSString;
@interface NSUUID : NSObject <NSCopying, NSCoding>
{
@private
gsuuid_t uuid;
}
+ (instancetype) UUID;
- (instancetype) initWithUUIDString: (NSString *)string;
- (instancetype) initWithUUIDBytes: (gsuuid_t)bytes;
- (NSString *) UUIDString;
- (void) getUUIDBytes: (gsuuid_t)bytes;
@end
# 183 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSValueTransformer.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSValueTransformer.h"
@class NSArray;
@class NSString;
extern NSString* const NSNegateBooleanTransformerName;
extern NSString* const NSIsNilTransformerName;
extern NSString* const NSIsNotNilTransformerName;
extern NSString* const NSUnarchiveFromDataTransformerName;
@interface NSValueTransformer : NSObject
+ (BOOL) allowsReverseTransformation;
+ (void) setValueTransformer: (NSValueTransformer *)transformer
forName: (NSString *)name;
+ (Class) transformedValueClass;
# 94 "/usr/GNUstep/System/Library/Headers/Foundation/NSValueTransformer.h"
+ (NSValueTransformer *) valueTransformerForName: (NSString *)name;
+ (NSArray *) valueTransformerNames;
# 108 "/usr/GNUstep/System/Library/Headers/Foundation/NSValueTransformer.h"
- (id) reverseTransformedValue: (id)value;
- (id) transformedValue: (id)value;
@end
# 185 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDocument.h" 1
# 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDocument.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLNode.h" 1
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLNode.h"
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLNodeOptions.h" 1
# 86 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLNodeOptions.h"
enum {
NSXMLNodeOptionsNone = 0,
NSXMLNodeIsCDATA = 1 << 0,
NSXMLNodeExpandEmptyElement = 1 << 1,
NSXMLNodeCompactEmptyElement = 1 << 2,
NSXMLNodeUseSingleQuotes = 1 << 3,
NSXMLNodeUseDoubleQuotes = 1 << 4,
NSXMLDocumentTidyHTML = 1 << 9,
NSXMLDocumentTidyXML = 1 << 10,
NSXMLDocumentValidate = 1 << 13,
NSXMLNodeLoadExternalEntitiesAlways = 1 << 14,
NSXMLNodeLoadExternalEntitiesSameOriginOnly = 1 << 15,
NSXMLDocumentXInclude = 1 << 16,
NSXMLNodePrettyPrint = 1 << 17,
NSXMLDocumentIncludeContentTypeDeclaration = 1 << 18,
NSXMLNodeLoadExternalEntitiesNever = 1 << 19,
NSXMLNodePreserveNamespaceOrder = 1 << 20,
NSXMLNodePreserveAttributeOrder = 1 << 21,
NSXMLNodePreserveEntities = 1 << 22,
NSXMLNodePreservePrefixes = 1 << 23,
NSXMLNodePreserveCDATA = 1 << 24,
NSXMLNodePreserveWhitespace = 1 << 25,
NSXMLNodePreserveDTD = 1 << 26,
NSXMLNodePreserveCharacterReferences = 1 << 27,
NSXMLNodePreserveEmptyElements = (NSXMLNodeCompactEmptyElement
| NSXMLNodeExpandEmptyElement),
NSXMLNodePreserveQuotes = (NSXMLNodeUseDoubleQuotes
| NSXMLNodeUseSingleQuotes),
NSXMLNodePreserveAll = ( NSXMLNodePreserveAttributeOrder
| NSXMLNodePreserveCDATA
| NSXMLNodePreserveCharacterReferences
| NSXMLNodePreserveDTD
| NSXMLNodePreserveEmptyElements
| NSXMLNodePreserveEntities
| NSXMLNodePreserveNamespaceOrder
| NSXMLNodePreservePrefixes
| NSXMLNodePreserveQuotes
| NSXMLNodePreserveWhitespace
| 0xFFF00000)
};
# 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLNode.h" 2
@class NSArray;
@class NSDictionary;
@class NSError;
@class NSString;
@class NSURL;
@class NSXMLDocument;
@class NSXMLElement;
enum {
NSXMLInvalidKind = 0,
NSXMLDocumentKind,
NSXMLElementKind,
NSXMLAttributeKind,
NSXMLNamespaceKind,
NSXMLProcessingInstructionKind,
NSXMLCommentKind,
NSXMLTextKind,
NSXMLDTDKind,
NSXMLEntityDeclarationKind,
NSXMLAttributeDeclarationKind,
NSXMLElementDeclarationKind,
NSXMLNotationDeclarationKind
};
typedef NSUInteger NSXMLNodeKind;
# 90 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLNode.h"
@interface NSXMLNode : NSObject <NSCopying>
{
# 112 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLNode.h"
}
+ (id) attributeWithName: (NSString*)name stringValue: (NSString*)stringValue;
+ (id) attributeWithName: (NSString*)name
URI: (NSString*)URI
stringValue: (NSString*)stringValue;
+ (id) commentWithStringValue: (NSString*)stringValue;
+ (id) document;
+ (id) documentWithRootElement: (NSXMLElement*)element;
+ (id) DTDNodeWithXMLString: (NSString*)string;
+ (id) elementWithName: (NSString*)name;
+ (id) elementWithName: (NSString*)name
children: (NSArray*)children
attributes: (NSArray*)attributes;
+ (id) elementWithName: (NSString*)name URI: (NSString*)URI;
+ (id) elementWithName: (NSString*)name stringValue: (NSString*)string;
+ (NSString*) localNameForName: (NSString*)name;
+ (id) namespaceWithName: (NSString*)name stringValue: (NSString*)stringValue;
+ (NSXMLNode*) predefinedNamespaceForPrefix: (NSString*)name;
+ (NSString*) prefixForName: (NSString*)name;
+ (id) processingInstructionWithName: (NSString*)name
stringValue: (NSString*)stringValue;
+ (id) textWithStringValue: (NSString*)stringValue;
- (NSString*) canonicalXMLStringPreservingComments: (BOOL)comments;
- (NSXMLNode*) childAtIndex: (NSUInteger)index;
- (NSUInteger) childCount;
- (NSArray*) children;
- (void) detach;
- (NSUInteger) index;
- (id) initWithKind: (NSXMLNodeKind)theKind;
- (id) initWithKind: (NSXMLNodeKind)theKind options: (NSUInteger)theOptions;
- (NSUInteger) level;
- (NSString*) localName;
- (NSXMLNodeKind) kind;
- (NSString*) name;
- (NSXMLNode*) nextNode;
- (NSXMLNode*) nextSibling;
- (NSArray*) nodesForXPath: (NSString*)anxpath error: (NSError**)error;
- (NSArray*) objectsForXQuery: (NSString*)xquery error: (NSError**)error;
# 295 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLNode.h"
- (NSArray*) objectsForXQuery: (NSString*)xquery
constants: (NSDictionary*)constants
error: (NSError**)error;
- (id) objectValue;
- (NSXMLNode*) parent;
- (NSString*) prefix;
- (NSXMLNode*) previousNode;
- (NSXMLNode*) previousSibling;
- (NSXMLDocument*) rootDocument;
- (void) setName: (NSString*)name;
- (void) setObjectValue: (id)value;
# 347 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLNode.h"
- (void) setStringValue: (NSString*)string;
- (void) setStringValue: (NSString*)string resolvingEntities: (BOOL)resolve;
- (void) setURI: (NSString*)URI;
- (NSString*) stringValue;
- (NSString*) URI;
- (NSString*) XPath;
- (NSString*) XMLString;
- (NSString*) XMLStringWithOptions: (NSUInteger)theOptions;
@end
# 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDocument.h" 2
@class NSData;
@class NSXMLDTD;
@class NSMutableArray;
# 60 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDocument.h"
enum {
NSXMLDocumentXMLKind = 0,
NSXMLDocumentXHTMLKind,
NSXMLDocumentHTMLKind,
NSXMLDocumentTextKind
};
typedef NSUInteger NSXMLDocumentContentKind;
@interface NSXMLDocument : NSXMLNode
{
# 87 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDocument.h"
}
+ (Class) replacementClassForClass: (Class)cls;
- (NSString*) characterEncoding;
- (NSXMLDocumentContentKind) documentContentKind;
- (NSXMLDTD*) DTD;
- (id) initWithContentsOfURL: (NSURL*)url
options: (NSUInteger)mask
error: (NSError**)error;
- (id) initWithData: (NSData*)data
options: (NSUInteger)mask
error: (NSError**)error;
- (id) initWithRootElement: (NSXMLElement*)element;
- (id) initWithXMLString: (NSString*)string
options: (NSUInteger)mask
error: (NSError**)error;
- (BOOL) isStandalone;
- (NSString*) MIMEType;
- (NSXMLElement*) rootElement;
- (void) setCharacterEncoding: (NSString*)encoding;
- (void) setDocumentContentKind: (NSXMLDocumentContentKind)theContentKind;
- (void) setDTD: (NSXMLDTD*)documentTypeDeclaration;
- (void) setMIMEType: (NSString*)theMIMEType;
- (void) setRootElement: (NSXMLNode*)root;
- (void) setStandalone: (BOOL)standalone;
- (void) setVersion: (NSString*)version;
- (NSString*) version;
- (void) insertChild: (NSXMLNode*)child atIndex: (NSUInteger)index;
- (void) insertChildren: (NSArray*)children atIndex: (NSUInteger)index;
- (void) removeChildAtIndex: (NSUInteger)index;
- (void) setChildren: (NSArray*)children;
- (void) addChild: (NSXMLNode*)child;
- (void) replaceChildAtIndex: (NSUInteger)index withNode: (NSXMLNode*)theNode;
- (NSData*) XMLData;
- (NSData*) XMLDataWithOptions: (NSUInteger)theOptions;
- (id) objectByApplyingXSLT: (NSData*)xslt
arguments: (NSDictionary*)arguments
error: (NSError**)error;
- (id) objectByApplyingXSLTString: (NSString*)xslt
arguments: (NSDictionary*)arguments
error: (NSError**)error;
- (id) objectByApplyingXSLTAtURL: (NSURL*)xsltURL
arguments: (NSDictionary*)arguments
error: (NSError**)error;
- (BOOL) validateAndReturnError: (NSError**)error;
@end
# 186 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDTD.h" 1
# 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDTD.h"
@class NSData, NSMutableDictionary;
@class NSXMLDTDNode;
@interface NSXMLDTD : NSXMLNode
{
# 54 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDTD.h"
}
- (void) addChild: (NSXMLNode*)child;
- (NSXMLDTDNode*) attributeDeclarationForName: (NSString*)name
elementName: (NSString*)elementName;
- (NSXMLDTDNode*) elementDeclarationForName: (NSString*)name;
- (NSXMLDTDNode*) entityDeclarationForName: (NSString*)name;
- (id) initWithContentsOfURL: (NSURL*)url
options: (NSUInteger)mask
error: (NSError**)error;
- (id) initWithData: (NSData*)data
options: (NSUInteger)mask
error: (NSError**)error;
- (void) insertChild: (NSXMLNode*)child atIndex: (NSUInteger)index;
- (void) insertChildren: (NSArray*)children atIndex: (NSUInteger)index;
- (NSXMLDTDNode*) notationDeclarationForName: (NSString*)name;
+ (NSXMLDTDNode*) predefinedEntityDeclarationForName: (NSString*)name;
- (NSString*) publicID;
- (void) removeChildAtIndex: (NSUInteger)index;
- (void) replaceChildAtIndex: (NSUInteger)index withNode: (NSXMLNode*)theNode;
- (void) setChildren: (NSArray*)children;
- (void) setPublicID: (NSString*)publicID;
- (void) setSystemID: (NSString*)systemID;
- (NSString*) systemID;
@end
# 187 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDTDNode.h" 1
# 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDTDNode.h"
enum {
NSXMLEntityGeneralKind = 1,
NSXMLEntityParsedKind,
NSXMLEntityUnparsedKind,
NSXMLEntityParameterKind,
NSXMLEntityPredefined,
NSXMLAttributeCDATAKind,
NSXMLAttributeIDKind,
NSXMLAttributeIDRefKind,
NSXMLAttributeIDRefsKind,
NSXMLAttributeEntityKind,
NSXMLAttributeEntitiesKind,
NSXMLAttributeNMTokenKind,
NSXMLAttributeNMTokensKind,
NSXMLAttributeEnumerationKind,
NSXMLAttributeNotationKind,
NSXMLElementDeclarationUndefinedKind,
NSXMLElementDeclarationEmptyKind,
NSXMLElementDeclarationAnyKind,
NSXMLElementDeclarationMixedKind,
NSXMLElementDeclarationElementKind
};
typedef NSUInteger NSXMLDTDNodeKind;
# 77 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDTDNode.h"
@interface NSXMLDTDNode : NSXMLNode
{
# 88 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDTDNode.h"
}
- (NSXMLDTDNodeKind) DTDKind;
- (id) initWithXMLString: (NSString*)string;
- (BOOL) isExternal;
- (NSString*) notationName;
- (NSString*) publicID;
- (void) setDTDKind: (NSXMLDTDNodeKind)nodeKind;
- (void) setNotationName: (NSString*)notationName;
# 133 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLDTDNode.h"
- (void) setPublicID: (NSString*)publicID;
- (void) setSystemID: (NSString*)systemID;
- (NSString*) systemID;
@end
# 188 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLElement.h" 1
# 35 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLElement.h"
@class NSDictionary, NSEnumerator, NSMutableArray, NSMutableDictionary;
@interface NSXMLElement : NSXMLNode
{
# 52 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLElement.h"
}
- (id) initWithName: (NSString*)name;
- (id) initWithName: (NSString*)name URI: (NSString*)URI;
- (id) initWithName: (NSString*)name stringValue: (NSString*)string;
- (id) initWithXMLString: (NSString*)string error: (NSError**)error;
- (NSArray*) elementsForName: (NSString*)name;
- (NSArray*) elementsForLocalName: (NSString*)localName URI: (NSString*)URI;
- (void) addAttribute: (NSXMLNode*)attribute;
- (void) removeAttributeForName: (NSString*)name;
- (void) setAttributes: (NSArray*)attributes;
- (void) setAttributesAsDictionary: (NSDictionary*)attributes;
- (void) setAttributesWithDictionary: (NSDictionary*)attributes;
- (NSArray*) attributes;
- (NSXMLNode*) attributeForName: (NSString*)name;
- (NSXMLNode*) attributeForLocalName: (NSString*)localName
URI: (NSString*)URI;
- (void) addNamespace: (NSXMLNode*)aNamespace;
- (void) removeNamespaceForPrefix: (NSString*)name;
- (void) setNamespaces: (NSArray*)namespaces;
- (NSArray*) namespaces;
- (NSXMLNode*) namespaceForPrefix: (NSString*)name;
- (NSXMLNode*) resolveNamespaceForName: (NSString*)name;
- (NSString*) resolvePrefixForNamespaceURI: (NSString*)namespaceURI;
- (void) insertChild: (NSXMLNode*)child atIndex: (NSUInteger)index;
- (void) insertChildren: (NSArray*)children atIndex: (NSUInteger)index;
- (void) removeChildAtIndex: (NSUInteger)index;
- (void) setChildren: (NSArray*)children;
- (void) addChild: (NSXMLNode*)child;
- (void) replaceChildAtIndex: (NSUInteger)index withNode: (NSXMLNode*)theNode;
- (void) normalizeAdjacentTextNodesPreservingCDATA: (BOOL)preserve;
@end
# 189 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLParser.h" 1
# 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLParser.h"
@class NSData, NSDictionary, NSError, NSInputStream, NSString, NSURL;
extern NSString* const NSXMLParserErrorDomain;
# 71 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLParser.h"
@interface NSXMLParser : NSObject
{
# 87 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLParser.h"
}
- (void) abortParsing;
- (id) delegate;
- (instancetype) initWithContentsOfURL: (NSURL*)anURL;
- (instancetype) initWithData: (NSData*)data;
- (instancetype) initWithStream: (NSInputStream*)stream;
- (BOOL) parse;
- (NSError*) parserError;
- (void) setDelegate: (id)delegate;
- (void) setShouldProcessNamespaces: (BOOL)aFlag;
- (void) setShouldReportNamespacePrefixes: (BOOL)aFlag;
- (void) setShouldResolveExternalEntities: (BOOL)aFlag;
- (BOOL) shouldProcessNamespaces;
- (BOOL) shouldReportNamespacePrefixes;
- (BOOL) shouldResolveExternalEntities;
@end
@interface NSXMLParser (NSXMLParserLocatorAdditions)
- (NSInteger) columnNumber;
- (NSInteger) lineNumber;
- (NSString*) publicID;
- (NSString*) systemID;
@end
@protocol NSXMLParserDelegate <NSObject>
@optional
- (NSData*) parser: (NSXMLParser*)aParser
resolveExternalEntityName: (NSString*)aName
systemID: (NSString*)aSystemID;
- (void) parser: (NSXMLParser*)aParser
didEndElement: (NSString*)anElementName
namespaceURI: (NSString*)aNamespaceURI
qualifiedName: (NSString*)aQualifierName;
- (void) parser: (NSXMLParser*)aParser
didEndMappingPrefix: (NSString*)aPrefix;
- (void) parser: (NSXMLParser*)aParser
didStartElement: (NSString*)anElementName
namespaceURI: (NSString*)aNamespaceURI
qualifiedName: (NSString*)aQualifierName
attributes: (NSDictionary*)anAttributeDict;
- (void) parser: (NSXMLParser*)aParser
didStartMappingPrefix: (NSString*)aPrefix
toURI: (NSString*)aNamespaceURI;
- (void) parser: (NSXMLParser*)aParser
foundAttributeDeclarationWithName: (NSString*)anAttributeName
forElement: (NSString*)anElementName
type: (NSString*)aType
defaultValue: (NSString*)aDefaultValue;
- (void) parser: (NSXMLParser*)aParser
foundCDATA: (NSData*)aBlock;
- (void) parser: (NSXMLParser*)aParser
foundCharacters: (NSString*)aString;
- (void) parser: (NSXMLParser*)aParser
foundComment: (NSString*)aComment;
- (void) parser: (NSXMLParser*)aParser
foundElementDeclarationWithName: (NSString*)anElementName
model: (NSString*)aModel;
- (void) parser: (NSXMLParser*)aParser
foundExternalEntityDeclarationWithName: (NSString*)aName
publicID: (NSString*)aPublicID
systemID: (NSString*)aSystemID;
- (void) parser: (NSXMLParser*)aParser
foundIgnorableWhitespace: (NSString*)aWhitespaceString;
- (void) parser: (NSXMLParser*)aParser
foundInternalEntityDeclarationWithName: (NSString*)aName
value: (NSString*)aValue;
- (void) parser: (NSXMLParser*)aParser
foundNotationDeclarationWithName: (NSString*)aName
publicID: (NSString*)aPublicID
systemID: (NSString*)aSystemID;
- (void) parser: (NSXMLParser*)aParser
foundProcessingInstructionWithTarget: (NSString*)aTarget
data: (NSString*)aData;
- (void) parser: (NSXMLParser*)aParser
foundUnparsedEntityDeclarationWithName: (NSString*)aName
publicID: (NSString*)aPublicID
systemID: (NSString*)aSystemID
notationName: (NSString*)aNotationName;
- (void) parser: (NSXMLParser*)aParser
parseErrorOccurred: (NSError*)anError;
- (void) parser: (NSXMLParser*)aParser
validationErrorOccurred: (NSError*)anError;
- (void) parserDidEndDocument: (NSXMLParser*)aParser;
- (void) parserDidStartDocument: (NSXMLParser*)aParser;
@end
enum {
NSXMLParserInternalError = 1,
NSXMLParserOutOfMemoryError = 2,
NSXMLParserDocumentStartError = 3,
NSXMLParserEmptyDocumentError = 4,
NSXMLParserPrematureDocumentEndError = 5,
NSXMLParserInvalidHexCharacterRefError = 6,
NSXMLParserInvalidDecimalCharacterRefError = 7,
NSXMLParserInvalidCharacterRefError = 8,
NSXMLParserInvalidCharacterError = 9,
NSXMLParserCharacterRefAtEOFError = 10,
NSXMLParserCharacterRefInPrologError = 11,
NSXMLParserCharacterRefInEpilogError = 12,
NSXMLParserCharacterRefInDTDError = 13,
NSXMLParserEntityRefAtEOFError = 14,
NSXMLParserEntityRefInPrologError = 15,
NSXMLParserEntityRefInEpilogError = 16,
NSXMLParserEntityRefInDTDError = 17,
NSXMLParserParsedEntityRefAtEOFError = 18,
NSXMLParserParsedEntityRefInPrologError = 19,
NSXMLParserParsedEntityRefInEpilogError = 20,
NSXMLParserParsedEntityRefInInternalSubsetError = 21,
NSXMLParserEntityReferenceWithoutNameError = 22,
NSXMLParserEntityReferenceMissingSemiError = 23,
NSXMLParserParsedEntityRefNoNameError = 24,
NSXMLParserParsedEntityRefMissingSemiError = 25,
NSXMLParserUndeclaredEntityError = 26,
NSXMLParserUnparsedEntityError = 28,
NSXMLParserEntityIsExternalError = 29,
NSXMLParserEntityIsParameterError = 30,
NSXMLParserUnknownEncodingError = 31,
NSXMLParserEncodingNotSupportedError = 32,
NSXMLParserStringNotStartedError = 33,
NSXMLParserStringNotClosedError = 34,
NSXMLParserNamespaceDeclarationError = 35,
NSXMLParserEntityNotStartedError = 36,
NSXMLParserEntityNotFinishedError = 37,
NSXMLParserLessThanSymbolInAttributeError = 38,
NSXMLParserAttributeNotStartedError = 39,
NSXMLParserAttributeNotFinishedError = 40,
NSXMLParserAttributeHasNoValueError = 41,
NSXMLParserAttributeRedefinedError = 42,
NSXMLParserLiteralNotStartedError = 43,
NSXMLParserLiteralNotFinishedError = 44,
NSXMLParserCommentNotFinishedError = 45,
NSXMLParserProcessingInstructionNotStartedError = 46,
NSXMLParserProcessingInstructionNotFinishedError = 47,
NSXMLParserNotationNotStartedError = 48,
NSXMLParserNotationNotFinishedError = 49,
NSXMLParserAttributeListNotStartedError = 50,
NSXMLParserAttributeListNotFinishedError = 51,
NSXMLParserMixedContentDeclNotStartedError = 52,
NSXMLParserMixedContentDeclNotFinishedError = 53,
NSXMLParserElementContentDeclNotStartedError = 54,
NSXMLParserElementContentDeclNotFinishedError = 55,
NSXMLParserXMLDeclNotStartedError = 56,
NSXMLParserXMLDeclNotFinishedError = 57,
NSXMLParserConditionalSectionNotStartedError = 58,
NSXMLParserConditionalSectionNotFinishedError = 59,
NSXMLParserExternalSubsetNotFinishedError = 60,
NSXMLParserDOCTYPEDeclNotFinishedError = 61,
NSXMLParserMisplacedCDATAEndStringError = 62,
NSXMLParserCDATANotFinishedError = 63,
NSXMLParserMisplacedXMLDeclarationError = 64,
NSXMLParserSpaceRequiredError = 65,
NSXMLParserSeparatorRequiredError = 66,
NSXMLParserNMTOKENRequiredError = 67,
NSXMLParserNAMERequiredError = 68,
NSXMLParserPCDATARequiredError = 69,
NSXMLParserURIRequiredError = 70,
NSXMLParserPublicIdentifierRequiredError = 71,
NSXMLParserLTRequiredError = 72,
NSXMLParserGTRequiredError = 73,
NSXMLParserLTSlashRequiredError = 74,
NSXMLParserEqualExpectedError = 75,
NSXMLParserTagNameMismatchError = 76,
NSXMLParserUnfinishedTagError = 77,
NSXMLParserStandaloneValueError = 78,
NSXMLParserInvalidEncodingNameError = 79,
NSXMLParserCommentContainsDoubleHyphenError = 80,
NSXMLParserInvalidEncodingError = 81,
NSXMLParserExternalStandaloneEntityError = 82,
NSXMLParserInvalidConditionalSectionError = 83,
NSXMLParserEntityValueRequiredError = 84,
NSXMLParserNotWellBalancedError = 85,
NSXMLParserExtraContentError = 86,
NSXMLParserInvalidCharacterInEntityError = 87,
NSXMLParserParsedEntityRefInInternalError = 88,
NSXMLParserEntityRefLoopError = 89,
NSXMLParserEntityBoundaryError = 90,
NSXMLParserInvalidURIError = 91,
NSXMLParserURIFragmentError = 92,
NSXMLParserNoDTDError = 94,
NSXMLParserDelegateAbortedParseError = 512
};
typedef NSUInteger NSXMLParserError;
# 192 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSXPCConnection.h" 1
# 47 "/usr/GNUstep/System/Library/Headers/Foundation/NSXPCConnection.h"
@class NSMutableDictionary, NSString, NSOperationQueue, NSSet, NSLock, NSError;
@class NSXPCConnection, NSXPCListener, NSXPCInterface, NSXPCListenerEndpoint;
@protocol NSXPCListenerDelegate;
typedef void(^GSXPCProxyErrorHandler)(NSError *);
typedef void(^GSXPCInterruptionHandler)();
typedef void(^GSXPCInvalidationHandler)();
@protocol NSXPCProxyCreating
- (id) remoteObjectProxy;
- (id) remoteObjectProxyWithErrorHandler: (GSXPCProxyErrorHandler)handler;
- (id) synchronousRemoteObjectProxyWithErrorHandler: (GSXPCProxyErrorHandler)handler;
@end
enum
{
NSXPCConnectionPrivileged = (1 << 12UL)
};
typedef NSUInteger NSXPCConnectionOptions;
@interface NSXPCConnection : NSObject <NSXPCProxyCreating>
- (instancetype) initWithListenerEndpoint: (NSXPCListenerEndpoint *)endpoint;
- (instancetype) initWithMachServiceName: (NSString *)name
options: (NSXPCConnectionOptions)options;
- (instancetype) initWithServiceName:(NSString *)serviceName;
- (NSXPCListenerEndpoint *) endpoint;
- (void) setEndpoint: (NSXPCListenerEndpoint *) endpoint;
- (NSXPCInterface *) exportedInterface;
- (void) setExportInterface: (NSXPCInterface *)exportedInterface;
- (NSXPCInterface *) remoteObjectInterface;
- (void) setRemoteObjectInterface: (NSXPCInterface *)remoteObjectInterface;
- (id) remoteObjectProxy;
- (void) setRemoteObjectProxy: (id)remoteObjectProxy;
- (id) remoteObjectProxyWithErrorHandler:(GSXPCProxyErrorHandler)handler;
- (NSString *) serviceName;
- (void) setServiceName: (NSString *)serviceName;
- (id) synchronousRemoteObjectProxyWithErrorHandler:
(GSXPCProxyErrorHandler)handler;
- (GSXPCInterruptionHandler) interruptionHandler;
- (void) setInterruptionHandler: (GSXPCInterruptionHandler)handler;
- (GSXPCInvalidationHandler) invalidationHandler;
- (void) setInvalidationHandler: (GSXPCInvalidationHandler)handler;
- (void) resume;
- (void) suspend;
- (void) invalidate;
- (NSUInteger) auditSessionIdentifier;
- (pid_t) processIdentifier;
- (uid_t) effectiveUserIdentifier;
- (gid_t) effectiveGroupIdentifier;
@end
@interface NSXPCListener : NSObject
+ (NSXPCListener *) serviceListener;
+ (NSXPCListener *) anonymousListener;
- (instancetype) initWithMachServiceName:(NSString *)name;
- (id <NSXPCListenerDelegate>) delegate;
- (void) setDelegate: (id <NSXPCListenerDelegate>) delegate;
- (NSXPCListenerEndpoint *) endpoint;
- (void) setEndpoint: (NSXPCListenerEndpoint *)endpoint;
- (void) resume;
- (void) suspend;
- (void) invalidate;
@end
@protocol NSXPCListenerDelegate <NSObject>
- (BOOL) listener: (NSXPCListener *)listener
shouldAcceptNewConnection: (NSXPCConnection *)newConnection;
@end
@interface NSXPCInterface : NSObject
+ (NSXPCInterface *) interfaceWithProtocol: (Protocol *)protocol;
- (Protocol *) protocol;
- (void) setProtocol: (Protocol *)protocol;
- (void) setClasses: (NSSet *)classes
forSelector: (SEL)sel
argumentIndex: (NSUInteger)arg
ofReply: (BOOL)ofReply;
- (NSSet *) classesForSelector: (SEL)sel
argumentIndex: (NSUInteger)arg
ofReply: (BOOL)ofReply;
- (void) setInterface: (NSXPCInterface *)ifc
forSelector: (SEL)sel
argumentIndex: (NSUInteger)arg
ofReply: (BOOL)ofReply;
- (NSXPCInterface *) interfaceForSelector: (SEL)sel
argumentIndex: (NSUInteger)arg
ofReply: (BOOL)ofReply;
@end
@interface NSXPCListenerEndpoint : NSObject <NSCoding>
@end
# 193 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 1
# 28 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h"
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 1 3
# 29 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/include/assert.h" 1 3 4
# 30 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/lib/llvm-18/lib/clang/18/include/limits.h" 1 3
# 34 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3
# 39 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/include/netdb.h" 1 3 4
# 27 "/usr/include/netdb.h" 3 4
# 1 "/usr/include/netinet/in.h" 1 3 4
# 30 "/usr/include/netinet/in.h" 3 4
typedef uint32_t in_addr_t;
struct in_addr
{
in_addr_t s_addr;
};
# 1 "/usr/include/x86_64-linux-gnu/bits/in.h" 1 3 4
# 38 "/usr/include/netinet/in.h" 2 3 4
enum
{
IPPROTO_IP = 0,
IPPROTO_ICMP = 1,
IPPROTO_IGMP = 2,
IPPROTO_IPIP = 4,
IPPROTO_TCP = 6,
IPPROTO_EGP = 8,
IPPROTO_PUP = 12,
IPPROTO_UDP = 17,
IPPROTO_IDP = 22,
IPPROTO_TP = 29,
IPPROTO_DCCP = 33,
IPPROTO_IPV6 = 41,
IPPROTO_RSVP = 46,
IPPROTO_GRE = 47,
IPPROTO_ESP = 50,
IPPROTO_AH = 51,
IPPROTO_MTP = 92,
IPPROTO_BEETPH = 94,
IPPROTO_ENCAP = 98,
IPPROTO_PIM = 103,
IPPROTO_COMP = 108,
IPPROTO_SCTP = 132,
IPPROTO_UDPLITE = 136,
IPPROTO_MPLS = 137,
IPPROTO_ETHERNET = 143,
IPPROTO_RAW = 255,
IPPROTO_MPTCP = 262,
IPPROTO_MAX
};
enum
{
IPPROTO_HOPOPTS = 0,
IPPROTO_ROUTING = 43,
IPPROTO_FRAGMENT = 44,
IPPROTO_ICMPV6 = 58,
IPPROTO_NONE = 59,
IPPROTO_DSTOPTS = 60,
IPPROTO_MH = 135
};
typedef uint16_t in_port_t;
enum
{
IPPORT_ECHO = 7,
IPPORT_DISCARD = 9,
IPPORT_SYSTAT = 11,
IPPORT_DAYTIME = 13,
IPPORT_NETSTAT = 15,
IPPORT_FTP = 21,
IPPORT_TELNET = 23,
IPPORT_SMTP = 25,
IPPORT_TIMESERVER = 37,
IPPORT_NAMESERVER = 42,
IPPORT_WHOIS = 43,
IPPORT_MTP = 57,
IPPORT_TFTP = 69,
IPPORT_RJE = 77,
IPPORT_FINGER = 79,
IPPORT_TTYLINK = 87,
IPPORT_SUPDUP = 95,
IPPORT_EXECSERVER = 512,
IPPORT_LOGINSERVER = 513,
IPPORT_CMDSERVER = 514,
IPPORT_EFSSERVER = 520,
IPPORT_BIFFUDP = 512,
IPPORT_WHOSERVER = 513,
IPPORT_ROUTESERVER = 520,
IPPORT_RESERVED = 1024,
IPPORT_USERRESERVED = 5000
};
# 219 "/usr/include/netinet/in.h" 3 4
struct in6_addr
{
union
{
uint8_t __u6_addr8[16];
uint16_t __u6_addr16[8];
uint32_t __u6_addr32[4];
} __in6_u;
};
extern const struct in6_addr in6addr_any;
extern const struct in6_addr in6addr_loopback;
# 245 "/usr/include/netinet/in.h" 3 4
struct sockaddr_in
{
sa_family_t sin_family;
in_port_t sin_port;
struct in_addr sin_addr;
unsigned char sin_zero[sizeof (struct sockaddr)
- (sizeof (unsigned short int))
- sizeof (in_port_t)
- sizeof (struct in_addr)];
};
struct sockaddr_in6
{
sa_family_t sin6_family;
in_port_t sin6_port;
uint32_t sin6_flowinfo;
struct in6_addr sin6_addr;
uint32_t sin6_scope_id;
};
# 296 "/usr/include/netinet/in.h" 3 4
struct ipv6_mreq
{
struct in6_addr ipv6mr_multiaddr;
unsigned int ipv6mr_interface;
};
# 382 "/usr/include/netinet/in.h" 3 4
extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern uint16_t ntohs (uint16_t __netshort)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern uint32_t htonl (uint32_t __hostlong)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern uint16_t htons (uint16_t __hostshort)
__attribute__ ((__nothrow__ )) __attribute__ ((__const__));
# 1 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 1 3 4
# 33 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 3 4
static __inline __uint16_t
__bswap_16 (__uint16_t __bsx)
{
return ((__uint16_t) ((((__bsx) >> 8) & 0xff) | (((__bsx) & 0xff) << 8)));
}
static __inline __uint32_t
__bswap_32 (__uint32_t __bsx)
{
return ((((__bsx) & 0xff000000u) >> 24) | (((__bsx) & 0x00ff0000u) >> 8) | (((__bsx) & 0x0000ff00u) << 8) | (((__bsx) & 0x000000ffu) << 24));
}
# 69 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 3 4
__extension__ static __inline __uint64_t
__bswap_64 (__uint64_t __bsx)
{
return ((((__bsx) & 0xff00000000000000ull) >> 56) | (((__bsx) & 0x00ff000000000000ull) >> 40) | (((__bsx) & 0x0000ff0000000000ull) >> 24) | (((__bsx) & 0x000000ff00000000ull) >> 8) | (((__bsx) & 0x00000000ff000000ull) << 8) | (((__bsx) & 0x0000000000ff0000ull) << 24) | (((__bsx) & 0x000000000000ff00ull) << 40) | (((__bsx) & 0x00000000000000ffull) << 56));
}
# 394 "/usr/include/netinet/in.h" 2 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/uintn-identity.h" 1 3 4
# 32 "/usr/include/x86_64-linux-gnu/bits/uintn-identity.h" 3 4
static __inline __uint16_t
__uint16_identity (__uint16_t __x)
{
return __x;
}
static __inline __uint32_t
__uint32_identity (__uint32_t __x)
{
return __x;
}
static __inline __uint64_t
__uint64_identity (__uint64_t __x)
{
return __x;
}
# 395 "/usr/include/netinet/in.h" 2 3 4
# 28 "/usr/include/netdb.h" 2 3 4
# 40 "/usr/include/netdb.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/netdb.h" 1 3 4
# 26 "/usr/include/x86_64-linux-gnu/bits/netdb.h" 3 4
struct netent
{
char *n_name;
char **n_aliases;
int n_addrtype;
uint32_t n_net;
};
# 41 "/usr/include/netdb.h" 2 3 4
# 59 "/usr/include/netdb.h" 3 4
extern int *__h_errno_location (void) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
# 98 "/usr/include/netdb.h" 3 4
struct hostent
{
char *h_name;
char **h_aliases;
int h_addrtype;
int h_length;
char **h_addr_list;
};
extern void sethostent (int __stay_open);
extern void endhostent (void);
extern struct hostent *gethostent (void);
extern struct hostent *gethostbyaddr (const void *__addr, __socklen_t __len,
int __type);
extern struct hostent *gethostbyname (const char *__name);
# 196 "/usr/include/netdb.h" 3 4
extern void setnetent (int __stay_open);
extern void endnetent (void);
extern struct netent *getnetent (void);
extern struct netent *getnetbyaddr (uint32_t __net, int __type);
extern struct netent *getnetbyname (const char *__name);
# 255 "/usr/include/netdb.h" 3 4
struct servent
{
char *s_name;
char **s_aliases;
int s_port;
char *s_proto;
};
extern void setservent (int __stay_open);
extern void endservent (void);
extern struct servent *getservent (void);
extern struct servent *getservbyname (const char *__name, const char *__proto);
extern struct servent *getservbyport (int __port, const char *__proto);
# 324 "/usr/include/netdb.h" 3 4
struct protoent
{
char *p_name;
char **p_aliases;
int p_proto;
};
extern void setprotoent (int __stay_open);
extern void endprotoent (void);
extern struct protoent *getprotoent (void);
extern struct protoent *getprotobyname (const char *__name);
extern struct protoent *getprotobynumber (int __proto);
# 46 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/include/ifaddrs.h" 1 3 4
# 29 "/usr/include/ifaddrs.h" 3 4
struct ifaddrs
{
struct ifaddrs *ifa_next;
char *ifa_name;
unsigned int ifa_flags;
struct sockaddr *ifa_addr;
struct sockaddr *ifa_netmask;
union
{
struct sockaddr *ifu_broadaddr;
struct sockaddr *ifu_dstaddr;
} ifa_ifu;
# 56 "/usr/include/ifaddrs.h" 3 4
void *ifa_data;
};
# 66 "/usr/include/ifaddrs.h" 3 4
extern int getifaddrs (struct ifaddrs **__ifap) __attribute__ ((__nothrow__ ));
extern void freeifaddrs (struct ifaddrs *__ifa) __attribute__ ((__nothrow__ ));
# 50 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/lib/llvm-18/lib/clang/18/include/inttypes.h" 1 3
# 55 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBase.h" 1
# 13 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBase.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/TargetConditionals.h" 1
# 238 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/TargetConditionals.h"
# 1 "/usr/GNUstep/Local/Library/Headers/TargetConditionals.h" 1
# 239 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/TargetConditionals.h" 2
# 14 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBase.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFAvailability.h" 1
# 14 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFAvailability.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/TargetConditionals.h" 1
# 15 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFAvailability.h" 2
# 15 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBase.h" 2
# 84 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBase.h"
typedef unsigned char Boolean;
typedef unsigned char UInt8;
typedef signed char SInt8;
typedef unsigned short UInt16;
typedef signed short SInt16;
typedef unsigned int UInt32;
typedef signed int SInt32;
typedef uint64_t UInt64;
typedef int64_t SInt64;
typedef SInt32 OSStatus;
typedef float Float32;
typedef double Float64;
typedef unsigned short UniChar;
typedef unsigned long UniCharCount;
typedef unsigned char * StringPtr;
typedef const unsigned char * ConstStringPtr;
typedef unsigned char Str255[256];
typedef const unsigned char * ConstStr255Param;
typedef SInt16 OSErr;
typedef SInt16 RegionCode;
typedef SInt16 LangCode;
typedef SInt16 ScriptCode;
typedef UInt32 FourCharCode;
typedef FourCharCode OSType;
typedef UInt8 Byte;
typedef SInt8 SignedByte;
typedef UInt32 uint32_t;
typedef UInt16 UTF16Char;
typedef UInt8 UTF8Char;
# 247 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBase.h"
@class NSArray;
@class NSAttributedString;
@class NSString;
@class NSNull;
@class NSCharacterSet;
@class NSData;
@class NSDate;
@class NSTimeZone;
@class NSDictionary;
@class NSError;
@class NSLocale;
@class NSNumber;
@class NSSet;
@class NSURL;
# 336 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBase.h"
extern double kCFCoreFoundationVersionNumber;
# 519 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBase.h"
typedef unsigned long CFTypeID;
typedef unsigned long CFOptionFlags;
typedef unsigned long CFHashCode;
typedef signed long CFIndex;
typedef const __attribute__((objc_bridge(id))) void * CFTypeRef;
typedef const struct __attribute__((objc_bridge(NSString))) __CFString * CFStringRef;
typedef struct __attribute__((objc_bridge_mutable(NSMutableString))) __CFString * CFMutableStringRef;
typedef __attribute__((objc_bridge(id))) CFTypeRef CFPropertyListRef;
typedef enum __attribute__((enum_extensibility(open))) CFComparisonResult : CFIndex CFComparisonResult; enum CFComparisonResult : CFIndex {
kCFCompareLessThan = -1L,
kCFCompareEqualTo = 0,
kCFCompareGreaterThan = 1
};
typedef CFComparisonResult (*CFComparatorFunction)(const void *val1, const void *val2, void *context);
static const CFIndex 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 __attribute__((objc_bridge(NSNull))) __CFNull * CFNullRef;
extern
CFTypeID CFNullGetTypeID(void);
extern
const CFNullRef kCFNull;
# 596 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBase.h"
typedef const struct __attribute__((objc_bridge(id))) __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);
# 681 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBase.h"
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
CFTypeRef CFBridgingRetain(id obj);
extern
id CFBridgingRelease(CFTypeRef cf);
extern
CFTypeRef CFAutorelease(CFTypeRef __attribute__((cf_consumed)) arg) ;
extern
CFIndex CFGetRetainCount(CFTypeRef cf);
extern
Boolean CFEqual(CFTypeRef cf1, CFTypeRef cf2);
extern
CFHashCode CFHash(CFTypeRef cf);
extern
CFStringRef CFCopyDescription(CFTypeRef cf);
extern
CFAllocatorRef CFGetAllocator(CFTypeRef cf);
extern
CFTypeRef CFMakeCollectable(CFTypeRef cf) ;
# 63 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h" 1
# 74 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
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;
# 102 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
typedef void (*CFArrayApplierFunction)(const void *value, void *context);
typedef const struct __attribute__((objc_bridge(NSArray))) __CFArray * CFArrayRef;
typedef struct __attribute__((objc_bridge_mutable(NSMutableArray))) __CFArray * CFMutableArrayRef;
extern
CFTypeID CFArrayGetTypeID(void);
# 173 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
CFArrayRef CFArrayCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFArrayCallBacks *callBacks);
# 194 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
CFArrayRef CFArrayCreateCopy(CFAllocatorRef allocator, CFArrayRef theArray);
# 238 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
CFMutableArrayRef CFArrayCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFArrayCallBacks *callBacks);
# 268 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
CFMutableArrayRef CFArrayCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFArrayRef theArray);
# 278 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
CFIndex CFArrayGetCount(CFArrayRef theArray);
# 301 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
CFIndex CFArrayGetCountOfValue(CFArrayRef theArray, CFRange range, const void *value);
# 324 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
Boolean CFArrayContainsValue(CFArrayRef theArray, CFRange range, const void *value);
# 338 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
const void *CFArrayGetValueAtIndex(CFArrayRef theArray, CFIndex idx);
# 359 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArrayGetValues(CFArrayRef theArray, CFRange range, const void **values);
# 386 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArrayApplyFunction(CFArrayRef theArray, CFRange range, CFArrayApplierFunction __attribute__((noescape)) applier, void *context);
# 411 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
CFIndex CFArrayGetFirstIndexOfValue(CFArrayRef theArray, CFRange range, const void *value);
# 436 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
CFIndex CFArrayGetLastIndexOfValue(CFArrayRef theArray, CFRange range, const void *value);
# 475 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
CFIndex CFArrayBSearchValues(CFArrayRef theArray, CFRange range, const void *value, CFComparatorFunction comparator, void *context);
# 491 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArrayAppendValue(CFMutableArrayRef theArray, const void *value);
# 512 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArrayInsertValueAtIndex(CFMutableArrayRef theArray, CFIndex idx, const void *value);
# 533 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArraySetValueAtIndex(CFMutableArrayRef theArray, CFIndex idx, const void *value);
# 547 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArrayRemoveValueAtIndex(CFMutableArrayRef theArray, CFIndex idx);
# 557 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArrayRemoveAllValues(CFMutableArrayRef theArray);
# 591 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArrayReplaceValues(CFMutableArrayRef theArray, CFRange range, const void **newValues, CFIndex newCount);
# 609 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArrayExchangeValuesAtIndices(CFMutableArrayRef theArray, CFIndex idx1, CFIndex idx2);
# 639 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArraySortValues(CFMutableArrayRef theArray, CFRange range, CFComparatorFunction comparator, void *context);
# 666 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFArray.h"
extern
void CFArrayAppendArray(CFMutableArrayRef theArray, CFArrayRef otherArray, CFRange otherRange);
# 64 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBag.h" 1
# 18 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBag.h"
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 __attribute__((objc_bridge(id))) __CFBag * CFBagRef;
typedef struct __attribute__((objc_bridge_mutable(id))) __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 __attribute__((noescape)) 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);
# 65 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h" 1
# 24 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
typedef struct {
CFIndex version;
void * info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFBinaryHeapCompareContext;
# 55 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
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;
# 79 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
typedef void (*CFBinaryHeapApplierFunction)(const void *val, void *context);
typedef struct __attribute__((objc_bridge_mutable(id))) __CFBinaryHeap * CFBinaryHeapRef;
extern CFTypeID CFBinaryHeapGetTypeID(void);
# 135 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern CFBinaryHeapRef CFBinaryHeapCreate(CFAllocatorRef allocator, CFIndex capacity, const CFBinaryHeapCallBacks *callBacks, const CFBinaryHeapCompareContext *compareContext);
# 164 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern CFBinaryHeapRef CFBinaryHeapCreateCopy(CFAllocatorRef allocator, CFIndex capacity, CFBinaryHeapRef heap);
# 173 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern CFIndex CFBinaryHeapGetCount(CFBinaryHeapRef heap);
# 188 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern CFIndex CFBinaryHeapGetCountOfValue(CFBinaryHeapRef heap, const void *value);
# 203 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern Boolean CFBinaryHeapContainsValue(CFBinaryHeapRef heap, const void *value);
# 214 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern const void * CFBinaryHeapGetMinimum(CFBinaryHeapRef heap);
# 228 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern Boolean CFBinaryHeapGetMinimumIfPresent(CFBinaryHeapRef heap, const void **value);
# 240 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern void CFBinaryHeapGetValues(CFBinaryHeapRef heap, const void **values);
# 259 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern void CFBinaryHeapApplyFunction(CFBinaryHeapRef heap, CFBinaryHeapApplierFunction __attribute__((noescape)) applier, void *context);
# 271 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern void CFBinaryHeapAddValue(CFBinaryHeapRef heap, const void *value);
extern void CFBinaryHeapRemoveMinimumValue(CFBinaryHeapRef heap);
# 288 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBinaryHeap.h"
extern void CFBinaryHeapRemoveAllValues(CFBinaryHeapRef heap);
# 66 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBitVector.h" 1
# 18 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBitVector.h"
typedef UInt32 CFBit;
typedef const struct __attribute__((objc_bridge(id))) __CFBitVector * CFBitVectorRef;
typedef struct __attribute__((objc_bridge_mutable(id))) __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);
# 67 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFByteOrder.h" 1
# 21 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFByteOrder.h"
enum __CFByteOrder {
CFByteOrderUnknown,
CFByteOrderLittleEndian,
CFByteOrderBigEndian
};
typedef CFIndex CFByteOrder;
static __inline__ __attribute__((always_inline)) CFByteOrder CFByteOrderGetCurrent(void) {
# 39 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFByteOrder.h"
return CFByteOrderLittleEndian;
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16(uint16_t arg) {
uint16_t result;
result = (uint16_t)(((arg << 8) & 0xFF00) | ((arg >> 8) & 0xFF));
return result;
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32(uint32_t arg) {
uint32_t result;
result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xFF);
return result;
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64(uint64_t arg) {
union CFSwap {
uint64_t sv;
uint32_t ul[2];
} tmp, result;
tmp.sv = arg;
result.ul[0] = CFSwapInt32(tmp.ul[1]);
result.ul[1] = CFSwapInt32(tmp.ul[0]);
return result.sv;
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16BigToHost(uint16_t arg) {
return CFSwapInt16(arg);
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32BigToHost(uint32_t arg) {
return CFSwapInt32(arg);
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64BigToHost(uint64_t arg) {
return CFSwapInt64(arg);
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16HostToBig(uint16_t arg) {
return CFSwapInt16(arg);
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32HostToBig(uint32_t arg) {
return CFSwapInt32(arg);
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64HostToBig(uint64_t arg) {
return CFSwapInt64(arg);
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16LittleToHost(uint16_t arg) {
return arg;
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32LittleToHost(uint32_t arg) {
return arg;
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64LittleToHost(uint64_t arg) {
return arg;
}
static __inline__ __attribute__((always_inline)) uint16_t CFSwapInt16HostToLittle(uint16_t arg) {
return arg;
}
static __inline__ __attribute__((always_inline)) uint32_t CFSwapInt32HostToLittle(uint32_t arg) {
return arg;
}
static __inline__ __attribute__((always_inline)) uint64_t CFSwapInt64HostToLittle(uint64_t arg) {
return 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;
}
# 68 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCalendar.h" 1
# 14 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCalendar.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFLocale.h" 1
# 15 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFLocale.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h" 1
# 97 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
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;
# 128 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
const CFDictionaryKeyCallBacks kCFCopyStringDictionaryKeyCallBacks;
# 154 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
typedef struct {
CFIndex version;
CFDictionaryRetainCallBack retain;
CFDictionaryReleaseCallBack release;
CFDictionaryCopyDescriptionCallBack copyDescription;
CFDictionaryEqualCallBack equal;
} CFDictionaryValueCallBacks;
extern
const CFDictionaryValueCallBacks kCFTypeDictionaryValueCallBacks;
# 180 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
typedef void (*CFDictionaryApplierFunction)(const void *key, const void *value, void *context);
typedef const struct __attribute__((objc_bridge(NSDictionary))) __CFDictionary * CFDictionaryRef;
typedef struct __attribute__((objc_bridge_mutable(NSMutableDictionary))) __CFDictionary * CFMutableDictionaryRef;
extern
CFTypeID CFDictionaryGetTypeID(void);
# 283 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
# 307 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
CFDictionaryRef CFDictionaryCreateCopy(CFAllocatorRef allocator, CFDictionaryRef theDict);
# 379 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
CFMutableDictionaryRef CFDictionaryCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
# 412 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
CFMutableDictionaryRef CFDictionaryCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFDictionaryRef theDict);
# 422 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
CFIndex CFDictionaryGetCount(CFDictionaryRef theDict);
# 441 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
CFIndex CFDictionaryGetCountOfKey(CFDictionaryRef theDict, const void *key);
# 457 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
CFIndex CFDictionaryGetCountOfValue(CFDictionaryRef theDict, const void *value);
# 475 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
Boolean CFDictionaryContainsKey(CFDictionaryRef theDict, const void *key);
# 491 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
Boolean CFDictionaryContainsValue(CFDictionaryRef theDict, const void *value);
# 513 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key);
# 538 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
Boolean CFDictionaryGetValueIfPresent(CFDictionaryRef theDict, const void *key, const void **value);
# 561 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
void CFDictionaryGetKeysAndValues(CFDictionaryRef theDict, const void **keys, const void **values);
# 581 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
void CFDictionaryApplyFunction(CFDictionaryRef theDict, CFDictionaryApplierFunction __attribute__((noescape)) applier, void *context);
# 601 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
void CFDictionaryAddValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
# 624 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
void CFDictionarySetValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
# 643 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
void CFDictionaryReplaceValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
# 657 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
void CFDictionaryRemoveValue(CFMutableDictionaryRef theDict, const void *key);
# 667 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDictionary.h"
extern
void CFDictionaryRemoveAllValues(CFMutableDictionaryRef theDict);
# 16 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFLocale.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNotificationCenter.h" 1
# 19 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNotificationCenter.h"
typedef CFStringRef CFNotificationName __attribute__((swift_wrapper(struct)));
typedef struct __attribute__((objc_bridge_mutable(id))) __CFNotificationCenter * CFNotificationCenterRef;
typedef void (*CFNotificationCallback)(CFNotificationCenterRef center, void *observer, CFNotificationName name, const void *object, CFDictionaryRef userInfo);
typedef enum __attribute__((enum_extensibility(open))) CFNotificationSuspensionBehavior : CFIndex CFNotificationSuspensionBehavior; enum CFNotificationSuspensionBehavior : CFIndex {
CFNotificationSuspensionBehaviorDrop = 1,
CFNotificationSuspensionBehaviorCoalesce = 2,
CFNotificationSuspensionBehaviorHold = 3,
CFNotificationSuspensionBehaviorDeliverImmediately = 4
};
extern CFTypeID CFNotificationCenterGetTypeID(void);
extern CFNotificationCenterRef CFNotificationCenterGetLocalCenter(void);
extern CFNotificationCenterRef CFNotificationCenterGetDarwinNotifyCenter(void);
# 62 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNotificationCenter.h"
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, CFNotificationName name, const void *object);
extern void CFNotificationCenterRemoveEveryObserver(CFNotificationCenterRef center, const void *observer);
extern void CFNotificationCenterPostNotification(CFNotificationCenterRef center, CFNotificationName name, const void *object, CFDictionaryRef userInfo, Boolean deliverImmediately);
enum __attribute__((enum_extensibility(open))) : CFOptionFlags {
kCFNotificationDeliverImmediately = (1UL << 0),
kCFNotificationPostToAllSessions = (1UL << 1)
};
extern void CFNotificationCenterPostNotificationWithOptions(CFNotificationCenterRef center, CFNotificationName name, const void *object, CFDictionaryRef userInfo, CFOptionFlags options);
# 17 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFLocale.h" 2
typedef CFStringRef CFLocaleIdentifier __attribute__((swift_wrapper(struct)));
typedef CFStringRef CFLocaleKey __attribute__((swift_wrapper(enum)));
typedef const struct __attribute__((objc_bridge(NSLocale))) __CFLocale *CFLocaleRef;
extern
CFTypeID CFLocaleGetTypeID(void);
extern
CFLocaleRef CFLocaleGetSystem(void);
extern
CFLocaleRef CFLocaleCopyCurrent(void);
# 44 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFLocale.h"
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
CFLocaleIdentifier CFLocaleCreateCanonicalLanguageIdentifierFromString(CFAllocatorRef allocator, CFStringRef localeIdentifier);
extern
CFLocaleIdentifier CFLocaleCreateCanonicalLocaleIdentifierFromString(CFAllocatorRef allocator, CFStringRef localeIdentifier);
extern
CFLocaleIdentifier CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes(CFAllocatorRef allocator, LangCode lcode, RegionCode rcode);
extern
CFLocaleIdentifier CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode(CFAllocatorRef allocator, uint32_t lcid) ;
extern
uint32_t CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier(CFLocaleIdentifier localeIdentifier) ;
typedef enum __attribute__((enum_extensibility(open))) CFLocaleLanguageDirection : CFIndex CFLocaleLanguageDirection; enum CFLocaleLanguageDirection : CFIndex {
kCFLocaleLanguageDirectionUnknown = 0,
kCFLocaleLanguageDirectionLeftToRight = 1,
kCFLocaleLanguageDirectionRightToLeft = 2,
kCFLocaleLanguageDirectionTopToBottom = 3,
kCFLocaleLanguageDirectionBottomToTop = 4
};
extern
CFLocaleLanguageDirection CFLocaleGetLanguageCharacterDirection(CFStringRef isoLangCode) ;
extern
CFLocaleLanguageDirection CFLocaleGetLanguageLineDirection(CFStringRef isoLangCode) ;
extern
CFDictionaryRef CFLocaleCreateComponentsFromLocaleIdentifier(CFAllocatorRef allocator, CFLocaleIdentifier localeID);
# 122 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFLocale.h"
extern
CFLocaleIdentifier CFLocaleCreateLocaleIdentifierFromComponents(CFAllocatorRef allocator, CFDictionaryRef dictionary);
extern
CFLocaleRef CFLocaleCreate(CFAllocatorRef allocator, CFLocaleIdentifier localeIdentifier);
extern
CFLocaleRef CFLocaleCreateCopy(CFAllocatorRef allocator, CFLocaleRef locale);
extern
CFLocaleIdentifier CFLocaleGetIdentifier(CFLocaleRef locale);
extern
CFTypeRef CFLocaleGetValue(CFLocaleRef locale, CFLocaleKey key);
extern
CFStringRef CFLocaleCopyDisplayNameForPropertyValue(CFLocaleRef displayLocale, CFLocaleKey key, CFStringRef value);
extern const CFNotificationName kCFLocaleCurrentLocaleDidChangeNotification ;
extern const CFLocaleKey kCFLocaleIdentifier;
extern const CFLocaleKey kCFLocaleLanguageCode;
extern const CFLocaleKey kCFLocaleCountryCode;
extern const CFLocaleKey kCFLocaleScriptCode;
extern const CFLocaleKey kCFLocaleVariantCode;
extern const CFLocaleKey kCFLocaleExemplarCharacterSet;
extern const CFLocaleKey kCFLocaleCalendarIdentifier;
extern const CFLocaleKey kCFLocaleCalendar;
extern const CFLocaleKey kCFLocaleCollationIdentifier;
extern const CFLocaleKey kCFLocaleUsesMetricSystem;
extern const CFLocaleKey kCFLocaleMeasurementSystem;
extern const CFLocaleKey kCFLocaleDecimalSeparator;
extern const CFLocaleKey kCFLocaleGroupingSeparator;
extern const CFLocaleKey kCFLocaleCurrencySymbol;
extern const CFLocaleKey kCFLocaleCurrencyCode;
extern const CFLocaleKey kCFLocaleCollatorIdentifier ;
extern const CFLocaleKey kCFLocaleQuotationBeginDelimiterKey ;
extern const CFLocaleKey kCFLocaleQuotationEndDelimiterKey ;
extern const CFLocaleKey kCFLocaleAlternateQuotationBeginDelimiterKey ;
extern const CFLocaleKey kCFLocaleAlternateQuotationEndDelimiterKey ;
typedef CFStringRef CFCalendarIdentifier __attribute__((swift_wrapper(enum)));
extern const CFCalendarIdentifier kCFGregorianCalendar;
extern const CFCalendarIdentifier kCFBuddhistCalendar;
extern const CFCalendarIdentifier kCFChineseCalendar;
extern const CFCalendarIdentifier kCFHebrewCalendar;
extern const CFCalendarIdentifier kCFIslamicCalendar;
extern const CFCalendarIdentifier kCFIslamicCivilCalendar;
extern const CFCalendarIdentifier kCFJapaneseCalendar;
extern const CFCalendarIdentifier kCFRepublicOfChinaCalendar ;
extern const CFCalendarIdentifier kCFPersianCalendar ;
extern const CFCalendarIdentifier kCFIndianCalendar ;
extern const CFCalendarIdentifier kCFISO8601Calendar ;
extern const CFCalendarIdentifier kCFIslamicTabularCalendar ;
extern const CFCalendarIdentifier kCFIslamicUmmAlQuraCalendar ;
# 15 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCalendar.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDate.h" 1
# 18 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDate.h"
typedef double CFTimeInterval;
typedef CFTimeInterval CFAbsoluteTime;
extern
CFAbsoluteTime CFAbsoluteTimeGetCurrent(void);
extern
const CFTimeInterval kCFAbsoluteTimeIntervalSince1970;
extern
const CFTimeInterval kCFAbsoluteTimeIntervalSince1904;
typedef const struct __attribute__((objc_bridge(NSDate))) __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 __attribute__((objc_bridge(NSTimeZone))) __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 ;
typedef enum __attribute__((flag_enum,enum_extensibility(open))) CFGregorianUnitFlags : CFOptionFlags CFGregorianUnitFlags; enum CFGregorianUnitFlags : CFOptionFlags {
kCFGregorianUnitsYears = (1UL << 0),
kCFGregorianUnitsMonths = (1UL << 1),
kCFGregorianUnitsDays = (1UL << 2),
kCFGregorianUnitsHours = (1UL << 3),
kCFGregorianUnitsMinutes = (1UL << 4),
kCFGregorianUnitsSeconds = (1UL << 5),
kCFGregorianAllUnits = 0x00FFFFFF
};
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) ;
# 16 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCalendar.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTimeZone.h" 1
# 15 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTimeZone.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFData.h" 1
# 18 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFData.h"
typedef const struct __attribute__((objc_bridge(NSData))) __CFData * CFDataRef;
typedef struct __attribute__((objc_bridge_mutable(NSMutableData))) __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);
typedef enum __attribute__((flag_enum,enum_extensibility(open))) CFDataSearchFlags : CFOptionFlags CFDataSearchFlags; enum CFDataSearchFlags : CFOptionFlags {
kCFDataSearchBackwards = 1UL << 0,
kCFDataSearchAnchored = 1UL << 1
} ;
extern
CFRange CFDataFind(CFDataRef theData, CFDataRef dataToFind, CFRange searchRange, CFDataSearchFlags compareOptions) ;
# 16 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTimeZone.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h" 1
# 17 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h" 1
# 49 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
typedef const struct __attribute__((objc_bridge(NSCharacterSet))) __CFCharacterSet * CFCharacterSetRef;
typedef struct __attribute__((objc_bridge_mutable(NSMutableCharacterSet))) __CFCharacterSet * CFMutableCharacterSetRef;
typedef enum __attribute__((enum_extensibility(open))) CFCharacterSetPredefinedSet : CFIndex CFCharacterSetPredefinedSet; enum CFCharacterSetPredefinedSet : CFIndex {
kCFCharacterSetControl = 1,
kCFCharacterSetWhitespace,
kCFCharacterSetWhitespaceAndNewline,
kCFCharacterSetDecimalDigit,
kCFCharacterSetLetter,
kCFCharacterSetLowercaseLetter,
kCFCharacterSetUppercaseLetter,
kCFCharacterSetNonBase,
kCFCharacterSetDecomposable,
kCFCharacterSetAlphaNumeric,
kCFCharacterSetPunctuation,
kCFCharacterSetCapitalizedLetter = 13,
kCFCharacterSetSymbol = 14,
kCFCharacterSetNewline = 15,
kCFCharacterSetIllegal = 12
};
extern
CFTypeID CFCharacterSetGetTypeID(void);
# 97 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
CFCharacterSetRef CFCharacterSetGetPredefined(CFCharacterSetPredefinedSet theSetIdentifier);
# 116 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
CFCharacterSetRef CFCharacterSetCreateWithCharactersInRange(CFAllocatorRef alloc, CFRange theRange);
# 133 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
CFCharacterSetRef CFCharacterSetCreateWithCharactersInString(CFAllocatorRef alloc, CFStringRef theString);
# 161 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
CFCharacterSetRef CFCharacterSetCreateWithBitmapRepresentation(CFAllocatorRef alloc, CFDataRef theData);
# 177 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern CFCharacterSetRef CFCharacterSetCreateInvertedSet(CFAllocatorRef alloc, CFCharacterSetRef theSet);
# 187 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern Boolean CFCharacterSetIsSupersetOfSet(CFCharacterSetRef theSet, CFCharacterSetRef theOtherset);
# 198 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern Boolean CFCharacterSetHasMemberInPlane(CFCharacterSetRef theSet, CFIndex thePlane);
# 210 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
CFMutableCharacterSetRef CFCharacterSetCreateMutable(CFAllocatorRef alloc);
# 226 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
CFCharacterSetRef CFCharacterSetCreateCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet);
# 242 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
CFMutableCharacterSetRef CFCharacterSetCreateMutableCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet);
# 256 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
Boolean CFCharacterSetIsCharacterMember(CFCharacterSetRef theSet, UniChar theChar);
# 268 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern Boolean CFCharacterSetIsLongCharacterMember(CFCharacterSetRef theSet, uint32_t theChar);
# 286 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
CFDataRef CFCharacterSetCreateBitmapRepresentation(CFAllocatorRef alloc, CFCharacterSetRef theSet);
# 301 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
void CFCharacterSetAddCharactersInRange(CFMutableCharacterSetRef theSet, CFRange theRange);
# 316 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
void CFCharacterSetRemoveCharactersInRange(CFMutableCharacterSetRef theSet, CFRange theRange);
# 329 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
void CFCharacterSetAddCharactersInString(CFMutableCharacterSetRef theSet, CFStringRef theString);
# 342 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
void CFCharacterSetRemoveCharactersInString(CFMutableCharacterSetRef theSet, CFStringRef theString);
# 356 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
void CFCharacterSetUnion(CFMutableCharacterSetRef theSet, CFCharacterSetRef theOtherSet);
# 370 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
void CFCharacterSetIntersect(CFMutableCharacterSetRef theSet, CFCharacterSetRef theOtherSet);
# 380 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCharacterSet.h"
extern
void CFCharacterSetInvert(CFMutableCharacterSetRef theSet);
# 18 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h" 2
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 1 3
# 20 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h" 2
# 99 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
typedef UInt32 CFStringEncoding;
typedef enum __attribute__((enum_extensibility(open))) CFStringBuiltInEncodings : CFStringEncoding CFStringBuiltInEncodings; enum CFStringBuiltInEncodings : CFStringEncoding {
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
};
extern
CFTypeID CFStringGetTypeID(void);
# 213 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
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);
# 244 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
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);
# 320 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
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);
# 356 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
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);
typedef enum __attribute__((flag_enum,enum_extensibility(open))) CFStringCompareFlags : CFOptionFlags CFStringCompareFlags; enum CFStringCompareFlags : CFOptionFlags {
kCFCompareCaseInsensitive = 1,
kCFCompareBackwards = 4,
kCFCompareAnchored = 8,
kCFCompareNonliteral = 16,
kCFCompareLocalized = 32,
kCFCompareNumerically = 64,
kCFCompareDiacriticInsensitive = 128,
kCFCompareWidthInsensitive = 256,
kCFCompareForcedOrdering = 512
};
extern
CFComparisonResult CFStringCompareWithOptionsAndLocale(CFStringRef theString1, CFStringRef theString2, CFRange rangeToCompare, CFStringCompareFlags compareOptions, CFLocaleRef locale) ;
extern
CFComparisonResult CFStringCompareWithOptions(CFStringRef theString1, CFStringRef theString2, CFRange rangeToCompare, CFStringCompareFlags compareOptions);
extern
CFComparisonResult CFStringCompare(CFStringRef theString1, CFStringRef theString2, CFStringCompareFlags compareOptions);
extern
Boolean CFStringFindWithOptionsAndLocale(CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFStringCompareFlags searchOptions, CFLocaleRef locale, CFRange *result) ;
extern
Boolean CFStringFindWithOptions(CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFStringCompareFlags searchOptions, CFRange *result);
# 466 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
extern
CFArrayRef CFStringCreateArrayWithFindResults(CFAllocatorRef alloc, CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFStringCompareFlags compareOptions);
extern
CFRange CFStringFind(CFStringRef theString, CFStringRef stringToFind, CFStringCompareFlags compareOptions);
extern
Boolean CFStringHasPrefix(CFStringRef theString, CFStringRef prefix);
extern
Boolean CFStringHasSuffix(CFStringRef theString, CFStringRef suffix);
# 493 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
extern CFRange CFStringGetRangeOfComposedCharactersAtIndex(CFStringRef theString, CFIndex theIndex);
# 524 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
extern Boolean CFStringFindCharacterFromSet(CFStringRef theString, CFCharacterSetRef theSet, CFRange rangeToSearch, CFStringCompareFlags searchOptions, CFRange *result);
# 535 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
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) ;
# 568 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
extern
CFIndex CFStringGetHyphenationLocationBeforeIndex(CFStringRef string, CFIndex location, CFRange limitRange, CFOptionFlags options, CFLocaleRef locale, uint32_t *character) ;
extern
Boolean CFStringIsHyphenationAvailableForLocale(CFLocaleRef locale) ;
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);
# 599 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
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);
# 637 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
extern
CFIndex CFStringFindAndReplace(CFMutableStringRef theString, CFStringRef stringToFind, CFStringRef replacementString, CFRange rangeToSearch, CFStringCompareFlags compareOptions);
# 648 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
extern
void CFStringSetExternalCharactersNoCopy(CFMutableStringRef theString, UniChar *chars, CFIndex length, CFIndex capacity);
# 662 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
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);
typedef enum __attribute__((enum_extensibility(open))) CFStringNormalizationForm : CFIndex CFStringNormalizationForm; enum CFStringNormalizationForm : CFIndex {
kCFStringNormalizationFormD = 0,
kCFStringNormalizationFormKD,
kCFStringNormalizationFormC,
kCFStringNormalizationFormKC
};
# 704 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
extern void CFStringNormalize(CFMutableStringRef theString, CFStringNormalizationForm theForm);
# 731 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
extern
void CFStringFold(CFMutableStringRef theString, CFStringCompareFlags theFlags, CFLocaleRef theLocale) ;
extern
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);
# 821 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
typedef struct {
UniChar buffer[64];
CFStringRef theString;
const UniChar *directUniCharBuffer;
const char *directCStringBuffer;
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->directCStringBuffer = (buf->directUniCharBuffer = CFStringGetCharactersPtr(str)) ? ((void*)0) : CFStringGetCStringPtr(str, kCFStringEncodingASCII);
buf->bufferedRangeStart = buf->bufferedRangeEnd = 0;
}
static __inline__ __attribute__((always_inline)) UniChar CFStringGetCharacterFromInlineBuffer(CFStringInlineBuffer *buf, CFIndex idx) {
if (idx < 0 || idx >= buf->rangeToBuffer.length) return 0;
if (buf->directUniCharBuffer) return buf->directUniCharBuffer[idx + buf->rangeToBuffer.location];
if (buf->directCStringBuffer) return (UniChar)(buf->directCStringBuffer[idx + buf->rangeToBuffer.location]);
if (idx >= buf->bufferedRangeEnd || idx < buf->bufferedRangeStart) {
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];
}
# 867 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFString.h"
static __inline__ __attribute__((always_inline)) Boolean CFStringIsSurrogateHighCharacter(UniChar character) {
return ((character >= 0xD800UL) && (character <= 0xDBFFUL) ? 1 : 0);
}
static __inline__ __attribute__((always_inline)) Boolean CFStringIsSurrogateLowCharacter(UniChar character) {
return ((character >= 0xDC00UL) && (character <= 0xDFFFUL) ? 1 : 0);
}
static __inline__ __attribute__((always_inline)) uint32_t CFStringGetLongCharacterForSurrogatePair(UniChar surrogateHigh, UniChar surrogateLow) {
return (uint32_t)(((surrogateHigh - 0xD800UL) << 10) + (surrogateLow - 0xDC00UL) + 0x0010000UL);
}
static __inline__ __attribute__((always_inline)) Boolean CFStringGetSurrogatePairForLongCharacter(uint32_t character, UniChar *surrogates) {
if ((character > 0xFFFFUL) && (character < 0x110000UL)) {
character -= 0x10000;
if (((void*)0) != surrogates) {
surrogates[0] = (UniChar)((character >> 10) + 0xD800UL);
surrogates[1] = (UniChar)((character & 0x3FF) + 0xDC00UL);
}
return 1;
} else {
if (((void*)0) != surrogates) *surrogates = (UniChar)character;
return 0;
}
}
extern
void CFShow(CFTypeRef obj);
extern
void CFShowStr(CFStringRef str);
extern
CFStringRef __CFStringMakeConstantString(const char *cStr) ;
# 19 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTimeZone.h" 2
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) ;
typedef enum __attribute__((enum_extensibility(open))) CFTimeZoneNameStyle : CFIndex CFTimeZoneNameStyle; enum CFTimeZoneNameStyle : CFIndex {
kCFTimeZoneNameStyleStandard,
kCFTimeZoneNameStyleShortStandard,
kCFTimeZoneNameStyleDaylightSaving,
kCFTimeZoneNameStyleShortDaylightSaving,
kCFTimeZoneNameStyleGeneric,
kCFTimeZoneNameStyleShortGeneric
} ;
extern
CFStringRef CFTimeZoneCopyLocalizedName(CFTimeZoneRef tz, CFTimeZoneNameStyle style, CFLocaleRef locale) ;
extern
const CFNotificationName kCFTimeZoneSystemTimeZoneDidChangeNotification ;
# 17 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFCalendar.h" 2
typedef struct __attribute__((objc_bridge_mutable(NSCalendar))) __CFCalendar * CFCalendarRef;
extern
CFTypeID CFCalendarGetTypeID(void);
extern
CFCalendarRef CFCalendarCopyCurrent(void);
extern
CFCalendarRef CFCalendarCreateWithIdentifier(CFAllocatorRef allocator, CFCalendarIdentifier identifier);
extern
CFCalendarIdentifier 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);
typedef enum __attribute__((flag_enum,enum_extensibility(open))) CFCalendarUnit : CFOptionFlags CFCalendarUnit; enum CFCalendarUnit : CFOptionFlags {
kCFCalendarUnitEra = (1UL << 1),
kCFCalendarUnitYear = (1UL << 2),
kCFCalendarUnitMonth = (1UL << 3),
kCFCalendarUnitDay = (1UL << 4),
kCFCalendarUnitHour = (1UL << 5),
kCFCalendarUnitMinute = (1UL << 6),
kCFCalendarUnitSecond = (1UL << 7),
kCFCalendarUnitWeek = (1UL << 8),
kCFCalendarUnitWeekday = (1UL << 9),
kCFCalendarUnitWeekdayOrdinal = (1UL << 10),
kCFCalendarUnitQuarter = (1UL << 11),
kCFCalendarUnitWeekOfMonth = (1UL << 12),
kCFCalendarUnitWeekOfYear = (1UL << 13),
kCFCalendarUnitYearForWeekOfYear = (1UL << 14),
};
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 __attribute__((enum_extensibility(open))) : CFOptionFlags {
kCFCalendarComponentsWrap = (1UL << 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, ...);
# 69 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDateFormatter.h" 1
# 20 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDateFormatter.h"
typedef CFStringRef CFDateFormatterKey __attribute__((swift_wrapper(enum)));
typedef struct __attribute__((objc_bridge_mutable(id))) __CFDateFormatter *CFDateFormatterRef;
extern
CFStringRef CFDateFormatterCreateDateFormatFromTemplate(CFAllocatorRef allocator, CFStringRef tmplate, CFOptionFlags options, CFLocaleRef locale) ;
extern
CFTypeID CFDateFormatterGetTypeID(void);
# 45 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDateFormatter.h"
typedef enum __attribute__((enum_extensibility(open))) CFDateFormatterStyle : CFIndex CFDateFormatterStyle; enum CFDateFormatterStyle : CFIndex {
kCFDateFormatterNoStyle = 0,
kCFDateFormatterShortStyle = 1,
kCFDateFormatterMediumStyle = 2,
kCFDateFormatterLongStyle = 3,
kCFDateFormatterFullStyle = 4
};
typedef enum __attribute__((flag_enum,enum_extensibility(open))) CFISO8601DateFormatOptions : CFOptionFlags CFISO8601DateFormatOptions; enum CFISO8601DateFormatOptions : CFOptionFlags {
kCFISO8601DateFormatWithYear = (1UL << 0),
kCFISO8601DateFormatWithMonth = (1UL << 1),
kCFISO8601DateFormatWithWeekOfYear = (1UL << 2),
kCFISO8601DateFormatWithDay = (1UL << 4),
kCFISO8601DateFormatWithTime = (1UL << 5),
kCFISO8601DateFormatWithTimeZone = (1UL << 6),
kCFISO8601DateFormatWithSpaceBetweenDateAndTime = (1UL << 7),
kCFISO8601DateFormatWithDashSeparatorInDate = (1UL << 8),
kCFISO8601DateFormatWithColonSeparatorInTime = (1UL << 9),
kCFISO8601DateFormatWithColonSeparatorInTimeZone = (1UL << 10),
kCFISO8601DateFormatWithFractionalSeconds = (1UL << 11),
kCFISO8601DateFormatWithFullDate = kCFISO8601DateFormatWithYear | kCFISO8601DateFormatWithMonth | kCFISO8601DateFormatWithDay | kCFISO8601DateFormatWithDashSeparatorInDate,
kCFISO8601DateFormatWithFullTime = kCFISO8601DateFormatWithTime | kCFISO8601DateFormatWithColonSeparatorInTime | kCFISO8601DateFormatWithTimeZone | kCFISO8601DateFormatWithColonSeparatorInTimeZone,
kCFISO8601DateFormatWithInternetDateTime = kCFISO8601DateFormatWithFullDate | kCFISO8601DateFormatWithFullTime,
};
extern
CFDateFormatterRef CFDateFormatterCreateISO8601Formatter(CFAllocatorRef allocator, CFISO8601DateFormatOptions formatOptions) ;
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);
# 138 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFDateFormatter.h"
extern
void CFDateFormatterSetProperty(CFDateFormatterRef formatter, CFStringRef key, CFTypeRef value);
extern
CFTypeRef CFDateFormatterCopyProperty(CFDateFormatterRef formatter, CFDateFormatterKey key);
extern const CFDateFormatterKey kCFDateFormatterIsLenient;
extern const CFDateFormatterKey kCFDateFormatterTimeZone;
extern const CFDateFormatterKey kCFDateFormatterCalendarName;
extern const CFDateFormatterKey kCFDateFormatterDefaultFormat;
extern const CFDateFormatterKey kCFDateFormatterTwoDigitStartDate;
extern const CFDateFormatterKey kCFDateFormatterDefaultDate;
extern const CFDateFormatterKey kCFDateFormatterCalendar;
extern const CFDateFormatterKey kCFDateFormatterEraSymbols;
extern const CFDateFormatterKey kCFDateFormatterMonthSymbols;
extern const CFDateFormatterKey kCFDateFormatterShortMonthSymbols;
extern const CFDateFormatterKey kCFDateFormatterWeekdaySymbols;
extern const CFDateFormatterKey kCFDateFormatterShortWeekdaySymbols;
extern const CFDateFormatterKey kCFDateFormatterAMSymbol;
extern const CFDateFormatterKey kCFDateFormatterPMSymbol;
extern const CFDateFormatterKey kCFDateFormatterLongEraSymbols ;
extern const CFDateFormatterKey kCFDateFormatterVeryShortMonthSymbols ;
extern const CFDateFormatterKey kCFDateFormatterStandaloneMonthSymbols ;
extern const CFDateFormatterKey kCFDateFormatterShortStandaloneMonthSymbols ;
extern const CFDateFormatterKey kCFDateFormatterVeryShortStandaloneMonthSymbols ;
extern const CFDateFormatterKey kCFDateFormatterVeryShortWeekdaySymbols ;
extern const CFDateFormatterKey kCFDateFormatterStandaloneWeekdaySymbols ;
extern const CFDateFormatterKey kCFDateFormatterShortStandaloneWeekdaySymbols ;
extern const CFDateFormatterKey kCFDateFormatterVeryShortStandaloneWeekdaySymbols ;
extern const CFDateFormatterKey kCFDateFormatterQuarterSymbols ;
extern const CFDateFormatterKey kCFDateFormatterShortQuarterSymbols ;
extern const CFDateFormatterKey kCFDateFormatterStandaloneQuarterSymbols ;
extern const CFDateFormatterKey kCFDateFormatterShortStandaloneQuarterSymbols ;
extern const CFDateFormatterKey kCFDateFormatterGregorianStartDate ;
extern const CFDateFormatterKey kCFDateFormatterDoesRelativeDateFormattingKey ;
# 73 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFError.h" 1
# 44 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFError.h"
typedef CFStringRef CFErrorDomain __attribute__((swift_wrapper(struct)));
typedef struct __attribute__((objc_bridge(NSError))) __CFError * CFErrorRef;
extern
CFTypeID CFErrorGetTypeID(void) ;
extern const CFErrorDomain kCFErrorDomainPOSIX ;
extern const CFErrorDomain kCFErrorDomainOSStatus ;
extern const CFErrorDomain kCFErrorDomainMach ;
extern const CFErrorDomain kCFErrorDomainCocoa ;
extern const CFStringRef kCFErrorLocalizedDescriptionKey ;
extern const CFStringRef kCFErrorLocalizedFailureKey ;
extern const CFStringRef kCFErrorLocalizedFailureReasonKey ;
extern const CFStringRef kCFErrorLocalizedRecoverySuggestionKey ;
extern const CFStringRef kCFErrorDescriptionKey ;
extern const CFStringRef kCFErrorUnderlyingErrorKey ;
extern const CFStringRef kCFErrorURLKey ;
extern const CFStringRef kCFErrorFilePathKey ;
# 92 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFError.h"
extern
CFErrorRef CFErrorCreate(CFAllocatorRef allocator, CFErrorDomain domain, CFIndex code, CFDictionaryRef userInfo) ;
# 107 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFError.h"
extern
CFErrorRef CFErrorCreateWithUserInfoKeysAndValues(CFAllocatorRef allocator, CFErrorDomain domain, CFIndex code, const void *const *userInfoKeys, const void *const *userInfoValues, CFIndex numUserInfoValues) ;
extern
CFErrorDomain CFErrorGetDomain(CFErrorRef err) ;
extern
CFIndex CFErrorGetCode(CFErrorRef err) ;
# 135 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFError.h"
extern
CFDictionaryRef CFErrorCopyUserInfo(CFErrorRef err) ;
# 150 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFError.h"
extern
CFStringRef CFErrorCopyDescription(CFErrorRef err) ;
# 162 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFError.h"
extern
CFStringRef CFErrorCopyFailureReason(CFErrorRef err) ;
# 174 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFError.h"
extern
CFStringRef CFErrorCopyRecoverySuggestion(CFErrorRef err) ;
# 75 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNumber.h" 1
# 18 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNumber.h"
typedef const struct __attribute__((objc_bridge(NSNumber))) __CFBoolean * CFBooleanRef;
extern
const CFBooleanRef kCFBooleanTrue;
extern
const CFBooleanRef kCFBooleanFalse;
extern
CFTypeID CFBooleanGetTypeID(void);
extern
Boolean CFBooleanGetValue(CFBooleanRef boolean);
typedef enum __attribute__((enum_extensibility(open))) CFNumberType : CFIndex CFNumberType; enum CFNumberType : CFIndex {
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 const struct __attribute__((objc_bridge(NSNumber))) __CFNumber * CFNumberRef;
extern
const CFNumberRef kCFNumberPositiveInfinity;
extern
const CFNumberRef kCFNumberNegativeInfinity;
extern
const CFNumberRef kCFNumberNaN;
extern
CFTypeID CFNumberGetTypeID(void);
# 73 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNumber.h"
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);
# 104 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNumber.h"
extern
Boolean CFNumberGetValue(CFNumberRef number, CFNumberType theType, void *valuePtr);
# 122 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNumber.h"
extern
CFComparisonResult CFNumberCompare(CFNumberRef number, CFNumberRef otherNumber, void *context);
# 77 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNumberFormatter.h" 1
# 20 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNumberFormatter.h"
typedef CFStringRef CFNumberFormatterKey __attribute__((swift_wrapper(enum)));
typedef struct __attribute__((objc_bridge_mutable(id))) __CFNumberFormatter *CFNumberFormatterRef;
extern
CFTypeID CFNumberFormatterGetTypeID(void);
typedef enum __attribute__((enum_extensibility(open))) CFNumberFormatterStyle : CFIndex CFNumberFormatterStyle; enum CFNumberFormatterStyle : CFIndex {
kCFNumberFormatterNoStyle = 0,
kCFNumberFormatterDecimalStyle = 1,
kCFNumberFormatterCurrencyStyle = 2,
kCFNumberFormatterPercentStyle = 3,
kCFNumberFormatterScientificStyle = 4,
kCFNumberFormatterSpellOutStyle = 5,
kCFNumberFormatterOrdinalStyle = 6,
kCFNumberFormatterCurrencyISOCodeStyle = 8,
kCFNumberFormatterCurrencyPluralStyle = 9,
kCFNumberFormatterCurrencyAccountingStyle = 10,
};
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);
# 68 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNumberFormatter.h"
extern
CFStringRef CFNumberFormatterCreateStringWithNumber(CFAllocatorRef allocator, CFNumberFormatterRef formatter, CFNumberRef number);
extern
CFStringRef CFNumberFormatterCreateStringWithValue(CFAllocatorRef allocator, CFNumberFormatterRef formatter, CFNumberType numberType, const void *valuePtr);
typedef enum __attribute__((flag_enum,enum_extensibility(open))) CFNumberFormatterOptionFlags : CFOptionFlags CFNumberFormatterOptionFlags; enum CFNumberFormatterOptionFlags : CFOptionFlags {
kCFNumberFormatterParseIntegersOnly = 1
};
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);
# 97 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFNumberFormatter.h"
extern
void CFNumberFormatterSetProperty(CFNumberFormatterRef formatter, CFNumberFormatterKey key, CFTypeRef value);
extern
CFTypeRef CFNumberFormatterCopyProperty(CFNumberFormatterRef formatter, CFNumberFormatterKey key);
extern const CFNumberFormatterKey kCFNumberFormatterCurrencyCode;
extern const CFNumberFormatterKey kCFNumberFormatterDecimalSeparator;
extern const CFNumberFormatterKey kCFNumberFormatterCurrencyDecimalSeparator;
extern const CFNumberFormatterKey kCFNumberFormatterAlwaysShowDecimalSeparator;
extern const CFNumberFormatterKey kCFNumberFormatterGroupingSeparator;
extern const CFNumberFormatterKey kCFNumberFormatterUseGroupingSeparator;
extern const CFNumberFormatterKey kCFNumberFormatterPercentSymbol;
extern const CFNumberFormatterKey kCFNumberFormatterZeroSymbol;
extern const CFNumberFormatterKey kCFNumberFormatterNaNSymbol;
extern const CFNumberFormatterKey kCFNumberFormatterInfinitySymbol;
extern const CFNumberFormatterKey kCFNumberFormatterMinusSign;
extern const CFNumberFormatterKey kCFNumberFormatterPlusSign;
extern const CFNumberFormatterKey kCFNumberFormatterCurrencySymbol;
extern const CFNumberFormatterKey kCFNumberFormatterExponentSymbol;
extern const CFNumberFormatterKey kCFNumberFormatterMinIntegerDigits;
extern const CFNumberFormatterKey kCFNumberFormatterMaxIntegerDigits;
extern const CFNumberFormatterKey kCFNumberFormatterMinFractionDigits;
extern const CFNumberFormatterKey kCFNumberFormatterMaxFractionDigits;
extern const CFNumberFormatterKey kCFNumberFormatterGroupingSize;
extern const CFNumberFormatterKey kCFNumberFormatterSecondaryGroupingSize;
extern const CFNumberFormatterKey kCFNumberFormatterRoundingMode;
extern const CFNumberFormatterKey kCFNumberFormatterRoundingIncrement;
extern const CFNumberFormatterKey kCFNumberFormatterFormatWidth;
extern const CFNumberFormatterKey kCFNumberFormatterPaddingPosition;
extern const CFNumberFormatterKey kCFNumberFormatterPaddingCharacter;
extern const CFNumberFormatterKey kCFNumberFormatterDefaultFormat;
extern const CFNumberFormatterKey kCFNumberFormatterMultiplier;
extern const CFNumberFormatterKey kCFNumberFormatterPositivePrefix;
extern const CFNumberFormatterKey kCFNumberFormatterPositiveSuffix;
extern const CFNumberFormatterKey kCFNumberFormatterNegativePrefix;
extern const CFNumberFormatterKey kCFNumberFormatterNegativeSuffix;
extern const CFNumberFormatterKey kCFNumberFormatterPerMillSymbol;
extern const CFNumberFormatterKey kCFNumberFormatterInternationalCurrencySymbol;
extern const CFNumberFormatterKey kCFNumberFormatterCurrencyGroupingSeparator ;
extern const CFNumberFormatterKey kCFNumberFormatterIsLenient ;
extern const CFNumberFormatterKey kCFNumberFormatterUseSignificantDigits ;
extern const CFNumberFormatterKey kCFNumberFormatterMinSignificantDigits ;
extern const CFNumberFormatterKey kCFNumberFormatterMaxSignificantDigits ;
typedef enum __attribute__((enum_extensibility(open))) CFNumberFormatterRoundingMode : CFIndex CFNumberFormatterRoundingMode; enum CFNumberFormatterRoundingMode : CFIndex {
kCFNumberFormatterRoundCeiling = 0,
kCFNumberFormatterRoundFloor = 1,
kCFNumberFormatterRoundDown = 2,
kCFNumberFormatterRoundUp = 3,
kCFNumberFormatterRoundHalfEven = 4,
kCFNumberFormatterRoundHalfDown = 5,
kCFNumberFormatterRoundHalfUp = 6
};
typedef enum __attribute__((enum_extensibility(open))) CFNumberFormatterPadPosition : CFIndex CFNumberFormatterPadPosition; enum CFNumberFormatterPadPosition : CFIndex {
kCFNumberFormatterPadBeforePrefix = 0,
kCFNumberFormatterPadAfterPrefix = 1,
kCFNumberFormatterPadBeforeSuffix = 2,
kCFNumberFormatterPadAfterSuffix = 3
};
extern
Boolean CFNumberFormatterGetDecimalInfoForCurrencyCode(CFStringRef currencyCode, int32_t *defaultFractionDigits, double *roundingIncrement);
# 78 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPreferences.h" 1
# 18 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPreferences.h"
#pragma clang assume_nonnull begin
extern
const CFStringRef kCFPreferencesAnyApplication;
extern
const CFStringRef kCFPreferencesCurrentApplication;
extern
const CFStringRef kCFPreferencesAnyHost;
extern
const CFStringRef kCFPreferencesCurrentHost;
extern
const CFStringRef kCFPreferencesAnyUser;
extern
const CFStringRef kCFPreferencesCurrentUser;
# 48 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPreferences.h"
extern
_Nullable CFPropertyListRef CFPreferencesCopyAppValue(CFStringRef key, CFStringRef applicationID);
extern
Boolean CFPreferencesGetAppBooleanValue(CFStringRef key, CFStringRef applicationID, Boolean * _Nullable keyExistsAndHasValidFormat);
extern
CFIndex CFPreferencesGetAppIntegerValue(CFStringRef key, CFStringRef applicationID, Boolean * _Nullable keyExistsAndHasValidFormat);
extern
void CFPreferencesSetAppValue(CFStringRef key, _Nullable CFPropertyListRef value, CFStringRef applicationID);
extern
void CFPreferencesAddSuitePreferencesToApp(CFStringRef applicationID, CFStringRef suiteID);
extern
void CFPreferencesRemoveSuitePreferencesFromApp(CFStringRef applicationID, CFStringRef suiteID);
extern
Boolean CFPreferencesAppSynchronize(CFStringRef applicationID);
extern
_Nullable CFPropertyListRef CFPreferencesCopyValue(CFStringRef key, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
CFDictionaryRef CFPreferencesCopyMultiple(_Nullable CFArrayRef keysToFetch, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
void CFPreferencesSetValue(CFStringRef key, _Nullable CFPropertyListRef value, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
void CFPreferencesSetMultiple(_Nullable CFDictionaryRef keysToSet, _Nullable CFArrayRef keysToRemove, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
Boolean CFPreferencesSynchronize(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
extern
_Nullable CFArrayRef CFPreferencesCopyApplicationList(CFStringRef userName, CFStringRef hostName) ;
extern
_Nullable CFArrayRef CFPreferencesCopyKeyList(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
# 122 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPreferences.h"
#pragma clang assume_nonnull end
# 79 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPropertyList.h" 1
# 17 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPropertyList.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h" 1
# 16 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h" 1
# 21 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h"
typedef enum __attribute__((enum_extensibility(open))) CFURLPathStyle : CFIndex CFURLPathStyle; enum CFURLPathStyle : CFIndex {
kCFURLPOSIXPathStyle = 0,
kCFURLHFSPathStyle ,
kCFURLWindowsPathStyle
};
typedef const struct __attribute__((objc_bridge(NSURL))) __CFURL * CFURLRef;
# 43 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h"
extern
CFTypeID CFURLGetTypeID(void);
# 53 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h"
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);
# 83 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h"
extern
CFURLRef CFURLCreateAbsoluteURLWithBytes(CFAllocatorRef alloc, const UInt8 *relativeURLBytes, CFIndex length, CFStringEncoding encoding, CFURLRef baseURL, Boolean useCompatibilityMode);
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);
# 117 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h"
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);
# 192 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h"
extern
Boolean CFURLCanBeDecomposed(CFURLRef anURL);
extern
CFStringRef CFURLCopyScheme(CFURLRef anURL);
extern
CFStringRef CFURLCopyNetLocation(CFURLRef anURL);
# 211 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h"
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);
extern
CFIndex CFURLGetBytes(CFURLRef url, UInt8 *buffer, CFIndex bufferLength);
typedef enum __attribute__((enum_extensibility(open))) CFURLComponentType : CFIndex CFURLComponentType; enum CFURLComponentType : CFIndex {
kCFURLComponentScheme = 1,
kCFURLComponentNetLocation = 2,
kCFURLComponentPath = 3,
kCFURLComponentResourceSpecifier = 4,
kCFURLComponentUser = 5,
kCFURLComponentPassword = 6,
kCFURLComponentUserInfo = 7,
kCFURLComponentHost = 8,
kCFURLComponentPort = 9,
kCFURLComponentParameterString = 10,
kCFURLComponentQuery = 11,
kCFURLComponentFragment = 12
};
# 372 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h"
extern
CFRange CFURLGetByteRangeForComponent(CFURLRef url, CFURLComponentType component, CFRange *rangeIncludingSeparators);
# 382 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h"
extern
CFStringRef CFURLCreateStringByReplacingPercentEscapes(CFAllocatorRef allocator, CFStringRef originalString, CFStringRef charactersToLeaveEscaped);
extern
CFStringRef CFURLCreateStringByReplacingPercentEscapesUsingEncoding(CFAllocatorRef allocator, CFStringRef origString, CFStringRef charsToLeaveEscaped, CFStringEncoding encoding) ;
# 401 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURL.h"
extern
CFStringRef CFURLCreateStringByAddingPercentEscapes(CFAllocatorRef allocator, CFStringRef originalString, CFStringRef charactersToLeaveUnescaped, CFStringRef legalURLCharactersToBeEscaped, CFStringEncoding encoding) ;
# 17 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFRunLoop.h" 1
# 24 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFRunLoop.h"
typedef CFStringRef CFRunLoopMode __attribute__((swift_wrapper(struct)));
typedef struct __attribute__((objc_bridge_mutable(id))) __CFRunLoop * CFRunLoopRef;
typedef struct __attribute__((objc_bridge_mutable(id))) __CFRunLoopSource * CFRunLoopSourceRef;
typedef struct __attribute__((objc_bridge_mutable(id))) __CFRunLoopObserver * CFRunLoopObserverRef;
typedef struct __attribute__((objc_bridge_mutable(NSTimer))) __CFRunLoopTimer * CFRunLoopTimerRef;
typedef enum __attribute__((enum_extensibility(open))) CFRunLoopRunResult : SInt32 CFRunLoopRunResult; enum CFRunLoopRunResult : SInt32 {
kCFRunLoopRunFinished = 1,
kCFRunLoopRunStopped = 2,
kCFRunLoopRunTimedOut = 3,
kCFRunLoopRunHandledSource = 4
};
typedef enum __attribute__((flag_enum,enum_extensibility(open))) CFRunLoopActivity : CFOptionFlags CFRunLoopActivity; enum CFRunLoopActivity : CFOptionFlags {
kCFRunLoopEntry = (1UL << 0),
kCFRunLoopBeforeTimers = (1UL << 1),
kCFRunLoopBeforeSources = (1UL << 2),
kCFRunLoopBeforeWaiting = (1UL << 5),
kCFRunLoopAfterWaiting = (1UL << 6),
kCFRunLoopExit = (1UL << 7),
kCFRunLoopAllActivities = 0x0FFFFFFFU
};
extern const CFRunLoopMode kCFRunLoopDefaultMode;
extern const CFRunLoopMode kCFRunLoopCommonModes;
extern CFTypeID CFRunLoopGetTypeID(void);
extern CFRunLoopRef CFRunLoopGetCurrent(void);
extern CFRunLoopRef CFRunLoopGetMain(void);
extern CFRunLoopMode CFRunLoopCopyCurrentMode(CFRunLoopRef rl);
extern CFArrayRef CFRunLoopCopyAllModes(CFRunLoopRef rl);
extern void CFRunLoopAddCommonMode(CFRunLoopRef rl, CFRunLoopMode mode);
extern CFAbsoluteTime CFRunLoopGetNextTimerFireDate(CFRunLoopRef rl, CFRunLoopMode mode);
extern void CFRunLoopRun(void);
extern CFRunLoopRunResult CFRunLoopRunInMode(CFRunLoopMode mode, CFTimeInterval seconds, Boolean returnAfterSourceHandled);
extern Boolean CFRunLoopIsWaiting(CFRunLoopRef rl);
extern void CFRunLoopWakeUp(CFRunLoopRef rl);
extern void CFRunLoopStop(CFRunLoopRef rl);
extern void CFRunLoopPerformBlock(CFRunLoopRef rl, CFTypeRef mode, void (^block)(void)) ;
extern Boolean CFRunLoopContainsSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFRunLoopMode mode);
extern void CFRunLoopAddSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFRunLoopMode mode);
extern void CFRunLoopRemoveSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFRunLoopMode mode);
extern Boolean CFRunLoopContainsObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFRunLoopMode mode);
extern void CFRunLoopAddObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFRunLoopMode mode);
extern void CFRunLoopRemoveObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFRunLoopMode mode);
extern Boolean CFRunLoopContainsTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFRunLoopMode mode);
extern void CFRunLoopAddTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFRunLoopMode mode);
extern void CFRunLoopRemoveTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFRunLoopMode 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, CFRunLoopMode mode);
void (*cancel)(void *info, CFRunLoopRef rl, CFRunLoopMode 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);
void * (*getPort)(void *info);
void (*perform)(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 CFRunLoopObserverRef CFRunLoopObserverCreateWithHandler(CFAllocatorRef allocator, CFOptionFlags activities, Boolean repeats, CFIndex order, void (^block) (CFRunLoopObserverRef observer, CFRunLoopActivity activity)) ;
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 CFRunLoopTimerRef CFRunLoopTimerCreateWithHandler(CFAllocatorRef allocator, CFAbsoluteTime fireDate, CFTimeInterval interval, CFOptionFlags flags, CFIndex order, void (^block) (CFRunLoopTimerRef timer)) ;
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);
extern CFTimeInterval CFRunLoopTimerGetTolerance(CFRunLoopTimerRef timer) ;
extern void CFRunLoopTimerSetTolerance(CFRunLoopTimerRef timer, CFTimeInterval tolerance) ;
# 18 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSocket.h" 1
# 19 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSocket.h"
typedef struct __attribute__((objc_bridge_mutable(id))) __CFSocket * CFSocketRef;
# 99 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSocket.h"
typedef enum __attribute__((enum_extensibility(open))) CFSocketError : CFIndex CFSocketError; enum CFSocketError : CFIndex {
kCFSocketSuccess = 0,
kCFSocketError = -1L,
kCFSocketTimeout = -2L
};
typedef struct {
SInt32 protocolFamily;
SInt32 socketType;
SInt32 protocol;
CFDataRef address;
} CFSocketSignature;
typedef enum __attribute__((flag_enum,enum_extensibility(open))) CFSocketCallBackType : CFOptionFlags CFSocketCallBackType; enum CFSocketCallBackType : CFOptionFlags {
kCFSocketNoCallBack = 0,
kCFSocketReadCallBack = 1,
kCFSocketAcceptCallBack = 2,
kCFSocketDataCallBack = 3,
kCFSocketConnectCallBack = 4,
kCFSocketWriteCallBack = 8
};
enum __attribute__((enum_extensibility(open))) : CFOptionFlags {
kCFSocketAutomaticallyReenableReadCallBack = 1,
kCFSocketAutomaticallyReenableAcceptCallBack = 2,
kCFSocketAutomaticallyReenableDataCallBack = 3,
kCFSocketAutomaticallyReenableWriteCallBack = 8,
kCFSocketLeaveErrors = 64,
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;
typedef int CFSocketNativeHandle;
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);
# 196 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSocket.h"
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;
# 19 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h" 2
# 1 "/usr/local/include/dispatch/dispatch.h" 1 3
# 32 "/usr/local/include/dispatch/dispatch.h" 3
# 1 "/usr/local/include/os/generic_unix_base.h" 1 3
# 16 "/usr/local/include/os/generic_unix_base.h" 3
# 1 "/usr/local/include/os/generic_base.h" 1 3
# 17 "/usr/local/include/os/generic_unix_base.h" 2 3
# 1 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/sysmacros.h" 1 3 4
# 25 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 2 3 4
# 35 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 3 4
extern unsigned int gnu_dev_major (__dev_t __dev) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern unsigned int gnu_dev_minor (__dev_t __dev) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
extern __dev_t gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
__extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ )) gnu_dev_major (__dev_t __dev) { unsigned int __major; __major = ((__dev & (__dev_t) 0x00000000000fff00u) >> 8); __major |= ((__dev & (__dev_t) 0xfffff00000000000u) >> 32); return __major; }
__extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ )) gnu_dev_minor (__dev_t __dev) { unsigned int __minor; __minor = ((__dev & (__dev_t) 0x00000000000000ffu) >> 0); __minor |= ((__dev & (__dev_t) 0x00000ffffff00000u) >> 12); return __minor; }
__extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) __dev_t __attribute__ ((__nothrow__ )) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { __dev_t __dev; __dev = (((__dev_t) (__major & 0x00000fffu)) << 8); __dev |= (((__dev_t) (__major & 0xfffff000u)) << 32); __dev |= (((__dev_t) (__minor & 0x000000ffu)) << 0); __dev |= (((__dev_t) (__minor & 0xffffff00u)) << 12); return __dev; }
# 20 "/usr/local/include/os/generic_unix_base.h" 2 3
# 33 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3
# 37 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 1 3
# 40 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/include/unistd.h" 1 3 4
# 202 "/usr/include/unistd.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/posix_opt.h" 1 3 4
# 203 "/usr/include/unistd.h" 2 3 4
# 226 "/usr/include/unistd.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 1 3 4
# 77 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_size_t.h" 1 3 4
# 78 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 92 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/__stddef_null.h" 1 3 4
# 93 "/usr/lib/llvm-18/lib/clang/18/include/stddef.h" 2 3 4
# 227 "/usr/include/unistd.h" 2 3 4
# 287 "/usr/include/unistd.h" 3 4
extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
# 339 "/usr/include/unistd.h" 3 4
extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__ ));
# 358 "/usr/include/unistd.h" 3 4
extern int close (int __fd);
# 371 "/usr/include/unistd.h" 3 4
extern ssize_t read (int __fd, void *__buf, size_t __nbytes)
;
extern ssize_t write (int __fd, const void *__buf, size_t __n)
;
# 437 "/usr/include/unistd.h" 3 4
extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ )) ;
# 452 "/usr/include/unistd.h" 3 4
extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ ));
# 464 "/usr/include/unistd.h" 3 4
extern unsigned int sleep (unsigned int __seconds);
# 489 "/usr/include/unistd.h" 3 4
extern int pause (void);
extern int chown (const char *__file, __uid_t __owner, __gid_t __group)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
# 517 "/usr/include/unistd.h" 3 4
extern int chdir (const char *__path) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
# 531 "/usr/include/unistd.h" 3 4
extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ )) ;
# 552 "/usr/include/unistd.h" 3 4
extern int dup (int __fd) __attribute__ ((__nothrow__ )) ;
extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ ));
# 564 "/usr/include/unistd.h" 3 4
extern char **__environ;
extern int execve (const char *__path, char *const __argv[],
char *const __envp[]) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
# 584 "/usr/include/unistd.h" 3 4
extern int execv (const char *__path, char *const __argv[])
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
extern int execle (const char *__path, const char *__arg, ...)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
extern int execl (const char *__path, const char *__arg, ...)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
extern int execvp (const char *__file, char *const __argv[])
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
extern int execlp (const char *__file, const char *__arg, ...)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
# 624 "/usr/include/unistd.h" 3 4
extern void _exit (int __status) __attribute__ ((__noreturn__));
# 1 "/usr/include/x86_64-linux-gnu/bits/confname.h" 1 3 4
# 24 "/usr/include/x86_64-linux-gnu/bits/confname.h" 3 4
enum
{
_PC_LINK_MAX,
_PC_MAX_CANON,
_PC_MAX_INPUT,
_PC_NAME_MAX,
_PC_PATH_MAX,
_PC_PIPE_BUF,
_PC_CHOWN_RESTRICTED,
_PC_NO_TRUNC,
_PC_VDISABLE,
_PC_SYNC_IO,
_PC_ASYNC_IO,
_PC_PRIO_IO,
_PC_SOCK_MAXBUF,
_PC_FILESIZEBITS,
_PC_REC_INCR_XFER_SIZE,
_PC_REC_MAX_XFER_SIZE,
_PC_REC_MIN_XFER_SIZE,
_PC_REC_XFER_ALIGN,
_PC_ALLOC_SIZE_MIN,
_PC_SYMLINK_MAX,
_PC_2_SYMLINKS
};
enum
{
_SC_ARG_MAX,
_SC_CHILD_MAX,
_SC_CLK_TCK,
_SC_NGROUPS_MAX,
_SC_OPEN_MAX,
_SC_STREAM_MAX,
_SC_TZNAME_MAX,
_SC_JOB_CONTROL,
_SC_SAVED_IDS,
_SC_REALTIME_SIGNALS,
_SC_PRIORITY_SCHEDULING,
_SC_TIMERS,
_SC_ASYNCHRONOUS_IO,
_SC_PRIORITIZED_IO,
_SC_SYNCHRONIZED_IO,
_SC_FSYNC,
_SC_MAPPED_FILES,
_SC_MEMLOCK,
_SC_MEMLOCK_RANGE,
_SC_MEMORY_PROTECTION,
_SC_MESSAGE_PASSING,
_SC_SEMAPHORES,
_SC_SHARED_MEMORY_OBJECTS,
_SC_AIO_LISTIO_MAX,
_SC_AIO_MAX,
_SC_AIO_PRIO_DELTA_MAX,
_SC_DELAYTIMER_MAX,
_SC_MQ_OPEN_MAX,
_SC_MQ_PRIO_MAX,
_SC_VERSION,
_SC_PAGESIZE,
_SC_RTSIG_MAX,
_SC_SEM_NSEMS_MAX,
_SC_SEM_VALUE_MAX,
_SC_SIGQUEUE_MAX,
_SC_TIMER_MAX,
_SC_BC_BASE_MAX,
_SC_BC_DIM_MAX,
_SC_BC_SCALE_MAX,
_SC_BC_STRING_MAX,
_SC_COLL_WEIGHTS_MAX,
_SC_EQUIV_CLASS_MAX,
_SC_EXPR_NEST_MAX,
_SC_LINE_MAX,
_SC_RE_DUP_MAX,
_SC_CHARCLASS_NAME_MAX,
_SC_2_VERSION,
_SC_2_C_BIND,
_SC_2_C_DEV,
_SC_2_FORT_DEV,
_SC_2_FORT_RUN,
_SC_2_SW_DEV,
_SC_2_LOCALEDEF,
_SC_PII,
_SC_PII_XTI,
_SC_PII_SOCKET,
_SC_PII_INTERNET,
_SC_PII_OSI,
_SC_POLL,
_SC_SELECT,
_SC_UIO_MAXIOV,
_SC_IOV_MAX = _SC_UIO_MAXIOV,
_SC_PII_INTERNET_STREAM,
_SC_PII_INTERNET_DGRAM,
_SC_PII_OSI_COTS,
_SC_PII_OSI_CLTS,
_SC_PII_OSI_M,
_SC_T_IOV_MAX,
_SC_THREADS,
_SC_THREAD_SAFE_FUNCTIONS,
_SC_GETGR_R_SIZE_MAX,
_SC_GETPW_R_SIZE_MAX,
_SC_LOGIN_NAME_MAX,
_SC_TTY_NAME_MAX,
_SC_THREAD_DESTRUCTOR_ITERATIONS,
_SC_THREAD_KEYS_MAX,
_SC_THREAD_STACK_MIN,
_SC_THREAD_THREADS_MAX,
_SC_THREAD_ATTR_STACKADDR,
_SC_THREAD_ATTR_STACKSIZE,
_SC_THREAD_PRIORITY_SCHEDULING,
_SC_THREAD_PRIO_INHERIT,
_SC_THREAD_PRIO_PROTECT,
_SC_THREAD_PROCESS_SHARED,
_SC_NPROCESSORS_CONF,
_SC_NPROCESSORS_ONLN,
_SC_PHYS_PAGES,
_SC_AVPHYS_PAGES,
_SC_ATEXIT_MAX,
_SC_PASS_MAX,
_SC_XOPEN_VERSION,
_SC_XOPEN_XCU_VERSION,
_SC_XOPEN_UNIX,
_SC_XOPEN_CRYPT,
_SC_XOPEN_ENH_I18N,
_SC_XOPEN_SHM,
_SC_2_CHAR_TERM,
_SC_2_C_VERSION,
_SC_2_UPE,
_SC_XOPEN_XPG2,
_SC_XOPEN_XPG3,
_SC_XOPEN_XPG4,
_SC_CHAR_BIT,
_SC_CHAR_MAX,
_SC_CHAR_MIN,
_SC_INT_MAX,
_SC_INT_MIN,
_SC_LONG_BIT,
_SC_WORD_BIT,
_SC_MB_LEN_MAX,
_SC_NZERO,
_SC_SSIZE_MAX,
_SC_SCHAR_MAX,
_SC_SCHAR_MIN,
_SC_SHRT_MAX,
_SC_SHRT_MIN,
_SC_UCHAR_MAX,
_SC_UINT_MAX,
_SC_ULONG_MAX,
_SC_USHRT_MAX,
_SC_NL_ARGMAX,
_SC_NL_LANGMAX,
_SC_NL_MSGMAX,
_SC_NL_NMAX,
_SC_NL_SETMAX,
_SC_NL_TEXTMAX,
_SC_XBS5_ILP32_OFF32,
_SC_XBS5_ILP32_OFFBIG,
_SC_XBS5_LP64_OFF64,
_SC_XBS5_LPBIG_OFFBIG,
_SC_XOPEN_LEGACY,
_SC_XOPEN_REALTIME,
_SC_XOPEN_REALTIME_THREADS,
_SC_ADVISORY_INFO,
_SC_BARRIERS,
_SC_BASE,
_SC_C_LANG_SUPPORT,
_SC_C_LANG_SUPPORT_R,
_SC_CLOCK_SELECTION,
_SC_CPUTIME,
_SC_THREAD_CPUTIME,
_SC_DEVICE_IO,
_SC_DEVICE_SPECIFIC,
_SC_DEVICE_SPECIFIC_R,
_SC_FD_MGMT,
_SC_FIFO,
_SC_PIPE,
_SC_FILE_ATTRIBUTES,
_SC_FILE_LOCKING,
_SC_FILE_SYSTEM,
_SC_MONOTONIC_CLOCK,
_SC_MULTI_PROCESS,
_SC_SINGLE_PROCESS,
_SC_NETWORKING,
_SC_READER_WRITER_LOCKS,
_SC_SPIN_LOCKS,
_SC_REGEXP,
_SC_REGEX_VERSION,
_SC_SHELL,
_SC_SIGNALS,
_SC_SPAWN,
_SC_SPORADIC_SERVER,
_SC_THREAD_SPORADIC_SERVER,
_SC_SYSTEM_DATABASE,
_SC_SYSTEM_DATABASE_R,
_SC_TIMEOUTS,
_SC_TYPED_MEMORY_OBJECTS,
_SC_USER_GROUPS,
_SC_USER_GROUPS_R,
_SC_2_PBS,
_SC_2_PBS_ACCOUNTING,
_SC_2_PBS_LOCATE,
_SC_2_PBS_MESSAGE,
_SC_2_PBS_TRACK,
_SC_SYMLOOP_MAX,
_SC_STREAMS,
_SC_2_PBS_CHECKPOINT,
_SC_V6_ILP32_OFF32,
_SC_V6_ILP32_OFFBIG,
_SC_V6_LP64_OFF64,
_SC_V6_LPBIG_OFFBIG,
_SC_HOST_NAME_MAX,
_SC_TRACE,
_SC_TRACE_EVENT_FILTER,
_SC_TRACE_INHERIT,
_SC_TRACE_LOG,
_SC_LEVEL1_ICACHE_SIZE,
_SC_LEVEL1_ICACHE_ASSOC,
_SC_LEVEL1_ICACHE_LINESIZE,
_SC_LEVEL1_DCACHE_SIZE,
_SC_LEVEL1_DCACHE_ASSOC,
_SC_LEVEL1_DCACHE_LINESIZE,
_SC_LEVEL2_CACHE_SIZE,
_SC_LEVEL2_CACHE_ASSOC,
_SC_LEVEL2_CACHE_LINESIZE,
_SC_LEVEL3_CACHE_SIZE,
_SC_LEVEL3_CACHE_ASSOC,
_SC_LEVEL3_CACHE_LINESIZE,
_SC_LEVEL4_CACHE_SIZE,
_SC_LEVEL4_CACHE_ASSOC,
_SC_LEVEL4_CACHE_LINESIZE,
_SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
_SC_RAW_SOCKETS,
_SC_V7_ILP32_OFF32,
_SC_V7_ILP32_OFFBIG,
_SC_V7_LP64_OFF64,
_SC_V7_LPBIG_OFFBIG,
_SC_SS_REPL_MAX,
_SC_TRACE_EVENT_NAME_MAX,
_SC_TRACE_NAME_MAX,
_SC_TRACE_SYS_MAX,
_SC_TRACE_USER_EVENT_MAX,
_SC_XOPEN_STREAMS,
_SC_THREAD_ROBUST_PRIO_INHERIT,
_SC_THREAD_ROBUST_PRIO_PROTECT,
_SC_MINSIGSTKSZ,
_SC_SIGSTKSZ
};
enum
{
_CS_PATH,
_CS_V6_WIDTH_RESTRICTED_ENVS,
_CS_GNU_LIBC_VERSION,
_CS_GNU_LIBPTHREAD_VERSION,
_CS_V5_WIDTH_RESTRICTED_ENVS,
_CS_V7_WIDTH_RESTRICTED_ENVS,
_CS_LFS_CFLAGS = 1000,
_CS_LFS_LDFLAGS,
_CS_LFS_LIBS,
_CS_LFS_LINTFLAGS,
_CS_LFS64_CFLAGS,
_CS_LFS64_LDFLAGS,
_CS_LFS64_LIBS,
_CS_LFS64_LINTFLAGS,
_CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
_CS_XBS5_ILP32_OFF32_LDFLAGS,
_CS_XBS5_ILP32_OFF32_LIBS,
_CS_XBS5_ILP32_OFF32_LINTFLAGS,
_CS_XBS5_ILP32_OFFBIG_CFLAGS,
_CS_XBS5_ILP32_OFFBIG_LDFLAGS,
_CS_XBS5_ILP32_OFFBIG_LIBS,
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
_CS_XBS5_LP64_OFF64_CFLAGS,
_CS_XBS5_LP64_OFF64_LDFLAGS,
_CS_XBS5_LP64_OFF64_LIBS,
_CS_XBS5_LP64_OFF64_LINTFLAGS,
_CS_XBS5_LPBIG_OFFBIG_CFLAGS,
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
_CS_XBS5_LPBIG_OFFBIG_LIBS,
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
_CS_POSIX_V6_ILP32_OFF32_CFLAGS,
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
_CS_POSIX_V6_ILP32_OFF32_LIBS,
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
_CS_POSIX_V6_ILP32_OFFBIG_LIBS,
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
_CS_POSIX_V6_LP64_OFF64_CFLAGS,
_CS_POSIX_V6_LP64_OFF64_LDFLAGS,
_CS_POSIX_V6_LP64_OFF64_LIBS,
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
_CS_POSIX_V7_ILP32_OFF32_CFLAGS,
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
_CS_POSIX_V7_ILP32_OFF32_LIBS,
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
_CS_POSIX_V7_ILP32_OFFBIG_LIBS,
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
_CS_POSIX_V7_LP64_OFF64_CFLAGS,
_CS_POSIX_V7_LP64_OFF64_LDFLAGS,
_CS_POSIX_V7_LP64_OFF64_LIBS,
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
_CS_V6_ENV,
_CS_V7_ENV
};
# 631 "/usr/include/unistd.h" 2 3 4
extern long int pathconf (const char *__path, int __name)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ ));
extern long int sysconf (int __name) __attribute__ ((__nothrow__ ));
extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ ))
;
extern __pid_t getpid (void) __attribute__ ((__nothrow__ ));
extern __pid_t getppid (void) __attribute__ ((__nothrow__ ));
extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ ));
extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ ));
# 668 "/usr/include/unistd.h" 3 4
extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ ));
# 689 "/usr/include/unistd.h" 3 4
extern __pid_t setsid (void) __attribute__ ((__nothrow__ ));
extern __uid_t getuid (void) __attribute__ ((__nothrow__ ));
extern __uid_t geteuid (void) __attribute__ ((__nothrow__ ));
extern __gid_t getgid (void) __attribute__ ((__nothrow__ ));
extern __gid_t getegid (void) __attribute__ ((__nothrow__ ));
extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ ))
;
# 722 "/usr/include/unistd.h" 3 4
extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ )) ;
# 739 "/usr/include/unistd.h" 3 4
extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ )) ;
# 778 "/usr/include/unistd.h" 3 4
extern __pid_t fork (void) __attribute__ ((__nothrow__));
# 799 "/usr/include/unistd.h" 3 4
extern char *ttyname (int __fd) __attribute__ ((__nothrow__ ));
extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2)))
;
extern int isatty (int __fd) __attribute__ ((__nothrow__ ));
# 819 "/usr/include/unistd.h" 3 4
extern int link (const char *__from, const char *__to)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2))) ;
# 858 "/usr/include/unistd.h" 3 4
extern int unlink (const char *__name) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
# 867 "/usr/include/unistd.h" 3 4
extern int rmdir (const char *__path) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ ));
extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ ));
extern char *getlogin (void);
extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)))
;
# 903 "/usr/include/unistd.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/getopt_posix.h" 1 3 4
# 27 "/usr/include/x86_64-linux-gnu/bits/getopt_posix.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/getopt_core.h" 1 3 4
# 36 "/usr/include/x86_64-linux-gnu/bits/getopt_core.h" 3 4
extern char *optarg;
# 50 "/usr/include/x86_64-linux-gnu/bits/getopt_core.h" 3 4
extern int optind;
extern int opterr;
extern int optopt;
# 91 "/usr/include/x86_64-linux-gnu/bits/getopt_core.h" 3 4
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2, 3)));
# 28 "/usr/include/x86_64-linux-gnu/bits/getopt_posix.h" 2 3 4
# 38 "/usr/include/x86_64-linux-gnu/bits/getopt_posix.h" 3 4
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __asm__ ("" "__posix_getopt") __attribute__ ((__nothrow__ ));
# 904 "/usr/include/unistd.h" 2 3 4
# 989 "/usr/include/unistd.h" 3 4
extern int fsync (int __fd);
# 1049 "/usr/include/unistd.h" 3 4
extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__ )) ;
# 1150 "/usr/include/unistd.h" 3 4
extern int fdatasync (int __fildes);
# 1218 "/usr/include/unistd.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/unistd_ext.h" 1 3 4
# 1219 "/usr/include/unistd.h" 2 3 4
# 43 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/include/fcntl.h" 1 3 4
# 35 "/usr/include/fcntl.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/fcntl.h" 1 3 4
# 35 "/usr/include/x86_64-linux-gnu/bits/fcntl.h" 3 4
struct flock
{
short int l_type;
short int l_whence;
__off_t l_start;
__off_t l_len;
__pid_t l_pid;
};
# 61 "/usr/include/x86_64-linux-gnu/bits/fcntl.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/fcntl-linux.h" 1 3 4
# 62 "/usr/include/x86_64-linux-gnu/bits/fcntl.h" 2 3 4
# 36 "/usr/include/fcntl.h" 2 3 4
# 149 "/usr/include/fcntl.h" 3 4
extern int fcntl (int __fd, int __cmd, ...);
# 181 "/usr/include/fcntl.h" 3 4
extern int open (const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1)));
# 227 "/usr/include/fcntl.h" 3 4
extern int creat (const char *__file, mode_t __mode) __attribute__ ((__nonnull__ (1)));
# 45 "/usr/local/include/dispatch/dispatch.h" 2 3
# 64 "/usr/local/include/dispatch/dispatch.h" 3
# 1 "/usr/local/include/os/object.h" 1 3
# 240 "/usr/local/include/os/object.h" 3
__attribute__((__availability__(swift, unavailable, message="Can't be used with ARC")))
void*
os_retain(void *object);
# 263 "/usr/local/include/os/object.h" 3
void __attribute__((__availability__(swift, unavailable, message="Can't be used with ARC")))
os_release(void *object);
# 65 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/base.h" 1 3
# 324 "/usr/local/include/dispatch/base.h" 3
typedef void (*dispatch_function_t)(void *_Nullable);
# 66 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/time.h" 1 3
# 36 "/usr/local/include/dispatch/time.h" 3
#pragma clang assume_nonnull begin
# 57 "/usr/local/include/dispatch/time.h" 3
struct timespec;
# 67 "/usr/local/include/dispatch/time.h" 3
typedef uint64_t dispatch_time_t;
enum {
DISPATCH_WALLTIME_NOW = ~1ull,
};
# 101 "/usr/local/include/dispatch/time.h" 3
extern __attribute__((visibility("default"))) __attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_time_t
dispatch_time(dispatch_time_t when, int64_t delta);
# 127 "/usr/local/include/dispatch/time.h" 3
extern __attribute__((visibility("default"))) __attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_time_t
dispatch_walltime(const struct timespec *_Nullable when, int64_t delta);
# 129 "/usr/local/include/dispatch/time.h" 3
#pragma clang assume_nonnull end
# 67 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/object.h" 1 3
# 29 "/usr/local/include/dispatch/object.h" 3
#pragma clang assume_nonnull begin
# 91 "/usr/local/include/dispatch/object.h" 3
typedef union {
struct _os_object_s *_os_obj;
struct dispatch_object_s *_do;
struct dispatch_queue_s *_dq;
struct dispatch_queue_attr_s *_dqa;
struct dispatch_group_s *_dg;
struct dispatch_source_s *_ds;
struct dispatch_mach_s *_dm;
struct dispatch_mach_msg_s *_dmsg;
struct dispatch_semaphore_s *_dsema;
struct dispatch_data_s *_ddata;
struct dispatch_io_s *_dchannel;
} dispatch_object_t __attribute__((__transparent_union__));
# 176 "/usr/local/include/dispatch/object.h" 3
typedef void (^dispatch_block_t)(void);
# 196 "/usr/local/include/dispatch/object.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
__attribute__((__availability__(swift, unavailable, message="Can't be used with ARC")))
void
dispatch_retain(dispatch_object_t object);
# 224 "/usr/local/include/dispatch/object.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
__attribute__((__availability__(swift, unavailable, message="Can't be used with ARC")))
void
dispatch_release(dispatch_object_t object);
# 248 "/usr/local/include/dispatch/object.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__pure__)) __attribute__((__warn_unused_result__))
__attribute__((__nothrow__))
void *_Nullable
dispatch_get_context(dispatch_object_t object);
# 267 "/usr/local/include/dispatch/object.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nothrow__))
void
dispatch_set_context(dispatch_object_t object, void *_Nullable context);
# 293 "/usr/local/include/dispatch/object.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nothrow__))
void
dispatch_set_finalizer_f(dispatch_object_t object,
dispatch_function_t _Nullable finalizer);
# 321 "/usr/local/include/dispatch/object.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_activate(dispatch_object_t object);
# 344 "/usr/local/include/dispatch/object.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_suspend(dispatch_object_t object);
# 373 "/usr/local/include/dispatch/object.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_resume(dispatch_object_t object);
# 401 "/usr/local/include/dispatch/object.h" 3
__attribute__((__unavailable__))
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
intptr_t
dispatch_wait(void *object, dispatch_time_t timeout);
# 438 "/usr/local/include/dispatch/object.h" 3
__attribute__((__unavailable__))
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_notify(void *object, dispatch_object_t queue,
dispatch_block_t notification_block);
# 467 "/usr/local/include/dispatch/object.h" 3
__attribute__((__unavailable__))
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_cancel(void *object);
# 498 "/usr/local/include/dispatch/object.h" 3
__attribute__((__unavailable__))
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__warn_unused_result__)) __attribute__((__pure__))
__attribute__((__nothrow__))
intptr_t
dispatch_testcancel(void *object);
# 535 "/usr/local/include/dispatch/object.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(2))) __attribute__((__nothrow__)) __attribute__((__cold__))
__attribute__((__format__(printf,2,3)))
void
dispatch_debug(dispatch_object_t object, const char *message, ...);
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(2))) __attribute__((__nothrow__)) __attribute__((__cold__))
__attribute__((__format__(printf,2,0)))
void
dispatch_debugv(dispatch_object_t object, const char *message, va_list ap);
# 544 "/usr/local/include/dispatch/object.h" 3
#pragma clang assume_nonnull end
# 68 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/queue.h" 1 3
# 33 "/usr/local/include/dispatch/queue.h" 3
#pragma clang assume_nonnull begin
# 73 "/usr/local/include/dispatch/queue.h" 3
typedef struct dispatch_queue_s *dispatch_queue_t;
# 108 "/usr/local/include/dispatch/queue.h" 3
typedef dispatch_queue_t dispatch_queue_global_t;
# 138 "/usr/local/include/dispatch/queue.h" 3
typedef dispatch_queue_t dispatch_queue_serial_t;
# 164 "/usr/local/include/dispatch/queue.h" 3
typedef dispatch_queue_serial_t dispatch_queue_main_t;
# 198 "/usr/local/include/dispatch/queue.h" 3
typedef dispatch_queue_t dispatch_queue_concurrent_t;
# 233 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
# 263 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(3))) __attribute__((__nothrow__))
void
dispatch_async_f(dispatch_queue_t queue,
void *_Nullable context, dispatch_function_t work);
# 306 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_sync(dispatch_queue_t queue, __attribute__((__noescape__)) dispatch_block_t block);
# 334 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(3))) __attribute__((__nothrow__))
void
dispatch_sync_f(dispatch_queue_t queue,
void *_Nullable context, dispatch_function_t work);
# 403 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(3))) __attribute__((__nothrow__))
void
dispatch_apply(size_t iterations,
dispatch_queue_t _Nullable queue,
__attribute__((__noescape__)) void (^block)(size_t));
# 438 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(4))) __attribute__((__nothrow__))
void
dispatch_apply_f(size_t iterations,
dispatch_queue_t _Nullable queue,
void *_Nullable context, void (*work)(void *_Nullable, size_t));
# 474 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__pure__)) __attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_queue_t
dispatch_get_current_queue(void);
extern __attribute__((visibility("default")))
struct dispatch_queue_s _dispatch_main_q;
# 510 "/usr/local/include/dispatch/queue.h" 3
static __inline__ __attribute__((__always_inline__)) __attribute__((__const__)) __attribute__((__nothrow__))
dispatch_queue_main_t
dispatch_get_main_queue(void)
{
return ((dispatch_queue_main_t)&(_dispatch_main_q));
}
# 550 "/usr/local/include/dispatch/queue.h" 3
typedef long dispatch_queue_priority_t;
# 559 "/usr/local/include/dispatch/queue.h" 3
typedef unsigned int dispatch_qos_class_t;
# 600 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__const__)) __attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_queue_global_t
dispatch_get_global_queue(intptr_t identifier, uintptr_t flags);
typedef struct dispatch_queue_attr_s *dispatch_queue_attr_t;
# 649 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default")))
struct dispatch_queue_attr_s _dispatch_queue_attr_concurrent;
# 695 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__warn_unused_result__)) __attribute__((__pure__)) __attribute__((__nothrow__))
dispatch_queue_attr_t
dispatch_queue_attr_make_initially_inactive(
dispatch_queue_attr_t _Nullable attr);
# 750 "/usr/local/include/dispatch/queue.h" 3
typedef enum : unsigned long { DISPATCH_AUTORELEASE_FREQUENCY_INHERIT = 0, DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM = 1, DISPATCH_AUTORELEASE_FREQUENCY_NEVER = 2, } dispatch_autorelease_frequency_t;
# 794 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__warn_unused_result__)) __attribute__((__pure__)) __attribute__((__nothrow__))
dispatch_queue_attr_t
dispatch_queue_attr_make_with_autorelease_frequency(
dispatch_queue_attr_t _Nullable attr,
dispatch_autorelease_frequency_t frequency);
# 858 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__warn_unused_result__)) __attribute__((__pure__)) __attribute__((__nothrow__))
dispatch_queue_attr_t
dispatch_queue_attr_make_with_qos_class(dispatch_queue_attr_t _Nullable attr,
dispatch_qos_class_t qos_class, int relative_priority);
# 923 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__malloc__)) __attribute__((__warn_unused_result__))
__attribute__((__nothrow__))
dispatch_queue_t
dispatch_queue_create_with_target(const char *_Nullable label,
dispatch_queue_attr_t _Nullable attr, dispatch_queue_t _Nullable target)
;
# 974 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__malloc__)) __attribute__((__warn_unused_result__))
__attribute__((__nothrow__))
dispatch_queue_t
dispatch_queue_create(const char *_Nullable label,
dispatch_queue_attr_t _Nullable attr);
# 1004 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__pure__)) __attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
const char *
dispatch_queue_get_label(dispatch_queue_t _Nullable queue);
# 1043 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__warn_unused_result__)) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
dispatch_qos_class_t
dispatch_queue_get_qos_class(dispatch_queue_t queue,
int *_Nullable relative_priority_ptr);
# 1108 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nothrow__))
void
dispatch_set_target_queue(dispatch_object_t object,
dispatch_queue_t _Nullable queue);
# 1127 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nothrow__)) __attribute__((__noreturn__))
void
dispatch_main(void);
# 1155 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(2))) __attribute__((__nonnull__(3))) __attribute__((__nothrow__))
void
dispatch_after(dispatch_time_t when, dispatch_queue_t queue,
dispatch_block_t block);
# 1187 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(2))) __attribute__((__nonnull__(4))) __attribute__((__nothrow__))
void
dispatch_after_f(dispatch_time_t when, dispatch_queue_t queue,
void *_Nullable context, dispatch_function_t work);
# 1232 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_barrier_async(dispatch_queue_t queue, dispatch_block_t block);
# 1266 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(3))) __attribute__((__nothrow__))
void
dispatch_barrier_async_f(dispatch_queue_t queue,
void *_Nullable context, dispatch_function_t work);
# 1293 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_barrier_sync(dispatch_queue_t queue,
__attribute__((__noescape__)) dispatch_block_t block);
# 1325 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(3))) __attribute__((__nothrow__))
void
dispatch_barrier_sync_f(dispatch_queue_t queue,
void *_Nullable context, dispatch_function_t work);
# 1367 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_queue_set_specific(dispatch_queue_t queue, const void *key,
void *_Nullable context, dispatch_function_t _Nullable destructor);
# 1396 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__pure__)) __attribute__((__warn_unused_result__))
__attribute__((__nothrow__))
void *_Nullable
dispatch_queue_get_specific(dispatch_queue_t queue, const void *key);
# 1423 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__pure__)) __attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
void *_Nullable
dispatch_get_specific(const void *key);
# 1477 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1)))
void
dispatch_assert_queue(dispatch_queue_t queue)
;
# 1503 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1)))
void
dispatch_assert_queue_barrier(dispatch_queue_t queue);
# 1526 "/usr/local/include/dispatch/queue.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1)))
void
dispatch_assert_queue_not(dispatch_queue_t queue)
;
# 1529 "/usr/local/include/dispatch/queue.h" 3
#pragma clang assume_nonnull end
# 69 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/block.h" 1 3
# 35 "/usr/local/include/dispatch/block.h" 3
#pragma clang assume_nonnull begin
# 103 "/usr/local/include/dispatch/block.h" 3
typedef enum : unsigned long { DISPATCH_BLOCK_BARRIER = 0x1, DISPATCH_BLOCK_DETACHED = 0x2, DISPATCH_BLOCK_ASSIGN_CURRENT = 0x4, DISPATCH_BLOCK_NO_QOS_CLASS = 0x8, DISPATCH_BLOCK_INHERIT_QOS_CLASS = 0x10, DISPATCH_BLOCK_ENFORCE_QOS_CLASS = 0x20, } dispatch_block_flags_t;
# 169 "/usr/local/include/dispatch/block.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(2))) __attribute__((__ns_returns_retained__))
__attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_block_t
dispatch_block_create(dispatch_block_flags_t flags, dispatch_block_t block);
# 241 "/usr/local/include/dispatch/block.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(4))) __attribute__((__ns_returns_retained__))
__attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_block_t
dispatch_block_create_with_qos_class(dispatch_block_flags_t flags,
dispatch_qos_class_t qos_class, int relative_priority,
dispatch_block_t block);
# 274 "/usr/local/include/dispatch/block.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(2))) __attribute__((__nothrow__))
void
dispatch_block_perform(dispatch_block_flags_t flags,
__attribute__((__noescape__)) dispatch_block_t block);
# 325 "/usr/local/include/dispatch/block.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
intptr_t
dispatch_block_wait(dispatch_block_t block, dispatch_time_t timeout);
# 366 "/usr/local/include/dispatch/block.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_block_notify(dispatch_block_t block, dispatch_queue_t queue,
dispatch_block_t notification_block);
# 398 "/usr/local/include/dispatch/block.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_block_cancel(dispatch_block_t block);
# 417 "/usr/local/include/dispatch/block.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__warn_unused_result__)) __attribute__((__pure__))
__attribute__((__nothrow__))
intptr_t
dispatch_block_testcancel(dispatch_block_t block);
# 420 "/usr/local/include/dispatch/block.h" 3
#pragma clang assume_nonnull end
# 70 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/source.h" 1 3
# 38 "/usr/local/include/dispatch/source.h" 3
#pragma clang assume_nonnull begin
# 57 "/usr/local/include/dispatch/source.h" 3
typedef struct dispatch_source_s *dispatch_source_t;
# 72 "/usr/local/include/dispatch/source.h" 3
typedef const struct dispatch_source_type_s *dispatch_source_type_t;
# 83 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_data_add;
# 94 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_data_or;
# 109 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_data_replace;
# 119 "/usr/local/include/dispatch/source.h" 3
__attribute__((__unavailable__("This interface is unavailable on linux systems")))
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_mach_send;
# 129 "/usr/local/include/dispatch/source.h" 3
__attribute__((__unavailable__("This interface is unavailable on linux systems")))
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_mach_recv;
# 142 "/usr/local/include/dispatch/source.h" 3
__attribute__((__unavailable__("This interface is unavailable on linux systems")))
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_memorypressure;
# 153 "/usr/local/include/dispatch/source.h" 3
__attribute__((__unavailable__("This interface is unavailable on linux systems")))
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_proc;
# 165 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_read;
# 175 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_signal;
# 186 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_timer;
# 196 "/usr/local/include/dispatch/source.h" 3
__attribute__((__unavailable__("This interface is unavailable on linux systems")))
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_vnode;
# 208 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) const struct dispatch_source_type_s _dispatch_source_type_write;
# 219 "/usr/local/include/dispatch/source.h" 3
typedef unsigned long dispatch_source_mach_send_flags_t;
# 249 "/usr/local/include/dispatch/source.h" 3
typedef unsigned long dispatch_source_memorypressure_flags_t;
# 273 "/usr/local/include/dispatch/source.h" 3
typedef unsigned long dispatch_source_proc_flags_t;
# 313 "/usr/local/include/dispatch/source.h" 3
typedef unsigned long dispatch_source_vnode_flags_t;
# 333 "/usr/local/include/dispatch/source.h" 3
typedef unsigned long dispatch_source_timer_flags_t;
# 380 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__malloc__)) __attribute__((__warn_unused_result__))
__attribute__((__nothrow__))
dispatch_source_t
dispatch_source_create(dispatch_source_type_t type,
uintptr_t handle,
uintptr_t mask,
dispatch_queue_t _Nullable queue);
# 403 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_source_set_event_handler(dispatch_source_t source,
dispatch_block_t _Nullable handler);
# 425 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_source_set_event_handler_f(dispatch_source_t source,
dispatch_function_t _Nullable handler);
# 460 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_source_set_cancel_handler(dispatch_source_t source,
dispatch_block_t _Nullable handler);
# 485 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_source_set_cancel_handler_f(dispatch_source_t source,
dispatch_function_t _Nullable handler);
# 513 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_source_cancel(dispatch_source_t source);
# 531 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__warn_unused_result__)) __attribute__((__pure__))
__attribute__((__nothrow__))
intptr_t
dispatch_source_testcancel(dispatch_source_t source);
# 563 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__warn_unused_result__)) __attribute__((__pure__))
__attribute__((__nothrow__))
uintptr_t
dispatch_source_get_handle(dispatch_source_t source);
# 595 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__warn_unused_result__)) __attribute__((__pure__))
__attribute__((__nothrow__))
uintptr_t
dispatch_source_get_mask(dispatch_source_t source);
# 634 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__warn_unused_result__)) __attribute__((__pure__))
__attribute__((__nothrow__))
uintptr_t
dispatch_source_get_data(dispatch_source_t source);
# 656 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_source_merge_data(dispatch_source_t source, uintptr_t value);
# 709 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_source_set_timer(dispatch_source_t source,
dispatch_time_t start,
uint64_t interval,
uint64_t leeway);
# 739 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_source_set_registration_handler(dispatch_source_t source,
dispatch_block_t _Nullable handler);
# 764 "/usr/local/include/dispatch/source.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_source_set_registration_handler_f(dispatch_source_t source,
dispatch_function_t _Nullable handler);
# 767 "/usr/local/include/dispatch/source.h" 3
#pragma clang assume_nonnull end
# 71 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/group.h" 1 3
# 29 "/usr/local/include/dispatch/group.h" 3
#pragma clang assume_nonnull begin
typedef struct dispatch_group_s *dispatch_group_t;
# 55 "/usr/local/include/dispatch/group.h" 3
extern __attribute__((visibility("default"))) __attribute__((__malloc__)) __attribute__((__warn_unused_result__))
__attribute__((__nothrow__))
dispatch_group_t
dispatch_group_create(void);
# 85 "/usr/local/include/dispatch/group.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_group_async(dispatch_group_t group,
dispatch_queue_t queue,
dispatch_block_t block);
# 119 "/usr/local/include/dispatch/group.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(2))) __attribute__((__nonnull__(4)))
__attribute__((__nothrow__))
void
dispatch_group_async_f(dispatch_group_t group,
dispatch_queue_t queue,
void *_Nullable context,
dispatch_function_t work);
# 162 "/usr/local/include/dispatch/group.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
intptr_t
dispatch_group_wait(dispatch_group_t group, dispatch_time_t timeout);
# 198 "/usr/local/include/dispatch/group.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_group_notify(dispatch_group_t group,
dispatch_queue_t queue,
dispatch_block_t block);
# 228 "/usr/local/include/dispatch/group.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(2))) __attribute__((__nonnull__(4)))
__attribute__((__nothrow__))
void
dispatch_group_notify_f(dispatch_group_t group,
dispatch_queue_t queue,
void *_Nullable context,
dispatch_function_t work);
# 252 "/usr/local/include/dispatch/group.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_group_enter(dispatch_group_t group);
# 271 "/usr/local/include/dispatch/group.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_group_leave(dispatch_group_t group);
# 273 "/usr/local/include/dispatch/group.h" 3
#pragma clang assume_nonnull end
# 72 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/semaphore.h" 1 3
# 29 "/usr/local/include/dispatch/semaphore.h" 3
#pragma clang assume_nonnull begin
typedef struct dispatch_semaphore_s *dispatch_semaphore_t;
# 61 "/usr/local/include/dispatch/semaphore.h" 3
extern __attribute__((visibility("default"))) __attribute__((__malloc__)) __attribute__((__warn_unused_result__))
__attribute__((__nothrow__))
dispatch_semaphore_t
dispatch_semaphore_create(intptr_t value);
# 87 "/usr/local/include/dispatch/semaphore.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
intptr_t
dispatch_semaphore_wait(dispatch_semaphore_t dsema, dispatch_time_t timeout);
# 109 "/usr/local/include/dispatch/semaphore.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
intptr_t
dispatch_semaphore_signal(dispatch_semaphore_t dsema);
# 111 "/usr/local/include/dispatch/semaphore.h" 3
#pragma clang assume_nonnull end
# 73 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/once.h" 1 3
# 29 "/usr/local/include/dispatch/once.h" 3
#pragma clang assume_nonnull begin
# 41 "/usr/local/include/dispatch/once.h" 3
typedef intptr_t dispatch_once_t;
# 70 "/usr/local/include/dispatch/once.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_once(dispatch_once_t *predicate,
__attribute__((__noescape__)) dispatch_block_t block);
static __inline__ __attribute__((__always_inline__)) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
_dispatch_once(dispatch_once_t *predicate,
__attribute__((__noescape__)) dispatch_block_t block)
{
if (__builtin_expect((*predicate), (~0l)) != ~0l) {
dispatch_once(predicate, block);
} else {
__asm__ __volatile__("" ::: "memory");
}
__builtin_assume(*predicate == ~0l);
}
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(3))) __attribute__((__nothrow__))
void
dispatch_once_f(dispatch_once_t *predicate, void *_Nullable context,
dispatch_function_t function);
static __inline__ __attribute__((__always_inline__)) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(3)))
__attribute__((__nothrow__))
void
_dispatch_once_f(dispatch_once_t *predicate, void *_Nullable context,
dispatch_function_t function)
{
if (__builtin_expect((*predicate), (~0l)) != ~0l) {
dispatch_once_f(predicate, context, function);
} else {
__asm__ __volatile__("" ::: "memory");
}
__builtin_assume(*predicate == ~0l);
}
# 116 "/usr/local/include/dispatch/once.h" 3
#pragma clang assume_nonnull end
# 74 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/data.h" 1 3
# 29 "/usr/local/include/dispatch/data.h" 3
#pragma clang assume_nonnull begin
# 44 "/usr/local/include/dispatch/data.h" 3
typedef struct dispatch_data_s *dispatch_data_t;
# 54 "/usr/local/include/dispatch/data.h" 3
extern __attribute__((visibility("default"))) struct dispatch_data_s _dispatch_data_empty;
# 82 "/usr/local/include/dispatch/data.h" 3
extern __attribute__((visibility("default"))) const dispatch_block_t _dispatch_data_destructor_free;
# 91 "/usr/local/include/dispatch/data.h" 3
extern __attribute__((visibility("default"))) const dispatch_block_t _dispatch_data_destructor_munmap;
# 116 "/usr/local/include/dispatch/data.h" 3
extern __attribute__((visibility("default"))) __attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_data_t
dispatch_data_create(const void *buffer,
size_t size,
dispatch_queue_t _Nullable queue,
dispatch_block_t _Nullable destructor);
# 133 "/usr/local/include/dispatch/data.h" 3
extern __attribute__((visibility("default"))) __attribute__((__pure__)) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
size_t
dispatch_data_get_size(dispatch_data_t data);
# 157 "/usr/local/include/dispatch/data.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1)))
__attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_data_t
dispatch_data_create_map(dispatch_data_t data,
const void *_Nullable *_Nullable buffer_ptr,
size_t *_Nullable size_ptr);
# 180 "/usr/local/include/dispatch/data.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__))
__attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_data_t
dispatch_data_create_concat(dispatch_data_t data1, dispatch_data_t data2);
# 201 "/usr/local/include/dispatch/data.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1)))
__attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_data_t
dispatch_data_create_subrange(dispatch_data_t data,
size_t offset,
size_t length);
# 220 "/usr/local/include/dispatch/data.h" 3
typedef _Bool (^dispatch_data_applier_t)(dispatch_data_t region,
size_t offset,
const void *buffer,
size_t size);
# 246 "/usr/local/include/dispatch/data.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
_Bool
dispatch_data_apply(dispatch_data_t data,
__attribute__((__noescape__)) dispatch_data_applier_t applier);
# 267 "/usr/local/include/dispatch/data.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(3)))
__attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_data_t
dispatch_data_copy_region(dispatch_data_t data,
size_t location,
size_t *offset_ptr);
# 272 "/usr/local/include/dispatch/data.h" 3
#pragma clang assume_nonnull end
# 75 "/usr/local/include/dispatch/dispatch.h" 2 3
# 1 "/usr/local/include/dispatch/io.h" 1 3
# 29 "/usr/local/include/dispatch/io.h" 3
#pragma clang assume_nonnull begin
# 56 "/usr/local/include/dispatch/io.h" 3
typedef int dispatch_fd_t;
# 110 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(3))) __attribute__((__nonnull__(4))) __attribute__((__nothrow__))
void
dispatch_read(dispatch_fd_t fd,
size_t length,
dispatch_queue_t queue,
void (^handler)(dispatch_data_t data, int error));
# 148 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(2))) __attribute__((__nonnull__(3))) __attribute__((__nonnull__(4)))
__attribute__((__nothrow__))
void
dispatch_write(dispatch_fd_t fd,
dispatch_data_t data,
dispatch_queue_t queue,
void (^handler)(dispatch_data_t _Nullable data, int error));
# 167 "/usr/local/include/dispatch/io.h" 3
typedef struct dispatch_io_s *dispatch_io_t;
# 190 "/usr/local/include/dispatch/io.h" 3
typedef unsigned long dispatch_io_type_t;
# 219 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__malloc__)) __attribute__((__warn_unused_result__))
__attribute__((__nothrow__))
dispatch_io_t
dispatch_io_create(dispatch_io_type_t type,
dispatch_fd_t fd,
dispatch_queue_t queue,
void (^cleanup_handler)(int error));
# 255 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(2))) __attribute__((__malloc__))
__attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_io_t
dispatch_io_create_with_path(dispatch_io_type_t type,
const char *path, int oflag, mode_t mode,
dispatch_queue_t queue,
void (^cleanup_handler)(int error));
# 295 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(2))) __attribute__((__malloc__))
__attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_io_t
dispatch_io_create_with_io(dispatch_io_type_t type,
dispatch_io_t io,
dispatch_queue_t queue,
void (^cleanup_handler)(int error));
# 311 "/usr/local/include/dispatch/io.h" 3
typedef void (^dispatch_io_handler_t)(_Bool done, dispatch_data_t _Nullable data,
int error);
# 357 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(4))) __attribute__((__nonnull__(5)))
__attribute__((__nothrow__))
void
dispatch_io_read(dispatch_io_t channel,
off_t offset,
size_t length,
dispatch_queue_t queue,
dispatch_io_handler_t io_handler);
# 410 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nonnull__(3))) __attribute__((__nonnull__(4)))
__attribute__((__nonnull__(5))) __attribute__((__nothrow__))
void
dispatch_io_write(dispatch_io_t channel,
off_t offset,
dispatch_data_t data,
dispatch_queue_t queue,
dispatch_io_handler_t io_handler);
# 429 "/usr/local/include/dispatch/io.h" 3
typedef unsigned long dispatch_io_close_flags_t;
# 449 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_io_close(dispatch_io_t channel, dispatch_io_close_flags_t flags);
# 476 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__nothrow__))
void
dispatch_io_barrier(dispatch_io_t channel, dispatch_block_t barrier);
# 496 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__)) __attribute__((__warn_unused_result__)) __attribute__((__nothrow__))
dispatch_fd_t
dispatch_io_get_descriptor(dispatch_io_t channel);
# 517 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_io_set_high_water(dispatch_io_t channel, size_t high_water);
# 548 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_io_set_low_water(dispatch_io_t channel, size_t low_water);
# 562 "/usr/local/include/dispatch/io.h" 3
typedef unsigned long dispatch_io_interval_flags_t;
# 587 "/usr/local/include/dispatch/io.h" 3
extern __attribute__((visibility("default"))) __attribute__((__nonnull__(1))) __attribute__((__nothrow__))
void
dispatch_io_set_interval(dispatch_io_t channel,
uint64_t interval,
dispatch_io_interval_flags_t flags);
# 591 "/usr/local/include/dispatch/io.h" 3
#pragma clang assume_nonnull end
# 76 "/usr/local/include/dispatch/dispatch.h" 2 3
# 21 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h" 2
typedef struct {
CFIndex domain;
SInt32 error;
} CFStreamError;
typedef CFStringRef CFStreamPropertyKey __attribute__((swift_wrapper(struct)));
typedef enum __attribute__((enum_extensibility(open))) CFStreamStatus : CFIndex CFStreamStatus; enum CFStreamStatus : CFIndex {
kCFStreamStatusNotOpen = 0,
kCFStreamStatusOpening,
kCFStreamStatusOpen,
kCFStreamStatusReading,
kCFStreamStatusWriting,
kCFStreamStatusAtEnd,
kCFStreamStatusClosed,
kCFStreamStatusError
};
typedef enum __attribute__((flag_enum,enum_extensibility(open))) CFStreamEventType : CFOptionFlags CFStreamEventType; enum CFStreamEventType : CFOptionFlags {
kCFStreamEventNone = 0,
kCFStreamEventOpenCompleted = 1,
kCFStreamEventHasBytesAvailable = 2,
kCFStreamEventCanAcceptBytes = 4,
kCFStreamEventErrorOccurred = 8,
kCFStreamEventEndEncountered = 16
};
typedef struct {
CFIndex version;
void * _Null_unspecified info;
void *_Null_unspecified(* _Null_unspecified retain)(void * _Null_unspecified info);
void (* _Null_unspecified release)(void * _Null_unspecified info);
CFStringRef _Null_unspecified (* _Null_unspecified copyDescription)(void * _Null_unspecified info);
} CFStreamClientContext;
typedef struct __attribute__((objc_bridge_mutable(NSInputStream))) __CFReadStream * CFReadStreamRef;
typedef struct __attribute__((objc_bridge_mutable(NSOutputStream))) __CFWriteStream * CFWriteStreamRef;
typedef void (*CFReadStreamClientCallBack)(CFReadStreamRef _Null_unspecified stream, CFStreamEventType type, void * _Null_unspecified clientCallBackInfo);
typedef void (*CFWriteStreamClientCallBack)(CFWriteStreamRef _Null_unspecified stream, CFStreamEventType type, void * _Null_unspecified clientCallBackInfo);
extern
CFTypeID CFReadStreamGetTypeID(void);
extern
CFTypeID CFWriteStreamGetTypeID(void);
extern
const CFStreamPropertyKey _Null_unspecified kCFStreamPropertyDataWritten;
extern
CFReadStreamRef _Null_unspecified CFReadStreamCreateWithBytesNoCopy(CFAllocatorRef _Null_unspecified alloc, const UInt8 * _Null_unspecified bytes, CFIndex length, CFAllocatorRef _Null_unspecified bytesDeallocator);
extern
CFWriteStreamRef _Null_unspecified CFWriteStreamCreateWithBuffer(CFAllocatorRef _Null_unspecified alloc, UInt8 * _Null_unspecified buffer, CFIndex bufferCapacity);
extern
CFWriteStreamRef _Null_unspecified CFWriteStreamCreateWithAllocatedBuffers(CFAllocatorRef _Null_unspecified alloc, CFAllocatorRef _Null_unspecified bufferAllocator);
extern
CFReadStreamRef _Null_unspecified CFReadStreamCreateWithFile(CFAllocatorRef _Null_unspecified alloc, CFURLRef _Null_unspecified fileURL);
extern
CFWriteStreamRef _Null_unspecified CFWriteStreamCreateWithFile(CFAllocatorRef _Null_unspecified alloc, CFURLRef _Null_unspecified fileURL);
extern
void CFStreamCreateBoundPair(CFAllocatorRef _Null_unspecified alloc, CFReadStreamRef _Null_unspecified * _Null_unspecified readStream, CFWriteStreamRef _Null_unspecified * _Null_unspecified writeStream, CFIndex transferBufferSize);
extern
const CFStreamPropertyKey _Null_unspecified kCFStreamPropertyAppendToFile;
extern
const CFStreamPropertyKey _Null_unspecified kCFStreamPropertyFileCurrentOffset;
extern
const CFStreamPropertyKey _Null_unspecified kCFStreamPropertySocketNativeHandle;
extern
const CFStreamPropertyKey _Null_unspecified kCFStreamPropertySocketRemoteHostName;
extern
const CFStreamPropertyKey _Null_unspecified kCFStreamPropertySocketRemotePortNumber;
extern const int kCFStreamErrorDomainSOCKS ;
# 143 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamPropertySOCKSProxy ;
# 155 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamPropertySOCKSProxyHost ;
# 168 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamPropertySOCKSProxyPort ;
# 181 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamPropertySOCKSVersion ;
# 191 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamSocketSOCKSVersion4 ;
# 201 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamSocketSOCKSVersion5 ;
# 215 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamPropertySOCKSUser ;
# 229 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamPropertySOCKSPassword ;
# 238 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const int kCFStreamErrorDomainSSL ;
# 252 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamPropertySocketSecurityLevel ;
# 262 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamSocketSecurityLevelNone ;
# 274 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamSocketSecurityLevelSSLv2 ;
# 286 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamSocketSecurityLevelSSLv3 ;
# 296 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamSocketSecurityLevelTLSv1 ;
# 307 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamSocketSecurityLevelNegotiatedSSL ;
# 325 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern const CFStringRef _Nonnull kCFStreamPropertyShouldCloseNativeSocket ;
extern
void CFStreamCreatePairWithSocket(CFAllocatorRef _Null_unspecified alloc, CFSocketNativeHandle sock, CFReadStreamRef _Null_unspecified * _Null_unspecified readStream, CFWriteStreamRef _Null_unspecified * _Null_unspecified writeStream);
extern
void CFStreamCreatePairWithSocketToHost(CFAllocatorRef _Null_unspecified alloc, CFStringRef _Null_unspecified host, UInt32 port, CFReadStreamRef _Null_unspecified * _Null_unspecified readStream, CFWriteStreamRef _Null_unspecified * _Null_unspecified writeStream);
extern
void CFStreamCreatePairWithPeerSocketSignature(CFAllocatorRef _Null_unspecified alloc, const CFSocketSignature * _Null_unspecified signature, CFReadStreamRef _Null_unspecified * _Null_unspecified readStream, CFWriteStreamRef _Null_unspecified * _Null_unspecified writeStream);
extern
CFStreamStatus CFReadStreamGetStatus(CFReadStreamRef _Null_unspecified stream);
extern
CFStreamStatus CFWriteStreamGetStatus(CFWriteStreamRef _Null_unspecified stream);
extern
CFErrorRef _Null_unspecified CFReadStreamCopyError(CFReadStreamRef _Null_unspecified stream) ;
extern
CFErrorRef _Null_unspecified CFWriteStreamCopyError(CFWriteStreamRef _Null_unspecified stream) ;
extern
Boolean CFReadStreamOpen(CFReadStreamRef _Null_unspecified stream);
extern
Boolean CFWriteStreamOpen(CFWriteStreamRef _Null_unspecified stream);
extern
void CFReadStreamClose(CFReadStreamRef _Null_unspecified stream);
extern
void CFWriteStreamClose(CFWriteStreamRef _Null_unspecified stream);
extern
Boolean CFReadStreamHasBytesAvailable(CFReadStreamRef _Null_unspecified stream);
# 380 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern
CFIndex CFReadStreamRead(CFReadStreamRef _Null_unspecified stream, UInt8 * _Null_unspecified buffer, CFIndex bufferLength);
# 392 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern
const UInt8 * _Null_unspecified CFReadStreamGetBuffer(CFReadStreamRef _Null_unspecified stream, CFIndex maxBytesToRead, CFIndex * _Null_unspecified numBytesRead);
extern
Boolean CFWriteStreamCanAcceptBytes(CFWriteStreamRef _Null_unspecified stream);
extern
CFIndex CFWriteStreamWrite(CFWriteStreamRef _Null_unspecified stream, const UInt8 * _Null_unspecified buffer, CFIndex bufferLength);
# 416 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern
CFTypeRef _Null_unspecified CFReadStreamCopyProperty(CFReadStreamRef _Null_unspecified stream, CFStreamPropertyKey _Null_unspecified propertyName);
extern
CFTypeRef _Null_unspecified CFWriteStreamCopyProperty(CFWriteStreamRef _Null_unspecified stream, CFStreamPropertyKey _Null_unspecified propertyName);
extern
Boolean CFReadStreamSetProperty(CFReadStreamRef _Null_unspecified stream, CFStreamPropertyKey _Null_unspecified propertyName, CFTypeRef _Null_unspecified propertyValue);
extern
Boolean CFWriteStreamSetProperty(CFWriteStreamRef _Null_unspecified stream, CFStreamPropertyKey _Null_unspecified propertyName, CFTypeRef _Null_unspecified propertyValue);
# 444 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern
Boolean CFReadStreamSetClient(CFReadStreamRef _Null_unspecified stream, CFOptionFlags streamEvents, CFReadStreamClientCallBack _Null_unspecified clientCB, CFStreamClientContext * _Null_unspecified clientContext);
extern
Boolean CFWriteStreamSetClient(CFWriteStreamRef _Null_unspecified stream, CFOptionFlags streamEvents, CFWriteStreamClientCallBack _Null_unspecified clientCB, CFStreamClientContext * _Null_unspecified clientContext);
extern
void CFReadStreamScheduleWithRunLoop(CFReadStreamRef _Null_unspecified stream, CFRunLoopRef _Null_unspecified runLoop, CFRunLoopMode _Null_unspecified runLoopMode);
extern
void CFWriteStreamScheduleWithRunLoop(CFWriteStreamRef _Null_unspecified stream, CFRunLoopRef _Null_unspecified runLoop, _Null_unspecified CFRunLoopMode runLoopMode);
extern
void CFReadStreamUnscheduleFromRunLoop(CFReadStreamRef _Null_unspecified stream, CFRunLoopRef _Null_unspecified runLoop, CFRunLoopMode _Null_unspecified runLoopMode);
extern
void CFWriteStreamUnscheduleFromRunLoop(CFWriteStreamRef _Null_unspecified stream, CFRunLoopRef _Null_unspecified runLoop, CFRunLoopMode _Null_unspecified runLoopMode);
# 467 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStream.h"
extern
void CFReadStreamSetDispatchQueue(CFReadStreamRef _Null_unspecified stream, dispatch_queue_t _Null_unspecified q) ;
extern
void CFWriteStreamSetDispatchQueue(CFWriteStreamRef _Null_unspecified stream, dispatch_queue_t _Null_unspecified q) ;
extern
dispatch_queue_t _Null_unspecified CFReadStreamCopyDispatchQueue(CFReadStreamRef _Null_unspecified stream) ;
extern
dispatch_queue_t _Null_unspecified CFWriteStreamCopyDispatchQueue(CFWriteStreamRef _Null_unspecified stream) ;
typedef enum __attribute__((enum_extensibility(open))) CFStreamErrorDomain : CFIndex CFStreamErrorDomain; enum CFStreamErrorDomain : CFIndex {
kCFStreamErrorDomainCustom = -1L,
kCFStreamErrorDomainPOSIX = 1,
kCFStreamErrorDomainMacOSStatus
};
extern
CFStreamError CFReadStreamGetError(CFReadStreamRef _Null_unspecified stream);
extern
CFStreamError CFWriteStreamGetError(CFWriteStreamRef _Null_unspecified stream);
# 18 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPropertyList.h" 2
typedef enum __attribute__((flag_enum,enum_extensibility(open))) CFPropertyListMutabilityOptions : CFOptionFlags CFPropertyListMutabilityOptions; enum CFPropertyListMutabilityOptions : CFOptionFlags {
kCFPropertyListImmutable = 0,
kCFPropertyListMutableContainers = 1 << 0,
kCFPropertyListMutableContainersAndLeaves = 1 << 1,
};
# 40 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPropertyList.h"
extern
CFPropertyListRef CFPropertyListCreateFromXMLData(CFAllocatorRef allocator, CFDataRef xmlData, CFOptionFlags mutabilityOption, CFStringRef *errorString) ;
# 55 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPropertyList.h"
extern
CFDataRef CFPropertyListCreateXMLData(CFAllocatorRef allocator, CFPropertyListRef propertyList) ;
# 66 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPropertyList.h"
extern
CFPropertyListRef CFPropertyListCreateDeepCopy(CFAllocatorRef allocator, CFPropertyListRef propertyList, CFOptionFlags mutabilityOption);
typedef enum __attribute__((enum_extensibility(open))) CFPropertyListFormat : CFIndex CFPropertyListFormat; enum CFPropertyListFormat : CFIndex {
kCFPropertyListOpenStepFormat = 1,
kCFPropertyListXMLFormat_v1_0 = 100,
kCFPropertyListBinaryFormat_v1_0 = 200
};
extern
Boolean CFPropertyListIsValid(CFPropertyListRef plist, CFPropertyListFormat format);
# 95 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPropertyList.h"
extern
CFIndex CFPropertyListWriteToStream(CFPropertyListRef propertyList, CFWriteStreamRef stream, CFPropertyListFormat format, CFStringRef *errorString) ;
# 110 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPropertyList.h"
extern
CFPropertyListRef CFPropertyListCreateFromStream(CFAllocatorRef allocator, CFReadStreamRef stream, CFIndex streamLength, CFOptionFlags mutabilityOption, CFPropertyListFormat *format, CFStringRef *errorString) ;
enum __attribute__((enum_extensibility(open))) : CFIndex {
kCFPropertyListReadCorruptError = 3840,
kCFPropertyListReadUnknownVersionError = 3841,
kCFPropertyListReadStreamError = 3842,
kCFPropertyListWriteStreamError = 3851,
} ;
extern
CFPropertyListRef CFPropertyListCreateWithData(CFAllocatorRef allocator, CFDataRef data, CFOptionFlags options, CFPropertyListFormat *format, CFErrorRef *error) ;
extern
CFPropertyListRef CFPropertyListCreateWithStream(CFAllocatorRef allocator, CFReadStreamRef stream, CFIndex streamLength, CFOptionFlags options, CFPropertyListFormat *format, CFErrorRef *error) ;
extern
CFIndex CFPropertyListWrite(CFPropertyListRef propertyList, CFWriteStreamRef stream, CFPropertyListFormat format, CFOptionFlags options, CFErrorRef *error) ;
extern
CFDataRef CFPropertyListCreateData(CFAllocatorRef allocator, CFPropertyListRef propertyList, CFPropertyListFormat format, CFOptionFlags options, CFErrorRef *error) ;
# 80 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h" 1
# 31 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
typedef const void * (*CFSetRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFSetReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFSetCopyDescriptionCallBack)(const void *value);
# 56 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
typedef Boolean (*CFSetEqualCallBack)(const void *value1, const void *value2);
typedef CFHashCode (*CFSetHashCallBack)(const void *value);
# 90 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
typedef struct {
CFIndex version;
CFSetRetainCallBack retain;
CFSetReleaseCallBack release;
CFSetCopyDescriptionCallBack copyDescription;
CFSetEqualCallBack equal;
CFSetHashCallBack hash;
} CFSetCallBacks;
extern
const CFSetCallBacks kCFTypeSetCallBacks;
extern
const CFSetCallBacks kCFCopyStringSetCallBacks;
# 124 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
typedef void (*CFSetApplierFunction)(const void *value, void *context);
typedef const struct __attribute__((objc_bridge(NSSet))) __CFSet * CFSetRef;
typedef struct __attribute__((objc_bridge_mutable(NSMutableSet))) __CFSet * CFMutableSetRef;
extern
CFTypeID CFSetGetTypeID(void);
# 191 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
CFSetRef CFSetCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFSetCallBacks *callBacks);
# 212 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
CFSetRef CFSetCreateCopy(CFAllocatorRef allocator, CFSetRef theSet);
# 258 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
CFMutableSetRef CFSetCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFSetCallBacks *callBacks);
# 288 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
CFMutableSetRef CFSetCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFSetRef theSet);
# 298 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
CFIndex CFSetGetCount(CFSetRef theSet);
# 316 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
CFIndex CFSetGetCountOfValue(CFSetRef theSet, const void *value);
# 332 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
Boolean CFSetContainsValue(CFSetRef theSet, const void *value);
# 347 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
const void *CFSetGetValue(CFSetRef theSet, const void *value);
# 371 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
Boolean CFSetGetValueIfPresent(CFSetRef theSet, const void *candidate, const void **value);
# 385 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
void CFSetGetValues(CFSetRef theSet, const void **values);
# 405 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
void CFSetApplyFunction(CFSetRef theSet, CFSetApplierFunction __attribute__((noescape)) applier, void *context);
# 420 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
void CFSetAddValue(CFMutableSetRef theSet, const void *value);
# 439 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
void CFSetReplaceValue(CFMutableSetRef theSet, const void *value);
# 459 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
void CFSetSetValue(CFMutableSetRef theSet, const void *value);
# 474 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
void CFSetRemoveValue(CFMutableSetRef theSet, const void *value);
# 484 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFSet.h"
extern
void CFSetRemoveAllValues(CFMutableSetRef theSet);
# 81 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStringEncodingExt.h" 1
# 17 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFStringEncodingExt.h"
typedef enum __attribute__((enum_extensibility(open))) CFStringEncodings : CFIndex CFStringEncodings; enum CFStringEncodings : CFIndex {
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,
kCFStringEncodingUTF7 = 0x04000100,
kCFStringEncodingUTF7_IMAP = 0x0A10,
kCFStringEncodingShiftJIS_X0213_00 = 0x0628
};
# 83 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h" 1
# 33 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
typedef const void * (*CFTreeRetainCallBack)(const void *info);
typedef void (*CFTreeReleaseCallBack)(const void *info);
# 50 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
typedef CFStringRef (*CFTreeCopyDescriptionCallBack)(const void *info);
# 69 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
typedef struct {
CFIndex version;
void * info;
CFTreeRetainCallBack retain;
CFTreeReleaseCallBack release;
CFTreeCopyDescriptionCallBack copyDescription;
} CFTreeContext;
# 85 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
typedef void (*CFTreeApplierFunction)(const void *value, void *context);
typedef struct __attribute__((objc_bridge_mutable(id))) __CFTree * CFTreeRef;
extern
CFTypeID CFTreeGetTypeID(void);
# 117 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
CFTreeRef CFTreeCreate(CFAllocatorRef allocator, const CFTreeContext *context);
# 127 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
CFTreeRef CFTreeGetParent(CFTreeRef tree);
# 137 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
CFTreeRef CFTreeGetNextSibling(CFTreeRef tree);
# 147 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
CFTreeRef CFTreeGetFirstChild(CFTreeRef tree);
# 161 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
void CFTreeGetContext(CFTreeRef tree, CFTreeContext *context);
# 171 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
CFIndex CFTreeGetChildCount(CFTreeRef tree);
# 184 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
CFTreeRef CFTreeGetChildAtIndex(CFTreeRef tree, CFIndex idx);
# 196 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
void CFTreeGetChildren(CFTreeRef tree, CFTreeRef *children);
# 217 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
void CFTreeApplyFunctionToChildren(CFTreeRef tree, CFTreeApplierFunction __attribute__((noescape)) applier, void *context);
# 227 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
CFTreeRef CFTreeFindRoot(CFTreeRef tree);
# 244 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
void CFTreeSetContext(CFTreeRef tree, const CFTreeContext *context);
# 257 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
void CFTreePrependChild(CFTreeRef tree, CFTreeRef newChild);
# 270 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
void CFTreeAppendChild(CFTreeRef tree, CFTreeRef newChild);
# 285 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
void CFTreeInsertSibling(CFTreeRef tree, CFTreeRef newSibling);
extern
void CFTreeRemove(CFTreeRef tree);
extern
void CFTreeRemoveAllChildren(CFTreeRef tree);
# 323 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFTree.h"
extern
void CFTreeSortChildren(CFTreeRef tree, CFComparatorFunction comparator, void *context);
# 85 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURLAccess.h" 1
# 51 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURLAccess.h"
extern
Boolean CFURLCreateDataAndPropertiesFromResource(CFAllocatorRef alloc, CFURLRef url, CFDataRef *resourceData, CFDictionaryRef *properties, CFArrayRef desiredProperties, SInt32 *errorCode) ;
# 63 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFURLAccess.h"
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) ;
typedef enum __attribute__((enum_extensibility(open))) CFURLError : CFIndex CFURLError; enum CFURLError : CFIndex {
kCFURLUnknownError = -10L,
kCFURLUnknownSchemeError = -11L,
kCFURLResourceNotFoundError = -12L,
kCFURLResourceAccessViolationError = -13L,
kCFURLRemoteHostUnavailableError = -14L,
kCFURLImproperArgumentsError = -15L,
kCFURLUnknownPropertyKeyError = -16L,
kCFURLPropertyKeyUnavailableError = -17L,
kCFURLTimeoutError = -18L
} ;
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 ;
# 87 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFUUID.h" 1
# 19 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFUUID.h"
typedef const struct __attribute__((objc_bridge(id))) __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);
# 88 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFUtilities.h" 1
# 20 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFUtilities.h"
extern
CFURLRef CFCopyHomeDirectoryURL(void) ;
# 89 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBundle.h" 1
# 18 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBundle.h"
typedef struct __attribute__((objc_bridge(id))) __CFBundle *CFBundleRef;
typedef struct __attribute__((objc_bridge(id))) __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) ;
# 165 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBundle.h"
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);
# 199 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBundle.h"
extern
CFURLRef CFBundleCopyResourceURLForLocalization(CFBundleRef bundle, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName, CFStringRef localizationName);
extern
CFArrayRef CFBundleCopyResourceURLsOfTypeForLocalization(CFBundleRef bundle, CFStringRef resourceType, CFStringRef subDirName, CFStringRef localizationName);
# 213 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBundle.h"
extern
CFDictionaryRef CFBundleCopyInfoDictionaryForURL(CFURLRef url);
extern
CFArrayRef CFBundleCopyLocalizationsForURL(CFURLRef url);
extern
CFArrayRef CFBundleCopyExecutableArchitecturesForURL(CFURLRef url) ;
# 237 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBundle.h"
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);
# 302 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFBundle.h"
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) ;
# 90 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFMessagePort.h" 1
# 21 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFMessagePort.h"
typedef struct __attribute__((objc_bridge_mutable(NSMessagePort))) __CFMessagePort * CFMessagePortRef;
enum __attribute__((enum_extensibility(open))) : SInt32 {
kCFMessagePortSuccess = 0,
kCFMessagePortSendTimeout = -1,
kCFMessagePortReceiveTimeout = -2,
kCFMessagePortIsInvalid = -3,
kCFMessagePortTransportError = -4,
kCFMessagePortBecameInvalidError = -5
};
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);
extern void CFMessagePortSetDispatchQueue(CFMessagePortRef ms, dispatch_queue_t queue) ;
# 92 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPlugIn.h" 1
# 29 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFPlugIn.h"
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) __attribute__((cf_returns_retained));
extern CFArrayRef CFPlugInFindFactoriesForPlugInTypeInPlugIn(CFUUIDRef typeUUID, CFPlugInRef plugIn) __attribute__((cf_returns_retained));
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 __attribute__((objc_bridge(id))) __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) __attribute__((cf_returns_retained));
extern void *CFPlugInInstanceGetInstanceData(CFPlugInInstanceRef instance);
extern CFTypeID CFPlugInInstanceGetTypeID(void);
extern CFPlugInInstanceRef CFPlugInInstanceCreateWithInstanceDataSize(CFAllocatorRef allocator, CFIndex instanceDataSize, CFPlugInInstanceDeallocateInstanceDataFunction deallocateInstanceFunction, CFStringRef factoryName, CFPlugInInstanceGetInterfaceFunction getInterfaceFunction);
# 93 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFMachPort.h" 1
# 97 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFFileDescriptor.h" 1
# 15 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFFileDescriptor.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/TargetConditionals.h" 1
# 16 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFFileDescriptor.h" 2
typedef int CFFileDescriptorNativeDescriptor;
typedef struct __CFFileDescriptor *CFFileDescriptorRef;
enum __attribute__((enum_extensibility(open))) : CFOptionFlags {
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);
# 99 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFAttributedString.h" 1
# 35 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFAttributedString.h"
typedef const struct __attribute__((objc_bridge(NSAttributedString))) __CFAttributedString *CFAttributedStringRef;
typedef struct __attribute__((objc_bridge_mutable(NSMutableAttributedString))) __CFAttributedString *CFMutableAttributedStringRef;
extern CFTypeID CFAttributedStringGetTypeID(void);
# 50 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFAttributedString.h"
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);
# 101 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CFAttributedString.h"
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);
# 101 "/usr/GNUstep/Local/Library/Headers/CoreFoundation/CoreFoundation.h" 2
# 198 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2
# 31 "CAAnimation.m" 2
# 1 "./derived_src/QuartzCore/CAAnimation.h" 1
# 31 "./derived_src/QuartzCore/CAAnimation.h"
# 1 "./derived_src/QuartzCore/CAMediaTiming.h" 1
# 29 "./derived_src/QuartzCore/CAMediaTiming.h"
# 1 "./derived_src/QuartzCore/CABase.h" 1
# 38 "./derived_src/QuartzCore/CABase.h"
extern CFTimeInterval CACurrentMediaTime(void);
# 30 "./derived_src/QuartzCore/CAMediaTiming.h" 2
@protocol CAMediaTiming
@property CFTimeInterval beginTime;
@property CFTimeInterval timeOffset;
@property float repeatCount;
@property float repeatDuration;
@property BOOL autoreverses;
@property(copy) NSString* fillMode;
@property CFTimeInterval duration;
@property float speed;
@optional
- (CFTimeInterval) activeTime;
- (CFTimeInterval) localTime;
- (CFTimeInterval) activeTimeWithTimeAuthorityLocalTime: (CFTimeInterval)timeAuthorityLocalTime;
- (CFTimeInterval) localTimeWithTimeAuthority: (id<CAMediaTiming>)timeAuthority;
@end
extern NSString *const kCAFillModeRemoved;
extern NSString *const kCAFillModeForwards;
extern NSString *const kCAFillModeBackwards;
extern NSString *const kCAFillModeBoth;
extern NSString *const kCAFillModeFrozen;
# 32 "./derived_src/QuartzCore/CAAnimation.h" 2
# 1 "./derived_src/QuartzCore/CAAction.h" 1
# 28 "./derived_src/QuartzCore/CAAction.h"
@protocol CAAction
@required
- (void)runActionForKey:(NSString *)key object:(id)anObject arguments:(NSDictionary *)dict;
@end
# 33 "./derived_src/QuartzCore/CAAnimation.h" 2
@class CAMediaTimingFunction;
@class CAValueFunction;
@class CALayer;
@interface CAAnimation : NSObject <NSCoding, NSCopying, CAAction, CAMediaTiming>
{
id _delegate;
CAMediaTimingFunction *_timingFunction;
BOOL _removedOnCompletion;
CFTimeInterval _beginTime;
CFTimeInterval _timeOffset;
float _repeatCount;
float _repeatDuration;
BOOL _autoreverses;
NSString* _fillMode;
CFTimeInterval _duration;
float _speed;
NSPointerArray * _layers;
}
+ (id) animation;
+ (id) defaultValueForKey: (NSString*)key;
@property (retain) id delegate;
@property (retain) CAMediaTimingFunction *timingFunction;
@property BOOL removedOnCompletion;
@end
@interface CAPropertyAnimation : CAAnimation
{
BOOL _additive;
BOOL _cumulative;
NSString *_keyPath;
CAValueFunction *_valueFunction;
}
+ (id)animationWithKeyPath:(NSString *)path;
@property (assign,getter=isAdditive) BOOL additive;
@property (assign,getter=isCumulative) BOOL cumulative;
@property (retain) NSString *keyPath;
@property (retain) CAValueFunction *valueFunction;
@end
@interface CABasicAnimation : CAPropertyAnimation
{
id _fromValue, _toValue, _byValue;
}
@property(retain) id fromValue, toValue, byValue;
@end
@interface CAKeyframeAnimation : CAPropertyAnimation
{
NSString * _calculationMode;
NSArray * _values;
}
@property(copy) NSString* calculationMode;
@property(copy) NSArray* values;
@end
@interface CASpringAnimation : CABasicAnimation
{
CGFloat _mass;
CGFloat _stiffness;
CGFloat _damping;
CGFloat _initialVelocity;
CFTimeInterval _settlingDuration;
}
@property CGFloat mass;
@property CGFloat stiffness;
@property CGFloat damping;
@property CGFloat initialVelocity;
@property(readonly) CFTimeInterval settlingDuration;
@end
extern NSString *const kCAAnimationDiscrete;
@interface CATransition : CAAnimation
{
NSString * _type;
NSString * _subtype;
}
@property(copy) NSString* type;
@property(copy) NSString* subtype;
@end
extern NSString *const kCATransitionMoveIn;
extern NSString *const kCATransitionFromTop;
extern NSString *const kCATransitionFromBottom;
extern NSString *const kCATransitionFromLeft;
extern NSString *const kCATransitionFromRight;
@protocol GSCAAnimationDelegate <NSObject>
- (void) animationDidStart: (CAAnimation *)animation;
- (void) animationDidStop: (CAAnimation *)animation finished: (BOOL)finished;
@end
# 32 "CAAnimation.m" 2
# 1 "./derived_src/QuartzCore/CALayer.h" 1
# 32 "./derived_src/QuartzCore/CALayer.h"
# 1 "./derived_src/QuartzCore/CATransform3D.h" 1
# 34 "./derived_src/QuartzCore/CATransform3D.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGBase.h" 1
# 35 "./derived_src/QuartzCore/CATransform3D.h" 2
typedef struct CATransform3D
{
CGFloat m11, m12, m13, m14;
CGFloat m21, m22, m23, m24;
CGFloat m31, m32, m33, m34;
CGFloat m41, m42, m43, m44;
} CATransform3D;
extern const CATransform3D CATransform3DIdentity;
_Bool CATransform3DIsIdentity(CATransform3D t);
_Bool CATransform3DEqualToTransform(CATransform3D a, CATransform3D b);
CATransform3D CATransform3DMakeTranslation(CGFloat tx, CGFloat ty, CGFloat tz);
CATransform3D CATransform3DMakeScale(CGFloat sx, CGFloat sy, CGFloat sz);
CATransform3D CATransform3DMakeRotation(CGFloat radians, CGFloat x, CGFloat y, CGFloat z);
CATransform3D CATransform3DTranslate(CATransform3D t, CGFloat tx, CGFloat ty, CGFloat tz);
CATransform3D CATransform3DScale(CATransform3D t, CGFloat sx, CGFloat sy, CGFloat sz);
CATransform3D CATransform3DRotate(CATransform3D t, CGFloat radians, CGFloat x, CGFloat y, CGFloat z);
CATransform3D CATransform3DConcat(CATransform3D a, CATransform3D b);
CATransform3D CATransform3DInvert(CATransform3D t);
@interface NSValue (CATransform3D)
+ (NSValue *) valueWithCATransform3D: (CATransform3D)transform;
- (CATransform3D) CATransform3DValue;
@end
# 33 "./derived_src/QuartzCore/CALayer.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CoreGraphics.h" 1
# 28 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CoreGraphics.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGAffineTransform.h" 1
# 29 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGAffineTransform.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGGeometry.h" 1
# 36 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGGeometry.h"
typedef NSPoint CGPoint;
typedef NSSize CGSize;
typedef NSRect CGRect;
enum
{
CGRectMinXEdge = 0,
CGRectMinYEdge = 1,
CGRectMaxXEdge = 2,
CGRectMaxYEdge = 3
};
typedef int CGRectEdge;
extern const CGPoint CGPointZero;
extern const CGSize CGSizeZero;
extern const CGRect CGRectZero;
extern const CGRect CGRectNull;
extern const CGRect CGRectInfinite;
# 85 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGGeometry.h"
static inline CGPoint CGPointMake(CGFloat x, CGFloat y) __attribute__((unused));
static inline CGSize CGSizeMake(CGFloat width, CGFloat height) __attribute__((unused));
static inline CGRect CGRectMake(CGFloat x, CGFloat y, CGFloat width, CGFloat height) __attribute__((unused));
static inline CGRect NSRectToCGRect(NSRect rect);
static inline NSRect NSRectFromCGRect(CGRect rect);
static inline CGPoint NSPointToCGPoint(NSPoint point);
static inline NSPoint NSPointFromCGPoint(CGPoint point);
static inline NSSize NSSizeFromCGSize(CGSize size);
static inline CGSize NSSizeToCGSize(NSSize size);
static inline CGRect CGRectStandardize(CGRect rect) __attribute__((unused));
static inline CGRect CGRectOffset(CGRect rect, CGFloat dx, CGFloat dy) __attribute__((unused));
static inline CGRect CGRectInset(CGRect rect, CGFloat dx, CGFloat dy) __attribute__((unused));
CGRect CGRectIntegral(CGRect rect);
CGRect CGRectUnion(CGRect r1, CGRect r2);
CGRect CGRectIntersection(CGRect r1, CGRect r2);
void CGRectDivide(CGRect rect, CGRect *slice, CGRect *remainder,
CGFloat amount, CGRectEdge edge);
static inline CGFloat CGRectGetMinX(CGRect rect) __attribute__((unused));
static inline CGFloat CGRectGetMidX(CGRect rect) __attribute__((unused));
static inline CGFloat CGRectGetMaxX(CGRect rect) __attribute__((unused));
static inline CGFloat CGRectGetMinY(CGRect rect) __attribute__((unused));
static inline CGFloat CGRectGetMidY(CGRect rect) __attribute__((unused));
static inline CGFloat CGRectGetMaxY(CGRect rect) __attribute__((unused));
static inline CGFloat CGRectGetWidth(CGRect rect) __attribute__((unused));
static inline CGFloat CGRectGetHeight(CGRect rect) __attribute__((unused));
int CGRectIsNull(CGRect rect);
static inline int CGRectIsEmpty(CGRect rect) __attribute__((unused));
int CGRectIsInfinite(CGRect rect);
static inline int CGRectIntersectsRect(CGRect rect1, CGRect rect2) __attribute__((unused));
static inline int CGRectContainsRect(CGRect rect1, CGRect rect2) __attribute__((unused));
static inline int CGRectContainsPoint(CGRect rect, CGPoint point) __attribute__((unused));
static inline int CGRectEqualToRect(CGRect rect1, CGRect rect2) __attribute__((unused));
static inline int CGSizeEqualToSize(CGSize size1, CGSize size2) __attribute__((unused));
static inline int CGPointEqualToPoint(CGPoint point1, CGPoint point2) __attribute__((unused));
CFDictionaryRef CGPointCreateDictionaryRepresentation(CGPoint point);
_Bool CGPointMakeWithDictionaryRepresentation(CFDictionaryRef dict, CGPoint *point);
CFDictionaryRef CGSizeCreateDictionaryRepresentation(CGSize size);
_Bool CGSizeMakeWithDictionaryRepresentation(CFDictionaryRef dict, CGSize *size);
CFDictionaryRef CGRectCreateDictionaryRepresentation(CGRect rect);
_Bool CGRectMakeWithDictionaryRepresentation(CFDictionaryRef dict, CGRect *rect);
static inline CGFloat CGRectGetMinX(CGRect rect)
{
if (rect.size.width < 0)
return rect.origin.x + rect.size.width;
else
return rect.origin.x;
}
static inline CGFloat CGRectGetMidX(CGRect rect)
{
return rect.origin.x + (rect.size.width / 2.0);
}
static inline CGFloat CGRectGetMaxX(CGRect rect)
{
if (rect.size.width < 0)
return rect.origin.x;
else
return rect.origin.x + rect.size.width;
}
static inline CGFloat CGRectGetMinY(CGRect rect)
{
if (rect.size.height < 0)
return rect.origin.y + rect.size.height;
else
return rect.origin.y;
}
static inline CGFloat CGRectGetMidY(CGRect rect)
{
return rect.origin.y + (rect.size.height / 2.0);
}
static inline CGFloat CGRectGetMaxY(CGRect rect)
{
if (rect.size.height < 0)
return rect.origin.y;
else
return rect.origin.y + rect.size.height;
}
static inline CGFloat CGRectGetWidth(CGRect rect)
{
return rect.size.width;
}
static inline CGFloat CGRectGetHeight(CGRect rect)
{
return rect.size.height;
}
static inline int CGRectIsEmpty(CGRect rect)
{
if (CGRectIsNull(rect))
return 1;
return ((rect.size.width == 0) || (rect.size.height == 0)) ? 1 : 0;
}
static inline int CGRectIntersectsRect(CGRect rect1, CGRect rect2)
{
return (CGRectIsNull(CGRectIntersection(rect1, rect2)) ? 0 : 1);
}
static inline int CGRectContainsRect(CGRect rect1, CGRect rect2)
{
return CGRectEqualToRect(rect1, CGRectUnion(rect1, rect2));
}
static inline int CGRectContainsPoint(CGRect rect, CGPoint point)
{
rect = CGRectStandardize(rect);
return ((point.x >= rect.origin.x) &&
(point.y >= rect.origin.y) &&
(point.x <= rect.origin.x + rect.size.width) &&
(point.y <= rect.origin.y + rect.size.height)) ? 1 : 0;
}
static inline int CGRectEqualToRect(CGRect rect1, CGRect rect2)
{
return ((rect1.origin.x == rect2.origin.x) &&
(rect1.origin.y == rect2.origin.y) &&
(rect1.size.width == rect2.size.width) &&
(rect1.size.height == rect2.size.height)) ? 1 : 0;
}
static inline int CGSizeEqualToSize(CGSize size1, CGSize size2)
{
return ((size1.width == size2.width) &&
(size1.height == size2.height)) ? 1 : 0;
}
static inline int CGPointEqualToPoint(CGPoint point1, CGPoint point2)
{
return ((point1.x == point2.x) && (point1.y == point2.y)) ? 1 : 0;
}
static inline CGPoint CGPointMake(CGFloat x, CGFloat y)
{
CGPoint point;
point.x = x;
point.y = y;
return point;
}
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;
}
static inline CGRect NSRectToCGRect(NSRect rect)
{
CGRect cgrect;
cgrect.origin.x = rect.origin.x;
cgrect.origin.y = rect.origin.y;
cgrect.size.width = rect.size.width;
cgrect.size.height = rect.size.height;
return cgrect;
}
static inline NSRect NSRectFromCGRect(CGRect rect)
{
NSRect nsrect;
nsrect.origin.x = rect.origin.x;
nsrect.origin.y = rect.origin.y;
nsrect.size.width = rect.size.width;
nsrect.size.height = rect.size.height;
return nsrect;
}
static inline CGPoint NSPointToCGPoint(NSPoint point)
{
CGPoint cgpoint;
cgpoint.x = point.x;
cgpoint.y = point.y;
return cgpoint;
}
static inline NSPoint NSPointFromCGPoint(CGPoint point)
{
NSPoint nspoint;
nspoint.x = point.x;
nspoint.y = point.y;
return nspoint;
}
static inline NSSize NSSizeFromCGSize(CGSize size)
{
NSSize nssize;
nssize.width = size.width;
nssize.height = size.height;
return nssize;
}
static inline CGSize NSSizeToCGSize(NSSize size)
{
CGSize cgsize;
cgsize.width = size.width;
cgsize.height = size.height;
return cgsize;
}
static inline CGRect CGRectStandardize(CGRect rect)
{
if (rect.size.width < 0) {
rect.origin.x += rect.size.width;
rect.size.width = -rect.size.width;
}
if (rect.size.height < 0) {
rect.origin.y += rect.size.height;
rect.size.height = -rect.size.height;
}
return rect;
}
static inline CGRect CGRectOffset(CGRect rect, CGFloat dx, CGFloat dy)
{
rect.origin.x += dx;
rect.origin.y += dy;
return rect;
}
static inline CGRect CGRectInset(CGRect rect, CGFloat dx, CGFloat dy)
{
rect = CGRectStandardize(rect);
rect.origin.x += dx;
rect.origin.y += dy;
rect.size.width -= (2 * dx);
rect.size.height -= (2 * dy);
return rect;
}
# 30 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGAffineTransform.h" 2
typedef struct CGAffineTransform
{
CGFloat a;
CGFloat b;
CGFloat c;
CGFloat d;
CGFloat tx;
CGFloat ty;
} CGAffineTransform;
extern const CGAffineTransform CGAffineTransformIdentity;
# 67 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGAffineTransform.h"
static inline CGAffineTransform CGAffineTransformMake(
CGFloat a,
CGFloat b,
CGFloat c,
CGFloat d,
CGFloat tx,
CGFloat ty
) __attribute__((unused));
static inline CGAffineTransform CGAffineTransformMakeTranslation(
CGFloat tx,
CGFloat ty
) __attribute__((unused));
static inline CGAffineTransform CGAffineTransformMakeScale(
CGFloat sx,
CGFloat sy
) __attribute__((unused));
CGAffineTransform CGAffineTransformMakeRotation(CGFloat angle);
static inline CGAffineTransform CGAffineTransformConcat(
CGAffineTransform t1,
CGAffineTransform t2
) __attribute__((unused));
static inline CGAffineTransform CGAffineTransformTranslate(
CGAffineTransform t,
CGFloat tx,
CGFloat ty
) __attribute__((unused));
static inline CGAffineTransform CGAffineTransformScale(
CGAffineTransform t,
CGFloat sx,
CGFloat sy
) __attribute__((unused));
static inline CGAffineTransform CGAffineTransformRotate(
CGAffineTransform t,
CGFloat angle
) __attribute__((unused));
static inline _Bool CGAffineTransformEqualToTransform(
CGAffineTransform t1,
CGAffineTransform t2
) __attribute__((unused));
static inline _Bool CGAffineTransformIsIdentity(
CGAffineTransform t
) __attribute__((unused));
CGAffineTransform CGAffineTransformInvert(CGAffineTransform t);
static inline CGPoint CGPointApplyAffineTransform(
CGPoint point,
CGAffineTransform t
) __attribute__((unused));
static inline CGSize CGSizeApplyAffineTransform(
CGSize size,
CGAffineTransform t
) __attribute__((unused));
CGRect CGRectApplyAffineTransform(
CGRect rect,
CGAffineTransform t
);
static inline CGAffineTransform CGAffineTransformMake(
CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty)
{
CGAffineTransform matrix;
matrix.a = a;
matrix.b = b;
matrix.c = c;
matrix.d = d;
matrix.tx = tx;
matrix.ty = ty;
return matrix;
}
static inline CGAffineTransform CGAffineTransformMakeTranslation(
CGFloat tx, CGFloat ty)
{
CGAffineTransform matrix;
matrix = CGAffineTransformIdentity;
matrix.tx = tx;
matrix.ty = ty;
return matrix;
}
static inline CGAffineTransform CGAffineTransformMakeScale(CGFloat sx, CGFloat sy)
{
CGAffineTransform matrix;
matrix = CGAffineTransformIdentity;
matrix.a = sx;
matrix.d = sy;
return matrix;
}
static inline CGAffineTransform CGAffineTransformConcat(
CGAffineTransform t1, CGAffineTransform t2)
{
CGAffineTransform t;
t.a = t1.a * t2.a + t1.b * t2.c;
t.b = t1.a * t2.b + t1.b * t2.d;
t.c = t1.c * t2.a + t1.d * t2.c;
t.d = t1.c * t2.b + t1.d * t2.d;
t.tx = t1.tx * t2.a + t1.ty * t2.c + t2.tx;
t.ty = t1.tx * t2.b + t1.ty * t2.d + t2.ty;
return t;
}
static inline CGAffineTransform CGAffineTransformTranslate(
CGAffineTransform t, CGFloat tx, CGFloat ty)
{
t.tx += tx * t.a + ty * t.c;
t.ty += tx * t.b + ty * t.d;
return t;
}
static inline CGAffineTransform CGAffineTransformScale(
CGAffineTransform t, CGFloat sx, CGFloat sy)
{
t.a *= sx;
t.b *= sx;
t.c *= sy;
t.d *= sy;
return t;
}
static inline CGAffineTransform CGAffineTransformRotate(
CGAffineTransform t, CGFloat angle)
{
return CGAffineTransformConcat(CGAffineTransformMakeRotation(angle), t);
}
static inline _Bool CGAffineTransformEqualToTransform(CGAffineTransform t1, CGAffineTransform t2)
{
if (t1.a != t2.a) {
return 0;
}
if (t1.b != t2.b) {
return 0;
}
if (t1.c != t2.c) {
return 0;
}
if (t1.d != t2.d) {
return 0;
}
if (t1.tx != t2.tx) {
return 0;
}
if (t1.ty != t2.ty) {
return 0;
}
return 1;
}
static inline _Bool CGAffineTransformIsIdentity(CGAffineTransform t)
{
return t.a && !t.b && !t.c && t.d && !t.tx && !t.ty;
}
static inline CGPoint CGPointApplyAffineTransform(
CGPoint point, CGAffineTransform t)
{
return CGPointMake(t.a * point.x + t.c * point.y + t.tx,
t.b * point.x + t.d * point.y + t.ty);
}
static inline CGSize CGSizeApplyAffineTransform(
CGSize size, CGAffineTransform t)
{
CGSize r;
r = CGSizeMake(t.a * size.width + t.c * size.height,
t.b * size.width + t.d * size.height);
if (r.width < 0) r.width = -r.width;
if (r.height < 0) r.height = -r.height;
return r;
}
# 29 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CoreGraphics.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGBitmapContext.h" 1
# 28 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGBitmapContext.h"
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h" 1
# 36 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h"
typedef struct CGContext* CGContextRef;
typedef struct OPGState* OPGStateRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGBitmapContext.h" 1
# 43 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGColor.h" 1
# 34 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGColor.h"
typedef struct CGColor* CGColorRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGColorSpace.h" 1
# 38 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGColorSpace.h"
typedef struct CGColorSpace* CGColorSpaceRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGDataProvider.h" 1
# 34 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGDataProvider.h"
typedef struct CGDataProvider* CGDataProviderRef;
# 49 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGDataProvider.h"
typedef size_t (*CGDataProviderGetBytesCallback)(
void *info,
void *buffer,
size_t count
);
typedef void (*CGDataProviderSkipBytesCallback)(void *info, size_t count);
typedef off_t (*CGDataProviderSkipForwardCallback)(
void *info,
off_t count
);
typedef void (*CGDataProviderRewindCallback)(void *info);
typedef void (*CGDataProviderReleaseInfoCallback)(void *info);
typedef const void *(*CGDataProviderGetBytePointerCallback)(void *info);
typedef void (*CGDataProviderReleaseBytePointerCallback)(
void *info,
const void *pointer
);
typedef size_t (*CGDataProviderGetBytesAtOffsetCallback)(
void *info,
void *buffer,
size_t offset,
size_t count
);
typedef size_t (*CGDataProviderGetBytesAtPositionCallback)(
void *info,
void *buffer,
off_t position,
size_t count
);
typedef void (*CGDataProviderReleaseDataCallback)(
void *info,
const void *data,
size_t size
);
typedef struct CGDataProviderDirectCallbacks
{
unsigned int version;
CGDataProviderGetBytePointerCallback getBytePointer;
CGDataProviderReleaseBytePointerCallback releaseBytePointer;
CGDataProviderGetBytesAtPositionCallback getBytesAtPosition;
CGDataProviderReleaseInfoCallback releaseInfo;
} CGDataProviderDirectCallbacks;
typedef struct CGDataProviderDirectAccessCallbacks
{
CGDataProviderGetBytePointerCallback getBytePointer;
CGDataProviderReleaseBytePointerCallback releaseBytePointer;
CGDataProviderGetBytesAtOffsetCallback getBytes;
CGDataProviderReleaseInfoCallback releaseProvider;
} CGDataProviderDirectAccessCallbacks;
typedef struct CGDataProviderSequentialCallbacks
{
unsigned int version;
CGDataProviderGetBytesCallback getBytes;
CGDataProviderSkipForwardCallback skipForward;
CGDataProviderRewindCallback rewind;
CGDataProviderReleaseInfoCallback releaseInfo;
} CGDataProviderSequentialCallbacks;
typedef struct CGDataProviderCallbacks
{
CGDataProviderGetBytesCallback getBytes;
CGDataProviderSkipBytesCallback skipBytes;
CGDataProviderRewindCallback rewind;
CGDataProviderReleaseInfoCallback releaseProvider;
} CGDataProviderCallbacks;
CGDataProviderRef CGDataProviderCreateDirect(
void *info,
off_t size,
const CGDataProviderDirectCallbacks *callbacks
);
CGDataProviderRef CGDataProviderCreateSequential(
void *info,
const CGDataProviderSequentialCallbacks *callbacks
);
CGDataProviderRef CGDataProviderCreateDirectAccess(
void *info,
size_t size,
const CGDataProviderDirectAccessCallbacks *callbacks
);
CGDataProviderRef CGDataProviderCreate(
void *info,
const CGDataProviderCallbacks *callbacks
);
CGDataProviderRef CGDataProviderCreateWithData(
void *info,
const void *data,
size_t size,
void (*releaseData)(void *info, const void *data, size_t size)
);
CGDataProviderRef CGDataProviderCreateWithCFData(CFDataRef data);
CGDataProviderRef CGDataProviderCreateWithURL(CFURLRef url);
CGDataProviderRef CGDataProviderCreateWithFilename(const char *filename);
CFDataRef CGDataProviderCopyData(CGDataProviderRef provider);
CGDataProviderRef CGDataProviderRetain(CGDataProviderRef provider);
void CGDataProviderRelease(CGDataProviderRef provider);
CFTypeID CGDataProviderGetTypeID();
# 43 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGColorSpace.h" 2
enum {
kCGColorSpaceModelUnknown = -1,
kCGColorSpaceModelMonochrome = 0,
kCGColorSpaceModelRGB = 1,
kCGColorSpaceModelCMYK = 2,
kCGColorSpaceModelLab = 3,
kCGColorSpaceModelDeviceN = 4,
kCGColorSpaceModelIndexed = 5,
kCGColorSpaceModelPattern = 6
};
typedef int CGColorSpaceModel;
enum {
kCGRenderingIntentDefault = 0,
kCGRenderingIntentAbsoluteColorimetric = 1,
kCGRenderingIntentRelativeColorimetric = 2,
kCGRenderingIntentPerceptual = 3,
kCGRenderingIntentSaturation = 4
};
typedef int CGColorRenderingIntent;
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 const CFStringRef kCGColorSpaceGenericGrayGamma2_2;
CFDataRef CGColorSpaceCopyICCProfile(CGColorSpaceRef cs);
CFStringRef CGColorSpaceCopyName(CGColorSpaceRef cs);
CGColorSpaceRef CGColorSpaceCreateCalibratedGray(
const CGFloat whitePoint[3],
const CGFloat blackPoint[3],
CGFloat gamma
);
CGColorSpaceRef CGColorSpaceCreateCalibratedRGB(
const CGFloat whitePoint[3],
const CGFloat blackPoint[3],
const CGFloat gamma[3],
const CGFloat matrix[9]
);
CGColorSpaceRef CGColorSpaceCreateDeviceCMYK();
CGColorSpaceRef CGColorSpaceCreateDeviceGray();
CGColorSpaceRef CGColorSpaceCreateDeviceRGB();
CGColorSpaceRef CGColorSpaceCreateICCBased(
size_t nComponents,
const CGFloat *range,
CGDataProviderRef profile,
CGColorSpaceRef alternateSpace
);
CGColorSpaceRef CGColorSpaceCreateIndexed(
CGColorSpaceRef baseSpace,
size_t lastIndex,
const unsigned char *colorTable
);
CGColorSpaceRef CGColorSpaceCreateLab(
const CGFloat whitePoint[3],
const CGFloat blackPoint[3],
const CGFloat range[4]
);
extern CGColorSpaceRef CGColorSpaceCreatePattern(CGColorSpaceRef baseSpace);
CGColorSpaceRef CGColorSpaceCreateWithICCProfile(CFDataRef data);
CGColorSpaceRef CGColorSpaceCreateWithName(CFStringRef name);
CGColorSpaceRef CGColorSpaceCreateWithPlatformColorSpace(
void *platformColorSpace
);
CGColorSpaceRef CGColorSpaceGetBaseColorSpace(CGColorSpaceRef cs);
void CGColorSpaceGetColorTable(CGColorSpaceRef cs, unsigned char *table);
size_t CGColorSpaceGetColorTableCount(CGColorSpaceRef cs);
CGColorSpaceModel CGColorSpaceGetModel(CGColorSpaceRef cs);
size_t CGColorSpaceGetNumberOfComponents(CGColorSpaceRef cs);
CFTypeID CGColorSpaceGetTypeID();
CGColorSpaceRef CGColorSpaceRetain(CGColorSpaceRef cs);
void CGColorSpaceRelease(CGColorSpaceRef cs);
# 39 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGColor.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPattern.h" 1
# 34 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPattern.h"
typedef struct CGPattern* CGPatternRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h" 1
# 39 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPattern.h" 2
# 48 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPattern.h"
enum
{
kCGPatternTilingNoDistortion = 0,
kCGPatternTilingConstantSpacingMinimalDistortion = 1,
kCGPatternTilingConstantSpacing = 2
};
typedef int CGPatternTiling;
typedef void(*CGPatternDrawPatternCallback)(void *info, CGContextRef ctx);
typedef void(*CGPatternReleaseInfoCallback)(void *info);
typedef struct CGPatternCallbacks {
unsigned int version;
CGPatternDrawPatternCallback drawPattern;
CGPatternReleaseInfoCallback releaseInfo;
} CGPatternCallbacks;
CGPatternRef CGPatternCreate(
void *info,
CGRect bounds,
CGAffineTransform matrix,
CGFloat xStep,
CGFloat yStep,
CGPatternTiling tiling,
int isColored,
const CGPatternCallbacks *callbacks
);
CFTypeID CGPatternGetTypeID();
void CGPatternRelease(CGPatternRef pattern);
CGPatternRef CGPatternRetain(CGPatternRef pattern);
# 40 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGColor.h" 2
const extern CFStringRef kCGColorWhite;
const extern CFStringRef kCGColorBlack;
const extern CFStringRef kCGColorClear;
extern CGColorRef CGColorCreate(CGColorSpaceRef colorspace, const CGFloat components[]);
CGColorRef CGColorCreateCopy(CGColorRef clr);
CGColorRef CGColorCreateCopyWithAlpha(CGColorRef clr, CGFloat alpha);
CGColorRef CGColorCreateGenericCMYK(
CGFloat cyan,
CGFloat magenta,
CGFloat yellow,
CGFloat black,
CGFloat alpha
);
CGColorRef CGColorCreateGenericGray(CGFloat gray, CGFloat alpha);
CGColorRef CGColorCreateGenericRGB(
CGFloat red,
CGFloat green,
CGFloat blue,
CGFloat alpha
);
CGColorRef CGColorCreateWithPattern(
CGColorSpaceRef colorspace,
CGPatternRef pattern,
const CGFloat components[]
);
_Bool CGColorEqualToColor(CGColorRef color1, CGColorRef color2);
CGFloat CGColorGetAlpha(CGColorRef clr);
CGColorSpaceRef CGColorGetColorSpace(CGColorRef clr);
const CGFloat *CGColorGetComponents(CGColorRef clr);
CGColorRef CGColorGetConstantColor(CFStringRef name);
size_t CGColorGetNumberOfComponents(CGColorRef clr);
CGPatternRef CGColorGetPattern(CGColorRef clr);
CFTypeID CGColorGetTypeID();
void CGColorRelease(CGColorRef clr);
CGColorRef CGColorRetain(CGColorRef clr);
# 44 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGFont.h" 1
# 34 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGFont.h"
typedef struct CGFont* CGFontRef;
# 45 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGFont.h"
typedef unsigned short CGGlyph;
typedef unsigned short CGFontIndex;
enum {
kCGFontIndexMax = ((1 << 16) - 2),
kCGFontIndexInvalid = ((1 << 16) - 1),
kCGGlyphMax = kCGFontIndexMax
};
enum {
kCGFontPostScriptFormatType1 = 1,
kCGFontPostScriptFormatType3 = 3,
kCGFontPostScriptFormatType42 = 42
};
typedef int CGFontPostScriptFormat;
const extern CFStringRef kCGFontVariationAxisName;
const extern CFStringRef kCGFontVariationAxisMinValue;
const extern CFStringRef kCGFontVariationAxisMaxValue;
const extern CFStringRef kCGFontVariationAxisDefaultValue;
_Bool CGFontCanCreatePostScriptSubset(
CGFontRef font,
CGFontPostScriptFormat format
);
CFStringRef CGFontCopyFullName(CGFontRef font);
CFStringRef CGFontCopyGlyphNameForGlyph(CGFontRef font, CGGlyph glyph);
CFStringRef CGFontCopyPostScriptName(CGFontRef font);
CFDataRef CGFontCopyTableForTag(CGFontRef font, uint32_t tag);
CFArrayRef CGFontCopyTableTags(CGFontRef font);
CFArrayRef CGFontCopyVariationAxes(CGFontRef font);
CFDictionaryRef CGFontCopyVariations(CGFontRef font);
CGFontRef CGFontCreateCopyWithVariations(
CGFontRef font,
CFDictionaryRef variations
);
CFDataRef CGFontCreatePostScriptEncoding(
CGFontRef font,
const CGGlyph encoding[256]
);
CFDataRef CGFontCreatePostScriptSubset(
CGFontRef font,
CFStringRef name,
CGFontPostScriptFormat format,
const CGGlyph glyphs[],
size_t count,
const CGGlyph encoding[256]
);
CGFontRef CGFontCreateWithDataProvider(CGDataProviderRef provider);
CGFontRef CGFontCreateWithFontName(CFStringRef name);
CGFontRef CGFontCreateWithPlatformFont(void *platformFontReference);
int CGFontGetAscent(CGFontRef font);
int CGFontGetCapHeight(CGFontRef font);
int CGFontGetDescent(CGFontRef font);
CGRect CGFontGetFontBBox(CGFontRef font);
_Bool CGFontGetGlyphAdvances(
CGFontRef font,
const CGGlyph glyphs[],
size_t count,
int advances[]
);
_Bool CGFontGetGlyphBBoxes(
CGFontRef font,
const CGGlyph glyphs[],
size_t count,
CGRect bboxes[]
);
CGGlyph CGFontGetGlyphWithGlyphName(CGFontRef font, CFStringRef glyphName);
CGFloat CGFontGetItalicAngle(CGFontRef font);
int CGFontGetLeading(CGFontRef font);
size_t CGFontGetNumberOfGlyphs(CGFontRef font);
CGFloat CGFontGetStemV(CGFontRef font);
int CGFontGetUnitsPerEm(CGFontRef font);
int CGFontGetXHeight(CGFontRef font);
CFTypeID CGFontGetTypeID();
CGFontRef CGFontRetain(CGFontRef font);
void CGFontRelease(CGFontRef font);
# 1 "/usr/include/fontconfig/fontconfig.h" 1 3 4
# 29 "/usr/include/fontconfig/fontconfig.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/sys/stat.h" 1 3 4
# 101 "/usr/include/x86_64-linux-gnu/sys/stat.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/stat.h" 1 3 4
# 25 "/usr/include/x86_64-linux-gnu/bits/stat.h" 3 4
# 1 "/usr/include/x86_64-linux-gnu/bits/struct_stat.h" 1 3 4
# 26 "/usr/include/x86_64-linux-gnu/bits/struct_stat.h" 3 4
struct stat
{
__dev_t st_dev;
__ino_t st_ino;
__nlink_t st_nlink;
__mode_t st_mode;
__uid_t st_uid;
__gid_t st_gid;
int __pad0;
__dev_t st_rdev;
__off_t st_size;
__blksize_t st_blksize;
__blkcnt_t st_blocks;
# 81 "/usr/include/x86_64-linux-gnu/bits/struct_stat.h" 3 4
__time_t st_atime;
__syscall_ulong_t st_atimensec;
__time_t st_mtime;
__syscall_ulong_t st_mtimensec;
__time_t st_ctime;
__syscall_ulong_t st_ctimensec;
__syscall_slong_t __glibc_reserved[3];
# 99 "/usr/include/x86_64-linux-gnu/bits/struct_stat.h" 3 4
};
# 26 "/usr/include/x86_64-linux-gnu/bits/stat.h" 2 3 4
# 102 "/usr/include/x86_64-linux-gnu/sys/stat.h" 2 3 4
# 205 "/usr/include/x86_64-linux-gnu/sys/stat.h" 3 4
extern int stat (const char *__restrict __file,
struct stat *__restrict __buf) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2)));
# 352 "/usr/include/x86_64-linux-gnu/sys/stat.h" 3 4
extern int chmod (const char *__file, __mode_t __mode)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
# 365 "/usr/include/x86_64-linux-gnu/sys/stat.h" 3 4
extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ ));
# 380 "/usr/include/x86_64-linux-gnu/sys/stat.h" 3 4
extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ ));
# 389 "/usr/include/x86_64-linux-gnu/sys/stat.h" 3 4
extern int mkdir (const char *__path, __mode_t __mode)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
# 418 "/usr/include/x86_64-linux-gnu/sys/stat.h" 3 4
extern int mkfifo (const char *__path, __mode_t __mode)
__attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
# 30 "/usr/include/fontconfig/fontconfig.h" 2 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/stdarg.h" 1 3 4
# 31 "/usr/include/fontconfig/fontconfig.h" 2 3 4
# 1 "/usr/lib/llvm-18/lib/clang/18/include/limits.h" 1 3 4
# 32 "/usr/include/fontconfig/fontconfig.h" 2 3 4
# 43 "/usr/include/fontconfig/fontconfig.h" 3 4
typedef unsigned char FcChar8;
typedef unsigned short FcChar16;
typedef unsigned int FcChar32;
typedef int FcBool;
# 199 "/usr/include/fontconfig/fontconfig.h" 3 4
typedef enum _FcType {
FcTypeUnknown = -1,
FcTypeVoid,
FcTypeInteger,
FcTypeDouble,
FcTypeString,
FcTypeBool,
FcTypeMatrix,
FcTypeCharSet,
FcTypeFTFace,
FcTypeLangSet,
FcTypeRange
} FcType;
typedef struct _FcMatrix {
double xx, xy, yx, yy;
} FcMatrix;
# 225 "/usr/include/fontconfig/fontconfig.h" 3 4
typedef struct _FcCharSet FcCharSet;
typedef struct _FcObjectType {
char *object;
FcType type;
} FcObjectType;
typedef struct _FcConstant {
const FcChar8 *name;
const char *object;
int value;
} FcConstant;
typedef enum _FcResult {
FcResultMatch, FcResultNoMatch, FcResultTypeMismatch, FcResultNoId,
FcResultOutOfMemory
} FcResult;
typedef enum _FcValueBinding {
FcValueBindingWeak, FcValueBindingStrong, FcValueBindingSame,
FcValueBindingEnd = 2147483647
} FcValueBinding;
typedef struct _FcPattern FcPattern;
typedef struct _FcPatternIter {
void *dummy1;
void *dummy2;
} FcPatternIter;
typedef struct _FcLangSet FcLangSet;
typedef struct _FcRange FcRange;
typedef struct _FcValue {
FcType type;
union {
const FcChar8 *s;
int i;
FcBool b;
double d;
const FcMatrix *m;
const FcCharSet *c;
void *f;
const FcLangSet *l;
const FcRange *r;
} u;
} FcValue;
typedef struct _FcFontSet {
int nfont;
int sfont;
FcPattern **fonts;
} FcFontSet;
typedef struct _FcObjectSet {
int nobject;
int sobject;
const char **objects;
} FcObjectSet;
typedef enum _FcMatchKind {
FcMatchPattern, FcMatchFont, FcMatchScan,
FcMatchKindEnd,
FcMatchKindBegin = FcMatchPattern
} FcMatchKind;
typedef enum _FcLangResult {
FcLangEqual = 0,
FcLangDifferentCountry = 1,
FcLangDifferentTerritory = 1,
FcLangDifferentLang = 2
} FcLangResult;
typedef enum _FcSetName {
FcSetSystem = 0,
FcSetApplication = 1
} FcSetName;
typedef struct _FcConfigFileInfoIter {
void *dummy1;
void *dummy2;
void *dummy3;
} FcConfigFileInfoIter;
typedef struct _FcAtomic FcAtomic;
# 321 "/usr/include/fontconfig/fontconfig.h" 3 4
typedef enum { FcEndianBig, FcEndianLittle } FcEndian;
typedef struct _FcConfig FcConfig;
typedef struct _FcGlobalCache FcFileCache;
typedef struct _FcBlanks FcBlanks;
typedef struct _FcStrList FcStrList;
typedef struct _FcStrSet FcStrSet;
typedef struct _FcCache FcCache;
FcBlanks *
FcBlanksCreate (void);
void
FcBlanksDestroy (FcBlanks *b);
FcBool
FcBlanksAdd (FcBlanks *b, FcChar32 ucs4);
FcBool
FcBlanksIsMember (FcBlanks *b, FcChar32 ucs4);
const FcChar8 *
FcCacheDir(const FcCache *c);
FcFontSet *
FcCacheCopySet(const FcCache *c);
const FcChar8 *
FcCacheSubdir (const FcCache *c, int i);
int
FcCacheNumSubdir (const FcCache *c);
int
FcCacheNumFont (const FcCache *c);
FcBool
FcDirCacheUnlink (const FcChar8 *dir, FcConfig *config);
FcBool
FcDirCacheValid (const FcChar8 *cache_file);
FcBool
FcDirCacheClean (const FcChar8 *cache_dir, FcBool verbose);
void
FcCacheCreateTagFile (const FcConfig *config);
FcBool
FcDirCacheCreateUUID (FcChar8 *dir,
FcBool force,
FcConfig *config);
FcBool
FcDirCacheDeleteUUID (const FcChar8 *dir,
FcConfig *config);
FcChar8 *
FcConfigHome (void);
FcBool
FcConfigEnableHome (FcBool enable);
FcChar8 *
FcConfigFilename (const FcChar8 *url);
FcConfig *
FcConfigCreate (void);
FcConfig *
FcConfigReference (FcConfig *config);
void
FcConfigDestroy (FcConfig *config);
FcBool
FcConfigSetCurrent (FcConfig *config);
FcConfig *
FcConfigGetCurrent (void);
FcBool
FcConfigUptoDate (FcConfig *config);
FcBool
FcConfigBuildFonts (FcConfig *config);
FcStrList *
FcConfigGetFontDirs (FcConfig *config);
FcStrList *
FcConfigGetConfigDirs (FcConfig *config);
FcStrList *
FcConfigGetConfigFiles (FcConfig *config);
FcChar8 *
FcConfigGetCache (FcConfig *config);
FcBlanks *
FcConfigGetBlanks (FcConfig *config);
FcStrList *
FcConfigGetCacheDirs (const FcConfig *config);
int
FcConfigGetRescanInterval (FcConfig *config);
FcBool
FcConfigSetRescanInterval (FcConfig *config, int rescanInterval);
FcFontSet *
FcConfigGetFonts (FcConfig *config,
FcSetName set);
FcBool
FcConfigAppFontAddFile (FcConfig *config,
const FcChar8 *file);
FcBool
FcConfigAppFontAddDir (FcConfig *config,
const FcChar8 *dir);
void
FcConfigAppFontClear (FcConfig *config);
FcBool
FcConfigSubstituteWithPat (FcConfig *config,
FcPattern *p,
FcPattern *p_pat,
FcMatchKind kind);
FcBool
FcConfigSubstitute (FcConfig *config,
FcPattern *p,
FcMatchKind kind);
const FcChar8 *
FcConfigGetSysRoot (const FcConfig *config);
void
FcConfigSetSysRoot (FcConfig *config,
const FcChar8 *sysroot);
void
FcConfigFileInfoIterInit (FcConfig *config,
FcConfigFileInfoIter *iter);
FcBool
FcConfigFileInfoIterNext (FcConfig *config,
FcConfigFileInfoIter *iter);
FcBool
FcConfigFileInfoIterGet (FcConfig *config,
FcConfigFileInfoIter *iter,
FcChar8 **name,
FcChar8 **description,
FcBool *enabled);
FcCharSet*
FcCharSetCreate (void);
FcCharSet *
FcCharSetNew (void);
void
FcCharSetDestroy (FcCharSet *fcs);
FcBool
FcCharSetAddChar (FcCharSet *fcs, FcChar32 ucs4);
FcBool
FcCharSetDelChar (FcCharSet *fcs, FcChar32 ucs4);
FcCharSet*
FcCharSetCopy (FcCharSet *src);
FcBool
FcCharSetEqual (const FcCharSet *a, const FcCharSet *b);
FcCharSet*
FcCharSetIntersect (const FcCharSet *a, const FcCharSet *b);
FcCharSet*
FcCharSetUnion (const FcCharSet *a, const FcCharSet *b);
FcCharSet*
FcCharSetSubtract (const FcCharSet *a, const FcCharSet *b);
FcBool
FcCharSetMerge (FcCharSet *a, const FcCharSet *b, FcBool *changed);
FcBool
FcCharSetHasChar (const FcCharSet *fcs, FcChar32 ucs4);
FcChar32
FcCharSetCount (const FcCharSet *a);
FcChar32
FcCharSetIntersectCount (const FcCharSet *a, const FcCharSet *b);
FcChar32
FcCharSetSubtractCount (const FcCharSet *a, const FcCharSet *b);
FcBool
FcCharSetIsSubset (const FcCharSet *a, const FcCharSet *b);
FcChar32
FcCharSetFirstPage (const FcCharSet *a,
FcChar32 map[(256/32)],
FcChar32 *next);
FcChar32
FcCharSetNextPage (const FcCharSet *a,
FcChar32 map[(256/32)],
FcChar32 *next);
FcChar32
FcCharSetCoverage (const FcCharSet *a, FcChar32 page, FcChar32 *result);
void
FcValuePrint (const FcValue v);
void
FcPatternPrint (const FcPattern *p);
void
FcFontSetPrint (const FcFontSet *s);
FcStrSet *
FcGetDefaultLangs (void);
void
FcDefaultSubstitute (FcPattern *pattern);
FcBool
FcFileIsDir (const FcChar8 *file);
FcBool
FcFileScan (FcFontSet *set,
FcStrSet *dirs,
FcFileCache *cache,
FcBlanks *blanks,
const FcChar8 *file,
FcBool force);
FcBool
FcDirScan (FcFontSet *set,
FcStrSet *dirs,
FcFileCache *cache,
FcBlanks *blanks,
const FcChar8 *dir,
FcBool force);
FcBool
FcDirSave (FcFontSet *set, FcStrSet *dirs, const FcChar8 *dir);
FcCache *
FcDirCacheLoad (const FcChar8 *dir, FcConfig *config, FcChar8 **cache_file);
FcCache *
FcDirCacheRescan (const FcChar8 *dir, FcConfig *config);
FcCache *
FcDirCacheRead (const FcChar8 *dir, FcBool force, FcConfig *config);
FcCache *
FcDirCacheLoadFile (const FcChar8 *cache_file, struct stat *file_stat);
void
FcDirCacheUnload (FcCache *cache);
FcPattern *
FcFreeTypeQuery (const FcChar8 *file, unsigned int id, FcBlanks *blanks, int *count);
unsigned int
FcFreeTypeQueryAll(const FcChar8 *file, unsigned int id, FcBlanks *blanks, int *count, FcFontSet *set);
FcFontSet *
FcFontSetCreate (void);
void
FcFontSetDestroy (FcFontSet *s);
FcBool
FcFontSetAdd (FcFontSet *s, FcPattern *font);
FcConfig *
FcInitLoadConfig (void);
FcConfig *
FcInitLoadConfigAndFonts (void);
FcBool
FcInit (void);
void
FcFini (void);
int
FcGetVersion (void);
FcBool
FcInitReinitialize (void);
FcBool
FcInitBringUptoDate (void);
FcStrSet *
FcGetLangs (void);
FcChar8 *
FcLangNormalize (const FcChar8 *lang);
const FcCharSet *
FcLangGetCharSet (const FcChar8 *lang);
FcLangSet*
FcLangSetCreate (void);
void
FcLangSetDestroy (FcLangSet *ls);
FcLangSet*
FcLangSetCopy (const FcLangSet *ls);
FcBool
FcLangSetAdd (FcLangSet *ls, const FcChar8 *lang);
FcBool
FcLangSetDel (FcLangSet *ls, const FcChar8 *lang);
FcLangResult
FcLangSetHasLang (const FcLangSet *ls, const FcChar8 *lang);
FcLangResult
FcLangSetCompare (const FcLangSet *lsa, const FcLangSet *lsb);
FcBool
FcLangSetContains (const FcLangSet *lsa, const FcLangSet *lsb);
FcBool
FcLangSetEqual (const FcLangSet *lsa, const FcLangSet *lsb);
FcChar32
FcLangSetHash (const FcLangSet *ls);
FcStrSet *
FcLangSetGetLangs (const FcLangSet *ls);
FcLangSet *
FcLangSetUnion (const FcLangSet *a, const FcLangSet *b);
FcLangSet *
FcLangSetSubtract (const FcLangSet *a, const FcLangSet *b);
FcObjectSet *
FcObjectSetCreate (void);
FcBool
FcObjectSetAdd (FcObjectSet *os, const char *object);
void
FcObjectSetDestroy (FcObjectSet *os);
FcObjectSet *
FcObjectSetVaBuild (const char *first, va_list va);
FcObjectSet *
FcObjectSetBuild (const char *first, ...) __attribute__((__sentinel__(0)));
FcFontSet *
FcFontSetList (FcConfig *config,
FcFontSet **sets,
int nsets,
FcPattern *p,
FcObjectSet *os);
FcFontSet *
FcFontList (FcConfig *config,
FcPattern *p,
FcObjectSet *os);
FcAtomic *
FcAtomicCreate (const FcChar8 *file);
FcBool
FcAtomicLock (FcAtomic *atomic);
FcChar8 *
FcAtomicNewFile (FcAtomic *atomic);
FcChar8 *
FcAtomicOrigFile (FcAtomic *atomic);
FcBool
FcAtomicReplaceOrig (FcAtomic *atomic);
void
FcAtomicDeleteNew (FcAtomic *atomic);
void
FcAtomicUnlock (FcAtomic *atomic);
void
FcAtomicDestroy (FcAtomic *atomic);
FcPattern *
FcFontSetMatch (FcConfig *config,
FcFontSet **sets,
int nsets,
FcPattern *p,
FcResult *result);
FcPattern *
FcFontMatch (FcConfig *config,
FcPattern *p,
FcResult *result);
FcPattern *
FcFontRenderPrepare (FcConfig *config,
FcPattern *pat,
FcPattern *font);
FcFontSet *
FcFontSetSort (FcConfig *config,
FcFontSet **sets,
int nsets,
FcPattern *p,
FcBool trim,
FcCharSet **csp,
FcResult *result);
FcFontSet *
FcFontSort (FcConfig *config,
FcPattern *p,
FcBool trim,
FcCharSet **csp,
FcResult *result);
void
FcFontSetSortDestroy (FcFontSet *fs);
FcMatrix *
FcMatrixCopy (const FcMatrix *mat);
FcBool
FcMatrixEqual (const FcMatrix *mat1, const FcMatrix *mat2);
void
FcMatrixMultiply (FcMatrix *result, const FcMatrix *a, const FcMatrix *b);
void
FcMatrixRotate (FcMatrix *m, double c, double s);
void
FcMatrixScale (FcMatrix *m, double sx, double sy);
void
FcMatrixShear (FcMatrix *m, double sh, double sv);
FcBool
FcNameRegisterObjectTypes (const FcObjectType *types, int ntype);
FcBool
FcNameUnregisterObjectTypes (const FcObjectType *types, int ntype);
const FcObjectType *
FcNameGetObjectType (const char *object);
FcBool
FcNameRegisterConstants (const FcConstant *consts, int nconsts);
FcBool
FcNameUnregisterConstants (const FcConstant *consts, int nconsts);
const FcConstant *
FcNameGetConstant (const FcChar8 *string);
FcBool
FcNameConstant (const FcChar8 *string, int *result);
FcPattern *
FcNameParse (const FcChar8 *name);
FcChar8 *
FcNameUnparse (FcPattern *pat);
FcPattern *
FcPatternCreate (void);
FcPattern *
FcPatternDuplicate (const FcPattern *p);
void
FcPatternReference (FcPattern *p);
FcPattern *
FcPatternFilter (FcPattern *p, const FcObjectSet *os);
void
FcValueDestroy (FcValue v);
FcBool
FcValueEqual (FcValue va, FcValue vb);
FcValue
FcValueSave (FcValue v);
void
FcPatternDestroy (FcPattern *p);
int
FcPatternObjectCount (const FcPattern *pat);
FcBool
FcPatternEqual (const FcPattern *pa, const FcPattern *pb);
FcBool
FcPatternEqualSubset (const FcPattern *pa, const FcPattern *pb, const FcObjectSet *os);
FcChar32
FcPatternHash (const FcPattern *p);
FcBool
FcPatternAdd (FcPattern *p, const char *object, FcValue value, FcBool append);
FcBool
FcPatternAddWeak (FcPattern *p, const char *object, FcValue value, FcBool append);
FcResult
FcPatternGet (const FcPattern *p, const char *object, int id, FcValue *v);
FcResult
FcPatternGetWithBinding (const FcPattern *p, const char *object, int id, FcValue *v, FcValueBinding *b);
FcBool
FcPatternDel (FcPattern *p, const char *object);
FcBool
FcPatternRemove (FcPattern *p, const char *object, int id);
FcBool
FcPatternAddInteger (FcPattern *p, const char *object, int i);
FcBool
FcPatternAddDouble (FcPattern *p, const char *object, double d);
FcBool
FcPatternAddString (FcPattern *p, const char *object, const FcChar8 *s);
FcBool
FcPatternAddMatrix (FcPattern *p, const char *object, const FcMatrix *s);
FcBool
FcPatternAddCharSet (FcPattern *p, const char *object, const FcCharSet *c);
FcBool
FcPatternAddBool (FcPattern *p, const char *object, FcBool b);
FcBool
FcPatternAddLangSet (FcPattern *p, const char *object, const FcLangSet *ls);
FcBool
FcPatternAddRange (FcPattern *p, const char *object, const FcRange *r);
FcResult
FcPatternGetInteger (const FcPattern *p, const char *object, int n, int *i);
FcResult
FcPatternGetDouble (const FcPattern *p, const char *object, int n, double *d);
FcResult
FcPatternGetString (const FcPattern *p, const char *object, int n, FcChar8 ** s);
FcResult
FcPatternGetMatrix (const FcPattern *p, const char *object, int n, FcMatrix **s);
FcResult
FcPatternGetCharSet (const FcPattern *p, const char *object, int n, FcCharSet **c);
FcResult
FcPatternGetBool (const FcPattern *p, const char *object, int n, FcBool *b);
FcResult
FcPatternGetLangSet (const FcPattern *p, const char *object, int n, FcLangSet **ls);
FcResult
FcPatternGetRange (const FcPattern *p, const char *object, int id, FcRange **r);
FcPattern *
FcPatternVaBuild (FcPattern *p, va_list va);
FcPattern *
FcPatternBuild (FcPattern *p, ...) __attribute__((__sentinel__(0)));
FcChar8 *
FcPatternFormat (FcPattern *pat, const FcChar8 *format);
FcRange *
FcRangeCreateDouble (double begin, double end);
FcRange *
FcRangeCreateInteger (FcChar32 begin, FcChar32 end);
void
FcRangeDestroy (FcRange *range);
FcRange *
FcRangeCopy (const FcRange *r);
FcBool
FcRangeGetDouble(const FcRange *range, double *begin, double *end);
void
FcPatternIterStart (const FcPattern *pat, FcPatternIter *iter);
FcBool
FcPatternIterNext (const FcPattern *pat, FcPatternIter *iter);
FcBool
FcPatternIterEqual (const FcPattern *p1, FcPatternIter *i1,
const FcPattern *p2, FcPatternIter *i2);
FcBool
FcPatternFindIter (const FcPattern *pat, FcPatternIter *iter, const char *object);
FcBool
FcPatternIterIsValid (const FcPattern *pat, FcPatternIter *iter);
const char *
FcPatternIterGetObject (const FcPattern *pat, FcPatternIter *iter);
int
FcPatternIterValueCount (const FcPattern *pat, FcPatternIter *iter);
FcResult
FcPatternIterGetValue (const FcPattern *pat, FcPatternIter *iter, int id, FcValue *v, FcValueBinding *b);
int
FcWeightFromOpenType (int ot_weight);
double
FcWeightFromOpenTypeDouble (double ot_weight);
int
FcWeightToOpenType (int fc_weight);
double
FcWeightToOpenTypeDouble (double fc_weight);
FcChar8 *
FcStrCopy (const FcChar8 *s);
FcChar8 *
FcStrCopyFilename (const FcChar8 *s);
FcChar8 *
FcStrPlus (const FcChar8 *s1, const FcChar8 *s2);
void
FcStrFree (FcChar8 *s);
FcChar8 *
FcStrDowncase (const FcChar8 *s);
int
FcStrCmpIgnoreCase (const FcChar8 *s1, const FcChar8 *s2);
int
FcStrCmp (const FcChar8 *s1, const FcChar8 *s2);
const FcChar8 *
FcStrStrIgnoreCase (const FcChar8 *s1, const FcChar8 *s2);
const FcChar8 *
FcStrStr (const FcChar8 *s1, const FcChar8 *s2);
int
FcUtf8ToUcs4 (const FcChar8 *src_orig,
FcChar32 *dst,
int len);
FcBool
FcUtf8Len (const FcChar8 *string,
int len,
int *nchar,
int *wchar);
int
FcUcs4ToUtf8 (FcChar32 ucs4,
FcChar8 dest[6]);
int
FcUtf16ToUcs4 (const FcChar8 *src_orig,
FcEndian endian,
FcChar32 *dst,
int len);
FcBool
FcUtf16Len (const FcChar8 *string,
FcEndian endian,
int len,
int *nchar,
int *wchar);
FcChar8 *
FcStrDirname (const FcChar8 *file);
FcChar8 *
FcStrBasename (const FcChar8 *file);
FcStrSet *
FcStrSetCreate (void);
FcBool
FcStrSetMember (FcStrSet *set, const FcChar8 *s);
FcBool
FcStrSetEqual (FcStrSet *sa, FcStrSet *sb);
FcBool
FcStrSetAdd (FcStrSet *set, const FcChar8 *s);
FcBool
FcStrSetAddFilename (FcStrSet *set, const FcChar8 *s);
FcBool
FcStrSetDel (FcStrSet *set, const FcChar8 *s);
void
FcStrSetDestroy (FcStrSet *set);
FcStrList *
FcStrListCreate (FcStrSet *set);
void
FcStrListFirst (FcStrList *list);
FcChar8 *
FcStrListNext (FcStrList *list);
void
FcStrListDone (FcStrList *list);
FcBool
FcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, FcBool complain);
FcBool
FcConfigParseAndLoadFromMemory (FcConfig *config,
const FcChar8 *buffer,
FcBool complain);
# 161 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGFont.h" 2
CGFontRef OPFontCreateWithFcPattern(FcPattern * pat);
CGSize OPFontGetMaximumAdvancement(CGFontRef font);
CGGlyph OPFontGetGlyphWithCharacter(CGFontRef font, unichar character);
# 45 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGImage.h" 1
# 34 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGImage.h"
typedef struct CGImage* CGImageRef;
# 48 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGImage.h"
enum
{
kCGImageAlphaNone = 0,
kCGImageAlphaPremultipliedLast = 1,
kCGImageAlphaPremultipliedFirst = 2,
kCGImageAlphaLast = 3,
kCGImageAlphaFirst = 4,
kCGImageAlphaNoneSkipLast = 5,
kCGImageAlphaNoneSkipFirst = 6,
kCGImageAlphaOnly = 7
};
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 CGImageAlphaInfo;
typedef uint32_t CGBitmapInfo;
enum
{
kCGImagePropertyOrientationUp = 1,
kCGImagePropertyOrientationUpMirrored,
kCGImagePropertyOrientationDown,
kCGImagePropertyOrientationDownMirrored,
kCGImagePropertyOrientationLeftMirrored,
kCGImagePropertyOrientationRight,
kCGImagePropertyOrientationRightMirrored,
kCGImagePropertyOrientationLeft
};
typedef int CGImagePropertyOrientation;
extern const CFStringRef kCGImagePropertyOrientation;
extern const CFStringRef kCGImagePropertyPixelHeight;
extern const CFStringRef kCGImagePropertyPixelWidth;
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;
extern const CFStringRef kCGImagePropertyOpenEXRDictionary;
extern const CFStringRef kCGImagePropertyMakerAppleDictionary;
extern const CFStringRef kCGImagePropertyJFIFVersion;
extern const CFStringRef kCGImagePropertyJFIFXDensity;
extern const CFStringRef kCGImagePropertyJFIFYDensity;
extern const CFStringRef kCGImagePropertyJFIFDensityUnit;
extern const CFStringRef kCGImagePropertyJFIFIsProgressive;
extern const CFStringRef kCGImagePropertyGIFLoopCount;
extern const CFStringRef kCGImagePropertyGIFDelayTime;
extern const CFStringRef kCGImagePropertyGIFImageColorMap;
extern const CFStringRef kCGImagePropertyGIFHasGlobalColorMap;
extern const CFStringRef kCGImagePropertyGIFUnclampedDelayTime;
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 kCGImagePropertyPNGAuthor;
extern const CFStringRef kCGImagePropertyPNGCopyright;
extern const CFStringRef kCGImagePropertyPNGCreationTime;
extern const CFStringRef kCGImagePropertyPNGDescription;
extern const CFStringRef kCGImagePropertyPNGModificationTime;
extern const CFStringRef kCGImagePropertyPNGSoftware;
extern const CFStringRef kCGImagePropertyPNGTitle;
extern const CFStringRef kCGImagePropertyAPNGLoopCount;
extern const CFStringRef kCGImagePropertyAPNGDelayTime;
extern const CFStringRef kCGImagePropertyAPNGUnclampedDelayTime;
# 156 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGImage.h"
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
);
CGImageRef CGImageMaskCreate(
size_t width,
size_t height,
size_t bitsPerComponent,
size_t bitsPerPixel,
size_t bytesPerRow,
CGDataProviderRef provider,
const CGFloat decode[],
_Bool shouldInterpolate
);
CGImageRef CGImageCreateCopy(CGImageRef image);
CGImageRef CGImageCreateCopyWithColorSpace(
CGImageRef image,
CGColorSpaceRef colorspace
);
CGImageRef CGImageCreateWithImageInRect(
CGImageRef image,
CGRect rect
);
CGImageRef CGImageCreateWithJPEGDataProvider (
CGDataProviderRef source,
const CGFloat decode[],
_Bool shouldInterpolate,
CGColorRenderingIntent intent
);
CGImageRef CGImageCreateWithMask (
CGImageRef image,
CGImageRef mask
);
CGImageRef CGImageCreateWithMaskingColors (
CGImageRef image,
const CGFloat components[]
);
CGImageRef CGImageCreateWithPNGDataProvider (
CGDataProviderRef source,
const CGFloat decode[],
_Bool shouldInterpolate,
CGColorRenderingIntent intent
);
CFTypeID CGImageGetTypeID();
CGImageRef CGImageRetain(CGImageRef image);
void CGImageRelease(CGImageRef image);
_Bool CGImageIsMask(CGImageRef image);
size_t CGImageGetWidth(CGImageRef image);
size_t CGImageGetHeight(CGImageRef image);
size_t CGImageGetBitsPerComponent(CGImageRef image);
size_t CGImageGetBitsPerPixel(CGImageRef image);
size_t CGImageGetBytesPerRow(CGImageRef image);
CGColorSpaceRef CGImageGetColorSpace(CGImageRef image);
CGImageAlphaInfo CGImageGetAlphaInfo(CGImageRef image);
CGBitmapInfo CGImageGetBitmapInfo(CGImageRef image);
CGDataProviderRef CGImageGetDataProvider(CGImageRef image);
const CGFloat *CGImageGetDecode(CGImageRef image);
_Bool CGImageGetShouldInterpolate(CGImageRef image);
CGColorRenderingIntent CGImageGetRenderingIntent(CGImageRef image);
# 46 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPath.h" 1
# 37 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPath.h"
enum {
kCGPathElementMoveToPoint = 0,
kCGPathElementAddLineToPoint = 1,
kCGPathElementAddQuadCurveToPoint = 2,
kCGPathElementAddCurveToPoint = 3,
kCGPathElementCloseSubpath = 4
};
typedef int CGPathElementType;
# 53 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPath.h"
typedef const struct CGPath* CGPathRef;
typedef struct CGPath* CGMutablePathRef;
typedef struct CGPathElement {
CGPathElementType type;
CGPoint *points;
} CGPathElement;
typedef void (*CGPathApplierFunction)(void *info, const CGPathElement *element);
CGPathRef CGPathCreateCopy(CGPathRef path);
CGMutablePathRef CGPathCreateMutable();
CGMutablePathRef CGPathCreateMutableCopy(CGPathRef path);
CGPathRef CGPathRetain(CGPathRef path);
void CGPathRelease(CGPathRef path);
_Bool CGPathIsEmpty(CGPathRef path);
_Bool CGPathEqualToPath(CGPathRef path1, CGPathRef path2);
_Bool CGPathIsRect(CGPathRef path, CGRect *rect);
CGRect CGPathGetPathBoundingBox(CGPathRef path);
CGPoint CGPathGetCurrentPoint(CGPathRef path);
_Bool CGPathContainsPoint(
CGPathRef path,
const CGAffineTransform *m,
CGPoint point,
int eoFill
);
void CGPathAddArc(
CGMutablePathRef path,
const CGAffineTransform *m,
CGFloat x,
CGFloat y,
CGFloat r,
CGFloat startAngle,
CGFloat endAngle,
int clockwise
);
void CGPathAddArcToPoint(
CGMutablePathRef path,
const CGAffineTransform *m,
CGFloat x1,
CGFloat y1,
CGFloat x2,
CGFloat y2,
CGFloat r
);
void CGPathAddCurveToPoint(
CGMutablePathRef path,
const CGAffineTransform *m,
CGFloat cx1,
CGFloat cy1,
CGFloat cx2,
CGFloat cy2,
CGFloat x,
CGFloat y
);
void CGPathAddLines(
CGMutablePathRef path,
const CGAffineTransform *m,
const CGPoint points[],
size_t count
);
void CGPathAddLineToPoint (
CGMutablePathRef path,
const CGAffineTransform *m,
CGFloat x,
CGFloat y
);
void CGPathAddPath(
CGMutablePathRef path1,
const CGAffineTransform *m,
CGPathRef path2
);
void CGPathAddQuadCurveToPoint(
CGMutablePathRef path,
const CGAffineTransform *m,
CGFloat cx,
CGFloat cy,
CGFloat x,
CGFloat y
);
void CGPathAddRect(
CGMutablePathRef path,
const CGAffineTransform *m,
CGRect rect
);
void CGPathAddRects(
CGMutablePathRef path,
const CGAffineTransform *m,
const CGRect rects[],
size_t count
);
void CGPathApply(
CGPathRef path,
void *info,
CGPathApplierFunction function
);
void CGPathMoveToPoint(
CGMutablePathRef path,
const CGAffineTransform *m,
CGFloat x,
CGFloat y
);
void CGPathCloseSubpath(CGMutablePathRef path);
void CGPathAddEllipseInRect(
CGMutablePathRef path,
const CGAffineTransform *m,
CGRect rect
);
CGMutablePathRef CGPathCreateMutableCopyByTransformingPath(
CGPathRef path, const CGAffineTransform *transform);
CGRect CGPathGetBoundingBox(CGPathRef path);
void CGPathAddRoundedRect(CGMutablePathRef path,
const CGAffineTransform *transform, CGRect rect,
CGFloat cornerWidth, CGFloat cornerHeight);
CGPathRef CGPathCreateWithRect(CGRect rect,
const CGAffineTransform *transform);
# 47 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDocument.h" 1
# 34 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDocument.h"
typedef struct CGPDFDocument* CGPDFDocumentRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGDataConsumer.h" 1
# 34 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGDataConsumer.h"
typedef struct CGDataConsumer* CGDataConsumerRef;
# 45 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGDataConsumer.h"
typedef size_t (*CGDataConsumerPutBytesCallback)(
void *info,
const void *buffer,
size_t count
);
typedef void (*CGDataConsumerReleaseInfoCallback)(void *info);
typedef struct CGDataConsumerCallbacks
{
CGDataConsumerPutBytesCallback putBytes;
CGDataConsumerReleaseInfoCallback releaseConsumer;
} CGDataConsumerCallbacks;
CGDataConsumerRef CGDataConsumerCreate(
void *info,
const CGDataConsumerCallbacks *callbacks
);
CGDataConsumerRef CGDataConsumerCreateWithCFData(CFMutableDataRef data);
CGDataConsumerRef CGDataConsumerCreateWithURL(CFURLRef url);
CFTypeID CGDataConsumerGetTypeID();
void CGDataConsumerRelease(CGDataConsumerRef consumer);
CGDataConsumerRef CGDataConsumerRetain(CGDataConsumerRef consumer);
# 40 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDocument.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFPage.h" 1
# 33 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFPage.h"
typedef struct CGPDFPage* CGPDFPageRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDocument.h" 1
# 38 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFPage.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDictionary.h" 1
# 33 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDictionary.h"
typedef struct CGPDFDictionary* CGPDFDictionaryRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFObject.h" 1
# 31 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFObject.h"
typedef unsigned char CGPDFBoolean;
typedef long int CGPDFInteger;
typedef CGFloat CGPDFReal;
typedef struct CGPDFObject* CGPDFObjectRef;
# 50 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFObject.h"
enum {
kCGPDFObjectTypeNull = 1,
kCGPDFObjectTypeBoolean = 2,
kCGPDFObjectTypeInteger = 3,
kCGPDFObjectTypeReal = 4,
kCGPDFObjectTypeName = 5,
kCGPDFObjectTypeString = 6,
kCGPDFObjectTypeArray = 7,
kCGPDFObjectTypeDictionary = 8,
kCGPDFObjectTypeStream = 9
};
typedef int CGPDFObjectType;
CGPDFObjectType CGPDFObjectGetType(CGPDFObjectRef object);
_Bool CGPDFObjectGetValue(CGPDFObjectRef object, CGPDFObjectType type, void *value);
# 38 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDictionary.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFArray.h" 1
# 33 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFArray.h"
typedef struct CGPDFArray* CGPDFArrayRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFString.h" 1
# 33 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFString.h"
typedef struct CGPDFString* CGPDFStringRef;
# 44 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFString.h"
size_t CGPDFStringGetLength(CGPDFStringRef string);
const unsigned char *CGPDFStringGetBytePtr(CGPDFStringRef string);
CFStringRef CGPDFStringCopyTextString(CGPDFStringRef string);
CFDateRef CGPDFStringCopyDate(CGPDFStringRef string);
# 39 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFArray.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDictionary.h" 1
# 40 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFArray.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFStream.h" 1
# 33 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFStream.h"
typedef struct CGPDFStream* CGPDFStreamRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDictionary.h" 1
# 37 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFStream.h" 2
enum {
CGPDFDataFormatRaw = 0,
CGPDFDataFormatJPEGEncoded = 1,
CGPDFDataFormatJPEG2000 = 2
};
typedef int CGPDFDataFormat;
CGPDFDictionaryRef CGPDFStreamGetDictionary(CGPDFStreamRef stream);
CFDataRef CGPDFStreamCopyData(CGPDFStreamRef stream, CGPDFDataFormat *format);
# 41 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFArray.h" 2
_Bool CGPDFArrayGetArray(CGPDFArrayRef array, size_t index, CGPDFArrayRef *value);
_Bool CGPDFArrayGetBoolean(CGPDFArrayRef array, size_t index, CGPDFBoolean *value);
size_t CGPDFArrayGetCount(CGPDFArrayRef array);
_Bool CGPDFArrayGetDictionary(CGPDFArrayRef array, size_t index, CGPDFDictionaryRef *value);
_Bool CGPDFArrayGetInteger(CGPDFArrayRef array, size_t index, CGPDFInteger *value);
_Bool CGPDFArrayGetName(CGPDFArrayRef array, size_t index, const char **value);
_Bool CGPDFArrayGetNull(CGPDFArrayRef array, size_t index);
_Bool CGPDFArrayGetNumber(CGPDFArrayRef array, size_t index, CGPDFReal *value);
_Bool CGPDFArrayGetObject(CGPDFArrayRef array, size_t index, CGPDFObjectRef *value);
_Bool CGPDFArrayGetStream(CGPDFArrayRef array, size_t index, CGPDFStreamRef *value);
_Bool CGPDFArrayGetString(CGPDFArrayRef array, size_t index, CGPDFStringRef *value);
# 39 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDictionary.h" 2
typedef void (*CGPDFDictionaryApplierFunction)(
const char *key,
CGPDFObjectRef value,
void *info
);
void CGPDFDictionaryApplyFunction(CGPDFDictionaryRef dict, CGPDFDictionaryApplierFunction function, void *info);
size_t CGPDFDictionaryGetCount(CGPDFDictionaryRef dict);
_Bool CGPDFDictionaryGetArray(CGPDFDictionaryRef dict, const char *key, CGPDFArrayRef *value);
_Bool CGPDFDictionaryGetBoolean(CGPDFDictionaryRef dict, const char *key, CGPDFBoolean *value);
_Bool CGPDFDictionaryGetDictionary(CGPDFDictionaryRef dict, const char *key, CGPDFDictionaryRef *value);
_Bool CGPDFDictionaryGetInteger(CGPDFDictionaryRef dict, const char *key, CGPDFInteger *value);
_Bool CGPDFDictionaryGetName(CGPDFDictionaryRef dict, const char *key, const char **value);
_Bool CGPDFDictionaryGetNumber(CGPDFDictionaryRef dict, const char *key, CGPDFReal *value);
_Bool CGPDFDictionaryGetObject(CGPDFDictionaryRef dict, const char *key, CGPDFObjectRef *value);
_Bool CGPDFDictionaryGetStream(CGPDFDictionaryRef dict, const char *key, CGPDFStreamRef *value);
_Bool CGPDFDictionaryGetString(CGPDFDictionaryRef dict, const char *key, CGPDFStringRef *value);
# 40 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFPage.h" 2
enum {
kCGPDFMediaBox = 0,
kCGPDFCropBox = 1,
kCGPDFBleedBox = 2,
kCGPDFTrimBox = 3,
kCGPDFArtBox = 4
};
typedef int CGPDFBox;
CGPDFDocumentRef CGPDFPageGetDocument(CGPDFPageRef page);
size_t CGPDFPageGetPageNumber(CGPDFPageRef page);
CGRect CGPDFPageGetBoxRect(CGPDFPageRef page, CGPDFBox box);
int CGPDFPageGetRotationAngle(CGPDFPageRef page);
CGAffineTransform CGPDFPageGetDrawingTransform(
CGPDFPageRef page,
CGPDFBox box,
CGRect rect,
int rotate,
_Bool preserveAspectRatio
);
CGPDFDictionaryRef CGPDFPageGetDictionary(CGPDFPageRef page);
CFTypeID CGPDFPageGetTypeID(void);
CGPDFPageRef CGPDFPageRetain(CGPDFPageRef page);
void CGPDFPageRelease(CGPDFPageRef page);
# 42 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFDocument.h" 2
CGPDFDocumentRef CGPDFDocumentCreateWithProvider(CGDataProviderRef provider);
CGPDFDocumentRef CGPDFDocumentCreateWithURL(CFURLRef url);
CGPDFDocumentRef CGPDFDocumentRetain(CGPDFDocumentRef document);
void CGPDFDocumentRelease(CGPDFDocumentRef document);
int CGPDFDocumentGetNumberOfPages(CGPDFDocumentRef document);
CGRect CGPDFDocumentGetMediaBox(CGPDFDocumentRef document, int page);
CGRect CGPDFDocumentGetCropBox(CGPDFDocumentRef document, int page);
CGRect CGPDFDocumentGetBleedBox(CGPDFDocumentRef document, int page);
CGRect CGPDFDocumentGetTrimBox(CGPDFDocumentRef document, int page);
CGRect CGPDFDocumentGetArtBox(CGPDFDocumentRef document, int page);
int CGPDFDocumentGetRotationAngle(CGPDFDocumentRef document, int page);
CGPDFPageRef CGPDFDocumentGetPage(
CGPDFDocumentRef document, int pageNumber);
# 49 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGGradient.h" 1
# 33 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGGradient.h"
typedef struct CGGradient* CGGradientRef;
# 45 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGGradient.h"
enum {
kCGGradientDrawsBeforeStartLocation = (1 << 0),
kCGGradientDrawsAfterEndLocation = (1 << 1)
};
typedef int CGGradientDrawingOptions;
CGGradientRef CGGradientCreateWithColorComponents(
CGColorSpaceRef cs,
const CGFloat components[],
const CGFloat locations[],
size_t count
);
CGGradientRef CGGradientCreateWithColors(
CGColorSpaceRef cs,
CFArrayRef colors,
const CGFloat locations[]
);
CFTypeID CGGradientGetTypeID();
CGGradientRef CGGradientRetain(CGGradientRef grad);
void CGGradientRelease(CGGradientRef grad);
# 51 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGShading.h" 1
# 34 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGShading.h"
typedef struct CGShading* CGShadingRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGFunction.h" 1
# 34 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGFunction.h"
typedef struct CGFunction* CGFunctionRef;
# 45 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGFunction.h"
typedef void (*CGFunctionEvaluateCallback)(
void *info,
const CGFloat *inData,
CGFloat *outData
);
typedef void (*CGFunctionReleaseInfoCallback)(void *info);
typedef struct CGFunctionCallbacks {
unsigned int version;
CGFunctionEvaluateCallback evaluate;
CGFunctionReleaseInfoCallback releaseInfo;
} CGFunctionCallbacks;
CGFunctionRef CGFunctionCreate(
void *info,
size_t domainDimension,
const CGFloat *domain,
size_t rangeDimension,
const CGFloat *range,
const CGFunctionCallbacks *callbacks
);
CGFunctionRef CGFunctionRetain(CGFunctionRef function);
void CGFunctionRelease(CGFunctionRef function);
# 39 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGShading.h" 2
# 48 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGShading.h"
CGShadingRef CGShadingCreateAxial(
CGColorSpaceRef colorspace,
CGPoint start,
CGPoint end,
CGFunctionRef function,
int extendStart,
int extendEnd
);
CGShadingRef CGShadingCreateRadial(
CGColorSpaceRef colorspace,
CGPoint start,
CGFloat startRadius,
CGPoint end,
CGFloat endRadius,
CGFunctionRef function,
int extendStart,
int extendEnd
);
CFTypeID CGShadingGetTypeID();
CGShadingRef CGShadingRetain(CGShadingRef shading);
void CGShadingRelease(CGShadingRef shading);
# 52 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGContext.h" 2
enum {
kCGBlendModeNormal = 0,
kCGBlendModeMultiply = 1,
kCGBlendModeScreen = 2,
kCGBlendModeOverlay = 3,
kCGBlendModeDarken = 4,
kCGBlendModeLighten = 5,
kCGBlendModeColorDodge = 6,
kCGBlendModeColorBurn = 7,
kCGBlendModeSoftLight = 8,
kCGBlendModeHardLight = 9,
kCGBlendModeDifference = 10,
kCGBlendModeExclusion = 11,
kCGBlendModeHue = 12,
kCGBlendModeSaturation = 13,
kCGBlendModeColor = 14,
kCGBlendModeLuminosity = 15,
kCGBlendModeClear = 16,
kCGBlendModeCopy = 17,
kCGBlendModeSourceIn = 18,
kCGBlendModeSourceOut = 19,
kCGBlendModeSourceAtop = 20,
kCGBlendModeDestinationOver = 21,
kCGBlendModeDestinationIn = 22,
kCGBlendModeDestinationOut = 23,
kCGBlendModeDestinationAtop = 24,
kCGBlendModeXOR = 25,
kCGBlendModePlusDarker = 26,
kCGBlendModePlusLighter = 27
};
typedef int CGBlendMode;
enum {
kCGInterpolationDefault = 0,
kCGInterpolationNone = 1,
kCGInterpolationLow = 2,
kCGInterpolationMedium = 4,
kCGInterpolationHigh = 3
};
typedef int CGInterpolationQuality;
enum {
kCGLineCapButt = 0,
kCGLineCapRound = 1,
kCGLineCapSquare = 2
};
typedef int CGLineCap;
enum {
kCGLineJoinMiter = 0,
kCGLineJoinRound = 1,
kCGLineJoinBevel = 2
};
typedef int CGLineJoin;
enum {
kCGPathFill = 0,
kCGPathEOFill = 1,
kCGPathStroke = 2,
kCGPathFillStroke = 3,
kCGPathEOFillStroke = 4
};
typedef int CGPathDrawingMode;
enum {
kCGTextFill = 0,
kCGTextStroke = 1,
kCGTextFillStroke = 2,
kCGTextInvisible = 3,
kCGTextFillClip = 4,
kCGTextStrokeClip = 5,
kCGTextFillStrokeClip = 6,
kCGTextClip = 7
};
typedef int CGTextDrawingMode;
enum {
kCGEncodingFontSpecific = 0,
kCGEncodingMacRoman = 1
};
typedef int CGTextEncoding;
CFTypeID CGContextGetTypeID();
CGContextRef CGContextRetain(CGContextRef ctx);
void CGContextRelease(CGContextRef ctx);
void CGContextFlush(CGContextRef ctx);
void CGContextSynchronize(CGContextRef ctx);
void CGContextBeginPage(CGContextRef ctx, const CGRect *mediaBox);
void CGContextEndPage(CGContextRef ctx);
void CGContextScaleCTM(CGContextRef ctx, CGFloat sx, CGFloat sy);
void CGContextTranslateCTM(CGContextRef ctx, CGFloat tx, CGFloat ty);
void CGContextRotateCTM(CGContextRef ctx, CGFloat angle);
void CGContextConcatCTM(CGContextRef ctx, CGAffineTransform transform);
CGAffineTransform CGContextGetCTM(CGContextRef ctx);
void CGContextSaveGState(CGContextRef ctx);
void CGContextRestoreGState(CGContextRef ctx);
void CGContextSetShouldAntialias(CGContextRef ctx, int shouldAntialias);
void CGContextSetLineWidth(CGContextRef ctx, CGFloat width);
void CGContextSetLineJoin(CGContextRef ctx, CGLineJoin join);
void CGContextSetMiterLimit(CGContextRef ctx, CGFloat limit);
void CGContextSetLineCap(CGContextRef ctx, CGLineCap cap);
void CGContextSetLineDash(
CGContextRef ctx,
CGFloat phase,
const CGFloat lengths[],
size_t count
);
void CGContextSetFlatness(CGContextRef ctx, CGFloat flatness);
CGInterpolationQuality CGContextGetInterpolationQuality(CGContextRef ctx);
void CGContextSetInterpolationQuality(
CGContextRef ctx,
CGInterpolationQuality quality
);
void CGContextSetPatternPhase (CGContextRef ctx, CGSize phase);
void CGContextSetFillPattern(
CGContextRef ctx,
CGPatternRef pattern,
const CGFloat components[]
);
void CGContextSetStrokePattern(
CGContextRef ctx,
CGPatternRef pattern,
const CGFloat components[]
);
void CGContextSetShouldSmoothFonts(CGContextRef ctx, int shouldSmoothFonts);
void CGContextSetAllowsFontSmoothing(CGContextRef ctx, _Bool allowsFontSmoothing);
void CGContextSetBlendMode(CGContextRef ctx, CGBlendMode mode);
void CGContextSetAllowsAntialiasing(CGContextRef ctx, int allowsAntialiasing);
void CGContextSetShouldSubpixelPositionFonts(
CGContextRef ctx,
_Bool shouldSubpixelPositionFonts
);
void CGContextSetAllowsFontSubpixelPositioning(
CGContextRef ctx,
_Bool allowsFontSubpixelPositioning
);
void CGContextSetShouldSubpixelQuantizeFonts(
CGContextRef ctx,
_Bool shouldSubpixelQuantizeFonts
);
void CGContextSetAllowsFontSubpixelQuantization(
CGContextRef ctx,
_Bool allowsFontSubpixelQuantization
);
void CGContextSetShadow(
CGContextRef ctx,
CGSize offset,
CGFloat radius
);
void CGContextSetShadowWithColor(
CGContextRef ctx,
CGSize offset,
CGFloat radius,
CGColorRef color
);
void CGContextBeginPath(CGContextRef ctx);
void CGContextClosePath(CGContextRef ctx);
void CGContextMoveToPoint(CGContextRef ctx, CGFloat x, CGFloat y);
void CGContextAddLineToPoint(CGContextRef ctx, CGFloat x, CGFloat y);
void CGContextAddLines(CGContextRef ctx, const CGPoint points[], size_t count);
void CGContextAddCurveToPoint(
CGContextRef ctx,
CGFloat cp1x,
CGFloat cp1y,
CGFloat cp2x,
CGFloat cp2y,
CGFloat x,
CGFloat y
);
void CGContextAddQuadCurveToPoint(
CGContextRef ctx,
CGFloat cpx,
CGFloat cpy,
CGFloat x,
CGFloat y
);
void CGContextAddRect(CGContextRef ctx, CGRect rect);
void CGContextAddRects(CGContextRef ctx, const CGRect rects[], size_t count);
void CGContextAddArc(
CGContextRef ctx,
CGFloat x,
CGFloat y,
CGFloat radius,
CGFloat startAngle,
CGFloat endAngle,
int clockwise
);
void CGContextAddArcToPoint(
CGContextRef ctx,
CGFloat x1,
CGFloat y1,
CGFloat x2,
CGFloat y2,
CGFloat radius
);
void CGContextAddPath(CGContextRef ctx, CGPathRef path);
void CGContextAddEllipseInRect(CGContextRef ctx, CGRect rect);
void CGContextReplacePathWithStrokedPath(CGContextRef ctx);
void CGContextStrokePath(CGContextRef ctx);
void CGContextFillPath(CGContextRef ctx);
void CGContextEOFillPath(CGContextRef ctx);
void CGContextDrawPath(CGContextRef ctx, CGPathDrawingMode mode);
void CGContextStrokeRect(CGContextRef ctx, CGRect rect);
void CGContextStrokeRectWithWidth(CGContextRef ctx, CGRect rect, CGFloat width);
void CGContextFillRect(CGContextRef ctx, CGRect rect);
void CGContextFillRects(CGContextRef ctx, const CGRect rects[], size_t count);
void CGContextClearRect(CGContextRef ctx, CGRect rect);
void CGContextFillEllipseInRect(CGContextRef ctx, CGRect rect);
void CGContextStrokeEllipseInRect(CGContextRef ctx, CGRect rect);
void CGContextStrokeLineSegments(
CGContextRef ctx,
const CGPoint points[],
size_t count
);
_Bool CGContextIsPathEmpty(CGContextRef ctx);
CGPoint CGContextGetPathCurrentPoint(CGContextRef ctx);
CGRect CGContextGetPathBoundingBox(CGContextRef ctx);
CGPathRef CGContextCopyPath(CGContextRef context);
void CGContextClip(CGContextRef ctx);
void CGContextEOClip(CGContextRef ctx);
void CGContextClipToRect(CGContextRef ctx, CGRect rect);
void CGContextClipToRects(CGContextRef ctx, const CGRect rects[], size_t count);
void CGContextClipToMask(CGContextRef ctx, CGRect rect, CGImageRef mask);
CGRect CGContextGetClipBoundingBox(CGContextRef ctx);
void CGContextSetFillColorWithColor(CGContextRef ctx, CGColorRef color);
void CGContextSetStrokeColorWithColor(CGContextRef ctx, CGColorRef color);
void CGContextSetAlpha(CGContextRef ctx, CGFloat alpha);
void CGContextSetFillColorSpace(CGContextRef ctx, CGColorSpaceRef colorspace);
void CGContextSetStrokeColorSpace(CGContextRef ctx, CGColorSpaceRef colorspace);
void CGContextSetFillColor(CGContextRef ctx, const CGFloat components[]);
void CGContextSetStrokeColor(CGContextRef ctx, const CGFloat components[]);
void CGContextSetGrayFillColor(CGContextRef ctx, CGFloat gray, CGFloat alpha);
void CGContextSetGrayStrokeColor(CGContextRef ctx, CGFloat gray, CGFloat alpha);
void CGContextSetRGBFillColor(
CGContextRef ctx,
CGFloat r,
CGFloat g,
CGFloat b,
CGFloat alpha
);
void CGContextSetRGBStrokeColor(
CGContextRef ctx,
CGFloat r,
CGFloat g,
CGFloat b,
CGFloat alpha
);
void CGContextSetCMYKFillColor(
CGContextRef ctx,
CGFloat c,
CGFloat m,
CGFloat y,
CGFloat k,
CGFloat alpha
);
void CGContextSetCMYKStrokeColor(
CGContextRef ctx,
CGFloat c,
CGFloat m,
CGFloat y,
CGFloat k,
CGFloat alpha
);
void CGContextSetRenderingIntent(CGContextRef ctx, CGColorRenderingIntent intent);
void CGContextDrawImage(CGContextRef ctx, CGRect rect, CGImageRef image);
void CGContextDrawTiledImage(CGContextRef ctx, CGRect rect, CGImageRef image);
void CGContextDrawPDFDocument(
CGContextRef ctx,
CGRect rect,
CGPDFDocumentRef document,
int page
);
void CGContextDrawPDFPage(CGContextRef ctx, CGPDFPageRef page);
void CGContextDrawLinearGradient(
CGContextRef ctx,
CGGradientRef gradient,
CGPoint startPoint,
CGPoint endPoint,
CGGradientDrawingOptions options
);
void CGContextDrawRadialGradient(
CGContextRef ctx,
CGGradientRef gradient,
CGPoint startCenter,
CGFloat startRadius,
CGPoint endCenter,
CGFloat endRadius,
CGGradientDrawingOptions options
);
void CGContextDrawShading(
CGContextRef ctx,
CGShadingRef shading
);
void CGContextSetFont(CGContextRef ctx, CGFontRef font);
void CGContextSetFontSize(CGContextRef ctx, CGFloat size);
void CGContextSelectFont(
CGContextRef ctx,
const char *name,
CGFloat size,
CGTextEncoding textEncoding
);
void CGContextSetCharacterSpacing(CGContextRef ctx, CGFloat spacing);
void CGContextSetTextDrawingMode(CGContextRef ctx, CGTextDrawingMode mode);
void CGContextSetTextPosition(CGContextRef ctx, CGFloat x, CGFloat y);
CGPoint CGContextGetTextPosition(CGContextRef ctx);
void CGContextSetTextMatrix(CGContextRef ctx, CGAffineTransform transform);
CGAffineTransform CGContextGetTextMatrix(CGContextRef ctx);
void CGContextShowText(CGContextRef ctx, const char *cstring, size_t length);
void CGContextShowTextAtPoint(
CGContextRef ctx,
CGFloat x,
CGFloat y,
const char *cstring,
size_t length
);
void CGContextShowGlyphs(CGContextRef ctx, const CGGlyph *g, size_t count);
void CGContextShowGlyphsAtPoint(
CGContextRef ctx,
CGFloat x,
CGFloat y,
const CGGlyph *g,
size_t count
);
void CGContextShowGlyphsAtPositions(
CGContextRef context,
const CGGlyph glyphs[],
const CGPoint positions[],
size_t count
);
void CGContextShowGlyphsWithAdvances (
CGContextRef c,
const CGGlyph glyphs[],
const CGSize advances[],
size_t count
);
void CGContextBeginTransparencyLayer(
CGContextRef ctx,
CFDictionaryRef auxiliaryInfo
);
void CGContextBeginTransparencyLayerWithRect(
CGContextRef ctx,
CGRect rect,
CFDictionaryRef auxiliaryInfo
);
void CGContextEndTransparencyLayer(CGContextRef ctx);
CGAffineTransform CGContextGetUserSpaceToDeviceSpaceTransform(CGContextRef ctx);
CGPoint CGContextConvertPointToDeviceSpace(CGContextRef ctx, CGPoint point);
CGPoint CGContextConvertPointToUserSpace(CGContextRef ctx, CGPoint point);
CGSize CGContextConvertSizeToDeviceSpace(CGContextRef ctx, CGSize size);
CGSize CGContextConvertSizeToUserSpace(CGContextRef ctx, CGSize size);
CGRect CGContextConvertRectToDeviceSpace(CGContextRef ctx, CGRect rect);
CGRect CGContextConvertRectToUserSpace(CGContextRef ctx, CGRect rect);
CGFloat OPContextGetAlpha(CGContextRef ctx);
void OPContextSetScaleFactor(CGContextRef ctx, CGFloat scale);
void OPContextSetSize(CGContextRef ctx, CGSize size);
void OPContextResetClip(CGContextRef ctx);
void OPContextSetIdentityCTM(CGContextRef ctx);
void OPContextSetCairoDeviceOffset(CGContextRef ctx,
CGFloat x, CGFloat y);
OPGStateRef OPContextCopyGState(CGContextRef ctx);
void OPContextSetGState(CGContextRef ctx, OPGStateRef gstate);
_Bool CGContextPathContainsPoint(CGContextRef c,
CGPoint point, CGPathDrawingMode mode);
# 29 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGBitmapContext.h" 2
typedef void (*CGBitmapContextReleaseDataCallback)(
void *releaseInfo,
void *data
);
CGContextRef CGBitmapContextCreate(
void *data,
size_t width,
size_t height,
size_t bitsPerComponent,
size_t bytesPerRow,
CGColorSpaceRef colorspace,
CGBitmapInfo info
);
CGContextRef CGBitmapContextCreateWithData(
void *data,
size_t width,
size_t height,
size_t bitsPerComponent,
size_t bytesPerRow,
CGColorSpaceRef cs,
CGBitmapInfo info,
CGBitmapContextReleaseDataCallback callback,
void *releaseInfo
);
CGImageAlphaInfo CGBitmapContextGetAlphaInfo(CGContextRef ctx);
CGBitmapInfo CGBitmapContextGetBitmapInfo(CGContextRef context);
size_t CGBitmapContextGetBitsPerComponent (CGContextRef ctx);
size_t CGBitmapContextGetBitsPerPixel (CGContextRef ctx);
size_t CGBitmapContextGetBytesPerRow (CGContextRef ctx);
CGColorSpaceRef CGBitmapContextGetColorSpace(CGContextRef ctx);
void *CGBitmapContextGetData(CGContextRef ctx);
size_t CGBitmapContextGetHeight(CGContextRef ctx);
size_t CGBitmapContextGetWidth(CGContextRef ctx);
CGImageRef CGBitmapContextCreateImage(CGContextRef ctx);
# 30 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CoreGraphics.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGError.h" 1
# 26 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGError.h"
enum {
kCGErrorSuccess = 0,
kCGErrorFailure = 1000,
kCGErrorIllegalArgument = 1001,
kCGErrorInvalidConnection = 1002,
kCGErrorInvalidContext = 1003,
kCGErrorCannotComplete = 1004,
kCGErrorNotImplemented = 1006,
kCGErrorRangeCheck = 1007,
kCGErrorTypeCheck = 1008,
kCGErrorInvalidOperation = 1010,
kCGErrorNoneAvailable = 1011,
};
typedef int CGError;
# 33 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CoreGraphics.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGImageSource.h" 1
# 35 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGImageSource.h"
enum {
kCGImageStatusUnexpectedEOF = -5,
kCGImageStatusInvalidData = -4,
kCGImageStatusUnknownType = -3,
kCGImageStatusReadingHeader = -2,
kCGImageStatusIncomplete = -1,
kCGImageStatusComplete = 0
};
typedef int CGImageSourceStatus;
const extern CFStringRef kCGImageSourceTypeIdentifierHint;
const extern CFStringRef kCGImageSourceShouldAllowFloat;
const extern CFStringRef kCGImageSourceShouldCache;
const extern CFStringRef kCGImageSourceCreateThumbnailFromImageIfAbsent;
const extern CFStringRef kCGImageSourceCreateThumbnailFromImageAlways;
const extern CFStringRef kCGImageSourceThumbnailMaxPixelSize;
const extern CFStringRef kCGImageSourceCreateThumbnailWithTransform;
typedef struct CGImageSource* CGImageSourceRef;
# 68 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGImageSource.h"
CGImageSourceRef CGImageSourceCreateIncremental(CFDictionaryRef opts);
CGImageSourceRef CGImageSourceCreateWithData(
CFDataRef data,
CFDictionaryRef opts
);
CGImageSourceRef CGImageSourceCreateWithDataProvider(
CGDataProviderRef provider,
CFDictionaryRef opts
);
CGImageSourceRef CGImageSourceCreateWithURL(
CFURLRef url,
CFDictionaryRef opts
);
CFDictionaryRef CGImageSourceCopyProperties(
CGImageSourceRef source,
CFDictionaryRef opts
);
CFDictionaryRef CGImageSourceCopyPropertiesAtIndex(
CGImageSourceRef source,
size_t index,
CFDictionaryRef opts
);
CFArrayRef CGImageSourceCopyTypeIdentifiers();
size_t CGImageSourceGetCount(CGImageSourceRef source);
CGImageRef CGImageSourceCreateImageAtIndex(
CGImageSourceRef source,
size_t index,
CFDictionaryRef opts
);
CGImageRef CGImageSourceCreateThumbnailAtIndex(
CGImageSourceRef source,
size_t index,
CFDictionaryRef opts
);
CGImageSourceStatus CGImageSourceGetStatus(CGImageSourceRef source);
CGImageSourceStatus CGImageSourceGetStatusAtIndex(
CGImageSourceRef source,
size_t index
);
CFStringRef CGImageSourceGetType(CGImageSourceRef source);
void CGImageSourceUpdateData(
CGImageSourceRef source,
CFDataRef data,
_Bool finalUpdate
);
void CGImageSourceUpdateDataProvider(
CGImageSourceRef source,
CGDataProviderRef provider,
_Bool finalUpdate
);
CFTypeID CGImageSourceGetTypeID();
# 42 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CoreGraphics.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGImageDestination.h" 1
# 35 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGImageDestination.h"
extern const CFStringRef kCGImageDestinationLossyCompressionQuality;
extern const CFStringRef kCGImageDestinationBackgroundColor;
typedef struct CGImageDestination* CGImageDestinationRef;
# 54 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGImageDestination.h"
CGImageDestinationRef CGImageDestinationCreateWithData(
CFMutableDataRef data,
CFStringRef type,
size_t count,
CFDictionaryRef opts
);
CGImageDestinationRef CGImageDestinationCreateWithDataConsumer(
CGDataConsumerRef consumer,
CFStringRef type,
size_t count,
CFDictionaryRef opts
);
CGImageDestinationRef CGImageDestinationCreateWithURL(
CFURLRef url,
CFStringRef type,
size_t count,
CFDictionaryRef opts
);
CFArrayRef CGImageDestinationCopyTypeIdentifiers();
void CGImageDestinationSetProperties(
CGImageDestinationRef dest,
CFDictionaryRef properties
);
void CGImageDestinationAddImage(
CGImageDestinationRef dest,
CGImageRef image,
CFDictionaryRef properties
);
void CGImageDestinationAddImageFromSource(
CGImageDestinationRef dest,
CGImageSourceRef source,
size_t index,
CFDictionaryRef properties
);
_Bool CGImageDestinationFinalize(CGImageDestinationRef dest);
CFTypeID CGImageDestinationGetTypeID();
# 43 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CoreGraphics.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGLayer.h" 1
# 34 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGLayer.h"
typedef struct CGLayer* CGLayerRef;
# 46 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGLayer.h"
CGLayerRef CGLayerCreateWithContext(
CGContextRef referenceCtxt,
CGSize size,
CFDictionaryRef auxInfo
);
CGLayerRef CGLayerRetain(CGLayerRef layer);
void CGLayerRelease(CGLayerRef layer);
CGSize CGLayerGetSize(CGLayerRef layer);
CGContextRef CGLayerGetContext(CGLayerRef layer);
void CGContextDrawLayerInRect(
CGContextRef destCtxt,
CGRect rect,
CGLayerRef layer
);
void CGContextDrawLayerAtPoint(
CGContextRef destCtxt,
CGPoint point,
CGLayerRef layer
);
CFTypeID CGLayerGetTypeID();
# 44 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CoreGraphics.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFContentStream.h" 1
# 33 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFContentStream.h"
typedef struct CGPDFContentStream* CGPDFContentStreamRef;
# 47 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFContentStream.h"
CGPDFContentStreamRef CGPDFContentStreamCreateWithPage(CGPDFPageRef page);
CGPDFContentStreamRef CGPDFContentStreamCreateWithStream(
CGPDFStreamRef stream,
CGPDFDictionaryRef streamResources,
CGPDFContentStreamRef parent
);
CGPDFObjectRef CGPDFContentStreamGetResource(
CGPDFContentStreamRef stream,
const char *category,
const char *name
);
CFArrayRef CGPDFContentStreamGetStreams(CGPDFContentStreamRef stream);
CGPDFContentStreamRef CGPDFContentStreamRetain(CGPDFContentStreamRef stream);
void CGPDFContentStreamRelease(CGPDFContentStreamRef stream);
# 46 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CoreGraphics.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFContext.h" 1
# 38 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFContext.h"
extern const CFStringRef kCGPDFContextAuthor;
extern const CFStringRef kCGPDFContextCreator;
extern const CFStringRef kCGPDFContextTitle;
extern const CFStringRef kCGPDFContextOwnerPassword;
extern const CFStringRef kCGPDFContextUserPassword;
extern const CFStringRef kCGPDFContextAllowsPrinting;
extern const CFStringRef kCGPDFContextAllowsCopying;
extern const CFStringRef kCGPDFContextOutputIntent;
extern const CFStringRef kCGPDFContextOutputIntents;
extern const CFStringRef kCGPDFContextSubject;
extern const CFStringRef kCGPDFContextKeywords;
extern const CFStringRef kCGPDFContextEncryptionKeyLength;
extern const CFStringRef kCGPDFContextMediaBox;
extern const CFStringRef kCGPDFContextCropBox;
extern const CFStringRef kCGPDFContextBleedBox;
extern const CFStringRef kCGPDFContextTrimBox;
extern const CFStringRef kCGPDFContextArtBox;
extern const CFStringRef kCGPDFXOutputIntentSubtype;
extern const CFStringRef kCGPDFXOutputConditionIdentifier;
extern const CFStringRef kCGPDFXOutputCondition;
extern const CFStringRef kCGPDFXRegistryName;
extern const CFStringRef kCGPDFXInfo;
extern const CFStringRef kCGPDFXDestinationOutputProfile;
void CGPDFContextAddDestinationAtPoint(
CGContextRef ctx,
CFStringRef name,
CGPoint point
);
void CGPDFContextBeginPage(CGContextRef ctx, CFDictionaryRef pageInfo);
void CGPDFContextClose(CGContextRef ctx);
CGContextRef CGPDFContextCreate(
CGDataConsumerRef consumer,
const CGRect *mediaBox,
CFDictionaryRef auxiliaryInfo
);
CGContextRef CGPDFContextCreateWithURL(
CFURLRef url,
const CGRect *mediaBox,
CFDictionaryRef auxiliaryInfo
);
void CGPDFContextEndPage(CGContextRef ctx);
void CGPDFContextSetDestinationForRect(
CGContextRef ctx,
CFStringRef name,
CGRect rect
);
void CGPDFContextSetURLForRect(CGContextRef ctx, CFURLRef url, CGRect rect);
# 47 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CoreGraphics.h" 2
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFOperatorTable.h" 1
# 33 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFOperatorTable.h"
typedef struct CGPDFOperatorTable* CGPDFOperatorTableRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFScanner.h" 1
# 33 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFScanner.h"
typedef struct CGPDFScanner* CGPDFScannerRef;
# 1 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFOperatorTable.h" 1
# 39 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFScanner.h" 2
# 49 "/usr/GNUstep/Local/Library/Headers/CoreGraphics/CGPDFScanner.h"
CGPDFScannerRef CGPDFScannerCreate(
CGPDFContentStreamRef cs,
CGPDFOperatorTableRef table,
void *info
);
_Bool CGPDFScannerScan(CGPDFScannerRef scanner);
CGPDFContentStreamRef CGPDFScannerGetContentStream(CGPDFScannerRef scanner);
_Bool CGPDFScannerPopArray(CGPDFScannerRef scanner, CGPDFArrayRef *value);
_Bool CGPDFScannerPopBoolean(CGPDFScannerRef scanner, CGPDFBoolean *value);
_Bool CGPDFScannerPopDictionary(CGPDFScannerRef scanner, CGPDFDictionaryRef *value);
_Bool CGPDFScannerPopInteger(CGPDFScannerRef scanner, CGPDFInteger *value);
_Bool CGPDFScannerPopName(CGPDFScannerRef scanner, const char **value);
_Bool CGPDFScannerPopNumber(CGPDFScannerRef scanner, CGPDFReal *value);
_Bool CGPDFScannerPopObject(CGPDFScannerRef scanner, CGPDFObjectRef *value);
_Bool CGPDFScannerPopStream(CGP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment