Lines Matching defs:hook
128 transaction_notification_hook hook;
845 copy.hook(copy.transaction_id, event, copy.data);
856 /*! Flushes all pending notifications by calling the appropriate hook
878 transaction_notification_hook hook, void* data)
883 notification.hook = hook;
914 if (notification->hook == NULL)
990 if (listener->data == data && listener->hook == hookFunction) {
2275 notification->events_pending, notification->hook,
2377 listener->hook, listener->data);
2727 // wait for notification hook to be called
2880 transaction_notification_hook hook, void* data)
2900 if (hook != NULL
2902 hook, data) != B_OK) {
2999 transaction_notification_hook hook, void* data)
3030 if (add_transaction_listener(cache, transaction, TRANSACTION_WRITTEN, hook,
3252 transaction_notification_hook hook, void* data)
3261 return add_transaction_listener(cache, transaction, events, hook, data);
3279 if (listener->data == data && listener->hook == hookFunction) {