kc3-lang/libevent/event.h

Branch :


Log

Author Commit Date CI Message
e3fd294a 2009-10-16 13:19:57 Spelling fixes in comments and strings. svn:r1445
5b5b880b 2009-07-28 19:41:39 Various MSVC cleanups from Brodie Thiesfield. svn:r1385
e8400a43 2009-07-20 14: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
5d71b25b 2009-07-17 18:38:38 Remove all trailing whitespace from end-of-line. svn:r1350
f00f0c25 2009-04-18 04:34:45 make doxygen happier svn:r1199
ea4b8724 2009-02-02 19:22:13 checkpoint work on big bufferevent refactoring svn:r1095
b85b710c 2009-01-27 22: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
ec2f4cbc 2009-01-23 01:35:57 Move obsolete evbuffer function into include/event2/buffer_compat.h svn:r1043
ef0221cc 2008-05-13 03:42:47 document chunked replies plus fix doxygen warnings svn:r815
0ac73078 2008-04-16 20: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
5c70ea4c 2008-02-28 02:47:43 improved code for evbuffer; avoids memcpy svn:r674
67bf29ad 2008-02-23 06:02:04 simplify evbuffer by removing orig_buffer svn:r654
87bef9e9 2008-02-20 21:49:09 update event_base_loop documentation; from Tani Hosokawa svn:r652
8ab61891 2008-02-16 06:09:39 event_base_get_method; from Springande Ulv svn:r635
03589ccb 2007-12-24 22:49:30 rollback r594: restructuring to make event activation independent. changes are going to wait for api design svn:r612
d4bdbca8 2007-12-18 03:54:19 add -Wstrict-aliasing and remove bogus evtag_test from event.h svn:r602
7aa845b7 2007-12-16 04:10:30 restructure the code to make event activation independent of regular event logic svn:r594
ba487199 2007-12-12 04:39:42 support for 32-bit tag numbers in rpc structures svn:r583
3206bbca 2007-12-06 18: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
1120f04f 2007-11-25 21: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
6773a597 2007-11-25 21: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
7eb250e9 2007-11-25 17: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
88897852 2007-11-25 06:57:59 provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue svn:r539
1c23e219 2007-11-17 22: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
70248ca8 2007-11-17 22:21:33 r14930@tombo: nickm | 2007-11-17 17:01:14 -0500 documentation fix on loopexit and elsewhere from Scott Lamb. svn:r534
af6f331a 2007-11-17 01:32:30 use a const pointer for bufferevent_write svn:r531
f586f428 2007-11-14 17:52:21 provide event_base_new() as a mechanism for not setting the current_global svn:r529
4e1ec3e0 2007-11-07 21: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
7feba570 2007-11-07 07:33:21 r16507@catbus: nickm | 2007-11-07 01:34:55 -0500 Never assign a string constant to a non-const char *. svn:r495
f74e7258 2007-11-07 06: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
29420339 2007-11-07 05:02:14 r16496@catbus: nickm | 2007-11-06 23:58:52 -0500 Clarify some doxygen in event.h svn:r489
a5271518 2007-11-07 01:48:44 make event_init should return struct event_base * svn:r481
dc2317f9 2007-11-04 06:35:29 improve doxygen documentation svn:r473
2026b215 2007-11-03 23:53:49 remove last vestiges of RBTREE svn:r470
30ae40cc 2007-11-03 18:04:53 switch timeouts to a min heap; from Maxim Yegorushkin svn:r467
d69a4c9e 2007-09-18 15: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
7135ffb6 2007-09-18 15:12:09 r15096@catbus: nickm | 2007-09-18 11:02:12 -0400 Add Doxygen documentation to header files; patch from Mark Heily. svn:r436
3ad6b47e 2007-07-30 22:41:00 make clock_monotonic work; do not use default timeout; from Scott Lamb, plus some fixes from me. svn:r371
b15d715c 2007-07-06 03:36:31 make event_rpcgen.py use the uint_ types; make event.h include stdint.h (wonder which OS that will break) svn:r369
753ffa56 2007-06-30 19:08:46 convert u_int8_t types to uint8_t types svn:r368
f0ff792a 2007-06-30 18: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
41b7cbc3 2007-03-10 06: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
b5d2f9a2 2007-03-01 06:25:18 rolling back r339: evconfig.h does not work svn:r341
127c260b 2007-02-28 04:02:29 make evconfig.h available as installed header file; not really ideal but good enough for me; from Nick Mathewson svn:r339
f86cead0 2007-02-24 08:33:07 remove artifical 16-bit restriction on evrpc entries svn:r337
58f42c79 2007-02-14 16:59:47 fix handling of chunked requests svn:r328
ba748012 2007-02-09 07:52:04 add prototype for bufferevent_base_set; from thorsten glaser svn:r323
868f10e7 2006-11-22 01:21:10 mingw fixes from Nick svn:r271
b6b933af 2006-10-04 03:45:10 Protect EVENT_* macros - () were missing svn:r237
6813af3f 2006-06-10 22:37:21 move http related prototypes to evhttp.h svn:r214
2e8051f5 2006-03-28 04:40:54 introduce a way to free the base from Nick Mathewson <nickm@freehaven.net> svn:r210
38b33048 2006-02-27 02:27:37 make a simple test for HTTP POST requests svn:r205
88bd7943 2006-02-13 04:53:58 make it compile on mac os x svn:r202
896bf3a2 2006-02-13 02: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
a3bb4a03 2006-01-22 05: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
8d1317d7 2005-12-06 03:26:28 add evbuffer_add_vprintf interface from artur grabowski; add some testing svn:r188
50f7aaef 2005-09-09 06:56:12 make it compile on mac os x svn:r183
32acc283 2005-08-27 06:29:52 a few more bug fixes svn:r177
c4e60994 2005-08-22 01:34:34 including the tagging code that is required by event_rpcgen.py; test the new functionality. svn:r172
425fc0d5 2005-04-23 02:53:39 provide a function to read lines from buffers; comes in handy for many AscII protocols. svn:r154
720f7fcc 2005-04-02 08:43:55 event_base_loop and some event logging fixes. svn:r140
fbdaf3ab 2005-03-29 07:03:10 debugging callbacks from Nick Mathewson <nickm@freehaven.net> svn:r136
99442c6f 2005-03-29 06:54:36 windows fixes from Nick Mathewson <nickm@freehaven.net> svn:r135
c5e4eee0 2005-02-25 05:28:57 event_get_version() and event_get_method() from Nick Mathewson <nickm@freehaven.net> svn:r133
cacd8398 2004-12-01 20:10:16 documentation on thread safe events svn:r126
25646045 2004-12-01 20:04:54 provide more base-based functions :-) svn:r125
8773c4c9 2004-11-25 09:50:18 make libevent thread-safe; first cut svn:r122
fa6c304d 2004-09-19 21:08:09 support for event priorities; active events are scheduled into priority queues; lower priorities get always processed before higher priorities svn:r120
44d88ea6 2004-07-13 08: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
025d1bc2 2004-05-24 00:19:52 fix some of the windows compile issues; make buffer.c faster; support signals via pipes. svn:r105
fbf01c7f 2004-04-04 02:20:21 support for low and high watermarks svn:r101
246d8583 2004-03-23 04:05:37 allow the write callback to called even if there is no buffered data svn:r96
5908bd72 2004-03-23 03:43:53 provided buffered events svn:r95
cd699abf 2004-03-22 21:46:45 support event_loopexit(); idea from marius; and fix event_once() svn:r94
ec2c1db4 2004-02-22 21:17:23 new event_once interface; start of buffering interface for buffered events svn:r93
c3f496c7 2003-10-04 23:27:26 minor corrections; change license to 3-clause BSD license svn:r84
e506eaf7 2003-09-25 03:26:53 constify; some windows stuff by mike davis; fix a poll bug svn:r77
f1cf6322 2002-09-06 17:13:08 add timeout_ defines back for backward compatibility. svn:r30
5f865858 2002-07-26 14:45:50 sync with openbsd; API change: timeout_ is now evtimer_ svn:r29
3821c7e2 2002-06-13 01:54:07 make kqueue signal callback work with sigchld. cast and better timeout. svn:r27
59137c11 2002-04-10 03:15:19 deal correctly with deleting an event, now that we allow multiple callbacks for signal delivery. svn:r20
d10f85db 2002-04-10 02:10:47 signal support for kqueue; support of EV_PERSIST flag to event_set svn:r18
b855bc55 2002-04-10 00:31:31 initial support for signals (only for select now) based on code from Dug Song <dugsong@monkey.org> svn:r17
aa6567fe 2002-04-09 15:14:06 Initial revision svn:r2