Searched defs:tag (Results 1 - 25 of 32) sorted by relevance

12

/dovecot/src/imap/
H A Dcmd-x-cancel.c9 const char *tag; local
11 /* <tag> */
12 if (!client_read_string_args(cmd, 1, &tag))
17 if (cancel_cmd->tag != NULL && cancel_cmd != cmd &&
18 strcmp(cancel_cmd->tag, tag) == 0) {
25 client_send_tagline(cmd, "NO Command tag not found.");
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);
24 const char *tag; local
36 while (imap_arg_get_quoted(args, &tag)) {
37 if (!client_search_update_cancel(cmd->client, tag)) {
38 client_send_tagline(cmd, "NO Unknown tag.");
H A Dimap-client-hibernate.c48 const char *tag; local
50 tag = client->command_queue == NULL ? NULL : client->command_queue->tag;
92 if (tag != NULL)
93 str_printfa(cmd, "\ttag=%s", tag);
H A Dimap-master-client.c31 /* command tag */
32 const char *tag; member in struct:imap_master_input
149 } else if (strcmp(key, "tag") == 0) {
150 master_input_r->tag = t_strdup(value);
278 if (master_input.tag != NULL)
279 imap_state_import_idle_cmd_tag(imap_client, master_input.tag);
H A Dmain.c140 const char *tag; member in struct:client_input
161 input_r->tag = t_strndup(data, len);
162 taglen = strlen(input_r->tag) + 1;
186 input.tag = getenv("IMAPLOGINTAG");
193 if (input.tag == NULL) {
204 t_strconcat(input.tag, " OK Logged in", NULL));
207 input.tag, " OK [CAPABILITY ",
395 input.tag, errormsg);
H A Dimap-state.c782 void imap_state_import_idle_cmd_tag(struct client *client, const char *tag) argument
790 cmd->tag = p_strdup(cmd->pool, tag);
811 "%s %s Idle completed.", tag,
/dovecot/src/director/
H A Dmail-host.h17 /* "" = no tag */
38 struct mail_tag *tag; member in struct:mail_host
H A Dnotify-connection.c30 static void notify_update_user(struct director *dir, struct mail_tag *tag, argument
36 user = user_directory_lookup(tag->users, username_hash);
45 user_directory_refresh(tag->users, user);
H A Ddirector-request.c79 str_printfa(str, ", tag=%s", request->username_tag);
101 struct mail_tag *tag = mail_tag_find(dir->mail_hosts, tag_name); local
102 user = tag == NULL ? NULL :
103 user_directory_lookup(tag->users, request->username_hash);
130 const char *tag,
148 request->username_tag = tag[0] == '\0' ? NULL : i_strdup(tag);
216 if (!user_directory_user_is_near_expiring(user->host->tag->users, user))
222 user->host->tag->name);
283 const char *tag; local
129 director_request(struct director *dir, const char *username, const char *tag, director_request_callback *callback, void *context) argument
[all...]
H A Dlogin-connection.c190 const char *const *args, *line_params, *username = NULL, *tag = ""; local
236 tag = *args + 13;
265 director_request(conn->dir, username, tag, login_host_callback, request);
H A Ddirector-test.c169 const char *tag, *cmd, *str; local
180 if (!imap_arg_get_atom(args, &tag))
196 t_strconcat(tag, " OK Logged in.\r\n", NULL));
202 tag, " OK Logged out.\r\n", NULL));
208 tag, " OK Done.\r\n", NULL));
211 t_strconcat(tag, " BAD Not supported.\r\n", NULL));
H A Ddirector.h25 /* user tag version 2 supported */
81 struct mail_tag *tag; member in struct:director_kill_context
222 struct user *user, struct mail_tag *tag,
H A Dmail-host.c52 static void mail_vhost_add(struct mail_tag *tag, struct mail_host *host) argument
60 if (host->down || host->tag != tag)
72 vhost = array_append_space(&tag->vhosts);
80 mail_tag_vhosts_sort_ring(struct mail_host_list *list, struct mail_tag *tag) argument
85 array_clear(&tag->vhosts);
87 mail_vhost_add(tag, *hostp);
88 array_sort(&tag->vhosts, mail_vhost_cmp);
118 (*hostp)->tag->name);
137 struct mail_tag *tag; local
151 mail_tag_free(struct mail_tag *tag) argument
283 const char *tag, *value = *tmp; local
401 mail_host_get_by_hash_ring(struct mail_tag *tag, unsigned int hash) argument
422 struct mail_tag *tag; local
[all...]
H A Ddirector.c628 i_error("Ring has directors that don't support tags - removing host %s with tag '%s'",
631 i_error("Ring has directors that support mixed versions of tags - removing host %s with tag '%s'",
683 struct user_directory *users = host->tag->users;
706 struct user_directory *users = host->tag->users;
788 struct user *user = user_directory_lookup(ctx->tag->users,
1029 user = user_directory_lookup(ctx->tag->users, ctx->username_hash);
1069 struct user *user, struct mail_tag *tag,
1087 ctx->tag = tag;
1123 struct user_directory *users = host->tag
1068 director_kill_user(struct director *dir, struct director_host *src, struct user *user, struct mail_tag *tag, struct mail_host *old_host, bool forced_kick) argument
1294 director_user_tag_killed(struct director *dir, struct mail_tag *tag, unsigned int username_hash) argument
1339 director_user_tag_killed_everywhere(struct director *dir, struct mail_tag *tag, struct director_host *src, struct director_host *orig_src, unsigned int username_hash) argument
[all...]
/dovecot/src/ipc/
H A Dipc-connection.h7 unsigned int tag; member in struct:ipc_connection_cmd
H A Dipc-connection.c47 ipc_connection_cmd_find(struct ipc_connection *conn, unsigned int tag) argument
52 if ((*cmdp)->tag == tag)
62 unsigned int tag; local
66 /* <tag> [:+-]<data> */
72 if (str_to_uint(line, &tag) < 0)
90 cmd = ipc_connection_cmd_find(conn, tag);
92 i_error("IPC server: Input for unexpected command tag %u", tag);
243 ipc_cmd->tag
[all...]
/dovecot/src/imap-hibernate/
H A Dimap-client.h20 char *tag; member in struct:imap_client_state
/dovecot/src/lib-master/
H A Dipc-server.c21 unsigned int tag; member in struct:ipc_cmd
44 unsigned int tag = 0; local
47 /* tag cmd */
51 if (str_to_uint(line, &tag) < 0)
61 cmd->tag = tag;
165 t_strdup_printf("%u\t:%s\n", cmd->tag, data));
171 t_strdup_printf("%u\t%s\n", cmd->tag, line));
H A Dmaster-auth.c19 unsigned int tag; member in struct:master_auth_connection
65 if (conn->tag != 0)
67 POINTER_CAST(conn->tag));
94 conn->tag = 0;
131 if (conn->tag != reply->tag)
132 i_error("master(%s): Received reply with unknown tag %u",
133 conn->path, reply->tag);
173 req.tag = ++auth->tag_counter;
174 if (req.tag
235 master_auth_request_abort(struct master_auth *auth, unsigned int tag) argument
[all...]
H A Dmaster-auth.h38 /* Request tag. Reply is sent back using same tag. */
39 unsigned int tag; member in struct:master_auth_request
67 /* tag=0 are notifications from master */
68 unsigned int tag; member in struct:master_auth_reply
82 tag is ignored. */
96 /* Send an authentication request. Returns tag which can be used to abort the
108 void master_auth_request_abort(struct master_auth *auth, unsigned int tag);
/dovecot/src/lib/
H A Dtest-data-stack.c94 char tag[2] = { depth+1, '\0' }; local
110 memset(ps[i], tag[0], size);
122 test_assert_idx(strspn(ps[i], tag) == size - 2, i);
123 test_assert_idx(ps[i][size-1] == tag[0], i);
/dovecot/src/indexer/
H A Dindexer-client.c37 unsigned int tag; member in struct:indexer_client_request
65 unsigned int tag, max_recent_msgs; local
67 /* <tag> <user> <mailbox> [<max_recent_msgs> [<session ID>]] */
72 if (str_to_uint(args[0], &tag) < 0) {
73 *error_r = "Invalid tag";
85 if (tag != 0) {
88 ctx->tag = tag;
94 o_stream_nsend_str(client->output, t_strdup_printf("%u\tOK\n", tag));
103 unsigned int tag; local
[all...]
/dovecot/src/imap-login/
H A Dimap-login-client.c197 static bool imap_is_valid_tag(const char *tag) argument
199 for (; *tag != '\0'; tag++) {
200 switch (*tag) {
216 if (*tag < ' ') /* CTL */
274 /* the tag is invalid, don't allow it and don't
325 "First parameter in line is IMAP's command tag, "
/dovecot/src/lib-dcrypt/
H A Dtest-crypto.c116 buffer_t *key, *iv, *aad, *pt, *ct, *tag, *tag_res, *res; local
123 tag = t_buffer_create(16);
131 hex_to_binary("4d5c2af327cd64a62cf35abd2ba6fab4", tag);
142 test_assert(buffer_cmp(tag, tag_res) == TRUE);
155 dcrypt_ctx_sym_set_tag(ctx, tag->data, tag->used);
/dovecot/src/doveadm/
H A Ddoveadm-director.c24 const char *tag; member in struct:director_context
118 if (!doveadm_cmd_param_str(cctx, "tag", &(ctx->tag)))
119 ctx->tag = NULL;
158 ctx->tag != NULL ? ctx->tag : ""));
210 doveadm_print_header_simple("tag");
227 /* ip vhosts users tag updown updown-ts */
464 if (ctx->tag != NULL && ctx->tag[
784 const char *tag = args[3]; local
[all...]

Completed in 123 milliseconds

12