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