From c3e52ea6ca3178b7ecab4b389a9ba9269662b48f Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 15 Mar 2006 17:05:25 +0000 Subject: Further cleanups to compile with C++ compiler. svn path=/branches/BRANCH_6-3/; revision=4744 --- smbencrypt.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'smbencrypt.h') diff --git a/smbencrypt.h b/smbencrypt.h index 0f33b062..03e17d94 100644 --- a/smbencrypt.h +++ b/smbencrypt.h @@ -1,2 +1,15 @@ -void SMBencrypt(char *passwd, uint8 *c8, uint8 *p24); -void SMBNTencrypt(char *passwd, uint8 *c8, uint8 *p24); +#ifndef SMBENCRYPT_H +#define SMBENCRYPT_H + +#include "smbtypes.h" + +#ifdef __cplusplus +extern "C" { +#endif +void SMBencrypt(uint8 *passwd, uint8 *c8, uint8 *p24); +void SMBNTencrypt(uint8 *passwd, uint8 *c8, uint8 *p24); +#ifdef __cplusplus +} + +#endif +#endif -- cgit v1.2.3