summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/auth.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-08-25 00:29:32 +0000
committerbrian <brian@FreeBSD.org>1997-08-25 00:29:32 +0000
commit1a67d257255b14fb46fc02630bf861a49bebd625 (patch)
tree5a0190bb42d398d91fc5bbdd17de31f54aec2459 /usr.sbin/ppp/auth.h
parentbbf38e6e36ecd35771c55badcb09ca745a61d881 (diff)
downloadFreeBSD-src-1a67d257255b14fb46fc02630bf861a49bebd625.zip
FreeBSD-src-1a67d257255b14fb46fc02630bf861a49bebd625.tar.gz
Make the code format more in line with style(9).
Update loadalias to use the new libalias api. Update to version 1.1.
Diffstat (limited to 'usr.sbin/ppp/auth.h')
-rw-r--r--usr.sbin/ppp/auth.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/ppp/auth.h b/usr.sbin/ppp/auth.h
index 4ca72ae..635ff54 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.5 1997/02/22 16:10:02 peter Exp $
+ * $Id: auth.h,v 1.6 1997/06/09 03:27:13 brian Exp $
*
* TODO:
*/
@@ -23,11 +23,13 @@
#ifndef _AUTH_H_
#define _AUTH_H_
-typedef enum { VALID, INVALID, NOT_FOUND } LOCAL_AUTH_VALID;
-LOCAL_AUTH_VALID LocalAuthValidate( char *, char *, char *);
+typedef enum {
+ VALID, INVALID, NOT_FOUND
+} LOCAL_AUTH_VALID;
+LOCAL_AUTH_VALID LocalAuthValidate(char *, char *, char *);
struct authinfo {
- void (*ChallengeFunc)();
+ void (*ChallengeFunc) ();
struct pppTimer authtimer;
int retry;
int id;
@@ -41,4 +43,5 @@ extern void StopAuthTimer(struct authinfo *);
extern void StartAuthChallenge(struct authinfo *);
extern LOCAL_AUTH_VALID LocalAuthInit(void);
extern int AuthValidate(char *, char *, char *);
+
#endif
OpenPOWER on IntegriCloud