Lines Matching refs:nuser
92 struct notify_status_user *nuser = NOTIFY_STATUS_USER_CONTEXT(user);
95 if (nuser == NULL)
99 if (array_count(&nuser->patterns) == 0)
102 array_foreach_modifiable(&nuser->patterns, glob) {
128 struct notify_status_user *nuser = NOTIFY_STATUS_USER_CONTEXT(user);
129 i_assert(nuser != NULL);
177 if (var_expand(dest, nuser->value_template, values, &error)<0) {
179 nuser->value_template, error);
181 t = dict_transaction_begin(nuser->dict);
193 struct notify_status_user *nuser = NOTIFY_STATUS_USER_CONTEXT(user);
194 i_assert(nuser != NULL);
204 t = dict_transaction_begin(nuser->dict);
294 struct notify_status_user *nuser = NOTIFY_STATUS_USER_CONTEXT(user);
295 i_assert(nuser != NULL);
297 dict_wait(nuser->dict);
298 dict_deinit(&nuser->dict);
299 notify_unregister(nuser->context);
300 nuser->module_ctx.super.deinit(user);
306 struct notify_status_user *nuser;
330 nuser = p_new(user->pool, struct notify_status_user, 1);
331 nuser->module_ctx.super = *v;
332 nuser->dict = dict;
333 user->vlast = &nuser->module_ctx.super;
336 nuser->value_template = template;
338 MODULE_CONTEXT_SET(user, notify_status_user_module, nuser);
345 struct notify_status_user *nuser = NOTIFY_STATUS_USER_CONTEXT(user);
346 if (nuser == NULL)
348 notify_status_mailbox_patterns_init(user, &nuser->patterns);
349 nuser->context = notify_register(¬ify_vfuncs);