Annotation of libwww/Library/src/HTAtom.html, revision 1.1

1.1     ! timbl       1: <PRE>
        !             2: /*                     Atoms: Names to numbers                 HTAtom.h
        !             3: **                     =======================
        !             4: **
        !             5: **     Atoms are names which are given representative pointer values
        !             6: **     so that they can be stored more efficiently, and compaisons
        !             7: **     for equality done more efficiently.
        !             8: **
        !             9: **     HTAtom_for(string) returns a representative value such that it
        !            10: **     will always (within one run of the program) return the same
        !            11: **     value for the same given string.
        !            12: **
        !            13: ** Authors:
        !            14: **     TBL     Tim Berners-Lee, WorldWideWeb project, CERN
        !            15: **
        !            16: **     (c) Copyright CERN 1991 - See Copyright.html
        !            17: **
        !            18: */
        !            19: 
        !            20: #ifndef HTATOM_H
        !            21: #define HTATOM_H
        !            22: 
        !            23: typedef struct _HTAtom HTAtom;
        !            24: struct _HTAtom {
        !            25:        HTAtom *        next;
        !            26:        char *          name;
        !            27: }; /* struct _HTAtom */
        !            28: 
        !            29: 
        !            30: #ifdef __STDC__
        !            31: extern HTAtom * HTAtom_for(const char * string);
        !            32: #else
        !            33: extern HTAtom * HTAtom_for();
        !            34: #endif
        !            35: 
        !            36: #define HTAtom_name(a) ((a)->#62name)
        !            37: 
        !            38: #endif /* HTATOM_H */
        !            39: </PRE>

Webmaster