ITS#7182 Add mss_private for monitor subsystem.

During initialization (and elsewhere), the subsystems have no way of
storing local data. While embedding them inside a larger strusture and
breaking out when needed (like the current back-ldap monitoring code
currently does) works, it certainly does not add to readability.

Notice that there is still no way to unregister an active subsystem.
This patch does not attempt to include such functionality while it might
actually be needed with the advent of SLAP_CONFIG_DELETE.
This commit is contained in:
Ondrej Kuznik 2012-02-07 16:09:44 +01:00 committed by Howard Chu
parent dc0ef72dff
commit 7baac1d9b4

View File

@ -268,6 +268,8 @@ typedef struct monitor_subsys_t {
struct berval *ndn, Entry *, Entry ** );
/* modify entry and subentries */
int ( *mss_modify )( Operation *, SlapReply *, Entry * );
void *mss_private;
} monitor_subsys_t;
extern BackendDB *be_monitor;