summaryrefslogtreecommitdiff
path: root/Xext/xace.h
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-12-18 13:58:35 -0500
committerEamon Walsh <ewalsh@tycho.nsa.gov>2008-12-18 13:58:35 -0500
commitf87e66486c3610c56888915b66ae5ab0af03da8b (patch)
tree23960b5c014d3a703234a5710ca32e952a86b4b7 /Xext/xace.h
parent777408914dbf395e9969e3f34720286e6f740369 (diff)
xace: Export wrappers around two Xtrans functions used by modules.
Don't know a better way to do this, since Xtrans isn't a library that can be linked into modules.
Diffstat (limited to 'Xext/xace.h')
-rw-r--r--Xext/xace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xext/xace.h b/Xext/xace.h
index 542b1574a..3b3e8785f 100644
--- a/Xext/xace.h
+++ b/Xext/xace.h
@@ -85,6 +85,10 @@ void XaceHookAuditEnd(ClientPtr ptr, int result);
#define XaceDeleteCallback(hook,callback,data) \
DeleteCallback(XaceHooks+(hook), callback, data)
+/* XTrans wrappers for use by security modules
+ */
+_X_EXPORT int XaceGetConnectionNumber(ClientPtr ptr);
+_X_EXPORT int XaceIsLocal(ClientPtr ptr);
/* From the original Security extension...
*/