Lines Matching defs:text
286 client_context_t *text;
289 text = params->utils->malloc(sizeof(client_context_t));
290 if (text == NULL) {
295 memset(text, 0, sizeof(client_context_t));
297 *conn_context = text;
311 client_context_t *text = (client_context_t *) conn_context;
372 _plug_make_prompts(params->utils, &text->h, prompt_need,
374 convert_prompt(params->utils, &text->h,
379 convert_prompt(params->utils, &text->h,
384 convert_prompt(params->utils, &text->h,
432 result = _plug_buf_alloc(params->utils, &(text->out_buf),
433 &(text->out_buf_len), *clientoutlen + 1);
436 memset(text->out_buf, 0, *clientoutlen + 1);
437 memcpy(text->out_buf, oparams->user, oparams->ulen);
438 memcpy(text->out_buf + oparams->ulen + 1, oparams->authid, oparams->alen);
439 memcpy(text->out_buf + oparams->ulen + oparams->alen + 2,
442 *clientout = text->out_buf;
466 client_context_t *text = (client_context_t *) conn_context;
468 if (!text) return;
470 if (text->out_buf) utils->free(text->out_buf);
472 convert_prompt(utils, &text->h, NULL);
475 utils->free(text);