From 72dac079fbac16ea9dee6de544bdc7ed24a5e208 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 12 Jun 2019 16:21:45 +0200 Subject: Add RPC method "warn" to show messge to users Only usable by root. --- src/main.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 2c792ac..b1cd420 100644 --- a/src/main.h +++ b/src/main.h @@ -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 -- cgit v1.2.3-55-g7522