summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorSimon Rettberg2020-10-12 09:23:57 +0200
committerSimon Rettberg2020-10-12 09:23:57 +0200
commitd712d3b76d6c2507f1f9b81349bc9b8b780f7a5c (patch)
treef4fbb4d9ddf739fe3f1bf929ec6c9544e72da1d2 /src/main.h
parentFix potential strcmp() overflow, better packed struct for pipe (diff)
downloadidle-daemon-d712d3b76d6c2507f1f9b81349bc9b8b780f7a5c.tar.gz
idle-daemon-d712d3b76d6c2507f1f9b81349bc9b8b780f7a5c.tar.xz
idle-daemon-d712d3b76d6c2507f1f9b81349bc9b8b780f7a5c.zip
Add usercount to RPC, simplify timing calculation
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index b1cd420..5d73e59 100644
--- a/src/main.h
+++ b/src/main.h
@@ -17,7 +17,7 @@ struct time {
enum Shutdown action;
};
-void main_getStatus( const char **nextAction, time_t *deadline );
+void main_getStatus( const char **nextAction, time_t *deadline, int *numUsers );
struct user* main_getUser( const char *terminal );