diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2005-01-12 15:17:10 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2005-01-12 15:17:10 +0000 |
| commit | 225cb9a6c490defb177b73a83ab36f99ec33c729 (patch) | |
| tree | f9825741a146ba0deeb57ed08570099986481b1d | |
| parent | a895bd81bc0e8ee4f6e05a576624b61ec5d5b66c (diff) | |
| download | lasso-225cb9a6c490defb177b73a83ab36f99ec33c729.tar.gz lasso-225cb9a6c490defb177b73a83ab36f99ec33c729.tar.xz lasso-225cb9a6c490defb177b73a83ab36f99ec33c729.zip | |
made lasso_profile_set_response_status into a private function
| -rw-r--r-- | lasso/id-ff/Makefile.am | 1 | ||||
| -rw-r--r-- | lasso/id-ff/login.c | 4 | ||||
| -rw-r--r-- | lasso/id-ff/logout.c | 1 | ||||
| -rw-r--r-- | lasso/id-ff/name_identifier_mapping.c | 1 | ||||
| -rw-r--r-- | lasso/id-ff/profile.c | 1 | ||||
| -rw-r--r-- | lasso/id-ff/profile.h | 3 | ||||
| -rw-r--r-- | lasso/id-ff/profileprivate.h | 42 |
7 files changed, 48 insertions, 5 deletions
diff --git a/lasso/id-ff/Makefile.am b/lasso/id-ff/Makefile.am index 3aac7822..0a6304b3 100644 --- a/lasso/id-ff/Makefile.am +++ b/lasso/id-ff/Makefile.am @@ -24,6 +24,7 @@ liblasso_id_ff_la_SOURCES = \ session.c lasso_private_h_sources = \ + profileprivate.h \ providerprivate.h \ serverprivate.h \ sessionprivate.h diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c index c1408abb..8534f651 100644 --- a/lasso/id-ff/login.c +++ b/lasso/id-ff/login.c @@ -32,10 +32,10 @@ #include <lasso/id-ff/login.h> #include <lasso/id-ff/provider.h> +#include <lasso/id-ff/profileprivate.h> #include <lasso/id-ff/providerprivate.h> -#include <lasso/id-ff/sessionprivate.h> #include <lasso/id-ff/serverprivate.h> - +#include <lasso/id-ff/sessionprivate.h> struct _LassoLoginPrivate { diff --git a/lasso/id-ff/logout.c b/lasso/id-ff/logout.c index 9962f787..ae968c5d 100644 --- a/lasso/id-ff/logout.c +++ b/lasso/id-ff/logout.c @@ -25,6 +25,7 @@ #include <lasso/id-ff/logout.h> +#include <lasso/id-ff/profileprivate.h> #include <lasso/id-ff/providerprivate.h> #include <lasso/id-ff/sessionprivate.h> diff --git a/lasso/id-ff/name_identifier_mapping.c b/lasso/id-ff/name_identifier_mapping.c index a0eb2b42..963db112 100644 --- a/lasso/id-ff/name_identifier_mapping.c +++ b/lasso/id-ff/name_identifier_mapping.c @@ -25,6 +25,7 @@ #include <lasso/id-ff/name_identifier_mapping.h> +#include <lasso/id-ff/profileprivate.h> #include <lasso/id-ff/providerprivate.h> /*****************************************************************************/ diff --git a/lasso/id-ff/profile.c b/lasso/id-ff/profile.c index 48e60904..f55edd26 100644 --- a/lasso/id-ff/profile.c +++ b/lasso/id-ff/profile.c @@ -32,6 +32,7 @@ #include <lasso/xml/lib_status_response.h> #include <lasso/id-ff/profile.h> +#include <lasso/id-ff/profileprivate.h> struct _LassoProfilePrivate { diff --git a/lasso/id-ff/profile.h b/lasso/id-ff/profile.h index dc5a711d..e5ced32e 100644 --- a/lasso/id-ff/profile.h +++ b/lasso/id-ff/profile.h @@ -117,9 +117,6 @@ LASSO_EXPORT LassoSession* lasso_profile_get_session(LassoProfile *profile); LASSO_EXPORT gboolean lasso_profile_is_identity_dirty(LassoProfile *profile); LASSO_EXPORT gboolean lasso_profile_is_session_dirty(LassoProfile *profile); -LASSO_EXPORT void lasso_profile_set_response_status( - LassoProfile *profile, const gchar *statusCodeValue); - LASSO_EXPORT gint lasso_profile_set_identity_from_dump(LassoProfile *profile, const gchar *dump); LASSO_EXPORT gint lasso_profile_set_session_from_dump(LassoProfile *profile, const gchar *dump); LASSO_EXPORT LassoSamlNameIdentifier* lasso_profile_get_nameIdentifier(LassoProfile *profile); diff --git a/lasso/id-ff/profileprivate.h b/lasso/id-ff/profileprivate.h new file mode 100644 index 00000000..3e095775 --- /dev/null +++ b/lasso/id-ff/profileprivate.h @@ -0,0 +1,42 @@ +/* $Id$ + * + * Lasso - A free implementation of the Liberty Alliance specifications. + * + * Copyright (C) 2004 Entr'ouvert + * http://lasso.entrouvert.org + * + * Authors: Nicolas Clapies <nclapies@entrouvert.com> + * Valery Febvre <vfebvre@easter-eggs.com> + * + * 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_PROFILE_PRIVATE_H__ +#define __LASSO_PROFILE_PRIVATE_H__ + +#ifdef __cplusplus +extern "C" { + +#endif /* __cplusplus */ + +#include <lasso/id-ff/profile.h> + +void lasso_profile_set_response_status(LassoProfile *profile, const gchar *statusCodeValue); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __LASSO_PROFILE_PRIVATE_H__ */ |
