X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fmppe.h;h=2684a7f6fe85801b44eb978faa5a88567a040ba5;hp=9292fe8dd623cd8bd599b4710816a3bd80160ef9;hb=HEAD;hpb=ba7f7e053daae846a54a1d08d3d133a5f1266ace diff --git a/pppd/mppe.h b/pppd/mppe.h index 9292fe8..376eb62 100644 --- a/pppd/mppe.h +++ b/pppd/mppe.h @@ -22,7 +22,7 @@ * 4. Redistributions of any form whatsoever must retain the following * acknowledgment: * "This product includes software developed by Paul Mackerras - * ". + * ". * * THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY @@ -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