|
Squid Web Cache master
|
#include "squid.h"#include "mem/forward.h"#include "sbuf/SBuf.h"#include "SquidString.h"#include <climits>Go to the source code of this file.
Functions | |
| static bool | nilCmp (const bool thisIsNilOrEmpty, const bool otherIsNilOrEmpty, int &result) |
| int | stringHasWhitespace (const char *s) |
| int | stringHasCntl (const char *s) |
| char * | strwordtok (char *buf, char **t) |
| const char * | checkNullString (const char *p) |
|
static |
compare NULL and empty strings because str*cmp() may fail on NULL strings and because we need to return consistent results for strncmp(count == 0).
Definition at line 227 of file String.cc.
Referenced by String::caseCmp(), String::caseCmp(), String::cmp(), String::cmp(), and String::cmp().
| int stringHasCntl | ( | const char * | s | ) |
Definition at line 301 of file String.cc.
Referenced by urlCanonicalCleanWithoutRequest().
| int stringHasWhitespace | ( | const char * | s | ) |
| char * strwordtok | ( | char * | buf, |
| char ** | t | ||
| ) |
Definition at line 321 of file String.cc.
References error(), and xisspace.
Referenced by Helper::Reply::finalize(), Ssl::Helper::Init(), Ssl::CertValidationHelper::Init(), parseManyConfigFiles(), and Helper::Reply::parseResponseKeys().