=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/auth-options.h,v retrieving revision 1.8.2.2 retrieving revision 1.9 diff -u -r1.8.2.2 -r1.9 --- src/usr.bin/ssh/auth-options.h 2002/03/09 00:20:43 1.8.2.2 +++ src/usr.bin/ssh/auth-options.h 2001/06/26 06:32:47 1.9 @@ -1,5 +1,3 @@ -/* $OpenBSD: auth-options.h,v 1.8.2.2 2002/03/09 00:20:43 miod Exp $ */ - /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -13,6 +11,8 @@ * called by a name other than "ssh" or "Secure Shell". */ +/* $OpenBSD: auth-options.h,v 1.9 2001/06/26 06:32:47 itojun Exp $ */ + #ifndef AUTH_OPTIONS_H #define AUTH_OPTIONS_H @@ -30,7 +30,14 @@ extern char *forced_command; extern struct envstring *custom_environment; -int auth_parse_options(struct passwd *, char *, char *, u_long); +/* + * return 1 if access is granted, 0 if not. + * side effect: sets key option flags + */ +int +auth_parse_options(struct passwd *, char *, char *, u_long); + +/* reset options flags */ void auth_clear_options(void); #endif