diff options
author | Simon Rettberg | 2020-10-12 09:23:57 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-10-12 09:23:57 +0200 |
commit | d712d3b76d6c2507f1f9b81349bc9b8b780f7a5c (patch) | |
tree | f4fbb4d9ddf739fe3f1bf929ec6c9544e72da1d2 /src/main.h | |
parent | Fix potential strcmp() overflow, better packed struct for pipe (diff) | |
download | idle-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ); |