1 /* $Id$
2  *
3  * Lasso - A free implementation of the Liberty Alliance specifications.
4  *
5  * Copyright (C) 2004-2007 Entr'ouvert
6  * http://lasso.entrouvert.org
7  *
8  * Authors: Nicolas Clapies <nclapies@entrouvert.com>
9  *          Valery Febvre <vfebvre@easter-eggs.com>
10  *
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.
15  *
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.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, see <http://www.gnu.org/licenses/>.
23  */
24 
25 #ifndef __LASSO_SAML_ATTRIBUTE_VALUE_H__
26 #define __LASSO_SAML_ATTRIBUTE_VALUE_H__
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* __cplusplus */
31 
32 #include "xml.h"
33 
34 #define LASSO_TYPE_SAML_ATTRIBUTE_VALUE (lasso_saml_attribute_value_get_type())
35 #define LASSO_SAML_ATTRIBUTE_VALUE(obj) \
36 	(G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_SAML_ATTRIBUTE_VALUE, \
37 				    LassoSamlAttributeValue))
38 #define LASSO_SAML_ATTRIBUTE_VALUE_CLASS(klass) \
39 	(G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_SAML_ATTRIBUTE_VALUE, \
40 				 LassoSamlAttributeValueClass))
41 #define LASSO_IS_SAML_ATTRIBUTE_VALUE(obj) \
42 	(G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SAML_ATTRIBUTE_VALUE))
43 #define LASSO_IS_SAML_ATTRIBUTE_VALUE_CLASS(klass) \
44 	(G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_SAML_ATTRIBUTE_VALUE))
45 #define LASSO_SAML_ATTRIBUTE_VALUE_GET_CLASS(o) \
46 	(G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SAML_ATTRIBUTE_VALUE, \
47 				    LassoSamlAttributeValueClass))
48 
49 typedef struct _LassoSamlAttributeValue LassoSamlAttributeValue;
50 typedef struct _LassoSamlAttributeValueClass LassoSamlAttributeValueClass;
51 
52 struct _LassoSamlAttributeValue {
53 	LassoNode parent;
54 
55 	/*< public >*/
56 	GList *any; /* of LassoNode */
57 };
58 
59 struct _LassoSamlAttributeValueClass {
60 	LassoNodeClass parent;
61 };
62 
63 LASSO_EXPORT GType lasso_saml_attribute_value_get_type(void);
64 LASSO_EXPORT LassoSamlAttributeValue* lasso_saml_attribute_value_new(void);
65 
66 #ifdef __cplusplus
67 }
68 #endif /* __cplusplus */
69 
70 #endif /* __LASSO_SAML_ATTRIBUTE_VALUE_H__ */
71