From 19f4f86bfed21c5326ed2acebe1163f3a83e832b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:25:50 +0200 Subject: Adding upstream version 241. Signed-off-by: Daniel Baumann --- src/shared/web-util.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/shared/web-util.h (limited to 'src/shared/web-util.h') diff --git a/src/shared/web-util.h b/src/shared/web-util.h new file mode 100644 index 0000000..c9e67e5 --- /dev/null +++ b/src/shared/web-util.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once + +#include + +#include "macro.h" + +bool http_url_is_valid(const char *url) _pure_; + +bool documentation_url_is_valid(const char *url) _pure_; + +bool http_etag_is_valid(const char *etag); -- cgit v1.2.3