1706f2543Smrg/* 2706f2543Smrg * Copyright (C) 2001 The XFree86 Project, Inc. All Rights Reserved. 3706f2543Smrg * 4706f2543Smrg * Permission is hereby granted, free of charge, to any person obtaining a copy 5706f2543Smrg * of this software and associated documentation files (the "Software"), to 6706f2543Smrg * deal in the Software without restriction, including without limitation the 7706f2543Smrg * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 8706f2543Smrg * sell copies of the Software, and to permit persons to whom the Software is 9706f2543Smrg * furnished to do so, subject to the following conditions: 10706f2543Smrg * 11706f2543Smrg * The above copyright notice and this permission notice shall be included in 12706f2543Smrg * all copies or substantial portions of the Software. 13706f2543Smrg * 14706f2543Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15706f2543Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16706f2543Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17706f2543Smrg * XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18706f2543Smrg * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 19706f2543Smrg * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20706f2543Smrg * 21706f2543Smrg * Except as contained in this notice, the name of the XFree86 Project shall 22706f2543Smrg * not be used in advertising or otherwise to promote the sale, use or other 23706f2543Smrg * dealings in this Software without prior written authorization from the 24706f2543Smrg * XFree86 Project. 25706f2543Smrg */ 26706f2543Smrg 27706f2543Smrg#ifdef HAVE_DIX_CONFIG_H 28706f2543Smrg#include <dix-config.h> 29706f2543Smrg#endif 30706f2543Smrg 31706f2543Smrg#ifndef _SLEEPUNTIL_H_ 32706f2543Smrg#define _SLEEPUNTIL_H_ 1 33706f2543Smrg 34706f2543Smrg#include "dix.h" 35706f2543Smrg 36706f2543Smrgextern int ClientSleepUntil( 37706f2543Smrg ClientPtr client, 38706f2543Smrg TimeStamp *revive, 39706f2543Smrg void (*notifyFunc)( 40706f2543Smrg ClientPtr /* client */, 41706f2543Smrg pointer /* closure */ 42706f2543Smrg ), 43706f2543Smrg pointer Closure 44706f2543Smrg); 45706f2543Smrg 46706f2543Smrg#endif 47