evbuffer.c


Log

Author Commit Date CI Message
Nick Mathewson 1120f04f 2007-11-25T21:53:06 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
Nick Mathewson 7eb250e9 2007-11-25T17:14:19 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
Niels Provos af6f331a 2007-11-17T01:32:30 use a const pointer for bufferevent_write svn:r531
Nick Mathewson 4e1ec3e0 2007-11-07T21:01:26 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
Nick Mathewson f74e7258 2007-11-07T06:01:57 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
Niels Provos b5d2f9a2 2007-03-01T06:25:18 rolling back r339: evconfig.h does not work svn:r341
Niels Provos 127c260b 2007-02-28T04:02:29 make evconfig.h available as installed header file; not really ideal but good enough for me; from Nick Mathewson svn:r339
Niels Provos 9f7d28bb 2006-09-27T03:07:38 make it compile with mingw; from Nick svn:r235
Niels Provos c1eec7aa 2006-08-26T04:32:31 allow both read and write callbacks for bufferevents to be NULL svn:r227
Niels Provos 7b78c828 2006-02-13T01:51:58 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
Niels Provos f296e633 2006-02-03T19:26:06 allow setting an event base for bufferevents; from phil oleson svn:r199
Niels Provos 50f7aaef 2005-09-09T06:56:12 make it compile on mac os x svn:r183
Niels Provos 0cce9a01 2005-04-23T02:48:27 better comment svn:r152
Niels Provos 5e2ba12a 2005-04-14T23:28:06 fixes from alexander von gernler svn:r148
Niels Provos bc9b2487 2005-04-04T00:10:17 make it compile on solaris svn:r142
Niels Provos 3ba224db 2005-01-03T18:58:40 fixes for threaded operations from Andrew Danforth svn:r129
Niels Provos fa6c304d 2004-09-19T21:08:09 support for event priorities; active events are scheduled into priority queues; lower priorities get always processed before higher priorities svn:r120
Niels Provos 849d5249 2004-04-13T06:22:48 license svn:r104
Niels Provos fbf01c7f 2004-04-04T02:20:21 support for low and high watermarks svn:r101
Niels Provos 246d8583 2004-03-23T04:05:37 allow the write callback to called even if there is no buffered data svn:r96
Niels Provos 5908bd72 2004-03-23T03:43:53 provided buffered events svn:r95