diff options
| author | Christophe Nowicki <cnowicki@easter-eggs.com> | 2004-08-10 08:33:41 +0000 |
|---|---|---|
| committer | Christophe Nowicki <cnowicki@easter-eggs.com> | 2004-08-10 08:33:41 +0000 |
| commit | 18352ddb396946ca7583f8a770cd59ecfca8abdb (patch) | |
| tree | 5406a02ffb53d0894eca7bae6e6e60e032a95b23 /php/lasso.c | |
| parent | b06cb80fb55fd6976e086fdf8f290f6f539d0534 (diff) | |
| download | lasso-18352ddb396946ca7583f8a770cd59ecfca8abdb.tar.gz lasso-18352ddb396946ca7583f8a770cd59ecfca8abdb.tar.xz lasso-18352ddb396946ca7583f8a770cd59ecfca8abdb.zip | |
Removed the param 'remote_providerID' of lasso_login_init_authn_request() method
Added a param 'remote_providerID' in lasso_login_build_authn_request_msg() method
Fix compilation warnings, avoid multiple definitions and REGISTER_STRING_CONSTANT
Diffstat (limited to 'php/lasso.c')
| -rw-r--r-- | php/lasso.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/php/lasso.c b/php/lasso.c index 8ce15d4b..859a36fe 100644 --- a/php/lasso.c +++ b/php/lasso.c @@ -22,15 +22,16 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef HAVE_CONFIG_H -#include "lasso_config.h" -#endif - #include "php.h" #include "php_ini.h" #include "ext/standard/info.h" #include "php_lasso.h" +#ifdef HAVE_CONFIG_H +#include "lasso_config.h" +#endif + + #include "lasso.h" /* True global resources - no need for thread safety here */ @@ -222,9 +223,9 @@ PHP_MINIT_FUNCTION(lasso) /* Constants */ REGISTER_LONG_CONSTANT("lassoSignatureMethodRsaSha1", 1, CONST_CS | CONST_PERSISTENT); - REGISTER_STRING_CONSTANT("lassoLibConsentObtained", lassoLibConsentObtained, CONST_CS | CONST_PERSISTENT); - REGISTER_STRING_CONSTANT("lassoLibNameIDPolicyTypeFederated", lassoLibNameIDPolicyTypeFederated, CONST_CS | CONST_PERSISTENT); - REGISTER_STRING_CONSTANT("lassoLibProtocolProfileBrwsArt", lassoLibProtocolProfileBrwsArt, CONST_CS | CONST_PERSISTENT); + REGISTER_STRING_CONSTANT("lassoLibConsentObtained", (char *) lassoLibConsentObtained, CONST_CS | CONST_PERSISTENT); + REGISTER_STRING_CONSTANT("lassoLibNameIDPolicyTypeFederated", (char *)lassoLibNameIDPolicyTypeFederated, CONST_CS | CONST_PERSISTENT); + REGISTER_STRING_CONSTANT("lassoLibProtocolProfileBrwsArt", (char *) lassoLibProtocolProfileBrwsArt, CONST_CS | CONST_PERSISTENT); return SUCCESS; |
