diff options
author | brian <brian@FreeBSD.org> | 1998-05-29 18:33:10 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-05-29 18:33:10 +0000 |
commit | 3c804940dc0e4172a41035ca3afcfeeaa814ca6f (patch) | |
tree | 91887a8671ec07d6c0ccd49963d0db8385be68ed /usr.sbin/ppp/bundle.h | |
parent | c77a86dfe8218d1aa2b856b7849a682729a8b1c9 (diff) | |
download | FreeBSD-src-3c804940dc0e4172a41035ca3afcfeeaa814ca6f.zip FreeBSD-src-3c804940dc0e4172a41035ca3afcfeeaa814ca6f.tar.gz |
o If there's a session leader left running for a descriptor
that we're now closing, manually HUP that session leader
so that the tty is fully released.
o Always restart our carrier detect timer in the receiving
process if it was running in the sending process (as we
now *always* pass the descriptor).
o Tweak argv when we go into pause() mode to keep our session
so that ps can see what's going on (without checking for a
`pause' state in `ps -l').
Diffstat (limited to 'usr.sbin/ppp/bundle.h')
-rw-r--r-- | usr.sbin/ppp/bundle.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/bundle.h b/usr.sbin/ppp/bundle.h index a903fa2..ab11f0ed 100644 --- a/usr.sbin/ppp/bundle.h +++ b/usr.sbin/ppp/bundle.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bundle.h,v 1.3 1998/05/23 22:24:30 brian Exp $ + * $Id: bundle.h,v 1.4 1998/05/28 23:17:33 brian Exp $ */ #define PHASE_DEAD 0 /* Link is dead */ @@ -55,6 +55,7 @@ struct prompt; struct bundle { struct descriptor desc; /* really all our datalinks */ int unit; /* The device/interface unit number */ + const char **argv; /* From main() */ struct { char Name[20]; /* The /dev/XXXX name */ @@ -126,7 +127,7 @@ struct bundle { #define descriptor2bundle(d) \ ((d)->type == BUNDLE_DESCRIPTOR ? (struct bundle *)(d) : NULL) -extern struct bundle *bundle_Create(const char *, int); +extern struct bundle *bundle_Create(const char *, int, const char **); extern void bundle_Destroy(struct bundle *); extern const char *bundle_PhaseName(struct bundle *); #define bundle_Phase(b) ((b)->phase) |