12 Commits

Author SHA1 Message Date
Niels Provos
3794534feb change the signature of the client rpc callback to pass in an rpc status; the status
allows us to determine if an error happened.


svn:r363
2007-05-29 05:38:58 +00:00
Niels Provos
621a1b2947 support freeing of evrpc base
svn:r356
2007-05-23 05:31:33 +00:00
Niels Provos
0c2808246a support removing of http callbacks and removing of registered RPCs
svn:r355
2007-05-23 05:20:59 +00:00
Niels Provos
50edb19f17 EVRPC_MAKE_REQUEST needs the pool argument
svn:r349
2007-03-05 07:28:15 +00:00
Niels Provos
729487deb3 better conversion; cannot use event_err here.
svn:r344
2007-03-03 08:27:52 +00:00
Niels Provos
660662517c proper casting for conversion
svn:r343
2007-03-03 08:18:20 +00:00
Niels Provos
74f7118d66 install evrpc.h header
svn:r342
2007-03-03 08:16:40 +00:00
Niels Provos
2d028ef6c1 fix a bug where rpc would not be scheduled when they were queued; test for it.
allow a configurable timeout for connections and RPCs.


svn:r274
2006-11-22 06:54:28 +00:00
Niels Provos
4aa780d6ad don't require string literal for message name
svn:r270
2006-11-20 07:57:36 +00:00
Niels Provos
fda1216b6e generate client request code via macro; flesh out the pools a little bit.
svn:r268
2006-11-20 03:32:53 +00:00
Niels Provos
c4836d1053 make sure that the rpc callback receives an unmarshaled payload;
make sure that the rpc reply contains a good rpc structure, too.


svn:r258
2006-11-17 06:06:17 +00:00
Niels Provos
f554234f74 first stab at an rpc layer; this breaks the regression test.
svn:r254
2006-11-16 07:36:20 +00:00