struct monitorsubsys {
int mss_type;
char *mss_name;
- struct berval *mss_rdn;
- struct berval *mss_dn;
- struct berval *mss_ndn;
+ struct berval mss_rdn;
+ struct berval mss_dn;
+ struct berval mss_ndn;
int mss_flags;
#define MONITOR_HAS_VOLATILE_CH( mp ) \
mi = ( struct monitorinfo * )be->be_private;
if ( monitor_cache_get( mi,
- monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn,
+ &monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn,
&e_backend ) ) {
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_backend_init: "
"unable to get entry '%s'\n",
- monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_backend_init: "
"unable to get entry '%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: %d\n",
i,
- monitor_subsys[SLAPD_MONITOR_BACKEND].mss_dn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_BACKEND].mss_dn.bv_val,
i );
e = str2entry( buf );
"monitor_subsys_backend_init: "
"unable to create entry 'cn=%d,%s'\n",
i,
- monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_backend_init: "
"unable to create entry 'cn=%d,%s'\n%s",
i,
- monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn.bv_val,
"" );
#endif
return( -1 );
"monitor_subsys_backend_init: "
"unable to add entry 'cn=%d,%s'\n",
i,
- monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_backend_init: "
"unable to add entry 'cn=%d,%s'\n%s",
i,
- monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_BACKEND].mss_ndn.bv_val,
"" );
#endif
return( -1 );
mi = ( struct monitorinfo * )be->be_private;
if ( monitor_cache_get( mi,
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn, &e_conn ) ) {
+ &monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn, &e_conn ) ) {
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_conn_init: "
"unable to get entry '%s'\n",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_conn_init: "
"unable to get entry '%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
"objectClass: extensibleObject\n"
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: Total\n",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_dn->bv_val );
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_dn.bv_val );
e = str2entry( buf );
if ( e == NULL ) {
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_conn_init: "
"unable to create entry 'cn=Total,%s'\n",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_conn_init: "
"unable to create entry 'cn=Total,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_conn_init: "
"unable to add entry 'cn=Total,%s'\n",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_conn_init: "
"unable to add entry 'cn=Total,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
"objectClass: extensibleObject\n"
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: Current\n",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_dn->bv_val );
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_dn.bv_val );
e = str2entry( buf );
if ( e == NULL ) {
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_conn_init: "
"unable to create entry 'cn=Current,%s'\n",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_conn_init: "
"unable to create entry 'cn=Current,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_conn_init: "
"unable to add entry 'cn=Current,%s'\n",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_conn_init: "
"unable to add entry 'cn=Current,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
"objectClass: extensibleObject\n"
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: %ld\n",
- c->c_connid, monitor_subsys[SLAPD_MONITOR_CONN].mss_dn->bv_val,
+ c->c_connid, monitor_subsys[SLAPD_MONITOR_CONN].mss_dn.bv_val,
c->c_connid );
e = str2entry( buf );
"unable to create entry "
"'cn=%ld,%s' entry\n",
c->c_connid,
- monitor_subsys[SLAPD_MONITOR_CONN].mss_dn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_dn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_conn_create: "
"unable to create entry "
"'cn=%ld,%s' entry\n",
c->c_connid,
- monitor_subsys[SLAPD_MONITOR_CONN].mss_dn->bv_val, 0 );
+ monitor_subsys[SLAPD_MONITOR_CONN].mss_dn.bv_val, 0 );
#endif
return( -1 );
}
mi = ( struct monitorinfo * )be->be_private;
if ( monitor_cache_get( mi,
- monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn,
+ &monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn,
&e_database ) ) {
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_database_init: "
"unable to get entry '%s'\n",
- monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_database_init: "
"unable to get entry '%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: %d\n",
i,
- monitor_subsys[SLAPD_MONITOR_DATABASE].mss_dn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_DATABASE].mss_dn.bv_val,
i );
e = str2entry( buf );
"monitor_subsys_database_init: "
"unable to create entry 'cn=%d,%s'\n",
i,
- monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_database_init: "
"unable to create entry 'cn=%d,%s'\n%s",
i,
- monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn.bv_val,
"" );
#endif
return( -1 );
"monitor_subsys_database_init: "
"unable to add entry 'cn=%d,%s'\n",
i,
- monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_database_init: "
"unable to add entry 'cn=%d,%s'\n",
i,
- monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_DATABASE].mss_ndn.bv_val,
0 );
#endif
return( -1 );
struct monitorsubsys monitor_subsys[] = {
{
SLAPD_MONITOR_LISTENER, SLAPD_MONITOR_LISTENER_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_NONE,
NULL, /* init */
NULL, /* update */
NULL /* modify */
}, {
SLAPD_MONITOR_DATABASE, SLAPD_MONITOR_DATABASE_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_PERSISTENT_CH,
monitor_subsys_database_init,
NULL, /* update */
NULL /* modify */
}, {
SLAPD_MONITOR_BACKEND, SLAPD_MONITOR_BACKEND_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_PERSISTENT_CH,
monitor_subsys_backend_init,
NULL, /* update */
NULL /* modify */
}, {
SLAPD_MONITOR_THREAD, SLAPD_MONITOR_THREAD_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_NONE,
monitor_subsys_thread_init,
monitor_subsys_thread_update,
NULL /* modify */
}, {
SLAPD_MONITOR_SASL, SLAPD_MONITOR_SASL_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_NONE,
NULL, /* init */
NULL, /* update */
NULL /* modify */
}, {
SLAPD_MONITOR_TLS, SLAPD_MONITOR_TLS_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_NONE,
NULL, /* init */
NULL, /* update */
NULL /* modify */
}, {
SLAPD_MONITOR_CONN, SLAPD_MONITOR_CONN_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_VOLATILE_CH,
monitor_subsys_conn_init,
monitor_subsys_conn_update,
NULL /* modify */
}, {
SLAPD_MONITOR_READW, SLAPD_MONITOR_READW_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_NONE,
NULL, /* init */
monitor_subsys_readw_update,
NULL /* modify */
}, {
SLAPD_MONITOR_WRITEW, SLAPD_MONITOR_WRITEW_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_NONE,
NULL, /* init */
monitor_subsys_writew_update,
NULL /* modify */
}, {
SLAPD_MONITOR_LOG, SLAPD_MONITOR_LOG_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_NONE,
monitor_subsys_log_init,
NULL, /* update */
monitor_subsys_log_modify
}, {
SLAPD_MONITOR_OPS, SLAPD_MONITOR_OPS_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_NONE,
monitor_subsys_ops_init,
monitor_subsys_ops_update,
NULL, /* modify */
}, {
SLAPD_MONITOR_SENT, SLAPD_MONITOR_SENT_NAME,
- NULL, NULL, NULL,
+ { 0L, NULL }, { 0L, NULL }, { 0L, NULL },
MONITOR_F_NONE,
monitor_subsys_sent_init,
monitor_subsys_sent_update,
dn.bv_len += sizeof( SLAPD_MONITOR_DN ); /* 1 for the , */
dn.bv_val = ch_malloc( dn.bv_len + 1 );
- strcpy( dn.bv_val , monitor_subsys[ i ].mss_rdn->bv_val );
+ strcpy( dn.bv_val , monitor_subsys[ i ].mss_rdn.bv_val );
strcat( dn.bv_val, "," SLAPD_MONITOR_DN );
rc = dnPrettyNormal( NULL, &dn, &monitor_subsys[ i ].mss_dn,
&monitor_subsys[ i ].mss_ndn );
"objectClass: extensibleObject\n"
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: %s\n",
- monitor_subsys[ i ].mss_dn->bv_val,
+ monitor_subsys[ i ].mss_dn.bv_val,
monitor_subsys[ i ].mss_name );
e = str2entry( buf );
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"unable to create '%s' entry\n",
- monitor_subsys[ i ].mss_dn->bv_val ));
+ monitor_subsys[ i ].mss_dn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"unable to create '%s' entry\n",
- monitor_subsys[ i ].mss_dn->bv_val, 0, 0 );
+ monitor_subsys[ i ].mss_dn.bv_val, 0, 0 );
#endif
return( -1 );
}
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"unable to add entry '%s' to cache\n",
- monitor_subsys[ i ].mss_dn->bv_val ));
+ monitor_subsys[ i ].mss_dn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"unable to add entry '%s' to cache\n",
- monitor_subsys[ i ].mss_dn->bv_val, 0, 0 );
+ monitor_subsys[ i ].mss_dn.bv_val, 0, 0 );
#endif
return -1;
}
mi = ( struct monitorinfo * )be->be_private;
- if ( monitor_cache_get( mi, monitor_subsys[SLAPD_MONITOR_LOG].mss_ndn,
+ if ( monitor_cache_get( mi, &monitor_subsys[SLAPD_MONITOR_LOG].mss_ndn,
&e ) ) {
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_log_init: "
"unable to get entry '%s'\n",
- monitor_subsys[SLAPD_MONITOR_LOG].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_LOG].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_log_init: "
"unable to get entry '%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_LOG].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_LOG].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
mi = ( struct monitorinfo * )be->be_private;
if ( monitor_cache_get( mi,
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn, &e_op ) ) {
+ &monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn, &e_op ) ) {
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_ops_init: "
"unable to get entry '%s'\n",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_ops_init: "
"unable to get entry '%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
"objectClass: extensibleObject\n"
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: Initiated\n",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_dn->bv_val );
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_dn.bv_val );
e = str2entry( buf );
if ( e == NULL ) {
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_ops_init: "
"unable to create entry 'cn=Initiated,%s'\n",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_ops_init: "
"unable to create entry 'cn=Initiated,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_ops_init: "
"unable to add entry 'cn=Initiated,%s'\n",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_ops_init: "
"unable to add entry 'cn=Initiated,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
"objectClass: extensibleObject\n"
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: Completed\n",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_dn->bv_val );
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_dn.bv_val );
e = str2entry( buf );
if ( e == NULL ) {
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_ops_init: "
"unable to create entry 'cn=Completed,%s'\n",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_ops_init: "
"unable to create entry 'cn=Completed,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_ops_init: "
"unable to add entry 'cn=Completed,%s'\n",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_ops_init: "
"unable to add entry 'cn=Completed,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_OPS].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
mi = ( struct monitorinfo * )be->be_private;
if ( monitor_cache_get( mi,
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn, &e_sent ) ) {
+ &monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn, &e_sent ) ) {
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_sent_init: "
"unable to get entry '%s'\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_sent_init: "
"unable to get entry '%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
"objectClass: extensibleObject\n"
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: Entries\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_dn->bv_val );
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_dn.bv_val );
e = str2entry( buf );
if ( e == NULL ) {
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_sent_init: "
"unable to create entry 'cn=Entries,%s'\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_sent_init: "
"unable to create entry 'cn=Entries,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_sent_init: "
"unable to add entry 'cn=Entries,%s'\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_sent_init: "
"unable to add entry 'cn=Entries,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
"objectClass: extensibleObject\n"
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: Referrals\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_dn->bv_val );
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_dn.bv_val );
e = str2entry( buf );
if ( e == NULL ) {
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_sent_init: "
"unable to create entry 'cn=Referrals,%s'\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_sent_init: "
"unable to create entry 'cn=Referrals,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_sent_init: "
"unable to add entry 'cn=Referrals,%s'\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_sent_init: "
"unable to add entry 'cn=Referrals,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
"objectClass: extensibleObject\n"
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: PDU\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_dn->bv_val );
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_dn.bv_val );
e = str2entry( buf );
if ( e == NULL ) {
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_sent_init: "
"unable to create entry 'cn=PDU,%s'\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_sent_init: "
"unable to create entry 'cn=PDU,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_sent_init: "
"unable to add entry 'cn=PDU,%s'\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_sent_init: "
"unable to add entry 'cn=PDU,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
"objectClass: extensibleObject\n"
#endif /* !SLAPD_MONITORSUBENTRY */
"cn: Bytes\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_dn->bv_val );
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_dn.bv_val );
e = str2entry( buf );
if ( e == NULL ) {
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_sent_init: "
"unable to create entry 'cn=Bytes,%s'\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_sent_init: "
"unable to create entry 'cn=Bytes,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_sent_init: "
"unable to add entry 'cn=Bytes,%s'\n",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_sent_init: "
"unable to add entry 'cn=Bytes,%s'\n%s%s",
- monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_SENT].mss_ndn.bv_val,
"", "" );
#endif
return( -1 );
mi = ( struct monitorinfo * )be->be_private;
if ( monitor_cache_get( mi,
- monitor_subsys[SLAPD_MONITOR_THREAD].mss_ndn, &e ) )
+ &monitor_subsys[SLAPD_MONITOR_THREAD].mss_ndn, &e ) )
{
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
"monitor_subsys_thread_init: unable to get entry '%s'\n",
- monitor_subsys[SLAPD_MONITOR_THREAD].mss_ndn->bv_val ));
+ monitor_subsys[SLAPD_MONITOR_THREAD].mss_ndn.bv_val ));
#else
Debug( LDAP_DEBUG_ANY,
"monitor_subsys_thread_init: unable to get entry '%s'\n",
- monitor_subsys[SLAPD_MONITOR_THREAD].mss_ndn->bv_val,
+ monitor_subsys[SLAPD_MONITOR_THREAD].mss_ndn.bv_val,
0, 0 );
#endif
return( -1 );