11ab64890Smrg 21ab64890Smrg#ifndef _XINTATOM_H_ 31ab64890Smrg#define _XINTATOM_H_ 1 41ab64890Smrg 5eb411b4bSmrg#include <X11/Xlib.h> 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