Lines Matching defs:who
8 #include "doveadm-who.h"
29 struct who_context who;
40 const bool user_match = who_line_filter_match(line, &ctx->who.filter);
48 k_pid = p_new(ctx->who.pool, struct kick_pid, 1);
50 p_array_init(&k_pid->users, ctx->who.pool, 5);
61 new_user.username = p_strdup(ctx->who.pool, line->username);
144 p_array_init(&ctx->kicked_users, ctx->who.pool, 10);
184 if (!doveadm_cmd_param_str(cctx, "socket-path", &(ctx.who.anvil_path)))
185 ctx.who.anvil_path = t_strconcat(doveadm_settings->base_dir, "/anvil", NULL);
203 ctx.who.pool = pool_alloconly_create("kick pids", 10240);
204 hash_table_create_direct(&ctx.pids, ctx.who.pool, 0);
206 if (who_parse_args(&ctx.who, masks)!=0) {
208 pool_unref(&ctx.who.pool);
216 who_lookup(&ctx.who, kick_aggregate_line);
220 pool_unref(&ctx.who.pool);