property.h revision 03532efdc331b598d3dedc8cc7477641c3b0dd12
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell/***********************************************************
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellCopyright 1987, 1998 The Open Group
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellPermission to use, copy, modify, distribute, and sell this software and its
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnelldocumentation for any purpose is hereby granted without fee, provided that
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellthe above copyright notice appear in all copies and that both that
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellcopyright notice and this permission notice appear in supporting
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnelldocumentation.
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellThe above copyright notice and this permission notice shall be included in
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellall copies or substantial portions of the Software.
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
c299abfd457a72f3b93d443fe40ad36169e1c0a8Craig McDonnellTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
dd00389f072a764f2afbb218de7cf9fd60baf119Phill Cunnington
dd00389f072a764f2afbb218de7cf9fd60baf119Phill CunningtonExcept as contained in this notice, the name of The Open Group shall not be
dd00389f072a764f2afbb218de7cf9fd60baf119Phill Cunningtonused in advertising or otherwise to promote the sale, use or other dealings
dd00389f072a764f2afbb218de7cf9fd60baf119Phill Cunningtonin this Software without prior written authorization from The Open Group.
dd00389f072a764f2afbb218de7cf9fd60baf119Phill Cunnington
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellCopyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
dd00389f072a764f2afbb218de7cf9fd60baf119Phill Cunnington All Rights Reserved
184c2aab7c668e864d6a346cf2e53270f365f6e0Phill Cunnington
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellPermission to use, copy, modify, and distribute this software and its
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnelldocumentation for any purpose and without fee is hereby granted,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellprovided that the above copyright notice appear in all copies and that
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellboth that copyright notice and this permission notice appear in
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellsupporting documentation, and that the name of Digital not be
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellused in advertising or publicity pertaining to distribution of the
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellsoftware without specific, written prior permission.
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellSOFTWARE.
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
9f2dfcd449ae1cfd1bcc249ef5aec29950cf3fc7Phill Cunnington******************************************************************/
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell#ifndef PROPERTY_H
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell#define PROPERTY_H
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell#include "window.h"
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
9f2dfcd449ae1cfd1bcc249ef5aec29950cf3fc7Phill Cunningtontypedef struct _Property *PropertyPtr;
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellextern _X_EXPORT int dixLookupProperty(PropertyPtr * /*result */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell WindowPtr /*pWin */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell Atom /*proprty */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell ClientPtr /*pClient */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell Mask /*access_mode */ );
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellextern _X_EXPORT int dixChangeWindowProperty(ClientPtr /*pClient */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell WindowPtr /*pWin */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell Atom /*property */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell Atom /*type */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell int /*format */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell int /*mode */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell unsigned long /*len */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell pointer /*value */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell Bool /*sendevent */ );
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellextern _X_EXPORT int ChangeWindowProperty(WindowPtr /*pWin */ ,
3deb9260b3feeed415cebe3c379eb4e7ed17de62sachiko Atom /*property */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell Atom /*type */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell int /*format */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell int /*mode */ ,
c299abfd457a72f3b93d443fe40ad36169e1c0a8Craig McDonnell unsigned long /*len */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell pointer /*value */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell Bool /*sendevent */ );
3deb9260b3feeed415cebe3c379eb4e7ed17de62sachiko
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellextern _X_EXPORT int DeleteProperty(ClientPtr /*client */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell WindowPtr /*pWin */ ,
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell Atom /*propName */ );
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnellextern _X_EXPORT void DeleteAllWindowProperties(WindowPtr /*pWin */ );
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell#endif /* PROPERTY_H */
cf7084cf20623b8a2d7da2cc101288f2cf516d67Craig McDonnell