Shuo Chen
755fbf16c3
Add void* arguments to request_new and reply_new evrpc hooks
...
This makes evprc setup more extensible, and helps with Shuo Chen's
work on implementing Google protocol buffers rpc on top of Libevent 2
evrpc.
This patch breaks binary compatibility with previous versions of
Libevent, since it changes struct evrpc and the signature of
evrpc_register_generic(). Since all compliant code should be calling
evrpc_register_generic via EVRPC_REGISTER, it shouldn't break source
compatibility.
(Code by Shuo Chen; commit message by Nick)
2010-04-14 14:27:29 -04:00
Shuo Chen
07edf784fa
Expose the request and reply members of rpc_req_generic()
...
This code adds two accessor functions to evprc, and helps integrate
evrpc with Google protocol buffers.
(Code by Shuo Chen; commit message by nickm)
2010-04-14 14:23:03 -04:00
Nick Mathewson
17efc1cdfa
Update all our copyright notices to say "2010"
2010-03-04 01:38:48 -05:00
Nick Mathewson
4faeaea90e
Clean up formatting: function/keyword spacing consistency.
...
- Keywords always have a space before a paren. Functions never do.
- No more than 3 blank lines in a row.
2010-02-19 03:39:50 -05:00
Nick Mathewson
918e9c5e72
Fix a number of warnings from gcc -pedantic
2010-01-23 16:38:36 -05:00
Nick Mathewson
07e9e9b4b1
Parenthesize macro arguments more aggressively
2009-11-20 16:50:55 -05:00
Nick Mathewson
5d71b25b51
Remove all trailing whitespace from end-of-line.
...
svn:r1350
2009-07-17 18:38:38 +00:00
Nick Mathewson
0b4ab12251
Spell-check the the headers
...
svn:r1320
2009-05-28 15:47:15 +00:00
Niels Provos
a146af1db8
move more code directly into evrpc.c; provide backwards compatible vararg macros
...
svn:r1244
2009-04-25 00:15:55 +00:00
Niels Provos
b228ff91b8
remove vararg macros for accessing evrpc structs
...
svn:r1243
2009-04-25 00:15:31 +00:00
Niels Provos
bbf79707f9
refactor evrpc.h header filer
...
svn:r1241
2009-04-25 00:14:58 +00:00