1 /* Atoms: Names to numbers HTAtom.h
2 ** =======================
4 ** Atoms are names which are given representative pointer values
5 ** so that they can be stored more efficiently, and compaisons
6 ** for equality done more efficiently.
8 ** HTAtom_for(string) returns a representative value such that it
9 ** will always (within one run of the program) return the same
10 ** value for the same given string.
13 ** TBL Tim Berners-Lee, WorldWideWeb project, CERN
15 ** (c) Copyright CERN 1991 - See Copyright.html
22 typedef struct _HTAtom HTAtom;
26 }; /* struct _HTAtom */
29 extern HTAtom * HTAtom_for(const char * string);
31 extern HTAtom * HTAtom_for();
34 #define HTAtom_name(a) ((a)->name)