Continued working on url_manipulation library
This commit is contained in:
@@ -10,3 +10,7 @@ Example - 'https://example.org' would return 'example.org'. */
|
||||
|
||||
char* url_to_hostname(char* url);
|
||||
|
||||
/* url_to_path - Returns the path portion of a URL.
|
||||
Example: 'https://example.org/index.html' will return '/index.html'
|
||||
Any empty path will also return '/index.html' */
|
||||
char* url_to_path(char* url);
|
||||
|
||||
Reference in New Issue
Block a user