cURL / Mailing Lists / curl-library / Single Mail

curl-library

cleaning up lib/hostip.c

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 21 Apr 2004 21:28:10 +0200 (CEST)

Hi

I'm currently working on cleaning up the code currently found in lib/hostip.c
and I think I'm on my way towards something that is easier to read than the
current jungle of #ifdefs. The idea is to make it easier to
understand/maintain.

I'm not entirely happy with the large amount of new files in this approach,
but I think I've managed to better clarify when which functions are
needed/used.

You can have a look at my first shot here:

        http://curl.haxx.se/beta/hostip-cleanup1.patch (95383 bytes)

This patch is a diff against my current CVS so it probably needs a pretty
recent source to apply nicely.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-21