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.
This commit is contained in:
Eamon Walsh
2008-12-18 13:58:35 -05:00
parent 777408914d
commit f87e66486c
2 changed files with 24 additions and 0 deletions

View File

@@ -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...
*/