18108eb18Smrg/* $Xorg: prop.h,v 1.4 2001/02/09 02:06:01 xorgcvs Exp $ */
28108eb18Smrg/******************************************************************************
38108eb18Smrg
48108eb18SmrgCopyright 1993, 1998  The Open Group
58108eb18Smrg
68108eb18SmrgPermission to use, copy, modify, distribute, and sell this software and its
78108eb18Smrgdocumentation for any purpose is hereby granted without fee, provided that
88108eb18Smrgthe above copyright notice appear in all copies and that both that
98108eb18Smrgcopyright notice and this permission notice appear in supporting
108108eb18Smrgdocumentation.
118108eb18Smrg
128108eb18SmrgThe above copyright notice and this permission notice shall be included in
138108eb18Smrgall copies or substantial portions of the Software.
148108eb18Smrg
158108eb18SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
168108eb18SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
178108eb18SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
188108eb18SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
198108eb18SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
208108eb18SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
218108eb18Smrg
228108eb18SmrgExcept as contained in this notice, the name of The Open Group shall not be
238108eb18Smrgused in advertising or otherwise to promote the sale, use or other dealings
248108eb18Smrgin this Software without prior written authorization from The Open Group.
258108eb18Smrg******************************************************************************/
268108eb18Smrg/* $XFree86: xc/programs/xsm/prop.h,v 1.5 2001/08/01 00:45:07 tsi Exp $ */
278108eb18Smrg
288108eb18Smrg#ifndef _PROP_H_
298108eb18Smrg#define _PROP_H_
308108eb18Smrg
318108eb18Smrg#include "xsm.h"
328108eb18Smrg
338108eb18Smrgextern void FreePropValues(List *propValues);
348108eb18Smrgextern void FreeProp(Prop *prop);
358108eb18Smrgextern void SetInitialProperties(ClientRec *client, List *props);
368108eb18Smrgextern void SetProperty(ClientRec *client, SmProp *theProp, Bool freeIt);
378108eb18Smrgextern void DeleteProperty(ClientRec *client, char *propname);
388108eb18Smrgextern void SetPropertiesProc(SmsConn smsConn, SmPointer managerData,
398108eb18Smrg			      int numProps, SmProp **props);
408108eb18Smrgextern void DeletePropertiesProc(SmsConn smsConn, SmPointer managerData,
418108eb18Smrg				 int numProps, char **propNames);
428108eb18Smrgextern void GetPropertiesProc(SmsConn smsConn, SmPointer managerData);
438108eb18Smrg
448108eb18Smrg#endif
45