#include <stdio.h>
#include <IOKit/storage/IOStorage.h>

/*open

public

virtual bool open(
    IOService *client, 
    IOOptionBits options, 
    IOStorageAccess access); 
Parameters
client
Client requesting the open.
options
Options for the open. Set to zero.
access
Access level for the open. Set to kIOStorageAccessReader or kIOStorageAccessReaderWriter.
Return Value

Returns true if the open was successful, false otherwise. 
Discussion 

Ask the storage object for permission to access its contents; the method is equivalent to IOService::open(), but with the correct parameter types.
This method may also be invoked to upgrade or downgrade the access of an existing open (if it fails, the existing open prevails).*/ 
bool IOStorage::open(
    IOService *client, 
    IOOptionBits options, 
    IOStorageAccess access){
printf ("open",*client,options,access);
};
