]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/crypto_ms.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / crypto_ms.h
index e9a039cbf055e9e87131847bf13a4e1a0f757ec7..38111fdf70701e07036158d11ce825d8317e4fb9 100644 (file)
 
 #include "pppdconf.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * This is the DES encrypt functions as described by RFC2759.
  * 
@@ -72,4 +76,8 @@ int DesEncrypt(const unsigned char *clear, const unsigned char *key,
 int DesDecrypt(const unsigned char *cipher, const unsigned char *key,
         unsigned char *clear);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* PPP_PPPCRYPT_H */