X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/313e4f0fe0eecf9316716535c2a1100a369fa934..5f8b7a8ea0f928a60a67068408fd7a798024a877:/comm-common.h diff --git a/comm-common.h b/comm-common.h index ed6a86b..baeb24e 100644 --- a/comm-common.h +++ b/comm-common.h @@ -87,6 +87,9 @@ bool_t udp_make_socket(struct udpcommon *uc, struct udpsock *us, int failmsgclass); /* Fills in us->fd. Logs any errors with lg_[v]perror. */ +void udp_destroy_socket(struct udpcommon *uc, struct udpsock *us); + /* Idempotent. No errors are possible. */ + void udp_socks_register(struct udpcommon *uc, struct udpsocks *socks); void udp_socks_deregister(struct udpcommon *uc, struct udpsocks *socks);