Updates to help it compile with glibc 2
[mpls-ppp.git] / pppd / cbcp.h
blobc2ab3f68991f189b6ebd93ae45dbdb21725072f5
1 #ifndef CBCP_H
2 #define CBCP_H
4 typedef struct cbcp_state {
5 int us_unit; /* Interface unit number */
6 u_char us_id; /* Current id */
7 u_char us_allowed;
8 int us_type;
9 char *us_number; /* Telefone Number */
10 } cbcp_state;
12 extern cbcp_state cbcp[];
14 extern struct protent cbcp_protent;
16 #define CBCP_MINLEN 4
18 #define CBCP_REQ 1
19 #define CBCP_RESP 2
20 #define CBCP_ACK 3
22 #define CB_CONF_NO 1
23 #define CB_CONF_USER 2
24 #define CB_CONF_ADMIN 3
25 #define CB_CONF_LIST 4
26 #endif