X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fsession.h;h=499549ce03f62120183fc5823c98e8337a08e4d3;hp=0b91a03e5d62e5c921540c4fb92862e44b08b41a;hb=4f3e40659fcccce45068473ae94cfead18260c77;hpb=827e4952d6bcc8dd9c8fdda54a509e5b59685c34;ds=sidebyside diff --git a/pppd/session.h b/pppd/session.h index 0b91a03..499549c 100644 --- a/pppd/session.h +++ b/pppd/session.h @@ -32,6 +32,10 @@ #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