search for: p_array_init

Displaying 7 results from an estimated 7 matches for "p_array_init".

Did you mean: t_array_init
2016 Mar 08
2
Dsync Header Hashing
...h: diff --git a/src/doveadm/dsync/dsync-mailbox-export.c b/src/doveadm/dsync/dsync-mailbox-export.c index 361cc55..0267f86 100644 --- a/src/doveadm/dsync/dsync-mailbox-export.c +++ b/src/doveadm/dsync/dsync-mailbox-export.c @@ -518,7 +518,7 @@ dsync_mailbox_export_init(struct mailbox *box, p_array_init(&exporter->expunged_seqs, pool, 16); p_array_init(&exporter->expunged_guids, pool, 16); - if (!exporter->mails_have_guids) + if (!exporter->mails_have_guids && !exporter->no_hdr_hashes) exporter->wanted_headers = dsync_mail_get...
2014 Jul 28
2
not able to compile deleted_to_trash Plugin
...TRASH_LIST_INITSIZE); ^ /usr/include/dovecot/array.h:103:19: note: in definition of macro 'array_create' array_create_i(&(array)->arr, pool, element_size, init_count) ^ /usr/include/dovecot/array.h:38:2: note: in expansion of macro 'p_array_init' p_array_init(array, default_pool, init_count) ^ deleted-to-trash-plugin.c:61:4: note: in expansion of macro 'i_array_init' i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE); ^ deleted-to-trash-plugin.c:61:27: error: 'struct last_copy_info' has no member name...
2016 Mar 04
2
Dsync Header Hashing
Is there any way to disable the header hashing in dsync? I'm doing a one-time migration to Dovecot using imapc. The FETCHes for Date & Message-ID take a non-trivial amount of time and it's not clear to me if they have a function for a one-time migration. -- Richard
2016 Apr 12
1
Dsync Header Hashing
...dm/dsync/dsync-mailbox-export.c b/src/doveadm/dsync/dsync-mailbox-export.c > index 361cc55..0267f86 100644 > --- a/src/doveadm/dsync/dsync-mailbox-export.c > +++ b/src/doveadm/dsync/dsync-mailbox-export.c > @@ -518,7 +518,7 @@ dsync_mailbox_export_init(struct mailbox *box, > p_array_init(&exporter->expunged_seqs, pool, 16); > p_array_init(&exporter->expunged_guids, pool, 16); > > - if (!exporter->mails_have_guids) > + if (!exporter->mails_have_guids && !exporter->no_hdr_hashes) > exporter->wanted...
2017 Jun 10
0
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
...ARRAY_TYPE(doveadm_cmd_param_arr_t) pargv; +510 ARRAY_TYPE(getopt_option_array) opts; +511 unsigned int pargc; +512 int c,li; +513 pool_t pool = pool_datastack_create(); +514 string_t *optbuf = str_new(pool, 64); +515 +516 p_array_init(&opts, pool, 4); +517 +518 // build parameters +519 doveadm_build_options(cctx->cmd->parameters, optbuf, &opts); +530 while((c = getopt_long(argc, (char*const*)argv, str_c(optbuf), array_idx(&opts, 0), &li)) > -1) { +531 s...
2008 Mar 18
5
xexec and dovecot 1.1
...har' As I understand, it is because of (from changelog) Replaced ARRAY_CREATE() macro with [ipt]_array_init() macros. The macro has no side effects so it might as well be lowercased. I have look at the array.h, but can't find appropriate function in list of array_create,i_array_init,p_array_init,t_array_init. Should I just forget about it, until someone adapts code for dovecot 1.1, or maybe it no so complex, as looks? Thank you.
2016 Oct 09
6
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
Hi. I finally decided it was really time to stop being lazy and really move away from gmail. After I have a server in my basement using power, etc. So I turned on the imap provided - and did not quite cry - it will have to do for now, but imap2 is wanting. A real server yes, but not Linux. (Using linux would require another server AND I would feel I am being lazy again). So, I downloaded