[INN-COMMITTERS] inn/innd (innd.h)

Russ Allbery rra at stanford.edu
Tue Oct 3 08:21:51 UTC 2000


    Date: Tuesday, October 3, 2000 @ 01:21:51
  Author: rra

Update of /dist1/cvs/isc/inn/inn/innd
     from pub3.rc.vix.com:/tmp/cvs-serv27150

Modified: innd.h

Untabified and reformatted somewhat.  Use portable/time.h instead of the
autoconf maze it replaces.  Remove the INADDR and u_long typedefs and
convert the various structure definitions to use the standard type names.
Change BOOL to bool and PID_T to pid_t.  Change STRING to const char *,
which isn't what it was typedef'd to be but which appears to be what was
actually intended, or char *.  Things will need another pass to put in
const in a few places at some point, but that's been needed anyway as const
has been used very inconsistently; the STRING typedef of "char const *"
isn't particularly useful.  Reorganize and comment the timer enum, and
remove the typedef in favor of just using "enum timer".  Rework the IOError
macro to use do { ... } while (0) instead of if (...) ... else, since it's
equivalent in semantics and doesn't provoke compiler warnings.  Added C++
and multiple inclusion protection.




More information about the inn-committers mailing list