Summary Files Commits Branches @commit @diff @stats
path: root / badwolf.h
diff options
context:
space:
mode:
Commit06b34a53c2c7af02fbc673d53b5c13f40c2933a6 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-12-16 01:47:12 +0100
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-12-16 01:47:12 +0100
Filesf0eb17efd68371a50e2bf670d13cece977b3d7bb /badwolf.h
goodwolf-06b34a53c2c7af02fbc673d53b5c13f40c2933a6.tar
goodwolf-06b34a53c2c7af02fbc673d53b5c13f40c2933a6.tar.gz
goodwolf-06b34a53c2c7af02fbc673d53b5c13f40c2933a6.zip
Parent4e144dd01af4855e02ed394c75e8c04c4dae710b (diff)
Add tests on badwolf_ensure_uri_scheme
1 files changed, 0 insertions, 12 deletions
-rw-r--r--badwolf.h12
diff --git a/badwolf.h b/badwolf.h
index 971ffa3..91c05a4 100644
--- a/badwolf.h
+++ b/badwolf.h
@@ -30,18 +30,6 @@ struct Client
GtkWidget *search;
};
-/* badwolf_ensure_uri_scheme: tries to add a scheme on a pseudo-URL missing a scheme
- * - gchar text: pseudo-URL missing a scheme
- * - gboolean try_file: when TRUE check try first if it can be a file:// path
- *
- * When `text` isn't exploitable (ie. NULL), returns "about:blank",
- * when the URL seems to be valid, return it,
- * if try_file is TRUE, check if it can be file:// path,
- * some other checks might be added.
- * In the end use the fallback (`http://` for now, might get configuration),
- * might get some safeguard.
- */
-const gchar *badwolf_ensure_uri_scheme(const gchar *text, gboolean try_file);
GtkWidget *badwolf_new_tab_box(const gchar *title, struct Client *browser);
void webView_tab_label_change(struct Client *browser, const gchar *title);
struct Client *