Cross Reference: Xintatom.h
xref: /xsrc/external/mit/libX11/dist/src/Xintatom.h
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/libX11/dist/src/
Xintatom.h revision 1ab64890
11ab64890Smrg/* $XFree86$ */
21ab64890Smrg
31ab64890Smrg#ifndef _XINTATOM_H_
41ab64890Smrg#define _XINTATOM_H_ 1
51ab64890Smrg
61ab64890Smrg#include <X11/Xfuncproto.h>
71ab64890Smrg
81ab64890Smrg/* IntAtom.c */
91ab64890Smrg
101ab64890Smrg#define TABLESIZE 64
111ab64890Smrg
121ab64890Smrgtypedef struct _Entry {
131ab64890Smrg    unsigned long sig;
141ab64890Smrg    Atom atom;
151ab64890Smrg} EntryRec, *Entry;
161ab64890Smrg
171ab64890Smrg#define RESERVED ((Entry) 1)
181ab64890Smrg
191ab64890Smrg#define EntryName(e) ((char *)(e+1))
201ab64890Smrg
211ab64890Smrgtypedef struct _XDisplayAtoms {
221ab64890Smrg    Entry table[TABLESIZE];
231ab64890Smrg} AtomTable;
241ab64890Smrg
251ab64890Smrg_XFUNCPROTOBEGIN
261ab64890Smrg
271ab64890Smrgextern void _XUpdateAtomCache(Display *dpy, const char *name, Atom atom,
281ab64890Smrg				unsigned long sig, int idx, int n);
291ab64890Smrgextern void _XFreeAtomTable(Display *dpy);
301ab64890Smrg
311ab64890Smrg_XFUNCPROTOEND
321ab64890Smrg
331ab64890Smrg#endif /* _XINTATOM_H_ */
34

Indexes created Sun Nov 30 08:09:32 GMT 2025