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/windows/include/loadfuncs-com_err.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/windows/include/loadfuncs-com_err.h')
| -rw-r--r-- | src/windows/include/loadfuncs-com_err.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/windows/include/loadfuncs-com_err.h b/src/windows/include/loadfuncs-com_err.h new file mode 100644 index 0000000000..a579749c17 --- /dev/null +++ b/src/windows/include/loadfuncs-com_err.h @@ -0,0 +1,44 @@ +#ifndef __LOADFUNCS_COM_ERR_H__ +#define __LOADFUNCS_COM_ERR_H__ + +#include "loadfuncs.h" +#include <com_err.h> + +#if defined(_WIN64) +#define COMERR_DLL "comerr64.dll" +#else +#define COMERR_DLL "comerr32.dll" +#endif + +TYPEDEF_FUNC( + void, + KRB5_CALLCONV_C, + com_err, + (const char FAR *, errcode_t, const char FAR *, ...) + ); +TYPEDEF_FUNC( + void, + KRB5_CALLCONV, + com_err_va, + (const char FAR *whoami, errcode_t code, const char FAR *fmt, va_list ap) + ); +TYPEDEF_FUNC( + const char FAR *, + KRB5_CALLCONV, + error_message, + (errcode_t) + ); +TYPEDEF_FUNC( + errcode_t, + KRB5_CALLCONV, + add_error_table, + (const struct error_table FAR *) + ); +TYPEDEF_FUNC( + errcode_t, + KRB5_CALLCONV, + remove_error_table, + (const struct error_table FAR *) + ); + +#endif /* __LOADFUNCS_COM_ERR_H__ */ |
