#ifndef __GLOBALS_H__
#define __GLOBALS_H__
#include <CoreFoundation/CoreFoundation.h>
#include <IOKit/IOKitLib.h>
#include <libc.h>
#include <IOKit/kext/KXKextManager.h>
#include "request.h"
#include "PTLock.h"
extern char * progname;
extern int g_verbose_level;
extern char * g_kernel_file;
extern char * g_patch_dir;
extern char * g_symbol_dir;
extern Boolean gOverwrite_symbols;
extern mach_port_t g_io_master_port;
extern KXKextManagerRef gKextManager;
extern CFRunLoopRef gMainRunLoop;
extern CFRunLoopSourceRef gKernelRequestRunLoopSource;
extern CFRunLoopSourceRef gRescanRunLoopSource;
extern CFRunLoopSourceRef gClientRequestRunLoopSource;
extern CFRunLoopSourceRef gCurrentNotificationRunLoopSource;
extern PTLockRef gKernelRequestQueueLock;
extern PTLockRef gRunLoopSourceLock;
extern queue_head_t g_request_queue;
#ifndef NO_CFUserNotification
extern CFRunLoopSourceRef gNotificationQueueRunLoopSource;
extern CFMutableArrayRef gPendedNonsecureKextPaths; extern CFMutableDictionaryRef gNotifiedNonsecureKextPaths;
extern CFUserNotificationRef gCurrentNotification;
#endif
extern uid_t logged_in_uid;
extern uid_t gClientUID;
#endif __GLOBALS_H__