@@ -187,12 +187,11 @@ * * @param string A string describing a URL * @param URL An URL to which the string is relative * @return A new, autoreleased OFURL */ -+ (instancetype)URLWithString: (OFString *)string - relativeToURL: (OFURL *)URL; ++ (instancetype)URLWithString: (OFString *)string relativeToURL: (OFURL *)URL; #ifdef OF_HAVE_FILES /** * @brief Creates a new URL with the specified local file path. * @@ -230,12 +229,11 @@ * * @param string A string describing a URL * @param URL A URL to which the string is relative * @return An initialized OFURL */ -- (instancetype)initWithString: (OFString *)string - relativeToURL: (OFURL *)URL; +- (instancetype)initWithString: (OFString *)string relativeToURL: (OFURL *)URL; #ifdef OF_HAVE_FILES /** * @brief Initializes an already allocated OFURL with the specified local file * path. @@ -367,13 +365,14 @@ @end #ifdef __cplusplus extern "C" { #endif -extern bool of_url_is_ipv6_host(OFString *host); +extern bool OFURLIsIPv6Host(OFString *host); +extern void OFURLVerifyIsEscaped(OFString *, OFCharacterSet *); #ifdef __cplusplus } #endif OF_ASSUME_NONNULL_END #import "OFMutableURL.h"