summaryrefslogtreecommitdiffstats
path: root/src/rpc.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/rpc.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/rpc.h')
-rw-r--r--src/rpc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc.h b/src/rpc.h
index 9511cd0..7334cc9 100644
--- a/src/rpc.h
+++ b/src/rpc.h
@@ -7,7 +7,7 @@ int rpc_open( void );
void rpc_handle( int listenFd );
-void rpc_wait( int listenFd, int seconds );
+bool rpc_wait( int listenFd, int seconds );
bool rpc_send( const char *data );