X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/57a654311816f082f436e963fab03cd1edc31e2e..b4b71b79d0712e76e649ad06eb76246071175fd1:/Baton.hpp diff --git a/Baton.hpp b/Baton.hpp index 3ce4e62..d930121 100644 --- a/Baton.hpp +++ b/Baton.hpp @@ -24,18 +24,11 @@ #include struct Baton { - void (*__pthread_set_self)(pthread_t); + void (*_pthread_start)(pthread_t, mach_port_t, void *(*)(void *), void *, size_t, unsigned int); - int (*pthread_create)(pthread_t *, const pthread_attr_t *, void *(*)(void *), void *); - int (*pthread_join)(pthread_t, void **); - - void *(*dlopen)(const char *, int); char *(*dlerror)(); void *(*dlsym)(void *, const char *); - mach_port_t (*mach_thread_self)(); - kern_return_t (*thread_terminate)(thread_act_t); - pid_t pid; char library[]; };