Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/crypto/krb5/src/windows/include/loadfuncs-com_err.h
34907 views
1
#ifndef __LOADFUNCS_COM_ERR_H__
2
#define __LOADFUNCS_COM_ERR_H__
3
4
#include "loadfuncs.h"
5
#include <com_err.h>
6
7
#if defined(_WIN64)
8
#define COMERR_DLL "comerr64.dll"
9
#else
10
#define COMERR_DLL "comerr32.dll"
11
#endif
12
13
TYPEDEF_FUNC(
14
void,
15
KRB5_CALLCONV_C,
16
com_err,
17
(const char FAR *, errcode_t, const char FAR *, ...)
18
);
19
TYPEDEF_FUNC(
20
void,
21
KRB5_CALLCONV,
22
com_err_va,
23
(const char FAR *whoami, errcode_t code, const char FAR *fmt, va_list ap)
24
);
25
TYPEDEF_FUNC(
26
const char FAR *,
27
KRB5_CALLCONV,
28
error_message,
29
(errcode_t)
30
);
31
TYPEDEF_FUNC(
32
errcode_t,
33
KRB5_CALLCONV,
34
add_error_table,
35
(const struct error_table FAR *)
36
);
37
TYPEDEF_FUNC(
38
errcode_t,
39
KRB5_CALLCONV,
40
remove_error_table,
41
(const struct error_table FAR *)
42
);
43
44
#endif /* __LOADFUNCS_COM_ERR_H__ */
45
46