File: realm-daemon.h

package info (click to toggle)
realmd 0.16.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,600 kB
  • sloc: ansic: 16,614; xml: 1,560; sh: 1,317; makefile: 565; python: 395
file content (45 lines) | stat: -rw-r--r-- 1,481 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* realmd -- Realm configuration service
 *
 * Copyright 2012 Red Hat Inc
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published
 * by the Free Software Foundation; either version 2 of the licence or (at
 * your option) any later version.
 *
 * See the included COPYING file for more information.
 *
 * Author: Stef Walter <stefw@gnome.org>
 */

#include "config.h"

#ifndef __REALM_DAEMON_H__
#define __REALM_DAEMON_H__

#include <gio/gio.h>

G_BEGIN_DECLS

void                 realm_daemon_hold                       (const gchar *identifier);

gboolean             realm_daemon_release                    (const gchar *identifier);

gboolean             realm_daemon_is_dbus_peer               (void);

gboolean             realm_daemon_is_install_mode            (void);

gboolean             realm_daemon_has_debug_flag             (void);

void                 realm_daemon_poke                       (void);

void                 realm_daemon_export_object              (GDBusObjectSkeleton *object);

void                 realm_daemon_syslog                     (const gchar *operation,
                                                              int prio,
                                                              const gchar *format,
                                                              ...) G_GNUC_PRINTF(3, 4);

G_END_DECLS

#endif /* __REALM_DAEMON_H__ */