summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2005-05-16 13:27:13 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2005-05-16 13:27:13 +0000
commit2d02e5002a1e4ea633dc65e336e27b556c3b74cd (patch)
treedac34184cf84d6c6fff7df0de7d6515cdd5629f4
parent97618e56e2fa237727fab2380a9e5c3c9dd4826a (diff)
downloadlasso-2d02e5002a1e4ea633dc65e336e27b556c3b74cd.tar.gz
lasso-2d02e5002a1e4ea633dc65e336e27b556c3b74cd.tar.xz
lasso-2d02e5002a1e4ea633dc65e336e27b556c3b74cd.zip
Mistake about last add.
-rw-r--r--lasso/id-wsf/wsf_profile.c.~1.12.~152
-rw-r--r--lasso/id-wsf/wsf_profile.h.~1.5.~85
-rw-r--r--lasso/id-wsf/wsf_profile.lo12
-rw-r--r--lasso/id-wsf/wsf_profile.obin22616 -> 0 bytes
4 files changed, 0 insertions, 249 deletions
diff --git a/lasso/id-wsf/wsf_profile.c.~1.12.~ b/lasso/id-wsf/wsf_profile.c.~1.12.~
deleted file mode 100644
index 888bd662..00000000
--- a/lasso/id-wsf/wsf_profile.c.~1.12.~
+++ /dev/null
@@ -1,152 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004, 2005 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
- */
-
-#include <lasso/id-wsf/wsf_profile.h>
-#include <lasso/xml/disco_modify.h>
-#include <lasso/xml/soap_binding_correlation.h>
-
-/*****************************************************************************/
-/* public methods */
-/*****************************************************************************/
-
-LassoSoapEnvelope*
-lasso_wsf_profile_build_soap_envelope(const char *refToMessageId)
-{
- LassoSoapEnvelope *envelope;
- LassoSoapHeader *header;
- LassoSoapBody *body;
- LassoSoapBindingCorrelation *correlation;
- gchar *messageId, *timestamp;
-
- /* set Body */
- body = lasso_soap_body_new();
- envelope = lasso_soap_envelope_new(body);
-
- /* set Header */
- header = lasso_soap_header_new();
- envelope->Header = header;
-
- /* set Correlation */
- messageId = lasso_build_unique_id(32);
- timestamp = lasso_get_current_time();
- correlation = lasso_soap_binding_correlation_new(messageId, timestamp);
- if (refToMessageId != NULL)
- correlation->refToMessageID = g_strdup(refToMessageId);
- header->Other = g_list_append(header->Other, correlation);
-
- return envelope;
-}
-
-gint
-lasso_wsf_profile_build_request_msg(LassoWsfProfile *profile)
-{
- g_return_val_if_fail(LASSO_IS_WSF_PROFILE(profile),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- /* FIXME : set keys */
- if (LASSO_IS_SOAP_ENVELOPE(profile->soap_envelope_request) == TRUE) {
- profile->msg_body = lasso_node_dump(LASSO_NODE(profile->soap_envelope_request));
- }
- else if (LASSO_IS_NODE(profile->request) == TRUE) {
- profile->msg_body = lasso_node_export_to_soap(profile->request);
- }
-
- return 0;
-}
-
-gint
-lasso_wsf_profile_build_response_msg(LassoWsfProfile *profile)
-{
- g_return_val_if_fail(LASSO_IS_WSF_PROFILE(profile),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- /* FIXME : set keys */
- if (LASSO_IS_SOAP_ENVELOPE(profile->soap_envelope_response) == TRUE) {
- profile->msg_body = lasso_node_dump(LASSO_NODE(profile->soap_envelope_response));
- }
- else if (LASSO_IS_NODE(profile->response) == TRUE) {
- profile->msg_body = lasso_node_export_to_soap(profile->response);
- }
-
- return 0;
-}
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsfProfile *profile)
-{
- profile->server = NULL;
- profile->request = NULL;
- profile->response = NULL;
- profile->soap_envelope_request = NULL;
- profile->soap_envelope_response = NULL;
- profile->msg_url = NULL;
- profile->msg_body = NULL;
-}
-
-static void
-class_init(LassoWsfProfileClass *klass)
-{
-
-}
-
-GType
-lasso_wsf_profile_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof(LassoWsfProfileClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsfProfile),
- 0,
- (GInstanceInitFunc) instance_init,
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsfProfile", &this_info, 0);
- }
- return this_type;
-}
-
-LassoWsfProfile*
-lasso_wsf_profile_new(LassoServer *server)
-{
- LassoWsfProfile *profile = NULL;
-
- g_return_val_if_fail(server != NULL, NULL);
-
- profile = g_object_new(LASSO_TYPE_WSF_PROFILE, NULL);
-
- return profile;
-}
diff --git a/lasso/id-wsf/wsf_profile.h.~1.5.~ b/lasso/id-wsf/wsf_profile.h.~1.5.~
deleted file mode 100644
index e14be8e0..00000000
--- a/lasso/id-wsf/wsf_profile.h.~1.5.~
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004, 2005 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_WSF_PROFILE_H__
-#define __LASSO_WSF_PROFILE_H__
-
-#ifdef __cplusplus
-extern "C" {
-
-#endif /* __cplusplus */
-
-#include <lasso/id-ff/server.h>
-#include <lasso/xml/soap_envelope.h>
-
-#define LASSO_TYPE_WSF_PROFILE (lasso_wsf_profile_get_type())
-#define LASSO_WSF_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSF_PROFILE, LassoWsfProfile))
-#define LASSO_WSF_PROFILE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_WSF_PROFILE, LassoWsfProfileClass))
-#define LASSO_IS_WSF_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_WSF_PROFILE))
-#define LASSO_IS_WSF_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSF_PROFILE))
-#define LASSO_WSF_PROFILE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_WSF_PROFILE, LassoWsfProfileClass))
-
-typedef struct _LassoWsfProfile LassoWsfProfile;
-typedef struct _LassoWsfProfileClass LassoWsfProfileClass;
-typedef struct _LassoWsfProfilePrivate LassoWsfProfilePrivate;
-
-struct _LassoWsfProfile {
- LassoNode parent;
-
- LassoServer *server;
-
- LassoNode *request;
- LassoNode *response;
-
- LassoSoapEnvelope *soap_envelope_request;
- LassoSoapEnvelope *soap_envelope_response;
-
- gchar *msg_url;
- gchar *msg_body;
-
-};
-
-struct _LassoWsfProfileClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT LassoSoapEnvelope *lasso_wsf_profile_build_soap_envelope(const char *refToMessageId);
-
-LASSO_EXPORT GType lasso_wsf_profile_get_type(void);
-
-LASSO_EXPORT gint lasso_wsf_profile_build_request_msg(LassoWsfProfile *profile);
-
-LASSO_EXPORT gint lasso_wsf_profile_build_response_msg(LassoWsfProfile *profile);
-
-LASSO_EXPORT LassoWsfProfile* lasso_wsf_profile_new(LassoServer *server);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSF_PROFILE_H__ */
diff --git a/lasso/id-wsf/wsf_profile.lo b/lasso/id-wsf/wsf_profile.lo
deleted file mode 100644
index 5fdef8f7..00000000
--- a/lasso/id-wsf/wsf_profile.lo
+++ /dev/null
@@ -1,12 +0,0 @@
-# wsf_profile.lo - a libtool object file
-# Generated by ltmain.sh - GNU libtool 1.5.10 (1.1220.2.131 2004/09/19 12:46:56)
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# Name of the PIC object.
-pic_object='.libs/wsf_profile.o'
-
-# Name of the non-PIC object.
-non_pic_object='wsf_profile.o'
-
diff --git a/lasso/id-wsf/wsf_profile.o b/lasso/id-wsf/wsf_profile.o
deleted file mode 100644
index 3237d6bd..00000000
--- a/lasso/id-wsf/wsf_profile.o
+++ /dev/null
Binary files differ