]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/crypto.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / crypto.h
index af85179c90f7c36492120a97ac0e5ffa7fce0040..c559d0c45993f3a6af351e1edad58104adee0fa2 100644 (file)
 #ifndef PPP_CRYPTO_H
 #define PPP_CRYPTO_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifndef MD5_DIGEST_LENGTH
 #define MD5_DIGEST_LENGTH 16
 #endif
@@ -152,4 +156,8 @@ int PPP_crypto_init();
  */
 int PPP_crypto_deinit();
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif // PPP_CRYPTO_H