Opinion on source organization needed

From: Guido Serassio <serassio@dont-contact.us>
Date: Mon, 16 Apr 2001 21:07:45 +0200

Hi to all,

I'm starting to work on include some WIN32 native features on the CygWin
Squid 2.5 port.
The goal is to include in the code a work that can be useful for a future
WIN32/NT native port.

So is born a question:

I need to insert the inclusion of some WIN32 include files in many source
modules, so what is better ? include the header files in any module or in a
squid general header file, like squid.h ? Or use a global WIN32 include
file, included only where needed ?

Obviously all code changes will be incapsulated between #ifdef
_SQUID_CYGWIN_ #endif sections ....

For code additions instead, there is no problem, I will use a win32.c module.

Please, tell me your opinions about.

Guido Serassio

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
Tel. : +39.011.610749
E-mail: serassio@interfree.it
            serassio@libero.it
WWW: http://serassio.interfree.it
Received on Mon Apr 16 2001 - 13:07:55 MDT

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