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