aboutsummaryrefslogtreecommitdiff
path: root/src/windows/include
diff options
context:
space:
mode:
authorKevin Wasserman <kevin.wasserman@painless-security.com>2012-06-09 14:21:13 -0400
committerTom Yu <tlyu@mit.edu>2012-08-27 19:27:35 -0400
commit9857cbf59995f61a8a21972c1072b57a2410aaa6 (patch)
treedfe3170cdb890e889c4c0c6819ae97a1b49cadd9 /src/windows/include
parent0c30a61daeb5bbf9bbaa3495ded4f5354d38b23d (diff)
downloadkrb5-9857cbf59995f61a8a21972c1072b57a2410aaa6.zip
krb5-9857cbf59995f61a8a21972c1072b57a2410aaa6.tar.gz
krb5-9857cbf59995f61a8a21972c1072b57a2410aaa6.tar.bz2
Minor fixes for leashwin.h
-explicitly include krb5.h (for krb5_timestamp) -add extern "C" scope for c++ compatibility Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> (cherry picked from commit 68c9b0afef303114c7a43cb90d2516e5d7e2d817) ticket: 7267 status: resolved
Diffstat (limited to 'src/windows/include')
-rw-r--r--src/windows/include/leashwin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/windows/include/leashwin.h b/src/windows/include/leashwin.h
index 39a7d1a..fc210a6 100644
--- a/src/windows/include/leashwin.h
+++ b/src/windows/include/leashwin.h
@@ -5,6 +5,7 @@
#ifndef NO_KRB4
#include <krb.h>
#else
+#include <krb5.h>
#define ANAME_SZ 40
#define REALM_SZ 40
#define SNAME_SZ 40
@@ -127,6 +128,10 @@ struct TICKETINFO {
unsigned long flags;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int FAR Leash_kinit_dlg(HWND hParent, LPLSH_DLGINFO lpdlginfo);
int FAR Leash_kinit_dlg_ex(HWND hParent, LPLSH_DLGINFO_EX lpdlginfoex);
int FAR Leash_changepwd_dlg(HWND hParent, LPLSH_DLGINFO lpdlginfo);
@@ -208,5 +213,8 @@ DWORD Leash_reset_default_mslsa_import();
DWORD Leash_get_default_preserve_kinit_settings();
DWORD Leash_set_default_preserve_kinit_settings(DWORD onoff);
DWORD Leash_reset_default_preserve_kinit_settings();
+#ifdef __cplusplus
+}
+#endif
#endif /* LEASHWIN */