Lines Matching defs:verb
66 #define lastverb_p(verb) (verb->name == NULL || verb->func == NULL)
96 const struct ctl_verb * verb;
190 (*logger)(ctl_error, "%s: no connection verb found", me);
381 sess->verb = &fakehelpverb;
461 sess->verb = ctx->connverb;
602 INSIST(sess->verb != NULL);
603 (*sess->verb->func)(sess->ctx, sess, sess->verb,
683 const struct ctl_verb *verb;
696 for (verb = ctx->verbs;
697 verb != NULL && verb->name != NULL && verb->func != NULL;
698 verb++)
699 if (verb->name[0] != '\0' && strcasecmp(name, verb->name) == 0)
701 if (verb != NULL && verb->name != NULL && verb->func != NULL) {
702 sess->verb = verb;
703 (*verb->func)(ctx, sess, verb, rest, 0, NULL, ctx->uctx);
750 INSIST(sess->verb != NULL);
751 (*sess->verb->func)(sess->ctx, sess, sess->verb, "",
761 const struct ctl_verb *verb, const char *text,
767 UNUSED(verb);