X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fccp.h;h=d60cdca8bcc180895e212769152eaefd1e39505f;hp=3f00056f49f5cf59cacced730aaa607380972f73;hb=4f3e40659fcccce45068473ae94cfead18260c77;hpb=827e4952d6bcc8dd9c8fdda54a509e5b59685c34 diff --git a/pppd/ccp.h b/pppd/ccp.h index 3f00056..d60cdca 100644 --- a/pppd/ccp.h +++ b/pppd/ccp.h @@ -34,6 +34,10 @@ #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct ccp_options { bool bsd_compress; /* do BSD Compress? */ bool deflate; /* do Deflate? */ @@ -55,4 +59,8 @@ extern ccp_options ccp_hisoptions[]; extern struct protent ccp_protent; +#ifdef __cplusplus +} #endif + +#endif // PPP_CCP_H