[OpenSER-Devel] dialog module global vars

Dan Pascu dan at ag-projects.com
Fri May 30 12:17:45 CEST 2008


On Friday 30 May 2008, Bogdan-Andrei Iancu wrote:
> Hi Dan,
>
> The variable is global as it is used by two functions. Anyhow, the
> variable is declared static, so it cannot be accessed (read - messed)
> from outside the file.

Right now, no. But if we need context switching it will be messed from 
inside the file, unless saved/restored. Any function using it is not 
reentrant, so you cannot call it more than once at a time.

Also do you speak of the TM variable or the dialog variable?

-- 
Dan



More information about the Devel mailing list