diff options
author | Simon Rettberg | 2019-05-13 14:43:35 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-05-13 14:43:35 +0200 |
commit | 6053a358dd187fd56bdd1753fbc6b8285c35cd98 (patch) | |
tree | fd263b39de63d6c3bd4dc058fcddeef2a1003d64 /src/rpc.h | |
parent | Initial commit (diff) | |
download | idle-daemon-6053a358dd187fd56bdd1753fbc6b8285c35cd98.tar.gz idle-daemon-6053a358dd187fd56bdd1753fbc6b8285c35cd98.tar.xz idle-daemon-6053a358dd187fd56bdd1753fbc6b8285c35cd98.zip |
Add reboot/kexec/poweroff via RPC
Diffstat (limited to 'src/rpc.h')
-rw-r--r-- | src/rpc.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,10 +1,14 @@ #ifndef _RPC_H__ #define _RPC_H__ +#include <stdbool.h> + int rpcOpen(); void rpcHandle( int listenFd ); void rpcWait( int listenFd, int seconds ); +bool rpc_send( const char *data ); + #endif |