summaryrefslogtreecommitdiff
path: root/src/daemon/plugins/plugind/gsignond-plugin-daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/plugins/plugind/gsignond-plugin-daemon.h')
-rw-r--r--src/daemon/plugins/plugind/gsignond-plugin-daemon.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/src/daemon/plugins/plugind/gsignond-plugin-daemon.h b/src/daemon/plugins/plugind/gsignond-plugin-daemon.h
new file mode 100644
index 0000000..9eb2275
--- /dev/null
+++ b/src/daemon/plugins/plugind/gsignond-plugin-daemon.h
@@ -0,0 +1,72 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of gsignond
+ *
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Imran Zaman <imran.zaman@intel.com>
+ *
+ * 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.1 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., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
+#ifndef __GSIGNOND_PLUGIN_DAEMON_H_
+#define __GSIGNOND_PLUGIN_DAEMON_H_
+
+#include <glib.h>
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define GSIGNOND_TYPE_PLUGIN_DAEMON (gsignond_plugin_daemon_get_type())
+#define GSIGNOND_PLUGIN_DAEMON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
+ GSIGNOND_TYPE_PLUGIN_DAEMON, GSignondPluginDaemon))
+#define GSIGNOND_PLUGIN_DAEMON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
+ GSIGNOND_TYPE_PLUGIN_DAEMON, GSignondPluginDaemonClass))
+#define GSIGNOND_IS_PLUGIN_DAEMON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
+ GSIGNOND_TYPE_PLUGIN_DAEMON))
+#define GSIGNOND_IS_PLUGIN_DAEMON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),\
+ GSIGNOND_TYPE_PLUGIN_DAEMON))
+#define GSIGNOND_PLUGIN_DAEMON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),\
+ GSIGNOND_TYPE_PLUGIN_DAEMON, GSignondPluginDaemonClass))
+
+typedef struct _GSignondPluginDaemon GSignondPluginDaemon;
+typedef struct _GSignondPluginDaemonClass GSignondPluginDaemonClass;
+typedef struct _GSignondPluginDaemonPrivate GSignondPluginDaemonPrivate;
+
+struct _GSignondPluginDaemon
+{
+ GObject parent;
+
+ /* priv */
+ GSignondPluginDaemonPrivate *priv;
+};
+
+struct _GSignondPluginDaemonClass
+{
+ GObjectClass parent_class;
+};
+
+GType gsignond_plugin_daemon_get_type();
+
+GSignondPluginDaemon *
+gsignond_plugin_daemon_new (
+ const gchar* filename,
+ const gchar* plugin_type,
+ gint in_fd,
+ gint out_fd);
+
+#endif /* __GSIGNOND_PLUGIN_DAEMON_H_ */