Searched defs:roots (Results 1 - 13 of 13) sorted by relevance

/dovecot/src/lib-master/
H A Dmaster-service-settings.h31 const struct setting_parser_info *const *roots; member in struct:master_service_settings_input
77 const struct setting_parser_info **roots,
H A Dmaster-service-settings.c499 if (input->roots != NULL) {
500 for (i = 0; input->roots[i] != NULL; i++)
501 array_append(&all_roots, &input->roots[i], 1);
606 const struct setting_parser_info **roots,
613 input.roots = roots;
605 master_service_settings_read_simple(struct master_service *service, const struct setting_parser_info **roots, const char **error_r) argument
/dovecot/src/lib-storage/list/
H A Dmailbox-list-fs-iter.c42 /* roots can be either /foo, ~user/bar or baz */
43 ARRAY(const char *) roots; member in struct:fs_list_iterate_context
411 p_array_init(&ctx->roots, ctx->ctx.pool, 8);
475 array_append(&ctx->roots, &root, 1);
478 array_sort(&ctx->roots, i_strcmp_p);
480 for (i = 1; i < array_count(&ctx->roots); ) {
481 parentp = array_idx(&ctx->roots, i-1);
482 childp = array_idx(&ctx->roots, i);
488 array_delete(&ctx->roots, i, 1);
496 const char *const *roots; local
[all...]
/dovecot/src/plugins/quota/
H A Dquota-imapc.c22 ARRAY(struct imapc_quota_refresh_root) roots; member in struct:imapc_quota_refresh
110 array_foreach(&quota->roots, rootp) {
128 array_foreach_modifiable(&refresh->roots, refresh_root) {
133 refresh_root = array_append_space(&refresh->roots);
158 if (array_count(&refresh->roots) > 0) {
245 p_array_init(&refresh->roots, refresh->pool, 4);
255 if (array_count(&refresh->roots) == 0) {
260 refresh_root = array_idx(&refresh->roots, 0);
262 array_foreach(&quota->roots, rootp) {
315 /* if there are multiple quota roots, us
416 struct quota_root **roots; local
[all...]
H A Dquota-private.h16 ARRAY(struct quota_root *) roots; member in struct:quota
184 /* TRUE if all roots have auto_updating=TRUE */
190 /* Register storage to all user's quota roots. */
H A Dquota-fs.c206 struct quota_root *const *roots; local
210 roots = array_get(&quota->roots, &count);
212 struct fs_quota_root *root = (struct fs_quota_root *)roots[i];
228 struct quota_root *const *roots; local
253 /* if there are more unused quota roots, copy this mount to them */
254 roots = array_get(&root->root.quota->roots, &count);
256 root = (struct fs_quota_root *)roots[i];
267 struct quota_root *const *roots; local
[all...]
H A Dquota-maildir.c833 struct quota_root **roots; local
836 roots = array_get_modifiable(&quota->roots, &count);
838 if (roots[i]->backend.name == quota_backend_maildir.name &&
839 ((roots[i]->ns_prefix == NULL &&
841 roots[i]->ns == ns))
842 maildir_quota_root_namespace_added(roots[i], ns);
H A Dquota-storage.c221 array_foreach(&quser->quota->roots, rootp) {
527 struct quota_root *const *roots; local
530 roots = array_get(&quota->roots, &count);
532 if (roots[i]->backend.v.flush != NULL)
533 roots[i]->backend.v.flush(roots[i]);
663 struct quota_root *const *roots; local
666 roots = array_get(&quota->roots,
754 struct quota_root *const *roots; local
[all...]
H A Dquota.c444 i_array_init(&quota->roots, 8);
457 array_append(&quota->roots, &root, 1);
466 struct quota_root *const *roots; local
469 roots = array_get(&quota->roots, &count);
471 quota_root_deinit(roots[i]);
473 /* deinit quota roots before setting quser->quota=NULL */
476 array_free(&quota->roots);
586 struct quota_root *const *roots; local
597 roots
694 struct quota_root *const *roots, *root = NULL; local
727 struct quota_root *const *roots; local
913 struct quota_root *const *roots; local
1115 struct quota_root *const *roots; local
1275 struct quota_root *const *roots; local
1382 struct quota_root *const *roots; local
[all...]
/dovecot/src/lib-storage/index/
H A Dindex-thread-finish.c17 REFERENCES step (5) may add temporary dummy roots. They use larger
22 root_idx1 is node's index in roots[] array + 1.
41 ARRAY(struct mail_thread_root_node) roots; member in struct:thread_finish_context
205 struct mail_thread_root_node *roots; local
215 roots = array_get_modifiable(&ctx->roots, &count);
226 roots[i].root_idx1 = i + 1;
227 if (!roots[i].dummy)
228 idx = roots[i].node.idx;
229 else if (!roots[
272 struct mail_thread_root_node *roots, *root, new_root; local
347 struct mail_thread_root_node *roots; local
369 struct mail_thread_root_node *roots; local
419 struct mail_thread_root_node *roots, *root; local
579 struct mail_thread_root_node *roots; local
[all...]
/dovecot/src/config/
H A Dconfig-parser.c1072 const struct setting_parser_info **roots; local
1086 roots = module_get_symbol_quiet(m,
1088 if (roots != NULL) {
1089 for (i = 0; roots[i] != NULL; i++)
1090 array_append(&new_roots, &roots[i], 1);
/dovecot/src/lib-settings/
H A Dsettings-parser.c48 struct setting_link *roots; member in struct:setting_parser_context
195 const struct setting_parser_info *const *roots,
219 ctx->roots = p_new(ctx->parser_pool, struct setting_link, count);
221 ctx->roots[i].info = roots[i];
222 if (roots[i]->struct_size == 0)
225 ctx->roots[i].set_struct =
226 p_malloc(ctx->set_pool, roots[i]->struct_size);
228 ctx->roots[i].change_struct =
229 p_malloc(ctx->set_pool, roots[
194 settings_parser_init_list(pool_t set_pool, const struct setting_parser_info *const *roots, unsigned int count, enum settings_parser_flags flags) argument
1804 const struct setting_parser_info *const *roots = *_roots; local
[all...]
/dovecot/src/lib-storage/
H A Dmail-storage-service.c1039 const struct setting_parser_info *const *roots; local
1051 set_input.roots = ctx->set_roots;
1093 settings_parser_dyn_update(pool, &set_input.roots, dyn_parsers);
1105 roots = settings_parser_get_roots(*parser_r);
1106 for (i = 0; roots[i] != NULL; i++) {
1107 if (strcmp(roots[i]->module_name,
1109 *user_info_r = roots[i];

Completed in 43 milliseconds