diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-25 14:09:41 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-25 14:09:41 +0000 |
commit | 67656fec828220d980293581c8b9269b26d18523 (patch) | |
tree | 4f4fcd22db2e219dd36e8e4adb20780755f60a69 | |
parent | 067382cfe45b80a0d3f1afecf26b06acbba87ca8 (diff) | |
download | skalibs-67656fec828220d980293581c8b9269b26d18523.tar.xz |
Add skaclient_timed_aflush()
-rw-r--r-- | src/include/skalibs/skaclient.h | 2 |
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 |