commit 67656fec828220d980293581c8b9269b26d18523
parent 067382cfe45b80a0d3f1afecf26b06acbba87ca8
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Sat, 25 Nov 2017 14:09:41 +0000
Add skaclient_timed_aflush()
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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