Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdebugcontrollerdbus.h
Go to the documentation of this file.
1/* GIO - GLib Input, Output and Streaming Library
2 *
3 * Copyright © 2021 Endless OS Foundation, LLC
4 *
5 * SPDX-License-Identifier: LGPL-2.1-or-later
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General
18 * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
19 *
20 * SPDX-License-Identifier: LGPL-2.1-or-later
21 */
22
23#ifndef __G_DEBUG_CONTROLLER_DBUS_H__
24#define __G_DEBUG_CONTROLLER_DBUS_H__
25
26#include <glib.h>
27#include <glib-object.h>
28
30
31#define G_TYPE_DEBUG_CONTROLLER_DBUS (g_debug_controller_dbus_get_type ())
33G_DECLARE_DERIVABLE_TYPE (GDebugControllerDBus, g_debug_controller_dbus, G, DEBUG_CONTROLLER_DBUS, GObject)
34
35/**
36 * GDebugControllerDBusClass:
37 * @parent_class: The parent class.
38 * @authorize: Default handler for the #GDebugControllerDBus::authorize signal.
39 *
40 * The virtual function table for #GDebugControllerDBus.
41 *
42 * Since: 2.72
43 */
45{
47
48 gboolean (*authorize) (GDebugControllerDBus *controller,
49 GDBusMethodInvocation *invocation);
50
51 gpointer padding[12];
52};
53
55GDebugControllerDBus *g_debug_controller_dbus_new (GDBusConnection *connection,
56 GCancellable *cancellable,
57 GError **error);
58
60void g_debug_controller_dbus_stop (GDebugControllerDBus *self);
61
63
64#endif /* __G_DEBUG_CONTROLLER_DBUS_H__ */
static int authorize(struct mg_connection *conn, struct mg_file *filep, const char *realm)
Definition civetweb.c:8861
GIO_AVAILABLE_IN_2_72 GDebugControllerDBus * g_debug_controller_dbus_new(GDBusConnection *connection, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_2_72 void g_debug_controller_dbus_stop(GDebugControllerDBus *self)
#define GIO_AVAILABLE_IN_2_72
struct _GDBusMethodInvocation GDBusMethodInvocation
Definition giotypes.h:470
struct _GDBusConnection GDBusConnection
Definition giotypes.h:468
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_DECLARE_DERIVABLE_TYPE(ModuleObjName, module_obj_name, MODULE, OBJ_NAME, ParentName)
Definition gtype.h:1705
gint gboolean
Definition gtypes.h:56
void * gpointer
Definition gtypes.h:109
#define G(L)
static void error(LoadState *S, const char *why)