summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/prompt.h
Commit message (Collapse)AuthorAgeFilesLines
* Include the correct file (stdarg.h) and use va_list rather than _BSD_VA_LIST_brian2002-08-271-5/+2
| | | | Suggested by: mike
* Use _BSD_VA_LIST_ rather than __va_list if it's definedbrian2002-08-271-2/+5
|
* o Merge <machine/ansi.h> and <machine/types.h> into a new headermike2002-08-211-2/+2
| | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
* Silence some of the -Wnon-const-format warnings and add __printflike()kris2001-07-021-0/+5
| | | | | | | to a function prototype which needs it. Approved by: brian MFC After: 2 weeks
* To avoid namespace polution in NetBSD:brian2000-03-141-1/+1
| | | | ``struct descriptor'' -> ``struct fdescriptor''
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* o De-staticise things that don't need to be static.brian1998-06-151-1/+2
| | | | | | | | | | o Bring the static ``ttystate'' into struct prompt so that the tilde context is per prompt and not global. o Comment the remaining static variables so that it's clear why they're static. o Add some XXX comments suggesting that our interface list and our hostname should be re-generated after a signal (say SIGUSR1) so that a machine with PCCARDs has a chance.
* o Move our prompt descriptor list outside of the bundle.brian1998-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | It's now dealt with by the `server' object. This simplifies things as we only have one list of prompt descriptors and the log_ routines check prompt::logactive to determine whether it should be used for output. o Include the MP socket UpdateSet() result in bundle::UpdateSet(). o Don't select on the tun device unless we're in NETWORK phase or AUTO mode. o Stop the idle timer when we go to DEAD phase. We may have transferred a link and not had a chance to kill it. o Don't fail when trying to unlink our transferred datalink from our descriptor lists just before the transfer. o Add our link descriptor to the write set if we got a short write the last time (physical::out is set). o Log the connection source address when a connection is closed. o Remove descriptor::next field. Descriptor lists are not required any more.
* MFMP: Make ppp multilink capable.brian1998-05-211-0/+90
See the file README.changes, and re-read the man page.
OpenPOWER on IntegriCloud