summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/auth.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-02-01 13:42:25 +0000
committerbrian <brian@FreeBSD.org>1999-02-01 13:42:25 +0000
commita66fe159a89a7ea089f4d8eef24fc04ea7ab7e07 (patch)
tree963ff4db128e6327d53d4ce1d2dfc2ba5226283c /usr.sbin/ppp/auth.h
parent7c096f22d6d34034cc3e1211010451159156a9b8 (diff)
downloadFreeBSD-src-a66fe159a89a7ea089f4d8eef24fc04ea7ab7e07.zip
FreeBSD-src-a66fe159a89a7ea089f4d8eef24fc04ea7ab7e07.tar.gz
If we receive no answer from the server when sending PAP
requests, give up (don't sit there indefinitely).
Diffstat (limited to 'usr.sbin/ppp/auth.h')
-rw-r--r--usr.sbin/ppp/auth.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ppp/auth.h b/usr.sbin/ppp/auth.h
index 3766f03..7ac577d 100644
--- a/usr.sbin/ppp/auth.h
+++ b/usr.sbin/ppp/auth.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: auth.h,v 1.11 1998/05/21 21:44:03 brian Exp $
+ * $Id: auth.h,v 1.12 1998/08/07 18:42:47 brian Exp $
*
* TODO:
*/
@@ -25,6 +25,7 @@ struct bundle;
struct authinfo {
void (*ChallengeFunc)(struct authinfo *, int, struct physical *);
+ void (*FailedFunc)(struct physical *);
struct pppTimer authtimer;
int retry;
int id;
@@ -39,8 +40,9 @@ extern const char *Auth2Nam(u_short);
extern void auth_Init(struct authinfo *);
extern void auth_StopTimer(struct authinfo *);
extern void auth_StartChallenge(struct authinfo *, struct physical *,
- void (*fn)(struct authinfo *, int,
- struct physical *));
+ void (*)(struct authinfo *, int,
+ struct physical *),
+ void (*)(struct physical *));
extern int auth_Validate(struct bundle *, const char *, const char *,
struct physical *);
extern char *auth_GetSecret(struct bundle *, const char *, int,
OpenPOWER on IntegriCloud