aboutsummaryrefslogtreecommitdiffstats
path: root/src/pam.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-20 21:02:25 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-20 21:02:25 +0100
commit61733cebeb3a752d5fae2b87b605ce82d15ba88f (patch)
treee6a49822700130f0d17a56c7868ac3f20b7bcc9b /src/pam.h
parentonly root may use -f (diff)
downloadlibpassphrase-61733cebeb3a752d5fae2b87b605ce82d15ba88f.tar.gz
libpassphrase-61733cebeb3a752d5fae2b87b605ce82d15ba88f.tar.bz2
libpassphrase-61733cebeb3a752d5fae2b87b605ce82d15ba88f.tar.xz
some work on pam usage
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/pam.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/pam.h b/src/pam.h
index 791aa07..4c793d3 100644
--- a/src/pam.h
+++ b/src/pam.h
@@ -28,6 +28,21 @@
*/
void initialise_pam(char* remote, char* username);
+/**
+ * Verify that the account may be used
+ */
+void verify_account_pam(void);
+
+/**
+ * Open PAM session
+ */
+void open_session_pam(void);
+
+/**
+ * Close PAM session
+ */
+void close_session_pam(void);
+
#endif