*
* 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.
*/
#define NEED_REPLIES
#define NEED_EVENTS
#include <stdio.h>
#include "Xtsolproto.h"
#include "Xtsol.h"
/*
* Initialiazation routine
*/
static int X_TsolExtensionCode;
{\
if (!TsolInitialized)\
if (InitializeTsol(dpy) == 0)\
{\
return 0;\
}\
}
static int
{
int tmp;
int event;
{
return 1;
}
else
{
return 0; /* Failure */
}
}
/*
* returns true if win is trusted path
*/
{
}
int enabled;
{
SyncHandle();
return 1;
}
{
SyncHandle();
return 1;
}
{
SyncHandle();
return 1;
}
{
SyncHandle();
return 1;
}
{
SyncHandle();
return 1;
}
int screen_num;
int newHeight;
{
SyncHandle();
return 1;
}
{
SyncHandle();
return 1;
}
{
SyncHandle();
return 1;
}
{
SyncHandle();
return 1;
}
/*
* make the window a trusted path window
*/
{
SyncHandle();
return 1;
}
/*
* Turn on the trusted bit of window
*/
{
SyncHandle();
return 1;
}
/*
* Turn off the trusted bit of window
*/
{
SyncHandle();
return 1;
}
/*
* get resource attributes.
*/
{
if (status)
{
/* copy the data to user struct */
else
clientattr->trustflag = 0;
}
SyncHandle();
return status;
}
{
{
{
}
else
{
}
}
SyncHandle();
return status;
}
{
if (status)
{
/* copy the data to user struct */
/* read the label info */
{
}
{
}
}
SyncHandle();
return status;
}
{
{
/* copy the data to user struct */
/* read the label info */
{
}
else
{
}
}
SyncHandle();
return status;
}
{
if (status)
{
/* copy the data to user struct */
}
SyncHandle();
return status;
}
{
if (status)
{
/* copy the data to user struct */
/* read the label info */
{
}
{
}
}
SyncHandle();
return status;
}
/*
* get resource label.
*/
{
{
{
}
else
{
}
}
SyncHandle();
return status;
}
{
if (status)
{
/* copy the data to user struct */
}
SyncHandle();
return status;
}
int screen_num;
int *newHeight;
{
if (status)
{
/* copy the data to user struct */
}
SyncHandle();
return status;
}
{
if (status)
{
/* copy the data to user struct */
}
SyncHandle();
return status;
}