]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/upap.h
pppd.8: Document netmask option
[ppp.git] / pppd / upap.h
index e6058be14bc64b77b6b3e3f29b5d36898d6637b3..c86e520195262af8bedb6b782fa87c4f9d891052 100644 (file)
@@ -1,5 +1,3 @@
-#include "pppdconf.h"
-
 /*
  * upap.h - User/Password Authentication Protocol definitions.
  *
 
 #include "pppdconf.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 /*
  * Packet header = Code, id, length.
  */
@@ -146,4 +149,8 @@ extern pap_logout_hook_fn *pap_logout_hook;
  */
 extern pap_passwd_hook_fn *pap_passwd_hook;
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif // PPP_UPAP_H