On Wed, Aug 10, 2011 at 12:41 PM, Mark Ellzey <mtho...@strcpy.net> wrote: > On Wed, Aug 10, 2011 at 07:39:02PM +0400, Leonid Evdokimov wrote: >> evhttp_parse_query and evhttp_parse_query_str require preallocated >> struct evkeyvalq that has unstable ABI according to section 2.1 of >> whatsnew-2.0.txt >> >> But these functions are placed in "stable ABI" header event2/http.h >> >> Maybe, there these functions should be placed into _compat, _internal >> or something like that in release 2.1 ? >> Another options is to introduce something simple like evkeyval_new / >> evkeyval_free in addition to evhttp_clear_headers. >> > > > I'll be pushing something much like this soonish. Uses same tailq but > with more options. We'll see how the world thinks of it.
I'm in favor, generally. I think making evkeyvalq into an opaque type would probably be the best approach here, to be consonant with the rest of the libevent API. -- Nick *********************************************************************** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-users in the body.