summaryrefslogtreecommitdiffstats
path: root/src/userlist.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-05-14 16:43:08 +0200
committerSimon Rettberg2019-05-14 16:43:08 +0200
commite45db79e80b28a3af083af8e3bf70a6be1b5e718 (patch)
tree08e4c506081af667ad4a1897f2f7922b265c3e44 /src/userlist.h
parentBetter align warning messages with full minute (diff)
downloadidle-daemon-e45db79e80b28a3af083af8e3bf70a6be1b5e718.tar.gz
idle-daemon-e45db79e80b28a3af083af8e3bf70a6be1b5e718.tar.xz
idle-daemon-e45db79e80b28a3af083af8e3bf70a6be1b5e718.zip
Support user disabling saver + dpms
Diffstat (limited to 'src/userlist.h')
-rw-r--r--src/userlist.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/userlist.h b/src/userlist.h
index ca7a70b..189b0c2 100644
--- a/src/userlist.h
+++ b/src/userlist.h
@@ -5,7 +5,8 @@
#include <stdbool.h>
#define STRLEN (40)
-#define AUTHLEN (128)
+#define AUTHLEN (160)
+#define SAVERLEN (160)
struct user {
time_t lastActivity;
@@ -25,6 +26,7 @@ struct user {
char display[STRLEN];
char sessionName[STRLEN];
char xauth[AUTHLEN];
+ char saverFile[SAVERLEN];
};
int getUserList( struct user *outbuf, int numElements );