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