]> git.sur5r.net Git - openldap/commitdiff
ITS#7182 new entry points should just be appended to monitor_extra_t
authorHoward Chu <hyc@openldap.org>
Wed, 18 Apr 2012 18:52:38 +0000 (11:52 -0700)
committerHoward Chu <hyc@openldap.org>
Wed, 18 Apr 2012 18:52:38 +0000 (11:52 -0700)
servers/slapd/back-monitor/back-monitor.h
servers/slapd/back-monitor/init.c

index 6d73e31257900f95ca8d9c8b07139d7ea2840c31..310fef22ad35c29f2a2a7a8238d2a855d7ceb171 100644 (file)
@@ -290,7 +290,6 @@ typedef struct monitor_extra_t {
        monitor_subsys_t * (*get_subsys_by_dn)( struct berval *ndn, int sub );
 
        int (*register_subsys)( monitor_subsys_t *ms );
-       int (*register_subsys_late)( monitor_subsys_t *ms );
        int (*register_backend)( BackendInfo *bi );
        int (*register_database)( BackendDB *be, struct berval *ndn_out );
        int (*register_overlay_info)( slap_overinst *on );
@@ -314,6 +313,7 @@ typedef struct monitor_extra_t {
                struct berval *create,
                struct berval *modify );
        monitor_entry_t * (*entrypriv_create)( void );
+       int (*register_subsys_late)( monitor_subsys_t *ms );
 } monitor_extra_t;
 
 LDAP_END_DECL
index c7350d78e45ffba4906e24ec3febdb2b384a7c8f..2b836820ec643b5abf89796ad8227bf217d15162 100644 (file)
@@ -52,7 +52,6 @@ static const monitor_extra_t monitor_extra = {
        monitor_back_get_subsys_by_dn,
 
        monitor_back_register_subsys,
-       monitor_back_register_subsys_late,
        monitor_back_register_backend,
        monitor_back_register_database,
        monitor_back_register_overlay_info,
@@ -68,7 +67,8 @@ static const monitor_extra_t monitor_extra = {
        monitor_back_unregister_entry_callback,
 
        monitor_back_entry_stub,
-       monitor_back_entrypriv_create
+       monitor_back_entrypriv_create,
+       monitor_back_register_subsys_late
 };