Searched defs:client (Results 1 - 25 of 157) sorted by relevance

1234567

/dovecot/src/old-stats/
H A Dclient-reset.c7 #include "client.h"
8 #include "client-reset.h"
10 int client_stats_reset(struct client *client, const char *const *args ATTR_UNUSED, argument
19 o_stream_nsend_str(client->output, "OK\n");
H A Dclient.h4 struct client { struct
5 struct client *prev, *next;
15 int (*cmd_more)(struct client *client);
27 struct client *client_create(int fd);
28 void client_destroy(struct client **client);
30 bool client_is_busy(struct client *client);
31 void client_enable_io(struct client *clien
[all...]
/dovecot/src/imap/
H A Dcmd-logout.c9 struct client *client = cmd->client; local
11 client->logged_out = TRUE;
12 client_send_line(client, "* BYE Logging out");
14 if (client->mailbox != NULL) {
18 imap_client_close_mailbox(client);
22 client_disconnect(client, "Logged out");
H A Dcmd-unselect.c8 struct client *client = cmd->client; local
13 i_assert(client->mailbox_change_lock == NULL);
15 imap_client_close_mailbox(client);
H A Dcmd-cancelupdate.c7 static bool client_search_update_cancel(struct client *client, const char *tag) argument
12 update = client_search_update_lookup(client, tag, &idx);
17 array_delete(&client->search_updates, idx, 1);
37 if (!client_search_update_cancel(cmd->client, tag)) {
H A Dcmd-close.c9 struct client *client = cmd->client; local
10 struct mailbox *mailbox = client->mailbox;
18 i_assert(client->mailbox_change_lock == NULL);
21 if (imap_expunge(mailbox, NULL, &client->expunged_count) < 0) {
24 client_send_untagged_storage_error(client, storage);
31 client_send_untagged_storage_error(client, storage);
33 imap_client_close_mailbox(client);
H A Dcmd-delete.c8 struct client *client = cmd->client; local
32 if (client->mailbox != NULL &&
33 mailbox_backends_equal(box, client->mailbox)) {
35 client_search_updates_free(client);
36 mailbox_free(&client->mailbox);
54 client_disconnect_with_error(cmd->client,
H A Dmail-storage-callbacks.c11 struct client *client = context; local
13 if (o_stream_get_buffer_used_size(client->output) != 0)
20 o_stream_nsend_str(client->output, str);
21 (void)o_stream_flush(client->output);
28 struct client *client = context; local
30 if (o_stream_get_buffer_used_size(client->output) != 0)
37 o_stream_nsend_str(client->output, str);
38 (void)o_stream_flush(client
[all...]
H A Dcmd-expunge.c12 struct client *client = cmd->client; local
17 ret = imap_expunge(client->mailbox, search_args == NULL ? NULL :
18 search_args->args, &client->expunged_count);
22 errstr = mailbox_get_last_error(client->mailbox, &error);
24 client_send_box_error(cmd, client->mailbox);
33 client->sync_seen_deletes = FALSE;
H A Dcmd-namespace.c81 struct client *client = cmd->client; local
87 list_namespaces(client->user->namespaces,
90 list_namespaces(client->user->namespaces,
93 list_namespaces(client->user->namespaces,
96 client_send_line(client, str_c(str));
H A Dcmd-status.c11 struct client *client = cmd->client; local
29 /* get the items client wants */
38 selected_mailbox = client->mailbox != NULL &&
39 mailbox_equals(client->mailbox, ns, mailbox);
45 imap_status_send(client, orig_mailbox, &items, &result);
/dovecot/src/submission/
H A Dsubmission-commands.c12 #include "smtp-client.h"
13 #include "smtp-client-connection.h"
29 bool client_command_handle_proxy_reply(struct client *client, argument
46 client_destroy(client,
58 client_destroy(client, "4.3.5",
H A Dcmd-noop.c4 #include "smtp-client.h"
5 #include "smtp-client-connection.h"
14 struct client *client; member in struct:cmd_noop_context
23 struct client *client = noop_cmd->client; local
26 if (!client_command_handle_proxy_reply(client, proxy_reply, &reply))
38 struct client *client local
[all...]
H A Dcmd-rset.c4 #include "smtp-client.h"
5 #include "smtp-client-connection.h"
14 struct client *client; member in struct:cmd_rset_context
24 struct client *client = rset_cmd->client; local
31 if (!client_command_handle_proxy_reply(client, proxy_reply, &reply))
40 struct client *client local
[all...]
H A Dcmd-quit.c4 #include "smtp-client.h"
5 #include "smtp-client-connection.h"
14 struct client *client; member in struct:cmd_quit_context
21 struct client *client = quit_cmd->client; local
24 timeout_remove(&client->to_quit);
40 struct client *client local
70 struct client *client = quit_cmd->client; local
86 struct client *client = conn_ctx; local
[all...]
H A Dcmd-rcpt.c9 #include "smtp-client.h"
10 #include "smtp-client-connection.h"
19 struct client *client; member in struct:cmd_rcpt_context
38 struct client *client = rcpt_cmd->client; local
45 if (!client_command_handle_proxy_reply(client, proxy_reply, &reply))
61 struct client *client local
[all...]
H A Dcmd-vrfy.c5 #include "smtp-client.h"
6 #include "smtp-client-connection.h"
15 struct client *client; member in struct:cmd_vrfy_context
24 struct client *client = vrfy_cmd->client; local
27 if (!client_command_handle_proxy_reply(client, proxy_reply, &reply))
48 struct client *client local
[all...]
/dovecot/src/lib-sasl/
H A Dmech-external.c4 #include "dsasl-client-private.h"
7 struct dsasl_client client; member in struct:external_dsasl_client
16 struct external_dsasl_client *client = local
19 if (!client->output_sent) {
36 struct external_dsasl_client *client = local
49 client->output_sent = TRUE;
H A Dmech-login.c5 #include "dsasl-client-private.h"
14 struct dsasl_client client; member in struct:login_dsasl_client
24 struct login_dsasl_client *client = local
27 if (client->state == STATE_PASS) {
31 client->state++;
40 struct login_dsasl_client *client = local
52 switch (client->state) {
H A Dmech-plain.c5 #include "dsasl-client-private.h"
8 struct dsasl_client client; member in struct:plain_dsasl_client
17 struct plain_dsasl_client *client = local
20 if (!client->output_sent) {
37 struct plain_dsasl_client *client = local
60 client->output_sent = TRUE;
/dovecot/src/lib-smtp/
H A Dsmtp-client.c16 #include "smtp-client-private.h"
27 struct smtp_client *client; local
30 pool = pool_alloconly_create("smtp client", 1024);
31 client = p_new(pool, struct smtp_client, 1);
32 client->pool = pool;
34 client->set.my_ip = set->my_ip;
35 client->set.my_hostname = p_strdup(pool, set->my_hostname);
36 client->set.dns_client = set->dns_client;
37 client->set.dns_client_socket_path =
39 client
85 struct smtp_client *client = *_client; local
95 smtp_client_switch_ioloop(struct smtp_client *client) argument
108 smtp_client_init_ssl_ctx(struct smtp_client *client, const char **error_r) argument
[all...]
/dovecot/src/lmtp/
H A Dlmtp-common.c8 struct client *client,
13 rcpt->client = client;
7 lmtp_recipient_init(struct lmtp_recipient *rcpt, struct client *client, enum lmtp_recipient_type type, struct smtp_server_cmd_ctx *cmd, struct smtp_server_cmd_rcpt *data) argument
H A Dlmtp-common.h8 struct client;
16 struct client *client; member in struct:lmtp_recipient
26 struct client *client,
/dovecot/src/lib-ldap/
H A Dldap-client.c21 struct ldap_client *client; local
26 client = i_new(struct ldap_client, 1);
27 if (ldap_connection_pool_get(ldap_conn_pool, client, set,
28 &client->list, error_r) < 0) {
29 i_free(client);
32 *client_r = client;
38 struct ldap_client *client = *_client; local
42 ldap_connection_pool_unref(ldap_conn_pool, &client->list);
43 i_free(client);
46 void ldap_client_switch_ioloop(struct ldap_client *client) argument
52 ldap_search_start(struct ldap_client *client, const struct ldap_search_input *input, ldap_result_callback_t *callback, void *context) argument
62 ldap_compare_start(struct ldap_client *client, const struct ldap_compare_input *input, ldap_result_callback_t *callback, void *context) argument
[all...]
/dovecot/src/lib-storage/index/imapc/
H A Dimapc-list.h13 struct imapc_storage_client *client; member in struct:imapc_mailbox_list

Completed in 27 milliseconds

1234567