]> granicus.if.org Git - sudo/commitdiff
added PASSWORD_TIMEOUT + prototypes for new functions
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Jun 1994 00:04:27 +0000 (00:04 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Jun 1994 00:04:27 +0000 (00:04 +0000)
sudo.h

diff --git a/sudo.h b/sudo.h
index 7dbd7e441802be376de9d8217b5c0b9d8b0da0bb..9b811b968ac4d2366aef3a636bd91aa5a5112417 100644 (file)
--- a/sudo.h
+++ b/sudo.h
 #  define TIMEOUT              5
 #endif
 
+/*
+ *  Number of seconds that can elapse before a user enters a password
+ */
+#ifndef PASSWORD_TIMEOUT
+#  define PASSWORD_TIMEOUT     300
+#endif
+
 /*
  *  Number of times sudo will let you guess are you password before screaming
  */
@@ -322,8 +329,15 @@ typedef struct list {
 /* These are the functions that are called in sudo(8) */
 
 #ifndef HAVE_STRDUP
-char *strdup           __P((char *));
+char *strdup           __P((const char *));
+#endif
+#ifndef HAVE_GETCWD
+char *getcwd           __P((char *, size_t));
+#endif
+#ifndef HAVE_REALPATH
+char *realpath         __P((const char *, char *));
 #endif
+char *tgetpass         __P((char *, int));
 char *find_path                __P((char *));
 void log_error         __P((int));
 void inform_user       __P((int));