45e9809aff7304721fddb95654901b32195c9c7avboxsync/************************************************************
45e9809aff7304721fddb95654901b32195c9c7avboxsyncAuthor: Eamon Walsh <ewalsh@epoch.ncsc.mil>
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPermission to use, copy, modify, distribute, and sell this software and its
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocumentation for any purpose is hereby granted without fee, provided that
45e9809aff7304721fddb95654901b32195c9c7avboxsyncthis permission notice appear in supporting documentation. This permission
45e9809aff7304721fddb95654901b32195c9c7avboxsyncnotice shall be included in all copies or substantial portions of the
45e9809aff7304721fddb95654901b32195c9c7avboxsyncTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45e9809aff7304721fddb95654901b32195c9c7avboxsyncIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45e9809aff7304721fddb95654901b32195c9c7avboxsyncAUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
45e9809aff7304721fddb95654901b32195c9c7avboxsyncAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync********************************************************/
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Hook return codes */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XACE_EXTENSION_NAME "XAccessControlExtension"
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* security hooks */
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Constants used to identify the available security hooks
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Entry point for hook functions. Called by Xserver.
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*hook*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ... /*appropriate args for hook*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Register a callback for a given hook.
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Unregister an existing callback for a given hook.
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* From the original Security extension...
45e9809aff7304721fddb95654901b32195c9c7avboxsync int x, int y, int w, int h,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int format,
45e9809aff7304721fddb95654901b32195c9c7avboxsync#else /* XACE */
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Define calls away when XACE is not being built. */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* XACE */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* _XACE_H */