skaclient_send.c (366B)
1 /* ISC license. */ 2 3 #include <skalibs/unixmessage.h> 4 #include <skalibs/skaclient.h> 5 6 int skaclient_send (skaclient *a, char const *s, size_t len, unixmessage_handler_func *cb, void *result, tain const *deadline, tain *stamp) 7 { 8 unixmessage m = { .s = (char *)s, .len = len, .fds = 0, .nfds = 0 } ; 9 return skaclient_sendmsg(a, &m, cb, result, deadline, stamp) ; 10 }