]> git.ozlabs.org Git - ppp.git/blob - pppd/ecp.h
Added support for Acct-Interim-Interval attribute. We can now ask
[ppp.git] / pppd / ecp.h
1 /*
2  * ecp.h - Definitions for PPP Encryption Control Protocol.
3  *
4  * Copyright (c) 2002 Google, Inc.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms are permitted
8  * provided that the above copyright notice and this paragraph are
9  * duplicated in all such forms and that any documentation,
10  * advertising materials, and other materials related to such
11  * distribution and use acknowledge that the software was developed
12  * by the Australian National University.  The name of the University
13  * may not be used to endorse or promote products derived from this
14  * software without specific prior written permission.
15  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18  *
19  * $Id: ecp.h,v 1.1 2002/05/22 18:16:54 dfs Exp $
20  */
21
22 typedef struct ecp_options {
23     bool required;              /* Is ECP required? */
24     unsigned enctype;           /* Encryption type */
25 } ecp_options;
26
27 extern fsm ecp_fsm[];
28 extern ecp_options ecp_wantoptions[];
29 extern ecp_options ecp_gotoptions[];
30 extern ecp_options ecp_allowoptions[];
31 extern ecp_options ecp_hisoptions[];
32
33 extern struct protent ecp_protent;