GRAYBYTE WORDPRESS FILE MANAGER4953

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/include/X11/extensions/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/include/X11/extensions//syncstr.h
/*

Copyright 1991, 1993, 1994, 1998  The Open Group

Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.

The above copyright notice and this permission notice 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
OPEN GROUP 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.

Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.

*/

/***********************************************************
Copyright 1991,1993 by Digital Equipment Corporation, Maynard, Massachusetts,
and Olivetti Research Limited, Cambridge, England.

                        All Rights Reserved

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the names of Digital or Olivetti
not be used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.

DIGITAL AND OLIVETTI DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS, IN NO EVENT SHALL THEY BE LIABLE FOR 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.

******************************************************************/

#ifndef _SYNCSTR_H_
#define _SYNCSTR_H_

#include <X11/extensions/syncproto.h>

#ifdef _SYNC_SERVER

#define CARD64 XSyncValue /* XXX temporary! need real 64 bit values for Alpha */

typedef struct _SyncCounter {
    ClientPtr		client;	/* Owning client. 0 for system counters */
    XSyncCounter	id;		/* resource ID */
    CARD64		value;		/* counter value */
    struct _SyncTriggerList *pTriglist;	/* list of triggers */
    Bool		beingDestroyed; /* in process of going away */
    struct _SysCounterInfo *pSysCounterInfo; /* NULL if not a system counter */
} SyncCounter;

/*
 * The System Counter interface
 */

typedef enum {
    XSyncCounterNeverChanges,
    XSyncCounterNeverIncreases,
    XSyncCounterNeverDecreases,
    XSyncCounterUnrestricted
} SyncCounterType;

typedef struct _SysCounterInfo {
    char	*name;
    CARD64	resolution;
    CARD64	bracket_greater;
    CARD64	bracket_less;
    SyncCounterType counterType;  /* how can this counter change */
    void        (*QueryValue)(
			      pointer /*pCounter*/,
			      CARD64 * /*freshvalue*/
);
    void	(*BracketValues)(
				 pointer /*pCounter*/,
				 CARD64 * /*lessthan*/,
				 CARD64 * /*greaterthan*/
);
} SysCounterInfo;



typedef struct _SyncTrigger {
    SyncCounter *pCounter;
    CARD64	wait_value;	/* wait value */
    unsigned int value_type;     /* Absolute or Relative */
    unsigned int test_type;	/* transition or Comparision type */
    CARD64	test_value;	/* trigger event threshold value */
    Bool	(*CheckTrigger)(
				struct _SyncTrigger * /*pTrigger*/,
				CARD64 /*newval*/
				);
    void	(*TriggerFired)(
				struct _SyncTrigger * /*pTrigger*/
				);
    void	(*CounterDestroyed)(
				struct _SyncTrigger * /*pTrigger*/
				    );
} SyncTrigger;

typedef struct _SyncTriggerList {
    SyncTrigger *pTrigger;
    struct _SyncTriggerList *next;
} SyncTriggerList;

typedef struct _SyncAlarmClientList {
    ClientPtr	client;
    XID		delete_id;
    struct _SyncAlarmClientList *next;
} SyncAlarmClientList;

typedef struct _SyncAlarm {
    SyncTrigger trigger;
    ClientPtr	client;
    XSyncAlarm 	alarm_id;
    CARD64	delta;
    int		events;
    int		state;
    SyncAlarmClientList *pEventClients;
} SyncAlarm;

typedef struct {
    ClientPtr	client;
    CARD32 	delete_id;
    int		num_waitconditions;
} SyncAwaitHeader;

typedef struct {
    SyncTrigger trigger;
    CARD64	event_threshold;
    SyncAwaitHeader *pHeader;
} SyncAwait;

typedef union {
    SyncAwaitHeader header;
    SyncAwait	    await;
} SyncAwaitUnion;


extern pointer SyncCreateSystemCounter(
    char *	/* name */,
    CARD64  	/* initial_value */,
    CARD64  	/* resolution */,
    SyncCounterType /* change characterization */,
    void        (* /*QueryValue*/ ) (
        pointer /* pCounter */,
        CARD64 * /* pValue_return */), /* XXX prototype */
    void        (* /*BracketValues*/) (
        pointer /* pCounter */,
        CARD64 * /* pbracket_less */,
        CARD64 * /* pbracket_greater */)
);

extern void SyncChangeCounter(
    SyncCounter *	/* pCounter*/,
    CARD64  		/* new_value */
);

extern void SyncDestroySystemCounter(
    pointer pCounter
);
extern void InitServertime(void);

#endif /* _SYNC_SERVER */

#endif /* _SYNCSTR_H_ */

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
September 26 2024 08:31:26
root / root
0755
EVI.h
1.526 KB
April 14 2020 15:29:25
root / root
0644
EVIproto.h
2.936 KB
April 14 2020 15:29:25
root / root
0644
XI.h
9.593 KB
April 14 2020 15:29:25
root / root
0644
XI2.h
10.295 KB
April 14 2020 15:29:25
root / root
0644
XI2proto.h
36.696 KB
April 14 2020 15:29:25
root / root
0644
XIproto.h
40.049 KB
April 14 2020 15:29:25
root / root
0644
XKB.h
27.55 KB
April 14 2020 15:29:25
root / root
0644
XKBgeom.h
15.438 KB
April 14 2020 15:29:25
root / root
0644
XKBproto.h
28.423 KB
April 14 2020 15:29:25
root / root
0644
XKBsrv.h
27.361 KB
April 14 2020 15:29:25
root / root
0644
XKBstr.h
19.17 KB
April 14 2020 15:29:25
root / root
0644
XResproto.h
5.047 KB
April 14 2020 15:29:25
root / root
0644
Xv.h
2.956 KB
April 14 2020 15:29:25
root / root
0644
XvMC.h
3.535 KB
April 14 2020 15:29:25
root / root
0644
XvMCproto.h
4.379 KB
April 14 2020 15:29:25
root / root
0644
Xvproto.h
11.825 KB
April 14 2020 15:29:25
root / root
0644
ag.h
1.665 KB
April 14 2020 15:29:25
root / root
0644
agproto.h
4.888 KB
April 14 2020 15:29:25
root / root
0644
bigreqsproto.h
1.864 KB
April 14 2020 15:29:25
root / root
0644
bigreqstr.h
0.183 KB
April 14 2020 15:29:25
root / root
0644
composite.h
3.057 KB
April 14 2020 15:29:25
root / root
0644
compositeproto.h
5.334 KB
April 14 2020 15:29:25
root / root
0644
cup.h
1.321 KB
April 14 2020 15:29:25
root / root
0644
cupproto.h
2.993 KB
April 14 2020 15:29:25
root / root
0644
damageproto.h
3.53 KB
April 14 2020 15:29:25
root / root
0644
damagewire.h
1.849 KB
April 14 2020 15:29:25
root / root
0644
dbe.h
2.108 KB
April 14 2020 15:29:25
root / root
0644
dbeproto.h
7.171 KB
April 14 2020 15:29:25
root / root
0644
dmx.h
2.317 KB
April 14 2020 15:29:25
root / root
0644
dmxproto.h
13.03 KB
April 14 2020 15:29:25
root / root
0644
dpmsconst.h
1.736 KB
April 14 2020 15:29:25
root / root
0644
dpmsproto.h
5.164 KB
April 14 2020 15:29:25
root / root
0644
dri2proto.h
8.123 KB
April 14 2020 15:29:25
root / root
0644
dri2tokens.h
2.41 KB
April 14 2020 15:29:25
root / root
0644
dri3proto.h
5.985 KB
April 14 2020 15:29:25
root / root
0644
ge.h
1.74 KB
April 14 2020 15:29:25
root / root
0644
geproto.h
2.296 KB
April 14 2020 15:29:25
root / root
0644
lbx.h
2.184 KB
April 14 2020 15:29:25
root / root
0644
lbxproto.h
24.201 KB
April 14 2020 15:29:25
root / root
0644
mitmiscconst.h
1.474 KB
April 14 2020 15:29:25
root / root
0644
mitmiscproto.h
2.177 KB
April 14 2020 15:29:25
root / root
0644
multibufconst.h
2.515 KB
April 14 2020 15:29:25
root / root
0644
multibufproto.h
8.398 KB
April 14 2020 15:29:25
root / root
0644
panoramiXproto.h
5.345 KB
April 14 2020 15:29:25
root / root
0644
presentproto.h
5.282 KB
April 14 2020 15:29:25
root / root
0644
presenttokens.h
3.513 KB
April 14 2020 15:29:25
root / root
0644
randr.h
6.747 KB
April 14 2020 15:29:25
root / root
0644
randrproto.h
25.147 KB
April 14 2020 15:29:25
root / root
0644
recordconst.h
2.016 KB
April 14 2020 15:29:25
root / root
0644
recordproto.h
7.455 KB
April 14 2020 15:29:25
root / root
0644
recordstr.h
0.252 KB
April 14 2020 15:29:25
root / root
0644
render.h
6.771 KB
April 14 2020 15:29:25
root / root
0644
renderproto.h
12.908 KB
April 14 2020 15:29:25
root / root
0644
saver.h
1.855 KB
April 14 2020 15:29:25
root / root
0644
saverproto.h
5.012 KB
April 14 2020 15:29:25
root / root
0644
secur.h
2.091 KB
April 14 2020 15:29:25
root / root
0644
securproto.h
3.103 KB
April 14 2020 15:29:25
root / root
0644
shapeconst.h
1.834 KB
April 14 2020 15:29:25
root / root
0644
shapeproto.h
6.572 KB
April 14 2020 15:29:25
root / root
0644
shapestr.h
0.246 KB
April 14 2020 15:29:25
root / root
0644
shm.h
1.606 KB
April 14 2020 15:29:25
root / root
0644
shmproto.h
5.903 KB
April 14 2020 15:29:25
root / root
0644
shmstr.h
2.073 KB
April 14 2020 15:29:25
root / root
0644
syncconst.h
6.592 KB
April 14 2020 15:29:25
root / root
0644
syncproto.h
10.743 KB
April 14 2020 15:29:25
root / root
0644
syncstr.h
5.475 KB
April 14 2020 15:29:25
root / root
0644
xcmiscproto.h
2.985 KB
April 14 2020 15:29:25
root / root
0644
xcmiscstr.h
0.181 KB
April 14 2020 15:29:25
root / root
0644
xf86bigfont.h
0.404 KB
April 14 2020 15:29:25
root / root
0644
xf86bigfproto.h
2.484 KB
April 14 2020 15:29:25
root / root
0644
xf86bigfstr.h
0.187 KB
April 14 2020 15:29:25
root / root
0644
xf86dga.h
0.36 KB
April 14 2020 15:29:25
root / root
0644
xf86dga1const.h
0.909 KB
April 14 2020 15:29:25
root / root
0644
xf86dga1proto.h
4.4 KB
April 14 2020 15:29:25
root / root
0644
xf86dga1str.h
0.187 KB
April 14 2020 15:29:25
root / root
0644
xf86dgaconst.h
2.474 KB
April 14 2020 15:29:25
root / root
0644
xf86dgaproto.h
6.939 KB
April 14 2020 15:29:25
root / root
0644
xf86dgastr.h
0.184 KB
April 14 2020 15:29:25
root / root
0644
xf86misc.h
3.81 KB
April 14 2020 15:29:25
root / root
0644
xf86mscstr.h
5.961 KB
April 14 2020 15:29:25
root / root
0644
xf86vm.h
2.057 KB
April 14 2020 15:29:25
root / root
0644
xf86vmproto.h
15.332 KB
April 14 2020 15:29:25
root / root
0644
xf86vmstr.h
0.181 KB
April 14 2020 15:29:25
root / root
0644
xfixesproto.h
12.453 KB
April 14 2020 15:29:25
root / root
0644
xfixeswire.h
5.27 KB
April 14 2020 15:29:25
root / root
0644
xtestconst.h
1.359 KB
April 14 2020 15:29:25
root / root
0644
xtestext1const.h
5.312 KB
April 14 2020 15:29:25
root / root
0644
xtestext1proto.h
7.607 KB
April 14 2020 15:29:25
root / root
0644
xtestproto.h
3.178 KB
April 14 2020 15:29:25
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF