Searched refs:dtxn (Results 1 - 8 of 8) sorted by relevance

/dovecot/src/plugins/push-notification/
H A Dpush-notification-driver-ox.c140 (struct push_notification_driver_txn *dtxn)
142 struct push_notification_driver_ox_config *dconfig = dtxn->duser->context;
157 if ((dtxn->ptxn->t != NULL) && dtxn->ptxn->mbox->inbox_user) {
158 inbox = dtxn->ptxn->mbox;
161 ns = mail_namespace_find_inbox(dtxn->ptxn->muser->namespaces);
171 push_notification_driver_debug(OX_LOG_LABEL, dtxn->ptxn->muser,
191 (struct push_notification_driver_txn *dtxn)
199 md_value = push_notification_driver_ox_get_metadata(dtxn);
203 struct mail_user *user = dtxn
139 push_notification_driver_ox_get_metadata(struct push_notification_driver_txn *dtxn) argument
190 push_notification_driver_ox_begin_txn(struct push_notification_driver_txn *dtxn) argument
302 push_notification_driver_ox_get_mailbox_status(struct push_notification_driver_txn *dtxn, struct mailbox_status *r_box_status) argument
329 push_notification_driver_ox_process_msg(struct push_notification_driver_txn *dtxn, struct push_notification_txn_msg *msg) argument
[all...]
H A Dpush-notification-events.c46 push_notification_event_init(struct push_notification_driver_txn *dtxn, argument
52 if (!array_is_created(&dtxn->ptxn->events)) {
53 p_array_init(&dtxn->ptxn->events, dtxn->ptxn->pool, 4);
63 ec = p_new(dtxn->ptxn->pool, struct push_notification_event_config, 1);
67 array_append(&dtxn->ptxn->events, &ec, 1);
H A Dpush-notification-drivers.h33 bool (*begin_txn)(struct push_notification_driver_txn *dtxn);
35 void (*process_mbox)(struct push_notification_driver_txn *dtxn,
38 void (*process_msg)(struct push_notification_driver_txn *dtxn,
41 void (*end_txn)(struct push_notification_driver_txn *dtxn, bool success);
H A Dpush-notification-driver-dlog.c30 (struct push_notification_driver_txn *dtxn)
37 push_notification_event_init(dtxn, (*event)->name, NULL);
44 (struct push_notification_driver_txn *dtxn ATTR_UNUSED,
63 (struct push_notification_driver_txn *dtxn ATTR_UNUSED,
83 (struct push_notification_driver_txn *dtxn ATTR_UNUSED,
29 push_notification_driver_dlog_begin_txn(struct push_notification_driver_txn *dtxn) argument
H A Dpush-notification-txn-mbox.c27 struct push_notification_driver_txn **dtxn; local
30 array_foreach_modifiable(&ptxn->drivers, dtxn) {
31 if ((*dtxn)->duser->driver->v.process_mbox != NULL) {
32 (*dtxn)->duser->driver->v.process_mbox(*dtxn, ptxn->mbox_txn);
H A Dpush-notification-txn-msg.c45 struct push_notification_driver_txn **dtxn; local
74 array_foreach_modifiable(&ptxn->drivers, dtxn) {
75 if ((*dtxn)->duser->driver->v.process_msg != NULL) {
76 (*dtxn)->duser->driver->v.process_msg(*dtxn, value);
H A Dpush-notification-plugin.c33 struct push_notification_driver_txn *dtxn; local
51 dtxn = p_new(ptxn->pool, struct push_notification_driver_txn, 1);
52 dtxn->duser = *duser;
53 dtxn->ptxn = ptxn;
55 if ((dtxn->duser->driver->v.begin_txn == NULL) ||
56 dtxn->duser->driver->v.begin_txn(dtxn)) {
57 array_append(&ptxn->drivers, &dtxn, 1);
89 struct push_notification_driver_txn **dtxn; local
92 array_foreach_modifiable(&ptxn->drivers, dtxn) {
[all...]
H A Dpush-notification-events.h115 push_notification_event_init(struct push_notification_driver_txn *dtxn,

Completed in 21 milliseconds