]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.h
fix compilation problems
[ppp.git] / pppd / pppd.h
index d7254c7bfe68a9c6adeb2ccb7fdb7bbecb2718de..1111aca219679e8e366784fadc00ca7b71eb040c 100644 (file)
@@ -16,7 +16,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * $Id: pppd.h,v 1.15 1996/08/28 06:42:10 paulus Exp $
+ * $Id: pppd.h,v 1.17 1996/10/08 04:35:04 paulus Exp $
  */
 
 /*
@@ -114,9 +114,10 @@ extern int refuse_chap;    /* Don't wanna auth. ourselves with CHAP */
 #define PHASE_DORMANT          2
 #define PHASE_ESTABLISH                3
 #define PHASE_AUTHENTICATE     4
-#define PHASE_NETWORK          5
-#define PHASE_TERMINATE                6
-#define PHASE_HOLDOFF          7
+#define PHASE_CALLBACK         5
+#define PHASE_NETWORK          6
+#define PHASE_TERMINATE                7
+#define PHASE_HOLDOFF          8
 
 /*
  * The following struct gives the addresses of procedures to call
@@ -443,6 +444,12 @@ extern struct option_info devnam_info;
 #define CHAPDEBUG(x)
 #endif
 
+#ifdef DEBUGIPXCP
+#define IPXCPDEBUG(x)  if (debug) syslog x
+#else
+#define IPXCPDEBUG(x)
+#endif
+
 #ifndef SIGTYPE
 #if defined(sun) || defined(SYSV) || defined(POSIX_SOURCE)
 #define SIGTYPE void