summaryrefslogtreecommitdiffstats
path: root/lasso/xml
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-12-14 21:41:57 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-12-14 21:41:57 +0000
commit4fe9f93dfae3c2327b6749f7c271eeae321f8647 (patch)
treea1641db42e24a3b41ca92e69c8402c37cbd98727 /lasso/xml
parent34e10f1d7f3ac2b1118b168fe092272dd806c878 (diff)
downloadlasso-4fe9f93dfae3c2327b6749f7c271eeae321f8647.tar.gz
lasso-4fe9f93dfae3c2327b6749f7c271eeae321f8647.tar.xz
lasso-4fe9f93dfae3c2327b6749f7c271eeae321f8647.zip
new LASSO_PROFILE_ERROR_UNKNOWN_PROFILE_URL profile error and replaced a bunch
of 'return -1;' with that one.
Diffstat (limited to 'lasso/xml')
-rw-r--r--lasso/xml/errors.c2
-rw-r--r--lasso/xml/errors.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/lasso/xml/errors.c b/lasso/xml/errors.c
index 8e33e650..2ba1f268 100644
--- a/lasso/xml/errors.c
+++ b/lasso/xml/errors.c
@@ -87,6 +87,8 @@ lasso_strerror(int error_code)
return "ProviderID not found";
case LASSO_PROFILE_ERROR_UNSUPPORTED_PROFILE:
return "Unsupported protocol profile";
+ case LASSO_PROFILE_ERROR_UNKNOWN_PROFILE_URL:
+ return "Unable to find Profile URL in metadata";
case LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ:
return "An object type provided as parameter "\
diff --git a/lasso/xml/errors.h b/lasso/xml/errors.h
index 821c5d79..bd63d334 100644
--- a/lasso/xml/errors.h
+++ b/lasso/xml/errors.h
@@ -65,6 +65,7 @@
#define LASSO_PROFILE_ERROR_INVALID_MSG -407
#define LASSO_PROFILE_ERROR_MISSING_REMOTE_PROVIDERID -408
#define LASSO_PROFILE_ERROR_UNSUPPORTED_PROFILE -409
+#define LASSO_PROFILE_ERROR_UNKNOWN_PROFILE_URL -410
/* functions/methods parameters checking */
#define LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ -501