summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-25 20:35:17 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-25 20:36:01 +0200
commitec863ba65a41e58680a3ab15841243088284e808 (patch)
treeb92316794d11a99154bcd1eea32741b1f8b87fc7 /src/util.h
parentf015eca2a2f4186208930cf23196967ed425e2c9 (diff)
ask-password: add basic tty agent
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index b257ee5603..6a252abbb1 100644
--- a/src/util.h
+++ b/src/util.h
@@ -364,6 +364,8 @@ bool null_or_empty(struct stat *st);
DIR *xopendirat(int dirfd, const char *name);
+int ask_password_tty(const char *message, usec_t until, const char *flag_file, char **_passphrase);
+
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)