X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fecp.h;h=975d79b876a7c8ca71d72340d717a7e1acb6d5ca;hb=4f3e40659fcccce45068473ae94cfead18260c77;hp=162dace7e07915c62cc39198eb56be2b146dfe03;hpb=032020241d270c53dff479a7b0eb7fe487c56a78;p=ppp.git diff --git a/pppd/ecp.h b/pppd/ecp.h index 162dace..975d79b 100644 --- a/pppd/ecp.h +++ b/pppd/ecp.h @@ -30,8 +30,20 @@ * * $Id: ecp.h,v 1.2 2003/01/10 07:12:36 fcusack Exp $ */ +#ifndef PPP_ECP_H +#define PPP_ECP_H + #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef PPP_ECP +#define PPP_ECP 0x8053 +#endif + + typedef struct ecp_options { bool required; /* Is ECP required? */ unsigned enctype; /* Encryption type */ @@ -44,3 +56,9 @@ extern ecp_options ecp_allowoptions[]; extern ecp_options ecp_hisoptions[]; extern struct protent ecp_protent; + +#ifdef __cplusplus +} +#endif + +#endif // PPP_ECP_H