summaryrefslogtreecommitdiffstats
path: root/src/shared/web-util.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/shared/web-util.h12
1 files changed, 12 insertions, 0 deletions
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 <stdbool.h>
+
+#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);