From 7d06021e21784ffec6a8925423b3a790ed16c63f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 11 Mar 2020 11:02:40 +0000 Subject: nsurl: Make nusrl component dump more usable. This is only a development aid, and not something that should be called in production. --- utils/nsurl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'utils/nsurl.h') diff --git a/utils/nsurl.h b/utils/nsurl.h index c6590bdbb..a80deeff9 100644 --- a/utils/nsurl.h +++ b/utils/nsurl.h @@ -369,4 +369,14 @@ nserror nsurl_nice(const nsurl *url, char **result, bool remove_extensions); */ nserror nsurl_parent(const nsurl *url, nsurl **new_url); +/** + * Dump a NetSurf URL's internal components to stderr + * + * This is helper functionality for developers, and shouldn't be called + * generally. + * + * \param url The NetSurf URL to dump components of + */ +void nsurl_dump(const nsurl *url); + #endif -- cgit v1.2.3