mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
29 lines
575 B
C
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 */
|