Searched defs:id (Results 1 - 25 of 72) sorted by relevance

123

/dovecot/src/login-common/
H A Dlogin-common.h42 unsigned int id; member in struct:login_module_register
/dovecot/src/ipc/
H A Dipc-connection.h19 unsigned int id; member in struct:ipc_connection
41 ipc_connection_lookup_id(struct ipc_group *group, unsigned int id);
H A Dclient.c61 char *line, *id, *data; local
66 /* <ipc name> *|<id> <command> */
67 id = strchr(line, '\t');
68 if (id == NULL)
71 *id++ = '\0';
72 data = strchr(id, '\t');
83 if (strcmp(id, "*") == 0) {
91 } else if (str_to_uint(id, &id_num) < 0) {
93 t_strdup_printf("-Invalid IPC connection id: %s\n", id));
[all...]
H A Dipc-connection.c175 conn->id = ++connection_id_counter;
176 if (conn->id == 0)
177 conn->id = ++connection_id_counter;
226 ipc_connection_lookup_id(struct ipc_group *group, unsigned int id) argument
231 if (conn->id == id)
/dovecot/src/lib/
H A Dmodule-context.h14 unsigned int id;
49 (module_get_context_id(&(id_ctx).id) < array_count(&(obj)->module_contexts) ? \
51 module_get_context_id(&(id_ctx).id)) + \
58 (module_get_context_id(&(id_ctx).id) < array_count(&(obj)->module_contexts) ? \
60 module_get_context_id(&(id_ctx).id)) + \
66 struct module_context_id id; \
70 { { &(_reg)->id, 0, FALSE }, NULL }
74 struct module_context_id id; \
77 { { &(_reg)->id, 0, FALSE } }
89 static inline unsigned int module_get_context_id(struct module_context_id *id) argument
[all...]
H A Dlib-event-private.h12 uint64_t id; member in struct:event
/dovecot/src/plugins/imap-old-stats/
H A Dimap-stats-plugin.c18 unsigned int id; member in struct:stats_client_command
46 scmd->id = ++stats_cmd_id_counter;
80 str_printfa(str, "\t%u\t", scmd->id);
/dovecot/src/auth/
H A Duserdb.h32 /* id is used by blocking userdb to identify the userdb */
33 unsigned int id; member in struct:userdb_module
H A Dpassdb.h72 /* id is used by blocking passdb to identify the passdb */
73 unsigned int id; member in struct:passdb_module
/dovecot/src/dict/
H A Ddict-connection.h7 unsigned int id; member in struct:dict_connection_transaction
/dovecot/src/lib-fts/
H A Dfts-filter-normalizer-icu.c43 const char *id = "Any-Lower; NFKD; [: Nonspacing Mark :] Remove; NFC; [\\x20] Remove"; local
48 if (strcmp(key, "id") == 0) {
49 id = value;
67 np->transliterator_id = p_strdup(pp, id);
H A Dtest-fts-icu.c81 static UTransliterator *get_translit(const char *id) argument
89 fts_icu_utf8_to_utf16(&id_utf16, id);
H A Dfts-icu.c176 int fts_icu_transliterator_create(const char *id, argument
185 t_array_init(&id_utf16, strlen(id));
186 fts_icu_utf8_to_utf16(&id_utf16, id);
193 str_printfa(str, "Failed to open transliterator for id '%s': %s",
194 id, u_errorName(err));
/dovecot/src/lib-smtp/
H A Dsmtp-server-transaction.c23 string_t *id; local
32 id = t_str_new(30);
34 base64_encode(guid, sizeof(guid), id);
35 i_assert(str_c(id)[str_len(id)-2] == '=');
36 str_truncate(id, str_len(id)-2); /* drop trailing "==" */
37 trans->id = p_strdup(pool, str_c(id));
165 /* id */
[all...]
/dovecot/src/old-stats/
H A Dmail-command.c26 mail_command_find(struct mail_session *session, unsigned int id) argument
30 i_assert(id != 0);
32 if (id > session->highest_cmd_id) {
37 if (cmd->id == id)
110 /* <session guid> <cmd id> [d] <name> <args> <stats>
111 <session guid> <cmd id> c[d] <stats> */
120 *error_r = "UPDATE-CMD: Invalid command id";
141 *error_r = "UPDATE-CMD: Duplicate new command id";
149 cmd->id
[all...]
H A Dmail-session.c41 return sizeof(*session) + strlen(session->id) + 1;
52 hash_table_remove(mail_sessions_hash, session->id);
68 session->id, session->user->name, session->service);
81 /* <session id> <username> <service> <pid> [key=value ..] */
103 session->id = i_strdup(session_id);
120 hash_table_insert(mail_sessions_hash, session->id, session);
162 hash_table_remove(mail_sessions_hash, session->id);
177 i_free(session->id);
195 int mail_session_lookup(const char *id, struct mail_session **session_r, argument
198 if (id
210 mail_session_get(const char *id, struct mail_session **session_r, const char **error_r) argument
[all...]
H A Dmail-stats.h18 /* non-zero id means the command is still running */
19 unsigned int id; member in struct:mail_command
33 /* if id="", the session no longer exists */
34 char *id; member in struct:mail_session
/dovecot/src/plugins/acl/
H A Dacl-attributes.c24 const char *value_str, *id, *const *rights, *error; local
46 id = key + strlen(MAILBOX_ATTRIBUTE_PREFIX_ACL);
48 if (acl_rights_update_import(&update, id, rights, &error) < 0) {
62 const char *id; local
78 id = key + strlen(MAILBOX_ATTRIBUTE_PREFIX_ACL);
79 if (acl_identifier_parse(id, &wanted_rights) < 0) {
81 t_strdup_printf("Invalid ID: %s", id));
H A Dacl-lookup-dict.c113 string_t *id; local
120 id = t_str_new(128);
132 str_truncate(id, 0);
133 acl_lookup_dict_write_rights_id(id, &rights);
134 str_append_c(id, '/');
135 str_append(id, ns->owner->username);
136 id_dup = t_strdup(str_c(id));
301 const char *id; local
313 id = "anyone";
314 array_append(&iter->iter_ids, &id,
[all...]
H A Ddoveadm-acl.c139 doveadm_print_header("id", "ID", 0);
223 const char *mailbox = _ctx->args[0], *id = _ctx->args[1]; local
236 if (acl_rights_update_import(&update, id, rights, &error) < 0)
284 const char *mailbox = ctx->args[0], *id = ctx->args[1]; local
294 if (acl_rights_update_import(&update, id, NULL, &error) < 0)
560 .usage = DOVEADM_CMD_MAIL_USAGE_PREFIX "<mailbox> <id> <right> [<right> ...]",
564 DOVEADM_CMD_PARAM('\0', "id", CMD_PARAM_STR, CMD_PARAM_FLAG_POSITIONAL)
571 .usage = DOVEADM_CMD_MAIL_USAGE_PREFIX "<mailbox> <id> <right> [<right> ...]",
575 DOVEADM_CMD_PARAM('\0', "id", CMD_PARAM_STR, CMD_PARAM_FLAG_POSITIONAL)
582 .usage = DOVEADM_CMD_MAIL_USAGE_PREFIX "<mailbox> <id> <righ
[all...]
/dovecot/src/imap-login/
H A Dimap-login-cmd-id.c79 { "x-session-id", FALSE, cmd_id_x_session_id },
80 { "x-session-ext-id", FALSE, cmd_id_x_session_id },
153 struct imap_client_cmd_id *id = client->cmd_id; local
156 switch (id->state) {
167 id->log_reply = str_new(default_pool, 64);
172 id->log_keys = p_strsplit_spaces(default_pool,
176 id->state = IMAP_CLIENT_ID_STATE_KEY;
181 if (i_strocpy(id->key, key, sizeof(id->key)) < 0)
183 id
215 struct imap_client_cmd_id *id = client->cmd_id; local
228 struct imap_client_cmd_id *id; local
[all...]
/dovecot/src/lib-auth/
H A Dauth-client-request.c16 unsigned int id; member in struct:auth_client_request
30 str_printfa(str, "AUTH\t%u\t", request->id);
140 request->id =
155 prefix = t_strdup_printf("CONT\t%u\t", request->id);
187 auth_client_send_cancel(request->conn->client, request->id);
190 auth_server_connection_remove_request(request->conn, request->id);
196 return request->id;
255 void auth_client_send_cancel(struct auth_client *client, unsigned int id) argument
257 const char *str = t_strdup_printf("CANCEL\t%u\n", id);
/dovecot/src/replication/replicator/
H A Dnotify-connection.c35 unsigned int id; member in struct:notify_sync_request
47 "%c\t%u\n", success ? '+' : '-', request->id));
59 unsigned int id; local
61 /* U \t <username> \t <priority> [\t <sync id>] */
77 else if (args[3] == NULL || str_to_uint(args[3], &id) < 0) {
78 i_error("notify client sent invalid sync id: %s", line);
83 request->id = id;
/dovecot/src/lib-storage/
H A Dmail-duplicate.c22 const void *id; member in struct:mail_duplicate
65 memcmp(d1->id, d2->id, d1->id_size) == 0 &&
72 const unsigned char *s = d->id, *end = s + d->id_size;
139 d->id = new_id;
174 /* <timestamp> <id_size> <user_size> <id> <user> */
239 const void *id, size_t id_size, const char *user)
251 d.id = id;
259 const void *id, size_
238 mail_duplicate_check(struct mail_duplicate_db *db, const void *id, size_t id_size, const char *user) argument
258 mail_duplicate_mark(struct mail_duplicate_db *db, const void *id, size_t id_size, const char *user, time_t timestamp) argument
[all...]
H A Dmail-user.h114 unsigned int id; member in struct:mail_user_module_register

Completed in 23 milliseconds

123