]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/session.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / session.h
index 0b91a03e5d62e5c921540c4fb92862e44b08b41a..499549ce03f62120183fc5823c98e8337a08e4d3 100644 (file)
 
 #include "pppdconf.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define SESS_AUTH  1   /* Check User Authentication */
 #define SESS_ACCT  2   /* Check Account Validity */
 
@@ -89,4 +93,8 @@ session_start(const int flags, const char* user, const char* passwd, const char*
 void
 session_end(const char* tty);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif // PPP_SESSION_H