summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-02-10 00:34:23 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-02-10 00:34:23 +0000
commit90f680a8396372e57320ead824772c90d27fb55b (patch)
tree9367a997c6bb56f9677142ddd8313c3263127196
parentd9fa683219f11fecc3ebc55b62703c7176013e3e (diff)
Add documentation about runtime flags
* lasso/lasso.c: add a table to Initialization documentation section about general runtime flags.
-rw-r--r--lasso/lasso.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/lasso/lasso.c b/lasso/lasso.c
index 96a9dea0..cb19957a 100644
--- a/lasso/lasso.c
+++ b/lasso/lasso.c
@@ -26,6 +26,45 @@
* SECTION:lasso
* @short_description: Initialization functions
*
+ * <sec2>
+ * <title>Environment variables</title>
+ * <para>
+ * <literal>LASSO_FLAG</literal> is an environment vairable containing white-space separated values
+ * which allows to modify the behaviour of lasso. To negate the effect of one of
+ * the value, just add <literal>no-</literal> in front of its name. Those values
+ * are:
+ * <informaltable frame="non">
+ * <tgroup cols="2">
+ * <tbody>
+ * <rows>
+ * <entry><literal>no-verify-signature</literal></entry>
+ * <entry><para>Disable the validation of signatures on all message, usually for
+ * debugging pupose</para></entry>
+ * </rows>
+ * <rows>
+ * <entry><literal>memory-debug</literal></entry>
+ * <entry><para>Enable the tracing of nodes allocation, deallocation and initialization.</para></entry>
+ * </rows>
+ * <rows id="strict-checking">
+ * <entry><literal>strict-checking</literal></entry>
+ * <entry><para>Enable checking which were not done in previous version of Lasso, like matching <literal>ResponseTo</literal> attributes of response messages to the identifier of the request.</para></entry>
+ * </rows>
+ * <rows>
+ * <entry><literal>no-add-signature</literal></entry>
+ * <entry><para>Disable all signatures</para></entry>
+ * </rows>
+ * <rows>
+ * <entry><literal>no-sign-messages</literal></entry>
+ * <entry><para>Disable signatures on messages.</para></entry>
+ * </rows>
+ * <rows>
+ * <entry><literal>no-sign-messages</literal></entry>
+ * <entry><para>Disable signatures on messages.</para></entry>
+ * </rows>
+ * </tbody>
+ * </tgroup>
+ * </informaltable>
+ * </para>
**/
#include <stdlib.h> /* getenv */