summaryrefslogtreecommitdiff
path: root/Xtrans.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-09-12 11:27:39 -0700
committerKeith Packard <keithp@keithp.com>2014-09-13 10:58:20 -0700
commitfb7f198c88e97d22c8c89e76e9cd06b2b2720a96 (patch)
tree536f5c5c0d624808ea388fd51538bbc5b7116aa0 /Xtrans.h
parent17491de45c352c833442cccf17a9bd65909889db (diff)
downloadxorg-lib-libxtrans-fb7f198c88e97d22c8c89e76e9cd06b2b2720a96.tar.gz
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 <keithp@keithp.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'Xtrans.h')
-rw-r--r--Xtrans.h4
1 files changed, 4 insertions, 0 deletions
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*/
);