Files
xserver/Xext/shm_priv.h
Enrico Weigelt, metux IT consult 38eedc3de5 Xext: shm: move ShmDescRec definition into shm.c
Only used inside shm.c, not anywhere else, so no need to keep it
in a public header file.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-10-21 20:36:44 +02:00

29 lines
572 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 "Xext/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 */