From c350873c7c977efe5210484f04160be45f84ba7e Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 21 Jul 2017 12:31:09 +0200 Subject: Convert nx-X11/lib/ build flow from imake to autotools. --- nx-X11/lib/src/Xintatom.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 nx-X11/lib/src/Xintatom.h (limited to 'nx-X11/lib/src/Xintatom.h') diff --git a/nx-X11/lib/src/Xintatom.h b/nx-X11/lib/src/Xintatom.h new file mode 100644 index 000000000..b2d307bab --- /dev/null +++ b/nx-X11/lib/src/Xintatom.h @@ -0,0 +1,33 @@ + +#ifndef _XINTATOM_H_ +#define _XINTATOM_H_ 1 + +#include +#include + +/* IntAtom.c */ + +#define TABLESIZE 64 + +typedef struct _Entry { + unsigned long sig; + Atom atom; +} EntryRec, *Entry; + +#define RESERVED ((Entry) 1) + +#define EntryName(e) ((char *)(e+1)) + +typedef struct _XDisplayAtoms { + Entry table[TABLESIZE]; +} AtomTable; + +_XFUNCPROTOBEGIN + +extern void _XUpdateAtomCache(Display *dpy, const char *name, Atom atom, + unsigned long sig, int idx, int n); +extern void _XFreeAtomTable(Display *dpy); + +_XFUNCPROTOEND + +#endif /* _XINTATOM_H_ */ -- cgit v1.2.3