From 67656fec828220d980293581c8b9269b26d18523 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 25 Nov 2017 14:09:41 +0000 Subject: Add skaclient_timed_aflush() --- src/include/skalibs/skaclient.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/include/skalibs/skaclient.h b/src/include/skalibs/skaclient.h index 2e6e251..1209ca5 100644 --- a/src/include/skalibs/skaclient.h +++ b/src/include/skalibs/skaclient.h @@ -139,5 +139,7 @@ extern unixmessage_handler_func_t skaclient_default_cb ; #define skaclient_aput(a, m) unixmessage_put(&(a)->asyncout, m) #define skaclient_aputv(a, m) unixmessage_putv(&(a)->asyncout, m) #define skaclient_aflush(a) unixmessage_sender_flush(&(a)->asyncout) +#define skaclient_timed_aflush(a, deadline, stamp) unixmessage_sender_timed_flush(&(a)->asyncout, deadline, stamp) +#define skaclient_timed_aflush_g(a, deadline) skaclient_timed_aflush(a, (deadline), &STAMP) #endif -- cgit v1.2.3