rosenrot/src/plugins/adblock/uri_tester.h
NunoSempere dff5a0e219 remove ephy prefix
it has now lost its meaning.
2025-11-28 13:01:26 -03:00

40 lines
1.2 KiB
C

/*
* Copyright © 2011 Igalia S.L.
*
* This file is part of Epiphany.
*
* Epiphany is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Epiphany is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Epiphany. If not, see <http://www.gnu.org/licenses/>.
*
* Adapted for rosenrot browser.
*/
#pragma once
#include <gio/gio.h>
#include <glib.h>
G_BEGIN_DECLS
#define ADBLOCK_TYPE_URI_TESTER (adblock_uri_tester_get_type())
G_DECLARE_FINAL_TYPE(AdblockUriTester, adblock_uri_tester, ADBLOCK, URI_TESTER, GObject)
AdblockUriTester* adblock_uri_tester_new(const char* filter_file_path);
void adblock_uri_tester_load(AdblockUriTester* tester);
gboolean adblock_uri_tester_test_uri(AdblockUriTester* tester,
const char* request_uri,
const char* page_uri);
G_END_DECLS