summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-02 15:28:30 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-02 15:28:30 +0000
commit2dc97e2b5c06f8fafcefe413592de3251a57d923 (patch)
tree18c84285470d6f669e52e1928f3dea9989c6606a /src/include
parent465ac8d55b18b05a5065d2cb9ecd40e18542b555 (diff)
downloadskalibs-2dc97e2b5c06f8fafcefe413592de3251a57d923.tar.xz
Add skaclient_syncify for easier async/sync handling
Diffstat (limited to 'src/include')
-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 947c47f..cf1aa3a 100644
--- a/src/include/skalibs/skaclient.h
+++ b/src/include/skalibs/skaclient.h
@@ -107,6 +107,8 @@ extern int skaclient_sendv (skaclient_t *, siovec_t const *, unsigned int, unixm
#define skaclient_timed_supdate(a, deadline, stamp) unixmessage_timed_handle(&(a)->syncin, (unixmessage_handler_func_t *)&kolbak_call, &(a)->kq, deadline, stamp)
#define skaclient_timed_supdate_g(a, deadline) skaclient_timed_supdate(a, (deadline), &STAMP)
+extern int skaclient_syncify (skaclient_t *, tain_t const *, tain_t *) ;
+
#define skaclient_fd(a) skaclient_afd(a)
#define skaclient_afd(a) unixmessage_receiver_fd(&(a)->asyncin)
#define skaclient_update(a, f, p) skaclient_aupdate(a, f, p)