Skip to content

Minimize namespace polution from evhtp.h #15

nmathewson opened this Issue Dec 15, 2011 · 0 comments

1 participant


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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.