rtn_grab.h revision 830
1351N/A/* Copyright 1996 Sun Microsystems, Inc. All rights reserved.
1351N/A * Use is subject to license terms.
1351N/A *
1351N/A * Permission is hereby granted, free of charge, to any person obtaining a
1351N/A * copy of this software and associated documentation files (the
1351N/A * "Software"), to deal in the Software without restriction, including
1351N/A * without limitation the rights to use, copy, modify, merge, publish,
1351N/A * distribute, and/or sell copies of the Software, and to permit persons
1351N/A * to whom the Software is furnished to do so, provided that the above
1351N/A * copyright notice(s) and this permission notice appear in all copies of
1351N/A * the Software and that both the above copyright notice(s) and this
* permission notice appear in supporting documentation.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
* OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
* HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
* INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder
* shall not be used in advertising or otherwise to promote the sale, use
* or other dealings in this Software without prior written authorization
* of the copyright holder.
*/
#pragma ident "@(#)rtn_grab.h 35.3 09/11/09 SMI"
/*
* rtn_grab.h DGA Retained Window Grabber Definitions
*
*/
#ifndef _RTN_GRAB_H
#define _RTN_GRAB_H
/*
* Internal DGA Retained Window Macros
*/
#define RTN_INFOP(clientp) ((SHARED_RETAINED_INFO *) ((clientp)->rtn_info))
/*
* DGA Retained Window Functions
*/
extern int _dga_rtn_map();
extern int _dga_rtn_unmap();
#ifdef DEBUG
extern void _dga_rtn_dump();
#endif
#endif /* _RTN_GRAB_H */