/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2001-2011 The OpenLDAP Foundation.
+ * Copyright 2001-2012 The OpenLDAP Foundation.
* Portions Copyright 2001-2003 Pierangelo Masarati.
* All rights reserved.
*
*/
BER_BVSTR( &bv, "cn=Max File Descriptors" );
e = monitor_entry_stub( &ms->mss_dn, &ms->mss_ndn, &bv,
- mi->mi_oc_monitorCounterObject, mi, NULL, NULL );
+ mi->mi_oc_monitorCounterObject, NULL, NULL );
if ( e == NULL ) {
Debug( LDAP_DEBUG_ANY,
*/
BER_BVSTR( &bv, "cn=Total" );
e = monitor_entry_stub( &ms->mss_dn, &ms->mss_ndn, &bv,
- mi->mi_oc_monitorCounterObject, mi, NULL, NULL );
+ mi->mi_oc_monitorCounterObject, NULL, NULL );
if ( e == NULL ) {
Debug( LDAP_DEBUG_ANY,
*/
BER_BVSTR( &bv, "cn=Current" );
e = monitor_entry_stub( &ms->mss_dn, &ms->mss_ndn, &bv,
- mi->mi_oc_monitorCounterObject, mi, NULL, NULL );
+ mi->mi_oc_monitorCounterObject, NULL, NULL );
if ( e == NULL ) {
Debug( LDAP_DEBUG_ANY,
} else if ( dn_match( &rdn, ¤t_bv ) ) {
Connection *c;
- int connindex;
+ ber_socket_t connindex;
for ( n = 0, c = connection_first( &connindex );
c != NULL;
"cn=Connection %ld", c->c_connid );
bv.bv_val = buf;
e = monitor_entry_stub( &ms->mss_dn, &ms->mss_ndn, &bv,
- mi->mi_oc_monitorConnection, mi, &ctmbv, &mtmbv );
+ mi->mi_oc_monitorConnection, &ctmbv, &mtmbv );
if ( e == NULL) {
Debug( LDAP_DEBUG_ANY,
if ( ndn == NULL ) {
Connection *c;
- int connindex;
+ ber_socket_t connindex;
Entry *e = NULL,
*e_tmp = NULL;
} else {
Connection *c;
- int connindex;
+ ber_socket_t connindex;
unsigned long connid;
char *next = NULL;
static struct berval nconn_bv = BER_BVC( "cn=connection " );