Nick Mathewson
5fbc7f0aee
r15439@tombo: nickm | 2008-05-02 12:28:08 -0400
...
use event_assign internall; switch uses of event_set to use event_assign instead.
svn:r755
2008-05-02 16:28:25 +00:00
Niels Provos
682adc443b
support input/output filters for bufferevents
...
svn:r748
2008-04-30 00:09:16 +00:00
Niels Provos
9485ff9a66
introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents
...
svn:r737
2008-04-27 20:40:56 +00:00
Niels Provos
dd183f7c97
provide bufferevent_input and bufferevent_output without requiring knowledge of the structure
...
svn:r734
2008-04-27 00:32:10 +00:00
Niels Provos
f6c4017381
fix a bug in which bufferevent_write_buffer would not schedule a write event
...
svn:r733
2008-04-26 05:13:56 +00:00
Niels Provos
3a17aeed7a
fix a bug in buffrevent read water marks and add a test for them
...
svn:r731
2008-04-26 01:00:44 +00:00
Niels Provos
3278012f33
expose bufferevent_setwatermark via header files and fix high watermark on read
...
svn:r729
2008-04-26 00:35:17 +00:00
Niels Provos
89f63b205d
add bufferevent_read_buffer function
...
svn:r728
2008-04-25 02:44:46 +00:00
Nick Mathewson
49868b618a
r15316@tombo: nickm | 2008-04-24 20:58:36 -0400
...
Rename internal memory management functions from event_malloc() etc to mm_malloc() etc.
svn:r725
2008-04-25 01:18:08 +00:00
Nick Mathewson
0ac73078ed
r15193@tombo: nickm | 2008-04-16 16:00:35 -0400
...
Split event.h into several new headers in include/event2. event.h is now just a wrapper that includes all the subheaders.
svn:r711
2008-04-16 20:01:51 +00:00
Niels Provos
5c70ea4c9d
improved code for evbuffer; avoids memcpy
...
svn:r674
2008-02-28 02:47:43 +00:00
Nick Mathewson
1120f04f3e
r16731@catbus: nickm | 2007-11-25 16:52:53 -0500
...
Replace all fds on non-unix-specific APIs with evutil_socket_t, which is int on unix and intptr_t on win32.
svn:r552
2007-11-25 21:53:06 +00:00
Nick Mathewson
7eb250e9c5
r14939@tombo: nickm | 2007-11-25 11:59:26 -0500
...
New function event_set_mem_functions to replace internal calls to malloc, free, etc with a user-supplied functions.
svn:r541
2007-11-25 17:14:19 +00:00
Niels Provos
af6f331a0b
use a const pointer for bufferevent_write
...
svn:r531
2007-11-17 01:32:30 +00:00
Nick Mathewson
4e1ec3e05e
Make all the C files in the libraries compile under MSVC 2005 Express. There are still a few warnings, and probably some subtle issues, but it's better than nothing.
...
svn:r499
2007-11-07 21:01:26 +00:00
Nick Mathewson
f74e7258fd
r16501@catbus: nickm | 2007-11-07 01:00:31 -0500
...
This is one of those patches which will either make matters far
simpler after the bugs shake out, or will get reverted pretty quick
once we realize that it is a stupid idea.
We now post-process the config.h file into a new event-config.h file,
whose macros are prefixed with _EVENT_ and which is thus safe for
headers to include. Using this, we can define replacement timeval
manipulation functions in evutil.h, and use them uniformly through our
code. We can also detect which headers are needful in event.h, and
include them as required.
This is also the perfect time to remove the long-deprecated acconfig.h
file, so that autoheader no longer warns.
Should resolve the following issues:
[ 1826530 ] Header files should have access to autoconf output.
[ 1826545 ] acconfig.h is deprecated.
[ 1826564 ] On some platforms, event.h can't be included alone.
svn:r492
2007-11-07 06:01:57 +00:00
Niels Provos
b5d2f9a255
rolling back r339: evconfig.h does not work
...
svn:r341
2007-03-01 06:25:18 +00:00
Niels Provos
127c260bb7
make evconfig.h available as installed header file; not
...
really ideal but good enough for me; from Nick Mathewson
svn:r339
2007-02-28 04:02:29 +00:00
Niels Provos
9f7d28bb81
make it compile with mingw; from Nick
...
svn:r235
2006-09-27 03:07:38 +00:00
Niels Provos
c1eec7aae5
allow both read and write callbacks for bufferevents to be NULL
...
svn:r227
2006-08-26 04:32:31 +00:00
Niels Provos
7b78c82823
limit the amount of data bufferevents are going to consume to something
...
reasonable; in some circumstances it could happen that libevent happily
allocated 100MB in read buffers without telling the user; found by
christopher maxwell - parts of these changes are from his patch.
svn:r200
2006-02-13 01:51:58 +00:00
Niels Provos
f296e6336a
allow setting an event base for bufferevents; from phil oleson
...
svn:r199
2006-02-03 19:26:06 +00:00
Niels Provos
50f7aaef6b
make it compile on mac os x
...
svn:r183
2005-09-09 06:56:12 +00:00
Niels Provos
0cce9a01d7
better comment
...
svn:r152
2005-04-23 02:48:27 +00:00
Niels Provos
5e2ba12a89
fixes from alexander von gernler
...
svn:r148
2005-04-14 23:28:06 +00:00
Niels Provos
bc9b24876b
make it compile on solaris
...
svn:r142
2005-04-04 00:10:17 +00:00
Niels Provos
3ba224dbd5
fixes for threaded operations from Andrew Danforth
...
svn:r129
2005-01-03 18:58:40 +00:00
Niels Provos
fa6c304d9e
support for event priorities; active events are scheduled into priority queues;
...
lower priorities get always processed before higher priorities
svn:r120
2004-09-19 21:08:09 +00:00
Niels Provos
849d524912
license
...
svn:r104
2004-04-13 06:22:48 +00:00
Niels Provos
fbf01c7f04
support for low and high watermarks
...
svn:r101
2004-04-04 02:20:21 +00:00
Niels Provos
246d8583c0
allow the write callback to called even if there is no buffered data
...
svn:r96
2004-03-23 04:05:37 +00:00
Niels Provos
5908bd7213
provided buffered events
...
svn:r95
2004-03-23 03:43:53 +00:00