event.h


Log

Author Commit Date CI Message
Nick Mathewson e49e2891 2012-02-10T17:29:53 Update copyright notices to 2012
Nick Mathewson 3c824bd3 2011-10-24T13:18:09 Update copyright dates to 2011.
Nick Mathewson 2888facc 2011-07-04T23:02:11 Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy
Gilad Benjamini 39201728 2010-08-13T17:19:18 Make definition of WIN32_LEAN_AND_MEAN in event.h conditional. (Inclusion order might trigger a warning for redefinition on Windows.)
Nick Mathewson ec347b92 2010-07-07T16:45:03 Move event-config.h to include/event2 This change means that all required include files are in event2, and all files not in event2/* are optional.
Nick Mathewson 17efc1cd 2010-03-04T01:25:51 Update all our copyright notices to say "2010"
Nick Mathewson e3fd294a 2009-10-16T13:19:57 Spelling fixes in comments and strings. svn:r1445
Nick Mathewson 5b5b880b 2009-07-28T19:41:39 Various MSVC cleanups from Brodie Thiesfield. svn:r1385
Nick Mathewson e8400a43 2009-07-20T14:55:35 Rename encode_int(64) to avoid polluting the global namespace. They're now called evtag_encode_int(64). The old names are available as macros in event2/tag_compat.h. Also, add unit tests for encode/decode_int64. svn:r1365
Nick Mathewson 5d71b25b 2009-07-17T18:38:38 Remove all trailing whitespace from end-of-line. svn:r1350
Niels Provos f00f0c25 2009-04-18T04:34:45 make doxygen happier svn:r1199
Nick Mathewson ea4b8724 2009-02-02T19:22:13 checkpoint work on big bufferevent refactoring svn:r1095
Nick Mathewson b85b710c 2009-01-27T22:34:36 Update copyright statements to reflect the facts that: a) this is 2009 b) niels and nick have been comaintainers for a while c) saying "all rights reserved" when you then go on to explicitly disclaim some rights is sheer cargo-cultism. svn:r1065
Nick Mathewson ec2f4cbc 2009-01-23T01:35:57 Move obsolete evbuffer function into include/event2/buffer_compat.h svn:r1043
Niels Provos ef0221cc 2008-05-13T03:42:47 document chunked replies plus fix doxygen warnings svn:r815
Nick Mathewson 0ac73078 2008-04-16T20:01:51 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
Niels Provos 5c70ea4c 2008-02-28T02:47:43 improved code for evbuffer; avoids memcpy svn:r674
Niels Provos 67bf29ad 2008-02-23T06:02:04 simplify evbuffer by removing orig_buffer svn:r654
Niels Provos 87bef9e9 2008-02-20T21:49:09 update event_base_loop documentation; from Tani Hosokawa svn:r652
Niels Provos 8ab61891 2008-02-16T06:09:39 event_base_get_method; from Springande Ulv svn:r635
Niels Provos 03589ccb 2007-12-24T22:49:30 rollback r594: restructuring to make event activation independent. changes are going to wait for api design svn:r612
Niels Provos d4bdbca8 2007-12-18T03:54:19 add -Wstrict-aliasing and remove bogus evtag_test from event.h svn:r602
Niels Provos 7aa845b7 2007-12-16T04:10:30 restructure the code to make event activation independent of regular event logic svn:r594
Niels Provos ba487199 2007-12-12T04:39:42 support for 32-bit tag numbers in rpc structures svn:r583
Nick Mathewson 3206bbca 2007-12-06T18:12:56 r15171@tombo: nickm | 2007-12-06 12:47:47 -0500 Use GCC attributes (where available) to verify printf type-correctness. Fix some bugs this turned up. svn:r573
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 6773a597 2007-11-25T21:32:26 r14953@tombo: nickm | 2007-11-25 15:56:40 -0500 Replace evbuffer_readline with a more powerful evbuffer_readln that can handle more EOL styles, and that can give useful results when there are NUL characters inside the returned values. Includes regression tests. svn:r550
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 88897852 2007-11-25T06:57:59 provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue svn:r539
Nick Mathewson 1c23e219 2007-11-17T22:21:42 r14931@tombo: nickm | 2007-11-17 17:21:09 -0500 Patch from Scott Lamb: Implement event_{base_}loopbreak. Includes documentation and tests. From sf.net Feature Request 1826546. svn:r535
Nick Mathewson 70248ca8 2007-11-17T22:21:33 r14930@tombo: nickm | 2007-11-17 17:01:14 -0500 documentation fix on loopexit and elsewhere from Scott Lamb. svn:r534
Niels Provos af6f331a 2007-11-17T01:32:30 use a const pointer for bufferevent_write svn:r531
Niels Provos f586f428 2007-11-14T17:52:21 provide event_base_new() as a mechanism for not setting the current_global svn:r529
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 7feba570 2007-11-07T07:33:21 r16507@catbus: nickm | 2007-11-07 01:34:55 -0500 Never assign a string constant to a non-const char *. svn:r495
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
Nick Mathewson 29420339 2007-11-07T05:02:14 r16496@catbus: nickm | 2007-11-06 23:58:52 -0500 Clarify some doxygen in event.h svn:r489
Niels Provos a5271518 2007-11-07T01:48:44 make event_init should return struct event_base * svn:r481
Niels Provos dc2317f9 2007-11-04T06:35:29 improve doxygen documentation svn:r473
Niels Provos 2026b215 2007-11-03T23:53:49 remove last vestiges of RBTREE svn:r470
Niels Provos 30ae40cc 2007-11-03T18:04:53 switch timeouts to a min heap; from Maxim Yegorushkin svn:r467
Nick Mathewson d69a4c9e 2007-09-18T15:12:20 r15097@catbus: nickm | 2007-09-18 11:08:42 -0400 Wrap all newly-added Doxygen comments to fit in a consistent 80 columns, and remove all their trailing whitespace. svn:r437
Nick Mathewson 7135ffb6 2007-09-18T15:12:09 r15096@catbus: nickm | 2007-09-18 11:02:12 -0400 Add Doxygen documentation to header files; patch from Mark Heily. svn:r436
Niels Provos 3ad6b47e 2007-07-30T22:41:00 make clock_monotonic work; do not use default timeout; from Scott Lamb, plus some fixes from me. svn:r371
Niels Provos b15d715c 2007-07-06T03:36:31 make event_rpcgen.py use the uint_ types; make event.h include stdint.h (wonder which OS that will break) svn:r369
Niels Provos 753ffa56 2007-06-30T19:08:46 convert u_int8_t types to uint8_t types svn:r368
Niels Provos f0ff792a 2007-06-30T18:58:34 fixes from Joerg Sonnenberger: http.c is a violation of the ctype(3) interface and an unused function. test/regress_http.c are incorrect format strings. test/regress.c uses raise(3) from signal.h. evdns.c: evdns_error_strings is unused. The GET* macros can eat the semicolon from the expression. pos is passed in as off_t, so just pass that down. When assigning negativ values to unsigned variables, an explicit cast is considered good style. svn:r367
Niels Provos 41b7cbc3 2007-03-10T06:37:53 more the signal base into the event base; this removes global state and makes signals work better with threading; from Wouter Wijngaards small fixes for kqueue and style by me svn:r351
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 f86cead0 2007-02-24T08:33:07 remove artifical 16-bit restriction on evrpc entries svn:r337
Niels Provos 58f42c79 2007-02-14T16:59:47 fix handling of chunked requests svn:r328
Niels Provos ba748012 2007-02-09T07:52:04 add prototype for bufferevent_base_set; from thorsten glaser svn:r323
Niels Provos 868f10e7 2006-11-22T01:21:10 mingw fixes from Nick svn:r271
Niels Provos b6b933af 2006-10-04T03:45:10 Protect EVENT_* macros - () were missing svn:r237
Niels Provos 6813af3f 2006-06-10T22:37:21 move http related prototypes to evhttp.h svn:r214
Niels Provos 2e8051f5 2006-03-28T04:40:54 introduce a way to free the base from Nick Mathewson <nickm@freehaven.net> svn:r210
Niels Provos 38b33048 2006-02-27T02:27:37 make a simple test for HTTP POST requests svn:r205
Niels Provos 88bd7943 2006-02-13T04:53:58 make it compile on mac os x svn:r202
Niels Provos 896bf3a2 2006-02-13T02:22:48 many changes for fixing a small bug: post requests would not send the post data. I took the opportunity to reorganize a bit. svn:r201
Niels Provos a3bb4a03 2006-01-22T05:08:50 I often need some very simple HTTP functionality, so this is a first stab at integrating something really simple with HTTP. The interface is still evolving as I start messing with it. Not all the interfaces are properly exported yet. I am also trying to figure out how to intelligently hide the details about the different structures from users, so that that things can be changed around later. svn:r196
Niels Provos 8d1317d7 2005-12-06T03:26:28 add evbuffer_add_vprintf interface from artur grabowski; add some testing svn:r188
Niels Provos 50f7aaef 2005-09-09T06:56:12 make it compile on mac os x svn:r183
Niels Provos 32acc283 2005-08-27T06:29:52 a few more bug fixes svn:r177
Niels Provos c4e60994 2005-08-22T01:34:34 including the tagging code that is required by event_rpcgen.py; test the new functionality. svn:r172
Niels Provos 425fc0d5 2005-04-23T02:53:39 provide a function to read lines from buffers; comes in handy for many AscII protocols. svn:r154
Niels Provos 720f7fcc 2005-04-02T08:43:55 event_base_loop and some event logging fixes. svn:r140
Niels Provos fbdaf3ab 2005-03-29T07:03:10 debugging callbacks from Nick Mathewson <nickm@freehaven.net> svn:r136
Niels Provos 99442c6f 2005-03-29T06:54:36 windows fixes from Nick Mathewson <nickm@freehaven.net> svn:r135
Niels Provos c5e4eee0 2005-02-25T05:28:57 event_get_version() and event_get_method() from Nick Mathewson <nickm@freehaven.net> svn:r133
Niels Provos cacd8398 2004-12-01T20:10:16 documentation on thread safe events svn:r126
Niels Provos 25646045 2004-12-01T20:04:54 provide more base-based functions :-) svn:r125
Niels Provos 8773c4c9 2004-11-25T09:50:18 make libevent thread-safe; first cut svn:r122
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 44d88ea6 2004-07-13T08:02:45 change evbuffer_read so that it reads directly into the memory allocated to the evbuffer; this avoids one unnecessary data copy. svn:r110
Niels Provos 025d1bc2 2004-05-24T00:19:52 fix some of the windows compile issues; make buffer.c faster; support signals via pipes. svn:r105
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
Niels Provos cd699abf 2004-03-22T21:46:45 support event_loopexit(); idea from marius; and fix event_once() svn:r94
Niels Provos ec2c1db4 2004-02-22T21:17:23 new event_once interface; start of buffering interface for buffered events svn:r93
Niels Provos c3f496c7 2003-10-04T23:27:26 minor corrections; change license to 3-clause BSD license svn:r84
Niels Provos e506eaf7 2003-09-25T03:26:53 constify; some windows stuff by mike davis; fix a poll bug svn:r77
Niels Provos f1cf6322 2002-09-06T17:13:08 add timeout_ defines back for backward compatibility. svn:r30
Niels Provos 5f865858 2002-07-26T14:45:50 sync with openbsd; API change: timeout_ is now evtimer_ svn:r29
Niels Provos 3821c7e2 2002-06-13T01:54:07 make kqueue signal callback work with sigchld. cast and better timeout. svn:r27
Niels Provos 59137c11 2002-04-10T03:15:19 deal correctly with deleting an event, now that we allow multiple callbacks for signal delivery. svn:r20
Niels Provos d10f85db 2002-04-10T02:10:47 signal support for kqueue; support of EV_PERSIST flag to event_set svn:r18
Niels Provos b855bc55 2002-04-10T00:31:31 initial support for signals (only for select now) based on code from Dug Song <dugsong@monkey.org> svn:r17
Niels Provos aa6567fe 2002-04-09T15:14:06 Initial revision svn:r2