X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=comm-common.h;h=ebb71b83eaedeb61fe53efdf41bf1247f7b90940;hb=d8a024fe35f4be56f4ac17fa68aee2264960a8ac;hp=b517f951862d6b25d92156f4371d1e8526019d0e;hpb=c215a4bc817daf7b5631236c3c7b6a509479b034;p=secnet.git 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))