search for: foo_client_created

Displaying 1 result from an estimated 1 matches for "foo_client_created".

2014 Aug 30
1
Need help to compile and install a minimal dovecot imap plugin
I am trying to create a plugin that adds a new IMAP capability. So far I have this: const char *foo_plugin_version = DOVECOT_ABI_VERSION; static struct module *foo_module; static imap_client_created_func_t *next_hook_client_created; static void foo_client_created(struct client **client) { str_append((*client)->capability_string, " XFOO"); if (next_hook_client_created != NULL) { next_hook_client_created(client); } } void foo_plugin_init(struct module *module) { i_info(?init?); foo_module = module; next_hook_client_creat...