diff options
author | Brian Somers <brian@FreeBSD.org> | 1998-01-29 00:49:32 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1998-01-29 00:49:32 +0000 |
commit | 63b7346316afa0c20b6cf22506bcc53abc9f08f8 (patch) | |
tree | 0f029d822049c079452af8d60be4419d8bbace89 /usr.sbin/ppp/auth.h | |
parent | 1ae349f52c53416e04f1d038a8210f1a9fa7db2c (diff) | |
download | src-63b7346316afa0c20b6cf22506bcc53abc9f08f8.tar.gz src-63b7346316afa0c20b6cf22506bcc53abc9f08f8.zip |
Create a new MP branch for `multilink protocol'.
Do lots of initial shuffling and grouping.
Submitted by: Eivind Eklund <perhaps@yes.no>
Notes
Notes:
svn path=/cvs2svn/branches/MP/; revision=32863
Diffstat (limited to 'usr.sbin/ppp/auth.h')
-rw-r--r-- | usr.sbin/ppp/auth.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/usr.sbin/ppp/auth.h b/usr.sbin/ppp/auth.h index a0fa77968608..6a1c02144f38 100644 --- a/usr.sbin/ppp/auth.h +++ b/usr.sbin/ppp/auth.h @@ -15,11 +15,13 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: auth.h,v 1.9 1997/10/26 01:02:09 brian Exp $ + * $Id: auth.h,v 1.10 1997/11/22 03:37:24 brian Exp $ * * TODO: */ +struct physical; + typedef enum { VALID, INVALID, @@ -27,15 +29,18 @@ typedef enum { } LOCAL_AUTH_VALID; struct authinfo { - void (*ChallengeFunc) (int); + void (*ChallengeFunc) (int, struct physical *); struct pppTimer authtimer; int retry; int id; + struct physical *physical; }; extern LOCAL_AUTH_VALID LocalAuthValidate(const char *, const char *, const char *); extern void StopAuthTimer(struct authinfo *); -extern void StartAuthChallenge(struct authinfo *); +extern void StartAuthChallenge(struct authinfo *, struct physical *); extern void LocalAuthInit(void); -extern int AuthValidate(const char *, const char *, const char *); -extern char *AuthGetSecret(const char *, const char *, int, int); +extern int AuthValidate(const char *, const char *, const char *, + struct physical *); +extern char *AuthGetSecret(const char *, const char *, int, int, + struct physical *); |