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 902 of file Uri.cc.

Member Function Documentation

◆ extract()

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

Definition at line 975 of file Uri.cc.

References NULL, SQUIDHOSTNAMELEN, and xstrncpy().

Referenced by urlHostname().

◆ findHostStart()

void URLHostName::findHostStart ( )
private

Definition at line 934 of file Uri.cc.

References NULL.

◆ init()

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

Definition at line 927 of file Uri.cc.

◆ trimAuth()

void URLHostName::trimAuth ( )
private

Definition at line 964 of file Uri.cc.

◆ trimTrailingChars()

void URLHostName::trimTrailingChars ( )
private

Definition at line 949 of file Uri.cc.

Member Data Documentation

◆ Host

char URLHostName::Host
staticprivate

Definition at line 909 of file Uri.cc.

Referenced by urlHostname().

◆ hostStart

char const* URLHostName::hostStart
private

Definition at line 914 of file Uri.cc.

◆ url

char const* URLHostName::url
private

Definition at line 915 of file Uri.cc.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors