2 * Copyright (c) 1995 Pedro Roque Marques. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in
13 * the documentation and/or other materials provided with the
16 * 3. The names of the authors of this software must not be used to
17 * endorse or promote products derived from this software without
18 * prior written permission.
20 * 4. Redistributions of any form whatsoever must retain the following
22 * "This product includes software developed by Pedro Roque Marques
23 * <pedro_m@yahoo.com>"
25 * THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO
26 * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
27 * AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
28 * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
29 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
30 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
31 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
42 typedef struct cbcp_state {
43 int us_unit; /* Interface unit number */
44 u_char us_id; /* Current id */
47 char *us_number; /* Telefone Number */
50 extern cbcp_state cbcp[];
52 extern struct protent cbcp_protent;
61 #define CB_CONF_USER 2
62 #define CB_CONF_ADMIN 3
63 #define CB_CONF_LIST 4