mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
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:
parent
dc0ef72dff
commit
7baac1d9b4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user