libzypp  13.10.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>

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

#define a_zA_Z   "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"

Definition at line 28 of file UrlBase.cc.

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

Definition at line 36 of file UrlBase.cc.

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

Definition at line 38 of file UrlBase.cc.

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

Definition at line 40 of file UrlBase.cc.

#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.

#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.