Move some global 'flags' to individual variables.
authorLuigi Rizzo <rizzo@icir.org>
Sun, 29 Jul 2007 20:01:36 +0000 (20:01 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sun, 29 Jul 2007 20:01:36 +0000 (20:01 +0000)
commitfd2f3a20bc6b38fb43cb2a41aa6e907802e3019a
tree50a92972ee22be8c1702191c34fe3994ff400ded
parent5e35eab5a2a4def8890547a29ba21fda4d1da9d7
Move some global 'flags' to individual variables.

Start putting these variables in a single struct (called 'sip_cfg' for the time
being, but it could as well be 'global' or some other name) so it
is easy, when reading the code, to figure out what they are for.

The downside of using struct fields instead of individual global
variables is that the compiler cannot tell if there are unused fields.
But the advantage of not cluttering the namespace and manilpulating
all these variables at once certainly overcome the disadvantagess.

Nothing to backport, again.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c