summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-04-22 11:54:31 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-04-22 11:54:31 +0000
commitf6d5fcfa0fa2a62f9583fa44dbee035c0adfcc88 (patch)
tree206cd7e9606bf5488f70e6eddb3aadbb35bafe1b /src/include
parente9fce4390ad8673239a51facd6bbd9ffb5eb7e68 (diff)
downloadskalibs-f6d5fcfa0fa2a62f9583fa44dbee035c0adfcc88.tar.xz
Fix closecb support wherever a unixmessage may get dropped; add closecb support to unixconnection
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/unixconnection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/skalibs/unixconnection.h b/src/include/skalibs/unixconnection.h
index c54a311..093d7c0 100644
--- a/src/include/skalibs/unixconnection.h
+++ b/src/include/skalibs/unixconnection.h
@@ -17,6 +17,7 @@ struct unixconnection_s
extern unixconnection_t const unixconnection_zero ;
extern void unixconnection_init (unixconnection_t *, int, int) ;
+extern void unixconnection_init_withclosecb (unixconnection_t *, int, int, unixmessage_sender_closecb_func_t_ref, void *) ;
extern void unixconnection_free (unixconnection_t *) ;
#define unixconnection_flush(io) unixmessage_sender_flush(&(io)->out)