aboutsummaryrefslogtreecommitdiffstats
path: root/src/cerberus.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-18 16:56:25 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-18 16:56:25 +0100
commit3fbb1dbd6ca47d047fb74d258269dabca285b7fb (patch)
tree0acb23724922cc2c26537081aa54dec288c8988f /src/cerberus.h
parentm (diff)
downloadlibpassphrase-3fbb1dbd6ca47d047fb74d258269dabca285b7fb.tar.gz
libpassphrase-3fbb1dbd6ca47d047fb74d258269dabca285b7fb.tar.bz2
libpassphrase-3fbb1dbd6ca47d047fb74d258269dabca285b7fb.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/cerberus.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cerberus.h b/src/cerberus.h
index aeb41c2..c2ea2af 100644
--- a/src/cerberus.h
+++ b/src/cerberus.h
@@ -19,8 +19,15 @@
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
+#include <pwd.h>
#include "passphrase.h"
#include "quit.h"
#include "security.h"
+
+/* The number of seconds before the program times out */
+#ifndef TIMEOUT_SECONDS
+#define TIMEOUT_SECONDS 60
+#endif
+