]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ecp.h
Adding files which I forgot to do as part of Frank Cusack's ECP patch.
[ppp.git] / pppd / ecp.h
diff --git a/pppd/ecp.h b/pppd/ecp.h
new file mode 100644 (file)
index 0000000..530a9b4
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * ecp.h - Definitions for PPP Encryption Control Protocol.
+ *
+ * Copyright (c) 2002 Google, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the Australian National University.  The name of the University
+ * may not be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * $Id: ecp.h,v 1.1 2002/05/22 18:16:54 dfs Exp $
+ */
+
+typedef struct ecp_options {
+    bool required;             /* Is ECP required? */
+    unsigned enctype;          /* Encryption type */
+} ecp_options;
+
+extern fsm ecp_fsm[];
+extern ecp_options ecp_wantoptions[];
+extern ecp_options ecp_gotoptions[];
+extern ecp_options ecp_allowoptions[];
+extern ecp_options ecp_hisoptions[];
+
+extern struct protent ecp_protent;