This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:3.2.x:core [2011/12/07 13:21] 83.218.94.2 changes subst to substdef in the example |
cookbooks:3.2.x:core [2012/03/23 15:43] 212.227.35.137 [define] added trydef and redefine in define list |
||
---|---|---|---|
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 971: | Line 973: | ||
CSeq exactly the same way as TM does. This is good for reboot - than messages belonging to transaction lost due to reboot will still be forwarded with the same branch parameter and will be match-able downstream. | CSeq exactly the same way as TM does. This is good for reboot - than messages belonging to transaction lost due to reboot will still be forwarded with the same branch parameter and will be match-able downstream. | ||
- | If it is turned on, just a simple value is put into the branch | + | If it is turned on (default, value is 1), just a simple value is put into the branch |
+ | <code c> | ||
+ | syn_branch=0 | ||
+ | </ | ||
==== tos ==== | ==== tos ==== | ||
Line 1905: | Line 1910: | ||
resetflag(b); | resetflag(b); | ||
+ | ==== is_int ==== | ||
+ | Checks if a pseudo variable argument contains integer value. | ||
+ | if(is_int(" | ||
+ | log(" | ||
+ | } | ||
==== log ==== | ==== log ==== |