diff packages/net/ppp/current/include/pppd.h @ 1694:5629b7c30ed2

Various patches from Matt Jerdonek and Oyvind Harboe: * cdl/ppp.cdl: * src/ipcp.c: Add option to disallow negotiation of old-style VJ compression * include/ppp.h: Add structure to track ppp failure reasons * include/pppd.h: Fix compiler warning * src/auth.c: * src/lcp.c: * src/pppd.c: Add code to track ppp failure reasons * src/chat.c: Fixes to clear out buffer space to allow chat script to run multiple times. Note: function is still not thread-safe * src/sys-ecos.c: Reset carrier detected bit when carrier lost Reset ppp_tty control block when PPP started * tests/windows_telnet.c: * cdl/ppp.cdl: Added windows_telnet example application. Connects to Windows PPP server and waits for a telnet session.
author nickg
date Fri, 23 Jul 2004 11:00:40 +0000
parents e0d88dc6a92f
children
line wrap: on
line diff
--- a/packages/net/ppp/current/include/pppd.h
+++ b/packages/net/ppp/current/include/pppd.h
@@ -85,6 +85,7 @@
 #include <sys/types.h>		/* for u_int32_t, if defined */
 #include <sys/time.h>		/* for struct timeval */
 #include <cyg/ppp/net/ppp_defs.h>
+#include <cyg/ppp/ppp.h>
 
 #if __STDC__
 #include <stdarg.h>
@@ -376,6 +377,7 @@ int  getword __P((FILE *f, char *word, i
 void option_error __P((char *fmt, ...));
 				/* Print an error message about an option */
 int setipaddr __P((char *));	/* set IP addresses */
+int gettimeofday __P((struct timeval *tv, struct timezone *tz));
 
 
 /*