Displaying 1 result from an estimated 1 matches for "emexis_ids_x_uis".
2012 Feb 23
1
Creating and interacting with array inside plugin
...from dovecot that expunged a message, that's Ok.
Follow the quota, it's use a array to keep all uids from a email
expunged, 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_u...