diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-10-01 10:31:58 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-10-01 10:31:58 +0000 |
| commit | ef42f2cbc8eb16df1a8e45650c652d227fd35ef4 (patch) | |
| tree | 35b69e41a882c19f11b61ecfe2f7d0d4ff718faf /bindings/php5 | |
| parent | 7290225b00d65a7ea111ddf3216bf7d9f39a81b6 (diff) | |
| download | lasso-ef42f2cbc8eb16df1a8e45650c652d227fd35ef4.tar.gz lasso-ef42f2cbc8eb16df1a8e45650c652d227fd35ef4.tar.xz lasso-ef42f2cbc8eb16df1a8e45650c652d227fd35ef4.zip | |
add functionality to enable debugging flags at runtime
This code permit to set flags, separated by commas, space,
tabulations, or colons. This flags activates debug functions like,
suppressing validations of signatures or print debugging message about
deallocations.
The new flags are defined in /lasso/debug.h they can be set using an
environment variable named LASSO_FLAG or a function named
lasso_set_flag.
There are two flags currently:
- verify-signature:
To deactivate it, pass 'no-verify-signature' inside LASSO_DEBUG.
It desactivate signature verification, inside two functions:
lasso_query_verify_signature and lasso_provider_verify_signature.
- memory-debug:
It enabled reporting of memory deallocation inside generic memory
dellaocator for LassoNode objects and also in bindings.
- lasso/xml/xml.c: do not free a null hash table pointer.
Diffstat (limited to 'bindings/php5')
| -rw-r--r-- | bindings/php5/Makefile.am | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bindings/php5/Makefile.am b/bindings/php5/Makefile.am index b40bf95a..205f72cf 100644 --- a/bindings/php5/Makefile.am +++ b/bindings/php5/Makefile.am @@ -16,9 +16,7 @@ php_configdir=@PHP5_CONFIG_DIR@ php_config_DATA = lasso.ini lasso_la_CFLAGS = -fno-strict-aliasing $(LASSO_CORE_CFLAGS) -I$(top_srcdir) -I$(top_builddir) $(PHP5_INCLUDES) $(AM_CFLAGS) -if DEBUGGING lasso_la_CFLAGS += -Wno-unused-parameter -endif lasso_la_LDFLAGS = -export-dynamic -prefer-pic -module -avoid-version lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) $(PHP5_LDFLAGS) nodist_lasso_la_SOURCES = _lasso.c |
