#include <glib-object.h>
+#include "gsignond-types.h"
#include <gsignond/gsignond-dictionary.h>
#include <gsignond/gsignond-identity-info.h>
#include <gsignond/gsignond-signonui-data.h>
(G_TYPE_INSTANCE_GET_CLASS((obj), GSIGNOND_TYPE_AUTH_SESSION, \
GSignondAuthSessionClass))
-typedef struct _GSignondAuthSession GSignondAuthSession;
-typedef struct _GSignondAuthSessionClass GSignondAuthSessionClass;
typedef struct _GSignondAuthSessionPrivate GSignondAuthSessionPrivate;
typedef void (*ProcessReadyCb) (GSignondSessionData *results, const GError *error, gpointer user_data);
typedef void (*StateChangeCb) (gint state, const gchar *message, gpointer userdata);
#include <glib.h>
#include <glib-object.h>
+#include "gsignond-types.h"
#include <gsignond/gsignond-access-control-manager.h>
-#include "gsignond-identity.h"
#include "gsignond-signonui-proxy.h"
#include "plugins/gsignond-plugin-proxy-factory.h"
#define GSIGNOND_IS_DAEMON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GSIGNOND_TYPE_DAEMON))
#define GSIGNOND_DAEMON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GSIGNOND_TYPE_DAEMON, GSignondDaemonClass))
-typedef struct _GSignondDaemon GSignondDaemon;
-typedef struct _GSignondDaemonClass GSignondDaemonClass;
typedef struct _GSignondDaemonPrivate GSignondDaemonPrivate;
struct _GSignondDaemon
#include <glib.h>
#include <glib-object.h>
+#include "gsignond-types.h"
#include <gsignond/gsignond-identity-info.h>
#include <gsignond/gsignond-access-control-manager.h>
#define GSIGNOND_IS_IDENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GSIGNOND_TYPE_IDENTITY))
#define GSIGNOND_IDENTITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GSIGNOND_TYPE_IDENTITY, GSignondIdentityClass))
-typedef struct _GSignondIdentity GSignondIdentity;
-typedef struct _GSignondIdentityClass GSignondIdentityClass;
typedef struct _GSignondIdentityPrivate GSignondIdentityPrivate;
-typedef struct _GSignondDaemon GSignondDaemon;
-typedef struct _GSignondAuthSession GSignondAuthSession;
-
typedef enum {
GSIGNOND_IDENTITY_DATA_UPDATED = 0,
GSIGNOND_IDENTITY_REMOVED,
--- /dev/null
+/* 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.
+ *
+ *
+ * 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_TYPES_H_
+#define __GSIGNOND_TYPES_H_
+
+#include <glib.h>
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+typedef struct _GSignondDaemon GSignondDaemon;
+typedef struct _GSignondDaemonClass GSignondDaemonClass;
+typedef struct _GSignondIdentity GSignondIdentity;
+typedef struct _GSignondIdentityClass GSignondIdentityClass;
+typedef struct _GSignondAuthSession GSignondAuthSession;
+typedef struct _GSignondAuthSessionClass GSignondAuthSessionClass;
+
+G_END_DECLS
+
+#endif /* __GSIGNOND_TYPES_H_ */
#define __GSIGNOND_PLUGIN_PROXY_H__
#include <glib-object.h>
+
+#include "daemon/gsignond-types.h"
#include <gsignond/gsignond-plugin-interface.h>
#include <gsignond/gsignond-config.h>
typedef struct _GSignondPluginProxy GSignondPluginProxy;
typedef struct _GSignondPluginProxyClass GSignondPluginProxyClass;
typedef struct _GSignondPluginProxyPrivate GSignondPluginProxyPrivate;
-typedef struct _GSignondAuthSession GSignondAuthSession;
struct _GSignondPluginProxy
{