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