X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Ffsm.h;h=dc1c179df88325390b5702a2978a948ace0bd8ad;hp=a12966bef48891ec4818b2c7d92115f8fa893784;hb=b45067455a4e74d002f8d321ac261df95ad8ad7e;hpb=5fdf00087b6659db3b99f1d0ee7e18cdddfe2a02 diff --git a/pppd/fsm.h b/pppd/fsm.h index a12966b..dc1c179 100644 --- a/pppd/fsm.h +++ b/pppd/fsm.h @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: fsm.h,v 1.2 1994/04/11 07:18:35 paulus Exp $ + * $Id: fsm.h,v 1.4 1994/09/21 06:47:37 paulus Exp $ */ /* @@ -66,6 +66,7 @@ typedef struct fsm { int flags; /* Contains option bits */ u_char id; /* Current id */ u_char reqid; /* Current request id */ + u_char seen_ack; /* Have received valid Ack/Nak/Rej to Req */ int timeouttime; /* Timeout time in milliseconds */ int maxconfreqtransmits; /* Maximum Configure-Request transmissions */ int retransmits; /* Number of retransmissions left */ @@ -111,14 +112,14 @@ typedef struct fsm { /* * Prototypes */ -void fsm_init __ARGS((fsm *)); -void fsm_lowerup __ARGS((fsm *)); -void fsm_lowerdown __ARGS((fsm *)); -void fsm_open __ARGS((fsm *)); -void fsm_close __ARGS((fsm *)); -void fsm_input __ARGS((fsm *, u_char *, int)); -void fsm_protreject __ARGS((fsm *)); -void fsm_sdata __ARGS((fsm *, int, int, u_char *, int)); +void fsm_init __P((fsm *)); +void fsm_lowerup __P((fsm *)); +void fsm_lowerdown __P((fsm *)); +void fsm_open __P((fsm *)); +void fsm_close __P((fsm *)); +void fsm_input __P((fsm *, u_char *, int)); +void fsm_protreject __P((fsm *)); +void fsm_sdata __P((fsm *, int, int, u_char *, int)); /*