int (*reply_unmarshal)(void *, struct evbuffer*);
};
-#define EVRPC_MAKE_REQUEST(name, request, reply, cb, cbarg) \
+#define EVRPC_MAKE_REQUEST(name, pool, request, reply, cb, cbarg) \
evrpc_send_request_##name(pool, request, reply, cb, cbarg)
int evrpc_make_request(struct evrpc_request_wrapper *);
kill = kill_new();
- EVRPC_MAKE_REQUEST(Message, msg, kill, GotKillCb, NULL);
+ EVRPC_MAKE_REQUEST(Message, pool, msg, kill, GotKillCb, NULL);
test_ok = 0;
/* we do it twice to make sure that reuse works correctly */
kill_clear(kill);
- EVRPC_MAKE_REQUEST(Message, msg, kill, GotKillCb, NULL);
+ EVRPC_MAKE_REQUEST(Message, pool, msg, kill, GotKillCb, NULL);
event_dispatch();
kill_one = kill_new();
kill_two = kill_new();
- EVRPC_MAKE_REQUEST(Message, msg, kill_one, GotKillCbTwo, NULL);
- EVRPC_MAKE_REQUEST(Message, msg, kill_two, GotKillCb, NULL);
+ EVRPC_MAKE_REQUEST(Message, pool, msg, kill_one, GotKillCbTwo, NULL);
+ EVRPC_MAKE_REQUEST(Message, pool, msg, kill_two, GotKillCb, NULL);
test_ok = 0;
kill = kill_new();
- EVRPC_MAKE_REQUEST(NeverReply, msg, kill, GotErrorCb, NULL);
+ EVRPC_MAKE_REQUEST(NeverReply, pool, msg, kill, GotErrorCb, NULL);
test_ok = 0;