1
/* $Id: federation_termination_notification.h,v 1.11 2004/08/23 14:07:13 nclapies Exp $
3
* Lasso - A free implementation of the Liberty Alliance specifications.
5
* Copyright (C) 2004 Entr'ouvert
6
* http://lasso.entrouvert.org
8
* Author: Valery Febvre <vfebvre@easter-eggs.com>
9
* Nicolas Clapies <nclapies@entrouvert.com>
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
#ifndef __LASSO_FEDERATION_TERMINATION_NOTIFICATION_H__
27
#define __LASSO_FEDERATION_TERMINATION_NOTIFICATION_H__
31
#endif /* __cplusplus */
33
#include <lasso/xml/lib_federation_termination_notification.h>
35
#define LASSO_TYPE_FEDERATION_TERMINATION_NOTIFICATION (lasso_federation_termination_notification_get_type())
36
#define LASSO_FEDERATION_TERMINATION_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_FEDERATION_TERMINATION_NOTIFICATION, LassoFederationTerminationNotification))
37
#define LASSO_FEDERATION_TERMINATION_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_FEDERATION_TERMINATION_NOTIFICATION, LassoFederationTerminationNotificationClass))
38
#define LASSO_IS_FEDERATION_TERMINATION_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_FEDERATION_TERMINATION_NOTIFICATION))
39
#define LASSO_IS_FEDERATION_TERMINATION_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_FEDERATION_TERMINATION_NOTIFICATION))
40
#define LASSO_FEDERATION_TERMINATION_NOTIFICATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_FEDERATION_TERMINATION_NOTIFICATION, LassoFederationTerminationNotificationClass))
42
typedef struct _LassoFederationTerminationNotification LassoFederationTerminationNotification;
43
typedef struct _LassoFederationTerminationNotificationClass LassoFederationTerminationNotificationClass;
45
struct _LassoFederationTerminationNotification {
46
LassoLibFederationTerminationNotification parent;
51
struct _LassoFederationTerminationNotificationClass {
52
LassoLibFederationTerminationNotificationClass parent;
55
LASSO_EXPORT GType lasso_federation_termination_notification_get_type (void);
57
LASSO_EXPORT LassoNode* lasso_federation_termination_notification_new (const xmlChar *providerID,
58
const xmlChar *nameIdentifier,
59
const xmlChar *nameQualifier,
60
const xmlChar *format,
61
lassoSignatureType sign_type,
62
lassoSignatureMethod sign_method);
64
LASSO_EXPORT LassoNode* lasso_federation_termination_notification_new_from_export (const gchar *export,
65
lassoNodeExportType export_type);
69
#endif /* __cplusplus */
71
#endif /* __LASSO_FEDERATION_TERMINATION_NOTIFICATION_H__ */