X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fccp.h;h=0a56686750bc2558af257526158113d27574e439;hp=3f00056f49f5cf59cacced730aaa607380972f73;hb=HEAD;hpb=ba7f7e053daae846a54a1d08d3d133a5f1266ace diff --git a/pppd/ccp.h b/pppd/ccp.h index 3f00056..0a56686 100644 --- a/pppd/ccp.h +++ b/pppd/ccp.h @@ -17,7 +17,7 @@ * 3. 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 @@ -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