a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync/*
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Copyright (C) 2001 The XFree86 Project, Inc. All Rights Reserved.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Permission is hereby granted, free of charge, to any person obtaining a copy
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * of this software and associated documentation files (the "Software"), to
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * deal in the Software without restriction, including without limitation the
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * sell copies of the Software, and to permit persons to whom the Software is
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * furnished to do so, subject to the following conditions:
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * The above copyright notice and this permission notice shall be included in
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * all copies or substantial portions of the Software.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Except as contained in this notice, the name of the XFree86 Project shall
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * not be used in advertising or otherwise to promote the sale, use or other
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * dealings in this Software without prior written authorization from the
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * XFree86 Project.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#ifdef HAVE_DIX_CONFIG_H
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#include <dix-config.h>
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#endif
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#ifndef _SLEEPUNTIL_H_
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#define _SLEEPUNTIL_H_ 1
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#include "dix.h"
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern int ClientSleepUntil(ClientPtr client,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync TimeStamp *revive,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync void (*notifyFunc) (ClientPtr /* client */ ,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync void * /* closure */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync ), void *Closure);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#endif