A programming style question

From: Yee Man Chan <ymc@dont-contact.us>
Date: Wed, 12 Jan 2000 11:05:10 -0800

Hi,

        I find that all .c files in the src directory of 2.2S5 or 2.3S1 only includes
squid.h. And squid.h includes protos.h, enums.h, etc. I am just curious why
squid choose to include in this way in favor of the old fashion: (arguably
more widely used) one .h for one .c, so u have put those #ifndef .... #endif
in each .h? Can anyone tell me the advantages and disadvantages of these two
styles?

Thanx for your time.
Yee Man
Received on Wed Jan 12 2000 - 11:04:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:20 MST