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:devel:pseudovariables [2020/12/12 18:45] miconda [$dd - Domain of destination URI] |
cookbooks:devel:pseudovariables [2021/03/25 13:03] miconda [$T_branch_idx] |
||
---|---|---|---|
Line 207: | Line 207: | ||
</ | </ | ||
- | ==== $def(name) - Defined Value As Number ==== | + | ==== $defn(name) - Defined Value As Number ==== |
- | **$def(name)** - return a defined value as a signed integer. | + | **$defn(name)** - return a defined value as a signed integer. |
Example: | Example: | ||
Line 216: | Line 216: | ||
#!define FLT_ACC 1 | #!define FLT_ACC 1 | ||
- | xlog(" | + | xlog(" |
</ | </ | ||
==== $di - Diversion header URI ==== | ==== $di - Diversion header URI ==== | ||
Line 267: | Line 267: | ||
**$fd** - reference to domain in URI of ' | **$fd** - reference to domain in URI of ' | ||
+ | |||
+ | <fc # | ||
==== $fn - From display name ==== | ==== $fn - From display name ==== | ||
Line 1582: | Line 1584: | ||
==== $T_branch_idx ==== | ==== $T_branch_idx ==== | ||
- | * the index (starting with 1 for the first branch) of the branch for which is executed the branch_route[]. | + | * the index (starting with 0 for the first branch) of the branch for which is executed the branch_route[]. |
+ | * in failure_route[] block, the value is the number of completed branches added to the number of new new branches | ||
+ | * in request_route block, the value is number of created branches | ||
+ | * in onreply_route[], | ||
+ | * if used outside of transaction processing, the value is '-1' | ||
==== $T_reply_ruid ==== | ==== $T_reply_ruid ==== |