From fb7f198c88e97d22c8c89e76e9cd06b2b2720a96 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 12 Sep 2014 11:27:39 -0700 Subject: Add TRANS(Listen) function to re-enable specific listen sockets This will allow a server to disable listeners by default and then let later configuration re-enable them. In particular, this lets the X server disable inet and unix listen sockets by default while still providing a '-listen' command line option to re-enable them later on. Signed-off-by: Keith Packard Reviewed-by: Hans de Goede --- Xtrans.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Xtrans.h') diff --git a/Xtrans.h b/Xtrans.h index 6decc6b..026fbd7 100644 --- a/Xtrans.h +++ b/Xtrans.h @@ -311,6 +311,10 @@ int TRANS(NoListen) ( const char* /* protocol*/ ); +int TRANS(Listen) ( + const char* /* protocol*/ +); + int TRANS(IsListening) ( const char* /* protocol*/ ); -- cgit v1.2.3