[sr-dev] Dialog profiles and circular doubly-linked lists

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 3 11:53:01 CET 2014


Hello,

On 03/11/14 11:05, Alex Hermann wrote:
> Hi all,
>
> If i understood correctly, the dialog profiles are stored in a circular 
> doubly-linked list. I haven't seen why though. So if both doubly-linked and 
> circular aren't necessary, could the storage be reduced to a single linked 
> list with a NULL at the end?

No idea why the initial developer made it like this, at some point I
noticed it is not effectively used. You can go ahead and change it.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 24-27, Berlin - http://www.asipto.com




More information about the sr-dev mailing list