Go to the source code of this file.
◆ XCOM_PREFIX
      
        
          | #define XCOM_PREFIX   "[XCOM] " | 
        
      
 
 
◆ fix_parameters_syntax()
Does some transformations on the parameters. 
For instance, replaces aliases with the correct ones 
 
 
◆ gcs_protocol_to_mysql_version()
Converts the given GCS protocol version into the MySQL version that introduced it. 
- Parameters
 - 
  
  
 
- Returns
 - the MySQL version that introduced it, in format major.minor.patch 
 
 
 
◆ is_number()
  
  
      
        
          | bool is_number  | 
          ( | 
          const std::string &  | 
          s | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Checks whether the given string is a number or not. 
- Parameters
 - 
  
  
 
- Returns
 - true if it is a number, false otherwise. 
 
 
 
◆ is_parameters_syntax_correct()
Checks that parameters are syntactically valid. 
- Parameters
 - 
  
    | params | The parameters to validate syntactically.  | 
    | netns_manager | A reference to a Network Namespace Manager. This is needed because of the allowlist configuration and local address validation. | 
  
   
- Returns
 - false if there is a syntax error, true otherwise. 
 
 
 
◆ is_valid_hostname()
      
        
          | bool is_valid_hostname  | 
          ( | 
          const std::string &  | 
          server_and_port | ) | 
           | 
        
      
 
Parses the string "host:port" and checks if it is correct. 
- Parameters
 - 
  
    | server_and_port | the server hostname and port in the form hostname:port. | 
  
   
- Returns
 - true if it is a valid URL, false otherwise. 
 
 
 
◆ is_valid_protocol()
      
        
          | bool is_valid_protocol  | 
          ( | 
          std::string const &  | 
          protocol | ) | 
           | 
        
      
 
Checks whether the given string is a valid GCS protocol known by this node. 
- Returns
 - true If it is, false otherwise.