Debian Codegraph @

nx-X11/lib/src/Xintatom.h

raw
1
2 #ifndef _XINTATOM_H_
3 #define _XINTATOM_H_ 1
4
5 #include <nx-X11/Xlib.h>
6 #include <nx-X11/Xfuncproto.h>
7
8 /* IntAtom.c */
9
10 #define TABLESIZE 64
11
12 typedef 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
21 typedef struct _XDisplayAtoms {
22 Entry table[TABLESIZE];
23 } AtomTable;
24
25 _XFUNCPROTOBEGIN
26
27 extern void _XUpdateAtomCache(Display *dpy, const char *name, Atom atom,
28 unsigned long sig, int idx, int n);
29 extern void _XFreeAtomTable(Display *dpy);
30
31 _XFUNCPROTOEND
32
33 #endif /* _XINTATOM_H_ */