diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2007-04-11 13:10:20 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2007-04-11 13:10:20 +0000 |
commit | dc25a012e95b482f20399fe96a77569b1f24e361 (patch) | |
tree | 3bdda110a60a95f295cb4da61789bcccebdc2807 /lasso/xml/ws/wsa_problem_action.h | |
parent | 7ac97ec93bde8884ec8c0ef5bd92f2e46bea0372 (diff) | |
download | lasso-dc25a012e95b482f20399fe96a77569b1f24e361.tar.gz lasso-dc25a012e95b482f20399fe96a77569b1f24e361.tar.xz lasso-dc25a012e95b482f20399fe96a77569b1f24e361.zip |
added WS-Addr classes
Diffstat (limited to 'lasso/xml/ws/wsa_problem_action.h')
-rw-r--r-- | lasso/xml/ws/wsa_problem_action.h | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/lasso/xml/ws/wsa_problem_action.h b/lasso/xml/ws/wsa_problem_action.h new file mode 100644 index 00000000..7f223ec1 --- /dev/null +++ b/lasso/xml/ws/wsa_problem_action.h @@ -0,0 +1,79 @@ +/* $Id: wsa_problem_action.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $ + * + * Lasso - A free implementation of the Liberty Alliance specifications. + * + * Copyright (C) 2004-2007 Entr'ouvert + * http://lasso.entrouvert.org + * + * Authors: See AUTHORS file in top-level directory. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef __LASSO_WSA_PROBLEM_ACTION_H__ +#define __LASSO_WSA_PROBLEM_ACTION_H__ + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include <lasso/xml/xml.h> +#include "wsa_attributed_uri.h" + +#define LASSO_TYPE_WSA_PROBLEM_ACTION (lasso_wsa_problem_action_get_type()) +#define LASSO_WSA_PROBLEM_ACTION(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_WSA_PROBLEM_ACTION, \ + LassoWsAddrProblemAction)) +#define LASSO_WSA_PROBLEM_ACTION_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_WSA_PROBLEM_ACTION, \ + LassoWsAddrProblemActionClass)) +#define LASSO_IS_WSA_PROBLEM_ACTION(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_WSA_PROBLEM_ACTION)) +#define LASSO_IS_WSA_PROBLEM_ACTION_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_WSA_PROBLEM_ACTION)) +#define LASSO_WSA_PROBLEM_ACTION_GET_CLASS(o) \ + (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_WSA_PROBLEM_ACTION, \ + LassoWsAddrProblemActionClass)) + +typedef struct _LassoWsAddrProblemAction LassoWsAddrProblemAction; +typedef struct _LassoWsAddrProblemActionClass LassoWsAddrProblemActionClass; + + +struct _LassoWsAddrProblemAction { + LassoNode parent; + + /*< public >*/ + /* elements */ + LassoWsAddrAttributedURI *Action; + char *SoapAction; + /* attributes */ + GHashTable *attributes; +}; + + +struct _LassoWsAddrProblemActionClass { + LassoNodeClass parent; +}; + +LASSO_EXPORT GType lasso_wsa_problem_action_get_type(void); +LASSO_EXPORT LassoNode* lasso_wsa_problem_action_new(void); + + + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __LASSO_WSA_PROBLEM_ACTION_H__ */ |