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