*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* 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. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#ifndef _XTSOL_H_
#define _XTSOL_H_
#ifndef _XTSOL_SERVER
#endif /* _XTSOL_SERVER */
#include <X11/Xfuncproto.h>
/*
* Name of the Trusted Solaris extension
*/
/*
* Resource value masks
* The following resource masks are obsolete:
* RES_IL 2 # information label
* RES_IIL 4 # input info label
*/
typedef struct _XTsolResAttributes {
typedef struct _XTsolPropAttributes {
/*
* Client Attributes
*/
typedef struct _XTsolClientAttributes {
/*
* Trusted X Server Interfaces
* Status value 0 means failure, else success
* Status is defined in Xlib.h for user includes.
*/
#ifndef Status
#define Status int
#endif
#ifndef _XTSOL_SERVER
extern Bool XTSOLIsWindowTrusted(
#endif
);
extern Status XTSOLsetPolyInstInfo(
int enabled
#endif
);
extern Status XTSOLsetPropLabel(
#endif
);
extern Status XTSOLsetPropUID(
#endif
);
extern Status XTSOLsetResLabel(
#endif
);
extern Status XTSOLsetResUID(
#endif
);
extern Status XTSOLsetSSHeight(
int screen_num,
int newHeight
#endif
);
extern Status XTSOLgetSSHeight(
int screen_num,
int *newHeight
#endif
);
extern Status XTSOLsetSessionHI(
#endif
);
extern Status XTSOLsetSessionLO(
#endif
);
extern Status XTSOLsetWorkstationOwner(
#endif
);
extern Status XTSOLgetClientAttributes(
#endif
);
extern Status XTSOLgetClientLabel(
#endif
);
extern Status XTSOLgetPropAttributes(
#endif
);
extern Status XTSOLgetPropLabel(
#endif
);
extern Status XTSOLgetPropUID(
#endif
);
extern Status XTSOLgetResAttributes(
#endif
);
extern Status XTSOLgetResLabel(
#endif
);
extern Status XTSOLgetResUID(
#endif
);
extern Status XTSOLgetWorkstationOwner(
#endif
);
extern Status XTSOLMakeTPWindow(
#endif
);
extern Status XTSOLMakeTrustedWindow(
#endif
);
extern Status XTSOLMakeUntrustedWindow(
#endif
);
#endif /* _XTSOL_SERVER */
#endif /* _XTSOL_H_ */