summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2006-12-28 10:26:52 +0000
committerFrederic Peters <fpeters@entrouvert.com>2006-12-28 10:26:52 +0000
commita126623ca41f690a5c508e8ee859baac0cafd079 (patch)
treeab7d8791c08701a5f8bf02f8228323408a8efa1e
parent53e10aec35691e0fb55aeb8493eac30a23ac0562 (diff)
missing include, typo in comment and coding style
-rw-r--r--swig/Lasso-saml2.i10
1 files changed, 7 insertions, 3 deletions
diff --git a/swig/Lasso-saml2.i b/swig/Lasso-saml2.i
index a1453ada..19243bfe 100644
--- a/swig/Lasso-saml2.i
+++ b/swig/Lasso-saml2.i
@@ -1,6 +1,10 @@
+%{
+#include <lasso/saml-2.0/profile.h>
+%}
+
#define LASSO_SAML2_SUPPORT 1
-/* Utiliy functions */
+/* Utility functions */
#ifdef SWIGPHP4
%rename(lasso_isSamlQuery) lasso_profile_is_saml_query;
@@ -201,7 +205,7 @@ typedef struct {
/* Methods inherited from Profile */
- THROW_ERROR()
+ THROW_ERROR()
int setIdentityFromDump(char *dump);
END_THROW_ERROR()
@@ -224,7 +228,7 @@ typedef struct {
THROW_ERROR()
int initRequest(char *remoteProviderId = NULL,
- char *new_name_id = NULL,
+ char *new_name_id = NULL,
LassoHttpMethod httpMethod = LASSO_HTTP_METHOD_ANY);
END_THROW_ERROR()