aboutsummaryrefslogtreecommitdiffstats
path: root/src/login.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login.h')
-rw-r--r--src/login.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/login.h b/src/login.h
index 43cb302..14014f2 100644
--- a/src/login.h
+++ b/src/login.h
@@ -23,6 +23,13 @@
/**
+ * Set the user gid and uid
+ *
+ * @param entry The user entry in the password file
+ */
+void set_user(struct passwd* entry);
+
+/**
* Change directory to the user's home directory
*
* @param entry The user entry in the password file