aboutsummaryrefslogtreecommitdiffstats
path: root/src/passphrase.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-22 10:03:07 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-22 10:03:07 +0100
commit38bf64b415376f1419cd798fd753736960355bf5 (patch)
treec9b725f2bf140641fc9faf7bbe7d5786183158e1 /src/passphrase.h
parentupdate copying notice (diff)
downloadlibpassphrase-38bf64b415376f1419cd798fd753736960355bf5.tar.gz
libpassphrase-38bf64b415376f1419cd798fd753736960355bf5.tar.bz2
libpassphrase-38bf64b415376f1419cd798fd753736960355bf5.tar.xz
first version
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/passphrase.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/passphrase.h b/src/passphrase.h
index 8dbc39d..9a1baa5 100644
--- a/src/passphrase.h
+++ b/src/passphrase.h
@@ -23,19 +23,19 @@
/**
* Reads the passphrase from stdin
*
- * @return The passphrase, should be `free`:ed
+ * @return The passphrase, should be wiped `free`:ed, `NULL` on error
*/
-char* get_passphrase(void);
+extern char* get_passphrase(void);
/**
* Disable echoing and do anything else to the terminal settnings `get_passphrase` requires
*/
-void disable_echo(void);
+extern void disable_echo(void);
/**
* Undo the actions of `disable_echo`
*/
-void reenable_echo(void);
+extern void reenable_echo(void);
#endif