VarState.cc
Go to the documentation of this file.
163ESIVariableQuery::ESIVariableQuery(char const *uri) : query (nullptr), query_sz (0), query_elements (0), query_string (nullptr)
220 debugs(86, 6, "esiVarStateNew: Parsed Query element " << n + 1 << " '" << query[n].var << "'='" << query[n].val << "'");
300 /* Grr this Node is painful - RFC 2616 specifies that 'by convention' the tokens are in order of importance
309 * Because we can't parse under those rules and get real-world useful answers, we follow the following
314 * If the string MSIE appears in the header, the BROWSER is MSIE, and the version is the string from
316 * If the String MSIE does not appear in the header, and MOZILLA does, we use the version from the
374ESIVariableCookie::eval (ESIVarState &state, char const *subref, char const *found_default) const
412ESIVariableLanguage::eval (ESIVarState &state, char const *subref, char const *found_default) const
461ESIVariableReferer::eval (ESIVarState &state, char const *subref, char const *found_default) const
475ESIVariableUserAgent::eval (ESIVarState &state, char const *subref, char const *found_default) const
563ESIVariableProcessor::eval (ESIVarState::Variable *var, char const *subref, char const *foundDefault )
608ESIVariableProcessor::ESIVariableProcessor(char *aString, ESISegment::Pointer &aSegment, Trie &aTrie, ESIVarState *aState) :
738 debugs(86, 6, "esiVarStateDoIt: found end of variable (w/ unquoted default) '" << found_default << "'");
CBDATA_CLASS_INIT(ESIVarState)
Definition: VarState.cc:510
static ESIFunction * GetFunction(char const *symbol, ESIVariableProcessor &)
Definition: VarState.cc:526
static void ListAppend(Pointer &, char const *, size_t)
Definition: Segment.cc:120
Definition: VarState.h:76
virtual void eval(ESIVarState &state, char const *, char const *) const
Definition: VarState.cc:31
Definition: VarState.h:35
ESIVarState(HttpHeader const *hdr, char const *uri)
Definition: VarState.cc:242
std::vector< Variable * > variablesForCleanup
Definition: VarState.h:96
void addVariable(char const *, size_t, Variable *)
Definition: VarState.cc:282
struct ESIVarState::@62 flags
Definition: VarState.h:101
void eval(ESIVarState &state, char const *, char const *) const override
Definition: VarState.cc:374
Definition: VarState.h:108
void eval(ESIVarState &state, char const *, char const *) const override
Definition: VarState.cc:398
Definition: VarState.h:115
void eval(ESIVarState &state, char const *, char const *) const override
Definition: VarState.cc:412
Definition: VarState.cc:535
void eval(ESIVarState::Variable *var, char const *subref, char const *foundDefault)
Definition: VarState.cc:563
ESIVariableProcessor(char *, ESISegment::Pointer &, Trie &, ESIVarState *)
Definition: VarState.cc:608
Definition: VarState.h:122
void eval(ESIVarState &state, char const *, char const *) const override
Definition: VarState.cc:437
struct _query_elem const * queryVector() const
Definition: VarState.cc:88
Definition: VarState.h:140
void eval(ESIVarState &state, char const *, char const *) const override
Definition: VarState.cc:461
Definition: VarState.h:147
ESIVariableUserAgent(ESIVarState &state)
Definition: VarState.cc:296
esiUserOs_t identifyOs(char const *) const
Definition: VarState.cc:358
char * getProductVersion(char const *s)
Definition: VarState.cc:149
~ESIVariableUserAgent() override
Definition: VarState.cc:291
void eval(ESIVarState &state, char const *, char const *) const override
Definition: VarState.cc:475
Definition: HttpHeader.h:75
SBuf getListMember(Http::HdrType id, const char *member, const char separator) const
Definition: HttpHeader.cc:929
int hasListMember(Http::HdrType id, const char *member, const char separator) const
Definition: HttpHeader.cc:1663
Definition: HttpReply.h:25
Definition: SquidString.h:26
void * memReallocBuf(void *buf, size_t net_size, size_t *gross_size)
Definition: minimal.cc:53
Definition: VarState.h:32