Lines Matching defs:donefunc
62 #define donefunc_p(ctx) ((ctx).donefunc != NULL)
81 ctl_clntdone donefunc;
90 ctl_clntdone donefunc;
151 ctl_clntdone donefunc, void *uap,
170 ctx->donefunc = donefunc;
233 * ctl_command(ctx, cmd, len, donefunc, uap)
235 * and complete by calling donefunc with the answer.
239 ctl_clntdone donefunc, void *uap)
259 tran = new_tran(ctx, donefunc, uap, 1);
277 new_tran(struct ctl_cctx *ctx, ctl_clntdone donefunc, void *uap, int w) {
284 new->donefunc = donefunc;
381 if (notify && this->donefunc != NULL)
382 (*this->donefunc)(ctx, this->uap, NULL, 0);
428 tran = new_tran(ctx, ctx->donefunc, ctx->uap, 0);
546 (*tran->donefunc)(ctx, tran->uap, ctx->inbuf.text,