lftp  4.4.7
About: lftp is a command line ftp client (FTP, HTTP, ssl support, background transfer, reget, reput, ...)
  Fossies Dox: lftp-4.4.7.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
ParsedURL Class Reference

#include <url.h>

Collaboration diagram for ParsedURL:

Public Member Functions

 ParsedURL (const char *url, bool proto_required=false, bool use_rfc1738=true)
 
void parse (const char *url, bool proto_required=false, bool use_rfc1738=true)
 
 ~ParsedURL ()
 
char * Combine (const char *home=0, bool use_rfc1738=true)
 

Public Attributes

xstring_c proto
 
xstring_c user
 
xstring_c pass
 
xstring_c host
 
xstring_c port
 
xstring path
 
xstring_c orig_url
 

Detailed Description

Definition at line 25 of file url.h.

Constructor & Destructor Documentation

ParsedURL::ParsedURL ( const char *  url,
bool  proto_required = false,
bool  use_rfc1738 = true 
)

Definition at line 45 of file url.cc.

References parse().

ParsedURL::~ParsedURL ( )

Definition at line 49 of file url.cc.

Member Function Documentation

char * ParsedURL::Combine ( const char *  home = 0,
bool  use_rfc1738 = true 
)

Member Data Documentation

xstring_c ParsedURL::host
xstring_c ParsedURL::orig_url

Definition at line 35 of file url.h.

Referenced by CmdExec::builtin_open(), and parse().

xstring_c ParsedURL::pass
xstring_c ParsedURL::port
xstring_c ParsedURL::user

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