X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=smbencrypt.h;h=03e17d943464a5edcd032f94b7720f2507e9ac6b;hb=f6c7034fdbeb25d7d8eb0e62c0fe5de563eb7b55;hp=0f33b06282c5d861990d9974922a20b8e2f1d6f6;hpb=d78b61e3efaea197a6e5b2b72bf2981a9ed69461;p=~andy%2Ffetchmail 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