K 10
svn:author
V 5
eagle
K 8
svn:date
V 27
2005-06-12T09:12:27.358514Z
K 7
svn:log
V 968
Go through innd/chan.c thoroughly, since I needed to take some time to
learn exactly how it worked anyway.  Reformat all of the code, collect
all of the global variables into a single struct, and break apart some
excessively long functions into multiple functions.  The code doesn't
wander way off to the side any more.

In the process, clean up and simplify a few things.  Resizing the input
buffer is now a separate function rather than being repeated three times.
There is now a single facility for handling prioritized channels that is
used for the control channel and the remconn channels.  The remconn
channel is always prioritized now; there is no longer a hidden #define
that can be changed.  Always process at least four channels, instead of
three, so that the control channel and two remconn channels cannot starve
the rest of innd.

Add a fairly simple test suite for the channel handling portion of innd,
as a sanity check and a base to expand upon later.

END
