Collaboration diagram for URLHostName:

Public Member Functions

char * extract (char const *url)
 

Private Member Functions

void init (char const *)
 
void findHostStart ()
 
void trimTrailingChars ()
 
void trimAuth ()
 

Private Attributes

char const * hostStart
 
char const * url
 

Static Private Attributes

static char Host [SQUIDHOSTNAMELEN]
 

Detailed Description

Definition at line 841 of file url.cc.

Member Function Documentation

char * URLHostName::extract ( char const *  url)

Definition at line 914 of file url.cc.

References findHostStart(), Host, hostStart, init(), NULL, SQUIDHOSTNAMELEN, trimAuth(), trimTrailingChars(), and xstrncpy().

Referenced by urlHostname().

void URLHostName::findHostStart ( )
private

Definition at line 873 of file url.cc.

References hostStart, NULL, and url.

Referenced by extract().

void URLHostName::init ( char const *  aUrl)
private

Definition at line 866 of file url.cc.

References Host, and url.

Referenced by extract().

void URLHostName::trimAuth ( )
private

Definition at line 903 of file url.cc.

References Host.

Referenced by extract().

void URLHostName::trimTrailingChars ( )
private

Definition at line 888 of file url.cc.

References Host.

Referenced by extract().

Member Data Documentation

char URLHostName::Host
staticprivate

Definition at line 848 of file url.cc.

Referenced by extract(), init(), trimAuth(), and trimTrailingChars().

char const* URLHostName::hostStart
private

Definition at line 853 of file url.cc.

Referenced by extract(), and findHostStart().

char const* URLHostName::url
private

Definition at line 854 of file url.cc.

Referenced by findHostStart(), and init().


The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors