summaryrefslogtreecommitdiff
path: root/src/daemon/xdghostnamedaemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/xdghostnamedaemon.h')
-rw-r--r--src/daemon/xdghostnamedaemon.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/daemon/xdghostnamedaemon.h b/src/daemon/xdghostnamedaemon.h
new file mode 100644
index 0000000..a050fe4
--- /dev/null
+++ b/src/daemon/xdghostnamedaemon.h
@@ -0,0 +1,49 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
+
+/*
+ * Copyright (C) 2008 Red Hat, Inc.
+ *
+ * This library 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 License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General
+ * Public License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: David Zeuthen <davidz@redhat.com>
+ */
+
+#ifndef __XDG_HOSTNAME_DAEMON_H__
+#define __XDG_HOSTNAME_DAEMON_H__
+
+#include <glib-object.h>
+#include <dbus/dbus-glib.h>
+#include <dbus/dbus-glib-lowlevel.h>
+
+G_BEGIN_DECLS
+
+#define XDG_TYPE_HOSTNAME_DAEMON (xdg_hostname_daemon_get_type ())
+#define XDG_HOSTNAME_DAEMON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XDG_TYPE_HOSTNAME_DAEMON, XdgHostnameDaemon))
+#define XDG_HOSTNAME_DAEMON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), XDG_TYPE_HOSTNAME_DAEMON, XdgHostnameDaemonClass))
+#define XDG_IS_HOSTNAME_DAEMON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XDG_TYPE_HOSTNAME_DAEMON))
+#define XDG_IS_HOSTNAME_DAEMON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XDG_TYPE_HOSTNAME_DAEMON))
+#define XDG_HOSTNAME_DAEMON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XDG_TYPE_HOSTNAME_DAEMON, XdgHostnameDaemonClass))
+
+typedef struct _XdgHostnameDaemon XdgHostnameDaemon;
+typedef struct _XdgHostnameDaemonClass XdgHostnameDaemonClass;
+
+GType xdg_hostname_daemon_get_type (void) G_GNUC_CONST;
+XdgHostnameDaemon *xdg_hostname_daemon_new (DBusGConnection *connection,
+ const char *object_path);
+
+G_END_DECLS
+
+#endif /* __XDG_HOSTNAME_DAEMON_H__ */