diff options
author | Simon Rettberg | 2019-06-12 16:21:45 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-06-12 16:21:45 +0200 |
commit | 72dac079fbac16ea9dee6de544bdc7ed24a5e208 (patch) | |
tree | d53f1c175511f3c9bbe1343cddc8c7f2450df65d /src/main.h | |
parent | Make sure user promptly sees warning when using RPC (diff) | |
download | idle-daemon-72dac079fbac16ea9dee6de544bdc7ed24a5e208.tar.gz idle-daemon-72dac079fbac16ea9dee6de544bdc7ed24a5e208.tar.xz idle-daemon-72dac079fbac16ea9dee6de544bdc7ed24a5e208.zip |
Add RPC method "warn" to show messge to users
Only usable by root.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -23,4 +23,6 @@ struct user* main_getUser( const char *terminal ); void main_queueAction( enum Shutdown action, int seconds ); +void main_warnAll( const char *message ); + #endif |