1 /*
2  * cbcp - Call Back Configuration Protocol.
3  *
4  * Copyright (c) 2000 by Sun Microsystems, Inc.
5  * All rights reserved.
6  *
7  * Copyright (c) 1995 Pedro Roque Marques
8  * All rights reserved.
9  */
10 
11 #ifndef CBCP_H
12 #define CBCP_H
13 
14 typedef struct cbcp_state {
15     int    us_unit;	/* Interface unit number */
16     u_char us_id;		/* Current id */
17     u_char us_allowed;
18     int    us_type;
19     char   *us_number;    /* Telefone Number */
20 } cbcp_state;
21 
22 extern cbcp_state cbcp[];
23 
24 extern struct protent cbcp_protent;
25 
26 #define CBCP_MINLEN 4
27 
28 #define CBCP_REQ    1
29 #define CBCP_RESP   2
30 #define CBCP_ACK    3
31 
32 #define CB_CONF_NO     1
33 #define CB_CONF_USER   2
34 #define CB_CONF_ADMIN  3
35 #define CB_CONF_LIST   4
36 #endif
37