diff options
Diffstat (limited to 'pppd/cbcp.h')
-rw-r--r-- | pppd/cbcp.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pppd/cbcp.h b/pppd/cbcp.h index e317cae..4bd106b 100644 --- a/pppd/cbcp.h +++ b/pppd/cbcp.h @@ -30,11 +30,15 @@ * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifndef CBCP_H -#define CBCP_H +#ifndef PPP_CBCP_H +#define PPP_CBCP_H #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct cbcp_state { int us_unit; /* Interface unit number */ u_char us_id; /* Current id */ @@ -57,4 +61,9 @@ extern struct protent cbcp_protent; #define CB_CONF_USER 2 #define CB_CONF_ADMIN 3 #define CB_CONF_LIST 4 + +#ifdef __cplusplus +} #endif + +#endif // PPP_CBCP_H |