User Tools

Site Tools


cookbooks:3.2.x:core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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/ifndef region   * #!else - swtich to false branch of ifdef/ifndef region
   * #!endif - end ifdef/ifndef region   * #!endif - end ifdef/ifndef region
 +  * #!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 paramter (better for performance)+If it is turned on (default, value is 1), just a simple value is put into the branch parameter (better for performance)
  
 +<code c>
 +syn_branch=0
 +</code>
 ==== tos ==== ==== tos ====
  
Line 1905: Line 1910:
               resetflag(b);  # equiv. to resetflag(2)                resetflag(b);  # equiv. to resetflag(2) 
  
 +==== is_int ====
 +Checks if a pseudo variable argument contains integer value. 
  
 +  if(is_int("$avp(foobar)")) {
 +    log("foobar contains an integer\n");
 +  }
  
 ==== log ==== ==== log ====
cookbooks/3.2.x/core.txt ยท Last modified: 2016/02/02 16:31 by alexh