summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/auth.h')
-rw-r--r--usr.sbin/ppp/auth.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/ppp/auth.h b/usr.sbin/ppp/auth.h
index bbc257c..3e1047d 100644
--- a/usr.sbin/ppp/auth.h
+++ b/usr.sbin/ppp/auth.h
@@ -60,11 +60,9 @@ extern void auth_Init(struct authinfo *, struct physical *,
auth_func, auth_func, auth_func);
extern void auth_StopTimer(struct authinfo *);
extern void auth_StartReq(struct authinfo *);
-extern int auth_Validate(struct bundle *, const char *, const char *,
- struct physical *);
-extern char *auth_GetSecret(struct bundle *, const char *, int,
- struct physical *);
+extern int auth_Validate(struct bundle *, const char *, const char *);
+extern char *auth_GetSecret(const char *, size_t);
extern int auth_SetPhoneList(const char *, char *, int);
extern int auth_Select(struct bundle *, const char *);
extern struct mbuf *auth_ReadHeader(struct authinfo *, struct mbuf *);
-extern struct mbuf *auth_ReadName(struct authinfo *, struct mbuf *, int);
+extern struct mbuf *auth_ReadName(struct authinfo *, struct mbuf *, size_t);
OpenPOWER on IntegriCloud