summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-11-02 15:18:06 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-11-02 15:18:06 +0000
commitb3aa580267c6cfe4b85c7967fa117768a7eb9df2 (patch)
treec2043699193c7bb07e6d8675a623c6c581036257
parentd7baad63d4048b1a5ad23f0144c1592c23330120 (diff)
Add documentation for lasso_get_relaystate_from_query
* lasso/xml/tools.c: add documentation on the internal function lasso_get_relaystate_from_query
-rw-r--r--lasso/xml/tools.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c
index 8924927c..47d9b775 100644
--- a/lasso/xml/tools.c
+++ b/lasso/xml/tools.c
@@ -1553,6 +1553,15 @@ xmlDetectSAX2(xmlParserCtxtPtr ctxt) {
}
}
+/**
+ * lasso_get_relaystate_from_query:
+ * @query: a C-string containing the query part of an URL
+ *
+ * Extracts the relaystate argument contained in an URL query string.
+ *
+ * Return value: NULL if not relaystate is present in the URL, the RelayState decoded value
+ * otherwise.
+ */
char *
lasso_get_relaystate_from_query(const char *query) {
char *start, *end;