X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/c215a4bc817daf7b5631236c3c7b6a509479b034..86420bb75f19f628ffd2d8ff9964e59ed99e3187:/comm-common.h diff --git a/comm-common.h b/comm-common.h index b517f95..ebb71b8 100644 --- a/comm-common.h +++ b/comm-common.h @@ -40,6 +40,8 @@ struct commcommon { /* must be first so that void* is comm_common* */ struct buffer_if *rbuf; }; +struct comm_clientinfo *comm_clientinfo_ignore(void *state, dict_t*, + struct cloc cloc); void comm_request_notify(void *commst, void *nst, comm_notify_fn *fn); void comm_release_notify(void *commst, void *nst, comm_notify_fn *fn); @@ -55,6 +57,7 @@ void comm_apply(struct commcommon *cc, void *st); NEW(st); \ (cc)->loc=loc; \ (cc)->cl.description=desc; \ + (cc)->ops.clientinfo=comm_clientinfo_ignore; \ (cc)->ops.sendmsg=prefix##sendmsg; \ (cc)->ops.addr_to_string=prefix##addr_to_string; \ comm_apply((cc),(st))