hi, all
i am trying to extract the query information from uri,
and i found the evkeyvalq is used in input_headers.
so i copied the way the input_headers created by the following line:
evkeyvalq *query = (evkeyvalq *)calloc(1, sizeof(evkeyvalq));
but the compiler give the following error messag
On Thu, Jun 30, 2011 at 11:36 AM, 李白|字一日 wrote:
> hi, all
> i am trying to extract the query information from uri,
> and i found the evkeyvalq is used in input_headers.
>
> so i copied the way the input_headers created by the following line:
>
> evkeyvalq *query = (evkeyvalq *)calloc(1, sizeof(
In reading the documentation on paired buffer events, it says they can
be used in "a networking program that needs to talk to itself". That
is exactly what I have and this capability sounds like what I need to
implement an internal queue. But the problem is these events do not
seem to cause the e
Hi,
I'm new user to libevent, and quickly becoming a fan.
I'd need some way to build libevent on Windows for a project
(https://github.com/aubonbeurre/thrift/blob/alex-0.6.1/README.non.blocking.Windows).
Yesterday I spent a (frustrating) day trying to use waf (as suggested
on this list, nice too
I once played with libevent using cmake and msys. It is really fun:
- free and familiar toolchain: gcc, gdb
- portability
- cross-compiling from linux host
cmake can generate NMAKE makefile. I have never tried to use Visual
C++. Each version of VS, msft changes the format, it requires you to
u
Unfortunately that cmake script is only for "finding" pre-installed
libevents and won't be of any use to a Windows user more than likely.
I use premake4 myself; I just like lua better than the CMake language. Here
is a pair of premake scripts you can use if you can take a little time to
rework it