1.1 --- a/libnotifier/include/notifier/notifier.h Wed Mar 22 16:14:29 2023 +0100
1.2 +++ b/libnotifier/include/notifier/notifier.h Wed Mar 22 16:15:04 2023 +0100
1.3 @@ -25,6 +25,7 @@
1.4 #include <list>
1.5 #include <map>
1.6 #include <mutex>
1.7 +#include <vector>
1.8
1.9 #include <resource/resource.h>
1.10 #include <systypes/base.h>
1.11 @@ -62,6 +63,8 @@
1.12 typedef std::map<notifiable_t *, ObjectNotificationState> ObjectNotificationStates;
1.13 typedef std::map<notifiable_t *, std::mutex> ObjectStateLocks;
1.14
1.15 +typedef std::vector<ipc_server_config_type *> ServerConfigs;
1.16 +
1.17
1.18
1.19 /* An object for monitoring object event notifications. */
1.20 @@ -83,7 +86,7 @@
1.21
1.22 /* Notifier resource details. */
1.23
1.24 - ipc_server_config_type *_config = NULL;
1.25 + ServerConfigs _configs;
1.26 bool _started = false;
1.27
1.28 /* Convenience method to access object state. */