1
2#ifndef _XINTATOM_H_
3#define _XINTATOM_H_ 1
4
5#include <X11/Xlib.h>
6#include <X11/Xfuncproto.h>
7
8/* IntAtom.c */
9
10#define TABLESIZE 64
11
12typedef struct _Entry {
13    unsigned long sig;
14    Atom atom;
15} EntryRec, *Entry;
16
17#define RESERVED ((Entry) 1)
18
19#define EntryName(e) ((char *)(e+1))
20
21typedef struct _XDisplayAtoms {
22    Entry table[TABLESIZE];
23} AtomTable;
24
25_XFUNCPROTOBEGIN
26
27extern void _XUpdateAtomCache(Display *dpy, const char *name, Atom atom,
28				unsigned long sig, int idx, int n);
29extern void _XFreeAtomTable(Display *dpy);
30
31_XFUNCPROTOEND
32
33#endif /* _XINTATOM_H_ */
34