1.1 --- a/libfsclient/include/fsclient/notifier.h Fri Feb 17 18:41:18 2023 +0100
1.2 +++ b/libfsclient/include/fsclient/notifier.h Sat Feb 18 01:30:37 2023 +0100
1.3 @@ -43,7 +43,8 @@
1.4
1.5 /* Pending notifications for monitored objects. */
1.6
1.7 - notify_flags_t pending = 0;
1.8 + notify_flags_t pending_notifications = 0;
1.9 + notify_values_t pending_values = NOTIFY_VALUES_NULL;
1.10
1.11 /* Endpoints associated with monitored objects. */
1.12
1.13 @@ -89,7 +90,8 @@
1.14
1.15 /* Helper methods. */
1.16
1.17 - virtual void _notify(notifiable_t *object, notify_flags_t flags) = 0;
1.18 + virtual void _notify(notifiable_t *object, notify_flags_t flags,
1.19 + notify_values_t values) = 0;
1.20
1.21 virtual bool _transfer(ObjectNotificationState &state, notifiable_t *object);
1.22
1.23 @@ -131,7 +133,8 @@
1.24
1.25 /* Helper methods. */
1.26
1.27 - virtual void _notify(notifiable_t *object, notify_flags_t flags);
1.28 + virtual void _notify(notifiable_t *object, notify_flags_t flags,
1.29 + notify_values_t values);
1.30
1.31 virtual bool _retrieve(notifiable_t **object);
1.32
1.33 @@ -150,7 +153,8 @@
1.34 protected:
1.35 /* Helper methods. */
1.36
1.37 - virtual void _notify(notifiable_t *object, notify_flags_t flags);
1.38 + virtual void _notify(notifiable_t *object, notify_flags_t flags,
1.39 + notify_values_t values);
1.40
1.41 public:
1.42 virtual long wait_object(notifiable_t *object);