#import <Foundation/Foundation.h>
#include <mach/mach.h>
#include <mach/mach_interface.h>
#include <IOKit/IOTypes.h>
#if MAC_OS_X_VERSION_10_5
#include <IOKit/iokitmig.h>
#else
#include <IOKit/iokitmig_c.h>
#endif
#include <IOKit/IOKitLib.h>
#include "IrDAUserClient.h"
typedef struct IrDAEventDesc {
UInt16 data1; UInt16 data2;
UInt32 timeStamp; char *msg; } IrDAEventDesc, *IrDAEventDescPtr;
typedef struct IrDALogHdr {
IrDAEventDescPtr fEventBuffer; UInt32 fEventIndex; UInt32 fPrintIndex; UInt32 fNumEntries; Boolean fTracingOn; Boolean fWrapped; } IrDALogHdr, *IrDAEventLogPtr;
typedef struct IrDALogInfo {
IrDALogHdr *hdr; UInt32 hdrSize; IrDAEventDesc *eventLog; UInt32 eventLogSize; char *msgBuffer; UInt32 msgBufferSize; } IrDALogInfo;
@interface GetEntry : NSObject {
}
kern_return_t doCommand(io_connect_t con, unsigned char commandID, void *inputData, unsigned long inputDataSize, void *outputData, size_t *outputDataSize);
+ (NSString *) GetCurrentDriverName;
+ (void) getEntry: (NSMutableArray *)logItems;
@end