Searched defs:socket_path (Results 1 - 18 of 18) sorted by relevance

/dovecot/src/lib-imap-urlauth/
H A Dimap-urlauth.h16 const char *socket_path; member in struct:imap_urlauth_config
/dovecot/src/plugins/mail-filter/
H A Distream-ext-filter.c149 const char *socket_path, const char *args)
158 if ((fd = net_connect_unix_with_retries(socket_path, 1000)) < 0) {
162 socket_path));
165 socket_path);
187 i_error("ext-filter: write(%s) failed: %s", socket_path,
197 i_stream_create_ext_filter(struct istream *input, const char *socket_path, argument
213 (void)filter_connect(mstream, socket_path, args);
148 filter_connect(struct mail_filter_istream *mstream, const char *socket_path, const char *args) argument
H A Dostream-ext-filter.c125 const char *socket_path, const char *args)
133 if ((fd = net_connect_unix_with_retries(socket_path, 1000)) < 0) {
137 socket_path));
140 "net_connect_unix(%s) failed: %m", socket_path);
167 socket_path, (size_t)ret, str_len(str));
174 o_stream_create_ext_filter(struct ostream *output, const char *socket_path, argument
185 (void)filter_connect(mstream, socket_path, args);
124 filter_connect(struct mail_filter_ostream *mstream, const char *socket_path, const char *args) argument
H A Dmail-filter-plugin.c29 const char *socket_path, *args; member in struct:mail_filter_user
97 *stream = i_stream_create_ext_filter(input, muser->socket_path,
142 if (muser->socket_path != NULL)
186 &muser->socket_path, &muser->args);
189 if (user->mail_debug && muser->socket_path == NULL &&
/dovecot/src/lib-master/
H A Dmaster-auth.h79 const char *socket_path; member in struct:master_auth_request_params
H A Dmaster-login.c42 char *socket_path; member in struct:master_login_postlogin
234 i_free(pl->socket_path);
266 i_error("fd_read(%s) failed: %m", pl->socket_path);
269 pl->socket_path);
287 pl->socket_path);
295 const char *socket_path)
304 fd = net_connect_unix_with_retries(socket_path, 1000);
307 socket_path, errno != EAGAIN ? "" :
324 i_error("write(%s) failed: %m", socket_path);
326 i_error("write(%s) failed: partial write", socket_path);
293 master_login_postlogin(struct master_login_client *client, const char *const *auth_args, const char *socket_path) argument
[all...]
/dovecot/src/plugins/welcome/
H A Dwelcome-plugin.c27 const char *socket_path, *const *args; local
36 socket_path = args[0];
39 if (*socket_path != '/') {
40 socket_path = t_strconcat(user->set->base_dir, "/",
41 socket_path, NULL);
43 if ((fd = net_connect_unix_with_retries(socket_path, 1000)) < 0) {
47 socket_path));
50 socket_path);
70 i_error("write(%s) failed: %m", socket_path);
74 i_error("welcome: read(%s) failed: %m", socket_path);
[all...]
/dovecot/src/doveadm/
H A Ddoveadm-proxy.c28 const char *socket_path; local
32 socket_path = t_strconcat(doveadm_settings->base_dir, "/ipc", NULL);
37 socket_path = optarg;
46 ctx->ipc = ipc_client_init(socket_path);
H A Ddoveadm-replicator.c18 const char *socket_path; member in struct:replicator_context
32 i_fatal("write(%s) failed: %m", ctx->socket_path);
41 fd = doveadm_connect(ctx->socket_path);
52 i_fatal("read(%s) failed: %s", ctx->socket_path,
55 i_fatal("%s disconnected", ctx->socket_path);
57 i_fatal("read(%s) timed out", ctx->socket_path);
62 ctx->socket_path);
69 i_fatal("read(%s) failed: %s", ctx->socket_path,
83 ctx->socket_path = t_strconcat(doveadm_settings->base_dir,
89 ctx->socket_path
[all...]
H A Ddoveadm-director.c22 const char *socket_path; member in struct:director_context
53 i_fatal("write(%s) failed: %m", ctx->socket_path);
62 fd = doveadm_connect(ctx->socket_path);
73 i_fatal("read(%s) failed: %s", ctx->socket_path,
76 i_fatal("%s disconnected", ctx->socket_path);
79 ctx->socket_path);
85 ctx->socket_path);
93 i_fatal("read(%s) failed: %s", ctx->socket_path,
105 if (!doveadm_cmd_param_str(cctx, "socket-path", &(ctx->socket_path)))
106 ctx->socket_path
[all...]
/dovecot/src/indexer/
H A Dworker-connection.c26 char *socket_path; member in struct:worker_connection
43 worker_connection_create(const char *socket_path, argument
50 conn->socket_path = i_strdup(socket_path);
66 i_free(conn->socket_path);
80 i_error("close(%s) failed: %m", conn->socket_path);
193 conn->fd = net_connect_unix(conn->socket_path);
195 i_error("connect(%s) failed: %m", conn->socket_path);
H A Dworker-pool.c20 char *socket_path; member in struct:worker_pool
32 worker_pool_init(const char *socket_path, indexer_status_callback_t *callback) argument
37 pool->socket_path = i_strdup(socket_path);
62 i_free(pool->socket_path);
76 conn = worker_connection_create(pool->socket_path, pool->callback);
/dovecot/src/plugins/replication/
H A Dreplication-plugin.c29 const char *socket_path; member in struct:replication_user
135 fd = net_connect_unix(ruser->socket_path);
137 i_error("net_connect_unix(%s) failed: %m", ruser->socket_path);
148 i_error("write(%s) failed: %m", ruser->socket_path);
155 ruser->socket_path);
162 i_error("read(%s) failed: EOF", ruser->socket_path);
178 i_error("close(%s) failed: %m", ruser->socket_path);
364 ruser->socket_path = p_strconcat(user->pool, user->set->base_dir,
/dovecot/src/director/
H A Dmain.c179 const char *socket_path; local
200 socket_path = userdb ? AUTH_USERDB_SOCKET_PATH :
202 auth = auth_connection_init(socket_path);
H A Ddirector.h98 char *socket_path; member in struct:director_kill_context
/dovecot/src/imap-urlauth/
H A Dimap-urlauth-client.c130 const char *socket_path; local
134 socket_path = t_strconcat(client->set->base_dir,
138 i_debug("Connecting to worker socket %s", socket_path);
140 client->fd_ctrl = net_connect_unix_with_retries(socket_path, 1000);
145 socket_path));
148 socket_path);
165 socket_path, client->fd_ctrl);
168 socket_path, client->fd_ctrl);
/dovecot/src/lib-program-client/
H A Dprogram-client-remote.c596 program_client_unix_create(const char *socket_path, const char *const *args, argument
605 program_client_init(&pclient->client, pool, socket_path, args, set);
/dovecot/src/plugins/quota/
H A Dquota.c1012 const char *socket_path, *const *args, *error, *scheme, *ptr; local
1033 socket_path = args[0];
1035 if ((ptr = strchr(socket_path, ':')) != NULL) {
1036 scheme = t_strcut(socket_path, ':');
1037 socket_path = ptr+1;
1042 if (*socket_path != '/' &&
1044 socket_path =
1046 "/", socket_path, NULL);
1048 socket_path = t_strdup_printf("%s:%s", scheme, socket_path);
[all...]

Completed in 33 milliseconds