cookbooks:3.2.x:core
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cookbooks:3.2.x:core [2011/12/12 09:19] – [syn_branch] 85.178.77.57 | cookbooks:3.2.x:core [2013/01/18 13:46] – [loadmodule] giacomo.vacca | ||
---|---|---|---|
Line 59: | Line 59: | ||
* #!else - swtich to false branch of ifdef/ | * #!else - swtich to false branch of ifdef/ | ||
* #!endif - end ifdef/ | * #!endif - end ifdef/ | ||
+ | * #!trydef - add a define if not already defined | ||
+ | * #!redefine - force redefinition even if already defined | ||
Among benefits: | Among benefits: | ||
Line 643: | Line 645: | ||
Prototype: **loadmodule " | Prototype: **loadmodule " | ||
- | If modulepath is only modulename or modulename.so, | + | If modulepath is only modulename or modulename.so, |
Example of usage: | Example of usage: | ||
Line 808: | Line 810: | ||
==== mem_summary ==== | ==== mem_summary ==== | ||
- | Parameter to control printing of mmemory | + | Parameter to control printing of memory |
* 1 - dump all the pkg used blocks (status) | * 1 - dump all the pkg used blocks (status) | ||
* 2 - dump all the shm used blocks (status) | * 2 - dump all the shm used blocks (status) | ||
Line 1908: | Line 1910: | ||
resetflag(b); | resetflag(b); | ||
+ | ==== is_int ==== | ||
+ | Checks if a pseudo variable argument contains integer value. | ||
+ | if(is_int(" | ||
+ | log(" | ||
+ | } | ||
==== log ==== | ==== log ==== | ||
Line 2123: | Line 2130: | ||
Try to close the connection (the one on which the message is sent out) after forwarding the current message. Can be used in same route blocks as set_forward_no_connect(). | Try to close the connection (the one on which the message is sent out) after forwarding the current message. Can be used in same route blocks as set_forward_no_connect(). | ||
- | Note: Use with care as you might not receive the replies anymore as the connection is closed. | + | Note: Use with care as you might not receive the replies anymore as the connection is [[http:// |
cookbooks/3.2.x/core.txt · Last modified: 2016/02/02 15:31 by alexh