User Tools

Site Tools


cookbooks:5.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
cookbooks:5.2.x:core [2019/02/22 19:00]
henningw [pv_buffer_size]
cookbooks:5.2.x:core [2019/03/27 20:34] (current)
joelsdc [flags]
Line 866: Line 866:
 ==== flags ==== ==== flags ====
  
-**Alias name: bool**+SIP message (transaction) flags can have string names.  
 +The //name// for flags cannot be used for **branch** or **script flags**(*) 
 + 
 + 
 +<code c> 
 +... 
 +flags 
 +  FLAG_ONE ​  : 1, 
 +  FLAG_TWO ​  : 2; 
 +... 
 +</​code>​ 
 + 
 +(*) The named flags feature was propagated from the source code merge back in 2008 and is not extensively tested. The recommended way of defining flags is using [[cookbooks:​5.2.x:​core#​define|#​!define]] (which is also valid for branch/​script flags): 
 +<code c> 
 +#!define FLAG_NAME FLAG_BIT 
 +</​code>​ 
  
 ==== force_rport ==== ==== force_rport ====
cookbooks/5.2.x/core.1550858459.txt.gz · Last modified: 2019/02/22 19:00 by henningw