#ifndef _SQUID_FORMAT_TOKENTABLEENTRY_H #define _SQUID_FORMAT_TOKENTABLEENTRY_H #include "format/ByteCode.h" /* * Squid configuration allows users to define custom formats in * several components. * - logging * - external ACL input * - deny page URL * * These enumerations and classes define the API for parsing of * format directives to define these patterns. Along with output * functionality to produce formatted buffers. */ namespace Format { /// One entry in a table of format tokens. class TokenTableEntry { public: /// the config file ASCII representation for this token /// just the base tag bytes, excluding any option syntax bytes const char *configTag; /// the internal byte code representatio of this token ByteCode_t tokenType; /// 32-bit mask? of options affecting the output display of this token uint32_t options; }; } // namespace Format #endif /* _SQUID_FORMAT_TOKENTABLEENTRY_H */