X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Ftypes.h;h=f1630b0dc7d09e5f2888d5d711dc0fb924e6aa87;hp=3ab8506cbb50a3ede62b4337680a2e70fc88f3d7;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hpb=dba664f31aa87285db4d76cf8c5e66335299703a diff --git a/driver/types.h b/driver/types.h index 3ab8506c..f1630b0d 100644 --- a/driver/types.h +++ b/driver/types.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1993-2011 Jamie Zawinski +/* xscreensaver, Copyright (c) 1993-2014 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -164,6 +164,10 @@ struct saver_preferences { char *help_url; /* Where the help document resides. */ char *load_url_command; /* How one loads URLs. */ char *new_login_command; /* Command for the "New Login" button. */ + + int auth_warning_slack; /* Don't warn about login failures if they + all happen within this many seconds of + a successful login. */ }; /* This structure holds all the data that applies to the program as a whole, @@ -270,6 +274,7 @@ struct saver_info { int unlock_failures; /* Counts failed login attempts while the screen is locked. */ + time_t unlock_failure_time; /* Time of first failed login attempt. */ char *unlock_typeahead; /* If the screen is locked, and the user types a character, we assume that it is the first