diff options
| author | Sam Hartman <hartmans@mit.edu> | 2011-09-28 21:02:41 +0000 |
|---|---|---|
| committer | Sam Hartman <hartmans@mit.edu> | 2011-09-28 21:02:41 +0000 |
| commit | 7679d12a91940657639c5550ba5e6c0fc65ba8af (patch) | |
| tree | 7087532bac3616d5c1b64bf559921bebde00fc9f /src/include/loadfuncs.h | |
| parent | caef99b21536d9e8c2f9c637fcf020b4e082db5d (diff) | |
Moved Windows specific include files to src/windows/include
Updated Windows specific Makefiles to search for header files in src/windows/include
Signed-off-by: Alexey Melnikov <aamelnikov@gmail.com>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25279 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/loadfuncs.h')
| -rw-r--r-- | src/include/loadfuncs.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/include/loadfuncs.h b/src/include/loadfuncs.h deleted file mode 100644 index 7aef62d21..000000000 --- a/src/include/loadfuncs.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef __LOADFUNCS_H__ -#define __LOADFUNCS_H__ - -#ifdef __cplusplus -extern "C" { -#endif - -#include <windows.h> - -typedef struct _FUNC_INFO { - void** func_ptr_var; - char* func_name; -} FUNC_INFO; - -#define DECL_FUNC_PTR(x) FP_##x p##x -#define MAKE_FUNC_INFO(x) { (void**) &p##x, #x } -#define END_FUNC_INFO { 0, 0 } -#define TYPEDEF_FUNC(ret, call, name, args) typedef ret (call *FP_##name) args - -void -UnloadFuncs( - FUNC_INFO fi[], - HINSTANCE h - ); - -int -LoadFuncs( - const char* dll_name, - FUNC_INFO fi[], - HINSTANCE* ph, // [out, optional] - DLL handle - int* pindex, // [out, optional] - index of last func loaded (-1 if none) - int cleanup, // cleanup function pointers and unload on error - int go_on, // continue loading even if some functions cannot be loaded - int silent // do not pop-up a system dialog if DLL cannot be loaded - ); - -#ifdef __cplusplus -} -#endif - -#endif /* __LOADFUNCS_H__ */ |
