diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-04 00:28:23 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-04 00:28:23 +0000 |
commit | d76cbe1a8d6ae1e839bd7613f3291da2c9b042d0 (patch) | |
tree | 9cc8c38c103d327ec00e30b286841327192abd8a | |
parent | a12d938e5ac6f737527fc1377ce4a88bfe6ad960 (diff) | |
download | skalibs-d76cbe1a8d6ae1e839bd7613f3291da2c9b042d0.tar.xz |
More macros for asyncout in skaclient.h
-rw-r--r-- | src/include/skalibs/skaclient.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/skalibs/skaclient.h b/src/include/skalibs/skaclient.h index cf1aa3a..4705df1 100644 --- a/src/include/skalibs/skaclient.h +++ b/src/include/skalibs/skaclient.h @@ -116,4 +116,10 @@ extern int skaclient_syncify (skaclient_t *, tain_t const *, tain_t *) ; extern unixmessage_handler_func_t skaclient_default_cb ; +#define skaclient_aput_and_close(a, m, bits) unixmessage_put_and_close(&(a)->asyncout, m, bits) +#define skaclient_aputv_and_close(a, m, bits) unixmessage_putv_and_close(&(a)->asyncout, m, bits) +#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) + #endif |