summaryrefslogtreecommitdiff
path: root/src/libunixonacid/unixconnection_free.c
blob: 52f9027cfa082395ff85a9147995dc3e9a45729a (plain)
1
2
3
4
5
6
7
8
9
10
11
 /* ISC license. */

#include <skalibs/unixmessage.h>
#include <skalibs/unixconnection.h>

void unixconnection_free (unixconnection_t *io)
{
  unixmessage_sender_free(&io->out) ;
  unixmessage_receiver_free(&io->in) ;
  *io = unixconnection_zero ;
}