GCC Code Coverage Report


Directory: src/
File: src/backend/modules/pacrunner-duktape.h
Date: 2023-01-04 17:35:37
Exec Total Coverage
Lines: 1 1 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /* pacrunner-duktape.h
2 *
3 * Copyright 2022 Jan-Michael Brummer
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 *
19 * SPDX-License-Identifier: LGPL-2.1-or-later
20 */
21
22 #pragma once
23
24 #include <glib-object.h>
25
26 #include "px-module.h"
27
28 G_BEGIN_DECLS
29
30 #define PX_TYPE_DUKTAPE_MODULE px_duktape_module_get_type ()
31
32 10 G_DECLARE_FINAL_TYPE (PxDuktapeModule, px_duktape_module, PX, DUKTAPE_MODULE, GObject)
33
34 struct _PxDuktapeModuleClass
35 {
36 GObjectClass parent_class;
37 };
38
39 char *px_duktape_run (PxModule *px_module, GUri *uri);
40 void px_duktape_set_pac (PxModule *px_module, const char *pac);
41
42 G_END_DECLS
43