Lines Matching refs:old
7 #include "old-set-parser.h"
214 ctx->old->base_dir = p_strdup(ctx->pool, value);
352 if (ctx->old->auth_section == 1) {
563 if (ctx->old->auth_section == 1) {
600 if (ctx->old->socket_listen_section == 2) {
604 p = &ctx->old->socket_set.path;
606 p = &ctx->old->socket_set.mode;
608 p = &ctx->old->socket_set.user;
610 p = &ctx->old->socket_set.group;
623 if (ctx->old->auth_section == 0 && ctx->old->seen_auth_section) {
627 ctx->old->seen_auth_section = TRUE;
628 i_zero(&ctx->old->socket_set);
630 ctx->old->auth_section++;
632 ctx->old->auth_section == 2) {
640 if (strcmp(key, "socket") == 0 && ctx->old->auth_section == 2) {
649 ctx->old->socket_listen_section++;
653 if (ctx->old->socket_listen_section > 0)
654 ctx->old->socket_listen_section++;
656 ctx->old->socket_listen_section == 2) {
657 ctx->old->socket_set.master = strcmp(key, "master") == 0;
665 const struct socket_set *set = &ctx->old->socket_set;
675 len = strlen(ctx->old->base_dir);
676 if (strncmp(path, ctx->old->base_dir, len) == 0 &&
708 i_zero(&ctx->old->socket_set);
739 if (ctx->old->auth_section > 0)
743 ctx->old->auth_section = 1;
754 if (ctx->old->auth_section > 0) {
755 if (--ctx->old->auth_section == 0)
758 if (ctx->old->socket_listen_section > 0) {
759 if (ctx->old->socket_listen_section == 2)
761 ctx->old->socket_listen_section--;
771 ctx->old = p_new(ctx->pool, struct old_set_parser, 1);
772 ctx->old->base_dir = PKG_RUNDIR;