summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-11-25 14:09:41 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-11-25 14:09:41 +0000
commit67656fec828220d980293581c8b9269b26d18523 (patch)
tree4f4fcd22db2e219dd36e8e4adb20780755f60a69
parent067382cfe45b80a0d3f1afecf26b06acbba87ca8 (diff)
downloadskalibs-67656fec828220d980293581c8b9269b26d18523.tar.xz
Add skaclient_timed_aflush()
-rw-r--r--src/include/skalibs/skaclient.h2
1 files changed, 2 insertions, 0 deletions
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