Main Page | Class List | File List | Class Members | File Members | Related Pages

mach_override.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002     mach_override.h
00003         Copyright (c) 2003-2005 Jonathan 'Wolf' Rentzsch: <http://rentzsch.com>
00004         Some rights reserved: <http://creativecommons.org/licenses/by/2.0/>
00005 
00006     ***************************************************************************/
00007 
00008 /***************************************************************************/
00044 #ifndef     _mach_override_
00045 #define     _mach_override_
00046 
00047 #include <sys/types.h>
00048 #include <mach/error.h>
00049 
00050 #ifdef  __cplusplus
00051     extern  "C" {
00052 #endif
00053 
00057 #define err_cannot_override (err_local|1)
00058 
00059 /***************************************************************************/
00088     mach_error_t
00089 mach_override(
00090     char *originalFunctionSymbolName,
00091     const char *originalFunctionLibraryNameHint,
00092     const void *overrideFunctionAddress,
00093     void **originalFunctionReentryIsland );
00094  
00095 #ifdef  __cplusplus
00096     }
00097 #endif
00098 #endif  //  _mach_override_

Generated on Sun Jun 12 22:09:33 2005 for mach_override by doxygen 1.3.4