X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fmppe.h;h=32fcb207b92ee793ed45db3fa9bfd0d6ee81cfd7;hb=4f3e40659fcccce45068473ae94cfead18260c77;hp=9292fe8dd623cd8bd599b4710816a3bd80160ef9;hpb=ba7f7e053daae846a54a1d08d3d133a5f1266ace;p=ppp.git diff --git a/pppd/mppe.h b/pppd/mppe.h index 9292fe8..32fcb20 100644 --- a/pppd/mppe.h +++ b/pppd/mppe.h @@ -37,6 +37,11 @@ #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + + #define MPPE_PAD 4 /* MPPE growth per frame */ #define MPPE_MAX_KEY_SIZE 32 /* Largest key length */ #define MPPE_MAX_KEY_LEN 16 /* Largest key size accepted by the kernel */ @@ -175,4 +180,9 @@ void mppe_set_chapv2(unsigned char *PasswordHashHash, unsigned char *NTResponse, int IsServer); #endif // #ifdef PPP_WITH_MPPE + +#ifdef __cplusplus +} +#endif + #endif // #ifdef PPP_MPPE_H