search for: array_define

Displaying 8 results from an estimated 8 matches for "array_define".

2007 Mar 28
2
Multiple IP(or Host) listen in dovecot.conf.
Hi. Does someone make update for `Multiple IP(or Host) listen in dovecot.conf'? I made trivial patch so. But this patch doesn't solve `Support listening in multiple sockets' in TODO. It appends only the capability as multiple listen in dovecot.conf. So, `login_processes_count' becomes ambiguous. In CASE1, login_processes_count = 2, forked imap-login processes are 8. -- samples
2013 Feb 07
2
Dovecot 2.2.beta1
Just an FYI, I have been running 2.2.beta1 for a few days now with no problems, but I'm not using any of the new features ;) -- Mark Sapiro <mark at msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
2008 Mar 18
5
xexec and dovecot 1.1
...vecot 1.1 has been changed some of functions of array init and so on. I'm not programmer :(, just a system admin., but first of all have to check it and trying to resolve by myself. According examples in ../../lib/array.h I removed array_t and this code is seems ok: xexec.h struct xexec { ARRAY_DEFINE(setups, struct xexec_setups *); }; and also here: cmd-xexec.c ARRAY_DEFINE(command, char *); After, errors cames with cmd-xexec.c: In function 'cmd_xexec': cmd-xexec.c:144: warning: passing argument 4 of 'client_read_args' from incompatible pointer type cmd-xexec.c:159: warning...
2012 Feb 23
1
Creating and interacting with array inside plugin
...to compare with uid that is got in notify_sync, that's OK too, but to me i need to keep uid and a char* with my body name, to erase it too. I made this: struct emexis_ids_x_uis{ uint32_t ids; char *uis_file; }; struct emexis_mailbox { union mailbox_module_context module_ctx; ARRAY_DEFINE(expunge_uids, struct emexis_ids_x_uis); }; ok, inside my expunged rewrite function i create the array like quota does, and append it to my array. struct emexis_ids_x_uis append_uis; append_uis.ids = _mail->uid; append_uis.uis_file = bodyFile; array_append(&ebox->expunge_uids, &ap...
2007 Dec 31
1
Segmentation fault in dovecot-sieve-1.1.2 + dovecot-1.1.beta13
...c:76 #6 0x0805aa4f in main (argc=3, argv=0xbfe7f794) at deliver.c:940 (gdb) I managed to fix the problem with this patch to sieve-cmu.c: --- sieve-cmu.c.orig 2007-12-31 10:21:54.000000000 +0200 +++ sieve-cmu.c 2007-12-31 10:24:18.000000000 +0200 @@ -495,6 +495,7 @@ ARRAY_DEFINE(keywords, const char *); const char *name; int i; + unsigned int count; *flags_r = 0; @@ -524,7 +525,7 @@ array_append(&keywords, &name, 1); *keywords_r = array_count(&keywords) == 1 ? NULL : - arr...
2006 Feb 03
1
passwd-userdb with args
...***** *** 4,18 **** --- 4,34 ---- #ifdef USERDB_PASSWD + #include "array.h" + #include "str.h" + #include "var-expand.h" #include "userdb.h" #include <pwd.h> + struct passwd_userdb_module { + struct userdb_module module; + + array_t ARRAY_DEFINE(template, const char *); + }; + static void passwd_lookup(struct auth_request *auth_request, userdb_callback_t *callback) { + struct userdb_module *_module = auth_request->userdb->userdb; + struct passwd_userdb_module *module = + (struct passwd_userdb_module *)_module; stru...
2014 Jul 28
2
not able to compile deleted_to_trash Plugin
...\ -I/usr/include/dovecot/src/lib-index \ -DHAVE_CONFIG_H \ deleted-to-trash-plugin.c -o lib_deleted_to_trash_plugin.so In file included from deleted-to-trash-plugin.c:2:0: deleted-to-trash-plugin.h:19:2: error: expected specifier-qualifier-list before 'ARRAY_DEFINE' ARRAY_DEFINE(mail_id, unsigned int); ^ deleted-to-trash-plugin.c: In function 'get_users_inbox_namespace': deleted-to-trash-plugin.c:19:21: error: 'NAMESPACE_FLAG_INBOX' undeclared (first use in this function) if(curns->flags & NAMESPACE_FLAG_INBOX)...
2010 Jul 14
1
Problems with Dovecot + imaptest
...ror: syntax error before "ATTR_FORMAT" client.h:116: warning: data definition has no type or storage class client.h:118: error: syntax error before "ATTR_FORMAT" client.h:118: warning: data definition has no type or storage class checkpoint.c:22: error: syntax error before "ARRAY_DEFINE" checkpoint.c:22: warning: no semicolon at end of struct or union checkpoint.c:23: error: syntax error before "unsigned" checkpoint.c:23: warning: data definition has no type or storage class checkpoint.c:24: error: syntax error before '*' token checkpoint.c:24: warning: data...