libzypp  17.23.6
UrlBase.cc File Reference
#include <zypp/url/UrlBase.h>
#include <zypp/base/String.h>
#include <zypp/base/Gettext.h>
#include <zypp/base/Regex.h>
#include <stdexcept>
#include <climits>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <iostream>
Include dependency graph for UrlBase.cc:

Go to the source code of this file.

Classes

class  zypp::url::UrlBaseData
 Internal data used by UrlBase. More...
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 zypp::url
 Url details namespace.
 

Macros

#define a_zA_Z   "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
 
#define RX_VALID_SCHEME   "^[" a_zA_Z "][" a_zA_Z "0-9\\.+-]*$"
 
#define RX_VALID_PORT   "^[0-9]{1,5}$"
 
#define RX_VALID_HOSTNAME   "^[[:alnum:]${_}]+([\\.-][[:alnum:]${_}]+)*$"
 
#define RX_VALID_HOSTIPV4   "^([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})$"
 
#define RX_VALID_HOSTIPV6   "^\\[[:a-fA-F0-9]+(:[0-9]{1,3}(\\.[0-9]{1,3}){3})?\\]$"
 

Typedefs

typedef std::map< std::string, std::string > zypp::url::UrlConfig
 

Macro Definition Documentation

◆ a_zA_Z

#define a_zA_Z   "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"

Definition at line 28 of file UrlBase.cc.

◆ RX_VALID_SCHEME

#define RX_VALID_SCHEME   "^[" a_zA_Z "][" a_zA_Z "0-9\\.+-]*$"

Definition at line 36 of file UrlBase.cc.

◆ RX_VALID_PORT

#define RX_VALID_PORT   "^[0-9]{1,5}$"

Definition at line 38 of file UrlBase.cc.

◆ RX_VALID_HOSTNAME

#define RX_VALID_HOSTNAME   "^[[:alnum:]${_}]+([\\.-][[:alnum:]${_}]+)*$"

Definition at line 40 of file UrlBase.cc.

◆ RX_VALID_HOSTIPV4

#define RX_VALID_HOSTIPV4   "^([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})$"

Definition at line 42 of file UrlBase.cc.

◆ RX_VALID_HOSTIPV6

#define RX_VALID_HOSTIPV6   "^\\[[:a-fA-F0-9]+(:[0-9]{1,3}(\\.[0-9]{1,3}){3})?\\]$"

Definition at line 45 of file UrlBase.cc.