File Reference
#include "squid.h"
#include "base/TextException.h"
#include "mgr/Registration.h"
#include "profiler/Profiler.h"
#include "Store.h"
#include <climits>
Include dependency graph for

Go to the source code of this file.


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)

Function Documentation

◆ checkNullString()

const char* checkNullString ( const char *  p)

Definition at line 492 of file

References p.

Referenced by operator<().

◆ nilCmp()

static bool nilCmp ( const bool  thisIsNilOrEmpty,
const bool  otherIsNilOrEmpty,
int result 

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 253 of file

Referenced by String::caseCmp(), and String::cmp().

◆ stringHasCntl()

int stringHasCntl ( const char *  s)

Definition at line 387 of file

Referenced by operator<(), and urlCanonicalCleanWithoutRequest().

◆ stringHasWhitespace()

int stringHasWhitespace ( const char *  s)

Definition at line 380 of file

References NULL, and w_space.

Referenced by operator<(), and AnyP::Uri::parse().

◆ strwordtok()

char* strwordtok ( char *  buf,
char **  t 






Web Site Translations