X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fchap.h;h=21373bdbb07e8d83fc6a7908a7663c03d1ce8a2b;hp=e693fc91e8a95b3108c2504513d0ffbeae14c75b;hb=4f3e40659fcccce45068473ae94cfead18260c77;hpb=827e4952d6bcc8dd9c8fdda54a509e5b59685c34 diff --git a/pppd/chap.h b/pppd/chap.h index e693fc9..21373bd 100644 --- a/pppd/chap.h +++ b/pppd/chap.h @@ -33,6 +33,10 @@ #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + /* * CHAP packets begin with a standard header with code, id, len (2 bytes). */ @@ -165,4 +169,8 @@ extern void chap_auth_with_peer(int unit, char *our_name, int digest_code); /* Represents the CHAP protocol to the main pppd code */ extern struct protent chap_protent; +#ifdef __cplusplus +} #endif + +#endif // PPP_CHAP_NEW_H