Displaying 4 results from an estimated 4 matches for "array_create".
2014 Jul 28
2
not able to compile deleted_to_trash Plugin
...gt;arr)
^
deleted-to-trash-plugin.c:61:27: error: 'struct last_copy_info' has no member named 'mail_id'
i_array_init(&last_copy.mail_id, 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 '...
2008 Mar 18
5
xexec and dovecot 1.1
...ors 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: assignment from incompatible pointer type
cmd-xexec.c:180: warning: implicit declaration of function 'ARRAY_CREATE'
cmd-xexec.c:180: error: expected expression before 'char'
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...
2006 Feb 03
1
passwd-userdb with args
...dule *
+ passwd_preinit(struct auth_userdb *auth_userdb, const char *args)
+ {
+ struct passwd_userdb_module *module;
+ const char *const *tmp, *key, *value;
+
+ module = p_new(auth_userdb->auth->pool, struct passwd_userdb_module, 1);
+
+ tmp = t_strsplit_spaces(args, " ");
+ ARRAY_CREATE(&module->template, auth_userdb->auth->pool,
+ const char *, strarray_length(tmp));
+
+ t_push();
+ for (; *tmp != NULL; tmp++) {
+ value = strchr(*tmp, '=');
+ if (value == NULL)
+ key = *tmp;
+ else {
+ key = t_strdup_until(*tmp, value);
+ value++;
+...
2012 Jun 22
0
Wine release 1.5.7
...ble of contents.
hhctrl.ocx: Use HTML decoder for the index.
hhctrl.ocx: Add support for the CHM code page.
Francois Gouget (29):
d3drm: Move up the IDirect3DRM{Frame,Light,Visual}Array implementations to avoid forward declarations.
d3drm: Make Direct3DRM{Frame,Light,Visual}Array_create() static.
wined3d: Reorder some surface functions to avoid the need for forward declarations.
wined3d: Make some surface functions static.
user32: Reorder some DDE functions to avoid the need for forward declarations.
user32: Make some DDE functions static.
joy.cpl: Ma...