This is a philosophical question.

The header serf_private.h uses symbols from serf.h but doesn't #include serf.h. Personally I find this a constant distraction, especially when my IDE (a.k.a. Emacs) complains about undefined symbols.

Is there a deeper reason that serf_private.h doesn't include serf.h? Because it either should include it, or should stop depending on typedefs from serf.h.

The reason I bring this up: I'm going through the files, looking for #include inconsistencies, and there are a lot of places where we include both serf.h and serf_private.h, even though one of them isn't needed.

-- Brane

Reply via email to