diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-10-26 21:31:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-10-26 21:31:16 +0000 |
commit | bc714f8001edbb26ebf07411cf92e9ba2f756b35 (patch) | |
tree | e0812fa851135a518209640876b1dc4dd9b7dfad /src/include | |
parent | 7530e8cdd506ecec1f4ad3bbd55f94de5a6d63ac (diff) | |
download | skalibs-bc714f8001edbb26ebf07411cf92e9ba2f756b35.tar.xz |
Refactor textmessage/textclient with channel creation around ancil_*
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/skalibs/textmessage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/skalibs/textmessage.h b/src/include/skalibs/textmessage.h index 6dea9cf..b7df659 100644 --- a/src/include/skalibs/textmessage.h +++ b/src/include/skalibs/textmessage.h @@ -82,6 +82,11 @@ extern int textmessage_timed_handle (textmessage_receiver_t *, textmessage_handl #define textmessage_timed_handle_g(tr, f, p, deadline) textmessage_timed_handle(tr, f, p, (deadline), &STAMP) + /* Creating new textmessage channels via fd-passing over a socket */ + +extern int textmessage_create_send_channel (int, textmessage_sender_t *, char const *, size_t, tain_t const *, tain_t *) ; +extern int textmessage_recv_channel (int, textmessage_receiver_t *, char *, size_t, char const *, size_t, tain_t const *, tain_t *) ; + /* Globals */ |