Files
xserver/Xext/shm_priv.h
Enrico Weigelt, metux IT consult 69d57bcf52 Xext: move over public SDK headers to include/
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-12 19:00:42 +01:00

29 lines
575 B
C

/* SPDX-License-Identifier: MIT OR X11
*
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
*/
#ifndef _XSERVER_XEXT_SHM_PRIV_H
#define _XSERVER_XEXT_SHM_PRIV_H
#include "include/resource.h"
#include "include/shmint.h"
typedef struct _ShmDesc {
struct _ShmDesc *next;
int shmid;
int refcnt;
char *addr;
Bool writable;
unsigned long size;
#ifdef SHM_FD_PASSING
Bool is_fd;
struct busfault *busfault;
XID resource;
#endif
} ShmDescRec, *ShmDescPtr;
extern RESTYPE ShmSegType;
#endif /* _XSERVER_XEXT_SHM_PRIV_H */