ellzey/libevhtp — Issue #15: Minimize namespace polution from evhtp.h
Author: nmathewson
Created: 2011-12-15 01:42:12+00:00
State: open

Currently evhtp.h exposes a bunch of evhtp* types and functions and declarations. Fair enough.

But it also includes all of oniposix.h, a bunch of ssl stuff, a bunch of libevent includes, evthr.h, and htparse.h, which fill the namespace with all kinds of things and make it hard to say "all identifiers exposed by elibvhtp start with..."

In most cases, those could be replaced with forward declarations of the needed structures, or moved out of evhtp.h entirely along with the structures that use them (See issue #12).